From 2d7b4adb4fdc34d6a3a22542fa178e682010101f Mon Sep 17 00:00:00 2001 From: Owl Bot Date: Sat, 4 Feb 2023 00:14:14 +0000 Subject: [PATCH 1/2] feat: Add IngestConversationsStats docs: Reformat some lines of code PiperOrigin-RevId: 506985378 Source-Link: https://github.com/googleapis/googleapis/commit/cfed8e603c649178f2bf20eca6bcf530bfa064f6 Source-Link: https://github.com/googleapis/googleapis-gen/commit/13ec51989f7be48f9e889d827daf9707e3182613 Copy-Tag: eyJwIjoiamF2YS1jb250YWN0LWNlbnRlci1pbnNpZ2h0cy8uT3dsQm90LnlhbWwiLCJoIjoiMTNlYzUxOTg5ZjdiZTQ4ZjllODg5ZDgyN2RhZjk3MDdlMzE4MjYxMyJ9 --- .../v1/ContactCenterInsightsGrpc.java | 4709 ----------- ...culateIssueModelStatsRequestOrBuilder.java | 54 - .../v1/ContactCenterInsightsProto.java | 1411 ---- .../v1/CreateAnalysisRequestOrBuilder.java | 95 - .../v1/CreateIssueModelRequestOrBuilder.java | 95 - .../CreatePhraseMatcherRequestOrBuilder.java | 101 - .../v1/DeleteAnalysisRequestOrBuilder.java | 54 - .../DeleteConversationRequestOrBuilder.java | 69 - .../v1/DeleteIssueModelRequestOrBuilder.java | 54 - .../v1/DeleteIssueRequestOrBuilder.java | 54 - .../DeletePhraseMatcherRequestOrBuilder.java | 54 - .../v1/DeleteViewRequestOrBuilder.java | 54 - .../v1/DeployIssueModelRequestOrBuilder.java | 54 - .../v1/DeployIssueModelResponseOrBuilder.java | 24 - .../v1/DialogflowIntentOrBuilder.java | 50 - .../v1/ExactMatchConfigOrBuilder.java | 38 - .../ExportInsightsDataResponseOrBuilder.java | 24 - .../v1/GetAnalysisRequestOrBuilder.java | 54 - .../v1/GetIssueModelRequestOrBuilder.java | 54 - .../v1/GetIssueRequestOrBuilder.java | 54 - .../v1/GetPhraseMatcherRequestOrBuilder.java | 54 - .../v1/GetSettingsRequestOrBuilder.java | 54 - .../v1/GetViewRequestOrBuilder.java | 54 - .../v1/HoldDataOrBuilder.java | 24 - .../v1/IngestConversationsMetadata.java | 1861 ----- .../IngestConversationsMetadataOrBuilder.java | 209 - .../IngestConversationsRequestOrBuilder.java | 189 - .../IngestConversationsResponseOrBuilder.java | 24 - .../v1/InterruptionDataOrBuilder.java | 24 - .../v1/IssueModelLabelStatsOrBuilder.java | 127 - .../v1/ListIssueModelsRequestOrBuilder.java | 54 - .../v1/ListIssuesRequestOrBuilder.java | 54 - .../v1/ResourcesProto.java | 1297 ---- .../v1/SilenceDataOrBuilder.java | 24 - .../UndeployIssueModelRequestOrBuilder.java | 54 - .../UndeployIssueModelResponseOrBuilder.java | 24 - .../v1/ContactCenterInsightsClient.java | 0 .../v1/ContactCenterInsightsSettings.java | 1 + .../v1/gapic_metadata.json | 0 .../v1/package-info.java | 0 .../v1/stub/ContactCenterInsightsStub.java | 0 .../ContactCenterInsightsStubSettings.java | 0 ...cContactCenterInsightsCallableFactory.java | 0 .../stub/GrpcContactCenterInsightsStub.java | 1 + ...nContactCenterInsightsCallableFactory.java | 0 .../HttpJsonContactCenterInsightsStub.java | 1 + ...ntactCenterInsightsClientHttpJsonTest.java | 7 + .../v1/ContactCenterInsightsClientTest.java | 5 + .../v1/MockContactCenterInsights.java | 0 .../v1/MockContactCenterInsightsImpl.java | 0 .../v1/ContactCenterInsightsGrpc.java | 3415 ++++++++ .../contactcenterinsights/v1/Analysis.java | 964 +-- .../v1/AnalysisName.java | 0 .../v1/AnalysisOrBuilder.java | 116 +- .../v1/AnalysisResult.java | 2554 +++--- .../v1/AnalysisResultOrBuilder.java | 52 +- .../v1/AnnotationBoundary.java | 392 +- .../v1/AnnotationBoundaryOrBuilder.java | 30 +- .../v1/AnnotatorSelector.java | 715 +- .../v1/AnnotatorSelectorOrBuilder.java | 75 +- .../v1/AnswerFeedback.java | 506 +- .../v1/AnswerFeedbackOrBuilder.java | 38 +- .../v1/ArticleSuggestionData.java | 855 +- .../v1/ArticleSuggestionDataOrBuilder.java | 87 +- .../v1/BulkAnalyzeConversationsMetadata.java | 785 +- ...AnalyzeConversationsMetadataOrBuilder.java | 63 +- .../v1/BulkAnalyzeConversationsRequest.java | 634 +- ...kAnalyzeConversationsRequestOrBuilder.java | 58 +- .../v1/BulkAnalyzeConversationsResponse.java | 433 +- ...AnalyzeConversationsResponseOrBuilder.java | 24 +- .../v1/CalculateIssueModelStatsRequest.java | 411 +- ...culateIssueModelStatsRequestOrBuilder.java | 29 + .../v1/CalculateIssueModelStatsResponse.java | 479 +- ...ulateIssueModelStatsResponseOrBuilder.java | 29 +- .../v1/CalculateStatsRequest.java | 451 +- .../v1/CalculateStatsRequestOrBuilder.java | 44 +- .../v1/CalculateStatsResponse.java | 2984 +++---- .../v1/CalculateStatsResponseOrBuilder.java | 217 +- .../v1/CallAnnotation.java | 1531 ++-- .../v1/CallAnnotationOrBuilder.java | 131 +- .../v1/ContactCenterInsightsProto.java | 1314 ++++ .../v1/Conversation.java | 6890 ++++++----------- .../v1/ConversationDataSource.java | 526 +- .../v1/ConversationDataSourceOrBuilder.java | 40 +- .../v1/ConversationLevelSentiment.java | 435 +- .../ConversationLevelSentimentOrBuilder.java | 29 +- .../v1/ConversationName.java | 0 .../v1/ConversationOrBuilder.java | 379 +- .../v1/ConversationParticipant.java | 877 +-- .../v1/ConversationParticipantOrBuilder.java | 83 +- .../v1/ConversationView.java | 86 +- .../v1/CreateAnalysisOperationMetadata.java | 827 +- ...ateAnalysisOperationMetadataOrBuilder.java | 92 +- .../v1/CreateAnalysisRequest.java | 522 +- .../v1/CreateAnalysisRequestOrBuilder.java | 56 + .../v1/CreateConversationRequest.java | 613 +- .../CreateConversationRequestOrBuilder.java | 64 +- .../v1/CreateIssueModelMetadata.java | 658 +- .../v1/CreateIssueModelMetadataOrBuilder.java | 60 +- .../v1/CreateIssueModelRequest.java | 530 +- .../v1/CreateIssueModelRequestOrBuilder.java | 56 + .../v1/CreatePhraseMatcherRequest.java | 603 +- .../CreatePhraseMatcherRequestOrBuilder.java | 62 + .../v1/CreateViewRequest.java | 501 +- .../v1/CreateViewRequestOrBuilder.java | 55 +- .../v1/DeleteAnalysisRequest.java | 379 +- .../v1/DeleteAnalysisRequestOrBuilder.java | 29 + .../v1/DeleteConversationRequest.java | 427 +- .../DeleteConversationRequestOrBuilder.java | 41 + .../v1/DeleteIssueModelMetadata.java | 658 +- .../v1/DeleteIssueModelMetadataOrBuilder.java | 60 +- .../v1/DeleteIssueModelRequest.java | 387 +- .../v1/DeleteIssueModelRequestOrBuilder.java | 29 + .../v1/DeleteIssueRequest.java | 366 +- .../v1/DeleteIssueRequestOrBuilder.java | 29 + .../v1/DeletePhraseMatcherRequest.java | 391 +- .../DeletePhraseMatcherRequestOrBuilder.java | 29 + .../v1/DeleteViewRequest.java | 356 +- .../v1/DeleteViewRequestOrBuilder.java | 29 + .../v1/DeployIssueModelMetadata.java | 658 +- .../v1/DeployIssueModelMetadataOrBuilder.java | 60 +- .../v1/DeployIssueModelRequest.java | 387 +- .../v1/DeployIssueModelRequestOrBuilder.java | 29 + .../v1/DeployIssueModelResponse.java | 286 +- .../v1/DeployIssueModelResponseOrBuilder.java | 9 + .../v1/DialogflowIntent.java | 328 +- .../v1/DialogflowIntentOrBuilder.java | 29 + .../v1/DialogflowInteractionData.java | 399 +- .../DialogflowInteractionDataOrBuilder.java | 30 +- .../v1/DialogflowSource.java | 400 +- .../v1/DialogflowSourceOrBuilder.java | 36 +- .../contactcenterinsights/v1/Entity.java | 907 +-- .../v1/EntityMentionData.java | 567 +- .../v1/EntityMentionDataOrBuilder.java | 41 +- .../v1/EntityOrBuilder.java | 74 +- .../v1/ExactMatchConfig.java | 295 +- .../v1/ExactMatchConfigOrBuilder.java | 19 + .../v1/ExportInsightsDataMetadata.java | 819 +- .../ExportInsightsDataMetadataOrBuilder.java | 82 +- .../v1/ExportInsightsDataRequest.java | 1650 ++-- .../ExportInsightsDataRequestOrBuilder.java | 99 +- .../v1/ExportInsightsDataResponse.java | 286 +- .../ExportInsightsDataResponseOrBuilder.java | 9 + .../v1/FaqAnswerData.java | 830 +- .../v1/FaqAnswerDataOrBuilder.java | 87 +- .../contactcenterinsights/v1/GcsSource.java | 425 +- .../v1/GcsSourceOrBuilder.java | 44 +- .../v1/GetAnalysisRequest.java | 366 +- .../v1/GetAnalysisRequestOrBuilder.java | 29 + .../v1/GetConversationRequest.java | 445 +- .../v1/GetConversationRequestOrBuilder.java | 41 +- .../v1/GetIssueModelRequest.java | 376 +- .../v1/GetIssueModelRequestOrBuilder.java | 29 + .../v1/GetIssueRequest.java | 356 +- .../v1/GetIssueRequestOrBuilder.java | 29 + .../v1/GetPhraseMatcherRequest.java | 387 +- .../v1/GetPhraseMatcherRequestOrBuilder.java | 29 + .../v1/GetSettingsRequest.java | 366 +- .../v1/GetSettingsRequestOrBuilder.java | 29 + .../v1/GetViewRequest.java | 356 +- .../v1/GetViewRequestOrBuilder.java | 29 + .../contactcenterinsights/v1/HoldData.java | 251 +- .../v1/HoldDataOrBuilder.java | 9 + .../v1/IngestConversationsMetadata.java | 2599 +++++++ .../IngestConversationsMetadataOrBuilder.java | 166 + .../v1/IngestConversationsRequest.java | 2478 +++--- .../IngestConversationsRequestOrBuilder.java | 114 + .../v1/IngestConversationsResponse.java | 286 +- .../IngestConversationsResponseOrBuilder.java | 9 + .../contactcenterinsights/v1/Intent.java | 397 +- .../v1/IntentMatchData.java | 328 +- .../v1/IntentMatchDataOrBuilder.java | 27 +- .../v1/IntentOrBuilder.java | 36 +- .../v1/InterruptionData.java | 254 +- .../v1/InterruptionDataOrBuilder.java | 9 + .../cloud/contactcenterinsights/v1/Issue.java | 856 +- .../v1/IssueAssignment.java | 466 +- .../v1/IssueAssignmentOrBuilder.java | 47 +- .../v1/IssueMatchData.java | 370 +- .../v1/IssueMatchDataOrBuilder.java | 26 +- .../contactcenterinsights/v1/IssueModel.java | 1907 ++--- .../v1/IssueModelLabelStats.java | 1249 ++- .../v1/IssueModelLabelStatsOrBuilder.java | 84 + .../v1/IssueModelName.java | 0 .../v1/IssueModelOrBuilder.java | 144 +- .../v1/IssueModelResult.java | 490 +- .../v1/IssueModelResultOrBuilder.java | 45 +- .../contactcenterinsights/v1/IssueName.java | 0 .../v1/IssueOrBuilder.java | 116 +- .../v1/ListAnalysesRequest.java | 543 +- .../v1/ListAnalysesRequestOrBuilder.java | 56 +- .../v1/ListAnalysesResponse.java | 493 +- .../v1/ListAnalysesResponseOrBuilder.java | 45 +- .../v1/ListConversationsRequest.java | 636 +- .../v1/ListConversationsRequestOrBuilder.java | 62 +- .../v1/ListConversationsResponse.java | 520 +- .../ListConversationsResponseOrBuilder.java | 42 +- .../v1/ListIssueModelsRequest.java | 379 +- .../v1/ListIssueModelsRequestOrBuilder.java | 29 + .../v1/ListIssueModelsResponse.java | 436 +- .../v1/ListIssueModelsResponseOrBuilder.java | 36 +- .../v1/ListIssuesRequest.java | 356 +- .../v1/ListIssuesRequestOrBuilder.java | 29 + .../v1/ListIssuesResponse.java | 425 +- .../v1/ListIssuesResponseOrBuilder.java | 36 +- .../v1/ListPhraseMatchersRequest.java | 568 +- .../ListPhraseMatchersRequestOrBuilder.java | 56 +- .../v1/ListPhraseMatchersResponse.java | 590 +- .../ListPhraseMatchersResponseOrBuilder.java | 42 +- .../v1/ListViewsRequest.java | 461 +- .../v1/ListViewsRequestOrBuilder.java | 47 +- .../v1/ListViewsResponse.java | 486 +- .../v1/ListViewsResponseOrBuilder.java | 45 +- .../v1/LocationName.java | 0 .../v1/PhraseMatchData.java | 400 +- .../v1/PhraseMatchDataOrBuilder.java | 36 +- .../v1/PhraseMatchRule.java | 475 +- .../v1/PhraseMatchRuleConfig.java | 430 +- .../v1/PhraseMatchRuleConfigOrBuilder.java | 29 +- .../v1/PhraseMatchRuleGroup.java | 710 +- .../v1/PhraseMatchRuleGroupOrBuilder.java | 61 +- .../v1/PhraseMatchRuleOrBuilder.java | 38 +- .../v1/PhraseMatcher.java | 1667 ++-- .../v1/PhraseMatcherName.java | 0 .../v1/PhraseMatcherOrBuilder.java | 210 +- .../v1/ResourcesProto.java | 1097 +++ .../v1/RuntimeAnnotation.java | 1521 ++-- .../v1/RuntimeAnnotationOrBuilder.java | 141 +- .../v1/SentimentData.java | 331 +- .../v1/SentimentDataOrBuilder.java | 24 +- .../contactcenterinsights/v1/Settings.java | 1612 ++-- .../v1/SettingsName.java | 0 .../v1/SettingsOrBuilder.java | 128 +- .../contactcenterinsights/v1/SilenceData.java | 254 +- .../v1/SilenceDataOrBuilder.java | 9 + .../v1/SmartComposeSuggestionData.java | 726 +- .../SmartComposeSuggestionDataOrBuilder.java | 69 +- .../v1/SmartReplyData.java | 691 +- .../v1/SmartReplyDataOrBuilder.java | 69 +- .../v1/UndeployIssueModelMetadata.java | 663 +- .../UndeployIssueModelMetadataOrBuilder.java | 63 +- .../v1/UndeployIssueModelRequest.java | 391 +- .../UndeployIssueModelRequestOrBuilder.java | 29 + .../v1/UndeployIssueModelResponse.java | 286 +- .../UndeployIssueModelResponseOrBuilder.java | 9 + .../v1/UpdateConversationRequest.java | 533 +- .../UpdateConversationRequestOrBuilder.java | 46 +- .../v1/UpdateIssueModelRequest.java | 522 +- .../v1/UpdateIssueModelRequestOrBuilder.java | 46 +- .../v1/UpdateIssueRequest.java | 500 +- .../v1/UpdateIssueRequestOrBuilder.java | 46 +- .../v1/UpdatePhraseMatcherRequest.java | 539 +- .../UpdatePhraseMatcherRequestOrBuilder.java | 46 +- .../v1/UpdateSettingsRequest.java | 550 +- .../v1/UpdateSettingsRequestOrBuilder.java | 55 +- .../v1/UpdateViewRequest.java | 493 +- .../v1/UpdateViewRequestOrBuilder.java | 46 +- .../cloud/contactcenterinsights/v1/View.java | 744 +- .../contactcenterinsights/v1/ViewName.java | 0 .../v1/ViewOrBuilder.java | 83 +- .../v1/contact_center_insights.proto | 161 +- .../contactcenterinsights/v1/resources.proto | 143 +- .../AsyncBulkAnalyzeConversations.java | 0 .../AsyncBulkAnalyzeConversationsLRO.java | 0 .../SyncBulkAnalyzeConversations.java | 0 ...eConversationsLocationnameStringFloat.java | 0 ...AnalyzeConversationsStringStringFloat.java | 0 .../AsyncCalculateIssueModelStats.java | 0 .../SyncCalculateIssueModelStats.java | 0 ...alculateIssueModelStatsIssuemodelname.java | 0 .../SyncCalculateIssueModelStatsString.java | 0 .../calculatestats/AsyncCalculateStats.java | 0 .../calculatestats/SyncCalculateStats.java | 0 .../SyncCalculateStatsLocationname.java | 0 .../SyncCalculateStatsString.java | 0 .../SyncCreateSetCredentialsProvider.java | 0 .../SyncCreateSetCredentialsProvider1.java | 0 .../create/SyncCreateSetEndpoint.java | 0 .../createanalysis/AsyncCreateAnalysis.java | 0 .../AsyncCreateAnalysisLRO.java | 0 .../createanalysis/SyncCreateAnalysis.java | 0 ...reateAnalysisConversationnameAnalysis.java | 0 .../SyncCreateAnalysisStringAnalysis.java | 0 .../AsyncCreateConversation.java | 0 .../SyncCreateConversation.java | 0 ...rsationLocationnameConversationString.java | 0 ...eConversationStringConversationString.java | 0 .../AsyncCreateIssueModel.java | 0 .../AsyncCreateIssueModelLRO.java | 0 .../SyncCreateIssueModel.java | 0 ...reateIssueModelLocationnameIssuemodel.java | 0 .../SyncCreateIssueModelStringIssuemodel.java | 0 .../AsyncCreatePhraseMatcher.java | 0 .../SyncCreatePhraseMatcher.java | 0 ...hraseMatcherLocationnamePhrasematcher.java | 0 ...reatePhraseMatcherStringPhrasematcher.java | 0 .../createview/AsyncCreateView.java | 0 .../createview/SyncCreateView.java | 0 .../SyncCreateViewLocationnameView.java | 0 .../createview/SyncCreateViewStringView.java | 0 .../deleteanalysis/AsyncDeleteAnalysis.java | 0 .../deleteanalysis/SyncDeleteAnalysis.java | 0 .../SyncDeleteAnalysisAnalysisname.java | 0 .../SyncDeleteAnalysisString.java | 0 .../AsyncDeleteConversation.java | 0 .../SyncDeleteConversation.java | 0 ...yncDeleteConversationConversationname.java | 0 .../SyncDeleteConversationString.java | 0 .../deleteissue/AsyncDeleteIssue.java | 0 .../deleteissue/SyncDeleteIssue.java | 0 .../deleteissue/SyncDeleteIssueIssuename.java | 0 .../deleteissue/SyncDeleteIssueString.java | 0 .../AsyncDeleteIssueModel.java | 0 .../AsyncDeleteIssueModelLRO.java | 0 .../SyncDeleteIssueModel.java | 0 .../SyncDeleteIssueModelIssuemodelname.java | 0 .../SyncDeleteIssueModelString.java | 0 .../AsyncDeletePhraseMatcher.java | 0 .../SyncDeletePhraseMatcher.java | 0 ...cDeletePhraseMatcherPhrasematchername.java | 0 .../SyncDeletePhraseMatcherString.java | 0 .../deleteview/AsyncDeleteView.java | 0 .../deleteview/SyncDeleteView.java | 0 .../deleteview/SyncDeleteViewString.java | 0 .../deleteview/SyncDeleteViewViewname.java | 0 .../AsyncDeployIssueModel.java | 0 .../AsyncDeployIssueModelLRO.java | 0 .../SyncDeployIssueModel.java | 0 .../SyncDeployIssueModelIssuemodelname.java | 0 .../SyncDeployIssueModelString.java | 0 .../AsyncExportInsightsData.java | 0 .../AsyncExportInsightsDataLRO.java | 0 .../SyncExportInsightsData.java | 0 .../SyncExportInsightsDataLocationname.java | 0 .../SyncExportInsightsDataString.java | 0 .../getanalysis/AsyncGetAnalysis.java | 0 .../getanalysis/SyncGetAnalysis.java | 0 .../SyncGetAnalysisAnalysisname.java | 0 .../getanalysis/SyncGetAnalysisString.java | 0 .../getconversation/AsyncGetConversation.java | 0 .../getconversation/SyncGetConversation.java | 0 .../SyncGetConversationConversationname.java | 0 .../SyncGetConversationString.java | 0 .../getissue/AsyncGetIssue.java | 0 .../getissue/SyncGetIssue.java | 0 .../getissue/SyncGetIssueIssuename.java | 0 .../getissue/SyncGetIssueString.java | 0 .../getissuemodel/AsyncGetIssueModel.java | 0 .../getissuemodel/SyncGetIssueModel.java | 0 .../SyncGetIssueModelIssuemodelname.java | 0 .../SyncGetIssueModelString.java | 0 .../AsyncGetPhraseMatcher.java | 0 .../SyncGetPhraseMatcher.java | 0 ...SyncGetPhraseMatcherPhrasematchername.java | 0 .../SyncGetPhraseMatcherString.java | 0 .../getsettings/AsyncGetSettings.java | 0 .../getsettings/SyncGetSettings.java | 0 .../SyncGetSettingsSettingsname.java | 0 .../getsettings/SyncGetSettingsString.java | 0 .../getview/AsyncGetView.java | 0 .../getview/SyncGetView.java | 0 .../getview/SyncGetViewString.java | 0 .../getview/SyncGetViewViewname.java | 0 .../AsyncIngestConversations.java | 0 .../AsyncIngestConversationsLRO.java | 0 .../SyncIngestConversations.java | 0 .../SyncIngestConversationsLocationname.java | 0 .../SyncIngestConversationsString.java | 0 .../listanalyses/AsyncListAnalyses.java | 0 .../listanalyses/AsyncListAnalysesPaged.java | 0 .../listanalyses/SyncListAnalyses.java | 0 .../SyncListAnalysesConversationname.java | 0 .../listanalyses/SyncListAnalysesString.java | 0 .../AsyncListConversations.java | 0 .../AsyncListConversationsPaged.java | 0 .../SyncListConversations.java | 0 .../SyncListConversationsLocationname.java | 0 .../SyncListConversationsString.java | 0 .../listissuemodels/AsyncListIssueModels.java | 0 .../listissuemodels/SyncListIssueModels.java | 0 .../SyncListIssueModelsLocationname.java | 0 .../SyncListIssueModelsString.java | 0 .../listissues/AsyncListIssues.java | 0 .../listissues/SyncListIssues.java | 0 .../SyncListIssuesIssuemodelname.java | 0 .../listissues/SyncListIssuesString.java | 0 .../AsyncListPhraseMatchers.java | 0 .../AsyncListPhraseMatchersPaged.java | 0 .../SyncListPhraseMatchers.java | 0 .../SyncListPhraseMatchersLocationname.java | 0 .../SyncListPhraseMatchersString.java | 0 .../listviews/AsyncListViews.java | 0 .../listviews/AsyncListViewsPaged.java | 0 .../listviews/SyncListViews.java | 0 .../listviews/SyncListViewsLocationname.java | 0 .../listviews/SyncListViewsString.java | 0 .../AsyncUndeployIssueModel.java | 0 .../AsyncUndeployIssueModelLRO.java | 0 .../SyncUndeployIssueModel.java | 0 .../SyncUndeployIssueModelIssuemodelname.java | 0 .../SyncUndeployIssueModelString.java | 0 .../AsyncUpdateConversation.java | 0 .../SyncUpdateConversation.java | 0 ...dateConversationConversationFieldmask.java | 0 .../updateissue/AsyncUpdateIssue.java | 0 .../updateissue/SyncUpdateIssue.java | 0 .../SyncUpdateIssueIssueFieldmask.java | 0 .../AsyncUpdateIssueModel.java | 0 .../SyncUpdateIssueModel.java | 0 ...ncUpdateIssueModelIssuemodelFieldmask.java | 0 .../AsyncUpdatePhraseMatcher.java | 0 .../SyncUpdatePhraseMatcher.java | 0 ...tePhraseMatcherPhrasematcherFieldmask.java | 0 .../updatesettings/AsyncUpdateSettings.java | 0 .../updatesettings/SyncUpdateSettings.java | 0 .../SyncUpdateSettingsSettingsFieldmask.java | 0 .../updateview/AsyncUpdateView.java | 0 .../updateview/SyncUpdateView.java | 0 .../SyncUpdateViewViewFieldmask.java | 0 .../SyncCreateConversation.java | 0 .../SyncCreateConversation.java | 0 421 files changed, 36978 insertions(+), 58645 deletions(-) delete mode 100644 java-contact-center-insights/grpc-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ContactCenterInsightsGrpc.java delete mode 100644 java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/CalculateIssueModelStatsRequestOrBuilder.java delete mode 100644 java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ContactCenterInsightsProto.java delete mode 100644 java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/CreateAnalysisRequestOrBuilder.java delete mode 100644 java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/CreateIssueModelRequestOrBuilder.java delete mode 100644 java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/CreatePhraseMatcherRequestOrBuilder.java delete mode 100644 java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/DeleteAnalysisRequestOrBuilder.java delete mode 100644 java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/DeleteConversationRequestOrBuilder.java delete mode 100644 java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/DeleteIssueModelRequestOrBuilder.java delete mode 100644 java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/DeleteIssueRequestOrBuilder.java delete mode 100644 java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/DeletePhraseMatcherRequestOrBuilder.java delete mode 100644 java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/DeleteViewRequestOrBuilder.java delete mode 100644 java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/DeployIssueModelRequestOrBuilder.java delete mode 100644 java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/DeployIssueModelResponseOrBuilder.java delete mode 100644 java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/DialogflowIntentOrBuilder.java delete mode 100644 java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ExactMatchConfigOrBuilder.java delete mode 100644 java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ExportInsightsDataResponseOrBuilder.java delete mode 100644 java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/GetAnalysisRequestOrBuilder.java delete mode 100644 java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/GetIssueModelRequestOrBuilder.java delete mode 100644 java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/GetIssueRequestOrBuilder.java delete mode 100644 java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/GetPhraseMatcherRequestOrBuilder.java delete mode 100644 java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/GetSettingsRequestOrBuilder.java delete mode 100644 java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/GetViewRequestOrBuilder.java delete mode 100644 java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/HoldDataOrBuilder.java delete mode 100644 java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/IngestConversationsMetadata.java delete mode 100644 java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/IngestConversationsMetadataOrBuilder.java delete mode 100644 java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/IngestConversationsRequestOrBuilder.java delete mode 100644 java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/IngestConversationsResponseOrBuilder.java delete mode 100644 java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/InterruptionDataOrBuilder.java delete mode 100644 java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/IssueModelLabelStatsOrBuilder.java delete mode 100644 java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ListIssueModelsRequestOrBuilder.java delete mode 100644 java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ListIssuesRequestOrBuilder.java delete mode 100644 java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ResourcesProto.java delete mode 100644 java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/SilenceDataOrBuilder.java delete mode 100644 java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/UndeployIssueModelRequestOrBuilder.java delete mode 100644 java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/UndeployIssueModelResponseOrBuilder.java rename {java-contact-center-insights => owl-bot-staging/java-contact-center-insights/v1}/google-cloud-contact-center-insights/src/main/java/com/google/cloud/contactcenterinsights/v1/ContactCenterInsightsClient.java (100%) rename {java-contact-center-insights => owl-bot-staging/java-contact-center-insights/v1}/google-cloud-contact-center-insights/src/main/java/com/google/cloud/contactcenterinsights/v1/ContactCenterInsightsSettings.java (99%) rename {java-contact-center-insights => owl-bot-staging/java-contact-center-insights/v1}/google-cloud-contact-center-insights/src/main/java/com/google/cloud/contactcenterinsights/v1/gapic_metadata.json (100%) rename {java-contact-center-insights => owl-bot-staging/java-contact-center-insights/v1}/google-cloud-contact-center-insights/src/main/java/com/google/cloud/contactcenterinsights/v1/package-info.java (100%) rename {java-contact-center-insights => owl-bot-staging/java-contact-center-insights/v1}/google-cloud-contact-center-insights/src/main/java/com/google/cloud/contactcenterinsights/v1/stub/ContactCenterInsightsStub.java (100%) rename {java-contact-center-insights => owl-bot-staging/java-contact-center-insights/v1}/google-cloud-contact-center-insights/src/main/java/com/google/cloud/contactcenterinsights/v1/stub/ContactCenterInsightsStubSettings.java (100%) rename {java-contact-center-insights => owl-bot-staging/java-contact-center-insights/v1}/google-cloud-contact-center-insights/src/main/java/com/google/cloud/contactcenterinsights/v1/stub/GrpcContactCenterInsightsCallableFactory.java (100%) rename {java-contact-center-insights => owl-bot-staging/java-contact-center-insights/v1}/google-cloud-contact-center-insights/src/main/java/com/google/cloud/contactcenterinsights/v1/stub/GrpcContactCenterInsightsStub.java (99%) rename {java-contact-center-insights => owl-bot-staging/java-contact-center-insights/v1}/google-cloud-contact-center-insights/src/main/java/com/google/cloud/contactcenterinsights/v1/stub/HttpJsonContactCenterInsightsCallableFactory.java (100%) rename {java-contact-center-insights => owl-bot-staging/java-contact-center-insights/v1}/google-cloud-contact-center-insights/src/main/java/com/google/cloud/contactcenterinsights/v1/stub/HttpJsonContactCenterInsightsStub.java (99%) rename {java-contact-center-insights => owl-bot-staging/java-contact-center-insights/v1}/google-cloud-contact-center-insights/src/test/java/com/google/cloud/contactcenterinsights/v1/ContactCenterInsightsClientHttpJsonTest.java (99%) rename {java-contact-center-insights => owl-bot-staging/java-contact-center-insights/v1}/google-cloud-contact-center-insights/src/test/java/com/google/cloud/contactcenterinsights/v1/ContactCenterInsightsClientTest.java (99%) rename {java-contact-center-insights => owl-bot-staging/java-contact-center-insights/v1}/google-cloud-contact-center-insights/src/test/java/com/google/cloud/contactcenterinsights/v1/MockContactCenterInsights.java (100%) rename {java-contact-center-insights => owl-bot-staging/java-contact-center-insights/v1}/google-cloud-contact-center-insights/src/test/java/com/google/cloud/contactcenterinsights/v1/MockContactCenterInsightsImpl.java (100%) create mode 100644 owl-bot-staging/java-contact-center-insights/v1/grpc-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ContactCenterInsightsGrpc.java rename {java-contact-center-insights => owl-bot-staging/java-contact-center-insights/v1}/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/Analysis.java (63%) rename {java-contact-center-insights => owl-bot-staging/java-contact-center-insights/v1}/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/AnalysisName.java (100%) rename {java-contact-center-insights => owl-bot-staging/java-contact-center-insights/v1}/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/AnalysisOrBuilder.java (67%) rename {java-contact-center-insights => owl-bot-staging/java-contact-center-insights/v1}/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/AnalysisResult.java (59%) rename {java-contact-center-insights => owl-bot-staging/java-contact-center-insights/v1}/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/AnalysisResultOrBuilder.java (56%) rename {java-contact-center-insights => owl-bot-staging/java-contact-center-insights/v1}/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/AnnotationBoundary.java (67%) rename {java-contact-center-insights => owl-bot-staging/java-contact-center-insights/v1}/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/AnnotationBoundaryOrBuilder.java (61%) rename {java-contact-center-insights => owl-bot-staging/java-contact-center-insights/v1}/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/AnnotatorSelector.java (78%) rename {java-contact-center-insights => owl-bot-staging/java-contact-center-insights/v1}/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/AnnotatorSelectorOrBuilder.java (85%) rename {java-contact-center-insights => owl-bot-staging/java-contact-center-insights/v1}/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/AnswerFeedback.java (66%) rename {java-contact-center-insights => owl-bot-staging/java-contact-center-insights/v1}/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/AnswerFeedbackOrBuilder.java (54%) rename {java-contact-center-insights => owl-bot-staging/java-contact-center-insights/v1}/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ArticleSuggestionData.java (66%) rename {java-contact-center-insights => owl-bot-staging/java-contact-center-insights/v1}/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ArticleSuggestionDataOrBuilder.java (70%) rename {java-contact-center-insights => owl-bot-staging/java-contact-center-insights/v1}/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/BulkAnalyzeConversationsMetadata.java (64%) rename {java-contact-center-insights => owl-bot-staging/java-contact-center-insights/v1}/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/BulkAnalyzeConversationsMetadataOrBuilder.java (75%) rename {java-contact-center-insights => owl-bot-staging/java-contact-center-insights/v1}/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/BulkAnalyzeConversationsRequest.java (64%) rename {java-contact-center-insights => owl-bot-staging/java-contact-center-insights/v1}/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/BulkAnalyzeConversationsRequestOrBuilder.java (67%) rename {java-contact-center-insights => owl-bot-staging/java-contact-center-insights/v1}/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/BulkAnalyzeConversationsResponse.java (55%) rename {java-contact-center-insights => owl-bot-staging/java-contact-center-insights/v1}/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/BulkAnalyzeConversationsResponseOrBuilder.java (52%) rename {java-contact-center-insights => owl-bot-staging/java-contact-center-insights/v1}/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/CalculateIssueModelStatsRequest.java (56%) create mode 100644 owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/CalculateIssueModelStatsRequestOrBuilder.java rename {java-contact-center-insights => owl-bot-staging/java-contact-center-insights/v1}/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/CalculateIssueModelStatsResponse.java (58%) rename {java-contact-center-insights => owl-bot-staging/java-contact-center-insights/v1}/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/CalculateIssueModelStatsResponseOrBuilder.java (65%) rename {java-contact-center-insights => owl-bot-staging/java-contact-center-insights/v1}/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/CalculateStatsRequest.java (63%) rename {java-contact-center-insights => owl-bot-staging/java-contact-center-insights/v1}/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/CalculateStatsRequestOrBuilder.java (51%) rename {java-contact-center-insights => owl-bot-staging/java-contact-center-insights/v1}/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/CalculateStatsResponse.java (61%) rename {java-contact-center-insights => owl-bot-staging/java-contact-center-insights/v1}/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/CalculateStatsResponseOrBuilder.java (67%) rename {java-contact-center-insights => owl-bot-staging/java-contact-center-insights/v1}/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/CallAnnotation.java (70%) rename {java-contact-center-insights => owl-bot-staging/java-contact-center-insights/v1}/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/CallAnnotationOrBuilder.java (84%) create mode 100644 owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ContactCenterInsightsProto.java rename {java-contact-center-insights => owl-bot-staging/java-contact-center-insights/v1}/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/Conversation.java (63%) rename {java-contact-center-insights => owl-bot-staging/java-contact-center-insights/v1}/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ConversationDataSource.java (68%) rename {java-contact-center-insights => owl-bot-staging/java-contact-center-insights/v1}/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ConversationDataSourceOrBuilder.java (72%) rename {java-contact-center-insights => owl-bot-staging/java-contact-center-insights/v1}/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ConversationLevelSentiment.java (63%) rename {java-contact-center-insights => owl-bot-staging/java-contact-center-insights/v1}/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ConversationLevelSentimentOrBuilder.java (64%) rename {java-contact-center-insights => owl-bot-staging/java-contact-center-insights/v1}/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ConversationName.java (100%) rename {java-contact-center-insights => owl-bot-staging/java-contact-center-insights/v1}/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ConversationOrBuilder.java (68%) rename {java-contact-center-insights => owl-bot-staging/java-contact-center-insights/v1}/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ConversationParticipant.java (67%) rename {java-contact-center-insights => owl-bot-staging/java-contact-center-insights/v1}/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ConversationParticipantOrBuilder.java (70%) rename {java-contact-center-insights => owl-bot-staging/java-contact-center-insights/v1}/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ConversationView.java (68%) rename {java-contact-center-insights => owl-bot-staging/java-contact-center-insights/v1}/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/CreateAnalysisOperationMetadata.java (59%) rename {java-contact-center-insights => owl-bot-staging/java-contact-center-insights/v1}/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/CreateAnalysisOperationMetadataOrBuilder.java (58%) rename {java-contact-center-insights => owl-bot-staging/java-contact-center-insights/v1}/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/CreateAnalysisRequest.java (58%) create mode 100644 owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/CreateAnalysisRequestOrBuilder.java rename {java-contact-center-insights => owl-bot-staging/java-contact-center-insights/v1}/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/CreateConversationRequest.java (62%) rename {java-contact-center-insights => owl-bot-staging/java-contact-center-insights/v1}/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/CreateConversationRequestOrBuilder.java (57%) rename {java-contact-center-insights => owl-bot-staging/java-contact-center-insights/v1}/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/CreateIssueModelMetadata.java (63%) rename {java-contact-center-insights => owl-bot-staging/java-contact-center-insights/v1}/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/CreateIssueModelMetadataOrBuilder.java (70%) rename {java-contact-center-insights => owl-bot-staging/java-contact-center-insights/v1}/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/CreateIssueModelRequest.java (58%) create mode 100644 owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/CreateIssueModelRequestOrBuilder.java rename {java-contact-center-insights => owl-bot-staging/java-contact-center-insights/v1}/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/CreatePhraseMatcherRequest.java (54%) create mode 100644 owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/CreatePhraseMatcherRequestOrBuilder.java rename {java-contact-center-insights => owl-bot-staging/java-contact-center-insights/v1}/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/CreateViewRequest.java (62%) rename {java-contact-center-insights => owl-bot-staging/java-contact-center-insights/v1}/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/CreateViewRequestOrBuilder.java (51%) rename {java-contact-center-insights => owl-bot-staging/java-contact-center-insights/v1}/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/DeleteAnalysisRequest.java (60%) create mode 100644 owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/DeleteAnalysisRequestOrBuilder.java rename {java-contact-center-insights => owl-bot-staging/java-contact-center-insights/v1}/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/DeleteConversationRequest.java (61%) create mode 100644 owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/DeleteConversationRequestOrBuilder.java rename {java-contact-center-insights => owl-bot-staging/java-contact-center-insights/v1}/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/DeleteIssueModelMetadata.java (63%) rename {java-contact-center-insights => owl-bot-staging/java-contact-center-insights/v1}/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/DeleteIssueModelMetadataOrBuilder.java (70%) rename {java-contact-center-insights => owl-bot-staging/java-contact-center-insights/v1}/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/DeleteIssueModelRequest.java (59%) create mode 100644 owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/DeleteIssueModelRequestOrBuilder.java rename {java-contact-center-insights => owl-bot-staging/java-contact-center-insights/v1}/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/DeleteIssueRequest.java (61%) create mode 100644 owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/DeleteIssueRequestOrBuilder.java rename {java-contact-center-insights => owl-bot-staging/java-contact-center-insights/v1}/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/DeletePhraseMatcherRequest.java (58%) create mode 100644 owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/DeletePhraseMatcherRequestOrBuilder.java rename {java-contact-center-insights => owl-bot-staging/java-contact-center-insights/v1}/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/DeleteViewRequest.java (62%) create mode 100644 owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/DeleteViewRequestOrBuilder.java rename {java-contact-center-insights => owl-bot-staging/java-contact-center-insights/v1}/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/DeployIssueModelMetadata.java (63%) rename {java-contact-center-insights => owl-bot-staging/java-contact-center-insights/v1}/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/DeployIssueModelMetadataOrBuilder.java (70%) rename {java-contact-center-insights => owl-bot-staging/java-contact-center-insights/v1}/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/DeployIssueModelRequest.java (59%) create mode 100644 owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/DeployIssueModelRequestOrBuilder.java rename {java-contact-center-insights => owl-bot-staging/java-contact-center-insights/v1}/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/DeployIssueModelResponse.java (58%) create mode 100644 owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/DeployIssueModelResponseOrBuilder.java rename {java-contact-center-insights => owl-bot-staging/java-contact-center-insights/v1}/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/DialogflowIntent.java (66%) create mode 100644 owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/DialogflowIntentOrBuilder.java rename {java-contact-center-insights => owl-bot-staging/java-contact-center-insights/v1}/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/DialogflowInteractionData.java (64%) rename {java-contact-center-insights => owl-bot-staging/java-contact-center-insights/v1}/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/DialogflowInteractionDataOrBuilder.java (58%) rename {java-contact-center-insights => owl-bot-staging/java-contact-center-insights/v1}/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/DialogflowSource.java (70%) rename {java-contact-center-insights => owl-bot-staging/java-contact-center-insights/v1}/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/DialogflowSourceOrBuilder.java (65%) rename {java-contact-center-insights => owl-bot-staging/java-contact-center-insights/v1}/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/Entity.java (70%) rename {java-contact-center-insights => owl-bot-staging/java-contact-center-insights/v1}/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/EntityMentionData.java (69%) rename {java-contact-center-insights => owl-bot-staging/java-contact-center-insights/v1}/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/EntityMentionDataOrBuilder.java (73%) rename {java-contact-center-insights => owl-bot-staging/java-contact-center-insights/v1}/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/EntityOrBuilder.java (78%) rename {java-contact-center-insights => owl-bot-staging/java-contact-center-insights/v1}/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ExactMatchConfig.java (65%) create mode 100644 owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ExactMatchConfigOrBuilder.java rename {java-contact-center-insights => owl-bot-staging/java-contact-center-insights/v1}/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ExportInsightsDataMetadata.java (68%) rename {java-contact-center-insights => owl-bot-staging/java-contact-center-insights/v1}/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ExportInsightsDataMetadataOrBuilder.java (72%) rename {java-contact-center-insights => owl-bot-staging/java-contact-center-insights/v1}/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ExportInsightsDataRequest.java (62%) rename {java-contact-center-insights => owl-bot-staging/java-contact-center-insights/v1}/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ExportInsightsDataRequestOrBuilder.java (55%) rename {java-contact-center-insights => owl-bot-staging/java-contact-center-insights/v1}/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ExportInsightsDataResponse.java (58%) create mode 100644 owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ExportInsightsDataResponseOrBuilder.java rename {java-contact-center-insights => owl-bot-staging/java-contact-center-insights/v1}/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/FaqAnswerData.java (67%) rename {java-contact-center-insights => owl-bot-staging/java-contact-center-insights/v1}/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/FaqAnswerDataOrBuilder.java (71%) rename {java-contact-center-insights => owl-bot-staging/java-contact-center-insights/v1}/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/GcsSource.java (68%) rename {java-contact-center-insights => owl-bot-staging/java-contact-center-insights/v1}/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/GcsSourceOrBuilder.java (58%) rename {java-contact-center-insights => owl-bot-staging/java-contact-center-insights/v1}/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/GetAnalysisRequest.java (61%) create mode 100644 owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/GetAnalysisRequestOrBuilder.java rename {java-contact-center-insights => owl-bot-staging/java-contact-center-insights/v1}/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/GetConversationRequest.java (62%) rename {java-contact-center-insights => owl-bot-staging/java-contact-center-insights/v1}/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/GetConversationRequestOrBuilder.java (53%) rename {java-contact-center-insights => owl-bot-staging/java-contact-center-insights/v1}/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/GetIssueModelRequest.java (60%) create mode 100644 owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/GetIssueModelRequestOrBuilder.java rename {java-contact-center-insights => owl-bot-staging/java-contact-center-insights/v1}/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/GetIssueRequest.java (62%) create mode 100644 owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/GetIssueRequestOrBuilder.java rename {java-contact-center-insights => owl-bot-staging/java-contact-center-insights/v1}/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/GetPhraseMatcherRequest.java (59%) create mode 100644 owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/GetPhraseMatcherRequestOrBuilder.java rename {java-contact-center-insights => owl-bot-staging/java-contact-center-insights/v1}/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/GetSettingsRequest.java (61%) create mode 100644 owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/GetSettingsRequestOrBuilder.java rename {java-contact-center-insights => owl-bot-staging/java-contact-center-insights/v1}/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/GetViewRequest.java (62%) create mode 100644 owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/GetViewRequestOrBuilder.java rename {java-contact-center-insights => owl-bot-staging/java-contact-center-insights/v1}/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/HoldData.java (63%) create mode 100644 owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/HoldDataOrBuilder.java create mode 100644 owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/IngestConversationsMetadata.java create mode 100644 owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/IngestConversationsMetadataOrBuilder.java rename {java-contact-center-insights => owl-bot-staging/java-contact-center-insights/v1}/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/IngestConversationsRequest.java (54%) create mode 100644 owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/IngestConversationsRequestOrBuilder.java rename {java-contact-center-insights => owl-bot-staging/java-contact-center-insights/v1}/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/IngestConversationsResponse.java (58%) create mode 100644 owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/IngestConversationsResponseOrBuilder.java rename {java-contact-center-insights => owl-bot-staging/java-contact-center-insights/v1}/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/Intent.java (67%) rename {java-contact-center-insights => owl-bot-staging/java-contact-center-insights/v1}/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/IntentMatchData.java (67%) rename {java-contact-center-insights => owl-bot-staging/java-contact-center-insights/v1}/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/IntentMatchDataOrBuilder.java (52%) rename {java-contact-center-insights => owl-bot-staging/java-contact-center-insights/v1}/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/IntentOrBuilder.java (55%) rename {java-contact-center-insights => owl-bot-staging/java-contact-center-insights/v1}/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/InterruptionData.java (63%) create mode 100644 owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/InterruptionDataOrBuilder.java rename {java-contact-center-insights => owl-bot-staging/java-contact-center-insights/v1}/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/Issue.java (67%) rename {java-contact-center-insights => owl-bot-staging/java-contact-center-insights/v1}/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/IssueAssignment.java (68%) rename {java-contact-center-insights => owl-bot-staging/java-contact-center-insights/v1}/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/IssueAssignmentOrBuilder.java (59%) rename {java-contact-center-insights => owl-bot-staging/java-contact-center-insights/v1}/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/IssueMatchData.java (66%) rename {java-contact-center-insights => owl-bot-staging/java-contact-center-insights/v1}/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/IssueMatchDataOrBuilder.java (63%) rename {java-contact-center-insights => owl-bot-staging/java-contact-center-insights/v1}/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/IssueModel.java (63%) rename {java-contact-center-insights => owl-bot-staging/java-contact-center-insights/v1}/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/IssueModelLabelStats.java (59%) create mode 100644 owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/IssueModelLabelStatsOrBuilder.java rename {java-contact-center-insights => owl-bot-staging/java-contact-center-insights/v1}/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/IssueModelName.java (100%) rename {java-contact-center-insights => owl-bot-staging/java-contact-center-insights/v1}/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/IssueModelOrBuilder.java (64%) rename {java-contact-center-insights => owl-bot-staging/java-contact-center-insights/v1}/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/IssueModelResult.java (72%) rename {java-contact-center-insights => owl-bot-staging/java-contact-center-insights/v1}/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/IssueModelResultOrBuilder.java (70%) rename {java-contact-center-insights => owl-bot-staging/java-contact-center-insights/v1}/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/IssueName.java (100%) rename {java-contact-center-insights => owl-bot-staging/java-contact-center-insights/v1}/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/IssueOrBuilder.java (69%) rename {java-contact-center-insights => owl-bot-staging/java-contact-center-insights/v1}/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ListAnalysesRequest.java (68%) rename {java-contact-center-insights => owl-bot-staging/java-contact-center-insights/v1}/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ListAnalysesRequestOrBuilder.java (64%) rename {java-contact-center-insights => owl-bot-staging/java-contact-center-insights/v1}/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ListAnalysesResponse.java (71%) rename {java-contact-center-insights => owl-bot-staging/java-contact-center-insights/v1}/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ListAnalysesResponseOrBuilder.java (70%) rename {java-contact-center-insights => owl-bot-staging/java-contact-center-insights/v1}/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ListConversationsRequest.java (67%) rename {java-contact-center-insights => owl-bot-staging/java-contact-center-insights/v1}/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ListConversationsRequestOrBuilder.java (69%) rename {java-contact-center-insights => owl-bot-staging/java-contact-center-insights/v1}/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ListConversationsResponse.java (70%) rename {java-contact-center-insights => owl-bot-staging/java-contact-center-insights/v1}/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ListConversationsResponseOrBuilder.java (73%) rename {java-contact-center-insights => owl-bot-staging/java-contact-center-insights/v1}/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ListIssueModelsRequest.java (60%) create mode 100644 owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ListIssueModelsRequestOrBuilder.java rename {java-contact-center-insights => owl-bot-staging/java-contact-center-insights/v1}/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ListIssueModelsResponse.java (69%) rename {java-contact-center-insights => owl-bot-staging/java-contact-center-insights/v1}/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ListIssueModelsResponseOrBuilder.java (66%) rename {java-contact-center-insights => owl-bot-staging/java-contact-center-insights/v1}/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ListIssuesRequest.java (62%) create mode 100644 owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ListIssuesRequestOrBuilder.java rename {java-contact-center-insights => owl-bot-staging/java-contact-center-insights/v1}/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ListIssuesResponse.java (69%) rename {java-contact-center-insights => owl-bot-staging/java-contact-center-insights/v1}/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ListIssuesResponseOrBuilder.java (65%) rename {java-contact-center-insights => owl-bot-staging/java-contact-center-insights/v1}/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ListPhraseMatchersRequest.java (67%) rename {java-contact-center-insights => owl-bot-staging/java-contact-center-insights/v1}/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ListPhraseMatchersRequestOrBuilder.java (65%) rename {java-contact-center-insights => owl-bot-staging/java-contact-center-insights/v1}/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ListPhraseMatchersResponse.java (67%) rename {java-contact-center-insights => owl-bot-staging/java-contact-center-insights/v1}/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ListPhraseMatchersResponseOrBuilder.java (72%) rename {java-contact-center-insights => owl-bot-staging/java-contact-center-insights/v1}/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ListViewsRequest.java (68%) rename {java-contact-center-insights => owl-bot-staging/java-contact-center-insights/v1}/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ListViewsRequestOrBuilder.java (60%) rename {java-contact-center-insights => owl-bot-staging/java-contact-center-insights/v1}/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ListViewsResponse.java (71%) rename {java-contact-center-insights => owl-bot-staging/java-contact-center-insights/v1}/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ListViewsResponseOrBuilder.java (70%) rename {java-contact-center-insights => owl-bot-staging/java-contact-center-insights/v1}/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/LocationName.java (100%) rename {java-contact-center-insights => owl-bot-staging/java-contact-center-insights/v1}/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/PhraseMatchData.java (68%) rename {java-contact-center-insights => owl-bot-staging/java-contact-center-insights/v1}/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/PhraseMatchDataOrBuilder.java (57%) rename {java-contact-center-insights => owl-bot-staging/java-contact-center-insights/v1}/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/PhraseMatchRule.java (69%) rename {java-contact-center-insights => owl-bot-staging/java-contact-center-insights/v1}/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/PhraseMatchRuleConfig.java (65%) rename {java-contact-center-insights => owl-bot-staging/java-contact-center-insights/v1}/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/PhraseMatchRuleConfigOrBuilder.java (63%) rename {java-contact-center-insights => owl-bot-staging/java-contact-center-insights/v1}/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/PhraseMatchRuleGroup.java (64%) rename {java-contact-center-insights => owl-bot-staging/java-contact-center-insights/v1}/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/PhraseMatchRuleGroupOrBuilder.java (60%) rename {java-contact-center-insights => owl-bot-staging/java-contact-center-insights/v1}/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/PhraseMatchRuleOrBuilder.java (71%) rename {java-contact-center-insights => owl-bot-staging/java-contact-center-insights/v1}/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/PhraseMatcher.java (64%) rename {java-contact-center-insights => owl-bot-staging/java-contact-center-insights/v1}/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/PhraseMatcherName.java (100%) rename {java-contact-center-insights => owl-bot-staging/java-contact-center-insights/v1}/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/PhraseMatcherOrBuilder.java (63%) create mode 100644 owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ResourcesProto.java rename {java-contact-center-insights => owl-bot-staging/java-contact-center-insights/v1}/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/RuntimeAnnotation.java (67%) rename {java-contact-center-insights => owl-bot-staging/java-contact-center-insights/v1}/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/RuntimeAnnotationOrBuilder.java (78%) rename {java-contact-center-insights => owl-bot-staging/java-contact-center-insights/v1}/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/SentimentData.java (67%) rename {java-contact-center-insights => owl-bot-staging/java-contact-center-insights/v1}/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/SentimentDataOrBuilder.java (53%) rename {java-contact-center-insights => owl-bot-staging/java-contact-center-insights/v1}/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/Settings.java (70%) rename {java-contact-center-insights => owl-bot-staging/java-contact-center-insights/v1}/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/SettingsName.java (100%) rename {java-contact-center-insights => owl-bot-staging/java-contact-center-insights/v1}/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/SettingsOrBuilder.java (82%) rename {java-contact-center-insights => owl-bot-staging/java-contact-center-insights/v1}/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/SilenceData.java (62%) create mode 100644 owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/SilenceDataOrBuilder.java rename {java-contact-center-insights => owl-bot-staging/java-contact-center-insights/v1}/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/SmartComposeSuggestionData.java (63%) rename {java-contact-center-insights => owl-bot-staging/java-contact-center-insights/v1}/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/SmartComposeSuggestionDataOrBuilder.java (68%) rename {java-contact-center-insights => owl-bot-staging/java-contact-center-insights/v1}/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/SmartReplyData.java (65%) rename {java-contact-center-insights => owl-bot-staging/java-contact-center-insights/v1}/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/SmartReplyDataOrBuilder.java (67%) rename {java-contact-center-insights => owl-bot-staging/java-contact-center-insights/v1}/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/UndeployIssueModelMetadata.java (63%) rename {java-contact-center-insights => owl-bot-staging/java-contact-center-insights/v1}/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/UndeployIssueModelMetadataOrBuilder.java (69%) rename {java-contact-center-insights => owl-bot-staging/java-contact-center-insights/v1}/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/UndeployIssueModelRequest.java (58%) create mode 100644 owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/UndeployIssueModelRequestOrBuilder.java rename {java-contact-center-insights => owl-bot-staging/java-contact-center-insights/v1}/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/UndeployIssueModelResponse.java (58%) create mode 100644 owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/UndeployIssueModelResponseOrBuilder.java rename {java-contact-center-insights => owl-bot-staging/java-contact-center-insights/v1}/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/UpdateConversationRequest.java (61%) rename {java-contact-center-insights => owl-bot-staging/java-contact-center-insights/v1}/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/UpdateConversationRequestOrBuilder.java (57%) rename {java-contact-center-insights => owl-bot-staging/java-contact-center-insights/v1}/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/UpdateIssueModelRequest.java (61%) rename {java-contact-center-insights => owl-bot-staging/java-contact-center-insights/v1}/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/UpdateIssueModelRequestOrBuilder.java (57%) rename {java-contact-center-insights => owl-bot-staging/java-contact-center-insights/v1}/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/UpdateIssueRequest.java (63%) rename {java-contact-center-insights => owl-bot-staging/java-contact-center-insights/v1}/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/UpdateIssueRequestOrBuilder.java (57%) rename {java-contact-center-insights => owl-bot-staging/java-contact-center-insights/v1}/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/UpdatePhraseMatcherRequest.java (60%) rename {java-contact-center-insights => owl-bot-staging/java-contact-center-insights/v1}/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/UpdatePhraseMatcherRequestOrBuilder.java (57%) rename {java-contact-center-insights => owl-bot-staging/java-contact-center-insights/v1}/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/UpdateSettingsRequest.java (60%) rename {java-contact-center-insights => owl-bot-staging/java-contact-center-insights/v1}/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/UpdateSettingsRequestOrBuilder.java (54%) rename {java-contact-center-insights => owl-bot-staging/java-contact-center-insights/v1}/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/UpdateViewRequest.java (63%) rename {java-contact-center-insights => owl-bot-staging/java-contact-center-insights/v1}/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/UpdateViewRequestOrBuilder.java (56%) rename {java-contact-center-insights => owl-bot-staging/java-contact-center-insights/v1}/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/View.java (66%) rename {java-contact-center-insights => owl-bot-staging/java-contact-center-insights/v1}/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ViewName.java (100%) rename {java-contact-center-insights => owl-bot-staging/java-contact-center-insights/v1}/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ViewOrBuilder.java (68%) rename {java-contact-center-insights => owl-bot-staging/java-contact-center-insights/v1}/proto-google-cloud-contact-center-insights-v1/src/main/proto/google/cloud/contactcenterinsights/v1/contact_center_insights.proto (89%) rename {java-contact-center-insights => owl-bot-staging/java-contact-center-insights/v1}/proto-google-cloud-contact-center-insights-v1/src/main/proto/google/cloud/contactcenterinsights/v1/resources.proto (92%) rename {java-contact-center-insights => owl-bot-staging/java-contact-center-insights/v1}/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/bulkanalyzeconversations/AsyncBulkAnalyzeConversations.java (100%) rename {java-contact-center-insights => owl-bot-staging/java-contact-center-insights/v1}/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/bulkanalyzeconversations/AsyncBulkAnalyzeConversationsLRO.java (100%) rename {java-contact-center-insights => owl-bot-staging/java-contact-center-insights/v1}/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/bulkanalyzeconversations/SyncBulkAnalyzeConversations.java (100%) rename {java-contact-center-insights => owl-bot-staging/java-contact-center-insights/v1}/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/bulkanalyzeconversations/SyncBulkAnalyzeConversationsLocationnameStringFloat.java (100%) rename {java-contact-center-insights => owl-bot-staging/java-contact-center-insights/v1}/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/bulkanalyzeconversations/SyncBulkAnalyzeConversationsStringStringFloat.java (100%) rename {java-contact-center-insights => owl-bot-staging/java-contact-center-insights/v1}/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/calculateissuemodelstats/AsyncCalculateIssueModelStats.java (100%) rename {java-contact-center-insights => owl-bot-staging/java-contact-center-insights/v1}/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/calculateissuemodelstats/SyncCalculateIssueModelStats.java (100%) rename {java-contact-center-insights => owl-bot-staging/java-contact-center-insights/v1}/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/calculateissuemodelstats/SyncCalculateIssueModelStatsIssuemodelname.java (100%) rename {java-contact-center-insights => owl-bot-staging/java-contact-center-insights/v1}/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/calculateissuemodelstats/SyncCalculateIssueModelStatsString.java (100%) rename {java-contact-center-insights => owl-bot-staging/java-contact-center-insights/v1}/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/calculatestats/AsyncCalculateStats.java (100%) rename {java-contact-center-insights => owl-bot-staging/java-contact-center-insights/v1}/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/calculatestats/SyncCalculateStats.java (100%) rename {java-contact-center-insights => owl-bot-staging/java-contact-center-insights/v1}/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/calculatestats/SyncCalculateStatsLocationname.java (100%) rename {java-contact-center-insights => owl-bot-staging/java-contact-center-insights/v1}/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/calculatestats/SyncCalculateStatsString.java (100%) rename {java-contact-center-insights => owl-bot-staging/java-contact-center-insights/v1}/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/create/SyncCreateSetCredentialsProvider.java (100%) rename {java-contact-center-insights => owl-bot-staging/java-contact-center-insights/v1}/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/create/SyncCreateSetCredentialsProvider1.java (100%) rename {java-contact-center-insights => owl-bot-staging/java-contact-center-insights/v1}/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/create/SyncCreateSetEndpoint.java (100%) rename {java-contact-center-insights => owl-bot-staging/java-contact-center-insights/v1}/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/createanalysis/AsyncCreateAnalysis.java (100%) rename {java-contact-center-insights => owl-bot-staging/java-contact-center-insights/v1}/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/createanalysis/AsyncCreateAnalysisLRO.java (100%) rename {java-contact-center-insights => owl-bot-staging/java-contact-center-insights/v1}/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/createanalysis/SyncCreateAnalysis.java (100%) rename {java-contact-center-insights => owl-bot-staging/java-contact-center-insights/v1}/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/createanalysis/SyncCreateAnalysisConversationnameAnalysis.java (100%) rename {java-contact-center-insights => owl-bot-staging/java-contact-center-insights/v1}/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/createanalysis/SyncCreateAnalysisStringAnalysis.java (100%) rename {java-contact-center-insights => owl-bot-staging/java-contact-center-insights/v1}/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/createconversation/AsyncCreateConversation.java (100%) rename {java-contact-center-insights => owl-bot-staging/java-contact-center-insights/v1}/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/createconversation/SyncCreateConversation.java (100%) rename {java-contact-center-insights => owl-bot-staging/java-contact-center-insights/v1}/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/createconversation/SyncCreateConversationLocationnameConversationString.java (100%) rename {java-contact-center-insights => owl-bot-staging/java-contact-center-insights/v1}/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/createconversation/SyncCreateConversationStringConversationString.java (100%) rename {java-contact-center-insights => owl-bot-staging/java-contact-center-insights/v1}/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/createissuemodel/AsyncCreateIssueModel.java (100%) rename {java-contact-center-insights => owl-bot-staging/java-contact-center-insights/v1}/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/createissuemodel/AsyncCreateIssueModelLRO.java (100%) rename {java-contact-center-insights => owl-bot-staging/java-contact-center-insights/v1}/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/createissuemodel/SyncCreateIssueModel.java (100%) rename {java-contact-center-insights => owl-bot-staging/java-contact-center-insights/v1}/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/createissuemodel/SyncCreateIssueModelLocationnameIssuemodel.java (100%) rename {java-contact-center-insights => owl-bot-staging/java-contact-center-insights/v1}/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/createissuemodel/SyncCreateIssueModelStringIssuemodel.java (100%) rename {java-contact-center-insights => owl-bot-staging/java-contact-center-insights/v1}/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/createphrasematcher/AsyncCreatePhraseMatcher.java (100%) rename {java-contact-center-insights => owl-bot-staging/java-contact-center-insights/v1}/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/createphrasematcher/SyncCreatePhraseMatcher.java (100%) rename {java-contact-center-insights => owl-bot-staging/java-contact-center-insights/v1}/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/createphrasematcher/SyncCreatePhraseMatcherLocationnamePhrasematcher.java (100%) rename {java-contact-center-insights => owl-bot-staging/java-contact-center-insights/v1}/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/createphrasematcher/SyncCreatePhraseMatcherStringPhrasematcher.java (100%) rename {java-contact-center-insights => owl-bot-staging/java-contact-center-insights/v1}/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/createview/AsyncCreateView.java (100%) rename {java-contact-center-insights => owl-bot-staging/java-contact-center-insights/v1}/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/createview/SyncCreateView.java (100%) rename {java-contact-center-insights => owl-bot-staging/java-contact-center-insights/v1}/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/createview/SyncCreateViewLocationnameView.java (100%) rename {java-contact-center-insights => owl-bot-staging/java-contact-center-insights/v1}/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/createview/SyncCreateViewStringView.java (100%) rename {java-contact-center-insights => owl-bot-staging/java-contact-center-insights/v1}/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/deleteanalysis/AsyncDeleteAnalysis.java (100%) rename {java-contact-center-insights => owl-bot-staging/java-contact-center-insights/v1}/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/deleteanalysis/SyncDeleteAnalysis.java (100%) rename {java-contact-center-insights => owl-bot-staging/java-contact-center-insights/v1}/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/deleteanalysis/SyncDeleteAnalysisAnalysisname.java (100%) rename {java-contact-center-insights => owl-bot-staging/java-contact-center-insights/v1}/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/deleteanalysis/SyncDeleteAnalysisString.java (100%) rename {java-contact-center-insights => owl-bot-staging/java-contact-center-insights/v1}/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/deleteconversation/AsyncDeleteConversation.java (100%) rename {java-contact-center-insights => owl-bot-staging/java-contact-center-insights/v1}/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/deleteconversation/SyncDeleteConversation.java (100%) rename {java-contact-center-insights => owl-bot-staging/java-contact-center-insights/v1}/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/deleteconversation/SyncDeleteConversationConversationname.java (100%) rename {java-contact-center-insights => owl-bot-staging/java-contact-center-insights/v1}/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/deleteconversation/SyncDeleteConversationString.java (100%) rename {java-contact-center-insights => owl-bot-staging/java-contact-center-insights/v1}/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/deleteissue/AsyncDeleteIssue.java (100%) rename {java-contact-center-insights => owl-bot-staging/java-contact-center-insights/v1}/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/deleteissue/SyncDeleteIssue.java (100%) rename {java-contact-center-insights => owl-bot-staging/java-contact-center-insights/v1}/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/deleteissue/SyncDeleteIssueIssuename.java (100%) rename {java-contact-center-insights => owl-bot-staging/java-contact-center-insights/v1}/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/deleteissue/SyncDeleteIssueString.java (100%) rename {java-contact-center-insights => owl-bot-staging/java-contact-center-insights/v1}/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/deleteissuemodel/AsyncDeleteIssueModel.java (100%) rename {java-contact-center-insights => owl-bot-staging/java-contact-center-insights/v1}/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/deleteissuemodel/AsyncDeleteIssueModelLRO.java (100%) rename {java-contact-center-insights => owl-bot-staging/java-contact-center-insights/v1}/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/deleteissuemodel/SyncDeleteIssueModel.java (100%) rename {java-contact-center-insights => owl-bot-staging/java-contact-center-insights/v1}/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/deleteissuemodel/SyncDeleteIssueModelIssuemodelname.java (100%) rename {java-contact-center-insights => owl-bot-staging/java-contact-center-insights/v1}/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/deleteissuemodel/SyncDeleteIssueModelString.java (100%) rename {java-contact-center-insights => owl-bot-staging/java-contact-center-insights/v1}/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/deletephrasematcher/AsyncDeletePhraseMatcher.java (100%) rename {java-contact-center-insights => owl-bot-staging/java-contact-center-insights/v1}/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/deletephrasematcher/SyncDeletePhraseMatcher.java (100%) rename {java-contact-center-insights => owl-bot-staging/java-contact-center-insights/v1}/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/deletephrasematcher/SyncDeletePhraseMatcherPhrasematchername.java (100%) rename {java-contact-center-insights => owl-bot-staging/java-contact-center-insights/v1}/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/deletephrasematcher/SyncDeletePhraseMatcherString.java (100%) rename {java-contact-center-insights => owl-bot-staging/java-contact-center-insights/v1}/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/deleteview/AsyncDeleteView.java (100%) rename {java-contact-center-insights => owl-bot-staging/java-contact-center-insights/v1}/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/deleteview/SyncDeleteView.java (100%) rename {java-contact-center-insights => owl-bot-staging/java-contact-center-insights/v1}/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/deleteview/SyncDeleteViewString.java (100%) rename {java-contact-center-insights => owl-bot-staging/java-contact-center-insights/v1}/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/deleteview/SyncDeleteViewViewname.java (100%) rename {java-contact-center-insights => owl-bot-staging/java-contact-center-insights/v1}/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/deployissuemodel/AsyncDeployIssueModel.java (100%) rename {java-contact-center-insights => owl-bot-staging/java-contact-center-insights/v1}/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/deployissuemodel/AsyncDeployIssueModelLRO.java (100%) rename {java-contact-center-insights => owl-bot-staging/java-contact-center-insights/v1}/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/deployissuemodel/SyncDeployIssueModel.java (100%) rename {java-contact-center-insights => owl-bot-staging/java-contact-center-insights/v1}/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/deployissuemodel/SyncDeployIssueModelIssuemodelname.java (100%) rename {java-contact-center-insights => owl-bot-staging/java-contact-center-insights/v1}/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/deployissuemodel/SyncDeployIssueModelString.java (100%) rename {java-contact-center-insights => owl-bot-staging/java-contact-center-insights/v1}/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/exportinsightsdata/AsyncExportInsightsData.java (100%) rename {java-contact-center-insights => owl-bot-staging/java-contact-center-insights/v1}/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/exportinsightsdata/AsyncExportInsightsDataLRO.java (100%) rename {java-contact-center-insights => owl-bot-staging/java-contact-center-insights/v1}/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/exportinsightsdata/SyncExportInsightsData.java (100%) rename {java-contact-center-insights => owl-bot-staging/java-contact-center-insights/v1}/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/exportinsightsdata/SyncExportInsightsDataLocationname.java (100%) rename {java-contact-center-insights => owl-bot-staging/java-contact-center-insights/v1}/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/exportinsightsdata/SyncExportInsightsDataString.java (100%) rename {java-contact-center-insights => owl-bot-staging/java-contact-center-insights/v1}/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/getanalysis/AsyncGetAnalysis.java (100%) rename {java-contact-center-insights => owl-bot-staging/java-contact-center-insights/v1}/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/getanalysis/SyncGetAnalysis.java (100%) rename {java-contact-center-insights => owl-bot-staging/java-contact-center-insights/v1}/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/getanalysis/SyncGetAnalysisAnalysisname.java (100%) rename {java-contact-center-insights => owl-bot-staging/java-contact-center-insights/v1}/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/getanalysis/SyncGetAnalysisString.java (100%) rename {java-contact-center-insights => owl-bot-staging/java-contact-center-insights/v1}/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/getconversation/AsyncGetConversation.java (100%) rename {java-contact-center-insights => owl-bot-staging/java-contact-center-insights/v1}/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/getconversation/SyncGetConversation.java (100%) rename {java-contact-center-insights => owl-bot-staging/java-contact-center-insights/v1}/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/getconversation/SyncGetConversationConversationname.java (100%) rename {java-contact-center-insights => owl-bot-staging/java-contact-center-insights/v1}/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/getconversation/SyncGetConversationString.java (100%) rename {java-contact-center-insights => owl-bot-staging/java-contact-center-insights/v1}/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/getissue/AsyncGetIssue.java (100%) rename {java-contact-center-insights => owl-bot-staging/java-contact-center-insights/v1}/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/getissue/SyncGetIssue.java (100%) rename {java-contact-center-insights => owl-bot-staging/java-contact-center-insights/v1}/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/getissue/SyncGetIssueIssuename.java (100%) rename {java-contact-center-insights => owl-bot-staging/java-contact-center-insights/v1}/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/getissue/SyncGetIssueString.java (100%) rename {java-contact-center-insights => owl-bot-staging/java-contact-center-insights/v1}/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/getissuemodel/AsyncGetIssueModel.java (100%) rename {java-contact-center-insights => owl-bot-staging/java-contact-center-insights/v1}/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/getissuemodel/SyncGetIssueModel.java (100%) rename {java-contact-center-insights => owl-bot-staging/java-contact-center-insights/v1}/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/getissuemodel/SyncGetIssueModelIssuemodelname.java (100%) rename {java-contact-center-insights => owl-bot-staging/java-contact-center-insights/v1}/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/getissuemodel/SyncGetIssueModelString.java (100%) rename {java-contact-center-insights => owl-bot-staging/java-contact-center-insights/v1}/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/getphrasematcher/AsyncGetPhraseMatcher.java (100%) rename {java-contact-center-insights => owl-bot-staging/java-contact-center-insights/v1}/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/getphrasematcher/SyncGetPhraseMatcher.java (100%) rename {java-contact-center-insights => owl-bot-staging/java-contact-center-insights/v1}/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/getphrasematcher/SyncGetPhraseMatcherPhrasematchername.java (100%) rename {java-contact-center-insights => owl-bot-staging/java-contact-center-insights/v1}/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/getphrasematcher/SyncGetPhraseMatcherString.java (100%) rename {java-contact-center-insights => owl-bot-staging/java-contact-center-insights/v1}/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/getsettings/AsyncGetSettings.java (100%) rename {java-contact-center-insights => owl-bot-staging/java-contact-center-insights/v1}/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/getsettings/SyncGetSettings.java (100%) rename {java-contact-center-insights => owl-bot-staging/java-contact-center-insights/v1}/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/getsettings/SyncGetSettingsSettingsname.java (100%) rename {java-contact-center-insights => owl-bot-staging/java-contact-center-insights/v1}/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/getsettings/SyncGetSettingsString.java (100%) rename {java-contact-center-insights => owl-bot-staging/java-contact-center-insights/v1}/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/getview/AsyncGetView.java (100%) rename {java-contact-center-insights => owl-bot-staging/java-contact-center-insights/v1}/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/getview/SyncGetView.java (100%) rename {java-contact-center-insights => owl-bot-staging/java-contact-center-insights/v1}/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/getview/SyncGetViewString.java (100%) rename {java-contact-center-insights => owl-bot-staging/java-contact-center-insights/v1}/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/getview/SyncGetViewViewname.java (100%) rename {java-contact-center-insights => owl-bot-staging/java-contact-center-insights/v1}/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/ingestconversations/AsyncIngestConversations.java (100%) rename {java-contact-center-insights => owl-bot-staging/java-contact-center-insights/v1}/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/ingestconversations/AsyncIngestConversationsLRO.java (100%) rename {java-contact-center-insights => owl-bot-staging/java-contact-center-insights/v1}/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/ingestconversations/SyncIngestConversations.java (100%) rename {java-contact-center-insights => owl-bot-staging/java-contact-center-insights/v1}/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/ingestconversations/SyncIngestConversationsLocationname.java (100%) rename {java-contact-center-insights => owl-bot-staging/java-contact-center-insights/v1}/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/ingestconversations/SyncIngestConversationsString.java (100%) rename {java-contact-center-insights => owl-bot-staging/java-contact-center-insights/v1}/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/listanalyses/AsyncListAnalyses.java (100%) rename {java-contact-center-insights => owl-bot-staging/java-contact-center-insights/v1}/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/listanalyses/AsyncListAnalysesPaged.java (100%) rename {java-contact-center-insights => owl-bot-staging/java-contact-center-insights/v1}/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/listanalyses/SyncListAnalyses.java (100%) rename {java-contact-center-insights => owl-bot-staging/java-contact-center-insights/v1}/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/listanalyses/SyncListAnalysesConversationname.java (100%) rename {java-contact-center-insights => owl-bot-staging/java-contact-center-insights/v1}/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/listanalyses/SyncListAnalysesString.java (100%) rename {java-contact-center-insights => owl-bot-staging/java-contact-center-insights/v1}/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/listconversations/AsyncListConversations.java (100%) rename {java-contact-center-insights => owl-bot-staging/java-contact-center-insights/v1}/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/listconversations/AsyncListConversationsPaged.java (100%) rename {java-contact-center-insights => owl-bot-staging/java-contact-center-insights/v1}/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/listconversations/SyncListConversations.java (100%) rename {java-contact-center-insights => owl-bot-staging/java-contact-center-insights/v1}/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/listconversations/SyncListConversationsLocationname.java (100%) rename {java-contact-center-insights => owl-bot-staging/java-contact-center-insights/v1}/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/listconversations/SyncListConversationsString.java (100%) rename {java-contact-center-insights => owl-bot-staging/java-contact-center-insights/v1}/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/listissuemodels/AsyncListIssueModels.java (100%) rename {java-contact-center-insights => owl-bot-staging/java-contact-center-insights/v1}/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/listissuemodels/SyncListIssueModels.java (100%) rename {java-contact-center-insights => owl-bot-staging/java-contact-center-insights/v1}/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/listissuemodels/SyncListIssueModelsLocationname.java (100%) rename {java-contact-center-insights => owl-bot-staging/java-contact-center-insights/v1}/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/listissuemodels/SyncListIssueModelsString.java (100%) rename {java-contact-center-insights => owl-bot-staging/java-contact-center-insights/v1}/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/listissues/AsyncListIssues.java (100%) rename {java-contact-center-insights => owl-bot-staging/java-contact-center-insights/v1}/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/listissues/SyncListIssues.java (100%) rename {java-contact-center-insights => owl-bot-staging/java-contact-center-insights/v1}/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/listissues/SyncListIssuesIssuemodelname.java (100%) rename {java-contact-center-insights => owl-bot-staging/java-contact-center-insights/v1}/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/listissues/SyncListIssuesString.java (100%) rename {java-contact-center-insights => owl-bot-staging/java-contact-center-insights/v1}/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/listphrasematchers/AsyncListPhraseMatchers.java (100%) rename {java-contact-center-insights => owl-bot-staging/java-contact-center-insights/v1}/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/listphrasematchers/AsyncListPhraseMatchersPaged.java (100%) rename {java-contact-center-insights => owl-bot-staging/java-contact-center-insights/v1}/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/listphrasematchers/SyncListPhraseMatchers.java (100%) rename {java-contact-center-insights => owl-bot-staging/java-contact-center-insights/v1}/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/listphrasematchers/SyncListPhraseMatchersLocationname.java (100%) rename {java-contact-center-insights => owl-bot-staging/java-contact-center-insights/v1}/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/listphrasematchers/SyncListPhraseMatchersString.java (100%) rename {java-contact-center-insights => owl-bot-staging/java-contact-center-insights/v1}/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/listviews/AsyncListViews.java (100%) rename {java-contact-center-insights => owl-bot-staging/java-contact-center-insights/v1}/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/listviews/AsyncListViewsPaged.java (100%) rename {java-contact-center-insights => owl-bot-staging/java-contact-center-insights/v1}/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/listviews/SyncListViews.java (100%) rename {java-contact-center-insights => owl-bot-staging/java-contact-center-insights/v1}/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/listviews/SyncListViewsLocationname.java (100%) rename {java-contact-center-insights => owl-bot-staging/java-contact-center-insights/v1}/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/listviews/SyncListViewsString.java (100%) rename {java-contact-center-insights => owl-bot-staging/java-contact-center-insights/v1}/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/undeployissuemodel/AsyncUndeployIssueModel.java (100%) rename {java-contact-center-insights => owl-bot-staging/java-contact-center-insights/v1}/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/undeployissuemodel/AsyncUndeployIssueModelLRO.java (100%) rename {java-contact-center-insights => owl-bot-staging/java-contact-center-insights/v1}/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/undeployissuemodel/SyncUndeployIssueModel.java (100%) rename {java-contact-center-insights => owl-bot-staging/java-contact-center-insights/v1}/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/undeployissuemodel/SyncUndeployIssueModelIssuemodelname.java (100%) rename {java-contact-center-insights => owl-bot-staging/java-contact-center-insights/v1}/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/undeployissuemodel/SyncUndeployIssueModelString.java (100%) rename {java-contact-center-insights => owl-bot-staging/java-contact-center-insights/v1}/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/updateconversation/AsyncUpdateConversation.java (100%) rename {java-contact-center-insights => owl-bot-staging/java-contact-center-insights/v1}/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/updateconversation/SyncUpdateConversation.java (100%) rename {java-contact-center-insights => owl-bot-staging/java-contact-center-insights/v1}/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/updateconversation/SyncUpdateConversationConversationFieldmask.java (100%) rename {java-contact-center-insights => owl-bot-staging/java-contact-center-insights/v1}/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/updateissue/AsyncUpdateIssue.java (100%) rename {java-contact-center-insights => owl-bot-staging/java-contact-center-insights/v1}/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/updateissue/SyncUpdateIssue.java (100%) rename {java-contact-center-insights => owl-bot-staging/java-contact-center-insights/v1}/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/updateissue/SyncUpdateIssueIssueFieldmask.java (100%) rename {java-contact-center-insights => owl-bot-staging/java-contact-center-insights/v1}/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/updateissuemodel/AsyncUpdateIssueModel.java (100%) rename {java-contact-center-insights => owl-bot-staging/java-contact-center-insights/v1}/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/updateissuemodel/SyncUpdateIssueModel.java (100%) rename {java-contact-center-insights => owl-bot-staging/java-contact-center-insights/v1}/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/updateissuemodel/SyncUpdateIssueModelIssuemodelFieldmask.java (100%) rename {java-contact-center-insights => owl-bot-staging/java-contact-center-insights/v1}/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/updatephrasematcher/AsyncUpdatePhraseMatcher.java (100%) rename {java-contact-center-insights => owl-bot-staging/java-contact-center-insights/v1}/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/updatephrasematcher/SyncUpdatePhraseMatcher.java (100%) rename {java-contact-center-insights => owl-bot-staging/java-contact-center-insights/v1}/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/updatephrasematcher/SyncUpdatePhraseMatcherPhrasematcherFieldmask.java (100%) rename {java-contact-center-insights => owl-bot-staging/java-contact-center-insights/v1}/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/updatesettings/AsyncUpdateSettings.java (100%) rename {java-contact-center-insights => owl-bot-staging/java-contact-center-insights/v1}/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/updatesettings/SyncUpdateSettings.java (100%) rename {java-contact-center-insights => owl-bot-staging/java-contact-center-insights/v1}/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/updatesettings/SyncUpdateSettingsSettingsFieldmask.java (100%) rename {java-contact-center-insights => owl-bot-staging/java-contact-center-insights/v1}/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/updateview/AsyncUpdateView.java (100%) rename {java-contact-center-insights => owl-bot-staging/java-contact-center-insights/v1}/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/updateview/SyncUpdateView.java (100%) rename {java-contact-center-insights => owl-bot-staging/java-contact-center-insights/v1}/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/updateview/SyncUpdateViewViewFieldmask.java (100%) rename {java-contact-center-insights => owl-bot-staging/java-contact-center-insights/v1}/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightssettings/createconversation/SyncCreateConversation.java (100%) rename {java-contact-center-insights => owl-bot-staging/java-contact-center-insights/v1}/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/stub/contactcenterinsightsstubsettings/createconversation/SyncCreateConversation.java (100%) diff --git a/java-contact-center-insights/grpc-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ContactCenterInsightsGrpc.java b/java-contact-center-insights/grpc-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ContactCenterInsightsGrpc.java deleted file mode 100644 index 5d2dbc4899d6..000000000000 --- a/java-contact-center-insights/grpc-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ContactCenterInsightsGrpc.java +++ /dev/null @@ -1,4709 +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 - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "CreateConversation")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.contactcenterinsights.v1.CreateConversationRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.contactcenterinsights.v1.Conversation - .getDefaultInstance())) - .setSchemaDescriptor( - new ContactCenterInsightsMethodDescriptorSupplier("CreateConversation")) - .build(); - } - } - } - return getCreateConversationMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.cloud.contactcenterinsights.v1.UpdateConversationRequest, - com.google.cloud.contactcenterinsights.v1.Conversation> - getUpdateConversationMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "UpdateConversation", - requestType = com.google.cloud.contactcenterinsights.v1.UpdateConversationRequest.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.UpdateConversationRequest, - com.google.cloud.contactcenterinsights.v1.Conversation> - getUpdateConversationMethod() { - io.grpc.MethodDescriptor< - com.google.cloud.contactcenterinsights.v1.UpdateConversationRequest, - com.google.cloud.contactcenterinsights.v1.Conversation> - getUpdateConversationMethod; - if ((getUpdateConversationMethod = ContactCenterInsightsGrpc.getUpdateConversationMethod) - == null) { - synchronized (ContactCenterInsightsGrpc.class) { - if ((getUpdateConversationMethod = ContactCenterInsightsGrpc.getUpdateConversationMethod) - == null) { - ContactCenterInsightsGrpc.getUpdateConversationMethod = - getUpdateConversationMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "UpdateConversation")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.contactcenterinsights.v1.UpdateConversationRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.contactcenterinsights.v1.Conversation - .getDefaultInstance())) - .setSchemaDescriptor( - new ContactCenterInsightsMethodDescriptorSupplier("UpdateConversation")) - .build(); - } - } - } - return getUpdateConversationMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.cloud.contactcenterinsights.v1.GetConversationRequest, - com.google.cloud.contactcenterinsights.v1.Conversation> - getGetConversationMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "GetConversation", - requestType = com.google.cloud.contactcenterinsights.v1.GetConversationRequest.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.GetConversationRequest, - com.google.cloud.contactcenterinsights.v1.Conversation> - getGetConversationMethod() { - io.grpc.MethodDescriptor< - com.google.cloud.contactcenterinsights.v1.GetConversationRequest, - com.google.cloud.contactcenterinsights.v1.Conversation> - getGetConversationMethod; - if ((getGetConversationMethod = ContactCenterInsightsGrpc.getGetConversationMethod) == null) { - synchronized (ContactCenterInsightsGrpc.class) { - if ((getGetConversationMethod = ContactCenterInsightsGrpc.getGetConversationMethod) - == null) { - ContactCenterInsightsGrpc.getGetConversationMethod = - getGetConversationMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetConversation")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.contactcenterinsights.v1.GetConversationRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.contactcenterinsights.v1.Conversation - .getDefaultInstance())) - .setSchemaDescriptor( - new ContactCenterInsightsMethodDescriptorSupplier("GetConversation")) - .build(); - } - } - } - return getGetConversationMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.cloud.contactcenterinsights.v1.ListConversationsRequest, - com.google.cloud.contactcenterinsights.v1.ListConversationsResponse> - getListConversationsMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "ListConversations", - requestType = com.google.cloud.contactcenterinsights.v1.ListConversationsRequest.class, - responseType = com.google.cloud.contactcenterinsights.v1.ListConversationsResponse.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.cloud.contactcenterinsights.v1.ListConversationsRequest, - com.google.cloud.contactcenterinsights.v1.ListConversationsResponse> - getListConversationsMethod() { - io.grpc.MethodDescriptor< - com.google.cloud.contactcenterinsights.v1.ListConversationsRequest, - com.google.cloud.contactcenterinsights.v1.ListConversationsResponse> - getListConversationsMethod; - if ((getListConversationsMethod = ContactCenterInsightsGrpc.getListConversationsMethod) - == null) { - synchronized (ContactCenterInsightsGrpc.class) { - if ((getListConversationsMethod = ContactCenterInsightsGrpc.getListConversationsMethod) - == null) { - ContactCenterInsightsGrpc.getListConversationsMethod = - getListConversationsMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListConversations")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.contactcenterinsights.v1.ListConversationsRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.contactcenterinsights.v1.ListConversationsResponse - .getDefaultInstance())) - .setSchemaDescriptor( - new ContactCenterInsightsMethodDescriptorSupplier("ListConversations")) - .build(); - } - } - } - return getListConversationsMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.cloud.contactcenterinsights.v1.DeleteConversationRequest, - com.google.protobuf.Empty> - getDeleteConversationMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "DeleteConversation", - requestType = com.google.cloud.contactcenterinsights.v1.DeleteConversationRequest.class, - responseType = com.google.protobuf.Empty.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.cloud.contactcenterinsights.v1.DeleteConversationRequest, - com.google.protobuf.Empty> - getDeleteConversationMethod() { - io.grpc.MethodDescriptor< - com.google.cloud.contactcenterinsights.v1.DeleteConversationRequest, - com.google.protobuf.Empty> - getDeleteConversationMethod; - if ((getDeleteConversationMethod = ContactCenterInsightsGrpc.getDeleteConversationMethod) - == null) { - synchronized (ContactCenterInsightsGrpc.class) { - if ((getDeleteConversationMethod = ContactCenterInsightsGrpc.getDeleteConversationMethod) - == null) { - ContactCenterInsightsGrpc.getDeleteConversationMethod = - getDeleteConversationMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "DeleteConversation")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.contactcenterinsights.v1.DeleteConversationRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.protobuf.Empty.getDefaultInstance())) - .setSchemaDescriptor( - new ContactCenterInsightsMethodDescriptorSupplier("DeleteConversation")) - .build(); - } - } - } - return getDeleteConversationMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.cloud.contactcenterinsights.v1.CreateAnalysisRequest, - com.google.longrunning.Operation> - getCreateAnalysisMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "CreateAnalysis", - requestType = com.google.cloud.contactcenterinsights.v1.CreateAnalysisRequest.class, - responseType = com.google.longrunning.Operation.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.cloud.contactcenterinsights.v1.CreateAnalysisRequest, - com.google.longrunning.Operation> - getCreateAnalysisMethod() { - io.grpc.MethodDescriptor< - com.google.cloud.contactcenterinsights.v1.CreateAnalysisRequest, - com.google.longrunning.Operation> - getCreateAnalysisMethod; - if ((getCreateAnalysisMethod = ContactCenterInsightsGrpc.getCreateAnalysisMethod) == null) { - synchronized (ContactCenterInsightsGrpc.class) { - if ((getCreateAnalysisMethod = ContactCenterInsightsGrpc.getCreateAnalysisMethod) == null) { - ContactCenterInsightsGrpc.getCreateAnalysisMethod = - getCreateAnalysisMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "CreateAnalysis")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.contactcenterinsights.v1.CreateAnalysisRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.longrunning.Operation.getDefaultInstance())) - .setSchemaDescriptor( - new ContactCenterInsightsMethodDescriptorSupplier("CreateAnalysis")) - .build(); - } - } - } - return getCreateAnalysisMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.cloud.contactcenterinsights.v1.GetAnalysisRequest, - com.google.cloud.contactcenterinsights.v1.Analysis> - getGetAnalysisMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "GetAnalysis", - requestType = com.google.cloud.contactcenterinsights.v1.GetAnalysisRequest.class, - responseType = com.google.cloud.contactcenterinsights.v1.Analysis.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.cloud.contactcenterinsights.v1.GetAnalysisRequest, - com.google.cloud.contactcenterinsights.v1.Analysis> - getGetAnalysisMethod() { - io.grpc.MethodDescriptor< - com.google.cloud.contactcenterinsights.v1.GetAnalysisRequest, - com.google.cloud.contactcenterinsights.v1.Analysis> - getGetAnalysisMethod; - if ((getGetAnalysisMethod = ContactCenterInsightsGrpc.getGetAnalysisMethod) == null) { - synchronized (ContactCenterInsightsGrpc.class) { - if ((getGetAnalysisMethod = ContactCenterInsightsGrpc.getGetAnalysisMethod) == null) { - ContactCenterInsightsGrpc.getGetAnalysisMethod = - getGetAnalysisMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetAnalysis")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.contactcenterinsights.v1.GetAnalysisRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.contactcenterinsights.v1.Analysis - .getDefaultInstance())) - .setSchemaDescriptor( - new ContactCenterInsightsMethodDescriptorSupplier("GetAnalysis")) - .build(); - } - } - } - return getGetAnalysisMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.cloud.contactcenterinsights.v1.ListAnalysesRequest, - com.google.cloud.contactcenterinsights.v1.ListAnalysesResponse> - getListAnalysesMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "ListAnalyses", - requestType = com.google.cloud.contactcenterinsights.v1.ListAnalysesRequest.class, - responseType = com.google.cloud.contactcenterinsights.v1.ListAnalysesResponse.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.cloud.contactcenterinsights.v1.ListAnalysesRequest, - com.google.cloud.contactcenterinsights.v1.ListAnalysesResponse> - getListAnalysesMethod() { - io.grpc.MethodDescriptor< - com.google.cloud.contactcenterinsights.v1.ListAnalysesRequest, - com.google.cloud.contactcenterinsights.v1.ListAnalysesResponse> - getListAnalysesMethod; - if ((getListAnalysesMethod = ContactCenterInsightsGrpc.getListAnalysesMethod) == null) { - synchronized (ContactCenterInsightsGrpc.class) { - if ((getListAnalysesMethod = ContactCenterInsightsGrpc.getListAnalysesMethod) == null) { - ContactCenterInsightsGrpc.getListAnalysesMethod = - getListAnalysesMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListAnalyses")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.contactcenterinsights.v1.ListAnalysesRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.contactcenterinsights.v1.ListAnalysesResponse - .getDefaultInstance())) - .setSchemaDescriptor( - new ContactCenterInsightsMethodDescriptorSupplier("ListAnalyses")) - .build(); - } - } - } - return getListAnalysesMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.cloud.contactcenterinsights.v1.DeleteAnalysisRequest, - com.google.protobuf.Empty> - getDeleteAnalysisMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "DeleteAnalysis", - requestType = com.google.cloud.contactcenterinsights.v1.DeleteAnalysisRequest.class, - responseType = com.google.protobuf.Empty.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.cloud.contactcenterinsights.v1.DeleteAnalysisRequest, - com.google.protobuf.Empty> - getDeleteAnalysisMethod() { - io.grpc.MethodDescriptor< - com.google.cloud.contactcenterinsights.v1.DeleteAnalysisRequest, - com.google.protobuf.Empty> - getDeleteAnalysisMethod; - if ((getDeleteAnalysisMethod = ContactCenterInsightsGrpc.getDeleteAnalysisMethod) == null) { - synchronized (ContactCenterInsightsGrpc.class) { - if ((getDeleteAnalysisMethod = ContactCenterInsightsGrpc.getDeleteAnalysisMethod) == null) { - ContactCenterInsightsGrpc.getDeleteAnalysisMethod = - getDeleteAnalysisMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "DeleteAnalysis")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.contactcenterinsights.v1.DeleteAnalysisRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.protobuf.Empty.getDefaultInstance())) - .setSchemaDescriptor( - new ContactCenterInsightsMethodDescriptorSupplier("DeleteAnalysis")) - .build(); - } - } - } - return getDeleteAnalysisMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.cloud.contactcenterinsights.v1.BulkAnalyzeConversationsRequest, - com.google.longrunning.Operation> - getBulkAnalyzeConversationsMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "BulkAnalyzeConversations", - requestType = com.google.cloud.contactcenterinsights.v1.BulkAnalyzeConversationsRequest.class, - responseType = com.google.longrunning.Operation.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.cloud.contactcenterinsights.v1.BulkAnalyzeConversationsRequest, - com.google.longrunning.Operation> - getBulkAnalyzeConversationsMethod() { - io.grpc.MethodDescriptor< - com.google.cloud.contactcenterinsights.v1.BulkAnalyzeConversationsRequest, - com.google.longrunning.Operation> - getBulkAnalyzeConversationsMethod; - if ((getBulkAnalyzeConversationsMethod = - ContactCenterInsightsGrpc.getBulkAnalyzeConversationsMethod) - == null) { - synchronized (ContactCenterInsightsGrpc.class) { - if ((getBulkAnalyzeConversationsMethod = - ContactCenterInsightsGrpc.getBulkAnalyzeConversationsMethod) - == null) { - ContactCenterInsightsGrpc.getBulkAnalyzeConversationsMethod = - getBulkAnalyzeConversationsMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName( - generateFullMethodName(SERVICE_NAME, "BulkAnalyzeConversations")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.contactcenterinsights.v1 - .BulkAnalyzeConversationsRequest.getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.longrunning.Operation.getDefaultInstance())) - .setSchemaDescriptor( - new ContactCenterInsightsMethodDescriptorSupplier( - "BulkAnalyzeConversations")) - .build(); - } - } - } - return getBulkAnalyzeConversationsMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest, - com.google.longrunning.Operation> - getIngestConversationsMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "IngestConversations", - requestType = com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest.class, - responseType = com.google.longrunning.Operation.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest, - com.google.longrunning.Operation> - getIngestConversationsMethod() { - io.grpc.MethodDescriptor< - com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest, - com.google.longrunning.Operation> - getIngestConversationsMethod; - if ((getIngestConversationsMethod = ContactCenterInsightsGrpc.getIngestConversationsMethod) - == null) { - synchronized (ContactCenterInsightsGrpc.class) { - if ((getIngestConversationsMethod = ContactCenterInsightsGrpc.getIngestConversationsMethod) - == null) { - ContactCenterInsightsGrpc.getIngestConversationsMethod = - getIngestConversationsMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName( - generateFullMethodName(SERVICE_NAME, "IngestConversations")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.longrunning.Operation.getDefaultInstance())) - .setSchemaDescriptor( - new ContactCenterInsightsMethodDescriptorSupplier("IngestConversations")) - .build(); - } - } - } - return getIngestConversationsMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.cloud.contactcenterinsights.v1.ExportInsightsDataRequest, - com.google.longrunning.Operation> - getExportInsightsDataMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "ExportInsightsData", - requestType = com.google.cloud.contactcenterinsights.v1.ExportInsightsDataRequest.class, - responseType = com.google.longrunning.Operation.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.cloud.contactcenterinsights.v1.ExportInsightsDataRequest, - com.google.longrunning.Operation> - getExportInsightsDataMethod() { - io.grpc.MethodDescriptor< - com.google.cloud.contactcenterinsights.v1.ExportInsightsDataRequest, - com.google.longrunning.Operation> - getExportInsightsDataMethod; - if ((getExportInsightsDataMethod = ContactCenterInsightsGrpc.getExportInsightsDataMethod) - == null) { - synchronized (ContactCenterInsightsGrpc.class) { - if ((getExportInsightsDataMethod = ContactCenterInsightsGrpc.getExportInsightsDataMethod) - == null) { - ContactCenterInsightsGrpc.getExportInsightsDataMethod = - getExportInsightsDataMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ExportInsightsData")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.contactcenterinsights.v1.ExportInsightsDataRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.longrunning.Operation.getDefaultInstance())) - .setSchemaDescriptor( - new ContactCenterInsightsMethodDescriptorSupplier("ExportInsightsData")) - .build(); - } - } - } - return getExportInsightsDataMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.cloud.contactcenterinsights.v1.CreateIssueModelRequest, - com.google.longrunning.Operation> - getCreateIssueModelMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "CreateIssueModel", - requestType = com.google.cloud.contactcenterinsights.v1.CreateIssueModelRequest.class, - responseType = com.google.longrunning.Operation.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.cloud.contactcenterinsights.v1.CreateIssueModelRequest, - com.google.longrunning.Operation> - getCreateIssueModelMethod() { - io.grpc.MethodDescriptor< - com.google.cloud.contactcenterinsights.v1.CreateIssueModelRequest, - com.google.longrunning.Operation> - getCreateIssueModelMethod; - if ((getCreateIssueModelMethod = ContactCenterInsightsGrpc.getCreateIssueModelMethod) == null) { - synchronized (ContactCenterInsightsGrpc.class) { - if ((getCreateIssueModelMethod = ContactCenterInsightsGrpc.getCreateIssueModelMethod) - == null) { - ContactCenterInsightsGrpc.getCreateIssueModelMethod = - getCreateIssueModelMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "CreateIssueModel")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.contactcenterinsights.v1.CreateIssueModelRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.longrunning.Operation.getDefaultInstance())) - .setSchemaDescriptor( - new ContactCenterInsightsMethodDescriptorSupplier("CreateIssueModel")) - .build(); - } - } - } - return getCreateIssueModelMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.cloud.contactcenterinsights.v1.UpdateIssueModelRequest, - com.google.cloud.contactcenterinsights.v1.IssueModel> - getUpdateIssueModelMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "UpdateIssueModel", - requestType = com.google.cloud.contactcenterinsights.v1.UpdateIssueModelRequest.class, - responseType = com.google.cloud.contactcenterinsights.v1.IssueModel.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.cloud.contactcenterinsights.v1.UpdateIssueModelRequest, - com.google.cloud.contactcenterinsights.v1.IssueModel> - getUpdateIssueModelMethod() { - io.grpc.MethodDescriptor< - com.google.cloud.contactcenterinsights.v1.UpdateIssueModelRequest, - com.google.cloud.contactcenterinsights.v1.IssueModel> - getUpdateIssueModelMethod; - if ((getUpdateIssueModelMethod = ContactCenterInsightsGrpc.getUpdateIssueModelMethod) == null) { - synchronized (ContactCenterInsightsGrpc.class) { - if ((getUpdateIssueModelMethod = ContactCenterInsightsGrpc.getUpdateIssueModelMethod) - == null) { - ContactCenterInsightsGrpc.getUpdateIssueModelMethod = - getUpdateIssueModelMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "UpdateIssueModel")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.contactcenterinsights.v1.UpdateIssueModelRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.contactcenterinsights.v1.IssueModel - .getDefaultInstance())) - .setSchemaDescriptor( - new ContactCenterInsightsMethodDescriptorSupplier("UpdateIssueModel")) - .build(); - } - } - } - return getUpdateIssueModelMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.cloud.contactcenterinsights.v1.GetIssueModelRequest, - com.google.cloud.contactcenterinsights.v1.IssueModel> - getGetIssueModelMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "GetIssueModel", - requestType = com.google.cloud.contactcenterinsights.v1.GetIssueModelRequest.class, - responseType = com.google.cloud.contactcenterinsights.v1.IssueModel.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.cloud.contactcenterinsights.v1.GetIssueModelRequest, - com.google.cloud.contactcenterinsights.v1.IssueModel> - getGetIssueModelMethod() { - io.grpc.MethodDescriptor< - com.google.cloud.contactcenterinsights.v1.GetIssueModelRequest, - com.google.cloud.contactcenterinsights.v1.IssueModel> - getGetIssueModelMethod; - if ((getGetIssueModelMethod = ContactCenterInsightsGrpc.getGetIssueModelMethod) == null) { - synchronized (ContactCenterInsightsGrpc.class) { - if ((getGetIssueModelMethod = ContactCenterInsightsGrpc.getGetIssueModelMethod) == null) { - ContactCenterInsightsGrpc.getGetIssueModelMethod = - getGetIssueModelMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetIssueModel")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.contactcenterinsights.v1.GetIssueModelRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.contactcenterinsights.v1.IssueModel - .getDefaultInstance())) - .setSchemaDescriptor( - new ContactCenterInsightsMethodDescriptorSupplier("GetIssueModel")) - .build(); - } - } - } - return getGetIssueModelMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.cloud.contactcenterinsights.v1.ListIssueModelsRequest, - com.google.cloud.contactcenterinsights.v1.ListIssueModelsResponse> - getListIssueModelsMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "ListIssueModels", - requestType = com.google.cloud.contactcenterinsights.v1.ListIssueModelsRequest.class, - responseType = com.google.cloud.contactcenterinsights.v1.ListIssueModelsResponse.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.cloud.contactcenterinsights.v1.ListIssueModelsRequest, - com.google.cloud.contactcenterinsights.v1.ListIssueModelsResponse> - getListIssueModelsMethod() { - io.grpc.MethodDescriptor< - com.google.cloud.contactcenterinsights.v1.ListIssueModelsRequest, - com.google.cloud.contactcenterinsights.v1.ListIssueModelsResponse> - getListIssueModelsMethod; - if ((getListIssueModelsMethod = ContactCenterInsightsGrpc.getListIssueModelsMethod) == null) { - synchronized (ContactCenterInsightsGrpc.class) { - if ((getListIssueModelsMethod = ContactCenterInsightsGrpc.getListIssueModelsMethod) - == null) { - ContactCenterInsightsGrpc.getListIssueModelsMethod = - getListIssueModelsMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListIssueModels")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.contactcenterinsights.v1.ListIssueModelsRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.contactcenterinsights.v1.ListIssueModelsResponse - .getDefaultInstance())) - .setSchemaDescriptor( - new ContactCenterInsightsMethodDescriptorSupplier("ListIssueModels")) - .build(); - } - } - } - return getListIssueModelsMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.cloud.contactcenterinsights.v1.DeleteIssueModelRequest, - com.google.longrunning.Operation> - getDeleteIssueModelMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "DeleteIssueModel", - requestType = com.google.cloud.contactcenterinsights.v1.DeleteIssueModelRequest.class, - responseType = com.google.longrunning.Operation.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.cloud.contactcenterinsights.v1.DeleteIssueModelRequest, - com.google.longrunning.Operation> - getDeleteIssueModelMethod() { - io.grpc.MethodDescriptor< - com.google.cloud.contactcenterinsights.v1.DeleteIssueModelRequest, - com.google.longrunning.Operation> - getDeleteIssueModelMethod; - if ((getDeleteIssueModelMethod = ContactCenterInsightsGrpc.getDeleteIssueModelMethod) == null) { - synchronized (ContactCenterInsightsGrpc.class) { - if ((getDeleteIssueModelMethod = ContactCenterInsightsGrpc.getDeleteIssueModelMethod) - == null) { - ContactCenterInsightsGrpc.getDeleteIssueModelMethod = - getDeleteIssueModelMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "DeleteIssueModel")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.contactcenterinsights.v1.DeleteIssueModelRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.longrunning.Operation.getDefaultInstance())) - .setSchemaDescriptor( - new ContactCenterInsightsMethodDescriptorSupplier("DeleteIssueModel")) - .build(); - } - } - } - return getDeleteIssueModelMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.cloud.contactcenterinsights.v1.DeployIssueModelRequest, - com.google.longrunning.Operation> - getDeployIssueModelMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "DeployIssueModel", - requestType = com.google.cloud.contactcenterinsights.v1.DeployIssueModelRequest.class, - responseType = com.google.longrunning.Operation.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.cloud.contactcenterinsights.v1.DeployIssueModelRequest, - com.google.longrunning.Operation> - getDeployIssueModelMethod() { - io.grpc.MethodDescriptor< - com.google.cloud.contactcenterinsights.v1.DeployIssueModelRequest, - com.google.longrunning.Operation> - getDeployIssueModelMethod; - if ((getDeployIssueModelMethod = ContactCenterInsightsGrpc.getDeployIssueModelMethod) == null) { - synchronized (ContactCenterInsightsGrpc.class) { - if ((getDeployIssueModelMethod = ContactCenterInsightsGrpc.getDeployIssueModelMethod) - == null) { - ContactCenterInsightsGrpc.getDeployIssueModelMethod = - getDeployIssueModelMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "DeployIssueModel")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.contactcenterinsights.v1.DeployIssueModelRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.longrunning.Operation.getDefaultInstance())) - .setSchemaDescriptor( - new ContactCenterInsightsMethodDescriptorSupplier("DeployIssueModel")) - .build(); - } - } - } - return getDeployIssueModelMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.cloud.contactcenterinsights.v1.UndeployIssueModelRequest, - com.google.longrunning.Operation> - getUndeployIssueModelMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "UndeployIssueModel", - requestType = com.google.cloud.contactcenterinsights.v1.UndeployIssueModelRequest.class, - responseType = com.google.longrunning.Operation.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.cloud.contactcenterinsights.v1.UndeployIssueModelRequest, - com.google.longrunning.Operation> - getUndeployIssueModelMethod() { - io.grpc.MethodDescriptor< - com.google.cloud.contactcenterinsights.v1.UndeployIssueModelRequest, - com.google.longrunning.Operation> - getUndeployIssueModelMethod; - if ((getUndeployIssueModelMethod = ContactCenterInsightsGrpc.getUndeployIssueModelMethod) - == null) { - synchronized (ContactCenterInsightsGrpc.class) { - if ((getUndeployIssueModelMethod = ContactCenterInsightsGrpc.getUndeployIssueModelMethod) - == null) { - ContactCenterInsightsGrpc.getUndeployIssueModelMethod = - getUndeployIssueModelMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "UndeployIssueModel")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.contactcenterinsights.v1.UndeployIssueModelRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.longrunning.Operation.getDefaultInstance())) - .setSchemaDescriptor( - new ContactCenterInsightsMethodDescriptorSupplier("UndeployIssueModel")) - .build(); - } - } - } - return getUndeployIssueModelMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.cloud.contactcenterinsights.v1.GetIssueRequest, - com.google.cloud.contactcenterinsights.v1.Issue> - getGetIssueMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "GetIssue", - requestType = com.google.cloud.contactcenterinsights.v1.GetIssueRequest.class, - responseType = com.google.cloud.contactcenterinsights.v1.Issue.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.cloud.contactcenterinsights.v1.GetIssueRequest, - com.google.cloud.contactcenterinsights.v1.Issue> - getGetIssueMethod() { - io.grpc.MethodDescriptor< - com.google.cloud.contactcenterinsights.v1.GetIssueRequest, - com.google.cloud.contactcenterinsights.v1.Issue> - getGetIssueMethod; - if ((getGetIssueMethod = ContactCenterInsightsGrpc.getGetIssueMethod) == null) { - synchronized (ContactCenterInsightsGrpc.class) { - if ((getGetIssueMethod = ContactCenterInsightsGrpc.getGetIssueMethod) == null) { - ContactCenterInsightsGrpc.getGetIssueMethod = - getGetIssueMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetIssue")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.contactcenterinsights.v1.GetIssueRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.contactcenterinsights.v1.Issue.getDefaultInstance())) - .setSchemaDescriptor( - new ContactCenterInsightsMethodDescriptorSupplier("GetIssue")) - .build(); - } - } - } - return getGetIssueMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.cloud.contactcenterinsights.v1.ListIssuesRequest, - com.google.cloud.contactcenterinsights.v1.ListIssuesResponse> - getListIssuesMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "ListIssues", - requestType = com.google.cloud.contactcenterinsights.v1.ListIssuesRequest.class, - responseType = com.google.cloud.contactcenterinsights.v1.ListIssuesResponse.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.cloud.contactcenterinsights.v1.ListIssuesRequest, - com.google.cloud.contactcenterinsights.v1.ListIssuesResponse> - getListIssuesMethod() { - io.grpc.MethodDescriptor< - com.google.cloud.contactcenterinsights.v1.ListIssuesRequest, - com.google.cloud.contactcenterinsights.v1.ListIssuesResponse> - getListIssuesMethod; - if ((getListIssuesMethod = ContactCenterInsightsGrpc.getListIssuesMethod) == null) { - synchronized (ContactCenterInsightsGrpc.class) { - if ((getListIssuesMethod = ContactCenterInsightsGrpc.getListIssuesMethod) == null) { - ContactCenterInsightsGrpc.getListIssuesMethod = - getListIssuesMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListIssues")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.contactcenterinsights.v1.ListIssuesRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.contactcenterinsights.v1.ListIssuesResponse - .getDefaultInstance())) - .setSchemaDescriptor( - new ContactCenterInsightsMethodDescriptorSupplier("ListIssues")) - .build(); - } - } - } - return getListIssuesMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.cloud.contactcenterinsights.v1.UpdateIssueRequest, - com.google.cloud.contactcenterinsights.v1.Issue> - getUpdateIssueMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "UpdateIssue", - requestType = com.google.cloud.contactcenterinsights.v1.UpdateIssueRequest.class, - responseType = com.google.cloud.contactcenterinsights.v1.Issue.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.cloud.contactcenterinsights.v1.UpdateIssueRequest, - com.google.cloud.contactcenterinsights.v1.Issue> - getUpdateIssueMethod() { - io.grpc.MethodDescriptor< - com.google.cloud.contactcenterinsights.v1.UpdateIssueRequest, - com.google.cloud.contactcenterinsights.v1.Issue> - getUpdateIssueMethod; - if ((getUpdateIssueMethod = ContactCenterInsightsGrpc.getUpdateIssueMethod) == null) { - synchronized (ContactCenterInsightsGrpc.class) { - if ((getUpdateIssueMethod = ContactCenterInsightsGrpc.getUpdateIssueMethod) == null) { - ContactCenterInsightsGrpc.getUpdateIssueMethod = - getUpdateIssueMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "UpdateIssue")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.contactcenterinsights.v1.UpdateIssueRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.contactcenterinsights.v1.Issue.getDefaultInstance())) - .setSchemaDescriptor( - new ContactCenterInsightsMethodDescriptorSupplier("UpdateIssue")) - .build(); - } - } - } - return getUpdateIssueMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.cloud.contactcenterinsights.v1.DeleteIssueRequest, com.google.protobuf.Empty> - getDeleteIssueMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "DeleteIssue", - requestType = com.google.cloud.contactcenterinsights.v1.DeleteIssueRequest.class, - responseType = com.google.protobuf.Empty.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.cloud.contactcenterinsights.v1.DeleteIssueRequest, com.google.protobuf.Empty> - getDeleteIssueMethod() { - io.grpc.MethodDescriptor< - com.google.cloud.contactcenterinsights.v1.DeleteIssueRequest, com.google.protobuf.Empty> - getDeleteIssueMethod; - if ((getDeleteIssueMethod = ContactCenterInsightsGrpc.getDeleteIssueMethod) == null) { - synchronized (ContactCenterInsightsGrpc.class) { - if ((getDeleteIssueMethod = ContactCenterInsightsGrpc.getDeleteIssueMethod) == null) { - ContactCenterInsightsGrpc.getDeleteIssueMethod = - getDeleteIssueMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "DeleteIssue")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.contactcenterinsights.v1.DeleteIssueRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.protobuf.Empty.getDefaultInstance())) - .setSchemaDescriptor( - new ContactCenterInsightsMethodDescriptorSupplier("DeleteIssue")) - .build(); - } - } - } - return getDeleteIssueMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.cloud.contactcenterinsights.v1.CalculateIssueModelStatsRequest, - com.google.cloud.contactcenterinsights.v1.CalculateIssueModelStatsResponse> - getCalculateIssueModelStatsMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "CalculateIssueModelStats", - requestType = com.google.cloud.contactcenterinsights.v1.CalculateIssueModelStatsRequest.class, - responseType = - com.google.cloud.contactcenterinsights.v1.CalculateIssueModelStatsResponse.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.cloud.contactcenterinsights.v1.CalculateIssueModelStatsRequest, - com.google.cloud.contactcenterinsights.v1.CalculateIssueModelStatsResponse> - getCalculateIssueModelStatsMethod() { - io.grpc.MethodDescriptor< - com.google.cloud.contactcenterinsights.v1.CalculateIssueModelStatsRequest, - com.google.cloud.contactcenterinsights.v1.CalculateIssueModelStatsResponse> - getCalculateIssueModelStatsMethod; - if ((getCalculateIssueModelStatsMethod = - ContactCenterInsightsGrpc.getCalculateIssueModelStatsMethod) - == null) { - synchronized (ContactCenterInsightsGrpc.class) { - if ((getCalculateIssueModelStatsMethod = - ContactCenterInsightsGrpc.getCalculateIssueModelStatsMethod) - == null) { - ContactCenterInsightsGrpc.getCalculateIssueModelStatsMethod = - getCalculateIssueModelStatsMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName( - generateFullMethodName(SERVICE_NAME, "CalculateIssueModelStats")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.contactcenterinsights.v1 - .CalculateIssueModelStatsRequest.getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.contactcenterinsights.v1 - .CalculateIssueModelStatsResponse.getDefaultInstance())) - .setSchemaDescriptor( - new ContactCenterInsightsMethodDescriptorSupplier( - "CalculateIssueModelStats")) - .build(); - } - } - } - return getCalculateIssueModelStatsMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.cloud.contactcenterinsights.v1.CreatePhraseMatcherRequest, - com.google.cloud.contactcenterinsights.v1.PhraseMatcher> - getCreatePhraseMatcherMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "CreatePhraseMatcher", - requestType = com.google.cloud.contactcenterinsights.v1.CreatePhraseMatcherRequest.class, - responseType = com.google.cloud.contactcenterinsights.v1.PhraseMatcher.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.cloud.contactcenterinsights.v1.CreatePhraseMatcherRequest, - com.google.cloud.contactcenterinsights.v1.PhraseMatcher> - getCreatePhraseMatcherMethod() { - io.grpc.MethodDescriptor< - com.google.cloud.contactcenterinsights.v1.CreatePhraseMatcherRequest, - com.google.cloud.contactcenterinsights.v1.PhraseMatcher> - getCreatePhraseMatcherMethod; - if ((getCreatePhraseMatcherMethod = ContactCenterInsightsGrpc.getCreatePhraseMatcherMethod) - == null) { - synchronized (ContactCenterInsightsGrpc.class) { - if ((getCreatePhraseMatcherMethod = ContactCenterInsightsGrpc.getCreatePhraseMatcherMethod) - == null) { - ContactCenterInsightsGrpc.getCreatePhraseMatcherMethod = - getCreatePhraseMatcherMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName( - generateFullMethodName(SERVICE_NAME, "CreatePhraseMatcher")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.contactcenterinsights.v1.CreatePhraseMatcherRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.contactcenterinsights.v1.PhraseMatcher - .getDefaultInstance())) - .setSchemaDescriptor( - new ContactCenterInsightsMethodDescriptorSupplier("CreatePhraseMatcher")) - .build(); - } - } - } - return getCreatePhraseMatcherMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.cloud.contactcenterinsights.v1.GetPhraseMatcherRequest, - com.google.cloud.contactcenterinsights.v1.PhraseMatcher> - getGetPhraseMatcherMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "GetPhraseMatcher", - requestType = com.google.cloud.contactcenterinsights.v1.GetPhraseMatcherRequest.class, - responseType = com.google.cloud.contactcenterinsights.v1.PhraseMatcher.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.cloud.contactcenterinsights.v1.GetPhraseMatcherRequest, - com.google.cloud.contactcenterinsights.v1.PhraseMatcher> - getGetPhraseMatcherMethod() { - io.grpc.MethodDescriptor< - com.google.cloud.contactcenterinsights.v1.GetPhraseMatcherRequest, - com.google.cloud.contactcenterinsights.v1.PhraseMatcher> - getGetPhraseMatcherMethod; - if ((getGetPhraseMatcherMethod = ContactCenterInsightsGrpc.getGetPhraseMatcherMethod) == null) { - synchronized (ContactCenterInsightsGrpc.class) { - if ((getGetPhraseMatcherMethod = ContactCenterInsightsGrpc.getGetPhraseMatcherMethod) - == null) { - ContactCenterInsightsGrpc.getGetPhraseMatcherMethod = - getGetPhraseMatcherMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetPhraseMatcher")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.contactcenterinsights.v1.GetPhraseMatcherRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.contactcenterinsights.v1.PhraseMatcher - .getDefaultInstance())) - .setSchemaDescriptor( - new ContactCenterInsightsMethodDescriptorSupplier("GetPhraseMatcher")) - .build(); - } - } - } - return getGetPhraseMatcherMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.cloud.contactcenterinsights.v1.ListPhraseMatchersRequest, - com.google.cloud.contactcenterinsights.v1.ListPhraseMatchersResponse> - getListPhraseMatchersMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "ListPhraseMatchers", - requestType = com.google.cloud.contactcenterinsights.v1.ListPhraseMatchersRequest.class, - responseType = com.google.cloud.contactcenterinsights.v1.ListPhraseMatchersResponse.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.cloud.contactcenterinsights.v1.ListPhraseMatchersRequest, - com.google.cloud.contactcenterinsights.v1.ListPhraseMatchersResponse> - getListPhraseMatchersMethod() { - io.grpc.MethodDescriptor< - com.google.cloud.contactcenterinsights.v1.ListPhraseMatchersRequest, - com.google.cloud.contactcenterinsights.v1.ListPhraseMatchersResponse> - getListPhraseMatchersMethod; - if ((getListPhraseMatchersMethod = ContactCenterInsightsGrpc.getListPhraseMatchersMethod) - == null) { - synchronized (ContactCenterInsightsGrpc.class) { - if ((getListPhraseMatchersMethod = ContactCenterInsightsGrpc.getListPhraseMatchersMethod) - == null) { - ContactCenterInsightsGrpc.getListPhraseMatchersMethod = - getListPhraseMatchersMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListPhraseMatchers")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.contactcenterinsights.v1.ListPhraseMatchersRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.contactcenterinsights.v1.ListPhraseMatchersResponse - .getDefaultInstance())) - .setSchemaDescriptor( - new ContactCenterInsightsMethodDescriptorSupplier("ListPhraseMatchers")) - .build(); - } - } - } - return getListPhraseMatchersMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.cloud.contactcenterinsights.v1.DeletePhraseMatcherRequest, - com.google.protobuf.Empty> - getDeletePhraseMatcherMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "DeletePhraseMatcher", - requestType = com.google.cloud.contactcenterinsights.v1.DeletePhraseMatcherRequest.class, - responseType = com.google.protobuf.Empty.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.cloud.contactcenterinsights.v1.DeletePhraseMatcherRequest, - com.google.protobuf.Empty> - getDeletePhraseMatcherMethod() { - io.grpc.MethodDescriptor< - com.google.cloud.contactcenterinsights.v1.DeletePhraseMatcherRequest, - com.google.protobuf.Empty> - getDeletePhraseMatcherMethod; - if ((getDeletePhraseMatcherMethod = ContactCenterInsightsGrpc.getDeletePhraseMatcherMethod) - == null) { - synchronized (ContactCenterInsightsGrpc.class) { - if ((getDeletePhraseMatcherMethod = ContactCenterInsightsGrpc.getDeletePhraseMatcherMethod) - == null) { - ContactCenterInsightsGrpc.getDeletePhraseMatcherMethod = - getDeletePhraseMatcherMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName( - generateFullMethodName(SERVICE_NAME, "DeletePhraseMatcher")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.contactcenterinsights.v1.DeletePhraseMatcherRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.protobuf.Empty.getDefaultInstance())) - .setSchemaDescriptor( - new ContactCenterInsightsMethodDescriptorSupplier("DeletePhraseMatcher")) - .build(); - } - } - } - return getDeletePhraseMatcherMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.cloud.contactcenterinsights.v1.UpdatePhraseMatcherRequest, - com.google.cloud.contactcenterinsights.v1.PhraseMatcher> - getUpdatePhraseMatcherMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "UpdatePhraseMatcher", - requestType = com.google.cloud.contactcenterinsights.v1.UpdatePhraseMatcherRequest.class, - responseType = com.google.cloud.contactcenterinsights.v1.PhraseMatcher.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.cloud.contactcenterinsights.v1.UpdatePhraseMatcherRequest, - com.google.cloud.contactcenterinsights.v1.PhraseMatcher> - getUpdatePhraseMatcherMethod() { - io.grpc.MethodDescriptor< - com.google.cloud.contactcenterinsights.v1.UpdatePhraseMatcherRequest, - com.google.cloud.contactcenterinsights.v1.PhraseMatcher> - getUpdatePhraseMatcherMethod; - if ((getUpdatePhraseMatcherMethod = ContactCenterInsightsGrpc.getUpdatePhraseMatcherMethod) - == null) { - synchronized (ContactCenterInsightsGrpc.class) { - if ((getUpdatePhraseMatcherMethod = ContactCenterInsightsGrpc.getUpdatePhraseMatcherMethod) - == null) { - ContactCenterInsightsGrpc.getUpdatePhraseMatcherMethod = - getUpdatePhraseMatcherMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName( - generateFullMethodName(SERVICE_NAME, "UpdatePhraseMatcher")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.contactcenterinsights.v1.UpdatePhraseMatcherRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.contactcenterinsights.v1.PhraseMatcher - .getDefaultInstance())) - .setSchemaDescriptor( - new ContactCenterInsightsMethodDescriptorSupplier("UpdatePhraseMatcher")) - .build(); - } - } - } - return getUpdatePhraseMatcherMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.cloud.contactcenterinsights.v1.CalculateStatsRequest, - com.google.cloud.contactcenterinsights.v1.CalculateStatsResponse> - getCalculateStatsMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "CalculateStats", - requestType = com.google.cloud.contactcenterinsights.v1.CalculateStatsRequest.class, - responseType = com.google.cloud.contactcenterinsights.v1.CalculateStatsResponse.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.cloud.contactcenterinsights.v1.CalculateStatsRequest, - com.google.cloud.contactcenterinsights.v1.CalculateStatsResponse> - getCalculateStatsMethod() { - io.grpc.MethodDescriptor< - com.google.cloud.contactcenterinsights.v1.CalculateStatsRequest, - com.google.cloud.contactcenterinsights.v1.CalculateStatsResponse> - getCalculateStatsMethod; - if ((getCalculateStatsMethod = ContactCenterInsightsGrpc.getCalculateStatsMethod) == null) { - synchronized (ContactCenterInsightsGrpc.class) { - if ((getCalculateStatsMethod = ContactCenterInsightsGrpc.getCalculateStatsMethod) == null) { - ContactCenterInsightsGrpc.getCalculateStatsMethod = - getCalculateStatsMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "CalculateStats")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.contactcenterinsights.v1.CalculateStatsRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.contactcenterinsights.v1.CalculateStatsResponse - .getDefaultInstance())) - .setSchemaDescriptor( - new ContactCenterInsightsMethodDescriptorSupplier("CalculateStats")) - .build(); - } - } - } - return getCalculateStatsMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.cloud.contactcenterinsights.v1.GetSettingsRequest, - com.google.cloud.contactcenterinsights.v1.Settings> - getGetSettingsMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "GetSettings", - requestType = com.google.cloud.contactcenterinsights.v1.GetSettingsRequest.class, - responseType = com.google.cloud.contactcenterinsights.v1.Settings.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.cloud.contactcenterinsights.v1.GetSettingsRequest, - com.google.cloud.contactcenterinsights.v1.Settings> - getGetSettingsMethod() { - io.grpc.MethodDescriptor< - com.google.cloud.contactcenterinsights.v1.GetSettingsRequest, - com.google.cloud.contactcenterinsights.v1.Settings> - getGetSettingsMethod; - if ((getGetSettingsMethod = ContactCenterInsightsGrpc.getGetSettingsMethod) == null) { - synchronized (ContactCenterInsightsGrpc.class) { - if ((getGetSettingsMethod = ContactCenterInsightsGrpc.getGetSettingsMethod) == null) { - ContactCenterInsightsGrpc.getGetSettingsMethod = - getGetSettingsMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetSettings")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.contactcenterinsights.v1.GetSettingsRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.contactcenterinsights.v1.Settings - .getDefaultInstance())) - .setSchemaDescriptor( - new ContactCenterInsightsMethodDescriptorSupplier("GetSettings")) - .build(); - } - } - } - return getGetSettingsMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.cloud.contactcenterinsights.v1.UpdateSettingsRequest, - com.google.cloud.contactcenterinsights.v1.Settings> - getUpdateSettingsMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "UpdateSettings", - requestType = com.google.cloud.contactcenterinsights.v1.UpdateSettingsRequest.class, - responseType = com.google.cloud.contactcenterinsights.v1.Settings.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.cloud.contactcenterinsights.v1.UpdateSettingsRequest, - com.google.cloud.contactcenterinsights.v1.Settings> - getUpdateSettingsMethod() { - io.grpc.MethodDescriptor< - com.google.cloud.contactcenterinsights.v1.UpdateSettingsRequest, - com.google.cloud.contactcenterinsights.v1.Settings> - getUpdateSettingsMethod; - if ((getUpdateSettingsMethod = ContactCenterInsightsGrpc.getUpdateSettingsMethod) == null) { - synchronized (ContactCenterInsightsGrpc.class) { - if ((getUpdateSettingsMethod = ContactCenterInsightsGrpc.getUpdateSettingsMethod) == null) { - ContactCenterInsightsGrpc.getUpdateSettingsMethod = - getUpdateSettingsMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "UpdateSettings")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.contactcenterinsights.v1.UpdateSettingsRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.contactcenterinsights.v1.Settings - .getDefaultInstance())) - .setSchemaDescriptor( - new ContactCenterInsightsMethodDescriptorSupplier("UpdateSettings")) - .build(); - } - } - } - return getUpdateSettingsMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.cloud.contactcenterinsights.v1.CreateViewRequest, - com.google.cloud.contactcenterinsights.v1.View> - getCreateViewMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "CreateView", - requestType = com.google.cloud.contactcenterinsights.v1.CreateViewRequest.class, - responseType = com.google.cloud.contactcenterinsights.v1.View.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.cloud.contactcenterinsights.v1.CreateViewRequest, - com.google.cloud.contactcenterinsights.v1.View> - getCreateViewMethod() { - io.grpc.MethodDescriptor< - com.google.cloud.contactcenterinsights.v1.CreateViewRequest, - com.google.cloud.contactcenterinsights.v1.View> - getCreateViewMethod; - if ((getCreateViewMethod = ContactCenterInsightsGrpc.getCreateViewMethod) == null) { - synchronized (ContactCenterInsightsGrpc.class) { - if ((getCreateViewMethod = ContactCenterInsightsGrpc.getCreateViewMethod) == null) { - ContactCenterInsightsGrpc.getCreateViewMethod = - getCreateViewMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "CreateView")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.contactcenterinsights.v1.CreateViewRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.contactcenterinsights.v1.View.getDefaultInstance())) - .setSchemaDescriptor( - new ContactCenterInsightsMethodDescriptorSupplier("CreateView")) - .build(); - } - } - } - return getCreateViewMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.cloud.contactcenterinsights.v1.GetViewRequest, - com.google.cloud.contactcenterinsights.v1.View> - getGetViewMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "GetView", - requestType = com.google.cloud.contactcenterinsights.v1.GetViewRequest.class, - responseType = com.google.cloud.contactcenterinsights.v1.View.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.cloud.contactcenterinsights.v1.GetViewRequest, - com.google.cloud.contactcenterinsights.v1.View> - getGetViewMethod() { - io.grpc.MethodDescriptor< - com.google.cloud.contactcenterinsights.v1.GetViewRequest, - com.google.cloud.contactcenterinsights.v1.View> - getGetViewMethod; - if ((getGetViewMethod = ContactCenterInsightsGrpc.getGetViewMethod) == null) { - synchronized (ContactCenterInsightsGrpc.class) { - if ((getGetViewMethod = ContactCenterInsightsGrpc.getGetViewMethod) == null) { - ContactCenterInsightsGrpc.getGetViewMethod = - getGetViewMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetView")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.contactcenterinsights.v1.GetViewRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.contactcenterinsights.v1.View.getDefaultInstance())) - .setSchemaDescriptor( - new ContactCenterInsightsMethodDescriptorSupplier("GetView")) - .build(); - } - } - } - return getGetViewMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.cloud.contactcenterinsights.v1.ListViewsRequest, - com.google.cloud.contactcenterinsights.v1.ListViewsResponse> - getListViewsMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "ListViews", - requestType = com.google.cloud.contactcenterinsights.v1.ListViewsRequest.class, - responseType = com.google.cloud.contactcenterinsights.v1.ListViewsResponse.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.cloud.contactcenterinsights.v1.ListViewsRequest, - com.google.cloud.contactcenterinsights.v1.ListViewsResponse> - getListViewsMethod() { - io.grpc.MethodDescriptor< - com.google.cloud.contactcenterinsights.v1.ListViewsRequest, - com.google.cloud.contactcenterinsights.v1.ListViewsResponse> - getListViewsMethod; - if ((getListViewsMethod = ContactCenterInsightsGrpc.getListViewsMethod) == null) { - synchronized (ContactCenterInsightsGrpc.class) { - if ((getListViewsMethod = ContactCenterInsightsGrpc.getListViewsMethod) == null) { - ContactCenterInsightsGrpc.getListViewsMethod = - getListViewsMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListViews")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.contactcenterinsights.v1.ListViewsRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.contactcenterinsights.v1.ListViewsResponse - .getDefaultInstance())) - .setSchemaDescriptor( - new ContactCenterInsightsMethodDescriptorSupplier("ListViews")) - .build(); - } - } - } - return getListViewsMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.cloud.contactcenterinsights.v1.UpdateViewRequest, - com.google.cloud.contactcenterinsights.v1.View> - getUpdateViewMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "UpdateView", - requestType = com.google.cloud.contactcenterinsights.v1.UpdateViewRequest.class, - responseType = com.google.cloud.contactcenterinsights.v1.View.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.cloud.contactcenterinsights.v1.UpdateViewRequest, - com.google.cloud.contactcenterinsights.v1.View> - getUpdateViewMethod() { - io.grpc.MethodDescriptor< - com.google.cloud.contactcenterinsights.v1.UpdateViewRequest, - com.google.cloud.contactcenterinsights.v1.View> - getUpdateViewMethod; - if ((getUpdateViewMethod = ContactCenterInsightsGrpc.getUpdateViewMethod) == null) { - synchronized (ContactCenterInsightsGrpc.class) { - if ((getUpdateViewMethod = ContactCenterInsightsGrpc.getUpdateViewMethod) == null) { - ContactCenterInsightsGrpc.getUpdateViewMethod = - getUpdateViewMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "UpdateView")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.contactcenterinsights.v1.UpdateViewRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.contactcenterinsights.v1.View.getDefaultInstance())) - .setSchemaDescriptor( - new ContactCenterInsightsMethodDescriptorSupplier("UpdateView")) - .build(); - } - } - } - return getUpdateViewMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.cloud.contactcenterinsights.v1.DeleteViewRequest, com.google.protobuf.Empty> - getDeleteViewMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "DeleteView", - requestType = com.google.cloud.contactcenterinsights.v1.DeleteViewRequest.class, - responseType = com.google.protobuf.Empty.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.cloud.contactcenterinsights.v1.DeleteViewRequest, com.google.protobuf.Empty> - getDeleteViewMethod() { - io.grpc.MethodDescriptor< - com.google.cloud.contactcenterinsights.v1.DeleteViewRequest, com.google.protobuf.Empty> - getDeleteViewMethod; - if ((getDeleteViewMethod = ContactCenterInsightsGrpc.getDeleteViewMethod) == null) { - synchronized (ContactCenterInsightsGrpc.class) { - if ((getDeleteViewMethod = ContactCenterInsightsGrpc.getDeleteViewMethod) == null) { - ContactCenterInsightsGrpc.getDeleteViewMethod = - getDeleteViewMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "DeleteView")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.contactcenterinsights.v1.DeleteViewRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.protobuf.Empty.getDefaultInstance())) - .setSchemaDescriptor( - new ContactCenterInsightsMethodDescriptorSupplier("DeleteView")) - .build(); - } - } - } - return getDeleteViewMethod; - } - - /** Creates a new async stub that supports all call types for the service */ - public static ContactCenterInsightsStub newStub(io.grpc.Channel channel) { - io.grpc.stub.AbstractStub.StubFactory factory = - new io.grpc.stub.AbstractStub.StubFactory() { - @java.lang.Override - public ContactCenterInsightsStub newStub( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new ContactCenterInsightsStub(channel, callOptions); - } - }; - return ContactCenterInsightsStub.newStub(factory, channel); - } - - /** - * Creates a new blocking-style stub that supports unary and streaming output calls on the service - */ - public static ContactCenterInsightsBlockingStub newBlockingStub(io.grpc.Channel channel) { - io.grpc.stub.AbstractStub.StubFactory factory = - new io.grpc.stub.AbstractStub.StubFactory() { - @java.lang.Override - public ContactCenterInsightsBlockingStub newStub( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new ContactCenterInsightsBlockingStub(channel, callOptions); - } - }; - return ContactCenterInsightsBlockingStub.newStub(factory, channel); - } - - /** Creates a new ListenableFuture-style stub that supports unary calls on the service */ - public static ContactCenterInsightsFutureStub newFutureStub(io.grpc.Channel channel) { - io.grpc.stub.AbstractStub.StubFactory factory = - new io.grpc.stub.AbstractStub.StubFactory() { - @java.lang.Override - public ContactCenterInsightsFutureStub newStub( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new ContactCenterInsightsFutureStub(channel, callOptions); - } - }; - return ContactCenterInsightsFutureStub.newStub(factory, channel); - } - - /** - * - * - *
-   * 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 - responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getCreateConversationMethod(), responseObserver); - } - - /** - * - * - *
-     * Updates a conversation.
-     * 
- */ - public void updateConversation( - com.google.cloud.contactcenterinsights.v1.UpdateConversationRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getUpdateConversationMethod(), responseObserver); - } - - /** - * - * - *
-     * Gets a conversation.
-     * 
- */ - public void getConversation( - com.google.cloud.contactcenterinsights.v1.GetConversationRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getGetConversationMethod(), responseObserver); - } - - /** - * - * - *
-     * 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 responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getDeleteConversationMethod(), responseObserver); - } - - /** - * - * - *
-     * 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 responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getCreateAnalysisMethod(), responseObserver); - } - - /** - * - * - *
-     * Gets an analysis.
-     * 
- */ - public void getAnalysis( - com.google.cloud.contactcenterinsights.v1.GetAnalysisRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getGetAnalysisMethod(), responseObserver); - } - - /** - * - * - *
-     * Lists analyses.
-     * 
- */ - public void listAnalyses( - com.google.cloud.contactcenterinsights.v1.ListAnalysesRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getListAnalysesMethod(), responseObserver); - } - - /** - * - * - *
-     * Deletes an analysis.
-     * 
- */ - public void deleteAnalysis( - com.google.cloud.contactcenterinsights.v1.DeleteAnalysisRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getDeleteAnalysisMethod(), responseObserver); - } - - /** - * - * - *
-     * Analyzes multiple conversations in a single request.
-     * 
- */ - public void bulkAnalyzeConversations( - com.google.cloud.contactcenterinsights.v1.BulkAnalyzeConversationsRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getBulkAnalyzeConversationsMethod(), responseObserver); - } - - /** - * - * - *
-     * Imports conversations and processes them according to the user's
-     * configuration.
-     * 
- */ - public void ingestConversations( - com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getIngestConversationsMethod(), responseObserver); - } - - /** - * - * - *
-     * 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 responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getExportInsightsDataMethod(), responseObserver); - } - - /** - * - * - *
-     * Creates an issue model.
-     * 
- */ - public void createIssueModel( - com.google.cloud.contactcenterinsights.v1.CreateIssueModelRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getCreateIssueModelMethod(), responseObserver); - } - - /** - * - * - *
-     * Updates an issue model.
-     * 
- */ - public void updateIssueModel( - com.google.cloud.contactcenterinsights.v1.UpdateIssueModelRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getUpdateIssueModelMethod(), responseObserver); - } - - /** - * - * - *
-     * Gets an issue model.
-     * 
- */ - public void getIssueModel( - com.google.cloud.contactcenterinsights.v1.GetIssueModelRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getGetIssueModelMethod(), responseObserver); - } - - /** - * - * - *
-     * 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 responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getDeleteIssueModelMethod(), responseObserver); - } - - /** - * - * - *
-     * 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 responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getDeployIssueModelMethod(), responseObserver); - } - - /** - * - * - *
-     * 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 responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getUndeployIssueModelMethod(), responseObserver); - } - - /** - * - * - *
-     * Gets an issue.
-     * 
- */ - public void getIssue( - com.google.cloud.contactcenterinsights.v1.GetIssueRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetIssueMethod(), responseObserver); - } - - /** - * - * - *
-     * Lists issues.
-     * 
- */ - public void listIssues( - com.google.cloud.contactcenterinsights.v1.ListIssuesRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getListIssuesMethod(), responseObserver); - } - - /** - * - * - *
-     * Updates an issue.
-     * 
- */ - public void updateIssue( - com.google.cloud.contactcenterinsights.v1.UpdateIssueRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getUpdateIssueMethod(), responseObserver); - } - - /** - * - * - *
-     * Deletes an issue.
-     * 
- */ - public void deleteIssue( - com.google.cloud.contactcenterinsights.v1.DeleteIssueRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getDeleteIssueMethod(), responseObserver); - } - - /** - * - * - *
-     * 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 - responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getCreatePhraseMatcherMethod(), responseObserver); - } - - /** - * - * - *
-     * Gets a phrase matcher.
-     * 
- */ - public void getPhraseMatcher( - com.google.cloud.contactcenterinsights.v1.GetPhraseMatcherRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getGetPhraseMatcherMethod(), responseObserver); - } - - /** - * - * - *
-     * 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 responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getDeletePhraseMatcherMethod(), responseObserver); - } - - /** - * - * - *
-     * Updates a phrase matcher.
-     * 
- */ - public void updatePhraseMatcher( - com.google.cloud.contactcenterinsights.v1.UpdatePhraseMatcherRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getUpdatePhraseMatcherMethod(), responseObserver); - } - - /** - * - * - *
-     * 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 - responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getGetSettingsMethod(), responseObserver); - } - - /** - * - * - *
-     * Updates project-level settings.
-     * 
- */ - public void updateSettings( - com.google.cloud.contactcenterinsights.v1.UpdateSettingsRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getUpdateSettingsMethod(), responseObserver); - } - - /** - * - * - *
-     * Creates a view.
-     * 
- */ - public void createView( - com.google.cloud.contactcenterinsights.v1.CreateViewRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getCreateViewMethod(), responseObserver); - } - - /** - * - * - *
-     * Gets a view.
-     * 
- */ - public void getView( - com.google.cloud.contactcenterinsights.v1.GetViewRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetViewMethod(), responseObserver); - } - - /** - * - * - *
-     * Lists views.
-     * 
- */ - public void listViews( - com.google.cloud.contactcenterinsights.v1.ListViewsRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getListViewsMethod(), responseObserver); - } - - /** - * - * - *
-     * Updates a view.
-     * 
- */ - public void updateView( - com.google.cloud.contactcenterinsights.v1.UpdateViewRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getUpdateViewMethod(), responseObserver); - } - - /** - * - * - *
-     * Deletes a view.
-     * 
- */ - public void deleteView( - com.google.cloud.contactcenterinsights.v1.DeleteViewRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getDeleteViewMethod(), responseObserver); - } - - @java.lang.Override - public final io.grpc.ServerServiceDefinition bindService() { - return io.grpc.ServerServiceDefinition.builder(getServiceDescriptor()) - .addMethod( - getCreateConversationMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.contactcenterinsights.v1.CreateConversationRequest, - com.google.cloud.contactcenterinsights.v1.Conversation>( - this, METHODID_CREATE_CONVERSATION))) - .addMethod( - getUpdateConversationMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.contactcenterinsights.v1.UpdateConversationRequest, - com.google.cloud.contactcenterinsights.v1.Conversation>( - this, METHODID_UPDATE_CONVERSATION))) - .addMethod( - getGetConversationMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.contactcenterinsights.v1.GetConversationRequest, - com.google.cloud.contactcenterinsights.v1.Conversation>( - this, METHODID_GET_CONVERSATION))) - .addMethod( - getListConversationsMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.contactcenterinsights.v1.ListConversationsRequest, - com.google.cloud.contactcenterinsights.v1.ListConversationsResponse>( - this, METHODID_LIST_CONVERSATIONS))) - .addMethod( - getDeleteConversationMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.contactcenterinsights.v1.DeleteConversationRequest, - com.google.protobuf.Empty>(this, METHODID_DELETE_CONVERSATION))) - .addMethod( - getCreateAnalysisMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.contactcenterinsights.v1.CreateAnalysisRequest, - com.google.longrunning.Operation>(this, METHODID_CREATE_ANALYSIS))) - .addMethod( - getGetAnalysisMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.contactcenterinsights.v1.GetAnalysisRequest, - com.google.cloud.contactcenterinsights.v1.Analysis>( - this, METHODID_GET_ANALYSIS))) - .addMethod( - getListAnalysesMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.contactcenterinsights.v1.ListAnalysesRequest, - com.google.cloud.contactcenterinsights.v1.ListAnalysesResponse>( - this, METHODID_LIST_ANALYSES))) - .addMethod( - getDeleteAnalysisMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.contactcenterinsights.v1.DeleteAnalysisRequest, - com.google.protobuf.Empty>(this, METHODID_DELETE_ANALYSIS))) - .addMethod( - getBulkAnalyzeConversationsMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.contactcenterinsights.v1.BulkAnalyzeConversationsRequest, - com.google.longrunning.Operation>(this, METHODID_BULK_ANALYZE_CONVERSATIONS))) - .addMethod( - getIngestConversationsMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest, - com.google.longrunning.Operation>(this, METHODID_INGEST_CONVERSATIONS))) - .addMethod( - getExportInsightsDataMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.contactcenterinsights.v1.ExportInsightsDataRequest, - com.google.longrunning.Operation>(this, METHODID_EXPORT_INSIGHTS_DATA))) - .addMethod( - getCreateIssueModelMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.contactcenterinsights.v1.CreateIssueModelRequest, - com.google.longrunning.Operation>(this, METHODID_CREATE_ISSUE_MODEL))) - .addMethod( - getUpdateIssueModelMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.contactcenterinsights.v1.UpdateIssueModelRequest, - com.google.cloud.contactcenterinsights.v1.IssueModel>( - this, METHODID_UPDATE_ISSUE_MODEL))) - .addMethod( - getGetIssueModelMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.contactcenterinsights.v1.GetIssueModelRequest, - com.google.cloud.contactcenterinsights.v1.IssueModel>( - this, METHODID_GET_ISSUE_MODEL))) - .addMethod( - getListIssueModelsMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.contactcenterinsights.v1.ListIssueModelsRequest, - com.google.cloud.contactcenterinsights.v1.ListIssueModelsResponse>( - this, METHODID_LIST_ISSUE_MODELS))) - .addMethod( - getDeleteIssueModelMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.contactcenterinsights.v1.DeleteIssueModelRequest, - com.google.longrunning.Operation>(this, METHODID_DELETE_ISSUE_MODEL))) - .addMethod( - getDeployIssueModelMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.contactcenterinsights.v1.DeployIssueModelRequest, - com.google.longrunning.Operation>(this, METHODID_DEPLOY_ISSUE_MODEL))) - .addMethod( - getUndeployIssueModelMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.contactcenterinsights.v1.UndeployIssueModelRequest, - com.google.longrunning.Operation>(this, METHODID_UNDEPLOY_ISSUE_MODEL))) - .addMethod( - getGetIssueMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.contactcenterinsights.v1.GetIssueRequest, - com.google.cloud.contactcenterinsights.v1.Issue>(this, METHODID_GET_ISSUE))) - .addMethod( - getListIssuesMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.contactcenterinsights.v1.ListIssuesRequest, - com.google.cloud.contactcenterinsights.v1.ListIssuesResponse>( - this, METHODID_LIST_ISSUES))) - .addMethod( - getUpdateIssueMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.contactcenterinsights.v1.UpdateIssueRequest, - com.google.cloud.contactcenterinsights.v1.Issue>( - this, METHODID_UPDATE_ISSUE))) - .addMethod( - getDeleteIssueMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.contactcenterinsights.v1.DeleteIssueRequest, - com.google.protobuf.Empty>(this, METHODID_DELETE_ISSUE))) - .addMethod( - getCalculateIssueModelStatsMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.contactcenterinsights.v1.CalculateIssueModelStatsRequest, - com.google.cloud.contactcenterinsights.v1.CalculateIssueModelStatsResponse>( - this, METHODID_CALCULATE_ISSUE_MODEL_STATS))) - .addMethod( - getCreatePhraseMatcherMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.contactcenterinsights.v1.CreatePhraseMatcherRequest, - com.google.cloud.contactcenterinsights.v1.PhraseMatcher>( - this, METHODID_CREATE_PHRASE_MATCHER))) - .addMethod( - getGetPhraseMatcherMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.contactcenterinsights.v1.GetPhraseMatcherRequest, - com.google.cloud.contactcenterinsights.v1.PhraseMatcher>( - this, METHODID_GET_PHRASE_MATCHER))) - .addMethod( - getListPhraseMatchersMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.contactcenterinsights.v1.ListPhraseMatchersRequest, - com.google.cloud.contactcenterinsights.v1.ListPhraseMatchersResponse>( - this, METHODID_LIST_PHRASE_MATCHERS))) - .addMethod( - getDeletePhraseMatcherMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.contactcenterinsights.v1.DeletePhraseMatcherRequest, - com.google.protobuf.Empty>(this, METHODID_DELETE_PHRASE_MATCHER))) - .addMethod( - getUpdatePhraseMatcherMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.contactcenterinsights.v1.UpdatePhraseMatcherRequest, - com.google.cloud.contactcenterinsights.v1.PhraseMatcher>( - this, METHODID_UPDATE_PHRASE_MATCHER))) - .addMethod( - getCalculateStatsMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.contactcenterinsights.v1.CalculateStatsRequest, - com.google.cloud.contactcenterinsights.v1.CalculateStatsResponse>( - this, METHODID_CALCULATE_STATS))) - .addMethod( - getGetSettingsMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.contactcenterinsights.v1.GetSettingsRequest, - com.google.cloud.contactcenterinsights.v1.Settings>( - this, METHODID_GET_SETTINGS))) - .addMethod( - getUpdateSettingsMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.contactcenterinsights.v1.UpdateSettingsRequest, - com.google.cloud.contactcenterinsights.v1.Settings>( - this, METHODID_UPDATE_SETTINGS))) - .addMethod( - getCreateViewMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.contactcenterinsights.v1.CreateViewRequest, - com.google.cloud.contactcenterinsights.v1.View>(this, METHODID_CREATE_VIEW))) - .addMethod( - getGetViewMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.contactcenterinsights.v1.GetViewRequest, - com.google.cloud.contactcenterinsights.v1.View>(this, METHODID_GET_VIEW))) - .addMethod( - getListViewsMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.contactcenterinsights.v1.ListViewsRequest, - com.google.cloud.contactcenterinsights.v1.ListViewsResponse>( - this, METHODID_LIST_VIEWS))) - .addMethod( - getUpdateViewMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.contactcenterinsights.v1.UpdateViewRequest, - com.google.cloud.contactcenterinsights.v1.View>(this, METHODID_UPDATE_VIEW))) - .addMethod( - getDeleteViewMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.contactcenterinsights.v1.DeleteViewRequest, - com.google.protobuf.Empty>(this, METHODID_DELETE_VIEW))) - .build(); - } - } - - /** - * - * - *
-   * An API that lets users analyze and explore their business conversation data.
-   * 
- */ - public static final class ContactCenterInsightsStub - extends io.grpc.stub.AbstractAsyncStub { - private ContactCenterInsightsStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - super(channel, callOptions); - } - - @java.lang.Override - protected ContactCenterInsightsStub build( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new ContactCenterInsightsStub(channel, callOptions); - } - - /** - * - * - *
-     * Creates a conversation.
-     * 
- */ - public void createConversation( - com.google.cloud.contactcenterinsights.v1.CreateConversationRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getCreateConversationMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Updates a conversation.
-     * 
- */ - public void updateConversation( - com.google.cloud.contactcenterinsights.v1.UpdateConversationRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getUpdateConversationMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Gets a conversation.
-     * 
- */ - public void getConversation( - com.google.cloud.contactcenterinsights.v1.GetConversationRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getGetConversationMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * 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 responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getDeleteConversationMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * 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 responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getCreateAnalysisMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Gets an analysis.
-     * 
- */ - public void getAnalysis( - com.google.cloud.contactcenterinsights.v1.GetAnalysisRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getGetAnalysisMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Lists analyses.
-     * 
- */ - public void listAnalyses( - com.google.cloud.contactcenterinsights.v1.ListAnalysesRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getListAnalysesMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Deletes an analysis.
-     * 
- */ - public void deleteAnalysis( - com.google.cloud.contactcenterinsights.v1.DeleteAnalysisRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getDeleteAnalysisMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Analyzes multiple conversations in a single request.
-     * 
- */ - public void bulkAnalyzeConversations( - com.google.cloud.contactcenterinsights.v1.BulkAnalyzeConversationsRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getBulkAnalyzeConversationsMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Imports conversations and processes them according to the user's
-     * configuration.
-     * 
- */ - public void ingestConversations( - com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getIngestConversationsMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * 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 responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getExportInsightsDataMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Creates an issue model.
-     * 
- */ - public void createIssueModel( - com.google.cloud.contactcenterinsights.v1.CreateIssueModelRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getCreateIssueModelMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Updates an issue model.
-     * 
- */ - public void updateIssueModel( - com.google.cloud.contactcenterinsights.v1.UpdateIssueModelRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getUpdateIssueModelMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Gets an issue model.
-     * 
- */ - public void getIssueModel( - com.google.cloud.contactcenterinsights.v1.GetIssueModelRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getGetIssueModelMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * 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 responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getDeleteIssueModelMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * 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 responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getDeployIssueModelMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * 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 responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getUndeployIssueModelMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Gets an issue.
-     * 
- */ - public void getIssue( - com.google.cloud.contactcenterinsights.v1.GetIssueRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getGetIssueMethod(), getCallOptions()), request, responseObserver); - } - - /** - * - * - *
-     * Lists issues.
-     * 
- */ - public void listIssues( - com.google.cloud.contactcenterinsights.v1.ListIssuesRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getListIssuesMethod(), getCallOptions()), request, responseObserver); - } - - /** - * - * - *
-     * Updates an issue.
-     * 
- */ - public void updateIssue( - com.google.cloud.contactcenterinsights.v1.UpdateIssueRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getUpdateIssueMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Deletes an issue.
-     * 
- */ - public void deleteIssue( - com.google.cloud.contactcenterinsights.v1.DeleteIssueRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getDeleteIssueMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * 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 - responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getCreatePhraseMatcherMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Gets a phrase matcher.
-     * 
- */ - public void getPhraseMatcher( - com.google.cloud.contactcenterinsights.v1.GetPhraseMatcherRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getGetPhraseMatcherMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * 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 responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getDeletePhraseMatcherMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Updates a phrase matcher.
-     * 
- */ - public void updatePhraseMatcher( - com.google.cloud.contactcenterinsights.v1.UpdatePhraseMatcherRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getUpdatePhraseMatcherMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * 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 - responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getGetSettingsMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Updates project-level settings.
-     * 
- */ - public void updateSettings( - com.google.cloud.contactcenterinsights.v1.UpdateSettingsRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getUpdateSettingsMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Creates a view.
-     * 
- */ - public void createView( - com.google.cloud.contactcenterinsights.v1.CreateViewRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getCreateViewMethod(), getCallOptions()), request, responseObserver); - } - - /** - * - * - *
-     * Gets a view.
-     * 
- */ - public void getView( - com.google.cloud.contactcenterinsights.v1.GetViewRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getGetViewMethod(), getCallOptions()), request, responseObserver); - } - - /** - * - * - *
-     * Lists views.
-     * 
- */ - public void listViews( - com.google.cloud.contactcenterinsights.v1.ListViewsRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getListViewsMethod(), getCallOptions()), request, responseObserver); - } - - /** - * - * - *
-     * Updates a view.
-     * 
- */ - public void updateView( - com.google.cloud.contactcenterinsights.v1.UpdateViewRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getUpdateViewMethod(), getCallOptions()), request, responseObserver); - } - - /** - * - * - *
-     * Deletes a view.
-     * 
- */ - public void deleteView( - com.google.cloud.contactcenterinsights.v1.DeleteViewRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getDeleteViewMethod(), getCallOptions()), request, responseObserver); - } - } - - /** - * - * - *
-   * An API that lets users analyze and explore their business conversation data.
-   * 
- */ - public static final class ContactCenterInsightsBlockingStub - extends io.grpc.stub.AbstractBlockingStub { - private ContactCenterInsightsBlockingStub( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - super(channel, callOptions); - } - - @java.lang.Override - protected ContactCenterInsightsBlockingStub build( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new ContactCenterInsightsBlockingStub(channel, callOptions); - } - - /** - * - * - *
-     * 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); - } - - /** - * - * - *
-     * Analyzes multiple conversations in a single request.
-     * 
- */ - public com.google.longrunning.Operation bulkAnalyzeConversations( - com.google.cloud.contactcenterinsights.v1.BulkAnalyzeConversationsRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getBulkAnalyzeConversationsMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Imports conversations and processes them according to the user's
-     * configuration.
-     * 
- */ - public com.google.longrunning.Operation ingestConversations( - com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getIngestConversationsMethod(), 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); - } - - /** - * - * - *
-     * Deletes an issue.
-     * 
- */ - public com.google.protobuf.Empty deleteIssue( - com.google.cloud.contactcenterinsights.v1.DeleteIssueRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getDeleteIssueMethod(), 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 { - private ContactCenterInsightsFutureStub( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - super(channel, callOptions); - } - - @java.lang.Override - protected ContactCenterInsightsFutureStub build( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new ContactCenterInsightsFutureStub(channel, callOptions); - } - - /** - * - * - *
-     * 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 - deleteConversation( - com.google.cloud.contactcenterinsights.v1.DeleteConversationRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getDeleteConversationMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Creates an analysis. The long running operation is done when the analysis
-     * has completed.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture - createAnalysis(com.google.cloud.contactcenterinsights.v1.CreateAnalysisRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getCreateAnalysisMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * 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 - deleteAnalysis(com.google.cloud.contactcenterinsights.v1.DeleteAnalysisRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getDeleteAnalysisMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Analyzes multiple conversations in a single request.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture - bulkAnalyzeConversations( - com.google.cloud.contactcenterinsights.v1.BulkAnalyzeConversationsRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getBulkAnalyzeConversationsMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Imports conversations and processes them according to the user's
-     * configuration.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture - ingestConversations( - com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getIngestConversationsMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Export insights data to a destination defined in the request body.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture - exportInsightsData( - com.google.cloud.contactcenterinsights.v1.ExportInsightsDataRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getExportInsightsDataMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Creates an issue model.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture - createIssueModel( - com.google.cloud.contactcenterinsights.v1.CreateIssueModelRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getCreateIssueModelMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * 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 - deleteIssueModel( - com.google.cloud.contactcenterinsights.v1.DeleteIssueModelRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(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.common.util.concurrent.ListenableFuture - deployIssueModel( - com.google.cloud.contactcenterinsights.v1.DeployIssueModelRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getDeployIssueModelMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * 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 - undeployIssueModel( - com.google.cloud.contactcenterinsights.v1.UndeployIssueModelRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getUndeployIssueModelMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * 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); - } - - /** - * - * - *
-     * Deletes an issue.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture - deleteIssue(com.google.cloud.contactcenterinsights.v1.DeleteIssueRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getDeleteIssueMethod(), 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 - deletePhraseMatcher( - com.google.cloud.contactcenterinsights.v1.DeletePhraseMatcherRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getDeletePhraseMatcherMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * 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 deleteView( - com.google.cloud.contactcenterinsights.v1.DeleteViewRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getDeleteViewMethod(), getCallOptions()), request); - } - } - - private static final int METHODID_CREATE_CONVERSATION = 0; - private static final int METHODID_UPDATE_CONVERSATION = 1; - private static final int METHODID_GET_CONVERSATION = 2; - private static final int METHODID_LIST_CONVERSATIONS = 3; - private static final int METHODID_DELETE_CONVERSATION = 4; - private static final int METHODID_CREATE_ANALYSIS = 5; - private static final int METHODID_GET_ANALYSIS = 6; - private static final int METHODID_LIST_ANALYSES = 7; - private static final int METHODID_DELETE_ANALYSIS = 8; - private static final int METHODID_BULK_ANALYZE_CONVERSATIONS = 9; - private static final int METHODID_INGEST_CONVERSATIONS = 10; - private static final int METHODID_EXPORT_INSIGHTS_DATA = 11; - private static final int METHODID_CREATE_ISSUE_MODEL = 12; - private static final int METHODID_UPDATE_ISSUE_MODEL = 13; - private static final int METHODID_GET_ISSUE_MODEL = 14; - private static final int METHODID_LIST_ISSUE_MODELS = 15; - private static final int METHODID_DELETE_ISSUE_MODEL = 16; - private static final int METHODID_DEPLOY_ISSUE_MODEL = 17; - private static final int METHODID_UNDEPLOY_ISSUE_MODEL = 18; - private static final int METHODID_GET_ISSUE = 19; - private static final int METHODID_LIST_ISSUES = 20; - private static final int METHODID_UPDATE_ISSUE = 21; - private static final int METHODID_DELETE_ISSUE = 22; - private static final int METHODID_CALCULATE_ISSUE_MODEL_STATS = 23; - private static final int METHODID_CREATE_PHRASE_MATCHER = 24; - private static final int METHODID_GET_PHRASE_MATCHER = 25; - private static final int METHODID_LIST_PHRASE_MATCHERS = 26; - private static final int METHODID_DELETE_PHRASE_MATCHER = 27; - private static final int METHODID_UPDATE_PHRASE_MATCHER = 28; - private static final int METHODID_CALCULATE_STATS = 29; - private static final int METHODID_GET_SETTINGS = 30; - private static final int METHODID_UPDATE_SETTINGS = 31; - private static final int METHODID_CREATE_VIEW = 32; - private static final int METHODID_GET_VIEW = 33; - private static final int METHODID_LIST_VIEWS = 34; - private static final int METHODID_UPDATE_VIEW = 35; - private static final int METHODID_DELETE_VIEW = 36; - - private static final class MethodHandlers - implements io.grpc.stub.ServerCalls.UnaryMethod, - io.grpc.stub.ServerCalls.ServerStreamingMethod, - io.grpc.stub.ServerCalls.ClientStreamingMethod, - io.grpc.stub.ServerCalls.BidiStreamingMethod { - private final ContactCenterInsightsImplBase serviceImpl; - private final int methodId; - - MethodHandlers(ContactCenterInsightsImplBase serviceImpl, int methodId) { - this.serviceImpl = serviceImpl; - this.methodId = methodId; - } - - @java.lang.Override - @java.lang.SuppressWarnings("unchecked") - public void invoke(Req request, io.grpc.stub.StreamObserver responseObserver) { - switch (methodId) { - case METHODID_CREATE_CONVERSATION: - serviceImpl.createConversation( - (com.google.cloud.contactcenterinsights.v1.CreateConversationRequest) request, - (io.grpc.stub.StreamObserver) - responseObserver); - break; - case METHODID_UPDATE_CONVERSATION: - serviceImpl.updateConversation( - (com.google.cloud.contactcenterinsights.v1.UpdateConversationRequest) request, - (io.grpc.stub.StreamObserver) - responseObserver); - break; - case METHODID_GET_CONVERSATION: - serviceImpl.getConversation( - (com.google.cloud.contactcenterinsights.v1.GetConversationRequest) request, - (io.grpc.stub.StreamObserver) - responseObserver); - break; - case METHODID_LIST_CONVERSATIONS: - serviceImpl.listConversations( - (com.google.cloud.contactcenterinsights.v1.ListConversationsRequest) request, - (io.grpc.stub.StreamObserver< - com.google.cloud.contactcenterinsights.v1.ListConversationsResponse>) - responseObserver); - break; - case METHODID_DELETE_CONVERSATION: - serviceImpl.deleteConversation( - (com.google.cloud.contactcenterinsights.v1.DeleteConversationRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_CREATE_ANALYSIS: - serviceImpl.createAnalysis( - (com.google.cloud.contactcenterinsights.v1.CreateAnalysisRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_GET_ANALYSIS: - serviceImpl.getAnalysis( - (com.google.cloud.contactcenterinsights.v1.GetAnalysisRequest) request, - (io.grpc.stub.StreamObserver) - responseObserver); - break; - case METHODID_LIST_ANALYSES: - serviceImpl.listAnalyses( - (com.google.cloud.contactcenterinsights.v1.ListAnalysesRequest) request, - (io.grpc.stub.StreamObserver< - com.google.cloud.contactcenterinsights.v1.ListAnalysesResponse>) - responseObserver); - break; - case METHODID_DELETE_ANALYSIS: - serviceImpl.deleteAnalysis( - (com.google.cloud.contactcenterinsights.v1.DeleteAnalysisRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_BULK_ANALYZE_CONVERSATIONS: - serviceImpl.bulkAnalyzeConversations( - (com.google.cloud.contactcenterinsights.v1.BulkAnalyzeConversationsRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_INGEST_CONVERSATIONS: - serviceImpl.ingestConversations( - (com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_EXPORT_INSIGHTS_DATA: - serviceImpl.exportInsightsData( - (com.google.cloud.contactcenterinsights.v1.ExportInsightsDataRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_CREATE_ISSUE_MODEL: - serviceImpl.createIssueModel( - (com.google.cloud.contactcenterinsights.v1.CreateIssueModelRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_UPDATE_ISSUE_MODEL: - serviceImpl.updateIssueModel( - (com.google.cloud.contactcenterinsights.v1.UpdateIssueModelRequest) request, - (io.grpc.stub.StreamObserver) - responseObserver); - break; - case METHODID_GET_ISSUE_MODEL: - serviceImpl.getIssueModel( - (com.google.cloud.contactcenterinsights.v1.GetIssueModelRequest) request, - (io.grpc.stub.StreamObserver) - responseObserver); - break; - case METHODID_LIST_ISSUE_MODELS: - serviceImpl.listIssueModels( - (com.google.cloud.contactcenterinsights.v1.ListIssueModelsRequest) request, - (io.grpc.stub.StreamObserver< - com.google.cloud.contactcenterinsights.v1.ListIssueModelsResponse>) - responseObserver); - break; - case METHODID_DELETE_ISSUE_MODEL: - serviceImpl.deleteIssueModel( - (com.google.cloud.contactcenterinsights.v1.DeleteIssueModelRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_DEPLOY_ISSUE_MODEL: - serviceImpl.deployIssueModel( - (com.google.cloud.contactcenterinsights.v1.DeployIssueModelRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_UNDEPLOY_ISSUE_MODEL: - serviceImpl.undeployIssueModel( - (com.google.cloud.contactcenterinsights.v1.UndeployIssueModelRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_GET_ISSUE: - serviceImpl.getIssue( - (com.google.cloud.contactcenterinsights.v1.GetIssueRequest) request, - (io.grpc.stub.StreamObserver) - responseObserver); - break; - case METHODID_LIST_ISSUES: - serviceImpl.listIssues( - (com.google.cloud.contactcenterinsights.v1.ListIssuesRequest) request, - (io.grpc.stub.StreamObserver< - com.google.cloud.contactcenterinsights.v1.ListIssuesResponse>) - responseObserver); - break; - case METHODID_UPDATE_ISSUE: - serviceImpl.updateIssue( - (com.google.cloud.contactcenterinsights.v1.UpdateIssueRequest) request, - (io.grpc.stub.StreamObserver) - responseObserver); - break; - case METHODID_DELETE_ISSUE: - serviceImpl.deleteIssue( - (com.google.cloud.contactcenterinsights.v1.DeleteIssueRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_CALCULATE_ISSUE_MODEL_STATS: - serviceImpl.calculateIssueModelStats( - (com.google.cloud.contactcenterinsights.v1.CalculateIssueModelStatsRequest) request, - (io.grpc.stub.StreamObserver< - com.google.cloud.contactcenterinsights.v1.CalculateIssueModelStatsResponse>) - responseObserver); - break; - case METHODID_CREATE_PHRASE_MATCHER: - serviceImpl.createPhraseMatcher( - (com.google.cloud.contactcenterinsights.v1.CreatePhraseMatcherRequest) request, - (io.grpc.stub.StreamObserver) - responseObserver); - break; - case METHODID_GET_PHRASE_MATCHER: - serviceImpl.getPhraseMatcher( - (com.google.cloud.contactcenterinsights.v1.GetPhraseMatcherRequest) request, - (io.grpc.stub.StreamObserver) - responseObserver); - break; - case METHODID_LIST_PHRASE_MATCHERS: - serviceImpl.listPhraseMatchers( - (com.google.cloud.contactcenterinsights.v1.ListPhraseMatchersRequest) request, - (io.grpc.stub.StreamObserver< - com.google.cloud.contactcenterinsights.v1.ListPhraseMatchersResponse>) - responseObserver); - break; - case METHODID_DELETE_PHRASE_MATCHER: - serviceImpl.deletePhraseMatcher( - (com.google.cloud.contactcenterinsights.v1.DeletePhraseMatcherRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_UPDATE_PHRASE_MATCHER: - serviceImpl.updatePhraseMatcher( - (com.google.cloud.contactcenterinsights.v1.UpdatePhraseMatcherRequest) request, - (io.grpc.stub.StreamObserver) - responseObserver); - break; - case METHODID_CALCULATE_STATS: - serviceImpl.calculateStats( - (com.google.cloud.contactcenterinsights.v1.CalculateStatsRequest) request, - (io.grpc.stub.StreamObserver< - com.google.cloud.contactcenterinsights.v1.CalculateStatsResponse>) - responseObserver); - break; - case METHODID_GET_SETTINGS: - serviceImpl.getSettings( - (com.google.cloud.contactcenterinsights.v1.GetSettingsRequest) request, - (io.grpc.stub.StreamObserver) - responseObserver); - break; - case METHODID_UPDATE_SETTINGS: - serviceImpl.updateSettings( - (com.google.cloud.contactcenterinsights.v1.UpdateSettingsRequest) request, - (io.grpc.stub.StreamObserver) - responseObserver); - break; - case METHODID_CREATE_VIEW: - serviceImpl.createView( - (com.google.cloud.contactcenterinsights.v1.CreateViewRequest) request, - (io.grpc.stub.StreamObserver) - responseObserver); - break; - case METHODID_GET_VIEW: - serviceImpl.getView( - (com.google.cloud.contactcenterinsights.v1.GetViewRequest) request, - (io.grpc.stub.StreamObserver) - responseObserver); - break; - case METHODID_LIST_VIEWS: - serviceImpl.listViews( - (com.google.cloud.contactcenterinsights.v1.ListViewsRequest) request, - (io.grpc.stub.StreamObserver< - com.google.cloud.contactcenterinsights.v1.ListViewsResponse>) - responseObserver); - break; - case METHODID_UPDATE_VIEW: - serviceImpl.updateView( - (com.google.cloud.contactcenterinsights.v1.UpdateViewRequest) request, - (io.grpc.stub.StreamObserver) - responseObserver); - break; - case METHODID_DELETE_VIEW: - serviceImpl.deleteView( - (com.google.cloud.contactcenterinsights.v1.DeleteViewRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - default: - throw new AssertionError(); - } - } - - @java.lang.Override - @java.lang.SuppressWarnings("unchecked") - public io.grpc.stub.StreamObserver invoke( - io.grpc.stub.StreamObserver responseObserver) { - switch (methodId) { - default: - throw new AssertionError(); - } - } - } - - private abstract static class ContactCenterInsightsBaseDescriptorSupplier - implements io.grpc.protobuf.ProtoFileDescriptorSupplier, - io.grpc.protobuf.ProtoServiceDescriptorSupplier { - ContactCenterInsightsBaseDescriptorSupplier() {} - - @java.lang.Override - public com.google.protobuf.Descriptors.FileDescriptor getFileDescriptor() { - return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto.getDescriptor(); - } - - @java.lang.Override - public com.google.protobuf.Descriptors.ServiceDescriptor getServiceDescriptor() { - return getFileDescriptor().findServiceByName("ContactCenterInsights"); - } - } - - private static final class ContactCenterInsightsFileDescriptorSupplier - extends ContactCenterInsightsBaseDescriptorSupplier { - ContactCenterInsightsFileDescriptorSupplier() {} - } - - private static final class ContactCenterInsightsMethodDescriptorSupplier - extends ContactCenterInsightsBaseDescriptorSupplier - implements io.grpc.protobuf.ProtoMethodDescriptorSupplier { - private final String methodName; - - ContactCenterInsightsMethodDescriptorSupplier(String methodName) { - this.methodName = methodName; - } - - @java.lang.Override - public com.google.protobuf.Descriptors.MethodDescriptor getMethodDescriptor() { - return getServiceDescriptor().findMethodByName(methodName); - } - } - - private static volatile io.grpc.ServiceDescriptor serviceDescriptor; - - public static io.grpc.ServiceDescriptor getServiceDescriptor() { - io.grpc.ServiceDescriptor result = serviceDescriptor; - if (result == null) { - synchronized (ContactCenterInsightsGrpc.class) { - result = serviceDescriptor; - if (result == null) { - serviceDescriptor = - result = - io.grpc.ServiceDescriptor.newBuilder(SERVICE_NAME) - .setSchemaDescriptor(new ContactCenterInsightsFileDescriptorSupplier()) - .addMethod(getCreateConversationMethod()) - .addMethod(getUpdateConversationMethod()) - .addMethod(getGetConversationMethod()) - .addMethod(getListConversationsMethod()) - .addMethod(getDeleteConversationMethod()) - .addMethod(getCreateAnalysisMethod()) - .addMethod(getGetAnalysisMethod()) - .addMethod(getListAnalysesMethod()) - .addMethod(getDeleteAnalysisMethod()) - .addMethod(getBulkAnalyzeConversationsMethod()) - .addMethod(getIngestConversationsMethod()) - .addMethod(getExportInsightsDataMethod()) - .addMethod(getCreateIssueModelMethod()) - .addMethod(getUpdateIssueModelMethod()) - .addMethod(getGetIssueModelMethod()) - .addMethod(getListIssueModelsMethod()) - .addMethod(getDeleteIssueModelMethod()) - .addMethod(getDeployIssueModelMethod()) - .addMethod(getUndeployIssueModelMethod()) - .addMethod(getGetIssueMethod()) - .addMethod(getListIssuesMethod()) - .addMethod(getUpdateIssueMethod()) - .addMethod(getDeleteIssueMethod()) - .addMethod(getCalculateIssueModelStatsMethod()) - .addMethod(getCreatePhraseMatcherMethod()) - .addMethod(getGetPhraseMatcherMethod()) - .addMethod(getListPhraseMatchersMethod()) - .addMethod(getDeletePhraseMatcherMethod()) - .addMethod(getUpdatePhraseMatcherMethod()) - .addMethod(getCalculateStatsMethod()) - .addMethod(getGetSettingsMethod()) - .addMethod(getUpdateSettingsMethod()) - .addMethod(getCreateViewMethod()) - .addMethod(getGetViewMethod()) - .addMethod(getListViewsMethod()) - .addMethod(getUpdateViewMethod()) - .addMethod(getDeleteViewMethod()) - .build(); - } - } - } - return result; - } -} diff --git a/java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/CalculateIssueModelStatsRequestOrBuilder.java b/java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/CalculateIssueModelStatsRequestOrBuilder.java deleted file mode 100644 index a68d1613586f..000000000000 --- a/java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/CalculateIssueModelStatsRequestOrBuilder.java +++ /dev/null @@ -1,54 +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. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/contactcenterinsights/v1/contact_center_insights.proto - -package com.google.cloud.contactcenterinsights.v1; - -public interface CalculateIssueModelStatsRequestOrBuilder - extends - // @@protoc_insertion_point(interface_extends:google.cloud.contactcenterinsights.v1.CalculateIssueModelStatsRequest) - com.google.protobuf.MessageOrBuilder { - - /** - * - * - *
-   * Required. The resource name of the issue model to query against.
-   * 
- * - * - * string issue_model = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * - * @return The issueModel. - */ - java.lang.String getIssueModel(); - /** - * - * - *
-   * Required. The resource name of the issue model to query against.
-   * 
- * - * - * string issue_model = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * - * @return The bytes for issueModel. - */ - com.google.protobuf.ByteString getIssueModelBytes(); -} diff --git a/java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ContactCenterInsightsProto.java b/java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ContactCenterInsightsProto.java deleted file mode 100644 index 7d70ff9fd824..000000000000 --- a/java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ContactCenterInsightsProto.java +++ /dev/null @@ -1,1411 +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. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/contactcenterinsights/v1/contact_center_insights.proto - -package com.google.cloud.contactcenterinsights.v1; - -public final class ContactCenterInsightsProto { - private ContactCenterInsightsProto() {} - - public static void registerAllExtensions(com.google.protobuf.ExtensionRegistryLite registry) {} - - public static void registerAllExtensions(com.google.protobuf.ExtensionRegistry registry) { - registerAllExtensions((com.google.protobuf.ExtensionRegistryLite) registry); - } - - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_contactcenterinsights_v1_CalculateStatsRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_contactcenterinsights_v1_CalculateStatsRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_contactcenterinsights_v1_CalculateStatsResponse_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_contactcenterinsights_v1_CalculateStatsResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_contactcenterinsights_v1_CalculateStatsResponse_TimeSeries_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_contactcenterinsights_v1_CalculateStatsResponse_TimeSeries_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_contactcenterinsights_v1_CalculateStatsResponse_TimeSeries_Interval_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_contactcenterinsights_v1_CalculateStatsResponse_TimeSeries_Interval_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_contactcenterinsights_v1_CalculateStatsResponse_SmartHighlighterMatchesEntry_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_contactcenterinsights_v1_CalculateStatsResponse_SmartHighlighterMatchesEntry_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_contactcenterinsights_v1_CalculateStatsResponse_CustomHighlighterMatchesEntry_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_contactcenterinsights_v1_CalculateStatsResponse_CustomHighlighterMatchesEntry_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_contactcenterinsights_v1_CalculateStatsResponse_IssueMatchesEntry_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_contactcenterinsights_v1_CalculateStatsResponse_IssueMatchesEntry_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_contactcenterinsights_v1_CalculateStatsResponse_IssueMatchesStatsEntry_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_contactcenterinsights_v1_CalculateStatsResponse_IssueMatchesStatsEntry_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_contactcenterinsights_v1_CreateAnalysisOperationMetadata_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_contactcenterinsights_v1_CreateAnalysisOperationMetadata_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_contactcenterinsights_v1_CreateConversationRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_contactcenterinsights_v1_CreateConversationRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_contactcenterinsights_v1_ListConversationsRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_contactcenterinsights_v1_ListConversationsRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_contactcenterinsights_v1_ListConversationsResponse_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_contactcenterinsights_v1_ListConversationsResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_contactcenterinsights_v1_GetConversationRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_contactcenterinsights_v1_GetConversationRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_contactcenterinsights_v1_UpdateConversationRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_contactcenterinsights_v1_UpdateConversationRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_contactcenterinsights_v1_DeleteConversationRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_contactcenterinsights_v1_DeleteConversationRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_contactcenterinsights_v1_IngestConversationsRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_contactcenterinsights_v1_IngestConversationsRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_contactcenterinsights_v1_IngestConversationsRequest_GcsSource_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_contactcenterinsights_v1_IngestConversationsRequest_GcsSource_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_contactcenterinsights_v1_IngestConversationsRequest_TranscriptObjectConfig_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_contactcenterinsights_v1_IngestConversationsRequest_TranscriptObjectConfig_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_contactcenterinsights_v1_IngestConversationsRequest_ConversationConfig_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_contactcenterinsights_v1_IngestConversationsRequest_ConversationConfig_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_contactcenterinsights_v1_IngestConversationsMetadata_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_contactcenterinsights_v1_IngestConversationsMetadata_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_contactcenterinsights_v1_IngestConversationsResponse_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_contactcenterinsights_v1_IngestConversationsResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_contactcenterinsights_v1_CreateAnalysisRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_contactcenterinsights_v1_CreateAnalysisRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_contactcenterinsights_v1_ListAnalysesRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_contactcenterinsights_v1_ListAnalysesRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_contactcenterinsights_v1_ListAnalysesResponse_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_contactcenterinsights_v1_ListAnalysesResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_contactcenterinsights_v1_GetAnalysisRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_contactcenterinsights_v1_GetAnalysisRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_contactcenterinsights_v1_DeleteAnalysisRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_contactcenterinsights_v1_DeleteAnalysisRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_contactcenterinsights_v1_BulkAnalyzeConversationsRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_contactcenterinsights_v1_BulkAnalyzeConversationsRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_contactcenterinsights_v1_BulkAnalyzeConversationsMetadata_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_contactcenterinsights_v1_BulkAnalyzeConversationsMetadata_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_contactcenterinsights_v1_BulkAnalyzeConversationsResponse_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_contactcenterinsights_v1_BulkAnalyzeConversationsResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_contactcenterinsights_v1_ExportInsightsDataRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_contactcenterinsights_v1_ExportInsightsDataRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_contactcenterinsights_v1_ExportInsightsDataRequest_BigQueryDestination_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_contactcenterinsights_v1_ExportInsightsDataRequest_BigQueryDestination_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_contactcenterinsights_v1_ExportInsightsDataMetadata_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_contactcenterinsights_v1_ExportInsightsDataMetadata_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_contactcenterinsights_v1_ExportInsightsDataResponse_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_contactcenterinsights_v1_ExportInsightsDataResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_contactcenterinsights_v1_CreateIssueModelRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_contactcenterinsights_v1_CreateIssueModelRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_contactcenterinsights_v1_CreateIssueModelMetadata_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_contactcenterinsights_v1_CreateIssueModelMetadata_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_contactcenterinsights_v1_UpdateIssueModelRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_contactcenterinsights_v1_UpdateIssueModelRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_contactcenterinsights_v1_ListIssueModelsRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_contactcenterinsights_v1_ListIssueModelsRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_contactcenterinsights_v1_ListIssueModelsResponse_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_contactcenterinsights_v1_ListIssueModelsResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_contactcenterinsights_v1_GetIssueModelRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_contactcenterinsights_v1_GetIssueModelRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_contactcenterinsights_v1_DeleteIssueModelRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_contactcenterinsights_v1_DeleteIssueModelRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_contactcenterinsights_v1_DeleteIssueModelMetadata_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_contactcenterinsights_v1_DeleteIssueModelMetadata_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_contactcenterinsights_v1_DeployIssueModelRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_contactcenterinsights_v1_DeployIssueModelRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_contactcenterinsights_v1_DeployIssueModelResponse_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_contactcenterinsights_v1_DeployIssueModelResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_contactcenterinsights_v1_DeployIssueModelMetadata_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_contactcenterinsights_v1_DeployIssueModelMetadata_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_contactcenterinsights_v1_UndeployIssueModelRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_contactcenterinsights_v1_UndeployIssueModelRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_contactcenterinsights_v1_UndeployIssueModelResponse_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_contactcenterinsights_v1_UndeployIssueModelResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_contactcenterinsights_v1_UndeployIssueModelMetadata_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_contactcenterinsights_v1_UndeployIssueModelMetadata_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_contactcenterinsights_v1_GetIssueRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_contactcenterinsights_v1_GetIssueRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_contactcenterinsights_v1_ListIssuesRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_contactcenterinsights_v1_ListIssuesRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_contactcenterinsights_v1_ListIssuesResponse_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_contactcenterinsights_v1_ListIssuesResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_contactcenterinsights_v1_UpdateIssueRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_contactcenterinsights_v1_UpdateIssueRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_contactcenterinsights_v1_DeleteIssueRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_contactcenterinsights_v1_DeleteIssueRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_contactcenterinsights_v1_CalculateIssueModelStatsRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_contactcenterinsights_v1_CalculateIssueModelStatsRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_contactcenterinsights_v1_CalculateIssueModelStatsResponse_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_contactcenterinsights_v1_CalculateIssueModelStatsResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_contactcenterinsights_v1_CreatePhraseMatcherRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_contactcenterinsights_v1_CreatePhraseMatcherRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_contactcenterinsights_v1_ListPhraseMatchersRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_contactcenterinsights_v1_ListPhraseMatchersRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_contactcenterinsights_v1_ListPhraseMatchersResponse_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_contactcenterinsights_v1_ListPhraseMatchersResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_contactcenterinsights_v1_GetPhraseMatcherRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_contactcenterinsights_v1_GetPhraseMatcherRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_contactcenterinsights_v1_DeletePhraseMatcherRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_contactcenterinsights_v1_DeletePhraseMatcherRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_contactcenterinsights_v1_UpdatePhraseMatcherRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_contactcenterinsights_v1_UpdatePhraseMatcherRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_contactcenterinsights_v1_GetSettingsRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_contactcenterinsights_v1_GetSettingsRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_contactcenterinsights_v1_UpdateSettingsRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_contactcenterinsights_v1_UpdateSettingsRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_contactcenterinsights_v1_CreateViewRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_contactcenterinsights_v1_CreateViewRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_contactcenterinsights_v1_GetViewRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_contactcenterinsights_v1_GetViewRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_contactcenterinsights_v1_ListViewsRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_contactcenterinsights_v1_ListViewsRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_contactcenterinsights_v1_ListViewsResponse_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_contactcenterinsights_v1_ListViewsResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_contactcenterinsights_v1_UpdateViewRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_contactcenterinsights_v1_UpdateViewRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_contactcenterinsights_v1_DeleteViewRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_contactcenterinsights_v1_DeleteViewRequest_fieldAccessorTable; - - public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { - return descriptor; - } - - private static com.google.protobuf.Descriptors.FileDescriptor descriptor; - - static { - java.lang.String[] descriptorData = { - "\nCgoogle/cloud/contactcenterinsights/v1/" - + "contact_center_insights.proto\022%google.cl" - + "oud.contactcenterinsights.v1\032\034google/api" - + "/annotations.proto\032\027google/api/client.pr" - + "oto\032\037google/api/field_behavior.proto\032\031go" - + "ogle/api/resource.proto\0325google/cloud/co" - + "ntactcenterinsights/v1/resources.proto\032#" - + "google/longrunning/operations.proto\032\036goo" - + "gle/protobuf/duration.proto\032\033google/prot" - + "obuf/empty.proto\032 google/protobuf/field_" - + "mask.proto\032\037google/protobuf/timestamp.pr" - + "oto\032\027google/rpc/status.proto\"d\n\025Calculat" - + "eStatsRequest\022;\n\010location\030\001 \001(\tB)\340A\002\372A#\n" - + "!locations.googleapis.com/Location\022\016\n\006fi" - + "lter\030\002 \001(\t\"\217\n\n\026CalculateStatsResponse\0223\n" - + "\020average_duration\030\001 \001(\0132\031.google.protobu" - + "f.Duration\022\032\n\022average_turn_count\030\002 \001(\005\022\032" - + "\n\022conversation_count\030\003 \001(\005\022}\n\031smart_high" - + "lighter_matches\030\004 \003(\0132Z.google.cloud.con" - + "tactcenterinsights.v1.CalculateStatsResp" - + "onse.SmartHighlighterMatchesEntry\022\177\n\032cus" - + "tom_highlighter_matches\030\005 \003(\0132[.google.c" - + "loud.contactcenterinsights.v1.CalculateS" - + "tatsResponse.CustomHighlighterMatchesEnt" - + "ry\022j\n\rissue_matches\030\006 \003(\0132O.google.cloud" - + ".contactcenterinsights.v1.CalculateStats" - + "Response.IssueMatchesEntryB\002\030\001\022q\n\023issue_" - + "matches_stats\030\010 \003(\0132T.google.cloud.conta" - + "ctcenterinsights.v1.CalculateStatsRespon" - + "se.IssueMatchesStatsEntry\022p\n\036conversatio" - + "n_count_time_series\030\007 \001(\0132H.google.cloud" - + ".contactcenterinsights.v1.CalculateStats" - + "Response.TimeSeries\032\375\001\n\nTimeSeries\0224\n\021in" - + "terval_duration\030\001 \001(\0132\031.google.protobuf." - + "Duration\022a\n\006points\030\002 \003(\0132Q.google.cloud." - + "contactcenterinsights.v1.CalculateStatsR" - + "esponse.TimeSeries.Interval\032V\n\010Interval\022" - + ".\n\nstart_time\030\001 \001(\0132\032.google.protobuf.Ti" - + "mestamp\022\032\n\022conversation_count\030\002 \001(\005\032>\n\034S" - + "martHighlighterMatchesEntry\022\013\n\003key\030\001 \001(\t" - + "\022\r\n\005value\030\002 \001(\005:\0028\001\032?\n\035CustomHighlighter" - + "MatchesEntry\022\013\n\003key\030\001 \001(\t\022\r\n\005value\030\002 \001(\005" - + ":\0028\001\0323\n\021IssueMatchesEntry\022\013\n\003key\030\001 \001(\t\022\r" - + "\n\005value\030\002 \001(\005:\0028\001\032\200\001\n\026IssueMatchesStatsE" - + "ntry\022\013\n\003key\030\001 \001(\t\022U\n\005value\030\002 \001(\0132F.googl" - + "e.cloud.contactcenterinsights.v1.IssueMo" - + "delLabelStats.IssueStats:\0028\001\"\266\002\n\037CreateA" - + "nalysisOperationMetadata\0224\n\013create_time\030" - + "\001 \001(\0132\032.google.protobuf.TimestampB\003\340A\003\0221" - + "\n\010end_time\030\002 \001(\0132\032.google.protobuf.Times" - + "tampB\003\340A\003\022O\n\014conversation\030\003 \001(\tB9\340A\003\372A3\n" - + "1contactcenterinsights.googleapis.com/Co" - + "nversation\022Y\n\022annotator_selector\030\004 \001(\01328" - + ".google.cloud.contactcenterinsights.v1.A" - + "nnotatorSelectorB\003\340A\003\"\277\001\n\031CreateConversa" - + "tionRequest\0229\n\006parent\030\001 \001(\tB)\340A\002\372A#\n!loc" - + "ations.googleapis.com/Location\022N\n\014conver" - + "sation\030\002 \001(\01323.google.cloud.contactcente" - + "rinsights.v1.ConversationB\003\340A\002\022\027\n\017conver" - + "sation_id\030\003 \001(\t\"\323\001\n\030ListConversationsReq" - + "uest\0229\n\006parent\030\001 \001(\tB)\340A\002\372A#\n!locations." - + "googleapis.com/Location\022\021\n\tpage_size\030\002 \001" - + "(\005\022\022\n\npage_token\030\003 \001(\t\022\016\n\006filter\030\004 \001(\t\022E" - + "\n\004view\030\005 \001(\01627.google.cloud.contactcente" - + "rinsights.v1.ConversationView\"\200\001\n\031ListCo" - + "nversationsResponse\022J\n\rconversations\030\001 \003" - + "(\01323.google.cloud.contactcenterinsights." - + "v1.Conversation\022\027\n\017next_page_token\030\002 \001(\t" - + "\"\250\001\n\026GetConversationRequest\022G\n\004name\030\001 \001(" - + "\tB9\340A\002\372A3\n1contactcenterinsights.googlea" - + "pis.com/Conversation\022E\n\004view\030\002 \001(\01627.goo" - + "gle.cloud.contactcenterinsights.v1.Conve" - + "rsationView\"\234\001\n\031UpdateConversationReques" - + "t\022N\n\014conversation\030\001 \001(\01323.google.cloud.c" - + "ontactcenterinsights.v1.ConversationB\003\340A" - + "\002\022/\n\013update_mask\030\002 \001(\0132\032.google.protobuf" - + ".FieldMask\"s\n\031DeleteConversationRequest\022" - + "G\n\004name\030\001 \001(\tB9\340A\002\372A3\n1contactcenterinsi" - + "ghts.googleapis.com/Conversation\022\r\n\005forc" - + "e\030\002 \001(\010\"\377\004\n\032IngestConversationsRequest\022a" - + "\n\ngcs_source\030\002 \001(\0132K.google.cloud.contac" - + "tcenterinsights.v1.IngestConversationsRe" - + "quest.GcsSourceH\000\022|\n\030transcript_object_c" - + "onfig\030\003 \001(\0132X.google.cloud.contactcenter" - + "insights.v1.IngestConversationsRequest.T" - + "ranscriptObjectConfigH\001\0229\n\006parent\030\001 \001(\tB" - + ")\340A\002\372A#\n!locations.googleapis.com/Locati" - + "on\022q\n\023conversation_config\030\004 \001(\0132T.google" - + ".cloud.contactcenterinsights.v1.IngestCo" - + "nversationsRequest.ConversationConfig\032$\n" - + "\tGcsSource\022\027\n\nbucket_uri\030\001 \001(\tB\003\340A\002\032i\n\026T" - + "ranscriptObjectConfig\022O\n\006medium\030\001 \001(\0162:." - + "google.cloud.contactcenterinsights.v1.Co" - + "nversation.MediumB\003\340A\002\032&\n\022ConversationCo" - + "nfig\022\020\n\010agent_id\030\001 \001(\tB\010\n\006sourceB\017\n\robje" - + "ct_config\"\220\002\n\033IngestConversationsMetadat" - + "a\0224\n\013create_time\030\001 \001(\0132\032.google.protobuf" - + ".TimestampB\003\340A\003\0221\n\010end_time\030\002 \001(\0132\032.goog" - + "le.protobuf.TimestampB\003\340A\003\022W\n\007request\030\003 " - + "\001(\0132A.google.cloud.contactcenterinsights" - + ".v1.IngestConversationsRequestB\003\340A\003\022/\n\016p" - + "artial_errors\030\004 \003(\0132\022.google.rpc.StatusB" - + "\003\340A\003\"\035\n\033IngestConversationsResponse\"\252\001\n\025" - + "CreateAnalysisRequest\022I\n\006parent\030\001 \001(\tB9\340" - + "A\002\372A3\n1contactcenterinsights.googleapis." - + "com/Conversation\022F\n\010analysis\030\002 \001(\0132/.goo" - + "gle.cloud.contactcenterinsights.v1.Analy" - + "sisB\003\340A\002\"\227\001\n\023ListAnalysesRequest\022I\n\006pare" - + "nt\030\001 \001(\tB9\340A\002\372A3\n1contactcenterinsights." - + "googleapis.com/Conversation\022\021\n\tpage_size" - + "\030\002 \001(\005\022\022\n\npage_token\030\003 \001(\t\022\016\n\006filter\030\004 \001" - + "(\t\"r\n\024ListAnalysesResponse\022A\n\010analyses\030\001" - + " \003(\0132/.google.cloud.contactcenterinsight" - + "s.v1.Analysis\022\027\n\017next_page_token\030\002 \001(\t\"Y" - + "\n\022GetAnalysisRequest\022C\n\004name\030\001 \001(\tB5\340A\002\372" - + "A/\n-contactcenterinsights.googleapis.com" - + "/Analysis\"\\\n\025DeleteAnalysisRequest\022C\n\004na" - + "me\030\001 \001(\tB5\340A\002\372A/\n-contactcenterinsights." - + "googleapis.com/Analysis\"\351\001\n\037BulkAnalyzeC" - + "onversationsRequest\0229\n\006parent\030\001 \001(\tB)\340A\002" - + "\372A#\n!locations.googleapis.com/Location\022\023" - + "\n\006filter\030\002 \001(\tB\003\340A\002\022 \n\023analysis_percenta" - + "ge\030\003 \001(\002B\003\340A\002\022T\n\022annotator_selector\030\010 \001(" - + "\01328.google.cloud.contactcenterinsights.v" - + "1.AnnotatorSelector\"\303\002\n BulkAnalyzeConve" - + "rsationsMetadata\022/\n\013create_time\030\001 \001(\0132\032." - + "google.protobuf.Timestamp\022,\n\010end_time\030\002 " - + "\001(\0132\032.google.protobuf.Timestamp\022W\n\007reque" - + "st\030\003 \001(\0132F.google.cloud.contactcenterins" - + "ights.v1.BulkAnalyzeConversationsRequest" - + "\022 \n\030completed_analyses_count\030\004 \001(\005\022\035\n\025fa" - + "iled_analyses_count\030\005 \001(\005\022&\n\036total_reque" - + "sted_analyses_count\030\006 \001(\005\"d\n BulkAnalyze" - + "ConversationsResponse\022!\n\031successful_anal" - + "ysis_count\030\001 \001(\005\022\035\n\025failed_analysis_coun" - + "t\030\002 \001(\005\"\230\004\n\031ExportInsightsDataRequest\022u\n" - + "\025big_query_destination\030\002 \001(\0132T.google.cl" - + "oud.contactcenterinsights.v1.ExportInsig" - + "htsDataRequest.BigQueryDestinationH\000\0229\n\006" - + "parent\030\001 \001(\tB)\340A\002\372A#\n!locations.googleap" - + "is.com/Location\022\016\n\006filter\030\003 \001(\t\022\017\n\007kms_k" - + "ey\030\004 \001(\t\022l\n\021write_disposition\030\005 \001(\0162Q.go" - + "ogle.cloud.contactcenterinsights.v1.Expo" - + "rtInsightsDataRequest.WriteDisposition\032N" - + "\n\023BigQueryDestination\022\022\n\nproject_id\030\003 \001(" - + "\t\022\024\n\007dataset\030\001 \001(\tB\003\340A\002\022\r\n\005table\030\002 \001(\t\"[" - + "\n\020WriteDisposition\022!\n\035WRITE_DISPOSITION_" - + "UNSPECIFIED\020\000\022\022\n\016WRITE_TRUNCATE\020\001\022\020\n\014WRI" - + "TE_APPEND\020\002B\r\n\013destination\"\204\002\n\032ExportIns" - + "ightsDataMetadata\0224\n\013create_time\030\001 \001(\0132\032" - + ".google.protobuf.TimestampB\003\340A\003\0221\n\010end_t" - + "ime\030\002 \001(\0132\032.google.protobuf.TimestampB\003\340" - + "A\003\022Q\n\007request\030\003 \001(\0132@.google.cloud.conta" - + "ctcenterinsights.v1.ExportInsightsDataRe" - + "quest\022*\n\016partial_errors\030\004 \003(\0132\022.google.r" - + "pc.Status\"\034\n\032ExportInsightsDataResponse\"" - + "\241\001\n\027CreateIssueModelRequest\0229\n\006parent\030\001 " - + "\001(\tB)\340A\002\372A#\n!locations.googleapis.com/Lo" - + "cation\022K\n\013issue_model\030\002 \001(\01321.google.clo" - + "ud.contactcenterinsights.v1.IssueModelB\003" - + "\340A\002\"\324\001\n\030CreateIssueModelMetadata\0224\n\013crea" - + "te_time\030\001 \001(\0132\032.google.protobuf.Timestam" - + "pB\003\340A\003\0221\n\010end_time\030\002 \001(\0132\032.google.protob" - + "uf.TimestampB\003\340A\003\022O\n\007request\030\003 \001(\0132>.goo" - + "gle.cloud.contactcenterinsights.v1.Creat" - + "eIssueModelRequest\"\227\001\n\027UpdateIssueModelR" - + "equest\022K\n\013issue_model\030\001 \001(\01321.google.clo" - + "ud.contactcenterinsights.v1.IssueModelB\003" - + "\340A\002\022/\n\013update_mask\030\002 \001(\0132\032.google.protob" - + "uf.FieldMask\"S\n\026ListIssueModelsRequest\0229" - + "\n\006parent\030\001 \001(\tB)\340A\002\372A#\n!locations.google" - + "apis.com/Location\"b\n\027ListIssueModelsResp" - + "onse\022G\n\014issue_models\030\001 \003(\01321.google.clou" - + "d.contactcenterinsights.v1.IssueModel\"]\n" - + "\024GetIssueModelRequest\022E\n\004name\030\001 \001(\tB7\340A\002" - + "\372A1\n/contactcenterinsights.googleapis.co" - + "m/IssueModel\"`\n\027DeleteIssueModelRequest\022" - + "E\n\004name\030\001 \001(\tB7\340A\002\372A1\n/contactcenterinsi" - + "ghts.googleapis.com/IssueModel\"\324\001\n\030Delet" - + "eIssueModelMetadata\0224\n\013create_time\030\001 \001(\013" - + "2\032.google.protobuf.TimestampB\003\340A\003\0221\n\010end" - + "_time\030\002 \001(\0132\032.google.protobuf.TimestampB" - + "\003\340A\003\022O\n\007request\030\003 \001(\0132>.google.cloud.con" - + "tactcenterinsights.v1.DeleteIssueModelRe" - + "quest\"`\n\027DeployIssueModelRequest\022E\n\004name" - + "\030\001 \001(\tB7\340A\002\372A1\n/contactcenterinsights.go" - + "ogleapis.com/IssueModel\"\032\n\030DeployIssueMo" - + "delResponse\"\324\001\n\030DeployIssueModelMetadata" - + "\0224\n\013create_time\030\001 \001(\0132\032.google.protobuf." - + "TimestampB\003\340A\003\0221\n\010end_time\030\002 \001(\0132\032.googl" - + "e.protobuf.TimestampB\003\340A\003\022O\n\007request\030\003 \001" - + "(\0132>.google.cloud.contactcenterinsights." - + "v1.DeployIssueModelRequest\"b\n\031UndeployIs" - + "sueModelRequest\022E\n\004name\030\001 \001(\tB7\340A\002\372A1\n/c" - + "ontactcenterinsights.googleapis.com/Issu" - + "eModel\"\034\n\032UndeployIssueModelResponse\"\330\001\n" - + "\032UndeployIssueModelMetadata\0224\n\013create_ti" - + "me\030\001 \001(\0132\032.google.protobuf.TimestampB\003\340A" - + "\003\0221\n\010end_time\030\002 \001(\0132\032.google.protobuf.Ti" - + "mestampB\003\340A\003\022Q\n\007request\030\003 \001(\0132@.google.c" - + "loud.contactcenterinsights.v1.UndeployIs" - + "sueModelRequest\"S\n\017GetIssueRequest\022@\n\004na" - + "me\030\001 \001(\tB2\340A\002\372A,\n*contactcenterinsights." - + "googleapis.com/Issue\"\\\n\021ListIssuesReques" - + "t\022G\n\006parent\030\001 \001(\tB7\340A\002\372A1\n/contactcenter" - + "insights.googleapis.com/IssueModel\"R\n\022Li" - + "stIssuesResponse\022<\n\006issues\030\001 \003(\0132,.googl" - + "e.cloud.contactcenterinsights.v1.Issue\"\207" - + "\001\n\022UpdateIssueRequest\022@\n\005issue\030\001 \001(\0132,.g" - + "oogle.cloud.contactcenterinsights.v1.Iss" - + "ueB\003\340A\002\022/\n\013update_mask\030\002 \001(\0132\032.google.pr" - + "otobuf.FieldMask\"V\n\022DeleteIssueRequest\022@" - + "\n\004name\030\001 \001(\tB2\340A\002\372A,\n*contactcenterinsig" - + "hts.googleapis.com/Issue\"o\n\037CalculateIss" - + "ueModelStatsRequest\022L\n\013issue_model\030\001 \001(\t" - + "B7\340A\002\372A1\n/contactcenterinsights.googleap" - + "is.com/IssueModel\"v\n CalculateIssueModel" - + "StatsResponse\022R\n\rcurrent_stats\030\004 \001(\0132;.g" - + "oogle.cloud.contactcenterinsights.v1.Iss" - + "ueModelLabelStats\"\252\001\n\032CreatePhraseMatche" - + "rRequest\0229\n\006parent\030\001 \001(\tB)\340A\002\372A#\n!locati" - + "ons.googleapis.com/Location\022Q\n\016phrase_ma" - + "tcher\030\002 \001(\01324.google.cloud.contactcenter" - + "insights.v1.PhraseMatcherB\003\340A\002\"\215\001\n\031ListP" - + "hraseMatchersRequest\0229\n\006parent\030\001 \001(\tB)\340A" - + "\002\372A#\n!locations.googleapis.com/Location\022" - + "\021\n\tpage_size\030\002 \001(\005\022\022\n\npage_token\030\003 \001(\t\022\016" - + "\n\006filter\030\004 \001(\t\"\204\001\n\032ListPhraseMatchersRes" - + "ponse\022M\n\017phrase_matchers\030\001 \003(\01324.google." - + "cloud.contactcenterinsights.v1.PhraseMat" - + "cher\022\027\n\017next_page_token\030\002 \001(\t\"c\n\027GetPhra" - + "seMatcherRequest\022H\n\004name\030\001 \001(\tB:\340A\002\372A4\n2" - + "contactcenterinsights.googleapis.com/Phr" - + "aseMatcher\"f\n\032DeletePhraseMatcherRequest" - + "\022H\n\004name\030\001 \001(\tB:\340A\002\372A4\n2contactcenterins" - + "ights.googleapis.com/PhraseMatcher\"\240\001\n\032U" - + "pdatePhraseMatcherRequest\022Q\n\016phrase_matc" - + "her\030\001 \001(\01324.google.cloud.contactcenterin" - + "sights.v1.PhraseMatcherB\003\340A\002\022/\n\013update_m" - + "ask\030\002 \001(\0132\032.google.protobuf.FieldMask\"Y\n" - + "\022GetSettingsRequest\022C\n\004name\030\001 \001(\tB5\340A\002\372A" - + "/\n-contactcenterinsights.googleapis.com/" - + "Settings\"\225\001\n\025UpdateSettingsRequest\022F\n\010se" - + "ttings\030\001 \001(\0132/.google.cloud.contactcente" - + "rinsights.v1.SettingsB\003\340A\002\0224\n\013update_mas" - + "k\030\002 \001(\0132\032.google.protobuf.FieldMaskB\003\340A\002" - + "\"\216\001\n\021CreateViewRequest\0229\n\006parent\030\001 \001(\tB)" - + "\340A\002\372A#\n!locations.googleapis.com/Locatio" - + "n\022>\n\004view\030\002 \001(\0132+.google.cloud.contactce" - + "nterinsights.v1.ViewB\003\340A\002\"Q\n\016GetViewRequ" - + "est\022?\n\004name\030\001 \001(\tB1\340A\002\372A+\n)contactcenter" - + "insights.googleapis.com/View\"t\n\020ListView" - + "sRequest\0229\n\006parent\030\001 \001(\tB)\340A\002\372A#\n!locati" - + "ons.googleapis.com/Location\022\021\n\tpage_size" - + "\030\002 \001(\005\022\022\n\npage_token\030\003 \001(\t\"h\n\021ListViewsR" - + "esponse\022:\n\005views\030\001 \003(\0132+.google.cloud.co" - + "ntactcenterinsights.v1.View\022\027\n\017next_page" - + "_token\030\002 \001(\t\"\204\001\n\021UpdateViewRequest\022>\n\004vi" - + "ew\030\001 \001(\0132+.google.cloud.contactcenterins" - + "ights.v1.ViewB\003\340A\002\022/\n\013update_mask\030\002 \001(\0132" - + "\032.google.protobuf.FieldMask\"T\n\021DeleteVie" - + "wRequest\022?\n\004name\030\001 \001(\tB1\340A\002\372A+\n)contactc" - + "enterinsights.googleapis.com/View*J\n\020Con" - + "versationView\022!\n\035CONVERSATION_VIEW_UNSPE" - + "CIFIED\020\000\022\010\n\004FULL\020\002\022\t\n\005BASIC\020\0012\321@\n\025Contac" - + "tCenterInsights\022\372\001\n\022CreateConversation\022@" - + ".google.cloud.contactcenterinsights.v1.C" - + "reateConversationRequest\0323.google.cloud." - + "contactcenterinsights.v1.Conversation\"m\202" - + "\323\344\223\002A\"1/v1/{parent=projects/*/locations/" - + "*}/conversations:\014conversation\332A#parent," - + "conversation,conversation_id\022\374\001\n\022UpdateC" - + "onversation\022@.google.cloud.contactcenter" - + "insights.v1.UpdateConversationRequest\0323." - + "google.cloud.contactcenterinsights.v1.Co" - + "nversation\"o\202\323\344\223\002N2>/v1/{conversation.na" - + "me=projects/*/locations/*/conversations/" - + "*}:\014conversation\332A\030conversation,update_m" - + "ask\022\307\001\n\017GetConversation\022=.google.cloud.c" - + "ontactcenterinsights.v1.GetConversationR" - + "equest\0323.google.cloud.contactcenterinsig" - + "hts.v1.Conversation\"@\202\323\344\223\0023\0221/v1/{name=p" - + "rojects/*/locations/*/conversations/*}\332A" - + "\004name\022\332\001\n\021ListConversations\022?.google.clo" - + "ud.contactcenterinsights.v1.ListConversa" - + "tionsRequest\032@.google.cloud.contactcente" - + "rinsights.v1.ListConversationsResponse\"B" - + "\202\323\344\223\0023\0221/v1/{parent=projects/*/locations" - + "/*}/conversations\332A\006parent\022\260\001\n\022DeleteCon" - + "versation\022@.google.cloud.contactcenterin" - + "sights.v1.DeleteConversationRequest\032\026.go" - + "ogle.protobuf.Empty\"@\202\323\344\223\0023*1/v1/{name=p" - + "rojects/*/locations/*/conversations/*}\332A" - + "\004name\022\376\001\n\016CreateAnalysis\022<.google.cloud." - + "contactcenterinsights.v1.CreateAnalysisR" - + "equest\032\035.google.longrunning.Operation\"\216\001" - + "\202\323\344\223\002H\"\022\022*.g" - + "oogle.cloud.contactcenterinsights.v1.Cre" - + "ateIssueModelRequest\032\035.google.longrunnin" - + "g.Operation\"\202\001\202\323\344\223\002>\"//v1/{parent=projec" - + "ts/*/locations/*}/issueModels:\013issue_mod" - + "el\332A\022parent,issue_model\312A&\n\nIssueModel\022\030" - + "CreateIssueModelMetadata\022\361\001\n\020UpdateIssue" - + "Model\022>.google.cloud.contactcenterinsigh" - + "ts.v1.UpdateIssueModelRequest\0321.google.c" - + "loud.contactcenterinsights.v1.IssueModel" - + "\"j\202\323\344\223\002J2;/v1/{issue_model.name=projects" - + "/*/locations/*/issueModels/*}:\013issue_mod" - + "el\332A\027issue_model,update_mask\022\277\001\n\rGetIssu" - + "eModel\022;.google.cloud.contactcenterinsig" - + "hts.v1.GetIssueModelRequest\0321.google.clo" - + "ud.contactcenterinsights.v1.IssueModel\">" - + "\202\323\344\223\0021\022//v1/{name=projects/*/locations/*" - + "/issueModels/*}\332A\004name\022\322\001\n\017ListIssueMode" - + "ls\022=.google.cloud.contactcenterinsights." - + "v1.ListIssueModelsRequest\032>.google.cloud" - + ".contactcenterinsights.v1.ListIssueModel" - + "sResponse\"@\202\323\344\223\0021\022//v1/{parent=projects/" - + "*/locations/*}/issueModels\332A\006parent\022\345\001\n\020" - + "DeleteIssueModel\022>.google.cloud.contactc" - + "enterinsights.v1.DeleteIssueModelRequest" - + "\032\035.google.longrunning.Operation\"r\202\323\344\223\0021*" - + "//v1/{name=projects/*/locations/*/issueM" - + "odels/*}\332A\004name\312A1\n\025google.protobuf.Empt" - + "y\022\030DeleteIssueModelMetadata\022\362\001\n\020DeployIs" - + "sueModel\022>.google.cloud.contactcenterins" - + "ights.v1.DeployIssueModelRequest\032\035.googl" - + "e.longrunning.Operation\"\177\202\323\344\223\002;\"6/v1/{na" - + "me=projects/*/locations/*/issueModels/*}" - + ":deploy:\001*\332A\004name\312A4\n\030DeployIssueModelRe" - + "sponse\022\030DeployIssueModelMetadata\022\375\001\n\022Und" - + "eployIssueModel\022@.google.cloud.contactce" - + "nterinsights.v1.UndeployIssueModelReques" - + "t\032\035.google.longrunning.Operation\"\205\001\202\323\344\223\002" - + "=\"8/v1/{name=projects/*/locations/*/issu" - + "eModels/*}:undeploy:\001*\332A\004name\312A8\n\032Undepl" - + "oyIssueModelResponse\022\032UndeployIssueModel" - + "Metadata\022\271\001\n\010GetIssue\0226.google.cloud.con" - + "tactcenterinsights.v1.GetIssueRequest\032,." - + "google.cloud.contactcenterinsights.v1.Is" - + "sue\"G\202\323\344\223\002:\0228/v1/{name=projects/*/locati" - + "ons/*/issueModels/*/issues/*}\332A\004name\022\314\001\n" - + "\nListIssues\0228.google.cloud.contactcenter" - + "insights.v1.ListIssuesRequest\0329.google.c" - + "loud.contactcenterinsights.v1.ListIssues" - + "Response\"I\202\323\344\223\002:\0228/v1/{parent=projects/*" - + "/locations/*/issueModels/*}/issues\332A\006par" - + "ent\022\331\001\n\013UpdateIssue\0229.google.cloud.conta" - + "ctcenterinsights.v1.UpdateIssueRequest\032," - + ".google.cloud.contactcenterinsights.v1.I" - + "ssue\"a\202\323\344\223\002G2>/v1/{issue.name=projects/*" - + "/locations/*/issueModels/*/issues/*}:\005is" - + "sue\332A\021issue,update_mask\022\251\001\n\013DeleteIssue\022" - + "9.google.cloud.contactcenterinsights.v1." - + "DeleteIssueRequest\032\026.google.protobuf.Emp" - + "ty\"G\202\323\344\223\002:*8/v1/{name=projects/*/locatio" - + "ns/*/issueModels/*/issues/*}\332A\004name\022\222\002\n\030" - + "CalculateIssueModelStats\022F.google.cloud." - + "contactcenterinsights.v1.CalculateIssueM" - + "odelStatsRequest\032G.google.cloud.contactc" - + "enterinsights.v1.CalculateIssueModelStat", - "sResponse\"e\202\323\344\223\002Q\022O/v1/{issue_model=proj" - + "ects/*/locations/*/issueModels/*}:calcul" - + "ateIssueModelStats\332A\013issue_model\022\362\001\n\023Cre" - + "atePhraseMatcher\022A.google.cloud.contactc" - + "enterinsights.v1.CreatePhraseMatcherRequ" - + "est\0324.google.cloud.contactcenterinsights" - + ".v1.PhraseMatcher\"b\202\323\344\223\002D\"2/v1/{parent=p" - + "rojects/*/locations/*}/phraseMatchers:\016p" - + "hrase_matcher\332A\025parent,phrase_matcher\022\313\001" - + "\n\020GetPhraseMatcher\022>.google.cloud.contac" - + "tcenterinsights.v1.GetPhraseMatcherReque" - + "st\0324.google.cloud.contactcenterinsights." - + "v1.PhraseMatcher\"A\202\323\344\223\0024\0222/v1/{name=proj" - + "ects/*/locations/*/phraseMatchers/*}\332A\004n" - + "ame\022\336\001\n\022ListPhraseMatchers\022@.google.clou" - + "d.contactcenterinsights.v1.ListPhraseMat" - + "chersRequest\032A.google.cloud.contactcente" - + "rinsights.v1.ListPhraseMatchersResponse\"" - + "C\202\323\344\223\0024\0222/v1/{parent=projects/*/location" - + "s/*}/phraseMatchers\332A\006parent\022\263\001\n\023DeleteP" - + "hraseMatcher\022A.google.cloud.contactcente" - + "rinsights.v1.DeletePhraseMatcherRequest\032" - + "\026.google.protobuf.Empty\"A\202\323\344\223\0024*2/v1/{na" - + "me=projects/*/locations/*/phraseMatchers" - + "/*}\332A\004name\022\206\002\n\023UpdatePhraseMatcher\022A.goo" - + "gle.cloud.contactcenterinsights.v1.Updat" - + "ePhraseMatcherRequest\0324.google.cloud.con" - + "tactcenterinsights.v1.PhraseMatcher\"v\202\323\344" - + "\223\002S2A/v1/{phrase_matcher.name=projects/*" - + "/locations/*/phraseMatchers/*}:\016phrase_m" - + "atcher\332A\032phrase_matcher,update_mask\022\344\001\n\016" - + "CalculateStats\022<.google.cloud.contactcen" - + "terinsights.v1.CalculateStatsRequest\032=.g" - + "oogle.cloud.contactcenterinsights.v1.Cal" - + "culateStatsResponse\"U\202\323\344\223\002D\022B/v1/{locati" - + "on=projects/*/locations/*}/conversations" - + ":calculateStats\332A\010location\022\264\001\n\013GetSettin" - + "gs\0229.google.cloud.contactcenterinsights." - + "v1.GetSettingsRequest\032/.google.cloud.con" - + "tactcenterinsights.v1.Settings\"9\202\323\344\223\002,\022*" - + "/v1/{name=projects/*/locations/*/setting" - + "s}\332A\004name\022\335\001\n\016UpdateSettings\022<.google.cl" - + "oud.contactcenterinsights.v1.UpdateSetti" - + "ngsRequest\032/.google.cloud.contactcenteri" - + "nsights.v1.Settings\"\\\202\323\344\223\002?23/v1/{settin" - + "gs.name=projects/*/locations/*/settings}" - + ":\010settings\332A\024settings,update_mask\022\272\001\n\nCr" - + "eateView\0228.google.cloud.contactcenterins" - + "ights.v1.CreateViewRequest\032+.google.clou" - + "d.contactcenterinsights.v1.View\"E\202\323\344\223\0021\"" - + ")/v1/{parent=projects/*/locations/*}/vie" - + "ws:\004view\332A\013parent,view\022\247\001\n\007GetView\0225.goo" - + "gle.cloud.contactcenterinsights.v1.GetVi" - + "ewRequest\032+.google.cloud.contactcenterin" - + "sights.v1.View\"8\202\323\344\223\002+\022)/v1/{name=projec" - + "ts/*/locations/*/views/*}\332A\004name\022\272\001\n\tLis" - + "tViews\0227.google.cloud.contactcenterinsig" - + "hts.v1.ListViewsRequest\0328.google.cloud.c" - + "ontactcenterinsights.v1.ListViewsRespons" - + "e\":\202\323\344\223\002+\022)/v1/{parent=projects/*/locati" - + "ons/*}/views\332A\006parent\022\304\001\n\nUpdateView\0228.g" - + "oogle.cloud.contactcenterinsights.v1.Upd" - + "ateViewRequest\032+.google.cloud.contactcen" - + "terinsights.v1.View\"O\202\323\344\223\00262./v1/{view.n" - + "ame=projects/*/locations/*/views/*}:\004vie" - + "w\332A\020view,update_mask\022\230\001\n\nDeleteView\0228.go" - + "ogle.cloud.contactcenterinsights.v1.Dele" - + "teViewRequest\032\026.google.protobuf.Empty\"8\202" - + "\323\344\223\002+*)/v1/{name=projects/*/locations/*/" - + "views/*}\332A\004name\032X\312A$contactcenterinsight" - + "s.googleapis.com\322A.https://www.googleapi" - + "s.com/auth/cloud-platformB\245\002\n)com.google" - + ".cloud.contactcenterinsights.v1B\032Contact" - + "CenterInsightsProtoP\001Z_cloud.google.com/" - + "go/contactcenterinsights/apiv1/contactce" - + "nterinsightspb;contactcenterinsightspb\252\002" - + "%Google.Cloud.ContactCenterInsights.V1\312\002" - + "%Google\\Cloud\\ContactCenterInsights\\V1\352\002" - + "(Google::Cloud::ContactCenterInsights::V" - + "1b\006proto3" - }; - descriptor = - com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( - descriptorData, - new com.google.protobuf.Descriptors.FileDescriptor[] { - com.google.api.AnnotationsProto.getDescriptor(), - com.google.api.ClientProto.getDescriptor(), - com.google.api.FieldBehaviorProto.getDescriptor(), - com.google.api.ResourceProto.getDescriptor(), - com.google.cloud.contactcenterinsights.v1.ResourcesProto.getDescriptor(), - com.google.longrunning.OperationsProto.getDescriptor(), - com.google.protobuf.DurationProto.getDescriptor(), - com.google.protobuf.EmptyProto.getDescriptor(), - com.google.protobuf.FieldMaskProto.getDescriptor(), - com.google.protobuf.TimestampProto.getDescriptor(), - com.google.rpc.StatusProto.getDescriptor(), - }); - internal_static_google_cloud_contactcenterinsights_v1_CalculateStatsRequest_descriptor = - getDescriptor().getMessageTypes().get(0); - internal_static_google_cloud_contactcenterinsights_v1_CalculateStatsRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_contactcenterinsights_v1_CalculateStatsRequest_descriptor, - new java.lang.String[] { - "Location", "Filter", - }); - internal_static_google_cloud_contactcenterinsights_v1_CalculateStatsResponse_descriptor = - getDescriptor().getMessageTypes().get(1); - internal_static_google_cloud_contactcenterinsights_v1_CalculateStatsResponse_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_contactcenterinsights_v1_CalculateStatsResponse_descriptor, - new java.lang.String[] { - "AverageDuration", - "AverageTurnCount", - "ConversationCount", - "SmartHighlighterMatches", - "CustomHighlighterMatches", - "IssueMatches", - "IssueMatchesStats", - "ConversationCountTimeSeries", - }); - internal_static_google_cloud_contactcenterinsights_v1_CalculateStatsResponse_TimeSeries_descriptor = - internal_static_google_cloud_contactcenterinsights_v1_CalculateStatsResponse_descriptor - .getNestedTypes() - .get(0); - internal_static_google_cloud_contactcenterinsights_v1_CalculateStatsResponse_TimeSeries_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_contactcenterinsights_v1_CalculateStatsResponse_TimeSeries_descriptor, - new java.lang.String[] { - "IntervalDuration", "Points", - }); - internal_static_google_cloud_contactcenterinsights_v1_CalculateStatsResponse_TimeSeries_Interval_descriptor = - internal_static_google_cloud_contactcenterinsights_v1_CalculateStatsResponse_TimeSeries_descriptor - .getNestedTypes() - .get(0); - internal_static_google_cloud_contactcenterinsights_v1_CalculateStatsResponse_TimeSeries_Interval_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_contactcenterinsights_v1_CalculateStatsResponse_TimeSeries_Interval_descriptor, - new java.lang.String[] { - "StartTime", "ConversationCount", - }); - internal_static_google_cloud_contactcenterinsights_v1_CalculateStatsResponse_SmartHighlighterMatchesEntry_descriptor = - internal_static_google_cloud_contactcenterinsights_v1_CalculateStatsResponse_descriptor - .getNestedTypes() - .get(1); - internal_static_google_cloud_contactcenterinsights_v1_CalculateStatsResponse_SmartHighlighterMatchesEntry_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_contactcenterinsights_v1_CalculateStatsResponse_SmartHighlighterMatchesEntry_descriptor, - new java.lang.String[] { - "Key", "Value", - }); - internal_static_google_cloud_contactcenterinsights_v1_CalculateStatsResponse_CustomHighlighterMatchesEntry_descriptor = - internal_static_google_cloud_contactcenterinsights_v1_CalculateStatsResponse_descriptor - .getNestedTypes() - .get(2); - internal_static_google_cloud_contactcenterinsights_v1_CalculateStatsResponse_CustomHighlighterMatchesEntry_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_contactcenterinsights_v1_CalculateStatsResponse_CustomHighlighterMatchesEntry_descriptor, - new java.lang.String[] { - "Key", "Value", - }); - internal_static_google_cloud_contactcenterinsights_v1_CalculateStatsResponse_IssueMatchesEntry_descriptor = - internal_static_google_cloud_contactcenterinsights_v1_CalculateStatsResponse_descriptor - .getNestedTypes() - .get(3); - internal_static_google_cloud_contactcenterinsights_v1_CalculateStatsResponse_IssueMatchesEntry_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_contactcenterinsights_v1_CalculateStatsResponse_IssueMatchesEntry_descriptor, - new java.lang.String[] { - "Key", "Value", - }); - internal_static_google_cloud_contactcenterinsights_v1_CalculateStatsResponse_IssueMatchesStatsEntry_descriptor = - internal_static_google_cloud_contactcenterinsights_v1_CalculateStatsResponse_descriptor - .getNestedTypes() - .get(4); - internal_static_google_cloud_contactcenterinsights_v1_CalculateStatsResponse_IssueMatchesStatsEntry_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_contactcenterinsights_v1_CalculateStatsResponse_IssueMatchesStatsEntry_descriptor, - new java.lang.String[] { - "Key", "Value", - }); - internal_static_google_cloud_contactcenterinsights_v1_CreateAnalysisOperationMetadata_descriptor = - getDescriptor().getMessageTypes().get(2); - internal_static_google_cloud_contactcenterinsights_v1_CreateAnalysisOperationMetadata_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_contactcenterinsights_v1_CreateAnalysisOperationMetadata_descriptor, - new java.lang.String[] { - "CreateTime", "EndTime", "Conversation", "AnnotatorSelector", - }); - internal_static_google_cloud_contactcenterinsights_v1_CreateConversationRequest_descriptor = - getDescriptor().getMessageTypes().get(3); - internal_static_google_cloud_contactcenterinsights_v1_CreateConversationRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_contactcenterinsights_v1_CreateConversationRequest_descriptor, - new java.lang.String[] { - "Parent", "Conversation", "ConversationId", - }); - internal_static_google_cloud_contactcenterinsights_v1_ListConversationsRequest_descriptor = - getDescriptor().getMessageTypes().get(4); - internal_static_google_cloud_contactcenterinsights_v1_ListConversationsRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_contactcenterinsights_v1_ListConversationsRequest_descriptor, - new java.lang.String[] { - "Parent", "PageSize", "PageToken", "Filter", "View", - }); - internal_static_google_cloud_contactcenterinsights_v1_ListConversationsResponse_descriptor = - getDescriptor().getMessageTypes().get(5); - internal_static_google_cloud_contactcenterinsights_v1_ListConversationsResponse_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_contactcenterinsights_v1_ListConversationsResponse_descriptor, - new java.lang.String[] { - "Conversations", "NextPageToken", - }); - internal_static_google_cloud_contactcenterinsights_v1_GetConversationRequest_descriptor = - getDescriptor().getMessageTypes().get(6); - internal_static_google_cloud_contactcenterinsights_v1_GetConversationRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_contactcenterinsights_v1_GetConversationRequest_descriptor, - new java.lang.String[] { - "Name", "View", - }); - internal_static_google_cloud_contactcenterinsights_v1_UpdateConversationRequest_descriptor = - getDescriptor().getMessageTypes().get(7); - internal_static_google_cloud_contactcenterinsights_v1_UpdateConversationRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_contactcenterinsights_v1_UpdateConversationRequest_descriptor, - new java.lang.String[] { - "Conversation", "UpdateMask", - }); - internal_static_google_cloud_contactcenterinsights_v1_DeleteConversationRequest_descriptor = - getDescriptor().getMessageTypes().get(8); - internal_static_google_cloud_contactcenterinsights_v1_DeleteConversationRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_contactcenterinsights_v1_DeleteConversationRequest_descriptor, - new java.lang.String[] { - "Name", "Force", - }); - internal_static_google_cloud_contactcenterinsights_v1_IngestConversationsRequest_descriptor = - getDescriptor().getMessageTypes().get(9); - internal_static_google_cloud_contactcenterinsights_v1_IngestConversationsRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_contactcenterinsights_v1_IngestConversationsRequest_descriptor, - new java.lang.String[] { - "GcsSource", - "TranscriptObjectConfig", - "Parent", - "ConversationConfig", - "Source", - "ObjectConfig", - }); - internal_static_google_cloud_contactcenterinsights_v1_IngestConversationsRequest_GcsSource_descriptor = - internal_static_google_cloud_contactcenterinsights_v1_IngestConversationsRequest_descriptor - .getNestedTypes() - .get(0); - internal_static_google_cloud_contactcenterinsights_v1_IngestConversationsRequest_GcsSource_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_contactcenterinsights_v1_IngestConversationsRequest_GcsSource_descriptor, - new java.lang.String[] { - "BucketUri", - }); - internal_static_google_cloud_contactcenterinsights_v1_IngestConversationsRequest_TranscriptObjectConfig_descriptor = - internal_static_google_cloud_contactcenterinsights_v1_IngestConversationsRequest_descriptor - .getNestedTypes() - .get(1); - internal_static_google_cloud_contactcenterinsights_v1_IngestConversationsRequest_TranscriptObjectConfig_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_contactcenterinsights_v1_IngestConversationsRequest_TranscriptObjectConfig_descriptor, - new java.lang.String[] { - "Medium", - }); - internal_static_google_cloud_contactcenterinsights_v1_IngestConversationsRequest_ConversationConfig_descriptor = - internal_static_google_cloud_contactcenterinsights_v1_IngestConversationsRequest_descriptor - .getNestedTypes() - .get(2); - internal_static_google_cloud_contactcenterinsights_v1_IngestConversationsRequest_ConversationConfig_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_contactcenterinsights_v1_IngestConversationsRequest_ConversationConfig_descriptor, - new java.lang.String[] { - "AgentId", - }); - internal_static_google_cloud_contactcenterinsights_v1_IngestConversationsMetadata_descriptor = - getDescriptor().getMessageTypes().get(10); - internal_static_google_cloud_contactcenterinsights_v1_IngestConversationsMetadata_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_contactcenterinsights_v1_IngestConversationsMetadata_descriptor, - new java.lang.String[] { - "CreateTime", "EndTime", "Request", "PartialErrors", - }); - internal_static_google_cloud_contactcenterinsights_v1_IngestConversationsResponse_descriptor = - getDescriptor().getMessageTypes().get(11); - internal_static_google_cloud_contactcenterinsights_v1_IngestConversationsResponse_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_contactcenterinsights_v1_IngestConversationsResponse_descriptor, - new java.lang.String[] {}); - internal_static_google_cloud_contactcenterinsights_v1_CreateAnalysisRequest_descriptor = - getDescriptor().getMessageTypes().get(12); - internal_static_google_cloud_contactcenterinsights_v1_CreateAnalysisRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_contactcenterinsights_v1_CreateAnalysisRequest_descriptor, - new java.lang.String[] { - "Parent", "Analysis", - }); - internal_static_google_cloud_contactcenterinsights_v1_ListAnalysesRequest_descriptor = - getDescriptor().getMessageTypes().get(13); - internal_static_google_cloud_contactcenterinsights_v1_ListAnalysesRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_contactcenterinsights_v1_ListAnalysesRequest_descriptor, - new java.lang.String[] { - "Parent", "PageSize", "PageToken", "Filter", - }); - internal_static_google_cloud_contactcenterinsights_v1_ListAnalysesResponse_descriptor = - getDescriptor().getMessageTypes().get(14); - internal_static_google_cloud_contactcenterinsights_v1_ListAnalysesResponse_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_contactcenterinsights_v1_ListAnalysesResponse_descriptor, - new java.lang.String[] { - "Analyses", "NextPageToken", - }); - internal_static_google_cloud_contactcenterinsights_v1_GetAnalysisRequest_descriptor = - getDescriptor().getMessageTypes().get(15); - internal_static_google_cloud_contactcenterinsights_v1_GetAnalysisRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_contactcenterinsights_v1_GetAnalysisRequest_descriptor, - new java.lang.String[] { - "Name", - }); - internal_static_google_cloud_contactcenterinsights_v1_DeleteAnalysisRequest_descriptor = - getDescriptor().getMessageTypes().get(16); - internal_static_google_cloud_contactcenterinsights_v1_DeleteAnalysisRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_contactcenterinsights_v1_DeleteAnalysisRequest_descriptor, - new java.lang.String[] { - "Name", - }); - internal_static_google_cloud_contactcenterinsights_v1_BulkAnalyzeConversationsRequest_descriptor = - getDescriptor().getMessageTypes().get(17); - internal_static_google_cloud_contactcenterinsights_v1_BulkAnalyzeConversationsRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_contactcenterinsights_v1_BulkAnalyzeConversationsRequest_descriptor, - new java.lang.String[] { - "Parent", "Filter", "AnalysisPercentage", "AnnotatorSelector", - }); - internal_static_google_cloud_contactcenterinsights_v1_BulkAnalyzeConversationsMetadata_descriptor = - getDescriptor().getMessageTypes().get(18); - internal_static_google_cloud_contactcenterinsights_v1_BulkAnalyzeConversationsMetadata_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_contactcenterinsights_v1_BulkAnalyzeConversationsMetadata_descriptor, - new java.lang.String[] { - "CreateTime", - "EndTime", - "Request", - "CompletedAnalysesCount", - "FailedAnalysesCount", - "TotalRequestedAnalysesCount", - }); - internal_static_google_cloud_contactcenterinsights_v1_BulkAnalyzeConversationsResponse_descriptor = - getDescriptor().getMessageTypes().get(19); - internal_static_google_cloud_contactcenterinsights_v1_BulkAnalyzeConversationsResponse_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_contactcenterinsights_v1_BulkAnalyzeConversationsResponse_descriptor, - new java.lang.String[] { - "SuccessfulAnalysisCount", "FailedAnalysisCount", - }); - internal_static_google_cloud_contactcenterinsights_v1_ExportInsightsDataRequest_descriptor = - getDescriptor().getMessageTypes().get(20); - internal_static_google_cloud_contactcenterinsights_v1_ExportInsightsDataRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_contactcenterinsights_v1_ExportInsightsDataRequest_descriptor, - new java.lang.String[] { - "BigQueryDestination", - "Parent", - "Filter", - "KmsKey", - "WriteDisposition", - "Destination", - }); - internal_static_google_cloud_contactcenterinsights_v1_ExportInsightsDataRequest_BigQueryDestination_descriptor = - internal_static_google_cloud_contactcenterinsights_v1_ExportInsightsDataRequest_descriptor - .getNestedTypes() - .get(0); - internal_static_google_cloud_contactcenterinsights_v1_ExportInsightsDataRequest_BigQueryDestination_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_contactcenterinsights_v1_ExportInsightsDataRequest_BigQueryDestination_descriptor, - new java.lang.String[] { - "ProjectId", "Dataset", "Table", - }); - internal_static_google_cloud_contactcenterinsights_v1_ExportInsightsDataMetadata_descriptor = - getDescriptor().getMessageTypes().get(21); - internal_static_google_cloud_contactcenterinsights_v1_ExportInsightsDataMetadata_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_contactcenterinsights_v1_ExportInsightsDataMetadata_descriptor, - new java.lang.String[] { - "CreateTime", "EndTime", "Request", "PartialErrors", - }); - internal_static_google_cloud_contactcenterinsights_v1_ExportInsightsDataResponse_descriptor = - getDescriptor().getMessageTypes().get(22); - internal_static_google_cloud_contactcenterinsights_v1_ExportInsightsDataResponse_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_contactcenterinsights_v1_ExportInsightsDataResponse_descriptor, - new java.lang.String[] {}); - internal_static_google_cloud_contactcenterinsights_v1_CreateIssueModelRequest_descriptor = - getDescriptor().getMessageTypes().get(23); - internal_static_google_cloud_contactcenterinsights_v1_CreateIssueModelRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_contactcenterinsights_v1_CreateIssueModelRequest_descriptor, - new java.lang.String[] { - "Parent", "IssueModel", - }); - internal_static_google_cloud_contactcenterinsights_v1_CreateIssueModelMetadata_descriptor = - getDescriptor().getMessageTypes().get(24); - internal_static_google_cloud_contactcenterinsights_v1_CreateIssueModelMetadata_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_contactcenterinsights_v1_CreateIssueModelMetadata_descriptor, - new java.lang.String[] { - "CreateTime", "EndTime", "Request", - }); - internal_static_google_cloud_contactcenterinsights_v1_UpdateIssueModelRequest_descriptor = - getDescriptor().getMessageTypes().get(25); - internal_static_google_cloud_contactcenterinsights_v1_UpdateIssueModelRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_contactcenterinsights_v1_UpdateIssueModelRequest_descriptor, - new java.lang.String[] { - "IssueModel", "UpdateMask", - }); - internal_static_google_cloud_contactcenterinsights_v1_ListIssueModelsRequest_descriptor = - getDescriptor().getMessageTypes().get(26); - internal_static_google_cloud_contactcenterinsights_v1_ListIssueModelsRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_contactcenterinsights_v1_ListIssueModelsRequest_descriptor, - new java.lang.String[] { - "Parent", - }); - internal_static_google_cloud_contactcenterinsights_v1_ListIssueModelsResponse_descriptor = - getDescriptor().getMessageTypes().get(27); - internal_static_google_cloud_contactcenterinsights_v1_ListIssueModelsResponse_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_contactcenterinsights_v1_ListIssueModelsResponse_descriptor, - new java.lang.String[] { - "IssueModels", - }); - internal_static_google_cloud_contactcenterinsights_v1_GetIssueModelRequest_descriptor = - getDescriptor().getMessageTypes().get(28); - internal_static_google_cloud_contactcenterinsights_v1_GetIssueModelRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_contactcenterinsights_v1_GetIssueModelRequest_descriptor, - new java.lang.String[] { - "Name", - }); - internal_static_google_cloud_contactcenterinsights_v1_DeleteIssueModelRequest_descriptor = - getDescriptor().getMessageTypes().get(29); - internal_static_google_cloud_contactcenterinsights_v1_DeleteIssueModelRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_contactcenterinsights_v1_DeleteIssueModelRequest_descriptor, - new java.lang.String[] { - "Name", - }); - internal_static_google_cloud_contactcenterinsights_v1_DeleteIssueModelMetadata_descriptor = - getDescriptor().getMessageTypes().get(30); - internal_static_google_cloud_contactcenterinsights_v1_DeleteIssueModelMetadata_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_contactcenterinsights_v1_DeleteIssueModelMetadata_descriptor, - new java.lang.String[] { - "CreateTime", "EndTime", "Request", - }); - internal_static_google_cloud_contactcenterinsights_v1_DeployIssueModelRequest_descriptor = - getDescriptor().getMessageTypes().get(31); - internal_static_google_cloud_contactcenterinsights_v1_DeployIssueModelRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_contactcenterinsights_v1_DeployIssueModelRequest_descriptor, - new java.lang.String[] { - "Name", - }); - internal_static_google_cloud_contactcenterinsights_v1_DeployIssueModelResponse_descriptor = - getDescriptor().getMessageTypes().get(32); - internal_static_google_cloud_contactcenterinsights_v1_DeployIssueModelResponse_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_contactcenterinsights_v1_DeployIssueModelResponse_descriptor, - new java.lang.String[] {}); - internal_static_google_cloud_contactcenterinsights_v1_DeployIssueModelMetadata_descriptor = - getDescriptor().getMessageTypes().get(33); - internal_static_google_cloud_contactcenterinsights_v1_DeployIssueModelMetadata_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_contactcenterinsights_v1_DeployIssueModelMetadata_descriptor, - new java.lang.String[] { - "CreateTime", "EndTime", "Request", - }); - internal_static_google_cloud_contactcenterinsights_v1_UndeployIssueModelRequest_descriptor = - getDescriptor().getMessageTypes().get(34); - internal_static_google_cloud_contactcenterinsights_v1_UndeployIssueModelRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_contactcenterinsights_v1_UndeployIssueModelRequest_descriptor, - new java.lang.String[] { - "Name", - }); - internal_static_google_cloud_contactcenterinsights_v1_UndeployIssueModelResponse_descriptor = - getDescriptor().getMessageTypes().get(35); - internal_static_google_cloud_contactcenterinsights_v1_UndeployIssueModelResponse_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_contactcenterinsights_v1_UndeployIssueModelResponse_descriptor, - new java.lang.String[] {}); - internal_static_google_cloud_contactcenterinsights_v1_UndeployIssueModelMetadata_descriptor = - getDescriptor().getMessageTypes().get(36); - internal_static_google_cloud_contactcenterinsights_v1_UndeployIssueModelMetadata_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_contactcenterinsights_v1_UndeployIssueModelMetadata_descriptor, - new java.lang.String[] { - "CreateTime", "EndTime", "Request", - }); - internal_static_google_cloud_contactcenterinsights_v1_GetIssueRequest_descriptor = - getDescriptor().getMessageTypes().get(37); - internal_static_google_cloud_contactcenterinsights_v1_GetIssueRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_contactcenterinsights_v1_GetIssueRequest_descriptor, - new java.lang.String[] { - "Name", - }); - internal_static_google_cloud_contactcenterinsights_v1_ListIssuesRequest_descriptor = - getDescriptor().getMessageTypes().get(38); - internal_static_google_cloud_contactcenterinsights_v1_ListIssuesRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_contactcenterinsights_v1_ListIssuesRequest_descriptor, - new java.lang.String[] { - "Parent", - }); - internal_static_google_cloud_contactcenterinsights_v1_ListIssuesResponse_descriptor = - getDescriptor().getMessageTypes().get(39); - internal_static_google_cloud_contactcenterinsights_v1_ListIssuesResponse_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_contactcenterinsights_v1_ListIssuesResponse_descriptor, - new java.lang.String[] { - "Issues", - }); - internal_static_google_cloud_contactcenterinsights_v1_UpdateIssueRequest_descriptor = - getDescriptor().getMessageTypes().get(40); - internal_static_google_cloud_contactcenterinsights_v1_UpdateIssueRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_contactcenterinsights_v1_UpdateIssueRequest_descriptor, - new java.lang.String[] { - "Issue", "UpdateMask", - }); - internal_static_google_cloud_contactcenterinsights_v1_DeleteIssueRequest_descriptor = - getDescriptor().getMessageTypes().get(41); - internal_static_google_cloud_contactcenterinsights_v1_DeleteIssueRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_contactcenterinsights_v1_DeleteIssueRequest_descriptor, - new java.lang.String[] { - "Name", - }); - internal_static_google_cloud_contactcenterinsights_v1_CalculateIssueModelStatsRequest_descriptor = - getDescriptor().getMessageTypes().get(42); - internal_static_google_cloud_contactcenterinsights_v1_CalculateIssueModelStatsRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_contactcenterinsights_v1_CalculateIssueModelStatsRequest_descriptor, - new java.lang.String[] { - "IssueModel", - }); - internal_static_google_cloud_contactcenterinsights_v1_CalculateIssueModelStatsResponse_descriptor = - getDescriptor().getMessageTypes().get(43); - internal_static_google_cloud_contactcenterinsights_v1_CalculateIssueModelStatsResponse_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_contactcenterinsights_v1_CalculateIssueModelStatsResponse_descriptor, - new java.lang.String[] { - "CurrentStats", - }); - internal_static_google_cloud_contactcenterinsights_v1_CreatePhraseMatcherRequest_descriptor = - getDescriptor().getMessageTypes().get(44); - internal_static_google_cloud_contactcenterinsights_v1_CreatePhraseMatcherRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_contactcenterinsights_v1_CreatePhraseMatcherRequest_descriptor, - new java.lang.String[] { - "Parent", "PhraseMatcher", - }); - internal_static_google_cloud_contactcenterinsights_v1_ListPhraseMatchersRequest_descriptor = - getDescriptor().getMessageTypes().get(45); - internal_static_google_cloud_contactcenterinsights_v1_ListPhraseMatchersRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_contactcenterinsights_v1_ListPhraseMatchersRequest_descriptor, - new java.lang.String[] { - "Parent", "PageSize", "PageToken", "Filter", - }); - internal_static_google_cloud_contactcenterinsights_v1_ListPhraseMatchersResponse_descriptor = - getDescriptor().getMessageTypes().get(46); - internal_static_google_cloud_contactcenterinsights_v1_ListPhraseMatchersResponse_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_contactcenterinsights_v1_ListPhraseMatchersResponse_descriptor, - new java.lang.String[] { - "PhraseMatchers", "NextPageToken", - }); - internal_static_google_cloud_contactcenterinsights_v1_GetPhraseMatcherRequest_descriptor = - getDescriptor().getMessageTypes().get(47); - internal_static_google_cloud_contactcenterinsights_v1_GetPhraseMatcherRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_contactcenterinsights_v1_GetPhraseMatcherRequest_descriptor, - new java.lang.String[] { - "Name", - }); - internal_static_google_cloud_contactcenterinsights_v1_DeletePhraseMatcherRequest_descriptor = - getDescriptor().getMessageTypes().get(48); - internal_static_google_cloud_contactcenterinsights_v1_DeletePhraseMatcherRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_contactcenterinsights_v1_DeletePhraseMatcherRequest_descriptor, - new java.lang.String[] { - "Name", - }); - internal_static_google_cloud_contactcenterinsights_v1_UpdatePhraseMatcherRequest_descriptor = - getDescriptor().getMessageTypes().get(49); - internal_static_google_cloud_contactcenterinsights_v1_UpdatePhraseMatcherRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_contactcenterinsights_v1_UpdatePhraseMatcherRequest_descriptor, - new java.lang.String[] { - "PhraseMatcher", "UpdateMask", - }); - internal_static_google_cloud_contactcenterinsights_v1_GetSettingsRequest_descriptor = - getDescriptor().getMessageTypes().get(50); - internal_static_google_cloud_contactcenterinsights_v1_GetSettingsRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_contactcenterinsights_v1_GetSettingsRequest_descriptor, - new java.lang.String[] { - "Name", - }); - internal_static_google_cloud_contactcenterinsights_v1_UpdateSettingsRequest_descriptor = - getDescriptor().getMessageTypes().get(51); - internal_static_google_cloud_contactcenterinsights_v1_UpdateSettingsRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_contactcenterinsights_v1_UpdateSettingsRequest_descriptor, - new java.lang.String[] { - "Settings", "UpdateMask", - }); - internal_static_google_cloud_contactcenterinsights_v1_CreateViewRequest_descriptor = - getDescriptor().getMessageTypes().get(52); - internal_static_google_cloud_contactcenterinsights_v1_CreateViewRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_contactcenterinsights_v1_CreateViewRequest_descriptor, - new java.lang.String[] { - "Parent", "View", - }); - internal_static_google_cloud_contactcenterinsights_v1_GetViewRequest_descriptor = - getDescriptor().getMessageTypes().get(53); - internal_static_google_cloud_contactcenterinsights_v1_GetViewRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_contactcenterinsights_v1_GetViewRequest_descriptor, - new java.lang.String[] { - "Name", - }); - internal_static_google_cloud_contactcenterinsights_v1_ListViewsRequest_descriptor = - getDescriptor().getMessageTypes().get(54); - internal_static_google_cloud_contactcenterinsights_v1_ListViewsRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_contactcenterinsights_v1_ListViewsRequest_descriptor, - new java.lang.String[] { - "Parent", "PageSize", "PageToken", - }); - internal_static_google_cloud_contactcenterinsights_v1_ListViewsResponse_descriptor = - getDescriptor().getMessageTypes().get(55); - internal_static_google_cloud_contactcenterinsights_v1_ListViewsResponse_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_contactcenterinsights_v1_ListViewsResponse_descriptor, - new java.lang.String[] { - "Views", "NextPageToken", - }); - internal_static_google_cloud_contactcenterinsights_v1_UpdateViewRequest_descriptor = - getDescriptor().getMessageTypes().get(56); - internal_static_google_cloud_contactcenterinsights_v1_UpdateViewRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_contactcenterinsights_v1_UpdateViewRequest_descriptor, - new java.lang.String[] { - "View", "UpdateMask", - }); - internal_static_google_cloud_contactcenterinsights_v1_DeleteViewRequest_descriptor = - getDescriptor().getMessageTypes().get(57); - internal_static_google_cloud_contactcenterinsights_v1_DeleteViewRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_contactcenterinsights_v1_DeleteViewRequest_descriptor, - new java.lang.String[] { - "Name", - }); - com.google.protobuf.ExtensionRegistry registry = - com.google.protobuf.ExtensionRegistry.newInstance(); - registry.add(com.google.api.ClientProto.defaultHost); - registry.add(com.google.api.FieldBehaviorProto.fieldBehavior); - registry.add(com.google.api.AnnotationsProto.http); - registry.add(com.google.api.ClientProto.methodSignature); - registry.add(com.google.api.ClientProto.oauthScopes); - registry.add(com.google.api.ResourceProto.resourceReference); - registry.add(com.google.longrunning.OperationsProto.operationInfo); - com.google.protobuf.Descriptors.FileDescriptor.internalUpdateFileDescriptor( - descriptor, registry); - com.google.api.AnnotationsProto.getDescriptor(); - com.google.api.ClientProto.getDescriptor(); - com.google.api.FieldBehaviorProto.getDescriptor(); - com.google.api.ResourceProto.getDescriptor(); - com.google.cloud.contactcenterinsights.v1.ResourcesProto.getDescriptor(); - com.google.longrunning.OperationsProto.getDescriptor(); - com.google.protobuf.DurationProto.getDescriptor(); - com.google.protobuf.EmptyProto.getDescriptor(); - com.google.protobuf.FieldMaskProto.getDescriptor(); - com.google.protobuf.TimestampProto.getDescriptor(); - com.google.rpc.StatusProto.getDescriptor(); - } - - // @@protoc_insertion_point(outer_class_scope) -} diff --git a/java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/CreateAnalysisRequestOrBuilder.java b/java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/CreateAnalysisRequestOrBuilder.java deleted file mode 100644 index 166e25b1c17e..000000000000 --- a/java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/CreateAnalysisRequestOrBuilder.java +++ /dev/null @@ -1,95 +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. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/contactcenterinsights/v1/contact_center_insights.proto - -package com.google.cloud.contactcenterinsights.v1; - -public interface CreateAnalysisRequestOrBuilder - extends - // @@protoc_insertion_point(interface_extends:google.cloud.contactcenterinsights.v1.CreateAnalysisRequest) - com.google.protobuf.MessageOrBuilder { - - /** - * - * - *
-   * Required. The parent resource of the analysis.
-   * 
- * - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * - * @return The parent. - */ - java.lang.String getParent(); - /** - * - * - *
-   * Required. The parent resource of the analysis.
-   * 
- * - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * - * @return The bytes for parent. - */ - com.google.protobuf.ByteString getParentBytes(); - - /** - * - * - *
-   * Required. The analysis to create.
-   * 
- * - * - * .google.cloud.contactcenterinsights.v1.Analysis analysis = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * - * @return Whether the analysis field is set. - */ - boolean hasAnalysis(); - /** - * - * - *
-   * Required. The analysis to create.
-   * 
- * - * - * .google.cloud.contactcenterinsights.v1.Analysis analysis = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * - * @return The analysis. - */ - com.google.cloud.contactcenterinsights.v1.Analysis getAnalysis(); - /** - * - * - *
-   * Required. The analysis to create.
-   * 
- * - * - * .google.cloud.contactcenterinsights.v1.Analysis analysis = 2 [(.google.api.field_behavior) = REQUIRED]; - * - */ - com.google.cloud.contactcenterinsights.v1.AnalysisOrBuilder getAnalysisOrBuilder(); -} diff --git a/java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/CreateIssueModelRequestOrBuilder.java b/java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/CreateIssueModelRequestOrBuilder.java deleted file mode 100644 index 6c61b4ce1243..000000000000 --- a/java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/CreateIssueModelRequestOrBuilder.java +++ /dev/null @@ -1,95 +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. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/contactcenterinsights/v1/contact_center_insights.proto - -package com.google.cloud.contactcenterinsights.v1; - -public interface CreateIssueModelRequestOrBuilder - extends - // @@protoc_insertion_point(interface_extends:google.cloud.contactcenterinsights.v1.CreateIssueModelRequest) - com.google.protobuf.MessageOrBuilder { - - /** - * - * - *
-   * Required. The parent resource of the issue model.
-   * 
- * - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * - * @return The parent. - */ - java.lang.String getParent(); - /** - * - * - *
-   * Required. The parent resource of the issue model.
-   * 
- * - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * - * @return The bytes for parent. - */ - com.google.protobuf.ByteString getParentBytes(); - - /** - * - * - *
-   * Required. The issue model to create.
-   * 
- * - * - * .google.cloud.contactcenterinsights.v1.IssueModel issue_model = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * - * @return Whether the issueModel field is set. - */ - boolean hasIssueModel(); - /** - * - * - *
-   * Required. The issue model to create.
-   * 
- * - * - * .google.cloud.contactcenterinsights.v1.IssueModel issue_model = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * - * @return The issueModel. - */ - com.google.cloud.contactcenterinsights.v1.IssueModel getIssueModel(); - /** - * - * - *
-   * Required. The issue model to create.
-   * 
- * - * - * .google.cloud.contactcenterinsights.v1.IssueModel issue_model = 2 [(.google.api.field_behavior) = REQUIRED]; - * - */ - com.google.cloud.contactcenterinsights.v1.IssueModelOrBuilder getIssueModelOrBuilder(); -} diff --git a/java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/CreatePhraseMatcherRequestOrBuilder.java b/java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/CreatePhraseMatcherRequestOrBuilder.java deleted file mode 100644 index 49f143f2da6e..000000000000 --- a/java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/CreatePhraseMatcherRequestOrBuilder.java +++ /dev/null @@ -1,101 +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. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/contactcenterinsights/v1/contact_center_insights.proto - -package com.google.cloud.contactcenterinsights.v1; - -public interface CreatePhraseMatcherRequestOrBuilder - extends - // @@protoc_insertion_point(interface_extends:google.cloud.contactcenterinsights.v1.CreatePhraseMatcherRequest) - com.google.protobuf.MessageOrBuilder { - - /** - * - * - *
-   * Required. The parent resource of the phrase matcher. Required. The location to create
-   * a phrase matcher for.
-   * Format: `projects/<Project ID>/locations/<Location ID>` or
-   * `projects/<Project Number>/locations/<Location ID>`
-   * 
- * - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * - * @return The parent. - */ - java.lang.String getParent(); - /** - * - * - *
-   * Required. The parent resource of the phrase matcher. Required. The location to create
-   * a phrase matcher for.
-   * Format: `projects/<Project ID>/locations/<Location ID>` or
-   * `projects/<Project Number>/locations/<Location ID>`
-   * 
- * - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * - * @return The bytes for parent. - */ - com.google.protobuf.ByteString getParentBytes(); - - /** - * - * - *
-   * Required. The phrase matcher resource to create.
-   * 
- * - * - * .google.cloud.contactcenterinsights.v1.PhraseMatcher phrase_matcher = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * - * @return Whether the phraseMatcher field is set. - */ - boolean hasPhraseMatcher(); - /** - * - * - *
-   * Required. The phrase matcher resource to create.
-   * 
- * - * - * .google.cloud.contactcenterinsights.v1.PhraseMatcher phrase_matcher = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * - * @return The phraseMatcher. - */ - com.google.cloud.contactcenterinsights.v1.PhraseMatcher getPhraseMatcher(); - /** - * - * - *
-   * Required. The phrase matcher resource to create.
-   * 
- * - * - * .google.cloud.contactcenterinsights.v1.PhraseMatcher phrase_matcher = 2 [(.google.api.field_behavior) = REQUIRED]; - * - */ - com.google.cloud.contactcenterinsights.v1.PhraseMatcherOrBuilder getPhraseMatcherOrBuilder(); -} diff --git a/java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/DeleteAnalysisRequestOrBuilder.java b/java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/DeleteAnalysisRequestOrBuilder.java deleted file mode 100644 index 8c33f3c2575c..000000000000 --- a/java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/DeleteAnalysisRequestOrBuilder.java +++ /dev/null @@ -1,54 +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. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/contactcenterinsights/v1/contact_center_insights.proto - -package com.google.cloud.contactcenterinsights.v1; - -public interface DeleteAnalysisRequestOrBuilder - extends - // @@protoc_insertion_point(interface_extends:google.cloud.contactcenterinsights.v1.DeleteAnalysisRequest) - com.google.protobuf.MessageOrBuilder { - - /** - * - * - *
-   * Required. The name of the analysis to delete.
-   * 
- * - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * - * @return The name. - */ - java.lang.String getName(); - /** - * - * - *
-   * Required. The name of the analysis to delete.
-   * 
- * - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * - * @return The bytes for name. - */ - com.google.protobuf.ByteString getNameBytes(); -} diff --git a/java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/DeleteConversationRequestOrBuilder.java b/java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/DeleteConversationRequestOrBuilder.java deleted file mode 100644 index d121cf712d7a..000000000000 --- a/java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/DeleteConversationRequestOrBuilder.java +++ /dev/null @@ -1,69 +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. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/contactcenterinsights/v1/contact_center_insights.proto - -package com.google.cloud.contactcenterinsights.v1; - -public interface DeleteConversationRequestOrBuilder - extends - // @@protoc_insertion_point(interface_extends:google.cloud.contactcenterinsights.v1.DeleteConversationRequest) - com.google.protobuf.MessageOrBuilder { - - /** - * - * - *
-   * Required. The name of the conversation to delete.
-   * 
- * - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * - * @return The name. - */ - java.lang.String getName(); - /** - * - * - *
-   * Required. The name of the conversation to delete.
-   * 
- * - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * - * @return The bytes for name. - */ - com.google.protobuf.ByteString getNameBytes(); - - /** - * - * - *
-   * If set to true, all of this conversation's analyses will also be deleted.
-   * Otherwise, the request will only succeed if the conversation has no
-   * analyses.
-   * 
- * - * bool force = 2; - * - * @return The force. - */ - boolean getForce(); -} diff --git a/java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/DeleteIssueModelRequestOrBuilder.java b/java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/DeleteIssueModelRequestOrBuilder.java deleted file mode 100644 index d4812a9adfdc..000000000000 --- a/java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/DeleteIssueModelRequestOrBuilder.java +++ /dev/null @@ -1,54 +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. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/contactcenterinsights/v1/contact_center_insights.proto - -package com.google.cloud.contactcenterinsights.v1; - -public interface DeleteIssueModelRequestOrBuilder - extends - // @@protoc_insertion_point(interface_extends:google.cloud.contactcenterinsights.v1.DeleteIssueModelRequest) - com.google.protobuf.MessageOrBuilder { - - /** - * - * - *
-   * Required. The name of the issue model to delete.
-   * 
- * - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * - * @return The name. - */ - java.lang.String getName(); - /** - * - * - *
-   * Required. The name of the issue model to delete.
-   * 
- * - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * - * @return The bytes for name. - */ - com.google.protobuf.ByteString getNameBytes(); -} diff --git a/java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/DeleteIssueRequestOrBuilder.java b/java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/DeleteIssueRequestOrBuilder.java deleted file mode 100644 index 0fef6dd782df..000000000000 --- a/java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/DeleteIssueRequestOrBuilder.java +++ /dev/null @@ -1,54 +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. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/contactcenterinsights/v1/contact_center_insights.proto - -package com.google.cloud.contactcenterinsights.v1; - -public interface DeleteIssueRequestOrBuilder - extends - // @@protoc_insertion_point(interface_extends:google.cloud.contactcenterinsights.v1.DeleteIssueRequest) - com.google.protobuf.MessageOrBuilder { - - /** - * - * - *
-   * Required. The name of the issue to delete.
-   * 
- * - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * - * @return The name. - */ - java.lang.String getName(); - /** - * - * - *
-   * Required. The name of the issue to delete.
-   * 
- * - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * - * @return The bytes for name. - */ - com.google.protobuf.ByteString getNameBytes(); -} diff --git a/java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/DeletePhraseMatcherRequestOrBuilder.java b/java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/DeletePhraseMatcherRequestOrBuilder.java deleted file mode 100644 index 35dd38309cb8..000000000000 --- a/java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/DeletePhraseMatcherRequestOrBuilder.java +++ /dev/null @@ -1,54 +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. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/contactcenterinsights/v1/contact_center_insights.proto - -package com.google.cloud.contactcenterinsights.v1; - -public interface DeletePhraseMatcherRequestOrBuilder - extends - // @@protoc_insertion_point(interface_extends:google.cloud.contactcenterinsights.v1.DeletePhraseMatcherRequest) - com.google.protobuf.MessageOrBuilder { - - /** - * - * - *
-   * Required. The name of the phrase matcher to delete.
-   * 
- * - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * - * @return The name. - */ - java.lang.String getName(); - /** - * - * - *
-   * Required. The name of the phrase matcher to delete.
-   * 
- * - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * - * @return The bytes for name. - */ - com.google.protobuf.ByteString getNameBytes(); -} diff --git a/java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/DeleteViewRequestOrBuilder.java b/java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/DeleteViewRequestOrBuilder.java deleted file mode 100644 index 9ab179f3fe53..000000000000 --- a/java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/DeleteViewRequestOrBuilder.java +++ /dev/null @@ -1,54 +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. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/contactcenterinsights/v1/contact_center_insights.proto - -package com.google.cloud.contactcenterinsights.v1; - -public interface DeleteViewRequestOrBuilder - extends - // @@protoc_insertion_point(interface_extends:google.cloud.contactcenterinsights.v1.DeleteViewRequest) - com.google.protobuf.MessageOrBuilder { - - /** - * - * - *
-   * Required. The name of the view to delete.
-   * 
- * - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * - * @return The name. - */ - java.lang.String getName(); - /** - * - * - *
-   * Required. The name of the view to delete.
-   * 
- * - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * - * @return The bytes for name. - */ - com.google.protobuf.ByteString getNameBytes(); -} diff --git a/java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/DeployIssueModelRequestOrBuilder.java b/java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/DeployIssueModelRequestOrBuilder.java deleted file mode 100644 index 6fab3448c021..000000000000 --- a/java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/DeployIssueModelRequestOrBuilder.java +++ /dev/null @@ -1,54 +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. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/contactcenterinsights/v1/contact_center_insights.proto - -package com.google.cloud.contactcenterinsights.v1; - -public interface DeployIssueModelRequestOrBuilder - extends - // @@protoc_insertion_point(interface_extends:google.cloud.contactcenterinsights.v1.DeployIssueModelRequest) - com.google.protobuf.MessageOrBuilder { - - /** - * - * - *
-   * Required. The issue model to deploy.
-   * 
- * - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * - * @return The name. - */ - java.lang.String getName(); - /** - * - * - *
-   * Required. The issue model to deploy.
-   * 
- * - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * - * @return The bytes for name. - */ - com.google.protobuf.ByteString getNameBytes(); -} diff --git a/java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/DeployIssueModelResponseOrBuilder.java b/java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/DeployIssueModelResponseOrBuilder.java deleted file mode 100644 index d4bc280ef0c3..000000000000 --- a/java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/DeployIssueModelResponseOrBuilder.java +++ /dev/null @@ -1,24 +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. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/contactcenterinsights/v1/contact_center_insights.proto - -package com.google.cloud.contactcenterinsights.v1; - -public interface DeployIssueModelResponseOrBuilder - extends - // @@protoc_insertion_point(interface_extends:google.cloud.contactcenterinsights.v1.DeployIssueModelResponse) - com.google.protobuf.MessageOrBuilder {} diff --git a/java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/DialogflowIntentOrBuilder.java b/java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/DialogflowIntentOrBuilder.java deleted file mode 100644 index 4a9de6f7b8dd..000000000000 --- a/java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/DialogflowIntentOrBuilder.java +++ /dev/null @@ -1,50 +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. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/contactcenterinsights/v1/resources.proto - -package com.google.cloud.contactcenterinsights.v1; - -public interface DialogflowIntentOrBuilder - extends - // @@protoc_insertion_point(interface_extends:google.cloud.contactcenterinsights.v1.DialogflowIntent) - com.google.protobuf.MessageOrBuilder { - - /** - * - * - *
-   * The human-readable name of the intent.
-   * 
- * - * string display_name = 1; - * - * @return The displayName. - */ - java.lang.String getDisplayName(); - /** - * - * - *
-   * The human-readable name of the intent.
-   * 
- * - * string display_name = 1; - * - * @return The bytes for displayName. - */ - com.google.protobuf.ByteString getDisplayNameBytes(); -} diff --git a/java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ExactMatchConfigOrBuilder.java b/java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ExactMatchConfigOrBuilder.java deleted file mode 100644 index 5afadfff016a..000000000000 --- a/java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ExactMatchConfigOrBuilder.java +++ /dev/null @@ -1,38 +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. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/contactcenterinsights/v1/resources.proto - -package com.google.cloud.contactcenterinsights.v1; - -public interface ExactMatchConfigOrBuilder - extends - // @@protoc_insertion_point(interface_extends:google.cloud.contactcenterinsights.v1.ExactMatchConfig) - com.google.protobuf.MessageOrBuilder { - - /** - * - * - *
-   * Whether to consider case sensitivity when performing an exact match.
-   * 
- * - * bool case_sensitive = 1; - * - * @return The caseSensitive. - */ - boolean getCaseSensitive(); -} diff --git a/java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ExportInsightsDataResponseOrBuilder.java b/java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ExportInsightsDataResponseOrBuilder.java deleted file mode 100644 index b69f2c254b75..000000000000 --- a/java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ExportInsightsDataResponseOrBuilder.java +++ /dev/null @@ -1,24 +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. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/contactcenterinsights/v1/contact_center_insights.proto - -package com.google.cloud.contactcenterinsights.v1; - -public interface ExportInsightsDataResponseOrBuilder - extends - // @@protoc_insertion_point(interface_extends:google.cloud.contactcenterinsights.v1.ExportInsightsDataResponse) - com.google.protobuf.MessageOrBuilder {} diff --git a/java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/GetAnalysisRequestOrBuilder.java b/java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/GetAnalysisRequestOrBuilder.java deleted file mode 100644 index 42725fd8c91e..000000000000 --- a/java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/GetAnalysisRequestOrBuilder.java +++ /dev/null @@ -1,54 +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. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/contactcenterinsights/v1/contact_center_insights.proto - -package com.google.cloud.contactcenterinsights.v1; - -public interface GetAnalysisRequestOrBuilder - extends - // @@protoc_insertion_point(interface_extends:google.cloud.contactcenterinsights.v1.GetAnalysisRequest) - com.google.protobuf.MessageOrBuilder { - - /** - * - * - *
-   * Required. The name of the analysis to get.
-   * 
- * - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * - * @return The name. - */ - java.lang.String getName(); - /** - * - * - *
-   * Required. The name of the analysis to get.
-   * 
- * - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * - * @return The bytes for name. - */ - com.google.protobuf.ByteString getNameBytes(); -} diff --git a/java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/GetIssueModelRequestOrBuilder.java b/java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/GetIssueModelRequestOrBuilder.java deleted file mode 100644 index 9043ad092742..000000000000 --- a/java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/GetIssueModelRequestOrBuilder.java +++ /dev/null @@ -1,54 +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. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/contactcenterinsights/v1/contact_center_insights.proto - -package com.google.cloud.contactcenterinsights.v1; - -public interface GetIssueModelRequestOrBuilder - extends - // @@protoc_insertion_point(interface_extends:google.cloud.contactcenterinsights.v1.GetIssueModelRequest) - com.google.protobuf.MessageOrBuilder { - - /** - * - * - *
-   * Required. The name of the issue model to get.
-   * 
- * - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * - * @return The name. - */ - java.lang.String getName(); - /** - * - * - *
-   * Required. The name of the issue model to get.
-   * 
- * - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * - * @return The bytes for name. - */ - com.google.protobuf.ByteString getNameBytes(); -} diff --git a/java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/GetIssueRequestOrBuilder.java b/java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/GetIssueRequestOrBuilder.java deleted file mode 100644 index 5b064a2b7e70..000000000000 --- a/java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/GetIssueRequestOrBuilder.java +++ /dev/null @@ -1,54 +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. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/contactcenterinsights/v1/contact_center_insights.proto - -package com.google.cloud.contactcenterinsights.v1; - -public interface GetIssueRequestOrBuilder - extends - // @@protoc_insertion_point(interface_extends:google.cloud.contactcenterinsights.v1.GetIssueRequest) - com.google.protobuf.MessageOrBuilder { - - /** - * - * - *
-   * Required. The name of the issue to get.
-   * 
- * - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * - * @return The name. - */ - java.lang.String getName(); - /** - * - * - *
-   * Required. The name of the issue to get.
-   * 
- * - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * - * @return The bytes for name. - */ - com.google.protobuf.ByteString getNameBytes(); -} diff --git a/java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/GetPhraseMatcherRequestOrBuilder.java b/java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/GetPhraseMatcherRequestOrBuilder.java deleted file mode 100644 index b5952af10d7f..000000000000 --- a/java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/GetPhraseMatcherRequestOrBuilder.java +++ /dev/null @@ -1,54 +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. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/contactcenterinsights/v1/contact_center_insights.proto - -package com.google.cloud.contactcenterinsights.v1; - -public interface GetPhraseMatcherRequestOrBuilder - extends - // @@protoc_insertion_point(interface_extends:google.cloud.contactcenterinsights.v1.GetPhraseMatcherRequest) - com.google.protobuf.MessageOrBuilder { - - /** - * - * - *
-   * Required. The name of the phrase matcher to get.
-   * 
- * - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * - * @return The name. - */ - java.lang.String getName(); - /** - * - * - *
-   * Required. The name of the phrase matcher to get.
-   * 
- * - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * - * @return The bytes for name. - */ - com.google.protobuf.ByteString getNameBytes(); -} diff --git a/java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/GetSettingsRequestOrBuilder.java b/java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/GetSettingsRequestOrBuilder.java deleted file mode 100644 index 64f2b37db896..000000000000 --- a/java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/GetSettingsRequestOrBuilder.java +++ /dev/null @@ -1,54 +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. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/contactcenterinsights/v1/contact_center_insights.proto - -package com.google.cloud.contactcenterinsights.v1; - -public interface GetSettingsRequestOrBuilder - extends - // @@protoc_insertion_point(interface_extends:google.cloud.contactcenterinsights.v1.GetSettingsRequest) - com.google.protobuf.MessageOrBuilder { - - /** - * - * - *
-   * Required. The name of the settings resource to get.
-   * 
- * - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * - * @return The name. - */ - java.lang.String getName(); - /** - * - * - *
-   * Required. The name of the settings resource to get.
-   * 
- * - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * - * @return The bytes for name. - */ - com.google.protobuf.ByteString getNameBytes(); -} diff --git a/java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/GetViewRequestOrBuilder.java b/java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/GetViewRequestOrBuilder.java deleted file mode 100644 index 77fe8abe110b..000000000000 --- a/java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/GetViewRequestOrBuilder.java +++ /dev/null @@ -1,54 +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. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/contactcenterinsights/v1/contact_center_insights.proto - -package com.google.cloud.contactcenterinsights.v1; - -public interface GetViewRequestOrBuilder - extends - // @@protoc_insertion_point(interface_extends:google.cloud.contactcenterinsights.v1.GetViewRequest) - com.google.protobuf.MessageOrBuilder { - - /** - * - * - *
-   * Required. The name of the view to get.
-   * 
- * - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * - * @return The name. - */ - java.lang.String getName(); - /** - * - * - *
-   * Required. The name of the view to get.
-   * 
- * - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * - * @return The bytes for name. - */ - com.google.protobuf.ByteString getNameBytes(); -} diff --git a/java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/HoldDataOrBuilder.java b/java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/HoldDataOrBuilder.java deleted file mode 100644 index e993a049f041..000000000000 --- a/java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/HoldDataOrBuilder.java +++ /dev/null @@ -1,24 +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. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/contactcenterinsights/v1/resources.proto - -package com.google.cloud.contactcenterinsights.v1; - -public interface HoldDataOrBuilder - extends - // @@protoc_insertion_point(interface_extends:google.cloud.contactcenterinsights.v1.HoldData) - com.google.protobuf.MessageOrBuilder {} diff --git a/java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/IngestConversationsMetadata.java b/java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/IngestConversationsMetadata.java deleted file mode 100644 index 90f396af9e5a..000000000000 --- a/java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/IngestConversationsMetadata.java +++ /dev/null @@ -1,1861 +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. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/contactcenterinsights/v1/contact_center_insights.proto - -package com.google.cloud.contactcenterinsights.v1; - -/** - * - * - *
- * The metadata for an IngestConversations operation.
- * 
- * - * Protobuf type {@code google.cloud.contactcenterinsights.v1.IngestConversationsMetadata} - */ -public final class IngestConversationsMetadata extends com.google.protobuf.GeneratedMessageV3 - implements - // @@protoc_insertion_point(message_implements:google.cloud.contactcenterinsights.v1.IngestConversationsMetadata) - IngestConversationsMetadataOrBuilder { - private static final long serialVersionUID = 0L; - // Use IngestConversationsMetadata.newBuilder() to construct. - private IngestConversationsMetadata(com.google.protobuf.GeneratedMessageV3.Builder builder) { - super(builder); - } - - private IngestConversationsMetadata() { - partialErrors_ = java.util.Collections.emptyList(); - } - - @java.lang.Override - @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { - return new IngestConversationsMetadata(); - } - - @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { - return this.unknownFields; - } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto - .internal_static_google_cloud_contactcenterinsights_v1_IngestConversationsMetadata_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto - .internal_static_google_cloud_contactcenterinsights_v1_IngestConversationsMetadata_fieldAccessorTable - .ensureFieldAccessorsInitialized( - com.google.cloud.contactcenterinsights.v1.IngestConversationsMetadata.class, - com.google.cloud.contactcenterinsights.v1.IngestConversationsMetadata.Builder.class); - } - - public static final int CREATE_TIME_FIELD_NUMBER = 1; - private com.google.protobuf.Timestamp createTime_; - /** - * - * - *
-   * Output only. The time the operation was created.
-   * 
- * - * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * - * @return Whether the createTime field is set. - */ - @java.lang.Override - public boolean hasCreateTime() { - return createTime_ != null; - } - /** - * - * - *
-   * Output only. The time the operation was created.
-   * 
- * - * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * - * @return The createTime. - */ - @java.lang.Override - public com.google.protobuf.Timestamp getCreateTime() { - return createTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : createTime_; - } - /** - * - * - *
-   * Output only. The time the operation was created.
-   * 
- * - * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - */ - @java.lang.Override - public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { - return createTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : createTime_; - } - - public static final int END_TIME_FIELD_NUMBER = 2; - private com.google.protobuf.Timestamp endTime_; - /** - * - * - *
-   * Output only. The time the operation finished running.
-   * 
- * - * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * - * @return Whether the endTime field is set. - */ - @java.lang.Override - public boolean hasEndTime() { - return endTime_ != null; - } - /** - * - * - *
-   * Output only. The time the operation finished running.
-   * 
- * - * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * - * @return The endTime. - */ - @java.lang.Override - public com.google.protobuf.Timestamp getEndTime() { - return endTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : endTime_; - } - /** - * - * - *
-   * Output only. The time the operation finished running.
-   * 
- * - * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - */ - @java.lang.Override - public com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder() { - return endTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : endTime_; - } - - public static final int REQUEST_FIELD_NUMBER = 3; - private com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest request_; - /** - * - * - *
-   * Output only. The original request for ingest.
-   * 
- * - * - * .google.cloud.contactcenterinsights.v1.IngestConversationsRequest request = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * - * @return Whether the request field is set. - */ - @java.lang.Override - public boolean hasRequest() { - return request_ != null; - } - /** - * - * - *
-   * Output only. The original request for ingest.
-   * 
- * - * - * .google.cloud.contactcenterinsights.v1.IngestConversationsRequest request = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * - * @return The request. - */ - @java.lang.Override - public com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest getRequest() { - return request_ == null - ? com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest.getDefaultInstance() - : request_; - } - /** - * - * - *
-   * Output only. The original request for ingest.
-   * 
- * - * - * .google.cloud.contactcenterinsights.v1.IngestConversationsRequest request = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - */ - @java.lang.Override - public com.google.cloud.contactcenterinsights.v1.IngestConversationsRequestOrBuilder - getRequestOrBuilder() { - return request_ == null - ? com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest.getDefaultInstance() - : request_; - } - - public static final int PARTIAL_ERRORS_FIELD_NUMBER = 4; - - @SuppressWarnings("serial") - private java.util.List partialErrors_; - /** - * - * - *
-   * Output only. Partial errors during ingest operation that might cause the operation
-   * output to be incomplete.
-   * 
- * - * - * repeated .google.rpc.Status partial_errors = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - */ - @java.lang.Override - public java.util.List getPartialErrorsList() { - return partialErrors_; - } - /** - * - * - *
-   * Output only. Partial errors during ingest operation that might cause the operation
-   * output to be incomplete.
-   * 
- * - * - * repeated .google.rpc.Status partial_errors = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - */ - @java.lang.Override - public java.util.List getPartialErrorsOrBuilderList() { - return partialErrors_; - } - /** - * - * - *
-   * Output only. Partial errors during ingest operation that might cause the operation
-   * output to be incomplete.
-   * 
- * - * - * repeated .google.rpc.Status partial_errors = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - */ - @java.lang.Override - public int getPartialErrorsCount() { - return partialErrors_.size(); - } - /** - * - * - *
-   * Output only. Partial errors during ingest operation that might cause the operation
-   * output to be incomplete.
-   * 
- * - * - * repeated .google.rpc.Status partial_errors = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - */ - @java.lang.Override - public com.google.rpc.Status getPartialErrors(int index) { - return partialErrors_.get(index); - } - /** - * - * - *
-   * Output only. Partial errors during ingest operation that might cause the operation
-   * output to be incomplete.
-   * 
- * - * - * repeated .google.rpc.Status partial_errors = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - */ - @java.lang.Override - public com.google.rpc.StatusOrBuilder getPartialErrorsOrBuilder(int index) { - return partialErrors_.get(index); - } - - private byte memoizedIsInitialized = -1; - - @java.lang.Override - public final boolean isInitialized() { - byte isInitialized = memoizedIsInitialized; - if (isInitialized == 1) return true; - if (isInitialized == 0) return false; - - memoizedIsInitialized = 1; - return true; - } - - @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - if (createTime_ != null) { - output.writeMessage(1, getCreateTime()); - } - if (endTime_ != null) { - output.writeMessage(2, getEndTime()); - } - if (request_ != null) { - output.writeMessage(3, getRequest()); - } - for (int i = 0; i < partialErrors_.size(); i++) { - output.writeMessage(4, partialErrors_.get(i)); - } - getUnknownFields().writeTo(output); - } - - @java.lang.Override - public int getSerializedSize() { - int size = memoizedSize; - if (size != -1) return size; - - size = 0; - if (createTime_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getCreateTime()); - } - if (endTime_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getEndTime()); - } - if (request_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getRequest()); - } - for (int i = 0; i < partialErrors_.size(); i++) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(4, partialErrors_.get(i)); - } - size += getUnknownFields().getSerializedSize(); - memoizedSize = size; - return size; - } - - @java.lang.Override - public boolean equals(final java.lang.Object obj) { - if (obj == this) { - return true; - } - if (!(obj instanceof com.google.cloud.contactcenterinsights.v1.IngestConversationsMetadata)) { - return super.equals(obj); - } - com.google.cloud.contactcenterinsights.v1.IngestConversationsMetadata other = - (com.google.cloud.contactcenterinsights.v1.IngestConversationsMetadata) obj; - - if (hasCreateTime() != other.hasCreateTime()) return false; - if (hasCreateTime()) { - if (!getCreateTime().equals(other.getCreateTime())) return false; - } - if (hasEndTime() != other.hasEndTime()) return false; - if (hasEndTime()) { - if (!getEndTime().equals(other.getEndTime())) return false; - } - if (hasRequest() != other.hasRequest()) return false; - if (hasRequest()) { - if (!getRequest().equals(other.getRequest())) return false; - } - if (!getPartialErrorsList().equals(other.getPartialErrorsList())) return false; - if (!getUnknownFields().equals(other.getUnknownFields())) return false; - return true; - } - - @java.lang.Override - public int hashCode() { - if (memoizedHashCode != 0) { - return memoizedHashCode; - } - int hash = 41; - hash = (19 * hash) + getDescriptor().hashCode(); - if (hasCreateTime()) { - hash = (37 * hash) + CREATE_TIME_FIELD_NUMBER; - hash = (53 * hash) + getCreateTime().hashCode(); - } - if (hasEndTime()) { - hash = (37 * hash) + END_TIME_FIELD_NUMBER; - hash = (53 * hash) + getEndTime().hashCode(); - } - if (hasRequest()) { - hash = (37 * hash) + REQUEST_FIELD_NUMBER; - hash = (53 * hash) + getRequest().hashCode(); - } - if (getPartialErrorsCount() > 0) { - hash = (37 * hash) + PARTIAL_ERRORS_FIELD_NUMBER; - hash = (53 * hash) + getPartialErrorsList().hashCode(); - } - hash = (29 * hash) + getUnknownFields().hashCode(); - memoizedHashCode = hash; - return hash; - } - - public static com.google.cloud.contactcenterinsights.v1.IngestConversationsMetadata parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - - public static com.google.cloud.contactcenterinsights.v1.IngestConversationsMetadata parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - - public static com.google.cloud.contactcenterinsights.v1.IngestConversationsMetadata parseFrom( - com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - - public static com.google.cloud.contactcenterinsights.v1.IngestConversationsMetadata parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - - public static com.google.cloud.contactcenterinsights.v1.IngestConversationsMetadata parseFrom( - byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - - public static com.google.cloud.contactcenterinsights.v1.IngestConversationsMetadata parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - - public static com.google.cloud.contactcenterinsights.v1.IngestConversationsMetadata parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); - } - - public static com.google.cloud.contactcenterinsights.v1.IngestConversationsMetadata parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); - } - - public static com.google.cloud.contactcenterinsights.v1.IngestConversationsMetadata - parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); - } - - public static com.google.cloud.contactcenterinsights.v1.IngestConversationsMetadata - parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); - } - - public static com.google.cloud.contactcenterinsights.v1.IngestConversationsMetadata parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); - } - - public static com.google.cloud.contactcenterinsights.v1.IngestConversationsMetadata parseFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); - } - - @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - - public static Builder newBuilder() { - return DEFAULT_INSTANCE.toBuilder(); - } - - public static Builder newBuilder( - com.google.cloud.contactcenterinsights.v1.IngestConversationsMetadata prototype) { - return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); - } - - @java.lang.Override - public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); - } - - @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - Builder builder = new Builder(parent); - return builder; - } - /** - * - * - *
-   * The metadata for an IngestConversations operation.
-   * 
- * - * Protobuf type {@code google.cloud.contactcenterinsights.v1.IngestConversationsMetadata} - */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements - // @@protoc_insertion_point(builder_implements:google.cloud.contactcenterinsights.v1.IngestConversationsMetadata) - com.google.cloud.contactcenterinsights.v1.IngestConversationsMetadataOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto - .internal_static_google_cloud_contactcenterinsights_v1_IngestConversationsMetadata_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto - .internal_static_google_cloud_contactcenterinsights_v1_IngestConversationsMetadata_fieldAccessorTable - .ensureFieldAccessorsInitialized( - com.google.cloud.contactcenterinsights.v1.IngestConversationsMetadata.class, - com.google.cloud.contactcenterinsights.v1.IngestConversationsMetadata.Builder.class); - } - - // Construct using - // com.google.cloud.contactcenterinsights.v1.IngestConversationsMetadata.newBuilder() - private Builder() {} - - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); - } - - @java.lang.Override - public Builder clear() { - super.clear(); - bitField0_ = 0; - createTime_ = null; - if (createTimeBuilder_ != null) { - createTimeBuilder_.dispose(); - createTimeBuilder_ = null; - } - endTime_ = null; - if (endTimeBuilder_ != null) { - endTimeBuilder_.dispose(); - endTimeBuilder_ = null; - } - request_ = null; - if (requestBuilder_ != null) { - requestBuilder_.dispose(); - requestBuilder_ = null; - } - if (partialErrorsBuilder_ == null) { - partialErrors_ = java.util.Collections.emptyList(); - } else { - partialErrors_ = null; - partialErrorsBuilder_.clear(); - } - bitField0_ = (bitField0_ & ~0x00000008); - return this; - } - - @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto - .internal_static_google_cloud_contactcenterinsights_v1_IngestConversationsMetadata_descriptor; - } - - @java.lang.Override - public com.google.cloud.contactcenterinsights.v1.IngestConversationsMetadata - getDefaultInstanceForType() { - return com.google.cloud.contactcenterinsights.v1.IngestConversationsMetadata - .getDefaultInstance(); - } - - @java.lang.Override - public com.google.cloud.contactcenterinsights.v1.IngestConversationsMetadata build() { - com.google.cloud.contactcenterinsights.v1.IngestConversationsMetadata result = buildPartial(); - if (!result.isInitialized()) { - throw newUninitializedMessageException(result); - } - return result; - } - - @java.lang.Override - public com.google.cloud.contactcenterinsights.v1.IngestConversationsMetadata buildPartial() { - com.google.cloud.contactcenterinsights.v1.IngestConversationsMetadata result = - new com.google.cloud.contactcenterinsights.v1.IngestConversationsMetadata(this); - buildPartialRepeatedFields(result); - if (bitField0_ != 0) { - buildPartial0(result); - } - onBuilt(); - return result; - } - - private void buildPartialRepeatedFields( - com.google.cloud.contactcenterinsights.v1.IngestConversationsMetadata result) { - if (partialErrorsBuilder_ == null) { - if (((bitField0_ & 0x00000008) != 0)) { - partialErrors_ = java.util.Collections.unmodifiableList(partialErrors_); - bitField0_ = (bitField0_ & ~0x00000008); - } - result.partialErrors_ = partialErrors_; - } else { - result.partialErrors_ = partialErrorsBuilder_.build(); - } - } - - private void buildPartial0( - com.google.cloud.contactcenterinsights.v1.IngestConversationsMetadata result) { - int from_bitField0_ = bitField0_; - if (((from_bitField0_ & 0x00000001) != 0)) { - result.createTime_ = createTimeBuilder_ == null ? createTime_ : createTimeBuilder_.build(); - } - if (((from_bitField0_ & 0x00000002) != 0)) { - result.endTime_ = endTimeBuilder_ == null ? endTime_ : endTimeBuilder_.build(); - } - if (((from_bitField0_ & 0x00000004) != 0)) { - result.request_ = requestBuilder_ == null ? request_ : requestBuilder_.build(); - } - } - - @java.lang.Override - public Builder clone() { - return super.clone(); - } - - @java.lang.Override - public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return super.setField(field, value); - } - - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { - return super.clearField(field); - } - - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { - return super.clearOneof(oneof); - } - - @java.lang.Override - public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { - return super.setRepeatedField(field, index, value); - } - - @java.lang.Override - public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return super.addRepeatedField(field, value); - } - - @java.lang.Override - public Builder mergeFrom(com.google.protobuf.Message other) { - if (other instanceof com.google.cloud.contactcenterinsights.v1.IngestConversationsMetadata) { - return mergeFrom( - (com.google.cloud.contactcenterinsights.v1.IngestConversationsMetadata) other); - } else { - super.mergeFrom(other); - return this; - } - } - - public Builder mergeFrom( - com.google.cloud.contactcenterinsights.v1.IngestConversationsMetadata other) { - if (other - == com.google.cloud.contactcenterinsights.v1.IngestConversationsMetadata - .getDefaultInstance()) return this; - if (other.hasCreateTime()) { - mergeCreateTime(other.getCreateTime()); - } - if (other.hasEndTime()) { - mergeEndTime(other.getEndTime()); - } - if (other.hasRequest()) { - mergeRequest(other.getRequest()); - } - if (partialErrorsBuilder_ == null) { - if (!other.partialErrors_.isEmpty()) { - if (partialErrors_.isEmpty()) { - partialErrors_ = other.partialErrors_; - bitField0_ = (bitField0_ & ~0x00000008); - } else { - ensurePartialErrorsIsMutable(); - partialErrors_.addAll(other.partialErrors_); - } - onChanged(); - } - } else { - if (!other.partialErrors_.isEmpty()) { - if (partialErrorsBuilder_.isEmpty()) { - partialErrorsBuilder_.dispose(); - partialErrorsBuilder_ = null; - partialErrors_ = other.partialErrors_; - bitField0_ = (bitField0_ & ~0x00000008); - partialErrorsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders - ? getPartialErrorsFieldBuilder() - : null; - } else { - partialErrorsBuilder_.addAllMessages(other.partialErrors_); - } - } - } - this.mergeUnknownFields(other.getUnknownFields()); - onChanged(); - return this; - } - - @java.lang.Override - public final boolean isInitialized() { - return true; - } - - @java.lang.Override - public Builder mergeFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - if (extensionRegistry == null) { - throw new java.lang.NullPointerException(); - } - try { - boolean done = false; - while (!done) { - int tag = input.readTag(); - switch (tag) { - case 0: - done = true; - break; - case 10: - { - input.readMessage(getCreateTimeFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: - { - input.readMessage(getEndTimeFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00000002; - break; - } // case 18 - case 26: - { - input.readMessage(getRequestFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00000004; - break; - } // case 26 - case 34: - { - com.google.rpc.Status m = - input.readMessage(com.google.rpc.Status.parser(), extensionRegistry); - if (partialErrorsBuilder_ == null) { - ensurePartialErrorsIsMutable(); - partialErrors_.add(m); - } else { - partialErrorsBuilder_.addMessage(m); - } - break; - } // case 34 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: - } // switch (tag) - } // while (!done) - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.unwrapIOException(); - } finally { - onChanged(); - } // finally - return this; - } - - private int bitField0_; - - private com.google.protobuf.Timestamp createTime_; - private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> - createTimeBuilder_; - /** - * - * - *
-     * Output only. The time the operation was created.
-     * 
- * - * - * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * - * @return Whether the createTime field is set. - */ - public boolean hasCreateTime() { - return ((bitField0_ & 0x00000001) != 0); - } - /** - * - * - *
-     * Output only. The time the operation was created.
-     * 
- * - * - * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * - * @return The createTime. - */ - public com.google.protobuf.Timestamp getCreateTime() { - if (createTimeBuilder_ == null) { - return createTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : createTime_; - } else { - return createTimeBuilder_.getMessage(); - } - } - /** - * - * - *
-     * Output only. The time the operation was created.
-     * 
- * - * - * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - */ - public Builder setCreateTime(com.google.protobuf.Timestamp value) { - if (createTimeBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - createTime_ = value; - } else { - createTimeBuilder_.setMessage(value); - } - bitField0_ |= 0x00000001; - onChanged(); - return this; - } - /** - * - * - *
-     * Output only. The time the operation was created.
-     * 
- * - * - * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - */ - public Builder setCreateTime(com.google.protobuf.Timestamp.Builder builderForValue) { - if (createTimeBuilder_ == null) { - createTime_ = builderForValue.build(); - } else { - createTimeBuilder_.setMessage(builderForValue.build()); - } - bitField0_ |= 0x00000001; - onChanged(); - return this; - } - /** - * - * - *
-     * Output only. The time the operation was created.
-     * 
- * - * - * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - */ - public Builder mergeCreateTime(com.google.protobuf.Timestamp value) { - if (createTimeBuilder_ == null) { - if (((bitField0_ & 0x00000001) != 0) - && createTime_ != null - && createTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { - getCreateTimeBuilder().mergeFrom(value); - } else { - createTime_ = value; - } - } else { - createTimeBuilder_.mergeFrom(value); - } - bitField0_ |= 0x00000001; - onChanged(); - return this; - } - /** - * - * - *
-     * Output only. The time the operation was created.
-     * 
- * - * - * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - */ - public Builder clearCreateTime() { - bitField0_ = (bitField0_ & ~0x00000001); - createTime_ = null; - if (createTimeBuilder_ != null) { - createTimeBuilder_.dispose(); - createTimeBuilder_ = null; - } - onChanged(); - return this; - } - /** - * - * - *
-     * Output only. The time the operation was created.
-     * 
- * - * - * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - */ - public com.google.protobuf.Timestamp.Builder getCreateTimeBuilder() { - bitField0_ |= 0x00000001; - onChanged(); - return getCreateTimeFieldBuilder().getBuilder(); - } - /** - * - * - *
-     * Output only. The time the operation was created.
-     * 
- * - * - * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - */ - public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { - if (createTimeBuilder_ != null) { - return createTimeBuilder_.getMessageOrBuilder(); - } else { - return createTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : createTime_; - } - } - /** - * - * - *
-     * Output only. The time the operation was created.
-     * 
- * - * - * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - */ - private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> - getCreateTimeFieldBuilder() { - if (createTimeBuilder_ == null) { - createTimeBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder>( - getCreateTime(), getParentForChildren(), isClean()); - createTime_ = null; - } - return createTimeBuilder_; - } - - private com.google.protobuf.Timestamp endTime_; - private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> - endTimeBuilder_; - /** - * - * - *
-     * Output only. The time the operation finished running.
-     * 
- * - * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * - * @return Whether the endTime field is set. - */ - public boolean hasEndTime() { - return ((bitField0_ & 0x00000002) != 0); - } - /** - * - * - *
-     * Output only. The time the operation finished running.
-     * 
- * - * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * - * @return The endTime. - */ - public com.google.protobuf.Timestamp getEndTime() { - if (endTimeBuilder_ == null) { - return endTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : endTime_; - } else { - return endTimeBuilder_.getMessage(); - } - } - /** - * - * - *
-     * Output only. The time the operation finished running.
-     * 
- * - * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - */ - public Builder setEndTime(com.google.protobuf.Timestamp value) { - if (endTimeBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - endTime_ = value; - } else { - endTimeBuilder_.setMessage(value); - } - bitField0_ |= 0x00000002; - onChanged(); - return this; - } - /** - * - * - *
-     * Output only. The time the operation finished running.
-     * 
- * - * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - */ - public Builder setEndTime(com.google.protobuf.Timestamp.Builder builderForValue) { - if (endTimeBuilder_ == null) { - endTime_ = builderForValue.build(); - } else { - endTimeBuilder_.setMessage(builderForValue.build()); - } - bitField0_ |= 0x00000002; - onChanged(); - return this; - } - /** - * - * - *
-     * Output only. The time the operation finished running.
-     * 
- * - * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - */ - public Builder mergeEndTime(com.google.protobuf.Timestamp value) { - if (endTimeBuilder_ == null) { - if (((bitField0_ & 0x00000002) != 0) - && endTime_ != null - && endTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { - getEndTimeBuilder().mergeFrom(value); - } else { - endTime_ = value; - } - } else { - endTimeBuilder_.mergeFrom(value); - } - bitField0_ |= 0x00000002; - onChanged(); - return this; - } - /** - * - * - *
-     * Output only. The time the operation finished running.
-     * 
- * - * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - */ - public Builder clearEndTime() { - bitField0_ = (bitField0_ & ~0x00000002); - endTime_ = null; - if (endTimeBuilder_ != null) { - endTimeBuilder_.dispose(); - endTimeBuilder_ = null; - } - onChanged(); - return this; - } - /** - * - * - *
-     * Output only. The time the operation finished running.
-     * 
- * - * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - */ - public com.google.protobuf.Timestamp.Builder getEndTimeBuilder() { - bitField0_ |= 0x00000002; - onChanged(); - return getEndTimeFieldBuilder().getBuilder(); - } - /** - * - * - *
-     * Output only. The time the operation finished running.
-     * 
- * - * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - */ - public com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder() { - if (endTimeBuilder_ != null) { - return endTimeBuilder_.getMessageOrBuilder(); - } else { - return endTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : endTime_; - } - } - /** - * - * - *
-     * Output only. The time the operation finished running.
-     * 
- * - * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - */ - private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> - getEndTimeFieldBuilder() { - if (endTimeBuilder_ == null) { - endTimeBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder>( - getEndTime(), getParentForChildren(), isClean()); - endTime_ = null; - } - return endTimeBuilder_; - } - - private com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest request_; - private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest, - com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest.Builder, - com.google.cloud.contactcenterinsights.v1.IngestConversationsRequestOrBuilder> - requestBuilder_; - /** - * - * - *
-     * Output only. The original request for ingest.
-     * 
- * - * - * .google.cloud.contactcenterinsights.v1.IngestConversationsRequest request = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * - * @return Whether the request field is set. - */ - public boolean hasRequest() { - return ((bitField0_ & 0x00000004) != 0); - } - /** - * - * - *
-     * Output only. The original request for ingest.
-     * 
- * - * - * .google.cloud.contactcenterinsights.v1.IngestConversationsRequest request = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * - * @return The request. - */ - public com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest getRequest() { - if (requestBuilder_ == null) { - return request_ == null - ? com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest - .getDefaultInstance() - : request_; - } else { - return requestBuilder_.getMessage(); - } - } - /** - * - * - *
-     * Output only. The original request for ingest.
-     * 
- * - * - * .google.cloud.contactcenterinsights.v1.IngestConversationsRequest request = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - */ - public Builder setRequest( - com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest value) { - if (requestBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - request_ = value; - } else { - requestBuilder_.setMessage(value); - } - bitField0_ |= 0x00000004; - onChanged(); - return this; - } - /** - * - * - *
-     * Output only. The original request for ingest.
-     * 
- * - * - * .google.cloud.contactcenterinsights.v1.IngestConversationsRequest request = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - */ - public Builder setRequest( - com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest.Builder - builderForValue) { - if (requestBuilder_ == null) { - request_ = builderForValue.build(); - } else { - requestBuilder_.setMessage(builderForValue.build()); - } - bitField0_ |= 0x00000004; - onChanged(); - return this; - } - /** - * - * - *
-     * Output only. The original request for ingest.
-     * 
- * - * - * .google.cloud.contactcenterinsights.v1.IngestConversationsRequest request = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - */ - public Builder mergeRequest( - com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest value) { - if (requestBuilder_ == null) { - if (((bitField0_ & 0x00000004) != 0) - && request_ != null - && request_ - != com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest - .getDefaultInstance()) { - getRequestBuilder().mergeFrom(value); - } else { - request_ = value; - } - } else { - requestBuilder_.mergeFrom(value); - } - bitField0_ |= 0x00000004; - onChanged(); - return this; - } - /** - * - * - *
-     * Output only. The original request for ingest.
-     * 
- * - * - * .google.cloud.contactcenterinsights.v1.IngestConversationsRequest request = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - */ - public Builder clearRequest() { - bitField0_ = (bitField0_ & ~0x00000004); - request_ = null; - if (requestBuilder_ != null) { - requestBuilder_.dispose(); - requestBuilder_ = null; - } - onChanged(); - return this; - } - /** - * - * - *
-     * Output only. The original request for ingest.
-     * 
- * - * - * .google.cloud.contactcenterinsights.v1.IngestConversationsRequest request = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - */ - public com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest.Builder - getRequestBuilder() { - bitField0_ |= 0x00000004; - onChanged(); - return getRequestFieldBuilder().getBuilder(); - } - /** - * - * - *
-     * Output only. The original request for ingest.
-     * 
- * - * - * .google.cloud.contactcenterinsights.v1.IngestConversationsRequest request = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - */ - public com.google.cloud.contactcenterinsights.v1.IngestConversationsRequestOrBuilder - getRequestOrBuilder() { - if (requestBuilder_ != null) { - return requestBuilder_.getMessageOrBuilder(); - } else { - return request_ == null - ? com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest - .getDefaultInstance() - : request_; - } - } - /** - * - * - *
-     * Output only. The original request for ingest.
-     * 
- * - * - * .google.cloud.contactcenterinsights.v1.IngestConversationsRequest request = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - */ - private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest, - com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest.Builder, - com.google.cloud.contactcenterinsights.v1.IngestConversationsRequestOrBuilder> - getRequestFieldBuilder() { - if (requestBuilder_ == null) { - requestBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest, - com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest.Builder, - com.google.cloud.contactcenterinsights.v1.IngestConversationsRequestOrBuilder>( - getRequest(), getParentForChildren(), isClean()); - request_ = null; - } - return requestBuilder_; - } - - private java.util.List partialErrors_ = - java.util.Collections.emptyList(); - - private void ensurePartialErrorsIsMutable() { - if (!((bitField0_ & 0x00000008) != 0)) { - partialErrors_ = new java.util.ArrayList(partialErrors_); - bitField0_ |= 0x00000008; - } - } - - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.rpc.Status, com.google.rpc.Status.Builder, com.google.rpc.StatusOrBuilder> - partialErrorsBuilder_; - - /** - * - * - *
-     * Output only. Partial errors during ingest operation that might cause the operation
-     * output to be incomplete.
-     * 
- * - * - * repeated .google.rpc.Status partial_errors = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - */ - public java.util.List getPartialErrorsList() { - if (partialErrorsBuilder_ == null) { - return java.util.Collections.unmodifiableList(partialErrors_); - } else { - return partialErrorsBuilder_.getMessageList(); - } - } - /** - * - * - *
-     * Output only. Partial errors during ingest operation that might cause the operation
-     * output to be incomplete.
-     * 
- * - * - * repeated .google.rpc.Status partial_errors = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - */ - public int getPartialErrorsCount() { - if (partialErrorsBuilder_ == null) { - return partialErrors_.size(); - } else { - return partialErrorsBuilder_.getCount(); - } - } - /** - * - * - *
-     * Output only. Partial errors during ingest operation that might cause the operation
-     * output to be incomplete.
-     * 
- * - * - * repeated .google.rpc.Status partial_errors = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - */ - public com.google.rpc.Status getPartialErrors(int index) { - if (partialErrorsBuilder_ == null) { - return partialErrors_.get(index); - } else { - return partialErrorsBuilder_.getMessage(index); - } - } - /** - * - * - *
-     * Output only. Partial errors during ingest operation that might cause the operation
-     * output to be incomplete.
-     * 
- * - * - * repeated .google.rpc.Status partial_errors = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - */ - public Builder setPartialErrors(int index, com.google.rpc.Status value) { - if (partialErrorsBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - ensurePartialErrorsIsMutable(); - partialErrors_.set(index, value); - onChanged(); - } else { - partialErrorsBuilder_.setMessage(index, value); - } - return this; - } - /** - * - * - *
-     * Output only. Partial errors during ingest operation that might cause the operation
-     * output to be incomplete.
-     * 
- * - * - * repeated .google.rpc.Status partial_errors = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - */ - public Builder setPartialErrors(int index, com.google.rpc.Status.Builder builderForValue) { - if (partialErrorsBuilder_ == null) { - ensurePartialErrorsIsMutable(); - partialErrors_.set(index, builderForValue.build()); - onChanged(); - } else { - partialErrorsBuilder_.setMessage(index, builderForValue.build()); - } - return this; - } - /** - * - * - *
-     * Output only. Partial errors during ingest operation that might cause the operation
-     * output to be incomplete.
-     * 
- * - * - * repeated .google.rpc.Status partial_errors = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - */ - public Builder addPartialErrors(com.google.rpc.Status value) { - if (partialErrorsBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - ensurePartialErrorsIsMutable(); - partialErrors_.add(value); - onChanged(); - } else { - partialErrorsBuilder_.addMessage(value); - } - return this; - } - /** - * - * - *
-     * Output only. Partial errors during ingest operation that might cause the operation
-     * output to be incomplete.
-     * 
- * - * - * repeated .google.rpc.Status partial_errors = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - */ - public Builder addPartialErrors(int index, com.google.rpc.Status value) { - if (partialErrorsBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - ensurePartialErrorsIsMutable(); - partialErrors_.add(index, value); - onChanged(); - } else { - partialErrorsBuilder_.addMessage(index, value); - } - return this; - } - /** - * - * - *
-     * Output only. Partial errors during ingest operation that might cause the operation
-     * output to be incomplete.
-     * 
- * - * - * repeated .google.rpc.Status partial_errors = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - */ - public Builder addPartialErrors(com.google.rpc.Status.Builder builderForValue) { - if (partialErrorsBuilder_ == null) { - ensurePartialErrorsIsMutable(); - partialErrors_.add(builderForValue.build()); - onChanged(); - } else { - partialErrorsBuilder_.addMessage(builderForValue.build()); - } - return this; - } - /** - * - * - *
-     * Output only. Partial errors during ingest operation that might cause the operation
-     * output to be incomplete.
-     * 
- * - * - * repeated .google.rpc.Status partial_errors = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - */ - public Builder addPartialErrors(int index, com.google.rpc.Status.Builder builderForValue) { - if (partialErrorsBuilder_ == null) { - ensurePartialErrorsIsMutable(); - partialErrors_.add(index, builderForValue.build()); - onChanged(); - } else { - partialErrorsBuilder_.addMessage(index, builderForValue.build()); - } - return this; - } - /** - * - * - *
-     * Output only. Partial errors during ingest operation that might cause the operation
-     * output to be incomplete.
-     * 
- * - * - * repeated .google.rpc.Status partial_errors = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - */ - public Builder addAllPartialErrors(java.lang.Iterable values) { - if (partialErrorsBuilder_ == null) { - ensurePartialErrorsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, partialErrors_); - onChanged(); - } else { - partialErrorsBuilder_.addAllMessages(values); - } - return this; - } - /** - * - * - *
-     * Output only. Partial errors during ingest operation that might cause the operation
-     * output to be incomplete.
-     * 
- * - * - * repeated .google.rpc.Status partial_errors = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - */ - public Builder clearPartialErrors() { - if (partialErrorsBuilder_ == null) { - partialErrors_ = java.util.Collections.emptyList(); - bitField0_ = (bitField0_ & ~0x00000008); - onChanged(); - } else { - partialErrorsBuilder_.clear(); - } - return this; - } - /** - * - * - *
-     * Output only. Partial errors during ingest operation that might cause the operation
-     * output to be incomplete.
-     * 
- * - * - * repeated .google.rpc.Status partial_errors = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - */ - public Builder removePartialErrors(int index) { - if (partialErrorsBuilder_ == null) { - ensurePartialErrorsIsMutable(); - partialErrors_.remove(index); - onChanged(); - } else { - partialErrorsBuilder_.remove(index); - } - return this; - } - /** - * - * - *
-     * Output only. Partial errors during ingest operation that might cause the operation
-     * output to be incomplete.
-     * 
- * - * - * repeated .google.rpc.Status partial_errors = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - */ - public com.google.rpc.Status.Builder getPartialErrorsBuilder(int index) { - return getPartialErrorsFieldBuilder().getBuilder(index); - } - /** - * - * - *
-     * Output only. Partial errors during ingest operation that might cause the operation
-     * output to be incomplete.
-     * 
- * - * - * repeated .google.rpc.Status partial_errors = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - */ - public com.google.rpc.StatusOrBuilder getPartialErrorsOrBuilder(int index) { - if (partialErrorsBuilder_ == null) { - return partialErrors_.get(index); - } else { - return partialErrorsBuilder_.getMessageOrBuilder(index); - } - } - /** - * - * - *
-     * Output only. Partial errors during ingest operation that might cause the operation
-     * output to be incomplete.
-     * 
- * - * - * repeated .google.rpc.Status partial_errors = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - */ - public java.util.List - getPartialErrorsOrBuilderList() { - if (partialErrorsBuilder_ != null) { - return partialErrorsBuilder_.getMessageOrBuilderList(); - } else { - return java.util.Collections.unmodifiableList(partialErrors_); - } - } - /** - * - * - *
-     * Output only. Partial errors during ingest operation that might cause the operation
-     * output to be incomplete.
-     * 
- * - * - * repeated .google.rpc.Status partial_errors = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - */ - public com.google.rpc.Status.Builder addPartialErrorsBuilder() { - return getPartialErrorsFieldBuilder().addBuilder(com.google.rpc.Status.getDefaultInstance()); - } - /** - * - * - *
-     * Output only. Partial errors during ingest operation that might cause the operation
-     * output to be incomplete.
-     * 
- * - * - * repeated .google.rpc.Status partial_errors = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - */ - public com.google.rpc.Status.Builder addPartialErrorsBuilder(int index) { - return getPartialErrorsFieldBuilder() - .addBuilder(index, com.google.rpc.Status.getDefaultInstance()); - } - /** - * - * - *
-     * Output only. Partial errors during ingest operation that might cause the operation
-     * output to be incomplete.
-     * 
- * - * - * repeated .google.rpc.Status partial_errors = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - */ - public java.util.List getPartialErrorsBuilderList() { - return getPartialErrorsFieldBuilder().getBuilderList(); - } - - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.rpc.Status, com.google.rpc.Status.Builder, com.google.rpc.StatusOrBuilder> - getPartialErrorsFieldBuilder() { - if (partialErrorsBuilder_ == null) { - partialErrorsBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.rpc.Status, - com.google.rpc.Status.Builder, - com.google.rpc.StatusOrBuilder>( - partialErrors_, - ((bitField0_ & 0x00000008) != 0), - getParentForChildren(), - isClean()); - partialErrors_ = null; - } - return partialErrorsBuilder_; - } - - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.setUnknownFields(unknownFields); - } - - @java.lang.Override - public final Builder mergeUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.mergeUnknownFields(unknownFields); - } - - // @@protoc_insertion_point(builder_scope:google.cloud.contactcenterinsights.v1.IngestConversationsMetadata) - } - - // @@protoc_insertion_point(class_scope:google.cloud.contactcenterinsights.v1.IngestConversationsMetadata) - private static final com.google.cloud.contactcenterinsights.v1.IngestConversationsMetadata - DEFAULT_INSTANCE; - - static { - DEFAULT_INSTANCE = new com.google.cloud.contactcenterinsights.v1.IngestConversationsMetadata(); - } - - public static com.google.cloud.contactcenterinsights.v1.IngestConversationsMetadata - getDefaultInstance() { - return DEFAULT_INSTANCE; - } - - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public IngestConversationsMetadata parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; - - public static com.google.protobuf.Parser parser() { - return PARSER; - } - - @java.lang.Override - public com.google.protobuf.Parser getParserForType() { - return PARSER; - } - - @java.lang.Override - public com.google.cloud.contactcenterinsights.v1.IngestConversationsMetadata - getDefaultInstanceForType() { - return DEFAULT_INSTANCE; - } -} diff --git a/java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/IngestConversationsMetadataOrBuilder.java b/java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/IngestConversationsMetadataOrBuilder.java deleted file mode 100644 index 428b5a217aa2..000000000000 --- a/java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/IngestConversationsMetadataOrBuilder.java +++ /dev/null @@ -1,209 +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. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/contactcenterinsights/v1/contact_center_insights.proto - -package com.google.cloud.contactcenterinsights.v1; - -public interface IngestConversationsMetadataOrBuilder - extends - // @@protoc_insertion_point(interface_extends:google.cloud.contactcenterinsights.v1.IngestConversationsMetadata) - com.google.protobuf.MessageOrBuilder { - - /** - * - * - *
-   * Output only. The time the operation was created.
-   * 
- * - * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * - * @return Whether the createTime field is set. - */ - boolean hasCreateTime(); - /** - * - * - *
-   * Output only. The time the operation was created.
-   * 
- * - * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * - * @return The createTime. - */ - com.google.protobuf.Timestamp getCreateTime(); - /** - * - * - *
-   * Output only. The time the operation was created.
-   * 
- * - * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - */ - com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder(); - - /** - * - * - *
-   * Output only. The time the operation finished running.
-   * 
- * - * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * - * @return Whether the endTime field is set. - */ - boolean hasEndTime(); - /** - * - * - *
-   * Output only. The time the operation finished running.
-   * 
- * - * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * - * @return The endTime. - */ - com.google.protobuf.Timestamp getEndTime(); - /** - * - * - *
-   * Output only. The time the operation finished running.
-   * 
- * - * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - */ - com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder(); - - /** - * - * - *
-   * Output only. The original request for ingest.
-   * 
- * - * - * .google.cloud.contactcenterinsights.v1.IngestConversationsRequest request = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * - * @return Whether the request field is set. - */ - boolean hasRequest(); - /** - * - * - *
-   * Output only. The original request for ingest.
-   * 
- * - * - * .google.cloud.contactcenterinsights.v1.IngestConversationsRequest request = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * - * @return The request. - */ - com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest getRequest(); - /** - * - * - *
-   * Output only. The original request for ingest.
-   * 
- * - * - * .google.cloud.contactcenterinsights.v1.IngestConversationsRequest request = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - */ - com.google.cloud.contactcenterinsights.v1.IngestConversationsRequestOrBuilder - getRequestOrBuilder(); - - /** - * - * - *
-   * Output only. Partial errors during ingest operation that might cause the operation
-   * output to be incomplete.
-   * 
- * - * - * repeated .google.rpc.Status partial_errors = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - */ - java.util.List getPartialErrorsList(); - /** - * - * - *
-   * Output only. Partial errors during ingest operation that might cause the operation
-   * output to be incomplete.
-   * 
- * - * - * repeated .google.rpc.Status partial_errors = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - */ - com.google.rpc.Status getPartialErrors(int index); - /** - * - * - *
-   * Output only. Partial errors during ingest operation that might cause the operation
-   * output to be incomplete.
-   * 
- * - * - * repeated .google.rpc.Status partial_errors = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - */ - int getPartialErrorsCount(); - /** - * - * - *
-   * Output only. Partial errors during ingest operation that might cause the operation
-   * output to be incomplete.
-   * 
- * - * - * repeated .google.rpc.Status partial_errors = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - */ - java.util.List getPartialErrorsOrBuilderList(); - /** - * - * - *
-   * Output only. Partial errors during ingest operation that might cause the operation
-   * output to be incomplete.
-   * 
- * - * - * repeated .google.rpc.Status partial_errors = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - */ - com.google.rpc.StatusOrBuilder getPartialErrorsOrBuilder(int index); -} diff --git a/java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/IngestConversationsRequestOrBuilder.java b/java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/IngestConversationsRequestOrBuilder.java deleted file mode 100644 index cdc6e2a96519..000000000000 --- a/java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/IngestConversationsRequestOrBuilder.java +++ /dev/null @@ -1,189 +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. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/contactcenterinsights/v1/contact_center_insights.proto - -package com.google.cloud.contactcenterinsights.v1; - -public interface IngestConversationsRequestOrBuilder - extends - // @@protoc_insertion_point(interface_extends:google.cloud.contactcenterinsights.v1.IngestConversationsRequest) - com.google.protobuf.MessageOrBuilder { - - /** - * - * - *
-   * A cloud storage bucket source.
-   * 
- * - * - * .google.cloud.contactcenterinsights.v1.IngestConversationsRequest.GcsSource gcs_source = 2; - * - * - * @return Whether the gcsSource field is set. - */ - boolean hasGcsSource(); - /** - * - * - *
-   * A cloud storage bucket source.
-   * 
- * - * - * .google.cloud.contactcenterinsights.v1.IngestConversationsRequest.GcsSource gcs_source = 2; - * - * - * @return The gcsSource. - */ - com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest.GcsSource getGcsSource(); - /** - * - * - *
-   * A cloud storage bucket source.
-   * 
- * - * - * .google.cloud.contactcenterinsights.v1.IngestConversationsRequest.GcsSource gcs_source = 2; - * - */ - com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest.GcsSourceOrBuilder - getGcsSourceOrBuilder(); - - /** - * - * - *
-   * Configuration for when `source` contains conversation transcripts.
-   * 
- * - * - * .google.cloud.contactcenterinsights.v1.IngestConversationsRequest.TranscriptObjectConfig transcript_object_config = 3; - * - * - * @return Whether the transcriptObjectConfig field is set. - */ - boolean hasTranscriptObjectConfig(); - /** - * - * - *
-   * Configuration for when `source` contains conversation transcripts.
-   * 
- * - * - * .google.cloud.contactcenterinsights.v1.IngestConversationsRequest.TranscriptObjectConfig transcript_object_config = 3; - * - * - * @return The transcriptObjectConfig. - */ - com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest.TranscriptObjectConfig - getTranscriptObjectConfig(); - /** - * - * - *
-   * Configuration for when `source` contains conversation transcripts.
-   * 
- * - * - * .google.cloud.contactcenterinsights.v1.IngestConversationsRequest.TranscriptObjectConfig transcript_object_config = 3; - * - */ - com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest - .TranscriptObjectConfigOrBuilder - getTranscriptObjectConfigOrBuilder(); - - /** - * - * - *
-   * Required. The parent resource for new conversations.
-   * 
- * - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * - * @return The parent. - */ - java.lang.String getParent(); - /** - * - * - *
-   * Required. The parent resource for new conversations.
-   * 
- * - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * - * @return The bytes for parent. - */ - com.google.protobuf.ByteString getParentBytes(); - - /** - * - * - *
-   * Configuration that applies to all conversations.
-   * 
- * - * - * .google.cloud.contactcenterinsights.v1.IngestConversationsRequest.ConversationConfig conversation_config = 4; - * - * - * @return Whether the conversationConfig field is set. - */ - boolean hasConversationConfig(); - /** - * - * - *
-   * Configuration that applies to all conversations.
-   * 
- * - * - * .google.cloud.contactcenterinsights.v1.IngestConversationsRequest.ConversationConfig conversation_config = 4; - * - * - * @return The conversationConfig. - */ - com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest.ConversationConfig - getConversationConfig(); - /** - * - * - *
-   * Configuration that applies to all conversations.
-   * 
- * - * - * .google.cloud.contactcenterinsights.v1.IngestConversationsRequest.ConversationConfig conversation_config = 4; - * - */ - com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest.ConversationConfigOrBuilder - getConversationConfigOrBuilder(); - - public com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest.SourceCase - getSourceCase(); - - public com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest.ObjectConfigCase - getObjectConfigCase(); -} diff --git a/java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/IngestConversationsResponseOrBuilder.java b/java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/IngestConversationsResponseOrBuilder.java deleted file mode 100644 index a82f2c5d67cd..000000000000 --- a/java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/IngestConversationsResponseOrBuilder.java +++ /dev/null @@ -1,24 +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. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/contactcenterinsights/v1/contact_center_insights.proto - -package com.google.cloud.contactcenterinsights.v1; - -public interface IngestConversationsResponseOrBuilder - extends - // @@protoc_insertion_point(interface_extends:google.cloud.contactcenterinsights.v1.IngestConversationsResponse) - com.google.protobuf.MessageOrBuilder {} diff --git a/java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/InterruptionDataOrBuilder.java b/java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/InterruptionDataOrBuilder.java deleted file mode 100644 index 094a4e126dd9..000000000000 --- a/java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/InterruptionDataOrBuilder.java +++ /dev/null @@ -1,24 +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. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/contactcenterinsights/v1/resources.proto - -package com.google.cloud.contactcenterinsights.v1; - -public interface InterruptionDataOrBuilder - extends - // @@protoc_insertion_point(interface_extends:google.cloud.contactcenterinsights.v1.InterruptionData) - com.google.protobuf.MessageOrBuilder {} diff --git a/java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/IssueModelLabelStatsOrBuilder.java b/java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/IssueModelLabelStatsOrBuilder.java deleted file mode 100644 index f07cfaf4a42f..000000000000 --- a/java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/IssueModelLabelStatsOrBuilder.java +++ /dev/null @@ -1,127 +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. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/contactcenterinsights/v1/resources.proto - -package com.google.cloud.contactcenterinsights.v1; - -public interface IssueModelLabelStatsOrBuilder - extends - // @@protoc_insertion_point(interface_extends:google.cloud.contactcenterinsights.v1.IssueModelLabelStats) - com.google.protobuf.MessageOrBuilder { - - /** - * - * - *
-   * Number of conversations the issue model has analyzed at this point in time.
-   * 
- * - * int64 analyzed_conversations_count = 1; - * - * @return The analyzedConversationsCount. - */ - long getAnalyzedConversationsCount(); - - /** - * - * - *
-   * Number of analyzed conversations for which no issue was applicable at this
-   * point in time.
-   * 
- * - * int64 unclassified_conversations_count = 2; - * - * @return The unclassifiedConversationsCount. - */ - long getUnclassifiedConversationsCount(); - - /** - * - * - *
-   * Statistics on each issue. Key is the issue's resource name.
-   * 
- * - * - * map<string, .google.cloud.contactcenterinsights.v1.IssueModelLabelStats.IssueStats> issue_stats = 3; - * - */ - int getIssueStatsCount(); - /** - * - * - *
-   * Statistics on each issue. Key is the issue's resource name.
-   * 
- * - * - * map<string, .google.cloud.contactcenterinsights.v1.IssueModelLabelStats.IssueStats> issue_stats = 3; - * - */ - boolean containsIssueStats(java.lang.String key); - /** Use {@link #getIssueStatsMap()} instead. */ - @java.lang.Deprecated - java.util.Map< - java.lang.String, - com.google.cloud.contactcenterinsights.v1.IssueModelLabelStats.IssueStats> - getIssueStats(); - /** - * - * - *
-   * Statistics on each issue. Key is the issue's resource name.
-   * 
- * - * - * map<string, .google.cloud.contactcenterinsights.v1.IssueModelLabelStats.IssueStats> issue_stats = 3; - * - */ - java.util.Map< - java.lang.String, - com.google.cloud.contactcenterinsights.v1.IssueModelLabelStats.IssueStats> - getIssueStatsMap(); - /** - * - * - *
-   * Statistics on each issue. Key is the issue's resource name.
-   * 
- * - * - * map<string, .google.cloud.contactcenterinsights.v1.IssueModelLabelStats.IssueStats> issue_stats = 3; - * - */ - /* nullable */ - com.google.cloud.contactcenterinsights.v1.IssueModelLabelStats.IssueStats getIssueStatsOrDefault( - java.lang.String key, - /* nullable */ - com.google.cloud.contactcenterinsights.v1.IssueModelLabelStats.IssueStats defaultValue); - /** - * - * - *
-   * Statistics on each issue. Key is the issue's resource name.
-   * 
- * - * - * map<string, .google.cloud.contactcenterinsights.v1.IssueModelLabelStats.IssueStats> issue_stats = 3; - * - */ - com.google.cloud.contactcenterinsights.v1.IssueModelLabelStats.IssueStats getIssueStatsOrThrow( - java.lang.String key); -} diff --git a/java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ListIssueModelsRequestOrBuilder.java b/java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ListIssueModelsRequestOrBuilder.java deleted file mode 100644 index 30697135719b..000000000000 --- a/java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ListIssueModelsRequestOrBuilder.java +++ /dev/null @@ -1,54 +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. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/contactcenterinsights/v1/contact_center_insights.proto - -package com.google.cloud.contactcenterinsights.v1; - -public interface ListIssueModelsRequestOrBuilder - extends - // @@protoc_insertion_point(interface_extends:google.cloud.contactcenterinsights.v1.ListIssueModelsRequest) - com.google.protobuf.MessageOrBuilder { - - /** - * - * - *
-   * Required. The parent resource of the issue model.
-   * 
- * - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * - * @return The parent. - */ - java.lang.String getParent(); - /** - * - * - *
-   * Required. The parent resource of the issue model.
-   * 
- * - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * - * @return The bytes for parent. - */ - com.google.protobuf.ByteString getParentBytes(); -} diff --git a/java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ListIssuesRequestOrBuilder.java b/java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ListIssuesRequestOrBuilder.java deleted file mode 100644 index 3585c15e817d..000000000000 --- a/java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ListIssuesRequestOrBuilder.java +++ /dev/null @@ -1,54 +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. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/contactcenterinsights/v1/contact_center_insights.proto - -package com.google.cloud.contactcenterinsights.v1; - -public interface ListIssuesRequestOrBuilder - extends - // @@protoc_insertion_point(interface_extends:google.cloud.contactcenterinsights.v1.ListIssuesRequest) - com.google.protobuf.MessageOrBuilder { - - /** - * - * - *
-   * Required. The parent resource of the issue.
-   * 
- * - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * - * @return The parent. - */ - java.lang.String getParent(); - /** - * - * - *
-   * Required. The parent resource of the issue.
-   * 
- * - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * - * @return The bytes for parent. - */ - com.google.protobuf.ByteString getParentBytes(); -} diff --git a/java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ResourcesProto.java b/java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ResourcesProto.java deleted file mode 100644 index 0531b0ab9a06..000000000000 --- a/java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ResourcesProto.java +++ /dev/null @@ -1,1297 +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. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/contactcenterinsights/v1/resources.proto - -package com.google.cloud.contactcenterinsights.v1; - -public final class ResourcesProto { - private ResourcesProto() {} - - public static void registerAllExtensions(com.google.protobuf.ExtensionRegistryLite registry) {} - - public static void registerAllExtensions(com.google.protobuf.ExtensionRegistry registry) { - registerAllExtensions((com.google.protobuf.ExtensionRegistryLite) registry); - } - - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_contactcenterinsights_v1_Conversation_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_contactcenterinsights_v1_Conversation_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_contactcenterinsights_v1_Conversation_CallMetadata_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_contactcenterinsights_v1_Conversation_CallMetadata_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_contactcenterinsights_v1_Conversation_Transcript_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_contactcenterinsights_v1_Conversation_Transcript_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_contactcenterinsights_v1_Conversation_Transcript_TranscriptSegment_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_contactcenterinsights_v1_Conversation_Transcript_TranscriptSegment_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_contactcenterinsights_v1_Conversation_Transcript_TranscriptSegment_WordInfo_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_contactcenterinsights_v1_Conversation_Transcript_TranscriptSegment_WordInfo_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_contactcenterinsights_v1_Conversation_Transcript_TranscriptSegment_DialogflowSegmentMetadata_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_contactcenterinsights_v1_Conversation_Transcript_TranscriptSegment_DialogflowSegmentMetadata_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_contactcenterinsights_v1_Conversation_LabelsEntry_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_contactcenterinsights_v1_Conversation_LabelsEntry_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_contactcenterinsights_v1_Conversation_DialogflowIntentsEntry_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_contactcenterinsights_v1_Conversation_DialogflowIntentsEntry_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_contactcenterinsights_v1_Analysis_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_contactcenterinsights_v1_Analysis_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_contactcenterinsights_v1_ConversationDataSource_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_contactcenterinsights_v1_ConversationDataSource_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_contactcenterinsights_v1_GcsSource_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_contactcenterinsights_v1_GcsSource_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_contactcenterinsights_v1_DialogflowSource_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_contactcenterinsights_v1_DialogflowSource_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_contactcenterinsights_v1_AnalysisResult_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_contactcenterinsights_v1_AnalysisResult_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_contactcenterinsights_v1_AnalysisResult_CallAnalysisMetadata_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_contactcenterinsights_v1_AnalysisResult_CallAnalysisMetadata_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_contactcenterinsights_v1_AnalysisResult_CallAnalysisMetadata_EntitiesEntry_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_contactcenterinsights_v1_AnalysisResult_CallAnalysisMetadata_EntitiesEntry_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_contactcenterinsights_v1_AnalysisResult_CallAnalysisMetadata_IntentsEntry_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_contactcenterinsights_v1_AnalysisResult_CallAnalysisMetadata_IntentsEntry_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_contactcenterinsights_v1_AnalysisResult_CallAnalysisMetadata_PhraseMatchersEntry_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_contactcenterinsights_v1_AnalysisResult_CallAnalysisMetadata_PhraseMatchersEntry_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_contactcenterinsights_v1_IssueModelResult_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_contactcenterinsights_v1_IssueModelResult_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_contactcenterinsights_v1_ConversationLevelSentiment_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_contactcenterinsights_v1_ConversationLevelSentiment_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_contactcenterinsights_v1_IssueAssignment_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_contactcenterinsights_v1_IssueAssignment_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_contactcenterinsights_v1_CallAnnotation_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_contactcenterinsights_v1_CallAnnotation_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_contactcenterinsights_v1_AnnotationBoundary_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_contactcenterinsights_v1_AnnotationBoundary_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_contactcenterinsights_v1_Entity_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_contactcenterinsights_v1_Entity_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_contactcenterinsights_v1_Entity_MetadataEntry_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_contactcenterinsights_v1_Entity_MetadataEntry_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_contactcenterinsights_v1_Intent_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_contactcenterinsights_v1_Intent_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_contactcenterinsights_v1_PhraseMatchData_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_contactcenterinsights_v1_PhraseMatchData_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_contactcenterinsights_v1_DialogflowIntent_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_contactcenterinsights_v1_DialogflowIntent_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_contactcenterinsights_v1_InterruptionData_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_contactcenterinsights_v1_InterruptionData_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_contactcenterinsights_v1_SilenceData_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_contactcenterinsights_v1_SilenceData_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_contactcenterinsights_v1_HoldData_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_contactcenterinsights_v1_HoldData_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_contactcenterinsights_v1_EntityMentionData_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_contactcenterinsights_v1_EntityMentionData_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_contactcenterinsights_v1_IntentMatchData_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_contactcenterinsights_v1_IntentMatchData_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_contactcenterinsights_v1_SentimentData_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_contactcenterinsights_v1_SentimentData_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_contactcenterinsights_v1_IssueMatchData_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_contactcenterinsights_v1_IssueMatchData_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_contactcenterinsights_v1_IssueModel_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_contactcenterinsights_v1_IssueModel_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_contactcenterinsights_v1_IssueModel_InputDataConfig_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_contactcenterinsights_v1_IssueModel_InputDataConfig_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_contactcenterinsights_v1_Issue_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_contactcenterinsights_v1_Issue_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_contactcenterinsights_v1_IssueModelLabelStats_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_contactcenterinsights_v1_IssueModelLabelStats_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_contactcenterinsights_v1_IssueModelLabelStats_IssueStats_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_contactcenterinsights_v1_IssueModelLabelStats_IssueStats_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_contactcenterinsights_v1_IssueModelLabelStats_IssueStatsEntry_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_contactcenterinsights_v1_IssueModelLabelStats_IssueStatsEntry_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_contactcenterinsights_v1_PhraseMatcher_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_contactcenterinsights_v1_PhraseMatcher_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_contactcenterinsights_v1_PhraseMatchRuleGroup_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_contactcenterinsights_v1_PhraseMatchRuleGroup_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_contactcenterinsights_v1_PhraseMatchRule_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_contactcenterinsights_v1_PhraseMatchRule_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_contactcenterinsights_v1_PhraseMatchRuleConfig_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_contactcenterinsights_v1_PhraseMatchRuleConfig_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_contactcenterinsights_v1_ExactMatchConfig_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_contactcenterinsights_v1_ExactMatchConfig_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_contactcenterinsights_v1_Settings_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_contactcenterinsights_v1_Settings_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_contactcenterinsights_v1_Settings_AnalysisConfig_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_contactcenterinsights_v1_Settings_AnalysisConfig_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_contactcenterinsights_v1_Settings_PubsubNotificationSettingsEntry_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_contactcenterinsights_v1_Settings_PubsubNotificationSettingsEntry_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_contactcenterinsights_v1_RuntimeAnnotation_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_contactcenterinsights_v1_RuntimeAnnotation_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_contactcenterinsights_v1_AnswerFeedback_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_contactcenterinsights_v1_AnswerFeedback_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_contactcenterinsights_v1_ArticleSuggestionData_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_contactcenterinsights_v1_ArticleSuggestionData_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_contactcenterinsights_v1_ArticleSuggestionData_MetadataEntry_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_contactcenterinsights_v1_ArticleSuggestionData_MetadataEntry_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_contactcenterinsights_v1_FaqAnswerData_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_contactcenterinsights_v1_FaqAnswerData_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_contactcenterinsights_v1_FaqAnswerData_MetadataEntry_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_contactcenterinsights_v1_FaqAnswerData_MetadataEntry_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_contactcenterinsights_v1_SmartReplyData_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_contactcenterinsights_v1_SmartReplyData_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_contactcenterinsights_v1_SmartReplyData_MetadataEntry_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_contactcenterinsights_v1_SmartReplyData_MetadataEntry_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_contactcenterinsights_v1_SmartComposeSuggestionData_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_contactcenterinsights_v1_SmartComposeSuggestionData_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_contactcenterinsights_v1_SmartComposeSuggestionData_MetadataEntry_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_contactcenterinsights_v1_SmartComposeSuggestionData_MetadataEntry_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_contactcenterinsights_v1_DialogflowInteractionData_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_contactcenterinsights_v1_DialogflowInteractionData_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_contactcenterinsights_v1_ConversationParticipant_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_contactcenterinsights_v1_ConversationParticipant_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_contactcenterinsights_v1_View_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_contactcenterinsights_v1_View_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_contactcenterinsights_v1_AnnotatorSelector_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_contactcenterinsights_v1_AnnotatorSelector_fieldAccessorTable; - - public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { - return descriptor; - } - - private static com.google.protobuf.Descriptors.FileDescriptor descriptor; - - static { - java.lang.String[] descriptorData = { - "\n5google/cloud/contactcenterinsights/v1/" - + "resources.proto\022%google.cloud.contactcen" - + "terinsights.v1\032\037google/api/field_behavio" - + "r.proto\032\031google/api/resource.proto\032\036goog" - + "le/protobuf/duration.proto\032\037google/proto" - + "buf/timestamp.proto\"\261\023\n\014Conversation\022Y\n\r" - + "call_metadata\030\007 \001(\0132@.google.cloud.conta" - + "ctcenterinsights.v1.Conversation.CallMet" - + "adataH\000\0221\n\013expire_time\030\017 \001(\0132\032.google.pr" - + "otobuf.TimestampH\001\022-\n\003ttl\030\020 \001(\0132\031.google" - + ".protobuf.DurationB\003\340A\004H\001\022\021\n\004name\030\001 \001(\tB" - + "\003\340A\005\022R\n\013data_source\030\002 \001(\0132=.google.cloud" - + ".contactcenterinsights.v1.ConversationDa" - + "taSource\0224\n\013create_time\030\003 \001(\0132\032.google.p" - + "rotobuf.TimestampB\003\340A\003\0224\n\013update_time\030\004 " - + "\001(\0132\032.google.protobuf.TimestampB\003\340A\003\022.\n\n" - + "start_time\030\021 \001(\0132\032.google.protobuf.Times" - + "tamp\022\025\n\rlanguage_code\030\016 \001(\t\022\020\n\010agent_id\030" - + "\005 \001(\t\022O\n\006labels\030\006 \003(\0132?.google.cloud.con" - + "tactcenterinsights.v1.Conversation.Label" - + "sEntry\022W\n\ntranscript\030\010 \001(\0132>.google.clou" - + "d.contactcenterinsights.v1.Conversation." - + "TranscriptB\003\340A\003\022O\n\006medium\030\t \001(\0162:.google" - + ".cloud.contactcenterinsights.v1.Conversa" - + "tion.MediumB\003\340A\005\0220\n\010duration\030\n \001(\0132\031.goo" - + "gle.protobuf.DurationB\003\340A\003\022\027\n\nturn_count" - + "\030\013 \001(\005B\003\340A\003\022M\n\017latest_analysis\030\014 \001(\0132/.g" - + "oogle.cloud.contactcenterinsights.v1.Ana" - + "lysisB\003\340A\003\022Z\n\023runtime_annotations\030\r \003(\0132" - + "8.google.cloud.contactcenterinsights.v1." - + "RuntimeAnnotationB\003\340A\003\022k\n\022dialogflow_int" - + "ents\030\022 \003(\0132J.google.cloud.contactcenteri" - + "nsights.v1.Conversation.DialogflowIntent" - + "sEntryB\003\340A\003\022\032\n\022obfuscated_user_id\030\025 \001(\t\032" - + "?\n\014CallMetadata\022\030\n\020customer_channel\030\001 \001(" - + "\005\022\025\n\ragent_channel\030\002 \001(\005\032\206\007\n\nTranscript\022" - + "m\n\023transcript_segments\030\001 \003(\0132P.google.cl" - + "oud.contactcenterinsights.v1.Conversatio" - + "n.Transcript.TranscriptSegment\032\210\006\n\021Trans" - + "criptSegment\0220\n\014message_time\030\006 \001(\0132\032.goo" - + "gle.protobuf.Timestamp\022\014\n\004text\030\001 \001(\t\022\022\n\n" - + "confidence\030\002 \001(\002\022h\n\005words\030\003 \003(\0132Y.google" - + ".cloud.contactcenterinsights.v1.Conversa" - + "tion.Transcript.TranscriptSegment.WordIn" - + "fo\022\025\n\rlanguage_code\030\004 \001(\t\022\023\n\013channel_tag" - + "\030\005 \001(\005\022[\n\023segment_participant\030\t \001(\0132>.go" - + "ogle.cloud.contactcenterinsights.v1.Conv" - + "ersationParticipant\022\217\001\n\033dialogflow_segme" - + "nt_metadata\030\n \001(\0132j.google.cloud.contact" - + "centerinsights.v1.Conversation.Transcrip" - + "t.TranscriptSegment.DialogflowSegmentMet" - + "adata\022G\n\tsentiment\030\013 \001(\01324.google.cloud." - + "contactcenterinsights.v1.SentimentData\032\214" - + "\001\n\010WordInfo\022/\n\014start_offset\030\001 \001(\0132\031.goog" - + "le.protobuf.Duration\022-\n\nend_offset\030\002 \001(\013" - + "2\031.google.protobuf.Duration\022\014\n\004word\030\003 \001(" - + "\t\022\022\n\nconfidence\030\004 \001(\002\032B\n\031DialogflowSegme" - + "ntMetadata\022%\n\035smart_reply_allowlist_cove" - + "red\030\001 \001(\010\032-\n\013LabelsEntry\022\013\n\003key\030\001 \001(\t\022\r\n" - + "\005value\030\002 \001(\t:\0028\001\032q\n\026DialogflowIntentsEnt" - + "ry\022\013\n\003key\030\001 \001(\t\022F\n\005value\030\002 \001(\01327.google." - + "cloud.contactcenterinsights.v1.Dialogflo" - + "wIntent:\0028\001\":\n\006Medium\022\026\n\022MEDIUM_UNSPECIF" - + "IED\020\000\022\016\n\nPHONE_CALL\020\001\022\010\n\004CHAT\020\002:|\352Ay\n1co" - + "ntactcenterinsights.googleapis.com/Conve" - + "rsation\022Dprojects/{project}/locations/{l" - + "ocation}/conversations/{conversation}B\n\n" - + "\010metadataB\014\n\nexpiration\"\305\003\n\010Analysis\022\021\n\004" - + "name\030\001 \001(\tB\003\340A\005\0225\n\014request_time\030\002 \001(\0132\032." - + "google.protobuf.TimestampB\003\340A\003\0224\n\013create" - + "_time\030\003 \001(\0132\032.google.protobuf.TimestampB" - + "\003\340A\003\022S\n\017analysis_result\030\007 \001(\01325.google.c" - + "loud.contactcenterinsights.v1.AnalysisRe" - + "sultB\003\340A\003\022T\n\022annotator_selector\030\010 \001(\01328." - + "google.cloud.contactcenterinsights.v1.An" - + "notatorSelector:\215\001\352A\211\001\n-contactcenterins" - + "ights.googleapis.com/Analysis\022Xprojects/" - + "{project}/locations/{location}/conversat" - + "ions/{conversation}/analyses/{analysis}\"" - + "\300\001\n\026ConversationDataSource\022F\n\ngcs_source" - + "\030\001 \001(\01320.google.cloud.contactcenterinsig" - + "hts.v1.GcsSourceH\000\022T\n\021dialogflow_source\030" - + "\003 \001(\01327.google.cloud.contactcenterinsigh" - + "ts.v1.DialogflowSourceH\000B\010\n\006source\";\n\tGc" - + "sSource\022\021\n\taudio_uri\030\001 \001(\t\022\033\n\016transcript" - + "_uri\030\002 \001(\tB\003\340A\005\"K\n\020DialogflowSource\022$\n\027d" - + "ialogflow_conversation\030\001 \001(\tB\003\340A\003\022\021\n\taud" - + "io_uri\030\003 \001(\t\"\306\010\n\016AnalysisResult\022l\n\026call_" - + "analysis_metadata\030\002 \001(\0132J.google.cloud.c" - + "ontactcenterinsights.v1.AnalysisResult.C" - + "allAnalysisMetadataH\000\022,\n\010end_time\030\001 \001(\0132" - + "\032.google.protobuf.Timestamp\032\213\007\n\024CallAnal" - + "ysisMetadata\022J\n\013annotations\030\002 \003(\01325.goog" - + "le.cloud.contactcenterinsights.v1.CallAn" - + "notation\022j\n\010entities\030\003 \003(\0132X.google.clou" - + "d.contactcenterinsights.v1.AnalysisResul" - + "t.CallAnalysisMetadata.EntitiesEntry\022U\n\n" - + "sentiments\030\004 \003(\0132A.google.cloud.contactc" - + "enterinsights.v1.ConversationLevelSentim" - + "ent\022h\n\007intents\030\006 \003(\0132W.google.cloud.cont" - + "actcenterinsights.v1.AnalysisResult.Call" - + "AnalysisMetadata.IntentsEntry\022w\n\017phrase_" - + "matchers\030\007 \003(\0132^.google.cloud.contactcen" - + "terinsights.v1.AnalysisResult.CallAnalys" - + "isMetadata.PhraseMatchersEntry\022S\n\022issue_" - + "model_result\030\010 \001(\01327.google.cloud.contac" - + "tcenterinsights.v1.IssueModelResult\032^\n\rE" - + "ntitiesEntry\022\013\n\003key\030\001 \001(\t\022<\n\005value\030\002 \001(\013" - + "2-.google.cloud.contactcenterinsights.v1" - + ".Entity:\0028\001\032]\n\014IntentsEntry\022\013\n\003key\030\001 \001(\t" - + "\022<\n\005value\030\002 \001(\0132-.google.cloud.contactce" - + "nterinsights.v1.Intent:\0028\001\032m\n\023PhraseMatc" - + "hersEntry\022\013\n\003key\030\001 \001(\t\022E\n\005value\030\002 \001(\01326." - + "google.cloud.contactcenterinsights.v1.Ph" - + "raseMatchData:\0028\001B\n\n\010metadata\"\245\001\n\020IssueM" - + "odelResult\022I\n\013issue_model\030\001 \001(\tB4\372A1\n/co" - + "ntactcenterinsights.googleapis.com/Issue" - + "Model\022F\n\006issues\030\002 \003(\01326.google.cloud.con" - + "tactcenterinsights.v1.IssueAssignment\"\177\n" - + "\032ConversationLevelSentiment\022\023\n\013channel_t" - + "ag\030\001 \001(\005\022L\n\016sentiment_data\030\002 \001(\01324.googl" - + "e.cloud.contactcenterinsights.v1.Sentime" - + "ntData\"J\n\017IssueAssignment\022\r\n\005issue\030\001 \001(\t" - + "\022\r\n\005score\030\002 \001(\001\022\031\n\014display_name\030\003 \001(\tB\003\340" - + "A\005\"\365\006\n\016CallAnnotation\022T\n\021interruption_da" - + "ta\030\n \001(\01327.google.cloud.contactcenterins" - + "ights.v1.InterruptionDataH\000\022N\n\016sentiment" - + "_data\030\013 \001(\01324.google.cloud.contactcenter" - + "insights.v1.SentimentDataH\000\022J\n\014silence_d" - + "ata\030\014 \001(\01322.google.cloud.contactcenterin" - + "sights.v1.SilenceDataH\000\022D\n\thold_data\030\r \001" - + "(\0132/.google.cloud.contactcenterinsights." - + "v1.HoldDataH\000\022W\n\023entity_mention_data\030\017 \001" - + "(\01328.google.cloud.contactcenterinsights." - + "v1.EntityMentionDataH\000\022S\n\021intent_match_d" - + "ata\030\020 \001(\01326.google.cloud.contactcenterin" - + "sights.v1.IntentMatchDataH\000\022S\n\021phrase_ma" - + "tch_data\030\021 \001(\01326.google.cloud.contactcen" - + "terinsights.v1.PhraseMatchDataH\000\022Q\n\020issu" - + "e_match_data\030\022 \001(\01325.google.cloud.contac" - + "tcenterinsights.v1.IssueMatchDataH\000\022\023\n\013c" - + "hannel_tag\030\001 \001(\005\022\\\n\031annotation_start_bou" - + "ndary\030\004 \001(\01329.google.cloud.contactcenter" - + "insights.v1.AnnotationBoundary\022Z\n\027annota" - + "tion_end_boundary\030\005 \001(\01329.google.cloud.c" - + "ontactcenterinsights.v1.AnnotationBounda" - + "ryB\006\n\004data\"Y\n\022AnnotationBoundary\022\024\n\nword" - + "_index\030\003 \001(\005H\000\022\030\n\020transcript_index\030\001 \001(\005" - + "B\023\n\021detailed_boundary\"\200\004\n\006Entity\022\024\n\014disp" - + "lay_name\030\001 \001(\t\022@\n\004type\030\002 \001(\01622.google.cl" - + "oud.contactcenterinsights.v1.Entity.Type" - + "\022M\n\010metadata\030\003 \003(\0132;.google.cloud.contac" - + "tcenterinsights.v1.Entity.MetadataEntry\022" - + "\020\n\010salience\030\004 \001(\002\022G\n\tsentiment\030\005 \001(\01324.g" - + "oogle.cloud.contactcenterinsights.v1.Sen" - + "timentData\032/\n\rMetadataEntry\022\013\n\003key\030\001 \001(\t" - + "\022\r\n\005value\030\002 \001(\t:\0028\001\"\302\001\n\004Type\022\024\n\020TYPE_UNS" - + "PECIFIED\020\000\022\n\n\006PERSON\020\001\022\014\n\010LOCATION\020\002\022\020\n\014" - + "ORGANIZATION\020\003\022\t\n\005EVENT\020\004\022\017\n\013WORK_OF_ART" - + "\020\005\022\021\n\rCONSUMER_GOOD\020\006\022\t\n\005OTHER\020\007\022\020\n\014PHON" - + "E_NUMBER\020\t\022\013\n\007ADDRESS\020\n\022\010\n\004DATE\020\013\022\n\n\006NUM" - + "BER\020\014\022\t\n\005PRICE\020\r\"*\n\006Intent\022\n\n\002id\030\001 \001(\t\022\024" - + "\n\014display_name\030\002 \001(\t\"?\n\017PhraseMatchData\022" - + "\026\n\016phrase_matcher\030\001 \001(\t\022\024\n\014display_name\030" - + "\002 \001(\t\"(\n\020DialogflowIntent\022\024\n\014display_nam" - + "e\030\001 \001(\t\"\022\n\020InterruptionData\"\r\n\013SilenceDa" - + "ta\"\n\n\010HoldData\"\217\002\n\021EntityMentionData\022\030\n\020" - + "entity_unique_id\030\001 \001(\t\022R\n\004type\030\002 \001(\0162D.g" - + "oogle.cloud.contactcenterinsights.v1.Ent" - + "ityMentionData.MentionType\022G\n\tsentiment\030" - + "\003 \001(\01324.google.cloud.contactcenterinsigh" - + "ts.v1.SentimentData\"C\n\013MentionType\022\034\n\030ME" - + "NTION_TYPE_UNSPECIFIED\020\000\022\n\n\006PROPER\020\001\022\n\n\006" - + "COMMON\020\002\"+\n\017IntentMatchData\022\030\n\020intent_un" - + "ique_id\030\001 \001(\t\"1\n\rSentimentData\022\021\n\tmagnit" - + "ude\030\001 \001(\002\022\r\n\005score\030\002 \001(\002\"b\n\016IssueMatchDa" - + "ta\022P\n\020issue_assignment\030\001 \001(\01326.google.cl" - + "oud.contactcenterinsights.v1.IssueAssign" - + "ment\"\255\006\n\nIssueModel\022\021\n\004name\030\001 \001(\tB\003\340A\005\022\024" - + "\n\014display_name\030\002 \001(\t\0224\n\013create_time\030\003 \001(" - + "\0132\032.google.protobuf.TimestampB\003\340A\003\0224\n\013up" - + "date_time\030\004 \001(\0132\032.google.protobuf.Timest" - + "ampB\003\340A\003\022K\n\005state\030\005 \001(\01627.google.cloud.c" - + "ontactcenterinsights.v1.IssueModel.State" - + "B\003\340A\003\022\\\n\021input_data_config\030\006 \001(\0132A.googl" - + "e.cloud.contactcenterinsights.v1.IssueMo" - + "del.InputDataConfig\022[\n\016training_stats\030\007 " - + "\001(\0132;.google.cloud.contactcenterinsights" - + ".v1.IssueModelLabelStatsB\006\340A\003\340A\005\032\234\001\n\017Inp" - + "utDataConfig\022N\n\006medium\030\001 \001(\0162:.google.cl" - + "oud.contactcenterinsights.v1.Conversatio" - + "n.MediumB\002\030\001\022)\n\034training_conversations_c" - + "ount\030\002 \001(\003B\003\340A\003\022\016\n\006filter\030\003 \001(\t\"j\n\005State" - + "\022\025\n\021STATE_UNSPECIFIED\020\000\022\016\n\nUNDEPLOYED\020\001\022" - + "\r\n\tDEPLOYING\020\002\022\014\n\010DEPLOYED\020\003\022\017\n\013UNDEPLOY" - + "ING\020\004\022\014\n\010DELETING\020\005:w\352At\n/contactcenteri" - + "nsights.googleapis.com/IssueModel\022Aproje" - + "cts/{project}/locations/{location}/issue" - + "Models/{issue_model}\"\300\002\n\005Issue\022\021\n\004name\030\001" - + " \001(\tB\003\340A\005\022\024\n\014display_name\030\002 \001(\t\0224\n\013creat" - + "e_time\030\003 \001(\0132\032.google.protobuf.Timestamp" - + "B\003\340A\003\0224\n\013update_time\030\004 \001(\0132\032.google.prot" - + "obuf.TimestampB\003\340A\003\022\036\n\021sample_utterances" - + "\030\006 \003(\tB\003\340A\003:\201\001\352A~\n*contactcenterinsights" - + ".googleapis.com/Issue\022Pprojects/{project" - + "}/locations/{location}/issueModels/{issu" - + "e_model}/issues/{issue}\"\233\003\n\024IssueModelLa" - + "belStats\022$\n\034analyzed_conversations_count" - + "\030\001 \001(\003\022(\n unclassified_conversations_cou" - + "nt\030\002 \001(\003\022`\n\013issue_stats\030\003 \003(\0132K.google.c" - + "loud.contactcenterinsights.v1.IssueModel" - + "LabelStats.IssueStatsEntry\032V\n\nIssueStats" - + "\022\r\n\005issue\030\001 \001(\t\022#\n\033labeled_conversations" - + "_count\030\002 \001(\003\022\024\n\014display_name\030\003 \001(\t\032y\n\017Is" - + "sueStatsEntry\022\013\n\003key\030\001 \001(\t\022U\n\005value\030\002 \001(" - + "\0132F.google.cloud.contactcenterinsights.v" - + "1.IssueModelLabelStats.IssueStats:\0028\001\"\223\006" - + "\n\rPhraseMatcher\022\014\n\004name\030\001 \001(\t\022\033\n\013revisio" - + "n_id\030\002 \001(\tB\006\340A\005\340A\003\022\023\n\013version_tag\030\003 \001(\t\022" - + "=\n\024revision_create_time\030\004 \001(\0132\032.google.p" - + "rotobuf.TimestampB\003\340A\003\022\024\n\014display_name\030\005" - + " \001(\t\022Y\n\004type\030\006 \001(\0162F.google.cloud.contac" - + "tcenterinsights.v1.PhraseMatcher.PhraseM" - + "atcherTypeB\003\340A\002\022\016\n\006active\030\007 \001(\010\022]\n\030phras" - + "e_match_rule_groups\030\010 \003(\0132;.google.cloud" - + ".contactcenterinsights.v1.PhraseMatchRul" - + "eGroup\022?\n\026activation_update_time\030\t \001(\0132\032" - + ".google.protobuf.TimestampB\003\340A\003\022W\n\nrole_" - + "match\030\n \001(\0162C.google.cloud.contactcenter" - + "insights.v1.ConversationParticipant.Role" - + "\0224\n\013update_time\030\013 \001(\0132\032.google.protobuf." - + "TimestampB\003\340A\003\"P\n\021PhraseMatcherType\022#\n\037P" - + "HRASE_MATCHER_TYPE_UNSPECIFIED\020\000\022\n\n\006ALL_" - + "OF\020\001\022\n\n\006ANY_OF\020\002:\200\001\352A}\n2contactcenterins" - + "ights.googleapis.com/PhraseMatcher\022Gproj" - + "ects/{project}/locations/{location}/phra" - + "seMatchers/{phrase_matcher}\"\265\002\n\024PhraseMa" - + "tchRuleGroup\022g\n\004type\030\001 \001(\0162T.google.clou" - + "d.contactcenterinsights.v1.PhraseMatchRu" - + "leGroup.PhraseMatchRuleGroupTypeB\003\340A\002\022R\n" - + "\022phrase_match_rules\030\002 \003(\01326.google.cloud" - + ".contactcenterinsights.v1.PhraseMatchRul" - + "e\"`\n\030PhraseMatchRuleGroupType\022,\n(PHRASE_" - + "MATCH_RULE_GROUP_TYPE_UNSPECIFIED\020\000\022\n\n\006A" - + "LL_OF\020\001\022\n\n\006ANY_OF\020\002\"\204\001\n\017PhraseMatchRule\022" - + "\022\n\005query\030\001 \001(\tB\003\340A\002\022\017\n\007negated\030\002 \001(\010\022L\n\006" - + "config\030\003 \001(\0132<.google.cloud.contactcente" - + "rinsights.v1.PhraseMatchRuleConfig\"x\n\025Ph" - + "raseMatchRuleConfig\022U\n\022exact_match_confi" - + "g\030\001 \001(\01327.google.cloud.contactcenterinsi" - + "ghts.v1.ExactMatchConfigH\000B\010\n\006config\"*\n\020" - + "ExactMatchConfig\022\026\n\016case_sensitive\030\001 \001(\010" - + "\"\350\005\n\010Settings\022\021\n\004name\030\001 \001(\tB\003\340A\005\0224\n\013crea" - + "te_time\030\002 \001(\0132\032.google.protobuf.Timestam" - + "pB\003\340A\003\0224\n\013update_time\030\003 \001(\0132\032.google.pro" - + "tobuf.TimestampB\003\340A\003\022\025\n\rlanguage_code\030\004 " - + "\001(\t\0223\n\020conversation_ttl\030\005 \001(\0132\031.google.p" - + "rotobuf.Duration\022u\n\034pubsub_notification_" - + "settings\030\006 \003(\0132O.google.cloud.contactcen" - + "terinsights.v1.Settings.PubsubNotificati" - + "onSettingsEntry\022W\n\017analysis_config\030\007 \001(\013" - + "2>.google.cloud.contactcenterinsights.v1" - + ".Settings.AnalysisConfig\032\227\001\n\016AnalysisCon" - + "fig\022/\n\'runtime_integration_analysis_perc" - + "entage\030\001 \001(\001\022T\n\022annotator_selector\030\005 \001(\013" - + "28.google.cloud.contactcenterinsights.v1" - + ".AnnotatorSelector\032A\n\037PubsubNotification" - + "SettingsEntry\022\013\n\003key\030\001 \001(\t\022\r\n\005value\030\002 \001(" - + "\t:\0028\001:d\352Aa\n-contactcenterinsights.google" - + "apis.com/Settings\0220projects/{project}/lo" - + "cations/{location}/settings\"\230\006\n\021RuntimeA" - + "nnotation\022Z\n\022article_suggestion\030\006 \001(\0132<." - + "google.cloud.contactcenterinsights.v1.Ar" - + "ticleSuggestionDataH\000\022J\n\nfaq_answer\030\007 \001(" - + "\01324.google.cloud.contactcenterinsights.v" - + "1.FaqAnswerDataH\000\022L\n\013smart_reply\030\010 \001(\01325" - + ".google.cloud.contactcenterinsights.v1.S" - + "martReplyDataH\000\022e\n\030smart_compose_suggest" - + "ion\030\t \001(\0132A.google.cloud.contactcenterin" - + "sights.v1.SmartComposeSuggestionDataH\000\022b" - + "\n\026dialogflow_interaction\030\n \001(\0132@.google." - + "cloud.contactcenterinsights.v1.Dialogflo" - + "wInteractionDataH\000\022\025\n\rannotation_id\030\001 \001(" - + "\t\022/\n\013create_time\030\002 \001(\0132\032.google.protobuf" - + ".Timestamp\022Q\n\016start_boundary\030\003 \001(\01329.goo" - + "gle.cloud.contactcenterinsights.v1.Annot" - + "ationBoundary\022O\n\014end_boundary\030\004 \001(\01329.go" - + "ogle.cloud.contactcenterinsights.v1.Anno" - + "tationBoundary\022N\n\017answer_feedback\030\005 \001(\0132" - + "5.google.cloud.contactcenterinsights.v1." - + "AnswerFeedbackB\006\n\004data\"\211\002\n\016AnswerFeedbac" - + "k\022a\n\021correctness_level\030\001 \001(\0162F.google.cl" - + "oud.contactcenterinsights.v1.AnswerFeedb" - + "ack.CorrectnessLevel\022\017\n\007clicked\030\002 \001(\010\022\021\n" - + "\tdisplayed\030\003 \001(\010\"p\n\020CorrectnessLevel\022!\n\035" - + "CORRECTNESS_LEVEL_UNSPECIFIED\020\000\022\017\n\013NOT_C" - + "ORRECT\020\001\022\025\n\021PARTIALLY_CORRECT\020\002\022\021\n\rFULLY" - + "_CORRECT\020\003\"\202\002\n\025ArticleSuggestionData\022\r\n\005" - + "title\030\001 \001(\t\022\013\n\003uri\030\002 \001(\t\022\030\n\020confidence_s" - + "core\030\003 \001(\002\022\\\n\010metadata\030\004 \003(\0132J.google.cl" - + "oud.contactcenterinsights.v1.ArticleSugg" - + "estionData.MetadataEntry\022\024\n\014query_record" - + "\030\005 \001(\t\022\016\n\006source\030\006 \001(\t\032/\n\rMetadataEntry\022" - + "\013\n\003key\030\001 \001(\t\022\r\n\005value\030\002 \001(\t:\0028\001\"\370\001\n\rFaqA" - + "nswerData\022\016\n\006answer\030\001 \001(\t\022\030\n\020confidence_" - + "score\030\002 \001(\002\022\020\n\010question\030\003 \001(\t\022T\n\010metadat" - + "a\030\004 \003(\0132B.google.cloud.contactcenterinsi" - + "ghts.v1.FaqAnswerData.MetadataEntry\022\024\n\014q" - + "uery_record\030\005 \001(\t\022\016\n\006source\030\006 \001(\t\032/\n\rMet" - + "adataEntry\022\013\n\003key\030\001 \001(\t\022\r\n\005value\030\002 \001(\t:\002" - + "8\001\"\327\001\n\016SmartReplyData\022\r\n\005reply\030\001 \001(\t\022\030\n\020" - + "confidence_score\030\002 \001(\001\022U\n\010metadata\030\003 \003(\013" - + "2C.google.cloud.contactcenterinsights.v1" - + ".SmartReplyData.MetadataEntry\022\024\n\014query_r" - + "ecord\030\004 \001(\t\032/\n\rMetadataEntry\022\013\n\003key\030\001 \001(" - + "\t\022\r\n\005value\030\002 \001(\t:\0028\001\"\364\001\n\032SmartComposeSug" - + "gestionData\022\022\n\nsuggestion\030\001 \001(\t\022\030\n\020confi" - + "dence_score\030\002 \001(\001\022a\n\010metadata\030\003 \003(\0132O.go" - + "ogle.cloud.contactcenterinsights.v1.Smar" - + "tComposeSuggestionData.MetadataEntry\022\024\n\014" - + "query_record\030\004 \001(\t\032/\n\rMetadataEntry\022\013\n\003k" - + "ey\030\001 \001(\t\022\r\n\005value\030\002 \001(\t:\0028\001\"M\n\031Dialogflo" - + "wInteractionData\022\034\n\024dialogflow_intent_id" - + "\030\001 \001(\t\022\022\n\nconfidence\030\002 \001(\002\"\213\003\n\027Conversat" - + "ionParticipant\022Q\n\033dialogflow_participant" - + "_name\030\005 \001(\tB*\372A\'\n%dialogflow.googleapis." - + "com/ParticipantH\000\022\021\n\007user_id\030\006 \001(\tH\000\022\"\n\026" - + "dialogflow_participant\030\001 \001(\tB\002\030\001\022#\n\033obfu" - + "scated_external_user_id\030\003 \001(\t\022Q\n\004role\030\002 " - + "\001(\0162C.google.cloud.contactcenterinsights" - + ".v1.ConversationParticipant.Role\"_\n\004Role" - + "\022\024\n\020ROLE_UNSPECIFIED\020\000\022\017\n\013HUMAN_AGENT\020\001\022" - + "\023\n\017AUTOMATED_AGENT\020\002\022\014\n\010END_USER\020\003\022\r\n\tAN" - + "Y_AGENT\020\004B\r\n\013participant\"\220\002\n\004View\022\021\n\004nam" - + "e\030\001 \001(\tB\003\340A\005\022\024\n\014display_name\030\002 \001(\t\0224\n\013cr" - + "eate_time\030\003 \001(\0132\032.google.protobuf.Timest" - + "ampB\003\340A\003\0224\n\013update_time\030\004 \001(\0132\032.google.p" - + "rotobuf.TimestampB\003\340A\003\022\r\n\005value\030\005 \001(\t:d\352" - + "Aa\n)contactcenterinsights.googleapis.com" - + "/View\0224projects/{project}/locations/{loc" - + "ation}/views/{view}\"\232\003\n\021AnnotatorSelecto" - + "r\022\"\n\032run_interruption_annotator\030\001 \001(\010\022\035\n" - + "\025run_silence_annotator\030\002 \001(\010\022$\n\034run_phra" - + "se_matcher_annotator\030\003 \001(\010\022P\n\017phrase_mat" - + "chers\030\004 \003(\tB7\372A4\n2contactcenterinsights." - + "googleapis.com/PhraseMatcher\022\037\n\027run_sent" - + "iment_annotator\030\005 \001(\010\022\034\n\024run_entity_anno" - + "tator\030\006 \001(\010\022\034\n\024run_intent_annotator\030\007 \001(" - + "\010\022!\n\031run_issue_model_annotator\030\010 \001(\010\022J\n\014" - + "issue_models\030\n \003(\tB4\372A1\n/contactcenterin" - + "sights.googleapis.com/IssueModelB\361\003\n)com" - + ".google.cloud.contactcenterinsights.v1B\016" - + "ResourcesProtoP\001Z_cloud.google.com/go/co" - + "ntactcenterinsights/apiv1/contactcenteri" - + "nsightspb;contactcenterinsightspb\252\002%Goog" - + "le.Cloud.ContactCenterInsights.V1\312\002%Goog" - + "le\\Cloud\\ContactCenterInsights\\V1\352\002(Goog" - + "le::Cloud::ContactCenterInsights::V1\352A\324\001" - + "\n%dialogflow.googleapis.com/Participant\022" - + "Jprojects/{project}/conversations/{conve" - + "rsation}/participants/{participant}\022_pro" - + "jects/{project}/locations/{location}/con" - + "versations/{conversation}/participants/{" - + "participant}b\006proto3" - }; - descriptor = - com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( - descriptorData, - new com.google.protobuf.Descriptors.FileDescriptor[] { - com.google.api.FieldBehaviorProto.getDescriptor(), - com.google.api.ResourceProto.getDescriptor(), - com.google.protobuf.DurationProto.getDescriptor(), - com.google.protobuf.TimestampProto.getDescriptor(), - }); - internal_static_google_cloud_contactcenterinsights_v1_Conversation_descriptor = - getDescriptor().getMessageTypes().get(0); - internal_static_google_cloud_contactcenterinsights_v1_Conversation_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_contactcenterinsights_v1_Conversation_descriptor, - new java.lang.String[] { - "CallMetadata", - "ExpireTime", - "Ttl", - "Name", - "DataSource", - "CreateTime", - "UpdateTime", - "StartTime", - "LanguageCode", - "AgentId", - "Labels", - "Transcript", - "Medium", - "Duration", - "TurnCount", - "LatestAnalysis", - "RuntimeAnnotations", - "DialogflowIntents", - "ObfuscatedUserId", - "Metadata", - "Expiration", - }); - internal_static_google_cloud_contactcenterinsights_v1_Conversation_CallMetadata_descriptor = - internal_static_google_cloud_contactcenterinsights_v1_Conversation_descriptor - .getNestedTypes() - .get(0); - internal_static_google_cloud_contactcenterinsights_v1_Conversation_CallMetadata_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_contactcenterinsights_v1_Conversation_CallMetadata_descriptor, - new java.lang.String[] { - "CustomerChannel", "AgentChannel", - }); - internal_static_google_cloud_contactcenterinsights_v1_Conversation_Transcript_descriptor = - internal_static_google_cloud_contactcenterinsights_v1_Conversation_descriptor - .getNestedTypes() - .get(1); - internal_static_google_cloud_contactcenterinsights_v1_Conversation_Transcript_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_contactcenterinsights_v1_Conversation_Transcript_descriptor, - new java.lang.String[] { - "TranscriptSegments", - }); - internal_static_google_cloud_contactcenterinsights_v1_Conversation_Transcript_TranscriptSegment_descriptor = - internal_static_google_cloud_contactcenterinsights_v1_Conversation_Transcript_descriptor - .getNestedTypes() - .get(0); - internal_static_google_cloud_contactcenterinsights_v1_Conversation_Transcript_TranscriptSegment_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_contactcenterinsights_v1_Conversation_Transcript_TranscriptSegment_descriptor, - new java.lang.String[] { - "MessageTime", - "Text", - "Confidence", - "Words", - "LanguageCode", - "ChannelTag", - "SegmentParticipant", - "DialogflowSegmentMetadata", - "Sentiment", - }); - internal_static_google_cloud_contactcenterinsights_v1_Conversation_Transcript_TranscriptSegment_WordInfo_descriptor = - internal_static_google_cloud_contactcenterinsights_v1_Conversation_Transcript_TranscriptSegment_descriptor - .getNestedTypes() - .get(0); - internal_static_google_cloud_contactcenterinsights_v1_Conversation_Transcript_TranscriptSegment_WordInfo_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_contactcenterinsights_v1_Conversation_Transcript_TranscriptSegment_WordInfo_descriptor, - new java.lang.String[] { - "StartOffset", "EndOffset", "Word", "Confidence", - }); - internal_static_google_cloud_contactcenterinsights_v1_Conversation_Transcript_TranscriptSegment_DialogflowSegmentMetadata_descriptor = - internal_static_google_cloud_contactcenterinsights_v1_Conversation_Transcript_TranscriptSegment_descriptor - .getNestedTypes() - .get(1); - internal_static_google_cloud_contactcenterinsights_v1_Conversation_Transcript_TranscriptSegment_DialogflowSegmentMetadata_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_contactcenterinsights_v1_Conversation_Transcript_TranscriptSegment_DialogflowSegmentMetadata_descriptor, - new java.lang.String[] { - "SmartReplyAllowlistCovered", - }); - internal_static_google_cloud_contactcenterinsights_v1_Conversation_LabelsEntry_descriptor = - internal_static_google_cloud_contactcenterinsights_v1_Conversation_descriptor - .getNestedTypes() - .get(2); - internal_static_google_cloud_contactcenterinsights_v1_Conversation_LabelsEntry_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_contactcenterinsights_v1_Conversation_LabelsEntry_descriptor, - new java.lang.String[] { - "Key", "Value", - }); - internal_static_google_cloud_contactcenterinsights_v1_Conversation_DialogflowIntentsEntry_descriptor = - internal_static_google_cloud_contactcenterinsights_v1_Conversation_descriptor - .getNestedTypes() - .get(3); - internal_static_google_cloud_contactcenterinsights_v1_Conversation_DialogflowIntentsEntry_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_contactcenterinsights_v1_Conversation_DialogflowIntentsEntry_descriptor, - new java.lang.String[] { - "Key", "Value", - }); - internal_static_google_cloud_contactcenterinsights_v1_Analysis_descriptor = - getDescriptor().getMessageTypes().get(1); - internal_static_google_cloud_contactcenterinsights_v1_Analysis_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_contactcenterinsights_v1_Analysis_descriptor, - new java.lang.String[] { - "Name", "RequestTime", "CreateTime", "AnalysisResult", "AnnotatorSelector", - }); - internal_static_google_cloud_contactcenterinsights_v1_ConversationDataSource_descriptor = - getDescriptor().getMessageTypes().get(2); - internal_static_google_cloud_contactcenterinsights_v1_ConversationDataSource_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_contactcenterinsights_v1_ConversationDataSource_descriptor, - new java.lang.String[] { - "GcsSource", "DialogflowSource", "Source", - }); - internal_static_google_cloud_contactcenterinsights_v1_GcsSource_descriptor = - getDescriptor().getMessageTypes().get(3); - internal_static_google_cloud_contactcenterinsights_v1_GcsSource_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_contactcenterinsights_v1_GcsSource_descriptor, - new java.lang.String[] { - "AudioUri", "TranscriptUri", - }); - internal_static_google_cloud_contactcenterinsights_v1_DialogflowSource_descriptor = - getDescriptor().getMessageTypes().get(4); - internal_static_google_cloud_contactcenterinsights_v1_DialogflowSource_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_contactcenterinsights_v1_DialogflowSource_descriptor, - new java.lang.String[] { - "DialogflowConversation", "AudioUri", - }); - internal_static_google_cloud_contactcenterinsights_v1_AnalysisResult_descriptor = - getDescriptor().getMessageTypes().get(5); - internal_static_google_cloud_contactcenterinsights_v1_AnalysisResult_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_contactcenterinsights_v1_AnalysisResult_descriptor, - new java.lang.String[] { - "CallAnalysisMetadata", "EndTime", "Metadata", - }); - internal_static_google_cloud_contactcenterinsights_v1_AnalysisResult_CallAnalysisMetadata_descriptor = - internal_static_google_cloud_contactcenterinsights_v1_AnalysisResult_descriptor - .getNestedTypes() - .get(0); - internal_static_google_cloud_contactcenterinsights_v1_AnalysisResult_CallAnalysisMetadata_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_contactcenterinsights_v1_AnalysisResult_CallAnalysisMetadata_descriptor, - new java.lang.String[] { - "Annotations", - "Entities", - "Sentiments", - "Intents", - "PhraseMatchers", - "IssueModelResult", - }); - internal_static_google_cloud_contactcenterinsights_v1_AnalysisResult_CallAnalysisMetadata_EntitiesEntry_descriptor = - internal_static_google_cloud_contactcenterinsights_v1_AnalysisResult_CallAnalysisMetadata_descriptor - .getNestedTypes() - .get(0); - internal_static_google_cloud_contactcenterinsights_v1_AnalysisResult_CallAnalysisMetadata_EntitiesEntry_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_contactcenterinsights_v1_AnalysisResult_CallAnalysisMetadata_EntitiesEntry_descriptor, - new java.lang.String[] { - "Key", "Value", - }); - internal_static_google_cloud_contactcenterinsights_v1_AnalysisResult_CallAnalysisMetadata_IntentsEntry_descriptor = - internal_static_google_cloud_contactcenterinsights_v1_AnalysisResult_CallAnalysisMetadata_descriptor - .getNestedTypes() - .get(1); - internal_static_google_cloud_contactcenterinsights_v1_AnalysisResult_CallAnalysisMetadata_IntentsEntry_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_contactcenterinsights_v1_AnalysisResult_CallAnalysisMetadata_IntentsEntry_descriptor, - new java.lang.String[] { - "Key", "Value", - }); - internal_static_google_cloud_contactcenterinsights_v1_AnalysisResult_CallAnalysisMetadata_PhraseMatchersEntry_descriptor = - internal_static_google_cloud_contactcenterinsights_v1_AnalysisResult_CallAnalysisMetadata_descriptor - .getNestedTypes() - .get(2); - internal_static_google_cloud_contactcenterinsights_v1_AnalysisResult_CallAnalysisMetadata_PhraseMatchersEntry_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_contactcenterinsights_v1_AnalysisResult_CallAnalysisMetadata_PhraseMatchersEntry_descriptor, - new java.lang.String[] { - "Key", "Value", - }); - internal_static_google_cloud_contactcenterinsights_v1_IssueModelResult_descriptor = - getDescriptor().getMessageTypes().get(6); - internal_static_google_cloud_contactcenterinsights_v1_IssueModelResult_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_contactcenterinsights_v1_IssueModelResult_descriptor, - new java.lang.String[] { - "IssueModel", "Issues", - }); - internal_static_google_cloud_contactcenterinsights_v1_ConversationLevelSentiment_descriptor = - getDescriptor().getMessageTypes().get(7); - internal_static_google_cloud_contactcenterinsights_v1_ConversationLevelSentiment_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_contactcenterinsights_v1_ConversationLevelSentiment_descriptor, - new java.lang.String[] { - "ChannelTag", "SentimentData", - }); - internal_static_google_cloud_contactcenterinsights_v1_IssueAssignment_descriptor = - getDescriptor().getMessageTypes().get(8); - internal_static_google_cloud_contactcenterinsights_v1_IssueAssignment_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_contactcenterinsights_v1_IssueAssignment_descriptor, - new java.lang.String[] { - "Issue", "Score", "DisplayName", - }); - internal_static_google_cloud_contactcenterinsights_v1_CallAnnotation_descriptor = - getDescriptor().getMessageTypes().get(9); - internal_static_google_cloud_contactcenterinsights_v1_CallAnnotation_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_contactcenterinsights_v1_CallAnnotation_descriptor, - new java.lang.String[] { - "InterruptionData", - "SentimentData", - "SilenceData", - "HoldData", - "EntityMentionData", - "IntentMatchData", - "PhraseMatchData", - "IssueMatchData", - "ChannelTag", - "AnnotationStartBoundary", - "AnnotationEndBoundary", - "Data", - }); - internal_static_google_cloud_contactcenterinsights_v1_AnnotationBoundary_descriptor = - getDescriptor().getMessageTypes().get(10); - internal_static_google_cloud_contactcenterinsights_v1_AnnotationBoundary_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_contactcenterinsights_v1_AnnotationBoundary_descriptor, - new java.lang.String[] { - "WordIndex", "TranscriptIndex", "DetailedBoundary", - }); - internal_static_google_cloud_contactcenterinsights_v1_Entity_descriptor = - getDescriptor().getMessageTypes().get(11); - internal_static_google_cloud_contactcenterinsights_v1_Entity_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_contactcenterinsights_v1_Entity_descriptor, - new java.lang.String[] { - "DisplayName", "Type", "Metadata", "Salience", "Sentiment", - }); - internal_static_google_cloud_contactcenterinsights_v1_Entity_MetadataEntry_descriptor = - internal_static_google_cloud_contactcenterinsights_v1_Entity_descriptor - .getNestedTypes() - .get(0); - internal_static_google_cloud_contactcenterinsights_v1_Entity_MetadataEntry_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_contactcenterinsights_v1_Entity_MetadataEntry_descriptor, - new java.lang.String[] { - "Key", "Value", - }); - internal_static_google_cloud_contactcenterinsights_v1_Intent_descriptor = - getDescriptor().getMessageTypes().get(12); - internal_static_google_cloud_contactcenterinsights_v1_Intent_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_contactcenterinsights_v1_Intent_descriptor, - new java.lang.String[] { - "Id", "DisplayName", - }); - internal_static_google_cloud_contactcenterinsights_v1_PhraseMatchData_descriptor = - getDescriptor().getMessageTypes().get(13); - internal_static_google_cloud_contactcenterinsights_v1_PhraseMatchData_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_contactcenterinsights_v1_PhraseMatchData_descriptor, - new java.lang.String[] { - "PhraseMatcher", "DisplayName", - }); - internal_static_google_cloud_contactcenterinsights_v1_DialogflowIntent_descriptor = - getDescriptor().getMessageTypes().get(14); - internal_static_google_cloud_contactcenterinsights_v1_DialogflowIntent_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_contactcenterinsights_v1_DialogflowIntent_descriptor, - new java.lang.String[] { - "DisplayName", - }); - internal_static_google_cloud_contactcenterinsights_v1_InterruptionData_descriptor = - getDescriptor().getMessageTypes().get(15); - internal_static_google_cloud_contactcenterinsights_v1_InterruptionData_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_contactcenterinsights_v1_InterruptionData_descriptor, - new java.lang.String[] {}); - internal_static_google_cloud_contactcenterinsights_v1_SilenceData_descriptor = - getDescriptor().getMessageTypes().get(16); - internal_static_google_cloud_contactcenterinsights_v1_SilenceData_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_contactcenterinsights_v1_SilenceData_descriptor, - new java.lang.String[] {}); - internal_static_google_cloud_contactcenterinsights_v1_HoldData_descriptor = - getDescriptor().getMessageTypes().get(17); - internal_static_google_cloud_contactcenterinsights_v1_HoldData_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_contactcenterinsights_v1_HoldData_descriptor, - new java.lang.String[] {}); - internal_static_google_cloud_contactcenterinsights_v1_EntityMentionData_descriptor = - getDescriptor().getMessageTypes().get(18); - internal_static_google_cloud_contactcenterinsights_v1_EntityMentionData_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_contactcenterinsights_v1_EntityMentionData_descriptor, - new java.lang.String[] { - "EntityUniqueId", "Type", "Sentiment", - }); - internal_static_google_cloud_contactcenterinsights_v1_IntentMatchData_descriptor = - getDescriptor().getMessageTypes().get(19); - internal_static_google_cloud_contactcenterinsights_v1_IntentMatchData_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_contactcenterinsights_v1_IntentMatchData_descriptor, - new java.lang.String[] { - "IntentUniqueId", - }); - internal_static_google_cloud_contactcenterinsights_v1_SentimentData_descriptor = - getDescriptor().getMessageTypes().get(20); - internal_static_google_cloud_contactcenterinsights_v1_SentimentData_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_contactcenterinsights_v1_SentimentData_descriptor, - new java.lang.String[] { - "Magnitude", "Score", - }); - internal_static_google_cloud_contactcenterinsights_v1_IssueMatchData_descriptor = - getDescriptor().getMessageTypes().get(21); - internal_static_google_cloud_contactcenterinsights_v1_IssueMatchData_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_contactcenterinsights_v1_IssueMatchData_descriptor, - new java.lang.String[] { - "IssueAssignment", - }); - internal_static_google_cloud_contactcenterinsights_v1_IssueModel_descriptor = - getDescriptor().getMessageTypes().get(22); - internal_static_google_cloud_contactcenterinsights_v1_IssueModel_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_contactcenterinsights_v1_IssueModel_descriptor, - new java.lang.String[] { - "Name", - "DisplayName", - "CreateTime", - "UpdateTime", - "State", - "InputDataConfig", - "TrainingStats", - }); - internal_static_google_cloud_contactcenterinsights_v1_IssueModel_InputDataConfig_descriptor = - internal_static_google_cloud_contactcenterinsights_v1_IssueModel_descriptor - .getNestedTypes() - .get(0); - internal_static_google_cloud_contactcenterinsights_v1_IssueModel_InputDataConfig_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_contactcenterinsights_v1_IssueModel_InputDataConfig_descriptor, - new java.lang.String[] { - "Medium", "TrainingConversationsCount", "Filter", - }); - internal_static_google_cloud_contactcenterinsights_v1_Issue_descriptor = - getDescriptor().getMessageTypes().get(23); - internal_static_google_cloud_contactcenterinsights_v1_Issue_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_contactcenterinsights_v1_Issue_descriptor, - new java.lang.String[] { - "Name", "DisplayName", "CreateTime", "UpdateTime", "SampleUtterances", - }); - internal_static_google_cloud_contactcenterinsights_v1_IssueModelLabelStats_descriptor = - getDescriptor().getMessageTypes().get(24); - internal_static_google_cloud_contactcenterinsights_v1_IssueModelLabelStats_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_contactcenterinsights_v1_IssueModelLabelStats_descriptor, - new java.lang.String[] { - "AnalyzedConversationsCount", "UnclassifiedConversationsCount", "IssueStats", - }); - internal_static_google_cloud_contactcenterinsights_v1_IssueModelLabelStats_IssueStats_descriptor = - internal_static_google_cloud_contactcenterinsights_v1_IssueModelLabelStats_descriptor - .getNestedTypes() - .get(0); - internal_static_google_cloud_contactcenterinsights_v1_IssueModelLabelStats_IssueStats_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_contactcenterinsights_v1_IssueModelLabelStats_IssueStats_descriptor, - new java.lang.String[] { - "Issue", "LabeledConversationsCount", "DisplayName", - }); - internal_static_google_cloud_contactcenterinsights_v1_IssueModelLabelStats_IssueStatsEntry_descriptor = - internal_static_google_cloud_contactcenterinsights_v1_IssueModelLabelStats_descriptor - .getNestedTypes() - .get(1); - internal_static_google_cloud_contactcenterinsights_v1_IssueModelLabelStats_IssueStatsEntry_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_contactcenterinsights_v1_IssueModelLabelStats_IssueStatsEntry_descriptor, - new java.lang.String[] { - "Key", "Value", - }); - internal_static_google_cloud_contactcenterinsights_v1_PhraseMatcher_descriptor = - getDescriptor().getMessageTypes().get(25); - internal_static_google_cloud_contactcenterinsights_v1_PhraseMatcher_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_contactcenterinsights_v1_PhraseMatcher_descriptor, - new java.lang.String[] { - "Name", - "RevisionId", - "VersionTag", - "RevisionCreateTime", - "DisplayName", - "Type", - "Active", - "PhraseMatchRuleGroups", - "ActivationUpdateTime", - "RoleMatch", - "UpdateTime", - }); - internal_static_google_cloud_contactcenterinsights_v1_PhraseMatchRuleGroup_descriptor = - getDescriptor().getMessageTypes().get(26); - internal_static_google_cloud_contactcenterinsights_v1_PhraseMatchRuleGroup_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_contactcenterinsights_v1_PhraseMatchRuleGroup_descriptor, - new java.lang.String[] { - "Type", "PhraseMatchRules", - }); - internal_static_google_cloud_contactcenterinsights_v1_PhraseMatchRule_descriptor = - getDescriptor().getMessageTypes().get(27); - internal_static_google_cloud_contactcenterinsights_v1_PhraseMatchRule_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_contactcenterinsights_v1_PhraseMatchRule_descriptor, - new java.lang.String[] { - "Query", "Negated", "Config", - }); - internal_static_google_cloud_contactcenterinsights_v1_PhraseMatchRuleConfig_descriptor = - getDescriptor().getMessageTypes().get(28); - internal_static_google_cloud_contactcenterinsights_v1_PhraseMatchRuleConfig_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_contactcenterinsights_v1_PhraseMatchRuleConfig_descriptor, - new java.lang.String[] { - "ExactMatchConfig", "Config", - }); - internal_static_google_cloud_contactcenterinsights_v1_ExactMatchConfig_descriptor = - getDescriptor().getMessageTypes().get(29); - internal_static_google_cloud_contactcenterinsights_v1_ExactMatchConfig_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_contactcenterinsights_v1_ExactMatchConfig_descriptor, - new java.lang.String[] { - "CaseSensitive", - }); - internal_static_google_cloud_contactcenterinsights_v1_Settings_descriptor = - getDescriptor().getMessageTypes().get(30); - internal_static_google_cloud_contactcenterinsights_v1_Settings_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_contactcenterinsights_v1_Settings_descriptor, - new java.lang.String[] { - "Name", - "CreateTime", - "UpdateTime", - "LanguageCode", - "ConversationTtl", - "PubsubNotificationSettings", - "AnalysisConfig", - }); - internal_static_google_cloud_contactcenterinsights_v1_Settings_AnalysisConfig_descriptor = - internal_static_google_cloud_contactcenterinsights_v1_Settings_descriptor - .getNestedTypes() - .get(0); - internal_static_google_cloud_contactcenterinsights_v1_Settings_AnalysisConfig_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_contactcenterinsights_v1_Settings_AnalysisConfig_descriptor, - new java.lang.String[] { - "RuntimeIntegrationAnalysisPercentage", "AnnotatorSelector", - }); - internal_static_google_cloud_contactcenterinsights_v1_Settings_PubsubNotificationSettingsEntry_descriptor = - internal_static_google_cloud_contactcenterinsights_v1_Settings_descriptor - .getNestedTypes() - .get(1); - internal_static_google_cloud_contactcenterinsights_v1_Settings_PubsubNotificationSettingsEntry_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_contactcenterinsights_v1_Settings_PubsubNotificationSettingsEntry_descriptor, - new java.lang.String[] { - "Key", "Value", - }); - internal_static_google_cloud_contactcenterinsights_v1_RuntimeAnnotation_descriptor = - getDescriptor().getMessageTypes().get(31); - internal_static_google_cloud_contactcenterinsights_v1_RuntimeAnnotation_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_contactcenterinsights_v1_RuntimeAnnotation_descriptor, - new java.lang.String[] { - "ArticleSuggestion", - "FaqAnswer", - "SmartReply", - "SmartComposeSuggestion", - "DialogflowInteraction", - "AnnotationId", - "CreateTime", - "StartBoundary", - "EndBoundary", - "AnswerFeedback", - "Data", - }); - internal_static_google_cloud_contactcenterinsights_v1_AnswerFeedback_descriptor = - getDescriptor().getMessageTypes().get(32); - internal_static_google_cloud_contactcenterinsights_v1_AnswerFeedback_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_contactcenterinsights_v1_AnswerFeedback_descriptor, - new java.lang.String[] { - "CorrectnessLevel", "Clicked", "Displayed", - }); - internal_static_google_cloud_contactcenterinsights_v1_ArticleSuggestionData_descriptor = - getDescriptor().getMessageTypes().get(33); - internal_static_google_cloud_contactcenterinsights_v1_ArticleSuggestionData_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_contactcenterinsights_v1_ArticleSuggestionData_descriptor, - new java.lang.String[] { - "Title", "Uri", "ConfidenceScore", "Metadata", "QueryRecord", "Source", - }); - internal_static_google_cloud_contactcenterinsights_v1_ArticleSuggestionData_MetadataEntry_descriptor = - internal_static_google_cloud_contactcenterinsights_v1_ArticleSuggestionData_descriptor - .getNestedTypes() - .get(0); - internal_static_google_cloud_contactcenterinsights_v1_ArticleSuggestionData_MetadataEntry_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_contactcenterinsights_v1_ArticleSuggestionData_MetadataEntry_descriptor, - new java.lang.String[] { - "Key", "Value", - }); - internal_static_google_cloud_contactcenterinsights_v1_FaqAnswerData_descriptor = - getDescriptor().getMessageTypes().get(34); - internal_static_google_cloud_contactcenterinsights_v1_FaqAnswerData_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_contactcenterinsights_v1_FaqAnswerData_descriptor, - new java.lang.String[] { - "Answer", "ConfidenceScore", "Question", "Metadata", "QueryRecord", "Source", - }); - internal_static_google_cloud_contactcenterinsights_v1_FaqAnswerData_MetadataEntry_descriptor = - internal_static_google_cloud_contactcenterinsights_v1_FaqAnswerData_descriptor - .getNestedTypes() - .get(0); - internal_static_google_cloud_contactcenterinsights_v1_FaqAnswerData_MetadataEntry_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_contactcenterinsights_v1_FaqAnswerData_MetadataEntry_descriptor, - new java.lang.String[] { - "Key", "Value", - }); - internal_static_google_cloud_contactcenterinsights_v1_SmartReplyData_descriptor = - getDescriptor().getMessageTypes().get(35); - internal_static_google_cloud_contactcenterinsights_v1_SmartReplyData_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_contactcenterinsights_v1_SmartReplyData_descriptor, - new java.lang.String[] { - "Reply", "ConfidenceScore", "Metadata", "QueryRecord", - }); - internal_static_google_cloud_contactcenterinsights_v1_SmartReplyData_MetadataEntry_descriptor = - internal_static_google_cloud_contactcenterinsights_v1_SmartReplyData_descriptor - .getNestedTypes() - .get(0); - internal_static_google_cloud_contactcenterinsights_v1_SmartReplyData_MetadataEntry_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_contactcenterinsights_v1_SmartReplyData_MetadataEntry_descriptor, - new java.lang.String[] { - "Key", "Value", - }); - internal_static_google_cloud_contactcenterinsights_v1_SmartComposeSuggestionData_descriptor = - getDescriptor().getMessageTypes().get(36); - internal_static_google_cloud_contactcenterinsights_v1_SmartComposeSuggestionData_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_contactcenterinsights_v1_SmartComposeSuggestionData_descriptor, - new java.lang.String[] { - "Suggestion", "ConfidenceScore", "Metadata", "QueryRecord", - }); - internal_static_google_cloud_contactcenterinsights_v1_SmartComposeSuggestionData_MetadataEntry_descriptor = - internal_static_google_cloud_contactcenterinsights_v1_SmartComposeSuggestionData_descriptor - .getNestedTypes() - .get(0); - internal_static_google_cloud_contactcenterinsights_v1_SmartComposeSuggestionData_MetadataEntry_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_contactcenterinsights_v1_SmartComposeSuggestionData_MetadataEntry_descriptor, - new java.lang.String[] { - "Key", "Value", - }); - internal_static_google_cloud_contactcenterinsights_v1_DialogflowInteractionData_descriptor = - getDescriptor().getMessageTypes().get(37); - internal_static_google_cloud_contactcenterinsights_v1_DialogflowInteractionData_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_contactcenterinsights_v1_DialogflowInteractionData_descriptor, - new java.lang.String[] { - "DialogflowIntentId", "Confidence", - }); - internal_static_google_cloud_contactcenterinsights_v1_ConversationParticipant_descriptor = - getDescriptor().getMessageTypes().get(38); - internal_static_google_cloud_contactcenterinsights_v1_ConversationParticipant_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_contactcenterinsights_v1_ConversationParticipant_descriptor, - new java.lang.String[] { - "DialogflowParticipantName", - "UserId", - "DialogflowParticipant", - "ObfuscatedExternalUserId", - "Role", - "Participant", - }); - internal_static_google_cloud_contactcenterinsights_v1_View_descriptor = - getDescriptor().getMessageTypes().get(39); - internal_static_google_cloud_contactcenterinsights_v1_View_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_contactcenterinsights_v1_View_descriptor, - new java.lang.String[] { - "Name", "DisplayName", "CreateTime", "UpdateTime", "Value", - }); - internal_static_google_cloud_contactcenterinsights_v1_AnnotatorSelector_descriptor = - getDescriptor().getMessageTypes().get(40); - internal_static_google_cloud_contactcenterinsights_v1_AnnotatorSelector_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_contactcenterinsights_v1_AnnotatorSelector_descriptor, - new java.lang.String[] { - "RunInterruptionAnnotator", - "RunSilenceAnnotator", - "RunPhraseMatcherAnnotator", - "PhraseMatchers", - "RunSentimentAnnotator", - "RunEntityAnnotator", - "RunIntentAnnotator", - "RunIssueModelAnnotator", - "IssueModels", - }); - com.google.protobuf.ExtensionRegistry registry = - com.google.protobuf.ExtensionRegistry.newInstance(); - registry.add(com.google.api.FieldBehaviorProto.fieldBehavior); - registry.add(com.google.api.ResourceProto.resource); - registry.add(com.google.api.ResourceProto.resourceDefinition); - registry.add(com.google.api.ResourceProto.resourceReference); - com.google.protobuf.Descriptors.FileDescriptor.internalUpdateFileDescriptor( - descriptor, registry); - com.google.api.FieldBehaviorProto.getDescriptor(); - com.google.api.ResourceProto.getDescriptor(); - com.google.protobuf.DurationProto.getDescriptor(); - com.google.protobuf.TimestampProto.getDescriptor(); - } - - // @@protoc_insertion_point(outer_class_scope) -} diff --git a/java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/SilenceDataOrBuilder.java b/java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/SilenceDataOrBuilder.java deleted file mode 100644 index e86e739d9ee3..000000000000 --- a/java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/SilenceDataOrBuilder.java +++ /dev/null @@ -1,24 +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. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/contactcenterinsights/v1/resources.proto - -package com.google.cloud.contactcenterinsights.v1; - -public interface SilenceDataOrBuilder - extends - // @@protoc_insertion_point(interface_extends:google.cloud.contactcenterinsights.v1.SilenceData) - com.google.protobuf.MessageOrBuilder {} diff --git a/java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/UndeployIssueModelRequestOrBuilder.java b/java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/UndeployIssueModelRequestOrBuilder.java deleted file mode 100644 index 431293b27b52..000000000000 --- a/java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/UndeployIssueModelRequestOrBuilder.java +++ /dev/null @@ -1,54 +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. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/contactcenterinsights/v1/contact_center_insights.proto - -package com.google.cloud.contactcenterinsights.v1; - -public interface UndeployIssueModelRequestOrBuilder - extends - // @@protoc_insertion_point(interface_extends:google.cloud.contactcenterinsights.v1.UndeployIssueModelRequest) - com.google.protobuf.MessageOrBuilder { - - /** - * - * - *
-   * Required. The issue model to undeploy.
-   * 
- * - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * - * @return The name. - */ - java.lang.String getName(); - /** - * - * - *
-   * Required. The issue model to undeploy.
-   * 
- * - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * - * @return The bytes for name. - */ - com.google.protobuf.ByteString getNameBytes(); -} diff --git a/java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/UndeployIssueModelResponseOrBuilder.java b/java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/UndeployIssueModelResponseOrBuilder.java deleted file mode 100644 index 59a7fdb5a9b3..000000000000 --- a/java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/UndeployIssueModelResponseOrBuilder.java +++ /dev/null @@ -1,24 +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. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/contactcenterinsights/v1/contact_center_insights.proto - -package com.google.cloud.contactcenterinsights.v1; - -public interface UndeployIssueModelResponseOrBuilder - extends - // @@protoc_insertion_point(interface_extends:google.cloud.contactcenterinsights.v1.UndeployIssueModelResponse) - com.google.protobuf.MessageOrBuilder {} diff --git a/java-contact-center-insights/google-cloud-contact-center-insights/src/main/java/com/google/cloud/contactcenterinsights/v1/ContactCenterInsightsClient.java b/owl-bot-staging/java-contact-center-insights/v1/google-cloud-contact-center-insights/src/main/java/com/google/cloud/contactcenterinsights/v1/ContactCenterInsightsClient.java similarity index 100% rename from java-contact-center-insights/google-cloud-contact-center-insights/src/main/java/com/google/cloud/contactcenterinsights/v1/ContactCenterInsightsClient.java rename to owl-bot-staging/java-contact-center-insights/v1/google-cloud-contact-center-insights/src/main/java/com/google/cloud/contactcenterinsights/v1/ContactCenterInsightsClient.java diff --git a/java-contact-center-insights/google-cloud-contact-center-insights/src/main/java/com/google/cloud/contactcenterinsights/v1/ContactCenterInsightsSettings.java b/owl-bot-staging/java-contact-center-insights/v1/google-cloud-contact-center-insights/src/main/java/com/google/cloud/contactcenterinsights/v1/ContactCenterInsightsSettings.java similarity index 99% rename from java-contact-center-insights/google-cloud-contact-center-insights/src/main/java/com/google/cloud/contactcenterinsights/v1/ContactCenterInsightsSettings.java rename to owl-bot-staging/java-contact-center-insights/v1/google-cloud-contact-center-insights/src/main/java/com/google/cloud/contactcenterinsights/v1/ContactCenterInsightsSettings.java index 81a683925bc7..91b68350f617 100644 --- a/java-contact-center-insights/google-cloud-contact-center-insights/src/main/java/com/google/cloud/contactcenterinsights/v1/ContactCenterInsightsSettings.java +++ b/owl-bot-staging/java-contact-center-insights/v1/google-cloud-contact-center-insights/src/main/java/com/google/cloud/contactcenterinsights/v1/ContactCenterInsightsSettings.java @@ -32,6 +32,7 @@ import com.google.api.gax.rpc.ClientSettings; import com.google.api.gax.rpc.OperationCallSettings; import com.google.api.gax.rpc.PagedCallSettings; +import com.google.api.gax.rpc.StubSettings; import com.google.api.gax.rpc.TransportChannelProvider; import com.google.api.gax.rpc.UnaryCallSettings; import com.google.cloud.contactcenterinsights.v1.stub.ContactCenterInsightsStubSettings; diff --git a/java-contact-center-insights/google-cloud-contact-center-insights/src/main/java/com/google/cloud/contactcenterinsights/v1/gapic_metadata.json b/owl-bot-staging/java-contact-center-insights/v1/google-cloud-contact-center-insights/src/main/java/com/google/cloud/contactcenterinsights/v1/gapic_metadata.json similarity index 100% rename from java-contact-center-insights/google-cloud-contact-center-insights/src/main/java/com/google/cloud/contactcenterinsights/v1/gapic_metadata.json rename to owl-bot-staging/java-contact-center-insights/v1/google-cloud-contact-center-insights/src/main/java/com/google/cloud/contactcenterinsights/v1/gapic_metadata.json diff --git a/java-contact-center-insights/google-cloud-contact-center-insights/src/main/java/com/google/cloud/contactcenterinsights/v1/package-info.java b/owl-bot-staging/java-contact-center-insights/v1/google-cloud-contact-center-insights/src/main/java/com/google/cloud/contactcenterinsights/v1/package-info.java similarity index 100% rename from java-contact-center-insights/google-cloud-contact-center-insights/src/main/java/com/google/cloud/contactcenterinsights/v1/package-info.java rename to owl-bot-staging/java-contact-center-insights/v1/google-cloud-contact-center-insights/src/main/java/com/google/cloud/contactcenterinsights/v1/package-info.java diff --git a/java-contact-center-insights/google-cloud-contact-center-insights/src/main/java/com/google/cloud/contactcenterinsights/v1/stub/ContactCenterInsightsStub.java b/owl-bot-staging/java-contact-center-insights/v1/google-cloud-contact-center-insights/src/main/java/com/google/cloud/contactcenterinsights/v1/stub/ContactCenterInsightsStub.java similarity index 100% rename from java-contact-center-insights/google-cloud-contact-center-insights/src/main/java/com/google/cloud/contactcenterinsights/v1/stub/ContactCenterInsightsStub.java rename to owl-bot-staging/java-contact-center-insights/v1/google-cloud-contact-center-insights/src/main/java/com/google/cloud/contactcenterinsights/v1/stub/ContactCenterInsightsStub.java diff --git a/java-contact-center-insights/google-cloud-contact-center-insights/src/main/java/com/google/cloud/contactcenterinsights/v1/stub/ContactCenterInsightsStubSettings.java b/owl-bot-staging/java-contact-center-insights/v1/google-cloud-contact-center-insights/src/main/java/com/google/cloud/contactcenterinsights/v1/stub/ContactCenterInsightsStubSettings.java similarity index 100% rename from java-contact-center-insights/google-cloud-contact-center-insights/src/main/java/com/google/cloud/contactcenterinsights/v1/stub/ContactCenterInsightsStubSettings.java rename to owl-bot-staging/java-contact-center-insights/v1/google-cloud-contact-center-insights/src/main/java/com/google/cloud/contactcenterinsights/v1/stub/ContactCenterInsightsStubSettings.java diff --git a/java-contact-center-insights/google-cloud-contact-center-insights/src/main/java/com/google/cloud/contactcenterinsights/v1/stub/GrpcContactCenterInsightsCallableFactory.java b/owl-bot-staging/java-contact-center-insights/v1/google-cloud-contact-center-insights/src/main/java/com/google/cloud/contactcenterinsights/v1/stub/GrpcContactCenterInsightsCallableFactory.java similarity index 100% rename from java-contact-center-insights/google-cloud-contact-center-insights/src/main/java/com/google/cloud/contactcenterinsights/v1/stub/GrpcContactCenterInsightsCallableFactory.java rename to owl-bot-staging/java-contact-center-insights/v1/google-cloud-contact-center-insights/src/main/java/com/google/cloud/contactcenterinsights/v1/stub/GrpcContactCenterInsightsCallableFactory.java diff --git a/java-contact-center-insights/google-cloud-contact-center-insights/src/main/java/com/google/cloud/contactcenterinsights/v1/stub/GrpcContactCenterInsightsStub.java b/owl-bot-staging/java-contact-center-insights/v1/google-cloud-contact-center-insights/src/main/java/com/google/cloud/contactcenterinsights/v1/stub/GrpcContactCenterInsightsStub.java similarity index 99% rename from java-contact-center-insights/google-cloud-contact-center-insights/src/main/java/com/google/cloud/contactcenterinsights/v1/stub/GrpcContactCenterInsightsStub.java rename to owl-bot-staging/java-contact-center-insights/v1/google-cloud-contact-center-insights/src/main/java/com/google/cloud/contactcenterinsights/v1/stub/GrpcContactCenterInsightsStub.java index 1717f7bcf056..e2f5a852cc3e 100644 --- a/java-contact-center-insights/google-cloud-contact-center-insights/src/main/java/com/google/cloud/contactcenterinsights/v1/stub/GrpcContactCenterInsightsStub.java +++ b/owl-bot-staging/java-contact-center-insights/v1/google-cloud-contact-center-insights/src/main/java/com/google/cloud/contactcenterinsights/v1/stub/GrpcContactCenterInsightsStub.java @@ -100,6 +100,7 @@ import io.grpc.MethodDescriptor; import io.grpc.protobuf.ProtoUtils; import java.io.IOException; +import java.util.Map; import java.util.concurrent.TimeUnit; import javax.annotation.Generated; diff --git a/java-contact-center-insights/google-cloud-contact-center-insights/src/main/java/com/google/cloud/contactcenterinsights/v1/stub/HttpJsonContactCenterInsightsCallableFactory.java b/owl-bot-staging/java-contact-center-insights/v1/google-cloud-contact-center-insights/src/main/java/com/google/cloud/contactcenterinsights/v1/stub/HttpJsonContactCenterInsightsCallableFactory.java similarity index 100% rename from java-contact-center-insights/google-cloud-contact-center-insights/src/main/java/com/google/cloud/contactcenterinsights/v1/stub/HttpJsonContactCenterInsightsCallableFactory.java rename to owl-bot-staging/java-contact-center-insights/v1/google-cloud-contact-center-insights/src/main/java/com/google/cloud/contactcenterinsights/v1/stub/HttpJsonContactCenterInsightsCallableFactory.java diff --git a/java-contact-center-insights/google-cloud-contact-center-insights/src/main/java/com/google/cloud/contactcenterinsights/v1/stub/HttpJsonContactCenterInsightsStub.java b/owl-bot-staging/java-contact-center-insights/v1/google-cloud-contact-center-insights/src/main/java/com/google/cloud/contactcenterinsights/v1/stub/HttpJsonContactCenterInsightsStub.java similarity index 99% rename from java-contact-center-insights/google-cloud-contact-center-insights/src/main/java/com/google/cloud/contactcenterinsights/v1/stub/HttpJsonContactCenterInsightsStub.java rename to owl-bot-staging/java-contact-center-insights/v1/google-cloud-contact-center-insights/src/main/java/com/google/cloud/contactcenterinsights/v1/stub/HttpJsonContactCenterInsightsStub.java index aed97cc5b74e..a8b308199db2 100644 --- a/java-contact-center-insights/google-cloud-contact-center-insights/src/main/java/com/google/cloud/contactcenterinsights/v1/stub/HttpJsonContactCenterInsightsStub.java +++ b/owl-bot-staging/java-contact-center-insights/v1/google-cloud-contact-center-insights/src/main/java/com/google/cloud/contactcenterinsights/v1/stub/HttpJsonContactCenterInsightsStub.java @@ -33,6 +33,7 @@ import com.google.api.gax.httpjson.ProtoMessageResponseParser; import com.google.api.gax.httpjson.ProtoRestSerializer; import com.google.api.gax.httpjson.longrunning.stub.HttpJsonOperationsStub; +import com.google.api.gax.longrunning.OperationSnapshot; import com.google.api.gax.rpc.ClientContext; import com.google.api.gax.rpc.OperationCallable; import com.google.api.gax.rpc.UnaryCallable; diff --git a/java-contact-center-insights/google-cloud-contact-center-insights/src/test/java/com/google/cloud/contactcenterinsights/v1/ContactCenterInsightsClientHttpJsonTest.java b/owl-bot-staging/java-contact-center-insights/v1/google-cloud-contact-center-insights/src/test/java/com/google/cloud/contactcenterinsights/v1/ContactCenterInsightsClientHttpJsonTest.java similarity index 99% rename from java-contact-center-insights/google-cloud-contact-center-insights/src/test/java/com/google/cloud/contactcenterinsights/v1/ContactCenterInsightsClientHttpJsonTest.java rename to owl-bot-staging/java-contact-center-insights/v1/google-cloud-contact-center-insights/src/test/java/com/google/cloud/contactcenterinsights/v1/ContactCenterInsightsClientHttpJsonTest.java index ddd20857230a..e4fdaecb1b56 100644 --- a/java-contact-center-insights/google-cloud-contact-center-insights/src/test/java/com/google/cloud/contactcenterinsights/v1/ContactCenterInsightsClientHttpJsonTest.java +++ b/owl-bot-staging/java-contact-center-insights/v1/google-cloud-contact-center-insights/src/test/java/com/google/cloud/contactcenterinsights/v1/ContactCenterInsightsClientHttpJsonTest.java @@ -1305,6 +1305,7 @@ public void createIssueModelTest() throws Exception { .setDisplayName("displayName1714148973") .setCreateTime(Timestamp.newBuilder().build()) .setUpdateTime(Timestamp.newBuilder().build()) + .setIssueCount(1779144233) .setInputDataConfig(IssueModel.InputDataConfig.newBuilder().build()) .setTrainingStats(IssueModelLabelStats.newBuilder().build()) .build(); @@ -1361,6 +1362,7 @@ public void createIssueModelTest2() throws Exception { .setDisplayName("displayName1714148973") .setCreateTime(Timestamp.newBuilder().build()) .setUpdateTime(Timestamp.newBuilder().build()) + .setIssueCount(1779144233) .setInputDataConfig(IssueModel.InputDataConfig.newBuilder().build()) .setTrainingStats(IssueModelLabelStats.newBuilder().build()) .build(); @@ -1417,6 +1419,7 @@ public void updateIssueModelTest() throws Exception { .setDisplayName("displayName1714148973") .setCreateTime(Timestamp.newBuilder().build()) .setUpdateTime(Timestamp.newBuilder().build()) + .setIssueCount(1779144233) .setInputDataConfig(IssueModel.InputDataConfig.newBuilder().build()) .setTrainingStats(IssueModelLabelStats.newBuilder().build()) .build(); @@ -1428,6 +1431,7 @@ public void updateIssueModelTest() throws Exception { .setDisplayName("displayName1714148973") .setCreateTime(Timestamp.newBuilder().build()) .setUpdateTime(Timestamp.newBuilder().build()) + .setIssueCount(1779144233) .setInputDataConfig(IssueModel.InputDataConfig.newBuilder().build()) .setTrainingStats(IssueModelLabelStats.newBuilder().build()) .build(); @@ -1465,6 +1469,7 @@ public void updateIssueModelExceptionTest() throws Exception { .setDisplayName("displayName1714148973") .setCreateTime(Timestamp.newBuilder().build()) .setUpdateTime(Timestamp.newBuilder().build()) + .setIssueCount(1779144233) .setInputDataConfig(IssueModel.InputDataConfig.newBuilder().build()) .setTrainingStats(IssueModelLabelStats.newBuilder().build()) .build(); @@ -1484,6 +1489,7 @@ public void getIssueModelTest() throws Exception { .setDisplayName("displayName1714148973") .setCreateTime(Timestamp.newBuilder().build()) .setUpdateTime(Timestamp.newBuilder().build()) + .setIssueCount(1779144233) .setInputDataConfig(IssueModel.InputDataConfig.newBuilder().build()) .setTrainingStats(IssueModelLabelStats.newBuilder().build()) .build(); @@ -1533,6 +1539,7 @@ public void getIssueModelTest2() throws Exception { .setDisplayName("displayName1714148973") .setCreateTime(Timestamp.newBuilder().build()) .setUpdateTime(Timestamp.newBuilder().build()) + .setIssueCount(1779144233) .setInputDataConfig(IssueModel.InputDataConfig.newBuilder().build()) .setTrainingStats(IssueModelLabelStats.newBuilder().build()) .build(); diff --git a/java-contact-center-insights/google-cloud-contact-center-insights/src/test/java/com/google/cloud/contactcenterinsights/v1/ContactCenterInsightsClientTest.java b/owl-bot-staging/java-contact-center-insights/v1/google-cloud-contact-center-insights/src/test/java/com/google/cloud/contactcenterinsights/v1/ContactCenterInsightsClientTest.java similarity index 99% rename from java-contact-center-insights/google-cloud-contact-center-insights/src/test/java/com/google/cloud/contactcenterinsights/v1/ContactCenterInsightsClientTest.java rename to owl-bot-staging/java-contact-center-insights/v1/google-cloud-contact-center-insights/src/test/java/com/google/cloud/contactcenterinsights/v1/ContactCenterInsightsClientTest.java index 26c224580a3d..a07103cc2758 100644 --- a/java-contact-center-insights/google-cloud-contact-center-insights/src/test/java/com/google/cloud/contactcenterinsights/v1/ContactCenterInsightsClientTest.java +++ b/owl-bot-staging/java-contact-center-insights/v1/google-cloud-contact-center-insights/src/test/java/com/google/cloud/contactcenterinsights/v1/ContactCenterInsightsClientTest.java @@ -1169,6 +1169,7 @@ public void createIssueModelTest() throws Exception { .setDisplayName("displayName1714148973") .setCreateTime(Timestamp.newBuilder().build()) .setUpdateTime(Timestamp.newBuilder().build()) + .setIssueCount(1779144233) .setInputDataConfig(IssueModel.InputDataConfig.newBuilder().build()) .setTrainingStats(IssueModelLabelStats.newBuilder().build()) .build(); @@ -1223,6 +1224,7 @@ public void createIssueModelTest2() throws Exception { .setDisplayName("displayName1714148973") .setCreateTime(Timestamp.newBuilder().build()) .setUpdateTime(Timestamp.newBuilder().build()) + .setIssueCount(1779144233) .setInputDataConfig(IssueModel.InputDataConfig.newBuilder().build()) .setTrainingStats(IssueModelLabelStats.newBuilder().build()) .build(); @@ -1277,6 +1279,7 @@ public void updateIssueModelTest() throws Exception { .setDisplayName("displayName1714148973") .setCreateTime(Timestamp.newBuilder().build()) .setUpdateTime(Timestamp.newBuilder().build()) + .setIssueCount(1779144233) .setInputDataConfig(IssueModel.InputDataConfig.newBuilder().build()) .setTrainingStats(IssueModelLabelStats.newBuilder().build()) .build(); @@ -1323,6 +1326,7 @@ public void getIssueModelTest() throws Exception { .setDisplayName("displayName1714148973") .setCreateTime(Timestamp.newBuilder().build()) .setUpdateTime(Timestamp.newBuilder().build()) + .setIssueCount(1779144233) .setInputDataConfig(IssueModel.InputDataConfig.newBuilder().build()) .setTrainingStats(IssueModelLabelStats.newBuilder().build()) .build(); @@ -1366,6 +1370,7 @@ public void getIssueModelTest2() throws Exception { .setDisplayName("displayName1714148973") .setCreateTime(Timestamp.newBuilder().build()) .setUpdateTime(Timestamp.newBuilder().build()) + .setIssueCount(1779144233) .setInputDataConfig(IssueModel.InputDataConfig.newBuilder().build()) .setTrainingStats(IssueModelLabelStats.newBuilder().build()) .build(); diff --git a/java-contact-center-insights/google-cloud-contact-center-insights/src/test/java/com/google/cloud/contactcenterinsights/v1/MockContactCenterInsights.java b/owl-bot-staging/java-contact-center-insights/v1/google-cloud-contact-center-insights/src/test/java/com/google/cloud/contactcenterinsights/v1/MockContactCenterInsights.java similarity index 100% rename from java-contact-center-insights/google-cloud-contact-center-insights/src/test/java/com/google/cloud/contactcenterinsights/v1/MockContactCenterInsights.java rename to owl-bot-staging/java-contact-center-insights/v1/google-cloud-contact-center-insights/src/test/java/com/google/cloud/contactcenterinsights/v1/MockContactCenterInsights.java diff --git a/java-contact-center-insights/google-cloud-contact-center-insights/src/test/java/com/google/cloud/contactcenterinsights/v1/MockContactCenterInsightsImpl.java b/owl-bot-staging/java-contact-center-insights/v1/google-cloud-contact-center-insights/src/test/java/com/google/cloud/contactcenterinsights/v1/MockContactCenterInsightsImpl.java similarity index 100% rename from java-contact-center-insights/google-cloud-contact-center-insights/src/test/java/com/google/cloud/contactcenterinsights/v1/MockContactCenterInsightsImpl.java rename to owl-bot-staging/java-contact-center-insights/v1/google-cloud-contact-center-insights/src/test/java/com/google/cloud/contactcenterinsights/v1/MockContactCenterInsightsImpl.java diff --git a/owl-bot-staging/java-contact-center-insights/v1/grpc-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ContactCenterInsightsGrpc.java b/owl-bot-staging/java-contact-center-insights/v1/grpc-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ContactCenterInsightsGrpc.java new file mode 100644 index 000000000000..5c089b9bbf2c --- /dev/null +++ b/owl-bot-staging/java-contact-center-insights/v1/grpc-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ContactCenterInsightsGrpc.java @@ -0,0 +1,3415 @@ +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 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 getCreateConversationMethod() { + io.grpc.MethodDescriptor getCreateConversationMethod; + if ((getCreateConversationMethod = ContactCenterInsightsGrpc.getCreateConversationMethod) == null) { + synchronized (ContactCenterInsightsGrpc.class) { + if ((getCreateConversationMethod = ContactCenterInsightsGrpc.getCreateConversationMethod) == null) { + ContactCenterInsightsGrpc.getCreateConversationMethod = getCreateConversationMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "CreateConversation")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.contactcenterinsights.v1.CreateConversationRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.contactcenterinsights.v1.Conversation.getDefaultInstance())) + .setSchemaDescriptor(new ContactCenterInsightsMethodDescriptorSupplier("CreateConversation")) + .build(); + } + } + } + return getCreateConversationMethod; + } + + private static volatile io.grpc.MethodDescriptor getUpdateConversationMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "UpdateConversation", + requestType = com.google.cloud.contactcenterinsights.v1.UpdateConversationRequest.class, + responseType = com.google.cloud.contactcenterinsights.v1.Conversation.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getUpdateConversationMethod() { + io.grpc.MethodDescriptor getUpdateConversationMethod; + if ((getUpdateConversationMethod = ContactCenterInsightsGrpc.getUpdateConversationMethod) == null) { + synchronized (ContactCenterInsightsGrpc.class) { + if ((getUpdateConversationMethod = ContactCenterInsightsGrpc.getUpdateConversationMethod) == null) { + ContactCenterInsightsGrpc.getUpdateConversationMethod = getUpdateConversationMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "UpdateConversation")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.contactcenterinsights.v1.UpdateConversationRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.contactcenterinsights.v1.Conversation.getDefaultInstance())) + .setSchemaDescriptor(new ContactCenterInsightsMethodDescriptorSupplier("UpdateConversation")) + .build(); + } + } + } + return getUpdateConversationMethod; + } + + private static volatile io.grpc.MethodDescriptor getGetConversationMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "GetConversation", + requestType = com.google.cloud.contactcenterinsights.v1.GetConversationRequest.class, + responseType = com.google.cloud.contactcenterinsights.v1.Conversation.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getGetConversationMethod() { + io.grpc.MethodDescriptor getGetConversationMethod; + if ((getGetConversationMethod = ContactCenterInsightsGrpc.getGetConversationMethod) == null) { + synchronized (ContactCenterInsightsGrpc.class) { + if ((getGetConversationMethod = ContactCenterInsightsGrpc.getGetConversationMethod) == null) { + ContactCenterInsightsGrpc.getGetConversationMethod = getGetConversationMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetConversation")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.contactcenterinsights.v1.GetConversationRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.contactcenterinsights.v1.Conversation.getDefaultInstance())) + .setSchemaDescriptor(new ContactCenterInsightsMethodDescriptorSupplier("GetConversation")) + .build(); + } + } + } + return getGetConversationMethod; + } + + private static volatile io.grpc.MethodDescriptor getListConversationsMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "ListConversations", + requestType = com.google.cloud.contactcenterinsights.v1.ListConversationsRequest.class, + responseType = com.google.cloud.contactcenterinsights.v1.ListConversationsResponse.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getListConversationsMethod() { + io.grpc.MethodDescriptor getListConversationsMethod; + if ((getListConversationsMethod = ContactCenterInsightsGrpc.getListConversationsMethod) == null) { + synchronized (ContactCenterInsightsGrpc.class) { + if ((getListConversationsMethod = ContactCenterInsightsGrpc.getListConversationsMethod) == null) { + ContactCenterInsightsGrpc.getListConversationsMethod = getListConversationsMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListConversations")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.contactcenterinsights.v1.ListConversationsRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.contactcenterinsights.v1.ListConversationsResponse.getDefaultInstance())) + .setSchemaDescriptor(new ContactCenterInsightsMethodDescriptorSupplier("ListConversations")) + .build(); + } + } + } + return getListConversationsMethod; + } + + private static volatile io.grpc.MethodDescriptor getDeleteConversationMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "DeleteConversation", + requestType = com.google.cloud.contactcenterinsights.v1.DeleteConversationRequest.class, + responseType = com.google.protobuf.Empty.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getDeleteConversationMethod() { + io.grpc.MethodDescriptor getDeleteConversationMethod; + if ((getDeleteConversationMethod = ContactCenterInsightsGrpc.getDeleteConversationMethod) == null) { + synchronized (ContactCenterInsightsGrpc.class) { + if ((getDeleteConversationMethod = ContactCenterInsightsGrpc.getDeleteConversationMethod) == null) { + ContactCenterInsightsGrpc.getDeleteConversationMethod = getDeleteConversationMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "DeleteConversation")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.contactcenterinsights.v1.DeleteConversationRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.protobuf.Empty.getDefaultInstance())) + .setSchemaDescriptor(new ContactCenterInsightsMethodDescriptorSupplier("DeleteConversation")) + .build(); + } + } + } + return getDeleteConversationMethod; + } + + private static volatile io.grpc.MethodDescriptor getCreateAnalysisMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "CreateAnalysis", + requestType = com.google.cloud.contactcenterinsights.v1.CreateAnalysisRequest.class, + responseType = com.google.longrunning.Operation.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getCreateAnalysisMethod() { + io.grpc.MethodDescriptor getCreateAnalysisMethod; + if ((getCreateAnalysisMethod = ContactCenterInsightsGrpc.getCreateAnalysisMethod) == null) { + synchronized (ContactCenterInsightsGrpc.class) { + if ((getCreateAnalysisMethod = ContactCenterInsightsGrpc.getCreateAnalysisMethod) == null) { + ContactCenterInsightsGrpc.getCreateAnalysisMethod = getCreateAnalysisMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "CreateAnalysis")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.contactcenterinsights.v1.CreateAnalysisRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.longrunning.Operation.getDefaultInstance())) + .setSchemaDescriptor(new ContactCenterInsightsMethodDescriptorSupplier("CreateAnalysis")) + .build(); + } + } + } + return getCreateAnalysisMethod; + } + + private static volatile io.grpc.MethodDescriptor getGetAnalysisMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "GetAnalysis", + requestType = com.google.cloud.contactcenterinsights.v1.GetAnalysisRequest.class, + responseType = com.google.cloud.contactcenterinsights.v1.Analysis.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getGetAnalysisMethod() { + io.grpc.MethodDescriptor getGetAnalysisMethod; + if ((getGetAnalysisMethod = ContactCenterInsightsGrpc.getGetAnalysisMethod) == null) { + synchronized (ContactCenterInsightsGrpc.class) { + if ((getGetAnalysisMethod = ContactCenterInsightsGrpc.getGetAnalysisMethod) == null) { + ContactCenterInsightsGrpc.getGetAnalysisMethod = getGetAnalysisMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetAnalysis")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.contactcenterinsights.v1.GetAnalysisRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.contactcenterinsights.v1.Analysis.getDefaultInstance())) + .setSchemaDescriptor(new ContactCenterInsightsMethodDescriptorSupplier("GetAnalysis")) + .build(); + } + } + } + return getGetAnalysisMethod; + } + + private static volatile io.grpc.MethodDescriptor getListAnalysesMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "ListAnalyses", + requestType = com.google.cloud.contactcenterinsights.v1.ListAnalysesRequest.class, + responseType = com.google.cloud.contactcenterinsights.v1.ListAnalysesResponse.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getListAnalysesMethod() { + io.grpc.MethodDescriptor getListAnalysesMethod; + if ((getListAnalysesMethod = ContactCenterInsightsGrpc.getListAnalysesMethod) == null) { + synchronized (ContactCenterInsightsGrpc.class) { + if ((getListAnalysesMethod = ContactCenterInsightsGrpc.getListAnalysesMethod) == null) { + ContactCenterInsightsGrpc.getListAnalysesMethod = getListAnalysesMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListAnalyses")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.contactcenterinsights.v1.ListAnalysesRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.contactcenterinsights.v1.ListAnalysesResponse.getDefaultInstance())) + .setSchemaDescriptor(new ContactCenterInsightsMethodDescriptorSupplier("ListAnalyses")) + .build(); + } + } + } + return getListAnalysesMethod; + } + + private static volatile io.grpc.MethodDescriptor getDeleteAnalysisMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "DeleteAnalysis", + requestType = com.google.cloud.contactcenterinsights.v1.DeleteAnalysisRequest.class, + responseType = com.google.protobuf.Empty.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getDeleteAnalysisMethod() { + io.grpc.MethodDescriptor getDeleteAnalysisMethod; + if ((getDeleteAnalysisMethod = ContactCenterInsightsGrpc.getDeleteAnalysisMethod) == null) { + synchronized (ContactCenterInsightsGrpc.class) { + if ((getDeleteAnalysisMethod = ContactCenterInsightsGrpc.getDeleteAnalysisMethod) == null) { + ContactCenterInsightsGrpc.getDeleteAnalysisMethod = getDeleteAnalysisMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "DeleteAnalysis")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.contactcenterinsights.v1.DeleteAnalysisRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.protobuf.Empty.getDefaultInstance())) + .setSchemaDescriptor(new ContactCenterInsightsMethodDescriptorSupplier("DeleteAnalysis")) + .build(); + } + } + } + return getDeleteAnalysisMethod; + } + + private static volatile io.grpc.MethodDescriptor getBulkAnalyzeConversationsMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "BulkAnalyzeConversations", + requestType = com.google.cloud.contactcenterinsights.v1.BulkAnalyzeConversationsRequest.class, + responseType = com.google.longrunning.Operation.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getBulkAnalyzeConversationsMethod() { + io.grpc.MethodDescriptor getBulkAnalyzeConversationsMethod; + if ((getBulkAnalyzeConversationsMethod = ContactCenterInsightsGrpc.getBulkAnalyzeConversationsMethod) == null) { + synchronized (ContactCenterInsightsGrpc.class) { + if ((getBulkAnalyzeConversationsMethod = ContactCenterInsightsGrpc.getBulkAnalyzeConversationsMethod) == null) { + ContactCenterInsightsGrpc.getBulkAnalyzeConversationsMethod = getBulkAnalyzeConversationsMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "BulkAnalyzeConversations")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.contactcenterinsights.v1.BulkAnalyzeConversationsRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.longrunning.Operation.getDefaultInstance())) + .setSchemaDescriptor(new ContactCenterInsightsMethodDescriptorSupplier("BulkAnalyzeConversations")) + .build(); + } + } + } + return getBulkAnalyzeConversationsMethod; + } + + private static volatile io.grpc.MethodDescriptor getIngestConversationsMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "IngestConversations", + requestType = com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest.class, + responseType = com.google.longrunning.Operation.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getIngestConversationsMethod() { + io.grpc.MethodDescriptor getIngestConversationsMethod; + if ((getIngestConversationsMethod = ContactCenterInsightsGrpc.getIngestConversationsMethod) == null) { + synchronized (ContactCenterInsightsGrpc.class) { + if ((getIngestConversationsMethod = ContactCenterInsightsGrpc.getIngestConversationsMethod) == null) { + ContactCenterInsightsGrpc.getIngestConversationsMethod = getIngestConversationsMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "IngestConversations")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.longrunning.Operation.getDefaultInstance())) + .setSchemaDescriptor(new ContactCenterInsightsMethodDescriptorSupplier("IngestConversations")) + .build(); + } + } + } + return getIngestConversationsMethod; + } + + private static volatile io.grpc.MethodDescriptor getExportInsightsDataMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "ExportInsightsData", + requestType = com.google.cloud.contactcenterinsights.v1.ExportInsightsDataRequest.class, + responseType = com.google.longrunning.Operation.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getExportInsightsDataMethod() { + io.grpc.MethodDescriptor getExportInsightsDataMethod; + if ((getExportInsightsDataMethod = ContactCenterInsightsGrpc.getExportInsightsDataMethod) == null) { + synchronized (ContactCenterInsightsGrpc.class) { + if ((getExportInsightsDataMethod = ContactCenterInsightsGrpc.getExportInsightsDataMethod) == null) { + ContactCenterInsightsGrpc.getExportInsightsDataMethod = getExportInsightsDataMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ExportInsightsData")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.contactcenterinsights.v1.ExportInsightsDataRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.longrunning.Operation.getDefaultInstance())) + .setSchemaDescriptor(new ContactCenterInsightsMethodDescriptorSupplier("ExportInsightsData")) + .build(); + } + } + } + return getExportInsightsDataMethod; + } + + private static volatile io.grpc.MethodDescriptor getCreateIssueModelMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "CreateIssueModel", + requestType = com.google.cloud.contactcenterinsights.v1.CreateIssueModelRequest.class, + responseType = com.google.longrunning.Operation.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getCreateIssueModelMethod() { + io.grpc.MethodDescriptor getCreateIssueModelMethod; + if ((getCreateIssueModelMethod = ContactCenterInsightsGrpc.getCreateIssueModelMethod) == null) { + synchronized (ContactCenterInsightsGrpc.class) { + if ((getCreateIssueModelMethod = ContactCenterInsightsGrpc.getCreateIssueModelMethod) == null) { + ContactCenterInsightsGrpc.getCreateIssueModelMethod = getCreateIssueModelMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "CreateIssueModel")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.contactcenterinsights.v1.CreateIssueModelRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.longrunning.Operation.getDefaultInstance())) + .setSchemaDescriptor(new ContactCenterInsightsMethodDescriptorSupplier("CreateIssueModel")) + .build(); + } + } + } + return getCreateIssueModelMethod; + } + + private static volatile io.grpc.MethodDescriptor getUpdateIssueModelMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "UpdateIssueModel", + requestType = com.google.cloud.contactcenterinsights.v1.UpdateIssueModelRequest.class, + responseType = com.google.cloud.contactcenterinsights.v1.IssueModel.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getUpdateIssueModelMethod() { + io.grpc.MethodDescriptor getUpdateIssueModelMethod; + if ((getUpdateIssueModelMethod = ContactCenterInsightsGrpc.getUpdateIssueModelMethod) == null) { + synchronized (ContactCenterInsightsGrpc.class) { + if ((getUpdateIssueModelMethod = ContactCenterInsightsGrpc.getUpdateIssueModelMethod) == null) { + ContactCenterInsightsGrpc.getUpdateIssueModelMethod = getUpdateIssueModelMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "UpdateIssueModel")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.contactcenterinsights.v1.UpdateIssueModelRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.contactcenterinsights.v1.IssueModel.getDefaultInstance())) + .setSchemaDescriptor(new ContactCenterInsightsMethodDescriptorSupplier("UpdateIssueModel")) + .build(); + } + } + } + return getUpdateIssueModelMethod; + } + + private static volatile io.grpc.MethodDescriptor getGetIssueModelMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "GetIssueModel", + requestType = com.google.cloud.contactcenterinsights.v1.GetIssueModelRequest.class, + responseType = com.google.cloud.contactcenterinsights.v1.IssueModel.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getGetIssueModelMethod() { + io.grpc.MethodDescriptor getGetIssueModelMethod; + if ((getGetIssueModelMethod = ContactCenterInsightsGrpc.getGetIssueModelMethod) == null) { + synchronized (ContactCenterInsightsGrpc.class) { + if ((getGetIssueModelMethod = ContactCenterInsightsGrpc.getGetIssueModelMethod) == null) { + ContactCenterInsightsGrpc.getGetIssueModelMethod = getGetIssueModelMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetIssueModel")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.contactcenterinsights.v1.GetIssueModelRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.contactcenterinsights.v1.IssueModel.getDefaultInstance())) + .setSchemaDescriptor(new ContactCenterInsightsMethodDescriptorSupplier("GetIssueModel")) + .build(); + } + } + } + return getGetIssueModelMethod; + } + + private static volatile io.grpc.MethodDescriptor getListIssueModelsMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "ListIssueModels", + requestType = com.google.cloud.contactcenterinsights.v1.ListIssueModelsRequest.class, + responseType = com.google.cloud.contactcenterinsights.v1.ListIssueModelsResponse.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getListIssueModelsMethod() { + io.grpc.MethodDescriptor getListIssueModelsMethod; + if ((getListIssueModelsMethod = ContactCenterInsightsGrpc.getListIssueModelsMethod) == null) { + synchronized (ContactCenterInsightsGrpc.class) { + if ((getListIssueModelsMethod = ContactCenterInsightsGrpc.getListIssueModelsMethod) == null) { + ContactCenterInsightsGrpc.getListIssueModelsMethod = getListIssueModelsMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListIssueModels")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.contactcenterinsights.v1.ListIssueModelsRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.contactcenterinsights.v1.ListIssueModelsResponse.getDefaultInstance())) + .setSchemaDescriptor(new ContactCenterInsightsMethodDescriptorSupplier("ListIssueModels")) + .build(); + } + } + } + return getListIssueModelsMethod; + } + + private static volatile io.grpc.MethodDescriptor getDeleteIssueModelMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "DeleteIssueModel", + requestType = com.google.cloud.contactcenterinsights.v1.DeleteIssueModelRequest.class, + responseType = com.google.longrunning.Operation.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getDeleteIssueModelMethod() { + io.grpc.MethodDescriptor getDeleteIssueModelMethod; + if ((getDeleteIssueModelMethod = ContactCenterInsightsGrpc.getDeleteIssueModelMethod) == null) { + synchronized (ContactCenterInsightsGrpc.class) { + if ((getDeleteIssueModelMethod = ContactCenterInsightsGrpc.getDeleteIssueModelMethod) == null) { + ContactCenterInsightsGrpc.getDeleteIssueModelMethod = getDeleteIssueModelMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "DeleteIssueModel")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.contactcenterinsights.v1.DeleteIssueModelRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.longrunning.Operation.getDefaultInstance())) + .setSchemaDescriptor(new ContactCenterInsightsMethodDescriptorSupplier("DeleteIssueModel")) + .build(); + } + } + } + return getDeleteIssueModelMethod; + } + + private static volatile io.grpc.MethodDescriptor getDeployIssueModelMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "DeployIssueModel", + requestType = com.google.cloud.contactcenterinsights.v1.DeployIssueModelRequest.class, + responseType = com.google.longrunning.Operation.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getDeployIssueModelMethod() { + io.grpc.MethodDescriptor getDeployIssueModelMethod; + if ((getDeployIssueModelMethod = ContactCenterInsightsGrpc.getDeployIssueModelMethod) == null) { + synchronized (ContactCenterInsightsGrpc.class) { + if ((getDeployIssueModelMethod = ContactCenterInsightsGrpc.getDeployIssueModelMethod) == null) { + ContactCenterInsightsGrpc.getDeployIssueModelMethod = getDeployIssueModelMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "DeployIssueModel")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.contactcenterinsights.v1.DeployIssueModelRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.longrunning.Operation.getDefaultInstance())) + .setSchemaDescriptor(new ContactCenterInsightsMethodDescriptorSupplier("DeployIssueModel")) + .build(); + } + } + } + return getDeployIssueModelMethod; + } + + private static volatile io.grpc.MethodDescriptor getUndeployIssueModelMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "UndeployIssueModel", + requestType = com.google.cloud.contactcenterinsights.v1.UndeployIssueModelRequest.class, + responseType = com.google.longrunning.Operation.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getUndeployIssueModelMethod() { + io.grpc.MethodDescriptor getUndeployIssueModelMethod; + if ((getUndeployIssueModelMethod = ContactCenterInsightsGrpc.getUndeployIssueModelMethod) == null) { + synchronized (ContactCenterInsightsGrpc.class) { + if ((getUndeployIssueModelMethod = ContactCenterInsightsGrpc.getUndeployIssueModelMethod) == null) { + ContactCenterInsightsGrpc.getUndeployIssueModelMethod = getUndeployIssueModelMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "UndeployIssueModel")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.contactcenterinsights.v1.UndeployIssueModelRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.longrunning.Operation.getDefaultInstance())) + .setSchemaDescriptor(new ContactCenterInsightsMethodDescriptorSupplier("UndeployIssueModel")) + .build(); + } + } + } + return getUndeployIssueModelMethod; + } + + private static volatile io.grpc.MethodDescriptor getGetIssueMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "GetIssue", + requestType = com.google.cloud.contactcenterinsights.v1.GetIssueRequest.class, + responseType = com.google.cloud.contactcenterinsights.v1.Issue.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getGetIssueMethod() { + io.grpc.MethodDescriptor getGetIssueMethod; + if ((getGetIssueMethod = ContactCenterInsightsGrpc.getGetIssueMethod) == null) { + synchronized (ContactCenterInsightsGrpc.class) { + if ((getGetIssueMethod = ContactCenterInsightsGrpc.getGetIssueMethod) == null) { + ContactCenterInsightsGrpc.getGetIssueMethod = getGetIssueMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetIssue")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.contactcenterinsights.v1.GetIssueRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.contactcenterinsights.v1.Issue.getDefaultInstance())) + .setSchemaDescriptor(new ContactCenterInsightsMethodDescriptorSupplier("GetIssue")) + .build(); + } + } + } + return getGetIssueMethod; + } + + private static volatile io.grpc.MethodDescriptor getListIssuesMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "ListIssues", + requestType = com.google.cloud.contactcenterinsights.v1.ListIssuesRequest.class, + responseType = com.google.cloud.contactcenterinsights.v1.ListIssuesResponse.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getListIssuesMethod() { + io.grpc.MethodDescriptor getListIssuesMethod; + if ((getListIssuesMethod = ContactCenterInsightsGrpc.getListIssuesMethod) == null) { + synchronized (ContactCenterInsightsGrpc.class) { + if ((getListIssuesMethod = ContactCenterInsightsGrpc.getListIssuesMethod) == null) { + ContactCenterInsightsGrpc.getListIssuesMethod = getListIssuesMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListIssues")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.contactcenterinsights.v1.ListIssuesRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.contactcenterinsights.v1.ListIssuesResponse.getDefaultInstance())) + .setSchemaDescriptor(new ContactCenterInsightsMethodDescriptorSupplier("ListIssues")) + .build(); + } + } + } + return getListIssuesMethod; + } + + private static volatile io.grpc.MethodDescriptor getUpdateIssueMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "UpdateIssue", + requestType = com.google.cloud.contactcenterinsights.v1.UpdateIssueRequest.class, + responseType = com.google.cloud.contactcenterinsights.v1.Issue.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getUpdateIssueMethod() { + io.grpc.MethodDescriptor getUpdateIssueMethod; + if ((getUpdateIssueMethod = ContactCenterInsightsGrpc.getUpdateIssueMethod) == null) { + synchronized (ContactCenterInsightsGrpc.class) { + if ((getUpdateIssueMethod = ContactCenterInsightsGrpc.getUpdateIssueMethod) == null) { + ContactCenterInsightsGrpc.getUpdateIssueMethod = getUpdateIssueMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "UpdateIssue")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.contactcenterinsights.v1.UpdateIssueRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.contactcenterinsights.v1.Issue.getDefaultInstance())) + .setSchemaDescriptor(new ContactCenterInsightsMethodDescriptorSupplier("UpdateIssue")) + .build(); + } + } + } + return getUpdateIssueMethod; + } + + private static volatile io.grpc.MethodDescriptor getDeleteIssueMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "DeleteIssue", + requestType = com.google.cloud.contactcenterinsights.v1.DeleteIssueRequest.class, + responseType = com.google.protobuf.Empty.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getDeleteIssueMethod() { + io.grpc.MethodDescriptor getDeleteIssueMethod; + if ((getDeleteIssueMethod = ContactCenterInsightsGrpc.getDeleteIssueMethod) == null) { + synchronized (ContactCenterInsightsGrpc.class) { + if ((getDeleteIssueMethod = ContactCenterInsightsGrpc.getDeleteIssueMethod) == null) { + ContactCenterInsightsGrpc.getDeleteIssueMethod = getDeleteIssueMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "DeleteIssue")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.contactcenterinsights.v1.DeleteIssueRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.protobuf.Empty.getDefaultInstance())) + .setSchemaDescriptor(new ContactCenterInsightsMethodDescriptorSupplier("DeleteIssue")) + .build(); + } + } + } + return getDeleteIssueMethod; + } + + private static volatile io.grpc.MethodDescriptor getCalculateIssueModelStatsMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "CalculateIssueModelStats", + requestType = com.google.cloud.contactcenterinsights.v1.CalculateIssueModelStatsRequest.class, + responseType = com.google.cloud.contactcenterinsights.v1.CalculateIssueModelStatsResponse.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getCalculateIssueModelStatsMethod() { + io.grpc.MethodDescriptor getCalculateIssueModelStatsMethod; + if ((getCalculateIssueModelStatsMethod = ContactCenterInsightsGrpc.getCalculateIssueModelStatsMethod) == null) { + synchronized (ContactCenterInsightsGrpc.class) { + if ((getCalculateIssueModelStatsMethod = ContactCenterInsightsGrpc.getCalculateIssueModelStatsMethod) == null) { + ContactCenterInsightsGrpc.getCalculateIssueModelStatsMethod = getCalculateIssueModelStatsMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "CalculateIssueModelStats")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.contactcenterinsights.v1.CalculateIssueModelStatsRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.contactcenterinsights.v1.CalculateIssueModelStatsResponse.getDefaultInstance())) + .setSchemaDescriptor(new ContactCenterInsightsMethodDescriptorSupplier("CalculateIssueModelStats")) + .build(); + } + } + } + return getCalculateIssueModelStatsMethod; + } + + private static volatile io.grpc.MethodDescriptor getCreatePhraseMatcherMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "CreatePhraseMatcher", + requestType = com.google.cloud.contactcenterinsights.v1.CreatePhraseMatcherRequest.class, + responseType = com.google.cloud.contactcenterinsights.v1.PhraseMatcher.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getCreatePhraseMatcherMethod() { + io.grpc.MethodDescriptor getCreatePhraseMatcherMethod; + if ((getCreatePhraseMatcherMethod = ContactCenterInsightsGrpc.getCreatePhraseMatcherMethod) == null) { + synchronized (ContactCenterInsightsGrpc.class) { + if ((getCreatePhraseMatcherMethod = ContactCenterInsightsGrpc.getCreatePhraseMatcherMethod) == null) { + ContactCenterInsightsGrpc.getCreatePhraseMatcherMethod = getCreatePhraseMatcherMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "CreatePhraseMatcher")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.contactcenterinsights.v1.CreatePhraseMatcherRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.contactcenterinsights.v1.PhraseMatcher.getDefaultInstance())) + .setSchemaDescriptor(new ContactCenterInsightsMethodDescriptorSupplier("CreatePhraseMatcher")) + .build(); + } + } + } + return getCreatePhraseMatcherMethod; + } + + private static volatile io.grpc.MethodDescriptor getGetPhraseMatcherMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "GetPhraseMatcher", + requestType = com.google.cloud.contactcenterinsights.v1.GetPhraseMatcherRequest.class, + responseType = com.google.cloud.contactcenterinsights.v1.PhraseMatcher.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getGetPhraseMatcherMethod() { + io.grpc.MethodDescriptor getGetPhraseMatcherMethod; + if ((getGetPhraseMatcherMethod = ContactCenterInsightsGrpc.getGetPhraseMatcherMethod) == null) { + synchronized (ContactCenterInsightsGrpc.class) { + if ((getGetPhraseMatcherMethod = ContactCenterInsightsGrpc.getGetPhraseMatcherMethod) == null) { + ContactCenterInsightsGrpc.getGetPhraseMatcherMethod = getGetPhraseMatcherMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetPhraseMatcher")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.contactcenterinsights.v1.GetPhraseMatcherRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.contactcenterinsights.v1.PhraseMatcher.getDefaultInstance())) + .setSchemaDescriptor(new ContactCenterInsightsMethodDescriptorSupplier("GetPhraseMatcher")) + .build(); + } + } + } + return getGetPhraseMatcherMethod; + } + + private static volatile io.grpc.MethodDescriptor getListPhraseMatchersMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "ListPhraseMatchers", + requestType = com.google.cloud.contactcenterinsights.v1.ListPhraseMatchersRequest.class, + responseType = com.google.cloud.contactcenterinsights.v1.ListPhraseMatchersResponse.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getListPhraseMatchersMethod() { + io.grpc.MethodDescriptor getListPhraseMatchersMethod; + if ((getListPhraseMatchersMethod = ContactCenterInsightsGrpc.getListPhraseMatchersMethod) == null) { + synchronized (ContactCenterInsightsGrpc.class) { + if ((getListPhraseMatchersMethod = ContactCenterInsightsGrpc.getListPhraseMatchersMethod) == null) { + ContactCenterInsightsGrpc.getListPhraseMatchersMethod = getListPhraseMatchersMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListPhraseMatchers")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.contactcenterinsights.v1.ListPhraseMatchersRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.contactcenterinsights.v1.ListPhraseMatchersResponse.getDefaultInstance())) + .setSchemaDescriptor(new ContactCenterInsightsMethodDescriptorSupplier("ListPhraseMatchers")) + .build(); + } + } + } + return getListPhraseMatchersMethod; + } + + private static volatile io.grpc.MethodDescriptor getDeletePhraseMatcherMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "DeletePhraseMatcher", + requestType = com.google.cloud.contactcenterinsights.v1.DeletePhraseMatcherRequest.class, + responseType = com.google.protobuf.Empty.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getDeletePhraseMatcherMethod() { + io.grpc.MethodDescriptor getDeletePhraseMatcherMethod; + if ((getDeletePhraseMatcherMethod = ContactCenterInsightsGrpc.getDeletePhraseMatcherMethod) == null) { + synchronized (ContactCenterInsightsGrpc.class) { + if ((getDeletePhraseMatcherMethod = ContactCenterInsightsGrpc.getDeletePhraseMatcherMethod) == null) { + ContactCenterInsightsGrpc.getDeletePhraseMatcherMethod = getDeletePhraseMatcherMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "DeletePhraseMatcher")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.contactcenterinsights.v1.DeletePhraseMatcherRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.protobuf.Empty.getDefaultInstance())) + .setSchemaDescriptor(new ContactCenterInsightsMethodDescriptorSupplier("DeletePhraseMatcher")) + .build(); + } + } + } + return getDeletePhraseMatcherMethod; + } + + private static volatile io.grpc.MethodDescriptor getUpdatePhraseMatcherMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "UpdatePhraseMatcher", + requestType = com.google.cloud.contactcenterinsights.v1.UpdatePhraseMatcherRequest.class, + responseType = com.google.cloud.contactcenterinsights.v1.PhraseMatcher.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getUpdatePhraseMatcherMethod() { + io.grpc.MethodDescriptor getUpdatePhraseMatcherMethod; + if ((getUpdatePhraseMatcherMethod = ContactCenterInsightsGrpc.getUpdatePhraseMatcherMethod) == null) { + synchronized (ContactCenterInsightsGrpc.class) { + if ((getUpdatePhraseMatcherMethod = ContactCenterInsightsGrpc.getUpdatePhraseMatcherMethod) == null) { + ContactCenterInsightsGrpc.getUpdatePhraseMatcherMethod = getUpdatePhraseMatcherMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "UpdatePhraseMatcher")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.contactcenterinsights.v1.UpdatePhraseMatcherRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.contactcenterinsights.v1.PhraseMatcher.getDefaultInstance())) + .setSchemaDescriptor(new ContactCenterInsightsMethodDescriptorSupplier("UpdatePhraseMatcher")) + .build(); + } + } + } + return getUpdatePhraseMatcherMethod; + } + + private static volatile io.grpc.MethodDescriptor getCalculateStatsMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "CalculateStats", + requestType = com.google.cloud.contactcenterinsights.v1.CalculateStatsRequest.class, + responseType = com.google.cloud.contactcenterinsights.v1.CalculateStatsResponse.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getCalculateStatsMethod() { + io.grpc.MethodDescriptor getCalculateStatsMethod; + if ((getCalculateStatsMethod = ContactCenterInsightsGrpc.getCalculateStatsMethod) == null) { + synchronized (ContactCenterInsightsGrpc.class) { + if ((getCalculateStatsMethod = ContactCenterInsightsGrpc.getCalculateStatsMethod) == null) { + ContactCenterInsightsGrpc.getCalculateStatsMethod = getCalculateStatsMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "CalculateStats")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.contactcenterinsights.v1.CalculateStatsRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.contactcenterinsights.v1.CalculateStatsResponse.getDefaultInstance())) + .setSchemaDescriptor(new ContactCenterInsightsMethodDescriptorSupplier("CalculateStats")) + .build(); + } + } + } + return getCalculateStatsMethod; + } + + private static volatile io.grpc.MethodDescriptor getGetSettingsMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "GetSettings", + requestType = com.google.cloud.contactcenterinsights.v1.GetSettingsRequest.class, + responseType = com.google.cloud.contactcenterinsights.v1.Settings.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getGetSettingsMethod() { + io.grpc.MethodDescriptor getGetSettingsMethod; + if ((getGetSettingsMethod = ContactCenterInsightsGrpc.getGetSettingsMethod) == null) { + synchronized (ContactCenterInsightsGrpc.class) { + if ((getGetSettingsMethod = ContactCenterInsightsGrpc.getGetSettingsMethod) == null) { + ContactCenterInsightsGrpc.getGetSettingsMethod = getGetSettingsMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetSettings")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.contactcenterinsights.v1.GetSettingsRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.contactcenterinsights.v1.Settings.getDefaultInstance())) + .setSchemaDescriptor(new ContactCenterInsightsMethodDescriptorSupplier("GetSettings")) + .build(); + } + } + } + return getGetSettingsMethod; + } + + private static volatile io.grpc.MethodDescriptor getUpdateSettingsMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "UpdateSettings", + requestType = com.google.cloud.contactcenterinsights.v1.UpdateSettingsRequest.class, + responseType = com.google.cloud.contactcenterinsights.v1.Settings.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getUpdateSettingsMethod() { + io.grpc.MethodDescriptor getUpdateSettingsMethod; + if ((getUpdateSettingsMethod = ContactCenterInsightsGrpc.getUpdateSettingsMethod) == null) { + synchronized (ContactCenterInsightsGrpc.class) { + if ((getUpdateSettingsMethod = ContactCenterInsightsGrpc.getUpdateSettingsMethod) == null) { + ContactCenterInsightsGrpc.getUpdateSettingsMethod = getUpdateSettingsMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "UpdateSettings")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.contactcenterinsights.v1.UpdateSettingsRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.contactcenterinsights.v1.Settings.getDefaultInstance())) + .setSchemaDescriptor(new ContactCenterInsightsMethodDescriptorSupplier("UpdateSettings")) + .build(); + } + } + } + return getUpdateSettingsMethod; + } + + private static volatile io.grpc.MethodDescriptor getCreateViewMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "CreateView", + requestType = com.google.cloud.contactcenterinsights.v1.CreateViewRequest.class, + responseType = com.google.cloud.contactcenterinsights.v1.View.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getCreateViewMethod() { + io.grpc.MethodDescriptor getCreateViewMethod; + if ((getCreateViewMethod = ContactCenterInsightsGrpc.getCreateViewMethod) == null) { + synchronized (ContactCenterInsightsGrpc.class) { + if ((getCreateViewMethod = ContactCenterInsightsGrpc.getCreateViewMethod) == null) { + ContactCenterInsightsGrpc.getCreateViewMethod = getCreateViewMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "CreateView")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.contactcenterinsights.v1.CreateViewRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.contactcenterinsights.v1.View.getDefaultInstance())) + .setSchemaDescriptor(new ContactCenterInsightsMethodDescriptorSupplier("CreateView")) + .build(); + } + } + } + return getCreateViewMethod; + } + + private static volatile io.grpc.MethodDescriptor getGetViewMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "GetView", + requestType = com.google.cloud.contactcenterinsights.v1.GetViewRequest.class, + responseType = com.google.cloud.contactcenterinsights.v1.View.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getGetViewMethod() { + io.grpc.MethodDescriptor getGetViewMethod; + if ((getGetViewMethod = ContactCenterInsightsGrpc.getGetViewMethod) == null) { + synchronized (ContactCenterInsightsGrpc.class) { + if ((getGetViewMethod = ContactCenterInsightsGrpc.getGetViewMethod) == null) { + ContactCenterInsightsGrpc.getGetViewMethod = getGetViewMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetView")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.contactcenterinsights.v1.GetViewRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.contactcenterinsights.v1.View.getDefaultInstance())) + .setSchemaDescriptor(new ContactCenterInsightsMethodDescriptorSupplier("GetView")) + .build(); + } + } + } + return getGetViewMethod; + } + + private static volatile io.grpc.MethodDescriptor getListViewsMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "ListViews", + requestType = com.google.cloud.contactcenterinsights.v1.ListViewsRequest.class, + responseType = com.google.cloud.contactcenterinsights.v1.ListViewsResponse.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getListViewsMethod() { + io.grpc.MethodDescriptor getListViewsMethod; + if ((getListViewsMethod = ContactCenterInsightsGrpc.getListViewsMethod) == null) { + synchronized (ContactCenterInsightsGrpc.class) { + if ((getListViewsMethod = ContactCenterInsightsGrpc.getListViewsMethod) == null) { + ContactCenterInsightsGrpc.getListViewsMethod = getListViewsMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListViews")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.contactcenterinsights.v1.ListViewsRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.contactcenterinsights.v1.ListViewsResponse.getDefaultInstance())) + .setSchemaDescriptor(new ContactCenterInsightsMethodDescriptorSupplier("ListViews")) + .build(); + } + } + } + return getListViewsMethod; + } + + private static volatile io.grpc.MethodDescriptor getUpdateViewMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "UpdateView", + requestType = com.google.cloud.contactcenterinsights.v1.UpdateViewRequest.class, + responseType = com.google.cloud.contactcenterinsights.v1.View.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getUpdateViewMethod() { + io.grpc.MethodDescriptor getUpdateViewMethod; + if ((getUpdateViewMethod = ContactCenterInsightsGrpc.getUpdateViewMethod) == null) { + synchronized (ContactCenterInsightsGrpc.class) { + if ((getUpdateViewMethod = ContactCenterInsightsGrpc.getUpdateViewMethod) == null) { + ContactCenterInsightsGrpc.getUpdateViewMethod = getUpdateViewMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "UpdateView")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.contactcenterinsights.v1.UpdateViewRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.contactcenterinsights.v1.View.getDefaultInstance())) + .setSchemaDescriptor(new ContactCenterInsightsMethodDescriptorSupplier("UpdateView")) + .build(); + } + } + } + return getUpdateViewMethod; + } + + private static volatile io.grpc.MethodDescriptor getDeleteViewMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "DeleteView", + requestType = com.google.cloud.contactcenterinsights.v1.DeleteViewRequest.class, + responseType = com.google.protobuf.Empty.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getDeleteViewMethod() { + io.grpc.MethodDescriptor getDeleteViewMethod; + if ((getDeleteViewMethod = ContactCenterInsightsGrpc.getDeleteViewMethod) == null) { + synchronized (ContactCenterInsightsGrpc.class) { + if ((getDeleteViewMethod = ContactCenterInsightsGrpc.getDeleteViewMethod) == null) { + ContactCenterInsightsGrpc.getDeleteViewMethod = getDeleteViewMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "DeleteView")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.contactcenterinsights.v1.DeleteViewRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.protobuf.Empty.getDefaultInstance())) + .setSchemaDescriptor(new ContactCenterInsightsMethodDescriptorSupplier("DeleteView")) + .build(); + } + } + } + return getDeleteViewMethod; + } + + /** + * Creates a new async stub that supports all call types for the service + */ + public static ContactCenterInsightsStub newStub(io.grpc.Channel channel) { + io.grpc.stub.AbstractStub.StubFactory factory = + new io.grpc.stub.AbstractStub.StubFactory() { + @java.lang.Override + public ContactCenterInsightsStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new ContactCenterInsightsStub(channel, callOptions); + } + }; + return ContactCenterInsightsStub.newStub(factory, channel); + } + + /** + * Creates a new blocking-style stub that supports unary and streaming output calls on the service + */ + public static ContactCenterInsightsBlockingStub newBlockingStub( + io.grpc.Channel channel) { + io.grpc.stub.AbstractStub.StubFactory factory = + new io.grpc.stub.AbstractStub.StubFactory() { + @java.lang.Override + public ContactCenterInsightsBlockingStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new ContactCenterInsightsBlockingStub(channel, callOptions); + } + }; + return ContactCenterInsightsBlockingStub.newStub(factory, channel); + } + + /** + * Creates a new ListenableFuture-style stub that supports unary calls on the service + */ + public static ContactCenterInsightsFutureStub newFutureStub( + io.grpc.Channel channel) { + io.grpc.stub.AbstractStub.StubFactory factory = + new io.grpc.stub.AbstractStub.StubFactory() { + @java.lang.Override + public ContactCenterInsightsFutureStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new ContactCenterInsightsFutureStub(channel, callOptions); + } + }; + return ContactCenterInsightsFutureStub.newStub(factory, channel); + } + + /** + *
+   * An API that lets users analyze and explore their business conversation data.
+   * 
+ */ + public static abstract class ContactCenterInsightsImplBase implements io.grpc.BindableService { + + /** + *
+     * Creates a conversation.
+     * 
+ */ + public void createConversation(com.google.cloud.contactcenterinsights.v1.CreateConversationRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getCreateConversationMethod(), responseObserver); + } + + /** + *
+     * Updates a conversation.
+     * 
+ */ + public void updateConversation(com.google.cloud.contactcenterinsights.v1.UpdateConversationRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getUpdateConversationMethod(), responseObserver); + } + + /** + *
+     * Gets a conversation.
+     * 
+ */ + public void getConversation(com.google.cloud.contactcenterinsights.v1.GetConversationRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetConversationMethod(), responseObserver); + } + + /** + *
+     * Lists conversations.
+     * 
+ */ + public void listConversations(com.google.cloud.contactcenterinsights.v1.ListConversationsRequest request, + io.grpc.stub.StreamObserver 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 responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getDeleteConversationMethod(), responseObserver); + } + + /** + *
+     * 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 responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getCreateAnalysisMethod(), responseObserver); + } + + /** + *
+     * Gets an analysis.
+     * 
+ */ + public void getAnalysis(com.google.cloud.contactcenterinsights.v1.GetAnalysisRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetAnalysisMethod(), responseObserver); + } + + /** + *
+     * Lists analyses.
+     * 
+ */ + public void listAnalyses(com.google.cloud.contactcenterinsights.v1.ListAnalysesRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getListAnalysesMethod(), responseObserver); + } + + /** + *
+     * Deletes an analysis.
+     * 
+ */ + public void deleteAnalysis(com.google.cloud.contactcenterinsights.v1.DeleteAnalysisRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getDeleteAnalysisMethod(), responseObserver); + } + + /** + *
+     * Analyzes multiple conversations in a single request.
+     * 
+ */ + public void bulkAnalyzeConversations(com.google.cloud.contactcenterinsights.v1.BulkAnalyzeConversationsRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getBulkAnalyzeConversationsMethod(), responseObserver); + } + + /** + *
+     * Imports conversations and processes them according to the user's
+     * configuration.
+     * 
+ */ + public void ingestConversations(com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getIngestConversationsMethod(), responseObserver); + } + + /** + *
+     * 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 responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getExportInsightsDataMethod(), responseObserver); + } + + /** + *
+     * Creates an issue model.
+     * 
+ */ + public void createIssueModel(com.google.cloud.contactcenterinsights.v1.CreateIssueModelRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getCreateIssueModelMethod(), responseObserver); + } + + /** + *
+     * Updates an issue model.
+     * 
+ */ + public void updateIssueModel(com.google.cloud.contactcenterinsights.v1.UpdateIssueModelRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getUpdateIssueModelMethod(), responseObserver); + } + + /** + *
+     * Gets an issue model.
+     * 
+ */ + public void getIssueModel(com.google.cloud.contactcenterinsights.v1.GetIssueModelRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetIssueModelMethod(), responseObserver); + } + + /** + *
+     * Lists issue models.
+     * 
+ */ + public void listIssueModels(com.google.cloud.contactcenterinsights.v1.ListIssueModelsRequest request, + io.grpc.stub.StreamObserver 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 responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getDeleteIssueModelMethod(), responseObserver); + } + + /** + *
+     * 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 responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getDeployIssueModelMethod(), responseObserver); + } + + /** + *
+     * 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 responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getUndeployIssueModelMethod(), responseObserver); + } + + /** + *
+     * Gets an issue.
+     * 
+ */ + public void getIssue(com.google.cloud.contactcenterinsights.v1.GetIssueRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetIssueMethod(), responseObserver); + } + + /** + *
+     * Lists issues.
+     * 
+ */ + public void listIssues(com.google.cloud.contactcenterinsights.v1.ListIssuesRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getListIssuesMethod(), responseObserver); + } + + /** + *
+     * Updates an issue.
+     * 
+ */ + public void updateIssue(com.google.cloud.contactcenterinsights.v1.UpdateIssueRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getUpdateIssueMethod(), responseObserver); + } + + /** + *
+     * Deletes an issue.
+     * 
+ */ + public void deleteIssue(com.google.cloud.contactcenterinsights.v1.DeleteIssueRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getDeleteIssueMethod(), responseObserver); + } + + /** + *
+     * Gets an issue model's statistics.
+     * 
+ */ + public void calculateIssueModelStats(com.google.cloud.contactcenterinsights.v1.CalculateIssueModelStatsRequest request, + io.grpc.stub.StreamObserver 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 responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getCreatePhraseMatcherMethod(), responseObserver); + } + + /** + *
+     * Gets a phrase matcher.
+     * 
+ */ + public void getPhraseMatcher(com.google.cloud.contactcenterinsights.v1.GetPhraseMatcherRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetPhraseMatcherMethod(), responseObserver); + } + + /** + *
+     * Lists phrase matchers.
+     * 
+ */ + public void listPhraseMatchers(com.google.cloud.contactcenterinsights.v1.ListPhraseMatchersRequest request, + io.grpc.stub.StreamObserver 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 responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getDeletePhraseMatcherMethod(), responseObserver); + } + + /** + *
+     * Updates a phrase matcher.
+     * 
+ */ + public void updatePhraseMatcher(com.google.cloud.contactcenterinsights.v1.UpdatePhraseMatcherRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getUpdatePhraseMatcherMethod(), responseObserver); + } + + /** + *
+     * Gets conversation statistics.
+     * 
+ */ + public void calculateStats(com.google.cloud.contactcenterinsights.v1.CalculateStatsRequest request, + io.grpc.stub.StreamObserver 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 responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetSettingsMethod(), responseObserver); + } + + /** + *
+     * Updates project-level settings.
+     * 
+ */ + public void updateSettings(com.google.cloud.contactcenterinsights.v1.UpdateSettingsRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getUpdateSettingsMethod(), responseObserver); + } + + /** + *
+     * Creates a view.
+     * 
+ */ + public void createView(com.google.cloud.contactcenterinsights.v1.CreateViewRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getCreateViewMethod(), responseObserver); + } + + /** + *
+     * Gets a view.
+     * 
+ */ + public void getView(com.google.cloud.contactcenterinsights.v1.GetViewRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetViewMethod(), responseObserver); + } + + /** + *
+     * Lists views.
+     * 
+ */ + public void listViews(com.google.cloud.contactcenterinsights.v1.ListViewsRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getListViewsMethod(), responseObserver); + } + + /** + *
+     * Updates a view.
+     * 
+ */ + public void updateView(com.google.cloud.contactcenterinsights.v1.UpdateViewRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getUpdateViewMethod(), responseObserver); + } + + /** + *
+     * Deletes a view.
+     * 
+ */ + public void deleteView(com.google.cloud.contactcenterinsights.v1.DeleteViewRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getDeleteViewMethod(), responseObserver); + } + + @java.lang.Override public final io.grpc.ServerServiceDefinition bindService() { + return io.grpc.ServerServiceDefinition.builder(getServiceDescriptor()) + .addMethod( + getCreateConversationMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.contactcenterinsights.v1.CreateConversationRequest, + com.google.cloud.contactcenterinsights.v1.Conversation>( + this, METHODID_CREATE_CONVERSATION))) + .addMethod( + getUpdateConversationMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.contactcenterinsights.v1.UpdateConversationRequest, + com.google.cloud.contactcenterinsights.v1.Conversation>( + this, METHODID_UPDATE_CONVERSATION))) + .addMethod( + getGetConversationMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.contactcenterinsights.v1.GetConversationRequest, + com.google.cloud.contactcenterinsights.v1.Conversation>( + this, METHODID_GET_CONVERSATION))) + .addMethod( + getListConversationsMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.contactcenterinsights.v1.ListConversationsRequest, + com.google.cloud.contactcenterinsights.v1.ListConversationsResponse>( + this, METHODID_LIST_CONVERSATIONS))) + .addMethod( + getDeleteConversationMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.contactcenterinsights.v1.DeleteConversationRequest, + com.google.protobuf.Empty>( + this, METHODID_DELETE_CONVERSATION))) + .addMethod( + getCreateAnalysisMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.contactcenterinsights.v1.CreateAnalysisRequest, + com.google.longrunning.Operation>( + this, METHODID_CREATE_ANALYSIS))) + .addMethod( + getGetAnalysisMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.contactcenterinsights.v1.GetAnalysisRequest, + com.google.cloud.contactcenterinsights.v1.Analysis>( + this, METHODID_GET_ANALYSIS))) + .addMethod( + getListAnalysesMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.contactcenterinsights.v1.ListAnalysesRequest, + com.google.cloud.contactcenterinsights.v1.ListAnalysesResponse>( + this, METHODID_LIST_ANALYSES))) + .addMethod( + getDeleteAnalysisMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.contactcenterinsights.v1.DeleteAnalysisRequest, + com.google.protobuf.Empty>( + this, METHODID_DELETE_ANALYSIS))) + .addMethod( + getBulkAnalyzeConversationsMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.contactcenterinsights.v1.BulkAnalyzeConversationsRequest, + com.google.longrunning.Operation>( + this, METHODID_BULK_ANALYZE_CONVERSATIONS))) + .addMethod( + getIngestConversationsMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest, + com.google.longrunning.Operation>( + this, METHODID_INGEST_CONVERSATIONS))) + .addMethod( + getExportInsightsDataMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.contactcenterinsights.v1.ExportInsightsDataRequest, + com.google.longrunning.Operation>( + this, METHODID_EXPORT_INSIGHTS_DATA))) + .addMethod( + getCreateIssueModelMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.contactcenterinsights.v1.CreateIssueModelRequest, + com.google.longrunning.Operation>( + this, METHODID_CREATE_ISSUE_MODEL))) + .addMethod( + getUpdateIssueModelMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.contactcenterinsights.v1.UpdateIssueModelRequest, + com.google.cloud.contactcenterinsights.v1.IssueModel>( + this, METHODID_UPDATE_ISSUE_MODEL))) + .addMethod( + getGetIssueModelMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.contactcenterinsights.v1.GetIssueModelRequest, + com.google.cloud.contactcenterinsights.v1.IssueModel>( + this, METHODID_GET_ISSUE_MODEL))) + .addMethod( + getListIssueModelsMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.contactcenterinsights.v1.ListIssueModelsRequest, + com.google.cloud.contactcenterinsights.v1.ListIssueModelsResponse>( + this, METHODID_LIST_ISSUE_MODELS))) + .addMethod( + getDeleteIssueModelMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.contactcenterinsights.v1.DeleteIssueModelRequest, + com.google.longrunning.Operation>( + this, METHODID_DELETE_ISSUE_MODEL))) + .addMethod( + getDeployIssueModelMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.contactcenterinsights.v1.DeployIssueModelRequest, + com.google.longrunning.Operation>( + this, METHODID_DEPLOY_ISSUE_MODEL))) + .addMethod( + getUndeployIssueModelMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.contactcenterinsights.v1.UndeployIssueModelRequest, + com.google.longrunning.Operation>( + this, METHODID_UNDEPLOY_ISSUE_MODEL))) + .addMethod( + getGetIssueMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.contactcenterinsights.v1.GetIssueRequest, + com.google.cloud.contactcenterinsights.v1.Issue>( + this, METHODID_GET_ISSUE))) + .addMethod( + getListIssuesMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.contactcenterinsights.v1.ListIssuesRequest, + com.google.cloud.contactcenterinsights.v1.ListIssuesResponse>( + this, METHODID_LIST_ISSUES))) + .addMethod( + getUpdateIssueMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.contactcenterinsights.v1.UpdateIssueRequest, + com.google.cloud.contactcenterinsights.v1.Issue>( + this, METHODID_UPDATE_ISSUE))) + .addMethod( + getDeleteIssueMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.contactcenterinsights.v1.DeleteIssueRequest, + com.google.protobuf.Empty>( + this, METHODID_DELETE_ISSUE))) + .addMethod( + getCalculateIssueModelStatsMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.contactcenterinsights.v1.CalculateIssueModelStatsRequest, + com.google.cloud.contactcenterinsights.v1.CalculateIssueModelStatsResponse>( + this, METHODID_CALCULATE_ISSUE_MODEL_STATS))) + .addMethod( + getCreatePhraseMatcherMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.contactcenterinsights.v1.CreatePhraseMatcherRequest, + com.google.cloud.contactcenterinsights.v1.PhraseMatcher>( + this, METHODID_CREATE_PHRASE_MATCHER))) + .addMethod( + getGetPhraseMatcherMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.contactcenterinsights.v1.GetPhraseMatcherRequest, + com.google.cloud.contactcenterinsights.v1.PhraseMatcher>( + this, METHODID_GET_PHRASE_MATCHER))) + .addMethod( + getListPhraseMatchersMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.contactcenterinsights.v1.ListPhraseMatchersRequest, + com.google.cloud.contactcenterinsights.v1.ListPhraseMatchersResponse>( + this, METHODID_LIST_PHRASE_MATCHERS))) + .addMethod( + getDeletePhraseMatcherMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.contactcenterinsights.v1.DeletePhraseMatcherRequest, + com.google.protobuf.Empty>( + this, METHODID_DELETE_PHRASE_MATCHER))) + .addMethod( + getUpdatePhraseMatcherMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.contactcenterinsights.v1.UpdatePhraseMatcherRequest, + com.google.cloud.contactcenterinsights.v1.PhraseMatcher>( + this, METHODID_UPDATE_PHRASE_MATCHER))) + .addMethod( + getCalculateStatsMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.contactcenterinsights.v1.CalculateStatsRequest, + com.google.cloud.contactcenterinsights.v1.CalculateStatsResponse>( + this, METHODID_CALCULATE_STATS))) + .addMethod( + getGetSettingsMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.contactcenterinsights.v1.GetSettingsRequest, + com.google.cloud.contactcenterinsights.v1.Settings>( + this, METHODID_GET_SETTINGS))) + .addMethod( + getUpdateSettingsMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.contactcenterinsights.v1.UpdateSettingsRequest, + com.google.cloud.contactcenterinsights.v1.Settings>( + this, METHODID_UPDATE_SETTINGS))) + .addMethod( + getCreateViewMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.contactcenterinsights.v1.CreateViewRequest, + com.google.cloud.contactcenterinsights.v1.View>( + this, METHODID_CREATE_VIEW))) + .addMethod( + getGetViewMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.contactcenterinsights.v1.GetViewRequest, + com.google.cloud.contactcenterinsights.v1.View>( + this, METHODID_GET_VIEW))) + .addMethod( + getListViewsMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.contactcenterinsights.v1.ListViewsRequest, + com.google.cloud.contactcenterinsights.v1.ListViewsResponse>( + this, METHODID_LIST_VIEWS))) + .addMethod( + getUpdateViewMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.contactcenterinsights.v1.UpdateViewRequest, + com.google.cloud.contactcenterinsights.v1.View>( + this, METHODID_UPDATE_VIEW))) + .addMethod( + getDeleteViewMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.contactcenterinsights.v1.DeleteViewRequest, + com.google.protobuf.Empty>( + this, METHODID_DELETE_VIEW))) + .build(); + } + } + + /** + *
+   * An API that lets users analyze and explore their business conversation data.
+   * 
+ */ + public static final class ContactCenterInsightsStub extends io.grpc.stub.AbstractAsyncStub { + private ContactCenterInsightsStub( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + super(channel, callOptions); + } + + @java.lang.Override + protected ContactCenterInsightsStub build( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new ContactCenterInsightsStub(channel, callOptions); + } + + /** + *
+     * Creates a conversation.
+     * 
+ */ + public void createConversation(com.google.cloud.contactcenterinsights.v1.CreateConversationRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getCreateConversationMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Updates a conversation.
+     * 
+ */ + public void updateConversation(com.google.cloud.contactcenterinsights.v1.UpdateConversationRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getUpdateConversationMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Gets a conversation.
+     * 
+ */ + public void getConversation(com.google.cloud.contactcenterinsights.v1.GetConversationRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getGetConversationMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Lists conversations.
+     * 
+ */ + public void listConversations(com.google.cloud.contactcenterinsights.v1.ListConversationsRequest request, + io.grpc.stub.StreamObserver 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 responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getDeleteConversationMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * 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 responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getCreateAnalysisMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Gets an analysis.
+     * 
+ */ + public void getAnalysis(com.google.cloud.contactcenterinsights.v1.GetAnalysisRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getGetAnalysisMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Lists analyses.
+     * 
+ */ + public void listAnalyses(com.google.cloud.contactcenterinsights.v1.ListAnalysesRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getListAnalysesMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Deletes an analysis.
+     * 
+ */ + public void deleteAnalysis(com.google.cloud.contactcenterinsights.v1.DeleteAnalysisRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getDeleteAnalysisMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Analyzes multiple conversations in a single request.
+     * 
+ */ + public void bulkAnalyzeConversations(com.google.cloud.contactcenterinsights.v1.BulkAnalyzeConversationsRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getBulkAnalyzeConversationsMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Imports conversations and processes them according to the user's
+     * configuration.
+     * 
+ */ + public void ingestConversations(com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getIngestConversationsMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * 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 responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getExportInsightsDataMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Creates an issue model.
+     * 
+ */ + public void createIssueModel(com.google.cloud.contactcenterinsights.v1.CreateIssueModelRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getCreateIssueModelMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Updates an issue model.
+     * 
+ */ + public void updateIssueModel(com.google.cloud.contactcenterinsights.v1.UpdateIssueModelRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getUpdateIssueModelMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Gets an issue model.
+     * 
+ */ + public void getIssueModel(com.google.cloud.contactcenterinsights.v1.GetIssueModelRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getGetIssueModelMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Lists issue models.
+     * 
+ */ + public void listIssueModels(com.google.cloud.contactcenterinsights.v1.ListIssueModelsRequest request, + io.grpc.stub.StreamObserver 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 responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getDeleteIssueModelMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * 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 responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getDeployIssueModelMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * 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 responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getUndeployIssueModelMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Gets an issue.
+     * 
+ */ + public void getIssue(com.google.cloud.contactcenterinsights.v1.GetIssueRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getGetIssueMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Lists issues.
+     * 
+ */ + public void listIssues(com.google.cloud.contactcenterinsights.v1.ListIssuesRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getListIssuesMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Updates an issue.
+     * 
+ */ + public void updateIssue(com.google.cloud.contactcenterinsights.v1.UpdateIssueRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getUpdateIssueMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Deletes an issue.
+     * 
+ */ + public void deleteIssue(com.google.cloud.contactcenterinsights.v1.DeleteIssueRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getDeleteIssueMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Gets an issue model's statistics.
+     * 
+ */ + public void calculateIssueModelStats(com.google.cloud.contactcenterinsights.v1.CalculateIssueModelStatsRequest request, + io.grpc.stub.StreamObserver 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 responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getCreatePhraseMatcherMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Gets a phrase matcher.
+     * 
+ */ + public void getPhraseMatcher(com.google.cloud.contactcenterinsights.v1.GetPhraseMatcherRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getGetPhraseMatcherMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Lists phrase matchers.
+     * 
+ */ + public void listPhraseMatchers(com.google.cloud.contactcenterinsights.v1.ListPhraseMatchersRequest request, + io.grpc.stub.StreamObserver 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 responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getDeletePhraseMatcherMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Updates a phrase matcher.
+     * 
+ */ + public void updatePhraseMatcher(com.google.cloud.contactcenterinsights.v1.UpdatePhraseMatcherRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getUpdatePhraseMatcherMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Gets conversation statistics.
+     * 
+ */ + public void calculateStats(com.google.cloud.contactcenterinsights.v1.CalculateStatsRequest request, + io.grpc.stub.StreamObserver 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 responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getGetSettingsMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Updates project-level settings.
+     * 
+ */ + public void updateSettings(com.google.cloud.contactcenterinsights.v1.UpdateSettingsRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getUpdateSettingsMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Creates a view.
+     * 
+ */ + public void createView(com.google.cloud.contactcenterinsights.v1.CreateViewRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getCreateViewMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Gets a view.
+     * 
+ */ + public void getView(com.google.cloud.contactcenterinsights.v1.GetViewRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getGetViewMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Lists views.
+     * 
+ */ + public void listViews(com.google.cloud.contactcenterinsights.v1.ListViewsRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getListViewsMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Updates a view.
+     * 
+ */ + public void updateView(com.google.cloud.contactcenterinsights.v1.UpdateViewRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getUpdateViewMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Deletes a view.
+     * 
+ */ + public void deleteView(com.google.cloud.contactcenterinsights.v1.DeleteViewRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getDeleteViewMethod(), getCallOptions()), request, responseObserver); + } + } + + /** + *
+   * An API that lets users analyze and explore their business conversation data.
+   * 
+ */ + public static final class ContactCenterInsightsBlockingStub extends io.grpc.stub.AbstractBlockingStub { + private ContactCenterInsightsBlockingStub( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + super(channel, callOptions); + } + + @java.lang.Override + protected ContactCenterInsightsBlockingStub build( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new ContactCenterInsightsBlockingStub(channel, callOptions); + } + + /** + *
+     * 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); + } + + /** + *
+     * Analyzes multiple conversations in a single request.
+     * 
+ */ + public com.google.longrunning.Operation bulkAnalyzeConversations(com.google.cloud.contactcenterinsights.v1.BulkAnalyzeConversationsRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getBulkAnalyzeConversationsMethod(), getCallOptions(), request); + } + + /** + *
+     * Imports conversations and processes them according to the user's
+     * configuration.
+     * 
+ */ + public com.google.longrunning.Operation ingestConversations(com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getIngestConversationsMethod(), 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); + } + + /** + *
+     * Deletes an issue.
+     * 
+ */ + public com.google.protobuf.Empty deleteIssue(com.google.cloud.contactcenterinsights.v1.DeleteIssueRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getDeleteIssueMethod(), 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 { + private ContactCenterInsightsFutureStub( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + super(channel, callOptions); + } + + @java.lang.Override + protected ContactCenterInsightsFutureStub build( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new ContactCenterInsightsFutureStub(channel, callOptions); + } + + /** + *
+     * Creates a conversation.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture 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 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 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 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 deleteConversation( + com.google.cloud.contactcenterinsights.v1.DeleteConversationRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getDeleteConversationMethod(), getCallOptions()), request); + } + + /** + *
+     * Creates an analysis. The long running operation is done when the analysis
+     * has completed.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture createAnalysis( + com.google.cloud.contactcenterinsights.v1.CreateAnalysisRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getCreateAnalysisMethod(), getCallOptions()), request); + } + + /** + *
+     * Gets an analysis.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture 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 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 deleteAnalysis( + com.google.cloud.contactcenterinsights.v1.DeleteAnalysisRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getDeleteAnalysisMethod(), getCallOptions()), request); + } + + /** + *
+     * Analyzes multiple conversations in a single request.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture bulkAnalyzeConversations( + com.google.cloud.contactcenterinsights.v1.BulkAnalyzeConversationsRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getBulkAnalyzeConversationsMethod(), getCallOptions()), request); + } + + /** + *
+     * Imports conversations and processes them according to the user's
+     * configuration.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture ingestConversations( + com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getIngestConversationsMethod(), getCallOptions()), request); + } + + /** + *
+     * Export insights data to a destination defined in the request body.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture exportInsightsData( + com.google.cloud.contactcenterinsights.v1.ExportInsightsDataRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getExportInsightsDataMethod(), getCallOptions()), request); + } + + /** + *
+     * Creates an issue model.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture createIssueModel( + com.google.cloud.contactcenterinsights.v1.CreateIssueModelRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getCreateIssueModelMethod(), getCallOptions()), request); + } + + /** + *
+     * Updates an issue model.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture 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 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 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 deleteIssueModel( + com.google.cloud.contactcenterinsights.v1.DeleteIssueModelRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(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.common.util.concurrent.ListenableFuture deployIssueModel( + com.google.cloud.contactcenterinsights.v1.DeployIssueModelRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getDeployIssueModelMethod(), getCallOptions()), request); + } + + /** + *
+     * 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 undeployIssueModel( + com.google.cloud.contactcenterinsights.v1.UndeployIssueModelRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getUndeployIssueModelMethod(), getCallOptions()), request); + } + + /** + *
+     * Gets an issue.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture 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 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 updateIssue( + com.google.cloud.contactcenterinsights.v1.UpdateIssueRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getUpdateIssueMethod(), getCallOptions()), request); + } + + /** + *
+     * Deletes an issue.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture deleteIssue( + com.google.cloud.contactcenterinsights.v1.DeleteIssueRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getDeleteIssueMethod(), getCallOptions()), request); + } + + /** + *
+     * Gets an issue model's statistics.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture 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 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 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 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 deletePhraseMatcher( + com.google.cloud.contactcenterinsights.v1.DeletePhraseMatcherRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getDeletePhraseMatcherMethod(), getCallOptions()), request); + } + + /** + *
+     * Updates a phrase matcher.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture 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 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 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 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 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 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 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 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 deleteView( + com.google.cloud.contactcenterinsights.v1.DeleteViewRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getDeleteViewMethod(), getCallOptions()), request); + } + } + + private static final int METHODID_CREATE_CONVERSATION = 0; + private static final int METHODID_UPDATE_CONVERSATION = 1; + private static final int METHODID_GET_CONVERSATION = 2; + private static final int METHODID_LIST_CONVERSATIONS = 3; + private static final int METHODID_DELETE_CONVERSATION = 4; + private static final int METHODID_CREATE_ANALYSIS = 5; + private static final int METHODID_GET_ANALYSIS = 6; + private static final int METHODID_LIST_ANALYSES = 7; + private static final int METHODID_DELETE_ANALYSIS = 8; + private static final int METHODID_BULK_ANALYZE_CONVERSATIONS = 9; + private static final int METHODID_INGEST_CONVERSATIONS = 10; + private static final int METHODID_EXPORT_INSIGHTS_DATA = 11; + private static final int METHODID_CREATE_ISSUE_MODEL = 12; + private static final int METHODID_UPDATE_ISSUE_MODEL = 13; + private static final int METHODID_GET_ISSUE_MODEL = 14; + private static final int METHODID_LIST_ISSUE_MODELS = 15; + private static final int METHODID_DELETE_ISSUE_MODEL = 16; + private static final int METHODID_DEPLOY_ISSUE_MODEL = 17; + private static final int METHODID_UNDEPLOY_ISSUE_MODEL = 18; + private static final int METHODID_GET_ISSUE = 19; + private static final int METHODID_LIST_ISSUES = 20; + private static final int METHODID_UPDATE_ISSUE = 21; + private static final int METHODID_DELETE_ISSUE = 22; + private static final int METHODID_CALCULATE_ISSUE_MODEL_STATS = 23; + private static final int METHODID_CREATE_PHRASE_MATCHER = 24; + private static final int METHODID_GET_PHRASE_MATCHER = 25; + private static final int METHODID_LIST_PHRASE_MATCHERS = 26; + private static final int METHODID_DELETE_PHRASE_MATCHER = 27; + private static final int METHODID_UPDATE_PHRASE_MATCHER = 28; + private static final int METHODID_CALCULATE_STATS = 29; + private static final int METHODID_GET_SETTINGS = 30; + private static final int METHODID_UPDATE_SETTINGS = 31; + private static final int METHODID_CREATE_VIEW = 32; + private static final int METHODID_GET_VIEW = 33; + private static final int METHODID_LIST_VIEWS = 34; + private static final int METHODID_UPDATE_VIEW = 35; + private static final int METHODID_DELETE_VIEW = 36; + + private static final class MethodHandlers implements + io.grpc.stub.ServerCalls.UnaryMethod, + io.grpc.stub.ServerCalls.ServerStreamingMethod, + io.grpc.stub.ServerCalls.ClientStreamingMethod, + io.grpc.stub.ServerCalls.BidiStreamingMethod { + private final ContactCenterInsightsImplBase serviceImpl; + private final int methodId; + + MethodHandlers(ContactCenterInsightsImplBase serviceImpl, int methodId) { + this.serviceImpl = serviceImpl; + this.methodId = methodId; + } + + @java.lang.Override + @java.lang.SuppressWarnings("unchecked") + public void invoke(Req request, io.grpc.stub.StreamObserver responseObserver) { + switch (methodId) { + case METHODID_CREATE_CONVERSATION: + serviceImpl.createConversation((com.google.cloud.contactcenterinsights.v1.CreateConversationRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_UPDATE_CONVERSATION: + serviceImpl.updateConversation((com.google.cloud.contactcenterinsights.v1.UpdateConversationRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_GET_CONVERSATION: + serviceImpl.getConversation((com.google.cloud.contactcenterinsights.v1.GetConversationRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_LIST_CONVERSATIONS: + serviceImpl.listConversations((com.google.cloud.contactcenterinsights.v1.ListConversationsRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_DELETE_CONVERSATION: + serviceImpl.deleteConversation((com.google.cloud.contactcenterinsights.v1.DeleteConversationRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_CREATE_ANALYSIS: + serviceImpl.createAnalysis((com.google.cloud.contactcenterinsights.v1.CreateAnalysisRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_GET_ANALYSIS: + serviceImpl.getAnalysis((com.google.cloud.contactcenterinsights.v1.GetAnalysisRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_LIST_ANALYSES: + serviceImpl.listAnalyses((com.google.cloud.contactcenterinsights.v1.ListAnalysesRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_DELETE_ANALYSIS: + serviceImpl.deleteAnalysis((com.google.cloud.contactcenterinsights.v1.DeleteAnalysisRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_BULK_ANALYZE_CONVERSATIONS: + serviceImpl.bulkAnalyzeConversations((com.google.cloud.contactcenterinsights.v1.BulkAnalyzeConversationsRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_INGEST_CONVERSATIONS: + serviceImpl.ingestConversations((com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_EXPORT_INSIGHTS_DATA: + serviceImpl.exportInsightsData((com.google.cloud.contactcenterinsights.v1.ExportInsightsDataRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_CREATE_ISSUE_MODEL: + serviceImpl.createIssueModel((com.google.cloud.contactcenterinsights.v1.CreateIssueModelRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_UPDATE_ISSUE_MODEL: + serviceImpl.updateIssueModel((com.google.cloud.contactcenterinsights.v1.UpdateIssueModelRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_GET_ISSUE_MODEL: + serviceImpl.getIssueModel((com.google.cloud.contactcenterinsights.v1.GetIssueModelRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_LIST_ISSUE_MODELS: + serviceImpl.listIssueModels((com.google.cloud.contactcenterinsights.v1.ListIssueModelsRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_DELETE_ISSUE_MODEL: + serviceImpl.deleteIssueModel((com.google.cloud.contactcenterinsights.v1.DeleteIssueModelRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_DEPLOY_ISSUE_MODEL: + serviceImpl.deployIssueModel((com.google.cloud.contactcenterinsights.v1.DeployIssueModelRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_UNDEPLOY_ISSUE_MODEL: + serviceImpl.undeployIssueModel((com.google.cloud.contactcenterinsights.v1.UndeployIssueModelRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_GET_ISSUE: + serviceImpl.getIssue((com.google.cloud.contactcenterinsights.v1.GetIssueRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_LIST_ISSUES: + serviceImpl.listIssues((com.google.cloud.contactcenterinsights.v1.ListIssuesRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_UPDATE_ISSUE: + serviceImpl.updateIssue((com.google.cloud.contactcenterinsights.v1.UpdateIssueRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_DELETE_ISSUE: + serviceImpl.deleteIssue((com.google.cloud.contactcenterinsights.v1.DeleteIssueRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_CALCULATE_ISSUE_MODEL_STATS: + serviceImpl.calculateIssueModelStats((com.google.cloud.contactcenterinsights.v1.CalculateIssueModelStatsRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_CREATE_PHRASE_MATCHER: + serviceImpl.createPhraseMatcher((com.google.cloud.contactcenterinsights.v1.CreatePhraseMatcherRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_GET_PHRASE_MATCHER: + serviceImpl.getPhraseMatcher((com.google.cloud.contactcenterinsights.v1.GetPhraseMatcherRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_LIST_PHRASE_MATCHERS: + serviceImpl.listPhraseMatchers((com.google.cloud.contactcenterinsights.v1.ListPhraseMatchersRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_DELETE_PHRASE_MATCHER: + serviceImpl.deletePhraseMatcher((com.google.cloud.contactcenterinsights.v1.DeletePhraseMatcherRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_UPDATE_PHRASE_MATCHER: + serviceImpl.updatePhraseMatcher((com.google.cloud.contactcenterinsights.v1.UpdatePhraseMatcherRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_CALCULATE_STATS: + serviceImpl.calculateStats((com.google.cloud.contactcenterinsights.v1.CalculateStatsRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_GET_SETTINGS: + serviceImpl.getSettings((com.google.cloud.contactcenterinsights.v1.GetSettingsRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_UPDATE_SETTINGS: + serviceImpl.updateSettings((com.google.cloud.contactcenterinsights.v1.UpdateSettingsRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_CREATE_VIEW: + serviceImpl.createView((com.google.cloud.contactcenterinsights.v1.CreateViewRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_GET_VIEW: + serviceImpl.getView((com.google.cloud.contactcenterinsights.v1.GetViewRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_LIST_VIEWS: + serviceImpl.listViews((com.google.cloud.contactcenterinsights.v1.ListViewsRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_UPDATE_VIEW: + serviceImpl.updateView((com.google.cloud.contactcenterinsights.v1.UpdateViewRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_DELETE_VIEW: + serviceImpl.deleteView((com.google.cloud.contactcenterinsights.v1.DeleteViewRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + default: + throw new AssertionError(); + } + } + + @java.lang.Override + @java.lang.SuppressWarnings("unchecked") + public io.grpc.stub.StreamObserver invoke( + io.grpc.stub.StreamObserver responseObserver) { + switch (methodId) { + default: + throw new AssertionError(); + } + } + } + + private static abstract class ContactCenterInsightsBaseDescriptorSupplier + implements io.grpc.protobuf.ProtoFileDescriptorSupplier, io.grpc.protobuf.ProtoServiceDescriptorSupplier { + ContactCenterInsightsBaseDescriptorSupplier() {} + + @java.lang.Override + public com.google.protobuf.Descriptors.FileDescriptor getFileDescriptor() { + return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto.getDescriptor(); + } + + @java.lang.Override + public com.google.protobuf.Descriptors.ServiceDescriptor getServiceDescriptor() { + return getFileDescriptor().findServiceByName("ContactCenterInsights"); + } + } + + private static final class ContactCenterInsightsFileDescriptorSupplier + extends ContactCenterInsightsBaseDescriptorSupplier { + ContactCenterInsightsFileDescriptorSupplier() {} + } + + private static final class ContactCenterInsightsMethodDescriptorSupplier + extends ContactCenterInsightsBaseDescriptorSupplier + implements io.grpc.protobuf.ProtoMethodDescriptorSupplier { + private final String methodName; + + ContactCenterInsightsMethodDescriptorSupplier(String methodName) { + this.methodName = methodName; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.MethodDescriptor getMethodDescriptor() { + return getServiceDescriptor().findMethodByName(methodName); + } + } + + private static volatile io.grpc.ServiceDescriptor serviceDescriptor; + + public static io.grpc.ServiceDescriptor getServiceDescriptor() { + io.grpc.ServiceDescriptor result = serviceDescriptor; + if (result == null) { + synchronized (ContactCenterInsightsGrpc.class) { + result = serviceDescriptor; + if (result == null) { + serviceDescriptor = result = io.grpc.ServiceDescriptor.newBuilder(SERVICE_NAME) + .setSchemaDescriptor(new ContactCenterInsightsFileDescriptorSupplier()) + .addMethod(getCreateConversationMethod()) + .addMethod(getUpdateConversationMethod()) + .addMethod(getGetConversationMethod()) + .addMethod(getListConversationsMethod()) + .addMethod(getDeleteConversationMethod()) + .addMethod(getCreateAnalysisMethod()) + .addMethod(getGetAnalysisMethod()) + .addMethod(getListAnalysesMethod()) + .addMethod(getDeleteAnalysisMethod()) + .addMethod(getBulkAnalyzeConversationsMethod()) + .addMethod(getIngestConversationsMethod()) + .addMethod(getExportInsightsDataMethod()) + .addMethod(getCreateIssueModelMethod()) + .addMethod(getUpdateIssueModelMethod()) + .addMethod(getGetIssueModelMethod()) + .addMethod(getListIssueModelsMethod()) + .addMethod(getDeleteIssueModelMethod()) + .addMethod(getDeployIssueModelMethod()) + .addMethod(getUndeployIssueModelMethod()) + .addMethod(getGetIssueMethod()) + .addMethod(getListIssuesMethod()) + .addMethod(getUpdateIssueMethod()) + .addMethod(getDeleteIssueMethod()) + .addMethod(getCalculateIssueModelStatsMethod()) + .addMethod(getCreatePhraseMatcherMethod()) + .addMethod(getGetPhraseMatcherMethod()) + .addMethod(getListPhraseMatchersMethod()) + .addMethod(getDeletePhraseMatcherMethod()) + .addMethod(getUpdatePhraseMatcherMethod()) + .addMethod(getCalculateStatsMethod()) + .addMethod(getGetSettingsMethod()) + .addMethod(getUpdateSettingsMethod()) + .addMethod(getCreateViewMethod()) + .addMethod(getGetViewMethod()) + .addMethod(getListViewsMethod()) + .addMethod(getUpdateViewMethod()) + .addMethod(getDeleteViewMethod()) + .build(); + } + } + } + return result; + } +} diff --git a/java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/Analysis.java b/owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/Analysis.java similarity index 63% rename from java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/Analysis.java rename to owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/Analysis.java index 9263ae910cd0..9ed4a4585417 100644 --- a/java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/Analysis.java +++ b/owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/Analysis.java @@ -1,79 +1,57 @@ -/* - * 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. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/contactcenterinsights/v1/resources.proto package com.google.cloud.contactcenterinsights.v1; /** - * - * *
  * The analysis resource.
  * 
* * Protobuf type {@code google.cloud.contactcenterinsights.v1.Analysis} */ -public final class Analysis extends com.google.protobuf.GeneratedMessageV3 - implements +public final class Analysis extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.contactcenterinsights.v1.Analysis) AnalysisOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use Analysis.newBuilder() to construct. private Analysis(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private Analysis() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new Analysis(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.contactcenterinsights.v1.ResourcesProto - .internal_static_google_cloud_contactcenterinsights_v1_Analysis_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.contactcenterinsights.v1.ResourcesProto.internal_static_google_cloud_contactcenterinsights_v1_Analysis_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.contactcenterinsights.v1.ResourcesProto - .internal_static_google_cloud_contactcenterinsights_v1_Analysis_fieldAccessorTable + return com.google.cloud.contactcenterinsights.v1.ResourcesProto.internal_static_google_cloud_contactcenterinsights_v1_Analysis_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.contactcenterinsights.v1.Analysis.class, - com.google.cloud.contactcenterinsights.v1.Analysis.Builder.class); + com.google.cloud.contactcenterinsights.v1.Analysis.class, com.google.cloud.contactcenterinsights.v1.Analysis.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; - @SuppressWarnings("serial") private volatile java.lang.Object name_ = ""; /** - * - * *
    * Immutable. The resource name of the analysis.
    * Format:
@@ -81,7 +59,6 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
    * 
* * string name = 1 [(.google.api.field_behavior) = IMMUTABLE]; - * * @return The name. */ @java.lang.Override @@ -90,15 +67,14 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** - * - * *
    * Immutable. The resource name of the analysis.
    * Format:
@@ -106,15 +82,16 @@ public java.lang.String getName() {
    * 
* * string name = 1 [(.google.api.field_behavior) = IMMUTABLE]; - * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -125,15 +102,11 @@ public com.google.protobuf.ByteString getNameBytes() { public static final int REQUEST_TIME_FIELD_NUMBER = 2; private com.google.protobuf.Timestamp requestTime_; /** - * - * *
    * Output only. The time at which the analysis was requested.
    * 
* - * .google.protobuf.Timestamp request_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp request_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the requestTime field is set. */ @java.lang.Override @@ -141,15 +114,11 @@ public boolean hasRequestTime() { return requestTime_ != null; } /** - * - * *
    * Output only. The time at which the analysis was requested.
    * 
* - * .google.protobuf.Timestamp request_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp request_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The requestTime. */ @java.lang.Override @@ -157,14 +126,11 @@ public com.google.protobuf.Timestamp getRequestTime() { return requestTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : requestTime_; } /** - * - * *
    * Output only. The time at which the analysis was requested.
    * 
* - * .google.protobuf.Timestamp request_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp request_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ @java.lang.Override public com.google.protobuf.TimestampOrBuilder getRequestTimeOrBuilder() { @@ -174,16 +140,12 @@ public com.google.protobuf.TimestampOrBuilder getRequestTimeOrBuilder() { public static final int CREATE_TIME_FIELD_NUMBER = 3; private com.google.protobuf.Timestamp createTime_; /** - * - * *
-   * Output only. The time at which the analysis was created, which occurs when the
-   * long-running operation completes.
+   * Output only. The time at which the analysis was created, which occurs when
+   * the long-running operation completes.
    * 
* - * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the createTime field is set. */ @java.lang.Override @@ -191,16 +153,12 @@ public boolean hasCreateTime() { return createTime_ != null; } /** - * - * *
-   * Output only. The time at which the analysis was created, which occurs when the
-   * long-running operation completes.
+   * Output only. The time at which the analysis was created, which occurs when
+   * the long-running operation completes.
    * 
* - * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The createTime. */ @java.lang.Override @@ -208,15 +166,12 @@ public com.google.protobuf.Timestamp getCreateTime() { return createTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : createTime_; } /** - * - * *
-   * Output only. The time at which the analysis was created, which occurs when the
-   * long-running operation completes.
+   * Output only. The time at which the analysis was created, which occurs when
+   * the long-running operation completes.
    * 
* - * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ @java.lang.Override public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { @@ -226,17 +181,12 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { public static final int ANALYSIS_RESULT_FIELD_NUMBER = 7; private com.google.cloud.contactcenterinsights.v1.AnalysisResult analysisResult_; /** - * - * *
-   * Output only. The result of the analysis, which is populated when the analysis
-   * finishes.
+   * Output only. The result of the analysis, which is populated when the
+   * analysis finishes.
    * 
* - * - * .google.cloud.contactcenterinsights.v1.AnalysisResult analysis_result = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.contactcenterinsights.v1.AnalysisResult analysis_result = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the analysisResult field is set. */ @java.lang.Override @@ -244,57 +194,40 @@ public boolean hasAnalysisResult() { return analysisResult_ != null; } /** - * - * *
-   * Output only. The result of the analysis, which is populated when the analysis
-   * finishes.
+   * Output only. The result of the analysis, which is populated when the
+   * analysis finishes.
    * 
* - * - * .google.cloud.contactcenterinsights.v1.AnalysisResult analysis_result = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.contactcenterinsights.v1.AnalysisResult analysis_result = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The analysisResult. */ @java.lang.Override public com.google.cloud.contactcenterinsights.v1.AnalysisResult getAnalysisResult() { - return analysisResult_ == null - ? com.google.cloud.contactcenterinsights.v1.AnalysisResult.getDefaultInstance() - : analysisResult_; + return analysisResult_ == null ? com.google.cloud.contactcenterinsights.v1.AnalysisResult.getDefaultInstance() : analysisResult_; } /** - * - * *
-   * Output only. The result of the analysis, which is populated when the analysis
-   * finishes.
+   * Output only. The result of the analysis, which is populated when the
+   * analysis finishes.
    * 
* - * - * .google.cloud.contactcenterinsights.v1.AnalysisResult analysis_result = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.contactcenterinsights.v1.AnalysisResult analysis_result = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ @java.lang.Override - public com.google.cloud.contactcenterinsights.v1.AnalysisResultOrBuilder - getAnalysisResultOrBuilder() { - return analysisResult_ == null - ? com.google.cloud.contactcenterinsights.v1.AnalysisResult.getDefaultInstance() - : analysisResult_; + public com.google.cloud.contactcenterinsights.v1.AnalysisResultOrBuilder getAnalysisResultOrBuilder() { + return analysisResult_ == null ? com.google.cloud.contactcenterinsights.v1.AnalysisResult.getDefaultInstance() : analysisResult_; } public static final int ANNOTATOR_SELECTOR_FIELD_NUMBER = 8; private com.google.cloud.contactcenterinsights.v1.AnnotatorSelector annotatorSelector_; /** - * - * *
    * To select the annotators to run and the phrase matchers to use
    * (if any). If not specified, all annotators will be run.
    * 
* * .google.cloud.contactcenterinsights.v1.AnnotatorSelector annotator_selector = 8; - * * @return Whether the annotatorSelector field is set. */ @java.lang.Override @@ -302,26 +235,19 @@ public boolean hasAnnotatorSelector() { return annotatorSelector_ != null; } /** - * - * *
    * To select the annotators to run and the phrase matchers to use
    * (if any). If not specified, all annotators will be run.
    * 
* * .google.cloud.contactcenterinsights.v1.AnnotatorSelector annotator_selector = 8; - * * @return The annotatorSelector. */ @java.lang.Override public com.google.cloud.contactcenterinsights.v1.AnnotatorSelector getAnnotatorSelector() { - return annotatorSelector_ == null - ? com.google.cloud.contactcenterinsights.v1.AnnotatorSelector.getDefaultInstance() - : annotatorSelector_; + return annotatorSelector_ == null ? com.google.cloud.contactcenterinsights.v1.AnnotatorSelector.getDefaultInstance() : annotatorSelector_; } /** - * - * *
    * To select the annotators to run and the phrase matchers to use
    * (if any). If not specified, all annotators will be run.
@@ -330,15 +256,11 @@ public com.google.cloud.contactcenterinsights.v1.AnnotatorSelector getAnnotatorS
    * .google.cloud.contactcenterinsights.v1.AnnotatorSelector annotator_selector = 8;
    */
   @java.lang.Override
-  public com.google.cloud.contactcenterinsights.v1.AnnotatorSelectorOrBuilder
-      getAnnotatorSelectorOrBuilder() {
-    return annotatorSelector_ == null
-        ? com.google.cloud.contactcenterinsights.v1.AnnotatorSelector.getDefaultInstance()
-        : annotatorSelector_;
+  public com.google.cloud.contactcenterinsights.v1.AnnotatorSelectorOrBuilder getAnnotatorSelectorOrBuilder() {
+    return annotatorSelector_ == null ? com.google.cloud.contactcenterinsights.v1.AnnotatorSelector.getDefaultInstance() : annotatorSelector_;
   }
 
   private byte memoizedIsInitialized = -1;
-
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -350,7 +272,8 @@ public final boolean isInitialized() {
   }
 
   @java.lang.Override
-  public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
+  public void writeTo(com.google.protobuf.CodedOutputStream output)
+                      throws java.io.IOException {
     if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) {
       com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_);
     }
@@ -379,16 +302,20 @@ public int getSerializedSize() {
       size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_);
     }
     if (requestTime_ != null) {
-      size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getRequestTime());
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(2, getRequestTime());
     }
     if (createTime_ != null) {
-      size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getCreateTime());
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(3, getCreateTime());
     }
     if (analysisResult_ != null) {
-      size += com.google.protobuf.CodedOutputStream.computeMessageSize(7, getAnalysisResult());
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(7, getAnalysisResult());
     }
     if (annotatorSelector_ != null) {
-      size += com.google.protobuf.CodedOutputStream.computeMessageSize(8, getAnnotatorSelector());
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(8, getAnnotatorSelector());
     }
     size += getUnknownFields().getSerializedSize();
     memoizedSize = size;
@@ -398,30 +325,34 @@ public int getSerializedSize() {
   @java.lang.Override
   public boolean equals(final java.lang.Object obj) {
     if (obj == this) {
-      return true;
+     return true;
     }
     if (!(obj instanceof com.google.cloud.contactcenterinsights.v1.Analysis)) {
       return super.equals(obj);
     }
-    com.google.cloud.contactcenterinsights.v1.Analysis other =
-        (com.google.cloud.contactcenterinsights.v1.Analysis) obj;
+    com.google.cloud.contactcenterinsights.v1.Analysis other = (com.google.cloud.contactcenterinsights.v1.Analysis) obj;
 
-    if (!getName().equals(other.getName())) return false;
+    if (!getName()
+        .equals(other.getName())) return false;
     if (hasRequestTime() != other.hasRequestTime()) return false;
     if (hasRequestTime()) {
-      if (!getRequestTime().equals(other.getRequestTime())) return false;
+      if (!getRequestTime()
+          .equals(other.getRequestTime())) return false;
     }
     if (hasCreateTime() != other.hasCreateTime()) return false;
     if (hasCreateTime()) {
-      if (!getCreateTime().equals(other.getCreateTime())) return false;
+      if (!getCreateTime()
+          .equals(other.getCreateTime())) return false;
     }
     if (hasAnalysisResult() != other.hasAnalysisResult()) return false;
     if (hasAnalysisResult()) {
-      if (!getAnalysisResult().equals(other.getAnalysisResult())) return false;
+      if (!getAnalysisResult()
+          .equals(other.getAnalysisResult())) return false;
     }
     if (hasAnnotatorSelector() != other.hasAnnotatorSelector()) return false;
     if (hasAnnotatorSelector()) {
-      if (!getAnnotatorSelector().equals(other.getAnnotatorSelector())) return false;
+      if (!getAnnotatorSelector()
+          .equals(other.getAnnotatorSelector())) return false;
     }
     if (!getUnknownFields().equals(other.getUnknownFields())) return false;
     return true;
@@ -458,135 +389,129 @@ public int hashCode() {
   }
 
   public static com.google.cloud.contactcenterinsights.v1.Analysis parseFrom(
-      java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException {
+      java.nio.ByteBuffer data)
+      throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.cloud.contactcenterinsights.v1.Analysis parseFrom(
-      java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.nio.ByteBuffer data,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
   public static com.google.cloud.contactcenterinsights.v1.Analysis parseFrom(
       com.google.protobuf.ByteString data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.cloud.contactcenterinsights.v1.Analysis parseFrom(
       com.google.protobuf.ByteString data,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
   public static com.google.cloud.contactcenterinsights.v1.Analysis parseFrom(byte[] data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.cloud.contactcenterinsights.v1.Analysis parseFrom(
-      byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      byte[] data,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
-  public static com.google.cloud.contactcenterinsights.v1.Analysis parseFrom(
-      java.io.InputStream input) throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+  public static com.google.cloud.contactcenterinsights.v1.Analysis parseFrom(java.io.InputStream input)
+      throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input);
   }
-
   public static com.google.cloud.contactcenterinsights.v1.Analysis parseFrom(
-      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input, extensionRegistry);
   }
-
-  public static com.google.cloud.contactcenterinsights.v1.Analysis parseDelimitedFrom(
-      java.io.InputStream input) throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
+  public static com.google.cloud.contactcenterinsights.v1.Analysis parseDelimitedFrom(java.io.InputStream input)
+      throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3
+        .parseDelimitedWithIOException(PARSER, input);
   }
-
   public static com.google.cloud.contactcenterinsights.v1.Analysis parseDelimitedFrom(
-      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
   }
-
   public static com.google.cloud.contactcenterinsights.v1.Analysis parseFrom(
-      com.google.protobuf.CodedInputStream input) throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+      com.google.protobuf.CodedInputStream input)
+      throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input);
   }
-
   public static com.google.cloud.contactcenterinsights.v1.Analysis parseFrom(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input, extensionRegistry);
   }
 
   @java.lang.Override
-  public Builder newBuilderForType() {
-    return newBuilder();
-  }
-
+  public Builder newBuilderForType() { return newBuilder(); }
   public static Builder newBuilder() {
     return DEFAULT_INSTANCE.toBuilder();
   }
-
   public static Builder newBuilder(com.google.cloud.contactcenterinsights.v1.Analysis prototype) {
     return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
   }
-
   @java.lang.Override
   public Builder toBuilder() {
-    return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
+    return this == DEFAULT_INSTANCE
+        ? new Builder() : new Builder().mergeFrom(this);
   }
 
   @java.lang.Override
-  protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+  protected Builder newBuilderForType(
+      com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
     Builder builder = new Builder(parent);
     return builder;
   }
   /**
-   *
-   *
    * 
    * The analysis resource.
    * 
* * Protobuf type {@code google.cloud.contactcenterinsights.v1.Analysis} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.contactcenterinsights.v1.Analysis) com.google.cloud.contactcenterinsights.v1.AnalysisOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.contactcenterinsights.v1.ResourcesProto - .internal_static_google_cloud_contactcenterinsights_v1_Analysis_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.contactcenterinsights.v1.ResourcesProto.internal_static_google_cloud_contactcenterinsights_v1_Analysis_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.contactcenterinsights.v1.ResourcesProto - .internal_static_google_cloud_contactcenterinsights_v1_Analysis_fieldAccessorTable + return com.google.cloud.contactcenterinsights.v1.ResourcesProto.internal_static_google_cloud_contactcenterinsights_v1_Analysis_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.contactcenterinsights.v1.Analysis.class, - com.google.cloud.contactcenterinsights.v1.Analysis.Builder.class); + com.google.cloud.contactcenterinsights.v1.Analysis.class, com.google.cloud.contactcenterinsights.v1.Analysis.Builder.class); } // Construct using com.google.cloud.contactcenterinsights.v1.Analysis.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -616,9 +541,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.contactcenterinsights.v1.ResourcesProto - .internal_static_google_cloud_contactcenterinsights_v1_Analysis_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.contactcenterinsights.v1.ResourcesProto.internal_static_google_cloud_contactcenterinsights_v1_Analysis_descriptor; } @java.lang.Override @@ -637,11 +562,8 @@ public com.google.cloud.contactcenterinsights.v1.Analysis build() { @java.lang.Override public com.google.cloud.contactcenterinsights.v1.Analysis buildPartial() { - com.google.cloud.contactcenterinsights.v1.Analysis result = - new com.google.cloud.contactcenterinsights.v1.Analysis(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + com.google.cloud.contactcenterinsights.v1.Analysis result = new com.google.cloud.contactcenterinsights.v1.Analysis(this); + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } @@ -652,21 +574,24 @@ private void buildPartial0(com.google.cloud.contactcenterinsights.v1.Analysis re result.name_ = name_; } if (((from_bitField0_ & 0x00000002) != 0)) { - result.requestTime_ = - requestTimeBuilder_ == null ? requestTime_ : requestTimeBuilder_.build(); + result.requestTime_ = requestTimeBuilder_ == null + ? requestTime_ + : requestTimeBuilder_.build(); } if (((from_bitField0_ & 0x00000004) != 0)) { - result.createTime_ = createTimeBuilder_ == null ? createTime_ : createTimeBuilder_.build(); + result.createTime_ = createTimeBuilder_ == null + ? createTime_ + : createTimeBuilder_.build(); } if (((from_bitField0_ & 0x00000008) != 0)) { - result.analysisResult_ = - analysisResultBuilder_ == null ? analysisResult_ : analysisResultBuilder_.build(); + result.analysisResult_ = analysisResultBuilder_ == null + ? analysisResult_ + : analysisResultBuilder_.build(); } if (((from_bitField0_ & 0x00000010) != 0)) { - result.annotatorSelector_ = - annotatorSelectorBuilder_ == null - ? annotatorSelector_ - : annotatorSelectorBuilder_.build(); + result.annotatorSelector_ = annotatorSelectorBuilder_ == null + ? annotatorSelector_ + : annotatorSelectorBuilder_.build(); } } @@ -674,39 +599,38 @@ private void buildPartial0(com.google.cloud.contactcenterinsights.v1.Analysis re public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.contactcenterinsights.v1.Analysis) { - return mergeFrom((com.google.cloud.contactcenterinsights.v1.Analysis) other); + return mergeFrom((com.google.cloud.contactcenterinsights.v1.Analysis)other); } else { super.mergeFrom(other); return this; @@ -714,8 +638,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.contactcenterinsights.v1.Analysis other) { - if (other == com.google.cloud.contactcenterinsights.v1.Analysis.getDefaultInstance()) - return this; + if (other == com.google.cloud.contactcenterinsights.v1.Analysis.getDefaultInstance()) return this; if (!other.getName().isEmpty()) { name_ = other.name_; bitField0_ |= 0x00000001; @@ -759,44 +682,45 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - name_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: - { - input.readMessage(getRequestTimeFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00000002; - break; - } // case 18 - case 26: - { - input.readMessage(getCreateTimeFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00000004; - break; - } // case 26 - case 58: - { - input.readMessage(getAnalysisResultFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00000008; - break; - } // case 58 - case 66: - { - input.readMessage( - getAnnotatorSelectorFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00000010; - break; - } // case 66 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + name_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: { + input.readMessage( + getRequestTimeFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00000002; + break; + } // case 18 + case 26: { + input.readMessage( + getCreateTimeFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00000004; + break; + } // case 26 + case 58: { + input.readMessage( + getAnalysisResultFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00000008; + break; + } // case 58 + case 66: { + input.readMessage( + getAnnotatorSelectorFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00000010; + break; + } // case 66 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -806,13 +730,10 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private java.lang.Object name_ = ""; /** - * - * *
      * Immutable. The resource name of the analysis.
      * Format:
@@ -820,13 +741,13 @@ public Builder mergeFrom(
      * 
* * string name = 1 [(.google.api.field_behavior) = IMMUTABLE]; - * * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -835,8 +756,6 @@ public java.lang.String getName() { } } /** - * - * *
      * Immutable. The resource name of the analysis.
      * Format:
@@ -844,14 +763,15 @@ public java.lang.String getName() {
      * 
* * string name = 1 [(.google.api.field_behavior) = IMMUTABLE]; - * * @return The bytes for name. */ - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -859,8 +779,6 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * Immutable. The resource name of the analysis.
      * Format:
@@ -868,22 +786,18 @@ public com.google.protobuf.ByteString getNameBytes() {
      * 
* * string name = 1 [(.google.api.field_behavior) = IMMUTABLE]; - * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setName( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } name_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
      * Immutable. The resource name of the analysis.
      * Format:
@@ -891,7 +805,6 @@ public Builder setName(java.lang.String value) {
      * 
* * string name = 1 [(.google.api.field_behavior) = IMMUTABLE]; - * * @return This builder for chaining. */ public Builder clearName() { @@ -901,8 +814,6 @@ public Builder clearName() { return this; } /** - * - * *
      * Immutable. The resource name of the analysis.
      * Format:
@@ -910,14 +821,12 @@ public Builder clearName() {
      * 
* * string name = 1 [(.google.api.field_behavior) = IMMUTABLE]; - * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setNameBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); name_ = value; bitField0_ |= 0x00000001; @@ -927,58 +836,39 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) { private com.google.protobuf.Timestamp requestTime_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> - requestTimeBuilder_; + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> requestTimeBuilder_; /** - * - * *
      * Output only. The time at which the analysis was requested.
      * 
* - * - * .google.protobuf.Timestamp request_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp request_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the requestTime field is set. */ public boolean hasRequestTime() { return ((bitField0_ & 0x00000002) != 0); } /** - * - * *
      * Output only. The time at which the analysis was requested.
      * 
* - * - * .google.protobuf.Timestamp request_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp request_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The requestTime. */ public com.google.protobuf.Timestamp getRequestTime() { if (requestTimeBuilder_ == null) { - return requestTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : requestTime_; + return requestTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : requestTime_; } else { return requestTimeBuilder_.getMessage(); } } /** - * - * *
      * Output only. The time at which the analysis was requested.
      * 
* - * - * .google.protobuf.Timestamp request_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp request_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder setRequestTime(com.google.protobuf.Timestamp value) { if (requestTimeBuilder_ == null) { @@ -994,17 +884,14 @@ public Builder setRequestTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * Output only. The time at which the analysis was requested.
      * 
* - * - * .google.protobuf.Timestamp request_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp request_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - public Builder setRequestTime(com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setRequestTime( + com.google.protobuf.Timestamp.Builder builderForValue) { if (requestTimeBuilder_ == null) { requestTime_ = builderForValue.build(); } else { @@ -1015,21 +902,17 @@ public Builder setRequestTime(com.google.protobuf.Timestamp.Builder builderForVa return this; } /** - * - * *
      * Output only. The time at which the analysis was requested.
      * 
* - * - * .google.protobuf.Timestamp request_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp request_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder mergeRequestTime(com.google.protobuf.Timestamp value) { if (requestTimeBuilder_ == null) { - if (((bitField0_ & 0x00000002) != 0) - && requestTime_ != null - && requestTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { + if (((bitField0_ & 0x00000002) != 0) && + requestTime_ != null && + requestTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { getRequestTimeBuilder().mergeFrom(value); } else { requestTime_ = value; @@ -1042,15 +925,11 @@ public Builder mergeRequestTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * Output only. The time at which the analysis was requested.
      * 
* - * - * .google.protobuf.Timestamp request_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp request_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder clearRequestTime() { bitField0_ = (bitField0_ & ~0x00000002); @@ -1063,15 +942,11 @@ public Builder clearRequestTime() { return this; } /** - * - * *
      * Output only. The time at which the analysis was requested.
      * 
* - * - * .google.protobuf.Timestamp request_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp request_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public com.google.protobuf.Timestamp.Builder getRequestTimeBuilder() { bitField0_ |= 0x00000002; @@ -1079,48 +954,36 @@ public com.google.protobuf.Timestamp.Builder getRequestTimeBuilder() { return getRequestTimeFieldBuilder().getBuilder(); } /** - * - * *
      * Output only. The time at which the analysis was requested.
      * 
* - * - * .google.protobuf.Timestamp request_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp request_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public com.google.protobuf.TimestampOrBuilder getRequestTimeOrBuilder() { if (requestTimeBuilder_ != null) { return requestTimeBuilder_.getMessageOrBuilder(); } else { - return requestTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : requestTime_; + return requestTime_ == null ? + com.google.protobuf.Timestamp.getDefaultInstance() : requestTime_; } } /** - * - * *
      * Output only. The time at which the analysis was requested.
      * 
* - * - * .google.protobuf.Timestamp request_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp request_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> getRequestTimeFieldBuilder() { if (requestTimeBuilder_ == null) { - requestTimeBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder>( - getRequestTime(), getParentForChildren(), isClean()); + requestTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( + getRequestTime(), + getParentForChildren(), + isClean()); requestTime_ = null; } return requestTimeBuilder_; @@ -1128,61 +991,42 @@ public com.google.protobuf.TimestampOrBuilder getRequestTimeOrBuilder() { private com.google.protobuf.Timestamp createTime_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> - createTimeBuilder_; + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> createTimeBuilder_; /** - * - * *
-     * Output only. The time at which the analysis was created, which occurs when the
-     * long-running operation completes.
+     * Output only. The time at which the analysis was created, which occurs when
+     * the long-running operation completes.
      * 
* - * - * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the createTime field is set. */ public boolean hasCreateTime() { return ((bitField0_ & 0x00000004) != 0); } /** - * - * *
-     * Output only. The time at which the analysis was created, which occurs when the
-     * long-running operation completes.
+     * Output only. The time at which the analysis was created, which occurs when
+     * the long-running operation completes.
      * 
* - * - * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The createTime. */ public com.google.protobuf.Timestamp getCreateTime() { if (createTimeBuilder_ == null) { - return createTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : createTime_; + return createTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : createTime_; } else { return createTimeBuilder_.getMessage(); } } /** - * - * *
-     * Output only. The time at which the analysis was created, which occurs when the
-     * long-running operation completes.
+     * Output only. The time at which the analysis was created, which occurs when
+     * the long-running operation completes.
      * 
* - * - * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder setCreateTime(com.google.protobuf.Timestamp value) { if (createTimeBuilder_ == null) { @@ -1198,18 +1042,15 @@ public Builder setCreateTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
-     * Output only. The time at which the analysis was created, which occurs when the
-     * long-running operation completes.
+     * Output only. The time at which the analysis was created, which occurs when
+     * the long-running operation completes.
      * 
* - * - * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - public Builder setCreateTime(com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setCreateTime( + com.google.protobuf.Timestamp.Builder builderForValue) { if (createTimeBuilder_ == null) { createTime_ = builderForValue.build(); } else { @@ -1220,22 +1061,18 @@ public Builder setCreateTime(com.google.protobuf.Timestamp.Builder builderForVal return this; } /** - * - * *
-     * Output only. The time at which the analysis was created, which occurs when the
-     * long-running operation completes.
+     * Output only. The time at which the analysis was created, which occurs when
+     * the long-running operation completes.
      * 
* - * - * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder mergeCreateTime(com.google.protobuf.Timestamp value) { if (createTimeBuilder_ == null) { - if (((bitField0_ & 0x00000004) != 0) - && createTime_ != null - && createTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { + if (((bitField0_ & 0x00000004) != 0) && + createTime_ != null && + createTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { getCreateTimeBuilder().mergeFrom(value); } else { createTime_ = value; @@ -1248,16 +1085,12 @@ public Builder mergeCreateTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
-     * Output only. The time at which the analysis was created, which occurs when the
-     * long-running operation completes.
+     * Output only. The time at which the analysis was created, which occurs when
+     * the long-running operation completes.
      * 
* - * - * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder clearCreateTime() { bitField0_ = (bitField0_ & ~0x00000004); @@ -1270,16 +1103,12 @@ public Builder clearCreateTime() { return this; } /** - * - * *
-     * Output only. The time at which the analysis was created, which occurs when the
-     * long-running operation completes.
+     * Output only. The time at which the analysis was created, which occurs when
+     * the long-running operation completes.
      * 
* - * - * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public com.google.protobuf.Timestamp.Builder getCreateTimeBuilder() { bitField0_ |= 0x00000004; @@ -1287,50 +1116,38 @@ public com.google.protobuf.Timestamp.Builder getCreateTimeBuilder() { return getCreateTimeFieldBuilder().getBuilder(); } /** - * - * *
-     * Output only. The time at which the analysis was created, which occurs when the
-     * long-running operation completes.
+     * Output only. The time at which the analysis was created, which occurs when
+     * the long-running operation completes.
      * 
* - * - * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { if (createTimeBuilder_ != null) { return createTimeBuilder_.getMessageOrBuilder(); } else { - return createTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : createTime_; + return createTime_ == null ? + com.google.protobuf.Timestamp.getDefaultInstance() : createTime_; } } /** - * - * *
-     * Output only. The time at which the analysis was created, which occurs when the
-     * long-running operation completes.
+     * Output only. The time at which the analysis was created, which occurs when
+     * the long-running operation completes.
      * 
* - * - * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> getCreateTimeFieldBuilder() { if (createTimeBuilder_ == null) { - createTimeBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder>( - getCreateTime(), getParentForChildren(), isClean()); + createTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( + getCreateTime(), + getParentForChildren(), + isClean()); createTime_ = null; } return createTimeBuilder_; @@ -1338,64 +1155,44 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { private com.google.cloud.contactcenterinsights.v1.AnalysisResult analysisResult_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.contactcenterinsights.v1.AnalysisResult, - com.google.cloud.contactcenterinsights.v1.AnalysisResult.Builder, - com.google.cloud.contactcenterinsights.v1.AnalysisResultOrBuilder> - analysisResultBuilder_; + com.google.cloud.contactcenterinsights.v1.AnalysisResult, com.google.cloud.contactcenterinsights.v1.AnalysisResult.Builder, com.google.cloud.contactcenterinsights.v1.AnalysisResultOrBuilder> analysisResultBuilder_; /** - * - * *
-     * Output only. The result of the analysis, which is populated when the analysis
-     * finishes.
+     * Output only. The result of the analysis, which is populated when the
+     * analysis finishes.
      * 
* - * - * .google.cloud.contactcenterinsights.v1.AnalysisResult analysis_result = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.contactcenterinsights.v1.AnalysisResult analysis_result = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the analysisResult field is set. */ public boolean hasAnalysisResult() { return ((bitField0_ & 0x00000008) != 0); } /** - * - * *
-     * Output only. The result of the analysis, which is populated when the analysis
-     * finishes.
+     * Output only. The result of the analysis, which is populated when the
+     * analysis finishes.
      * 
* - * - * .google.cloud.contactcenterinsights.v1.AnalysisResult analysis_result = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.contactcenterinsights.v1.AnalysisResult analysis_result = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The analysisResult. */ public com.google.cloud.contactcenterinsights.v1.AnalysisResult getAnalysisResult() { if (analysisResultBuilder_ == null) { - return analysisResult_ == null - ? com.google.cloud.contactcenterinsights.v1.AnalysisResult.getDefaultInstance() - : analysisResult_; + return analysisResult_ == null ? com.google.cloud.contactcenterinsights.v1.AnalysisResult.getDefaultInstance() : analysisResult_; } else { return analysisResultBuilder_.getMessage(); } } /** - * - * *
-     * Output only. The result of the analysis, which is populated when the analysis
-     * finishes.
+     * Output only. The result of the analysis, which is populated when the
+     * analysis finishes.
      * 
* - * - * .google.cloud.contactcenterinsights.v1.AnalysisResult analysis_result = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.contactcenterinsights.v1.AnalysisResult analysis_result = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - public Builder setAnalysisResult( - com.google.cloud.contactcenterinsights.v1.AnalysisResult value) { + public Builder setAnalysisResult(com.google.cloud.contactcenterinsights.v1.AnalysisResult value) { if (analysisResultBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -1409,16 +1206,12 @@ public Builder setAnalysisResult( return this; } /** - * - * *
-     * Output only. The result of the analysis, which is populated when the analysis
-     * finishes.
+     * Output only. The result of the analysis, which is populated when the
+     * analysis finishes.
      * 
* - * - * .google.cloud.contactcenterinsights.v1.AnalysisResult analysis_result = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.contactcenterinsights.v1.AnalysisResult analysis_result = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder setAnalysisResult( com.google.cloud.contactcenterinsights.v1.AnalysisResult.Builder builderForValue) { @@ -1432,24 +1225,18 @@ public Builder setAnalysisResult( return this; } /** - * - * *
-     * Output only. The result of the analysis, which is populated when the analysis
-     * finishes.
+     * Output only. The result of the analysis, which is populated when the
+     * analysis finishes.
      * 
* - * - * .google.cloud.contactcenterinsights.v1.AnalysisResult analysis_result = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.contactcenterinsights.v1.AnalysisResult analysis_result = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - public Builder mergeAnalysisResult( - com.google.cloud.contactcenterinsights.v1.AnalysisResult value) { + public Builder mergeAnalysisResult(com.google.cloud.contactcenterinsights.v1.AnalysisResult value) { if (analysisResultBuilder_ == null) { - if (((bitField0_ & 0x00000008) != 0) - && analysisResult_ != null - && analysisResult_ - != com.google.cloud.contactcenterinsights.v1.AnalysisResult.getDefaultInstance()) { + if (((bitField0_ & 0x00000008) != 0) && + analysisResult_ != null && + analysisResult_ != com.google.cloud.contactcenterinsights.v1.AnalysisResult.getDefaultInstance()) { getAnalysisResultBuilder().mergeFrom(value); } else { analysisResult_ = value; @@ -1462,16 +1249,12 @@ public Builder mergeAnalysisResult( return this; } /** - * - * *
-     * Output only. The result of the analysis, which is populated when the analysis
-     * finishes.
+     * Output only. The result of the analysis, which is populated when the
+     * analysis finishes.
      * 
* - * - * .google.cloud.contactcenterinsights.v1.AnalysisResult analysis_result = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.contactcenterinsights.v1.AnalysisResult analysis_result = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder clearAnalysisResult() { bitField0_ = (bitField0_ & ~0x00000008); @@ -1484,69 +1267,51 @@ public Builder clearAnalysisResult() { return this; } /** - * - * *
-     * Output only. The result of the analysis, which is populated when the analysis
-     * finishes.
+     * Output only. The result of the analysis, which is populated when the
+     * analysis finishes.
      * 
* - * - * .google.cloud.contactcenterinsights.v1.AnalysisResult analysis_result = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.contactcenterinsights.v1.AnalysisResult analysis_result = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - public com.google.cloud.contactcenterinsights.v1.AnalysisResult.Builder - getAnalysisResultBuilder() { + public com.google.cloud.contactcenterinsights.v1.AnalysisResult.Builder getAnalysisResultBuilder() { bitField0_ |= 0x00000008; onChanged(); return getAnalysisResultFieldBuilder().getBuilder(); } /** - * - * *
-     * Output only. The result of the analysis, which is populated when the analysis
-     * finishes.
+     * Output only. The result of the analysis, which is populated when the
+     * analysis finishes.
      * 
* - * - * .google.cloud.contactcenterinsights.v1.AnalysisResult analysis_result = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.contactcenterinsights.v1.AnalysisResult analysis_result = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - public com.google.cloud.contactcenterinsights.v1.AnalysisResultOrBuilder - getAnalysisResultOrBuilder() { + public com.google.cloud.contactcenterinsights.v1.AnalysisResultOrBuilder getAnalysisResultOrBuilder() { if (analysisResultBuilder_ != null) { return analysisResultBuilder_.getMessageOrBuilder(); } else { - return analysisResult_ == null - ? com.google.cloud.contactcenterinsights.v1.AnalysisResult.getDefaultInstance() - : analysisResult_; + return analysisResult_ == null ? + com.google.cloud.contactcenterinsights.v1.AnalysisResult.getDefaultInstance() : analysisResult_; } } /** - * - * *
-     * Output only. The result of the analysis, which is populated when the analysis
-     * finishes.
+     * Output only. The result of the analysis, which is populated when the
+     * analysis finishes.
      * 
* - * - * .google.cloud.contactcenterinsights.v1.AnalysisResult analysis_result = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.contactcenterinsights.v1.AnalysisResult analysis_result = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.contactcenterinsights.v1.AnalysisResult, - com.google.cloud.contactcenterinsights.v1.AnalysisResult.Builder, - com.google.cloud.contactcenterinsights.v1.AnalysisResultOrBuilder> + com.google.cloud.contactcenterinsights.v1.AnalysisResult, com.google.cloud.contactcenterinsights.v1.AnalysisResult.Builder, com.google.cloud.contactcenterinsights.v1.AnalysisResultOrBuilder> getAnalysisResultFieldBuilder() { if (analysisResultBuilder_ == null) { - analysisResultBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.contactcenterinsights.v1.AnalysisResult, - com.google.cloud.contactcenterinsights.v1.AnalysisResult.Builder, - com.google.cloud.contactcenterinsights.v1.AnalysisResultOrBuilder>( - getAnalysisResult(), getParentForChildren(), isClean()); + analysisResultBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.contactcenterinsights.v1.AnalysisResult, com.google.cloud.contactcenterinsights.v1.AnalysisResult.Builder, com.google.cloud.contactcenterinsights.v1.AnalysisResultOrBuilder>( + getAnalysisResult(), + getParentForChildren(), + isClean()); analysisResult_ = null; } return analysisResultBuilder_; @@ -1554,49 +1319,36 @@ public Builder clearAnalysisResult() { private com.google.cloud.contactcenterinsights.v1.AnnotatorSelector annotatorSelector_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.contactcenterinsights.v1.AnnotatorSelector, - com.google.cloud.contactcenterinsights.v1.AnnotatorSelector.Builder, - com.google.cloud.contactcenterinsights.v1.AnnotatorSelectorOrBuilder> - annotatorSelectorBuilder_; + com.google.cloud.contactcenterinsights.v1.AnnotatorSelector, com.google.cloud.contactcenterinsights.v1.AnnotatorSelector.Builder, com.google.cloud.contactcenterinsights.v1.AnnotatorSelectorOrBuilder> annotatorSelectorBuilder_; /** - * - * *
      * To select the annotators to run and the phrase matchers to use
      * (if any). If not specified, all annotators will be run.
      * 
* * .google.cloud.contactcenterinsights.v1.AnnotatorSelector annotator_selector = 8; - * * @return Whether the annotatorSelector field is set. */ public boolean hasAnnotatorSelector() { return ((bitField0_ & 0x00000010) != 0); } /** - * - * *
      * To select the annotators to run and the phrase matchers to use
      * (if any). If not specified, all annotators will be run.
      * 
* * .google.cloud.contactcenterinsights.v1.AnnotatorSelector annotator_selector = 8; - * * @return The annotatorSelector. */ public com.google.cloud.contactcenterinsights.v1.AnnotatorSelector getAnnotatorSelector() { if (annotatorSelectorBuilder_ == null) { - return annotatorSelector_ == null - ? com.google.cloud.contactcenterinsights.v1.AnnotatorSelector.getDefaultInstance() - : annotatorSelector_; + return annotatorSelector_ == null ? com.google.cloud.contactcenterinsights.v1.AnnotatorSelector.getDefaultInstance() : annotatorSelector_; } else { return annotatorSelectorBuilder_.getMessage(); } } /** - * - * *
      * To select the annotators to run and the phrase matchers to use
      * (if any). If not specified, all annotators will be run.
@@ -1604,8 +1356,7 @@ public com.google.cloud.contactcenterinsights.v1.AnnotatorSelector getAnnotatorS
      *
      * .google.cloud.contactcenterinsights.v1.AnnotatorSelector annotator_selector = 8;
      */
-    public Builder setAnnotatorSelector(
-        com.google.cloud.contactcenterinsights.v1.AnnotatorSelector value) {
+    public Builder setAnnotatorSelector(com.google.cloud.contactcenterinsights.v1.AnnotatorSelector value) {
       if (annotatorSelectorBuilder_ == null) {
         if (value == null) {
           throw new NullPointerException();
@@ -1619,8 +1370,6 @@ public Builder setAnnotatorSelector(
       return this;
     }
     /**
-     *
-     *
      * 
      * To select the annotators to run and the phrase matchers to use
      * (if any). If not specified, all annotators will be run.
@@ -1640,8 +1389,6 @@ public Builder setAnnotatorSelector(
       return this;
     }
     /**
-     *
-     *
      * 
      * To select the annotators to run and the phrase matchers to use
      * (if any). If not specified, all annotators will be run.
@@ -1649,14 +1396,11 @@ public Builder setAnnotatorSelector(
      *
      * .google.cloud.contactcenterinsights.v1.AnnotatorSelector annotator_selector = 8;
      */
-    public Builder mergeAnnotatorSelector(
-        com.google.cloud.contactcenterinsights.v1.AnnotatorSelector value) {
+    public Builder mergeAnnotatorSelector(com.google.cloud.contactcenterinsights.v1.AnnotatorSelector value) {
       if (annotatorSelectorBuilder_ == null) {
-        if (((bitField0_ & 0x00000010) != 0)
-            && annotatorSelector_ != null
-            && annotatorSelector_
-                != com.google.cloud.contactcenterinsights.v1.AnnotatorSelector
-                    .getDefaultInstance()) {
+        if (((bitField0_ & 0x00000010) != 0) &&
+          annotatorSelector_ != null &&
+          annotatorSelector_ != com.google.cloud.contactcenterinsights.v1.AnnotatorSelector.getDefaultInstance()) {
           getAnnotatorSelectorBuilder().mergeFrom(value);
         } else {
           annotatorSelector_ = value;
@@ -1669,8 +1413,6 @@ public Builder mergeAnnotatorSelector(
       return this;
     }
     /**
-     *
-     *
      * 
      * To select the annotators to run and the phrase matchers to use
      * (if any). If not specified, all annotators will be run.
@@ -1689,8 +1431,6 @@ public Builder clearAnnotatorSelector() {
       return this;
     }
     /**
-     *
-     *
      * 
      * To select the annotators to run and the phrase matchers to use
      * (if any). If not specified, all annotators will be run.
@@ -1698,15 +1438,12 @@ public Builder clearAnnotatorSelector() {
      *
      * .google.cloud.contactcenterinsights.v1.AnnotatorSelector annotator_selector = 8;
      */
-    public com.google.cloud.contactcenterinsights.v1.AnnotatorSelector.Builder
-        getAnnotatorSelectorBuilder() {
+    public com.google.cloud.contactcenterinsights.v1.AnnotatorSelector.Builder getAnnotatorSelectorBuilder() {
       bitField0_ |= 0x00000010;
       onChanged();
       return getAnnotatorSelectorFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * To select the annotators to run and the phrase matchers to use
      * (if any). If not specified, all annotators will be run.
@@ -1714,19 +1451,15 @@ public Builder clearAnnotatorSelector() {
      *
      * .google.cloud.contactcenterinsights.v1.AnnotatorSelector annotator_selector = 8;
      */
-    public com.google.cloud.contactcenterinsights.v1.AnnotatorSelectorOrBuilder
-        getAnnotatorSelectorOrBuilder() {
+    public com.google.cloud.contactcenterinsights.v1.AnnotatorSelectorOrBuilder getAnnotatorSelectorOrBuilder() {
       if (annotatorSelectorBuilder_ != null) {
         return annotatorSelectorBuilder_.getMessageOrBuilder();
       } else {
-        return annotatorSelector_ == null
-            ? com.google.cloud.contactcenterinsights.v1.AnnotatorSelector.getDefaultInstance()
-            : annotatorSelector_;
+        return annotatorSelector_ == null ?
+            com.google.cloud.contactcenterinsights.v1.AnnotatorSelector.getDefaultInstance() : annotatorSelector_;
       }
     }
     /**
-     *
-     *
      * 
      * To select the annotators to run and the phrase matchers to use
      * (if any). If not specified, all annotators will be run.
@@ -1735,24 +1468,21 @@ public Builder clearAnnotatorSelector() {
      * .google.cloud.contactcenterinsights.v1.AnnotatorSelector annotator_selector = 8;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.cloud.contactcenterinsights.v1.AnnotatorSelector,
-            com.google.cloud.contactcenterinsights.v1.AnnotatorSelector.Builder,
-            com.google.cloud.contactcenterinsights.v1.AnnotatorSelectorOrBuilder>
+        com.google.cloud.contactcenterinsights.v1.AnnotatorSelector, com.google.cloud.contactcenterinsights.v1.AnnotatorSelector.Builder, com.google.cloud.contactcenterinsights.v1.AnnotatorSelectorOrBuilder> 
         getAnnotatorSelectorFieldBuilder() {
       if (annotatorSelectorBuilder_ == null) {
-        annotatorSelectorBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.cloud.contactcenterinsights.v1.AnnotatorSelector,
-                com.google.cloud.contactcenterinsights.v1.AnnotatorSelector.Builder,
-                com.google.cloud.contactcenterinsights.v1.AnnotatorSelectorOrBuilder>(
-                getAnnotatorSelector(), getParentForChildren(), isClean());
+        annotatorSelectorBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.cloud.contactcenterinsights.v1.AnnotatorSelector, com.google.cloud.contactcenterinsights.v1.AnnotatorSelector.Builder, com.google.cloud.contactcenterinsights.v1.AnnotatorSelectorOrBuilder>(
+                getAnnotatorSelector(),
+                getParentForChildren(),
+                isClean());
         annotatorSelector_ = null;
       }
       return annotatorSelectorBuilder_;
     }
-
     @java.lang.Override
-    public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) {
+    public final Builder setUnknownFields(
+        final com.google.protobuf.UnknownFieldSet unknownFields) {
       return super.setUnknownFields(unknownFields);
     }
 
@@ -1762,12 +1492,12 @@ public final Builder mergeUnknownFields(
       return super.mergeUnknownFields(unknownFields);
     }
 
+
     // @@protoc_insertion_point(builder_scope:google.cloud.contactcenterinsights.v1.Analysis)
   }
 
   // @@protoc_insertion_point(class_scope:google.cloud.contactcenterinsights.v1.Analysis)
   private static final com.google.cloud.contactcenterinsights.v1.Analysis DEFAULT_INSTANCE;
-
   static {
     DEFAULT_INSTANCE = new com.google.cloud.contactcenterinsights.v1.Analysis();
   }
@@ -1776,27 +1506,27 @@ public static com.google.cloud.contactcenterinsights.v1.Analysis getDefaultInsta
     return DEFAULT_INSTANCE;
   }
 
-  private static final com.google.protobuf.Parser PARSER =
-      new com.google.protobuf.AbstractParser() {
-        @java.lang.Override
-        public Analysis parsePartialFrom(
-            com.google.protobuf.CodedInputStream input,
-            com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-            throws com.google.protobuf.InvalidProtocolBufferException {
-          Builder builder = newBuilder();
-          try {
-            builder.mergeFrom(input, extensionRegistry);
-          } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-            throw e.setUnfinishedMessage(builder.buildPartial());
-          } catch (com.google.protobuf.UninitializedMessageException e) {
-            throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
-          } catch (java.io.IOException e) {
-            throw new com.google.protobuf.InvalidProtocolBufferException(e)
-                .setUnfinishedMessage(builder.buildPartial());
-          }
-          return builder.buildPartial();
-        }
-      };
+  private static final com.google.protobuf.Parser
+      PARSER = new com.google.protobuf.AbstractParser() {
+    @java.lang.Override
+    public Analysis parsePartialFrom(
+        com.google.protobuf.CodedInputStream input,
+        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        throws com.google.protobuf.InvalidProtocolBufferException {
+      Builder builder = newBuilder();
+      try {
+        builder.mergeFrom(input, extensionRegistry);
+      } catch (com.google.protobuf.InvalidProtocolBufferException e) {
+        throw e.setUnfinishedMessage(builder.buildPartial());
+      } catch (com.google.protobuf.UninitializedMessageException e) {
+        throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
+      } catch (java.io.IOException e) {
+        throw new com.google.protobuf.InvalidProtocolBufferException(e)
+            .setUnfinishedMessage(builder.buildPartial());
+      }
+      return builder.buildPartial();
+    }
+  };
 
   public static com.google.protobuf.Parser parser() {
     return PARSER;
@@ -1811,4 +1541,6 @@ public com.google.protobuf.Parser getParserForType() {
   public com.google.cloud.contactcenterinsights.v1.Analysis getDefaultInstanceForType() {
     return DEFAULT_INSTANCE;
   }
+
 }
+
diff --git a/java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/AnalysisName.java b/owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/AnalysisName.java
similarity index 100%
rename from java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/AnalysisName.java
rename to owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/AnalysisName.java
diff --git a/java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/AnalysisOrBuilder.java b/owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/AnalysisOrBuilder.java
similarity index 67%
rename from java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/AnalysisOrBuilder.java
rename to owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/AnalysisOrBuilder.java
index 36d6e9e24d20..2c7480d7e1fc 100644
--- a/java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/AnalysisOrBuilder.java
+++ b/owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/AnalysisOrBuilder.java
@@ -1,31 +1,13 @@
-/*
- * 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.
- */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/cloud/contactcenterinsights/v1/resources.proto
 
 package com.google.cloud.contactcenterinsights.v1;
 
-public interface AnalysisOrBuilder
-    extends
+public interface AnalysisOrBuilder extends
     // @@protoc_insertion_point(interface_extends:google.cloud.contactcenterinsights.v1.Analysis)
     com.google.protobuf.MessageOrBuilder {
 
   /**
-   *
-   *
    * 
    * Immutable. The resource name of the analysis.
    * Format:
@@ -33,13 +15,10 @@ public interface AnalysisOrBuilder
    * 
* * string name = 1 [(.google.api.field_behavior) = IMMUTABLE]; - * * @return The name. */ java.lang.String getName(); /** - * - * *
    * Immutable. The resource name of the analysis.
    * Format:
@@ -47,163 +26,119 @@ public interface AnalysisOrBuilder
    * 
* * string name = 1 [(.google.api.field_behavior) = IMMUTABLE]; - * * @return The bytes for name. */ - com.google.protobuf.ByteString getNameBytes(); + com.google.protobuf.ByteString + getNameBytes(); /** - * - * *
    * Output only. The time at which the analysis was requested.
    * 
* - * .google.protobuf.Timestamp request_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp request_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the requestTime field is set. */ boolean hasRequestTime(); /** - * - * *
    * Output only. The time at which the analysis was requested.
    * 
* - * .google.protobuf.Timestamp request_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp request_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The requestTime. */ com.google.protobuf.Timestamp getRequestTime(); /** - * - * *
    * Output only. The time at which the analysis was requested.
    * 
* - * .google.protobuf.Timestamp request_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp request_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ com.google.protobuf.TimestampOrBuilder getRequestTimeOrBuilder(); /** - * - * *
-   * Output only. The time at which the analysis was created, which occurs when the
-   * long-running operation completes.
+   * Output only. The time at which the analysis was created, which occurs when
+   * the long-running operation completes.
    * 
* - * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the createTime field is set. */ boolean hasCreateTime(); /** - * - * *
-   * Output only. The time at which the analysis was created, which occurs when the
-   * long-running operation completes.
+   * Output only. The time at which the analysis was created, which occurs when
+   * the long-running operation completes.
    * 
* - * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The createTime. */ com.google.protobuf.Timestamp getCreateTime(); /** - * - * *
-   * Output only. The time at which the analysis was created, which occurs when the
-   * long-running operation completes.
+   * Output only. The time at which the analysis was created, which occurs when
+   * the long-running operation completes.
    * 
* - * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder(); /** - * - * *
-   * Output only. The result of the analysis, which is populated when the analysis
-   * finishes.
+   * Output only. The result of the analysis, which is populated when the
+   * analysis finishes.
    * 
* - * - * .google.cloud.contactcenterinsights.v1.AnalysisResult analysis_result = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.contactcenterinsights.v1.AnalysisResult analysis_result = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the analysisResult field is set. */ boolean hasAnalysisResult(); /** - * - * *
-   * Output only. The result of the analysis, which is populated when the analysis
-   * finishes.
+   * Output only. The result of the analysis, which is populated when the
+   * analysis finishes.
    * 
* - * - * .google.cloud.contactcenterinsights.v1.AnalysisResult analysis_result = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.contactcenterinsights.v1.AnalysisResult analysis_result = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The analysisResult. */ com.google.cloud.contactcenterinsights.v1.AnalysisResult getAnalysisResult(); /** - * - * *
-   * Output only. The result of the analysis, which is populated when the analysis
-   * finishes.
+   * Output only. The result of the analysis, which is populated when the
+   * analysis finishes.
    * 
* - * - * .google.cloud.contactcenterinsights.v1.AnalysisResult analysis_result = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.contactcenterinsights.v1.AnalysisResult analysis_result = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ com.google.cloud.contactcenterinsights.v1.AnalysisResultOrBuilder getAnalysisResultOrBuilder(); /** - * - * *
    * To select the annotators to run and the phrase matchers to use
    * (if any). If not specified, all annotators will be run.
    * 
* * .google.cloud.contactcenterinsights.v1.AnnotatorSelector annotator_selector = 8; - * * @return Whether the annotatorSelector field is set. */ boolean hasAnnotatorSelector(); /** - * - * *
    * To select the annotators to run and the phrase matchers to use
    * (if any). If not specified, all annotators will be run.
    * 
* * .google.cloud.contactcenterinsights.v1.AnnotatorSelector annotator_selector = 8; - * * @return The annotatorSelector. */ com.google.cloud.contactcenterinsights.v1.AnnotatorSelector getAnnotatorSelector(); /** - * - * *
    * To select the annotators to run and the phrase matchers to use
    * (if any). If not specified, all annotators will be run.
@@ -211,6 +146,5 @@ public interface AnalysisOrBuilder
    *
    * .google.cloud.contactcenterinsights.v1.AnnotatorSelector annotator_selector = 8;
    */
-  com.google.cloud.contactcenterinsights.v1.AnnotatorSelectorOrBuilder
-      getAnnotatorSelectorOrBuilder();
+  com.google.cloud.contactcenterinsights.v1.AnnotatorSelectorOrBuilder getAnnotatorSelectorOrBuilder();
 }
diff --git a/java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/AnalysisResult.java b/owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/AnalysisResult.java
similarity index 59%
rename from java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/AnalysisResult.java
rename to owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/AnalysisResult.java
index 0a371c69c4ad..088b6801d6dd 100644
--- a/java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/AnalysisResult.java
+++ b/owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/AnalysisResult.java
@@ -1,88 +1,66 @@
-/*
- * 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.
- */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/cloud/contactcenterinsights/v1/resources.proto
 
 package com.google.cloud.contactcenterinsights.v1;
 
 /**
- *
- *
  * 
  * The result of an analysis.
  * 
* * Protobuf type {@code google.cloud.contactcenterinsights.v1.AnalysisResult} */ -public final class AnalysisResult extends com.google.protobuf.GeneratedMessageV3 - implements +public final class AnalysisResult extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.contactcenterinsights.v1.AnalysisResult) AnalysisResultOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use AnalysisResult.newBuilder() to construct. private AnalysisResult(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - - private AnalysisResult() {} + private AnalysisResult() { + } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new AnalysisResult(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.contactcenterinsights.v1.ResourcesProto - .internal_static_google_cloud_contactcenterinsights_v1_AnalysisResult_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.contactcenterinsights.v1.ResourcesProto.internal_static_google_cloud_contactcenterinsights_v1_AnalysisResult_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.contactcenterinsights.v1.ResourcesProto - .internal_static_google_cloud_contactcenterinsights_v1_AnalysisResult_fieldAccessorTable + return com.google.cloud.contactcenterinsights.v1.ResourcesProto.internal_static_google_cloud_contactcenterinsights_v1_AnalysisResult_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.contactcenterinsights.v1.AnalysisResult.class, - com.google.cloud.contactcenterinsights.v1.AnalysisResult.Builder.class); + com.google.cloud.contactcenterinsights.v1.AnalysisResult.class, com.google.cloud.contactcenterinsights.v1.AnalysisResult.Builder.class); } - public interface CallAnalysisMetadataOrBuilder - extends + public interface CallAnalysisMetadataOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.contactcenterinsights.v1.AnalysisResult.CallAnalysisMetadata) com.google.protobuf.MessageOrBuilder { /** - * - * *
      * A list of call annotations that apply to this call.
      * 
* * repeated .google.cloud.contactcenterinsights.v1.CallAnnotation annotations = 2; */ - java.util.List getAnnotationsList(); + java.util.List + getAnnotationsList(); /** - * - * *
      * A list of call annotations that apply to this call.
      * 
@@ -91,8 +69,6 @@ public interface CallAnalysisMetadataOrBuilder */ com.google.cloud.contactcenterinsights.v1.CallAnnotation getAnnotations(int index); /** - * - * *
      * A list of call annotations that apply to this call.
      * 
@@ -101,19 +77,15 @@ public interface CallAnalysisMetadataOrBuilder */ int getAnnotationsCount(); /** - * - * *
      * A list of call annotations that apply to this call.
      * 
* * repeated .google.cloud.contactcenterinsights.v1.CallAnnotation annotations = 2; */ - java.util.List + java.util.List getAnnotationsOrBuilderList(); /** - * - * *
      * A list of call annotations that apply to this call.
      * 
@@ -124,8 +96,6 @@ com.google.cloud.contactcenterinsights.v1.CallAnnotationOrBuilder getAnnotations int index); /** - * - * *
      * All the entities in the call.
      * 
@@ -134,21 +104,21 @@ com.google.cloud.contactcenterinsights.v1.CallAnnotationOrBuilder getAnnotations */ int getEntitiesCount(); /** - * - * *
      * All the entities in the call.
      * 
* * map<string, .google.cloud.contactcenterinsights.v1.Entity> entities = 3; */ - boolean containsEntities(java.lang.String key); - /** Use {@link #getEntitiesMap()} instead. */ + boolean containsEntities( + java.lang.String key); + /** + * Use {@link #getEntitiesMap()} instead. + */ @java.lang.Deprecated - java.util.Map getEntities(); + java.util.Map + getEntities(); /** - * - * *
      * All the entities in the call.
      * 
@@ -156,10 +126,8 @@ com.google.cloud.contactcenterinsights.v1.CallAnnotationOrBuilder getAnnotations * map<string, .google.cloud.contactcenterinsights.v1.Entity> entities = 3; */ java.util.Map - getEntitiesMap(); + getEntitiesMap(); /** - * - * *
      * All the entities in the call.
      * 
@@ -167,89 +135,65 @@ com.google.cloud.contactcenterinsights.v1.CallAnnotationOrBuilder getAnnotations * map<string, .google.cloud.contactcenterinsights.v1.Entity> entities = 3; */ /* nullable */ - com.google.cloud.contactcenterinsights.v1.Entity getEntitiesOrDefault( +com.google.cloud.contactcenterinsights.v1.Entity getEntitiesOrDefault( java.lang.String key, /* nullable */ - com.google.cloud.contactcenterinsights.v1.Entity defaultValue); +com.google.cloud.contactcenterinsights.v1.Entity defaultValue); /** - * - * *
      * All the entities in the call.
      * 
* * map<string, .google.cloud.contactcenterinsights.v1.Entity> entities = 3; */ - com.google.cloud.contactcenterinsights.v1.Entity getEntitiesOrThrow(java.lang.String key); + com.google.cloud.contactcenterinsights.v1.Entity getEntitiesOrThrow( + java.lang.String key); /** - * - * *
      * Overall conversation-level sentiment for each channel of the call.
      * 
* - * - * repeated .google.cloud.contactcenterinsights.v1.ConversationLevelSentiment sentiments = 4; - * + * repeated .google.cloud.contactcenterinsights.v1.ConversationLevelSentiment sentiments = 4; */ - java.util.List + java.util.List getSentimentsList(); /** - * - * *
      * Overall conversation-level sentiment for each channel of the call.
      * 
* - * - * repeated .google.cloud.contactcenterinsights.v1.ConversationLevelSentiment sentiments = 4; - * + * repeated .google.cloud.contactcenterinsights.v1.ConversationLevelSentiment sentiments = 4; */ com.google.cloud.contactcenterinsights.v1.ConversationLevelSentiment getSentiments(int index); /** - * - * *
      * Overall conversation-level sentiment for each channel of the call.
      * 
* - * - * repeated .google.cloud.contactcenterinsights.v1.ConversationLevelSentiment sentiments = 4; - * + * repeated .google.cloud.contactcenterinsights.v1.ConversationLevelSentiment sentiments = 4; */ int getSentimentsCount(); /** - * - * *
      * Overall conversation-level sentiment for each channel of the call.
      * 
* - * - * repeated .google.cloud.contactcenterinsights.v1.ConversationLevelSentiment sentiments = 4; - * + * repeated .google.cloud.contactcenterinsights.v1.ConversationLevelSentiment sentiments = 4; */ - java.util.List< - ? extends com.google.cloud.contactcenterinsights.v1.ConversationLevelSentimentOrBuilder> + java.util.List getSentimentsOrBuilderList(); /** - * - * *
      * Overall conversation-level sentiment for each channel of the call.
      * 
* - * - * repeated .google.cloud.contactcenterinsights.v1.ConversationLevelSentiment sentiments = 4; - * + * repeated .google.cloud.contactcenterinsights.v1.ConversationLevelSentiment sentiments = 4; */ - com.google.cloud.contactcenterinsights.v1.ConversationLevelSentimentOrBuilder - getSentimentsOrBuilder(int index); + com.google.cloud.contactcenterinsights.v1.ConversationLevelSentimentOrBuilder getSentimentsOrBuilder( + int index); /** - * - * *
      * All the matched intents in the call.
      * 
@@ -258,21 +202,21 @@ com.google.cloud.contactcenterinsights.v1.Entity getEntitiesOrDefault( */ int getIntentsCount(); /** - * - * *
      * All the matched intents in the call.
      * 
* * map<string, .google.cloud.contactcenterinsights.v1.Intent> intents = 6; */ - boolean containsIntents(java.lang.String key); - /** Use {@link #getIntentsMap()} instead. */ + boolean containsIntents( + java.lang.String key); + /** + * Use {@link #getIntentsMap()} instead. + */ @java.lang.Deprecated - java.util.Map getIntents(); + java.util.Map + getIntents(); /** - * - * *
      * All the matched intents in the call.
      * 
@@ -280,10 +224,8 @@ com.google.cloud.contactcenterinsights.v1.Entity getEntitiesOrDefault( * map<string, .google.cloud.contactcenterinsights.v1.Intent> intents = 6; */ java.util.Map - getIntentsMap(); + getIntentsMap(); /** - * - * *
      * All the matched intents in the call.
      * 
@@ -291,147 +233,117 @@ com.google.cloud.contactcenterinsights.v1.Entity getEntitiesOrDefault( * map<string, .google.cloud.contactcenterinsights.v1.Intent> intents = 6; */ /* nullable */ - com.google.cloud.contactcenterinsights.v1.Intent getIntentsOrDefault( +com.google.cloud.contactcenterinsights.v1.Intent getIntentsOrDefault( java.lang.String key, /* nullable */ - com.google.cloud.contactcenterinsights.v1.Intent defaultValue); +com.google.cloud.contactcenterinsights.v1.Intent defaultValue); /** - * - * *
      * All the matched intents in the call.
      * 
* * map<string, .google.cloud.contactcenterinsights.v1.Intent> intents = 6; */ - com.google.cloud.contactcenterinsights.v1.Intent getIntentsOrThrow(java.lang.String key); + com.google.cloud.contactcenterinsights.v1.Intent getIntentsOrThrow( + java.lang.String key); /** - * - * *
      * All the matched phrase matchers in the call.
      * 
* - * - * map<string, .google.cloud.contactcenterinsights.v1.PhraseMatchData> phrase_matchers = 7; - * + * map<string, .google.cloud.contactcenterinsights.v1.PhraseMatchData> phrase_matchers = 7; */ int getPhraseMatchersCount(); /** - * - * *
      * All the matched phrase matchers in the call.
      * 
* - * - * map<string, .google.cloud.contactcenterinsights.v1.PhraseMatchData> phrase_matchers = 7; - * + * map<string, .google.cloud.contactcenterinsights.v1.PhraseMatchData> phrase_matchers = 7; + */ + boolean containsPhraseMatchers( + java.lang.String key); + /** + * Use {@link #getPhraseMatchersMap()} instead. */ - boolean containsPhraseMatchers(java.lang.String key); - /** Use {@link #getPhraseMatchersMap()} instead. */ @java.lang.Deprecated java.util.Map - getPhraseMatchers(); + getPhraseMatchers(); /** - * - * *
      * All the matched phrase matchers in the call.
      * 
* - * - * map<string, .google.cloud.contactcenterinsights.v1.PhraseMatchData> phrase_matchers = 7; - * + * map<string, .google.cloud.contactcenterinsights.v1.PhraseMatchData> phrase_matchers = 7; */ java.util.Map - getPhraseMatchersMap(); + getPhraseMatchersMap(); /** - * - * *
      * All the matched phrase matchers in the call.
      * 
* - * - * map<string, .google.cloud.contactcenterinsights.v1.PhraseMatchData> phrase_matchers = 7; - * + * map<string, .google.cloud.contactcenterinsights.v1.PhraseMatchData> phrase_matchers = 7; */ /* nullable */ - com.google.cloud.contactcenterinsights.v1.PhraseMatchData getPhraseMatchersOrDefault( +com.google.cloud.contactcenterinsights.v1.PhraseMatchData getPhraseMatchersOrDefault( java.lang.String key, /* nullable */ - com.google.cloud.contactcenterinsights.v1.PhraseMatchData defaultValue); +com.google.cloud.contactcenterinsights.v1.PhraseMatchData defaultValue); /** - * - * *
      * All the matched phrase matchers in the call.
      * 
* - * - * map<string, .google.cloud.contactcenterinsights.v1.PhraseMatchData> phrase_matchers = 7; - * + * map<string, .google.cloud.contactcenterinsights.v1.PhraseMatchData> phrase_matchers = 7; */ com.google.cloud.contactcenterinsights.v1.PhraseMatchData getPhraseMatchersOrThrow( java.lang.String key); /** - * - * *
      * Overall conversation-level issue modeling result.
      * 
* * .google.cloud.contactcenterinsights.v1.IssueModelResult issue_model_result = 8; - * * @return Whether the issueModelResult field is set. */ boolean hasIssueModelResult(); /** - * - * *
      * Overall conversation-level issue modeling result.
      * 
* * .google.cloud.contactcenterinsights.v1.IssueModelResult issue_model_result = 8; - * * @return The issueModelResult. */ com.google.cloud.contactcenterinsights.v1.IssueModelResult getIssueModelResult(); /** - * - * *
      * Overall conversation-level issue modeling result.
      * 
* * .google.cloud.contactcenterinsights.v1.IssueModelResult issue_model_result = 8; */ - com.google.cloud.contactcenterinsights.v1.IssueModelResultOrBuilder - getIssueModelResultOrBuilder(); + com.google.cloud.contactcenterinsights.v1.IssueModelResultOrBuilder getIssueModelResultOrBuilder(); } /** - * - * *
    * Call-specific metadata created during analysis.
    * 
* * Protobuf type {@code google.cloud.contactcenterinsights.v1.AnalysisResult.CallAnalysisMetadata} */ - public static final class CallAnalysisMetadata extends com.google.protobuf.GeneratedMessageV3 - implements + public static final class CallAnalysisMetadata extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.contactcenterinsights.v1.AnalysisResult.CallAnalysisMetadata) CallAnalysisMetadataOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use CallAnalysisMetadata.newBuilder() to construct. private CallAnalysisMetadata(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private CallAnalysisMetadata() { annotations_ = java.util.Collections.emptyList(); sentiments_ = java.util.Collections.emptyList(); @@ -439,23 +351,25 @@ private CallAnalysisMetadata() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new CallAnalysisMetadata(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.contactcenterinsights.v1.ResourcesProto - .internal_static_google_cloud_contactcenterinsights_v1_AnalysisResult_CallAnalysisMetadata_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.contactcenterinsights.v1.ResourcesProto.internal_static_google_cloud_contactcenterinsights_v1_AnalysisResult_CallAnalysisMetadata_descriptor; } @SuppressWarnings({"rawtypes"}) @java.lang.Override - protected com.google.protobuf.MapField internalGetMapField(int number) { + protected com.google.protobuf.MapField internalGetMapField( + int number) { switch (number) { case 3: return internalGetEntities(); @@ -464,28 +378,22 @@ protected com.google.protobuf.MapField internalGetMapField(int number) { case 7: return internalGetPhraseMatchers(); default: - throw new RuntimeException("Invalid map field number: " + number); + throw new RuntimeException( + "Invalid map field number: " + number); } } - @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.contactcenterinsights.v1.ResourcesProto - .internal_static_google_cloud_contactcenterinsights_v1_AnalysisResult_CallAnalysisMetadata_fieldAccessorTable + return com.google.cloud.contactcenterinsights.v1.ResourcesProto.internal_static_google_cloud_contactcenterinsights_v1_AnalysisResult_CallAnalysisMetadata_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.contactcenterinsights.v1.AnalysisResult.CallAnalysisMetadata.class, - com.google.cloud.contactcenterinsights.v1.AnalysisResult.CallAnalysisMetadata.Builder - .class); + com.google.cloud.contactcenterinsights.v1.AnalysisResult.CallAnalysisMetadata.class, com.google.cloud.contactcenterinsights.v1.AnalysisResult.CallAnalysisMetadata.Builder.class); } public static final int ANNOTATIONS_FIELD_NUMBER = 2; - @SuppressWarnings("serial") private java.util.List annotations_; /** - * - * *
      * A list of call annotations that apply to this call.
      * 
@@ -493,13 +401,10 @@ protected com.google.protobuf.MapField internalGetMapField(int number) { * repeated .google.cloud.contactcenterinsights.v1.CallAnnotation annotations = 2; */ @java.lang.Override - public java.util.List - getAnnotationsList() { + public java.util.List getAnnotationsList() { return annotations_; } /** - * - * *
      * A list of call annotations that apply to this call.
      * 
@@ -507,14 +412,11 @@ protected com.google.protobuf.MapField internalGetMapField(int number) { * repeated .google.cloud.contactcenterinsights.v1.CallAnnotation annotations = 2; */ @java.lang.Override - public java.util.List< - ? extends com.google.cloud.contactcenterinsights.v1.CallAnnotationOrBuilder> + public java.util.List getAnnotationsOrBuilderList() { return annotations_; } /** - * - * *
      * A list of call annotations that apply to this call.
      * 
@@ -526,8 +428,6 @@ public int getAnnotationsCount() { return annotations_.size(); } /** - * - * *
      * A list of call annotations that apply to this call.
      * 
@@ -539,8 +439,6 @@ public com.google.cloud.contactcenterinsights.v1.CallAnnotation getAnnotations(i return annotations_.get(index); } /** - * - * *
      * A list of call annotations that apply to this call.
      * 
@@ -548,48 +446,38 @@ public com.google.cloud.contactcenterinsights.v1.CallAnnotation getAnnotations(i * repeated .google.cloud.contactcenterinsights.v1.CallAnnotation annotations = 2; */ @java.lang.Override - public com.google.cloud.contactcenterinsights.v1.CallAnnotationOrBuilder - getAnnotationsOrBuilder(int index) { + public com.google.cloud.contactcenterinsights.v1.CallAnnotationOrBuilder getAnnotationsOrBuilder( + int index) { return annotations_.get(index); } public static final int ENTITIES_FIELD_NUMBER = 3; - private static final class EntitiesDefaultEntryHolder { static final com.google.protobuf.MapEntry< - java.lang.String, com.google.cloud.contactcenterinsights.v1.Entity> - defaultEntry = + java.lang.String, com.google.cloud.contactcenterinsights.v1.Entity> defaultEntry = com.google.protobuf.MapEntry - . - newDefaultInstance( - com.google.cloud.contactcenterinsights.v1.ResourcesProto - .internal_static_google_cloud_contactcenterinsights_v1_AnalysisResult_CallAnalysisMetadata_EntitiesEntry_descriptor, - com.google.protobuf.WireFormat.FieldType.STRING, - "", - com.google.protobuf.WireFormat.FieldType.MESSAGE, - com.google.cloud.contactcenterinsights.v1.Entity.getDefaultInstance()); + .newDefaultInstance( + com.google.cloud.contactcenterinsights.v1.ResourcesProto.internal_static_google_cloud_contactcenterinsights_v1_AnalysisResult_CallAnalysisMetadata_EntitiesEntry_descriptor, + com.google.protobuf.WireFormat.FieldType.STRING, + "", + com.google.protobuf.WireFormat.FieldType.MESSAGE, + com.google.cloud.contactcenterinsights.v1.Entity.getDefaultInstance()); } - @SuppressWarnings("serial") private com.google.protobuf.MapField< - java.lang.String, com.google.cloud.contactcenterinsights.v1.Entity> - entities_; - - private com.google.protobuf.MapField< - java.lang.String, com.google.cloud.contactcenterinsights.v1.Entity> - internalGetEntities() { + java.lang.String, com.google.cloud.contactcenterinsights.v1.Entity> entities_; + private com.google.protobuf.MapField + internalGetEntities() { if (entities_ == null) { - return com.google.protobuf.MapField.emptyMapField(EntitiesDefaultEntryHolder.defaultEntry); + return com.google.protobuf.MapField.emptyMapField( + EntitiesDefaultEntryHolder.defaultEntry); } return entities_; } - public int getEntitiesCount() { return internalGetEntities().getMap().size(); } /** - * - * *
      * All the entities in the call.
      * 
@@ -597,22 +485,20 @@ public int getEntitiesCount() { * map<string, .google.cloud.contactcenterinsights.v1.Entity> entities = 3; */ @java.lang.Override - public boolean containsEntities(java.lang.String key) { - if (key == null) { - throw new NullPointerException("map key"); - } + public boolean containsEntities( + java.lang.String key) { + if (key == null) { throw new NullPointerException("map key"); } return internalGetEntities().getMap().containsKey(key); } - /** Use {@link #getEntitiesMap()} instead. */ + /** + * Use {@link #getEntitiesMap()} instead. + */ @java.lang.Override @java.lang.Deprecated - public java.util.Map - getEntities() { + public java.util.Map getEntities() { return getEntitiesMap(); } /** - * - * *
      * All the entities in the call.
      * 
@@ -620,13 +506,10 @@ public boolean containsEntities(java.lang.String key) { * map<string, .google.cloud.contactcenterinsights.v1.Entity> entities = 3; */ @java.lang.Override - public java.util.Map - getEntitiesMap() { + public java.util.Map getEntitiesMap() { return internalGetEntities().getMap(); } /** - * - * *
      * All the entities in the call.
      * 
@@ -634,20 +517,17 @@ public boolean containsEntities(java.lang.String key) { * map<string, .google.cloud.contactcenterinsights.v1.Entity> entities = 3; */ @java.lang.Override - public /* nullable */ com.google.cloud.contactcenterinsights.v1.Entity getEntitiesOrDefault( + public /* nullable */ +com.google.cloud.contactcenterinsights.v1.Entity getEntitiesOrDefault( java.lang.String key, /* nullable */ - com.google.cloud.contactcenterinsights.v1.Entity defaultValue) { - if (key == null) { - throw new NullPointerException("map key"); - } +com.google.cloud.contactcenterinsights.v1.Entity defaultValue) { + if (key == null) { throw new NullPointerException("map key"); } java.util.Map map = internalGetEntities().getMap(); return map.containsKey(key) ? map.get(key) : defaultValue; } /** - * - * *
      * All the entities in the call.
      * 
@@ -657,9 +537,7 @@ public boolean containsEntities(java.lang.String key) { @java.lang.Override public com.google.cloud.contactcenterinsights.v1.Entity getEntitiesOrThrow( java.lang.String key) { - if (key == null) { - throw new NullPointerException("map key"); - } + if (key == null) { throw new NullPointerException("map key"); } java.util.Map map = internalGetEntities().getMap(); if (!map.containsKey(key)) { @@ -669,128 +547,93 @@ public com.google.cloud.contactcenterinsights.v1.Entity getEntitiesOrThrow( } public static final int SENTIMENTS_FIELD_NUMBER = 4; - @SuppressWarnings("serial") - private java.util.List - sentiments_; + private java.util.List sentiments_; /** - * - * *
      * Overall conversation-level sentiment for each channel of the call.
      * 
* - * - * repeated .google.cloud.contactcenterinsights.v1.ConversationLevelSentiment sentiments = 4; - * + * repeated .google.cloud.contactcenterinsights.v1.ConversationLevelSentiment sentiments = 4; */ @java.lang.Override - public java.util.List - getSentimentsList() { + public java.util.List getSentimentsList() { return sentiments_; } /** - * - * *
      * Overall conversation-level sentiment for each channel of the call.
      * 
* - * - * repeated .google.cloud.contactcenterinsights.v1.ConversationLevelSentiment sentiments = 4; - * + * repeated .google.cloud.contactcenterinsights.v1.ConversationLevelSentiment sentiments = 4; */ @java.lang.Override - public java.util.List< - ? extends com.google.cloud.contactcenterinsights.v1.ConversationLevelSentimentOrBuilder> + public java.util.List getSentimentsOrBuilderList() { return sentiments_; } /** - * - * *
      * Overall conversation-level sentiment for each channel of the call.
      * 
* - * - * repeated .google.cloud.contactcenterinsights.v1.ConversationLevelSentiment sentiments = 4; - * + * repeated .google.cloud.contactcenterinsights.v1.ConversationLevelSentiment sentiments = 4; */ @java.lang.Override public int getSentimentsCount() { return sentiments_.size(); } /** - * - * *
      * Overall conversation-level sentiment for each channel of the call.
      * 
* - * - * repeated .google.cloud.contactcenterinsights.v1.ConversationLevelSentiment sentiments = 4; - * + * repeated .google.cloud.contactcenterinsights.v1.ConversationLevelSentiment sentiments = 4; */ @java.lang.Override - public com.google.cloud.contactcenterinsights.v1.ConversationLevelSentiment getSentiments( - int index) { + public com.google.cloud.contactcenterinsights.v1.ConversationLevelSentiment getSentiments(int index) { return sentiments_.get(index); } /** - * - * *
      * Overall conversation-level sentiment for each channel of the call.
      * 
* - * - * repeated .google.cloud.contactcenterinsights.v1.ConversationLevelSentiment sentiments = 4; - * + * repeated .google.cloud.contactcenterinsights.v1.ConversationLevelSentiment sentiments = 4; */ @java.lang.Override - public com.google.cloud.contactcenterinsights.v1.ConversationLevelSentimentOrBuilder - getSentimentsOrBuilder(int index) { + public com.google.cloud.contactcenterinsights.v1.ConversationLevelSentimentOrBuilder getSentimentsOrBuilder( + int index) { return sentiments_.get(index); } public static final int INTENTS_FIELD_NUMBER = 6; - private static final class IntentsDefaultEntryHolder { static final com.google.protobuf.MapEntry< - java.lang.String, com.google.cloud.contactcenterinsights.v1.Intent> - defaultEntry = + java.lang.String, com.google.cloud.contactcenterinsights.v1.Intent> defaultEntry = com.google.protobuf.MapEntry - . - newDefaultInstance( - com.google.cloud.contactcenterinsights.v1.ResourcesProto - .internal_static_google_cloud_contactcenterinsights_v1_AnalysisResult_CallAnalysisMetadata_IntentsEntry_descriptor, - com.google.protobuf.WireFormat.FieldType.STRING, - "", - com.google.protobuf.WireFormat.FieldType.MESSAGE, - com.google.cloud.contactcenterinsights.v1.Intent.getDefaultInstance()); + .newDefaultInstance( + com.google.cloud.contactcenterinsights.v1.ResourcesProto.internal_static_google_cloud_contactcenterinsights_v1_AnalysisResult_CallAnalysisMetadata_IntentsEntry_descriptor, + com.google.protobuf.WireFormat.FieldType.STRING, + "", + com.google.protobuf.WireFormat.FieldType.MESSAGE, + com.google.cloud.contactcenterinsights.v1.Intent.getDefaultInstance()); } - @SuppressWarnings("serial") private com.google.protobuf.MapField< - java.lang.String, com.google.cloud.contactcenterinsights.v1.Intent> - intents_; - - private com.google.protobuf.MapField< - java.lang.String, com.google.cloud.contactcenterinsights.v1.Intent> - internalGetIntents() { + java.lang.String, com.google.cloud.contactcenterinsights.v1.Intent> intents_; + private com.google.protobuf.MapField + internalGetIntents() { if (intents_ == null) { - return com.google.protobuf.MapField.emptyMapField(IntentsDefaultEntryHolder.defaultEntry); + return com.google.protobuf.MapField.emptyMapField( + IntentsDefaultEntryHolder.defaultEntry); } return intents_; } - public int getIntentsCount() { return internalGetIntents().getMap().size(); } /** - * - * *
      * All the matched intents in the call.
      * 
@@ -798,22 +641,20 @@ public int getIntentsCount() { * map<string, .google.cloud.contactcenterinsights.v1.Intent> intents = 6; */ @java.lang.Override - public boolean containsIntents(java.lang.String key) { - if (key == null) { - throw new NullPointerException("map key"); - } + public boolean containsIntents( + java.lang.String key) { + if (key == null) { throw new NullPointerException("map key"); } return internalGetIntents().getMap().containsKey(key); } - /** Use {@link #getIntentsMap()} instead. */ + /** + * Use {@link #getIntentsMap()} instead. + */ @java.lang.Override @java.lang.Deprecated - public java.util.Map - getIntents() { + public java.util.Map getIntents() { return getIntentsMap(); } /** - * - * *
      * All the matched intents in the call.
      * 
@@ -821,13 +662,10 @@ public boolean containsIntents(java.lang.String key) { * map<string, .google.cloud.contactcenterinsights.v1.Intent> intents = 6; */ @java.lang.Override - public java.util.Map - getIntentsMap() { + public java.util.Map getIntentsMap() { return internalGetIntents().getMap(); } /** - * - * *
      * All the matched intents in the call.
      * 
@@ -835,20 +673,17 @@ public boolean containsIntents(java.lang.String key) { * map<string, .google.cloud.contactcenterinsights.v1.Intent> intents = 6; */ @java.lang.Override - public /* nullable */ com.google.cloud.contactcenterinsights.v1.Intent getIntentsOrDefault( + public /* nullable */ +com.google.cloud.contactcenterinsights.v1.Intent getIntentsOrDefault( java.lang.String key, /* nullable */ - com.google.cloud.contactcenterinsights.v1.Intent defaultValue) { - if (key == null) { - throw new NullPointerException("map key"); - } +com.google.cloud.contactcenterinsights.v1.Intent defaultValue) { + if (key == null) { throw new NullPointerException("map key"); } java.util.Map map = internalGetIntents().getMap(); return map.containsKey(key) ? map.get(key) : defaultValue; } /** - * - * *
      * All the matched intents in the call.
      * 
@@ -858,9 +693,7 @@ public boolean containsIntents(java.lang.String key) { @java.lang.Override public com.google.cloud.contactcenterinsights.v1.Intent getIntentsOrThrow( java.lang.String key) { - if (key == null) { - throw new NullPointerException("map key"); - } + if (key == null) { throw new NullPointerException("map key"); } java.util.Map map = internalGetIntents().getMap(); if (!map.containsKey(key)) { @@ -870,127 +703,94 @@ public com.google.cloud.contactcenterinsights.v1.Intent getIntentsOrThrow( } public static final int PHRASE_MATCHERS_FIELD_NUMBER = 7; - private static final class PhraseMatchersDefaultEntryHolder { static final com.google.protobuf.MapEntry< - java.lang.String, com.google.cloud.contactcenterinsights.v1.PhraseMatchData> - defaultEntry = + java.lang.String, com.google.cloud.contactcenterinsights.v1.PhraseMatchData> defaultEntry = com.google.protobuf.MapEntry - . - newDefaultInstance( - com.google.cloud.contactcenterinsights.v1.ResourcesProto - .internal_static_google_cloud_contactcenterinsights_v1_AnalysisResult_CallAnalysisMetadata_PhraseMatchersEntry_descriptor, - com.google.protobuf.WireFormat.FieldType.STRING, - "", - com.google.protobuf.WireFormat.FieldType.MESSAGE, - com.google.cloud.contactcenterinsights.v1.PhraseMatchData - .getDefaultInstance()); + .newDefaultInstance( + com.google.cloud.contactcenterinsights.v1.ResourcesProto.internal_static_google_cloud_contactcenterinsights_v1_AnalysisResult_CallAnalysisMetadata_PhraseMatchersEntry_descriptor, + com.google.protobuf.WireFormat.FieldType.STRING, + "", + com.google.protobuf.WireFormat.FieldType.MESSAGE, + com.google.cloud.contactcenterinsights.v1.PhraseMatchData.getDefaultInstance()); } - @SuppressWarnings("serial") private com.google.protobuf.MapField< - java.lang.String, com.google.cloud.contactcenterinsights.v1.PhraseMatchData> - phraseMatchers_; - - private com.google.protobuf.MapField< - java.lang.String, com.google.cloud.contactcenterinsights.v1.PhraseMatchData> - internalGetPhraseMatchers() { + java.lang.String, com.google.cloud.contactcenterinsights.v1.PhraseMatchData> phraseMatchers_; + private com.google.protobuf.MapField + internalGetPhraseMatchers() { if (phraseMatchers_ == null) { return com.google.protobuf.MapField.emptyMapField( PhraseMatchersDefaultEntryHolder.defaultEntry); } return phraseMatchers_; } - public int getPhraseMatchersCount() { return internalGetPhraseMatchers().getMap().size(); } /** - * - * *
      * All the matched phrase matchers in the call.
      * 
* - * - * map<string, .google.cloud.contactcenterinsights.v1.PhraseMatchData> phrase_matchers = 7; - * + * map<string, .google.cloud.contactcenterinsights.v1.PhraseMatchData> phrase_matchers = 7; */ @java.lang.Override - public boolean containsPhraseMatchers(java.lang.String key) { - if (key == null) { - throw new NullPointerException("map key"); - } + public boolean containsPhraseMatchers( + java.lang.String key) { + if (key == null) { throw new NullPointerException("map key"); } return internalGetPhraseMatchers().getMap().containsKey(key); } - /** Use {@link #getPhraseMatchersMap()} instead. */ + /** + * Use {@link #getPhraseMatchersMap()} instead. + */ @java.lang.Override @java.lang.Deprecated - public java.util.Map< - java.lang.String, com.google.cloud.contactcenterinsights.v1.PhraseMatchData> - getPhraseMatchers() { + public java.util.Map getPhraseMatchers() { return getPhraseMatchersMap(); } /** - * - * *
      * All the matched phrase matchers in the call.
      * 
* - * - * map<string, .google.cloud.contactcenterinsights.v1.PhraseMatchData> phrase_matchers = 7; - * + * map<string, .google.cloud.contactcenterinsights.v1.PhraseMatchData> phrase_matchers = 7; */ @java.lang.Override - public java.util.Map< - java.lang.String, com.google.cloud.contactcenterinsights.v1.PhraseMatchData> - getPhraseMatchersMap() { + public java.util.Map getPhraseMatchersMap() { return internalGetPhraseMatchers().getMap(); } /** - * - * *
      * All the matched phrase matchers in the call.
      * 
* - * - * map<string, .google.cloud.contactcenterinsights.v1.PhraseMatchData> phrase_matchers = 7; - * + * map<string, .google.cloud.contactcenterinsights.v1.PhraseMatchData> phrase_matchers = 7; */ @java.lang.Override - public /* nullable */ com.google.cloud.contactcenterinsights.v1.PhraseMatchData - getPhraseMatchersOrDefault( - java.lang.String key, - /* nullable */ - com.google.cloud.contactcenterinsights.v1.PhraseMatchData defaultValue) { - if (key == null) { - throw new NullPointerException("map key"); - } - java.util.Map - map = internalGetPhraseMatchers().getMap(); + public /* nullable */ +com.google.cloud.contactcenterinsights.v1.PhraseMatchData getPhraseMatchersOrDefault( + java.lang.String key, + /* nullable */ +com.google.cloud.contactcenterinsights.v1.PhraseMatchData defaultValue) { + if (key == null) { throw new NullPointerException("map key"); } + java.util.Map map = + internalGetPhraseMatchers().getMap(); return map.containsKey(key) ? map.get(key) : defaultValue; } /** - * - * *
      * All the matched phrase matchers in the call.
      * 
* - * - * map<string, .google.cloud.contactcenterinsights.v1.PhraseMatchData> phrase_matchers = 7; - * + * map<string, .google.cloud.contactcenterinsights.v1.PhraseMatchData> phrase_matchers = 7; */ @java.lang.Override public com.google.cloud.contactcenterinsights.v1.PhraseMatchData getPhraseMatchersOrThrow( java.lang.String key) { - if (key == null) { - throw new NullPointerException("map key"); - } - java.util.Map - map = internalGetPhraseMatchers().getMap(); + if (key == null) { throw new NullPointerException("map key"); } + java.util.Map map = + internalGetPhraseMatchers().getMap(); if (!map.containsKey(key)) { throw new java.lang.IllegalArgumentException(); } @@ -1000,14 +800,11 @@ public com.google.cloud.contactcenterinsights.v1.PhraseMatchData getPhraseMatche public static final int ISSUE_MODEL_RESULT_FIELD_NUMBER = 8; private com.google.cloud.contactcenterinsights.v1.IssueModelResult issueModelResult_; /** - * - * *
      * Overall conversation-level issue modeling result.
      * 
* * .google.cloud.contactcenterinsights.v1.IssueModelResult issue_model_result = 8; - * * @return Whether the issueModelResult field is set. */ @java.lang.Override @@ -1015,25 +812,18 @@ public boolean hasIssueModelResult() { return issueModelResult_ != null; } /** - * - * *
      * Overall conversation-level issue modeling result.
      * 
* * .google.cloud.contactcenterinsights.v1.IssueModelResult issue_model_result = 8; - * * @return The issueModelResult. */ @java.lang.Override public com.google.cloud.contactcenterinsights.v1.IssueModelResult getIssueModelResult() { - return issueModelResult_ == null - ? com.google.cloud.contactcenterinsights.v1.IssueModelResult.getDefaultInstance() - : issueModelResult_; + return issueModelResult_ == null ? com.google.cloud.contactcenterinsights.v1.IssueModelResult.getDefaultInstance() : issueModelResult_; } /** - * - * *
      * Overall conversation-level issue modeling result.
      * 
@@ -1041,15 +831,11 @@ public com.google.cloud.contactcenterinsights.v1.IssueModelResult getIssueModelR * .google.cloud.contactcenterinsights.v1.IssueModelResult issue_model_result = 8; */ @java.lang.Override - public com.google.cloud.contactcenterinsights.v1.IssueModelResultOrBuilder - getIssueModelResultOrBuilder() { - return issueModelResult_ == null - ? com.google.cloud.contactcenterinsights.v1.IssueModelResult.getDefaultInstance() - : issueModelResult_; + public com.google.cloud.contactcenterinsights.v1.IssueModelResultOrBuilder getIssueModelResultOrBuilder() { + return issueModelResult_ == null ? com.google.cloud.contactcenterinsights.v1.IssueModelResult.getDefaultInstance() : issueModelResult_; } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -1061,19 +847,32 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { for (int i = 0; i < annotations_.size(); i++) { output.writeMessage(2, annotations_.get(i)); } - com.google.protobuf.GeneratedMessageV3.serializeStringMapTo( - output, internalGetEntities(), EntitiesDefaultEntryHolder.defaultEntry, 3); + com.google.protobuf.GeneratedMessageV3 + .serializeStringMapTo( + output, + internalGetEntities(), + EntitiesDefaultEntryHolder.defaultEntry, + 3); for (int i = 0; i < sentiments_.size(); i++) { output.writeMessage(4, sentiments_.get(i)); } - com.google.protobuf.GeneratedMessageV3.serializeStringMapTo( - output, internalGetIntents(), IntentsDefaultEntryHolder.defaultEntry, 6); - com.google.protobuf.GeneratedMessageV3.serializeStringMapTo( - output, internalGetPhraseMatchers(), PhraseMatchersDefaultEntryHolder.defaultEntry, 7); + com.google.protobuf.GeneratedMessageV3 + .serializeStringMapTo( + output, + internalGetIntents(), + IntentsDefaultEntryHolder.defaultEntry, + 6); + com.google.protobuf.GeneratedMessageV3 + .serializeStringMapTo( + output, + internalGetPhraseMatchers(), + PhraseMatchersDefaultEntryHolder.defaultEntry, + 7); if (issueModelResult_ != null) { output.writeMessage(8, getIssueModelResult()); } @@ -1087,50 +886,46 @@ public int getSerializedSize() { size = 0; for (int i = 0; i < annotations_.size(); i++) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, annotations_.get(i)); - } - for (java.util.Map.Entry - entry : internalGetEntities().getMap().entrySet()) { - com.google.protobuf.MapEntry< - java.lang.String, com.google.cloud.contactcenterinsights.v1.Entity> - entities__ = - EntitiesDefaultEntryHolder.defaultEntry - .newBuilderForType() - .setKey(entry.getKey()) - .setValue(entry.getValue()) - .build(); - size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, entities__); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, annotations_.get(i)); + } + for (java.util.Map.Entry entry + : internalGetEntities().getMap().entrySet()) { + com.google.protobuf.MapEntry + entities__ = EntitiesDefaultEntryHolder.defaultEntry.newBuilderForType() + .setKey(entry.getKey()) + .setValue(entry.getValue()) + .build(); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(3, entities__); } for (int i = 0; i < sentiments_.size(); i++) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(4, sentiments_.get(i)); - } - for (java.util.Map.Entry - entry : internalGetIntents().getMap().entrySet()) { - com.google.protobuf.MapEntry< - java.lang.String, com.google.cloud.contactcenterinsights.v1.Intent> - intents__ = - IntentsDefaultEntryHolder.defaultEntry - .newBuilderForType() - .setKey(entry.getKey()) - .setValue(entry.getValue()) - .build(); - size += com.google.protobuf.CodedOutputStream.computeMessageSize(6, intents__); - } - for (java.util.Map.Entry< - java.lang.String, com.google.cloud.contactcenterinsights.v1.PhraseMatchData> - entry : internalGetPhraseMatchers().getMap().entrySet()) { - com.google.protobuf.MapEntry< - java.lang.String, com.google.cloud.contactcenterinsights.v1.PhraseMatchData> - phraseMatchers__ = - PhraseMatchersDefaultEntryHolder.defaultEntry - .newBuilderForType() - .setKey(entry.getKey()) - .setValue(entry.getValue()) - .build(); - size += com.google.protobuf.CodedOutputStream.computeMessageSize(7, phraseMatchers__); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(4, sentiments_.get(i)); + } + for (java.util.Map.Entry entry + : internalGetIntents().getMap().entrySet()) { + com.google.protobuf.MapEntry + intents__ = IntentsDefaultEntryHolder.defaultEntry.newBuilderForType() + .setKey(entry.getKey()) + .setValue(entry.getValue()) + .build(); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(6, intents__); + } + for (java.util.Map.Entry entry + : internalGetPhraseMatchers().getMap().entrySet()) { + com.google.protobuf.MapEntry + phraseMatchers__ = PhraseMatchersDefaultEntryHolder.defaultEntry.newBuilderForType() + .setKey(entry.getKey()) + .setValue(entry.getValue()) + .build(); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(7, phraseMatchers__); } if (issueModelResult_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(8, getIssueModelResult()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(8, getIssueModelResult()); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -1140,24 +935,27 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } - if (!(obj - instanceof - com.google.cloud.contactcenterinsights.v1.AnalysisResult.CallAnalysisMetadata)) { + if (!(obj instanceof com.google.cloud.contactcenterinsights.v1.AnalysisResult.CallAnalysisMetadata)) { return super.equals(obj); } - com.google.cloud.contactcenterinsights.v1.AnalysisResult.CallAnalysisMetadata other = - (com.google.cloud.contactcenterinsights.v1.AnalysisResult.CallAnalysisMetadata) obj; - - if (!getAnnotationsList().equals(other.getAnnotationsList())) return false; - if (!internalGetEntities().equals(other.internalGetEntities())) return false; - if (!getSentimentsList().equals(other.getSentimentsList())) return false; - if (!internalGetIntents().equals(other.internalGetIntents())) return false; - if (!internalGetPhraseMatchers().equals(other.internalGetPhraseMatchers())) return false; + com.google.cloud.contactcenterinsights.v1.AnalysisResult.CallAnalysisMetadata other = (com.google.cloud.contactcenterinsights.v1.AnalysisResult.CallAnalysisMetadata) obj; + + if (!getAnnotationsList() + .equals(other.getAnnotationsList())) return false; + if (!internalGetEntities().equals( + other.internalGetEntities())) return false; + if (!getSentimentsList() + .equals(other.getSentimentsList())) return false; + if (!internalGetIntents().equals( + other.internalGetIntents())) return false; + if (!internalGetPhraseMatchers().equals( + other.internalGetPhraseMatchers())) return false; if (hasIssueModelResult() != other.hasIssueModelResult()) return false; if (hasIssueModelResult()) { - if (!getIssueModelResult().equals(other.getIssueModelResult())) return false; + if (!getIssueModelResult() + .equals(other.getIssueModelResult())) return false; } if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -1199,101 +997,88 @@ public int hashCode() { return hash; } - public static com.google.cloud.contactcenterinsights.v1.AnalysisResult.CallAnalysisMetadata - parseFrom(java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.contactcenterinsights.v1.AnalysisResult.CallAnalysisMetadata parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - - public static com.google.cloud.contactcenterinsights.v1.AnalysisResult.CallAnalysisMetadata - parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.contactcenterinsights.v1.AnalysisResult.CallAnalysisMetadata parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.contactcenterinsights.v1.AnalysisResult.CallAnalysisMetadata - parseFrom(com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.contactcenterinsights.v1.AnalysisResult.CallAnalysisMetadata parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - - public static com.google.cloud.contactcenterinsights.v1.AnalysisResult.CallAnalysisMetadata - parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.contactcenterinsights.v1.AnalysisResult.CallAnalysisMetadata parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.contactcenterinsights.v1.AnalysisResult.CallAnalysisMetadata - parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.contactcenterinsights.v1.AnalysisResult.CallAnalysisMetadata parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - - public static com.google.cloud.contactcenterinsights.v1.AnalysisResult.CallAnalysisMetadata - parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.contactcenterinsights.v1.AnalysisResult.CallAnalysisMetadata parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.contactcenterinsights.v1.AnalysisResult.CallAnalysisMetadata - parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.contactcenterinsights.v1.AnalysisResult.CallAnalysisMetadata parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - - public static com.google.cloud.contactcenterinsights.v1.AnalysisResult.CallAnalysisMetadata - parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + public static com.google.cloud.contactcenterinsights.v1.AnalysisResult.CallAnalysisMetadata parseFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.contactcenterinsights.v1.AnalysisResult.CallAnalysisMetadata - parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.contactcenterinsights.v1.AnalysisResult.CallAnalysisMetadata parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - - public static com.google.cloud.contactcenterinsights.v1.AnalysisResult.CallAnalysisMetadata - parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + public static com.google.cloud.contactcenterinsights.v1.AnalysisResult.CallAnalysisMetadata parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.contactcenterinsights.v1.AnalysisResult.CallAnalysisMetadata - parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.contactcenterinsights.v1.AnalysisResult.CallAnalysisMetadata parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - - public static com.google.cloud.contactcenterinsights.v1.AnalysisResult.CallAnalysisMetadata - parseFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + public static com.google.cloud.contactcenterinsights.v1.AnalysisResult.CallAnalysisMetadata parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.contactcenterinsights.v1.AnalysisResult.CallAnalysisMetadata prototype) { + public static Builder newBuilder(com.google.cloud.contactcenterinsights.v1.AnalysisResult.CallAnalysisMetadata prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -1303,27 +1088,24 @@ protected Builder newBuilderForType( return builder; } /** - * - * *
      * Call-specific metadata created during analysis.
      * 
* - * Protobuf type {@code - * google.cloud.contactcenterinsights.v1.AnalysisResult.CallAnalysisMetadata} + * Protobuf type {@code google.cloud.contactcenterinsights.v1.AnalysisResult.CallAnalysisMetadata} */ - public static final class Builder - extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.contactcenterinsights.v1.AnalysisResult.CallAnalysisMetadata) com.google.cloud.contactcenterinsights.v1.AnalysisResult.CallAnalysisMetadataOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.contactcenterinsights.v1.ResourcesProto - .internal_static_google_cloud_contactcenterinsights_v1_AnalysisResult_CallAnalysisMetadata_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.contactcenterinsights.v1.ResourcesProto.internal_static_google_cloud_contactcenterinsights_v1_AnalysisResult_CallAnalysisMetadata_descriptor; } @SuppressWarnings({"rawtypes"}) - protected com.google.protobuf.MapField internalGetMapField(int number) { + protected com.google.protobuf.MapField internalGetMapField( + int number) { switch (number) { case 3: return internalGetEntities(); @@ -1332,12 +1114,13 @@ protected com.google.protobuf.MapField internalGetMapField(int number) { case 7: return internalGetPhraseMatchers(); default: - throw new RuntimeException("Invalid map field number: " + number); + throw new RuntimeException( + "Invalid map field number: " + number); } } - @SuppressWarnings({"rawtypes"}) - protected com.google.protobuf.MapField internalGetMutableMapField(int number) { + protected com.google.protobuf.MapField internalGetMutableMapField( + int number) { switch (number) { case 3: return internalGetMutableEntities(); @@ -1346,29 +1129,28 @@ protected com.google.protobuf.MapField internalGetMutableMapField(int number) { case 7: return internalGetMutablePhraseMatchers(); default: - throw new RuntimeException("Invalid map field number: " + number); + throw new RuntimeException( + "Invalid map field number: " + number); } } - @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.contactcenterinsights.v1.ResourcesProto - .internal_static_google_cloud_contactcenterinsights_v1_AnalysisResult_CallAnalysisMetadata_fieldAccessorTable + return com.google.cloud.contactcenterinsights.v1.ResourcesProto.internal_static_google_cloud_contactcenterinsights_v1_AnalysisResult_CallAnalysisMetadata_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.contactcenterinsights.v1.AnalysisResult.CallAnalysisMetadata.class, - com.google.cloud.contactcenterinsights.v1.AnalysisResult.CallAnalysisMetadata - .Builder.class); + com.google.cloud.contactcenterinsights.v1.AnalysisResult.CallAnalysisMetadata.class, com.google.cloud.contactcenterinsights.v1.AnalysisResult.CallAnalysisMetadata.Builder.class); } - // Construct using - // com.google.cloud.contactcenterinsights.v1.AnalysisResult.CallAnalysisMetadata.newBuilder() - private Builder() {} + // Construct using com.google.cloud.contactcenterinsights.v1.AnalysisResult.CallAnalysisMetadata.newBuilder() + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -1399,22 +1181,19 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.contactcenterinsights.v1.ResourcesProto - .internal_static_google_cloud_contactcenterinsights_v1_AnalysisResult_CallAnalysisMetadata_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.contactcenterinsights.v1.ResourcesProto.internal_static_google_cloud_contactcenterinsights_v1_AnalysisResult_CallAnalysisMetadata_descriptor; } @java.lang.Override - public com.google.cloud.contactcenterinsights.v1.AnalysisResult.CallAnalysisMetadata - getDefaultInstanceForType() { - return com.google.cloud.contactcenterinsights.v1.AnalysisResult.CallAnalysisMetadata - .getDefaultInstance(); + public com.google.cloud.contactcenterinsights.v1.AnalysisResult.CallAnalysisMetadata getDefaultInstanceForType() { + return com.google.cloud.contactcenterinsights.v1.AnalysisResult.CallAnalysisMetadata.getDefaultInstance(); } @java.lang.Override public com.google.cloud.contactcenterinsights.v1.AnalysisResult.CallAnalysisMetadata build() { - com.google.cloud.contactcenterinsights.v1.AnalysisResult.CallAnalysisMetadata result = - buildPartial(); + com.google.cloud.contactcenterinsights.v1.AnalysisResult.CallAnalysisMetadata result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } @@ -1422,20 +1201,15 @@ public com.google.cloud.contactcenterinsights.v1.AnalysisResult.CallAnalysisMeta } @java.lang.Override - public com.google.cloud.contactcenterinsights.v1.AnalysisResult.CallAnalysisMetadata - buildPartial() { - com.google.cloud.contactcenterinsights.v1.AnalysisResult.CallAnalysisMetadata result = - new com.google.cloud.contactcenterinsights.v1.AnalysisResult.CallAnalysisMetadata(this); + public com.google.cloud.contactcenterinsights.v1.AnalysisResult.CallAnalysisMetadata buildPartial() { + com.google.cloud.contactcenterinsights.v1.AnalysisResult.CallAnalysisMetadata result = new com.google.cloud.contactcenterinsights.v1.AnalysisResult.CallAnalysisMetadata(this); buildPartialRepeatedFields(result); - if (bitField0_ != 0) { - buildPartial0(result); - } + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } - private void buildPartialRepeatedFields( - com.google.cloud.contactcenterinsights.v1.AnalysisResult.CallAnalysisMetadata result) { + private void buildPartialRepeatedFields(com.google.cloud.contactcenterinsights.v1.AnalysisResult.CallAnalysisMetadata result) { if (annotationsBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { annotations_ = java.util.Collections.unmodifiableList(annotations_); @@ -1456,8 +1230,7 @@ private void buildPartialRepeatedFields( } } - private void buildPartial0( - com.google.cloud.contactcenterinsights.v1.AnalysisResult.CallAnalysisMetadata result) { + private void buildPartial0(com.google.cloud.contactcenterinsights.v1.AnalysisResult.CallAnalysisMetadata result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000002) != 0)) { result.entities_ = internalGetEntities(); @@ -1472,10 +1245,9 @@ private void buildPartial0( result.phraseMatchers_.makeImmutable(); } if (((from_bitField0_ & 0x00000020) != 0)) { - result.issueModelResult_ = - issueModelResultBuilder_ == null - ? issueModelResult_ - : issueModelResultBuilder_.build(); + result.issueModelResult_ = issueModelResultBuilder_ == null + ? issueModelResult_ + : issueModelResultBuilder_.build(); } } @@ -1483,56 +1255,46 @@ private void buildPartial0( public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, - int index, - java.lang.Object value) { + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { - if (other - instanceof - com.google.cloud.contactcenterinsights.v1.AnalysisResult.CallAnalysisMetadata) { - return mergeFrom( - (com.google.cloud.contactcenterinsights.v1.AnalysisResult.CallAnalysisMetadata) - other); + if (other instanceof com.google.cloud.contactcenterinsights.v1.AnalysisResult.CallAnalysisMetadata) { + return mergeFrom((com.google.cloud.contactcenterinsights.v1.AnalysisResult.CallAnalysisMetadata)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom( - com.google.cloud.contactcenterinsights.v1.AnalysisResult.CallAnalysisMetadata other) { - if (other - == com.google.cloud.contactcenterinsights.v1.AnalysisResult.CallAnalysisMetadata - .getDefaultInstance()) return this; + public Builder mergeFrom(com.google.cloud.contactcenterinsights.v1.AnalysisResult.CallAnalysisMetadata other) { + if (other == com.google.cloud.contactcenterinsights.v1.AnalysisResult.CallAnalysisMetadata.getDefaultInstance()) return this; if (annotationsBuilder_ == null) { if (!other.annotations_.isEmpty()) { if (annotations_.isEmpty()) { @@ -1551,16 +1313,16 @@ public Builder mergeFrom( annotationsBuilder_ = null; annotations_ = other.annotations_; bitField0_ = (bitField0_ & ~0x00000001); - annotationsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders - ? getAnnotationsFieldBuilder() - : null; + annotationsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getAnnotationsFieldBuilder() : null; } else { annotationsBuilder_.addAllMessages(other.annotations_); } } } - internalGetMutableEntities().mergeFrom(other.internalGetEntities()); + internalGetMutableEntities().mergeFrom( + other.internalGetEntities()); bitField0_ |= 0x00000002; if (sentimentsBuilder_ == null) { if (!other.sentiments_.isEmpty()) { @@ -1580,18 +1342,19 @@ public Builder mergeFrom( sentimentsBuilder_ = null; sentiments_ = other.sentiments_; bitField0_ = (bitField0_ & ~0x00000004); - sentimentsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders - ? getSentimentsFieldBuilder() - : null; + sentimentsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getSentimentsFieldBuilder() : null; } else { sentimentsBuilder_.addAllMessages(other.sentiments_); } } } - internalGetMutableIntents().mergeFrom(other.internalGetIntents()); + internalGetMutableIntents().mergeFrom( + other.internalGetIntents()); bitField0_ |= 0x00000008; - internalGetMutablePhraseMatchers().mergeFrom(other.internalGetPhraseMatchers()); + internalGetMutablePhraseMatchers().mergeFrom( + other.internalGetPhraseMatchers()); bitField0_ |= 0x00000010; if (other.hasIssueModelResult()) { mergeIssueModelResult(other.getIssueModelResult()); @@ -1622,92 +1385,72 @@ public Builder mergeFrom( case 0: done = true; break; - case 18: - { - com.google.cloud.contactcenterinsights.v1.CallAnnotation m = - input.readMessage( - com.google.cloud.contactcenterinsights.v1.CallAnnotation.parser(), - extensionRegistry); - if (annotationsBuilder_ == null) { - ensureAnnotationsIsMutable(); - annotations_.add(m); - } else { - annotationsBuilder_.addMessage(m); - } - break; - } // case 18 - case 26: - { - com.google.protobuf.MapEntry< - java.lang.String, com.google.cloud.contactcenterinsights.v1.Entity> - entities__ = - input.readMessage( - EntitiesDefaultEntryHolder.defaultEntry.getParserForType(), - extensionRegistry); - internalGetMutableEntities() - .getMutableMap() - .put(entities__.getKey(), entities__.getValue()); - bitField0_ |= 0x00000002; - break; - } // case 26 - case 34: - { - com.google.cloud.contactcenterinsights.v1.ConversationLevelSentiment m = - input.readMessage( - com.google.cloud.contactcenterinsights.v1.ConversationLevelSentiment - .parser(), - extensionRegistry); - if (sentimentsBuilder_ == null) { - ensureSentimentsIsMutable(); - sentiments_.add(m); - } else { - sentimentsBuilder_.addMessage(m); - } - break; - } // case 34 - case 50: - { - com.google.protobuf.MapEntry< - java.lang.String, com.google.cloud.contactcenterinsights.v1.Intent> - intents__ = - input.readMessage( - IntentsDefaultEntryHolder.defaultEntry.getParserForType(), - extensionRegistry); - internalGetMutableIntents() - .getMutableMap() - .put(intents__.getKey(), intents__.getValue()); - bitField0_ |= 0x00000008; - break; - } // case 50 - case 58: - { - com.google.protobuf.MapEntry< - java.lang.String, - com.google.cloud.contactcenterinsights.v1.PhraseMatchData> - phraseMatchers__ = - input.readMessage( - PhraseMatchersDefaultEntryHolder.defaultEntry.getParserForType(), - extensionRegistry); - internalGetMutablePhraseMatchers() - .getMutableMap() - .put(phraseMatchers__.getKey(), phraseMatchers__.getValue()); - bitField0_ |= 0x00000010; - break; - } // case 58 - case 66: - { - input.readMessage( - getIssueModelResultFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00000020; - break; - } // case 66 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 18: { + com.google.cloud.contactcenterinsights.v1.CallAnnotation m = + input.readMessage( + com.google.cloud.contactcenterinsights.v1.CallAnnotation.parser(), + extensionRegistry); + if (annotationsBuilder_ == null) { + ensureAnnotationsIsMutable(); + annotations_.add(m); + } else { + annotationsBuilder_.addMessage(m); + } + break; + } // case 18 + case 26: { + com.google.protobuf.MapEntry + entities__ = input.readMessage( + EntitiesDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry); + internalGetMutableEntities().getMutableMap().put( + entities__.getKey(), entities__.getValue()); + bitField0_ |= 0x00000002; + break; + } // case 26 + case 34: { + com.google.cloud.contactcenterinsights.v1.ConversationLevelSentiment m = + input.readMessage( + com.google.cloud.contactcenterinsights.v1.ConversationLevelSentiment.parser(), + extensionRegistry); + if (sentimentsBuilder_ == null) { + ensureSentimentsIsMutable(); + sentiments_.add(m); + } else { + sentimentsBuilder_.addMessage(m); + } + break; + } // case 34 + case 50: { + com.google.protobuf.MapEntry + intents__ = input.readMessage( + IntentsDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry); + internalGetMutableIntents().getMutableMap().put( + intents__.getKey(), intents__.getValue()); + bitField0_ |= 0x00000008; + break; + } // case 50 + case 58: { + com.google.protobuf.MapEntry + phraseMatchers__ = input.readMessage( + PhraseMatchersDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry); + internalGetMutablePhraseMatchers().getMutableMap().put( + phraseMatchers__.getKey(), phraseMatchers__.getValue()); + bitField0_ |= 0x00000010; + break; + } // case 58 + case 66: { + input.readMessage( + getIssueModelResultFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00000020; + break; + } // case 66 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -1717,39 +1460,28 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; - private java.util.List - annotations_ = java.util.Collections.emptyList(); - + private java.util.List annotations_ = + java.util.Collections.emptyList(); private void ensureAnnotationsIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { - annotations_ = - new java.util.ArrayList( - annotations_); + annotations_ = new java.util.ArrayList(annotations_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.contactcenterinsights.v1.CallAnnotation, - com.google.cloud.contactcenterinsights.v1.CallAnnotation.Builder, - com.google.cloud.contactcenterinsights.v1.CallAnnotationOrBuilder> - annotationsBuilder_; + com.google.cloud.contactcenterinsights.v1.CallAnnotation, com.google.cloud.contactcenterinsights.v1.CallAnnotation.Builder, com.google.cloud.contactcenterinsights.v1.CallAnnotationOrBuilder> annotationsBuilder_; /** - * - * *
        * A list of call annotations that apply to this call.
        * 
* - * repeated .google.cloud.contactcenterinsights.v1.CallAnnotation annotations = 2; - * + * repeated .google.cloud.contactcenterinsights.v1.CallAnnotation annotations = 2; */ - public java.util.List - getAnnotationsList() { + public java.util.List getAnnotationsList() { if (annotationsBuilder_ == null) { return java.util.Collections.unmodifiableList(annotations_); } else { @@ -1757,14 +1489,11 @@ private void ensureAnnotationsIsMutable() { } } /** - * - * *
        * A list of call annotations that apply to this call.
        * 
* - * repeated .google.cloud.contactcenterinsights.v1.CallAnnotation annotations = 2; - * + * repeated .google.cloud.contactcenterinsights.v1.CallAnnotation annotations = 2; */ public int getAnnotationsCount() { if (annotationsBuilder_ == null) { @@ -1774,14 +1503,11 @@ public int getAnnotationsCount() { } } /** - * - * *
        * A list of call annotations that apply to this call.
        * 
* - * repeated .google.cloud.contactcenterinsights.v1.CallAnnotation annotations = 2; - * + * repeated .google.cloud.contactcenterinsights.v1.CallAnnotation annotations = 2; */ public com.google.cloud.contactcenterinsights.v1.CallAnnotation getAnnotations(int index) { if (annotationsBuilder_ == null) { @@ -1791,14 +1517,11 @@ public com.google.cloud.contactcenterinsights.v1.CallAnnotation getAnnotations(i } } /** - * - * *
        * A list of call annotations that apply to this call.
        * 
* - * repeated .google.cloud.contactcenterinsights.v1.CallAnnotation annotations = 2; - * + * repeated .google.cloud.contactcenterinsights.v1.CallAnnotation annotations = 2; */ public Builder setAnnotations( int index, com.google.cloud.contactcenterinsights.v1.CallAnnotation value) { @@ -1815,18 +1538,14 @@ public Builder setAnnotations( return this; } /** - * - * *
        * A list of call annotations that apply to this call.
        * 
* - * repeated .google.cloud.contactcenterinsights.v1.CallAnnotation annotations = 2; - * + * repeated .google.cloud.contactcenterinsights.v1.CallAnnotation annotations = 2; */ public Builder setAnnotations( - int index, - com.google.cloud.contactcenterinsights.v1.CallAnnotation.Builder builderForValue) { + int index, com.google.cloud.contactcenterinsights.v1.CallAnnotation.Builder builderForValue) { if (annotationsBuilder_ == null) { ensureAnnotationsIsMutable(); annotations_.set(index, builderForValue.build()); @@ -1837,17 +1556,13 @@ public Builder setAnnotations( return this; } /** - * - * *
        * A list of call annotations that apply to this call.
        * 
* - * repeated .google.cloud.contactcenterinsights.v1.CallAnnotation annotations = 2; - * + * repeated .google.cloud.contactcenterinsights.v1.CallAnnotation annotations = 2; */ - public Builder addAnnotations( - com.google.cloud.contactcenterinsights.v1.CallAnnotation value) { + public Builder addAnnotations(com.google.cloud.contactcenterinsights.v1.CallAnnotation value) { if (annotationsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -1861,14 +1576,11 @@ public Builder addAnnotations( return this; } /** - * - * *
        * A list of call annotations that apply to this call.
        * 
* - * repeated .google.cloud.contactcenterinsights.v1.CallAnnotation annotations = 2; - * + * repeated .google.cloud.contactcenterinsights.v1.CallAnnotation annotations = 2; */ public Builder addAnnotations( int index, com.google.cloud.contactcenterinsights.v1.CallAnnotation value) { @@ -1885,14 +1597,11 @@ public Builder addAnnotations( return this; } /** - * - * *
        * A list of call annotations that apply to this call.
        * 
* - * repeated .google.cloud.contactcenterinsights.v1.CallAnnotation annotations = 2; - * + * repeated .google.cloud.contactcenterinsights.v1.CallAnnotation annotations = 2; */ public Builder addAnnotations( com.google.cloud.contactcenterinsights.v1.CallAnnotation.Builder builderForValue) { @@ -1906,18 +1615,14 @@ public Builder addAnnotations( return this; } /** - * - * *
        * A list of call annotations that apply to this call.
        * 
* - * repeated .google.cloud.contactcenterinsights.v1.CallAnnotation annotations = 2; - * + * repeated .google.cloud.contactcenterinsights.v1.CallAnnotation annotations = 2; */ public Builder addAnnotations( - int index, - com.google.cloud.contactcenterinsights.v1.CallAnnotation.Builder builderForValue) { + int index, com.google.cloud.contactcenterinsights.v1.CallAnnotation.Builder builderForValue) { if (annotationsBuilder_ == null) { ensureAnnotationsIsMutable(); annotations_.add(index, builderForValue.build()); @@ -1928,21 +1633,18 @@ public Builder addAnnotations( return this; } /** - * - * *
        * A list of call annotations that apply to this call.
        * 
* - * repeated .google.cloud.contactcenterinsights.v1.CallAnnotation annotations = 2; - * + * repeated .google.cloud.contactcenterinsights.v1.CallAnnotation annotations = 2; */ public Builder addAllAnnotations( - java.lang.Iterable - values) { + java.lang.Iterable values) { if (annotationsBuilder_ == null) { ensureAnnotationsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, annotations_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, annotations_); onChanged(); } else { annotationsBuilder_.addAllMessages(values); @@ -1950,14 +1652,11 @@ public Builder addAllAnnotations( return this; } /** - * - * *
        * A list of call annotations that apply to this call.
        * 
* - * repeated .google.cloud.contactcenterinsights.v1.CallAnnotation annotations = 2; - * + * repeated .google.cloud.contactcenterinsights.v1.CallAnnotation annotations = 2; */ public Builder clearAnnotations() { if (annotationsBuilder_ == null) { @@ -1970,14 +1669,11 @@ public Builder clearAnnotations() { return this; } /** - * - * *
        * A list of call annotations that apply to this call.
        * 
* - * repeated .google.cloud.contactcenterinsights.v1.CallAnnotation annotations = 2; - * + * repeated .google.cloud.contactcenterinsights.v1.CallAnnotation annotations = 2; */ public Builder removeAnnotations(int index) { if (annotationsBuilder_ == null) { @@ -1990,50 +1686,39 @@ public Builder removeAnnotations(int index) { return this; } /** - * - * *
        * A list of call annotations that apply to this call.
        * 
* - * repeated .google.cloud.contactcenterinsights.v1.CallAnnotation annotations = 2; - * + * repeated .google.cloud.contactcenterinsights.v1.CallAnnotation annotations = 2; */ public com.google.cloud.contactcenterinsights.v1.CallAnnotation.Builder getAnnotationsBuilder( int index) { return getAnnotationsFieldBuilder().getBuilder(index); } /** - * - * *
        * A list of call annotations that apply to this call.
        * 
* - * repeated .google.cloud.contactcenterinsights.v1.CallAnnotation annotations = 2; - * + * repeated .google.cloud.contactcenterinsights.v1.CallAnnotation annotations = 2; */ - public com.google.cloud.contactcenterinsights.v1.CallAnnotationOrBuilder - getAnnotationsOrBuilder(int index) { + public com.google.cloud.contactcenterinsights.v1.CallAnnotationOrBuilder getAnnotationsOrBuilder( + int index) { if (annotationsBuilder_ == null) { - return annotations_.get(index); - } else { + return annotations_.get(index); } else { return annotationsBuilder_.getMessageOrBuilder(index); } } /** - * - * *
        * A list of call annotations that apply to this call.
        * 
* - * repeated .google.cloud.contactcenterinsights.v1.CallAnnotation annotations = 2; - * + * repeated .google.cloud.contactcenterinsights.v1.CallAnnotation annotations = 2; */ - public java.util.List< - ? extends com.google.cloud.contactcenterinsights.v1.CallAnnotationOrBuilder> - getAnnotationsOrBuilderList() { + public java.util.List + getAnnotationsOrBuilderList() { if (annotationsBuilder_ != null) { return annotationsBuilder_.getMessageOrBuilderList(); } else { @@ -2041,64 +1726,45 @@ public com.google.cloud.contactcenterinsights.v1.CallAnnotation.Builder getAnnot } } /** - * - * *
        * A list of call annotations that apply to this call.
        * 
* - * repeated .google.cloud.contactcenterinsights.v1.CallAnnotation annotations = 2; - * + * repeated .google.cloud.contactcenterinsights.v1.CallAnnotation annotations = 2; */ - public com.google.cloud.contactcenterinsights.v1.CallAnnotation.Builder - addAnnotationsBuilder() { - return getAnnotationsFieldBuilder() - .addBuilder( - com.google.cloud.contactcenterinsights.v1.CallAnnotation.getDefaultInstance()); + public com.google.cloud.contactcenterinsights.v1.CallAnnotation.Builder addAnnotationsBuilder() { + return getAnnotationsFieldBuilder().addBuilder( + com.google.cloud.contactcenterinsights.v1.CallAnnotation.getDefaultInstance()); } /** - * - * *
        * A list of call annotations that apply to this call.
        * 
* - * repeated .google.cloud.contactcenterinsights.v1.CallAnnotation annotations = 2; - * + * repeated .google.cloud.contactcenterinsights.v1.CallAnnotation annotations = 2; */ public com.google.cloud.contactcenterinsights.v1.CallAnnotation.Builder addAnnotationsBuilder( int index) { - return getAnnotationsFieldBuilder() - .addBuilder( - index, - com.google.cloud.contactcenterinsights.v1.CallAnnotation.getDefaultInstance()); + return getAnnotationsFieldBuilder().addBuilder( + index, com.google.cloud.contactcenterinsights.v1.CallAnnotation.getDefaultInstance()); } /** - * - * *
        * A list of call annotations that apply to this call.
        * 
* - * repeated .google.cloud.contactcenterinsights.v1.CallAnnotation annotations = 2; - * + * repeated .google.cloud.contactcenterinsights.v1.CallAnnotation annotations = 2; */ - public java.util.List - getAnnotationsBuilderList() { + public java.util.List + getAnnotationsBuilderList() { return getAnnotationsFieldBuilder().getBuilderList(); } - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.contactcenterinsights.v1.CallAnnotation, - com.google.cloud.contactcenterinsights.v1.CallAnnotation.Builder, - com.google.cloud.contactcenterinsights.v1.CallAnnotationOrBuilder> + com.google.cloud.contactcenterinsights.v1.CallAnnotation, com.google.cloud.contactcenterinsights.v1.CallAnnotation.Builder, com.google.cloud.contactcenterinsights.v1.CallAnnotationOrBuilder> getAnnotationsFieldBuilder() { if (annotationsBuilder_ == null) { - annotationsBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.contactcenterinsights.v1.CallAnnotation, - com.google.cloud.contactcenterinsights.v1.CallAnnotation.Builder, - com.google.cloud.contactcenterinsights.v1.CallAnnotationOrBuilder>( + annotationsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.contactcenterinsights.v1.CallAnnotation, com.google.cloud.contactcenterinsights.v1.CallAnnotation.Builder, com.google.cloud.contactcenterinsights.v1.CallAnnotationOrBuilder>( annotations_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), @@ -2109,11 +1775,8 @@ public com.google.cloud.contactcenterinsights.v1.CallAnnotation.Builder addAnnot } private com.google.protobuf.MapField< - java.lang.String, com.google.cloud.contactcenterinsights.v1.Entity> - entities_; - - private com.google.protobuf.MapField< - java.lang.String, com.google.cloud.contactcenterinsights.v1.Entity> + java.lang.String, com.google.cloud.contactcenterinsights.v1.Entity> entities_; + private com.google.protobuf.MapField internalGetEntities() { if (entities_ == null) { return com.google.protobuf.MapField.emptyMapField( @@ -2121,13 +1784,11 @@ public com.google.cloud.contactcenterinsights.v1.CallAnnotation.Builder addAnnot } return entities_; } - - private com.google.protobuf.MapField< - java.lang.String, com.google.cloud.contactcenterinsights.v1.Entity> + private com.google.protobuf.MapField internalGetMutableEntities() { if (entities_ == null) { - entities_ = - com.google.protobuf.MapField.newMapField(EntitiesDefaultEntryHolder.defaultEntry); + entities_ = com.google.protobuf.MapField.newMapField( + EntitiesDefaultEntryHolder.defaultEntry); } if (!entities_.isMutable()) { entities_ = entities_.copy(); @@ -2136,13 +1797,10 @@ public com.google.cloud.contactcenterinsights.v1.CallAnnotation.Builder addAnnot onChanged(); return entities_; } - public int getEntitiesCount() { return internalGetEntities().getMap().size(); } /** - * - * *
        * All the entities in the call.
        * 
@@ -2150,22 +1808,20 @@ public int getEntitiesCount() { * map<string, .google.cloud.contactcenterinsights.v1.Entity> entities = 3; */ @java.lang.Override - public boolean containsEntities(java.lang.String key) { - if (key == null) { - throw new NullPointerException("map key"); - } + public boolean containsEntities( + java.lang.String key) { + if (key == null) { throw new NullPointerException("map key"); } return internalGetEntities().getMap().containsKey(key); } - /** Use {@link #getEntitiesMap()} instead. */ + /** + * Use {@link #getEntitiesMap()} instead. + */ @java.lang.Override @java.lang.Deprecated - public java.util.Map - getEntities() { + public java.util.Map getEntities() { return getEntitiesMap(); } /** - * - * *
        * All the entities in the call.
        * 
@@ -2173,13 +1829,10 @@ public boolean containsEntities(java.lang.String key) { * map<string, .google.cloud.contactcenterinsights.v1.Entity> entities = 3; */ @java.lang.Override - public java.util.Map - getEntitiesMap() { + public java.util.Map getEntitiesMap() { return internalGetEntities().getMap(); } /** - * - * *
        * All the entities in the call.
        * 
@@ -2187,20 +1840,17 @@ public boolean containsEntities(java.lang.String key) { * map<string, .google.cloud.contactcenterinsights.v1.Entity> entities = 3; */ @java.lang.Override - public /* nullable */ com.google.cloud.contactcenterinsights.v1.Entity getEntitiesOrDefault( + public /* nullable */ +com.google.cloud.contactcenterinsights.v1.Entity getEntitiesOrDefault( java.lang.String key, /* nullable */ - com.google.cloud.contactcenterinsights.v1.Entity defaultValue) { - if (key == null) { - throw new NullPointerException("map key"); - } +com.google.cloud.contactcenterinsights.v1.Entity defaultValue) { + if (key == null) { throw new NullPointerException("map key"); } java.util.Map map = internalGetEntities().getMap(); return map.containsKey(key) ? map.get(key) : defaultValue; } /** - * - * *
        * All the entities in the call.
        * 
@@ -2210,9 +1860,7 @@ public boolean containsEntities(java.lang.String key) { @java.lang.Override public com.google.cloud.contactcenterinsights.v1.Entity getEntitiesOrThrow( java.lang.String key) { - if (key == null) { - throw new NullPointerException("map key"); - } + if (key == null) { throw new NullPointerException("map key"); } java.util.Map map = internalGetEntities().getMap(); if (!map.containsKey(key)) { @@ -2220,29 +1868,29 @@ public com.google.cloud.contactcenterinsights.v1.Entity getEntitiesOrThrow( } return map.get(key); } - public Builder clearEntities() { bitField0_ = (bitField0_ & ~0x00000002); - internalGetMutableEntities().getMutableMap().clear(); + internalGetMutableEntities().getMutableMap() + .clear(); return this; } /** - * - * *
        * All the entities in the call.
        * 
* * map<string, .google.cloud.contactcenterinsights.v1.Entity> entities = 3; */ - public Builder removeEntities(java.lang.String key) { - if (key == null) { - throw new NullPointerException("map key"); - } - internalGetMutableEntities().getMutableMap().remove(key); + public Builder removeEntities( + java.lang.String key) { + if (key == null) { throw new NullPointerException("map key"); } + internalGetMutableEntities().getMutableMap() + .remove(key); return this; } - /** Use alternate mutation accessors instead. */ + /** + * Use alternate mutation accessors instead. + */ @java.lang.Deprecated public java.util.Map getMutableEntities() { @@ -2250,8 +1898,6 @@ public Builder removeEntities(java.lang.String key) { return internalGetMutableEntities().getMutableMap(); } /** - * - * *
        * All the entities in the call.
        * 
@@ -2259,20 +1905,16 @@ public Builder removeEntities(java.lang.String key) { * map<string, .google.cloud.contactcenterinsights.v1.Entity> entities = 3; */ public Builder putEntities( - java.lang.String key, com.google.cloud.contactcenterinsights.v1.Entity value) { - if (key == null) { - throw new NullPointerException("map key"); - } - if (value == null) { - throw new NullPointerException("map value"); - } - internalGetMutableEntities().getMutableMap().put(key, value); + java.lang.String key, + com.google.cloud.contactcenterinsights.v1.Entity value) { + if (key == null) { throw new NullPointerException("map key"); } + if (value == null) { throw new NullPointerException("map value"); } + internalGetMutableEntities().getMutableMap() + .put(key, value); bitField0_ |= 0x00000002; return this; } /** - * - * *
        * All the entities in the call.
        * 
@@ -2280,45 +1922,33 @@ public Builder putEntities( * map<string, .google.cloud.contactcenterinsights.v1.Entity> entities = 3; */ public Builder putAllEntities( - java.util.Map - values) { - internalGetMutableEntities().getMutableMap().putAll(values); + java.util.Map values) { + internalGetMutableEntities().getMutableMap() + .putAll(values); bitField0_ |= 0x00000002; return this; } - private java.util.List - sentiments_ = java.util.Collections.emptyList(); - + private java.util.List sentiments_ = + java.util.Collections.emptyList(); private void ensureSentimentsIsMutable() { if (!((bitField0_ & 0x00000004) != 0)) { - sentiments_ = - new java.util.ArrayList< - com.google.cloud.contactcenterinsights.v1.ConversationLevelSentiment>( - sentiments_); + sentiments_ = new java.util.ArrayList(sentiments_); bitField0_ |= 0x00000004; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.contactcenterinsights.v1.ConversationLevelSentiment, - com.google.cloud.contactcenterinsights.v1.ConversationLevelSentiment.Builder, - com.google.cloud.contactcenterinsights.v1.ConversationLevelSentimentOrBuilder> - sentimentsBuilder_; + com.google.cloud.contactcenterinsights.v1.ConversationLevelSentiment, com.google.cloud.contactcenterinsights.v1.ConversationLevelSentiment.Builder, com.google.cloud.contactcenterinsights.v1.ConversationLevelSentimentOrBuilder> sentimentsBuilder_; /** - * - * *
        * Overall conversation-level sentiment for each channel of the call.
        * 
* - * - * repeated .google.cloud.contactcenterinsights.v1.ConversationLevelSentiment sentiments = 4; - * + * repeated .google.cloud.contactcenterinsights.v1.ConversationLevelSentiment sentiments = 4; */ - public java.util.List - getSentimentsList() { + public java.util.List getSentimentsList() { if (sentimentsBuilder_ == null) { return java.util.Collections.unmodifiableList(sentiments_); } else { @@ -2326,15 +1956,11 @@ private void ensureSentimentsIsMutable() { } } /** - * - * *
        * Overall conversation-level sentiment for each channel of the call.
        * 
* - * - * repeated .google.cloud.contactcenterinsights.v1.ConversationLevelSentiment sentiments = 4; - * + * repeated .google.cloud.contactcenterinsights.v1.ConversationLevelSentiment sentiments = 4; */ public int getSentimentsCount() { if (sentimentsBuilder_ == null) { @@ -2344,18 +1970,13 @@ public int getSentimentsCount() { } } /** - * - * *
        * Overall conversation-level sentiment for each channel of the call.
        * 
* - * - * repeated .google.cloud.contactcenterinsights.v1.ConversationLevelSentiment sentiments = 4; - * + * repeated .google.cloud.contactcenterinsights.v1.ConversationLevelSentiment sentiments = 4; */ - public com.google.cloud.contactcenterinsights.v1.ConversationLevelSentiment getSentiments( - int index) { + public com.google.cloud.contactcenterinsights.v1.ConversationLevelSentiment getSentiments(int index) { if (sentimentsBuilder_ == null) { return sentiments_.get(index); } else { @@ -2363,15 +1984,11 @@ public com.google.cloud.contactcenterinsights.v1.ConversationLevelSentiment getS } } /** - * - * *
        * Overall conversation-level sentiment for each channel of the call.
        * 
* - * - * repeated .google.cloud.contactcenterinsights.v1.ConversationLevelSentiment sentiments = 4; - * + * repeated .google.cloud.contactcenterinsights.v1.ConversationLevelSentiment sentiments = 4; */ public Builder setSentiments( int index, com.google.cloud.contactcenterinsights.v1.ConversationLevelSentiment value) { @@ -2388,20 +2005,14 @@ public Builder setSentiments( return this; } /** - * - * *
        * Overall conversation-level sentiment for each channel of the call.
        * 
* - * - * repeated .google.cloud.contactcenterinsights.v1.ConversationLevelSentiment sentiments = 4; - * + * repeated .google.cloud.contactcenterinsights.v1.ConversationLevelSentiment sentiments = 4; */ public Builder setSentiments( - int index, - com.google.cloud.contactcenterinsights.v1.ConversationLevelSentiment.Builder - builderForValue) { + int index, com.google.cloud.contactcenterinsights.v1.ConversationLevelSentiment.Builder builderForValue) { if (sentimentsBuilder_ == null) { ensureSentimentsIsMutable(); sentiments_.set(index, builderForValue.build()); @@ -2412,18 +2023,13 @@ public Builder setSentiments( return this; } /** - * - * *
        * Overall conversation-level sentiment for each channel of the call.
        * 
* - * - * repeated .google.cloud.contactcenterinsights.v1.ConversationLevelSentiment sentiments = 4; - * + * repeated .google.cloud.contactcenterinsights.v1.ConversationLevelSentiment sentiments = 4; */ - public Builder addSentiments( - com.google.cloud.contactcenterinsights.v1.ConversationLevelSentiment value) { + public Builder addSentiments(com.google.cloud.contactcenterinsights.v1.ConversationLevelSentiment value) { if (sentimentsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -2437,15 +2043,11 @@ public Builder addSentiments( return this; } /** - * - * *
        * Overall conversation-level sentiment for each channel of the call.
        * 
* - * - * repeated .google.cloud.contactcenterinsights.v1.ConversationLevelSentiment sentiments = 4; - * + * repeated .google.cloud.contactcenterinsights.v1.ConversationLevelSentiment sentiments = 4; */ public Builder addSentiments( int index, com.google.cloud.contactcenterinsights.v1.ConversationLevelSentiment value) { @@ -2462,19 +2064,14 @@ public Builder addSentiments( return this; } /** - * - * *
        * Overall conversation-level sentiment for each channel of the call.
        * 
* - * - * repeated .google.cloud.contactcenterinsights.v1.ConversationLevelSentiment sentiments = 4; - * + * repeated .google.cloud.contactcenterinsights.v1.ConversationLevelSentiment sentiments = 4; */ public Builder addSentiments( - com.google.cloud.contactcenterinsights.v1.ConversationLevelSentiment.Builder - builderForValue) { + com.google.cloud.contactcenterinsights.v1.ConversationLevelSentiment.Builder builderForValue) { if (sentimentsBuilder_ == null) { ensureSentimentsIsMutable(); sentiments_.add(builderForValue.build()); @@ -2485,20 +2082,14 @@ public Builder addSentiments( return this; } /** - * - * *
        * Overall conversation-level sentiment for each channel of the call.
        * 
* - * - * repeated .google.cloud.contactcenterinsights.v1.ConversationLevelSentiment sentiments = 4; - * + * repeated .google.cloud.contactcenterinsights.v1.ConversationLevelSentiment sentiments = 4; */ public Builder addSentiments( - int index, - com.google.cloud.contactcenterinsights.v1.ConversationLevelSentiment.Builder - builderForValue) { + int index, com.google.cloud.contactcenterinsights.v1.ConversationLevelSentiment.Builder builderForValue) { if (sentimentsBuilder_ == null) { ensureSentimentsIsMutable(); sentiments_.add(index, builderForValue.build()); @@ -2509,23 +2100,18 @@ public Builder addSentiments( return this; } /** - * - * *
        * Overall conversation-level sentiment for each channel of the call.
        * 
* - * - * repeated .google.cloud.contactcenterinsights.v1.ConversationLevelSentiment sentiments = 4; - * + * repeated .google.cloud.contactcenterinsights.v1.ConversationLevelSentiment sentiments = 4; */ public Builder addAllSentiments( - java.lang.Iterable< - ? extends com.google.cloud.contactcenterinsights.v1.ConversationLevelSentiment> - values) { + java.lang.Iterable values) { if (sentimentsBuilder_ == null) { ensureSentimentsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, sentiments_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, sentiments_); onChanged(); } else { sentimentsBuilder_.addAllMessages(values); @@ -2533,15 +2119,11 @@ public Builder addAllSentiments( return this; } /** - * - * *
        * Overall conversation-level sentiment for each channel of the call.
        * 
* - * - * repeated .google.cloud.contactcenterinsights.v1.ConversationLevelSentiment sentiments = 4; - * + * repeated .google.cloud.contactcenterinsights.v1.ConversationLevelSentiment sentiments = 4; */ public Builder clearSentiments() { if (sentimentsBuilder_ == null) { @@ -2554,15 +2136,11 @@ public Builder clearSentiments() { return this; } /** - * - * *
        * Overall conversation-level sentiment for each channel of the call.
        * 
* - * - * repeated .google.cloud.contactcenterinsights.v1.ConversationLevelSentiment sentiments = 4; - * + * repeated .google.cloud.contactcenterinsights.v1.ConversationLevelSentiment sentiments = 4; */ public Builder removeSentiments(int index) { if (sentimentsBuilder_ == null) { @@ -2575,54 +2153,39 @@ public Builder removeSentiments(int index) { return this; } /** - * - * *
        * Overall conversation-level sentiment for each channel of the call.
        * 
* - * - * repeated .google.cloud.contactcenterinsights.v1.ConversationLevelSentiment sentiments = 4; - * + * repeated .google.cloud.contactcenterinsights.v1.ConversationLevelSentiment sentiments = 4; */ - public com.google.cloud.contactcenterinsights.v1.ConversationLevelSentiment.Builder - getSentimentsBuilder(int index) { + public com.google.cloud.contactcenterinsights.v1.ConversationLevelSentiment.Builder getSentimentsBuilder( + int index) { return getSentimentsFieldBuilder().getBuilder(index); } /** - * - * *
        * Overall conversation-level sentiment for each channel of the call.
        * 
* - * - * repeated .google.cloud.contactcenterinsights.v1.ConversationLevelSentiment sentiments = 4; - * + * repeated .google.cloud.contactcenterinsights.v1.ConversationLevelSentiment sentiments = 4; */ - public com.google.cloud.contactcenterinsights.v1.ConversationLevelSentimentOrBuilder - getSentimentsOrBuilder(int index) { + public com.google.cloud.contactcenterinsights.v1.ConversationLevelSentimentOrBuilder getSentimentsOrBuilder( + int index) { if (sentimentsBuilder_ == null) { - return sentiments_.get(index); - } else { + return sentiments_.get(index); } else { return sentimentsBuilder_.getMessageOrBuilder(index); } } /** - * - * *
        * Overall conversation-level sentiment for each channel of the call.
        * 
* - * - * repeated .google.cloud.contactcenterinsights.v1.ConversationLevelSentiment sentiments = 4; - * + * repeated .google.cloud.contactcenterinsights.v1.ConversationLevelSentiment sentiments = 4; */ - public java.util.List< - ? extends - com.google.cloud.contactcenterinsights.v1.ConversationLevelSentimentOrBuilder> - getSentimentsOrBuilderList() { + public java.util.List + getSentimentsOrBuilderList() { if (sentimentsBuilder_ != null) { return sentimentsBuilder_.getMessageOrBuilderList(); } else { @@ -2630,95 +2193,69 @@ public Builder removeSentiments(int index) { } } /** - * - * *
        * Overall conversation-level sentiment for each channel of the call.
        * 
* - * - * repeated .google.cloud.contactcenterinsights.v1.ConversationLevelSentiment sentiments = 4; - * + * repeated .google.cloud.contactcenterinsights.v1.ConversationLevelSentiment sentiments = 4; */ - public com.google.cloud.contactcenterinsights.v1.ConversationLevelSentiment.Builder - addSentimentsBuilder() { - return getSentimentsFieldBuilder() - .addBuilder( - com.google.cloud.contactcenterinsights.v1.ConversationLevelSentiment - .getDefaultInstance()); + public com.google.cloud.contactcenterinsights.v1.ConversationLevelSentiment.Builder addSentimentsBuilder() { + return getSentimentsFieldBuilder().addBuilder( + com.google.cloud.contactcenterinsights.v1.ConversationLevelSentiment.getDefaultInstance()); } /** - * - * *
        * Overall conversation-level sentiment for each channel of the call.
        * 
* - * - * repeated .google.cloud.contactcenterinsights.v1.ConversationLevelSentiment sentiments = 4; - * + * repeated .google.cloud.contactcenterinsights.v1.ConversationLevelSentiment sentiments = 4; */ - public com.google.cloud.contactcenterinsights.v1.ConversationLevelSentiment.Builder - addSentimentsBuilder(int index) { - return getSentimentsFieldBuilder() - .addBuilder( - index, - com.google.cloud.contactcenterinsights.v1.ConversationLevelSentiment - .getDefaultInstance()); + public com.google.cloud.contactcenterinsights.v1.ConversationLevelSentiment.Builder addSentimentsBuilder( + int index) { + return getSentimentsFieldBuilder().addBuilder( + index, com.google.cloud.contactcenterinsights.v1.ConversationLevelSentiment.getDefaultInstance()); } /** - * - * *
        * Overall conversation-level sentiment for each channel of the call.
        * 
* - * - * repeated .google.cloud.contactcenterinsights.v1.ConversationLevelSentiment sentiments = 4; - * + * repeated .google.cloud.contactcenterinsights.v1.ConversationLevelSentiment sentiments = 4; */ - public java.util.List< - com.google.cloud.contactcenterinsights.v1.ConversationLevelSentiment.Builder> - getSentimentsBuilderList() { + public java.util.List + getSentimentsBuilderList() { return getSentimentsFieldBuilder().getBuilderList(); } - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.contactcenterinsights.v1.ConversationLevelSentiment, - com.google.cloud.contactcenterinsights.v1.ConversationLevelSentiment.Builder, - com.google.cloud.contactcenterinsights.v1.ConversationLevelSentimentOrBuilder> + com.google.cloud.contactcenterinsights.v1.ConversationLevelSentiment, com.google.cloud.contactcenterinsights.v1.ConversationLevelSentiment.Builder, com.google.cloud.contactcenterinsights.v1.ConversationLevelSentimentOrBuilder> getSentimentsFieldBuilder() { if (sentimentsBuilder_ == null) { - sentimentsBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.contactcenterinsights.v1.ConversationLevelSentiment, - com.google.cloud.contactcenterinsights.v1.ConversationLevelSentiment.Builder, - com.google.cloud.contactcenterinsights.v1.ConversationLevelSentimentOrBuilder>( - sentiments_, ((bitField0_ & 0x00000004) != 0), getParentForChildren(), isClean()); + sentimentsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.contactcenterinsights.v1.ConversationLevelSentiment, com.google.cloud.contactcenterinsights.v1.ConversationLevelSentiment.Builder, com.google.cloud.contactcenterinsights.v1.ConversationLevelSentimentOrBuilder>( + sentiments_, + ((bitField0_ & 0x00000004) != 0), + getParentForChildren(), + isClean()); sentiments_ = null; } return sentimentsBuilder_; } private com.google.protobuf.MapField< - java.lang.String, com.google.cloud.contactcenterinsights.v1.Intent> - intents_; - - private com.google.protobuf.MapField< - java.lang.String, com.google.cloud.contactcenterinsights.v1.Intent> + java.lang.String, com.google.cloud.contactcenterinsights.v1.Intent> intents_; + private com.google.protobuf.MapField internalGetIntents() { if (intents_ == null) { - return com.google.protobuf.MapField.emptyMapField(IntentsDefaultEntryHolder.defaultEntry); + return com.google.protobuf.MapField.emptyMapField( + IntentsDefaultEntryHolder.defaultEntry); } return intents_; } - - private com.google.protobuf.MapField< - java.lang.String, com.google.cloud.contactcenterinsights.v1.Intent> + private com.google.protobuf.MapField internalGetMutableIntents() { if (intents_ == null) { - intents_ = - com.google.protobuf.MapField.newMapField(IntentsDefaultEntryHolder.defaultEntry); + intents_ = com.google.protobuf.MapField.newMapField( + IntentsDefaultEntryHolder.defaultEntry); } if (!intents_.isMutable()) { intents_ = intents_.copy(); @@ -2727,13 +2264,10 @@ public Builder removeSentiments(int index) { onChanged(); return intents_; } - public int getIntentsCount() { return internalGetIntents().getMap().size(); } /** - * - * *
        * All the matched intents in the call.
        * 
@@ -2741,22 +2275,20 @@ public int getIntentsCount() { * map<string, .google.cloud.contactcenterinsights.v1.Intent> intents = 6; */ @java.lang.Override - public boolean containsIntents(java.lang.String key) { - if (key == null) { - throw new NullPointerException("map key"); - } + public boolean containsIntents( + java.lang.String key) { + if (key == null) { throw new NullPointerException("map key"); } return internalGetIntents().getMap().containsKey(key); } - /** Use {@link #getIntentsMap()} instead. */ + /** + * Use {@link #getIntentsMap()} instead. + */ @java.lang.Override @java.lang.Deprecated - public java.util.Map - getIntents() { + public java.util.Map getIntents() { return getIntentsMap(); } /** - * - * *
        * All the matched intents in the call.
        * 
@@ -2764,13 +2296,10 @@ public boolean containsIntents(java.lang.String key) { * map<string, .google.cloud.contactcenterinsights.v1.Intent> intents = 6; */ @java.lang.Override - public java.util.Map - getIntentsMap() { + public java.util.Map getIntentsMap() { return internalGetIntents().getMap(); } /** - * - * *
        * All the matched intents in the call.
        * 
@@ -2778,20 +2307,17 @@ public boolean containsIntents(java.lang.String key) { * map<string, .google.cloud.contactcenterinsights.v1.Intent> intents = 6; */ @java.lang.Override - public /* nullable */ com.google.cloud.contactcenterinsights.v1.Intent getIntentsOrDefault( + public /* nullable */ +com.google.cloud.contactcenterinsights.v1.Intent getIntentsOrDefault( java.lang.String key, /* nullable */ - com.google.cloud.contactcenterinsights.v1.Intent defaultValue) { - if (key == null) { - throw new NullPointerException("map key"); - } +com.google.cloud.contactcenterinsights.v1.Intent defaultValue) { + if (key == null) { throw new NullPointerException("map key"); } java.util.Map map = internalGetIntents().getMap(); return map.containsKey(key) ? map.get(key) : defaultValue; } /** - * - * *
        * All the matched intents in the call.
        * 
@@ -2801,9 +2327,7 @@ public boolean containsIntents(java.lang.String key) { @java.lang.Override public com.google.cloud.contactcenterinsights.v1.Intent getIntentsOrThrow( java.lang.String key) { - if (key == null) { - throw new NullPointerException("map key"); - } + if (key == null) { throw new NullPointerException("map key"); } java.util.Map map = internalGetIntents().getMap(); if (!map.containsKey(key)) { @@ -2811,29 +2335,29 @@ public com.google.cloud.contactcenterinsights.v1.Intent getIntentsOrThrow( } return map.get(key); } - public Builder clearIntents() { bitField0_ = (bitField0_ & ~0x00000008); - internalGetMutableIntents().getMutableMap().clear(); + internalGetMutableIntents().getMutableMap() + .clear(); return this; } /** - * - * *
        * All the matched intents in the call.
        * 
* * map<string, .google.cloud.contactcenterinsights.v1.Intent> intents = 6; */ - public Builder removeIntents(java.lang.String key) { - if (key == null) { - throw new NullPointerException("map key"); - } - internalGetMutableIntents().getMutableMap().remove(key); + public Builder removeIntents( + java.lang.String key) { + if (key == null) { throw new NullPointerException("map key"); } + internalGetMutableIntents().getMutableMap() + .remove(key); return this; } - /** Use alternate mutation accessors instead. */ + /** + * Use alternate mutation accessors instead. + */ @java.lang.Deprecated public java.util.Map getMutableIntents() { @@ -2841,8 +2365,6 @@ public Builder removeIntents(java.lang.String key) { return internalGetMutableIntents().getMutableMap(); } /** - * - * *
        * All the matched intents in the call.
        * 
@@ -2850,20 +2372,16 @@ public Builder removeIntents(java.lang.String key) { * map<string, .google.cloud.contactcenterinsights.v1.Intent> intents = 6; */ public Builder putIntents( - java.lang.String key, com.google.cloud.contactcenterinsights.v1.Intent value) { - if (key == null) { - throw new NullPointerException("map key"); - } - if (value == null) { - throw new NullPointerException("map value"); - } - internalGetMutableIntents().getMutableMap().put(key, value); + java.lang.String key, + com.google.cloud.contactcenterinsights.v1.Intent value) { + if (key == null) { throw new NullPointerException("map key"); } + if (value == null) { throw new NullPointerException("map value"); } + internalGetMutableIntents().getMutableMap() + .put(key, value); bitField0_ |= 0x00000008; return this; } /** - * - * *
        * All the matched intents in the call.
        * 
@@ -2871,19 +2389,16 @@ public Builder putIntents( * map<string, .google.cloud.contactcenterinsights.v1.Intent> intents = 6; */ public Builder putAllIntents( - java.util.Map - values) { - internalGetMutableIntents().getMutableMap().putAll(values); + java.util.Map values) { + internalGetMutableIntents().getMutableMap() + .putAll(values); bitField0_ |= 0x00000008; return this; } private com.google.protobuf.MapField< - java.lang.String, com.google.cloud.contactcenterinsights.v1.PhraseMatchData> - phraseMatchers_; - - private com.google.protobuf.MapField< - java.lang.String, com.google.cloud.contactcenterinsights.v1.PhraseMatchData> + java.lang.String, com.google.cloud.contactcenterinsights.v1.PhraseMatchData> phraseMatchers_; + private com.google.protobuf.MapField internalGetPhraseMatchers() { if (phraseMatchers_ == null) { return com.google.protobuf.MapField.emptyMapField( @@ -2891,14 +2406,11 @@ public Builder putAllIntents( } return phraseMatchers_; } - - private com.google.protobuf.MapField< - java.lang.String, com.google.cloud.contactcenterinsights.v1.PhraseMatchData> + private com.google.protobuf.MapField internalGetMutablePhraseMatchers() { if (phraseMatchers_ == null) { - phraseMatchers_ = - com.google.protobuf.MapField.newMapField( - PhraseMatchersDefaultEntryHolder.defaultEntry); + phraseMatchers_ = com.google.protobuf.MapField.newMapField( + PhraseMatchersDefaultEntryHolder.defaultEntry); } if (!phraseMatchers_.isMutable()) { phraseMatchers_ = phraseMatchers_.copy(); @@ -2907,229 +2419,175 @@ public Builder putAllIntents( onChanged(); return phraseMatchers_; } - public int getPhraseMatchersCount() { return internalGetPhraseMatchers().getMap().size(); } /** - * - * *
        * All the matched phrase matchers in the call.
        * 
* - * - * map<string, .google.cloud.contactcenterinsights.v1.PhraseMatchData> phrase_matchers = 7; - * + * map<string, .google.cloud.contactcenterinsights.v1.PhraseMatchData> phrase_matchers = 7; */ @java.lang.Override - public boolean containsPhraseMatchers(java.lang.String key) { - if (key == null) { - throw new NullPointerException("map key"); - } + public boolean containsPhraseMatchers( + java.lang.String key) { + if (key == null) { throw new NullPointerException("map key"); } return internalGetPhraseMatchers().getMap().containsKey(key); } - /** Use {@link #getPhraseMatchersMap()} instead. */ + /** + * Use {@link #getPhraseMatchersMap()} instead. + */ @java.lang.Override @java.lang.Deprecated - public java.util.Map< - java.lang.String, com.google.cloud.contactcenterinsights.v1.PhraseMatchData> - getPhraseMatchers() { + public java.util.Map getPhraseMatchers() { return getPhraseMatchersMap(); } /** - * - * *
        * All the matched phrase matchers in the call.
        * 
* - * - * map<string, .google.cloud.contactcenterinsights.v1.PhraseMatchData> phrase_matchers = 7; - * + * map<string, .google.cloud.contactcenterinsights.v1.PhraseMatchData> phrase_matchers = 7; */ @java.lang.Override - public java.util.Map< - java.lang.String, com.google.cloud.contactcenterinsights.v1.PhraseMatchData> - getPhraseMatchersMap() { + public java.util.Map getPhraseMatchersMap() { return internalGetPhraseMatchers().getMap(); } /** - * - * *
        * All the matched phrase matchers in the call.
        * 
* - * - * map<string, .google.cloud.contactcenterinsights.v1.PhraseMatchData> phrase_matchers = 7; - * + * map<string, .google.cloud.contactcenterinsights.v1.PhraseMatchData> phrase_matchers = 7; */ @java.lang.Override - public /* nullable */ com.google.cloud.contactcenterinsights.v1.PhraseMatchData - getPhraseMatchersOrDefault( - java.lang.String key, - /* nullable */ - com.google.cloud.contactcenterinsights.v1.PhraseMatchData defaultValue) { - if (key == null) { - throw new NullPointerException("map key"); - } - java.util.Map - map = internalGetPhraseMatchers().getMap(); + public /* nullable */ +com.google.cloud.contactcenterinsights.v1.PhraseMatchData getPhraseMatchersOrDefault( + java.lang.String key, + /* nullable */ +com.google.cloud.contactcenterinsights.v1.PhraseMatchData defaultValue) { + if (key == null) { throw new NullPointerException("map key"); } + java.util.Map map = + internalGetPhraseMatchers().getMap(); return map.containsKey(key) ? map.get(key) : defaultValue; } /** - * - * *
        * All the matched phrase matchers in the call.
        * 
* - * - * map<string, .google.cloud.contactcenterinsights.v1.PhraseMatchData> phrase_matchers = 7; - * + * map<string, .google.cloud.contactcenterinsights.v1.PhraseMatchData> phrase_matchers = 7; */ @java.lang.Override public com.google.cloud.contactcenterinsights.v1.PhraseMatchData getPhraseMatchersOrThrow( java.lang.String key) { - if (key == null) { - throw new NullPointerException("map key"); - } - java.util.Map - map = internalGetPhraseMatchers().getMap(); + if (key == null) { throw new NullPointerException("map key"); } + java.util.Map map = + internalGetPhraseMatchers().getMap(); if (!map.containsKey(key)) { throw new java.lang.IllegalArgumentException(); } return map.get(key); } - public Builder clearPhraseMatchers() { bitField0_ = (bitField0_ & ~0x00000010); - internalGetMutablePhraseMatchers().getMutableMap().clear(); + internalGetMutablePhraseMatchers().getMutableMap() + .clear(); return this; } /** - * - * *
        * All the matched phrase matchers in the call.
        * 
* - * - * map<string, .google.cloud.contactcenterinsights.v1.PhraseMatchData> phrase_matchers = 7; - * + * map<string, .google.cloud.contactcenterinsights.v1.PhraseMatchData> phrase_matchers = 7; */ - public Builder removePhraseMatchers(java.lang.String key) { - if (key == null) { - throw new NullPointerException("map key"); - } - internalGetMutablePhraseMatchers().getMutableMap().remove(key); + public Builder removePhraseMatchers( + java.lang.String key) { + if (key == null) { throw new NullPointerException("map key"); } + internalGetMutablePhraseMatchers().getMutableMap() + .remove(key); return this; } - /** Use alternate mutation accessors instead. */ + /** + * Use alternate mutation accessors instead. + */ @java.lang.Deprecated - public java.util.Map< - java.lang.String, com.google.cloud.contactcenterinsights.v1.PhraseMatchData> + public java.util.Map getMutablePhraseMatchers() { bitField0_ |= 0x00000010; return internalGetMutablePhraseMatchers().getMutableMap(); } /** - * - * *
        * All the matched phrase matchers in the call.
        * 
* - * - * map<string, .google.cloud.contactcenterinsights.v1.PhraseMatchData> phrase_matchers = 7; - * + * map<string, .google.cloud.contactcenterinsights.v1.PhraseMatchData> phrase_matchers = 7; */ public Builder putPhraseMatchers( - java.lang.String key, com.google.cloud.contactcenterinsights.v1.PhraseMatchData value) { - if (key == null) { - throw new NullPointerException("map key"); - } - if (value == null) { - throw new NullPointerException("map value"); - } - internalGetMutablePhraseMatchers().getMutableMap().put(key, value); + java.lang.String key, + com.google.cloud.contactcenterinsights.v1.PhraseMatchData value) { + if (key == null) { throw new NullPointerException("map key"); } + if (value == null) { throw new NullPointerException("map value"); } + internalGetMutablePhraseMatchers().getMutableMap() + .put(key, value); bitField0_ |= 0x00000010; return this; } /** - * - * *
        * All the matched phrase matchers in the call.
        * 
* - * - * map<string, .google.cloud.contactcenterinsights.v1.PhraseMatchData> phrase_matchers = 7; - * + * map<string, .google.cloud.contactcenterinsights.v1.PhraseMatchData> phrase_matchers = 7; */ public Builder putAllPhraseMatchers( - java.util.Map - values) { - internalGetMutablePhraseMatchers().getMutableMap().putAll(values); + java.util.Map values) { + internalGetMutablePhraseMatchers().getMutableMap() + .putAll(values); bitField0_ |= 0x00000010; return this; } private com.google.cloud.contactcenterinsights.v1.IssueModelResult issueModelResult_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.contactcenterinsights.v1.IssueModelResult, - com.google.cloud.contactcenterinsights.v1.IssueModelResult.Builder, - com.google.cloud.contactcenterinsights.v1.IssueModelResultOrBuilder> - issueModelResultBuilder_; + com.google.cloud.contactcenterinsights.v1.IssueModelResult, com.google.cloud.contactcenterinsights.v1.IssueModelResult.Builder, com.google.cloud.contactcenterinsights.v1.IssueModelResultOrBuilder> issueModelResultBuilder_; /** - * - * *
        * Overall conversation-level issue modeling result.
        * 
* - * .google.cloud.contactcenterinsights.v1.IssueModelResult issue_model_result = 8; - * - * + * .google.cloud.contactcenterinsights.v1.IssueModelResult issue_model_result = 8; * @return Whether the issueModelResult field is set. */ public boolean hasIssueModelResult() { return ((bitField0_ & 0x00000020) != 0); } /** - * - * *
        * Overall conversation-level issue modeling result.
        * 
* - * .google.cloud.contactcenterinsights.v1.IssueModelResult issue_model_result = 8; - * - * + * .google.cloud.contactcenterinsights.v1.IssueModelResult issue_model_result = 8; * @return The issueModelResult. */ public com.google.cloud.contactcenterinsights.v1.IssueModelResult getIssueModelResult() { if (issueModelResultBuilder_ == null) { - return issueModelResult_ == null - ? com.google.cloud.contactcenterinsights.v1.IssueModelResult.getDefaultInstance() - : issueModelResult_; + return issueModelResult_ == null ? com.google.cloud.contactcenterinsights.v1.IssueModelResult.getDefaultInstance() : issueModelResult_; } else { return issueModelResultBuilder_.getMessage(); } } /** - * - * *
        * Overall conversation-level issue modeling result.
        * 
* - * .google.cloud.contactcenterinsights.v1.IssueModelResult issue_model_result = 8; - * + * .google.cloud.contactcenterinsights.v1.IssueModelResult issue_model_result = 8; */ - public Builder setIssueModelResult( - com.google.cloud.contactcenterinsights.v1.IssueModelResult value) { + public Builder setIssueModelResult(com.google.cloud.contactcenterinsights.v1.IssueModelResult value) { if (issueModelResultBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -3143,14 +2601,11 @@ public Builder setIssueModelResult( return this; } /** - * - * *
        * Overall conversation-level issue modeling result.
        * 
* - * .google.cloud.contactcenterinsights.v1.IssueModelResult issue_model_result = 8; - * + * .google.cloud.contactcenterinsights.v1.IssueModelResult issue_model_result = 8; */ public Builder setIssueModelResult( com.google.cloud.contactcenterinsights.v1.IssueModelResult.Builder builderForValue) { @@ -3164,23 +2619,17 @@ public Builder setIssueModelResult( return this; } /** - * - * *
        * Overall conversation-level issue modeling result.
        * 
* - * .google.cloud.contactcenterinsights.v1.IssueModelResult issue_model_result = 8; - * + * .google.cloud.contactcenterinsights.v1.IssueModelResult issue_model_result = 8; */ - public Builder mergeIssueModelResult( - com.google.cloud.contactcenterinsights.v1.IssueModelResult value) { + public Builder mergeIssueModelResult(com.google.cloud.contactcenterinsights.v1.IssueModelResult value) { if (issueModelResultBuilder_ == null) { - if (((bitField0_ & 0x00000020) != 0) - && issueModelResult_ != null - && issueModelResult_ - != com.google.cloud.contactcenterinsights.v1.IssueModelResult - .getDefaultInstance()) { + if (((bitField0_ & 0x00000020) != 0) && + issueModelResult_ != null && + issueModelResult_ != com.google.cloud.contactcenterinsights.v1.IssueModelResult.getDefaultInstance()) { getIssueModelResultBuilder().mergeFrom(value); } else { issueModelResult_ = value; @@ -3193,14 +2642,11 @@ public Builder mergeIssueModelResult( return this; } /** - * - * *
        * Overall conversation-level issue modeling result.
        * 
* - * .google.cloud.contactcenterinsights.v1.IssueModelResult issue_model_result = 8; - * + * .google.cloud.contactcenterinsights.v1.IssueModelResult issue_model_result = 8; */ public Builder clearIssueModelResult() { bitField0_ = (bitField0_ & ~0x00000020); @@ -3213,68 +2659,52 @@ public Builder clearIssueModelResult() { return this; } /** - * - * *
        * Overall conversation-level issue modeling result.
        * 
* - * .google.cloud.contactcenterinsights.v1.IssueModelResult issue_model_result = 8; - * + * .google.cloud.contactcenterinsights.v1.IssueModelResult issue_model_result = 8; */ - public com.google.cloud.contactcenterinsights.v1.IssueModelResult.Builder - getIssueModelResultBuilder() { + public com.google.cloud.contactcenterinsights.v1.IssueModelResult.Builder getIssueModelResultBuilder() { bitField0_ |= 0x00000020; onChanged(); return getIssueModelResultFieldBuilder().getBuilder(); } /** - * - * *
        * Overall conversation-level issue modeling result.
        * 
* - * .google.cloud.contactcenterinsights.v1.IssueModelResult issue_model_result = 8; - * + * .google.cloud.contactcenterinsights.v1.IssueModelResult issue_model_result = 8; */ - public com.google.cloud.contactcenterinsights.v1.IssueModelResultOrBuilder - getIssueModelResultOrBuilder() { + public com.google.cloud.contactcenterinsights.v1.IssueModelResultOrBuilder getIssueModelResultOrBuilder() { if (issueModelResultBuilder_ != null) { return issueModelResultBuilder_.getMessageOrBuilder(); } else { - return issueModelResult_ == null - ? com.google.cloud.contactcenterinsights.v1.IssueModelResult.getDefaultInstance() - : issueModelResult_; + return issueModelResult_ == null ? + com.google.cloud.contactcenterinsights.v1.IssueModelResult.getDefaultInstance() : issueModelResult_; } } /** - * - * *
        * Overall conversation-level issue modeling result.
        * 
* - * .google.cloud.contactcenterinsights.v1.IssueModelResult issue_model_result = 8; - * + * .google.cloud.contactcenterinsights.v1.IssueModelResult issue_model_result = 8; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.contactcenterinsights.v1.IssueModelResult, - com.google.cloud.contactcenterinsights.v1.IssueModelResult.Builder, - com.google.cloud.contactcenterinsights.v1.IssueModelResultOrBuilder> + com.google.cloud.contactcenterinsights.v1.IssueModelResult, com.google.cloud.contactcenterinsights.v1.IssueModelResult.Builder, com.google.cloud.contactcenterinsights.v1.IssueModelResultOrBuilder> getIssueModelResultFieldBuilder() { if (issueModelResultBuilder_ == null) { - issueModelResultBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.contactcenterinsights.v1.IssueModelResult, - com.google.cloud.contactcenterinsights.v1.IssueModelResult.Builder, - com.google.cloud.contactcenterinsights.v1.IssueModelResultOrBuilder>( - getIssueModelResult(), getParentForChildren(), isClean()); + issueModelResultBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.contactcenterinsights.v1.IssueModelResult, com.google.cloud.contactcenterinsights.v1.IssueModelResult.Builder, com.google.cloud.contactcenterinsights.v1.IssueModelResultOrBuilder>( + getIssueModelResult(), + getParentForChildren(), + isClean()); issueModelResult_ = null; } return issueModelResultBuilder_; } - @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -3287,46 +2717,41 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.contactcenterinsights.v1.AnalysisResult.CallAnalysisMetadata) } // @@protoc_insertion_point(class_scope:google.cloud.contactcenterinsights.v1.AnalysisResult.CallAnalysisMetadata) - private static final com.google.cloud.contactcenterinsights.v1.AnalysisResult - .CallAnalysisMetadata - DEFAULT_INSTANCE; - + private static final com.google.cloud.contactcenterinsights.v1.AnalysisResult.CallAnalysisMetadata DEFAULT_INSTANCE; static { - DEFAULT_INSTANCE = - new com.google.cloud.contactcenterinsights.v1.AnalysisResult.CallAnalysisMetadata(); + DEFAULT_INSTANCE = new com.google.cloud.contactcenterinsights.v1.AnalysisResult.CallAnalysisMetadata(); } - public static com.google.cloud.contactcenterinsights.v1.AnalysisResult.CallAnalysisMetadata - getDefaultInstance() { + public static com.google.cloud.contactcenterinsights.v1.AnalysisResult.CallAnalysisMetadata getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public CallAnalysisMetadata parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException() - .setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public CallAnalysisMetadata parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -3338,23 +2763,20 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.cloud.contactcenterinsights.v1.AnalysisResult.CallAnalysisMetadata - getDefaultInstanceForType() { + public com.google.cloud.contactcenterinsights.v1.AnalysisResult.CallAnalysisMetadata getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } private int metadataCase_ = 0; private java.lang.Object metadata_; - public enum MetadataCase - implements - com.google.protobuf.Internal.EnumLite, + implements com.google.protobuf.Internal.EnumLite, com.google.protobuf.AbstractMessage.InternalOneOfEnum { CALL_ANALYSIS_METADATA(2), METADATA_NOT_SET(0); private final int value; - private MetadataCase(int value) { this.value = value; } @@ -3370,36 +2792,29 @@ public static MetadataCase valueOf(int value) { public static MetadataCase forNumber(int value) { switch (value) { - case 2: - return CALL_ANALYSIS_METADATA; - case 0: - return METADATA_NOT_SET; - default: - return null; + case 2: return CALL_ANALYSIS_METADATA; + case 0: return METADATA_NOT_SET; + default: return null; } } - public int getNumber() { return this.value; } }; - public MetadataCase getMetadataCase() { - return MetadataCase.forNumber(metadataCase_); + public MetadataCase + getMetadataCase() { + return MetadataCase.forNumber( + metadataCase_); } public static final int CALL_ANALYSIS_METADATA_FIELD_NUMBER = 2; /** - * - * *
    * Call-specific metadata created by the analysis.
    * 
* - * - * .google.cloud.contactcenterinsights.v1.AnalysisResult.CallAnalysisMetadata call_analysis_metadata = 2; - * - * + * .google.cloud.contactcenterinsights.v1.AnalysisResult.CallAnalysisMetadata call_analysis_metadata = 2; * @return Whether the callAnalysisMetadata field is set. */ @java.lang.Override @@ -3407,61 +2822,43 @@ public boolean hasCallAnalysisMetadata() { return metadataCase_ == 2; } /** - * - * *
    * Call-specific metadata created by the analysis.
    * 
* - * - * .google.cloud.contactcenterinsights.v1.AnalysisResult.CallAnalysisMetadata call_analysis_metadata = 2; - * - * + * .google.cloud.contactcenterinsights.v1.AnalysisResult.CallAnalysisMetadata call_analysis_metadata = 2; * @return The callAnalysisMetadata. */ @java.lang.Override - public com.google.cloud.contactcenterinsights.v1.AnalysisResult.CallAnalysisMetadata - getCallAnalysisMetadata() { + public com.google.cloud.contactcenterinsights.v1.AnalysisResult.CallAnalysisMetadata getCallAnalysisMetadata() { if (metadataCase_ == 2) { - return (com.google.cloud.contactcenterinsights.v1.AnalysisResult.CallAnalysisMetadata) - metadata_; + return (com.google.cloud.contactcenterinsights.v1.AnalysisResult.CallAnalysisMetadata) metadata_; } - return com.google.cloud.contactcenterinsights.v1.AnalysisResult.CallAnalysisMetadata - .getDefaultInstance(); + return com.google.cloud.contactcenterinsights.v1.AnalysisResult.CallAnalysisMetadata.getDefaultInstance(); } /** - * - * *
    * Call-specific metadata created by the analysis.
    * 
* - * - * .google.cloud.contactcenterinsights.v1.AnalysisResult.CallAnalysisMetadata call_analysis_metadata = 2; - * + * .google.cloud.contactcenterinsights.v1.AnalysisResult.CallAnalysisMetadata call_analysis_metadata = 2; */ @java.lang.Override - public com.google.cloud.contactcenterinsights.v1.AnalysisResult.CallAnalysisMetadataOrBuilder - getCallAnalysisMetadataOrBuilder() { + public com.google.cloud.contactcenterinsights.v1.AnalysisResult.CallAnalysisMetadataOrBuilder getCallAnalysisMetadataOrBuilder() { if (metadataCase_ == 2) { - return (com.google.cloud.contactcenterinsights.v1.AnalysisResult.CallAnalysisMetadata) - metadata_; + return (com.google.cloud.contactcenterinsights.v1.AnalysisResult.CallAnalysisMetadata) metadata_; } - return com.google.cloud.contactcenterinsights.v1.AnalysisResult.CallAnalysisMetadata - .getDefaultInstance(); + return com.google.cloud.contactcenterinsights.v1.AnalysisResult.CallAnalysisMetadata.getDefaultInstance(); } public static final int END_TIME_FIELD_NUMBER = 1; private com.google.protobuf.Timestamp endTime_; /** - * - * *
    * The time at which the analysis ended.
    * 
* * .google.protobuf.Timestamp end_time = 1; - * * @return Whether the endTime field is set. */ @java.lang.Override @@ -3469,14 +2866,11 @@ public boolean hasEndTime() { return endTime_ != null; } /** - * - * *
    * The time at which the analysis ended.
    * 
* * .google.protobuf.Timestamp end_time = 1; - * * @return The endTime. */ @java.lang.Override @@ -3484,8 +2878,6 @@ public com.google.protobuf.Timestamp getEndTime() { return endTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : endTime_; } /** - * - * *
    * The time at which the analysis ended.
    * 
@@ -3498,7 +2890,6 @@ public com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -3510,15 +2901,13 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (endTime_ != null) { output.writeMessage(1, getEndTime()); } if (metadataCase_ == 2) { - output.writeMessage( - 2, - (com.google.cloud.contactcenterinsights.v1.AnalysisResult.CallAnalysisMetadata) - metadata_); + output.writeMessage(2, (com.google.cloud.contactcenterinsights.v1.AnalysisResult.CallAnalysisMetadata) metadata_); } getUnknownFields().writeTo(output); } @@ -3530,14 +2919,12 @@ public int getSerializedSize() { size = 0; if (endTime_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getEndTime()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, getEndTime()); } if (metadataCase_ == 2) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize( - 2, - (com.google.cloud.contactcenterinsights.v1.AnalysisResult.CallAnalysisMetadata) - metadata_); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, (com.google.cloud.contactcenterinsights.v1.AnalysisResult.CallAnalysisMetadata) metadata_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -3547,22 +2934,23 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.contactcenterinsights.v1.AnalysisResult)) { return super.equals(obj); } - com.google.cloud.contactcenterinsights.v1.AnalysisResult other = - (com.google.cloud.contactcenterinsights.v1.AnalysisResult) obj; + com.google.cloud.contactcenterinsights.v1.AnalysisResult other = (com.google.cloud.contactcenterinsights.v1.AnalysisResult) obj; if (hasEndTime() != other.hasEndTime()) return false; if (hasEndTime()) { - if (!getEndTime().equals(other.getEndTime())) return false; + if (!getEndTime() + .equals(other.getEndTime())) return false; } if (!getMetadataCase().equals(other.getMetadataCase())) return false; switch (metadataCase_) { case 2: - if (!getCallAnalysisMetadata().equals(other.getCallAnalysisMetadata())) return false; + if (!getCallAnalysisMetadata() + .equals(other.getCallAnalysisMetadata())) return false; break; case 0: default: @@ -3596,136 +2984,129 @@ public int hashCode() { } public static com.google.cloud.contactcenterinsights.v1.AnalysisResult parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.contactcenterinsights.v1.AnalysisResult parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.contactcenterinsights.v1.AnalysisResult parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.contactcenterinsights.v1.AnalysisResult parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.contactcenterinsights.v1.AnalysisResult parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.contactcenterinsights.v1.AnalysisResult parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.contactcenterinsights.v1.AnalysisResult parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.contactcenterinsights.v1.AnalysisResult parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.contactcenterinsights.v1.AnalysisResult parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.contactcenterinsights.v1.AnalysisResult parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.contactcenterinsights.v1.AnalysisResult parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.contactcenterinsights.v1.AnalysisResult parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.contactcenterinsights.v1.AnalysisResult parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.contactcenterinsights.v1.AnalysisResult parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.contactcenterinsights.v1.AnalysisResult prototype) { + public static Builder newBuilder(com.google.cloud.contactcenterinsights.v1.AnalysisResult prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * The result of an analysis.
    * 
* * Protobuf type {@code google.cloud.contactcenterinsights.v1.AnalysisResult} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.contactcenterinsights.v1.AnalysisResult) com.google.cloud.contactcenterinsights.v1.AnalysisResultOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.contactcenterinsights.v1.ResourcesProto - .internal_static_google_cloud_contactcenterinsights_v1_AnalysisResult_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.contactcenterinsights.v1.ResourcesProto.internal_static_google_cloud_contactcenterinsights_v1_AnalysisResult_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.contactcenterinsights.v1.ResourcesProto - .internal_static_google_cloud_contactcenterinsights_v1_AnalysisResult_fieldAccessorTable + return com.google.cloud.contactcenterinsights.v1.ResourcesProto.internal_static_google_cloud_contactcenterinsights_v1_AnalysisResult_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.contactcenterinsights.v1.AnalysisResult.class, - com.google.cloud.contactcenterinsights.v1.AnalysisResult.Builder.class); + com.google.cloud.contactcenterinsights.v1.AnalysisResult.class, com.google.cloud.contactcenterinsights.v1.AnalysisResult.Builder.class); } // Construct using com.google.cloud.contactcenterinsights.v1.AnalysisResult.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -3744,9 +3125,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.contactcenterinsights.v1.ResourcesProto - .internal_static_google_cloud_contactcenterinsights_v1_AnalysisResult_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.contactcenterinsights.v1.ResourcesProto.internal_static_google_cloud_contactcenterinsights_v1_AnalysisResult_descriptor; } @java.lang.Override @@ -3765,11 +3146,8 @@ public com.google.cloud.contactcenterinsights.v1.AnalysisResult build() { @java.lang.Override public com.google.cloud.contactcenterinsights.v1.AnalysisResult buildPartial() { - com.google.cloud.contactcenterinsights.v1.AnalysisResult result = - new com.google.cloud.contactcenterinsights.v1.AnalysisResult(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + com.google.cloud.contactcenterinsights.v1.AnalysisResult result = new com.google.cloud.contactcenterinsights.v1.AnalysisResult(this); + if (bitField0_ != 0) { buildPartial0(result); } buildPartialOneofs(result); onBuilt(); return result; @@ -3778,15 +3156,17 @@ public com.google.cloud.contactcenterinsights.v1.AnalysisResult buildPartial() { private void buildPartial0(com.google.cloud.contactcenterinsights.v1.AnalysisResult result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000002) != 0)) { - result.endTime_ = endTimeBuilder_ == null ? endTime_ : endTimeBuilder_.build(); + result.endTime_ = endTimeBuilder_ == null + ? endTime_ + : endTimeBuilder_.build(); } } - private void buildPartialOneofs( - com.google.cloud.contactcenterinsights.v1.AnalysisResult result) { + private void buildPartialOneofs(com.google.cloud.contactcenterinsights.v1.AnalysisResult result) { result.metadataCase_ = metadataCase_; result.metadata_ = this.metadata_; - if (metadataCase_ == 2 && callAnalysisMetadataBuilder_ != null) { + if (metadataCase_ == 2 && + callAnalysisMetadataBuilder_ != null) { result.metadata_ = callAnalysisMetadataBuilder_.build(); } } @@ -3795,39 +3175,38 @@ private void buildPartialOneofs( public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.contactcenterinsights.v1.AnalysisResult) { - return mergeFrom((com.google.cloud.contactcenterinsights.v1.AnalysisResult) other); + return mergeFrom((com.google.cloud.contactcenterinsights.v1.AnalysisResult)other); } else { super.mergeFrom(other); return this; @@ -3835,21 +3214,18 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.contactcenterinsights.v1.AnalysisResult other) { - if (other == com.google.cloud.contactcenterinsights.v1.AnalysisResult.getDefaultInstance()) - return this; + if (other == com.google.cloud.contactcenterinsights.v1.AnalysisResult.getDefaultInstance()) return this; if (other.hasEndTime()) { mergeEndTime(other.getEndTime()); } switch (other.getMetadataCase()) { - case CALL_ANALYSIS_METADATA: - { - mergeCallAnalysisMetadata(other.getCallAnalysisMetadata()); - break; - } - case METADATA_NOT_SET: - { - break; - } + case CALL_ANALYSIS_METADATA: { + mergeCallAnalysisMetadata(other.getCallAnalysisMetadata()); + break; + } + case METADATA_NOT_SET: { + break; + } } this.mergeUnknownFields(other.getUnknownFields()); onChanged(); @@ -3877,26 +3253,26 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - input.readMessage(getEndTimeFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00000002; - break; - } // case 10 - case 18: - { - input.readMessage( - getCallAnalysisMetadataFieldBuilder().getBuilder(), extensionRegistry); - metadataCase_ = 2; - break; - } // case 18 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + input.readMessage( + getEndTimeFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00000002; + break; + } // case 10 + case 18: { + input.readMessage( + getCallAnalysisMetadataFieldBuilder().getBuilder(), + extensionRegistry); + metadataCase_ = 2; + break; + } // case 18 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -3906,12 +3282,12 @@ public Builder mergeFrom( } // finally return this; } - private int metadataCase_ = 0; private java.lang.Object metadata_; - - public MetadataCase getMetadataCase() { - return MetadataCase.forNumber(metadataCase_); + public MetadataCase + getMetadataCase() { + return MetadataCase.forNumber( + metadataCase_); } public Builder clearMetadata() { @@ -3924,21 +3300,13 @@ public Builder clearMetadata() { private int bitField0_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.contactcenterinsights.v1.AnalysisResult.CallAnalysisMetadata, - com.google.cloud.contactcenterinsights.v1.AnalysisResult.CallAnalysisMetadata.Builder, - com.google.cloud.contactcenterinsights.v1.AnalysisResult.CallAnalysisMetadataOrBuilder> - callAnalysisMetadataBuilder_; + com.google.cloud.contactcenterinsights.v1.AnalysisResult.CallAnalysisMetadata, com.google.cloud.contactcenterinsights.v1.AnalysisResult.CallAnalysisMetadata.Builder, com.google.cloud.contactcenterinsights.v1.AnalysisResult.CallAnalysisMetadataOrBuilder> callAnalysisMetadataBuilder_; /** - * - * *
      * Call-specific metadata created by the analysis.
      * 
* - * - * .google.cloud.contactcenterinsights.v1.AnalysisResult.CallAnalysisMetadata call_analysis_metadata = 2; - * - * + * .google.cloud.contactcenterinsights.v1.AnalysisResult.CallAnalysisMetadata call_analysis_metadata = 2; * @return Whether the callAnalysisMetadata field is set. */ @java.lang.Override @@ -3946,49 +3314,35 @@ public boolean hasCallAnalysisMetadata() { return metadataCase_ == 2; } /** - * - * *
      * Call-specific metadata created by the analysis.
      * 
* - * - * .google.cloud.contactcenterinsights.v1.AnalysisResult.CallAnalysisMetadata call_analysis_metadata = 2; - * - * + * .google.cloud.contactcenterinsights.v1.AnalysisResult.CallAnalysisMetadata call_analysis_metadata = 2; * @return The callAnalysisMetadata. */ @java.lang.Override - public com.google.cloud.contactcenterinsights.v1.AnalysisResult.CallAnalysisMetadata - getCallAnalysisMetadata() { + public com.google.cloud.contactcenterinsights.v1.AnalysisResult.CallAnalysisMetadata getCallAnalysisMetadata() { if (callAnalysisMetadataBuilder_ == null) { if (metadataCase_ == 2) { - return (com.google.cloud.contactcenterinsights.v1.AnalysisResult.CallAnalysisMetadata) - metadata_; + return (com.google.cloud.contactcenterinsights.v1.AnalysisResult.CallAnalysisMetadata) metadata_; } - return com.google.cloud.contactcenterinsights.v1.AnalysisResult.CallAnalysisMetadata - .getDefaultInstance(); + return com.google.cloud.contactcenterinsights.v1.AnalysisResult.CallAnalysisMetadata.getDefaultInstance(); } else { if (metadataCase_ == 2) { return callAnalysisMetadataBuilder_.getMessage(); } - return com.google.cloud.contactcenterinsights.v1.AnalysisResult.CallAnalysisMetadata - .getDefaultInstance(); + return com.google.cloud.contactcenterinsights.v1.AnalysisResult.CallAnalysisMetadata.getDefaultInstance(); } } /** - * - * *
      * Call-specific metadata created by the analysis.
      * 
* - * - * .google.cloud.contactcenterinsights.v1.AnalysisResult.CallAnalysisMetadata call_analysis_metadata = 2; - * + * .google.cloud.contactcenterinsights.v1.AnalysisResult.CallAnalysisMetadata call_analysis_metadata = 2; */ - public Builder setCallAnalysisMetadata( - com.google.cloud.contactcenterinsights.v1.AnalysisResult.CallAnalysisMetadata value) { + public Builder setCallAnalysisMetadata(com.google.cloud.contactcenterinsights.v1.AnalysisResult.CallAnalysisMetadata value) { if (callAnalysisMetadataBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -4002,19 +3356,14 @@ public Builder setCallAnalysisMetadata( return this; } /** - * - * *
      * Call-specific metadata created by the analysis.
      * 
* - * - * .google.cloud.contactcenterinsights.v1.AnalysisResult.CallAnalysisMetadata call_analysis_metadata = 2; - * + * .google.cloud.contactcenterinsights.v1.AnalysisResult.CallAnalysisMetadata call_analysis_metadata = 2; */ public Builder setCallAnalysisMetadata( - com.google.cloud.contactcenterinsights.v1.AnalysisResult.CallAnalysisMetadata.Builder - builderForValue) { + com.google.cloud.contactcenterinsights.v1.AnalysisResult.CallAnalysisMetadata.Builder builderForValue) { if (callAnalysisMetadataBuilder_ == null) { metadata_ = builderForValue.build(); onChanged(); @@ -4025,31 +3374,18 @@ public Builder setCallAnalysisMetadata( return this; } /** - * - * *
      * Call-specific metadata created by the analysis.
      * 
* - * - * .google.cloud.contactcenterinsights.v1.AnalysisResult.CallAnalysisMetadata call_analysis_metadata = 2; - * + * .google.cloud.contactcenterinsights.v1.AnalysisResult.CallAnalysisMetadata call_analysis_metadata = 2; */ - public Builder mergeCallAnalysisMetadata( - com.google.cloud.contactcenterinsights.v1.AnalysisResult.CallAnalysisMetadata value) { + public Builder mergeCallAnalysisMetadata(com.google.cloud.contactcenterinsights.v1.AnalysisResult.CallAnalysisMetadata value) { if (callAnalysisMetadataBuilder_ == null) { - if (metadataCase_ == 2 - && metadata_ - != com.google.cloud.contactcenterinsights.v1.AnalysisResult.CallAnalysisMetadata - .getDefaultInstance()) { - metadata_ = - com.google.cloud.contactcenterinsights.v1.AnalysisResult.CallAnalysisMetadata - .newBuilder( - (com.google.cloud.contactcenterinsights.v1.AnalysisResult - .CallAnalysisMetadata) - metadata_) - .mergeFrom(value) - .buildPartial(); + if (metadataCase_ == 2 && + metadata_ != com.google.cloud.contactcenterinsights.v1.AnalysisResult.CallAnalysisMetadata.getDefaultInstance()) { + metadata_ = com.google.cloud.contactcenterinsights.v1.AnalysisResult.CallAnalysisMetadata.newBuilder((com.google.cloud.contactcenterinsights.v1.AnalysisResult.CallAnalysisMetadata) metadata_) + .mergeFrom(value).buildPartial(); } else { metadata_ = value; } @@ -4065,15 +3401,11 @@ public Builder mergeCallAnalysisMetadata( return this; } /** - * - * *
      * Call-specific metadata created by the analysis.
      * 
* - * - * .google.cloud.contactcenterinsights.v1.AnalysisResult.CallAnalysisMetadata call_analysis_metadata = 2; - * + * .google.cloud.contactcenterinsights.v1.AnalysisResult.CallAnalysisMetadata call_analysis_metadata = 2; */ public Builder clearCallAnalysisMetadata() { if (callAnalysisMetadataBuilder_ == null) { @@ -4092,76 +3424,50 @@ public Builder clearCallAnalysisMetadata() { return this; } /** - * - * *
      * Call-specific metadata created by the analysis.
      * 
* - * - * .google.cloud.contactcenterinsights.v1.AnalysisResult.CallAnalysisMetadata call_analysis_metadata = 2; - * + * .google.cloud.contactcenterinsights.v1.AnalysisResult.CallAnalysisMetadata call_analysis_metadata = 2; */ - public com.google.cloud.contactcenterinsights.v1.AnalysisResult.CallAnalysisMetadata.Builder - getCallAnalysisMetadataBuilder() { + public com.google.cloud.contactcenterinsights.v1.AnalysisResult.CallAnalysisMetadata.Builder getCallAnalysisMetadataBuilder() { return getCallAnalysisMetadataFieldBuilder().getBuilder(); } /** - * - * *
      * Call-specific metadata created by the analysis.
      * 
* - * - * .google.cloud.contactcenterinsights.v1.AnalysisResult.CallAnalysisMetadata call_analysis_metadata = 2; - * + * .google.cloud.contactcenterinsights.v1.AnalysisResult.CallAnalysisMetadata call_analysis_metadata = 2; */ @java.lang.Override - public com.google.cloud.contactcenterinsights.v1.AnalysisResult.CallAnalysisMetadataOrBuilder - getCallAnalysisMetadataOrBuilder() { + public com.google.cloud.contactcenterinsights.v1.AnalysisResult.CallAnalysisMetadataOrBuilder getCallAnalysisMetadataOrBuilder() { if ((metadataCase_ == 2) && (callAnalysisMetadataBuilder_ != null)) { return callAnalysisMetadataBuilder_.getMessageOrBuilder(); } else { if (metadataCase_ == 2) { - return (com.google.cloud.contactcenterinsights.v1.AnalysisResult.CallAnalysisMetadata) - metadata_; + return (com.google.cloud.contactcenterinsights.v1.AnalysisResult.CallAnalysisMetadata) metadata_; } - return com.google.cloud.contactcenterinsights.v1.AnalysisResult.CallAnalysisMetadata - .getDefaultInstance(); + return com.google.cloud.contactcenterinsights.v1.AnalysisResult.CallAnalysisMetadata.getDefaultInstance(); } } /** - * - * *
      * Call-specific metadata created by the analysis.
      * 
* - * - * .google.cloud.contactcenterinsights.v1.AnalysisResult.CallAnalysisMetadata call_analysis_metadata = 2; - * + * .google.cloud.contactcenterinsights.v1.AnalysisResult.CallAnalysisMetadata call_analysis_metadata = 2; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.contactcenterinsights.v1.AnalysisResult.CallAnalysisMetadata, - com.google.cloud.contactcenterinsights.v1.AnalysisResult.CallAnalysisMetadata.Builder, - com.google.cloud.contactcenterinsights.v1.AnalysisResult.CallAnalysisMetadataOrBuilder> + com.google.cloud.contactcenterinsights.v1.AnalysisResult.CallAnalysisMetadata, com.google.cloud.contactcenterinsights.v1.AnalysisResult.CallAnalysisMetadata.Builder, com.google.cloud.contactcenterinsights.v1.AnalysisResult.CallAnalysisMetadataOrBuilder> getCallAnalysisMetadataFieldBuilder() { if (callAnalysisMetadataBuilder_ == null) { if (!(metadataCase_ == 2)) { - metadata_ = - com.google.cloud.contactcenterinsights.v1.AnalysisResult.CallAnalysisMetadata - .getDefaultInstance(); + metadata_ = com.google.cloud.contactcenterinsights.v1.AnalysisResult.CallAnalysisMetadata.getDefaultInstance(); } - callAnalysisMetadataBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.contactcenterinsights.v1.AnalysisResult.CallAnalysisMetadata, - com.google.cloud.contactcenterinsights.v1.AnalysisResult.CallAnalysisMetadata - .Builder, - com.google.cloud.contactcenterinsights.v1.AnalysisResult - .CallAnalysisMetadataOrBuilder>( - (com.google.cloud.contactcenterinsights.v1.AnalysisResult.CallAnalysisMetadata) - metadata_, + callAnalysisMetadataBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.contactcenterinsights.v1.AnalysisResult.CallAnalysisMetadata, com.google.cloud.contactcenterinsights.v1.AnalysisResult.CallAnalysisMetadata.Builder, com.google.cloud.contactcenterinsights.v1.AnalysisResult.CallAnalysisMetadataOrBuilder>( + (com.google.cloud.contactcenterinsights.v1.AnalysisResult.CallAnalysisMetadata) metadata_, getParentForChildren(), isClean()); metadata_ = null; @@ -4173,33 +3479,24 @@ public Builder clearCallAnalysisMetadata() { private com.google.protobuf.Timestamp endTime_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> - endTimeBuilder_; + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> endTimeBuilder_; /** - * - * *
      * The time at which the analysis ended.
      * 
* * .google.protobuf.Timestamp end_time = 1; - * * @return Whether the endTime field is set. */ public boolean hasEndTime() { return ((bitField0_ & 0x00000002) != 0); } /** - * - * *
      * The time at which the analysis ended.
      * 
* * .google.protobuf.Timestamp end_time = 1; - * * @return The endTime. */ public com.google.protobuf.Timestamp getEndTime() { @@ -4210,8 +3507,6 @@ public com.google.protobuf.Timestamp getEndTime() { } } /** - * - * *
      * The time at which the analysis ended.
      * 
@@ -4232,15 +3527,14 @@ public Builder setEndTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * The time at which the analysis ended.
      * 
* * .google.protobuf.Timestamp end_time = 1; */ - public Builder setEndTime(com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setEndTime( + com.google.protobuf.Timestamp.Builder builderForValue) { if (endTimeBuilder_ == null) { endTime_ = builderForValue.build(); } else { @@ -4251,8 +3545,6 @@ public Builder setEndTime(com.google.protobuf.Timestamp.Builder builderForValue) return this; } /** - * - * *
      * The time at which the analysis ended.
      * 
@@ -4261,9 +3553,9 @@ public Builder setEndTime(com.google.protobuf.Timestamp.Builder builderForValue) */ public Builder mergeEndTime(com.google.protobuf.Timestamp value) { if (endTimeBuilder_ == null) { - if (((bitField0_ & 0x00000002) != 0) - && endTime_ != null - && endTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { + if (((bitField0_ & 0x00000002) != 0) && + endTime_ != null && + endTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { getEndTimeBuilder().mergeFrom(value); } else { endTime_ = value; @@ -4276,8 +3568,6 @@ public Builder mergeEndTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * The time at which the analysis ended.
      * 
@@ -4295,8 +3585,6 @@ public Builder clearEndTime() { return this; } /** - * - * *
      * The time at which the analysis ended.
      * 
@@ -4309,8 +3597,6 @@ public com.google.protobuf.Timestamp.Builder getEndTimeBuilder() { return getEndTimeFieldBuilder().getBuilder(); } /** - * - * *
      * The time at which the analysis ended.
      * 
@@ -4321,12 +3607,11 @@ public com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder() { if (endTimeBuilder_ != null) { return endTimeBuilder_.getMessageOrBuilder(); } else { - return endTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : endTime_; + return endTime_ == null ? + com.google.protobuf.Timestamp.getDefaultInstance() : endTime_; } } /** - * - * *
      * The time at which the analysis ended.
      * 
@@ -4334,24 +3619,21 @@ public com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder() { * .google.protobuf.Timestamp end_time = 1; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> getEndTimeFieldBuilder() { if (endTimeBuilder_ == null) { - endTimeBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder>( - getEndTime(), getParentForChildren(), isClean()); + endTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( + getEndTime(), + getParentForChildren(), + isClean()); endTime_ = null; } return endTimeBuilder_; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -4361,12 +3643,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.contactcenterinsights.v1.AnalysisResult) } // @@protoc_insertion_point(class_scope:google.cloud.contactcenterinsights.v1.AnalysisResult) private static final com.google.cloud.contactcenterinsights.v1.AnalysisResult DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.contactcenterinsights.v1.AnalysisResult(); } @@ -4375,27 +3657,27 @@ public static com.google.cloud.contactcenterinsights.v1.AnalysisResult getDefaul return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public AnalysisResult parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public AnalysisResult parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -4410,4 +3692,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.contactcenterinsights.v1.AnalysisResult getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/AnalysisResultOrBuilder.java b/owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/AnalysisResultOrBuilder.java similarity index 56% rename from java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/AnalysisResultOrBuilder.java rename to owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/AnalysisResultOrBuilder.java index 5fd7381981a3..349628cca270 100644 --- a/java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/AnalysisResultOrBuilder.java +++ b/owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/AnalysisResultOrBuilder.java @@ -1,98 +1,58 @@ -/* - * 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. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/contactcenterinsights/v1/resources.proto package com.google.cloud.contactcenterinsights.v1; -public interface AnalysisResultOrBuilder - extends +public interface AnalysisResultOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.contactcenterinsights.v1.AnalysisResult) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Call-specific metadata created by the analysis.
    * 
* - * - * .google.cloud.contactcenterinsights.v1.AnalysisResult.CallAnalysisMetadata call_analysis_metadata = 2; - * - * + * .google.cloud.contactcenterinsights.v1.AnalysisResult.CallAnalysisMetadata call_analysis_metadata = 2; * @return Whether the callAnalysisMetadata field is set. */ boolean hasCallAnalysisMetadata(); /** - * - * *
    * Call-specific metadata created by the analysis.
    * 
* - * - * .google.cloud.contactcenterinsights.v1.AnalysisResult.CallAnalysisMetadata call_analysis_metadata = 2; - * - * + * .google.cloud.contactcenterinsights.v1.AnalysisResult.CallAnalysisMetadata call_analysis_metadata = 2; * @return The callAnalysisMetadata. */ - com.google.cloud.contactcenterinsights.v1.AnalysisResult.CallAnalysisMetadata - getCallAnalysisMetadata(); + com.google.cloud.contactcenterinsights.v1.AnalysisResult.CallAnalysisMetadata getCallAnalysisMetadata(); /** - * - * *
    * Call-specific metadata created by the analysis.
    * 
* - * - * .google.cloud.contactcenterinsights.v1.AnalysisResult.CallAnalysisMetadata call_analysis_metadata = 2; - * + * .google.cloud.contactcenterinsights.v1.AnalysisResult.CallAnalysisMetadata call_analysis_metadata = 2; */ - com.google.cloud.contactcenterinsights.v1.AnalysisResult.CallAnalysisMetadataOrBuilder - getCallAnalysisMetadataOrBuilder(); + com.google.cloud.contactcenterinsights.v1.AnalysisResult.CallAnalysisMetadataOrBuilder getCallAnalysisMetadataOrBuilder(); /** - * - * *
    * The time at which the analysis ended.
    * 
* * .google.protobuf.Timestamp end_time = 1; - * * @return Whether the endTime field is set. */ boolean hasEndTime(); /** - * - * *
    * The time at which the analysis ended.
    * 
* * .google.protobuf.Timestamp end_time = 1; - * * @return The endTime. */ com.google.protobuf.Timestamp getEndTime(); /** - * - * *
    * The time at which the analysis ended.
    * 
diff --git a/java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/AnnotationBoundary.java b/owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/AnnotationBoundary.java similarity index 67% rename from java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/AnnotationBoundary.java rename to owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/AnnotationBoundary.java index 2b460a6288c0..98a0b8e4aa59 100644 --- a/java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/AnnotationBoundary.java +++ b/owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/AnnotationBoundary.java @@ -1,81 +1,60 @@ -/* - * 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. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/contactcenterinsights/v1/resources.proto package com.google.cloud.contactcenterinsights.v1; /** - * - * *
  * A point in a conversation that marks the start or the end of an annotation.
  * 
* * Protobuf type {@code google.cloud.contactcenterinsights.v1.AnnotationBoundary} */ -public final class AnnotationBoundary extends com.google.protobuf.GeneratedMessageV3 - implements +public final class AnnotationBoundary extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.contactcenterinsights.v1.AnnotationBoundary) AnnotationBoundaryOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use AnnotationBoundary.newBuilder() to construct. private AnnotationBoundary(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - - private AnnotationBoundary() {} + private AnnotationBoundary() { + } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new AnnotationBoundary(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.contactcenterinsights.v1.ResourcesProto - .internal_static_google_cloud_contactcenterinsights_v1_AnnotationBoundary_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.contactcenterinsights.v1.ResourcesProto.internal_static_google_cloud_contactcenterinsights_v1_AnnotationBoundary_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.contactcenterinsights.v1.ResourcesProto - .internal_static_google_cloud_contactcenterinsights_v1_AnnotationBoundary_fieldAccessorTable + return com.google.cloud.contactcenterinsights.v1.ResourcesProto.internal_static_google_cloud_contactcenterinsights_v1_AnnotationBoundary_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.contactcenterinsights.v1.AnnotationBoundary.class, - com.google.cloud.contactcenterinsights.v1.AnnotationBoundary.Builder.class); + com.google.cloud.contactcenterinsights.v1.AnnotationBoundary.class, com.google.cloud.contactcenterinsights.v1.AnnotationBoundary.Builder.class); } private int detailedBoundaryCase_ = 0; private java.lang.Object detailedBoundary_; - public enum DetailedBoundaryCase - implements - com.google.protobuf.Internal.EnumLite, + implements com.google.protobuf.Internal.EnumLite, com.google.protobuf.AbstractMessage.InternalOneOfEnum { WORD_INDEX(3), DETAILEDBOUNDARY_NOT_SET(0); private final int value; - private DetailedBoundaryCase(int value) { this.value = value; } @@ -91,35 +70,30 @@ public static DetailedBoundaryCase valueOf(int value) { public static DetailedBoundaryCase forNumber(int value) { switch (value) { - case 3: - return WORD_INDEX; - case 0: - return DETAILEDBOUNDARY_NOT_SET; - default: - return null; + case 3: return WORD_INDEX; + case 0: return DETAILEDBOUNDARY_NOT_SET; + default: return null; } } - public int getNumber() { return this.value; } }; - public DetailedBoundaryCase getDetailedBoundaryCase() { - return DetailedBoundaryCase.forNumber(detailedBoundaryCase_); + public DetailedBoundaryCase + getDetailedBoundaryCase() { + return DetailedBoundaryCase.forNumber( + detailedBoundaryCase_); } public static final int WORD_INDEX_FIELD_NUMBER = 3; /** - * - * *
    * The word index of this boundary with respect to the first word in the
    * transcript piece. This index starts at zero.
    * 
* * int32 word_index = 3; - * * @return Whether the wordIndex field is set. */ @java.lang.Override @@ -127,15 +101,12 @@ public boolean hasWordIndex() { return detailedBoundaryCase_ == 3; } /** - * - * *
    * The word index of this boundary with respect to the first word in the
    * transcript piece. This index starts at zero.
    * 
* * int32 word_index = 3; - * * @return The wordIndex. */ @java.lang.Override @@ -149,15 +120,12 @@ public int getWordIndex() { public static final int TRANSCRIPT_INDEX_FIELD_NUMBER = 1; private int transcriptIndex_ = 0; /** - * - * *
    * The index in the sequence of transcribed pieces of the conversation where
    * the boundary is located. This index starts at zero.
    * 
* * int32 transcript_index = 1; - * * @return The transcriptIndex. */ @java.lang.Override @@ -166,7 +134,6 @@ public int getTranscriptIndex() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -178,12 +145,14 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (transcriptIndex_ != 0) { output.writeInt32(1, transcriptIndex_); } if (detailedBoundaryCase_ == 3) { - output.writeInt32(3, (int) ((java.lang.Integer) detailedBoundary_)); + output.writeInt32( + 3, (int)((java.lang.Integer) detailedBoundary_)); } getUnknownFields().writeTo(output); } @@ -195,12 +164,13 @@ public int getSerializedSize() { size = 0; if (transcriptIndex_ != 0) { - size += com.google.protobuf.CodedOutputStream.computeInt32Size(1, transcriptIndex_); + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(1, transcriptIndex_); } if (detailedBoundaryCase_ == 3) { - size += - com.google.protobuf.CodedOutputStream.computeInt32Size( - 3, (int) ((java.lang.Integer) detailedBoundary_)); + size += com.google.protobuf.CodedOutputStream + .computeInt32Size( + 3, (int)((java.lang.Integer) detailedBoundary_)); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -210,19 +180,20 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.contactcenterinsights.v1.AnnotationBoundary)) { return super.equals(obj); } - com.google.cloud.contactcenterinsights.v1.AnnotationBoundary other = - (com.google.cloud.contactcenterinsights.v1.AnnotationBoundary) obj; + com.google.cloud.contactcenterinsights.v1.AnnotationBoundary other = (com.google.cloud.contactcenterinsights.v1.AnnotationBoundary) obj; - if (getTranscriptIndex() != other.getTranscriptIndex()) return false; + if (getTranscriptIndex() + != other.getTranscriptIndex()) return false; if (!getDetailedBoundaryCase().equals(other.getDetailedBoundaryCase())) return false; switch (detailedBoundaryCase_) { case 3: - if (getWordIndex() != other.getWordIndex()) return false; + if (getWordIndex() + != other.getWordIndex()) return false; break; case 0: default: @@ -254,136 +225,129 @@ public int hashCode() { } public static com.google.cloud.contactcenterinsights.v1.AnnotationBoundary parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.contactcenterinsights.v1.AnnotationBoundary parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.contactcenterinsights.v1.AnnotationBoundary parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.contactcenterinsights.v1.AnnotationBoundary parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.contactcenterinsights.v1.AnnotationBoundary parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.contactcenterinsights.v1.AnnotationBoundary parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.contactcenterinsights.v1.AnnotationBoundary parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.contactcenterinsights.v1.AnnotationBoundary parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.contactcenterinsights.v1.AnnotationBoundary parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.contactcenterinsights.v1.AnnotationBoundary parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.contactcenterinsights.v1.AnnotationBoundary parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.contactcenterinsights.v1.AnnotationBoundary parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.contactcenterinsights.v1.AnnotationBoundary parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.contactcenterinsights.v1.AnnotationBoundary parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.contactcenterinsights.v1.AnnotationBoundary prototype) { + public static Builder newBuilder(com.google.cloud.contactcenterinsights.v1.AnnotationBoundary prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * A point in a conversation that marks the start or the end of an annotation.
    * 
* * Protobuf type {@code google.cloud.contactcenterinsights.v1.AnnotationBoundary} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.contactcenterinsights.v1.AnnotationBoundary) com.google.cloud.contactcenterinsights.v1.AnnotationBoundaryOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.contactcenterinsights.v1.ResourcesProto - .internal_static_google_cloud_contactcenterinsights_v1_AnnotationBoundary_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.contactcenterinsights.v1.ResourcesProto.internal_static_google_cloud_contactcenterinsights_v1_AnnotationBoundary_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.contactcenterinsights.v1.ResourcesProto - .internal_static_google_cloud_contactcenterinsights_v1_AnnotationBoundary_fieldAccessorTable + return com.google.cloud.contactcenterinsights.v1.ResourcesProto.internal_static_google_cloud_contactcenterinsights_v1_AnnotationBoundary_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.contactcenterinsights.v1.AnnotationBoundary.class, - com.google.cloud.contactcenterinsights.v1.AnnotationBoundary.Builder.class); + com.google.cloud.contactcenterinsights.v1.AnnotationBoundary.class, com.google.cloud.contactcenterinsights.v1.AnnotationBoundary.Builder.class); } // Construct using com.google.cloud.contactcenterinsights.v1.AnnotationBoundary.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -395,14 +359,13 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.contactcenterinsights.v1.ResourcesProto - .internal_static_google_cloud_contactcenterinsights_v1_AnnotationBoundary_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.contactcenterinsights.v1.ResourcesProto.internal_static_google_cloud_contactcenterinsights_v1_AnnotationBoundary_descriptor; } @java.lang.Override - public com.google.cloud.contactcenterinsights.v1.AnnotationBoundary - getDefaultInstanceForType() { + public com.google.cloud.contactcenterinsights.v1.AnnotationBoundary getDefaultInstanceForType() { return com.google.cloud.contactcenterinsights.v1.AnnotationBoundary.getDefaultInstance(); } @@ -417,26 +380,21 @@ public com.google.cloud.contactcenterinsights.v1.AnnotationBoundary build() { @java.lang.Override public com.google.cloud.contactcenterinsights.v1.AnnotationBoundary buildPartial() { - com.google.cloud.contactcenterinsights.v1.AnnotationBoundary result = - new com.google.cloud.contactcenterinsights.v1.AnnotationBoundary(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + com.google.cloud.contactcenterinsights.v1.AnnotationBoundary result = new com.google.cloud.contactcenterinsights.v1.AnnotationBoundary(this); + if (bitField0_ != 0) { buildPartial0(result); } buildPartialOneofs(result); onBuilt(); return result; } - private void buildPartial0( - com.google.cloud.contactcenterinsights.v1.AnnotationBoundary result) { + private void buildPartial0(com.google.cloud.contactcenterinsights.v1.AnnotationBoundary result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000002) != 0)) { result.transcriptIndex_ = transcriptIndex_; } } - private void buildPartialOneofs( - com.google.cloud.contactcenterinsights.v1.AnnotationBoundary result) { + private void buildPartialOneofs(com.google.cloud.contactcenterinsights.v1.AnnotationBoundary result) { result.detailedBoundaryCase_ = detailedBoundaryCase_; result.detailedBoundary_ = this.detailedBoundary_; } @@ -445,39 +403,38 @@ private void buildPartialOneofs( public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.contactcenterinsights.v1.AnnotationBoundary) { - return mergeFrom((com.google.cloud.contactcenterinsights.v1.AnnotationBoundary) other); + return mergeFrom((com.google.cloud.contactcenterinsights.v1.AnnotationBoundary)other); } else { super.mergeFrom(other); return this; @@ -485,22 +442,18 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.contactcenterinsights.v1.AnnotationBoundary other) { - if (other - == com.google.cloud.contactcenterinsights.v1.AnnotationBoundary.getDefaultInstance()) - return this; + if (other == com.google.cloud.contactcenterinsights.v1.AnnotationBoundary.getDefaultInstance()) return this; if (other.getTranscriptIndex() != 0) { setTranscriptIndex(other.getTranscriptIndex()); } switch (other.getDetailedBoundaryCase()) { - case WORD_INDEX: - { - setWordIndex(other.getWordIndex()); - break; - } - case DETAILEDBOUNDARY_NOT_SET: - { - break; - } + case WORD_INDEX: { + setWordIndex(other.getWordIndex()); + break; + } + case DETAILEDBOUNDARY_NOT_SET: { + break; + } } this.mergeUnknownFields(other.getUnknownFields()); onChanged(); @@ -528,25 +481,22 @@ public Builder mergeFrom( case 0: done = true; break; - case 8: - { - transcriptIndex_ = input.readInt32(); - bitField0_ |= 0x00000002; - break; - } // case 8 - case 24: - { - detailedBoundary_ = input.readInt32(); - detailedBoundaryCase_ = 3; - break; - } // case 24 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 8: { + transcriptIndex_ = input.readInt32(); + bitField0_ |= 0x00000002; + break; + } // case 8 + case 24: { + detailedBoundary_ = input.readInt32(); + detailedBoundaryCase_ = 3; + break; + } // case 24 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -556,12 +506,12 @@ public Builder mergeFrom( } // finally return this; } - private int detailedBoundaryCase_ = 0; private java.lang.Object detailedBoundary_; - - public DetailedBoundaryCase getDetailedBoundaryCase() { - return DetailedBoundaryCase.forNumber(detailedBoundaryCase_); + public DetailedBoundaryCase + getDetailedBoundaryCase() { + return DetailedBoundaryCase.forNumber( + detailedBoundaryCase_); } public Builder clearDetailedBoundary() { @@ -574,30 +524,24 @@ public Builder clearDetailedBoundary() { private int bitField0_; /** - * - * *
      * The word index of this boundary with respect to the first word in the
      * transcript piece. This index starts at zero.
      * 
* * int32 word_index = 3; - * * @return Whether the wordIndex field is set. */ public boolean hasWordIndex() { return detailedBoundaryCase_ == 3; } /** - * - * *
      * The word index of this boundary with respect to the first word in the
      * transcript piece. This index starts at zero.
      * 
* * int32 word_index = 3; - * * @return The wordIndex. */ public int getWordIndex() { @@ -607,35 +551,29 @@ public int getWordIndex() { return 0; } /** - * - * *
      * The word index of this boundary with respect to the first word in the
      * transcript piece. This index starts at zero.
      * 
* * int32 word_index = 3; - * * @param value The wordIndex to set. * @return This builder for chaining. */ public Builder setWordIndex(int value) { - + detailedBoundaryCase_ = 3; detailedBoundary_ = value; onChanged(); return this; } /** - * - * *
      * The word index of this boundary with respect to the first word in the
      * transcript piece. This index starts at zero.
      * 
* * int32 word_index = 3; - * * @return This builder for chaining. */ public Builder clearWordIndex() { @@ -647,17 +585,14 @@ public Builder clearWordIndex() { return this; } - private int transcriptIndex_; + private int transcriptIndex_ ; /** - * - * *
      * The index in the sequence of transcribed pieces of the conversation where
      * the boundary is located. This index starts at zero.
      * 
* * int32 transcript_index = 1; - * * @return The transcriptIndex. */ @java.lang.Override @@ -665,35 +600,29 @@ public int getTranscriptIndex() { return transcriptIndex_; } /** - * - * *
      * The index in the sequence of transcribed pieces of the conversation where
      * the boundary is located. This index starts at zero.
      * 
* * int32 transcript_index = 1; - * * @param value The transcriptIndex to set. * @return This builder for chaining. */ public Builder setTranscriptIndex(int value) { - + transcriptIndex_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** - * - * *
      * The index in the sequence of transcribed pieces of the conversation where
      * the boundary is located. This index starts at zero.
      * 
* * int32 transcript_index = 1; - * * @return This builder for chaining. */ public Builder clearTranscriptIndex() { @@ -702,9 +631,9 @@ public Builder clearTranscriptIndex() { onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -714,13 +643,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.contactcenterinsights.v1.AnnotationBoundary) } // @@protoc_insertion_point(class_scope:google.cloud.contactcenterinsights.v1.AnnotationBoundary) - private static final com.google.cloud.contactcenterinsights.v1.AnnotationBoundary - DEFAULT_INSTANCE; - + private static final com.google.cloud.contactcenterinsights.v1.AnnotationBoundary DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.cloud.contactcenterinsights.v1.AnnotationBoundary(); } @@ -729,27 +657,27 @@ public static com.google.cloud.contactcenterinsights.v1.AnnotationBoundary getDe return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public AnnotationBoundary parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public AnnotationBoundary parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -764,4 +692,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.contactcenterinsights.v1.AnnotationBoundary getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/AnnotationBoundaryOrBuilder.java b/owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/AnnotationBoundaryOrBuilder.java similarity index 61% rename from java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/AnnotationBoundaryOrBuilder.java rename to owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/AnnotationBoundaryOrBuilder.java index 79e6b46f10c3..c2a9644941df 100644 --- a/java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/AnnotationBoundaryOrBuilder.java +++ b/owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/AnnotationBoundaryOrBuilder.java @@ -1,69 +1,43 @@ -/* - * 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. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/contactcenterinsights/v1/resources.proto package com.google.cloud.contactcenterinsights.v1; -public interface AnnotationBoundaryOrBuilder - extends +public interface AnnotationBoundaryOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.contactcenterinsights.v1.AnnotationBoundary) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * The word index of this boundary with respect to the first word in the
    * transcript piece. This index starts at zero.
    * 
* * int32 word_index = 3; - * * @return Whether the wordIndex field is set. */ boolean hasWordIndex(); /** - * - * *
    * The word index of this boundary with respect to the first word in the
    * transcript piece. This index starts at zero.
    * 
* * int32 word_index = 3; - * * @return The wordIndex. */ int getWordIndex(); /** - * - * *
    * The index in the sequence of transcribed pieces of the conversation where
    * the boundary is located. This index starts at zero.
    * 
* * int32 transcript_index = 1; - * * @return The transcriptIndex. */ int getTranscriptIndex(); - public com.google.cloud.contactcenterinsights.v1.AnnotationBoundary.DetailedBoundaryCase - getDetailedBoundaryCase(); + public com.google.cloud.contactcenterinsights.v1.AnnotationBoundary.DetailedBoundaryCase getDetailedBoundaryCase(); } diff --git a/java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/AnnotatorSelector.java b/owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/AnnotatorSelector.java similarity index 78% rename from java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/AnnotatorSelector.java rename to owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/AnnotatorSelector.java index 4be67e660128..e0205c2f1c35 100644 --- a/java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/AnnotatorSelector.java +++ b/owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/AnnotatorSelector.java @@ -1,42 +1,24 @@ -/* - * 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. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/contactcenterinsights/v1/resources.proto package com.google.cloud.contactcenterinsights.v1; /** - * - * *
  * Selector of all available annotators and phrase matchers to run.
  * 
* * Protobuf type {@code google.cloud.contactcenterinsights.v1.AnnotatorSelector} */ -public final class AnnotatorSelector extends com.google.protobuf.GeneratedMessageV3 - implements +public final class AnnotatorSelector extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.contactcenterinsights.v1.AnnotatorSelector) AnnotatorSelectorOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use AnnotatorSelector.newBuilder() to construct. private AnnotatorSelector(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private AnnotatorSelector() { phraseMatchers_ = com.google.protobuf.LazyStringArrayList.EMPTY; issueModels_ = com.google.protobuf.LazyStringArrayList.EMPTY; @@ -44,41 +26,37 @@ private AnnotatorSelector() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new AnnotatorSelector(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.contactcenterinsights.v1.ResourcesProto - .internal_static_google_cloud_contactcenterinsights_v1_AnnotatorSelector_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.contactcenterinsights.v1.ResourcesProto.internal_static_google_cloud_contactcenterinsights_v1_AnnotatorSelector_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.contactcenterinsights.v1.ResourcesProto - .internal_static_google_cloud_contactcenterinsights_v1_AnnotatorSelector_fieldAccessorTable + return com.google.cloud.contactcenterinsights.v1.ResourcesProto.internal_static_google_cloud_contactcenterinsights_v1_AnnotatorSelector_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.contactcenterinsights.v1.AnnotatorSelector.class, - com.google.cloud.contactcenterinsights.v1.AnnotatorSelector.Builder.class); + com.google.cloud.contactcenterinsights.v1.AnnotatorSelector.class, com.google.cloud.contactcenterinsights.v1.AnnotatorSelector.Builder.class); } public static final int RUN_INTERRUPTION_ANNOTATOR_FIELD_NUMBER = 1; private boolean runInterruptionAnnotator_ = false; /** - * - * *
    * Whether to run the interruption annotator.
    * 
* * bool run_interruption_annotator = 1; - * * @return The runInterruptionAnnotator. */ @java.lang.Override @@ -89,14 +67,11 @@ public boolean getRunInterruptionAnnotator() { public static final int RUN_SILENCE_ANNOTATOR_FIELD_NUMBER = 2; private boolean runSilenceAnnotator_ = false; /** - * - * *
    * Whether to run the silence annotator.
    * 
* * bool run_silence_annotator = 2; - * * @return The runSilenceAnnotator. */ @java.lang.Override @@ -107,14 +82,11 @@ public boolean getRunSilenceAnnotator() { public static final int RUN_PHRASE_MATCHER_ANNOTATOR_FIELD_NUMBER = 3; private boolean runPhraseMatcherAnnotator_ = false; /** - * - * *
    * Whether to run the active phrase matcher annotator(s).
    * 
* * bool run_phrase_matcher_annotator = 3; - * * @return The runPhraseMatcherAnnotator. */ @java.lang.Override @@ -123,12 +95,9 @@ public boolean getRunPhraseMatcherAnnotator() { } public static final int PHRASE_MATCHERS_FIELD_NUMBER = 4; - @SuppressWarnings("serial") private com.google.protobuf.LazyStringList phraseMatchers_; /** - * - * *
    * The list of phrase matchers to run. If not provided, all active phrase
    * matchers will be used. If inactive phrase matchers are provided, they will
@@ -138,15 +107,13 @@ public boolean getRunPhraseMatcherAnnotator() {
    * 
* * repeated string phrase_matchers = 4 [(.google.api.resource_reference) = { ... } - * * @return A list containing the phraseMatchers. */ - public com.google.protobuf.ProtocolStringList getPhraseMatchersList() { + public com.google.protobuf.ProtocolStringList + getPhraseMatchersList() { return phraseMatchers_; } /** - * - * *
    * The list of phrase matchers to run. If not provided, all active phrase
    * matchers will be used. If inactive phrase matchers are provided, they will
@@ -156,15 +123,12 @@ public com.google.protobuf.ProtocolStringList getPhraseMatchersList() {
    * 
* * repeated string phrase_matchers = 4 [(.google.api.resource_reference) = { ... } - * * @return The count of phraseMatchers. */ public int getPhraseMatchersCount() { return phraseMatchers_.size(); } /** - * - * *
    * The list of phrase matchers to run. If not provided, all active phrase
    * matchers will be used. If inactive phrase matchers are provided, they will
@@ -174,7 +138,6 @@ public int getPhraseMatchersCount() {
    * 
* * repeated string phrase_matchers = 4 [(.google.api.resource_reference) = { ... } - * * @param index The index of the element to return. * @return The phraseMatchers at the given index. */ @@ -182,8 +145,6 @@ public java.lang.String getPhraseMatchers(int index) { return phraseMatchers_.get(index); } /** - * - * *
    * The list of phrase matchers to run. If not provided, all active phrase
    * matchers will be used. If inactive phrase matchers are provided, they will
@@ -193,25 +154,22 @@ public java.lang.String getPhraseMatchers(int index) {
    * 
* * repeated string phrase_matchers = 4 [(.google.api.resource_reference) = { ... } - * * @param index The index of the value to return. * @return The bytes of the phraseMatchers at the given index. */ - public com.google.protobuf.ByteString getPhraseMatchersBytes(int index) { + public com.google.protobuf.ByteString + getPhraseMatchersBytes(int index) { return phraseMatchers_.getByteString(index); } public static final int RUN_SENTIMENT_ANNOTATOR_FIELD_NUMBER = 5; private boolean runSentimentAnnotator_ = false; /** - * - * *
    * Whether to run the sentiment annotator.
    * 
* * bool run_sentiment_annotator = 5; - * * @return The runSentimentAnnotator. */ @java.lang.Override @@ -222,14 +180,11 @@ public boolean getRunSentimentAnnotator() { public static final int RUN_ENTITY_ANNOTATOR_FIELD_NUMBER = 6; private boolean runEntityAnnotator_ = false; /** - * - * *
    * Whether to run the entity annotator.
    * 
* * bool run_entity_annotator = 6; - * * @return The runEntityAnnotator. */ @java.lang.Override @@ -240,14 +195,11 @@ public boolean getRunEntityAnnotator() { public static final int RUN_INTENT_ANNOTATOR_FIELD_NUMBER = 7; private boolean runIntentAnnotator_ = false; /** - * - * *
    * Whether to run the intent annotator.
    * 
* * bool run_intent_annotator = 7; - * * @return The runIntentAnnotator. */ @java.lang.Override @@ -258,15 +210,12 @@ public boolean getRunIntentAnnotator() { public static final int RUN_ISSUE_MODEL_ANNOTATOR_FIELD_NUMBER = 8; private boolean runIssueModelAnnotator_ = false; /** - * - * *
    * Whether to run the issue model annotator. A model should have already been
    * deployed for this to take effect.
    * 
* * bool run_issue_model_annotator = 8; - * * @return The runIssueModelAnnotator. */ @java.lang.Override @@ -275,12 +224,9 @@ public boolean getRunIssueModelAnnotator() { } public static final int ISSUE_MODELS_FIELD_NUMBER = 10; - @SuppressWarnings("serial") private com.google.protobuf.LazyStringList issueModels_; /** - * - * *
    * The issue model to run. If not provided, the most recently deployed topic
    * model will be used. The provided issue model will only be used for
@@ -290,15 +236,13 @@ public boolean getRunIssueModelAnnotator() {
    * 
* * repeated string issue_models = 10 [(.google.api.resource_reference) = { ... } - * * @return A list containing the issueModels. */ - public com.google.protobuf.ProtocolStringList getIssueModelsList() { + public com.google.protobuf.ProtocolStringList + getIssueModelsList() { return issueModels_; } /** - * - * *
    * The issue model to run. If not provided, the most recently deployed topic
    * model will be used. The provided issue model will only be used for
@@ -308,15 +252,12 @@ public com.google.protobuf.ProtocolStringList getIssueModelsList() {
    * 
* * repeated string issue_models = 10 [(.google.api.resource_reference) = { ... } - * * @return The count of issueModels. */ public int getIssueModelsCount() { return issueModels_.size(); } /** - * - * *
    * The issue model to run. If not provided, the most recently deployed topic
    * model will be used. The provided issue model will only be used for
@@ -326,7 +267,6 @@ public int getIssueModelsCount() {
    * 
* * repeated string issue_models = 10 [(.google.api.resource_reference) = { ... } - * * @param index The index of the element to return. * @return The issueModels at the given index. */ @@ -334,8 +274,6 @@ public java.lang.String getIssueModels(int index) { return issueModels_.get(index); } /** - * - * *
    * The issue model to run. If not provided, the most recently deployed topic
    * model will be used. The provided issue model will only be used for
@@ -345,16 +283,15 @@ public java.lang.String getIssueModels(int index) {
    * 
* * repeated string issue_models = 10 [(.google.api.resource_reference) = { ... } - * * @param index The index of the value to return. * @return The bytes of the issueModels at the given index. */ - public com.google.protobuf.ByteString getIssueModelsBytes(int index) { + public com.google.protobuf.ByteString + getIssueModelsBytes(int index) { return issueModels_.getByteString(index); } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -366,7 +303,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (runInterruptionAnnotator_ != false) { output.writeBool(1, runInterruptionAnnotator_); } @@ -404,13 +342,16 @@ public int getSerializedSize() { size = 0; if (runInterruptionAnnotator_ != false) { - size += com.google.protobuf.CodedOutputStream.computeBoolSize(1, runInterruptionAnnotator_); + size += com.google.protobuf.CodedOutputStream + .computeBoolSize(1, runInterruptionAnnotator_); } if (runSilenceAnnotator_ != false) { - size += com.google.protobuf.CodedOutputStream.computeBoolSize(2, runSilenceAnnotator_); + size += com.google.protobuf.CodedOutputStream + .computeBoolSize(2, runSilenceAnnotator_); } if (runPhraseMatcherAnnotator_ != false) { - size += com.google.protobuf.CodedOutputStream.computeBoolSize(3, runPhraseMatcherAnnotator_); + size += com.google.protobuf.CodedOutputStream + .computeBoolSize(3, runPhraseMatcherAnnotator_); } { int dataSize = 0; @@ -421,16 +362,20 @@ public int getSerializedSize() { size += 1 * getPhraseMatchersList().size(); } if (runSentimentAnnotator_ != false) { - size += com.google.protobuf.CodedOutputStream.computeBoolSize(5, runSentimentAnnotator_); + size += com.google.protobuf.CodedOutputStream + .computeBoolSize(5, runSentimentAnnotator_); } if (runEntityAnnotator_ != false) { - size += com.google.protobuf.CodedOutputStream.computeBoolSize(6, runEntityAnnotator_); + size += com.google.protobuf.CodedOutputStream + .computeBoolSize(6, runEntityAnnotator_); } if (runIntentAnnotator_ != false) { - size += com.google.protobuf.CodedOutputStream.computeBoolSize(7, runIntentAnnotator_); + size += com.google.protobuf.CodedOutputStream + .computeBoolSize(7, runIntentAnnotator_); } if (runIssueModelAnnotator_ != false) { - size += com.google.protobuf.CodedOutputStream.computeBoolSize(8, runIssueModelAnnotator_); + size += com.google.protobuf.CodedOutputStream + .computeBoolSize(8, runIssueModelAnnotator_); } { int dataSize = 0; @@ -448,23 +393,31 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.contactcenterinsights.v1.AnnotatorSelector)) { return super.equals(obj); } - com.google.cloud.contactcenterinsights.v1.AnnotatorSelector other = - (com.google.cloud.contactcenterinsights.v1.AnnotatorSelector) obj; - - if (getRunInterruptionAnnotator() != other.getRunInterruptionAnnotator()) return false; - if (getRunSilenceAnnotator() != other.getRunSilenceAnnotator()) return false; - if (getRunPhraseMatcherAnnotator() != other.getRunPhraseMatcherAnnotator()) return false; - if (!getPhraseMatchersList().equals(other.getPhraseMatchersList())) return false; - if (getRunSentimentAnnotator() != other.getRunSentimentAnnotator()) return false; - if (getRunEntityAnnotator() != other.getRunEntityAnnotator()) return false; - if (getRunIntentAnnotator() != other.getRunIntentAnnotator()) return false; - if (getRunIssueModelAnnotator() != other.getRunIssueModelAnnotator()) return false; - if (!getIssueModelsList().equals(other.getIssueModelsList())) return false; + com.google.cloud.contactcenterinsights.v1.AnnotatorSelector other = (com.google.cloud.contactcenterinsights.v1.AnnotatorSelector) obj; + + if (getRunInterruptionAnnotator() + != other.getRunInterruptionAnnotator()) return false; + if (getRunSilenceAnnotator() + != other.getRunSilenceAnnotator()) return false; + if (getRunPhraseMatcherAnnotator() + != other.getRunPhraseMatcherAnnotator()) return false; + if (!getPhraseMatchersList() + .equals(other.getPhraseMatchersList())) return false; + if (getRunSentimentAnnotator() + != other.getRunSentimentAnnotator()) return false; + if (getRunEntityAnnotator() + != other.getRunEntityAnnotator()) return false; + if (getRunIntentAnnotator() + != other.getRunIntentAnnotator()) return false; + if (getRunIssueModelAnnotator() + != other.getRunIssueModelAnnotator()) return false; + if (!getIssueModelsList() + .equals(other.getIssueModelsList())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -477,23 +430,30 @@ public int hashCode() { int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); hash = (37 * hash) + RUN_INTERRUPTION_ANNOTATOR_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getRunInterruptionAnnotator()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( + getRunInterruptionAnnotator()); hash = (37 * hash) + RUN_SILENCE_ANNOTATOR_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getRunSilenceAnnotator()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( + getRunSilenceAnnotator()); hash = (37 * hash) + RUN_PHRASE_MATCHER_ANNOTATOR_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getRunPhraseMatcherAnnotator()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( + getRunPhraseMatcherAnnotator()); if (getPhraseMatchersCount() > 0) { hash = (37 * hash) + PHRASE_MATCHERS_FIELD_NUMBER; hash = (53 * hash) + getPhraseMatchersList().hashCode(); } hash = (37 * hash) + RUN_SENTIMENT_ANNOTATOR_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getRunSentimentAnnotator()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( + getRunSentimentAnnotator()); hash = (37 * hash) + RUN_ENTITY_ANNOTATOR_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getRunEntityAnnotator()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( + getRunEntityAnnotator()); hash = (37 * hash) + RUN_INTENT_ANNOTATOR_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getRunIntentAnnotator()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( + getRunIntentAnnotator()); hash = (37 * hash) + RUN_ISSUE_MODEL_ANNOTATOR_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getRunIssueModelAnnotator()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( + getRunIssueModelAnnotator()); if (getIssueModelsCount() > 0) { hash = (37 * hash) + ISSUE_MODELS_FIELD_NUMBER; hash = (53 * hash) + getIssueModelsList().hashCode(); @@ -504,136 +464,129 @@ public int hashCode() { } public static com.google.cloud.contactcenterinsights.v1.AnnotatorSelector parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.contactcenterinsights.v1.AnnotatorSelector parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.contactcenterinsights.v1.AnnotatorSelector parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.contactcenterinsights.v1.AnnotatorSelector parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.contactcenterinsights.v1.AnnotatorSelector parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.contactcenterinsights.v1.AnnotatorSelector parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.contactcenterinsights.v1.AnnotatorSelector parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.contactcenterinsights.v1.AnnotatorSelector parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.contactcenterinsights.v1.AnnotatorSelector parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.contactcenterinsights.v1.AnnotatorSelector parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.contactcenterinsights.v1.AnnotatorSelector parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.contactcenterinsights.v1.AnnotatorSelector parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.contactcenterinsights.v1.AnnotatorSelector parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.contactcenterinsights.v1.AnnotatorSelector parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.contactcenterinsights.v1.AnnotatorSelector prototype) { + public static Builder newBuilder(com.google.cloud.contactcenterinsights.v1.AnnotatorSelector prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Selector of all available annotators and phrase matchers to run.
    * 
* * Protobuf type {@code google.cloud.contactcenterinsights.v1.AnnotatorSelector} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.contactcenterinsights.v1.AnnotatorSelector) com.google.cloud.contactcenterinsights.v1.AnnotatorSelectorOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.contactcenterinsights.v1.ResourcesProto - .internal_static_google_cloud_contactcenterinsights_v1_AnnotatorSelector_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.contactcenterinsights.v1.ResourcesProto.internal_static_google_cloud_contactcenterinsights_v1_AnnotatorSelector_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.contactcenterinsights.v1.ResourcesProto - .internal_static_google_cloud_contactcenterinsights_v1_AnnotatorSelector_fieldAccessorTable + return com.google.cloud.contactcenterinsights.v1.ResourcesProto.internal_static_google_cloud_contactcenterinsights_v1_AnnotatorSelector_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.contactcenterinsights.v1.AnnotatorSelector.class, - com.google.cloud.contactcenterinsights.v1.AnnotatorSelector.Builder.class); + com.google.cloud.contactcenterinsights.v1.AnnotatorSelector.class, com.google.cloud.contactcenterinsights.v1.AnnotatorSelector.Builder.class); } // Construct using com.google.cloud.contactcenterinsights.v1.AnnotatorSelector.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -653,9 +606,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.contactcenterinsights.v1.ResourcesProto - .internal_static_google_cloud_contactcenterinsights_v1_AnnotatorSelector_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.contactcenterinsights.v1.ResourcesProto.internal_static_google_cloud_contactcenterinsights_v1_AnnotatorSelector_descriptor; } @java.lang.Override @@ -674,18 +627,14 @@ public com.google.cloud.contactcenterinsights.v1.AnnotatorSelector build() { @java.lang.Override public com.google.cloud.contactcenterinsights.v1.AnnotatorSelector buildPartial() { - com.google.cloud.contactcenterinsights.v1.AnnotatorSelector result = - new com.google.cloud.contactcenterinsights.v1.AnnotatorSelector(this); + com.google.cloud.contactcenterinsights.v1.AnnotatorSelector result = new com.google.cloud.contactcenterinsights.v1.AnnotatorSelector(this); buildPartialRepeatedFields(result); - if (bitField0_ != 0) { - buildPartial0(result); - } + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } - private void buildPartialRepeatedFields( - com.google.cloud.contactcenterinsights.v1.AnnotatorSelector result) { + private void buildPartialRepeatedFields(com.google.cloud.contactcenterinsights.v1.AnnotatorSelector result) { if (((bitField0_ & 0x00000008) != 0)) { phraseMatchers_ = phraseMatchers_.getUnmodifiableView(); bitField0_ = (bitField0_ & ~0x00000008); @@ -727,39 +676,38 @@ private void buildPartial0(com.google.cloud.contactcenterinsights.v1.AnnotatorSe public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.contactcenterinsights.v1.AnnotatorSelector) { - return mergeFrom((com.google.cloud.contactcenterinsights.v1.AnnotatorSelector) other); + return mergeFrom((com.google.cloud.contactcenterinsights.v1.AnnotatorSelector)other); } else { super.mergeFrom(other); return this; @@ -767,8 +715,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.contactcenterinsights.v1.AnnotatorSelector other) { - if (other == com.google.cloud.contactcenterinsights.v1.AnnotatorSelector.getDefaultInstance()) - return this; + if (other == com.google.cloud.contactcenterinsights.v1.AnnotatorSelector.getDefaultInstance()) return this; if (other.getRunInterruptionAnnotator() != false) { setRunInterruptionAnnotator(other.getRunInterruptionAnnotator()); } @@ -836,69 +783,59 @@ public Builder mergeFrom( case 0: done = true; break; - case 8: - { - runInterruptionAnnotator_ = input.readBool(); - bitField0_ |= 0x00000001; - break; - } // case 8 - case 16: - { - runSilenceAnnotator_ = input.readBool(); - bitField0_ |= 0x00000002; - break; - } // case 16 - case 24: - { - runPhraseMatcherAnnotator_ = input.readBool(); - bitField0_ |= 0x00000004; - break; - } // case 24 - case 34: - { - java.lang.String s = input.readStringRequireUtf8(); - ensurePhraseMatchersIsMutable(); - phraseMatchers_.add(s); - break; - } // case 34 - case 40: - { - runSentimentAnnotator_ = input.readBool(); - bitField0_ |= 0x00000010; - break; - } // case 40 - case 48: - { - runEntityAnnotator_ = input.readBool(); - bitField0_ |= 0x00000020; - break; - } // case 48 - case 56: - { - runIntentAnnotator_ = input.readBool(); - bitField0_ |= 0x00000040; - break; - } // case 56 - case 64: - { - runIssueModelAnnotator_ = input.readBool(); - bitField0_ |= 0x00000080; - break; - } // case 64 - case 82: - { - java.lang.String s = input.readStringRequireUtf8(); - ensureIssueModelsIsMutable(); - issueModels_.add(s); - break; - } // case 82 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 8: { + runInterruptionAnnotator_ = input.readBool(); + bitField0_ |= 0x00000001; + break; + } // case 8 + case 16: { + runSilenceAnnotator_ = input.readBool(); + bitField0_ |= 0x00000002; + break; + } // case 16 + case 24: { + runPhraseMatcherAnnotator_ = input.readBool(); + bitField0_ |= 0x00000004; + break; + } // case 24 + case 34: { + java.lang.String s = input.readStringRequireUtf8(); + ensurePhraseMatchersIsMutable(); + phraseMatchers_.add(s); + break; + } // case 34 + case 40: { + runSentimentAnnotator_ = input.readBool(); + bitField0_ |= 0x00000010; + break; + } // case 40 + case 48: { + runEntityAnnotator_ = input.readBool(); + bitField0_ |= 0x00000020; + break; + } // case 48 + case 56: { + runIntentAnnotator_ = input.readBool(); + bitField0_ |= 0x00000040; + break; + } // case 56 + case 64: { + runIssueModelAnnotator_ = input.readBool(); + bitField0_ |= 0x00000080; + break; + } // case 64 + case 82: { + java.lang.String s = input.readStringRequireUtf8(); + ensureIssueModelsIsMutable(); + issueModels_.add(s); + break; + } // case 82 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -908,19 +845,15 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; - private boolean runInterruptionAnnotator_; + private boolean runInterruptionAnnotator_ ; /** - * - * *
      * Whether to run the interruption annotator.
      * 
* * bool run_interruption_annotator = 1; - * * @return The runInterruptionAnnotator. */ @java.lang.Override @@ -928,33 +861,27 @@ public boolean getRunInterruptionAnnotator() { return runInterruptionAnnotator_; } /** - * - * *
      * Whether to run the interruption annotator.
      * 
* * bool run_interruption_annotator = 1; - * * @param value The runInterruptionAnnotator to set. * @return This builder for chaining. */ public Builder setRunInterruptionAnnotator(boolean value) { - + runInterruptionAnnotator_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
      * Whether to run the interruption annotator.
      * 
* * bool run_interruption_annotator = 1; - * * @return This builder for chaining. */ public Builder clearRunInterruptionAnnotator() { @@ -964,16 +891,13 @@ public Builder clearRunInterruptionAnnotator() { return this; } - private boolean runSilenceAnnotator_; + private boolean runSilenceAnnotator_ ; /** - * - * *
      * Whether to run the silence annotator.
      * 
* * bool run_silence_annotator = 2; - * * @return The runSilenceAnnotator. */ @java.lang.Override @@ -981,33 +905,27 @@ public boolean getRunSilenceAnnotator() { return runSilenceAnnotator_; } /** - * - * *
      * Whether to run the silence annotator.
      * 
* * bool run_silence_annotator = 2; - * * @param value The runSilenceAnnotator to set. * @return This builder for chaining. */ public Builder setRunSilenceAnnotator(boolean value) { - + runSilenceAnnotator_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** - * - * *
      * Whether to run the silence annotator.
      * 
* * bool run_silence_annotator = 2; - * * @return This builder for chaining. */ public Builder clearRunSilenceAnnotator() { @@ -1017,16 +935,13 @@ public Builder clearRunSilenceAnnotator() { return this; } - private boolean runPhraseMatcherAnnotator_; + private boolean runPhraseMatcherAnnotator_ ; /** - * - * *
      * Whether to run the active phrase matcher annotator(s).
      * 
* * bool run_phrase_matcher_annotator = 3; - * * @return The runPhraseMatcherAnnotator. */ @java.lang.Override @@ -1034,33 +949,27 @@ public boolean getRunPhraseMatcherAnnotator() { return runPhraseMatcherAnnotator_; } /** - * - * *
      * Whether to run the active phrase matcher annotator(s).
      * 
* * bool run_phrase_matcher_annotator = 3; - * * @param value The runPhraseMatcherAnnotator to set. * @return This builder for chaining. */ public Builder setRunPhraseMatcherAnnotator(boolean value) { - + runPhraseMatcherAnnotator_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } /** - * - * *
      * Whether to run the active phrase matcher annotator(s).
      * 
* * bool run_phrase_matcher_annotator = 3; - * * @return This builder for chaining. */ public Builder clearRunPhraseMatcherAnnotator() { @@ -1070,18 +979,14 @@ public Builder clearRunPhraseMatcherAnnotator() { return this; } - private com.google.protobuf.LazyStringList phraseMatchers_ = - com.google.protobuf.LazyStringArrayList.EMPTY; - + private com.google.protobuf.LazyStringList phraseMatchers_ = com.google.protobuf.LazyStringArrayList.EMPTY; private void ensurePhraseMatchersIsMutable() { if (!((bitField0_ & 0x00000008) != 0)) { phraseMatchers_ = new com.google.protobuf.LazyStringArrayList(phraseMatchers_); bitField0_ |= 0x00000008; - } + } } /** - * - * *
      * The list of phrase matchers to run. If not provided, all active phrase
      * matchers will be used. If inactive phrase matchers are provided, they will
@@ -1091,15 +996,13 @@ private void ensurePhraseMatchersIsMutable() {
      * 
* * repeated string phrase_matchers = 4 [(.google.api.resource_reference) = { ... } - * * @return A list containing the phraseMatchers. */ - public com.google.protobuf.ProtocolStringList getPhraseMatchersList() { + public com.google.protobuf.ProtocolStringList + getPhraseMatchersList() { return phraseMatchers_.getUnmodifiableView(); } /** - * - * *
      * The list of phrase matchers to run. If not provided, all active phrase
      * matchers will be used. If inactive phrase matchers are provided, they will
@@ -1109,15 +1012,12 @@ public com.google.protobuf.ProtocolStringList getPhraseMatchersList() {
      * 
* * repeated string phrase_matchers = 4 [(.google.api.resource_reference) = { ... } - * * @return The count of phraseMatchers. */ public int getPhraseMatchersCount() { return phraseMatchers_.size(); } /** - * - * *
      * The list of phrase matchers to run. If not provided, all active phrase
      * matchers will be used. If inactive phrase matchers are provided, they will
@@ -1127,7 +1027,6 @@ public int getPhraseMatchersCount() {
      * 
* * repeated string phrase_matchers = 4 [(.google.api.resource_reference) = { ... } - * * @param index The index of the element to return. * @return The phraseMatchers at the given index. */ @@ -1135,8 +1034,6 @@ public java.lang.String getPhraseMatchers(int index) { return phraseMatchers_.get(index); } /** - * - * *
      * The list of phrase matchers to run. If not provided, all active phrase
      * matchers will be used. If inactive phrase matchers are provided, they will
@@ -1146,16 +1043,14 @@ public java.lang.String getPhraseMatchers(int index) {
      * 
* * repeated string phrase_matchers = 4 [(.google.api.resource_reference) = { ... } - * * @param index The index of the value to return. * @return The bytes of the phraseMatchers at the given index. */ - public com.google.protobuf.ByteString getPhraseMatchersBytes(int index) { + public com.google.protobuf.ByteString + getPhraseMatchersBytes(int index) { return phraseMatchers_.getByteString(index); } /** - * - * *
      * The list of phrase matchers to run. If not provided, all active phrase
      * matchers will be used. If inactive phrase matchers are provided, they will
@@ -1165,23 +1060,19 @@ public com.google.protobuf.ByteString getPhraseMatchersBytes(int index) {
      * 
* * repeated string phrase_matchers = 4 [(.google.api.resource_reference) = { ... } - * * @param index The index to set the value at. * @param value The phraseMatchers to set. * @return This builder for chaining. */ - public Builder setPhraseMatchers(int index, java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setPhraseMatchers( + int index, java.lang.String value) { + if (value == null) { throw new NullPointerException(); } ensurePhraseMatchersIsMutable(); phraseMatchers_.set(index, value); onChanged(); return this; } /** - * - * *
      * The list of phrase matchers to run. If not provided, all active phrase
      * matchers will be used. If inactive phrase matchers are provided, they will
@@ -1191,22 +1082,18 @@ public Builder setPhraseMatchers(int index, java.lang.String value) {
      * 
* * repeated string phrase_matchers = 4 [(.google.api.resource_reference) = { ... } - * * @param value The phraseMatchers to add. * @return This builder for chaining. */ - public Builder addPhraseMatchers(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder addPhraseMatchers( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } ensurePhraseMatchersIsMutable(); phraseMatchers_.add(value); onChanged(); return this; } /** - * - * *
      * The list of phrase matchers to run. If not provided, all active phrase
      * matchers will be used. If inactive phrase matchers are provided, they will
@@ -1216,19 +1103,18 @@ public Builder addPhraseMatchers(java.lang.String value) {
      * 
* * repeated string phrase_matchers = 4 [(.google.api.resource_reference) = { ... } - * * @param values The phraseMatchers to add. * @return This builder for chaining. */ - public Builder addAllPhraseMatchers(java.lang.Iterable values) { + public Builder addAllPhraseMatchers( + java.lang.Iterable values) { ensurePhraseMatchersIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, phraseMatchers_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, phraseMatchers_); onChanged(); return this; } /** - * - * *
      * The list of phrase matchers to run. If not provided, all active phrase
      * matchers will be used. If inactive phrase matchers are provided, they will
@@ -1238,7 +1124,6 @@ public Builder addAllPhraseMatchers(java.lang.Iterable values)
      * 
* * repeated string phrase_matchers = 4 [(.google.api.resource_reference) = { ... } - * * @return This builder for chaining. */ public Builder clearPhraseMatchers() { @@ -1248,8 +1133,6 @@ public Builder clearPhraseMatchers() { return this; } /** - * - * *
      * The list of phrase matchers to run. If not provided, all active phrase
      * matchers will be used. If inactive phrase matchers are provided, they will
@@ -1259,14 +1142,12 @@ public Builder clearPhraseMatchers() {
      * 
* * repeated string phrase_matchers = 4 [(.google.api.resource_reference) = { ... } - * * @param value The bytes of the phraseMatchers to add. * @return This builder for chaining. */ - public Builder addPhraseMatchersBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder addPhraseMatchersBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); ensurePhraseMatchersIsMutable(); phraseMatchers_.add(value); @@ -1274,16 +1155,13 @@ public Builder addPhraseMatchersBytes(com.google.protobuf.ByteString value) { return this; } - private boolean runSentimentAnnotator_; + private boolean runSentimentAnnotator_ ; /** - * - * *
      * Whether to run the sentiment annotator.
      * 
* * bool run_sentiment_annotator = 5; - * * @return The runSentimentAnnotator. */ @java.lang.Override @@ -1291,33 +1169,27 @@ public boolean getRunSentimentAnnotator() { return runSentimentAnnotator_; } /** - * - * *
      * Whether to run the sentiment annotator.
      * 
* * bool run_sentiment_annotator = 5; - * * @param value The runSentimentAnnotator to set. * @return This builder for chaining. */ public Builder setRunSentimentAnnotator(boolean value) { - + runSentimentAnnotator_ = value; bitField0_ |= 0x00000010; onChanged(); return this; } /** - * - * *
      * Whether to run the sentiment annotator.
      * 
* * bool run_sentiment_annotator = 5; - * * @return This builder for chaining. */ public Builder clearRunSentimentAnnotator() { @@ -1327,16 +1199,13 @@ public Builder clearRunSentimentAnnotator() { return this; } - private boolean runEntityAnnotator_; + private boolean runEntityAnnotator_ ; /** - * - * *
      * Whether to run the entity annotator.
      * 
* * bool run_entity_annotator = 6; - * * @return The runEntityAnnotator. */ @java.lang.Override @@ -1344,33 +1213,27 @@ public boolean getRunEntityAnnotator() { return runEntityAnnotator_; } /** - * - * *
      * Whether to run the entity annotator.
      * 
* * bool run_entity_annotator = 6; - * * @param value The runEntityAnnotator to set. * @return This builder for chaining. */ public Builder setRunEntityAnnotator(boolean value) { - + runEntityAnnotator_ = value; bitField0_ |= 0x00000020; onChanged(); return this; } /** - * - * *
      * Whether to run the entity annotator.
      * 
* * bool run_entity_annotator = 6; - * * @return This builder for chaining. */ public Builder clearRunEntityAnnotator() { @@ -1380,16 +1243,13 @@ public Builder clearRunEntityAnnotator() { return this; } - private boolean runIntentAnnotator_; + private boolean runIntentAnnotator_ ; /** - * - * *
      * Whether to run the intent annotator.
      * 
* * bool run_intent_annotator = 7; - * * @return The runIntentAnnotator. */ @java.lang.Override @@ -1397,33 +1257,27 @@ public boolean getRunIntentAnnotator() { return runIntentAnnotator_; } /** - * - * *
      * Whether to run the intent annotator.
      * 
* * bool run_intent_annotator = 7; - * * @param value The runIntentAnnotator to set. * @return This builder for chaining. */ public Builder setRunIntentAnnotator(boolean value) { - + runIntentAnnotator_ = value; bitField0_ |= 0x00000040; onChanged(); return this; } /** - * - * *
      * Whether to run the intent annotator.
      * 
* * bool run_intent_annotator = 7; - * * @return This builder for chaining. */ public Builder clearRunIntentAnnotator() { @@ -1433,17 +1287,14 @@ public Builder clearRunIntentAnnotator() { return this; } - private boolean runIssueModelAnnotator_; + private boolean runIssueModelAnnotator_ ; /** - * - * *
      * Whether to run the issue model annotator. A model should have already been
      * deployed for this to take effect.
      * 
* * bool run_issue_model_annotator = 8; - * * @return The runIssueModelAnnotator. */ @java.lang.Override @@ -1451,35 +1302,29 @@ public boolean getRunIssueModelAnnotator() { return runIssueModelAnnotator_; } /** - * - * *
      * Whether to run the issue model annotator. A model should have already been
      * deployed for this to take effect.
      * 
* * bool run_issue_model_annotator = 8; - * * @param value The runIssueModelAnnotator to set. * @return This builder for chaining. */ public Builder setRunIssueModelAnnotator(boolean value) { - + runIssueModelAnnotator_ = value; bitField0_ |= 0x00000080; onChanged(); return this; } /** - * - * *
      * Whether to run the issue model annotator. A model should have already been
      * deployed for this to take effect.
      * 
* * bool run_issue_model_annotator = 8; - * * @return This builder for chaining. */ public Builder clearRunIssueModelAnnotator() { @@ -1489,18 +1334,14 @@ public Builder clearRunIssueModelAnnotator() { return this; } - private com.google.protobuf.LazyStringList issueModels_ = - com.google.protobuf.LazyStringArrayList.EMPTY; - + private com.google.protobuf.LazyStringList issueModels_ = com.google.protobuf.LazyStringArrayList.EMPTY; private void ensureIssueModelsIsMutable() { if (!((bitField0_ & 0x00000100) != 0)) { issueModels_ = new com.google.protobuf.LazyStringArrayList(issueModels_); bitField0_ |= 0x00000100; - } + } } /** - * - * *
      * The issue model to run. If not provided, the most recently deployed topic
      * model will be used. The provided issue model will only be used for
@@ -1510,15 +1351,13 @@ private void ensureIssueModelsIsMutable() {
      * 
* * repeated string issue_models = 10 [(.google.api.resource_reference) = { ... } - * * @return A list containing the issueModels. */ - public com.google.protobuf.ProtocolStringList getIssueModelsList() { + public com.google.protobuf.ProtocolStringList + getIssueModelsList() { return issueModels_.getUnmodifiableView(); } /** - * - * *
      * The issue model to run. If not provided, the most recently deployed topic
      * model will be used. The provided issue model will only be used for
@@ -1528,15 +1367,12 @@ public com.google.protobuf.ProtocolStringList getIssueModelsList() {
      * 
* * repeated string issue_models = 10 [(.google.api.resource_reference) = { ... } - * * @return The count of issueModels. */ public int getIssueModelsCount() { return issueModels_.size(); } /** - * - * *
      * The issue model to run. If not provided, the most recently deployed topic
      * model will be used. The provided issue model will only be used for
@@ -1546,7 +1382,6 @@ public int getIssueModelsCount() {
      * 
* * repeated string issue_models = 10 [(.google.api.resource_reference) = { ... } - * * @param index The index of the element to return. * @return The issueModels at the given index. */ @@ -1554,8 +1389,6 @@ public java.lang.String getIssueModels(int index) { return issueModels_.get(index); } /** - * - * *
      * The issue model to run. If not provided, the most recently deployed topic
      * model will be used. The provided issue model will only be used for
@@ -1565,16 +1398,14 @@ public java.lang.String getIssueModels(int index) {
      * 
* * repeated string issue_models = 10 [(.google.api.resource_reference) = { ... } - * * @param index The index of the value to return. * @return The bytes of the issueModels at the given index. */ - public com.google.protobuf.ByteString getIssueModelsBytes(int index) { + public com.google.protobuf.ByteString + getIssueModelsBytes(int index) { return issueModels_.getByteString(index); } /** - * - * *
      * The issue model to run. If not provided, the most recently deployed topic
      * model will be used. The provided issue model will only be used for
@@ -1584,23 +1415,19 @@ public com.google.protobuf.ByteString getIssueModelsBytes(int index) {
      * 
* * repeated string issue_models = 10 [(.google.api.resource_reference) = { ... } - * * @param index The index to set the value at. * @param value The issueModels to set. * @return This builder for chaining. */ - public Builder setIssueModels(int index, java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setIssueModels( + int index, java.lang.String value) { + if (value == null) { throw new NullPointerException(); } ensureIssueModelsIsMutable(); issueModels_.set(index, value); onChanged(); return this; } /** - * - * *
      * The issue model to run. If not provided, the most recently deployed topic
      * model will be used. The provided issue model will only be used for
@@ -1610,22 +1437,18 @@ public Builder setIssueModels(int index, java.lang.String value) {
      * 
* * repeated string issue_models = 10 [(.google.api.resource_reference) = { ... } - * * @param value The issueModels to add. * @return This builder for chaining. */ - public Builder addIssueModels(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder addIssueModels( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } ensureIssueModelsIsMutable(); issueModels_.add(value); onChanged(); return this; } /** - * - * *
      * The issue model to run. If not provided, the most recently deployed topic
      * model will be used. The provided issue model will only be used for
@@ -1635,19 +1458,18 @@ public Builder addIssueModels(java.lang.String value) {
      * 
* * repeated string issue_models = 10 [(.google.api.resource_reference) = { ... } - * * @param values The issueModels to add. * @return This builder for chaining. */ - public Builder addAllIssueModels(java.lang.Iterable values) { + public Builder addAllIssueModels( + java.lang.Iterable values) { ensureIssueModelsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, issueModels_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, issueModels_); onChanged(); return this; } /** - * - * *
      * The issue model to run. If not provided, the most recently deployed topic
      * model will be used. The provided issue model will only be used for
@@ -1657,7 +1479,6 @@ public Builder addAllIssueModels(java.lang.Iterable values) {
      * 
* * repeated string issue_models = 10 [(.google.api.resource_reference) = { ... } - * * @return This builder for chaining. */ public Builder clearIssueModels() { @@ -1667,8 +1488,6 @@ public Builder clearIssueModels() { return this; } /** - * - * *
      * The issue model to run. If not provided, the most recently deployed topic
      * model will be used. The provided issue model will only be used for
@@ -1678,23 +1497,21 @@ public Builder clearIssueModels() {
      * 
* * repeated string issue_models = 10 [(.google.api.resource_reference) = { ... } - * * @param value The bytes of the issueModels to add. * @return This builder for chaining. */ - public Builder addIssueModelsBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder addIssueModelsBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); ensureIssueModelsIsMutable(); issueModels_.add(value); onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1704,12 +1521,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.contactcenterinsights.v1.AnnotatorSelector) } // @@protoc_insertion_point(class_scope:google.cloud.contactcenterinsights.v1.AnnotatorSelector) private static final com.google.cloud.contactcenterinsights.v1.AnnotatorSelector DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.contactcenterinsights.v1.AnnotatorSelector(); } @@ -1718,27 +1535,27 @@ public static com.google.cloud.contactcenterinsights.v1.AnnotatorSelector getDef return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public AnnotatorSelector parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public AnnotatorSelector parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1753,4 +1570,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.contactcenterinsights.v1.AnnotatorSelector getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/AnnotatorSelectorOrBuilder.java b/owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/AnnotatorSelectorOrBuilder.java similarity index 85% rename from java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/AnnotatorSelectorOrBuilder.java rename to owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/AnnotatorSelectorOrBuilder.java index cbe804deaf12..4e8a8bc98608 100644 --- a/java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/AnnotatorSelectorOrBuilder.java +++ b/owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/AnnotatorSelectorOrBuilder.java @@ -1,70 +1,43 @@ -/* - * 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. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/contactcenterinsights/v1/resources.proto package com.google.cloud.contactcenterinsights.v1; -public interface AnnotatorSelectorOrBuilder - extends +public interface AnnotatorSelectorOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.contactcenterinsights.v1.AnnotatorSelector) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Whether to run the interruption annotator.
    * 
* * bool run_interruption_annotator = 1; - * * @return The runInterruptionAnnotator. */ boolean getRunInterruptionAnnotator(); /** - * - * *
    * Whether to run the silence annotator.
    * 
* * bool run_silence_annotator = 2; - * * @return The runSilenceAnnotator. */ boolean getRunSilenceAnnotator(); /** - * - * *
    * Whether to run the active phrase matcher annotator(s).
    * 
* * bool run_phrase_matcher_annotator = 3; - * * @return The runPhraseMatcherAnnotator. */ boolean getRunPhraseMatcherAnnotator(); /** - * - * *
    * The list of phrase matchers to run. If not provided, all active phrase
    * matchers will be used. If inactive phrase matchers are provided, they will
@@ -74,13 +47,11 @@ public interface AnnotatorSelectorOrBuilder
    * 
* * repeated string phrase_matchers = 4 [(.google.api.resource_reference) = { ... } - * * @return A list containing the phraseMatchers. */ - java.util.List getPhraseMatchersList(); + java.util.List + getPhraseMatchersList(); /** - * - * *
    * The list of phrase matchers to run. If not provided, all active phrase
    * matchers will be used. If inactive phrase matchers are provided, they will
@@ -90,13 +61,10 @@ public interface AnnotatorSelectorOrBuilder
    * 
* * repeated string phrase_matchers = 4 [(.google.api.resource_reference) = { ... } - * * @return The count of phraseMatchers. */ int getPhraseMatchersCount(); /** - * - * *
    * The list of phrase matchers to run. If not provided, all active phrase
    * matchers will be used. If inactive phrase matchers are provided, they will
@@ -106,14 +74,11 @@ public interface AnnotatorSelectorOrBuilder
    * 
* * repeated string phrase_matchers = 4 [(.google.api.resource_reference) = { ... } - * * @param index The index of the element to return. * @return The phraseMatchers at the given index. */ java.lang.String getPhraseMatchers(int index); /** - * - * *
    * The list of phrase matchers to run. If not provided, all active phrase
    * matchers will be used. If inactive phrase matchers are provided, they will
@@ -123,68 +88,54 @@ public interface AnnotatorSelectorOrBuilder
    * 
* * repeated string phrase_matchers = 4 [(.google.api.resource_reference) = { ... } - * * @param index The index of the value to return. * @return The bytes of the phraseMatchers at the given index. */ - com.google.protobuf.ByteString getPhraseMatchersBytes(int index); + com.google.protobuf.ByteString + getPhraseMatchersBytes(int index); /** - * - * *
    * Whether to run the sentiment annotator.
    * 
* * bool run_sentiment_annotator = 5; - * * @return The runSentimentAnnotator. */ boolean getRunSentimentAnnotator(); /** - * - * *
    * Whether to run the entity annotator.
    * 
* * bool run_entity_annotator = 6; - * * @return The runEntityAnnotator. */ boolean getRunEntityAnnotator(); /** - * - * *
    * Whether to run the intent annotator.
    * 
* * bool run_intent_annotator = 7; - * * @return The runIntentAnnotator. */ boolean getRunIntentAnnotator(); /** - * - * *
    * Whether to run the issue model annotator. A model should have already been
    * deployed for this to take effect.
    * 
* * bool run_issue_model_annotator = 8; - * * @return The runIssueModelAnnotator. */ boolean getRunIssueModelAnnotator(); /** - * - * *
    * The issue model to run. If not provided, the most recently deployed topic
    * model will be used. The provided issue model will only be used for
@@ -194,13 +145,11 @@ public interface AnnotatorSelectorOrBuilder
    * 
* * repeated string issue_models = 10 [(.google.api.resource_reference) = { ... } - * * @return A list containing the issueModels. */ - java.util.List getIssueModelsList(); + java.util.List + getIssueModelsList(); /** - * - * *
    * The issue model to run. If not provided, the most recently deployed topic
    * model will be used. The provided issue model will only be used for
@@ -210,13 +159,10 @@ public interface AnnotatorSelectorOrBuilder
    * 
* * repeated string issue_models = 10 [(.google.api.resource_reference) = { ... } - * * @return The count of issueModels. */ int getIssueModelsCount(); /** - * - * *
    * The issue model to run. If not provided, the most recently deployed topic
    * model will be used. The provided issue model will only be used for
@@ -226,14 +172,11 @@ public interface AnnotatorSelectorOrBuilder
    * 
* * repeated string issue_models = 10 [(.google.api.resource_reference) = { ... } - * * @param index The index of the element to return. * @return The issueModels at the given index. */ java.lang.String getIssueModels(int index); /** - * - * *
    * The issue model to run. If not provided, the most recently deployed topic
    * model will be used. The provided issue model will only be used for
@@ -243,9 +186,9 @@ public interface AnnotatorSelectorOrBuilder
    * 
* * repeated string issue_models = 10 [(.google.api.resource_reference) = { ... } - * * @param index The index of the value to return. * @return The bytes of the issueModels at the given index. */ - com.google.protobuf.ByteString getIssueModelsBytes(int index); + com.google.protobuf.ByteString + getIssueModelsBytes(int index); } diff --git a/java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/AnswerFeedback.java b/owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/AnswerFeedback.java similarity index 66% rename from java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/AnswerFeedback.java rename to owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/AnswerFeedback.java index a13cac63012e..192b10835c44 100644 --- a/java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/AnswerFeedback.java +++ b/owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/AnswerFeedback.java @@ -1,26 +1,9 @@ -/* - * 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. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/contactcenterinsights/v1/resources.proto package com.google.cloud.contactcenterinsights.v1; /** - * - * *
  * The feedback that the customer has about a certain answer in the
  * conversation.
@@ -28,59 +11,54 @@
  *
  * Protobuf type {@code google.cloud.contactcenterinsights.v1.AnswerFeedback}
  */
-public final class AnswerFeedback extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class AnswerFeedback extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.cloud.contactcenterinsights.v1.AnswerFeedback)
     AnswerFeedbackOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use AnswerFeedback.newBuilder() to construct.
   private AnswerFeedback(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
   private AnswerFeedback() {
     correctnessLevel_ = 0;
   }
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new AnswerFeedback();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet
+  getUnknownFields() {
     return this.unknownFields;
   }
-
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.cloud.contactcenterinsights.v1.ResourcesProto
-        .internal_static_google_cloud_contactcenterinsights_v1_AnswerFeedback_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.cloud.contactcenterinsights.v1.ResourcesProto.internal_static_google_cloud_contactcenterinsights_v1_AnswerFeedback_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.contactcenterinsights.v1.ResourcesProto
-        .internal_static_google_cloud_contactcenterinsights_v1_AnswerFeedback_fieldAccessorTable
+    return com.google.cloud.contactcenterinsights.v1.ResourcesProto.internal_static_google_cloud_contactcenterinsights_v1_AnswerFeedback_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.contactcenterinsights.v1.AnswerFeedback.class,
-            com.google.cloud.contactcenterinsights.v1.AnswerFeedback.Builder.class);
+            com.google.cloud.contactcenterinsights.v1.AnswerFeedback.class, com.google.cloud.contactcenterinsights.v1.AnswerFeedback.Builder.class);
   }
 
   /**
-   *
-   *
    * 
    * The correctness level of an answer.
    * 
* * Protobuf enum {@code google.cloud.contactcenterinsights.v1.AnswerFeedback.CorrectnessLevel} */ - public enum CorrectnessLevel implements com.google.protobuf.ProtocolMessageEnum { + public enum CorrectnessLevel + implements com.google.protobuf.ProtocolMessageEnum { /** - * - * *
      * Correctness level unspecified.
      * 
@@ -89,8 +67,6 @@ public enum CorrectnessLevel implements com.google.protobuf.ProtocolMessageEnum */ CORRECTNESS_LEVEL_UNSPECIFIED(0), /** - * - * *
      * Answer is totally wrong.
      * 
@@ -99,8 +75,6 @@ public enum CorrectnessLevel implements com.google.protobuf.ProtocolMessageEnum */ NOT_CORRECT(1), /** - * - * *
      * Answer is partially correct.
      * 
@@ -109,8 +83,6 @@ public enum CorrectnessLevel implements com.google.protobuf.ProtocolMessageEnum */ PARTIALLY_CORRECT(2), /** - * - * *
      * Answer is fully correct.
      * 
@@ -122,8 +94,6 @@ public enum CorrectnessLevel implements com.google.protobuf.ProtocolMessageEnum ; /** - * - * *
      * Correctness level unspecified.
      * 
@@ -132,8 +102,6 @@ public enum CorrectnessLevel implements com.google.protobuf.ProtocolMessageEnum */ public static final int CORRECTNESS_LEVEL_UNSPECIFIED_VALUE = 0; /** - * - * *
      * Answer is totally wrong.
      * 
@@ -142,8 +110,6 @@ public enum CorrectnessLevel implements com.google.protobuf.ProtocolMessageEnum */ public static final int NOT_CORRECT_VALUE = 1; /** - * - * *
      * Answer is partially correct.
      * 
@@ -152,8 +118,6 @@ public enum CorrectnessLevel implements com.google.protobuf.ProtocolMessageEnum */ public static final int PARTIALLY_CORRECT_VALUE = 2; /** - * - * *
      * Answer is fully correct.
      * 
@@ -162,6 +126,7 @@ public enum CorrectnessLevel implements com.google.protobuf.ProtocolMessageEnum */ public static final int FULLY_CORRECT_VALUE = 3; + public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -186,47 +151,41 @@ public static CorrectnessLevel valueOf(int value) { */ public static CorrectnessLevel forNumber(int value) { switch (value) { - case 0: - return CORRECTNESS_LEVEL_UNSPECIFIED; - case 1: - return NOT_CORRECT; - case 2: - return PARTIALLY_CORRECT; - case 3: - return FULLY_CORRECT; - default: - return null; + case 0: return CORRECTNESS_LEVEL_UNSPECIFIED; + case 1: return NOT_CORRECT; + case 2: return PARTIALLY_CORRECT; + case 3: return FULLY_CORRECT; + default: return null; } } - public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() { + public static com.google.protobuf.Internal.EnumLiteMap + internalGetValueMap() { return internalValueMap; } + private static final com.google.protobuf.Internal.EnumLiteMap< + CorrectnessLevel> internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public CorrectnessLevel findValueByNumber(int number) { + return CorrectnessLevel.forNumber(number); + } + }; - private static final com.google.protobuf.Internal.EnumLiteMap - internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public CorrectnessLevel findValueByNumber(int number) { - return CorrectnessLevel.forNumber(number); - } - }; - - public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() { + public final com.google.protobuf.Descriptors.EnumValueDescriptor + getValueDescriptor() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalStateException( "Can't get the descriptor of an unrecognized enum value."); } return getDescriptor().getValues().get(ordinal()); } - - public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() { + public final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptorForType() { return getDescriptor(); } - - public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { - return com.google.cloud.contactcenterinsights.v1.AnswerFeedback.getDescriptor() - .getEnumTypes() - .get(0); + public static final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptor() { + return com.google.cloud.contactcenterinsights.v1.AnswerFeedback.getDescriptor().getEnumTypes().get(0); } private static final CorrectnessLevel[] VALUES = values(); @@ -234,7 +193,8 @@ public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor public static CorrectnessLevel valueOf( com.google.protobuf.Descriptors.EnumValueDescriptor desc) { if (desc.getType() != getDescriptor()) { - throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type."); + throw new java.lang.IllegalArgumentException( + "EnumValueDescriptor is not for this type."); } if (desc.getIndex() == -1) { return UNRECOGNIZED; @@ -254,57 +214,37 @@ private CorrectnessLevel(int value) { public static final int CORRECTNESS_LEVEL_FIELD_NUMBER = 1; private int correctnessLevel_ = 0; /** - * - * *
    * The correctness level of an answer.
    * 
* - * - * .google.cloud.contactcenterinsights.v1.AnswerFeedback.CorrectnessLevel correctness_level = 1; - * - * + * .google.cloud.contactcenterinsights.v1.AnswerFeedback.CorrectnessLevel correctness_level = 1; * @return The enum numeric value on the wire for correctnessLevel. */ - @java.lang.Override - public int getCorrectnessLevelValue() { + @java.lang.Override public int getCorrectnessLevelValue() { return correctnessLevel_; } /** - * - * *
    * The correctness level of an answer.
    * 
* - * - * .google.cloud.contactcenterinsights.v1.AnswerFeedback.CorrectnessLevel correctness_level = 1; - * - * + * .google.cloud.contactcenterinsights.v1.AnswerFeedback.CorrectnessLevel correctness_level = 1; * @return The correctnessLevel. */ - @java.lang.Override - public com.google.cloud.contactcenterinsights.v1.AnswerFeedback.CorrectnessLevel - getCorrectnessLevel() { - com.google.cloud.contactcenterinsights.v1.AnswerFeedback.CorrectnessLevel result = - com.google.cloud.contactcenterinsights.v1.AnswerFeedback.CorrectnessLevel.forNumber( - correctnessLevel_); - return result == null - ? com.google.cloud.contactcenterinsights.v1.AnswerFeedback.CorrectnessLevel.UNRECOGNIZED - : result; + @java.lang.Override public com.google.cloud.contactcenterinsights.v1.AnswerFeedback.CorrectnessLevel getCorrectnessLevel() { + com.google.cloud.contactcenterinsights.v1.AnswerFeedback.CorrectnessLevel result = com.google.cloud.contactcenterinsights.v1.AnswerFeedback.CorrectnessLevel.forNumber(correctnessLevel_); + return result == null ? com.google.cloud.contactcenterinsights.v1.AnswerFeedback.CorrectnessLevel.UNRECOGNIZED : result; } public static final int CLICKED_FIELD_NUMBER = 2; private boolean clicked_ = false; /** - * - * *
    * Indicates whether an answer or item was clicked by the human agent.
    * 
* * bool clicked = 2; - * * @return The clicked. */ @java.lang.Override @@ -315,15 +255,12 @@ public boolean getClicked() { public static final int DISPLAYED_FIELD_NUMBER = 3; private boolean displayed_ = false; /** - * - * *
    * Indicates whether an answer or item was displayed to the human agent in the
    * agent desktop UI.
    * 
* * bool displayed = 3; - * * @return The displayed. */ @java.lang.Override @@ -332,7 +269,6 @@ public boolean getDisplayed() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -344,11 +280,9 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - if (correctnessLevel_ - != com.google.cloud.contactcenterinsights.v1.AnswerFeedback.CorrectnessLevel - .CORRECTNESS_LEVEL_UNSPECIFIED - .getNumber()) { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + if (correctnessLevel_ != com.google.cloud.contactcenterinsights.v1.AnswerFeedback.CorrectnessLevel.CORRECTNESS_LEVEL_UNSPECIFIED.getNumber()) { output.writeEnum(1, correctnessLevel_); } if (clicked_ != false) { @@ -366,17 +300,17 @@ public int getSerializedSize() { if (size != -1) return size; size = 0; - if (correctnessLevel_ - != com.google.cloud.contactcenterinsights.v1.AnswerFeedback.CorrectnessLevel - .CORRECTNESS_LEVEL_UNSPECIFIED - .getNumber()) { - size += com.google.protobuf.CodedOutputStream.computeEnumSize(1, correctnessLevel_); + if (correctnessLevel_ != com.google.cloud.contactcenterinsights.v1.AnswerFeedback.CorrectnessLevel.CORRECTNESS_LEVEL_UNSPECIFIED.getNumber()) { + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(1, correctnessLevel_); } if (clicked_ != false) { - size += com.google.protobuf.CodedOutputStream.computeBoolSize(2, clicked_); + size += com.google.protobuf.CodedOutputStream + .computeBoolSize(2, clicked_); } if (displayed_ != false) { - size += com.google.protobuf.CodedOutputStream.computeBoolSize(3, displayed_); + size += com.google.protobuf.CodedOutputStream + .computeBoolSize(3, displayed_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -386,17 +320,18 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.contactcenterinsights.v1.AnswerFeedback)) { return super.equals(obj); } - com.google.cloud.contactcenterinsights.v1.AnswerFeedback other = - (com.google.cloud.contactcenterinsights.v1.AnswerFeedback) obj; + com.google.cloud.contactcenterinsights.v1.AnswerFeedback other = (com.google.cloud.contactcenterinsights.v1.AnswerFeedback) obj; if (correctnessLevel_ != other.correctnessLevel_) return false; - if (getClicked() != other.getClicked()) return false; - if (getDisplayed() != other.getDisplayed()) return false; + if (getClicked() + != other.getClicked()) return false; + if (getDisplayed() + != other.getDisplayed()) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -411,113 +346,107 @@ public int hashCode() { hash = (37 * hash) + CORRECTNESS_LEVEL_FIELD_NUMBER; hash = (53 * hash) + correctnessLevel_; hash = (37 * hash) + CLICKED_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getClicked()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( + getClicked()); hash = (37 * hash) + DISPLAYED_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getDisplayed()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( + getDisplayed()); hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } public static com.google.cloud.contactcenterinsights.v1.AnswerFeedback parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.contactcenterinsights.v1.AnswerFeedback parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.contactcenterinsights.v1.AnswerFeedback parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.contactcenterinsights.v1.AnswerFeedback parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.contactcenterinsights.v1.AnswerFeedback parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.contactcenterinsights.v1.AnswerFeedback parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.contactcenterinsights.v1.AnswerFeedback parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.contactcenterinsights.v1.AnswerFeedback parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.contactcenterinsights.v1.AnswerFeedback parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.contactcenterinsights.v1.AnswerFeedback parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.contactcenterinsights.v1.AnswerFeedback parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.contactcenterinsights.v1.AnswerFeedback parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.contactcenterinsights.v1.AnswerFeedback parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.contactcenterinsights.v1.AnswerFeedback parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.contactcenterinsights.v1.AnswerFeedback prototype) { + public static Builder newBuilder(com.google.cloud.contactcenterinsights.v1.AnswerFeedback prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * The feedback that the customer has about a certain answer in the
    * conversation.
@@ -525,32 +454,33 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.cloud.contactcenterinsights.v1.AnswerFeedback}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.cloud.contactcenterinsights.v1.AnswerFeedback)
       com.google.cloud.contactcenterinsights.v1.AnswerFeedbackOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.cloud.contactcenterinsights.v1.ResourcesProto
-          .internal_static_google_cloud_contactcenterinsights_v1_AnswerFeedback_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.cloud.contactcenterinsights.v1.ResourcesProto.internal_static_google_cloud_contactcenterinsights_v1_AnswerFeedback_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.contactcenterinsights.v1.ResourcesProto
-          .internal_static_google_cloud_contactcenterinsights_v1_AnswerFeedback_fieldAccessorTable
+      return com.google.cloud.contactcenterinsights.v1.ResourcesProto.internal_static_google_cloud_contactcenterinsights_v1_AnswerFeedback_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.contactcenterinsights.v1.AnswerFeedback.class,
-              com.google.cloud.contactcenterinsights.v1.AnswerFeedback.Builder.class);
+              com.google.cloud.contactcenterinsights.v1.AnswerFeedback.class, com.google.cloud.contactcenterinsights.v1.AnswerFeedback.Builder.class);
     }
 
     // Construct using com.google.cloud.contactcenterinsights.v1.AnswerFeedback.newBuilder()
-    private Builder() {}
+    private Builder() {
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
-      super(parent);
     }
 
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+      super(parent);
+
+    }
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -562,9 +492,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.cloud.contactcenterinsights.v1.ResourcesProto
-          .internal_static_google_cloud_contactcenterinsights_v1_AnswerFeedback_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.cloud.contactcenterinsights.v1.ResourcesProto.internal_static_google_cloud_contactcenterinsights_v1_AnswerFeedback_descriptor;
     }
 
     @java.lang.Override
@@ -583,11 +513,8 @@ public com.google.cloud.contactcenterinsights.v1.AnswerFeedback build() {
 
     @java.lang.Override
     public com.google.cloud.contactcenterinsights.v1.AnswerFeedback buildPartial() {
-      com.google.cloud.contactcenterinsights.v1.AnswerFeedback result =
-          new com.google.cloud.contactcenterinsights.v1.AnswerFeedback(this);
-      if (bitField0_ != 0) {
-        buildPartial0(result);
-      }
+      com.google.cloud.contactcenterinsights.v1.AnswerFeedback result = new com.google.cloud.contactcenterinsights.v1.AnswerFeedback(this);
+      if (bitField0_ != 0) { buildPartial0(result); }
       onBuilt();
       return result;
     }
@@ -609,39 +536,38 @@ private void buildPartial0(com.google.cloud.contactcenterinsights.v1.AnswerFeedb
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
-
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.cloud.contactcenterinsights.v1.AnswerFeedback) {
-        return mergeFrom((com.google.cloud.contactcenterinsights.v1.AnswerFeedback) other);
+        return mergeFrom((com.google.cloud.contactcenterinsights.v1.AnswerFeedback)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -649,8 +575,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.cloud.contactcenterinsights.v1.AnswerFeedback other) {
-      if (other == com.google.cloud.contactcenterinsights.v1.AnswerFeedback.getDefaultInstance())
-        return this;
+      if (other == com.google.cloud.contactcenterinsights.v1.AnswerFeedback.getDefaultInstance()) return this;
       if (other.correctnessLevel_ != 0) {
         setCorrectnessLevelValue(other.getCorrectnessLevelValue());
       }
@@ -686,31 +611,27 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 8:
-              {
-                correctnessLevel_ = input.readEnum();
-                bitField0_ |= 0x00000001;
-                break;
-              } // case 8
-            case 16:
-              {
-                clicked_ = input.readBool();
-                bitField0_ |= 0x00000002;
-                break;
-              } // case 16
-            case 24:
-              {
-                displayed_ = input.readBool();
-                bitField0_ |= 0x00000004;
-                break;
-              } // case 24
-            default:
-              {
-                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                  done = true; // was an endgroup tag
-                }
-                break;
-              } // default:
+            case 8: {
+              correctnessLevel_ = input.readEnum();
+              bitField0_ |= 0x00000001;
+              break;
+            } // case 8
+            case 16: {
+              clicked_ = input.readBool();
+              bitField0_ |= 0x00000002;
+              break;
+            } // case 16
+            case 24: {
+              displayed_ = input.readBool();
+              bitField0_ |= 0x00000004;
+              break;
+            } // case 24
+            default: {
+              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                done = true; // was an endgroup tag
+              }
+              break;
+            } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -720,38 +641,26 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
-
     private int bitField0_;
 
     private int correctnessLevel_ = 0;
     /**
-     *
-     *
      * 
      * The correctness level of an answer.
      * 
* - * - * .google.cloud.contactcenterinsights.v1.AnswerFeedback.CorrectnessLevel correctness_level = 1; - * - * + * .google.cloud.contactcenterinsights.v1.AnswerFeedback.CorrectnessLevel correctness_level = 1; * @return The enum numeric value on the wire for correctnessLevel. */ - @java.lang.Override - public int getCorrectnessLevelValue() { + @java.lang.Override public int getCorrectnessLevelValue() { return correctnessLevel_; } /** - * - * *
      * The correctness level of an answer.
      * 
* - * - * .google.cloud.contactcenterinsights.v1.AnswerFeedback.CorrectnessLevel correctness_level = 1; - * - * + * .google.cloud.contactcenterinsights.v1.AnswerFeedback.CorrectnessLevel correctness_level = 1; * @param value The enum numeric value on the wire for correctnessLevel to set. * @return This builder for chaining. */ @@ -762,44 +671,28 @@ public Builder setCorrectnessLevelValue(int value) { return this; } /** - * - * *
      * The correctness level of an answer.
      * 
* - * - * .google.cloud.contactcenterinsights.v1.AnswerFeedback.CorrectnessLevel correctness_level = 1; - * - * + * .google.cloud.contactcenterinsights.v1.AnswerFeedback.CorrectnessLevel correctness_level = 1; * @return The correctnessLevel. */ @java.lang.Override - public com.google.cloud.contactcenterinsights.v1.AnswerFeedback.CorrectnessLevel - getCorrectnessLevel() { - com.google.cloud.contactcenterinsights.v1.AnswerFeedback.CorrectnessLevel result = - com.google.cloud.contactcenterinsights.v1.AnswerFeedback.CorrectnessLevel.forNumber( - correctnessLevel_); - return result == null - ? com.google.cloud.contactcenterinsights.v1.AnswerFeedback.CorrectnessLevel.UNRECOGNIZED - : result; + public com.google.cloud.contactcenterinsights.v1.AnswerFeedback.CorrectnessLevel getCorrectnessLevel() { + com.google.cloud.contactcenterinsights.v1.AnswerFeedback.CorrectnessLevel result = com.google.cloud.contactcenterinsights.v1.AnswerFeedback.CorrectnessLevel.forNumber(correctnessLevel_); + return result == null ? com.google.cloud.contactcenterinsights.v1.AnswerFeedback.CorrectnessLevel.UNRECOGNIZED : result; } /** - * - * *
      * The correctness level of an answer.
      * 
* - * - * .google.cloud.contactcenterinsights.v1.AnswerFeedback.CorrectnessLevel correctness_level = 1; - * - * + * .google.cloud.contactcenterinsights.v1.AnswerFeedback.CorrectnessLevel correctness_level = 1; * @param value The correctnessLevel to set. * @return This builder for chaining. */ - public Builder setCorrectnessLevel( - com.google.cloud.contactcenterinsights.v1.AnswerFeedback.CorrectnessLevel value) { + public Builder setCorrectnessLevel(com.google.cloud.contactcenterinsights.v1.AnswerFeedback.CorrectnessLevel value) { if (value == null) { throw new NullPointerException(); } @@ -809,16 +702,11 @@ public Builder setCorrectnessLevel( return this; } /** - * - * *
      * The correctness level of an answer.
      * 
* - * - * .google.cloud.contactcenterinsights.v1.AnswerFeedback.CorrectnessLevel correctness_level = 1; - * - * + * .google.cloud.contactcenterinsights.v1.AnswerFeedback.CorrectnessLevel correctness_level = 1; * @return This builder for chaining. */ public Builder clearCorrectnessLevel() { @@ -828,16 +716,13 @@ public Builder clearCorrectnessLevel() { return this; } - private boolean clicked_; + private boolean clicked_ ; /** - * - * *
      * Indicates whether an answer or item was clicked by the human agent.
      * 
* * bool clicked = 2; - * * @return The clicked. */ @java.lang.Override @@ -845,33 +730,27 @@ public boolean getClicked() { return clicked_; } /** - * - * *
      * Indicates whether an answer or item was clicked by the human agent.
      * 
* * bool clicked = 2; - * * @param value The clicked to set. * @return This builder for chaining. */ public Builder setClicked(boolean value) { - + clicked_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** - * - * *
      * Indicates whether an answer or item was clicked by the human agent.
      * 
* * bool clicked = 2; - * * @return This builder for chaining. */ public Builder clearClicked() { @@ -881,17 +760,14 @@ public Builder clearClicked() { return this; } - private boolean displayed_; + private boolean displayed_ ; /** - * - * *
      * Indicates whether an answer or item was displayed to the human agent in the
      * agent desktop UI.
      * 
* * bool displayed = 3; - * * @return The displayed. */ @java.lang.Override @@ -899,35 +775,29 @@ public boolean getDisplayed() { return displayed_; } /** - * - * *
      * Indicates whether an answer or item was displayed to the human agent in the
      * agent desktop UI.
      * 
* * bool displayed = 3; - * * @param value The displayed to set. * @return This builder for chaining. */ public Builder setDisplayed(boolean value) { - + displayed_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } /** - * - * *
      * Indicates whether an answer or item was displayed to the human agent in the
      * agent desktop UI.
      * 
* * bool displayed = 3; - * * @return This builder for chaining. */ public Builder clearDisplayed() { @@ -936,9 +806,9 @@ public Builder clearDisplayed() { onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -948,12 +818,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.contactcenterinsights.v1.AnswerFeedback) } // @@protoc_insertion_point(class_scope:google.cloud.contactcenterinsights.v1.AnswerFeedback) private static final com.google.cloud.contactcenterinsights.v1.AnswerFeedback DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.contactcenterinsights.v1.AnswerFeedback(); } @@ -962,27 +832,27 @@ public static com.google.cloud.contactcenterinsights.v1.AnswerFeedback getDefaul return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public AnswerFeedback parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public AnswerFeedback parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -997,4 +867,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.contactcenterinsights.v1.AnswerFeedback getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/AnswerFeedbackOrBuilder.java b/owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/AnswerFeedbackOrBuilder.java similarity index 54% rename from java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/AnswerFeedbackOrBuilder.java rename to owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/AnswerFeedbackOrBuilder.java index 886b137bb243..9109a2a62d66 100644 --- a/java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/AnswerFeedbackOrBuilder.java +++ b/owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/AnswerFeedbackOrBuilder.java @@ -1,80 +1,48 @@ -/* - * 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. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/contactcenterinsights/v1/resources.proto package com.google.cloud.contactcenterinsights.v1; -public interface AnswerFeedbackOrBuilder - extends +public interface AnswerFeedbackOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.contactcenterinsights.v1.AnswerFeedback) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * The correctness level of an answer.
    * 
* - * - * .google.cloud.contactcenterinsights.v1.AnswerFeedback.CorrectnessLevel correctness_level = 1; - * - * + * .google.cloud.contactcenterinsights.v1.AnswerFeedback.CorrectnessLevel correctness_level = 1; * @return The enum numeric value on the wire for correctnessLevel. */ int getCorrectnessLevelValue(); /** - * - * *
    * The correctness level of an answer.
    * 
* - * - * .google.cloud.contactcenterinsights.v1.AnswerFeedback.CorrectnessLevel correctness_level = 1; - * - * + * .google.cloud.contactcenterinsights.v1.AnswerFeedback.CorrectnessLevel correctness_level = 1; * @return The correctnessLevel. */ com.google.cloud.contactcenterinsights.v1.AnswerFeedback.CorrectnessLevel getCorrectnessLevel(); /** - * - * *
    * Indicates whether an answer or item was clicked by the human agent.
    * 
* * bool clicked = 2; - * * @return The clicked. */ boolean getClicked(); /** - * - * *
    * Indicates whether an answer or item was displayed to the human agent in the
    * agent desktop UI.
    * 
* * bool displayed = 3; - * * @return The displayed. */ boolean getDisplayed(); diff --git a/java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ArticleSuggestionData.java b/owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ArticleSuggestionData.java similarity index 66% rename from java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ArticleSuggestionData.java rename to owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ArticleSuggestionData.java index 252c535679ca..fc4255c4ce2d 100644 --- a/java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ArticleSuggestionData.java +++ b/owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ArticleSuggestionData.java @@ -1,42 +1,24 @@ -/* - * 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. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/contactcenterinsights/v1/resources.proto package com.google.cloud.contactcenterinsights.v1; /** - * - * *
  * Agent Assist Article Suggestion data.
  * 
* * Protobuf type {@code google.cloud.contactcenterinsights.v1.ArticleSuggestionData} */ -public final class ArticleSuggestionData extends com.google.protobuf.GeneratedMessageV3 - implements +public final class ArticleSuggestionData extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.contactcenterinsights.v1.ArticleSuggestionData) ArticleSuggestionDataOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use ArticleSuggestionData.newBuilder() to construct. private ArticleSuggestionData(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private ArticleSuggestionData() { title_ = ""; uri_ = ""; @@ -46,54 +28,50 @@ private ArticleSuggestionData() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new ArticleSuggestionData(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.contactcenterinsights.v1.ResourcesProto - .internal_static_google_cloud_contactcenterinsights_v1_ArticleSuggestionData_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.contactcenterinsights.v1.ResourcesProto.internal_static_google_cloud_contactcenterinsights_v1_ArticleSuggestionData_descriptor; } @SuppressWarnings({"rawtypes"}) @java.lang.Override - protected com.google.protobuf.MapField internalGetMapField(int number) { + protected com.google.protobuf.MapField internalGetMapField( + int number) { switch (number) { case 4: return internalGetMetadata(); default: - throw new RuntimeException("Invalid map field number: " + number); + throw new RuntimeException( + "Invalid map field number: " + number); } } - @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.contactcenterinsights.v1.ResourcesProto - .internal_static_google_cloud_contactcenterinsights_v1_ArticleSuggestionData_fieldAccessorTable + return com.google.cloud.contactcenterinsights.v1.ResourcesProto.internal_static_google_cloud_contactcenterinsights_v1_ArticleSuggestionData_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.contactcenterinsights.v1.ArticleSuggestionData.class, - com.google.cloud.contactcenterinsights.v1.ArticleSuggestionData.Builder.class); + com.google.cloud.contactcenterinsights.v1.ArticleSuggestionData.class, com.google.cloud.contactcenterinsights.v1.ArticleSuggestionData.Builder.class); } public static final int TITLE_FIELD_NUMBER = 1; - @SuppressWarnings("serial") private volatile java.lang.Object title_ = ""; /** - * - * *
    * Article title.
    * 
* * string title = 1; - * * @return The title. */ @java.lang.Override @@ -102,29 +80,29 @@ public java.lang.String getTitle() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); title_ = s; return s; } } /** - * - * *
    * Article title.
    * 
* * string title = 1; - * * @return The bytes for title. */ @java.lang.Override - public com.google.protobuf.ByteString getTitleBytes() { + public com.google.protobuf.ByteString + getTitleBytes() { java.lang.Object ref = title_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); title_ = b; return b; } else { @@ -133,18 +111,14 @@ public com.google.protobuf.ByteString getTitleBytes() { } public static final int URI_FIELD_NUMBER = 2; - @SuppressWarnings("serial") private volatile java.lang.Object uri_ = ""; /** - * - * *
    * Article URI.
    * 
* * string uri = 2; - * * @return The uri. */ @java.lang.Override @@ -153,29 +127,29 @@ public java.lang.String getUri() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); uri_ = s; return s; } } /** - * - * *
    * Article URI.
    * 
* * string uri = 2; - * * @return The bytes for uri. */ @java.lang.Override - public com.google.protobuf.ByteString getUriBytes() { + public com.google.protobuf.ByteString + getUriBytes() { java.lang.Object ref = uri_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); uri_ = b; return b; } else { @@ -186,8 +160,6 @@ public com.google.protobuf.ByteString getUriBytes() { public static final int CONFIDENCE_SCORE_FIELD_NUMBER = 3; private float confidenceScore_ = 0F; /** - * - * *
    * The system's confidence score that this article is a good match for this
    * conversation, ranging from 0.0 (completely uncertain) to 1.0 (completely
@@ -195,7 +167,6 @@ public com.google.protobuf.ByteString getUriBytes() {
    * 
* * float confidence_score = 3; - * * @return The confidenceScore. */ @java.lang.Override @@ -204,34 +175,32 @@ public float getConfidenceScore() { } public static final int METADATA_FIELD_NUMBER = 4; - private static final class MetadataDefaultEntryHolder { - static final com.google.protobuf.MapEntry defaultEntry = - com.google.protobuf.MapEntry.newDefaultInstance( - com.google.cloud.contactcenterinsights.v1.ResourcesProto - .internal_static_google_cloud_contactcenterinsights_v1_ArticleSuggestionData_MetadataEntry_descriptor, - com.google.protobuf.WireFormat.FieldType.STRING, - "", - com.google.protobuf.WireFormat.FieldType.STRING, - ""); + static final com.google.protobuf.MapEntry< + java.lang.String, java.lang.String> defaultEntry = + com.google.protobuf.MapEntry + .newDefaultInstance( + com.google.cloud.contactcenterinsights.v1.ResourcesProto.internal_static_google_cloud_contactcenterinsights_v1_ArticleSuggestionData_MetadataEntry_descriptor, + com.google.protobuf.WireFormat.FieldType.STRING, + "", + com.google.protobuf.WireFormat.FieldType.STRING, + ""); } - @SuppressWarnings("serial") - private com.google.protobuf.MapField metadata_; - - private com.google.protobuf.MapField internalGetMetadata() { + private com.google.protobuf.MapField< + java.lang.String, java.lang.String> metadata_; + private com.google.protobuf.MapField + internalGetMetadata() { if (metadata_ == null) { - return com.google.protobuf.MapField.emptyMapField(MetadataDefaultEntryHolder.defaultEntry); + return com.google.protobuf.MapField.emptyMapField( + MetadataDefaultEntryHolder.defaultEntry); } return metadata_; } - public int getMetadataCount() { return internalGetMetadata().getMap().size(); } /** - * - * *
    * Map that contains metadata about the Article Suggestion and the document
    * that it originates from.
@@ -240,21 +209,20 @@ public int getMetadataCount() {
    * map<string, string> metadata = 4;
    */
   @java.lang.Override
-  public boolean containsMetadata(java.lang.String key) {
-    if (key == null) {
-      throw new NullPointerException("map key");
-    }
+  public boolean containsMetadata(
+      java.lang.String key) {
+    if (key == null) { throw new NullPointerException("map key"); }
     return internalGetMetadata().getMap().containsKey(key);
   }
-  /** Use {@link #getMetadataMap()} instead. */
+  /**
+   * Use {@link #getMetadataMap()} instead.
+   */
   @java.lang.Override
   @java.lang.Deprecated
   public java.util.Map getMetadata() {
     return getMetadataMap();
   }
   /**
-   *
-   *
    * 
    * Map that contains metadata about the Article Suggestion and the document
    * that it originates from.
@@ -267,8 +235,6 @@ public java.util.Map getMetadataMap() {
     return internalGetMetadata().getMap();
   }
   /**
-   *
-   *
    * 
    * Map that contains metadata about the Article Suggestion and the document
    * that it originates from.
@@ -277,19 +243,17 @@ public java.util.Map getMetadataMap() {
    * map<string, string> metadata = 4;
    */
   @java.lang.Override
-  public /* nullable */ java.lang.String getMetadataOrDefault(
+  public /* nullable */
+java.lang.String getMetadataOrDefault(
       java.lang.String key,
       /* nullable */
-      java.lang.String defaultValue) {
-    if (key == null) {
-      throw new NullPointerException("map key");
-    }
-    java.util.Map map = internalGetMetadata().getMap();
+java.lang.String defaultValue) {
+    if (key == null) { throw new NullPointerException("map key"); }
+    java.util.Map map =
+        internalGetMetadata().getMap();
     return map.containsKey(key) ? map.get(key) : defaultValue;
   }
   /**
-   *
-   *
    * 
    * Map that contains metadata about the Article Suggestion and the document
    * that it originates from.
@@ -298,11 +262,11 @@ public java.util.Map getMetadataMap() {
    * map<string, string> metadata = 4;
    */
   @java.lang.Override
-  public java.lang.String getMetadataOrThrow(java.lang.String key) {
-    if (key == null) {
-      throw new NullPointerException("map key");
-    }
-    java.util.Map map = internalGetMetadata().getMap();
+  public java.lang.String getMetadataOrThrow(
+      java.lang.String key) {
+    if (key == null) { throw new NullPointerException("map key"); }
+    java.util.Map map =
+        internalGetMetadata().getMap();
     if (!map.containsKey(key)) {
       throw new java.lang.IllegalArgumentException();
     }
@@ -310,12 +274,9 @@ public java.lang.String getMetadataOrThrow(java.lang.String key) {
   }
 
   public static final int QUERY_RECORD_FIELD_NUMBER = 5;
-
   @SuppressWarnings("serial")
   private volatile java.lang.Object queryRecord_ = "";
   /**
-   *
-   *
    * 
    * The name of the answer record.
    * Format:
@@ -323,7 +284,6 @@ public java.lang.String getMetadataOrThrow(java.lang.String key) {
    * 
* * string query_record = 5; - * * @return The queryRecord. */ @java.lang.Override @@ -332,15 +292,14 @@ public java.lang.String getQueryRecord() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); queryRecord_ = s; return s; } } /** - * - * *
    * The name of the answer record.
    * Format:
@@ -348,15 +307,16 @@ public java.lang.String getQueryRecord() {
    * 
* * string query_record = 5; - * * @return The bytes for queryRecord. */ @java.lang.Override - public com.google.protobuf.ByteString getQueryRecordBytes() { + public com.google.protobuf.ByteString + getQueryRecordBytes() { java.lang.Object ref = queryRecord_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); queryRecord_ = b; return b; } else { @@ -365,12 +325,9 @@ public com.google.protobuf.ByteString getQueryRecordBytes() { } public static final int SOURCE_FIELD_NUMBER = 6; - @SuppressWarnings("serial") private volatile java.lang.Object source_ = ""; /** - * - * *
    * The knowledge document that this answer was extracted from.
    * Format:
@@ -378,7 +335,6 @@ public com.google.protobuf.ByteString getQueryRecordBytes() {
    * 
* * string source = 6; - * * @return The source. */ @java.lang.Override @@ -387,15 +343,14 @@ public java.lang.String getSource() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); source_ = s; return s; } } /** - * - * *
    * The knowledge document that this answer was extracted from.
    * Format:
@@ -403,15 +358,16 @@ public java.lang.String getSource() {
    * 
* * string source = 6; - * * @return The bytes for source. */ @java.lang.Override - public com.google.protobuf.ByteString getSourceBytes() { + public com.google.protobuf.ByteString + getSourceBytes() { java.lang.Object ref = source_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); source_ = b; return b; } else { @@ -420,7 +376,6 @@ public com.google.protobuf.ByteString getSourceBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -432,7 +387,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(title_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, title_); } @@ -442,8 +398,12 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io if (java.lang.Float.floatToRawIntBits(confidenceScore_) != 0) { output.writeFloat(3, confidenceScore_); } - com.google.protobuf.GeneratedMessageV3.serializeStringMapTo( - output, internalGetMetadata(), MetadataDefaultEntryHolder.defaultEntry, 4); + com.google.protobuf.GeneratedMessageV3 + .serializeStringMapTo( + output, + internalGetMetadata(), + MetadataDefaultEntryHolder.defaultEntry, + 4); if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(queryRecord_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 5, queryRecord_); } @@ -466,17 +426,18 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, uri_); } if (java.lang.Float.floatToRawIntBits(confidenceScore_) != 0) { - size += com.google.protobuf.CodedOutputStream.computeFloatSize(3, confidenceScore_); - } - for (java.util.Map.Entry entry : - internalGetMetadata().getMap().entrySet()) { - com.google.protobuf.MapEntry metadata__ = - MetadataDefaultEntryHolder.defaultEntry - .newBuilderForType() - .setKey(entry.getKey()) - .setValue(entry.getValue()) - .build(); - size += com.google.protobuf.CodedOutputStream.computeMessageSize(4, metadata__); + size += com.google.protobuf.CodedOutputStream + .computeFloatSize(3, confidenceScore_); + } + for (java.util.Map.Entry entry + : internalGetMetadata().getMap().entrySet()) { + com.google.protobuf.MapEntry + metadata__ = MetadataDefaultEntryHolder.defaultEntry.newBuilderForType() + .setKey(entry.getKey()) + .setValue(entry.getValue()) + .build(); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(4, metadata__); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(queryRecord_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(5, queryRecord_); @@ -492,21 +453,26 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.contactcenterinsights.v1.ArticleSuggestionData)) { return super.equals(obj); } - com.google.cloud.contactcenterinsights.v1.ArticleSuggestionData other = - (com.google.cloud.contactcenterinsights.v1.ArticleSuggestionData) obj; + com.google.cloud.contactcenterinsights.v1.ArticleSuggestionData other = (com.google.cloud.contactcenterinsights.v1.ArticleSuggestionData) obj; - if (!getTitle().equals(other.getTitle())) return false; - if (!getUri().equals(other.getUri())) return false; + if (!getTitle() + .equals(other.getTitle())) return false; + if (!getUri() + .equals(other.getUri())) return false; if (java.lang.Float.floatToIntBits(getConfidenceScore()) - != java.lang.Float.floatToIntBits(other.getConfidenceScore())) return false; - if (!internalGetMetadata().equals(other.internalGetMetadata())) return false; - if (!getQueryRecord().equals(other.getQueryRecord())) return false; - if (!getSource().equals(other.getSource())) return false; + != java.lang.Float.floatToIntBits( + other.getConfidenceScore())) return false; + if (!internalGetMetadata().equals( + other.internalGetMetadata())) return false; + if (!getQueryRecord() + .equals(other.getQueryRecord())) return false; + if (!getSource() + .equals(other.getSource())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -523,7 +489,8 @@ public int hashCode() { hash = (37 * hash) + URI_FIELD_NUMBER; hash = (53 * hash) + getUri().hashCode(); hash = (37 * hash) + CONFIDENCE_SCORE_FIELD_NUMBER; - hash = (53 * hash) + java.lang.Float.floatToIntBits(getConfidenceScore()); + hash = (53 * hash) + java.lang.Float.floatToIntBits( + getConfidenceScore()); if (!internalGetMetadata().getMap().isEmpty()) { hash = (37 * hash) + METADATA_FIELD_NUMBER; hash = (53 * hash) + internalGetMetadata().hashCode(); @@ -538,156 +505,151 @@ public int hashCode() { } public static com.google.cloud.contactcenterinsights.v1.ArticleSuggestionData parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.contactcenterinsights.v1.ArticleSuggestionData parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.contactcenterinsights.v1.ArticleSuggestionData parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.contactcenterinsights.v1.ArticleSuggestionData parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.contactcenterinsights.v1.ArticleSuggestionData parseFrom( - byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.contactcenterinsights.v1.ArticleSuggestionData parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.contactcenterinsights.v1.ArticleSuggestionData parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.contactcenterinsights.v1.ArticleSuggestionData parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.contactcenterinsights.v1.ArticleSuggestionData parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.contactcenterinsights.v1.ArticleSuggestionData parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.contactcenterinsights.v1.ArticleSuggestionData parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.contactcenterinsights.v1.ArticleSuggestionData parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.contactcenterinsights.v1.ArticleSuggestionData parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.contactcenterinsights.v1.ArticleSuggestionData parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.contactcenterinsights.v1.ArticleSuggestionData parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.contactcenterinsights.v1.ArticleSuggestionData prototype) { + public static Builder newBuilder(com.google.cloud.contactcenterinsights.v1.ArticleSuggestionData prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Agent Assist Article Suggestion data.
    * 
* * Protobuf type {@code google.cloud.contactcenterinsights.v1.ArticleSuggestionData} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.contactcenterinsights.v1.ArticleSuggestionData) com.google.cloud.contactcenterinsights.v1.ArticleSuggestionDataOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.contactcenterinsights.v1.ResourcesProto - .internal_static_google_cloud_contactcenterinsights_v1_ArticleSuggestionData_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.contactcenterinsights.v1.ResourcesProto.internal_static_google_cloud_contactcenterinsights_v1_ArticleSuggestionData_descriptor; } @SuppressWarnings({"rawtypes"}) - protected com.google.protobuf.MapField internalGetMapField(int number) { + protected com.google.protobuf.MapField internalGetMapField( + int number) { switch (number) { case 4: return internalGetMetadata(); default: - throw new RuntimeException("Invalid map field number: " + number); + throw new RuntimeException( + "Invalid map field number: " + number); } } - @SuppressWarnings({"rawtypes"}) - protected com.google.protobuf.MapField internalGetMutableMapField(int number) { + protected com.google.protobuf.MapField internalGetMutableMapField( + int number) { switch (number) { case 4: return internalGetMutableMetadata(); default: - throw new RuntimeException("Invalid map field number: " + number); + throw new RuntimeException( + "Invalid map field number: " + number); } } - @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.contactcenterinsights.v1.ResourcesProto - .internal_static_google_cloud_contactcenterinsights_v1_ArticleSuggestionData_fieldAccessorTable + return com.google.cloud.contactcenterinsights.v1.ResourcesProto.internal_static_google_cloud_contactcenterinsights_v1_ArticleSuggestionData_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.contactcenterinsights.v1.ArticleSuggestionData.class, - com.google.cloud.contactcenterinsights.v1.ArticleSuggestionData.Builder.class); + com.google.cloud.contactcenterinsights.v1.ArticleSuggestionData.class, com.google.cloud.contactcenterinsights.v1.ArticleSuggestionData.Builder.class); } // Construct using com.google.cloud.contactcenterinsights.v1.ArticleSuggestionData.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -702,14 +664,13 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.contactcenterinsights.v1.ResourcesProto - .internal_static_google_cloud_contactcenterinsights_v1_ArticleSuggestionData_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.contactcenterinsights.v1.ResourcesProto.internal_static_google_cloud_contactcenterinsights_v1_ArticleSuggestionData_descriptor; } @java.lang.Override - public com.google.cloud.contactcenterinsights.v1.ArticleSuggestionData - getDefaultInstanceForType() { + public com.google.cloud.contactcenterinsights.v1.ArticleSuggestionData getDefaultInstanceForType() { return com.google.cloud.contactcenterinsights.v1.ArticleSuggestionData.getDefaultInstance(); } @@ -724,17 +685,13 @@ public com.google.cloud.contactcenterinsights.v1.ArticleSuggestionData build() { @java.lang.Override public com.google.cloud.contactcenterinsights.v1.ArticleSuggestionData buildPartial() { - com.google.cloud.contactcenterinsights.v1.ArticleSuggestionData result = - new com.google.cloud.contactcenterinsights.v1.ArticleSuggestionData(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + com.google.cloud.contactcenterinsights.v1.ArticleSuggestionData result = new com.google.cloud.contactcenterinsights.v1.ArticleSuggestionData(this); + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } - private void buildPartial0( - com.google.cloud.contactcenterinsights.v1.ArticleSuggestionData result) { + private void buildPartial0(com.google.cloud.contactcenterinsights.v1.ArticleSuggestionData result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { result.title_ = title_; @@ -761,50 +718,46 @@ private void buildPartial0( public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.contactcenterinsights.v1.ArticleSuggestionData) { - return mergeFrom((com.google.cloud.contactcenterinsights.v1.ArticleSuggestionData) other); + return mergeFrom((com.google.cloud.contactcenterinsights.v1.ArticleSuggestionData)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom( - com.google.cloud.contactcenterinsights.v1.ArticleSuggestionData other) { - if (other - == com.google.cloud.contactcenterinsights.v1.ArticleSuggestionData.getDefaultInstance()) - return this; + public Builder mergeFrom(com.google.cloud.contactcenterinsights.v1.ArticleSuggestionData other) { + if (other == com.google.cloud.contactcenterinsights.v1.ArticleSuggestionData.getDefaultInstance()) return this; if (!other.getTitle().isEmpty()) { title_ = other.title_; bitField0_ |= 0x00000001; @@ -818,7 +771,8 @@ public Builder mergeFrom( if (other.getConfidenceScore() != 0F) { setConfidenceScore(other.getConfidenceScore()); } - internalGetMutableMetadata().mergeFrom(other.internalGetMetadata()); + internalGetMutableMetadata().mergeFrom( + other.internalGetMetadata()); bitField0_ |= 0x00000008; if (!other.getQueryRecord().isEmpty()) { queryRecord_ = other.queryRecord_; @@ -856,55 +810,46 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - title_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: - { - uri_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000002; - break; - } // case 18 - case 29: - { - confidenceScore_ = input.readFloat(); - bitField0_ |= 0x00000004; - break; - } // case 29 - case 34: - { - com.google.protobuf.MapEntry metadata__ = - input.readMessage( - MetadataDefaultEntryHolder.defaultEntry.getParserForType(), - extensionRegistry); - internalGetMutableMetadata() - .getMutableMap() - .put(metadata__.getKey(), metadata__.getValue()); - bitField0_ |= 0x00000008; - break; - } // case 34 - case 42: - { - queryRecord_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000010; - break; - } // case 42 - case 50: - { - source_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000020; - break; - } // case 50 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + title_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: { + uri_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + break; + } // case 18 + case 29: { + confidenceScore_ = input.readFloat(); + bitField0_ |= 0x00000004; + break; + } // case 29 + case 34: { + com.google.protobuf.MapEntry + metadata__ = input.readMessage( + MetadataDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry); + internalGetMutableMetadata().getMutableMap().put( + metadata__.getKey(), metadata__.getValue()); + bitField0_ |= 0x00000008; + break; + } // case 34 + case 42: { + queryRecord_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000010; + break; + } // case 42 + case 50: { + source_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000020; + break; + } // case 50 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -914,25 +859,22 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private java.lang.Object title_ = ""; /** - * - * *
      * Article title.
      * 
* * string title = 1; - * * @return The title. */ public java.lang.String getTitle() { java.lang.Object ref = title_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); title_ = s; return s; @@ -941,21 +883,20 @@ public java.lang.String getTitle() { } } /** - * - * *
      * Article title.
      * 
* * string title = 1; - * * @return The bytes for title. */ - public com.google.protobuf.ByteString getTitleBytes() { + public com.google.protobuf.ByteString + getTitleBytes() { java.lang.Object ref = title_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); title_ = b; return b; } else { @@ -963,35 +904,28 @@ public com.google.protobuf.ByteString getTitleBytes() { } } /** - * - * *
      * Article title.
      * 
* * string title = 1; - * * @param value The title to set. * @return This builder for chaining. */ - public Builder setTitle(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setTitle( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } title_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
      * Article title.
      * 
* * string title = 1; - * * @return This builder for chaining. */ public Builder clearTitle() { @@ -1001,21 +935,17 @@ public Builder clearTitle() { return this; } /** - * - * *
      * Article title.
      * 
* * string title = 1; - * * @param value The bytes for title to set. * @return This builder for chaining. */ - public Builder setTitleBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setTitleBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); title_ = value; bitField0_ |= 0x00000001; @@ -1025,20 +955,18 @@ public Builder setTitleBytes(com.google.protobuf.ByteString value) { private java.lang.Object uri_ = ""; /** - * - * *
      * Article URI.
      * 
* * string uri = 2; - * * @return The uri. */ public java.lang.String getUri() { java.lang.Object ref = uri_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); uri_ = s; return s; @@ -1047,21 +975,20 @@ public java.lang.String getUri() { } } /** - * - * *
      * Article URI.
      * 
* * string uri = 2; - * * @return The bytes for uri. */ - public com.google.protobuf.ByteString getUriBytes() { + public com.google.protobuf.ByteString + getUriBytes() { java.lang.Object ref = uri_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); uri_ = b; return b; } else { @@ -1069,35 +996,28 @@ public com.google.protobuf.ByteString getUriBytes() { } } /** - * - * *
      * Article URI.
      * 
* * string uri = 2; - * * @param value The uri to set. * @return This builder for chaining. */ - public Builder setUri(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setUri( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } uri_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** - * - * *
      * Article URI.
      * 
* * string uri = 2; - * * @return This builder for chaining. */ public Builder clearUri() { @@ -1107,21 +1027,17 @@ public Builder clearUri() { return this; } /** - * - * *
      * Article URI.
      * 
* * string uri = 2; - * * @param value The bytes for uri to set. * @return This builder for chaining. */ - public Builder setUriBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setUriBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); uri_ = value; bitField0_ |= 0x00000002; @@ -1129,10 +1045,8 @@ public Builder setUriBytes(com.google.protobuf.ByteString value) { return this; } - private float confidenceScore_; + private float confidenceScore_ ; /** - * - * *
      * The system's confidence score that this article is a good match for this
      * conversation, ranging from 0.0 (completely uncertain) to 1.0 (completely
@@ -1140,7 +1054,6 @@ public Builder setUriBytes(com.google.protobuf.ByteString value) {
      * 
* * float confidence_score = 3; - * * @return The confidenceScore. */ @java.lang.Override @@ -1148,8 +1061,6 @@ public float getConfidenceScore() { return confidenceScore_; } /** - * - * *
      * The system's confidence score that this article is a good match for this
      * conversation, ranging from 0.0 (completely uncertain) to 1.0 (completely
@@ -1157,20 +1068,17 @@ public float getConfidenceScore() {
      * 
* * float confidence_score = 3; - * * @param value The confidenceScore to set. * @return This builder for chaining. */ public Builder setConfidenceScore(float value) { - + confidenceScore_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } /** - * - * *
      * The system's confidence score that this article is a good match for this
      * conversation, ranging from 0.0 (completely uncertain) to 1.0 (completely
@@ -1178,7 +1086,6 @@ public Builder setConfidenceScore(float value) {
      * 
* * float confidence_score = 3; - * * @return This builder for chaining. */ public Builder clearConfidenceScore() { @@ -1188,20 +1095,21 @@ public Builder clearConfidenceScore() { return this; } - private com.google.protobuf.MapField metadata_; - - private com.google.protobuf.MapField internalGetMetadata() { + private com.google.protobuf.MapField< + java.lang.String, java.lang.String> metadata_; + private com.google.protobuf.MapField + internalGetMetadata() { if (metadata_ == null) { - return com.google.protobuf.MapField.emptyMapField(MetadataDefaultEntryHolder.defaultEntry); + return com.google.protobuf.MapField.emptyMapField( + MetadataDefaultEntryHolder.defaultEntry); } return metadata_; } - private com.google.protobuf.MapField internalGetMutableMetadata() { if (metadata_ == null) { - metadata_ = - com.google.protobuf.MapField.newMapField(MetadataDefaultEntryHolder.defaultEntry); + metadata_ = com.google.protobuf.MapField.newMapField( + MetadataDefaultEntryHolder.defaultEntry); } if (!metadata_.isMutable()) { metadata_ = metadata_.copy(); @@ -1210,13 +1118,10 @@ private com.google.protobuf.MapField interna onChanged(); return metadata_; } - public int getMetadataCount() { return internalGetMetadata().getMap().size(); } /** - * - * *
      * Map that contains metadata about the Article Suggestion and the document
      * that it originates from.
@@ -1225,21 +1130,20 @@ public int getMetadataCount() {
      * map<string, string> metadata = 4;
      */
     @java.lang.Override
-    public boolean containsMetadata(java.lang.String key) {
-      if (key == null) {
-        throw new NullPointerException("map key");
-      }
+    public boolean containsMetadata(
+        java.lang.String key) {
+      if (key == null) { throw new NullPointerException("map key"); }
       return internalGetMetadata().getMap().containsKey(key);
     }
-    /** Use {@link #getMetadataMap()} instead. */
+    /**
+     * Use {@link #getMetadataMap()} instead.
+     */
     @java.lang.Override
     @java.lang.Deprecated
     public java.util.Map getMetadata() {
       return getMetadataMap();
     }
     /**
-     *
-     *
      * 
      * Map that contains metadata about the Article Suggestion and the document
      * that it originates from.
@@ -1252,8 +1156,6 @@ public java.util.Map getMetadataMap() {
       return internalGetMetadata().getMap();
     }
     /**
-     *
-     *
      * 
      * Map that contains metadata about the Article Suggestion and the document
      * that it originates from.
@@ -1262,19 +1164,17 @@ public java.util.Map getMetadataMap() {
      * map<string, string> metadata = 4;
      */
     @java.lang.Override
-    public /* nullable */ java.lang.String getMetadataOrDefault(
+    public /* nullable */
+java.lang.String getMetadataOrDefault(
         java.lang.String key,
         /* nullable */
-        java.lang.String defaultValue) {
-      if (key == null) {
-        throw new NullPointerException("map key");
-      }
-      java.util.Map map = internalGetMetadata().getMap();
+java.lang.String defaultValue) {
+      if (key == null) { throw new NullPointerException("map key"); }
+      java.util.Map map =
+          internalGetMetadata().getMap();
       return map.containsKey(key) ? map.get(key) : defaultValue;
     }
     /**
-     *
-     *
      * 
      * Map that contains metadata about the Article Suggestion and the document
      * that it originates from.
@@ -1283,25 +1183,23 @@ public java.util.Map getMetadataMap() {
      * map<string, string> metadata = 4;
      */
     @java.lang.Override
-    public java.lang.String getMetadataOrThrow(java.lang.String key) {
-      if (key == null) {
-        throw new NullPointerException("map key");
-      }
-      java.util.Map map = internalGetMetadata().getMap();
+    public java.lang.String getMetadataOrThrow(
+        java.lang.String key) {
+      if (key == null) { throw new NullPointerException("map key"); }
+      java.util.Map map =
+          internalGetMetadata().getMap();
       if (!map.containsKey(key)) {
         throw new java.lang.IllegalArgumentException();
       }
       return map.get(key);
     }
-
     public Builder clearMetadata() {
       bitField0_ = (bitField0_ & ~0x00000008);
-      internalGetMutableMetadata().getMutableMap().clear();
+      internalGetMutableMetadata().getMutableMap()
+          .clear();
       return this;
     }
     /**
-     *
-     *
      * 
      * Map that contains metadata about the Article Suggestion and the document
      * that it originates from.
@@ -1309,22 +1207,23 @@ public Builder clearMetadata() {
      *
      * map<string, string> metadata = 4;
      */
-    public Builder removeMetadata(java.lang.String key) {
-      if (key == null) {
-        throw new NullPointerException("map key");
-      }
-      internalGetMutableMetadata().getMutableMap().remove(key);
+    public Builder removeMetadata(
+        java.lang.String key) {
+      if (key == null) { throw new NullPointerException("map key"); }
+      internalGetMutableMetadata().getMutableMap()
+          .remove(key);
       return this;
     }
-    /** Use alternate mutation accessors instead. */
+    /**
+     * Use alternate mutation accessors instead.
+     */
     @java.lang.Deprecated
-    public java.util.Map getMutableMetadata() {
+    public java.util.Map
+        getMutableMetadata() {
       bitField0_ |= 0x00000008;
       return internalGetMutableMetadata().getMutableMap();
     }
     /**
-     *
-     *
      * 
      * Map that contains metadata about the Article Suggestion and the document
      * that it originates from.
@@ -1332,20 +1231,17 @@ public java.util.Map getMutableMetadata() {
      *
      * map<string, string> metadata = 4;
      */
-    public Builder putMetadata(java.lang.String key, java.lang.String value) {
-      if (key == null) {
-        throw new NullPointerException("map key");
-      }
-      if (value == null) {
-        throw new NullPointerException("map value");
-      }
-      internalGetMutableMetadata().getMutableMap().put(key, value);
+    public Builder putMetadata(
+        java.lang.String key,
+        java.lang.String value) {
+      if (key == null) { throw new NullPointerException("map key"); }
+      if (value == null) { throw new NullPointerException("map value"); }
+      internalGetMutableMetadata().getMutableMap()
+          .put(key, value);
       bitField0_ |= 0x00000008;
       return this;
     }
     /**
-     *
-     *
      * 
      * Map that contains metadata about the Article Suggestion and the document
      * that it originates from.
@@ -1353,16 +1249,16 @@ public Builder putMetadata(java.lang.String key, java.lang.String value) {
      *
      * map<string, string> metadata = 4;
      */
-    public Builder putAllMetadata(java.util.Map values) {
-      internalGetMutableMetadata().getMutableMap().putAll(values);
+    public Builder putAllMetadata(
+        java.util.Map values) {
+      internalGetMutableMetadata().getMutableMap()
+          .putAll(values);
       bitField0_ |= 0x00000008;
       return this;
     }
 
     private java.lang.Object queryRecord_ = "";
     /**
-     *
-     *
      * 
      * The name of the answer record.
      * Format:
@@ -1370,13 +1266,13 @@ public Builder putAllMetadata(java.util.Map
      * 
* * string query_record = 5; - * * @return The queryRecord. */ public java.lang.String getQueryRecord() { java.lang.Object ref = queryRecord_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); queryRecord_ = s; return s; @@ -1385,8 +1281,6 @@ public java.lang.String getQueryRecord() { } } /** - * - * *
      * The name of the answer record.
      * Format:
@@ -1394,14 +1288,15 @@ public java.lang.String getQueryRecord() {
      * 
* * string query_record = 5; - * * @return The bytes for queryRecord. */ - public com.google.protobuf.ByteString getQueryRecordBytes() { + public com.google.protobuf.ByteString + getQueryRecordBytes() { java.lang.Object ref = queryRecord_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); queryRecord_ = b; return b; } else { @@ -1409,8 +1304,6 @@ public com.google.protobuf.ByteString getQueryRecordBytes() { } } /** - * - * *
      * The name of the answer record.
      * Format:
@@ -1418,22 +1311,18 @@ public com.google.protobuf.ByteString getQueryRecordBytes() {
      * 
* * string query_record = 5; - * * @param value The queryRecord to set. * @return This builder for chaining. */ - public Builder setQueryRecord(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setQueryRecord( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } queryRecord_ = value; bitField0_ |= 0x00000010; onChanged(); return this; } /** - * - * *
      * The name of the answer record.
      * Format:
@@ -1441,7 +1330,6 @@ public Builder setQueryRecord(java.lang.String value) {
      * 
* * string query_record = 5; - * * @return This builder for chaining. */ public Builder clearQueryRecord() { @@ -1451,8 +1339,6 @@ public Builder clearQueryRecord() { return this; } /** - * - * *
      * The name of the answer record.
      * Format:
@@ -1460,14 +1346,12 @@ public Builder clearQueryRecord() {
      * 
* * string query_record = 5; - * * @param value The bytes for queryRecord to set. * @return This builder for chaining. */ - public Builder setQueryRecordBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setQueryRecordBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); queryRecord_ = value; bitField0_ |= 0x00000010; @@ -1477,8 +1361,6 @@ public Builder setQueryRecordBytes(com.google.protobuf.ByteString value) { private java.lang.Object source_ = ""; /** - * - * *
      * The knowledge document that this answer was extracted from.
      * Format:
@@ -1486,13 +1368,13 @@ public Builder setQueryRecordBytes(com.google.protobuf.ByteString value) {
      * 
* * string source = 6; - * * @return The source. */ public java.lang.String getSource() { java.lang.Object ref = source_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); source_ = s; return s; @@ -1501,8 +1383,6 @@ public java.lang.String getSource() { } } /** - * - * *
      * The knowledge document that this answer was extracted from.
      * Format:
@@ -1510,14 +1390,15 @@ public java.lang.String getSource() {
      * 
* * string source = 6; - * * @return The bytes for source. */ - public com.google.protobuf.ByteString getSourceBytes() { + public com.google.protobuf.ByteString + getSourceBytes() { java.lang.Object ref = source_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); source_ = b; return b; } else { @@ -1525,8 +1406,6 @@ public com.google.protobuf.ByteString getSourceBytes() { } } /** - * - * *
      * The knowledge document that this answer was extracted from.
      * Format:
@@ -1534,22 +1413,18 @@ public com.google.protobuf.ByteString getSourceBytes() {
      * 
* * string source = 6; - * * @param value The source to set. * @return This builder for chaining. */ - public Builder setSource(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setSource( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } source_ = value; bitField0_ |= 0x00000020; onChanged(); return this; } /** - * - * *
      * The knowledge document that this answer was extracted from.
      * Format:
@@ -1557,7 +1432,6 @@ public Builder setSource(java.lang.String value) {
      * 
* * string source = 6; - * * @return This builder for chaining. */ public Builder clearSource() { @@ -1567,8 +1441,6 @@ public Builder clearSource() { return this; } /** - * - * *
      * The knowledge document that this answer was extracted from.
      * Format:
@@ -1576,23 +1448,21 @@ public Builder clearSource() {
      * 
* * string source = 6; - * * @param value The bytes for source to set. * @return This builder for chaining. */ - public Builder setSourceBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setSourceBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); source_ = value; bitField0_ |= 0x00000020; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1602,43 +1472,41 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.contactcenterinsights.v1.ArticleSuggestionData) } // @@protoc_insertion_point(class_scope:google.cloud.contactcenterinsights.v1.ArticleSuggestionData) - private static final com.google.cloud.contactcenterinsights.v1.ArticleSuggestionData - DEFAULT_INSTANCE; - + private static final com.google.cloud.contactcenterinsights.v1.ArticleSuggestionData DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.cloud.contactcenterinsights.v1.ArticleSuggestionData(); } - public static com.google.cloud.contactcenterinsights.v1.ArticleSuggestionData - getDefaultInstance() { + public static com.google.cloud.contactcenterinsights.v1.ArticleSuggestionData getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ArticleSuggestionData parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ArticleSuggestionData parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1650,8 +1518,9 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.cloud.contactcenterinsights.v1.ArticleSuggestionData - getDefaultInstanceForType() { + public com.google.cloud.contactcenterinsights.v1.ArticleSuggestionData getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ArticleSuggestionDataOrBuilder.java b/owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ArticleSuggestionDataOrBuilder.java similarity index 70% rename from java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ArticleSuggestionDataOrBuilder.java rename to owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ArticleSuggestionDataOrBuilder.java index d7c0dc5e6028..8fde2f7b91e6 100644 --- a/java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ArticleSuggestionDataOrBuilder.java +++ b/owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ArticleSuggestionDataOrBuilder.java @@ -1,81 +1,53 @@ -/* - * 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. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/contactcenterinsights/v1/resources.proto package com.google.cloud.contactcenterinsights.v1; -public interface ArticleSuggestionDataOrBuilder - extends +public interface ArticleSuggestionDataOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.contactcenterinsights.v1.ArticleSuggestionData) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Article title.
    * 
* * string title = 1; - * * @return The title. */ java.lang.String getTitle(); /** - * - * *
    * Article title.
    * 
* * string title = 1; - * * @return The bytes for title. */ - com.google.protobuf.ByteString getTitleBytes(); + com.google.protobuf.ByteString + getTitleBytes(); /** - * - * *
    * Article URI.
    * 
* * string uri = 2; - * * @return The uri. */ java.lang.String getUri(); /** - * - * *
    * Article URI.
    * 
* * string uri = 2; - * * @return The bytes for uri. */ - com.google.protobuf.ByteString getUriBytes(); + com.google.protobuf.ByteString + getUriBytes(); /** - * - * *
    * The system's confidence score that this article is a good match for this
    * conversation, ranging from 0.0 (completely uncertain) to 1.0 (completely
@@ -83,14 +55,11 @@ public interface ArticleSuggestionDataOrBuilder
    * 
* * float confidence_score = 3; - * * @return The confidenceScore. */ float getConfidenceScore(); /** - * - * *
    * Map that contains metadata about the Article Suggestion and the document
    * that it originates from.
@@ -100,8 +69,6 @@ public interface ArticleSuggestionDataOrBuilder
    */
   int getMetadataCount();
   /**
-   *
-   *
    * 
    * Map that contains metadata about the Article Suggestion and the document
    * that it originates from.
@@ -109,13 +76,15 @@ public interface ArticleSuggestionDataOrBuilder
    *
    * map<string, string> metadata = 4;
    */
-  boolean containsMetadata(java.lang.String key);
-  /** Use {@link #getMetadataMap()} instead. */
+  boolean containsMetadata(
+      java.lang.String key);
+  /**
+   * Use {@link #getMetadataMap()} instead.
+   */
   @java.lang.Deprecated
-  java.util.Map getMetadata();
+  java.util.Map
+  getMetadata();
   /**
-   *
-   *
    * 
    * Map that contains metadata about the Article Suggestion and the document
    * that it originates from.
@@ -123,10 +92,9 @@ public interface ArticleSuggestionDataOrBuilder
    *
    * map<string, string> metadata = 4;
    */
-  java.util.Map getMetadataMap();
+  java.util.Map
+  getMetadataMap();
   /**
-   *
-   *
    * 
    * Map that contains metadata about the Article Suggestion and the document
    * that it originates from.
@@ -135,13 +103,11 @@ public interface ArticleSuggestionDataOrBuilder
    * map<string, string> metadata = 4;
    */
   /* nullable */
-  java.lang.String getMetadataOrDefault(
+java.lang.String getMetadataOrDefault(
       java.lang.String key,
       /* nullable */
-      java.lang.String defaultValue);
+java.lang.String defaultValue);
   /**
-   *
-   *
    * 
    * Map that contains metadata about the Article Suggestion and the document
    * that it originates from.
@@ -149,11 +115,10 @@ java.lang.String getMetadataOrDefault(
    *
    * map<string, string> metadata = 4;
    */
-  java.lang.String getMetadataOrThrow(java.lang.String key);
+  java.lang.String getMetadataOrThrow(
+      java.lang.String key);
 
   /**
-   *
-   *
    * 
    * The name of the answer record.
    * Format:
@@ -161,13 +126,10 @@ java.lang.String getMetadataOrDefault(
    * 
* * string query_record = 5; - * * @return The queryRecord. */ java.lang.String getQueryRecord(); /** - * - * *
    * The name of the answer record.
    * Format:
@@ -175,14 +137,12 @@ java.lang.String getMetadataOrDefault(
    * 
* * string query_record = 5; - * * @return The bytes for queryRecord. */ - com.google.protobuf.ByteString getQueryRecordBytes(); + com.google.protobuf.ByteString + getQueryRecordBytes(); /** - * - * *
    * The knowledge document that this answer was extracted from.
    * Format:
@@ -190,13 +150,10 @@ java.lang.String getMetadataOrDefault(
    * 
* * string source = 6; - * * @return The source. */ java.lang.String getSource(); /** - * - * *
    * The knowledge document that this answer was extracted from.
    * Format:
@@ -204,8 +161,8 @@ java.lang.String getMetadataOrDefault(
    * 
* * string source = 6; - * * @return The bytes for source. */ - com.google.protobuf.ByteString getSourceBytes(); + com.google.protobuf.ByteString + getSourceBytes(); } diff --git a/java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/BulkAnalyzeConversationsMetadata.java b/owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/BulkAnalyzeConversationsMetadata.java similarity index 64% rename from java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/BulkAnalyzeConversationsMetadata.java rename to owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/BulkAnalyzeConversationsMetadata.java index 5ae68bb47194..a94d28b4a7ab 100644 --- a/java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/BulkAnalyzeConversationsMetadata.java +++ b/owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/BulkAnalyzeConversationsMetadata.java @@ -1,83 +1,60 @@ -/* - * 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. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/contactcenterinsights/v1/contact_center_insights.proto package com.google.cloud.contactcenterinsights.v1; /** - * - * *
  * The metadata for a bulk analyze conversations operation.
  * 
* * Protobuf type {@code google.cloud.contactcenterinsights.v1.BulkAnalyzeConversationsMetadata} */ -public final class BulkAnalyzeConversationsMetadata extends com.google.protobuf.GeneratedMessageV3 - implements +public final class BulkAnalyzeConversationsMetadata extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.contactcenterinsights.v1.BulkAnalyzeConversationsMetadata) BulkAnalyzeConversationsMetadataOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use BulkAnalyzeConversationsMetadata.newBuilder() to construct. - private BulkAnalyzeConversationsMetadata( - com.google.protobuf.GeneratedMessageV3.Builder builder) { + private BulkAnalyzeConversationsMetadata(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - - private BulkAnalyzeConversationsMetadata() {} + private BulkAnalyzeConversationsMetadata() { + } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new BulkAnalyzeConversationsMetadata(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto - .internal_static_google_cloud_contactcenterinsights_v1_BulkAnalyzeConversationsMetadata_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto.internal_static_google_cloud_contactcenterinsights_v1_BulkAnalyzeConversationsMetadata_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto - .internal_static_google_cloud_contactcenterinsights_v1_BulkAnalyzeConversationsMetadata_fieldAccessorTable + return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto.internal_static_google_cloud_contactcenterinsights_v1_BulkAnalyzeConversationsMetadata_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.contactcenterinsights.v1.BulkAnalyzeConversationsMetadata.class, - com.google.cloud.contactcenterinsights.v1.BulkAnalyzeConversationsMetadata.Builder - .class); + com.google.cloud.contactcenterinsights.v1.BulkAnalyzeConversationsMetadata.class, com.google.cloud.contactcenterinsights.v1.BulkAnalyzeConversationsMetadata.Builder.class); } public static final int CREATE_TIME_FIELD_NUMBER = 1; private com.google.protobuf.Timestamp createTime_; /** - * - * *
    * The time the operation was created.
    * 
* * .google.protobuf.Timestamp create_time = 1; - * * @return Whether the createTime field is set. */ @java.lang.Override @@ -85,14 +62,11 @@ public boolean hasCreateTime() { return createTime_ != null; } /** - * - * *
    * The time the operation was created.
    * 
* * .google.protobuf.Timestamp create_time = 1; - * * @return The createTime. */ @java.lang.Override @@ -100,8 +74,6 @@ public com.google.protobuf.Timestamp getCreateTime() { return createTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : createTime_; } /** - * - * *
    * The time the operation was created.
    * 
@@ -116,14 +88,11 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { public static final int END_TIME_FIELD_NUMBER = 2; private com.google.protobuf.Timestamp endTime_; /** - * - * *
    * The time the operation finished running.
    * 
* * .google.protobuf.Timestamp end_time = 2; - * * @return Whether the endTime field is set. */ @java.lang.Override @@ -131,14 +100,11 @@ public boolean hasEndTime() { return endTime_ != null; } /** - * - * *
    * The time the operation finished running.
    * 
* * .google.protobuf.Timestamp end_time = 2; - * * @return The endTime. */ @java.lang.Override @@ -146,8 +112,6 @@ public com.google.protobuf.Timestamp getEndTime() { return endTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : endTime_; } /** - * - * *
    * The time the operation finished running.
    * 
@@ -162,15 +126,11 @@ public com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder() { public static final int REQUEST_FIELD_NUMBER = 3; private com.google.cloud.contactcenterinsights.v1.BulkAnalyzeConversationsRequest request_; /** - * - * *
    * The original request for bulk analyze.
    * 
* - * .google.cloud.contactcenterinsights.v1.BulkAnalyzeConversationsRequest request = 3; - * - * + * .google.cloud.contactcenterinsights.v1.BulkAnalyzeConversationsRequest request = 3; * @return Whether the request field is set. */ @java.lang.Override @@ -178,54 +138,37 @@ public boolean hasRequest() { return request_ != null; } /** - * - * *
    * The original request for bulk analyze.
    * 
* - * .google.cloud.contactcenterinsights.v1.BulkAnalyzeConversationsRequest request = 3; - * - * + * .google.cloud.contactcenterinsights.v1.BulkAnalyzeConversationsRequest request = 3; * @return The request. */ @java.lang.Override public com.google.cloud.contactcenterinsights.v1.BulkAnalyzeConversationsRequest getRequest() { - return request_ == null - ? com.google.cloud.contactcenterinsights.v1.BulkAnalyzeConversationsRequest - .getDefaultInstance() - : request_; + return request_ == null ? com.google.cloud.contactcenterinsights.v1.BulkAnalyzeConversationsRequest.getDefaultInstance() : request_; } /** - * - * *
    * The original request for bulk analyze.
    * 
* - * .google.cloud.contactcenterinsights.v1.BulkAnalyzeConversationsRequest request = 3; - * + * .google.cloud.contactcenterinsights.v1.BulkAnalyzeConversationsRequest request = 3; */ @java.lang.Override - public com.google.cloud.contactcenterinsights.v1.BulkAnalyzeConversationsRequestOrBuilder - getRequestOrBuilder() { - return request_ == null - ? com.google.cloud.contactcenterinsights.v1.BulkAnalyzeConversationsRequest - .getDefaultInstance() - : request_; + public com.google.cloud.contactcenterinsights.v1.BulkAnalyzeConversationsRequestOrBuilder getRequestOrBuilder() { + return request_ == null ? com.google.cloud.contactcenterinsights.v1.BulkAnalyzeConversationsRequest.getDefaultInstance() : request_; } public static final int COMPLETED_ANALYSES_COUNT_FIELD_NUMBER = 4; private int completedAnalysesCount_ = 0; /** - * - * *
    * The number of requested analyses that have completed successfully so far.
    * 
* * int32 completed_analyses_count = 4; - * * @return The completedAnalysesCount. */ @java.lang.Override @@ -236,14 +179,11 @@ public int getCompletedAnalysesCount() { public static final int FAILED_ANALYSES_COUNT_FIELD_NUMBER = 5; private int failedAnalysesCount_ = 0; /** - * - * *
    * The number of requested analyses that have failed so far.
    * 
* * int32 failed_analyses_count = 5; - * * @return The failedAnalysesCount. */ @java.lang.Override @@ -254,15 +194,12 @@ public int getFailedAnalysesCount() { public static final int TOTAL_REQUESTED_ANALYSES_COUNT_FIELD_NUMBER = 6; private int totalRequestedAnalysesCount_ = 0; /** - * - * *
    * Total number of analyses requested. Computed by the number of conversations
    * returned by `filter` multiplied by `analysis_percentage` in the request.
    * 
* * int32 total_requested_analyses_count = 6; - * * @return The totalRequestedAnalysesCount. */ @java.lang.Override @@ -271,7 +208,6 @@ public int getTotalRequestedAnalysesCount() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -283,7 +219,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (createTime_ != null) { output.writeMessage(1, getCreateTime()); } @@ -312,23 +249,28 @@ public int getSerializedSize() { size = 0; if (createTime_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getCreateTime()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, getCreateTime()); } if (endTime_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getEndTime()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, getEndTime()); } if (request_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getRequest()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(3, getRequest()); } if (completedAnalysesCount_ != 0) { - size += com.google.protobuf.CodedOutputStream.computeInt32Size(4, completedAnalysesCount_); + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(4, completedAnalysesCount_); } if (failedAnalysesCount_ != 0) { - size += com.google.protobuf.CodedOutputStream.computeInt32Size(5, failedAnalysesCount_); + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(5, failedAnalysesCount_); } if (totalRequestedAnalysesCount_ != 0) { - size += - com.google.protobuf.CodedOutputStream.computeInt32Size(6, totalRequestedAnalysesCount_); + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(6, totalRequestedAnalysesCount_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -338,30 +280,34 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } - if (!(obj - instanceof com.google.cloud.contactcenterinsights.v1.BulkAnalyzeConversationsMetadata)) { + if (!(obj instanceof com.google.cloud.contactcenterinsights.v1.BulkAnalyzeConversationsMetadata)) { return super.equals(obj); } - com.google.cloud.contactcenterinsights.v1.BulkAnalyzeConversationsMetadata other = - (com.google.cloud.contactcenterinsights.v1.BulkAnalyzeConversationsMetadata) obj; + com.google.cloud.contactcenterinsights.v1.BulkAnalyzeConversationsMetadata other = (com.google.cloud.contactcenterinsights.v1.BulkAnalyzeConversationsMetadata) obj; if (hasCreateTime() != other.hasCreateTime()) return false; if (hasCreateTime()) { - if (!getCreateTime().equals(other.getCreateTime())) return false; + if (!getCreateTime() + .equals(other.getCreateTime())) return false; } if (hasEndTime() != other.hasEndTime()) return false; if (hasEndTime()) { - if (!getEndTime().equals(other.getEndTime())) return false; + if (!getEndTime() + .equals(other.getEndTime())) return false; } if (hasRequest() != other.hasRequest()) return false; if (hasRequest()) { - if (!getRequest().equals(other.getRequest())) return false; - } - if (getCompletedAnalysesCount() != other.getCompletedAnalysesCount()) return false; - if (getFailedAnalysesCount() != other.getFailedAnalysesCount()) return false; - if (getTotalRequestedAnalysesCount() != other.getTotalRequestedAnalysesCount()) return false; + if (!getRequest() + .equals(other.getRequest())) return false; + } + if (getCompletedAnalysesCount() + != other.getCompletedAnalysesCount()) return false; + if (getFailedAnalysesCount() + != other.getFailedAnalysesCount()) return false; + if (getTotalRequestedAnalysesCount() + != other.getTotalRequestedAnalysesCount()) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -396,145 +342,130 @@ public int hashCode() { return hash; } - public static com.google.cloud.contactcenterinsights.v1.BulkAnalyzeConversationsMetadata - parseFrom(java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.contactcenterinsights.v1.BulkAnalyzeConversationsMetadata parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - - public static com.google.cloud.contactcenterinsights.v1.BulkAnalyzeConversationsMetadata - parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.contactcenterinsights.v1.BulkAnalyzeConversationsMetadata parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.contactcenterinsights.v1.BulkAnalyzeConversationsMetadata - parseFrom(com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.contactcenterinsights.v1.BulkAnalyzeConversationsMetadata parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - - public static com.google.cloud.contactcenterinsights.v1.BulkAnalyzeConversationsMetadata - parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.contactcenterinsights.v1.BulkAnalyzeConversationsMetadata parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.contactcenterinsights.v1.BulkAnalyzeConversationsMetadata - parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.contactcenterinsights.v1.BulkAnalyzeConversationsMetadata parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - - public static com.google.cloud.contactcenterinsights.v1.BulkAnalyzeConversationsMetadata - parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.contactcenterinsights.v1.BulkAnalyzeConversationsMetadata parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.contactcenterinsights.v1.BulkAnalyzeConversationsMetadata - parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.contactcenterinsights.v1.BulkAnalyzeConversationsMetadata parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - - public static com.google.cloud.contactcenterinsights.v1.BulkAnalyzeConversationsMetadata - parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + public static com.google.cloud.contactcenterinsights.v1.BulkAnalyzeConversationsMetadata parseFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.contactcenterinsights.v1.BulkAnalyzeConversationsMetadata - parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.contactcenterinsights.v1.BulkAnalyzeConversationsMetadata parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - - public static com.google.cloud.contactcenterinsights.v1.BulkAnalyzeConversationsMetadata - parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + public static com.google.cloud.contactcenterinsights.v1.BulkAnalyzeConversationsMetadata parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.contactcenterinsights.v1.BulkAnalyzeConversationsMetadata - parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.contactcenterinsights.v1.BulkAnalyzeConversationsMetadata parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - - public static com.google.cloud.contactcenterinsights.v1.BulkAnalyzeConversationsMetadata - parseFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + public static com.google.cloud.contactcenterinsights.v1.BulkAnalyzeConversationsMetadata parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.contactcenterinsights.v1.BulkAnalyzeConversationsMetadata prototype) { + public static Builder newBuilder(com.google.cloud.contactcenterinsights.v1.BulkAnalyzeConversationsMetadata prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * The metadata for a bulk analyze conversations operation.
    * 
* * Protobuf type {@code google.cloud.contactcenterinsights.v1.BulkAnalyzeConversationsMetadata} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.contactcenterinsights.v1.BulkAnalyzeConversationsMetadata) com.google.cloud.contactcenterinsights.v1.BulkAnalyzeConversationsMetadataOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto - .internal_static_google_cloud_contactcenterinsights_v1_BulkAnalyzeConversationsMetadata_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto.internal_static_google_cloud_contactcenterinsights_v1_BulkAnalyzeConversationsMetadata_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto - .internal_static_google_cloud_contactcenterinsights_v1_BulkAnalyzeConversationsMetadata_fieldAccessorTable + return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto.internal_static_google_cloud_contactcenterinsights_v1_BulkAnalyzeConversationsMetadata_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.contactcenterinsights.v1.BulkAnalyzeConversationsMetadata.class, - com.google.cloud.contactcenterinsights.v1.BulkAnalyzeConversationsMetadata.Builder - .class); + com.google.cloud.contactcenterinsights.v1.BulkAnalyzeConversationsMetadata.class, com.google.cloud.contactcenterinsights.v1.BulkAnalyzeConversationsMetadata.Builder.class); } - // Construct using - // com.google.cloud.contactcenterinsights.v1.BulkAnalyzeConversationsMetadata.newBuilder() - private Builder() {} + // Construct using com.google.cloud.contactcenterinsights.v1.BulkAnalyzeConversationsMetadata.newBuilder() + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -561,22 +492,19 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto - .internal_static_google_cloud_contactcenterinsights_v1_BulkAnalyzeConversationsMetadata_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto.internal_static_google_cloud_contactcenterinsights_v1_BulkAnalyzeConversationsMetadata_descriptor; } @java.lang.Override - public com.google.cloud.contactcenterinsights.v1.BulkAnalyzeConversationsMetadata - getDefaultInstanceForType() { - return com.google.cloud.contactcenterinsights.v1.BulkAnalyzeConversationsMetadata - .getDefaultInstance(); + public com.google.cloud.contactcenterinsights.v1.BulkAnalyzeConversationsMetadata getDefaultInstanceForType() { + return com.google.cloud.contactcenterinsights.v1.BulkAnalyzeConversationsMetadata.getDefaultInstance(); } @java.lang.Override public com.google.cloud.contactcenterinsights.v1.BulkAnalyzeConversationsMetadata build() { - com.google.cloud.contactcenterinsights.v1.BulkAnalyzeConversationsMetadata result = - buildPartial(); + com.google.cloud.contactcenterinsights.v1.BulkAnalyzeConversationsMetadata result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } @@ -584,28 +512,29 @@ public com.google.cloud.contactcenterinsights.v1.BulkAnalyzeConversationsMetadat } @java.lang.Override - public com.google.cloud.contactcenterinsights.v1.BulkAnalyzeConversationsMetadata - buildPartial() { - com.google.cloud.contactcenterinsights.v1.BulkAnalyzeConversationsMetadata result = - new com.google.cloud.contactcenterinsights.v1.BulkAnalyzeConversationsMetadata(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + public com.google.cloud.contactcenterinsights.v1.BulkAnalyzeConversationsMetadata buildPartial() { + com.google.cloud.contactcenterinsights.v1.BulkAnalyzeConversationsMetadata result = new com.google.cloud.contactcenterinsights.v1.BulkAnalyzeConversationsMetadata(this); + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } - private void buildPartial0( - com.google.cloud.contactcenterinsights.v1.BulkAnalyzeConversationsMetadata result) { + private void buildPartial0(com.google.cloud.contactcenterinsights.v1.BulkAnalyzeConversationsMetadata result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { - result.createTime_ = createTimeBuilder_ == null ? createTime_ : createTimeBuilder_.build(); + result.createTime_ = createTimeBuilder_ == null + ? createTime_ + : createTimeBuilder_.build(); } if (((from_bitField0_ & 0x00000002) != 0)) { - result.endTime_ = endTimeBuilder_ == null ? endTime_ : endTimeBuilder_.build(); + result.endTime_ = endTimeBuilder_ == null + ? endTime_ + : endTimeBuilder_.build(); } if (((from_bitField0_ & 0x00000004) != 0)) { - result.request_ = requestBuilder_ == null ? request_ : requestBuilder_.build(); + result.request_ = requestBuilder_ == null + ? request_ + : requestBuilder_.build(); } if (((from_bitField0_ & 0x00000008) != 0)) { result.completedAnalysesCount_ = completedAnalysesCount_; @@ -622,52 +551,46 @@ private void buildPartial0( public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { - if (other - instanceof com.google.cloud.contactcenterinsights.v1.BulkAnalyzeConversationsMetadata) { - return mergeFrom( - (com.google.cloud.contactcenterinsights.v1.BulkAnalyzeConversationsMetadata) other); + if (other instanceof com.google.cloud.contactcenterinsights.v1.BulkAnalyzeConversationsMetadata) { + return mergeFrom((com.google.cloud.contactcenterinsights.v1.BulkAnalyzeConversationsMetadata)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom( - com.google.cloud.contactcenterinsights.v1.BulkAnalyzeConversationsMetadata other) { - if (other - == com.google.cloud.contactcenterinsights.v1.BulkAnalyzeConversationsMetadata - .getDefaultInstance()) return this; + public Builder mergeFrom(com.google.cloud.contactcenterinsights.v1.BulkAnalyzeConversationsMetadata other) { + if (other == com.google.cloud.contactcenterinsights.v1.BulkAnalyzeConversationsMetadata.getDefaultInstance()) return this; if (other.hasCreateTime()) { mergeCreateTime(other.getCreateTime()); } @@ -712,49 +635,48 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - input.readMessage(getCreateTimeFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: - { - input.readMessage(getEndTimeFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00000002; - break; - } // case 18 - case 26: - { - input.readMessage(getRequestFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00000004; - break; - } // case 26 - case 32: - { - completedAnalysesCount_ = input.readInt32(); - bitField0_ |= 0x00000008; - break; - } // case 32 - case 40: - { - failedAnalysesCount_ = input.readInt32(); - bitField0_ |= 0x00000010; - break; - } // case 40 - case 48: - { - totalRequestedAnalysesCount_ = input.readInt32(); - bitField0_ |= 0x00000020; - break; - } // case 48 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + input.readMessage( + getCreateTimeFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: { + input.readMessage( + getEndTimeFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00000002; + break; + } // case 18 + case 26: { + input.readMessage( + getRequestFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00000004; + break; + } // case 26 + case 32: { + completedAnalysesCount_ = input.readInt32(); + bitField0_ |= 0x00000008; + break; + } // case 32 + case 40: { + failedAnalysesCount_ = input.readInt32(); + bitField0_ |= 0x00000010; + break; + } // case 40 + case 48: { + totalRequestedAnalysesCount_ = input.readInt32(); + bitField0_ |= 0x00000020; + break; + } // case 48 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -764,52 +686,38 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private com.google.protobuf.Timestamp createTime_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> - createTimeBuilder_; + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> createTimeBuilder_; /** - * - * *
      * The time the operation was created.
      * 
* * .google.protobuf.Timestamp create_time = 1; - * * @return Whether the createTime field is set. */ public boolean hasCreateTime() { return ((bitField0_ & 0x00000001) != 0); } /** - * - * *
      * The time the operation was created.
      * 
* * .google.protobuf.Timestamp create_time = 1; - * * @return The createTime. */ public com.google.protobuf.Timestamp getCreateTime() { if (createTimeBuilder_ == null) { - return createTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : createTime_; + return createTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : createTime_; } else { return createTimeBuilder_.getMessage(); } } /** - * - * *
      * The time the operation was created.
      * 
@@ -830,15 +738,14 @@ public Builder setCreateTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * The time the operation was created.
      * 
* * .google.protobuf.Timestamp create_time = 1; */ - public Builder setCreateTime(com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setCreateTime( + com.google.protobuf.Timestamp.Builder builderForValue) { if (createTimeBuilder_ == null) { createTime_ = builderForValue.build(); } else { @@ -849,8 +756,6 @@ public Builder setCreateTime(com.google.protobuf.Timestamp.Builder builderForVal return this; } /** - * - * *
      * The time the operation was created.
      * 
@@ -859,9 +764,9 @@ public Builder setCreateTime(com.google.protobuf.Timestamp.Builder builderForVal */ public Builder mergeCreateTime(com.google.protobuf.Timestamp value) { if (createTimeBuilder_ == null) { - if (((bitField0_ & 0x00000001) != 0) - && createTime_ != null - && createTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { + if (((bitField0_ & 0x00000001) != 0) && + createTime_ != null && + createTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { getCreateTimeBuilder().mergeFrom(value); } else { createTime_ = value; @@ -874,8 +779,6 @@ public Builder mergeCreateTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * The time the operation was created.
      * 
@@ -893,8 +796,6 @@ public Builder clearCreateTime() { return this; } /** - * - * *
      * The time the operation was created.
      * 
@@ -907,8 +808,6 @@ public com.google.protobuf.Timestamp.Builder getCreateTimeBuilder() { return getCreateTimeFieldBuilder().getBuilder(); } /** - * - * *
      * The time the operation was created.
      * 
@@ -919,14 +818,11 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { if (createTimeBuilder_ != null) { return createTimeBuilder_.getMessageOrBuilder(); } else { - return createTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : createTime_; + return createTime_ == null ? + com.google.protobuf.Timestamp.getDefaultInstance() : createTime_; } } /** - * - * *
      * The time the operation was created.
      * 
@@ -934,17 +830,14 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { * .google.protobuf.Timestamp create_time = 1; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> getCreateTimeFieldBuilder() { if (createTimeBuilder_ == null) { - createTimeBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder>( - getCreateTime(), getParentForChildren(), isClean()); + createTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( + getCreateTime(), + getParentForChildren(), + isClean()); createTime_ = null; } return createTimeBuilder_; @@ -952,33 +845,24 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { private com.google.protobuf.Timestamp endTime_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> - endTimeBuilder_; + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> endTimeBuilder_; /** - * - * *
      * The time the operation finished running.
      * 
* * .google.protobuf.Timestamp end_time = 2; - * * @return Whether the endTime field is set. */ public boolean hasEndTime() { return ((bitField0_ & 0x00000002) != 0); } /** - * - * *
      * The time the operation finished running.
      * 
* * .google.protobuf.Timestamp end_time = 2; - * * @return The endTime. */ public com.google.protobuf.Timestamp getEndTime() { @@ -989,8 +873,6 @@ public com.google.protobuf.Timestamp getEndTime() { } } /** - * - * *
      * The time the operation finished running.
      * 
@@ -1011,15 +893,14 @@ public Builder setEndTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * The time the operation finished running.
      * 
* * .google.protobuf.Timestamp end_time = 2; */ - public Builder setEndTime(com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setEndTime( + com.google.protobuf.Timestamp.Builder builderForValue) { if (endTimeBuilder_ == null) { endTime_ = builderForValue.build(); } else { @@ -1030,8 +911,6 @@ public Builder setEndTime(com.google.protobuf.Timestamp.Builder builderForValue) return this; } /** - * - * *
      * The time the operation finished running.
      * 
@@ -1040,9 +919,9 @@ public Builder setEndTime(com.google.protobuf.Timestamp.Builder builderForValue) */ public Builder mergeEndTime(com.google.protobuf.Timestamp value) { if (endTimeBuilder_ == null) { - if (((bitField0_ & 0x00000002) != 0) - && endTime_ != null - && endTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { + if (((bitField0_ & 0x00000002) != 0) && + endTime_ != null && + endTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { getEndTimeBuilder().mergeFrom(value); } else { endTime_ = value; @@ -1055,8 +934,6 @@ public Builder mergeEndTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * The time the operation finished running.
      * 
@@ -1074,8 +951,6 @@ public Builder clearEndTime() { return this; } /** - * - * *
      * The time the operation finished running.
      * 
@@ -1088,8 +963,6 @@ public com.google.protobuf.Timestamp.Builder getEndTimeBuilder() { return getEndTimeFieldBuilder().getBuilder(); } /** - * - * *
      * The time the operation finished running.
      * 
@@ -1100,12 +973,11 @@ public com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder() { if (endTimeBuilder_ != null) { return endTimeBuilder_.getMessageOrBuilder(); } else { - return endTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : endTime_; + return endTime_ == null ? + com.google.protobuf.Timestamp.getDefaultInstance() : endTime_; } } /** - * - * *
      * The time the operation finished running.
      * 
@@ -1113,17 +985,14 @@ public com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder() { * .google.protobuf.Timestamp end_time = 2; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> getEndTimeFieldBuilder() { if (endTimeBuilder_ == null) { - endTimeBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder>( - getEndTime(), getParentForChildren(), isClean()); + endTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( + getEndTime(), + getParentForChildren(), + isClean()); endTime_ = null; } return endTimeBuilder_; @@ -1131,59 +1000,41 @@ public com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder() { private com.google.cloud.contactcenterinsights.v1.BulkAnalyzeConversationsRequest request_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.contactcenterinsights.v1.BulkAnalyzeConversationsRequest, - com.google.cloud.contactcenterinsights.v1.BulkAnalyzeConversationsRequest.Builder, - com.google.cloud.contactcenterinsights.v1.BulkAnalyzeConversationsRequestOrBuilder> - requestBuilder_; + com.google.cloud.contactcenterinsights.v1.BulkAnalyzeConversationsRequest, com.google.cloud.contactcenterinsights.v1.BulkAnalyzeConversationsRequest.Builder, com.google.cloud.contactcenterinsights.v1.BulkAnalyzeConversationsRequestOrBuilder> requestBuilder_; /** - * - * *
      * The original request for bulk analyze.
      * 
* - * .google.cloud.contactcenterinsights.v1.BulkAnalyzeConversationsRequest request = 3; - * - * + * .google.cloud.contactcenterinsights.v1.BulkAnalyzeConversationsRequest request = 3; * @return Whether the request field is set. */ public boolean hasRequest() { return ((bitField0_ & 0x00000004) != 0); } /** - * - * *
      * The original request for bulk analyze.
      * 
* - * .google.cloud.contactcenterinsights.v1.BulkAnalyzeConversationsRequest request = 3; - * - * + * .google.cloud.contactcenterinsights.v1.BulkAnalyzeConversationsRequest request = 3; * @return The request. */ public com.google.cloud.contactcenterinsights.v1.BulkAnalyzeConversationsRequest getRequest() { if (requestBuilder_ == null) { - return request_ == null - ? com.google.cloud.contactcenterinsights.v1.BulkAnalyzeConversationsRequest - .getDefaultInstance() - : request_; + return request_ == null ? com.google.cloud.contactcenterinsights.v1.BulkAnalyzeConversationsRequest.getDefaultInstance() : request_; } else { return requestBuilder_.getMessage(); } } /** - * - * *
      * The original request for bulk analyze.
      * 
* - * .google.cloud.contactcenterinsights.v1.BulkAnalyzeConversationsRequest request = 3; - * + * .google.cloud.contactcenterinsights.v1.BulkAnalyzeConversationsRequest request = 3; */ - public Builder setRequest( - com.google.cloud.contactcenterinsights.v1.BulkAnalyzeConversationsRequest value) { + public Builder setRequest(com.google.cloud.contactcenterinsights.v1.BulkAnalyzeConversationsRequest value) { if (requestBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -1197,18 +1048,14 @@ public Builder setRequest( return this; } /** - * - * *
      * The original request for bulk analyze.
      * 
* - * .google.cloud.contactcenterinsights.v1.BulkAnalyzeConversationsRequest request = 3; - * + * .google.cloud.contactcenterinsights.v1.BulkAnalyzeConversationsRequest request = 3; */ public Builder setRequest( - com.google.cloud.contactcenterinsights.v1.BulkAnalyzeConversationsRequest.Builder - builderForValue) { + com.google.cloud.contactcenterinsights.v1.BulkAnalyzeConversationsRequest.Builder builderForValue) { if (requestBuilder_ == null) { request_ = builderForValue.build(); } else { @@ -1219,23 +1066,17 @@ public Builder setRequest( return this; } /** - * - * *
      * The original request for bulk analyze.
      * 
* - * .google.cloud.contactcenterinsights.v1.BulkAnalyzeConversationsRequest request = 3; - * + * .google.cloud.contactcenterinsights.v1.BulkAnalyzeConversationsRequest request = 3; */ - public Builder mergeRequest( - com.google.cloud.contactcenterinsights.v1.BulkAnalyzeConversationsRequest value) { + public Builder mergeRequest(com.google.cloud.contactcenterinsights.v1.BulkAnalyzeConversationsRequest value) { if (requestBuilder_ == null) { - if (((bitField0_ & 0x00000004) != 0) - && request_ != null - && request_ - != com.google.cloud.contactcenterinsights.v1.BulkAnalyzeConversationsRequest - .getDefaultInstance()) { + if (((bitField0_ & 0x00000004) != 0) && + request_ != null && + request_ != com.google.cloud.contactcenterinsights.v1.BulkAnalyzeConversationsRequest.getDefaultInstance()) { getRequestBuilder().mergeFrom(value); } else { request_ = value; @@ -1248,14 +1089,11 @@ public Builder mergeRequest( return this; } /** - * - * *
      * The original request for bulk analyze.
      * 
* - * .google.cloud.contactcenterinsights.v1.BulkAnalyzeConversationsRequest request = 3; - * + * .google.cloud.contactcenterinsights.v1.BulkAnalyzeConversationsRequest request = 3; */ public Builder clearRequest() { bitField0_ = (bitField0_ & ~0x00000004); @@ -1268,79 +1106,60 @@ public Builder clearRequest() { return this; } /** - * - * *
      * The original request for bulk analyze.
      * 
* - * .google.cloud.contactcenterinsights.v1.BulkAnalyzeConversationsRequest request = 3; - * + * .google.cloud.contactcenterinsights.v1.BulkAnalyzeConversationsRequest request = 3; */ - public com.google.cloud.contactcenterinsights.v1.BulkAnalyzeConversationsRequest.Builder - getRequestBuilder() { + public com.google.cloud.contactcenterinsights.v1.BulkAnalyzeConversationsRequest.Builder getRequestBuilder() { bitField0_ |= 0x00000004; onChanged(); return getRequestFieldBuilder().getBuilder(); } /** - * - * *
      * The original request for bulk analyze.
      * 
* - * .google.cloud.contactcenterinsights.v1.BulkAnalyzeConversationsRequest request = 3; - * + * .google.cloud.contactcenterinsights.v1.BulkAnalyzeConversationsRequest request = 3; */ - public com.google.cloud.contactcenterinsights.v1.BulkAnalyzeConversationsRequestOrBuilder - getRequestOrBuilder() { + public com.google.cloud.contactcenterinsights.v1.BulkAnalyzeConversationsRequestOrBuilder getRequestOrBuilder() { if (requestBuilder_ != null) { return requestBuilder_.getMessageOrBuilder(); } else { - return request_ == null - ? com.google.cloud.contactcenterinsights.v1.BulkAnalyzeConversationsRequest - .getDefaultInstance() - : request_; + return request_ == null ? + com.google.cloud.contactcenterinsights.v1.BulkAnalyzeConversationsRequest.getDefaultInstance() : request_; } } /** - * - * *
      * The original request for bulk analyze.
      * 
* - * .google.cloud.contactcenterinsights.v1.BulkAnalyzeConversationsRequest request = 3; - * + * .google.cloud.contactcenterinsights.v1.BulkAnalyzeConversationsRequest request = 3; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.contactcenterinsights.v1.BulkAnalyzeConversationsRequest, - com.google.cloud.contactcenterinsights.v1.BulkAnalyzeConversationsRequest.Builder, - com.google.cloud.contactcenterinsights.v1.BulkAnalyzeConversationsRequestOrBuilder> + com.google.cloud.contactcenterinsights.v1.BulkAnalyzeConversationsRequest, com.google.cloud.contactcenterinsights.v1.BulkAnalyzeConversationsRequest.Builder, com.google.cloud.contactcenterinsights.v1.BulkAnalyzeConversationsRequestOrBuilder> getRequestFieldBuilder() { if (requestBuilder_ == null) { - requestBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.contactcenterinsights.v1.BulkAnalyzeConversationsRequest, - com.google.cloud.contactcenterinsights.v1.BulkAnalyzeConversationsRequest.Builder, - com.google.cloud.contactcenterinsights.v1.BulkAnalyzeConversationsRequestOrBuilder>( - getRequest(), getParentForChildren(), isClean()); + requestBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.contactcenterinsights.v1.BulkAnalyzeConversationsRequest, com.google.cloud.contactcenterinsights.v1.BulkAnalyzeConversationsRequest.Builder, com.google.cloud.contactcenterinsights.v1.BulkAnalyzeConversationsRequestOrBuilder>( + getRequest(), + getParentForChildren(), + isClean()); request_ = null; } return requestBuilder_; } - private int completedAnalysesCount_; + private int completedAnalysesCount_ ; /** - * - * *
      * The number of requested analyses that have completed successfully so far.
      * 
* * int32 completed_analyses_count = 4; - * * @return The completedAnalysesCount. */ @java.lang.Override @@ -1348,33 +1167,27 @@ public int getCompletedAnalysesCount() { return completedAnalysesCount_; } /** - * - * *
      * The number of requested analyses that have completed successfully so far.
      * 
* * int32 completed_analyses_count = 4; - * * @param value The completedAnalysesCount to set. * @return This builder for chaining. */ public Builder setCompletedAnalysesCount(int value) { - + completedAnalysesCount_ = value; bitField0_ |= 0x00000008; onChanged(); return this; } /** - * - * *
      * The number of requested analyses that have completed successfully so far.
      * 
* * int32 completed_analyses_count = 4; - * * @return This builder for chaining. */ public Builder clearCompletedAnalysesCount() { @@ -1384,16 +1197,13 @@ public Builder clearCompletedAnalysesCount() { return this; } - private int failedAnalysesCount_; + private int failedAnalysesCount_ ; /** - * - * *
      * The number of requested analyses that have failed so far.
      * 
* * int32 failed_analyses_count = 5; - * * @return The failedAnalysesCount. */ @java.lang.Override @@ -1401,33 +1211,27 @@ public int getFailedAnalysesCount() { return failedAnalysesCount_; } /** - * - * *
      * The number of requested analyses that have failed so far.
      * 
* * int32 failed_analyses_count = 5; - * * @param value The failedAnalysesCount to set. * @return This builder for chaining. */ public Builder setFailedAnalysesCount(int value) { - + failedAnalysesCount_ = value; bitField0_ |= 0x00000010; onChanged(); return this; } /** - * - * *
      * The number of requested analyses that have failed so far.
      * 
* * int32 failed_analyses_count = 5; - * * @return This builder for chaining. */ public Builder clearFailedAnalysesCount() { @@ -1437,17 +1241,14 @@ public Builder clearFailedAnalysesCount() { return this; } - private int totalRequestedAnalysesCount_; + private int totalRequestedAnalysesCount_ ; /** - * - * *
      * Total number of analyses requested. Computed by the number of conversations
      * returned by `filter` multiplied by `analysis_percentage` in the request.
      * 
* * int32 total_requested_analyses_count = 6; - * * @return The totalRequestedAnalysesCount. */ @java.lang.Override @@ -1455,35 +1256,29 @@ public int getTotalRequestedAnalysesCount() { return totalRequestedAnalysesCount_; } /** - * - * *
      * Total number of analyses requested. Computed by the number of conversations
      * returned by `filter` multiplied by `analysis_percentage` in the request.
      * 
* * int32 total_requested_analyses_count = 6; - * * @param value The totalRequestedAnalysesCount to set. * @return This builder for chaining. */ public Builder setTotalRequestedAnalysesCount(int value) { - + totalRequestedAnalysesCount_ = value; bitField0_ |= 0x00000020; onChanged(); return this; } /** - * - * *
      * Total number of analyses requested. Computed by the number of conversations
      * returned by `filter` multiplied by `analysis_percentage` in the request.
      * 
* * int32 total_requested_analyses_count = 6; - * * @return This builder for chaining. */ public Builder clearTotalRequestedAnalysesCount() { @@ -1492,9 +1287,9 @@ public Builder clearTotalRequestedAnalysesCount() { onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1504,44 +1299,41 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.contactcenterinsights.v1.BulkAnalyzeConversationsMetadata) } // @@protoc_insertion_point(class_scope:google.cloud.contactcenterinsights.v1.BulkAnalyzeConversationsMetadata) - private static final com.google.cloud.contactcenterinsights.v1.BulkAnalyzeConversationsMetadata - DEFAULT_INSTANCE; - + private static final com.google.cloud.contactcenterinsights.v1.BulkAnalyzeConversationsMetadata DEFAULT_INSTANCE; static { - DEFAULT_INSTANCE = - new com.google.cloud.contactcenterinsights.v1.BulkAnalyzeConversationsMetadata(); + DEFAULT_INSTANCE = new com.google.cloud.contactcenterinsights.v1.BulkAnalyzeConversationsMetadata(); } - public static com.google.cloud.contactcenterinsights.v1.BulkAnalyzeConversationsMetadata - getDefaultInstance() { + public static com.google.cloud.contactcenterinsights.v1.BulkAnalyzeConversationsMetadata getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public BulkAnalyzeConversationsMetadata parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public BulkAnalyzeConversationsMetadata parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1553,8 +1345,9 @@ public com.google.protobuf.Parser getParserFor } @java.lang.Override - public com.google.cloud.contactcenterinsights.v1.BulkAnalyzeConversationsMetadata - getDefaultInstanceForType() { + public com.google.cloud.contactcenterinsights.v1.BulkAnalyzeConversationsMetadata getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/BulkAnalyzeConversationsMetadataOrBuilder.java b/owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/BulkAnalyzeConversationsMetadataOrBuilder.java similarity index 75% rename from java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/BulkAnalyzeConversationsMetadataOrBuilder.java rename to owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/BulkAnalyzeConversationsMetadataOrBuilder.java index f0f97e2611e1..54dc83f9a766 100644 --- a/java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/BulkAnalyzeConversationsMetadataOrBuilder.java +++ b/owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/BulkAnalyzeConversationsMetadataOrBuilder.java @@ -1,55 +1,31 @@ -/* - * 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. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/contactcenterinsights/v1/contact_center_insights.proto package com.google.cloud.contactcenterinsights.v1; -public interface BulkAnalyzeConversationsMetadataOrBuilder - extends +public interface BulkAnalyzeConversationsMetadataOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.contactcenterinsights.v1.BulkAnalyzeConversationsMetadata) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * The time the operation was created.
    * 
* * .google.protobuf.Timestamp create_time = 1; - * * @return Whether the createTime field is set. */ boolean hasCreateTime(); /** - * - * *
    * The time the operation was created.
    * 
* * .google.protobuf.Timestamp create_time = 1; - * * @return The createTime. */ com.google.protobuf.Timestamp getCreateTime(); /** - * - * *
    * The time the operation was created.
    * 
@@ -59,32 +35,24 @@ public interface BulkAnalyzeConversationsMetadataOrBuilder com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder(); /** - * - * *
    * The time the operation finished running.
    * 
* * .google.protobuf.Timestamp end_time = 2; - * * @return Whether the endTime field is set. */ boolean hasEndTime(); /** - * - * *
    * The time the operation finished running.
    * 
* * .google.protobuf.Timestamp end_time = 2; - * * @return The endTime. */ com.google.protobuf.Timestamp getEndTime(); /** - * - * *
    * The time the operation finished running.
    * 
@@ -94,80 +62,59 @@ public interface BulkAnalyzeConversationsMetadataOrBuilder com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder(); /** - * - * *
    * The original request for bulk analyze.
    * 
* - * .google.cloud.contactcenterinsights.v1.BulkAnalyzeConversationsRequest request = 3; - * - * + * .google.cloud.contactcenterinsights.v1.BulkAnalyzeConversationsRequest request = 3; * @return Whether the request field is set. */ boolean hasRequest(); /** - * - * *
    * The original request for bulk analyze.
    * 
* - * .google.cloud.contactcenterinsights.v1.BulkAnalyzeConversationsRequest request = 3; - * - * + * .google.cloud.contactcenterinsights.v1.BulkAnalyzeConversationsRequest request = 3; * @return The request. */ com.google.cloud.contactcenterinsights.v1.BulkAnalyzeConversationsRequest getRequest(); /** - * - * *
    * The original request for bulk analyze.
    * 
* - * .google.cloud.contactcenterinsights.v1.BulkAnalyzeConversationsRequest request = 3; - * + * .google.cloud.contactcenterinsights.v1.BulkAnalyzeConversationsRequest request = 3; */ - com.google.cloud.contactcenterinsights.v1.BulkAnalyzeConversationsRequestOrBuilder - getRequestOrBuilder(); + com.google.cloud.contactcenterinsights.v1.BulkAnalyzeConversationsRequestOrBuilder getRequestOrBuilder(); /** - * - * *
    * The number of requested analyses that have completed successfully so far.
    * 
* * int32 completed_analyses_count = 4; - * * @return The completedAnalysesCount. */ int getCompletedAnalysesCount(); /** - * - * *
    * The number of requested analyses that have failed so far.
    * 
* * int32 failed_analyses_count = 5; - * * @return The failedAnalysesCount. */ int getFailedAnalysesCount(); /** - * - * *
    * Total number of analyses requested. Computed by the number of conversations
    * returned by `filter` multiplied by `analysis_percentage` in the request.
    * 
* * int32 total_requested_analyses_count = 6; - * * @return The totalRequestedAnalysesCount. */ int getTotalRequestedAnalysesCount(); diff --git a/java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/BulkAnalyzeConversationsRequest.java b/owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/BulkAnalyzeConversationsRequest.java similarity index 64% rename from java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/BulkAnalyzeConversationsRequest.java rename to owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/BulkAnalyzeConversationsRequest.java index 82ad5ebcce97..ccee6024f7fc 100644 --- a/java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/BulkAnalyzeConversationsRequest.java +++ b/owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/BulkAnalyzeConversationsRequest.java @@ -1,43 +1,24 @@ -/* - * 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. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/contactcenterinsights/v1/contact_center_insights.proto package com.google.cloud.contactcenterinsights.v1; /** - * - * *
  * The request to analyze conversations in bulk.
  * 
* * Protobuf type {@code google.cloud.contactcenterinsights.v1.BulkAnalyzeConversationsRequest} */ -public final class BulkAnalyzeConversationsRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class BulkAnalyzeConversationsRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.contactcenterinsights.v1.BulkAnalyzeConversationsRequest) BulkAnalyzeConversationsRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use BulkAnalyzeConversationsRequest.newBuilder() to construct. - private BulkAnalyzeConversationsRequest( - com.google.protobuf.GeneratedMessageV3.Builder builder) { + private BulkAnalyzeConversationsRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private BulkAnalyzeConversationsRequest() { parent_ = ""; filter_ = ""; @@ -45,46 +26,38 @@ private BulkAnalyzeConversationsRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new BulkAnalyzeConversationsRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto - .internal_static_google_cloud_contactcenterinsights_v1_BulkAnalyzeConversationsRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto.internal_static_google_cloud_contactcenterinsights_v1_BulkAnalyzeConversationsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto - .internal_static_google_cloud_contactcenterinsights_v1_BulkAnalyzeConversationsRequest_fieldAccessorTable + return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto.internal_static_google_cloud_contactcenterinsights_v1_BulkAnalyzeConversationsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.contactcenterinsights.v1.BulkAnalyzeConversationsRequest.class, - com.google.cloud.contactcenterinsights.v1.BulkAnalyzeConversationsRequest.Builder - .class); + com.google.cloud.contactcenterinsights.v1.BulkAnalyzeConversationsRequest.class, com.google.cloud.contactcenterinsights.v1.BulkAnalyzeConversationsRequest.Builder.class); } public static final int PARENT_FIELD_NUMBER = 1; - @SuppressWarnings("serial") private volatile java.lang.Object parent_ = ""; /** - * - * *
    * Required. The parent resource to create analyses in.
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The parent. */ @java.lang.Override @@ -93,31 +66,29 @@ public java.lang.String getParent() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; } } /** - * - * *
    * Required. The parent resource to create analyses in.
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for parent. */ @java.lang.Override - public com.google.protobuf.ByteString getParentBytes() { + public com.google.protobuf.ByteString + getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); parent_ = b; return b; } else { @@ -126,18 +97,14 @@ public com.google.protobuf.ByteString getParentBytes() { } public static final int FILTER_FIELD_NUMBER = 2; - @SuppressWarnings("serial") private volatile java.lang.Object filter_ = ""; /** - * - * *
    * Required. Filter used to select the subset of conversations to analyze.
    * 
* * string filter = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The filter. */ @java.lang.Override @@ -146,29 +113,29 @@ public java.lang.String getFilter() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); filter_ = s; return s; } } /** - * - * *
    * Required. Filter used to select the subset of conversations to analyze.
    * 
* * string filter = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for filter. */ @java.lang.Override - public com.google.protobuf.ByteString getFilterBytes() { + public com.google.protobuf.ByteString + getFilterBytes() { java.lang.Object ref = filter_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); filter_ = b; return b; } else { @@ -179,15 +146,12 @@ public com.google.protobuf.ByteString getFilterBytes() { public static final int ANALYSIS_PERCENTAGE_FIELD_NUMBER = 3; private float analysisPercentage_ = 0F; /** - * - * *
    * Required. Percentage of selected conversation to analyze, between
    * [0, 100].
    * 
* * float analysis_percentage = 3 [(.google.api.field_behavior) = REQUIRED]; - * * @return The analysisPercentage. */ @java.lang.Override @@ -198,15 +162,12 @@ public float getAnalysisPercentage() { public static final int ANNOTATOR_SELECTOR_FIELD_NUMBER = 8; private com.google.cloud.contactcenterinsights.v1.AnnotatorSelector annotatorSelector_; /** - * - * *
    * To select the annotators to run and the phrase matchers to use
    * (if any). If not specified, all annotators will be run.
    * 
* * .google.cloud.contactcenterinsights.v1.AnnotatorSelector annotator_selector = 8; - * * @return Whether the annotatorSelector field is set. */ @java.lang.Override @@ -214,26 +175,19 @@ public boolean hasAnnotatorSelector() { return annotatorSelector_ != null; } /** - * - * *
    * To select the annotators to run and the phrase matchers to use
    * (if any). If not specified, all annotators will be run.
    * 
* * .google.cloud.contactcenterinsights.v1.AnnotatorSelector annotator_selector = 8; - * * @return The annotatorSelector. */ @java.lang.Override public com.google.cloud.contactcenterinsights.v1.AnnotatorSelector getAnnotatorSelector() { - return annotatorSelector_ == null - ? com.google.cloud.contactcenterinsights.v1.AnnotatorSelector.getDefaultInstance() - : annotatorSelector_; + return annotatorSelector_ == null ? com.google.cloud.contactcenterinsights.v1.AnnotatorSelector.getDefaultInstance() : annotatorSelector_; } /** - * - * *
    * To select the annotators to run and the phrase matchers to use
    * (if any). If not specified, all annotators will be run.
@@ -242,15 +196,11 @@ public com.google.cloud.contactcenterinsights.v1.AnnotatorSelector getAnnotatorS
    * .google.cloud.contactcenterinsights.v1.AnnotatorSelector annotator_selector = 8;
    */
   @java.lang.Override
-  public com.google.cloud.contactcenterinsights.v1.AnnotatorSelectorOrBuilder
-      getAnnotatorSelectorOrBuilder() {
-    return annotatorSelector_ == null
-        ? com.google.cloud.contactcenterinsights.v1.AnnotatorSelector.getDefaultInstance()
-        : annotatorSelector_;
+  public com.google.cloud.contactcenterinsights.v1.AnnotatorSelectorOrBuilder getAnnotatorSelectorOrBuilder() {
+    return annotatorSelector_ == null ? com.google.cloud.contactcenterinsights.v1.AnnotatorSelector.getDefaultInstance() : annotatorSelector_;
   }
 
   private byte memoizedIsInitialized = -1;
-
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -262,7 +212,8 @@ public final boolean isInitialized() {
   }
 
   @java.lang.Override
-  public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
+  public void writeTo(com.google.protobuf.CodedOutputStream output)
+                      throws java.io.IOException {
     if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) {
       com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_);
     }
@@ -291,10 +242,12 @@ public int getSerializedSize() {
       size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, filter_);
     }
     if (java.lang.Float.floatToRawIntBits(analysisPercentage_) != 0) {
-      size += com.google.protobuf.CodedOutputStream.computeFloatSize(3, analysisPercentage_);
+      size += com.google.protobuf.CodedOutputStream
+        .computeFloatSize(3, analysisPercentage_);
     }
     if (annotatorSelector_ != null) {
-      size += com.google.protobuf.CodedOutputStream.computeMessageSize(8, getAnnotatorSelector());
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(8, getAnnotatorSelector());
     }
     size += getUnknownFields().getSerializedSize();
     memoizedSize = size;
@@ -304,22 +257,24 @@ public int getSerializedSize() {
   @java.lang.Override
   public boolean equals(final java.lang.Object obj) {
     if (obj == this) {
-      return true;
+     return true;
     }
-    if (!(obj
-        instanceof com.google.cloud.contactcenterinsights.v1.BulkAnalyzeConversationsRequest)) {
+    if (!(obj instanceof com.google.cloud.contactcenterinsights.v1.BulkAnalyzeConversationsRequest)) {
       return super.equals(obj);
     }
-    com.google.cloud.contactcenterinsights.v1.BulkAnalyzeConversationsRequest other =
-        (com.google.cloud.contactcenterinsights.v1.BulkAnalyzeConversationsRequest) obj;
+    com.google.cloud.contactcenterinsights.v1.BulkAnalyzeConversationsRequest other = (com.google.cloud.contactcenterinsights.v1.BulkAnalyzeConversationsRequest) obj;
 
-    if (!getParent().equals(other.getParent())) return false;
-    if (!getFilter().equals(other.getFilter())) return false;
+    if (!getParent()
+        .equals(other.getParent())) return false;
+    if (!getFilter()
+        .equals(other.getFilter())) return false;
     if (java.lang.Float.floatToIntBits(getAnalysisPercentage())
-        != java.lang.Float.floatToIntBits(other.getAnalysisPercentage())) return false;
+        != java.lang.Float.floatToIntBits(
+            other.getAnalysisPercentage())) return false;
     if (hasAnnotatorSelector() != other.hasAnnotatorSelector()) return false;
     if (hasAnnotatorSelector()) {
-      if (!getAnnotatorSelector().equals(other.getAnnotatorSelector())) return false;
+      if (!getAnnotatorSelector()
+          .equals(other.getAnnotatorSelector())) return false;
     }
     if (!getUnknownFields().equals(other.getUnknownFields())) return false;
     return true;
@@ -337,7 +292,8 @@ public int hashCode() {
     hash = (37 * hash) + FILTER_FIELD_NUMBER;
     hash = (53 * hash) + getFilter().hashCode();
     hash = (37 * hash) + ANALYSIS_PERCENTAGE_FIELD_NUMBER;
-    hash = (53 * hash) + java.lang.Float.floatToIntBits(getAnalysisPercentage());
+    hash = (53 * hash) + java.lang.Float.floatToIntBits(
+        getAnalysisPercentage());
     if (hasAnnotatorSelector()) {
       hash = (37 * hash) + ANNOTATOR_SELECTOR_FIELD_NUMBER;
       hash = (53 * hash) + getAnnotatorSelector().hashCode();
@@ -348,139 +304,129 @@ public int hashCode() {
   }
 
   public static com.google.cloud.contactcenterinsights.v1.BulkAnalyzeConversationsRequest parseFrom(
-      java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException {
+      java.nio.ByteBuffer data)
+      throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.cloud.contactcenterinsights.v1.BulkAnalyzeConversationsRequest parseFrom(
-      java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.nio.ByteBuffer data,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
   public static com.google.cloud.contactcenterinsights.v1.BulkAnalyzeConversationsRequest parseFrom(
       com.google.protobuf.ByteString data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.cloud.contactcenterinsights.v1.BulkAnalyzeConversationsRequest parseFrom(
       com.google.protobuf.ByteString data,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
-  public static com.google.cloud.contactcenterinsights.v1.BulkAnalyzeConversationsRequest parseFrom(
-      byte[] data) throws com.google.protobuf.InvalidProtocolBufferException {
+  public static com.google.cloud.contactcenterinsights.v1.BulkAnalyzeConversationsRequest parseFrom(byte[] data)
+      throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.cloud.contactcenterinsights.v1.BulkAnalyzeConversationsRequest parseFrom(
-      byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      byte[] data,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
-  public static com.google.cloud.contactcenterinsights.v1.BulkAnalyzeConversationsRequest parseFrom(
-      java.io.InputStream input) throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+  public static com.google.cloud.contactcenterinsights.v1.BulkAnalyzeConversationsRequest parseFrom(java.io.InputStream input)
+      throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input);
   }
-
   public static com.google.cloud.contactcenterinsights.v1.BulkAnalyzeConversationsRequest parseFrom(
-      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input, extensionRegistry);
   }
-
-  public static com.google.cloud.contactcenterinsights.v1.BulkAnalyzeConversationsRequest
-      parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
+  public static com.google.cloud.contactcenterinsights.v1.BulkAnalyzeConversationsRequest parseDelimitedFrom(java.io.InputStream input)
+      throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3
+        .parseDelimitedWithIOException(PARSER, input);
   }
-
-  public static com.google.cloud.contactcenterinsights.v1.BulkAnalyzeConversationsRequest
-      parseDelimitedFrom(
-          java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-          throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(
-        PARSER, input, extensionRegistry);
+  public static com.google.cloud.contactcenterinsights.v1.BulkAnalyzeConversationsRequest parseDelimitedFrom(
+      java.io.InputStream input,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3
+        .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
   }
-
   public static com.google.cloud.contactcenterinsights.v1.BulkAnalyzeConversationsRequest parseFrom(
-      com.google.protobuf.CodedInputStream input) throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+      com.google.protobuf.CodedInputStream input)
+      throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input);
   }
-
   public static com.google.cloud.contactcenterinsights.v1.BulkAnalyzeConversationsRequest parseFrom(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input, extensionRegistry);
   }
 
   @java.lang.Override
-  public Builder newBuilderForType() {
-    return newBuilder();
-  }
-
+  public Builder newBuilderForType() { return newBuilder(); }
   public static Builder newBuilder() {
     return DEFAULT_INSTANCE.toBuilder();
   }
-
-  public static Builder newBuilder(
-      com.google.cloud.contactcenterinsights.v1.BulkAnalyzeConversationsRequest prototype) {
+  public static Builder newBuilder(com.google.cloud.contactcenterinsights.v1.BulkAnalyzeConversationsRequest prototype) {
     return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
   }
-
   @java.lang.Override
   public Builder toBuilder() {
-    return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
+    return this == DEFAULT_INSTANCE
+        ? new Builder() : new Builder().mergeFrom(this);
   }
 
   @java.lang.Override
-  protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+  protected Builder newBuilderForType(
+      com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
     Builder builder = new Builder(parent);
     return builder;
   }
   /**
-   *
-   *
    * 
    * The request to analyze conversations in bulk.
    * 
* * Protobuf type {@code google.cloud.contactcenterinsights.v1.BulkAnalyzeConversationsRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.contactcenterinsights.v1.BulkAnalyzeConversationsRequest) com.google.cloud.contactcenterinsights.v1.BulkAnalyzeConversationsRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto - .internal_static_google_cloud_contactcenterinsights_v1_BulkAnalyzeConversationsRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto.internal_static_google_cloud_contactcenterinsights_v1_BulkAnalyzeConversationsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto - .internal_static_google_cloud_contactcenterinsights_v1_BulkAnalyzeConversationsRequest_fieldAccessorTable + return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto.internal_static_google_cloud_contactcenterinsights_v1_BulkAnalyzeConversationsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.contactcenterinsights.v1.BulkAnalyzeConversationsRequest.class, - com.google.cloud.contactcenterinsights.v1.BulkAnalyzeConversationsRequest.Builder - .class); + com.google.cloud.contactcenterinsights.v1.BulkAnalyzeConversationsRequest.class, com.google.cloud.contactcenterinsights.v1.BulkAnalyzeConversationsRequest.Builder.class); } - // Construct using - // com.google.cloud.contactcenterinsights.v1.BulkAnalyzeConversationsRequest.newBuilder() - private Builder() {} + // Construct using com.google.cloud.contactcenterinsights.v1.BulkAnalyzeConversationsRequest.newBuilder() + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -497,22 +443,19 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto - .internal_static_google_cloud_contactcenterinsights_v1_BulkAnalyzeConversationsRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto.internal_static_google_cloud_contactcenterinsights_v1_BulkAnalyzeConversationsRequest_descriptor; } @java.lang.Override - public com.google.cloud.contactcenterinsights.v1.BulkAnalyzeConversationsRequest - getDefaultInstanceForType() { - return com.google.cloud.contactcenterinsights.v1.BulkAnalyzeConversationsRequest - .getDefaultInstance(); + public com.google.cloud.contactcenterinsights.v1.BulkAnalyzeConversationsRequest getDefaultInstanceForType() { + return com.google.cloud.contactcenterinsights.v1.BulkAnalyzeConversationsRequest.getDefaultInstance(); } @java.lang.Override public com.google.cloud.contactcenterinsights.v1.BulkAnalyzeConversationsRequest build() { - com.google.cloud.contactcenterinsights.v1.BulkAnalyzeConversationsRequest result = - buildPartial(); + com.google.cloud.contactcenterinsights.v1.BulkAnalyzeConversationsRequest result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } @@ -520,19 +463,14 @@ public com.google.cloud.contactcenterinsights.v1.BulkAnalyzeConversationsRequest } @java.lang.Override - public com.google.cloud.contactcenterinsights.v1.BulkAnalyzeConversationsRequest - buildPartial() { - com.google.cloud.contactcenterinsights.v1.BulkAnalyzeConversationsRequest result = - new com.google.cloud.contactcenterinsights.v1.BulkAnalyzeConversationsRequest(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + public com.google.cloud.contactcenterinsights.v1.BulkAnalyzeConversationsRequest buildPartial() { + com.google.cloud.contactcenterinsights.v1.BulkAnalyzeConversationsRequest result = new com.google.cloud.contactcenterinsights.v1.BulkAnalyzeConversationsRequest(this); + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } - private void buildPartial0( - com.google.cloud.contactcenterinsights.v1.BulkAnalyzeConversationsRequest result) { + private void buildPartial0(com.google.cloud.contactcenterinsights.v1.BulkAnalyzeConversationsRequest result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { result.parent_ = parent_; @@ -544,10 +482,9 @@ private void buildPartial0( result.analysisPercentage_ = analysisPercentage_; } if (((from_bitField0_ & 0x00000008) != 0)) { - result.annotatorSelector_ = - annotatorSelectorBuilder_ == null - ? annotatorSelector_ - : annotatorSelectorBuilder_.build(); + result.annotatorSelector_ = annotatorSelectorBuilder_ == null + ? annotatorSelector_ + : annotatorSelectorBuilder_.build(); } } @@ -555,52 +492,46 @@ private void buildPartial0( public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { - if (other - instanceof com.google.cloud.contactcenterinsights.v1.BulkAnalyzeConversationsRequest) { - return mergeFrom( - (com.google.cloud.contactcenterinsights.v1.BulkAnalyzeConversationsRequest) other); + if (other instanceof com.google.cloud.contactcenterinsights.v1.BulkAnalyzeConversationsRequest) { + return mergeFrom((com.google.cloud.contactcenterinsights.v1.BulkAnalyzeConversationsRequest)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom( - com.google.cloud.contactcenterinsights.v1.BulkAnalyzeConversationsRequest other) { - if (other - == com.google.cloud.contactcenterinsights.v1.BulkAnalyzeConversationsRequest - .getDefaultInstance()) return this; + public Builder mergeFrom(com.google.cloud.contactcenterinsights.v1.BulkAnalyzeConversationsRequest other) { + if (other == com.google.cloud.contactcenterinsights.v1.BulkAnalyzeConversationsRequest.getDefaultInstance()) return this; if (!other.getParent().isEmpty()) { parent_ = other.parent_; bitField0_ |= 0x00000001; @@ -643,38 +574,34 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - parent_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: - { - filter_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000002; - break; - } // case 18 - case 29: - { - analysisPercentage_ = input.readFloat(); - bitField0_ |= 0x00000004; - break; - } // case 29 - case 66: - { - input.readMessage( - getAnnotatorSelectorFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00000008; - break; - } // case 66 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + parent_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: { + filter_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + break; + } // case 18 + case 29: { + analysisPercentage_ = input.readFloat(); + bitField0_ |= 0x00000004; + break; + } // case 29 + case 66: { + input.readMessage( + getAnnotatorSelectorFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00000008; + break; + } // case 66 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -684,27 +611,22 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private java.lang.Object parent_ = ""; /** - * - * *
      * Required. The parent resource to create analyses in.
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The parent. */ public java.lang.String getParent() { java.lang.Object ref = parent_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; @@ -713,23 +635,20 @@ public java.lang.String getParent() { } } /** - * - * *
      * Required. The parent resource to create analyses in.
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for parent. */ - public com.google.protobuf.ByteString getParentBytes() { + public com.google.protobuf.ByteString + getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); parent_ = b; return b; } else { @@ -737,39 +656,28 @@ public com.google.protobuf.ByteString getParentBytes() { } } /** - * - * *
      * Required. The parent resource to create analyses in.
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The parent to set. * @return This builder for chaining. */ - public Builder setParent(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setParent( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } parent_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
      * Required. The parent resource to create analyses in.
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearParent() { @@ -779,23 +687,17 @@ public Builder clearParent() { return this; } /** - * - * *
      * Required. The parent resource to create analyses in.
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setParentBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); parent_ = value; bitField0_ |= 0x00000001; @@ -805,20 +707,18 @@ public Builder setParentBytes(com.google.protobuf.ByteString value) { private java.lang.Object filter_ = ""; /** - * - * *
      * Required. Filter used to select the subset of conversations to analyze.
      * 
* * string filter = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The filter. */ public java.lang.String getFilter() { java.lang.Object ref = filter_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); filter_ = s; return s; @@ -827,21 +727,20 @@ public java.lang.String getFilter() { } } /** - * - * *
      * Required. Filter used to select the subset of conversations to analyze.
      * 
* * string filter = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for filter. */ - public com.google.protobuf.ByteString getFilterBytes() { + public com.google.protobuf.ByteString + getFilterBytes() { java.lang.Object ref = filter_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); filter_ = b; return b; } else { @@ -849,35 +748,28 @@ public com.google.protobuf.ByteString getFilterBytes() { } } /** - * - * *
      * Required. Filter used to select the subset of conversations to analyze.
      * 
* * string filter = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The filter to set. * @return This builder for chaining. */ - public Builder setFilter(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setFilter( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } filter_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** - * - * *
      * Required. Filter used to select the subset of conversations to analyze.
      * 
* * string filter = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return This builder for chaining. */ public Builder clearFilter() { @@ -887,21 +779,17 @@ public Builder clearFilter() { return this; } /** - * - * *
      * Required. Filter used to select the subset of conversations to analyze.
      * 
* * string filter = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The bytes for filter to set. * @return This builder for chaining. */ - public Builder setFilterBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setFilterBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); filter_ = value; bitField0_ |= 0x00000002; @@ -909,17 +797,14 @@ public Builder setFilterBytes(com.google.protobuf.ByteString value) { return this; } - private float analysisPercentage_; + private float analysisPercentage_ ; /** - * - * *
      * Required. Percentage of selected conversation to analyze, between
      * [0, 100].
      * 
* * float analysis_percentage = 3 [(.google.api.field_behavior) = REQUIRED]; - * * @return The analysisPercentage. */ @java.lang.Override @@ -927,35 +812,29 @@ public float getAnalysisPercentage() { return analysisPercentage_; } /** - * - * *
      * Required. Percentage of selected conversation to analyze, between
      * [0, 100].
      * 
* * float analysis_percentage = 3 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The analysisPercentage to set. * @return This builder for chaining. */ public Builder setAnalysisPercentage(float value) { - + analysisPercentage_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } /** - * - * *
      * Required. Percentage of selected conversation to analyze, between
      * [0, 100].
      * 
* * float analysis_percentage = 3 [(.google.api.field_behavior) = REQUIRED]; - * * @return This builder for chaining. */ public Builder clearAnalysisPercentage() { @@ -967,49 +846,36 @@ public Builder clearAnalysisPercentage() { private com.google.cloud.contactcenterinsights.v1.AnnotatorSelector annotatorSelector_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.contactcenterinsights.v1.AnnotatorSelector, - com.google.cloud.contactcenterinsights.v1.AnnotatorSelector.Builder, - com.google.cloud.contactcenterinsights.v1.AnnotatorSelectorOrBuilder> - annotatorSelectorBuilder_; + com.google.cloud.contactcenterinsights.v1.AnnotatorSelector, com.google.cloud.contactcenterinsights.v1.AnnotatorSelector.Builder, com.google.cloud.contactcenterinsights.v1.AnnotatorSelectorOrBuilder> annotatorSelectorBuilder_; /** - * - * *
      * To select the annotators to run and the phrase matchers to use
      * (if any). If not specified, all annotators will be run.
      * 
* * .google.cloud.contactcenterinsights.v1.AnnotatorSelector annotator_selector = 8; - * * @return Whether the annotatorSelector field is set. */ public boolean hasAnnotatorSelector() { return ((bitField0_ & 0x00000008) != 0); } /** - * - * *
      * To select the annotators to run and the phrase matchers to use
      * (if any). If not specified, all annotators will be run.
      * 
* * .google.cloud.contactcenterinsights.v1.AnnotatorSelector annotator_selector = 8; - * * @return The annotatorSelector. */ public com.google.cloud.contactcenterinsights.v1.AnnotatorSelector getAnnotatorSelector() { if (annotatorSelectorBuilder_ == null) { - return annotatorSelector_ == null - ? com.google.cloud.contactcenterinsights.v1.AnnotatorSelector.getDefaultInstance() - : annotatorSelector_; + return annotatorSelector_ == null ? com.google.cloud.contactcenterinsights.v1.AnnotatorSelector.getDefaultInstance() : annotatorSelector_; } else { return annotatorSelectorBuilder_.getMessage(); } } /** - * - * *
      * To select the annotators to run and the phrase matchers to use
      * (if any). If not specified, all annotators will be run.
@@ -1017,8 +883,7 @@ public com.google.cloud.contactcenterinsights.v1.AnnotatorSelector getAnnotatorS
      *
      * .google.cloud.contactcenterinsights.v1.AnnotatorSelector annotator_selector = 8;
      */
-    public Builder setAnnotatorSelector(
-        com.google.cloud.contactcenterinsights.v1.AnnotatorSelector value) {
+    public Builder setAnnotatorSelector(com.google.cloud.contactcenterinsights.v1.AnnotatorSelector value) {
       if (annotatorSelectorBuilder_ == null) {
         if (value == null) {
           throw new NullPointerException();
@@ -1032,8 +897,6 @@ public Builder setAnnotatorSelector(
       return this;
     }
     /**
-     *
-     *
      * 
      * To select the annotators to run and the phrase matchers to use
      * (if any). If not specified, all annotators will be run.
@@ -1053,8 +916,6 @@ public Builder setAnnotatorSelector(
       return this;
     }
     /**
-     *
-     *
      * 
      * To select the annotators to run and the phrase matchers to use
      * (if any). If not specified, all annotators will be run.
@@ -1062,14 +923,11 @@ public Builder setAnnotatorSelector(
      *
      * .google.cloud.contactcenterinsights.v1.AnnotatorSelector annotator_selector = 8;
      */
-    public Builder mergeAnnotatorSelector(
-        com.google.cloud.contactcenterinsights.v1.AnnotatorSelector value) {
+    public Builder mergeAnnotatorSelector(com.google.cloud.contactcenterinsights.v1.AnnotatorSelector value) {
       if (annotatorSelectorBuilder_ == null) {
-        if (((bitField0_ & 0x00000008) != 0)
-            && annotatorSelector_ != null
-            && annotatorSelector_
-                != com.google.cloud.contactcenterinsights.v1.AnnotatorSelector
-                    .getDefaultInstance()) {
+        if (((bitField0_ & 0x00000008) != 0) &&
+          annotatorSelector_ != null &&
+          annotatorSelector_ != com.google.cloud.contactcenterinsights.v1.AnnotatorSelector.getDefaultInstance()) {
           getAnnotatorSelectorBuilder().mergeFrom(value);
         } else {
           annotatorSelector_ = value;
@@ -1082,8 +940,6 @@ public Builder mergeAnnotatorSelector(
       return this;
     }
     /**
-     *
-     *
      * 
      * To select the annotators to run and the phrase matchers to use
      * (if any). If not specified, all annotators will be run.
@@ -1102,8 +958,6 @@ public Builder clearAnnotatorSelector() {
       return this;
     }
     /**
-     *
-     *
      * 
      * To select the annotators to run and the phrase matchers to use
      * (if any). If not specified, all annotators will be run.
@@ -1111,15 +965,12 @@ public Builder clearAnnotatorSelector() {
      *
      * .google.cloud.contactcenterinsights.v1.AnnotatorSelector annotator_selector = 8;
      */
-    public com.google.cloud.contactcenterinsights.v1.AnnotatorSelector.Builder
-        getAnnotatorSelectorBuilder() {
+    public com.google.cloud.contactcenterinsights.v1.AnnotatorSelector.Builder getAnnotatorSelectorBuilder() {
       bitField0_ |= 0x00000008;
       onChanged();
       return getAnnotatorSelectorFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * To select the annotators to run and the phrase matchers to use
      * (if any). If not specified, all annotators will be run.
@@ -1127,19 +978,15 @@ public Builder clearAnnotatorSelector() {
      *
      * .google.cloud.contactcenterinsights.v1.AnnotatorSelector annotator_selector = 8;
      */
-    public com.google.cloud.contactcenterinsights.v1.AnnotatorSelectorOrBuilder
-        getAnnotatorSelectorOrBuilder() {
+    public com.google.cloud.contactcenterinsights.v1.AnnotatorSelectorOrBuilder getAnnotatorSelectorOrBuilder() {
       if (annotatorSelectorBuilder_ != null) {
         return annotatorSelectorBuilder_.getMessageOrBuilder();
       } else {
-        return annotatorSelector_ == null
-            ? com.google.cloud.contactcenterinsights.v1.AnnotatorSelector.getDefaultInstance()
-            : annotatorSelector_;
+        return annotatorSelector_ == null ?
+            com.google.cloud.contactcenterinsights.v1.AnnotatorSelector.getDefaultInstance() : annotatorSelector_;
       }
     }
     /**
-     *
-     *
      * 
      * To select the annotators to run and the phrase matchers to use
      * (if any). If not specified, all annotators will be run.
@@ -1148,24 +995,21 @@ public Builder clearAnnotatorSelector() {
      * .google.cloud.contactcenterinsights.v1.AnnotatorSelector annotator_selector = 8;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.cloud.contactcenterinsights.v1.AnnotatorSelector,
-            com.google.cloud.contactcenterinsights.v1.AnnotatorSelector.Builder,
-            com.google.cloud.contactcenterinsights.v1.AnnotatorSelectorOrBuilder>
+        com.google.cloud.contactcenterinsights.v1.AnnotatorSelector, com.google.cloud.contactcenterinsights.v1.AnnotatorSelector.Builder, com.google.cloud.contactcenterinsights.v1.AnnotatorSelectorOrBuilder> 
         getAnnotatorSelectorFieldBuilder() {
       if (annotatorSelectorBuilder_ == null) {
-        annotatorSelectorBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.cloud.contactcenterinsights.v1.AnnotatorSelector,
-                com.google.cloud.contactcenterinsights.v1.AnnotatorSelector.Builder,
-                com.google.cloud.contactcenterinsights.v1.AnnotatorSelectorOrBuilder>(
-                getAnnotatorSelector(), getParentForChildren(), isClean());
+        annotatorSelectorBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.cloud.contactcenterinsights.v1.AnnotatorSelector, com.google.cloud.contactcenterinsights.v1.AnnotatorSelector.Builder, com.google.cloud.contactcenterinsights.v1.AnnotatorSelectorOrBuilder>(
+                getAnnotatorSelector(),
+                getParentForChildren(),
+                isClean());
         annotatorSelector_ = null;
       }
       return annotatorSelectorBuilder_;
     }
-
     @java.lang.Override
-    public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) {
+    public final Builder setUnknownFields(
+        final com.google.protobuf.UnknownFieldSet unknownFields) {
       return super.setUnknownFields(unknownFields);
     }
 
@@ -1175,44 +1019,41 @@ public final Builder mergeUnknownFields(
       return super.mergeUnknownFields(unknownFields);
     }
 
+
     // @@protoc_insertion_point(builder_scope:google.cloud.contactcenterinsights.v1.BulkAnalyzeConversationsRequest)
   }
 
   // @@protoc_insertion_point(class_scope:google.cloud.contactcenterinsights.v1.BulkAnalyzeConversationsRequest)
-  private static final com.google.cloud.contactcenterinsights.v1.BulkAnalyzeConversationsRequest
-      DEFAULT_INSTANCE;
-
+  private static final com.google.cloud.contactcenterinsights.v1.BulkAnalyzeConversationsRequest DEFAULT_INSTANCE;
   static {
-    DEFAULT_INSTANCE =
-        new com.google.cloud.contactcenterinsights.v1.BulkAnalyzeConversationsRequest();
+    DEFAULT_INSTANCE = new com.google.cloud.contactcenterinsights.v1.BulkAnalyzeConversationsRequest();
   }
 
-  public static com.google.cloud.contactcenterinsights.v1.BulkAnalyzeConversationsRequest
-      getDefaultInstance() {
+  public static com.google.cloud.contactcenterinsights.v1.BulkAnalyzeConversationsRequest getDefaultInstance() {
     return DEFAULT_INSTANCE;
   }
 
-  private static final com.google.protobuf.Parser PARSER =
-      new com.google.protobuf.AbstractParser() {
-        @java.lang.Override
-        public BulkAnalyzeConversationsRequest parsePartialFrom(
-            com.google.protobuf.CodedInputStream input,
-            com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-            throws com.google.protobuf.InvalidProtocolBufferException {
-          Builder builder = newBuilder();
-          try {
-            builder.mergeFrom(input, extensionRegistry);
-          } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-            throw e.setUnfinishedMessage(builder.buildPartial());
-          } catch (com.google.protobuf.UninitializedMessageException e) {
-            throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
-          } catch (java.io.IOException e) {
-            throw new com.google.protobuf.InvalidProtocolBufferException(e)
-                .setUnfinishedMessage(builder.buildPartial());
-          }
-          return builder.buildPartial();
-        }
-      };
+  private static final com.google.protobuf.Parser
+      PARSER = new com.google.protobuf.AbstractParser() {
+    @java.lang.Override
+    public BulkAnalyzeConversationsRequest parsePartialFrom(
+        com.google.protobuf.CodedInputStream input,
+        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        throws com.google.protobuf.InvalidProtocolBufferException {
+      Builder builder = newBuilder();
+      try {
+        builder.mergeFrom(input, extensionRegistry);
+      } catch (com.google.protobuf.InvalidProtocolBufferException e) {
+        throw e.setUnfinishedMessage(builder.buildPartial());
+      } catch (com.google.protobuf.UninitializedMessageException e) {
+        throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
+      } catch (java.io.IOException e) {
+        throw new com.google.protobuf.InvalidProtocolBufferException(e)
+            .setUnfinishedMessage(builder.buildPartial());
+      }
+      return builder.buildPartial();
+    }
+  };
 
   public static com.google.protobuf.Parser parser() {
     return PARSER;
@@ -1224,8 +1065,9 @@ public com.google.protobuf.Parser getParserForT
   }
 
   @java.lang.Override
-  public com.google.cloud.contactcenterinsights.v1.BulkAnalyzeConversationsRequest
-      getDefaultInstanceForType() {
+  public com.google.cloud.contactcenterinsights.v1.BulkAnalyzeConversationsRequest getDefaultInstanceForType() {
     return DEFAULT_INSTANCE;
   }
+
 }
+
diff --git a/java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/BulkAnalyzeConversationsRequestOrBuilder.java b/owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/BulkAnalyzeConversationsRequestOrBuilder.java
similarity index 67%
rename from java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/BulkAnalyzeConversationsRequestOrBuilder.java
rename to owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/BulkAnalyzeConversationsRequestOrBuilder.java
index 459a88a6f579..b0adaeffaecc 100644
--- a/java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/BulkAnalyzeConversationsRequestOrBuilder.java
+++ b/owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/BulkAnalyzeConversationsRequestOrBuilder.java
@@ -1,125 +1,84 @@
-/*
- * 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.
- */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/cloud/contactcenterinsights/v1/contact_center_insights.proto
 
 package com.google.cloud.contactcenterinsights.v1;
 
-public interface BulkAnalyzeConversationsRequestOrBuilder
-    extends
+public interface BulkAnalyzeConversationsRequestOrBuilder extends
     // @@protoc_insertion_point(interface_extends:google.cloud.contactcenterinsights.v1.BulkAnalyzeConversationsRequest)
     com.google.protobuf.MessageOrBuilder {
 
   /**
-   *
-   *
    * 
    * Required. The parent resource to create analyses in.
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The parent. */ java.lang.String getParent(); /** - * - * *
    * Required. The parent resource to create analyses in.
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for parent. */ - com.google.protobuf.ByteString getParentBytes(); + com.google.protobuf.ByteString + getParentBytes(); /** - * - * *
    * Required. Filter used to select the subset of conversations to analyze.
    * 
* * string filter = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The filter. */ java.lang.String getFilter(); /** - * - * *
    * Required. Filter used to select the subset of conversations to analyze.
    * 
* * string filter = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for filter. */ - com.google.protobuf.ByteString getFilterBytes(); + com.google.protobuf.ByteString + getFilterBytes(); /** - * - * *
    * Required. Percentage of selected conversation to analyze, between
    * [0, 100].
    * 
* * float analysis_percentage = 3 [(.google.api.field_behavior) = REQUIRED]; - * * @return The analysisPercentage. */ float getAnalysisPercentage(); /** - * - * *
    * To select the annotators to run and the phrase matchers to use
    * (if any). If not specified, all annotators will be run.
    * 
* * .google.cloud.contactcenterinsights.v1.AnnotatorSelector annotator_selector = 8; - * * @return Whether the annotatorSelector field is set. */ boolean hasAnnotatorSelector(); /** - * - * *
    * To select the annotators to run and the phrase matchers to use
    * (if any). If not specified, all annotators will be run.
    * 
* * .google.cloud.contactcenterinsights.v1.AnnotatorSelector annotator_selector = 8; - * * @return The annotatorSelector. */ com.google.cloud.contactcenterinsights.v1.AnnotatorSelector getAnnotatorSelector(); /** - * - * *
    * To select the annotators to run and the phrase matchers to use
    * (if any). If not specified, all annotators will be run.
@@ -127,6 +86,5 @@ public interface BulkAnalyzeConversationsRequestOrBuilder
    *
    * .google.cloud.contactcenterinsights.v1.AnnotatorSelector annotator_selector = 8;
    */
-  com.google.cloud.contactcenterinsights.v1.AnnotatorSelectorOrBuilder
-      getAnnotatorSelectorOrBuilder();
+  com.google.cloud.contactcenterinsights.v1.AnnotatorSelectorOrBuilder getAnnotatorSelectorOrBuilder();
 }
diff --git a/java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/BulkAnalyzeConversationsResponse.java b/owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/BulkAnalyzeConversationsResponse.java
similarity index 55%
rename from java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/BulkAnalyzeConversationsResponse.java
rename to owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/BulkAnalyzeConversationsResponse.java
index 28ef468f7719..3144c534124e 100644
--- a/java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/BulkAnalyzeConversationsResponse.java
+++ b/owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/BulkAnalyzeConversationsResponse.java
@@ -1,83 +1,60 @@
-/*
- * 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.
- */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/cloud/contactcenterinsights/v1/contact_center_insights.proto
 
 package com.google.cloud.contactcenterinsights.v1;
 
 /**
- *
- *
  * 
  * The response for a bulk analyze conversations operation.
  * 
* * Protobuf type {@code google.cloud.contactcenterinsights.v1.BulkAnalyzeConversationsResponse} */ -public final class BulkAnalyzeConversationsResponse extends com.google.protobuf.GeneratedMessageV3 - implements +public final class BulkAnalyzeConversationsResponse extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.contactcenterinsights.v1.BulkAnalyzeConversationsResponse) BulkAnalyzeConversationsResponseOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use BulkAnalyzeConversationsResponse.newBuilder() to construct. - private BulkAnalyzeConversationsResponse( - com.google.protobuf.GeneratedMessageV3.Builder builder) { + private BulkAnalyzeConversationsResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - - private BulkAnalyzeConversationsResponse() {} + private BulkAnalyzeConversationsResponse() { + } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new BulkAnalyzeConversationsResponse(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto - .internal_static_google_cloud_contactcenterinsights_v1_BulkAnalyzeConversationsResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto.internal_static_google_cloud_contactcenterinsights_v1_BulkAnalyzeConversationsResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto - .internal_static_google_cloud_contactcenterinsights_v1_BulkAnalyzeConversationsResponse_fieldAccessorTable + return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto.internal_static_google_cloud_contactcenterinsights_v1_BulkAnalyzeConversationsResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.contactcenterinsights.v1.BulkAnalyzeConversationsResponse.class, - com.google.cloud.contactcenterinsights.v1.BulkAnalyzeConversationsResponse.Builder - .class); + com.google.cloud.contactcenterinsights.v1.BulkAnalyzeConversationsResponse.class, com.google.cloud.contactcenterinsights.v1.BulkAnalyzeConversationsResponse.Builder.class); } public static final int SUCCESSFUL_ANALYSIS_COUNT_FIELD_NUMBER = 1; private int successfulAnalysisCount_ = 0; /** - * - * *
    * Count of successful analyses.
    * 
* * int32 successful_analysis_count = 1; - * * @return The successfulAnalysisCount. */ @java.lang.Override @@ -88,14 +65,11 @@ public int getSuccessfulAnalysisCount() { public static final int FAILED_ANALYSIS_COUNT_FIELD_NUMBER = 2; private int failedAnalysisCount_ = 0; /** - * - * *
    * Count of failed analyses.
    * 
* * int32 failed_analysis_count = 2; - * * @return The failedAnalysisCount. */ @java.lang.Override @@ -104,7 +78,6 @@ public int getFailedAnalysisCount() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -116,7 +89,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (successfulAnalysisCount_ != 0) { output.writeInt32(1, successfulAnalysisCount_); } @@ -133,10 +107,12 @@ public int getSerializedSize() { size = 0; if (successfulAnalysisCount_ != 0) { - size += com.google.protobuf.CodedOutputStream.computeInt32Size(1, successfulAnalysisCount_); + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(1, successfulAnalysisCount_); } if (failedAnalysisCount_ != 0) { - size += com.google.protobuf.CodedOutputStream.computeInt32Size(2, failedAnalysisCount_); + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(2, failedAnalysisCount_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -146,17 +122,17 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } - if (!(obj - instanceof com.google.cloud.contactcenterinsights.v1.BulkAnalyzeConversationsResponse)) { + if (!(obj instanceof com.google.cloud.contactcenterinsights.v1.BulkAnalyzeConversationsResponse)) { return super.equals(obj); } - com.google.cloud.contactcenterinsights.v1.BulkAnalyzeConversationsResponse other = - (com.google.cloud.contactcenterinsights.v1.BulkAnalyzeConversationsResponse) obj; + com.google.cloud.contactcenterinsights.v1.BulkAnalyzeConversationsResponse other = (com.google.cloud.contactcenterinsights.v1.BulkAnalyzeConversationsResponse) obj; - if (getSuccessfulAnalysisCount() != other.getSuccessfulAnalysisCount()) return false; - if (getFailedAnalysisCount() != other.getFailedAnalysisCount()) return false; + if (getSuccessfulAnalysisCount() + != other.getSuccessfulAnalysisCount()) return false; + if (getFailedAnalysisCount() + != other.getFailedAnalysisCount()) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -177,145 +153,130 @@ public int hashCode() { return hash; } - public static com.google.cloud.contactcenterinsights.v1.BulkAnalyzeConversationsResponse - parseFrom(java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.contactcenterinsights.v1.BulkAnalyzeConversationsResponse parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - - public static com.google.cloud.contactcenterinsights.v1.BulkAnalyzeConversationsResponse - parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.contactcenterinsights.v1.BulkAnalyzeConversationsResponse parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.contactcenterinsights.v1.BulkAnalyzeConversationsResponse - parseFrom(com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.contactcenterinsights.v1.BulkAnalyzeConversationsResponse parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - - public static com.google.cloud.contactcenterinsights.v1.BulkAnalyzeConversationsResponse - parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.contactcenterinsights.v1.BulkAnalyzeConversationsResponse parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.contactcenterinsights.v1.BulkAnalyzeConversationsResponse - parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.contactcenterinsights.v1.BulkAnalyzeConversationsResponse parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - - public static com.google.cloud.contactcenterinsights.v1.BulkAnalyzeConversationsResponse - parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.contactcenterinsights.v1.BulkAnalyzeConversationsResponse parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.contactcenterinsights.v1.BulkAnalyzeConversationsResponse - parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); - } - - public static com.google.cloud.contactcenterinsights.v1.BulkAnalyzeConversationsResponse - parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); - } - - public static com.google.cloud.contactcenterinsights.v1.BulkAnalyzeConversationsResponse - parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); - } - - public static com.google.cloud.contactcenterinsights.v1.BulkAnalyzeConversationsResponse - parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); - } - - public static com.google.cloud.contactcenterinsights.v1.BulkAnalyzeConversationsResponse - parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); - } - - public static com.google.cloud.contactcenterinsights.v1.BulkAnalyzeConversationsResponse - parseFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + public static com.google.cloud.contactcenterinsights.v1.BulkAnalyzeConversationsResponse parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static com.google.cloud.contactcenterinsights.v1.BulkAnalyzeConversationsResponse parseFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + public static com.google.cloud.contactcenterinsights.v1.BulkAnalyzeConversationsResponse parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); + } + public static com.google.cloud.contactcenterinsights.v1.BulkAnalyzeConversationsResponse parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + } + public static com.google.cloud.contactcenterinsights.v1.BulkAnalyzeConversationsResponse parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static com.google.cloud.contactcenterinsights.v1.BulkAnalyzeConversationsResponse parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.contactcenterinsights.v1.BulkAnalyzeConversationsResponse prototype) { + public static Builder newBuilder(com.google.cloud.contactcenterinsights.v1.BulkAnalyzeConversationsResponse prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * The response for a bulk analyze conversations operation.
    * 
* * Protobuf type {@code google.cloud.contactcenterinsights.v1.BulkAnalyzeConversationsResponse} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.contactcenterinsights.v1.BulkAnalyzeConversationsResponse) com.google.cloud.contactcenterinsights.v1.BulkAnalyzeConversationsResponseOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto - .internal_static_google_cloud_contactcenterinsights_v1_BulkAnalyzeConversationsResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto.internal_static_google_cloud_contactcenterinsights_v1_BulkAnalyzeConversationsResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto - .internal_static_google_cloud_contactcenterinsights_v1_BulkAnalyzeConversationsResponse_fieldAccessorTable + return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto.internal_static_google_cloud_contactcenterinsights_v1_BulkAnalyzeConversationsResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.contactcenterinsights.v1.BulkAnalyzeConversationsResponse.class, - com.google.cloud.contactcenterinsights.v1.BulkAnalyzeConversationsResponse.Builder - .class); + com.google.cloud.contactcenterinsights.v1.BulkAnalyzeConversationsResponse.class, com.google.cloud.contactcenterinsights.v1.BulkAnalyzeConversationsResponse.Builder.class); } - // Construct using - // com.google.cloud.contactcenterinsights.v1.BulkAnalyzeConversationsResponse.newBuilder() - private Builder() {} + // Construct using com.google.cloud.contactcenterinsights.v1.BulkAnalyzeConversationsResponse.newBuilder() + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -326,22 +287,19 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto - .internal_static_google_cloud_contactcenterinsights_v1_BulkAnalyzeConversationsResponse_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto.internal_static_google_cloud_contactcenterinsights_v1_BulkAnalyzeConversationsResponse_descriptor; } @java.lang.Override - public com.google.cloud.contactcenterinsights.v1.BulkAnalyzeConversationsResponse - getDefaultInstanceForType() { - return com.google.cloud.contactcenterinsights.v1.BulkAnalyzeConversationsResponse - .getDefaultInstance(); + public com.google.cloud.contactcenterinsights.v1.BulkAnalyzeConversationsResponse getDefaultInstanceForType() { + return com.google.cloud.contactcenterinsights.v1.BulkAnalyzeConversationsResponse.getDefaultInstance(); } @java.lang.Override public com.google.cloud.contactcenterinsights.v1.BulkAnalyzeConversationsResponse build() { - com.google.cloud.contactcenterinsights.v1.BulkAnalyzeConversationsResponse result = - buildPartial(); + com.google.cloud.contactcenterinsights.v1.BulkAnalyzeConversationsResponse result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } @@ -349,19 +307,14 @@ public com.google.cloud.contactcenterinsights.v1.BulkAnalyzeConversationsRespons } @java.lang.Override - public com.google.cloud.contactcenterinsights.v1.BulkAnalyzeConversationsResponse - buildPartial() { - com.google.cloud.contactcenterinsights.v1.BulkAnalyzeConversationsResponse result = - new com.google.cloud.contactcenterinsights.v1.BulkAnalyzeConversationsResponse(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + public com.google.cloud.contactcenterinsights.v1.BulkAnalyzeConversationsResponse buildPartial() { + com.google.cloud.contactcenterinsights.v1.BulkAnalyzeConversationsResponse result = new com.google.cloud.contactcenterinsights.v1.BulkAnalyzeConversationsResponse(this); + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } - private void buildPartial0( - com.google.cloud.contactcenterinsights.v1.BulkAnalyzeConversationsResponse result) { + private void buildPartial0(com.google.cloud.contactcenterinsights.v1.BulkAnalyzeConversationsResponse result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { result.successfulAnalysisCount_ = successfulAnalysisCount_; @@ -375,52 +328,46 @@ private void buildPartial0( public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { - if (other - instanceof com.google.cloud.contactcenterinsights.v1.BulkAnalyzeConversationsResponse) { - return mergeFrom( - (com.google.cloud.contactcenterinsights.v1.BulkAnalyzeConversationsResponse) other); + if (other instanceof com.google.cloud.contactcenterinsights.v1.BulkAnalyzeConversationsResponse) { + return mergeFrom((com.google.cloud.contactcenterinsights.v1.BulkAnalyzeConversationsResponse)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom( - com.google.cloud.contactcenterinsights.v1.BulkAnalyzeConversationsResponse other) { - if (other - == com.google.cloud.contactcenterinsights.v1.BulkAnalyzeConversationsResponse - .getDefaultInstance()) return this; + public Builder mergeFrom(com.google.cloud.contactcenterinsights.v1.BulkAnalyzeConversationsResponse other) { + if (other == com.google.cloud.contactcenterinsights.v1.BulkAnalyzeConversationsResponse.getDefaultInstance()) return this; if (other.getSuccessfulAnalysisCount() != 0) { setSuccessfulAnalysisCount(other.getSuccessfulAnalysisCount()); } @@ -453,25 +400,22 @@ public Builder mergeFrom( case 0: done = true; break; - case 8: - { - successfulAnalysisCount_ = input.readInt32(); - bitField0_ |= 0x00000001; - break; - } // case 8 - case 16: - { - failedAnalysisCount_ = input.readInt32(); - bitField0_ |= 0x00000002; - break; - } // case 16 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 8: { + successfulAnalysisCount_ = input.readInt32(); + bitField0_ |= 0x00000001; + break; + } // case 8 + case 16: { + failedAnalysisCount_ = input.readInt32(); + bitField0_ |= 0x00000002; + break; + } // case 16 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -481,19 +425,15 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; - private int successfulAnalysisCount_; + private int successfulAnalysisCount_ ; /** - * - * *
      * Count of successful analyses.
      * 
* * int32 successful_analysis_count = 1; - * * @return The successfulAnalysisCount. */ @java.lang.Override @@ -501,33 +441,27 @@ public int getSuccessfulAnalysisCount() { return successfulAnalysisCount_; } /** - * - * *
      * Count of successful analyses.
      * 
* * int32 successful_analysis_count = 1; - * * @param value The successfulAnalysisCount to set. * @return This builder for chaining. */ public Builder setSuccessfulAnalysisCount(int value) { - + successfulAnalysisCount_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
      * Count of successful analyses.
      * 
* * int32 successful_analysis_count = 1; - * * @return This builder for chaining. */ public Builder clearSuccessfulAnalysisCount() { @@ -537,16 +471,13 @@ public Builder clearSuccessfulAnalysisCount() { return this; } - private int failedAnalysisCount_; + private int failedAnalysisCount_ ; /** - * - * *
      * Count of failed analyses.
      * 
* * int32 failed_analysis_count = 2; - * * @return The failedAnalysisCount. */ @java.lang.Override @@ -554,33 +485,27 @@ public int getFailedAnalysisCount() { return failedAnalysisCount_; } /** - * - * *
      * Count of failed analyses.
      * 
* * int32 failed_analysis_count = 2; - * * @param value The failedAnalysisCount to set. * @return This builder for chaining. */ public Builder setFailedAnalysisCount(int value) { - + failedAnalysisCount_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** - * - * *
      * Count of failed analyses.
      * 
* * int32 failed_analysis_count = 2; - * * @return This builder for chaining. */ public Builder clearFailedAnalysisCount() { @@ -589,9 +514,9 @@ public Builder clearFailedAnalysisCount() { onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -601,44 +526,41 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.contactcenterinsights.v1.BulkAnalyzeConversationsResponse) } // @@protoc_insertion_point(class_scope:google.cloud.contactcenterinsights.v1.BulkAnalyzeConversationsResponse) - private static final com.google.cloud.contactcenterinsights.v1.BulkAnalyzeConversationsResponse - DEFAULT_INSTANCE; - + private static final com.google.cloud.contactcenterinsights.v1.BulkAnalyzeConversationsResponse DEFAULT_INSTANCE; static { - DEFAULT_INSTANCE = - new com.google.cloud.contactcenterinsights.v1.BulkAnalyzeConversationsResponse(); + DEFAULT_INSTANCE = new com.google.cloud.contactcenterinsights.v1.BulkAnalyzeConversationsResponse(); } - public static com.google.cloud.contactcenterinsights.v1.BulkAnalyzeConversationsResponse - getDefaultInstance() { + public static com.google.cloud.contactcenterinsights.v1.BulkAnalyzeConversationsResponse getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public BulkAnalyzeConversationsResponse parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public BulkAnalyzeConversationsResponse parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -650,8 +572,9 @@ public com.google.protobuf.Parser getParserFor } @java.lang.Override - public com.google.cloud.contactcenterinsights.v1.BulkAnalyzeConversationsResponse - getDefaultInstanceForType() { + public com.google.cloud.contactcenterinsights.v1.BulkAnalyzeConversationsResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/BulkAnalyzeConversationsResponseOrBuilder.java b/owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/BulkAnalyzeConversationsResponseOrBuilder.java similarity index 52% rename from java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/BulkAnalyzeConversationsResponseOrBuilder.java rename to owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/BulkAnalyzeConversationsResponseOrBuilder.java index 9954e79d6224..43b4005ef0e1 100644 --- a/java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/BulkAnalyzeConversationsResponseOrBuilder.java +++ b/owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/BulkAnalyzeConversationsResponseOrBuilder.java @@ -1,50 +1,28 @@ -/* - * 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. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/contactcenterinsights/v1/contact_center_insights.proto package com.google.cloud.contactcenterinsights.v1; -public interface BulkAnalyzeConversationsResponseOrBuilder - extends +public interface BulkAnalyzeConversationsResponseOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.contactcenterinsights.v1.BulkAnalyzeConversationsResponse) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Count of successful analyses.
    * 
* * int32 successful_analysis_count = 1; - * * @return The successfulAnalysisCount. */ int getSuccessfulAnalysisCount(); /** - * - * *
    * Count of failed analyses.
    * 
* * int32 failed_analysis_count = 2; - * * @return The failedAnalysisCount. */ int getFailedAnalysisCount(); diff --git a/java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/CalculateIssueModelStatsRequest.java b/owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/CalculateIssueModelStatsRequest.java similarity index 56% rename from java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/CalculateIssueModelStatsRequest.java rename to owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/CalculateIssueModelStatsRequest.java index 5bca8d4fb8c4..72dbfd044f61 100644 --- a/java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/CalculateIssueModelStatsRequest.java +++ b/owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/CalculateIssueModelStatsRequest.java @@ -1,89 +1,62 @@ -/* - * 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. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/contactcenterinsights/v1/contact_center_insights.proto package com.google.cloud.contactcenterinsights.v1; /** - * - * *
  * Request to get statistics of an issue model.
  * 
* * Protobuf type {@code google.cloud.contactcenterinsights.v1.CalculateIssueModelStatsRequest} */ -public final class CalculateIssueModelStatsRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class CalculateIssueModelStatsRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.contactcenterinsights.v1.CalculateIssueModelStatsRequest) CalculateIssueModelStatsRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use CalculateIssueModelStatsRequest.newBuilder() to construct. - private CalculateIssueModelStatsRequest( - com.google.protobuf.GeneratedMessageV3.Builder builder) { + private CalculateIssueModelStatsRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private CalculateIssueModelStatsRequest() { issueModel_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new CalculateIssueModelStatsRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto - .internal_static_google_cloud_contactcenterinsights_v1_CalculateIssueModelStatsRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto.internal_static_google_cloud_contactcenterinsights_v1_CalculateIssueModelStatsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto - .internal_static_google_cloud_contactcenterinsights_v1_CalculateIssueModelStatsRequest_fieldAccessorTable + return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto.internal_static_google_cloud_contactcenterinsights_v1_CalculateIssueModelStatsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.contactcenterinsights.v1.CalculateIssueModelStatsRequest.class, - com.google.cloud.contactcenterinsights.v1.CalculateIssueModelStatsRequest.Builder - .class); + com.google.cloud.contactcenterinsights.v1.CalculateIssueModelStatsRequest.class, com.google.cloud.contactcenterinsights.v1.CalculateIssueModelStatsRequest.Builder.class); } public static final int ISSUE_MODEL_FIELD_NUMBER = 1; - @SuppressWarnings("serial") private volatile java.lang.Object issueModel_ = ""; /** - * - * *
    * Required. The resource name of the issue model to query against.
    * 
* - * - * string issue_model = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string issue_model = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The issueModel. */ @java.lang.Override @@ -92,31 +65,29 @@ public java.lang.String getIssueModel() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); issueModel_ = s; return s; } } /** - * - * *
    * Required. The resource name of the issue model to query against.
    * 
* - * - * string issue_model = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string issue_model = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for issueModel. */ @java.lang.Override - public com.google.protobuf.ByteString getIssueModelBytes() { + public com.google.protobuf.ByteString + getIssueModelBytes() { java.lang.Object ref = issueModel_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); issueModel_ = b; return b; } else { @@ -125,7 +96,6 @@ public com.google.protobuf.ByteString getIssueModelBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -137,7 +107,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(issueModel_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, issueModel_); } @@ -161,16 +132,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } - if (!(obj - instanceof com.google.cloud.contactcenterinsights.v1.CalculateIssueModelStatsRequest)) { + if (!(obj instanceof com.google.cloud.contactcenterinsights.v1.CalculateIssueModelStatsRequest)) { return super.equals(obj); } - com.google.cloud.contactcenterinsights.v1.CalculateIssueModelStatsRequest other = - (com.google.cloud.contactcenterinsights.v1.CalculateIssueModelStatsRequest) obj; + com.google.cloud.contactcenterinsights.v1.CalculateIssueModelStatsRequest other = (com.google.cloud.contactcenterinsights.v1.CalculateIssueModelStatsRequest) obj; - if (!getIssueModel().equals(other.getIssueModel())) return false; + if (!getIssueModel() + .equals(other.getIssueModel())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -190,139 +160,129 @@ public int hashCode() { } public static com.google.cloud.contactcenterinsights.v1.CalculateIssueModelStatsRequest parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.contactcenterinsights.v1.CalculateIssueModelStatsRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.contactcenterinsights.v1.CalculateIssueModelStatsRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.contactcenterinsights.v1.CalculateIssueModelStatsRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.contactcenterinsights.v1.CalculateIssueModelStatsRequest parseFrom( - byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.contactcenterinsights.v1.CalculateIssueModelStatsRequest parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.contactcenterinsights.v1.CalculateIssueModelStatsRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.contactcenterinsights.v1.CalculateIssueModelStatsRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.contactcenterinsights.v1.CalculateIssueModelStatsRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.contactcenterinsights.v1.CalculateIssueModelStatsRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.contactcenterinsights.v1.CalculateIssueModelStatsRequest - parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.contactcenterinsights.v1.CalculateIssueModelStatsRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - - public static com.google.cloud.contactcenterinsights.v1.CalculateIssueModelStatsRequest - parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + public static com.google.cloud.contactcenterinsights.v1.CalculateIssueModelStatsRequest parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.contactcenterinsights.v1.CalculateIssueModelStatsRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.contactcenterinsights.v1.CalculateIssueModelStatsRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.contactcenterinsights.v1.CalculateIssueModelStatsRequest prototype) { + public static Builder newBuilder(com.google.cloud.contactcenterinsights.v1.CalculateIssueModelStatsRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Request to get statistics of an issue model.
    * 
* * Protobuf type {@code google.cloud.contactcenterinsights.v1.CalculateIssueModelStatsRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.contactcenterinsights.v1.CalculateIssueModelStatsRequest) com.google.cloud.contactcenterinsights.v1.CalculateIssueModelStatsRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto - .internal_static_google_cloud_contactcenterinsights_v1_CalculateIssueModelStatsRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto.internal_static_google_cloud_contactcenterinsights_v1_CalculateIssueModelStatsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto - .internal_static_google_cloud_contactcenterinsights_v1_CalculateIssueModelStatsRequest_fieldAccessorTable + return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto.internal_static_google_cloud_contactcenterinsights_v1_CalculateIssueModelStatsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.contactcenterinsights.v1.CalculateIssueModelStatsRequest.class, - com.google.cloud.contactcenterinsights.v1.CalculateIssueModelStatsRequest.Builder - .class); + com.google.cloud.contactcenterinsights.v1.CalculateIssueModelStatsRequest.class, com.google.cloud.contactcenterinsights.v1.CalculateIssueModelStatsRequest.Builder.class); } - // Construct using - // com.google.cloud.contactcenterinsights.v1.CalculateIssueModelStatsRequest.newBuilder() - private Builder() {} + // Construct using com.google.cloud.contactcenterinsights.v1.CalculateIssueModelStatsRequest.newBuilder() + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -332,22 +292,19 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto - .internal_static_google_cloud_contactcenterinsights_v1_CalculateIssueModelStatsRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto.internal_static_google_cloud_contactcenterinsights_v1_CalculateIssueModelStatsRequest_descriptor; } @java.lang.Override - public com.google.cloud.contactcenterinsights.v1.CalculateIssueModelStatsRequest - getDefaultInstanceForType() { - return com.google.cloud.contactcenterinsights.v1.CalculateIssueModelStatsRequest - .getDefaultInstance(); + public com.google.cloud.contactcenterinsights.v1.CalculateIssueModelStatsRequest getDefaultInstanceForType() { + return com.google.cloud.contactcenterinsights.v1.CalculateIssueModelStatsRequest.getDefaultInstance(); } @java.lang.Override public com.google.cloud.contactcenterinsights.v1.CalculateIssueModelStatsRequest build() { - com.google.cloud.contactcenterinsights.v1.CalculateIssueModelStatsRequest result = - buildPartial(); + com.google.cloud.contactcenterinsights.v1.CalculateIssueModelStatsRequest result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } @@ -355,19 +312,14 @@ public com.google.cloud.contactcenterinsights.v1.CalculateIssueModelStatsRequest } @java.lang.Override - public com.google.cloud.contactcenterinsights.v1.CalculateIssueModelStatsRequest - buildPartial() { - com.google.cloud.contactcenterinsights.v1.CalculateIssueModelStatsRequest result = - new com.google.cloud.contactcenterinsights.v1.CalculateIssueModelStatsRequest(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + public com.google.cloud.contactcenterinsights.v1.CalculateIssueModelStatsRequest buildPartial() { + com.google.cloud.contactcenterinsights.v1.CalculateIssueModelStatsRequest result = new com.google.cloud.contactcenterinsights.v1.CalculateIssueModelStatsRequest(this); + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } - private void buildPartial0( - com.google.cloud.contactcenterinsights.v1.CalculateIssueModelStatsRequest result) { + private void buildPartial0(com.google.cloud.contactcenterinsights.v1.CalculateIssueModelStatsRequest result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { result.issueModel_ = issueModel_; @@ -378,52 +330,46 @@ private void buildPartial0( public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { - if (other - instanceof com.google.cloud.contactcenterinsights.v1.CalculateIssueModelStatsRequest) { - return mergeFrom( - (com.google.cloud.contactcenterinsights.v1.CalculateIssueModelStatsRequest) other); + if (other instanceof com.google.cloud.contactcenterinsights.v1.CalculateIssueModelStatsRequest) { + return mergeFrom((com.google.cloud.contactcenterinsights.v1.CalculateIssueModelStatsRequest)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom( - com.google.cloud.contactcenterinsights.v1.CalculateIssueModelStatsRequest other) { - if (other - == com.google.cloud.contactcenterinsights.v1.CalculateIssueModelStatsRequest - .getDefaultInstance()) return this; + public Builder mergeFrom(com.google.cloud.contactcenterinsights.v1.CalculateIssueModelStatsRequest other) { + if (other == com.google.cloud.contactcenterinsights.v1.CalculateIssueModelStatsRequest.getDefaultInstance()) return this; if (!other.getIssueModel().isEmpty()) { issueModel_ = other.issueModel_; bitField0_ |= 0x00000001; @@ -455,19 +401,17 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - issueModel_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + issueModel_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -477,27 +421,22 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private java.lang.Object issueModel_ = ""; /** - * - * *
      * Required. The resource name of the issue model to query against.
      * 
* - * - * string issue_model = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string issue_model = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The issueModel. */ public java.lang.String getIssueModel() { java.lang.Object ref = issueModel_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); issueModel_ = s; return s; @@ -506,23 +445,20 @@ public java.lang.String getIssueModel() { } } /** - * - * *
      * Required. The resource name of the issue model to query against.
      * 
* - * - * string issue_model = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string issue_model = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for issueModel. */ - public com.google.protobuf.ByteString getIssueModelBytes() { + public com.google.protobuf.ByteString + getIssueModelBytes() { java.lang.Object ref = issueModel_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); issueModel_ = b; return b; } else { @@ -530,39 +466,28 @@ public com.google.protobuf.ByteString getIssueModelBytes() { } } /** - * - * *
      * Required. The resource name of the issue model to query against.
      * 
* - * - * string issue_model = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string issue_model = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The issueModel to set. * @return This builder for chaining. */ - public Builder setIssueModel(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setIssueModel( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } issueModel_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
      * Required. The resource name of the issue model to query against.
      * 
* - * - * string issue_model = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string issue_model = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearIssueModel() { @@ -572,32 +497,26 @@ public Builder clearIssueModel() { return this; } /** - * - * *
      * Required. The resource name of the issue model to query against.
      * 
* - * - * string issue_model = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string issue_model = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The bytes for issueModel to set. * @return This builder for chaining. */ - public Builder setIssueModelBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setIssueModelBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); issueModel_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -607,44 +526,41 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.contactcenterinsights.v1.CalculateIssueModelStatsRequest) } // @@protoc_insertion_point(class_scope:google.cloud.contactcenterinsights.v1.CalculateIssueModelStatsRequest) - private static final com.google.cloud.contactcenterinsights.v1.CalculateIssueModelStatsRequest - DEFAULT_INSTANCE; - + private static final com.google.cloud.contactcenterinsights.v1.CalculateIssueModelStatsRequest DEFAULT_INSTANCE; static { - DEFAULT_INSTANCE = - new com.google.cloud.contactcenterinsights.v1.CalculateIssueModelStatsRequest(); + DEFAULT_INSTANCE = new com.google.cloud.contactcenterinsights.v1.CalculateIssueModelStatsRequest(); } - public static com.google.cloud.contactcenterinsights.v1.CalculateIssueModelStatsRequest - getDefaultInstance() { + public static com.google.cloud.contactcenterinsights.v1.CalculateIssueModelStatsRequest getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public CalculateIssueModelStatsRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public CalculateIssueModelStatsRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -656,8 +572,9 @@ public com.google.protobuf.Parser getParserForT } @java.lang.Override - public com.google.cloud.contactcenterinsights.v1.CalculateIssueModelStatsRequest - getDefaultInstanceForType() { + public com.google.cloud.contactcenterinsights.v1.CalculateIssueModelStatsRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/CalculateIssueModelStatsRequestOrBuilder.java b/owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/CalculateIssueModelStatsRequestOrBuilder.java new file mode 100644 index 000000000000..b71270315f7b --- /dev/null +++ b/owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/CalculateIssueModelStatsRequestOrBuilder.java @@ -0,0 +1,29 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/contactcenterinsights/v1/contact_center_insights.proto + +package com.google.cloud.contactcenterinsights.v1; + +public interface CalculateIssueModelStatsRequestOrBuilder extends + // @@protoc_insertion_point(interface_extends:google.cloud.contactcenterinsights.v1.CalculateIssueModelStatsRequest) + com.google.protobuf.MessageOrBuilder { + + /** + *
+   * Required. The resource name of the issue model to query against.
+   * 
+ * + * string issue_model = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The issueModel. + */ + java.lang.String getIssueModel(); + /** + *
+   * Required. The resource name of the issue model to query against.
+   * 
+ * + * string issue_model = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The bytes for issueModel. + */ + com.google.protobuf.ByteString + getIssueModelBytes(); +} diff --git a/java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/CalculateIssueModelStatsResponse.java b/owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/CalculateIssueModelStatsResponse.java similarity index 58% rename from java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/CalculateIssueModelStatsResponse.java rename to owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/CalculateIssueModelStatsResponse.java index 8fa7fcaf3f97..54a7bf15f02c 100644 --- a/java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/CalculateIssueModelStatsResponse.java +++ b/owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/CalculateIssueModelStatsResponse.java @@ -1,84 +1,61 @@ -/* - * 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. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/contactcenterinsights/v1/contact_center_insights.proto package com.google.cloud.contactcenterinsights.v1; /** - * - * *
  * Response of querying an issue model's statistics.
  * 
* * Protobuf type {@code google.cloud.contactcenterinsights.v1.CalculateIssueModelStatsResponse} */ -public final class CalculateIssueModelStatsResponse extends com.google.protobuf.GeneratedMessageV3 - implements +public final class CalculateIssueModelStatsResponse extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.contactcenterinsights.v1.CalculateIssueModelStatsResponse) CalculateIssueModelStatsResponseOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use CalculateIssueModelStatsResponse.newBuilder() to construct. - private CalculateIssueModelStatsResponse( - com.google.protobuf.GeneratedMessageV3.Builder builder) { + private CalculateIssueModelStatsResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - - private CalculateIssueModelStatsResponse() {} + private CalculateIssueModelStatsResponse() { + } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new CalculateIssueModelStatsResponse(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto - .internal_static_google_cloud_contactcenterinsights_v1_CalculateIssueModelStatsResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto.internal_static_google_cloud_contactcenterinsights_v1_CalculateIssueModelStatsResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto - .internal_static_google_cloud_contactcenterinsights_v1_CalculateIssueModelStatsResponse_fieldAccessorTable + return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto.internal_static_google_cloud_contactcenterinsights_v1_CalculateIssueModelStatsResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.contactcenterinsights.v1.CalculateIssueModelStatsResponse.class, - com.google.cloud.contactcenterinsights.v1.CalculateIssueModelStatsResponse.Builder - .class); + com.google.cloud.contactcenterinsights.v1.CalculateIssueModelStatsResponse.class, com.google.cloud.contactcenterinsights.v1.CalculateIssueModelStatsResponse.Builder.class); } public static final int CURRENT_STATS_FIELD_NUMBER = 4; private com.google.cloud.contactcenterinsights.v1.IssueModelLabelStats currentStats_; /** - * - * *
    * The latest label statistics for the queried issue model. Includes results
    * on both training data and data labeled after deployment.
    * 
* * .google.cloud.contactcenterinsights.v1.IssueModelLabelStats current_stats = 4; - * * @return Whether the currentStats field is set. */ @java.lang.Override @@ -86,26 +63,19 @@ public boolean hasCurrentStats() { return currentStats_ != null; } /** - * - * *
    * The latest label statistics for the queried issue model. Includes results
    * on both training data and data labeled after deployment.
    * 
* * .google.cloud.contactcenterinsights.v1.IssueModelLabelStats current_stats = 4; - * * @return The currentStats. */ @java.lang.Override public com.google.cloud.contactcenterinsights.v1.IssueModelLabelStats getCurrentStats() { - return currentStats_ == null - ? com.google.cloud.contactcenterinsights.v1.IssueModelLabelStats.getDefaultInstance() - : currentStats_; + return currentStats_ == null ? com.google.cloud.contactcenterinsights.v1.IssueModelLabelStats.getDefaultInstance() : currentStats_; } /** - * - * *
    * The latest label statistics for the queried issue model. Includes results
    * on both training data and data labeled after deployment.
@@ -114,15 +84,11 @@ public com.google.cloud.contactcenterinsights.v1.IssueModelLabelStats getCurrent
    * .google.cloud.contactcenterinsights.v1.IssueModelLabelStats current_stats = 4;
    */
   @java.lang.Override
-  public com.google.cloud.contactcenterinsights.v1.IssueModelLabelStatsOrBuilder
-      getCurrentStatsOrBuilder() {
-    return currentStats_ == null
-        ? com.google.cloud.contactcenterinsights.v1.IssueModelLabelStats.getDefaultInstance()
-        : currentStats_;
+  public com.google.cloud.contactcenterinsights.v1.IssueModelLabelStatsOrBuilder getCurrentStatsOrBuilder() {
+    return currentStats_ == null ? com.google.cloud.contactcenterinsights.v1.IssueModelLabelStats.getDefaultInstance() : currentStats_;
   }
 
   private byte memoizedIsInitialized = -1;
-
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -134,7 +100,8 @@ public final boolean isInitialized() {
   }
 
   @java.lang.Override
-  public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
+  public void writeTo(com.google.protobuf.CodedOutputStream output)
+                      throws java.io.IOException {
     if (currentStats_ != null) {
       output.writeMessage(4, getCurrentStats());
     }
@@ -148,7 +115,8 @@ public int getSerializedSize() {
 
     size = 0;
     if (currentStats_ != null) {
-      size += com.google.protobuf.CodedOutputStream.computeMessageSize(4, getCurrentStats());
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(4, getCurrentStats());
     }
     size += getUnknownFields().getSerializedSize();
     memoizedSize = size;
@@ -158,18 +126,17 @@ public int getSerializedSize() {
   @java.lang.Override
   public boolean equals(final java.lang.Object obj) {
     if (obj == this) {
-      return true;
+     return true;
     }
-    if (!(obj
-        instanceof com.google.cloud.contactcenterinsights.v1.CalculateIssueModelStatsResponse)) {
+    if (!(obj instanceof com.google.cloud.contactcenterinsights.v1.CalculateIssueModelStatsResponse)) {
       return super.equals(obj);
     }
-    com.google.cloud.contactcenterinsights.v1.CalculateIssueModelStatsResponse other =
-        (com.google.cloud.contactcenterinsights.v1.CalculateIssueModelStatsResponse) obj;
+    com.google.cloud.contactcenterinsights.v1.CalculateIssueModelStatsResponse other = (com.google.cloud.contactcenterinsights.v1.CalculateIssueModelStatsResponse) obj;
 
     if (hasCurrentStats() != other.hasCurrentStats()) return false;
     if (hasCurrentStats()) {
-      if (!getCurrentStats().equals(other.getCurrentStats())) return false;
+      if (!getCurrentStats()
+          .equals(other.getCurrentStats())) return false;
     }
     if (!getUnknownFields().equals(other.getUnknownFields())) return false;
     return true;
@@ -191,145 +158,130 @@ public int hashCode() {
     return hash;
   }
 
-  public static com.google.cloud.contactcenterinsights.v1.CalculateIssueModelStatsResponse
-      parseFrom(java.nio.ByteBuffer data)
-          throws com.google.protobuf.InvalidProtocolBufferException {
+  public static com.google.cloud.contactcenterinsights.v1.CalculateIssueModelStatsResponse parseFrom(
+      java.nio.ByteBuffer data)
+      throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
-  public static com.google.cloud.contactcenterinsights.v1.CalculateIssueModelStatsResponse
-      parseFrom(
-          java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-          throws com.google.protobuf.InvalidProtocolBufferException {
+  public static com.google.cloud.contactcenterinsights.v1.CalculateIssueModelStatsResponse parseFrom(
+      java.nio.ByteBuffer data,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
-  public static com.google.cloud.contactcenterinsights.v1.CalculateIssueModelStatsResponse
-      parseFrom(com.google.protobuf.ByteString data)
-          throws com.google.protobuf.InvalidProtocolBufferException {
+  public static com.google.cloud.contactcenterinsights.v1.CalculateIssueModelStatsResponse parseFrom(
+      com.google.protobuf.ByteString data)
+      throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
-  public static com.google.cloud.contactcenterinsights.v1.CalculateIssueModelStatsResponse
-      parseFrom(
-          com.google.protobuf.ByteString data,
-          com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-          throws com.google.protobuf.InvalidProtocolBufferException {
+  public static com.google.cloud.contactcenterinsights.v1.CalculateIssueModelStatsResponse parseFrom(
+      com.google.protobuf.ByteString data,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
-  public static com.google.cloud.contactcenterinsights.v1.CalculateIssueModelStatsResponse
-      parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException {
+  public static com.google.cloud.contactcenterinsights.v1.CalculateIssueModelStatsResponse parseFrom(byte[] data)
+      throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
-  public static com.google.cloud.contactcenterinsights.v1.CalculateIssueModelStatsResponse
-      parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-          throws com.google.protobuf.InvalidProtocolBufferException {
+  public static com.google.cloud.contactcenterinsights.v1.CalculateIssueModelStatsResponse parseFrom(
+      byte[] data,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
-  public static com.google.cloud.contactcenterinsights.v1.CalculateIssueModelStatsResponse
-      parseFrom(java.io.InputStream input) throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
-  }
-
-  public static com.google.cloud.contactcenterinsights.v1.CalculateIssueModelStatsResponse
-      parseFrom(
-          java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-          throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
-        PARSER, input, extensionRegistry);
-  }
-
-  public static com.google.cloud.contactcenterinsights.v1.CalculateIssueModelStatsResponse
-      parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
-  }
-
-  public static com.google.cloud.contactcenterinsights.v1.CalculateIssueModelStatsResponse
-      parseDelimitedFrom(
-          java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-          throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(
-        PARSER, input, extensionRegistry);
-  }
-
-  public static com.google.cloud.contactcenterinsights.v1.CalculateIssueModelStatsResponse
-      parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
-  }
-
-  public static com.google.cloud.contactcenterinsights.v1.CalculateIssueModelStatsResponse
-      parseFrom(
-          com.google.protobuf.CodedInputStream input,
-          com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-          throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
-        PARSER, input, extensionRegistry);
+  public static com.google.cloud.contactcenterinsights.v1.CalculateIssueModelStatsResponse parseFrom(java.io.InputStream input)
+      throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input);
+  }
+  public static com.google.cloud.contactcenterinsights.v1.CalculateIssueModelStatsResponse parseFrom(
+      java.io.InputStream input,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input, extensionRegistry);
+  }
+  public static com.google.cloud.contactcenterinsights.v1.CalculateIssueModelStatsResponse parseDelimitedFrom(java.io.InputStream input)
+      throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3
+        .parseDelimitedWithIOException(PARSER, input);
+  }
+  public static com.google.cloud.contactcenterinsights.v1.CalculateIssueModelStatsResponse parseDelimitedFrom(
+      java.io.InputStream input,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3
+        .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
+  }
+  public static com.google.cloud.contactcenterinsights.v1.CalculateIssueModelStatsResponse parseFrom(
+      com.google.protobuf.CodedInputStream input)
+      throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input);
+  }
+  public static com.google.cloud.contactcenterinsights.v1.CalculateIssueModelStatsResponse parseFrom(
+      com.google.protobuf.CodedInputStream input,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input, extensionRegistry);
   }
 
   @java.lang.Override
-  public Builder newBuilderForType() {
-    return newBuilder();
-  }
-
+  public Builder newBuilderForType() { return newBuilder(); }
   public static Builder newBuilder() {
     return DEFAULT_INSTANCE.toBuilder();
   }
-
-  public static Builder newBuilder(
-      com.google.cloud.contactcenterinsights.v1.CalculateIssueModelStatsResponse prototype) {
+  public static Builder newBuilder(com.google.cloud.contactcenterinsights.v1.CalculateIssueModelStatsResponse prototype) {
     return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
   }
-
   @java.lang.Override
   public Builder toBuilder() {
-    return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
+    return this == DEFAULT_INSTANCE
+        ? new Builder() : new Builder().mergeFrom(this);
   }
 
   @java.lang.Override
-  protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+  protected Builder newBuilderForType(
+      com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
     Builder builder = new Builder(parent);
     return builder;
   }
   /**
-   *
-   *
    * 
    * Response of querying an issue model's statistics.
    * 
* * Protobuf type {@code google.cloud.contactcenterinsights.v1.CalculateIssueModelStatsResponse} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.contactcenterinsights.v1.CalculateIssueModelStatsResponse) com.google.cloud.contactcenterinsights.v1.CalculateIssueModelStatsResponseOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto - .internal_static_google_cloud_contactcenterinsights_v1_CalculateIssueModelStatsResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto.internal_static_google_cloud_contactcenterinsights_v1_CalculateIssueModelStatsResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto - .internal_static_google_cloud_contactcenterinsights_v1_CalculateIssueModelStatsResponse_fieldAccessorTable + return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto.internal_static_google_cloud_contactcenterinsights_v1_CalculateIssueModelStatsResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.contactcenterinsights.v1.CalculateIssueModelStatsResponse.class, - com.google.cloud.contactcenterinsights.v1.CalculateIssueModelStatsResponse.Builder - .class); + com.google.cloud.contactcenterinsights.v1.CalculateIssueModelStatsResponse.class, com.google.cloud.contactcenterinsights.v1.CalculateIssueModelStatsResponse.Builder.class); } - // Construct using - // com.google.cloud.contactcenterinsights.v1.CalculateIssueModelStatsResponse.newBuilder() - private Builder() {} + // Construct using com.google.cloud.contactcenterinsights.v1.CalculateIssueModelStatsResponse.newBuilder() + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -343,22 +295,19 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto - .internal_static_google_cloud_contactcenterinsights_v1_CalculateIssueModelStatsResponse_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto.internal_static_google_cloud_contactcenterinsights_v1_CalculateIssueModelStatsResponse_descriptor; } @java.lang.Override - public com.google.cloud.contactcenterinsights.v1.CalculateIssueModelStatsResponse - getDefaultInstanceForType() { - return com.google.cloud.contactcenterinsights.v1.CalculateIssueModelStatsResponse - .getDefaultInstance(); + public com.google.cloud.contactcenterinsights.v1.CalculateIssueModelStatsResponse getDefaultInstanceForType() { + return com.google.cloud.contactcenterinsights.v1.CalculateIssueModelStatsResponse.getDefaultInstance(); } @java.lang.Override public com.google.cloud.contactcenterinsights.v1.CalculateIssueModelStatsResponse build() { - com.google.cloud.contactcenterinsights.v1.CalculateIssueModelStatsResponse result = - buildPartial(); + com.google.cloud.contactcenterinsights.v1.CalculateIssueModelStatsResponse result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } @@ -366,23 +315,19 @@ public com.google.cloud.contactcenterinsights.v1.CalculateIssueModelStatsRespons } @java.lang.Override - public com.google.cloud.contactcenterinsights.v1.CalculateIssueModelStatsResponse - buildPartial() { - com.google.cloud.contactcenterinsights.v1.CalculateIssueModelStatsResponse result = - new com.google.cloud.contactcenterinsights.v1.CalculateIssueModelStatsResponse(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + public com.google.cloud.contactcenterinsights.v1.CalculateIssueModelStatsResponse buildPartial() { + com.google.cloud.contactcenterinsights.v1.CalculateIssueModelStatsResponse result = new com.google.cloud.contactcenterinsights.v1.CalculateIssueModelStatsResponse(this); + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } - private void buildPartial0( - com.google.cloud.contactcenterinsights.v1.CalculateIssueModelStatsResponse result) { + private void buildPartial0(com.google.cloud.contactcenterinsights.v1.CalculateIssueModelStatsResponse result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { - result.currentStats_ = - currentStatsBuilder_ == null ? currentStats_ : currentStatsBuilder_.build(); + result.currentStats_ = currentStatsBuilder_ == null + ? currentStats_ + : currentStatsBuilder_.build(); } } @@ -390,52 +335,46 @@ private void buildPartial0( public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { - if (other - instanceof com.google.cloud.contactcenterinsights.v1.CalculateIssueModelStatsResponse) { - return mergeFrom( - (com.google.cloud.contactcenterinsights.v1.CalculateIssueModelStatsResponse) other); + if (other instanceof com.google.cloud.contactcenterinsights.v1.CalculateIssueModelStatsResponse) { + return mergeFrom((com.google.cloud.contactcenterinsights.v1.CalculateIssueModelStatsResponse)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom( - com.google.cloud.contactcenterinsights.v1.CalculateIssueModelStatsResponse other) { - if (other - == com.google.cloud.contactcenterinsights.v1.CalculateIssueModelStatsResponse - .getDefaultInstance()) return this; + public Builder mergeFrom(com.google.cloud.contactcenterinsights.v1.CalculateIssueModelStatsResponse other) { + if (other == com.google.cloud.contactcenterinsights.v1.CalculateIssueModelStatsResponse.getDefaultInstance()) return this; if (other.hasCurrentStats()) { mergeCurrentStats(other.getCurrentStats()); } @@ -465,19 +404,19 @@ public Builder mergeFrom( case 0: done = true; break; - case 34: - { - input.readMessage(getCurrentStatsFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00000001; - break; - } // case 34 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 34: { + input.readMessage( + getCurrentStatsFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00000001; + break; + } // case 34 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -487,54 +426,40 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private com.google.cloud.contactcenterinsights.v1.IssueModelLabelStats currentStats_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.contactcenterinsights.v1.IssueModelLabelStats, - com.google.cloud.contactcenterinsights.v1.IssueModelLabelStats.Builder, - com.google.cloud.contactcenterinsights.v1.IssueModelLabelStatsOrBuilder> - currentStatsBuilder_; + com.google.cloud.contactcenterinsights.v1.IssueModelLabelStats, com.google.cloud.contactcenterinsights.v1.IssueModelLabelStats.Builder, com.google.cloud.contactcenterinsights.v1.IssueModelLabelStatsOrBuilder> currentStatsBuilder_; /** - * - * *
      * The latest label statistics for the queried issue model. Includes results
      * on both training data and data labeled after deployment.
      * 
* * .google.cloud.contactcenterinsights.v1.IssueModelLabelStats current_stats = 4; - * * @return Whether the currentStats field is set. */ public boolean hasCurrentStats() { return ((bitField0_ & 0x00000001) != 0); } /** - * - * *
      * The latest label statistics for the queried issue model. Includes results
      * on both training data and data labeled after deployment.
      * 
* * .google.cloud.contactcenterinsights.v1.IssueModelLabelStats current_stats = 4; - * * @return The currentStats. */ public com.google.cloud.contactcenterinsights.v1.IssueModelLabelStats getCurrentStats() { if (currentStatsBuilder_ == null) { - return currentStats_ == null - ? com.google.cloud.contactcenterinsights.v1.IssueModelLabelStats.getDefaultInstance() - : currentStats_; + return currentStats_ == null ? com.google.cloud.contactcenterinsights.v1.IssueModelLabelStats.getDefaultInstance() : currentStats_; } else { return currentStatsBuilder_.getMessage(); } } /** - * - * *
      * The latest label statistics for the queried issue model. Includes results
      * on both training data and data labeled after deployment.
@@ -542,8 +467,7 @@ public com.google.cloud.contactcenterinsights.v1.IssueModelLabelStats getCurrent
      *
      * .google.cloud.contactcenterinsights.v1.IssueModelLabelStats current_stats = 4;
      */
-    public Builder setCurrentStats(
-        com.google.cloud.contactcenterinsights.v1.IssueModelLabelStats value) {
+    public Builder setCurrentStats(com.google.cloud.contactcenterinsights.v1.IssueModelLabelStats value) {
       if (currentStatsBuilder_ == null) {
         if (value == null) {
           throw new NullPointerException();
@@ -557,8 +481,6 @@ public Builder setCurrentStats(
       return this;
     }
     /**
-     *
-     *
      * 
      * The latest label statistics for the queried issue model. Includes results
      * on both training data and data labeled after deployment.
@@ -578,8 +500,6 @@ public Builder setCurrentStats(
       return this;
     }
     /**
-     *
-     *
      * 
      * The latest label statistics for the queried issue model. Includes results
      * on both training data and data labeled after deployment.
@@ -587,14 +507,11 @@ public Builder setCurrentStats(
      *
      * .google.cloud.contactcenterinsights.v1.IssueModelLabelStats current_stats = 4;
      */
-    public Builder mergeCurrentStats(
-        com.google.cloud.contactcenterinsights.v1.IssueModelLabelStats value) {
+    public Builder mergeCurrentStats(com.google.cloud.contactcenterinsights.v1.IssueModelLabelStats value) {
       if (currentStatsBuilder_ == null) {
-        if (((bitField0_ & 0x00000001) != 0)
-            && currentStats_ != null
-            && currentStats_
-                != com.google.cloud.contactcenterinsights.v1.IssueModelLabelStats
-                    .getDefaultInstance()) {
+        if (((bitField0_ & 0x00000001) != 0) &&
+          currentStats_ != null &&
+          currentStats_ != com.google.cloud.contactcenterinsights.v1.IssueModelLabelStats.getDefaultInstance()) {
           getCurrentStatsBuilder().mergeFrom(value);
         } else {
           currentStats_ = value;
@@ -607,8 +524,6 @@ public Builder mergeCurrentStats(
       return this;
     }
     /**
-     *
-     *
      * 
      * The latest label statistics for the queried issue model. Includes results
      * on both training data and data labeled after deployment.
@@ -627,8 +542,6 @@ public Builder clearCurrentStats() {
       return this;
     }
     /**
-     *
-     *
      * 
      * The latest label statistics for the queried issue model. Includes results
      * on both training data and data labeled after deployment.
@@ -636,15 +549,12 @@ public Builder clearCurrentStats() {
      *
      * .google.cloud.contactcenterinsights.v1.IssueModelLabelStats current_stats = 4;
      */
-    public com.google.cloud.contactcenterinsights.v1.IssueModelLabelStats.Builder
-        getCurrentStatsBuilder() {
+    public com.google.cloud.contactcenterinsights.v1.IssueModelLabelStats.Builder getCurrentStatsBuilder() {
       bitField0_ |= 0x00000001;
       onChanged();
       return getCurrentStatsFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * The latest label statistics for the queried issue model. Includes results
      * on both training data and data labeled after deployment.
@@ -652,19 +562,15 @@ public Builder clearCurrentStats() {
      *
      * .google.cloud.contactcenterinsights.v1.IssueModelLabelStats current_stats = 4;
      */
-    public com.google.cloud.contactcenterinsights.v1.IssueModelLabelStatsOrBuilder
-        getCurrentStatsOrBuilder() {
+    public com.google.cloud.contactcenterinsights.v1.IssueModelLabelStatsOrBuilder getCurrentStatsOrBuilder() {
       if (currentStatsBuilder_ != null) {
         return currentStatsBuilder_.getMessageOrBuilder();
       } else {
-        return currentStats_ == null
-            ? com.google.cloud.contactcenterinsights.v1.IssueModelLabelStats.getDefaultInstance()
-            : currentStats_;
+        return currentStats_ == null ?
+            com.google.cloud.contactcenterinsights.v1.IssueModelLabelStats.getDefaultInstance() : currentStats_;
       }
     }
     /**
-     *
-     *
      * 
      * The latest label statistics for the queried issue model. Includes results
      * on both training data and data labeled after deployment.
@@ -673,24 +579,21 @@ public Builder clearCurrentStats() {
      * .google.cloud.contactcenterinsights.v1.IssueModelLabelStats current_stats = 4;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.cloud.contactcenterinsights.v1.IssueModelLabelStats,
-            com.google.cloud.contactcenterinsights.v1.IssueModelLabelStats.Builder,
-            com.google.cloud.contactcenterinsights.v1.IssueModelLabelStatsOrBuilder>
+        com.google.cloud.contactcenterinsights.v1.IssueModelLabelStats, com.google.cloud.contactcenterinsights.v1.IssueModelLabelStats.Builder, com.google.cloud.contactcenterinsights.v1.IssueModelLabelStatsOrBuilder> 
         getCurrentStatsFieldBuilder() {
       if (currentStatsBuilder_ == null) {
-        currentStatsBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.cloud.contactcenterinsights.v1.IssueModelLabelStats,
-                com.google.cloud.contactcenterinsights.v1.IssueModelLabelStats.Builder,
-                com.google.cloud.contactcenterinsights.v1.IssueModelLabelStatsOrBuilder>(
-                getCurrentStats(), getParentForChildren(), isClean());
+        currentStatsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.cloud.contactcenterinsights.v1.IssueModelLabelStats, com.google.cloud.contactcenterinsights.v1.IssueModelLabelStats.Builder, com.google.cloud.contactcenterinsights.v1.IssueModelLabelStatsOrBuilder>(
+                getCurrentStats(),
+                getParentForChildren(),
+                isClean());
         currentStats_ = null;
       }
       return currentStatsBuilder_;
     }
-
     @java.lang.Override
-    public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) {
+    public final Builder setUnknownFields(
+        final com.google.protobuf.UnknownFieldSet unknownFields) {
       return super.setUnknownFields(unknownFields);
     }
 
@@ -700,44 +603,41 @@ public final Builder mergeUnknownFields(
       return super.mergeUnknownFields(unknownFields);
     }
 
+
     // @@protoc_insertion_point(builder_scope:google.cloud.contactcenterinsights.v1.CalculateIssueModelStatsResponse)
   }
 
   // @@protoc_insertion_point(class_scope:google.cloud.contactcenterinsights.v1.CalculateIssueModelStatsResponse)
-  private static final com.google.cloud.contactcenterinsights.v1.CalculateIssueModelStatsResponse
-      DEFAULT_INSTANCE;
-
+  private static final com.google.cloud.contactcenterinsights.v1.CalculateIssueModelStatsResponse DEFAULT_INSTANCE;
   static {
-    DEFAULT_INSTANCE =
-        new com.google.cloud.contactcenterinsights.v1.CalculateIssueModelStatsResponse();
+    DEFAULT_INSTANCE = new com.google.cloud.contactcenterinsights.v1.CalculateIssueModelStatsResponse();
   }
 
-  public static com.google.cloud.contactcenterinsights.v1.CalculateIssueModelStatsResponse
-      getDefaultInstance() {
+  public static com.google.cloud.contactcenterinsights.v1.CalculateIssueModelStatsResponse getDefaultInstance() {
     return DEFAULT_INSTANCE;
   }
 
-  private static final com.google.protobuf.Parser PARSER =
-      new com.google.protobuf.AbstractParser() {
-        @java.lang.Override
-        public CalculateIssueModelStatsResponse parsePartialFrom(
-            com.google.protobuf.CodedInputStream input,
-            com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-            throws com.google.protobuf.InvalidProtocolBufferException {
-          Builder builder = newBuilder();
-          try {
-            builder.mergeFrom(input, extensionRegistry);
-          } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-            throw e.setUnfinishedMessage(builder.buildPartial());
-          } catch (com.google.protobuf.UninitializedMessageException e) {
-            throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
-          } catch (java.io.IOException e) {
-            throw new com.google.protobuf.InvalidProtocolBufferException(e)
-                .setUnfinishedMessage(builder.buildPartial());
-          }
-          return builder.buildPartial();
-        }
-      };
+  private static final com.google.protobuf.Parser
+      PARSER = new com.google.protobuf.AbstractParser() {
+    @java.lang.Override
+    public CalculateIssueModelStatsResponse parsePartialFrom(
+        com.google.protobuf.CodedInputStream input,
+        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        throws com.google.protobuf.InvalidProtocolBufferException {
+      Builder builder = newBuilder();
+      try {
+        builder.mergeFrom(input, extensionRegistry);
+      } catch (com.google.protobuf.InvalidProtocolBufferException e) {
+        throw e.setUnfinishedMessage(builder.buildPartial());
+      } catch (com.google.protobuf.UninitializedMessageException e) {
+        throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
+      } catch (java.io.IOException e) {
+        throw new com.google.protobuf.InvalidProtocolBufferException(e)
+            .setUnfinishedMessage(builder.buildPartial());
+      }
+      return builder.buildPartial();
+    }
+  };
 
   public static com.google.protobuf.Parser parser() {
     return PARSER;
@@ -749,8 +649,9 @@ public com.google.protobuf.Parser getParserFor
   }
 
   @java.lang.Override
-  public com.google.cloud.contactcenterinsights.v1.CalculateIssueModelStatsResponse
-      getDefaultInstanceForType() {
+  public com.google.cloud.contactcenterinsights.v1.CalculateIssueModelStatsResponse getDefaultInstanceForType() {
     return DEFAULT_INSTANCE;
   }
+
 }
+
diff --git a/java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/CalculateIssueModelStatsResponseOrBuilder.java b/owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/CalculateIssueModelStatsResponseOrBuilder.java
similarity index 65%
rename from java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/CalculateIssueModelStatsResponseOrBuilder.java
rename to owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/CalculateIssueModelStatsResponseOrBuilder.java
index 57c73991dbc2..2eeb3b229cb9 100644
--- a/java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/CalculateIssueModelStatsResponseOrBuilder.java
+++ b/owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/CalculateIssueModelStatsResponseOrBuilder.java
@@ -1,57 +1,33 @@
-/*
- * 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.
- */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/cloud/contactcenterinsights/v1/contact_center_insights.proto
 
 package com.google.cloud.contactcenterinsights.v1;
 
-public interface CalculateIssueModelStatsResponseOrBuilder
-    extends
+public interface CalculateIssueModelStatsResponseOrBuilder extends
     // @@protoc_insertion_point(interface_extends:google.cloud.contactcenterinsights.v1.CalculateIssueModelStatsResponse)
     com.google.protobuf.MessageOrBuilder {
 
   /**
-   *
-   *
    * 
    * The latest label statistics for the queried issue model. Includes results
    * on both training data and data labeled after deployment.
    * 
* * .google.cloud.contactcenterinsights.v1.IssueModelLabelStats current_stats = 4; - * * @return Whether the currentStats field is set. */ boolean hasCurrentStats(); /** - * - * *
    * The latest label statistics for the queried issue model. Includes results
    * on both training data and data labeled after deployment.
    * 
* * .google.cloud.contactcenterinsights.v1.IssueModelLabelStats current_stats = 4; - * * @return The currentStats. */ com.google.cloud.contactcenterinsights.v1.IssueModelLabelStats getCurrentStats(); /** - * - * *
    * The latest label statistics for the queried issue model. Includes results
    * on both training data and data labeled after deployment.
@@ -59,6 +35,5 @@ public interface CalculateIssueModelStatsResponseOrBuilder
    *
    * .google.cloud.contactcenterinsights.v1.IssueModelLabelStats current_stats = 4;
    */
-  com.google.cloud.contactcenterinsights.v1.IssueModelLabelStatsOrBuilder
-      getCurrentStatsOrBuilder();
+  com.google.cloud.contactcenterinsights.v1.IssueModelLabelStatsOrBuilder getCurrentStatsOrBuilder();
 }
diff --git a/java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/CalculateStatsRequest.java b/owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/CalculateStatsRequest.java
similarity index 63%
rename from java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/CalculateStatsRequest.java
rename to owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/CalculateStatsRequest.java
index 3e165f4b9ca5..2775219bc15a 100644
--- a/java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/CalculateStatsRequest.java
+++ b/owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/CalculateStatsRequest.java
@@ -1,42 +1,24 @@
-/*
- * 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.
- */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/cloud/contactcenterinsights/v1/contact_center_insights.proto
 
 package com.google.cloud.contactcenterinsights.v1;
 
 /**
- *
- *
  * 
  * The request for calculating conversation statistics.
  * 
* * Protobuf type {@code google.cloud.contactcenterinsights.v1.CalculateStatsRequest} */ -public final class CalculateStatsRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class CalculateStatsRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.contactcenterinsights.v1.CalculateStatsRequest) CalculateStatsRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use CalculateStatsRequest.newBuilder() to construct. private CalculateStatsRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private CalculateStatsRequest() { location_ = ""; filter_ = ""; @@ -44,45 +26,38 @@ private CalculateStatsRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new CalculateStatsRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto - .internal_static_google_cloud_contactcenterinsights_v1_CalculateStatsRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto.internal_static_google_cloud_contactcenterinsights_v1_CalculateStatsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto - .internal_static_google_cloud_contactcenterinsights_v1_CalculateStatsRequest_fieldAccessorTable + return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto.internal_static_google_cloud_contactcenterinsights_v1_CalculateStatsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.contactcenterinsights.v1.CalculateStatsRequest.class, - com.google.cloud.contactcenterinsights.v1.CalculateStatsRequest.Builder.class); + com.google.cloud.contactcenterinsights.v1.CalculateStatsRequest.class, com.google.cloud.contactcenterinsights.v1.CalculateStatsRequest.Builder.class); } public static final int LOCATION_FIELD_NUMBER = 1; - @SuppressWarnings("serial") private volatile java.lang.Object location_ = ""; /** - * - * *
    * Required. The location of the conversations.
    * 
* - * - * string location = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string location = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The location. */ @java.lang.Override @@ -91,31 +66,29 @@ public java.lang.String getLocation() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); location_ = s; return s; } } /** - * - * *
    * Required. The location of the conversations.
    * 
* - * - * string location = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string location = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for location. */ @java.lang.Override - public com.google.protobuf.ByteString getLocationBytes() { + public com.google.protobuf.ByteString + getLocationBytes() { java.lang.Object ref = location_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); location_ = b; return b; } else { @@ -124,19 +97,15 @@ public com.google.protobuf.ByteString getLocationBytes() { } public static final int FILTER_FIELD_NUMBER = 2; - @SuppressWarnings("serial") private volatile java.lang.Object filter_ = ""; /** - * - * *
    * A filter to reduce results to a specific subset. This field is useful for
    * getting statistics about conversations with specific properties.
    * 
* * string filter = 2; - * * @return The filter. */ @java.lang.Override @@ -145,30 +114,30 @@ public java.lang.String getFilter() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); filter_ = s; return s; } } /** - * - * *
    * A filter to reduce results to a specific subset. This field is useful for
    * getting statistics about conversations with specific properties.
    * 
* * string filter = 2; - * * @return The bytes for filter. */ @java.lang.Override - public com.google.protobuf.ByteString getFilterBytes() { + public com.google.protobuf.ByteString + getFilterBytes() { java.lang.Object ref = filter_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); filter_ = b; return b; } else { @@ -177,7 +146,6 @@ public com.google.protobuf.ByteString getFilterBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -189,7 +157,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(location_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, location_); } @@ -219,16 +188,17 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.contactcenterinsights.v1.CalculateStatsRequest)) { return super.equals(obj); } - com.google.cloud.contactcenterinsights.v1.CalculateStatsRequest other = - (com.google.cloud.contactcenterinsights.v1.CalculateStatsRequest) obj; + com.google.cloud.contactcenterinsights.v1.CalculateStatsRequest other = (com.google.cloud.contactcenterinsights.v1.CalculateStatsRequest) obj; - if (!getLocation().equals(other.getLocation())) return false; - if (!getFilter().equals(other.getFilter())) return false; + if (!getLocation() + .equals(other.getLocation())) return false; + if (!getFilter() + .equals(other.getFilter())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -250,136 +220,129 @@ public int hashCode() { } public static com.google.cloud.contactcenterinsights.v1.CalculateStatsRequest parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.contactcenterinsights.v1.CalculateStatsRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.contactcenterinsights.v1.CalculateStatsRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.contactcenterinsights.v1.CalculateStatsRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.contactcenterinsights.v1.CalculateStatsRequest parseFrom( - byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.contactcenterinsights.v1.CalculateStatsRequest parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.contactcenterinsights.v1.CalculateStatsRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.contactcenterinsights.v1.CalculateStatsRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.contactcenterinsights.v1.CalculateStatsRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.contactcenterinsights.v1.CalculateStatsRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.contactcenterinsights.v1.CalculateStatsRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.contactcenterinsights.v1.CalculateStatsRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.contactcenterinsights.v1.CalculateStatsRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.contactcenterinsights.v1.CalculateStatsRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.contactcenterinsights.v1.CalculateStatsRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.contactcenterinsights.v1.CalculateStatsRequest prototype) { + public static Builder newBuilder(com.google.cloud.contactcenterinsights.v1.CalculateStatsRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * The request for calculating conversation statistics.
    * 
* * Protobuf type {@code google.cloud.contactcenterinsights.v1.CalculateStatsRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.contactcenterinsights.v1.CalculateStatsRequest) com.google.cloud.contactcenterinsights.v1.CalculateStatsRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto - .internal_static_google_cloud_contactcenterinsights_v1_CalculateStatsRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto.internal_static_google_cloud_contactcenterinsights_v1_CalculateStatsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto - .internal_static_google_cloud_contactcenterinsights_v1_CalculateStatsRequest_fieldAccessorTable + return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto.internal_static_google_cloud_contactcenterinsights_v1_CalculateStatsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.contactcenterinsights.v1.CalculateStatsRequest.class, - com.google.cloud.contactcenterinsights.v1.CalculateStatsRequest.Builder.class); + com.google.cloud.contactcenterinsights.v1.CalculateStatsRequest.class, com.google.cloud.contactcenterinsights.v1.CalculateStatsRequest.Builder.class); } // Construct using com.google.cloud.contactcenterinsights.v1.CalculateStatsRequest.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -390,14 +353,13 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto - .internal_static_google_cloud_contactcenterinsights_v1_CalculateStatsRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto.internal_static_google_cloud_contactcenterinsights_v1_CalculateStatsRequest_descriptor; } @java.lang.Override - public com.google.cloud.contactcenterinsights.v1.CalculateStatsRequest - getDefaultInstanceForType() { + public com.google.cloud.contactcenterinsights.v1.CalculateStatsRequest getDefaultInstanceForType() { return com.google.cloud.contactcenterinsights.v1.CalculateStatsRequest.getDefaultInstance(); } @@ -412,17 +374,13 @@ public com.google.cloud.contactcenterinsights.v1.CalculateStatsRequest build() { @java.lang.Override public com.google.cloud.contactcenterinsights.v1.CalculateStatsRequest buildPartial() { - com.google.cloud.contactcenterinsights.v1.CalculateStatsRequest result = - new com.google.cloud.contactcenterinsights.v1.CalculateStatsRequest(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + com.google.cloud.contactcenterinsights.v1.CalculateStatsRequest result = new com.google.cloud.contactcenterinsights.v1.CalculateStatsRequest(this); + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } - private void buildPartial0( - com.google.cloud.contactcenterinsights.v1.CalculateStatsRequest result) { + private void buildPartial0(com.google.cloud.contactcenterinsights.v1.CalculateStatsRequest result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { result.location_ = location_; @@ -436,50 +394,46 @@ private void buildPartial0( public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.contactcenterinsights.v1.CalculateStatsRequest) { - return mergeFrom((com.google.cloud.contactcenterinsights.v1.CalculateStatsRequest) other); + return mergeFrom((com.google.cloud.contactcenterinsights.v1.CalculateStatsRequest)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom( - com.google.cloud.contactcenterinsights.v1.CalculateStatsRequest other) { - if (other - == com.google.cloud.contactcenterinsights.v1.CalculateStatsRequest.getDefaultInstance()) - return this; + public Builder mergeFrom(com.google.cloud.contactcenterinsights.v1.CalculateStatsRequest other) { + if (other == com.google.cloud.contactcenterinsights.v1.CalculateStatsRequest.getDefaultInstance()) return this; if (!other.getLocation().isEmpty()) { location_ = other.location_; bitField0_ |= 0x00000001; @@ -516,25 +470,22 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - location_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: - { - filter_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000002; - break; - } // case 18 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + location_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: { + filter_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + break; + } // case 18 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -544,27 +495,22 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private java.lang.Object location_ = ""; /** - * - * *
      * Required. The location of the conversations.
      * 
* - * - * string location = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string location = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The location. */ public java.lang.String getLocation() { java.lang.Object ref = location_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); location_ = s; return s; @@ -573,23 +519,20 @@ public java.lang.String getLocation() { } } /** - * - * *
      * Required. The location of the conversations.
      * 
* - * - * string location = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string location = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for location. */ - public com.google.protobuf.ByteString getLocationBytes() { + public com.google.protobuf.ByteString + getLocationBytes() { java.lang.Object ref = location_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); location_ = b; return b; } else { @@ -597,39 +540,28 @@ public com.google.protobuf.ByteString getLocationBytes() { } } /** - * - * *
      * Required. The location of the conversations.
      * 
* - * - * string location = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string location = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The location to set. * @return This builder for chaining. */ - public Builder setLocation(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setLocation( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } location_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
      * Required. The location of the conversations.
      * 
* - * - * string location = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string location = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearLocation() { @@ -639,23 +571,17 @@ public Builder clearLocation() { return this; } /** - * - * *
      * Required. The location of the conversations.
      * 
* - * - * string location = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string location = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The bytes for location to set. * @return This builder for chaining. */ - public Builder setLocationBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setLocationBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); location_ = value; bitField0_ |= 0x00000001; @@ -665,21 +591,19 @@ public Builder setLocationBytes(com.google.protobuf.ByteString value) { private java.lang.Object filter_ = ""; /** - * - * *
      * A filter to reduce results to a specific subset. This field is useful for
      * getting statistics about conversations with specific properties.
      * 
* * string filter = 2; - * * @return The filter. */ public java.lang.String getFilter() { java.lang.Object ref = filter_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); filter_ = s; return s; @@ -688,22 +612,21 @@ public java.lang.String getFilter() { } } /** - * - * *
      * A filter to reduce results to a specific subset. This field is useful for
      * getting statistics about conversations with specific properties.
      * 
* * string filter = 2; - * * @return The bytes for filter. */ - public com.google.protobuf.ByteString getFilterBytes() { + public com.google.protobuf.ByteString + getFilterBytes() { java.lang.Object ref = filter_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); filter_ = b; return b; } else { @@ -711,37 +634,30 @@ public com.google.protobuf.ByteString getFilterBytes() { } } /** - * - * *
      * A filter to reduce results to a specific subset. This field is useful for
      * getting statistics about conversations with specific properties.
      * 
* * string filter = 2; - * * @param value The filter to set. * @return This builder for chaining. */ - public Builder setFilter(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setFilter( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } filter_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** - * - * *
      * A filter to reduce results to a specific subset. This field is useful for
      * getting statistics about conversations with specific properties.
      * 
* * string filter = 2; - * * @return This builder for chaining. */ public Builder clearFilter() { @@ -751,31 +667,27 @@ public Builder clearFilter() { return this; } /** - * - * *
      * A filter to reduce results to a specific subset. This field is useful for
      * getting statistics about conversations with specific properties.
      * 
* * string filter = 2; - * * @param value The bytes for filter to set. * @return This builder for chaining. */ - public Builder setFilterBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setFilterBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); filter_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -785,43 +697,41 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.contactcenterinsights.v1.CalculateStatsRequest) } // @@protoc_insertion_point(class_scope:google.cloud.contactcenterinsights.v1.CalculateStatsRequest) - private static final com.google.cloud.contactcenterinsights.v1.CalculateStatsRequest - DEFAULT_INSTANCE; - + private static final com.google.cloud.contactcenterinsights.v1.CalculateStatsRequest DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.cloud.contactcenterinsights.v1.CalculateStatsRequest(); } - public static com.google.cloud.contactcenterinsights.v1.CalculateStatsRequest - getDefaultInstance() { + public static com.google.cloud.contactcenterinsights.v1.CalculateStatsRequest getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public CalculateStatsRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public CalculateStatsRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -833,8 +743,9 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.cloud.contactcenterinsights.v1.CalculateStatsRequest - getDefaultInstanceForType() { + public com.google.cloud.contactcenterinsights.v1.CalculateStatsRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/CalculateStatsRequestOrBuilder.java b/owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/CalculateStatsRequestOrBuilder.java similarity index 51% rename from java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/CalculateStatsRequestOrBuilder.java rename to owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/CalculateStatsRequestOrBuilder.java index 40e54fd56670..4eb8ec0dc83c 100644 --- a/java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/CalculateStatsRequestOrBuilder.java +++ b/owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/CalculateStatsRequestOrBuilder.java @@ -1,81 +1,51 @@ -/* - * 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. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/contactcenterinsights/v1/contact_center_insights.proto package com.google.cloud.contactcenterinsights.v1; -public interface CalculateStatsRequestOrBuilder - extends +public interface CalculateStatsRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.contactcenterinsights.v1.CalculateStatsRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Required. The location of the conversations.
    * 
* - * - * string location = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string location = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The location. */ java.lang.String getLocation(); /** - * - * *
    * Required. The location of the conversations.
    * 
* - * - * string location = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string location = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for location. */ - com.google.protobuf.ByteString getLocationBytes(); + com.google.protobuf.ByteString + getLocationBytes(); /** - * - * *
    * A filter to reduce results to a specific subset. This field is useful for
    * getting statistics about conversations with specific properties.
    * 
* * string filter = 2; - * * @return The filter. */ java.lang.String getFilter(); /** - * - * *
    * A filter to reduce results to a specific subset. This field is useful for
    * getting statistics about conversations with specific properties.
    * 
* * string filter = 2; - * * @return The bytes for filter. */ - com.google.protobuf.ByteString getFilterBytes(); + com.google.protobuf.ByteString + getFilterBytes(); } diff --git a/java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/CalculateStatsResponse.java b/owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/CalculateStatsResponse.java similarity index 61% rename from java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/CalculateStatsResponse.java rename to owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/CalculateStatsResponse.java index 51ae3a5a6ea9..3d127e36b08d 100644 --- a/java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/CalculateStatsResponse.java +++ b/owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/CalculateStatsResponse.java @@ -1,63 +1,48 @@ -/* - * 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. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/contactcenterinsights/v1/contact_center_insights.proto package com.google.cloud.contactcenterinsights.v1; /** - * - * *
  * The response for calculating conversation statistics.
  * 
* * Protobuf type {@code google.cloud.contactcenterinsights.v1.CalculateStatsResponse} */ -public final class CalculateStatsResponse extends com.google.protobuf.GeneratedMessageV3 - implements +public final class CalculateStatsResponse extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.contactcenterinsights.v1.CalculateStatsResponse) CalculateStatsResponseOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use CalculateStatsResponse.newBuilder() to construct. private CalculateStatsResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - - private CalculateStatsResponse() {} + private CalculateStatsResponse() { + } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new CalculateStatsResponse(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto - .internal_static_google_cloud_contactcenterinsights_v1_CalculateStatsResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto.internal_static_google_cloud_contactcenterinsights_v1_CalculateStatsResponse_descriptor; } @SuppressWarnings({"rawtypes"}) @java.lang.Override - protected com.google.protobuf.MapField internalGetMapField(int number) { + protected com.google.protobuf.MapField internalGetMapField( + int number) { switch (number) { case 4: return internalGetSmartHighlighterMatches(); @@ -68,52 +53,41 @@ protected com.google.protobuf.MapField internalGetMapField(int number) { case 8: return internalGetIssueMatchesStats(); default: - throw new RuntimeException("Invalid map field number: " + number); + throw new RuntimeException( + "Invalid map field number: " + number); } } - @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto - .internal_static_google_cloud_contactcenterinsights_v1_CalculateStatsResponse_fieldAccessorTable + return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto.internal_static_google_cloud_contactcenterinsights_v1_CalculateStatsResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.contactcenterinsights.v1.CalculateStatsResponse.class, - com.google.cloud.contactcenterinsights.v1.CalculateStatsResponse.Builder.class); + com.google.cloud.contactcenterinsights.v1.CalculateStatsResponse.class, com.google.cloud.contactcenterinsights.v1.CalculateStatsResponse.Builder.class); } - public interface TimeSeriesOrBuilder - extends + public interface TimeSeriesOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.contactcenterinsights.v1.CalculateStatsResponse.TimeSeries) com.google.protobuf.MessageOrBuilder { /** - * - * *
      * The duration of each interval.
      * 
* * .google.protobuf.Duration interval_duration = 1; - * * @return Whether the intervalDuration field is set. */ boolean hasIntervalDuration(); /** - * - * *
      * The duration of each interval.
      * 
* * .google.protobuf.Duration interval_duration = 1; - * * @return The intervalDuration. */ com.google.protobuf.Duration getIntervalDuration(); /** - * - * *
      * The duration of each interval.
      * 
@@ -123,166 +97,127 @@ public interface TimeSeriesOrBuilder com.google.protobuf.DurationOrBuilder getIntervalDurationOrBuilder(); /** - * - * *
      * An ordered list of intervals from earliest to latest, where each interval
      * represents the number of conversations that transpired during the time
      * window.
      * 
* - * - * repeated .google.cloud.contactcenterinsights.v1.CalculateStatsResponse.TimeSeries.Interval points = 2; - * + * repeated .google.cloud.contactcenterinsights.v1.CalculateStatsResponse.TimeSeries.Interval points = 2; */ - java.util.List< - com.google.cloud.contactcenterinsights.v1.CalculateStatsResponse.TimeSeries.Interval> + java.util.List getPointsList(); /** - * - * *
      * An ordered list of intervals from earliest to latest, where each interval
      * represents the number of conversations that transpired during the time
      * window.
      * 
* - * - * repeated .google.cloud.contactcenterinsights.v1.CalculateStatsResponse.TimeSeries.Interval points = 2; - * + * repeated .google.cloud.contactcenterinsights.v1.CalculateStatsResponse.TimeSeries.Interval points = 2; */ - com.google.cloud.contactcenterinsights.v1.CalculateStatsResponse.TimeSeries.Interval getPoints( - int index); + com.google.cloud.contactcenterinsights.v1.CalculateStatsResponse.TimeSeries.Interval getPoints(int index); /** - * - * *
      * An ordered list of intervals from earliest to latest, where each interval
      * represents the number of conversations that transpired during the time
      * window.
      * 
* - * - * repeated .google.cloud.contactcenterinsights.v1.CalculateStatsResponse.TimeSeries.Interval points = 2; - * + * repeated .google.cloud.contactcenterinsights.v1.CalculateStatsResponse.TimeSeries.Interval points = 2; */ int getPointsCount(); /** - * - * *
      * An ordered list of intervals from earliest to latest, where each interval
      * represents the number of conversations that transpired during the time
      * window.
      * 
* - * - * repeated .google.cloud.contactcenterinsights.v1.CalculateStatsResponse.TimeSeries.Interval points = 2; - * + * repeated .google.cloud.contactcenterinsights.v1.CalculateStatsResponse.TimeSeries.Interval points = 2; */ - java.util.List< - ? extends - com.google.cloud.contactcenterinsights.v1.CalculateStatsResponse.TimeSeries - .IntervalOrBuilder> + java.util.List getPointsOrBuilderList(); /** - * - * *
      * An ordered list of intervals from earliest to latest, where each interval
      * represents the number of conversations that transpired during the time
      * window.
      * 
* - * - * repeated .google.cloud.contactcenterinsights.v1.CalculateStatsResponse.TimeSeries.Interval points = 2; - * + * repeated .google.cloud.contactcenterinsights.v1.CalculateStatsResponse.TimeSeries.Interval points = 2; */ - com.google.cloud.contactcenterinsights.v1.CalculateStatsResponse.TimeSeries.IntervalOrBuilder - getPointsOrBuilder(int index); + com.google.cloud.contactcenterinsights.v1.CalculateStatsResponse.TimeSeries.IntervalOrBuilder getPointsOrBuilder( + int index); } /** - * - * *
    * A time series representing conversations over time.
    * 
* * Protobuf type {@code google.cloud.contactcenterinsights.v1.CalculateStatsResponse.TimeSeries} */ - public static final class TimeSeries extends com.google.protobuf.GeneratedMessageV3 - implements + public static final class TimeSeries extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.contactcenterinsights.v1.CalculateStatsResponse.TimeSeries) TimeSeriesOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use TimeSeries.newBuilder() to construct. private TimeSeries(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private TimeSeries() { points_ = java.util.Collections.emptyList(); } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new TimeSeries(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto - .internal_static_google_cloud_contactcenterinsights_v1_CalculateStatsResponse_TimeSeries_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto.internal_static_google_cloud_contactcenterinsights_v1_CalculateStatsResponse_TimeSeries_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto - .internal_static_google_cloud_contactcenterinsights_v1_CalculateStatsResponse_TimeSeries_fieldAccessorTable + return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto.internal_static_google_cloud_contactcenterinsights_v1_CalculateStatsResponse_TimeSeries_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.contactcenterinsights.v1.CalculateStatsResponse.TimeSeries.class, - com.google.cloud.contactcenterinsights.v1.CalculateStatsResponse.TimeSeries.Builder - .class); + com.google.cloud.contactcenterinsights.v1.CalculateStatsResponse.TimeSeries.class, com.google.cloud.contactcenterinsights.v1.CalculateStatsResponse.TimeSeries.Builder.class); } - public interface IntervalOrBuilder - extends + public interface IntervalOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.contactcenterinsights.v1.CalculateStatsResponse.TimeSeries.Interval) com.google.protobuf.MessageOrBuilder { /** - * - * *
        * The start time of this interval.
        * 
* * .google.protobuf.Timestamp start_time = 1; - * * @return Whether the startTime field is set. */ boolean hasStartTime(); /** - * - * *
        * The start time of this interval.
        * 
* * .google.protobuf.Timestamp start_time = 1; - * * @return The startTime. */ com.google.protobuf.Timestamp getStartTime(); /** - * - * *
        * The start time of this interval.
        * 
@@ -292,79 +227,67 @@ public interface IntervalOrBuilder com.google.protobuf.TimestampOrBuilder getStartTimeOrBuilder(); /** - * - * *
        * The number of conversations created in this interval.
        * 
* * int32 conversation_count = 2; - * * @return The conversationCount. */ int getConversationCount(); } /** - * - * *
      * A single interval in a time series.
      * 
* - * Protobuf type {@code - * google.cloud.contactcenterinsights.v1.CalculateStatsResponse.TimeSeries.Interval} + * Protobuf type {@code google.cloud.contactcenterinsights.v1.CalculateStatsResponse.TimeSeries.Interval} */ - public static final class Interval extends com.google.protobuf.GeneratedMessageV3 - implements + public static final class Interval extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.contactcenterinsights.v1.CalculateStatsResponse.TimeSeries.Interval) IntervalOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use Interval.newBuilder() to construct. private Interval(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - - private Interval() {} + private Interval() { + } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new Interval(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto - .internal_static_google_cloud_contactcenterinsights_v1_CalculateStatsResponse_TimeSeries_Interval_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto.internal_static_google_cloud_contactcenterinsights_v1_CalculateStatsResponse_TimeSeries_Interval_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto - .internal_static_google_cloud_contactcenterinsights_v1_CalculateStatsResponse_TimeSeries_Interval_fieldAccessorTable + return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto.internal_static_google_cloud_contactcenterinsights_v1_CalculateStatsResponse_TimeSeries_Interval_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.contactcenterinsights.v1.CalculateStatsResponse.TimeSeries.Interval - .class, - com.google.cloud.contactcenterinsights.v1.CalculateStatsResponse.TimeSeries.Interval - .Builder.class); + com.google.cloud.contactcenterinsights.v1.CalculateStatsResponse.TimeSeries.Interval.class, com.google.cloud.contactcenterinsights.v1.CalculateStatsResponse.TimeSeries.Interval.Builder.class); } public static final int START_TIME_FIELD_NUMBER = 1; private com.google.protobuf.Timestamp startTime_; /** - * - * *
        * The start time of this interval.
        * 
* * .google.protobuf.Timestamp start_time = 1; - * * @return Whether the startTime field is set. */ @java.lang.Override @@ -372,14 +295,11 @@ public boolean hasStartTime() { return startTime_ != null; } /** - * - * *
        * The start time of this interval.
        * 
* * .google.protobuf.Timestamp start_time = 1; - * * @return The startTime. */ @java.lang.Override @@ -387,8 +307,6 @@ public com.google.protobuf.Timestamp getStartTime() { return startTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : startTime_; } /** - * - * *
        * The start time of this interval.
        * 
@@ -403,14 +321,11 @@ public com.google.protobuf.TimestampOrBuilder getStartTimeOrBuilder() { public static final int CONVERSATION_COUNT_FIELD_NUMBER = 2; private int conversationCount_ = 0; /** - * - * *
        * The number of conversations created in this interval.
        * 
* * int32 conversation_count = 2; - * * @return The conversationCount. */ @java.lang.Override @@ -419,7 +334,6 @@ public int getConversationCount() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -431,7 +345,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (startTime_ != null) { output.writeMessage(1, getStartTime()); } @@ -448,10 +363,12 @@ public int getSerializedSize() { size = 0; if (startTime_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getStartTime()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, getStartTime()); } if (conversationCount_ != 0) { - size += com.google.protobuf.CodedOutputStream.computeInt32Size(2, conversationCount_); + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(2, conversationCount_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -461,22 +378,20 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } - if (!(obj - instanceof - com.google.cloud.contactcenterinsights.v1.CalculateStatsResponse.TimeSeries.Interval)) { + if (!(obj instanceof com.google.cloud.contactcenterinsights.v1.CalculateStatsResponse.TimeSeries.Interval)) { return super.equals(obj); } - com.google.cloud.contactcenterinsights.v1.CalculateStatsResponse.TimeSeries.Interval other = - (com.google.cloud.contactcenterinsights.v1.CalculateStatsResponse.TimeSeries.Interval) - obj; + com.google.cloud.contactcenterinsights.v1.CalculateStatsResponse.TimeSeries.Interval other = (com.google.cloud.contactcenterinsights.v1.CalculateStatsResponse.TimeSeries.Interval) obj; if (hasStartTime() != other.hasStartTime()) return false; if (hasStartTime()) { - if (!getStartTime().equals(other.getStartTime())) return false; + if (!getStartTime() + .equals(other.getStartTime())) return false; } - if (getConversationCount() != other.getConversationCount()) return false; + if (getConversationCount() + != other.getConversationCount()) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -499,116 +414,88 @@ public int hashCode() { return hash; } - public static com.google.cloud.contactcenterinsights.v1.CalculateStatsResponse.TimeSeries - .Interval - parseFrom(java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.contactcenterinsights.v1.CalculateStatsResponse.TimeSeries.Interval parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - - public static com.google.cloud.contactcenterinsights.v1.CalculateStatsResponse.TimeSeries - .Interval - parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.contactcenterinsights.v1.CalculateStatsResponse.TimeSeries.Interval parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.contactcenterinsights.v1.CalculateStatsResponse.TimeSeries - .Interval - parseFrom(com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.contactcenterinsights.v1.CalculateStatsResponse.TimeSeries.Interval parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - - public static com.google.cloud.contactcenterinsights.v1.CalculateStatsResponse.TimeSeries - .Interval - parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.contactcenterinsights.v1.CalculateStatsResponse.TimeSeries.Interval parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.contactcenterinsights.v1.CalculateStatsResponse.TimeSeries - .Interval - parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.contactcenterinsights.v1.CalculateStatsResponse.TimeSeries.Interval parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - - public static com.google.cloud.contactcenterinsights.v1.CalculateStatsResponse.TimeSeries - .Interval - parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.contactcenterinsights.v1.CalculateStatsResponse.TimeSeries.Interval parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.contactcenterinsights.v1.CalculateStatsResponse.TimeSeries - .Interval - parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.contactcenterinsights.v1.CalculateStatsResponse.TimeSeries.Interval parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - - public static com.google.cloud.contactcenterinsights.v1.CalculateStatsResponse.TimeSeries - .Interval - parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + public static com.google.cloud.contactcenterinsights.v1.CalculateStatsResponse.TimeSeries.Interval parseFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.contactcenterinsights.v1.CalculateStatsResponse.TimeSeries - .Interval - parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.contactcenterinsights.v1.CalculateStatsResponse.TimeSeries.Interval parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - - public static com.google.cloud.contactcenterinsights.v1.CalculateStatsResponse.TimeSeries - .Interval - parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + public static com.google.cloud.contactcenterinsights.v1.CalculateStatsResponse.TimeSeries.Interval parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.contactcenterinsights.v1.CalculateStatsResponse.TimeSeries - .Interval - parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.contactcenterinsights.v1.CalculateStatsResponse.TimeSeries.Interval parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - - public static com.google.cloud.contactcenterinsights.v1.CalculateStatsResponse.TimeSeries - .Interval - parseFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + public static com.google.cloud.contactcenterinsights.v1.CalculateStatsResponse.TimeSeries.Interval parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.contactcenterinsights.v1.CalculateStatsResponse.TimeSeries.Interval - prototype) { + public static Builder newBuilder(com.google.cloud.contactcenterinsights.v1.CalculateStatsResponse.TimeSeries.Interval prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -618,46 +505,39 @@ protected Builder newBuilderForType( return builder; } /** - * - * *
        * A single interval in a time series.
        * 
* - * Protobuf type {@code - * google.cloud.contactcenterinsights.v1.CalculateStatsResponse.TimeSeries.Interval} + * Protobuf type {@code google.cloud.contactcenterinsights.v1.CalculateStatsResponse.TimeSeries.Interval} */ - public static final class Builder - extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.contactcenterinsights.v1.CalculateStatsResponse.TimeSeries.Interval) - com.google.cloud.contactcenterinsights.v1.CalculateStatsResponse.TimeSeries - .IntervalOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto - .internal_static_google_cloud_contactcenterinsights_v1_CalculateStatsResponse_TimeSeries_Interval_descriptor; + com.google.cloud.contactcenterinsights.v1.CalculateStatsResponse.TimeSeries.IntervalOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto.internal_static_google_cloud_contactcenterinsights_v1_CalculateStatsResponse_TimeSeries_Interval_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto - .internal_static_google_cloud_contactcenterinsights_v1_CalculateStatsResponse_TimeSeries_Interval_fieldAccessorTable + return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto.internal_static_google_cloud_contactcenterinsights_v1_CalculateStatsResponse_TimeSeries_Interval_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.contactcenterinsights.v1.CalculateStatsResponse.TimeSeries - .Interval.class, - com.google.cloud.contactcenterinsights.v1.CalculateStatsResponse.TimeSeries - .Interval.Builder.class); + com.google.cloud.contactcenterinsights.v1.CalculateStatsResponse.TimeSeries.Interval.class, com.google.cloud.contactcenterinsights.v1.CalculateStatsResponse.TimeSeries.Interval.Builder.class); } - // Construct using - // com.google.cloud.contactcenterinsights.v1.CalculateStatsResponse.TimeSeries.Interval.newBuilder() - private Builder() {} + // Construct using com.google.cloud.contactcenterinsights.v1.CalculateStatsResponse.TimeSeries.Interval.newBuilder() + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -672,23 +552,19 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto - .internal_static_google_cloud_contactcenterinsights_v1_CalculateStatsResponse_TimeSeries_Interval_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto.internal_static_google_cloud_contactcenterinsights_v1_CalculateStatsResponse_TimeSeries_Interval_descriptor; } @java.lang.Override - public com.google.cloud.contactcenterinsights.v1.CalculateStatsResponse.TimeSeries.Interval - getDefaultInstanceForType() { - return com.google.cloud.contactcenterinsights.v1.CalculateStatsResponse.TimeSeries - .Interval.getDefaultInstance(); + public com.google.cloud.contactcenterinsights.v1.CalculateStatsResponse.TimeSeries.Interval getDefaultInstanceForType() { + return com.google.cloud.contactcenterinsights.v1.CalculateStatsResponse.TimeSeries.Interval.getDefaultInstance(); } @java.lang.Override - public com.google.cloud.contactcenterinsights.v1.CalculateStatsResponse.TimeSeries.Interval - build() { - com.google.cloud.contactcenterinsights.v1.CalculateStatsResponse.TimeSeries.Interval - result = buildPartial(); + public com.google.cloud.contactcenterinsights.v1.CalculateStatsResponse.TimeSeries.Interval build() { + com.google.cloud.contactcenterinsights.v1.CalculateStatsResponse.TimeSeries.Interval result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } @@ -696,25 +572,19 @@ public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { } @java.lang.Override - public com.google.cloud.contactcenterinsights.v1.CalculateStatsResponse.TimeSeries.Interval - buildPartial() { - com.google.cloud.contactcenterinsights.v1.CalculateStatsResponse.TimeSeries.Interval - result = - new com.google.cloud.contactcenterinsights.v1.CalculateStatsResponse.TimeSeries - .Interval(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + public com.google.cloud.contactcenterinsights.v1.CalculateStatsResponse.TimeSeries.Interval buildPartial() { + com.google.cloud.contactcenterinsights.v1.CalculateStatsResponse.TimeSeries.Interval result = new com.google.cloud.contactcenterinsights.v1.CalculateStatsResponse.TimeSeries.Interval(this); + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } - private void buildPartial0( - com.google.cloud.contactcenterinsights.v1.CalculateStatsResponse.TimeSeries.Interval - result) { + private void buildPartial0(com.google.cloud.contactcenterinsights.v1.CalculateStatsResponse.TimeSeries.Interval result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { - result.startTime_ = startTimeBuilder_ == null ? startTime_ : startTimeBuilder_.build(); + result.startTime_ = startTimeBuilder_ == null + ? startTime_ + : startTimeBuilder_.build(); } if (((from_bitField0_ & 0x00000002) != 0)) { result.conversationCount_ = conversationCount_; @@ -725,59 +595,46 @@ private void buildPartial0( public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, - int index, - java.lang.Object value) { + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { - if (other - instanceof - com.google.cloud.contactcenterinsights.v1.CalculateStatsResponse.TimeSeries - .Interval) { - return mergeFrom( - (com.google.cloud.contactcenterinsights.v1.CalculateStatsResponse.TimeSeries - .Interval) - other); + if (other instanceof com.google.cloud.contactcenterinsights.v1.CalculateStatsResponse.TimeSeries.Interval) { + return mergeFrom((com.google.cloud.contactcenterinsights.v1.CalculateStatsResponse.TimeSeries.Interval)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom( - com.google.cloud.contactcenterinsights.v1.CalculateStatsResponse.TimeSeries.Interval - other) { - if (other - == com.google.cloud.contactcenterinsights.v1.CalculateStatsResponse.TimeSeries - .Interval.getDefaultInstance()) return this; + public Builder mergeFrom(com.google.cloud.contactcenterinsights.v1.CalculateStatsResponse.TimeSeries.Interval other) { + if (other == com.google.cloud.contactcenterinsights.v1.CalculateStatsResponse.TimeSeries.Interval.getDefaultInstance()) return this; if (other.hasStartTime()) { mergeStartTime(other.getStartTime()); } @@ -810,25 +667,24 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - input.readMessage(getStartTimeFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 16: - { - conversationCount_ = input.readInt32(); - bitField0_ |= 0x00000002; - break; - } // case 16 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + input.readMessage( + getStartTimeFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 16: { + conversationCount_ = input.readInt32(); + bitField0_ |= 0x00000002; + break; + } // case 16 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -838,52 +694,38 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private com.google.protobuf.Timestamp startTime_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> - startTimeBuilder_; + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> startTimeBuilder_; /** - * - * *
          * The start time of this interval.
          * 
* * .google.protobuf.Timestamp start_time = 1; - * * @return Whether the startTime field is set. */ public boolean hasStartTime() { return ((bitField0_ & 0x00000001) != 0); } /** - * - * *
          * The start time of this interval.
          * 
* * .google.protobuf.Timestamp start_time = 1; - * * @return The startTime. */ public com.google.protobuf.Timestamp getStartTime() { if (startTimeBuilder_ == null) { - return startTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : startTime_; + return startTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : startTime_; } else { return startTimeBuilder_.getMessage(); } } /** - * - * *
          * The start time of this interval.
          * 
@@ -904,15 +746,14 @@ public Builder setStartTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
          * The start time of this interval.
          * 
* * .google.protobuf.Timestamp start_time = 1; */ - public Builder setStartTime(com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setStartTime( + com.google.protobuf.Timestamp.Builder builderForValue) { if (startTimeBuilder_ == null) { startTime_ = builderForValue.build(); } else { @@ -923,8 +764,6 @@ public Builder setStartTime(com.google.protobuf.Timestamp.Builder builderForValu return this; } /** - * - * *
          * The start time of this interval.
          * 
@@ -933,9 +772,9 @@ public Builder setStartTime(com.google.protobuf.Timestamp.Builder builderForValu */ public Builder mergeStartTime(com.google.protobuf.Timestamp value) { if (startTimeBuilder_ == null) { - if (((bitField0_ & 0x00000001) != 0) - && startTime_ != null - && startTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { + if (((bitField0_ & 0x00000001) != 0) && + startTime_ != null && + startTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { getStartTimeBuilder().mergeFrom(value); } else { startTime_ = value; @@ -948,8 +787,6 @@ public Builder mergeStartTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
          * The start time of this interval.
          * 
@@ -967,8 +804,6 @@ public Builder clearStartTime() { return this; } /** - * - * *
          * The start time of this interval.
          * 
@@ -981,8 +816,6 @@ public com.google.protobuf.Timestamp.Builder getStartTimeBuilder() { return getStartTimeFieldBuilder().getBuilder(); } /** - * - * *
          * The start time of this interval.
          * 
@@ -993,14 +826,11 @@ public com.google.protobuf.TimestampOrBuilder getStartTimeOrBuilder() { if (startTimeBuilder_ != null) { return startTimeBuilder_.getMessageOrBuilder(); } else { - return startTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : startTime_; + return startTime_ == null ? + com.google.protobuf.Timestamp.getDefaultInstance() : startTime_; } } /** - * - * *
          * The start time of this interval.
          * 
@@ -1008,32 +838,26 @@ public com.google.protobuf.TimestampOrBuilder getStartTimeOrBuilder() { * .google.protobuf.Timestamp start_time = 1; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> getStartTimeFieldBuilder() { if (startTimeBuilder_ == null) { - startTimeBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder>( - getStartTime(), getParentForChildren(), isClean()); + startTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( + getStartTime(), + getParentForChildren(), + isClean()); startTime_ = null; } return startTimeBuilder_; } - private int conversationCount_; + private int conversationCount_ ; /** - * - * *
          * The number of conversations created in this interval.
          * 
* * int32 conversation_count = 2; - * * @return The conversationCount. */ @java.lang.Override @@ -1041,33 +865,27 @@ public int getConversationCount() { return conversationCount_; } /** - * - * *
          * The number of conversations created in this interval.
          * 
* * int32 conversation_count = 2; - * * @param value The conversationCount to set. * @return This builder for chaining. */ public Builder setConversationCount(int value) { - + conversationCount_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** - * - * *
          * The number of conversations created in this interval.
          * 
* * int32 conversation_count = 2; - * * @return This builder for chaining. */ public Builder clearConversationCount() { @@ -1076,7 +894,6 @@ public Builder clearConversationCount() { onChanged(); return this; } - @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -1089,48 +906,41 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.contactcenterinsights.v1.CalculateStatsResponse.TimeSeries.Interval) } // @@protoc_insertion_point(class_scope:google.cloud.contactcenterinsights.v1.CalculateStatsResponse.TimeSeries.Interval) - private static final com.google.cloud.contactcenterinsights.v1.CalculateStatsResponse - .TimeSeries.Interval - DEFAULT_INSTANCE; - + private static final com.google.cloud.contactcenterinsights.v1.CalculateStatsResponse.TimeSeries.Interval DEFAULT_INSTANCE; static { - DEFAULT_INSTANCE = - new com.google.cloud.contactcenterinsights.v1.CalculateStatsResponse.TimeSeries - .Interval(); + DEFAULT_INSTANCE = new com.google.cloud.contactcenterinsights.v1.CalculateStatsResponse.TimeSeries.Interval(); } - public static com.google.cloud.contactcenterinsights.v1.CalculateStatsResponse.TimeSeries - .Interval - getDefaultInstance() { + public static com.google.cloud.contactcenterinsights.v1.CalculateStatsResponse.TimeSeries.Interval getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public Interval parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException() - .setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public Interval parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1142,23 +952,20 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.cloud.contactcenterinsights.v1.CalculateStatsResponse.TimeSeries.Interval - getDefaultInstanceForType() { + public com.google.cloud.contactcenterinsights.v1.CalculateStatsResponse.TimeSeries.Interval getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } public static final int INTERVAL_DURATION_FIELD_NUMBER = 1; private com.google.protobuf.Duration intervalDuration_; /** - * - * *
      * The duration of each interval.
      * 
* * .google.protobuf.Duration interval_duration = 1; - * * @return Whether the intervalDuration field is set. */ @java.lang.Override @@ -1166,25 +973,18 @@ public boolean hasIntervalDuration() { return intervalDuration_ != null; } /** - * - * *
      * The duration of each interval.
      * 
* * .google.protobuf.Duration interval_duration = 1; - * * @return The intervalDuration. */ @java.lang.Override public com.google.protobuf.Duration getIntervalDuration() { - return intervalDuration_ == null - ? com.google.protobuf.Duration.getDefaultInstance() - : intervalDuration_; + return intervalDuration_ == null ? com.google.protobuf.Duration.getDefaultInstance() : intervalDuration_; } /** - * - * *
      * The duration of each interval.
      * 
@@ -1193,114 +993,81 @@ public com.google.protobuf.Duration getIntervalDuration() { */ @java.lang.Override public com.google.protobuf.DurationOrBuilder getIntervalDurationOrBuilder() { - return intervalDuration_ == null - ? com.google.protobuf.Duration.getDefaultInstance() - : intervalDuration_; + return intervalDuration_ == null ? com.google.protobuf.Duration.getDefaultInstance() : intervalDuration_; } public static final int POINTS_FIELD_NUMBER = 2; - @SuppressWarnings("serial") - private java.util.List< - com.google.cloud.contactcenterinsights.v1.CalculateStatsResponse.TimeSeries.Interval> - points_; + private java.util.List points_; /** - * - * *
      * An ordered list of intervals from earliest to latest, where each interval
      * represents the number of conversations that transpired during the time
      * window.
      * 
* - * - * repeated .google.cloud.contactcenterinsights.v1.CalculateStatsResponse.TimeSeries.Interval points = 2; - * + * repeated .google.cloud.contactcenterinsights.v1.CalculateStatsResponse.TimeSeries.Interval points = 2; */ @java.lang.Override - public java.util.List< - com.google.cloud.contactcenterinsights.v1.CalculateStatsResponse.TimeSeries.Interval> - getPointsList() { + public java.util.List getPointsList() { return points_; } /** - * - * *
      * An ordered list of intervals from earliest to latest, where each interval
      * represents the number of conversations that transpired during the time
      * window.
      * 
* - * - * repeated .google.cloud.contactcenterinsights.v1.CalculateStatsResponse.TimeSeries.Interval points = 2; - * + * repeated .google.cloud.contactcenterinsights.v1.CalculateStatsResponse.TimeSeries.Interval points = 2; */ @java.lang.Override - public java.util.List< - ? extends - com.google.cloud.contactcenterinsights.v1.CalculateStatsResponse.TimeSeries - .IntervalOrBuilder> + public java.util.List getPointsOrBuilderList() { return points_; } /** - * - * *
      * An ordered list of intervals from earliest to latest, where each interval
      * represents the number of conversations that transpired during the time
      * window.
      * 
* - * - * repeated .google.cloud.contactcenterinsights.v1.CalculateStatsResponse.TimeSeries.Interval points = 2; - * + * repeated .google.cloud.contactcenterinsights.v1.CalculateStatsResponse.TimeSeries.Interval points = 2; */ @java.lang.Override public int getPointsCount() { return points_.size(); } /** - * - * *
      * An ordered list of intervals from earliest to latest, where each interval
      * represents the number of conversations that transpired during the time
      * window.
      * 
* - * - * repeated .google.cloud.contactcenterinsights.v1.CalculateStatsResponse.TimeSeries.Interval points = 2; - * + * repeated .google.cloud.contactcenterinsights.v1.CalculateStatsResponse.TimeSeries.Interval points = 2; */ @java.lang.Override - public com.google.cloud.contactcenterinsights.v1.CalculateStatsResponse.TimeSeries.Interval - getPoints(int index) { + public com.google.cloud.contactcenterinsights.v1.CalculateStatsResponse.TimeSeries.Interval getPoints(int index) { return points_.get(index); } /** - * - * *
      * An ordered list of intervals from earliest to latest, where each interval
      * represents the number of conversations that transpired during the time
      * window.
      * 
* - * - * repeated .google.cloud.contactcenterinsights.v1.CalculateStatsResponse.TimeSeries.Interval points = 2; - * + * repeated .google.cloud.contactcenterinsights.v1.CalculateStatsResponse.TimeSeries.Interval points = 2; */ @java.lang.Override - public com.google.cloud.contactcenterinsights.v1.CalculateStatsResponse.TimeSeries - .IntervalOrBuilder - getPointsOrBuilder(int index) { + public com.google.cloud.contactcenterinsights.v1.CalculateStatsResponse.TimeSeries.IntervalOrBuilder getPointsOrBuilder( + int index) { return points_.get(index); } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -1312,7 +1079,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (intervalDuration_ != null) { output.writeMessage(1, getIntervalDuration()); } @@ -1329,10 +1097,12 @@ public int getSerializedSize() { size = 0; if (intervalDuration_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getIntervalDuration()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, getIntervalDuration()); } for (int i = 0; i < points_.size(); i++) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, points_.get(i)); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, points_.get(i)); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -1342,20 +1112,20 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } - if (!(obj - instanceof com.google.cloud.contactcenterinsights.v1.CalculateStatsResponse.TimeSeries)) { + if (!(obj instanceof com.google.cloud.contactcenterinsights.v1.CalculateStatsResponse.TimeSeries)) { return super.equals(obj); } - com.google.cloud.contactcenterinsights.v1.CalculateStatsResponse.TimeSeries other = - (com.google.cloud.contactcenterinsights.v1.CalculateStatsResponse.TimeSeries) obj; + com.google.cloud.contactcenterinsights.v1.CalculateStatsResponse.TimeSeries other = (com.google.cloud.contactcenterinsights.v1.CalculateStatsResponse.TimeSeries) obj; if (hasIntervalDuration() != other.hasIntervalDuration()) return false; if (hasIntervalDuration()) { - if (!getIntervalDuration().equals(other.getIntervalDuration())) return false; + if (!getIntervalDuration() + .equals(other.getIntervalDuration())) return false; } - if (!getPointsList().equals(other.getPointsList())) return false; + if (!getPointsList() + .equals(other.getPointsList())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -1380,101 +1150,88 @@ public int hashCode() { return hash; } - public static com.google.cloud.contactcenterinsights.v1.CalculateStatsResponse.TimeSeries - parseFrom(java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.contactcenterinsights.v1.CalculateStatsResponse.TimeSeries parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - - public static com.google.cloud.contactcenterinsights.v1.CalculateStatsResponse.TimeSeries - parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.contactcenterinsights.v1.CalculateStatsResponse.TimeSeries parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.contactcenterinsights.v1.CalculateStatsResponse.TimeSeries - parseFrom(com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.contactcenterinsights.v1.CalculateStatsResponse.TimeSeries parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - - public static com.google.cloud.contactcenterinsights.v1.CalculateStatsResponse.TimeSeries - parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.contactcenterinsights.v1.CalculateStatsResponse.TimeSeries parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.contactcenterinsights.v1.CalculateStatsResponse.TimeSeries - parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.contactcenterinsights.v1.CalculateStatsResponse.TimeSeries parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - - public static com.google.cloud.contactcenterinsights.v1.CalculateStatsResponse.TimeSeries - parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.contactcenterinsights.v1.CalculateStatsResponse.TimeSeries parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.contactcenterinsights.v1.CalculateStatsResponse.TimeSeries - parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.contactcenterinsights.v1.CalculateStatsResponse.TimeSeries parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - - public static com.google.cloud.contactcenterinsights.v1.CalculateStatsResponse.TimeSeries - parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + public static com.google.cloud.contactcenterinsights.v1.CalculateStatsResponse.TimeSeries parseFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.contactcenterinsights.v1.CalculateStatsResponse.TimeSeries - parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.contactcenterinsights.v1.CalculateStatsResponse.TimeSeries parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - - public static com.google.cloud.contactcenterinsights.v1.CalculateStatsResponse.TimeSeries - parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + public static com.google.cloud.contactcenterinsights.v1.CalculateStatsResponse.TimeSeries parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.contactcenterinsights.v1.CalculateStatsResponse.TimeSeries - parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.contactcenterinsights.v1.CalculateStatsResponse.TimeSeries parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - - public static com.google.cloud.contactcenterinsights.v1.CalculateStatsResponse.TimeSeries - parseFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + public static com.google.cloud.contactcenterinsights.v1.CalculateStatsResponse.TimeSeries parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.contactcenterinsights.v1.CalculateStatsResponse.TimeSeries prototype) { + public static Builder newBuilder(com.google.cloud.contactcenterinsights.v1.CalculateStatsResponse.TimeSeries prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -1484,43 +1241,39 @@ protected Builder newBuilderForType( return builder; } /** - * - * *
      * A time series representing conversations over time.
      * 
* * Protobuf type {@code google.cloud.contactcenterinsights.v1.CalculateStatsResponse.TimeSeries} */ - public static final class Builder - extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.contactcenterinsights.v1.CalculateStatsResponse.TimeSeries) com.google.cloud.contactcenterinsights.v1.CalculateStatsResponse.TimeSeriesOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto - .internal_static_google_cloud_contactcenterinsights_v1_CalculateStatsResponse_TimeSeries_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto.internal_static_google_cloud_contactcenterinsights_v1_CalculateStatsResponse_TimeSeries_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto - .internal_static_google_cloud_contactcenterinsights_v1_CalculateStatsResponse_TimeSeries_fieldAccessorTable + return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto.internal_static_google_cloud_contactcenterinsights_v1_CalculateStatsResponse_TimeSeries_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.contactcenterinsights.v1.CalculateStatsResponse.TimeSeries.class, - com.google.cloud.contactcenterinsights.v1.CalculateStatsResponse.TimeSeries.Builder - .class); + com.google.cloud.contactcenterinsights.v1.CalculateStatsResponse.TimeSeries.class, com.google.cloud.contactcenterinsights.v1.CalculateStatsResponse.TimeSeries.Builder.class); } - // Construct using - // com.google.cloud.contactcenterinsights.v1.CalculateStatsResponse.TimeSeries.newBuilder() - private Builder() {} + // Construct using com.google.cloud.contactcenterinsights.v1.CalculateStatsResponse.TimeSeries.newBuilder() + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -1541,22 +1294,19 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto - .internal_static_google_cloud_contactcenterinsights_v1_CalculateStatsResponse_TimeSeries_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto.internal_static_google_cloud_contactcenterinsights_v1_CalculateStatsResponse_TimeSeries_descriptor; } @java.lang.Override - public com.google.cloud.contactcenterinsights.v1.CalculateStatsResponse.TimeSeries - getDefaultInstanceForType() { - return com.google.cloud.contactcenterinsights.v1.CalculateStatsResponse.TimeSeries - .getDefaultInstance(); + public com.google.cloud.contactcenterinsights.v1.CalculateStatsResponse.TimeSeries getDefaultInstanceForType() { + return com.google.cloud.contactcenterinsights.v1.CalculateStatsResponse.TimeSeries.getDefaultInstance(); } @java.lang.Override public com.google.cloud.contactcenterinsights.v1.CalculateStatsResponse.TimeSeries build() { - com.google.cloud.contactcenterinsights.v1.CalculateStatsResponse.TimeSeries result = - buildPartial(); + com.google.cloud.contactcenterinsights.v1.CalculateStatsResponse.TimeSeries result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } @@ -1564,20 +1314,15 @@ public com.google.cloud.contactcenterinsights.v1.CalculateStatsResponse.TimeSeri } @java.lang.Override - public com.google.cloud.contactcenterinsights.v1.CalculateStatsResponse.TimeSeries - buildPartial() { - com.google.cloud.contactcenterinsights.v1.CalculateStatsResponse.TimeSeries result = - new com.google.cloud.contactcenterinsights.v1.CalculateStatsResponse.TimeSeries(this); + public com.google.cloud.contactcenterinsights.v1.CalculateStatsResponse.TimeSeries buildPartial() { + com.google.cloud.contactcenterinsights.v1.CalculateStatsResponse.TimeSeries result = new com.google.cloud.contactcenterinsights.v1.CalculateStatsResponse.TimeSeries(this); buildPartialRepeatedFields(result); - if (bitField0_ != 0) { - buildPartial0(result); - } + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } - private void buildPartialRepeatedFields( - com.google.cloud.contactcenterinsights.v1.CalculateStatsResponse.TimeSeries result) { + private void buildPartialRepeatedFields(com.google.cloud.contactcenterinsights.v1.CalculateStatsResponse.TimeSeries result) { if (pointsBuilder_ == null) { if (((bitField0_ & 0x00000002) != 0)) { points_ = java.util.Collections.unmodifiableList(points_); @@ -1589,14 +1334,12 @@ private void buildPartialRepeatedFields( } } - private void buildPartial0( - com.google.cloud.contactcenterinsights.v1.CalculateStatsResponse.TimeSeries result) { + private void buildPartial0(com.google.cloud.contactcenterinsights.v1.CalculateStatsResponse.TimeSeries result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { - result.intervalDuration_ = - intervalDurationBuilder_ == null - ? intervalDuration_ - : intervalDurationBuilder_.build(); + result.intervalDuration_ = intervalDurationBuilder_ == null + ? intervalDuration_ + : intervalDurationBuilder_.build(); } } @@ -1604,55 +1347,46 @@ private void buildPartial0( public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, - int index, - java.lang.Object value) { + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return super.addRepeatedField(field, value); + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { - if (other - instanceof - com.google.cloud.contactcenterinsights.v1.CalculateStatsResponse.TimeSeries) { - return mergeFrom( - (com.google.cloud.contactcenterinsights.v1.CalculateStatsResponse.TimeSeries) other); + if (other instanceof com.google.cloud.contactcenterinsights.v1.CalculateStatsResponse.TimeSeries) { + return mergeFrom((com.google.cloud.contactcenterinsights.v1.CalculateStatsResponse.TimeSeries)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom( - com.google.cloud.contactcenterinsights.v1.CalculateStatsResponse.TimeSeries other) { - if (other - == com.google.cloud.contactcenterinsights.v1.CalculateStatsResponse.TimeSeries - .getDefaultInstance()) return this; + public Builder mergeFrom(com.google.cloud.contactcenterinsights.v1.CalculateStatsResponse.TimeSeries other) { + if (other == com.google.cloud.contactcenterinsights.v1.CalculateStatsResponse.TimeSeries.getDefaultInstance()) return this; if (other.hasIntervalDuration()) { mergeIntervalDuration(other.getIntervalDuration()); } @@ -1674,10 +1408,9 @@ public Builder mergeFrom( pointsBuilder_ = null; points_ = other.points_; bitField0_ = (bitField0_ & ~0x00000002); - pointsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders - ? getPointsFieldBuilder() - : null; + pointsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getPointsFieldBuilder() : null; } else { pointsBuilder_.addAllMessages(other.points_); } @@ -1709,37 +1442,32 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - input.readMessage( - getIntervalDurationFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: - { - com.google.cloud.contactcenterinsights.v1.CalculateStatsResponse.TimeSeries - .Interval - m = - input.readMessage( - com.google.cloud.contactcenterinsights.v1.CalculateStatsResponse - .TimeSeries.Interval.parser(), - extensionRegistry); - if (pointsBuilder_ == null) { - ensurePointsIsMutable(); - points_.add(m); - } else { - pointsBuilder_.addMessage(m); - } - break; - } // case 18 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + input.readMessage( + getIntervalDurationFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: { + com.google.cloud.contactcenterinsights.v1.CalculateStatsResponse.TimeSeries.Interval m = + input.readMessage( + com.google.cloud.contactcenterinsights.v1.CalculateStatsResponse.TimeSeries.Interval.parser(), + extensionRegistry); + if (pointsBuilder_ == null) { + ensurePointsIsMutable(); + points_.add(m); + } else { + pointsBuilder_.addMessage(m); + } + break; + } // case 18 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -1749,52 +1477,38 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private com.google.protobuf.Duration intervalDuration_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Duration, - com.google.protobuf.Duration.Builder, - com.google.protobuf.DurationOrBuilder> - intervalDurationBuilder_; + com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder> intervalDurationBuilder_; /** - * - * *
        * The duration of each interval.
        * 
* * .google.protobuf.Duration interval_duration = 1; - * * @return Whether the intervalDuration field is set. */ public boolean hasIntervalDuration() { return ((bitField0_ & 0x00000001) != 0); } /** - * - * *
        * The duration of each interval.
        * 
* * .google.protobuf.Duration interval_duration = 1; - * * @return The intervalDuration. */ public com.google.protobuf.Duration getIntervalDuration() { if (intervalDurationBuilder_ == null) { - return intervalDuration_ == null - ? com.google.protobuf.Duration.getDefaultInstance() - : intervalDuration_; + return intervalDuration_ == null ? com.google.protobuf.Duration.getDefaultInstance() : intervalDuration_; } else { return intervalDurationBuilder_.getMessage(); } } /** - * - * *
        * The duration of each interval.
        * 
@@ -1815,15 +1529,14 @@ public Builder setIntervalDuration(com.google.protobuf.Duration value) { return this; } /** - * - * *
        * The duration of each interval.
        * 
* * .google.protobuf.Duration interval_duration = 1; */ - public Builder setIntervalDuration(com.google.protobuf.Duration.Builder builderForValue) { + public Builder setIntervalDuration( + com.google.protobuf.Duration.Builder builderForValue) { if (intervalDurationBuilder_ == null) { intervalDuration_ = builderForValue.build(); } else { @@ -1834,8 +1547,6 @@ public Builder setIntervalDuration(com.google.protobuf.Duration.Builder builderF return this; } /** - * - * *
        * The duration of each interval.
        * 
@@ -1844,9 +1555,9 @@ public Builder setIntervalDuration(com.google.protobuf.Duration.Builder builderF */ public Builder mergeIntervalDuration(com.google.protobuf.Duration value) { if (intervalDurationBuilder_ == null) { - if (((bitField0_ & 0x00000001) != 0) - && intervalDuration_ != null - && intervalDuration_ != com.google.protobuf.Duration.getDefaultInstance()) { + if (((bitField0_ & 0x00000001) != 0) && + intervalDuration_ != null && + intervalDuration_ != com.google.protobuf.Duration.getDefaultInstance()) { getIntervalDurationBuilder().mergeFrom(value); } else { intervalDuration_ = value; @@ -1859,8 +1570,6 @@ public Builder mergeIntervalDuration(com.google.protobuf.Duration value) { return this; } /** - * - * *
        * The duration of each interval.
        * 
@@ -1878,8 +1587,6 @@ public Builder clearIntervalDuration() { return this; } /** - * - * *
        * The duration of each interval.
        * 
@@ -1892,8 +1599,6 @@ public com.google.protobuf.Duration.Builder getIntervalDurationBuilder() { return getIntervalDurationFieldBuilder().getBuilder(); } /** - * - * *
        * The duration of each interval.
        * 
@@ -1904,14 +1609,11 @@ public com.google.protobuf.DurationOrBuilder getIntervalDurationOrBuilder() { if (intervalDurationBuilder_ != null) { return intervalDurationBuilder_.getMessageOrBuilder(); } else { - return intervalDuration_ == null - ? com.google.protobuf.Duration.getDefaultInstance() - : intervalDuration_; + return intervalDuration_ == null ? + com.google.protobuf.Duration.getDefaultInstance() : intervalDuration_; } } /** - * - * *
        * The duration of each interval.
        * 
@@ -1919,60 +1621,41 @@ public com.google.protobuf.DurationOrBuilder getIntervalDurationOrBuilder() { * .google.protobuf.Duration interval_duration = 1; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Duration, - com.google.protobuf.Duration.Builder, - com.google.protobuf.DurationOrBuilder> + com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder> getIntervalDurationFieldBuilder() { if (intervalDurationBuilder_ == null) { - intervalDurationBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Duration, - com.google.protobuf.Duration.Builder, - com.google.protobuf.DurationOrBuilder>( - getIntervalDuration(), getParentForChildren(), isClean()); + intervalDurationBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder>( + getIntervalDuration(), + getParentForChildren(), + isClean()); intervalDuration_ = null; } return intervalDurationBuilder_; } - private java.util.List< - com.google.cloud.contactcenterinsights.v1.CalculateStatsResponse.TimeSeries.Interval> - points_ = java.util.Collections.emptyList(); - + private java.util.List points_ = + java.util.Collections.emptyList(); private void ensurePointsIsMutable() { if (!((bitField0_ & 0x00000002) != 0)) { - points_ = - new java.util.ArrayList< - com.google.cloud.contactcenterinsights.v1.CalculateStatsResponse.TimeSeries - .Interval>(points_); + points_ = new java.util.ArrayList(points_); bitField0_ |= 0x00000002; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.contactcenterinsights.v1.CalculateStatsResponse.TimeSeries.Interval, - com.google.cloud.contactcenterinsights.v1.CalculateStatsResponse.TimeSeries.Interval - .Builder, - com.google.cloud.contactcenterinsights.v1.CalculateStatsResponse.TimeSeries - .IntervalOrBuilder> - pointsBuilder_; + com.google.cloud.contactcenterinsights.v1.CalculateStatsResponse.TimeSeries.Interval, com.google.cloud.contactcenterinsights.v1.CalculateStatsResponse.TimeSeries.Interval.Builder, com.google.cloud.contactcenterinsights.v1.CalculateStatsResponse.TimeSeries.IntervalOrBuilder> pointsBuilder_; /** - * - * *
        * An ordered list of intervals from earliest to latest, where each interval
        * represents the number of conversations that transpired during the time
        * window.
        * 
* - * - * repeated .google.cloud.contactcenterinsights.v1.CalculateStatsResponse.TimeSeries.Interval points = 2; - * + * repeated .google.cloud.contactcenterinsights.v1.CalculateStatsResponse.TimeSeries.Interval points = 2; */ - public java.util.List< - com.google.cloud.contactcenterinsights.v1.CalculateStatsResponse.TimeSeries.Interval> - getPointsList() { + public java.util.List getPointsList() { if (pointsBuilder_ == null) { return java.util.Collections.unmodifiableList(points_); } else { @@ -1980,17 +1663,13 @@ private void ensurePointsIsMutable() { } } /** - * - * *
        * An ordered list of intervals from earliest to latest, where each interval
        * represents the number of conversations that transpired during the time
        * window.
        * 
* - * - * repeated .google.cloud.contactcenterinsights.v1.CalculateStatsResponse.TimeSeries.Interval points = 2; - * + * repeated .google.cloud.contactcenterinsights.v1.CalculateStatsResponse.TimeSeries.Interval points = 2; */ public int getPointsCount() { if (pointsBuilder_ == null) { @@ -2000,20 +1679,15 @@ public int getPointsCount() { } } /** - * - * *
        * An ordered list of intervals from earliest to latest, where each interval
        * represents the number of conversations that transpired during the time
        * window.
        * 
* - * - * repeated .google.cloud.contactcenterinsights.v1.CalculateStatsResponse.TimeSeries.Interval points = 2; - * + * repeated .google.cloud.contactcenterinsights.v1.CalculateStatsResponse.TimeSeries.Interval points = 2; */ - public com.google.cloud.contactcenterinsights.v1.CalculateStatsResponse.TimeSeries.Interval - getPoints(int index) { + public com.google.cloud.contactcenterinsights.v1.CalculateStatsResponse.TimeSeries.Interval getPoints(int index) { if (pointsBuilder_ == null) { return points_.get(index); } else { @@ -2021,22 +1695,16 @@ public int getPointsCount() { } } /** - * - * *
        * An ordered list of intervals from earliest to latest, where each interval
        * represents the number of conversations that transpired during the time
        * window.
        * 
* - * - * repeated .google.cloud.contactcenterinsights.v1.CalculateStatsResponse.TimeSeries.Interval points = 2; - * + * repeated .google.cloud.contactcenterinsights.v1.CalculateStatsResponse.TimeSeries.Interval points = 2; */ public Builder setPoints( - int index, - com.google.cloud.contactcenterinsights.v1.CalculateStatsResponse.TimeSeries.Interval - value) { + int index, com.google.cloud.contactcenterinsights.v1.CalculateStatsResponse.TimeSeries.Interval value) { if (pointsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -2050,23 +1718,16 @@ public Builder setPoints( return this; } /** - * - * *
        * An ordered list of intervals from earliest to latest, where each interval
        * represents the number of conversations that transpired during the time
        * window.
        * 
* - * - * repeated .google.cloud.contactcenterinsights.v1.CalculateStatsResponse.TimeSeries.Interval points = 2; - * + * repeated .google.cloud.contactcenterinsights.v1.CalculateStatsResponse.TimeSeries.Interval points = 2; */ public Builder setPoints( - int index, - com.google.cloud.contactcenterinsights.v1.CalculateStatsResponse.TimeSeries.Interval - .Builder - builderForValue) { + int index, com.google.cloud.contactcenterinsights.v1.CalculateStatsResponse.TimeSeries.Interval.Builder builderForValue) { if (pointsBuilder_ == null) { ensurePointsIsMutable(); points_.set(index, builderForValue.build()); @@ -2077,21 +1738,15 @@ public Builder setPoints( return this; } /** - * - * *
        * An ordered list of intervals from earliest to latest, where each interval
        * represents the number of conversations that transpired during the time
        * window.
        * 
* - * - * repeated .google.cloud.contactcenterinsights.v1.CalculateStatsResponse.TimeSeries.Interval points = 2; - * + * repeated .google.cloud.contactcenterinsights.v1.CalculateStatsResponse.TimeSeries.Interval points = 2; */ - public Builder addPoints( - com.google.cloud.contactcenterinsights.v1.CalculateStatsResponse.TimeSeries.Interval - value) { + public Builder addPoints(com.google.cloud.contactcenterinsights.v1.CalculateStatsResponse.TimeSeries.Interval value) { if (pointsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -2105,22 +1760,16 @@ public Builder addPoints( return this; } /** - * - * *
        * An ordered list of intervals from earliest to latest, where each interval
        * represents the number of conversations that transpired during the time
        * window.
        * 
* - * - * repeated .google.cloud.contactcenterinsights.v1.CalculateStatsResponse.TimeSeries.Interval points = 2; - * + * repeated .google.cloud.contactcenterinsights.v1.CalculateStatsResponse.TimeSeries.Interval points = 2; */ public Builder addPoints( - int index, - com.google.cloud.contactcenterinsights.v1.CalculateStatsResponse.TimeSeries.Interval - value) { + int index, com.google.cloud.contactcenterinsights.v1.CalculateStatsResponse.TimeSeries.Interval value) { if (pointsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -2134,22 +1783,16 @@ public Builder addPoints( return this; } /** - * - * *
        * An ordered list of intervals from earliest to latest, where each interval
        * represents the number of conversations that transpired during the time
        * window.
        * 
* - * - * repeated .google.cloud.contactcenterinsights.v1.CalculateStatsResponse.TimeSeries.Interval points = 2; - * + * repeated .google.cloud.contactcenterinsights.v1.CalculateStatsResponse.TimeSeries.Interval points = 2; */ public Builder addPoints( - com.google.cloud.contactcenterinsights.v1.CalculateStatsResponse.TimeSeries.Interval - .Builder - builderForValue) { + com.google.cloud.contactcenterinsights.v1.CalculateStatsResponse.TimeSeries.Interval.Builder builderForValue) { if (pointsBuilder_ == null) { ensurePointsIsMutable(); points_.add(builderForValue.build()); @@ -2160,23 +1803,16 @@ public Builder addPoints( return this; } /** - * - * *
        * An ordered list of intervals from earliest to latest, where each interval
        * represents the number of conversations that transpired during the time
        * window.
        * 
* - * - * repeated .google.cloud.contactcenterinsights.v1.CalculateStatsResponse.TimeSeries.Interval points = 2; - * + * repeated .google.cloud.contactcenterinsights.v1.CalculateStatsResponse.TimeSeries.Interval points = 2; */ public Builder addPoints( - int index, - com.google.cloud.contactcenterinsights.v1.CalculateStatsResponse.TimeSeries.Interval - .Builder - builderForValue) { + int index, com.google.cloud.contactcenterinsights.v1.CalculateStatsResponse.TimeSeries.Interval.Builder builderForValue) { if (pointsBuilder_ == null) { ensurePointsIsMutable(); points_.add(index, builderForValue.build()); @@ -2187,27 +1823,20 @@ public Builder addPoints( return this; } /** - * - * *
        * An ordered list of intervals from earliest to latest, where each interval
        * represents the number of conversations that transpired during the time
        * window.
        * 
* - * - * repeated .google.cloud.contactcenterinsights.v1.CalculateStatsResponse.TimeSeries.Interval points = 2; - * + * repeated .google.cloud.contactcenterinsights.v1.CalculateStatsResponse.TimeSeries.Interval points = 2; */ public Builder addAllPoints( - java.lang.Iterable< - ? extends - com.google.cloud.contactcenterinsights.v1.CalculateStatsResponse.TimeSeries - .Interval> - values) { + java.lang.Iterable values) { if (pointsBuilder_ == null) { ensurePointsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, points_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, points_); onChanged(); } else { pointsBuilder_.addAllMessages(values); @@ -2215,17 +1844,13 @@ public Builder addAllPoints( return this; } /** - * - * *
        * An ordered list of intervals from earliest to latest, where each interval
        * represents the number of conversations that transpired during the time
        * window.
        * 
* - * - * repeated .google.cloud.contactcenterinsights.v1.CalculateStatsResponse.TimeSeries.Interval points = 2; - * + * repeated .google.cloud.contactcenterinsights.v1.CalculateStatsResponse.TimeSeries.Interval points = 2; */ public Builder clearPoints() { if (pointsBuilder_ == null) { @@ -2238,17 +1863,13 @@ public Builder clearPoints() { return this; } /** - * - * *
        * An ordered list of intervals from earliest to latest, where each interval
        * represents the number of conversations that transpired during the time
        * window.
        * 
* - * - * repeated .google.cloud.contactcenterinsights.v1.CalculateStatsResponse.TimeSeries.Interval points = 2; - * + * repeated .google.cloud.contactcenterinsights.v1.CalculateStatsResponse.TimeSeries.Interval points = 2; */ public Builder removePoints(int index) { if (pointsBuilder_ == null) { @@ -2261,63 +1882,45 @@ public Builder removePoints(int index) { return this; } /** - * - * *
        * An ordered list of intervals from earliest to latest, where each interval
        * represents the number of conversations that transpired during the time
        * window.
        * 
* - * - * repeated .google.cloud.contactcenterinsights.v1.CalculateStatsResponse.TimeSeries.Interval points = 2; - * + * repeated .google.cloud.contactcenterinsights.v1.CalculateStatsResponse.TimeSeries.Interval points = 2; */ - public com.google.cloud.contactcenterinsights.v1.CalculateStatsResponse.TimeSeries.Interval - .Builder - getPointsBuilder(int index) { + public com.google.cloud.contactcenterinsights.v1.CalculateStatsResponse.TimeSeries.Interval.Builder getPointsBuilder( + int index) { return getPointsFieldBuilder().getBuilder(index); } /** - * - * *
        * An ordered list of intervals from earliest to latest, where each interval
        * represents the number of conversations that transpired during the time
        * window.
        * 
* - * - * repeated .google.cloud.contactcenterinsights.v1.CalculateStatsResponse.TimeSeries.Interval points = 2; - * + * repeated .google.cloud.contactcenterinsights.v1.CalculateStatsResponse.TimeSeries.Interval points = 2; */ - public com.google.cloud.contactcenterinsights.v1.CalculateStatsResponse.TimeSeries - .IntervalOrBuilder - getPointsOrBuilder(int index) { + public com.google.cloud.contactcenterinsights.v1.CalculateStatsResponse.TimeSeries.IntervalOrBuilder getPointsOrBuilder( + int index) { if (pointsBuilder_ == null) { - return points_.get(index); - } else { + return points_.get(index); } else { return pointsBuilder_.getMessageOrBuilder(index); } } /** - * - * *
        * An ordered list of intervals from earliest to latest, where each interval
        * represents the number of conversations that transpired during the time
        * window.
        * 
* - * - * repeated .google.cloud.contactcenterinsights.v1.CalculateStatsResponse.TimeSeries.Interval points = 2; - * + * repeated .google.cloud.contactcenterinsights.v1.CalculateStatsResponse.TimeSeries.Interval points = 2; */ - public java.util.List< - ? extends - com.google.cloud.contactcenterinsights.v1.CalculateStatsResponse.TimeSeries - .IntervalOrBuilder> - getPointsOrBuilderList() { + public java.util.List + getPointsOrBuilderList() { if (pointsBuilder_ != null) { return pointsBuilder_.getMessageOrBuilderList(); } else { @@ -2325,90 +1928,59 @@ public Builder removePoints(int index) { } } /** - * - * *
        * An ordered list of intervals from earliest to latest, where each interval
        * represents the number of conversations that transpired during the time
        * window.
        * 
* - * - * repeated .google.cloud.contactcenterinsights.v1.CalculateStatsResponse.TimeSeries.Interval points = 2; - * + * repeated .google.cloud.contactcenterinsights.v1.CalculateStatsResponse.TimeSeries.Interval points = 2; */ - public com.google.cloud.contactcenterinsights.v1.CalculateStatsResponse.TimeSeries.Interval - .Builder - addPointsBuilder() { - return getPointsFieldBuilder() - .addBuilder( - com.google.cloud.contactcenterinsights.v1.CalculateStatsResponse.TimeSeries.Interval - .getDefaultInstance()); + public com.google.cloud.contactcenterinsights.v1.CalculateStatsResponse.TimeSeries.Interval.Builder addPointsBuilder() { + return getPointsFieldBuilder().addBuilder( + com.google.cloud.contactcenterinsights.v1.CalculateStatsResponse.TimeSeries.Interval.getDefaultInstance()); } /** - * - * *
        * An ordered list of intervals from earliest to latest, where each interval
        * represents the number of conversations that transpired during the time
        * window.
        * 
* - * - * repeated .google.cloud.contactcenterinsights.v1.CalculateStatsResponse.TimeSeries.Interval points = 2; - * + * repeated .google.cloud.contactcenterinsights.v1.CalculateStatsResponse.TimeSeries.Interval points = 2; */ - public com.google.cloud.contactcenterinsights.v1.CalculateStatsResponse.TimeSeries.Interval - .Builder - addPointsBuilder(int index) { - return getPointsFieldBuilder() - .addBuilder( - index, - com.google.cloud.contactcenterinsights.v1.CalculateStatsResponse.TimeSeries.Interval - .getDefaultInstance()); + public com.google.cloud.contactcenterinsights.v1.CalculateStatsResponse.TimeSeries.Interval.Builder addPointsBuilder( + int index) { + return getPointsFieldBuilder().addBuilder( + index, com.google.cloud.contactcenterinsights.v1.CalculateStatsResponse.TimeSeries.Interval.getDefaultInstance()); } /** - * - * *
        * An ordered list of intervals from earliest to latest, where each interval
        * represents the number of conversations that transpired during the time
        * window.
        * 
* - * - * repeated .google.cloud.contactcenterinsights.v1.CalculateStatsResponse.TimeSeries.Interval points = 2; - * + * repeated .google.cloud.contactcenterinsights.v1.CalculateStatsResponse.TimeSeries.Interval points = 2; */ - public java.util.List< - com.google.cloud.contactcenterinsights.v1.CalculateStatsResponse.TimeSeries.Interval - .Builder> - getPointsBuilderList() { + public java.util.List + getPointsBuilderList() { return getPointsFieldBuilder().getBuilderList(); } - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.contactcenterinsights.v1.CalculateStatsResponse.TimeSeries.Interval, - com.google.cloud.contactcenterinsights.v1.CalculateStatsResponse.TimeSeries.Interval - .Builder, - com.google.cloud.contactcenterinsights.v1.CalculateStatsResponse.TimeSeries - .IntervalOrBuilder> + com.google.cloud.contactcenterinsights.v1.CalculateStatsResponse.TimeSeries.Interval, com.google.cloud.contactcenterinsights.v1.CalculateStatsResponse.TimeSeries.Interval.Builder, com.google.cloud.contactcenterinsights.v1.CalculateStatsResponse.TimeSeries.IntervalOrBuilder> getPointsFieldBuilder() { if (pointsBuilder_ == null) { - pointsBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.contactcenterinsights.v1.CalculateStatsResponse.TimeSeries - .Interval, - com.google.cloud.contactcenterinsights.v1.CalculateStatsResponse.TimeSeries - .Interval.Builder, - com.google.cloud.contactcenterinsights.v1.CalculateStatsResponse.TimeSeries - .IntervalOrBuilder>( - points_, ((bitField0_ & 0x00000002) != 0), getParentForChildren(), isClean()); + pointsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.contactcenterinsights.v1.CalculateStatsResponse.TimeSeries.Interval, com.google.cloud.contactcenterinsights.v1.CalculateStatsResponse.TimeSeries.Interval.Builder, com.google.cloud.contactcenterinsights.v1.CalculateStatsResponse.TimeSeries.IntervalOrBuilder>( + points_, + ((bitField0_ & 0x00000002) != 0), + getParentForChildren(), + isClean()); points_ = null; } return pointsBuilder_; } - @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -2421,45 +1993,41 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.contactcenterinsights.v1.CalculateStatsResponse.TimeSeries) } // @@protoc_insertion_point(class_scope:google.cloud.contactcenterinsights.v1.CalculateStatsResponse.TimeSeries) - private static final com.google.cloud.contactcenterinsights.v1.CalculateStatsResponse.TimeSeries - DEFAULT_INSTANCE; - + private static final com.google.cloud.contactcenterinsights.v1.CalculateStatsResponse.TimeSeries DEFAULT_INSTANCE; static { - DEFAULT_INSTANCE = - new com.google.cloud.contactcenterinsights.v1.CalculateStatsResponse.TimeSeries(); + DEFAULT_INSTANCE = new com.google.cloud.contactcenterinsights.v1.CalculateStatsResponse.TimeSeries(); } - public static com.google.cloud.contactcenterinsights.v1.CalculateStatsResponse.TimeSeries - getDefaultInstance() { + public static com.google.cloud.contactcenterinsights.v1.CalculateStatsResponse.TimeSeries getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public TimeSeries parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException() - .setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public TimeSeries parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -2471,24 +2039,21 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.cloud.contactcenterinsights.v1.CalculateStatsResponse.TimeSeries - getDefaultInstanceForType() { + public com.google.cloud.contactcenterinsights.v1.CalculateStatsResponse.TimeSeries getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } public static final int AVERAGE_DURATION_FIELD_NUMBER = 1; private com.google.protobuf.Duration averageDuration_; /** - * - * *
    * The average duration of all conversations. The average is calculated using
    * only conversations that have a time duration.
    * 
* * .google.protobuf.Duration average_duration = 1; - * * @return Whether the averageDuration field is set. */ @java.lang.Override @@ -2496,26 +2061,19 @@ public boolean hasAverageDuration() { return averageDuration_ != null; } /** - * - * *
    * The average duration of all conversations. The average is calculated using
    * only conversations that have a time duration.
    * 
* * .google.protobuf.Duration average_duration = 1; - * * @return The averageDuration. */ @java.lang.Override public com.google.protobuf.Duration getAverageDuration() { - return averageDuration_ == null - ? com.google.protobuf.Duration.getDefaultInstance() - : averageDuration_; + return averageDuration_ == null ? com.google.protobuf.Duration.getDefaultInstance() : averageDuration_; } /** - * - * *
    * The average duration of all conversations. The average is calculated using
    * only conversations that have a time duration.
@@ -2525,22 +2083,17 @@ public com.google.protobuf.Duration getAverageDuration() {
    */
   @java.lang.Override
   public com.google.protobuf.DurationOrBuilder getAverageDurationOrBuilder() {
-    return averageDuration_ == null
-        ? com.google.protobuf.Duration.getDefaultInstance()
-        : averageDuration_;
+    return averageDuration_ == null ? com.google.protobuf.Duration.getDefaultInstance() : averageDuration_;
   }
 
   public static final int AVERAGE_TURN_COUNT_FIELD_NUMBER = 2;
   private int averageTurnCount_ = 0;
   /**
-   *
-   *
    * 
    * The average number of turns per conversation.
    * 
* * int32 average_turn_count = 2; - * * @return The averageTurnCount. */ @java.lang.Override @@ -2551,14 +2104,11 @@ public int getAverageTurnCount() { public static final int CONVERSATION_COUNT_FIELD_NUMBER = 3; private int conversationCount_ = 0; /** - * - * *
    * The total number of conversations.
    * 
* * int32 conversation_count = 3; - * * @return The conversationCount. */ @java.lang.Override @@ -2567,37 +2117,32 @@ public int getConversationCount() { } public static final int SMART_HIGHLIGHTER_MATCHES_FIELD_NUMBER = 4; - private static final class SmartHighlighterMatchesDefaultEntryHolder { - static final com.google.protobuf.MapEntry defaultEntry = - com.google.protobuf.MapEntry.newDefaultInstance( - com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto - .internal_static_google_cloud_contactcenterinsights_v1_CalculateStatsResponse_SmartHighlighterMatchesEntry_descriptor, - com.google.protobuf.WireFormat.FieldType.STRING, - "", - com.google.protobuf.WireFormat.FieldType.INT32, - 0); + static final com.google.protobuf.MapEntry< + java.lang.String, java.lang.Integer> defaultEntry = + com.google.protobuf.MapEntry + .newDefaultInstance( + com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto.internal_static_google_cloud_contactcenterinsights_v1_CalculateStatsResponse_SmartHighlighterMatchesEntry_descriptor, + com.google.protobuf.WireFormat.FieldType.STRING, + "", + com.google.protobuf.WireFormat.FieldType.INT32, + 0); } - @SuppressWarnings("serial") + private com.google.protobuf.MapField< + java.lang.String, java.lang.Integer> smartHighlighterMatches_; private com.google.protobuf.MapField - smartHighlighterMatches_; - - private com.google.protobuf.MapField - internalGetSmartHighlighterMatches() { + internalGetSmartHighlighterMatches() { if (smartHighlighterMatches_ == null) { return com.google.protobuf.MapField.emptyMapField( SmartHighlighterMatchesDefaultEntryHolder.defaultEntry); } return smartHighlighterMatches_; } - public int getSmartHighlighterMatchesCount() { return internalGetSmartHighlighterMatches().getMap().size(); } /** - * - * *
    * A map associating each smart highlighter display name with its respective
    * number of matches in the set of conversations.
@@ -2606,21 +2151,20 @@ public int getSmartHighlighterMatchesCount() {
    * map<string, int32> smart_highlighter_matches = 4;
    */
   @java.lang.Override
-  public boolean containsSmartHighlighterMatches(java.lang.String key) {
-    if (key == null) {
-      throw new NullPointerException("map key");
-    }
+  public boolean containsSmartHighlighterMatches(
+      java.lang.String key) {
+    if (key == null) { throw new NullPointerException("map key"); }
     return internalGetSmartHighlighterMatches().getMap().containsKey(key);
   }
-  /** Use {@link #getSmartHighlighterMatchesMap()} instead. */
+  /**
+   * Use {@link #getSmartHighlighterMatchesMap()} instead.
+   */
   @java.lang.Override
   @java.lang.Deprecated
   public java.util.Map getSmartHighlighterMatches() {
     return getSmartHighlighterMatchesMap();
   }
   /**
-   *
-   *
    * 
    * A map associating each smart highlighter display name with its respective
    * number of matches in the set of conversations.
@@ -2633,8 +2177,6 @@ public java.util.Map getSmartHighlighterMat
     return internalGetSmartHighlighterMatches().getMap();
   }
   /**
-   *
-   *
    * 
    * A map associating each smart highlighter display name with its respective
    * number of matches in the set of conversations.
@@ -2643,17 +2185,15 @@ public java.util.Map getSmartHighlighterMat
    * map<string, int32> smart_highlighter_matches = 4;
    */
   @java.lang.Override
-  public int getSmartHighlighterMatchesOrDefault(java.lang.String key, int defaultValue) {
-    if (key == null) {
-      throw new NullPointerException("map key");
-    }
+  public int getSmartHighlighterMatchesOrDefault(
+      java.lang.String key,
+      int defaultValue) {
+    if (key == null) { throw new NullPointerException("map key"); }
     java.util.Map map =
         internalGetSmartHighlighterMatches().getMap();
     return map.containsKey(key) ? map.get(key) : defaultValue;
   }
   /**
-   *
-   *
    * 
    * A map associating each smart highlighter display name with its respective
    * number of matches in the set of conversations.
@@ -2662,10 +2202,9 @@ public int getSmartHighlighterMatchesOrDefault(java.lang.String key, int default
    * map<string, int32> smart_highlighter_matches = 4;
    */
   @java.lang.Override
-  public int getSmartHighlighterMatchesOrThrow(java.lang.String key) {
-    if (key == null) {
-      throw new NullPointerException("map key");
-    }
+  public int getSmartHighlighterMatchesOrThrow(
+      java.lang.String key) {
+    if (key == null) { throw new NullPointerException("map key"); }
     java.util.Map map =
         internalGetSmartHighlighterMatches().getMap();
     if (!map.containsKey(key)) {
@@ -2675,37 +2214,32 @@ public int getSmartHighlighterMatchesOrThrow(java.lang.String key) {
   }
 
   public static final int CUSTOM_HIGHLIGHTER_MATCHES_FIELD_NUMBER = 5;
-
   private static final class CustomHighlighterMatchesDefaultEntryHolder {
-    static final com.google.protobuf.MapEntry defaultEntry =
-        com.google.protobuf.MapEntry.newDefaultInstance(
-            com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto
-                .internal_static_google_cloud_contactcenterinsights_v1_CalculateStatsResponse_CustomHighlighterMatchesEntry_descriptor,
-            com.google.protobuf.WireFormat.FieldType.STRING,
-            "",
-            com.google.protobuf.WireFormat.FieldType.INT32,
-            0);
+    static final com.google.protobuf.MapEntry<
+        java.lang.String, java.lang.Integer> defaultEntry =
+            com.google.protobuf.MapEntry
+            .newDefaultInstance(
+                com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto.internal_static_google_cloud_contactcenterinsights_v1_CalculateStatsResponse_CustomHighlighterMatchesEntry_descriptor, 
+                com.google.protobuf.WireFormat.FieldType.STRING,
+                "",
+                com.google.protobuf.WireFormat.FieldType.INT32,
+                0);
   }
-
   @SuppressWarnings("serial")
+  private com.google.protobuf.MapField<
+      java.lang.String, java.lang.Integer> customHighlighterMatches_;
   private com.google.protobuf.MapField
-      customHighlighterMatches_;
-
-  private com.google.protobuf.MapField
-      internalGetCustomHighlighterMatches() {
+  internalGetCustomHighlighterMatches() {
     if (customHighlighterMatches_ == null) {
       return com.google.protobuf.MapField.emptyMapField(
           CustomHighlighterMatchesDefaultEntryHolder.defaultEntry);
     }
     return customHighlighterMatches_;
   }
-
   public int getCustomHighlighterMatchesCount() {
     return internalGetCustomHighlighterMatches().getMap().size();
   }
   /**
-   *
-   *
    * 
    * A map associating each custom highlighter resource name with its respective
    * number of matches in the set of conversations.
@@ -2714,21 +2248,20 @@ public int getCustomHighlighterMatchesCount() {
    * map<string, int32> custom_highlighter_matches = 5;
    */
   @java.lang.Override
-  public boolean containsCustomHighlighterMatches(java.lang.String key) {
-    if (key == null) {
-      throw new NullPointerException("map key");
-    }
+  public boolean containsCustomHighlighterMatches(
+      java.lang.String key) {
+    if (key == null) { throw new NullPointerException("map key"); }
     return internalGetCustomHighlighterMatches().getMap().containsKey(key);
   }
-  /** Use {@link #getCustomHighlighterMatchesMap()} instead. */
+  /**
+   * Use {@link #getCustomHighlighterMatchesMap()} instead.
+   */
   @java.lang.Override
   @java.lang.Deprecated
   public java.util.Map getCustomHighlighterMatches() {
     return getCustomHighlighterMatchesMap();
   }
   /**
-   *
-   *
    * 
    * A map associating each custom highlighter resource name with its respective
    * number of matches in the set of conversations.
@@ -2741,8 +2274,6 @@ public java.util.Map getCustomHighlighterMa
     return internalGetCustomHighlighterMatches().getMap();
   }
   /**
-   *
-   *
    * 
    * A map associating each custom highlighter resource name with its respective
    * number of matches in the set of conversations.
@@ -2751,17 +2282,15 @@ public java.util.Map getCustomHighlighterMa
    * map<string, int32> custom_highlighter_matches = 5;
    */
   @java.lang.Override
-  public int getCustomHighlighterMatchesOrDefault(java.lang.String key, int defaultValue) {
-    if (key == null) {
-      throw new NullPointerException("map key");
-    }
+  public int getCustomHighlighterMatchesOrDefault(
+      java.lang.String key,
+      int defaultValue) {
+    if (key == null) { throw new NullPointerException("map key"); }
     java.util.Map map =
         internalGetCustomHighlighterMatches().getMap();
     return map.containsKey(key) ? map.get(key) : defaultValue;
   }
   /**
-   *
-   *
    * 
    * A map associating each custom highlighter resource name with its respective
    * number of matches in the set of conversations.
@@ -2770,10 +2299,9 @@ public int getCustomHighlighterMatchesOrDefault(java.lang.String key, int defaul
    * map<string, int32> custom_highlighter_matches = 5;
    */
   @java.lang.Override
-  public int getCustomHighlighterMatchesOrThrow(java.lang.String key) {
-    if (key == null) {
-      throw new NullPointerException("map key");
-    }
+  public int getCustomHighlighterMatchesOrThrow(
+      java.lang.String key) {
+    if (key == null) { throw new NullPointerException("map key"); }
     java.util.Map map =
         internalGetCustomHighlighterMatches().getMap();
     if (!map.containsKey(key)) {
@@ -2783,37 +2311,32 @@ public int getCustomHighlighterMatchesOrThrow(java.lang.String key) {
   }
 
   public static final int ISSUE_MATCHES_FIELD_NUMBER = 6;
-
   private static final class IssueMatchesDefaultEntryHolder {
-    static final com.google.protobuf.MapEntry defaultEntry =
-        com.google.protobuf.MapEntry.newDefaultInstance(
-            com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto
-                .internal_static_google_cloud_contactcenterinsights_v1_CalculateStatsResponse_IssueMatchesEntry_descriptor,
-            com.google.protobuf.WireFormat.FieldType.STRING,
-            "",
-            com.google.protobuf.WireFormat.FieldType.INT32,
-            0);
+    static final com.google.protobuf.MapEntry<
+        java.lang.String, java.lang.Integer> defaultEntry =
+            com.google.protobuf.MapEntry
+            .newDefaultInstance(
+                com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto.internal_static_google_cloud_contactcenterinsights_v1_CalculateStatsResponse_IssueMatchesEntry_descriptor, 
+                com.google.protobuf.WireFormat.FieldType.STRING,
+                "",
+                com.google.protobuf.WireFormat.FieldType.INT32,
+                0);
   }
-
   @SuppressWarnings("serial")
-  private com.google.protobuf.MapField issueMatches_;
-
+  private com.google.protobuf.MapField<
+      java.lang.String, java.lang.Integer> issueMatches_;
   private com.google.protobuf.MapField
-      internalGetIssueMatches() {
+  internalGetIssueMatches() {
     if (issueMatches_ == null) {
       return com.google.protobuf.MapField.emptyMapField(
           IssueMatchesDefaultEntryHolder.defaultEntry);
     }
     return issueMatches_;
   }
-
-  @java.lang.Deprecated
-  public int getIssueMatchesCount() {
+  @java.lang.Deprecated public int getIssueMatchesCount() {
     return internalGetIssueMatches().getMap().size();
   }
   /**
-   *
-   *
    * 
    * A map associating each issue resource name with its respective number of
    * matches in the set of conversations. Key has the format:
@@ -2824,22 +2347,20 @@ public int getIssueMatchesCount() {
    * map<string, int32> issue_matches = 6 [deprecated = true];
    */
   @java.lang.Override
-  @java.lang.Deprecated
-  public boolean containsIssueMatches(java.lang.String key) {
-    if (key == null) {
-      throw new NullPointerException("map key");
-    }
+  @java.lang.Deprecated public boolean containsIssueMatches(
+      java.lang.String key) {
+    if (key == null) { throw new NullPointerException("map key"); }
     return internalGetIssueMatches().getMap().containsKey(key);
   }
-  /** Use {@link #getIssueMatchesMap()} instead. */
+  /**
+   * Use {@link #getIssueMatchesMap()} instead.
+   */
   @java.lang.Override
   @java.lang.Deprecated
   public java.util.Map getIssueMatches() {
     return getIssueMatchesMap();
   }
   /**
-   *
-   *
    * 
    * A map associating each issue resource name with its respective number of
    * matches in the set of conversations. Key has the format:
@@ -2850,13 +2371,10 @@ public java.util.Map getIssueMatches() {
    * map<string, int32> issue_matches = 6 [deprecated = true];
    */
   @java.lang.Override
-  @java.lang.Deprecated
-  public java.util.Map getIssueMatchesMap() {
+  @java.lang.Deprecated public java.util.Map getIssueMatchesMap() {
     return internalGetIssueMatches().getMap();
   }
   /**
-   *
-   *
    * 
    * A map associating each issue resource name with its respective number of
    * matches in the set of conversations. Key has the format:
@@ -2867,17 +2385,15 @@ public java.util.Map getIssueMatchesMap() {
    * map<string, int32> issue_matches = 6 [deprecated = true];
    */
   @java.lang.Override
-  @java.lang.Deprecated
-  public int getIssueMatchesOrDefault(java.lang.String key, int defaultValue) {
-    if (key == null) {
-      throw new NullPointerException("map key");
-    }
-    java.util.Map map = internalGetIssueMatches().getMap();
+  @java.lang.Deprecated public int getIssueMatchesOrDefault(
+      java.lang.String key,
+      int defaultValue) {
+    if (key == null) { throw new NullPointerException("map key"); }
+    java.util.Map map =
+        internalGetIssueMatches().getMap();
     return map.containsKey(key) ? map.get(key) : defaultValue;
   }
   /**
-   *
-   *
    * 
    * A map associating each issue resource name with its respective number of
    * matches in the set of conversations. Key has the format:
@@ -2888,12 +2404,11 @@ public int getIssueMatchesOrDefault(java.lang.String key, int defaultValue) {
    * map<string, int32> issue_matches = 6 [deprecated = true];
    */
   @java.lang.Override
-  @java.lang.Deprecated
-  public int getIssueMatchesOrThrow(java.lang.String key) {
-    if (key == null) {
-      throw new NullPointerException("map key");
-    }
-    java.util.Map map = internalGetIssueMatches().getMap();
+  @java.lang.Deprecated public int getIssueMatchesOrThrow(
+      java.lang.String key) {
+    if (key == null) { throw new NullPointerException("map key"); }
+    java.util.Map map =
+        internalGetIssueMatches().getMap();
     if (!map.containsKey(key)) {
       throw new java.lang.IllegalArgumentException();
     }
@@ -2901,145 +2416,102 @@ public int getIssueMatchesOrThrow(java.lang.String key) {
   }
 
   public static final int ISSUE_MATCHES_STATS_FIELD_NUMBER = 8;
-
   private static final class IssueMatchesStatsDefaultEntryHolder {
     static final com.google.protobuf.MapEntry<
-            java.lang.String,
-            com.google.cloud.contactcenterinsights.v1.IssueModelLabelStats.IssueStats>
-        defaultEntry =
+        java.lang.String, com.google.cloud.contactcenterinsights.v1.IssueModelLabelStats.IssueStats> defaultEntry =
             com.google.protobuf.MapEntry
-                .
-                    newDefaultInstance(
-                        com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto
-                            .internal_static_google_cloud_contactcenterinsights_v1_CalculateStatsResponse_IssueMatchesStatsEntry_descriptor,
-                        com.google.protobuf.WireFormat.FieldType.STRING,
-                        "",
-                        com.google.protobuf.WireFormat.FieldType.MESSAGE,
-                        com.google.cloud.contactcenterinsights.v1.IssueModelLabelStats.IssueStats
-                            .getDefaultInstance());
+            .newDefaultInstance(
+                com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto.internal_static_google_cloud_contactcenterinsights_v1_CalculateStatsResponse_IssueMatchesStatsEntry_descriptor, 
+                com.google.protobuf.WireFormat.FieldType.STRING,
+                "",
+                com.google.protobuf.WireFormat.FieldType.MESSAGE,
+                com.google.cloud.contactcenterinsights.v1.IssueModelLabelStats.IssueStats.getDefaultInstance());
   }
-
   @SuppressWarnings("serial")
   private com.google.protobuf.MapField<
-          java.lang.String,
-          com.google.cloud.contactcenterinsights.v1.IssueModelLabelStats.IssueStats>
-      issueMatchesStats_;
-
-  private com.google.protobuf.MapField<
-          java.lang.String,
-          com.google.cloud.contactcenterinsights.v1.IssueModelLabelStats.IssueStats>
-      internalGetIssueMatchesStats() {
+      java.lang.String, com.google.cloud.contactcenterinsights.v1.IssueModelLabelStats.IssueStats> issueMatchesStats_;
+  private com.google.protobuf.MapField
+  internalGetIssueMatchesStats() {
     if (issueMatchesStats_ == null) {
       return com.google.protobuf.MapField.emptyMapField(
           IssueMatchesStatsDefaultEntryHolder.defaultEntry);
     }
     return issueMatchesStats_;
   }
-
   public int getIssueMatchesStatsCount() {
     return internalGetIssueMatchesStats().getMap().size();
   }
   /**
-   *
-   *
    * 
    * A map associating each issue resource name with its respective number of
    * matches in the set of conversations. Key has the format:
    * `projects/<Project-ID>/locations/<Location-ID>/issueModels/<Issue-Model-ID>/issues/<Issue-ID>`
    * 
* - * - * map<string, .google.cloud.contactcenterinsights.v1.IssueModelLabelStats.IssueStats> issue_matches_stats = 8; - * + * map<string, .google.cloud.contactcenterinsights.v1.IssueModelLabelStats.IssueStats> issue_matches_stats = 8; */ @java.lang.Override - public boolean containsIssueMatchesStats(java.lang.String key) { - if (key == null) { - throw new NullPointerException("map key"); - } + public boolean containsIssueMatchesStats( + java.lang.String key) { + if (key == null) { throw new NullPointerException("map key"); } return internalGetIssueMatchesStats().getMap().containsKey(key); } - /** Use {@link #getIssueMatchesStatsMap()} instead. */ + /** + * Use {@link #getIssueMatchesStatsMap()} instead. + */ @java.lang.Override @java.lang.Deprecated - public java.util.Map< - java.lang.String, - com.google.cloud.contactcenterinsights.v1.IssueModelLabelStats.IssueStats> - getIssueMatchesStats() { + public java.util.Map getIssueMatchesStats() { return getIssueMatchesStatsMap(); } /** - * - * *
    * A map associating each issue resource name with its respective number of
    * matches in the set of conversations. Key has the format:
    * `projects/<Project-ID>/locations/<Location-ID>/issueModels/<Issue-Model-ID>/issues/<Issue-ID>`
    * 
* - * - * map<string, .google.cloud.contactcenterinsights.v1.IssueModelLabelStats.IssueStats> issue_matches_stats = 8; - * + * map<string, .google.cloud.contactcenterinsights.v1.IssueModelLabelStats.IssueStats> issue_matches_stats = 8; */ @java.lang.Override - public java.util.Map< - java.lang.String, - com.google.cloud.contactcenterinsights.v1.IssueModelLabelStats.IssueStats> - getIssueMatchesStatsMap() { + public java.util.Map getIssueMatchesStatsMap() { return internalGetIssueMatchesStats().getMap(); } /** - * - * *
    * A map associating each issue resource name with its respective number of
    * matches in the set of conversations. Key has the format:
    * `projects/<Project-ID>/locations/<Location-ID>/issueModels/<Issue-Model-ID>/issues/<Issue-ID>`
    * 
* - * - * map<string, .google.cloud.contactcenterinsights.v1.IssueModelLabelStats.IssueStats> issue_matches_stats = 8; - * + * map<string, .google.cloud.contactcenterinsights.v1.IssueModelLabelStats.IssueStats> issue_matches_stats = 8; */ @java.lang.Override - public /* nullable */ com.google.cloud.contactcenterinsights.v1.IssueModelLabelStats.IssueStats - getIssueMatchesStatsOrDefault( - java.lang.String key, - /* nullable */ - com.google.cloud.contactcenterinsights.v1.IssueModelLabelStats.IssueStats defaultValue) { - if (key == null) { - throw new NullPointerException("map key"); - } - java.util.Map< - java.lang.String, - com.google.cloud.contactcenterinsights.v1.IssueModelLabelStats.IssueStats> - map = internalGetIssueMatchesStats().getMap(); + public /* nullable */ +com.google.cloud.contactcenterinsights.v1.IssueModelLabelStats.IssueStats getIssueMatchesStatsOrDefault( + java.lang.String key, + /* nullable */ +com.google.cloud.contactcenterinsights.v1.IssueModelLabelStats.IssueStats defaultValue) { + if (key == null) { throw new NullPointerException("map key"); } + java.util.Map map = + internalGetIssueMatchesStats().getMap(); return map.containsKey(key) ? map.get(key) : defaultValue; } /** - * - * *
    * A map associating each issue resource name with its respective number of
    * matches in the set of conversations. Key has the format:
    * `projects/<Project-ID>/locations/<Location-ID>/issueModels/<Issue-Model-ID>/issues/<Issue-ID>`
    * 
* - * - * map<string, .google.cloud.contactcenterinsights.v1.IssueModelLabelStats.IssueStats> issue_matches_stats = 8; - * + * map<string, .google.cloud.contactcenterinsights.v1.IssueModelLabelStats.IssueStats> issue_matches_stats = 8; */ @java.lang.Override - public com.google.cloud.contactcenterinsights.v1.IssueModelLabelStats.IssueStats - getIssueMatchesStatsOrThrow(java.lang.String key) { - if (key == null) { - throw new NullPointerException("map key"); - } - java.util.Map< - java.lang.String, - com.google.cloud.contactcenterinsights.v1.IssueModelLabelStats.IssueStats> - map = internalGetIssueMatchesStats().getMap(); + public com.google.cloud.contactcenterinsights.v1.IssueModelLabelStats.IssueStats getIssueMatchesStatsOrThrow( + java.lang.String key) { + if (key == null) { throw new NullPointerException("map key"); } + java.util.Map map = + internalGetIssueMatchesStats().getMap(); if (!map.containsKey(key)) { throw new java.lang.IllegalArgumentException(); } @@ -3047,20 +2519,14 @@ public boolean containsIssueMatchesStats(java.lang.String key) { } public static final int CONVERSATION_COUNT_TIME_SERIES_FIELD_NUMBER = 7; - private com.google.cloud.contactcenterinsights.v1.CalculateStatsResponse.TimeSeries - conversationCountTimeSeries_; + private com.google.cloud.contactcenterinsights.v1.CalculateStatsResponse.TimeSeries conversationCountTimeSeries_; /** - * - * *
    * A time series representing the count of conversations created over time
    * that match that requested filter criteria.
    * 
* - * - * .google.cloud.contactcenterinsights.v1.CalculateStatsResponse.TimeSeries conversation_count_time_series = 7; - * - * + * .google.cloud.contactcenterinsights.v1.CalculateStatsResponse.TimeSeries conversation_count_time_series = 7; * @return Whether the conversationCountTimeSeries field is set. */ @java.lang.Override @@ -3068,50 +2534,32 @@ public boolean hasConversationCountTimeSeries() { return conversationCountTimeSeries_ != null; } /** - * - * *
    * A time series representing the count of conversations created over time
    * that match that requested filter criteria.
    * 
* - * - * .google.cloud.contactcenterinsights.v1.CalculateStatsResponse.TimeSeries conversation_count_time_series = 7; - * - * + * .google.cloud.contactcenterinsights.v1.CalculateStatsResponse.TimeSeries conversation_count_time_series = 7; * @return The conversationCountTimeSeries. */ @java.lang.Override - public com.google.cloud.contactcenterinsights.v1.CalculateStatsResponse.TimeSeries - getConversationCountTimeSeries() { - return conversationCountTimeSeries_ == null - ? com.google.cloud.contactcenterinsights.v1.CalculateStatsResponse.TimeSeries - .getDefaultInstance() - : conversationCountTimeSeries_; + public com.google.cloud.contactcenterinsights.v1.CalculateStatsResponse.TimeSeries getConversationCountTimeSeries() { + return conversationCountTimeSeries_ == null ? com.google.cloud.contactcenterinsights.v1.CalculateStatsResponse.TimeSeries.getDefaultInstance() : conversationCountTimeSeries_; } /** - * - * *
    * A time series representing the count of conversations created over time
    * that match that requested filter criteria.
    * 
* - * - * .google.cloud.contactcenterinsights.v1.CalculateStatsResponse.TimeSeries conversation_count_time_series = 7; - * + * .google.cloud.contactcenterinsights.v1.CalculateStatsResponse.TimeSeries conversation_count_time_series = 7; */ @java.lang.Override - public com.google.cloud.contactcenterinsights.v1.CalculateStatsResponse.TimeSeriesOrBuilder - getConversationCountTimeSeriesOrBuilder() { - return conversationCountTimeSeries_ == null - ? com.google.cloud.contactcenterinsights.v1.CalculateStatsResponse.TimeSeries - .getDefaultInstance() - : conversationCountTimeSeries_; + public com.google.cloud.contactcenterinsights.v1.CalculateStatsResponse.TimeSeriesOrBuilder getConversationCountTimeSeriesOrBuilder() { + return conversationCountTimeSeries_ == null ? com.google.cloud.contactcenterinsights.v1.CalculateStatsResponse.TimeSeries.getDefaultInstance() : conversationCountTimeSeries_; } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -3123,7 +2571,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (averageDuration_ != null) { output.writeMessage(1, getAverageDuration()); } @@ -3133,22 +2582,29 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io if (conversationCount_ != 0) { output.writeInt32(3, conversationCount_); } - com.google.protobuf.GeneratedMessageV3.serializeStringMapTo( + com.google.protobuf.GeneratedMessageV3 + .serializeStringMapTo( output, internalGetSmartHighlighterMatches(), SmartHighlighterMatchesDefaultEntryHolder.defaultEntry, 4); - com.google.protobuf.GeneratedMessageV3.serializeStringMapTo( + com.google.protobuf.GeneratedMessageV3 + .serializeStringMapTo( output, internalGetCustomHighlighterMatches(), CustomHighlighterMatchesDefaultEntryHolder.defaultEntry, 5); - com.google.protobuf.GeneratedMessageV3.serializeStringMapTo( - output, internalGetIssueMatches(), IssueMatchesDefaultEntryHolder.defaultEntry, 6); + com.google.protobuf.GeneratedMessageV3 + .serializeStringMapTo( + output, + internalGetIssueMatches(), + IssueMatchesDefaultEntryHolder.defaultEntry, + 6); if (conversationCountTimeSeries_ != null) { output.writeMessage(7, getConversationCountTimeSeries()); } - com.google.protobuf.GeneratedMessageV3.serializeStringMapTo( + com.google.protobuf.GeneratedMessageV3 + .serializeStringMapTo( output, internalGetIssueMatchesStats(), IssueMatchesStatsDefaultEntryHolder.defaultEntry, @@ -3163,65 +2619,60 @@ public int getSerializedSize() { size = 0; if (averageDuration_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getAverageDuration()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, getAverageDuration()); } if (averageTurnCount_ != 0) { - size += com.google.protobuf.CodedOutputStream.computeInt32Size(2, averageTurnCount_); + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(2, averageTurnCount_); } if (conversationCount_ != 0) { - size += com.google.protobuf.CodedOutputStream.computeInt32Size(3, conversationCount_); - } - for (java.util.Map.Entry entry : - internalGetSmartHighlighterMatches().getMap().entrySet()) { - com.google.protobuf.MapEntry smartHighlighterMatches__ = - SmartHighlighterMatchesDefaultEntryHolder.defaultEntry - .newBuilderForType() - .setKey(entry.getKey()) - .setValue(entry.getValue()) - .build(); - size += - com.google.protobuf.CodedOutputStream.computeMessageSize(4, smartHighlighterMatches__); - } - for (java.util.Map.Entry entry : - internalGetCustomHighlighterMatches().getMap().entrySet()) { - com.google.protobuf.MapEntry customHighlighterMatches__ = - CustomHighlighterMatchesDefaultEntryHolder.defaultEntry - .newBuilderForType() - .setKey(entry.getKey()) - .setValue(entry.getValue()) - .build(); - size += - com.google.protobuf.CodedOutputStream.computeMessageSize(5, customHighlighterMatches__); - } - for (java.util.Map.Entry entry : - internalGetIssueMatches().getMap().entrySet()) { - com.google.protobuf.MapEntry issueMatches__ = - IssueMatchesDefaultEntryHolder.defaultEntry - .newBuilderForType() - .setKey(entry.getKey()) - .setValue(entry.getValue()) - .build(); - size += com.google.protobuf.CodedOutputStream.computeMessageSize(6, issueMatches__); + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(3, conversationCount_); + } + for (java.util.Map.Entry entry + : internalGetSmartHighlighterMatches().getMap().entrySet()) { + com.google.protobuf.MapEntry + smartHighlighterMatches__ = SmartHighlighterMatchesDefaultEntryHolder.defaultEntry.newBuilderForType() + .setKey(entry.getKey()) + .setValue(entry.getValue()) + .build(); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(4, smartHighlighterMatches__); + } + for (java.util.Map.Entry entry + : internalGetCustomHighlighterMatches().getMap().entrySet()) { + com.google.protobuf.MapEntry + customHighlighterMatches__ = CustomHighlighterMatchesDefaultEntryHolder.defaultEntry.newBuilderForType() + .setKey(entry.getKey()) + .setValue(entry.getValue()) + .build(); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(5, customHighlighterMatches__); + } + for (java.util.Map.Entry entry + : internalGetIssueMatches().getMap().entrySet()) { + com.google.protobuf.MapEntry + issueMatches__ = IssueMatchesDefaultEntryHolder.defaultEntry.newBuilderForType() + .setKey(entry.getKey()) + .setValue(entry.getValue()) + .build(); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(6, issueMatches__); } if (conversationCountTimeSeries_ != null) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize( - 7, getConversationCountTimeSeries()); - } - for (java.util.Map.Entry< - java.lang.String, - com.google.cloud.contactcenterinsights.v1.IssueModelLabelStats.IssueStats> - entry : internalGetIssueMatchesStats().getMap().entrySet()) { - com.google.protobuf.MapEntry< - java.lang.String, - com.google.cloud.contactcenterinsights.v1.IssueModelLabelStats.IssueStats> - issueMatchesStats__ = - IssueMatchesStatsDefaultEntryHolder.defaultEntry - .newBuilderForType() - .setKey(entry.getKey()) - .setValue(entry.getValue()) - .build(); - size += com.google.protobuf.CodedOutputStream.computeMessageSize(8, issueMatchesStats__); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(7, getConversationCountTimeSeries()); + } + for (java.util.Map.Entry entry + : internalGetIssueMatchesStats().getMap().entrySet()) { + com.google.protobuf.MapEntry + issueMatchesStats__ = IssueMatchesStatsDefaultEntryHolder.defaultEntry.newBuilderForType() + .setKey(entry.getKey()) + .setValue(entry.getValue()) + .build(); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(8, issueMatchesStats__); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -3231,30 +2682,34 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.contactcenterinsights.v1.CalculateStatsResponse)) { return super.equals(obj); } - com.google.cloud.contactcenterinsights.v1.CalculateStatsResponse other = - (com.google.cloud.contactcenterinsights.v1.CalculateStatsResponse) obj; + com.google.cloud.contactcenterinsights.v1.CalculateStatsResponse other = (com.google.cloud.contactcenterinsights.v1.CalculateStatsResponse) obj; if (hasAverageDuration() != other.hasAverageDuration()) return false; if (hasAverageDuration()) { - if (!getAverageDuration().equals(other.getAverageDuration())) return false; - } - if (getAverageTurnCount() != other.getAverageTurnCount()) return false; - if (getConversationCount() != other.getConversationCount()) return false; - if (!internalGetSmartHighlighterMatches().equals(other.internalGetSmartHighlighterMatches())) - return false; - if (!internalGetCustomHighlighterMatches().equals(other.internalGetCustomHighlighterMatches())) - return false; - if (!internalGetIssueMatches().equals(other.internalGetIssueMatches())) return false; - if (!internalGetIssueMatchesStats().equals(other.internalGetIssueMatchesStats())) return false; + if (!getAverageDuration() + .equals(other.getAverageDuration())) return false; + } + if (getAverageTurnCount() + != other.getAverageTurnCount()) return false; + if (getConversationCount() + != other.getConversationCount()) return false; + if (!internalGetSmartHighlighterMatches().equals( + other.internalGetSmartHighlighterMatches())) return false; + if (!internalGetCustomHighlighterMatches().equals( + other.internalGetCustomHighlighterMatches())) return false; + if (!internalGetIssueMatches().equals( + other.internalGetIssueMatches())) return false; + if (!internalGetIssueMatchesStats().equals( + other.internalGetIssueMatchesStats())) return false; if (hasConversationCountTimeSeries() != other.hasConversationCountTimeSeries()) return false; if (hasConversationCountTimeSeries()) { - if (!getConversationCountTimeSeries().equals(other.getConversationCountTimeSeries())) - return false; + if (!getConversationCountTimeSeries() + .equals(other.getConversationCountTimeSeries())) return false; } if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -3301,121 +2756,114 @@ public int hashCode() { } public static com.google.cloud.contactcenterinsights.v1.CalculateStatsResponse parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.contactcenterinsights.v1.CalculateStatsResponse parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.contactcenterinsights.v1.CalculateStatsResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.contactcenterinsights.v1.CalculateStatsResponse parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.contactcenterinsights.v1.CalculateStatsResponse parseFrom( - byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.contactcenterinsights.v1.CalculateStatsResponse parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.contactcenterinsights.v1.CalculateStatsResponse parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.contactcenterinsights.v1.CalculateStatsResponse parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.contactcenterinsights.v1.CalculateStatsResponse parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.contactcenterinsights.v1.CalculateStatsResponse parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.contactcenterinsights.v1.CalculateStatsResponse parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.contactcenterinsights.v1.CalculateStatsResponse parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.contactcenterinsights.v1.CalculateStatsResponse parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.contactcenterinsights.v1.CalculateStatsResponse parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.contactcenterinsights.v1.CalculateStatsResponse parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.contactcenterinsights.v1.CalculateStatsResponse prototype) { + public static Builder newBuilder(com.google.cloud.contactcenterinsights.v1.CalculateStatsResponse prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * The response for calculating conversation statistics.
    * 
* * Protobuf type {@code google.cloud.contactcenterinsights.v1.CalculateStatsResponse} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.contactcenterinsights.v1.CalculateStatsResponse) com.google.cloud.contactcenterinsights.v1.CalculateStatsResponseOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto - .internal_static_google_cloud_contactcenterinsights_v1_CalculateStatsResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto.internal_static_google_cloud_contactcenterinsights_v1_CalculateStatsResponse_descriptor; } @SuppressWarnings({"rawtypes"}) - protected com.google.protobuf.MapField internalGetMapField(int number) { + protected com.google.protobuf.MapField internalGetMapField( + int number) { switch (number) { case 4: return internalGetSmartHighlighterMatches(); @@ -3426,12 +2874,13 @@ protected com.google.protobuf.MapField internalGetMapField(int number) { case 8: return internalGetIssueMatchesStats(); default: - throw new RuntimeException("Invalid map field number: " + number); + throw new RuntimeException( + "Invalid map field number: " + number); } } - @SuppressWarnings({"rawtypes"}) - protected com.google.protobuf.MapField internalGetMutableMapField(int number) { + protected com.google.protobuf.MapField internalGetMutableMapField( + int number) { switch (number) { case 4: return internalGetMutableSmartHighlighterMatches(); @@ -3442,27 +2891,28 @@ protected com.google.protobuf.MapField internalGetMutableMapField(int number) { case 8: return internalGetMutableIssueMatchesStats(); default: - throw new RuntimeException("Invalid map field number: " + number); + throw new RuntimeException( + "Invalid map field number: " + number); } } - @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto - .internal_static_google_cloud_contactcenterinsights_v1_CalculateStatsResponse_fieldAccessorTable + return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto.internal_static_google_cloud_contactcenterinsights_v1_CalculateStatsResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.contactcenterinsights.v1.CalculateStatsResponse.class, - com.google.cloud.contactcenterinsights.v1.CalculateStatsResponse.Builder.class); + com.google.cloud.contactcenterinsights.v1.CalculateStatsResponse.class, com.google.cloud.contactcenterinsights.v1.CalculateStatsResponse.Builder.class); } // Construct using com.google.cloud.contactcenterinsights.v1.CalculateStatsResponse.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -3487,14 +2937,13 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto - .internal_static_google_cloud_contactcenterinsights_v1_CalculateStatsResponse_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto.internal_static_google_cloud_contactcenterinsights_v1_CalculateStatsResponse_descriptor; } @java.lang.Override - public com.google.cloud.contactcenterinsights.v1.CalculateStatsResponse - getDefaultInstanceForType() { + public com.google.cloud.contactcenterinsights.v1.CalculateStatsResponse getDefaultInstanceForType() { return com.google.cloud.contactcenterinsights.v1.CalculateStatsResponse.getDefaultInstance(); } @@ -3509,21 +2958,18 @@ public com.google.cloud.contactcenterinsights.v1.CalculateStatsResponse build() @java.lang.Override public com.google.cloud.contactcenterinsights.v1.CalculateStatsResponse buildPartial() { - com.google.cloud.contactcenterinsights.v1.CalculateStatsResponse result = - new com.google.cloud.contactcenterinsights.v1.CalculateStatsResponse(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + com.google.cloud.contactcenterinsights.v1.CalculateStatsResponse result = new com.google.cloud.contactcenterinsights.v1.CalculateStatsResponse(this); + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } - private void buildPartial0( - com.google.cloud.contactcenterinsights.v1.CalculateStatsResponse result) { + private void buildPartial0(com.google.cloud.contactcenterinsights.v1.CalculateStatsResponse result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { - result.averageDuration_ = - averageDurationBuilder_ == null ? averageDuration_ : averageDurationBuilder_.build(); + result.averageDuration_ = averageDurationBuilder_ == null + ? averageDuration_ + : averageDurationBuilder_.build(); } if (((from_bitField0_ & 0x00000002) != 0)) { result.averageTurnCount_ = averageTurnCount_; @@ -3548,10 +2994,9 @@ private void buildPartial0( result.issueMatchesStats_.makeImmutable(); } if (((from_bitField0_ & 0x00000080) != 0)) { - result.conversationCountTimeSeries_ = - conversationCountTimeSeriesBuilder_ == null - ? conversationCountTimeSeries_ - : conversationCountTimeSeriesBuilder_.build(); + result.conversationCountTimeSeries_ = conversationCountTimeSeriesBuilder_ == null + ? conversationCountTimeSeries_ + : conversationCountTimeSeriesBuilder_.build(); } } @@ -3559,50 +3004,46 @@ private void buildPartial0( public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.contactcenterinsights.v1.CalculateStatsResponse) { - return mergeFrom((com.google.cloud.contactcenterinsights.v1.CalculateStatsResponse) other); + return mergeFrom((com.google.cloud.contactcenterinsights.v1.CalculateStatsResponse)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom( - com.google.cloud.contactcenterinsights.v1.CalculateStatsResponse other) { - if (other - == com.google.cloud.contactcenterinsights.v1.CalculateStatsResponse.getDefaultInstance()) - return this; + public Builder mergeFrom(com.google.cloud.contactcenterinsights.v1.CalculateStatsResponse other) { + if (other == com.google.cloud.contactcenterinsights.v1.CalculateStatsResponse.getDefaultInstance()) return this; if (other.hasAverageDuration()) { mergeAverageDuration(other.getAverageDuration()); } @@ -3612,15 +3053,17 @@ public Builder mergeFrom( if (other.getConversationCount() != 0) { setConversationCount(other.getConversationCount()); } - internalGetMutableSmartHighlighterMatches() - .mergeFrom(other.internalGetSmartHighlighterMatches()); + internalGetMutableSmartHighlighterMatches().mergeFrom( + other.internalGetSmartHighlighterMatches()); bitField0_ |= 0x00000008; - internalGetMutableCustomHighlighterMatches() - .mergeFrom(other.internalGetCustomHighlighterMatches()); + internalGetMutableCustomHighlighterMatches().mergeFrom( + other.internalGetCustomHighlighterMatches()); bitField0_ |= 0x00000010; - internalGetMutableIssueMatches().mergeFrom(other.internalGetIssueMatches()); + internalGetMutableIssueMatches().mergeFrom( + other.internalGetIssueMatches()); bitField0_ |= 0x00000020; - internalGetMutableIssueMatchesStats().mergeFrom(other.internalGetIssueMatchesStats()); + internalGetMutableIssueMatchesStats().mergeFrom( + other.internalGetIssueMatchesStats()); bitField0_ |= 0x00000040; if (other.hasConversationCountTimeSeries()) { mergeConversationCountTimeSeries(other.getConversationCountTimeSeries()); @@ -3651,94 +3094,72 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - input.readMessage(getAverageDurationFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 16: - { - averageTurnCount_ = input.readInt32(); - bitField0_ |= 0x00000002; - break; - } // case 16 - case 24: - { - conversationCount_ = input.readInt32(); - bitField0_ |= 0x00000004; - break; - } // case 24 - case 34: - { - com.google.protobuf.MapEntry - smartHighlighterMatches__ = - input.readMessage( - SmartHighlighterMatchesDefaultEntryHolder.defaultEntry - .getParserForType(), - extensionRegistry); - internalGetMutableSmartHighlighterMatches() - .getMutableMap() - .put(smartHighlighterMatches__.getKey(), smartHighlighterMatches__.getValue()); - bitField0_ |= 0x00000008; - break; - } // case 34 - case 42: - { - com.google.protobuf.MapEntry - customHighlighterMatches__ = - input.readMessage( - CustomHighlighterMatchesDefaultEntryHolder.defaultEntry - .getParserForType(), - extensionRegistry); - internalGetMutableCustomHighlighterMatches() - .getMutableMap() - .put( - customHighlighterMatches__.getKey(), customHighlighterMatches__.getValue()); - bitField0_ |= 0x00000010; - break; - } // case 42 - case 50: - { - com.google.protobuf.MapEntry issueMatches__ = - input.readMessage( - IssueMatchesDefaultEntryHolder.defaultEntry.getParserForType(), - extensionRegistry); - internalGetMutableIssueMatches() - .getMutableMap() - .put(issueMatches__.getKey(), issueMatches__.getValue()); - bitField0_ |= 0x00000020; - break; - } // case 50 - case 58: - { - input.readMessage( - getConversationCountTimeSeriesFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00000080; - break; - } // case 58 - case 66: - { - com.google.protobuf.MapEntry< - java.lang.String, - com.google.cloud.contactcenterinsights.v1.IssueModelLabelStats.IssueStats> - issueMatchesStats__ = - input.readMessage( - IssueMatchesStatsDefaultEntryHolder.defaultEntry.getParserForType(), - extensionRegistry); - internalGetMutableIssueMatchesStats() - .getMutableMap() - .put(issueMatchesStats__.getKey(), issueMatchesStats__.getValue()); - bitField0_ |= 0x00000040; - break; - } // case 66 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + input.readMessage( + getAverageDurationFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 16: { + averageTurnCount_ = input.readInt32(); + bitField0_ |= 0x00000002; + break; + } // case 16 + case 24: { + conversationCount_ = input.readInt32(); + bitField0_ |= 0x00000004; + break; + } // case 24 + case 34: { + com.google.protobuf.MapEntry + smartHighlighterMatches__ = input.readMessage( + SmartHighlighterMatchesDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry); + internalGetMutableSmartHighlighterMatches().getMutableMap().put( + smartHighlighterMatches__.getKey(), smartHighlighterMatches__.getValue()); + bitField0_ |= 0x00000008; + break; + } // case 34 + case 42: { + com.google.protobuf.MapEntry + customHighlighterMatches__ = input.readMessage( + CustomHighlighterMatchesDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry); + internalGetMutableCustomHighlighterMatches().getMutableMap().put( + customHighlighterMatches__.getKey(), customHighlighterMatches__.getValue()); + bitField0_ |= 0x00000010; + break; + } // case 42 + case 50: { + com.google.protobuf.MapEntry + issueMatches__ = input.readMessage( + IssueMatchesDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry); + internalGetMutableIssueMatches().getMutableMap().put( + issueMatches__.getKey(), issueMatches__.getValue()); + bitField0_ |= 0x00000020; + break; + } // case 50 + case 58: { + input.readMessage( + getConversationCountTimeSeriesFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00000080; + break; + } // case 58 + case 66: { + com.google.protobuf.MapEntry + issueMatchesStats__ = input.readMessage( + IssueMatchesStatsDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry); + internalGetMutableIssueMatchesStats().getMutableMap().put( + issueMatchesStats__.getKey(), issueMatchesStats__.getValue()); + bitField0_ |= 0x00000040; + break; + } // case 66 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -3748,54 +3169,40 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private com.google.protobuf.Duration averageDuration_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Duration, - com.google.protobuf.Duration.Builder, - com.google.protobuf.DurationOrBuilder> - averageDurationBuilder_; + com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder> averageDurationBuilder_; /** - * - * *
      * The average duration of all conversations. The average is calculated using
      * only conversations that have a time duration.
      * 
* * .google.protobuf.Duration average_duration = 1; - * * @return Whether the averageDuration field is set. */ public boolean hasAverageDuration() { return ((bitField0_ & 0x00000001) != 0); } /** - * - * *
      * The average duration of all conversations. The average is calculated using
      * only conversations that have a time duration.
      * 
* * .google.protobuf.Duration average_duration = 1; - * * @return The averageDuration. */ public com.google.protobuf.Duration getAverageDuration() { if (averageDurationBuilder_ == null) { - return averageDuration_ == null - ? com.google.protobuf.Duration.getDefaultInstance() - : averageDuration_; + return averageDuration_ == null ? com.google.protobuf.Duration.getDefaultInstance() : averageDuration_; } else { return averageDurationBuilder_.getMessage(); } } /** - * - * *
      * The average duration of all conversations. The average is calculated using
      * only conversations that have a time duration.
@@ -3817,8 +3224,6 @@ public Builder setAverageDuration(com.google.protobuf.Duration value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * The average duration of all conversations. The average is calculated using
      * only conversations that have a time duration.
@@ -3826,7 +3231,8 @@ public Builder setAverageDuration(com.google.protobuf.Duration value) {
      *
      * .google.protobuf.Duration average_duration = 1;
      */
-    public Builder setAverageDuration(com.google.protobuf.Duration.Builder builderForValue) {
+    public Builder setAverageDuration(
+        com.google.protobuf.Duration.Builder builderForValue) {
       if (averageDurationBuilder_ == null) {
         averageDuration_ = builderForValue.build();
       } else {
@@ -3837,8 +3243,6 @@ public Builder setAverageDuration(com.google.protobuf.Duration.Builder builderFo
       return this;
     }
     /**
-     *
-     *
      * 
      * The average duration of all conversations. The average is calculated using
      * only conversations that have a time duration.
@@ -3848,9 +3252,9 @@ public Builder setAverageDuration(com.google.protobuf.Duration.Builder builderFo
      */
     public Builder mergeAverageDuration(com.google.protobuf.Duration value) {
       if (averageDurationBuilder_ == null) {
-        if (((bitField0_ & 0x00000001) != 0)
-            && averageDuration_ != null
-            && averageDuration_ != com.google.protobuf.Duration.getDefaultInstance()) {
+        if (((bitField0_ & 0x00000001) != 0) &&
+          averageDuration_ != null &&
+          averageDuration_ != com.google.protobuf.Duration.getDefaultInstance()) {
           getAverageDurationBuilder().mergeFrom(value);
         } else {
           averageDuration_ = value;
@@ -3863,8 +3267,6 @@ public Builder mergeAverageDuration(com.google.protobuf.Duration value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * The average duration of all conversations. The average is calculated using
      * only conversations that have a time duration.
@@ -3883,8 +3285,6 @@ public Builder clearAverageDuration() {
       return this;
     }
     /**
-     *
-     *
      * 
      * The average duration of all conversations. The average is calculated using
      * only conversations that have a time duration.
@@ -3898,8 +3298,6 @@ public com.google.protobuf.Duration.Builder getAverageDurationBuilder() {
       return getAverageDurationFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * The average duration of all conversations. The average is calculated using
      * only conversations that have a time duration.
@@ -3911,14 +3309,11 @@ public com.google.protobuf.DurationOrBuilder getAverageDurationOrBuilder() {
       if (averageDurationBuilder_ != null) {
         return averageDurationBuilder_.getMessageOrBuilder();
       } else {
-        return averageDuration_ == null
-            ? com.google.protobuf.Duration.getDefaultInstance()
-            : averageDuration_;
+        return averageDuration_ == null ?
+            com.google.protobuf.Duration.getDefaultInstance() : averageDuration_;
       }
     }
     /**
-     *
-     *
      * 
      * The average duration of all conversations. The average is calculated using
      * only conversations that have a time duration.
@@ -3927,32 +3322,26 @@ public com.google.protobuf.DurationOrBuilder getAverageDurationOrBuilder() {
      * .google.protobuf.Duration average_duration = 1;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.protobuf.Duration,
-            com.google.protobuf.Duration.Builder,
-            com.google.protobuf.DurationOrBuilder>
+        com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder> 
         getAverageDurationFieldBuilder() {
       if (averageDurationBuilder_ == null) {
-        averageDurationBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.protobuf.Duration,
-                com.google.protobuf.Duration.Builder,
-                com.google.protobuf.DurationOrBuilder>(
-                getAverageDuration(), getParentForChildren(), isClean());
+        averageDurationBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder>(
+                getAverageDuration(),
+                getParentForChildren(),
+                isClean());
         averageDuration_ = null;
       }
       return averageDurationBuilder_;
     }
 
-    private int averageTurnCount_;
+    private int averageTurnCount_ ;
     /**
-     *
-     *
      * 
      * The average number of turns per conversation.
      * 
* * int32 average_turn_count = 2; - * * @return The averageTurnCount. */ @java.lang.Override @@ -3960,33 +3349,27 @@ public int getAverageTurnCount() { return averageTurnCount_; } /** - * - * *
      * The average number of turns per conversation.
      * 
* * int32 average_turn_count = 2; - * * @param value The averageTurnCount to set. * @return This builder for chaining. */ public Builder setAverageTurnCount(int value) { - + averageTurnCount_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** - * - * *
      * The average number of turns per conversation.
      * 
* * int32 average_turn_count = 2; - * * @return This builder for chaining. */ public Builder clearAverageTurnCount() { @@ -3996,16 +3379,13 @@ public Builder clearAverageTurnCount() { return this; } - private int conversationCount_; + private int conversationCount_ ; /** - * - * *
      * The total number of conversations.
      * 
* * int32 conversation_count = 3; - * * @return The conversationCount. */ @java.lang.Override @@ -4013,33 +3393,27 @@ public int getConversationCount() { return conversationCount_; } /** - * - * *
      * The total number of conversations.
      * 
* * int32 conversation_count = 3; - * * @param value The conversationCount to set. * @return This builder for chaining. */ public Builder setConversationCount(int value) { - + conversationCount_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } /** - * - * *
      * The total number of conversations.
      * 
* * int32 conversation_count = 3; - * * @return This builder for chaining. */ public Builder clearConversationCount() { @@ -4049,9 +3423,8 @@ public Builder clearConversationCount() { return this; } - private com.google.protobuf.MapField - smartHighlighterMatches_; - + private com.google.protobuf.MapField< + java.lang.String, java.lang.Integer> smartHighlighterMatches_; private com.google.protobuf.MapField internalGetSmartHighlighterMatches() { if (smartHighlighterMatches_ == null) { @@ -4060,13 +3433,11 @@ public Builder clearConversationCount() { } return smartHighlighterMatches_; } - private com.google.protobuf.MapField internalGetMutableSmartHighlighterMatches() { if (smartHighlighterMatches_ == null) { - smartHighlighterMatches_ = - com.google.protobuf.MapField.newMapField( - SmartHighlighterMatchesDefaultEntryHolder.defaultEntry); + smartHighlighterMatches_ = com.google.protobuf.MapField.newMapField( + SmartHighlighterMatchesDefaultEntryHolder.defaultEntry); } if (!smartHighlighterMatches_.isMutable()) { smartHighlighterMatches_ = smartHighlighterMatches_.copy(); @@ -4075,13 +3446,10 @@ public Builder clearConversationCount() { onChanged(); return smartHighlighterMatches_; } - public int getSmartHighlighterMatchesCount() { return internalGetSmartHighlighterMatches().getMap().size(); } /** - * - * *
      * A map associating each smart highlighter display name with its respective
      * number of matches in the set of conversations.
@@ -4090,21 +3458,20 @@ public int getSmartHighlighterMatchesCount() {
      * map<string, int32> smart_highlighter_matches = 4;
      */
     @java.lang.Override
-    public boolean containsSmartHighlighterMatches(java.lang.String key) {
-      if (key == null) {
-        throw new NullPointerException("map key");
-      }
+    public boolean containsSmartHighlighterMatches(
+        java.lang.String key) {
+      if (key == null) { throw new NullPointerException("map key"); }
       return internalGetSmartHighlighterMatches().getMap().containsKey(key);
     }
-    /** Use {@link #getSmartHighlighterMatchesMap()} instead. */
+    /**
+     * Use {@link #getSmartHighlighterMatchesMap()} instead.
+     */
     @java.lang.Override
     @java.lang.Deprecated
     public java.util.Map getSmartHighlighterMatches() {
       return getSmartHighlighterMatchesMap();
     }
     /**
-     *
-     *
      * 
      * A map associating each smart highlighter display name with its respective
      * number of matches in the set of conversations.
@@ -4117,8 +3484,6 @@ public java.util.Map getSmartHighlighterMat
       return internalGetSmartHighlighterMatches().getMap();
     }
     /**
-     *
-     *
      * 
      * A map associating each smart highlighter display name with its respective
      * number of matches in the set of conversations.
@@ -4127,17 +3492,15 @@ public java.util.Map getSmartHighlighterMat
      * map<string, int32> smart_highlighter_matches = 4;
      */
     @java.lang.Override
-    public int getSmartHighlighterMatchesOrDefault(java.lang.String key, int defaultValue) {
-      if (key == null) {
-        throw new NullPointerException("map key");
-      }
+    public int getSmartHighlighterMatchesOrDefault(
+        java.lang.String key,
+        int defaultValue) {
+      if (key == null) { throw new NullPointerException("map key"); }
       java.util.Map map =
           internalGetSmartHighlighterMatches().getMap();
       return map.containsKey(key) ? map.get(key) : defaultValue;
     }
     /**
-     *
-     *
      * 
      * A map associating each smart highlighter display name with its respective
      * number of matches in the set of conversations.
@@ -4146,10 +3509,9 @@ public int getSmartHighlighterMatchesOrDefault(java.lang.String key, int default
      * map<string, int32> smart_highlighter_matches = 4;
      */
     @java.lang.Override
-    public int getSmartHighlighterMatchesOrThrow(java.lang.String key) {
-      if (key == null) {
-        throw new NullPointerException("map key");
-      }
+    public int getSmartHighlighterMatchesOrThrow(
+        java.lang.String key) {
+      if (key == null) { throw new NullPointerException("map key"); }
       java.util.Map map =
           internalGetSmartHighlighterMatches().getMap();
       if (!map.containsKey(key)) {
@@ -4157,15 +3519,13 @@ public int getSmartHighlighterMatchesOrThrow(java.lang.String key) {
       }
       return map.get(key);
     }
-
     public Builder clearSmartHighlighterMatches() {
       bitField0_ = (bitField0_ & ~0x00000008);
-      internalGetMutableSmartHighlighterMatches().getMutableMap().clear();
+      internalGetMutableSmartHighlighterMatches().getMutableMap()
+          .clear();
       return this;
     }
     /**
-     *
-     *
      * 
      * A map associating each smart highlighter display name with its respective
      * number of matches in the set of conversations.
@@ -4173,22 +3533,23 @@ public Builder clearSmartHighlighterMatches() {
      *
      * map<string, int32> smart_highlighter_matches = 4;
      */
-    public Builder removeSmartHighlighterMatches(java.lang.String key) {
-      if (key == null) {
-        throw new NullPointerException("map key");
-      }
-      internalGetMutableSmartHighlighterMatches().getMutableMap().remove(key);
+    public Builder removeSmartHighlighterMatches(
+        java.lang.String key) {
+      if (key == null) { throw new NullPointerException("map key"); }
+      internalGetMutableSmartHighlighterMatches().getMutableMap()
+          .remove(key);
       return this;
     }
-    /** Use alternate mutation accessors instead. */
+    /**
+     * Use alternate mutation accessors instead.
+     */
     @java.lang.Deprecated
-    public java.util.Map getMutableSmartHighlighterMatches() {
+    public java.util.Map
+        getMutableSmartHighlighterMatches() {
       bitField0_ |= 0x00000008;
       return internalGetMutableSmartHighlighterMatches().getMutableMap();
     }
     /**
-     *
-     *
      * 
      * A map associating each smart highlighter display name with its respective
      * number of matches in the set of conversations.
@@ -4196,18 +3557,17 @@ public java.util.Map getMutableSmartHighlig
      *
      * map<string, int32> smart_highlighter_matches = 4;
      */
-    public Builder putSmartHighlighterMatches(java.lang.String key, int value) {
-      if (key == null) {
-        throw new NullPointerException("map key");
-      }
-
-      internalGetMutableSmartHighlighterMatches().getMutableMap().put(key, value);
+    public Builder putSmartHighlighterMatches(
+        java.lang.String key,
+        int value) {
+      if (key == null) { throw new NullPointerException("map key"); }
+      
+      internalGetMutableSmartHighlighterMatches().getMutableMap()
+          .put(key, value);
       bitField0_ |= 0x00000008;
       return this;
     }
     /**
-     *
-     *
      * 
      * A map associating each smart highlighter display name with its respective
      * number of matches in the set of conversations.
@@ -4217,14 +3577,14 @@ public Builder putSmartHighlighterMatches(java.lang.String key, int value) {
      */
     public Builder putAllSmartHighlighterMatches(
         java.util.Map values) {
-      internalGetMutableSmartHighlighterMatches().getMutableMap().putAll(values);
+      internalGetMutableSmartHighlighterMatches().getMutableMap()
+          .putAll(values);
       bitField0_ |= 0x00000008;
       return this;
     }
 
-    private com.google.protobuf.MapField
-        customHighlighterMatches_;
-
+    private com.google.protobuf.MapField<
+        java.lang.String, java.lang.Integer> customHighlighterMatches_;
     private com.google.protobuf.MapField
         internalGetCustomHighlighterMatches() {
       if (customHighlighterMatches_ == null) {
@@ -4233,13 +3593,11 @@ public Builder putAllSmartHighlighterMatches(
       }
       return customHighlighterMatches_;
     }
-
     private com.google.protobuf.MapField
         internalGetMutableCustomHighlighterMatches() {
       if (customHighlighterMatches_ == null) {
-        customHighlighterMatches_ =
-            com.google.protobuf.MapField.newMapField(
-                CustomHighlighterMatchesDefaultEntryHolder.defaultEntry);
+        customHighlighterMatches_ = com.google.protobuf.MapField.newMapField(
+            CustomHighlighterMatchesDefaultEntryHolder.defaultEntry);
       }
       if (!customHighlighterMatches_.isMutable()) {
         customHighlighterMatches_ = customHighlighterMatches_.copy();
@@ -4248,13 +3606,10 @@ public Builder putAllSmartHighlighterMatches(
       onChanged();
       return customHighlighterMatches_;
     }
-
     public int getCustomHighlighterMatchesCount() {
       return internalGetCustomHighlighterMatches().getMap().size();
     }
     /**
-     *
-     *
      * 
      * A map associating each custom highlighter resource name with its respective
      * number of matches in the set of conversations.
@@ -4263,21 +3618,20 @@ public int getCustomHighlighterMatchesCount() {
      * map<string, int32> custom_highlighter_matches = 5;
      */
     @java.lang.Override
-    public boolean containsCustomHighlighterMatches(java.lang.String key) {
-      if (key == null) {
-        throw new NullPointerException("map key");
-      }
+    public boolean containsCustomHighlighterMatches(
+        java.lang.String key) {
+      if (key == null) { throw new NullPointerException("map key"); }
       return internalGetCustomHighlighterMatches().getMap().containsKey(key);
     }
-    /** Use {@link #getCustomHighlighterMatchesMap()} instead. */
+    /**
+     * Use {@link #getCustomHighlighterMatchesMap()} instead.
+     */
     @java.lang.Override
     @java.lang.Deprecated
     public java.util.Map getCustomHighlighterMatches() {
       return getCustomHighlighterMatchesMap();
     }
     /**
-     *
-     *
      * 
      * A map associating each custom highlighter resource name with its respective
      * number of matches in the set of conversations.
@@ -4290,8 +3644,6 @@ public java.util.Map getCustomHighlighterMa
       return internalGetCustomHighlighterMatches().getMap();
     }
     /**
-     *
-     *
      * 
      * A map associating each custom highlighter resource name with its respective
      * number of matches in the set of conversations.
@@ -4300,17 +3652,15 @@ public java.util.Map getCustomHighlighterMa
      * map<string, int32> custom_highlighter_matches = 5;
      */
     @java.lang.Override
-    public int getCustomHighlighterMatchesOrDefault(java.lang.String key, int defaultValue) {
-      if (key == null) {
-        throw new NullPointerException("map key");
-      }
+    public int getCustomHighlighterMatchesOrDefault(
+        java.lang.String key,
+        int defaultValue) {
+      if (key == null) { throw new NullPointerException("map key"); }
       java.util.Map map =
           internalGetCustomHighlighterMatches().getMap();
       return map.containsKey(key) ? map.get(key) : defaultValue;
     }
     /**
-     *
-     *
      * 
      * A map associating each custom highlighter resource name with its respective
      * number of matches in the set of conversations.
@@ -4319,10 +3669,9 @@ public int getCustomHighlighterMatchesOrDefault(java.lang.String key, int defaul
      * map<string, int32> custom_highlighter_matches = 5;
      */
     @java.lang.Override
-    public int getCustomHighlighterMatchesOrThrow(java.lang.String key) {
-      if (key == null) {
-        throw new NullPointerException("map key");
-      }
+    public int getCustomHighlighterMatchesOrThrow(
+        java.lang.String key) {
+      if (key == null) { throw new NullPointerException("map key"); }
       java.util.Map map =
           internalGetCustomHighlighterMatches().getMap();
       if (!map.containsKey(key)) {
@@ -4330,15 +3679,13 @@ public int getCustomHighlighterMatchesOrThrow(java.lang.String key) {
       }
       return map.get(key);
     }
-
     public Builder clearCustomHighlighterMatches() {
       bitField0_ = (bitField0_ & ~0x00000010);
-      internalGetMutableCustomHighlighterMatches().getMutableMap().clear();
+      internalGetMutableCustomHighlighterMatches().getMutableMap()
+          .clear();
       return this;
     }
     /**
-     *
-     *
      * 
      * A map associating each custom highlighter resource name with its respective
      * number of matches in the set of conversations.
@@ -4346,22 +3693,23 @@ public Builder clearCustomHighlighterMatches() {
      *
      * map<string, int32> custom_highlighter_matches = 5;
      */
-    public Builder removeCustomHighlighterMatches(java.lang.String key) {
-      if (key == null) {
-        throw new NullPointerException("map key");
-      }
-      internalGetMutableCustomHighlighterMatches().getMutableMap().remove(key);
+    public Builder removeCustomHighlighterMatches(
+        java.lang.String key) {
+      if (key == null) { throw new NullPointerException("map key"); }
+      internalGetMutableCustomHighlighterMatches().getMutableMap()
+          .remove(key);
       return this;
     }
-    /** Use alternate mutation accessors instead. */
+    /**
+     * Use alternate mutation accessors instead.
+     */
     @java.lang.Deprecated
-    public java.util.Map getMutableCustomHighlighterMatches() {
+    public java.util.Map
+        getMutableCustomHighlighterMatches() {
       bitField0_ |= 0x00000010;
       return internalGetMutableCustomHighlighterMatches().getMutableMap();
     }
     /**
-     *
-     *
      * 
      * A map associating each custom highlighter resource name with its respective
      * number of matches in the set of conversations.
@@ -4369,18 +3717,17 @@ public java.util.Map getMutableCustomHighli
      *
      * map<string, int32> custom_highlighter_matches = 5;
      */
-    public Builder putCustomHighlighterMatches(java.lang.String key, int value) {
-      if (key == null) {
-        throw new NullPointerException("map key");
-      }
-
-      internalGetMutableCustomHighlighterMatches().getMutableMap().put(key, value);
+    public Builder putCustomHighlighterMatches(
+        java.lang.String key,
+        int value) {
+      if (key == null) { throw new NullPointerException("map key"); }
+      
+      internalGetMutableCustomHighlighterMatches().getMutableMap()
+          .put(key, value);
       bitField0_ |= 0x00000010;
       return this;
     }
     /**
-     *
-     *
      * 
      * A map associating each custom highlighter resource name with its respective
      * number of matches in the set of conversations.
@@ -4390,15 +3737,15 @@ public Builder putCustomHighlighterMatches(java.lang.String key, int value) {
      */
     public Builder putAllCustomHighlighterMatches(
         java.util.Map values) {
-      internalGetMutableCustomHighlighterMatches().getMutableMap().putAll(values);
+      internalGetMutableCustomHighlighterMatches().getMutableMap()
+          .putAll(values);
       bitField0_ |= 0x00000010;
       return this;
     }
 
-    private com.google.protobuf.MapField issueMatches_;
-
-    @java.lang.Deprecated
-    private com.google.protobuf.MapField
+    private com.google.protobuf.MapField<
+        java.lang.String, java.lang.Integer> issueMatches_;
+    @java.lang.Deprecated private com.google.protobuf.MapField
         internalGetIssueMatches() {
       if (issueMatches_ == null) {
         return com.google.protobuf.MapField.emptyMapField(
@@ -4406,13 +3753,11 @@ public Builder putAllCustomHighlighterMatches(
       }
       return issueMatches_;
     }
-
-    @java.lang.Deprecated
-    private com.google.protobuf.MapField
+    @java.lang.Deprecated private com.google.protobuf.MapField
         internalGetMutableIssueMatches() {
       if (issueMatches_ == null) {
-        issueMatches_ =
-            com.google.protobuf.MapField.newMapField(IssueMatchesDefaultEntryHolder.defaultEntry);
+        issueMatches_ = com.google.protobuf.MapField.newMapField(
+            IssueMatchesDefaultEntryHolder.defaultEntry);
       }
       if (!issueMatches_.isMutable()) {
         issueMatches_ = issueMatches_.copy();
@@ -4421,14 +3766,10 @@ public Builder putAllCustomHighlighterMatches(
       onChanged();
       return issueMatches_;
     }
-
-    @java.lang.Deprecated
-    public int getIssueMatchesCount() {
+    @java.lang.Deprecated public int getIssueMatchesCount() {
       return internalGetIssueMatches().getMap().size();
     }
     /**
-     *
-     *
      * 
      * A map associating each issue resource name with its respective number of
      * matches in the set of conversations. Key has the format:
@@ -4439,22 +3780,20 @@ public int getIssueMatchesCount() {
      * map<string, int32> issue_matches = 6 [deprecated = true];
      */
     @java.lang.Override
-    @java.lang.Deprecated
-    public boolean containsIssueMatches(java.lang.String key) {
-      if (key == null) {
-        throw new NullPointerException("map key");
-      }
+    @java.lang.Deprecated public boolean containsIssueMatches(
+        java.lang.String key) {
+      if (key == null) { throw new NullPointerException("map key"); }
       return internalGetIssueMatches().getMap().containsKey(key);
     }
-    /** Use {@link #getIssueMatchesMap()} instead. */
+    /**
+     * Use {@link #getIssueMatchesMap()} instead.
+     */
     @java.lang.Override
     @java.lang.Deprecated
     public java.util.Map getIssueMatches() {
       return getIssueMatchesMap();
     }
     /**
-     *
-     *
      * 
      * A map associating each issue resource name with its respective number of
      * matches in the set of conversations. Key has the format:
@@ -4465,13 +3804,10 @@ public java.util.Map getIssueMatches() {
      * map<string, int32> issue_matches = 6 [deprecated = true];
      */
     @java.lang.Override
-    @java.lang.Deprecated
-    public java.util.Map getIssueMatchesMap() {
+    @java.lang.Deprecated public java.util.Map getIssueMatchesMap() {
       return internalGetIssueMatches().getMap();
     }
     /**
-     *
-     *
      * 
      * A map associating each issue resource name with its respective number of
      * matches in the set of conversations. Key has the format:
@@ -4482,17 +3818,15 @@ public java.util.Map getIssueMatchesMap() {
      * map<string, int32> issue_matches = 6 [deprecated = true];
      */
     @java.lang.Override
-    @java.lang.Deprecated
-    public int getIssueMatchesOrDefault(java.lang.String key, int defaultValue) {
-      if (key == null) {
-        throw new NullPointerException("map key");
-      }
-      java.util.Map map = internalGetIssueMatches().getMap();
+    @java.lang.Deprecated public int getIssueMatchesOrDefault(
+        java.lang.String key,
+        int defaultValue) {
+      if (key == null) { throw new NullPointerException("map key"); }
+      java.util.Map map =
+          internalGetIssueMatches().getMap();
       return map.containsKey(key) ? map.get(key) : defaultValue;
     }
     /**
-     *
-     *
      * 
      * A map associating each issue resource name with its respective number of
      * matches in the set of conversations. Key has the format:
@@ -4503,27 +3837,23 @@ public int getIssueMatchesOrDefault(java.lang.String key, int defaultValue) {
      * map<string, int32> issue_matches = 6 [deprecated = true];
      */
     @java.lang.Override
-    @java.lang.Deprecated
-    public int getIssueMatchesOrThrow(java.lang.String key) {
-      if (key == null) {
-        throw new NullPointerException("map key");
-      }
-      java.util.Map map = internalGetIssueMatches().getMap();
+    @java.lang.Deprecated public int getIssueMatchesOrThrow(
+        java.lang.String key) {
+      if (key == null) { throw new NullPointerException("map key"); }
+      java.util.Map map =
+          internalGetIssueMatches().getMap();
       if (!map.containsKey(key)) {
         throw new java.lang.IllegalArgumentException();
       }
       return map.get(key);
     }
-
-    @java.lang.Deprecated
-    public Builder clearIssueMatches() {
+    @java.lang.Deprecated public Builder clearIssueMatches() {
       bitField0_ = (bitField0_ & ~0x00000020);
-      internalGetMutableIssueMatches().getMutableMap().clear();
+      internalGetMutableIssueMatches().getMutableMap()
+          .clear();
       return this;
     }
     /**
-     *
-     *
      * 
      * A map associating each issue resource name with its respective number of
      * matches in the set of conversations. Key has the format:
@@ -4533,23 +3863,23 @@ public Builder clearIssueMatches() {
      *
      * map<string, int32> issue_matches = 6 [deprecated = true];
      */
-    @java.lang.Deprecated
-    public Builder removeIssueMatches(java.lang.String key) {
-      if (key == null) {
-        throw new NullPointerException("map key");
-      }
-      internalGetMutableIssueMatches().getMutableMap().remove(key);
+    @java.lang.Deprecated public Builder removeIssueMatches(
+        java.lang.String key) {
+      if (key == null) { throw new NullPointerException("map key"); }
+      internalGetMutableIssueMatches().getMutableMap()
+          .remove(key);
       return this;
     }
-    /** Use alternate mutation accessors instead. */
+    /**
+     * Use alternate mutation accessors instead.
+     */
     @java.lang.Deprecated
-    public java.util.Map getMutableIssueMatches() {
+    public java.util.Map
+        getMutableIssueMatches() {
       bitField0_ |= 0x00000020;
       return internalGetMutableIssueMatches().getMutableMap();
     }
     /**
-     *
-     *
      * 
      * A map associating each issue resource name with its respective number of
      * matches in the set of conversations. Key has the format:
@@ -4559,19 +3889,17 @@ public java.util.Map getMutableIssueMatches
      *
      * map<string, int32> issue_matches = 6 [deprecated = true];
      */
-    @java.lang.Deprecated
-    public Builder putIssueMatches(java.lang.String key, int value) {
-      if (key == null) {
-        throw new NullPointerException("map key");
-      }
-
-      internalGetMutableIssueMatches().getMutableMap().put(key, value);
+    @java.lang.Deprecated public Builder putIssueMatches(
+        java.lang.String key,
+        int value) {
+      if (key == null) { throw new NullPointerException("map key"); }
+      
+      internalGetMutableIssueMatches().getMutableMap()
+          .put(key, value);
       bitField0_ |= 0x00000020;
       return this;
     }
     /**
-     *
-     *
      * 
      * A map associating each issue resource name with its respective number of
      * matches in the set of conversations. Key has the format:
@@ -4581,21 +3909,17 @@ public Builder putIssueMatches(java.lang.String key, int value) {
      *
      * map<string, int32> issue_matches = 6 [deprecated = true];
      */
-    @java.lang.Deprecated
-    public Builder putAllIssueMatches(java.util.Map values) {
-      internalGetMutableIssueMatches().getMutableMap().putAll(values);
+    @java.lang.Deprecated public Builder putAllIssueMatches(
+        java.util.Map values) {
+      internalGetMutableIssueMatches().getMutableMap()
+          .putAll(values);
       bitField0_ |= 0x00000020;
       return this;
     }
 
     private com.google.protobuf.MapField<
-            java.lang.String,
-            com.google.cloud.contactcenterinsights.v1.IssueModelLabelStats.IssueStats>
-        issueMatchesStats_;
-
-    private com.google.protobuf.MapField<
-            java.lang.String,
-            com.google.cloud.contactcenterinsights.v1.IssueModelLabelStats.IssueStats>
+        java.lang.String, com.google.cloud.contactcenterinsights.v1.IssueModelLabelStats.IssueStats> issueMatchesStats_;
+    private com.google.protobuf.MapField
         internalGetIssueMatchesStats() {
       if (issueMatchesStats_ == null) {
         return com.google.protobuf.MapField.emptyMapField(
@@ -4603,15 +3927,11 @@ public Builder putAllIssueMatches(java.util.Map
+    private com.google.protobuf.MapField
         internalGetMutableIssueMatchesStats() {
       if (issueMatchesStats_ == null) {
-        issueMatchesStats_ =
-            com.google.protobuf.MapField.newMapField(
-                IssueMatchesStatsDefaultEntryHolder.defaultEntry);
+        issueMatchesStats_ = com.google.protobuf.MapField.newMapField(
+            IssueMatchesStatsDefaultEntryHolder.defaultEntry);
       }
       if (!issueMatchesStats_.isMutable()) {
         issueMatchesStats_ = issueMatchesStats_.copy();
@@ -4620,263 +3940,192 @@ public Builder putAllIssueMatches(java.util.Map
      * A map associating each issue resource name with its respective number of
      * matches in the set of conversations. Key has the format:
      * `projects/<Project-ID>/locations/<Location-ID>/issueModels/<Issue-Model-ID>/issues/<Issue-ID>`
      * 
* - * - * map<string, .google.cloud.contactcenterinsights.v1.IssueModelLabelStats.IssueStats> issue_matches_stats = 8; - * + * map<string, .google.cloud.contactcenterinsights.v1.IssueModelLabelStats.IssueStats> issue_matches_stats = 8; */ @java.lang.Override - public boolean containsIssueMatchesStats(java.lang.String key) { - if (key == null) { - throw new NullPointerException("map key"); - } + public boolean containsIssueMatchesStats( + java.lang.String key) { + if (key == null) { throw new NullPointerException("map key"); } return internalGetIssueMatchesStats().getMap().containsKey(key); } - /** Use {@link #getIssueMatchesStatsMap()} instead. */ + /** + * Use {@link #getIssueMatchesStatsMap()} instead. + */ @java.lang.Override @java.lang.Deprecated - public java.util.Map< - java.lang.String, - com.google.cloud.contactcenterinsights.v1.IssueModelLabelStats.IssueStats> - getIssueMatchesStats() { + public java.util.Map getIssueMatchesStats() { return getIssueMatchesStatsMap(); } /** - * - * *
      * A map associating each issue resource name with its respective number of
      * matches in the set of conversations. Key has the format:
      * `projects/<Project-ID>/locations/<Location-ID>/issueModels/<Issue-Model-ID>/issues/<Issue-ID>`
      * 
* - * - * map<string, .google.cloud.contactcenterinsights.v1.IssueModelLabelStats.IssueStats> issue_matches_stats = 8; - * + * map<string, .google.cloud.contactcenterinsights.v1.IssueModelLabelStats.IssueStats> issue_matches_stats = 8; */ @java.lang.Override - public java.util.Map< - java.lang.String, - com.google.cloud.contactcenterinsights.v1.IssueModelLabelStats.IssueStats> - getIssueMatchesStatsMap() { + public java.util.Map getIssueMatchesStatsMap() { return internalGetIssueMatchesStats().getMap(); } /** - * - * *
      * A map associating each issue resource name with its respective number of
      * matches in the set of conversations. Key has the format:
      * `projects/<Project-ID>/locations/<Location-ID>/issueModels/<Issue-Model-ID>/issues/<Issue-ID>`
      * 
* - * - * map<string, .google.cloud.contactcenterinsights.v1.IssueModelLabelStats.IssueStats> issue_matches_stats = 8; - * + * map<string, .google.cloud.contactcenterinsights.v1.IssueModelLabelStats.IssueStats> issue_matches_stats = 8; */ @java.lang.Override - public /* nullable */ com.google.cloud.contactcenterinsights.v1.IssueModelLabelStats.IssueStats - getIssueMatchesStatsOrDefault( - java.lang.String key, - /* nullable */ - com.google.cloud.contactcenterinsights.v1.IssueModelLabelStats.IssueStats - defaultValue) { - if (key == null) { - throw new NullPointerException("map key"); - } - java.util.Map< - java.lang.String, - com.google.cloud.contactcenterinsights.v1.IssueModelLabelStats.IssueStats> - map = internalGetIssueMatchesStats().getMap(); + public /* nullable */ +com.google.cloud.contactcenterinsights.v1.IssueModelLabelStats.IssueStats getIssueMatchesStatsOrDefault( + java.lang.String key, + /* nullable */ +com.google.cloud.contactcenterinsights.v1.IssueModelLabelStats.IssueStats defaultValue) { + if (key == null) { throw new NullPointerException("map key"); } + java.util.Map map = + internalGetIssueMatchesStats().getMap(); return map.containsKey(key) ? map.get(key) : defaultValue; } /** - * - * *
      * A map associating each issue resource name with its respective number of
      * matches in the set of conversations. Key has the format:
      * `projects/<Project-ID>/locations/<Location-ID>/issueModels/<Issue-Model-ID>/issues/<Issue-ID>`
      * 
* - * - * map<string, .google.cloud.contactcenterinsights.v1.IssueModelLabelStats.IssueStats> issue_matches_stats = 8; - * + * map<string, .google.cloud.contactcenterinsights.v1.IssueModelLabelStats.IssueStats> issue_matches_stats = 8; */ @java.lang.Override - public com.google.cloud.contactcenterinsights.v1.IssueModelLabelStats.IssueStats - getIssueMatchesStatsOrThrow(java.lang.String key) { - if (key == null) { - throw new NullPointerException("map key"); - } - java.util.Map< - java.lang.String, - com.google.cloud.contactcenterinsights.v1.IssueModelLabelStats.IssueStats> - map = internalGetIssueMatchesStats().getMap(); + public com.google.cloud.contactcenterinsights.v1.IssueModelLabelStats.IssueStats getIssueMatchesStatsOrThrow( + java.lang.String key) { + if (key == null) { throw new NullPointerException("map key"); } + java.util.Map map = + internalGetIssueMatchesStats().getMap(); if (!map.containsKey(key)) { throw new java.lang.IllegalArgumentException(); } return map.get(key); } - public Builder clearIssueMatchesStats() { bitField0_ = (bitField0_ & ~0x00000040); - internalGetMutableIssueMatchesStats().getMutableMap().clear(); + internalGetMutableIssueMatchesStats().getMutableMap() + .clear(); return this; } /** - * - * *
      * A map associating each issue resource name with its respective number of
      * matches in the set of conversations. Key has the format:
      * `projects/<Project-ID>/locations/<Location-ID>/issueModels/<Issue-Model-ID>/issues/<Issue-ID>`
      * 
* - * - * map<string, .google.cloud.contactcenterinsights.v1.IssueModelLabelStats.IssueStats> issue_matches_stats = 8; - * + * map<string, .google.cloud.contactcenterinsights.v1.IssueModelLabelStats.IssueStats> issue_matches_stats = 8; */ - public Builder removeIssueMatchesStats(java.lang.String key) { - if (key == null) { - throw new NullPointerException("map key"); - } - internalGetMutableIssueMatchesStats().getMutableMap().remove(key); + public Builder removeIssueMatchesStats( + java.lang.String key) { + if (key == null) { throw new NullPointerException("map key"); } + internalGetMutableIssueMatchesStats().getMutableMap() + .remove(key); return this; } - /** Use alternate mutation accessors instead. */ + /** + * Use alternate mutation accessors instead. + */ @java.lang.Deprecated - public java.util.Map< - java.lang.String, - com.google.cloud.contactcenterinsights.v1.IssueModelLabelStats.IssueStats> + public java.util.Map getMutableIssueMatchesStats() { bitField0_ |= 0x00000040; return internalGetMutableIssueMatchesStats().getMutableMap(); } /** - * - * *
      * A map associating each issue resource name with its respective number of
      * matches in the set of conversations. Key has the format:
      * `projects/<Project-ID>/locations/<Location-ID>/issueModels/<Issue-Model-ID>/issues/<Issue-ID>`
      * 
* - * - * map<string, .google.cloud.contactcenterinsights.v1.IssueModelLabelStats.IssueStats> issue_matches_stats = 8; - * + * map<string, .google.cloud.contactcenterinsights.v1.IssueModelLabelStats.IssueStats> issue_matches_stats = 8; */ public Builder putIssueMatchesStats( java.lang.String key, com.google.cloud.contactcenterinsights.v1.IssueModelLabelStats.IssueStats value) { - if (key == null) { - throw new NullPointerException("map key"); - } - if (value == null) { - throw new NullPointerException("map value"); - } - internalGetMutableIssueMatchesStats().getMutableMap().put(key, value); + if (key == null) { throw new NullPointerException("map key"); } + if (value == null) { throw new NullPointerException("map value"); } + internalGetMutableIssueMatchesStats().getMutableMap() + .put(key, value); bitField0_ |= 0x00000040; return this; } /** - * - * *
      * A map associating each issue resource name with its respective number of
      * matches in the set of conversations. Key has the format:
      * `projects/<Project-ID>/locations/<Location-ID>/issueModels/<Issue-Model-ID>/issues/<Issue-ID>`
      * 
* - * - * map<string, .google.cloud.contactcenterinsights.v1.IssueModelLabelStats.IssueStats> issue_matches_stats = 8; - * + * map<string, .google.cloud.contactcenterinsights.v1.IssueModelLabelStats.IssueStats> issue_matches_stats = 8; */ public Builder putAllIssueMatchesStats( - java.util.Map< - java.lang.String, - com.google.cloud.contactcenterinsights.v1.IssueModelLabelStats.IssueStats> - values) { - internalGetMutableIssueMatchesStats().getMutableMap().putAll(values); + java.util.Map values) { + internalGetMutableIssueMatchesStats().getMutableMap() + .putAll(values); bitField0_ |= 0x00000040; return this; } - private com.google.cloud.contactcenterinsights.v1.CalculateStatsResponse.TimeSeries - conversationCountTimeSeries_; + private com.google.cloud.contactcenterinsights.v1.CalculateStatsResponse.TimeSeries conversationCountTimeSeries_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.contactcenterinsights.v1.CalculateStatsResponse.TimeSeries, - com.google.cloud.contactcenterinsights.v1.CalculateStatsResponse.TimeSeries.Builder, - com.google.cloud.contactcenterinsights.v1.CalculateStatsResponse.TimeSeriesOrBuilder> - conversationCountTimeSeriesBuilder_; + com.google.cloud.contactcenterinsights.v1.CalculateStatsResponse.TimeSeries, com.google.cloud.contactcenterinsights.v1.CalculateStatsResponse.TimeSeries.Builder, com.google.cloud.contactcenterinsights.v1.CalculateStatsResponse.TimeSeriesOrBuilder> conversationCountTimeSeriesBuilder_; /** - * - * *
      * A time series representing the count of conversations created over time
      * that match that requested filter criteria.
      * 
* - * - * .google.cloud.contactcenterinsights.v1.CalculateStatsResponse.TimeSeries conversation_count_time_series = 7; - * - * + * .google.cloud.contactcenterinsights.v1.CalculateStatsResponse.TimeSeries conversation_count_time_series = 7; * @return Whether the conversationCountTimeSeries field is set. */ public boolean hasConversationCountTimeSeries() { return ((bitField0_ & 0x00000080) != 0); } /** - * - * *
      * A time series representing the count of conversations created over time
      * that match that requested filter criteria.
      * 
* - * - * .google.cloud.contactcenterinsights.v1.CalculateStatsResponse.TimeSeries conversation_count_time_series = 7; - * - * + * .google.cloud.contactcenterinsights.v1.CalculateStatsResponse.TimeSeries conversation_count_time_series = 7; * @return The conversationCountTimeSeries. */ - public com.google.cloud.contactcenterinsights.v1.CalculateStatsResponse.TimeSeries - getConversationCountTimeSeries() { + public com.google.cloud.contactcenterinsights.v1.CalculateStatsResponse.TimeSeries getConversationCountTimeSeries() { if (conversationCountTimeSeriesBuilder_ == null) { - return conversationCountTimeSeries_ == null - ? com.google.cloud.contactcenterinsights.v1.CalculateStatsResponse.TimeSeries - .getDefaultInstance() - : conversationCountTimeSeries_; + return conversationCountTimeSeries_ == null ? com.google.cloud.contactcenterinsights.v1.CalculateStatsResponse.TimeSeries.getDefaultInstance() : conversationCountTimeSeries_; } else { return conversationCountTimeSeriesBuilder_.getMessage(); } } /** - * - * *
      * A time series representing the count of conversations created over time
      * that match that requested filter criteria.
      * 
* - * - * .google.cloud.contactcenterinsights.v1.CalculateStatsResponse.TimeSeries conversation_count_time_series = 7; - * + * .google.cloud.contactcenterinsights.v1.CalculateStatsResponse.TimeSeries conversation_count_time_series = 7; */ - public Builder setConversationCountTimeSeries( - com.google.cloud.contactcenterinsights.v1.CalculateStatsResponse.TimeSeries value) { + public Builder setConversationCountTimeSeries(com.google.cloud.contactcenterinsights.v1.CalculateStatsResponse.TimeSeries value) { if (conversationCountTimeSeriesBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -4890,20 +4139,15 @@ public Builder setConversationCountTimeSeries( return this; } /** - * - * *
      * A time series representing the count of conversations created over time
      * that match that requested filter criteria.
      * 
* - * - * .google.cloud.contactcenterinsights.v1.CalculateStatsResponse.TimeSeries conversation_count_time_series = 7; - * + * .google.cloud.contactcenterinsights.v1.CalculateStatsResponse.TimeSeries conversation_count_time_series = 7; */ public Builder setConversationCountTimeSeries( - com.google.cloud.contactcenterinsights.v1.CalculateStatsResponse.TimeSeries.Builder - builderForValue) { + com.google.cloud.contactcenterinsights.v1.CalculateStatsResponse.TimeSeries.Builder builderForValue) { if (conversationCountTimeSeriesBuilder_ == null) { conversationCountTimeSeries_ = builderForValue.build(); } else { @@ -4914,25 +4158,18 @@ public Builder setConversationCountTimeSeries( return this; } /** - * - * *
      * A time series representing the count of conversations created over time
      * that match that requested filter criteria.
      * 
* - * - * .google.cloud.contactcenterinsights.v1.CalculateStatsResponse.TimeSeries conversation_count_time_series = 7; - * + * .google.cloud.contactcenterinsights.v1.CalculateStatsResponse.TimeSeries conversation_count_time_series = 7; */ - public Builder mergeConversationCountTimeSeries( - com.google.cloud.contactcenterinsights.v1.CalculateStatsResponse.TimeSeries value) { + public Builder mergeConversationCountTimeSeries(com.google.cloud.contactcenterinsights.v1.CalculateStatsResponse.TimeSeries value) { if (conversationCountTimeSeriesBuilder_ == null) { - if (((bitField0_ & 0x00000080) != 0) - && conversationCountTimeSeries_ != null - && conversationCountTimeSeries_ - != com.google.cloud.contactcenterinsights.v1.CalculateStatsResponse.TimeSeries - .getDefaultInstance()) { + if (((bitField0_ & 0x00000080) != 0) && + conversationCountTimeSeries_ != null && + conversationCountTimeSeries_ != com.google.cloud.contactcenterinsights.v1.CalculateStatsResponse.TimeSeries.getDefaultInstance()) { getConversationCountTimeSeriesBuilder().mergeFrom(value); } else { conversationCountTimeSeries_ = value; @@ -4945,16 +4182,12 @@ public Builder mergeConversationCountTimeSeries( return this; } /** - * - * *
      * A time series representing the count of conversations created over time
      * that match that requested filter criteria.
      * 
* - * - * .google.cloud.contactcenterinsights.v1.CalculateStatsResponse.TimeSeries conversation_count_time_series = 7; - * + * .google.cloud.contactcenterinsights.v1.CalculateStatsResponse.TimeSeries conversation_count_time_series = 7; */ public Builder clearConversationCountTimeSeries() { bitField0_ = (bitField0_ & ~0x00000080); @@ -4967,78 +4200,58 @@ public Builder clearConversationCountTimeSeries() { return this; } /** - * - * *
      * A time series representing the count of conversations created over time
      * that match that requested filter criteria.
      * 
* - * - * .google.cloud.contactcenterinsights.v1.CalculateStatsResponse.TimeSeries conversation_count_time_series = 7; - * + * .google.cloud.contactcenterinsights.v1.CalculateStatsResponse.TimeSeries conversation_count_time_series = 7; */ - public com.google.cloud.contactcenterinsights.v1.CalculateStatsResponse.TimeSeries.Builder - getConversationCountTimeSeriesBuilder() { + public com.google.cloud.contactcenterinsights.v1.CalculateStatsResponse.TimeSeries.Builder getConversationCountTimeSeriesBuilder() { bitField0_ |= 0x00000080; onChanged(); return getConversationCountTimeSeriesFieldBuilder().getBuilder(); } /** - * - * *
      * A time series representing the count of conversations created over time
      * that match that requested filter criteria.
      * 
* - * - * .google.cloud.contactcenterinsights.v1.CalculateStatsResponse.TimeSeries conversation_count_time_series = 7; - * + * .google.cloud.contactcenterinsights.v1.CalculateStatsResponse.TimeSeries conversation_count_time_series = 7; */ - public com.google.cloud.contactcenterinsights.v1.CalculateStatsResponse.TimeSeriesOrBuilder - getConversationCountTimeSeriesOrBuilder() { + public com.google.cloud.contactcenterinsights.v1.CalculateStatsResponse.TimeSeriesOrBuilder getConversationCountTimeSeriesOrBuilder() { if (conversationCountTimeSeriesBuilder_ != null) { return conversationCountTimeSeriesBuilder_.getMessageOrBuilder(); } else { - return conversationCountTimeSeries_ == null - ? com.google.cloud.contactcenterinsights.v1.CalculateStatsResponse.TimeSeries - .getDefaultInstance() - : conversationCountTimeSeries_; + return conversationCountTimeSeries_ == null ? + com.google.cloud.contactcenterinsights.v1.CalculateStatsResponse.TimeSeries.getDefaultInstance() : conversationCountTimeSeries_; } } /** - * - * *
      * A time series representing the count of conversations created over time
      * that match that requested filter criteria.
      * 
* - * - * .google.cloud.contactcenterinsights.v1.CalculateStatsResponse.TimeSeries conversation_count_time_series = 7; - * + * .google.cloud.contactcenterinsights.v1.CalculateStatsResponse.TimeSeries conversation_count_time_series = 7; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.contactcenterinsights.v1.CalculateStatsResponse.TimeSeries, - com.google.cloud.contactcenterinsights.v1.CalculateStatsResponse.TimeSeries.Builder, - com.google.cloud.contactcenterinsights.v1.CalculateStatsResponse.TimeSeriesOrBuilder> + com.google.cloud.contactcenterinsights.v1.CalculateStatsResponse.TimeSeries, com.google.cloud.contactcenterinsights.v1.CalculateStatsResponse.TimeSeries.Builder, com.google.cloud.contactcenterinsights.v1.CalculateStatsResponse.TimeSeriesOrBuilder> getConversationCountTimeSeriesFieldBuilder() { if (conversationCountTimeSeriesBuilder_ == null) { - conversationCountTimeSeriesBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.contactcenterinsights.v1.CalculateStatsResponse.TimeSeries, - com.google.cloud.contactcenterinsights.v1.CalculateStatsResponse.TimeSeries.Builder, - com.google.cloud.contactcenterinsights.v1.CalculateStatsResponse - .TimeSeriesOrBuilder>( - getConversationCountTimeSeries(), getParentForChildren(), isClean()); + conversationCountTimeSeriesBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.contactcenterinsights.v1.CalculateStatsResponse.TimeSeries, com.google.cloud.contactcenterinsights.v1.CalculateStatsResponse.TimeSeries.Builder, com.google.cloud.contactcenterinsights.v1.CalculateStatsResponse.TimeSeriesOrBuilder>( + getConversationCountTimeSeries(), + getParentForChildren(), + isClean()); conversationCountTimeSeries_ = null; } return conversationCountTimeSeriesBuilder_; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -5048,43 +4261,41 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.contactcenterinsights.v1.CalculateStatsResponse) } // @@protoc_insertion_point(class_scope:google.cloud.contactcenterinsights.v1.CalculateStatsResponse) - private static final com.google.cloud.contactcenterinsights.v1.CalculateStatsResponse - DEFAULT_INSTANCE; - + private static final com.google.cloud.contactcenterinsights.v1.CalculateStatsResponse DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.cloud.contactcenterinsights.v1.CalculateStatsResponse(); } - public static com.google.cloud.contactcenterinsights.v1.CalculateStatsResponse - getDefaultInstance() { + public static com.google.cloud.contactcenterinsights.v1.CalculateStatsResponse getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public CalculateStatsResponse parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public CalculateStatsResponse parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -5096,8 +4307,9 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.cloud.contactcenterinsights.v1.CalculateStatsResponse - getDefaultInstanceForType() { + public com.google.cloud.contactcenterinsights.v1.CalculateStatsResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/CalculateStatsResponseOrBuilder.java b/owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/CalculateStatsResponseOrBuilder.java similarity index 67% rename from java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/CalculateStatsResponseOrBuilder.java rename to owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/CalculateStatsResponseOrBuilder.java index 0169e897a1f8..3c3ceac346cc 100644 --- a/java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/CalculateStatsResponseOrBuilder.java +++ b/owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/CalculateStatsResponseOrBuilder.java @@ -1,57 +1,33 @@ -/* - * 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. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/contactcenterinsights/v1/contact_center_insights.proto package com.google.cloud.contactcenterinsights.v1; -public interface CalculateStatsResponseOrBuilder - extends +public interface CalculateStatsResponseOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.contactcenterinsights.v1.CalculateStatsResponse) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * The average duration of all conversations. The average is calculated using
    * only conversations that have a time duration.
    * 
* * .google.protobuf.Duration average_duration = 1; - * * @return Whether the averageDuration field is set. */ boolean hasAverageDuration(); /** - * - * *
    * The average duration of all conversations. The average is calculated using
    * only conversations that have a time duration.
    * 
* * .google.protobuf.Duration average_duration = 1; - * * @return The averageDuration. */ com.google.protobuf.Duration getAverageDuration(); /** - * - * *
    * The average duration of all conversations. The average is calculated using
    * only conversations that have a time duration.
@@ -62,34 +38,26 @@ public interface CalculateStatsResponseOrBuilder
   com.google.protobuf.DurationOrBuilder getAverageDurationOrBuilder();
 
   /**
-   *
-   *
    * 
    * The average number of turns per conversation.
    * 
* * int32 average_turn_count = 2; - * * @return The averageTurnCount. */ int getAverageTurnCount(); /** - * - * *
    * The total number of conversations.
    * 
* * int32 conversation_count = 3; - * * @return The conversationCount. */ int getConversationCount(); /** - * - * *
    * A map associating each smart highlighter display name with its respective
    * number of matches in the set of conversations.
@@ -99,8 +67,6 @@ public interface CalculateStatsResponseOrBuilder
    */
   int getSmartHighlighterMatchesCount();
   /**
-   *
-   *
    * 
    * A map associating each smart highlighter display name with its respective
    * number of matches in the set of conversations.
@@ -108,13 +74,15 @@ public interface CalculateStatsResponseOrBuilder
    *
    * map<string, int32> smart_highlighter_matches = 4;
    */
-  boolean containsSmartHighlighterMatches(java.lang.String key);
-  /** Use {@link #getSmartHighlighterMatchesMap()} instead. */
+  boolean containsSmartHighlighterMatches(
+      java.lang.String key);
+  /**
+   * Use {@link #getSmartHighlighterMatchesMap()} instead.
+   */
   @java.lang.Deprecated
-  java.util.Map getSmartHighlighterMatches();
+  java.util.Map
+  getSmartHighlighterMatches();
   /**
-   *
-   *
    * 
    * A map associating each smart highlighter display name with its respective
    * number of matches in the set of conversations.
@@ -122,10 +90,9 @@ public interface CalculateStatsResponseOrBuilder
    *
    * map<string, int32> smart_highlighter_matches = 4;
    */
-  java.util.Map getSmartHighlighterMatchesMap();
+  java.util.Map
+  getSmartHighlighterMatchesMap();
   /**
-   *
-   *
    * 
    * A map associating each smart highlighter display name with its respective
    * number of matches in the set of conversations.
@@ -133,10 +100,10 @@ public interface CalculateStatsResponseOrBuilder
    *
    * map<string, int32> smart_highlighter_matches = 4;
    */
-  int getSmartHighlighterMatchesOrDefault(java.lang.String key, int defaultValue);
+  int getSmartHighlighterMatchesOrDefault(
+      java.lang.String key,
+      int defaultValue);
   /**
-   *
-   *
    * 
    * A map associating each smart highlighter display name with its respective
    * number of matches in the set of conversations.
@@ -144,11 +111,10 @@ public interface CalculateStatsResponseOrBuilder
    *
    * map<string, int32> smart_highlighter_matches = 4;
    */
-  int getSmartHighlighterMatchesOrThrow(java.lang.String key);
+  int getSmartHighlighterMatchesOrThrow(
+      java.lang.String key);
 
   /**
-   *
-   *
    * 
    * A map associating each custom highlighter resource name with its respective
    * number of matches in the set of conversations.
@@ -158,8 +124,6 @@ public interface CalculateStatsResponseOrBuilder
    */
   int getCustomHighlighterMatchesCount();
   /**
-   *
-   *
    * 
    * A map associating each custom highlighter resource name with its respective
    * number of matches in the set of conversations.
@@ -167,13 +131,15 @@ public interface CalculateStatsResponseOrBuilder
    *
    * map<string, int32> custom_highlighter_matches = 5;
    */
-  boolean containsCustomHighlighterMatches(java.lang.String key);
-  /** Use {@link #getCustomHighlighterMatchesMap()} instead. */
+  boolean containsCustomHighlighterMatches(
+      java.lang.String key);
+  /**
+   * Use {@link #getCustomHighlighterMatchesMap()} instead.
+   */
   @java.lang.Deprecated
-  java.util.Map getCustomHighlighterMatches();
+  java.util.Map
+  getCustomHighlighterMatches();
   /**
-   *
-   *
    * 
    * A map associating each custom highlighter resource name with its respective
    * number of matches in the set of conversations.
@@ -181,10 +147,9 @@ public interface CalculateStatsResponseOrBuilder
    *
    * map<string, int32> custom_highlighter_matches = 5;
    */
-  java.util.Map getCustomHighlighterMatchesMap();
+  java.util.Map
+  getCustomHighlighterMatchesMap();
   /**
-   *
-   *
    * 
    * A map associating each custom highlighter resource name with its respective
    * number of matches in the set of conversations.
@@ -192,10 +157,10 @@ public interface CalculateStatsResponseOrBuilder
    *
    * map<string, int32> custom_highlighter_matches = 5;
    */
-  int getCustomHighlighterMatchesOrDefault(java.lang.String key, int defaultValue);
+  int getCustomHighlighterMatchesOrDefault(
+      java.lang.String key,
+      int defaultValue);
   /**
-   *
-   *
    * 
    * A map associating each custom highlighter resource name with its respective
    * number of matches in the set of conversations.
@@ -203,11 +168,10 @@ public interface CalculateStatsResponseOrBuilder
    *
    * map<string, int32> custom_highlighter_matches = 5;
    */
-  int getCustomHighlighterMatchesOrThrow(java.lang.String key);
+  int getCustomHighlighterMatchesOrThrow(
+      java.lang.String key);
 
   /**
-   *
-   *
    * 
    * A map associating each issue resource name with its respective number of
    * matches in the set of conversations. Key has the format:
@@ -217,11 +181,8 @@ public interface CalculateStatsResponseOrBuilder
    *
    * map<string, int32> issue_matches = 6 [deprecated = true];
    */
-  @java.lang.Deprecated
-  int getIssueMatchesCount();
+  @java.lang.Deprecated int getIssueMatchesCount();
   /**
-   *
-   *
    * 
    * A map associating each issue resource name with its respective number of
    * matches in the set of conversations. Key has the format:
@@ -231,14 +192,15 @@ public interface CalculateStatsResponseOrBuilder
    *
    * map<string, int32> issue_matches = 6 [deprecated = true];
    */
+  @java.lang.Deprecated boolean containsIssueMatches(
+      java.lang.String key);
+  /**
+   * Use {@link #getIssueMatchesMap()} instead.
+   */
   @java.lang.Deprecated
-  boolean containsIssueMatches(java.lang.String key);
-  /** Use {@link #getIssueMatchesMap()} instead. */
-  @java.lang.Deprecated
-  java.util.Map getIssueMatches();
+  java.util.Map
+  getIssueMatches();
   /**
-   *
-   *
    * 
    * A map associating each issue resource name with its respective number of
    * matches in the set of conversations. Key has the format:
@@ -248,11 +210,9 @@ public interface CalculateStatsResponseOrBuilder
    *
    * map<string, int32> issue_matches = 6 [deprecated = true];
    */
-  @java.lang.Deprecated
-  java.util.Map getIssueMatchesMap();
+  @java.lang.Deprecated java.util.Map
+  getIssueMatchesMap();
   /**
-   *
-   *
    * 
    * A map associating each issue resource name with its respective number of
    * matches in the set of conversations. Key has the format:
@@ -262,11 +222,10 @@ public interface CalculateStatsResponseOrBuilder
    *
    * map<string, int32> issue_matches = 6 [deprecated = true];
    */
-  @java.lang.Deprecated
-  int getIssueMatchesOrDefault(java.lang.String key, int defaultValue);
+  @java.lang.Deprecated int getIssueMatchesOrDefault(
+      java.lang.String key,
+      int defaultValue);
   /**
-   *
-   *
    * 
    * A map associating each issue resource name with its respective number of
    * matches in the set of conversations. Key has the format:
@@ -276,138 +235,100 @@ public interface CalculateStatsResponseOrBuilder
    *
    * map<string, int32> issue_matches = 6 [deprecated = true];
    */
-  @java.lang.Deprecated
-  int getIssueMatchesOrThrow(java.lang.String key);
+  @java.lang.Deprecated int getIssueMatchesOrThrow(
+      java.lang.String key);
 
   /**
-   *
-   *
    * 
    * A map associating each issue resource name with its respective number of
    * matches in the set of conversations. Key has the format:
    * `projects/<Project-ID>/locations/<Location-ID>/issueModels/<Issue-Model-ID>/issues/<Issue-ID>`
    * 
* - * - * map<string, .google.cloud.contactcenterinsights.v1.IssueModelLabelStats.IssueStats> issue_matches_stats = 8; - * + * map<string, .google.cloud.contactcenterinsights.v1.IssueModelLabelStats.IssueStats> issue_matches_stats = 8; */ int getIssueMatchesStatsCount(); /** - * - * *
    * A map associating each issue resource name with its respective number of
    * matches in the set of conversations. Key has the format:
    * `projects/<Project-ID>/locations/<Location-ID>/issueModels/<Issue-Model-ID>/issues/<Issue-ID>`
    * 
* - * - * map<string, .google.cloud.contactcenterinsights.v1.IssueModelLabelStats.IssueStats> issue_matches_stats = 8; - * + * map<string, .google.cloud.contactcenterinsights.v1.IssueModelLabelStats.IssueStats> issue_matches_stats = 8; + */ + boolean containsIssueMatchesStats( + java.lang.String key); + /** + * Use {@link #getIssueMatchesStatsMap()} instead. */ - boolean containsIssueMatchesStats(java.lang.String key); - /** Use {@link #getIssueMatchesStatsMap()} instead. */ @java.lang.Deprecated - java.util.Map< - java.lang.String, - com.google.cloud.contactcenterinsights.v1.IssueModelLabelStats.IssueStats> - getIssueMatchesStats(); + java.util.Map + getIssueMatchesStats(); /** - * - * *
    * A map associating each issue resource name with its respective number of
    * matches in the set of conversations. Key has the format:
    * `projects/<Project-ID>/locations/<Location-ID>/issueModels/<Issue-Model-ID>/issues/<Issue-ID>`
    * 
* - * - * map<string, .google.cloud.contactcenterinsights.v1.IssueModelLabelStats.IssueStats> issue_matches_stats = 8; - * + * map<string, .google.cloud.contactcenterinsights.v1.IssueModelLabelStats.IssueStats> issue_matches_stats = 8; */ - java.util.Map< - java.lang.String, - com.google.cloud.contactcenterinsights.v1.IssueModelLabelStats.IssueStats> - getIssueMatchesStatsMap(); + java.util.Map + getIssueMatchesStatsMap(); /** - * - * *
    * A map associating each issue resource name with its respective number of
    * matches in the set of conversations. Key has the format:
    * `projects/<Project-ID>/locations/<Location-ID>/issueModels/<Issue-Model-ID>/issues/<Issue-ID>`
    * 
* - * - * map<string, .google.cloud.contactcenterinsights.v1.IssueModelLabelStats.IssueStats> issue_matches_stats = 8; - * + * map<string, .google.cloud.contactcenterinsights.v1.IssueModelLabelStats.IssueStats> issue_matches_stats = 8; */ /* nullable */ - com.google.cloud.contactcenterinsights.v1.IssueModelLabelStats.IssueStats - getIssueMatchesStatsOrDefault( - java.lang.String key, - /* nullable */ - com.google.cloud.contactcenterinsights.v1.IssueModelLabelStats.IssueStats defaultValue); +com.google.cloud.contactcenterinsights.v1.IssueModelLabelStats.IssueStats getIssueMatchesStatsOrDefault( + java.lang.String key, + /* nullable */ +com.google.cloud.contactcenterinsights.v1.IssueModelLabelStats.IssueStats defaultValue); /** - * - * *
    * A map associating each issue resource name with its respective number of
    * matches in the set of conversations. Key has the format:
    * `projects/<Project-ID>/locations/<Location-ID>/issueModels/<Issue-Model-ID>/issues/<Issue-ID>`
    * 
* - * - * map<string, .google.cloud.contactcenterinsights.v1.IssueModelLabelStats.IssueStats> issue_matches_stats = 8; - * + * map<string, .google.cloud.contactcenterinsights.v1.IssueModelLabelStats.IssueStats> issue_matches_stats = 8; */ - com.google.cloud.contactcenterinsights.v1.IssueModelLabelStats.IssueStats - getIssueMatchesStatsOrThrow(java.lang.String key); + com.google.cloud.contactcenterinsights.v1.IssueModelLabelStats.IssueStats getIssueMatchesStatsOrThrow( + java.lang.String key); /** - * - * *
    * A time series representing the count of conversations created over time
    * that match that requested filter criteria.
    * 
* - * - * .google.cloud.contactcenterinsights.v1.CalculateStatsResponse.TimeSeries conversation_count_time_series = 7; - * - * + * .google.cloud.contactcenterinsights.v1.CalculateStatsResponse.TimeSeries conversation_count_time_series = 7; * @return Whether the conversationCountTimeSeries field is set. */ boolean hasConversationCountTimeSeries(); /** - * - * *
    * A time series representing the count of conversations created over time
    * that match that requested filter criteria.
    * 
* - * - * .google.cloud.contactcenterinsights.v1.CalculateStatsResponse.TimeSeries conversation_count_time_series = 7; - * - * + * .google.cloud.contactcenterinsights.v1.CalculateStatsResponse.TimeSeries conversation_count_time_series = 7; * @return The conversationCountTimeSeries. */ - com.google.cloud.contactcenterinsights.v1.CalculateStatsResponse.TimeSeries - getConversationCountTimeSeries(); + com.google.cloud.contactcenterinsights.v1.CalculateStatsResponse.TimeSeries getConversationCountTimeSeries(); /** - * - * *
    * A time series representing the count of conversations created over time
    * that match that requested filter criteria.
    * 
* - * - * .google.cloud.contactcenterinsights.v1.CalculateStatsResponse.TimeSeries conversation_count_time_series = 7; - * + * .google.cloud.contactcenterinsights.v1.CalculateStatsResponse.TimeSeries conversation_count_time_series = 7; */ - com.google.cloud.contactcenterinsights.v1.CalculateStatsResponse.TimeSeriesOrBuilder - getConversationCountTimeSeriesOrBuilder(); + com.google.cloud.contactcenterinsights.v1.CalculateStatsResponse.TimeSeriesOrBuilder getConversationCountTimeSeriesOrBuilder(); } diff --git a/java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/CallAnnotation.java b/owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/CallAnnotation.java similarity index 70% rename from java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/CallAnnotation.java rename to owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/CallAnnotation.java index 7f9c54b9c933..86a5d02825e5 100644 --- a/java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/CallAnnotation.java +++ b/owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/CallAnnotation.java @@ -1,76 +1,56 @@ -/* - * 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. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/contactcenterinsights/v1/resources.proto package com.google.cloud.contactcenterinsights.v1; /** - * - * *
  * A piece of metadata that applies to a window of a call.
  * 
* * Protobuf type {@code google.cloud.contactcenterinsights.v1.CallAnnotation} */ -public final class CallAnnotation extends com.google.protobuf.GeneratedMessageV3 - implements +public final class CallAnnotation extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.contactcenterinsights.v1.CallAnnotation) CallAnnotationOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use CallAnnotation.newBuilder() to construct. private CallAnnotation(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - - private CallAnnotation() {} + private CallAnnotation() { + } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new CallAnnotation(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.contactcenterinsights.v1.ResourcesProto - .internal_static_google_cloud_contactcenterinsights_v1_CallAnnotation_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.contactcenterinsights.v1.ResourcesProto.internal_static_google_cloud_contactcenterinsights_v1_CallAnnotation_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.contactcenterinsights.v1.ResourcesProto - .internal_static_google_cloud_contactcenterinsights_v1_CallAnnotation_fieldAccessorTable + return com.google.cloud.contactcenterinsights.v1.ResourcesProto.internal_static_google_cloud_contactcenterinsights_v1_CallAnnotation_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.contactcenterinsights.v1.CallAnnotation.class, - com.google.cloud.contactcenterinsights.v1.CallAnnotation.Builder.class); + com.google.cloud.contactcenterinsights.v1.CallAnnotation.class, com.google.cloud.contactcenterinsights.v1.CallAnnotation.Builder.class); } private int dataCase_ = 0; private java.lang.Object data_; - public enum DataCase - implements - com.google.protobuf.Internal.EnumLite, + implements com.google.protobuf.Internal.EnumLite, com.google.protobuf.AbstractMessage.InternalOneOfEnum { INTERRUPTION_DATA(10), SENTIMENT_DATA(11), @@ -82,7 +62,6 @@ public enum DataCase ISSUE_MATCH_DATA(18), DATA_NOT_SET(0); private final int value; - private DataCase(int value) { this.value = value; } @@ -98,48 +77,36 @@ public static DataCase valueOf(int value) { public static DataCase forNumber(int value) { switch (value) { - case 10: - return INTERRUPTION_DATA; - case 11: - return SENTIMENT_DATA; - case 12: - return SILENCE_DATA; - case 13: - return HOLD_DATA; - case 15: - return ENTITY_MENTION_DATA; - case 16: - return INTENT_MATCH_DATA; - case 17: - return PHRASE_MATCH_DATA; - case 18: - return ISSUE_MATCH_DATA; - case 0: - return DATA_NOT_SET; - default: - return null; + case 10: return INTERRUPTION_DATA; + case 11: return SENTIMENT_DATA; + case 12: return SILENCE_DATA; + case 13: return HOLD_DATA; + case 15: return ENTITY_MENTION_DATA; + case 16: return INTENT_MATCH_DATA; + case 17: return PHRASE_MATCH_DATA; + case 18: return ISSUE_MATCH_DATA; + case 0: return DATA_NOT_SET; + default: return null; } } - public int getNumber() { return this.value; } }; - public DataCase getDataCase() { - return DataCase.forNumber(dataCase_); + public DataCase + getDataCase() { + return DataCase.forNumber( + dataCase_); } public static final int INTERRUPTION_DATA_FIELD_NUMBER = 10; /** - * - * *
    * Data specifying an interruption.
    * 
* * .google.cloud.contactcenterinsights.v1.InterruptionData interruption_data = 10; - * * @return Whether the interruptionData field is set. */ @java.lang.Override @@ -147,26 +114,21 @@ public boolean hasInterruptionData() { return dataCase_ == 10; } /** - * - * *
    * Data specifying an interruption.
    * 
* * .google.cloud.contactcenterinsights.v1.InterruptionData interruption_data = 10; - * * @return The interruptionData. */ @java.lang.Override public com.google.cloud.contactcenterinsights.v1.InterruptionData getInterruptionData() { if (dataCase_ == 10) { - return (com.google.cloud.contactcenterinsights.v1.InterruptionData) data_; + return (com.google.cloud.contactcenterinsights.v1.InterruptionData) data_; } return com.google.cloud.contactcenterinsights.v1.InterruptionData.getDefaultInstance(); } /** - * - * *
    * Data specifying an interruption.
    * 
@@ -174,24 +136,20 @@ public com.google.cloud.contactcenterinsights.v1.InterruptionData getInterruptio * .google.cloud.contactcenterinsights.v1.InterruptionData interruption_data = 10; */ @java.lang.Override - public com.google.cloud.contactcenterinsights.v1.InterruptionDataOrBuilder - getInterruptionDataOrBuilder() { + public com.google.cloud.contactcenterinsights.v1.InterruptionDataOrBuilder getInterruptionDataOrBuilder() { if (dataCase_ == 10) { - return (com.google.cloud.contactcenterinsights.v1.InterruptionData) data_; + return (com.google.cloud.contactcenterinsights.v1.InterruptionData) data_; } return com.google.cloud.contactcenterinsights.v1.InterruptionData.getDefaultInstance(); } public static final int SENTIMENT_DATA_FIELD_NUMBER = 11; /** - * - * *
    * Data specifying sentiment.
    * 
* * .google.cloud.contactcenterinsights.v1.SentimentData sentiment_data = 11; - * * @return Whether the sentimentData field is set. */ @java.lang.Override @@ -199,26 +157,21 @@ public boolean hasSentimentData() { return dataCase_ == 11; } /** - * - * *
    * Data specifying sentiment.
    * 
* * .google.cloud.contactcenterinsights.v1.SentimentData sentiment_data = 11; - * * @return The sentimentData. */ @java.lang.Override public com.google.cloud.contactcenterinsights.v1.SentimentData getSentimentData() { if (dataCase_ == 11) { - return (com.google.cloud.contactcenterinsights.v1.SentimentData) data_; + return (com.google.cloud.contactcenterinsights.v1.SentimentData) data_; } return com.google.cloud.contactcenterinsights.v1.SentimentData.getDefaultInstance(); } /** - * - * *
    * Data specifying sentiment.
    * 
@@ -226,24 +179,20 @@ public com.google.cloud.contactcenterinsights.v1.SentimentData getSentimentData( * .google.cloud.contactcenterinsights.v1.SentimentData sentiment_data = 11; */ @java.lang.Override - public com.google.cloud.contactcenterinsights.v1.SentimentDataOrBuilder - getSentimentDataOrBuilder() { + public com.google.cloud.contactcenterinsights.v1.SentimentDataOrBuilder getSentimentDataOrBuilder() { if (dataCase_ == 11) { - return (com.google.cloud.contactcenterinsights.v1.SentimentData) data_; + return (com.google.cloud.contactcenterinsights.v1.SentimentData) data_; } return com.google.cloud.contactcenterinsights.v1.SentimentData.getDefaultInstance(); } public static final int SILENCE_DATA_FIELD_NUMBER = 12; /** - * - * *
    * Data specifying silence.
    * 
* * .google.cloud.contactcenterinsights.v1.SilenceData silence_data = 12; - * * @return Whether the silenceData field is set. */ @java.lang.Override @@ -251,26 +200,21 @@ public boolean hasSilenceData() { return dataCase_ == 12; } /** - * - * *
    * Data specifying silence.
    * 
* * .google.cloud.contactcenterinsights.v1.SilenceData silence_data = 12; - * * @return The silenceData. */ @java.lang.Override public com.google.cloud.contactcenterinsights.v1.SilenceData getSilenceData() { if (dataCase_ == 12) { - return (com.google.cloud.contactcenterinsights.v1.SilenceData) data_; + return (com.google.cloud.contactcenterinsights.v1.SilenceData) data_; } return com.google.cloud.contactcenterinsights.v1.SilenceData.getDefaultInstance(); } /** - * - * *
    * Data specifying silence.
    * 
@@ -280,21 +224,18 @@ public com.google.cloud.contactcenterinsights.v1.SilenceData getSilenceData() { @java.lang.Override public com.google.cloud.contactcenterinsights.v1.SilenceDataOrBuilder getSilenceDataOrBuilder() { if (dataCase_ == 12) { - return (com.google.cloud.contactcenterinsights.v1.SilenceData) data_; + return (com.google.cloud.contactcenterinsights.v1.SilenceData) data_; } return com.google.cloud.contactcenterinsights.v1.SilenceData.getDefaultInstance(); } public static final int HOLD_DATA_FIELD_NUMBER = 13; /** - * - * *
    * Data specifying a hold.
    * 
* * .google.cloud.contactcenterinsights.v1.HoldData hold_data = 13; - * * @return Whether the holdData field is set. */ @java.lang.Override @@ -302,26 +243,21 @@ public boolean hasHoldData() { return dataCase_ == 13; } /** - * - * *
    * Data specifying a hold.
    * 
* * .google.cloud.contactcenterinsights.v1.HoldData hold_data = 13; - * * @return The holdData. */ @java.lang.Override public com.google.cloud.contactcenterinsights.v1.HoldData getHoldData() { if (dataCase_ == 13) { - return (com.google.cloud.contactcenterinsights.v1.HoldData) data_; + return (com.google.cloud.contactcenterinsights.v1.HoldData) data_; } return com.google.cloud.contactcenterinsights.v1.HoldData.getDefaultInstance(); } /** - * - * *
    * Data specifying a hold.
    * 
@@ -331,21 +267,18 @@ public com.google.cloud.contactcenterinsights.v1.HoldData getHoldData() { @java.lang.Override public com.google.cloud.contactcenterinsights.v1.HoldDataOrBuilder getHoldDataOrBuilder() { if (dataCase_ == 13) { - return (com.google.cloud.contactcenterinsights.v1.HoldData) data_; + return (com.google.cloud.contactcenterinsights.v1.HoldData) data_; } return com.google.cloud.contactcenterinsights.v1.HoldData.getDefaultInstance(); } public static final int ENTITY_MENTION_DATA_FIELD_NUMBER = 15; /** - * - * *
    * Data specifying an entity mention.
    * 
* * .google.cloud.contactcenterinsights.v1.EntityMentionData entity_mention_data = 15; - * * @return Whether the entityMentionData field is set. */ @java.lang.Override @@ -353,26 +286,21 @@ public boolean hasEntityMentionData() { return dataCase_ == 15; } /** - * - * *
    * Data specifying an entity mention.
    * 
* * .google.cloud.contactcenterinsights.v1.EntityMentionData entity_mention_data = 15; - * * @return The entityMentionData. */ @java.lang.Override public com.google.cloud.contactcenterinsights.v1.EntityMentionData getEntityMentionData() { if (dataCase_ == 15) { - return (com.google.cloud.contactcenterinsights.v1.EntityMentionData) data_; + return (com.google.cloud.contactcenterinsights.v1.EntityMentionData) data_; } return com.google.cloud.contactcenterinsights.v1.EntityMentionData.getDefaultInstance(); } /** - * - * *
    * Data specifying an entity mention.
    * 
@@ -380,24 +308,20 @@ public com.google.cloud.contactcenterinsights.v1.EntityMentionData getEntityMent * .google.cloud.contactcenterinsights.v1.EntityMentionData entity_mention_data = 15; */ @java.lang.Override - public com.google.cloud.contactcenterinsights.v1.EntityMentionDataOrBuilder - getEntityMentionDataOrBuilder() { + public com.google.cloud.contactcenterinsights.v1.EntityMentionDataOrBuilder getEntityMentionDataOrBuilder() { if (dataCase_ == 15) { - return (com.google.cloud.contactcenterinsights.v1.EntityMentionData) data_; + return (com.google.cloud.contactcenterinsights.v1.EntityMentionData) data_; } return com.google.cloud.contactcenterinsights.v1.EntityMentionData.getDefaultInstance(); } public static final int INTENT_MATCH_DATA_FIELD_NUMBER = 16; /** - * - * *
    * Data specifying an intent match.
    * 
* * .google.cloud.contactcenterinsights.v1.IntentMatchData intent_match_data = 16; - * * @return Whether the intentMatchData field is set. */ @java.lang.Override @@ -405,26 +329,21 @@ public boolean hasIntentMatchData() { return dataCase_ == 16; } /** - * - * *
    * Data specifying an intent match.
    * 
* * .google.cloud.contactcenterinsights.v1.IntentMatchData intent_match_data = 16; - * * @return The intentMatchData. */ @java.lang.Override public com.google.cloud.contactcenterinsights.v1.IntentMatchData getIntentMatchData() { if (dataCase_ == 16) { - return (com.google.cloud.contactcenterinsights.v1.IntentMatchData) data_; + return (com.google.cloud.contactcenterinsights.v1.IntentMatchData) data_; } return com.google.cloud.contactcenterinsights.v1.IntentMatchData.getDefaultInstance(); } /** - * - * *
    * Data specifying an intent match.
    * 
@@ -432,24 +351,20 @@ public com.google.cloud.contactcenterinsights.v1.IntentMatchData getIntentMatchD * .google.cloud.contactcenterinsights.v1.IntentMatchData intent_match_data = 16; */ @java.lang.Override - public com.google.cloud.contactcenterinsights.v1.IntentMatchDataOrBuilder - getIntentMatchDataOrBuilder() { + public com.google.cloud.contactcenterinsights.v1.IntentMatchDataOrBuilder getIntentMatchDataOrBuilder() { if (dataCase_ == 16) { - return (com.google.cloud.contactcenterinsights.v1.IntentMatchData) data_; + return (com.google.cloud.contactcenterinsights.v1.IntentMatchData) data_; } return com.google.cloud.contactcenterinsights.v1.IntentMatchData.getDefaultInstance(); } public static final int PHRASE_MATCH_DATA_FIELD_NUMBER = 17; /** - * - * *
    * Data specifying a phrase match.
    * 
* * .google.cloud.contactcenterinsights.v1.PhraseMatchData phrase_match_data = 17; - * * @return Whether the phraseMatchData field is set. */ @java.lang.Override @@ -457,26 +372,21 @@ public boolean hasPhraseMatchData() { return dataCase_ == 17; } /** - * - * *
    * Data specifying a phrase match.
    * 
* * .google.cloud.contactcenterinsights.v1.PhraseMatchData phrase_match_data = 17; - * * @return The phraseMatchData. */ @java.lang.Override public com.google.cloud.contactcenterinsights.v1.PhraseMatchData getPhraseMatchData() { if (dataCase_ == 17) { - return (com.google.cloud.contactcenterinsights.v1.PhraseMatchData) data_; + return (com.google.cloud.contactcenterinsights.v1.PhraseMatchData) data_; } return com.google.cloud.contactcenterinsights.v1.PhraseMatchData.getDefaultInstance(); } /** - * - * *
    * Data specifying a phrase match.
    * 
@@ -484,24 +394,20 @@ public com.google.cloud.contactcenterinsights.v1.PhraseMatchData getPhraseMatchD * .google.cloud.contactcenterinsights.v1.PhraseMatchData phrase_match_data = 17; */ @java.lang.Override - public com.google.cloud.contactcenterinsights.v1.PhraseMatchDataOrBuilder - getPhraseMatchDataOrBuilder() { + public com.google.cloud.contactcenterinsights.v1.PhraseMatchDataOrBuilder getPhraseMatchDataOrBuilder() { if (dataCase_ == 17) { - return (com.google.cloud.contactcenterinsights.v1.PhraseMatchData) data_; + return (com.google.cloud.contactcenterinsights.v1.PhraseMatchData) data_; } return com.google.cloud.contactcenterinsights.v1.PhraseMatchData.getDefaultInstance(); } public static final int ISSUE_MATCH_DATA_FIELD_NUMBER = 18; /** - * - * *
    * Data specifying an issue match.
    * 
* * .google.cloud.contactcenterinsights.v1.IssueMatchData issue_match_data = 18; - * * @return Whether the issueMatchData field is set. */ @java.lang.Override @@ -509,26 +415,21 @@ public boolean hasIssueMatchData() { return dataCase_ == 18; } /** - * - * *
    * Data specifying an issue match.
    * 
* * .google.cloud.contactcenterinsights.v1.IssueMatchData issue_match_data = 18; - * * @return The issueMatchData. */ @java.lang.Override public com.google.cloud.contactcenterinsights.v1.IssueMatchData getIssueMatchData() { if (dataCase_ == 18) { - return (com.google.cloud.contactcenterinsights.v1.IssueMatchData) data_; + return (com.google.cloud.contactcenterinsights.v1.IssueMatchData) data_; } return com.google.cloud.contactcenterinsights.v1.IssueMatchData.getDefaultInstance(); } /** - * - * *
    * Data specifying an issue match.
    * 
@@ -536,10 +437,9 @@ public com.google.cloud.contactcenterinsights.v1.IssueMatchData getIssueMatchDat * .google.cloud.contactcenterinsights.v1.IssueMatchData issue_match_data = 18; */ @java.lang.Override - public com.google.cloud.contactcenterinsights.v1.IssueMatchDataOrBuilder - getIssueMatchDataOrBuilder() { + public com.google.cloud.contactcenterinsights.v1.IssueMatchDataOrBuilder getIssueMatchDataOrBuilder() { if (dataCase_ == 18) { - return (com.google.cloud.contactcenterinsights.v1.IssueMatchData) data_; + return (com.google.cloud.contactcenterinsights.v1.IssueMatchData) data_; } return com.google.cloud.contactcenterinsights.v1.IssueMatchData.getDefaultInstance(); } @@ -547,15 +447,12 @@ public com.google.cloud.contactcenterinsights.v1.IssueMatchData getIssueMatchDat public static final int CHANNEL_TAG_FIELD_NUMBER = 1; private int channelTag_ = 0; /** - * - * *
    * The channel of the audio where the annotation occurs. For single-channel
    * audio, this field is not populated.
    * 
* * int32 channel_tag = 1; - * * @return The channelTag. */ @java.lang.Override @@ -566,15 +463,11 @@ public int getChannelTag() { public static final int ANNOTATION_START_BOUNDARY_FIELD_NUMBER = 4; private com.google.cloud.contactcenterinsights.v1.AnnotationBoundary annotationStartBoundary_; /** - * - * *
    * The boundary in the conversation where the annotation starts, inclusive.
    * 
* - * .google.cloud.contactcenterinsights.v1.AnnotationBoundary annotation_start_boundary = 4; - * - * + * .google.cloud.contactcenterinsights.v1.AnnotationBoundary annotation_start_boundary = 4; * @return Whether the annotationStartBoundary field is set. */ @java.lang.Override @@ -582,53 +475,37 @@ public boolean hasAnnotationStartBoundary() { return annotationStartBoundary_ != null; } /** - * - * *
    * The boundary in the conversation where the annotation starts, inclusive.
    * 
* - * .google.cloud.contactcenterinsights.v1.AnnotationBoundary annotation_start_boundary = 4; - * - * + * .google.cloud.contactcenterinsights.v1.AnnotationBoundary annotation_start_boundary = 4; * @return The annotationStartBoundary. */ @java.lang.Override public com.google.cloud.contactcenterinsights.v1.AnnotationBoundary getAnnotationStartBoundary() { - return annotationStartBoundary_ == null - ? com.google.cloud.contactcenterinsights.v1.AnnotationBoundary.getDefaultInstance() - : annotationStartBoundary_; + return annotationStartBoundary_ == null ? com.google.cloud.contactcenterinsights.v1.AnnotationBoundary.getDefaultInstance() : annotationStartBoundary_; } /** - * - * *
    * The boundary in the conversation where the annotation starts, inclusive.
    * 
* - * .google.cloud.contactcenterinsights.v1.AnnotationBoundary annotation_start_boundary = 4; - * + * .google.cloud.contactcenterinsights.v1.AnnotationBoundary annotation_start_boundary = 4; */ @java.lang.Override - public com.google.cloud.contactcenterinsights.v1.AnnotationBoundaryOrBuilder - getAnnotationStartBoundaryOrBuilder() { - return annotationStartBoundary_ == null - ? com.google.cloud.contactcenterinsights.v1.AnnotationBoundary.getDefaultInstance() - : annotationStartBoundary_; + public com.google.cloud.contactcenterinsights.v1.AnnotationBoundaryOrBuilder getAnnotationStartBoundaryOrBuilder() { + return annotationStartBoundary_ == null ? com.google.cloud.contactcenterinsights.v1.AnnotationBoundary.getDefaultInstance() : annotationStartBoundary_; } public static final int ANNOTATION_END_BOUNDARY_FIELD_NUMBER = 5; private com.google.cloud.contactcenterinsights.v1.AnnotationBoundary annotationEndBoundary_; /** - * - * *
    * The boundary in the conversation where the annotation ends, inclusive.
    * 
* - * .google.cloud.contactcenterinsights.v1.AnnotationBoundary annotation_end_boundary = 5; - * - * + * .google.cloud.contactcenterinsights.v1.AnnotationBoundary annotation_end_boundary = 5; * @return Whether the annotationEndBoundary field is set. */ @java.lang.Override @@ -636,43 +513,30 @@ public boolean hasAnnotationEndBoundary() { return annotationEndBoundary_ != null; } /** - * - * *
    * The boundary in the conversation where the annotation ends, inclusive.
    * 
* - * .google.cloud.contactcenterinsights.v1.AnnotationBoundary annotation_end_boundary = 5; - * - * + * .google.cloud.contactcenterinsights.v1.AnnotationBoundary annotation_end_boundary = 5; * @return The annotationEndBoundary. */ @java.lang.Override public com.google.cloud.contactcenterinsights.v1.AnnotationBoundary getAnnotationEndBoundary() { - return annotationEndBoundary_ == null - ? com.google.cloud.contactcenterinsights.v1.AnnotationBoundary.getDefaultInstance() - : annotationEndBoundary_; + return annotationEndBoundary_ == null ? com.google.cloud.contactcenterinsights.v1.AnnotationBoundary.getDefaultInstance() : annotationEndBoundary_; } /** - * - * *
    * The boundary in the conversation where the annotation ends, inclusive.
    * 
* - * .google.cloud.contactcenterinsights.v1.AnnotationBoundary annotation_end_boundary = 5; - * + * .google.cloud.contactcenterinsights.v1.AnnotationBoundary annotation_end_boundary = 5; */ @java.lang.Override - public com.google.cloud.contactcenterinsights.v1.AnnotationBoundaryOrBuilder - getAnnotationEndBoundaryOrBuilder() { - return annotationEndBoundary_ == null - ? com.google.cloud.contactcenterinsights.v1.AnnotationBoundary.getDefaultInstance() - : annotationEndBoundary_; + public com.google.cloud.contactcenterinsights.v1.AnnotationBoundaryOrBuilder getAnnotationEndBoundaryOrBuilder() { + return annotationEndBoundary_ == null ? com.google.cloud.contactcenterinsights.v1.AnnotationBoundary.getDefaultInstance() : annotationEndBoundary_; } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -684,7 +548,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (channelTag_ != 0) { output.writeInt32(1, channelTag_); } @@ -728,55 +593,48 @@ public int getSerializedSize() { size = 0; if (channelTag_ != 0) { - size += com.google.protobuf.CodedOutputStream.computeInt32Size(1, channelTag_); + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(1, channelTag_); } if (annotationStartBoundary_ != null) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize(4, getAnnotationStartBoundary()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(4, getAnnotationStartBoundary()); } if (annotationEndBoundary_ != null) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize(5, getAnnotationEndBoundary()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(5, getAnnotationEndBoundary()); } if (dataCase_ == 10) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize( - 10, (com.google.cloud.contactcenterinsights.v1.InterruptionData) data_); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(10, (com.google.cloud.contactcenterinsights.v1.InterruptionData) data_); } if (dataCase_ == 11) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize( - 11, (com.google.cloud.contactcenterinsights.v1.SentimentData) data_); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(11, (com.google.cloud.contactcenterinsights.v1.SentimentData) data_); } if (dataCase_ == 12) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize( - 12, (com.google.cloud.contactcenterinsights.v1.SilenceData) data_); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(12, (com.google.cloud.contactcenterinsights.v1.SilenceData) data_); } if (dataCase_ == 13) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize( - 13, (com.google.cloud.contactcenterinsights.v1.HoldData) data_); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(13, (com.google.cloud.contactcenterinsights.v1.HoldData) data_); } if (dataCase_ == 15) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize( - 15, (com.google.cloud.contactcenterinsights.v1.EntityMentionData) data_); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(15, (com.google.cloud.contactcenterinsights.v1.EntityMentionData) data_); } if (dataCase_ == 16) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize( - 16, (com.google.cloud.contactcenterinsights.v1.IntentMatchData) data_); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(16, (com.google.cloud.contactcenterinsights.v1.IntentMatchData) data_); } if (dataCase_ == 17) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize( - 17, (com.google.cloud.contactcenterinsights.v1.PhraseMatchData) data_); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(17, (com.google.cloud.contactcenterinsights.v1.PhraseMatchData) data_); } if (dataCase_ == 18) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize( - 18, (com.google.cloud.contactcenterinsights.v1.IssueMatchData) data_); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(18, (com.google.cloud.contactcenterinsights.v1.IssueMatchData) data_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -786,48 +644,58 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.contactcenterinsights.v1.CallAnnotation)) { return super.equals(obj); } - com.google.cloud.contactcenterinsights.v1.CallAnnotation other = - (com.google.cloud.contactcenterinsights.v1.CallAnnotation) obj; + com.google.cloud.contactcenterinsights.v1.CallAnnotation other = (com.google.cloud.contactcenterinsights.v1.CallAnnotation) obj; - if (getChannelTag() != other.getChannelTag()) return false; + if (getChannelTag() + != other.getChannelTag()) return false; if (hasAnnotationStartBoundary() != other.hasAnnotationStartBoundary()) return false; if (hasAnnotationStartBoundary()) { - if (!getAnnotationStartBoundary().equals(other.getAnnotationStartBoundary())) return false; + if (!getAnnotationStartBoundary() + .equals(other.getAnnotationStartBoundary())) return false; } if (hasAnnotationEndBoundary() != other.hasAnnotationEndBoundary()) return false; if (hasAnnotationEndBoundary()) { - if (!getAnnotationEndBoundary().equals(other.getAnnotationEndBoundary())) return false; + if (!getAnnotationEndBoundary() + .equals(other.getAnnotationEndBoundary())) return false; } if (!getDataCase().equals(other.getDataCase())) return false; switch (dataCase_) { case 10: - if (!getInterruptionData().equals(other.getInterruptionData())) return false; + if (!getInterruptionData() + .equals(other.getInterruptionData())) return false; break; case 11: - if (!getSentimentData().equals(other.getSentimentData())) return false; + if (!getSentimentData() + .equals(other.getSentimentData())) return false; break; case 12: - if (!getSilenceData().equals(other.getSilenceData())) return false; + if (!getSilenceData() + .equals(other.getSilenceData())) return false; break; case 13: - if (!getHoldData().equals(other.getHoldData())) return false; + if (!getHoldData() + .equals(other.getHoldData())) return false; break; case 15: - if (!getEntityMentionData().equals(other.getEntityMentionData())) return false; + if (!getEntityMentionData() + .equals(other.getEntityMentionData())) return false; break; case 16: - if (!getIntentMatchData().equals(other.getIntentMatchData())) return false; + if (!getIntentMatchData() + .equals(other.getIntentMatchData())) return false; break; case 17: - if (!getPhraseMatchData().equals(other.getPhraseMatchData())) return false; + if (!getPhraseMatchData() + .equals(other.getPhraseMatchData())) return false; break; case 18: - if (!getIssueMatchData().equals(other.getIssueMatchData())) return false; + if (!getIssueMatchData() + .equals(other.getIssueMatchData())) return false; break; case 0: default: @@ -895,136 +763,129 @@ public int hashCode() { } public static com.google.cloud.contactcenterinsights.v1.CallAnnotation parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.contactcenterinsights.v1.CallAnnotation parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.contactcenterinsights.v1.CallAnnotation parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.contactcenterinsights.v1.CallAnnotation parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.contactcenterinsights.v1.CallAnnotation parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.contactcenterinsights.v1.CallAnnotation parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.contactcenterinsights.v1.CallAnnotation parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.contactcenterinsights.v1.CallAnnotation parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.contactcenterinsights.v1.CallAnnotation parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.contactcenterinsights.v1.CallAnnotation parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.contactcenterinsights.v1.CallAnnotation parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.contactcenterinsights.v1.CallAnnotation parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.contactcenterinsights.v1.CallAnnotation parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.contactcenterinsights.v1.CallAnnotation parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.contactcenterinsights.v1.CallAnnotation prototype) { + public static Builder newBuilder(com.google.cloud.contactcenterinsights.v1.CallAnnotation prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * A piece of metadata that applies to a window of a call.
    * 
* * Protobuf type {@code google.cloud.contactcenterinsights.v1.CallAnnotation} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.contactcenterinsights.v1.CallAnnotation) com.google.cloud.contactcenterinsights.v1.CallAnnotationOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.contactcenterinsights.v1.ResourcesProto - .internal_static_google_cloud_contactcenterinsights_v1_CallAnnotation_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.contactcenterinsights.v1.ResourcesProto.internal_static_google_cloud_contactcenterinsights_v1_CallAnnotation_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.contactcenterinsights.v1.ResourcesProto - .internal_static_google_cloud_contactcenterinsights_v1_CallAnnotation_fieldAccessorTable + return com.google.cloud.contactcenterinsights.v1.ResourcesProto.internal_static_google_cloud_contactcenterinsights_v1_CallAnnotation_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.contactcenterinsights.v1.CallAnnotation.class, - com.google.cloud.contactcenterinsights.v1.CallAnnotation.Builder.class); + com.google.cloud.contactcenterinsights.v1.CallAnnotation.class, com.google.cloud.contactcenterinsights.v1.CallAnnotation.Builder.class); } // Construct using com.google.cloud.contactcenterinsights.v1.CallAnnotation.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -1070,9 +931,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.contactcenterinsights.v1.ResourcesProto - .internal_static_google_cloud_contactcenterinsights_v1_CallAnnotation_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.contactcenterinsights.v1.ResourcesProto.internal_static_google_cloud_contactcenterinsights_v1_CallAnnotation_descriptor; } @java.lang.Override @@ -1091,11 +952,8 @@ public com.google.cloud.contactcenterinsights.v1.CallAnnotation build() { @java.lang.Override public com.google.cloud.contactcenterinsights.v1.CallAnnotation buildPartial() { - com.google.cloud.contactcenterinsights.v1.CallAnnotation result = - new com.google.cloud.contactcenterinsights.v1.CallAnnotation(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + com.google.cloud.contactcenterinsights.v1.CallAnnotation result = new com.google.cloud.contactcenterinsights.v1.CallAnnotation(this); + if (bitField0_ != 0) { buildPartial0(result); } buildPartialOneofs(result); onBuilt(); return result; @@ -1107,45 +965,50 @@ private void buildPartial0(com.google.cloud.contactcenterinsights.v1.CallAnnotat result.channelTag_ = channelTag_; } if (((from_bitField0_ & 0x00000200) != 0)) { - result.annotationStartBoundary_ = - annotationStartBoundaryBuilder_ == null - ? annotationStartBoundary_ - : annotationStartBoundaryBuilder_.build(); + result.annotationStartBoundary_ = annotationStartBoundaryBuilder_ == null + ? annotationStartBoundary_ + : annotationStartBoundaryBuilder_.build(); } if (((from_bitField0_ & 0x00000400) != 0)) { - result.annotationEndBoundary_ = - annotationEndBoundaryBuilder_ == null - ? annotationEndBoundary_ - : annotationEndBoundaryBuilder_.build(); + result.annotationEndBoundary_ = annotationEndBoundaryBuilder_ == null + ? annotationEndBoundary_ + : annotationEndBoundaryBuilder_.build(); } } - private void buildPartialOneofs( - com.google.cloud.contactcenterinsights.v1.CallAnnotation result) { + private void buildPartialOneofs(com.google.cloud.contactcenterinsights.v1.CallAnnotation result) { result.dataCase_ = dataCase_; result.data_ = this.data_; - if (dataCase_ == 10 && interruptionDataBuilder_ != null) { + if (dataCase_ == 10 && + interruptionDataBuilder_ != null) { result.data_ = interruptionDataBuilder_.build(); } - if (dataCase_ == 11 && sentimentDataBuilder_ != null) { + if (dataCase_ == 11 && + sentimentDataBuilder_ != null) { result.data_ = sentimentDataBuilder_.build(); } - if (dataCase_ == 12 && silenceDataBuilder_ != null) { + if (dataCase_ == 12 && + silenceDataBuilder_ != null) { result.data_ = silenceDataBuilder_.build(); } - if (dataCase_ == 13 && holdDataBuilder_ != null) { + if (dataCase_ == 13 && + holdDataBuilder_ != null) { result.data_ = holdDataBuilder_.build(); } - if (dataCase_ == 15 && entityMentionDataBuilder_ != null) { + if (dataCase_ == 15 && + entityMentionDataBuilder_ != null) { result.data_ = entityMentionDataBuilder_.build(); } - if (dataCase_ == 16 && intentMatchDataBuilder_ != null) { + if (dataCase_ == 16 && + intentMatchDataBuilder_ != null) { result.data_ = intentMatchDataBuilder_.build(); } - if (dataCase_ == 17 && phraseMatchDataBuilder_ != null) { + if (dataCase_ == 17 && + phraseMatchDataBuilder_ != null) { result.data_ = phraseMatchDataBuilder_.build(); } - if (dataCase_ == 18 && issueMatchDataBuilder_ != null) { + if (dataCase_ == 18 && + issueMatchDataBuilder_ != null) { result.data_ = issueMatchDataBuilder_.build(); } } @@ -1154,39 +1017,38 @@ private void buildPartialOneofs( public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.contactcenterinsights.v1.CallAnnotation) { - return mergeFrom((com.google.cloud.contactcenterinsights.v1.CallAnnotation) other); + return mergeFrom((com.google.cloud.contactcenterinsights.v1.CallAnnotation)other); } else { super.mergeFrom(other); return this; @@ -1194,8 +1056,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.contactcenterinsights.v1.CallAnnotation other) { - if (other == com.google.cloud.contactcenterinsights.v1.CallAnnotation.getDefaultInstance()) - return this; + if (other == com.google.cloud.contactcenterinsights.v1.CallAnnotation.getDefaultInstance()) return this; if (other.getChannelTag() != 0) { setChannelTag(other.getChannelTag()); } @@ -1206,50 +1067,41 @@ public Builder mergeFrom(com.google.cloud.contactcenterinsights.v1.CallAnnotatio mergeAnnotationEndBoundary(other.getAnnotationEndBoundary()); } switch (other.getDataCase()) { - case INTERRUPTION_DATA: - { - mergeInterruptionData(other.getInterruptionData()); - break; - } - case SENTIMENT_DATA: - { - mergeSentimentData(other.getSentimentData()); - break; - } - case SILENCE_DATA: - { - mergeSilenceData(other.getSilenceData()); - break; - } - case HOLD_DATA: - { - mergeHoldData(other.getHoldData()); - break; - } - case ENTITY_MENTION_DATA: - { - mergeEntityMentionData(other.getEntityMentionData()); - break; - } - case INTENT_MATCH_DATA: - { - mergeIntentMatchData(other.getIntentMatchData()); - break; - } - case PHRASE_MATCH_DATA: - { - mergePhraseMatchData(other.getPhraseMatchData()); - break; - } - case ISSUE_MATCH_DATA: - { - mergeIssueMatchData(other.getIssueMatchData()); - break; - } - case DATA_NOT_SET: - { - break; - } + case INTERRUPTION_DATA: { + mergeInterruptionData(other.getInterruptionData()); + break; + } + case SENTIMENT_DATA: { + mergeSentimentData(other.getSentimentData()); + break; + } + case SILENCE_DATA: { + mergeSilenceData(other.getSilenceData()); + break; + } + case HOLD_DATA: { + mergeHoldData(other.getHoldData()); + break; + } + case ENTITY_MENTION_DATA: { + mergeEntityMentionData(other.getEntityMentionData()); + break; + } + case INTENT_MATCH_DATA: { + mergeIntentMatchData(other.getIntentMatchData()); + break; + } + case PHRASE_MATCH_DATA: { + mergePhraseMatchData(other.getPhraseMatchData()); + break; + } + case ISSUE_MATCH_DATA: { + mergeIssueMatchData(other.getIssueMatchData()); + break; + } + case DATA_NOT_SET: { + break; + } } this.mergeUnknownFields(other.getUnknownFields()); onChanged(); @@ -1277,83 +1129,87 @@ public Builder mergeFrom( case 0: done = true; break; - case 8: - { - channelTag_ = input.readInt32(); - bitField0_ |= 0x00000100; - break; - } // case 8 - case 34: - { - input.readMessage( - getAnnotationStartBoundaryFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00000200; - break; - } // case 34 - case 42: - { - input.readMessage( - getAnnotationEndBoundaryFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00000400; - break; - } // case 42 - case 82: - { - input.readMessage( - getInterruptionDataFieldBuilder().getBuilder(), extensionRegistry); - dataCase_ = 10; - break; - } // case 82 - case 90: - { - input.readMessage(getSentimentDataFieldBuilder().getBuilder(), extensionRegistry); - dataCase_ = 11; - break; - } // case 90 - case 98: - { - input.readMessage(getSilenceDataFieldBuilder().getBuilder(), extensionRegistry); - dataCase_ = 12; - break; - } // case 98 - case 106: - { - input.readMessage(getHoldDataFieldBuilder().getBuilder(), extensionRegistry); - dataCase_ = 13; - break; - } // case 106 - case 122: - { - input.readMessage( - getEntityMentionDataFieldBuilder().getBuilder(), extensionRegistry); - dataCase_ = 15; - break; - } // case 122 - case 130: - { - input.readMessage(getIntentMatchDataFieldBuilder().getBuilder(), extensionRegistry); - dataCase_ = 16; - break; - } // case 130 - case 138: - { - input.readMessage(getPhraseMatchDataFieldBuilder().getBuilder(), extensionRegistry); - dataCase_ = 17; - break; - } // case 138 - case 146: - { - input.readMessage(getIssueMatchDataFieldBuilder().getBuilder(), extensionRegistry); - dataCase_ = 18; - break; - } // case 146 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 8: { + channelTag_ = input.readInt32(); + bitField0_ |= 0x00000100; + break; + } // case 8 + case 34: { + input.readMessage( + getAnnotationStartBoundaryFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00000200; + break; + } // case 34 + case 42: { + input.readMessage( + getAnnotationEndBoundaryFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00000400; + break; + } // case 42 + case 82: { + input.readMessage( + getInterruptionDataFieldBuilder().getBuilder(), + extensionRegistry); + dataCase_ = 10; + break; + } // case 82 + case 90: { + input.readMessage( + getSentimentDataFieldBuilder().getBuilder(), + extensionRegistry); + dataCase_ = 11; + break; + } // case 90 + case 98: { + input.readMessage( + getSilenceDataFieldBuilder().getBuilder(), + extensionRegistry); + dataCase_ = 12; + break; + } // case 98 + case 106: { + input.readMessage( + getHoldDataFieldBuilder().getBuilder(), + extensionRegistry); + dataCase_ = 13; + break; + } // case 106 + case 122: { + input.readMessage( + getEntityMentionDataFieldBuilder().getBuilder(), + extensionRegistry); + dataCase_ = 15; + break; + } // case 122 + case 130: { + input.readMessage( + getIntentMatchDataFieldBuilder().getBuilder(), + extensionRegistry); + dataCase_ = 16; + break; + } // case 130 + case 138: { + input.readMessage( + getPhraseMatchDataFieldBuilder().getBuilder(), + extensionRegistry); + dataCase_ = 17; + break; + } // case 138 + case 146: { + input.readMessage( + getIssueMatchDataFieldBuilder().getBuilder(), + extensionRegistry); + dataCase_ = 18; + break; + } // case 146 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -1363,12 +1219,12 @@ public Builder mergeFrom( } // finally return this; } - private int dataCase_ = 0; private java.lang.Object data_; - - public DataCase getDataCase() { - return DataCase.forNumber(dataCase_); + public DataCase + getDataCase() { + return DataCase.forNumber( + dataCase_); } public Builder clearData() { @@ -1381,19 +1237,13 @@ public Builder clearData() { private int bitField0_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.contactcenterinsights.v1.InterruptionData, - com.google.cloud.contactcenterinsights.v1.InterruptionData.Builder, - com.google.cloud.contactcenterinsights.v1.InterruptionDataOrBuilder> - interruptionDataBuilder_; + com.google.cloud.contactcenterinsights.v1.InterruptionData, com.google.cloud.contactcenterinsights.v1.InterruptionData.Builder, com.google.cloud.contactcenterinsights.v1.InterruptionDataOrBuilder> interruptionDataBuilder_; /** - * - * *
      * Data specifying an interruption.
      * 
* * .google.cloud.contactcenterinsights.v1.InterruptionData interruption_data = 10; - * * @return Whether the interruptionData field is set. */ @java.lang.Override @@ -1401,14 +1251,11 @@ public boolean hasInterruptionData() { return dataCase_ == 10; } /** - * - * *
      * Data specifying an interruption.
      * 
* * .google.cloud.contactcenterinsights.v1.InterruptionData interruption_data = 10; - * * @return The interruptionData. */ @java.lang.Override @@ -1426,16 +1273,13 @@ public com.google.cloud.contactcenterinsights.v1.InterruptionData getInterruptio } } /** - * - * *
      * Data specifying an interruption.
      * 
* * .google.cloud.contactcenterinsights.v1.InterruptionData interruption_data = 10; */ - public Builder setInterruptionData( - com.google.cloud.contactcenterinsights.v1.InterruptionData value) { + public Builder setInterruptionData(com.google.cloud.contactcenterinsights.v1.InterruptionData value) { if (interruptionDataBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -1449,8 +1293,6 @@ public Builder setInterruptionData( return this; } /** - * - * *
      * Data specifying an interruption.
      * 
@@ -1469,26 +1311,18 @@ public Builder setInterruptionData( return this; } /** - * - * *
      * Data specifying an interruption.
      * 
* * .google.cloud.contactcenterinsights.v1.InterruptionData interruption_data = 10; */ - public Builder mergeInterruptionData( - com.google.cloud.contactcenterinsights.v1.InterruptionData value) { + public Builder mergeInterruptionData(com.google.cloud.contactcenterinsights.v1.InterruptionData value) { if (interruptionDataBuilder_ == null) { - if (dataCase_ == 10 - && data_ - != com.google.cloud.contactcenterinsights.v1.InterruptionData - .getDefaultInstance()) { - data_ = - com.google.cloud.contactcenterinsights.v1.InterruptionData.newBuilder( - (com.google.cloud.contactcenterinsights.v1.InterruptionData) data_) - .mergeFrom(value) - .buildPartial(); + if (dataCase_ == 10 && + data_ != com.google.cloud.contactcenterinsights.v1.InterruptionData.getDefaultInstance()) { + data_ = com.google.cloud.contactcenterinsights.v1.InterruptionData.newBuilder((com.google.cloud.contactcenterinsights.v1.InterruptionData) data_) + .mergeFrom(value).buildPartial(); } else { data_ = value; } @@ -1504,8 +1338,6 @@ public Builder mergeInterruptionData( return this; } /** - * - * *
      * Data specifying an interruption.
      * 
@@ -1529,21 +1361,16 @@ public Builder clearInterruptionData() { return this; } /** - * - * *
      * Data specifying an interruption.
      * 
* * .google.cloud.contactcenterinsights.v1.InterruptionData interruption_data = 10; */ - public com.google.cloud.contactcenterinsights.v1.InterruptionData.Builder - getInterruptionDataBuilder() { + public com.google.cloud.contactcenterinsights.v1.InterruptionData.Builder getInterruptionDataBuilder() { return getInterruptionDataFieldBuilder().getBuilder(); } /** - * - * *
      * Data specifying an interruption.
      * 
@@ -1551,8 +1378,7 @@ public Builder clearInterruptionData() { * .google.cloud.contactcenterinsights.v1.InterruptionData interruption_data = 10; */ @java.lang.Override - public com.google.cloud.contactcenterinsights.v1.InterruptionDataOrBuilder - getInterruptionDataOrBuilder() { + public com.google.cloud.contactcenterinsights.v1.InterruptionDataOrBuilder getInterruptionDataOrBuilder() { if ((dataCase_ == 10) && (interruptionDataBuilder_ != null)) { return interruptionDataBuilder_.getMessageOrBuilder(); } else { @@ -1563,8 +1389,6 @@ public Builder clearInterruptionData() { } } /** - * - * *
      * Data specifying an interruption.
      * 
@@ -1572,19 +1396,14 @@ public Builder clearInterruptionData() { * .google.cloud.contactcenterinsights.v1.InterruptionData interruption_data = 10; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.contactcenterinsights.v1.InterruptionData, - com.google.cloud.contactcenterinsights.v1.InterruptionData.Builder, - com.google.cloud.contactcenterinsights.v1.InterruptionDataOrBuilder> + com.google.cloud.contactcenterinsights.v1.InterruptionData, com.google.cloud.contactcenterinsights.v1.InterruptionData.Builder, com.google.cloud.contactcenterinsights.v1.InterruptionDataOrBuilder> getInterruptionDataFieldBuilder() { if (interruptionDataBuilder_ == null) { if (!(dataCase_ == 10)) { data_ = com.google.cloud.contactcenterinsights.v1.InterruptionData.getDefaultInstance(); } - interruptionDataBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.contactcenterinsights.v1.InterruptionData, - com.google.cloud.contactcenterinsights.v1.InterruptionData.Builder, - com.google.cloud.contactcenterinsights.v1.InterruptionDataOrBuilder>( + interruptionDataBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.contactcenterinsights.v1.InterruptionData, com.google.cloud.contactcenterinsights.v1.InterruptionData.Builder, com.google.cloud.contactcenterinsights.v1.InterruptionDataOrBuilder>( (com.google.cloud.contactcenterinsights.v1.InterruptionData) data_, getParentForChildren(), isClean()); @@ -1596,19 +1415,13 @@ public Builder clearInterruptionData() { } private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.contactcenterinsights.v1.SentimentData, - com.google.cloud.contactcenterinsights.v1.SentimentData.Builder, - com.google.cloud.contactcenterinsights.v1.SentimentDataOrBuilder> - sentimentDataBuilder_; + com.google.cloud.contactcenterinsights.v1.SentimentData, com.google.cloud.contactcenterinsights.v1.SentimentData.Builder, com.google.cloud.contactcenterinsights.v1.SentimentDataOrBuilder> sentimentDataBuilder_; /** - * - * *
      * Data specifying sentiment.
      * 
* * .google.cloud.contactcenterinsights.v1.SentimentData sentiment_data = 11; - * * @return Whether the sentimentData field is set. */ @java.lang.Override @@ -1616,14 +1429,11 @@ public boolean hasSentimentData() { return dataCase_ == 11; } /** - * - * *
      * Data specifying sentiment.
      * 
* * .google.cloud.contactcenterinsights.v1.SentimentData sentiment_data = 11; - * * @return The sentimentData. */ @java.lang.Override @@ -1641,8 +1451,6 @@ public com.google.cloud.contactcenterinsights.v1.SentimentData getSentimentData( } } /** - * - * *
      * Data specifying sentiment.
      * 
@@ -1663,8 +1471,6 @@ public Builder setSentimentData(com.google.cloud.contactcenterinsights.v1.Sentim return this; } /** - * - * *
      * Data specifying sentiment.
      * 
@@ -1683,25 +1489,18 @@ public Builder setSentimentData( return this; } /** - * - * *
      * Data specifying sentiment.
      * 
* * .google.cloud.contactcenterinsights.v1.SentimentData sentiment_data = 11; */ - public Builder mergeSentimentData( - com.google.cloud.contactcenterinsights.v1.SentimentData value) { + public Builder mergeSentimentData(com.google.cloud.contactcenterinsights.v1.SentimentData value) { if (sentimentDataBuilder_ == null) { - if (dataCase_ == 11 - && data_ - != com.google.cloud.contactcenterinsights.v1.SentimentData.getDefaultInstance()) { - data_ = - com.google.cloud.contactcenterinsights.v1.SentimentData.newBuilder( - (com.google.cloud.contactcenterinsights.v1.SentimentData) data_) - .mergeFrom(value) - .buildPartial(); + if (dataCase_ == 11 && + data_ != com.google.cloud.contactcenterinsights.v1.SentimentData.getDefaultInstance()) { + data_ = com.google.cloud.contactcenterinsights.v1.SentimentData.newBuilder((com.google.cloud.contactcenterinsights.v1.SentimentData) data_) + .mergeFrom(value).buildPartial(); } else { data_ = value; } @@ -1717,8 +1516,6 @@ public Builder mergeSentimentData( return this; } /** - * - * *
      * Data specifying sentiment.
      * 
@@ -1742,21 +1539,16 @@ public Builder clearSentimentData() { return this; } /** - * - * *
      * Data specifying sentiment.
      * 
* * .google.cloud.contactcenterinsights.v1.SentimentData sentiment_data = 11; */ - public com.google.cloud.contactcenterinsights.v1.SentimentData.Builder - getSentimentDataBuilder() { + public com.google.cloud.contactcenterinsights.v1.SentimentData.Builder getSentimentDataBuilder() { return getSentimentDataFieldBuilder().getBuilder(); } /** - * - * *
      * Data specifying sentiment.
      * 
@@ -1764,8 +1556,7 @@ public Builder clearSentimentData() { * .google.cloud.contactcenterinsights.v1.SentimentData sentiment_data = 11; */ @java.lang.Override - public com.google.cloud.contactcenterinsights.v1.SentimentDataOrBuilder - getSentimentDataOrBuilder() { + public com.google.cloud.contactcenterinsights.v1.SentimentDataOrBuilder getSentimentDataOrBuilder() { if ((dataCase_ == 11) && (sentimentDataBuilder_ != null)) { return sentimentDataBuilder_.getMessageOrBuilder(); } else { @@ -1776,8 +1567,6 @@ public Builder clearSentimentData() { } } /** - * - * *
      * Data specifying sentiment.
      * 
@@ -1785,19 +1574,14 @@ public Builder clearSentimentData() { * .google.cloud.contactcenterinsights.v1.SentimentData sentiment_data = 11; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.contactcenterinsights.v1.SentimentData, - com.google.cloud.contactcenterinsights.v1.SentimentData.Builder, - com.google.cloud.contactcenterinsights.v1.SentimentDataOrBuilder> + com.google.cloud.contactcenterinsights.v1.SentimentData, com.google.cloud.contactcenterinsights.v1.SentimentData.Builder, com.google.cloud.contactcenterinsights.v1.SentimentDataOrBuilder> getSentimentDataFieldBuilder() { if (sentimentDataBuilder_ == null) { if (!(dataCase_ == 11)) { data_ = com.google.cloud.contactcenterinsights.v1.SentimentData.getDefaultInstance(); } - sentimentDataBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.contactcenterinsights.v1.SentimentData, - com.google.cloud.contactcenterinsights.v1.SentimentData.Builder, - com.google.cloud.contactcenterinsights.v1.SentimentDataOrBuilder>( + sentimentDataBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.contactcenterinsights.v1.SentimentData, com.google.cloud.contactcenterinsights.v1.SentimentData.Builder, com.google.cloud.contactcenterinsights.v1.SentimentDataOrBuilder>( (com.google.cloud.contactcenterinsights.v1.SentimentData) data_, getParentForChildren(), isClean()); @@ -1809,19 +1593,13 @@ public Builder clearSentimentData() { } private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.contactcenterinsights.v1.SilenceData, - com.google.cloud.contactcenterinsights.v1.SilenceData.Builder, - com.google.cloud.contactcenterinsights.v1.SilenceDataOrBuilder> - silenceDataBuilder_; + com.google.cloud.contactcenterinsights.v1.SilenceData, com.google.cloud.contactcenterinsights.v1.SilenceData.Builder, com.google.cloud.contactcenterinsights.v1.SilenceDataOrBuilder> silenceDataBuilder_; /** - * - * *
      * Data specifying silence.
      * 
* * .google.cloud.contactcenterinsights.v1.SilenceData silence_data = 12; - * * @return Whether the silenceData field is set. */ @java.lang.Override @@ -1829,14 +1607,11 @@ public boolean hasSilenceData() { return dataCase_ == 12; } /** - * - * *
      * Data specifying silence.
      * 
* * .google.cloud.contactcenterinsights.v1.SilenceData silence_data = 12; - * * @return The silenceData. */ @java.lang.Override @@ -1854,8 +1629,6 @@ public com.google.cloud.contactcenterinsights.v1.SilenceData getSilenceData() { } } /** - * - * *
      * Data specifying silence.
      * 
@@ -1876,8 +1649,6 @@ public Builder setSilenceData(com.google.cloud.contactcenterinsights.v1.SilenceD return this; } /** - * - * *
      * Data specifying silence.
      * 
@@ -1896,8 +1667,6 @@ public Builder setSilenceData( return this; } /** - * - * *
      * Data specifying silence.
      * 
@@ -1906,14 +1675,10 @@ public Builder setSilenceData( */ public Builder mergeSilenceData(com.google.cloud.contactcenterinsights.v1.SilenceData value) { if (silenceDataBuilder_ == null) { - if (dataCase_ == 12 - && data_ - != com.google.cloud.contactcenterinsights.v1.SilenceData.getDefaultInstance()) { - data_ = - com.google.cloud.contactcenterinsights.v1.SilenceData.newBuilder( - (com.google.cloud.contactcenterinsights.v1.SilenceData) data_) - .mergeFrom(value) - .buildPartial(); + if (dataCase_ == 12 && + data_ != com.google.cloud.contactcenterinsights.v1.SilenceData.getDefaultInstance()) { + data_ = com.google.cloud.contactcenterinsights.v1.SilenceData.newBuilder((com.google.cloud.contactcenterinsights.v1.SilenceData) data_) + .mergeFrom(value).buildPartial(); } else { data_ = value; } @@ -1929,8 +1694,6 @@ public Builder mergeSilenceData(com.google.cloud.contactcenterinsights.v1.Silenc return this; } /** - * - * *
      * Data specifying silence.
      * 
@@ -1954,8 +1717,6 @@ public Builder clearSilenceData() { return this; } /** - * - * *
      * Data specifying silence.
      * 
@@ -1966,8 +1727,6 @@ public com.google.cloud.contactcenterinsights.v1.SilenceData.Builder getSilenceD return getSilenceDataFieldBuilder().getBuilder(); } /** - * - * *
      * Data specifying silence.
      * 
@@ -1975,8 +1734,7 @@ public com.google.cloud.contactcenterinsights.v1.SilenceData.Builder getSilenceD * .google.cloud.contactcenterinsights.v1.SilenceData silence_data = 12; */ @java.lang.Override - public com.google.cloud.contactcenterinsights.v1.SilenceDataOrBuilder - getSilenceDataOrBuilder() { + public com.google.cloud.contactcenterinsights.v1.SilenceDataOrBuilder getSilenceDataOrBuilder() { if ((dataCase_ == 12) && (silenceDataBuilder_ != null)) { return silenceDataBuilder_.getMessageOrBuilder(); } else { @@ -1987,8 +1745,6 @@ public com.google.cloud.contactcenterinsights.v1.SilenceData.Builder getSilenceD } } /** - * - * *
      * Data specifying silence.
      * 
@@ -1996,19 +1752,14 @@ public com.google.cloud.contactcenterinsights.v1.SilenceData.Builder getSilenceD * .google.cloud.contactcenterinsights.v1.SilenceData silence_data = 12; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.contactcenterinsights.v1.SilenceData, - com.google.cloud.contactcenterinsights.v1.SilenceData.Builder, - com.google.cloud.contactcenterinsights.v1.SilenceDataOrBuilder> + com.google.cloud.contactcenterinsights.v1.SilenceData, com.google.cloud.contactcenterinsights.v1.SilenceData.Builder, com.google.cloud.contactcenterinsights.v1.SilenceDataOrBuilder> getSilenceDataFieldBuilder() { if (silenceDataBuilder_ == null) { if (!(dataCase_ == 12)) { data_ = com.google.cloud.contactcenterinsights.v1.SilenceData.getDefaultInstance(); } - silenceDataBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.contactcenterinsights.v1.SilenceData, - com.google.cloud.contactcenterinsights.v1.SilenceData.Builder, - com.google.cloud.contactcenterinsights.v1.SilenceDataOrBuilder>( + silenceDataBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.contactcenterinsights.v1.SilenceData, com.google.cloud.contactcenterinsights.v1.SilenceData.Builder, com.google.cloud.contactcenterinsights.v1.SilenceDataOrBuilder>( (com.google.cloud.contactcenterinsights.v1.SilenceData) data_, getParentForChildren(), isClean()); @@ -2020,19 +1771,13 @@ public com.google.cloud.contactcenterinsights.v1.SilenceData.Builder getSilenceD } private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.contactcenterinsights.v1.HoldData, - com.google.cloud.contactcenterinsights.v1.HoldData.Builder, - com.google.cloud.contactcenterinsights.v1.HoldDataOrBuilder> - holdDataBuilder_; + com.google.cloud.contactcenterinsights.v1.HoldData, com.google.cloud.contactcenterinsights.v1.HoldData.Builder, com.google.cloud.contactcenterinsights.v1.HoldDataOrBuilder> holdDataBuilder_; /** - * - * *
      * Data specifying a hold.
      * 
* * .google.cloud.contactcenterinsights.v1.HoldData hold_data = 13; - * * @return Whether the holdData field is set. */ @java.lang.Override @@ -2040,14 +1785,11 @@ public boolean hasHoldData() { return dataCase_ == 13; } /** - * - * *
      * Data specifying a hold.
      * 
* * .google.cloud.contactcenterinsights.v1.HoldData hold_data = 13; - * * @return The holdData. */ @java.lang.Override @@ -2065,8 +1807,6 @@ public com.google.cloud.contactcenterinsights.v1.HoldData getHoldData() { } } /** - * - * *
      * Data specifying a hold.
      * 
@@ -2087,8 +1827,6 @@ public Builder setHoldData(com.google.cloud.contactcenterinsights.v1.HoldData va return this; } /** - * - * *
      * Data specifying a hold.
      * 
@@ -2107,8 +1845,6 @@ public Builder setHoldData( return this; } /** - * - * *
      * Data specifying a hold.
      * 
@@ -2117,13 +1853,10 @@ public Builder setHoldData( */ public Builder mergeHoldData(com.google.cloud.contactcenterinsights.v1.HoldData value) { if (holdDataBuilder_ == null) { - if (dataCase_ == 13 - && data_ != com.google.cloud.contactcenterinsights.v1.HoldData.getDefaultInstance()) { - data_ = - com.google.cloud.contactcenterinsights.v1.HoldData.newBuilder( - (com.google.cloud.contactcenterinsights.v1.HoldData) data_) - .mergeFrom(value) - .buildPartial(); + if (dataCase_ == 13 && + data_ != com.google.cloud.contactcenterinsights.v1.HoldData.getDefaultInstance()) { + data_ = com.google.cloud.contactcenterinsights.v1.HoldData.newBuilder((com.google.cloud.contactcenterinsights.v1.HoldData) data_) + .mergeFrom(value).buildPartial(); } else { data_ = value; } @@ -2139,8 +1872,6 @@ public Builder mergeHoldData(com.google.cloud.contactcenterinsights.v1.HoldData return this; } /** - * - * *
      * Data specifying a hold.
      * 
@@ -2164,8 +1895,6 @@ public Builder clearHoldData() { return this; } /** - * - * *
      * Data specifying a hold.
      * 
@@ -2176,8 +1905,6 @@ public com.google.cloud.contactcenterinsights.v1.HoldData.Builder getHoldDataBui return getHoldDataFieldBuilder().getBuilder(); } /** - * - * *
      * Data specifying a hold.
      * 
@@ -2196,8 +1923,6 @@ public com.google.cloud.contactcenterinsights.v1.HoldDataOrBuilder getHoldDataOr } } /** - * - * *
      * Data specifying a hold.
      * 
@@ -2205,19 +1930,14 @@ public com.google.cloud.contactcenterinsights.v1.HoldDataOrBuilder getHoldDataOr * .google.cloud.contactcenterinsights.v1.HoldData hold_data = 13; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.contactcenterinsights.v1.HoldData, - com.google.cloud.contactcenterinsights.v1.HoldData.Builder, - com.google.cloud.contactcenterinsights.v1.HoldDataOrBuilder> + com.google.cloud.contactcenterinsights.v1.HoldData, com.google.cloud.contactcenterinsights.v1.HoldData.Builder, com.google.cloud.contactcenterinsights.v1.HoldDataOrBuilder> getHoldDataFieldBuilder() { if (holdDataBuilder_ == null) { if (!(dataCase_ == 13)) { data_ = com.google.cloud.contactcenterinsights.v1.HoldData.getDefaultInstance(); } - holdDataBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.contactcenterinsights.v1.HoldData, - com.google.cloud.contactcenterinsights.v1.HoldData.Builder, - com.google.cloud.contactcenterinsights.v1.HoldDataOrBuilder>( + holdDataBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.contactcenterinsights.v1.HoldData, com.google.cloud.contactcenterinsights.v1.HoldData.Builder, com.google.cloud.contactcenterinsights.v1.HoldDataOrBuilder>( (com.google.cloud.contactcenterinsights.v1.HoldData) data_, getParentForChildren(), isClean()); @@ -2229,20 +1949,13 @@ public com.google.cloud.contactcenterinsights.v1.HoldDataOrBuilder getHoldDataOr } private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.contactcenterinsights.v1.EntityMentionData, - com.google.cloud.contactcenterinsights.v1.EntityMentionData.Builder, - com.google.cloud.contactcenterinsights.v1.EntityMentionDataOrBuilder> - entityMentionDataBuilder_; + com.google.cloud.contactcenterinsights.v1.EntityMentionData, com.google.cloud.contactcenterinsights.v1.EntityMentionData.Builder, com.google.cloud.contactcenterinsights.v1.EntityMentionDataOrBuilder> entityMentionDataBuilder_; /** - * - * *
      * Data specifying an entity mention.
      * 
* - * .google.cloud.contactcenterinsights.v1.EntityMentionData entity_mention_data = 15; - * - * + * .google.cloud.contactcenterinsights.v1.EntityMentionData entity_mention_data = 15; * @return Whether the entityMentionData field is set. */ @java.lang.Override @@ -2250,15 +1963,11 @@ public boolean hasEntityMentionData() { return dataCase_ == 15; } /** - * - * *
      * Data specifying an entity mention.
      * 
* - * .google.cloud.contactcenterinsights.v1.EntityMentionData entity_mention_data = 15; - * - * + * .google.cloud.contactcenterinsights.v1.EntityMentionData entity_mention_data = 15; * @return The entityMentionData. */ @java.lang.Override @@ -2276,17 +1985,13 @@ public com.google.cloud.contactcenterinsights.v1.EntityMentionData getEntityMent } } /** - * - * *
      * Data specifying an entity mention.
      * 
* - * .google.cloud.contactcenterinsights.v1.EntityMentionData entity_mention_data = 15; - * + * .google.cloud.contactcenterinsights.v1.EntityMentionData entity_mention_data = 15; */ - public Builder setEntityMentionData( - com.google.cloud.contactcenterinsights.v1.EntityMentionData value) { + public Builder setEntityMentionData(com.google.cloud.contactcenterinsights.v1.EntityMentionData value) { if (entityMentionDataBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -2300,14 +2005,11 @@ public Builder setEntityMentionData( return this; } /** - * - * *
      * Data specifying an entity mention.
      * 
* - * .google.cloud.contactcenterinsights.v1.EntityMentionData entity_mention_data = 15; - * + * .google.cloud.contactcenterinsights.v1.EntityMentionData entity_mention_data = 15; */ public Builder setEntityMentionData( com.google.cloud.contactcenterinsights.v1.EntityMentionData.Builder builderForValue) { @@ -2321,27 +2023,18 @@ public Builder setEntityMentionData( return this; } /** - * - * *
      * Data specifying an entity mention.
      * 
* - * .google.cloud.contactcenterinsights.v1.EntityMentionData entity_mention_data = 15; - * + * .google.cloud.contactcenterinsights.v1.EntityMentionData entity_mention_data = 15; */ - public Builder mergeEntityMentionData( - com.google.cloud.contactcenterinsights.v1.EntityMentionData value) { + public Builder mergeEntityMentionData(com.google.cloud.contactcenterinsights.v1.EntityMentionData value) { if (entityMentionDataBuilder_ == null) { - if (dataCase_ == 15 - && data_ - != com.google.cloud.contactcenterinsights.v1.EntityMentionData - .getDefaultInstance()) { - data_ = - com.google.cloud.contactcenterinsights.v1.EntityMentionData.newBuilder( - (com.google.cloud.contactcenterinsights.v1.EntityMentionData) data_) - .mergeFrom(value) - .buildPartial(); + if (dataCase_ == 15 && + data_ != com.google.cloud.contactcenterinsights.v1.EntityMentionData.getDefaultInstance()) { + data_ = com.google.cloud.contactcenterinsights.v1.EntityMentionData.newBuilder((com.google.cloud.contactcenterinsights.v1.EntityMentionData) data_) + .mergeFrom(value).buildPartial(); } else { data_ = value; } @@ -2357,14 +2050,11 @@ public Builder mergeEntityMentionData( return this; } /** - * - * *
      * Data specifying an entity mention.
      * 
* - * .google.cloud.contactcenterinsights.v1.EntityMentionData entity_mention_data = 15; - * + * .google.cloud.contactcenterinsights.v1.EntityMentionData entity_mention_data = 15; */ public Builder clearEntityMentionData() { if (entityMentionDataBuilder_ == null) { @@ -2383,32 +2073,24 @@ public Builder clearEntityMentionData() { return this; } /** - * - * *
      * Data specifying an entity mention.
      * 
* - * .google.cloud.contactcenterinsights.v1.EntityMentionData entity_mention_data = 15; - * + * .google.cloud.contactcenterinsights.v1.EntityMentionData entity_mention_data = 15; */ - public com.google.cloud.contactcenterinsights.v1.EntityMentionData.Builder - getEntityMentionDataBuilder() { + public com.google.cloud.contactcenterinsights.v1.EntityMentionData.Builder getEntityMentionDataBuilder() { return getEntityMentionDataFieldBuilder().getBuilder(); } /** - * - * *
      * Data specifying an entity mention.
      * 
* - * .google.cloud.contactcenterinsights.v1.EntityMentionData entity_mention_data = 15; - * + * .google.cloud.contactcenterinsights.v1.EntityMentionData entity_mention_data = 15; */ @java.lang.Override - public com.google.cloud.contactcenterinsights.v1.EntityMentionDataOrBuilder - getEntityMentionDataOrBuilder() { + public com.google.cloud.contactcenterinsights.v1.EntityMentionDataOrBuilder getEntityMentionDataOrBuilder() { if ((dataCase_ == 15) && (entityMentionDataBuilder_ != null)) { return entityMentionDataBuilder_.getMessageOrBuilder(); } else { @@ -2419,29 +2101,21 @@ public Builder clearEntityMentionData() { } } /** - * - * *
      * Data specifying an entity mention.
      * 
* - * .google.cloud.contactcenterinsights.v1.EntityMentionData entity_mention_data = 15; - * + * .google.cloud.contactcenterinsights.v1.EntityMentionData entity_mention_data = 15; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.contactcenterinsights.v1.EntityMentionData, - com.google.cloud.contactcenterinsights.v1.EntityMentionData.Builder, - com.google.cloud.contactcenterinsights.v1.EntityMentionDataOrBuilder> + com.google.cloud.contactcenterinsights.v1.EntityMentionData, com.google.cloud.contactcenterinsights.v1.EntityMentionData.Builder, com.google.cloud.contactcenterinsights.v1.EntityMentionDataOrBuilder> getEntityMentionDataFieldBuilder() { if (entityMentionDataBuilder_ == null) { if (!(dataCase_ == 15)) { data_ = com.google.cloud.contactcenterinsights.v1.EntityMentionData.getDefaultInstance(); } - entityMentionDataBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.contactcenterinsights.v1.EntityMentionData, - com.google.cloud.contactcenterinsights.v1.EntityMentionData.Builder, - com.google.cloud.contactcenterinsights.v1.EntityMentionDataOrBuilder>( + entityMentionDataBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.contactcenterinsights.v1.EntityMentionData, com.google.cloud.contactcenterinsights.v1.EntityMentionData.Builder, com.google.cloud.contactcenterinsights.v1.EntityMentionDataOrBuilder>( (com.google.cloud.contactcenterinsights.v1.EntityMentionData) data_, getParentForChildren(), isClean()); @@ -2453,19 +2127,13 @@ public Builder clearEntityMentionData() { } private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.contactcenterinsights.v1.IntentMatchData, - com.google.cloud.contactcenterinsights.v1.IntentMatchData.Builder, - com.google.cloud.contactcenterinsights.v1.IntentMatchDataOrBuilder> - intentMatchDataBuilder_; + com.google.cloud.contactcenterinsights.v1.IntentMatchData, com.google.cloud.contactcenterinsights.v1.IntentMatchData.Builder, com.google.cloud.contactcenterinsights.v1.IntentMatchDataOrBuilder> intentMatchDataBuilder_; /** - * - * *
      * Data specifying an intent match.
      * 
* * .google.cloud.contactcenterinsights.v1.IntentMatchData intent_match_data = 16; - * * @return Whether the intentMatchData field is set. */ @java.lang.Override @@ -2473,14 +2141,11 @@ public boolean hasIntentMatchData() { return dataCase_ == 16; } /** - * - * *
      * Data specifying an intent match.
      * 
* * .google.cloud.contactcenterinsights.v1.IntentMatchData intent_match_data = 16; - * * @return The intentMatchData. */ @java.lang.Override @@ -2498,16 +2163,13 @@ public com.google.cloud.contactcenterinsights.v1.IntentMatchData getIntentMatchD } } /** - * - * *
      * Data specifying an intent match.
      * 
* * .google.cloud.contactcenterinsights.v1.IntentMatchData intent_match_data = 16; */ - public Builder setIntentMatchData( - com.google.cloud.contactcenterinsights.v1.IntentMatchData value) { + public Builder setIntentMatchData(com.google.cloud.contactcenterinsights.v1.IntentMatchData value) { if (intentMatchDataBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -2521,8 +2183,6 @@ public Builder setIntentMatchData( return this; } /** - * - * *
      * Data specifying an intent match.
      * 
@@ -2541,25 +2201,18 @@ public Builder setIntentMatchData( return this; } /** - * - * *
      * Data specifying an intent match.
      * 
* * .google.cloud.contactcenterinsights.v1.IntentMatchData intent_match_data = 16; */ - public Builder mergeIntentMatchData( - com.google.cloud.contactcenterinsights.v1.IntentMatchData value) { + public Builder mergeIntentMatchData(com.google.cloud.contactcenterinsights.v1.IntentMatchData value) { if (intentMatchDataBuilder_ == null) { - if (dataCase_ == 16 - && data_ - != com.google.cloud.contactcenterinsights.v1.IntentMatchData.getDefaultInstance()) { - data_ = - com.google.cloud.contactcenterinsights.v1.IntentMatchData.newBuilder( - (com.google.cloud.contactcenterinsights.v1.IntentMatchData) data_) - .mergeFrom(value) - .buildPartial(); + if (dataCase_ == 16 && + data_ != com.google.cloud.contactcenterinsights.v1.IntentMatchData.getDefaultInstance()) { + data_ = com.google.cloud.contactcenterinsights.v1.IntentMatchData.newBuilder((com.google.cloud.contactcenterinsights.v1.IntentMatchData) data_) + .mergeFrom(value).buildPartial(); } else { data_ = value; } @@ -2575,8 +2228,6 @@ public Builder mergeIntentMatchData( return this; } /** - * - * *
      * Data specifying an intent match.
      * 
@@ -2600,21 +2251,16 @@ public Builder clearIntentMatchData() { return this; } /** - * - * *
      * Data specifying an intent match.
      * 
* * .google.cloud.contactcenterinsights.v1.IntentMatchData intent_match_data = 16; */ - public com.google.cloud.contactcenterinsights.v1.IntentMatchData.Builder - getIntentMatchDataBuilder() { + public com.google.cloud.contactcenterinsights.v1.IntentMatchData.Builder getIntentMatchDataBuilder() { return getIntentMatchDataFieldBuilder().getBuilder(); } /** - * - * *
      * Data specifying an intent match.
      * 
@@ -2622,8 +2268,7 @@ public Builder clearIntentMatchData() { * .google.cloud.contactcenterinsights.v1.IntentMatchData intent_match_data = 16; */ @java.lang.Override - public com.google.cloud.contactcenterinsights.v1.IntentMatchDataOrBuilder - getIntentMatchDataOrBuilder() { + public com.google.cloud.contactcenterinsights.v1.IntentMatchDataOrBuilder getIntentMatchDataOrBuilder() { if ((dataCase_ == 16) && (intentMatchDataBuilder_ != null)) { return intentMatchDataBuilder_.getMessageOrBuilder(); } else { @@ -2634,8 +2279,6 @@ public Builder clearIntentMatchData() { } } /** - * - * *
      * Data specifying an intent match.
      * 
@@ -2643,19 +2286,14 @@ public Builder clearIntentMatchData() { * .google.cloud.contactcenterinsights.v1.IntentMatchData intent_match_data = 16; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.contactcenterinsights.v1.IntentMatchData, - com.google.cloud.contactcenterinsights.v1.IntentMatchData.Builder, - com.google.cloud.contactcenterinsights.v1.IntentMatchDataOrBuilder> + com.google.cloud.contactcenterinsights.v1.IntentMatchData, com.google.cloud.contactcenterinsights.v1.IntentMatchData.Builder, com.google.cloud.contactcenterinsights.v1.IntentMatchDataOrBuilder> getIntentMatchDataFieldBuilder() { if (intentMatchDataBuilder_ == null) { if (!(dataCase_ == 16)) { data_ = com.google.cloud.contactcenterinsights.v1.IntentMatchData.getDefaultInstance(); } - intentMatchDataBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.contactcenterinsights.v1.IntentMatchData, - com.google.cloud.contactcenterinsights.v1.IntentMatchData.Builder, - com.google.cloud.contactcenterinsights.v1.IntentMatchDataOrBuilder>( + intentMatchDataBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.contactcenterinsights.v1.IntentMatchData, com.google.cloud.contactcenterinsights.v1.IntentMatchData.Builder, com.google.cloud.contactcenterinsights.v1.IntentMatchDataOrBuilder>( (com.google.cloud.contactcenterinsights.v1.IntentMatchData) data_, getParentForChildren(), isClean()); @@ -2667,19 +2305,13 @@ public Builder clearIntentMatchData() { } private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.contactcenterinsights.v1.PhraseMatchData, - com.google.cloud.contactcenterinsights.v1.PhraseMatchData.Builder, - com.google.cloud.contactcenterinsights.v1.PhraseMatchDataOrBuilder> - phraseMatchDataBuilder_; + com.google.cloud.contactcenterinsights.v1.PhraseMatchData, com.google.cloud.contactcenterinsights.v1.PhraseMatchData.Builder, com.google.cloud.contactcenterinsights.v1.PhraseMatchDataOrBuilder> phraseMatchDataBuilder_; /** - * - * *
      * Data specifying a phrase match.
      * 
* * .google.cloud.contactcenterinsights.v1.PhraseMatchData phrase_match_data = 17; - * * @return Whether the phraseMatchData field is set. */ @java.lang.Override @@ -2687,14 +2319,11 @@ public boolean hasPhraseMatchData() { return dataCase_ == 17; } /** - * - * *
      * Data specifying a phrase match.
      * 
* * .google.cloud.contactcenterinsights.v1.PhraseMatchData phrase_match_data = 17; - * * @return The phraseMatchData. */ @java.lang.Override @@ -2712,16 +2341,13 @@ public com.google.cloud.contactcenterinsights.v1.PhraseMatchData getPhraseMatchD } } /** - * - * *
      * Data specifying a phrase match.
      * 
* * .google.cloud.contactcenterinsights.v1.PhraseMatchData phrase_match_data = 17; */ - public Builder setPhraseMatchData( - com.google.cloud.contactcenterinsights.v1.PhraseMatchData value) { + public Builder setPhraseMatchData(com.google.cloud.contactcenterinsights.v1.PhraseMatchData value) { if (phraseMatchDataBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -2735,8 +2361,6 @@ public Builder setPhraseMatchData( return this; } /** - * - * *
      * Data specifying a phrase match.
      * 
@@ -2755,25 +2379,18 @@ public Builder setPhraseMatchData( return this; } /** - * - * *
      * Data specifying a phrase match.
      * 
* * .google.cloud.contactcenterinsights.v1.PhraseMatchData phrase_match_data = 17; */ - public Builder mergePhraseMatchData( - com.google.cloud.contactcenterinsights.v1.PhraseMatchData value) { + public Builder mergePhraseMatchData(com.google.cloud.contactcenterinsights.v1.PhraseMatchData value) { if (phraseMatchDataBuilder_ == null) { - if (dataCase_ == 17 - && data_ - != com.google.cloud.contactcenterinsights.v1.PhraseMatchData.getDefaultInstance()) { - data_ = - com.google.cloud.contactcenterinsights.v1.PhraseMatchData.newBuilder( - (com.google.cloud.contactcenterinsights.v1.PhraseMatchData) data_) - .mergeFrom(value) - .buildPartial(); + if (dataCase_ == 17 && + data_ != com.google.cloud.contactcenterinsights.v1.PhraseMatchData.getDefaultInstance()) { + data_ = com.google.cloud.contactcenterinsights.v1.PhraseMatchData.newBuilder((com.google.cloud.contactcenterinsights.v1.PhraseMatchData) data_) + .mergeFrom(value).buildPartial(); } else { data_ = value; } @@ -2789,8 +2406,6 @@ public Builder mergePhraseMatchData( return this; } /** - * - * *
      * Data specifying a phrase match.
      * 
@@ -2814,21 +2429,16 @@ public Builder clearPhraseMatchData() { return this; } /** - * - * *
      * Data specifying a phrase match.
      * 
* * .google.cloud.contactcenterinsights.v1.PhraseMatchData phrase_match_data = 17; */ - public com.google.cloud.contactcenterinsights.v1.PhraseMatchData.Builder - getPhraseMatchDataBuilder() { + public com.google.cloud.contactcenterinsights.v1.PhraseMatchData.Builder getPhraseMatchDataBuilder() { return getPhraseMatchDataFieldBuilder().getBuilder(); } /** - * - * *
      * Data specifying a phrase match.
      * 
@@ -2836,8 +2446,7 @@ public Builder clearPhraseMatchData() { * .google.cloud.contactcenterinsights.v1.PhraseMatchData phrase_match_data = 17; */ @java.lang.Override - public com.google.cloud.contactcenterinsights.v1.PhraseMatchDataOrBuilder - getPhraseMatchDataOrBuilder() { + public com.google.cloud.contactcenterinsights.v1.PhraseMatchDataOrBuilder getPhraseMatchDataOrBuilder() { if ((dataCase_ == 17) && (phraseMatchDataBuilder_ != null)) { return phraseMatchDataBuilder_.getMessageOrBuilder(); } else { @@ -2848,8 +2457,6 @@ public Builder clearPhraseMatchData() { } } /** - * - * *
      * Data specifying a phrase match.
      * 
@@ -2857,19 +2464,14 @@ public Builder clearPhraseMatchData() { * .google.cloud.contactcenterinsights.v1.PhraseMatchData phrase_match_data = 17; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.contactcenterinsights.v1.PhraseMatchData, - com.google.cloud.contactcenterinsights.v1.PhraseMatchData.Builder, - com.google.cloud.contactcenterinsights.v1.PhraseMatchDataOrBuilder> + com.google.cloud.contactcenterinsights.v1.PhraseMatchData, com.google.cloud.contactcenterinsights.v1.PhraseMatchData.Builder, com.google.cloud.contactcenterinsights.v1.PhraseMatchDataOrBuilder> getPhraseMatchDataFieldBuilder() { if (phraseMatchDataBuilder_ == null) { if (!(dataCase_ == 17)) { data_ = com.google.cloud.contactcenterinsights.v1.PhraseMatchData.getDefaultInstance(); } - phraseMatchDataBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.contactcenterinsights.v1.PhraseMatchData, - com.google.cloud.contactcenterinsights.v1.PhraseMatchData.Builder, - com.google.cloud.contactcenterinsights.v1.PhraseMatchDataOrBuilder>( + phraseMatchDataBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.contactcenterinsights.v1.PhraseMatchData, com.google.cloud.contactcenterinsights.v1.PhraseMatchData.Builder, com.google.cloud.contactcenterinsights.v1.PhraseMatchDataOrBuilder>( (com.google.cloud.contactcenterinsights.v1.PhraseMatchData) data_, getParentForChildren(), isClean()); @@ -2881,19 +2483,13 @@ public Builder clearPhraseMatchData() { } private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.contactcenterinsights.v1.IssueMatchData, - com.google.cloud.contactcenterinsights.v1.IssueMatchData.Builder, - com.google.cloud.contactcenterinsights.v1.IssueMatchDataOrBuilder> - issueMatchDataBuilder_; + com.google.cloud.contactcenterinsights.v1.IssueMatchData, com.google.cloud.contactcenterinsights.v1.IssueMatchData.Builder, com.google.cloud.contactcenterinsights.v1.IssueMatchDataOrBuilder> issueMatchDataBuilder_; /** - * - * *
      * Data specifying an issue match.
      * 
* * .google.cloud.contactcenterinsights.v1.IssueMatchData issue_match_data = 18; - * * @return Whether the issueMatchData field is set. */ @java.lang.Override @@ -2901,14 +2497,11 @@ public boolean hasIssueMatchData() { return dataCase_ == 18; } /** - * - * *
      * Data specifying an issue match.
      * 
* * .google.cloud.contactcenterinsights.v1.IssueMatchData issue_match_data = 18; - * * @return The issueMatchData. */ @java.lang.Override @@ -2926,16 +2519,13 @@ public com.google.cloud.contactcenterinsights.v1.IssueMatchData getIssueMatchDat } } /** - * - * *
      * Data specifying an issue match.
      * 
* * .google.cloud.contactcenterinsights.v1.IssueMatchData issue_match_data = 18; */ - public Builder setIssueMatchData( - com.google.cloud.contactcenterinsights.v1.IssueMatchData value) { + public Builder setIssueMatchData(com.google.cloud.contactcenterinsights.v1.IssueMatchData value) { if (issueMatchDataBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -2949,8 +2539,6 @@ public Builder setIssueMatchData( return this; } /** - * - * *
      * Data specifying an issue match.
      * 
@@ -2969,25 +2557,18 @@ public Builder setIssueMatchData( return this; } /** - * - * *
      * Data specifying an issue match.
      * 
* * .google.cloud.contactcenterinsights.v1.IssueMatchData issue_match_data = 18; */ - public Builder mergeIssueMatchData( - com.google.cloud.contactcenterinsights.v1.IssueMatchData value) { + public Builder mergeIssueMatchData(com.google.cloud.contactcenterinsights.v1.IssueMatchData value) { if (issueMatchDataBuilder_ == null) { - if (dataCase_ == 18 - && data_ - != com.google.cloud.contactcenterinsights.v1.IssueMatchData.getDefaultInstance()) { - data_ = - com.google.cloud.contactcenterinsights.v1.IssueMatchData.newBuilder( - (com.google.cloud.contactcenterinsights.v1.IssueMatchData) data_) - .mergeFrom(value) - .buildPartial(); + if (dataCase_ == 18 && + data_ != com.google.cloud.contactcenterinsights.v1.IssueMatchData.getDefaultInstance()) { + data_ = com.google.cloud.contactcenterinsights.v1.IssueMatchData.newBuilder((com.google.cloud.contactcenterinsights.v1.IssueMatchData) data_) + .mergeFrom(value).buildPartial(); } else { data_ = value; } @@ -3003,8 +2584,6 @@ public Builder mergeIssueMatchData( return this; } /** - * - * *
      * Data specifying an issue match.
      * 
@@ -3028,21 +2607,16 @@ public Builder clearIssueMatchData() { return this; } /** - * - * *
      * Data specifying an issue match.
      * 
* * .google.cloud.contactcenterinsights.v1.IssueMatchData issue_match_data = 18; */ - public com.google.cloud.contactcenterinsights.v1.IssueMatchData.Builder - getIssueMatchDataBuilder() { + public com.google.cloud.contactcenterinsights.v1.IssueMatchData.Builder getIssueMatchDataBuilder() { return getIssueMatchDataFieldBuilder().getBuilder(); } /** - * - * *
      * Data specifying an issue match.
      * 
@@ -3050,8 +2624,7 @@ public Builder clearIssueMatchData() { * .google.cloud.contactcenterinsights.v1.IssueMatchData issue_match_data = 18; */ @java.lang.Override - public com.google.cloud.contactcenterinsights.v1.IssueMatchDataOrBuilder - getIssueMatchDataOrBuilder() { + public com.google.cloud.contactcenterinsights.v1.IssueMatchDataOrBuilder getIssueMatchDataOrBuilder() { if ((dataCase_ == 18) && (issueMatchDataBuilder_ != null)) { return issueMatchDataBuilder_.getMessageOrBuilder(); } else { @@ -3062,8 +2635,6 @@ public Builder clearIssueMatchData() { } } /** - * - * *
      * Data specifying an issue match.
      * 
@@ -3071,19 +2642,14 @@ public Builder clearIssueMatchData() { * .google.cloud.contactcenterinsights.v1.IssueMatchData issue_match_data = 18; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.contactcenterinsights.v1.IssueMatchData, - com.google.cloud.contactcenterinsights.v1.IssueMatchData.Builder, - com.google.cloud.contactcenterinsights.v1.IssueMatchDataOrBuilder> + com.google.cloud.contactcenterinsights.v1.IssueMatchData, com.google.cloud.contactcenterinsights.v1.IssueMatchData.Builder, com.google.cloud.contactcenterinsights.v1.IssueMatchDataOrBuilder> getIssueMatchDataFieldBuilder() { if (issueMatchDataBuilder_ == null) { if (!(dataCase_ == 18)) { data_ = com.google.cloud.contactcenterinsights.v1.IssueMatchData.getDefaultInstance(); } - issueMatchDataBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.contactcenterinsights.v1.IssueMatchData, - com.google.cloud.contactcenterinsights.v1.IssueMatchData.Builder, - com.google.cloud.contactcenterinsights.v1.IssueMatchDataOrBuilder>( + issueMatchDataBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.contactcenterinsights.v1.IssueMatchData, com.google.cloud.contactcenterinsights.v1.IssueMatchData.Builder, com.google.cloud.contactcenterinsights.v1.IssueMatchDataOrBuilder>( (com.google.cloud.contactcenterinsights.v1.IssueMatchData) data_, getParentForChildren(), isClean()); @@ -3094,17 +2660,14 @@ public Builder clearIssueMatchData() { return issueMatchDataBuilder_; } - private int channelTag_; + private int channelTag_ ; /** - * - * *
      * The channel of the audio where the annotation occurs. For single-channel
      * audio, this field is not populated.
      * 
* * int32 channel_tag = 1; - * * @return The channelTag. */ @java.lang.Override @@ -3112,35 +2675,29 @@ public int getChannelTag() { return channelTag_; } /** - * - * *
      * The channel of the audio where the annotation occurs. For single-channel
      * audio, this field is not populated.
      * 
* * int32 channel_tag = 1; - * * @param value The channelTag to set. * @return This builder for chaining. */ public Builder setChannelTag(int value) { - + channelTag_ = value; bitField0_ |= 0x00000100; onChanged(); return this; } /** - * - * *
      * The channel of the audio where the annotation occurs. For single-channel
      * audio, this field is not populated.
      * 
* * int32 channel_tag = 1; - * * @return This builder for chaining. */ public Builder clearChannelTag() { @@ -3152,62 +2709,41 @@ public Builder clearChannelTag() { private com.google.cloud.contactcenterinsights.v1.AnnotationBoundary annotationStartBoundary_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.contactcenterinsights.v1.AnnotationBoundary, - com.google.cloud.contactcenterinsights.v1.AnnotationBoundary.Builder, - com.google.cloud.contactcenterinsights.v1.AnnotationBoundaryOrBuilder> - annotationStartBoundaryBuilder_; + com.google.cloud.contactcenterinsights.v1.AnnotationBoundary, com.google.cloud.contactcenterinsights.v1.AnnotationBoundary.Builder, com.google.cloud.contactcenterinsights.v1.AnnotationBoundaryOrBuilder> annotationStartBoundaryBuilder_; /** - * - * *
      * The boundary in the conversation where the annotation starts, inclusive.
      * 
* - * - * .google.cloud.contactcenterinsights.v1.AnnotationBoundary annotation_start_boundary = 4; - * - * + * .google.cloud.contactcenterinsights.v1.AnnotationBoundary annotation_start_boundary = 4; * @return Whether the annotationStartBoundary field is set. */ public boolean hasAnnotationStartBoundary() { return ((bitField0_ & 0x00000200) != 0); } /** - * - * *
      * The boundary in the conversation where the annotation starts, inclusive.
      * 
* - * - * .google.cloud.contactcenterinsights.v1.AnnotationBoundary annotation_start_boundary = 4; - * - * + * .google.cloud.contactcenterinsights.v1.AnnotationBoundary annotation_start_boundary = 4; * @return The annotationStartBoundary. */ - public com.google.cloud.contactcenterinsights.v1.AnnotationBoundary - getAnnotationStartBoundary() { + public com.google.cloud.contactcenterinsights.v1.AnnotationBoundary getAnnotationStartBoundary() { if (annotationStartBoundaryBuilder_ == null) { - return annotationStartBoundary_ == null - ? com.google.cloud.contactcenterinsights.v1.AnnotationBoundary.getDefaultInstance() - : annotationStartBoundary_; + return annotationStartBoundary_ == null ? com.google.cloud.contactcenterinsights.v1.AnnotationBoundary.getDefaultInstance() : annotationStartBoundary_; } else { return annotationStartBoundaryBuilder_.getMessage(); } } /** - * - * *
      * The boundary in the conversation where the annotation starts, inclusive.
      * 
* - * - * .google.cloud.contactcenterinsights.v1.AnnotationBoundary annotation_start_boundary = 4; - * + * .google.cloud.contactcenterinsights.v1.AnnotationBoundary annotation_start_boundary = 4; */ - public Builder setAnnotationStartBoundary( - com.google.cloud.contactcenterinsights.v1.AnnotationBoundary value) { + public Builder setAnnotationStartBoundary(com.google.cloud.contactcenterinsights.v1.AnnotationBoundary value) { if (annotationStartBoundaryBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -3221,15 +2757,11 @@ public Builder setAnnotationStartBoundary( return this; } /** - * - * *
      * The boundary in the conversation where the annotation starts, inclusive.
      * 
* - * - * .google.cloud.contactcenterinsights.v1.AnnotationBoundary annotation_start_boundary = 4; - * + * .google.cloud.contactcenterinsights.v1.AnnotationBoundary annotation_start_boundary = 4; */ public Builder setAnnotationStartBoundary( com.google.cloud.contactcenterinsights.v1.AnnotationBoundary.Builder builderForValue) { @@ -3243,24 +2775,17 @@ public Builder setAnnotationStartBoundary( return this; } /** - * - * *
      * The boundary in the conversation where the annotation starts, inclusive.
      * 
* - * - * .google.cloud.contactcenterinsights.v1.AnnotationBoundary annotation_start_boundary = 4; - * + * .google.cloud.contactcenterinsights.v1.AnnotationBoundary annotation_start_boundary = 4; */ - public Builder mergeAnnotationStartBoundary( - com.google.cloud.contactcenterinsights.v1.AnnotationBoundary value) { + public Builder mergeAnnotationStartBoundary(com.google.cloud.contactcenterinsights.v1.AnnotationBoundary value) { if (annotationStartBoundaryBuilder_ == null) { - if (((bitField0_ & 0x00000200) != 0) - && annotationStartBoundary_ != null - && annotationStartBoundary_ - != com.google.cloud.contactcenterinsights.v1.AnnotationBoundary - .getDefaultInstance()) { + if (((bitField0_ & 0x00000200) != 0) && + annotationStartBoundary_ != null && + annotationStartBoundary_ != com.google.cloud.contactcenterinsights.v1.AnnotationBoundary.getDefaultInstance()) { getAnnotationStartBoundaryBuilder().mergeFrom(value); } else { annotationStartBoundary_ = value; @@ -3273,15 +2798,11 @@ public Builder mergeAnnotationStartBoundary( return this; } /** - * - * *
      * The boundary in the conversation where the annotation starts, inclusive.
      * 
* - * - * .google.cloud.contactcenterinsights.v1.AnnotationBoundary annotation_start_boundary = 4; - * + * .google.cloud.contactcenterinsights.v1.AnnotationBoundary annotation_start_boundary = 4; */ public Builder clearAnnotationStartBoundary() { bitField0_ = (bitField0_ & ~0x00000200); @@ -3294,66 +2815,48 @@ public Builder clearAnnotationStartBoundary() { return this; } /** - * - * *
      * The boundary in the conversation where the annotation starts, inclusive.
      * 
* - * - * .google.cloud.contactcenterinsights.v1.AnnotationBoundary annotation_start_boundary = 4; - * + * .google.cloud.contactcenterinsights.v1.AnnotationBoundary annotation_start_boundary = 4; */ - public com.google.cloud.contactcenterinsights.v1.AnnotationBoundary.Builder - getAnnotationStartBoundaryBuilder() { + public com.google.cloud.contactcenterinsights.v1.AnnotationBoundary.Builder getAnnotationStartBoundaryBuilder() { bitField0_ |= 0x00000200; onChanged(); return getAnnotationStartBoundaryFieldBuilder().getBuilder(); } /** - * - * *
      * The boundary in the conversation where the annotation starts, inclusive.
      * 
* - * - * .google.cloud.contactcenterinsights.v1.AnnotationBoundary annotation_start_boundary = 4; - * + * .google.cloud.contactcenterinsights.v1.AnnotationBoundary annotation_start_boundary = 4; */ - public com.google.cloud.contactcenterinsights.v1.AnnotationBoundaryOrBuilder - getAnnotationStartBoundaryOrBuilder() { + public com.google.cloud.contactcenterinsights.v1.AnnotationBoundaryOrBuilder getAnnotationStartBoundaryOrBuilder() { if (annotationStartBoundaryBuilder_ != null) { return annotationStartBoundaryBuilder_.getMessageOrBuilder(); } else { - return annotationStartBoundary_ == null - ? com.google.cloud.contactcenterinsights.v1.AnnotationBoundary.getDefaultInstance() - : annotationStartBoundary_; + return annotationStartBoundary_ == null ? + com.google.cloud.contactcenterinsights.v1.AnnotationBoundary.getDefaultInstance() : annotationStartBoundary_; } } /** - * - * *
      * The boundary in the conversation where the annotation starts, inclusive.
      * 
* - * - * .google.cloud.contactcenterinsights.v1.AnnotationBoundary annotation_start_boundary = 4; - * + * .google.cloud.contactcenterinsights.v1.AnnotationBoundary annotation_start_boundary = 4; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.contactcenterinsights.v1.AnnotationBoundary, - com.google.cloud.contactcenterinsights.v1.AnnotationBoundary.Builder, - com.google.cloud.contactcenterinsights.v1.AnnotationBoundaryOrBuilder> + com.google.cloud.contactcenterinsights.v1.AnnotationBoundary, com.google.cloud.contactcenterinsights.v1.AnnotationBoundary.Builder, com.google.cloud.contactcenterinsights.v1.AnnotationBoundaryOrBuilder> getAnnotationStartBoundaryFieldBuilder() { if (annotationStartBoundaryBuilder_ == null) { - annotationStartBoundaryBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.contactcenterinsights.v1.AnnotationBoundary, - com.google.cloud.contactcenterinsights.v1.AnnotationBoundary.Builder, - com.google.cloud.contactcenterinsights.v1.AnnotationBoundaryOrBuilder>( - getAnnotationStartBoundary(), getParentForChildren(), isClean()); + annotationStartBoundaryBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.contactcenterinsights.v1.AnnotationBoundary, com.google.cloud.contactcenterinsights.v1.AnnotationBoundary.Builder, com.google.cloud.contactcenterinsights.v1.AnnotationBoundaryOrBuilder>( + getAnnotationStartBoundary(), + getParentForChildren(), + isClean()); annotationStartBoundary_ = null; } return annotationStartBoundaryBuilder_; @@ -3361,58 +2864,41 @@ public Builder clearAnnotationStartBoundary() { private com.google.cloud.contactcenterinsights.v1.AnnotationBoundary annotationEndBoundary_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.contactcenterinsights.v1.AnnotationBoundary, - com.google.cloud.contactcenterinsights.v1.AnnotationBoundary.Builder, - com.google.cloud.contactcenterinsights.v1.AnnotationBoundaryOrBuilder> - annotationEndBoundaryBuilder_; + com.google.cloud.contactcenterinsights.v1.AnnotationBoundary, com.google.cloud.contactcenterinsights.v1.AnnotationBoundary.Builder, com.google.cloud.contactcenterinsights.v1.AnnotationBoundaryOrBuilder> annotationEndBoundaryBuilder_; /** - * - * *
      * The boundary in the conversation where the annotation ends, inclusive.
      * 
* - * .google.cloud.contactcenterinsights.v1.AnnotationBoundary annotation_end_boundary = 5; - * - * + * .google.cloud.contactcenterinsights.v1.AnnotationBoundary annotation_end_boundary = 5; * @return Whether the annotationEndBoundary field is set. */ public boolean hasAnnotationEndBoundary() { return ((bitField0_ & 0x00000400) != 0); } /** - * - * *
      * The boundary in the conversation where the annotation ends, inclusive.
      * 
* - * .google.cloud.contactcenterinsights.v1.AnnotationBoundary annotation_end_boundary = 5; - * - * + * .google.cloud.contactcenterinsights.v1.AnnotationBoundary annotation_end_boundary = 5; * @return The annotationEndBoundary. */ public com.google.cloud.contactcenterinsights.v1.AnnotationBoundary getAnnotationEndBoundary() { if (annotationEndBoundaryBuilder_ == null) { - return annotationEndBoundary_ == null - ? com.google.cloud.contactcenterinsights.v1.AnnotationBoundary.getDefaultInstance() - : annotationEndBoundary_; + return annotationEndBoundary_ == null ? com.google.cloud.contactcenterinsights.v1.AnnotationBoundary.getDefaultInstance() : annotationEndBoundary_; } else { return annotationEndBoundaryBuilder_.getMessage(); } } /** - * - * *
      * The boundary in the conversation where the annotation ends, inclusive.
      * 
* - * .google.cloud.contactcenterinsights.v1.AnnotationBoundary annotation_end_boundary = 5; - * + * .google.cloud.contactcenterinsights.v1.AnnotationBoundary annotation_end_boundary = 5; */ - public Builder setAnnotationEndBoundary( - com.google.cloud.contactcenterinsights.v1.AnnotationBoundary value) { + public Builder setAnnotationEndBoundary(com.google.cloud.contactcenterinsights.v1.AnnotationBoundary value) { if (annotationEndBoundaryBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -3426,14 +2912,11 @@ public Builder setAnnotationEndBoundary( return this; } /** - * - * *
      * The boundary in the conversation where the annotation ends, inclusive.
      * 
* - * .google.cloud.contactcenterinsights.v1.AnnotationBoundary annotation_end_boundary = 5; - * + * .google.cloud.contactcenterinsights.v1.AnnotationBoundary annotation_end_boundary = 5; */ public Builder setAnnotationEndBoundary( com.google.cloud.contactcenterinsights.v1.AnnotationBoundary.Builder builderForValue) { @@ -3447,23 +2930,17 @@ public Builder setAnnotationEndBoundary( return this; } /** - * - * *
      * The boundary in the conversation where the annotation ends, inclusive.
      * 
* - * .google.cloud.contactcenterinsights.v1.AnnotationBoundary annotation_end_boundary = 5; - * + * .google.cloud.contactcenterinsights.v1.AnnotationBoundary annotation_end_boundary = 5; */ - public Builder mergeAnnotationEndBoundary( - com.google.cloud.contactcenterinsights.v1.AnnotationBoundary value) { + public Builder mergeAnnotationEndBoundary(com.google.cloud.contactcenterinsights.v1.AnnotationBoundary value) { if (annotationEndBoundaryBuilder_ == null) { - if (((bitField0_ & 0x00000400) != 0) - && annotationEndBoundary_ != null - && annotationEndBoundary_ - != com.google.cloud.contactcenterinsights.v1.AnnotationBoundary - .getDefaultInstance()) { + if (((bitField0_ & 0x00000400) != 0) && + annotationEndBoundary_ != null && + annotationEndBoundary_ != com.google.cloud.contactcenterinsights.v1.AnnotationBoundary.getDefaultInstance()) { getAnnotationEndBoundaryBuilder().mergeFrom(value); } else { annotationEndBoundary_ = value; @@ -3476,14 +2953,11 @@ public Builder mergeAnnotationEndBoundary( return this; } /** - * - * *
      * The boundary in the conversation where the annotation ends, inclusive.
      * 
* - * .google.cloud.contactcenterinsights.v1.AnnotationBoundary annotation_end_boundary = 5; - * + * .google.cloud.contactcenterinsights.v1.AnnotationBoundary annotation_end_boundary = 5; */ public Builder clearAnnotationEndBoundary() { bitField0_ = (bitField0_ & ~0x00000400); @@ -3496,70 +2970,55 @@ public Builder clearAnnotationEndBoundary() { return this; } /** - * - * *
      * The boundary in the conversation where the annotation ends, inclusive.
      * 
* - * .google.cloud.contactcenterinsights.v1.AnnotationBoundary annotation_end_boundary = 5; - * + * .google.cloud.contactcenterinsights.v1.AnnotationBoundary annotation_end_boundary = 5; */ - public com.google.cloud.contactcenterinsights.v1.AnnotationBoundary.Builder - getAnnotationEndBoundaryBuilder() { + public com.google.cloud.contactcenterinsights.v1.AnnotationBoundary.Builder getAnnotationEndBoundaryBuilder() { bitField0_ |= 0x00000400; onChanged(); return getAnnotationEndBoundaryFieldBuilder().getBuilder(); } /** - * - * *
      * The boundary in the conversation where the annotation ends, inclusive.
      * 
* - * .google.cloud.contactcenterinsights.v1.AnnotationBoundary annotation_end_boundary = 5; - * + * .google.cloud.contactcenterinsights.v1.AnnotationBoundary annotation_end_boundary = 5; */ - public com.google.cloud.contactcenterinsights.v1.AnnotationBoundaryOrBuilder - getAnnotationEndBoundaryOrBuilder() { + public com.google.cloud.contactcenterinsights.v1.AnnotationBoundaryOrBuilder getAnnotationEndBoundaryOrBuilder() { if (annotationEndBoundaryBuilder_ != null) { return annotationEndBoundaryBuilder_.getMessageOrBuilder(); } else { - return annotationEndBoundary_ == null - ? com.google.cloud.contactcenterinsights.v1.AnnotationBoundary.getDefaultInstance() - : annotationEndBoundary_; + return annotationEndBoundary_ == null ? + com.google.cloud.contactcenterinsights.v1.AnnotationBoundary.getDefaultInstance() : annotationEndBoundary_; } } /** - * - * *
      * The boundary in the conversation where the annotation ends, inclusive.
      * 
* - * .google.cloud.contactcenterinsights.v1.AnnotationBoundary annotation_end_boundary = 5; - * + * .google.cloud.contactcenterinsights.v1.AnnotationBoundary annotation_end_boundary = 5; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.contactcenterinsights.v1.AnnotationBoundary, - com.google.cloud.contactcenterinsights.v1.AnnotationBoundary.Builder, - com.google.cloud.contactcenterinsights.v1.AnnotationBoundaryOrBuilder> + com.google.cloud.contactcenterinsights.v1.AnnotationBoundary, com.google.cloud.contactcenterinsights.v1.AnnotationBoundary.Builder, com.google.cloud.contactcenterinsights.v1.AnnotationBoundaryOrBuilder> getAnnotationEndBoundaryFieldBuilder() { if (annotationEndBoundaryBuilder_ == null) { - annotationEndBoundaryBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.contactcenterinsights.v1.AnnotationBoundary, - com.google.cloud.contactcenterinsights.v1.AnnotationBoundary.Builder, - com.google.cloud.contactcenterinsights.v1.AnnotationBoundaryOrBuilder>( - getAnnotationEndBoundary(), getParentForChildren(), isClean()); + annotationEndBoundaryBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.contactcenterinsights.v1.AnnotationBoundary, com.google.cloud.contactcenterinsights.v1.AnnotationBoundary.Builder, com.google.cloud.contactcenterinsights.v1.AnnotationBoundaryOrBuilder>( + getAnnotationEndBoundary(), + getParentForChildren(), + isClean()); annotationEndBoundary_ = null; } return annotationEndBoundaryBuilder_; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -3569,12 +3028,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.contactcenterinsights.v1.CallAnnotation) } // @@protoc_insertion_point(class_scope:google.cloud.contactcenterinsights.v1.CallAnnotation) private static final com.google.cloud.contactcenterinsights.v1.CallAnnotation DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.contactcenterinsights.v1.CallAnnotation(); } @@ -3583,27 +3042,27 @@ public static com.google.cloud.contactcenterinsights.v1.CallAnnotation getDefaul return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public CallAnnotation parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public CallAnnotation parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -3618,4 +3077,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.contactcenterinsights.v1.CallAnnotation getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/CallAnnotationOrBuilder.java b/owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/CallAnnotationOrBuilder.java similarity index 84% rename from java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/CallAnnotationOrBuilder.java rename to owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/CallAnnotationOrBuilder.java index 753d4e1bf8de..d00ed54f044f 100644 --- a/java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/CallAnnotationOrBuilder.java +++ b/owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/CallAnnotationOrBuilder.java @@ -1,91 +1,58 @@ -/* - * 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. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/contactcenterinsights/v1/resources.proto package com.google.cloud.contactcenterinsights.v1; -public interface CallAnnotationOrBuilder - extends +public interface CallAnnotationOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.contactcenterinsights.v1.CallAnnotation) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Data specifying an interruption.
    * 
* * .google.cloud.contactcenterinsights.v1.InterruptionData interruption_data = 10; - * * @return Whether the interruptionData field is set. */ boolean hasInterruptionData(); /** - * - * *
    * Data specifying an interruption.
    * 
* * .google.cloud.contactcenterinsights.v1.InterruptionData interruption_data = 10; - * * @return The interruptionData. */ com.google.cloud.contactcenterinsights.v1.InterruptionData getInterruptionData(); /** - * - * *
    * Data specifying an interruption.
    * 
* * .google.cloud.contactcenterinsights.v1.InterruptionData interruption_data = 10; */ - com.google.cloud.contactcenterinsights.v1.InterruptionDataOrBuilder - getInterruptionDataOrBuilder(); + com.google.cloud.contactcenterinsights.v1.InterruptionDataOrBuilder getInterruptionDataOrBuilder(); /** - * - * *
    * Data specifying sentiment.
    * 
* * .google.cloud.contactcenterinsights.v1.SentimentData sentiment_data = 11; - * * @return Whether the sentimentData field is set. */ boolean hasSentimentData(); /** - * - * *
    * Data specifying sentiment.
    * 
* * .google.cloud.contactcenterinsights.v1.SentimentData sentiment_data = 11; - * * @return The sentimentData. */ com.google.cloud.contactcenterinsights.v1.SentimentData getSentimentData(); /** - * - * *
    * Data specifying sentiment.
    * 
@@ -95,32 +62,24 @@ public interface CallAnnotationOrBuilder com.google.cloud.contactcenterinsights.v1.SentimentDataOrBuilder getSentimentDataOrBuilder(); /** - * - * *
    * Data specifying silence.
    * 
* * .google.cloud.contactcenterinsights.v1.SilenceData silence_data = 12; - * * @return Whether the silenceData field is set. */ boolean hasSilenceData(); /** - * - * *
    * Data specifying silence.
    * 
* * .google.cloud.contactcenterinsights.v1.SilenceData silence_data = 12; - * * @return The silenceData. */ com.google.cloud.contactcenterinsights.v1.SilenceData getSilenceData(); /** - * - * *
    * Data specifying silence.
    * 
@@ -130,32 +89,24 @@ public interface CallAnnotationOrBuilder com.google.cloud.contactcenterinsights.v1.SilenceDataOrBuilder getSilenceDataOrBuilder(); /** - * - * *
    * Data specifying a hold.
    * 
* * .google.cloud.contactcenterinsights.v1.HoldData hold_data = 13; - * * @return Whether the holdData field is set. */ boolean hasHoldData(); /** - * - * *
    * Data specifying a hold.
    * 
* * .google.cloud.contactcenterinsights.v1.HoldData hold_data = 13; - * * @return The holdData. */ com.google.cloud.contactcenterinsights.v1.HoldData getHoldData(); /** - * - * *
    * Data specifying a hold.
    * 
@@ -165,68 +116,51 @@ public interface CallAnnotationOrBuilder com.google.cloud.contactcenterinsights.v1.HoldDataOrBuilder getHoldDataOrBuilder(); /** - * - * *
    * Data specifying an entity mention.
    * 
* * .google.cloud.contactcenterinsights.v1.EntityMentionData entity_mention_data = 15; - * * @return Whether the entityMentionData field is set. */ boolean hasEntityMentionData(); /** - * - * *
    * Data specifying an entity mention.
    * 
* * .google.cloud.contactcenterinsights.v1.EntityMentionData entity_mention_data = 15; - * * @return The entityMentionData. */ com.google.cloud.contactcenterinsights.v1.EntityMentionData getEntityMentionData(); /** - * - * *
    * Data specifying an entity mention.
    * 
* * .google.cloud.contactcenterinsights.v1.EntityMentionData entity_mention_data = 15; */ - com.google.cloud.contactcenterinsights.v1.EntityMentionDataOrBuilder - getEntityMentionDataOrBuilder(); + com.google.cloud.contactcenterinsights.v1.EntityMentionDataOrBuilder getEntityMentionDataOrBuilder(); /** - * - * *
    * Data specifying an intent match.
    * 
* * .google.cloud.contactcenterinsights.v1.IntentMatchData intent_match_data = 16; - * * @return Whether the intentMatchData field is set. */ boolean hasIntentMatchData(); /** - * - * *
    * Data specifying an intent match.
    * 
* * .google.cloud.contactcenterinsights.v1.IntentMatchData intent_match_data = 16; - * * @return The intentMatchData. */ com.google.cloud.contactcenterinsights.v1.IntentMatchData getIntentMatchData(); /** - * - * *
    * Data specifying an intent match.
    * 
@@ -236,32 +170,24 @@ public interface CallAnnotationOrBuilder com.google.cloud.contactcenterinsights.v1.IntentMatchDataOrBuilder getIntentMatchDataOrBuilder(); /** - * - * *
    * Data specifying a phrase match.
    * 
* * .google.cloud.contactcenterinsights.v1.PhraseMatchData phrase_match_data = 17; - * * @return Whether the phraseMatchData field is set. */ boolean hasPhraseMatchData(); /** - * - * *
    * Data specifying a phrase match.
    * 
* * .google.cloud.contactcenterinsights.v1.PhraseMatchData phrase_match_data = 17; - * * @return The phraseMatchData. */ com.google.cloud.contactcenterinsights.v1.PhraseMatchData getPhraseMatchData(); /** - * - * *
    * Data specifying a phrase match.
    * 
@@ -271,32 +197,24 @@ public interface CallAnnotationOrBuilder com.google.cloud.contactcenterinsights.v1.PhraseMatchDataOrBuilder getPhraseMatchDataOrBuilder(); /** - * - * *
    * Data specifying an issue match.
    * 
* * .google.cloud.contactcenterinsights.v1.IssueMatchData issue_match_data = 18; - * * @return Whether the issueMatchData field is set. */ boolean hasIssueMatchData(); /** - * - * *
    * Data specifying an issue match.
    * 
* * .google.cloud.contactcenterinsights.v1.IssueMatchData issue_match_data = 18; - * * @return The issueMatchData. */ com.google.cloud.contactcenterinsights.v1.IssueMatchData getIssueMatchData(); /** - * - * *
    * Data specifying an issue match.
    * 
@@ -306,96 +224,69 @@ public interface CallAnnotationOrBuilder com.google.cloud.contactcenterinsights.v1.IssueMatchDataOrBuilder getIssueMatchDataOrBuilder(); /** - * - * *
    * The channel of the audio where the annotation occurs. For single-channel
    * audio, this field is not populated.
    * 
* * int32 channel_tag = 1; - * * @return The channelTag. */ int getChannelTag(); /** - * - * *
    * The boundary in the conversation where the annotation starts, inclusive.
    * 
* - * .google.cloud.contactcenterinsights.v1.AnnotationBoundary annotation_start_boundary = 4; - * - * + * .google.cloud.contactcenterinsights.v1.AnnotationBoundary annotation_start_boundary = 4; * @return Whether the annotationStartBoundary field is set. */ boolean hasAnnotationStartBoundary(); /** - * - * *
    * The boundary in the conversation where the annotation starts, inclusive.
    * 
* - * .google.cloud.contactcenterinsights.v1.AnnotationBoundary annotation_start_boundary = 4; - * - * + * .google.cloud.contactcenterinsights.v1.AnnotationBoundary annotation_start_boundary = 4; * @return The annotationStartBoundary. */ com.google.cloud.contactcenterinsights.v1.AnnotationBoundary getAnnotationStartBoundary(); /** - * - * *
    * The boundary in the conversation where the annotation starts, inclusive.
    * 
* - * .google.cloud.contactcenterinsights.v1.AnnotationBoundary annotation_start_boundary = 4; - * + * .google.cloud.contactcenterinsights.v1.AnnotationBoundary annotation_start_boundary = 4; */ - com.google.cloud.contactcenterinsights.v1.AnnotationBoundaryOrBuilder - getAnnotationStartBoundaryOrBuilder(); + com.google.cloud.contactcenterinsights.v1.AnnotationBoundaryOrBuilder getAnnotationStartBoundaryOrBuilder(); /** - * - * *
    * The boundary in the conversation where the annotation ends, inclusive.
    * 
* - * .google.cloud.contactcenterinsights.v1.AnnotationBoundary annotation_end_boundary = 5; - * - * + * .google.cloud.contactcenterinsights.v1.AnnotationBoundary annotation_end_boundary = 5; * @return Whether the annotationEndBoundary field is set. */ boolean hasAnnotationEndBoundary(); /** - * - * *
    * The boundary in the conversation where the annotation ends, inclusive.
    * 
* - * .google.cloud.contactcenterinsights.v1.AnnotationBoundary annotation_end_boundary = 5; - * - * + * .google.cloud.contactcenterinsights.v1.AnnotationBoundary annotation_end_boundary = 5; * @return The annotationEndBoundary. */ com.google.cloud.contactcenterinsights.v1.AnnotationBoundary getAnnotationEndBoundary(); /** - * - * *
    * The boundary in the conversation where the annotation ends, inclusive.
    * 
* - * .google.cloud.contactcenterinsights.v1.AnnotationBoundary annotation_end_boundary = 5; - * + * .google.cloud.contactcenterinsights.v1.AnnotationBoundary annotation_end_boundary = 5; */ - com.google.cloud.contactcenterinsights.v1.AnnotationBoundaryOrBuilder - getAnnotationEndBoundaryOrBuilder(); + com.google.cloud.contactcenterinsights.v1.AnnotationBoundaryOrBuilder getAnnotationEndBoundaryOrBuilder(); public com.google.cloud.contactcenterinsights.v1.CallAnnotation.DataCase getDataCase(); } diff --git a/owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ContactCenterInsightsProto.java b/owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ContactCenterInsightsProto.java new file mode 100644 index 000000000000..9f4fdbc4a1dc --- /dev/null +++ b/owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ContactCenterInsightsProto.java @@ -0,0 +1,1314 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/contactcenterinsights/v1/contact_center_insights.proto + +package com.google.cloud.contactcenterinsights.v1; + +public final class ContactCenterInsightsProto { + private ContactCenterInsightsProto() {} + public static void registerAllExtensions( + com.google.protobuf.ExtensionRegistryLite registry) { + } + + public static void registerAllExtensions( + com.google.protobuf.ExtensionRegistry registry) { + registerAllExtensions( + (com.google.protobuf.ExtensionRegistryLite) registry); + } + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_contactcenterinsights_v1_CalculateStatsRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_contactcenterinsights_v1_CalculateStatsRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_contactcenterinsights_v1_CalculateStatsResponse_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_contactcenterinsights_v1_CalculateStatsResponse_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_contactcenterinsights_v1_CalculateStatsResponse_TimeSeries_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_contactcenterinsights_v1_CalculateStatsResponse_TimeSeries_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_contactcenterinsights_v1_CalculateStatsResponse_TimeSeries_Interval_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_contactcenterinsights_v1_CalculateStatsResponse_TimeSeries_Interval_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_contactcenterinsights_v1_CalculateStatsResponse_SmartHighlighterMatchesEntry_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_contactcenterinsights_v1_CalculateStatsResponse_SmartHighlighterMatchesEntry_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_contactcenterinsights_v1_CalculateStatsResponse_CustomHighlighterMatchesEntry_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_contactcenterinsights_v1_CalculateStatsResponse_CustomHighlighterMatchesEntry_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_contactcenterinsights_v1_CalculateStatsResponse_IssueMatchesEntry_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_contactcenterinsights_v1_CalculateStatsResponse_IssueMatchesEntry_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_contactcenterinsights_v1_CalculateStatsResponse_IssueMatchesStatsEntry_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_contactcenterinsights_v1_CalculateStatsResponse_IssueMatchesStatsEntry_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_contactcenterinsights_v1_CreateAnalysisOperationMetadata_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_contactcenterinsights_v1_CreateAnalysisOperationMetadata_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_contactcenterinsights_v1_CreateConversationRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_contactcenterinsights_v1_CreateConversationRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_contactcenterinsights_v1_ListConversationsRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_contactcenterinsights_v1_ListConversationsRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_contactcenterinsights_v1_ListConversationsResponse_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_contactcenterinsights_v1_ListConversationsResponse_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_contactcenterinsights_v1_GetConversationRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_contactcenterinsights_v1_GetConversationRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_contactcenterinsights_v1_UpdateConversationRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_contactcenterinsights_v1_UpdateConversationRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_contactcenterinsights_v1_DeleteConversationRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_contactcenterinsights_v1_DeleteConversationRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_contactcenterinsights_v1_IngestConversationsRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_contactcenterinsights_v1_IngestConversationsRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_contactcenterinsights_v1_IngestConversationsRequest_GcsSource_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_contactcenterinsights_v1_IngestConversationsRequest_GcsSource_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_contactcenterinsights_v1_IngestConversationsRequest_TranscriptObjectConfig_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_contactcenterinsights_v1_IngestConversationsRequest_TranscriptObjectConfig_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_contactcenterinsights_v1_IngestConversationsRequest_ConversationConfig_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_contactcenterinsights_v1_IngestConversationsRequest_ConversationConfig_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_contactcenterinsights_v1_IngestConversationsMetadata_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_contactcenterinsights_v1_IngestConversationsMetadata_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_contactcenterinsights_v1_IngestConversationsMetadata_IngestConversationsStats_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_contactcenterinsights_v1_IngestConversationsMetadata_IngestConversationsStats_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_contactcenterinsights_v1_IngestConversationsResponse_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_contactcenterinsights_v1_IngestConversationsResponse_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_contactcenterinsights_v1_CreateAnalysisRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_contactcenterinsights_v1_CreateAnalysisRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_contactcenterinsights_v1_ListAnalysesRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_contactcenterinsights_v1_ListAnalysesRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_contactcenterinsights_v1_ListAnalysesResponse_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_contactcenterinsights_v1_ListAnalysesResponse_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_contactcenterinsights_v1_GetAnalysisRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_contactcenterinsights_v1_GetAnalysisRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_contactcenterinsights_v1_DeleteAnalysisRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_contactcenterinsights_v1_DeleteAnalysisRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_contactcenterinsights_v1_BulkAnalyzeConversationsRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_contactcenterinsights_v1_BulkAnalyzeConversationsRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_contactcenterinsights_v1_BulkAnalyzeConversationsMetadata_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_contactcenterinsights_v1_BulkAnalyzeConversationsMetadata_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_contactcenterinsights_v1_BulkAnalyzeConversationsResponse_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_contactcenterinsights_v1_BulkAnalyzeConversationsResponse_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_contactcenterinsights_v1_ExportInsightsDataRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_contactcenterinsights_v1_ExportInsightsDataRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_contactcenterinsights_v1_ExportInsightsDataRequest_BigQueryDestination_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_contactcenterinsights_v1_ExportInsightsDataRequest_BigQueryDestination_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_contactcenterinsights_v1_ExportInsightsDataMetadata_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_contactcenterinsights_v1_ExportInsightsDataMetadata_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_contactcenterinsights_v1_ExportInsightsDataResponse_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_contactcenterinsights_v1_ExportInsightsDataResponse_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_contactcenterinsights_v1_CreateIssueModelRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_contactcenterinsights_v1_CreateIssueModelRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_contactcenterinsights_v1_CreateIssueModelMetadata_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_contactcenterinsights_v1_CreateIssueModelMetadata_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_contactcenterinsights_v1_UpdateIssueModelRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_contactcenterinsights_v1_UpdateIssueModelRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_contactcenterinsights_v1_ListIssueModelsRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_contactcenterinsights_v1_ListIssueModelsRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_contactcenterinsights_v1_ListIssueModelsResponse_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_contactcenterinsights_v1_ListIssueModelsResponse_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_contactcenterinsights_v1_GetIssueModelRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_contactcenterinsights_v1_GetIssueModelRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_contactcenterinsights_v1_DeleteIssueModelRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_contactcenterinsights_v1_DeleteIssueModelRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_contactcenterinsights_v1_DeleteIssueModelMetadata_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_contactcenterinsights_v1_DeleteIssueModelMetadata_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_contactcenterinsights_v1_DeployIssueModelRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_contactcenterinsights_v1_DeployIssueModelRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_contactcenterinsights_v1_DeployIssueModelResponse_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_contactcenterinsights_v1_DeployIssueModelResponse_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_contactcenterinsights_v1_DeployIssueModelMetadata_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_contactcenterinsights_v1_DeployIssueModelMetadata_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_contactcenterinsights_v1_UndeployIssueModelRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_contactcenterinsights_v1_UndeployIssueModelRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_contactcenterinsights_v1_UndeployIssueModelResponse_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_contactcenterinsights_v1_UndeployIssueModelResponse_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_contactcenterinsights_v1_UndeployIssueModelMetadata_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_contactcenterinsights_v1_UndeployIssueModelMetadata_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_contactcenterinsights_v1_GetIssueRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_contactcenterinsights_v1_GetIssueRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_contactcenterinsights_v1_ListIssuesRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_contactcenterinsights_v1_ListIssuesRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_contactcenterinsights_v1_ListIssuesResponse_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_contactcenterinsights_v1_ListIssuesResponse_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_contactcenterinsights_v1_UpdateIssueRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_contactcenterinsights_v1_UpdateIssueRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_contactcenterinsights_v1_DeleteIssueRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_contactcenterinsights_v1_DeleteIssueRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_contactcenterinsights_v1_CalculateIssueModelStatsRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_contactcenterinsights_v1_CalculateIssueModelStatsRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_contactcenterinsights_v1_CalculateIssueModelStatsResponse_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_contactcenterinsights_v1_CalculateIssueModelStatsResponse_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_contactcenterinsights_v1_CreatePhraseMatcherRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_contactcenterinsights_v1_CreatePhraseMatcherRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_contactcenterinsights_v1_ListPhraseMatchersRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_contactcenterinsights_v1_ListPhraseMatchersRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_contactcenterinsights_v1_ListPhraseMatchersResponse_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_contactcenterinsights_v1_ListPhraseMatchersResponse_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_contactcenterinsights_v1_GetPhraseMatcherRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_contactcenterinsights_v1_GetPhraseMatcherRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_contactcenterinsights_v1_DeletePhraseMatcherRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_contactcenterinsights_v1_DeletePhraseMatcherRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_contactcenterinsights_v1_UpdatePhraseMatcherRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_contactcenterinsights_v1_UpdatePhraseMatcherRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_contactcenterinsights_v1_GetSettingsRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_contactcenterinsights_v1_GetSettingsRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_contactcenterinsights_v1_UpdateSettingsRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_contactcenterinsights_v1_UpdateSettingsRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_contactcenterinsights_v1_CreateViewRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_contactcenterinsights_v1_CreateViewRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_contactcenterinsights_v1_GetViewRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_contactcenterinsights_v1_GetViewRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_contactcenterinsights_v1_ListViewsRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_contactcenterinsights_v1_ListViewsRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_contactcenterinsights_v1_ListViewsResponse_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_contactcenterinsights_v1_ListViewsResponse_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_contactcenterinsights_v1_UpdateViewRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_contactcenterinsights_v1_UpdateViewRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_contactcenterinsights_v1_DeleteViewRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_contactcenterinsights_v1_DeleteViewRequest_fieldAccessorTable; + + public static com.google.protobuf.Descriptors.FileDescriptor + getDescriptor() { + return descriptor; + } + private static com.google.protobuf.Descriptors.FileDescriptor + descriptor; + static { + java.lang.String[] descriptorData = { + "\nCgoogle/cloud/contactcenterinsights/v1/" + + "contact_center_insights.proto\022%google.cl" + + "oud.contactcenterinsights.v1\032\034google/api" + + "/annotations.proto\032\027google/api/client.pr" + + "oto\032\037google/api/field_behavior.proto\032\031go" + + "ogle/api/resource.proto\0325google/cloud/co" + + "ntactcenterinsights/v1/resources.proto\032#" + + "google/longrunning/operations.proto\032\036goo" + + "gle/protobuf/duration.proto\032\033google/prot" + + "obuf/empty.proto\032 google/protobuf/field_" + + "mask.proto\032\037google/protobuf/timestamp.pr" + + "oto\032\027google/rpc/status.proto\"d\n\025Calculat" + + "eStatsRequest\022;\n\010location\030\001 \001(\tB)\340A\002\372A#\n" + + "!locations.googleapis.com/Location\022\016\n\006fi" + + "lter\030\002 \001(\t\"\217\n\n\026CalculateStatsResponse\0223\n" + + "\020average_duration\030\001 \001(\0132\031.google.protobu" + + "f.Duration\022\032\n\022average_turn_count\030\002 \001(\005\022\032" + + "\n\022conversation_count\030\003 \001(\005\022}\n\031smart_high" + + "lighter_matches\030\004 \003(\0132Z.google.cloud.con" + + "tactcenterinsights.v1.CalculateStatsResp" + + "onse.SmartHighlighterMatchesEntry\022\177\n\032cus" + + "tom_highlighter_matches\030\005 \003(\0132[.google.c" + + "loud.contactcenterinsights.v1.CalculateS" + + "tatsResponse.CustomHighlighterMatchesEnt" + + "ry\022j\n\rissue_matches\030\006 \003(\0132O.google.cloud" + + ".contactcenterinsights.v1.CalculateStats" + + "Response.IssueMatchesEntryB\002\030\001\022q\n\023issue_" + + "matches_stats\030\010 \003(\0132T.google.cloud.conta" + + "ctcenterinsights.v1.CalculateStatsRespon" + + "se.IssueMatchesStatsEntry\022p\n\036conversatio" + + "n_count_time_series\030\007 \001(\0132H.google.cloud" + + ".contactcenterinsights.v1.CalculateStats" + + "Response.TimeSeries\032\375\001\n\nTimeSeries\0224\n\021in" + + "terval_duration\030\001 \001(\0132\031.google.protobuf." + + "Duration\022a\n\006points\030\002 \003(\0132Q.google.cloud." + + "contactcenterinsights.v1.CalculateStatsR" + + "esponse.TimeSeries.Interval\032V\n\010Interval\022" + + ".\n\nstart_time\030\001 \001(\0132\032.google.protobuf.Ti" + + "mestamp\022\032\n\022conversation_count\030\002 \001(\005\032>\n\034S" + + "martHighlighterMatchesEntry\022\013\n\003key\030\001 \001(\t" + + "\022\r\n\005value\030\002 \001(\005:\0028\001\032?\n\035CustomHighlighter" + + "MatchesEntry\022\013\n\003key\030\001 \001(\t\022\r\n\005value\030\002 \001(\005" + + ":\0028\001\0323\n\021IssueMatchesEntry\022\013\n\003key\030\001 \001(\t\022\r" + + "\n\005value\030\002 \001(\005:\0028\001\032\200\001\n\026IssueMatchesStatsE" + + "ntry\022\013\n\003key\030\001 \001(\t\022U\n\005value\030\002 \001(\0132F.googl" + + "e.cloud.contactcenterinsights.v1.IssueMo" + + "delLabelStats.IssueStats:\0028\001\"\266\002\n\037CreateA" + + "nalysisOperationMetadata\0224\n\013create_time\030" + + "\001 \001(\0132\032.google.protobuf.TimestampB\003\340A\003\0221" + + "\n\010end_time\030\002 \001(\0132\032.google.protobuf.Times" + + "tampB\003\340A\003\022O\n\014conversation\030\003 \001(\tB9\340A\003\372A3\n" + + "1contactcenterinsights.googleapis.com/Co" + + "nversation\022Y\n\022annotator_selector\030\004 \001(\01328" + + ".google.cloud.contactcenterinsights.v1.A" + + "nnotatorSelectorB\003\340A\003\"\277\001\n\031CreateConversa" + + "tionRequest\0229\n\006parent\030\001 \001(\tB)\340A\002\372A#\n!loc" + + "ations.googleapis.com/Location\022N\n\014conver" + + "sation\030\002 \001(\01323.google.cloud.contactcente" + + "rinsights.v1.ConversationB\003\340A\002\022\027\n\017conver" + + "sation_id\030\003 \001(\t\"\323\001\n\030ListConversationsReq" + + "uest\0229\n\006parent\030\001 \001(\tB)\340A\002\372A#\n!locations." + + "googleapis.com/Location\022\021\n\tpage_size\030\002 \001" + + "(\005\022\022\n\npage_token\030\003 \001(\t\022\016\n\006filter\030\004 \001(\t\022E" + + "\n\004view\030\005 \001(\01627.google.cloud.contactcente" + + "rinsights.v1.ConversationView\"\200\001\n\031ListCo" + + "nversationsResponse\022J\n\rconversations\030\001 \003" + + "(\01323.google.cloud.contactcenterinsights." + + "v1.Conversation\022\027\n\017next_page_token\030\002 \001(\t" + + "\"\250\001\n\026GetConversationRequest\022G\n\004name\030\001 \001(" + + "\tB9\340A\002\372A3\n1contactcenterinsights.googlea" + + "pis.com/Conversation\022E\n\004view\030\002 \001(\01627.goo" + + "gle.cloud.contactcenterinsights.v1.Conve" + + "rsationView\"\234\001\n\031UpdateConversationReques" + + "t\022N\n\014conversation\030\001 \001(\01323.google.cloud.c" + + "ontactcenterinsights.v1.ConversationB\003\340A" + + "\002\022/\n\013update_mask\030\002 \001(\0132\032.google.protobuf" + + ".FieldMask\"s\n\031DeleteConversationRequest\022" + + "G\n\004name\030\001 \001(\tB9\340A\002\372A3\n1contactcenterinsi" + + "ghts.googleapis.com/Conversation\022\r\n\005forc" + + "e\030\002 \001(\010\"\377\004\n\032IngestConversationsRequest\022a" + + "\n\ngcs_source\030\002 \001(\0132K.google.cloud.contac" + + "tcenterinsights.v1.IngestConversationsRe" + + "quest.GcsSourceH\000\022|\n\030transcript_object_c" + + "onfig\030\003 \001(\0132X.google.cloud.contactcenter" + + "insights.v1.IngestConversationsRequest.T" + + "ranscriptObjectConfigH\001\0229\n\006parent\030\001 \001(\tB" + + ")\340A\002\372A#\n!locations.googleapis.com/Locati" + + "on\022q\n\023conversation_config\030\004 \001(\0132T.google" + + ".cloud.contactcenterinsights.v1.IngestCo" + + "nversationsRequest.ConversationConfig\032$\n" + + "\tGcsSource\022\027\n\nbucket_uri\030\001 \001(\tB\003\340A\002\032i\n\026T" + + "ranscriptObjectConfig\022O\n\006medium\030\001 \001(\0162:." + + "google.cloud.contactcenterinsights.v1.Co" + + "nversation.MediumB\003\340A\002\032&\n\022ConversationCo" + + "nfig\022\020\n\010agent_id\030\001 \001(\tB\010\n\006sourceB\017\n\robje" + + "ct_config\"\310\004\n\033IngestConversationsMetadat" + + "a\0224\n\013create_time\030\001 \001(\0132\032.google.protobuf" + + ".TimestampB\003\340A\003\0221\n\010end_time\030\002 \001(\0132\032.goog" + + "le.protobuf.TimestampB\003\340A\003\022W\n\007request\030\003 " + + "\001(\0132A.google.cloud.contactcenterinsights" + + ".v1.IngestConversationsRequestB\003\340A\003\022/\n\016p" + + "artial_errors\030\004 \003(\0132\022.google.rpc.StatusB" + + "\003\340A\003\022\204\001\n\032ingest_conversations_stats\030\005 \001(" + + "\0132[.google.cloud.contactcenterinsights.v" + + "1.IngestConversationsMetadata.IngestConv" + + "ersationsStatsB\003\340A\003\032\256\001\n\030IngestConversati" + + "onsStats\022#\n\026processed_object_count\030\001 \001(\005" + + "B\003\340A\003\022%\n\030duplicates_skipped_count\030\002 \001(\005B" + + "\003\340A\003\022$\n\027successful_ingest_count\030\003 \001(\005B\003\340" + + "A\003\022 \n\023failed_ingest_count\030\004 \001(\005B\003\340A\003\"\035\n\033" + + "IngestConversationsResponse\"\252\001\n\025CreateAn" + + "alysisRequest\022I\n\006parent\030\001 \001(\tB9\340A\002\372A3\n1c" + + "ontactcenterinsights.googleapis.com/Conv" + + "ersation\022F\n\010analysis\030\002 \001(\0132/.google.clou" + + "d.contactcenterinsights.v1.AnalysisB\003\340A\002" + + "\"\227\001\n\023ListAnalysesRequest\022I\n\006parent\030\001 \001(\t" + + "B9\340A\002\372A3\n1contactcenterinsights.googleap" + + "is.com/Conversation\022\021\n\tpage_size\030\002 \001(\005\022\022" + + "\n\npage_token\030\003 \001(\t\022\016\n\006filter\030\004 \001(\t\"r\n\024Li" + + "stAnalysesResponse\022A\n\010analyses\030\001 \003(\0132/.g" + + "oogle.cloud.contactcenterinsights.v1.Ana" + + "lysis\022\027\n\017next_page_token\030\002 \001(\t\"Y\n\022GetAna" + + "lysisRequest\022C\n\004name\030\001 \001(\tB5\340A\002\372A/\n-cont" + + "actcenterinsights.googleapis.com/Analysi" + + "s\"\\\n\025DeleteAnalysisRequest\022C\n\004name\030\001 \001(\t" + + "B5\340A\002\372A/\n-contactcenterinsights.googleap" + + "is.com/Analysis\"\351\001\n\037BulkAnalyzeConversat" + + "ionsRequest\0229\n\006parent\030\001 \001(\tB)\340A\002\372A#\n!loc" + + "ations.googleapis.com/Location\022\023\n\006filter" + + "\030\002 \001(\tB\003\340A\002\022 \n\023analysis_percentage\030\003 \001(\002" + + "B\003\340A\002\022T\n\022annotator_selector\030\010 \001(\01328.goog" + + "le.cloud.contactcenterinsights.v1.Annota" + + "torSelector\"\303\002\n BulkAnalyzeConversations" + + "Metadata\022/\n\013create_time\030\001 \001(\0132\032.google.p" + + "rotobuf.Timestamp\022,\n\010end_time\030\002 \001(\0132\032.go" + + "ogle.protobuf.Timestamp\022W\n\007request\030\003 \001(\013" + + "2F.google.cloud.contactcenterinsights.v1" + + ".BulkAnalyzeConversationsRequest\022 \n\030comp" + + "leted_analyses_count\030\004 \001(\005\022\035\n\025failed_ana" + + "lyses_count\030\005 \001(\005\022&\n\036total_requested_ana" + + "lyses_count\030\006 \001(\005\"d\n BulkAnalyzeConversa" + + "tionsResponse\022!\n\031successful_analysis_cou" + + "nt\030\001 \001(\005\022\035\n\025failed_analysis_count\030\002 \001(\005\"" + + "\230\004\n\031ExportInsightsDataRequest\022u\n\025big_que" + + "ry_destination\030\002 \001(\0132T.google.cloud.cont" + + "actcenterinsights.v1.ExportInsightsDataR" + + "equest.BigQueryDestinationH\000\0229\n\006parent\030\001" + + " \001(\tB)\340A\002\372A#\n!locations.googleapis.com/L" + + "ocation\022\016\n\006filter\030\003 \001(\t\022\017\n\007kms_key\030\004 \001(\t" + + "\022l\n\021write_disposition\030\005 \001(\0162Q.google.clo" + + "ud.contactcenterinsights.v1.ExportInsigh" + + "tsDataRequest.WriteDisposition\032N\n\023BigQue" + + "ryDestination\022\022\n\nproject_id\030\003 \001(\t\022\024\n\007dat" + + "aset\030\001 \001(\tB\003\340A\002\022\r\n\005table\030\002 \001(\t\"[\n\020WriteD" + + "isposition\022!\n\035WRITE_DISPOSITION_UNSPECIF" + + "IED\020\000\022\022\n\016WRITE_TRUNCATE\020\001\022\020\n\014WRITE_APPEN" + + "D\020\002B\r\n\013destination\"\204\002\n\032ExportInsightsDat" + + "aMetadata\0224\n\013create_time\030\001 \001(\0132\032.google." + + "protobuf.TimestampB\003\340A\003\0221\n\010end_time\030\002 \001(" + + "\0132\032.google.protobuf.TimestampB\003\340A\003\022Q\n\007re" + + "quest\030\003 \001(\0132@.google.cloud.contactcenter" + + "insights.v1.ExportInsightsDataRequest\022*\n" + + "\016partial_errors\030\004 \003(\0132\022.google.rpc.Statu" + + "s\"\034\n\032ExportInsightsDataResponse\"\241\001\n\027Crea" + + "teIssueModelRequest\0229\n\006parent\030\001 \001(\tB)\340A\002" + + "\372A#\n!locations.googleapis.com/Location\022K" + + "\n\013issue_model\030\002 \001(\01321.google.cloud.conta" + + "ctcenterinsights.v1.IssueModelB\003\340A\002\"\324\001\n\030" + + "CreateIssueModelMetadata\0224\n\013create_time\030" + + "\001 \001(\0132\032.google.protobuf.TimestampB\003\340A\003\0221" + + "\n\010end_time\030\002 \001(\0132\032.google.protobuf.Times" + + "tampB\003\340A\003\022O\n\007request\030\003 \001(\0132>.google.clou" + + "d.contactcenterinsights.v1.CreateIssueMo" + + "delRequest\"\227\001\n\027UpdateIssueModelRequest\022K" + + "\n\013issue_model\030\001 \001(\01321.google.cloud.conta" + + "ctcenterinsights.v1.IssueModelB\003\340A\002\022/\n\013u" + + "pdate_mask\030\002 \001(\0132\032.google.protobuf.Field" + + "Mask\"S\n\026ListIssueModelsRequest\0229\n\006parent" + + "\030\001 \001(\tB)\340A\002\372A#\n!locations.googleapis.com" + + "/Location\"b\n\027ListIssueModelsResponse\022G\n\014" + + "issue_models\030\001 \003(\01321.google.cloud.contac" + + "tcenterinsights.v1.IssueModel\"]\n\024GetIssu" + + "eModelRequest\022E\n\004name\030\001 \001(\tB7\340A\002\372A1\n/con" + + "tactcenterinsights.googleapis.com/IssueM" + + "odel\"`\n\027DeleteIssueModelRequest\022E\n\004name\030" + + "\001 \001(\tB7\340A\002\372A1\n/contactcenterinsights.goo" + + "gleapis.com/IssueModel\"\324\001\n\030DeleteIssueMo" + + "delMetadata\0224\n\013create_time\030\001 \001(\0132\032.googl" + + "e.protobuf.TimestampB\003\340A\003\0221\n\010end_time\030\002 " + + "\001(\0132\032.google.protobuf.TimestampB\003\340A\003\022O\n\007" + + "request\030\003 \001(\0132>.google.cloud.contactcent" + + "erinsights.v1.DeleteIssueModelRequest\"`\n" + + "\027DeployIssueModelRequest\022E\n\004name\030\001 \001(\tB7" + + "\340A\002\372A1\n/contactcenterinsights.googleapis" + + ".com/IssueModel\"\032\n\030DeployIssueModelRespo" + + "nse\"\324\001\n\030DeployIssueModelMetadata\0224\n\013crea" + + "te_time\030\001 \001(\0132\032.google.protobuf.Timestam" + + "pB\003\340A\003\0221\n\010end_time\030\002 \001(\0132\032.google.protob" + + "uf.TimestampB\003\340A\003\022O\n\007request\030\003 \001(\0132>.goo" + + "gle.cloud.contactcenterinsights.v1.Deplo" + + "yIssueModelRequest\"b\n\031UndeployIssueModel" + + "Request\022E\n\004name\030\001 \001(\tB7\340A\002\372A1\n/contactce" + + "nterinsights.googleapis.com/IssueModel\"\034" + + "\n\032UndeployIssueModelResponse\"\330\001\n\032Undeplo" + + "yIssueModelMetadata\0224\n\013create_time\030\001 \001(\013" + + "2\032.google.protobuf.TimestampB\003\340A\003\0221\n\010end" + + "_time\030\002 \001(\0132\032.google.protobuf.TimestampB" + + "\003\340A\003\022Q\n\007request\030\003 \001(\0132@.google.cloud.con" + + "tactcenterinsights.v1.UndeployIssueModel" + + "Request\"S\n\017GetIssueRequest\022@\n\004name\030\001 \001(\t" + + "B2\340A\002\372A,\n*contactcenterinsights.googleap" + + "is.com/Issue\"\\\n\021ListIssuesRequest\022G\n\006par" + + "ent\030\001 \001(\tB7\340A\002\372A1\n/contactcenterinsights" + + ".googleapis.com/IssueModel\"R\n\022ListIssues" + + "Response\022<\n\006issues\030\001 \003(\0132,.google.cloud." + + "contactcenterinsights.v1.Issue\"\207\001\n\022Updat" + + "eIssueRequest\022@\n\005issue\030\001 \001(\0132,.google.cl" + + "oud.contactcenterinsights.v1.IssueB\003\340A\002\022" + + "/\n\013update_mask\030\002 \001(\0132\032.google.protobuf.F" + + "ieldMask\"V\n\022DeleteIssueRequest\022@\n\004name\030\001" + + " \001(\tB2\340A\002\372A,\n*contactcenterinsights.goog" + + "leapis.com/Issue\"o\n\037CalculateIssueModelS" + + "tatsRequest\022L\n\013issue_model\030\001 \001(\tB7\340A\002\372A1" + + "\n/contactcenterinsights.googleapis.com/I" + + "ssueModel\"v\n CalculateIssueModelStatsRes" + + "ponse\022R\n\rcurrent_stats\030\004 \001(\0132;.google.cl" + + "oud.contactcenterinsights.v1.IssueModelL" + + "abelStats\"\252\001\n\032CreatePhraseMatcherRequest" + + "\0229\n\006parent\030\001 \001(\tB)\340A\002\372A#\n!locations.goog" + + "leapis.com/Location\022Q\n\016phrase_matcher\030\002 " + + "\001(\01324.google.cloud.contactcenterinsights" + + ".v1.PhraseMatcherB\003\340A\002\"\215\001\n\031ListPhraseMat" + + "chersRequest\0229\n\006parent\030\001 \001(\tB)\340A\002\372A#\n!lo" + + "cations.googleapis.com/Location\022\021\n\tpage_" + + "size\030\002 \001(\005\022\022\n\npage_token\030\003 \001(\t\022\016\n\006filter" + + "\030\004 \001(\t\"\204\001\n\032ListPhraseMatchersResponse\022M\n" + + "\017phrase_matchers\030\001 \003(\01324.google.cloud.co" + + "ntactcenterinsights.v1.PhraseMatcher\022\027\n\017" + + "next_page_token\030\002 \001(\t\"c\n\027GetPhraseMatche" + + "rRequest\022H\n\004name\030\001 \001(\tB:\340A\002\372A4\n2contactc" + + "enterinsights.googleapis.com/PhraseMatch" + + "er\"f\n\032DeletePhraseMatcherRequest\022H\n\004name" + + "\030\001 \001(\tB:\340A\002\372A4\n2contactcenterinsights.go" + + "ogleapis.com/PhraseMatcher\"\240\001\n\032UpdatePhr" + + "aseMatcherRequest\022Q\n\016phrase_matcher\030\001 \001(" + + "\01324.google.cloud.contactcenterinsights.v" + + "1.PhraseMatcherB\003\340A\002\022/\n\013update_mask\030\002 \001(" + + "\0132\032.google.protobuf.FieldMask\"Y\n\022GetSett" + + "ingsRequest\022C\n\004name\030\001 \001(\tB5\340A\002\372A/\n-conta" + + "ctcenterinsights.googleapis.com/Settings" + + "\"\225\001\n\025UpdateSettingsRequest\022F\n\010settings\030\001" + + " \001(\0132/.google.cloud.contactcenterinsight" + + "s.v1.SettingsB\003\340A\002\0224\n\013update_mask\030\002 \001(\0132" + + "\032.google.protobuf.FieldMaskB\003\340A\002\"\216\001\n\021Cre" + + "ateViewRequest\0229\n\006parent\030\001 \001(\tB)\340A\002\372A#\n!" + + "locations.googleapis.com/Location\022>\n\004vie" + + "w\030\002 \001(\0132+.google.cloud.contactcenterinsi" + + "ghts.v1.ViewB\003\340A\002\"Q\n\016GetViewRequest\022?\n\004n" + + "ame\030\001 \001(\tB1\340A\002\372A+\n)contactcenterinsights" + + ".googleapis.com/View\"t\n\020ListViewsRequest" + + "\0229\n\006parent\030\001 \001(\tB)\340A\002\372A#\n!locations.goog" + + "leapis.com/Location\022\021\n\tpage_size\030\002 \001(\005\022\022" + + "\n\npage_token\030\003 \001(\t\"h\n\021ListViewsResponse\022" + + ":\n\005views\030\001 \003(\0132+.google.cloud.contactcen" + + "terinsights.v1.View\022\027\n\017next_page_token\030\002" + + " \001(\t\"\204\001\n\021UpdateViewRequest\022>\n\004view\030\001 \001(\013" + + "2+.google.cloud.contactcenterinsights.v1" + + ".ViewB\003\340A\002\022/\n\013update_mask\030\002 \001(\0132\032.google" + + ".protobuf.FieldMask\"T\n\021DeleteViewRequest" + + "\022?\n\004name\030\001 \001(\tB1\340A\002\372A+\n)contactcenterins" + + "ights.googleapis.com/View*J\n\020Conversatio" + + "nView\022!\n\035CONVERSATION_VIEW_UNSPECIFIED\020\000" + + "\022\010\n\004FULL\020\002\022\t\n\005BASIC\020\0012\321@\n\025ContactCenterI" + + "nsights\022\372\001\n\022CreateConversation\022@.google." + + "cloud.contactcenterinsights.v1.CreateCon" + + "versationRequest\0323.google.cloud.contactc" + + "enterinsights.v1.Conversation\"m\202\323\344\223\002A\"1/" + + "v1/{parent=projects/*/locations/*}/conve" + + "rsations:\014conversation\332A#parent,conversa" + + "tion,conversation_id\022\374\001\n\022UpdateConversat" + + "ion\022@.google.cloud.contactcenterinsights" + + ".v1.UpdateConversationRequest\0323.google.c" + + "loud.contactcenterinsights.v1.Conversati" + + "on\"o\202\323\344\223\002N2>/v1/{conversation.name=proje" + + "cts/*/locations/*/conversations/*}:\014conv" + + "ersation\332A\030conversation,update_mask\022\307\001\n\017" + + "GetConversation\022=.google.cloud.contactce" + + "nterinsights.v1.GetConversationRequest\0323" + + ".google.cloud.contactcenterinsights.v1.C" + + "onversation\"@\202\323\344\223\0023\0221/v1/{name=projects/" + + "*/locations/*/conversations/*}\332A\004name\022\332\001" + + "\n\021ListConversations\022?.google.cloud.conta" + + "ctcenterinsights.v1.ListConversationsReq" + + "uest\032@.google.cloud.contactcenterinsight" + + "s.v1.ListConversationsResponse\"B\202\323\344\223\0023\0221" + + "/v1/{parent=projects/*/locations/*}/conv" + + "ersations\332A\006parent\022\260\001\n\022DeleteConversatio" + + "n\022@.google.cloud.contactcenterinsights.v" + + "1.DeleteConversationRequest\032\026.google.pro" + + "tobuf.Empty\"@\202\323\344\223\0023*1/v1/{name=projects/" + + "*/locations/*/conversations/*}\332A\004name\022\376\001" + + "\n\016CreateAnalysis\022<.google.cloud.contactc" + + "enterinsights.v1.CreateAnalysisRequest\032\035" + + ".google.longrunning.Operation\"\216\001\202\323\344\223\002H\"<" + + "/v1/{parent=projects/*/locations/*/conve" + + "rsations/*}/analyses:\010analysis\332A\017parent," + + "analysis\312A+\n\010Analysis\022\037CreateAnalysisOpe" + + "rationMetadata\022\306\001\n\013GetAnalysis\0229.google." + + "cloud.contactcenterinsights.v1.GetAnalys" + + "isRequest\032/.google.cloud.contactcenterin" + + "sights.v1.Analysis\"K\202\323\344\223\002>\022\022*.google.cl" + + "oud.contactcenterinsights.v1.CreateIssue" + + "ModelRequest\032\035.google.longrunning.Operat" + + "ion\"\202\001\202\323\344\223\002>\"//v1/{parent=projects/*/loc" + + "ations/*}/issueModels:\013issue_model\332A\022par" + + "ent,issue_model\312A&\n\nIssueModel\022\030CreateIs" + + "sueModelMetadata\022\361\001\n\020UpdateIssueModel\022>." + + "google.cloud.contactcenterinsights.v1.Up" + + "dateIssueModelRequest\0321.google.cloud.con" + + "tactcenterinsights.v1.IssueModel\"j\202\323\344\223\002J" + + "2;/v1/{issue_model.name=projects/*/locat" + + "ions/*/issueModels/*}:\013issue_model\332A\027iss" + + "ue_model,update_mask\022\277\001\n\rGetIssueModel\022;" + + ".google.cloud.contactcenterinsights.v1.G" + + "etIssueModelRequest\0321.google.cloud.conta" + + "ctcenterinsights.v1.IssueModel\">\202\323\344\223\0021\022/" + + "/v1/{name=projects/*/locations/*/issueMo" + + "dels/*}\332A\004name\022\322\001\n\017ListIssueModels\022=.goo" + + "gle.cloud.contactcenterinsights.v1.ListI" + + "ssueModelsRequest\032>.google.cloud.contact" + + "centerinsights.v1.ListIssueModelsRespons" + + "e\"@\202\323\344\223\0021\022//v1/{parent=projects/*/locati" + + "ons/*}/issueModels\332A\006parent\022\345\001\n\020DeleteIs" + + "sueModel\022>.google.cloud.contactcenterins" + + "ights.v1.DeleteIssueModelRequest\032\035.googl" + + "e.longrunning.Operation\"r\202\323\344\223\0021*//v1/{na" + + "me=projects/*/locations/*/issueModels/*}" + + "\332A\004name\312A1\n\025google.protobuf.Empty\022\030Delet" + + "eIssueModelMetadata\022\362\001\n\020DeployIssueModel" + + "\022>.google.cloud.contactcenterinsights.v1" + + ".DeployIssueModelRequest\032\035.google.longru" + + "nning.Operation\"\177\202\323\344\223\002;\"6/v1/{name=proje" + + "cts/*/locations/*/issueModels/*}:deploy:" + + "\001*\332A\004name\312A4\n\030DeployIssueModelResponse\022\030" + + "DeployIssueModelMetadata\022\375\001\n\022UndeployIss" + + "ueModel\022@.google.cloud.contactcenterinsi" + + "ghts.v1.UndeployIssueModelRequest\032\035.goog" + + "le.longrunning.Operation\"\205\001\202\323\344\223\002=\"8/v1/{" + + "name=projects/*/locations/*/issueModels/" + + "*}:undeploy:\001*\332A\004name\312A8\n\032UndeployIssueM" + + "odelResponse\022\032UndeployIssueModelMetadata" + + "\022\271\001\n\010GetIssue\0226.google.cloud.contactcent" + + "erinsights.v1.GetIssueRequest\032,.google.c" + + "loud.contactcenterinsights.v1.Issue\"G\202\323\344" + + "\223\002:\0228/v1/{name=projects/*/locations/*/is" + + "sueModels/*/issues/*}\332A\004name\022\314\001\n\nListIss" + + "ues\0228.google.cloud.contactcenterinsights" + + ".v1.ListIssuesRequest\0329.google.cloud.con" + + "tactcenterinsights.v1.ListIssuesResponse" + + "\"I\202\323\344\223\002:\0228/v1/{parent=projects/*/locatio" + + "ns/*/issueModels/*}/issues\332A\006parent\022\331\001\n\013" + + "UpdateIssue\0229.google.cloud.contactcenter" + + "insights.v1.UpdateIssueRequest\032,.google." + + "cloud.contactcenterinsights.v1.Issue\"a\202\323" + + "\344\223\002G2>/v1/{issue.name=projects/*/locatio" + + "ns/*/issueModels/*/issues/*}:\005issue\332A\021is" + + "sue,update_mask\022\251\001\n\013DeleteIssue\0229.google", + ".cloud.contactcenterinsights.v1.DeleteIs" + + "sueRequest\032\026.google.protobuf.Empty\"G\202\323\344\223" + + "\002:*8/v1/{name=projects/*/locations/*/iss" + + "ueModels/*/issues/*}\332A\004name\022\222\002\n\030Calculat" + + "eIssueModelStats\022F.google.cloud.contactc" + + "enterinsights.v1.CalculateIssueModelStat" + + "sRequest\032G.google.cloud.contactcenterins" + + "ights.v1.CalculateIssueModelStatsRespons" + + "e\"e\202\323\344\223\002Q\022O/v1/{issue_model=projects/*/l" + + "ocations/*/issueModels/*}:calculateIssue" + + "ModelStats\332A\013issue_model\022\362\001\n\023CreatePhras" + + "eMatcher\022A.google.cloud.contactcenterins" + + "ights.v1.CreatePhraseMatcherRequest\0324.go" + + "ogle.cloud.contactcenterinsights.v1.Phra" + + "seMatcher\"b\202\323\344\223\002D\"2/v1/{parent=projects/" + + "*/locations/*}/phraseMatchers:\016phrase_ma" + + "tcher\332A\025parent,phrase_matcher\022\313\001\n\020GetPhr" + + "aseMatcher\022>.google.cloud.contactcenteri" + + "nsights.v1.GetPhraseMatcherRequest\0324.goo" + + "gle.cloud.contactcenterinsights.v1.Phras" + + "eMatcher\"A\202\323\344\223\0024\0222/v1/{name=projects/*/l" + + "ocations/*/phraseMatchers/*}\332A\004name\022\336\001\n\022" + + "ListPhraseMatchers\022@.google.cloud.contac" + + "tcenterinsights.v1.ListPhraseMatchersReq" + + "uest\032A.google.cloud.contactcenterinsight" + + "s.v1.ListPhraseMatchersResponse\"C\202\323\344\223\0024\022" + + "2/v1/{parent=projects/*/locations/*}/phr" + + "aseMatchers\332A\006parent\022\263\001\n\023DeletePhraseMat" + + "cher\022A.google.cloud.contactcenterinsight" + + "s.v1.DeletePhraseMatcherRequest\032\026.google" + + ".protobuf.Empty\"A\202\323\344\223\0024*2/v1/{name=proje" + + "cts/*/locations/*/phraseMatchers/*}\332A\004na" + + "me\022\206\002\n\023UpdatePhraseMatcher\022A.google.clou" + + "d.contactcenterinsights.v1.UpdatePhraseM" + + "atcherRequest\0324.google.cloud.contactcent" + + "erinsights.v1.PhraseMatcher\"v\202\323\344\223\002S2A/v1" + + "/{phrase_matcher.name=projects/*/locatio" + + "ns/*/phraseMatchers/*}:\016phrase_matcher\332A" + + "\032phrase_matcher,update_mask\022\344\001\n\016Calculat" + + "eStats\022<.google.cloud.contactcenterinsig" + + "hts.v1.CalculateStatsRequest\032=.google.cl" + + "oud.contactcenterinsights.v1.CalculateSt" + + "atsResponse\"U\202\323\344\223\002D\022B/v1/{location=proje" + + "cts/*/locations/*}/conversations:calcula" + + "teStats\332A\010location\022\264\001\n\013GetSettings\0229.goo" + + "gle.cloud.contactcenterinsights.v1.GetSe" + + "ttingsRequest\032/.google.cloud.contactcent" + + "erinsights.v1.Settings\"9\202\323\344\223\002,\022*/v1/{nam" + + "e=projects/*/locations/*/settings}\332A\004nam" + + "e\022\335\001\n\016UpdateSettings\022<.google.cloud.cont" + + "actcenterinsights.v1.UpdateSettingsReque" + + "st\032/.google.cloud.contactcenterinsights." + + "v1.Settings\"\\\202\323\344\223\002?23/v1/{settings.name=" + + "projects/*/locations/*/settings}:\010settin" + + "gs\332A\024settings,update_mask\022\272\001\n\nCreateView" + + "\0228.google.cloud.contactcenterinsights.v1" + + ".CreateViewRequest\032+.google.cloud.contac" + + "tcenterinsights.v1.View\"E\202\323\344\223\0021\")/v1/{pa" + + "rent=projects/*/locations/*}/views:\004view" + + "\332A\013parent,view\022\247\001\n\007GetView\0225.google.clou" + + "d.contactcenterinsights.v1.GetViewReques" + + "t\032+.google.cloud.contactcenterinsights.v" + + "1.View\"8\202\323\344\223\002+\022)/v1/{name=projects/*/loc" + + "ations/*/views/*}\332A\004name\022\272\001\n\tListViews\0227" + + ".google.cloud.contactcenterinsights.v1.L" + + "istViewsRequest\0328.google.cloud.contactce" + + "nterinsights.v1.ListViewsResponse\":\202\323\344\223\002" + + "+\022)/v1/{parent=projects/*/locations/*}/v" + + "iews\332A\006parent\022\304\001\n\nUpdateView\0228.google.cl" + + "oud.contactcenterinsights.v1.UpdateViewR" + + "equest\032+.google.cloud.contactcenterinsig" + + "hts.v1.View\"O\202\323\344\223\00262./v1/{view.name=proj" + + "ects/*/locations/*/views/*}:\004view\332A\020view" + + ",update_mask\022\230\001\n\nDeleteView\0228.google.clo" + + "ud.contactcenterinsights.v1.DeleteViewRe" + + "quest\032\026.google.protobuf.Empty\"8\202\323\344\223\002+*)/" + + "v1/{name=projects/*/locations/*/views/*}" + + "\332A\004name\032X\312A$contactcenterinsights.google" + + "apis.com\322A.https://www.googleapis.com/au" + + "th/cloud-platformB\245\002\n)com.google.cloud.c" + + "ontactcenterinsights.v1B\032ContactCenterIn" + + "sightsProtoP\001Z_cloud.google.com/go/conta" + + "ctcenterinsights/apiv1/contactcenterinsi" + + "ghtspb;contactcenterinsightspb\252\002%Google." + + "Cloud.ContactCenterInsights.V1\312\002%Google\\" + + "Cloud\\ContactCenterInsights\\V1\352\002(Google:" + + ":Cloud::ContactCenterInsights::V1b\006proto" + + "3" + }; + descriptor = com.google.protobuf.Descriptors.FileDescriptor + .internalBuildGeneratedFileFrom(descriptorData, + new com.google.protobuf.Descriptors.FileDescriptor[] { + com.google.api.AnnotationsProto.getDescriptor(), + com.google.api.ClientProto.getDescriptor(), + com.google.api.FieldBehaviorProto.getDescriptor(), + com.google.api.ResourceProto.getDescriptor(), + com.google.cloud.contactcenterinsights.v1.ResourcesProto.getDescriptor(), + com.google.longrunning.OperationsProto.getDescriptor(), + com.google.protobuf.DurationProto.getDescriptor(), + com.google.protobuf.EmptyProto.getDescriptor(), + com.google.protobuf.FieldMaskProto.getDescriptor(), + com.google.protobuf.TimestampProto.getDescriptor(), + com.google.rpc.StatusProto.getDescriptor(), + }); + internal_static_google_cloud_contactcenterinsights_v1_CalculateStatsRequest_descriptor = + getDescriptor().getMessageTypes().get(0); + internal_static_google_cloud_contactcenterinsights_v1_CalculateStatsRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_contactcenterinsights_v1_CalculateStatsRequest_descriptor, + new java.lang.String[] { "Location", "Filter", }); + internal_static_google_cloud_contactcenterinsights_v1_CalculateStatsResponse_descriptor = + getDescriptor().getMessageTypes().get(1); + internal_static_google_cloud_contactcenterinsights_v1_CalculateStatsResponse_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_contactcenterinsights_v1_CalculateStatsResponse_descriptor, + new java.lang.String[] { "AverageDuration", "AverageTurnCount", "ConversationCount", "SmartHighlighterMatches", "CustomHighlighterMatches", "IssueMatches", "IssueMatchesStats", "ConversationCountTimeSeries", }); + internal_static_google_cloud_contactcenterinsights_v1_CalculateStatsResponse_TimeSeries_descriptor = + internal_static_google_cloud_contactcenterinsights_v1_CalculateStatsResponse_descriptor.getNestedTypes().get(0); + internal_static_google_cloud_contactcenterinsights_v1_CalculateStatsResponse_TimeSeries_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_contactcenterinsights_v1_CalculateStatsResponse_TimeSeries_descriptor, + new java.lang.String[] { "IntervalDuration", "Points", }); + internal_static_google_cloud_contactcenterinsights_v1_CalculateStatsResponse_TimeSeries_Interval_descriptor = + internal_static_google_cloud_contactcenterinsights_v1_CalculateStatsResponse_TimeSeries_descriptor.getNestedTypes().get(0); + internal_static_google_cloud_contactcenterinsights_v1_CalculateStatsResponse_TimeSeries_Interval_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_contactcenterinsights_v1_CalculateStatsResponse_TimeSeries_Interval_descriptor, + new java.lang.String[] { "StartTime", "ConversationCount", }); + internal_static_google_cloud_contactcenterinsights_v1_CalculateStatsResponse_SmartHighlighterMatchesEntry_descriptor = + internal_static_google_cloud_contactcenterinsights_v1_CalculateStatsResponse_descriptor.getNestedTypes().get(1); + internal_static_google_cloud_contactcenterinsights_v1_CalculateStatsResponse_SmartHighlighterMatchesEntry_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_contactcenterinsights_v1_CalculateStatsResponse_SmartHighlighterMatchesEntry_descriptor, + new java.lang.String[] { "Key", "Value", }); + internal_static_google_cloud_contactcenterinsights_v1_CalculateStatsResponse_CustomHighlighterMatchesEntry_descriptor = + internal_static_google_cloud_contactcenterinsights_v1_CalculateStatsResponse_descriptor.getNestedTypes().get(2); + internal_static_google_cloud_contactcenterinsights_v1_CalculateStatsResponse_CustomHighlighterMatchesEntry_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_contactcenterinsights_v1_CalculateStatsResponse_CustomHighlighterMatchesEntry_descriptor, + new java.lang.String[] { "Key", "Value", }); + internal_static_google_cloud_contactcenterinsights_v1_CalculateStatsResponse_IssueMatchesEntry_descriptor = + internal_static_google_cloud_contactcenterinsights_v1_CalculateStatsResponse_descriptor.getNestedTypes().get(3); + internal_static_google_cloud_contactcenterinsights_v1_CalculateStatsResponse_IssueMatchesEntry_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_contactcenterinsights_v1_CalculateStatsResponse_IssueMatchesEntry_descriptor, + new java.lang.String[] { "Key", "Value", }); + internal_static_google_cloud_contactcenterinsights_v1_CalculateStatsResponse_IssueMatchesStatsEntry_descriptor = + internal_static_google_cloud_contactcenterinsights_v1_CalculateStatsResponse_descriptor.getNestedTypes().get(4); + internal_static_google_cloud_contactcenterinsights_v1_CalculateStatsResponse_IssueMatchesStatsEntry_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_contactcenterinsights_v1_CalculateStatsResponse_IssueMatchesStatsEntry_descriptor, + new java.lang.String[] { "Key", "Value", }); + internal_static_google_cloud_contactcenterinsights_v1_CreateAnalysisOperationMetadata_descriptor = + getDescriptor().getMessageTypes().get(2); + internal_static_google_cloud_contactcenterinsights_v1_CreateAnalysisOperationMetadata_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_contactcenterinsights_v1_CreateAnalysisOperationMetadata_descriptor, + new java.lang.String[] { "CreateTime", "EndTime", "Conversation", "AnnotatorSelector", }); + internal_static_google_cloud_contactcenterinsights_v1_CreateConversationRequest_descriptor = + getDescriptor().getMessageTypes().get(3); + internal_static_google_cloud_contactcenterinsights_v1_CreateConversationRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_contactcenterinsights_v1_CreateConversationRequest_descriptor, + new java.lang.String[] { "Parent", "Conversation", "ConversationId", }); + internal_static_google_cloud_contactcenterinsights_v1_ListConversationsRequest_descriptor = + getDescriptor().getMessageTypes().get(4); + internal_static_google_cloud_contactcenterinsights_v1_ListConversationsRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_contactcenterinsights_v1_ListConversationsRequest_descriptor, + new java.lang.String[] { "Parent", "PageSize", "PageToken", "Filter", "View", }); + internal_static_google_cloud_contactcenterinsights_v1_ListConversationsResponse_descriptor = + getDescriptor().getMessageTypes().get(5); + internal_static_google_cloud_contactcenterinsights_v1_ListConversationsResponse_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_contactcenterinsights_v1_ListConversationsResponse_descriptor, + new java.lang.String[] { "Conversations", "NextPageToken", }); + internal_static_google_cloud_contactcenterinsights_v1_GetConversationRequest_descriptor = + getDescriptor().getMessageTypes().get(6); + internal_static_google_cloud_contactcenterinsights_v1_GetConversationRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_contactcenterinsights_v1_GetConversationRequest_descriptor, + new java.lang.String[] { "Name", "View", }); + internal_static_google_cloud_contactcenterinsights_v1_UpdateConversationRequest_descriptor = + getDescriptor().getMessageTypes().get(7); + internal_static_google_cloud_contactcenterinsights_v1_UpdateConversationRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_contactcenterinsights_v1_UpdateConversationRequest_descriptor, + new java.lang.String[] { "Conversation", "UpdateMask", }); + internal_static_google_cloud_contactcenterinsights_v1_DeleteConversationRequest_descriptor = + getDescriptor().getMessageTypes().get(8); + internal_static_google_cloud_contactcenterinsights_v1_DeleteConversationRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_contactcenterinsights_v1_DeleteConversationRequest_descriptor, + new java.lang.String[] { "Name", "Force", }); + internal_static_google_cloud_contactcenterinsights_v1_IngestConversationsRequest_descriptor = + getDescriptor().getMessageTypes().get(9); + internal_static_google_cloud_contactcenterinsights_v1_IngestConversationsRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_contactcenterinsights_v1_IngestConversationsRequest_descriptor, + new java.lang.String[] { "GcsSource", "TranscriptObjectConfig", "Parent", "ConversationConfig", "Source", "ObjectConfig", }); + internal_static_google_cloud_contactcenterinsights_v1_IngestConversationsRequest_GcsSource_descriptor = + internal_static_google_cloud_contactcenterinsights_v1_IngestConversationsRequest_descriptor.getNestedTypes().get(0); + internal_static_google_cloud_contactcenterinsights_v1_IngestConversationsRequest_GcsSource_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_contactcenterinsights_v1_IngestConversationsRequest_GcsSource_descriptor, + new java.lang.String[] { "BucketUri", }); + internal_static_google_cloud_contactcenterinsights_v1_IngestConversationsRequest_TranscriptObjectConfig_descriptor = + internal_static_google_cloud_contactcenterinsights_v1_IngestConversationsRequest_descriptor.getNestedTypes().get(1); + internal_static_google_cloud_contactcenterinsights_v1_IngestConversationsRequest_TranscriptObjectConfig_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_contactcenterinsights_v1_IngestConversationsRequest_TranscriptObjectConfig_descriptor, + new java.lang.String[] { "Medium", }); + internal_static_google_cloud_contactcenterinsights_v1_IngestConversationsRequest_ConversationConfig_descriptor = + internal_static_google_cloud_contactcenterinsights_v1_IngestConversationsRequest_descriptor.getNestedTypes().get(2); + internal_static_google_cloud_contactcenterinsights_v1_IngestConversationsRequest_ConversationConfig_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_contactcenterinsights_v1_IngestConversationsRequest_ConversationConfig_descriptor, + new java.lang.String[] { "AgentId", }); + internal_static_google_cloud_contactcenterinsights_v1_IngestConversationsMetadata_descriptor = + getDescriptor().getMessageTypes().get(10); + internal_static_google_cloud_contactcenterinsights_v1_IngestConversationsMetadata_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_contactcenterinsights_v1_IngestConversationsMetadata_descriptor, + new java.lang.String[] { "CreateTime", "EndTime", "Request", "PartialErrors", "IngestConversationsStats", }); + internal_static_google_cloud_contactcenterinsights_v1_IngestConversationsMetadata_IngestConversationsStats_descriptor = + internal_static_google_cloud_contactcenterinsights_v1_IngestConversationsMetadata_descriptor.getNestedTypes().get(0); + internal_static_google_cloud_contactcenterinsights_v1_IngestConversationsMetadata_IngestConversationsStats_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_contactcenterinsights_v1_IngestConversationsMetadata_IngestConversationsStats_descriptor, + new java.lang.String[] { "ProcessedObjectCount", "DuplicatesSkippedCount", "SuccessfulIngestCount", "FailedIngestCount", }); + internal_static_google_cloud_contactcenterinsights_v1_IngestConversationsResponse_descriptor = + getDescriptor().getMessageTypes().get(11); + internal_static_google_cloud_contactcenterinsights_v1_IngestConversationsResponse_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_contactcenterinsights_v1_IngestConversationsResponse_descriptor, + new java.lang.String[] { }); + internal_static_google_cloud_contactcenterinsights_v1_CreateAnalysisRequest_descriptor = + getDescriptor().getMessageTypes().get(12); + internal_static_google_cloud_contactcenterinsights_v1_CreateAnalysisRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_contactcenterinsights_v1_CreateAnalysisRequest_descriptor, + new java.lang.String[] { "Parent", "Analysis", }); + internal_static_google_cloud_contactcenterinsights_v1_ListAnalysesRequest_descriptor = + getDescriptor().getMessageTypes().get(13); + internal_static_google_cloud_contactcenterinsights_v1_ListAnalysesRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_contactcenterinsights_v1_ListAnalysesRequest_descriptor, + new java.lang.String[] { "Parent", "PageSize", "PageToken", "Filter", }); + internal_static_google_cloud_contactcenterinsights_v1_ListAnalysesResponse_descriptor = + getDescriptor().getMessageTypes().get(14); + internal_static_google_cloud_contactcenterinsights_v1_ListAnalysesResponse_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_contactcenterinsights_v1_ListAnalysesResponse_descriptor, + new java.lang.String[] { "Analyses", "NextPageToken", }); + internal_static_google_cloud_contactcenterinsights_v1_GetAnalysisRequest_descriptor = + getDescriptor().getMessageTypes().get(15); + internal_static_google_cloud_contactcenterinsights_v1_GetAnalysisRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_contactcenterinsights_v1_GetAnalysisRequest_descriptor, + new java.lang.String[] { "Name", }); + internal_static_google_cloud_contactcenterinsights_v1_DeleteAnalysisRequest_descriptor = + getDescriptor().getMessageTypes().get(16); + internal_static_google_cloud_contactcenterinsights_v1_DeleteAnalysisRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_contactcenterinsights_v1_DeleteAnalysisRequest_descriptor, + new java.lang.String[] { "Name", }); + internal_static_google_cloud_contactcenterinsights_v1_BulkAnalyzeConversationsRequest_descriptor = + getDescriptor().getMessageTypes().get(17); + internal_static_google_cloud_contactcenterinsights_v1_BulkAnalyzeConversationsRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_contactcenterinsights_v1_BulkAnalyzeConversationsRequest_descriptor, + new java.lang.String[] { "Parent", "Filter", "AnalysisPercentage", "AnnotatorSelector", }); + internal_static_google_cloud_contactcenterinsights_v1_BulkAnalyzeConversationsMetadata_descriptor = + getDescriptor().getMessageTypes().get(18); + internal_static_google_cloud_contactcenterinsights_v1_BulkAnalyzeConversationsMetadata_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_contactcenterinsights_v1_BulkAnalyzeConversationsMetadata_descriptor, + new java.lang.String[] { "CreateTime", "EndTime", "Request", "CompletedAnalysesCount", "FailedAnalysesCount", "TotalRequestedAnalysesCount", }); + internal_static_google_cloud_contactcenterinsights_v1_BulkAnalyzeConversationsResponse_descriptor = + getDescriptor().getMessageTypes().get(19); + internal_static_google_cloud_contactcenterinsights_v1_BulkAnalyzeConversationsResponse_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_contactcenterinsights_v1_BulkAnalyzeConversationsResponse_descriptor, + new java.lang.String[] { "SuccessfulAnalysisCount", "FailedAnalysisCount", }); + internal_static_google_cloud_contactcenterinsights_v1_ExportInsightsDataRequest_descriptor = + getDescriptor().getMessageTypes().get(20); + internal_static_google_cloud_contactcenterinsights_v1_ExportInsightsDataRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_contactcenterinsights_v1_ExportInsightsDataRequest_descriptor, + new java.lang.String[] { "BigQueryDestination", "Parent", "Filter", "KmsKey", "WriteDisposition", "Destination", }); + internal_static_google_cloud_contactcenterinsights_v1_ExportInsightsDataRequest_BigQueryDestination_descriptor = + internal_static_google_cloud_contactcenterinsights_v1_ExportInsightsDataRequest_descriptor.getNestedTypes().get(0); + internal_static_google_cloud_contactcenterinsights_v1_ExportInsightsDataRequest_BigQueryDestination_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_contactcenterinsights_v1_ExportInsightsDataRequest_BigQueryDestination_descriptor, + new java.lang.String[] { "ProjectId", "Dataset", "Table", }); + internal_static_google_cloud_contactcenterinsights_v1_ExportInsightsDataMetadata_descriptor = + getDescriptor().getMessageTypes().get(21); + internal_static_google_cloud_contactcenterinsights_v1_ExportInsightsDataMetadata_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_contactcenterinsights_v1_ExportInsightsDataMetadata_descriptor, + new java.lang.String[] { "CreateTime", "EndTime", "Request", "PartialErrors", }); + internal_static_google_cloud_contactcenterinsights_v1_ExportInsightsDataResponse_descriptor = + getDescriptor().getMessageTypes().get(22); + internal_static_google_cloud_contactcenterinsights_v1_ExportInsightsDataResponse_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_contactcenterinsights_v1_ExportInsightsDataResponse_descriptor, + new java.lang.String[] { }); + internal_static_google_cloud_contactcenterinsights_v1_CreateIssueModelRequest_descriptor = + getDescriptor().getMessageTypes().get(23); + internal_static_google_cloud_contactcenterinsights_v1_CreateIssueModelRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_contactcenterinsights_v1_CreateIssueModelRequest_descriptor, + new java.lang.String[] { "Parent", "IssueModel", }); + internal_static_google_cloud_contactcenterinsights_v1_CreateIssueModelMetadata_descriptor = + getDescriptor().getMessageTypes().get(24); + internal_static_google_cloud_contactcenterinsights_v1_CreateIssueModelMetadata_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_contactcenterinsights_v1_CreateIssueModelMetadata_descriptor, + new java.lang.String[] { "CreateTime", "EndTime", "Request", }); + internal_static_google_cloud_contactcenterinsights_v1_UpdateIssueModelRequest_descriptor = + getDescriptor().getMessageTypes().get(25); + internal_static_google_cloud_contactcenterinsights_v1_UpdateIssueModelRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_contactcenterinsights_v1_UpdateIssueModelRequest_descriptor, + new java.lang.String[] { "IssueModel", "UpdateMask", }); + internal_static_google_cloud_contactcenterinsights_v1_ListIssueModelsRequest_descriptor = + getDescriptor().getMessageTypes().get(26); + internal_static_google_cloud_contactcenterinsights_v1_ListIssueModelsRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_contactcenterinsights_v1_ListIssueModelsRequest_descriptor, + new java.lang.String[] { "Parent", }); + internal_static_google_cloud_contactcenterinsights_v1_ListIssueModelsResponse_descriptor = + getDescriptor().getMessageTypes().get(27); + internal_static_google_cloud_contactcenterinsights_v1_ListIssueModelsResponse_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_contactcenterinsights_v1_ListIssueModelsResponse_descriptor, + new java.lang.String[] { "IssueModels", }); + internal_static_google_cloud_contactcenterinsights_v1_GetIssueModelRequest_descriptor = + getDescriptor().getMessageTypes().get(28); + internal_static_google_cloud_contactcenterinsights_v1_GetIssueModelRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_contactcenterinsights_v1_GetIssueModelRequest_descriptor, + new java.lang.String[] { "Name", }); + internal_static_google_cloud_contactcenterinsights_v1_DeleteIssueModelRequest_descriptor = + getDescriptor().getMessageTypes().get(29); + internal_static_google_cloud_contactcenterinsights_v1_DeleteIssueModelRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_contactcenterinsights_v1_DeleteIssueModelRequest_descriptor, + new java.lang.String[] { "Name", }); + internal_static_google_cloud_contactcenterinsights_v1_DeleteIssueModelMetadata_descriptor = + getDescriptor().getMessageTypes().get(30); + internal_static_google_cloud_contactcenterinsights_v1_DeleteIssueModelMetadata_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_contactcenterinsights_v1_DeleteIssueModelMetadata_descriptor, + new java.lang.String[] { "CreateTime", "EndTime", "Request", }); + internal_static_google_cloud_contactcenterinsights_v1_DeployIssueModelRequest_descriptor = + getDescriptor().getMessageTypes().get(31); + internal_static_google_cloud_contactcenterinsights_v1_DeployIssueModelRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_contactcenterinsights_v1_DeployIssueModelRequest_descriptor, + new java.lang.String[] { "Name", }); + internal_static_google_cloud_contactcenterinsights_v1_DeployIssueModelResponse_descriptor = + getDescriptor().getMessageTypes().get(32); + internal_static_google_cloud_contactcenterinsights_v1_DeployIssueModelResponse_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_contactcenterinsights_v1_DeployIssueModelResponse_descriptor, + new java.lang.String[] { }); + internal_static_google_cloud_contactcenterinsights_v1_DeployIssueModelMetadata_descriptor = + getDescriptor().getMessageTypes().get(33); + internal_static_google_cloud_contactcenterinsights_v1_DeployIssueModelMetadata_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_contactcenterinsights_v1_DeployIssueModelMetadata_descriptor, + new java.lang.String[] { "CreateTime", "EndTime", "Request", }); + internal_static_google_cloud_contactcenterinsights_v1_UndeployIssueModelRequest_descriptor = + getDescriptor().getMessageTypes().get(34); + internal_static_google_cloud_contactcenterinsights_v1_UndeployIssueModelRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_contactcenterinsights_v1_UndeployIssueModelRequest_descriptor, + new java.lang.String[] { "Name", }); + internal_static_google_cloud_contactcenterinsights_v1_UndeployIssueModelResponse_descriptor = + getDescriptor().getMessageTypes().get(35); + internal_static_google_cloud_contactcenterinsights_v1_UndeployIssueModelResponse_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_contactcenterinsights_v1_UndeployIssueModelResponse_descriptor, + new java.lang.String[] { }); + internal_static_google_cloud_contactcenterinsights_v1_UndeployIssueModelMetadata_descriptor = + getDescriptor().getMessageTypes().get(36); + internal_static_google_cloud_contactcenterinsights_v1_UndeployIssueModelMetadata_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_contactcenterinsights_v1_UndeployIssueModelMetadata_descriptor, + new java.lang.String[] { "CreateTime", "EndTime", "Request", }); + internal_static_google_cloud_contactcenterinsights_v1_GetIssueRequest_descriptor = + getDescriptor().getMessageTypes().get(37); + internal_static_google_cloud_contactcenterinsights_v1_GetIssueRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_contactcenterinsights_v1_GetIssueRequest_descriptor, + new java.lang.String[] { "Name", }); + internal_static_google_cloud_contactcenterinsights_v1_ListIssuesRequest_descriptor = + getDescriptor().getMessageTypes().get(38); + internal_static_google_cloud_contactcenterinsights_v1_ListIssuesRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_contactcenterinsights_v1_ListIssuesRequest_descriptor, + new java.lang.String[] { "Parent", }); + internal_static_google_cloud_contactcenterinsights_v1_ListIssuesResponse_descriptor = + getDescriptor().getMessageTypes().get(39); + internal_static_google_cloud_contactcenterinsights_v1_ListIssuesResponse_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_contactcenterinsights_v1_ListIssuesResponse_descriptor, + new java.lang.String[] { "Issues", }); + internal_static_google_cloud_contactcenterinsights_v1_UpdateIssueRequest_descriptor = + getDescriptor().getMessageTypes().get(40); + internal_static_google_cloud_contactcenterinsights_v1_UpdateIssueRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_contactcenterinsights_v1_UpdateIssueRequest_descriptor, + new java.lang.String[] { "Issue", "UpdateMask", }); + internal_static_google_cloud_contactcenterinsights_v1_DeleteIssueRequest_descriptor = + getDescriptor().getMessageTypes().get(41); + internal_static_google_cloud_contactcenterinsights_v1_DeleteIssueRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_contactcenterinsights_v1_DeleteIssueRequest_descriptor, + new java.lang.String[] { "Name", }); + internal_static_google_cloud_contactcenterinsights_v1_CalculateIssueModelStatsRequest_descriptor = + getDescriptor().getMessageTypes().get(42); + internal_static_google_cloud_contactcenterinsights_v1_CalculateIssueModelStatsRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_contactcenterinsights_v1_CalculateIssueModelStatsRequest_descriptor, + new java.lang.String[] { "IssueModel", }); + internal_static_google_cloud_contactcenterinsights_v1_CalculateIssueModelStatsResponse_descriptor = + getDescriptor().getMessageTypes().get(43); + internal_static_google_cloud_contactcenterinsights_v1_CalculateIssueModelStatsResponse_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_contactcenterinsights_v1_CalculateIssueModelStatsResponse_descriptor, + new java.lang.String[] { "CurrentStats", }); + internal_static_google_cloud_contactcenterinsights_v1_CreatePhraseMatcherRequest_descriptor = + getDescriptor().getMessageTypes().get(44); + internal_static_google_cloud_contactcenterinsights_v1_CreatePhraseMatcherRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_contactcenterinsights_v1_CreatePhraseMatcherRequest_descriptor, + new java.lang.String[] { "Parent", "PhraseMatcher", }); + internal_static_google_cloud_contactcenterinsights_v1_ListPhraseMatchersRequest_descriptor = + getDescriptor().getMessageTypes().get(45); + internal_static_google_cloud_contactcenterinsights_v1_ListPhraseMatchersRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_contactcenterinsights_v1_ListPhraseMatchersRequest_descriptor, + new java.lang.String[] { "Parent", "PageSize", "PageToken", "Filter", }); + internal_static_google_cloud_contactcenterinsights_v1_ListPhraseMatchersResponse_descriptor = + getDescriptor().getMessageTypes().get(46); + internal_static_google_cloud_contactcenterinsights_v1_ListPhraseMatchersResponse_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_contactcenterinsights_v1_ListPhraseMatchersResponse_descriptor, + new java.lang.String[] { "PhraseMatchers", "NextPageToken", }); + internal_static_google_cloud_contactcenterinsights_v1_GetPhraseMatcherRequest_descriptor = + getDescriptor().getMessageTypes().get(47); + internal_static_google_cloud_contactcenterinsights_v1_GetPhraseMatcherRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_contactcenterinsights_v1_GetPhraseMatcherRequest_descriptor, + new java.lang.String[] { "Name", }); + internal_static_google_cloud_contactcenterinsights_v1_DeletePhraseMatcherRequest_descriptor = + getDescriptor().getMessageTypes().get(48); + internal_static_google_cloud_contactcenterinsights_v1_DeletePhraseMatcherRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_contactcenterinsights_v1_DeletePhraseMatcherRequest_descriptor, + new java.lang.String[] { "Name", }); + internal_static_google_cloud_contactcenterinsights_v1_UpdatePhraseMatcherRequest_descriptor = + getDescriptor().getMessageTypes().get(49); + internal_static_google_cloud_contactcenterinsights_v1_UpdatePhraseMatcherRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_contactcenterinsights_v1_UpdatePhraseMatcherRequest_descriptor, + new java.lang.String[] { "PhraseMatcher", "UpdateMask", }); + internal_static_google_cloud_contactcenterinsights_v1_GetSettingsRequest_descriptor = + getDescriptor().getMessageTypes().get(50); + internal_static_google_cloud_contactcenterinsights_v1_GetSettingsRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_contactcenterinsights_v1_GetSettingsRequest_descriptor, + new java.lang.String[] { "Name", }); + internal_static_google_cloud_contactcenterinsights_v1_UpdateSettingsRequest_descriptor = + getDescriptor().getMessageTypes().get(51); + internal_static_google_cloud_contactcenterinsights_v1_UpdateSettingsRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_contactcenterinsights_v1_UpdateSettingsRequest_descriptor, + new java.lang.String[] { "Settings", "UpdateMask", }); + internal_static_google_cloud_contactcenterinsights_v1_CreateViewRequest_descriptor = + getDescriptor().getMessageTypes().get(52); + internal_static_google_cloud_contactcenterinsights_v1_CreateViewRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_contactcenterinsights_v1_CreateViewRequest_descriptor, + new java.lang.String[] { "Parent", "View", }); + internal_static_google_cloud_contactcenterinsights_v1_GetViewRequest_descriptor = + getDescriptor().getMessageTypes().get(53); + internal_static_google_cloud_contactcenterinsights_v1_GetViewRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_contactcenterinsights_v1_GetViewRequest_descriptor, + new java.lang.String[] { "Name", }); + internal_static_google_cloud_contactcenterinsights_v1_ListViewsRequest_descriptor = + getDescriptor().getMessageTypes().get(54); + internal_static_google_cloud_contactcenterinsights_v1_ListViewsRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_contactcenterinsights_v1_ListViewsRequest_descriptor, + new java.lang.String[] { "Parent", "PageSize", "PageToken", }); + internal_static_google_cloud_contactcenterinsights_v1_ListViewsResponse_descriptor = + getDescriptor().getMessageTypes().get(55); + internal_static_google_cloud_contactcenterinsights_v1_ListViewsResponse_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_contactcenterinsights_v1_ListViewsResponse_descriptor, + new java.lang.String[] { "Views", "NextPageToken", }); + internal_static_google_cloud_contactcenterinsights_v1_UpdateViewRequest_descriptor = + getDescriptor().getMessageTypes().get(56); + internal_static_google_cloud_contactcenterinsights_v1_UpdateViewRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_contactcenterinsights_v1_UpdateViewRequest_descriptor, + new java.lang.String[] { "View", "UpdateMask", }); + internal_static_google_cloud_contactcenterinsights_v1_DeleteViewRequest_descriptor = + getDescriptor().getMessageTypes().get(57); + internal_static_google_cloud_contactcenterinsights_v1_DeleteViewRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_contactcenterinsights_v1_DeleteViewRequest_descriptor, + new java.lang.String[] { "Name", }); + com.google.protobuf.ExtensionRegistry registry = + com.google.protobuf.ExtensionRegistry.newInstance(); + registry.add(com.google.api.ClientProto.defaultHost); + registry.add(com.google.api.FieldBehaviorProto.fieldBehavior); + registry.add(com.google.api.AnnotationsProto.http); + registry.add(com.google.api.ClientProto.methodSignature); + registry.add(com.google.api.ClientProto.oauthScopes); + registry.add(com.google.api.ResourceProto.resourceReference); + registry.add(com.google.longrunning.OperationsProto.operationInfo); + com.google.protobuf.Descriptors.FileDescriptor + .internalUpdateFileDescriptor(descriptor, registry); + com.google.api.AnnotationsProto.getDescriptor(); + com.google.api.ClientProto.getDescriptor(); + com.google.api.FieldBehaviorProto.getDescriptor(); + com.google.api.ResourceProto.getDescriptor(); + com.google.cloud.contactcenterinsights.v1.ResourcesProto.getDescriptor(); + com.google.longrunning.OperationsProto.getDescriptor(); + com.google.protobuf.DurationProto.getDescriptor(); + com.google.protobuf.EmptyProto.getDescriptor(); + com.google.protobuf.FieldMaskProto.getDescriptor(); + com.google.protobuf.TimestampProto.getDescriptor(); + com.google.rpc.StatusProto.getDescriptor(); + } + + // @@protoc_insertion_point(outer_class_scope) +} diff --git a/java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/Conversation.java b/owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/Conversation.java similarity index 63% rename from java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/Conversation.java rename to owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/Conversation.java index bf66209677f9..b7ecc6c08702 100644 --- a/java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/Conversation.java +++ b/owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/Conversation.java @@ -1,42 +1,24 @@ -/* - * 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. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/contactcenterinsights/v1/resources.proto package com.google.cloud.contactcenterinsights.v1; /** - * - * *
  * The conversation resource.
  * 
* * Protobuf type {@code google.cloud.contactcenterinsights.v1.Conversation} */ -public final class Conversation extends com.google.protobuf.GeneratedMessageV3 - implements +public final class Conversation extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.contactcenterinsights.v1.Conversation) ConversationOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use Conversation.newBuilder() to construct. private Conversation(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private Conversation() { name_ = ""; languageCode_ = ""; @@ -48,56 +30,53 @@ private Conversation() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new Conversation(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.contactcenterinsights.v1.ResourcesProto - .internal_static_google_cloud_contactcenterinsights_v1_Conversation_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.contactcenterinsights.v1.ResourcesProto.internal_static_google_cloud_contactcenterinsights_v1_Conversation_descriptor; } @SuppressWarnings({"rawtypes"}) @java.lang.Override - protected com.google.protobuf.MapField internalGetMapField(int number) { + protected com.google.protobuf.MapField internalGetMapField( + int number) { switch (number) { case 6: return internalGetLabels(); case 18: return internalGetDialogflowIntents(); default: - throw new RuntimeException("Invalid map field number: " + number); + throw new RuntimeException( + "Invalid map field number: " + number); } } - @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.contactcenterinsights.v1.ResourcesProto - .internal_static_google_cloud_contactcenterinsights_v1_Conversation_fieldAccessorTable + return com.google.cloud.contactcenterinsights.v1.ResourcesProto.internal_static_google_cloud_contactcenterinsights_v1_Conversation_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.contactcenterinsights.v1.Conversation.class, - com.google.cloud.contactcenterinsights.v1.Conversation.Builder.class); + com.google.cloud.contactcenterinsights.v1.Conversation.class, com.google.cloud.contactcenterinsights.v1.Conversation.Builder.class); } /** - * - * *
    * Possible media for the conversation.
    * 
* * Protobuf enum {@code google.cloud.contactcenterinsights.v1.Conversation.Medium} */ - public enum Medium implements com.google.protobuf.ProtocolMessageEnum { + public enum Medium + implements com.google.protobuf.ProtocolMessageEnum { /** - * - * *
      * Default value, if unspecified will default to PHONE_CALL.
      * 
@@ -106,8 +85,6 @@ public enum Medium implements com.google.protobuf.ProtocolMessageEnum { */ MEDIUM_UNSPECIFIED(0), /** - * - * *
      * The format for conversations that took place over the phone.
      * 
@@ -116,8 +93,6 @@ public enum Medium implements com.google.protobuf.ProtocolMessageEnum { */ PHONE_CALL(1), /** - * - * *
      * The format for conversations that took place over chat.
      * 
@@ -129,8 +104,6 @@ public enum Medium implements com.google.protobuf.ProtocolMessageEnum { ; /** - * - * *
      * Default value, if unspecified will default to PHONE_CALL.
      * 
@@ -139,8 +112,6 @@ public enum Medium implements com.google.protobuf.ProtocolMessageEnum { */ public static final int MEDIUM_UNSPECIFIED_VALUE = 0; /** - * - * *
      * The format for conversations that took place over the phone.
      * 
@@ -149,8 +120,6 @@ public enum Medium implements com.google.protobuf.ProtocolMessageEnum { */ public static final int PHONE_CALL_VALUE = 1; /** - * - * *
      * The format for conversations that took place over chat.
      * 
@@ -159,6 +128,7 @@ public enum Medium implements com.google.protobuf.ProtocolMessageEnum { */ public static final int CHAT_VALUE = 2; + public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -183,51 +153,49 @@ public static Medium valueOf(int value) { */ public static Medium forNumber(int value) { switch (value) { - case 0: - return MEDIUM_UNSPECIFIED; - case 1: - return PHONE_CALL; - case 2: - return CHAT; - default: - return null; + case 0: return MEDIUM_UNSPECIFIED; + case 1: return PHONE_CALL; + case 2: return CHAT; + default: return null; } } - public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() { + public static com.google.protobuf.Internal.EnumLiteMap + internalGetValueMap() { return internalValueMap; } + private static final com.google.protobuf.Internal.EnumLiteMap< + Medium> internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public Medium findValueByNumber(int number) { + return Medium.forNumber(number); + } + }; - private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public Medium findValueByNumber(int number) { - return Medium.forNumber(number); - } - }; - - public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() { + public final com.google.protobuf.Descriptors.EnumValueDescriptor + getValueDescriptor() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalStateException( "Can't get the descriptor of an unrecognized enum value."); } return getDescriptor().getValues().get(ordinal()); } - - public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() { + public final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptorForType() { return getDescriptor(); } - - public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { - return com.google.cloud.contactcenterinsights.v1.Conversation.getDescriptor() - .getEnumTypes() - .get(0); + public static final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptor() { + return com.google.cloud.contactcenterinsights.v1.Conversation.getDescriptor().getEnumTypes().get(0); } private static final Medium[] VALUES = values(); - public static Medium valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + public static Medium valueOf( + com.google.protobuf.Descriptors.EnumValueDescriptor desc) { if (desc.getType() != getDescriptor()) { - throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type."); + throw new java.lang.IllegalArgumentException( + "EnumValueDescriptor is not for this type."); } if (desc.getIndex() == -1) { return UNRECOGNIZED; @@ -244,95 +212,82 @@ private Medium(int value) { // @@protoc_insertion_point(enum_scope:google.cloud.contactcenterinsights.v1.Conversation.Medium) } - public interface CallMetadataOrBuilder - extends + public interface CallMetadataOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.contactcenterinsights.v1.Conversation.CallMetadata) com.google.protobuf.MessageOrBuilder { /** - * - * *
      * The audio channel that contains the customer.
      * 
* * int32 customer_channel = 1; - * * @return The customerChannel. */ int getCustomerChannel(); /** - * - * *
      * The audio channel that contains the agent.
      * 
* * int32 agent_channel = 2; - * * @return The agentChannel. */ int getAgentChannel(); } /** - * - * *
    * Call-specific metadata.
    * 
* * Protobuf type {@code google.cloud.contactcenterinsights.v1.Conversation.CallMetadata} */ - public static final class CallMetadata extends com.google.protobuf.GeneratedMessageV3 - implements + public static final class CallMetadata extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.contactcenterinsights.v1.Conversation.CallMetadata) CallMetadataOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use CallMetadata.newBuilder() to construct. private CallMetadata(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - - private CallMetadata() {} + private CallMetadata() { + } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new CallMetadata(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.contactcenterinsights.v1.ResourcesProto - .internal_static_google_cloud_contactcenterinsights_v1_Conversation_CallMetadata_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.contactcenterinsights.v1.ResourcesProto.internal_static_google_cloud_contactcenterinsights_v1_Conversation_CallMetadata_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.contactcenterinsights.v1.ResourcesProto - .internal_static_google_cloud_contactcenterinsights_v1_Conversation_CallMetadata_fieldAccessorTable + return com.google.cloud.contactcenterinsights.v1.ResourcesProto.internal_static_google_cloud_contactcenterinsights_v1_Conversation_CallMetadata_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.contactcenterinsights.v1.Conversation.CallMetadata.class, - com.google.cloud.contactcenterinsights.v1.Conversation.CallMetadata.Builder.class); + com.google.cloud.contactcenterinsights.v1.Conversation.CallMetadata.class, com.google.cloud.contactcenterinsights.v1.Conversation.CallMetadata.Builder.class); } public static final int CUSTOMER_CHANNEL_FIELD_NUMBER = 1; private int customerChannel_ = 0; /** - * - * *
      * The audio channel that contains the customer.
      * 
* * int32 customer_channel = 1; - * * @return The customerChannel. */ @java.lang.Override @@ -343,14 +298,11 @@ public int getCustomerChannel() { public static final int AGENT_CHANNEL_FIELD_NUMBER = 2; private int agentChannel_ = 0; /** - * - * *
      * The audio channel that contains the agent.
      * 
* * int32 agent_channel = 2; - * * @return The agentChannel. */ @java.lang.Override @@ -359,7 +311,6 @@ public int getAgentChannel() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -371,7 +322,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (customerChannel_ != 0) { output.writeInt32(1, customerChannel_); } @@ -388,10 +340,12 @@ public int getSerializedSize() { size = 0; if (customerChannel_ != 0) { - size += com.google.protobuf.CodedOutputStream.computeInt32Size(1, customerChannel_); + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(1, customerChannel_); } if (agentChannel_ != 0) { - size += com.google.protobuf.CodedOutputStream.computeInt32Size(2, agentChannel_); + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(2, agentChannel_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -401,16 +355,17 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.contactcenterinsights.v1.Conversation.CallMetadata)) { return super.equals(obj); } - com.google.cloud.contactcenterinsights.v1.Conversation.CallMetadata other = - (com.google.cloud.contactcenterinsights.v1.Conversation.CallMetadata) obj; + com.google.cloud.contactcenterinsights.v1.Conversation.CallMetadata other = (com.google.cloud.contactcenterinsights.v1.Conversation.CallMetadata) obj; - if (getCustomerChannel() != other.getCustomerChannel()) return false; - if (getAgentChannel() != other.getAgentChannel()) return false; + if (getCustomerChannel() + != other.getCustomerChannel()) return false; + if (getAgentChannel() + != other.getAgentChannel()) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -432,95 +387,87 @@ public int hashCode() { } public static com.google.cloud.contactcenterinsights.v1.Conversation.CallMetadata parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.contactcenterinsights.v1.Conversation.CallMetadata parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.contactcenterinsights.v1.Conversation.CallMetadata parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.contactcenterinsights.v1.Conversation.CallMetadata parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.contactcenterinsights.v1.Conversation.CallMetadata parseFrom( - byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.contactcenterinsights.v1.Conversation.CallMetadata parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.contactcenterinsights.v1.Conversation.CallMetadata parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.contactcenterinsights.v1.Conversation.CallMetadata parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.contactcenterinsights.v1.Conversation.CallMetadata parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.contactcenterinsights.v1.Conversation.CallMetadata parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.contactcenterinsights.v1.Conversation.CallMetadata - parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.contactcenterinsights.v1.Conversation.CallMetadata parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - - public static com.google.cloud.contactcenterinsights.v1.Conversation.CallMetadata - parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + public static com.google.cloud.contactcenterinsights.v1.Conversation.CallMetadata parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.contactcenterinsights.v1.Conversation.CallMetadata parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.contactcenterinsights.v1.Conversation.CallMetadata parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.contactcenterinsights.v1.Conversation.CallMetadata prototype) { + public static Builder newBuilder(com.google.cloud.contactcenterinsights.v1.Conversation.CallMetadata prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -530,42 +477,39 @@ protected Builder newBuilderForType( return builder; } /** - * - * *
      * Call-specific metadata.
      * 
* * Protobuf type {@code google.cloud.contactcenterinsights.v1.Conversation.CallMetadata} */ - public static final class Builder - extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.contactcenterinsights.v1.Conversation.CallMetadata) com.google.cloud.contactcenterinsights.v1.Conversation.CallMetadataOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.contactcenterinsights.v1.ResourcesProto - .internal_static_google_cloud_contactcenterinsights_v1_Conversation_CallMetadata_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.contactcenterinsights.v1.ResourcesProto.internal_static_google_cloud_contactcenterinsights_v1_Conversation_CallMetadata_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.contactcenterinsights.v1.ResourcesProto - .internal_static_google_cloud_contactcenterinsights_v1_Conversation_CallMetadata_fieldAccessorTable + return com.google.cloud.contactcenterinsights.v1.ResourcesProto.internal_static_google_cloud_contactcenterinsights_v1_Conversation_CallMetadata_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.contactcenterinsights.v1.Conversation.CallMetadata.class, - com.google.cloud.contactcenterinsights.v1.Conversation.CallMetadata.Builder.class); + com.google.cloud.contactcenterinsights.v1.Conversation.CallMetadata.class, com.google.cloud.contactcenterinsights.v1.Conversation.CallMetadata.Builder.class); } - // Construct using - // com.google.cloud.contactcenterinsights.v1.Conversation.CallMetadata.newBuilder() - private Builder() {} + // Construct using com.google.cloud.contactcenterinsights.v1.Conversation.CallMetadata.newBuilder() + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -576,16 +520,14 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.contactcenterinsights.v1.ResourcesProto - .internal_static_google_cloud_contactcenterinsights_v1_Conversation_CallMetadata_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.contactcenterinsights.v1.ResourcesProto.internal_static_google_cloud_contactcenterinsights_v1_Conversation_CallMetadata_descriptor; } @java.lang.Override - public com.google.cloud.contactcenterinsights.v1.Conversation.CallMetadata - getDefaultInstanceForType() { - return com.google.cloud.contactcenterinsights.v1.Conversation.CallMetadata - .getDefaultInstance(); + public com.google.cloud.contactcenterinsights.v1.Conversation.CallMetadata getDefaultInstanceForType() { + return com.google.cloud.contactcenterinsights.v1.Conversation.CallMetadata.getDefaultInstance(); } @java.lang.Override @@ -599,17 +541,13 @@ public com.google.cloud.contactcenterinsights.v1.Conversation.CallMetadata build @java.lang.Override public com.google.cloud.contactcenterinsights.v1.Conversation.CallMetadata buildPartial() { - com.google.cloud.contactcenterinsights.v1.Conversation.CallMetadata result = - new com.google.cloud.contactcenterinsights.v1.Conversation.CallMetadata(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + com.google.cloud.contactcenterinsights.v1.Conversation.CallMetadata result = new com.google.cloud.contactcenterinsights.v1.Conversation.CallMetadata(this); + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } - private void buildPartial0( - com.google.cloud.contactcenterinsights.v1.Conversation.CallMetadata result) { + private void buildPartial0(com.google.cloud.contactcenterinsights.v1.Conversation.CallMetadata result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { result.customerChannel_ = customerChannel_; @@ -623,53 +561,46 @@ private void buildPartial0( public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, - int index, - java.lang.Object value) { + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.contactcenterinsights.v1.Conversation.CallMetadata) { - return mergeFrom( - (com.google.cloud.contactcenterinsights.v1.Conversation.CallMetadata) other); + return mergeFrom((com.google.cloud.contactcenterinsights.v1.Conversation.CallMetadata)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom( - com.google.cloud.contactcenterinsights.v1.Conversation.CallMetadata other) { - if (other - == com.google.cloud.contactcenterinsights.v1.Conversation.CallMetadata - .getDefaultInstance()) return this; + public Builder mergeFrom(com.google.cloud.contactcenterinsights.v1.Conversation.CallMetadata other) { + if (other == com.google.cloud.contactcenterinsights.v1.Conversation.CallMetadata.getDefaultInstance()) return this; if (other.getCustomerChannel() != 0) { setCustomerChannel(other.getCustomerChannel()); } @@ -702,25 +633,22 @@ public Builder mergeFrom( case 0: done = true; break; - case 8: - { - customerChannel_ = input.readInt32(); - bitField0_ |= 0x00000001; - break; - } // case 8 - case 16: - { - agentChannel_ = input.readInt32(); - bitField0_ |= 0x00000002; - break; - } // case 16 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 8: { + customerChannel_ = input.readInt32(); + bitField0_ |= 0x00000001; + break; + } // case 8 + case 16: { + agentChannel_ = input.readInt32(); + bitField0_ |= 0x00000002; + break; + } // case 16 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -730,19 +658,15 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; - private int customerChannel_; + private int customerChannel_ ; /** - * - * *
        * The audio channel that contains the customer.
        * 
* * int32 customer_channel = 1; - * * @return The customerChannel. */ @java.lang.Override @@ -750,33 +674,27 @@ public int getCustomerChannel() { return customerChannel_; } /** - * - * *
        * The audio channel that contains the customer.
        * 
* * int32 customer_channel = 1; - * * @param value The customerChannel to set. * @return This builder for chaining. */ public Builder setCustomerChannel(int value) { - + customerChannel_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
        * The audio channel that contains the customer.
        * 
* * int32 customer_channel = 1; - * * @return This builder for chaining. */ public Builder clearCustomerChannel() { @@ -786,16 +704,13 @@ public Builder clearCustomerChannel() { return this; } - private int agentChannel_; + private int agentChannel_ ; /** - * - * *
        * The audio channel that contains the agent.
        * 
* * int32 agent_channel = 2; - * * @return The agentChannel. */ @java.lang.Override @@ -803,33 +718,27 @@ public int getAgentChannel() { return agentChannel_; } /** - * - * *
        * The audio channel that contains the agent.
        * 
* * int32 agent_channel = 2; - * * @param value The agentChannel to set. * @return This builder for chaining. */ public Builder setAgentChannel(int value) { - + agentChannel_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** - * - * *
        * The audio channel that contains the agent.
        * 
* * int32 agent_channel = 2; - * * @return This builder for chaining. */ public Builder clearAgentChannel() { @@ -838,7 +747,6 @@ public Builder clearAgentChannel() { onChanged(); return this; } - @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -851,44 +759,41 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.contactcenterinsights.v1.Conversation.CallMetadata) } // @@protoc_insertion_point(class_scope:google.cloud.contactcenterinsights.v1.Conversation.CallMetadata) - private static final com.google.cloud.contactcenterinsights.v1.Conversation.CallMetadata - DEFAULT_INSTANCE; - + private static final com.google.cloud.contactcenterinsights.v1.Conversation.CallMetadata DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.cloud.contactcenterinsights.v1.Conversation.CallMetadata(); } - public static com.google.cloud.contactcenterinsights.v1.Conversation.CallMetadata - getDefaultInstance() { + public static com.google.cloud.contactcenterinsights.v1.Conversation.CallMetadata getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public CallMetadata parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException() - .setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public CallMetadata parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -900,167 +805,128 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.cloud.contactcenterinsights.v1.Conversation.CallMetadata - getDefaultInstanceForType() { + public com.google.cloud.contactcenterinsights.v1.Conversation.CallMetadata getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } - public interface TranscriptOrBuilder - extends + public interface TranscriptOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.contactcenterinsights.v1.Conversation.Transcript) com.google.protobuf.MessageOrBuilder { /** - * - * *
      * A list of sequential transcript segments that comprise the conversation.
      * 
* - * - * repeated .google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment transcript_segments = 1; - * + * repeated .google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment transcript_segments = 1; */ - java.util.List< - com.google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment> + java.util.List getTranscriptSegmentsList(); /** - * - * *
      * A list of sequential transcript segments that comprise the conversation.
      * 
* - * - * repeated .google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment transcript_segments = 1; - * + * repeated .google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment transcript_segments = 1; */ - com.google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment - getTranscriptSegments(int index); + com.google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment getTranscriptSegments(int index); /** - * - * *
      * A list of sequential transcript segments that comprise the conversation.
      * 
* - * - * repeated .google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment transcript_segments = 1; - * + * repeated .google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment transcript_segments = 1; */ int getTranscriptSegmentsCount(); /** - * - * *
      * A list of sequential transcript segments that comprise the conversation.
      * 
* - * - * repeated .google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment transcript_segments = 1; - * + * repeated .google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment transcript_segments = 1; */ - java.util.List< - ? extends - com.google.cloud.contactcenterinsights.v1.Conversation.Transcript - .TranscriptSegmentOrBuilder> + java.util.List getTranscriptSegmentsOrBuilderList(); /** - * - * *
      * A list of sequential transcript segments that comprise the conversation.
      * 
* - * - * repeated .google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment transcript_segments = 1; - * + * repeated .google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment transcript_segments = 1; */ - com.google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegmentOrBuilder - getTranscriptSegmentsOrBuilder(int index); + com.google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegmentOrBuilder getTranscriptSegmentsOrBuilder( + int index); } /** - * - * *
    * A message representing the transcript of a conversation.
    * 
* * Protobuf type {@code google.cloud.contactcenterinsights.v1.Conversation.Transcript} */ - public static final class Transcript extends com.google.protobuf.GeneratedMessageV3 - implements + public static final class Transcript extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.contactcenterinsights.v1.Conversation.Transcript) TranscriptOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use Transcript.newBuilder() to construct. private Transcript(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private Transcript() { transcriptSegments_ = java.util.Collections.emptyList(); } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new Transcript(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.contactcenterinsights.v1.ResourcesProto - .internal_static_google_cloud_contactcenterinsights_v1_Conversation_Transcript_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.contactcenterinsights.v1.ResourcesProto.internal_static_google_cloud_contactcenterinsights_v1_Conversation_Transcript_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.contactcenterinsights.v1.ResourcesProto - .internal_static_google_cloud_contactcenterinsights_v1_Conversation_Transcript_fieldAccessorTable + return com.google.cloud.contactcenterinsights.v1.ResourcesProto.internal_static_google_cloud_contactcenterinsights_v1_Conversation_Transcript_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.contactcenterinsights.v1.Conversation.Transcript.class, - com.google.cloud.contactcenterinsights.v1.Conversation.Transcript.Builder.class); + com.google.cloud.contactcenterinsights.v1.Conversation.Transcript.class, com.google.cloud.contactcenterinsights.v1.Conversation.Transcript.Builder.class); } - public interface TranscriptSegmentOrBuilder - extends + public interface TranscriptSegmentOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment) com.google.protobuf.MessageOrBuilder { /** - * - * *
        * The time that the message occurred, if provided.
        * 
* * .google.protobuf.Timestamp message_time = 6; - * * @return Whether the messageTime field is set. */ boolean hasMessageTime(); /** - * - * *
        * The time that the message occurred, if provided.
        * 
* * .google.protobuf.Timestamp message_time = 6; - * * @return The messageTime. */ com.google.protobuf.Timestamp getMessageTime(); /** - * - * *
        * The time that the message occurred, if provided.
        * 
@@ -1070,118 +936,81 @@ public interface TranscriptSegmentOrBuilder com.google.protobuf.TimestampOrBuilder getMessageTimeOrBuilder(); /** - * - * *
        * The text of this segment.
        * 
* * string text = 1; - * * @return The text. */ java.lang.String getText(); /** - * - * *
        * The text of this segment.
        * 
* * string text = 1; - * * @return The bytes for text. */ - com.google.protobuf.ByteString getTextBytes(); + com.google.protobuf.ByteString + getTextBytes(); /** - * - * *
        * A confidence estimate between 0.0 and 1.0 of the fidelity of this
        * segment. A default value of 0.0 indicates that the value is unset.
        * 
* * float confidence = 2; - * * @return The confidence. */ float getConfidence(); /** - * - * *
        * A list of the word-specific information for each word in the segment.
        * 
* - * - * repeated .google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment.WordInfo words = 3; - * + * repeated .google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment.WordInfo words = 3; */ - java.util.List< - com.google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment - .WordInfo> + java.util.List getWordsList(); /** - * - * *
        * A list of the word-specific information for each word in the segment.
        * 
* - * - * repeated .google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment.WordInfo words = 3; - * + * repeated .google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment.WordInfo words = 3; */ - com.google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment.WordInfo - getWords(int index); + com.google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment.WordInfo getWords(int index); /** - * - * *
        * A list of the word-specific information for each word in the segment.
        * 
* - * - * repeated .google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment.WordInfo words = 3; - * + * repeated .google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment.WordInfo words = 3; */ int getWordsCount(); /** - * - * *
        * A list of the word-specific information for each word in the segment.
        * 
* - * - * repeated .google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment.WordInfo words = 3; - * + * repeated .google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment.WordInfo words = 3; */ - java.util.List< - ? extends - com.google.cloud.contactcenterinsights.v1.Conversation.Transcript - .TranscriptSegment.WordInfoOrBuilder> + java.util.List getWordsOrBuilderList(); /** - * - * *
        * A list of the word-specific information for each word in the segment.
        * 
* - * - * repeated .google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment.WordInfo words = 3; - * + * repeated .google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment.WordInfo words = 3; */ - com.google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment - .WordInfoOrBuilder - getWordsOrBuilder(int index); + com.google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment.WordInfoOrBuilder getWordsOrBuilder( + int index); /** - * - * *
        * The language code of this segment as a
        * [BCP-47](https://www.rfc-editor.org/rfc/bcp/bcp47.txt) language tag.
@@ -1189,13 +1018,10 @@ public interface TranscriptSegmentOrBuilder
        * 
* * string language_code = 4; - * * @return The languageCode. */ java.lang.String getLanguageCode(); /** - * - * *
        * The language code of this segment as a
        * [BCP-47](https://www.rfc-editor.org/rfc/bcp/bcp47.txt) language tag.
@@ -1203,14 +1029,12 @@ public interface TranscriptSegmentOrBuilder
        * 
* * string language_code = 4; - * * @return The bytes for languageCode. */ - com.google.protobuf.ByteString getLanguageCodeBytes(); + com.google.protobuf.ByteString + getLanguageCodeBytes(); /** - * - * *
        * For conversations derived from multi-channel audio, this is the channel
        * number corresponding to the audio from that channel. For
@@ -1219,125 +1043,83 @@ public interface TranscriptSegmentOrBuilder
        * 
* * int32 channel_tag = 5; - * * @return The channelTag. */ int getChannelTag(); /** - * - * *
        * The participant of this segment.
        * 
* - * - * .google.cloud.contactcenterinsights.v1.ConversationParticipant segment_participant = 9; - * - * + * .google.cloud.contactcenterinsights.v1.ConversationParticipant segment_participant = 9; * @return Whether the segmentParticipant field is set. */ boolean hasSegmentParticipant(); /** - * - * *
        * The participant of this segment.
        * 
* - * - * .google.cloud.contactcenterinsights.v1.ConversationParticipant segment_participant = 9; - * - * + * .google.cloud.contactcenterinsights.v1.ConversationParticipant segment_participant = 9; * @return The segmentParticipant. */ com.google.cloud.contactcenterinsights.v1.ConversationParticipant getSegmentParticipant(); /** - * - * *
        * The participant of this segment.
        * 
* - * - * .google.cloud.contactcenterinsights.v1.ConversationParticipant segment_participant = 9; - * + * .google.cloud.contactcenterinsights.v1.ConversationParticipant segment_participant = 9; */ - com.google.cloud.contactcenterinsights.v1.ConversationParticipantOrBuilder - getSegmentParticipantOrBuilder(); + com.google.cloud.contactcenterinsights.v1.ConversationParticipantOrBuilder getSegmentParticipantOrBuilder(); /** - * - * *
        * CCAI metadata relating to the current transcript segment.
        * 
* - * - * .google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment.DialogflowSegmentMetadata dialogflow_segment_metadata = 10; - * - * + * .google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment.DialogflowSegmentMetadata dialogflow_segment_metadata = 10; * @return Whether the dialogflowSegmentMetadata field is set. */ boolean hasDialogflowSegmentMetadata(); /** - * - * *
        * CCAI metadata relating to the current transcript segment.
        * 
* - * - * .google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment.DialogflowSegmentMetadata dialogflow_segment_metadata = 10; - * - * + * .google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment.DialogflowSegmentMetadata dialogflow_segment_metadata = 10; * @return The dialogflowSegmentMetadata. */ - com.google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment - .DialogflowSegmentMetadata - getDialogflowSegmentMetadata(); + com.google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment.DialogflowSegmentMetadata getDialogflowSegmentMetadata(); /** - * - * *
        * CCAI metadata relating to the current transcript segment.
        * 
* - * - * .google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment.DialogflowSegmentMetadata dialogflow_segment_metadata = 10; - * + * .google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment.DialogflowSegmentMetadata dialogflow_segment_metadata = 10; */ - com.google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment - .DialogflowSegmentMetadataOrBuilder - getDialogflowSegmentMetadataOrBuilder(); + com.google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment.DialogflowSegmentMetadataOrBuilder getDialogflowSegmentMetadataOrBuilder(); /** - * - * *
        * The sentiment for this transcript segment.
        * 
* * .google.cloud.contactcenterinsights.v1.SentimentData sentiment = 11; - * * @return Whether the sentiment field is set. */ boolean hasSentiment(); /** - * - * *
        * The sentiment for this transcript segment.
        * 
* * .google.cloud.contactcenterinsights.v1.SentimentData sentiment = 11; - * * @return The sentiment. */ com.google.cloud.contactcenterinsights.v1.SentimentData getSentiment(); /** - * - * *
        * The sentiment for this transcript segment.
        * 
@@ -1347,25 +1129,21 @@ public interface TranscriptSegmentOrBuilder com.google.cloud.contactcenterinsights.v1.SentimentDataOrBuilder getSentimentOrBuilder(); } /** - * - * *
      * A segment of a full transcript.
      * 
* - * Protobuf type {@code - * google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment} + * Protobuf type {@code google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment} */ - public static final class TranscriptSegment extends com.google.protobuf.GeneratedMessageV3 - implements + public static final class TranscriptSegment extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment) TranscriptSegmentOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use TranscriptSegment.newBuilder() to construct. private TranscriptSegment(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private TranscriptSegment() { text_ = ""; words_ = java.util.Collections.emptyList(); @@ -1374,66 +1152,54 @@ private TranscriptSegment() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new TranscriptSegment(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.contactcenterinsights.v1.ResourcesProto - .internal_static_google_cloud_contactcenterinsights_v1_Conversation_Transcript_TranscriptSegment_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.contactcenterinsights.v1.ResourcesProto.internal_static_google_cloud_contactcenterinsights_v1_Conversation_Transcript_TranscriptSegment_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.contactcenterinsights.v1.ResourcesProto - .internal_static_google_cloud_contactcenterinsights_v1_Conversation_Transcript_TranscriptSegment_fieldAccessorTable + return com.google.cloud.contactcenterinsights.v1.ResourcesProto.internal_static_google_cloud_contactcenterinsights_v1_Conversation_Transcript_TranscriptSegment_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment - .class, - com.google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment - .Builder.class); + com.google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment.class, com.google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment.Builder.class); } - public interface WordInfoOrBuilder - extends + public interface WordInfoOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment.WordInfo) com.google.protobuf.MessageOrBuilder { /** - * - * *
          * Time offset of the start of this word relative to the beginning of
          * the total conversation.
          * 
* * .google.protobuf.Duration start_offset = 1; - * * @return Whether the startOffset field is set. */ boolean hasStartOffset(); /** - * - * *
          * Time offset of the start of this word relative to the beginning of
          * the total conversation.
          * 
* * .google.protobuf.Duration start_offset = 1; - * * @return The startOffset. */ com.google.protobuf.Duration getStartOffset(); /** - * - * *
          * Time offset of the start of this word relative to the beginning of
          * the total conversation.
@@ -1444,34 +1210,26 @@ public interface WordInfoOrBuilder
         com.google.protobuf.DurationOrBuilder getStartOffsetOrBuilder();
 
         /**
-         *
-         *
          * 
          * Time offset of the end of this word relative to the beginning of the
          * total conversation.
          * 
* * .google.protobuf.Duration end_offset = 2; - * * @return Whether the endOffset field is set. */ boolean hasEndOffset(); /** - * - * *
          * Time offset of the end of this word relative to the beginning of the
          * total conversation.
          * 
* * .google.protobuf.Duration end_offset = 2; - * * @return The endOffset. */ com.google.protobuf.Duration getEndOffset(); /** - * - * *
          * Time offset of the end of this word relative to the beginning of the
          * total conversation.
@@ -1482,108 +1240,90 @@ public interface WordInfoOrBuilder
         com.google.protobuf.DurationOrBuilder getEndOffsetOrBuilder();
 
         /**
-         *
-         *
          * 
          * The word itself. Includes punctuation marks that surround the word.
          * 
* * string word = 3; - * * @return The word. */ java.lang.String getWord(); /** - * - * *
          * The word itself. Includes punctuation marks that surround the word.
          * 
* * string word = 3; - * * @return The bytes for word. */ - com.google.protobuf.ByteString getWordBytes(); + com.google.protobuf.ByteString + getWordBytes(); /** - * - * *
          * A confidence estimate between 0.0 and 1.0 of the fidelity of this
          * word. A default value of 0.0 indicates that the value is unset.
          * 
* * float confidence = 4; - * * @return The confidence. */ float getConfidence(); } /** - * - * *
        * Word-level info for words in a transcript.
        * 
* - * Protobuf type {@code - * google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment.WordInfo} + * Protobuf type {@code google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment.WordInfo} */ - public static final class WordInfo extends com.google.protobuf.GeneratedMessageV3 - implements + public static final class WordInfo extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment.WordInfo) WordInfoOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use WordInfo.newBuilder() to construct. private WordInfo(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private WordInfo() { word_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new WordInfo(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.contactcenterinsights.v1.ResourcesProto - .internal_static_google_cloud_contactcenterinsights_v1_Conversation_Transcript_TranscriptSegment_WordInfo_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.contactcenterinsights.v1.ResourcesProto.internal_static_google_cloud_contactcenterinsights_v1_Conversation_Transcript_TranscriptSegment_WordInfo_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.contactcenterinsights.v1.ResourcesProto - .internal_static_google_cloud_contactcenterinsights_v1_Conversation_Transcript_TranscriptSegment_WordInfo_fieldAccessorTable + return com.google.cloud.contactcenterinsights.v1.ResourcesProto.internal_static_google_cloud_contactcenterinsights_v1_Conversation_Transcript_TranscriptSegment_WordInfo_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.contactcenterinsights.v1.Conversation.Transcript - .TranscriptSegment.WordInfo.class, - com.google.cloud.contactcenterinsights.v1.Conversation.Transcript - .TranscriptSegment.WordInfo.Builder.class); + com.google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment.WordInfo.class, com.google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment.WordInfo.Builder.class); } public static final int START_OFFSET_FIELD_NUMBER = 1; private com.google.protobuf.Duration startOffset_; /** - * - * *
          * Time offset of the start of this word relative to the beginning of
          * the total conversation.
          * 
* * .google.protobuf.Duration start_offset = 1; - * * @return Whether the startOffset field is set. */ @java.lang.Override @@ -1591,26 +1331,19 @@ public boolean hasStartOffset() { return startOffset_ != null; } /** - * - * *
          * Time offset of the start of this word relative to the beginning of
          * the total conversation.
          * 
* * .google.protobuf.Duration start_offset = 1; - * * @return The startOffset. */ @java.lang.Override public com.google.protobuf.Duration getStartOffset() { - return startOffset_ == null - ? com.google.protobuf.Duration.getDefaultInstance() - : startOffset_; + return startOffset_ == null ? com.google.protobuf.Duration.getDefaultInstance() : startOffset_; } /** - * - * *
          * Time offset of the start of this word relative to the beginning of
          * the total conversation.
@@ -1620,23 +1353,18 @@ public com.google.protobuf.Duration getStartOffset() {
          */
         @java.lang.Override
         public com.google.protobuf.DurationOrBuilder getStartOffsetOrBuilder() {
-          return startOffset_ == null
-              ? com.google.protobuf.Duration.getDefaultInstance()
-              : startOffset_;
+          return startOffset_ == null ? com.google.protobuf.Duration.getDefaultInstance() : startOffset_;
         }
 
         public static final int END_OFFSET_FIELD_NUMBER = 2;
         private com.google.protobuf.Duration endOffset_;
         /**
-         *
-         *
          * 
          * Time offset of the end of this word relative to the beginning of the
          * total conversation.
          * 
* * .google.protobuf.Duration end_offset = 2; - * * @return Whether the endOffset field is set. */ @java.lang.Override @@ -1644,26 +1372,19 @@ public boolean hasEndOffset() { return endOffset_ != null; } /** - * - * *
          * Time offset of the end of this word relative to the beginning of the
          * total conversation.
          * 
* * .google.protobuf.Duration end_offset = 2; - * * @return The endOffset. */ @java.lang.Override public com.google.protobuf.Duration getEndOffset() { - return endOffset_ == null - ? com.google.protobuf.Duration.getDefaultInstance() - : endOffset_; + return endOffset_ == null ? com.google.protobuf.Duration.getDefaultInstance() : endOffset_; } /** - * - * *
          * Time offset of the end of this word relative to the beginning of the
          * total conversation.
@@ -1673,24 +1394,18 @@ public com.google.protobuf.Duration getEndOffset() {
          */
         @java.lang.Override
         public com.google.protobuf.DurationOrBuilder getEndOffsetOrBuilder() {
-          return endOffset_ == null
-              ? com.google.protobuf.Duration.getDefaultInstance()
-              : endOffset_;
+          return endOffset_ == null ? com.google.protobuf.Duration.getDefaultInstance() : endOffset_;
         }
 
         public static final int WORD_FIELD_NUMBER = 3;
-
         @SuppressWarnings("serial")
         private volatile java.lang.Object word_ = "";
         /**
-         *
-         *
          * 
          * The word itself. Includes punctuation marks that surround the word.
          * 
* * string word = 3; - * * @return The word. */ @java.lang.Override @@ -1699,29 +1414,29 @@ public java.lang.String getWord() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); word_ = s; return s; } } /** - * - * *
          * The word itself. Includes punctuation marks that surround the word.
          * 
* * string word = 3; - * * @return The bytes for word. */ @java.lang.Override - public com.google.protobuf.ByteString getWordBytes() { + public com.google.protobuf.ByteString + getWordBytes() { java.lang.Object ref = word_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); word_ = b; return b; } else { @@ -1732,15 +1447,12 @@ public com.google.protobuf.ByteString getWordBytes() { public static final int CONFIDENCE_FIELD_NUMBER = 4; private float confidence_ = 0F; /** - * - * *
          * A confidence estimate between 0.0 and 1.0 of the fidelity of this
          * word. A default value of 0.0 indicates that the value is unset.
          * 
* * float confidence = 4; - * * @return The confidence. */ @java.lang.Override @@ -1749,7 +1461,6 @@ public float getConfidence() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -1762,7 +1473,7 @@ public final boolean isInitialized() { @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + throws java.io.IOException { if (startOffset_ != null) { output.writeMessage(1, getStartOffset()); } @@ -1785,16 +1496,19 @@ public int getSerializedSize() { size = 0; if (startOffset_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getStartOffset()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, getStartOffset()); } if (endOffset_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getEndOffset()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, getEndOffset()); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(word_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, word_); } if (java.lang.Float.floatToRawIntBits(confidence_) != 0) { - size += com.google.protobuf.CodedOutputStream.computeFloatSize(4, confidence_); + size += com.google.protobuf.CodedOutputStream + .computeFloatSize(4, confidence_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -1804,32 +1518,28 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } - if (!(obj - instanceof - com.google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment - .WordInfo)) { + if (!(obj instanceof com.google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment.WordInfo)) { return super.equals(obj); } - com.google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment - .WordInfo - other = - (com.google.cloud.contactcenterinsights.v1.Conversation.Transcript - .TranscriptSegment.WordInfo) - obj; + com.google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment.WordInfo other = (com.google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment.WordInfo) obj; if (hasStartOffset() != other.hasStartOffset()) return false; if (hasStartOffset()) { - if (!getStartOffset().equals(other.getStartOffset())) return false; + if (!getStartOffset() + .equals(other.getStartOffset())) return false; } if (hasEndOffset() != other.hasEndOffset()) return false; if (hasEndOffset()) { - if (!getEndOffset().equals(other.getEndOffset())) return false; + if (!getEndOffset() + .equals(other.getEndOffset())) return false; } - if (!getWord().equals(other.getWord())) return false; + if (!getWord() + .equals(other.getWord())) return false; if (java.lang.Float.floatToIntBits(getConfidence()) - != java.lang.Float.floatToIntBits(other.getConfidence())) return false; + != java.lang.Float.floatToIntBits( + other.getConfidence())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -1852,125 +1562,95 @@ public int hashCode() { hash = (37 * hash) + WORD_FIELD_NUMBER; hash = (53 * hash) + getWord().hashCode(); hash = (37 * hash) + CONFIDENCE_FIELD_NUMBER; - hash = (53 * hash) + java.lang.Float.floatToIntBits(getConfidence()); + hash = (53 * hash) + java.lang.Float.floatToIntBits( + getConfidence()); hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } - public static com.google.cloud.contactcenterinsights.v1.Conversation.Transcript - .TranscriptSegment.WordInfo - parseFrom(java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment.WordInfo parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - - public static com.google.cloud.contactcenterinsights.v1.Conversation.Transcript - .TranscriptSegment.WordInfo - parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment.WordInfo parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.contactcenterinsights.v1.Conversation.Transcript - .TranscriptSegment.WordInfo - parseFrom(com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment.WordInfo parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - - public static com.google.cloud.contactcenterinsights.v1.Conversation.Transcript - .TranscriptSegment.WordInfo - parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment.WordInfo parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.contactcenterinsights.v1.Conversation.Transcript - .TranscriptSegment.WordInfo - parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment.WordInfo parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - - public static com.google.cloud.contactcenterinsights.v1.Conversation.Transcript - .TranscriptSegment.WordInfo - parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment.WordInfo parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.contactcenterinsights.v1.Conversation.Transcript - .TranscriptSegment.WordInfo - parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment.WordInfo parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - - public static com.google.cloud.contactcenterinsights.v1.Conversation.Transcript - .TranscriptSegment.WordInfo - parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + public static com.google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment.WordInfo parseFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.contactcenterinsights.v1.Conversation.Transcript - .TranscriptSegment.WordInfo - parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input); + public static com.google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment.WordInfo parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - - public static com.google.cloud.contactcenterinsights.v1.Conversation.Transcript - .TranscriptSegment.WordInfo - parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + public static com.google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment.WordInfo parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.contactcenterinsights.v1.Conversation.Transcript - .TranscriptSegment.WordInfo - parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment.WordInfo parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - - public static com.google.cloud.contactcenterinsights.v1.Conversation.Transcript - .TranscriptSegment.WordInfo - parseFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + public static com.google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment.WordInfo parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment - .WordInfo - prototype) { + public static Builder newBuilder(com.google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment.WordInfo prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -1980,46 +1660,39 @@ protected Builder newBuilderForType( return builder; } /** - * - * *
          * Word-level info for words in a transcript.
          * 
* - * Protobuf type {@code - * google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment.WordInfo} + * Protobuf type {@code google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment.WordInfo} */ - public static final class Builder - extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment.WordInfo) - com.google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment - .WordInfoOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.contactcenterinsights.v1.ResourcesProto - .internal_static_google_cloud_contactcenterinsights_v1_Conversation_Transcript_TranscriptSegment_WordInfo_descriptor; + com.google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment.WordInfoOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.contactcenterinsights.v1.ResourcesProto.internal_static_google_cloud_contactcenterinsights_v1_Conversation_Transcript_TranscriptSegment_WordInfo_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.contactcenterinsights.v1.ResourcesProto - .internal_static_google_cloud_contactcenterinsights_v1_Conversation_Transcript_TranscriptSegment_WordInfo_fieldAccessorTable + return com.google.cloud.contactcenterinsights.v1.ResourcesProto.internal_static_google_cloud_contactcenterinsights_v1_Conversation_Transcript_TranscriptSegment_WordInfo_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.contactcenterinsights.v1.Conversation.Transcript - .TranscriptSegment.WordInfo.class, - com.google.cloud.contactcenterinsights.v1.Conversation.Transcript - .TranscriptSegment.WordInfo.Builder.class); + com.google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment.WordInfo.class, com.google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment.WordInfo.Builder.class); } - // Construct using - // com.google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment.WordInfo.newBuilder() - private Builder() {} + // Construct using com.google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment.WordInfo.newBuilder() + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -2040,26 +1713,19 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.contactcenterinsights.v1.ResourcesProto - .internal_static_google_cloud_contactcenterinsights_v1_Conversation_Transcript_TranscriptSegment_WordInfo_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.contactcenterinsights.v1.ResourcesProto.internal_static_google_cloud_contactcenterinsights_v1_Conversation_Transcript_TranscriptSegment_WordInfo_descriptor; } @java.lang.Override - public com.google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment - .WordInfo - getDefaultInstanceForType() { - return com.google.cloud.contactcenterinsights.v1.Conversation.Transcript - .TranscriptSegment.WordInfo.getDefaultInstance(); + public com.google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment.WordInfo getDefaultInstanceForType() { + return com.google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment.WordInfo.getDefaultInstance(); } @java.lang.Override - public com.google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment - .WordInfo - build() { - com.google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment - .WordInfo - result = buildPartial(); + public com.google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment.WordInfo build() { + com.google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment.WordInfo result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } @@ -2067,33 +1733,24 @@ public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { } @java.lang.Override - public com.google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment - .WordInfo - buildPartial() { - com.google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment - .WordInfo - result = - new com.google.cloud.contactcenterinsights.v1.Conversation.Transcript - .TranscriptSegment.WordInfo(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + public com.google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment.WordInfo buildPartial() { + com.google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment.WordInfo result = new com.google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment.WordInfo(this); + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } - private void buildPartial0( - com.google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment - .WordInfo - result) { + private void buildPartial0(com.google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment.WordInfo result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { - result.startOffset_ = - startOffsetBuilder_ == null ? startOffset_ : startOffsetBuilder_.build(); + result.startOffset_ = startOffsetBuilder_ == null + ? startOffset_ + : startOffsetBuilder_.build(); } if (((from_bitField0_ & 0x00000002) != 0)) { - result.endOffset_ = - endOffsetBuilder_ == null ? endOffset_ : endOffsetBuilder_.build(); + result.endOffset_ = endOffsetBuilder_ == null + ? endOffset_ + : endOffsetBuilder_.build(); } if (((from_bitField0_ & 0x00000004) != 0)) { result.word_ = word_; @@ -2107,60 +1764,46 @@ private void buildPartial0( public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, - int index, - java.lang.Object value) { + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { - if (other - instanceof - com.google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment - .WordInfo) { - return mergeFrom( - (com.google.cloud.contactcenterinsights.v1.Conversation.Transcript - .TranscriptSegment.WordInfo) - other); + if (other instanceof com.google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment.WordInfo) { + return mergeFrom((com.google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment.WordInfo)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom( - com.google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment - .WordInfo - other) { - if (other - == com.google.cloud.contactcenterinsights.v1.Conversation.Transcript - .TranscriptSegment.WordInfo.getDefaultInstance()) return this; + public Builder mergeFrom(com.google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment.WordInfo other) { + if (other == com.google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment.WordInfo.getDefaultInstance()) return this; if (other.hasStartOffset()) { mergeStartOffset(other.getStartOffset()); } @@ -2201,38 +1844,36 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - input.readMessage( - getStartOffsetFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: - { - input.readMessage(getEndOffsetFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00000002; - break; - } // case 18 - case 26: - { - word_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000004; - break; - } // case 26 - case 37: - { - confidence_ = input.readFloat(); - bitField0_ |= 0x00000008; - break; - } // case 37 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + input.readMessage( + getStartOffsetFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: { + input.readMessage( + getEndOffsetFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00000002; + break; + } // case 18 + case 26: { + word_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000004; + break; + } // case 26 + case 37: { + confidence_ = input.readFloat(); + bitField0_ |= 0x00000008; + break; + } // case 37 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -2242,54 +1883,40 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private com.google.protobuf.Duration startOffset_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Duration, - com.google.protobuf.Duration.Builder, - com.google.protobuf.DurationOrBuilder> - startOffsetBuilder_; + com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder> startOffsetBuilder_; /** - * - * *
            * Time offset of the start of this word relative to the beginning of
            * the total conversation.
            * 
* * .google.protobuf.Duration start_offset = 1; - * * @return Whether the startOffset field is set. */ public boolean hasStartOffset() { return ((bitField0_ & 0x00000001) != 0); } /** - * - * *
            * Time offset of the start of this word relative to the beginning of
            * the total conversation.
            * 
* * .google.protobuf.Duration start_offset = 1; - * * @return The startOffset. */ public com.google.protobuf.Duration getStartOffset() { if (startOffsetBuilder_ == null) { - return startOffset_ == null - ? com.google.protobuf.Duration.getDefaultInstance() - : startOffset_; + return startOffset_ == null ? com.google.protobuf.Duration.getDefaultInstance() : startOffset_; } else { return startOffsetBuilder_.getMessage(); } } /** - * - * *
            * Time offset of the start of this word relative to the beginning of
            * the total conversation.
@@ -2311,8 +1938,6 @@ public Builder setStartOffset(com.google.protobuf.Duration value) {
             return this;
           }
           /**
-           *
-           *
            * 
            * Time offset of the start of this word relative to the beginning of
            * the total conversation.
@@ -2320,7 +1945,8 @@ public Builder setStartOffset(com.google.protobuf.Duration value) {
            *
            * .google.protobuf.Duration start_offset = 1;
            */
-          public Builder setStartOffset(com.google.protobuf.Duration.Builder builderForValue) {
+          public Builder setStartOffset(
+              com.google.protobuf.Duration.Builder builderForValue) {
             if (startOffsetBuilder_ == null) {
               startOffset_ = builderForValue.build();
             } else {
@@ -2331,8 +1957,6 @@ public Builder setStartOffset(com.google.protobuf.Duration.Builder builderForVal
             return this;
           }
           /**
-           *
-           *
            * 
            * Time offset of the start of this word relative to the beginning of
            * the total conversation.
@@ -2342,9 +1966,9 @@ public Builder setStartOffset(com.google.protobuf.Duration.Builder builderForVal
            */
           public Builder mergeStartOffset(com.google.protobuf.Duration value) {
             if (startOffsetBuilder_ == null) {
-              if (((bitField0_ & 0x00000001) != 0)
-                  && startOffset_ != null
-                  && startOffset_ != com.google.protobuf.Duration.getDefaultInstance()) {
+              if (((bitField0_ & 0x00000001) != 0) &&
+                startOffset_ != null &&
+                startOffset_ != com.google.protobuf.Duration.getDefaultInstance()) {
                 getStartOffsetBuilder().mergeFrom(value);
               } else {
                 startOffset_ = value;
@@ -2357,8 +1981,6 @@ public Builder mergeStartOffset(com.google.protobuf.Duration value) {
             return this;
           }
           /**
-           *
-           *
            * 
            * Time offset of the start of this word relative to the beginning of
            * the total conversation.
@@ -2377,8 +1999,6 @@ public Builder clearStartOffset() {
             return this;
           }
           /**
-           *
-           *
            * 
            * Time offset of the start of this word relative to the beginning of
            * the total conversation.
@@ -2392,8 +2012,6 @@ public com.google.protobuf.Duration.Builder getStartOffsetBuilder() {
             return getStartOffsetFieldBuilder().getBuilder();
           }
           /**
-           *
-           *
            * 
            * Time offset of the start of this word relative to the beginning of
            * the total conversation.
@@ -2405,14 +2023,11 @@ public com.google.protobuf.DurationOrBuilder getStartOffsetOrBuilder() {
             if (startOffsetBuilder_ != null) {
               return startOffsetBuilder_.getMessageOrBuilder();
             } else {
-              return startOffset_ == null
-                  ? com.google.protobuf.Duration.getDefaultInstance()
-                  : startOffset_;
+              return startOffset_ == null ?
+                  com.google.protobuf.Duration.getDefaultInstance() : startOffset_;
             }
           }
           /**
-           *
-           *
            * 
            * Time offset of the start of this word relative to the beginning of
            * the total conversation.
@@ -2421,17 +2036,14 @@ public com.google.protobuf.DurationOrBuilder getStartOffsetOrBuilder() {
            * .google.protobuf.Duration start_offset = 1;
            */
           private com.google.protobuf.SingleFieldBuilderV3<
-                  com.google.protobuf.Duration,
-                  com.google.protobuf.Duration.Builder,
-                  com.google.protobuf.DurationOrBuilder>
+              com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder> 
               getStartOffsetFieldBuilder() {
             if (startOffsetBuilder_ == null) {
-              startOffsetBuilder_ =
-                  new com.google.protobuf.SingleFieldBuilderV3<
-                      com.google.protobuf.Duration,
-                      com.google.protobuf.Duration.Builder,
-                      com.google.protobuf.DurationOrBuilder>(
-                      getStartOffset(), getParentForChildren(), isClean());
+              startOffsetBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+                  com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder>(
+                      getStartOffset(),
+                      getParentForChildren(),
+                      isClean());
               startOffset_ = null;
             }
             return startOffsetBuilder_;
@@ -2439,49 +2051,36 @@ public com.google.protobuf.DurationOrBuilder getStartOffsetOrBuilder() {
 
           private com.google.protobuf.Duration endOffset_;
           private com.google.protobuf.SingleFieldBuilderV3<
-                  com.google.protobuf.Duration,
-                  com.google.protobuf.Duration.Builder,
-                  com.google.protobuf.DurationOrBuilder>
-              endOffsetBuilder_;
+              com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder> endOffsetBuilder_;
           /**
-           *
-           *
            * 
            * Time offset of the end of this word relative to the beginning of the
            * total conversation.
            * 
* * .google.protobuf.Duration end_offset = 2; - * * @return Whether the endOffset field is set. */ public boolean hasEndOffset() { return ((bitField0_ & 0x00000002) != 0); } /** - * - * *
            * Time offset of the end of this word relative to the beginning of the
            * total conversation.
            * 
* * .google.protobuf.Duration end_offset = 2; - * * @return The endOffset. */ public com.google.protobuf.Duration getEndOffset() { if (endOffsetBuilder_ == null) { - return endOffset_ == null - ? com.google.protobuf.Duration.getDefaultInstance() - : endOffset_; + return endOffset_ == null ? com.google.protobuf.Duration.getDefaultInstance() : endOffset_; } else { return endOffsetBuilder_.getMessage(); } } /** - * - * *
            * Time offset of the end of this word relative to the beginning of the
            * total conversation.
@@ -2503,8 +2102,6 @@ public Builder setEndOffset(com.google.protobuf.Duration value) {
             return this;
           }
           /**
-           *
-           *
            * 
            * Time offset of the end of this word relative to the beginning of the
            * total conversation.
@@ -2512,7 +2109,8 @@ public Builder setEndOffset(com.google.protobuf.Duration value) {
            *
            * .google.protobuf.Duration end_offset = 2;
            */
-          public Builder setEndOffset(com.google.protobuf.Duration.Builder builderForValue) {
+          public Builder setEndOffset(
+              com.google.protobuf.Duration.Builder builderForValue) {
             if (endOffsetBuilder_ == null) {
               endOffset_ = builderForValue.build();
             } else {
@@ -2523,8 +2121,6 @@ public Builder setEndOffset(com.google.protobuf.Duration.Builder builderForValue
             return this;
           }
           /**
-           *
-           *
            * 
            * Time offset of the end of this word relative to the beginning of the
            * total conversation.
@@ -2534,9 +2130,9 @@ public Builder setEndOffset(com.google.protobuf.Duration.Builder builderForValue
            */
           public Builder mergeEndOffset(com.google.protobuf.Duration value) {
             if (endOffsetBuilder_ == null) {
-              if (((bitField0_ & 0x00000002) != 0)
-                  && endOffset_ != null
-                  && endOffset_ != com.google.protobuf.Duration.getDefaultInstance()) {
+              if (((bitField0_ & 0x00000002) != 0) &&
+                endOffset_ != null &&
+                endOffset_ != com.google.protobuf.Duration.getDefaultInstance()) {
                 getEndOffsetBuilder().mergeFrom(value);
               } else {
                 endOffset_ = value;
@@ -2549,8 +2145,6 @@ public Builder mergeEndOffset(com.google.protobuf.Duration value) {
             return this;
           }
           /**
-           *
-           *
            * 
            * Time offset of the end of this word relative to the beginning of the
            * total conversation.
@@ -2569,8 +2163,6 @@ public Builder clearEndOffset() {
             return this;
           }
           /**
-           *
-           *
            * 
            * Time offset of the end of this word relative to the beginning of the
            * total conversation.
@@ -2584,8 +2176,6 @@ public com.google.protobuf.Duration.Builder getEndOffsetBuilder() {
             return getEndOffsetFieldBuilder().getBuilder();
           }
           /**
-           *
-           *
            * 
            * Time offset of the end of this word relative to the beginning of the
            * total conversation.
@@ -2597,14 +2187,11 @@ public com.google.protobuf.DurationOrBuilder getEndOffsetOrBuilder() {
             if (endOffsetBuilder_ != null) {
               return endOffsetBuilder_.getMessageOrBuilder();
             } else {
-              return endOffset_ == null
-                  ? com.google.protobuf.Duration.getDefaultInstance()
-                  : endOffset_;
+              return endOffset_ == null ?
+                  com.google.protobuf.Duration.getDefaultInstance() : endOffset_;
             }
           }
           /**
-           *
-           *
            * 
            * Time offset of the end of this word relative to the beginning of the
            * total conversation.
@@ -2613,17 +2200,14 @@ public com.google.protobuf.DurationOrBuilder getEndOffsetOrBuilder() {
            * .google.protobuf.Duration end_offset = 2;
            */
           private com.google.protobuf.SingleFieldBuilderV3<
-                  com.google.protobuf.Duration,
-                  com.google.protobuf.Duration.Builder,
-                  com.google.protobuf.DurationOrBuilder>
+              com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder> 
               getEndOffsetFieldBuilder() {
             if (endOffsetBuilder_ == null) {
-              endOffsetBuilder_ =
-                  new com.google.protobuf.SingleFieldBuilderV3<
-                      com.google.protobuf.Duration,
-                      com.google.protobuf.Duration.Builder,
-                      com.google.protobuf.DurationOrBuilder>(
-                      getEndOffset(), getParentForChildren(), isClean());
+              endOffsetBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+                  com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder>(
+                      getEndOffset(),
+                      getParentForChildren(),
+                      isClean());
               endOffset_ = null;
             }
             return endOffsetBuilder_;
@@ -2631,20 +2215,18 @@ public com.google.protobuf.DurationOrBuilder getEndOffsetOrBuilder() {
 
           private java.lang.Object word_ = "";
           /**
-           *
-           *
            * 
            * The word itself. Includes punctuation marks that surround the word.
            * 
* * string word = 3; - * * @return The word. */ public java.lang.String getWord() { java.lang.Object ref = word_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); word_ = s; return s; @@ -2653,21 +2235,20 @@ public java.lang.String getWord() { } } /** - * - * *
            * The word itself. Includes punctuation marks that surround the word.
            * 
* * string word = 3; - * * @return The bytes for word. */ - public com.google.protobuf.ByteString getWordBytes() { + public com.google.protobuf.ByteString + getWordBytes() { java.lang.Object ref = word_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); word_ = b; return b; } else { @@ -2675,35 +2256,28 @@ public com.google.protobuf.ByteString getWordBytes() { } } /** - * - * *
            * The word itself. Includes punctuation marks that surround the word.
            * 
* * string word = 3; - * * @param value The word to set. * @return This builder for chaining. */ - public Builder setWord(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setWord( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } word_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } /** - * - * *
            * The word itself. Includes punctuation marks that surround the word.
            * 
* * string word = 3; - * * @return This builder for chaining. */ public Builder clearWord() { @@ -2713,21 +2287,17 @@ public Builder clearWord() { return this; } /** - * - * *
            * The word itself. Includes punctuation marks that surround the word.
            * 
* * string word = 3; - * * @param value The bytes for word to set. * @return This builder for chaining. */ - public Builder setWordBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setWordBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); word_ = value; bitField0_ |= 0x00000004; @@ -2735,17 +2305,14 @@ public Builder setWordBytes(com.google.protobuf.ByteString value) { return this; } - private float confidence_; + private float confidence_ ; /** - * - * *
            * A confidence estimate between 0.0 and 1.0 of the fidelity of this
            * word. A default value of 0.0 indicates that the value is unset.
            * 
* * float confidence = 4; - * * @return The confidence. */ @java.lang.Override @@ -2753,35 +2320,29 @@ public float getConfidence() { return confidence_; } /** - * - * *
            * A confidence estimate between 0.0 and 1.0 of the fidelity of this
            * word. A default value of 0.0 indicates that the value is unset.
            * 
* * float confidence = 4; - * * @param value The confidence to set. * @return This builder for chaining. */ public Builder setConfidence(float value) { - + confidence_ = value; bitField0_ |= 0x00000008; onChanged(); return this; } /** - * - * *
            * A confidence estimate between 0.0 and 1.0 of the fidelity of this
            * word. A default value of 0.0 indicates that the value is unset.
            * 
* * float confidence = 4; - * * @return This builder for chaining. */ public Builder clearConfidence() { @@ -2790,7 +2351,6 @@ public Builder clearConfidence() { onChanged(); return this; } - @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -2803,48 +2363,41 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment.WordInfo) } // @@protoc_insertion_point(class_scope:google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment.WordInfo) - private static final com.google.cloud.contactcenterinsights.v1.Conversation.Transcript - .TranscriptSegment.WordInfo - DEFAULT_INSTANCE; - + private static final com.google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment.WordInfo DEFAULT_INSTANCE; static { - DEFAULT_INSTANCE = - new com.google.cloud.contactcenterinsights.v1.Conversation.Transcript - .TranscriptSegment.WordInfo(); + DEFAULT_INSTANCE = new com.google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment.WordInfo(); } - public static com.google.cloud.contactcenterinsights.v1.Conversation.Transcript - .TranscriptSegment.WordInfo - getDefaultInstance() { + public static com.google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment.WordInfo getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public WordInfo parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException() - .setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public WordInfo parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -2856,96 +2409,80 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment - .WordInfo - getDefaultInstanceForType() { + public com.google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment.WordInfo getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } - public interface DialogflowSegmentMetadataOrBuilder - extends + public interface DialogflowSegmentMetadataOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment.DialogflowSegmentMetadata) com.google.protobuf.MessageOrBuilder { /** - * - * *
          * Whether the transcript segment was covered under the configured smart
          * reply allowlist in Agent Assist.
          * 
* * bool smart_reply_allowlist_covered = 1; - * * @return The smartReplyAllowlistCovered. */ boolean getSmartReplyAllowlistCovered(); } /** - * - * *
        * Metadata from Dialogflow relating to the current transcript segment.
        * 
* - * Protobuf type {@code - * google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment.DialogflowSegmentMetadata} + * Protobuf type {@code google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment.DialogflowSegmentMetadata} */ - public static final class DialogflowSegmentMetadata - extends com.google.protobuf.GeneratedMessageV3 - implements + public static final class DialogflowSegmentMetadata extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment.DialogflowSegmentMetadata) DialogflowSegmentMetadataOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use DialogflowSegmentMetadata.newBuilder() to construct. - private DialogflowSegmentMetadata( - com.google.protobuf.GeneratedMessageV3.Builder builder) { + private DialogflowSegmentMetadata(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - - private DialogflowSegmentMetadata() {} + private DialogflowSegmentMetadata() { + } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new DialogflowSegmentMetadata(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.contactcenterinsights.v1.ResourcesProto - .internal_static_google_cloud_contactcenterinsights_v1_Conversation_Transcript_TranscriptSegment_DialogflowSegmentMetadata_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.contactcenterinsights.v1.ResourcesProto.internal_static_google_cloud_contactcenterinsights_v1_Conversation_Transcript_TranscriptSegment_DialogflowSegmentMetadata_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.contactcenterinsights.v1.ResourcesProto - .internal_static_google_cloud_contactcenterinsights_v1_Conversation_Transcript_TranscriptSegment_DialogflowSegmentMetadata_fieldAccessorTable + return com.google.cloud.contactcenterinsights.v1.ResourcesProto.internal_static_google_cloud_contactcenterinsights_v1_Conversation_Transcript_TranscriptSegment_DialogflowSegmentMetadata_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.contactcenterinsights.v1.Conversation.Transcript - .TranscriptSegment.DialogflowSegmentMetadata.class, - com.google.cloud.contactcenterinsights.v1.Conversation.Transcript - .TranscriptSegment.DialogflowSegmentMetadata.Builder.class); + com.google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment.DialogflowSegmentMetadata.class, com.google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment.DialogflowSegmentMetadata.Builder.class); } public static final int SMART_REPLY_ALLOWLIST_COVERED_FIELD_NUMBER = 1; private boolean smartReplyAllowlistCovered_ = false; /** - * - * *
          * Whether the transcript segment was covered under the configured smart
          * reply allowlist in Agent Assist.
          * 
* * bool smart_reply_allowlist_covered = 1; - * * @return The smartReplyAllowlistCovered. */ @java.lang.Override @@ -2954,7 +2491,6 @@ public boolean getSmartReplyAllowlistCovered() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -2967,7 +2503,7 @@ public final boolean isInitialized() { @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + throws java.io.IOException { if (smartReplyAllowlistCovered_ != false) { output.writeBool(1, smartReplyAllowlistCovered_); } @@ -2981,9 +2517,8 @@ public int getSerializedSize() { size = 0; if (smartReplyAllowlistCovered_ != false) { - size += - com.google.protobuf.CodedOutputStream.computeBoolSize( - 1, smartReplyAllowlistCovered_); + size += com.google.protobuf.CodedOutputStream + .computeBoolSize(1, smartReplyAllowlistCovered_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -2993,23 +2528,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } - if (!(obj - instanceof - com.google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment - .DialogflowSegmentMetadata)) { + if (!(obj instanceof com.google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment.DialogflowSegmentMetadata)) { return super.equals(obj); } - com.google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment - .DialogflowSegmentMetadata - other = - (com.google.cloud.contactcenterinsights.v1.Conversation.Transcript - .TranscriptSegment.DialogflowSegmentMetadata) - obj; + com.google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment.DialogflowSegmentMetadata other = (com.google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment.DialogflowSegmentMetadata) obj; - if (getSmartReplyAllowlistCovered() != other.getSmartReplyAllowlistCovered()) - return false; + if (getSmartReplyAllowlistCovered() + != other.getSmartReplyAllowlistCovered()) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -3022,127 +2549,95 @@ public int hashCode() { int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); hash = (37 * hash) + SMART_REPLY_ALLOWLIST_COVERED_FIELD_NUMBER; - hash = - (53 * hash) - + com.google.protobuf.Internal.hashBoolean(getSmartReplyAllowlistCovered()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( + getSmartReplyAllowlistCovered()); hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } - public static com.google.cloud.contactcenterinsights.v1.Conversation.Transcript - .TranscriptSegment.DialogflowSegmentMetadata - parseFrom(java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment.DialogflowSegmentMetadata parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - - public static com.google.cloud.contactcenterinsights.v1.Conversation.Transcript - .TranscriptSegment.DialogflowSegmentMetadata - parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment.DialogflowSegmentMetadata parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.contactcenterinsights.v1.Conversation.Transcript - .TranscriptSegment.DialogflowSegmentMetadata - parseFrom(com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment.DialogflowSegmentMetadata parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - - public static com.google.cloud.contactcenterinsights.v1.Conversation.Transcript - .TranscriptSegment.DialogflowSegmentMetadata - parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment.DialogflowSegmentMetadata parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.contactcenterinsights.v1.Conversation.Transcript - .TranscriptSegment.DialogflowSegmentMetadata - parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment.DialogflowSegmentMetadata parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - - public static com.google.cloud.contactcenterinsights.v1.Conversation.Transcript - .TranscriptSegment.DialogflowSegmentMetadata - parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment.DialogflowSegmentMetadata parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.contactcenterinsights.v1.Conversation.Transcript - .TranscriptSegment.DialogflowSegmentMetadata - parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment.DialogflowSegmentMetadata parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - - public static com.google.cloud.contactcenterinsights.v1.Conversation.Transcript - .TranscriptSegment.DialogflowSegmentMetadata - parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + public static com.google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment.DialogflowSegmentMetadata parseFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.contactcenterinsights.v1.Conversation.Transcript - .TranscriptSegment.DialogflowSegmentMetadata - parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input); + public static com.google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment.DialogflowSegmentMetadata parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - - public static com.google.cloud.contactcenterinsights.v1.Conversation.Transcript - .TranscriptSegment.DialogflowSegmentMetadata - parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + public static com.google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment.DialogflowSegmentMetadata parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.contactcenterinsights.v1.Conversation.Transcript - .TranscriptSegment.DialogflowSegmentMetadata - parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment.DialogflowSegmentMetadata parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - - public static com.google.cloud.contactcenterinsights.v1.Conversation.Transcript - .TranscriptSegment.DialogflowSegmentMetadata - parseFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + public static com.google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment.DialogflowSegmentMetadata parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment - .DialogflowSegmentMetadata - prototype) { + public static Builder newBuilder(com.google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment.DialogflowSegmentMetadata prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -3152,46 +2647,39 @@ protected Builder newBuilderForType( return builder; } /** - * - * *
          * Metadata from Dialogflow relating to the current transcript segment.
          * 
* - * Protobuf type {@code - * google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment.DialogflowSegmentMetadata} + * Protobuf type {@code google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment.DialogflowSegmentMetadata} */ - public static final class Builder - extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment.DialogflowSegmentMetadata) - com.google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment - .DialogflowSegmentMetadataOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.contactcenterinsights.v1.ResourcesProto - .internal_static_google_cloud_contactcenterinsights_v1_Conversation_Transcript_TranscriptSegment_DialogflowSegmentMetadata_descriptor; + com.google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment.DialogflowSegmentMetadataOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.contactcenterinsights.v1.ResourcesProto.internal_static_google_cloud_contactcenterinsights_v1_Conversation_Transcript_TranscriptSegment_DialogflowSegmentMetadata_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.contactcenterinsights.v1.ResourcesProto - .internal_static_google_cloud_contactcenterinsights_v1_Conversation_Transcript_TranscriptSegment_DialogflowSegmentMetadata_fieldAccessorTable + return com.google.cloud.contactcenterinsights.v1.ResourcesProto.internal_static_google_cloud_contactcenterinsights_v1_Conversation_Transcript_TranscriptSegment_DialogflowSegmentMetadata_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.contactcenterinsights.v1.Conversation.Transcript - .TranscriptSegment.DialogflowSegmentMetadata.class, - com.google.cloud.contactcenterinsights.v1.Conversation.Transcript - .TranscriptSegment.DialogflowSegmentMetadata.Builder.class); + com.google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment.DialogflowSegmentMetadata.class, com.google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment.DialogflowSegmentMetadata.Builder.class); } - // Construct using - // com.google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment.DialogflowSegmentMetadata.newBuilder() - private Builder() {} + // Construct using com.google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment.DialogflowSegmentMetadata.newBuilder() + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -3201,26 +2689,19 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.contactcenterinsights.v1.ResourcesProto - .internal_static_google_cloud_contactcenterinsights_v1_Conversation_Transcript_TranscriptSegment_DialogflowSegmentMetadata_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.contactcenterinsights.v1.ResourcesProto.internal_static_google_cloud_contactcenterinsights_v1_Conversation_Transcript_TranscriptSegment_DialogflowSegmentMetadata_descriptor; } @java.lang.Override - public com.google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment - .DialogflowSegmentMetadata - getDefaultInstanceForType() { - return com.google.cloud.contactcenterinsights.v1.Conversation.Transcript - .TranscriptSegment.DialogflowSegmentMetadata.getDefaultInstance(); + public com.google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment.DialogflowSegmentMetadata getDefaultInstanceForType() { + return com.google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment.DialogflowSegmentMetadata.getDefaultInstance(); } @java.lang.Override - public com.google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment - .DialogflowSegmentMetadata - build() { - com.google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment - .DialogflowSegmentMetadata - result = buildPartial(); + public com.google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment.DialogflowSegmentMetadata build() { + com.google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment.DialogflowSegmentMetadata result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } @@ -3228,25 +2709,14 @@ public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { } @java.lang.Override - public com.google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment - .DialogflowSegmentMetadata - buildPartial() { - com.google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment - .DialogflowSegmentMetadata - result = - new com.google.cloud.contactcenterinsights.v1.Conversation.Transcript - .TranscriptSegment.DialogflowSegmentMetadata(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + public com.google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment.DialogflowSegmentMetadata buildPartial() { + com.google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment.DialogflowSegmentMetadata result = new com.google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment.DialogflowSegmentMetadata(this); + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } - private void buildPartial0( - com.google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment - .DialogflowSegmentMetadata - result) { + private void buildPartial0(com.google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment.DialogflowSegmentMetadata result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { result.smartReplyAllowlistCovered_ = smartReplyAllowlistCovered_; @@ -3257,60 +2727,46 @@ private void buildPartial0( public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, - int index, - java.lang.Object value) { + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { - if (other - instanceof - com.google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment - .DialogflowSegmentMetadata) { - return mergeFrom( - (com.google.cloud.contactcenterinsights.v1.Conversation.Transcript - .TranscriptSegment.DialogflowSegmentMetadata) - other); + if (other instanceof com.google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment.DialogflowSegmentMetadata) { + return mergeFrom((com.google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment.DialogflowSegmentMetadata)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom( - com.google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment - .DialogflowSegmentMetadata - other) { - if (other - == com.google.cloud.contactcenterinsights.v1.Conversation.Transcript - .TranscriptSegment.DialogflowSegmentMetadata.getDefaultInstance()) return this; + public Builder mergeFrom(com.google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment.DialogflowSegmentMetadata other) { + if (other == com.google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment.DialogflowSegmentMetadata.getDefaultInstance()) return this; if (other.getSmartReplyAllowlistCovered() != false) { setSmartReplyAllowlistCovered(other.getSmartReplyAllowlistCovered()); } @@ -3340,19 +2796,17 @@ public Builder mergeFrom( case 0: done = true; break; - case 8: - { - smartReplyAllowlistCovered_ = input.readBool(); - bitField0_ |= 0x00000001; - break; - } // case 8 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 8: { + smartReplyAllowlistCovered_ = input.readBool(); + bitField0_ |= 0x00000001; + break; + } // case 8 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -3362,20 +2816,16 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; - private boolean smartReplyAllowlistCovered_; + private boolean smartReplyAllowlistCovered_ ; /** - * - * *
            * Whether the transcript segment was covered under the configured smart
            * reply allowlist in Agent Assist.
            * 
* * bool smart_reply_allowlist_covered = 1; - * * @return The smartReplyAllowlistCovered. */ @java.lang.Override @@ -3383,35 +2833,29 @@ public boolean getSmartReplyAllowlistCovered() { return smartReplyAllowlistCovered_; } /** - * - * *
            * Whether the transcript segment was covered under the configured smart
            * reply allowlist in Agent Assist.
            * 
* * bool smart_reply_allowlist_covered = 1; - * * @param value The smartReplyAllowlistCovered to set. * @return This builder for chaining. */ public Builder setSmartReplyAllowlistCovered(boolean value) { - + smartReplyAllowlistCovered_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
            * Whether the transcript segment was covered under the configured smart
            * reply allowlist in Agent Assist.
            * 
* * bool smart_reply_allowlist_covered = 1; - * * @return This builder for chaining. */ public Builder clearSmartReplyAllowlistCovered() { @@ -3420,7 +2864,6 @@ public Builder clearSmartReplyAllowlistCovered() { onChanged(); return this; } - @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -3433,48 +2876,41 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment.DialogflowSegmentMetadata) } // @@protoc_insertion_point(class_scope:google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment.DialogflowSegmentMetadata) - private static final com.google.cloud.contactcenterinsights.v1.Conversation.Transcript - .TranscriptSegment.DialogflowSegmentMetadata - DEFAULT_INSTANCE; - + private static final com.google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment.DialogflowSegmentMetadata DEFAULT_INSTANCE; static { - DEFAULT_INSTANCE = - new com.google.cloud.contactcenterinsights.v1.Conversation.Transcript - .TranscriptSegment.DialogflowSegmentMetadata(); + DEFAULT_INSTANCE = new com.google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment.DialogflowSegmentMetadata(); } - public static com.google.cloud.contactcenterinsights.v1.Conversation.Transcript - .TranscriptSegment.DialogflowSegmentMetadata - getDefaultInstance() { + public static com.google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment.DialogflowSegmentMetadata getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public DialogflowSegmentMetadata parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException() - .setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public DialogflowSegmentMetadata parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -3486,24 +2922,20 @@ public com.google.protobuf.Parser getParserForType() } @java.lang.Override - public com.google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment - .DialogflowSegmentMetadata - getDefaultInstanceForType() { + public com.google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment.DialogflowSegmentMetadata getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } public static final int MESSAGE_TIME_FIELD_NUMBER = 6; private com.google.protobuf.Timestamp messageTime_; /** - * - * *
        * The time that the message occurred, if provided.
        * 
* * .google.protobuf.Timestamp message_time = 6; - * * @return Whether the messageTime field is set. */ @java.lang.Override @@ -3511,25 +2943,18 @@ public boolean hasMessageTime() { return messageTime_ != null; } /** - * - * *
        * The time that the message occurred, if provided.
        * 
* * .google.protobuf.Timestamp message_time = 6; - * * @return The messageTime. */ @java.lang.Override public com.google.protobuf.Timestamp getMessageTime() { - return messageTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : messageTime_; + return messageTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : messageTime_; } /** - * - * *
        * The time that the message occurred, if provided.
        * 
@@ -3538,24 +2963,18 @@ public com.google.protobuf.Timestamp getMessageTime() { */ @java.lang.Override public com.google.protobuf.TimestampOrBuilder getMessageTimeOrBuilder() { - return messageTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : messageTime_; + return messageTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : messageTime_; } public static final int TEXT_FIELD_NUMBER = 1; - @SuppressWarnings("serial") private volatile java.lang.Object text_ = ""; /** - * - * *
        * The text of this segment.
        * 
* * string text = 1; - * * @return The text. */ @java.lang.Override @@ -3564,29 +2983,29 @@ public java.lang.String getText() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); text_ = s; return s; } } /** - * - * *
        * The text of this segment.
        * 
* * string text = 1; - * * @return The bytes for text. */ @java.lang.Override - public com.google.protobuf.ByteString getTextBytes() { + public com.google.protobuf.ByteString + getTextBytes() { java.lang.Object ref = text_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); text_ = b; return b; } else { @@ -3597,15 +3016,12 @@ public com.google.protobuf.ByteString getTextBytes() { public static final int CONFIDENCE_FIELD_NUMBER = 2; private float confidence_ = 0F; /** - * - * *
        * A confidence estimate between 0.0 and 1.0 of the fidelity of this
        * segment. A default value of 0.0 indicates that the value is unset.
        * 
* * float confidence = 2; - * * @return The confidence. */ @java.lang.Override @@ -3614,106 +3030,70 @@ public float getConfidence() { } public static final int WORDS_FIELD_NUMBER = 3; - @SuppressWarnings("serial") - private java.util.List< - com.google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment - .WordInfo> - words_; + private java.util.List words_; /** - * - * *
        * A list of the word-specific information for each word in the segment.
        * 
* - * - * repeated .google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment.WordInfo words = 3; - * + * repeated .google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment.WordInfo words = 3; */ @java.lang.Override - public java.util.List< - com.google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment - .WordInfo> - getWordsList() { + public java.util.List getWordsList() { return words_; } /** - * - * *
        * A list of the word-specific information for each word in the segment.
        * 
* - * - * repeated .google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment.WordInfo words = 3; - * + * repeated .google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment.WordInfo words = 3; */ @java.lang.Override - public java.util.List< - ? extends - com.google.cloud.contactcenterinsights.v1.Conversation.Transcript - .TranscriptSegment.WordInfoOrBuilder> + public java.util.List getWordsOrBuilderList() { return words_; } /** - * - * *
        * A list of the word-specific information for each word in the segment.
        * 
* - * - * repeated .google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment.WordInfo words = 3; - * + * repeated .google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment.WordInfo words = 3; */ @java.lang.Override public int getWordsCount() { return words_.size(); } /** - * - * *
        * A list of the word-specific information for each word in the segment.
        * 
* - * - * repeated .google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment.WordInfo words = 3; - * + * repeated .google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment.WordInfo words = 3; */ @java.lang.Override - public com.google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment - .WordInfo - getWords(int index) { + public com.google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment.WordInfo getWords(int index) { return words_.get(index); } /** - * - * *
        * A list of the word-specific information for each word in the segment.
        * 
* - * - * repeated .google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment.WordInfo words = 3; - * + * repeated .google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment.WordInfo words = 3; */ @java.lang.Override - public com.google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment - .WordInfoOrBuilder - getWordsOrBuilder(int index) { + public com.google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment.WordInfoOrBuilder getWordsOrBuilder( + int index) { return words_.get(index); } public static final int LANGUAGE_CODE_FIELD_NUMBER = 4; - @SuppressWarnings("serial") private volatile java.lang.Object languageCode_ = ""; /** - * - * *
        * The language code of this segment as a
        * [BCP-47](https://www.rfc-editor.org/rfc/bcp/bcp47.txt) language tag.
@@ -3721,7 +3101,6 @@ public int getWordsCount() {
        * 
* * string language_code = 4; - * * @return The languageCode. */ @java.lang.Override @@ -3730,15 +3109,14 @@ public java.lang.String getLanguageCode() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); languageCode_ = s; return s; } } /** - * - * *
        * The language code of this segment as a
        * [BCP-47](https://www.rfc-editor.org/rfc/bcp/bcp47.txt) language tag.
@@ -3746,15 +3124,16 @@ public java.lang.String getLanguageCode() {
        * 
* * string language_code = 4; - * * @return The bytes for languageCode. */ @java.lang.Override - public com.google.protobuf.ByteString getLanguageCodeBytes() { + public com.google.protobuf.ByteString + getLanguageCodeBytes() { java.lang.Object ref = languageCode_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); languageCode_ = b; return b; } else { @@ -3765,8 +3144,6 @@ public com.google.protobuf.ByteString getLanguageCodeBytes() { public static final int CHANNEL_TAG_FIELD_NUMBER = 5; private int channelTag_ = 0; /** - * - * *
        * For conversations derived from multi-channel audio, this is the channel
        * number corresponding to the audio from that channel. For
@@ -3775,7 +3152,6 @@ public com.google.protobuf.ByteString getLanguageCodeBytes() {
        * 
* * int32 channel_tag = 5; - * * @return The channelTag. */ @java.lang.Override @@ -3786,16 +3162,11 @@ public int getChannelTag() { public static final int SEGMENT_PARTICIPANT_FIELD_NUMBER = 9; private com.google.cloud.contactcenterinsights.v1.ConversationParticipant segmentParticipant_; /** - * - * *
        * The participant of this segment.
        * 
* - * - * .google.cloud.contactcenterinsights.v1.ConversationParticipant segment_participant = 9; - * - * + * .google.cloud.contactcenterinsights.v1.ConversationParticipant segment_participant = 9; * @return Whether the segmentParticipant field is set. */ @java.lang.Override @@ -3803,59 +3174,37 @@ public boolean hasSegmentParticipant() { return segmentParticipant_ != null; } /** - * - * *
        * The participant of this segment.
        * 
* - * - * .google.cloud.contactcenterinsights.v1.ConversationParticipant segment_participant = 9; - * - * + * .google.cloud.contactcenterinsights.v1.ConversationParticipant segment_participant = 9; * @return The segmentParticipant. */ @java.lang.Override - public com.google.cloud.contactcenterinsights.v1.ConversationParticipant - getSegmentParticipant() { - return segmentParticipant_ == null - ? com.google.cloud.contactcenterinsights.v1.ConversationParticipant.getDefaultInstance() - : segmentParticipant_; + public com.google.cloud.contactcenterinsights.v1.ConversationParticipant getSegmentParticipant() { + return segmentParticipant_ == null ? com.google.cloud.contactcenterinsights.v1.ConversationParticipant.getDefaultInstance() : segmentParticipant_; } /** - * - * *
        * The participant of this segment.
        * 
* - * - * .google.cloud.contactcenterinsights.v1.ConversationParticipant segment_participant = 9; - * + * .google.cloud.contactcenterinsights.v1.ConversationParticipant segment_participant = 9; */ @java.lang.Override - public com.google.cloud.contactcenterinsights.v1.ConversationParticipantOrBuilder - getSegmentParticipantOrBuilder() { - return segmentParticipant_ == null - ? com.google.cloud.contactcenterinsights.v1.ConversationParticipant.getDefaultInstance() - : segmentParticipant_; + public com.google.cloud.contactcenterinsights.v1.ConversationParticipantOrBuilder getSegmentParticipantOrBuilder() { + return segmentParticipant_ == null ? com.google.cloud.contactcenterinsights.v1.ConversationParticipant.getDefaultInstance() : segmentParticipant_; } public static final int DIALOGFLOW_SEGMENT_METADATA_FIELD_NUMBER = 10; - private com.google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment - .DialogflowSegmentMetadata - dialogflowSegmentMetadata_; + private com.google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment.DialogflowSegmentMetadata dialogflowSegmentMetadata_; /** - * - * *
        * CCAI metadata relating to the current transcript segment.
        * 
* - * - * .google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment.DialogflowSegmentMetadata dialogflow_segment_metadata = 10; - * - * + * .google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment.DialogflowSegmentMetadata dialogflow_segment_metadata = 10; * @return Whether the dialogflowSegmentMetadata field is set. */ @java.lang.Override @@ -3863,59 +3212,37 @@ public boolean hasDialogflowSegmentMetadata() { return dialogflowSegmentMetadata_ != null; } /** - * - * *
        * CCAI metadata relating to the current transcript segment.
        * 
* - * - * .google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment.DialogflowSegmentMetadata dialogflow_segment_metadata = 10; - * - * + * .google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment.DialogflowSegmentMetadata dialogflow_segment_metadata = 10; * @return The dialogflowSegmentMetadata. */ @java.lang.Override - public com.google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment - .DialogflowSegmentMetadata - getDialogflowSegmentMetadata() { - return dialogflowSegmentMetadata_ == null - ? com.google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment - .DialogflowSegmentMetadata.getDefaultInstance() - : dialogflowSegmentMetadata_; + public com.google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment.DialogflowSegmentMetadata getDialogflowSegmentMetadata() { + return dialogflowSegmentMetadata_ == null ? com.google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment.DialogflowSegmentMetadata.getDefaultInstance() : dialogflowSegmentMetadata_; } /** - * - * *
        * CCAI metadata relating to the current transcript segment.
        * 
* - * - * .google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment.DialogflowSegmentMetadata dialogflow_segment_metadata = 10; - * + * .google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment.DialogflowSegmentMetadata dialogflow_segment_metadata = 10; */ @java.lang.Override - public com.google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment - .DialogflowSegmentMetadataOrBuilder - getDialogflowSegmentMetadataOrBuilder() { - return dialogflowSegmentMetadata_ == null - ? com.google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment - .DialogflowSegmentMetadata.getDefaultInstance() - : dialogflowSegmentMetadata_; + public com.google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment.DialogflowSegmentMetadataOrBuilder getDialogflowSegmentMetadataOrBuilder() { + return dialogflowSegmentMetadata_ == null ? com.google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment.DialogflowSegmentMetadata.getDefaultInstance() : dialogflowSegmentMetadata_; } public static final int SENTIMENT_FIELD_NUMBER = 11; private com.google.cloud.contactcenterinsights.v1.SentimentData sentiment_; /** - * - * *
        * The sentiment for this transcript segment.
        * 
* * .google.cloud.contactcenterinsights.v1.SentimentData sentiment = 11; - * * @return Whether the sentiment field is set. */ @java.lang.Override @@ -3923,25 +3250,18 @@ public boolean hasSentiment() { return sentiment_ != null; } /** - * - * *
        * The sentiment for this transcript segment.
        * 
* * .google.cloud.contactcenterinsights.v1.SentimentData sentiment = 11; - * * @return The sentiment. */ @java.lang.Override public com.google.cloud.contactcenterinsights.v1.SentimentData getSentiment() { - return sentiment_ == null - ? com.google.cloud.contactcenterinsights.v1.SentimentData.getDefaultInstance() - : sentiment_; + return sentiment_ == null ? com.google.cloud.contactcenterinsights.v1.SentimentData.getDefaultInstance() : sentiment_; } /** - * - * *
        * The sentiment for this transcript segment.
        * 
@@ -3949,15 +3269,11 @@ public com.google.cloud.contactcenterinsights.v1.SentimentData getSentiment() { * .google.cloud.contactcenterinsights.v1.SentimentData sentiment = 11; */ @java.lang.Override - public com.google.cloud.contactcenterinsights.v1.SentimentDataOrBuilder - getSentimentOrBuilder() { - return sentiment_ == null - ? com.google.cloud.contactcenterinsights.v1.SentimentData.getDefaultInstance() - : sentiment_; + public com.google.cloud.contactcenterinsights.v1.SentimentDataOrBuilder getSentimentOrBuilder() { + return sentiment_ == null ? com.google.cloud.contactcenterinsights.v1.SentimentData.getDefaultInstance() : sentiment_; } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -3969,7 +3285,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(text_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, text_); } @@ -4010,31 +3327,35 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, text_); } if (java.lang.Float.floatToRawIntBits(confidence_) != 0) { - size += com.google.protobuf.CodedOutputStream.computeFloatSize(2, confidence_); + size += com.google.protobuf.CodedOutputStream + .computeFloatSize(2, confidence_); } for (int i = 0; i < words_.size(); i++) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, words_.get(i)); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(3, words_.get(i)); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(languageCode_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, languageCode_); } if (channelTag_ != 0) { - size += com.google.protobuf.CodedOutputStream.computeInt32Size(5, channelTag_); + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(5, channelTag_); } if (messageTime_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(6, getMessageTime()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(6, getMessageTime()); } if (segmentParticipant_ != null) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize(9, getSegmentParticipant()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(9, getSegmentParticipant()); } if (dialogflowSegmentMetadata_ != null) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize( - 10, getDialogflowSegmentMetadata()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(10, getDialogflowSegmentMetadata()); } if (sentiment_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(11, getSentiment()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(11, getSentiment()); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -4044,39 +3365,43 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } - if (!(obj - instanceof - com.google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment)) { + if (!(obj instanceof com.google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment)) { return super.equals(obj); } - com.google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment other = - (com.google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment) - obj; + com.google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment other = (com.google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment) obj; if (hasMessageTime() != other.hasMessageTime()) return false; if (hasMessageTime()) { - if (!getMessageTime().equals(other.getMessageTime())) return false; + if (!getMessageTime() + .equals(other.getMessageTime())) return false; } - if (!getText().equals(other.getText())) return false; + if (!getText() + .equals(other.getText())) return false; if (java.lang.Float.floatToIntBits(getConfidence()) - != java.lang.Float.floatToIntBits(other.getConfidence())) return false; - if (!getWordsList().equals(other.getWordsList())) return false; - if (!getLanguageCode().equals(other.getLanguageCode())) return false; - if (getChannelTag() != other.getChannelTag()) return false; + != java.lang.Float.floatToIntBits( + other.getConfidence())) return false; + if (!getWordsList() + .equals(other.getWordsList())) return false; + if (!getLanguageCode() + .equals(other.getLanguageCode())) return false; + if (getChannelTag() + != other.getChannelTag()) return false; if (hasSegmentParticipant() != other.hasSegmentParticipant()) return false; if (hasSegmentParticipant()) { - if (!getSegmentParticipant().equals(other.getSegmentParticipant())) return false; + if (!getSegmentParticipant() + .equals(other.getSegmentParticipant())) return false; } if (hasDialogflowSegmentMetadata() != other.hasDialogflowSegmentMetadata()) return false; if (hasDialogflowSegmentMetadata()) { - if (!getDialogflowSegmentMetadata().equals(other.getDialogflowSegmentMetadata())) - return false; + if (!getDialogflowSegmentMetadata() + .equals(other.getDialogflowSegmentMetadata())) return false; } if (hasSentiment() != other.hasSentiment()) return false; if (hasSentiment()) { - if (!getSentiment().equals(other.getSentiment())) return false; + if (!getSentiment() + .equals(other.getSentiment())) return false; } if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -4096,7 +3421,8 @@ public int hashCode() { hash = (37 * hash) + TEXT_FIELD_NUMBER; hash = (53 * hash) + getText().hashCode(); hash = (37 * hash) + CONFIDENCE_FIELD_NUMBER; - hash = (53 * hash) + java.lang.Float.floatToIntBits(getConfidence()); + hash = (53 * hash) + java.lang.Float.floatToIntBits( + getConfidence()); if (getWordsCount() > 0) { hash = (37 * hash) + WORDS_FIELD_NUMBER; hash = (53 * hash) + getWordsList().hashCode(); @@ -4122,116 +3448,88 @@ public int hashCode() { return hash; } - public static com.google.cloud.contactcenterinsights.v1.Conversation.Transcript - .TranscriptSegment - parseFrom(java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - - public static com.google.cloud.contactcenterinsights.v1.Conversation.Transcript - .TranscriptSegment - parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.contactcenterinsights.v1.Conversation.Transcript - .TranscriptSegment - parseFrom(com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - - public static com.google.cloud.contactcenterinsights.v1.Conversation.Transcript - .TranscriptSegment - parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.contactcenterinsights.v1.Conversation.Transcript - .TranscriptSegment - parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - - public static com.google.cloud.contactcenterinsights.v1.Conversation.Transcript - .TranscriptSegment - parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.contactcenterinsights.v1.Conversation.Transcript - .TranscriptSegment - parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - - public static com.google.cloud.contactcenterinsights.v1.Conversation.Transcript - .TranscriptSegment - parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + public static com.google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment parseFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.contactcenterinsights.v1.Conversation.Transcript - .TranscriptSegment - parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - - public static com.google.cloud.contactcenterinsights.v1.Conversation.Transcript - .TranscriptSegment - parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + public static com.google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.contactcenterinsights.v1.Conversation.Transcript - .TranscriptSegment - parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - - public static com.google.cloud.contactcenterinsights.v1.Conversation.Transcript - .TranscriptSegment - parseFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + public static com.google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment - prototype) { + public static Builder newBuilder(com.google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -4241,46 +3539,39 @@ protected Builder newBuilderForType( return builder; } /** - * - * *
        * A segment of a full transcript.
        * 
* - * Protobuf type {@code - * google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment} + * Protobuf type {@code google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment} */ - public static final class Builder - extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment) - com.google.cloud.contactcenterinsights.v1.Conversation.Transcript - .TranscriptSegmentOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.contactcenterinsights.v1.ResourcesProto - .internal_static_google_cloud_contactcenterinsights_v1_Conversation_Transcript_TranscriptSegment_descriptor; + com.google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegmentOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.contactcenterinsights.v1.ResourcesProto.internal_static_google_cloud_contactcenterinsights_v1_Conversation_Transcript_TranscriptSegment_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.contactcenterinsights.v1.ResourcesProto - .internal_static_google_cloud_contactcenterinsights_v1_Conversation_Transcript_TranscriptSegment_fieldAccessorTable + return com.google.cloud.contactcenterinsights.v1.ResourcesProto.internal_static_google_cloud_contactcenterinsights_v1_Conversation_Transcript_TranscriptSegment_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.contactcenterinsights.v1.Conversation.Transcript - .TranscriptSegment.class, - com.google.cloud.contactcenterinsights.v1.Conversation.Transcript - .TranscriptSegment.Builder.class); + com.google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment.class, com.google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment.Builder.class); } - // Construct using - // com.google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment.newBuilder() - private Builder() {} + // Construct using com.google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment.newBuilder() + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -4320,23 +3611,19 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.contactcenterinsights.v1.ResourcesProto - .internal_static_google_cloud_contactcenterinsights_v1_Conversation_Transcript_TranscriptSegment_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.contactcenterinsights.v1.ResourcesProto.internal_static_google_cloud_contactcenterinsights_v1_Conversation_Transcript_TranscriptSegment_descriptor; } @java.lang.Override - public com.google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment - getDefaultInstanceForType() { - return com.google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment - .getDefaultInstance(); + public com.google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment getDefaultInstanceForType() { + return com.google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment.getDefaultInstance(); } @java.lang.Override - public com.google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment - build() { - com.google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment - result = buildPartial(); + public com.google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment build() { + com.google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } @@ -4344,23 +3631,15 @@ public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { } @java.lang.Override - public com.google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment - buildPartial() { - com.google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment - result = - new com.google.cloud.contactcenterinsights.v1.Conversation.Transcript - .TranscriptSegment(this); + public com.google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment buildPartial() { + com.google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment result = new com.google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment(this); buildPartialRepeatedFields(result); - if (bitField0_ != 0) { - buildPartial0(result); - } + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } - private void buildPartialRepeatedFields( - com.google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment - result) { + private void buildPartialRepeatedFields(com.google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment result) { if (wordsBuilder_ == null) { if (((bitField0_ & 0x00000008) != 0)) { words_ = java.util.Collections.unmodifiableList(words_); @@ -4372,13 +3651,12 @@ private void buildPartialRepeatedFields( } } - private void buildPartial0( - com.google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment - result) { + private void buildPartial0(com.google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { - result.messageTime_ = - messageTimeBuilder_ == null ? messageTime_ : messageTimeBuilder_.build(); + result.messageTime_ = messageTimeBuilder_ == null + ? messageTime_ + : messageTimeBuilder_.build(); } if (((from_bitField0_ & 0x00000002) != 0)) { result.text_ = text_; @@ -4393,19 +3671,19 @@ private void buildPartial0( result.channelTag_ = channelTag_; } if (((from_bitField0_ & 0x00000040) != 0)) { - result.segmentParticipant_ = - segmentParticipantBuilder_ == null - ? segmentParticipant_ - : segmentParticipantBuilder_.build(); + result.segmentParticipant_ = segmentParticipantBuilder_ == null + ? segmentParticipant_ + : segmentParticipantBuilder_.build(); } if (((from_bitField0_ & 0x00000080) != 0)) { - result.dialogflowSegmentMetadata_ = - dialogflowSegmentMetadataBuilder_ == null - ? dialogflowSegmentMetadata_ - : dialogflowSegmentMetadataBuilder_.build(); + result.dialogflowSegmentMetadata_ = dialogflowSegmentMetadataBuilder_ == null + ? dialogflowSegmentMetadata_ + : dialogflowSegmentMetadataBuilder_.build(); } if (((from_bitField0_ & 0x00000100) != 0)) { - result.sentiment_ = sentimentBuilder_ == null ? sentiment_ : sentimentBuilder_.build(); + result.sentiment_ = sentimentBuilder_ == null + ? sentiment_ + : sentimentBuilder_.build(); } } @@ -4413,58 +3691,46 @@ private void buildPartial0( public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, - int index, - java.lang.Object value) { + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { - if (other - instanceof - com.google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment) { - return mergeFrom( - (com.google.cloud.contactcenterinsights.v1.Conversation.Transcript - .TranscriptSegment) - other); + if (other instanceof com.google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment) { + return mergeFrom((com.google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom( - com.google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment - other) { - if (other - == com.google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment - .getDefaultInstance()) return this; + public Builder mergeFrom(com.google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment other) { + if (other == com.google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment.getDefaultInstance()) return this; if (other.hasMessageTime()) { mergeMessageTime(other.getMessageTime()); } @@ -4494,10 +3760,9 @@ public Builder mergeFrom( wordsBuilder_ = null; words_ = other.words_; bitField0_ = (bitField0_ & ~0x00000008); - wordsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders - ? getWordsFieldBuilder() - : null; + wordsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getWordsFieldBuilder() : null; } else { wordsBuilder_.addAllMessages(other.words_); } @@ -4546,80 +3811,73 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - text_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000002; - break; - } // case 10 - case 21: - { - confidence_ = input.readFloat(); - bitField0_ |= 0x00000004; - break; - } // case 21 - case 26: - { - com.google.cloud.contactcenterinsights.v1.Conversation.Transcript - .TranscriptSegment.WordInfo - m = - input.readMessage( - com.google.cloud.contactcenterinsights.v1.Conversation.Transcript - .TranscriptSegment.WordInfo.parser(), - extensionRegistry); - if (wordsBuilder_ == null) { - ensureWordsIsMutable(); - words_.add(m); - } else { - wordsBuilder_.addMessage(m); - } - break; - } // case 26 - case 34: - { - languageCode_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000010; - break; - } // case 34 - case 40: - { - channelTag_ = input.readInt32(); - bitField0_ |= 0x00000020; - break; - } // case 40 - case 50: - { - input.readMessage(getMessageTimeFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00000001; - break; - } // case 50 - case 74: - { - input.readMessage( - getSegmentParticipantFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00000040; - break; - } // case 74 - case 82: - { - input.readMessage( - getDialogflowSegmentMetadataFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00000080; - break; - } // case 82 - case 90: - { - input.readMessage(getSentimentFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00000100; - break; - } // case 90 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + text_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + break; + } // case 10 + case 21: { + confidence_ = input.readFloat(); + bitField0_ |= 0x00000004; + break; + } // case 21 + case 26: { + com.google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment.WordInfo m = + input.readMessage( + com.google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment.WordInfo.parser(), + extensionRegistry); + if (wordsBuilder_ == null) { + ensureWordsIsMutable(); + words_.add(m); + } else { + wordsBuilder_.addMessage(m); + } + break; + } // case 26 + case 34: { + languageCode_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000010; + break; + } // case 34 + case 40: { + channelTag_ = input.readInt32(); + bitField0_ |= 0x00000020; + break; + } // case 40 + case 50: { + input.readMessage( + getMessageTimeFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00000001; + break; + } // case 50 + case 74: { + input.readMessage( + getSegmentParticipantFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00000040; + break; + } // case 74 + case 82: { + input.readMessage( + getDialogflowSegmentMetadataFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00000080; + break; + } // case 82 + case 90: { + input.readMessage( + getSentimentFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00000100; + break; + } // case 90 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -4629,52 +3887,38 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private com.google.protobuf.Timestamp messageTime_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> - messageTimeBuilder_; + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> messageTimeBuilder_; /** - * - * *
          * The time that the message occurred, if provided.
          * 
* * .google.protobuf.Timestamp message_time = 6; - * * @return Whether the messageTime field is set. */ public boolean hasMessageTime() { return ((bitField0_ & 0x00000001) != 0); } /** - * - * *
          * The time that the message occurred, if provided.
          * 
* * .google.protobuf.Timestamp message_time = 6; - * * @return The messageTime. */ public com.google.protobuf.Timestamp getMessageTime() { if (messageTimeBuilder_ == null) { - return messageTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : messageTime_; + return messageTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : messageTime_; } else { return messageTimeBuilder_.getMessage(); } } /** - * - * *
          * The time that the message occurred, if provided.
          * 
@@ -4695,15 +3939,14 @@ public Builder setMessageTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
          * The time that the message occurred, if provided.
          * 
* * .google.protobuf.Timestamp message_time = 6; */ - public Builder setMessageTime(com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setMessageTime( + com.google.protobuf.Timestamp.Builder builderForValue) { if (messageTimeBuilder_ == null) { messageTime_ = builderForValue.build(); } else { @@ -4714,8 +3957,6 @@ public Builder setMessageTime(com.google.protobuf.Timestamp.Builder builderForVa return this; } /** - * - * *
          * The time that the message occurred, if provided.
          * 
@@ -4724,9 +3965,9 @@ public Builder setMessageTime(com.google.protobuf.Timestamp.Builder builderForVa */ public Builder mergeMessageTime(com.google.protobuf.Timestamp value) { if (messageTimeBuilder_ == null) { - if (((bitField0_ & 0x00000001) != 0) - && messageTime_ != null - && messageTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { + if (((bitField0_ & 0x00000001) != 0) && + messageTime_ != null && + messageTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { getMessageTimeBuilder().mergeFrom(value); } else { messageTime_ = value; @@ -4739,8 +3980,6 @@ public Builder mergeMessageTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
          * The time that the message occurred, if provided.
          * 
@@ -4758,8 +3997,6 @@ public Builder clearMessageTime() { return this; } /** - * - * *
          * The time that the message occurred, if provided.
          * 
@@ -4772,8 +4009,6 @@ public com.google.protobuf.Timestamp.Builder getMessageTimeBuilder() { return getMessageTimeFieldBuilder().getBuilder(); } /** - * - * *
          * The time that the message occurred, if provided.
          * 
@@ -4784,14 +4019,11 @@ public com.google.protobuf.TimestampOrBuilder getMessageTimeOrBuilder() { if (messageTimeBuilder_ != null) { return messageTimeBuilder_.getMessageOrBuilder(); } else { - return messageTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : messageTime_; + return messageTime_ == null ? + com.google.protobuf.Timestamp.getDefaultInstance() : messageTime_; } } /** - * - * *
          * The time that the message occurred, if provided.
          * 
@@ -4799,17 +4031,14 @@ public com.google.protobuf.TimestampOrBuilder getMessageTimeOrBuilder() { * .google.protobuf.Timestamp message_time = 6; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> getMessageTimeFieldBuilder() { if (messageTimeBuilder_ == null) { - messageTimeBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder>( - getMessageTime(), getParentForChildren(), isClean()); + messageTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( + getMessageTime(), + getParentForChildren(), + isClean()); messageTime_ = null; } return messageTimeBuilder_; @@ -4817,20 +4046,18 @@ public com.google.protobuf.TimestampOrBuilder getMessageTimeOrBuilder() { private java.lang.Object text_ = ""; /** - * - * *
          * The text of this segment.
          * 
* * string text = 1; - * * @return The text. */ public java.lang.String getText() { java.lang.Object ref = text_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); text_ = s; return s; @@ -4839,21 +4066,20 @@ public java.lang.String getText() { } } /** - * - * *
          * The text of this segment.
          * 
* * string text = 1; - * * @return The bytes for text. */ - public com.google.protobuf.ByteString getTextBytes() { + public com.google.protobuf.ByteString + getTextBytes() { java.lang.Object ref = text_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); text_ = b; return b; } else { @@ -4861,35 +4087,28 @@ public com.google.protobuf.ByteString getTextBytes() { } } /** - * - * *
          * The text of this segment.
          * 
* * string text = 1; - * * @param value The text to set. * @return This builder for chaining. */ - public Builder setText(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setText( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } text_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** - * - * *
          * The text of this segment.
          * 
* * string text = 1; - * * @return This builder for chaining. */ public Builder clearText() { @@ -4899,21 +4118,17 @@ public Builder clearText() { return this; } /** - * - * *
          * The text of this segment.
          * 
* * string text = 1; - * * @param value The bytes for text to set. * @return This builder for chaining. */ - public Builder setTextBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setTextBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); text_ = value; bitField0_ |= 0x00000002; @@ -4921,17 +4136,14 @@ public Builder setTextBytes(com.google.protobuf.ByteString value) { return this; } - private float confidence_; + private float confidence_ ; /** - * - * *
          * A confidence estimate between 0.0 and 1.0 of the fidelity of this
          * segment. A default value of 0.0 indicates that the value is unset.
          * 
* * float confidence = 2; - * * @return The confidence. */ @java.lang.Override @@ -4939,35 +4151,29 @@ public float getConfidence() { return confidence_; } /** - * - * *
          * A confidence estimate between 0.0 and 1.0 of the fidelity of this
          * segment. A default value of 0.0 indicates that the value is unset.
          * 
* * float confidence = 2; - * * @param value The confidence to set. * @return This builder for chaining. */ public Builder setConfidence(float value) { - + confidence_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } /** - * - * *
          * A confidence estimate between 0.0 and 1.0 of the fidelity of this
          * segment. A default value of 0.0 indicates that the value is unset.
          * 
* * float confidence = 2; - * * @return This builder for chaining. */ public Builder clearConfidence() { @@ -4977,45 +4183,26 @@ public Builder clearConfidence() { return this; } - private java.util.List< - com.google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment - .WordInfo> - words_ = java.util.Collections.emptyList(); - + private java.util.List words_ = + java.util.Collections.emptyList(); private void ensureWordsIsMutable() { if (!((bitField0_ & 0x00000008) != 0)) { - words_ = - new java.util.ArrayList< - com.google.cloud.contactcenterinsights.v1.Conversation.Transcript - .TranscriptSegment.WordInfo>(words_); + words_ = new java.util.ArrayList(words_); bitField0_ |= 0x00000008; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment - .WordInfo, - com.google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment - .WordInfo.Builder, - com.google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment - .WordInfoOrBuilder> - wordsBuilder_; + com.google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment.WordInfo, com.google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment.WordInfo.Builder, com.google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment.WordInfoOrBuilder> wordsBuilder_; /** - * - * *
          * A list of the word-specific information for each word in the segment.
          * 
* - * - * repeated .google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment.WordInfo words = 3; - * + * repeated .google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment.WordInfo words = 3; */ - public java.util.List< - com.google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment - .WordInfo> - getWordsList() { + public java.util.List getWordsList() { if (wordsBuilder_ == null) { return java.util.Collections.unmodifiableList(words_); } else { @@ -5023,15 +4210,11 @@ private void ensureWordsIsMutable() { } } /** - * - * *
          * A list of the word-specific information for each word in the segment.
          * 
* - * - * repeated .google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment.WordInfo words = 3; - * + * repeated .google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment.WordInfo words = 3; */ public int getWordsCount() { if (wordsBuilder_ == null) { @@ -5041,19 +4224,13 @@ public int getWordsCount() { } } /** - * - * *
          * A list of the word-specific information for each word in the segment.
          * 
* - * - * repeated .google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment.WordInfo words = 3; - * + * repeated .google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment.WordInfo words = 3; */ - public com.google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment - .WordInfo - getWords(int index) { + public com.google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment.WordInfo getWords(int index) { if (wordsBuilder_ == null) { return words_.get(index); } else { @@ -5061,21 +4238,14 @@ public int getWordsCount() { } } /** - * - * *
          * A list of the word-specific information for each word in the segment.
          * 
* - * - * repeated .google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment.WordInfo words = 3; - * + * repeated .google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment.WordInfo words = 3; */ public Builder setWords( - int index, - com.google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment - .WordInfo - value) { + int index, com.google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment.WordInfo value) { if (wordsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -5089,21 +4259,14 @@ public Builder setWords( return this; } /** - * - * *
          * A list of the word-specific information for each word in the segment.
          * 
* - * - * repeated .google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment.WordInfo words = 3; - * + * repeated .google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment.WordInfo words = 3; */ public Builder setWords( - int index, - com.google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment - .WordInfo.Builder - builderForValue) { + int index, com.google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment.WordInfo.Builder builderForValue) { if (wordsBuilder_ == null) { ensureWordsIsMutable(); words_.set(index, builderForValue.build()); @@ -5114,20 +4277,13 @@ public Builder setWords( return this; } /** - * - * *
          * A list of the word-specific information for each word in the segment.
          * 
* - * - * repeated .google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment.WordInfo words = 3; - * + * repeated .google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment.WordInfo words = 3; */ - public Builder addWords( - com.google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment - .WordInfo - value) { + public Builder addWords(com.google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment.WordInfo value) { if (wordsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -5141,21 +4297,14 @@ public Builder addWords( return this; } /** - * - * *
          * A list of the word-specific information for each word in the segment.
          * 
* - * - * repeated .google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment.WordInfo words = 3; - * + * repeated .google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment.WordInfo words = 3; */ public Builder addWords( - int index, - com.google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment - .WordInfo - value) { + int index, com.google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment.WordInfo value) { if (wordsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -5169,20 +4318,14 @@ public Builder addWords( return this; } /** - * - * *
          * A list of the word-specific information for each word in the segment.
          * 
* - * - * repeated .google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment.WordInfo words = 3; - * + * repeated .google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment.WordInfo words = 3; */ public Builder addWords( - com.google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment - .WordInfo.Builder - builderForValue) { + com.google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment.WordInfo.Builder builderForValue) { if (wordsBuilder_ == null) { ensureWordsIsMutable(); words_.add(builderForValue.build()); @@ -5193,21 +4336,14 @@ public Builder addWords( return this; } /** - * - * *
          * A list of the word-specific information for each word in the segment.
          * 
* - * - * repeated .google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment.WordInfo words = 3; - * + * repeated .google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment.WordInfo words = 3; */ public Builder addWords( - int index, - com.google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment - .WordInfo.Builder - builderForValue) { + int index, com.google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment.WordInfo.Builder builderForValue) { if (wordsBuilder_ == null) { ensureWordsIsMutable(); words_.add(index, builderForValue.build()); @@ -5218,25 +4354,18 @@ public Builder addWords( return this; } /** - * - * *
          * A list of the word-specific information for each word in the segment.
          * 
* - * - * repeated .google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment.WordInfo words = 3; - * + * repeated .google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment.WordInfo words = 3; */ public Builder addAllWords( - java.lang.Iterable< - ? extends - com.google.cloud.contactcenterinsights.v1.Conversation.Transcript - .TranscriptSegment.WordInfo> - values) { + java.lang.Iterable values) { if (wordsBuilder_ == null) { ensureWordsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, words_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, words_); onChanged(); } else { wordsBuilder_.addAllMessages(values); @@ -5244,15 +4373,11 @@ public Builder addAllWords( return this; } /** - * - * *
          * A list of the word-specific information for each word in the segment.
          * 
* - * - * repeated .google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment.WordInfo words = 3; - * + * repeated .google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment.WordInfo words = 3; */ public Builder clearWords() { if (wordsBuilder_ == null) { @@ -5265,15 +4390,11 @@ public Builder clearWords() { return this; } /** - * - * *
          * A list of the word-specific information for each word in the segment.
          * 
* - * - * repeated .google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment.WordInfo words = 3; - * + * repeated .google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment.WordInfo words = 3; */ public Builder removeWords(int index) { if (wordsBuilder_ == null) { @@ -5286,57 +4407,39 @@ public Builder removeWords(int index) { return this; } /** - * - * *
          * A list of the word-specific information for each word in the segment.
          * 
* - * - * repeated .google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment.WordInfo words = 3; - * + * repeated .google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment.WordInfo words = 3; */ - public com.google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment - .WordInfo.Builder - getWordsBuilder(int index) { + public com.google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment.WordInfo.Builder getWordsBuilder( + int index) { return getWordsFieldBuilder().getBuilder(index); } /** - * - * *
          * A list of the word-specific information for each word in the segment.
          * 
* - * - * repeated .google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment.WordInfo words = 3; - * + * repeated .google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment.WordInfo words = 3; */ - public com.google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment - .WordInfoOrBuilder - getWordsOrBuilder(int index) { + public com.google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment.WordInfoOrBuilder getWordsOrBuilder( + int index) { if (wordsBuilder_ == null) { - return words_.get(index); - } else { + return words_.get(index); } else { return wordsBuilder_.getMessageOrBuilder(index); } } /** - * - * *
          * A list of the word-specific information for each word in the segment.
          * 
* - * - * repeated .google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment.WordInfo words = 3; - * + * repeated .google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment.WordInfo words = 3; */ - public java.util.List< - ? extends - com.google.cloud.contactcenterinsights.v1.Conversation.Transcript - .TranscriptSegment.WordInfoOrBuilder> - getWordsOrBuilderList() { + public java.util.List + getWordsOrBuilderList() { if (wordsBuilder_ != null) { return wordsBuilder_.getMessageOrBuilderList(); } else { @@ -5344,80 +4447,49 @@ public Builder removeWords(int index) { } } /** - * - * *
          * A list of the word-specific information for each word in the segment.
          * 
* - * - * repeated .google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment.WordInfo words = 3; - * + * repeated .google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment.WordInfo words = 3; */ - public com.google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment - .WordInfo.Builder - addWordsBuilder() { - return getWordsFieldBuilder() - .addBuilder( - com.google.cloud.contactcenterinsights.v1.Conversation.Transcript - .TranscriptSegment.WordInfo.getDefaultInstance()); + public com.google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment.WordInfo.Builder addWordsBuilder() { + return getWordsFieldBuilder().addBuilder( + com.google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment.WordInfo.getDefaultInstance()); } /** - * - * *
          * A list of the word-specific information for each word in the segment.
          * 
* - * - * repeated .google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment.WordInfo words = 3; - * + * repeated .google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment.WordInfo words = 3; */ - public com.google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment - .WordInfo.Builder - addWordsBuilder(int index) { - return getWordsFieldBuilder() - .addBuilder( - index, - com.google.cloud.contactcenterinsights.v1.Conversation.Transcript - .TranscriptSegment.WordInfo.getDefaultInstance()); + public com.google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment.WordInfo.Builder addWordsBuilder( + int index) { + return getWordsFieldBuilder().addBuilder( + index, com.google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment.WordInfo.getDefaultInstance()); } /** - * - * *
          * A list of the word-specific information for each word in the segment.
          * 
* - * - * repeated .google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment.WordInfo words = 3; - * + * repeated .google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment.WordInfo words = 3; */ - public java.util.List< - com.google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment - .WordInfo.Builder> - getWordsBuilderList() { + public java.util.List + getWordsBuilderList() { return getWordsFieldBuilder().getBuilderList(); } - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment - .WordInfo, - com.google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment - .WordInfo.Builder, - com.google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment - .WordInfoOrBuilder> + com.google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment.WordInfo, com.google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment.WordInfo.Builder, com.google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment.WordInfoOrBuilder> getWordsFieldBuilder() { if (wordsBuilder_ == null) { - wordsBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.contactcenterinsights.v1.Conversation.Transcript - .TranscriptSegment.WordInfo, - com.google.cloud.contactcenterinsights.v1.Conversation.Transcript - .TranscriptSegment.WordInfo.Builder, - com.google.cloud.contactcenterinsights.v1.Conversation.Transcript - .TranscriptSegment.WordInfoOrBuilder>( - words_, ((bitField0_ & 0x00000008) != 0), getParentForChildren(), isClean()); + wordsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment.WordInfo, com.google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment.WordInfo.Builder, com.google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment.WordInfoOrBuilder>( + words_, + ((bitField0_ & 0x00000008) != 0), + getParentForChildren(), + isClean()); words_ = null; } return wordsBuilder_; @@ -5425,8 +4497,6 @@ public Builder removeWords(int index) { private java.lang.Object languageCode_ = ""; /** - * - * *
          * The language code of this segment as a
          * [BCP-47](https://www.rfc-editor.org/rfc/bcp/bcp47.txt) language tag.
@@ -5434,13 +4504,13 @@ public Builder removeWords(int index) {
          * 
* * string language_code = 4; - * * @return The languageCode. */ public java.lang.String getLanguageCode() { java.lang.Object ref = languageCode_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); languageCode_ = s; return s; @@ -5449,8 +4519,6 @@ public java.lang.String getLanguageCode() { } } /** - * - * *
          * The language code of this segment as a
          * [BCP-47](https://www.rfc-editor.org/rfc/bcp/bcp47.txt) language tag.
@@ -5458,14 +4526,15 @@ public java.lang.String getLanguageCode() {
          * 
* * string language_code = 4; - * * @return The bytes for languageCode. */ - public com.google.protobuf.ByteString getLanguageCodeBytes() { + public com.google.protobuf.ByteString + getLanguageCodeBytes() { java.lang.Object ref = languageCode_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); languageCode_ = b; return b; } else { @@ -5473,8 +4542,6 @@ public com.google.protobuf.ByteString getLanguageCodeBytes() { } } /** - * - * *
          * The language code of this segment as a
          * [BCP-47](https://www.rfc-editor.org/rfc/bcp/bcp47.txt) language tag.
@@ -5482,22 +4549,18 @@ public com.google.protobuf.ByteString getLanguageCodeBytes() {
          * 
* * string language_code = 4; - * * @param value The languageCode to set. * @return This builder for chaining. */ - public Builder setLanguageCode(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setLanguageCode( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } languageCode_ = value; bitField0_ |= 0x00000010; onChanged(); return this; } /** - * - * *
          * The language code of this segment as a
          * [BCP-47](https://www.rfc-editor.org/rfc/bcp/bcp47.txt) language tag.
@@ -5505,7 +4568,6 @@ public Builder setLanguageCode(java.lang.String value) {
          * 
* * string language_code = 4; - * * @return This builder for chaining. */ public Builder clearLanguageCode() { @@ -5515,8 +4577,6 @@ public Builder clearLanguageCode() { return this; } /** - * - * *
          * The language code of this segment as a
          * [BCP-47](https://www.rfc-editor.org/rfc/bcp/bcp47.txt) language tag.
@@ -5524,14 +4584,12 @@ public Builder clearLanguageCode() {
          * 
* * string language_code = 4; - * * @param value The bytes for languageCode to set. * @return This builder for chaining. */ - public Builder setLanguageCodeBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setLanguageCodeBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); languageCode_ = value; bitField0_ |= 0x00000010; @@ -5539,10 +4597,8 @@ public Builder setLanguageCodeBytes(com.google.protobuf.ByteString value) { return this; } - private int channelTag_; + private int channelTag_ ; /** - * - * *
          * For conversations derived from multi-channel audio, this is the channel
          * number corresponding to the audio from that channel. For
@@ -5551,7 +4607,6 @@ public Builder setLanguageCodeBytes(com.google.protobuf.ByteString value) {
          * 
* * int32 channel_tag = 5; - * * @return The channelTag. */ @java.lang.Override @@ -5559,8 +4614,6 @@ public int getChannelTag() { return channelTag_; } /** - * - * *
          * For conversations derived from multi-channel audio, this is the channel
          * number corresponding to the audio from that channel. For
@@ -5569,20 +4622,17 @@ public int getChannelTag() {
          * 
* * int32 channel_tag = 5; - * * @param value The channelTag to set. * @return This builder for chaining. */ public Builder setChannelTag(int value) { - + channelTag_ = value; bitField0_ |= 0x00000020; onChanged(); return this; } /** - * - * *
          * For conversations derived from multi-channel audio, this is the channel
          * number corresponding to the audio from that channel. For
@@ -5591,7 +4641,6 @@ public Builder setChannelTag(int value) {
          * 
* * int32 channel_tag = 5; - * * @return This builder for chaining. */ public Builder clearChannelTag() { @@ -5601,66 +4650,43 @@ public Builder clearChannelTag() { return this; } - private com.google.cloud.contactcenterinsights.v1.ConversationParticipant - segmentParticipant_; + private com.google.cloud.contactcenterinsights.v1.ConversationParticipant segmentParticipant_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.contactcenterinsights.v1.ConversationParticipant, - com.google.cloud.contactcenterinsights.v1.ConversationParticipant.Builder, - com.google.cloud.contactcenterinsights.v1.ConversationParticipantOrBuilder> - segmentParticipantBuilder_; + com.google.cloud.contactcenterinsights.v1.ConversationParticipant, com.google.cloud.contactcenterinsights.v1.ConversationParticipant.Builder, com.google.cloud.contactcenterinsights.v1.ConversationParticipantOrBuilder> segmentParticipantBuilder_; /** - * - * *
          * The participant of this segment.
          * 
* - * - * .google.cloud.contactcenterinsights.v1.ConversationParticipant segment_participant = 9; - * - * + * .google.cloud.contactcenterinsights.v1.ConversationParticipant segment_participant = 9; * @return Whether the segmentParticipant field is set. */ public boolean hasSegmentParticipant() { return ((bitField0_ & 0x00000040) != 0); } /** - * - * *
          * The participant of this segment.
          * 
* - * - * .google.cloud.contactcenterinsights.v1.ConversationParticipant segment_participant = 9; - * - * + * .google.cloud.contactcenterinsights.v1.ConversationParticipant segment_participant = 9; * @return The segmentParticipant. */ - public com.google.cloud.contactcenterinsights.v1.ConversationParticipant - getSegmentParticipant() { + public com.google.cloud.contactcenterinsights.v1.ConversationParticipant getSegmentParticipant() { if (segmentParticipantBuilder_ == null) { - return segmentParticipant_ == null - ? com.google.cloud.contactcenterinsights.v1.ConversationParticipant - .getDefaultInstance() - : segmentParticipant_; + return segmentParticipant_ == null ? com.google.cloud.contactcenterinsights.v1.ConversationParticipant.getDefaultInstance() : segmentParticipant_; } else { return segmentParticipantBuilder_.getMessage(); } } /** - * - * *
          * The participant of this segment.
          * 
* - * - * .google.cloud.contactcenterinsights.v1.ConversationParticipant segment_participant = 9; - * + * .google.cloud.contactcenterinsights.v1.ConversationParticipant segment_participant = 9; */ - public Builder setSegmentParticipant( - com.google.cloud.contactcenterinsights.v1.ConversationParticipant value) { + public Builder setSegmentParticipant(com.google.cloud.contactcenterinsights.v1.ConversationParticipant value) { if (segmentParticipantBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -5674,19 +4700,14 @@ public Builder setSegmentParticipant( return this; } /** - * - * *
          * The participant of this segment.
          * 
* - * - * .google.cloud.contactcenterinsights.v1.ConversationParticipant segment_participant = 9; - * + * .google.cloud.contactcenterinsights.v1.ConversationParticipant segment_participant = 9; */ public Builder setSegmentParticipant( - com.google.cloud.contactcenterinsights.v1.ConversationParticipant.Builder - builderForValue) { + com.google.cloud.contactcenterinsights.v1.ConversationParticipant.Builder builderForValue) { if (segmentParticipantBuilder_ == null) { segmentParticipant_ = builderForValue.build(); } else { @@ -5697,24 +4718,17 @@ public Builder setSegmentParticipant( return this; } /** - * - * *
          * The participant of this segment.
          * 
* - * - * .google.cloud.contactcenterinsights.v1.ConversationParticipant segment_participant = 9; - * + * .google.cloud.contactcenterinsights.v1.ConversationParticipant segment_participant = 9; */ - public Builder mergeSegmentParticipant( - com.google.cloud.contactcenterinsights.v1.ConversationParticipant value) { + public Builder mergeSegmentParticipant(com.google.cloud.contactcenterinsights.v1.ConversationParticipant value) { if (segmentParticipantBuilder_ == null) { - if (((bitField0_ & 0x00000040) != 0) - && segmentParticipant_ != null - && segmentParticipant_ - != com.google.cloud.contactcenterinsights.v1.ConversationParticipant - .getDefaultInstance()) { + if (((bitField0_ & 0x00000040) != 0) && + segmentParticipant_ != null && + segmentParticipant_ != com.google.cloud.contactcenterinsights.v1.ConversationParticipant.getDefaultInstance()) { getSegmentParticipantBuilder().mergeFrom(value); } else { segmentParticipant_ = value; @@ -5727,15 +4741,11 @@ public Builder mergeSegmentParticipant( return this; } /** - * - * *
          * The participant of this segment.
          * 
* - * - * .google.cloud.contactcenterinsights.v1.ConversationParticipant segment_participant = 9; - * + * .google.cloud.contactcenterinsights.v1.ConversationParticipant segment_participant = 9; */ public Builder clearSegmentParticipant() { bitField0_ = (bitField0_ & ~0x00000040); @@ -5748,139 +4758,90 @@ public Builder clearSegmentParticipant() { return this; } /** - * - * *
          * The participant of this segment.
          * 
* - * - * .google.cloud.contactcenterinsights.v1.ConversationParticipant segment_participant = 9; - * + * .google.cloud.contactcenterinsights.v1.ConversationParticipant segment_participant = 9; */ - public com.google.cloud.contactcenterinsights.v1.ConversationParticipant.Builder - getSegmentParticipantBuilder() { + public com.google.cloud.contactcenterinsights.v1.ConversationParticipant.Builder getSegmentParticipantBuilder() { bitField0_ |= 0x00000040; onChanged(); return getSegmentParticipantFieldBuilder().getBuilder(); } /** - * - * *
          * The participant of this segment.
          * 
* - * - * .google.cloud.contactcenterinsights.v1.ConversationParticipant segment_participant = 9; - * + * .google.cloud.contactcenterinsights.v1.ConversationParticipant segment_participant = 9; */ - public com.google.cloud.contactcenterinsights.v1.ConversationParticipantOrBuilder - getSegmentParticipantOrBuilder() { + public com.google.cloud.contactcenterinsights.v1.ConversationParticipantOrBuilder getSegmentParticipantOrBuilder() { if (segmentParticipantBuilder_ != null) { return segmentParticipantBuilder_.getMessageOrBuilder(); } else { - return segmentParticipant_ == null - ? com.google.cloud.contactcenterinsights.v1.ConversationParticipant - .getDefaultInstance() - : segmentParticipant_; + return segmentParticipant_ == null ? + com.google.cloud.contactcenterinsights.v1.ConversationParticipant.getDefaultInstance() : segmentParticipant_; } } /** - * - * *
          * The participant of this segment.
          * 
* - * - * .google.cloud.contactcenterinsights.v1.ConversationParticipant segment_participant = 9; - * + * .google.cloud.contactcenterinsights.v1.ConversationParticipant segment_participant = 9; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.contactcenterinsights.v1.ConversationParticipant, - com.google.cloud.contactcenterinsights.v1.ConversationParticipant.Builder, - com.google.cloud.contactcenterinsights.v1.ConversationParticipantOrBuilder> + com.google.cloud.contactcenterinsights.v1.ConversationParticipant, com.google.cloud.contactcenterinsights.v1.ConversationParticipant.Builder, com.google.cloud.contactcenterinsights.v1.ConversationParticipantOrBuilder> getSegmentParticipantFieldBuilder() { if (segmentParticipantBuilder_ == null) { - segmentParticipantBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.contactcenterinsights.v1.ConversationParticipant, - com.google.cloud.contactcenterinsights.v1.ConversationParticipant.Builder, - com.google.cloud.contactcenterinsights.v1.ConversationParticipantOrBuilder>( - getSegmentParticipant(), getParentForChildren(), isClean()); + segmentParticipantBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.contactcenterinsights.v1.ConversationParticipant, com.google.cloud.contactcenterinsights.v1.ConversationParticipant.Builder, com.google.cloud.contactcenterinsights.v1.ConversationParticipantOrBuilder>( + getSegmentParticipant(), + getParentForChildren(), + isClean()); segmentParticipant_ = null; } return segmentParticipantBuilder_; } - private com.google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment - .DialogflowSegmentMetadata - dialogflowSegmentMetadata_; + private com.google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment.DialogflowSegmentMetadata dialogflowSegmentMetadata_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment - .DialogflowSegmentMetadata, - com.google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment - .DialogflowSegmentMetadata.Builder, - com.google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment - .DialogflowSegmentMetadataOrBuilder> - dialogflowSegmentMetadataBuilder_; + com.google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment.DialogflowSegmentMetadata, com.google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment.DialogflowSegmentMetadata.Builder, com.google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment.DialogflowSegmentMetadataOrBuilder> dialogflowSegmentMetadataBuilder_; /** - * - * *
          * CCAI metadata relating to the current transcript segment.
          * 
* - * - * .google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment.DialogflowSegmentMetadata dialogflow_segment_metadata = 10; - * - * + * .google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment.DialogflowSegmentMetadata dialogflow_segment_metadata = 10; * @return Whether the dialogflowSegmentMetadata field is set. */ public boolean hasDialogflowSegmentMetadata() { return ((bitField0_ & 0x00000080) != 0); } /** - * - * *
          * CCAI metadata relating to the current transcript segment.
          * 
* - * - * .google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment.DialogflowSegmentMetadata dialogflow_segment_metadata = 10; - * - * + * .google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment.DialogflowSegmentMetadata dialogflow_segment_metadata = 10; * @return The dialogflowSegmentMetadata. */ - public com.google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment - .DialogflowSegmentMetadata - getDialogflowSegmentMetadata() { + public com.google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment.DialogflowSegmentMetadata getDialogflowSegmentMetadata() { if (dialogflowSegmentMetadataBuilder_ == null) { - return dialogflowSegmentMetadata_ == null - ? com.google.cloud.contactcenterinsights.v1.Conversation.Transcript - .TranscriptSegment.DialogflowSegmentMetadata.getDefaultInstance() - : dialogflowSegmentMetadata_; + return dialogflowSegmentMetadata_ == null ? com.google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment.DialogflowSegmentMetadata.getDefaultInstance() : dialogflowSegmentMetadata_; } else { return dialogflowSegmentMetadataBuilder_.getMessage(); } } /** - * - * *
          * CCAI metadata relating to the current transcript segment.
          * 
* - * - * .google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment.DialogflowSegmentMetadata dialogflow_segment_metadata = 10; - * + * .google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment.DialogflowSegmentMetadata dialogflow_segment_metadata = 10; */ - public Builder setDialogflowSegmentMetadata( - com.google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment - .DialogflowSegmentMetadata - value) { + public Builder setDialogflowSegmentMetadata(com.google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment.DialogflowSegmentMetadata value) { if (dialogflowSegmentMetadataBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -5894,20 +4855,14 @@ public Builder setDialogflowSegmentMetadata( return this; } /** - * - * *
          * CCAI metadata relating to the current transcript segment.
          * 
* - * - * .google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment.DialogflowSegmentMetadata dialogflow_segment_metadata = 10; - * + * .google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment.DialogflowSegmentMetadata dialogflow_segment_metadata = 10; */ public Builder setDialogflowSegmentMetadata( - com.google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment - .DialogflowSegmentMetadata.Builder - builderForValue) { + com.google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment.DialogflowSegmentMetadata.Builder builderForValue) { if (dialogflowSegmentMetadataBuilder_ == null) { dialogflowSegmentMetadata_ = builderForValue.build(); } else { @@ -5918,26 +4873,17 @@ public Builder setDialogflowSegmentMetadata( return this; } /** - * - * *
          * CCAI metadata relating to the current transcript segment.
          * 
* - * - * .google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment.DialogflowSegmentMetadata dialogflow_segment_metadata = 10; - * + * .google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment.DialogflowSegmentMetadata dialogflow_segment_metadata = 10; */ - public Builder mergeDialogflowSegmentMetadata( - com.google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment - .DialogflowSegmentMetadata - value) { + public Builder mergeDialogflowSegmentMetadata(com.google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment.DialogflowSegmentMetadata value) { if (dialogflowSegmentMetadataBuilder_ == null) { - if (((bitField0_ & 0x00000080) != 0) - && dialogflowSegmentMetadata_ != null - && dialogflowSegmentMetadata_ - != com.google.cloud.contactcenterinsights.v1.Conversation.Transcript - .TranscriptSegment.DialogflowSegmentMetadata.getDefaultInstance()) { + if (((bitField0_ & 0x00000080) != 0) && + dialogflowSegmentMetadata_ != null && + dialogflowSegmentMetadata_ != com.google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment.DialogflowSegmentMetadata.getDefaultInstance()) { getDialogflowSegmentMetadataBuilder().mergeFrom(value); } else { dialogflowSegmentMetadata_ = value; @@ -5950,15 +4896,11 @@ public Builder mergeDialogflowSegmentMetadata( return this; } /** - * - * *
          * CCAI metadata relating to the current transcript segment.
          * 
* - * - * .google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment.DialogflowSegmentMetadata dialogflow_segment_metadata = 10; - * + * .google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment.DialogflowSegmentMetadata dialogflow_segment_metadata = 10; */ public Builder clearDialogflowSegmentMetadata() { bitField0_ = (bitField0_ & ~0x00000080); @@ -5971,75 +4913,48 @@ public Builder clearDialogflowSegmentMetadata() { return this; } /** - * - * *
          * CCAI metadata relating to the current transcript segment.
          * 
* - * - * .google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment.DialogflowSegmentMetadata dialogflow_segment_metadata = 10; - * + * .google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment.DialogflowSegmentMetadata dialogflow_segment_metadata = 10; */ - public com.google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment - .DialogflowSegmentMetadata.Builder - getDialogflowSegmentMetadataBuilder() { + public com.google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment.DialogflowSegmentMetadata.Builder getDialogflowSegmentMetadataBuilder() { bitField0_ |= 0x00000080; onChanged(); return getDialogflowSegmentMetadataFieldBuilder().getBuilder(); } /** - * - * *
          * CCAI metadata relating to the current transcript segment.
          * 
* - * - * .google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment.DialogflowSegmentMetadata dialogflow_segment_metadata = 10; - * + * .google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment.DialogflowSegmentMetadata dialogflow_segment_metadata = 10; */ - public com.google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment - .DialogflowSegmentMetadataOrBuilder - getDialogflowSegmentMetadataOrBuilder() { + public com.google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment.DialogflowSegmentMetadataOrBuilder getDialogflowSegmentMetadataOrBuilder() { if (dialogflowSegmentMetadataBuilder_ != null) { return dialogflowSegmentMetadataBuilder_.getMessageOrBuilder(); } else { - return dialogflowSegmentMetadata_ == null - ? com.google.cloud.contactcenterinsights.v1.Conversation.Transcript - .TranscriptSegment.DialogflowSegmentMetadata.getDefaultInstance() - : dialogflowSegmentMetadata_; + return dialogflowSegmentMetadata_ == null ? + com.google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment.DialogflowSegmentMetadata.getDefaultInstance() : dialogflowSegmentMetadata_; } } /** - * - * *
          * CCAI metadata relating to the current transcript segment.
          * 
* - * - * .google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment.DialogflowSegmentMetadata dialogflow_segment_metadata = 10; - * + * .google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment.DialogflowSegmentMetadata dialogflow_segment_metadata = 10; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment - .DialogflowSegmentMetadata, - com.google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment - .DialogflowSegmentMetadata.Builder, - com.google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment - .DialogflowSegmentMetadataOrBuilder> + com.google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment.DialogflowSegmentMetadata, com.google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment.DialogflowSegmentMetadata.Builder, com.google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment.DialogflowSegmentMetadataOrBuilder> getDialogflowSegmentMetadataFieldBuilder() { if (dialogflowSegmentMetadataBuilder_ == null) { - dialogflowSegmentMetadataBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.contactcenterinsights.v1.Conversation.Transcript - .TranscriptSegment.DialogflowSegmentMetadata, - com.google.cloud.contactcenterinsights.v1.Conversation.Transcript - .TranscriptSegment.DialogflowSegmentMetadata.Builder, - com.google.cloud.contactcenterinsights.v1.Conversation.Transcript - .TranscriptSegment.DialogflowSegmentMetadataOrBuilder>( - getDialogflowSegmentMetadata(), getParentForChildren(), isClean()); + dialogflowSegmentMetadataBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment.DialogflowSegmentMetadata, com.google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment.DialogflowSegmentMetadata.Builder, com.google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment.DialogflowSegmentMetadataOrBuilder>( + getDialogflowSegmentMetadata(), + getParentForChildren(), + isClean()); dialogflowSegmentMetadata_ = null; } return dialogflowSegmentMetadataBuilder_; @@ -6047,47 +4962,34 @@ public Builder clearDialogflowSegmentMetadata() { private com.google.cloud.contactcenterinsights.v1.SentimentData sentiment_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.contactcenterinsights.v1.SentimentData, - com.google.cloud.contactcenterinsights.v1.SentimentData.Builder, - com.google.cloud.contactcenterinsights.v1.SentimentDataOrBuilder> - sentimentBuilder_; + com.google.cloud.contactcenterinsights.v1.SentimentData, com.google.cloud.contactcenterinsights.v1.SentimentData.Builder, com.google.cloud.contactcenterinsights.v1.SentimentDataOrBuilder> sentimentBuilder_; /** - * - * *
          * The sentiment for this transcript segment.
          * 
* * .google.cloud.contactcenterinsights.v1.SentimentData sentiment = 11; - * * @return Whether the sentiment field is set. */ public boolean hasSentiment() { return ((bitField0_ & 0x00000100) != 0); } /** - * - * *
          * The sentiment for this transcript segment.
          * 
* * .google.cloud.contactcenterinsights.v1.SentimentData sentiment = 11; - * * @return The sentiment. */ public com.google.cloud.contactcenterinsights.v1.SentimentData getSentiment() { if (sentimentBuilder_ == null) { - return sentiment_ == null - ? com.google.cloud.contactcenterinsights.v1.SentimentData.getDefaultInstance() - : sentiment_; + return sentiment_ == null ? com.google.cloud.contactcenterinsights.v1.SentimentData.getDefaultInstance() : sentiment_; } else { return sentimentBuilder_.getMessage(); } } /** - * - * *
          * The sentiment for this transcript segment.
          * 
@@ -6108,8 +5010,6 @@ public Builder setSentiment(com.google.cloud.contactcenterinsights.v1.SentimentD return this; } /** - * - * *
          * The sentiment for this transcript segment.
          * 
@@ -6128,22 +5028,17 @@ public Builder setSentiment( return this; } /** - * - * *
          * The sentiment for this transcript segment.
          * 
* * .google.cloud.contactcenterinsights.v1.SentimentData sentiment = 11; */ - public Builder mergeSentiment( - com.google.cloud.contactcenterinsights.v1.SentimentData value) { + public Builder mergeSentiment(com.google.cloud.contactcenterinsights.v1.SentimentData value) { if (sentimentBuilder_ == null) { - if (((bitField0_ & 0x00000100) != 0) - && sentiment_ != null - && sentiment_ - != com.google.cloud.contactcenterinsights.v1.SentimentData - .getDefaultInstance()) { + if (((bitField0_ & 0x00000100) != 0) && + sentiment_ != null && + sentiment_ != com.google.cloud.contactcenterinsights.v1.SentimentData.getDefaultInstance()) { getSentimentBuilder().mergeFrom(value); } else { sentiment_ = value; @@ -6156,8 +5051,6 @@ public Builder mergeSentiment( return this; } /** - * - * *
          * The sentiment for this transcript segment.
          * 
@@ -6175,42 +5068,33 @@ public Builder clearSentiment() { return this; } /** - * - * *
          * The sentiment for this transcript segment.
          * 
* * .google.cloud.contactcenterinsights.v1.SentimentData sentiment = 11; */ - public com.google.cloud.contactcenterinsights.v1.SentimentData.Builder - getSentimentBuilder() { + public com.google.cloud.contactcenterinsights.v1.SentimentData.Builder getSentimentBuilder() { bitField0_ |= 0x00000100; onChanged(); return getSentimentFieldBuilder().getBuilder(); } /** - * - * *
          * The sentiment for this transcript segment.
          * 
* * .google.cloud.contactcenterinsights.v1.SentimentData sentiment = 11; */ - public com.google.cloud.contactcenterinsights.v1.SentimentDataOrBuilder - getSentimentOrBuilder() { + public com.google.cloud.contactcenterinsights.v1.SentimentDataOrBuilder getSentimentOrBuilder() { if (sentimentBuilder_ != null) { return sentimentBuilder_.getMessageOrBuilder(); } else { - return sentiment_ == null - ? com.google.cloud.contactcenterinsights.v1.SentimentData.getDefaultInstance() - : sentiment_; + return sentiment_ == null ? + com.google.cloud.contactcenterinsights.v1.SentimentData.getDefaultInstance() : sentiment_; } } /** - * - * *
          * The sentiment for this transcript segment.
          * 
@@ -6218,22 +5102,18 @@ public Builder clearSentiment() { * .google.cloud.contactcenterinsights.v1.SentimentData sentiment = 11; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.contactcenterinsights.v1.SentimentData, - com.google.cloud.contactcenterinsights.v1.SentimentData.Builder, - com.google.cloud.contactcenterinsights.v1.SentimentDataOrBuilder> + com.google.cloud.contactcenterinsights.v1.SentimentData, com.google.cloud.contactcenterinsights.v1.SentimentData.Builder, com.google.cloud.contactcenterinsights.v1.SentimentDataOrBuilder> getSentimentFieldBuilder() { if (sentimentBuilder_ == null) { - sentimentBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.contactcenterinsights.v1.SentimentData, - com.google.cloud.contactcenterinsights.v1.SentimentData.Builder, - com.google.cloud.contactcenterinsights.v1.SentimentDataOrBuilder>( - getSentiment(), getParentForChildren(), isClean()); + sentimentBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.contactcenterinsights.v1.SentimentData, com.google.cloud.contactcenterinsights.v1.SentimentData.Builder, com.google.cloud.contactcenterinsights.v1.SentimentDataOrBuilder>( + getSentiment(), + getParentForChildren(), + isClean()); sentiment_ = null; } return sentimentBuilder_; } - @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -6246,48 +5126,41 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment) } // @@protoc_insertion_point(class_scope:google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment) - private static final com.google.cloud.contactcenterinsights.v1.Conversation.Transcript - .TranscriptSegment - DEFAULT_INSTANCE; - + private static final com.google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment DEFAULT_INSTANCE; static { - DEFAULT_INSTANCE = - new com.google.cloud.contactcenterinsights.v1.Conversation.Transcript - .TranscriptSegment(); + DEFAULT_INSTANCE = new com.google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment(); } - public static com.google.cloud.contactcenterinsights.v1.Conversation.Transcript - .TranscriptSegment - getDefaultInstance() { + public static com.google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public TranscriptSegment parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException() - .setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public TranscriptSegment parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -6299,105 +5172,74 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment - getDefaultInstanceForType() { + public com.google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } public static final int TRANSCRIPT_SEGMENTS_FIELD_NUMBER = 1; - @SuppressWarnings("serial") - private java.util.List< - com.google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment> - transcriptSegments_; + private java.util.List transcriptSegments_; /** - * - * *
      * A list of sequential transcript segments that comprise the conversation.
      * 
* - * - * repeated .google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment transcript_segments = 1; - * + * repeated .google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment transcript_segments = 1; */ @java.lang.Override - public java.util.List< - com.google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment> - getTranscriptSegmentsList() { + public java.util.List getTranscriptSegmentsList() { return transcriptSegments_; } /** - * - * *
      * A list of sequential transcript segments that comprise the conversation.
      * 
* - * - * repeated .google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment transcript_segments = 1; - * + * repeated .google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment transcript_segments = 1; */ @java.lang.Override - public java.util.List< - ? extends - com.google.cloud.contactcenterinsights.v1.Conversation.Transcript - .TranscriptSegmentOrBuilder> + public java.util.List getTranscriptSegmentsOrBuilderList() { return transcriptSegments_; } /** - * - * *
      * A list of sequential transcript segments that comprise the conversation.
      * 
* - * - * repeated .google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment transcript_segments = 1; - * + * repeated .google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment transcript_segments = 1; */ @java.lang.Override public int getTranscriptSegmentsCount() { return transcriptSegments_.size(); } /** - * - * *
      * A list of sequential transcript segments that comprise the conversation.
      * 
* - * - * repeated .google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment transcript_segments = 1; - * + * repeated .google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment transcript_segments = 1; */ @java.lang.Override - public com.google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment - getTranscriptSegments(int index) { + public com.google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment getTranscriptSegments(int index) { return transcriptSegments_.get(index); } /** - * - * *
      * A list of sequential transcript segments that comprise the conversation.
      * 
* - * - * repeated .google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment transcript_segments = 1; - * + * repeated .google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment transcript_segments = 1; */ @java.lang.Override - public com.google.cloud.contactcenterinsights.v1.Conversation.Transcript - .TranscriptSegmentOrBuilder - getTranscriptSegmentsOrBuilder(int index) { + public com.google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegmentOrBuilder getTranscriptSegmentsOrBuilder( + int index) { return transcriptSegments_.get(index); } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -6409,7 +5251,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { for (int i = 0; i < transcriptSegments_.size(); i++) { output.writeMessage(1, transcriptSegments_.get(i)); } @@ -6423,8 +5266,8 @@ public int getSerializedSize() { size = 0; for (int i = 0; i < transcriptSegments_.size(); i++) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize(1, transcriptSegments_.get(i)); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, transcriptSegments_.get(i)); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -6434,15 +5277,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.contactcenterinsights.v1.Conversation.Transcript)) { return super.equals(obj); } - com.google.cloud.contactcenterinsights.v1.Conversation.Transcript other = - (com.google.cloud.contactcenterinsights.v1.Conversation.Transcript) obj; + com.google.cloud.contactcenterinsights.v1.Conversation.Transcript other = (com.google.cloud.contactcenterinsights.v1.Conversation.Transcript) obj; - if (!getTranscriptSegmentsList().equals(other.getTranscriptSegmentsList())) return false; + if (!getTranscriptSegmentsList() + .equals(other.getTranscriptSegmentsList())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -6464,95 +5307,87 @@ public int hashCode() { } public static com.google.cloud.contactcenterinsights.v1.Conversation.Transcript parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.contactcenterinsights.v1.Conversation.Transcript parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.contactcenterinsights.v1.Conversation.Transcript parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.contactcenterinsights.v1.Conversation.Transcript parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.contactcenterinsights.v1.Conversation.Transcript parseFrom( - byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.contactcenterinsights.v1.Conversation.Transcript parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.contactcenterinsights.v1.Conversation.Transcript parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.contactcenterinsights.v1.Conversation.Transcript parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.contactcenterinsights.v1.Conversation.Transcript parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.contactcenterinsights.v1.Conversation.Transcript parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.contactcenterinsights.v1.Conversation.Transcript - parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.contactcenterinsights.v1.Conversation.Transcript parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - - public static com.google.cloud.contactcenterinsights.v1.Conversation.Transcript - parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + public static com.google.cloud.contactcenterinsights.v1.Conversation.Transcript parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.contactcenterinsights.v1.Conversation.Transcript parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.contactcenterinsights.v1.Conversation.Transcript parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.contactcenterinsights.v1.Conversation.Transcript prototype) { + public static Builder newBuilder(com.google.cloud.contactcenterinsights.v1.Conversation.Transcript prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -6562,42 +5397,39 @@ protected Builder newBuilderForType( return builder; } /** - * - * *
      * A message representing the transcript of a conversation.
      * 
* * Protobuf type {@code google.cloud.contactcenterinsights.v1.Conversation.Transcript} */ - public static final class Builder - extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.contactcenterinsights.v1.Conversation.Transcript) com.google.cloud.contactcenterinsights.v1.Conversation.TranscriptOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.contactcenterinsights.v1.ResourcesProto - .internal_static_google_cloud_contactcenterinsights_v1_Conversation_Transcript_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.contactcenterinsights.v1.ResourcesProto.internal_static_google_cloud_contactcenterinsights_v1_Conversation_Transcript_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.contactcenterinsights.v1.ResourcesProto - .internal_static_google_cloud_contactcenterinsights_v1_Conversation_Transcript_fieldAccessorTable + return com.google.cloud.contactcenterinsights.v1.ResourcesProto.internal_static_google_cloud_contactcenterinsights_v1_Conversation_Transcript_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.contactcenterinsights.v1.Conversation.Transcript.class, - com.google.cloud.contactcenterinsights.v1.Conversation.Transcript.Builder.class); + com.google.cloud.contactcenterinsights.v1.Conversation.Transcript.class, com.google.cloud.contactcenterinsights.v1.Conversation.Transcript.Builder.class); } - // Construct using - // com.google.cloud.contactcenterinsights.v1.Conversation.Transcript.newBuilder() - private Builder() {} + // Construct using com.google.cloud.contactcenterinsights.v1.Conversation.Transcript.newBuilder() + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -6613,16 +5445,14 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.contactcenterinsights.v1.ResourcesProto - .internal_static_google_cloud_contactcenterinsights_v1_Conversation_Transcript_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.contactcenterinsights.v1.ResourcesProto.internal_static_google_cloud_contactcenterinsights_v1_Conversation_Transcript_descriptor; } @java.lang.Override - public com.google.cloud.contactcenterinsights.v1.Conversation.Transcript - getDefaultInstanceForType() { - return com.google.cloud.contactcenterinsights.v1.Conversation.Transcript - .getDefaultInstance(); + public com.google.cloud.contactcenterinsights.v1.Conversation.Transcript getDefaultInstanceForType() { + return com.google.cloud.contactcenterinsights.v1.Conversation.Transcript.getDefaultInstance(); } @java.lang.Override @@ -6636,18 +5466,14 @@ public com.google.cloud.contactcenterinsights.v1.Conversation.Transcript build() @java.lang.Override public com.google.cloud.contactcenterinsights.v1.Conversation.Transcript buildPartial() { - com.google.cloud.contactcenterinsights.v1.Conversation.Transcript result = - new com.google.cloud.contactcenterinsights.v1.Conversation.Transcript(this); + com.google.cloud.contactcenterinsights.v1.Conversation.Transcript result = new com.google.cloud.contactcenterinsights.v1.Conversation.Transcript(this); buildPartialRepeatedFields(result); - if (bitField0_ != 0) { - buildPartial0(result); - } + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } - private void buildPartialRepeatedFields( - com.google.cloud.contactcenterinsights.v1.Conversation.Transcript result) { + private void buildPartialRepeatedFields(com.google.cloud.contactcenterinsights.v1.Conversation.Transcript result) { if (transcriptSegmentsBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { transcriptSegments_ = java.util.Collections.unmodifiableList(transcriptSegments_); @@ -6659,8 +5485,7 @@ private void buildPartialRepeatedFields( } } - private void buildPartial0( - com.google.cloud.contactcenterinsights.v1.Conversation.Transcript result) { + private void buildPartial0(com.google.cloud.contactcenterinsights.v1.Conversation.Transcript result) { int from_bitField0_ = bitField0_; } @@ -6668,53 +5493,46 @@ private void buildPartial0( public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, - int index, - java.lang.Object value) { + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.contactcenterinsights.v1.Conversation.Transcript) { - return mergeFrom( - (com.google.cloud.contactcenterinsights.v1.Conversation.Transcript) other); + return mergeFrom((com.google.cloud.contactcenterinsights.v1.Conversation.Transcript)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom( - com.google.cloud.contactcenterinsights.v1.Conversation.Transcript other) { - if (other - == com.google.cloud.contactcenterinsights.v1.Conversation.Transcript - .getDefaultInstance()) return this; + public Builder mergeFrom(com.google.cloud.contactcenterinsights.v1.Conversation.Transcript other) { + if (other == com.google.cloud.contactcenterinsights.v1.Conversation.Transcript.getDefaultInstance()) return this; if (transcriptSegmentsBuilder_ == null) { if (!other.transcriptSegments_.isEmpty()) { if (transcriptSegments_.isEmpty()) { @@ -6733,10 +5551,9 @@ public Builder mergeFrom( transcriptSegmentsBuilder_ = null; transcriptSegments_ = other.transcriptSegments_; bitField0_ = (bitField0_ & ~0x00000001); - transcriptSegmentsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders - ? getTranscriptSegmentsFieldBuilder() - : null; + transcriptSegmentsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getTranscriptSegmentsFieldBuilder() : null; } else { transcriptSegmentsBuilder_.addAllMessages(other.transcriptSegments_); } @@ -6768,30 +5585,25 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - com.google.cloud.contactcenterinsights.v1.Conversation.Transcript - .TranscriptSegment - m = - input.readMessage( - com.google.cloud.contactcenterinsights.v1.Conversation.Transcript - .TranscriptSegment.parser(), - extensionRegistry); - if (transcriptSegmentsBuilder_ == null) { - ensureTranscriptSegmentsIsMutable(); - transcriptSegments_.add(m); - } else { - transcriptSegmentsBuilder_.addMessage(m); - } - break; - } // case 10 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + com.google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment m = + input.readMessage( + com.google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment.parser(), + extensionRegistry); + if (transcriptSegmentsBuilder_ == null) { + ensureTranscriptSegmentsIsMutable(); + transcriptSegments_.add(m); + } else { + transcriptSegmentsBuilder_.addMessage(m); + } + break; + } // case 10 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -6801,45 +5613,28 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; - private java.util.List< - com.google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment> - transcriptSegments_ = java.util.Collections.emptyList(); - + private java.util.List transcriptSegments_ = + java.util.Collections.emptyList(); private void ensureTranscriptSegmentsIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { - transcriptSegments_ = - new java.util.ArrayList< - com.google.cloud.contactcenterinsights.v1.Conversation.Transcript - .TranscriptSegment>(transcriptSegments_); + transcriptSegments_ = new java.util.ArrayList(transcriptSegments_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment, - com.google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment - .Builder, - com.google.cloud.contactcenterinsights.v1.Conversation.Transcript - .TranscriptSegmentOrBuilder> - transcriptSegmentsBuilder_; + com.google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment, com.google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment.Builder, com.google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegmentOrBuilder> transcriptSegmentsBuilder_; /** - * - * *
        * A list of sequential transcript segments that comprise the conversation.
        * 
* - * - * repeated .google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment transcript_segments = 1; - * + * repeated .google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment transcript_segments = 1; */ - public java.util.List< - com.google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment> - getTranscriptSegmentsList() { + public java.util.List getTranscriptSegmentsList() { if (transcriptSegmentsBuilder_ == null) { return java.util.Collections.unmodifiableList(transcriptSegments_); } else { @@ -6847,15 +5642,11 @@ private void ensureTranscriptSegmentsIsMutable() { } } /** - * - * *
        * A list of sequential transcript segments that comprise the conversation.
        * 
* - * - * repeated .google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment transcript_segments = 1; - * + * repeated .google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment transcript_segments = 1; */ public int getTranscriptSegmentsCount() { if (transcriptSegmentsBuilder_ == null) { @@ -6865,18 +5656,13 @@ public int getTranscriptSegmentsCount() { } } /** - * - * *
        * A list of sequential transcript segments that comprise the conversation.
        * 
* - * - * repeated .google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment transcript_segments = 1; - * + * repeated .google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment transcript_segments = 1; */ - public com.google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment - getTranscriptSegments(int index) { + public com.google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment getTranscriptSegments(int index) { if (transcriptSegmentsBuilder_ == null) { return transcriptSegments_.get(index); } else { @@ -6884,20 +5670,14 @@ public int getTranscriptSegmentsCount() { } } /** - * - * *
        * A list of sequential transcript segments that comprise the conversation.
        * 
* - * - * repeated .google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment transcript_segments = 1; - * + * repeated .google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment transcript_segments = 1; */ public Builder setTranscriptSegments( - int index, - com.google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment - value) { + int index, com.google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment value) { if (transcriptSegmentsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -6911,21 +5691,14 @@ public Builder setTranscriptSegments( return this; } /** - * - * *
        * A list of sequential transcript segments that comprise the conversation.
        * 
* - * - * repeated .google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment transcript_segments = 1; - * + * repeated .google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment transcript_segments = 1; */ public Builder setTranscriptSegments( - int index, - com.google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment - .Builder - builderForValue) { + int index, com.google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment.Builder builderForValue) { if (transcriptSegmentsBuilder_ == null) { ensureTranscriptSegmentsIsMutable(); transcriptSegments_.set(index, builderForValue.build()); @@ -6936,19 +5709,13 @@ public Builder setTranscriptSegments( return this; } /** - * - * *
        * A list of sequential transcript segments that comprise the conversation.
        * 
* - * - * repeated .google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment transcript_segments = 1; - * + * repeated .google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment transcript_segments = 1; */ - public Builder addTranscriptSegments( - com.google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment - value) { + public Builder addTranscriptSegments(com.google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment value) { if (transcriptSegmentsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -6962,20 +5729,14 @@ public Builder addTranscriptSegments( return this; } /** - * - * *
        * A list of sequential transcript segments that comprise the conversation.
        * 
* - * - * repeated .google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment transcript_segments = 1; - * + * repeated .google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment transcript_segments = 1; */ public Builder addTranscriptSegments( - int index, - com.google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment - value) { + int index, com.google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment value) { if (transcriptSegmentsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -6989,20 +5750,14 @@ public Builder addTranscriptSegments( return this; } /** - * - * *
        * A list of sequential transcript segments that comprise the conversation.
        * 
* - * - * repeated .google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment transcript_segments = 1; - * + * repeated .google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment transcript_segments = 1; */ public Builder addTranscriptSegments( - com.google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment - .Builder - builderForValue) { + com.google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment.Builder builderForValue) { if (transcriptSegmentsBuilder_ == null) { ensureTranscriptSegmentsIsMutable(); transcriptSegments_.add(builderForValue.build()); @@ -7013,21 +5768,14 @@ public Builder addTranscriptSegments( return this; } /** - * - * *
        * A list of sequential transcript segments that comprise the conversation.
        * 
* - * - * repeated .google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment transcript_segments = 1; - * + * repeated .google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment transcript_segments = 1; */ public Builder addTranscriptSegments( - int index, - com.google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment - .Builder - builderForValue) { + int index, com.google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment.Builder builderForValue) { if (transcriptSegmentsBuilder_ == null) { ensureTranscriptSegmentsIsMutable(); transcriptSegments_.add(index, builderForValue.build()); @@ -7038,25 +5786,18 @@ public Builder addTranscriptSegments( return this; } /** - * - * *
        * A list of sequential transcript segments that comprise the conversation.
        * 
* - * - * repeated .google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment transcript_segments = 1; - * + * repeated .google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment transcript_segments = 1; */ public Builder addAllTranscriptSegments( - java.lang.Iterable< - ? extends - com.google.cloud.contactcenterinsights.v1.Conversation.Transcript - .TranscriptSegment> - values) { + java.lang.Iterable values) { if (transcriptSegmentsBuilder_ == null) { ensureTranscriptSegmentsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, transcriptSegments_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, transcriptSegments_); onChanged(); } else { transcriptSegmentsBuilder_.addAllMessages(values); @@ -7064,15 +5805,11 @@ public Builder addAllTranscriptSegments( return this; } /** - * - * *
        * A list of sequential transcript segments that comprise the conversation.
        * 
* - * - * repeated .google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment transcript_segments = 1; - * + * repeated .google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment transcript_segments = 1; */ public Builder clearTranscriptSegments() { if (transcriptSegmentsBuilder_ == null) { @@ -7085,15 +5822,11 @@ public Builder clearTranscriptSegments() { return this; } /** - * - * *
        * A list of sequential transcript segments that comprise the conversation.
        * 
* - * - * repeated .google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment transcript_segments = 1; - * + * repeated .google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment transcript_segments = 1; */ public Builder removeTranscriptSegments(int index) { if (transcriptSegmentsBuilder_ == null) { @@ -7106,57 +5839,39 @@ public Builder removeTranscriptSegments(int index) { return this; } /** - * - * *
        * A list of sequential transcript segments that comprise the conversation.
        * 
* - * - * repeated .google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment transcript_segments = 1; - * + * repeated .google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment transcript_segments = 1; */ - public com.google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment - .Builder - getTranscriptSegmentsBuilder(int index) { + public com.google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment.Builder getTranscriptSegmentsBuilder( + int index) { return getTranscriptSegmentsFieldBuilder().getBuilder(index); } /** - * - * *
        * A list of sequential transcript segments that comprise the conversation.
        * 
* - * - * repeated .google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment transcript_segments = 1; - * + * repeated .google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment transcript_segments = 1; */ - public com.google.cloud.contactcenterinsights.v1.Conversation.Transcript - .TranscriptSegmentOrBuilder - getTranscriptSegmentsOrBuilder(int index) { + public com.google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegmentOrBuilder getTranscriptSegmentsOrBuilder( + int index) { if (transcriptSegmentsBuilder_ == null) { - return transcriptSegments_.get(index); - } else { + return transcriptSegments_.get(index); } else { return transcriptSegmentsBuilder_.getMessageOrBuilder(index); } } /** - * - * *
        * A list of sequential transcript segments that comprise the conversation.
        * 
* - * - * repeated .google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment transcript_segments = 1; - * + * repeated .google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment transcript_segments = 1; */ - public java.util.List< - ? extends - com.google.cloud.contactcenterinsights.v1.Conversation.Transcript - .TranscriptSegmentOrBuilder> - getTranscriptSegmentsOrBuilderList() { + public java.util.List + getTranscriptSegmentsOrBuilderList() { if (transcriptSegmentsBuilder_ != null) { return transcriptSegmentsBuilder_.getMessageOrBuilderList(); } else { @@ -7164,78 +5879,45 @@ public Builder removeTranscriptSegments(int index) { } } /** - * - * *
        * A list of sequential transcript segments that comprise the conversation.
        * 
* - * - * repeated .google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment transcript_segments = 1; - * + * repeated .google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment transcript_segments = 1; */ - public com.google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment - .Builder - addTranscriptSegmentsBuilder() { - return getTranscriptSegmentsFieldBuilder() - .addBuilder( - com.google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment - .getDefaultInstance()); + public com.google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment.Builder addTranscriptSegmentsBuilder() { + return getTranscriptSegmentsFieldBuilder().addBuilder( + com.google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment.getDefaultInstance()); } /** - * - * *
        * A list of sequential transcript segments that comprise the conversation.
        * 
* - * - * repeated .google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment transcript_segments = 1; - * + * repeated .google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment transcript_segments = 1; */ - public com.google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment - .Builder - addTranscriptSegmentsBuilder(int index) { - return getTranscriptSegmentsFieldBuilder() - .addBuilder( - index, - com.google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment - .getDefaultInstance()); + public com.google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment.Builder addTranscriptSegmentsBuilder( + int index) { + return getTranscriptSegmentsFieldBuilder().addBuilder( + index, com.google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment.getDefaultInstance()); } /** - * - * *
        * A list of sequential transcript segments that comprise the conversation.
        * 
* - * - * repeated .google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment transcript_segments = 1; - * + * repeated .google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment transcript_segments = 1; */ - public java.util.List< - com.google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment - .Builder> - getTranscriptSegmentsBuilderList() { + public java.util.List + getTranscriptSegmentsBuilderList() { return getTranscriptSegmentsFieldBuilder().getBuilderList(); } - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment, - com.google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment - .Builder, - com.google.cloud.contactcenterinsights.v1.Conversation.Transcript - .TranscriptSegmentOrBuilder> + com.google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment, com.google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment.Builder, com.google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegmentOrBuilder> getTranscriptSegmentsFieldBuilder() { if (transcriptSegmentsBuilder_ == null) { - transcriptSegmentsBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.contactcenterinsights.v1.Conversation.Transcript - .TranscriptSegment, - com.google.cloud.contactcenterinsights.v1.Conversation.Transcript - .TranscriptSegment.Builder, - com.google.cloud.contactcenterinsights.v1.Conversation.Transcript - .TranscriptSegmentOrBuilder>( + transcriptSegmentsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment, com.google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment.Builder, com.google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegmentOrBuilder>( transcriptSegments_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), @@ -7244,7 +5926,6 @@ public Builder removeTranscriptSegments(int index) { } return transcriptSegmentsBuilder_; } - @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -7257,44 +5938,41 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.contactcenterinsights.v1.Conversation.Transcript) } // @@protoc_insertion_point(class_scope:google.cloud.contactcenterinsights.v1.Conversation.Transcript) - private static final com.google.cloud.contactcenterinsights.v1.Conversation.Transcript - DEFAULT_INSTANCE; - + private static final com.google.cloud.contactcenterinsights.v1.Conversation.Transcript DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.cloud.contactcenterinsights.v1.Conversation.Transcript(); } - public static com.google.cloud.contactcenterinsights.v1.Conversation.Transcript - getDefaultInstance() { + public static com.google.cloud.contactcenterinsights.v1.Conversation.Transcript getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public Transcript parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException() - .setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public Transcript parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -7306,23 +5984,20 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.cloud.contactcenterinsights.v1.Conversation.Transcript - getDefaultInstanceForType() { + public com.google.cloud.contactcenterinsights.v1.Conversation.Transcript getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } private int metadataCase_ = 0; private java.lang.Object metadata_; - public enum MetadataCase - implements - com.google.protobuf.Internal.EnumLite, + implements com.google.protobuf.Internal.EnumLite, com.google.protobuf.AbstractMessage.InternalOneOfEnum { CALL_METADATA(7), METADATA_NOT_SET(0); private final int value; - private MetadataCase(int value) { this.value = value; } @@ -7338,36 +6013,31 @@ public static MetadataCase valueOf(int value) { public static MetadataCase forNumber(int value) { switch (value) { - case 7: - return CALL_METADATA; - case 0: - return METADATA_NOT_SET; - default: - return null; + case 7: return CALL_METADATA; + case 0: return METADATA_NOT_SET; + default: return null; } } - public int getNumber() { return this.value; } }; - public MetadataCase getMetadataCase() { - return MetadataCase.forNumber(metadataCase_); + public MetadataCase + getMetadataCase() { + return MetadataCase.forNumber( + metadataCase_); } private int expirationCase_ = 0; private java.lang.Object expiration_; - public enum ExpirationCase - implements - com.google.protobuf.Internal.EnumLite, + implements com.google.protobuf.Internal.EnumLite, com.google.protobuf.AbstractMessage.InternalOneOfEnum { EXPIRE_TIME(15), TTL(16), EXPIRATION_NOT_SET(0); private final int value; - private ExpirationCase(int value) { this.value = value; } @@ -7383,37 +6053,30 @@ public static ExpirationCase valueOf(int value) { public static ExpirationCase forNumber(int value) { switch (value) { - case 15: - return EXPIRE_TIME; - case 16: - return TTL; - case 0: - return EXPIRATION_NOT_SET; - default: - return null; + case 15: return EXPIRE_TIME; + case 16: return TTL; + case 0: return EXPIRATION_NOT_SET; + default: return null; } } - public int getNumber() { return this.value; } }; - public ExpirationCase getExpirationCase() { - return ExpirationCase.forNumber(expirationCase_); + public ExpirationCase + getExpirationCase() { + return ExpirationCase.forNumber( + expirationCase_); } public static final int CALL_METADATA_FIELD_NUMBER = 7; /** - * - * *
    * Call-specific metadata.
    * 
* - * .google.cloud.contactcenterinsights.v1.Conversation.CallMetadata call_metadata = 7; - * - * + * .google.cloud.contactcenterinsights.v1.Conversation.CallMetadata call_metadata = 7; * @return Whether the callMetadata field is set. */ @java.lang.Override @@ -7421,54 +6084,43 @@ public boolean hasCallMetadata() { return metadataCase_ == 7; } /** - * - * *
    * Call-specific metadata.
    * 
* - * .google.cloud.contactcenterinsights.v1.Conversation.CallMetadata call_metadata = 7; - * - * + * .google.cloud.contactcenterinsights.v1.Conversation.CallMetadata call_metadata = 7; * @return The callMetadata. */ @java.lang.Override public com.google.cloud.contactcenterinsights.v1.Conversation.CallMetadata getCallMetadata() { if (metadataCase_ == 7) { - return (com.google.cloud.contactcenterinsights.v1.Conversation.CallMetadata) metadata_; + return (com.google.cloud.contactcenterinsights.v1.Conversation.CallMetadata) metadata_; } return com.google.cloud.contactcenterinsights.v1.Conversation.CallMetadata.getDefaultInstance(); } /** - * - * *
    * Call-specific metadata.
    * 
* - * .google.cloud.contactcenterinsights.v1.Conversation.CallMetadata call_metadata = 7; - * + * .google.cloud.contactcenterinsights.v1.Conversation.CallMetadata call_metadata = 7; */ @java.lang.Override - public com.google.cloud.contactcenterinsights.v1.Conversation.CallMetadataOrBuilder - getCallMetadataOrBuilder() { + public com.google.cloud.contactcenterinsights.v1.Conversation.CallMetadataOrBuilder getCallMetadataOrBuilder() { if (metadataCase_ == 7) { - return (com.google.cloud.contactcenterinsights.v1.Conversation.CallMetadata) metadata_; + return (com.google.cloud.contactcenterinsights.v1.Conversation.CallMetadata) metadata_; } return com.google.cloud.contactcenterinsights.v1.Conversation.CallMetadata.getDefaultInstance(); } public static final int EXPIRE_TIME_FIELD_NUMBER = 15; /** - * - * *
    * The time at which this conversation should expire. After this time, the
    * conversation data and any associated analyses will be deleted.
    * 
* * .google.protobuf.Timestamp expire_time = 15; - * * @return Whether the expireTime field is set. */ @java.lang.Override @@ -7476,27 +6128,22 @@ public boolean hasExpireTime() { return expirationCase_ == 15; } /** - * - * *
    * The time at which this conversation should expire. After this time, the
    * conversation data and any associated analyses will be deleted.
    * 
* * .google.protobuf.Timestamp expire_time = 15; - * * @return The expireTime. */ @java.lang.Override public com.google.protobuf.Timestamp getExpireTime() { if (expirationCase_ == 15) { - return (com.google.protobuf.Timestamp) expiration_; + return (com.google.protobuf.Timestamp) expiration_; } return com.google.protobuf.Timestamp.getDefaultInstance(); } /** - * - * *
    * The time at which this conversation should expire. After this time, the
    * conversation data and any associated analyses will be deleted.
@@ -7507,22 +6154,19 @@ public com.google.protobuf.Timestamp getExpireTime() {
   @java.lang.Override
   public com.google.protobuf.TimestampOrBuilder getExpireTimeOrBuilder() {
     if (expirationCase_ == 15) {
-      return (com.google.protobuf.Timestamp) expiration_;
+       return (com.google.protobuf.Timestamp) expiration_;
     }
     return com.google.protobuf.Timestamp.getDefaultInstance();
   }
 
   public static final int TTL_FIELD_NUMBER = 16;
   /**
-   *
-   *
    * 
    * Input only. The TTL for this resource. If specified, then this TTL will
    * be used to calculate the expire time.
    * 
* * .google.protobuf.Duration ttl = 16 [(.google.api.field_behavior) = INPUT_ONLY]; - * * @return Whether the ttl field is set. */ @java.lang.Override @@ -7530,27 +6174,22 @@ public boolean hasTtl() { return expirationCase_ == 16; } /** - * - * *
    * Input only. The TTL for this resource. If specified, then this TTL will
    * be used to calculate the expire time.
    * 
* * .google.protobuf.Duration ttl = 16 [(.google.api.field_behavior) = INPUT_ONLY]; - * * @return The ttl. */ @java.lang.Override public com.google.protobuf.Duration getTtl() { if (expirationCase_ == 16) { - return (com.google.protobuf.Duration) expiration_; + return (com.google.protobuf.Duration) expiration_; } return com.google.protobuf.Duration.getDefaultInstance(); } /** - * - * *
    * Input only. The TTL for this resource. If specified, then this TTL will
    * be used to calculate the expire time.
@@ -7561,18 +6200,15 @@ public com.google.protobuf.Duration getTtl() {
   @java.lang.Override
   public com.google.protobuf.DurationOrBuilder getTtlOrBuilder() {
     if (expirationCase_ == 16) {
-      return (com.google.protobuf.Duration) expiration_;
+       return (com.google.protobuf.Duration) expiration_;
     }
     return com.google.protobuf.Duration.getDefaultInstance();
   }
 
   public static final int NAME_FIELD_NUMBER = 1;
-
   @SuppressWarnings("serial")
   private volatile java.lang.Object name_ = "";
   /**
-   *
-   *
    * 
    * Immutable. The resource name of the conversation.
    * Format:
@@ -7580,7 +6216,6 @@ public com.google.protobuf.DurationOrBuilder getTtlOrBuilder() {
    * 
* * string name = 1 [(.google.api.field_behavior) = IMMUTABLE]; - * * @return The name. */ @java.lang.Override @@ -7589,15 +6224,14 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** - * - * *
    * Immutable. The resource name of the conversation.
    * Format:
@@ -7605,15 +6239,16 @@ public java.lang.String getName() {
    * 
* * string name = 1 [(.google.api.field_behavior) = IMMUTABLE]; - * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -7624,14 +6259,11 @@ public com.google.protobuf.ByteString getNameBytes() { public static final int DATA_SOURCE_FIELD_NUMBER = 2; private com.google.cloud.contactcenterinsights.v1.ConversationDataSource dataSource_; /** - * - * *
    * The source of the audio and transcription for the conversation.
    * 
* * .google.cloud.contactcenterinsights.v1.ConversationDataSource data_source = 2; - * * @return Whether the dataSource field is set. */ @java.lang.Override @@ -7639,25 +6271,18 @@ public boolean hasDataSource() { return dataSource_ != null; } /** - * - * *
    * The source of the audio and transcription for the conversation.
    * 
* * .google.cloud.contactcenterinsights.v1.ConversationDataSource data_source = 2; - * * @return The dataSource. */ @java.lang.Override public com.google.cloud.contactcenterinsights.v1.ConversationDataSource getDataSource() { - return dataSource_ == null - ? com.google.cloud.contactcenterinsights.v1.ConversationDataSource.getDefaultInstance() - : dataSource_; + return dataSource_ == null ? com.google.cloud.contactcenterinsights.v1.ConversationDataSource.getDefaultInstance() : dataSource_; } /** - * - * *
    * The source of the audio and transcription for the conversation.
    * 
@@ -7665,25 +6290,18 @@ public com.google.cloud.contactcenterinsights.v1.ConversationDataSource getDataS * .google.cloud.contactcenterinsights.v1.ConversationDataSource data_source = 2; */ @java.lang.Override - public com.google.cloud.contactcenterinsights.v1.ConversationDataSourceOrBuilder - getDataSourceOrBuilder() { - return dataSource_ == null - ? com.google.cloud.contactcenterinsights.v1.ConversationDataSource.getDefaultInstance() - : dataSource_; + public com.google.cloud.contactcenterinsights.v1.ConversationDataSourceOrBuilder getDataSourceOrBuilder() { + return dataSource_ == null ? com.google.cloud.contactcenterinsights.v1.ConversationDataSource.getDefaultInstance() : dataSource_; } public static final int CREATE_TIME_FIELD_NUMBER = 3; private com.google.protobuf.Timestamp createTime_; /** - * - * *
    * Output only. The time at which the conversation was created.
    * 
* - * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the createTime field is set. */ @java.lang.Override @@ -7691,15 +6309,11 @@ public boolean hasCreateTime() { return createTime_ != null; } /** - * - * *
    * Output only. The time at which the conversation was created.
    * 
* - * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The createTime. */ @java.lang.Override @@ -7707,14 +6321,11 @@ public com.google.protobuf.Timestamp getCreateTime() { return createTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : createTime_; } /** - * - * *
    * Output only. The time at which the conversation was created.
    * 
* - * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ @java.lang.Override public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { @@ -7724,15 +6335,11 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { public static final int UPDATE_TIME_FIELD_NUMBER = 4; private com.google.protobuf.Timestamp updateTime_; /** - * - * *
    * Output only. The most recent time at which the conversation was updated.
    * 
* - * .google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the updateTime field is set. */ @java.lang.Override @@ -7740,15 +6347,11 @@ public boolean hasUpdateTime() { return updateTime_ != null; } /** - * - * *
    * Output only. The most recent time at which the conversation was updated.
    * 
* - * .google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The updateTime. */ @java.lang.Override @@ -7756,14 +6359,11 @@ public com.google.protobuf.Timestamp getUpdateTime() { return updateTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : updateTime_; } /** - * - * *
    * Output only. The most recent time at which the conversation was updated.
    * 
* - * .google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ @java.lang.Override public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { @@ -7773,14 +6373,11 @@ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { public static final int START_TIME_FIELD_NUMBER = 17; private com.google.protobuf.Timestamp startTime_; /** - * - * *
    * The time at which the conversation started.
    * 
* * .google.protobuf.Timestamp start_time = 17; - * * @return Whether the startTime field is set. */ @java.lang.Override @@ -7788,14 +6385,11 @@ public boolean hasStartTime() { return startTime_ != null; } /** - * - * *
    * The time at which the conversation started.
    * 
* * .google.protobuf.Timestamp start_time = 17; - * * @return The startTime. */ @java.lang.Override @@ -7803,8 +6397,6 @@ public com.google.protobuf.Timestamp getStartTime() { return startTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : startTime_; } /** - * - * *
    * The time at which the conversation started.
    * 
@@ -7817,18 +6409,14 @@ public com.google.protobuf.TimestampOrBuilder getStartTimeOrBuilder() { } public static final int LANGUAGE_CODE_FIELD_NUMBER = 14; - @SuppressWarnings("serial") private volatile java.lang.Object languageCode_ = ""; /** - * - * *
    * A user-specified language code for the conversation.
    * 
* * string language_code = 14; - * * @return The languageCode. */ @java.lang.Override @@ -7837,29 +6425,29 @@ public java.lang.String getLanguageCode() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); languageCode_ = s; return s; } } /** - * - * *
    * A user-specified language code for the conversation.
    * 
* * string language_code = 14; - * * @return The bytes for languageCode. */ @java.lang.Override - public com.google.protobuf.ByteString getLanguageCodeBytes() { + public com.google.protobuf.ByteString + getLanguageCodeBytes() { java.lang.Object ref = languageCode_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); languageCode_ = b; return b; } else { @@ -7868,19 +6456,15 @@ public com.google.protobuf.ByteString getLanguageCodeBytes() { } public static final int AGENT_ID_FIELD_NUMBER = 5; - @SuppressWarnings("serial") private volatile java.lang.Object agentId_ = ""; /** - * - * *
    * An opaque, user-specified string representing the human agent who handled
    * the conversation.
    * 
* * string agent_id = 5; - * * @return The agentId. */ @java.lang.Override @@ -7889,30 +6473,30 @@ public java.lang.String getAgentId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); agentId_ = s; return s; } } /** - * - * *
    * An opaque, user-specified string representing the human agent who handled
    * the conversation.
    * 
* * string agent_id = 5; - * * @return The bytes for agentId. */ @java.lang.Override - public com.google.protobuf.ByteString getAgentIdBytes() { + public com.google.protobuf.ByteString + getAgentIdBytes() { java.lang.Object ref = agentId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); agentId_ = b; return b; } else { @@ -7921,34 +6505,32 @@ public com.google.protobuf.ByteString getAgentIdBytes() { } public static final int LABELS_FIELD_NUMBER = 6; - private static final class LabelsDefaultEntryHolder { - static final com.google.protobuf.MapEntry defaultEntry = - com.google.protobuf.MapEntry.newDefaultInstance( - com.google.cloud.contactcenterinsights.v1.ResourcesProto - .internal_static_google_cloud_contactcenterinsights_v1_Conversation_LabelsEntry_descriptor, - com.google.protobuf.WireFormat.FieldType.STRING, - "", - com.google.protobuf.WireFormat.FieldType.STRING, - ""); + static final com.google.protobuf.MapEntry< + java.lang.String, java.lang.String> defaultEntry = + com.google.protobuf.MapEntry + .newDefaultInstance( + com.google.cloud.contactcenterinsights.v1.ResourcesProto.internal_static_google_cloud_contactcenterinsights_v1_Conversation_LabelsEntry_descriptor, + com.google.protobuf.WireFormat.FieldType.STRING, + "", + com.google.protobuf.WireFormat.FieldType.STRING, + ""); } - @SuppressWarnings("serial") - private com.google.protobuf.MapField labels_; - - private com.google.protobuf.MapField internalGetLabels() { + private com.google.protobuf.MapField< + java.lang.String, java.lang.String> labels_; + private com.google.protobuf.MapField + internalGetLabels() { if (labels_ == null) { - return com.google.protobuf.MapField.emptyMapField(LabelsDefaultEntryHolder.defaultEntry); + return com.google.protobuf.MapField.emptyMapField( + LabelsDefaultEntryHolder.defaultEntry); } return labels_; } - public int getLabelsCount() { return internalGetLabels().getMap().size(); } /** - * - * *
    * A map for the user to specify any custom fields. A maximum of 20 labels per
    * conversation is allowed, with a maximum of 256 characters per entry.
@@ -7957,21 +6539,20 @@ public int getLabelsCount() {
    * map<string, string> labels = 6;
    */
   @java.lang.Override
-  public boolean containsLabels(java.lang.String key) {
-    if (key == null) {
-      throw new NullPointerException("map key");
-    }
+  public boolean containsLabels(
+      java.lang.String key) {
+    if (key == null) { throw new NullPointerException("map key"); }
     return internalGetLabels().getMap().containsKey(key);
   }
-  /** Use {@link #getLabelsMap()} instead. */
+  /**
+   * Use {@link #getLabelsMap()} instead.
+   */
   @java.lang.Override
   @java.lang.Deprecated
   public java.util.Map getLabels() {
     return getLabelsMap();
   }
   /**
-   *
-   *
    * 
    * A map for the user to specify any custom fields. A maximum of 20 labels per
    * conversation is allowed, with a maximum of 256 characters per entry.
@@ -7984,8 +6565,6 @@ public java.util.Map getLabelsMap() {
     return internalGetLabels().getMap();
   }
   /**
-   *
-   *
    * 
    * A map for the user to specify any custom fields. A maximum of 20 labels per
    * conversation is allowed, with a maximum of 256 characters per entry.
@@ -7994,19 +6573,17 @@ public java.util.Map getLabelsMap() {
    * map<string, string> labels = 6;
    */
   @java.lang.Override
-  public /* nullable */ java.lang.String getLabelsOrDefault(
+  public /* nullable */
+java.lang.String getLabelsOrDefault(
       java.lang.String key,
       /* nullable */
-      java.lang.String defaultValue) {
-    if (key == null) {
-      throw new NullPointerException("map key");
-    }
-    java.util.Map map = internalGetLabels().getMap();
+java.lang.String defaultValue) {
+    if (key == null) { throw new NullPointerException("map key"); }
+    java.util.Map map =
+        internalGetLabels().getMap();
     return map.containsKey(key) ? map.get(key) : defaultValue;
   }
   /**
-   *
-   *
    * 
    * A map for the user to specify any custom fields. A maximum of 20 labels per
    * conversation is allowed, with a maximum of 256 characters per entry.
@@ -8015,11 +6592,11 @@ public java.util.Map getLabelsMap() {
    * map<string, string> labels = 6;
    */
   @java.lang.Override
-  public java.lang.String getLabelsOrThrow(java.lang.String key) {
-    if (key == null) {
-      throw new NullPointerException("map key");
-    }
-    java.util.Map map = internalGetLabels().getMap();
+  public java.lang.String getLabelsOrThrow(
+      java.lang.String key) {
+    if (key == null) { throw new NullPointerException("map key"); }
+    java.util.Map map =
+        internalGetLabels().getMap();
     if (!map.containsKey(key)) {
       throw new java.lang.IllegalArgumentException();
     }
@@ -8029,16 +6606,11 @@ public java.lang.String getLabelsOrThrow(java.lang.String key) {
   public static final int TRANSCRIPT_FIELD_NUMBER = 8;
   private com.google.cloud.contactcenterinsights.v1.Conversation.Transcript transcript_;
   /**
-   *
-   *
    * 
    * Output only. The conversation transcript.
    * 
* - * - * .google.cloud.contactcenterinsights.v1.Conversation.Transcript transcript = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.contactcenterinsights.v1.Conversation.Transcript transcript = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the transcript field is set. */ @java.lang.Override @@ -8046,96 +6618,65 @@ public boolean hasTranscript() { return transcript_ != null; } /** - * - * *
    * Output only. The conversation transcript.
    * 
* - * - * .google.cloud.contactcenterinsights.v1.Conversation.Transcript transcript = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.contactcenterinsights.v1.Conversation.Transcript transcript = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The transcript. */ @java.lang.Override public com.google.cloud.contactcenterinsights.v1.Conversation.Transcript getTranscript() { - return transcript_ == null - ? com.google.cloud.contactcenterinsights.v1.Conversation.Transcript.getDefaultInstance() - : transcript_; + return transcript_ == null ? com.google.cloud.contactcenterinsights.v1.Conversation.Transcript.getDefaultInstance() : transcript_; } /** - * - * *
    * Output only. The conversation transcript.
    * 
* - * - * .google.cloud.contactcenterinsights.v1.Conversation.Transcript transcript = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.contactcenterinsights.v1.Conversation.Transcript transcript = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ @java.lang.Override - public com.google.cloud.contactcenterinsights.v1.Conversation.TranscriptOrBuilder - getTranscriptOrBuilder() { - return transcript_ == null - ? com.google.cloud.contactcenterinsights.v1.Conversation.Transcript.getDefaultInstance() - : transcript_; + public com.google.cloud.contactcenterinsights.v1.Conversation.TranscriptOrBuilder getTranscriptOrBuilder() { + return transcript_ == null ? com.google.cloud.contactcenterinsights.v1.Conversation.Transcript.getDefaultInstance() : transcript_; } public static final int MEDIUM_FIELD_NUMBER = 9; private int medium_ = 0; /** - * - * *
-   * Immutable. The conversation medium, if unspecified will default to PHONE_CALL.
+   * Immutable. The conversation medium, if unspecified will default to
+   * PHONE_CALL.
    * 
* - * - * .google.cloud.contactcenterinsights.v1.Conversation.Medium medium = 9 [(.google.api.field_behavior) = IMMUTABLE]; - * - * + * .google.cloud.contactcenterinsights.v1.Conversation.Medium medium = 9 [(.google.api.field_behavior) = IMMUTABLE]; * @return The enum numeric value on the wire for medium. */ - @java.lang.Override - public int getMediumValue() { + @java.lang.Override public int getMediumValue() { return medium_; } /** - * - * *
-   * Immutable. The conversation medium, if unspecified will default to PHONE_CALL.
+   * Immutable. The conversation medium, if unspecified will default to
+   * PHONE_CALL.
    * 
* - * - * .google.cloud.contactcenterinsights.v1.Conversation.Medium medium = 9 [(.google.api.field_behavior) = IMMUTABLE]; - * - * + * .google.cloud.contactcenterinsights.v1.Conversation.Medium medium = 9 [(.google.api.field_behavior) = IMMUTABLE]; * @return The medium. */ - @java.lang.Override - public com.google.cloud.contactcenterinsights.v1.Conversation.Medium getMedium() { - com.google.cloud.contactcenterinsights.v1.Conversation.Medium result = - com.google.cloud.contactcenterinsights.v1.Conversation.Medium.forNumber(medium_); - return result == null - ? com.google.cloud.contactcenterinsights.v1.Conversation.Medium.UNRECOGNIZED - : result; + @java.lang.Override public com.google.cloud.contactcenterinsights.v1.Conversation.Medium getMedium() { + com.google.cloud.contactcenterinsights.v1.Conversation.Medium result = com.google.cloud.contactcenterinsights.v1.Conversation.Medium.forNumber(medium_); + return result == null ? com.google.cloud.contactcenterinsights.v1.Conversation.Medium.UNRECOGNIZED : result; } public static final int DURATION_FIELD_NUMBER = 10; private com.google.protobuf.Duration duration_; /** - * - * *
    * Output only. The duration of the conversation.
    * 
* - * .google.protobuf.Duration duration = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Duration duration = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the duration field is set. */ @java.lang.Override @@ -8143,15 +6684,11 @@ public boolean hasDuration() { return duration_ != null; } /** - * - * *
    * Output only. The duration of the conversation.
    * 
* - * .google.protobuf.Duration duration = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Duration duration = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The duration. */ @java.lang.Override @@ -8159,14 +6696,11 @@ public com.google.protobuf.Duration getDuration() { return duration_ == null ? com.google.protobuf.Duration.getDefaultInstance() : duration_; } /** - * - * *
    * Output only. The duration of the conversation.
    * 
* - * .google.protobuf.Duration duration = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Duration duration = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ @java.lang.Override public com.google.protobuf.DurationOrBuilder getDurationOrBuilder() { @@ -8176,14 +6710,11 @@ public com.google.protobuf.DurationOrBuilder getDurationOrBuilder() { public static final int TURN_COUNT_FIELD_NUMBER = 11; private int turnCount_ = 0; /** - * - * *
    * Output only. The number of turns in the conversation.
    * 
* * int32 turn_count = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The turnCount. */ @java.lang.Override @@ -8194,16 +6725,11 @@ public int getTurnCount() { public static final int LATEST_ANALYSIS_FIELD_NUMBER = 12; private com.google.cloud.contactcenterinsights.v1.Analysis latestAnalysis_; /** - * - * *
    * Output only. The conversation's latest analysis, if one exists.
    * 
* - * - * .google.cloud.contactcenterinsights.v1.Analysis latest_analysis = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.contactcenterinsights.v1.Analysis latest_analysis = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the latestAnalysis field is set. */ @java.lang.Override @@ -8211,261 +6737,192 @@ public boolean hasLatestAnalysis() { return latestAnalysis_ != null; } /** - * - * *
    * Output only. The conversation's latest analysis, if one exists.
    * 
* - * - * .google.cloud.contactcenterinsights.v1.Analysis latest_analysis = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.contactcenterinsights.v1.Analysis latest_analysis = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The latestAnalysis. */ @java.lang.Override public com.google.cloud.contactcenterinsights.v1.Analysis getLatestAnalysis() { - return latestAnalysis_ == null - ? com.google.cloud.contactcenterinsights.v1.Analysis.getDefaultInstance() - : latestAnalysis_; + return latestAnalysis_ == null ? com.google.cloud.contactcenterinsights.v1.Analysis.getDefaultInstance() : latestAnalysis_; } /** - * - * *
    * Output only. The conversation's latest analysis, if one exists.
    * 
* - * - * .google.cloud.contactcenterinsights.v1.Analysis latest_analysis = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.contactcenterinsights.v1.Analysis latest_analysis = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ @java.lang.Override public com.google.cloud.contactcenterinsights.v1.AnalysisOrBuilder getLatestAnalysisOrBuilder() { - return latestAnalysis_ == null - ? com.google.cloud.contactcenterinsights.v1.Analysis.getDefaultInstance() - : latestAnalysis_; + return latestAnalysis_ == null ? com.google.cloud.contactcenterinsights.v1.Analysis.getDefaultInstance() : latestAnalysis_; } public static final int RUNTIME_ANNOTATIONS_FIELD_NUMBER = 13; - @SuppressWarnings("serial") - private java.util.List - runtimeAnnotations_; + private java.util.List runtimeAnnotations_; /** - * - * *
-   * Output only. The annotations that were generated during the customer and agent
-   * interaction.
+   * Output only. The annotations that were generated during the customer and
+   * agent interaction.
    * 
* - * - * repeated .google.cloud.contactcenterinsights.v1.RuntimeAnnotation runtime_annotations = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.contactcenterinsights.v1.RuntimeAnnotation runtime_annotations = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ @java.lang.Override - public java.util.List - getRuntimeAnnotationsList() { + public java.util.List getRuntimeAnnotationsList() { return runtimeAnnotations_; } /** - * - * *
-   * Output only. The annotations that were generated during the customer and agent
-   * interaction.
+   * Output only. The annotations that were generated during the customer and
+   * agent interaction.
    * 
* - * - * repeated .google.cloud.contactcenterinsights.v1.RuntimeAnnotation runtime_annotations = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.contactcenterinsights.v1.RuntimeAnnotation runtime_annotations = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ @java.lang.Override - public java.util.List< - ? extends com.google.cloud.contactcenterinsights.v1.RuntimeAnnotationOrBuilder> + public java.util.List getRuntimeAnnotationsOrBuilderList() { return runtimeAnnotations_; } /** - * - * *
-   * Output only. The annotations that were generated during the customer and agent
-   * interaction.
+   * Output only. The annotations that were generated during the customer and
+   * agent interaction.
    * 
* - * - * repeated .google.cloud.contactcenterinsights.v1.RuntimeAnnotation runtime_annotations = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.contactcenterinsights.v1.RuntimeAnnotation runtime_annotations = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ @java.lang.Override public int getRuntimeAnnotationsCount() { return runtimeAnnotations_.size(); } /** - * - * *
-   * Output only. The annotations that were generated during the customer and agent
-   * interaction.
+   * Output only. The annotations that were generated during the customer and
+   * agent interaction.
    * 
* - * - * repeated .google.cloud.contactcenterinsights.v1.RuntimeAnnotation runtime_annotations = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.contactcenterinsights.v1.RuntimeAnnotation runtime_annotations = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ @java.lang.Override - public com.google.cloud.contactcenterinsights.v1.RuntimeAnnotation getRuntimeAnnotations( - int index) { + public com.google.cloud.contactcenterinsights.v1.RuntimeAnnotation getRuntimeAnnotations(int index) { return runtimeAnnotations_.get(index); } /** - * - * *
-   * Output only. The annotations that were generated during the customer and agent
-   * interaction.
+   * Output only. The annotations that were generated during the customer and
+   * agent interaction.
    * 
* - * - * repeated .google.cloud.contactcenterinsights.v1.RuntimeAnnotation runtime_annotations = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.contactcenterinsights.v1.RuntimeAnnotation runtime_annotations = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ @java.lang.Override - public com.google.cloud.contactcenterinsights.v1.RuntimeAnnotationOrBuilder - getRuntimeAnnotationsOrBuilder(int index) { + public com.google.cloud.contactcenterinsights.v1.RuntimeAnnotationOrBuilder getRuntimeAnnotationsOrBuilder( + int index) { return runtimeAnnotations_.get(index); } public static final int DIALOGFLOW_INTENTS_FIELD_NUMBER = 18; - private static final class DialogflowIntentsDefaultEntryHolder { static final com.google.protobuf.MapEntry< - java.lang.String, com.google.cloud.contactcenterinsights.v1.DialogflowIntent> - defaultEntry = + java.lang.String, com.google.cloud.contactcenterinsights.v1.DialogflowIntent> defaultEntry = com.google.protobuf.MapEntry - . - newDefaultInstance( - com.google.cloud.contactcenterinsights.v1.ResourcesProto - .internal_static_google_cloud_contactcenterinsights_v1_Conversation_DialogflowIntentsEntry_descriptor, - com.google.protobuf.WireFormat.FieldType.STRING, - "", - com.google.protobuf.WireFormat.FieldType.MESSAGE, - com.google.cloud.contactcenterinsights.v1.DialogflowIntent - .getDefaultInstance()); + .newDefaultInstance( + com.google.cloud.contactcenterinsights.v1.ResourcesProto.internal_static_google_cloud_contactcenterinsights_v1_Conversation_DialogflowIntentsEntry_descriptor, + com.google.protobuf.WireFormat.FieldType.STRING, + "", + com.google.protobuf.WireFormat.FieldType.MESSAGE, + com.google.cloud.contactcenterinsights.v1.DialogflowIntent.getDefaultInstance()); } - @SuppressWarnings("serial") private com.google.protobuf.MapField< - java.lang.String, com.google.cloud.contactcenterinsights.v1.DialogflowIntent> - dialogflowIntents_; - - private com.google.protobuf.MapField< - java.lang.String, com.google.cloud.contactcenterinsights.v1.DialogflowIntent> - internalGetDialogflowIntents() { + java.lang.String, com.google.cloud.contactcenterinsights.v1.DialogflowIntent> dialogflowIntents_; + private com.google.protobuf.MapField + internalGetDialogflowIntents() { if (dialogflowIntents_ == null) { return com.google.protobuf.MapField.emptyMapField( DialogflowIntentsDefaultEntryHolder.defaultEntry); } return dialogflowIntents_; } - public int getDialogflowIntentsCount() { return internalGetDialogflowIntents().getMap().size(); } /** - * - * *
-   * Output only. All the matched Dialogflow intents in the call. The key corresponds to a
-   * Dialogflow intent, format:
+   * Output only. All the matched Dialogflow intents in the call. The key
+   * corresponds to a Dialogflow intent, format:
    * projects/{project}/agent/{agent}/intents/{intent}
    * 
* - * - * map<string, .google.cloud.contactcenterinsights.v1.DialogflowIntent> dialogflow_intents = 18 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * map<string, .google.cloud.contactcenterinsights.v1.DialogflowIntent> dialogflow_intents = 18 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ @java.lang.Override - public boolean containsDialogflowIntents(java.lang.String key) { - if (key == null) { - throw new NullPointerException("map key"); - } + public boolean containsDialogflowIntents( + java.lang.String key) { + if (key == null) { throw new NullPointerException("map key"); } return internalGetDialogflowIntents().getMap().containsKey(key); } - /** Use {@link #getDialogflowIntentsMap()} instead. */ + /** + * Use {@link #getDialogflowIntentsMap()} instead. + */ @java.lang.Override @java.lang.Deprecated - public java.util.Map - getDialogflowIntents() { + public java.util.Map getDialogflowIntents() { return getDialogflowIntentsMap(); } /** - * - * *
-   * Output only. All the matched Dialogflow intents in the call. The key corresponds to a
-   * Dialogflow intent, format:
+   * Output only. All the matched Dialogflow intents in the call. The key
+   * corresponds to a Dialogflow intent, format:
    * projects/{project}/agent/{agent}/intents/{intent}
    * 
* - * - * map<string, .google.cloud.contactcenterinsights.v1.DialogflowIntent> dialogflow_intents = 18 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * map<string, .google.cloud.contactcenterinsights.v1.DialogflowIntent> dialogflow_intents = 18 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ @java.lang.Override - public java.util.Map - getDialogflowIntentsMap() { + public java.util.Map getDialogflowIntentsMap() { return internalGetDialogflowIntents().getMap(); } /** - * - * *
-   * Output only. All the matched Dialogflow intents in the call. The key corresponds to a
-   * Dialogflow intent, format:
+   * Output only. All the matched Dialogflow intents in the call. The key
+   * corresponds to a Dialogflow intent, format:
    * projects/{project}/agent/{agent}/intents/{intent}
    * 
* - * - * map<string, .google.cloud.contactcenterinsights.v1.DialogflowIntent> dialogflow_intents = 18 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * map<string, .google.cloud.contactcenterinsights.v1.DialogflowIntent> dialogflow_intents = 18 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ @java.lang.Override - public /* nullable */ com.google.cloud.contactcenterinsights.v1.DialogflowIntent - getDialogflowIntentsOrDefault( - java.lang.String key, - /* nullable */ - com.google.cloud.contactcenterinsights.v1.DialogflowIntent defaultValue) { - if (key == null) { - throw new NullPointerException("map key"); - } - java.util.Map - map = internalGetDialogflowIntents().getMap(); + public /* nullable */ +com.google.cloud.contactcenterinsights.v1.DialogflowIntent getDialogflowIntentsOrDefault( + java.lang.String key, + /* nullable */ +com.google.cloud.contactcenterinsights.v1.DialogflowIntent defaultValue) { + if (key == null) { throw new NullPointerException("map key"); } + java.util.Map map = + internalGetDialogflowIntents().getMap(); return map.containsKey(key) ? map.get(key) : defaultValue; } /** - * - * *
-   * Output only. All the matched Dialogflow intents in the call. The key corresponds to a
-   * Dialogflow intent, format:
+   * Output only. All the matched Dialogflow intents in the call. The key
+   * corresponds to a Dialogflow intent, format:
    * projects/{project}/agent/{agent}/intents/{intent}
    * 
* - * - * map<string, .google.cloud.contactcenterinsights.v1.DialogflowIntent> dialogflow_intents = 18 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * map<string, .google.cloud.contactcenterinsights.v1.DialogflowIntent> dialogflow_intents = 18 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ @java.lang.Override public com.google.cloud.contactcenterinsights.v1.DialogflowIntent getDialogflowIntentsOrThrow( java.lang.String key) { - if (key == null) { - throw new NullPointerException("map key"); - } - java.util.Map - map = internalGetDialogflowIntents().getMap(); + if (key == null) { throw new NullPointerException("map key"); } + java.util.Map map = + internalGetDialogflowIntents().getMap(); if (!map.containsKey(key)) { throw new java.lang.IllegalArgumentException(); } @@ -8473,18 +6930,14 @@ public com.google.cloud.contactcenterinsights.v1.DialogflowIntent getDialogflowI } public static final int OBFUSCATED_USER_ID_FIELD_NUMBER = 21; - @SuppressWarnings("serial") private volatile java.lang.Object obfuscatedUserId_ = ""; /** - * - * *
    * Obfuscated user ID which the customer sent to us.
    * 
* * string obfuscated_user_id = 21; - * * @return The obfuscatedUserId. */ @java.lang.Override @@ -8493,29 +6946,29 @@ public java.lang.String getObfuscatedUserId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); obfuscatedUserId_ = s; return s; } } /** - * - * *
    * Obfuscated user ID which the customer sent to us.
    * 
* * string obfuscated_user_id = 21; - * * @return The bytes for obfuscatedUserId. */ @java.lang.Override - public com.google.protobuf.ByteString getObfuscatedUserIdBytes() { + public com.google.protobuf.ByteString + getObfuscatedUserIdBytes() { java.lang.Object ref = obfuscatedUserId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); obfuscatedUserId_ = b; return b; } else { @@ -8524,7 +6977,6 @@ public com.google.protobuf.ByteString getObfuscatedUserIdBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -8536,7 +6988,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -8552,18 +7005,19 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(agentId_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 5, agentId_); } - com.google.protobuf.GeneratedMessageV3.serializeStringMapTo( - output, internalGetLabels(), LabelsDefaultEntryHolder.defaultEntry, 6); + com.google.protobuf.GeneratedMessageV3 + .serializeStringMapTo( + output, + internalGetLabels(), + LabelsDefaultEntryHolder.defaultEntry, + 6); if (metadataCase_ == 7) { - output.writeMessage( - 7, (com.google.cloud.contactcenterinsights.v1.Conversation.CallMetadata) metadata_); + output.writeMessage(7, (com.google.cloud.contactcenterinsights.v1.Conversation.CallMetadata) metadata_); } if (transcript_ != null) { output.writeMessage(8, getTranscript()); } - if (medium_ - != com.google.cloud.contactcenterinsights.v1.Conversation.Medium.MEDIUM_UNSPECIFIED - .getNumber()) { + if (medium_ != com.google.cloud.contactcenterinsights.v1.Conversation.Medium.MEDIUM_UNSPECIFIED.getNumber()) { output.writeEnum(9, medium_); } if (duration_ != null) { @@ -8590,7 +7044,8 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io if (startTime_ != null) { output.writeMessage(17, getStartTime()); } - com.google.protobuf.GeneratedMessageV3.serializeStringMapTo( + com.google.protobuf.GeneratedMessageV3 + .serializeStringMapTo( output, internalGetDialogflowIntents(), DialogflowIntentsDefaultEntryHolder.defaultEntry, @@ -8611,81 +7066,82 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_); } if (dataSource_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getDataSource()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, getDataSource()); } if (createTime_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getCreateTime()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(3, getCreateTime()); } if (updateTime_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(4, getUpdateTime()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(4, getUpdateTime()); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(agentId_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(5, agentId_); } - for (java.util.Map.Entry entry : - internalGetLabels().getMap().entrySet()) { - com.google.protobuf.MapEntry labels__ = - LabelsDefaultEntryHolder.defaultEntry - .newBuilderForType() - .setKey(entry.getKey()) - .setValue(entry.getValue()) - .build(); - size += com.google.protobuf.CodedOutputStream.computeMessageSize(6, labels__); + for (java.util.Map.Entry entry + : internalGetLabels().getMap().entrySet()) { + com.google.protobuf.MapEntry + labels__ = LabelsDefaultEntryHolder.defaultEntry.newBuilderForType() + .setKey(entry.getKey()) + .setValue(entry.getValue()) + .build(); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(6, labels__); } if (metadataCase_ == 7) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize( - 7, (com.google.cloud.contactcenterinsights.v1.Conversation.CallMetadata) metadata_); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(7, (com.google.cloud.contactcenterinsights.v1.Conversation.CallMetadata) metadata_); } if (transcript_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(8, getTranscript()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(8, getTranscript()); } - if (medium_ - != com.google.cloud.contactcenterinsights.v1.Conversation.Medium.MEDIUM_UNSPECIFIED - .getNumber()) { - size += com.google.protobuf.CodedOutputStream.computeEnumSize(9, medium_); + if (medium_ != com.google.cloud.contactcenterinsights.v1.Conversation.Medium.MEDIUM_UNSPECIFIED.getNumber()) { + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(9, medium_); } if (duration_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(10, getDuration()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(10, getDuration()); } if (turnCount_ != 0) { - size += com.google.protobuf.CodedOutputStream.computeInt32Size(11, turnCount_); + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(11, turnCount_); } if (latestAnalysis_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(12, getLatestAnalysis()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(12, getLatestAnalysis()); } for (int i = 0; i < runtimeAnnotations_.size(); i++) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize(13, runtimeAnnotations_.get(i)); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(13, runtimeAnnotations_.get(i)); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(languageCode_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(14, languageCode_); } if (expirationCase_ == 15) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize( - 15, (com.google.protobuf.Timestamp) expiration_); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(15, (com.google.protobuf.Timestamp) expiration_); } if (expirationCase_ == 16) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize( - 16, (com.google.protobuf.Duration) expiration_); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(16, (com.google.protobuf.Duration) expiration_); } if (startTime_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(17, getStartTime()); - } - for (java.util.Map.Entry< - java.lang.String, com.google.cloud.contactcenterinsights.v1.DialogflowIntent> - entry : internalGetDialogflowIntents().getMap().entrySet()) { - com.google.protobuf.MapEntry< - java.lang.String, com.google.cloud.contactcenterinsights.v1.DialogflowIntent> - dialogflowIntents__ = - DialogflowIntentsDefaultEntryHolder.defaultEntry - .newBuilderForType() - .setKey(entry.getKey()) - .setValue(entry.getValue()) - .build(); - size += com.google.protobuf.CodedOutputStream.computeMessageSize(18, dialogflowIntents__); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(17, getStartTime()); + } + for (java.util.Map.Entry entry + : internalGetDialogflowIntents().getMap().entrySet()) { + com.google.protobuf.MapEntry + dialogflowIntents__ = DialogflowIntentsDefaultEntryHolder.defaultEntry.newBuilderForType() + .setKey(entry.getKey()) + .setValue(entry.getValue()) + .build(); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(18, dialogflowIntents__); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(obfuscatedUserId_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(21, obfuscatedUserId_); @@ -8698,55 +7154,70 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.contactcenterinsights.v1.Conversation)) { return super.equals(obj); } - com.google.cloud.contactcenterinsights.v1.Conversation other = - (com.google.cloud.contactcenterinsights.v1.Conversation) obj; + com.google.cloud.contactcenterinsights.v1.Conversation other = (com.google.cloud.contactcenterinsights.v1.Conversation) obj; - if (!getName().equals(other.getName())) return false; + if (!getName() + .equals(other.getName())) return false; if (hasDataSource() != other.hasDataSource()) return false; if (hasDataSource()) { - if (!getDataSource().equals(other.getDataSource())) return false; + if (!getDataSource() + .equals(other.getDataSource())) return false; } if (hasCreateTime() != other.hasCreateTime()) return false; if (hasCreateTime()) { - if (!getCreateTime().equals(other.getCreateTime())) return false; + if (!getCreateTime() + .equals(other.getCreateTime())) return false; } if (hasUpdateTime() != other.hasUpdateTime()) return false; if (hasUpdateTime()) { - if (!getUpdateTime().equals(other.getUpdateTime())) return false; + if (!getUpdateTime() + .equals(other.getUpdateTime())) return false; } if (hasStartTime() != other.hasStartTime()) return false; if (hasStartTime()) { - if (!getStartTime().equals(other.getStartTime())) return false; - } - if (!getLanguageCode().equals(other.getLanguageCode())) return false; - if (!getAgentId().equals(other.getAgentId())) return false; - if (!internalGetLabels().equals(other.internalGetLabels())) return false; + if (!getStartTime() + .equals(other.getStartTime())) return false; + } + if (!getLanguageCode() + .equals(other.getLanguageCode())) return false; + if (!getAgentId() + .equals(other.getAgentId())) return false; + if (!internalGetLabels().equals( + other.internalGetLabels())) return false; if (hasTranscript() != other.hasTranscript()) return false; if (hasTranscript()) { - if (!getTranscript().equals(other.getTranscript())) return false; + if (!getTranscript() + .equals(other.getTranscript())) return false; } if (medium_ != other.medium_) return false; if (hasDuration() != other.hasDuration()) return false; if (hasDuration()) { - if (!getDuration().equals(other.getDuration())) return false; + if (!getDuration() + .equals(other.getDuration())) return false; } - if (getTurnCount() != other.getTurnCount()) return false; + if (getTurnCount() + != other.getTurnCount()) return false; if (hasLatestAnalysis() != other.hasLatestAnalysis()) return false; if (hasLatestAnalysis()) { - if (!getLatestAnalysis().equals(other.getLatestAnalysis())) return false; - } - if (!getRuntimeAnnotationsList().equals(other.getRuntimeAnnotationsList())) return false; - if (!internalGetDialogflowIntents().equals(other.internalGetDialogflowIntents())) return false; - if (!getObfuscatedUserId().equals(other.getObfuscatedUserId())) return false; + if (!getLatestAnalysis() + .equals(other.getLatestAnalysis())) return false; + } + if (!getRuntimeAnnotationsList() + .equals(other.getRuntimeAnnotationsList())) return false; + if (!internalGetDialogflowIntents().equals( + other.internalGetDialogflowIntents())) return false; + if (!getObfuscatedUserId() + .equals(other.getObfuscatedUserId())) return false; if (!getMetadataCase().equals(other.getMetadataCase())) return false; switch (metadataCase_) { case 7: - if (!getCallMetadata().equals(other.getCallMetadata())) return false; + if (!getCallMetadata() + .equals(other.getCallMetadata())) return false; break; case 0: default: @@ -8754,10 +7225,12 @@ public boolean equals(final java.lang.Object obj) { if (!getExpirationCase().equals(other.getExpirationCase())) return false; switch (expirationCase_) { case 15: - if (!getExpireTime().equals(other.getExpireTime())) return false; + if (!getExpireTime() + .equals(other.getExpireTime())) return false; break; case 16: - if (!getTtl().equals(other.getTtl())) return false; + if (!getTtl() + .equals(other.getTtl())) return false; break; case 0: default: @@ -8851,160 +7324,155 @@ public int hashCode() { } public static com.google.cloud.contactcenterinsights.v1.Conversation parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.contactcenterinsights.v1.Conversation parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.contactcenterinsights.v1.Conversation parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.contactcenterinsights.v1.Conversation parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.contactcenterinsights.v1.Conversation parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.contactcenterinsights.v1.Conversation parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.contactcenterinsights.v1.Conversation parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.contactcenterinsights.v1.Conversation parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.contactcenterinsights.v1.Conversation parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.contactcenterinsights.v1.Conversation parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.contactcenterinsights.v1.Conversation parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.contactcenterinsights.v1.Conversation parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.contactcenterinsights.v1.Conversation parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.contactcenterinsights.v1.Conversation parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.contactcenterinsights.v1.Conversation prototype) { + public static Builder newBuilder(com.google.cloud.contactcenterinsights.v1.Conversation prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * The conversation resource.
    * 
* * Protobuf type {@code google.cloud.contactcenterinsights.v1.Conversation} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.contactcenterinsights.v1.Conversation) com.google.cloud.contactcenterinsights.v1.ConversationOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.contactcenterinsights.v1.ResourcesProto - .internal_static_google_cloud_contactcenterinsights_v1_Conversation_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.contactcenterinsights.v1.ResourcesProto.internal_static_google_cloud_contactcenterinsights_v1_Conversation_descriptor; } @SuppressWarnings({"rawtypes"}) - protected com.google.protobuf.MapField internalGetMapField(int number) { + protected com.google.protobuf.MapField internalGetMapField( + int number) { switch (number) { case 6: return internalGetLabels(); case 18: return internalGetDialogflowIntents(); default: - throw new RuntimeException("Invalid map field number: " + number); + throw new RuntimeException( + "Invalid map field number: " + number); } } - @SuppressWarnings({"rawtypes"}) - protected com.google.protobuf.MapField internalGetMutableMapField(int number) { + protected com.google.protobuf.MapField internalGetMutableMapField( + int number) { switch (number) { case 6: return internalGetMutableLabels(); case 18: return internalGetMutableDialogflowIntents(); default: - throw new RuntimeException("Invalid map field number: " + number); + throw new RuntimeException( + "Invalid map field number: " + number); } } - @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.contactcenterinsights.v1.ResourcesProto - .internal_static_google_cloud_contactcenterinsights_v1_Conversation_fieldAccessorTable + return com.google.cloud.contactcenterinsights.v1.ResourcesProto.internal_static_google_cloud_contactcenterinsights_v1_Conversation_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.contactcenterinsights.v1.Conversation.class, - com.google.cloud.contactcenterinsights.v1.Conversation.Builder.class); + com.google.cloud.contactcenterinsights.v1.Conversation.class, com.google.cloud.contactcenterinsights.v1.Conversation.Builder.class); } // Construct using com.google.cloud.contactcenterinsights.v1.Conversation.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -9076,9 +7544,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.contactcenterinsights.v1.ResourcesProto - .internal_static_google_cloud_contactcenterinsights_v1_Conversation_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.contactcenterinsights.v1.ResourcesProto.internal_static_google_cloud_contactcenterinsights_v1_Conversation_descriptor; } @java.lang.Override @@ -9097,19 +7565,15 @@ public com.google.cloud.contactcenterinsights.v1.Conversation build() { @java.lang.Override public com.google.cloud.contactcenterinsights.v1.Conversation buildPartial() { - com.google.cloud.contactcenterinsights.v1.Conversation result = - new com.google.cloud.contactcenterinsights.v1.Conversation(this); + com.google.cloud.contactcenterinsights.v1.Conversation result = new com.google.cloud.contactcenterinsights.v1.Conversation(this); buildPartialRepeatedFields(result); - if (bitField0_ != 0) { - buildPartial0(result); - } + if (bitField0_ != 0) { buildPartial0(result); } buildPartialOneofs(result); onBuilt(); return result; } - private void buildPartialRepeatedFields( - com.google.cloud.contactcenterinsights.v1.Conversation result) { + private void buildPartialRepeatedFields(com.google.cloud.contactcenterinsights.v1.Conversation result) { if (runtimeAnnotationsBuilder_ == null) { if (((bitField0_ & 0x00010000) != 0)) { runtimeAnnotations_ = java.util.Collections.unmodifiableList(runtimeAnnotations_); @@ -9127,16 +7591,24 @@ private void buildPartial0(com.google.cloud.contactcenterinsights.v1.Conversatio result.name_ = name_; } if (((from_bitField0_ & 0x00000010) != 0)) { - result.dataSource_ = dataSourceBuilder_ == null ? dataSource_ : dataSourceBuilder_.build(); + result.dataSource_ = dataSourceBuilder_ == null + ? dataSource_ + : dataSourceBuilder_.build(); } if (((from_bitField0_ & 0x00000020) != 0)) { - result.createTime_ = createTimeBuilder_ == null ? createTime_ : createTimeBuilder_.build(); + result.createTime_ = createTimeBuilder_ == null + ? createTime_ + : createTimeBuilder_.build(); } if (((from_bitField0_ & 0x00000040) != 0)) { - result.updateTime_ = updateTimeBuilder_ == null ? updateTime_ : updateTimeBuilder_.build(); + result.updateTime_ = updateTimeBuilder_ == null + ? updateTime_ + : updateTimeBuilder_.build(); } if (((from_bitField0_ & 0x00000080) != 0)) { - result.startTime_ = startTimeBuilder_ == null ? startTime_ : startTimeBuilder_.build(); + result.startTime_ = startTimeBuilder_ == null + ? startTime_ + : startTimeBuilder_.build(); } if (((from_bitField0_ & 0x00000100) != 0)) { result.languageCode_ = languageCode_; @@ -9149,20 +7621,25 @@ private void buildPartial0(com.google.cloud.contactcenterinsights.v1.Conversatio result.labels_.makeImmutable(); } if (((from_bitField0_ & 0x00000800) != 0)) { - result.transcript_ = transcriptBuilder_ == null ? transcript_ : transcriptBuilder_.build(); + result.transcript_ = transcriptBuilder_ == null + ? transcript_ + : transcriptBuilder_.build(); } if (((from_bitField0_ & 0x00001000) != 0)) { result.medium_ = medium_; } if (((from_bitField0_ & 0x00002000) != 0)) { - result.duration_ = durationBuilder_ == null ? duration_ : durationBuilder_.build(); + result.duration_ = durationBuilder_ == null + ? duration_ + : durationBuilder_.build(); } if (((from_bitField0_ & 0x00004000) != 0)) { result.turnCount_ = turnCount_; } if (((from_bitField0_ & 0x00008000) != 0)) { - result.latestAnalysis_ = - latestAnalysisBuilder_ == null ? latestAnalysis_ : latestAnalysisBuilder_.build(); + result.latestAnalysis_ = latestAnalysisBuilder_ == null + ? latestAnalysis_ + : latestAnalysisBuilder_.build(); } if (((from_bitField0_ & 0x00020000) != 0)) { result.dialogflowIntents_ = internalGetDialogflowIntents(); @@ -9176,15 +7653,18 @@ private void buildPartial0(com.google.cloud.contactcenterinsights.v1.Conversatio private void buildPartialOneofs(com.google.cloud.contactcenterinsights.v1.Conversation result) { result.metadataCase_ = metadataCase_; result.metadata_ = this.metadata_; - if (metadataCase_ == 7 && callMetadataBuilder_ != null) { + if (metadataCase_ == 7 && + callMetadataBuilder_ != null) { result.metadata_ = callMetadataBuilder_.build(); } result.expirationCase_ = expirationCase_; result.expiration_ = this.expiration_; - if (expirationCase_ == 15 && expireTimeBuilder_ != null) { + if (expirationCase_ == 15 && + expireTimeBuilder_ != null) { result.expiration_ = expireTimeBuilder_.build(); } - if (expirationCase_ == 16 && ttlBuilder_ != null) { + if (expirationCase_ == 16 && + ttlBuilder_ != null) { result.expiration_ = ttlBuilder_.build(); } } @@ -9193,39 +7673,38 @@ private void buildPartialOneofs(com.google.cloud.contactcenterinsights.v1.Conver public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.contactcenterinsights.v1.Conversation) { - return mergeFrom((com.google.cloud.contactcenterinsights.v1.Conversation) other); + return mergeFrom((com.google.cloud.contactcenterinsights.v1.Conversation)other); } else { super.mergeFrom(other); return this; @@ -9233,8 +7712,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.contactcenterinsights.v1.Conversation other) { - if (other == com.google.cloud.contactcenterinsights.v1.Conversation.getDefaultInstance()) - return this; + if (other == com.google.cloud.contactcenterinsights.v1.Conversation.getDefaultInstance()) return this; if (!other.getName().isEmpty()) { name_ = other.name_; bitField0_ |= 0x00000008; @@ -9262,7 +7740,8 @@ public Builder mergeFrom(com.google.cloud.contactcenterinsights.v1.Conversation bitField0_ |= 0x00000200; onChanged(); } - internalGetMutableLabels().mergeFrom(other.internalGetLabels()); + internalGetMutableLabels().mergeFrom( + other.internalGetLabels()); bitField0_ |= 0x00000400; if (other.hasTranscript()) { mergeTranscript(other.getTranscript()); @@ -9297,16 +7776,16 @@ public Builder mergeFrom(com.google.cloud.contactcenterinsights.v1.Conversation runtimeAnnotationsBuilder_ = null; runtimeAnnotations_ = other.runtimeAnnotations_; bitField0_ = (bitField0_ & ~0x00010000); - runtimeAnnotationsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders - ? getRuntimeAnnotationsFieldBuilder() - : null; + runtimeAnnotationsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getRuntimeAnnotationsFieldBuilder() : null; } else { runtimeAnnotationsBuilder_.addAllMessages(other.runtimeAnnotations_); } } } - internalGetMutableDialogflowIntents().mergeFrom(other.internalGetDialogflowIntents()); + internalGetMutableDialogflowIntents().mergeFrom( + other.internalGetDialogflowIntents()); bitField0_ |= 0x00020000; if (!other.getObfuscatedUserId().isEmpty()) { obfuscatedUserId_ = other.obfuscatedUserId_; @@ -9314,31 +7793,26 @@ public Builder mergeFrom(com.google.cloud.contactcenterinsights.v1.Conversation onChanged(); } switch (other.getMetadataCase()) { - case CALL_METADATA: - { - mergeCallMetadata(other.getCallMetadata()); - break; - } - case METADATA_NOT_SET: - { - break; - } + case CALL_METADATA: { + mergeCallMetadata(other.getCallMetadata()); + break; + } + case METADATA_NOT_SET: { + break; + } } switch (other.getExpirationCase()) { - case EXPIRE_TIME: - { - mergeExpireTime(other.getExpireTime()); - break; - } - case TTL: - { - mergeTtl(other.getTtl()); - break; - } - case EXPIRATION_NOT_SET: - { - break; - } + case EXPIRE_TIME: { + mergeExpireTime(other.getExpireTime()); + break; + } + case TTL: { + mergeTtl(other.getTtl()); + break; + } + case EXPIRATION_NOT_SET: { + break; + } } this.mergeUnknownFields(other.getUnknownFields()); onChanged(); @@ -9366,150 +7840,143 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - name_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000008; - break; - } // case 10 - case 18: - { - input.readMessage(getDataSourceFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00000010; - break; - } // case 18 - case 26: - { - input.readMessage(getCreateTimeFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00000020; - break; - } // case 26 - case 34: - { - input.readMessage(getUpdateTimeFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00000040; - break; - } // case 34 - case 42: - { - agentId_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000200; - break; - } // case 42 - case 50: - { - com.google.protobuf.MapEntry labels__ = - input.readMessage( - LabelsDefaultEntryHolder.defaultEntry.getParserForType(), - extensionRegistry); - internalGetMutableLabels() - .getMutableMap() - .put(labels__.getKey(), labels__.getValue()); - bitField0_ |= 0x00000400; - break; - } // case 50 - case 58: - { - input.readMessage(getCallMetadataFieldBuilder().getBuilder(), extensionRegistry); - metadataCase_ = 7; - break; - } // case 58 - case 66: - { - input.readMessage(getTranscriptFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00000800; - break; - } // case 66 - case 72: - { - medium_ = input.readEnum(); - bitField0_ |= 0x00001000; - break; - } // case 72 - case 82: - { - input.readMessage(getDurationFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00002000; - break; - } // case 82 - case 88: - { - turnCount_ = input.readInt32(); - bitField0_ |= 0x00004000; - break; - } // case 88 - case 98: - { - input.readMessage(getLatestAnalysisFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00008000; - break; - } // case 98 - case 106: - { - com.google.cloud.contactcenterinsights.v1.RuntimeAnnotation m = - input.readMessage( - com.google.cloud.contactcenterinsights.v1.RuntimeAnnotation.parser(), - extensionRegistry); - if (runtimeAnnotationsBuilder_ == null) { - ensureRuntimeAnnotationsIsMutable(); - runtimeAnnotations_.add(m); - } else { - runtimeAnnotationsBuilder_.addMessage(m); - } - break; - } // case 106 - case 114: - { - languageCode_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000100; - break; - } // case 114 - case 122: - { - input.readMessage(getExpireTimeFieldBuilder().getBuilder(), extensionRegistry); - expirationCase_ = 15; - break; - } // case 122 - case 130: - { - input.readMessage(getTtlFieldBuilder().getBuilder(), extensionRegistry); - expirationCase_ = 16; - break; - } // case 130 - case 138: - { - input.readMessage(getStartTimeFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00000080; - break; - } // case 138 - case 146: - { - com.google.protobuf.MapEntry< - java.lang.String, - com.google.cloud.contactcenterinsights.v1.DialogflowIntent> - dialogflowIntents__ = - input.readMessage( - DialogflowIntentsDefaultEntryHolder.defaultEntry.getParserForType(), - extensionRegistry); - internalGetMutableDialogflowIntents() - .getMutableMap() - .put(dialogflowIntents__.getKey(), dialogflowIntents__.getValue()); - bitField0_ |= 0x00020000; - break; - } // case 146 - case 170: - { - obfuscatedUserId_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00040000; - break; - } // case 170 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + name_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000008; + break; + } // case 10 + case 18: { + input.readMessage( + getDataSourceFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00000010; + break; + } // case 18 + case 26: { + input.readMessage( + getCreateTimeFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00000020; + break; + } // case 26 + case 34: { + input.readMessage( + getUpdateTimeFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00000040; + break; + } // case 34 + case 42: { + agentId_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000200; + break; + } // case 42 + case 50: { + com.google.protobuf.MapEntry + labels__ = input.readMessage( + LabelsDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry); + internalGetMutableLabels().getMutableMap().put( + labels__.getKey(), labels__.getValue()); + bitField0_ |= 0x00000400; + break; + } // case 50 + case 58: { + input.readMessage( + getCallMetadataFieldBuilder().getBuilder(), + extensionRegistry); + metadataCase_ = 7; + break; + } // case 58 + case 66: { + input.readMessage( + getTranscriptFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00000800; + break; + } // case 66 + case 72: { + medium_ = input.readEnum(); + bitField0_ |= 0x00001000; + break; + } // case 72 + case 82: { + input.readMessage( + getDurationFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00002000; + break; + } // case 82 + case 88: { + turnCount_ = input.readInt32(); + bitField0_ |= 0x00004000; + break; + } // case 88 + case 98: { + input.readMessage( + getLatestAnalysisFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00008000; + break; + } // case 98 + case 106: { + com.google.cloud.contactcenterinsights.v1.RuntimeAnnotation m = + input.readMessage( + com.google.cloud.contactcenterinsights.v1.RuntimeAnnotation.parser(), + extensionRegistry); + if (runtimeAnnotationsBuilder_ == null) { + ensureRuntimeAnnotationsIsMutable(); + runtimeAnnotations_.add(m); + } else { + runtimeAnnotationsBuilder_.addMessage(m); + } + break; + } // case 106 + case 114: { + languageCode_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000100; + break; + } // case 114 + case 122: { + input.readMessage( + getExpireTimeFieldBuilder().getBuilder(), + extensionRegistry); + expirationCase_ = 15; + break; + } // case 122 + case 130: { + input.readMessage( + getTtlFieldBuilder().getBuilder(), + extensionRegistry); + expirationCase_ = 16; + break; + } // case 130 + case 138: { + input.readMessage( + getStartTimeFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00000080; + break; + } // case 138 + case 146: { + com.google.protobuf.MapEntry + dialogflowIntents__ = input.readMessage( + DialogflowIntentsDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry); + internalGetMutableDialogflowIntents().getMutableMap().put( + dialogflowIntents__.getKey(), dialogflowIntents__.getValue()); + bitField0_ |= 0x00020000; + break; + } // case 146 + case 170: { + obfuscatedUserId_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00040000; + break; + } // case 170 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -9519,12 +7986,12 @@ public Builder mergeFrom( } // finally return this; } - private int metadataCase_ = 0; private java.lang.Object metadata_; - - public MetadataCase getMetadataCase() { - return MetadataCase.forNumber(metadataCase_); + public MetadataCase + getMetadataCase() { + return MetadataCase.forNumber( + metadataCase_); } public Builder clearMetadata() { @@ -9536,9 +8003,10 @@ public Builder clearMetadata() { private int expirationCase_ = 0; private java.lang.Object expiration_; - - public ExpirationCase getExpirationCase() { - return ExpirationCase.forNumber(expirationCase_); + public ExpirationCase + getExpirationCase() { + return ExpirationCase.forNumber( + expirationCase_); } public Builder clearExpiration() { @@ -9551,20 +8019,13 @@ public Builder clearExpiration() { private int bitField0_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.contactcenterinsights.v1.Conversation.CallMetadata, - com.google.cloud.contactcenterinsights.v1.Conversation.CallMetadata.Builder, - com.google.cloud.contactcenterinsights.v1.Conversation.CallMetadataOrBuilder> - callMetadataBuilder_; + com.google.cloud.contactcenterinsights.v1.Conversation.CallMetadata, com.google.cloud.contactcenterinsights.v1.Conversation.CallMetadata.Builder, com.google.cloud.contactcenterinsights.v1.Conversation.CallMetadataOrBuilder> callMetadataBuilder_; /** - * - * *
      * Call-specific metadata.
      * 
* - * .google.cloud.contactcenterinsights.v1.Conversation.CallMetadata call_metadata = 7; - * - * + * .google.cloud.contactcenterinsights.v1.Conversation.CallMetadata call_metadata = 7; * @return Whether the callMetadata field is set. */ @java.lang.Override @@ -9572,15 +8033,11 @@ public boolean hasCallMetadata() { return metadataCase_ == 7; } /** - * - * *
      * Call-specific metadata.
      * 
* - * .google.cloud.contactcenterinsights.v1.Conversation.CallMetadata call_metadata = 7; - * - * + * .google.cloud.contactcenterinsights.v1.Conversation.CallMetadata call_metadata = 7; * @return The callMetadata. */ @java.lang.Override @@ -9589,28 +8046,22 @@ public com.google.cloud.contactcenterinsights.v1.Conversation.CallMetadata getCa if (metadataCase_ == 7) { return (com.google.cloud.contactcenterinsights.v1.Conversation.CallMetadata) metadata_; } - return com.google.cloud.contactcenterinsights.v1.Conversation.CallMetadata - .getDefaultInstance(); + return com.google.cloud.contactcenterinsights.v1.Conversation.CallMetadata.getDefaultInstance(); } else { if (metadataCase_ == 7) { return callMetadataBuilder_.getMessage(); } - return com.google.cloud.contactcenterinsights.v1.Conversation.CallMetadata - .getDefaultInstance(); + return com.google.cloud.contactcenterinsights.v1.Conversation.CallMetadata.getDefaultInstance(); } } /** - * - * *
      * Call-specific metadata.
      * 
* - * .google.cloud.contactcenterinsights.v1.Conversation.CallMetadata call_metadata = 7; - * + * .google.cloud.contactcenterinsights.v1.Conversation.CallMetadata call_metadata = 7; */ - public Builder setCallMetadata( - com.google.cloud.contactcenterinsights.v1.Conversation.CallMetadata value) { + public Builder setCallMetadata(com.google.cloud.contactcenterinsights.v1.Conversation.CallMetadata value) { if (callMetadataBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -9624,18 +8075,14 @@ public Builder setCallMetadata( return this; } /** - * - * *
      * Call-specific metadata.
      * 
* - * .google.cloud.contactcenterinsights.v1.Conversation.CallMetadata call_metadata = 7; - * + * .google.cloud.contactcenterinsights.v1.Conversation.CallMetadata call_metadata = 7; */ public Builder setCallMetadata( - com.google.cloud.contactcenterinsights.v1.Conversation.CallMetadata.Builder - builderForValue) { + com.google.cloud.contactcenterinsights.v1.Conversation.CallMetadata.Builder builderForValue) { if (callMetadataBuilder_ == null) { metadata_ = builderForValue.build(); onChanged(); @@ -9646,28 +8093,18 @@ public Builder setCallMetadata( return this; } /** - * - * *
      * Call-specific metadata.
      * 
* - * .google.cloud.contactcenterinsights.v1.Conversation.CallMetadata call_metadata = 7; - * + * .google.cloud.contactcenterinsights.v1.Conversation.CallMetadata call_metadata = 7; */ - public Builder mergeCallMetadata( - com.google.cloud.contactcenterinsights.v1.Conversation.CallMetadata value) { + public Builder mergeCallMetadata(com.google.cloud.contactcenterinsights.v1.Conversation.CallMetadata value) { if (callMetadataBuilder_ == null) { - if (metadataCase_ == 7 - && metadata_ - != com.google.cloud.contactcenterinsights.v1.Conversation.CallMetadata - .getDefaultInstance()) { - metadata_ = - com.google.cloud.contactcenterinsights.v1.Conversation.CallMetadata.newBuilder( - (com.google.cloud.contactcenterinsights.v1.Conversation.CallMetadata) - metadata_) - .mergeFrom(value) - .buildPartial(); + if (metadataCase_ == 7 && + metadata_ != com.google.cloud.contactcenterinsights.v1.Conversation.CallMetadata.getDefaultInstance()) { + metadata_ = com.google.cloud.contactcenterinsights.v1.Conversation.CallMetadata.newBuilder((com.google.cloud.contactcenterinsights.v1.Conversation.CallMetadata) metadata_) + .mergeFrom(value).buildPartial(); } else { metadata_ = value; } @@ -9683,14 +8120,11 @@ public Builder mergeCallMetadata( return this; } /** - * - * *
      * Call-specific metadata.
      * 
* - * .google.cloud.contactcenterinsights.v1.Conversation.CallMetadata call_metadata = 7; - * + * .google.cloud.contactcenterinsights.v1.Conversation.CallMetadata call_metadata = 7; */ public Builder clearCallMetadata() { if (callMetadataBuilder_ == null) { @@ -9709,68 +8143,49 @@ public Builder clearCallMetadata() { return this; } /** - * - * *
      * Call-specific metadata.
      * 
* - * .google.cloud.contactcenterinsights.v1.Conversation.CallMetadata call_metadata = 7; - * + * .google.cloud.contactcenterinsights.v1.Conversation.CallMetadata call_metadata = 7; */ - public com.google.cloud.contactcenterinsights.v1.Conversation.CallMetadata.Builder - getCallMetadataBuilder() { + public com.google.cloud.contactcenterinsights.v1.Conversation.CallMetadata.Builder getCallMetadataBuilder() { return getCallMetadataFieldBuilder().getBuilder(); } /** - * - * *
      * Call-specific metadata.
      * 
* - * .google.cloud.contactcenterinsights.v1.Conversation.CallMetadata call_metadata = 7; - * + * .google.cloud.contactcenterinsights.v1.Conversation.CallMetadata call_metadata = 7; */ @java.lang.Override - public com.google.cloud.contactcenterinsights.v1.Conversation.CallMetadataOrBuilder - getCallMetadataOrBuilder() { + public com.google.cloud.contactcenterinsights.v1.Conversation.CallMetadataOrBuilder getCallMetadataOrBuilder() { if ((metadataCase_ == 7) && (callMetadataBuilder_ != null)) { return callMetadataBuilder_.getMessageOrBuilder(); } else { if (metadataCase_ == 7) { return (com.google.cloud.contactcenterinsights.v1.Conversation.CallMetadata) metadata_; } - return com.google.cloud.contactcenterinsights.v1.Conversation.CallMetadata - .getDefaultInstance(); + return com.google.cloud.contactcenterinsights.v1.Conversation.CallMetadata.getDefaultInstance(); } } /** - * - * *
      * Call-specific metadata.
      * 
* - * .google.cloud.contactcenterinsights.v1.Conversation.CallMetadata call_metadata = 7; - * + * .google.cloud.contactcenterinsights.v1.Conversation.CallMetadata call_metadata = 7; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.contactcenterinsights.v1.Conversation.CallMetadata, - com.google.cloud.contactcenterinsights.v1.Conversation.CallMetadata.Builder, - com.google.cloud.contactcenterinsights.v1.Conversation.CallMetadataOrBuilder> + com.google.cloud.contactcenterinsights.v1.Conversation.CallMetadata, com.google.cloud.contactcenterinsights.v1.Conversation.CallMetadata.Builder, com.google.cloud.contactcenterinsights.v1.Conversation.CallMetadataOrBuilder> getCallMetadataFieldBuilder() { if (callMetadataBuilder_ == null) { if (!(metadataCase_ == 7)) { - metadata_ = - com.google.cloud.contactcenterinsights.v1.Conversation.CallMetadata - .getDefaultInstance(); - } - callMetadataBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.contactcenterinsights.v1.Conversation.CallMetadata, - com.google.cloud.contactcenterinsights.v1.Conversation.CallMetadata.Builder, - com.google.cloud.contactcenterinsights.v1.Conversation.CallMetadataOrBuilder>( + metadata_ = com.google.cloud.contactcenterinsights.v1.Conversation.CallMetadata.getDefaultInstance(); + } + callMetadataBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.contactcenterinsights.v1.Conversation.CallMetadata, com.google.cloud.contactcenterinsights.v1.Conversation.CallMetadata.Builder, com.google.cloud.contactcenterinsights.v1.Conversation.CallMetadataOrBuilder>( (com.google.cloud.contactcenterinsights.v1.Conversation.CallMetadata) metadata_, getParentForChildren(), isClean()); @@ -9782,20 +8197,14 @@ public Builder clearCallMetadata() { } private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> - expireTimeBuilder_; + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> expireTimeBuilder_; /** - * - * *
      * The time at which this conversation should expire. After this time, the
      * conversation data and any associated analyses will be deleted.
      * 
* * .google.protobuf.Timestamp expire_time = 15; - * * @return Whether the expireTime field is set. */ @java.lang.Override @@ -9803,15 +8212,12 @@ public boolean hasExpireTime() { return expirationCase_ == 15; } /** - * - * *
      * The time at which this conversation should expire. After this time, the
      * conversation data and any associated analyses will be deleted.
      * 
* * .google.protobuf.Timestamp expire_time = 15; - * * @return The expireTime. */ @java.lang.Override @@ -9829,8 +8235,6 @@ public com.google.protobuf.Timestamp getExpireTime() { } } /** - * - * *
      * The time at which this conversation should expire. After this time, the
      * conversation data and any associated analyses will be deleted.
@@ -9852,8 +8256,6 @@ public Builder setExpireTime(com.google.protobuf.Timestamp value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * The time at which this conversation should expire. After this time, the
      * conversation data and any associated analyses will be deleted.
@@ -9861,7 +8263,8 @@ public Builder setExpireTime(com.google.protobuf.Timestamp value) {
      *
      * .google.protobuf.Timestamp expire_time = 15;
      */
-    public Builder setExpireTime(com.google.protobuf.Timestamp.Builder builderForValue) {
+    public Builder setExpireTime(
+        com.google.protobuf.Timestamp.Builder builderForValue) {
       if (expireTimeBuilder_ == null) {
         expiration_ = builderForValue.build();
         onChanged();
@@ -9872,8 +8275,6 @@ public Builder setExpireTime(com.google.protobuf.Timestamp.Builder builderForVal
       return this;
     }
     /**
-     *
-     *
      * 
      * The time at which this conversation should expire. After this time, the
      * conversation data and any associated analyses will be deleted.
@@ -9883,12 +8284,10 @@ public Builder setExpireTime(com.google.protobuf.Timestamp.Builder builderForVal
      */
     public Builder mergeExpireTime(com.google.protobuf.Timestamp value) {
       if (expireTimeBuilder_ == null) {
-        if (expirationCase_ == 15
-            && expiration_ != com.google.protobuf.Timestamp.getDefaultInstance()) {
-          expiration_ =
-              com.google.protobuf.Timestamp.newBuilder((com.google.protobuf.Timestamp) expiration_)
-                  .mergeFrom(value)
-                  .buildPartial();
+        if (expirationCase_ == 15 &&
+            expiration_ != com.google.protobuf.Timestamp.getDefaultInstance()) {
+          expiration_ = com.google.protobuf.Timestamp.newBuilder((com.google.protobuf.Timestamp) expiration_)
+              .mergeFrom(value).buildPartial();
         } else {
           expiration_ = value;
         }
@@ -9904,8 +8303,6 @@ public Builder mergeExpireTime(com.google.protobuf.Timestamp value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * The time at which this conversation should expire. After this time, the
      * conversation data and any associated analyses will be deleted.
@@ -9930,8 +8327,6 @@ public Builder clearExpireTime() {
       return this;
     }
     /**
-     *
-     *
      * 
      * The time at which this conversation should expire. After this time, the
      * conversation data and any associated analyses will be deleted.
@@ -9943,8 +8338,6 @@ public com.google.protobuf.Timestamp.Builder getExpireTimeBuilder() {
       return getExpireTimeFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * The time at which this conversation should expire. After this time, the
      * conversation data and any associated analyses will be deleted.
@@ -9964,8 +8357,6 @@ public com.google.protobuf.TimestampOrBuilder getExpireTimeOrBuilder() {
       }
     }
     /**
-     *
-     *
      * 
      * The time at which this conversation should expire. After this time, the
      * conversation data and any associated analyses will be deleted.
@@ -9974,20 +8365,17 @@ public com.google.protobuf.TimestampOrBuilder getExpireTimeOrBuilder() {
      * .google.protobuf.Timestamp expire_time = 15;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.protobuf.Timestamp,
-            com.google.protobuf.Timestamp.Builder,
-            com.google.protobuf.TimestampOrBuilder>
+        com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> 
         getExpireTimeFieldBuilder() {
       if (expireTimeBuilder_ == null) {
         if (!(expirationCase_ == 15)) {
           expiration_ = com.google.protobuf.Timestamp.getDefaultInstance();
         }
-        expireTimeBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.protobuf.Timestamp,
-                com.google.protobuf.Timestamp.Builder,
-                com.google.protobuf.TimestampOrBuilder>(
-                (com.google.protobuf.Timestamp) expiration_, getParentForChildren(), isClean());
+        expireTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>(
+                (com.google.protobuf.Timestamp) expiration_,
+                getParentForChildren(),
+                isClean());
         expiration_ = null;
       }
       expirationCase_ = 15;
@@ -9996,20 +8384,14 @@ public com.google.protobuf.TimestampOrBuilder getExpireTimeOrBuilder() {
     }
 
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.protobuf.Duration,
-            com.google.protobuf.Duration.Builder,
-            com.google.protobuf.DurationOrBuilder>
-        ttlBuilder_;
+        com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder> ttlBuilder_;
     /**
-     *
-     *
      * 
      * Input only. The TTL for this resource. If specified, then this TTL will
      * be used to calculate the expire time.
      * 
* * .google.protobuf.Duration ttl = 16 [(.google.api.field_behavior) = INPUT_ONLY]; - * * @return Whether the ttl field is set. */ @java.lang.Override @@ -10017,15 +8399,12 @@ public boolean hasTtl() { return expirationCase_ == 16; } /** - * - * *
      * Input only. The TTL for this resource. If specified, then this TTL will
      * be used to calculate the expire time.
      * 
* * .google.protobuf.Duration ttl = 16 [(.google.api.field_behavior) = INPUT_ONLY]; - * * @return The ttl. */ @java.lang.Override @@ -10043,8 +8422,6 @@ public com.google.protobuf.Duration getTtl() { } } /** - * - * *
      * Input only. The TTL for this resource. If specified, then this TTL will
      * be used to calculate the expire time.
@@ -10066,8 +8443,6 @@ public Builder setTtl(com.google.protobuf.Duration value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * Input only. The TTL for this resource. If specified, then this TTL will
      * be used to calculate the expire time.
@@ -10075,7 +8450,8 @@ public Builder setTtl(com.google.protobuf.Duration value) {
      *
      * .google.protobuf.Duration ttl = 16 [(.google.api.field_behavior) = INPUT_ONLY];
      */
-    public Builder setTtl(com.google.protobuf.Duration.Builder builderForValue) {
+    public Builder setTtl(
+        com.google.protobuf.Duration.Builder builderForValue) {
       if (ttlBuilder_ == null) {
         expiration_ = builderForValue.build();
         onChanged();
@@ -10086,8 +8462,6 @@ public Builder setTtl(com.google.protobuf.Duration.Builder builderForValue) {
       return this;
     }
     /**
-     *
-     *
      * 
      * Input only. The TTL for this resource. If specified, then this TTL will
      * be used to calculate the expire time.
@@ -10097,12 +8471,10 @@ public Builder setTtl(com.google.protobuf.Duration.Builder builderForValue) {
      */
     public Builder mergeTtl(com.google.protobuf.Duration value) {
       if (ttlBuilder_ == null) {
-        if (expirationCase_ == 16
-            && expiration_ != com.google.protobuf.Duration.getDefaultInstance()) {
-          expiration_ =
-              com.google.protobuf.Duration.newBuilder((com.google.protobuf.Duration) expiration_)
-                  .mergeFrom(value)
-                  .buildPartial();
+        if (expirationCase_ == 16 &&
+            expiration_ != com.google.protobuf.Duration.getDefaultInstance()) {
+          expiration_ = com.google.protobuf.Duration.newBuilder((com.google.protobuf.Duration) expiration_)
+              .mergeFrom(value).buildPartial();
         } else {
           expiration_ = value;
         }
@@ -10118,8 +8490,6 @@ public Builder mergeTtl(com.google.protobuf.Duration value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * Input only. The TTL for this resource. If specified, then this TTL will
      * be used to calculate the expire time.
@@ -10144,8 +8514,6 @@ public Builder clearTtl() {
       return this;
     }
     /**
-     *
-     *
      * 
      * Input only. The TTL for this resource. If specified, then this TTL will
      * be used to calculate the expire time.
@@ -10157,8 +8525,6 @@ public com.google.protobuf.Duration.Builder getTtlBuilder() {
       return getTtlFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * Input only. The TTL for this resource. If specified, then this TTL will
      * be used to calculate the expire time.
@@ -10178,8 +8544,6 @@ public com.google.protobuf.DurationOrBuilder getTtlOrBuilder() {
       }
     }
     /**
-     *
-     *
      * 
      * Input only. The TTL for this resource. If specified, then this TTL will
      * be used to calculate the expire time.
@@ -10188,20 +8552,17 @@ public com.google.protobuf.DurationOrBuilder getTtlOrBuilder() {
      * .google.protobuf.Duration ttl = 16 [(.google.api.field_behavior) = INPUT_ONLY];
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.protobuf.Duration,
-            com.google.protobuf.Duration.Builder,
-            com.google.protobuf.DurationOrBuilder>
+        com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder> 
         getTtlFieldBuilder() {
       if (ttlBuilder_ == null) {
         if (!(expirationCase_ == 16)) {
           expiration_ = com.google.protobuf.Duration.getDefaultInstance();
         }
-        ttlBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.protobuf.Duration,
-                com.google.protobuf.Duration.Builder,
-                com.google.protobuf.DurationOrBuilder>(
-                (com.google.protobuf.Duration) expiration_, getParentForChildren(), isClean());
+        ttlBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder>(
+                (com.google.protobuf.Duration) expiration_,
+                getParentForChildren(),
+                isClean());
         expiration_ = null;
       }
       expirationCase_ = 16;
@@ -10211,8 +8572,6 @@ public com.google.protobuf.DurationOrBuilder getTtlOrBuilder() {
 
     private java.lang.Object name_ = "";
     /**
-     *
-     *
      * 
      * Immutable. The resource name of the conversation.
      * Format:
@@ -10220,13 +8579,13 @@ public com.google.protobuf.DurationOrBuilder getTtlOrBuilder() {
      * 
* * string name = 1 [(.google.api.field_behavior) = IMMUTABLE]; - * * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -10235,8 +8594,6 @@ public java.lang.String getName() { } } /** - * - * *
      * Immutable. The resource name of the conversation.
      * Format:
@@ -10244,14 +8601,15 @@ public java.lang.String getName() {
      * 
* * string name = 1 [(.google.api.field_behavior) = IMMUTABLE]; - * * @return The bytes for name. */ - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -10259,8 +8617,6 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * Immutable. The resource name of the conversation.
      * Format:
@@ -10268,22 +8624,18 @@ public com.google.protobuf.ByteString getNameBytes() {
      * 
* * string name = 1 [(.google.api.field_behavior) = IMMUTABLE]; - * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setName( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } name_ = value; bitField0_ |= 0x00000008; onChanged(); return this; } /** - * - * *
      * Immutable. The resource name of the conversation.
      * Format:
@@ -10291,7 +8643,6 @@ public Builder setName(java.lang.String value) {
      * 
* * string name = 1 [(.google.api.field_behavior) = IMMUTABLE]; - * * @return This builder for chaining. */ public Builder clearName() { @@ -10301,8 +8652,6 @@ public Builder clearName() { return this; } /** - * - * *
      * Immutable. The resource name of the conversation.
      * Format:
@@ -10310,14 +8659,12 @@ public Builder clearName() {
      * 
* * string name = 1 [(.google.api.field_behavior) = IMMUTABLE]; - * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setNameBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); name_ = value; bitField0_ |= 0x00000008; @@ -10327,55 +8674,41 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) { private com.google.cloud.contactcenterinsights.v1.ConversationDataSource dataSource_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.contactcenterinsights.v1.ConversationDataSource, - com.google.cloud.contactcenterinsights.v1.ConversationDataSource.Builder, - com.google.cloud.contactcenterinsights.v1.ConversationDataSourceOrBuilder> - dataSourceBuilder_; + com.google.cloud.contactcenterinsights.v1.ConversationDataSource, com.google.cloud.contactcenterinsights.v1.ConversationDataSource.Builder, com.google.cloud.contactcenterinsights.v1.ConversationDataSourceOrBuilder> dataSourceBuilder_; /** - * - * *
      * The source of the audio and transcription for the conversation.
      * 
* * .google.cloud.contactcenterinsights.v1.ConversationDataSource data_source = 2; - * * @return Whether the dataSource field is set. */ public boolean hasDataSource() { return ((bitField0_ & 0x00000010) != 0); } /** - * - * *
      * The source of the audio and transcription for the conversation.
      * 
* * .google.cloud.contactcenterinsights.v1.ConversationDataSource data_source = 2; - * * @return The dataSource. */ public com.google.cloud.contactcenterinsights.v1.ConversationDataSource getDataSource() { if (dataSourceBuilder_ == null) { - return dataSource_ == null - ? com.google.cloud.contactcenterinsights.v1.ConversationDataSource.getDefaultInstance() - : dataSource_; + return dataSource_ == null ? com.google.cloud.contactcenterinsights.v1.ConversationDataSource.getDefaultInstance() : dataSource_; } else { return dataSourceBuilder_.getMessage(); } } /** - * - * *
      * The source of the audio and transcription for the conversation.
      * 
* * .google.cloud.contactcenterinsights.v1.ConversationDataSource data_source = 2; */ - public Builder setDataSource( - com.google.cloud.contactcenterinsights.v1.ConversationDataSource value) { + public Builder setDataSource(com.google.cloud.contactcenterinsights.v1.ConversationDataSource value) { if (dataSourceBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -10389,8 +8722,6 @@ public Builder setDataSource( return this; } /** - * - * *
      * The source of the audio and transcription for the conversation.
      * 
@@ -10409,22 +8740,17 @@ public Builder setDataSource( return this; } /** - * - * *
      * The source of the audio and transcription for the conversation.
      * 
* * .google.cloud.contactcenterinsights.v1.ConversationDataSource data_source = 2; */ - public Builder mergeDataSource( - com.google.cloud.contactcenterinsights.v1.ConversationDataSource value) { + public Builder mergeDataSource(com.google.cloud.contactcenterinsights.v1.ConversationDataSource value) { if (dataSourceBuilder_ == null) { - if (((bitField0_ & 0x00000010) != 0) - && dataSource_ != null - && dataSource_ - != com.google.cloud.contactcenterinsights.v1.ConversationDataSource - .getDefaultInstance()) { + if (((bitField0_ & 0x00000010) != 0) && + dataSource_ != null && + dataSource_ != com.google.cloud.contactcenterinsights.v1.ConversationDataSource.getDefaultInstance()) { getDataSourceBuilder().mergeFrom(value); } else { dataSource_ = value; @@ -10437,8 +8763,6 @@ public Builder mergeDataSource( return this; } /** - * - * *
      * The source of the audio and transcription for the conversation.
      * 
@@ -10456,42 +8780,33 @@ public Builder clearDataSource() { return this; } /** - * - * *
      * The source of the audio and transcription for the conversation.
      * 
* * .google.cloud.contactcenterinsights.v1.ConversationDataSource data_source = 2; */ - public com.google.cloud.contactcenterinsights.v1.ConversationDataSource.Builder - getDataSourceBuilder() { + public com.google.cloud.contactcenterinsights.v1.ConversationDataSource.Builder getDataSourceBuilder() { bitField0_ |= 0x00000010; onChanged(); return getDataSourceFieldBuilder().getBuilder(); } /** - * - * *
      * The source of the audio and transcription for the conversation.
      * 
* * .google.cloud.contactcenterinsights.v1.ConversationDataSource data_source = 2; */ - public com.google.cloud.contactcenterinsights.v1.ConversationDataSourceOrBuilder - getDataSourceOrBuilder() { + public com.google.cloud.contactcenterinsights.v1.ConversationDataSourceOrBuilder getDataSourceOrBuilder() { if (dataSourceBuilder_ != null) { return dataSourceBuilder_.getMessageOrBuilder(); } else { - return dataSource_ == null - ? com.google.cloud.contactcenterinsights.v1.ConversationDataSource.getDefaultInstance() - : dataSource_; + return dataSource_ == null ? + com.google.cloud.contactcenterinsights.v1.ConversationDataSource.getDefaultInstance() : dataSource_; } } /** - * - * *
      * The source of the audio and transcription for the conversation.
      * 
@@ -10499,17 +8814,14 @@ public Builder clearDataSource() { * .google.cloud.contactcenterinsights.v1.ConversationDataSource data_source = 2; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.contactcenterinsights.v1.ConversationDataSource, - com.google.cloud.contactcenterinsights.v1.ConversationDataSource.Builder, - com.google.cloud.contactcenterinsights.v1.ConversationDataSourceOrBuilder> + com.google.cloud.contactcenterinsights.v1.ConversationDataSource, com.google.cloud.contactcenterinsights.v1.ConversationDataSource.Builder, com.google.cloud.contactcenterinsights.v1.ConversationDataSourceOrBuilder> getDataSourceFieldBuilder() { if (dataSourceBuilder_ == null) { - dataSourceBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.contactcenterinsights.v1.ConversationDataSource, - com.google.cloud.contactcenterinsights.v1.ConversationDataSource.Builder, - com.google.cloud.contactcenterinsights.v1.ConversationDataSourceOrBuilder>( - getDataSource(), getParentForChildren(), isClean()); + dataSourceBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.contactcenterinsights.v1.ConversationDataSource, com.google.cloud.contactcenterinsights.v1.ConversationDataSource.Builder, com.google.cloud.contactcenterinsights.v1.ConversationDataSourceOrBuilder>( + getDataSource(), + getParentForChildren(), + isClean()); dataSource_ = null; } return dataSourceBuilder_; @@ -10517,58 +8829,39 @@ public Builder clearDataSource() { private com.google.protobuf.Timestamp createTime_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> - createTimeBuilder_; + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> createTimeBuilder_; /** - * - * *
      * Output only. The time at which the conversation was created.
      * 
* - * - * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the createTime field is set. */ public boolean hasCreateTime() { return ((bitField0_ & 0x00000020) != 0); } /** - * - * *
      * Output only. The time at which the conversation was created.
      * 
* - * - * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The createTime. */ public com.google.protobuf.Timestamp getCreateTime() { if (createTimeBuilder_ == null) { - return createTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : createTime_; + return createTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : createTime_; } else { return createTimeBuilder_.getMessage(); } } /** - * - * *
      * Output only. The time at which the conversation was created.
      * 
* - * - * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder setCreateTime(com.google.protobuf.Timestamp value) { if (createTimeBuilder_ == null) { @@ -10584,17 +8877,14 @@ public Builder setCreateTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * Output only. The time at which the conversation was created.
      * 
* - * - * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - public Builder setCreateTime(com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setCreateTime( + com.google.protobuf.Timestamp.Builder builderForValue) { if (createTimeBuilder_ == null) { createTime_ = builderForValue.build(); } else { @@ -10605,21 +8895,17 @@ public Builder setCreateTime(com.google.protobuf.Timestamp.Builder builderForVal return this; } /** - * - * *
      * Output only. The time at which the conversation was created.
      * 
* - * - * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder mergeCreateTime(com.google.protobuf.Timestamp value) { if (createTimeBuilder_ == null) { - if (((bitField0_ & 0x00000020) != 0) - && createTime_ != null - && createTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { + if (((bitField0_ & 0x00000020) != 0) && + createTime_ != null && + createTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { getCreateTimeBuilder().mergeFrom(value); } else { createTime_ = value; @@ -10632,15 +8918,11 @@ public Builder mergeCreateTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * Output only. The time at which the conversation was created.
      * 
* - * - * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder clearCreateTime() { bitField0_ = (bitField0_ & ~0x00000020); @@ -10653,15 +8935,11 @@ public Builder clearCreateTime() { return this; } /** - * - * *
      * Output only. The time at which the conversation was created.
      * 
* - * - * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public com.google.protobuf.Timestamp.Builder getCreateTimeBuilder() { bitField0_ |= 0x00000020; @@ -10669,48 +8947,36 @@ public com.google.protobuf.Timestamp.Builder getCreateTimeBuilder() { return getCreateTimeFieldBuilder().getBuilder(); } /** - * - * *
      * Output only. The time at which the conversation was created.
      * 
* - * - * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { if (createTimeBuilder_ != null) { return createTimeBuilder_.getMessageOrBuilder(); } else { - return createTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : createTime_; + return createTime_ == null ? + com.google.protobuf.Timestamp.getDefaultInstance() : createTime_; } } /** - * - * *
      * Output only. The time at which the conversation was created.
      * 
* - * - * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> getCreateTimeFieldBuilder() { if (createTimeBuilder_ == null) { - createTimeBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder>( - getCreateTime(), getParentForChildren(), isClean()); + createTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( + getCreateTime(), + getParentForChildren(), + isClean()); createTime_ = null; } return createTimeBuilder_; @@ -10718,58 +8984,39 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { private com.google.protobuf.Timestamp updateTime_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> - updateTimeBuilder_; + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> updateTimeBuilder_; /** - * - * *
      * Output only. The most recent time at which the conversation was updated.
      * 
* - * - * .google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the updateTime field is set. */ public boolean hasUpdateTime() { return ((bitField0_ & 0x00000040) != 0); } /** - * - * *
      * Output only. The most recent time at which the conversation was updated.
      * 
* - * - * .google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The updateTime. */ public com.google.protobuf.Timestamp getUpdateTime() { if (updateTimeBuilder_ == null) { - return updateTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : updateTime_; + return updateTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : updateTime_; } else { return updateTimeBuilder_.getMessage(); } } /** - * - * *
      * Output only. The most recent time at which the conversation was updated.
      * 
* - * - * .google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder setUpdateTime(com.google.protobuf.Timestamp value) { if (updateTimeBuilder_ == null) { @@ -10785,17 +9032,14 @@ public Builder setUpdateTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * Output only. The most recent time at which the conversation was updated.
      * 
* - * - * .google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - public Builder setUpdateTime(com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setUpdateTime( + com.google.protobuf.Timestamp.Builder builderForValue) { if (updateTimeBuilder_ == null) { updateTime_ = builderForValue.build(); } else { @@ -10806,21 +9050,17 @@ public Builder setUpdateTime(com.google.protobuf.Timestamp.Builder builderForVal return this; } /** - * - * *
      * Output only. The most recent time at which the conversation was updated.
      * 
* - * - * .google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder mergeUpdateTime(com.google.protobuf.Timestamp value) { if (updateTimeBuilder_ == null) { - if (((bitField0_ & 0x00000040) != 0) - && updateTime_ != null - && updateTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { + if (((bitField0_ & 0x00000040) != 0) && + updateTime_ != null && + updateTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { getUpdateTimeBuilder().mergeFrom(value); } else { updateTime_ = value; @@ -10833,15 +9073,11 @@ public Builder mergeUpdateTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * Output only. The most recent time at which the conversation was updated.
      * 
* - * - * .google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder clearUpdateTime() { bitField0_ = (bitField0_ & ~0x00000040); @@ -10854,15 +9090,11 @@ public Builder clearUpdateTime() { return this; } /** - * - * *
      * Output only. The most recent time at which the conversation was updated.
      * 
* - * - * .google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public com.google.protobuf.Timestamp.Builder getUpdateTimeBuilder() { bitField0_ |= 0x00000040; @@ -10870,48 +9102,36 @@ public com.google.protobuf.Timestamp.Builder getUpdateTimeBuilder() { return getUpdateTimeFieldBuilder().getBuilder(); } /** - * - * *
      * Output only. The most recent time at which the conversation was updated.
      * 
* - * - * .google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { if (updateTimeBuilder_ != null) { return updateTimeBuilder_.getMessageOrBuilder(); } else { - return updateTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : updateTime_; + return updateTime_ == null ? + com.google.protobuf.Timestamp.getDefaultInstance() : updateTime_; } } /** - * - * *
      * Output only. The most recent time at which the conversation was updated.
      * 
* - * - * .google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> getUpdateTimeFieldBuilder() { if (updateTimeBuilder_ == null) { - updateTimeBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder>( - getUpdateTime(), getParentForChildren(), isClean()); + updateTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( + getUpdateTime(), + getParentForChildren(), + isClean()); updateTime_ = null; } return updateTimeBuilder_; @@ -10919,33 +9139,24 @@ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { private com.google.protobuf.Timestamp startTime_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> - startTimeBuilder_; + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> startTimeBuilder_; /** - * - * *
      * The time at which the conversation started.
      * 
* * .google.protobuf.Timestamp start_time = 17; - * * @return Whether the startTime field is set. */ public boolean hasStartTime() { return ((bitField0_ & 0x00000080) != 0); } /** - * - * *
      * The time at which the conversation started.
      * 
* * .google.protobuf.Timestamp start_time = 17; - * * @return The startTime. */ public com.google.protobuf.Timestamp getStartTime() { @@ -10956,8 +9167,6 @@ public com.google.protobuf.Timestamp getStartTime() { } } /** - * - * *
      * The time at which the conversation started.
      * 
@@ -10978,15 +9187,14 @@ public Builder setStartTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * The time at which the conversation started.
      * 
* * .google.protobuf.Timestamp start_time = 17; */ - public Builder setStartTime(com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setStartTime( + com.google.protobuf.Timestamp.Builder builderForValue) { if (startTimeBuilder_ == null) { startTime_ = builderForValue.build(); } else { @@ -10997,8 +9205,6 @@ public Builder setStartTime(com.google.protobuf.Timestamp.Builder builderForValu return this; } /** - * - * *
      * The time at which the conversation started.
      * 
@@ -11007,9 +9213,9 @@ public Builder setStartTime(com.google.protobuf.Timestamp.Builder builderForValu */ public Builder mergeStartTime(com.google.protobuf.Timestamp value) { if (startTimeBuilder_ == null) { - if (((bitField0_ & 0x00000080) != 0) - && startTime_ != null - && startTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { + if (((bitField0_ & 0x00000080) != 0) && + startTime_ != null && + startTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { getStartTimeBuilder().mergeFrom(value); } else { startTime_ = value; @@ -11022,8 +9228,6 @@ public Builder mergeStartTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * The time at which the conversation started.
      * 
@@ -11041,8 +9245,6 @@ public Builder clearStartTime() { return this; } /** - * - * *
      * The time at which the conversation started.
      * 
@@ -11055,8 +9257,6 @@ public com.google.protobuf.Timestamp.Builder getStartTimeBuilder() { return getStartTimeFieldBuilder().getBuilder(); } /** - * - * *
      * The time at which the conversation started.
      * 
@@ -11067,12 +9267,11 @@ public com.google.protobuf.TimestampOrBuilder getStartTimeOrBuilder() { if (startTimeBuilder_ != null) { return startTimeBuilder_.getMessageOrBuilder(); } else { - return startTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : startTime_; + return startTime_ == null ? + com.google.protobuf.Timestamp.getDefaultInstance() : startTime_; } } /** - * - * *
      * The time at which the conversation started.
      * 
@@ -11080,17 +9279,14 @@ public com.google.protobuf.TimestampOrBuilder getStartTimeOrBuilder() { * .google.protobuf.Timestamp start_time = 17; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> getStartTimeFieldBuilder() { if (startTimeBuilder_ == null) { - startTimeBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder>( - getStartTime(), getParentForChildren(), isClean()); + startTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( + getStartTime(), + getParentForChildren(), + isClean()); startTime_ = null; } return startTimeBuilder_; @@ -11098,20 +9294,18 @@ public com.google.protobuf.TimestampOrBuilder getStartTimeOrBuilder() { private java.lang.Object languageCode_ = ""; /** - * - * *
      * A user-specified language code for the conversation.
      * 
* * string language_code = 14; - * * @return The languageCode. */ public java.lang.String getLanguageCode() { java.lang.Object ref = languageCode_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); languageCode_ = s; return s; @@ -11120,21 +9314,20 @@ public java.lang.String getLanguageCode() { } } /** - * - * *
      * A user-specified language code for the conversation.
      * 
* * string language_code = 14; - * * @return The bytes for languageCode. */ - public com.google.protobuf.ByteString getLanguageCodeBytes() { + public com.google.protobuf.ByteString + getLanguageCodeBytes() { java.lang.Object ref = languageCode_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); languageCode_ = b; return b; } else { @@ -11142,35 +9335,28 @@ public com.google.protobuf.ByteString getLanguageCodeBytes() { } } /** - * - * *
      * A user-specified language code for the conversation.
      * 
* * string language_code = 14; - * * @param value The languageCode to set. * @return This builder for chaining. */ - public Builder setLanguageCode(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setLanguageCode( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } languageCode_ = value; bitField0_ |= 0x00000100; onChanged(); return this; } /** - * - * *
      * A user-specified language code for the conversation.
      * 
* * string language_code = 14; - * * @return This builder for chaining. */ public Builder clearLanguageCode() { @@ -11180,21 +9366,17 @@ public Builder clearLanguageCode() { return this; } /** - * - * *
      * A user-specified language code for the conversation.
      * 
* * string language_code = 14; - * * @param value The bytes for languageCode to set. * @return This builder for chaining. */ - public Builder setLanguageCodeBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setLanguageCodeBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); languageCode_ = value; bitField0_ |= 0x00000100; @@ -11204,21 +9386,19 @@ public Builder setLanguageCodeBytes(com.google.protobuf.ByteString value) { private java.lang.Object agentId_ = ""; /** - * - * *
      * An opaque, user-specified string representing the human agent who handled
      * the conversation.
      * 
* * string agent_id = 5; - * * @return The agentId. */ public java.lang.String getAgentId() { java.lang.Object ref = agentId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); agentId_ = s; return s; @@ -11227,22 +9407,21 @@ public java.lang.String getAgentId() { } } /** - * - * *
      * An opaque, user-specified string representing the human agent who handled
      * the conversation.
      * 
* * string agent_id = 5; - * * @return The bytes for agentId. */ - public com.google.protobuf.ByteString getAgentIdBytes() { + public com.google.protobuf.ByteString + getAgentIdBytes() { java.lang.Object ref = agentId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); agentId_ = b; return b; } else { @@ -11250,37 +9429,30 @@ public com.google.protobuf.ByteString getAgentIdBytes() { } } /** - * - * *
      * An opaque, user-specified string representing the human agent who handled
      * the conversation.
      * 
* * string agent_id = 5; - * * @param value The agentId to set. * @return This builder for chaining. */ - public Builder setAgentId(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setAgentId( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } agentId_ = value; bitField0_ |= 0x00000200; onChanged(); return this; } /** - * - * *
      * An opaque, user-specified string representing the human agent who handled
      * the conversation.
      * 
* * string agent_id = 5; - * * @return This builder for chaining. */ public Builder clearAgentId() { @@ -11290,22 +9462,18 @@ public Builder clearAgentId() { return this; } /** - * - * *
      * An opaque, user-specified string representing the human agent who handled
      * the conversation.
      * 
* * string agent_id = 5; - * * @param value The bytes for agentId to set. * @return This builder for chaining. */ - public Builder setAgentIdBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setAgentIdBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); agentId_ = value; bitField0_ |= 0x00000200; @@ -11313,19 +9481,21 @@ public Builder setAgentIdBytes(com.google.protobuf.ByteString value) { return this; } - private com.google.protobuf.MapField labels_; - - private com.google.protobuf.MapField internalGetLabels() { + private com.google.protobuf.MapField< + java.lang.String, java.lang.String> labels_; + private com.google.protobuf.MapField + internalGetLabels() { if (labels_ == null) { - return com.google.protobuf.MapField.emptyMapField(LabelsDefaultEntryHolder.defaultEntry); + return com.google.protobuf.MapField.emptyMapField( + LabelsDefaultEntryHolder.defaultEntry); } return labels_; } - private com.google.protobuf.MapField internalGetMutableLabels() { if (labels_ == null) { - labels_ = com.google.protobuf.MapField.newMapField(LabelsDefaultEntryHolder.defaultEntry); + labels_ = com.google.protobuf.MapField.newMapField( + LabelsDefaultEntryHolder.defaultEntry); } if (!labels_.isMutable()) { labels_ = labels_.copy(); @@ -11334,13 +9504,10 @@ private com.google.protobuf.MapField interna onChanged(); return labels_; } - public int getLabelsCount() { return internalGetLabels().getMap().size(); } /** - * - * *
      * A map for the user to specify any custom fields. A maximum of 20 labels per
      * conversation is allowed, with a maximum of 256 characters per entry.
@@ -11349,21 +9516,20 @@ public int getLabelsCount() {
      * map<string, string> labels = 6;
      */
     @java.lang.Override
-    public boolean containsLabels(java.lang.String key) {
-      if (key == null) {
-        throw new NullPointerException("map key");
-      }
+    public boolean containsLabels(
+        java.lang.String key) {
+      if (key == null) { throw new NullPointerException("map key"); }
       return internalGetLabels().getMap().containsKey(key);
     }
-    /** Use {@link #getLabelsMap()} instead. */
+    /**
+     * Use {@link #getLabelsMap()} instead.
+     */
     @java.lang.Override
     @java.lang.Deprecated
     public java.util.Map getLabels() {
       return getLabelsMap();
     }
-    /**
-     *
-     *
+    /**
      * 
      * A map for the user to specify any custom fields. A maximum of 20 labels per
      * conversation is allowed, with a maximum of 256 characters per entry.
@@ -11376,8 +9542,6 @@ public java.util.Map getLabelsMap() {
       return internalGetLabels().getMap();
     }
     /**
-     *
-     *
      * 
      * A map for the user to specify any custom fields. A maximum of 20 labels per
      * conversation is allowed, with a maximum of 256 characters per entry.
@@ -11386,19 +9550,17 @@ public java.util.Map getLabelsMap() {
      * map<string, string> labels = 6;
      */
     @java.lang.Override
-    public /* nullable */ java.lang.String getLabelsOrDefault(
+    public /* nullable */
+java.lang.String getLabelsOrDefault(
         java.lang.String key,
         /* nullable */
-        java.lang.String defaultValue) {
-      if (key == null) {
-        throw new NullPointerException("map key");
-      }
-      java.util.Map map = internalGetLabels().getMap();
+java.lang.String defaultValue) {
+      if (key == null) { throw new NullPointerException("map key"); }
+      java.util.Map map =
+          internalGetLabels().getMap();
       return map.containsKey(key) ? map.get(key) : defaultValue;
     }
     /**
-     *
-     *
      * 
      * A map for the user to specify any custom fields. A maximum of 20 labels per
      * conversation is allowed, with a maximum of 256 characters per entry.
@@ -11407,25 +9569,23 @@ public java.util.Map getLabelsMap() {
      * map<string, string> labels = 6;
      */
     @java.lang.Override
-    public java.lang.String getLabelsOrThrow(java.lang.String key) {
-      if (key == null) {
-        throw new NullPointerException("map key");
-      }
-      java.util.Map map = internalGetLabels().getMap();
+    public java.lang.String getLabelsOrThrow(
+        java.lang.String key) {
+      if (key == null) { throw new NullPointerException("map key"); }
+      java.util.Map map =
+          internalGetLabels().getMap();
       if (!map.containsKey(key)) {
         throw new java.lang.IllegalArgumentException();
       }
       return map.get(key);
     }
-
     public Builder clearLabels() {
       bitField0_ = (bitField0_ & ~0x00000400);
-      internalGetMutableLabels().getMutableMap().clear();
+      internalGetMutableLabels().getMutableMap()
+          .clear();
       return this;
     }
     /**
-     *
-     *
      * 
      * A map for the user to specify any custom fields. A maximum of 20 labels per
      * conversation is allowed, with a maximum of 256 characters per entry.
@@ -11433,22 +9593,23 @@ public Builder clearLabels() {
      *
      * map<string, string> labels = 6;
      */
-    public Builder removeLabels(java.lang.String key) {
-      if (key == null) {
-        throw new NullPointerException("map key");
-      }
-      internalGetMutableLabels().getMutableMap().remove(key);
+    public Builder removeLabels(
+        java.lang.String key) {
+      if (key == null) { throw new NullPointerException("map key"); }
+      internalGetMutableLabels().getMutableMap()
+          .remove(key);
       return this;
     }
-    /** Use alternate mutation accessors instead. */
+    /**
+     * Use alternate mutation accessors instead.
+     */
     @java.lang.Deprecated
-    public java.util.Map getMutableLabels() {
+    public java.util.Map
+        getMutableLabels() {
       bitField0_ |= 0x00000400;
       return internalGetMutableLabels().getMutableMap();
     }
     /**
-     *
-     *
      * 
      * A map for the user to specify any custom fields. A maximum of 20 labels per
      * conversation is allowed, with a maximum of 256 characters per entry.
@@ -11456,20 +9617,17 @@ public java.util.Map getMutableLabels() {
      *
      * map<string, string> labels = 6;
      */
-    public Builder putLabels(java.lang.String key, java.lang.String value) {
-      if (key == null) {
-        throw new NullPointerException("map key");
-      }
-      if (value == null) {
-        throw new NullPointerException("map value");
-      }
-      internalGetMutableLabels().getMutableMap().put(key, value);
+    public Builder putLabels(
+        java.lang.String key,
+        java.lang.String value) {
+      if (key == null) { throw new NullPointerException("map key"); }
+      if (value == null) { throw new NullPointerException("map value"); }
+      internalGetMutableLabels().getMutableMap()
+          .put(key, value);
       bitField0_ |= 0x00000400;
       return this;
     }
     /**
-     *
-     *
      * 
      * A map for the user to specify any custom fields. A maximum of 20 labels per
      * conversation is allowed, with a maximum of 256 characters per entry.
@@ -11477,69 +9635,51 @@ public Builder putLabels(java.lang.String key, java.lang.String value) {
      *
      * map<string, string> labels = 6;
      */
-    public Builder putAllLabels(java.util.Map values) {
-      internalGetMutableLabels().getMutableMap().putAll(values);
+    public Builder putAllLabels(
+        java.util.Map values) {
+      internalGetMutableLabels().getMutableMap()
+          .putAll(values);
       bitField0_ |= 0x00000400;
       return this;
     }
 
     private com.google.cloud.contactcenterinsights.v1.Conversation.Transcript transcript_;
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.cloud.contactcenterinsights.v1.Conversation.Transcript,
-            com.google.cloud.contactcenterinsights.v1.Conversation.Transcript.Builder,
-            com.google.cloud.contactcenterinsights.v1.Conversation.TranscriptOrBuilder>
-        transcriptBuilder_;
+        com.google.cloud.contactcenterinsights.v1.Conversation.Transcript, com.google.cloud.contactcenterinsights.v1.Conversation.Transcript.Builder, com.google.cloud.contactcenterinsights.v1.Conversation.TranscriptOrBuilder> transcriptBuilder_;
     /**
-     *
-     *
      * 
      * Output only. The conversation transcript.
      * 
* - * - * .google.cloud.contactcenterinsights.v1.Conversation.Transcript transcript = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.contactcenterinsights.v1.Conversation.Transcript transcript = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the transcript field is set. */ public boolean hasTranscript() { return ((bitField0_ & 0x00000800) != 0); } /** - * - * *
      * Output only. The conversation transcript.
      * 
* - * - * .google.cloud.contactcenterinsights.v1.Conversation.Transcript transcript = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.contactcenterinsights.v1.Conversation.Transcript transcript = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The transcript. */ public com.google.cloud.contactcenterinsights.v1.Conversation.Transcript getTranscript() { if (transcriptBuilder_ == null) { - return transcript_ == null - ? com.google.cloud.contactcenterinsights.v1.Conversation.Transcript.getDefaultInstance() - : transcript_; + return transcript_ == null ? com.google.cloud.contactcenterinsights.v1.Conversation.Transcript.getDefaultInstance() : transcript_; } else { return transcriptBuilder_.getMessage(); } } /** - * - * *
      * Output only. The conversation transcript.
      * 
* - * - * .google.cloud.contactcenterinsights.v1.Conversation.Transcript transcript = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.contactcenterinsights.v1.Conversation.Transcript transcript = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - public Builder setTranscript( - com.google.cloud.contactcenterinsights.v1.Conversation.Transcript value) { + public Builder setTranscript(com.google.cloud.contactcenterinsights.v1.Conversation.Transcript value) { if (transcriptBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -11553,15 +9693,11 @@ public Builder setTranscript( return this; } /** - * - * *
      * Output only. The conversation transcript.
      * 
* - * - * .google.cloud.contactcenterinsights.v1.Conversation.Transcript transcript = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.contactcenterinsights.v1.Conversation.Transcript transcript = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder setTranscript( com.google.cloud.contactcenterinsights.v1.Conversation.Transcript.Builder builderForValue) { @@ -11575,24 +9711,17 @@ public Builder setTranscript( return this; } /** - * - * *
      * Output only. The conversation transcript.
      * 
* - * - * .google.cloud.contactcenterinsights.v1.Conversation.Transcript transcript = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.contactcenterinsights.v1.Conversation.Transcript transcript = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - public Builder mergeTranscript( - com.google.cloud.contactcenterinsights.v1.Conversation.Transcript value) { + public Builder mergeTranscript(com.google.cloud.contactcenterinsights.v1.Conversation.Transcript value) { if (transcriptBuilder_ == null) { - if (((bitField0_ & 0x00000800) != 0) - && transcript_ != null - && transcript_ - != com.google.cloud.contactcenterinsights.v1.Conversation.Transcript - .getDefaultInstance()) { + if (((bitField0_ & 0x00000800) != 0) && + transcript_ != null && + transcript_ != com.google.cloud.contactcenterinsights.v1.Conversation.Transcript.getDefaultInstance()) { getTranscriptBuilder().mergeFrom(value); } else { transcript_ = value; @@ -11605,15 +9734,11 @@ public Builder mergeTranscript( return this; } /** - * - * *
      * Output only. The conversation transcript.
      * 
* - * - * .google.cloud.contactcenterinsights.v1.Conversation.Transcript transcript = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.contactcenterinsights.v1.Conversation.Transcript transcript = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder clearTranscript() { bitField0_ = (bitField0_ & ~0x00000800); @@ -11626,66 +9751,48 @@ public Builder clearTranscript() { return this; } /** - * - * *
      * Output only. The conversation transcript.
      * 
* - * - * .google.cloud.contactcenterinsights.v1.Conversation.Transcript transcript = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.contactcenterinsights.v1.Conversation.Transcript transcript = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - public com.google.cloud.contactcenterinsights.v1.Conversation.Transcript.Builder - getTranscriptBuilder() { + public com.google.cloud.contactcenterinsights.v1.Conversation.Transcript.Builder getTranscriptBuilder() { bitField0_ |= 0x00000800; onChanged(); return getTranscriptFieldBuilder().getBuilder(); } /** - * - * *
      * Output only. The conversation transcript.
      * 
* - * - * .google.cloud.contactcenterinsights.v1.Conversation.Transcript transcript = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.contactcenterinsights.v1.Conversation.Transcript transcript = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - public com.google.cloud.contactcenterinsights.v1.Conversation.TranscriptOrBuilder - getTranscriptOrBuilder() { + public com.google.cloud.contactcenterinsights.v1.Conversation.TranscriptOrBuilder getTranscriptOrBuilder() { if (transcriptBuilder_ != null) { return transcriptBuilder_.getMessageOrBuilder(); } else { - return transcript_ == null - ? com.google.cloud.contactcenterinsights.v1.Conversation.Transcript.getDefaultInstance() - : transcript_; + return transcript_ == null ? + com.google.cloud.contactcenterinsights.v1.Conversation.Transcript.getDefaultInstance() : transcript_; } } /** - * - * *
      * Output only. The conversation transcript.
      * 
* - * - * .google.cloud.contactcenterinsights.v1.Conversation.Transcript transcript = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.contactcenterinsights.v1.Conversation.Transcript transcript = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.contactcenterinsights.v1.Conversation.Transcript, - com.google.cloud.contactcenterinsights.v1.Conversation.Transcript.Builder, - com.google.cloud.contactcenterinsights.v1.Conversation.TranscriptOrBuilder> + com.google.cloud.contactcenterinsights.v1.Conversation.Transcript, com.google.cloud.contactcenterinsights.v1.Conversation.Transcript.Builder, com.google.cloud.contactcenterinsights.v1.Conversation.TranscriptOrBuilder> getTranscriptFieldBuilder() { if (transcriptBuilder_ == null) { - transcriptBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.contactcenterinsights.v1.Conversation.Transcript, - com.google.cloud.contactcenterinsights.v1.Conversation.Transcript.Builder, - com.google.cloud.contactcenterinsights.v1.Conversation.TranscriptOrBuilder>( - getTranscript(), getParentForChildren(), isClean()); + transcriptBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.contactcenterinsights.v1.Conversation.Transcript, com.google.cloud.contactcenterinsights.v1.Conversation.Transcript.Builder, com.google.cloud.contactcenterinsights.v1.Conversation.TranscriptOrBuilder>( + getTranscript(), + getParentForChildren(), + isClean()); transcript_ = null; } return transcriptBuilder_; @@ -11693,33 +9800,24 @@ public Builder clearTranscript() { private int medium_ = 0; /** - * - * *
-     * Immutable. The conversation medium, if unspecified will default to PHONE_CALL.
+     * Immutable. The conversation medium, if unspecified will default to
+     * PHONE_CALL.
      * 
* - * - * .google.cloud.contactcenterinsights.v1.Conversation.Medium medium = 9 [(.google.api.field_behavior) = IMMUTABLE]; - * - * + * .google.cloud.contactcenterinsights.v1.Conversation.Medium medium = 9 [(.google.api.field_behavior) = IMMUTABLE]; * @return The enum numeric value on the wire for medium. */ - @java.lang.Override - public int getMediumValue() { + @java.lang.Override public int getMediumValue() { return medium_; } /** - * - * *
-     * Immutable. The conversation medium, if unspecified will default to PHONE_CALL.
+     * Immutable. The conversation medium, if unspecified will default to
+     * PHONE_CALL.
      * 
* - * - * .google.cloud.contactcenterinsights.v1.Conversation.Medium medium = 9 [(.google.api.field_behavior) = IMMUTABLE]; - * - * + * .google.cloud.contactcenterinsights.v1.Conversation.Medium medium = 9 [(.google.api.field_behavior) = IMMUTABLE]; * @param value The enum numeric value on the wire for medium to set. * @return This builder for chaining. */ @@ -11730,37 +9828,26 @@ public Builder setMediumValue(int value) { return this; } /** - * - * *
-     * Immutable. The conversation medium, if unspecified will default to PHONE_CALL.
+     * Immutable. The conversation medium, if unspecified will default to
+     * PHONE_CALL.
      * 
* - * - * .google.cloud.contactcenterinsights.v1.Conversation.Medium medium = 9 [(.google.api.field_behavior) = IMMUTABLE]; - * - * + * .google.cloud.contactcenterinsights.v1.Conversation.Medium medium = 9 [(.google.api.field_behavior) = IMMUTABLE]; * @return The medium. */ @java.lang.Override public com.google.cloud.contactcenterinsights.v1.Conversation.Medium getMedium() { - com.google.cloud.contactcenterinsights.v1.Conversation.Medium result = - com.google.cloud.contactcenterinsights.v1.Conversation.Medium.forNumber(medium_); - return result == null - ? com.google.cloud.contactcenterinsights.v1.Conversation.Medium.UNRECOGNIZED - : result; + com.google.cloud.contactcenterinsights.v1.Conversation.Medium result = com.google.cloud.contactcenterinsights.v1.Conversation.Medium.forNumber(medium_); + return result == null ? com.google.cloud.contactcenterinsights.v1.Conversation.Medium.UNRECOGNIZED : result; } /** - * - * *
-     * Immutable. The conversation medium, if unspecified will default to PHONE_CALL.
+     * Immutable. The conversation medium, if unspecified will default to
+     * PHONE_CALL.
      * 
* - * - * .google.cloud.contactcenterinsights.v1.Conversation.Medium medium = 9 [(.google.api.field_behavior) = IMMUTABLE]; - * - * + * .google.cloud.contactcenterinsights.v1.Conversation.Medium medium = 9 [(.google.api.field_behavior) = IMMUTABLE]; * @param value The medium to set. * @return This builder for chaining. */ @@ -11774,16 +9861,12 @@ public Builder setMedium(com.google.cloud.contactcenterinsights.v1.Conversation. return this; } /** - * - * *
-     * Immutable. The conversation medium, if unspecified will default to PHONE_CALL.
+     * Immutable. The conversation medium, if unspecified will default to
+     * PHONE_CALL.
      * 
* - * - * .google.cloud.contactcenterinsights.v1.Conversation.Medium medium = 9 [(.google.api.field_behavior) = IMMUTABLE]; - * - * + * .google.cloud.contactcenterinsights.v1.Conversation.Medium medium = 9 [(.google.api.field_behavior) = IMMUTABLE]; * @return This builder for chaining. */ public Builder clearMedium() { @@ -11795,35 +9878,24 @@ public Builder clearMedium() { private com.google.protobuf.Duration duration_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Duration, - com.google.protobuf.Duration.Builder, - com.google.protobuf.DurationOrBuilder> - durationBuilder_; + com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder> durationBuilder_; /** - * - * *
      * Output only. The duration of the conversation.
      * 
* - * .google.protobuf.Duration duration = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Duration duration = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the duration field is set. */ public boolean hasDuration() { return ((bitField0_ & 0x00002000) != 0); } /** - * - * *
      * Output only. The duration of the conversation.
      * 
* - * .google.protobuf.Duration duration = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Duration duration = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The duration. */ public com.google.protobuf.Duration getDuration() { @@ -11834,14 +9906,11 @@ public com.google.protobuf.Duration getDuration() { } } /** - * - * *
      * Output only. The duration of the conversation.
      * 
* - * .google.protobuf.Duration duration = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Duration duration = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder setDuration(com.google.protobuf.Duration value) { if (durationBuilder_ == null) { @@ -11857,16 +9926,14 @@ public Builder setDuration(com.google.protobuf.Duration value) { return this; } /** - * - * *
      * Output only. The duration of the conversation.
      * 
* - * .google.protobuf.Duration duration = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Duration duration = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - public Builder setDuration(com.google.protobuf.Duration.Builder builderForValue) { + public Builder setDuration( + com.google.protobuf.Duration.Builder builderForValue) { if (durationBuilder_ == null) { duration_ = builderForValue.build(); } else { @@ -11877,20 +9944,17 @@ public Builder setDuration(com.google.protobuf.Duration.Builder builderForValue) return this; } /** - * - * *
      * Output only. The duration of the conversation.
      * 
* - * .google.protobuf.Duration duration = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Duration duration = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder mergeDuration(com.google.protobuf.Duration value) { if (durationBuilder_ == null) { - if (((bitField0_ & 0x00002000) != 0) - && duration_ != null - && duration_ != com.google.protobuf.Duration.getDefaultInstance()) { + if (((bitField0_ & 0x00002000) != 0) && + duration_ != null && + duration_ != com.google.protobuf.Duration.getDefaultInstance()) { getDurationBuilder().mergeFrom(value); } else { duration_ = value; @@ -11903,14 +9967,11 @@ public Builder mergeDuration(com.google.protobuf.Duration value) { return this; } /** - * - * *
      * Output only. The duration of the conversation.
      * 
* - * .google.protobuf.Duration duration = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Duration duration = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder clearDuration() { bitField0_ = (bitField0_ & ~0x00002000); @@ -11923,14 +9984,11 @@ public Builder clearDuration() { return this; } /** - * - * *
      * Output only. The duration of the conversation.
      * 
* - * .google.protobuf.Duration duration = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Duration duration = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public com.google.protobuf.Duration.Builder getDurationBuilder() { bitField0_ |= 0x00002000; @@ -11938,59 +9996,48 @@ public com.google.protobuf.Duration.Builder getDurationBuilder() { return getDurationFieldBuilder().getBuilder(); } /** - * - * *
      * Output only. The duration of the conversation.
      * 
* - * .google.protobuf.Duration duration = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Duration duration = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public com.google.protobuf.DurationOrBuilder getDurationOrBuilder() { if (durationBuilder_ != null) { return durationBuilder_.getMessageOrBuilder(); } else { - return duration_ == null ? com.google.protobuf.Duration.getDefaultInstance() : duration_; + return duration_ == null ? + com.google.protobuf.Duration.getDefaultInstance() : duration_; } } /** - * - * *
      * Output only. The duration of the conversation.
      * 
* - * .google.protobuf.Duration duration = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Duration duration = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Duration, - com.google.protobuf.Duration.Builder, - com.google.protobuf.DurationOrBuilder> + com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder> getDurationFieldBuilder() { if (durationBuilder_ == null) { - durationBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Duration, - com.google.protobuf.Duration.Builder, - com.google.protobuf.DurationOrBuilder>( - getDuration(), getParentForChildren(), isClean()); + durationBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder>( + getDuration(), + getParentForChildren(), + isClean()); duration_ = null; } return durationBuilder_; } - private int turnCount_; + private int turnCount_ ; /** - * - * *
      * Output only. The number of turns in the conversation.
      * 
* * int32 turn_count = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The turnCount. */ @java.lang.Override @@ -11998,33 +10045,27 @@ public int getTurnCount() { return turnCount_; } /** - * - * *
      * Output only. The number of turns in the conversation.
      * 
* * int32 turn_count = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @param value The turnCount to set. * @return This builder for chaining. */ public Builder setTurnCount(int value) { - + turnCount_ = value; bitField0_ |= 0x00004000; onChanged(); return this; } /** - * - * *
      * Output only. The number of turns in the conversation.
      * 
* * int32 turn_count = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return This builder for chaining. */ public Builder clearTurnCount() { @@ -12036,58 +10077,39 @@ public Builder clearTurnCount() { private com.google.cloud.contactcenterinsights.v1.Analysis latestAnalysis_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.contactcenterinsights.v1.Analysis, - com.google.cloud.contactcenterinsights.v1.Analysis.Builder, - com.google.cloud.contactcenterinsights.v1.AnalysisOrBuilder> - latestAnalysisBuilder_; + com.google.cloud.contactcenterinsights.v1.Analysis, com.google.cloud.contactcenterinsights.v1.Analysis.Builder, com.google.cloud.contactcenterinsights.v1.AnalysisOrBuilder> latestAnalysisBuilder_; /** - * - * *
      * Output only. The conversation's latest analysis, if one exists.
      * 
* - * - * .google.cloud.contactcenterinsights.v1.Analysis latest_analysis = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.contactcenterinsights.v1.Analysis latest_analysis = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the latestAnalysis field is set. */ public boolean hasLatestAnalysis() { return ((bitField0_ & 0x00008000) != 0); } /** - * - * *
      * Output only. The conversation's latest analysis, if one exists.
      * 
* - * - * .google.cloud.contactcenterinsights.v1.Analysis latest_analysis = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.contactcenterinsights.v1.Analysis latest_analysis = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The latestAnalysis. */ public com.google.cloud.contactcenterinsights.v1.Analysis getLatestAnalysis() { if (latestAnalysisBuilder_ == null) { - return latestAnalysis_ == null - ? com.google.cloud.contactcenterinsights.v1.Analysis.getDefaultInstance() - : latestAnalysis_; + return latestAnalysis_ == null ? com.google.cloud.contactcenterinsights.v1.Analysis.getDefaultInstance() : latestAnalysis_; } else { return latestAnalysisBuilder_.getMessage(); } } /** - * - * *
      * Output only. The conversation's latest analysis, if one exists.
      * 
* - * - * .google.cloud.contactcenterinsights.v1.Analysis latest_analysis = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.contactcenterinsights.v1.Analysis latest_analysis = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder setLatestAnalysis(com.google.cloud.contactcenterinsights.v1.Analysis value) { if (latestAnalysisBuilder_ == null) { @@ -12103,15 +10125,11 @@ public Builder setLatestAnalysis(com.google.cloud.contactcenterinsights.v1.Analy return this; } /** - * - * *
      * Output only. The conversation's latest analysis, if one exists.
      * 
* - * - * .google.cloud.contactcenterinsights.v1.Analysis latest_analysis = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.contactcenterinsights.v1.Analysis latest_analysis = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder setLatestAnalysis( com.google.cloud.contactcenterinsights.v1.Analysis.Builder builderForValue) { @@ -12125,22 +10143,17 @@ public Builder setLatestAnalysis( return this; } /** - * - * *
      * Output only. The conversation's latest analysis, if one exists.
      * 
* - * - * .google.cloud.contactcenterinsights.v1.Analysis latest_analysis = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.contactcenterinsights.v1.Analysis latest_analysis = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder mergeLatestAnalysis(com.google.cloud.contactcenterinsights.v1.Analysis value) { if (latestAnalysisBuilder_ == null) { - if (((bitField0_ & 0x00008000) != 0) - && latestAnalysis_ != null - && latestAnalysis_ - != com.google.cloud.contactcenterinsights.v1.Analysis.getDefaultInstance()) { + if (((bitField0_ & 0x00008000) != 0) && + latestAnalysis_ != null && + latestAnalysis_ != com.google.cloud.contactcenterinsights.v1.Analysis.getDefaultInstance()) { getLatestAnalysisBuilder().mergeFrom(value); } else { latestAnalysis_ = value; @@ -12153,15 +10166,11 @@ public Builder mergeLatestAnalysis(com.google.cloud.contactcenterinsights.v1.Ana return this; } /** - * - * *
      * Output only. The conversation's latest analysis, if one exists.
      * 
* - * - * .google.cloud.contactcenterinsights.v1.Analysis latest_analysis = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.contactcenterinsights.v1.Analysis latest_analysis = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder clearLatestAnalysis() { bitField0_ = (bitField0_ & ~0x00008000); @@ -12174,15 +10183,11 @@ public Builder clearLatestAnalysis() { return this; } /** - * - * *
      * Output only. The conversation's latest analysis, if one exists.
      * 
* - * - * .google.cloud.contactcenterinsights.v1.Analysis latest_analysis = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.contactcenterinsights.v1.Analysis latest_analysis = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public com.google.cloud.contactcenterinsights.v1.Analysis.Builder getLatestAnalysisBuilder() { bitField0_ |= 0x00008000; @@ -12190,86 +10195,62 @@ public com.google.cloud.contactcenterinsights.v1.Analysis.Builder getLatestAnaly return getLatestAnalysisFieldBuilder().getBuilder(); } /** - * - * *
      * Output only. The conversation's latest analysis, if one exists.
      * 
* - * - * .google.cloud.contactcenterinsights.v1.Analysis latest_analysis = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.contactcenterinsights.v1.Analysis latest_analysis = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - public com.google.cloud.contactcenterinsights.v1.AnalysisOrBuilder - getLatestAnalysisOrBuilder() { + public com.google.cloud.contactcenterinsights.v1.AnalysisOrBuilder getLatestAnalysisOrBuilder() { if (latestAnalysisBuilder_ != null) { return latestAnalysisBuilder_.getMessageOrBuilder(); } else { - return latestAnalysis_ == null - ? com.google.cloud.contactcenterinsights.v1.Analysis.getDefaultInstance() - : latestAnalysis_; + return latestAnalysis_ == null ? + com.google.cloud.contactcenterinsights.v1.Analysis.getDefaultInstance() : latestAnalysis_; } } /** - * - * *
      * Output only. The conversation's latest analysis, if one exists.
      * 
* - * - * .google.cloud.contactcenterinsights.v1.Analysis latest_analysis = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.contactcenterinsights.v1.Analysis latest_analysis = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.contactcenterinsights.v1.Analysis, - com.google.cloud.contactcenterinsights.v1.Analysis.Builder, - com.google.cloud.contactcenterinsights.v1.AnalysisOrBuilder> + com.google.cloud.contactcenterinsights.v1.Analysis, com.google.cloud.contactcenterinsights.v1.Analysis.Builder, com.google.cloud.contactcenterinsights.v1.AnalysisOrBuilder> getLatestAnalysisFieldBuilder() { if (latestAnalysisBuilder_ == null) { - latestAnalysisBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.contactcenterinsights.v1.Analysis, - com.google.cloud.contactcenterinsights.v1.Analysis.Builder, - com.google.cloud.contactcenterinsights.v1.AnalysisOrBuilder>( - getLatestAnalysis(), getParentForChildren(), isClean()); + latestAnalysisBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.contactcenterinsights.v1.Analysis, com.google.cloud.contactcenterinsights.v1.Analysis.Builder, com.google.cloud.contactcenterinsights.v1.AnalysisOrBuilder>( + getLatestAnalysis(), + getParentForChildren(), + isClean()); latestAnalysis_ = null; } return latestAnalysisBuilder_; } - private java.util.List - runtimeAnnotations_ = java.util.Collections.emptyList(); - + private java.util.List runtimeAnnotations_ = + java.util.Collections.emptyList(); private void ensureRuntimeAnnotationsIsMutable() { if (!((bitField0_ & 0x00010000) != 0)) { - runtimeAnnotations_ = - new java.util.ArrayList( - runtimeAnnotations_); + runtimeAnnotations_ = new java.util.ArrayList(runtimeAnnotations_); bitField0_ |= 0x00010000; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.contactcenterinsights.v1.RuntimeAnnotation, - com.google.cloud.contactcenterinsights.v1.RuntimeAnnotation.Builder, - com.google.cloud.contactcenterinsights.v1.RuntimeAnnotationOrBuilder> - runtimeAnnotationsBuilder_; + com.google.cloud.contactcenterinsights.v1.RuntimeAnnotation, com.google.cloud.contactcenterinsights.v1.RuntimeAnnotation.Builder, com.google.cloud.contactcenterinsights.v1.RuntimeAnnotationOrBuilder> runtimeAnnotationsBuilder_; /** - * - * *
-     * Output only. The annotations that were generated during the customer and agent
-     * interaction.
+     * Output only. The annotations that were generated during the customer and
+     * agent interaction.
      * 
* - * - * repeated .google.cloud.contactcenterinsights.v1.RuntimeAnnotation runtime_annotations = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.contactcenterinsights.v1.RuntimeAnnotation runtime_annotations = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - public java.util.List - getRuntimeAnnotationsList() { + public java.util.List getRuntimeAnnotationsList() { if (runtimeAnnotationsBuilder_ == null) { return java.util.Collections.unmodifiableList(runtimeAnnotations_); } else { @@ -12277,16 +10258,12 @@ private void ensureRuntimeAnnotationsIsMutable() { } } /** - * - * *
-     * Output only. The annotations that were generated during the customer and agent
-     * interaction.
+     * Output only. The annotations that were generated during the customer and
+     * agent interaction.
      * 
* - * - * repeated .google.cloud.contactcenterinsights.v1.RuntimeAnnotation runtime_annotations = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.contactcenterinsights.v1.RuntimeAnnotation runtime_annotations = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public int getRuntimeAnnotationsCount() { if (runtimeAnnotationsBuilder_ == null) { @@ -12296,19 +10273,14 @@ public int getRuntimeAnnotationsCount() { } } /** - * - * *
-     * Output only. The annotations that were generated during the customer and agent
-     * interaction.
+     * Output only. The annotations that were generated during the customer and
+     * agent interaction.
      * 
* - * - * repeated .google.cloud.contactcenterinsights.v1.RuntimeAnnotation runtime_annotations = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.contactcenterinsights.v1.RuntimeAnnotation runtime_annotations = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - public com.google.cloud.contactcenterinsights.v1.RuntimeAnnotation getRuntimeAnnotations( - int index) { + public com.google.cloud.contactcenterinsights.v1.RuntimeAnnotation getRuntimeAnnotations(int index) { if (runtimeAnnotationsBuilder_ == null) { return runtimeAnnotations_.get(index); } else { @@ -12316,16 +10288,12 @@ public com.google.cloud.contactcenterinsights.v1.RuntimeAnnotation getRuntimeAnn } } /** - * - * *
-     * Output only. The annotations that were generated during the customer and agent
-     * interaction.
+     * Output only. The annotations that were generated during the customer and
+     * agent interaction.
      * 
* - * - * repeated .google.cloud.contactcenterinsights.v1.RuntimeAnnotation runtime_annotations = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.contactcenterinsights.v1.RuntimeAnnotation runtime_annotations = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder setRuntimeAnnotations( int index, com.google.cloud.contactcenterinsights.v1.RuntimeAnnotation value) { @@ -12342,20 +10310,15 @@ public Builder setRuntimeAnnotations( return this; } /** - * - * *
-     * Output only. The annotations that were generated during the customer and agent
-     * interaction.
+     * Output only. The annotations that were generated during the customer and
+     * agent interaction.
      * 
* - * - * repeated .google.cloud.contactcenterinsights.v1.RuntimeAnnotation runtime_annotations = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.contactcenterinsights.v1.RuntimeAnnotation runtime_annotations = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder setRuntimeAnnotations( - int index, - com.google.cloud.contactcenterinsights.v1.RuntimeAnnotation.Builder builderForValue) { + int index, com.google.cloud.contactcenterinsights.v1.RuntimeAnnotation.Builder builderForValue) { if (runtimeAnnotationsBuilder_ == null) { ensureRuntimeAnnotationsIsMutable(); runtimeAnnotations_.set(index, builderForValue.build()); @@ -12366,19 +10329,14 @@ public Builder setRuntimeAnnotations( return this; } /** - * - * *
-     * Output only. The annotations that were generated during the customer and agent
-     * interaction.
+     * Output only. The annotations that were generated during the customer and
+     * agent interaction.
      * 
* - * - * repeated .google.cloud.contactcenterinsights.v1.RuntimeAnnotation runtime_annotations = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.contactcenterinsights.v1.RuntimeAnnotation runtime_annotations = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - public Builder addRuntimeAnnotations( - com.google.cloud.contactcenterinsights.v1.RuntimeAnnotation value) { + public Builder addRuntimeAnnotations(com.google.cloud.contactcenterinsights.v1.RuntimeAnnotation value) { if (runtimeAnnotationsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -12392,16 +10350,12 @@ public Builder addRuntimeAnnotations( return this; } /** - * - * *
-     * Output only. The annotations that were generated during the customer and agent
-     * interaction.
+     * Output only. The annotations that were generated during the customer and
+     * agent interaction.
      * 
* - * - * repeated .google.cloud.contactcenterinsights.v1.RuntimeAnnotation runtime_annotations = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.contactcenterinsights.v1.RuntimeAnnotation runtime_annotations = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder addRuntimeAnnotations( int index, com.google.cloud.contactcenterinsights.v1.RuntimeAnnotation value) { @@ -12418,16 +10372,12 @@ public Builder addRuntimeAnnotations( return this; } /** - * - * *
-     * Output only. The annotations that were generated during the customer and agent
-     * interaction.
+     * Output only. The annotations that were generated during the customer and
+     * agent interaction.
      * 
* - * - * repeated .google.cloud.contactcenterinsights.v1.RuntimeAnnotation runtime_annotations = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.contactcenterinsights.v1.RuntimeAnnotation runtime_annotations = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder addRuntimeAnnotations( com.google.cloud.contactcenterinsights.v1.RuntimeAnnotation.Builder builderForValue) { @@ -12441,20 +10391,15 @@ public Builder addRuntimeAnnotations( return this; } /** - * - * *
-     * Output only. The annotations that were generated during the customer and agent
-     * interaction.
+     * Output only. The annotations that were generated during the customer and
+     * agent interaction.
      * 
* - * - * repeated .google.cloud.contactcenterinsights.v1.RuntimeAnnotation runtime_annotations = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.contactcenterinsights.v1.RuntimeAnnotation runtime_annotations = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder addRuntimeAnnotations( - int index, - com.google.cloud.contactcenterinsights.v1.RuntimeAnnotation.Builder builderForValue) { + int index, com.google.cloud.contactcenterinsights.v1.RuntimeAnnotation.Builder builderForValue) { if (runtimeAnnotationsBuilder_ == null) { ensureRuntimeAnnotationsIsMutable(); runtimeAnnotations_.add(index, builderForValue.build()); @@ -12465,23 +10410,19 @@ public Builder addRuntimeAnnotations( return this; } /** - * - * *
-     * Output only. The annotations that were generated during the customer and agent
-     * interaction.
+     * Output only. The annotations that were generated during the customer and
+     * agent interaction.
      * 
* - * - * repeated .google.cloud.contactcenterinsights.v1.RuntimeAnnotation runtime_annotations = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.contactcenterinsights.v1.RuntimeAnnotation runtime_annotations = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder addAllRuntimeAnnotations( - java.lang.Iterable - values) { + java.lang.Iterable values) { if (runtimeAnnotationsBuilder_ == null) { ensureRuntimeAnnotationsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, runtimeAnnotations_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, runtimeAnnotations_); onChanged(); } else { runtimeAnnotationsBuilder_.addAllMessages(values); @@ -12489,16 +10430,12 @@ public Builder addAllRuntimeAnnotations( return this; } /** - * - * *
-     * Output only. The annotations that were generated during the customer and agent
-     * interaction.
+     * Output only. The annotations that were generated during the customer and
+     * agent interaction.
      * 
* - * - * repeated .google.cloud.contactcenterinsights.v1.RuntimeAnnotation runtime_annotations = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.contactcenterinsights.v1.RuntimeAnnotation runtime_annotations = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder clearRuntimeAnnotations() { if (runtimeAnnotationsBuilder_ == null) { @@ -12511,16 +10448,12 @@ public Builder clearRuntimeAnnotations() { return this; } /** - * - * *
-     * Output only. The annotations that were generated during the customer and agent
-     * interaction.
+     * Output only. The annotations that were generated during the customer and
+     * agent interaction.
      * 
* - * - * repeated .google.cloud.contactcenterinsights.v1.RuntimeAnnotation runtime_annotations = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.contactcenterinsights.v1.RuntimeAnnotation runtime_annotations = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder removeRuntimeAnnotations(int index) { if (runtimeAnnotationsBuilder_ == null) { @@ -12533,56 +10466,42 @@ public Builder removeRuntimeAnnotations(int index) { return this; } /** - * - * *
-     * Output only. The annotations that were generated during the customer and agent
-     * interaction.
+     * Output only. The annotations that were generated during the customer and
+     * agent interaction.
      * 
* - * - * repeated .google.cloud.contactcenterinsights.v1.RuntimeAnnotation runtime_annotations = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.contactcenterinsights.v1.RuntimeAnnotation runtime_annotations = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - public com.google.cloud.contactcenterinsights.v1.RuntimeAnnotation.Builder - getRuntimeAnnotationsBuilder(int index) { + public com.google.cloud.contactcenterinsights.v1.RuntimeAnnotation.Builder getRuntimeAnnotationsBuilder( + int index) { return getRuntimeAnnotationsFieldBuilder().getBuilder(index); } /** - * - * *
-     * Output only. The annotations that were generated during the customer and agent
-     * interaction.
+     * Output only. The annotations that were generated during the customer and
+     * agent interaction.
      * 
* - * - * repeated .google.cloud.contactcenterinsights.v1.RuntimeAnnotation runtime_annotations = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.contactcenterinsights.v1.RuntimeAnnotation runtime_annotations = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - public com.google.cloud.contactcenterinsights.v1.RuntimeAnnotationOrBuilder - getRuntimeAnnotationsOrBuilder(int index) { + public com.google.cloud.contactcenterinsights.v1.RuntimeAnnotationOrBuilder getRuntimeAnnotationsOrBuilder( + int index) { if (runtimeAnnotationsBuilder_ == null) { - return runtimeAnnotations_.get(index); - } else { + return runtimeAnnotations_.get(index); } else { return runtimeAnnotationsBuilder_.getMessageOrBuilder(index); } } /** - * - * *
-     * Output only. The annotations that were generated during the customer and agent
-     * interaction.
+     * Output only. The annotations that were generated during the customer and
+     * agent interaction.
      * 
* - * - * repeated .google.cloud.contactcenterinsights.v1.RuntimeAnnotation runtime_annotations = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.contactcenterinsights.v1.RuntimeAnnotation runtime_annotations = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - public java.util.List< - ? extends com.google.cloud.contactcenterinsights.v1.RuntimeAnnotationOrBuilder> - getRuntimeAnnotationsOrBuilderList() { + public java.util.List + getRuntimeAnnotationsOrBuilderList() { if (runtimeAnnotationsBuilder_ != null) { return runtimeAnnotationsBuilder_.getMessageOrBuilderList(); } else { @@ -12590,70 +10509,48 @@ public Builder removeRuntimeAnnotations(int index) { } } /** - * - * *
-     * Output only. The annotations that were generated during the customer and agent
-     * interaction.
+     * Output only. The annotations that were generated during the customer and
+     * agent interaction.
      * 
* - * - * repeated .google.cloud.contactcenterinsights.v1.RuntimeAnnotation runtime_annotations = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.contactcenterinsights.v1.RuntimeAnnotation runtime_annotations = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - public com.google.cloud.contactcenterinsights.v1.RuntimeAnnotation.Builder - addRuntimeAnnotationsBuilder() { - return getRuntimeAnnotationsFieldBuilder() - .addBuilder( - com.google.cloud.contactcenterinsights.v1.RuntimeAnnotation.getDefaultInstance()); + public com.google.cloud.contactcenterinsights.v1.RuntimeAnnotation.Builder addRuntimeAnnotationsBuilder() { + return getRuntimeAnnotationsFieldBuilder().addBuilder( + com.google.cloud.contactcenterinsights.v1.RuntimeAnnotation.getDefaultInstance()); } /** - * - * *
-     * Output only. The annotations that were generated during the customer and agent
-     * interaction.
+     * Output only. The annotations that were generated during the customer and
+     * agent interaction.
      * 
* - * - * repeated .google.cloud.contactcenterinsights.v1.RuntimeAnnotation runtime_annotations = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.contactcenterinsights.v1.RuntimeAnnotation runtime_annotations = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - public com.google.cloud.contactcenterinsights.v1.RuntimeAnnotation.Builder - addRuntimeAnnotationsBuilder(int index) { - return getRuntimeAnnotationsFieldBuilder() - .addBuilder( - index, - com.google.cloud.contactcenterinsights.v1.RuntimeAnnotation.getDefaultInstance()); + public com.google.cloud.contactcenterinsights.v1.RuntimeAnnotation.Builder addRuntimeAnnotationsBuilder( + int index) { + return getRuntimeAnnotationsFieldBuilder().addBuilder( + index, com.google.cloud.contactcenterinsights.v1.RuntimeAnnotation.getDefaultInstance()); } /** - * - * *
-     * Output only. The annotations that were generated during the customer and agent
-     * interaction.
+     * Output only. The annotations that were generated during the customer and
+     * agent interaction.
      * 
* - * - * repeated .google.cloud.contactcenterinsights.v1.RuntimeAnnotation runtime_annotations = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.contactcenterinsights.v1.RuntimeAnnotation runtime_annotations = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - public java.util.List - getRuntimeAnnotationsBuilderList() { + public java.util.List + getRuntimeAnnotationsBuilderList() { return getRuntimeAnnotationsFieldBuilder().getBuilderList(); } - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.contactcenterinsights.v1.RuntimeAnnotation, - com.google.cloud.contactcenterinsights.v1.RuntimeAnnotation.Builder, - com.google.cloud.contactcenterinsights.v1.RuntimeAnnotationOrBuilder> + com.google.cloud.contactcenterinsights.v1.RuntimeAnnotation, com.google.cloud.contactcenterinsights.v1.RuntimeAnnotation.Builder, com.google.cloud.contactcenterinsights.v1.RuntimeAnnotationOrBuilder> getRuntimeAnnotationsFieldBuilder() { if (runtimeAnnotationsBuilder_ == null) { - runtimeAnnotationsBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.contactcenterinsights.v1.RuntimeAnnotation, - com.google.cloud.contactcenterinsights.v1.RuntimeAnnotation.Builder, - com.google.cloud.contactcenterinsights.v1.RuntimeAnnotationOrBuilder>( + runtimeAnnotationsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.contactcenterinsights.v1.RuntimeAnnotation, com.google.cloud.contactcenterinsights.v1.RuntimeAnnotation.Builder, com.google.cloud.contactcenterinsights.v1.RuntimeAnnotationOrBuilder>( runtimeAnnotations_, ((bitField0_ & 0x00010000) != 0), getParentForChildren(), @@ -12664,11 +10561,8 @@ public Builder removeRuntimeAnnotations(int index) { } private com.google.protobuf.MapField< - java.lang.String, com.google.cloud.contactcenterinsights.v1.DialogflowIntent> - dialogflowIntents_; - - private com.google.protobuf.MapField< - java.lang.String, com.google.cloud.contactcenterinsights.v1.DialogflowIntent> + java.lang.String, com.google.cloud.contactcenterinsights.v1.DialogflowIntent> dialogflowIntents_; + private com.google.protobuf.MapField internalGetDialogflowIntents() { if (dialogflowIntents_ == null) { return com.google.protobuf.MapField.emptyMapField( @@ -12676,14 +10570,11 @@ public Builder removeRuntimeAnnotations(int index) { } return dialogflowIntents_; } - - private com.google.protobuf.MapField< - java.lang.String, com.google.cloud.contactcenterinsights.v1.DialogflowIntent> + private com.google.protobuf.MapField internalGetMutableDialogflowIntents() { if (dialogflowIntents_ == null) { - dialogflowIntents_ = - com.google.protobuf.MapField.newMapField( - DialogflowIntentsDefaultEntryHolder.defaultEntry); + dialogflowIntents_ = com.google.protobuf.MapField.newMapField( + DialogflowIntentsDefaultEntryHolder.defaultEntry); } if (!dialogflowIntents_.isMutable()) { dialogflowIntents_ = dialogflowIntents_.copy(); @@ -12692,205 +10583,166 @@ public Builder removeRuntimeAnnotations(int index) { onChanged(); return dialogflowIntents_; } - public int getDialogflowIntentsCount() { return internalGetDialogflowIntents().getMap().size(); } /** - * - * *
-     * Output only. All the matched Dialogflow intents in the call. The key corresponds to a
-     * Dialogflow intent, format:
+     * Output only. All the matched Dialogflow intents in the call. The key
+     * corresponds to a Dialogflow intent, format:
      * projects/{project}/agent/{agent}/intents/{intent}
      * 
* - * - * map<string, .google.cloud.contactcenterinsights.v1.DialogflowIntent> dialogflow_intents = 18 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * map<string, .google.cloud.contactcenterinsights.v1.DialogflowIntent> dialogflow_intents = 18 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ @java.lang.Override - public boolean containsDialogflowIntents(java.lang.String key) { - if (key == null) { - throw new NullPointerException("map key"); - } + public boolean containsDialogflowIntents( + java.lang.String key) { + if (key == null) { throw new NullPointerException("map key"); } return internalGetDialogflowIntents().getMap().containsKey(key); } - /** Use {@link #getDialogflowIntentsMap()} instead. */ + /** + * Use {@link #getDialogflowIntentsMap()} instead. + */ @java.lang.Override @java.lang.Deprecated - public java.util.Map< - java.lang.String, com.google.cloud.contactcenterinsights.v1.DialogflowIntent> - getDialogflowIntents() { + public java.util.Map getDialogflowIntents() { return getDialogflowIntentsMap(); } /** - * - * *
-     * Output only. All the matched Dialogflow intents in the call. The key corresponds to a
-     * Dialogflow intent, format:
+     * Output only. All the matched Dialogflow intents in the call. The key
+     * corresponds to a Dialogflow intent, format:
      * projects/{project}/agent/{agent}/intents/{intent}
      * 
* - * - * map<string, .google.cloud.contactcenterinsights.v1.DialogflowIntent> dialogflow_intents = 18 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * map<string, .google.cloud.contactcenterinsights.v1.DialogflowIntent> dialogflow_intents = 18 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ @java.lang.Override - public java.util.Map< - java.lang.String, com.google.cloud.contactcenterinsights.v1.DialogflowIntent> - getDialogflowIntentsMap() { + public java.util.Map getDialogflowIntentsMap() { return internalGetDialogflowIntents().getMap(); } /** - * - * *
-     * Output only. All the matched Dialogflow intents in the call. The key corresponds to a
-     * Dialogflow intent, format:
+     * Output only. All the matched Dialogflow intents in the call. The key
+     * corresponds to a Dialogflow intent, format:
      * projects/{project}/agent/{agent}/intents/{intent}
      * 
* - * - * map<string, .google.cloud.contactcenterinsights.v1.DialogflowIntent> dialogflow_intents = 18 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * map<string, .google.cloud.contactcenterinsights.v1.DialogflowIntent> dialogflow_intents = 18 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ @java.lang.Override - public /* nullable */ com.google.cloud.contactcenterinsights.v1.DialogflowIntent - getDialogflowIntentsOrDefault( - java.lang.String key, - /* nullable */ - com.google.cloud.contactcenterinsights.v1.DialogflowIntent defaultValue) { - if (key == null) { - throw new NullPointerException("map key"); - } - java.util.Map - map = internalGetDialogflowIntents().getMap(); + public /* nullable */ +com.google.cloud.contactcenterinsights.v1.DialogflowIntent getDialogflowIntentsOrDefault( + java.lang.String key, + /* nullable */ +com.google.cloud.contactcenterinsights.v1.DialogflowIntent defaultValue) { + if (key == null) { throw new NullPointerException("map key"); } + java.util.Map map = + internalGetDialogflowIntents().getMap(); return map.containsKey(key) ? map.get(key) : defaultValue; } /** - * - * *
-     * Output only. All the matched Dialogflow intents in the call. The key corresponds to a
-     * Dialogflow intent, format:
+     * Output only. All the matched Dialogflow intents in the call. The key
+     * corresponds to a Dialogflow intent, format:
      * projects/{project}/agent/{agent}/intents/{intent}
      * 
* - * - * map<string, .google.cloud.contactcenterinsights.v1.DialogflowIntent> dialogflow_intents = 18 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * map<string, .google.cloud.contactcenterinsights.v1.DialogflowIntent> dialogflow_intents = 18 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ @java.lang.Override public com.google.cloud.contactcenterinsights.v1.DialogflowIntent getDialogflowIntentsOrThrow( java.lang.String key) { - if (key == null) { - throw new NullPointerException("map key"); - } - java.util.Map - map = internalGetDialogflowIntents().getMap(); + if (key == null) { throw new NullPointerException("map key"); } + java.util.Map map = + internalGetDialogflowIntents().getMap(); if (!map.containsKey(key)) { throw new java.lang.IllegalArgumentException(); } return map.get(key); } - public Builder clearDialogflowIntents() { bitField0_ = (bitField0_ & ~0x00020000); - internalGetMutableDialogflowIntents().getMutableMap().clear(); + internalGetMutableDialogflowIntents().getMutableMap() + .clear(); return this; } /** - * - * *
-     * Output only. All the matched Dialogflow intents in the call. The key corresponds to a
-     * Dialogflow intent, format:
+     * Output only. All the matched Dialogflow intents in the call. The key
+     * corresponds to a Dialogflow intent, format:
      * projects/{project}/agent/{agent}/intents/{intent}
      * 
* - * - * map<string, .google.cloud.contactcenterinsights.v1.DialogflowIntent> dialogflow_intents = 18 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * map<string, .google.cloud.contactcenterinsights.v1.DialogflowIntent> dialogflow_intents = 18 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - public Builder removeDialogflowIntents(java.lang.String key) { - if (key == null) { - throw new NullPointerException("map key"); - } - internalGetMutableDialogflowIntents().getMutableMap().remove(key); + public Builder removeDialogflowIntents( + java.lang.String key) { + if (key == null) { throw new NullPointerException("map key"); } + internalGetMutableDialogflowIntents().getMutableMap() + .remove(key); return this; } - /** Use alternate mutation accessors instead. */ + /** + * Use alternate mutation accessors instead. + */ @java.lang.Deprecated - public java.util.Map< - java.lang.String, com.google.cloud.contactcenterinsights.v1.DialogflowIntent> + public java.util.Map getMutableDialogflowIntents() { bitField0_ |= 0x00020000; return internalGetMutableDialogflowIntents().getMutableMap(); } /** - * - * *
-     * Output only. All the matched Dialogflow intents in the call. The key corresponds to a
-     * Dialogflow intent, format:
+     * Output only. All the matched Dialogflow intents in the call. The key
+     * corresponds to a Dialogflow intent, format:
      * projects/{project}/agent/{agent}/intents/{intent}
      * 
* - * - * map<string, .google.cloud.contactcenterinsights.v1.DialogflowIntent> dialogflow_intents = 18 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * map<string, .google.cloud.contactcenterinsights.v1.DialogflowIntent> dialogflow_intents = 18 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder putDialogflowIntents( - java.lang.String key, com.google.cloud.contactcenterinsights.v1.DialogflowIntent value) { - if (key == null) { - throw new NullPointerException("map key"); - } - if (value == null) { - throw new NullPointerException("map value"); - } - internalGetMutableDialogflowIntents().getMutableMap().put(key, value); + java.lang.String key, + com.google.cloud.contactcenterinsights.v1.DialogflowIntent value) { + if (key == null) { throw new NullPointerException("map key"); } + if (value == null) { throw new NullPointerException("map value"); } + internalGetMutableDialogflowIntents().getMutableMap() + .put(key, value); bitField0_ |= 0x00020000; return this; } /** - * - * *
-     * Output only. All the matched Dialogflow intents in the call. The key corresponds to a
-     * Dialogflow intent, format:
+     * Output only. All the matched Dialogflow intents in the call. The key
+     * corresponds to a Dialogflow intent, format:
      * projects/{project}/agent/{agent}/intents/{intent}
      * 
* - * - * map<string, .google.cloud.contactcenterinsights.v1.DialogflowIntent> dialogflow_intents = 18 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * map<string, .google.cloud.contactcenterinsights.v1.DialogflowIntent> dialogflow_intents = 18 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder putAllDialogflowIntents( - java.util.Map - values) { - internalGetMutableDialogflowIntents().getMutableMap().putAll(values); + java.util.Map values) { + internalGetMutableDialogflowIntents().getMutableMap() + .putAll(values); bitField0_ |= 0x00020000; return this; } private java.lang.Object obfuscatedUserId_ = ""; /** - * - * *
      * Obfuscated user ID which the customer sent to us.
      * 
* * string obfuscated_user_id = 21; - * * @return The obfuscatedUserId. */ public java.lang.String getObfuscatedUserId() { java.lang.Object ref = obfuscatedUserId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); obfuscatedUserId_ = s; return s; @@ -12899,21 +10751,20 @@ public java.lang.String getObfuscatedUserId() { } } /** - * - * *
      * Obfuscated user ID which the customer sent to us.
      * 
* * string obfuscated_user_id = 21; - * * @return The bytes for obfuscatedUserId. */ - public com.google.protobuf.ByteString getObfuscatedUserIdBytes() { + public com.google.protobuf.ByteString + getObfuscatedUserIdBytes() { java.lang.Object ref = obfuscatedUserId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); obfuscatedUserId_ = b; return b; } else { @@ -12921,35 +10772,28 @@ public com.google.protobuf.ByteString getObfuscatedUserIdBytes() { } } /** - * - * *
      * Obfuscated user ID which the customer sent to us.
      * 
* * string obfuscated_user_id = 21; - * * @param value The obfuscatedUserId to set. * @return This builder for chaining. */ - public Builder setObfuscatedUserId(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setObfuscatedUserId( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } obfuscatedUserId_ = value; bitField0_ |= 0x00040000; onChanged(); return this; } /** - * - * *
      * Obfuscated user ID which the customer sent to us.
      * 
* * string obfuscated_user_id = 21; - * * @return This builder for chaining. */ public Builder clearObfuscatedUserId() { @@ -12959,30 +10803,26 @@ public Builder clearObfuscatedUserId() { return this; } /** - * - * *
      * Obfuscated user ID which the customer sent to us.
      * 
* * string obfuscated_user_id = 21; - * * @param value The bytes for obfuscatedUserId to set. * @return This builder for chaining. */ - public Builder setObfuscatedUserIdBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setObfuscatedUserIdBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); obfuscatedUserId_ = value; bitField0_ |= 0x00040000; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -12992,12 +10832,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.contactcenterinsights.v1.Conversation) } // @@protoc_insertion_point(class_scope:google.cloud.contactcenterinsights.v1.Conversation) private static final com.google.cloud.contactcenterinsights.v1.Conversation DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.contactcenterinsights.v1.Conversation(); } @@ -13006,27 +10846,27 @@ public static com.google.cloud.contactcenterinsights.v1.Conversation getDefaultI return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public Conversation parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public Conversation parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -13041,4 +10881,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.contactcenterinsights.v1.Conversation getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ConversationDataSource.java b/owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ConversationDataSource.java similarity index 68% rename from java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ConversationDataSource.java rename to owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ConversationDataSource.java index 166883de88f2..32a967f50a03 100644 --- a/java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ConversationDataSource.java +++ b/owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ConversationDataSource.java @@ -1,82 +1,61 @@ -/* - * 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. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/contactcenterinsights/v1/resources.proto package com.google.cloud.contactcenterinsights.v1; /** - * - * *
  * The conversation source, which is a combination of transcript and audio.
  * 
* * Protobuf type {@code google.cloud.contactcenterinsights.v1.ConversationDataSource} */ -public final class ConversationDataSource extends com.google.protobuf.GeneratedMessageV3 - implements +public final class ConversationDataSource extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.contactcenterinsights.v1.ConversationDataSource) ConversationDataSourceOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use ConversationDataSource.newBuilder() to construct. private ConversationDataSource(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - - private ConversationDataSource() {} + private ConversationDataSource() { + } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new ConversationDataSource(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.contactcenterinsights.v1.ResourcesProto - .internal_static_google_cloud_contactcenterinsights_v1_ConversationDataSource_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.contactcenterinsights.v1.ResourcesProto.internal_static_google_cloud_contactcenterinsights_v1_ConversationDataSource_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.contactcenterinsights.v1.ResourcesProto - .internal_static_google_cloud_contactcenterinsights_v1_ConversationDataSource_fieldAccessorTable + return com.google.cloud.contactcenterinsights.v1.ResourcesProto.internal_static_google_cloud_contactcenterinsights_v1_ConversationDataSource_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.contactcenterinsights.v1.ConversationDataSource.class, - com.google.cloud.contactcenterinsights.v1.ConversationDataSource.Builder.class); + com.google.cloud.contactcenterinsights.v1.ConversationDataSource.class, com.google.cloud.contactcenterinsights.v1.ConversationDataSource.Builder.class); } private int sourceCase_ = 0; private java.lang.Object source_; - public enum SourceCase - implements - com.google.protobuf.Internal.EnumLite, + implements com.google.protobuf.Internal.EnumLite, com.google.protobuf.AbstractMessage.InternalOneOfEnum { GCS_SOURCE(1), DIALOGFLOW_SOURCE(3), SOURCE_NOT_SET(0); private final int value; - private SourceCase(int value) { this.value = value; } @@ -92,36 +71,30 @@ public static SourceCase valueOf(int value) { public static SourceCase forNumber(int value) { switch (value) { - case 1: - return GCS_SOURCE; - case 3: - return DIALOGFLOW_SOURCE; - case 0: - return SOURCE_NOT_SET; - default: - return null; + case 1: return GCS_SOURCE; + case 3: return DIALOGFLOW_SOURCE; + case 0: return SOURCE_NOT_SET; + default: return null; } } - public int getNumber() { return this.value; } }; - public SourceCase getSourceCase() { - return SourceCase.forNumber(sourceCase_); + public SourceCase + getSourceCase() { + return SourceCase.forNumber( + sourceCase_); } public static final int GCS_SOURCE_FIELD_NUMBER = 1; /** - * - * *
    * A Cloud Storage location specification for the audio and transcript.
    * 
* * .google.cloud.contactcenterinsights.v1.GcsSource gcs_source = 1; - * * @return Whether the gcsSource field is set. */ @java.lang.Override @@ -129,26 +102,21 @@ public boolean hasGcsSource() { return sourceCase_ == 1; } /** - * - * *
    * A Cloud Storage location specification for the audio and transcript.
    * 
* * .google.cloud.contactcenterinsights.v1.GcsSource gcs_source = 1; - * * @return The gcsSource. */ @java.lang.Override public com.google.cloud.contactcenterinsights.v1.GcsSource getGcsSource() { if (sourceCase_ == 1) { - return (com.google.cloud.contactcenterinsights.v1.GcsSource) source_; + return (com.google.cloud.contactcenterinsights.v1.GcsSource) source_; } return com.google.cloud.contactcenterinsights.v1.GcsSource.getDefaultInstance(); } /** - * - * *
    * A Cloud Storage location specification for the audio and transcript.
    * 
@@ -158,21 +126,18 @@ public com.google.cloud.contactcenterinsights.v1.GcsSource getGcsSource() { @java.lang.Override public com.google.cloud.contactcenterinsights.v1.GcsSourceOrBuilder getGcsSourceOrBuilder() { if (sourceCase_ == 1) { - return (com.google.cloud.contactcenterinsights.v1.GcsSource) source_; + return (com.google.cloud.contactcenterinsights.v1.GcsSource) source_; } return com.google.cloud.contactcenterinsights.v1.GcsSource.getDefaultInstance(); } public static final int DIALOGFLOW_SOURCE_FIELD_NUMBER = 3; /** - * - * *
    * The source when the conversation comes from Dialogflow.
    * 
* * .google.cloud.contactcenterinsights.v1.DialogflowSource dialogflow_source = 3; - * * @return Whether the dialogflowSource field is set. */ @java.lang.Override @@ -180,26 +145,21 @@ public boolean hasDialogflowSource() { return sourceCase_ == 3; } /** - * - * *
    * The source when the conversation comes from Dialogflow.
    * 
* * .google.cloud.contactcenterinsights.v1.DialogflowSource dialogflow_source = 3; - * * @return The dialogflowSource. */ @java.lang.Override public com.google.cloud.contactcenterinsights.v1.DialogflowSource getDialogflowSource() { if (sourceCase_ == 3) { - return (com.google.cloud.contactcenterinsights.v1.DialogflowSource) source_; + return (com.google.cloud.contactcenterinsights.v1.DialogflowSource) source_; } return com.google.cloud.contactcenterinsights.v1.DialogflowSource.getDefaultInstance(); } /** - * - * *
    * The source when the conversation comes from Dialogflow.
    * 
@@ -207,16 +167,14 @@ public com.google.cloud.contactcenterinsights.v1.DialogflowSource getDialogflowS * .google.cloud.contactcenterinsights.v1.DialogflowSource dialogflow_source = 3; */ @java.lang.Override - public com.google.cloud.contactcenterinsights.v1.DialogflowSourceOrBuilder - getDialogflowSourceOrBuilder() { + public com.google.cloud.contactcenterinsights.v1.DialogflowSourceOrBuilder getDialogflowSourceOrBuilder() { if (sourceCase_ == 3) { - return (com.google.cloud.contactcenterinsights.v1.DialogflowSource) source_; + return (com.google.cloud.contactcenterinsights.v1.DialogflowSource) source_; } return com.google.cloud.contactcenterinsights.v1.DialogflowSource.getDefaultInstance(); } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -228,7 +186,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (sourceCase_ == 1) { output.writeMessage(1, (com.google.cloud.contactcenterinsights.v1.GcsSource) source_); } @@ -245,14 +204,12 @@ public int getSerializedSize() { size = 0; if (sourceCase_ == 1) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize( - 1, (com.google.cloud.contactcenterinsights.v1.GcsSource) source_); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, (com.google.cloud.contactcenterinsights.v1.GcsSource) source_); } if (sourceCase_ == 3) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize( - 3, (com.google.cloud.contactcenterinsights.v1.DialogflowSource) source_); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(3, (com.google.cloud.contactcenterinsights.v1.DialogflowSource) source_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -262,21 +219,22 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.contactcenterinsights.v1.ConversationDataSource)) { return super.equals(obj); } - com.google.cloud.contactcenterinsights.v1.ConversationDataSource other = - (com.google.cloud.contactcenterinsights.v1.ConversationDataSource) obj; + com.google.cloud.contactcenterinsights.v1.ConversationDataSource other = (com.google.cloud.contactcenterinsights.v1.ConversationDataSource) obj; if (!getSourceCase().equals(other.getSourceCase())) return false; switch (sourceCase_) { case 1: - if (!getGcsSource().equals(other.getGcsSource())) return false; + if (!getGcsSource() + .equals(other.getGcsSource())) return false; break; case 3: - if (!getDialogflowSource().equals(other.getDialogflowSource())) return false; + if (!getDialogflowSource() + .equals(other.getDialogflowSource())) return false; break; case 0: default: @@ -310,136 +268,129 @@ public int hashCode() { } public static com.google.cloud.contactcenterinsights.v1.ConversationDataSource parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.contactcenterinsights.v1.ConversationDataSource parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.contactcenterinsights.v1.ConversationDataSource parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.contactcenterinsights.v1.ConversationDataSource parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.contactcenterinsights.v1.ConversationDataSource parseFrom( - byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.contactcenterinsights.v1.ConversationDataSource parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.contactcenterinsights.v1.ConversationDataSource parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.contactcenterinsights.v1.ConversationDataSource parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.contactcenterinsights.v1.ConversationDataSource parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.contactcenterinsights.v1.ConversationDataSource parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.contactcenterinsights.v1.ConversationDataSource parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.contactcenterinsights.v1.ConversationDataSource parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.contactcenterinsights.v1.ConversationDataSource parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.contactcenterinsights.v1.ConversationDataSource parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.contactcenterinsights.v1.ConversationDataSource parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.contactcenterinsights.v1.ConversationDataSource prototype) { + public static Builder newBuilder(com.google.cloud.contactcenterinsights.v1.ConversationDataSource prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * The conversation source, which is a combination of transcript and audio.
    * 
* * Protobuf type {@code google.cloud.contactcenterinsights.v1.ConversationDataSource} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.contactcenterinsights.v1.ConversationDataSource) com.google.cloud.contactcenterinsights.v1.ConversationDataSourceOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.contactcenterinsights.v1.ResourcesProto - .internal_static_google_cloud_contactcenterinsights_v1_ConversationDataSource_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.contactcenterinsights.v1.ResourcesProto.internal_static_google_cloud_contactcenterinsights_v1_ConversationDataSource_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.contactcenterinsights.v1.ResourcesProto - .internal_static_google_cloud_contactcenterinsights_v1_ConversationDataSource_fieldAccessorTable + return com.google.cloud.contactcenterinsights.v1.ResourcesProto.internal_static_google_cloud_contactcenterinsights_v1_ConversationDataSource_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.contactcenterinsights.v1.ConversationDataSource.class, - com.google.cloud.contactcenterinsights.v1.ConversationDataSource.Builder.class); + com.google.cloud.contactcenterinsights.v1.ConversationDataSource.class, com.google.cloud.contactcenterinsights.v1.ConversationDataSource.Builder.class); } // Construct using com.google.cloud.contactcenterinsights.v1.ConversationDataSource.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -456,14 +407,13 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.contactcenterinsights.v1.ResourcesProto - .internal_static_google_cloud_contactcenterinsights_v1_ConversationDataSource_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.contactcenterinsights.v1.ResourcesProto.internal_static_google_cloud_contactcenterinsights_v1_ConversationDataSource_descriptor; } @java.lang.Override - public com.google.cloud.contactcenterinsights.v1.ConversationDataSource - getDefaultInstanceForType() { + public com.google.cloud.contactcenterinsights.v1.ConversationDataSource getDefaultInstanceForType() { return com.google.cloud.contactcenterinsights.v1.ConversationDataSource.getDefaultInstance(); } @@ -478,29 +428,26 @@ public com.google.cloud.contactcenterinsights.v1.ConversationDataSource build() @java.lang.Override public com.google.cloud.contactcenterinsights.v1.ConversationDataSource buildPartial() { - com.google.cloud.contactcenterinsights.v1.ConversationDataSource result = - new com.google.cloud.contactcenterinsights.v1.ConversationDataSource(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + com.google.cloud.contactcenterinsights.v1.ConversationDataSource result = new com.google.cloud.contactcenterinsights.v1.ConversationDataSource(this); + if (bitField0_ != 0) { buildPartial0(result); } buildPartialOneofs(result); onBuilt(); return result; } - private void buildPartial0( - com.google.cloud.contactcenterinsights.v1.ConversationDataSource result) { + private void buildPartial0(com.google.cloud.contactcenterinsights.v1.ConversationDataSource result) { int from_bitField0_ = bitField0_; } - private void buildPartialOneofs( - com.google.cloud.contactcenterinsights.v1.ConversationDataSource result) { + private void buildPartialOneofs(com.google.cloud.contactcenterinsights.v1.ConversationDataSource result) { result.sourceCase_ = sourceCase_; result.source_ = this.source_; - if (sourceCase_ == 1 && gcsSourceBuilder_ != null) { + if (sourceCase_ == 1 && + gcsSourceBuilder_ != null) { result.source_ = gcsSourceBuilder_.build(); } - if (sourceCase_ == 3 && dialogflowSourceBuilder_ != null) { + if (sourceCase_ == 3 && + dialogflowSourceBuilder_ != null) { result.source_ = dialogflowSourceBuilder_.build(); } } @@ -509,65 +456,58 @@ private void buildPartialOneofs( public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.contactcenterinsights.v1.ConversationDataSource) { - return mergeFrom((com.google.cloud.contactcenterinsights.v1.ConversationDataSource) other); + return mergeFrom((com.google.cloud.contactcenterinsights.v1.ConversationDataSource)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom( - com.google.cloud.contactcenterinsights.v1.ConversationDataSource other) { - if (other - == com.google.cloud.contactcenterinsights.v1.ConversationDataSource.getDefaultInstance()) - return this; + public Builder mergeFrom(com.google.cloud.contactcenterinsights.v1.ConversationDataSource other) { + if (other == com.google.cloud.contactcenterinsights.v1.ConversationDataSource.getDefaultInstance()) return this; switch (other.getSourceCase()) { - case GCS_SOURCE: - { - mergeGcsSource(other.getGcsSource()); - break; - } - case DIALOGFLOW_SOURCE: - { - mergeDialogflowSource(other.getDialogflowSource()); - break; - } - case SOURCE_NOT_SET: - { - break; - } + case GCS_SOURCE: { + mergeGcsSource(other.getGcsSource()); + break; + } + case DIALOGFLOW_SOURCE: { + mergeDialogflowSource(other.getDialogflowSource()); + break; + } + case SOURCE_NOT_SET: { + break; + } } this.mergeUnknownFields(other.getUnknownFields()); onChanged(); @@ -595,26 +535,26 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - input.readMessage(getGcsSourceFieldBuilder().getBuilder(), extensionRegistry); - sourceCase_ = 1; - break; - } // case 10 - case 26: - { - input.readMessage( - getDialogflowSourceFieldBuilder().getBuilder(), extensionRegistry); - sourceCase_ = 3; - break; - } // case 26 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + input.readMessage( + getGcsSourceFieldBuilder().getBuilder(), + extensionRegistry); + sourceCase_ = 1; + break; + } // case 10 + case 26: { + input.readMessage( + getDialogflowSourceFieldBuilder().getBuilder(), + extensionRegistry); + sourceCase_ = 3; + break; + } // case 26 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -624,12 +564,12 @@ public Builder mergeFrom( } // finally return this; } - private int sourceCase_ = 0; private java.lang.Object source_; - - public SourceCase getSourceCase() { - return SourceCase.forNumber(sourceCase_); + public SourceCase + getSourceCase() { + return SourceCase.forNumber( + sourceCase_); } public Builder clearSource() { @@ -642,19 +582,13 @@ public Builder clearSource() { private int bitField0_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.contactcenterinsights.v1.GcsSource, - com.google.cloud.contactcenterinsights.v1.GcsSource.Builder, - com.google.cloud.contactcenterinsights.v1.GcsSourceOrBuilder> - gcsSourceBuilder_; + com.google.cloud.contactcenterinsights.v1.GcsSource, com.google.cloud.contactcenterinsights.v1.GcsSource.Builder, com.google.cloud.contactcenterinsights.v1.GcsSourceOrBuilder> gcsSourceBuilder_; /** - * - * *
      * A Cloud Storage location specification for the audio and transcript.
      * 
* * .google.cloud.contactcenterinsights.v1.GcsSource gcs_source = 1; - * * @return Whether the gcsSource field is set. */ @java.lang.Override @@ -662,14 +596,11 @@ public boolean hasGcsSource() { return sourceCase_ == 1; } /** - * - * *
      * A Cloud Storage location specification for the audio and transcript.
      * 
* * .google.cloud.contactcenterinsights.v1.GcsSource gcs_source = 1; - * * @return The gcsSource. */ @java.lang.Override @@ -687,8 +618,6 @@ public com.google.cloud.contactcenterinsights.v1.GcsSource getGcsSource() { } } /** - * - * *
      * A Cloud Storage location specification for the audio and transcript.
      * 
@@ -709,8 +638,6 @@ public Builder setGcsSource(com.google.cloud.contactcenterinsights.v1.GcsSource return this; } /** - * - * *
      * A Cloud Storage location specification for the audio and transcript.
      * 
@@ -729,8 +656,6 @@ public Builder setGcsSource( return this; } /** - * - * *
      * A Cloud Storage location specification for the audio and transcript.
      * 
@@ -739,14 +664,10 @@ public Builder setGcsSource( */ public Builder mergeGcsSource(com.google.cloud.contactcenterinsights.v1.GcsSource value) { if (gcsSourceBuilder_ == null) { - if (sourceCase_ == 1 - && source_ - != com.google.cloud.contactcenterinsights.v1.GcsSource.getDefaultInstance()) { - source_ = - com.google.cloud.contactcenterinsights.v1.GcsSource.newBuilder( - (com.google.cloud.contactcenterinsights.v1.GcsSource) source_) - .mergeFrom(value) - .buildPartial(); + if (sourceCase_ == 1 && + source_ != com.google.cloud.contactcenterinsights.v1.GcsSource.getDefaultInstance()) { + source_ = com.google.cloud.contactcenterinsights.v1.GcsSource.newBuilder((com.google.cloud.contactcenterinsights.v1.GcsSource) source_) + .mergeFrom(value).buildPartial(); } else { source_ = value; } @@ -762,8 +683,6 @@ public Builder mergeGcsSource(com.google.cloud.contactcenterinsights.v1.GcsSourc return this; } /** - * - * *
      * A Cloud Storage location specification for the audio and transcript.
      * 
@@ -787,8 +706,6 @@ public Builder clearGcsSource() { return this; } /** - * - * *
      * A Cloud Storage location specification for the audio and transcript.
      * 
@@ -799,8 +716,6 @@ public com.google.cloud.contactcenterinsights.v1.GcsSource.Builder getGcsSourceB return getGcsSourceFieldBuilder().getBuilder(); } /** - * - * *
      * A Cloud Storage location specification for the audio and transcript.
      * 
@@ -819,8 +734,6 @@ public com.google.cloud.contactcenterinsights.v1.GcsSourceOrBuilder getGcsSource } } /** - * - * *
      * A Cloud Storage location specification for the audio and transcript.
      * 
@@ -828,19 +741,14 @@ public com.google.cloud.contactcenterinsights.v1.GcsSourceOrBuilder getGcsSource * .google.cloud.contactcenterinsights.v1.GcsSource gcs_source = 1; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.contactcenterinsights.v1.GcsSource, - com.google.cloud.contactcenterinsights.v1.GcsSource.Builder, - com.google.cloud.contactcenterinsights.v1.GcsSourceOrBuilder> + com.google.cloud.contactcenterinsights.v1.GcsSource, com.google.cloud.contactcenterinsights.v1.GcsSource.Builder, com.google.cloud.contactcenterinsights.v1.GcsSourceOrBuilder> getGcsSourceFieldBuilder() { if (gcsSourceBuilder_ == null) { if (!(sourceCase_ == 1)) { source_ = com.google.cloud.contactcenterinsights.v1.GcsSource.getDefaultInstance(); } - gcsSourceBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.contactcenterinsights.v1.GcsSource, - com.google.cloud.contactcenterinsights.v1.GcsSource.Builder, - com.google.cloud.contactcenterinsights.v1.GcsSourceOrBuilder>( + gcsSourceBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.contactcenterinsights.v1.GcsSource, com.google.cloud.contactcenterinsights.v1.GcsSource.Builder, com.google.cloud.contactcenterinsights.v1.GcsSourceOrBuilder>( (com.google.cloud.contactcenterinsights.v1.GcsSource) source_, getParentForChildren(), isClean()); @@ -852,19 +760,13 @@ public com.google.cloud.contactcenterinsights.v1.GcsSourceOrBuilder getGcsSource } private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.contactcenterinsights.v1.DialogflowSource, - com.google.cloud.contactcenterinsights.v1.DialogflowSource.Builder, - com.google.cloud.contactcenterinsights.v1.DialogflowSourceOrBuilder> - dialogflowSourceBuilder_; + com.google.cloud.contactcenterinsights.v1.DialogflowSource, com.google.cloud.contactcenterinsights.v1.DialogflowSource.Builder, com.google.cloud.contactcenterinsights.v1.DialogflowSourceOrBuilder> dialogflowSourceBuilder_; /** - * - * *
      * The source when the conversation comes from Dialogflow.
      * 
* * .google.cloud.contactcenterinsights.v1.DialogflowSource dialogflow_source = 3; - * * @return Whether the dialogflowSource field is set. */ @java.lang.Override @@ -872,14 +774,11 @@ public boolean hasDialogflowSource() { return sourceCase_ == 3; } /** - * - * *
      * The source when the conversation comes from Dialogflow.
      * 
* * .google.cloud.contactcenterinsights.v1.DialogflowSource dialogflow_source = 3; - * * @return The dialogflowSource. */ @java.lang.Override @@ -897,16 +796,13 @@ public com.google.cloud.contactcenterinsights.v1.DialogflowSource getDialogflowS } } /** - * - * *
      * The source when the conversation comes from Dialogflow.
      * 
* * .google.cloud.contactcenterinsights.v1.DialogflowSource dialogflow_source = 3; */ - public Builder setDialogflowSource( - com.google.cloud.contactcenterinsights.v1.DialogflowSource value) { + public Builder setDialogflowSource(com.google.cloud.contactcenterinsights.v1.DialogflowSource value) { if (dialogflowSourceBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -920,8 +816,6 @@ public Builder setDialogflowSource( return this; } /** - * - * *
      * The source when the conversation comes from Dialogflow.
      * 
@@ -940,26 +834,18 @@ public Builder setDialogflowSource( return this; } /** - * - * *
      * The source when the conversation comes from Dialogflow.
      * 
* * .google.cloud.contactcenterinsights.v1.DialogflowSource dialogflow_source = 3; */ - public Builder mergeDialogflowSource( - com.google.cloud.contactcenterinsights.v1.DialogflowSource value) { + public Builder mergeDialogflowSource(com.google.cloud.contactcenterinsights.v1.DialogflowSource value) { if (dialogflowSourceBuilder_ == null) { - if (sourceCase_ == 3 - && source_ - != com.google.cloud.contactcenterinsights.v1.DialogflowSource - .getDefaultInstance()) { - source_ = - com.google.cloud.contactcenterinsights.v1.DialogflowSource.newBuilder( - (com.google.cloud.contactcenterinsights.v1.DialogflowSource) source_) - .mergeFrom(value) - .buildPartial(); + if (sourceCase_ == 3 && + source_ != com.google.cloud.contactcenterinsights.v1.DialogflowSource.getDefaultInstance()) { + source_ = com.google.cloud.contactcenterinsights.v1.DialogflowSource.newBuilder((com.google.cloud.contactcenterinsights.v1.DialogflowSource) source_) + .mergeFrom(value).buildPartial(); } else { source_ = value; } @@ -975,8 +861,6 @@ public Builder mergeDialogflowSource( return this; } /** - * - * *
      * The source when the conversation comes from Dialogflow.
      * 
@@ -1000,21 +884,16 @@ public Builder clearDialogflowSource() { return this; } /** - * - * *
      * The source when the conversation comes from Dialogflow.
      * 
* * .google.cloud.contactcenterinsights.v1.DialogflowSource dialogflow_source = 3; */ - public com.google.cloud.contactcenterinsights.v1.DialogflowSource.Builder - getDialogflowSourceBuilder() { + public com.google.cloud.contactcenterinsights.v1.DialogflowSource.Builder getDialogflowSourceBuilder() { return getDialogflowSourceFieldBuilder().getBuilder(); } /** - * - * *
      * The source when the conversation comes from Dialogflow.
      * 
@@ -1022,8 +901,7 @@ public Builder clearDialogflowSource() { * .google.cloud.contactcenterinsights.v1.DialogflowSource dialogflow_source = 3; */ @java.lang.Override - public com.google.cloud.contactcenterinsights.v1.DialogflowSourceOrBuilder - getDialogflowSourceOrBuilder() { + public com.google.cloud.contactcenterinsights.v1.DialogflowSourceOrBuilder getDialogflowSourceOrBuilder() { if ((sourceCase_ == 3) && (dialogflowSourceBuilder_ != null)) { return dialogflowSourceBuilder_.getMessageOrBuilder(); } else { @@ -1034,8 +912,6 @@ public Builder clearDialogflowSource() { } } /** - * - * *
      * The source when the conversation comes from Dialogflow.
      * 
@@ -1043,19 +919,14 @@ public Builder clearDialogflowSource() { * .google.cloud.contactcenterinsights.v1.DialogflowSource dialogflow_source = 3; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.contactcenterinsights.v1.DialogflowSource, - com.google.cloud.contactcenterinsights.v1.DialogflowSource.Builder, - com.google.cloud.contactcenterinsights.v1.DialogflowSourceOrBuilder> + com.google.cloud.contactcenterinsights.v1.DialogflowSource, com.google.cloud.contactcenterinsights.v1.DialogflowSource.Builder, com.google.cloud.contactcenterinsights.v1.DialogflowSourceOrBuilder> getDialogflowSourceFieldBuilder() { if (dialogflowSourceBuilder_ == null) { if (!(sourceCase_ == 3)) { source_ = com.google.cloud.contactcenterinsights.v1.DialogflowSource.getDefaultInstance(); } - dialogflowSourceBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.contactcenterinsights.v1.DialogflowSource, - com.google.cloud.contactcenterinsights.v1.DialogflowSource.Builder, - com.google.cloud.contactcenterinsights.v1.DialogflowSourceOrBuilder>( + dialogflowSourceBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.contactcenterinsights.v1.DialogflowSource, com.google.cloud.contactcenterinsights.v1.DialogflowSource.Builder, com.google.cloud.contactcenterinsights.v1.DialogflowSourceOrBuilder>( (com.google.cloud.contactcenterinsights.v1.DialogflowSource) source_, getParentForChildren(), isClean()); @@ -1065,9 +936,9 @@ public Builder clearDialogflowSource() { onChanged(); return dialogflowSourceBuilder_; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1077,43 +948,41 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.contactcenterinsights.v1.ConversationDataSource) } // @@protoc_insertion_point(class_scope:google.cloud.contactcenterinsights.v1.ConversationDataSource) - private static final com.google.cloud.contactcenterinsights.v1.ConversationDataSource - DEFAULT_INSTANCE; - + private static final com.google.cloud.contactcenterinsights.v1.ConversationDataSource DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.cloud.contactcenterinsights.v1.ConversationDataSource(); } - public static com.google.cloud.contactcenterinsights.v1.ConversationDataSource - getDefaultInstance() { + public static com.google.cloud.contactcenterinsights.v1.ConversationDataSource getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ConversationDataSource parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ConversationDataSource parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1125,8 +994,9 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.cloud.contactcenterinsights.v1.ConversationDataSource - getDefaultInstanceForType() { + public com.google.cloud.contactcenterinsights.v1.ConversationDataSource getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ConversationDataSourceOrBuilder.java b/owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ConversationDataSourceOrBuilder.java similarity index 72% rename from java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ConversationDataSourceOrBuilder.java rename to owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ConversationDataSourceOrBuilder.java index 307b4423f444..c20823f95524 100644 --- a/java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ConversationDataSourceOrBuilder.java +++ b/owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ConversationDataSourceOrBuilder.java @@ -1,55 +1,31 @@ -/* - * 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. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/contactcenterinsights/v1/resources.proto package com.google.cloud.contactcenterinsights.v1; -public interface ConversationDataSourceOrBuilder - extends +public interface ConversationDataSourceOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.contactcenterinsights.v1.ConversationDataSource) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * A Cloud Storage location specification for the audio and transcript.
    * 
* * .google.cloud.contactcenterinsights.v1.GcsSource gcs_source = 1; - * * @return Whether the gcsSource field is set. */ boolean hasGcsSource(); /** - * - * *
    * A Cloud Storage location specification for the audio and transcript.
    * 
* * .google.cloud.contactcenterinsights.v1.GcsSource gcs_source = 1; - * * @return The gcsSource. */ com.google.cloud.contactcenterinsights.v1.GcsSource getGcsSource(); /** - * - * *
    * A Cloud Storage location specification for the audio and transcript.
    * 
@@ -59,41 +35,31 @@ public interface ConversationDataSourceOrBuilder com.google.cloud.contactcenterinsights.v1.GcsSourceOrBuilder getGcsSourceOrBuilder(); /** - * - * *
    * The source when the conversation comes from Dialogflow.
    * 
* * .google.cloud.contactcenterinsights.v1.DialogflowSource dialogflow_source = 3; - * * @return Whether the dialogflowSource field is set. */ boolean hasDialogflowSource(); /** - * - * *
    * The source when the conversation comes from Dialogflow.
    * 
* * .google.cloud.contactcenterinsights.v1.DialogflowSource dialogflow_source = 3; - * * @return The dialogflowSource. */ com.google.cloud.contactcenterinsights.v1.DialogflowSource getDialogflowSource(); /** - * - * *
    * The source when the conversation comes from Dialogflow.
    * 
* * .google.cloud.contactcenterinsights.v1.DialogflowSource dialogflow_source = 3; */ - com.google.cloud.contactcenterinsights.v1.DialogflowSourceOrBuilder - getDialogflowSourceOrBuilder(); + com.google.cloud.contactcenterinsights.v1.DialogflowSourceOrBuilder getDialogflowSourceOrBuilder(); - public com.google.cloud.contactcenterinsights.v1.ConversationDataSource.SourceCase - getSourceCase(); + public com.google.cloud.contactcenterinsights.v1.ConversationDataSource.SourceCase getSourceCase(); } diff --git a/java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ConversationLevelSentiment.java b/owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ConversationLevelSentiment.java similarity index 63% rename from java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ConversationLevelSentiment.java rename to owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ConversationLevelSentiment.java index 1055bb3c009c..b7082f971aff 100644 --- a/java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ConversationLevelSentiment.java +++ b/owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ConversationLevelSentiment.java @@ -1,81 +1,60 @@ -/* - * 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. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/contactcenterinsights/v1/resources.proto package com.google.cloud.contactcenterinsights.v1; /** - * - * *
  * One channel of conversation-level sentiment data.
  * 
* * Protobuf type {@code google.cloud.contactcenterinsights.v1.ConversationLevelSentiment} */ -public final class ConversationLevelSentiment extends com.google.protobuf.GeneratedMessageV3 - implements +public final class ConversationLevelSentiment extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.contactcenterinsights.v1.ConversationLevelSentiment) ConversationLevelSentimentOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use ConversationLevelSentiment.newBuilder() to construct. private ConversationLevelSentiment(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - - private ConversationLevelSentiment() {} + private ConversationLevelSentiment() { + } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new ConversationLevelSentiment(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.contactcenterinsights.v1.ResourcesProto - .internal_static_google_cloud_contactcenterinsights_v1_ConversationLevelSentiment_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.contactcenterinsights.v1.ResourcesProto.internal_static_google_cloud_contactcenterinsights_v1_ConversationLevelSentiment_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.contactcenterinsights.v1.ResourcesProto - .internal_static_google_cloud_contactcenterinsights_v1_ConversationLevelSentiment_fieldAccessorTable + return com.google.cloud.contactcenterinsights.v1.ResourcesProto.internal_static_google_cloud_contactcenterinsights_v1_ConversationLevelSentiment_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.contactcenterinsights.v1.ConversationLevelSentiment.class, - com.google.cloud.contactcenterinsights.v1.ConversationLevelSentiment.Builder.class); + com.google.cloud.contactcenterinsights.v1.ConversationLevelSentiment.class, com.google.cloud.contactcenterinsights.v1.ConversationLevelSentiment.Builder.class); } public static final int CHANNEL_TAG_FIELD_NUMBER = 1; private int channelTag_ = 0; /** - * - * *
    * The channel of the audio that the data applies to.
    * 
* * int32 channel_tag = 1; - * * @return The channelTag. */ @java.lang.Override @@ -86,14 +65,11 @@ public int getChannelTag() { public static final int SENTIMENT_DATA_FIELD_NUMBER = 2; private com.google.cloud.contactcenterinsights.v1.SentimentData sentimentData_; /** - * - * *
    * Data specifying sentiment.
    * 
* * .google.cloud.contactcenterinsights.v1.SentimentData sentiment_data = 2; - * * @return Whether the sentimentData field is set. */ @java.lang.Override @@ -101,25 +77,18 @@ public boolean hasSentimentData() { return sentimentData_ != null; } /** - * - * *
    * Data specifying sentiment.
    * 
* * .google.cloud.contactcenterinsights.v1.SentimentData sentiment_data = 2; - * * @return The sentimentData. */ @java.lang.Override public com.google.cloud.contactcenterinsights.v1.SentimentData getSentimentData() { - return sentimentData_ == null - ? com.google.cloud.contactcenterinsights.v1.SentimentData.getDefaultInstance() - : sentimentData_; + return sentimentData_ == null ? com.google.cloud.contactcenterinsights.v1.SentimentData.getDefaultInstance() : sentimentData_; } /** - * - * *
    * Data specifying sentiment.
    * 
@@ -127,15 +96,11 @@ public com.google.cloud.contactcenterinsights.v1.SentimentData getSentimentData( * .google.cloud.contactcenterinsights.v1.SentimentData sentiment_data = 2; */ @java.lang.Override - public com.google.cloud.contactcenterinsights.v1.SentimentDataOrBuilder - getSentimentDataOrBuilder() { - return sentimentData_ == null - ? com.google.cloud.contactcenterinsights.v1.SentimentData.getDefaultInstance() - : sentimentData_; + public com.google.cloud.contactcenterinsights.v1.SentimentDataOrBuilder getSentimentDataOrBuilder() { + return sentimentData_ == null ? com.google.cloud.contactcenterinsights.v1.SentimentData.getDefaultInstance() : sentimentData_; } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -147,7 +112,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (channelTag_ != 0) { output.writeInt32(1, channelTag_); } @@ -164,10 +130,12 @@ public int getSerializedSize() { size = 0; if (channelTag_ != 0) { - size += com.google.protobuf.CodedOutputStream.computeInt32Size(1, channelTag_); + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(1, channelTag_); } if (sentimentData_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getSentimentData()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, getSentimentData()); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -177,18 +145,19 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.contactcenterinsights.v1.ConversationLevelSentiment)) { return super.equals(obj); } - com.google.cloud.contactcenterinsights.v1.ConversationLevelSentiment other = - (com.google.cloud.contactcenterinsights.v1.ConversationLevelSentiment) obj; + com.google.cloud.contactcenterinsights.v1.ConversationLevelSentiment other = (com.google.cloud.contactcenterinsights.v1.ConversationLevelSentiment) obj; - if (getChannelTag() != other.getChannelTag()) return false; + if (getChannelTag() + != other.getChannelTag()) return false; if (hasSentimentData() != other.hasSentimentData()) return false; if (hasSentimentData()) { - if (!getSentimentData().equals(other.getSentimentData())) return false; + if (!getSentimentData() + .equals(other.getSentimentData())) return false; } if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -213,138 +182,129 @@ public int hashCode() { } public static com.google.cloud.contactcenterinsights.v1.ConversationLevelSentiment parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.contactcenterinsights.v1.ConversationLevelSentiment parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.contactcenterinsights.v1.ConversationLevelSentiment parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.contactcenterinsights.v1.ConversationLevelSentiment parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.contactcenterinsights.v1.ConversationLevelSentiment parseFrom( - byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.contactcenterinsights.v1.ConversationLevelSentiment parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.contactcenterinsights.v1.ConversationLevelSentiment parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.contactcenterinsights.v1.ConversationLevelSentiment parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.contactcenterinsights.v1.ConversationLevelSentiment parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.contactcenterinsights.v1.ConversationLevelSentiment parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.contactcenterinsights.v1.ConversationLevelSentiment - parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.contactcenterinsights.v1.ConversationLevelSentiment parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - - public static com.google.cloud.contactcenterinsights.v1.ConversationLevelSentiment - parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + public static com.google.cloud.contactcenterinsights.v1.ConversationLevelSentiment parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.contactcenterinsights.v1.ConversationLevelSentiment parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.contactcenterinsights.v1.ConversationLevelSentiment parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.contactcenterinsights.v1.ConversationLevelSentiment prototype) { + public static Builder newBuilder(com.google.cloud.contactcenterinsights.v1.ConversationLevelSentiment prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * One channel of conversation-level sentiment data.
    * 
* * Protobuf type {@code google.cloud.contactcenterinsights.v1.ConversationLevelSentiment} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.contactcenterinsights.v1.ConversationLevelSentiment) com.google.cloud.contactcenterinsights.v1.ConversationLevelSentimentOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.contactcenterinsights.v1.ResourcesProto - .internal_static_google_cloud_contactcenterinsights_v1_ConversationLevelSentiment_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.contactcenterinsights.v1.ResourcesProto.internal_static_google_cloud_contactcenterinsights_v1_ConversationLevelSentiment_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.contactcenterinsights.v1.ResourcesProto - .internal_static_google_cloud_contactcenterinsights_v1_ConversationLevelSentiment_fieldAccessorTable + return com.google.cloud.contactcenterinsights.v1.ResourcesProto.internal_static_google_cloud_contactcenterinsights_v1_ConversationLevelSentiment_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.contactcenterinsights.v1.ConversationLevelSentiment.class, - com.google.cloud.contactcenterinsights.v1.ConversationLevelSentiment.Builder.class); + com.google.cloud.contactcenterinsights.v1.ConversationLevelSentiment.class, com.google.cloud.contactcenterinsights.v1.ConversationLevelSentiment.Builder.class); } - // Construct using - // com.google.cloud.contactcenterinsights.v1.ConversationLevelSentiment.newBuilder() - private Builder() {} + // Construct using com.google.cloud.contactcenterinsights.v1.ConversationLevelSentiment.newBuilder() + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -359,16 +319,14 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.contactcenterinsights.v1.ResourcesProto - .internal_static_google_cloud_contactcenterinsights_v1_ConversationLevelSentiment_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.contactcenterinsights.v1.ResourcesProto.internal_static_google_cloud_contactcenterinsights_v1_ConversationLevelSentiment_descriptor; } @java.lang.Override - public com.google.cloud.contactcenterinsights.v1.ConversationLevelSentiment - getDefaultInstanceForType() { - return com.google.cloud.contactcenterinsights.v1.ConversationLevelSentiment - .getDefaultInstance(); + public com.google.cloud.contactcenterinsights.v1.ConversationLevelSentiment getDefaultInstanceForType() { + return com.google.cloud.contactcenterinsights.v1.ConversationLevelSentiment.getDefaultInstance(); } @java.lang.Override @@ -382,24 +340,21 @@ public com.google.cloud.contactcenterinsights.v1.ConversationLevelSentiment buil @java.lang.Override public com.google.cloud.contactcenterinsights.v1.ConversationLevelSentiment buildPartial() { - com.google.cloud.contactcenterinsights.v1.ConversationLevelSentiment result = - new com.google.cloud.contactcenterinsights.v1.ConversationLevelSentiment(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + com.google.cloud.contactcenterinsights.v1.ConversationLevelSentiment result = new com.google.cloud.contactcenterinsights.v1.ConversationLevelSentiment(this); + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } - private void buildPartial0( - com.google.cloud.contactcenterinsights.v1.ConversationLevelSentiment result) { + private void buildPartial0(com.google.cloud.contactcenterinsights.v1.ConversationLevelSentiment result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { result.channelTag_ = channelTag_; } if (((from_bitField0_ & 0x00000002) != 0)) { - result.sentimentData_ = - sentimentDataBuilder_ == null ? sentimentData_ : sentimentDataBuilder_.build(); + result.sentimentData_ = sentimentDataBuilder_ == null + ? sentimentData_ + : sentimentDataBuilder_.build(); } } @@ -407,51 +362,46 @@ private void buildPartial0( public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.contactcenterinsights.v1.ConversationLevelSentiment) { - return mergeFrom( - (com.google.cloud.contactcenterinsights.v1.ConversationLevelSentiment) other); + return mergeFrom((com.google.cloud.contactcenterinsights.v1.ConversationLevelSentiment)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom( - com.google.cloud.contactcenterinsights.v1.ConversationLevelSentiment other) { - if (other - == com.google.cloud.contactcenterinsights.v1.ConversationLevelSentiment - .getDefaultInstance()) return this; + public Builder mergeFrom(com.google.cloud.contactcenterinsights.v1.ConversationLevelSentiment other) { + if (other == com.google.cloud.contactcenterinsights.v1.ConversationLevelSentiment.getDefaultInstance()) return this; if (other.getChannelTag() != 0) { setChannelTag(other.getChannelTag()); } @@ -484,25 +434,24 @@ public Builder mergeFrom( case 0: done = true; break; - case 8: - { - channelTag_ = input.readInt32(); - bitField0_ |= 0x00000001; - break; - } // case 8 - case 18: - { - input.readMessage(getSentimentDataFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00000002; - break; - } // case 18 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 8: { + channelTag_ = input.readInt32(); + bitField0_ |= 0x00000001; + break; + } // case 8 + case 18: { + input.readMessage( + getSentimentDataFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00000002; + break; + } // case 18 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -512,19 +461,15 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; - private int channelTag_; + private int channelTag_ ; /** - * - * *
      * The channel of the audio that the data applies to.
      * 
* * int32 channel_tag = 1; - * * @return The channelTag. */ @java.lang.Override @@ -532,33 +477,27 @@ public int getChannelTag() { return channelTag_; } /** - * - * *
      * The channel of the audio that the data applies to.
      * 
* * int32 channel_tag = 1; - * * @param value The channelTag to set. * @return This builder for chaining. */ public Builder setChannelTag(int value) { - + channelTag_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
      * The channel of the audio that the data applies to.
      * 
* * int32 channel_tag = 1; - * * @return This builder for chaining. */ public Builder clearChannelTag() { @@ -570,47 +509,34 @@ public Builder clearChannelTag() { private com.google.cloud.contactcenterinsights.v1.SentimentData sentimentData_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.contactcenterinsights.v1.SentimentData, - com.google.cloud.contactcenterinsights.v1.SentimentData.Builder, - com.google.cloud.contactcenterinsights.v1.SentimentDataOrBuilder> - sentimentDataBuilder_; + com.google.cloud.contactcenterinsights.v1.SentimentData, com.google.cloud.contactcenterinsights.v1.SentimentData.Builder, com.google.cloud.contactcenterinsights.v1.SentimentDataOrBuilder> sentimentDataBuilder_; /** - * - * *
      * Data specifying sentiment.
      * 
* * .google.cloud.contactcenterinsights.v1.SentimentData sentiment_data = 2; - * * @return Whether the sentimentData field is set. */ public boolean hasSentimentData() { return ((bitField0_ & 0x00000002) != 0); } /** - * - * *
      * Data specifying sentiment.
      * 
* * .google.cloud.contactcenterinsights.v1.SentimentData sentiment_data = 2; - * * @return The sentimentData. */ public com.google.cloud.contactcenterinsights.v1.SentimentData getSentimentData() { if (sentimentDataBuilder_ == null) { - return sentimentData_ == null - ? com.google.cloud.contactcenterinsights.v1.SentimentData.getDefaultInstance() - : sentimentData_; + return sentimentData_ == null ? com.google.cloud.contactcenterinsights.v1.SentimentData.getDefaultInstance() : sentimentData_; } else { return sentimentDataBuilder_.getMessage(); } } /** - * - * *
      * Data specifying sentiment.
      * 
@@ -631,8 +557,6 @@ public Builder setSentimentData(com.google.cloud.contactcenterinsights.v1.Sentim return this; } /** - * - * *
      * Data specifying sentiment.
      * 
@@ -651,21 +575,17 @@ public Builder setSentimentData( return this; } /** - * - * *
      * Data specifying sentiment.
      * 
* * .google.cloud.contactcenterinsights.v1.SentimentData sentiment_data = 2; */ - public Builder mergeSentimentData( - com.google.cloud.contactcenterinsights.v1.SentimentData value) { + public Builder mergeSentimentData(com.google.cloud.contactcenterinsights.v1.SentimentData value) { if (sentimentDataBuilder_ == null) { - if (((bitField0_ & 0x00000002) != 0) - && sentimentData_ != null - && sentimentData_ - != com.google.cloud.contactcenterinsights.v1.SentimentData.getDefaultInstance()) { + if (((bitField0_ & 0x00000002) != 0) && + sentimentData_ != null && + sentimentData_ != com.google.cloud.contactcenterinsights.v1.SentimentData.getDefaultInstance()) { getSentimentDataBuilder().mergeFrom(value); } else { sentimentData_ = value; @@ -678,8 +598,6 @@ public Builder mergeSentimentData( return this; } /** - * - * *
      * Data specifying sentiment.
      * 
@@ -697,42 +615,33 @@ public Builder clearSentimentData() { return this; } /** - * - * *
      * Data specifying sentiment.
      * 
* * .google.cloud.contactcenterinsights.v1.SentimentData sentiment_data = 2; */ - public com.google.cloud.contactcenterinsights.v1.SentimentData.Builder - getSentimentDataBuilder() { + public com.google.cloud.contactcenterinsights.v1.SentimentData.Builder getSentimentDataBuilder() { bitField0_ |= 0x00000002; onChanged(); return getSentimentDataFieldBuilder().getBuilder(); } /** - * - * *
      * Data specifying sentiment.
      * 
* * .google.cloud.contactcenterinsights.v1.SentimentData sentiment_data = 2; */ - public com.google.cloud.contactcenterinsights.v1.SentimentDataOrBuilder - getSentimentDataOrBuilder() { + public com.google.cloud.contactcenterinsights.v1.SentimentDataOrBuilder getSentimentDataOrBuilder() { if (sentimentDataBuilder_ != null) { return sentimentDataBuilder_.getMessageOrBuilder(); } else { - return sentimentData_ == null - ? com.google.cloud.contactcenterinsights.v1.SentimentData.getDefaultInstance() - : sentimentData_; + return sentimentData_ == null ? + com.google.cloud.contactcenterinsights.v1.SentimentData.getDefaultInstance() : sentimentData_; } } /** - * - * *
      * Data specifying sentiment.
      * 
@@ -740,24 +649,21 @@ public Builder clearSentimentData() { * .google.cloud.contactcenterinsights.v1.SentimentData sentiment_data = 2; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.contactcenterinsights.v1.SentimentData, - com.google.cloud.contactcenterinsights.v1.SentimentData.Builder, - com.google.cloud.contactcenterinsights.v1.SentimentDataOrBuilder> + com.google.cloud.contactcenterinsights.v1.SentimentData, com.google.cloud.contactcenterinsights.v1.SentimentData.Builder, com.google.cloud.contactcenterinsights.v1.SentimentDataOrBuilder> getSentimentDataFieldBuilder() { if (sentimentDataBuilder_ == null) { - sentimentDataBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.contactcenterinsights.v1.SentimentData, - com.google.cloud.contactcenterinsights.v1.SentimentData.Builder, - com.google.cloud.contactcenterinsights.v1.SentimentDataOrBuilder>( - getSentimentData(), getParentForChildren(), isClean()); + sentimentDataBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.contactcenterinsights.v1.SentimentData, com.google.cloud.contactcenterinsights.v1.SentimentData.Builder, com.google.cloud.contactcenterinsights.v1.SentimentDataOrBuilder>( + getSentimentData(), + getParentForChildren(), + isClean()); sentimentData_ = null; } return sentimentDataBuilder_; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -767,43 +673,41 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.contactcenterinsights.v1.ConversationLevelSentiment) } // @@protoc_insertion_point(class_scope:google.cloud.contactcenterinsights.v1.ConversationLevelSentiment) - private static final com.google.cloud.contactcenterinsights.v1.ConversationLevelSentiment - DEFAULT_INSTANCE; - + private static final com.google.cloud.contactcenterinsights.v1.ConversationLevelSentiment DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.cloud.contactcenterinsights.v1.ConversationLevelSentiment(); } - public static com.google.cloud.contactcenterinsights.v1.ConversationLevelSentiment - getDefaultInstance() { + public static com.google.cloud.contactcenterinsights.v1.ConversationLevelSentiment getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ConversationLevelSentiment parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ConversationLevelSentiment parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -815,8 +719,9 @@ public com.google.protobuf.Parser getParserForType() } @java.lang.Override - public com.google.cloud.contactcenterinsights.v1.ConversationLevelSentiment - getDefaultInstanceForType() { + public com.google.cloud.contactcenterinsights.v1.ConversationLevelSentiment getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ConversationLevelSentimentOrBuilder.java b/owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ConversationLevelSentimentOrBuilder.java similarity index 64% rename from java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ConversationLevelSentimentOrBuilder.java rename to owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ConversationLevelSentimentOrBuilder.java index dabb5dd1a392..a845256e786c 100644 --- a/java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ConversationLevelSentimentOrBuilder.java +++ b/owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ConversationLevelSentimentOrBuilder.java @@ -1,68 +1,41 @@ -/* - * 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. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/contactcenterinsights/v1/resources.proto package com.google.cloud.contactcenterinsights.v1; -public interface ConversationLevelSentimentOrBuilder - extends +public interface ConversationLevelSentimentOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.contactcenterinsights.v1.ConversationLevelSentiment) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * The channel of the audio that the data applies to.
    * 
* * int32 channel_tag = 1; - * * @return The channelTag. */ int getChannelTag(); /** - * - * *
    * Data specifying sentiment.
    * 
* * .google.cloud.contactcenterinsights.v1.SentimentData sentiment_data = 2; - * * @return Whether the sentimentData field is set. */ boolean hasSentimentData(); /** - * - * *
    * Data specifying sentiment.
    * 
* * .google.cloud.contactcenterinsights.v1.SentimentData sentiment_data = 2; - * * @return The sentimentData. */ com.google.cloud.contactcenterinsights.v1.SentimentData getSentimentData(); /** - * - * *
    * Data specifying sentiment.
    * 
diff --git a/java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ConversationName.java b/owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ConversationName.java similarity index 100% rename from java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ConversationName.java rename to owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ConversationName.java diff --git a/java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ConversationOrBuilder.java b/owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ConversationOrBuilder.java similarity index 68% rename from java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ConversationOrBuilder.java rename to owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ConversationOrBuilder.java index 66938cdadcb5..92caf636455c 100644 --- a/java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ConversationOrBuilder.java +++ b/owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ConversationOrBuilder.java @@ -1,96 +1,60 @@ -/* - * 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. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/contactcenterinsights/v1/resources.proto package com.google.cloud.contactcenterinsights.v1; -public interface ConversationOrBuilder - extends +public interface ConversationOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.contactcenterinsights.v1.Conversation) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Call-specific metadata.
    * 
* - * .google.cloud.contactcenterinsights.v1.Conversation.CallMetadata call_metadata = 7; - * - * + * .google.cloud.contactcenterinsights.v1.Conversation.CallMetadata call_metadata = 7; * @return Whether the callMetadata field is set. */ boolean hasCallMetadata(); /** - * - * *
    * Call-specific metadata.
    * 
* - * .google.cloud.contactcenterinsights.v1.Conversation.CallMetadata call_metadata = 7; - * - * + * .google.cloud.contactcenterinsights.v1.Conversation.CallMetadata call_metadata = 7; * @return The callMetadata. */ com.google.cloud.contactcenterinsights.v1.Conversation.CallMetadata getCallMetadata(); /** - * - * *
    * Call-specific metadata.
    * 
* - * .google.cloud.contactcenterinsights.v1.Conversation.CallMetadata call_metadata = 7; - * + * .google.cloud.contactcenterinsights.v1.Conversation.CallMetadata call_metadata = 7; */ - com.google.cloud.contactcenterinsights.v1.Conversation.CallMetadataOrBuilder - getCallMetadataOrBuilder(); + com.google.cloud.contactcenterinsights.v1.Conversation.CallMetadataOrBuilder getCallMetadataOrBuilder(); /** - * - * *
    * The time at which this conversation should expire. After this time, the
    * conversation data and any associated analyses will be deleted.
    * 
* * .google.protobuf.Timestamp expire_time = 15; - * * @return Whether the expireTime field is set. */ boolean hasExpireTime(); /** - * - * *
    * The time at which this conversation should expire. After this time, the
    * conversation data and any associated analyses will be deleted.
    * 
* * .google.protobuf.Timestamp expire_time = 15; - * * @return The expireTime. */ com.google.protobuf.Timestamp getExpireTime(); /** - * - * *
    * The time at which this conversation should expire. After this time, the
    * conversation data and any associated analyses will be deleted.
@@ -101,34 +65,26 @@ public interface ConversationOrBuilder
   com.google.protobuf.TimestampOrBuilder getExpireTimeOrBuilder();
 
   /**
-   *
-   *
    * 
    * Input only. The TTL for this resource. If specified, then this TTL will
    * be used to calculate the expire time.
    * 
* * .google.protobuf.Duration ttl = 16 [(.google.api.field_behavior) = INPUT_ONLY]; - * * @return Whether the ttl field is set. */ boolean hasTtl(); /** - * - * *
    * Input only. The TTL for this resource. If specified, then this TTL will
    * be used to calculate the expire time.
    * 
* * .google.protobuf.Duration ttl = 16 [(.google.api.field_behavior) = INPUT_ONLY]; - * * @return The ttl. */ com.google.protobuf.Duration getTtl(); /** - * - * *
    * Input only. The TTL for this resource. If specified, then this TTL will
    * be used to calculate the expire time.
@@ -139,8 +95,6 @@ public interface ConversationOrBuilder
   com.google.protobuf.DurationOrBuilder getTtlOrBuilder();
 
   /**
-   *
-   *
    * 
    * Immutable. The resource name of the conversation.
    * Format:
@@ -148,13 +102,10 @@ public interface ConversationOrBuilder
    * 
* * string name = 1 [(.google.api.field_behavior) = IMMUTABLE]; - * * @return The name. */ java.lang.String getName(); /** - * - * *
    * Immutable. The resource name of the conversation.
    * Format:
@@ -162,150 +113,111 @@ public interface ConversationOrBuilder
    * 
* * string name = 1 [(.google.api.field_behavior) = IMMUTABLE]; - * * @return The bytes for name. */ - com.google.protobuf.ByteString getNameBytes(); + com.google.protobuf.ByteString + getNameBytes(); /** - * - * *
    * The source of the audio and transcription for the conversation.
    * 
* * .google.cloud.contactcenterinsights.v1.ConversationDataSource data_source = 2; - * * @return Whether the dataSource field is set. */ boolean hasDataSource(); /** - * - * *
    * The source of the audio and transcription for the conversation.
    * 
* * .google.cloud.contactcenterinsights.v1.ConversationDataSource data_source = 2; - * * @return The dataSource. */ com.google.cloud.contactcenterinsights.v1.ConversationDataSource getDataSource(); /** - * - * *
    * The source of the audio and transcription for the conversation.
    * 
* * .google.cloud.contactcenterinsights.v1.ConversationDataSource data_source = 2; */ - com.google.cloud.contactcenterinsights.v1.ConversationDataSourceOrBuilder - getDataSourceOrBuilder(); + com.google.cloud.contactcenterinsights.v1.ConversationDataSourceOrBuilder getDataSourceOrBuilder(); /** - * - * *
    * Output only. The time at which the conversation was created.
    * 
* - * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the createTime field is set. */ boolean hasCreateTime(); /** - * - * *
    * Output only. The time at which the conversation was created.
    * 
* - * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The createTime. */ com.google.protobuf.Timestamp getCreateTime(); /** - * - * *
    * Output only. The time at which the conversation was created.
    * 
* - * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder(); /** - * - * *
    * Output only. The most recent time at which the conversation was updated.
    * 
* - * .google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the updateTime field is set. */ boolean hasUpdateTime(); /** - * - * *
    * Output only. The most recent time at which the conversation was updated.
    * 
* - * .google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The updateTime. */ com.google.protobuf.Timestamp getUpdateTime(); /** - * - * *
    * Output only. The most recent time at which the conversation was updated.
    * 
* - * .google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder(); /** - * - * *
    * The time at which the conversation started.
    * 
* * .google.protobuf.Timestamp start_time = 17; - * * @return Whether the startTime field is set. */ boolean hasStartTime(); /** - * - * *
    * The time at which the conversation started.
    * 
* * .google.protobuf.Timestamp start_time = 17; - * * @return The startTime. */ com.google.protobuf.Timestamp getStartTime(); /** - * - * *
    * The time at which the conversation started.
    * 
@@ -315,60 +227,48 @@ public interface ConversationOrBuilder com.google.protobuf.TimestampOrBuilder getStartTimeOrBuilder(); /** - * - * *
    * A user-specified language code for the conversation.
    * 
* * string language_code = 14; - * * @return The languageCode. */ java.lang.String getLanguageCode(); /** - * - * *
    * A user-specified language code for the conversation.
    * 
* * string language_code = 14; - * * @return The bytes for languageCode. */ - com.google.protobuf.ByteString getLanguageCodeBytes(); + com.google.protobuf.ByteString + getLanguageCodeBytes(); /** - * - * *
    * An opaque, user-specified string representing the human agent who handled
    * the conversation.
    * 
* * string agent_id = 5; - * * @return The agentId. */ java.lang.String getAgentId(); /** - * - * *
    * An opaque, user-specified string representing the human agent who handled
    * the conversation.
    * 
* * string agent_id = 5; - * * @return The bytes for agentId. */ - com.google.protobuf.ByteString getAgentIdBytes(); + com.google.protobuf.ByteString + getAgentIdBytes(); /** - * - * *
    * A map for the user to specify any custom fields. A maximum of 20 labels per
    * conversation is allowed, with a maximum of 256 characters per entry.
@@ -378,8 +278,6 @@ public interface ConversationOrBuilder
    */
   int getLabelsCount();
   /**
-   *
-   *
    * 
    * A map for the user to specify any custom fields. A maximum of 20 labels per
    * conversation is allowed, with a maximum of 256 characters per entry.
@@ -387,13 +285,15 @@ public interface ConversationOrBuilder
    *
    * map<string, string> labels = 6;
    */
-  boolean containsLabels(java.lang.String key);
-  /** Use {@link #getLabelsMap()} instead. */
+  boolean containsLabels(
+      java.lang.String key);
+  /**
+   * Use {@link #getLabelsMap()} instead.
+   */
   @java.lang.Deprecated
-  java.util.Map getLabels();
+  java.util.Map
+  getLabels();
   /**
-   *
-   *
    * 
    * A map for the user to specify any custom fields. A maximum of 20 labels per
    * conversation is allowed, with a maximum of 256 characters per entry.
@@ -401,10 +301,9 @@ public interface ConversationOrBuilder
    *
    * map<string, string> labels = 6;
    */
-  java.util.Map getLabelsMap();
+  java.util.Map
+  getLabelsMap();
   /**
-   *
-   *
    * 
    * A map for the user to specify any custom fields. A maximum of 20 labels per
    * conversation is allowed, with a maximum of 256 characters per entry.
@@ -413,13 +312,11 @@ public interface ConversationOrBuilder
    * map<string, string> labels = 6;
    */
   /* nullable */
-  java.lang.String getLabelsOrDefault(
+java.lang.String getLabelsOrDefault(
       java.lang.String key,
       /* nullable */
-      java.lang.String defaultValue);
+java.lang.String defaultValue);
   /**
-   *
-   *
    * 
    * A map for the user to specify any custom fields. A maximum of 20 labels per
    * conversation is allowed, with a maximum of 256 characters per entry.
@@ -427,345 +324,253 @@ java.lang.String getLabelsOrDefault(
    *
    * map<string, string> labels = 6;
    */
-  java.lang.String getLabelsOrThrow(java.lang.String key);
+  java.lang.String getLabelsOrThrow(
+      java.lang.String key);
 
   /**
-   *
-   *
    * 
    * Output only. The conversation transcript.
    * 
* - * - * .google.cloud.contactcenterinsights.v1.Conversation.Transcript transcript = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.contactcenterinsights.v1.Conversation.Transcript transcript = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the transcript field is set. */ boolean hasTranscript(); /** - * - * *
    * Output only. The conversation transcript.
    * 
* - * - * .google.cloud.contactcenterinsights.v1.Conversation.Transcript transcript = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.contactcenterinsights.v1.Conversation.Transcript transcript = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The transcript. */ com.google.cloud.contactcenterinsights.v1.Conversation.Transcript getTranscript(); /** - * - * *
    * Output only. The conversation transcript.
    * 
* - * - * .google.cloud.contactcenterinsights.v1.Conversation.Transcript transcript = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.contactcenterinsights.v1.Conversation.Transcript transcript = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - com.google.cloud.contactcenterinsights.v1.Conversation.TranscriptOrBuilder - getTranscriptOrBuilder(); + com.google.cloud.contactcenterinsights.v1.Conversation.TranscriptOrBuilder getTranscriptOrBuilder(); /** - * - * *
-   * Immutable. The conversation medium, if unspecified will default to PHONE_CALL.
+   * Immutable. The conversation medium, if unspecified will default to
+   * PHONE_CALL.
    * 
* - * - * .google.cloud.contactcenterinsights.v1.Conversation.Medium medium = 9 [(.google.api.field_behavior) = IMMUTABLE]; - * - * + * .google.cloud.contactcenterinsights.v1.Conversation.Medium medium = 9 [(.google.api.field_behavior) = IMMUTABLE]; * @return The enum numeric value on the wire for medium. */ int getMediumValue(); /** - * - * *
-   * Immutable. The conversation medium, if unspecified will default to PHONE_CALL.
+   * Immutable. The conversation medium, if unspecified will default to
+   * PHONE_CALL.
    * 
* - * - * .google.cloud.contactcenterinsights.v1.Conversation.Medium medium = 9 [(.google.api.field_behavior) = IMMUTABLE]; - * - * + * .google.cloud.contactcenterinsights.v1.Conversation.Medium medium = 9 [(.google.api.field_behavior) = IMMUTABLE]; * @return The medium. */ com.google.cloud.contactcenterinsights.v1.Conversation.Medium getMedium(); /** - * - * *
    * Output only. The duration of the conversation.
    * 
* - * .google.protobuf.Duration duration = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Duration duration = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the duration field is set. */ boolean hasDuration(); /** - * - * *
    * Output only. The duration of the conversation.
    * 
* - * .google.protobuf.Duration duration = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Duration duration = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The duration. */ com.google.protobuf.Duration getDuration(); /** - * - * *
    * Output only. The duration of the conversation.
    * 
* - * .google.protobuf.Duration duration = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Duration duration = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ com.google.protobuf.DurationOrBuilder getDurationOrBuilder(); /** - * - * *
    * Output only. The number of turns in the conversation.
    * 
* * int32 turn_count = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The turnCount. */ int getTurnCount(); /** - * - * *
    * Output only. The conversation's latest analysis, if one exists.
    * 
* - * - * .google.cloud.contactcenterinsights.v1.Analysis latest_analysis = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.contactcenterinsights.v1.Analysis latest_analysis = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the latestAnalysis field is set. */ boolean hasLatestAnalysis(); /** - * - * *
    * Output only. The conversation's latest analysis, if one exists.
    * 
* - * - * .google.cloud.contactcenterinsights.v1.Analysis latest_analysis = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.contactcenterinsights.v1.Analysis latest_analysis = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The latestAnalysis. */ com.google.cloud.contactcenterinsights.v1.Analysis getLatestAnalysis(); /** - * - * *
    * Output only. The conversation's latest analysis, if one exists.
    * 
* - * - * .google.cloud.contactcenterinsights.v1.Analysis latest_analysis = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.contactcenterinsights.v1.Analysis latest_analysis = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ com.google.cloud.contactcenterinsights.v1.AnalysisOrBuilder getLatestAnalysisOrBuilder(); /** - * - * *
-   * Output only. The annotations that were generated during the customer and agent
-   * interaction.
+   * Output only. The annotations that were generated during the customer and
+   * agent interaction.
    * 
* - * - * repeated .google.cloud.contactcenterinsights.v1.RuntimeAnnotation runtime_annotations = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.contactcenterinsights.v1.RuntimeAnnotation runtime_annotations = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - java.util.List + java.util.List getRuntimeAnnotationsList(); /** - * - * *
-   * Output only. The annotations that were generated during the customer and agent
-   * interaction.
+   * Output only. The annotations that were generated during the customer and
+   * agent interaction.
    * 
* - * - * repeated .google.cloud.contactcenterinsights.v1.RuntimeAnnotation runtime_annotations = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.contactcenterinsights.v1.RuntimeAnnotation runtime_annotations = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ com.google.cloud.contactcenterinsights.v1.RuntimeAnnotation getRuntimeAnnotations(int index); /** - * - * *
-   * Output only. The annotations that were generated during the customer and agent
-   * interaction.
+   * Output only. The annotations that were generated during the customer and
+   * agent interaction.
    * 
* - * - * repeated .google.cloud.contactcenterinsights.v1.RuntimeAnnotation runtime_annotations = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.contactcenterinsights.v1.RuntimeAnnotation runtime_annotations = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ int getRuntimeAnnotationsCount(); /** - * - * *
-   * Output only. The annotations that were generated during the customer and agent
-   * interaction.
+   * Output only. The annotations that were generated during the customer and
+   * agent interaction.
    * 
* - * - * repeated .google.cloud.contactcenterinsights.v1.RuntimeAnnotation runtime_annotations = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.contactcenterinsights.v1.RuntimeAnnotation runtime_annotations = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - java.util.List + java.util.List getRuntimeAnnotationsOrBuilderList(); /** - * - * *
-   * Output only. The annotations that were generated during the customer and agent
-   * interaction.
+   * Output only. The annotations that were generated during the customer and
+   * agent interaction.
    * 
* - * - * repeated .google.cloud.contactcenterinsights.v1.RuntimeAnnotation runtime_annotations = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.contactcenterinsights.v1.RuntimeAnnotation runtime_annotations = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - com.google.cloud.contactcenterinsights.v1.RuntimeAnnotationOrBuilder - getRuntimeAnnotationsOrBuilder(int index); + com.google.cloud.contactcenterinsights.v1.RuntimeAnnotationOrBuilder getRuntimeAnnotationsOrBuilder( + int index); /** - * - * *
-   * Output only. All the matched Dialogflow intents in the call. The key corresponds to a
-   * Dialogflow intent, format:
+   * Output only. All the matched Dialogflow intents in the call. The key
+   * corresponds to a Dialogflow intent, format:
    * projects/{project}/agent/{agent}/intents/{intent}
    * 
* - * - * map<string, .google.cloud.contactcenterinsights.v1.DialogflowIntent> dialogflow_intents = 18 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * map<string, .google.cloud.contactcenterinsights.v1.DialogflowIntent> dialogflow_intents = 18 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ int getDialogflowIntentsCount(); /** - * - * *
-   * Output only. All the matched Dialogflow intents in the call. The key corresponds to a
-   * Dialogflow intent, format:
+   * Output only. All the matched Dialogflow intents in the call. The key
+   * corresponds to a Dialogflow intent, format:
    * projects/{project}/agent/{agent}/intents/{intent}
    * 
* - * - * map<string, .google.cloud.contactcenterinsights.v1.DialogflowIntent> dialogflow_intents = 18 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * map<string, .google.cloud.contactcenterinsights.v1.DialogflowIntent> dialogflow_intents = 18 [(.google.api.field_behavior) = OUTPUT_ONLY]; + */ + boolean containsDialogflowIntents( + java.lang.String key); + /** + * Use {@link #getDialogflowIntentsMap()} instead. */ - boolean containsDialogflowIntents(java.lang.String key); - /** Use {@link #getDialogflowIntentsMap()} instead. */ @java.lang.Deprecated java.util.Map - getDialogflowIntents(); + getDialogflowIntents(); /** - * - * *
-   * Output only. All the matched Dialogflow intents in the call. The key corresponds to a
-   * Dialogflow intent, format:
+   * Output only. All the matched Dialogflow intents in the call. The key
+   * corresponds to a Dialogflow intent, format:
    * projects/{project}/agent/{agent}/intents/{intent}
    * 
* - * - * map<string, .google.cloud.contactcenterinsights.v1.DialogflowIntent> dialogflow_intents = 18 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * map<string, .google.cloud.contactcenterinsights.v1.DialogflowIntent> dialogflow_intents = 18 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ java.util.Map - getDialogflowIntentsMap(); + getDialogflowIntentsMap(); /** - * - * *
-   * Output only. All the matched Dialogflow intents in the call. The key corresponds to a
-   * Dialogflow intent, format:
+   * Output only. All the matched Dialogflow intents in the call. The key
+   * corresponds to a Dialogflow intent, format:
    * projects/{project}/agent/{agent}/intents/{intent}
    * 
* - * - * map<string, .google.cloud.contactcenterinsights.v1.DialogflowIntent> dialogflow_intents = 18 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * map<string, .google.cloud.contactcenterinsights.v1.DialogflowIntent> dialogflow_intents = 18 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ /* nullable */ - com.google.cloud.contactcenterinsights.v1.DialogflowIntent getDialogflowIntentsOrDefault( +com.google.cloud.contactcenterinsights.v1.DialogflowIntent getDialogflowIntentsOrDefault( java.lang.String key, /* nullable */ - com.google.cloud.contactcenterinsights.v1.DialogflowIntent defaultValue); +com.google.cloud.contactcenterinsights.v1.DialogflowIntent defaultValue); /** - * - * *
-   * Output only. All the matched Dialogflow intents in the call. The key corresponds to a
-   * Dialogflow intent, format:
+   * Output only. All the matched Dialogflow intents in the call. The key
+   * corresponds to a Dialogflow intent, format:
    * projects/{project}/agent/{agent}/intents/{intent}
    * 
* - * - * map<string, .google.cloud.contactcenterinsights.v1.DialogflowIntent> dialogflow_intents = 18 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * map<string, .google.cloud.contactcenterinsights.v1.DialogflowIntent> dialogflow_intents = 18 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ com.google.cloud.contactcenterinsights.v1.DialogflowIntent getDialogflowIntentsOrThrow( java.lang.String key); /** - * - * *
    * Obfuscated user ID which the customer sent to us.
    * 
* * string obfuscated_user_id = 21; - * * @return The obfuscatedUserId. */ java.lang.String getObfuscatedUserId(); /** - * - * *
    * Obfuscated user ID which the customer sent to us.
    * 
* * string obfuscated_user_id = 21; - * * @return The bytes for obfuscatedUserId. */ - com.google.protobuf.ByteString getObfuscatedUserIdBytes(); + com.google.protobuf.ByteString + getObfuscatedUserIdBytes(); public com.google.cloud.contactcenterinsights.v1.Conversation.MetadataCase getMetadataCase(); diff --git a/java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ConversationParticipant.java b/owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ConversationParticipant.java similarity index 67% rename from java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ConversationParticipant.java rename to owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ConversationParticipant.java index aa01fdd31967..801329d6b7fa 100644 --- a/java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ConversationParticipant.java +++ b/owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ConversationParticipant.java @@ -1,42 +1,24 @@ -/* - * 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. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/contactcenterinsights/v1/resources.proto package com.google.cloud.contactcenterinsights.v1; /** - * - * *
  * The call participant speaking for a given utterance.
  * 
* * Protobuf type {@code google.cloud.contactcenterinsights.v1.ConversationParticipant} */ -public final class ConversationParticipant extends com.google.protobuf.GeneratedMessageV3 - implements +public final class ConversationParticipant extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.contactcenterinsights.v1.ConversationParticipant) ConversationParticipantOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use ConversationParticipant.newBuilder() to construct. private ConversationParticipant(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private ConversationParticipant() { dialogflowParticipant_ = ""; obfuscatedExternalUserId_ = ""; @@ -45,43 +27,39 @@ private ConversationParticipant() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new ConversationParticipant(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.contactcenterinsights.v1.ResourcesProto - .internal_static_google_cloud_contactcenterinsights_v1_ConversationParticipant_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.contactcenterinsights.v1.ResourcesProto.internal_static_google_cloud_contactcenterinsights_v1_ConversationParticipant_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.contactcenterinsights.v1.ResourcesProto - .internal_static_google_cloud_contactcenterinsights_v1_ConversationParticipant_fieldAccessorTable + return com.google.cloud.contactcenterinsights.v1.ResourcesProto.internal_static_google_cloud_contactcenterinsights_v1_ConversationParticipant_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.contactcenterinsights.v1.ConversationParticipant.class, - com.google.cloud.contactcenterinsights.v1.ConversationParticipant.Builder.class); + com.google.cloud.contactcenterinsights.v1.ConversationParticipant.class, com.google.cloud.contactcenterinsights.v1.ConversationParticipant.Builder.class); } /** - * - * *
    * The role of the participant.
    * 
* * Protobuf enum {@code google.cloud.contactcenterinsights.v1.ConversationParticipant.Role} */ - public enum Role implements com.google.protobuf.ProtocolMessageEnum { + public enum Role + implements com.google.protobuf.ProtocolMessageEnum { /** - * - * *
      * Participant's role is not set.
      * 
@@ -90,8 +68,6 @@ public enum Role implements com.google.protobuf.ProtocolMessageEnum { */ ROLE_UNSPECIFIED(0), /** - * - * *
      * Participant is a human agent.
      * 
@@ -100,8 +76,6 @@ public enum Role implements com.google.protobuf.ProtocolMessageEnum { */ HUMAN_AGENT(1), /** - * - * *
      * Participant is an automated agent.
      * 
@@ -110,8 +84,6 @@ public enum Role implements com.google.protobuf.ProtocolMessageEnum { */ AUTOMATED_AGENT(2), /** - * - * *
      * Participant is an end user who conversed with the contact center.
      * 
@@ -120,8 +92,6 @@ public enum Role implements com.google.protobuf.ProtocolMessageEnum { */ END_USER(3), /** - * - * *
      * Participant is either a human or automated agent.
      * 
@@ -133,8 +103,6 @@ public enum Role implements com.google.protobuf.ProtocolMessageEnum { ; /** - * - * *
      * Participant's role is not set.
      * 
@@ -143,8 +111,6 @@ public enum Role implements com.google.protobuf.ProtocolMessageEnum { */ public static final int ROLE_UNSPECIFIED_VALUE = 0; /** - * - * *
      * Participant is a human agent.
      * 
@@ -153,8 +119,6 @@ public enum Role implements com.google.protobuf.ProtocolMessageEnum { */ public static final int HUMAN_AGENT_VALUE = 1; /** - * - * *
      * Participant is an automated agent.
      * 
@@ -163,8 +127,6 @@ public enum Role implements com.google.protobuf.ProtocolMessageEnum { */ public static final int AUTOMATED_AGENT_VALUE = 2; /** - * - * *
      * Participant is an end user who conversed with the contact center.
      * 
@@ -173,8 +135,6 @@ public enum Role implements com.google.protobuf.ProtocolMessageEnum { */ public static final int END_USER_VALUE = 3; /** - * - * *
      * Participant is either a human or automated agent.
      * 
@@ -183,6 +143,7 @@ public enum Role implements com.google.protobuf.ProtocolMessageEnum { */ public static final int ANY_AGENT_VALUE = 4; + public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -207,55 +168,51 @@ public static Role valueOf(int value) { */ public static Role forNumber(int value) { switch (value) { - case 0: - return ROLE_UNSPECIFIED; - case 1: - return HUMAN_AGENT; - case 2: - return AUTOMATED_AGENT; - case 3: - return END_USER; - case 4: - return ANY_AGENT; - default: - return null; + case 0: return ROLE_UNSPECIFIED; + case 1: return HUMAN_AGENT; + case 2: return AUTOMATED_AGENT; + case 3: return END_USER; + case 4: return ANY_AGENT; + default: return null; } } - public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() { + public static com.google.protobuf.Internal.EnumLiteMap + internalGetValueMap() { return internalValueMap; } + private static final com.google.protobuf.Internal.EnumLiteMap< + Role> internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public Role findValueByNumber(int number) { + return Role.forNumber(number); + } + }; - private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public Role findValueByNumber(int number) { - return Role.forNumber(number); - } - }; - - public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() { + public final com.google.protobuf.Descriptors.EnumValueDescriptor + getValueDescriptor() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalStateException( "Can't get the descriptor of an unrecognized enum value."); } return getDescriptor().getValues().get(ordinal()); } - - public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() { + public final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptorForType() { return getDescriptor(); } - - public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { - return com.google.cloud.contactcenterinsights.v1.ConversationParticipant.getDescriptor() - .getEnumTypes() - .get(0); + public static final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptor() { + return com.google.cloud.contactcenterinsights.v1.ConversationParticipant.getDescriptor().getEnumTypes().get(0); } private static final Role[] VALUES = values(); - public static Role valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + public static Role valueOf( + com.google.protobuf.Descriptors.EnumValueDescriptor desc) { if (desc.getType() != getDescriptor()) { - throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type."); + throw new java.lang.IllegalArgumentException( + "EnumValueDescriptor is not for this type."); } if (desc.getIndex() == -1) { return UNRECOGNIZED; @@ -274,16 +231,13 @@ private Role(int value) { private int participantCase_ = 0; private java.lang.Object participant_; - public enum ParticipantCase - implements - com.google.protobuf.Internal.EnumLite, + implements com.google.protobuf.Internal.EnumLite, com.google.protobuf.AbstractMessage.InternalOneOfEnum { DIALOGFLOW_PARTICIPANT_NAME(5), USER_ID(6), PARTICIPANT_NOT_SET(0); private final int value; - private ParticipantCase(int value) { this.value = value; } @@ -299,52 +253,43 @@ public static ParticipantCase valueOf(int value) { public static ParticipantCase forNumber(int value) { switch (value) { - case 5: - return DIALOGFLOW_PARTICIPANT_NAME; - case 6: - return USER_ID; - case 0: - return PARTICIPANT_NOT_SET; - default: - return null; + case 5: return DIALOGFLOW_PARTICIPANT_NAME; + case 6: return USER_ID; + case 0: return PARTICIPANT_NOT_SET; + default: return null; } } - public int getNumber() { return this.value; } }; - public ParticipantCase getParticipantCase() { - return ParticipantCase.forNumber(participantCase_); + public ParticipantCase + getParticipantCase() { + return ParticipantCase.forNumber( + participantCase_); } public static final int DIALOGFLOW_PARTICIPANT_NAME_FIELD_NUMBER = 5; /** - * - * *
    * The name of the participant provided by Dialogflow. Format:
    * projects/{project}/locations/{location}/conversations/{conversation}/participants/{participant}
    * 
* * string dialogflow_participant_name = 5 [(.google.api.resource_reference) = { ... } - * * @return Whether the dialogflowParticipantName field is set. */ public boolean hasDialogflowParticipantName() { return participantCase_ == 5; } /** - * - * *
    * The name of the participant provided by Dialogflow. Format:
    * projects/{project}/locations/{location}/conversations/{conversation}/participants/{participant}
    * 
* * string dialogflow_participant_name = 5 [(.google.api.resource_reference) = { ... } - * * @return The dialogflowParticipantName. */ public java.lang.String getDialogflowParticipantName() { @@ -355,7 +300,8 @@ public java.lang.String getDialogflowParticipantName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); if (participantCase_ == 5) { participant_ = s; @@ -364,25 +310,24 @@ public java.lang.String getDialogflowParticipantName() { } } /** - * - * *
    * The name of the participant provided by Dialogflow. Format:
    * projects/{project}/locations/{location}/conversations/{conversation}/participants/{participant}
    * 
* * string dialogflow_participant_name = 5 [(.google.api.resource_reference) = { ... } - * * @return The bytes for dialogflowParticipantName. */ - public com.google.protobuf.ByteString getDialogflowParticipantNameBytes() { + public com.google.protobuf.ByteString + getDialogflowParticipantNameBytes() { java.lang.Object ref = ""; if (participantCase_ == 5) { ref = participant_; } if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); if (participantCase_ == 5) { participant_ = b; } @@ -394,28 +339,22 @@ public com.google.protobuf.ByteString getDialogflowParticipantNameBytes() { public static final int USER_ID_FIELD_NUMBER = 6; /** - * - * *
    * A user-specified ID representing the participant.
    * 
* * string user_id = 6; - * * @return Whether the userId field is set. */ public boolean hasUserId() { return participantCase_ == 6; } /** - * - * *
    * A user-specified ID representing the participant.
    * 
* * string user_id = 6; - * * @return The userId. */ public java.lang.String getUserId() { @@ -426,7 +365,8 @@ public java.lang.String getUserId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); if (participantCase_ == 6) { participant_ = s; @@ -435,24 +375,23 @@ public java.lang.String getUserId() { } } /** - * - * *
    * A user-specified ID representing the participant.
    * 
* * string user_id = 6; - * * @return The bytes for userId. */ - public com.google.protobuf.ByteString getUserIdBytes() { + public com.google.protobuf.ByteString + getUserIdBytes() { java.lang.Object ref = ""; if (participantCase_ == 6) { ref = participant_; } if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); if (participantCase_ == 6) { participant_ = b; } @@ -463,12 +402,9 @@ public com.google.protobuf.ByteString getUserIdBytes() { } public static final int DIALOGFLOW_PARTICIPANT_FIELD_NUMBER = 1; - @SuppressWarnings("serial") private volatile java.lang.Object dialogflowParticipant_ = ""; /** - * - * *
    * Deprecated. Use `dialogflow_participant_name` instead.
    * The name of the Dialogflow participant. Format:
@@ -476,28 +412,24 @@ public com.google.protobuf.ByteString getUserIdBytes() {
    * 
* * string dialogflow_participant = 1 [deprecated = true]; - * - * @deprecated - * google.cloud.contactcenterinsights.v1.ConversationParticipant.dialogflow_participant is - * deprecated. See google/cloud/contactcenterinsights/v1/resources.proto;l=1104 + * @deprecated google.cloud.contactcenterinsights.v1.ConversationParticipant.dialogflow_participant is deprecated. + * See google/cloud/contactcenterinsights/v1/resources.proto;l=1125 * @return The dialogflowParticipant. */ @java.lang.Override - @java.lang.Deprecated - public java.lang.String getDialogflowParticipant() { + @java.lang.Deprecated public java.lang.String getDialogflowParticipant() { java.lang.Object ref = dialogflowParticipant_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); dialogflowParticipant_ = s; return s; } } /** - * - * *
    * Deprecated. Use `dialogflow_participant_name` instead.
    * The name of the Dialogflow participant. Format:
@@ -505,19 +437,18 @@ public java.lang.String getDialogflowParticipant() {
    * 
* * string dialogflow_participant = 1 [deprecated = true]; - * - * @deprecated - * google.cloud.contactcenterinsights.v1.ConversationParticipant.dialogflow_participant is - * deprecated. See google/cloud/contactcenterinsights/v1/resources.proto;l=1104 + * @deprecated google.cloud.contactcenterinsights.v1.ConversationParticipant.dialogflow_participant is deprecated. + * See google/cloud/contactcenterinsights/v1/resources.proto;l=1125 * @return The bytes for dialogflowParticipant. */ @java.lang.Override - @java.lang.Deprecated - public com.google.protobuf.ByteString getDialogflowParticipantBytes() { + @java.lang.Deprecated public com.google.protobuf.ByteString + getDialogflowParticipantBytes() { java.lang.Object ref = dialogflowParticipant_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); dialogflowParticipant_ = b; return b; } else { @@ -526,18 +457,14 @@ public com.google.protobuf.ByteString getDialogflowParticipantBytes() { } public static final int OBFUSCATED_EXTERNAL_USER_ID_FIELD_NUMBER = 3; - @SuppressWarnings("serial") private volatile java.lang.Object obfuscatedExternalUserId_ = ""; /** - * - * *
    * Obfuscated user ID from Dialogflow.
    * 
* * string obfuscated_external_user_id = 3; - * * @return The obfuscatedExternalUserId. */ @java.lang.Override @@ -546,29 +473,29 @@ public java.lang.String getObfuscatedExternalUserId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); obfuscatedExternalUserId_ = s; return s; } } /** - * - * *
    * Obfuscated user ID from Dialogflow.
    * 
* * string obfuscated_external_user_id = 3; - * * @return The bytes for obfuscatedExternalUserId. */ @java.lang.Override - public com.google.protobuf.ByteString getObfuscatedExternalUserIdBytes() { + public com.google.protobuf.ByteString + getObfuscatedExternalUserIdBytes() { java.lang.Object ref = obfuscatedExternalUserId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); obfuscatedExternalUserId_ = b; return b; } else { @@ -579,42 +506,30 @@ public com.google.protobuf.ByteString getObfuscatedExternalUserIdBytes() { public static final int ROLE_FIELD_NUMBER = 2; private int role_ = 0; /** - * - * *
    * The role of the participant.
    * 
* * .google.cloud.contactcenterinsights.v1.ConversationParticipant.Role role = 2; - * * @return The enum numeric value on the wire for role. */ - @java.lang.Override - public int getRoleValue() { + @java.lang.Override public int getRoleValue() { return role_; } /** - * - * *
    * The role of the participant.
    * 
* * .google.cloud.contactcenterinsights.v1.ConversationParticipant.Role role = 2; - * * @return The role. */ - @java.lang.Override - public com.google.cloud.contactcenterinsights.v1.ConversationParticipant.Role getRole() { - com.google.cloud.contactcenterinsights.v1.ConversationParticipant.Role result = - com.google.cloud.contactcenterinsights.v1.ConversationParticipant.Role.forNumber(role_); - return result == null - ? com.google.cloud.contactcenterinsights.v1.ConversationParticipant.Role.UNRECOGNIZED - : result; + @java.lang.Override public com.google.cloud.contactcenterinsights.v1.ConversationParticipant.Role getRole() { + com.google.cloud.contactcenterinsights.v1.ConversationParticipant.Role result = com.google.cloud.contactcenterinsights.v1.ConversationParticipant.Role.forNumber(role_); + return result == null ? com.google.cloud.contactcenterinsights.v1.ConversationParticipant.Role.UNRECOGNIZED : result; } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -626,13 +541,12 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(dialogflowParticipant_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, dialogflowParticipant_); } - if (role_ - != com.google.cloud.contactcenterinsights.v1.ConversationParticipant.Role.ROLE_UNSPECIFIED - .getNumber()) { + if (role_ != com.google.cloud.contactcenterinsights.v1.ConversationParticipant.Role.ROLE_UNSPECIFIED.getNumber()) { output.writeEnum(2, role_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(obfuscatedExternalUserId_)) { @@ -656,14 +570,12 @@ public int getSerializedSize() { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(dialogflowParticipant_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, dialogflowParticipant_); } - if (role_ - != com.google.cloud.contactcenterinsights.v1.ConversationParticipant.Role.ROLE_UNSPECIFIED - .getNumber()) { - size += com.google.protobuf.CodedOutputStream.computeEnumSize(2, role_); + if (role_ != com.google.cloud.contactcenterinsights.v1.ConversationParticipant.Role.ROLE_UNSPECIFIED.getNumber()) { + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(2, role_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(obfuscatedExternalUserId_)) { - size += - com.google.protobuf.GeneratedMessageV3.computeStringSize(3, obfuscatedExternalUserId_); + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, obfuscatedExternalUserId_); } if (participantCase_ == 5) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(5, participant_); @@ -679,25 +591,27 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.contactcenterinsights.v1.ConversationParticipant)) { return super.equals(obj); } - com.google.cloud.contactcenterinsights.v1.ConversationParticipant other = - (com.google.cloud.contactcenterinsights.v1.ConversationParticipant) obj; + com.google.cloud.contactcenterinsights.v1.ConversationParticipant other = (com.google.cloud.contactcenterinsights.v1.ConversationParticipant) obj; - if (!getDialogflowParticipant().equals(other.getDialogflowParticipant())) return false; - if (!getObfuscatedExternalUserId().equals(other.getObfuscatedExternalUserId())) return false; + if (!getDialogflowParticipant() + .equals(other.getDialogflowParticipant())) return false; + if (!getObfuscatedExternalUserId() + .equals(other.getObfuscatedExternalUserId())) return false; if (role_ != other.role_) return false; if (!getParticipantCase().equals(other.getParticipantCase())) return false; switch (participantCase_) { case 5: - if (!getDialogflowParticipantName().equals(other.getDialogflowParticipantName())) - return false; + if (!getDialogflowParticipantName() + .equals(other.getDialogflowParticipantName())) return false; break; case 6: - if (!getUserId().equals(other.getUserId())) return false; + if (!getUserId() + .equals(other.getUserId())) return false; break; case 0: default: @@ -737,138 +651,129 @@ public int hashCode() { } public static com.google.cloud.contactcenterinsights.v1.ConversationParticipant parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.contactcenterinsights.v1.ConversationParticipant parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.contactcenterinsights.v1.ConversationParticipant parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.contactcenterinsights.v1.ConversationParticipant parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.contactcenterinsights.v1.ConversationParticipant parseFrom( - byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.contactcenterinsights.v1.ConversationParticipant parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.contactcenterinsights.v1.ConversationParticipant parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.contactcenterinsights.v1.ConversationParticipant parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.contactcenterinsights.v1.ConversationParticipant parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.contactcenterinsights.v1.ConversationParticipant parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.contactcenterinsights.v1.ConversationParticipant - parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.contactcenterinsights.v1.ConversationParticipant parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - - public static com.google.cloud.contactcenterinsights.v1.ConversationParticipant - parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + public static com.google.cloud.contactcenterinsights.v1.ConversationParticipant parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.contactcenterinsights.v1.ConversationParticipant parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.contactcenterinsights.v1.ConversationParticipant parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.contactcenterinsights.v1.ConversationParticipant prototype) { + public static Builder newBuilder(com.google.cloud.contactcenterinsights.v1.ConversationParticipant prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * The call participant speaking for a given utterance.
    * 
* * Protobuf type {@code google.cloud.contactcenterinsights.v1.ConversationParticipant} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.contactcenterinsights.v1.ConversationParticipant) com.google.cloud.contactcenterinsights.v1.ConversationParticipantOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.contactcenterinsights.v1.ResourcesProto - .internal_static_google_cloud_contactcenterinsights_v1_ConversationParticipant_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.contactcenterinsights.v1.ResourcesProto.internal_static_google_cloud_contactcenterinsights_v1_ConversationParticipant_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.contactcenterinsights.v1.ResourcesProto - .internal_static_google_cloud_contactcenterinsights_v1_ConversationParticipant_fieldAccessorTable + return com.google.cloud.contactcenterinsights.v1.ResourcesProto.internal_static_google_cloud_contactcenterinsights_v1_ConversationParticipant_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.contactcenterinsights.v1.ConversationParticipant.class, - com.google.cloud.contactcenterinsights.v1.ConversationParticipant.Builder.class); + com.google.cloud.contactcenterinsights.v1.ConversationParticipant.class, com.google.cloud.contactcenterinsights.v1.ConversationParticipant.Builder.class); } - // Construct using - // com.google.cloud.contactcenterinsights.v1.ConversationParticipant.newBuilder() - private Builder() {} + // Construct using com.google.cloud.contactcenterinsights.v1.ConversationParticipant.newBuilder() + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -882,14 +787,13 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.contactcenterinsights.v1.ResourcesProto - .internal_static_google_cloud_contactcenterinsights_v1_ConversationParticipant_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.contactcenterinsights.v1.ResourcesProto.internal_static_google_cloud_contactcenterinsights_v1_ConversationParticipant_descriptor; } @java.lang.Override - public com.google.cloud.contactcenterinsights.v1.ConversationParticipant - getDefaultInstanceForType() { + public com.google.cloud.contactcenterinsights.v1.ConversationParticipant getDefaultInstanceForType() { return com.google.cloud.contactcenterinsights.v1.ConversationParticipant.getDefaultInstance(); } @@ -904,18 +808,14 @@ public com.google.cloud.contactcenterinsights.v1.ConversationParticipant build() @java.lang.Override public com.google.cloud.contactcenterinsights.v1.ConversationParticipant buildPartial() { - com.google.cloud.contactcenterinsights.v1.ConversationParticipant result = - new com.google.cloud.contactcenterinsights.v1.ConversationParticipant(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + com.google.cloud.contactcenterinsights.v1.ConversationParticipant result = new com.google.cloud.contactcenterinsights.v1.ConversationParticipant(this); + if (bitField0_ != 0) { buildPartial0(result); } buildPartialOneofs(result); onBuilt(); return result; } - private void buildPartial0( - com.google.cloud.contactcenterinsights.v1.ConversationParticipant result) { + private void buildPartial0(com.google.cloud.contactcenterinsights.v1.ConversationParticipant result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000004) != 0)) { result.dialogflowParticipant_ = dialogflowParticipant_; @@ -928,8 +828,7 @@ private void buildPartial0( } } - private void buildPartialOneofs( - com.google.cloud.contactcenterinsights.v1.ConversationParticipant result) { + private void buildPartialOneofs(com.google.cloud.contactcenterinsights.v1.ConversationParticipant result) { result.participantCase_ = participantCase_; result.participant_ = this.participant_; } @@ -938,50 +837,46 @@ private void buildPartialOneofs( public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.contactcenterinsights.v1.ConversationParticipant) { - return mergeFrom((com.google.cloud.contactcenterinsights.v1.ConversationParticipant) other); + return mergeFrom((com.google.cloud.contactcenterinsights.v1.ConversationParticipant)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom( - com.google.cloud.contactcenterinsights.v1.ConversationParticipant other) { - if (other - == com.google.cloud.contactcenterinsights.v1.ConversationParticipant.getDefaultInstance()) - return this; + public Builder mergeFrom(com.google.cloud.contactcenterinsights.v1.ConversationParticipant other) { + if (other == com.google.cloud.contactcenterinsights.v1.ConversationParticipant.getDefaultInstance()) return this; if (!other.getDialogflowParticipant().isEmpty()) { dialogflowParticipant_ = other.dialogflowParticipant_; bitField0_ |= 0x00000004; @@ -996,24 +891,21 @@ public Builder mergeFrom( setRoleValue(other.getRoleValue()); } switch (other.getParticipantCase()) { - case DIALOGFLOW_PARTICIPANT_NAME: - { - participantCase_ = 5; - participant_ = other.participant_; - onChanged(); - break; - } - case USER_ID: - { - participantCase_ = 6; - participant_ = other.participant_; - onChanged(); - break; - } - case PARTICIPANT_NOT_SET: - { - break; - } + case DIALOGFLOW_PARTICIPANT_NAME: { + participantCase_ = 5; + participant_ = other.participant_; + onChanged(); + break; + } + case USER_ID: { + participantCase_ = 6; + participant_ = other.participant_; + onChanged(); + break; + } + case PARTICIPANT_NOT_SET: { + break; + } } this.mergeUnknownFields(other.getUnknownFields()); onChanged(); @@ -1041,45 +933,39 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - dialogflowParticipant_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000004; - break; - } // case 10 - case 16: - { - role_ = input.readEnum(); - bitField0_ |= 0x00000010; - break; - } // case 16 - case 26: - { - obfuscatedExternalUserId_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000008; - break; - } // case 26 - case 42: - { - java.lang.String s = input.readStringRequireUtf8(); - participantCase_ = 5; - participant_ = s; - break; - } // case 42 - case 50: - { - java.lang.String s = input.readStringRequireUtf8(); - participantCase_ = 6; - participant_ = s; - break; - } // case 50 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + dialogflowParticipant_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000004; + break; + } // case 10 + case 16: { + role_ = input.readEnum(); + bitField0_ |= 0x00000010; + break; + } // case 16 + case 26: { + obfuscatedExternalUserId_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000008; + break; + } // case 26 + case 42: { + java.lang.String s = input.readStringRequireUtf8(); + participantCase_ = 5; + participant_ = s; + break; + } // case 42 + case 50: { + java.lang.String s = input.readStringRequireUtf8(); + participantCase_ = 6; + participant_ = s; + break; + } // case 50 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -1089,12 +975,12 @@ public Builder mergeFrom( } // finally return this; } - private int participantCase_ = 0; private java.lang.Object participant_; - - public ParticipantCase getParticipantCase() { - return ParticipantCase.forNumber(participantCase_); + public ParticipantCase + getParticipantCase() { + return ParticipantCase.forNumber( + participantCase_); } public Builder clearParticipant() { @@ -1107,16 +993,12 @@ public Builder clearParticipant() { private int bitField0_; /** - * - * *
      * The name of the participant provided by Dialogflow. Format:
      * projects/{project}/locations/{location}/conversations/{conversation}/participants/{participant}
      * 
* - * string dialogflow_participant_name = 5 [(.google.api.resource_reference) = { ... } - * - * + * string dialogflow_participant_name = 5 [(.google.api.resource_reference) = { ... } * @return Whether the dialogflowParticipantName field is set. */ @java.lang.Override @@ -1124,16 +1006,12 @@ public boolean hasDialogflowParticipantName() { return participantCase_ == 5; } /** - * - * *
      * The name of the participant provided by Dialogflow. Format:
      * projects/{project}/locations/{location}/conversations/{conversation}/participants/{participant}
      * 
* - * string dialogflow_participant_name = 5 [(.google.api.resource_reference) = { ... } - * - * + * string dialogflow_participant_name = 5 [(.google.api.resource_reference) = { ... } * @return The dialogflowParticipantName. */ @java.lang.Override @@ -1143,7 +1021,8 @@ public java.lang.String getDialogflowParticipantName() { ref = participant_; } if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); if (participantCase_ == 5) { participant_ = s; @@ -1154,27 +1033,25 @@ public java.lang.String getDialogflowParticipantName() { } } /** - * - * *
      * The name of the participant provided by Dialogflow. Format:
      * projects/{project}/locations/{location}/conversations/{conversation}/participants/{participant}
      * 
* - * string dialogflow_participant_name = 5 [(.google.api.resource_reference) = { ... } - * - * + * string dialogflow_participant_name = 5 [(.google.api.resource_reference) = { ... } * @return The bytes for dialogflowParticipantName. */ @java.lang.Override - public com.google.protobuf.ByteString getDialogflowParticipantNameBytes() { + public com.google.protobuf.ByteString + getDialogflowParticipantNameBytes() { java.lang.Object ref = ""; if (participantCase_ == 5) { ref = participant_; } if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); if (participantCase_ == 5) { participant_ = b; } @@ -1184,39 +1061,30 @@ public com.google.protobuf.ByteString getDialogflowParticipantNameBytes() { } } /** - * - * *
      * The name of the participant provided by Dialogflow. Format:
      * projects/{project}/locations/{location}/conversations/{conversation}/participants/{participant}
      * 
* - * string dialogflow_participant_name = 5 [(.google.api.resource_reference) = { ... } - * - * + * string dialogflow_participant_name = 5 [(.google.api.resource_reference) = { ... } * @param value The dialogflowParticipantName to set. * @return This builder for chaining. */ - public Builder setDialogflowParticipantName(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setDialogflowParticipantName( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } participantCase_ = 5; participant_ = value; onChanged(); return this; } /** - * - * *
      * The name of the participant provided by Dialogflow. Format:
      * projects/{project}/locations/{location}/conversations/{conversation}/participants/{participant}
      * 
* - * string dialogflow_participant_name = 5 [(.google.api.resource_reference) = { ... } - * - * + * string dialogflow_participant_name = 5 [(.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearDialogflowParticipantName() { @@ -1228,23 +1096,18 @@ public Builder clearDialogflowParticipantName() { return this; } /** - * - * *
      * The name of the participant provided by Dialogflow. Format:
      * projects/{project}/locations/{location}/conversations/{conversation}/participants/{participant}
      * 
* - * string dialogflow_participant_name = 5 [(.google.api.resource_reference) = { ... } - * - * + * string dialogflow_participant_name = 5 [(.google.api.resource_reference) = { ... } * @param value The bytes for dialogflowParticipantName to set. * @return This builder for chaining. */ - public Builder setDialogflowParticipantNameBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setDialogflowParticipantNameBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); participantCase_ = 5; participant_ = value; @@ -1253,14 +1116,11 @@ public Builder setDialogflowParticipantNameBytes(com.google.protobuf.ByteString } /** - * - * *
      * A user-specified ID representing the participant.
      * 
* * string user_id = 6; - * * @return Whether the userId field is set. */ @java.lang.Override @@ -1268,14 +1128,11 @@ public boolean hasUserId() { return participantCase_ == 6; } /** - * - * *
      * A user-specified ID representing the participant.
      * 
* * string user_id = 6; - * * @return The userId. */ @java.lang.Override @@ -1285,7 +1142,8 @@ public java.lang.String getUserId() { ref = participant_; } if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); if (participantCase_ == 6) { participant_ = s; @@ -1296,25 +1154,24 @@ public java.lang.String getUserId() { } } /** - * - * *
      * A user-specified ID representing the participant.
      * 
* * string user_id = 6; - * * @return The bytes for userId. */ @java.lang.Override - public com.google.protobuf.ByteString getUserIdBytes() { + public com.google.protobuf.ByteString + getUserIdBytes() { java.lang.Object ref = ""; if (participantCase_ == 6) { ref = participant_; } if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); if (participantCase_ == 6) { participant_ = b; } @@ -1324,35 +1181,28 @@ public com.google.protobuf.ByteString getUserIdBytes() { } } /** - * - * *
      * A user-specified ID representing the participant.
      * 
* * string user_id = 6; - * * @param value The userId to set. * @return This builder for chaining. */ - public Builder setUserId(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setUserId( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } participantCase_ = 6; participant_ = value; onChanged(); return this; } /** - * - * *
      * A user-specified ID representing the participant.
      * 
* * string user_id = 6; - * * @return This builder for chaining. */ public Builder clearUserId() { @@ -1364,21 +1214,17 @@ public Builder clearUserId() { return this; } /** - * - * *
      * A user-specified ID representing the participant.
      * 
* * string user_id = 6; - * * @param value The bytes for userId to set. * @return This builder for chaining. */ - public Builder setUserIdBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setUserIdBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); participantCase_ = 6; participant_ = value; @@ -1388,8 +1234,6 @@ public Builder setUserIdBytes(com.google.protobuf.ByteString value) { private java.lang.Object dialogflowParticipant_ = ""; /** - * - * *
      * Deprecated. Use `dialogflow_participant_name` instead.
      * The name of the Dialogflow participant. Format:
@@ -1397,17 +1241,15 @@ public Builder setUserIdBytes(com.google.protobuf.ByteString value) {
      * 
* * string dialogflow_participant = 1 [deprecated = true]; - * - * @deprecated - * google.cloud.contactcenterinsights.v1.ConversationParticipant.dialogflow_participant is - * deprecated. See google/cloud/contactcenterinsights/v1/resources.proto;l=1104 + * @deprecated google.cloud.contactcenterinsights.v1.ConversationParticipant.dialogflow_participant is deprecated. + * See google/cloud/contactcenterinsights/v1/resources.proto;l=1125 * @return The dialogflowParticipant. */ - @java.lang.Deprecated - public java.lang.String getDialogflowParticipant() { + @java.lang.Deprecated public java.lang.String getDialogflowParticipant() { java.lang.Object ref = dialogflowParticipant_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); dialogflowParticipant_ = s; return s; @@ -1416,8 +1258,6 @@ public java.lang.String getDialogflowParticipant() { } } /** - * - * *
      * Deprecated. Use `dialogflow_participant_name` instead.
      * The name of the Dialogflow participant. Format:
@@ -1425,18 +1265,17 @@ public java.lang.String getDialogflowParticipant() {
      * 
* * string dialogflow_participant = 1 [deprecated = true]; - * - * @deprecated - * google.cloud.contactcenterinsights.v1.ConversationParticipant.dialogflow_participant is - * deprecated. See google/cloud/contactcenterinsights/v1/resources.proto;l=1104 + * @deprecated google.cloud.contactcenterinsights.v1.ConversationParticipant.dialogflow_participant is deprecated. + * See google/cloud/contactcenterinsights/v1/resources.proto;l=1125 * @return The bytes for dialogflowParticipant. */ - @java.lang.Deprecated - public com.google.protobuf.ByteString getDialogflowParticipantBytes() { + @java.lang.Deprecated public com.google.protobuf.ByteString + getDialogflowParticipantBytes() { java.lang.Object ref = dialogflowParticipant_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); dialogflowParticipant_ = b; return b; } else { @@ -1444,8 +1283,6 @@ public com.google.protobuf.ByteString getDialogflowParticipantBytes() { } } /** - * - * *
      * Deprecated. Use `dialogflow_participant_name` instead.
      * The name of the Dialogflow participant. Format:
@@ -1453,26 +1290,20 @@ public com.google.protobuf.ByteString getDialogflowParticipantBytes() {
      * 
* * string dialogflow_participant = 1 [deprecated = true]; - * - * @deprecated - * google.cloud.contactcenterinsights.v1.ConversationParticipant.dialogflow_participant is - * deprecated. See google/cloud/contactcenterinsights/v1/resources.proto;l=1104 + * @deprecated google.cloud.contactcenterinsights.v1.ConversationParticipant.dialogflow_participant is deprecated. + * See google/cloud/contactcenterinsights/v1/resources.proto;l=1125 * @param value The dialogflowParticipant to set. * @return This builder for chaining. */ - @java.lang.Deprecated - public Builder setDialogflowParticipant(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + @java.lang.Deprecated public Builder setDialogflowParticipant( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } dialogflowParticipant_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } /** - * - * *
      * Deprecated. Use `dialogflow_participant_name` instead.
      * The name of the Dialogflow participant. Format:
@@ -1480,22 +1311,17 @@ public Builder setDialogflowParticipant(java.lang.String value) {
      * 
* * string dialogflow_participant = 1 [deprecated = true]; - * - * @deprecated - * google.cloud.contactcenterinsights.v1.ConversationParticipant.dialogflow_participant is - * deprecated. See google/cloud/contactcenterinsights/v1/resources.proto;l=1104 + * @deprecated google.cloud.contactcenterinsights.v1.ConversationParticipant.dialogflow_participant is deprecated. + * See google/cloud/contactcenterinsights/v1/resources.proto;l=1125 * @return This builder for chaining. */ - @java.lang.Deprecated - public Builder clearDialogflowParticipant() { + @java.lang.Deprecated public Builder clearDialogflowParticipant() { dialogflowParticipant_ = getDefaultInstance().getDialogflowParticipant(); bitField0_ = (bitField0_ & ~0x00000004); onChanged(); return this; } /** - * - * *
      * Deprecated. Use `dialogflow_participant_name` instead.
      * The name of the Dialogflow participant. Format:
@@ -1503,18 +1329,14 @@ public Builder clearDialogflowParticipant() {
      * 
* * string dialogflow_participant = 1 [deprecated = true]; - * - * @deprecated - * google.cloud.contactcenterinsights.v1.ConversationParticipant.dialogflow_participant is - * deprecated. See google/cloud/contactcenterinsights/v1/resources.proto;l=1104 + * @deprecated google.cloud.contactcenterinsights.v1.ConversationParticipant.dialogflow_participant is deprecated. + * See google/cloud/contactcenterinsights/v1/resources.proto;l=1125 * @param value The bytes for dialogflowParticipant to set. * @return This builder for chaining. */ - @java.lang.Deprecated - public Builder setDialogflowParticipantBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + @java.lang.Deprecated public Builder setDialogflowParticipantBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); dialogflowParticipant_ = value; bitField0_ |= 0x00000004; @@ -1524,20 +1346,18 @@ public Builder setDialogflowParticipantBytes(com.google.protobuf.ByteString valu private java.lang.Object obfuscatedExternalUserId_ = ""; /** - * - * *
      * Obfuscated user ID from Dialogflow.
      * 
* * string obfuscated_external_user_id = 3; - * * @return The obfuscatedExternalUserId. */ public java.lang.String getObfuscatedExternalUserId() { java.lang.Object ref = obfuscatedExternalUserId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); obfuscatedExternalUserId_ = s; return s; @@ -1546,21 +1366,20 @@ public java.lang.String getObfuscatedExternalUserId() { } } /** - * - * *
      * Obfuscated user ID from Dialogflow.
      * 
* * string obfuscated_external_user_id = 3; - * * @return The bytes for obfuscatedExternalUserId. */ - public com.google.protobuf.ByteString getObfuscatedExternalUserIdBytes() { + public com.google.protobuf.ByteString + getObfuscatedExternalUserIdBytes() { java.lang.Object ref = obfuscatedExternalUserId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); obfuscatedExternalUserId_ = b; return b; } else { @@ -1568,35 +1387,28 @@ public com.google.protobuf.ByteString getObfuscatedExternalUserIdBytes() { } } /** - * - * *
      * Obfuscated user ID from Dialogflow.
      * 
* * string obfuscated_external_user_id = 3; - * * @param value The obfuscatedExternalUserId to set. * @return This builder for chaining. */ - public Builder setObfuscatedExternalUserId(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setObfuscatedExternalUserId( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } obfuscatedExternalUserId_ = value; bitField0_ |= 0x00000008; onChanged(); return this; } /** - * - * *
      * Obfuscated user ID from Dialogflow.
      * 
* * string obfuscated_external_user_id = 3; - * * @return This builder for chaining. */ public Builder clearObfuscatedExternalUserId() { @@ -1606,21 +1418,17 @@ public Builder clearObfuscatedExternalUserId() { return this; } /** - * - * *
      * Obfuscated user ID from Dialogflow.
      * 
* * string obfuscated_external_user_id = 3; - * * @param value The bytes for obfuscatedExternalUserId to set. * @return This builder for chaining. */ - public Builder setObfuscatedExternalUserIdBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setObfuscatedExternalUserIdBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); obfuscatedExternalUserId_ = value; bitField0_ |= 0x00000008; @@ -1630,29 +1438,22 @@ public Builder setObfuscatedExternalUserIdBytes(com.google.protobuf.ByteString v private int role_ = 0; /** - * - * *
      * The role of the participant.
      * 
* * .google.cloud.contactcenterinsights.v1.ConversationParticipant.Role role = 2; - * * @return The enum numeric value on the wire for role. */ - @java.lang.Override - public int getRoleValue() { + @java.lang.Override public int getRoleValue() { return role_; } /** - * - * *
      * The role of the participant.
      * 
* * .google.cloud.contactcenterinsights.v1.ConversationParticipant.Role role = 2; - * * @param value The enum numeric value on the wire for role to set. * @return This builder for chaining. */ @@ -1663,38 +1464,28 @@ public Builder setRoleValue(int value) { return this; } /** - * - * *
      * The role of the participant.
      * 
* * .google.cloud.contactcenterinsights.v1.ConversationParticipant.Role role = 2; - * * @return The role. */ @java.lang.Override public com.google.cloud.contactcenterinsights.v1.ConversationParticipant.Role getRole() { - com.google.cloud.contactcenterinsights.v1.ConversationParticipant.Role result = - com.google.cloud.contactcenterinsights.v1.ConversationParticipant.Role.forNumber(role_); - return result == null - ? com.google.cloud.contactcenterinsights.v1.ConversationParticipant.Role.UNRECOGNIZED - : result; + com.google.cloud.contactcenterinsights.v1.ConversationParticipant.Role result = com.google.cloud.contactcenterinsights.v1.ConversationParticipant.Role.forNumber(role_); + return result == null ? com.google.cloud.contactcenterinsights.v1.ConversationParticipant.Role.UNRECOGNIZED : result; } /** - * - * *
      * The role of the participant.
      * 
* * .google.cloud.contactcenterinsights.v1.ConversationParticipant.Role role = 2; - * * @param value The role to set. * @return This builder for chaining. */ - public Builder setRole( - com.google.cloud.contactcenterinsights.v1.ConversationParticipant.Role value) { + public Builder setRole(com.google.cloud.contactcenterinsights.v1.ConversationParticipant.Role value) { if (value == null) { throw new NullPointerException(); } @@ -1704,14 +1495,11 @@ public Builder setRole( return this; } /** - * - * *
      * The role of the participant.
      * 
* * .google.cloud.contactcenterinsights.v1.ConversationParticipant.Role role = 2; - * * @return This builder for chaining. */ public Builder clearRole() { @@ -1720,9 +1508,9 @@ public Builder clearRole() { onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1732,43 +1520,41 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.contactcenterinsights.v1.ConversationParticipant) } // @@protoc_insertion_point(class_scope:google.cloud.contactcenterinsights.v1.ConversationParticipant) - private static final com.google.cloud.contactcenterinsights.v1.ConversationParticipant - DEFAULT_INSTANCE; - + private static final com.google.cloud.contactcenterinsights.v1.ConversationParticipant DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.cloud.contactcenterinsights.v1.ConversationParticipant(); } - public static com.google.cloud.contactcenterinsights.v1.ConversationParticipant - getDefaultInstance() { + public static com.google.cloud.contactcenterinsights.v1.ConversationParticipant getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ConversationParticipant parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ConversationParticipant parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1780,8 +1566,9 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.cloud.contactcenterinsights.v1.ConversationParticipant - getDefaultInstanceForType() { + public com.google.cloud.contactcenterinsights.v1.ConversationParticipant getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ConversationParticipantOrBuilder.java b/owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ConversationParticipantOrBuilder.java similarity index 70% rename from java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ConversationParticipantOrBuilder.java rename to owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ConversationParticipantOrBuilder.java index 4bf600ae5d9f..0d512e8325d7 100644 --- a/java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ConversationParticipantOrBuilder.java +++ b/owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ConversationParticipantOrBuilder.java @@ -1,108 +1,74 @@ -/* - * 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. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/contactcenterinsights/v1/resources.proto package com.google.cloud.contactcenterinsights.v1; -public interface ConversationParticipantOrBuilder - extends +public interface ConversationParticipantOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.contactcenterinsights.v1.ConversationParticipant) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * The name of the participant provided by Dialogflow. Format:
    * projects/{project}/locations/{location}/conversations/{conversation}/participants/{participant}
    * 
* * string dialogflow_participant_name = 5 [(.google.api.resource_reference) = { ... } - * * @return Whether the dialogflowParticipantName field is set. */ boolean hasDialogflowParticipantName(); /** - * - * *
    * The name of the participant provided by Dialogflow. Format:
    * projects/{project}/locations/{location}/conversations/{conversation}/participants/{participant}
    * 
* * string dialogflow_participant_name = 5 [(.google.api.resource_reference) = { ... } - * * @return The dialogflowParticipantName. */ java.lang.String getDialogflowParticipantName(); /** - * - * *
    * The name of the participant provided by Dialogflow. Format:
    * projects/{project}/locations/{location}/conversations/{conversation}/participants/{participant}
    * 
* * string dialogflow_participant_name = 5 [(.google.api.resource_reference) = { ... } - * * @return The bytes for dialogflowParticipantName. */ - com.google.protobuf.ByteString getDialogflowParticipantNameBytes(); + com.google.protobuf.ByteString + getDialogflowParticipantNameBytes(); /** - * - * *
    * A user-specified ID representing the participant.
    * 
* * string user_id = 6; - * * @return Whether the userId field is set. */ boolean hasUserId(); /** - * - * *
    * A user-specified ID representing the participant.
    * 
* * string user_id = 6; - * * @return The userId. */ java.lang.String getUserId(); /** - * - * *
    * A user-specified ID representing the participant.
    * 
* * string user_id = 6; - * * @return The bytes for userId. */ - com.google.protobuf.ByteString getUserIdBytes(); + com.google.protobuf.ByteString + getUserIdBytes(); /** - * - * *
    * Deprecated. Use `dialogflow_participant_name` instead.
    * The name of the Dialogflow participant. Format:
@@ -110,17 +76,12 @@ public interface ConversationParticipantOrBuilder
    * 
* * string dialogflow_participant = 1 [deprecated = true]; - * - * @deprecated - * google.cloud.contactcenterinsights.v1.ConversationParticipant.dialogflow_participant is - * deprecated. See google/cloud/contactcenterinsights/v1/resources.proto;l=1104 + * @deprecated google.cloud.contactcenterinsights.v1.ConversationParticipant.dialogflow_participant is deprecated. + * See google/cloud/contactcenterinsights/v1/resources.proto;l=1125 * @return The dialogflowParticipant. */ - @java.lang.Deprecated - java.lang.String getDialogflowParticipant(); + @java.lang.Deprecated java.lang.String getDialogflowParticipant(); /** - * - * *
    * Deprecated. Use `dialogflow_participant_name` instead.
    * The name of the Dialogflow participant. Format:
@@ -128,65 +89,51 @@ public interface ConversationParticipantOrBuilder
    * 
* * string dialogflow_participant = 1 [deprecated = true]; - * - * @deprecated - * google.cloud.contactcenterinsights.v1.ConversationParticipant.dialogflow_participant is - * deprecated. See google/cloud/contactcenterinsights/v1/resources.proto;l=1104 + * @deprecated google.cloud.contactcenterinsights.v1.ConversationParticipant.dialogflow_participant is deprecated. + * See google/cloud/contactcenterinsights/v1/resources.proto;l=1125 * @return The bytes for dialogflowParticipant. */ - @java.lang.Deprecated - com.google.protobuf.ByteString getDialogflowParticipantBytes(); + @java.lang.Deprecated com.google.protobuf.ByteString + getDialogflowParticipantBytes(); /** - * - * *
    * Obfuscated user ID from Dialogflow.
    * 
* * string obfuscated_external_user_id = 3; - * * @return The obfuscatedExternalUserId. */ java.lang.String getObfuscatedExternalUserId(); /** - * - * *
    * Obfuscated user ID from Dialogflow.
    * 
* * string obfuscated_external_user_id = 3; - * * @return The bytes for obfuscatedExternalUserId. */ - com.google.protobuf.ByteString getObfuscatedExternalUserIdBytes(); + com.google.protobuf.ByteString + getObfuscatedExternalUserIdBytes(); /** - * - * *
    * The role of the participant.
    * 
* * .google.cloud.contactcenterinsights.v1.ConversationParticipant.Role role = 2; - * * @return The enum numeric value on the wire for role. */ int getRoleValue(); /** - * - * *
    * The role of the participant.
    * 
* * .google.cloud.contactcenterinsights.v1.ConversationParticipant.Role role = 2; - * * @return The role. */ com.google.cloud.contactcenterinsights.v1.ConversationParticipant.Role getRole(); - public com.google.cloud.contactcenterinsights.v1.ConversationParticipant.ParticipantCase - getParticipantCase(); + public com.google.cloud.contactcenterinsights.v1.ConversationParticipant.ParticipantCase getParticipantCase(); } diff --git a/java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ConversationView.java b/owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ConversationView.java similarity index 68% rename from java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ConversationView.java rename to owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ConversationView.java index e49a1b0d1ba1..8810cca3ac4f 100644 --- a/java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ConversationView.java +++ b/owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ConversationView.java @@ -1,36 +1,18 @@ -/* - * 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. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/contactcenterinsights/v1/contact_center_insights.proto package com.google.cloud.contactcenterinsights.v1; /** - * - * *
  * Represents the options for viewing a conversation.
  * 
* * Protobuf enum {@code google.cloud.contactcenterinsights.v1.ConversationView} */ -public enum ConversationView implements com.google.protobuf.ProtocolMessageEnum { +public enum ConversationView + implements com.google.protobuf.ProtocolMessageEnum { /** - * - * *
    * The conversation view is not specified.
    * * Defaults to `FULL` in `GetConversationRequest`.
@@ -41,8 +23,6 @@ public enum ConversationView implements com.google.protobuf.ProtocolMessageEnum
    */
   CONVERSATION_VIEW_UNSPECIFIED(0),
   /**
-   *
-   *
    * 
    * Populates all fields in the conversation.
    * 
@@ -51,8 +31,6 @@ public enum ConversationView implements com.google.protobuf.ProtocolMessageEnum */ FULL(2), /** - * - * *
    * Populates all fields in the conversation except the transcript.
    * 
@@ -64,8 +42,6 @@ public enum ConversationView implements com.google.protobuf.ProtocolMessageEnum ; /** - * - * *
    * The conversation view is not specified.
    * * Defaults to `FULL` in `GetConversationRequest`.
@@ -76,8 +52,6 @@ public enum ConversationView implements com.google.protobuf.ProtocolMessageEnum
    */
   public static final int CONVERSATION_VIEW_UNSPECIFIED_VALUE = 0;
   /**
-   *
-   *
    * 
    * Populates all fields in the conversation.
    * 
@@ -86,8 +60,6 @@ public enum ConversationView implements com.google.protobuf.ProtocolMessageEnum */ public static final int FULL_VALUE = 2; /** - * - * *
    * Populates all fields in the conversation except the transcript.
    * 
@@ -96,6 +68,7 @@ public enum ConversationView implements com.google.protobuf.ProtocolMessageEnum */ public static final int BASIC_VALUE = 1; + public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -120,51 +93,49 @@ public static ConversationView valueOf(int value) { */ public static ConversationView forNumber(int value) { switch (value) { - case 0: - return CONVERSATION_VIEW_UNSPECIFIED; - case 2: - return FULL; - case 1: - return BASIC; - default: - return null; + case 0: return CONVERSATION_VIEW_UNSPECIFIED; + case 2: return FULL; + case 1: return BASIC; + default: return null; } } - public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() { + public static com.google.protobuf.Internal.EnumLiteMap + internalGetValueMap() { return internalValueMap; } - - private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public ConversationView findValueByNumber(int number) { - return ConversationView.forNumber(number); - } - }; - - public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() { + private static final com.google.protobuf.Internal.EnumLiteMap< + ConversationView> internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public ConversationView findValueByNumber(int number) { + return ConversationView.forNumber(number); + } + }; + + public final com.google.protobuf.Descriptors.EnumValueDescriptor + getValueDescriptor() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalStateException( "Can't get the descriptor of an unrecognized enum value."); } return getDescriptor().getValues().get(ordinal()); } - - public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() { + public final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptorForType() { return getDescriptor(); } - - public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { - return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto.getDescriptor() - .getEnumTypes() - .get(0); + public static final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptor() { + return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto.getDescriptor().getEnumTypes().get(0); } private static final ConversationView[] VALUES = values(); - public static ConversationView valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + public static ConversationView valueOf( + com.google.protobuf.Descriptors.EnumValueDescriptor desc) { if (desc.getType() != getDescriptor()) { - throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type."); + throw new java.lang.IllegalArgumentException( + "EnumValueDescriptor is not for this type."); } if (desc.getIndex() == -1) { return UNRECOGNIZED; @@ -180,3 +151,4 @@ private ConversationView(int value) { // @@protoc_insertion_point(enum_scope:google.cloud.contactcenterinsights.v1.ConversationView) } + diff --git a/java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/CreateAnalysisOperationMetadata.java b/owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/CreateAnalysisOperationMetadata.java similarity index 59% rename from java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/CreateAnalysisOperationMetadata.java rename to owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/CreateAnalysisOperationMetadata.java index db768670ba3a..b068aed7f147 100644 --- a/java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/CreateAnalysisOperationMetadata.java +++ b/owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/CreateAnalysisOperationMetadata.java @@ -1,86 +1,61 @@ -/* - * 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. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/contactcenterinsights/v1/contact_center_insights.proto package com.google.cloud.contactcenterinsights.v1; /** - * - * *
  * Metadata for a create analysis operation.
  * 
* * Protobuf type {@code google.cloud.contactcenterinsights.v1.CreateAnalysisOperationMetadata} */ -public final class CreateAnalysisOperationMetadata extends com.google.protobuf.GeneratedMessageV3 - implements +public final class CreateAnalysisOperationMetadata extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.contactcenterinsights.v1.CreateAnalysisOperationMetadata) CreateAnalysisOperationMetadataOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use CreateAnalysisOperationMetadata.newBuilder() to construct. - private CreateAnalysisOperationMetadata( - com.google.protobuf.GeneratedMessageV3.Builder builder) { + private CreateAnalysisOperationMetadata(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private CreateAnalysisOperationMetadata() { conversation_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new CreateAnalysisOperationMetadata(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto - .internal_static_google_cloud_contactcenterinsights_v1_CreateAnalysisOperationMetadata_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto.internal_static_google_cloud_contactcenterinsights_v1_CreateAnalysisOperationMetadata_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto - .internal_static_google_cloud_contactcenterinsights_v1_CreateAnalysisOperationMetadata_fieldAccessorTable + return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto.internal_static_google_cloud_contactcenterinsights_v1_CreateAnalysisOperationMetadata_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.contactcenterinsights.v1.CreateAnalysisOperationMetadata.class, - com.google.cloud.contactcenterinsights.v1.CreateAnalysisOperationMetadata.Builder - .class); + com.google.cloud.contactcenterinsights.v1.CreateAnalysisOperationMetadata.class, com.google.cloud.contactcenterinsights.v1.CreateAnalysisOperationMetadata.Builder.class); } public static final int CREATE_TIME_FIELD_NUMBER = 1; private com.google.protobuf.Timestamp createTime_; /** - * - * *
    * Output only. The time the operation was created.
    * 
* - * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the createTime field is set. */ @java.lang.Override @@ -88,15 +63,11 @@ public boolean hasCreateTime() { return createTime_ != null; } /** - * - * *
    * Output only. The time the operation was created.
    * 
* - * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The createTime. */ @java.lang.Override @@ -104,14 +75,11 @@ public com.google.protobuf.Timestamp getCreateTime() { return createTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : createTime_; } /** - * - * *
    * Output only. The time the operation was created.
    * 
* - * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ @java.lang.Override public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { @@ -121,15 +89,11 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { public static final int END_TIME_FIELD_NUMBER = 2; private com.google.protobuf.Timestamp endTime_; /** - * - * *
    * Output only. The time the operation finished running.
    * 
* - * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the endTime field is set. */ @java.lang.Override @@ -137,15 +101,11 @@ public boolean hasEndTime() { return endTime_ != null; } /** - * - * *
    * Output only. The time the operation finished running.
    * 
* - * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The endTime. */ @java.lang.Override @@ -153,14 +113,11 @@ public com.google.protobuf.Timestamp getEndTime() { return endTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : endTime_; } /** - * - * *
    * Output only. The time the operation finished running.
    * 
* - * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ @java.lang.Override public com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder() { @@ -168,20 +125,14 @@ public com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder() { } public static final int CONVERSATION_FIELD_NUMBER = 3; - @SuppressWarnings("serial") private volatile java.lang.Object conversation_ = ""; /** - * - * *
    * Output only. The Conversation that this Analysis Operation belongs to.
    * 
* - * - * string conversation = 3 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } - * - * + * string conversation = 3 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } * @return The conversation. */ @java.lang.Override @@ -190,31 +141,29 @@ public java.lang.String getConversation() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); conversation_ = s; return s; } } /** - * - * *
    * Output only. The Conversation that this Analysis Operation belongs to.
    * 
* - * - * string conversation = 3 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } - * - * + * string conversation = 3 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } * @return The bytes for conversation. */ @java.lang.Override - public com.google.protobuf.ByteString getConversationBytes() { + public com.google.protobuf.ByteString + getConversationBytes() { java.lang.Object ref = conversation_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); conversation_ = b; return b; } else { @@ -225,16 +174,11 @@ public com.google.protobuf.ByteString getConversationBytes() { public static final int ANNOTATOR_SELECTOR_FIELD_NUMBER = 4; private com.google.cloud.contactcenterinsights.v1.AnnotatorSelector annotatorSelector_; /** - * - * *
    * Output only. The annotator selector used for the analysis (if any).
    * 
* - * - * .google.cloud.contactcenterinsights.v1.AnnotatorSelector annotator_selector = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.contactcenterinsights.v1.AnnotatorSelector annotator_selector = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the annotatorSelector field is set. */ @java.lang.Override @@ -242,45 +186,30 @@ public boolean hasAnnotatorSelector() { return annotatorSelector_ != null; } /** - * - * *
    * Output only. The annotator selector used for the analysis (if any).
    * 
* - * - * .google.cloud.contactcenterinsights.v1.AnnotatorSelector annotator_selector = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.contactcenterinsights.v1.AnnotatorSelector annotator_selector = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The annotatorSelector. */ @java.lang.Override public com.google.cloud.contactcenterinsights.v1.AnnotatorSelector getAnnotatorSelector() { - return annotatorSelector_ == null - ? com.google.cloud.contactcenterinsights.v1.AnnotatorSelector.getDefaultInstance() - : annotatorSelector_; + return annotatorSelector_ == null ? com.google.cloud.contactcenterinsights.v1.AnnotatorSelector.getDefaultInstance() : annotatorSelector_; } /** - * - * *
    * Output only. The annotator selector used for the analysis (if any).
    * 
* - * - * .google.cloud.contactcenterinsights.v1.AnnotatorSelector annotator_selector = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.contactcenterinsights.v1.AnnotatorSelector annotator_selector = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ @java.lang.Override - public com.google.cloud.contactcenterinsights.v1.AnnotatorSelectorOrBuilder - getAnnotatorSelectorOrBuilder() { - return annotatorSelector_ == null - ? com.google.cloud.contactcenterinsights.v1.AnnotatorSelector.getDefaultInstance() - : annotatorSelector_; + public com.google.cloud.contactcenterinsights.v1.AnnotatorSelectorOrBuilder getAnnotatorSelectorOrBuilder() { + return annotatorSelector_ == null ? com.google.cloud.contactcenterinsights.v1.AnnotatorSelector.getDefaultInstance() : annotatorSelector_; } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -292,7 +221,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (createTime_ != null) { output.writeMessage(1, getCreateTime()); } @@ -315,16 +245,19 @@ public int getSerializedSize() { size = 0; if (createTime_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getCreateTime()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, getCreateTime()); } if (endTime_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getEndTime()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, getEndTime()); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(conversation_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, conversation_); } if (annotatorSelector_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(4, getAnnotatorSelector()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(4, getAnnotatorSelector()); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -334,27 +267,29 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } - if (!(obj - instanceof com.google.cloud.contactcenterinsights.v1.CreateAnalysisOperationMetadata)) { + if (!(obj instanceof com.google.cloud.contactcenterinsights.v1.CreateAnalysisOperationMetadata)) { return super.equals(obj); } - com.google.cloud.contactcenterinsights.v1.CreateAnalysisOperationMetadata other = - (com.google.cloud.contactcenterinsights.v1.CreateAnalysisOperationMetadata) obj; + com.google.cloud.contactcenterinsights.v1.CreateAnalysisOperationMetadata other = (com.google.cloud.contactcenterinsights.v1.CreateAnalysisOperationMetadata) obj; if (hasCreateTime() != other.hasCreateTime()) return false; if (hasCreateTime()) { - if (!getCreateTime().equals(other.getCreateTime())) return false; + if (!getCreateTime() + .equals(other.getCreateTime())) return false; } if (hasEndTime() != other.hasEndTime()) return false; if (hasEndTime()) { - if (!getEndTime().equals(other.getEndTime())) return false; + if (!getEndTime() + .equals(other.getEndTime())) return false; } - if (!getConversation().equals(other.getConversation())) return false; + if (!getConversation() + .equals(other.getConversation())) return false; if (hasAnnotatorSelector() != other.hasAnnotatorSelector()) return false; if (hasAnnotatorSelector()) { - if (!getAnnotatorSelector().equals(other.getAnnotatorSelector())) return false; + if (!getAnnotatorSelector() + .equals(other.getAnnotatorSelector())) return false; } if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -387,139 +322,129 @@ public int hashCode() { } public static com.google.cloud.contactcenterinsights.v1.CreateAnalysisOperationMetadata parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.contactcenterinsights.v1.CreateAnalysisOperationMetadata parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.contactcenterinsights.v1.CreateAnalysisOperationMetadata parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.contactcenterinsights.v1.CreateAnalysisOperationMetadata parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.contactcenterinsights.v1.CreateAnalysisOperationMetadata parseFrom( - byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.contactcenterinsights.v1.CreateAnalysisOperationMetadata parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.contactcenterinsights.v1.CreateAnalysisOperationMetadata parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.contactcenterinsights.v1.CreateAnalysisOperationMetadata parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.contactcenterinsights.v1.CreateAnalysisOperationMetadata parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.contactcenterinsights.v1.CreateAnalysisOperationMetadata parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.contactcenterinsights.v1.CreateAnalysisOperationMetadata - parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.contactcenterinsights.v1.CreateAnalysisOperationMetadata parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - - public static com.google.cloud.contactcenterinsights.v1.CreateAnalysisOperationMetadata - parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + public static com.google.cloud.contactcenterinsights.v1.CreateAnalysisOperationMetadata parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.contactcenterinsights.v1.CreateAnalysisOperationMetadata parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.contactcenterinsights.v1.CreateAnalysisOperationMetadata parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.contactcenterinsights.v1.CreateAnalysisOperationMetadata prototype) { + public static Builder newBuilder(com.google.cloud.contactcenterinsights.v1.CreateAnalysisOperationMetadata prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Metadata for a create analysis operation.
    * 
* * Protobuf type {@code google.cloud.contactcenterinsights.v1.CreateAnalysisOperationMetadata} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.contactcenterinsights.v1.CreateAnalysisOperationMetadata) com.google.cloud.contactcenterinsights.v1.CreateAnalysisOperationMetadataOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto - .internal_static_google_cloud_contactcenterinsights_v1_CreateAnalysisOperationMetadata_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto.internal_static_google_cloud_contactcenterinsights_v1_CreateAnalysisOperationMetadata_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto - .internal_static_google_cloud_contactcenterinsights_v1_CreateAnalysisOperationMetadata_fieldAccessorTable + return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto.internal_static_google_cloud_contactcenterinsights_v1_CreateAnalysisOperationMetadata_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.contactcenterinsights.v1.CreateAnalysisOperationMetadata.class, - com.google.cloud.contactcenterinsights.v1.CreateAnalysisOperationMetadata.Builder - .class); + com.google.cloud.contactcenterinsights.v1.CreateAnalysisOperationMetadata.class, com.google.cloud.contactcenterinsights.v1.CreateAnalysisOperationMetadata.Builder.class); } - // Construct using - // com.google.cloud.contactcenterinsights.v1.CreateAnalysisOperationMetadata.newBuilder() - private Builder() {} + // Construct using com.google.cloud.contactcenterinsights.v1.CreateAnalysisOperationMetadata.newBuilder() + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -544,22 +469,19 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto - .internal_static_google_cloud_contactcenterinsights_v1_CreateAnalysisOperationMetadata_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto.internal_static_google_cloud_contactcenterinsights_v1_CreateAnalysisOperationMetadata_descriptor; } @java.lang.Override - public com.google.cloud.contactcenterinsights.v1.CreateAnalysisOperationMetadata - getDefaultInstanceForType() { - return com.google.cloud.contactcenterinsights.v1.CreateAnalysisOperationMetadata - .getDefaultInstance(); + public com.google.cloud.contactcenterinsights.v1.CreateAnalysisOperationMetadata getDefaultInstanceForType() { + return com.google.cloud.contactcenterinsights.v1.CreateAnalysisOperationMetadata.getDefaultInstance(); } @java.lang.Override public com.google.cloud.contactcenterinsights.v1.CreateAnalysisOperationMetadata build() { - com.google.cloud.contactcenterinsights.v1.CreateAnalysisOperationMetadata result = - buildPartial(); + com.google.cloud.contactcenterinsights.v1.CreateAnalysisOperationMetadata result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } @@ -567,34 +489,32 @@ public com.google.cloud.contactcenterinsights.v1.CreateAnalysisOperationMetadata } @java.lang.Override - public com.google.cloud.contactcenterinsights.v1.CreateAnalysisOperationMetadata - buildPartial() { - com.google.cloud.contactcenterinsights.v1.CreateAnalysisOperationMetadata result = - new com.google.cloud.contactcenterinsights.v1.CreateAnalysisOperationMetadata(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + public com.google.cloud.contactcenterinsights.v1.CreateAnalysisOperationMetadata buildPartial() { + com.google.cloud.contactcenterinsights.v1.CreateAnalysisOperationMetadata result = new com.google.cloud.contactcenterinsights.v1.CreateAnalysisOperationMetadata(this); + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } - private void buildPartial0( - com.google.cloud.contactcenterinsights.v1.CreateAnalysisOperationMetadata result) { + private void buildPartial0(com.google.cloud.contactcenterinsights.v1.CreateAnalysisOperationMetadata result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { - result.createTime_ = createTimeBuilder_ == null ? createTime_ : createTimeBuilder_.build(); + result.createTime_ = createTimeBuilder_ == null + ? createTime_ + : createTimeBuilder_.build(); } if (((from_bitField0_ & 0x00000002) != 0)) { - result.endTime_ = endTimeBuilder_ == null ? endTime_ : endTimeBuilder_.build(); + result.endTime_ = endTimeBuilder_ == null + ? endTime_ + : endTimeBuilder_.build(); } if (((from_bitField0_ & 0x00000004) != 0)) { result.conversation_ = conversation_; } if (((from_bitField0_ & 0x00000008) != 0)) { - result.annotatorSelector_ = - annotatorSelectorBuilder_ == null - ? annotatorSelector_ - : annotatorSelectorBuilder_.build(); + result.annotatorSelector_ = annotatorSelectorBuilder_ == null + ? annotatorSelector_ + : annotatorSelectorBuilder_.build(); } } @@ -602,52 +522,46 @@ private void buildPartial0( public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { - if (other - instanceof com.google.cloud.contactcenterinsights.v1.CreateAnalysisOperationMetadata) { - return mergeFrom( - (com.google.cloud.contactcenterinsights.v1.CreateAnalysisOperationMetadata) other); + if (other instanceof com.google.cloud.contactcenterinsights.v1.CreateAnalysisOperationMetadata) { + return mergeFrom((com.google.cloud.contactcenterinsights.v1.CreateAnalysisOperationMetadata)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom( - com.google.cloud.contactcenterinsights.v1.CreateAnalysisOperationMetadata other) { - if (other - == com.google.cloud.contactcenterinsights.v1.CreateAnalysisOperationMetadata - .getDefaultInstance()) return this; + public Builder mergeFrom(com.google.cloud.contactcenterinsights.v1.CreateAnalysisOperationMetadata other) { + if (other == com.google.cloud.contactcenterinsights.v1.CreateAnalysisOperationMetadata.getDefaultInstance()) return this; if (other.hasCreateTime()) { mergeCreateTime(other.getCreateTime()); } @@ -688,38 +602,38 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - input.readMessage(getCreateTimeFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: - { - input.readMessage(getEndTimeFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00000002; - break; - } // case 18 - case 26: - { - conversation_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000004; - break; - } // case 26 - case 34: - { - input.readMessage( - getAnnotatorSelectorFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00000008; - break; - } // case 34 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + input.readMessage( + getCreateTimeFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: { + input.readMessage( + getEndTimeFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00000002; + break; + } // case 18 + case 26: { + conversation_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000004; + break; + } // case 26 + case 34: { + input.readMessage( + getAnnotatorSelectorFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00000008; + break; + } // case 34 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -729,63 +643,43 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private com.google.protobuf.Timestamp createTime_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> - createTimeBuilder_; + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> createTimeBuilder_; /** - * - * *
      * Output only. The time the operation was created.
      * 
* - * - * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the createTime field is set. */ public boolean hasCreateTime() { return ((bitField0_ & 0x00000001) != 0); } /** - * - * *
      * Output only. The time the operation was created.
      * 
* - * - * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The createTime. */ public com.google.protobuf.Timestamp getCreateTime() { if (createTimeBuilder_ == null) { - return createTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : createTime_; + return createTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : createTime_; } else { return createTimeBuilder_.getMessage(); } } /** - * - * *
      * Output only. The time the operation was created.
      * 
* - * - * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder setCreateTime(com.google.protobuf.Timestamp value) { if (createTimeBuilder_ == null) { @@ -801,17 +695,14 @@ public Builder setCreateTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * Output only. The time the operation was created.
      * 
* - * - * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - public Builder setCreateTime(com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setCreateTime( + com.google.protobuf.Timestamp.Builder builderForValue) { if (createTimeBuilder_ == null) { createTime_ = builderForValue.build(); } else { @@ -822,21 +713,17 @@ public Builder setCreateTime(com.google.protobuf.Timestamp.Builder builderForVal return this; } /** - * - * *
      * Output only. The time the operation was created.
      * 
* - * - * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder mergeCreateTime(com.google.protobuf.Timestamp value) { if (createTimeBuilder_ == null) { - if (((bitField0_ & 0x00000001) != 0) - && createTime_ != null - && createTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { + if (((bitField0_ & 0x00000001) != 0) && + createTime_ != null && + createTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { getCreateTimeBuilder().mergeFrom(value); } else { createTime_ = value; @@ -849,15 +736,11 @@ public Builder mergeCreateTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * Output only. The time the operation was created.
      * 
* - * - * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder clearCreateTime() { bitField0_ = (bitField0_ & ~0x00000001); @@ -870,15 +753,11 @@ public Builder clearCreateTime() { return this; } /** - * - * *
      * Output only. The time the operation was created.
      * 
* - * - * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public com.google.protobuf.Timestamp.Builder getCreateTimeBuilder() { bitField0_ |= 0x00000001; @@ -886,48 +765,36 @@ public com.google.protobuf.Timestamp.Builder getCreateTimeBuilder() { return getCreateTimeFieldBuilder().getBuilder(); } /** - * - * *
      * Output only. The time the operation was created.
      * 
* - * - * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { if (createTimeBuilder_ != null) { return createTimeBuilder_.getMessageOrBuilder(); } else { - return createTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : createTime_; + return createTime_ == null ? + com.google.protobuf.Timestamp.getDefaultInstance() : createTime_; } } /** - * - * *
      * Output only. The time the operation was created.
      * 
* - * - * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> getCreateTimeFieldBuilder() { if (createTimeBuilder_ == null) { - createTimeBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder>( - getCreateTime(), getParentForChildren(), isClean()); + createTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( + getCreateTime(), + getParentForChildren(), + isClean()); createTime_ = null; } return createTimeBuilder_; @@ -935,35 +802,24 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { private com.google.protobuf.Timestamp endTime_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> - endTimeBuilder_; + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> endTimeBuilder_; /** - * - * *
      * Output only. The time the operation finished running.
      * 
* - * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the endTime field is set. */ public boolean hasEndTime() { return ((bitField0_ & 0x00000002) != 0); } /** - * - * *
      * Output only. The time the operation finished running.
      * 
* - * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The endTime. */ public com.google.protobuf.Timestamp getEndTime() { @@ -974,14 +830,11 @@ public com.google.protobuf.Timestamp getEndTime() { } } /** - * - * *
      * Output only. The time the operation finished running.
      * 
* - * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder setEndTime(com.google.protobuf.Timestamp value) { if (endTimeBuilder_ == null) { @@ -997,16 +850,14 @@ public Builder setEndTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * Output only. The time the operation finished running.
      * 
* - * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - public Builder setEndTime(com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setEndTime( + com.google.protobuf.Timestamp.Builder builderForValue) { if (endTimeBuilder_ == null) { endTime_ = builderForValue.build(); } else { @@ -1017,20 +868,17 @@ public Builder setEndTime(com.google.protobuf.Timestamp.Builder builderForValue) return this; } /** - * - * *
      * Output only. The time the operation finished running.
      * 
* - * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder mergeEndTime(com.google.protobuf.Timestamp value) { if (endTimeBuilder_ == null) { - if (((bitField0_ & 0x00000002) != 0) - && endTime_ != null - && endTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { + if (((bitField0_ & 0x00000002) != 0) && + endTime_ != null && + endTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { getEndTimeBuilder().mergeFrom(value); } else { endTime_ = value; @@ -1043,14 +891,11 @@ public Builder mergeEndTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * Output only. The time the operation finished running.
      * 
* - * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder clearEndTime() { bitField0_ = (bitField0_ & ~0x00000002); @@ -1063,14 +908,11 @@ public Builder clearEndTime() { return this; } /** - * - * *
      * Output only. The time the operation finished running.
      * 
* - * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public com.google.protobuf.Timestamp.Builder getEndTimeBuilder() { bitField0_ |= 0x00000002; @@ -1078,44 +920,36 @@ public com.google.protobuf.Timestamp.Builder getEndTimeBuilder() { return getEndTimeFieldBuilder().getBuilder(); } /** - * - * *
      * Output only. The time the operation finished running.
      * 
* - * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder() { if (endTimeBuilder_ != null) { return endTimeBuilder_.getMessageOrBuilder(); } else { - return endTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : endTime_; + return endTime_ == null ? + com.google.protobuf.Timestamp.getDefaultInstance() : endTime_; } } /** - * - * *
      * Output only. The time the operation finished running.
      * 
* - * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> getEndTimeFieldBuilder() { if (endTimeBuilder_ == null) { - endTimeBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder>( - getEndTime(), getParentForChildren(), isClean()); + endTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( + getEndTime(), + getParentForChildren(), + isClean()); endTime_ = null; } return endTimeBuilder_; @@ -1123,22 +957,18 @@ public com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder() { private java.lang.Object conversation_ = ""; /** - * - * *
      * Output only. The Conversation that this Analysis Operation belongs to.
      * 
* - * - * string conversation = 3 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } - * - * + * string conversation = 3 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } * @return The conversation. */ public java.lang.String getConversation() { java.lang.Object ref = conversation_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); conversation_ = s; return s; @@ -1147,23 +977,20 @@ public java.lang.String getConversation() { } } /** - * - * *
      * Output only. The Conversation that this Analysis Operation belongs to.
      * 
* - * - * string conversation = 3 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } - * - * + * string conversation = 3 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } * @return The bytes for conversation. */ - public com.google.protobuf.ByteString getConversationBytes() { + public com.google.protobuf.ByteString + getConversationBytes() { java.lang.Object ref = conversation_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); conversation_ = b; return b; } else { @@ -1171,39 +998,28 @@ public com.google.protobuf.ByteString getConversationBytes() { } } /** - * - * *
      * Output only. The Conversation that this Analysis Operation belongs to.
      * 
* - * - * string conversation = 3 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } - * - * + * string conversation = 3 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } * @param value The conversation to set. * @return This builder for chaining. */ - public Builder setConversation(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setConversation( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } conversation_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } /** - * - * *
      * Output only. The Conversation that this Analysis Operation belongs to.
      * 
* - * - * string conversation = 3 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } - * - * + * string conversation = 3 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearConversation() { @@ -1213,23 +1029,17 @@ public Builder clearConversation() { return this; } /** - * - * *
      * Output only. The Conversation that this Analysis Operation belongs to.
      * 
* - * - * string conversation = 3 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } - * - * + * string conversation = 3 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } * @param value The bytes for conversation to set. * @return This builder for chaining. */ - public Builder setConversationBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setConversationBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); conversation_ = value; bitField0_ |= 0x00000004; @@ -1239,61 +1049,41 @@ public Builder setConversationBytes(com.google.protobuf.ByteString value) { private com.google.cloud.contactcenterinsights.v1.AnnotatorSelector annotatorSelector_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.contactcenterinsights.v1.AnnotatorSelector, - com.google.cloud.contactcenterinsights.v1.AnnotatorSelector.Builder, - com.google.cloud.contactcenterinsights.v1.AnnotatorSelectorOrBuilder> - annotatorSelectorBuilder_; + com.google.cloud.contactcenterinsights.v1.AnnotatorSelector, com.google.cloud.contactcenterinsights.v1.AnnotatorSelector.Builder, com.google.cloud.contactcenterinsights.v1.AnnotatorSelectorOrBuilder> annotatorSelectorBuilder_; /** - * - * *
      * Output only. The annotator selector used for the analysis (if any).
      * 
* - * - * .google.cloud.contactcenterinsights.v1.AnnotatorSelector annotator_selector = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.contactcenterinsights.v1.AnnotatorSelector annotator_selector = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the annotatorSelector field is set. */ public boolean hasAnnotatorSelector() { return ((bitField0_ & 0x00000008) != 0); } /** - * - * *
      * Output only. The annotator selector used for the analysis (if any).
      * 
* - * - * .google.cloud.contactcenterinsights.v1.AnnotatorSelector annotator_selector = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.contactcenterinsights.v1.AnnotatorSelector annotator_selector = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The annotatorSelector. */ public com.google.cloud.contactcenterinsights.v1.AnnotatorSelector getAnnotatorSelector() { if (annotatorSelectorBuilder_ == null) { - return annotatorSelector_ == null - ? com.google.cloud.contactcenterinsights.v1.AnnotatorSelector.getDefaultInstance() - : annotatorSelector_; + return annotatorSelector_ == null ? com.google.cloud.contactcenterinsights.v1.AnnotatorSelector.getDefaultInstance() : annotatorSelector_; } else { return annotatorSelectorBuilder_.getMessage(); } } /** - * - * *
      * Output only. The annotator selector used for the analysis (if any).
      * 
* - * - * .google.cloud.contactcenterinsights.v1.AnnotatorSelector annotator_selector = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.contactcenterinsights.v1.AnnotatorSelector annotator_selector = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - public Builder setAnnotatorSelector( - com.google.cloud.contactcenterinsights.v1.AnnotatorSelector value) { + public Builder setAnnotatorSelector(com.google.cloud.contactcenterinsights.v1.AnnotatorSelector value) { if (annotatorSelectorBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -1307,15 +1097,11 @@ public Builder setAnnotatorSelector( return this; } /** - * - * *
      * Output only. The annotator selector used for the analysis (if any).
      * 
* - * - * .google.cloud.contactcenterinsights.v1.AnnotatorSelector annotator_selector = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.contactcenterinsights.v1.AnnotatorSelector annotator_selector = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder setAnnotatorSelector( com.google.cloud.contactcenterinsights.v1.AnnotatorSelector.Builder builderForValue) { @@ -1329,24 +1115,17 @@ public Builder setAnnotatorSelector( return this; } /** - * - * *
      * Output only. The annotator selector used for the analysis (if any).
      * 
* - * - * .google.cloud.contactcenterinsights.v1.AnnotatorSelector annotator_selector = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.contactcenterinsights.v1.AnnotatorSelector annotator_selector = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - public Builder mergeAnnotatorSelector( - com.google.cloud.contactcenterinsights.v1.AnnotatorSelector value) { + public Builder mergeAnnotatorSelector(com.google.cloud.contactcenterinsights.v1.AnnotatorSelector value) { if (annotatorSelectorBuilder_ == null) { - if (((bitField0_ & 0x00000008) != 0) - && annotatorSelector_ != null - && annotatorSelector_ - != com.google.cloud.contactcenterinsights.v1.AnnotatorSelector - .getDefaultInstance()) { + if (((bitField0_ & 0x00000008) != 0) && + annotatorSelector_ != null && + annotatorSelector_ != com.google.cloud.contactcenterinsights.v1.AnnotatorSelector.getDefaultInstance()) { getAnnotatorSelectorBuilder().mergeFrom(value); } else { annotatorSelector_ = value; @@ -1359,15 +1138,11 @@ public Builder mergeAnnotatorSelector( return this; } /** - * - * *
      * Output only. The annotator selector used for the analysis (if any).
      * 
* - * - * .google.cloud.contactcenterinsights.v1.AnnotatorSelector annotator_selector = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.contactcenterinsights.v1.AnnotatorSelector annotator_selector = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder clearAnnotatorSelector() { bitField0_ = (bitField0_ & ~0x00000008); @@ -1380,73 +1155,55 @@ public Builder clearAnnotatorSelector() { return this; } /** - * - * *
      * Output only. The annotator selector used for the analysis (if any).
      * 
* - * - * .google.cloud.contactcenterinsights.v1.AnnotatorSelector annotator_selector = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.contactcenterinsights.v1.AnnotatorSelector annotator_selector = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - public com.google.cloud.contactcenterinsights.v1.AnnotatorSelector.Builder - getAnnotatorSelectorBuilder() { + public com.google.cloud.contactcenterinsights.v1.AnnotatorSelector.Builder getAnnotatorSelectorBuilder() { bitField0_ |= 0x00000008; onChanged(); return getAnnotatorSelectorFieldBuilder().getBuilder(); } /** - * - * *
      * Output only. The annotator selector used for the analysis (if any).
      * 
* - * - * .google.cloud.contactcenterinsights.v1.AnnotatorSelector annotator_selector = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.contactcenterinsights.v1.AnnotatorSelector annotator_selector = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - public com.google.cloud.contactcenterinsights.v1.AnnotatorSelectorOrBuilder - getAnnotatorSelectorOrBuilder() { + public com.google.cloud.contactcenterinsights.v1.AnnotatorSelectorOrBuilder getAnnotatorSelectorOrBuilder() { if (annotatorSelectorBuilder_ != null) { return annotatorSelectorBuilder_.getMessageOrBuilder(); } else { - return annotatorSelector_ == null - ? com.google.cloud.contactcenterinsights.v1.AnnotatorSelector.getDefaultInstance() - : annotatorSelector_; + return annotatorSelector_ == null ? + com.google.cloud.contactcenterinsights.v1.AnnotatorSelector.getDefaultInstance() : annotatorSelector_; } } /** - * - * *
      * Output only. The annotator selector used for the analysis (if any).
      * 
* - * - * .google.cloud.contactcenterinsights.v1.AnnotatorSelector annotator_selector = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.contactcenterinsights.v1.AnnotatorSelector annotator_selector = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.contactcenterinsights.v1.AnnotatorSelector, - com.google.cloud.contactcenterinsights.v1.AnnotatorSelector.Builder, - com.google.cloud.contactcenterinsights.v1.AnnotatorSelectorOrBuilder> + com.google.cloud.contactcenterinsights.v1.AnnotatorSelector, com.google.cloud.contactcenterinsights.v1.AnnotatorSelector.Builder, com.google.cloud.contactcenterinsights.v1.AnnotatorSelectorOrBuilder> getAnnotatorSelectorFieldBuilder() { if (annotatorSelectorBuilder_ == null) { - annotatorSelectorBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.contactcenterinsights.v1.AnnotatorSelector, - com.google.cloud.contactcenterinsights.v1.AnnotatorSelector.Builder, - com.google.cloud.contactcenterinsights.v1.AnnotatorSelectorOrBuilder>( - getAnnotatorSelector(), getParentForChildren(), isClean()); + annotatorSelectorBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.contactcenterinsights.v1.AnnotatorSelector, com.google.cloud.contactcenterinsights.v1.AnnotatorSelector.Builder, com.google.cloud.contactcenterinsights.v1.AnnotatorSelectorOrBuilder>( + getAnnotatorSelector(), + getParentForChildren(), + isClean()); annotatorSelector_ = null; } return annotatorSelectorBuilder_; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1456,44 +1213,41 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.contactcenterinsights.v1.CreateAnalysisOperationMetadata) } // @@protoc_insertion_point(class_scope:google.cloud.contactcenterinsights.v1.CreateAnalysisOperationMetadata) - private static final com.google.cloud.contactcenterinsights.v1.CreateAnalysisOperationMetadata - DEFAULT_INSTANCE; - + private static final com.google.cloud.contactcenterinsights.v1.CreateAnalysisOperationMetadata DEFAULT_INSTANCE; static { - DEFAULT_INSTANCE = - new com.google.cloud.contactcenterinsights.v1.CreateAnalysisOperationMetadata(); + DEFAULT_INSTANCE = new com.google.cloud.contactcenterinsights.v1.CreateAnalysisOperationMetadata(); } - public static com.google.cloud.contactcenterinsights.v1.CreateAnalysisOperationMetadata - getDefaultInstance() { + public static com.google.cloud.contactcenterinsights.v1.CreateAnalysisOperationMetadata getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public CreateAnalysisOperationMetadata parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public CreateAnalysisOperationMetadata parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1505,8 +1259,9 @@ public com.google.protobuf.Parser getParserForT } @java.lang.Override - public com.google.cloud.contactcenterinsights.v1.CreateAnalysisOperationMetadata - getDefaultInstanceForType() { + public com.google.cloud.contactcenterinsights.v1.CreateAnalysisOperationMetadata getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/CreateAnalysisOperationMetadataOrBuilder.java b/owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/CreateAnalysisOperationMetadataOrBuilder.java similarity index 58% rename from java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/CreateAnalysisOperationMetadataOrBuilder.java rename to owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/CreateAnalysisOperationMetadataOrBuilder.java index 6cd2ee7dc103..8c6d81e04f52 100644 --- a/java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/CreateAnalysisOperationMetadataOrBuilder.java +++ b/owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/CreateAnalysisOperationMetadataOrBuilder.java @@ -1,172 +1,110 @@ -/* - * 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. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/contactcenterinsights/v1/contact_center_insights.proto package com.google.cloud.contactcenterinsights.v1; -public interface CreateAnalysisOperationMetadataOrBuilder - extends +public interface CreateAnalysisOperationMetadataOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.contactcenterinsights.v1.CreateAnalysisOperationMetadata) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Output only. The time the operation was created.
    * 
* - * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the createTime field is set. */ boolean hasCreateTime(); /** - * - * *
    * Output only. The time the operation was created.
    * 
* - * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The createTime. */ com.google.protobuf.Timestamp getCreateTime(); /** - * - * *
    * Output only. The time the operation was created.
    * 
* - * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder(); /** - * - * *
    * Output only. The time the operation finished running.
    * 
* - * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the endTime field is set. */ boolean hasEndTime(); /** - * - * *
    * Output only. The time the operation finished running.
    * 
* - * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The endTime. */ com.google.protobuf.Timestamp getEndTime(); /** - * - * *
    * Output only. The time the operation finished running.
    * 
* - * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder(); /** - * - * *
    * Output only. The Conversation that this Analysis Operation belongs to.
    * 
* - * - * string conversation = 3 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } - * - * + * string conversation = 3 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } * @return The conversation. */ java.lang.String getConversation(); /** - * - * *
    * Output only. The Conversation that this Analysis Operation belongs to.
    * 
* - * - * string conversation = 3 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } - * - * + * string conversation = 3 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } * @return The bytes for conversation. */ - com.google.protobuf.ByteString getConversationBytes(); + com.google.protobuf.ByteString + getConversationBytes(); /** - * - * *
    * Output only. The annotator selector used for the analysis (if any).
    * 
* - * - * .google.cloud.contactcenterinsights.v1.AnnotatorSelector annotator_selector = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.contactcenterinsights.v1.AnnotatorSelector annotator_selector = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the annotatorSelector field is set. */ boolean hasAnnotatorSelector(); /** - * - * *
    * Output only. The annotator selector used for the analysis (if any).
    * 
* - * - * .google.cloud.contactcenterinsights.v1.AnnotatorSelector annotator_selector = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.contactcenterinsights.v1.AnnotatorSelector annotator_selector = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The annotatorSelector. */ com.google.cloud.contactcenterinsights.v1.AnnotatorSelector getAnnotatorSelector(); /** - * - * *
    * Output only. The annotator selector used for the analysis (if any).
    * 
* - * - * .google.cloud.contactcenterinsights.v1.AnnotatorSelector annotator_selector = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.contactcenterinsights.v1.AnnotatorSelector annotator_selector = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - com.google.cloud.contactcenterinsights.v1.AnnotatorSelectorOrBuilder - getAnnotatorSelectorOrBuilder(); + com.google.cloud.contactcenterinsights.v1.AnnotatorSelectorOrBuilder getAnnotatorSelectorOrBuilder(); } diff --git a/java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/CreateAnalysisRequest.java b/owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/CreateAnalysisRequest.java similarity index 58% rename from java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/CreateAnalysisRequest.java rename to owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/CreateAnalysisRequest.java index 0e653efddaf7..c85cdc5bd54d 100644 --- a/java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/CreateAnalysisRequest.java +++ b/owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/CreateAnalysisRequest.java @@ -1,87 +1,62 @@ -/* - * 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. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/contactcenterinsights/v1/contact_center_insights.proto package com.google.cloud.contactcenterinsights.v1; /** - * - * *
  * The request to create an analysis.
  * 
* * Protobuf type {@code google.cloud.contactcenterinsights.v1.CreateAnalysisRequest} */ -public final class CreateAnalysisRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class CreateAnalysisRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.contactcenterinsights.v1.CreateAnalysisRequest) CreateAnalysisRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use CreateAnalysisRequest.newBuilder() to construct. private CreateAnalysisRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private CreateAnalysisRequest() { parent_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new CreateAnalysisRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto - .internal_static_google_cloud_contactcenterinsights_v1_CreateAnalysisRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto.internal_static_google_cloud_contactcenterinsights_v1_CreateAnalysisRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto - .internal_static_google_cloud_contactcenterinsights_v1_CreateAnalysisRequest_fieldAccessorTable + return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto.internal_static_google_cloud_contactcenterinsights_v1_CreateAnalysisRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.contactcenterinsights.v1.CreateAnalysisRequest.class, - com.google.cloud.contactcenterinsights.v1.CreateAnalysisRequest.Builder.class); + com.google.cloud.contactcenterinsights.v1.CreateAnalysisRequest.class, com.google.cloud.contactcenterinsights.v1.CreateAnalysisRequest.Builder.class); } public static final int PARENT_FIELD_NUMBER = 1; - @SuppressWarnings("serial") private volatile java.lang.Object parent_ = ""; /** - * - * *
    * Required. The parent resource of the analysis.
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The parent. */ @java.lang.Override @@ -90,31 +65,29 @@ public java.lang.String getParent() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; } } /** - * - * *
    * Required. The parent resource of the analysis.
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for parent. */ @java.lang.Override - public com.google.protobuf.ByteString getParentBytes() { + public com.google.protobuf.ByteString + getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); parent_ = b; return b; } else { @@ -125,16 +98,11 @@ public com.google.protobuf.ByteString getParentBytes() { public static final int ANALYSIS_FIELD_NUMBER = 2; private com.google.cloud.contactcenterinsights.v1.Analysis analysis_; /** - * - * *
    * Required. The analysis to create.
    * 
* - * - * .google.cloud.contactcenterinsights.v1.Analysis analysis = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.contactcenterinsights.v1.Analysis analysis = 2 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the analysis field is set. */ @java.lang.Override @@ -142,44 +110,30 @@ public boolean hasAnalysis() { return analysis_ != null; } /** - * - * *
    * Required. The analysis to create.
    * 
* - * - * .google.cloud.contactcenterinsights.v1.Analysis analysis = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.contactcenterinsights.v1.Analysis analysis = 2 [(.google.api.field_behavior) = REQUIRED]; * @return The analysis. */ @java.lang.Override public com.google.cloud.contactcenterinsights.v1.Analysis getAnalysis() { - return analysis_ == null - ? com.google.cloud.contactcenterinsights.v1.Analysis.getDefaultInstance() - : analysis_; + return analysis_ == null ? com.google.cloud.contactcenterinsights.v1.Analysis.getDefaultInstance() : analysis_; } /** - * - * *
    * Required. The analysis to create.
    * 
* - * - * .google.cloud.contactcenterinsights.v1.Analysis analysis = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.contactcenterinsights.v1.Analysis analysis = 2 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override public com.google.cloud.contactcenterinsights.v1.AnalysisOrBuilder getAnalysisOrBuilder() { - return analysis_ == null - ? com.google.cloud.contactcenterinsights.v1.Analysis.getDefaultInstance() - : analysis_; + return analysis_ == null ? com.google.cloud.contactcenterinsights.v1.Analysis.getDefaultInstance() : analysis_; } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -191,7 +145,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); } @@ -211,7 +166,8 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, parent_); } if (analysis_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getAnalysis()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, getAnalysis()); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -221,18 +177,19 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.contactcenterinsights.v1.CreateAnalysisRequest)) { return super.equals(obj); } - com.google.cloud.contactcenterinsights.v1.CreateAnalysisRequest other = - (com.google.cloud.contactcenterinsights.v1.CreateAnalysisRequest) obj; + com.google.cloud.contactcenterinsights.v1.CreateAnalysisRequest other = (com.google.cloud.contactcenterinsights.v1.CreateAnalysisRequest) obj; - if (!getParent().equals(other.getParent())) return false; + if (!getParent() + .equals(other.getParent())) return false; if (hasAnalysis() != other.hasAnalysis()) return false; if (hasAnalysis()) { - if (!getAnalysis().equals(other.getAnalysis())) return false; + if (!getAnalysis() + .equals(other.getAnalysis())) return false; } if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -257,136 +214,129 @@ public int hashCode() { } public static com.google.cloud.contactcenterinsights.v1.CreateAnalysisRequest parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.contactcenterinsights.v1.CreateAnalysisRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.contactcenterinsights.v1.CreateAnalysisRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.contactcenterinsights.v1.CreateAnalysisRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.contactcenterinsights.v1.CreateAnalysisRequest parseFrom( - byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.contactcenterinsights.v1.CreateAnalysisRequest parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.contactcenterinsights.v1.CreateAnalysisRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.contactcenterinsights.v1.CreateAnalysisRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.contactcenterinsights.v1.CreateAnalysisRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.contactcenterinsights.v1.CreateAnalysisRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.contactcenterinsights.v1.CreateAnalysisRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.contactcenterinsights.v1.CreateAnalysisRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.contactcenterinsights.v1.CreateAnalysisRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.contactcenterinsights.v1.CreateAnalysisRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.contactcenterinsights.v1.CreateAnalysisRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.contactcenterinsights.v1.CreateAnalysisRequest prototype) { + public static Builder newBuilder(com.google.cloud.contactcenterinsights.v1.CreateAnalysisRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * The request to create an analysis.
    * 
* * Protobuf type {@code google.cloud.contactcenterinsights.v1.CreateAnalysisRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.contactcenterinsights.v1.CreateAnalysisRequest) com.google.cloud.contactcenterinsights.v1.CreateAnalysisRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto - .internal_static_google_cloud_contactcenterinsights_v1_CreateAnalysisRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto.internal_static_google_cloud_contactcenterinsights_v1_CreateAnalysisRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto - .internal_static_google_cloud_contactcenterinsights_v1_CreateAnalysisRequest_fieldAccessorTable + return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto.internal_static_google_cloud_contactcenterinsights_v1_CreateAnalysisRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.contactcenterinsights.v1.CreateAnalysisRequest.class, - com.google.cloud.contactcenterinsights.v1.CreateAnalysisRequest.Builder.class); + com.google.cloud.contactcenterinsights.v1.CreateAnalysisRequest.class, com.google.cloud.contactcenterinsights.v1.CreateAnalysisRequest.Builder.class); } // Construct using com.google.cloud.contactcenterinsights.v1.CreateAnalysisRequest.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -401,14 +351,13 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto - .internal_static_google_cloud_contactcenterinsights_v1_CreateAnalysisRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto.internal_static_google_cloud_contactcenterinsights_v1_CreateAnalysisRequest_descriptor; } @java.lang.Override - public com.google.cloud.contactcenterinsights.v1.CreateAnalysisRequest - getDefaultInstanceForType() { + public com.google.cloud.contactcenterinsights.v1.CreateAnalysisRequest getDefaultInstanceForType() { return com.google.cloud.contactcenterinsights.v1.CreateAnalysisRequest.getDefaultInstance(); } @@ -423,23 +372,21 @@ public com.google.cloud.contactcenterinsights.v1.CreateAnalysisRequest build() { @java.lang.Override public com.google.cloud.contactcenterinsights.v1.CreateAnalysisRequest buildPartial() { - com.google.cloud.contactcenterinsights.v1.CreateAnalysisRequest result = - new com.google.cloud.contactcenterinsights.v1.CreateAnalysisRequest(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + com.google.cloud.contactcenterinsights.v1.CreateAnalysisRequest result = new com.google.cloud.contactcenterinsights.v1.CreateAnalysisRequest(this); + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } - private void buildPartial0( - com.google.cloud.contactcenterinsights.v1.CreateAnalysisRequest result) { + private void buildPartial0(com.google.cloud.contactcenterinsights.v1.CreateAnalysisRequest result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { result.parent_ = parent_; } if (((from_bitField0_ & 0x00000002) != 0)) { - result.analysis_ = analysisBuilder_ == null ? analysis_ : analysisBuilder_.build(); + result.analysis_ = analysisBuilder_ == null + ? analysis_ + : analysisBuilder_.build(); } } @@ -447,50 +394,46 @@ private void buildPartial0( public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.contactcenterinsights.v1.CreateAnalysisRequest) { - return mergeFrom((com.google.cloud.contactcenterinsights.v1.CreateAnalysisRequest) other); + return mergeFrom((com.google.cloud.contactcenterinsights.v1.CreateAnalysisRequest)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom( - com.google.cloud.contactcenterinsights.v1.CreateAnalysisRequest other) { - if (other - == com.google.cloud.contactcenterinsights.v1.CreateAnalysisRequest.getDefaultInstance()) - return this; + public Builder mergeFrom(com.google.cloud.contactcenterinsights.v1.CreateAnalysisRequest other) { + if (other == com.google.cloud.contactcenterinsights.v1.CreateAnalysisRequest.getDefaultInstance()) return this; if (!other.getParent().isEmpty()) { parent_ = other.parent_; bitField0_ |= 0x00000001; @@ -525,25 +468,24 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - parent_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: - { - input.readMessage(getAnalysisFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00000002; - break; - } // case 18 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + parent_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: { + input.readMessage( + getAnalysisFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00000002; + break; + } // case 18 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -553,27 +495,22 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private java.lang.Object parent_ = ""; /** - * - * *
      * Required. The parent resource of the analysis.
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The parent. */ public java.lang.String getParent() { java.lang.Object ref = parent_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; @@ -582,23 +519,20 @@ public java.lang.String getParent() { } } /** - * - * *
      * Required. The parent resource of the analysis.
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for parent. */ - public com.google.protobuf.ByteString getParentBytes() { + public com.google.protobuf.ByteString + getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); parent_ = b; return b; } else { @@ -606,39 +540,28 @@ public com.google.protobuf.ByteString getParentBytes() { } } /** - * - * *
      * Required. The parent resource of the analysis.
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The parent to set. * @return This builder for chaining. */ - public Builder setParent(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setParent( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } parent_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
      * Required. The parent resource of the analysis.
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearParent() { @@ -648,23 +571,17 @@ public Builder clearParent() { return this; } /** - * - * *
      * Required. The parent resource of the analysis.
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setParentBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); parent_ = value; bitField0_ |= 0x00000001; @@ -674,58 +591,39 @@ public Builder setParentBytes(com.google.protobuf.ByteString value) { private com.google.cloud.contactcenterinsights.v1.Analysis analysis_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.contactcenterinsights.v1.Analysis, - com.google.cloud.contactcenterinsights.v1.Analysis.Builder, - com.google.cloud.contactcenterinsights.v1.AnalysisOrBuilder> - analysisBuilder_; + com.google.cloud.contactcenterinsights.v1.Analysis, com.google.cloud.contactcenterinsights.v1.Analysis.Builder, com.google.cloud.contactcenterinsights.v1.AnalysisOrBuilder> analysisBuilder_; /** - * - * *
      * Required. The analysis to create.
      * 
* - * - * .google.cloud.contactcenterinsights.v1.Analysis analysis = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.contactcenterinsights.v1.Analysis analysis = 2 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the analysis field is set. */ public boolean hasAnalysis() { return ((bitField0_ & 0x00000002) != 0); } /** - * - * *
      * Required. The analysis to create.
      * 
* - * - * .google.cloud.contactcenterinsights.v1.Analysis analysis = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.contactcenterinsights.v1.Analysis analysis = 2 [(.google.api.field_behavior) = REQUIRED]; * @return The analysis. */ public com.google.cloud.contactcenterinsights.v1.Analysis getAnalysis() { if (analysisBuilder_ == null) { - return analysis_ == null - ? com.google.cloud.contactcenterinsights.v1.Analysis.getDefaultInstance() - : analysis_; + return analysis_ == null ? com.google.cloud.contactcenterinsights.v1.Analysis.getDefaultInstance() : analysis_; } else { return analysisBuilder_.getMessage(); } } /** - * - * *
      * Required. The analysis to create.
      * 
* - * - * .google.cloud.contactcenterinsights.v1.Analysis analysis = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.contactcenterinsights.v1.Analysis analysis = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder setAnalysis(com.google.cloud.contactcenterinsights.v1.Analysis value) { if (analysisBuilder_ == null) { @@ -741,15 +639,11 @@ public Builder setAnalysis(com.google.cloud.contactcenterinsights.v1.Analysis va return this; } /** - * - * *
      * Required. The analysis to create.
      * 
* - * - * .google.cloud.contactcenterinsights.v1.Analysis analysis = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.contactcenterinsights.v1.Analysis analysis = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder setAnalysis( com.google.cloud.contactcenterinsights.v1.Analysis.Builder builderForValue) { @@ -763,22 +657,17 @@ public Builder setAnalysis( return this; } /** - * - * *
      * Required. The analysis to create.
      * 
* - * - * .google.cloud.contactcenterinsights.v1.Analysis analysis = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.contactcenterinsights.v1.Analysis analysis = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder mergeAnalysis(com.google.cloud.contactcenterinsights.v1.Analysis value) { if (analysisBuilder_ == null) { - if (((bitField0_ & 0x00000002) != 0) - && analysis_ != null - && analysis_ - != com.google.cloud.contactcenterinsights.v1.Analysis.getDefaultInstance()) { + if (((bitField0_ & 0x00000002) != 0) && + analysis_ != null && + analysis_ != com.google.cloud.contactcenterinsights.v1.Analysis.getDefaultInstance()) { getAnalysisBuilder().mergeFrom(value); } else { analysis_ = value; @@ -791,15 +680,11 @@ public Builder mergeAnalysis(com.google.cloud.contactcenterinsights.v1.Analysis return this; } /** - * - * *
      * Required. The analysis to create.
      * 
* - * - * .google.cloud.contactcenterinsights.v1.Analysis analysis = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.contactcenterinsights.v1.Analysis analysis = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder clearAnalysis() { bitField0_ = (bitField0_ & ~0x00000002); @@ -812,15 +697,11 @@ public Builder clearAnalysis() { return this; } /** - * - * *
      * Required. The analysis to create.
      * 
* - * - * .google.cloud.contactcenterinsights.v1.Analysis analysis = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.contactcenterinsights.v1.Analysis analysis = 2 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.cloud.contactcenterinsights.v1.Analysis.Builder getAnalysisBuilder() { bitField0_ |= 0x00000002; @@ -828,55 +709,43 @@ public com.google.cloud.contactcenterinsights.v1.Analysis.Builder getAnalysisBui return getAnalysisFieldBuilder().getBuilder(); } /** - * - * *
      * Required. The analysis to create.
      * 
* - * - * .google.cloud.contactcenterinsights.v1.Analysis analysis = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.contactcenterinsights.v1.Analysis analysis = 2 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.cloud.contactcenterinsights.v1.AnalysisOrBuilder getAnalysisOrBuilder() { if (analysisBuilder_ != null) { return analysisBuilder_.getMessageOrBuilder(); } else { - return analysis_ == null - ? com.google.cloud.contactcenterinsights.v1.Analysis.getDefaultInstance() - : analysis_; + return analysis_ == null ? + com.google.cloud.contactcenterinsights.v1.Analysis.getDefaultInstance() : analysis_; } } /** - * - * *
      * Required. The analysis to create.
      * 
* - * - * .google.cloud.contactcenterinsights.v1.Analysis analysis = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.contactcenterinsights.v1.Analysis analysis = 2 [(.google.api.field_behavior) = REQUIRED]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.contactcenterinsights.v1.Analysis, - com.google.cloud.contactcenterinsights.v1.Analysis.Builder, - com.google.cloud.contactcenterinsights.v1.AnalysisOrBuilder> + com.google.cloud.contactcenterinsights.v1.Analysis, com.google.cloud.contactcenterinsights.v1.Analysis.Builder, com.google.cloud.contactcenterinsights.v1.AnalysisOrBuilder> getAnalysisFieldBuilder() { if (analysisBuilder_ == null) { - analysisBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.contactcenterinsights.v1.Analysis, - com.google.cloud.contactcenterinsights.v1.Analysis.Builder, - com.google.cloud.contactcenterinsights.v1.AnalysisOrBuilder>( - getAnalysis(), getParentForChildren(), isClean()); + analysisBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.contactcenterinsights.v1.Analysis, com.google.cloud.contactcenterinsights.v1.Analysis.Builder, com.google.cloud.contactcenterinsights.v1.AnalysisOrBuilder>( + getAnalysis(), + getParentForChildren(), + isClean()); analysis_ = null; } return analysisBuilder_; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -886,43 +755,41 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.contactcenterinsights.v1.CreateAnalysisRequest) } // @@protoc_insertion_point(class_scope:google.cloud.contactcenterinsights.v1.CreateAnalysisRequest) - private static final com.google.cloud.contactcenterinsights.v1.CreateAnalysisRequest - DEFAULT_INSTANCE; - + private static final com.google.cloud.contactcenterinsights.v1.CreateAnalysisRequest DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.cloud.contactcenterinsights.v1.CreateAnalysisRequest(); } - public static com.google.cloud.contactcenterinsights.v1.CreateAnalysisRequest - getDefaultInstance() { + public static com.google.cloud.contactcenterinsights.v1.CreateAnalysisRequest getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public CreateAnalysisRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public CreateAnalysisRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -934,8 +801,9 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.cloud.contactcenterinsights.v1.CreateAnalysisRequest - getDefaultInstanceForType() { + public com.google.cloud.contactcenterinsights.v1.CreateAnalysisRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/CreateAnalysisRequestOrBuilder.java b/owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/CreateAnalysisRequestOrBuilder.java new file mode 100644 index 000000000000..648bc721d960 --- /dev/null +++ b/owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/CreateAnalysisRequestOrBuilder.java @@ -0,0 +1,56 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/contactcenterinsights/v1/contact_center_insights.proto + +package com.google.cloud.contactcenterinsights.v1; + +public interface CreateAnalysisRequestOrBuilder extends + // @@protoc_insertion_point(interface_extends:google.cloud.contactcenterinsights.v1.CreateAnalysisRequest) + com.google.protobuf.MessageOrBuilder { + + /** + *
+   * Required. The parent resource of the analysis.
+   * 
+ * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The parent. + */ + java.lang.String getParent(); + /** + *
+   * Required. The parent resource of the analysis.
+   * 
+ * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The bytes for parent. + */ + com.google.protobuf.ByteString + getParentBytes(); + + /** + *
+   * Required. The analysis to create.
+   * 
+ * + * .google.cloud.contactcenterinsights.v1.Analysis analysis = 2 [(.google.api.field_behavior) = REQUIRED]; + * @return Whether the analysis field is set. + */ + boolean hasAnalysis(); + /** + *
+   * Required. The analysis to create.
+   * 
+ * + * .google.cloud.contactcenterinsights.v1.Analysis analysis = 2 [(.google.api.field_behavior) = REQUIRED]; + * @return The analysis. + */ + com.google.cloud.contactcenterinsights.v1.Analysis getAnalysis(); + /** + *
+   * Required. The analysis to create.
+   * 
+ * + * .google.cloud.contactcenterinsights.v1.Analysis analysis = 2 [(.google.api.field_behavior) = REQUIRED]; + */ + com.google.cloud.contactcenterinsights.v1.AnalysisOrBuilder getAnalysisOrBuilder(); +} diff --git a/java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/CreateConversationRequest.java b/owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/CreateConversationRequest.java similarity index 62% rename from java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/CreateConversationRequest.java rename to owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/CreateConversationRequest.java index 11f68188a634..2fe14c4c0bdf 100644 --- a/java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/CreateConversationRequest.java +++ b/owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/CreateConversationRequest.java @@ -1,42 +1,24 @@ -/* - * 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. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/contactcenterinsights/v1/contact_center_insights.proto package com.google.cloud.contactcenterinsights.v1; /** - * - * *
  * Request to create a conversation.
  * 
* * Protobuf type {@code google.cloud.contactcenterinsights.v1.CreateConversationRequest} */ -public final class CreateConversationRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class CreateConversationRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.contactcenterinsights.v1.CreateConversationRequest) CreateConversationRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use CreateConversationRequest.newBuilder() to construct. private CreateConversationRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private CreateConversationRequest() { parent_ = ""; conversationId_ = ""; @@ -44,45 +26,38 @@ private CreateConversationRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new CreateConversationRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto - .internal_static_google_cloud_contactcenterinsights_v1_CreateConversationRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto.internal_static_google_cloud_contactcenterinsights_v1_CreateConversationRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto - .internal_static_google_cloud_contactcenterinsights_v1_CreateConversationRequest_fieldAccessorTable + return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto.internal_static_google_cloud_contactcenterinsights_v1_CreateConversationRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.contactcenterinsights.v1.CreateConversationRequest.class, - com.google.cloud.contactcenterinsights.v1.CreateConversationRequest.Builder.class); + com.google.cloud.contactcenterinsights.v1.CreateConversationRequest.class, com.google.cloud.contactcenterinsights.v1.CreateConversationRequest.Builder.class); } public static final int PARENT_FIELD_NUMBER = 1; - @SuppressWarnings("serial") private volatile java.lang.Object parent_ = ""; /** - * - * *
    * Required. The parent resource of the conversation.
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The parent. */ @java.lang.Override @@ -91,31 +66,29 @@ public java.lang.String getParent() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; } } /** - * - * *
    * Required. The parent resource of the conversation.
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for parent. */ @java.lang.Override - public com.google.protobuf.ByteString getParentBytes() { + public com.google.protobuf.ByteString + getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); parent_ = b; return b; } else { @@ -126,16 +99,11 @@ public com.google.protobuf.ByteString getParentBytes() { public static final int CONVERSATION_FIELD_NUMBER = 2; private com.google.cloud.contactcenterinsights.v1.Conversation conversation_; /** - * - * *
    * Required. The conversation resource to create.
    * 
* - * - * .google.cloud.contactcenterinsights.v1.Conversation conversation = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.contactcenterinsights.v1.Conversation conversation = 2 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the conversation field is set. */ @java.lang.Override @@ -143,50 +111,33 @@ public boolean hasConversation() { return conversation_ != null; } /** - * - * *
    * Required. The conversation resource to create.
    * 
* - * - * .google.cloud.contactcenterinsights.v1.Conversation conversation = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.contactcenterinsights.v1.Conversation conversation = 2 [(.google.api.field_behavior) = REQUIRED]; * @return The conversation. */ @java.lang.Override public com.google.cloud.contactcenterinsights.v1.Conversation getConversation() { - return conversation_ == null - ? com.google.cloud.contactcenterinsights.v1.Conversation.getDefaultInstance() - : conversation_; + return conversation_ == null ? com.google.cloud.contactcenterinsights.v1.Conversation.getDefaultInstance() : conversation_; } /** - * - * *
    * Required. The conversation resource to create.
    * 
* - * - * .google.cloud.contactcenterinsights.v1.Conversation conversation = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.contactcenterinsights.v1.Conversation conversation = 2 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override - public com.google.cloud.contactcenterinsights.v1.ConversationOrBuilder - getConversationOrBuilder() { - return conversation_ == null - ? com.google.cloud.contactcenterinsights.v1.Conversation.getDefaultInstance() - : conversation_; + public com.google.cloud.contactcenterinsights.v1.ConversationOrBuilder getConversationOrBuilder() { + return conversation_ == null ? com.google.cloud.contactcenterinsights.v1.Conversation.getDefaultInstance() : conversation_; } public static final int CONVERSATION_ID_FIELD_NUMBER = 3; - @SuppressWarnings("serial") private volatile java.lang.Object conversationId_ = ""; /** - * - * *
    * A unique ID for the new conversation. This ID will become the final
    * component of the conversation's resource name. If no ID is specified, a
@@ -196,7 +147,6 @@ public com.google.cloud.contactcenterinsights.v1.Conversation getConversation()
    * 
* * string conversation_id = 3; - * * @return The conversationId. */ @java.lang.Override @@ -205,15 +155,14 @@ public java.lang.String getConversationId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); conversationId_ = s; return s; } } /** - * - * *
    * A unique ID for the new conversation. This ID will become the final
    * component of the conversation's resource name. If no ID is specified, a
@@ -223,15 +172,16 @@ public java.lang.String getConversationId() {
    * 
* * string conversation_id = 3; - * * @return The bytes for conversationId. */ @java.lang.Override - public com.google.protobuf.ByteString getConversationIdBytes() { + public com.google.protobuf.ByteString + getConversationIdBytes() { java.lang.Object ref = conversationId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); conversationId_ = b; return b; } else { @@ -240,7 +190,6 @@ public com.google.protobuf.ByteString getConversationIdBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -252,7 +201,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); } @@ -275,7 +225,8 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, parent_); } if (conversation_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getConversation()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, getConversation()); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(conversationId_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, conversationId_); @@ -288,20 +239,22 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.contactcenterinsights.v1.CreateConversationRequest)) { return super.equals(obj); } - com.google.cloud.contactcenterinsights.v1.CreateConversationRequest other = - (com.google.cloud.contactcenterinsights.v1.CreateConversationRequest) obj; + com.google.cloud.contactcenterinsights.v1.CreateConversationRequest other = (com.google.cloud.contactcenterinsights.v1.CreateConversationRequest) obj; - if (!getParent().equals(other.getParent())) return false; + if (!getParent() + .equals(other.getParent())) return false; if (hasConversation() != other.hasConversation()) return false; if (hasConversation()) { - if (!getConversation().equals(other.getConversation())) return false; + if (!getConversation() + .equals(other.getConversation())) return false; } - if (!getConversationId().equals(other.getConversationId())) return false; + if (!getConversationId() + .equals(other.getConversationId())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -327,138 +280,129 @@ public int hashCode() { } public static com.google.cloud.contactcenterinsights.v1.CreateConversationRequest parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.contactcenterinsights.v1.CreateConversationRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.contactcenterinsights.v1.CreateConversationRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.contactcenterinsights.v1.CreateConversationRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.contactcenterinsights.v1.CreateConversationRequest parseFrom( - byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.contactcenterinsights.v1.CreateConversationRequest parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.contactcenterinsights.v1.CreateConversationRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.contactcenterinsights.v1.CreateConversationRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.contactcenterinsights.v1.CreateConversationRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.contactcenterinsights.v1.CreateConversationRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.contactcenterinsights.v1.CreateConversationRequest - parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.contactcenterinsights.v1.CreateConversationRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - - public static com.google.cloud.contactcenterinsights.v1.CreateConversationRequest - parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + public static com.google.cloud.contactcenterinsights.v1.CreateConversationRequest parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.contactcenterinsights.v1.CreateConversationRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.contactcenterinsights.v1.CreateConversationRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.contactcenterinsights.v1.CreateConversationRequest prototype) { + public static Builder newBuilder(com.google.cloud.contactcenterinsights.v1.CreateConversationRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Request to create a conversation.
    * 
* * Protobuf type {@code google.cloud.contactcenterinsights.v1.CreateConversationRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.contactcenterinsights.v1.CreateConversationRequest) com.google.cloud.contactcenterinsights.v1.CreateConversationRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto - .internal_static_google_cloud_contactcenterinsights_v1_CreateConversationRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto.internal_static_google_cloud_contactcenterinsights_v1_CreateConversationRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto - .internal_static_google_cloud_contactcenterinsights_v1_CreateConversationRequest_fieldAccessorTable + return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto.internal_static_google_cloud_contactcenterinsights_v1_CreateConversationRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.contactcenterinsights.v1.CreateConversationRequest.class, - com.google.cloud.contactcenterinsights.v1.CreateConversationRequest.Builder.class); + com.google.cloud.contactcenterinsights.v1.CreateConversationRequest.class, com.google.cloud.contactcenterinsights.v1.CreateConversationRequest.Builder.class); } - // Construct using - // com.google.cloud.contactcenterinsights.v1.CreateConversationRequest.newBuilder() - private Builder() {} + // Construct using com.google.cloud.contactcenterinsights.v1.CreateConversationRequest.newBuilder() + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -474,16 +418,14 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto - .internal_static_google_cloud_contactcenterinsights_v1_CreateConversationRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto.internal_static_google_cloud_contactcenterinsights_v1_CreateConversationRequest_descriptor; } @java.lang.Override - public com.google.cloud.contactcenterinsights.v1.CreateConversationRequest - getDefaultInstanceForType() { - return com.google.cloud.contactcenterinsights.v1.CreateConversationRequest - .getDefaultInstance(); + public com.google.cloud.contactcenterinsights.v1.CreateConversationRequest getDefaultInstanceForType() { + return com.google.cloud.contactcenterinsights.v1.CreateConversationRequest.getDefaultInstance(); } @java.lang.Override @@ -497,24 +439,21 @@ public com.google.cloud.contactcenterinsights.v1.CreateConversationRequest build @java.lang.Override public com.google.cloud.contactcenterinsights.v1.CreateConversationRequest buildPartial() { - com.google.cloud.contactcenterinsights.v1.CreateConversationRequest result = - new com.google.cloud.contactcenterinsights.v1.CreateConversationRequest(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + com.google.cloud.contactcenterinsights.v1.CreateConversationRequest result = new com.google.cloud.contactcenterinsights.v1.CreateConversationRequest(this); + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } - private void buildPartial0( - com.google.cloud.contactcenterinsights.v1.CreateConversationRequest result) { + private void buildPartial0(com.google.cloud.contactcenterinsights.v1.CreateConversationRequest result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { result.parent_ = parent_; } if (((from_bitField0_ & 0x00000002) != 0)) { - result.conversation_ = - conversationBuilder_ == null ? conversation_ : conversationBuilder_.build(); + result.conversation_ = conversationBuilder_ == null + ? conversation_ + : conversationBuilder_.build(); } if (((from_bitField0_ & 0x00000004) != 0)) { result.conversationId_ = conversationId_; @@ -525,51 +464,46 @@ private void buildPartial0( public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.contactcenterinsights.v1.CreateConversationRequest) { - return mergeFrom( - (com.google.cloud.contactcenterinsights.v1.CreateConversationRequest) other); + return mergeFrom((com.google.cloud.contactcenterinsights.v1.CreateConversationRequest)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom( - com.google.cloud.contactcenterinsights.v1.CreateConversationRequest other) { - if (other - == com.google.cloud.contactcenterinsights.v1.CreateConversationRequest - .getDefaultInstance()) return this; + public Builder mergeFrom(com.google.cloud.contactcenterinsights.v1.CreateConversationRequest other) { + if (other == com.google.cloud.contactcenterinsights.v1.CreateConversationRequest.getDefaultInstance()) return this; if (!other.getParent().isEmpty()) { parent_ = other.parent_; bitField0_ |= 0x00000001; @@ -609,31 +543,29 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - parent_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: - { - input.readMessage(getConversationFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00000002; - break; - } // case 18 - case 26: - { - conversationId_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000004; - break; - } // case 26 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + parent_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: { + input.readMessage( + getConversationFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00000002; + break; + } // case 18 + case 26: { + conversationId_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000004; + break; + } // case 26 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -643,27 +575,22 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private java.lang.Object parent_ = ""; /** - * - * *
      * Required. The parent resource of the conversation.
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The parent. */ public java.lang.String getParent() { java.lang.Object ref = parent_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; @@ -672,23 +599,20 @@ public java.lang.String getParent() { } } /** - * - * *
      * Required. The parent resource of the conversation.
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for parent. */ - public com.google.protobuf.ByteString getParentBytes() { + public com.google.protobuf.ByteString + getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); parent_ = b; return b; } else { @@ -696,39 +620,28 @@ public com.google.protobuf.ByteString getParentBytes() { } } /** - * - * *
      * Required. The parent resource of the conversation.
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The parent to set. * @return This builder for chaining. */ - public Builder setParent(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setParent( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } parent_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
      * Required. The parent resource of the conversation.
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearParent() { @@ -738,23 +651,17 @@ public Builder clearParent() { return this; } /** - * - * *
      * Required. The parent resource of the conversation.
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setParentBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); parent_ = value; bitField0_ |= 0x00000001; @@ -764,58 +671,39 @@ public Builder setParentBytes(com.google.protobuf.ByteString value) { private com.google.cloud.contactcenterinsights.v1.Conversation conversation_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.contactcenterinsights.v1.Conversation, - com.google.cloud.contactcenterinsights.v1.Conversation.Builder, - com.google.cloud.contactcenterinsights.v1.ConversationOrBuilder> - conversationBuilder_; + com.google.cloud.contactcenterinsights.v1.Conversation, com.google.cloud.contactcenterinsights.v1.Conversation.Builder, com.google.cloud.contactcenterinsights.v1.ConversationOrBuilder> conversationBuilder_; /** - * - * *
      * Required. The conversation resource to create.
      * 
* - * - * .google.cloud.contactcenterinsights.v1.Conversation conversation = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.contactcenterinsights.v1.Conversation conversation = 2 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the conversation field is set. */ public boolean hasConversation() { return ((bitField0_ & 0x00000002) != 0); } /** - * - * *
      * Required. The conversation resource to create.
      * 
* - * - * .google.cloud.contactcenterinsights.v1.Conversation conversation = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.contactcenterinsights.v1.Conversation conversation = 2 [(.google.api.field_behavior) = REQUIRED]; * @return The conversation. */ public com.google.cloud.contactcenterinsights.v1.Conversation getConversation() { if (conversationBuilder_ == null) { - return conversation_ == null - ? com.google.cloud.contactcenterinsights.v1.Conversation.getDefaultInstance() - : conversation_; + return conversation_ == null ? com.google.cloud.contactcenterinsights.v1.Conversation.getDefaultInstance() : conversation_; } else { return conversationBuilder_.getMessage(); } } /** - * - * *
      * Required. The conversation resource to create.
      * 
* - * - * .google.cloud.contactcenterinsights.v1.Conversation conversation = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.contactcenterinsights.v1.Conversation conversation = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder setConversation(com.google.cloud.contactcenterinsights.v1.Conversation value) { if (conversationBuilder_ == null) { @@ -831,15 +719,11 @@ public Builder setConversation(com.google.cloud.contactcenterinsights.v1.Convers return this; } /** - * - * *
      * Required. The conversation resource to create.
      * 
* - * - * .google.cloud.contactcenterinsights.v1.Conversation conversation = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.contactcenterinsights.v1.Conversation conversation = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder setConversation( com.google.cloud.contactcenterinsights.v1.Conversation.Builder builderForValue) { @@ -853,22 +737,17 @@ public Builder setConversation( return this; } /** - * - * *
      * Required. The conversation resource to create.
      * 
* - * - * .google.cloud.contactcenterinsights.v1.Conversation conversation = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.contactcenterinsights.v1.Conversation conversation = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder mergeConversation(com.google.cloud.contactcenterinsights.v1.Conversation value) { if (conversationBuilder_ == null) { - if (((bitField0_ & 0x00000002) != 0) - && conversation_ != null - && conversation_ - != com.google.cloud.contactcenterinsights.v1.Conversation.getDefaultInstance()) { + if (((bitField0_ & 0x00000002) != 0) && + conversation_ != null && + conversation_ != com.google.cloud.contactcenterinsights.v1.Conversation.getDefaultInstance()) { getConversationBuilder().mergeFrom(value); } else { conversation_ = value; @@ -881,15 +760,11 @@ public Builder mergeConversation(com.google.cloud.contactcenterinsights.v1.Conve return this; } /** - * - * *
      * Required. The conversation resource to create.
      * 
* - * - * .google.cloud.contactcenterinsights.v1.Conversation conversation = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.contactcenterinsights.v1.Conversation conversation = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder clearConversation() { bitField0_ = (bitField0_ & ~0x00000002); @@ -902,15 +777,11 @@ public Builder clearConversation() { return this; } /** - * - * *
      * Required. The conversation resource to create.
      * 
* - * - * .google.cloud.contactcenterinsights.v1.Conversation conversation = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.contactcenterinsights.v1.Conversation conversation = 2 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.cloud.contactcenterinsights.v1.Conversation.Builder getConversationBuilder() { bitField0_ |= 0x00000002; @@ -918,49 +789,36 @@ public com.google.cloud.contactcenterinsights.v1.Conversation.Builder getConvers return getConversationFieldBuilder().getBuilder(); } /** - * - * *
      * Required. The conversation resource to create.
      * 
* - * - * .google.cloud.contactcenterinsights.v1.Conversation conversation = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.contactcenterinsights.v1.Conversation conversation = 2 [(.google.api.field_behavior) = REQUIRED]; */ - public com.google.cloud.contactcenterinsights.v1.ConversationOrBuilder - getConversationOrBuilder() { + public com.google.cloud.contactcenterinsights.v1.ConversationOrBuilder getConversationOrBuilder() { if (conversationBuilder_ != null) { return conversationBuilder_.getMessageOrBuilder(); } else { - return conversation_ == null - ? com.google.cloud.contactcenterinsights.v1.Conversation.getDefaultInstance() - : conversation_; + return conversation_ == null ? + com.google.cloud.contactcenterinsights.v1.Conversation.getDefaultInstance() : conversation_; } } /** - * - * *
      * Required. The conversation resource to create.
      * 
* - * - * .google.cloud.contactcenterinsights.v1.Conversation conversation = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.contactcenterinsights.v1.Conversation conversation = 2 [(.google.api.field_behavior) = REQUIRED]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.contactcenterinsights.v1.Conversation, - com.google.cloud.contactcenterinsights.v1.Conversation.Builder, - com.google.cloud.contactcenterinsights.v1.ConversationOrBuilder> + com.google.cloud.contactcenterinsights.v1.Conversation, com.google.cloud.contactcenterinsights.v1.Conversation.Builder, com.google.cloud.contactcenterinsights.v1.ConversationOrBuilder> getConversationFieldBuilder() { if (conversationBuilder_ == null) { - conversationBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.contactcenterinsights.v1.Conversation, - com.google.cloud.contactcenterinsights.v1.Conversation.Builder, - com.google.cloud.contactcenterinsights.v1.ConversationOrBuilder>( - getConversation(), getParentForChildren(), isClean()); + conversationBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.contactcenterinsights.v1.Conversation, com.google.cloud.contactcenterinsights.v1.Conversation.Builder, com.google.cloud.contactcenterinsights.v1.ConversationOrBuilder>( + getConversation(), + getParentForChildren(), + isClean()); conversation_ = null; } return conversationBuilder_; @@ -968,8 +826,6 @@ public com.google.cloud.contactcenterinsights.v1.Conversation.Builder getConvers private java.lang.Object conversationId_ = ""; /** - * - * *
      * A unique ID for the new conversation. This ID will become the final
      * component of the conversation's resource name. If no ID is specified, a
@@ -979,13 +835,13 @@ public com.google.cloud.contactcenterinsights.v1.Conversation.Builder getConvers
      * 
* * string conversation_id = 3; - * * @return The conversationId. */ public java.lang.String getConversationId() { java.lang.Object ref = conversationId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); conversationId_ = s; return s; @@ -994,8 +850,6 @@ public java.lang.String getConversationId() { } } /** - * - * *
      * A unique ID for the new conversation. This ID will become the final
      * component of the conversation's resource name. If no ID is specified, a
@@ -1005,14 +859,15 @@ public java.lang.String getConversationId() {
      * 
* * string conversation_id = 3; - * * @return The bytes for conversationId. */ - public com.google.protobuf.ByteString getConversationIdBytes() { + public com.google.protobuf.ByteString + getConversationIdBytes() { java.lang.Object ref = conversationId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); conversationId_ = b; return b; } else { @@ -1020,8 +875,6 @@ public com.google.protobuf.ByteString getConversationIdBytes() { } } /** - * - * *
      * A unique ID for the new conversation. This ID will become the final
      * component of the conversation's resource name. If no ID is specified, a
@@ -1031,22 +884,18 @@ public com.google.protobuf.ByteString getConversationIdBytes() {
      * 
* * string conversation_id = 3; - * * @param value The conversationId to set. * @return This builder for chaining. */ - public Builder setConversationId(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setConversationId( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } conversationId_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } /** - * - * *
      * A unique ID for the new conversation. This ID will become the final
      * component of the conversation's resource name. If no ID is specified, a
@@ -1056,7 +905,6 @@ public Builder setConversationId(java.lang.String value) {
      * 
* * string conversation_id = 3; - * * @return This builder for chaining. */ public Builder clearConversationId() { @@ -1066,8 +914,6 @@ public Builder clearConversationId() { return this; } /** - * - * *
      * A unique ID for the new conversation. This ID will become the final
      * component of the conversation's resource name. If no ID is specified, a
@@ -1077,23 +923,21 @@ public Builder clearConversationId() {
      * 
* * string conversation_id = 3; - * * @param value The bytes for conversationId to set. * @return This builder for chaining. */ - public Builder setConversationIdBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setConversationIdBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); conversationId_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1103,43 +947,41 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.contactcenterinsights.v1.CreateConversationRequest) } // @@protoc_insertion_point(class_scope:google.cloud.contactcenterinsights.v1.CreateConversationRequest) - private static final com.google.cloud.contactcenterinsights.v1.CreateConversationRequest - DEFAULT_INSTANCE; - + private static final com.google.cloud.contactcenterinsights.v1.CreateConversationRequest DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.cloud.contactcenterinsights.v1.CreateConversationRequest(); } - public static com.google.cloud.contactcenterinsights.v1.CreateConversationRequest - getDefaultInstance() { + public static com.google.cloud.contactcenterinsights.v1.CreateConversationRequest getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public CreateConversationRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public CreateConversationRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1151,8 +993,9 @@ public com.google.protobuf.Parser getParserForType() } @java.lang.Override - public com.google.cloud.contactcenterinsights.v1.CreateConversationRequest - getDefaultInstanceForType() { + public com.google.cloud.contactcenterinsights.v1.CreateConversationRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/CreateConversationRequestOrBuilder.java b/owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/CreateConversationRequestOrBuilder.java similarity index 57% rename from java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/CreateConversationRequestOrBuilder.java rename to owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/CreateConversationRequestOrBuilder.java index 665ce99cfb7d..62a507c39d45 100644 --- a/java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/CreateConversationRequestOrBuilder.java +++ b/owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/CreateConversationRequestOrBuilder.java @@ -1,101 +1,60 @@ -/* - * 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. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/contactcenterinsights/v1/contact_center_insights.proto package com.google.cloud.contactcenterinsights.v1; -public interface CreateConversationRequestOrBuilder - extends +public interface CreateConversationRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.contactcenterinsights.v1.CreateConversationRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Required. The parent resource of the conversation.
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The parent. */ java.lang.String getParent(); /** - * - * *
    * Required. The parent resource of the conversation.
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for parent. */ - com.google.protobuf.ByteString getParentBytes(); + com.google.protobuf.ByteString + getParentBytes(); /** - * - * *
    * Required. The conversation resource to create.
    * 
* - * - * .google.cloud.contactcenterinsights.v1.Conversation conversation = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.contactcenterinsights.v1.Conversation conversation = 2 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the conversation field is set. */ boolean hasConversation(); /** - * - * *
    * Required. The conversation resource to create.
    * 
* - * - * .google.cloud.contactcenterinsights.v1.Conversation conversation = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.contactcenterinsights.v1.Conversation conversation = 2 [(.google.api.field_behavior) = REQUIRED]; * @return The conversation. */ com.google.cloud.contactcenterinsights.v1.Conversation getConversation(); /** - * - * *
    * Required. The conversation resource to create.
    * 
* - * - * .google.cloud.contactcenterinsights.v1.Conversation conversation = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.contactcenterinsights.v1.Conversation conversation = 2 [(.google.api.field_behavior) = REQUIRED]; */ com.google.cloud.contactcenterinsights.v1.ConversationOrBuilder getConversationOrBuilder(); /** - * - * *
    * A unique ID for the new conversation. This ID will become the final
    * component of the conversation's resource name. If no ID is specified, a
@@ -105,13 +64,10 @@ public interface CreateConversationRequestOrBuilder
    * 
* * string conversation_id = 3; - * * @return The conversationId. */ java.lang.String getConversationId(); /** - * - * *
    * A unique ID for the new conversation. This ID will become the final
    * component of the conversation's resource name. If no ID is specified, a
@@ -121,8 +77,8 @@ public interface CreateConversationRequestOrBuilder
    * 
* * string conversation_id = 3; - * * @return The bytes for conversationId. */ - com.google.protobuf.ByteString getConversationIdBytes(); + com.google.protobuf.ByteString + getConversationIdBytes(); } diff --git a/java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/CreateIssueModelMetadata.java b/owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/CreateIssueModelMetadata.java similarity index 63% rename from java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/CreateIssueModelMetadata.java rename to owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/CreateIssueModelMetadata.java index 4d8171682fef..99c62b13a82f 100644 --- a/java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/CreateIssueModelMetadata.java +++ b/owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/CreateIssueModelMetadata.java @@ -1,82 +1,60 @@ -/* - * 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. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/contactcenterinsights/v1/contact_center_insights.proto package com.google.cloud.contactcenterinsights.v1; /** - * - * *
  * Metadata for creating an issue model.
  * 
* * Protobuf type {@code google.cloud.contactcenterinsights.v1.CreateIssueModelMetadata} */ -public final class CreateIssueModelMetadata extends com.google.protobuf.GeneratedMessageV3 - implements +public final class CreateIssueModelMetadata extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.contactcenterinsights.v1.CreateIssueModelMetadata) CreateIssueModelMetadataOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use CreateIssueModelMetadata.newBuilder() to construct. private CreateIssueModelMetadata(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - - private CreateIssueModelMetadata() {} + private CreateIssueModelMetadata() { + } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new CreateIssueModelMetadata(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto - .internal_static_google_cloud_contactcenterinsights_v1_CreateIssueModelMetadata_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto.internal_static_google_cloud_contactcenterinsights_v1_CreateIssueModelMetadata_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto - .internal_static_google_cloud_contactcenterinsights_v1_CreateIssueModelMetadata_fieldAccessorTable + return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto.internal_static_google_cloud_contactcenterinsights_v1_CreateIssueModelMetadata_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.contactcenterinsights.v1.CreateIssueModelMetadata.class, - com.google.cloud.contactcenterinsights.v1.CreateIssueModelMetadata.Builder.class); + com.google.cloud.contactcenterinsights.v1.CreateIssueModelMetadata.class, com.google.cloud.contactcenterinsights.v1.CreateIssueModelMetadata.Builder.class); } public static final int CREATE_TIME_FIELD_NUMBER = 1; private com.google.protobuf.Timestamp createTime_; /** - * - * *
    * Output only. The time the operation was created.
    * 
* - * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the createTime field is set. */ @java.lang.Override @@ -84,15 +62,11 @@ public boolean hasCreateTime() { return createTime_ != null; } /** - * - * *
    * Output only. The time the operation was created.
    * 
* - * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The createTime. */ @java.lang.Override @@ -100,14 +74,11 @@ public com.google.protobuf.Timestamp getCreateTime() { return createTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : createTime_; } /** - * - * *
    * Output only. The time the operation was created.
    * 
* - * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ @java.lang.Override public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { @@ -117,15 +88,11 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { public static final int END_TIME_FIELD_NUMBER = 2; private com.google.protobuf.Timestamp endTime_; /** - * - * *
    * Output only. The time the operation finished running.
    * 
* - * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the endTime field is set. */ @java.lang.Override @@ -133,15 +100,11 @@ public boolean hasEndTime() { return endTime_ != null; } /** - * - * *
    * Output only. The time the operation finished running.
    * 
* - * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The endTime. */ @java.lang.Override @@ -149,14 +112,11 @@ public com.google.protobuf.Timestamp getEndTime() { return endTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : endTime_; } /** - * - * *
    * Output only. The time the operation finished running.
    * 
* - * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ @java.lang.Override public com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder() { @@ -166,14 +126,11 @@ public com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder() { public static final int REQUEST_FIELD_NUMBER = 3; private com.google.cloud.contactcenterinsights.v1.CreateIssueModelRequest request_; /** - * - * *
    * The original request for creation.
    * 
* * .google.cloud.contactcenterinsights.v1.CreateIssueModelRequest request = 3; - * * @return Whether the request field is set. */ @java.lang.Override @@ -181,25 +138,18 @@ public boolean hasRequest() { return request_ != null; } /** - * - * *
    * The original request for creation.
    * 
* * .google.cloud.contactcenterinsights.v1.CreateIssueModelRequest request = 3; - * * @return The request. */ @java.lang.Override public com.google.cloud.contactcenterinsights.v1.CreateIssueModelRequest getRequest() { - return request_ == null - ? com.google.cloud.contactcenterinsights.v1.CreateIssueModelRequest.getDefaultInstance() - : request_; + return request_ == null ? com.google.cloud.contactcenterinsights.v1.CreateIssueModelRequest.getDefaultInstance() : request_; } /** - * - * *
    * The original request for creation.
    * 
@@ -207,15 +157,11 @@ public com.google.cloud.contactcenterinsights.v1.CreateIssueModelRequest getRequ * .google.cloud.contactcenterinsights.v1.CreateIssueModelRequest request = 3; */ @java.lang.Override - public com.google.cloud.contactcenterinsights.v1.CreateIssueModelRequestOrBuilder - getRequestOrBuilder() { - return request_ == null - ? com.google.cloud.contactcenterinsights.v1.CreateIssueModelRequest.getDefaultInstance() - : request_; + public com.google.cloud.contactcenterinsights.v1.CreateIssueModelRequestOrBuilder getRequestOrBuilder() { + return request_ == null ? com.google.cloud.contactcenterinsights.v1.CreateIssueModelRequest.getDefaultInstance() : request_; } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -227,7 +173,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (createTime_ != null) { output.writeMessage(1, getCreateTime()); } @@ -247,13 +194,16 @@ public int getSerializedSize() { size = 0; if (createTime_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getCreateTime()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, getCreateTime()); } if (endTime_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getEndTime()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, getEndTime()); } if (request_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getRequest()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(3, getRequest()); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -263,25 +213,27 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.contactcenterinsights.v1.CreateIssueModelMetadata)) { return super.equals(obj); } - com.google.cloud.contactcenterinsights.v1.CreateIssueModelMetadata other = - (com.google.cloud.contactcenterinsights.v1.CreateIssueModelMetadata) obj; + com.google.cloud.contactcenterinsights.v1.CreateIssueModelMetadata other = (com.google.cloud.contactcenterinsights.v1.CreateIssueModelMetadata) obj; if (hasCreateTime() != other.hasCreateTime()) return false; if (hasCreateTime()) { - if (!getCreateTime().equals(other.getCreateTime())) return false; + if (!getCreateTime() + .equals(other.getCreateTime())) return false; } if (hasEndTime() != other.hasEndTime()) return false; if (hasEndTime()) { - if (!getEndTime().equals(other.getEndTime())) return false; + if (!getEndTime() + .equals(other.getEndTime())) return false; } if (hasRequest() != other.hasRequest()) return false; if (hasRequest()) { - if (!getRequest().equals(other.getRequest())) return false; + if (!getRequest() + .equals(other.getRequest())) return false; } if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -312,138 +264,129 @@ public int hashCode() { } public static com.google.cloud.contactcenterinsights.v1.CreateIssueModelMetadata parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.contactcenterinsights.v1.CreateIssueModelMetadata parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.contactcenterinsights.v1.CreateIssueModelMetadata parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.contactcenterinsights.v1.CreateIssueModelMetadata parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.contactcenterinsights.v1.CreateIssueModelMetadata parseFrom( - byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.contactcenterinsights.v1.CreateIssueModelMetadata parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.contactcenterinsights.v1.CreateIssueModelMetadata parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.contactcenterinsights.v1.CreateIssueModelMetadata parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.contactcenterinsights.v1.CreateIssueModelMetadata parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.contactcenterinsights.v1.CreateIssueModelMetadata parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.contactcenterinsights.v1.CreateIssueModelMetadata - parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.contactcenterinsights.v1.CreateIssueModelMetadata parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - - public static com.google.cloud.contactcenterinsights.v1.CreateIssueModelMetadata - parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + public static com.google.cloud.contactcenterinsights.v1.CreateIssueModelMetadata parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.contactcenterinsights.v1.CreateIssueModelMetadata parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.contactcenterinsights.v1.CreateIssueModelMetadata parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.contactcenterinsights.v1.CreateIssueModelMetadata prototype) { + public static Builder newBuilder(com.google.cloud.contactcenterinsights.v1.CreateIssueModelMetadata prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Metadata for creating an issue model.
    * 
* * Protobuf type {@code google.cloud.contactcenterinsights.v1.CreateIssueModelMetadata} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.contactcenterinsights.v1.CreateIssueModelMetadata) com.google.cloud.contactcenterinsights.v1.CreateIssueModelMetadataOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto - .internal_static_google_cloud_contactcenterinsights_v1_CreateIssueModelMetadata_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto.internal_static_google_cloud_contactcenterinsights_v1_CreateIssueModelMetadata_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto - .internal_static_google_cloud_contactcenterinsights_v1_CreateIssueModelMetadata_fieldAccessorTable + return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto.internal_static_google_cloud_contactcenterinsights_v1_CreateIssueModelMetadata_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.contactcenterinsights.v1.CreateIssueModelMetadata.class, - com.google.cloud.contactcenterinsights.v1.CreateIssueModelMetadata.Builder.class); + com.google.cloud.contactcenterinsights.v1.CreateIssueModelMetadata.class, com.google.cloud.contactcenterinsights.v1.CreateIssueModelMetadata.Builder.class); } - // Construct using - // com.google.cloud.contactcenterinsights.v1.CreateIssueModelMetadata.newBuilder() - private Builder() {} + // Construct using com.google.cloud.contactcenterinsights.v1.CreateIssueModelMetadata.newBuilder() + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -467,16 +410,14 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto - .internal_static_google_cloud_contactcenterinsights_v1_CreateIssueModelMetadata_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto.internal_static_google_cloud_contactcenterinsights_v1_CreateIssueModelMetadata_descriptor; } @java.lang.Override - public com.google.cloud.contactcenterinsights.v1.CreateIssueModelMetadata - getDefaultInstanceForType() { - return com.google.cloud.contactcenterinsights.v1.CreateIssueModelMetadata - .getDefaultInstance(); + public com.google.cloud.contactcenterinsights.v1.CreateIssueModelMetadata getDefaultInstanceForType() { + return com.google.cloud.contactcenterinsights.v1.CreateIssueModelMetadata.getDefaultInstance(); } @java.lang.Override @@ -490,26 +431,28 @@ public com.google.cloud.contactcenterinsights.v1.CreateIssueModelMetadata build( @java.lang.Override public com.google.cloud.contactcenterinsights.v1.CreateIssueModelMetadata buildPartial() { - com.google.cloud.contactcenterinsights.v1.CreateIssueModelMetadata result = - new com.google.cloud.contactcenterinsights.v1.CreateIssueModelMetadata(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + com.google.cloud.contactcenterinsights.v1.CreateIssueModelMetadata result = new com.google.cloud.contactcenterinsights.v1.CreateIssueModelMetadata(this); + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } - private void buildPartial0( - com.google.cloud.contactcenterinsights.v1.CreateIssueModelMetadata result) { + private void buildPartial0(com.google.cloud.contactcenterinsights.v1.CreateIssueModelMetadata result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { - result.createTime_ = createTimeBuilder_ == null ? createTime_ : createTimeBuilder_.build(); + result.createTime_ = createTimeBuilder_ == null + ? createTime_ + : createTimeBuilder_.build(); } if (((from_bitField0_ & 0x00000002) != 0)) { - result.endTime_ = endTimeBuilder_ == null ? endTime_ : endTimeBuilder_.build(); + result.endTime_ = endTimeBuilder_ == null + ? endTime_ + : endTimeBuilder_.build(); } if (((from_bitField0_ & 0x00000004) != 0)) { - result.request_ = requestBuilder_ == null ? request_ : requestBuilder_.build(); + result.request_ = requestBuilder_ == null + ? request_ + : requestBuilder_.build(); } } @@ -517,51 +460,46 @@ private void buildPartial0( public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.contactcenterinsights.v1.CreateIssueModelMetadata) { - return mergeFrom( - (com.google.cloud.contactcenterinsights.v1.CreateIssueModelMetadata) other); + return mergeFrom((com.google.cloud.contactcenterinsights.v1.CreateIssueModelMetadata)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom( - com.google.cloud.contactcenterinsights.v1.CreateIssueModelMetadata other) { - if (other - == com.google.cloud.contactcenterinsights.v1.CreateIssueModelMetadata - .getDefaultInstance()) return this; + public Builder mergeFrom(com.google.cloud.contactcenterinsights.v1.CreateIssueModelMetadata other) { + if (other == com.google.cloud.contactcenterinsights.v1.CreateIssueModelMetadata.getDefaultInstance()) return this; if (other.hasCreateTime()) { mergeCreateTime(other.getCreateTime()); } @@ -597,31 +535,33 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - input.readMessage(getCreateTimeFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: - { - input.readMessage(getEndTimeFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00000002; - break; - } // case 18 - case 26: - { - input.readMessage(getRequestFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00000004; - break; - } // case 26 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + input.readMessage( + getCreateTimeFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: { + input.readMessage( + getEndTimeFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00000002; + break; + } // case 18 + case 26: { + input.readMessage( + getRequestFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00000004; + break; + } // case 26 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -631,63 +571,43 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private com.google.protobuf.Timestamp createTime_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> - createTimeBuilder_; + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> createTimeBuilder_; /** - * - * *
      * Output only. The time the operation was created.
      * 
* - * - * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the createTime field is set. */ public boolean hasCreateTime() { return ((bitField0_ & 0x00000001) != 0); } /** - * - * *
      * Output only. The time the operation was created.
      * 
* - * - * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The createTime. */ public com.google.protobuf.Timestamp getCreateTime() { if (createTimeBuilder_ == null) { - return createTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : createTime_; + return createTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : createTime_; } else { return createTimeBuilder_.getMessage(); } } /** - * - * *
      * Output only. The time the operation was created.
      * 
* - * - * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder setCreateTime(com.google.protobuf.Timestamp value) { if (createTimeBuilder_ == null) { @@ -703,17 +623,14 @@ public Builder setCreateTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * Output only. The time the operation was created.
      * 
* - * - * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - public Builder setCreateTime(com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setCreateTime( + com.google.protobuf.Timestamp.Builder builderForValue) { if (createTimeBuilder_ == null) { createTime_ = builderForValue.build(); } else { @@ -724,21 +641,17 @@ public Builder setCreateTime(com.google.protobuf.Timestamp.Builder builderForVal return this; } /** - * - * *
      * Output only. The time the operation was created.
      * 
* - * - * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder mergeCreateTime(com.google.protobuf.Timestamp value) { if (createTimeBuilder_ == null) { - if (((bitField0_ & 0x00000001) != 0) - && createTime_ != null - && createTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { + if (((bitField0_ & 0x00000001) != 0) && + createTime_ != null && + createTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { getCreateTimeBuilder().mergeFrom(value); } else { createTime_ = value; @@ -751,15 +664,11 @@ public Builder mergeCreateTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * Output only. The time the operation was created.
      * 
* - * - * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder clearCreateTime() { bitField0_ = (bitField0_ & ~0x00000001); @@ -772,15 +681,11 @@ public Builder clearCreateTime() { return this; } /** - * - * *
      * Output only. The time the operation was created.
      * 
* - * - * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public com.google.protobuf.Timestamp.Builder getCreateTimeBuilder() { bitField0_ |= 0x00000001; @@ -788,48 +693,36 @@ public com.google.protobuf.Timestamp.Builder getCreateTimeBuilder() { return getCreateTimeFieldBuilder().getBuilder(); } /** - * - * *
      * Output only. The time the operation was created.
      * 
* - * - * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { if (createTimeBuilder_ != null) { return createTimeBuilder_.getMessageOrBuilder(); } else { - return createTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : createTime_; + return createTime_ == null ? + com.google.protobuf.Timestamp.getDefaultInstance() : createTime_; } } /** - * - * *
      * Output only. The time the operation was created.
      * 
* - * - * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> getCreateTimeFieldBuilder() { if (createTimeBuilder_ == null) { - createTimeBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder>( - getCreateTime(), getParentForChildren(), isClean()); + createTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( + getCreateTime(), + getParentForChildren(), + isClean()); createTime_ = null; } return createTimeBuilder_; @@ -837,35 +730,24 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { private com.google.protobuf.Timestamp endTime_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> - endTimeBuilder_; + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> endTimeBuilder_; /** - * - * *
      * Output only. The time the operation finished running.
      * 
* - * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the endTime field is set. */ public boolean hasEndTime() { return ((bitField0_ & 0x00000002) != 0); } /** - * - * *
      * Output only. The time the operation finished running.
      * 
* - * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The endTime. */ public com.google.protobuf.Timestamp getEndTime() { @@ -876,14 +758,11 @@ public com.google.protobuf.Timestamp getEndTime() { } } /** - * - * *
      * Output only. The time the operation finished running.
      * 
* - * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder setEndTime(com.google.protobuf.Timestamp value) { if (endTimeBuilder_ == null) { @@ -899,16 +778,14 @@ public Builder setEndTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * Output only. The time the operation finished running.
      * 
* - * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - public Builder setEndTime(com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setEndTime( + com.google.protobuf.Timestamp.Builder builderForValue) { if (endTimeBuilder_ == null) { endTime_ = builderForValue.build(); } else { @@ -919,20 +796,17 @@ public Builder setEndTime(com.google.protobuf.Timestamp.Builder builderForValue) return this; } /** - * - * *
      * Output only. The time the operation finished running.
      * 
* - * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder mergeEndTime(com.google.protobuf.Timestamp value) { if (endTimeBuilder_ == null) { - if (((bitField0_ & 0x00000002) != 0) - && endTime_ != null - && endTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { + if (((bitField0_ & 0x00000002) != 0) && + endTime_ != null && + endTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { getEndTimeBuilder().mergeFrom(value); } else { endTime_ = value; @@ -945,14 +819,11 @@ public Builder mergeEndTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * Output only. The time the operation finished running.
      * 
* - * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder clearEndTime() { bitField0_ = (bitField0_ & ~0x00000002); @@ -965,14 +836,11 @@ public Builder clearEndTime() { return this; } /** - * - * *
      * Output only. The time the operation finished running.
      * 
* - * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public com.google.protobuf.Timestamp.Builder getEndTimeBuilder() { bitField0_ |= 0x00000002; @@ -980,44 +848,36 @@ public com.google.protobuf.Timestamp.Builder getEndTimeBuilder() { return getEndTimeFieldBuilder().getBuilder(); } /** - * - * *
      * Output only. The time the operation finished running.
      * 
* - * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder() { if (endTimeBuilder_ != null) { return endTimeBuilder_.getMessageOrBuilder(); } else { - return endTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : endTime_; + return endTime_ == null ? + com.google.protobuf.Timestamp.getDefaultInstance() : endTime_; } } /** - * - * *
      * Output only. The time the operation finished running.
      * 
* - * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> getEndTimeFieldBuilder() { if (endTimeBuilder_ == null) { - endTimeBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder>( - getEndTime(), getParentForChildren(), isClean()); + endTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( + getEndTime(), + getParentForChildren(), + isClean()); endTime_ = null; } return endTimeBuilder_; @@ -1025,55 +885,41 @@ public com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder() { private com.google.cloud.contactcenterinsights.v1.CreateIssueModelRequest request_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.contactcenterinsights.v1.CreateIssueModelRequest, - com.google.cloud.contactcenterinsights.v1.CreateIssueModelRequest.Builder, - com.google.cloud.contactcenterinsights.v1.CreateIssueModelRequestOrBuilder> - requestBuilder_; + com.google.cloud.contactcenterinsights.v1.CreateIssueModelRequest, com.google.cloud.contactcenterinsights.v1.CreateIssueModelRequest.Builder, com.google.cloud.contactcenterinsights.v1.CreateIssueModelRequestOrBuilder> requestBuilder_; /** - * - * *
      * The original request for creation.
      * 
* * .google.cloud.contactcenterinsights.v1.CreateIssueModelRequest request = 3; - * * @return Whether the request field is set. */ public boolean hasRequest() { return ((bitField0_ & 0x00000004) != 0); } /** - * - * *
      * The original request for creation.
      * 
* * .google.cloud.contactcenterinsights.v1.CreateIssueModelRequest request = 3; - * * @return The request. */ public com.google.cloud.contactcenterinsights.v1.CreateIssueModelRequest getRequest() { if (requestBuilder_ == null) { - return request_ == null - ? com.google.cloud.contactcenterinsights.v1.CreateIssueModelRequest.getDefaultInstance() - : request_; + return request_ == null ? com.google.cloud.contactcenterinsights.v1.CreateIssueModelRequest.getDefaultInstance() : request_; } else { return requestBuilder_.getMessage(); } } /** - * - * *
      * The original request for creation.
      * 
* * .google.cloud.contactcenterinsights.v1.CreateIssueModelRequest request = 3; */ - public Builder setRequest( - com.google.cloud.contactcenterinsights.v1.CreateIssueModelRequest value) { + public Builder setRequest(com.google.cloud.contactcenterinsights.v1.CreateIssueModelRequest value) { if (requestBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -1087,8 +933,6 @@ public Builder setRequest( return this; } /** - * - * *
      * The original request for creation.
      * 
@@ -1107,22 +951,17 @@ public Builder setRequest( return this; } /** - * - * *
      * The original request for creation.
      * 
* * .google.cloud.contactcenterinsights.v1.CreateIssueModelRequest request = 3; */ - public Builder mergeRequest( - com.google.cloud.contactcenterinsights.v1.CreateIssueModelRequest value) { + public Builder mergeRequest(com.google.cloud.contactcenterinsights.v1.CreateIssueModelRequest value) { if (requestBuilder_ == null) { - if (((bitField0_ & 0x00000004) != 0) - && request_ != null - && request_ - != com.google.cloud.contactcenterinsights.v1.CreateIssueModelRequest - .getDefaultInstance()) { + if (((bitField0_ & 0x00000004) != 0) && + request_ != null && + request_ != com.google.cloud.contactcenterinsights.v1.CreateIssueModelRequest.getDefaultInstance()) { getRequestBuilder().mergeFrom(value); } else { request_ = value; @@ -1135,8 +974,6 @@ public Builder mergeRequest( return this; } /** - * - * *
      * The original request for creation.
      * 
@@ -1154,42 +991,33 @@ public Builder clearRequest() { return this; } /** - * - * *
      * The original request for creation.
      * 
* * .google.cloud.contactcenterinsights.v1.CreateIssueModelRequest request = 3; */ - public com.google.cloud.contactcenterinsights.v1.CreateIssueModelRequest.Builder - getRequestBuilder() { + public com.google.cloud.contactcenterinsights.v1.CreateIssueModelRequest.Builder getRequestBuilder() { bitField0_ |= 0x00000004; onChanged(); return getRequestFieldBuilder().getBuilder(); } /** - * - * *
      * The original request for creation.
      * 
* * .google.cloud.contactcenterinsights.v1.CreateIssueModelRequest request = 3; */ - public com.google.cloud.contactcenterinsights.v1.CreateIssueModelRequestOrBuilder - getRequestOrBuilder() { + public com.google.cloud.contactcenterinsights.v1.CreateIssueModelRequestOrBuilder getRequestOrBuilder() { if (requestBuilder_ != null) { return requestBuilder_.getMessageOrBuilder(); } else { - return request_ == null - ? com.google.cloud.contactcenterinsights.v1.CreateIssueModelRequest.getDefaultInstance() - : request_; + return request_ == null ? + com.google.cloud.contactcenterinsights.v1.CreateIssueModelRequest.getDefaultInstance() : request_; } } /** - * - * *
      * The original request for creation.
      * 
@@ -1197,24 +1025,21 @@ public Builder clearRequest() { * .google.cloud.contactcenterinsights.v1.CreateIssueModelRequest request = 3; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.contactcenterinsights.v1.CreateIssueModelRequest, - com.google.cloud.contactcenterinsights.v1.CreateIssueModelRequest.Builder, - com.google.cloud.contactcenterinsights.v1.CreateIssueModelRequestOrBuilder> + com.google.cloud.contactcenterinsights.v1.CreateIssueModelRequest, com.google.cloud.contactcenterinsights.v1.CreateIssueModelRequest.Builder, com.google.cloud.contactcenterinsights.v1.CreateIssueModelRequestOrBuilder> getRequestFieldBuilder() { if (requestBuilder_ == null) { - requestBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.contactcenterinsights.v1.CreateIssueModelRequest, - com.google.cloud.contactcenterinsights.v1.CreateIssueModelRequest.Builder, - com.google.cloud.contactcenterinsights.v1.CreateIssueModelRequestOrBuilder>( - getRequest(), getParentForChildren(), isClean()); + requestBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.contactcenterinsights.v1.CreateIssueModelRequest, com.google.cloud.contactcenterinsights.v1.CreateIssueModelRequest.Builder, com.google.cloud.contactcenterinsights.v1.CreateIssueModelRequestOrBuilder>( + getRequest(), + getParentForChildren(), + isClean()); request_ = null; } return requestBuilder_; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1224,43 +1049,41 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.contactcenterinsights.v1.CreateIssueModelMetadata) } // @@protoc_insertion_point(class_scope:google.cloud.contactcenterinsights.v1.CreateIssueModelMetadata) - private static final com.google.cloud.contactcenterinsights.v1.CreateIssueModelMetadata - DEFAULT_INSTANCE; - + private static final com.google.cloud.contactcenterinsights.v1.CreateIssueModelMetadata DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.cloud.contactcenterinsights.v1.CreateIssueModelMetadata(); } - public static com.google.cloud.contactcenterinsights.v1.CreateIssueModelMetadata - getDefaultInstance() { + public static com.google.cloud.contactcenterinsights.v1.CreateIssueModelMetadata getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public CreateIssueModelMetadata parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public CreateIssueModelMetadata parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1272,8 +1095,9 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.cloud.contactcenterinsights.v1.CreateIssueModelMetadata - getDefaultInstanceForType() { + public com.google.cloud.contactcenterinsights.v1.CreateIssueModelMetadata getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/CreateIssueModelMetadataOrBuilder.java b/owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/CreateIssueModelMetadataOrBuilder.java similarity index 70% rename from java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/CreateIssueModelMetadataOrBuilder.java rename to owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/CreateIssueModelMetadataOrBuilder.java index 58cbb69861e1..9497c693f596 100644 --- a/java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/CreateIssueModelMetadataOrBuilder.java +++ b/owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/CreateIssueModelMetadataOrBuilder.java @@ -1,131 +1,85 @@ -/* - * 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. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/contactcenterinsights/v1/contact_center_insights.proto package com.google.cloud.contactcenterinsights.v1; -public interface CreateIssueModelMetadataOrBuilder - extends +public interface CreateIssueModelMetadataOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.contactcenterinsights.v1.CreateIssueModelMetadata) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Output only. The time the operation was created.
    * 
* - * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the createTime field is set. */ boolean hasCreateTime(); /** - * - * *
    * Output only. The time the operation was created.
    * 
* - * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The createTime. */ com.google.protobuf.Timestamp getCreateTime(); /** - * - * *
    * Output only. The time the operation was created.
    * 
* - * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder(); /** - * - * *
    * Output only. The time the operation finished running.
    * 
* - * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the endTime field is set. */ boolean hasEndTime(); /** - * - * *
    * Output only. The time the operation finished running.
    * 
* - * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The endTime. */ com.google.protobuf.Timestamp getEndTime(); /** - * - * *
    * Output only. The time the operation finished running.
    * 
* - * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder(); /** - * - * *
    * The original request for creation.
    * 
* * .google.cloud.contactcenterinsights.v1.CreateIssueModelRequest request = 3; - * * @return Whether the request field is set. */ boolean hasRequest(); /** - * - * *
    * The original request for creation.
    * 
* * .google.cloud.contactcenterinsights.v1.CreateIssueModelRequest request = 3; - * * @return The request. */ com.google.cloud.contactcenterinsights.v1.CreateIssueModelRequest getRequest(); /** - * - * *
    * The original request for creation.
    * 
diff --git a/java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/CreateIssueModelRequest.java b/owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/CreateIssueModelRequest.java similarity index 58% rename from java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/CreateIssueModelRequest.java rename to owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/CreateIssueModelRequest.java index 10902e3e77e5..4a9b0ff3e027 100644 --- a/java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/CreateIssueModelRequest.java +++ b/owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/CreateIssueModelRequest.java @@ -1,87 +1,62 @@ -/* - * 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. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/contactcenterinsights/v1/contact_center_insights.proto package com.google.cloud.contactcenterinsights.v1; /** - * - * *
  * The request to create an issue model.
  * 
* * Protobuf type {@code google.cloud.contactcenterinsights.v1.CreateIssueModelRequest} */ -public final class CreateIssueModelRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class CreateIssueModelRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.contactcenterinsights.v1.CreateIssueModelRequest) CreateIssueModelRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use CreateIssueModelRequest.newBuilder() to construct. private CreateIssueModelRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private CreateIssueModelRequest() { parent_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new CreateIssueModelRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto - .internal_static_google_cloud_contactcenterinsights_v1_CreateIssueModelRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto.internal_static_google_cloud_contactcenterinsights_v1_CreateIssueModelRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto - .internal_static_google_cloud_contactcenterinsights_v1_CreateIssueModelRequest_fieldAccessorTable + return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto.internal_static_google_cloud_contactcenterinsights_v1_CreateIssueModelRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.contactcenterinsights.v1.CreateIssueModelRequest.class, - com.google.cloud.contactcenterinsights.v1.CreateIssueModelRequest.Builder.class); + com.google.cloud.contactcenterinsights.v1.CreateIssueModelRequest.class, com.google.cloud.contactcenterinsights.v1.CreateIssueModelRequest.Builder.class); } public static final int PARENT_FIELD_NUMBER = 1; - @SuppressWarnings("serial") private volatile java.lang.Object parent_ = ""; /** - * - * *
    * Required. The parent resource of the issue model.
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The parent. */ @java.lang.Override @@ -90,31 +65,29 @@ public java.lang.String getParent() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; } } /** - * - * *
    * Required. The parent resource of the issue model.
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for parent. */ @java.lang.Override - public com.google.protobuf.ByteString getParentBytes() { + public com.google.protobuf.ByteString + getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); parent_ = b; return b; } else { @@ -125,16 +98,11 @@ public com.google.protobuf.ByteString getParentBytes() { public static final int ISSUE_MODEL_FIELD_NUMBER = 2; private com.google.cloud.contactcenterinsights.v1.IssueModel issueModel_; /** - * - * *
    * Required. The issue model to create.
    * 
* - * - * .google.cloud.contactcenterinsights.v1.IssueModel issue_model = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.contactcenterinsights.v1.IssueModel issue_model = 2 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the issueModel field is set. */ @java.lang.Override @@ -142,44 +110,30 @@ public boolean hasIssueModel() { return issueModel_ != null; } /** - * - * *
    * Required. The issue model to create.
    * 
* - * - * .google.cloud.contactcenterinsights.v1.IssueModel issue_model = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.contactcenterinsights.v1.IssueModel issue_model = 2 [(.google.api.field_behavior) = REQUIRED]; * @return The issueModel. */ @java.lang.Override public com.google.cloud.contactcenterinsights.v1.IssueModel getIssueModel() { - return issueModel_ == null - ? com.google.cloud.contactcenterinsights.v1.IssueModel.getDefaultInstance() - : issueModel_; + return issueModel_ == null ? com.google.cloud.contactcenterinsights.v1.IssueModel.getDefaultInstance() : issueModel_; } /** - * - * *
    * Required. The issue model to create.
    * 
* - * - * .google.cloud.contactcenterinsights.v1.IssueModel issue_model = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.contactcenterinsights.v1.IssueModel issue_model = 2 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override public com.google.cloud.contactcenterinsights.v1.IssueModelOrBuilder getIssueModelOrBuilder() { - return issueModel_ == null - ? com.google.cloud.contactcenterinsights.v1.IssueModel.getDefaultInstance() - : issueModel_; + return issueModel_ == null ? com.google.cloud.contactcenterinsights.v1.IssueModel.getDefaultInstance() : issueModel_; } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -191,7 +145,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); } @@ -211,7 +166,8 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, parent_); } if (issueModel_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getIssueModel()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, getIssueModel()); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -221,18 +177,19 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.contactcenterinsights.v1.CreateIssueModelRequest)) { return super.equals(obj); } - com.google.cloud.contactcenterinsights.v1.CreateIssueModelRequest other = - (com.google.cloud.contactcenterinsights.v1.CreateIssueModelRequest) obj; + com.google.cloud.contactcenterinsights.v1.CreateIssueModelRequest other = (com.google.cloud.contactcenterinsights.v1.CreateIssueModelRequest) obj; - if (!getParent().equals(other.getParent())) return false; + if (!getParent() + .equals(other.getParent())) return false; if (hasIssueModel() != other.hasIssueModel()) return false; if (hasIssueModel()) { - if (!getIssueModel().equals(other.getIssueModel())) return false; + if (!getIssueModel() + .equals(other.getIssueModel())) return false; } if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -257,138 +214,129 @@ public int hashCode() { } public static com.google.cloud.contactcenterinsights.v1.CreateIssueModelRequest parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.contactcenterinsights.v1.CreateIssueModelRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.contactcenterinsights.v1.CreateIssueModelRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.contactcenterinsights.v1.CreateIssueModelRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.contactcenterinsights.v1.CreateIssueModelRequest parseFrom( - byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.contactcenterinsights.v1.CreateIssueModelRequest parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.contactcenterinsights.v1.CreateIssueModelRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.contactcenterinsights.v1.CreateIssueModelRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.contactcenterinsights.v1.CreateIssueModelRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.contactcenterinsights.v1.CreateIssueModelRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.contactcenterinsights.v1.CreateIssueModelRequest - parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.contactcenterinsights.v1.CreateIssueModelRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - - public static com.google.cloud.contactcenterinsights.v1.CreateIssueModelRequest - parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + public static com.google.cloud.contactcenterinsights.v1.CreateIssueModelRequest parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.contactcenterinsights.v1.CreateIssueModelRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.contactcenterinsights.v1.CreateIssueModelRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.contactcenterinsights.v1.CreateIssueModelRequest prototype) { + public static Builder newBuilder(com.google.cloud.contactcenterinsights.v1.CreateIssueModelRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * The request to create an issue model.
    * 
* * Protobuf type {@code google.cloud.contactcenterinsights.v1.CreateIssueModelRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.contactcenterinsights.v1.CreateIssueModelRequest) com.google.cloud.contactcenterinsights.v1.CreateIssueModelRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto - .internal_static_google_cloud_contactcenterinsights_v1_CreateIssueModelRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto.internal_static_google_cloud_contactcenterinsights_v1_CreateIssueModelRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto - .internal_static_google_cloud_contactcenterinsights_v1_CreateIssueModelRequest_fieldAccessorTable + return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto.internal_static_google_cloud_contactcenterinsights_v1_CreateIssueModelRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.contactcenterinsights.v1.CreateIssueModelRequest.class, - com.google.cloud.contactcenterinsights.v1.CreateIssueModelRequest.Builder.class); + com.google.cloud.contactcenterinsights.v1.CreateIssueModelRequest.class, com.google.cloud.contactcenterinsights.v1.CreateIssueModelRequest.Builder.class); } - // Construct using - // com.google.cloud.contactcenterinsights.v1.CreateIssueModelRequest.newBuilder() - private Builder() {} + // Construct using com.google.cloud.contactcenterinsights.v1.CreateIssueModelRequest.newBuilder() + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -403,14 +351,13 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto - .internal_static_google_cloud_contactcenterinsights_v1_CreateIssueModelRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto.internal_static_google_cloud_contactcenterinsights_v1_CreateIssueModelRequest_descriptor; } @java.lang.Override - public com.google.cloud.contactcenterinsights.v1.CreateIssueModelRequest - getDefaultInstanceForType() { + public com.google.cloud.contactcenterinsights.v1.CreateIssueModelRequest getDefaultInstanceForType() { return com.google.cloud.contactcenterinsights.v1.CreateIssueModelRequest.getDefaultInstance(); } @@ -425,23 +372,21 @@ public com.google.cloud.contactcenterinsights.v1.CreateIssueModelRequest build() @java.lang.Override public com.google.cloud.contactcenterinsights.v1.CreateIssueModelRequest buildPartial() { - com.google.cloud.contactcenterinsights.v1.CreateIssueModelRequest result = - new com.google.cloud.contactcenterinsights.v1.CreateIssueModelRequest(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + com.google.cloud.contactcenterinsights.v1.CreateIssueModelRequest result = new com.google.cloud.contactcenterinsights.v1.CreateIssueModelRequest(this); + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } - private void buildPartial0( - com.google.cloud.contactcenterinsights.v1.CreateIssueModelRequest result) { + private void buildPartial0(com.google.cloud.contactcenterinsights.v1.CreateIssueModelRequest result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { result.parent_ = parent_; } if (((from_bitField0_ & 0x00000002) != 0)) { - result.issueModel_ = issueModelBuilder_ == null ? issueModel_ : issueModelBuilder_.build(); + result.issueModel_ = issueModelBuilder_ == null + ? issueModel_ + : issueModelBuilder_.build(); } } @@ -449,50 +394,46 @@ private void buildPartial0( public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.contactcenterinsights.v1.CreateIssueModelRequest) { - return mergeFrom((com.google.cloud.contactcenterinsights.v1.CreateIssueModelRequest) other); + return mergeFrom((com.google.cloud.contactcenterinsights.v1.CreateIssueModelRequest)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom( - com.google.cloud.contactcenterinsights.v1.CreateIssueModelRequest other) { - if (other - == com.google.cloud.contactcenterinsights.v1.CreateIssueModelRequest.getDefaultInstance()) - return this; + public Builder mergeFrom(com.google.cloud.contactcenterinsights.v1.CreateIssueModelRequest other) { + if (other == com.google.cloud.contactcenterinsights.v1.CreateIssueModelRequest.getDefaultInstance()) return this; if (!other.getParent().isEmpty()) { parent_ = other.parent_; bitField0_ |= 0x00000001; @@ -527,25 +468,24 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - parent_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: - { - input.readMessage(getIssueModelFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00000002; - break; - } // case 18 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + parent_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: { + input.readMessage( + getIssueModelFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00000002; + break; + } // case 18 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -555,27 +495,22 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private java.lang.Object parent_ = ""; /** - * - * *
      * Required. The parent resource of the issue model.
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The parent. */ public java.lang.String getParent() { java.lang.Object ref = parent_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; @@ -584,23 +519,20 @@ public java.lang.String getParent() { } } /** - * - * *
      * Required. The parent resource of the issue model.
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for parent. */ - public com.google.protobuf.ByteString getParentBytes() { + public com.google.protobuf.ByteString + getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); parent_ = b; return b; } else { @@ -608,39 +540,28 @@ public com.google.protobuf.ByteString getParentBytes() { } } /** - * - * *
      * Required. The parent resource of the issue model.
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The parent to set. * @return This builder for chaining. */ - public Builder setParent(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setParent( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } parent_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
      * Required. The parent resource of the issue model.
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearParent() { @@ -650,23 +571,17 @@ public Builder clearParent() { return this; } /** - * - * *
      * Required. The parent resource of the issue model.
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setParentBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); parent_ = value; bitField0_ |= 0x00000001; @@ -676,58 +591,39 @@ public Builder setParentBytes(com.google.protobuf.ByteString value) { private com.google.cloud.contactcenterinsights.v1.IssueModel issueModel_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.contactcenterinsights.v1.IssueModel, - com.google.cloud.contactcenterinsights.v1.IssueModel.Builder, - com.google.cloud.contactcenterinsights.v1.IssueModelOrBuilder> - issueModelBuilder_; + com.google.cloud.contactcenterinsights.v1.IssueModel, com.google.cloud.contactcenterinsights.v1.IssueModel.Builder, com.google.cloud.contactcenterinsights.v1.IssueModelOrBuilder> issueModelBuilder_; /** - * - * *
      * Required. The issue model to create.
      * 
* - * - * .google.cloud.contactcenterinsights.v1.IssueModel issue_model = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.contactcenterinsights.v1.IssueModel issue_model = 2 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the issueModel field is set. */ public boolean hasIssueModel() { return ((bitField0_ & 0x00000002) != 0); } /** - * - * *
      * Required. The issue model to create.
      * 
* - * - * .google.cloud.contactcenterinsights.v1.IssueModel issue_model = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.contactcenterinsights.v1.IssueModel issue_model = 2 [(.google.api.field_behavior) = REQUIRED]; * @return The issueModel. */ public com.google.cloud.contactcenterinsights.v1.IssueModel getIssueModel() { if (issueModelBuilder_ == null) { - return issueModel_ == null - ? com.google.cloud.contactcenterinsights.v1.IssueModel.getDefaultInstance() - : issueModel_; + return issueModel_ == null ? com.google.cloud.contactcenterinsights.v1.IssueModel.getDefaultInstance() : issueModel_; } else { return issueModelBuilder_.getMessage(); } } /** - * - * *
      * Required. The issue model to create.
      * 
* - * - * .google.cloud.contactcenterinsights.v1.IssueModel issue_model = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.contactcenterinsights.v1.IssueModel issue_model = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder setIssueModel(com.google.cloud.contactcenterinsights.v1.IssueModel value) { if (issueModelBuilder_ == null) { @@ -743,15 +639,11 @@ public Builder setIssueModel(com.google.cloud.contactcenterinsights.v1.IssueMode return this; } /** - * - * *
      * Required. The issue model to create.
      * 
* - * - * .google.cloud.contactcenterinsights.v1.IssueModel issue_model = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.contactcenterinsights.v1.IssueModel issue_model = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder setIssueModel( com.google.cloud.contactcenterinsights.v1.IssueModel.Builder builderForValue) { @@ -765,22 +657,17 @@ public Builder setIssueModel( return this; } /** - * - * *
      * Required. The issue model to create.
      * 
* - * - * .google.cloud.contactcenterinsights.v1.IssueModel issue_model = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.contactcenterinsights.v1.IssueModel issue_model = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder mergeIssueModel(com.google.cloud.contactcenterinsights.v1.IssueModel value) { if (issueModelBuilder_ == null) { - if (((bitField0_ & 0x00000002) != 0) - && issueModel_ != null - && issueModel_ - != com.google.cloud.contactcenterinsights.v1.IssueModel.getDefaultInstance()) { + if (((bitField0_ & 0x00000002) != 0) && + issueModel_ != null && + issueModel_ != com.google.cloud.contactcenterinsights.v1.IssueModel.getDefaultInstance()) { getIssueModelBuilder().mergeFrom(value); } else { issueModel_ = value; @@ -793,15 +680,11 @@ public Builder mergeIssueModel(com.google.cloud.contactcenterinsights.v1.IssueMo return this; } /** - * - * *
      * Required. The issue model to create.
      * 
* - * - * .google.cloud.contactcenterinsights.v1.IssueModel issue_model = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.contactcenterinsights.v1.IssueModel issue_model = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder clearIssueModel() { bitField0_ = (bitField0_ & ~0x00000002); @@ -814,15 +697,11 @@ public Builder clearIssueModel() { return this; } /** - * - * *
      * Required. The issue model to create.
      * 
* - * - * .google.cloud.contactcenterinsights.v1.IssueModel issue_model = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.contactcenterinsights.v1.IssueModel issue_model = 2 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.cloud.contactcenterinsights.v1.IssueModel.Builder getIssueModelBuilder() { bitField0_ |= 0x00000002; @@ -830,55 +709,43 @@ public com.google.cloud.contactcenterinsights.v1.IssueModel.Builder getIssueMode return getIssueModelFieldBuilder().getBuilder(); } /** - * - * *
      * Required. The issue model to create.
      * 
* - * - * .google.cloud.contactcenterinsights.v1.IssueModel issue_model = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.contactcenterinsights.v1.IssueModel issue_model = 2 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.cloud.contactcenterinsights.v1.IssueModelOrBuilder getIssueModelOrBuilder() { if (issueModelBuilder_ != null) { return issueModelBuilder_.getMessageOrBuilder(); } else { - return issueModel_ == null - ? com.google.cloud.contactcenterinsights.v1.IssueModel.getDefaultInstance() - : issueModel_; + return issueModel_ == null ? + com.google.cloud.contactcenterinsights.v1.IssueModel.getDefaultInstance() : issueModel_; } } /** - * - * *
      * Required. The issue model to create.
      * 
* - * - * .google.cloud.contactcenterinsights.v1.IssueModel issue_model = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.contactcenterinsights.v1.IssueModel issue_model = 2 [(.google.api.field_behavior) = REQUIRED]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.contactcenterinsights.v1.IssueModel, - com.google.cloud.contactcenterinsights.v1.IssueModel.Builder, - com.google.cloud.contactcenterinsights.v1.IssueModelOrBuilder> + com.google.cloud.contactcenterinsights.v1.IssueModel, com.google.cloud.contactcenterinsights.v1.IssueModel.Builder, com.google.cloud.contactcenterinsights.v1.IssueModelOrBuilder> getIssueModelFieldBuilder() { if (issueModelBuilder_ == null) { - issueModelBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.contactcenterinsights.v1.IssueModel, - com.google.cloud.contactcenterinsights.v1.IssueModel.Builder, - com.google.cloud.contactcenterinsights.v1.IssueModelOrBuilder>( - getIssueModel(), getParentForChildren(), isClean()); + issueModelBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.contactcenterinsights.v1.IssueModel, com.google.cloud.contactcenterinsights.v1.IssueModel.Builder, com.google.cloud.contactcenterinsights.v1.IssueModelOrBuilder>( + getIssueModel(), + getParentForChildren(), + isClean()); issueModel_ = null; } return issueModelBuilder_; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -888,43 +755,41 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.contactcenterinsights.v1.CreateIssueModelRequest) } // @@protoc_insertion_point(class_scope:google.cloud.contactcenterinsights.v1.CreateIssueModelRequest) - private static final com.google.cloud.contactcenterinsights.v1.CreateIssueModelRequest - DEFAULT_INSTANCE; - + private static final com.google.cloud.contactcenterinsights.v1.CreateIssueModelRequest DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.cloud.contactcenterinsights.v1.CreateIssueModelRequest(); } - public static com.google.cloud.contactcenterinsights.v1.CreateIssueModelRequest - getDefaultInstance() { + public static com.google.cloud.contactcenterinsights.v1.CreateIssueModelRequest getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public CreateIssueModelRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public CreateIssueModelRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -936,8 +801,9 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.cloud.contactcenterinsights.v1.CreateIssueModelRequest - getDefaultInstanceForType() { + public com.google.cloud.contactcenterinsights.v1.CreateIssueModelRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/CreateIssueModelRequestOrBuilder.java b/owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/CreateIssueModelRequestOrBuilder.java new file mode 100644 index 000000000000..b94ecb8792fd --- /dev/null +++ b/owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/CreateIssueModelRequestOrBuilder.java @@ -0,0 +1,56 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/contactcenterinsights/v1/contact_center_insights.proto + +package com.google.cloud.contactcenterinsights.v1; + +public interface CreateIssueModelRequestOrBuilder extends + // @@protoc_insertion_point(interface_extends:google.cloud.contactcenterinsights.v1.CreateIssueModelRequest) + com.google.protobuf.MessageOrBuilder { + + /** + *
+   * Required. The parent resource of the issue model.
+   * 
+ * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The parent. + */ + java.lang.String getParent(); + /** + *
+   * Required. The parent resource of the issue model.
+   * 
+ * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The bytes for parent. + */ + com.google.protobuf.ByteString + getParentBytes(); + + /** + *
+   * Required. The issue model to create.
+   * 
+ * + * .google.cloud.contactcenterinsights.v1.IssueModel issue_model = 2 [(.google.api.field_behavior) = REQUIRED]; + * @return Whether the issueModel field is set. + */ + boolean hasIssueModel(); + /** + *
+   * Required. The issue model to create.
+   * 
+ * + * .google.cloud.contactcenterinsights.v1.IssueModel issue_model = 2 [(.google.api.field_behavior) = REQUIRED]; + * @return The issueModel. + */ + com.google.cloud.contactcenterinsights.v1.IssueModel getIssueModel(); + /** + *
+   * Required. The issue model to create.
+   * 
+ * + * .google.cloud.contactcenterinsights.v1.IssueModel issue_model = 2 [(.google.api.field_behavior) = REQUIRED]; + */ + com.google.cloud.contactcenterinsights.v1.IssueModelOrBuilder getIssueModelOrBuilder(); +} diff --git a/java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/CreatePhraseMatcherRequest.java b/owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/CreatePhraseMatcherRequest.java similarity index 54% rename from java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/CreatePhraseMatcherRequest.java rename to owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/CreatePhraseMatcherRequest.java index cd4d50df3932..dd27286255b7 100644 --- a/java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/CreatePhraseMatcherRequest.java +++ b/owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/CreatePhraseMatcherRequest.java @@ -1,90 +1,65 @@ -/* - * 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. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/contactcenterinsights/v1/contact_center_insights.proto package com.google.cloud.contactcenterinsights.v1; /** - * - * *
  * Request to create a phrase matcher.
  * 
* * Protobuf type {@code google.cloud.contactcenterinsights.v1.CreatePhraseMatcherRequest} */ -public final class CreatePhraseMatcherRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class CreatePhraseMatcherRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.contactcenterinsights.v1.CreatePhraseMatcherRequest) CreatePhraseMatcherRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use CreatePhraseMatcherRequest.newBuilder() to construct. private CreatePhraseMatcherRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private CreatePhraseMatcherRequest() { parent_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new CreatePhraseMatcherRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto - .internal_static_google_cloud_contactcenterinsights_v1_CreatePhraseMatcherRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto.internal_static_google_cloud_contactcenterinsights_v1_CreatePhraseMatcherRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto - .internal_static_google_cloud_contactcenterinsights_v1_CreatePhraseMatcherRequest_fieldAccessorTable + return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto.internal_static_google_cloud_contactcenterinsights_v1_CreatePhraseMatcherRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.contactcenterinsights.v1.CreatePhraseMatcherRequest.class, - com.google.cloud.contactcenterinsights.v1.CreatePhraseMatcherRequest.Builder.class); + com.google.cloud.contactcenterinsights.v1.CreatePhraseMatcherRequest.class, com.google.cloud.contactcenterinsights.v1.CreatePhraseMatcherRequest.Builder.class); } public static final int PARENT_FIELD_NUMBER = 1; - @SuppressWarnings("serial") private volatile java.lang.Object parent_ = ""; /** - * - * *
-   * Required. The parent resource of the phrase matcher. Required. The location to create
-   * a phrase matcher for.
-   * Format: `projects/<Project ID>/locations/<Location ID>` or
-   * `projects/<Project Number>/locations/<Location ID>`
+   * Required. The parent resource of the phrase matcher. Required. The location
+   * to create a phrase matcher for. Format: `projects/<Project
+   * ID>/locations/<Location ID>` or `projects/<Project
+   * Number>/locations/<Location ID>`
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The parent. */ @java.lang.Override @@ -93,34 +68,32 @@ public java.lang.String getParent() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; } } /** - * - * *
-   * Required. The parent resource of the phrase matcher. Required. The location to create
-   * a phrase matcher for.
-   * Format: `projects/<Project ID>/locations/<Location ID>` or
-   * `projects/<Project Number>/locations/<Location ID>`
+   * Required. The parent resource of the phrase matcher. Required. The location
+   * to create a phrase matcher for. Format: `projects/<Project
+   * ID>/locations/<Location ID>` or `projects/<Project
+   * Number>/locations/<Location ID>`
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for parent. */ @java.lang.Override - public com.google.protobuf.ByteString getParentBytes() { + public com.google.protobuf.ByteString + getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); parent_ = b; return b; } else { @@ -131,16 +104,11 @@ public com.google.protobuf.ByteString getParentBytes() { public static final int PHRASE_MATCHER_FIELD_NUMBER = 2; private com.google.cloud.contactcenterinsights.v1.PhraseMatcher phraseMatcher_; /** - * - * *
    * Required. The phrase matcher resource to create.
    * 
* - * - * .google.cloud.contactcenterinsights.v1.PhraseMatcher phrase_matcher = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.contactcenterinsights.v1.PhraseMatcher phrase_matcher = 2 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the phraseMatcher field is set. */ @java.lang.Override @@ -148,45 +116,30 @@ public boolean hasPhraseMatcher() { return phraseMatcher_ != null; } /** - * - * *
    * Required. The phrase matcher resource to create.
    * 
* - * - * .google.cloud.contactcenterinsights.v1.PhraseMatcher phrase_matcher = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.contactcenterinsights.v1.PhraseMatcher phrase_matcher = 2 [(.google.api.field_behavior) = REQUIRED]; * @return The phraseMatcher. */ @java.lang.Override public com.google.cloud.contactcenterinsights.v1.PhraseMatcher getPhraseMatcher() { - return phraseMatcher_ == null - ? com.google.cloud.contactcenterinsights.v1.PhraseMatcher.getDefaultInstance() - : phraseMatcher_; + return phraseMatcher_ == null ? com.google.cloud.contactcenterinsights.v1.PhraseMatcher.getDefaultInstance() : phraseMatcher_; } /** - * - * *
    * Required. The phrase matcher resource to create.
    * 
* - * - * .google.cloud.contactcenterinsights.v1.PhraseMatcher phrase_matcher = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.contactcenterinsights.v1.PhraseMatcher phrase_matcher = 2 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override - public com.google.cloud.contactcenterinsights.v1.PhraseMatcherOrBuilder - getPhraseMatcherOrBuilder() { - return phraseMatcher_ == null - ? com.google.cloud.contactcenterinsights.v1.PhraseMatcher.getDefaultInstance() - : phraseMatcher_; + public com.google.cloud.contactcenterinsights.v1.PhraseMatcherOrBuilder getPhraseMatcherOrBuilder() { + return phraseMatcher_ == null ? com.google.cloud.contactcenterinsights.v1.PhraseMatcher.getDefaultInstance() : phraseMatcher_; } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -198,7 +151,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); } @@ -218,7 +172,8 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, parent_); } if (phraseMatcher_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getPhraseMatcher()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, getPhraseMatcher()); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -228,18 +183,19 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.contactcenterinsights.v1.CreatePhraseMatcherRequest)) { return super.equals(obj); } - com.google.cloud.contactcenterinsights.v1.CreatePhraseMatcherRequest other = - (com.google.cloud.contactcenterinsights.v1.CreatePhraseMatcherRequest) obj; + com.google.cloud.contactcenterinsights.v1.CreatePhraseMatcherRequest other = (com.google.cloud.contactcenterinsights.v1.CreatePhraseMatcherRequest) obj; - if (!getParent().equals(other.getParent())) return false; + if (!getParent() + .equals(other.getParent())) return false; if (hasPhraseMatcher() != other.hasPhraseMatcher()) return false; if (hasPhraseMatcher()) { - if (!getPhraseMatcher().equals(other.getPhraseMatcher())) return false; + if (!getPhraseMatcher() + .equals(other.getPhraseMatcher())) return false; } if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -264,138 +220,129 @@ public int hashCode() { } public static com.google.cloud.contactcenterinsights.v1.CreatePhraseMatcherRequest parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.contactcenterinsights.v1.CreatePhraseMatcherRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.contactcenterinsights.v1.CreatePhraseMatcherRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.contactcenterinsights.v1.CreatePhraseMatcherRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.contactcenterinsights.v1.CreatePhraseMatcherRequest parseFrom( - byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.contactcenterinsights.v1.CreatePhraseMatcherRequest parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.contactcenterinsights.v1.CreatePhraseMatcherRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.contactcenterinsights.v1.CreatePhraseMatcherRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.contactcenterinsights.v1.CreatePhraseMatcherRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.contactcenterinsights.v1.CreatePhraseMatcherRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.contactcenterinsights.v1.CreatePhraseMatcherRequest - parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.contactcenterinsights.v1.CreatePhraseMatcherRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - - public static com.google.cloud.contactcenterinsights.v1.CreatePhraseMatcherRequest - parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + public static com.google.cloud.contactcenterinsights.v1.CreatePhraseMatcherRequest parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.contactcenterinsights.v1.CreatePhraseMatcherRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.contactcenterinsights.v1.CreatePhraseMatcherRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.contactcenterinsights.v1.CreatePhraseMatcherRequest prototype) { + public static Builder newBuilder(com.google.cloud.contactcenterinsights.v1.CreatePhraseMatcherRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Request to create a phrase matcher.
    * 
* * Protobuf type {@code google.cloud.contactcenterinsights.v1.CreatePhraseMatcherRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.contactcenterinsights.v1.CreatePhraseMatcherRequest) com.google.cloud.contactcenterinsights.v1.CreatePhraseMatcherRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto - .internal_static_google_cloud_contactcenterinsights_v1_CreatePhraseMatcherRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto.internal_static_google_cloud_contactcenterinsights_v1_CreatePhraseMatcherRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto - .internal_static_google_cloud_contactcenterinsights_v1_CreatePhraseMatcherRequest_fieldAccessorTable + return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto.internal_static_google_cloud_contactcenterinsights_v1_CreatePhraseMatcherRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.contactcenterinsights.v1.CreatePhraseMatcherRequest.class, - com.google.cloud.contactcenterinsights.v1.CreatePhraseMatcherRequest.Builder.class); + com.google.cloud.contactcenterinsights.v1.CreatePhraseMatcherRequest.class, com.google.cloud.contactcenterinsights.v1.CreatePhraseMatcherRequest.Builder.class); } - // Construct using - // com.google.cloud.contactcenterinsights.v1.CreatePhraseMatcherRequest.newBuilder() - private Builder() {} + // Construct using com.google.cloud.contactcenterinsights.v1.CreatePhraseMatcherRequest.newBuilder() + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -410,16 +357,14 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto - .internal_static_google_cloud_contactcenterinsights_v1_CreatePhraseMatcherRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto.internal_static_google_cloud_contactcenterinsights_v1_CreatePhraseMatcherRequest_descriptor; } @java.lang.Override - public com.google.cloud.contactcenterinsights.v1.CreatePhraseMatcherRequest - getDefaultInstanceForType() { - return com.google.cloud.contactcenterinsights.v1.CreatePhraseMatcherRequest - .getDefaultInstance(); + public com.google.cloud.contactcenterinsights.v1.CreatePhraseMatcherRequest getDefaultInstanceForType() { + return com.google.cloud.contactcenterinsights.v1.CreatePhraseMatcherRequest.getDefaultInstance(); } @java.lang.Override @@ -433,24 +378,21 @@ public com.google.cloud.contactcenterinsights.v1.CreatePhraseMatcherRequest buil @java.lang.Override public com.google.cloud.contactcenterinsights.v1.CreatePhraseMatcherRequest buildPartial() { - com.google.cloud.contactcenterinsights.v1.CreatePhraseMatcherRequest result = - new com.google.cloud.contactcenterinsights.v1.CreatePhraseMatcherRequest(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + com.google.cloud.contactcenterinsights.v1.CreatePhraseMatcherRequest result = new com.google.cloud.contactcenterinsights.v1.CreatePhraseMatcherRequest(this); + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } - private void buildPartial0( - com.google.cloud.contactcenterinsights.v1.CreatePhraseMatcherRequest result) { + private void buildPartial0(com.google.cloud.contactcenterinsights.v1.CreatePhraseMatcherRequest result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { result.parent_ = parent_; } if (((from_bitField0_ & 0x00000002) != 0)) { - result.phraseMatcher_ = - phraseMatcherBuilder_ == null ? phraseMatcher_ : phraseMatcherBuilder_.build(); + result.phraseMatcher_ = phraseMatcherBuilder_ == null + ? phraseMatcher_ + : phraseMatcherBuilder_.build(); } } @@ -458,51 +400,46 @@ private void buildPartial0( public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.contactcenterinsights.v1.CreatePhraseMatcherRequest) { - return mergeFrom( - (com.google.cloud.contactcenterinsights.v1.CreatePhraseMatcherRequest) other); + return mergeFrom((com.google.cloud.contactcenterinsights.v1.CreatePhraseMatcherRequest)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom( - com.google.cloud.contactcenterinsights.v1.CreatePhraseMatcherRequest other) { - if (other - == com.google.cloud.contactcenterinsights.v1.CreatePhraseMatcherRequest - .getDefaultInstance()) return this; + public Builder mergeFrom(com.google.cloud.contactcenterinsights.v1.CreatePhraseMatcherRequest other) { + if (other == com.google.cloud.contactcenterinsights.v1.CreatePhraseMatcherRequest.getDefaultInstance()) return this; if (!other.getParent().isEmpty()) { parent_ = other.parent_; bitField0_ |= 0x00000001; @@ -537,25 +474,24 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - parent_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: - { - input.readMessage(getPhraseMatcherFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00000002; - break; - } // case 18 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + parent_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: { + input.readMessage( + getPhraseMatcherFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00000002; + break; + } // case 18 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -565,30 +501,25 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private java.lang.Object parent_ = ""; /** - * - * *
-     * Required. The parent resource of the phrase matcher. Required. The location to create
-     * a phrase matcher for.
-     * Format: `projects/<Project ID>/locations/<Location ID>` or
-     * `projects/<Project Number>/locations/<Location ID>`
+     * Required. The parent resource of the phrase matcher. Required. The location
+     * to create a phrase matcher for. Format: `projects/<Project
+     * ID>/locations/<Location ID>` or `projects/<Project
+     * Number>/locations/<Location ID>`
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The parent. */ public java.lang.String getParent() { java.lang.Object ref = parent_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; @@ -597,26 +528,23 @@ public java.lang.String getParent() { } } /** - * - * *
-     * Required. The parent resource of the phrase matcher. Required. The location to create
-     * a phrase matcher for.
-     * Format: `projects/<Project ID>/locations/<Location ID>` or
-     * `projects/<Project Number>/locations/<Location ID>`
+     * Required. The parent resource of the phrase matcher. Required. The location
+     * to create a phrase matcher for. Format: `projects/<Project
+     * ID>/locations/<Location ID>` or `projects/<Project
+     * Number>/locations/<Location ID>`
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for parent. */ - public com.google.protobuf.ByteString getParentBytes() { + public com.google.protobuf.ByteString + getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); parent_ = b; return b; } else { @@ -624,45 +552,34 @@ public com.google.protobuf.ByteString getParentBytes() { } } /** - * - * *
-     * Required. The parent resource of the phrase matcher. Required. The location to create
-     * a phrase matcher for.
-     * Format: `projects/<Project ID>/locations/<Location ID>` or
-     * `projects/<Project Number>/locations/<Location ID>`
+     * Required. The parent resource of the phrase matcher. Required. The location
+     * to create a phrase matcher for. Format: `projects/<Project
+     * ID>/locations/<Location ID>` or `projects/<Project
+     * Number>/locations/<Location ID>`
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The parent to set. * @return This builder for chaining. */ - public Builder setParent(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setParent( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } parent_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
-     * Required. The parent resource of the phrase matcher. Required. The location to create
-     * a phrase matcher for.
-     * Format: `projects/<Project ID>/locations/<Location ID>` or
-     * `projects/<Project Number>/locations/<Location ID>`
+     * Required. The parent resource of the phrase matcher. Required. The location
+     * to create a phrase matcher for. Format: `projects/<Project
+     * ID>/locations/<Location ID>` or `projects/<Project
+     * Number>/locations/<Location ID>`
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearParent() { @@ -672,26 +589,20 @@ public Builder clearParent() { return this; } /** - * - * *
-     * Required. The parent resource of the phrase matcher. Required. The location to create
-     * a phrase matcher for.
-     * Format: `projects/<Project ID>/locations/<Location ID>` or
-     * `projects/<Project Number>/locations/<Location ID>`
+     * Required. The parent resource of the phrase matcher. Required. The location
+     * to create a phrase matcher for. Format: `projects/<Project
+     * ID>/locations/<Location ID>` or `projects/<Project
+     * Number>/locations/<Location ID>`
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setParentBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); parent_ = value; bitField0_ |= 0x00000001; @@ -701,58 +612,39 @@ public Builder setParentBytes(com.google.protobuf.ByteString value) { private com.google.cloud.contactcenterinsights.v1.PhraseMatcher phraseMatcher_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.contactcenterinsights.v1.PhraseMatcher, - com.google.cloud.contactcenterinsights.v1.PhraseMatcher.Builder, - com.google.cloud.contactcenterinsights.v1.PhraseMatcherOrBuilder> - phraseMatcherBuilder_; + com.google.cloud.contactcenterinsights.v1.PhraseMatcher, com.google.cloud.contactcenterinsights.v1.PhraseMatcher.Builder, com.google.cloud.contactcenterinsights.v1.PhraseMatcherOrBuilder> phraseMatcherBuilder_; /** - * - * *
      * Required. The phrase matcher resource to create.
      * 
* - * - * .google.cloud.contactcenterinsights.v1.PhraseMatcher phrase_matcher = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.contactcenterinsights.v1.PhraseMatcher phrase_matcher = 2 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the phraseMatcher field is set. */ public boolean hasPhraseMatcher() { return ((bitField0_ & 0x00000002) != 0); } /** - * - * *
      * Required. The phrase matcher resource to create.
      * 
* - * - * .google.cloud.contactcenterinsights.v1.PhraseMatcher phrase_matcher = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.contactcenterinsights.v1.PhraseMatcher phrase_matcher = 2 [(.google.api.field_behavior) = REQUIRED]; * @return The phraseMatcher. */ public com.google.cloud.contactcenterinsights.v1.PhraseMatcher getPhraseMatcher() { if (phraseMatcherBuilder_ == null) { - return phraseMatcher_ == null - ? com.google.cloud.contactcenterinsights.v1.PhraseMatcher.getDefaultInstance() - : phraseMatcher_; + return phraseMatcher_ == null ? com.google.cloud.contactcenterinsights.v1.PhraseMatcher.getDefaultInstance() : phraseMatcher_; } else { return phraseMatcherBuilder_.getMessage(); } } /** - * - * *
      * Required. The phrase matcher resource to create.
      * 
* - * - * .google.cloud.contactcenterinsights.v1.PhraseMatcher phrase_matcher = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.contactcenterinsights.v1.PhraseMatcher phrase_matcher = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder setPhraseMatcher(com.google.cloud.contactcenterinsights.v1.PhraseMatcher value) { if (phraseMatcherBuilder_ == null) { @@ -768,15 +660,11 @@ public Builder setPhraseMatcher(com.google.cloud.contactcenterinsights.v1.Phrase return this; } /** - * - * *
      * Required. The phrase matcher resource to create.
      * 
* - * - * .google.cloud.contactcenterinsights.v1.PhraseMatcher phrase_matcher = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.contactcenterinsights.v1.PhraseMatcher phrase_matcher = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder setPhraseMatcher( com.google.cloud.contactcenterinsights.v1.PhraseMatcher.Builder builderForValue) { @@ -790,23 +678,17 @@ public Builder setPhraseMatcher( return this; } /** - * - * *
      * Required. The phrase matcher resource to create.
      * 
* - * - * .google.cloud.contactcenterinsights.v1.PhraseMatcher phrase_matcher = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.contactcenterinsights.v1.PhraseMatcher phrase_matcher = 2 [(.google.api.field_behavior) = REQUIRED]; */ - public Builder mergePhraseMatcher( - com.google.cloud.contactcenterinsights.v1.PhraseMatcher value) { + public Builder mergePhraseMatcher(com.google.cloud.contactcenterinsights.v1.PhraseMatcher value) { if (phraseMatcherBuilder_ == null) { - if (((bitField0_ & 0x00000002) != 0) - && phraseMatcher_ != null - && phraseMatcher_ - != com.google.cloud.contactcenterinsights.v1.PhraseMatcher.getDefaultInstance()) { + if (((bitField0_ & 0x00000002) != 0) && + phraseMatcher_ != null && + phraseMatcher_ != com.google.cloud.contactcenterinsights.v1.PhraseMatcher.getDefaultInstance()) { getPhraseMatcherBuilder().mergeFrom(value); } else { phraseMatcher_ = value; @@ -819,15 +701,11 @@ public Builder mergePhraseMatcher( return this; } /** - * - * *
      * Required. The phrase matcher resource to create.
      * 
* - * - * .google.cloud.contactcenterinsights.v1.PhraseMatcher phrase_matcher = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.contactcenterinsights.v1.PhraseMatcher phrase_matcher = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder clearPhraseMatcher() { bitField0_ = (bitField0_ & ~0x00000002); @@ -840,73 +718,55 @@ public Builder clearPhraseMatcher() { return this; } /** - * - * *
      * Required. The phrase matcher resource to create.
      * 
* - * - * .google.cloud.contactcenterinsights.v1.PhraseMatcher phrase_matcher = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.contactcenterinsights.v1.PhraseMatcher phrase_matcher = 2 [(.google.api.field_behavior) = REQUIRED]; */ - public com.google.cloud.contactcenterinsights.v1.PhraseMatcher.Builder - getPhraseMatcherBuilder() { + public com.google.cloud.contactcenterinsights.v1.PhraseMatcher.Builder getPhraseMatcherBuilder() { bitField0_ |= 0x00000002; onChanged(); return getPhraseMatcherFieldBuilder().getBuilder(); } /** - * - * *
      * Required. The phrase matcher resource to create.
      * 
* - * - * .google.cloud.contactcenterinsights.v1.PhraseMatcher phrase_matcher = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.contactcenterinsights.v1.PhraseMatcher phrase_matcher = 2 [(.google.api.field_behavior) = REQUIRED]; */ - public com.google.cloud.contactcenterinsights.v1.PhraseMatcherOrBuilder - getPhraseMatcherOrBuilder() { + public com.google.cloud.contactcenterinsights.v1.PhraseMatcherOrBuilder getPhraseMatcherOrBuilder() { if (phraseMatcherBuilder_ != null) { return phraseMatcherBuilder_.getMessageOrBuilder(); } else { - return phraseMatcher_ == null - ? com.google.cloud.contactcenterinsights.v1.PhraseMatcher.getDefaultInstance() - : phraseMatcher_; + return phraseMatcher_ == null ? + com.google.cloud.contactcenterinsights.v1.PhraseMatcher.getDefaultInstance() : phraseMatcher_; } } /** - * - * *
      * Required. The phrase matcher resource to create.
      * 
* - * - * .google.cloud.contactcenterinsights.v1.PhraseMatcher phrase_matcher = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.contactcenterinsights.v1.PhraseMatcher phrase_matcher = 2 [(.google.api.field_behavior) = REQUIRED]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.contactcenterinsights.v1.PhraseMatcher, - com.google.cloud.contactcenterinsights.v1.PhraseMatcher.Builder, - com.google.cloud.contactcenterinsights.v1.PhraseMatcherOrBuilder> + com.google.cloud.contactcenterinsights.v1.PhraseMatcher, com.google.cloud.contactcenterinsights.v1.PhraseMatcher.Builder, com.google.cloud.contactcenterinsights.v1.PhraseMatcherOrBuilder> getPhraseMatcherFieldBuilder() { if (phraseMatcherBuilder_ == null) { - phraseMatcherBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.contactcenterinsights.v1.PhraseMatcher, - com.google.cloud.contactcenterinsights.v1.PhraseMatcher.Builder, - com.google.cloud.contactcenterinsights.v1.PhraseMatcherOrBuilder>( - getPhraseMatcher(), getParentForChildren(), isClean()); + phraseMatcherBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.contactcenterinsights.v1.PhraseMatcher, com.google.cloud.contactcenterinsights.v1.PhraseMatcher.Builder, com.google.cloud.contactcenterinsights.v1.PhraseMatcherOrBuilder>( + getPhraseMatcher(), + getParentForChildren(), + isClean()); phraseMatcher_ = null; } return phraseMatcherBuilder_; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -916,43 +776,41 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.contactcenterinsights.v1.CreatePhraseMatcherRequest) } // @@protoc_insertion_point(class_scope:google.cloud.contactcenterinsights.v1.CreatePhraseMatcherRequest) - private static final com.google.cloud.contactcenterinsights.v1.CreatePhraseMatcherRequest - DEFAULT_INSTANCE; - + private static final com.google.cloud.contactcenterinsights.v1.CreatePhraseMatcherRequest DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.cloud.contactcenterinsights.v1.CreatePhraseMatcherRequest(); } - public static com.google.cloud.contactcenterinsights.v1.CreatePhraseMatcherRequest - getDefaultInstance() { + public static com.google.cloud.contactcenterinsights.v1.CreatePhraseMatcherRequest getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public CreatePhraseMatcherRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public CreatePhraseMatcherRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -964,8 +822,9 @@ public com.google.protobuf.Parser getParserForType() } @java.lang.Override - public com.google.cloud.contactcenterinsights.v1.CreatePhraseMatcherRequest - getDefaultInstanceForType() { + public com.google.cloud.contactcenterinsights.v1.CreatePhraseMatcherRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/CreatePhraseMatcherRequestOrBuilder.java b/owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/CreatePhraseMatcherRequestOrBuilder.java new file mode 100644 index 000000000000..4fedb54bff43 --- /dev/null +++ b/owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/CreatePhraseMatcherRequestOrBuilder.java @@ -0,0 +1,62 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/contactcenterinsights/v1/contact_center_insights.proto + +package com.google.cloud.contactcenterinsights.v1; + +public interface CreatePhraseMatcherRequestOrBuilder extends + // @@protoc_insertion_point(interface_extends:google.cloud.contactcenterinsights.v1.CreatePhraseMatcherRequest) + com.google.protobuf.MessageOrBuilder { + + /** + *
+   * Required. The parent resource of the phrase matcher. Required. The location
+   * to create a phrase matcher for. Format: `projects/<Project
+   * ID>/locations/<Location ID>` or `projects/<Project
+   * Number>/locations/<Location ID>`
+   * 
+ * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The parent. + */ + java.lang.String getParent(); + /** + *
+   * Required. The parent resource of the phrase matcher. Required. The location
+   * to create a phrase matcher for. Format: `projects/<Project
+   * ID>/locations/<Location ID>` or `projects/<Project
+   * Number>/locations/<Location ID>`
+   * 
+ * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The bytes for parent. + */ + com.google.protobuf.ByteString + getParentBytes(); + + /** + *
+   * Required. The phrase matcher resource to create.
+   * 
+ * + * .google.cloud.contactcenterinsights.v1.PhraseMatcher phrase_matcher = 2 [(.google.api.field_behavior) = REQUIRED]; + * @return Whether the phraseMatcher field is set. + */ + boolean hasPhraseMatcher(); + /** + *
+   * Required. The phrase matcher resource to create.
+   * 
+ * + * .google.cloud.contactcenterinsights.v1.PhraseMatcher phrase_matcher = 2 [(.google.api.field_behavior) = REQUIRED]; + * @return The phraseMatcher. + */ + com.google.cloud.contactcenterinsights.v1.PhraseMatcher getPhraseMatcher(); + /** + *
+   * Required. The phrase matcher resource to create.
+   * 
+ * + * .google.cloud.contactcenterinsights.v1.PhraseMatcher phrase_matcher = 2 [(.google.api.field_behavior) = REQUIRED]; + */ + com.google.cloud.contactcenterinsights.v1.PhraseMatcherOrBuilder getPhraseMatcherOrBuilder(); +} diff --git a/java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/CreateViewRequest.java b/owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/CreateViewRequest.java similarity index 62% rename from java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/CreateViewRequest.java rename to owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/CreateViewRequest.java index 1f1316e446f4..fefb44d7d05c 100644 --- a/java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/CreateViewRequest.java +++ b/owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/CreateViewRequest.java @@ -1,79 +1,57 @@ -/* - * 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. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/contactcenterinsights/v1/contact_center_insights.proto package com.google.cloud.contactcenterinsights.v1; /** - * - * *
  * The request to create a view.
  * 
* * Protobuf type {@code google.cloud.contactcenterinsights.v1.CreateViewRequest} */ -public final class CreateViewRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class CreateViewRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.contactcenterinsights.v1.CreateViewRequest) CreateViewRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use CreateViewRequest.newBuilder() to construct. private CreateViewRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private CreateViewRequest() { parent_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new CreateViewRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto - .internal_static_google_cloud_contactcenterinsights_v1_CreateViewRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto.internal_static_google_cloud_contactcenterinsights_v1_CreateViewRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto - .internal_static_google_cloud_contactcenterinsights_v1_CreateViewRequest_fieldAccessorTable + return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto.internal_static_google_cloud_contactcenterinsights_v1_CreateViewRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.contactcenterinsights.v1.CreateViewRequest.class, - com.google.cloud.contactcenterinsights.v1.CreateViewRequest.Builder.class); + com.google.cloud.contactcenterinsights.v1.CreateViewRequest.class, com.google.cloud.contactcenterinsights.v1.CreateViewRequest.Builder.class); } public static final int PARENT_FIELD_NUMBER = 1; - @SuppressWarnings("serial") private volatile java.lang.Object parent_ = ""; /** - * - * *
    * Required. The parent resource of the view. Required. The location to create
    * a view for.
@@ -81,10 +59,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
    * `projects/<Project Number>/locations/<Location ID>`
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The parent. */ @java.lang.Override @@ -93,15 +68,14 @@ public java.lang.String getParent() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; } } /** - * - * *
    * Required. The parent resource of the view. Required. The location to create
    * a view for.
@@ -109,18 +83,17 @@ public java.lang.String getParent() {
    * `projects/<Project Number>/locations/<Location ID>`
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for parent. */ @java.lang.Override - public com.google.protobuf.ByteString getParentBytes() { + public com.google.protobuf.ByteString + getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); parent_ = b; return b; } else { @@ -131,16 +104,11 @@ public com.google.protobuf.ByteString getParentBytes() { public static final int VIEW_FIELD_NUMBER = 2; private com.google.cloud.contactcenterinsights.v1.View view_; /** - * - * *
    * Required. The view resource to create.
    * 
* - * - * .google.cloud.contactcenterinsights.v1.View view = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.contactcenterinsights.v1.View view = 2 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the view field is set. */ @java.lang.Override @@ -148,44 +116,30 @@ public boolean hasView() { return view_ != null; } /** - * - * *
    * Required. The view resource to create.
    * 
* - * - * .google.cloud.contactcenterinsights.v1.View view = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.contactcenterinsights.v1.View view = 2 [(.google.api.field_behavior) = REQUIRED]; * @return The view. */ @java.lang.Override public com.google.cloud.contactcenterinsights.v1.View getView() { - return view_ == null - ? com.google.cloud.contactcenterinsights.v1.View.getDefaultInstance() - : view_; + return view_ == null ? com.google.cloud.contactcenterinsights.v1.View.getDefaultInstance() : view_; } /** - * - * *
    * Required. The view resource to create.
    * 
* - * - * .google.cloud.contactcenterinsights.v1.View view = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.contactcenterinsights.v1.View view = 2 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override public com.google.cloud.contactcenterinsights.v1.ViewOrBuilder getViewOrBuilder() { - return view_ == null - ? com.google.cloud.contactcenterinsights.v1.View.getDefaultInstance() - : view_; + return view_ == null ? com.google.cloud.contactcenterinsights.v1.View.getDefaultInstance() : view_; } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -197,7 +151,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); } @@ -217,7 +172,8 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, parent_); } if (view_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getView()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, getView()); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -227,18 +183,19 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.contactcenterinsights.v1.CreateViewRequest)) { return super.equals(obj); } - com.google.cloud.contactcenterinsights.v1.CreateViewRequest other = - (com.google.cloud.contactcenterinsights.v1.CreateViewRequest) obj; + com.google.cloud.contactcenterinsights.v1.CreateViewRequest other = (com.google.cloud.contactcenterinsights.v1.CreateViewRequest) obj; - if (!getParent().equals(other.getParent())) return false; + if (!getParent() + .equals(other.getParent())) return false; if (hasView() != other.hasView()) return false; if (hasView()) { - if (!getView().equals(other.getView())) return false; + if (!getView() + .equals(other.getView())) return false; } if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -263,136 +220,129 @@ public int hashCode() { } public static com.google.cloud.contactcenterinsights.v1.CreateViewRequest parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.contactcenterinsights.v1.CreateViewRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.contactcenterinsights.v1.CreateViewRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.contactcenterinsights.v1.CreateViewRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.contactcenterinsights.v1.CreateViewRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.contactcenterinsights.v1.CreateViewRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.contactcenterinsights.v1.CreateViewRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.contactcenterinsights.v1.CreateViewRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.contactcenterinsights.v1.CreateViewRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.contactcenterinsights.v1.CreateViewRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.contactcenterinsights.v1.CreateViewRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.contactcenterinsights.v1.CreateViewRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.contactcenterinsights.v1.CreateViewRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.contactcenterinsights.v1.CreateViewRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.contactcenterinsights.v1.CreateViewRequest prototype) { + public static Builder newBuilder(com.google.cloud.contactcenterinsights.v1.CreateViewRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * The request to create a view.
    * 
* * Protobuf type {@code google.cloud.contactcenterinsights.v1.CreateViewRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.contactcenterinsights.v1.CreateViewRequest) com.google.cloud.contactcenterinsights.v1.CreateViewRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto - .internal_static_google_cloud_contactcenterinsights_v1_CreateViewRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto.internal_static_google_cloud_contactcenterinsights_v1_CreateViewRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto - .internal_static_google_cloud_contactcenterinsights_v1_CreateViewRequest_fieldAccessorTable + return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto.internal_static_google_cloud_contactcenterinsights_v1_CreateViewRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.contactcenterinsights.v1.CreateViewRequest.class, - com.google.cloud.contactcenterinsights.v1.CreateViewRequest.Builder.class); + com.google.cloud.contactcenterinsights.v1.CreateViewRequest.class, com.google.cloud.contactcenterinsights.v1.CreateViewRequest.Builder.class); } // Construct using com.google.cloud.contactcenterinsights.v1.CreateViewRequest.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -407,9 +357,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto - .internal_static_google_cloud_contactcenterinsights_v1_CreateViewRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto.internal_static_google_cloud_contactcenterinsights_v1_CreateViewRequest_descriptor; } @java.lang.Override @@ -428,11 +378,8 @@ public com.google.cloud.contactcenterinsights.v1.CreateViewRequest build() { @java.lang.Override public com.google.cloud.contactcenterinsights.v1.CreateViewRequest buildPartial() { - com.google.cloud.contactcenterinsights.v1.CreateViewRequest result = - new com.google.cloud.contactcenterinsights.v1.CreateViewRequest(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + com.google.cloud.contactcenterinsights.v1.CreateViewRequest result = new com.google.cloud.contactcenterinsights.v1.CreateViewRequest(this); + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } @@ -443,7 +390,9 @@ private void buildPartial0(com.google.cloud.contactcenterinsights.v1.CreateViewR result.parent_ = parent_; } if (((from_bitField0_ & 0x00000002) != 0)) { - result.view_ = viewBuilder_ == null ? view_ : viewBuilder_.build(); + result.view_ = viewBuilder_ == null + ? view_ + : viewBuilder_.build(); } } @@ -451,39 +400,38 @@ private void buildPartial0(com.google.cloud.contactcenterinsights.v1.CreateViewR public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.contactcenterinsights.v1.CreateViewRequest) { - return mergeFrom((com.google.cloud.contactcenterinsights.v1.CreateViewRequest) other); + return mergeFrom((com.google.cloud.contactcenterinsights.v1.CreateViewRequest)other); } else { super.mergeFrom(other); return this; @@ -491,8 +439,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.contactcenterinsights.v1.CreateViewRequest other) { - if (other == com.google.cloud.contactcenterinsights.v1.CreateViewRequest.getDefaultInstance()) - return this; + if (other == com.google.cloud.contactcenterinsights.v1.CreateViewRequest.getDefaultInstance()) return this; if (!other.getParent().isEmpty()) { parent_ = other.parent_; bitField0_ |= 0x00000001; @@ -527,25 +474,24 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - parent_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: - { - input.readMessage(getViewFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00000002; - break; - } // case 18 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + parent_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: { + input.readMessage( + getViewFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00000002; + break; + } // case 18 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -555,13 +501,10 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private java.lang.Object parent_ = ""; /** - * - * *
      * Required. The parent resource of the view. Required. The location to create
      * a view for.
@@ -569,16 +512,14 @@ public Builder mergeFrom(
      * `projects/<Project Number>/locations/<Location ID>`
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The parent. */ public java.lang.String getParent() { java.lang.Object ref = parent_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; @@ -587,8 +528,6 @@ public java.lang.String getParent() { } } /** - * - * *
      * Required. The parent resource of the view. Required. The location to create
      * a view for.
@@ -596,17 +535,16 @@ public java.lang.String getParent() {
      * `projects/<Project Number>/locations/<Location ID>`
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for parent. */ - public com.google.protobuf.ByteString getParentBytes() { + public com.google.protobuf.ByteString + getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); parent_ = b; return b; } else { @@ -614,8 +552,6 @@ public com.google.protobuf.ByteString getParentBytes() { } } /** - * - * *
      * Required. The parent resource of the view. Required. The location to create
      * a view for.
@@ -623,25 +559,19 @@ public com.google.protobuf.ByteString getParentBytes() {
      * `projects/<Project Number>/locations/<Location ID>`
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The parent to set. * @return This builder for chaining. */ - public Builder setParent(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setParent( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } parent_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
      * Required. The parent resource of the view. Required. The location to create
      * a view for.
@@ -649,10 +579,7 @@ public Builder setParent(java.lang.String value) {
      * `projects/<Project Number>/locations/<Location ID>`
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearParent() { @@ -662,8 +589,6 @@ public Builder clearParent() { return this; } /** - * - * *
      * Required. The parent resource of the view. Required. The location to create
      * a view for.
@@ -671,17 +596,13 @@ public Builder clearParent() {
      * `projects/<Project Number>/locations/<Location ID>`
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setParentBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); parent_ = value; bitField0_ |= 0x00000001; @@ -691,58 +612,39 @@ public Builder setParentBytes(com.google.protobuf.ByteString value) { private com.google.cloud.contactcenterinsights.v1.View view_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.contactcenterinsights.v1.View, - com.google.cloud.contactcenterinsights.v1.View.Builder, - com.google.cloud.contactcenterinsights.v1.ViewOrBuilder> - viewBuilder_; + com.google.cloud.contactcenterinsights.v1.View, com.google.cloud.contactcenterinsights.v1.View.Builder, com.google.cloud.contactcenterinsights.v1.ViewOrBuilder> viewBuilder_; /** - * - * *
      * Required. The view resource to create.
      * 
* - * - * .google.cloud.contactcenterinsights.v1.View view = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.contactcenterinsights.v1.View view = 2 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the view field is set. */ public boolean hasView() { return ((bitField0_ & 0x00000002) != 0); } /** - * - * *
      * Required. The view resource to create.
      * 
* - * - * .google.cloud.contactcenterinsights.v1.View view = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.contactcenterinsights.v1.View view = 2 [(.google.api.field_behavior) = REQUIRED]; * @return The view. */ public com.google.cloud.contactcenterinsights.v1.View getView() { if (viewBuilder_ == null) { - return view_ == null - ? com.google.cloud.contactcenterinsights.v1.View.getDefaultInstance() - : view_; + return view_ == null ? com.google.cloud.contactcenterinsights.v1.View.getDefaultInstance() : view_; } else { return viewBuilder_.getMessage(); } } /** - * - * *
      * Required. The view resource to create.
      * 
* - * - * .google.cloud.contactcenterinsights.v1.View view = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.contactcenterinsights.v1.View view = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder setView(com.google.cloud.contactcenterinsights.v1.View value) { if (viewBuilder_ == null) { @@ -758,17 +660,14 @@ public Builder setView(com.google.cloud.contactcenterinsights.v1.View value) { return this; } /** - * - * *
      * Required. The view resource to create.
      * 
* - * - * .google.cloud.contactcenterinsights.v1.View view = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.contactcenterinsights.v1.View view = 2 [(.google.api.field_behavior) = REQUIRED]; */ - public Builder setView(com.google.cloud.contactcenterinsights.v1.View.Builder builderForValue) { + public Builder setView( + com.google.cloud.contactcenterinsights.v1.View.Builder builderForValue) { if (viewBuilder_ == null) { view_ = builderForValue.build(); } else { @@ -779,21 +678,17 @@ public Builder setView(com.google.cloud.contactcenterinsights.v1.View.Builder bu return this; } /** - * - * *
      * Required. The view resource to create.
      * 
* - * - * .google.cloud.contactcenterinsights.v1.View view = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.contactcenterinsights.v1.View view = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder mergeView(com.google.cloud.contactcenterinsights.v1.View value) { if (viewBuilder_ == null) { - if (((bitField0_ & 0x00000002) != 0) - && view_ != null - && view_ != com.google.cloud.contactcenterinsights.v1.View.getDefaultInstance()) { + if (((bitField0_ & 0x00000002) != 0) && + view_ != null && + view_ != com.google.cloud.contactcenterinsights.v1.View.getDefaultInstance()) { getViewBuilder().mergeFrom(value); } else { view_ = value; @@ -806,15 +701,11 @@ public Builder mergeView(com.google.cloud.contactcenterinsights.v1.View value) { return this; } /** - * - * *
      * Required. The view resource to create.
      * 
* - * - * .google.cloud.contactcenterinsights.v1.View view = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.contactcenterinsights.v1.View view = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder clearView() { bitField0_ = (bitField0_ & ~0x00000002); @@ -827,15 +718,11 @@ public Builder clearView() { return this; } /** - * - * *
      * Required. The view resource to create.
      * 
* - * - * .google.cloud.contactcenterinsights.v1.View view = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.contactcenterinsights.v1.View view = 2 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.cloud.contactcenterinsights.v1.View.Builder getViewBuilder() { bitField0_ |= 0x00000002; @@ -843,55 +730,43 @@ public com.google.cloud.contactcenterinsights.v1.View.Builder getViewBuilder() { return getViewFieldBuilder().getBuilder(); } /** - * - * *
      * Required. The view resource to create.
      * 
* - * - * .google.cloud.contactcenterinsights.v1.View view = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.contactcenterinsights.v1.View view = 2 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.cloud.contactcenterinsights.v1.ViewOrBuilder getViewOrBuilder() { if (viewBuilder_ != null) { return viewBuilder_.getMessageOrBuilder(); } else { - return view_ == null - ? com.google.cloud.contactcenterinsights.v1.View.getDefaultInstance() - : view_; + return view_ == null ? + com.google.cloud.contactcenterinsights.v1.View.getDefaultInstance() : view_; } } /** - * - * *
      * Required. The view resource to create.
      * 
* - * - * .google.cloud.contactcenterinsights.v1.View view = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.contactcenterinsights.v1.View view = 2 [(.google.api.field_behavior) = REQUIRED]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.contactcenterinsights.v1.View, - com.google.cloud.contactcenterinsights.v1.View.Builder, - com.google.cloud.contactcenterinsights.v1.ViewOrBuilder> + com.google.cloud.contactcenterinsights.v1.View, com.google.cloud.contactcenterinsights.v1.View.Builder, com.google.cloud.contactcenterinsights.v1.ViewOrBuilder> getViewFieldBuilder() { if (viewBuilder_ == null) { - viewBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.contactcenterinsights.v1.View, - com.google.cloud.contactcenterinsights.v1.View.Builder, - com.google.cloud.contactcenterinsights.v1.ViewOrBuilder>( - getView(), getParentForChildren(), isClean()); + viewBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.contactcenterinsights.v1.View, com.google.cloud.contactcenterinsights.v1.View.Builder, com.google.cloud.contactcenterinsights.v1.ViewOrBuilder>( + getView(), + getParentForChildren(), + isClean()); view_ = null; } return viewBuilder_; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -901,12 +776,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.contactcenterinsights.v1.CreateViewRequest) } // @@protoc_insertion_point(class_scope:google.cloud.contactcenterinsights.v1.CreateViewRequest) private static final com.google.cloud.contactcenterinsights.v1.CreateViewRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.contactcenterinsights.v1.CreateViewRequest(); } @@ -915,27 +790,27 @@ public static com.google.cloud.contactcenterinsights.v1.CreateViewRequest getDef return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public CreateViewRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public CreateViewRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -950,4 +825,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.contactcenterinsights.v1.CreateViewRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/CreateViewRequestOrBuilder.java b/owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/CreateViewRequestOrBuilder.java similarity index 51% rename from java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/CreateViewRequestOrBuilder.java rename to owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/CreateViewRequestOrBuilder.java index cfde33431daf..a28331f203c8 100644 --- a/java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/CreateViewRequestOrBuilder.java +++ b/owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/CreateViewRequestOrBuilder.java @@ -1,31 +1,13 @@ -/* - * 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. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/contactcenterinsights/v1/contact_center_insights.proto package com.google.cloud.contactcenterinsights.v1; -public interface CreateViewRequestOrBuilder - extends +public interface CreateViewRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.contactcenterinsights.v1.CreateViewRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Required. The parent resource of the view. Required. The location to create
    * a view for.
@@ -33,16 +15,11 @@ public interface CreateViewRequestOrBuilder
    * `projects/<Project Number>/locations/<Location ID>`
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The parent. */ java.lang.String getParent(); /** - * - * *
    * Required. The parent resource of the view. Required. The location to create
    * a view for.
@@ -50,52 +27,36 @@ public interface CreateViewRequestOrBuilder
    * `projects/<Project Number>/locations/<Location ID>`
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for parent. */ - com.google.protobuf.ByteString getParentBytes(); + com.google.protobuf.ByteString + getParentBytes(); /** - * - * *
    * Required. The view resource to create.
    * 
* - * - * .google.cloud.contactcenterinsights.v1.View view = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.contactcenterinsights.v1.View view = 2 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the view field is set. */ boolean hasView(); /** - * - * *
    * Required. The view resource to create.
    * 
* - * - * .google.cloud.contactcenterinsights.v1.View view = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.contactcenterinsights.v1.View view = 2 [(.google.api.field_behavior) = REQUIRED]; * @return The view. */ com.google.cloud.contactcenterinsights.v1.View getView(); /** - * - * *
    * Required. The view resource to create.
    * 
* - * - * .google.cloud.contactcenterinsights.v1.View view = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.contactcenterinsights.v1.View view = 2 [(.google.api.field_behavior) = REQUIRED]; */ com.google.cloud.contactcenterinsights.v1.ViewOrBuilder getViewOrBuilder(); } diff --git a/java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/DeleteAnalysisRequest.java b/owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/DeleteAnalysisRequest.java similarity index 60% rename from java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/DeleteAnalysisRequest.java rename to owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/DeleteAnalysisRequest.java index d09d8b6ce0b9..b68754991d4d 100644 --- a/java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/DeleteAnalysisRequest.java +++ b/owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/DeleteAnalysisRequest.java @@ -1,87 +1,62 @@ -/* - * 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. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/contactcenterinsights/v1/contact_center_insights.proto package com.google.cloud.contactcenterinsights.v1; /** - * - * *
  * The request to delete an analysis.
  * 
* * Protobuf type {@code google.cloud.contactcenterinsights.v1.DeleteAnalysisRequest} */ -public final class DeleteAnalysisRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class DeleteAnalysisRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.contactcenterinsights.v1.DeleteAnalysisRequest) DeleteAnalysisRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use DeleteAnalysisRequest.newBuilder() to construct. private DeleteAnalysisRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private DeleteAnalysisRequest() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new DeleteAnalysisRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto - .internal_static_google_cloud_contactcenterinsights_v1_DeleteAnalysisRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto.internal_static_google_cloud_contactcenterinsights_v1_DeleteAnalysisRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto - .internal_static_google_cloud_contactcenterinsights_v1_DeleteAnalysisRequest_fieldAccessorTable + return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto.internal_static_google_cloud_contactcenterinsights_v1_DeleteAnalysisRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.contactcenterinsights.v1.DeleteAnalysisRequest.class, - com.google.cloud.contactcenterinsights.v1.DeleteAnalysisRequest.Builder.class); + com.google.cloud.contactcenterinsights.v1.DeleteAnalysisRequest.class, com.google.cloud.contactcenterinsights.v1.DeleteAnalysisRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; - @SuppressWarnings("serial") private volatile java.lang.Object name_ = ""; /** - * - * *
    * Required. The name of the analysis to delete.
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ @java.lang.Override @@ -90,31 +65,29 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** - * - * *
    * Required. The name of the analysis to delete.
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -123,7 +96,6 @@ public com.google.protobuf.ByteString getNameBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -135,7 +107,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -159,15 +132,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.contactcenterinsights.v1.DeleteAnalysisRequest)) { return super.equals(obj); } - com.google.cloud.contactcenterinsights.v1.DeleteAnalysisRequest other = - (com.google.cloud.contactcenterinsights.v1.DeleteAnalysisRequest) obj; + com.google.cloud.contactcenterinsights.v1.DeleteAnalysisRequest other = (com.google.cloud.contactcenterinsights.v1.DeleteAnalysisRequest) obj; - if (!getName().equals(other.getName())) return false; + if (!getName() + .equals(other.getName())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -187,136 +160,129 @@ public int hashCode() { } public static com.google.cloud.contactcenterinsights.v1.DeleteAnalysisRequest parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.contactcenterinsights.v1.DeleteAnalysisRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.contactcenterinsights.v1.DeleteAnalysisRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.contactcenterinsights.v1.DeleteAnalysisRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.contactcenterinsights.v1.DeleteAnalysisRequest parseFrom( - byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.contactcenterinsights.v1.DeleteAnalysisRequest parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.contactcenterinsights.v1.DeleteAnalysisRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.contactcenterinsights.v1.DeleteAnalysisRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.contactcenterinsights.v1.DeleteAnalysisRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.contactcenterinsights.v1.DeleteAnalysisRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.contactcenterinsights.v1.DeleteAnalysisRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.contactcenterinsights.v1.DeleteAnalysisRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.contactcenterinsights.v1.DeleteAnalysisRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.contactcenterinsights.v1.DeleteAnalysisRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.contactcenterinsights.v1.DeleteAnalysisRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.contactcenterinsights.v1.DeleteAnalysisRequest prototype) { + public static Builder newBuilder(com.google.cloud.contactcenterinsights.v1.DeleteAnalysisRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * The request to delete an analysis.
    * 
* * Protobuf type {@code google.cloud.contactcenterinsights.v1.DeleteAnalysisRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.contactcenterinsights.v1.DeleteAnalysisRequest) com.google.cloud.contactcenterinsights.v1.DeleteAnalysisRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto - .internal_static_google_cloud_contactcenterinsights_v1_DeleteAnalysisRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto.internal_static_google_cloud_contactcenterinsights_v1_DeleteAnalysisRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto - .internal_static_google_cloud_contactcenterinsights_v1_DeleteAnalysisRequest_fieldAccessorTable + return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto.internal_static_google_cloud_contactcenterinsights_v1_DeleteAnalysisRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.contactcenterinsights.v1.DeleteAnalysisRequest.class, - com.google.cloud.contactcenterinsights.v1.DeleteAnalysisRequest.Builder.class); + com.google.cloud.contactcenterinsights.v1.DeleteAnalysisRequest.class, com.google.cloud.contactcenterinsights.v1.DeleteAnalysisRequest.Builder.class); } // Construct using com.google.cloud.contactcenterinsights.v1.DeleteAnalysisRequest.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -326,14 +292,13 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto - .internal_static_google_cloud_contactcenterinsights_v1_DeleteAnalysisRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto.internal_static_google_cloud_contactcenterinsights_v1_DeleteAnalysisRequest_descriptor; } @java.lang.Override - public com.google.cloud.contactcenterinsights.v1.DeleteAnalysisRequest - getDefaultInstanceForType() { + public com.google.cloud.contactcenterinsights.v1.DeleteAnalysisRequest getDefaultInstanceForType() { return com.google.cloud.contactcenterinsights.v1.DeleteAnalysisRequest.getDefaultInstance(); } @@ -348,17 +313,13 @@ public com.google.cloud.contactcenterinsights.v1.DeleteAnalysisRequest build() { @java.lang.Override public com.google.cloud.contactcenterinsights.v1.DeleteAnalysisRequest buildPartial() { - com.google.cloud.contactcenterinsights.v1.DeleteAnalysisRequest result = - new com.google.cloud.contactcenterinsights.v1.DeleteAnalysisRequest(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + com.google.cloud.contactcenterinsights.v1.DeleteAnalysisRequest result = new com.google.cloud.contactcenterinsights.v1.DeleteAnalysisRequest(this); + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } - private void buildPartial0( - com.google.cloud.contactcenterinsights.v1.DeleteAnalysisRequest result) { + private void buildPartial0(com.google.cloud.contactcenterinsights.v1.DeleteAnalysisRequest result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { result.name_ = name_; @@ -369,50 +330,46 @@ private void buildPartial0( public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.contactcenterinsights.v1.DeleteAnalysisRequest) { - return mergeFrom((com.google.cloud.contactcenterinsights.v1.DeleteAnalysisRequest) other); + return mergeFrom((com.google.cloud.contactcenterinsights.v1.DeleteAnalysisRequest)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom( - com.google.cloud.contactcenterinsights.v1.DeleteAnalysisRequest other) { - if (other - == com.google.cloud.contactcenterinsights.v1.DeleteAnalysisRequest.getDefaultInstance()) - return this; + public Builder mergeFrom(com.google.cloud.contactcenterinsights.v1.DeleteAnalysisRequest other) { + if (other == com.google.cloud.contactcenterinsights.v1.DeleteAnalysisRequest.getDefaultInstance()) return this; if (!other.getName().isEmpty()) { name_ = other.name_; bitField0_ |= 0x00000001; @@ -444,19 +401,17 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - name_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + name_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -466,27 +421,22 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private java.lang.Object name_ = ""; /** - * - * *
      * Required. The name of the analysis to delete.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -495,23 +445,20 @@ public java.lang.String getName() { } } /** - * - * *
      * Required. The name of the analysis to delete.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -519,39 +466,28 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * Required. The name of the analysis to delete.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The name to set. * @return This builder for chaining. */ - public Builder setName(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setName( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } name_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
      * Required. The name of the analysis to delete.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearName() { @@ -561,32 +497,26 @@ public Builder clearName() { return this; } /** - * - * *
      * Required. The name of the analysis to delete.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setNameBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); name_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -596,43 +526,41 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.contactcenterinsights.v1.DeleteAnalysisRequest) } // @@protoc_insertion_point(class_scope:google.cloud.contactcenterinsights.v1.DeleteAnalysisRequest) - private static final com.google.cloud.contactcenterinsights.v1.DeleteAnalysisRequest - DEFAULT_INSTANCE; - + private static final com.google.cloud.contactcenterinsights.v1.DeleteAnalysisRequest DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.cloud.contactcenterinsights.v1.DeleteAnalysisRequest(); } - public static com.google.cloud.contactcenterinsights.v1.DeleteAnalysisRequest - getDefaultInstance() { + public static com.google.cloud.contactcenterinsights.v1.DeleteAnalysisRequest getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public DeleteAnalysisRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public DeleteAnalysisRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -644,8 +572,9 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.cloud.contactcenterinsights.v1.DeleteAnalysisRequest - getDefaultInstanceForType() { + public com.google.cloud.contactcenterinsights.v1.DeleteAnalysisRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/DeleteAnalysisRequestOrBuilder.java b/owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/DeleteAnalysisRequestOrBuilder.java new file mode 100644 index 000000000000..932fbf0df40c --- /dev/null +++ b/owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/DeleteAnalysisRequestOrBuilder.java @@ -0,0 +1,29 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/contactcenterinsights/v1/contact_center_insights.proto + +package com.google.cloud.contactcenterinsights.v1; + +public interface DeleteAnalysisRequestOrBuilder extends + // @@protoc_insertion_point(interface_extends:google.cloud.contactcenterinsights.v1.DeleteAnalysisRequest) + com.google.protobuf.MessageOrBuilder { + + /** + *
+   * Required. The name of the analysis to delete.
+   * 
+ * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The name. + */ + java.lang.String getName(); + /** + *
+   * Required. The name of the analysis to delete.
+   * 
+ * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The bytes for name. + */ + com.google.protobuf.ByteString + getNameBytes(); +} diff --git a/java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/DeleteConversationRequest.java b/owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/DeleteConversationRequest.java similarity index 61% rename from java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/DeleteConversationRequest.java rename to owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/DeleteConversationRequest.java index bca781595ec7..cb4c017874f3 100644 --- a/java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/DeleteConversationRequest.java +++ b/owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/DeleteConversationRequest.java @@ -1,87 +1,62 @@ -/* - * 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. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/contactcenterinsights/v1/contact_center_insights.proto package com.google.cloud.contactcenterinsights.v1; /** - * - * *
  * The request to delete a conversation.
  * 
* * Protobuf type {@code google.cloud.contactcenterinsights.v1.DeleteConversationRequest} */ -public final class DeleteConversationRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class DeleteConversationRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.contactcenterinsights.v1.DeleteConversationRequest) DeleteConversationRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use DeleteConversationRequest.newBuilder() to construct. private DeleteConversationRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private DeleteConversationRequest() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new DeleteConversationRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto - .internal_static_google_cloud_contactcenterinsights_v1_DeleteConversationRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto.internal_static_google_cloud_contactcenterinsights_v1_DeleteConversationRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto - .internal_static_google_cloud_contactcenterinsights_v1_DeleteConversationRequest_fieldAccessorTable + return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto.internal_static_google_cloud_contactcenterinsights_v1_DeleteConversationRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.contactcenterinsights.v1.DeleteConversationRequest.class, - com.google.cloud.contactcenterinsights.v1.DeleteConversationRequest.Builder.class); + com.google.cloud.contactcenterinsights.v1.DeleteConversationRequest.class, com.google.cloud.contactcenterinsights.v1.DeleteConversationRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; - @SuppressWarnings("serial") private volatile java.lang.Object name_ = ""; /** - * - * *
    * Required. The name of the conversation to delete.
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ @java.lang.Override @@ -90,31 +65,29 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** - * - * *
    * Required. The name of the conversation to delete.
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -125,8 +98,6 @@ public com.google.protobuf.ByteString getNameBytes() { public static final int FORCE_FIELD_NUMBER = 2; private boolean force_ = false; /** - * - * *
    * If set to true, all of this conversation's analyses will also be deleted.
    * Otherwise, the request will only succeed if the conversation has no
@@ -134,7 +105,6 @@ public com.google.protobuf.ByteString getNameBytes() {
    * 
* * bool force = 2; - * * @return The force. */ @java.lang.Override @@ -143,7 +113,6 @@ public boolean getForce() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -155,7 +124,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -175,7 +145,8 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_); } if (force_ != false) { - size += com.google.protobuf.CodedOutputStream.computeBoolSize(2, force_); + size += com.google.protobuf.CodedOutputStream + .computeBoolSize(2, force_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -185,16 +156,17 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.contactcenterinsights.v1.DeleteConversationRequest)) { return super.equals(obj); } - com.google.cloud.contactcenterinsights.v1.DeleteConversationRequest other = - (com.google.cloud.contactcenterinsights.v1.DeleteConversationRequest) obj; + com.google.cloud.contactcenterinsights.v1.DeleteConversationRequest other = (com.google.cloud.contactcenterinsights.v1.DeleteConversationRequest) obj; - if (!getName().equals(other.getName())) return false; - if (getForce() != other.getForce()) return false; + if (!getName() + .equals(other.getName())) return false; + if (getForce() + != other.getForce()) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -209,145 +181,137 @@ public int hashCode() { hash = (37 * hash) + NAME_FIELD_NUMBER; hash = (53 * hash) + getName().hashCode(); hash = (37 * hash) + FORCE_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getForce()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( + getForce()); hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } public static com.google.cloud.contactcenterinsights.v1.DeleteConversationRequest parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.contactcenterinsights.v1.DeleteConversationRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.contactcenterinsights.v1.DeleteConversationRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.contactcenterinsights.v1.DeleteConversationRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.contactcenterinsights.v1.DeleteConversationRequest parseFrom( - byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.contactcenterinsights.v1.DeleteConversationRequest parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.contactcenterinsights.v1.DeleteConversationRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.contactcenterinsights.v1.DeleteConversationRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.contactcenterinsights.v1.DeleteConversationRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.contactcenterinsights.v1.DeleteConversationRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.contactcenterinsights.v1.DeleteConversationRequest - parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.contactcenterinsights.v1.DeleteConversationRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - - public static com.google.cloud.contactcenterinsights.v1.DeleteConversationRequest - parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + public static com.google.cloud.contactcenterinsights.v1.DeleteConversationRequest parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.contactcenterinsights.v1.DeleteConversationRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.contactcenterinsights.v1.DeleteConversationRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.contactcenterinsights.v1.DeleteConversationRequest prototype) { + public static Builder newBuilder(com.google.cloud.contactcenterinsights.v1.DeleteConversationRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * The request to delete a conversation.
    * 
* * Protobuf type {@code google.cloud.contactcenterinsights.v1.DeleteConversationRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.contactcenterinsights.v1.DeleteConversationRequest) com.google.cloud.contactcenterinsights.v1.DeleteConversationRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto - .internal_static_google_cloud_contactcenterinsights_v1_DeleteConversationRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto.internal_static_google_cloud_contactcenterinsights_v1_DeleteConversationRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto - .internal_static_google_cloud_contactcenterinsights_v1_DeleteConversationRequest_fieldAccessorTable + return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto.internal_static_google_cloud_contactcenterinsights_v1_DeleteConversationRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.contactcenterinsights.v1.DeleteConversationRequest.class, - com.google.cloud.contactcenterinsights.v1.DeleteConversationRequest.Builder.class); + com.google.cloud.contactcenterinsights.v1.DeleteConversationRequest.class, com.google.cloud.contactcenterinsights.v1.DeleteConversationRequest.Builder.class); } - // Construct using - // com.google.cloud.contactcenterinsights.v1.DeleteConversationRequest.newBuilder() - private Builder() {} + // Construct using com.google.cloud.contactcenterinsights.v1.DeleteConversationRequest.newBuilder() + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -358,16 +322,14 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto - .internal_static_google_cloud_contactcenterinsights_v1_DeleteConversationRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto.internal_static_google_cloud_contactcenterinsights_v1_DeleteConversationRequest_descriptor; } @java.lang.Override - public com.google.cloud.contactcenterinsights.v1.DeleteConversationRequest - getDefaultInstanceForType() { - return com.google.cloud.contactcenterinsights.v1.DeleteConversationRequest - .getDefaultInstance(); + public com.google.cloud.contactcenterinsights.v1.DeleteConversationRequest getDefaultInstanceForType() { + return com.google.cloud.contactcenterinsights.v1.DeleteConversationRequest.getDefaultInstance(); } @java.lang.Override @@ -381,17 +343,13 @@ public com.google.cloud.contactcenterinsights.v1.DeleteConversationRequest build @java.lang.Override public com.google.cloud.contactcenterinsights.v1.DeleteConversationRequest buildPartial() { - com.google.cloud.contactcenterinsights.v1.DeleteConversationRequest result = - new com.google.cloud.contactcenterinsights.v1.DeleteConversationRequest(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + com.google.cloud.contactcenterinsights.v1.DeleteConversationRequest result = new com.google.cloud.contactcenterinsights.v1.DeleteConversationRequest(this); + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } - private void buildPartial0( - com.google.cloud.contactcenterinsights.v1.DeleteConversationRequest result) { + private void buildPartial0(com.google.cloud.contactcenterinsights.v1.DeleteConversationRequest result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { result.name_ = name_; @@ -405,51 +363,46 @@ private void buildPartial0( public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.contactcenterinsights.v1.DeleteConversationRequest) { - return mergeFrom( - (com.google.cloud.contactcenterinsights.v1.DeleteConversationRequest) other); + return mergeFrom((com.google.cloud.contactcenterinsights.v1.DeleteConversationRequest)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom( - com.google.cloud.contactcenterinsights.v1.DeleteConversationRequest other) { - if (other - == com.google.cloud.contactcenterinsights.v1.DeleteConversationRequest - .getDefaultInstance()) return this; + public Builder mergeFrom(com.google.cloud.contactcenterinsights.v1.DeleteConversationRequest other) { + if (other == com.google.cloud.contactcenterinsights.v1.DeleteConversationRequest.getDefaultInstance()) return this; if (!other.getName().isEmpty()) { name_ = other.name_; bitField0_ |= 0x00000001; @@ -484,25 +437,22 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - name_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 16: - { - force_ = input.readBool(); - bitField0_ |= 0x00000002; - break; - } // case 16 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + name_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 16: { + force_ = input.readBool(); + bitField0_ |= 0x00000002; + break; + } // case 16 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -512,27 +462,22 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private java.lang.Object name_ = ""; /** - * - * *
      * Required. The name of the conversation to delete.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -541,23 +486,20 @@ public java.lang.String getName() { } } /** - * - * *
      * Required. The name of the conversation to delete.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -565,39 +507,28 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * Required. The name of the conversation to delete.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The name to set. * @return This builder for chaining. */ - public Builder setName(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setName( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } name_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
      * Required. The name of the conversation to delete.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearName() { @@ -607,23 +538,17 @@ public Builder clearName() { return this; } /** - * - * *
      * Required. The name of the conversation to delete.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setNameBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); name_ = value; bitField0_ |= 0x00000001; @@ -631,10 +556,8 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) { return this; } - private boolean force_; + private boolean force_ ; /** - * - * *
      * If set to true, all of this conversation's analyses will also be deleted.
      * Otherwise, the request will only succeed if the conversation has no
@@ -642,7 +565,6 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) {
      * 
* * bool force = 2; - * * @return The force. */ @java.lang.Override @@ -650,8 +572,6 @@ public boolean getForce() { return force_; } /** - * - * *
      * If set to true, all of this conversation's analyses will also be deleted.
      * Otherwise, the request will only succeed if the conversation has no
@@ -659,20 +579,17 @@ public boolean getForce() {
      * 
* * bool force = 2; - * * @param value The force to set. * @return This builder for chaining. */ public Builder setForce(boolean value) { - + force_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** - * - * *
      * If set to true, all of this conversation's analyses will also be deleted.
      * Otherwise, the request will only succeed if the conversation has no
@@ -680,7 +597,6 @@ public Builder setForce(boolean value) {
      * 
* * bool force = 2; - * * @return This builder for chaining. */ public Builder clearForce() { @@ -689,9 +605,9 @@ public Builder clearForce() { onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -701,43 +617,41 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.contactcenterinsights.v1.DeleteConversationRequest) } // @@protoc_insertion_point(class_scope:google.cloud.contactcenterinsights.v1.DeleteConversationRequest) - private static final com.google.cloud.contactcenterinsights.v1.DeleteConversationRequest - DEFAULT_INSTANCE; - + private static final com.google.cloud.contactcenterinsights.v1.DeleteConversationRequest DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.cloud.contactcenterinsights.v1.DeleteConversationRequest(); } - public static com.google.cloud.contactcenterinsights.v1.DeleteConversationRequest - getDefaultInstance() { + public static com.google.cloud.contactcenterinsights.v1.DeleteConversationRequest getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public DeleteConversationRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public DeleteConversationRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -749,8 +663,9 @@ public com.google.protobuf.Parser getParserForType() } @java.lang.Override - public com.google.cloud.contactcenterinsights.v1.DeleteConversationRequest - getDefaultInstanceForType() { + public com.google.cloud.contactcenterinsights.v1.DeleteConversationRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/DeleteConversationRequestOrBuilder.java b/owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/DeleteConversationRequestOrBuilder.java new file mode 100644 index 000000000000..d15cd125e212 --- /dev/null +++ b/owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/DeleteConversationRequestOrBuilder.java @@ -0,0 +1,41 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/contactcenterinsights/v1/contact_center_insights.proto + +package com.google.cloud.contactcenterinsights.v1; + +public interface DeleteConversationRequestOrBuilder extends + // @@protoc_insertion_point(interface_extends:google.cloud.contactcenterinsights.v1.DeleteConversationRequest) + com.google.protobuf.MessageOrBuilder { + + /** + *
+   * Required. The name of the conversation to delete.
+   * 
+ * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The name. + */ + java.lang.String getName(); + /** + *
+   * Required. The name of the conversation to delete.
+   * 
+ * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The bytes for name. + */ + com.google.protobuf.ByteString + getNameBytes(); + + /** + *
+   * If set to true, all of this conversation's analyses will also be deleted.
+   * Otherwise, the request will only succeed if the conversation has no
+   * analyses.
+   * 
+ * + * bool force = 2; + * @return The force. + */ + boolean getForce(); +} diff --git a/java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/DeleteIssueModelMetadata.java b/owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/DeleteIssueModelMetadata.java similarity index 63% rename from java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/DeleteIssueModelMetadata.java rename to owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/DeleteIssueModelMetadata.java index d9e89d9aa618..a4eae904a604 100644 --- a/java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/DeleteIssueModelMetadata.java +++ b/owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/DeleteIssueModelMetadata.java @@ -1,82 +1,60 @@ -/* - * 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. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/contactcenterinsights/v1/contact_center_insights.proto package com.google.cloud.contactcenterinsights.v1; /** - * - * *
  * Metadata for deleting an issue model.
  * 
* * Protobuf type {@code google.cloud.contactcenterinsights.v1.DeleteIssueModelMetadata} */ -public final class DeleteIssueModelMetadata extends com.google.protobuf.GeneratedMessageV3 - implements +public final class DeleteIssueModelMetadata extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.contactcenterinsights.v1.DeleteIssueModelMetadata) DeleteIssueModelMetadataOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use DeleteIssueModelMetadata.newBuilder() to construct. private DeleteIssueModelMetadata(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - - private DeleteIssueModelMetadata() {} + private DeleteIssueModelMetadata() { + } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new DeleteIssueModelMetadata(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto - .internal_static_google_cloud_contactcenterinsights_v1_DeleteIssueModelMetadata_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto.internal_static_google_cloud_contactcenterinsights_v1_DeleteIssueModelMetadata_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto - .internal_static_google_cloud_contactcenterinsights_v1_DeleteIssueModelMetadata_fieldAccessorTable + return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto.internal_static_google_cloud_contactcenterinsights_v1_DeleteIssueModelMetadata_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.contactcenterinsights.v1.DeleteIssueModelMetadata.class, - com.google.cloud.contactcenterinsights.v1.DeleteIssueModelMetadata.Builder.class); + com.google.cloud.contactcenterinsights.v1.DeleteIssueModelMetadata.class, com.google.cloud.contactcenterinsights.v1.DeleteIssueModelMetadata.Builder.class); } public static final int CREATE_TIME_FIELD_NUMBER = 1; private com.google.protobuf.Timestamp createTime_; /** - * - * *
    * Output only. The time the operation was created.
    * 
* - * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the createTime field is set. */ @java.lang.Override @@ -84,15 +62,11 @@ public boolean hasCreateTime() { return createTime_ != null; } /** - * - * *
    * Output only. The time the operation was created.
    * 
* - * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The createTime. */ @java.lang.Override @@ -100,14 +74,11 @@ public com.google.protobuf.Timestamp getCreateTime() { return createTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : createTime_; } /** - * - * *
    * Output only. The time the operation was created.
    * 
* - * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ @java.lang.Override public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { @@ -117,15 +88,11 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { public static final int END_TIME_FIELD_NUMBER = 2; private com.google.protobuf.Timestamp endTime_; /** - * - * *
    * Output only. The time the operation finished running.
    * 
* - * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the endTime field is set. */ @java.lang.Override @@ -133,15 +100,11 @@ public boolean hasEndTime() { return endTime_ != null; } /** - * - * *
    * Output only. The time the operation finished running.
    * 
* - * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The endTime. */ @java.lang.Override @@ -149,14 +112,11 @@ public com.google.protobuf.Timestamp getEndTime() { return endTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : endTime_; } /** - * - * *
    * Output only. The time the operation finished running.
    * 
* - * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ @java.lang.Override public com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder() { @@ -166,14 +126,11 @@ public com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder() { public static final int REQUEST_FIELD_NUMBER = 3; private com.google.cloud.contactcenterinsights.v1.DeleteIssueModelRequest request_; /** - * - * *
    * The original request for deletion.
    * 
* * .google.cloud.contactcenterinsights.v1.DeleteIssueModelRequest request = 3; - * * @return Whether the request field is set. */ @java.lang.Override @@ -181,25 +138,18 @@ public boolean hasRequest() { return request_ != null; } /** - * - * *
    * The original request for deletion.
    * 
* * .google.cloud.contactcenterinsights.v1.DeleteIssueModelRequest request = 3; - * * @return The request. */ @java.lang.Override public com.google.cloud.contactcenterinsights.v1.DeleteIssueModelRequest getRequest() { - return request_ == null - ? com.google.cloud.contactcenterinsights.v1.DeleteIssueModelRequest.getDefaultInstance() - : request_; + return request_ == null ? com.google.cloud.contactcenterinsights.v1.DeleteIssueModelRequest.getDefaultInstance() : request_; } /** - * - * *
    * The original request for deletion.
    * 
@@ -207,15 +157,11 @@ public com.google.cloud.contactcenterinsights.v1.DeleteIssueModelRequest getRequ * .google.cloud.contactcenterinsights.v1.DeleteIssueModelRequest request = 3; */ @java.lang.Override - public com.google.cloud.contactcenterinsights.v1.DeleteIssueModelRequestOrBuilder - getRequestOrBuilder() { - return request_ == null - ? com.google.cloud.contactcenterinsights.v1.DeleteIssueModelRequest.getDefaultInstance() - : request_; + public com.google.cloud.contactcenterinsights.v1.DeleteIssueModelRequestOrBuilder getRequestOrBuilder() { + return request_ == null ? com.google.cloud.contactcenterinsights.v1.DeleteIssueModelRequest.getDefaultInstance() : request_; } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -227,7 +173,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (createTime_ != null) { output.writeMessage(1, getCreateTime()); } @@ -247,13 +194,16 @@ public int getSerializedSize() { size = 0; if (createTime_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getCreateTime()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, getCreateTime()); } if (endTime_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getEndTime()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, getEndTime()); } if (request_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getRequest()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(3, getRequest()); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -263,25 +213,27 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.contactcenterinsights.v1.DeleteIssueModelMetadata)) { return super.equals(obj); } - com.google.cloud.contactcenterinsights.v1.DeleteIssueModelMetadata other = - (com.google.cloud.contactcenterinsights.v1.DeleteIssueModelMetadata) obj; + com.google.cloud.contactcenterinsights.v1.DeleteIssueModelMetadata other = (com.google.cloud.contactcenterinsights.v1.DeleteIssueModelMetadata) obj; if (hasCreateTime() != other.hasCreateTime()) return false; if (hasCreateTime()) { - if (!getCreateTime().equals(other.getCreateTime())) return false; + if (!getCreateTime() + .equals(other.getCreateTime())) return false; } if (hasEndTime() != other.hasEndTime()) return false; if (hasEndTime()) { - if (!getEndTime().equals(other.getEndTime())) return false; + if (!getEndTime() + .equals(other.getEndTime())) return false; } if (hasRequest() != other.hasRequest()) return false; if (hasRequest()) { - if (!getRequest().equals(other.getRequest())) return false; + if (!getRequest() + .equals(other.getRequest())) return false; } if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -312,138 +264,129 @@ public int hashCode() { } public static com.google.cloud.contactcenterinsights.v1.DeleteIssueModelMetadata parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.contactcenterinsights.v1.DeleteIssueModelMetadata parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.contactcenterinsights.v1.DeleteIssueModelMetadata parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.contactcenterinsights.v1.DeleteIssueModelMetadata parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.contactcenterinsights.v1.DeleteIssueModelMetadata parseFrom( - byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.contactcenterinsights.v1.DeleteIssueModelMetadata parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.contactcenterinsights.v1.DeleteIssueModelMetadata parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.contactcenterinsights.v1.DeleteIssueModelMetadata parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.contactcenterinsights.v1.DeleteIssueModelMetadata parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.contactcenterinsights.v1.DeleteIssueModelMetadata parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.contactcenterinsights.v1.DeleteIssueModelMetadata - parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.contactcenterinsights.v1.DeleteIssueModelMetadata parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - - public static com.google.cloud.contactcenterinsights.v1.DeleteIssueModelMetadata - parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + public static com.google.cloud.contactcenterinsights.v1.DeleteIssueModelMetadata parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.contactcenterinsights.v1.DeleteIssueModelMetadata parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.contactcenterinsights.v1.DeleteIssueModelMetadata parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.contactcenterinsights.v1.DeleteIssueModelMetadata prototype) { + public static Builder newBuilder(com.google.cloud.contactcenterinsights.v1.DeleteIssueModelMetadata prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Metadata for deleting an issue model.
    * 
* * Protobuf type {@code google.cloud.contactcenterinsights.v1.DeleteIssueModelMetadata} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.contactcenterinsights.v1.DeleteIssueModelMetadata) com.google.cloud.contactcenterinsights.v1.DeleteIssueModelMetadataOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto - .internal_static_google_cloud_contactcenterinsights_v1_DeleteIssueModelMetadata_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto.internal_static_google_cloud_contactcenterinsights_v1_DeleteIssueModelMetadata_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto - .internal_static_google_cloud_contactcenterinsights_v1_DeleteIssueModelMetadata_fieldAccessorTable + return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto.internal_static_google_cloud_contactcenterinsights_v1_DeleteIssueModelMetadata_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.contactcenterinsights.v1.DeleteIssueModelMetadata.class, - com.google.cloud.contactcenterinsights.v1.DeleteIssueModelMetadata.Builder.class); + com.google.cloud.contactcenterinsights.v1.DeleteIssueModelMetadata.class, com.google.cloud.contactcenterinsights.v1.DeleteIssueModelMetadata.Builder.class); } - // Construct using - // com.google.cloud.contactcenterinsights.v1.DeleteIssueModelMetadata.newBuilder() - private Builder() {} + // Construct using com.google.cloud.contactcenterinsights.v1.DeleteIssueModelMetadata.newBuilder() + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -467,16 +410,14 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto - .internal_static_google_cloud_contactcenterinsights_v1_DeleteIssueModelMetadata_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto.internal_static_google_cloud_contactcenterinsights_v1_DeleteIssueModelMetadata_descriptor; } @java.lang.Override - public com.google.cloud.contactcenterinsights.v1.DeleteIssueModelMetadata - getDefaultInstanceForType() { - return com.google.cloud.contactcenterinsights.v1.DeleteIssueModelMetadata - .getDefaultInstance(); + public com.google.cloud.contactcenterinsights.v1.DeleteIssueModelMetadata getDefaultInstanceForType() { + return com.google.cloud.contactcenterinsights.v1.DeleteIssueModelMetadata.getDefaultInstance(); } @java.lang.Override @@ -490,26 +431,28 @@ public com.google.cloud.contactcenterinsights.v1.DeleteIssueModelMetadata build( @java.lang.Override public com.google.cloud.contactcenterinsights.v1.DeleteIssueModelMetadata buildPartial() { - com.google.cloud.contactcenterinsights.v1.DeleteIssueModelMetadata result = - new com.google.cloud.contactcenterinsights.v1.DeleteIssueModelMetadata(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + com.google.cloud.contactcenterinsights.v1.DeleteIssueModelMetadata result = new com.google.cloud.contactcenterinsights.v1.DeleteIssueModelMetadata(this); + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } - private void buildPartial0( - com.google.cloud.contactcenterinsights.v1.DeleteIssueModelMetadata result) { + private void buildPartial0(com.google.cloud.contactcenterinsights.v1.DeleteIssueModelMetadata result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { - result.createTime_ = createTimeBuilder_ == null ? createTime_ : createTimeBuilder_.build(); + result.createTime_ = createTimeBuilder_ == null + ? createTime_ + : createTimeBuilder_.build(); } if (((from_bitField0_ & 0x00000002) != 0)) { - result.endTime_ = endTimeBuilder_ == null ? endTime_ : endTimeBuilder_.build(); + result.endTime_ = endTimeBuilder_ == null + ? endTime_ + : endTimeBuilder_.build(); } if (((from_bitField0_ & 0x00000004) != 0)) { - result.request_ = requestBuilder_ == null ? request_ : requestBuilder_.build(); + result.request_ = requestBuilder_ == null + ? request_ + : requestBuilder_.build(); } } @@ -517,51 +460,46 @@ private void buildPartial0( public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.contactcenterinsights.v1.DeleteIssueModelMetadata) { - return mergeFrom( - (com.google.cloud.contactcenterinsights.v1.DeleteIssueModelMetadata) other); + return mergeFrom((com.google.cloud.contactcenterinsights.v1.DeleteIssueModelMetadata)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom( - com.google.cloud.contactcenterinsights.v1.DeleteIssueModelMetadata other) { - if (other - == com.google.cloud.contactcenterinsights.v1.DeleteIssueModelMetadata - .getDefaultInstance()) return this; + public Builder mergeFrom(com.google.cloud.contactcenterinsights.v1.DeleteIssueModelMetadata other) { + if (other == com.google.cloud.contactcenterinsights.v1.DeleteIssueModelMetadata.getDefaultInstance()) return this; if (other.hasCreateTime()) { mergeCreateTime(other.getCreateTime()); } @@ -597,31 +535,33 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - input.readMessage(getCreateTimeFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: - { - input.readMessage(getEndTimeFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00000002; - break; - } // case 18 - case 26: - { - input.readMessage(getRequestFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00000004; - break; - } // case 26 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + input.readMessage( + getCreateTimeFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: { + input.readMessage( + getEndTimeFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00000002; + break; + } // case 18 + case 26: { + input.readMessage( + getRequestFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00000004; + break; + } // case 26 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -631,63 +571,43 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private com.google.protobuf.Timestamp createTime_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> - createTimeBuilder_; + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> createTimeBuilder_; /** - * - * *
      * Output only. The time the operation was created.
      * 
* - * - * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the createTime field is set. */ public boolean hasCreateTime() { return ((bitField0_ & 0x00000001) != 0); } /** - * - * *
      * Output only. The time the operation was created.
      * 
* - * - * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The createTime. */ public com.google.protobuf.Timestamp getCreateTime() { if (createTimeBuilder_ == null) { - return createTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : createTime_; + return createTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : createTime_; } else { return createTimeBuilder_.getMessage(); } } /** - * - * *
      * Output only. The time the operation was created.
      * 
* - * - * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder setCreateTime(com.google.protobuf.Timestamp value) { if (createTimeBuilder_ == null) { @@ -703,17 +623,14 @@ public Builder setCreateTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * Output only. The time the operation was created.
      * 
* - * - * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - public Builder setCreateTime(com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setCreateTime( + com.google.protobuf.Timestamp.Builder builderForValue) { if (createTimeBuilder_ == null) { createTime_ = builderForValue.build(); } else { @@ -724,21 +641,17 @@ public Builder setCreateTime(com.google.protobuf.Timestamp.Builder builderForVal return this; } /** - * - * *
      * Output only. The time the operation was created.
      * 
* - * - * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder mergeCreateTime(com.google.protobuf.Timestamp value) { if (createTimeBuilder_ == null) { - if (((bitField0_ & 0x00000001) != 0) - && createTime_ != null - && createTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { + if (((bitField0_ & 0x00000001) != 0) && + createTime_ != null && + createTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { getCreateTimeBuilder().mergeFrom(value); } else { createTime_ = value; @@ -751,15 +664,11 @@ public Builder mergeCreateTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * Output only. The time the operation was created.
      * 
* - * - * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder clearCreateTime() { bitField0_ = (bitField0_ & ~0x00000001); @@ -772,15 +681,11 @@ public Builder clearCreateTime() { return this; } /** - * - * *
      * Output only. The time the operation was created.
      * 
* - * - * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public com.google.protobuf.Timestamp.Builder getCreateTimeBuilder() { bitField0_ |= 0x00000001; @@ -788,48 +693,36 @@ public com.google.protobuf.Timestamp.Builder getCreateTimeBuilder() { return getCreateTimeFieldBuilder().getBuilder(); } /** - * - * *
      * Output only. The time the operation was created.
      * 
* - * - * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { if (createTimeBuilder_ != null) { return createTimeBuilder_.getMessageOrBuilder(); } else { - return createTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : createTime_; + return createTime_ == null ? + com.google.protobuf.Timestamp.getDefaultInstance() : createTime_; } } /** - * - * *
      * Output only. The time the operation was created.
      * 
* - * - * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> getCreateTimeFieldBuilder() { if (createTimeBuilder_ == null) { - createTimeBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder>( - getCreateTime(), getParentForChildren(), isClean()); + createTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( + getCreateTime(), + getParentForChildren(), + isClean()); createTime_ = null; } return createTimeBuilder_; @@ -837,35 +730,24 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { private com.google.protobuf.Timestamp endTime_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> - endTimeBuilder_; + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> endTimeBuilder_; /** - * - * *
      * Output only. The time the operation finished running.
      * 
* - * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the endTime field is set. */ public boolean hasEndTime() { return ((bitField0_ & 0x00000002) != 0); } /** - * - * *
      * Output only. The time the operation finished running.
      * 
* - * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The endTime. */ public com.google.protobuf.Timestamp getEndTime() { @@ -876,14 +758,11 @@ public com.google.protobuf.Timestamp getEndTime() { } } /** - * - * *
      * Output only. The time the operation finished running.
      * 
* - * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder setEndTime(com.google.protobuf.Timestamp value) { if (endTimeBuilder_ == null) { @@ -899,16 +778,14 @@ public Builder setEndTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * Output only. The time the operation finished running.
      * 
* - * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - public Builder setEndTime(com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setEndTime( + com.google.protobuf.Timestamp.Builder builderForValue) { if (endTimeBuilder_ == null) { endTime_ = builderForValue.build(); } else { @@ -919,20 +796,17 @@ public Builder setEndTime(com.google.protobuf.Timestamp.Builder builderForValue) return this; } /** - * - * *
      * Output only. The time the operation finished running.
      * 
* - * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder mergeEndTime(com.google.protobuf.Timestamp value) { if (endTimeBuilder_ == null) { - if (((bitField0_ & 0x00000002) != 0) - && endTime_ != null - && endTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { + if (((bitField0_ & 0x00000002) != 0) && + endTime_ != null && + endTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { getEndTimeBuilder().mergeFrom(value); } else { endTime_ = value; @@ -945,14 +819,11 @@ public Builder mergeEndTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * Output only. The time the operation finished running.
      * 
* - * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder clearEndTime() { bitField0_ = (bitField0_ & ~0x00000002); @@ -965,14 +836,11 @@ public Builder clearEndTime() { return this; } /** - * - * *
      * Output only. The time the operation finished running.
      * 
* - * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public com.google.protobuf.Timestamp.Builder getEndTimeBuilder() { bitField0_ |= 0x00000002; @@ -980,44 +848,36 @@ public com.google.protobuf.Timestamp.Builder getEndTimeBuilder() { return getEndTimeFieldBuilder().getBuilder(); } /** - * - * *
      * Output only. The time the operation finished running.
      * 
* - * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder() { if (endTimeBuilder_ != null) { return endTimeBuilder_.getMessageOrBuilder(); } else { - return endTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : endTime_; + return endTime_ == null ? + com.google.protobuf.Timestamp.getDefaultInstance() : endTime_; } } /** - * - * *
      * Output only. The time the operation finished running.
      * 
* - * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> getEndTimeFieldBuilder() { if (endTimeBuilder_ == null) { - endTimeBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder>( - getEndTime(), getParentForChildren(), isClean()); + endTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( + getEndTime(), + getParentForChildren(), + isClean()); endTime_ = null; } return endTimeBuilder_; @@ -1025,55 +885,41 @@ public com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder() { private com.google.cloud.contactcenterinsights.v1.DeleteIssueModelRequest request_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.contactcenterinsights.v1.DeleteIssueModelRequest, - com.google.cloud.contactcenterinsights.v1.DeleteIssueModelRequest.Builder, - com.google.cloud.contactcenterinsights.v1.DeleteIssueModelRequestOrBuilder> - requestBuilder_; + com.google.cloud.contactcenterinsights.v1.DeleteIssueModelRequest, com.google.cloud.contactcenterinsights.v1.DeleteIssueModelRequest.Builder, com.google.cloud.contactcenterinsights.v1.DeleteIssueModelRequestOrBuilder> requestBuilder_; /** - * - * *
      * The original request for deletion.
      * 
* * .google.cloud.contactcenterinsights.v1.DeleteIssueModelRequest request = 3; - * * @return Whether the request field is set. */ public boolean hasRequest() { return ((bitField0_ & 0x00000004) != 0); } /** - * - * *
      * The original request for deletion.
      * 
* * .google.cloud.contactcenterinsights.v1.DeleteIssueModelRequest request = 3; - * * @return The request. */ public com.google.cloud.contactcenterinsights.v1.DeleteIssueModelRequest getRequest() { if (requestBuilder_ == null) { - return request_ == null - ? com.google.cloud.contactcenterinsights.v1.DeleteIssueModelRequest.getDefaultInstance() - : request_; + return request_ == null ? com.google.cloud.contactcenterinsights.v1.DeleteIssueModelRequest.getDefaultInstance() : request_; } else { return requestBuilder_.getMessage(); } } /** - * - * *
      * The original request for deletion.
      * 
* * .google.cloud.contactcenterinsights.v1.DeleteIssueModelRequest request = 3; */ - public Builder setRequest( - com.google.cloud.contactcenterinsights.v1.DeleteIssueModelRequest value) { + public Builder setRequest(com.google.cloud.contactcenterinsights.v1.DeleteIssueModelRequest value) { if (requestBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -1087,8 +933,6 @@ public Builder setRequest( return this; } /** - * - * *
      * The original request for deletion.
      * 
@@ -1107,22 +951,17 @@ public Builder setRequest( return this; } /** - * - * *
      * The original request for deletion.
      * 
* * .google.cloud.contactcenterinsights.v1.DeleteIssueModelRequest request = 3; */ - public Builder mergeRequest( - com.google.cloud.contactcenterinsights.v1.DeleteIssueModelRequest value) { + public Builder mergeRequest(com.google.cloud.contactcenterinsights.v1.DeleteIssueModelRequest value) { if (requestBuilder_ == null) { - if (((bitField0_ & 0x00000004) != 0) - && request_ != null - && request_ - != com.google.cloud.contactcenterinsights.v1.DeleteIssueModelRequest - .getDefaultInstance()) { + if (((bitField0_ & 0x00000004) != 0) && + request_ != null && + request_ != com.google.cloud.contactcenterinsights.v1.DeleteIssueModelRequest.getDefaultInstance()) { getRequestBuilder().mergeFrom(value); } else { request_ = value; @@ -1135,8 +974,6 @@ public Builder mergeRequest( return this; } /** - * - * *
      * The original request for deletion.
      * 
@@ -1154,42 +991,33 @@ public Builder clearRequest() { return this; } /** - * - * *
      * The original request for deletion.
      * 
* * .google.cloud.contactcenterinsights.v1.DeleteIssueModelRequest request = 3; */ - public com.google.cloud.contactcenterinsights.v1.DeleteIssueModelRequest.Builder - getRequestBuilder() { + public com.google.cloud.contactcenterinsights.v1.DeleteIssueModelRequest.Builder getRequestBuilder() { bitField0_ |= 0x00000004; onChanged(); return getRequestFieldBuilder().getBuilder(); } /** - * - * *
      * The original request for deletion.
      * 
* * .google.cloud.contactcenterinsights.v1.DeleteIssueModelRequest request = 3; */ - public com.google.cloud.contactcenterinsights.v1.DeleteIssueModelRequestOrBuilder - getRequestOrBuilder() { + public com.google.cloud.contactcenterinsights.v1.DeleteIssueModelRequestOrBuilder getRequestOrBuilder() { if (requestBuilder_ != null) { return requestBuilder_.getMessageOrBuilder(); } else { - return request_ == null - ? com.google.cloud.contactcenterinsights.v1.DeleteIssueModelRequest.getDefaultInstance() - : request_; + return request_ == null ? + com.google.cloud.contactcenterinsights.v1.DeleteIssueModelRequest.getDefaultInstance() : request_; } } /** - * - * *
      * The original request for deletion.
      * 
@@ -1197,24 +1025,21 @@ public Builder clearRequest() { * .google.cloud.contactcenterinsights.v1.DeleteIssueModelRequest request = 3; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.contactcenterinsights.v1.DeleteIssueModelRequest, - com.google.cloud.contactcenterinsights.v1.DeleteIssueModelRequest.Builder, - com.google.cloud.contactcenterinsights.v1.DeleteIssueModelRequestOrBuilder> + com.google.cloud.contactcenterinsights.v1.DeleteIssueModelRequest, com.google.cloud.contactcenterinsights.v1.DeleteIssueModelRequest.Builder, com.google.cloud.contactcenterinsights.v1.DeleteIssueModelRequestOrBuilder> getRequestFieldBuilder() { if (requestBuilder_ == null) { - requestBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.contactcenterinsights.v1.DeleteIssueModelRequest, - com.google.cloud.contactcenterinsights.v1.DeleteIssueModelRequest.Builder, - com.google.cloud.contactcenterinsights.v1.DeleteIssueModelRequestOrBuilder>( - getRequest(), getParentForChildren(), isClean()); + requestBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.contactcenterinsights.v1.DeleteIssueModelRequest, com.google.cloud.contactcenterinsights.v1.DeleteIssueModelRequest.Builder, com.google.cloud.contactcenterinsights.v1.DeleteIssueModelRequestOrBuilder>( + getRequest(), + getParentForChildren(), + isClean()); request_ = null; } return requestBuilder_; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1224,43 +1049,41 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.contactcenterinsights.v1.DeleteIssueModelMetadata) } // @@protoc_insertion_point(class_scope:google.cloud.contactcenterinsights.v1.DeleteIssueModelMetadata) - private static final com.google.cloud.contactcenterinsights.v1.DeleteIssueModelMetadata - DEFAULT_INSTANCE; - + private static final com.google.cloud.contactcenterinsights.v1.DeleteIssueModelMetadata DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.cloud.contactcenterinsights.v1.DeleteIssueModelMetadata(); } - public static com.google.cloud.contactcenterinsights.v1.DeleteIssueModelMetadata - getDefaultInstance() { + public static com.google.cloud.contactcenterinsights.v1.DeleteIssueModelMetadata getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public DeleteIssueModelMetadata parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public DeleteIssueModelMetadata parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1272,8 +1095,9 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.cloud.contactcenterinsights.v1.DeleteIssueModelMetadata - getDefaultInstanceForType() { + public com.google.cloud.contactcenterinsights.v1.DeleteIssueModelMetadata getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/DeleteIssueModelMetadataOrBuilder.java b/owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/DeleteIssueModelMetadataOrBuilder.java similarity index 70% rename from java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/DeleteIssueModelMetadataOrBuilder.java rename to owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/DeleteIssueModelMetadataOrBuilder.java index 540ef30032a0..886dce7d12c1 100644 --- a/java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/DeleteIssueModelMetadataOrBuilder.java +++ b/owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/DeleteIssueModelMetadataOrBuilder.java @@ -1,131 +1,85 @@ -/* - * 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. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/contactcenterinsights/v1/contact_center_insights.proto package com.google.cloud.contactcenterinsights.v1; -public interface DeleteIssueModelMetadataOrBuilder - extends +public interface DeleteIssueModelMetadataOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.contactcenterinsights.v1.DeleteIssueModelMetadata) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Output only. The time the operation was created.
    * 
* - * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the createTime field is set. */ boolean hasCreateTime(); /** - * - * *
    * Output only. The time the operation was created.
    * 
* - * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The createTime. */ com.google.protobuf.Timestamp getCreateTime(); /** - * - * *
    * Output only. The time the operation was created.
    * 
* - * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder(); /** - * - * *
    * Output only. The time the operation finished running.
    * 
* - * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the endTime field is set. */ boolean hasEndTime(); /** - * - * *
    * Output only. The time the operation finished running.
    * 
* - * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The endTime. */ com.google.protobuf.Timestamp getEndTime(); /** - * - * *
    * Output only. The time the operation finished running.
    * 
* - * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder(); /** - * - * *
    * The original request for deletion.
    * 
* * .google.cloud.contactcenterinsights.v1.DeleteIssueModelRequest request = 3; - * * @return Whether the request field is set. */ boolean hasRequest(); /** - * - * *
    * The original request for deletion.
    * 
* * .google.cloud.contactcenterinsights.v1.DeleteIssueModelRequest request = 3; - * * @return The request. */ com.google.cloud.contactcenterinsights.v1.DeleteIssueModelRequest getRequest(); /** - * - * *
    * The original request for deletion.
    * 
diff --git a/java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/DeleteIssueModelRequest.java b/owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/DeleteIssueModelRequest.java similarity index 59% rename from java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/DeleteIssueModelRequest.java rename to owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/DeleteIssueModelRequest.java index 339e5087f998..8efe60d4001b 100644 --- a/java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/DeleteIssueModelRequest.java +++ b/owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/DeleteIssueModelRequest.java @@ -1,87 +1,62 @@ -/* - * 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. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/contactcenterinsights/v1/contact_center_insights.proto package com.google.cloud.contactcenterinsights.v1; /** - * - * *
  * The request to delete an issue model.
  * 
* * Protobuf type {@code google.cloud.contactcenterinsights.v1.DeleteIssueModelRequest} */ -public final class DeleteIssueModelRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class DeleteIssueModelRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.contactcenterinsights.v1.DeleteIssueModelRequest) DeleteIssueModelRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use DeleteIssueModelRequest.newBuilder() to construct. private DeleteIssueModelRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private DeleteIssueModelRequest() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new DeleteIssueModelRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto - .internal_static_google_cloud_contactcenterinsights_v1_DeleteIssueModelRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto.internal_static_google_cloud_contactcenterinsights_v1_DeleteIssueModelRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto - .internal_static_google_cloud_contactcenterinsights_v1_DeleteIssueModelRequest_fieldAccessorTable + return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto.internal_static_google_cloud_contactcenterinsights_v1_DeleteIssueModelRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.contactcenterinsights.v1.DeleteIssueModelRequest.class, - com.google.cloud.contactcenterinsights.v1.DeleteIssueModelRequest.Builder.class); + com.google.cloud.contactcenterinsights.v1.DeleteIssueModelRequest.class, com.google.cloud.contactcenterinsights.v1.DeleteIssueModelRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; - @SuppressWarnings("serial") private volatile java.lang.Object name_ = ""; /** - * - * *
    * Required. The name of the issue model to delete.
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ @java.lang.Override @@ -90,31 +65,29 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** - * - * *
    * Required. The name of the issue model to delete.
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -123,7 +96,6 @@ public com.google.protobuf.ByteString getNameBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -135,7 +107,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -159,15 +132,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.contactcenterinsights.v1.DeleteIssueModelRequest)) { return super.equals(obj); } - com.google.cloud.contactcenterinsights.v1.DeleteIssueModelRequest other = - (com.google.cloud.contactcenterinsights.v1.DeleteIssueModelRequest) obj; + com.google.cloud.contactcenterinsights.v1.DeleteIssueModelRequest other = (com.google.cloud.contactcenterinsights.v1.DeleteIssueModelRequest) obj; - if (!getName().equals(other.getName())) return false; + if (!getName() + .equals(other.getName())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -187,138 +160,129 @@ public int hashCode() { } public static com.google.cloud.contactcenterinsights.v1.DeleteIssueModelRequest parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.contactcenterinsights.v1.DeleteIssueModelRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.contactcenterinsights.v1.DeleteIssueModelRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.contactcenterinsights.v1.DeleteIssueModelRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.contactcenterinsights.v1.DeleteIssueModelRequest parseFrom( - byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.contactcenterinsights.v1.DeleteIssueModelRequest parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.contactcenterinsights.v1.DeleteIssueModelRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.contactcenterinsights.v1.DeleteIssueModelRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.contactcenterinsights.v1.DeleteIssueModelRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.contactcenterinsights.v1.DeleteIssueModelRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.contactcenterinsights.v1.DeleteIssueModelRequest - parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.contactcenterinsights.v1.DeleteIssueModelRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - - public static com.google.cloud.contactcenterinsights.v1.DeleteIssueModelRequest - parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + public static com.google.cloud.contactcenterinsights.v1.DeleteIssueModelRequest parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.contactcenterinsights.v1.DeleteIssueModelRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.contactcenterinsights.v1.DeleteIssueModelRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.contactcenterinsights.v1.DeleteIssueModelRequest prototype) { + public static Builder newBuilder(com.google.cloud.contactcenterinsights.v1.DeleteIssueModelRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * The request to delete an issue model.
    * 
* * Protobuf type {@code google.cloud.contactcenterinsights.v1.DeleteIssueModelRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.contactcenterinsights.v1.DeleteIssueModelRequest) com.google.cloud.contactcenterinsights.v1.DeleteIssueModelRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto - .internal_static_google_cloud_contactcenterinsights_v1_DeleteIssueModelRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto.internal_static_google_cloud_contactcenterinsights_v1_DeleteIssueModelRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto - .internal_static_google_cloud_contactcenterinsights_v1_DeleteIssueModelRequest_fieldAccessorTable + return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto.internal_static_google_cloud_contactcenterinsights_v1_DeleteIssueModelRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.contactcenterinsights.v1.DeleteIssueModelRequest.class, - com.google.cloud.contactcenterinsights.v1.DeleteIssueModelRequest.Builder.class); + com.google.cloud.contactcenterinsights.v1.DeleteIssueModelRequest.class, com.google.cloud.contactcenterinsights.v1.DeleteIssueModelRequest.Builder.class); } - // Construct using - // com.google.cloud.contactcenterinsights.v1.DeleteIssueModelRequest.newBuilder() - private Builder() {} + // Construct using com.google.cloud.contactcenterinsights.v1.DeleteIssueModelRequest.newBuilder() + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -328,14 +292,13 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto - .internal_static_google_cloud_contactcenterinsights_v1_DeleteIssueModelRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto.internal_static_google_cloud_contactcenterinsights_v1_DeleteIssueModelRequest_descriptor; } @java.lang.Override - public com.google.cloud.contactcenterinsights.v1.DeleteIssueModelRequest - getDefaultInstanceForType() { + public com.google.cloud.contactcenterinsights.v1.DeleteIssueModelRequest getDefaultInstanceForType() { return com.google.cloud.contactcenterinsights.v1.DeleteIssueModelRequest.getDefaultInstance(); } @@ -350,17 +313,13 @@ public com.google.cloud.contactcenterinsights.v1.DeleteIssueModelRequest build() @java.lang.Override public com.google.cloud.contactcenterinsights.v1.DeleteIssueModelRequest buildPartial() { - com.google.cloud.contactcenterinsights.v1.DeleteIssueModelRequest result = - new com.google.cloud.contactcenterinsights.v1.DeleteIssueModelRequest(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + com.google.cloud.contactcenterinsights.v1.DeleteIssueModelRequest result = new com.google.cloud.contactcenterinsights.v1.DeleteIssueModelRequest(this); + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } - private void buildPartial0( - com.google.cloud.contactcenterinsights.v1.DeleteIssueModelRequest result) { + private void buildPartial0(com.google.cloud.contactcenterinsights.v1.DeleteIssueModelRequest result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { result.name_ = name_; @@ -371,50 +330,46 @@ private void buildPartial0( public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.contactcenterinsights.v1.DeleteIssueModelRequest) { - return mergeFrom((com.google.cloud.contactcenterinsights.v1.DeleteIssueModelRequest) other); + return mergeFrom((com.google.cloud.contactcenterinsights.v1.DeleteIssueModelRequest)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom( - com.google.cloud.contactcenterinsights.v1.DeleteIssueModelRequest other) { - if (other - == com.google.cloud.contactcenterinsights.v1.DeleteIssueModelRequest.getDefaultInstance()) - return this; + public Builder mergeFrom(com.google.cloud.contactcenterinsights.v1.DeleteIssueModelRequest other) { + if (other == com.google.cloud.contactcenterinsights.v1.DeleteIssueModelRequest.getDefaultInstance()) return this; if (!other.getName().isEmpty()) { name_ = other.name_; bitField0_ |= 0x00000001; @@ -446,19 +401,17 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - name_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + name_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -468,27 +421,22 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private java.lang.Object name_ = ""; /** - * - * *
      * Required. The name of the issue model to delete.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -497,23 +445,20 @@ public java.lang.String getName() { } } /** - * - * *
      * Required. The name of the issue model to delete.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -521,39 +466,28 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * Required. The name of the issue model to delete.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The name to set. * @return This builder for chaining. */ - public Builder setName(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setName( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } name_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
      * Required. The name of the issue model to delete.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearName() { @@ -563,32 +497,26 @@ public Builder clearName() { return this; } /** - * - * *
      * Required. The name of the issue model to delete.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setNameBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); name_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -598,43 +526,41 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.contactcenterinsights.v1.DeleteIssueModelRequest) } // @@protoc_insertion_point(class_scope:google.cloud.contactcenterinsights.v1.DeleteIssueModelRequest) - private static final com.google.cloud.contactcenterinsights.v1.DeleteIssueModelRequest - DEFAULT_INSTANCE; - + private static final com.google.cloud.contactcenterinsights.v1.DeleteIssueModelRequest DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.cloud.contactcenterinsights.v1.DeleteIssueModelRequest(); } - public static com.google.cloud.contactcenterinsights.v1.DeleteIssueModelRequest - getDefaultInstance() { + public static com.google.cloud.contactcenterinsights.v1.DeleteIssueModelRequest getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public DeleteIssueModelRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public DeleteIssueModelRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -646,8 +572,9 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.cloud.contactcenterinsights.v1.DeleteIssueModelRequest - getDefaultInstanceForType() { + public com.google.cloud.contactcenterinsights.v1.DeleteIssueModelRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/DeleteIssueModelRequestOrBuilder.java b/owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/DeleteIssueModelRequestOrBuilder.java new file mode 100644 index 000000000000..a643ce70b563 --- /dev/null +++ b/owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/DeleteIssueModelRequestOrBuilder.java @@ -0,0 +1,29 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/contactcenterinsights/v1/contact_center_insights.proto + +package com.google.cloud.contactcenterinsights.v1; + +public interface DeleteIssueModelRequestOrBuilder extends + // @@protoc_insertion_point(interface_extends:google.cloud.contactcenterinsights.v1.DeleteIssueModelRequest) + com.google.protobuf.MessageOrBuilder { + + /** + *
+   * Required. The name of the issue model to delete.
+   * 
+ * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The name. + */ + java.lang.String getName(); + /** + *
+   * Required. The name of the issue model to delete.
+   * 
+ * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The bytes for name. + */ + com.google.protobuf.ByteString + getNameBytes(); +} diff --git a/java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/DeleteIssueRequest.java b/owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/DeleteIssueRequest.java similarity index 61% rename from java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/DeleteIssueRequest.java rename to owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/DeleteIssueRequest.java index 1412fa3fbd40..85a567eecf8e 100644 --- a/java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/DeleteIssueRequest.java +++ b/owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/DeleteIssueRequest.java @@ -1,87 +1,62 @@ -/* - * 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. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/contactcenterinsights/v1/contact_center_insights.proto package com.google.cloud.contactcenterinsights.v1; /** - * - * *
  * The request to delete an issue.
  * 
* * Protobuf type {@code google.cloud.contactcenterinsights.v1.DeleteIssueRequest} */ -public final class DeleteIssueRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class DeleteIssueRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.contactcenterinsights.v1.DeleteIssueRequest) DeleteIssueRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use DeleteIssueRequest.newBuilder() to construct. private DeleteIssueRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private DeleteIssueRequest() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new DeleteIssueRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto - .internal_static_google_cloud_contactcenterinsights_v1_DeleteIssueRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto.internal_static_google_cloud_contactcenterinsights_v1_DeleteIssueRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto - .internal_static_google_cloud_contactcenterinsights_v1_DeleteIssueRequest_fieldAccessorTable + return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto.internal_static_google_cloud_contactcenterinsights_v1_DeleteIssueRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.contactcenterinsights.v1.DeleteIssueRequest.class, - com.google.cloud.contactcenterinsights.v1.DeleteIssueRequest.Builder.class); + com.google.cloud.contactcenterinsights.v1.DeleteIssueRequest.class, com.google.cloud.contactcenterinsights.v1.DeleteIssueRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; - @SuppressWarnings("serial") private volatile java.lang.Object name_ = ""; /** - * - * *
    * Required. The name of the issue to delete.
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ @java.lang.Override @@ -90,31 +65,29 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** - * - * *
    * Required. The name of the issue to delete.
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -123,7 +96,6 @@ public com.google.protobuf.ByteString getNameBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -135,7 +107,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -159,15 +132,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.contactcenterinsights.v1.DeleteIssueRequest)) { return super.equals(obj); } - com.google.cloud.contactcenterinsights.v1.DeleteIssueRequest other = - (com.google.cloud.contactcenterinsights.v1.DeleteIssueRequest) obj; + com.google.cloud.contactcenterinsights.v1.DeleteIssueRequest other = (com.google.cloud.contactcenterinsights.v1.DeleteIssueRequest) obj; - if (!getName().equals(other.getName())) return false; + if (!getName() + .equals(other.getName())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -187,136 +160,129 @@ public int hashCode() { } public static com.google.cloud.contactcenterinsights.v1.DeleteIssueRequest parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.contactcenterinsights.v1.DeleteIssueRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.contactcenterinsights.v1.DeleteIssueRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.contactcenterinsights.v1.DeleteIssueRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.contactcenterinsights.v1.DeleteIssueRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.contactcenterinsights.v1.DeleteIssueRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.contactcenterinsights.v1.DeleteIssueRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.contactcenterinsights.v1.DeleteIssueRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.contactcenterinsights.v1.DeleteIssueRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.contactcenterinsights.v1.DeleteIssueRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.contactcenterinsights.v1.DeleteIssueRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.contactcenterinsights.v1.DeleteIssueRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.contactcenterinsights.v1.DeleteIssueRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.contactcenterinsights.v1.DeleteIssueRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.contactcenterinsights.v1.DeleteIssueRequest prototype) { + public static Builder newBuilder(com.google.cloud.contactcenterinsights.v1.DeleteIssueRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * The request to delete an issue.
    * 
* * Protobuf type {@code google.cloud.contactcenterinsights.v1.DeleteIssueRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.contactcenterinsights.v1.DeleteIssueRequest) com.google.cloud.contactcenterinsights.v1.DeleteIssueRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto - .internal_static_google_cloud_contactcenterinsights_v1_DeleteIssueRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto.internal_static_google_cloud_contactcenterinsights_v1_DeleteIssueRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto - .internal_static_google_cloud_contactcenterinsights_v1_DeleteIssueRequest_fieldAccessorTable + return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto.internal_static_google_cloud_contactcenterinsights_v1_DeleteIssueRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.contactcenterinsights.v1.DeleteIssueRequest.class, - com.google.cloud.contactcenterinsights.v1.DeleteIssueRequest.Builder.class); + com.google.cloud.contactcenterinsights.v1.DeleteIssueRequest.class, com.google.cloud.contactcenterinsights.v1.DeleteIssueRequest.Builder.class); } // Construct using com.google.cloud.contactcenterinsights.v1.DeleteIssueRequest.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -326,14 +292,13 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto - .internal_static_google_cloud_contactcenterinsights_v1_DeleteIssueRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto.internal_static_google_cloud_contactcenterinsights_v1_DeleteIssueRequest_descriptor; } @java.lang.Override - public com.google.cloud.contactcenterinsights.v1.DeleteIssueRequest - getDefaultInstanceForType() { + public com.google.cloud.contactcenterinsights.v1.DeleteIssueRequest getDefaultInstanceForType() { return com.google.cloud.contactcenterinsights.v1.DeleteIssueRequest.getDefaultInstance(); } @@ -348,17 +313,13 @@ public com.google.cloud.contactcenterinsights.v1.DeleteIssueRequest build() { @java.lang.Override public com.google.cloud.contactcenterinsights.v1.DeleteIssueRequest buildPartial() { - com.google.cloud.contactcenterinsights.v1.DeleteIssueRequest result = - new com.google.cloud.contactcenterinsights.v1.DeleteIssueRequest(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + com.google.cloud.contactcenterinsights.v1.DeleteIssueRequest result = new com.google.cloud.contactcenterinsights.v1.DeleteIssueRequest(this); + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } - private void buildPartial0( - com.google.cloud.contactcenterinsights.v1.DeleteIssueRequest result) { + private void buildPartial0(com.google.cloud.contactcenterinsights.v1.DeleteIssueRequest result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { result.name_ = name_; @@ -369,39 +330,38 @@ private void buildPartial0( public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.contactcenterinsights.v1.DeleteIssueRequest) { - return mergeFrom((com.google.cloud.contactcenterinsights.v1.DeleteIssueRequest) other); + return mergeFrom((com.google.cloud.contactcenterinsights.v1.DeleteIssueRequest)other); } else { super.mergeFrom(other); return this; @@ -409,9 +369,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.contactcenterinsights.v1.DeleteIssueRequest other) { - if (other - == com.google.cloud.contactcenterinsights.v1.DeleteIssueRequest.getDefaultInstance()) - return this; + if (other == com.google.cloud.contactcenterinsights.v1.DeleteIssueRequest.getDefaultInstance()) return this; if (!other.getName().isEmpty()) { name_ = other.name_; bitField0_ |= 0x00000001; @@ -443,19 +401,17 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - name_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + name_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -465,27 +421,22 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private java.lang.Object name_ = ""; /** - * - * *
      * Required. The name of the issue to delete.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -494,23 +445,20 @@ public java.lang.String getName() { } } /** - * - * *
      * Required. The name of the issue to delete.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -518,39 +466,28 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * Required. The name of the issue to delete.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The name to set. * @return This builder for chaining. */ - public Builder setName(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setName( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } name_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
      * Required. The name of the issue to delete.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearName() { @@ -560,32 +497,26 @@ public Builder clearName() { return this; } /** - * - * *
      * Required. The name of the issue to delete.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setNameBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); name_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -595,13 +526,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.contactcenterinsights.v1.DeleteIssueRequest) } // @@protoc_insertion_point(class_scope:google.cloud.contactcenterinsights.v1.DeleteIssueRequest) - private static final com.google.cloud.contactcenterinsights.v1.DeleteIssueRequest - DEFAULT_INSTANCE; - + private static final com.google.cloud.contactcenterinsights.v1.DeleteIssueRequest DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.cloud.contactcenterinsights.v1.DeleteIssueRequest(); } @@ -610,27 +540,27 @@ public static com.google.cloud.contactcenterinsights.v1.DeleteIssueRequest getDe return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public DeleteIssueRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public DeleteIssueRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -645,4 +575,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.contactcenterinsights.v1.DeleteIssueRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/DeleteIssueRequestOrBuilder.java b/owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/DeleteIssueRequestOrBuilder.java new file mode 100644 index 000000000000..8c92df600211 --- /dev/null +++ b/owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/DeleteIssueRequestOrBuilder.java @@ -0,0 +1,29 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/contactcenterinsights/v1/contact_center_insights.proto + +package com.google.cloud.contactcenterinsights.v1; + +public interface DeleteIssueRequestOrBuilder extends + // @@protoc_insertion_point(interface_extends:google.cloud.contactcenterinsights.v1.DeleteIssueRequest) + com.google.protobuf.MessageOrBuilder { + + /** + *
+   * Required. The name of the issue to delete.
+   * 
+ * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The name. + */ + java.lang.String getName(); + /** + *
+   * Required. The name of the issue to delete.
+   * 
+ * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The bytes for name. + */ + com.google.protobuf.ByteString + getNameBytes(); +} diff --git a/java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/DeletePhraseMatcherRequest.java b/owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/DeletePhraseMatcherRequest.java similarity index 58% rename from java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/DeletePhraseMatcherRequest.java rename to owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/DeletePhraseMatcherRequest.java index 33bdbaa9c030..dfdbe4fea0aa 100644 --- a/java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/DeletePhraseMatcherRequest.java +++ b/owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/DeletePhraseMatcherRequest.java @@ -1,87 +1,62 @@ -/* - * 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. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/contactcenterinsights/v1/contact_center_insights.proto package com.google.cloud.contactcenterinsights.v1; /** - * - * *
  * The request to delete a phrase matcher.
  * 
* * Protobuf type {@code google.cloud.contactcenterinsights.v1.DeletePhraseMatcherRequest} */ -public final class DeletePhraseMatcherRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class DeletePhraseMatcherRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.contactcenterinsights.v1.DeletePhraseMatcherRequest) DeletePhraseMatcherRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use DeletePhraseMatcherRequest.newBuilder() to construct. private DeletePhraseMatcherRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private DeletePhraseMatcherRequest() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new DeletePhraseMatcherRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto - .internal_static_google_cloud_contactcenterinsights_v1_DeletePhraseMatcherRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto.internal_static_google_cloud_contactcenterinsights_v1_DeletePhraseMatcherRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto - .internal_static_google_cloud_contactcenterinsights_v1_DeletePhraseMatcherRequest_fieldAccessorTable + return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto.internal_static_google_cloud_contactcenterinsights_v1_DeletePhraseMatcherRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.contactcenterinsights.v1.DeletePhraseMatcherRequest.class, - com.google.cloud.contactcenterinsights.v1.DeletePhraseMatcherRequest.Builder.class); + com.google.cloud.contactcenterinsights.v1.DeletePhraseMatcherRequest.class, com.google.cloud.contactcenterinsights.v1.DeletePhraseMatcherRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; - @SuppressWarnings("serial") private volatile java.lang.Object name_ = ""; /** - * - * *
    * Required. The name of the phrase matcher to delete.
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ @java.lang.Override @@ -90,31 +65,29 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** - * - * *
    * Required. The name of the phrase matcher to delete.
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -123,7 +96,6 @@ public com.google.protobuf.ByteString getNameBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -135,7 +107,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -159,15 +132,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.contactcenterinsights.v1.DeletePhraseMatcherRequest)) { return super.equals(obj); } - com.google.cloud.contactcenterinsights.v1.DeletePhraseMatcherRequest other = - (com.google.cloud.contactcenterinsights.v1.DeletePhraseMatcherRequest) obj; + com.google.cloud.contactcenterinsights.v1.DeletePhraseMatcherRequest other = (com.google.cloud.contactcenterinsights.v1.DeletePhraseMatcherRequest) obj; - if (!getName().equals(other.getName())) return false; + if (!getName() + .equals(other.getName())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -187,138 +160,129 @@ public int hashCode() { } public static com.google.cloud.contactcenterinsights.v1.DeletePhraseMatcherRequest parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.contactcenterinsights.v1.DeletePhraseMatcherRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.contactcenterinsights.v1.DeletePhraseMatcherRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.contactcenterinsights.v1.DeletePhraseMatcherRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.contactcenterinsights.v1.DeletePhraseMatcherRequest parseFrom( - byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.contactcenterinsights.v1.DeletePhraseMatcherRequest parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.contactcenterinsights.v1.DeletePhraseMatcherRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.contactcenterinsights.v1.DeletePhraseMatcherRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.contactcenterinsights.v1.DeletePhraseMatcherRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.contactcenterinsights.v1.DeletePhraseMatcherRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.contactcenterinsights.v1.DeletePhraseMatcherRequest - parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.contactcenterinsights.v1.DeletePhraseMatcherRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - - public static com.google.cloud.contactcenterinsights.v1.DeletePhraseMatcherRequest - parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + public static com.google.cloud.contactcenterinsights.v1.DeletePhraseMatcherRequest parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.contactcenterinsights.v1.DeletePhraseMatcherRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.contactcenterinsights.v1.DeletePhraseMatcherRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.contactcenterinsights.v1.DeletePhraseMatcherRequest prototype) { + public static Builder newBuilder(com.google.cloud.contactcenterinsights.v1.DeletePhraseMatcherRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * The request to delete a phrase matcher.
    * 
* * Protobuf type {@code google.cloud.contactcenterinsights.v1.DeletePhraseMatcherRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.contactcenterinsights.v1.DeletePhraseMatcherRequest) com.google.cloud.contactcenterinsights.v1.DeletePhraseMatcherRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto - .internal_static_google_cloud_contactcenterinsights_v1_DeletePhraseMatcherRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto.internal_static_google_cloud_contactcenterinsights_v1_DeletePhraseMatcherRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto - .internal_static_google_cloud_contactcenterinsights_v1_DeletePhraseMatcherRequest_fieldAccessorTable + return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto.internal_static_google_cloud_contactcenterinsights_v1_DeletePhraseMatcherRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.contactcenterinsights.v1.DeletePhraseMatcherRequest.class, - com.google.cloud.contactcenterinsights.v1.DeletePhraseMatcherRequest.Builder.class); + com.google.cloud.contactcenterinsights.v1.DeletePhraseMatcherRequest.class, com.google.cloud.contactcenterinsights.v1.DeletePhraseMatcherRequest.Builder.class); } - // Construct using - // com.google.cloud.contactcenterinsights.v1.DeletePhraseMatcherRequest.newBuilder() - private Builder() {} + // Construct using com.google.cloud.contactcenterinsights.v1.DeletePhraseMatcherRequest.newBuilder() + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -328,16 +292,14 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto - .internal_static_google_cloud_contactcenterinsights_v1_DeletePhraseMatcherRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto.internal_static_google_cloud_contactcenterinsights_v1_DeletePhraseMatcherRequest_descriptor; } @java.lang.Override - public com.google.cloud.contactcenterinsights.v1.DeletePhraseMatcherRequest - getDefaultInstanceForType() { - return com.google.cloud.contactcenterinsights.v1.DeletePhraseMatcherRequest - .getDefaultInstance(); + public com.google.cloud.contactcenterinsights.v1.DeletePhraseMatcherRequest getDefaultInstanceForType() { + return com.google.cloud.contactcenterinsights.v1.DeletePhraseMatcherRequest.getDefaultInstance(); } @java.lang.Override @@ -351,17 +313,13 @@ public com.google.cloud.contactcenterinsights.v1.DeletePhraseMatcherRequest buil @java.lang.Override public com.google.cloud.contactcenterinsights.v1.DeletePhraseMatcherRequest buildPartial() { - com.google.cloud.contactcenterinsights.v1.DeletePhraseMatcherRequest result = - new com.google.cloud.contactcenterinsights.v1.DeletePhraseMatcherRequest(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + com.google.cloud.contactcenterinsights.v1.DeletePhraseMatcherRequest result = new com.google.cloud.contactcenterinsights.v1.DeletePhraseMatcherRequest(this); + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } - private void buildPartial0( - com.google.cloud.contactcenterinsights.v1.DeletePhraseMatcherRequest result) { + private void buildPartial0(com.google.cloud.contactcenterinsights.v1.DeletePhraseMatcherRequest result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { result.name_ = name_; @@ -372,51 +330,46 @@ private void buildPartial0( public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.contactcenterinsights.v1.DeletePhraseMatcherRequest) { - return mergeFrom( - (com.google.cloud.contactcenterinsights.v1.DeletePhraseMatcherRequest) other); + return mergeFrom((com.google.cloud.contactcenterinsights.v1.DeletePhraseMatcherRequest)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom( - com.google.cloud.contactcenterinsights.v1.DeletePhraseMatcherRequest other) { - if (other - == com.google.cloud.contactcenterinsights.v1.DeletePhraseMatcherRequest - .getDefaultInstance()) return this; + public Builder mergeFrom(com.google.cloud.contactcenterinsights.v1.DeletePhraseMatcherRequest other) { + if (other == com.google.cloud.contactcenterinsights.v1.DeletePhraseMatcherRequest.getDefaultInstance()) return this; if (!other.getName().isEmpty()) { name_ = other.name_; bitField0_ |= 0x00000001; @@ -448,19 +401,17 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - name_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + name_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -470,27 +421,22 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private java.lang.Object name_ = ""; /** - * - * *
      * Required. The name of the phrase matcher to delete.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -499,23 +445,20 @@ public java.lang.String getName() { } } /** - * - * *
      * Required. The name of the phrase matcher to delete.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -523,39 +466,28 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * Required. The name of the phrase matcher to delete.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The name to set. * @return This builder for chaining. */ - public Builder setName(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setName( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } name_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
      * Required. The name of the phrase matcher to delete.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearName() { @@ -565,32 +497,26 @@ public Builder clearName() { return this; } /** - * - * *
      * Required. The name of the phrase matcher to delete.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setNameBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); name_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -600,43 +526,41 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.contactcenterinsights.v1.DeletePhraseMatcherRequest) } // @@protoc_insertion_point(class_scope:google.cloud.contactcenterinsights.v1.DeletePhraseMatcherRequest) - private static final com.google.cloud.contactcenterinsights.v1.DeletePhraseMatcherRequest - DEFAULT_INSTANCE; - + private static final com.google.cloud.contactcenterinsights.v1.DeletePhraseMatcherRequest DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.cloud.contactcenterinsights.v1.DeletePhraseMatcherRequest(); } - public static com.google.cloud.contactcenterinsights.v1.DeletePhraseMatcherRequest - getDefaultInstance() { + public static com.google.cloud.contactcenterinsights.v1.DeletePhraseMatcherRequest getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public DeletePhraseMatcherRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public DeletePhraseMatcherRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -648,8 +572,9 @@ public com.google.protobuf.Parser getParserForType() } @java.lang.Override - public com.google.cloud.contactcenterinsights.v1.DeletePhraseMatcherRequest - getDefaultInstanceForType() { + public com.google.cloud.contactcenterinsights.v1.DeletePhraseMatcherRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/DeletePhraseMatcherRequestOrBuilder.java b/owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/DeletePhraseMatcherRequestOrBuilder.java new file mode 100644 index 000000000000..cb8112db5935 --- /dev/null +++ b/owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/DeletePhraseMatcherRequestOrBuilder.java @@ -0,0 +1,29 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/contactcenterinsights/v1/contact_center_insights.proto + +package com.google.cloud.contactcenterinsights.v1; + +public interface DeletePhraseMatcherRequestOrBuilder extends + // @@protoc_insertion_point(interface_extends:google.cloud.contactcenterinsights.v1.DeletePhraseMatcherRequest) + com.google.protobuf.MessageOrBuilder { + + /** + *
+   * Required. The name of the phrase matcher to delete.
+   * 
+ * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The name. + */ + java.lang.String getName(); + /** + *
+   * Required. The name of the phrase matcher to delete.
+   * 
+ * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The bytes for name. + */ + com.google.protobuf.ByteString + getNameBytes(); +} diff --git a/java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/DeleteViewRequest.java b/owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/DeleteViewRequest.java similarity index 62% rename from java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/DeleteViewRequest.java rename to owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/DeleteViewRequest.java index e920c79dcd8d..eb2e94d4e921 100644 --- a/java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/DeleteViewRequest.java +++ b/owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/DeleteViewRequest.java @@ -1,87 +1,62 @@ -/* - * 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. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/contactcenterinsights/v1/contact_center_insights.proto package com.google.cloud.contactcenterinsights.v1; /** - * - * *
  * The request to delete a view.
  * 
* * Protobuf type {@code google.cloud.contactcenterinsights.v1.DeleteViewRequest} */ -public final class DeleteViewRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class DeleteViewRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.contactcenterinsights.v1.DeleteViewRequest) DeleteViewRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use DeleteViewRequest.newBuilder() to construct. private DeleteViewRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private DeleteViewRequest() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new DeleteViewRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto - .internal_static_google_cloud_contactcenterinsights_v1_DeleteViewRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto.internal_static_google_cloud_contactcenterinsights_v1_DeleteViewRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto - .internal_static_google_cloud_contactcenterinsights_v1_DeleteViewRequest_fieldAccessorTable + return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto.internal_static_google_cloud_contactcenterinsights_v1_DeleteViewRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.contactcenterinsights.v1.DeleteViewRequest.class, - com.google.cloud.contactcenterinsights.v1.DeleteViewRequest.Builder.class); + com.google.cloud.contactcenterinsights.v1.DeleteViewRequest.class, com.google.cloud.contactcenterinsights.v1.DeleteViewRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; - @SuppressWarnings("serial") private volatile java.lang.Object name_ = ""; /** - * - * *
    * Required. The name of the view to delete.
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ @java.lang.Override @@ -90,31 +65,29 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** - * - * *
    * Required. The name of the view to delete.
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -123,7 +96,6 @@ public com.google.protobuf.ByteString getNameBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -135,7 +107,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -159,15 +132,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.contactcenterinsights.v1.DeleteViewRequest)) { return super.equals(obj); } - com.google.cloud.contactcenterinsights.v1.DeleteViewRequest other = - (com.google.cloud.contactcenterinsights.v1.DeleteViewRequest) obj; + com.google.cloud.contactcenterinsights.v1.DeleteViewRequest other = (com.google.cloud.contactcenterinsights.v1.DeleteViewRequest) obj; - if (!getName().equals(other.getName())) return false; + if (!getName() + .equals(other.getName())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -187,136 +160,129 @@ public int hashCode() { } public static com.google.cloud.contactcenterinsights.v1.DeleteViewRequest parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.contactcenterinsights.v1.DeleteViewRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.contactcenterinsights.v1.DeleteViewRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.contactcenterinsights.v1.DeleteViewRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.contactcenterinsights.v1.DeleteViewRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.contactcenterinsights.v1.DeleteViewRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.contactcenterinsights.v1.DeleteViewRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.contactcenterinsights.v1.DeleteViewRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.contactcenterinsights.v1.DeleteViewRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.contactcenterinsights.v1.DeleteViewRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.contactcenterinsights.v1.DeleteViewRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.contactcenterinsights.v1.DeleteViewRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.contactcenterinsights.v1.DeleteViewRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.contactcenterinsights.v1.DeleteViewRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.contactcenterinsights.v1.DeleteViewRequest prototype) { + public static Builder newBuilder(com.google.cloud.contactcenterinsights.v1.DeleteViewRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * The request to delete a view.
    * 
* * Protobuf type {@code google.cloud.contactcenterinsights.v1.DeleteViewRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.contactcenterinsights.v1.DeleteViewRequest) com.google.cloud.contactcenterinsights.v1.DeleteViewRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto - .internal_static_google_cloud_contactcenterinsights_v1_DeleteViewRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto.internal_static_google_cloud_contactcenterinsights_v1_DeleteViewRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto - .internal_static_google_cloud_contactcenterinsights_v1_DeleteViewRequest_fieldAccessorTable + return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto.internal_static_google_cloud_contactcenterinsights_v1_DeleteViewRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.contactcenterinsights.v1.DeleteViewRequest.class, - com.google.cloud.contactcenterinsights.v1.DeleteViewRequest.Builder.class); + com.google.cloud.contactcenterinsights.v1.DeleteViewRequest.class, com.google.cloud.contactcenterinsights.v1.DeleteViewRequest.Builder.class); } // Construct using com.google.cloud.contactcenterinsights.v1.DeleteViewRequest.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -326,9 +292,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto - .internal_static_google_cloud_contactcenterinsights_v1_DeleteViewRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto.internal_static_google_cloud_contactcenterinsights_v1_DeleteViewRequest_descriptor; } @java.lang.Override @@ -347,11 +313,8 @@ public com.google.cloud.contactcenterinsights.v1.DeleteViewRequest build() { @java.lang.Override public com.google.cloud.contactcenterinsights.v1.DeleteViewRequest buildPartial() { - com.google.cloud.contactcenterinsights.v1.DeleteViewRequest result = - new com.google.cloud.contactcenterinsights.v1.DeleteViewRequest(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + com.google.cloud.contactcenterinsights.v1.DeleteViewRequest result = new com.google.cloud.contactcenterinsights.v1.DeleteViewRequest(this); + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } @@ -367,39 +330,38 @@ private void buildPartial0(com.google.cloud.contactcenterinsights.v1.DeleteViewR public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.contactcenterinsights.v1.DeleteViewRequest) { - return mergeFrom((com.google.cloud.contactcenterinsights.v1.DeleteViewRequest) other); + return mergeFrom((com.google.cloud.contactcenterinsights.v1.DeleteViewRequest)other); } else { super.mergeFrom(other); return this; @@ -407,8 +369,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.contactcenterinsights.v1.DeleteViewRequest other) { - if (other == com.google.cloud.contactcenterinsights.v1.DeleteViewRequest.getDefaultInstance()) - return this; + if (other == com.google.cloud.contactcenterinsights.v1.DeleteViewRequest.getDefaultInstance()) return this; if (!other.getName().isEmpty()) { name_ = other.name_; bitField0_ |= 0x00000001; @@ -440,19 +401,17 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - name_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + name_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -462,27 +421,22 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private java.lang.Object name_ = ""; /** - * - * *
      * Required. The name of the view to delete.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -491,23 +445,20 @@ public java.lang.String getName() { } } /** - * - * *
      * Required. The name of the view to delete.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -515,39 +466,28 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * Required. The name of the view to delete.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The name to set. * @return This builder for chaining. */ - public Builder setName(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setName( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } name_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
      * Required. The name of the view to delete.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearName() { @@ -557,32 +497,26 @@ public Builder clearName() { return this; } /** - * - * *
      * Required. The name of the view to delete.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setNameBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); name_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -592,12 +526,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.contactcenterinsights.v1.DeleteViewRequest) } // @@protoc_insertion_point(class_scope:google.cloud.contactcenterinsights.v1.DeleteViewRequest) private static final com.google.cloud.contactcenterinsights.v1.DeleteViewRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.contactcenterinsights.v1.DeleteViewRequest(); } @@ -606,27 +540,27 @@ public static com.google.cloud.contactcenterinsights.v1.DeleteViewRequest getDef return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public DeleteViewRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public DeleteViewRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -641,4 +575,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.contactcenterinsights.v1.DeleteViewRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/DeleteViewRequestOrBuilder.java b/owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/DeleteViewRequestOrBuilder.java new file mode 100644 index 000000000000..6b3adefa4164 --- /dev/null +++ b/owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/DeleteViewRequestOrBuilder.java @@ -0,0 +1,29 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/contactcenterinsights/v1/contact_center_insights.proto + +package com.google.cloud.contactcenterinsights.v1; + +public interface DeleteViewRequestOrBuilder extends + // @@protoc_insertion_point(interface_extends:google.cloud.contactcenterinsights.v1.DeleteViewRequest) + com.google.protobuf.MessageOrBuilder { + + /** + *
+   * Required. The name of the view to delete.
+   * 
+ * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The name. + */ + java.lang.String getName(); + /** + *
+   * Required. The name of the view to delete.
+   * 
+ * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The bytes for name. + */ + com.google.protobuf.ByteString + getNameBytes(); +} diff --git a/java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/DeployIssueModelMetadata.java b/owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/DeployIssueModelMetadata.java similarity index 63% rename from java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/DeployIssueModelMetadata.java rename to owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/DeployIssueModelMetadata.java index 1961d05274bb..2e08d8bb42ea 100644 --- a/java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/DeployIssueModelMetadata.java +++ b/owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/DeployIssueModelMetadata.java @@ -1,82 +1,60 @@ -/* - * 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. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/contactcenterinsights/v1/contact_center_insights.proto package com.google.cloud.contactcenterinsights.v1; /** - * - * *
  * Metadata for deploying an issue model.
  * 
* * Protobuf type {@code google.cloud.contactcenterinsights.v1.DeployIssueModelMetadata} */ -public final class DeployIssueModelMetadata extends com.google.protobuf.GeneratedMessageV3 - implements +public final class DeployIssueModelMetadata extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.contactcenterinsights.v1.DeployIssueModelMetadata) DeployIssueModelMetadataOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use DeployIssueModelMetadata.newBuilder() to construct. private DeployIssueModelMetadata(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - - private DeployIssueModelMetadata() {} + private DeployIssueModelMetadata() { + } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new DeployIssueModelMetadata(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto - .internal_static_google_cloud_contactcenterinsights_v1_DeployIssueModelMetadata_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto.internal_static_google_cloud_contactcenterinsights_v1_DeployIssueModelMetadata_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto - .internal_static_google_cloud_contactcenterinsights_v1_DeployIssueModelMetadata_fieldAccessorTable + return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto.internal_static_google_cloud_contactcenterinsights_v1_DeployIssueModelMetadata_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.contactcenterinsights.v1.DeployIssueModelMetadata.class, - com.google.cloud.contactcenterinsights.v1.DeployIssueModelMetadata.Builder.class); + com.google.cloud.contactcenterinsights.v1.DeployIssueModelMetadata.class, com.google.cloud.contactcenterinsights.v1.DeployIssueModelMetadata.Builder.class); } public static final int CREATE_TIME_FIELD_NUMBER = 1; private com.google.protobuf.Timestamp createTime_; /** - * - * *
    * Output only. The time the operation was created.
    * 
* - * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the createTime field is set. */ @java.lang.Override @@ -84,15 +62,11 @@ public boolean hasCreateTime() { return createTime_ != null; } /** - * - * *
    * Output only. The time the operation was created.
    * 
* - * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The createTime. */ @java.lang.Override @@ -100,14 +74,11 @@ public com.google.protobuf.Timestamp getCreateTime() { return createTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : createTime_; } /** - * - * *
    * Output only. The time the operation was created.
    * 
* - * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ @java.lang.Override public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { @@ -117,15 +88,11 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { public static final int END_TIME_FIELD_NUMBER = 2; private com.google.protobuf.Timestamp endTime_; /** - * - * *
    * Output only. The time the operation finished running.
    * 
* - * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the endTime field is set. */ @java.lang.Override @@ -133,15 +100,11 @@ public boolean hasEndTime() { return endTime_ != null; } /** - * - * *
    * Output only. The time the operation finished running.
    * 
* - * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The endTime. */ @java.lang.Override @@ -149,14 +112,11 @@ public com.google.protobuf.Timestamp getEndTime() { return endTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : endTime_; } /** - * - * *
    * Output only. The time the operation finished running.
    * 
* - * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ @java.lang.Override public com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder() { @@ -166,14 +126,11 @@ public com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder() { public static final int REQUEST_FIELD_NUMBER = 3; private com.google.cloud.contactcenterinsights.v1.DeployIssueModelRequest request_; /** - * - * *
    * The original request for deployment.
    * 
* * .google.cloud.contactcenterinsights.v1.DeployIssueModelRequest request = 3; - * * @return Whether the request field is set. */ @java.lang.Override @@ -181,25 +138,18 @@ public boolean hasRequest() { return request_ != null; } /** - * - * *
    * The original request for deployment.
    * 
* * .google.cloud.contactcenterinsights.v1.DeployIssueModelRequest request = 3; - * * @return The request. */ @java.lang.Override public com.google.cloud.contactcenterinsights.v1.DeployIssueModelRequest getRequest() { - return request_ == null - ? com.google.cloud.contactcenterinsights.v1.DeployIssueModelRequest.getDefaultInstance() - : request_; + return request_ == null ? com.google.cloud.contactcenterinsights.v1.DeployIssueModelRequest.getDefaultInstance() : request_; } /** - * - * *
    * The original request for deployment.
    * 
@@ -207,15 +157,11 @@ public com.google.cloud.contactcenterinsights.v1.DeployIssueModelRequest getRequ * .google.cloud.contactcenterinsights.v1.DeployIssueModelRequest request = 3; */ @java.lang.Override - public com.google.cloud.contactcenterinsights.v1.DeployIssueModelRequestOrBuilder - getRequestOrBuilder() { - return request_ == null - ? com.google.cloud.contactcenterinsights.v1.DeployIssueModelRequest.getDefaultInstance() - : request_; + public com.google.cloud.contactcenterinsights.v1.DeployIssueModelRequestOrBuilder getRequestOrBuilder() { + return request_ == null ? com.google.cloud.contactcenterinsights.v1.DeployIssueModelRequest.getDefaultInstance() : request_; } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -227,7 +173,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (createTime_ != null) { output.writeMessage(1, getCreateTime()); } @@ -247,13 +194,16 @@ public int getSerializedSize() { size = 0; if (createTime_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getCreateTime()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, getCreateTime()); } if (endTime_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getEndTime()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, getEndTime()); } if (request_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getRequest()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(3, getRequest()); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -263,25 +213,27 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.contactcenterinsights.v1.DeployIssueModelMetadata)) { return super.equals(obj); } - com.google.cloud.contactcenterinsights.v1.DeployIssueModelMetadata other = - (com.google.cloud.contactcenterinsights.v1.DeployIssueModelMetadata) obj; + com.google.cloud.contactcenterinsights.v1.DeployIssueModelMetadata other = (com.google.cloud.contactcenterinsights.v1.DeployIssueModelMetadata) obj; if (hasCreateTime() != other.hasCreateTime()) return false; if (hasCreateTime()) { - if (!getCreateTime().equals(other.getCreateTime())) return false; + if (!getCreateTime() + .equals(other.getCreateTime())) return false; } if (hasEndTime() != other.hasEndTime()) return false; if (hasEndTime()) { - if (!getEndTime().equals(other.getEndTime())) return false; + if (!getEndTime() + .equals(other.getEndTime())) return false; } if (hasRequest() != other.hasRequest()) return false; if (hasRequest()) { - if (!getRequest().equals(other.getRequest())) return false; + if (!getRequest() + .equals(other.getRequest())) return false; } if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -312,138 +264,129 @@ public int hashCode() { } public static com.google.cloud.contactcenterinsights.v1.DeployIssueModelMetadata parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.contactcenterinsights.v1.DeployIssueModelMetadata parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.contactcenterinsights.v1.DeployIssueModelMetadata parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.contactcenterinsights.v1.DeployIssueModelMetadata parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.contactcenterinsights.v1.DeployIssueModelMetadata parseFrom( - byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.contactcenterinsights.v1.DeployIssueModelMetadata parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.contactcenterinsights.v1.DeployIssueModelMetadata parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.contactcenterinsights.v1.DeployIssueModelMetadata parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.contactcenterinsights.v1.DeployIssueModelMetadata parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.contactcenterinsights.v1.DeployIssueModelMetadata parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.contactcenterinsights.v1.DeployIssueModelMetadata - parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.contactcenterinsights.v1.DeployIssueModelMetadata parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - - public static com.google.cloud.contactcenterinsights.v1.DeployIssueModelMetadata - parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + public static com.google.cloud.contactcenterinsights.v1.DeployIssueModelMetadata parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.contactcenterinsights.v1.DeployIssueModelMetadata parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.contactcenterinsights.v1.DeployIssueModelMetadata parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.contactcenterinsights.v1.DeployIssueModelMetadata prototype) { + public static Builder newBuilder(com.google.cloud.contactcenterinsights.v1.DeployIssueModelMetadata prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Metadata for deploying an issue model.
    * 
* * Protobuf type {@code google.cloud.contactcenterinsights.v1.DeployIssueModelMetadata} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.contactcenterinsights.v1.DeployIssueModelMetadata) com.google.cloud.contactcenterinsights.v1.DeployIssueModelMetadataOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto - .internal_static_google_cloud_contactcenterinsights_v1_DeployIssueModelMetadata_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto.internal_static_google_cloud_contactcenterinsights_v1_DeployIssueModelMetadata_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto - .internal_static_google_cloud_contactcenterinsights_v1_DeployIssueModelMetadata_fieldAccessorTable + return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto.internal_static_google_cloud_contactcenterinsights_v1_DeployIssueModelMetadata_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.contactcenterinsights.v1.DeployIssueModelMetadata.class, - com.google.cloud.contactcenterinsights.v1.DeployIssueModelMetadata.Builder.class); + com.google.cloud.contactcenterinsights.v1.DeployIssueModelMetadata.class, com.google.cloud.contactcenterinsights.v1.DeployIssueModelMetadata.Builder.class); } - // Construct using - // com.google.cloud.contactcenterinsights.v1.DeployIssueModelMetadata.newBuilder() - private Builder() {} + // Construct using com.google.cloud.contactcenterinsights.v1.DeployIssueModelMetadata.newBuilder() + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -467,16 +410,14 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto - .internal_static_google_cloud_contactcenterinsights_v1_DeployIssueModelMetadata_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto.internal_static_google_cloud_contactcenterinsights_v1_DeployIssueModelMetadata_descriptor; } @java.lang.Override - public com.google.cloud.contactcenterinsights.v1.DeployIssueModelMetadata - getDefaultInstanceForType() { - return com.google.cloud.contactcenterinsights.v1.DeployIssueModelMetadata - .getDefaultInstance(); + public com.google.cloud.contactcenterinsights.v1.DeployIssueModelMetadata getDefaultInstanceForType() { + return com.google.cloud.contactcenterinsights.v1.DeployIssueModelMetadata.getDefaultInstance(); } @java.lang.Override @@ -490,26 +431,28 @@ public com.google.cloud.contactcenterinsights.v1.DeployIssueModelMetadata build( @java.lang.Override public com.google.cloud.contactcenterinsights.v1.DeployIssueModelMetadata buildPartial() { - com.google.cloud.contactcenterinsights.v1.DeployIssueModelMetadata result = - new com.google.cloud.contactcenterinsights.v1.DeployIssueModelMetadata(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + com.google.cloud.contactcenterinsights.v1.DeployIssueModelMetadata result = new com.google.cloud.contactcenterinsights.v1.DeployIssueModelMetadata(this); + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } - private void buildPartial0( - com.google.cloud.contactcenterinsights.v1.DeployIssueModelMetadata result) { + private void buildPartial0(com.google.cloud.contactcenterinsights.v1.DeployIssueModelMetadata result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { - result.createTime_ = createTimeBuilder_ == null ? createTime_ : createTimeBuilder_.build(); + result.createTime_ = createTimeBuilder_ == null + ? createTime_ + : createTimeBuilder_.build(); } if (((from_bitField0_ & 0x00000002) != 0)) { - result.endTime_ = endTimeBuilder_ == null ? endTime_ : endTimeBuilder_.build(); + result.endTime_ = endTimeBuilder_ == null + ? endTime_ + : endTimeBuilder_.build(); } if (((from_bitField0_ & 0x00000004) != 0)) { - result.request_ = requestBuilder_ == null ? request_ : requestBuilder_.build(); + result.request_ = requestBuilder_ == null + ? request_ + : requestBuilder_.build(); } } @@ -517,51 +460,46 @@ private void buildPartial0( public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.contactcenterinsights.v1.DeployIssueModelMetadata) { - return mergeFrom( - (com.google.cloud.contactcenterinsights.v1.DeployIssueModelMetadata) other); + return mergeFrom((com.google.cloud.contactcenterinsights.v1.DeployIssueModelMetadata)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom( - com.google.cloud.contactcenterinsights.v1.DeployIssueModelMetadata other) { - if (other - == com.google.cloud.contactcenterinsights.v1.DeployIssueModelMetadata - .getDefaultInstance()) return this; + public Builder mergeFrom(com.google.cloud.contactcenterinsights.v1.DeployIssueModelMetadata other) { + if (other == com.google.cloud.contactcenterinsights.v1.DeployIssueModelMetadata.getDefaultInstance()) return this; if (other.hasCreateTime()) { mergeCreateTime(other.getCreateTime()); } @@ -597,31 +535,33 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - input.readMessage(getCreateTimeFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: - { - input.readMessage(getEndTimeFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00000002; - break; - } // case 18 - case 26: - { - input.readMessage(getRequestFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00000004; - break; - } // case 26 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + input.readMessage( + getCreateTimeFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: { + input.readMessage( + getEndTimeFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00000002; + break; + } // case 18 + case 26: { + input.readMessage( + getRequestFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00000004; + break; + } // case 26 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -631,63 +571,43 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private com.google.protobuf.Timestamp createTime_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> - createTimeBuilder_; + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> createTimeBuilder_; /** - * - * *
      * Output only. The time the operation was created.
      * 
* - * - * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the createTime field is set. */ public boolean hasCreateTime() { return ((bitField0_ & 0x00000001) != 0); } /** - * - * *
      * Output only. The time the operation was created.
      * 
* - * - * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The createTime. */ public com.google.protobuf.Timestamp getCreateTime() { if (createTimeBuilder_ == null) { - return createTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : createTime_; + return createTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : createTime_; } else { return createTimeBuilder_.getMessage(); } } /** - * - * *
      * Output only. The time the operation was created.
      * 
* - * - * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder setCreateTime(com.google.protobuf.Timestamp value) { if (createTimeBuilder_ == null) { @@ -703,17 +623,14 @@ public Builder setCreateTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * Output only. The time the operation was created.
      * 
* - * - * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - public Builder setCreateTime(com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setCreateTime( + com.google.protobuf.Timestamp.Builder builderForValue) { if (createTimeBuilder_ == null) { createTime_ = builderForValue.build(); } else { @@ -724,21 +641,17 @@ public Builder setCreateTime(com.google.protobuf.Timestamp.Builder builderForVal return this; } /** - * - * *
      * Output only. The time the operation was created.
      * 
* - * - * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder mergeCreateTime(com.google.protobuf.Timestamp value) { if (createTimeBuilder_ == null) { - if (((bitField0_ & 0x00000001) != 0) - && createTime_ != null - && createTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { + if (((bitField0_ & 0x00000001) != 0) && + createTime_ != null && + createTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { getCreateTimeBuilder().mergeFrom(value); } else { createTime_ = value; @@ -751,15 +664,11 @@ public Builder mergeCreateTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * Output only. The time the operation was created.
      * 
* - * - * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder clearCreateTime() { bitField0_ = (bitField0_ & ~0x00000001); @@ -772,15 +681,11 @@ public Builder clearCreateTime() { return this; } /** - * - * *
      * Output only. The time the operation was created.
      * 
* - * - * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public com.google.protobuf.Timestamp.Builder getCreateTimeBuilder() { bitField0_ |= 0x00000001; @@ -788,48 +693,36 @@ public com.google.protobuf.Timestamp.Builder getCreateTimeBuilder() { return getCreateTimeFieldBuilder().getBuilder(); } /** - * - * *
      * Output only. The time the operation was created.
      * 
* - * - * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { if (createTimeBuilder_ != null) { return createTimeBuilder_.getMessageOrBuilder(); } else { - return createTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : createTime_; + return createTime_ == null ? + com.google.protobuf.Timestamp.getDefaultInstance() : createTime_; } } /** - * - * *
      * Output only. The time the operation was created.
      * 
* - * - * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> getCreateTimeFieldBuilder() { if (createTimeBuilder_ == null) { - createTimeBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder>( - getCreateTime(), getParentForChildren(), isClean()); + createTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( + getCreateTime(), + getParentForChildren(), + isClean()); createTime_ = null; } return createTimeBuilder_; @@ -837,35 +730,24 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { private com.google.protobuf.Timestamp endTime_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> - endTimeBuilder_; + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> endTimeBuilder_; /** - * - * *
      * Output only. The time the operation finished running.
      * 
* - * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the endTime field is set. */ public boolean hasEndTime() { return ((bitField0_ & 0x00000002) != 0); } /** - * - * *
      * Output only. The time the operation finished running.
      * 
* - * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The endTime. */ public com.google.protobuf.Timestamp getEndTime() { @@ -876,14 +758,11 @@ public com.google.protobuf.Timestamp getEndTime() { } } /** - * - * *
      * Output only. The time the operation finished running.
      * 
* - * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder setEndTime(com.google.protobuf.Timestamp value) { if (endTimeBuilder_ == null) { @@ -899,16 +778,14 @@ public Builder setEndTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * Output only. The time the operation finished running.
      * 
* - * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - public Builder setEndTime(com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setEndTime( + com.google.protobuf.Timestamp.Builder builderForValue) { if (endTimeBuilder_ == null) { endTime_ = builderForValue.build(); } else { @@ -919,20 +796,17 @@ public Builder setEndTime(com.google.protobuf.Timestamp.Builder builderForValue) return this; } /** - * - * *
      * Output only. The time the operation finished running.
      * 
* - * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder mergeEndTime(com.google.protobuf.Timestamp value) { if (endTimeBuilder_ == null) { - if (((bitField0_ & 0x00000002) != 0) - && endTime_ != null - && endTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { + if (((bitField0_ & 0x00000002) != 0) && + endTime_ != null && + endTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { getEndTimeBuilder().mergeFrom(value); } else { endTime_ = value; @@ -945,14 +819,11 @@ public Builder mergeEndTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * Output only. The time the operation finished running.
      * 
* - * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder clearEndTime() { bitField0_ = (bitField0_ & ~0x00000002); @@ -965,14 +836,11 @@ public Builder clearEndTime() { return this; } /** - * - * *
      * Output only. The time the operation finished running.
      * 
* - * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public com.google.protobuf.Timestamp.Builder getEndTimeBuilder() { bitField0_ |= 0x00000002; @@ -980,44 +848,36 @@ public com.google.protobuf.Timestamp.Builder getEndTimeBuilder() { return getEndTimeFieldBuilder().getBuilder(); } /** - * - * *
      * Output only. The time the operation finished running.
      * 
* - * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder() { if (endTimeBuilder_ != null) { return endTimeBuilder_.getMessageOrBuilder(); } else { - return endTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : endTime_; + return endTime_ == null ? + com.google.protobuf.Timestamp.getDefaultInstance() : endTime_; } } /** - * - * *
      * Output only. The time the operation finished running.
      * 
* - * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> getEndTimeFieldBuilder() { if (endTimeBuilder_ == null) { - endTimeBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder>( - getEndTime(), getParentForChildren(), isClean()); + endTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( + getEndTime(), + getParentForChildren(), + isClean()); endTime_ = null; } return endTimeBuilder_; @@ -1025,55 +885,41 @@ public com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder() { private com.google.cloud.contactcenterinsights.v1.DeployIssueModelRequest request_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.contactcenterinsights.v1.DeployIssueModelRequest, - com.google.cloud.contactcenterinsights.v1.DeployIssueModelRequest.Builder, - com.google.cloud.contactcenterinsights.v1.DeployIssueModelRequestOrBuilder> - requestBuilder_; + com.google.cloud.contactcenterinsights.v1.DeployIssueModelRequest, com.google.cloud.contactcenterinsights.v1.DeployIssueModelRequest.Builder, com.google.cloud.contactcenterinsights.v1.DeployIssueModelRequestOrBuilder> requestBuilder_; /** - * - * *
      * The original request for deployment.
      * 
* * .google.cloud.contactcenterinsights.v1.DeployIssueModelRequest request = 3; - * * @return Whether the request field is set. */ public boolean hasRequest() { return ((bitField0_ & 0x00000004) != 0); } /** - * - * *
      * The original request for deployment.
      * 
* * .google.cloud.contactcenterinsights.v1.DeployIssueModelRequest request = 3; - * * @return The request. */ public com.google.cloud.contactcenterinsights.v1.DeployIssueModelRequest getRequest() { if (requestBuilder_ == null) { - return request_ == null - ? com.google.cloud.contactcenterinsights.v1.DeployIssueModelRequest.getDefaultInstance() - : request_; + return request_ == null ? com.google.cloud.contactcenterinsights.v1.DeployIssueModelRequest.getDefaultInstance() : request_; } else { return requestBuilder_.getMessage(); } } /** - * - * *
      * The original request for deployment.
      * 
* * .google.cloud.contactcenterinsights.v1.DeployIssueModelRequest request = 3; */ - public Builder setRequest( - com.google.cloud.contactcenterinsights.v1.DeployIssueModelRequest value) { + public Builder setRequest(com.google.cloud.contactcenterinsights.v1.DeployIssueModelRequest value) { if (requestBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -1087,8 +933,6 @@ public Builder setRequest( return this; } /** - * - * *
      * The original request for deployment.
      * 
@@ -1107,22 +951,17 @@ public Builder setRequest( return this; } /** - * - * *
      * The original request for deployment.
      * 
* * .google.cloud.contactcenterinsights.v1.DeployIssueModelRequest request = 3; */ - public Builder mergeRequest( - com.google.cloud.contactcenterinsights.v1.DeployIssueModelRequest value) { + public Builder mergeRequest(com.google.cloud.contactcenterinsights.v1.DeployIssueModelRequest value) { if (requestBuilder_ == null) { - if (((bitField0_ & 0x00000004) != 0) - && request_ != null - && request_ - != com.google.cloud.contactcenterinsights.v1.DeployIssueModelRequest - .getDefaultInstance()) { + if (((bitField0_ & 0x00000004) != 0) && + request_ != null && + request_ != com.google.cloud.contactcenterinsights.v1.DeployIssueModelRequest.getDefaultInstance()) { getRequestBuilder().mergeFrom(value); } else { request_ = value; @@ -1135,8 +974,6 @@ public Builder mergeRequest( return this; } /** - * - * *
      * The original request for deployment.
      * 
@@ -1154,42 +991,33 @@ public Builder clearRequest() { return this; } /** - * - * *
      * The original request for deployment.
      * 
* * .google.cloud.contactcenterinsights.v1.DeployIssueModelRequest request = 3; */ - public com.google.cloud.contactcenterinsights.v1.DeployIssueModelRequest.Builder - getRequestBuilder() { + public com.google.cloud.contactcenterinsights.v1.DeployIssueModelRequest.Builder getRequestBuilder() { bitField0_ |= 0x00000004; onChanged(); return getRequestFieldBuilder().getBuilder(); } /** - * - * *
      * The original request for deployment.
      * 
* * .google.cloud.contactcenterinsights.v1.DeployIssueModelRequest request = 3; */ - public com.google.cloud.contactcenterinsights.v1.DeployIssueModelRequestOrBuilder - getRequestOrBuilder() { + public com.google.cloud.contactcenterinsights.v1.DeployIssueModelRequestOrBuilder getRequestOrBuilder() { if (requestBuilder_ != null) { return requestBuilder_.getMessageOrBuilder(); } else { - return request_ == null - ? com.google.cloud.contactcenterinsights.v1.DeployIssueModelRequest.getDefaultInstance() - : request_; + return request_ == null ? + com.google.cloud.contactcenterinsights.v1.DeployIssueModelRequest.getDefaultInstance() : request_; } } /** - * - * *
      * The original request for deployment.
      * 
@@ -1197,24 +1025,21 @@ public Builder clearRequest() { * .google.cloud.contactcenterinsights.v1.DeployIssueModelRequest request = 3; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.contactcenterinsights.v1.DeployIssueModelRequest, - com.google.cloud.contactcenterinsights.v1.DeployIssueModelRequest.Builder, - com.google.cloud.contactcenterinsights.v1.DeployIssueModelRequestOrBuilder> + com.google.cloud.contactcenterinsights.v1.DeployIssueModelRequest, com.google.cloud.contactcenterinsights.v1.DeployIssueModelRequest.Builder, com.google.cloud.contactcenterinsights.v1.DeployIssueModelRequestOrBuilder> getRequestFieldBuilder() { if (requestBuilder_ == null) { - requestBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.contactcenterinsights.v1.DeployIssueModelRequest, - com.google.cloud.contactcenterinsights.v1.DeployIssueModelRequest.Builder, - com.google.cloud.contactcenterinsights.v1.DeployIssueModelRequestOrBuilder>( - getRequest(), getParentForChildren(), isClean()); + requestBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.contactcenterinsights.v1.DeployIssueModelRequest, com.google.cloud.contactcenterinsights.v1.DeployIssueModelRequest.Builder, com.google.cloud.contactcenterinsights.v1.DeployIssueModelRequestOrBuilder>( + getRequest(), + getParentForChildren(), + isClean()); request_ = null; } return requestBuilder_; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1224,43 +1049,41 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.contactcenterinsights.v1.DeployIssueModelMetadata) } // @@protoc_insertion_point(class_scope:google.cloud.contactcenterinsights.v1.DeployIssueModelMetadata) - private static final com.google.cloud.contactcenterinsights.v1.DeployIssueModelMetadata - DEFAULT_INSTANCE; - + private static final com.google.cloud.contactcenterinsights.v1.DeployIssueModelMetadata DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.cloud.contactcenterinsights.v1.DeployIssueModelMetadata(); } - public static com.google.cloud.contactcenterinsights.v1.DeployIssueModelMetadata - getDefaultInstance() { + public static com.google.cloud.contactcenterinsights.v1.DeployIssueModelMetadata getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public DeployIssueModelMetadata parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public DeployIssueModelMetadata parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1272,8 +1095,9 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.cloud.contactcenterinsights.v1.DeployIssueModelMetadata - getDefaultInstanceForType() { + public com.google.cloud.contactcenterinsights.v1.DeployIssueModelMetadata getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/DeployIssueModelMetadataOrBuilder.java b/owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/DeployIssueModelMetadataOrBuilder.java similarity index 70% rename from java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/DeployIssueModelMetadataOrBuilder.java rename to owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/DeployIssueModelMetadataOrBuilder.java index df5ca21f58f1..aee429890611 100644 --- a/java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/DeployIssueModelMetadataOrBuilder.java +++ b/owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/DeployIssueModelMetadataOrBuilder.java @@ -1,131 +1,85 @@ -/* - * 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. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/contactcenterinsights/v1/contact_center_insights.proto package com.google.cloud.contactcenterinsights.v1; -public interface DeployIssueModelMetadataOrBuilder - extends +public interface DeployIssueModelMetadataOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.contactcenterinsights.v1.DeployIssueModelMetadata) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Output only. The time the operation was created.
    * 
* - * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the createTime field is set. */ boolean hasCreateTime(); /** - * - * *
    * Output only. The time the operation was created.
    * 
* - * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The createTime. */ com.google.protobuf.Timestamp getCreateTime(); /** - * - * *
    * Output only. The time the operation was created.
    * 
* - * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder(); /** - * - * *
    * Output only. The time the operation finished running.
    * 
* - * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the endTime field is set. */ boolean hasEndTime(); /** - * - * *
    * Output only. The time the operation finished running.
    * 
* - * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The endTime. */ com.google.protobuf.Timestamp getEndTime(); /** - * - * *
    * Output only. The time the operation finished running.
    * 
* - * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder(); /** - * - * *
    * The original request for deployment.
    * 
* * .google.cloud.contactcenterinsights.v1.DeployIssueModelRequest request = 3; - * * @return Whether the request field is set. */ boolean hasRequest(); /** - * - * *
    * The original request for deployment.
    * 
* * .google.cloud.contactcenterinsights.v1.DeployIssueModelRequest request = 3; - * * @return The request. */ com.google.cloud.contactcenterinsights.v1.DeployIssueModelRequest getRequest(); /** - * - * *
    * The original request for deployment.
    * 
diff --git a/java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/DeployIssueModelRequest.java b/owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/DeployIssueModelRequest.java similarity index 59% rename from java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/DeployIssueModelRequest.java rename to owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/DeployIssueModelRequest.java index fcbcd25a7c4f..c5e7153ca135 100644 --- a/java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/DeployIssueModelRequest.java +++ b/owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/DeployIssueModelRequest.java @@ -1,87 +1,62 @@ -/* - * 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. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/contactcenterinsights/v1/contact_center_insights.proto package com.google.cloud.contactcenterinsights.v1; /** - * - * *
  * The request to deploy an issue model.
  * 
* * Protobuf type {@code google.cloud.contactcenterinsights.v1.DeployIssueModelRequest} */ -public final class DeployIssueModelRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class DeployIssueModelRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.contactcenterinsights.v1.DeployIssueModelRequest) DeployIssueModelRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use DeployIssueModelRequest.newBuilder() to construct. private DeployIssueModelRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private DeployIssueModelRequest() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new DeployIssueModelRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto - .internal_static_google_cloud_contactcenterinsights_v1_DeployIssueModelRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto.internal_static_google_cloud_contactcenterinsights_v1_DeployIssueModelRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto - .internal_static_google_cloud_contactcenterinsights_v1_DeployIssueModelRequest_fieldAccessorTable + return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto.internal_static_google_cloud_contactcenterinsights_v1_DeployIssueModelRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.contactcenterinsights.v1.DeployIssueModelRequest.class, - com.google.cloud.contactcenterinsights.v1.DeployIssueModelRequest.Builder.class); + com.google.cloud.contactcenterinsights.v1.DeployIssueModelRequest.class, com.google.cloud.contactcenterinsights.v1.DeployIssueModelRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; - @SuppressWarnings("serial") private volatile java.lang.Object name_ = ""; /** - * - * *
    * Required. The issue model to deploy.
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ @java.lang.Override @@ -90,31 +65,29 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** - * - * *
    * Required. The issue model to deploy.
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -123,7 +96,6 @@ public com.google.protobuf.ByteString getNameBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -135,7 +107,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -159,15 +132,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.contactcenterinsights.v1.DeployIssueModelRequest)) { return super.equals(obj); } - com.google.cloud.contactcenterinsights.v1.DeployIssueModelRequest other = - (com.google.cloud.contactcenterinsights.v1.DeployIssueModelRequest) obj; + com.google.cloud.contactcenterinsights.v1.DeployIssueModelRequest other = (com.google.cloud.contactcenterinsights.v1.DeployIssueModelRequest) obj; - if (!getName().equals(other.getName())) return false; + if (!getName() + .equals(other.getName())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -187,138 +160,129 @@ public int hashCode() { } public static com.google.cloud.contactcenterinsights.v1.DeployIssueModelRequest parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.contactcenterinsights.v1.DeployIssueModelRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.contactcenterinsights.v1.DeployIssueModelRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.contactcenterinsights.v1.DeployIssueModelRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.contactcenterinsights.v1.DeployIssueModelRequest parseFrom( - byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.contactcenterinsights.v1.DeployIssueModelRequest parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.contactcenterinsights.v1.DeployIssueModelRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.contactcenterinsights.v1.DeployIssueModelRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.contactcenterinsights.v1.DeployIssueModelRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.contactcenterinsights.v1.DeployIssueModelRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.contactcenterinsights.v1.DeployIssueModelRequest - parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.contactcenterinsights.v1.DeployIssueModelRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - - public static com.google.cloud.contactcenterinsights.v1.DeployIssueModelRequest - parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + public static com.google.cloud.contactcenterinsights.v1.DeployIssueModelRequest parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.contactcenterinsights.v1.DeployIssueModelRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.contactcenterinsights.v1.DeployIssueModelRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.contactcenterinsights.v1.DeployIssueModelRequest prototype) { + public static Builder newBuilder(com.google.cloud.contactcenterinsights.v1.DeployIssueModelRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * The request to deploy an issue model.
    * 
* * Protobuf type {@code google.cloud.contactcenterinsights.v1.DeployIssueModelRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.contactcenterinsights.v1.DeployIssueModelRequest) com.google.cloud.contactcenterinsights.v1.DeployIssueModelRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto - .internal_static_google_cloud_contactcenterinsights_v1_DeployIssueModelRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto.internal_static_google_cloud_contactcenterinsights_v1_DeployIssueModelRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto - .internal_static_google_cloud_contactcenterinsights_v1_DeployIssueModelRequest_fieldAccessorTable + return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto.internal_static_google_cloud_contactcenterinsights_v1_DeployIssueModelRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.contactcenterinsights.v1.DeployIssueModelRequest.class, - com.google.cloud.contactcenterinsights.v1.DeployIssueModelRequest.Builder.class); + com.google.cloud.contactcenterinsights.v1.DeployIssueModelRequest.class, com.google.cloud.contactcenterinsights.v1.DeployIssueModelRequest.Builder.class); } - // Construct using - // com.google.cloud.contactcenterinsights.v1.DeployIssueModelRequest.newBuilder() - private Builder() {} + // Construct using com.google.cloud.contactcenterinsights.v1.DeployIssueModelRequest.newBuilder() + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -328,14 +292,13 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto - .internal_static_google_cloud_contactcenterinsights_v1_DeployIssueModelRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto.internal_static_google_cloud_contactcenterinsights_v1_DeployIssueModelRequest_descriptor; } @java.lang.Override - public com.google.cloud.contactcenterinsights.v1.DeployIssueModelRequest - getDefaultInstanceForType() { + public com.google.cloud.contactcenterinsights.v1.DeployIssueModelRequest getDefaultInstanceForType() { return com.google.cloud.contactcenterinsights.v1.DeployIssueModelRequest.getDefaultInstance(); } @@ -350,17 +313,13 @@ public com.google.cloud.contactcenterinsights.v1.DeployIssueModelRequest build() @java.lang.Override public com.google.cloud.contactcenterinsights.v1.DeployIssueModelRequest buildPartial() { - com.google.cloud.contactcenterinsights.v1.DeployIssueModelRequest result = - new com.google.cloud.contactcenterinsights.v1.DeployIssueModelRequest(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + com.google.cloud.contactcenterinsights.v1.DeployIssueModelRequest result = new com.google.cloud.contactcenterinsights.v1.DeployIssueModelRequest(this); + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } - private void buildPartial0( - com.google.cloud.contactcenterinsights.v1.DeployIssueModelRequest result) { + private void buildPartial0(com.google.cloud.contactcenterinsights.v1.DeployIssueModelRequest result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { result.name_ = name_; @@ -371,50 +330,46 @@ private void buildPartial0( public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.contactcenterinsights.v1.DeployIssueModelRequest) { - return mergeFrom((com.google.cloud.contactcenterinsights.v1.DeployIssueModelRequest) other); + return mergeFrom((com.google.cloud.contactcenterinsights.v1.DeployIssueModelRequest)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom( - com.google.cloud.contactcenterinsights.v1.DeployIssueModelRequest other) { - if (other - == com.google.cloud.contactcenterinsights.v1.DeployIssueModelRequest.getDefaultInstance()) - return this; + public Builder mergeFrom(com.google.cloud.contactcenterinsights.v1.DeployIssueModelRequest other) { + if (other == com.google.cloud.contactcenterinsights.v1.DeployIssueModelRequest.getDefaultInstance()) return this; if (!other.getName().isEmpty()) { name_ = other.name_; bitField0_ |= 0x00000001; @@ -446,19 +401,17 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - name_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + name_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -468,27 +421,22 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private java.lang.Object name_ = ""; /** - * - * *
      * Required. The issue model to deploy.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -497,23 +445,20 @@ public java.lang.String getName() { } } /** - * - * *
      * Required. The issue model to deploy.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -521,39 +466,28 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * Required. The issue model to deploy.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The name to set. * @return This builder for chaining. */ - public Builder setName(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setName( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } name_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
      * Required. The issue model to deploy.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearName() { @@ -563,32 +497,26 @@ public Builder clearName() { return this; } /** - * - * *
      * Required. The issue model to deploy.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setNameBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); name_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -598,43 +526,41 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.contactcenterinsights.v1.DeployIssueModelRequest) } // @@protoc_insertion_point(class_scope:google.cloud.contactcenterinsights.v1.DeployIssueModelRequest) - private static final com.google.cloud.contactcenterinsights.v1.DeployIssueModelRequest - DEFAULT_INSTANCE; - + private static final com.google.cloud.contactcenterinsights.v1.DeployIssueModelRequest DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.cloud.contactcenterinsights.v1.DeployIssueModelRequest(); } - public static com.google.cloud.contactcenterinsights.v1.DeployIssueModelRequest - getDefaultInstance() { + public static com.google.cloud.contactcenterinsights.v1.DeployIssueModelRequest getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public DeployIssueModelRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public DeployIssueModelRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -646,8 +572,9 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.cloud.contactcenterinsights.v1.DeployIssueModelRequest - getDefaultInstanceForType() { + public com.google.cloud.contactcenterinsights.v1.DeployIssueModelRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/DeployIssueModelRequestOrBuilder.java b/owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/DeployIssueModelRequestOrBuilder.java new file mode 100644 index 000000000000..2e51a4defb40 --- /dev/null +++ b/owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/DeployIssueModelRequestOrBuilder.java @@ -0,0 +1,29 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/contactcenterinsights/v1/contact_center_insights.proto + +package com.google.cloud.contactcenterinsights.v1; + +public interface DeployIssueModelRequestOrBuilder extends + // @@protoc_insertion_point(interface_extends:google.cloud.contactcenterinsights.v1.DeployIssueModelRequest) + com.google.protobuf.MessageOrBuilder { + + /** + *
+   * Required. The issue model to deploy.
+   * 
+ * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The name. + */ + java.lang.String getName(); + /** + *
+   * Required. The issue model to deploy.
+   * 
+ * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The bytes for name. + */ + com.google.protobuf.ByteString + getNameBytes(); +} diff --git a/java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/DeployIssueModelResponse.java b/owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/DeployIssueModelResponse.java similarity index 58% rename from java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/DeployIssueModelResponse.java rename to owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/DeployIssueModelResponse.java index ae8c0ed57a84..bb2bf65265fc 100644 --- a/java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/DeployIssueModelResponse.java +++ b/owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/DeployIssueModelResponse.java @@ -1,72 +1,53 @@ -/* - * 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. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/contactcenterinsights/v1/contact_center_insights.proto package com.google.cloud.contactcenterinsights.v1; /** - * - * *
  * The response to deploy an issue model.
  * 
* * Protobuf type {@code google.cloud.contactcenterinsights.v1.DeployIssueModelResponse} */ -public final class DeployIssueModelResponse extends com.google.protobuf.GeneratedMessageV3 - implements +public final class DeployIssueModelResponse extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.contactcenterinsights.v1.DeployIssueModelResponse) DeployIssueModelResponseOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use DeployIssueModelResponse.newBuilder() to construct. private DeployIssueModelResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - - private DeployIssueModelResponse() {} + private DeployIssueModelResponse() { + } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new DeployIssueModelResponse(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto - .internal_static_google_cloud_contactcenterinsights_v1_DeployIssueModelResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto.internal_static_google_cloud_contactcenterinsights_v1_DeployIssueModelResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto - .internal_static_google_cloud_contactcenterinsights_v1_DeployIssueModelResponse_fieldAccessorTable + return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto.internal_static_google_cloud_contactcenterinsights_v1_DeployIssueModelResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.contactcenterinsights.v1.DeployIssueModelResponse.class, - com.google.cloud.contactcenterinsights.v1.DeployIssueModelResponse.Builder.class); + com.google.cloud.contactcenterinsights.v1.DeployIssueModelResponse.class, com.google.cloud.contactcenterinsights.v1.DeployIssueModelResponse.Builder.class); } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -78,7 +59,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { getUnknownFields().writeTo(output); } @@ -96,13 +78,12 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.contactcenterinsights.v1.DeployIssueModelResponse)) { return super.equals(obj); } - com.google.cloud.contactcenterinsights.v1.DeployIssueModelResponse other = - (com.google.cloud.contactcenterinsights.v1.DeployIssueModelResponse) obj; + com.google.cloud.contactcenterinsights.v1.DeployIssueModelResponse other = (com.google.cloud.contactcenterinsights.v1.DeployIssueModelResponse) obj; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -121,138 +102,129 @@ public int hashCode() { } public static com.google.cloud.contactcenterinsights.v1.DeployIssueModelResponse parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.contactcenterinsights.v1.DeployIssueModelResponse parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.contactcenterinsights.v1.DeployIssueModelResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.contactcenterinsights.v1.DeployIssueModelResponse parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.contactcenterinsights.v1.DeployIssueModelResponse parseFrom( - byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.contactcenterinsights.v1.DeployIssueModelResponse parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.contactcenterinsights.v1.DeployIssueModelResponse parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.contactcenterinsights.v1.DeployIssueModelResponse parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.contactcenterinsights.v1.DeployIssueModelResponse parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.contactcenterinsights.v1.DeployIssueModelResponse parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.contactcenterinsights.v1.DeployIssueModelResponse - parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.contactcenterinsights.v1.DeployIssueModelResponse parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - - public static com.google.cloud.contactcenterinsights.v1.DeployIssueModelResponse - parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + public static com.google.cloud.contactcenterinsights.v1.DeployIssueModelResponse parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.contactcenterinsights.v1.DeployIssueModelResponse parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.contactcenterinsights.v1.DeployIssueModelResponse parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.contactcenterinsights.v1.DeployIssueModelResponse prototype) { + public static Builder newBuilder(com.google.cloud.contactcenterinsights.v1.DeployIssueModelResponse prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * The response to deploy an issue model.
    * 
* * Protobuf type {@code google.cloud.contactcenterinsights.v1.DeployIssueModelResponse} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.contactcenterinsights.v1.DeployIssueModelResponse) com.google.cloud.contactcenterinsights.v1.DeployIssueModelResponseOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto - .internal_static_google_cloud_contactcenterinsights_v1_DeployIssueModelResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto.internal_static_google_cloud_contactcenterinsights_v1_DeployIssueModelResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto - .internal_static_google_cloud_contactcenterinsights_v1_DeployIssueModelResponse_fieldAccessorTable + return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto.internal_static_google_cloud_contactcenterinsights_v1_DeployIssueModelResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.contactcenterinsights.v1.DeployIssueModelResponse.class, - com.google.cloud.contactcenterinsights.v1.DeployIssueModelResponse.Builder.class); + com.google.cloud.contactcenterinsights.v1.DeployIssueModelResponse.class, com.google.cloud.contactcenterinsights.v1.DeployIssueModelResponse.Builder.class); } - // Construct using - // com.google.cloud.contactcenterinsights.v1.DeployIssueModelResponse.newBuilder() - private Builder() {} + // Construct using com.google.cloud.contactcenterinsights.v1.DeployIssueModelResponse.newBuilder() + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -260,16 +232,14 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto - .internal_static_google_cloud_contactcenterinsights_v1_DeployIssueModelResponse_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto.internal_static_google_cloud_contactcenterinsights_v1_DeployIssueModelResponse_descriptor; } @java.lang.Override - public com.google.cloud.contactcenterinsights.v1.DeployIssueModelResponse - getDefaultInstanceForType() { - return com.google.cloud.contactcenterinsights.v1.DeployIssueModelResponse - .getDefaultInstance(); + public com.google.cloud.contactcenterinsights.v1.DeployIssueModelResponse getDefaultInstanceForType() { + return com.google.cloud.contactcenterinsights.v1.DeployIssueModelResponse.getDefaultInstance(); } @java.lang.Override @@ -283,8 +253,7 @@ public com.google.cloud.contactcenterinsights.v1.DeployIssueModelResponse build( @java.lang.Override public com.google.cloud.contactcenterinsights.v1.DeployIssueModelResponse buildPartial() { - com.google.cloud.contactcenterinsights.v1.DeployIssueModelResponse result = - new com.google.cloud.contactcenterinsights.v1.DeployIssueModelResponse(this); + com.google.cloud.contactcenterinsights.v1.DeployIssueModelResponse result = new com.google.cloud.contactcenterinsights.v1.DeployIssueModelResponse(this); onBuilt(); return result; } @@ -293,51 +262,46 @@ public com.google.cloud.contactcenterinsights.v1.DeployIssueModelResponse buildP public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.contactcenterinsights.v1.DeployIssueModelResponse) { - return mergeFrom( - (com.google.cloud.contactcenterinsights.v1.DeployIssueModelResponse) other); + return mergeFrom((com.google.cloud.contactcenterinsights.v1.DeployIssueModelResponse)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom( - com.google.cloud.contactcenterinsights.v1.DeployIssueModelResponse other) { - if (other - == com.google.cloud.contactcenterinsights.v1.DeployIssueModelResponse - .getDefaultInstance()) return this; + public Builder mergeFrom(com.google.cloud.contactcenterinsights.v1.DeployIssueModelResponse other) { + if (other == com.google.cloud.contactcenterinsights.v1.DeployIssueModelResponse.getDefaultInstance()) return this; this.mergeUnknownFields(other.getUnknownFields()); onChanged(); return this; @@ -364,13 +328,12 @@ public Builder mergeFrom( case 0: done = true; break; - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -380,9 +343,9 @@ public Builder mergeFrom( } // finally return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -392,43 +355,41 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.contactcenterinsights.v1.DeployIssueModelResponse) } // @@protoc_insertion_point(class_scope:google.cloud.contactcenterinsights.v1.DeployIssueModelResponse) - private static final com.google.cloud.contactcenterinsights.v1.DeployIssueModelResponse - DEFAULT_INSTANCE; - + private static final com.google.cloud.contactcenterinsights.v1.DeployIssueModelResponse DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.cloud.contactcenterinsights.v1.DeployIssueModelResponse(); } - public static com.google.cloud.contactcenterinsights.v1.DeployIssueModelResponse - getDefaultInstance() { + public static com.google.cloud.contactcenterinsights.v1.DeployIssueModelResponse getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public DeployIssueModelResponse parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public DeployIssueModelResponse parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -440,8 +401,9 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.cloud.contactcenterinsights.v1.DeployIssueModelResponse - getDefaultInstanceForType() { + public com.google.cloud.contactcenterinsights.v1.DeployIssueModelResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/DeployIssueModelResponseOrBuilder.java b/owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/DeployIssueModelResponseOrBuilder.java new file mode 100644 index 000000000000..206c8adc47c9 --- /dev/null +++ b/owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/DeployIssueModelResponseOrBuilder.java @@ -0,0 +1,9 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/contactcenterinsights/v1/contact_center_insights.proto + +package com.google.cloud.contactcenterinsights.v1; + +public interface DeployIssueModelResponseOrBuilder extends + // @@protoc_insertion_point(interface_extends:google.cloud.contactcenterinsights.v1.DeployIssueModelResponse) + com.google.protobuf.MessageOrBuilder { +} diff --git a/java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/DialogflowIntent.java b/owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/DialogflowIntent.java similarity index 66% rename from java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/DialogflowIntent.java rename to owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/DialogflowIntent.java index 533596bc9d48..7495b689b982 100644 --- a/java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/DialogflowIntent.java +++ b/owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/DialogflowIntent.java @@ -1,26 +1,9 @@ -/* - * 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. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/contactcenterinsights/v1/resources.proto package com.google.cloud.contactcenterinsights.v1; /** - * - * *
  * The data for a Dialogflow intent.
  * Represents a detected intent in the conversation, e.g. MAKES_PROMISE.
@@ -28,59 +11,53 @@
  *
  * Protobuf type {@code google.cloud.contactcenterinsights.v1.DialogflowIntent}
  */
-public final class DialogflowIntent extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class DialogflowIntent extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.cloud.contactcenterinsights.v1.DialogflowIntent)
     DialogflowIntentOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use DialogflowIntent.newBuilder() to construct.
   private DialogflowIntent(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
   private DialogflowIntent() {
     displayName_ = "";
   }
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new DialogflowIntent();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet
+  getUnknownFields() {
     return this.unknownFields;
   }
-
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.cloud.contactcenterinsights.v1.ResourcesProto
-        .internal_static_google_cloud_contactcenterinsights_v1_DialogflowIntent_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.cloud.contactcenterinsights.v1.ResourcesProto.internal_static_google_cloud_contactcenterinsights_v1_DialogflowIntent_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.contactcenterinsights.v1.ResourcesProto
-        .internal_static_google_cloud_contactcenterinsights_v1_DialogflowIntent_fieldAccessorTable
+    return com.google.cloud.contactcenterinsights.v1.ResourcesProto.internal_static_google_cloud_contactcenterinsights_v1_DialogflowIntent_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.contactcenterinsights.v1.DialogflowIntent.class,
-            com.google.cloud.contactcenterinsights.v1.DialogflowIntent.Builder.class);
+            com.google.cloud.contactcenterinsights.v1.DialogflowIntent.class, com.google.cloud.contactcenterinsights.v1.DialogflowIntent.Builder.class);
   }
 
   public static final int DISPLAY_NAME_FIELD_NUMBER = 1;
-
   @SuppressWarnings("serial")
   private volatile java.lang.Object displayName_ = "";
   /**
-   *
-   *
    * 
    * The human-readable name of the intent.
    * 
* * string display_name = 1; - * * @return The displayName. */ @java.lang.Override @@ -89,29 +66,29 @@ public java.lang.String getDisplayName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); displayName_ = s; return s; } } /** - * - * *
    * The human-readable name of the intent.
    * 
* * string display_name = 1; - * * @return The bytes for displayName. */ @java.lang.Override - public com.google.protobuf.ByteString getDisplayNameBytes() { + public com.google.protobuf.ByteString + getDisplayNameBytes() { java.lang.Object ref = displayName_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); displayName_ = b; return b; } else { @@ -120,7 +97,6 @@ public com.google.protobuf.ByteString getDisplayNameBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -132,7 +108,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(displayName_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, displayName_); } @@ -156,15 +133,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.contactcenterinsights.v1.DialogflowIntent)) { return super.equals(obj); } - com.google.cloud.contactcenterinsights.v1.DialogflowIntent other = - (com.google.cloud.contactcenterinsights.v1.DialogflowIntent) obj; + com.google.cloud.contactcenterinsights.v1.DialogflowIntent other = (com.google.cloud.contactcenterinsights.v1.DialogflowIntent) obj; - if (!getDisplayName().equals(other.getDisplayName())) return false; + if (!getDisplayName() + .equals(other.getDisplayName())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -184,104 +161,96 @@ public int hashCode() { } public static com.google.cloud.contactcenterinsights.v1.DialogflowIntent parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.contactcenterinsights.v1.DialogflowIntent parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.contactcenterinsights.v1.DialogflowIntent parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.contactcenterinsights.v1.DialogflowIntent parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.contactcenterinsights.v1.DialogflowIntent parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.contactcenterinsights.v1.DialogflowIntent parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.contactcenterinsights.v1.DialogflowIntent parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.contactcenterinsights.v1.DialogflowIntent parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.contactcenterinsights.v1.DialogflowIntent parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.contactcenterinsights.v1.DialogflowIntent parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.contactcenterinsights.v1.DialogflowIntent parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.contactcenterinsights.v1.DialogflowIntent parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.contactcenterinsights.v1.DialogflowIntent parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.contactcenterinsights.v1.DialogflowIntent parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.contactcenterinsights.v1.DialogflowIntent prototype) { + public static Builder newBuilder(com.google.cloud.contactcenterinsights.v1.DialogflowIntent prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * The data for a Dialogflow intent.
    * Represents a detected intent in the conversation, e.g. MAKES_PROMISE.
@@ -289,32 +258,33 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.cloud.contactcenterinsights.v1.DialogflowIntent}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.cloud.contactcenterinsights.v1.DialogflowIntent)
       com.google.cloud.contactcenterinsights.v1.DialogflowIntentOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.cloud.contactcenterinsights.v1.ResourcesProto
-          .internal_static_google_cloud_contactcenterinsights_v1_DialogflowIntent_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.cloud.contactcenterinsights.v1.ResourcesProto.internal_static_google_cloud_contactcenterinsights_v1_DialogflowIntent_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.contactcenterinsights.v1.ResourcesProto
-          .internal_static_google_cloud_contactcenterinsights_v1_DialogflowIntent_fieldAccessorTable
+      return com.google.cloud.contactcenterinsights.v1.ResourcesProto.internal_static_google_cloud_contactcenterinsights_v1_DialogflowIntent_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.contactcenterinsights.v1.DialogflowIntent.class,
-              com.google.cloud.contactcenterinsights.v1.DialogflowIntent.Builder.class);
+              com.google.cloud.contactcenterinsights.v1.DialogflowIntent.class, com.google.cloud.contactcenterinsights.v1.DialogflowIntent.Builder.class);
     }
 
     // Construct using com.google.cloud.contactcenterinsights.v1.DialogflowIntent.newBuilder()
-    private Builder() {}
+    private Builder() {
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
-      super(parent);
     }
 
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+      super(parent);
+
+    }
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -324,9 +294,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.cloud.contactcenterinsights.v1.ResourcesProto
-          .internal_static_google_cloud_contactcenterinsights_v1_DialogflowIntent_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.cloud.contactcenterinsights.v1.ResourcesProto.internal_static_google_cloud_contactcenterinsights_v1_DialogflowIntent_descriptor;
     }
 
     @java.lang.Override
@@ -345,11 +315,8 @@ public com.google.cloud.contactcenterinsights.v1.DialogflowIntent build() {
 
     @java.lang.Override
     public com.google.cloud.contactcenterinsights.v1.DialogflowIntent buildPartial() {
-      com.google.cloud.contactcenterinsights.v1.DialogflowIntent result =
-          new com.google.cloud.contactcenterinsights.v1.DialogflowIntent(this);
-      if (bitField0_ != 0) {
-        buildPartial0(result);
-      }
+      com.google.cloud.contactcenterinsights.v1.DialogflowIntent result = new com.google.cloud.contactcenterinsights.v1.DialogflowIntent(this);
+      if (bitField0_ != 0) { buildPartial0(result); }
       onBuilt();
       return result;
     }
@@ -365,39 +332,38 @@ private void buildPartial0(com.google.cloud.contactcenterinsights.v1.DialogflowI
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
-
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.cloud.contactcenterinsights.v1.DialogflowIntent) {
-        return mergeFrom((com.google.cloud.contactcenterinsights.v1.DialogflowIntent) other);
+        return mergeFrom((com.google.cloud.contactcenterinsights.v1.DialogflowIntent)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -405,8 +371,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.cloud.contactcenterinsights.v1.DialogflowIntent other) {
-      if (other == com.google.cloud.contactcenterinsights.v1.DialogflowIntent.getDefaultInstance())
-        return this;
+      if (other == com.google.cloud.contactcenterinsights.v1.DialogflowIntent.getDefaultInstance()) return this;
       if (!other.getDisplayName().isEmpty()) {
         displayName_ = other.displayName_;
         bitField0_ |= 0x00000001;
@@ -438,19 +403,17 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10:
-              {
-                displayName_ = input.readStringRequireUtf8();
-                bitField0_ |= 0x00000001;
-                break;
-              } // case 10
-            default:
-              {
-                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                  done = true; // was an endgroup tag
-                }
-                break;
-              } // default:
+            case 10: {
+              displayName_ = input.readStringRequireUtf8();
+              bitField0_ |= 0x00000001;
+              break;
+            } // case 10
+            default: {
+              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                done = true; // was an endgroup tag
+              }
+              break;
+            } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -460,25 +423,22 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
-
     private int bitField0_;
 
     private java.lang.Object displayName_ = "";
     /**
-     *
-     *
      * 
      * The human-readable name of the intent.
      * 
* * string display_name = 1; - * * @return The displayName. */ public java.lang.String getDisplayName() { java.lang.Object ref = displayName_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); displayName_ = s; return s; @@ -487,21 +447,20 @@ public java.lang.String getDisplayName() { } } /** - * - * *
      * The human-readable name of the intent.
      * 
* * string display_name = 1; - * * @return The bytes for displayName. */ - public com.google.protobuf.ByteString getDisplayNameBytes() { + public com.google.protobuf.ByteString + getDisplayNameBytes() { java.lang.Object ref = displayName_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); displayName_ = b; return b; } else { @@ -509,35 +468,28 @@ public com.google.protobuf.ByteString getDisplayNameBytes() { } } /** - * - * *
      * The human-readable name of the intent.
      * 
* * string display_name = 1; - * * @param value The displayName to set. * @return This builder for chaining. */ - public Builder setDisplayName(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setDisplayName( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } displayName_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
      * The human-readable name of the intent.
      * 
* * string display_name = 1; - * * @return This builder for chaining. */ public Builder clearDisplayName() { @@ -547,30 +499,26 @@ public Builder clearDisplayName() { return this; } /** - * - * *
      * The human-readable name of the intent.
      * 
* * string display_name = 1; - * * @param value The bytes for displayName to set. * @return This builder for chaining. */ - public Builder setDisplayNameBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setDisplayNameBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); displayName_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -580,12 +528,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.contactcenterinsights.v1.DialogflowIntent) } // @@protoc_insertion_point(class_scope:google.cloud.contactcenterinsights.v1.DialogflowIntent) private static final com.google.cloud.contactcenterinsights.v1.DialogflowIntent DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.contactcenterinsights.v1.DialogflowIntent(); } @@ -594,27 +542,27 @@ public static com.google.cloud.contactcenterinsights.v1.DialogflowIntent getDefa return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public DialogflowIntent parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public DialogflowIntent parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -629,4 +577,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.contactcenterinsights.v1.DialogflowIntent getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/DialogflowIntentOrBuilder.java b/owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/DialogflowIntentOrBuilder.java new file mode 100644 index 000000000000..9978e6a5fd31 --- /dev/null +++ b/owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/DialogflowIntentOrBuilder.java @@ -0,0 +1,29 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/contactcenterinsights/v1/resources.proto + +package com.google.cloud.contactcenterinsights.v1; + +public interface DialogflowIntentOrBuilder extends + // @@protoc_insertion_point(interface_extends:google.cloud.contactcenterinsights.v1.DialogflowIntent) + com.google.protobuf.MessageOrBuilder { + + /** + *
+   * The human-readable name of the intent.
+   * 
+ * + * string display_name = 1; + * @return The displayName. + */ + java.lang.String getDisplayName(); + /** + *
+   * The human-readable name of the intent.
+   * 
+ * + * string display_name = 1; + * @return The bytes for displayName. + */ + com.google.protobuf.ByteString + getDisplayNameBytes(); +} diff --git a/java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/DialogflowInteractionData.java b/owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/DialogflowInteractionData.java similarity index 64% rename from java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/DialogflowInteractionData.java rename to owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/DialogflowInteractionData.java index 0aa507a7396e..08899adab6bc 100644 --- a/java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/DialogflowInteractionData.java +++ b/owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/DialogflowInteractionData.java @@ -1,86 +1,63 @@ -/* - * 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. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/contactcenterinsights/v1/resources.proto package com.google.cloud.contactcenterinsights.v1; /** - * - * *
  * Dialogflow interaction data.
  * 
* * Protobuf type {@code google.cloud.contactcenterinsights.v1.DialogflowInteractionData} */ -public final class DialogflowInteractionData extends com.google.protobuf.GeneratedMessageV3 - implements +public final class DialogflowInteractionData extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.contactcenterinsights.v1.DialogflowInteractionData) DialogflowInteractionDataOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use DialogflowInteractionData.newBuilder() to construct. private DialogflowInteractionData(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private DialogflowInteractionData() { dialogflowIntentId_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new DialogflowInteractionData(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.contactcenterinsights.v1.ResourcesProto - .internal_static_google_cloud_contactcenterinsights_v1_DialogflowInteractionData_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.contactcenterinsights.v1.ResourcesProto.internal_static_google_cloud_contactcenterinsights_v1_DialogflowInteractionData_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.contactcenterinsights.v1.ResourcesProto - .internal_static_google_cloud_contactcenterinsights_v1_DialogflowInteractionData_fieldAccessorTable + return com.google.cloud.contactcenterinsights.v1.ResourcesProto.internal_static_google_cloud_contactcenterinsights_v1_DialogflowInteractionData_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.contactcenterinsights.v1.DialogflowInteractionData.class, - com.google.cloud.contactcenterinsights.v1.DialogflowInteractionData.Builder.class); + com.google.cloud.contactcenterinsights.v1.DialogflowInteractionData.class, com.google.cloud.contactcenterinsights.v1.DialogflowInteractionData.Builder.class); } public static final int DIALOGFLOW_INTENT_ID_FIELD_NUMBER = 1; - @SuppressWarnings("serial") private volatile java.lang.Object dialogflowIntentId_ = ""; /** - * - * *
    * The Dialogflow intent resource path. Format:
    * projects/{project}/agent/{agent}/intents/{intent}
    * 
* * string dialogflow_intent_id = 1; - * * @return The dialogflowIntentId. */ @java.lang.Override @@ -89,30 +66,30 @@ public java.lang.String getDialogflowIntentId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); dialogflowIntentId_ = s; return s; } } /** - * - * *
    * The Dialogflow intent resource path. Format:
    * projects/{project}/agent/{agent}/intents/{intent}
    * 
* * string dialogflow_intent_id = 1; - * * @return The bytes for dialogflowIntentId. */ @java.lang.Override - public com.google.protobuf.ByteString getDialogflowIntentIdBytes() { + public com.google.protobuf.ByteString + getDialogflowIntentIdBytes() { java.lang.Object ref = dialogflowIntentId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); dialogflowIntentId_ = b; return b; } else { @@ -123,15 +100,12 @@ public com.google.protobuf.ByteString getDialogflowIntentIdBytes() { public static final int CONFIDENCE_FIELD_NUMBER = 2; private float confidence_ = 0F; /** - * - * *
    * The confidence of the match ranging from 0.0 (completely uncertain) to 1.0
    * (completely certain).
    * 
* * float confidence = 2; - * * @return The confidence. */ @java.lang.Override @@ -140,7 +114,6 @@ public float getConfidence() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -152,7 +125,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(dialogflowIntentId_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, dialogflowIntentId_); } @@ -172,7 +146,8 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, dialogflowIntentId_); } if (java.lang.Float.floatToRawIntBits(confidence_) != 0) { - size += com.google.protobuf.CodedOutputStream.computeFloatSize(2, confidence_); + size += com.google.protobuf.CodedOutputStream + .computeFloatSize(2, confidence_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -182,17 +157,18 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.contactcenterinsights.v1.DialogflowInteractionData)) { return super.equals(obj); } - com.google.cloud.contactcenterinsights.v1.DialogflowInteractionData other = - (com.google.cloud.contactcenterinsights.v1.DialogflowInteractionData) obj; + com.google.cloud.contactcenterinsights.v1.DialogflowInteractionData other = (com.google.cloud.contactcenterinsights.v1.DialogflowInteractionData) obj; - if (!getDialogflowIntentId().equals(other.getDialogflowIntentId())) return false; + if (!getDialogflowIntentId() + .equals(other.getDialogflowIntentId())) return false; if (java.lang.Float.floatToIntBits(getConfidence()) - != java.lang.Float.floatToIntBits(other.getConfidence())) return false; + != java.lang.Float.floatToIntBits( + other.getConfidence())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -207,145 +183,137 @@ public int hashCode() { hash = (37 * hash) + DIALOGFLOW_INTENT_ID_FIELD_NUMBER; hash = (53 * hash) + getDialogflowIntentId().hashCode(); hash = (37 * hash) + CONFIDENCE_FIELD_NUMBER; - hash = (53 * hash) + java.lang.Float.floatToIntBits(getConfidence()); + hash = (53 * hash) + java.lang.Float.floatToIntBits( + getConfidence()); hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } public static com.google.cloud.contactcenterinsights.v1.DialogflowInteractionData parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.contactcenterinsights.v1.DialogflowInteractionData parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.contactcenterinsights.v1.DialogflowInteractionData parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.contactcenterinsights.v1.DialogflowInteractionData parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.contactcenterinsights.v1.DialogflowInteractionData parseFrom( - byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.contactcenterinsights.v1.DialogflowInteractionData parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.contactcenterinsights.v1.DialogflowInteractionData parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.contactcenterinsights.v1.DialogflowInteractionData parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.contactcenterinsights.v1.DialogflowInteractionData parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.contactcenterinsights.v1.DialogflowInteractionData parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.contactcenterinsights.v1.DialogflowInteractionData - parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.contactcenterinsights.v1.DialogflowInteractionData parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - - public static com.google.cloud.contactcenterinsights.v1.DialogflowInteractionData - parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + public static com.google.cloud.contactcenterinsights.v1.DialogflowInteractionData parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.contactcenterinsights.v1.DialogflowInteractionData parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.contactcenterinsights.v1.DialogflowInteractionData parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.contactcenterinsights.v1.DialogflowInteractionData prototype) { + public static Builder newBuilder(com.google.cloud.contactcenterinsights.v1.DialogflowInteractionData prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Dialogflow interaction data.
    * 
* * Protobuf type {@code google.cloud.contactcenterinsights.v1.DialogflowInteractionData} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.contactcenterinsights.v1.DialogflowInteractionData) com.google.cloud.contactcenterinsights.v1.DialogflowInteractionDataOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.contactcenterinsights.v1.ResourcesProto - .internal_static_google_cloud_contactcenterinsights_v1_DialogflowInteractionData_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.contactcenterinsights.v1.ResourcesProto.internal_static_google_cloud_contactcenterinsights_v1_DialogflowInteractionData_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.contactcenterinsights.v1.ResourcesProto - .internal_static_google_cloud_contactcenterinsights_v1_DialogflowInteractionData_fieldAccessorTable + return com.google.cloud.contactcenterinsights.v1.ResourcesProto.internal_static_google_cloud_contactcenterinsights_v1_DialogflowInteractionData_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.contactcenterinsights.v1.DialogflowInteractionData.class, - com.google.cloud.contactcenterinsights.v1.DialogflowInteractionData.Builder.class); + com.google.cloud.contactcenterinsights.v1.DialogflowInteractionData.class, com.google.cloud.contactcenterinsights.v1.DialogflowInteractionData.Builder.class); } - // Construct using - // com.google.cloud.contactcenterinsights.v1.DialogflowInteractionData.newBuilder() - private Builder() {} + // Construct using com.google.cloud.contactcenterinsights.v1.DialogflowInteractionData.newBuilder() + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -356,16 +324,14 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.contactcenterinsights.v1.ResourcesProto - .internal_static_google_cloud_contactcenterinsights_v1_DialogflowInteractionData_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.contactcenterinsights.v1.ResourcesProto.internal_static_google_cloud_contactcenterinsights_v1_DialogflowInteractionData_descriptor; } @java.lang.Override - public com.google.cloud.contactcenterinsights.v1.DialogflowInteractionData - getDefaultInstanceForType() { - return com.google.cloud.contactcenterinsights.v1.DialogflowInteractionData - .getDefaultInstance(); + public com.google.cloud.contactcenterinsights.v1.DialogflowInteractionData getDefaultInstanceForType() { + return com.google.cloud.contactcenterinsights.v1.DialogflowInteractionData.getDefaultInstance(); } @java.lang.Override @@ -379,17 +345,13 @@ public com.google.cloud.contactcenterinsights.v1.DialogflowInteractionData build @java.lang.Override public com.google.cloud.contactcenterinsights.v1.DialogflowInteractionData buildPartial() { - com.google.cloud.contactcenterinsights.v1.DialogflowInteractionData result = - new com.google.cloud.contactcenterinsights.v1.DialogflowInteractionData(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + com.google.cloud.contactcenterinsights.v1.DialogflowInteractionData result = new com.google.cloud.contactcenterinsights.v1.DialogflowInteractionData(this); + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } - private void buildPartial0( - com.google.cloud.contactcenterinsights.v1.DialogflowInteractionData result) { + private void buildPartial0(com.google.cloud.contactcenterinsights.v1.DialogflowInteractionData result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { result.dialogflowIntentId_ = dialogflowIntentId_; @@ -403,51 +365,46 @@ private void buildPartial0( public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.contactcenterinsights.v1.DialogflowInteractionData) { - return mergeFrom( - (com.google.cloud.contactcenterinsights.v1.DialogflowInteractionData) other); + return mergeFrom((com.google.cloud.contactcenterinsights.v1.DialogflowInteractionData)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom( - com.google.cloud.contactcenterinsights.v1.DialogflowInteractionData other) { - if (other - == com.google.cloud.contactcenterinsights.v1.DialogflowInteractionData - .getDefaultInstance()) return this; + public Builder mergeFrom(com.google.cloud.contactcenterinsights.v1.DialogflowInteractionData other) { + if (other == com.google.cloud.contactcenterinsights.v1.DialogflowInteractionData.getDefaultInstance()) return this; if (!other.getDialogflowIntentId().isEmpty()) { dialogflowIntentId_ = other.dialogflowIntentId_; bitField0_ |= 0x00000001; @@ -482,25 +439,22 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - dialogflowIntentId_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 21: - { - confidence_ = input.readFloat(); - bitField0_ |= 0x00000002; - break; - } // case 21 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + dialogflowIntentId_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 21: { + confidence_ = input.readFloat(); + bitField0_ |= 0x00000002; + break; + } // case 21 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -510,26 +464,23 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private java.lang.Object dialogflowIntentId_ = ""; /** - * - * *
      * The Dialogflow intent resource path. Format:
      * projects/{project}/agent/{agent}/intents/{intent}
      * 
* * string dialogflow_intent_id = 1; - * * @return The dialogflowIntentId. */ public java.lang.String getDialogflowIntentId() { java.lang.Object ref = dialogflowIntentId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); dialogflowIntentId_ = s; return s; @@ -538,22 +489,21 @@ public java.lang.String getDialogflowIntentId() { } } /** - * - * *
      * The Dialogflow intent resource path. Format:
      * projects/{project}/agent/{agent}/intents/{intent}
      * 
* * string dialogflow_intent_id = 1; - * * @return The bytes for dialogflowIntentId. */ - public com.google.protobuf.ByteString getDialogflowIntentIdBytes() { + public com.google.protobuf.ByteString + getDialogflowIntentIdBytes() { java.lang.Object ref = dialogflowIntentId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); dialogflowIntentId_ = b; return b; } else { @@ -561,37 +511,30 @@ public com.google.protobuf.ByteString getDialogflowIntentIdBytes() { } } /** - * - * *
      * The Dialogflow intent resource path. Format:
      * projects/{project}/agent/{agent}/intents/{intent}
      * 
* * string dialogflow_intent_id = 1; - * * @param value The dialogflowIntentId to set. * @return This builder for chaining. */ - public Builder setDialogflowIntentId(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setDialogflowIntentId( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } dialogflowIntentId_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
      * The Dialogflow intent resource path. Format:
      * projects/{project}/agent/{agent}/intents/{intent}
      * 
* * string dialogflow_intent_id = 1; - * * @return This builder for chaining. */ public Builder clearDialogflowIntentId() { @@ -601,22 +544,18 @@ public Builder clearDialogflowIntentId() { return this; } /** - * - * *
      * The Dialogflow intent resource path. Format:
      * projects/{project}/agent/{agent}/intents/{intent}
      * 
* * string dialogflow_intent_id = 1; - * * @param value The bytes for dialogflowIntentId to set. * @return This builder for chaining. */ - public Builder setDialogflowIntentIdBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setDialogflowIntentIdBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); dialogflowIntentId_ = value; bitField0_ |= 0x00000001; @@ -624,17 +563,14 @@ public Builder setDialogflowIntentIdBytes(com.google.protobuf.ByteString value) return this; } - private float confidence_; + private float confidence_ ; /** - * - * *
      * The confidence of the match ranging from 0.0 (completely uncertain) to 1.0
      * (completely certain).
      * 
* * float confidence = 2; - * * @return The confidence. */ @java.lang.Override @@ -642,35 +578,29 @@ public float getConfidence() { return confidence_; } /** - * - * *
      * The confidence of the match ranging from 0.0 (completely uncertain) to 1.0
      * (completely certain).
      * 
* * float confidence = 2; - * * @param value The confidence to set. * @return This builder for chaining. */ public Builder setConfidence(float value) { - + confidence_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** - * - * *
      * The confidence of the match ranging from 0.0 (completely uncertain) to 1.0
      * (completely certain).
      * 
* * float confidence = 2; - * * @return This builder for chaining. */ public Builder clearConfidence() { @@ -679,9 +609,9 @@ public Builder clearConfidence() { onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -691,43 +621,41 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.contactcenterinsights.v1.DialogflowInteractionData) } // @@protoc_insertion_point(class_scope:google.cloud.contactcenterinsights.v1.DialogflowInteractionData) - private static final com.google.cloud.contactcenterinsights.v1.DialogflowInteractionData - DEFAULT_INSTANCE; - + private static final com.google.cloud.contactcenterinsights.v1.DialogflowInteractionData DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.cloud.contactcenterinsights.v1.DialogflowInteractionData(); } - public static com.google.cloud.contactcenterinsights.v1.DialogflowInteractionData - getDefaultInstance() { + public static com.google.cloud.contactcenterinsights.v1.DialogflowInteractionData getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public DialogflowInteractionData parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public DialogflowInteractionData parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -739,8 +667,9 @@ public com.google.protobuf.Parser getParserForType() } @java.lang.Override - public com.google.cloud.contactcenterinsights.v1.DialogflowInteractionData - getDefaultInstanceForType() { + public com.google.cloud.contactcenterinsights.v1.DialogflowInteractionData getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/DialogflowInteractionDataOrBuilder.java b/owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/DialogflowInteractionDataOrBuilder.java similarity index 58% rename from java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/DialogflowInteractionDataOrBuilder.java rename to owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/DialogflowInteractionDataOrBuilder.java index d6217d5d6e4d..7a5fc37edab0 100644 --- a/java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/DialogflowInteractionDataOrBuilder.java +++ b/owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/DialogflowInteractionDataOrBuilder.java @@ -1,65 +1,41 @@ -/* - * 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. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/contactcenterinsights/v1/resources.proto package com.google.cloud.contactcenterinsights.v1; -public interface DialogflowInteractionDataOrBuilder - extends +public interface DialogflowInteractionDataOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.contactcenterinsights.v1.DialogflowInteractionData) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * The Dialogflow intent resource path. Format:
    * projects/{project}/agent/{agent}/intents/{intent}
    * 
* * string dialogflow_intent_id = 1; - * * @return The dialogflowIntentId. */ java.lang.String getDialogflowIntentId(); /** - * - * *
    * The Dialogflow intent resource path. Format:
    * projects/{project}/agent/{agent}/intents/{intent}
    * 
* * string dialogflow_intent_id = 1; - * * @return The bytes for dialogflowIntentId. */ - com.google.protobuf.ByteString getDialogflowIntentIdBytes(); + com.google.protobuf.ByteString + getDialogflowIntentIdBytes(); /** - * - * *
    * The confidence of the match ranging from 0.0 (completely uncertain) to 1.0
    * (completely certain).
    * 
* * float confidence = 2; - * * @return The confidence. */ float getConfidence(); diff --git a/java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/DialogflowSource.java b/owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/DialogflowSource.java similarity index 70% rename from java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/DialogflowSource.java rename to owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/DialogflowSource.java index dbaf772886f8..7d3c4142e45e 100644 --- a/java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/DialogflowSource.java +++ b/owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/DialogflowSource.java @@ -1,42 +1,24 @@ -/* - * 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. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/contactcenterinsights/v1/resources.proto package com.google.cloud.contactcenterinsights.v1; /** - * - * *
  * A Dialogflow source of conversation data.
  * 
* * Protobuf type {@code google.cloud.contactcenterinsights.v1.DialogflowSource} */ -public final class DialogflowSource extends com.google.protobuf.GeneratedMessageV3 - implements +public final class DialogflowSource extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.contactcenterinsights.v1.DialogflowSource) DialogflowSourceOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use DialogflowSource.newBuilder() to construct. private DialogflowSource(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private DialogflowSource() { dialogflowConversation_ = ""; audioUri_ = ""; @@ -44,37 +26,33 @@ private DialogflowSource() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new DialogflowSource(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.contactcenterinsights.v1.ResourcesProto - .internal_static_google_cloud_contactcenterinsights_v1_DialogflowSource_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.contactcenterinsights.v1.ResourcesProto.internal_static_google_cloud_contactcenterinsights_v1_DialogflowSource_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.contactcenterinsights.v1.ResourcesProto - .internal_static_google_cloud_contactcenterinsights_v1_DialogflowSource_fieldAccessorTable + return com.google.cloud.contactcenterinsights.v1.ResourcesProto.internal_static_google_cloud_contactcenterinsights_v1_DialogflowSource_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.contactcenterinsights.v1.DialogflowSource.class, - com.google.cloud.contactcenterinsights.v1.DialogflowSource.Builder.class); + com.google.cloud.contactcenterinsights.v1.DialogflowSource.class, com.google.cloud.contactcenterinsights.v1.DialogflowSource.Builder.class); } public static final int DIALOGFLOW_CONVERSATION_FIELD_NUMBER = 1; - @SuppressWarnings("serial") private volatile java.lang.Object dialogflowConversation_ = ""; /** - * - * *
    * Output only. The name of the Dialogflow conversation that this conversation
    * resource is derived from. Format:
@@ -82,7 +60,6 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
    * 
* * string dialogflow_conversation = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The dialogflowConversation. */ @java.lang.Override @@ -91,15 +68,14 @@ public java.lang.String getDialogflowConversation() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); dialogflowConversation_ = s; return s; } } /** - * - * *
    * Output only. The name of the Dialogflow conversation that this conversation
    * resource is derived from. Format:
@@ -107,15 +83,16 @@ public java.lang.String getDialogflowConversation() {
    * 
* * string dialogflow_conversation = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for dialogflowConversation. */ @java.lang.Override - public com.google.protobuf.ByteString getDialogflowConversationBytes() { + public com.google.protobuf.ByteString + getDialogflowConversationBytes() { java.lang.Object ref = dialogflowConversation_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); dialogflowConversation_ = b; return b; } else { @@ -124,19 +101,15 @@ public com.google.protobuf.ByteString getDialogflowConversationBytes() { } public static final int AUDIO_URI_FIELD_NUMBER = 3; - @SuppressWarnings("serial") private volatile java.lang.Object audioUri_ = ""; /** - * - * *
    * Cloud Storage URI that points to a file that contains the conversation
    * audio.
    * 
* * string audio_uri = 3; - * * @return The audioUri. */ @java.lang.Override @@ -145,30 +118,30 @@ public java.lang.String getAudioUri() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); audioUri_ = s; return s; } } /** - * - * *
    * Cloud Storage URI that points to a file that contains the conversation
    * audio.
    * 
* * string audio_uri = 3; - * * @return The bytes for audioUri. */ @java.lang.Override - public com.google.protobuf.ByteString getAudioUriBytes() { + public com.google.protobuf.ByteString + getAudioUriBytes() { java.lang.Object ref = audioUri_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); audioUri_ = b; return b; } else { @@ -177,7 +150,6 @@ public com.google.protobuf.ByteString getAudioUriBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -189,7 +161,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(dialogflowConversation_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, dialogflowConversation_); } @@ -219,16 +192,17 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.contactcenterinsights.v1.DialogflowSource)) { return super.equals(obj); } - com.google.cloud.contactcenterinsights.v1.DialogflowSource other = - (com.google.cloud.contactcenterinsights.v1.DialogflowSource) obj; + com.google.cloud.contactcenterinsights.v1.DialogflowSource other = (com.google.cloud.contactcenterinsights.v1.DialogflowSource) obj; - if (!getDialogflowConversation().equals(other.getDialogflowConversation())) return false; - if (!getAudioUri().equals(other.getAudioUri())) return false; + if (!getDialogflowConversation() + .equals(other.getDialogflowConversation())) return false; + if (!getAudioUri() + .equals(other.getAudioUri())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -250,136 +224,129 @@ public int hashCode() { } public static com.google.cloud.contactcenterinsights.v1.DialogflowSource parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.contactcenterinsights.v1.DialogflowSource parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.contactcenterinsights.v1.DialogflowSource parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.contactcenterinsights.v1.DialogflowSource parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.contactcenterinsights.v1.DialogflowSource parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.contactcenterinsights.v1.DialogflowSource parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.contactcenterinsights.v1.DialogflowSource parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.contactcenterinsights.v1.DialogflowSource parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.contactcenterinsights.v1.DialogflowSource parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.contactcenterinsights.v1.DialogflowSource parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.contactcenterinsights.v1.DialogflowSource parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.contactcenterinsights.v1.DialogflowSource parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.contactcenterinsights.v1.DialogflowSource parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.contactcenterinsights.v1.DialogflowSource parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.contactcenterinsights.v1.DialogflowSource prototype) { + public static Builder newBuilder(com.google.cloud.contactcenterinsights.v1.DialogflowSource prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * A Dialogflow source of conversation data.
    * 
* * Protobuf type {@code google.cloud.contactcenterinsights.v1.DialogflowSource} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.contactcenterinsights.v1.DialogflowSource) com.google.cloud.contactcenterinsights.v1.DialogflowSourceOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.contactcenterinsights.v1.ResourcesProto - .internal_static_google_cloud_contactcenterinsights_v1_DialogflowSource_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.contactcenterinsights.v1.ResourcesProto.internal_static_google_cloud_contactcenterinsights_v1_DialogflowSource_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.contactcenterinsights.v1.ResourcesProto - .internal_static_google_cloud_contactcenterinsights_v1_DialogflowSource_fieldAccessorTable + return com.google.cloud.contactcenterinsights.v1.ResourcesProto.internal_static_google_cloud_contactcenterinsights_v1_DialogflowSource_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.contactcenterinsights.v1.DialogflowSource.class, - com.google.cloud.contactcenterinsights.v1.DialogflowSource.Builder.class); + com.google.cloud.contactcenterinsights.v1.DialogflowSource.class, com.google.cloud.contactcenterinsights.v1.DialogflowSource.Builder.class); } // Construct using com.google.cloud.contactcenterinsights.v1.DialogflowSource.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -390,9 +357,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.contactcenterinsights.v1.ResourcesProto - .internal_static_google_cloud_contactcenterinsights_v1_DialogflowSource_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.contactcenterinsights.v1.ResourcesProto.internal_static_google_cloud_contactcenterinsights_v1_DialogflowSource_descriptor; } @java.lang.Override @@ -411,11 +378,8 @@ public com.google.cloud.contactcenterinsights.v1.DialogflowSource build() { @java.lang.Override public com.google.cloud.contactcenterinsights.v1.DialogflowSource buildPartial() { - com.google.cloud.contactcenterinsights.v1.DialogflowSource result = - new com.google.cloud.contactcenterinsights.v1.DialogflowSource(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + com.google.cloud.contactcenterinsights.v1.DialogflowSource result = new com.google.cloud.contactcenterinsights.v1.DialogflowSource(this); + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } @@ -434,39 +398,38 @@ private void buildPartial0(com.google.cloud.contactcenterinsights.v1.DialogflowS public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.contactcenterinsights.v1.DialogflowSource) { - return mergeFrom((com.google.cloud.contactcenterinsights.v1.DialogflowSource) other); + return mergeFrom((com.google.cloud.contactcenterinsights.v1.DialogflowSource)other); } else { super.mergeFrom(other); return this; @@ -474,8 +437,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.contactcenterinsights.v1.DialogflowSource other) { - if (other == com.google.cloud.contactcenterinsights.v1.DialogflowSource.getDefaultInstance()) - return this; + if (other == com.google.cloud.contactcenterinsights.v1.DialogflowSource.getDefaultInstance()) return this; if (!other.getDialogflowConversation().isEmpty()) { dialogflowConversation_ = other.dialogflowConversation_; bitField0_ |= 0x00000001; @@ -512,25 +474,22 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - dialogflowConversation_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 26: - { - audioUri_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000002; - break; - } // case 26 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + dialogflowConversation_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 26: { + audioUri_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + break; + } // case 26 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -540,13 +499,10 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private java.lang.Object dialogflowConversation_ = ""; /** - * - * *
      * Output only. The name of the Dialogflow conversation that this conversation
      * resource is derived from. Format:
@@ -554,13 +510,13 @@ public Builder mergeFrom(
      * 
* * string dialogflow_conversation = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The dialogflowConversation. */ public java.lang.String getDialogflowConversation() { java.lang.Object ref = dialogflowConversation_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); dialogflowConversation_ = s; return s; @@ -569,8 +525,6 @@ public java.lang.String getDialogflowConversation() { } } /** - * - * *
      * Output only. The name of the Dialogflow conversation that this conversation
      * resource is derived from. Format:
@@ -578,14 +532,15 @@ public java.lang.String getDialogflowConversation() {
      * 
* * string dialogflow_conversation = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for dialogflowConversation. */ - public com.google.protobuf.ByteString getDialogflowConversationBytes() { + public com.google.protobuf.ByteString + getDialogflowConversationBytes() { java.lang.Object ref = dialogflowConversation_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); dialogflowConversation_ = b; return b; } else { @@ -593,8 +548,6 @@ public com.google.protobuf.ByteString getDialogflowConversationBytes() { } } /** - * - * *
      * Output only. The name of the Dialogflow conversation that this conversation
      * resource is derived from. Format:
@@ -602,22 +555,18 @@ public com.google.protobuf.ByteString getDialogflowConversationBytes() {
      * 
* * string dialogflow_conversation = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @param value The dialogflowConversation to set. * @return This builder for chaining. */ - public Builder setDialogflowConversation(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setDialogflowConversation( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } dialogflowConversation_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
      * Output only. The name of the Dialogflow conversation that this conversation
      * resource is derived from. Format:
@@ -625,7 +574,6 @@ public Builder setDialogflowConversation(java.lang.String value) {
      * 
* * string dialogflow_conversation = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return This builder for chaining. */ public Builder clearDialogflowConversation() { @@ -635,8 +583,6 @@ public Builder clearDialogflowConversation() { return this; } /** - * - * *
      * Output only. The name of the Dialogflow conversation that this conversation
      * resource is derived from. Format:
@@ -644,14 +590,12 @@ public Builder clearDialogflowConversation() {
      * 
* * string dialogflow_conversation = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @param value The bytes for dialogflowConversation to set. * @return This builder for chaining. */ - public Builder setDialogflowConversationBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setDialogflowConversationBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); dialogflowConversation_ = value; bitField0_ |= 0x00000001; @@ -661,21 +605,19 @@ public Builder setDialogflowConversationBytes(com.google.protobuf.ByteString val private java.lang.Object audioUri_ = ""; /** - * - * *
      * Cloud Storage URI that points to a file that contains the conversation
      * audio.
      * 
* * string audio_uri = 3; - * * @return The audioUri. */ public java.lang.String getAudioUri() { java.lang.Object ref = audioUri_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); audioUri_ = s; return s; @@ -684,22 +626,21 @@ public java.lang.String getAudioUri() { } } /** - * - * *
      * Cloud Storage URI that points to a file that contains the conversation
      * audio.
      * 
* * string audio_uri = 3; - * * @return The bytes for audioUri. */ - public com.google.protobuf.ByteString getAudioUriBytes() { + public com.google.protobuf.ByteString + getAudioUriBytes() { java.lang.Object ref = audioUri_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); audioUri_ = b; return b; } else { @@ -707,37 +648,30 @@ public com.google.protobuf.ByteString getAudioUriBytes() { } } /** - * - * *
      * Cloud Storage URI that points to a file that contains the conversation
      * audio.
      * 
* * string audio_uri = 3; - * * @param value The audioUri to set. * @return This builder for chaining. */ - public Builder setAudioUri(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setAudioUri( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } audioUri_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** - * - * *
      * Cloud Storage URI that points to a file that contains the conversation
      * audio.
      * 
* * string audio_uri = 3; - * * @return This builder for chaining. */ public Builder clearAudioUri() { @@ -747,31 +681,27 @@ public Builder clearAudioUri() { return this; } /** - * - * *
      * Cloud Storage URI that points to a file that contains the conversation
      * audio.
      * 
* * string audio_uri = 3; - * * @param value The bytes for audioUri to set. * @return This builder for chaining. */ - public Builder setAudioUriBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setAudioUriBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); audioUri_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -781,12 +711,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.contactcenterinsights.v1.DialogflowSource) } // @@protoc_insertion_point(class_scope:google.cloud.contactcenterinsights.v1.DialogflowSource) private static final com.google.cloud.contactcenterinsights.v1.DialogflowSource DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.contactcenterinsights.v1.DialogflowSource(); } @@ -795,27 +725,27 @@ public static com.google.cloud.contactcenterinsights.v1.DialogflowSource getDefa return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public DialogflowSource parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public DialogflowSource parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -830,4 +760,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.contactcenterinsights.v1.DialogflowSource getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/DialogflowSourceOrBuilder.java b/owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/DialogflowSourceOrBuilder.java similarity index 65% rename from java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/DialogflowSourceOrBuilder.java rename to owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/DialogflowSourceOrBuilder.java index 8e3dc711654f..c3429c3d8009 100644 --- a/java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/DialogflowSourceOrBuilder.java +++ b/owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/DialogflowSourceOrBuilder.java @@ -1,31 +1,13 @@ -/* - * 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. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/contactcenterinsights/v1/resources.proto package com.google.cloud.contactcenterinsights.v1; -public interface DialogflowSourceOrBuilder - extends +public interface DialogflowSourceOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.contactcenterinsights.v1.DialogflowSource) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Output only. The name of the Dialogflow conversation that this conversation
    * resource is derived from. Format:
@@ -33,13 +15,10 @@ public interface DialogflowSourceOrBuilder
    * 
* * string dialogflow_conversation = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The dialogflowConversation. */ java.lang.String getDialogflowConversation(); /** - * - * *
    * Output only. The name of the Dialogflow conversation that this conversation
    * resource is derived from. Format:
@@ -47,35 +26,30 @@ public interface DialogflowSourceOrBuilder
    * 
* * string dialogflow_conversation = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for dialogflowConversation. */ - com.google.protobuf.ByteString getDialogflowConversationBytes(); + com.google.protobuf.ByteString + getDialogflowConversationBytes(); /** - * - * *
    * Cloud Storage URI that points to a file that contains the conversation
    * audio.
    * 
* * string audio_uri = 3; - * * @return The audioUri. */ java.lang.String getAudioUri(); /** - * - * *
    * Cloud Storage URI that points to a file that contains the conversation
    * audio.
    * 
* * string audio_uri = 3; - * * @return The bytes for audioUri. */ - com.google.protobuf.ByteString getAudioUriBytes(); + com.google.protobuf.ByteString + getAudioUriBytes(); } diff --git a/java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/Entity.java b/owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/Entity.java similarity index 70% rename from java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/Entity.java rename to owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/Entity.java index 5748eced0c97..74eb79a8c98f 100644 --- a/java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/Entity.java +++ b/owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/Entity.java @@ -1,26 +1,9 @@ -/* - * 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. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/contactcenterinsights/v1/resources.proto package com.google.cloud.contactcenterinsights.v1; /** - * - * *
  * The data for an entity annotation.
  * Represents a phrase in the conversation that is a known entity, such
@@ -29,16 +12,15 @@
  *
  * Protobuf type {@code google.cloud.contactcenterinsights.v1.Entity}
  */
-public final class Entity extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class Entity extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.cloud.contactcenterinsights.v1.Entity)
     EntityOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use Entity.newBuilder() to construct.
   private Entity(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
   private Entity() {
     displayName_ = "";
     type_ = 0;
@@ -46,44 +28,42 @@ private Entity() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new Entity();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet
+  getUnknownFields() {
     return this.unknownFields;
   }
-
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.cloud.contactcenterinsights.v1.ResourcesProto
-        .internal_static_google_cloud_contactcenterinsights_v1_Entity_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.cloud.contactcenterinsights.v1.ResourcesProto.internal_static_google_cloud_contactcenterinsights_v1_Entity_descriptor;
   }
 
   @SuppressWarnings({"rawtypes"})
   @java.lang.Override
-  protected com.google.protobuf.MapField internalGetMapField(int number) {
+  protected com.google.protobuf.MapField internalGetMapField(
+      int number) {
     switch (number) {
       case 3:
         return internalGetMetadata();
       default:
-        throw new RuntimeException("Invalid map field number: " + number);
+        throw new RuntimeException(
+            "Invalid map field number: " + number);
     }
   }
-
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.contactcenterinsights.v1.ResourcesProto
-        .internal_static_google_cloud_contactcenterinsights_v1_Entity_fieldAccessorTable
+    return com.google.cloud.contactcenterinsights.v1.ResourcesProto.internal_static_google_cloud_contactcenterinsights_v1_Entity_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.contactcenterinsights.v1.Entity.class,
-            com.google.cloud.contactcenterinsights.v1.Entity.Builder.class);
+            com.google.cloud.contactcenterinsights.v1.Entity.class, com.google.cloud.contactcenterinsights.v1.Entity.Builder.class);
   }
 
   /**
-   *
-   *
    * 
    * The type of the entity. For most entity types, the associated metadata is a
    * Wikipedia URL (`wikipedia_url`) and Knowledge Graph MID (`mid`). The table
@@ -93,10 +73,9 @@ protected com.google.protobuf.MapField internalGetMapField(int number) {
    *
    * Protobuf enum {@code google.cloud.contactcenterinsights.v1.Entity.Type}
    */
-  public enum Type implements com.google.protobuf.ProtocolMessageEnum {
+  public enum Type
+      implements com.google.protobuf.ProtocolMessageEnum {
     /**
-     *
-     *
      * 
      * Unspecified.
      * 
@@ -105,8 +84,6 @@ public enum Type implements com.google.protobuf.ProtocolMessageEnum { */ TYPE_UNSPECIFIED(0), /** - * - * *
      * Person.
      * 
@@ -115,8 +92,6 @@ public enum Type implements com.google.protobuf.ProtocolMessageEnum { */ PERSON(1), /** - * - * *
      * Location.
      * 
@@ -125,8 +100,6 @@ public enum Type implements com.google.protobuf.ProtocolMessageEnum { */ LOCATION(2), /** - * - * *
      * Organization.
      * 
@@ -135,8 +108,6 @@ public enum Type implements com.google.protobuf.ProtocolMessageEnum { */ ORGANIZATION(3), /** - * - * *
      * Event.
      * 
@@ -145,8 +116,6 @@ public enum Type implements com.google.protobuf.ProtocolMessageEnum { */ EVENT(4), /** - * - * *
      * Artwork.
      * 
@@ -155,8 +124,6 @@ public enum Type implements com.google.protobuf.ProtocolMessageEnum { */ WORK_OF_ART(5), /** - * - * *
      * Consumer product.
      * 
@@ -165,8 +132,6 @@ public enum Type implements com.google.protobuf.ProtocolMessageEnum { */ CONSUMER_GOOD(6), /** - * - * *
      * Other types of entities.
      * 
@@ -175,8 +140,6 @@ public enum Type implements com.google.protobuf.ProtocolMessageEnum { */ OTHER(7), /** - * - * *
      * Phone number.
      * The metadata lists the phone number (formatted according to local
@@ -193,8 +156,6 @@ public enum Type implements com.google.protobuf.ProtocolMessageEnum {
      */
     PHONE_NUMBER(9),
     /**
-     *
-     *
      * 
      * Address.
      * The metadata identifies the street number and locality plus whichever
@@ -215,8 +176,6 @@ public enum Type implements com.google.protobuf.ProtocolMessageEnum {
      */
     ADDRESS(10),
     /**
-     *
-     *
      * 
      * Date.
      * The metadata identifies the components of the date:
@@ -229,8 +188,6 @@ public enum Type implements com.google.protobuf.ProtocolMessageEnum {
      */
     DATE(11),
     /**
-     *
-     *
      * 
      * Number.
      * The metadata is the number itself.
@@ -240,8 +197,6 @@ public enum Type implements com.google.protobuf.ProtocolMessageEnum {
      */
     NUMBER(12),
     /**
-     *
-     *
      * 
      * Price.
      * The metadata identifies the `value` and `currency`.
@@ -254,8 +209,6 @@ public enum Type implements com.google.protobuf.ProtocolMessageEnum {
     ;
 
     /**
-     *
-     *
      * 
      * Unspecified.
      * 
@@ -264,8 +217,6 @@ public enum Type implements com.google.protobuf.ProtocolMessageEnum { */ public static final int TYPE_UNSPECIFIED_VALUE = 0; /** - * - * *
      * Person.
      * 
@@ -274,8 +225,6 @@ public enum Type implements com.google.protobuf.ProtocolMessageEnum { */ public static final int PERSON_VALUE = 1; /** - * - * *
      * Location.
      * 
@@ -284,8 +233,6 @@ public enum Type implements com.google.protobuf.ProtocolMessageEnum { */ public static final int LOCATION_VALUE = 2; /** - * - * *
      * Organization.
      * 
@@ -294,8 +241,6 @@ public enum Type implements com.google.protobuf.ProtocolMessageEnum { */ public static final int ORGANIZATION_VALUE = 3; /** - * - * *
      * Event.
      * 
@@ -304,8 +249,6 @@ public enum Type implements com.google.protobuf.ProtocolMessageEnum { */ public static final int EVENT_VALUE = 4; /** - * - * *
      * Artwork.
      * 
@@ -314,8 +257,6 @@ public enum Type implements com.google.protobuf.ProtocolMessageEnum { */ public static final int WORK_OF_ART_VALUE = 5; /** - * - * *
      * Consumer product.
      * 
@@ -324,8 +265,6 @@ public enum Type implements com.google.protobuf.ProtocolMessageEnum { */ public static final int CONSUMER_GOOD_VALUE = 6; /** - * - * *
      * Other types of entities.
      * 
@@ -334,8 +273,6 @@ public enum Type implements com.google.protobuf.ProtocolMessageEnum { */ public static final int OTHER_VALUE = 7; /** - * - * *
      * Phone number.
      * The metadata lists the phone number (formatted according to local
@@ -352,8 +289,6 @@ public enum Type implements com.google.protobuf.ProtocolMessageEnum {
      */
     public static final int PHONE_NUMBER_VALUE = 9;
     /**
-     *
-     *
      * 
      * Address.
      * The metadata identifies the street number and locality plus whichever
@@ -374,8 +309,6 @@ public enum Type implements com.google.protobuf.ProtocolMessageEnum {
      */
     public static final int ADDRESS_VALUE = 10;
     /**
-     *
-     *
      * 
      * Date.
      * The metadata identifies the components of the date:
@@ -388,8 +321,6 @@ public enum Type implements com.google.protobuf.ProtocolMessageEnum {
      */
     public static final int DATE_VALUE = 11;
     /**
-     *
-     *
      * 
      * Number.
      * The metadata is the number itself.
@@ -399,8 +330,6 @@ public enum Type implements com.google.protobuf.ProtocolMessageEnum {
      */
     public static final int NUMBER_VALUE = 12;
     /**
-     *
-     *
      * 
      * Price.
      * The metadata identifies the `value` and `currency`.
@@ -410,6 +339,7 @@ public enum Type implements com.google.protobuf.ProtocolMessageEnum {
      */
     public static final int PRICE_VALUE = 13;
 
+
     public final int getNumber() {
       if (this == UNRECOGNIZED) {
         throw new java.lang.IllegalArgumentException(
@@ -434,69 +364,59 @@ public static Type valueOf(int value) {
      */
     public static Type forNumber(int value) {
       switch (value) {
-        case 0:
-          return TYPE_UNSPECIFIED;
-        case 1:
-          return PERSON;
-        case 2:
-          return LOCATION;
-        case 3:
-          return ORGANIZATION;
-        case 4:
-          return EVENT;
-        case 5:
-          return WORK_OF_ART;
-        case 6:
-          return CONSUMER_GOOD;
-        case 7:
-          return OTHER;
-        case 9:
-          return PHONE_NUMBER;
-        case 10:
-          return ADDRESS;
-        case 11:
-          return DATE;
-        case 12:
-          return NUMBER;
-        case 13:
-          return PRICE;
-        default:
-          return null;
+        case 0: return TYPE_UNSPECIFIED;
+        case 1: return PERSON;
+        case 2: return LOCATION;
+        case 3: return ORGANIZATION;
+        case 4: return EVENT;
+        case 5: return WORK_OF_ART;
+        case 6: return CONSUMER_GOOD;
+        case 7: return OTHER;
+        case 9: return PHONE_NUMBER;
+        case 10: return ADDRESS;
+        case 11: return DATE;
+        case 12: return NUMBER;
+        case 13: return PRICE;
+        default: return null;
       }
     }
 
-    public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() {
+    public static com.google.protobuf.Internal.EnumLiteMap
+        internalGetValueMap() {
       return internalValueMap;
     }
+    private static final com.google.protobuf.Internal.EnumLiteMap<
+        Type> internalValueMap =
+          new com.google.protobuf.Internal.EnumLiteMap() {
+            public Type findValueByNumber(int number) {
+              return Type.forNumber(number);
+            }
+          };
 
-    private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap =
-        new com.google.protobuf.Internal.EnumLiteMap() {
-          public Type findValueByNumber(int number) {
-            return Type.forNumber(number);
-          }
-        };
-
-    public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() {
+    public final com.google.protobuf.Descriptors.EnumValueDescriptor
+        getValueDescriptor() {
       if (this == UNRECOGNIZED) {
         throw new java.lang.IllegalStateException(
             "Can't get the descriptor of an unrecognized enum value.");
       }
       return getDescriptor().getValues().get(ordinal());
     }
-
-    public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() {
+    public final com.google.protobuf.Descriptors.EnumDescriptor
+        getDescriptorForType() {
       return getDescriptor();
     }
-
-    public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() {
+    public static final com.google.protobuf.Descriptors.EnumDescriptor
+        getDescriptor() {
       return com.google.cloud.contactcenterinsights.v1.Entity.getDescriptor().getEnumTypes().get(0);
     }
 
     private static final Type[] VALUES = values();
 
-    public static Type valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
+    public static Type valueOf(
+        com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
       if (desc.getType() != getDescriptor()) {
-        throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type.");
+        throw new java.lang.IllegalArgumentException(
+          "EnumValueDescriptor is not for this type.");
       }
       if (desc.getIndex() == -1) {
         return UNRECOGNIZED;
@@ -514,18 +434,14 @@ private Type(int value) {
   }
 
   public static final int DISPLAY_NAME_FIELD_NUMBER = 1;
-
   @SuppressWarnings("serial")
   private volatile java.lang.Object displayName_ = "";
   /**
-   *
-   *
    * 
    * The representative name for the entity.
    * 
* * string display_name = 1; - * * @return The displayName. */ @java.lang.Override @@ -534,29 +450,29 @@ public java.lang.String getDisplayName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); displayName_ = s; return s; } } /** - * - * *
    * The representative name for the entity.
    * 
* * string display_name = 1; - * * @return The bytes for displayName. */ @java.lang.Override - public com.google.protobuf.ByteString getDisplayNameBytes() { + public com.google.protobuf.ByteString + getDisplayNameBytes() { java.lang.Object ref = displayName_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); displayName_ = b; return b; } else { @@ -567,69 +483,56 @@ public com.google.protobuf.ByteString getDisplayNameBytes() { public static final int TYPE_FIELD_NUMBER = 2; private int type_ = 0; /** - * - * *
    * The entity type.
    * 
* * .google.cloud.contactcenterinsights.v1.Entity.Type type = 2; - * * @return The enum numeric value on the wire for type. */ - @java.lang.Override - public int getTypeValue() { + @java.lang.Override public int getTypeValue() { return type_; } /** - * - * *
    * The entity type.
    * 
* * .google.cloud.contactcenterinsights.v1.Entity.Type type = 2; - * * @return The type. */ - @java.lang.Override - public com.google.cloud.contactcenterinsights.v1.Entity.Type getType() { - com.google.cloud.contactcenterinsights.v1.Entity.Type result = - com.google.cloud.contactcenterinsights.v1.Entity.Type.forNumber(type_); - return result == null - ? com.google.cloud.contactcenterinsights.v1.Entity.Type.UNRECOGNIZED - : result; + @java.lang.Override public com.google.cloud.contactcenterinsights.v1.Entity.Type getType() { + com.google.cloud.contactcenterinsights.v1.Entity.Type result = com.google.cloud.contactcenterinsights.v1.Entity.Type.forNumber(type_); + return result == null ? com.google.cloud.contactcenterinsights.v1.Entity.Type.UNRECOGNIZED : result; } public static final int METADATA_FIELD_NUMBER = 3; - private static final class MetadataDefaultEntryHolder { - static final com.google.protobuf.MapEntry defaultEntry = - com.google.protobuf.MapEntry.newDefaultInstance( - com.google.cloud.contactcenterinsights.v1.ResourcesProto - .internal_static_google_cloud_contactcenterinsights_v1_Entity_MetadataEntry_descriptor, - com.google.protobuf.WireFormat.FieldType.STRING, - "", - com.google.protobuf.WireFormat.FieldType.STRING, - ""); + static final com.google.protobuf.MapEntry< + java.lang.String, java.lang.String> defaultEntry = + com.google.protobuf.MapEntry + .newDefaultInstance( + com.google.cloud.contactcenterinsights.v1.ResourcesProto.internal_static_google_cloud_contactcenterinsights_v1_Entity_MetadataEntry_descriptor, + com.google.protobuf.WireFormat.FieldType.STRING, + "", + com.google.protobuf.WireFormat.FieldType.STRING, + ""); } - @SuppressWarnings("serial") - private com.google.protobuf.MapField metadata_; - - private com.google.protobuf.MapField internalGetMetadata() { + private com.google.protobuf.MapField< + java.lang.String, java.lang.String> metadata_; + private com.google.protobuf.MapField + internalGetMetadata() { if (metadata_ == null) { - return com.google.protobuf.MapField.emptyMapField(MetadataDefaultEntryHolder.defaultEntry); + return com.google.protobuf.MapField.emptyMapField( + MetadataDefaultEntryHolder.defaultEntry); } return metadata_; } - public int getMetadataCount() { return internalGetMetadata().getMap().size(); } /** - * - * *
    * Metadata associated with the entity.
    * For most entity types, the metadata is a Wikipedia URL (`wikipedia_url`)
@@ -640,21 +543,20 @@ public int getMetadataCount() {
    * map<string, string> metadata = 3;
    */
   @java.lang.Override
-  public boolean containsMetadata(java.lang.String key) {
-    if (key == null) {
-      throw new NullPointerException("map key");
-    }
+  public boolean containsMetadata(
+      java.lang.String key) {
+    if (key == null) { throw new NullPointerException("map key"); }
     return internalGetMetadata().getMap().containsKey(key);
   }
-  /** Use {@link #getMetadataMap()} instead. */
+  /**
+   * Use {@link #getMetadataMap()} instead.
+   */
   @java.lang.Override
   @java.lang.Deprecated
   public java.util.Map getMetadata() {
     return getMetadataMap();
   }
   /**
-   *
-   *
    * 
    * Metadata associated with the entity.
    * For most entity types, the metadata is a Wikipedia URL (`wikipedia_url`)
@@ -669,8 +571,6 @@ public java.util.Map getMetadataMap() {
     return internalGetMetadata().getMap();
   }
   /**
-   *
-   *
    * 
    * Metadata associated with the entity.
    * For most entity types, the metadata is a Wikipedia URL (`wikipedia_url`)
@@ -681,19 +581,17 @@ public java.util.Map getMetadataMap() {
    * map<string, string> metadata = 3;
    */
   @java.lang.Override
-  public /* nullable */ java.lang.String getMetadataOrDefault(
+  public /* nullable */
+java.lang.String getMetadataOrDefault(
       java.lang.String key,
       /* nullable */
-      java.lang.String defaultValue) {
-    if (key == null) {
-      throw new NullPointerException("map key");
-    }
-    java.util.Map map = internalGetMetadata().getMap();
+java.lang.String defaultValue) {
+    if (key == null) { throw new NullPointerException("map key"); }
+    java.util.Map map =
+        internalGetMetadata().getMap();
     return map.containsKey(key) ? map.get(key) : defaultValue;
   }
   /**
-   *
-   *
    * 
    * Metadata associated with the entity.
    * For most entity types, the metadata is a Wikipedia URL (`wikipedia_url`)
@@ -704,11 +602,11 @@ public java.util.Map getMetadataMap() {
    * map<string, string> metadata = 3;
    */
   @java.lang.Override
-  public java.lang.String getMetadataOrThrow(java.lang.String key) {
-    if (key == null) {
-      throw new NullPointerException("map key");
-    }
-    java.util.Map map = internalGetMetadata().getMap();
+  public java.lang.String getMetadataOrThrow(
+      java.lang.String key) {
+    if (key == null) { throw new NullPointerException("map key"); }
+    java.util.Map map =
+        internalGetMetadata().getMap();
     if (!map.containsKey(key)) {
       throw new java.lang.IllegalArgumentException();
     }
@@ -718,8 +616,6 @@ public java.lang.String getMetadataOrThrow(java.lang.String key) {
   public static final int SALIENCE_FIELD_NUMBER = 4;
   private float salience_ = 0F;
   /**
-   *
-   *
    * 
    * The salience score associated with the entity in the [0, 1.0] range.
    * The salience score for an entity provides information about the
@@ -729,7 +625,6 @@ public java.lang.String getMetadataOrThrow(java.lang.String key) {
    * 
* * float salience = 4; - * * @return The salience. */ @java.lang.Override @@ -740,14 +635,11 @@ public float getSalience() { public static final int SENTIMENT_FIELD_NUMBER = 5; private com.google.cloud.contactcenterinsights.v1.SentimentData sentiment_; /** - * - * *
    * The aggregate sentiment expressed for this entity in the conversation.
    * 
* * .google.cloud.contactcenterinsights.v1.SentimentData sentiment = 5; - * * @return Whether the sentiment field is set. */ @java.lang.Override @@ -755,25 +647,18 @@ public boolean hasSentiment() { return sentiment_ != null; } /** - * - * *
    * The aggregate sentiment expressed for this entity in the conversation.
    * 
* * .google.cloud.contactcenterinsights.v1.SentimentData sentiment = 5; - * * @return The sentiment. */ @java.lang.Override public com.google.cloud.contactcenterinsights.v1.SentimentData getSentiment() { - return sentiment_ == null - ? com.google.cloud.contactcenterinsights.v1.SentimentData.getDefaultInstance() - : sentiment_; + return sentiment_ == null ? com.google.cloud.contactcenterinsights.v1.SentimentData.getDefaultInstance() : sentiment_; } /** - * - * *
    * The aggregate sentiment expressed for this entity in the conversation.
    * 
@@ -782,13 +667,10 @@ public com.google.cloud.contactcenterinsights.v1.SentimentData getSentiment() { */ @java.lang.Override public com.google.cloud.contactcenterinsights.v1.SentimentDataOrBuilder getSentimentOrBuilder() { - return sentiment_ == null - ? com.google.cloud.contactcenterinsights.v1.SentimentData.getDefaultInstance() - : sentiment_; + return sentiment_ == null ? com.google.cloud.contactcenterinsights.v1.SentimentData.getDefaultInstance() : sentiment_; } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -800,16 +682,20 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(displayName_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, displayName_); } - if (type_ - != com.google.cloud.contactcenterinsights.v1.Entity.Type.TYPE_UNSPECIFIED.getNumber()) { + if (type_ != com.google.cloud.contactcenterinsights.v1.Entity.Type.TYPE_UNSPECIFIED.getNumber()) { output.writeEnum(2, type_); } - com.google.protobuf.GeneratedMessageV3.serializeStringMapTo( - output, internalGetMetadata(), MetadataDefaultEntryHolder.defaultEntry, 3); + com.google.protobuf.GeneratedMessageV3 + .serializeStringMapTo( + output, + internalGetMetadata(), + MetadataDefaultEntryHolder.defaultEntry, + 3); if (java.lang.Float.floatToRawIntBits(salience_) != 0) { output.writeFloat(4, salience_); } @@ -828,25 +714,27 @@ public int getSerializedSize() { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(displayName_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, displayName_); } - if (type_ - != com.google.cloud.contactcenterinsights.v1.Entity.Type.TYPE_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream.computeEnumSize(2, type_); + if (type_ != com.google.cloud.contactcenterinsights.v1.Entity.Type.TYPE_UNSPECIFIED.getNumber()) { + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(2, type_); } - for (java.util.Map.Entry entry : - internalGetMetadata().getMap().entrySet()) { - com.google.protobuf.MapEntry metadata__ = - MetadataDefaultEntryHolder.defaultEntry - .newBuilderForType() - .setKey(entry.getKey()) - .setValue(entry.getValue()) - .build(); - size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, metadata__); + for (java.util.Map.Entry entry + : internalGetMetadata().getMap().entrySet()) { + com.google.protobuf.MapEntry + metadata__ = MetadataDefaultEntryHolder.defaultEntry.newBuilderForType() + .setKey(entry.getKey()) + .setValue(entry.getValue()) + .build(); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(3, metadata__); } if (java.lang.Float.floatToRawIntBits(salience_) != 0) { - size += com.google.protobuf.CodedOutputStream.computeFloatSize(4, salience_); + size += com.google.protobuf.CodedOutputStream + .computeFloatSize(4, salience_); } if (sentiment_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(5, getSentiment()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(5, getSentiment()); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -856,22 +744,25 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.contactcenterinsights.v1.Entity)) { return super.equals(obj); } - com.google.cloud.contactcenterinsights.v1.Entity other = - (com.google.cloud.contactcenterinsights.v1.Entity) obj; + com.google.cloud.contactcenterinsights.v1.Entity other = (com.google.cloud.contactcenterinsights.v1.Entity) obj; - if (!getDisplayName().equals(other.getDisplayName())) return false; + if (!getDisplayName() + .equals(other.getDisplayName())) return false; if (type_ != other.type_) return false; - if (!internalGetMetadata().equals(other.internalGetMetadata())) return false; + if (!internalGetMetadata().equals( + other.internalGetMetadata())) return false; if (java.lang.Float.floatToIntBits(getSalience()) - != java.lang.Float.floatToIntBits(other.getSalience())) return false; + != java.lang.Float.floatToIntBits( + other.getSalience())) return false; if (hasSentiment() != other.hasSentiment()) return false; if (hasSentiment()) { - if (!getSentiment().equals(other.getSentiment())) return false; + if (!getSentiment() + .equals(other.getSentiment())) return false; } if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -893,7 +784,8 @@ public int hashCode() { hash = (53 * hash) + internalGetMetadata().hashCode(); } hash = (37 * hash) + SALIENCE_FIELD_NUMBER; - hash = (53 * hash) + java.lang.Float.floatToIntBits(getSalience()); + hash = (53 * hash) + java.lang.Float.floatToIntBits( + getSalience()); if (hasSentiment()) { hash = (37 * hash) + SENTIMENT_FIELD_NUMBER; hash = (53 * hash) + getSentiment().hashCode(); @@ -903,104 +795,97 @@ public int hashCode() { return hash; } - public static com.google.cloud.contactcenterinsights.v1.Entity parseFrom(java.nio.ByteBuffer data) + public static com.google.cloud.contactcenterinsights.v1.Entity parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.contactcenterinsights.v1.Entity parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.contactcenterinsights.v1.Entity parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.contactcenterinsights.v1.Entity parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.contactcenterinsights.v1.Entity parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.contactcenterinsights.v1.Entity parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.contactcenterinsights.v1.Entity parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.contactcenterinsights.v1.Entity parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.contactcenterinsights.v1.Entity parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.contactcenterinsights.v1.Entity parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.contactcenterinsights.v1.Entity parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.contactcenterinsights.v1.Entity parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.contactcenterinsights.v1.Entity parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.contactcenterinsights.v1.Entity parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.contactcenterinsights.v1.Entity prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * The data for an entity annotation.
    * Represents a phrase in the conversation that is a known entity, such
@@ -1009,52 +894,55 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.cloud.contactcenterinsights.v1.Entity}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.cloud.contactcenterinsights.v1.Entity)
       com.google.cloud.contactcenterinsights.v1.EntityOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.cloud.contactcenterinsights.v1.ResourcesProto
-          .internal_static_google_cloud_contactcenterinsights_v1_Entity_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.cloud.contactcenterinsights.v1.ResourcesProto.internal_static_google_cloud_contactcenterinsights_v1_Entity_descriptor;
     }
 
     @SuppressWarnings({"rawtypes"})
-    protected com.google.protobuf.MapField internalGetMapField(int number) {
+    protected com.google.protobuf.MapField internalGetMapField(
+        int number) {
       switch (number) {
         case 3:
           return internalGetMetadata();
         default:
-          throw new RuntimeException("Invalid map field number: " + number);
+          throw new RuntimeException(
+              "Invalid map field number: " + number);
       }
     }
-
     @SuppressWarnings({"rawtypes"})
-    protected com.google.protobuf.MapField internalGetMutableMapField(int number) {
+    protected com.google.protobuf.MapField internalGetMutableMapField(
+        int number) {
       switch (number) {
         case 3:
           return internalGetMutableMetadata();
         default:
-          throw new RuntimeException("Invalid map field number: " + number);
+          throw new RuntimeException(
+              "Invalid map field number: " + number);
       }
     }
-
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.contactcenterinsights.v1.ResourcesProto
-          .internal_static_google_cloud_contactcenterinsights_v1_Entity_fieldAccessorTable
+      return com.google.cloud.contactcenterinsights.v1.ResourcesProto.internal_static_google_cloud_contactcenterinsights_v1_Entity_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.contactcenterinsights.v1.Entity.class,
-              com.google.cloud.contactcenterinsights.v1.Entity.Builder.class);
+              com.google.cloud.contactcenterinsights.v1.Entity.class, com.google.cloud.contactcenterinsights.v1.Entity.Builder.class);
     }
 
     // Construct using com.google.cloud.contactcenterinsights.v1.Entity.newBuilder()
-    private Builder() {}
+    private Builder() {
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
-      super(parent);
     }
 
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+      super(parent);
+
+    }
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -1072,9 +960,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.cloud.contactcenterinsights.v1.ResourcesProto
-          .internal_static_google_cloud_contactcenterinsights_v1_Entity_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.cloud.contactcenterinsights.v1.ResourcesProto.internal_static_google_cloud_contactcenterinsights_v1_Entity_descriptor;
     }
 
     @java.lang.Override
@@ -1093,11 +981,8 @@ public com.google.cloud.contactcenterinsights.v1.Entity build() {
 
     @java.lang.Override
     public com.google.cloud.contactcenterinsights.v1.Entity buildPartial() {
-      com.google.cloud.contactcenterinsights.v1.Entity result =
-          new com.google.cloud.contactcenterinsights.v1.Entity(this);
-      if (bitField0_ != 0) {
-        buildPartial0(result);
-      }
+      com.google.cloud.contactcenterinsights.v1.Entity result = new com.google.cloud.contactcenterinsights.v1.Entity(this);
+      if (bitField0_ != 0) { buildPartial0(result); }
       onBuilt();
       return result;
     }
@@ -1118,7 +1003,9 @@ private void buildPartial0(com.google.cloud.contactcenterinsights.v1.Entity resu
         result.salience_ = salience_;
       }
       if (((from_bitField0_ & 0x00000010) != 0)) {
-        result.sentiment_ = sentimentBuilder_ == null ? sentiment_ : sentimentBuilder_.build();
+        result.sentiment_ = sentimentBuilder_ == null
+            ? sentiment_
+            : sentimentBuilder_.build();
       }
     }
 
@@ -1126,39 +1013,38 @@ private void buildPartial0(com.google.cloud.contactcenterinsights.v1.Entity resu
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
-
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.cloud.contactcenterinsights.v1.Entity) {
-        return mergeFrom((com.google.cloud.contactcenterinsights.v1.Entity) other);
+        return mergeFrom((com.google.cloud.contactcenterinsights.v1.Entity)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -1166,8 +1052,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.cloud.contactcenterinsights.v1.Entity other) {
-      if (other == com.google.cloud.contactcenterinsights.v1.Entity.getDefaultInstance())
-        return this;
+      if (other == com.google.cloud.contactcenterinsights.v1.Entity.getDefaultInstance()) return this;
       if (!other.getDisplayName().isEmpty()) {
         displayName_ = other.displayName_;
         bitField0_ |= 0x00000001;
@@ -1176,7 +1061,8 @@ public Builder mergeFrom(com.google.cloud.contactcenterinsights.v1.Entity other)
       if (other.type_ != 0) {
         setTypeValue(other.getTypeValue());
       }
-      internalGetMutableMetadata().mergeFrom(other.internalGetMetadata());
+      internalGetMutableMetadata().mergeFrom(
+          other.internalGetMetadata());
       bitField0_ |= 0x00000004;
       if (other.getSalience() != 0F) {
         setSalience(other.getSalience());
@@ -1210,49 +1096,43 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10:
-              {
-                displayName_ = input.readStringRequireUtf8();
-                bitField0_ |= 0x00000001;
-                break;
-              } // case 10
-            case 16:
-              {
-                type_ = input.readEnum();
-                bitField0_ |= 0x00000002;
-                break;
-              } // case 16
-            case 26:
-              {
-                com.google.protobuf.MapEntry metadata__ =
-                    input.readMessage(
-                        MetadataDefaultEntryHolder.defaultEntry.getParserForType(),
-                        extensionRegistry);
-                internalGetMutableMetadata()
-                    .getMutableMap()
-                    .put(metadata__.getKey(), metadata__.getValue());
-                bitField0_ |= 0x00000004;
-                break;
-              } // case 26
-            case 37:
-              {
-                salience_ = input.readFloat();
-                bitField0_ |= 0x00000008;
-                break;
-              } // case 37
-            case 42:
-              {
-                input.readMessage(getSentimentFieldBuilder().getBuilder(), extensionRegistry);
-                bitField0_ |= 0x00000010;
-                break;
-              } // case 42
-            default:
-              {
-                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                  done = true; // was an endgroup tag
-                }
-                break;
-              } // default:
+            case 10: {
+              displayName_ = input.readStringRequireUtf8();
+              bitField0_ |= 0x00000001;
+              break;
+            } // case 10
+            case 16: {
+              type_ = input.readEnum();
+              bitField0_ |= 0x00000002;
+              break;
+            } // case 16
+            case 26: {
+              com.google.protobuf.MapEntry
+              metadata__ = input.readMessage(
+                  MetadataDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry);
+              internalGetMutableMetadata().getMutableMap().put(
+                  metadata__.getKey(), metadata__.getValue());
+              bitField0_ |= 0x00000004;
+              break;
+            } // case 26
+            case 37: {
+              salience_ = input.readFloat();
+              bitField0_ |= 0x00000008;
+              break;
+            } // case 37
+            case 42: {
+              input.readMessage(
+                  getSentimentFieldBuilder().getBuilder(),
+                  extensionRegistry);
+              bitField0_ |= 0x00000010;
+              break;
+            } // case 42
+            default: {
+              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                done = true; // was an endgroup tag
+              }
+              break;
+            } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -1262,25 +1142,22 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
-
     private int bitField0_;
 
     private java.lang.Object displayName_ = "";
     /**
-     *
-     *
      * 
      * The representative name for the entity.
      * 
* * string display_name = 1; - * * @return The displayName. */ public java.lang.String getDisplayName() { java.lang.Object ref = displayName_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); displayName_ = s; return s; @@ -1289,21 +1166,20 @@ public java.lang.String getDisplayName() { } } /** - * - * *
      * The representative name for the entity.
      * 
* * string display_name = 1; - * * @return The bytes for displayName. */ - public com.google.protobuf.ByteString getDisplayNameBytes() { + public com.google.protobuf.ByteString + getDisplayNameBytes() { java.lang.Object ref = displayName_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); displayName_ = b; return b; } else { @@ -1311,35 +1187,28 @@ public com.google.protobuf.ByteString getDisplayNameBytes() { } } /** - * - * *
      * The representative name for the entity.
      * 
* * string display_name = 1; - * * @param value The displayName to set. * @return This builder for chaining. */ - public Builder setDisplayName(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setDisplayName( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } displayName_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
      * The representative name for the entity.
      * 
* * string display_name = 1; - * * @return This builder for chaining. */ public Builder clearDisplayName() { @@ -1349,21 +1218,17 @@ public Builder clearDisplayName() { return this; } /** - * - * *
      * The representative name for the entity.
      * 
* * string display_name = 1; - * * @param value The bytes for displayName to set. * @return This builder for chaining. */ - public Builder setDisplayNameBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setDisplayNameBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); displayName_ = value; bitField0_ |= 0x00000001; @@ -1373,29 +1238,22 @@ public Builder setDisplayNameBytes(com.google.protobuf.ByteString value) { private int type_ = 0; /** - * - * *
      * The entity type.
      * 
* * .google.cloud.contactcenterinsights.v1.Entity.Type type = 2; - * * @return The enum numeric value on the wire for type. */ - @java.lang.Override - public int getTypeValue() { + @java.lang.Override public int getTypeValue() { return type_; } /** - * - * *
      * The entity type.
      * 
* * .google.cloud.contactcenterinsights.v1.Entity.Type type = 2; - * * @param value The enum numeric value on the wire for type to set. * @return This builder for chaining. */ @@ -1406,33 +1264,24 @@ public Builder setTypeValue(int value) { return this; } /** - * - * *
      * The entity type.
      * 
* * .google.cloud.contactcenterinsights.v1.Entity.Type type = 2; - * * @return The type. */ @java.lang.Override public com.google.cloud.contactcenterinsights.v1.Entity.Type getType() { - com.google.cloud.contactcenterinsights.v1.Entity.Type result = - com.google.cloud.contactcenterinsights.v1.Entity.Type.forNumber(type_); - return result == null - ? com.google.cloud.contactcenterinsights.v1.Entity.Type.UNRECOGNIZED - : result; + com.google.cloud.contactcenterinsights.v1.Entity.Type result = com.google.cloud.contactcenterinsights.v1.Entity.Type.forNumber(type_); + return result == null ? com.google.cloud.contactcenterinsights.v1.Entity.Type.UNRECOGNIZED : result; } /** - * - * *
      * The entity type.
      * 
* * .google.cloud.contactcenterinsights.v1.Entity.Type type = 2; - * * @param value The type to set. * @return This builder for chaining. */ @@ -1446,14 +1295,11 @@ public Builder setType(com.google.cloud.contactcenterinsights.v1.Entity.Type val return this; } /** - * - * *
      * The entity type.
      * 
* * .google.cloud.contactcenterinsights.v1.Entity.Type type = 2; - * * @return This builder for chaining. */ public Builder clearType() { @@ -1463,20 +1309,21 @@ public Builder clearType() { return this; } - private com.google.protobuf.MapField metadata_; - - private com.google.protobuf.MapField internalGetMetadata() { + private com.google.protobuf.MapField< + java.lang.String, java.lang.String> metadata_; + private com.google.protobuf.MapField + internalGetMetadata() { if (metadata_ == null) { - return com.google.protobuf.MapField.emptyMapField(MetadataDefaultEntryHolder.defaultEntry); + return com.google.protobuf.MapField.emptyMapField( + MetadataDefaultEntryHolder.defaultEntry); } return metadata_; } - private com.google.protobuf.MapField internalGetMutableMetadata() { if (metadata_ == null) { - metadata_ = - com.google.protobuf.MapField.newMapField(MetadataDefaultEntryHolder.defaultEntry); + metadata_ = com.google.protobuf.MapField.newMapField( + MetadataDefaultEntryHolder.defaultEntry); } if (!metadata_.isMutable()) { metadata_ = metadata_.copy(); @@ -1485,13 +1332,10 @@ private com.google.protobuf.MapField interna onChanged(); return metadata_; } - public int getMetadataCount() { return internalGetMetadata().getMap().size(); } /** - * - * *
      * Metadata associated with the entity.
      * For most entity types, the metadata is a Wikipedia URL (`wikipedia_url`)
@@ -1502,21 +1346,20 @@ public int getMetadataCount() {
      * map<string, string> metadata = 3;
      */
     @java.lang.Override
-    public boolean containsMetadata(java.lang.String key) {
-      if (key == null) {
-        throw new NullPointerException("map key");
-      }
+    public boolean containsMetadata(
+        java.lang.String key) {
+      if (key == null) { throw new NullPointerException("map key"); }
       return internalGetMetadata().getMap().containsKey(key);
     }
-    /** Use {@link #getMetadataMap()} instead. */
+    /**
+     * Use {@link #getMetadataMap()} instead.
+     */
     @java.lang.Override
     @java.lang.Deprecated
     public java.util.Map getMetadata() {
       return getMetadataMap();
     }
     /**
-     *
-     *
      * 
      * Metadata associated with the entity.
      * For most entity types, the metadata is a Wikipedia URL (`wikipedia_url`)
@@ -1531,8 +1374,6 @@ public java.util.Map getMetadataMap() {
       return internalGetMetadata().getMap();
     }
     /**
-     *
-     *
      * 
      * Metadata associated with the entity.
      * For most entity types, the metadata is a Wikipedia URL (`wikipedia_url`)
@@ -1543,19 +1384,17 @@ public java.util.Map getMetadataMap() {
      * map<string, string> metadata = 3;
      */
     @java.lang.Override
-    public /* nullable */ java.lang.String getMetadataOrDefault(
+    public /* nullable */
+java.lang.String getMetadataOrDefault(
         java.lang.String key,
         /* nullable */
-        java.lang.String defaultValue) {
-      if (key == null) {
-        throw new NullPointerException("map key");
-      }
-      java.util.Map map = internalGetMetadata().getMap();
+java.lang.String defaultValue) {
+      if (key == null) { throw new NullPointerException("map key"); }
+      java.util.Map map =
+          internalGetMetadata().getMap();
       return map.containsKey(key) ? map.get(key) : defaultValue;
     }
     /**
-     *
-     *
      * 
      * Metadata associated with the entity.
      * For most entity types, the metadata is a Wikipedia URL (`wikipedia_url`)
@@ -1566,25 +1405,23 @@ public java.util.Map getMetadataMap() {
      * map<string, string> metadata = 3;
      */
     @java.lang.Override
-    public java.lang.String getMetadataOrThrow(java.lang.String key) {
-      if (key == null) {
-        throw new NullPointerException("map key");
-      }
-      java.util.Map map = internalGetMetadata().getMap();
+    public java.lang.String getMetadataOrThrow(
+        java.lang.String key) {
+      if (key == null) { throw new NullPointerException("map key"); }
+      java.util.Map map =
+          internalGetMetadata().getMap();
       if (!map.containsKey(key)) {
         throw new java.lang.IllegalArgumentException();
       }
       return map.get(key);
     }
-
     public Builder clearMetadata() {
       bitField0_ = (bitField0_ & ~0x00000004);
-      internalGetMutableMetadata().getMutableMap().clear();
+      internalGetMutableMetadata().getMutableMap()
+          .clear();
       return this;
     }
     /**
-     *
-     *
      * 
      * Metadata associated with the entity.
      * For most entity types, the metadata is a Wikipedia URL (`wikipedia_url`)
@@ -1594,22 +1431,23 @@ public Builder clearMetadata() {
      *
      * map<string, string> metadata = 3;
      */
-    public Builder removeMetadata(java.lang.String key) {
-      if (key == null) {
-        throw new NullPointerException("map key");
-      }
-      internalGetMutableMetadata().getMutableMap().remove(key);
+    public Builder removeMetadata(
+        java.lang.String key) {
+      if (key == null) { throw new NullPointerException("map key"); }
+      internalGetMutableMetadata().getMutableMap()
+          .remove(key);
       return this;
     }
-    /** Use alternate mutation accessors instead. */
+    /**
+     * Use alternate mutation accessors instead.
+     */
     @java.lang.Deprecated
-    public java.util.Map getMutableMetadata() {
+    public java.util.Map
+        getMutableMetadata() {
       bitField0_ |= 0x00000004;
       return internalGetMutableMetadata().getMutableMap();
     }
     /**
-     *
-     *
      * 
      * Metadata associated with the entity.
      * For most entity types, the metadata is a Wikipedia URL (`wikipedia_url`)
@@ -1619,20 +1457,17 @@ public java.util.Map getMutableMetadata() {
      *
      * map<string, string> metadata = 3;
      */
-    public Builder putMetadata(java.lang.String key, java.lang.String value) {
-      if (key == null) {
-        throw new NullPointerException("map key");
-      }
-      if (value == null) {
-        throw new NullPointerException("map value");
-      }
-      internalGetMutableMetadata().getMutableMap().put(key, value);
+    public Builder putMetadata(
+        java.lang.String key,
+        java.lang.String value) {
+      if (key == null) { throw new NullPointerException("map key"); }
+      if (value == null) { throw new NullPointerException("map value"); }
+      internalGetMutableMetadata().getMutableMap()
+          .put(key, value);
       bitField0_ |= 0x00000004;
       return this;
     }
     /**
-     *
-     *
      * 
      * Metadata associated with the entity.
      * For most entity types, the metadata is a Wikipedia URL (`wikipedia_url`)
@@ -1642,16 +1477,16 @@ public Builder putMetadata(java.lang.String key, java.lang.String value) {
      *
      * map<string, string> metadata = 3;
      */
-    public Builder putAllMetadata(java.util.Map values) {
-      internalGetMutableMetadata().getMutableMap().putAll(values);
+    public Builder putAllMetadata(
+        java.util.Map values) {
+      internalGetMutableMetadata().getMutableMap()
+          .putAll(values);
       bitField0_ |= 0x00000004;
       return this;
     }
 
-    private float salience_;
+    private float salience_ ;
     /**
-     *
-     *
      * 
      * The salience score associated with the entity in the [0, 1.0] range.
      * The salience score for an entity provides information about the
@@ -1661,7 +1496,6 @@ public Builder putAllMetadata(java.util.Map
      * 
* * float salience = 4; - * * @return The salience. */ @java.lang.Override @@ -1669,8 +1503,6 @@ public float getSalience() { return salience_; } /** - * - * *
      * The salience score associated with the entity in the [0, 1.0] range.
      * The salience score for an entity provides information about the
@@ -1680,20 +1512,17 @@ public float getSalience() {
      * 
* * float salience = 4; - * * @param value The salience to set. * @return This builder for chaining. */ public Builder setSalience(float value) { - + salience_ = value; bitField0_ |= 0x00000008; onChanged(); return this; } /** - * - * *
      * The salience score associated with the entity in the [0, 1.0] range.
      * The salience score for an entity provides information about the
@@ -1703,7 +1532,6 @@ public Builder setSalience(float value) {
      * 
* * float salience = 4; - * * @return This builder for chaining. */ public Builder clearSalience() { @@ -1715,47 +1543,34 @@ public Builder clearSalience() { private com.google.cloud.contactcenterinsights.v1.SentimentData sentiment_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.contactcenterinsights.v1.SentimentData, - com.google.cloud.contactcenterinsights.v1.SentimentData.Builder, - com.google.cloud.contactcenterinsights.v1.SentimentDataOrBuilder> - sentimentBuilder_; + com.google.cloud.contactcenterinsights.v1.SentimentData, com.google.cloud.contactcenterinsights.v1.SentimentData.Builder, com.google.cloud.contactcenterinsights.v1.SentimentDataOrBuilder> sentimentBuilder_; /** - * - * *
      * The aggregate sentiment expressed for this entity in the conversation.
      * 
* * .google.cloud.contactcenterinsights.v1.SentimentData sentiment = 5; - * * @return Whether the sentiment field is set. */ public boolean hasSentiment() { return ((bitField0_ & 0x00000010) != 0); } /** - * - * *
      * The aggregate sentiment expressed for this entity in the conversation.
      * 
* * .google.cloud.contactcenterinsights.v1.SentimentData sentiment = 5; - * * @return The sentiment. */ public com.google.cloud.contactcenterinsights.v1.SentimentData getSentiment() { if (sentimentBuilder_ == null) { - return sentiment_ == null - ? com.google.cloud.contactcenterinsights.v1.SentimentData.getDefaultInstance() - : sentiment_; + return sentiment_ == null ? com.google.cloud.contactcenterinsights.v1.SentimentData.getDefaultInstance() : sentiment_; } else { return sentimentBuilder_.getMessage(); } } /** - * - * *
      * The aggregate sentiment expressed for this entity in the conversation.
      * 
@@ -1776,8 +1591,6 @@ public Builder setSentiment(com.google.cloud.contactcenterinsights.v1.SentimentD return this; } /** - * - * *
      * The aggregate sentiment expressed for this entity in the conversation.
      * 
@@ -1796,8 +1609,6 @@ public Builder setSentiment( return this; } /** - * - * *
      * The aggregate sentiment expressed for this entity in the conversation.
      * 
@@ -1806,10 +1617,9 @@ public Builder setSentiment( */ public Builder mergeSentiment(com.google.cloud.contactcenterinsights.v1.SentimentData value) { if (sentimentBuilder_ == null) { - if (((bitField0_ & 0x00000010) != 0) - && sentiment_ != null - && sentiment_ - != com.google.cloud.contactcenterinsights.v1.SentimentData.getDefaultInstance()) { + if (((bitField0_ & 0x00000010) != 0) && + sentiment_ != null && + sentiment_ != com.google.cloud.contactcenterinsights.v1.SentimentData.getDefaultInstance()) { getSentimentBuilder().mergeFrom(value); } else { sentiment_ = value; @@ -1822,8 +1632,6 @@ public Builder mergeSentiment(com.google.cloud.contactcenterinsights.v1.Sentimen return this; } /** - * - * *
      * The aggregate sentiment expressed for this entity in the conversation.
      * 
@@ -1841,8 +1649,6 @@ public Builder clearSentiment() { return this; } /** - * - * *
      * The aggregate sentiment expressed for this entity in the conversation.
      * 
@@ -1855,27 +1661,21 @@ public com.google.cloud.contactcenterinsights.v1.SentimentData.Builder getSentim return getSentimentFieldBuilder().getBuilder(); } /** - * - * *
      * The aggregate sentiment expressed for this entity in the conversation.
      * 
* * .google.cloud.contactcenterinsights.v1.SentimentData sentiment = 5; */ - public com.google.cloud.contactcenterinsights.v1.SentimentDataOrBuilder - getSentimentOrBuilder() { + public com.google.cloud.contactcenterinsights.v1.SentimentDataOrBuilder getSentimentOrBuilder() { if (sentimentBuilder_ != null) { return sentimentBuilder_.getMessageOrBuilder(); } else { - return sentiment_ == null - ? com.google.cloud.contactcenterinsights.v1.SentimentData.getDefaultInstance() - : sentiment_; + return sentiment_ == null ? + com.google.cloud.contactcenterinsights.v1.SentimentData.getDefaultInstance() : sentiment_; } } /** - * - * *
      * The aggregate sentiment expressed for this entity in the conversation.
      * 
@@ -1883,24 +1683,21 @@ public com.google.cloud.contactcenterinsights.v1.SentimentData.Builder getSentim * .google.cloud.contactcenterinsights.v1.SentimentData sentiment = 5; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.contactcenterinsights.v1.SentimentData, - com.google.cloud.contactcenterinsights.v1.SentimentData.Builder, - com.google.cloud.contactcenterinsights.v1.SentimentDataOrBuilder> + com.google.cloud.contactcenterinsights.v1.SentimentData, com.google.cloud.contactcenterinsights.v1.SentimentData.Builder, com.google.cloud.contactcenterinsights.v1.SentimentDataOrBuilder> getSentimentFieldBuilder() { if (sentimentBuilder_ == null) { - sentimentBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.contactcenterinsights.v1.SentimentData, - com.google.cloud.contactcenterinsights.v1.SentimentData.Builder, - com.google.cloud.contactcenterinsights.v1.SentimentDataOrBuilder>( - getSentiment(), getParentForChildren(), isClean()); + sentimentBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.contactcenterinsights.v1.SentimentData, com.google.cloud.contactcenterinsights.v1.SentimentData.Builder, com.google.cloud.contactcenterinsights.v1.SentimentDataOrBuilder>( + getSentiment(), + getParentForChildren(), + isClean()); sentiment_ = null; } return sentimentBuilder_; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1910,12 +1707,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.contactcenterinsights.v1.Entity) } // @@protoc_insertion_point(class_scope:google.cloud.contactcenterinsights.v1.Entity) private static final com.google.cloud.contactcenterinsights.v1.Entity DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.contactcenterinsights.v1.Entity(); } @@ -1924,27 +1721,27 @@ public static com.google.cloud.contactcenterinsights.v1.Entity getDefaultInstanc return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public Entity parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public Entity parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1959,4 +1756,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.contactcenterinsights.v1.Entity getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/EntityMentionData.java b/owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/EntityMentionData.java similarity index 69% rename from java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/EntityMentionData.java rename to owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/EntityMentionData.java index f29b2b2390af..b2ec4f72026f 100644 --- a/java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/EntityMentionData.java +++ b/owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/EntityMentionData.java @@ -1,26 +1,9 @@ -/* - * 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. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/contactcenterinsights/v1/resources.proto package com.google.cloud.contactcenterinsights.v1; /** - * - * *
  * The data for an entity mention annotation.
  * This represents a mention of an `Entity` in the conversation.
@@ -28,16 +11,15 @@
  *
  * Protobuf type {@code google.cloud.contactcenterinsights.v1.EntityMentionData}
  */
-public final class EntityMentionData extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class EntityMentionData extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.cloud.contactcenterinsights.v1.EntityMentionData)
     EntityMentionDataOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use EntityMentionData.newBuilder() to construct.
   private EntityMentionData(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
   private EntityMentionData() {
     entityUniqueId_ = "";
     type_ = 0;
@@ -45,43 +27,39 @@ private EntityMentionData() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new EntityMentionData();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet
+  getUnknownFields() {
     return this.unknownFields;
   }
-
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.cloud.contactcenterinsights.v1.ResourcesProto
-        .internal_static_google_cloud_contactcenterinsights_v1_EntityMentionData_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.cloud.contactcenterinsights.v1.ResourcesProto.internal_static_google_cloud_contactcenterinsights_v1_EntityMentionData_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.contactcenterinsights.v1.ResourcesProto
-        .internal_static_google_cloud_contactcenterinsights_v1_EntityMentionData_fieldAccessorTable
+    return com.google.cloud.contactcenterinsights.v1.ResourcesProto.internal_static_google_cloud_contactcenterinsights_v1_EntityMentionData_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.contactcenterinsights.v1.EntityMentionData.class,
-            com.google.cloud.contactcenterinsights.v1.EntityMentionData.Builder.class);
+            com.google.cloud.contactcenterinsights.v1.EntityMentionData.class, com.google.cloud.contactcenterinsights.v1.EntityMentionData.Builder.class);
   }
 
   /**
-   *
-   *
    * 
    * The supported types of mentions.
    * 
* * Protobuf enum {@code google.cloud.contactcenterinsights.v1.EntityMentionData.MentionType} */ - public enum MentionType implements com.google.protobuf.ProtocolMessageEnum { + public enum MentionType + implements com.google.protobuf.ProtocolMessageEnum { /** - * - * *
      * Unspecified.
      * 
@@ -90,8 +68,6 @@ public enum MentionType implements com.google.protobuf.ProtocolMessageEnum { */ MENTION_TYPE_UNSPECIFIED(0), /** - * - * *
      * Proper noun.
      * 
@@ -100,8 +76,6 @@ public enum MentionType implements com.google.protobuf.ProtocolMessageEnum { */ PROPER(1), /** - * - * *
      * Common noun (or noun compound).
      * 
@@ -113,8 +87,6 @@ public enum MentionType implements com.google.protobuf.ProtocolMessageEnum { ; /** - * - * *
      * Unspecified.
      * 
@@ -123,8 +95,6 @@ public enum MentionType implements com.google.protobuf.ProtocolMessageEnum { */ public static final int MENTION_TYPE_UNSPECIFIED_VALUE = 0; /** - * - * *
      * Proper noun.
      * 
@@ -133,8 +103,6 @@ public enum MentionType implements com.google.protobuf.ProtocolMessageEnum { */ public static final int PROPER_VALUE = 1; /** - * - * *
      * Common noun (or noun compound).
      * 
@@ -143,6 +111,7 @@ public enum MentionType implements com.google.protobuf.ProtocolMessageEnum { */ public static final int COMMON_VALUE = 2; + public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -167,51 +136,49 @@ public static MentionType valueOf(int value) { */ public static MentionType forNumber(int value) { switch (value) { - case 0: - return MENTION_TYPE_UNSPECIFIED; - case 1: - return PROPER; - case 2: - return COMMON; - default: - return null; + case 0: return MENTION_TYPE_UNSPECIFIED; + case 1: return PROPER; + case 2: return COMMON; + default: return null; } } - public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() { + public static com.google.protobuf.Internal.EnumLiteMap + internalGetValueMap() { return internalValueMap; } - - private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public MentionType findValueByNumber(int number) { - return MentionType.forNumber(number); - } - }; - - public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() { + private static final com.google.protobuf.Internal.EnumLiteMap< + MentionType> internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public MentionType findValueByNumber(int number) { + return MentionType.forNumber(number); + } + }; + + public final com.google.protobuf.Descriptors.EnumValueDescriptor + getValueDescriptor() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalStateException( "Can't get the descriptor of an unrecognized enum value."); } return getDescriptor().getValues().get(ordinal()); } - - public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() { + public final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptorForType() { return getDescriptor(); } - - public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { - return com.google.cloud.contactcenterinsights.v1.EntityMentionData.getDescriptor() - .getEnumTypes() - .get(0); + public static final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptor() { + return com.google.cloud.contactcenterinsights.v1.EntityMentionData.getDescriptor().getEnumTypes().get(0); } private static final MentionType[] VALUES = values(); - public static MentionType valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + public static MentionType valueOf( + com.google.protobuf.Descriptors.EnumValueDescriptor desc) { if (desc.getType() != getDescriptor()) { - throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type."); + throw new java.lang.IllegalArgumentException( + "EnumValueDescriptor is not for this type."); } if (desc.getIndex() == -1) { return UNRECOGNIZED; @@ -229,19 +196,15 @@ private MentionType(int value) { } public static final int ENTITY_UNIQUE_ID_FIELD_NUMBER = 1; - @SuppressWarnings("serial") private volatile java.lang.Object entityUniqueId_ = ""; /** - * - * *
    * The key of this entity in conversation entities.
    * Can be used to retrieve the exact `Entity` this mention is attached to.
    * 
* * string entity_unique_id = 1; - * * @return The entityUniqueId. */ @java.lang.Override @@ -250,30 +213,30 @@ public java.lang.String getEntityUniqueId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); entityUniqueId_ = s; return s; } } /** - * - * *
    * The key of this entity in conversation entities.
    * Can be used to retrieve the exact `Entity` this mention is attached to.
    * 
* * string entity_unique_id = 1; - * * @return The bytes for entityUniqueId. */ @java.lang.Override - public com.google.protobuf.ByteString getEntityUniqueIdBytes() { + public com.google.protobuf.ByteString + getEntityUniqueIdBytes() { java.lang.Object ref = entityUniqueId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); entityUniqueId_ = b; return b; } else { @@ -284,51 +247,37 @@ public com.google.protobuf.ByteString getEntityUniqueIdBytes() { public static final int TYPE_FIELD_NUMBER = 2; private int type_ = 0; /** - * - * *
    * The type of the entity mention.
    * 
* * .google.cloud.contactcenterinsights.v1.EntityMentionData.MentionType type = 2; - * * @return The enum numeric value on the wire for type. */ - @java.lang.Override - public int getTypeValue() { + @java.lang.Override public int getTypeValue() { return type_; } /** - * - * *
    * The type of the entity mention.
    * 
* * .google.cloud.contactcenterinsights.v1.EntityMentionData.MentionType type = 2; - * * @return The type. */ - @java.lang.Override - public com.google.cloud.contactcenterinsights.v1.EntityMentionData.MentionType getType() { - com.google.cloud.contactcenterinsights.v1.EntityMentionData.MentionType result = - com.google.cloud.contactcenterinsights.v1.EntityMentionData.MentionType.forNumber(type_); - return result == null - ? com.google.cloud.contactcenterinsights.v1.EntityMentionData.MentionType.UNRECOGNIZED - : result; + @java.lang.Override public com.google.cloud.contactcenterinsights.v1.EntityMentionData.MentionType getType() { + com.google.cloud.contactcenterinsights.v1.EntityMentionData.MentionType result = com.google.cloud.contactcenterinsights.v1.EntityMentionData.MentionType.forNumber(type_); + return result == null ? com.google.cloud.contactcenterinsights.v1.EntityMentionData.MentionType.UNRECOGNIZED : result; } public static final int SENTIMENT_FIELD_NUMBER = 3; private com.google.cloud.contactcenterinsights.v1.SentimentData sentiment_; /** - * - * *
    * Sentiment expressed for this mention of the entity.
    * 
* * .google.cloud.contactcenterinsights.v1.SentimentData sentiment = 3; - * * @return Whether the sentiment field is set. */ @java.lang.Override @@ -336,25 +285,18 @@ public boolean hasSentiment() { return sentiment_ != null; } /** - * - * *
    * Sentiment expressed for this mention of the entity.
    * 
* * .google.cloud.contactcenterinsights.v1.SentimentData sentiment = 3; - * * @return The sentiment. */ @java.lang.Override public com.google.cloud.contactcenterinsights.v1.SentimentData getSentiment() { - return sentiment_ == null - ? com.google.cloud.contactcenterinsights.v1.SentimentData.getDefaultInstance() - : sentiment_; + return sentiment_ == null ? com.google.cloud.contactcenterinsights.v1.SentimentData.getDefaultInstance() : sentiment_; } /** - * - * *
    * Sentiment expressed for this mention of the entity.
    * 
@@ -363,13 +305,10 @@ public com.google.cloud.contactcenterinsights.v1.SentimentData getSentiment() { */ @java.lang.Override public com.google.cloud.contactcenterinsights.v1.SentimentDataOrBuilder getSentimentOrBuilder() { - return sentiment_ == null - ? com.google.cloud.contactcenterinsights.v1.SentimentData.getDefaultInstance() - : sentiment_; + return sentiment_ == null ? com.google.cloud.contactcenterinsights.v1.SentimentData.getDefaultInstance() : sentiment_; } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -381,14 +320,12 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(entityUniqueId_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, entityUniqueId_); } - if (type_ - != com.google.cloud.contactcenterinsights.v1.EntityMentionData.MentionType - .MENTION_TYPE_UNSPECIFIED - .getNumber()) { + if (type_ != com.google.cloud.contactcenterinsights.v1.EntityMentionData.MentionType.MENTION_TYPE_UNSPECIFIED.getNumber()) { output.writeEnum(2, type_); } if (sentiment_ != null) { @@ -406,14 +343,13 @@ public int getSerializedSize() { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(entityUniqueId_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, entityUniqueId_); } - if (type_ - != com.google.cloud.contactcenterinsights.v1.EntityMentionData.MentionType - .MENTION_TYPE_UNSPECIFIED - .getNumber()) { - size += com.google.protobuf.CodedOutputStream.computeEnumSize(2, type_); + if (type_ != com.google.cloud.contactcenterinsights.v1.EntityMentionData.MentionType.MENTION_TYPE_UNSPECIFIED.getNumber()) { + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(2, type_); } if (sentiment_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getSentiment()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(3, getSentiment()); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -423,19 +359,20 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.contactcenterinsights.v1.EntityMentionData)) { return super.equals(obj); } - com.google.cloud.contactcenterinsights.v1.EntityMentionData other = - (com.google.cloud.contactcenterinsights.v1.EntityMentionData) obj; + com.google.cloud.contactcenterinsights.v1.EntityMentionData other = (com.google.cloud.contactcenterinsights.v1.EntityMentionData) obj; - if (!getEntityUniqueId().equals(other.getEntityUniqueId())) return false; + if (!getEntityUniqueId() + .equals(other.getEntityUniqueId())) return false; if (type_ != other.type_) return false; if (hasSentiment() != other.hasSentiment()) return false; if (hasSentiment()) { - if (!getSentiment().equals(other.getSentiment())) return false; + if (!getSentiment() + .equals(other.getSentiment())) return false; } if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -462,104 +399,96 @@ public int hashCode() { } public static com.google.cloud.contactcenterinsights.v1.EntityMentionData parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.contactcenterinsights.v1.EntityMentionData parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.contactcenterinsights.v1.EntityMentionData parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.contactcenterinsights.v1.EntityMentionData parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.contactcenterinsights.v1.EntityMentionData parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.contactcenterinsights.v1.EntityMentionData parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.contactcenterinsights.v1.EntityMentionData parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.contactcenterinsights.v1.EntityMentionData parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.contactcenterinsights.v1.EntityMentionData parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.contactcenterinsights.v1.EntityMentionData parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.contactcenterinsights.v1.EntityMentionData parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.contactcenterinsights.v1.EntityMentionData parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.contactcenterinsights.v1.EntityMentionData parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.contactcenterinsights.v1.EntityMentionData parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.contactcenterinsights.v1.EntityMentionData prototype) { + public static Builder newBuilder(com.google.cloud.contactcenterinsights.v1.EntityMentionData prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * The data for an entity mention annotation.
    * This represents a mention of an `Entity` in the conversation.
@@ -567,32 +496,33 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.cloud.contactcenterinsights.v1.EntityMentionData}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.cloud.contactcenterinsights.v1.EntityMentionData)
       com.google.cloud.contactcenterinsights.v1.EntityMentionDataOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.cloud.contactcenterinsights.v1.ResourcesProto
-          .internal_static_google_cloud_contactcenterinsights_v1_EntityMentionData_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.cloud.contactcenterinsights.v1.ResourcesProto.internal_static_google_cloud_contactcenterinsights_v1_EntityMentionData_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.contactcenterinsights.v1.ResourcesProto
-          .internal_static_google_cloud_contactcenterinsights_v1_EntityMentionData_fieldAccessorTable
+      return com.google.cloud.contactcenterinsights.v1.ResourcesProto.internal_static_google_cloud_contactcenterinsights_v1_EntityMentionData_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.contactcenterinsights.v1.EntityMentionData.class,
-              com.google.cloud.contactcenterinsights.v1.EntityMentionData.Builder.class);
+              com.google.cloud.contactcenterinsights.v1.EntityMentionData.class, com.google.cloud.contactcenterinsights.v1.EntityMentionData.Builder.class);
     }
 
     // Construct using com.google.cloud.contactcenterinsights.v1.EntityMentionData.newBuilder()
-    private Builder() {}
+    private Builder() {
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
-      super(parent);
     }
 
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+      super(parent);
+
+    }
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -608,9 +538,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.cloud.contactcenterinsights.v1.ResourcesProto
-          .internal_static_google_cloud_contactcenterinsights_v1_EntityMentionData_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.cloud.contactcenterinsights.v1.ResourcesProto.internal_static_google_cloud_contactcenterinsights_v1_EntityMentionData_descriptor;
     }
 
     @java.lang.Override
@@ -629,11 +559,8 @@ public com.google.cloud.contactcenterinsights.v1.EntityMentionData build() {
 
     @java.lang.Override
     public com.google.cloud.contactcenterinsights.v1.EntityMentionData buildPartial() {
-      com.google.cloud.contactcenterinsights.v1.EntityMentionData result =
-          new com.google.cloud.contactcenterinsights.v1.EntityMentionData(this);
-      if (bitField0_ != 0) {
-        buildPartial0(result);
-      }
+      com.google.cloud.contactcenterinsights.v1.EntityMentionData result = new com.google.cloud.contactcenterinsights.v1.EntityMentionData(this);
+      if (bitField0_ != 0) { buildPartial0(result); }
       onBuilt();
       return result;
     }
@@ -647,7 +574,9 @@ private void buildPartial0(com.google.cloud.contactcenterinsights.v1.EntityMenti
         result.type_ = type_;
       }
       if (((from_bitField0_ & 0x00000004) != 0)) {
-        result.sentiment_ = sentimentBuilder_ == null ? sentiment_ : sentimentBuilder_.build();
+        result.sentiment_ = sentimentBuilder_ == null
+            ? sentiment_
+            : sentimentBuilder_.build();
       }
     }
 
@@ -655,39 +584,38 @@ private void buildPartial0(com.google.cloud.contactcenterinsights.v1.EntityMenti
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
-
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.cloud.contactcenterinsights.v1.EntityMentionData) {
-        return mergeFrom((com.google.cloud.contactcenterinsights.v1.EntityMentionData) other);
+        return mergeFrom((com.google.cloud.contactcenterinsights.v1.EntityMentionData)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -695,8 +623,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.cloud.contactcenterinsights.v1.EntityMentionData other) {
-      if (other == com.google.cloud.contactcenterinsights.v1.EntityMentionData.getDefaultInstance())
-        return this;
+      if (other == com.google.cloud.contactcenterinsights.v1.EntityMentionData.getDefaultInstance()) return this;
       if (!other.getEntityUniqueId().isEmpty()) {
         entityUniqueId_ = other.entityUniqueId_;
         bitField0_ |= 0x00000001;
@@ -734,31 +661,29 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10:
-              {
-                entityUniqueId_ = input.readStringRequireUtf8();
-                bitField0_ |= 0x00000001;
-                break;
-              } // case 10
-            case 16:
-              {
-                type_ = input.readEnum();
-                bitField0_ |= 0x00000002;
-                break;
-              } // case 16
-            case 26:
-              {
-                input.readMessage(getSentimentFieldBuilder().getBuilder(), extensionRegistry);
-                bitField0_ |= 0x00000004;
-                break;
-              } // case 26
-            default:
-              {
-                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                  done = true; // was an endgroup tag
-                }
-                break;
-              } // default:
+            case 10: {
+              entityUniqueId_ = input.readStringRequireUtf8();
+              bitField0_ |= 0x00000001;
+              break;
+            } // case 10
+            case 16: {
+              type_ = input.readEnum();
+              bitField0_ |= 0x00000002;
+              break;
+            } // case 16
+            case 26: {
+              input.readMessage(
+                  getSentimentFieldBuilder().getBuilder(),
+                  extensionRegistry);
+              bitField0_ |= 0x00000004;
+              break;
+            } // case 26
+            default: {
+              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                done = true; // was an endgroup tag
+              }
+              break;
+            } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -768,26 +693,23 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
-
     private int bitField0_;
 
     private java.lang.Object entityUniqueId_ = "";
     /**
-     *
-     *
      * 
      * The key of this entity in conversation entities.
      * Can be used to retrieve the exact `Entity` this mention is attached to.
      * 
* * string entity_unique_id = 1; - * * @return The entityUniqueId. */ public java.lang.String getEntityUniqueId() { java.lang.Object ref = entityUniqueId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); entityUniqueId_ = s; return s; @@ -796,22 +718,21 @@ public java.lang.String getEntityUniqueId() { } } /** - * - * *
      * The key of this entity in conversation entities.
      * Can be used to retrieve the exact `Entity` this mention is attached to.
      * 
* * string entity_unique_id = 1; - * * @return The bytes for entityUniqueId. */ - public com.google.protobuf.ByteString getEntityUniqueIdBytes() { + public com.google.protobuf.ByteString + getEntityUniqueIdBytes() { java.lang.Object ref = entityUniqueId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); entityUniqueId_ = b; return b; } else { @@ -819,37 +740,30 @@ public com.google.protobuf.ByteString getEntityUniqueIdBytes() { } } /** - * - * *
      * The key of this entity in conversation entities.
      * Can be used to retrieve the exact `Entity` this mention is attached to.
      * 
* * string entity_unique_id = 1; - * * @param value The entityUniqueId to set. * @return This builder for chaining. */ - public Builder setEntityUniqueId(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setEntityUniqueId( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } entityUniqueId_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
      * The key of this entity in conversation entities.
      * Can be used to retrieve the exact `Entity` this mention is attached to.
      * 
* * string entity_unique_id = 1; - * * @return This builder for chaining. */ public Builder clearEntityUniqueId() { @@ -859,22 +773,18 @@ public Builder clearEntityUniqueId() { return this; } /** - * - * *
      * The key of this entity in conversation entities.
      * Can be used to retrieve the exact `Entity` this mention is attached to.
      * 
* * string entity_unique_id = 1; - * * @param value The bytes for entityUniqueId to set. * @return This builder for chaining. */ - public Builder setEntityUniqueIdBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setEntityUniqueIdBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); entityUniqueId_ = value; bitField0_ |= 0x00000001; @@ -884,29 +794,22 @@ public Builder setEntityUniqueIdBytes(com.google.protobuf.ByteString value) { private int type_ = 0; /** - * - * *
      * The type of the entity mention.
      * 
* * .google.cloud.contactcenterinsights.v1.EntityMentionData.MentionType type = 2; - * * @return The enum numeric value on the wire for type. */ - @java.lang.Override - public int getTypeValue() { + @java.lang.Override public int getTypeValue() { return type_; } /** - * - * *
      * The type of the entity mention.
      * 
* * .google.cloud.contactcenterinsights.v1.EntityMentionData.MentionType type = 2; - * * @param value The enum numeric value on the wire for type to set. * @return This builder for chaining. */ @@ -917,38 +820,28 @@ public Builder setTypeValue(int value) { return this; } /** - * - * *
      * The type of the entity mention.
      * 
* * .google.cloud.contactcenterinsights.v1.EntityMentionData.MentionType type = 2; - * * @return The type. */ @java.lang.Override public com.google.cloud.contactcenterinsights.v1.EntityMentionData.MentionType getType() { - com.google.cloud.contactcenterinsights.v1.EntityMentionData.MentionType result = - com.google.cloud.contactcenterinsights.v1.EntityMentionData.MentionType.forNumber(type_); - return result == null - ? com.google.cloud.contactcenterinsights.v1.EntityMentionData.MentionType.UNRECOGNIZED - : result; + com.google.cloud.contactcenterinsights.v1.EntityMentionData.MentionType result = com.google.cloud.contactcenterinsights.v1.EntityMentionData.MentionType.forNumber(type_); + return result == null ? com.google.cloud.contactcenterinsights.v1.EntityMentionData.MentionType.UNRECOGNIZED : result; } /** - * - * *
      * The type of the entity mention.
      * 
* * .google.cloud.contactcenterinsights.v1.EntityMentionData.MentionType type = 2; - * * @param value The type to set. * @return This builder for chaining. */ - public Builder setType( - com.google.cloud.contactcenterinsights.v1.EntityMentionData.MentionType value) { + public Builder setType(com.google.cloud.contactcenterinsights.v1.EntityMentionData.MentionType value) { if (value == null) { throw new NullPointerException(); } @@ -958,14 +851,11 @@ public Builder setType( return this; } /** - * - * *
      * The type of the entity mention.
      * 
* * .google.cloud.contactcenterinsights.v1.EntityMentionData.MentionType type = 2; - * * @return This builder for chaining. */ public Builder clearType() { @@ -977,47 +867,34 @@ public Builder clearType() { private com.google.cloud.contactcenterinsights.v1.SentimentData sentiment_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.contactcenterinsights.v1.SentimentData, - com.google.cloud.contactcenterinsights.v1.SentimentData.Builder, - com.google.cloud.contactcenterinsights.v1.SentimentDataOrBuilder> - sentimentBuilder_; + com.google.cloud.contactcenterinsights.v1.SentimentData, com.google.cloud.contactcenterinsights.v1.SentimentData.Builder, com.google.cloud.contactcenterinsights.v1.SentimentDataOrBuilder> sentimentBuilder_; /** - * - * *
      * Sentiment expressed for this mention of the entity.
      * 
* * .google.cloud.contactcenterinsights.v1.SentimentData sentiment = 3; - * * @return Whether the sentiment field is set. */ public boolean hasSentiment() { return ((bitField0_ & 0x00000004) != 0); } /** - * - * *
      * Sentiment expressed for this mention of the entity.
      * 
* * .google.cloud.contactcenterinsights.v1.SentimentData sentiment = 3; - * * @return The sentiment. */ public com.google.cloud.contactcenterinsights.v1.SentimentData getSentiment() { if (sentimentBuilder_ == null) { - return sentiment_ == null - ? com.google.cloud.contactcenterinsights.v1.SentimentData.getDefaultInstance() - : sentiment_; + return sentiment_ == null ? com.google.cloud.contactcenterinsights.v1.SentimentData.getDefaultInstance() : sentiment_; } else { return sentimentBuilder_.getMessage(); } } /** - * - * *
      * Sentiment expressed for this mention of the entity.
      * 
@@ -1038,8 +915,6 @@ public Builder setSentiment(com.google.cloud.contactcenterinsights.v1.SentimentD return this; } /** - * - * *
      * Sentiment expressed for this mention of the entity.
      * 
@@ -1058,8 +933,6 @@ public Builder setSentiment( return this; } /** - * - * *
      * Sentiment expressed for this mention of the entity.
      * 
@@ -1068,10 +941,9 @@ public Builder setSentiment( */ public Builder mergeSentiment(com.google.cloud.contactcenterinsights.v1.SentimentData value) { if (sentimentBuilder_ == null) { - if (((bitField0_ & 0x00000004) != 0) - && sentiment_ != null - && sentiment_ - != com.google.cloud.contactcenterinsights.v1.SentimentData.getDefaultInstance()) { + if (((bitField0_ & 0x00000004) != 0) && + sentiment_ != null && + sentiment_ != com.google.cloud.contactcenterinsights.v1.SentimentData.getDefaultInstance()) { getSentimentBuilder().mergeFrom(value); } else { sentiment_ = value; @@ -1084,8 +956,6 @@ public Builder mergeSentiment(com.google.cloud.contactcenterinsights.v1.Sentimen return this; } /** - * - * *
      * Sentiment expressed for this mention of the entity.
      * 
@@ -1103,8 +973,6 @@ public Builder clearSentiment() { return this; } /** - * - * *
      * Sentiment expressed for this mention of the entity.
      * 
@@ -1117,27 +985,21 @@ public com.google.cloud.contactcenterinsights.v1.SentimentData.Builder getSentim return getSentimentFieldBuilder().getBuilder(); } /** - * - * *
      * Sentiment expressed for this mention of the entity.
      * 
* * .google.cloud.contactcenterinsights.v1.SentimentData sentiment = 3; */ - public com.google.cloud.contactcenterinsights.v1.SentimentDataOrBuilder - getSentimentOrBuilder() { + public com.google.cloud.contactcenterinsights.v1.SentimentDataOrBuilder getSentimentOrBuilder() { if (sentimentBuilder_ != null) { return sentimentBuilder_.getMessageOrBuilder(); } else { - return sentiment_ == null - ? com.google.cloud.contactcenterinsights.v1.SentimentData.getDefaultInstance() - : sentiment_; + return sentiment_ == null ? + com.google.cloud.contactcenterinsights.v1.SentimentData.getDefaultInstance() : sentiment_; } } /** - * - * *
      * Sentiment expressed for this mention of the entity.
      * 
@@ -1145,24 +1007,21 @@ public com.google.cloud.contactcenterinsights.v1.SentimentData.Builder getSentim * .google.cloud.contactcenterinsights.v1.SentimentData sentiment = 3; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.contactcenterinsights.v1.SentimentData, - com.google.cloud.contactcenterinsights.v1.SentimentData.Builder, - com.google.cloud.contactcenterinsights.v1.SentimentDataOrBuilder> + com.google.cloud.contactcenterinsights.v1.SentimentData, com.google.cloud.contactcenterinsights.v1.SentimentData.Builder, com.google.cloud.contactcenterinsights.v1.SentimentDataOrBuilder> getSentimentFieldBuilder() { if (sentimentBuilder_ == null) { - sentimentBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.contactcenterinsights.v1.SentimentData, - com.google.cloud.contactcenterinsights.v1.SentimentData.Builder, - com.google.cloud.contactcenterinsights.v1.SentimentDataOrBuilder>( - getSentiment(), getParentForChildren(), isClean()); + sentimentBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.contactcenterinsights.v1.SentimentData, com.google.cloud.contactcenterinsights.v1.SentimentData.Builder, com.google.cloud.contactcenterinsights.v1.SentimentDataOrBuilder>( + getSentiment(), + getParentForChildren(), + isClean()); sentiment_ = null; } return sentimentBuilder_; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1172,12 +1031,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.contactcenterinsights.v1.EntityMentionData) } // @@protoc_insertion_point(class_scope:google.cloud.contactcenterinsights.v1.EntityMentionData) private static final com.google.cloud.contactcenterinsights.v1.EntityMentionData DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.contactcenterinsights.v1.EntityMentionData(); } @@ -1186,27 +1045,27 @@ public static com.google.cloud.contactcenterinsights.v1.EntityMentionData getDef return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public EntityMentionData parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public EntityMentionData parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1221,4 +1080,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.contactcenterinsights.v1.EntityMentionData getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/EntityMentionDataOrBuilder.java b/owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/EntityMentionDataOrBuilder.java similarity index 73% rename from java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/EntityMentionDataOrBuilder.java rename to owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/EntityMentionDataOrBuilder.java index 998caaca272b..c9d5746e0c58 100644 --- a/java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/EntityMentionDataOrBuilder.java +++ b/owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/EntityMentionDataOrBuilder.java @@ -1,107 +1,72 @@ -/* - * 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. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/contactcenterinsights/v1/resources.proto package com.google.cloud.contactcenterinsights.v1; -public interface EntityMentionDataOrBuilder - extends +public interface EntityMentionDataOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.contactcenterinsights.v1.EntityMentionData) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * The key of this entity in conversation entities.
    * Can be used to retrieve the exact `Entity` this mention is attached to.
    * 
* * string entity_unique_id = 1; - * * @return The entityUniqueId. */ java.lang.String getEntityUniqueId(); /** - * - * *
    * The key of this entity in conversation entities.
    * Can be used to retrieve the exact `Entity` this mention is attached to.
    * 
* * string entity_unique_id = 1; - * * @return The bytes for entityUniqueId. */ - com.google.protobuf.ByteString getEntityUniqueIdBytes(); + com.google.protobuf.ByteString + getEntityUniqueIdBytes(); /** - * - * *
    * The type of the entity mention.
    * 
* * .google.cloud.contactcenterinsights.v1.EntityMentionData.MentionType type = 2; - * * @return The enum numeric value on the wire for type. */ int getTypeValue(); /** - * - * *
    * The type of the entity mention.
    * 
* * .google.cloud.contactcenterinsights.v1.EntityMentionData.MentionType type = 2; - * * @return The type. */ com.google.cloud.contactcenterinsights.v1.EntityMentionData.MentionType getType(); /** - * - * *
    * Sentiment expressed for this mention of the entity.
    * 
* * .google.cloud.contactcenterinsights.v1.SentimentData sentiment = 3; - * * @return Whether the sentiment field is set. */ boolean hasSentiment(); /** - * - * *
    * Sentiment expressed for this mention of the entity.
    * 
* * .google.cloud.contactcenterinsights.v1.SentimentData sentiment = 3; - * * @return The sentiment. */ com.google.cloud.contactcenterinsights.v1.SentimentData getSentiment(); /** - * - * *
    * Sentiment expressed for this mention of the entity.
    * 
diff --git a/java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/EntityOrBuilder.java b/owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/EntityOrBuilder.java similarity index 78% rename from java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/EntityOrBuilder.java rename to owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/EntityOrBuilder.java index 75923c7cef75..674228ad7bff 100644 --- a/java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/EntityOrBuilder.java +++ b/owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/EntityOrBuilder.java @@ -1,81 +1,52 @@ -/* - * 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. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/contactcenterinsights/v1/resources.proto package com.google.cloud.contactcenterinsights.v1; -public interface EntityOrBuilder - extends +public interface EntityOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.contactcenterinsights.v1.Entity) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * The representative name for the entity.
    * 
* * string display_name = 1; - * * @return The displayName. */ java.lang.String getDisplayName(); /** - * - * *
    * The representative name for the entity.
    * 
* * string display_name = 1; - * * @return The bytes for displayName. */ - com.google.protobuf.ByteString getDisplayNameBytes(); + com.google.protobuf.ByteString + getDisplayNameBytes(); /** - * - * *
    * The entity type.
    * 
* * .google.cloud.contactcenterinsights.v1.Entity.Type type = 2; - * * @return The enum numeric value on the wire for type. */ int getTypeValue(); /** - * - * *
    * The entity type.
    * 
* * .google.cloud.contactcenterinsights.v1.Entity.Type type = 2; - * * @return The type. */ com.google.cloud.contactcenterinsights.v1.Entity.Type getType(); /** - * - * *
    * Metadata associated with the entity.
    * For most entity types, the metadata is a Wikipedia URL (`wikipedia_url`)
@@ -87,8 +58,6 @@ public interface EntityOrBuilder
    */
   int getMetadataCount();
   /**
-   *
-   *
    * 
    * Metadata associated with the entity.
    * For most entity types, the metadata is a Wikipedia URL (`wikipedia_url`)
@@ -98,13 +67,15 @@ public interface EntityOrBuilder
    *
    * map<string, string> metadata = 3;
    */
-  boolean containsMetadata(java.lang.String key);
-  /** Use {@link #getMetadataMap()} instead. */
+  boolean containsMetadata(
+      java.lang.String key);
+  /**
+   * Use {@link #getMetadataMap()} instead.
+   */
   @java.lang.Deprecated
-  java.util.Map getMetadata();
+  java.util.Map
+  getMetadata();
   /**
-   *
-   *
    * 
    * Metadata associated with the entity.
    * For most entity types, the metadata is a Wikipedia URL (`wikipedia_url`)
@@ -114,10 +85,9 @@ public interface EntityOrBuilder
    *
    * map<string, string> metadata = 3;
    */
-  java.util.Map getMetadataMap();
+  java.util.Map
+  getMetadataMap();
   /**
-   *
-   *
    * 
    * Metadata associated with the entity.
    * For most entity types, the metadata is a Wikipedia URL (`wikipedia_url`)
@@ -128,13 +98,11 @@ public interface EntityOrBuilder
    * map<string, string> metadata = 3;
    */
   /* nullable */
-  java.lang.String getMetadataOrDefault(
+java.lang.String getMetadataOrDefault(
       java.lang.String key,
       /* nullable */
-      java.lang.String defaultValue);
+java.lang.String defaultValue);
   /**
-   *
-   *
    * 
    * Metadata associated with the entity.
    * For most entity types, the metadata is a Wikipedia URL (`wikipedia_url`)
@@ -144,11 +112,10 @@ java.lang.String getMetadataOrDefault(
    *
    * map<string, string> metadata = 3;
    */
-  java.lang.String getMetadataOrThrow(java.lang.String key);
+  java.lang.String getMetadataOrThrow(
+      java.lang.String key);
 
   /**
-   *
-   *
    * 
    * The salience score associated with the entity in the [0, 1.0] range.
    * The salience score for an entity provides information about the
@@ -158,38 +125,29 @@ java.lang.String getMetadataOrDefault(
    * 
* * float salience = 4; - * * @return The salience. */ float getSalience(); /** - * - * *
    * The aggregate sentiment expressed for this entity in the conversation.
    * 
* * .google.cloud.contactcenterinsights.v1.SentimentData sentiment = 5; - * * @return Whether the sentiment field is set. */ boolean hasSentiment(); /** - * - * *
    * The aggregate sentiment expressed for this entity in the conversation.
    * 
* * .google.cloud.contactcenterinsights.v1.SentimentData sentiment = 5; - * * @return The sentiment. */ com.google.cloud.contactcenterinsights.v1.SentimentData getSentiment(); /** - * - * *
    * The aggregate sentiment expressed for this entity in the conversation.
    * 
diff --git a/java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ExactMatchConfig.java b/owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ExactMatchConfig.java similarity index 65% rename from java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ExactMatchConfig.java rename to owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ExactMatchConfig.java index 23f2b607c10b..e652a9e89162 100644 --- a/java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ExactMatchConfig.java +++ b/owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ExactMatchConfig.java @@ -1,81 +1,60 @@ -/* - * 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. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/contactcenterinsights/v1/resources.proto package com.google.cloud.contactcenterinsights.v1; /** - * - * *
  * Exact match configuration.
  * 
* * Protobuf type {@code google.cloud.contactcenterinsights.v1.ExactMatchConfig} */ -public final class ExactMatchConfig extends com.google.protobuf.GeneratedMessageV3 - implements +public final class ExactMatchConfig extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.contactcenterinsights.v1.ExactMatchConfig) ExactMatchConfigOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use ExactMatchConfig.newBuilder() to construct. private ExactMatchConfig(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - - private ExactMatchConfig() {} + private ExactMatchConfig() { + } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new ExactMatchConfig(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.contactcenterinsights.v1.ResourcesProto - .internal_static_google_cloud_contactcenterinsights_v1_ExactMatchConfig_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.contactcenterinsights.v1.ResourcesProto.internal_static_google_cloud_contactcenterinsights_v1_ExactMatchConfig_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.contactcenterinsights.v1.ResourcesProto - .internal_static_google_cloud_contactcenterinsights_v1_ExactMatchConfig_fieldAccessorTable + return com.google.cloud.contactcenterinsights.v1.ResourcesProto.internal_static_google_cloud_contactcenterinsights_v1_ExactMatchConfig_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.contactcenterinsights.v1.ExactMatchConfig.class, - com.google.cloud.contactcenterinsights.v1.ExactMatchConfig.Builder.class); + com.google.cloud.contactcenterinsights.v1.ExactMatchConfig.class, com.google.cloud.contactcenterinsights.v1.ExactMatchConfig.Builder.class); } public static final int CASE_SENSITIVE_FIELD_NUMBER = 1; private boolean caseSensitive_ = false; /** - * - * *
    * Whether to consider case sensitivity when performing an exact match.
    * 
* * bool case_sensitive = 1; - * * @return The caseSensitive. */ @java.lang.Override @@ -84,7 +63,6 @@ public boolean getCaseSensitive() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -96,7 +74,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (caseSensitive_ != false) { output.writeBool(1, caseSensitive_); } @@ -110,7 +89,8 @@ public int getSerializedSize() { size = 0; if (caseSensitive_ != false) { - size += com.google.protobuf.CodedOutputStream.computeBoolSize(1, caseSensitive_); + size += com.google.protobuf.CodedOutputStream + .computeBoolSize(1, caseSensitive_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -120,15 +100,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.contactcenterinsights.v1.ExactMatchConfig)) { return super.equals(obj); } - com.google.cloud.contactcenterinsights.v1.ExactMatchConfig other = - (com.google.cloud.contactcenterinsights.v1.ExactMatchConfig) obj; + com.google.cloud.contactcenterinsights.v1.ExactMatchConfig other = (com.google.cloud.contactcenterinsights.v1.ExactMatchConfig) obj; - if (getCaseSensitive() != other.getCaseSensitive()) return false; + if (getCaseSensitive() + != other.getCaseSensitive()) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -141,143 +121,137 @@ public int hashCode() { int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); hash = (37 * hash) + CASE_SENSITIVE_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getCaseSensitive()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( + getCaseSensitive()); hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } public static com.google.cloud.contactcenterinsights.v1.ExactMatchConfig parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.contactcenterinsights.v1.ExactMatchConfig parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.contactcenterinsights.v1.ExactMatchConfig parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.contactcenterinsights.v1.ExactMatchConfig parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.contactcenterinsights.v1.ExactMatchConfig parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.contactcenterinsights.v1.ExactMatchConfig parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.contactcenterinsights.v1.ExactMatchConfig parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.contactcenterinsights.v1.ExactMatchConfig parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.contactcenterinsights.v1.ExactMatchConfig parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.contactcenterinsights.v1.ExactMatchConfig parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.contactcenterinsights.v1.ExactMatchConfig parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.contactcenterinsights.v1.ExactMatchConfig parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.contactcenterinsights.v1.ExactMatchConfig parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.contactcenterinsights.v1.ExactMatchConfig parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.contactcenterinsights.v1.ExactMatchConfig prototype) { + public static Builder newBuilder(com.google.cloud.contactcenterinsights.v1.ExactMatchConfig prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Exact match configuration.
    * 
* * Protobuf type {@code google.cloud.contactcenterinsights.v1.ExactMatchConfig} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.contactcenterinsights.v1.ExactMatchConfig) com.google.cloud.contactcenterinsights.v1.ExactMatchConfigOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.contactcenterinsights.v1.ResourcesProto - .internal_static_google_cloud_contactcenterinsights_v1_ExactMatchConfig_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.contactcenterinsights.v1.ResourcesProto.internal_static_google_cloud_contactcenterinsights_v1_ExactMatchConfig_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.contactcenterinsights.v1.ResourcesProto - .internal_static_google_cloud_contactcenterinsights_v1_ExactMatchConfig_fieldAccessorTable + return com.google.cloud.contactcenterinsights.v1.ResourcesProto.internal_static_google_cloud_contactcenterinsights_v1_ExactMatchConfig_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.contactcenterinsights.v1.ExactMatchConfig.class, - com.google.cloud.contactcenterinsights.v1.ExactMatchConfig.Builder.class); + com.google.cloud.contactcenterinsights.v1.ExactMatchConfig.class, com.google.cloud.contactcenterinsights.v1.ExactMatchConfig.Builder.class); } // Construct using com.google.cloud.contactcenterinsights.v1.ExactMatchConfig.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -287,9 +261,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.contactcenterinsights.v1.ResourcesProto - .internal_static_google_cloud_contactcenterinsights_v1_ExactMatchConfig_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.contactcenterinsights.v1.ResourcesProto.internal_static_google_cloud_contactcenterinsights_v1_ExactMatchConfig_descriptor; } @java.lang.Override @@ -308,11 +282,8 @@ public com.google.cloud.contactcenterinsights.v1.ExactMatchConfig build() { @java.lang.Override public com.google.cloud.contactcenterinsights.v1.ExactMatchConfig buildPartial() { - com.google.cloud.contactcenterinsights.v1.ExactMatchConfig result = - new com.google.cloud.contactcenterinsights.v1.ExactMatchConfig(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + com.google.cloud.contactcenterinsights.v1.ExactMatchConfig result = new com.google.cloud.contactcenterinsights.v1.ExactMatchConfig(this); + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } @@ -328,39 +299,38 @@ private void buildPartial0(com.google.cloud.contactcenterinsights.v1.ExactMatchC public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.contactcenterinsights.v1.ExactMatchConfig) { - return mergeFrom((com.google.cloud.contactcenterinsights.v1.ExactMatchConfig) other); + return mergeFrom((com.google.cloud.contactcenterinsights.v1.ExactMatchConfig)other); } else { super.mergeFrom(other); return this; @@ -368,8 +338,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.contactcenterinsights.v1.ExactMatchConfig other) { - if (other == com.google.cloud.contactcenterinsights.v1.ExactMatchConfig.getDefaultInstance()) - return this; + if (other == com.google.cloud.contactcenterinsights.v1.ExactMatchConfig.getDefaultInstance()) return this; if (other.getCaseSensitive() != false) { setCaseSensitive(other.getCaseSensitive()); } @@ -399,19 +368,17 @@ public Builder mergeFrom( case 0: done = true; break; - case 8: - { - caseSensitive_ = input.readBool(); - bitField0_ |= 0x00000001; - break; - } // case 8 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 8: { + caseSensitive_ = input.readBool(); + bitField0_ |= 0x00000001; + break; + } // case 8 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -421,19 +388,15 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; - private boolean caseSensitive_; + private boolean caseSensitive_ ; /** - * - * *
      * Whether to consider case sensitivity when performing an exact match.
      * 
* * bool case_sensitive = 1; - * * @return The caseSensitive. */ @java.lang.Override @@ -441,33 +404,27 @@ public boolean getCaseSensitive() { return caseSensitive_; } /** - * - * *
      * Whether to consider case sensitivity when performing an exact match.
      * 
* * bool case_sensitive = 1; - * * @param value The caseSensitive to set. * @return This builder for chaining. */ public Builder setCaseSensitive(boolean value) { - + caseSensitive_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
      * Whether to consider case sensitivity when performing an exact match.
      * 
* * bool case_sensitive = 1; - * * @return This builder for chaining. */ public Builder clearCaseSensitive() { @@ -476,9 +433,9 @@ public Builder clearCaseSensitive() { onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -488,12 +445,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.contactcenterinsights.v1.ExactMatchConfig) } // @@protoc_insertion_point(class_scope:google.cloud.contactcenterinsights.v1.ExactMatchConfig) private static final com.google.cloud.contactcenterinsights.v1.ExactMatchConfig DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.contactcenterinsights.v1.ExactMatchConfig(); } @@ -502,27 +459,27 @@ public static com.google.cloud.contactcenterinsights.v1.ExactMatchConfig getDefa return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ExactMatchConfig parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ExactMatchConfig parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -537,4 +494,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.contactcenterinsights.v1.ExactMatchConfig getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ExactMatchConfigOrBuilder.java b/owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ExactMatchConfigOrBuilder.java new file mode 100644 index 000000000000..46f96da97e46 --- /dev/null +++ b/owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ExactMatchConfigOrBuilder.java @@ -0,0 +1,19 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/contactcenterinsights/v1/resources.proto + +package com.google.cloud.contactcenterinsights.v1; + +public interface ExactMatchConfigOrBuilder extends + // @@protoc_insertion_point(interface_extends:google.cloud.contactcenterinsights.v1.ExactMatchConfig) + com.google.protobuf.MessageOrBuilder { + + /** + *
+   * Whether to consider case sensitivity when performing an exact match.
+   * 
+ * + * bool case_sensitive = 1; + * @return The caseSensitive. + */ + boolean getCaseSensitive(); +} diff --git a/java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ExportInsightsDataMetadata.java b/owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ExportInsightsDataMetadata.java similarity index 68% rename from java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ExportInsightsDataMetadata.java rename to owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ExportInsightsDataMetadata.java index ee89525efd38..f9878050f278 100644 --- a/java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ExportInsightsDataMetadata.java +++ b/owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ExportInsightsDataMetadata.java @@ -1,84 +1,61 @@ -/* - * 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. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/contactcenterinsights/v1/contact_center_insights.proto package com.google.cloud.contactcenterinsights.v1; /** - * - * *
  * Metadata for an export insights operation.
  * 
* * Protobuf type {@code google.cloud.contactcenterinsights.v1.ExportInsightsDataMetadata} */ -public final class ExportInsightsDataMetadata extends com.google.protobuf.GeneratedMessageV3 - implements +public final class ExportInsightsDataMetadata extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.contactcenterinsights.v1.ExportInsightsDataMetadata) ExportInsightsDataMetadataOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use ExportInsightsDataMetadata.newBuilder() to construct. private ExportInsightsDataMetadata(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private ExportInsightsDataMetadata() { partialErrors_ = java.util.Collections.emptyList(); } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new ExportInsightsDataMetadata(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto - .internal_static_google_cloud_contactcenterinsights_v1_ExportInsightsDataMetadata_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto.internal_static_google_cloud_contactcenterinsights_v1_ExportInsightsDataMetadata_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto - .internal_static_google_cloud_contactcenterinsights_v1_ExportInsightsDataMetadata_fieldAccessorTable + return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto.internal_static_google_cloud_contactcenterinsights_v1_ExportInsightsDataMetadata_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.contactcenterinsights.v1.ExportInsightsDataMetadata.class, - com.google.cloud.contactcenterinsights.v1.ExportInsightsDataMetadata.Builder.class); + com.google.cloud.contactcenterinsights.v1.ExportInsightsDataMetadata.class, com.google.cloud.contactcenterinsights.v1.ExportInsightsDataMetadata.Builder.class); } public static final int CREATE_TIME_FIELD_NUMBER = 1; private com.google.protobuf.Timestamp createTime_; /** - * - * *
    * Output only. The time the operation was created.
    * 
* - * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the createTime field is set. */ @java.lang.Override @@ -86,15 +63,11 @@ public boolean hasCreateTime() { return createTime_ != null; } /** - * - * *
    * Output only. The time the operation was created.
    * 
* - * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The createTime. */ @java.lang.Override @@ -102,14 +75,11 @@ public com.google.protobuf.Timestamp getCreateTime() { return createTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : createTime_; } /** - * - * *
    * Output only. The time the operation was created.
    * 
* - * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ @java.lang.Override public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { @@ -119,15 +89,11 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { public static final int END_TIME_FIELD_NUMBER = 2; private com.google.protobuf.Timestamp endTime_; /** - * - * *
    * Output only. The time the operation finished running.
    * 
* - * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the endTime field is set. */ @java.lang.Override @@ -135,15 +101,11 @@ public boolean hasEndTime() { return endTime_ != null; } /** - * - * *
    * Output only. The time the operation finished running.
    * 
* - * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The endTime. */ @java.lang.Override @@ -151,14 +113,11 @@ public com.google.protobuf.Timestamp getEndTime() { return endTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : endTime_; } /** - * - * *
    * Output only. The time the operation finished running.
    * 
* - * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ @java.lang.Override public com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder() { @@ -168,14 +127,11 @@ public com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder() { public static final int REQUEST_FIELD_NUMBER = 3; private com.google.cloud.contactcenterinsights.v1.ExportInsightsDataRequest request_; /** - * - * *
    * The original request for export.
    * 
* * .google.cloud.contactcenterinsights.v1.ExportInsightsDataRequest request = 3; - * * @return Whether the request field is set. */ @java.lang.Override @@ -183,25 +139,18 @@ public boolean hasRequest() { return request_ != null; } /** - * - * *
    * The original request for export.
    * 
* * .google.cloud.contactcenterinsights.v1.ExportInsightsDataRequest request = 3; - * * @return The request. */ @java.lang.Override public com.google.cloud.contactcenterinsights.v1.ExportInsightsDataRequest getRequest() { - return request_ == null - ? com.google.cloud.contactcenterinsights.v1.ExportInsightsDataRequest.getDefaultInstance() - : request_; + return request_ == null ? com.google.cloud.contactcenterinsights.v1.ExportInsightsDataRequest.getDefaultInstance() : request_; } /** - * - * *
    * The original request for export.
    * 
@@ -209,20 +158,14 @@ public com.google.cloud.contactcenterinsights.v1.ExportInsightsDataRequest getRe * .google.cloud.contactcenterinsights.v1.ExportInsightsDataRequest request = 3; */ @java.lang.Override - public com.google.cloud.contactcenterinsights.v1.ExportInsightsDataRequestOrBuilder - getRequestOrBuilder() { - return request_ == null - ? com.google.cloud.contactcenterinsights.v1.ExportInsightsDataRequest.getDefaultInstance() - : request_; + public com.google.cloud.contactcenterinsights.v1.ExportInsightsDataRequestOrBuilder getRequestOrBuilder() { + return request_ == null ? com.google.cloud.contactcenterinsights.v1.ExportInsightsDataRequest.getDefaultInstance() : request_; } public static final int PARTIAL_ERRORS_FIELD_NUMBER = 4; - @SuppressWarnings("serial") private java.util.List partialErrors_; /** - * - * *
    * Partial errors during export operation that might cause the operation
    * output to be incomplete.
@@ -235,8 +178,6 @@ public java.util.List getPartialErrorsList() {
     return partialErrors_;
   }
   /**
-   *
-   *
    * 
    * Partial errors during export operation that might cause the operation
    * output to be incomplete.
@@ -245,12 +186,11 @@ public java.util.List getPartialErrorsList() {
    * repeated .google.rpc.Status partial_errors = 4;
    */
   @java.lang.Override
-  public java.util.List getPartialErrorsOrBuilderList() {
+  public java.util.List 
+      getPartialErrorsOrBuilderList() {
     return partialErrors_;
   }
   /**
-   *
-   *
    * 
    * Partial errors during export operation that might cause the operation
    * output to be incomplete.
@@ -263,8 +203,6 @@ public int getPartialErrorsCount() {
     return partialErrors_.size();
   }
   /**
-   *
-   *
    * 
    * Partial errors during export operation that might cause the operation
    * output to be incomplete.
@@ -277,8 +215,6 @@ public com.google.rpc.Status getPartialErrors(int index) {
     return partialErrors_.get(index);
   }
   /**
-   *
-   *
    * 
    * Partial errors during export operation that might cause the operation
    * output to be incomplete.
@@ -287,12 +223,12 @@ public com.google.rpc.Status getPartialErrors(int index) {
    * repeated .google.rpc.Status partial_errors = 4;
    */
   @java.lang.Override
-  public com.google.rpc.StatusOrBuilder getPartialErrorsOrBuilder(int index) {
+  public com.google.rpc.StatusOrBuilder getPartialErrorsOrBuilder(
+      int index) {
     return partialErrors_.get(index);
   }
 
   private byte memoizedIsInitialized = -1;
-
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -304,7 +240,8 @@ public final boolean isInitialized() {
   }
 
   @java.lang.Override
-  public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
+  public void writeTo(com.google.protobuf.CodedOutputStream output)
+                      throws java.io.IOException {
     if (createTime_ != null) {
       output.writeMessage(1, getCreateTime());
     }
@@ -327,16 +264,20 @@ public int getSerializedSize() {
 
     size = 0;
     if (createTime_ != null) {
-      size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getCreateTime());
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(1, getCreateTime());
     }
     if (endTime_ != null) {
-      size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getEndTime());
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(2, getEndTime());
     }
     if (request_ != null) {
-      size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getRequest());
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(3, getRequest());
     }
     for (int i = 0; i < partialErrors_.size(); i++) {
-      size += com.google.protobuf.CodedOutputStream.computeMessageSize(4, partialErrors_.get(i));
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(4, partialErrors_.get(i));
     }
     size += getUnknownFields().getSerializedSize();
     memoizedSize = size;
@@ -346,27 +287,30 @@ public int getSerializedSize() {
   @java.lang.Override
   public boolean equals(final java.lang.Object obj) {
     if (obj == this) {
-      return true;
+     return true;
     }
     if (!(obj instanceof com.google.cloud.contactcenterinsights.v1.ExportInsightsDataMetadata)) {
       return super.equals(obj);
     }
-    com.google.cloud.contactcenterinsights.v1.ExportInsightsDataMetadata other =
-        (com.google.cloud.contactcenterinsights.v1.ExportInsightsDataMetadata) obj;
+    com.google.cloud.contactcenterinsights.v1.ExportInsightsDataMetadata other = (com.google.cloud.contactcenterinsights.v1.ExportInsightsDataMetadata) obj;
 
     if (hasCreateTime() != other.hasCreateTime()) return false;
     if (hasCreateTime()) {
-      if (!getCreateTime().equals(other.getCreateTime())) return false;
+      if (!getCreateTime()
+          .equals(other.getCreateTime())) return false;
     }
     if (hasEndTime() != other.hasEndTime()) return false;
     if (hasEndTime()) {
-      if (!getEndTime().equals(other.getEndTime())) return false;
+      if (!getEndTime()
+          .equals(other.getEndTime())) return false;
     }
     if (hasRequest() != other.hasRequest()) return false;
     if (hasRequest()) {
-      if (!getRequest().equals(other.getRequest())) return false;
+      if (!getRequest()
+          .equals(other.getRequest())) return false;
     }
-    if (!getPartialErrorsList().equals(other.getPartialErrorsList())) return false;
+    if (!getPartialErrorsList()
+        .equals(other.getPartialErrorsList())) return false;
     if (!getUnknownFields().equals(other.getUnknownFields())) return false;
     return true;
   }
@@ -400,138 +344,129 @@ public int hashCode() {
   }
 
   public static com.google.cloud.contactcenterinsights.v1.ExportInsightsDataMetadata parseFrom(
-      java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException {
+      java.nio.ByteBuffer data)
+      throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.cloud.contactcenterinsights.v1.ExportInsightsDataMetadata parseFrom(
-      java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.nio.ByteBuffer data,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
   public static com.google.cloud.contactcenterinsights.v1.ExportInsightsDataMetadata parseFrom(
       com.google.protobuf.ByteString data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.cloud.contactcenterinsights.v1.ExportInsightsDataMetadata parseFrom(
       com.google.protobuf.ByteString data,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
-  public static com.google.cloud.contactcenterinsights.v1.ExportInsightsDataMetadata parseFrom(
-      byte[] data) throws com.google.protobuf.InvalidProtocolBufferException {
+  public static com.google.cloud.contactcenterinsights.v1.ExportInsightsDataMetadata parseFrom(byte[] data)
+      throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.cloud.contactcenterinsights.v1.ExportInsightsDataMetadata parseFrom(
-      byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      byte[] data,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
-  public static com.google.cloud.contactcenterinsights.v1.ExportInsightsDataMetadata parseFrom(
-      java.io.InputStream input) throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+  public static com.google.cloud.contactcenterinsights.v1.ExportInsightsDataMetadata parseFrom(java.io.InputStream input)
+      throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input);
   }
-
   public static com.google.cloud.contactcenterinsights.v1.ExportInsightsDataMetadata parseFrom(
-      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input, extensionRegistry);
   }
-
-  public static com.google.cloud.contactcenterinsights.v1.ExportInsightsDataMetadata
-      parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
+  public static com.google.cloud.contactcenterinsights.v1.ExportInsightsDataMetadata parseDelimitedFrom(java.io.InputStream input)
+      throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3
+        .parseDelimitedWithIOException(PARSER, input);
   }
-
-  public static com.google.cloud.contactcenterinsights.v1.ExportInsightsDataMetadata
-      parseDelimitedFrom(
-          java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-          throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(
-        PARSER, input, extensionRegistry);
+  public static com.google.cloud.contactcenterinsights.v1.ExportInsightsDataMetadata parseDelimitedFrom(
+      java.io.InputStream input,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3
+        .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
   }
-
   public static com.google.cloud.contactcenterinsights.v1.ExportInsightsDataMetadata parseFrom(
-      com.google.protobuf.CodedInputStream input) throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+      com.google.protobuf.CodedInputStream input)
+      throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input);
   }
-
   public static com.google.cloud.contactcenterinsights.v1.ExportInsightsDataMetadata parseFrom(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input, extensionRegistry);
   }
 
   @java.lang.Override
-  public Builder newBuilderForType() {
-    return newBuilder();
-  }
-
+  public Builder newBuilderForType() { return newBuilder(); }
   public static Builder newBuilder() {
     return DEFAULT_INSTANCE.toBuilder();
   }
-
-  public static Builder newBuilder(
-      com.google.cloud.contactcenterinsights.v1.ExportInsightsDataMetadata prototype) {
+  public static Builder newBuilder(com.google.cloud.contactcenterinsights.v1.ExportInsightsDataMetadata prototype) {
     return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
   }
-
   @java.lang.Override
   public Builder toBuilder() {
-    return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
+    return this == DEFAULT_INSTANCE
+        ? new Builder() : new Builder().mergeFrom(this);
   }
 
   @java.lang.Override
-  protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+  protected Builder newBuilderForType(
+      com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
     Builder builder = new Builder(parent);
     return builder;
   }
   /**
-   *
-   *
    * 
    * Metadata for an export insights operation.
    * 
* * Protobuf type {@code google.cloud.contactcenterinsights.v1.ExportInsightsDataMetadata} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.contactcenterinsights.v1.ExportInsightsDataMetadata) com.google.cloud.contactcenterinsights.v1.ExportInsightsDataMetadataOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto - .internal_static_google_cloud_contactcenterinsights_v1_ExportInsightsDataMetadata_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto.internal_static_google_cloud_contactcenterinsights_v1_ExportInsightsDataMetadata_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto - .internal_static_google_cloud_contactcenterinsights_v1_ExportInsightsDataMetadata_fieldAccessorTable + return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto.internal_static_google_cloud_contactcenterinsights_v1_ExportInsightsDataMetadata_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.contactcenterinsights.v1.ExportInsightsDataMetadata.class, - com.google.cloud.contactcenterinsights.v1.ExportInsightsDataMetadata.Builder.class); + com.google.cloud.contactcenterinsights.v1.ExportInsightsDataMetadata.class, com.google.cloud.contactcenterinsights.v1.ExportInsightsDataMetadata.Builder.class); } - // Construct using - // com.google.cloud.contactcenterinsights.v1.ExportInsightsDataMetadata.newBuilder() - private Builder() {} + // Construct using com.google.cloud.contactcenterinsights.v1.ExportInsightsDataMetadata.newBuilder() + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -562,16 +497,14 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto - .internal_static_google_cloud_contactcenterinsights_v1_ExportInsightsDataMetadata_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto.internal_static_google_cloud_contactcenterinsights_v1_ExportInsightsDataMetadata_descriptor; } @java.lang.Override - public com.google.cloud.contactcenterinsights.v1.ExportInsightsDataMetadata - getDefaultInstanceForType() { - return com.google.cloud.contactcenterinsights.v1.ExportInsightsDataMetadata - .getDefaultInstance(); + public com.google.cloud.contactcenterinsights.v1.ExportInsightsDataMetadata getDefaultInstanceForType() { + return com.google.cloud.contactcenterinsights.v1.ExportInsightsDataMetadata.getDefaultInstance(); } @java.lang.Override @@ -585,18 +518,14 @@ public com.google.cloud.contactcenterinsights.v1.ExportInsightsDataMetadata buil @java.lang.Override public com.google.cloud.contactcenterinsights.v1.ExportInsightsDataMetadata buildPartial() { - com.google.cloud.contactcenterinsights.v1.ExportInsightsDataMetadata result = - new com.google.cloud.contactcenterinsights.v1.ExportInsightsDataMetadata(this); + com.google.cloud.contactcenterinsights.v1.ExportInsightsDataMetadata result = new com.google.cloud.contactcenterinsights.v1.ExportInsightsDataMetadata(this); buildPartialRepeatedFields(result); - if (bitField0_ != 0) { - buildPartial0(result); - } + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } - private void buildPartialRepeatedFields( - com.google.cloud.contactcenterinsights.v1.ExportInsightsDataMetadata result) { + private void buildPartialRepeatedFields(com.google.cloud.contactcenterinsights.v1.ExportInsightsDataMetadata result) { if (partialErrorsBuilder_ == null) { if (((bitField0_ & 0x00000008) != 0)) { partialErrors_ = java.util.Collections.unmodifiableList(partialErrors_); @@ -608,17 +537,22 @@ private void buildPartialRepeatedFields( } } - private void buildPartial0( - com.google.cloud.contactcenterinsights.v1.ExportInsightsDataMetadata result) { + private void buildPartial0(com.google.cloud.contactcenterinsights.v1.ExportInsightsDataMetadata result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { - result.createTime_ = createTimeBuilder_ == null ? createTime_ : createTimeBuilder_.build(); + result.createTime_ = createTimeBuilder_ == null + ? createTime_ + : createTimeBuilder_.build(); } if (((from_bitField0_ & 0x00000002) != 0)) { - result.endTime_ = endTimeBuilder_ == null ? endTime_ : endTimeBuilder_.build(); + result.endTime_ = endTimeBuilder_ == null + ? endTime_ + : endTimeBuilder_.build(); } if (((from_bitField0_ & 0x00000004) != 0)) { - result.request_ = requestBuilder_ == null ? request_ : requestBuilder_.build(); + result.request_ = requestBuilder_ == null + ? request_ + : requestBuilder_.build(); } } @@ -626,51 +560,46 @@ private void buildPartial0( public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.contactcenterinsights.v1.ExportInsightsDataMetadata) { - return mergeFrom( - (com.google.cloud.contactcenterinsights.v1.ExportInsightsDataMetadata) other); + return mergeFrom((com.google.cloud.contactcenterinsights.v1.ExportInsightsDataMetadata)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom( - com.google.cloud.contactcenterinsights.v1.ExportInsightsDataMetadata other) { - if (other - == com.google.cloud.contactcenterinsights.v1.ExportInsightsDataMetadata - .getDefaultInstance()) return this; + public Builder mergeFrom(com.google.cloud.contactcenterinsights.v1.ExportInsightsDataMetadata other) { + if (other == com.google.cloud.contactcenterinsights.v1.ExportInsightsDataMetadata.getDefaultInstance()) return this; if (other.hasCreateTime()) { mergeCreateTime(other.getCreateTime()); } @@ -698,10 +627,9 @@ public Builder mergeFrom( partialErrorsBuilder_ = null; partialErrors_ = other.partialErrors_; bitField0_ = (bitField0_ & ~0x00000008); - partialErrorsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders - ? getPartialErrorsFieldBuilder() - : null; + partialErrorsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getPartialErrorsFieldBuilder() : null; } else { partialErrorsBuilder_.addAllMessages(other.partialErrors_); } @@ -733,43 +661,46 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - input.readMessage(getCreateTimeFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: - { - input.readMessage(getEndTimeFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00000002; - break; - } // case 18 - case 26: - { - input.readMessage(getRequestFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00000004; - break; - } // case 26 - case 34: - { - com.google.rpc.Status m = - input.readMessage(com.google.rpc.Status.parser(), extensionRegistry); - if (partialErrorsBuilder_ == null) { - ensurePartialErrorsIsMutable(); - partialErrors_.add(m); - } else { - partialErrorsBuilder_.addMessage(m); - } - break; - } // case 34 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + input.readMessage( + getCreateTimeFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: { + input.readMessage( + getEndTimeFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00000002; + break; + } // case 18 + case 26: { + input.readMessage( + getRequestFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00000004; + break; + } // case 26 + case 34: { + com.google.rpc.Status m = + input.readMessage( + com.google.rpc.Status.parser(), + extensionRegistry); + if (partialErrorsBuilder_ == null) { + ensurePartialErrorsIsMutable(); + partialErrors_.add(m); + } else { + partialErrorsBuilder_.addMessage(m); + } + break; + } // case 34 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -779,63 +710,43 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private com.google.protobuf.Timestamp createTime_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> - createTimeBuilder_; + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> createTimeBuilder_; /** - * - * *
      * Output only. The time the operation was created.
      * 
* - * - * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the createTime field is set. */ public boolean hasCreateTime() { return ((bitField0_ & 0x00000001) != 0); } /** - * - * *
      * Output only. The time the operation was created.
      * 
* - * - * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The createTime. */ public com.google.protobuf.Timestamp getCreateTime() { if (createTimeBuilder_ == null) { - return createTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : createTime_; + return createTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : createTime_; } else { return createTimeBuilder_.getMessage(); } } /** - * - * *
      * Output only. The time the operation was created.
      * 
* - * - * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder setCreateTime(com.google.protobuf.Timestamp value) { if (createTimeBuilder_ == null) { @@ -851,17 +762,14 @@ public Builder setCreateTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * Output only. The time the operation was created.
      * 
* - * - * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - public Builder setCreateTime(com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setCreateTime( + com.google.protobuf.Timestamp.Builder builderForValue) { if (createTimeBuilder_ == null) { createTime_ = builderForValue.build(); } else { @@ -872,21 +780,17 @@ public Builder setCreateTime(com.google.protobuf.Timestamp.Builder builderForVal return this; } /** - * - * *
      * Output only. The time the operation was created.
      * 
* - * - * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder mergeCreateTime(com.google.protobuf.Timestamp value) { if (createTimeBuilder_ == null) { - if (((bitField0_ & 0x00000001) != 0) - && createTime_ != null - && createTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { + if (((bitField0_ & 0x00000001) != 0) && + createTime_ != null && + createTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { getCreateTimeBuilder().mergeFrom(value); } else { createTime_ = value; @@ -899,15 +803,11 @@ public Builder mergeCreateTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * Output only. The time the operation was created.
      * 
* - * - * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder clearCreateTime() { bitField0_ = (bitField0_ & ~0x00000001); @@ -920,15 +820,11 @@ public Builder clearCreateTime() { return this; } /** - * - * *
      * Output only. The time the operation was created.
      * 
* - * - * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public com.google.protobuf.Timestamp.Builder getCreateTimeBuilder() { bitField0_ |= 0x00000001; @@ -936,48 +832,36 @@ public com.google.protobuf.Timestamp.Builder getCreateTimeBuilder() { return getCreateTimeFieldBuilder().getBuilder(); } /** - * - * *
      * Output only. The time the operation was created.
      * 
* - * - * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { if (createTimeBuilder_ != null) { return createTimeBuilder_.getMessageOrBuilder(); } else { - return createTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : createTime_; + return createTime_ == null ? + com.google.protobuf.Timestamp.getDefaultInstance() : createTime_; } } /** - * - * *
      * Output only. The time the operation was created.
      * 
* - * - * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> getCreateTimeFieldBuilder() { if (createTimeBuilder_ == null) { - createTimeBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder>( - getCreateTime(), getParentForChildren(), isClean()); + createTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( + getCreateTime(), + getParentForChildren(), + isClean()); createTime_ = null; } return createTimeBuilder_; @@ -985,35 +869,24 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { private com.google.protobuf.Timestamp endTime_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> - endTimeBuilder_; + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> endTimeBuilder_; /** - * - * *
      * Output only. The time the operation finished running.
      * 
* - * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the endTime field is set. */ public boolean hasEndTime() { return ((bitField0_ & 0x00000002) != 0); } /** - * - * *
      * Output only. The time the operation finished running.
      * 
* - * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The endTime. */ public com.google.protobuf.Timestamp getEndTime() { @@ -1024,14 +897,11 @@ public com.google.protobuf.Timestamp getEndTime() { } } /** - * - * *
      * Output only. The time the operation finished running.
      * 
* - * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder setEndTime(com.google.protobuf.Timestamp value) { if (endTimeBuilder_ == null) { @@ -1047,16 +917,14 @@ public Builder setEndTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * Output only. The time the operation finished running.
      * 
* - * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - public Builder setEndTime(com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setEndTime( + com.google.protobuf.Timestamp.Builder builderForValue) { if (endTimeBuilder_ == null) { endTime_ = builderForValue.build(); } else { @@ -1067,20 +935,17 @@ public Builder setEndTime(com.google.protobuf.Timestamp.Builder builderForValue) return this; } /** - * - * *
      * Output only. The time the operation finished running.
      * 
* - * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder mergeEndTime(com.google.protobuf.Timestamp value) { if (endTimeBuilder_ == null) { - if (((bitField0_ & 0x00000002) != 0) - && endTime_ != null - && endTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { + if (((bitField0_ & 0x00000002) != 0) && + endTime_ != null && + endTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { getEndTimeBuilder().mergeFrom(value); } else { endTime_ = value; @@ -1093,14 +958,11 @@ public Builder mergeEndTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * Output only. The time the operation finished running.
      * 
* - * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder clearEndTime() { bitField0_ = (bitField0_ & ~0x00000002); @@ -1113,14 +975,11 @@ public Builder clearEndTime() { return this; } /** - * - * *
      * Output only. The time the operation finished running.
      * 
* - * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public com.google.protobuf.Timestamp.Builder getEndTimeBuilder() { bitField0_ |= 0x00000002; @@ -1128,44 +987,36 @@ public com.google.protobuf.Timestamp.Builder getEndTimeBuilder() { return getEndTimeFieldBuilder().getBuilder(); } /** - * - * *
      * Output only. The time the operation finished running.
      * 
* - * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder() { if (endTimeBuilder_ != null) { return endTimeBuilder_.getMessageOrBuilder(); } else { - return endTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : endTime_; + return endTime_ == null ? + com.google.protobuf.Timestamp.getDefaultInstance() : endTime_; } } /** - * - * *
      * Output only. The time the operation finished running.
      * 
* - * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> getEndTimeFieldBuilder() { if (endTimeBuilder_ == null) { - endTimeBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder>( - getEndTime(), getParentForChildren(), isClean()); + endTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( + getEndTime(), + getParentForChildren(), + isClean()); endTime_ = null; } return endTimeBuilder_; @@ -1173,56 +1024,41 @@ public com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder() { private com.google.cloud.contactcenterinsights.v1.ExportInsightsDataRequest request_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.contactcenterinsights.v1.ExportInsightsDataRequest, - com.google.cloud.contactcenterinsights.v1.ExportInsightsDataRequest.Builder, - com.google.cloud.contactcenterinsights.v1.ExportInsightsDataRequestOrBuilder> - requestBuilder_; + com.google.cloud.contactcenterinsights.v1.ExportInsightsDataRequest, com.google.cloud.contactcenterinsights.v1.ExportInsightsDataRequest.Builder, com.google.cloud.contactcenterinsights.v1.ExportInsightsDataRequestOrBuilder> requestBuilder_; /** - * - * *
      * The original request for export.
      * 
* * .google.cloud.contactcenterinsights.v1.ExportInsightsDataRequest request = 3; - * * @return Whether the request field is set. */ public boolean hasRequest() { return ((bitField0_ & 0x00000004) != 0); } /** - * - * *
      * The original request for export.
      * 
* * .google.cloud.contactcenterinsights.v1.ExportInsightsDataRequest request = 3; - * * @return The request. */ public com.google.cloud.contactcenterinsights.v1.ExportInsightsDataRequest getRequest() { if (requestBuilder_ == null) { - return request_ == null - ? com.google.cloud.contactcenterinsights.v1.ExportInsightsDataRequest - .getDefaultInstance() - : request_; + return request_ == null ? com.google.cloud.contactcenterinsights.v1.ExportInsightsDataRequest.getDefaultInstance() : request_; } else { return requestBuilder_.getMessage(); } } /** - * - * *
      * The original request for export.
      * 
* * .google.cloud.contactcenterinsights.v1.ExportInsightsDataRequest request = 3; */ - public Builder setRequest( - com.google.cloud.contactcenterinsights.v1.ExportInsightsDataRequest value) { + public Builder setRequest(com.google.cloud.contactcenterinsights.v1.ExportInsightsDataRequest value) { if (requestBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -1236,8 +1072,6 @@ public Builder setRequest( return this; } /** - * - * *
      * The original request for export.
      * 
@@ -1245,8 +1079,7 @@ public Builder setRequest( * .google.cloud.contactcenterinsights.v1.ExportInsightsDataRequest request = 3; */ public Builder setRequest( - com.google.cloud.contactcenterinsights.v1.ExportInsightsDataRequest.Builder - builderForValue) { + com.google.cloud.contactcenterinsights.v1.ExportInsightsDataRequest.Builder builderForValue) { if (requestBuilder_ == null) { request_ = builderForValue.build(); } else { @@ -1257,22 +1090,17 @@ public Builder setRequest( return this; } /** - * - * *
      * The original request for export.
      * 
* * .google.cloud.contactcenterinsights.v1.ExportInsightsDataRequest request = 3; */ - public Builder mergeRequest( - com.google.cloud.contactcenterinsights.v1.ExportInsightsDataRequest value) { + public Builder mergeRequest(com.google.cloud.contactcenterinsights.v1.ExportInsightsDataRequest value) { if (requestBuilder_ == null) { - if (((bitField0_ & 0x00000004) != 0) - && request_ != null - && request_ - != com.google.cloud.contactcenterinsights.v1.ExportInsightsDataRequest - .getDefaultInstance()) { + if (((bitField0_ & 0x00000004) != 0) && + request_ != null && + request_ != com.google.cloud.contactcenterinsights.v1.ExportInsightsDataRequest.getDefaultInstance()) { getRequestBuilder().mergeFrom(value); } else { request_ = value; @@ -1285,8 +1113,6 @@ public Builder mergeRequest( return this; } /** - * - * *
      * The original request for export.
      * 
@@ -1304,43 +1130,33 @@ public Builder clearRequest() { return this; } /** - * - * *
      * The original request for export.
      * 
* * .google.cloud.contactcenterinsights.v1.ExportInsightsDataRequest request = 3; */ - public com.google.cloud.contactcenterinsights.v1.ExportInsightsDataRequest.Builder - getRequestBuilder() { + public com.google.cloud.contactcenterinsights.v1.ExportInsightsDataRequest.Builder getRequestBuilder() { bitField0_ |= 0x00000004; onChanged(); return getRequestFieldBuilder().getBuilder(); } /** - * - * *
      * The original request for export.
      * 
* * .google.cloud.contactcenterinsights.v1.ExportInsightsDataRequest request = 3; */ - public com.google.cloud.contactcenterinsights.v1.ExportInsightsDataRequestOrBuilder - getRequestOrBuilder() { + public com.google.cloud.contactcenterinsights.v1.ExportInsightsDataRequestOrBuilder getRequestOrBuilder() { if (requestBuilder_ != null) { return requestBuilder_.getMessageOrBuilder(); } else { - return request_ == null - ? com.google.cloud.contactcenterinsights.v1.ExportInsightsDataRequest - .getDefaultInstance() - : request_; + return request_ == null ? + com.google.cloud.contactcenterinsights.v1.ExportInsightsDataRequest.getDefaultInstance() : request_; } } /** - * - * *
      * The original request for export.
      * 
@@ -1348,39 +1164,32 @@ public Builder clearRequest() { * .google.cloud.contactcenterinsights.v1.ExportInsightsDataRequest request = 3; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.contactcenterinsights.v1.ExportInsightsDataRequest, - com.google.cloud.contactcenterinsights.v1.ExportInsightsDataRequest.Builder, - com.google.cloud.contactcenterinsights.v1.ExportInsightsDataRequestOrBuilder> + com.google.cloud.contactcenterinsights.v1.ExportInsightsDataRequest, com.google.cloud.contactcenterinsights.v1.ExportInsightsDataRequest.Builder, com.google.cloud.contactcenterinsights.v1.ExportInsightsDataRequestOrBuilder> getRequestFieldBuilder() { if (requestBuilder_ == null) { - requestBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.contactcenterinsights.v1.ExportInsightsDataRequest, - com.google.cloud.contactcenterinsights.v1.ExportInsightsDataRequest.Builder, - com.google.cloud.contactcenterinsights.v1.ExportInsightsDataRequestOrBuilder>( - getRequest(), getParentForChildren(), isClean()); + requestBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.contactcenterinsights.v1.ExportInsightsDataRequest, com.google.cloud.contactcenterinsights.v1.ExportInsightsDataRequest.Builder, com.google.cloud.contactcenterinsights.v1.ExportInsightsDataRequestOrBuilder>( + getRequest(), + getParentForChildren(), + isClean()); request_ = null; } return requestBuilder_; } private java.util.List partialErrors_ = - java.util.Collections.emptyList(); - + java.util.Collections.emptyList(); private void ensurePartialErrorsIsMutable() { if (!((bitField0_ & 0x00000008) != 0)) { partialErrors_ = new java.util.ArrayList(partialErrors_); bitField0_ |= 0x00000008; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.rpc.Status, com.google.rpc.Status.Builder, com.google.rpc.StatusOrBuilder> - partialErrorsBuilder_; + com.google.rpc.Status, com.google.rpc.Status.Builder, com.google.rpc.StatusOrBuilder> partialErrorsBuilder_; /** - * - * *
      * Partial errors during export operation that might cause the operation
      * output to be incomplete.
@@ -1396,8 +1205,6 @@ public java.util.List getPartialErrorsList() {
       }
     }
     /**
-     *
-     *
      * 
      * Partial errors during export operation that might cause the operation
      * output to be incomplete.
@@ -1413,8 +1220,6 @@ public int getPartialErrorsCount() {
       }
     }
     /**
-     *
-     *
      * 
      * Partial errors during export operation that might cause the operation
      * output to be incomplete.
@@ -1430,8 +1235,6 @@ public com.google.rpc.Status getPartialErrors(int index) {
       }
     }
     /**
-     *
-     *
      * 
      * Partial errors during export operation that might cause the operation
      * output to be incomplete.
@@ -1439,7 +1242,8 @@ public com.google.rpc.Status getPartialErrors(int index) {
      *
      * repeated .google.rpc.Status partial_errors = 4;
      */
-    public Builder setPartialErrors(int index, com.google.rpc.Status value) {
+    public Builder setPartialErrors(
+        int index, com.google.rpc.Status value) {
       if (partialErrorsBuilder_ == null) {
         if (value == null) {
           throw new NullPointerException();
@@ -1453,8 +1257,6 @@ public Builder setPartialErrors(int index, com.google.rpc.Status value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * Partial errors during export operation that might cause the operation
      * output to be incomplete.
@@ -1462,7 +1264,8 @@ public Builder setPartialErrors(int index, com.google.rpc.Status value) {
      *
      * repeated .google.rpc.Status partial_errors = 4;
      */
-    public Builder setPartialErrors(int index, com.google.rpc.Status.Builder builderForValue) {
+    public Builder setPartialErrors(
+        int index, com.google.rpc.Status.Builder builderForValue) {
       if (partialErrorsBuilder_ == null) {
         ensurePartialErrorsIsMutable();
         partialErrors_.set(index, builderForValue.build());
@@ -1473,8 +1276,6 @@ public Builder setPartialErrors(int index, com.google.rpc.Status.Builder builder
       return this;
     }
     /**
-     *
-     *
      * 
      * Partial errors during export operation that might cause the operation
      * output to be incomplete.
@@ -1496,8 +1297,6 @@ public Builder addPartialErrors(com.google.rpc.Status value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * Partial errors during export operation that might cause the operation
      * output to be incomplete.
@@ -1505,7 +1304,8 @@ public Builder addPartialErrors(com.google.rpc.Status value) {
      *
      * repeated .google.rpc.Status partial_errors = 4;
      */
-    public Builder addPartialErrors(int index, com.google.rpc.Status value) {
+    public Builder addPartialErrors(
+        int index, com.google.rpc.Status value) {
       if (partialErrorsBuilder_ == null) {
         if (value == null) {
           throw new NullPointerException();
@@ -1519,8 +1319,6 @@ public Builder addPartialErrors(int index, com.google.rpc.Status value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * Partial errors during export operation that might cause the operation
      * output to be incomplete.
@@ -1528,7 +1326,8 @@ public Builder addPartialErrors(int index, com.google.rpc.Status value) {
      *
      * repeated .google.rpc.Status partial_errors = 4;
      */
-    public Builder addPartialErrors(com.google.rpc.Status.Builder builderForValue) {
+    public Builder addPartialErrors(
+        com.google.rpc.Status.Builder builderForValue) {
       if (partialErrorsBuilder_ == null) {
         ensurePartialErrorsIsMutable();
         partialErrors_.add(builderForValue.build());
@@ -1539,8 +1338,6 @@ public Builder addPartialErrors(com.google.rpc.Status.Builder builderForValue) {
       return this;
     }
     /**
-     *
-     *
      * 
      * Partial errors during export operation that might cause the operation
      * output to be incomplete.
@@ -1548,7 +1345,8 @@ public Builder addPartialErrors(com.google.rpc.Status.Builder builderForValue) {
      *
      * repeated .google.rpc.Status partial_errors = 4;
      */
-    public Builder addPartialErrors(int index, com.google.rpc.Status.Builder builderForValue) {
+    public Builder addPartialErrors(
+        int index, com.google.rpc.Status.Builder builderForValue) {
       if (partialErrorsBuilder_ == null) {
         ensurePartialErrorsIsMutable();
         partialErrors_.add(index, builderForValue.build());
@@ -1559,8 +1357,6 @@ public Builder addPartialErrors(int index, com.google.rpc.Status.Builder builder
       return this;
     }
     /**
-     *
-     *
      * 
      * Partial errors during export operation that might cause the operation
      * output to be incomplete.
@@ -1568,10 +1364,12 @@ public Builder addPartialErrors(int index, com.google.rpc.Status.Builder builder
      *
      * repeated .google.rpc.Status partial_errors = 4;
      */
-    public Builder addAllPartialErrors(java.lang.Iterable values) {
+    public Builder addAllPartialErrors(
+        java.lang.Iterable values) {
       if (partialErrorsBuilder_ == null) {
         ensurePartialErrorsIsMutable();
-        com.google.protobuf.AbstractMessageLite.Builder.addAll(values, partialErrors_);
+        com.google.protobuf.AbstractMessageLite.Builder.addAll(
+            values, partialErrors_);
         onChanged();
       } else {
         partialErrorsBuilder_.addAllMessages(values);
@@ -1579,8 +1377,6 @@ public Builder addAllPartialErrors(java.lang.Iterable
      * Partial errors during export operation that might cause the operation
      * output to be incomplete.
@@ -1599,8 +1395,6 @@ public Builder clearPartialErrors() {
       return this;
     }
     /**
-     *
-     *
      * 
      * Partial errors during export operation that might cause the operation
      * output to be incomplete.
@@ -1619,8 +1413,6 @@ public Builder removePartialErrors(int index) {
       return this;
     }
     /**
-     *
-     *
      * 
      * Partial errors during export operation that might cause the operation
      * output to be incomplete.
@@ -1628,12 +1420,11 @@ public Builder removePartialErrors(int index) {
      *
      * repeated .google.rpc.Status partial_errors = 4;
      */
-    public com.google.rpc.Status.Builder getPartialErrorsBuilder(int index) {
+    public com.google.rpc.Status.Builder getPartialErrorsBuilder(
+        int index) {
       return getPartialErrorsFieldBuilder().getBuilder(index);
     }
     /**
-     *
-     *
      * 
      * Partial errors during export operation that might cause the operation
      * output to be incomplete.
@@ -1641,16 +1432,14 @@ public com.google.rpc.Status.Builder getPartialErrorsBuilder(int index) {
      *
      * repeated .google.rpc.Status partial_errors = 4;
      */
-    public com.google.rpc.StatusOrBuilder getPartialErrorsOrBuilder(int index) {
+    public com.google.rpc.StatusOrBuilder getPartialErrorsOrBuilder(
+        int index) {
       if (partialErrorsBuilder_ == null) {
-        return partialErrors_.get(index);
-      } else {
+        return partialErrors_.get(index);  } else {
         return partialErrorsBuilder_.getMessageOrBuilder(index);
       }
     }
     /**
-     *
-     *
      * 
      * Partial errors during export operation that might cause the operation
      * output to be incomplete.
@@ -1658,8 +1447,8 @@ public com.google.rpc.StatusOrBuilder getPartialErrorsOrBuilder(int index) {
      *
      * repeated .google.rpc.Status partial_errors = 4;
      */
-    public java.util.List
-        getPartialErrorsOrBuilderList() {
+    public java.util.List 
+         getPartialErrorsOrBuilderList() {
       if (partialErrorsBuilder_ != null) {
         return partialErrorsBuilder_.getMessageOrBuilderList();
       } else {
@@ -1667,8 +1456,6 @@ public com.google.rpc.StatusOrBuilder getPartialErrorsOrBuilder(int index) {
       }
     }
     /**
-     *
-     *
      * 
      * Partial errors during export operation that might cause the operation
      * output to be incomplete.
@@ -1677,11 +1464,10 @@ public com.google.rpc.StatusOrBuilder getPartialErrorsOrBuilder(int index) {
      * repeated .google.rpc.Status partial_errors = 4;
      */
     public com.google.rpc.Status.Builder addPartialErrorsBuilder() {
-      return getPartialErrorsFieldBuilder().addBuilder(com.google.rpc.Status.getDefaultInstance());
+      return getPartialErrorsFieldBuilder().addBuilder(
+          com.google.rpc.Status.getDefaultInstance());
     }
     /**
-     *
-     *
      * 
      * Partial errors during export operation that might cause the operation
      * output to be incomplete.
@@ -1689,13 +1475,12 @@ public com.google.rpc.Status.Builder addPartialErrorsBuilder() {
      *
      * repeated .google.rpc.Status partial_errors = 4;
      */
-    public com.google.rpc.Status.Builder addPartialErrorsBuilder(int index) {
-      return getPartialErrorsFieldBuilder()
-          .addBuilder(index, com.google.rpc.Status.getDefaultInstance());
+    public com.google.rpc.Status.Builder addPartialErrorsBuilder(
+        int index) {
+      return getPartialErrorsFieldBuilder().addBuilder(
+          index, com.google.rpc.Status.getDefaultInstance());
     }
     /**
-     *
-     *
      * 
      * Partial errors during export operation that might cause the operation
      * output to be incomplete.
@@ -1703,19 +1488,16 @@ public com.google.rpc.Status.Builder addPartialErrorsBuilder(int index) {
      *
      * repeated .google.rpc.Status partial_errors = 4;
      */
-    public java.util.List getPartialErrorsBuilderList() {
+    public java.util.List 
+         getPartialErrorsBuilderList() {
       return getPartialErrorsFieldBuilder().getBuilderList();
     }
-
     private com.google.protobuf.RepeatedFieldBuilderV3<
-            com.google.rpc.Status, com.google.rpc.Status.Builder, com.google.rpc.StatusOrBuilder>
+        com.google.rpc.Status, com.google.rpc.Status.Builder, com.google.rpc.StatusOrBuilder> 
         getPartialErrorsFieldBuilder() {
       if (partialErrorsBuilder_ == null) {
-        partialErrorsBuilder_ =
-            new com.google.protobuf.RepeatedFieldBuilderV3<
-                com.google.rpc.Status,
-                com.google.rpc.Status.Builder,
-                com.google.rpc.StatusOrBuilder>(
+        partialErrorsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
+            com.google.rpc.Status, com.google.rpc.Status.Builder, com.google.rpc.StatusOrBuilder>(
                 partialErrors_,
                 ((bitField0_ & 0x00000008) != 0),
                 getParentForChildren(),
@@ -1724,9 +1506,9 @@ public java.util.List getPartialErrorsBuilderList
       }
       return partialErrorsBuilder_;
     }
-
     @java.lang.Override
-    public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) {
+    public final Builder setUnknownFields(
+        final com.google.protobuf.UnknownFieldSet unknownFields) {
       return super.setUnknownFields(unknownFields);
     }
 
@@ -1736,43 +1518,41 @@ public final Builder mergeUnknownFields(
       return super.mergeUnknownFields(unknownFields);
     }
 
+
     // @@protoc_insertion_point(builder_scope:google.cloud.contactcenterinsights.v1.ExportInsightsDataMetadata)
   }
 
   // @@protoc_insertion_point(class_scope:google.cloud.contactcenterinsights.v1.ExportInsightsDataMetadata)
-  private static final com.google.cloud.contactcenterinsights.v1.ExportInsightsDataMetadata
-      DEFAULT_INSTANCE;
-
+  private static final com.google.cloud.contactcenterinsights.v1.ExportInsightsDataMetadata DEFAULT_INSTANCE;
   static {
     DEFAULT_INSTANCE = new com.google.cloud.contactcenterinsights.v1.ExportInsightsDataMetadata();
   }
 
-  public static com.google.cloud.contactcenterinsights.v1.ExportInsightsDataMetadata
-      getDefaultInstance() {
+  public static com.google.cloud.contactcenterinsights.v1.ExportInsightsDataMetadata getDefaultInstance() {
     return DEFAULT_INSTANCE;
   }
 
-  private static final com.google.protobuf.Parser PARSER =
-      new com.google.protobuf.AbstractParser() {
-        @java.lang.Override
-        public ExportInsightsDataMetadata parsePartialFrom(
-            com.google.protobuf.CodedInputStream input,
-            com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-            throws com.google.protobuf.InvalidProtocolBufferException {
-          Builder builder = newBuilder();
-          try {
-            builder.mergeFrom(input, extensionRegistry);
-          } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-            throw e.setUnfinishedMessage(builder.buildPartial());
-          } catch (com.google.protobuf.UninitializedMessageException e) {
-            throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
-          } catch (java.io.IOException e) {
-            throw new com.google.protobuf.InvalidProtocolBufferException(e)
-                .setUnfinishedMessage(builder.buildPartial());
-          }
-          return builder.buildPartial();
-        }
-      };
+  private static final com.google.protobuf.Parser
+      PARSER = new com.google.protobuf.AbstractParser() {
+    @java.lang.Override
+    public ExportInsightsDataMetadata parsePartialFrom(
+        com.google.protobuf.CodedInputStream input,
+        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        throws com.google.protobuf.InvalidProtocolBufferException {
+      Builder builder = newBuilder();
+      try {
+        builder.mergeFrom(input, extensionRegistry);
+      } catch (com.google.protobuf.InvalidProtocolBufferException e) {
+        throw e.setUnfinishedMessage(builder.buildPartial());
+      } catch (com.google.protobuf.UninitializedMessageException e) {
+        throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
+      } catch (java.io.IOException e) {
+        throw new com.google.protobuf.InvalidProtocolBufferException(e)
+            .setUnfinishedMessage(builder.buildPartial());
+      }
+      return builder.buildPartial();
+    }
+  };
 
   public static com.google.protobuf.Parser parser() {
     return PARSER;
@@ -1784,8 +1564,9 @@ public com.google.protobuf.Parser getParserForType()
   }
 
   @java.lang.Override
-  public com.google.cloud.contactcenterinsights.v1.ExportInsightsDataMetadata
-      getDefaultInstanceForType() {
+  public com.google.cloud.contactcenterinsights.v1.ExportInsightsDataMetadata getDefaultInstanceForType() {
     return DEFAULT_INSTANCE;
   }
+
 }
+
diff --git a/java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ExportInsightsDataMetadataOrBuilder.java b/owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ExportInsightsDataMetadataOrBuilder.java
similarity index 72%
rename from java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ExportInsightsDataMetadataOrBuilder.java
rename to owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ExportInsightsDataMetadataOrBuilder.java
index f7975a42ddbe..64ecfb1ae33c 100644
--- a/java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ExportInsightsDataMetadataOrBuilder.java
+++ b/owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ExportInsightsDataMetadataOrBuilder.java
@@ -1,143 +1,94 @@
-/*
- * 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.
- */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/cloud/contactcenterinsights/v1/contact_center_insights.proto
 
 package com.google.cloud.contactcenterinsights.v1;
 
-public interface ExportInsightsDataMetadataOrBuilder
-    extends
+public interface ExportInsightsDataMetadataOrBuilder extends
     // @@protoc_insertion_point(interface_extends:google.cloud.contactcenterinsights.v1.ExportInsightsDataMetadata)
     com.google.protobuf.MessageOrBuilder {
 
   /**
-   *
-   *
    * 
    * Output only. The time the operation was created.
    * 
* - * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the createTime field is set. */ boolean hasCreateTime(); /** - * - * *
    * Output only. The time the operation was created.
    * 
* - * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The createTime. */ com.google.protobuf.Timestamp getCreateTime(); /** - * - * *
    * Output only. The time the operation was created.
    * 
* - * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder(); /** - * - * *
    * Output only. The time the operation finished running.
    * 
* - * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the endTime field is set. */ boolean hasEndTime(); /** - * - * *
    * Output only. The time the operation finished running.
    * 
* - * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The endTime. */ com.google.protobuf.Timestamp getEndTime(); /** - * - * *
    * Output only. The time the operation finished running.
    * 
* - * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder(); /** - * - * *
    * The original request for export.
    * 
* * .google.cloud.contactcenterinsights.v1.ExportInsightsDataRequest request = 3; - * * @return Whether the request field is set. */ boolean hasRequest(); /** - * - * *
    * The original request for export.
    * 
* * .google.cloud.contactcenterinsights.v1.ExportInsightsDataRequest request = 3; - * * @return The request. */ com.google.cloud.contactcenterinsights.v1.ExportInsightsDataRequest getRequest(); /** - * - * *
    * The original request for export.
    * 
* * .google.cloud.contactcenterinsights.v1.ExportInsightsDataRequest request = 3; */ - com.google.cloud.contactcenterinsights.v1.ExportInsightsDataRequestOrBuilder - getRequestOrBuilder(); + com.google.cloud.contactcenterinsights.v1.ExportInsightsDataRequestOrBuilder getRequestOrBuilder(); /** - * - * *
    * Partial errors during export operation that might cause the operation
    * output to be incomplete.
@@ -145,10 +96,9 @@ public interface ExportInsightsDataMetadataOrBuilder
    *
    * repeated .google.rpc.Status partial_errors = 4;
    */
-  java.util.List getPartialErrorsList();
+  java.util.List 
+      getPartialErrorsList();
   /**
-   *
-   *
    * 
    * Partial errors during export operation that might cause the operation
    * output to be incomplete.
@@ -158,8 +108,6 @@ public interface ExportInsightsDataMetadataOrBuilder
    */
   com.google.rpc.Status getPartialErrors(int index);
   /**
-   *
-   *
    * 
    * Partial errors during export operation that might cause the operation
    * output to be incomplete.
@@ -169,8 +117,6 @@ public interface ExportInsightsDataMetadataOrBuilder
    */
   int getPartialErrorsCount();
   /**
-   *
-   *
    * 
    * Partial errors during export operation that might cause the operation
    * output to be incomplete.
@@ -178,10 +124,9 @@ public interface ExportInsightsDataMetadataOrBuilder
    *
    * repeated .google.rpc.Status partial_errors = 4;
    */
-  java.util.List getPartialErrorsOrBuilderList();
+  java.util.List 
+      getPartialErrorsOrBuilderList();
   /**
-   *
-   *
    * 
    * Partial errors during export operation that might cause the operation
    * output to be incomplete.
@@ -189,5 +134,6 @@ public interface ExportInsightsDataMetadataOrBuilder
    *
    * repeated .google.rpc.Status partial_errors = 4;
    */
-  com.google.rpc.StatusOrBuilder getPartialErrorsOrBuilder(int index);
+  com.google.rpc.StatusOrBuilder getPartialErrorsOrBuilder(
+      int index);
 }
diff --git a/java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ExportInsightsDataRequest.java b/owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ExportInsightsDataRequest.java
similarity index 62%
rename from java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ExportInsightsDataRequest.java
rename to owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ExportInsightsDataRequest.java
index 5645efc41ca1..2e5b721ad1fb 100644
--- a/java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ExportInsightsDataRequest.java
+++ b/owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ExportInsightsDataRequest.java
@@ -1,42 +1,24 @@
-/*
- * 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.
- */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/cloud/contactcenterinsights/v1/contact_center_insights.proto
 
 package com.google.cloud.contactcenterinsights.v1;
 
 /**
- *
- *
  * 
  * The request to export insights.
  * 
* * Protobuf type {@code google.cloud.contactcenterinsights.v1.ExportInsightsDataRequest} */ -public final class ExportInsightsDataRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class ExportInsightsDataRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.contactcenterinsights.v1.ExportInsightsDataRequest) ExportInsightsDataRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use ExportInsightsDataRequest.newBuilder() to construct. private ExportInsightsDataRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private ExportInsightsDataRequest() { parent_ = ""; filter_ = ""; @@ -46,44 +28,39 @@ private ExportInsightsDataRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new ExportInsightsDataRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto - .internal_static_google_cloud_contactcenterinsights_v1_ExportInsightsDataRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto.internal_static_google_cloud_contactcenterinsights_v1_ExportInsightsDataRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto - .internal_static_google_cloud_contactcenterinsights_v1_ExportInsightsDataRequest_fieldAccessorTable + return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto.internal_static_google_cloud_contactcenterinsights_v1_ExportInsightsDataRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.contactcenterinsights.v1.ExportInsightsDataRequest.class, - com.google.cloud.contactcenterinsights.v1.ExportInsightsDataRequest.Builder.class); + com.google.cloud.contactcenterinsights.v1.ExportInsightsDataRequest.class, com.google.cloud.contactcenterinsights.v1.ExportInsightsDataRequest.Builder.class); } /** - * - * *
    * Specifies the action that occurs if the destination table already exists.
    * 
* - * Protobuf enum {@code - * google.cloud.contactcenterinsights.v1.ExportInsightsDataRequest.WriteDisposition} + * Protobuf enum {@code google.cloud.contactcenterinsights.v1.ExportInsightsDataRequest.WriteDisposition} */ - public enum WriteDisposition implements com.google.protobuf.ProtocolMessageEnum { + public enum WriteDisposition + implements com.google.protobuf.ProtocolMessageEnum { /** - * - * *
      * Write disposition is not specified. Defaults to WRITE_TRUNCATE.
      * 
@@ -92,8 +69,6 @@ public enum WriteDisposition implements com.google.protobuf.ProtocolMessageEnum */ WRITE_DISPOSITION_UNSPECIFIED(0), /** - * - * *
      * If the table already exists, BigQuery will overwrite the table data and
      * use the schema from the load.
@@ -103,8 +78,6 @@ public enum WriteDisposition implements com.google.protobuf.ProtocolMessageEnum
      */
     WRITE_TRUNCATE(1),
     /**
-     *
-     *
      * 
      * If the table already exists, BigQuery will append data to the table.
      * 
@@ -116,8 +89,6 @@ public enum WriteDisposition implements com.google.protobuf.ProtocolMessageEnum ; /** - * - * *
      * Write disposition is not specified. Defaults to WRITE_TRUNCATE.
      * 
@@ -126,8 +97,6 @@ public enum WriteDisposition implements com.google.protobuf.ProtocolMessageEnum */ public static final int WRITE_DISPOSITION_UNSPECIFIED_VALUE = 0; /** - * - * *
      * If the table already exists, BigQuery will overwrite the table data and
      * use the schema from the load.
@@ -137,8 +106,6 @@ public enum WriteDisposition implements com.google.protobuf.ProtocolMessageEnum
      */
     public static final int WRITE_TRUNCATE_VALUE = 1;
     /**
-     *
-     *
      * 
      * If the table already exists, BigQuery will append data to the table.
      * 
@@ -147,6 +114,7 @@ public enum WriteDisposition implements com.google.protobuf.ProtocolMessageEnum */ public static final int WRITE_APPEND_VALUE = 2; + public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -171,45 +139,40 @@ public static WriteDisposition valueOf(int value) { */ public static WriteDisposition forNumber(int value) { switch (value) { - case 0: - return WRITE_DISPOSITION_UNSPECIFIED; - case 1: - return WRITE_TRUNCATE; - case 2: - return WRITE_APPEND; - default: - return null; + case 0: return WRITE_DISPOSITION_UNSPECIFIED; + case 1: return WRITE_TRUNCATE; + case 2: return WRITE_APPEND; + default: return null; } } - public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() { + public static com.google.protobuf.Internal.EnumLiteMap + internalGetValueMap() { return internalValueMap; } + private static final com.google.protobuf.Internal.EnumLiteMap< + WriteDisposition> internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public WriteDisposition findValueByNumber(int number) { + return WriteDisposition.forNumber(number); + } + }; - private static final com.google.protobuf.Internal.EnumLiteMap - internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public WriteDisposition findValueByNumber(int number) { - return WriteDisposition.forNumber(number); - } - }; - - public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() { + public final com.google.protobuf.Descriptors.EnumValueDescriptor + getValueDescriptor() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalStateException( "Can't get the descriptor of an unrecognized enum value."); } return getDescriptor().getValues().get(ordinal()); } - - public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() { + public final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptorForType() { return getDescriptor(); } - - public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { - return com.google.cloud.contactcenterinsights.v1.ExportInsightsDataRequest.getDescriptor() - .getEnumTypes() - .get(0); + public static final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptor() { + return com.google.cloud.contactcenterinsights.v1.ExportInsightsDataRequest.getDescriptor().getEnumTypes().get(0); } private static final WriteDisposition[] VALUES = values(); @@ -217,7 +180,8 @@ public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor public static WriteDisposition valueOf( com.google.protobuf.Descriptors.EnumValueDescriptor desc) { if (desc.getType() != getDescriptor()) { - throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type."); + throw new java.lang.IllegalArgumentException( + "EnumValueDescriptor is not for this type."); } if (desc.getIndex() == -1) { return UNRECOGNIZED; @@ -234,14 +198,11 @@ private WriteDisposition(int value) { // @@protoc_insertion_point(enum_scope:google.cloud.contactcenterinsights.v1.ExportInsightsDataRequest.WriteDisposition) } - public interface BigQueryDestinationOrBuilder - extends + public interface BigQueryDestinationOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.contactcenterinsights.v1.ExportInsightsDataRequest.BigQueryDestination) com.google.protobuf.MessageOrBuilder { /** - * - * *
      * A project ID or number. If specified, then export will attempt to
      * write data to this project instead of the resource project. Otherwise,
@@ -249,13 +210,10 @@ public interface BigQueryDestinationOrBuilder
      * 
* * string project_id = 3; - * * @return The projectId. */ java.lang.String getProjectId(); /** - * - * *
      * A project ID or number. If specified, then export will attempt to
      * write data to this project instead of the resource project. Otherwise,
@@ -263,43 +221,36 @@ public interface BigQueryDestinationOrBuilder
      * 
* * string project_id = 3; - * * @return The bytes for projectId. */ - com.google.protobuf.ByteString getProjectIdBytes(); + com.google.protobuf.ByteString + getProjectIdBytes(); /** - * - * *
-     * Required. The name of the BigQuery dataset that the snapshot result should be
-     * exported to. If this dataset does not exist, the export call returns an
-     * INVALID_ARGUMENT error.
+     * Required. The name of the BigQuery dataset that the snapshot result
+     * should be exported to. If this dataset does not exist, the export call
+     * returns an INVALID_ARGUMENT error.
      * 
* * string dataset = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The dataset. */ java.lang.String getDataset(); /** - * - * *
-     * Required. The name of the BigQuery dataset that the snapshot result should be
-     * exported to. If this dataset does not exist, the export call returns an
-     * INVALID_ARGUMENT error.
+     * Required. The name of the BigQuery dataset that the snapshot result
+     * should be exported to. If this dataset does not exist, the export call
+     * returns an INVALID_ARGUMENT error.
      * 
* * string dataset = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for dataset. */ - com.google.protobuf.ByteString getDatasetBytes(); + com.google.protobuf.ByteString + getDatasetBytes(); /** - * - * *
      * The BigQuery table name to which the insights data should be written.
      * If this table does not exist, the export call returns an INVALID_ARGUMENT
@@ -307,13 +258,10 @@ public interface BigQueryDestinationOrBuilder
      * 
* * string table = 2; - * * @return The table. */ java.lang.String getTable(); /** - * - * *
      * The BigQuery table name to which the insights data should be written.
      * If this table does not exist, the export call returns an INVALID_ARGUMENT
@@ -321,31 +269,27 @@ public interface BigQueryDestinationOrBuilder
      * 
* * string table = 2; - * * @return The bytes for table. */ - com.google.protobuf.ByteString getTableBytes(); + com.google.protobuf.ByteString + getTableBytes(); } /** - * - * *
    * A BigQuery Table Reference.
    * 
* - * Protobuf type {@code - * google.cloud.contactcenterinsights.v1.ExportInsightsDataRequest.BigQueryDestination} + * Protobuf type {@code google.cloud.contactcenterinsights.v1.ExportInsightsDataRequest.BigQueryDestination} */ - public static final class BigQueryDestination extends com.google.protobuf.GeneratedMessageV3 - implements + public static final class BigQueryDestination extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.contactcenterinsights.v1.ExportInsightsDataRequest.BigQueryDestination) BigQueryDestinationOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use BigQueryDestination.newBuilder() to construct. private BigQueryDestination(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private BigQueryDestination() { projectId_ = ""; dataset_ = ""; @@ -354,39 +298,33 @@ private BigQueryDestination() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new BigQueryDestination(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto - .internal_static_google_cloud_contactcenterinsights_v1_ExportInsightsDataRequest_BigQueryDestination_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto.internal_static_google_cloud_contactcenterinsights_v1_ExportInsightsDataRequest_BigQueryDestination_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto - .internal_static_google_cloud_contactcenterinsights_v1_ExportInsightsDataRequest_BigQueryDestination_fieldAccessorTable + return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto.internal_static_google_cloud_contactcenterinsights_v1_ExportInsightsDataRequest_BigQueryDestination_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.contactcenterinsights.v1.ExportInsightsDataRequest - .BigQueryDestination.class, - com.google.cloud.contactcenterinsights.v1.ExportInsightsDataRequest - .BigQueryDestination.Builder.class); + com.google.cloud.contactcenterinsights.v1.ExportInsightsDataRequest.BigQueryDestination.class, com.google.cloud.contactcenterinsights.v1.ExportInsightsDataRequest.BigQueryDestination.Builder.class); } public static final int PROJECT_ID_FIELD_NUMBER = 3; - @SuppressWarnings("serial") private volatile java.lang.Object projectId_ = ""; /** - * - * *
      * A project ID or number. If specified, then export will attempt to
      * write data to this project instead of the resource project. Otherwise,
@@ -394,7 +332,6 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
      * 
* * string project_id = 3; - * * @return The projectId. */ @java.lang.Override @@ -403,15 +340,14 @@ public java.lang.String getProjectId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); projectId_ = s; return s; } } /** - * - * *
      * A project ID or number. If specified, then export will attempt to
      * write data to this project instead of the resource project. Otherwise,
@@ -419,15 +355,16 @@ public java.lang.String getProjectId() {
      * 
* * string project_id = 3; - * * @return The bytes for projectId. */ @java.lang.Override - public com.google.protobuf.ByteString getProjectIdBytes() { + public com.google.protobuf.ByteString + getProjectIdBytes() { java.lang.Object ref = projectId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); projectId_ = b; return b; } else { @@ -436,20 +373,16 @@ public com.google.protobuf.ByteString getProjectIdBytes() { } public static final int DATASET_FIELD_NUMBER = 1; - @SuppressWarnings("serial") private volatile java.lang.Object dataset_ = ""; /** - * - * *
-     * Required. The name of the BigQuery dataset that the snapshot result should be
-     * exported to. If this dataset does not exist, the export call returns an
-     * INVALID_ARGUMENT error.
+     * Required. The name of the BigQuery dataset that the snapshot result
+     * should be exported to. If this dataset does not exist, the export call
+     * returns an INVALID_ARGUMENT error.
      * 
* * string dataset = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The dataset. */ @java.lang.Override @@ -458,31 +391,31 @@ public java.lang.String getDataset() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); dataset_ = s; return s; } } /** - * - * *
-     * Required. The name of the BigQuery dataset that the snapshot result should be
-     * exported to. If this dataset does not exist, the export call returns an
-     * INVALID_ARGUMENT error.
+     * Required. The name of the BigQuery dataset that the snapshot result
+     * should be exported to. If this dataset does not exist, the export call
+     * returns an INVALID_ARGUMENT error.
      * 
* * string dataset = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for dataset. */ @java.lang.Override - public com.google.protobuf.ByteString getDatasetBytes() { + public com.google.protobuf.ByteString + getDatasetBytes() { java.lang.Object ref = dataset_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); dataset_ = b; return b; } else { @@ -491,12 +424,9 @@ public com.google.protobuf.ByteString getDatasetBytes() { } public static final int TABLE_FIELD_NUMBER = 2; - @SuppressWarnings("serial") private volatile java.lang.Object table_ = ""; /** - * - * *
      * The BigQuery table name to which the insights data should be written.
      * If this table does not exist, the export call returns an INVALID_ARGUMENT
@@ -504,7 +434,6 @@ public com.google.protobuf.ByteString getDatasetBytes() {
      * 
* * string table = 2; - * * @return The table. */ @java.lang.Override @@ -513,15 +442,14 @@ public java.lang.String getTable() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); table_ = s; return s; } } /** - * - * *
      * The BigQuery table name to which the insights data should be written.
      * If this table does not exist, the export call returns an INVALID_ARGUMENT
@@ -529,15 +457,16 @@ public java.lang.String getTable() {
      * 
* * string table = 2; - * * @return The bytes for table. */ @java.lang.Override - public com.google.protobuf.ByteString getTableBytes() { + public com.google.protobuf.ByteString + getTableBytes() { java.lang.Object ref = table_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); table_ = b; return b; } else { @@ -546,7 +475,6 @@ public com.google.protobuf.ByteString getTableBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -558,7 +486,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(dataset_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, dataset_); } @@ -594,23 +523,19 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } - if (!(obj - instanceof - com.google.cloud.contactcenterinsights.v1.ExportInsightsDataRequest - .BigQueryDestination)) { + if (!(obj instanceof com.google.cloud.contactcenterinsights.v1.ExportInsightsDataRequest.BigQueryDestination)) { return super.equals(obj); } - com.google.cloud.contactcenterinsights.v1.ExportInsightsDataRequest.BigQueryDestination - other = - (com.google.cloud.contactcenterinsights.v1.ExportInsightsDataRequest - .BigQueryDestination) - obj; + com.google.cloud.contactcenterinsights.v1.ExportInsightsDataRequest.BigQueryDestination other = (com.google.cloud.contactcenterinsights.v1.ExportInsightsDataRequest.BigQueryDestination) obj; - if (!getProjectId().equals(other.getProjectId())) return false; - if (!getDataset().equals(other.getDataset())) return false; - if (!getTable().equals(other.getTable())) return false; + if (!getProjectId() + .equals(other.getProjectId())) return false; + if (!getDataset() + .equals(other.getDataset())) return false; + if (!getTable() + .equals(other.getTable())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -633,114 +558,88 @@ public int hashCode() { return hash; } - public static com.google.cloud.contactcenterinsights.v1.ExportInsightsDataRequest - .BigQueryDestination - parseFrom(java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.contactcenterinsights.v1.ExportInsightsDataRequest.BigQueryDestination parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - - public static com.google.cloud.contactcenterinsights.v1.ExportInsightsDataRequest - .BigQueryDestination - parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.contactcenterinsights.v1.ExportInsightsDataRequest.BigQueryDestination parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.contactcenterinsights.v1.ExportInsightsDataRequest - .BigQueryDestination - parseFrom(com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.contactcenterinsights.v1.ExportInsightsDataRequest.BigQueryDestination parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - - public static com.google.cloud.contactcenterinsights.v1.ExportInsightsDataRequest - .BigQueryDestination - parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.contactcenterinsights.v1.ExportInsightsDataRequest.BigQueryDestination parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.contactcenterinsights.v1.ExportInsightsDataRequest - .BigQueryDestination - parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.contactcenterinsights.v1.ExportInsightsDataRequest.BigQueryDestination parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - - public static com.google.cloud.contactcenterinsights.v1.ExportInsightsDataRequest - .BigQueryDestination - parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.contactcenterinsights.v1.ExportInsightsDataRequest.BigQueryDestination parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.contactcenterinsights.v1.ExportInsightsDataRequest - .BigQueryDestination - parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.contactcenterinsights.v1.ExportInsightsDataRequest.BigQueryDestination parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - - public static com.google.cloud.contactcenterinsights.v1.ExportInsightsDataRequest - .BigQueryDestination - parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + public static com.google.cloud.contactcenterinsights.v1.ExportInsightsDataRequest.BigQueryDestination parseFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.contactcenterinsights.v1.ExportInsightsDataRequest - .BigQueryDestination - parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.contactcenterinsights.v1.ExportInsightsDataRequest.BigQueryDestination parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - - public static com.google.cloud.contactcenterinsights.v1.ExportInsightsDataRequest - .BigQueryDestination - parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + public static com.google.cloud.contactcenterinsights.v1.ExportInsightsDataRequest.BigQueryDestination parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.contactcenterinsights.v1.ExportInsightsDataRequest - .BigQueryDestination - parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.contactcenterinsights.v1.ExportInsightsDataRequest.BigQueryDestination parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - - public static com.google.cloud.contactcenterinsights.v1.ExportInsightsDataRequest - .BigQueryDestination - parseFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + public static com.google.cloud.contactcenterinsights.v1.ExportInsightsDataRequest.BigQueryDestination parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.contactcenterinsights.v1.ExportInsightsDataRequest.BigQueryDestination - prototype) { + public static Builder newBuilder(com.google.cloud.contactcenterinsights.v1.ExportInsightsDataRequest.BigQueryDestination prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -750,46 +649,39 @@ protected Builder newBuilderForType( return builder; } /** - * - * *
      * A BigQuery Table Reference.
      * 
* - * Protobuf type {@code - * google.cloud.contactcenterinsights.v1.ExportInsightsDataRequest.BigQueryDestination} + * Protobuf type {@code google.cloud.contactcenterinsights.v1.ExportInsightsDataRequest.BigQueryDestination} */ - public static final class Builder - extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.contactcenterinsights.v1.ExportInsightsDataRequest.BigQueryDestination) - com.google.cloud.contactcenterinsights.v1.ExportInsightsDataRequest - .BigQueryDestinationOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto - .internal_static_google_cloud_contactcenterinsights_v1_ExportInsightsDataRequest_BigQueryDestination_descriptor; + com.google.cloud.contactcenterinsights.v1.ExportInsightsDataRequest.BigQueryDestinationOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto.internal_static_google_cloud_contactcenterinsights_v1_ExportInsightsDataRequest_BigQueryDestination_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto - .internal_static_google_cloud_contactcenterinsights_v1_ExportInsightsDataRequest_BigQueryDestination_fieldAccessorTable + return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto.internal_static_google_cloud_contactcenterinsights_v1_ExportInsightsDataRequest_BigQueryDestination_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.contactcenterinsights.v1.ExportInsightsDataRequest - .BigQueryDestination.class, - com.google.cloud.contactcenterinsights.v1.ExportInsightsDataRequest - .BigQueryDestination.Builder.class); + com.google.cloud.contactcenterinsights.v1.ExportInsightsDataRequest.BigQueryDestination.class, com.google.cloud.contactcenterinsights.v1.ExportInsightsDataRequest.BigQueryDestination.Builder.class); } - // Construct using - // com.google.cloud.contactcenterinsights.v1.ExportInsightsDataRequest.BigQueryDestination.newBuilder() - private Builder() {} + // Construct using com.google.cloud.contactcenterinsights.v1.ExportInsightsDataRequest.BigQueryDestination.newBuilder() + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -801,23 +693,19 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto - .internal_static_google_cloud_contactcenterinsights_v1_ExportInsightsDataRequest_BigQueryDestination_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto.internal_static_google_cloud_contactcenterinsights_v1_ExportInsightsDataRequest_BigQueryDestination_descriptor; } @java.lang.Override - public com.google.cloud.contactcenterinsights.v1.ExportInsightsDataRequest.BigQueryDestination - getDefaultInstanceForType() { - return com.google.cloud.contactcenterinsights.v1.ExportInsightsDataRequest - .BigQueryDestination.getDefaultInstance(); + public com.google.cloud.contactcenterinsights.v1.ExportInsightsDataRequest.BigQueryDestination getDefaultInstanceForType() { + return com.google.cloud.contactcenterinsights.v1.ExportInsightsDataRequest.BigQueryDestination.getDefaultInstance(); } @java.lang.Override - public com.google.cloud.contactcenterinsights.v1.ExportInsightsDataRequest.BigQueryDestination - build() { - com.google.cloud.contactcenterinsights.v1.ExportInsightsDataRequest.BigQueryDestination - result = buildPartial(); + public com.google.cloud.contactcenterinsights.v1.ExportInsightsDataRequest.BigQueryDestination build() { + com.google.cloud.contactcenterinsights.v1.ExportInsightsDataRequest.BigQueryDestination result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } @@ -825,22 +713,14 @@ public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { } @java.lang.Override - public com.google.cloud.contactcenterinsights.v1.ExportInsightsDataRequest.BigQueryDestination - buildPartial() { - com.google.cloud.contactcenterinsights.v1.ExportInsightsDataRequest.BigQueryDestination - result = - new com.google.cloud.contactcenterinsights.v1.ExportInsightsDataRequest - .BigQueryDestination(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + public com.google.cloud.contactcenterinsights.v1.ExportInsightsDataRequest.BigQueryDestination buildPartial() { + com.google.cloud.contactcenterinsights.v1.ExportInsightsDataRequest.BigQueryDestination result = new com.google.cloud.contactcenterinsights.v1.ExportInsightsDataRequest.BigQueryDestination(this); + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } - private void buildPartial0( - com.google.cloud.contactcenterinsights.v1.ExportInsightsDataRequest.BigQueryDestination - result) { + private void buildPartial0(com.google.cloud.contactcenterinsights.v1.ExportInsightsDataRequest.BigQueryDestination result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { result.projectId_ = projectId_; @@ -857,59 +737,46 @@ private void buildPartial0( public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, - int index, - java.lang.Object value) { + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { - if (other - instanceof - com.google.cloud.contactcenterinsights.v1.ExportInsightsDataRequest - .BigQueryDestination) { - return mergeFrom( - (com.google.cloud.contactcenterinsights.v1.ExportInsightsDataRequest - .BigQueryDestination) - other); + if (other instanceof com.google.cloud.contactcenterinsights.v1.ExportInsightsDataRequest.BigQueryDestination) { + return mergeFrom((com.google.cloud.contactcenterinsights.v1.ExportInsightsDataRequest.BigQueryDestination)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom( - com.google.cloud.contactcenterinsights.v1.ExportInsightsDataRequest.BigQueryDestination - other) { - if (other - == com.google.cloud.contactcenterinsights.v1.ExportInsightsDataRequest - .BigQueryDestination.getDefaultInstance()) return this; + public Builder mergeFrom(com.google.cloud.contactcenterinsights.v1.ExportInsightsDataRequest.BigQueryDestination other) { + if (other == com.google.cloud.contactcenterinsights.v1.ExportInsightsDataRequest.BigQueryDestination.getDefaultInstance()) return this; if (!other.getProjectId().isEmpty()) { projectId_ = other.projectId_; bitField0_ |= 0x00000001; @@ -951,31 +818,27 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - dataset_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000002; - break; - } // case 10 - case 18: - { - table_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000004; - break; - } // case 18 - case 26: - { - projectId_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 26 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + dataset_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + break; + } // case 10 + case 18: { + table_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000004; + break; + } // case 18 + case 26: { + projectId_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 26 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -985,13 +848,10 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private java.lang.Object projectId_ = ""; /** - * - * *
        * A project ID or number. If specified, then export will attempt to
        * write data to this project instead of the resource project. Otherwise,
@@ -999,13 +859,13 @@ public Builder mergeFrom(
        * 
* * string project_id = 3; - * * @return The projectId. */ public java.lang.String getProjectId() { java.lang.Object ref = projectId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); projectId_ = s; return s; @@ -1014,8 +874,6 @@ public java.lang.String getProjectId() { } } /** - * - * *
        * A project ID or number. If specified, then export will attempt to
        * write data to this project instead of the resource project. Otherwise,
@@ -1023,14 +881,15 @@ public java.lang.String getProjectId() {
        * 
* * string project_id = 3; - * * @return The bytes for projectId. */ - public com.google.protobuf.ByteString getProjectIdBytes() { + public com.google.protobuf.ByteString + getProjectIdBytes() { java.lang.Object ref = projectId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); projectId_ = b; return b; } else { @@ -1038,8 +897,6 @@ public com.google.protobuf.ByteString getProjectIdBytes() { } } /** - * - * *
        * A project ID or number. If specified, then export will attempt to
        * write data to this project instead of the resource project. Otherwise,
@@ -1047,22 +904,18 @@ public com.google.protobuf.ByteString getProjectIdBytes() {
        * 
* * string project_id = 3; - * * @param value The projectId to set. * @return This builder for chaining. */ - public Builder setProjectId(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setProjectId( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } projectId_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
        * A project ID or number. If specified, then export will attempt to
        * write data to this project instead of the resource project. Otherwise,
@@ -1070,7 +923,6 @@ public Builder setProjectId(java.lang.String value) {
        * 
* * string project_id = 3; - * * @return This builder for chaining. */ public Builder clearProjectId() { @@ -1080,8 +932,6 @@ public Builder clearProjectId() { return this; } /** - * - * *
        * A project ID or number. If specified, then export will attempt to
        * write data to this project instead of the resource project. Otherwise,
@@ -1089,14 +939,12 @@ public Builder clearProjectId() {
        * 
* * string project_id = 3; - * * @param value The bytes for projectId to set. * @return This builder for chaining. */ - public Builder setProjectIdBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setProjectIdBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); projectId_ = value; bitField0_ |= 0x00000001; @@ -1106,22 +954,20 @@ public Builder setProjectIdBytes(com.google.protobuf.ByteString value) { private java.lang.Object dataset_ = ""; /** - * - * *
-       * Required. The name of the BigQuery dataset that the snapshot result should be
-       * exported to. If this dataset does not exist, the export call returns an
-       * INVALID_ARGUMENT error.
+       * Required. The name of the BigQuery dataset that the snapshot result
+       * should be exported to. If this dataset does not exist, the export call
+       * returns an INVALID_ARGUMENT error.
        * 
* * string dataset = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The dataset. */ public java.lang.String getDataset() { java.lang.Object ref = dataset_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); dataset_ = s; return s; @@ -1130,23 +976,22 @@ public java.lang.String getDataset() { } } /** - * - * *
-       * Required. The name of the BigQuery dataset that the snapshot result should be
-       * exported to. If this dataset does not exist, the export call returns an
-       * INVALID_ARGUMENT error.
+       * Required. The name of the BigQuery dataset that the snapshot result
+       * should be exported to. If this dataset does not exist, the export call
+       * returns an INVALID_ARGUMENT error.
        * 
* * string dataset = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for dataset. */ - public com.google.protobuf.ByteString getDatasetBytes() { + public com.google.protobuf.ByteString + getDatasetBytes() { java.lang.Object ref = dataset_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); dataset_ = b; return b; } else { @@ -1154,39 +999,32 @@ public com.google.protobuf.ByteString getDatasetBytes() { } } /** - * - * *
-       * Required. The name of the BigQuery dataset that the snapshot result should be
-       * exported to. If this dataset does not exist, the export call returns an
-       * INVALID_ARGUMENT error.
+       * Required. The name of the BigQuery dataset that the snapshot result
+       * should be exported to. If this dataset does not exist, the export call
+       * returns an INVALID_ARGUMENT error.
        * 
* * string dataset = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The dataset to set. * @return This builder for chaining. */ - public Builder setDataset(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setDataset( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } dataset_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** - * - * *
-       * Required. The name of the BigQuery dataset that the snapshot result should be
-       * exported to. If this dataset does not exist, the export call returns an
-       * INVALID_ARGUMENT error.
+       * Required. The name of the BigQuery dataset that the snapshot result
+       * should be exported to. If this dataset does not exist, the export call
+       * returns an INVALID_ARGUMENT error.
        * 
* * string dataset = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return This builder for chaining. */ public Builder clearDataset() { @@ -1196,23 +1034,19 @@ public Builder clearDataset() { return this; } /** - * - * *
-       * Required. The name of the BigQuery dataset that the snapshot result should be
-       * exported to. If this dataset does not exist, the export call returns an
-       * INVALID_ARGUMENT error.
+       * Required. The name of the BigQuery dataset that the snapshot result
+       * should be exported to. If this dataset does not exist, the export call
+       * returns an INVALID_ARGUMENT error.
        * 
* * string dataset = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The bytes for dataset to set. * @return This builder for chaining. */ - public Builder setDatasetBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setDatasetBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); dataset_ = value; bitField0_ |= 0x00000002; @@ -1222,8 +1056,6 @@ public Builder setDatasetBytes(com.google.protobuf.ByteString value) { private java.lang.Object table_ = ""; /** - * - * *
        * The BigQuery table name to which the insights data should be written.
        * If this table does not exist, the export call returns an INVALID_ARGUMENT
@@ -1231,13 +1063,13 @@ public Builder setDatasetBytes(com.google.protobuf.ByteString value) {
        * 
* * string table = 2; - * * @return The table. */ public java.lang.String getTable() { java.lang.Object ref = table_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); table_ = s; return s; @@ -1246,8 +1078,6 @@ public java.lang.String getTable() { } } /** - * - * *
        * The BigQuery table name to which the insights data should be written.
        * If this table does not exist, the export call returns an INVALID_ARGUMENT
@@ -1255,14 +1085,15 @@ public java.lang.String getTable() {
        * 
* * string table = 2; - * * @return The bytes for table. */ - public com.google.protobuf.ByteString getTableBytes() { + public com.google.protobuf.ByteString + getTableBytes() { java.lang.Object ref = table_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); table_ = b; return b; } else { @@ -1270,8 +1101,6 @@ public com.google.protobuf.ByteString getTableBytes() { } } /** - * - * *
        * The BigQuery table name to which the insights data should be written.
        * If this table does not exist, the export call returns an INVALID_ARGUMENT
@@ -1279,22 +1108,18 @@ public com.google.protobuf.ByteString getTableBytes() {
        * 
* * string table = 2; - * * @param value The table to set. * @return This builder for chaining. */ - public Builder setTable(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setTable( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } table_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } /** - * - * *
        * The BigQuery table name to which the insights data should be written.
        * If this table does not exist, the export call returns an INVALID_ARGUMENT
@@ -1302,7 +1127,6 @@ public Builder setTable(java.lang.String value) {
        * 
* * string table = 2; - * * @return This builder for chaining. */ public Builder clearTable() { @@ -1312,8 +1136,6 @@ public Builder clearTable() { return this; } /** - * - * *
        * The BigQuery table name to which the insights data should be written.
        * If this table does not exist, the export call returns an INVALID_ARGUMENT
@@ -1321,21 +1143,18 @@ public Builder clearTable() {
        * 
* * string table = 2; - * * @param value The bytes for table to set. * @return This builder for chaining. */ - public Builder setTableBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setTableBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); table_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } - @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -1348,48 +1167,41 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.contactcenterinsights.v1.ExportInsightsDataRequest.BigQueryDestination) } // @@protoc_insertion_point(class_scope:google.cloud.contactcenterinsights.v1.ExportInsightsDataRequest.BigQueryDestination) - private static final com.google.cloud.contactcenterinsights.v1.ExportInsightsDataRequest - .BigQueryDestination - DEFAULT_INSTANCE; - + private static final com.google.cloud.contactcenterinsights.v1.ExportInsightsDataRequest.BigQueryDestination DEFAULT_INSTANCE; static { - DEFAULT_INSTANCE = - new com.google.cloud.contactcenterinsights.v1.ExportInsightsDataRequest - .BigQueryDestination(); + DEFAULT_INSTANCE = new com.google.cloud.contactcenterinsights.v1.ExportInsightsDataRequest.BigQueryDestination(); } - public static com.google.cloud.contactcenterinsights.v1.ExportInsightsDataRequest - .BigQueryDestination - getDefaultInstance() { + public static com.google.cloud.contactcenterinsights.v1.ExportInsightsDataRequest.BigQueryDestination getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public BigQueryDestination parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException() - .setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public BigQueryDestination parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1401,23 +1213,20 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.cloud.contactcenterinsights.v1.ExportInsightsDataRequest.BigQueryDestination - getDefaultInstanceForType() { + public com.google.cloud.contactcenterinsights.v1.ExportInsightsDataRequest.BigQueryDestination getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } private int destinationCase_ = 0; private java.lang.Object destination_; - public enum DestinationCase - implements - com.google.protobuf.Internal.EnumLite, + implements com.google.protobuf.Internal.EnumLite, com.google.protobuf.AbstractMessage.InternalOneOfEnum { BIG_QUERY_DESTINATION(2), DESTINATION_NOT_SET(0); private final int value; - private DestinationCase(int value) { this.value = value; } @@ -1433,36 +1242,29 @@ public static DestinationCase valueOf(int value) { public static DestinationCase forNumber(int value) { switch (value) { - case 2: - return BIG_QUERY_DESTINATION; - case 0: - return DESTINATION_NOT_SET; - default: - return null; + case 2: return BIG_QUERY_DESTINATION; + case 0: return DESTINATION_NOT_SET; + default: return null; } } - public int getNumber() { return this.value; } }; - public DestinationCase getDestinationCase() { - return DestinationCase.forNumber(destinationCase_); + public DestinationCase + getDestinationCase() { + return DestinationCase.forNumber( + destinationCase_); } public static final int BIG_QUERY_DESTINATION_FIELD_NUMBER = 2; /** - * - * *
    * Specified if sink is a BigQuery table.
    * 
* - * - * .google.cloud.contactcenterinsights.v1.ExportInsightsDataRequest.BigQueryDestination big_query_destination = 2; - * - * + * .google.cloud.contactcenterinsights.v1.ExportInsightsDataRequest.BigQueryDestination big_query_destination = 2; * @return Whether the bigQueryDestination field is set. */ @java.lang.Override @@ -1470,68 +1272,44 @@ public boolean hasBigQueryDestination() { return destinationCase_ == 2; } /** - * - * *
    * Specified if sink is a BigQuery table.
    * 
* - * - * .google.cloud.contactcenterinsights.v1.ExportInsightsDataRequest.BigQueryDestination big_query_destination = 2; - * - * + * .google.cloud.contactcenterinsights.v1.ExportInsightsDataRequest.BigQueryDestination big_query_destination = 2; * @return The bigQueryDestination. */ @java.lang.Override - public com.google.cloud.contactcenterinsights.v1.ExportInsightsDataRequest.BigQueryDestination - getBigQueryDestination() { + public com.google.cloud.contactcenterinsights.v1.ExportInsightsDataRequest.BigQueryDestination getBigQueryDestination() { if (destinationCase_ == 2) { - return (com.google.cloud.contactcenterinsights.v1.ExportInsightsDataRequest - .BigQueryDestination) - destination_; + return (com.google.cloud.contactcenterinsights.v1.ExportInsightsDataRequest.BigQueryDestination) destination_; } - return com.google.cloud.contactcenterinsights.v1.ExportInsightsDataRequest.BigQueryDestination - .getDefaultInstance(); + return com.google.cloud.contactcenterinsights.v1.ExportInsightsDataRequest.BigQueryDestination.getDefaultInstance(); } /** - * - * *
    * Specified if sink is a BigQuery table.
    * 
* - * - * .google.cloud.contactcenterinsights.v1.ExportInsightsDataRequest.BigQueryDestination big_query_destination = 2; - * + * .google.cloud.contactcenterinsights.v1.ExportInsightsDataRequest.BigQueryDestination big_query_destination = 2; */ @java.lang.Override - public com.google.cloud.contactcenterinsights.v1.ExportInsightsDataRequest - .BigQueryDestinationOrBuilder - getBigQueryDestinationOrBuilder() { + public com.google.cloud.contactcenterinsights.v1.ExportInsightsDataRequest.BigQueryDestinationOrBuilder getBigQueryDestinationOrBuilder() { if (destinationCase_ == 2) { - return (com.google.cloud.contactcenterinsights.v1.ExportInsightsDataRequest - .BigQueryDestination) - destination_; + return (com.google.cloud.contactcenterinsights.v1.ExportInsightsDataRequest.BigQueryDestination) destination_; } - return com.google.cloud.contactcenterinsights.v1.ExportInsightsDataRequest.BigQueryDestination - .getDefaultInstance(); + return com.google.cloud.contactcenterinsights.v1.ExportInsightsDataRequest.BigQueryDestination.getDefaultInstance(); } public static final int PARENT_FIELD_NUMBER = 1; - @SuppressWarnings("serial") private volatile java.lang.Object parent_ = ""; /** - * - * *
    * Required. The parent resource to export data from.
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The parent. */ @java.lang.Override @@ -1540,31 +1318,29 @@ public java.lang.String getParent() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; } } /** - * - * *
    * Required. The parent resource to export data from.
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for parent. */ @java.lang.Override - public com.google.protobuf.ByteString getParentBytes() { + public com.google.protobuf.ByteString + getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); parent_ = b; return b; } else { @@ -1573,19 +1349,15 @@ public com.google.protobuf.ByteString getParentBytes() { } public static final int FILTER_FIELD_NUMBER = 3; - @SuppressWarnings("serial") private volatile java.lang.Object filter_ = ""; /** - * - * *
    * A filter to reduce results to a specific subset. Useful for exporting
    * conversations with specific properties.
    * 
* * string filter = 3; - * * @return The filter. */ @java.lang.Override @@ -1594,30 +1366,30 @@ public java.lang.String getFilter() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); filter_ = s; return s; } } /** - * - * *
    * A filter to reduce results to a specific subset. Useful for exporting
    * conversations with specific properties.
    * 
* * string filter = 3; - * * @return The bytes for filter. */ @java.lang.Override - public com.google.protobuf.ByteString getFilterBytes() { + public com.google.protobuf.ByteString + getFilterBytes() { java.lang.Object ref = filter_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); filter_ = b; return b; } else { @@ -1626,12 +1398,9 @@ public com.google.protobuf.ByteString getFilterBytes() { } public static final int KMS_KEY_FIELD_NUMBER = 4; - @SuppressWarnings("serial") private volatile java.lang.Object kmsKey_ = ""; /** - * - * *
    * A fully qualified KMS key name for BigQuery tables protected by CMEK.
    * Format:
@@ -1639,7 +1408,6 @@ public com.google.protobuf.ByteString getFilterBytes() {
    * 
* * string kms_key = 4; - * * @return The kmsKey. */ @java.lang.Override @@ -1648,15 +1416,14 @@ public java.lang.String getKmsKey() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); kmsKey_ = s; return s; } } /** - * - * *
    * A fully qualified KMS key name for BigQuery tables protected by CMEK.
    * Format:
@@ -1664,15 +1431,16 @@ public java.lang.String getKmsKey() {
    * 
* * string kms_key = 4; - * * @return The bytes for kmsKey. */ @java.lang.Override - public com.google.protobuf.ByteString getKmsKeyBytes() { + public com.google.protobuf.ByteString + getKmsKeyBytes() { java.lang.Object ref = kmsKey_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); kmsKey_ = b; return b; } else { @@ -1683,49 +1451,30 @@ public com.google.protobuf.ByteString getKmsKeyBytes() { public static final int WRITE_DISPOSITION_FIELD_NUMBER = 5; private int writeDisposition_ = 0; /** - * - * *
    * Options for what to do if the destination table already exists.
    * 
* - * - * .google.cloud.contactcenterinsights.v1.ExportInsightsDataRequest.WriteDisposition write_disposition = 5; - * - * + * .google.cloud.contactcenterinsights.v1.ExportInsightsDataRequest.WriteDisposition write_disposition = 5; * @return The enum numeric value on the wire for writeDisposition. */ - @java.lang.Override - public int getWriteDispositionValue() { + @java.lang.Override public int getWriteDispositionValue() { return writeDisposition_; } /** - * - * *
    * Options for what to do if the destination table already exists.
    * 
* - * - * .google.cloud.contactcenterinsights.v1.ExportInsightsDataRequest.WriteDisposition write_disposition = 5; - * - * + * .google.cloud.contactcenterinsights.v1.ExportInsightsDataRequest.WriteDisposition write_disposition = 5; * @return The writeDisposition. */ - @java.lang.Override - public com.google.cloud.contactcenterinsights.v1.ExportInsightsDataRequest.WriteDisposition - getWriteDisposition() { - com.google.cloud.contactcenterinsights.v1.ExportInsightsDataRequest.WriteDisposition result = - com.google.cloud.contactcenterinsights.v1.ExportInsightsDataRequest.WriteDisposition - .forNumber(writeDisposition_); - return result == null - ? com.google.cloud.contactcenterinsights.v1.ExportInsightsDataRequest.WriteDisposition - .UNRECOGNIZED - : result; + @java.lang.Override public com.google.cloud.contactcenterinsights.v1.ExportInsightsDataRequest.WriteDisposition getWriteDisposition() { + com.google.cloud.contactcenterinsights.v1.ExportInsightsDataRequest.WriteDisposition result = com.google.cloud.contactcenterinsights.v1.ExportInsightsDataRequest.WriteDisposition.forNumber(writeDisposition_); + return result == null ? com.google.cloud.contactcenterinsights.v1.ExportInsightsDataRequest.WriteDisposition.UNRECOGNIZED : result; } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -1737,15 +1486,13 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); } if (destinationCase_ == 2) { - output.writeMessage( - 2, - (com.google.cloud.contactcenterinsights.v1.ExportInsightsDataRequest.BigQueryDestination) - destination_); + output.writeMessage(2, (com.google.cloud.contactcenterinsights.v1.ExportInsightsDataRequest.BigQueryDestination) destination_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(filter_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 3, filter_); @@ -1753,10 +1500,7 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(kmsKey_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 4, kmsKey_); } - if (writeDisposition_ - != com.google.cloud.contactcenterinsights.v1.ExportInsightsDataRequest.WriteDisposition - .WRITE_DISPOSITION_UNSPECIFIED - .getNumber()) { + if (writeDisposition_ != com.google.cloud.contactcenterinsights.v1.ExportInsightsDataRequest.WriteDisposition.WRITE_DISPOSITION_UNSPECIFIED.getNumber()) { output.writeEnum(5, writeDisposition_); } getUnknownFields().writeTo(output); @@ -1772,12 +1516,8 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, parent_); } if (destinationCase_ == 2) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize( - 2, - (com.google.cloud.contactcenterinsights.v1.ExportInsightsDataRequest - .BigQueryDestination) - destination_); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, (com.google.cloud.contactcenterinsights.v1.ExportInsightsDataRequest.BigQueryDestination) destination_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(filter_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, filter_); @@ -1785,11 +1525,9 @@ public int getSerializedSize() { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(kmsKey_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, kmsKey_); } - if (writeDisposition_ - != com.google.cloud.contactcenterinsights.v1.ExportInsightsDataRequest.WriteDisposition - .WRITE_DISPOSITION_UNSPECIFIED - .getNumber()) { - size += com.google.protobuf.CodedOutputStream.computeEnumSize(5, writeDisposition_); + if (writeDisposition_ != com.google.cloud.contactcenterinsights.v1.ExportInsightsDataRequest.WriteDisposition.WRITE_DISPOSITION_UNSPECIFIED.getNumber()) { + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(5, writeDisposition_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -1799,22 +1537,25 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.contactcenterinsights.v1.ExportInsightsDataRequest)) { return super.equals(obj); } - com.google.cloud.contactcenterinsights.v1.ExportInsightsDataRequest other = - (com.google.cloud.contactcenterinsights.v1.ExportInsightsDataRequest) obj; + com.google.cloud.contactcenterinsights.v1.ExportInsightsDataRequest other = (com.google.cloud.contactcenterinsights.v1.ExportInsightsDataRequest) obj; - if (!getParent().equals(other.getParent())) return false; - if (!getFilter().equals(other.getFilter())) return false; - if (!getKmsKey().equals(other.getKmsKey())) return false; + if (!getParent() + .equals(other.getParent())) return false; + if (!getFilter() + .equals(other.getFilter())) return false; + if (!getKmsKey() + .equals(other.getKmsKey())) return false; if (writeDisposition_ != other.writeDisposition_) return false; if (!getDestinationCase().equals(other.getDestinationCase())) return false; switch (destinationCase_) { case 2: - if (!getBigQueryDestination().equals(other.getBigQueryDestination())) return false; + if (!getBigQueryDestination() + .equals(other.getBigQueryDestination())) return false; break; case 0: default: @@ -1852,138 +1593,129 @@ public int hashCode() { } public static com.google.cloud.contactcenterinsights.v1.ExportInsightsDataRequest parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.contactcenterinsights.v1.ExportInsightsDataRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.contactcenterinsights.v1.ExportInsightsDataRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.contactcenterinsights.v1.ExportInsightsDataRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.contactcenterinsights.v1.ExportInsightsDataRequest parseFrom( - byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.contactcenterinsights.v1.ExportInsightsDataRequest parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.contactcenterinsights.v1.ExportInsightsDataRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.contactcenterinsights.v1.ExportInsightsDataRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.contactcenterinsights.v1.ExportInsightsDataRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.contactcenterinsights.v1.ExportInsightsDataRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.contactcenterinsights.v1.ExportInsightsDataRequest - parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.contactcenterinsights.v1.ExportInsightsDataRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - - public static com.google.cloud.contactcenterinsights.v1.ExportInsightsDataRequest - parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + public static com.google.cloud.contactcenterinsights.v1.ExportInsightsDataRequest parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.contactcenterinsights.v1.ExportInsightsDataRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.contactcenterinsights.v1.ExportInsightsDataRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.contactcenterinsights.v1.ExportInsightsDataRequest prototype) { + public static Builder newBuilder(com.google.cloud.contactcenterinsights.v1.ExportInsightsDataRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * The request to export insights.
    * 
* * Protobuf type {@code google.cloud.contactcenterinsights.v1.ExportInsightsDataRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.contactcenterinsights.v1.ExportInsightsDataRequest) com.google.cloud.contactcenterinsights.v1.ExportInsightsDataRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto - .internal_static_google_cloud_contactcenterinsights_v1_ExportInsightsDataRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto.internal_static_google_cloud_contactcenterinsights_v1_ExportInsightsDataRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto - .internal_static_google_cloud_contactcenterinsights_v1_ExportInsightsDataRequest_fieldAccessorTable + return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto.internal_static_google_cloud_contactcenterinsights_v1_ExportInsightsDataRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.contactcenterinsights.v1.ExportInsightsDataRequest.class, - com.google.cloud.contactcenterinsights.v1.ExportInsightsDataRequest.Builder.class); + com.google.cloud.contactcenterinsights.v1.ExportInsightsDataRequest.class, com.google.cloud.contactcenterinsights.v1.ExportInsightsDataRequest.Builder.class); } - // Construct using - // com.google.cloud.contactcenterinsights.v1.ExportInsightsDataRequest.newBuilder() - private Builder() {} + // Construct using com.google.cloud.contactcenterinsights.v1.ExportInsightsDataRequest.newBuilder() + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -2001,16 +1733,14 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto - .internal_static_google_cloud_contactcenterinsights_v1_ExportInsightsDataRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto.internal_static_google_cloud_contactcenterinsights_v1_ExportInsightsDataRequest_descriptor; } @java.lang.Override - public com.google.cloud.contactcenterinsights.v1.ExportInsightsDataRequest - getDefaultInstanceForType() { - return com.google.cloud.contactcenterinsights.v1.ExportInsightsDataRequest - .getDefaultInstance(); + public com.google.cloud.contactcenterinsights.v1.ExportInsightsDataRequest getDefaultInstanceForType() { + return com.google.cloud.contactcenterinsights.v1.ExportInsightsDataRequest.getDefaultInstance(); } @java.lang.Override @@ -2024,18 +1754,14 @@ public com.google.cloud.contactcenterinsights.v1.ExportInsightsDataRequest build @java.lang.Override public com.google.cloud.contactcenterinsights.v1.ExportInsightsDataRequest buildPartial() { - com.google.cloud.contactcenterinsights.v1.ExportInsightsDataRequest result = - new com.google.cloud.contactcenterinsights.v1.ExportInsightsDataRequest(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + com.google.cloud.contactcenterinsights.v1.ExportInsightsDataRequest result = new com.google.cloud.contactcenterinsights.v1.ExportInsightsDataRequest(this); + if (bitField0_ != 0) { buildPartial0(result); } buildPartialOneofs(result); onBuilt(); return result; } - private void buildPartial0( - com.google.cloud.contactcenterinsights.v1.ExportInsightsDataRequest result) { + private void buildPartial0(com.google.cloud.contactcenterinsights.v1.ExportInsightsDataRequest result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000002) != 0)) { result.parent_ = parent_; @@ -2051,11 +1777,11 @@ private void buildPartial0( } } - private void buildPartialOneofs( - com.google.cloud.contactcenterinsights.v1.ExportInsightsDataRequest result) { + private void buildPartialOneofs(com.google.cloud.contactcenterinsights.v1.ExportInsightsDataRequest result) { result.destinationCase_ = destinationCase_; result.destination_ = this.destination_; - if (destinationCase_ == 2 && bigQueryDestinationBuilder_ != null) { + if (destinationCase_ == 2 && + bigQueryDestinationBuilder_ != null) { result.destination_ = bigQueryDestinationBuilder_.build(); } } @@ -2064,51 +1790,46 @@ private void buildPartialOneofs( public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.contactcenterinsights.v1.ExportInsightsDataRequest) { - return mergeFrom( - (com.google.cloud.contactcenterinsights.v1.ExportInsightsDataRequest) other); + return mergeFrom((com.google.cloud.contactcenterinsights.v1.ExportInsightsDataRequest)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom( - com.google.cloud.contactcenterinsights.v1.ExportInsightsDataRequest other) { - if (other - == com.google.cloud.contactcenterinsights.v1.ExportInsightsDataRequest - .getDefaultInstance()) return this; + public Builder mergeFrom(com.google.cloud.contactcenterinsights.v1.ExportInsightsDataRequest other) { + if (other == com.google.cloud.contactcenterinsights.v1.ExportInsightsDataRequest.getDefaultInstance()) return this; if (!other.getParent().isEmpty()) { parent_ = other.parent_; bitField0_ |= 0x00000002; @@ -2128,15 +1849,13 @@ public Builder mergeFrom( setWriteDispositionValue(other.getWriteDispositionValue()); } switch (other.getDestinationCase()) { - case BIG_QUERY_DESTINATION: - { - mergeBigQueryDestination(other.getBigQueryDestination()); - break; - } - case DESTINATION_NOT_SET: - { - break; - } + case BIG_QUERY_DESTINATION: { + mergeBigQueryDestination(other.getBigQueryDestination()); + break; + } + case DESTINATION_NOT_SET: { + break; + } } this.mergeUnknownFields(other.getUnknownFields()); onChanged(); @@ -2164,44 +1883,39 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - parent_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000002; - break; - } // case 10 - case 18: - { - input.readMessage( - getBigQueryDestinationFieldBuilder().getBuilder(), extensionRegistry); - destinationCase_ = 2; - break; - } // case 18 - case 26: - { - filter_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000004; - break; - } // case 26 - case 34: - { - kmsKey_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000008; - break; - } // case 34 - case 40: - { - writeDisposition_ = input.readEnum(); - bitField0_ |= 0x00000010; - break; - } // case 40 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + parent_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + break; + } // case 10 + case 18: { + input.readMessage( + getBigQueryDestinationFieldBuilder().getBuilder(), + extensionRegistry); + destinationCase_ = 2; + break; + } // case 18 + case 26: { + filter_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000004; + break; + } // case 26 + case 34: { + kmsKey_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000008; + break; + } // case 34 + case 40: { + writeDisposition_ = input.readEnum(); + bitField0_ |= 0x00000010; + break; + } // case 40 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -2211,12 +1925,12 @@ public Builder mergeFrom( } // finally return this; } - private int destinationCase_ = 0; private java.lang.Object destination_; - - public DestinationCase getDestinationCase() { - return DestinationCase.forNumber(destinationCase_); + public DestinationCase + getDestinationCase() { + return DestinationCase.forNumber( + destinationCase_); } public Builder clearDestination() { @@ -2229,23 +1943,13 @@ public Builder clearDestination() { private int bitField0_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.contactcenterinsights.v1.ExportInsightsDataRequest.BigQueryDestination, - com.google.cloud.contactcenterinsights.v1.ExportInsightsDataRequest.BigQueryDestination - .Builder, - com.google.cloud.contactcenterinsights.v1.ExportInsightsDataRequest - .BigQueryDestinationOrBuilder> - bigQueryDestinationBuilder_; + com.google.cloud.contactcenterinsights.v1.ExportInsightsDataRequest.BigQueryDestination, com.google.cloud.contactcenterinsights.v1.ExportInsightsDataRequest.BigQueryDestination.Builder, com.google.cloud.contactcenterinsights.v1.ExportInsightsDataRequest.BigQueryDestinationOrBuilder> bigQueryDestinationBuilder_; /** - * - * *
      * Specified if sink is a BigQuery table.
      * 
* - * - * .google.cloud.contactcenterinsights.v1.ExportInsightsDataRequest.BigQueryDestination big_query_destination = 2; - * - * + * .google.cloud.contactcenterinsights.v1.ExportInsightsDataRequest.BigQueryDestination big_query_destination = 2; * @return Whether the bigQueryDestination field is set. */ @java.lang.Override @@ -2253,51 +1957,35 @@ public boolean hasBigQueryDestination() { return destinationCase_ == 2; } /** - * - * *
      * Specified if sink is a BigQuery table.
      * 
* - * - * .google.cloud.contactcenterinsights.v1.ExportInsightsDataRequest.BigQueryDestination big_query_destination = 2; - * - * + * .google.cloud.contactcenterinsights.v1.ExportInsightsDataRequest.BigQueryDestination big_query_destination = 2; * @return The bigQueryDestination. */ @java.lang.Override - public com.google.cloud.contactcenterinsights.v1.ExportInsightsDataRequest.BigQueryDestination - getBigQueryDestination() { + public com.google.cloud.contactcenterinsights.v1.ExportInsightsDataRequest.BigQueryDestination getBigQueryDestination() { if (bigQueryDestinationBuilder_ == null) { if (destinationCase_ == 2) { - return (com.google.cloud.contactcenterinsights.v1.ExportInsightsDataRequest - .BigQueryDestination) - destination_; + return (com.google.cloud.contactcenterinsights.v1.ExportInsightsDataRequest.BigQueryDestination) destination_; } - return com.google.cloud.contactcenterinsights.v1.ExportInsightsDataRequest - .BigQueryDestination.getDefaultInstance(); + return com.google.cloud.contactcenterinsights.v1.ExportInsightsDataRequest.BigQueryDestination.getDefaultInstance(); } else { if (destinationCase_ == 2) { return bigQueryDestinationBuilder_.getMessage(); } - return com.google.cloud.contactcenterinsights.v1.ExportInsightsDataRequest - .BigQueryDestination.getDefaultInstance(); + return com.google.cloud.contactcenterinsights.v1.ExportInsightsDataRequest.BigQueryDestination.getDefaultInstance(); } } /** - * - * *
      * Specified if sink is a BigQuery table.
      * 
* - * - * .google.cloud.contactcenterinsights.v1.ExportInsightsDataRequest.BigQueryDestination big_query_destination = 2; - * + * .google.cloud.contactcenterinsights.v1.ExportInsightsDataRequest.BigQueryDestination big_query_destination = 2; */ - public Builder setBigQueryDestination( - com.google.cloud.contactcenterinsights.v1.ExportInsightsDataRequest.BigQueryDestination - value) { + public Builder setBigQueryDestination(com.google.cloud.contactcenterinsights.v1.ExportInsightsDataRequest.BigQueryDestination value) { if (bigQueryDestinationBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -2311,20 +1999,14 @@ public Builder setBigQueryDestination( return this; } /** - * - * *
      * Specified if sink is a BigQuery table.
      * 
* - * - * .google.cloud.contactcenterinsights.v1.ExportInsightsDataRequest.BigQueryDestination big_query_destination = 2; - * + * .google.cloud.contactcenterinsights.v1.ExportInsightsDataRequest.BigQueryDestination big_query_destination = 2; */ public Builder setBigQueryDestination( - com.google.cloud.contactcenterinsights.v1.ExportInsightsDataRequest.BigQueryDestination - .Builder - builderForValue) { + com.google.cloud.contactcenterinsights.v1.ExportInsightsDataRequest.BigQueryDestination.Builder builderForValue) { if (bigQueryDestinationBuilder_ == null) { destination_ = builderForValue.build(); onChanged(); @@ -2335,32 +2017,18 @@ public Builder setBigQueryDestination( return this; } /** - * - * *
      * Specified if sink is a BigQuery table.
      * 
* - * - * .google.cloud.contactcenterinsights.v1.ExportInsightsDataRequest.BigQueryDestination big_query_destination = 2; - * + * .google.cloud.contactcenterinsights.v1.ExportInsightsDataRequest.BigQueryDestination big_query_destination = 2; */ - public Builder mergeBigQueryDestination( - com.google.cloud.contactcenterinsights.v1.ExportInsightsDataRequest.BigQueryDestination - value) { + public Builder mergeBigQueryDestination(com.google.cloud.contactcenterinsights.v1.ExportInsightsDataRequest.BigQueryDestination value) { if (bigQueryDestinationBuilder_ == null) { - if (destinationCase_ == 2 - && destination_ - != com.google.cloud.contactcenterinsights.v1.ExportInsightsDataRequest - .BigQueryDestination.getDefaultInstance()) { - destination_ = - com.google.cloud.contactcenterinsights.v1.ExportInsightsDataRequest - .BigQueryDestination.newBuilder( - (com.google.cloud.contactcenterinsights.v1.ExportInsightsDataRequest - .BigQueryDestination) - destination_) - .mergeFrom(value) - .buildPartial(); + if (destinationCase_ == 2 && + destination_ != com.google.cloud.contactcenterinsights.v1.ExportInsightsDataRequest.BigQueryDestination.getDefaultInstance()) { + destination_ = com.google.cloud.contactcenterinsights.v1.ExportInsightsDataRequest.BigQueryDestination.newBuilder((com.google.cloud.contactcenterinsights.v1.ExportInsightsDataRequest.BigQueryDestination) destination_) + .mergeFrom(value).buildPartial(); } else { destination_ = value; } @@ -2376,15 +2044,11 @@ public Builder mergeBigQueryDestination( return this; } /** - * - * *
      * Specified if sink is a BigQuery table.
      * 
* - * - * .google.cloud.contactcenterinsights.v1.ExportInsightsDataRequest.BigQueryDestination big_query_destination = 2; - * + * .google.cloud.contactcenterinsights.v1.ExportInsightsDataRequest.BigQueryDestination big_query_destination = 2; */ public Builder clearBigQueryDestination() { if (bigQueryDestinationBuilder_ == null) { @@ -2403,83 +2067,50 @@ public Builder clearBigQueryDestination() { return this; } /** - * - * *
      * Specified if sink is a BigQuery table.
      * 
* - * - * .google.cloud.contactcenterinsights.v1.ExportInsightsDataRequest.BigQueryDestination big_query_destination = 2; - * + * .google.cloud.contactcenterinsights.v1.ExportInsightsDataRequest.BigQueryDestination big_query_destination = 2; */ - public com.google.cloud.contactcenterinsights.v1.ExportInsightsDataRequest.BigQueryDestination - .Builder - getBigQueryDestinationBuilder() { + public com.google.cloud.contactcenterinsights.v1.ExportInsightsDataRequest.BigQueryDestination.Builder getBigQueryDestinationBuilder() { return getBigQueryDestinationFieldBuilder().getBuilder(); } /** - * - * *
      * Specified if sink is a BigQuery table.
      * 
* - * - * .google.cloud.contactcenterinsights.v1.ExportInsightsDataRequest.BigQueryDestination big_query_destination = 2; - * + * .google.cloud.contactcenterinsights.v1.ExportInsightsDataRequest.BigQueryDestination big_query_destination = 2; */ @java.lang.Override - public com.google.cloud.contactcenterinsights.v1.ExportInsightsDataRequest - .BigQueryDestinationOrBuilder - getBigQueryDestinationOrBuilder() { + public com.google.cloud.contactcenterinsights.v1.ExportInsightsDataRequest.BigQueryDestinationOrBuilder getBigQueryDestinationOrBuilder() { if ((destinationCase_ == 2) && (bigQueryDestinationBuilder_ != null)) { return bigQueryDestinationBuilder_.getMessageOrBuilder(); } else { if (destinationCase_ == 2) { - return (com.google.cloud.contactcenterinsights.v1.ExportInsightsDataRequest - .BigQueryDestination) - destination_; + return (com.google.cloud.contactcenterinsights.v1.ExportInsightsDataRequest.BigQueryDestination) destination_; } - return com.google.cloud.contactcenterinsights.v1.ExportInsightsDataRequest - .BigQueryDestination.getDefaultInstance(); + return com.google.cloud.contactcenterinsights.v1.ExportInsightsDataRequest.BigQueryDestination.getDefaultInstance(); } } /** - * - * *
      * Specified if sink is a BigQuery table.
      * 
* - * - * .google.cloud.contactcenterinsights.v1.ExportInsightsDataRequest.BigQueryDestination big_query_destination = 2; - * + * .google.cloud.contactcenterinsights.v1.ExportInsightsDataRequest.BigQueryDestination big_query_destination = 2; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.contactcenterinsights.v1.ExportInsightsDataRequest.BigQueryDestination, - com.google.cloud.contactcenterinsights.v1.ExportInsightsDataRequest.BigQueryDestination - .Builder, - com.google.cloud.contactcenterinsights.v1.ExportInsightsDataRequest - .BigQueryDestinationOrBuilder> + com.google.cloud.contactcenterinsights.v1.ExportInsightsDataRequest.BigQueryDestination, com.google.cloud.contactcenterinsights.v1.ExportInsightsDataRequest.BigQueryDestination.Builder, com.google.cloud.contactcenterinsights.v1.ExportInsightsDataRequest.BigQueryDestinationOrBuilder> getBigQueryDestinationFieldBuilder() { if (bigQueryDestinationBuilder_ == null) { if (!(destinationCase_ == 2)) { - destination_ = - com.google.cloud.contactcenterinsights.v1.ExportInsightsDataRequest - .BigQueryDestination.getDefaultInstance(); + destination_ = com.google.cloud.contactcenterinsights.v1.ExportInsightsDataRequest.BigQueryDestination.getDefaultInstance(); } - bigQueryDestinationBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.contactcenterinsights.v1.ExportInsightsDataRequest - .BigQueryDestination, - com.google.cloud.contactcenterinsights.v1.ExportInsightsDataRequest - .BigQueryDestination.Builder, - com.google.cloud.contactcenterinsights.v1.ExportInsightsDataRequest - .BigQueryDestinationOrBuilder>( - (com.google.cloud.contactcenterinsights.v1.ExportInsightsDataRequest - .BigQueryDestination) - destination_, + bigQueryDestinationBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.contactcenterinsights.v1.ExportInsightsDataRequest.BigQueryDestination, com.google.cloud.contactcenterinsights.v1.ExportInsightsDataRequest.BigQueryDestination.Builder, com.google.cloud.contactcenterinsights.v1.ExportInsightsDataRequest.BigQueryDestinationOrBuilder>( + (com.google.cloud.contactcenterinsights.v1.ExportInsightsDataRequest.BigQueryDestination) destination_, getParentForChildren(), isClean()); destination_ = null; @@ -2491,22 +2122,18 @@ public Builder clearBigQueryDestination() { private java.lang.Object parent_ = ""; /** - * - * *
      * Required. The parent resource to export data from.
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The parent. */ public java.lang.String getParent() { java.lang.Object ref = parent_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; @@ -2515,23 +2142,20 @@ public java.lang.String getParent() { } } /** - * - * *
      * Required. The parent resource to export data from.
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for parent. */ - public com.google.protobuf.ByteString getParentBytes() { + public com.google.protobuf.ByteString + getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); parent_ = b; return b; } else { @@ -2539,39 +2163,28 @@ public com.google.protobuf.ByteString getParentBytes() { } } /** - * - * *
      * Required. The parent resource to export data from.
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The parent to set. * @return This builder for chaining. */ - public Builder setParent(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setParent( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } parent_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** - * - * *
      * Required. The parent resource to export data from.
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearParent() { @@ -2581,23 +2194,17 @@ public Builder clearParent() { return this; } /** - * - * *
      * Required. The parent resource to export data from.
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setParentBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); parent_ = value; bitField0_ |= 0x00000002; @@ -2607,21 +2214,19 @@ public Builder setParentBytes(com.google.protobuf.ByteString value) { private java.lang.Object filter_ = ""; /** - * - * *
      * A filter to reduce results to a specific subset. Useful for exporting
      * conversations with specific properties.
      * 
* * string filter = 3; - * * @return The filter. */ public java.lang.String getFilter() { java.lang.Object ref = filter_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); filter_ = s; return s; @@ -2630,22 +2235,21 @@ public java.lang.String getFilter() { } } /** - * - * *
      * A filter to reduce results to a specific subset. Useful for exporting
      * conversations with specific properties.
      * 
* * string filter = 3; - * * @return The bytes for filter. */ - public com.google.protobuf.ByteString getFilterBytes() { + public com.google.protobuf.ByteString + getFilterBytes() { java.lang.Object ref = filter_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); filter_ = b; return b; } else { @@ -2653,37 +2257,30 @@ public com.google.protobuf.ByteString getFilterBytes() { } } /** - * - * *
      * A filter to reduce results to a specific subset. Useful for exporting
      * conversations with specific properties.
      * 
* * string filter = 3; - * * @param value The filter to set. * @return This builder for chaining. */ - public Builder setFilter(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setFilter( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } filter_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } /** - * - * *
      * A filter to reduce results to a specific subset. Useful for exporting
      * conversations with specific properties.
      * 
* * string filter = 3; - * * @return This builder for chaining. */ public Builder clearFilter() { @@ -2693,22 +2290,18 @@ public Builder clearFilter() { return this; } /** - * - * *
      * A filter to reduce results to a specific subset. Useful for exporting
      * conversations with specific properties.
      * 
* * string filter = 3; - * * @param value The bytes for filter to set. * @return This builder for chaining. */ - public Builder setFilterBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setFilterBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); filter_ = value; bitField0_ |= 0x00000004; @@ -2718,8 +2311,6 @@ public Builder setFilterBytes(com.google.protobuf.ByteString value) { private java.lang.Object kmsKey_ = ""; /** - * - * *
      * A fully qualified KMS key name for BigQuery tables protected by CMEK.
      * Format:
@@ -2727,13 +2318,13 @@ public Builder setFilterBytes(com.google.protobuf.ByteString value) {
      * 
* * string kms_key = 4; - * * @return The kmsKey. */ public java.lang.String getKmsKey() { java.lang.Object ref = kmsKey_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); kmsKey_ = s; return s; @@ -2742,8 +2333,6 @@ public java.lang.String getKmsKey() { } } /** - * - * *
      * A fully qualified KMS key name for BigQuery tables protected by CMEK.
      * Format:
@@ -2751,14 +2340,15 @@ public java.lang.String getKmsKey() {
      * 
* * string kms_key = 4; - * * @return The bytes for kmsKey. */ - public com.google.protobuf.ByteString getKmsKeyBytes() { + public com.google.protobuf.ByteString + getKmsKeyBytes() { java.lang.Object ref = kmsKey_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); kmsKey_ = b; return b; } else { @@ -2766,8 +2356,6 @@ public com.google.protobuf.ByteString getKmsKeyBytes() { } } /** - * - * *
      * A fully qualified KMS key name for BigQuery tables protected by CMEK.
      * Format:
@@ -2775,22 +2363,18 @@ public com.google.protobuf.ByteString getKmsKeyBytes() {
      * 
* * string kms_key = 4; - * * @param value The kmsKey to set. * @return This builder for chaining. */ - public Builder setKmsKey(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setKmsKey( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } kmsKey_ = value; bitField0_ |= 0x00000008; onChanged(); return this; } /** - * - * *
      * A fully qualified KMS key name for BigQuery tables protected by CMEK.
      * Format:
@@ -2798,7 +2382,6 @@ public Builder setKmsKey(java.lang.String value) {
      * 
* * string kms_key = 4; - * * @return This builder for chaining. */ public Builder clearKmsKey() { @@ -2808,8 +2391,6 @@ public Builder clearKmsKey() { return this; } /** - * - * *
      * A fully qualified KMS key name for BigQuery tables protected by CMEK.
      * Format:
@@ -2817,14 +2398,12 @@ public Builder clearKmsKey() {
      * 
* * string kms_key = 4; - * * @param value The bytes for kmsKey to set. * @return This builder for chaining. */ - public Builder setKmsKeyBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setKmsKeyBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); kmsKey_ = value; bitField0_ |= 0x00000008; @@ -2834,33 +2413,22 @@ public Builder setKmsKeyBytes(com.google.protobuf.ByteString value) { private int writeDisposition_ = 0; /** - * - * *
      * Options for what to do if the destination table already exists.
      * 
* - * - * .google.cloud.contactcenterinsights.v1.ExportInsightsDataRequest.WriteDisposition write_disposition = 5; - * - * + * .google.cloud.contactcenterinsights.v1.ExportInsightsDataRequest.WriteDisposition write_disposition = 5; * @return The enum numeric value on the wire for writeDisposition. */ - @java.lang.Override - public int getWriteDispositionValue() { + @java.lang.Override public int getWriteDispositionValue() { return writeDisposition_; } /** - * - * *
      * Options for what to do if the destination table already exists.
      * 
* - * - * .google.cloud.contactcenterinsights.v1.ExportInsightsDataRequest.WriteDisposition write_disposition = 5; - * - * + * .google.cloud.contactcenterinsights.v1.ExportInsightsDataRequest.WriteDisposition write_disposition = 5; * @param value The enum numeric value on the wire for writeDisposition to set. * @return This builder for chaining. */ @@ -2871,46 +2439,28 @@ public Builder setWriteDispositionValue(int value) { return this; } /** - * - * *
      * Options for what to do if the destination table already exists.
      * 
* - * - * .google.cloud.contactcenterinsights.v1.ExportInsightsDataRequest.WriteDisposition write_disposition = 5; - * - * + * .google.cloud.contactcenterinsights.v1.ExportInsightsDataRequest.WriteDisposition write_disposition = 5; * @return The writeDisposition. */ @java.lang.Override - public com.google.cloud.contactcenterinsights.v1.ExportInsightsDataRequest.WriteDisposition - getWriteDisposition() { - com.google.cloud.contactcenterinsights.v1.ExportInsightsDataRequest.WriteDisposition result = - com.google.cloud.contactcenterinsights.v1.ExportInsightsDataRequest.WriteDisposition - .forNumber(writeDisposition_); - return result == null - ? com.google.cloud.contactcenterinsights.v1.ExportInsightsDataRequest.WriteDisposition - .UNRECOGNIZED - : result; + public com.google.cloud.contactcenterinsights.v1.ExportInsightsDataRequest.WriteDisposition getWriteDisposition() { + com.google.cloud.contactcenterinsights.v1.ExportInsightsDataRequest.WriteDisposition result = com.google.cloud.contactcenterinsights.v1.ExportInsightsDataRequest.WriteDisposition.forNumber(writeDisposition_); + return result == null ? com.google.cloud.contactcenterinsights.v1.ExportInsightsDataRequest.WriteDisposition.UNRECOGNIZED : result; } /** - * - * *
      * Options for what to do if the destination table already exists.
      * 
* - * - * .google.cloud.contactcenterinsights.v1.ExportInsightsDataRequest.WriteDisposition write_disposition = 5; - * - * + * .google.cloud.contactcenterinsights.v1.ExportInsightsDataRequest.WriteDisposition write_disposition = 5; * @param value The writeDisposition to set. * @return This builder for chaining. */ - public Builder setWriteDisposition( - com.google.cloud.contactcenterinsights.v1.ExportInsightsDataRequest.WriteDisposition - value) { + public Builder setWriteDisposition(com.google.cloud.contactcenterinsights.v1.ExportInsightsDataRequest.WriteDisposition value) { if (value == null) { throw new NullPointerException(); } @@ -2920,16 +2470,11 @@ public Builder setWriteDisposition( return this; } /** - * - * *
      * Options for what to do if the destination table already exists.
      * 
* - * - * .google.cloud.contactcenterinsights.v1.ExportInsightsDataRequest.WriteDisposition write_disposition = 5; - * - * + * .google.cloud.contactcenterinsights.v1.ExportInsightsDataRequest.WriteDisposition write_disposition = 5; * @return This builder for chaining. */ public Builder clearWriteDisposition() { @@ -2938,9 +2483,9 @@ public Builder clearWriteDisposition() { onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -2950,43 +2495,41 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.contactcenterinsights.v1.ExportInsightsDataRequest) } // @@protoc_insertion_point(class_scope:google.cloud.contactcenterinsights.v1.ExportInsightsDataRequest) - private static final com.google.cloud.contactcenterinsights.v1.ExportInsightsDataRequest - DEFAULT_INSTANCE; - + private static final com.google.cloud.contactcenterinsights.v1.ExportInsightsDataRequest DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.cloud.contactcenterinsights.v1.ExportInsightsDataRequest(); } - public static com.google.cloud.contactcenterinsights.v1.ExportInsightsDataRequest - getDefaultInstance() { + public static com.google.cloud.contactcenterinsights.v1.ExportInsightsDataRequest getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ExportInsightsDataRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ExportInsightsDataRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -2998,8 +2541,9 @@ public com.google.protobuf.Parser getParserForType() } @java.lang.Override - public com.google.cloud.contactcenterinsights.v1.ExportInsightsDataRequest - getDefaultInstanceForType() { + public com.google.cloud.contactcenterinsights.v1.ExportInsightsDataRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ExportInsightsDataRequestOrBuilder.java b/owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ExportInsightsDataRequestOrBuilder.java similarity index 55% rename from java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ExportInsightsDataRequestOrBuilder.java rename to owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ExportInsightsDataRequestOrBuilder.java index d49fc82904d7..52741507f34a 100644 --- a/java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ExportInsightsDataRequestOrBuilder.java +++ b/owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ExportInsightsDataRequestOrBuilder.java @@ -1,130 +1,82 @@ -/* - * 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. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/contactcenterinsights/v1/contact_center_insights.proto package com.google.cloud.contactcenterinsights.v1; -public interface ExportInsightsDataRequestOrBuilder - extends +public interface ExportInsightsDataRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.contactcenterinsights.v1.ExportInsightsDataRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Specified if sink is a BigQuery table.
    * 
* - * - * .google.cloud.contactcenterinsights.v1.ExportInsightsDataRequest.BigQueryDestination big_query_destination = 2; - * - * + * .google.cloud.contactcenterinsights.v1.ExportInsightsDataRequest.BigQueryDestination big_query_destination = 2; * @return Whether the bigQueryDestination field is set. */ boolean hasBigQueryDestination(); /** - * - * *
    * Specified if sink is a BigQuery table.
    * 
* - * - * .google.cloud.contactcenterinsights.v1.ExportInsightsDataRequest.BigQueryDestination big_query_destination = 2; - * - * + * .google.cloud.contactcenterinsights.v1.ExportInsightsDataRequest.BigQueryDestination big_query_destination = 2; * @return The bigQueryDestination. */ - com.google.cloud.contactcenterinsights.v1.ExportInsightsDataRequest.BigQueryDestination - getBigQueryDestination(); + com.google.cloud.contactcenterinsights.v1.ExportInsightsDataRequest.BigQueryDestination getBigQueryDestination(); /** - * - * *
    * Specified if sink is a BigQuery table.
    * 
* - * - * .google.cloud.contactcenterinsights.v1.ExportInsightsDataRequest.BigQueryDestination big_query_destination = 2; - * + * .google.cloud.contactcenterinsights.v1.ExportInsightsDataRequest.BigQueryDestination big_query_destination = 2; */ - com.google.cloud.contactcenterinsights.v1.ExportInsightsDataRequest.BigQueryDestinationOrBuilder - getBigQueryDestinationOrBuilder(); + com.google.cloud.contactcenterinsights.v1.ExportInsightsDataRequest.BigQueryDestinationOrBuilder getBigQueryDestinationOrBuilder(); /** - * - * *
    * Required. The parent resource to export data from.
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The parent. */ java.lang.String getParent(); /** - * - * *
    * Required. The parent resource to export data from.
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for parent. */ - com.google.protobuf.ByteString getParentBytes(); + com.google.protobuf.ByteString + getParentBytes(); /** - * - * *
    * A filter to reduce results to a specific subset. Useful for exporting
    * conversations with specific properties.
    * 
* * string filter = 3; - * * @return The filter. */ java.lang.String getFilter(); /** - * - * *
    * A filter to reduce results to a specific subset. Useful for exporting
    * conversations with specific properties.
    * 
* * string filter = 3; - * * @return The bytes for filter. */ - com.google.protobuf.ByteString getFilterBytes(); + com.google.protobuf.ByteString + getFilterBytes(); /** - * - * *
    * A fully qualified KMS key name for BigQuery tables protected by CMEK.
    * Format:
@@ -132,13 +84,10 @@ public interface ExportInsightsDataRequestOrBuilder
    * 
* * string kms_key = 4; - * * @return The kmsKey. */ java.lang.String getKmsKey(); /** - * - * *
    * A fully qualified KMS key name for BigQuery tables protected by CMEK.
    * Format:
@@ -146,41 +95,29 @@ public interface ExportInsightsDataRequestOrBuilder
    * 
* * string kms_key = 4; - * * @return The bytes for kmsKey. */ - com.google.protobuf.ByteString getKmsKeyBytes(); + com.google.protobuf.ByteString + getKmsKeyBytes(); /** - * - * *
    * Options for what to do if the destination table already exists.
    * 
* - * - * .google.cloud.contactcenterinsights.v1.ExportInsightsDataRequest.WriteDisposition write_disposition = 5; - * - * + * .google.cloud.contactcenterinsights.v1.ExportInsightsDataRequest.WriteDisposition write_disposition = 5; * @return The enum numeric value on the wire for writeDisposition. */ int getWriteDispositionValue(); /** - * - * *
    * Options for what to do if the destination table already exists.
    * 
* - * - * .google.cloud.contactcenterinsights.v1.ExportInsightsDataRequest.WriteDisposition write_disposition = 5; - * - * + * .google.cloud.contactcenterinsights.v1.ExportInsightsDataRequest.WriteDisposition write_disposition = 5; * @return The writeDisposition. */ - com.google.cloud.contactcenterinsights.v1.ExportInsightsDataRequest.WriteDisposition - getWriteDisposition(); + com.google.cloud.contactcenterinsights.v1.ExportInsightsDataRequest.WriteDisposition getWriteDisposition(); - public com.google.cloud.contactcenterinsights.v1.ExportInsightsDataRequest.DestinationCase - getDestinationCase(); + public com.google.cloud.contactcenterinsights.v1.ExportInsightsDataRequest.DestinationCase getDestinationCase(); } diff --git a/java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ExportInsightsDataResponse.java b/owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ExportInsightsDataResponse.java similarity index 58% rename from java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ExportInsightsDataResponse.java rename to owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ExportInsightsDataResponse.java index f7aa755027db..6f9fd25e0403 100644 --- a/java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ExportInsightsDataResponse.java +++ b/owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ExportInsightsDataResponse.java @@ -1,72 +1,53 @@ -/* - * 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. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/contactcenterinsights/v1/contact_center_insights.proto package com.google.cloud.contactcenterinsights.v1; /** - * - * *
  * Response for an export insights operation.
  * 
* * Protobuf type {@code google.cloud.contactcenterinsights.v1.ExportInsightsDataResponse} */ -public final class ExportInsightsDataResponse extends com.google.protobuf.GeneratedMessageV3 - implements +public final class ExportInsightsDataResponse extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.contactcenterinsights.v1.ExportInsightsDataResponse) ExportInsightsDataResponseOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use ExportInsightsDataResponse.newBuilder() to construct. private ExportInsightsDataResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - - private ExportInsightsDataResponse() {} + private ExportInsightsDataResponse() { + } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new ExportInsightsDataResponse(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto - .internal_static_google_cloud_contactcenterinsights_v1_ExportInsightsDataResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto.internal_static_google_cloud_contactcenterinsights_v1_ExportInsightsDataResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto - .internal_static_google_cloud_contactcenterinsights_v1_ExportInsightsDataResponse_fieldAccessorTable + return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto.internal_static_google_cloud_contactcenterinsights_v1_ExportInsightsDataResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.contactcenterinsights.v1.ExportInsightsDataResponse.class, - com.google.cloud.contactcenterinsights.v1.ExportInsightsDataResponse.Builder.class); + com.google.cloud.contactcenterinsights.v1.ExportInsightsDataResponse.class, com.google.cloud.contactcenterinsights.v1.ExportInsightsDataResponse.Builder.class); } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -78,7 +59,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { getUnknownFields().writeTo(output); } @@ -96,13 +78,12 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.contactcenterinsights.v1.ExportInsightsDataResponse)) { return super.equals(obj); } - com.google.cloud.contactcenterinsights.v1.ExportInsightsDataResponse other = - (com.google.cloud.contactcenterinsights.v1.ExportInsightsDataResponse) obj; + com.google.cloud.contactcenterinsights.v1.ExportInsightsDataResponse other = (com.google.cloud.contactcenterinsights.v1.ExportInsightsDataResponse) obj; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -121,138 +102,129 @@ public int hashCode() { } public static com.google.cloud.contactcenterinsights.v1.ExportInsightsDataResponse parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.contactcenterinsights.v1.ExportInsightsDataResponse parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.contactcenterinsights.v1.ExportInsightsDataResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.contactcenterinsights.v1.ExportInsightsDataResponse parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.contactcenterinsights.v1.ExportInsightsDataResponse parseFrom( - byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.contactcenterinsights.v1.ExportInsightsDataResponse parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.contactcenterinsights.v1.ExportInsightsDataResponse parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.contactcenterinsights.v1.ExportInsightsDataResponse parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.contactcenterinsights.v1.ExportInsightsDataResponse parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.contactcenterinsights.v1.ExportInsightsDataResponse parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.contactcenterinsights.v1.ExportInsightsDataResponse - parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.contactcenterinsights.v1.ExportInsightsDataResponse parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - - public static com.google.cloud.contactcenterinsights.v1.ExportInsightsDataResponse - parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + public static com.google.cloud.contactcenterinsights.v1.ExportInsightsDataResponse parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.contactcenterinsights.v1.ExportInsightsDataResponse parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.contactcenterinsights.v1.ExportInsightsDataResponse parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.contactcenterinsights.v1.ExportInsightsDataResponse prototype) { + public static Builder newBuilder(com.google.cloud.contactcenterinsights.v1.ExportInsightsDataResponse prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Response for an export insights operation.
    * 
* * Protobuf type {@code google.cloud.contactcenterinsights.v1.ExportInsightsDataResponse} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.contactcenterinsights.v1.ExportInsightsDataResponse) com.google.cloud.contactcenterinsights.v1.ExportInsightsDataResponseOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto - .internal_static_google_cloud_contactcenterinsights_v1_ExportInsightsDataResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto.internal_static_google_cloud_contactcenterinsights_v1_ExportInsightsDataResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto - .internal_static_google_cloud_contactcenterinsights_v1_ExportInsightsDataResponse_fieldAccessorTable + return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto.internal_static_google_cloud_contactcenterinsights_v1_ExportInsightsDataResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.contactcenterinsights.v1.ExportInsightsDataResponse.class, - com.google.cloud.contactcenterinsights.v1.ExportInsightsDataResponse.Builder.class); + com.google.cloud.contactcenterinsights.v1.ExportInsightsDataResponse.class, com.google.cloud.contactcenterinsights.v1.ExportInsightsDataResponse.Builder.class); } - // Construct using - // com.google.cloud.contactcenterinsights.v1.ExportInsightsDataResponse.newBuilder() - private Builder() {} + // Construct using com.google.cloud.contactcenterinsights.v1.ExportInsightsDataResponse.newBuilder() + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -260,16 +232,14 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto - .internal_static_google_cloud_contactcenterinsights_v1_ExportInsightsDataResponse_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto.internal_static_google_cloud_contactcenterinsights_v1_ExportInsightsDataResponse_descriptor; } @java.lang.Override - public com.google.cloud.contactcenterinsights.v1.ExportInsightsDataResponse - getDefaultInstanceForType() { - return com.google.cloud.contactcenterinsights.v1.ExportInsightsDataResponse - .getDefaultInstance(); + public com.google.cloud.contactcenterinsights.v1.ExportInsightsDataResponse getDefaultInstanceForType() { + return com.google.cloud.contactcenterinsights.v1.ExportInsightsDataResponse.getDefaultInstance(); } @java.lang.Override @@ -283,8 +253,7 @@ public com.google.cloud.contactcenterinsights.v1.ExportInsightsDataResponse buil @java.lang.Override public com.google.cloud.contactcenterinsights.v1.ExportInsightsDataResponse buildPartial() { - com.google.cloud.contactcenterinsights.v1.ExportInsightsDataResponse result = - new com.google.cloud.contactcenterinsights.v1.ExportInsightsDataResponse(this); + com.google.cloud.contactcenterinsights.v1.ExportInsightsDataResponse result = new com.google.cloud.contactcenterinsights.v1.ExportInsightsDataResponse(this); onBuilt(); return result; } @@ -293,51 +262,46 @@ public com.google.cloud.contactcenterinsights.v1.ExportInsightsDataResponse buil public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.contactcenterinsights.v1.ExportInsightsDataResponse) { - return mergeFrom( - (com.google.cloud.contactcenterinsights.v1.ExportInsightsDataResponse) other); + return mergeFrom((com.google.cloud.contactcenterinsights.v1.ExportInsightsDataResponse)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom( - com.google.cloud.contactcenterinsights.v1.ExportInsightsDataResponse other) { - if (other - == com.google.cloud.contactcenterinsights.v1.ExportInsightsDataResponse - .getDefaultInstance()) return this; + public Builder mergeFrom(com.google.cloud.contactcenterinsights.v1.ExportInsightsDataResponse other) { + if (other == com.google.cloud.contactcenterinsights.v1.ExportInsightsDataResponse.getDefaultInstance()) return this; this.mergeUnknownFields(other.getUnknownFields()); onChanged(); return this; @@ -364,13 +328,12 @@ public Builder mergeFrom( case 0: done = true; break; - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -380,9 +343,9 @@ public Builder mergeFrom( } // finally return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -392,43 +355,41 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.contactcenterinsights.v1.ExportInsightsDataResponse) } // @@protoc_insertion_point(class_scope:google.cloud.contactcenterinsights.v1.ExportInsightsDataResponse) - private static final com.google.cloud.contactcenterinsights.v1.ExportInsightsDataResponse - DEFAULT_INSTANCE; - + private static final com.google.cloud.contactcenterinsights.v1.ExportInsightsDataResponse DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.cloud.contactcenterinsights.v1.ExportInsightsDataResponse(); } - public static com.google.cloud.contactcenterinsights.v1.ExportInsightsDataResponse - getDefaultInstance() { + public static com.google.cloud.contactcenterinsights.v1.ExportInsightsDataResponse getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ExportInsightsDataResponse parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ExportInsightsDataResponse parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -440,8 +401,9 @@ public com.google.protobuf.Parser getParserForType() } @java.lang.Override - public com.google.cloud.contactcenterinsights.v1.ExportInsightsDataResponse - getDefaultInstanceForType() { + public com.google.cloud.contactcenterinsights.v1.ExportInsightsDataResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ExportInsightsDataResponseOrBuilder.java b/owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ExportInsightsDataResponseOrBuilder.java new file mode 100644 index 000000000000..9971c70c9825 --- /dev/null +++ b/owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ExportInsightsDataResponseOrBuilder.java @@ -0,0 +1,9 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/contactcenterinsights/v1/contact_center_insights.proto + +package com.google.cloud.contactcenterinsights.v1; + +public interface ExportInsightsDataResponseOrBuilder extends + // @@protoc_insertion_point(interface_extends:google.cloud.contactcenterinsights.v1.ExportInsightsDataResponse) + com.google.protobuf.MessageOrBuilder { +} diff --git a/java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/FaqAnswerData.java b/owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/FaqAnswerData.java similarity index 67% rename from java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/FaqAnswerData.java rename to owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/FaqAnswerData.java index 6f68a4ceb86a..c70871ec50df 100644 --- a/java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/FaqAnswerData.java +++ b/owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/FaqAnswerData.java @@ -1,42 +1,24 @@ -/* - * 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. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/contactcenterinsights/v1/resources.proto package com.google.cloud.contactcenterinsights.v1; /** - * - * *
  * Agent Assist frequently-asked-question answer data.
  * 
* * Protobuf type {@code google.cloud.contactcenterinsights.v1.FaqAnswerData} */ -public final class FaqAnswerData extends com.google.protobuf.GeneratedMessageV3 - implements +public final class FaqAnswerData extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.contactcenterinsights.v1.FaqAnswerData) FaqAnswerDataOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use FaqAnswerData.newBuilder() to construct. private FaqAnswerData(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private FaqAnswerData() { answer_ = ""; question_ = ""; @@ -46,54 +28,50 @@ private FaqAnswerData() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new FaqAnswerData(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.contactcenterinsights.v1.ResourcesProto - .internal_static_google_cloud_contactcenterinsights_v1_FaqAnswerData_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.contactcenterinsights.v1.ResourcesProto.internal_static_google_cloud_contactcenterinsights_v1_FaqAnswerData_descriptor; } @SuppressWarnings({"rawtypes"}) @java.lang.Override - protected com.google.protobuf.MapField internalGetMapField(int number) { + protected com.google.protobuf.MapField internalGetMapField( + int number) { switch (number) { case 4: return internalGetMetadata(); default: - throw new RuntimeException("Invalid map field number: " + number); + throw new RuntimeException( + "Invalid map field number: " + number); } } - @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.contactcenterinsights.v1.ResourcesProto - .internal_static_google_cloud_contactcenterinsights_v1_FaqAnswerData_fieldAccessorTable + return com.google.cloud.contactcenterinsights.v1.ResourcesProto.internal_static_google_cloud_contactcenterinsights_v1_FaqAnswerData_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.contactcenterinsights.v1.FaqAnswerData.class, - com.google.cloud.contactcenterinsights.v1.FaqAnswerData.Builder.class); + com.google.cloud.contactcenterinsights.v1.FaqAnswerData.class, com.google.cloud.contactcenterinsights.v1.FaqAnswerData.Builder.class); } public static final int ANSWER_FIELD_NUMBER = 1; - @SuppressWarnings("serial") private volatile java.lang.Object answer_ = ""; /** - * - * *
    * The piece of text from the `source` knowledge base document.
    * 
* * string answer = 1; - * * @return The answer. */ @java.lang.Override @@ -102,29 +80,29 @@ public java.lang.String getAnswer() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); answer_ = s; return s; } } /** - * - * *
    * The piece of text from the `source` knowledge base document.
    * 
* * string answer = 1; - * * @return The bytes for answer. */ @java.lang.Override - public com.google.protobuf.ByteString getAnswerBytes() { + public com.google.protobuf.ByteString + getAnswerBytes() { java.lang.Object ref = answer_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); answer_ = b; return b; } else { @@ -135,8 +113,6 @@ public com.google.protobuf.ByteString getAnswerBytes() { public static final int CONFIDENCE_SCORE_FIELD_NUMBER = 2; private float confidenceScore_ = 0F; /** - * - * *
    * The system's confidence score that this answer is a good match for this
    * conversation, ranging from 0.0 (completely uncertain) to 1.0 (completely
@@ -144,7 +120,6 @@ public com.google.protobuf.ByteString getAnswerBytes() {
    * 
* * float confidence_score = 2; - * * @return The confidenceScore. */ @java.lang.Override @@ -153,18 +128,14 @@ public float getConfidenceScore() { } public static final int QUESTION_FIELD_NUMBER = 3; - @SuppressWarnings("serial") private volatile java.lang.Object question_ = ""; /** - * - * *
    * The corresponding FAQ question.
    * 
* * string question = 3; - * * @return The question. */ @java.lang.Override @@ -173,29 +144,29 @@ public java.lang.String getQuestion() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); question_ = s; return s; } } /** - * - * *
    * The corresponding FAQ question.
    * 
* * string question = 3; - * * @return The bytes for question. */ @java.lang.Override - public com.google.protobuf.ByteString getQuestionBytes() { + public com.google.protobuf.ByteString + getQuestionBytes() { java.lang.Object ref = question_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); question_ = b; return b; } else { @@ -204,34 +175,32 @@ public com.google.protobuf.ByteString getQuestionBytes() { } public static final int METADATA_FIELD_NUMBER = 4; - private static final class MetadataDefaultEntryHolder { - static final com.google.protobuf.MapEntry defaultEntry = - com.google.protobuf.MapEntry.newDefaultInstance( - com.google.cloud.contactcenterinsights.v1.ResourcesProto - .internal_static_google_cloud_contactcenterinsights_v1_FaqAnswerData_MetadataEntry_descriptor, - com.google.protobuf.WireFormat.FieldType.STRING, - "", - com.google.protobuf.WireFormat.FieldType.STRING, - ""); + static final com.google.protobuf.MapEntry< + java.lang.String, java.lang.String> defaultEntry = + com.google.protobuf.MapEntry + .newDefaultInstance( + com.google.cloud.contactcenterinsights.v1.ResourcesProto.internal_static_google_cloud_contactcenterinsights_v1_FaqAnswerData_MetadataEntry_descriptor, + com.google.protobuf.WireFormat.FieldType.STRING, + "", + com.google.protobuf.WireFormat.FieldType.STRING, + ""); } - @SuppressWarnings("serial") - private com.google.protobuf.MapField metadata_; - - private com.google.protobuf.MapField internalGetMetadata() { + private com.google.protobuf.MapField< + java.lang.String, java.lang.String> metadata_; + private com.google.protobuf.MapField + internalGetMetadata() { if (metadata_ == null) { - return com.google.protobuf.MapField.emptyMapField(MetadataDefaultEntryHolder.defaultEntry); + return com.google.protobuf.MapField.emptyMapField( + MetadataDefaultEntryHolder.defaultEntry); } return metadata_; } - public int getMetadataCount() { return internalGetMetadata().getMap().size(); } /** - * - * *
    * Map that contains metadata about the FAQ answer and the document that
    * it originates from.
@@ -240,21 +209,20 @@ public int getMetadataCount() {
    * map<string, string> metadata = 4;
    */
   @java.lang.Override
-  public boolean containsMetadata(java.lang.String key) {
-    if (key == null) {
-      throw new NullPointerException("map key");
-    }
+  public boolean containsMetadata(
+      java.lang.String key) {
+    if (key == null) { throw new NullPointerException("map key"); }
     return internalGetMetadata().getMap().containsKey(key);
   }
-  /** Use {@link #getMetadataMap()} instead. */
+  /**
+   * Use {@link #getMetadataMap()} instead.
+   */
   @java.lang.Override
   @java.lang.Deprecated
   public java.util.Map getMetadata() {
     return getMetadataMap();
   }
   /**
-   *
-   *
    * 
    * Map that contains metadata about the FAQ answer and the document that
    * it originates from.
@@ -267,8 +235,6 @@ public java.util.Map getMetadataMap() {
     return internalGetMetadata().getMap();
   }
   /**
-   *
-   *
    * 
    * Map that contains metadata about the FAQ answer and the document that
    * it originates from.
@@ -277,19 +243,17 @@ public java.util.Map getMetadataMap() {
    * map<string, string> metadata = 4;
    */
   @java.lang.Override
-  public /* nullable */ java.lang.String getMetadataOrDefault(
+  public /* nullable */
+java.lang.String getMetadataOrDefault(
       java.lang.String key,
       /* nullable */
-      java.lang.String defaultValue) {
-    if (key == null) {
-      throw new NullPointerException("map key");
-    }
-    java.util.Map map = internalGetMetadata().getMap();
+java.lang.String defaultValue) {
+    if (key == null) { throw new NullPointerException("map key"); }
+    java.util.Map map =
+        internalGetMetadata().getMap();
     return map.containsKey(key) ? map.get(key) : defaultValue;
   }
   /**
-   *
-   *
    * 
    * Map that contains metadata about the FAQ answer and the document that
    * it originates from.
@@ -298,11 +262,11 @@ public java.util.Map getMetadataMap() {
    * map<string, string> metadata = 4;
    */
   @java.lang.Override
-  public java.lang.String getMetadataOrThrow(java.lang.String key) {
-    if (key == null) {
-      throw new NullPointerException("map key");
-    }
-    java.util.Map map = internalGetMetadata().getMap();
+  public java.lang.String getMetadataOrThrow(
+      java.lang.String key) {
+    if (key == null) { throw new NullPointerException("map key"); }
+    java.util.Map map =
+        internalGetMetadata().getMap();
     if (!map.containsKey(key)) {
       throw new java.lang.IllegalArgumentException();
     }
@@ -310,12 +274,9 @@ public java.lang.String getMetadataOrThrow(java.lang.String key) {
   }
 
   public static final int QUERY_RECORD_FIELD_NUMBER = 5;
-
   @SuppressWarnings("serial")
   private volatile java.lang.Object queryRecord_ = "";
   /**
-   *
-   *
    * 
    * The name of the answer record.
    * Format:
@@ -323,7 +284,6 @@ public java.lang.String getMetadataOrThrow(java.lang.String key) {
    * 
* * string query_record = 5; - * * @return The queryRecord. */ @java.lang.Override @@ -332,15 +292,14 @@ public java.lang.String getQueryRecord() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); queryRecord_ = s; return s; } } /** - * - * *
    * The name of the answer record.
    * Format:
@@ -348,15 +307,16 @@ public java.lang.String getQueryRecord() {
    * 
* * string query_record = 5; - * * @return The bytes for queryRecord. */ @java.lang.Override - public com.google.protobuf.ByteString getQueryRecordBytes() { + public com.google.protobuf.ByteString + getQueryRecordBytes() { java.lang.Object ref = queryRecord_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); queryRecord_ = b; return b; } else { @@ -365,12 +325,9 @@ public com.google.protobuf.ByteString getQueryRecordBytes() { } public static final int SOURCE_FIELD_NUMBER = 6; - @SuppressWarnings("serial") private volatile java.lang.Object source_ = ""; /** - * - * *
    * The knowledge document that this answer was extracted from.
    * Format:
@@ -378,7 +335,6 @@ public com.google.protobuf.ByteString getQueryRecordBytes() {
    * 
* * string source = 6; - * * @return The source. */ @java.lang.Override @@ -387,15 +343,14 @@ public java.lang.String getSource() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); source_ = s; return s; } } /** - * - * *
    * The knowledge document that this answer was extracted from.
    * Format:
@@ -403,15 +358,16 @@ public java.lang.String getSource() {
    * 
* * string source = 6; - * * @return The bytes for source. */ @java.lang.Override - public com.google.protobuf.ByteString getSourceBytes() { + public com.google.protobuf.ByteString + getSourceBytes() { java.lang.Object ref = source_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); source_ = b; return b; } else { @@ -420,7 +376,6 @@ public com.google.protobuf.ByteString getSourceBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -432,7 +387,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(answer_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, answer_); } @@ -442,8 +398,12 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(question_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 3, question_); } - com.google.protobuf.GeneratedMessageV3.serializeStringMapTo( - output, internalGetMetadata(), MetadataDefaultEntryHolder.defaultEntry, 4); + com.google.protobuf.GeneratedMessageV3 + .serializeStringMapTo( + output, + internalGetMetadata(), + MetadataDefaultEntryHolder.defaultEntry, + 4); if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(queryRecord_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 5, queryRecord_); } @@ -463,20 +423,21 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, answer_); } if (java.lang.Float.floatToRawIntBits(confidenceScore_) != 0) { - size += com.google.protobuf.CodedOutputStream.computeFloatSize(2, confidenceScore_); + size += com.google.protobuf.CodedOutputStream + .computeFloatSize(2, confidenceScore_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(question_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, question_); } - for (java.util.Map.Entry entry : - internalGetMetadata().getMap().entrySet()) { - com.google.protobuf.MapEntry metadata__ = - MetadataDefaultEntryHolder.defaultEntry - .newBuilderForType() - .setKey(entry.getKey()) - .setValue(entry.getValue()) - .build(); - size += com.google.protobuf.CodedOutputStream.computeMessageSize(4, metadata__); + for (java.util.Map.Entry entry + : internalGetMetadata().getMap().entrySet()) { + com.google.protobuf.MapEntry + metadata__ = MetadataDefaultEntryHolder.defaultEntry.newBuilderForType() + .setKey(entry.getKey()) + .setValue(entry.getValue()) + .build(); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(4, metadata__); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(queryRecord_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(5, queryRecord_); @@ -492,21 +453,26 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.contactcenterinsights.v1.FaqAnswerData)) { return super.equals(obj); } - com.google.cloud.contactcenterinsights.v1.FaqAnswerData other = - (com.google.cloud.contactcenterinsights.v1.FaqAnswerData) obj; + com.google.cloud.contactcenterinsights.v1.FaqAnswerData other = (com.google.cloud.contactcenterinsights.v1.FaqAnswerData) obj; - if (!getAnswer().equals(other.getAnswer())) return false; + if (!getAnswer() + .equals(other.getAnswer())) return false; if (java.lang.Float.floatToIntBits(getConfidenceScore()) - != java.lang.Float.floatToIntBits(other.getConfidenceScore())) return false; - if (!getQuestion().equals(other.getQuestion())) return false; - if (!internalGetMetadata().equals(other.internalGetMetadata())) return false; - if (!getQueryRecord().equals(other.getQueryRecord())) return false; - if (!getSource().equals(other.getSource())) return false; + != java.lang.Float.floatToIntBits( + other.getConfidenceScore())) return false; + if (!getQuestion() + .equals(other.getQuestion())) return false; + if (!internalGetMetadata().equals( + other.internalGetMetadata())) return false; + if (!getQueryRecord() + .equals(other.getQueryRecord())) return false; + if (!getSource() + .equals(other.getSource())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -521,7 +487,8 @@ public int hashCode() { hash = (37 * hash) + ANSWER_FIELD_NUMBER; hash = (53 * hash) + getAnswer().hashCode(); hash = (37 * hash) + CONFIDENCE_SCORE_FIELD_NUMBER; - hash = (53 * hash) + java.lang.Float.floatToIntBits(getConfidenceScore()); + hash = (53 * hash) + java.lang.Float.floatToIntBits( + getConfidenceScore()); hash = (37 * hash) + QUESTION_FIELD_NUMBER; hash = (53 * hash) + getQuestion().hashCode(); if (!internalGetMetadata().getMap().isEmpty()) { @@ -538,156 +505,151 @@ public int hashCode() { } public static com.google.cloud.contactcenterinsights.v1.FaqAnswerData parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.contactcenterinsights.v1.FaqAnswerData parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.contactcenterinsights.v1.FaqAnswerData parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.contactcenterinsights.v1.FaqAnswerData parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.contactcenterinsights.v1.FaqAnswerData parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.contactcenterinsights.v1.FaqAnswerData parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.contactcenterinsights.v1.FaqAnswerData parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.contactcenterinsights.v1.FaqAnswerData parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.contactcenterinsights.v1.FaqAnswerData parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.contactcenterinsights.v1.FaqAnswerData parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.contactcenterinsights.v1.FaqAnswerData parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.contactcenterinsights.v1.FaqAnswerData parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.contactcenterinsights.v1.FaqAnswerData parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.contactcenterinsights.v1.FaqAnswerData parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.contactcenterinsights.v1.FaqAnswerData prototype) { + public static Builder newBuilder(com.google.cloud.contactcenterinsights.v1.FaqAnswerData prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Agent Assist frequently-asked-question answer data.
    * 
* * Protobuf type {@code google.cloud.contactcenterinsights.v1.FaqAnswerData} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.contactcenterinsights.v1.FaqAnswerData) com.google.cloud.contactcenterinsights.v1.FaqAnswerDataOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.contactcenterinsights.v1.ResourcesProto - .internal_static_google_cloud_contactcenterinsights_v1_FaqAnswerData_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.contactcenterinsights.v1.ResourcesProto.internal_static_google_cloud_contactcenterinsights_v1_FaqAnswerData_descriptor; } @SuppressWarnings({"rawtypes"}) - protected com.google.protobuf.MapField internalGetMapField(int number) { + protected com.google.protobuf.MapField internalGetMapField( + int number) { switch (number) { case 4: return internalGetMetadata(); default: - throw new RuntimeException("Invalid map field number: " + number); + throw new RuntimeException( + "Invalid map field number: " + number); } } - @SuppressWarnings({"rawtypes"}) - protected com.google.protobuf.MapField internalGetMutableMapField(int number) { + protected com.google.protobuf.MapField internalGetMutableMapField( + int number) { switch (number) { case 4: return internalGetMutableMetadata(); default: - throw new RuntimeException("Invalid map field number: " + number); + throw new RuntimeException( + "Invalid map field number: " + number); } } - @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.contactcenterinsights.v1.ResourcesProto - .internal_static_google_cloud_contactcenterinsights_v1_FaqAnswerData_fieldAccessorTable + return com.google.cloud.contactcenterinsights.v1.ResourcesProto.internal_static_google_cloud_contactcenterinsights_v1_FaqAnswerData_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.contactcenterinsights.v1.FaqAnswerData.class, - com.google.cloud.contactcenterinsights.v1.FaqAnswerData.Builder.class); + com.google.cloud.contactcenterinsights.v1.FaqAnswerData.class, com.google.cloud.contactcenterinsights.v1.FaqAnswerData.Builder.class); } // Construct using com.google.cloud.contactcenterinsights.v1.FaqAnswerData.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -702,9 +664,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.contactcenterinsights.v1.ResourcesProto - .internal_static_google_cloud_contactcenterinsights_v1_FaqAnswerData_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.contactcenterinsights.v1.ResourcesProto.internal_static_google_cloud_contactcenterinsights_v1_FaqAnswerData_descriptor; } @java.lang.Override @@ -723,11 +685,8 @@ public com.google.cloud.contactcenterinsights.v1.FaqAnswerData build() { @java.lang.Override public com.google.cloud.contactcenterinsights.v1.FaqAnswerData buildPartial() { - com.google.cloud.contactcenterinsights.v1.FaqAnswerData result = - new com.google.cloud.contactcenterinsights.v1.FaqAnswerData(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + com.google.cloud.contactcenterinsights.v1.FaqAnswerData result = new com.google.cloud.contactcenterinsights.v1.FaqAnswerData(this); + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } @@ -759,39 +718,38 @@ private void buildPartial0(com.google.cloud.contactcenterinsights.v1.FaqAnswerDa public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.contactcenterinsights.v1.FaqAnswerData) { - return mergeFrom((com.google.cloud.contactcenterinsights.v1.FaqAnswerData) other); + return mergeFrom((com.google.cloud.contactcenterinsights.v1.FaqAnswerData)other); } else { super.mergeFrom(other); return this; @@ -799,8 +757,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.contactcenterinsights.v1.FaqAnswerData other) { - if (other == com.google.cloud.contactcenterinsights.v1.FaqAnswerData.getDefaultInstance()) - return this; + if (other == com.google.cloud.contactcenterinsights.v1.FaqAnswerData.getDefaultInstance()) return this; if (!other.getAnswer().isEmpty()) { answer_ = other.answer_; bitField0_ |= 0x00000001; @@ -814,7 +771,8 @@ public Builder mergeFrom(com.google.cloud.contactcenterinsights.v1.FaqAnswerData bitField0_ |= 0x00000004; onChanged(); } - internalGetMutableMetadata().mergeFrom(other.internalGetMetadata()); + internalGetMutableMetadata().mergeFrom( + other.internalGetMetadata()); bitField0_ |= 0x00000008; if (!other.getQueryRecord().isEmpty()) { queryRecord_ = other.queryRecord_; @@ -852,55 +810,46 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - answer_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 21: - { - confidenceScore_ = input.readFloat(); - bitField0_ |= 0x00000002; - break; - } // case 21 - case 26: - { - question_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000004; - break; - } // case 26 - case 34: - { - com.google.protobuf.MapEntry metadata__ = - input.readMessage( - MetadataDefaultEntryHolder.defaultEntry.getParserForType(), - extensionRegistry); - internalGetMutableMetadata() - .getMutableMap() - .put(metadata__.getKey(), metadata__.getValue()); - bitField0_ |= 0x00000008; - break; - } // case 34 - case 42: - { - queryRecord_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000010; - break; - } // case 42 - case 50: - { - source_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000020; - break; - } // case 50 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + answer_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 21: { + confidenceScore_ = input.readFloat(); + bitField0_ |= 0x00000002; + break; + } // case 21 + case 26: { + question_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000004; + break; + } // case 26 + case 34: { + com.google.protobuf.MapEntry + metadata__ = input.readMessage( + MetadataDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry); + internalGetMutableMetadata().getMutableMap().put( + metadata__.getKey(), metadata__.getValue()); + bitField0_ |= 0x00000008; + break; + } // case 34 + case 42: { + queryRecord_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000010; + break; + } // case 42 + case 50: { + source_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000020; + break; + } // case 50 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -910,25 +859,22 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private java.lang.Object answer_ = ""; /** - * - * *
      * The piece of text from the `source` knowledge base document.
      * 
* * string answer = 1; - * * @return The answer. */ public java.lang.String getAnswer() { java.lang.Object ref = answer_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); answer_ = s; return s; @@ -937,21 +883,20 @@ public java.lang.String getAnswer() { } } /** - * - * *
      * The piece of text from the `source` knowledge base document.
      * 
* * string answer = 1; - * * @return The bytes for answer. */ - public com.google.protobuf.ByteString getAnswerBytes() { + public com.google.protobuf.ByteString + getAnswerBytes() { java.lang.Object ref = answer_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); answer_ = b; return b; } else { @@ -959,35 +904,28 @@ public com.google.protobuf.ByteString getAnswerBytes() { } } /** - * - * *
      * The piece of text from the `source` knowledge base document.
      * 
* * string answer = 1; - * * @param value The answer to set. * @return This builder for chaining. */ - public Builder setAnswer(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setAnswer( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } answer_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
      * The piece of text from the `source` knowledge base document.
      * 
* * string answer = 1; - * * @return This builder for chaining. */ public Builder clearAnswer() { @@ -997,21 +935,17 @@ public Builder clearAnswer() { return this; } /** - * - * *
      * The piece of text from the `source` knowledge base document.
      * 
* * string answer = 1; - * * @param value The bytes for answer to set. * @return This builder for chaining. */ - public Builder setAnswerBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setAnswerBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); answer_ = value; bitField0_ |= 0x00000001; @@ -1019,10 +953,8 @@ public Builder setAnswerBytes(com.google.protobuf.ByteString value) { return this; } - private float confidenceScore_; + private float confidenceScore_ ; /** - * - * *
      * The system's confidence score that this answer is a good match for this
      * conversation, ranging from 0.0 (completely uncertain) to 1.0 (completely
@@ -1030,7 +962,6 @@ public Builder setAnswerBytes(com.google.protobuf.ByteString value) {
      * 
* * float confidence_score = 2; - * * @return The confidenceScore. */ @java.lang.Override @@ -1038,8 +969,6 @@ public float getConfidenceScore() { return confidenceScore_; } /** - * - * *
      * The system's confidence score that this answer is a good match for this
      * conversation, ranging from 0.0 (completely uncertain) to 1.0 (completely
@@ -1047,20 +976,17 @@ public float getConfidenceScore() {
      * 
* * float confidence_score = 2; - * * @param value The confidenceScore to set. * @return This builder for chaining. */ public Builder setConfidenceScore(float value) { - + confidenceScore_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** - * - * *
      * The system's confidence score that this answer is a good match for this
      * conversation, ranging from 0.0 (completely uncertain) to 1.0 (completely
@@ -1068,7 +994,6 @@ public Builder setConfidenceScore(float value) {
      * 
* * float confidence_score = 2; - * * @return This builder for chaining. */ public Builder clearConfidenceScore() { @@ -1080,20 +1005,18 @@ public Builder clearConfidenceScore() { private java.lang.Object question_ = ""; /** - * - * *
      * The corresponding FAQ question.
      * 
* * string question = 3; - * * @return The question. */ public java.lang.String getQuestion() { java.lang.Object ref = question_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); question_ = s; return s; @@ -1102,21 +1025,20 @@ public java.lang.String getQuestion() { } } /** - * - * *
      * The corresponding FAQ question.
      * 
* * string question = 3; - * * @return The bytes for question. */ - public com.google.protobuf.ByteString getQuestionBytes() { + public com.google.protobuf.ByteString + getQuestionBytes() { java.lang.Object ref = question_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); question_ = b; return b; } else { @@ -1124,35 +1046,28 @@ public com.google.protobuf.ByteString getQuestionBytes() { } } /** - * - * *
      * The corresponding FAQ question.
      * 
* * string question = 3; - * * @param value The question to set. * @return This builder for chaining. */ - public Builder setQuestion(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setQuestion( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } question_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } /** - * - * *
      * The corresponding FAQ question.
      * 
* * string question = 3; - * * @return This builder for chaining. */ public Builder clearQuestion() { @@ -1162,21 +1077,17 @@ public Builder clearQuestion() { return this; } /** - * - * *
      * The corresponding FAQ question.
      * 
* * string question = 3; - * * @param value The bytes for question to set. * @return This builder for chaining. */ - public Builder setQuestionBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setQuestionBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); question_ = value; bitField0_ |= 0x00000004; @@ -1184,20 +1095,21 @@ public Builder setQuestionBytes(com.google.protobuf.ByteString value) { return this; } - private com.google.protobuf.MapField metadata_; - - private com.google.protobuf.MapField internalGetMetadata() { + private com.google.protobuf.MapField< + java.lang.String, java.lang.String> metadata_; + private com.google.protobuf.MapField + internalGetMetadata() { if (metadata_ == null) { - return com.google.protobuf.MapField.emptyMapField(MetadataDefaultEntryHolder.defaultEntry); + return com.google.protobuf.MapField.emptyMapField( + MetadataDefaultEntryHolder.defaultEntry); } return metadata_; } - private com.google.protobuf.MapField internalGetMutableMetadata() { if (metadata_ == null) { - metadata_ = - com.google.protobuf.MapField.newMapField(MetadataDefaultEntryHolder.defaultEntry); + metadata_ = com.google.protobuf.MapField.newMapField( + MetadataDefaultEntryHolder.defaultEntry); } if (!metadata_.isMutable()) { metadata_ = metadata_.copy(); @@ -1206,13 +1118,10 @@ private com.google.protobuf.MapField interna onChanged(); return metadata_; } - public int getMetadataCount() { return internalGetMetadata().getMap().size(); } /** - * - * *
      * Map that contains metadata about the FAQ answer and the document that
      * it originates from.
@@ -1221,21 +1130,20 @@ public int getMetadataCount() {
      * map<string, string> metadata = 4;
      */
     @java.lang.Override
-    public boolean containsMetadata(java.lang.String key) {
-      if (key == null) {
-        throw new NullPointerException("map key");
-      }
+    public boolean containsMetadata(
+        java.lang.String key) {
+      if (key == null) { throw new NullPointerException("map key"); }
       return internalGetMetadata().getMap().containsKey(key);
     }
-    /** Use {@link #getMetadataMap()} instead. */
+    /**
+     * Use {@link #getMetadataMap()} instead.
+     */
     @java.lang.Override
     @java.lang.Deprecated
     public java.util.Map getMetadata() {
       return getMetadataMap();
     }
     /**
-     *
-     *
      * 
      * Map that contains metadata about the FAQ answer and the document that
      * it originates from.
@@ -1248,8 +1156,6 @@ public java.util.Map getMetadataMap() {
       return internalGetMetadata().getMap();
     }
     /**
-     *
-     *
      * 
      * Map that contains metadata about the FAQ answer and the document that
      * it originates from.
@@ -1258,19 +1164,17 @@ public java.util.Map getMetadataMap() {
      * map<string, string> metadata = 4;
      */
     @java.lang.Override
-    public /* nullable */ java.lang.String getMetadataOrDefault(
+    public /* nullable */
+java.lang.String getMetadataOrDefault(
         java.lang.String key,
         /* nullable */
-        java.lang.String defaultValue) {
-      if (key == null) {
-        throw new NullPointerException("map key");
-      }
-      java.util.Map map = internalGetMetadata().getMap();
+java.lang.String defaultValue) {
+      if (key == null) { throw new NullPointerException("map key"); }
+      java.util.Map map =
+          internalGetMetadata().getMap();
       return map.containsKey(key) ? map.get(key) : defaultValue;
     }
     /**
-     *
-     *
      * 
      * Map that contains metadata about the FAQ answer and the document that
      * it originates from.
@@ -1279,25 +1183,23 @@ public java.util.Map getMetadataMap() {
      * map<string, string> metadata = 4;
      */
     @java.lang.Override
-    public java.lang.String getMetadataOrThrow(java.lang.String key) {
-      if (key == null) {
-        throw new NullPointerException("map key");
-      }
-      java.util.Map map = internalGetMetadata().getMap();
+    public java.lang.String getMetadataOrThrow(
+        java.lang.String key) {
+      if (key == null) { throw new NullPointerException("map key"); }
+      java.util.Map map =
+          internalGetMetadata().getMap();
       if (!map.containsKey(key)) {
         throw new java.lang.IllegalArgumentException();
       }
       return map.get(key);
     }
-
     public Builder clearMetadata() {
       bitField0_ = (bitField0_ & ~0x00000008);
-      internalGetMutableMetadata().getMutableMap().clear();
+      internalGetMutableMetadata().getMutableMap()
+          .clear();
       return this;
     }
     /**
-     *
-     *
      * 
      * Map that contains metadata about the FAQ answer and the document that
      * it originates from.
@@ -1305,22 +1207,23 @@ public Builder clearMetadata() {
      *
      * map<string, string> metadata = 4;
      */
-    public Builder removeMetadata(java.lang.String key) {
-      if (key == null) {
-        throw new NullPointerException("map key");
-      }
-      internalGetMutableMetadata().getMutableMap().remove(key);
+    public Builder removeMetadata(
+        java.lang.String key) {
+      if (key == null) { throw new NullPointerException("map key"); }
+      internalGetMutableMetadata().getMutableMap()
+          .remove(key);
       return this;
     }
-    /** Use alternate mutation accessors instead. */
+    /**
+     * Use alternate mutation accessors instead.
+     */
     @java.lang.Deprecated
-    public java.util.Map getMutableMetadata() {
+    public java.util.Map
+        getMutableMetadata() {
       bitField0_ |= 0x00000008;
       return internalGetMutableMetadata().getMutableMap();
     }
     /**
-     *
-     *
      * 
      * Map that contains metadata about the FAQ answer and the document that
      * it originates from.
@@ -1328,20 +1231,17 @@ public java.util.Map getMutableMetadata() {
      *
      * map<string, string> metadata = 4;
      */
-    public Builder putMetadata(java.lang.String key, java.lang.String value) {
-      if (key == null) {
-        throw new NullPointerException("map key");
-      }
-      if (value == null) {
-        throw new NullPointerException("map value");
-      }
-      internalGetMutableMetadata().getMutableMap().put(key, value);
+    public Builder putMetadata(
+        java.lang.String key,
+        java.lang.String value) {
+      if (key == null) { throw new NullPointerException("map key"); }
+      if (value == null) { throw new NullPointerException("map value"); }
+      internalGetMutableMetadata().getMutableMap()
+          .put(key, value);
       bitField0_ |= 0x00000008;
       return this;
     }
     /**
-     *
-     *
      * 
      * Map that contains metadata about the FAQ answer and the document that
      * it originates from.
@@ -1349,16 +1249,16 @@ public Builder putMetadata(java.lang.String key, java.lang.String value) {
      *
      * map<string, string> metadata = 4;
      */
-    public Builder putAllMetadata(java.util.Map values) {
-      internalGetMutableMetadata().getMutableMap().putAll(values);
+    public Builder putAllMetadata(
+        java.util.Map values) {
+      internalGetMutableMetadata().getMutableMap()
+          .putAll(values);
       bitField0_ |= 0x00000008;
       return this;
     }
 
     private java.lang.Object queryRecord_ = "";
     /**
-     *
-     *
      * 
      * The name of the answer record.
      * Format:
@@ -1366,13 +1266,13 @@ public Builder putAllMetadata(java.util.Map
      * 
* * string query_record = 5; - * * @return The queryRecord. */ public java.lang.String getQueryRecord() { java.lang.Object ref = queryRecord_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); queryRecord_ = s; return s; @@ -1381,8 +1281,6 @@ public java.lang.String getQueryRecord() { } } /** - * - * *
      * The name of the answer record.
      * Format:
@@ -1390,14 +1288,15 @@ public java.lang.String getQueryRecord() {
      * 
* * string query_record = 5; - * * @return The bytes for queryRecord. */ - public com.google.protobuf.ByteString getQueryRecordBytes() { + public com.google.protobuf.ByteString + getQueryRecordBytes() { java.lang.Object ref = queryRecord_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); queryRecord_ = b; return b; } else { @@ -1405,8 +1304,6 @@ public com.google.protobuf.ByteString getQueryRecordBytes() { } } /** - * - * *
      * The name of the answer record.
      * Format:
@@ -1414,22 +1311,18 @@ public com.google.protobuf.ByteString getQueryRecordBytes() {
      * 
* * string query_record = 5; - * * @param value The queryRecord to set. * @return This builder for chaining. */ - public Builder setQueryRecord(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setQueryRecord( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } queryRecord_ = value; bitField0_ |= 0x00000010; onChanged(); return this; } /** - * - * *
      * The name of the answer record.
      * Format:
@@ -1437,7 +1330,6 @@ public Builder setQueryRecord(java.lang.String value) {
      * 
* * string query_record = 5; - * * @return This builder for chaining. */ public Builder clearQueryRecord() { @@ -1447,8 +1339,6 @@ public Builder clearQueryRecord() { return this; } /** - * - * *
      * The name of the answer record.
      * Format:
@@ -1456,14 +1346,12 @@ public Builder clearQueryRecord() {
      * 
* * string query_record = 5; - * * @param value The bytes for queryRecord to set. * @return This builder for chaining. */ - public Builder setQueryRecordBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setQueryRecordBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); queryRecord_ = value; bitField0_ |= 0x00000010; @@ -1473,8 +1361,6 @@ public Builder setQueryRecordBytes(com.google.protobuf.ByteString value) { private java.lang.Object source_ = ""; /** - * - * *
      * The knowledge document that this answer was extracted from.
      * Format:
@@ -1482,13 +1368,13 @@ public Builder setQueryRecordBytes(com.google.protobuf.ByteString value) {
      * 
* * string source = 6; - * * @return The source. */ public java.lang.String getSource() { java.lang.Object ref = source_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); source_ = s; return s; @@ -1497,8 +1383,6 @@ public java.lang.String getSource() { } } /** - * - * *
      * The knowledge document that this answer was extracted from.
      * Format:
@@ -1506,14 +1390,15 @@ public java.lang.String getSource() {
      * 
* * string source = 6; - * * @return The bytes for source. */ - public com.google.protobuf.ByteString getSourceBytes() { + public com.google.protobuf.ByteString + getSourceBytes() { java.lang.Object ref = source_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); source_ = b; return b; } else { @@ -1521,8 +1406,6 @@ public com.google.protobuf.ByteString getSourceBytes() { } } /** - * - * *
      * The knowledge document that this answer was extracted from.
      * Format:
@@ -1530,22 +1413,18 @@ public com.google.protobuf.ByteString getSourceBytes() {
      * 
* * string source = 6; - * * @param value The source to set. * @return This builder for chaining. */ - public Builder setSource(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setSource( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } source_ = value; bitField0_ |= 0x00000020; onChanged(); return this; } /** - * - * *
      * The knowledge document that this answer was extracted from.
      * Format:
@@ -1553,7 +1432,6 @@ public Builder setSource(java.lang.String value) {
      * 
* * string source = 6; - * * @return This builder for chaining. */ public Builder clearSource() { @@ -1563,8 +1441,6 @@ public Builder clearSource() { return this; } /** - * - * *
      * The knowledge document that this answer was extracted from.
      * Format:
@@ -1572,23 +1448,21 @@ public Builder clearSource() {
      * 
* * string source = 6; - * * @param value The bytes for source to set. * @return This builder for chaining. */ - public Builder setSourceBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setSourceBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); source_ = value; bitField0_ |= 0x00000020; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1598,12 +1472,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.contactcenterinsights.v1.FaqAnswerData) } // @@protoc_insertion_point(class_scope:google.cloud.contactcenterinsights.v1.FaqAnswerData) private static final com.google.cloud.contactcenterinsights.v1.FaqAnswerData DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.contactcenterinsights.v1.FaqAnswerData(); } @@ -1612,27 +1486,27 @@ public static com.google.cloud.contactcenterinsights.v1.FaqAnswerData getDefault return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public FaqAnswerData parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public FaqAnswerData parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1647,4 +1521,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.contactcenterinsights.v1.FaqAnswerData getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/FaqAnswerDataOrBuilder.java b/owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/FaqAnswerDataOrBuilder.java similarity index 71% rename from java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/FaqAnswerDataOrBuilder.java rename to owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/FaqAnswerDataOrBuilder.java index 29eec60a3c51..067a83df0d41 100644 --- a/java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/FaqAnswerDataOrBuilder.java +++ b/owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/FaqAnswerDataOrBuilder.java @@ -1,56 +1,33 @@ -/* - * 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. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/contactcenterinsights/v1/resources.proto package com.google.cloud.contactcenterinsights.v1; -public interface FaqAnswerDataOrBuilder - extends +public interface FaqAnswerDataOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.contactcenterinsights.v1.FaqAnswerData) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * The piece of text from the `source` knowledge base document.
    * 
* * string answer = 1; - * * @return The answer. */ java.lang.String getAnswer(); /** - * - * *
    * The piece of text from the `source` knowledge base document.
    * 
* * string answer = 1; - * * @return The bytes for answer. */ - com.google.protobuf.ByteString getAnswerBytes(); + com.google.protobuf.ByteString + getAnswerBytes(); /** - * - * *
    * The system's confidence score that this answer is a good match for this
    * conversation, ranging from 0.0 (completely uncertain) to 1.0 (completely
@@ -58,39 +35,31 @@ public interface FaqAnswerDataOrBuilder
    * 
* * float confidence_score = 2; - * * @return The confidenceScore. */ float getConfidenceScore(); /** - * - * *
    * The corresponding FAQ question.
    * 
* * string question = 3; - * * @return The question. */ java.lang.String getQuestion(); /** - * - * *
    * The corresponding FAQ question.
    * 
* * string question = 3; - * * @return The bytes for question. */ - com.google.protobuf.ByteString getQuestionBytes(); + com.google.protobuf.ByteString + getQuestionBytes(); /** - * - * *
    * Map that contains metadata about the FAQ answer and the document that
    * it originates from.
@@ -100,8 +69,6 @@ public interface FaqAnswerDataOrBuilder
    */
   int getMetadataCount();
   /**
-   *
-   *
    * 
    * Map that contains metadata about the FAQ answer and the document that
    * it originates from.
@@ -109,13 +76,15 @@ public interface FaqAnswerDataOrBuilder
    *
    * map<string, string> metadata = 4;
    */
-  boolean containsMetadata(java.lang.String key);
-  /** Use {@link #getMetadataMap()} instead. */
+  boolean containsMetadata(
+      java.lang.String key);
+  /**
+   * Use {@link #getMetadataMap()} instead.
+   */
   @java.lang.Deprecated
-  java.util.Map getMetadata();
+  java.util.Map
+  getMetadata();
   /**
-   *
-   *
    * 
    * Map that contains metadata about the FAQ answer and the document that
    * it originates from.
@@ -123,10 +92,9 @@ public interface FaqAnswerDataOrBuilder
    *
    * map<string, string> metadata = 4;
    */
-  java.util.Map getMetadataMap();
+  java.util.Map
+  getMetadataMap();
   /**
-   *
-   *
    * 
    * Map that contains metadata about the FAQ answer and the document that
    * it originates from.
@@ -135,13 +103,11 @@ public interface FaqAnswerDataOrBuilder
    * map<string, string> metadata = 4;
    */
   /* nullable */
-  java.lang.String getMetadataOrDefault(
+java.lang.String getMetadataOrDefault(
       java.lang.String key,
       /* nullable */
-      java.lang.String defaultValue);
+java.lang.String defaultValue);
   /**
-   *
-   *
    * 
    * Map that contains metadata about the FAQ answer and the document that
    * it originates from.
@@ -149,11 +115,10 @@ java.lang.String getMetadataOrDefault(
    *
    * map<string, string> metadata = 4;
    */
-  java.lang.String getMetadataOrThrow(java.lang.String key);
+  java.lang.String getMetadataOrThrow(
+      java.lang.String key);
 
   /**
-   *
-   *
    * 
    * The name of the answer record.
    * Format:
@@ -161,13 +126,10 @@ java.lang.String getMetadataOrDefault(
    * 
* * string query_record = 5; - * * @return The queryRecord. */ java.lang.String getQueryRecord(); /** - * - * *
    * The name of the answer record.
    * Format:
@@ -175,14 +137,12 @@ java.lang.String getMetadataOrDefault(
    * 
* * string query_record = 5; - * * @return The bytes for queryRecord. */ - com.google.protobuf.ByteString getQueryRecordBytes(); + com.google.protobuf.ByteString + getQueryRecordBytes(); /** - * - * *
    * The knowledge document that this answer was extracted from.
    * Format:
@@ -190,13 +150,10 @@ java.lang.String getMetadataOrDefault(
    * 
* * string source = 6; - * * @return The source. */ java.lang.String getSource(); /** - * - * *
    * The knowledge document that this answer was extracted from.
    * Format:
@@ -204,8 +161,8 @@ java.lang.String getMetadataOrDefault(
    * 
* * string source = 6; - * * @return The bytes for source. */ - com.google.protobuf.ByteString getSourceBytes(); + com.google.protobuf.ByteString + getSourceBytes(); } diff --git a/java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/GcsSource.java b/owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/GcsSource.java similarity index 68% rename from java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/GcsSource.java rename to owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/GcsSource.java index b5d5557ea28b..afc025328c52 100644 --- a/java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/GcsSource.java +++ b/owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/GcsSource.java @@ -1,42 +1,24 @@ -/* - * 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. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/contactcenterinsights/v1/resources.proto package com.google.cloud.contactcenterinsights.v1; /** - * - * *
  * A Cloud Storage source of conversation data.
  * 
* * Protobuf type {@code google.cloud.contactcenterinsights.v1.GcsSource} */ -public final class GcsSource extends com.google.protobuf.GeneratedMessageV3 - implements +public final class GcsSource extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.contactcenterinsights.v1.GcsSource) GcsSourceOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use GcsSource.newBuilder() to construct. private GcsSource(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private GcsSource() { audioUri_ = ""; transcriptUri_ = ""; @@ -44,44 +26,39 @@ private GcsSource() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new GcsSource(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.contactcenterinsights.v1.ResourcesProto - .internal_static_google_cloud_contactcenterinsights_v1_GcsSource_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.contactcenterinsights.v1.ResourcesProto.internal_static_google_cloud_contactcenterinsights_v1_GcsSource_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.contactcenterinsights.v1.ResourcesProto - .internal_static_google_cloud_contactcenterinsights_v1_GcsSource_fieldAccessorTable + return com.google.cloud.contactcenterinsights.v1.ResourcesProto.internal_static_google_cloud_contactcenterinsights_v1_GcsSource_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.contactcenterinsights.v1.GcsSource.class, - com.google.cloud.contactcenterinsights.v1.GcsSource.Builder.class); + com.google.cloud.contactcenterinsights.v1.GcsSource.class, com.google.cloud.contactcenterinsights.v1.GcsSource.Builder.class); } public static final int AUDIO_URI_FIELD_NUMBER = 1; - @SuppressWarnings("serial") private volatile java.lang.Object audioUri_ = ""; /** - * - * *
    * Cloud Storage URI that points to a file that contains the conversation
    * audio.
    * 
* * string audio_uri = 1; - * * @return The audioUri. */ @java.lang.Override @@ -90,30 +67,30 @@ public java.lang.String getAudioUri() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); audioUri_ = s; return s; } } /** - * - * *
    * Cloud Storage URI that points to a file that contains the conversation
    * audio.
    * 
* * string audio_uri = 1; - * * @return The bytes for audioUri. */ @java.lang.Override - public com.google.protobuf.ByteString getAudioUriBytes() { + public com.google.protobuf.ByteString + getAudioUriBytes() { java.lang.Object ref = audioUri_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); audioUri_ = b; return b; } else { @@ -122,19 +99,15 @@ public com.google.protobuf.ByteString getAudioUriBytes() { } public static final int TRANSCRIPT_URI_FIELD_NUMBER = 2; - @SuppressWarnings("serial") private volatile java.lang.Object transcriptUri_ = ""; /** - * - * *
-   * Immutable. Cloud Storage URI that points to a file that contains the conversation
-   * transcript.
+   * Immutable. Cloud Storage URI that points to a file that contains the
+   * conversation transcript.
    * 
* * string transcript_uri = 2 [(.google.api.field_behavior) = IMMUTABLE]; - * * @return The transcriptUri. */ @java.lang.Override @@ -143,30 +116,30 @@ public java.lang.String getTranscriptUri() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); transcriptUri_ = s; return s; } } /** - * - * *
-   * Immutable. Cloud Storage URI that points to a file that contains the conversation
-   * transcript.
+   * Immutable. Cloud Storage URI that points to a file that contains the
+   * conversation transcript.
    * 
* * string transcript_uri = 2 [(.google.api.field_behavior) = IMMUTABLE]; - * * @return The bytes for transcriptUri. */ @java.lang.Override - public com.google.protobuf.ByteString getTranscriptUriBytes() { + public com.google.protobuf.ByteString + getTranscriptUriBytes() { java.lang.Object ref = transcriptUri_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); transcriptUri_ = b; return b; } else { @@ -175,7 +148,6 @@ public com.google.protobuf.ByteString getTranscriptUriBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -187,7 +159,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(audioUri_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, audioUri_); } @@ -217,16 +190,17 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.contactcenterinsights.v1.GcsSource)) { return super.equals(obj); } - com.google.cloud.contactcenterinsights.v1.GcsSource other = - (com.google.cloud.contactcenterinsights.v1.GcsSource) obj; + com.google.cloud.contactcenterinsights.v1.GcsSource other = (com.google.cloud.contactcenterinsights.v1.GcsSource) obj; - if (!getAudioUri().equals(other.getAudioUri())) return false; - if (!getTranscriptUri().equals(other.getTranscriptUri())) return false; + if (!getAudioUri() + .equals(other.getAudioUri())) return false; + if (!getTranscriptUri() + .equals(other.getTranscriptUri())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -248,135 +222,129 @@ public int hashCode() { } public static com.google.cloud.contactcenterinsights.v1.GcsSource parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.contactcenterinsights.v1.GcsSource parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.contactcenterinsights.v1.GcsSource parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.contactcenterinsights.v1.GcsSource parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.contactcenterinsights.v1.GcsSource parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.contactcenterinsights.v1.GcsSource parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.contactcenterinsights.v1.GcsSource parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.contactcenterinsights.v1.GcsSource parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.contactcenterinsights.v1.GcsSource parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.contactcenterinsights.v1.GcsSource parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.contactcenterinsights.v1.GcsSource parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.contactcenterinsights.v1.GcsSource parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.contactcenterinsights.v1.GcsSource parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.contactcenterinsights.v1.GcsSource parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.contactcenterinsights.v1.GcsSource prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * A Cloud Storage source of conversation data.
    * 
* * Protobuf type {@code google.cloud.contactcenterinsights.v1.GcsSource} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.contactcenterinsights.v1.GcsSource) com.google.cloud.contactcenterinsights.v1.GcsSourceOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.contactcenterinsights.v1.ResourcesProto - .internal_static_google_cloud_contactcenterinsights_v1_GcsSource_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.contactcenterinsights.v1.ResourcesProto.internal_static_google_cloud_contactcenterinsights_v1_GcsSource_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.contactcenterinsights.v1.ResourcesProto - .internal_static_google_cloud_contactcenterinsights_v1_GcsSource_fieldAccessorTable + return com.google.cloud.contactcenterinsights.v1.ResourcesProto.internal_static_google_cloud_contactcenterinsights_v1_GcsSource_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.contactcenterinsights.v1.GcsSource.class, - com.google.cloud.contactcenterinsights.v1.GcsSource.Builder.class); + com.google.cloud.contactcenterinsights.v1.GcsSource.class, com.google.cloud.contactcenterinsights.v1.GcsSource.Builder.class); } // Construct using com.google.cloud.contactcenterinsights.v1.GcsSource.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -387,9 +355,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.contactcenterinsights.v1.ResourcesProto - .internal_static_google_cloud_contactcenterinsights_v1_GcsSource_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.contactcenterinsights.v1.ResourcesProto.internal_static_google_cloud_contactcenterinsights_v1_GcsSource_descriptor; } @java.lang.Override @@ -408,11 +376,8 @@ public com.google.cloud.contactcenterinsights.v1.GcsSource build() { @java.lang.Override public com.google.cloud.contactcenterinsights.v1.GcsSource buildPartial() { - com.google.cloud.contactcenterinsights.v1.GcsSource result = - new com.google.cloud.contactcenterinsights.v1.GcsSource(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + com.google.cloud.contactcenterinsights.v1.GcsSource result = new com.google.cloud.contactcenterinsights.v1.GcsSource(this); + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } @@ -431,39 +396,38 @@ private void buildPartial0(com.google.cloud.contactcenterinsights.v1.GcsSource r public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.contactcenterinsights.v1.GcsSource) { - return mergeFrom((com.google.cloud.contactcenterinsights.v1.GcsSource) other); + return mergeFrom((com.google.cloud.contactcenterinsights.v1.GcsSource)other); } else { super.mergeFrom(other); return this; @@ -471,8 +435,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.contactcenterinsights.v1.GcsSource other) { - if (other == com.google.cloud.contactcenterinsights.v1.GcsSource.getDefaultInstance()) - return this; + if (other == com.google.cloud.contactcenterinsights.v1.GcsSource.getDefaultInstance()) return this; if (!other.getAudioUri().isEmpty()) { audioUri_ = other.audioUri_; bitField0_ |= 0x00000001; @@ -509,25 +472,22 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - audioUri_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: - { - transcriptUri_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000002; - break; - } // case 18 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + audioUri_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: { + transcriptUri_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + break; + } // case 18 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -537,26 +497,23 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private java.lang.Object audioUri_ = ""; /** - * - * *
      * Cloud Storage URI that points to a file that contains the conversation
      * audio.
      * 
* * string audio_uri = 1; - * * @return The audioUri. */ public java.lang.String getAudioUri() { java.lang.Object ref = audioUri_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); audioUri_ = s; return s; @@ -565,22 +522,21 @@ public java.lang.String getAudioUri() { } } /** - * - * *
      * Cloud Storage URI that points to a file that contains the conversation
      * audio.
      * 
* * string audio_uri = 1; - * * @return The bytes for audioUri. */ - public com.google.protobuf.ByteString getAudioUriBytes() { + public com.google.protobuf.ByteString + getAudioUriBytes() { java.lang.Object ref = audioUri_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); audioUri_ = b; return b; } else { @@ -588,37 +544,30 @@ public com.google.protobuf.ByteString getAudioUriBytes() { } } /** - * - * *
      * Cloud Storage URI that points to a file that contains the conversation
      * audio.
      * 
* * string audio_uri = 1; - * * @param value The audioUri to set. * @return This builder for chaining. */ - public Builder setAudioUri(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setAudioUri( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } audioUri_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
      * Cloud Storage URI that points to a file that contains the conversation
      * audio.
      * 
* * string audio_uri = 1; - * * @return This builder for chaining. */ public Builder clearAudioUri() { @@ -628,22 +577,18 @@ public Builder clearAudioUri() { return this; } /** - * - * *
      * Cloud Storage URI that points to a file that contains the conversation
      * audio.
      * 
* * string audio_uri = 1; - * * @param value The bytes for audioUri to set. * @return This builder for chaining. */ - public Builder setAudioUriBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setAudioUriBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); audioUri_ = value; bitField0_ |= 0x00000001; @@ -653,21 +598,19 @@ public Builder setAudioUriBytes(com.google.protobuf.ByteString value) { private java.lang.Object transcriptUri_ = ""; /** - * - * *
-     * Immutable. Cloud Storage URI that points to a file that contains the conversation
-     * transcript.
+     * Immutable. Cloud Storage URI that points to a file that contains the
+     * conversation transcript.
      * 
* * string transcript_uri = 2 [(.google.api.field_behavior) = IMMUTABLE]; - * * @return The transcriptUri. */ public java.lang.String getTranscriptUri() { java.lang.Object ref = transcriptUri_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); transcriptUri_ = s; return s; @@ -676,22 +619,21 @@ public java.lang.String getTranscriptUri() { } } /** - * - * *
-     * Immutable. Cloud Storage URI that points to a file that contains the conversation
-     * transcript.
+     * Immutable. Cloud Storage URI that points to a file that contains the
+     * conversation transcript.
      * 
* * string transcript_uri = 2 [(.google.api.field_behavior) = IMMUTABLE]; - * * @return The bytes for transcriptUri. */ - public com.google.protobuf.ByteString getTranscriptUriBytes() { + public com.google.protobuf.ByteString + getTranscriptUriBytes() { java.lang.Object ref = transcriptUri_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); transcriptUri_ = b; return b; } else { @@ -699,37 +641,30 @@ public com.google.protobuf.ByteString getTranscriptUriBytes() { } } /** - * - * *
-     * Immutable. Cloud Storage URI that points to a file that contains the conversation
-     * transcript.
+     * Immutable. Cloud Storage URI that points to a file that contains the
+     * conversation transcript.
      * 
* * string transcript_uri = 2 [(.google.api.field_behavior) = IMMUTABLE]; - * * @param value The transcriptUri to set. * @return This builder for chaining. */ - public Builder setTranscriptUri(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setTranscriptUri( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } transcriptUri_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** - * - * *
-     * Immutable. Cloud Storage URI that points to a file that contains the conversation
-     * transcript.
+     * Immutable. Cloud Storage URI that points to a file that contains the
+     * conversation transcript.
      * 
* * string transcript_uri = 2 [(.google.api.field_behavior) = IMMUTABLE]; - * * @return This builder for chaining. */ public Builder clearTranscriptUri() { @@ -739,31 +674,27 @@ public Builder clearTranscriptUri() { return this; } /** - * - * *
-     * Immutable. Cloud Storage URI that points to a file that contains the conversation
-     * transcript.
+     * Immutable. Cloud Storage URI that points to a file that contains the
+     * conversation transcript.
      * 
* * string transcript_uri = 2 [(.google.api.field_behavior) = IMMUTABLE]; - * * @param value The bytes for transcriptUri to set. * @return This builder for chaining. */ - public Builder setTranscriptUriBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setTranscriptUriBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); transcriptUri_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -773,12 +704,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.contactcenterinsights.v1.GcsSource) } // @@protoc_insertion_point(class_scope:google.cloud.contactcenterinsights.v1.GcsSource) private static final com.google.cloud.contactcenterinsights.v1.GcsSource DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.contactcenterinsights.v1.GcsSource(); } @@ -787,27 +718,27 @@ public static com.google.cloud.contactcenterinsights.v1.GcsSource getDefaultInst return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public GcsSource parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public GcsSource parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -822,4 +753,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.contactcenterinsights.v1.GcsSource getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/GcsSourceOrBuilder.java b/owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/GcsSourceOrBuilder.java similarity index 58% rename from java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/GcsSourceOrBuilder.java rename to owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/GcsSourceOrBuilder.java index 509047f4ae6a..546ed17011d4 100644 --- a/java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/GcsSourceOrBuilder.java +++ b/owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/GcsSourceOrBuilder.java @@ -1,79 +1,53 @@ -/* - * 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. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/contactcenterinsights/v1/resources.proto package com.google.cloud.contactcenterinsights.v1; -public interface GcsSourceOrBuilder - extends +public interface GcsSourceOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.contactcenterinsights.v1.GcsSource) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Cloud Storage URI that points to a file that contains the conversation
    * audio.
    * 
* * string audio_uri = 1; - * * @return The audioUri. */ java.lang.String getAudioUri(); /** - * - * *
    * Cloud Storage URI that points to a file that contains the conversation
    * audio.
    * 
* * string audio_uri = 1; - * * @return The bytes for audioUri. */ - com.google.protobuf.ByteString getAudioUriBytes(); + com.google.protobuf.ByteString + getAudioUriBytes(); /** - * - * *
-   * Immutable. Cloud Storage URI that points to a file that contains the conversation
-   * transcript.
+   * Immutable. Cloud Storage URI that points to a file that contains the
+   * conversation transcript.
    * 
* * string transcript_uri = 2 [(.google.api.field_behavior) = IMMUTABLE]; - * * @return The transcriptUri. */ java.lang.String getTranscriptUri(); /** - * - * *
-   * Immutable. Cloud Storage URI that points to a file that contains the conversation
-   * transcript.
+   * Immutable. Cloud Storage URI that points to a file that contains the
+   * conversation transcript.
    * 
* * string transcript_uri = 2 [(.google.api.field_behavior) = IMMUTABLE]; - * * @return The bytes for transcriptUri. */ - com.google.protobuf.ByteString getTranscriptUriBytes(); + com.google.protobuf.ByteString + getTranscriptUriBytes(); } diff --git a/java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/GetAnalysisRequest.java b/owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/GetAnalysisRequest.java similarity index 61% rename from java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/GetAnalysisRequest.java rename to owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/GetAnalysisRequest.java index 0b4381e33565..9fab428f08a0 100644 --- a/java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/GetAnalysisRequest.java +++ b/owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/GetAnalysisRequest.java @@ -1,87 +1,62 @@ -/* - * 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. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/contactcenterinsights/v1/contact_center_insights.proto package com.google.cloud.contactcenterinsights.v1; /** - * - * *
  * The request to get an analysis.
  * 
* * Protobuf type {@code google.cloud.contactcenterinsights.v1.GetAnalysisRequest} */ -public final class GetAnalysisRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class GetAnalysisRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.contactcenterinsights.v1.GetAnalysisRequest) GetAnalysisRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use GetAnalysisRequest.newBuilder() to construct. private GetAnalysisRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private GetAnalysisRequest() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new GetAnalysisRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto - .internal_static_google_cloud_contactcenterinsights_v1_GetAnalysisRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto.internal_static_google_cloud_contactcenterinsights_v1_GetAnalysisRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto - .internal_static_google_cloud_contactcenterinsights_v1_GetAnalysisRequest_fieldAccessorTable + return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto.internal_static_google_cloud_contactcenterinsights_v1_GetAnalysisRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.contactcenterinsights.v1.GetAnalysisRequest.class, - com.google.cloud.contactcenterinsights.v1.GetAnalysisRequest.Builder.class); + com.google.cloud.contactcenterinsights.v1.GetAnalysisRequest.class, com.google.cloud.contactcenterinsights.v1.GetAnalysisRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; - @SuppressWarnings("serial") private volatile java.lang.Object name_ = ""; /** - * - * *
    * Required. The name of the analysis to get.
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ @java.lang.Override @@ -90,31 +65,29 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** - * - * *
    * Required. The name of the analysis to get.
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -123,7 +96,6 @@ public com.google.protobuf.ByteString getNameBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -135,7 +107,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -159,15 +132,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.contactcenterinsights.v1.GetAnalysisRequest)) { return super.equals(obj); } - com.google.cloud.contactcenterinsights.v1.GetAnalysisRequest other = - (com.google.cloud.contactcenterinsights.v1.GetAnalysisRequest) obj; + com.google.cloud.contactcenterinsights.v1.GetAnalysisRequest other = (com.google.cloud.contactcenterinsights.v1.GetAnalysisRequest) obj; - if (!getName().equals(other.getName())) return false; + if (!getName() + .equals(other.getName())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -187,136 +160,129 @@ public int hashCode() { } public static com.google.cloud.contactcenterinsights.v1.GetAnalysisRequest parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.contactcenterinsights.v1.GetAnalysisRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.contactcenterinsights.v1.GetAnalysisRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.contactcenterinsights.v1.GetAnalysisRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.contactcenterinsights.v1.GetAnalysisRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.contactcenterinsights.v1.GetAnalysisRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.contactcenterinsights.v1.GetAnalysisRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.contactcenterinsights.v1.GetAnalysisRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.contactcenterinsights.v1.GetAnalysisRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.contactcenterinsights.v1.GetAnalysisRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.contactcenterinsights.v1.GetAnalysisRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.contactcenterinsights.v1.GetAnalysisRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.contactcenterinsights.v1.GetAnalysisRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.contactcenterinsights.v1.GetAnalysisRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.contactcenterinsights.v1.GetAnalysisRequest prototype) { + public static Builder newBuilder(com.google.cloud.contactcenterinsights.v1.GetAnalysisRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * The request to get an analysis.
    * 
* * Protobuf type {@code google.cloud.contactcenterinsights.v1.GetAnalysisRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.contactcenterinsights.v1.GetAnalysisRequest) com.google.cloud.contactcenterinsights.v1.GetAnalysisRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto - .internal_static_google_cloud_contactcenterinsights_v1_GetAnalysisRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto.internal_static_google_cloud_contactcenterinsights_v1_GetAnalysisRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto - .internal_static_google_cloud_contactcenterinsights_v1_GetAnalysisRequest_fieldAccessorTable + return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto.internal_static_google_cloud_contactcenterinsights_v1_GetAnalysisRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.contactcenterinsights.v1.GetAnalysisRequest.class, - com.google.cloud.contactcenterinsights.v1.GetAnalysisRequest.Builder.class); + com.google.cloud.contactcenterinsights.v1.GetAnalysisRequest.class, com.google.cloud.contactcenterinsights.v1.GetAnalysisRequest.Builder.class); } // Construct using com.google.cloud.contactcenterinsights.v1.GetAnalysisRequest.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -326,14 +292,13 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto - .internal_static_google_cloud_contactcenterinsights_v1_GetAnalysisRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto.internal_static_google_cloud_contactcenterinsights_v1_GetAnalysisRequest_descriptor; } @java.lang.Override - public com.google.cloud.contactcenterinsights.v1.GetAnalysisRequest - getDefaultInstanceForType() { + public com.google.cloud.contactcenterinsights.v1.GetAnalysisRequest getDefaultInstanceForType() { return com.google.cloud.contactcenterinsights.v1.GetAnalysisRequest.getDefaultInstance(); } @@ -348,17 +313,13 @@ public com.google.cloud.contactcenterinsights.v1.GetAnalysisRequest build() { @java.lang.Override public com.google.cloud.contactcenterinsights.v1.GetAnalysisRequest buildPartial() { - com.google.cloud.contactcenterinsights.v1.GetAnalysisRequest result = - new com.google.cloud.contactcenterinsights.v1.GetAnalysisRequest(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + com.google.cloud.contactcenterinsights.v1.GetAnalysisRequest result = new com.google.cloud.contactcenterinsights.v1.GetAnalysisRequest(this); + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } - private void buildPartial0( - com.google.cloud.contactcenterinsights.v1.GetAnalysisRequest result) { + private void buildPartial0(com.google.cloud.contactcenterinsights.v1.GetAnalysisRequest result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { result.name_ = name_; @@ -369,39 +330,38 @@ private void buildPartial0( public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.contactcenterinsights.v1.GetAnalysisRequest) { - return mergeFrom((com.google.cloud.contactcenterinsights.v1.GetAnalysisRequest) other); + return mergeFrom((com.google.cloud.contactcenterinsights.v1.GetAnalysisRequest)other); } else { super.mergeFrom(other); return this; @@ -409,9 +369,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.contactcenterinsights.v1.GetAnalysisRequest other) { - if (other - == com.google.cloud.contactcenterinsights.v1.GetAnalysisRequest.getDefaultInstance()) - return this; + if (other == com.google.cloud.contactcenterinsights.v1.GetAnalysisRequest.getDefaultInstance()) return this; if (!other.getName().isEmpty()) { name_ = other.name_; bitField0_ |= 0x00000001; @@ -443,19 +401,17 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - name_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + name_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -465,27 +421,22 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private java.lang.Object name_ = ""; /** - * - * *
      * Required. The name of the analysis to get.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -494,23 +445,20 @@ public java.lang.String getName() { } } /** - * - * *
      * Required. The name of the analysis to get.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -518,39 +466,28 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * Required. The name of the analysis to get.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The name to set. * @return This builder for chaining. */ - public Builder setName(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setName( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } name_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
      * Required. The name of the analysis to get.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearName() { @@ -560,32 +497,26 @@ public Builder clearName() { return this; } /** - * - * *
      * Required. The name of the analysis to get.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setNameBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); name_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -595,13 +526,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.contactcenterinsights.v1.GetAnalysisRequest) } // @@protoc_insertion_point(class_scope:google.cloud.contactcenterinsights.v1.GetAnalysisRequest) - private static final com.google.cloud.contactcenterinsights.v1.GetAnalysisRequest - DEFAULT_INSTANCE; - + private static final com.google.cloud.contactcenterinsights.v1.GetAnalysisRequest DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.cloud.contactcenterinsights.v1.GetAnalysisRequest(); } @@ -610,27 +540,27 @@ public static com.google.cloud.contactcenterinsights.v1.GetAnalysisRequest getDe return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public GetAnalysisRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public GetAnalysisRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -645,4 +575,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.contactcenterinsights.v1.GetAnalysisRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/GetAnalysisRequestOrBuilder.java b/owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/GetAnalysisRequestOrBuilder.java new file mode 100644 index 000000000000..d438a1fa428b --- /dev/null +++ b/owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/GetAnalysisRequestOrBuilder.java @@ -0,0 +1,29 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/contactcenterinsights/v1/contact_center_insights.proto + +package com.google.cloud.contactcenterinsights.v1; + +public interface GetAnalysisRequestOrBuilder extends + // @@protoc_insertion_point(interface_extends:google.cloud.contactcenterinsights.v1.GetAnalysisRequest) + com.google.protobuf.MessageOrBuilder { + + /** + *
+   * Required. The name of the analysis to get.
+   * 
+ * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The name. + */ + java.lang.String getName(); + /** + *
+   * Required. The name of the analysis to get.
+   * 
+ * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The bytes for name. + */ + com.google.protobuf.ByteString + getNameBytes(); +} diff --git a/java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/GetConversationRequest.java b/owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/GetConversationRequest.java similarity index 62% rename from java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/GetConversationRequest.java rename to owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/GetConversationRequest.java index ef3e777fa174..9c389c815557 100644 --- a/java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/GetConversationRequest.java +++ b/owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/GetConversationRequest.java @@ -1,42 +1,24 @@ -/* - * 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. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/contactcenterinsights/v1/contact_center_insights.proto package com.google.cloud.contactcenterinsights.v1; /** - * - * *
  * The request to get a conversation.
  * 
* * Protobuf type {@code google.cloud.contactcenterinsights.v1.GetConversationRequest} */ -public final class GetConversationRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class GetConversationRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.contactcenterinsights.v1.GetConversationRequest) GetConversationRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use GetConversationRequest.newBuilder() to construct. private GetConversationRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private GetConversationRequest() { name_ = ""; view_ = 0; @@ -44,45 +26,38 @@ private GetConversationRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new GetConversationRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto - .internal_static_google_cloud_contactcenterinsights_v1_GetConversationRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto.internal_static_google_cloud_contactcenterinsights_v1_GetConversationRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto - .internal_static_google_cloud_contactcenterinsights_v1_GetConversationRequest_fieldAccessorTable + return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto.internal_static_google_cloud_contactcenterinsights_v1_GetConversationRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.contactcenterinsights.v1.GetConversationRequest.class, - com.google.cloud.contactcenterinsights.v1.GetConversationRequest.Builder.class); + com.google.cloud.contactcenterinsights.v1.GetConversationRequest.class, com.google.cloud.contactcenterinsights.v1.GetConversationRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; - @SuppressWarnings("serial") private volatile java.lang.Object name_ = ""; /** - * - * *
    * Required. The name of the conversation to get.
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ @java.lang.Override @@ -91,31 +66,29 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** - * - * *
    * Required. The name of the conversation to get.
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -126,42 +99,30 @@ public com.google.protobuf.ByteString getNameBytes() { public static final int VIEW_FIELD_NUMBER = 2; private int view_ = 0; /** - * - * *
    * The level of details of the conversation. Default is `FULL`.
    * 
* * .google.cloud.contactcenterinsights.v1.ConversationView view = 2; - * * @return The enum numeric value on the wire for view. */ - @java.lang.Override - public int getViewValue() { + @java.lang.Override public int getViewValue() { return view_; } /** - * - * *
    * The level of details of the conversation. Default is `FULL`.
    * 
* * .google.cloud.contactcenterinsights.v1.ConversationView view = 2; - * * @return The view. */ - @java.lang.Override - public com.google.cloud.contactcenterinsights.v1.ConversationView getView() { - com.google.cloud.contactcenterinsights.v1.ConversationView result = - com.google.cloud.contactcenterinsights.v1.ConversationView.forNumber(view_); - return result == null - ? com.google.cloud.contactcenterinsights.v1.ConversationView.UNRECOGNIZED - : result; + @java.lang.Override public com.google.cloud.contactcenterinsights.v1.ConversationView getView() { + com.google.cloud.contactcenterinsights.v1.ConversationView result = com.google.cloud.contactcenterinsights.v1.ConversationView.forNumber(view_); + return result == null ? com.google.cloud.contactcenterinsights.v1.ConversationView.UNRECOGNIZED : result; } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -173,13 +134,12 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } - if (view_ - != com.google.cloud.contactcenterinsights.v1.ConversationView.CONVERSATION_VIEW_UNSPECIFIED - .getNumber()) { + if (view_ != com.google.cloud.contactcenterinsights.v1.ConversationView.CONVERSATION_VIEW_UNSPECIFIED.getNumber()) { output.writeEnum(2, view_); } getUnknownFields().writeTo(output); @@ -194,10 +154,9 @@ public int getSerializedSize() { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_); } - if (view_ - != com.google.cloud.contactcenterinsights.v1.ConversationView.CONVERSATION_VIEW_UNSPECIFIED - .getNumber()) { - size += com.google.protobuf.CodedOutputStream.computeEnumSize(2, view_); + if (view_ != com.google.cloud.contactcenterinsights.v1.ConversationView.CONVERSATION_VIEW_UNSPECIFIED.getNumber()) { + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(2, view_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -207,15 +166,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.contactcenterinsights.v1.GetConversationRequest)) { return super.equals(obj); } - com.google.cloud.contactcenterinsights.v1.GetConversationRequest other = - (com.google.cloud.contactcenterinsights.v1.GetConversationRequest) obj; + com.google.cloud.contactcenterinsights.v1.GetConversationRequest other = (com.google.cloud.contactcenterinsights.v1.GetConversationRequest) obj; - if (!getName().equals(other.getName())) return false; + if (!getName() + .equals(other.getName())) return false; if (view_ != other.view_) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -238,136 +197,129 @@ public int hashCode() { } public static com.google.cloud.contactcenterinsights.v1.GetConversationRequest parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.contactcenterinsights.v1.GetConversationRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.contactcenterinsights.v1.GetConversationRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.contactcenterinsights.v1.GetConversationRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.contactcenterinsights.v1.GetConversationRequest parseFrom( - byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.contactcenterinsights.v1.GetConversationRequest parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.contactcenterinsights.v1.GetConversationRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.contactcenterinsights.v1.GetConversationRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.contactcenterinsights.v1.GetConversationRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.contactcenterinsights.v1.GetConversationRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.contactcenterinsights.v1.GetConversationRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.contactcenterinsights.v1.GetConversationRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.contactcenterinsights.v1.GetConversationRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.contactcenterinsights.v1.GetConversationRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.contactcenterinsights.v1.GetConversationRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.contactcenterinsights.v1.GetConversationRequest prototype) { + public static Builder newBuilder(com.google.cloud.contactcenterinsights.v1.GetConversationRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * The request to get a conversation.
    * 
* * Protobuf type {@code google.cloud.contactcenterinsights.v1.GetConversationRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.contactcenterinsights.v1.GetConversationRequest) com.google.cloud.contactcenterinsights.v1.GetConversationRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto - .internal_static_google_cloud_contactcenterinsights_v1_GetConversationRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto.internal_static_google_cloud_contactcenterinsights_v1_GetConversationRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto - .internal_static_google_cloud_contactcenterinsights_v1_GetConversationRequest_fieldAccessorTable + return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto.internal_static_google_cloud_contactcenterinsights_v1_GetConversationRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.contactcenterinsights.v1.GetConversationRequest.class, - com.google.cloud.contactcenterinsights.v1.GetConversationRequest.Builder.class); + com.google.cloud.contactcenterinsights.v1.GetConversationRequest.class, com.google.cloud.contactcenterinsights.v1.GetConversationRequest.Builder.class); } // Construct using com.google.cloud.contactcenterinsights.v1.GetConversationRequest.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -378,14 +330,13 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto - .internal_static_google_cloud_contactcenterinsights_v1_GetConversationRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto.internal_static_google_cloud_contactcenterinsights_v1_GetConversationRequest_descriptor; } @java.lang.Override - public com.google.cloud.contactcenterinsights.v1.GetConversationRequest - getDefaultInstanceForType() { + public com.google.cloud.contactcenterinsights.v1.GetConversationRequest getDefaultInstanceForType() { return com.google.cloud.contactcenterinsights.v1.GetConversationRequest.getDefaultInstance(); } @@ -400,17 +351,13 @@ public com.google.cloud.contactcenterinsights.v1.GetConversationRequest build() @java.lang.Override public com.google.cloud.contactcenterinsights.v1.GetConversationRequest buildPartial() { - com.google.cloud.contactcenterinsights.v1.GetConversationRequest result = - new com.google.cloud.contactcenterinsights.v1.GetConversationRequest(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + com.google.cloud.contactcenterinsights.v1.GetConversationRequest result = new com.google.cloud.contactcenterinsights.v1.GetConversationRequest(this); + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } - private void buildPartial0( - com.google.cloud.contactcenterinsights.v1.GetConversationRequest result) { + private void buildPartial0(com.google.cloud.contactcenterinsights.v1.GetConversationRequest result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { result.name_ = name_; @@ -424,50 +371,46 @@ private void buildPartial0( public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.contactcenterinsights.v1.GetConversationRequest) { - return mergeFrom((com.google.cloud.contactcenterinsights.v1.GetConversationRequest) other); + return mergeFrom((com.google.cloud.contactcenterinsights.v1.GetConversationRequest)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom( - com.google.cloud.contactcenterinsights.v1.GetConversationRequest other) { - if (other - == com.google.cloud.contactcenterinsights.v1.GetConversationRequest.getDefaultInstance()) - return this; + public Builder mergeFrom(com.google.cloud.contactcenterinsights.v1.GetConversationRequest other) { + if (other == com.google.cloud.contactcenterinsights.v1.GetConversationRequest.getDefaultInstance()) return this; if (!other.getName().isEmpty()) { name_ = other.name_; bitField0_ |= 0x00000001; @@ -502,25 +445,22 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - name_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 16: - { - view_ = input.readEnum(); - bitField0_ |= 0x00000002; - break; - } // case 16 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + name_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 16: { + view_ = input.readEnum(); + bitField0_ |= 0x00000002; + break; + } // case 16 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -530,27 +470,22 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private java.lang.Object name_ = ""; /** - * - * *
      * Required. The name of the conversation to get.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -559,23 +494,20 @@ public java.lang.String getName() { } } /** - * - * *
      * Required. The name of the conversation to get.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -583,39 +515,28 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * Required. The name of the conversation to get.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The name to set. * @return This builder for chaining. */ - public Builder setName(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setName( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } name_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
      * Required. The name of the conversation to get.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearName() { @@ -625,23 +546,17 @@ public Builder clearName() { return this; } /** - * - * *
      * Required. The name of the conversation to get.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setNameBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); name_ = value; bitField0_ |= 0x00000001; @@ -651,29 +566,22 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) { private int view_ = 0; /** - * - * *
      * The level of details of the conversation. Default is `FULL`.
      * 
* * .google.cloud.contactcenterinsights.v1.ConversationView view = 2; - * * @return The enum numeric value on the wire for view. */ - @java.lang.Override - public int getViewValue() { + @java.lang.Override public int getViewValue() { return view_; } /** - * - * *
      * The level of details of the conversation. Default is `FULL`.
      * 
* * .google.cloud.contactcenterinsights.v1.ConversationView view = 2; - * * @param value The enum numeric value on the wire for view to set. * @return This builder for chaining. */ @@ -684,33 +592,24 @@ public Builder setViewValue(int value) { return this; } /** - * - * *
      * The level of details of the conversation. Default is `FULL`.
      * 
* * .google.cloud.contactcenterinsights.v1.ConversationView view = 2; - * * @return The view. */ @java.lang.Override public com.google.cloud.contactcenterinsights.v1.ConversationView getView() { - com.google.cloud.contactcenterinsights.v1.ConversationView result = - com.google.cloud.contactcenterinsights.v1.ConversationView.forNumber(view_); - return result == null - ? com.google.cloud.contactcenterinsights.v1.ConversationView.UNRECOGNIZED - : result; + com.google.cloud.contactcenterinsights.v1.ConversationView result = com.google.cloud.contactcenterinsights.v1.ConversationView.forNumber(view_); + return result == null ? com.google.cloud.contactcenterinsights.v1.ConversationView.UNRECOGNIZED : result; } /** - * - * *
      * The level of details of the conversation. Default is `FULL`.
      * 
* * .google.cloud.contactcenterinsights.v1.ConversationView view = 2; - * * @param value The view to set. * @return This builder for chaining. */ @@ -724,14 +623,11 @@ public Builder setView(com.google.cloud.contactcenterinsights.v1.ConversationVie return this; } /** - * - * *
      * The level of details of the conversation. Default is `FULL`.
      * 
* * .google.cloud.contactcenterinsights.v1.ConversationView view = 2; - * * @return This builder for chaining. */ public Builder clearView() { @@ -740,9 +636,9 @@ public Builder clearView() { onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -752,43 +648,41 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.contactcenterinsights.v1.GetConversationRequest) } // @@protoc_insertion_point(class_scope:google.cloud.contactcenterinsights.v1.GetConversationRequest) - private static final com.google.cloud.contactcenterinsights.v1.GetConversationRequest - DEFAULT_INSTANCE; - + private static final com.google.cloud.contactcenterinsights.v1.GetConversationRequest DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.cloud.contactcenterinsights.v1.GetConversationRequest(); } - public static com.google.cloud.contactcenterinsights.v1.GetConversationRequest - getDefaultInstance() { + public static com.google.cloud.contactcenterinsights.v1.GetConversationRequest getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public GetConversationRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public GetConversationRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -800,8 +694,9 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.cloud.contactcenterinsights.v1.GetConversationRequest - getDefaultInstanceForType() { + public com.google.cloud.contactcenterinsights.v1.GetConversationRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/GetConversationRequestOrBuilder.java b/owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/GetConversationRequestOrBuilder.java similarity index 53% rename from java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/GetConversationRequestOrBuilder.java rename to owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/GetConversationRequestOrBuilder.java index 754361b1defd..94a3e47a8e05 100644 --- a/java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/GetConversationRequestOrBuilder.java +++ b/owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/GetConversationRequestOrBuilder.java @@ -1,78 +1,47 @@ -/* - * 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. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/contactcenterinsights/v1/contact_center_insights.proto package com.google.cloud.contactcenterinsights.v1; -public interface GetConversationRequestOrBuilder - extends +public interface GetConversationRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.contactcenterinsights.v1.GetConversationRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Required. The name of the conversation to get.
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ java.lang.String getName(); /** - * - * *
    * Required. The name of the conversation to get.
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ - com.google.protobuf.ByteString getNameBytes(); + com.google.protobuf.ByteString + getNameBytes(); /** - * - * *
    * The level of details of the conversation. Default is `FULL`.
    * 
* * .google.cloud.contactcenterinsights.v1.ConversationView view = 2; - * * @return The enum numeric value on the wire for view. */ int getViewValue(); /** - * - * *
    * The level of details of the conversation. Default is `FULL`.
    * 
* * .google.cloud.contactcenterinsights.v1.ConversationView view = 2; - * * @return The view. */ com.google.cloud.contactcenterinsights.v1.ConversationView getView(); diff --git a/java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/GetIssueModelRequest.java b/owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/GetIssueModelRequest.java similarity index 60% rename from java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/GetIssueModelRequest.java rename to owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/GetIssueModelRequest.java index 784daf5d03d5..462d3f841381 100644 --- a/java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/GetIssueModelRequest.java +++ b/owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/GetIssueModelRequest.java @@ -1,87 +1,62 @@ -/* - * 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. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/contactcenterinsights/v1/contact_center_insights.proto package com.google.cloud.contactcenterinsights.v1; /** - * - * *
  * The request to get an issue model.
  * 
* * Protobuf type {@code google.cloud.contactcenterinsights.v1.GetIssueModelRequest} */ -public final class GetIssueModelRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class GetIssueModelRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.contactcenterinsights.v1.GetIssueModelRequest) GetIssueModelRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use GetIssueModelRequest.newBuilder() to construct. private GetIssueModelRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private GetIssueModelRequest() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new GetIssueModelRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto - .internal_static_google_cloud_contactcenterinsights_v1_GetIssueModelRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto.internal_static_google_cloud_contactcenterinsights_v1_GetIssueModelRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto - .internal_static_google_cloud_contactcenterinsights_v1_GetIssueModelRequest_fieldAccessorTable + return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto.internal_static_google_cloud_contactcenterinsights_v1_GetIssueModelRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.contactcenterinsights.v1.GetIssueModelRequest.class, - com.google.cloud.contactcenterinsights.v1.GetIssueModelRequest.Builder.class); + com.google.cloud.contactcenterinsights.v1.GetIssueModelRequest.class, com.google.cloud.contactcenterinsights.v1.GetIssueModelRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; - @SuppressWarnings("serial") private volatile java.lang.Object name_ = ""; /** - * - * *
    * Required. The name of the issue model to get.
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ @java.lang.Override @@ -90,31 +65,29 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** - * - * *
    * Required. The name of the issue model to get.
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -123,7 +96,6 @@ public com.google.protobuf.ByteString getNameBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -135,7 +107,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -159,15 +132,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.contactcenterinsights.v1.GetIssueModelRequest)) { return super.equals(obj); } - com.google.cloud.contactcenterinsights.v1.GetIssueModelRequest other = - (com.google.cloud.contactcenterinsights.v1.GetIssueModelRequest) obj; + com.google.cloud.contactcenterinsights.v1.GetIssueModelRequest other = (com.google.cloud.contactcenterinsights.v1.GetIssueModelRequest) obj; - if (!getName().equals(other.getName())) return false; + if (!getName() + .equals(other.getName())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -187,136 +160,129 @@ public int hashCode() { } public static com.google.cloud.contactcenterinsights.v1.GetIssueModelRequest parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.contactcenterinsights.v1.GetIssueModelRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.contactcenterinsights.v1.GetIssueModelRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.contactcenterinsights.v1.GetIssueModelRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.contactcenterinsights.v1.GetIssueModelRequest parseFrom( - byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.contactcenterinsights.v1.GetIssueModelRequest parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.contactcenterinsights.v1.GetIssueModelRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.contactcenterinsights.v1.GetIssueModelRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.contactcenterinsights.v1.GetIssueModelRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.contactcenterinsights.v1.GetIssueModelRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.contactcenterinsights.v1.GetIssueModelRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.contactcenterinsights.v1.GetIssueModelRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.contactcenterinsights.v1.GetIssueModelRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.contactcenterinsights.v1.GetIssueModelRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.contactcenterinsights.v1.GetIssueModelRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.contactcenterinsights.v1.GetIssueModelRequest prototype) { + public static Builder newBuilder(com.google.cloud.contactcenterinsights.v1.GetIssueModelRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * The request to get an issue model.
    * 
* * Protobuf type {@code google.cloud.contactcenterinsights.v1.GetIssueModelRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.contactcenterinsights.v1.GetIssueModelRequest) com.google.cloud.contactcenterinsights.v1.GetIssueModelRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto - .internal_static_google_cloud_contactcenterinsights_v1_GetIssueModelRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto.internal_static_google_cloud_contactcenterinsights_v1_GetIssueModelRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto - .internal_static_google_cloud_contactcenterinsights_v1_GetIssueModelRequest_fieldAccessorTable + return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto.internal_static_google_cloud_contactcenterinsights_v1_GetIssueModelRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.contactcenterinsights.v1.GetIssueModelRequest.class, - com.google.cloud.contactcenterinsights.v1.GetIssueModelRequest.Builder.class); + com.google.cloud.contactcenterinsights.v1.GetIssueModelRequest.class, com.google.cloud.contactcenterinsights.v1.GetIssueModelRequest.Builder.class); } // Construct using com.google.cloud.contactcenterinsights.v1.GetIssueModelRequest.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -326,14 +292,13 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto - .internal_static_google_cloud_contactcenterinsights_v1_GetIssueModelRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto.internal_static_google_cloud_contactcenterinsights_v1_GetIssueModelRequest_descriptor; } @java.lang.Override - public com.google.cloud.contactcenterinsights.v1.GetIssueModelRequest - getDefaultInstanceForType() { + public com.google.cloud.contactcenterinsights.v1.GetIssueModelRequest getDefaultInstanceForType() { return com.google.cloud.contactcenterinsights.v1.GetIssueModelRequest.getDefaultInstance(); } @@ -348,17 +313,13 @@ public com.google.cloud.contactcenterinsights.v1.GetIssueModelRequest build() { @java.lang.Override public com.google.cloud.contactcenterinsights.v1.GetIssueModelRequest buildPartial() { - com.google.cloud.contactcenterinsights.v1.GetIssueModelRequest result = - new com.google.cloud.contactcenterinsights.v1.GetIssueModelRequest(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + com.google.cloud.contactcenterinsights.v1.GetIssueModelRequest result = new com.google.cloud.contactcenterinsights.v1.GetIssueModelRequest(this); + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } - private void buildPartial0( - com.google.cloud.contactcenterinsights.v1.GetIssueModelRequest result) { + private void buildPartial0(com.google.cloud.contactcenterinsights.v1.GetIssueModelRequest result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { result.name_ = name_; @@ -369,39 +330,38 @@ private void buildPartial0( public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.contactcenterinsights.v1.GetIssueModelRequest) { - return mergeFrom((com.google.cloud.contactcenterinsights.v1.GetIssueModelRequest) other); + return mergeFrom((com.google.cloud.contactcenterinsights.v1.GetIssueModelRequest)other); } else { super.mergeFrom(other); return this; @@ -409,9 +369,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.contactcenterinsights.v1.GetIssueModelRequest other) { - if (other - == com.google.cloud.contactcenterinsights.v1.GetIssueModelRequest.getDefaultInstance()) - return this; + if (other == com.google.cloud.contactcenterinsights.v1.GetIssueModelRequest.getDefaultInstance()) return this; if (!other.getName().isEmpty()) { name_ = other.name_; bitField0_ |= 0x00000001; @@ -443,19 +401,17 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - name_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + name_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -465,27 +421,22 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private java.lang.Object name_ = ""; /** - * - * *
      * Required. The name of the issue model to get.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -494,23 +445,20 @@ public java.lang.String getName() { } } /** - * - * *
      * Required. The name of the issue model to get.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -518,39 +466,28 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * Required. The name of the issue model to get.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The name to set. * @return This builder for chaining. */ - public Builder setName(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setName( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } name_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
      * Required. The name of the issue model to get.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearName() { @@ -560,32 +497,26 @@ public Builder clearName() { return this; } /** - * - * *
      * Required. The name of the issue model to get.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setNameBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); name_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -595,43 +526,41 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.contactcenterinsights.v1.GetIssueModelRequest) } // @@protoc_insertion_point(class_scope:google.cloud.contactcenterinsights.v1.GetIssueModelRequest) - private static final com.google.cloud.contactcenterinsights.v1.GetIssueModelRequest - DEFAULT_INSTANCE; - + private static final com.google.cloud.contactcenterinsights.v1.GetIssueModelRequest DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.cloud.contactcenterinsights.v1.GetIssueModelRequest(); } - public static com.google.cloud.contactcenterinsights.v1.GetIssueModelRequest - getDefaultInstance() { + public static com.google.cloud.contactcenterinsights.v1.GetIssueModelRequest getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public GetIssueModelRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public GetIssueModelRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -643,8 +572,9 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.cloud.contactcenterinsights.v1.GetIssueModelRequest - getDefaultInstanceForType() { + public com.google.cloud.contactcenterinsights.v1.GetIssueModelRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/GetIssueModelRequestOrBuilder.java b/owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/GetIssueModelRequestOrBuilder.java new file mode 100644 index 000000000000..bd12548f170a --- /dev/null +++ b/owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/GetIssueModelRequestOrBuilder.java @@ -0,0 +1,29 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/contactcenterinsights/v1/contact_center_insights.proto + +package com.google.cloud.contactcenterinsights.v1; + +public interface GetIssueModelRequestOrBuilder extends + // @@protoc_insertion_point(interface_extends:google.cloud.contactcenterinsights.v1.GetIssueModelRequest) + com.google.protobuf.MessageOrBuilder { + + /** + *
+   * Required. The name of the issue model to get.
+   * 
+ * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The name. + */ + java.lang.String getName(); + /** + *
+   * Required. The name of the issue model to get.
+   * 
+ * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The bytes for name. + */ + com.google.protobuf.ByteString + getNameBytes(); +} diff --git a/java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/GetIssueRequest.java b/owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/GetIssueRequest.java similarity index 62% rename from java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/GetIssueRequest.java rename to owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/GetIssueRequest.java index cac726946794..8c5710ba6656 100644 --- a/java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/GetIssueRequest.java +++ b/owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/GetIssueRequest.java @@ -1,87 +1,62 @@ -/* - * 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. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/contactcenterinsights/v1/contact_center_insights.proto package com.google.cloud.contactcenterinsights.v1; /** - * - * *
  * The request to get an issue.
  * 
* * Protobuf type {@code google.cloud.contactcenterinsights.v1.GetIssueRequest} */ -public final class GetIssueRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class GetIssueRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.contactcenterinsights.v1.GetIssueRequest) GetIssueRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use GetIssueRequest.newBuilder() to construct. private GetIssueRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private GetIssueRequest() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new GetIssueRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto - .internal_static_google_cloud_contactcenterinsights_v1_GetIssueRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto.internal_static_google_cloud_contactcenterinsights_v1_GetIssueRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto - .internal_static_google_cloud_contactcenterinsights_v1_GetIssueRequest_fieldAccessorTable + return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto.internal_static_google_cloud_contactcenterinsights_v1_GetIssueRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.contactcenterinsights.v1.GetIssueRequest.class, - com.google.cloud.contactcenterinsights.v1.GetIssueRequest.Builder.class); + com.google.cloud.contactcenterinsights.v1.GetIssueRequest.class, com.google.cloud.contactcenterinsights.v1.GetIssueRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; - @SuppressWarnings("serial") private volatile java.lang.Object name_ = ""; /** - * - * *
    * Required. The name of the issue to get.
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ @java.lang.Override @@ -90,31 +65,29 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** - * - * *
    * Required. The name of the issue to get.
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -123,7 +96,6 @@ public com.google.protobuf.ByteString getNameBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -135,7 +107,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -159,15 +132,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.contactcenterinsights.v1.GetIssueRequest)) { return super.equals(obj); } - com.google.cloud.contactcenterinsights.v1.GetIssueRequest other = - (com.google.cloud.contactcenterinsights.v1.GetIssueRequest) obj; + com.google.cloud.contactcenterinsights.v1.GetIssueRequest other = (com.google.cloud.contactcenterinsights.v1.GetIssueRequest) obj; - if (!getName().equals(other.getName())) return false; + if (!getName() + .equals(other.getName())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -187,136 +160,129 @@ public int hashCode() { } public static com.google.cloud.contactcenterinsights.v1.GetIssueRequest parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.contactcenterinsights.v1.GetIssueRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.contactcenterinsights.v1.GetIssueRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.contactcenterinsights.v1.GetIssueRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.contactcenterinsights.v1.GetIssueRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.contactcenterinsights.v1.GetIssueRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.contactcenterinsights.v1.GetIssueRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.contactcenterinsights.v1.GetIssueRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.contactcenterinsights.v1.GetIssueRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.contactcenterinsights.v1.GetIssueRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.contactcenterinsights.v1.GetIssueRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.contactcenterinsights.v1.GetIssueRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.contactcenterinsights.v1.GetIssueRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.contactcenterinsights.v1.GetIssueRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.contactcenterinsights.v1.GetIssueRequest prototype) { + public static Builder newBuilder(com.google.cloud.contactcenterinsights.v1.GetIssueRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * The request to get an issue.
    * 
* * Protobuf type {@code google.cloud.contactcenterinsights.v1.GetIssueRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.contactcenterinsights.v1.GetIssueRequest) com.google.cloud.contactcenterinsights.v1.GetIssueRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto - .internal_static_google_cloud_contactcenterinsights_v1_GetIssueRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto.internal_static_google_cloud_contactcenterinsights_v1_GetIssueRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto - .internal_static_google_cloud_contactcenterinsights_v1_GetIssueRequest_fieldAccessorTable + return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto.internal_static_google_cloud_contactcenterinsights_v1_GetIssueRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.contactcenterinsights.v1.GetIssueRequest.class, - com.google.cloud.contactcenterinsights.v1.GetIssueRequest.Builder.class); + com.google.cloud.contactcenterinsights.v1.GetIssueRequest.class, com.google.cloud.contactcenterinsights.v1.GetIssueRequest.Builder.class); } // Construct using com.google.cloud.contactcenterinsights.v1.GetIssueRequest.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -326,9 +292,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto - .internal_static_google_cloud_contactcenterinsights_v1_GetIssueRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto.internal_static_google_cloud_contactcenterinsights_v1_GetIssueRequest_descriptor; } @java.lang.Override @@ -347,11 +313,8 @@ public com.google.cloud.contactcenterinsights.v1.GetIssueRequest build() { @java.lang.Override public com.google.cloud.contactcenterinsights.v1.GetIssueRequest buildPartial() { - com.google.cloud.contactcenterinsights.v1.GetIssueRequest result = - new com.google.cloud.contactcenterinsights.v1.GetIssueRequest(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + com.google.cloud.contactcenterinsights.v1.GetIssueRequest result = new com.google.cloud.contactcenterinsights.v1.GetIssueRequest(this); + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } @@ -367,39 +330,38 @@ private void buildPartial0(com.google.cloud.contactcenterinsights.v1.GetIssueReq public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.contactcenterinsights.v1.GetIssueRequest) { - return mergeFrom((com.google.cloud.contactcenterinsights.v1.GetIssueRequest) other); + return mergeFrom((com.google.cloud.contactcenterinsights.v1.GetIssueRequest)other); } else { super.mergeFrom(other); return this; @@ -407,8 +369,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.contactcenterinsights.v1.GetIssueRequest other) { - if (other == com.google.cloud.contactcenterinsights.v1.GetIssueRequest.getDefaultInstance()) - return this; + if (other == com.google.cloud.contactcenterinsights.v1.GetIssueRequest.getDefaultInstance()) return this; if (!other.getName().isEmpty()) { name_ = other.name_; bitField0_ |= 0x00000001; @@ -440,19 +401,17 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - name_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + name_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -462,27 +421,22 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private java.lang.Object name_ = ""; /** - * - * *
      * Required. The name of the issue to get.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -491,23 +445,20 @@ public java.lang.String getName() { } } /** - * - * *
      * Required. The name of the issue to get.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -515,39 +466,28 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * Required. The name of the issue to get.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The name to set. * @return This builder for chaining. */ - public Builder setName(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setName( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } name_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
      * Required. The name of the issue to get.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearName() { @@ -557,32 +497,26 @@ public Builder clearName() { return this; } /** - * - * *
      * Required. The name of the issue to get.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setNameBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); name_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -592,12 +526,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.contactcenterinsights.v1.GetIssueRequest) } // @@protoc_insertion_point(class_scope:google.cloud.contactcenterinsights.v1.GetIssueRequest) private static final com.google.cloud.contactcenterinsights.v1.GetIssueRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.contactcenterinsights.v1.GetIssueRequest(); } @@ -606,27 +540,27 @@ public static com.google.cloud.contactcenterinsights.v1.GetIssueRequest getDefau return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public GetIssueRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public GetIssueRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -641,4 +575,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.contactcenterinsights.v1.GetIssueRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/GetIssueRequestOrBuilder.java b/owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/GetIssueRequestOrBuilder.java new file mode 100644 index 000000000000..8997efd09fa4 --- /dev/null +++ b/owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/GetIssueRequestOrBuilder.java @@ -0,0 +1,29 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/contactcenterinsights/v1/contact_center_insights.proto + +package com.google.cloud.contactcenterinsights.v1; + +public interface GetIssueRequestOrBuilder extends + // @@protoc_insertion_point(interface_extends:google.cloud.contactcenterinsights.v1.GetIssueRequest) + com.google.protobuf.MessageOrBuilder { + + /** + *
+   * Required. The name of the issue to get.
+   * 
+ * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The name. + */ + java.lang.String getName(); + /** + *
+   * Required. The name of the issue to get.
+   * 
+ * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The bytes for name. + */ + com.google.protobuf.ByteString + getNameBytes(); +} diff --git a/java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/GetPhraseMatcherRequest.java b/owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/GetPhraseMatcherRequest.java similarity index 59% rename from java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/GetPhraseMatcherRequest.java rename to owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/GetPhraseMatcherRequest.java index 9d3fd7bcd02b..d35f60129178 100644 --- a/java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/GetPhraseMatcherRequest.java +++ b/owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/GetPhraseMatcherRequest.java @@ -1,87 +1,62 @@ -/* - * 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. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/contactcenterinsights/v1/contact_center_insights.proto package com.google.cloud.contactcenterinsights.v1; /** - * - * *
  * The request to get a a phrase matcher.
  * 
* * Protobuf type {@code google.cloud.contactcenterinsights.v1.GetPhraseMatcherRequest} */ -public final class GetPhraseMatcherRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class GetPhraseMatcherRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.contactcenterinsights.v1.GetPhraseMatcherRequest) GetPhraseMatcherRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use GetPhraseMatcherRequest.newBuilder() to construct. private GetPhraseMatcherRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private GetPhraseMatcherRequest() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new GetPhraseMatcherRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto - .internal_static_google_cloud_contactcenterinsights_v1_GetPhraseMatcherRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto.internal_static_google_cloud_contactcenterinsights_v1_GetPhraseMatcherRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto - .internal_static_google_cloud_contactcenterinsights_v1_GetPhraseMatcherRequest_fieldAccessorTable + return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto.internal_static_google_cloud_contactcenterinsights_v1_GetPhraseMatcherRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.contactcenterinsights.v1.GetPhraseMatcherRequest.class, - com.google.cloud.contactcenterinsights.v1.GetPhraseMatcherRequest.Builder.class); + com.google.cloud.contactcenterinsights.v1.GetPhraseMatcherRequest.class, com.google.cloud.contactcenterinsights.v1.GetPhraseMatcherRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; - @SuppressWarnings("serial") private volatile java.lang.Object name_ = ""; /** - * - * *
    * Required. The name of the phrase matcher to get.
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ @java.lang.Override @@ -90,31 +65,29 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** - * - * *
    * Required. The name of the phrase matcher to get.
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -123,7 +96,6 @@ public com.google.protobuf.ByteString getNameBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -135,7 +107,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -159,15 +132,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.contactcenterinsights.v1.GetPhraseMatcherRequest)) { return super.equals(obj); } - com.google.cloud.contactcenterinsights.v1.GetPhraseMatcherRequest other = - (com.google.cloud.contactcenterinsights.v1.GetPhraseMatcherRequest) obj; + com.google.cloud.contactcenterinsights.v1.GetPhraseMatcherRequest other = (com.google.cloud.contactcenterinsights.v1.GetPhraseMatcherRequest) obj; - if (!getName().equals(other.getName())) return false; + if (!getName() + .equals(other.getName())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -187,138 +160,129 @@ public int hashCode() { } public static com.google.cloud.contactcenterinsights.v1.GetPhraseMatcherRequest parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.contactcenterinsights.v1.GetPhraseMatcherRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.contactcenterinsights.v1.GetPhraseMatcherRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.contactcenterinsights.v1.GetPhraseMatcherRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.contactcenterinsights.v1.GetPhraseMatcherRequest parseFrom( - byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.contactcenterinsights.v1.GetPhraseMatcherRequest parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.contactcenterinsights.v1.GetPhraseMatcherRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.contactcenterinsights.v1.GetPhraseMatcherRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.contactcenterinsights.v1.GetPhraseMatcherRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.contactcenterinsights.v1.GetPhraseMatcherRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.contactcenterinsights.v1.GetPhraseMatcherRequest - parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.contactcenterinsights.v1.GetPhraseMatcherRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - - public static com.google.cloud.contactcenterinsights.v1.GetPhraseMatcherRequest - parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + public static com.google.cloud.contactcenterinsights.v1.GetPhraseMatcherRequest parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.contactcenterinsights.v1.GetPhraseMatcherRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.contactcenterinsights.v1.GetPhraseMatcherRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.contactcenterinsights.v1.GetPhraseMatcherRequest prototype) { + public static Builder newBuilder(com.google.cloud.contactcenterinsights.v1.GetPhraseMatcherRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * The request to get a a phrase matcher.
    * 
* * Protobuf type {@code google.cloud.contactcenterinsights.v1.GetPhraseMatcherRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.contactcenterinsights.v1.GetPhraseMatcherRequest) com.google.cloud.contactcenterinsights.v1.GetPhraseMatcherRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto - .internal_static_google_cloud_contactcenterinsights_v1_GetPhraseMatcherRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto.internal_static_google_cloud_contactcenterinsights_v1_GetPhraseMatcherRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto - .internal_static_google_cloud_contactcenterinsights_v1_GetPhraseMatcherRequest_fieldAccessorTable + return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto.internal_static_google_cloud_contactcenterinsights_v1_GetPhraseMatcherRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.contactcenterinsights.v1.GetPhraseMatcherRequest.class, - com.google.cloud.contactcenterinsights.v1.GetPhraseMatcherRequest.Builder.class); + com.google.cloud.contactcenterinsights.v1.GetPhraseMatcherRequest.class, com.google.cloud.contactcenterinsights.v1.GetPhraseMatcherRequest.Builder.class); } - // Construct using - // com.google.cloud.contactcenterinsights.v1.GetPhraseMatcherRequest.newBuilder() - private Builder() {} + // Construct using com.google.cloud.contactcenterinsights.v1.GetPhraseMatcherRequest.newBuilder() + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -328,14 +292,13 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto - .internal_static_google_cloud_contactcenterinsights_v1_GetPhraseMatcherRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto.internal_static_google_cloud_contactcenterinsights_v1_GetPhraseMatcherRequest_descriptor; } @java.lang.Override - public com.google.cloud.contactcenterinsights.v1.GetPhraseMatcherRequest - getDefaultInstanceForType() { + public com.google.cloud.contactcenterinsights.v1.GetPhraseMatcherRequest getDefaultInstanceForType() { return com.google.cloud.contactcenterinsights.v1.GetPhraseMatcherRequest.getDefaultInstance(); } @@ -350,17 +313,13 @@ public com.google.cloud.contactcenterinsights.v1.GetPhraseMatcherRequest build() @java.lang.Override public com.google.cloud.contactcenterinsights.v1.GetPhraseMatcherRequest buildPartial() { - com.google.cloud.contactcenterinsights.v1.GetPhraseMatcherRequest result = - new com.google.cloud.contactcenterinsights.v1.GetPhraseMatcherRequest(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + com.google.cloud.contactcenterinsights.v1.GetPhraseMatcherRequest result = new com.google.cloud.contactcenterinsights.v1.GetPhraseMatcherRequest(this); + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } - private void buildPartial0( - com.google.cloud.contactcenterinsights.v1.GetPhraseMatcherRequest result) { + private void buildPartial0(com.google.cloud.contactcenterinsights.v1.GetPhraseMatcherRequest result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { result.name_ = name_; @@ -371,50 +330,46 @@ private void buildPartial0( public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.contactcenterinsights.v1.GetPhraseMatcherRequest) { - return mergeFrom((com.google.cloud.contactcenterinsights.v1.GetPhraseMatcherRequest) other); + return mergeFrom((com.google.cloud.contactcenterinsights.v1.GetPhraseMatcherRequest)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom( - com.google.cloud.contactcenterinsights.v1.GetPhraseMatcherRequest other) { - if (other - == com.google.cloud.contactcenterinsights.v1.GetPhraseMatcherRequest.getDefaultInstance()) - return this; + public Builder mergeFrom(com.google.cloud.contactcenterinsights.v1.GetPhraseMatcherRequest other) { + if (other == com.google.cloud.contactcenterinsights.v1.GetPhraseMatcherRequest.getDefaultInstance()) return this; if (!other.getName().isEmpty()) { name_ = other.name_; bitField0_ |= 0x00000001; @@ -446,19 +401,17 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - name_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + name_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -468,27 +421,22 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private java.lang.Object name_ = ""; /** - * - * *
      * Required. The name of the phrase matcher to get.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -497,23 +445,20 @@ public java.lang.String getName() { } } /** - * - * *
      * Required. The name of the phrase matcher to get.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -521,39 +466,28 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * Required. The name of the phrase matcher to get.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The name to set. * @return This builder for chaining. */ - public Builder setName(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setName( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } name_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
      * Required. The name of the phrase matcher to get.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearName() { @@ -563,32 +497,26 @@ public Builder clearName() { return this; } /** - * - * *
      * Required. The name of the phrase matcher to get.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setNameBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); name_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -598,43 +526,41 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.contactcenterinsights.v1.GetPhraseMatcherRequest) } // @@protoc_insertion_point(class_scope:google.cloud.contactcenterinsights.v1.GetPhraseMatcherRequest) - private static final com.google.cloud.contactcenterinsights.v1.GetPhraseMatcherRequest - DEFAULT_INSTANCE; - + private static final com.google.cloud.contactcenterinsights.v1.GetPhraseMatcherRequest DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.cloud.contactcenterinsights.v1.GetPhraseMatcherRequest(); } - public static com.google.cloud.contactcenterinsights.v1.GetPhraseMatcherRequest - getDefaultInstance() { + public static com.google.cloud.contactcenterinsights.v1.GetPhraseMatcherRequest getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public GetPhraseMatcherRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public GetPhraseMatcherRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -646,8 +572,9 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.cloud.contactcenterinsights.v1.GetPhraseMatcherRequest - getDefaultInstanceForType() { + public com.google.cloud.contactcenterinsights.v1.GetPhraseMatcherRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/GetPhraseMatcherRequestOrBuilder.java b/owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/GetPhraseMatcherRequestOrBuilder.java new file mode 100644 index 000000000000..cab6c263ab36 --- /dev/null +++ b/owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/GetPhraseMatcherRequestOrBuilder.java @@ -0,0 +1,29 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/contactcenterinsights/v1/contact_center_insights.proto + +package com.google.cloud.contactcenterinsights.v1; + +public interface GetPhraseMatcherRequestOrBuilder extends + // @@protoc_insertion_point(interface_extends:google.cloud.contactcenterinsights.v1.GetPhraseMatcherRequest) + com.google.protobuf.MessageOrBuilder { + + /** + *
+   * Required. The name of the phrase matcher to get.
+   * 
+ * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The name. + */ + java.lang.String getName(); + /** + *
+   * Required. The name of the phrase matcher to get.
+   * 
+ * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The bytes for name. + */ + com.google.protobuf.ByteString + getNameBytes(); +} diff --git a/java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/GetSettingsRequest.java b/owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/GetSettingsRequest.java similarity index 61% rename from java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/GetSettingsRequest.java rename to owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/GetSettingsRequest.java index abf7a6299ea9..093cc66d22a2 100644 --- a/java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/GetSettingsRequest.java +++ b/owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/GetSettingsRequest.java @@ -1,87 +1,62 @@ -/* - * 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. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/contactcenterinsights/v1/contact_center_insights.proto package com.google.cloud.contactcenterinsights.v1; /** - * - * *
  * The request to get project-level settings.
  * 
* * Protobuf type {@code google.cloud.contactcenterinsights.v1.GetSettingsRequest} */ -public final class GetSettingsRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class GetSettingsRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.contactcenterinsights.v1.GetSettingsRequest) GetSettingsRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use GetSettingsRequest.newBuilder() to construct. private GetSettingsRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private GetSettingsRequest() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new GetSettingsRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto - .internal_static_google_cloud_contactcenterinsights_v1_GetSettingsRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto.internal_static_google_cloud_contactcenterinsights_v1_GetSettingsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto - .internal_static_google_cloud_contactcenterinsights_v1_GetSettingsRequest_fieldAccessorTable + return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto.internal_static_google_cloud_contactcenterinsights_v1_GetSettingsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.contactcenterinsights.v1.GetSettingsRequest.class, - com.google.cloud.contactcenterinsights.v1.GetSettingsRequest.Builder.class); + com.google.cloud.contactcenterinsights.v1.GetSettingsRequest.class, com.google.cloud.contactcenterinsights.v1.GetSettingsRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; - @SuppressWarnings("serial") private volatile java.lang.Object name_ = ""; /** - * - * *
    * Required. The name of the settings resource to get.
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ @java.lang.Override @@ -90,31 +65,29 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** - * - * *
    * Required. The name of the settings resource to get.
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -123,7 +96,6 @@ public com.google.protobuf.ByteString getNameBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -135,7 +107,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -159,15 +132,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.contactcenterinsights.v1.GetSettingsRequest)) { return super.equals(obj); } - com.google.cloud.contactcenterinsights.v1.GetSettingsRequest other = - (com.google.cloud.contactcenterinsights.v1.GetSettingsRequest) obj; + com.google.cloud.contactcenterinsights.v1.GetSettingsRequest other = (com.google.cloud.contactcenterinsights.v1.GetSettingsRequest) obj; - if (!getName().equals(other.getName())) return false; + if (!getName() + .equals(other.getName())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -187,136 +160,129 @@ public int hashCode() { } public static com.google.cloud.contactcenterinsights.v1.GetSettingsRequest parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.contactcenterinsights.v1.GetSettingsRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.contactcenterinsights.v1.GetSettingsRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.contactcenterinsights.v1.GetSettingsRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.contactcenterinsights.v1.GetSettingsRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.contactcenterinsights.v1.GetSettingsRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.contactcenterinsights.v1.GetSettingsRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.contactcenterinsights.v1.GetSettingsRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.contactcenterinsights.v1.GetSettingsRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.contactcenterinsights.v1.GetSettingsRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.contactcenterinsights.v1.GetSettingsRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.contactcenterinsights.v1.GetSettingsRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.contactcenterinsights.v1.GetSettingsRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.contactcenterinsights.v1.GetSettingsRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.contactcenterinsights.v1.GetSettingsRequest prototype) { + public static Builder newBuilder(com.google.cloud.contactcenterinsights.v1.GetSettingsRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * The request to get project-level settings.
    * 
* * Protobuf type {@code google.cloud.contactcenterinsights.v1.GetSettingsRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.contactcenterinsights.v1.GetSettingsRequest) com.google.cloud.contactcenterinsights.v1.GetSettingsRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto - .internal_static_google_cloud_contactcenterinsights_v1_GetSettingsRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto.internal_static_google_cloud_contactcenterinsights_v1_GetSettingsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto - .internal_static_google_cloud_contactcenterinsights_v1_GetSettingsRequest_fieldAccessorTable + return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto.internal_static_google_cloud_contactcenterinsights_v1_GetSettingsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.contactcenterinsights.v1.GetSettingsRequest.class, - com.google.cloud.contactcenterinsights.v1.GetSettingsRequest.Builder.class); + com.google.cloud.contactcenterinsights.v1.GetSettingsRequest.class, com.google.cloud.contactcenterinsights.v1.GetSettingsRequest.Builder.class); } // Construct using com.google.cloud.contactcenterinsights.v1.GetSettingsRequest.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -326,14 +292,13 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto - .internal_static_google_cloud_contactcenterinsights_v1_GetSettingsRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto.internal_static_google_cloud_contactcenterinsights_v1_GetSettingsRequest_descriptor; } @java.lang.Override - public com.google.cloud.contactcenterinsights.v1.GetSettingsRequest - getDefaultInstanceForType() { + public com.google.cloud.contactcenterinsights.v1.GetSettingsRequest getDefaultInstanceForType() { return com.google.cloud.contactcenterinsights.v1.GetSettingsRequest.getDefaultInstance(); } @@ -348,17 +313,13 @@ public com.google.cloud.contactcenterinsights.v1.GetSettingsRequest build() { @java.lang.Override public com.google.cloud.contactcenterinsights.v1.GetSettingsRequest buildPartial() { - com.google.cloud.contactcenterinsights.v1.GetSettingsRequest result = - new com.google.cloud.contactcenterinsights.v1.GetSettingsRequest(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + com.google.cloud.contactcenterinsights.v1.GetSettingsRequest result = new com.google.cloud.contactcenterinsights.v1.GetSettingsRequest(this); + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } - private void buildPartial0( - com.google.cloud.contactcenterinsights.v1.GetSettingsRequest result) { + private void buildPartial0(com.google.cloud.contactcenterinsights.v1.GetSettingsRequest result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { result.name_ = name_; @@ -369,39 +330,38 @@ private void buildPartial0( public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.contactcenterinsights.v1.GetSettingsRequest) { - return mergeFrom((com.google.cloud.contactcenterinsights.v1.GetSettingsRequest) other); + return mergeFrom((com.google.cloud.contactcenterinsights.v1.GetSettingsRequest)other); } else { super.mergeFrom(other); return this; @@ -409,9 +369,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.contactcenterinsights.v1.GetSettingsRequest other) { - if (other - == com.google.cloud.contactcenterinsights.v1.GetSettingsRequest.getDefaultInstance()) - return this; + if (other == com.google.cloud.contactcenterinsights.v1.GetSettingsRequest.getDefaultInstance()) return this; if (!other.getName().isEmpty()) { name_ = other.name_; bitField0_ |= 0x00000001; @@ -443,19 +401,17 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - name_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + name_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -465,27 +421,22 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private java.lang.Object name_ = ""; /** - * - * *
      * Required. The name of the settings resource to get.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -494,23 +445,20 @@ public java.lang.String getName() { } } /** - * - * *
      * Required. The name of the settings resource to get.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -518,39 +466,28 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * Required. The name of the settings resource to get.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The name to set. * @return This builder for chaining. */ - public Builder setName(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setName( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } name_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
      * Required. The name of the settings resource to get.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearName() { @@ -560,32 +497,26 @@ public Builder clearName() { return this; } /** - * - * *
      * Required. The name of the settings resource to get.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setNameBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); name_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -595,13 +526,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.contactcenterinsights.v1.GetSettingsRequest) } // @@protoc_insertion_point(class_scope:google.cloud.contactcenterinsights.v1.GetSettingsRequest) - private static final com.google.cloud.contactcenterinsights.v1.GetSettingsRequest - DEFAULT_INSTANCE; - + private static final com.google.cloud.contactcenterinsights.v1.GetSettingsRequest DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.cloud.contactcenterinsights.v1.GetSettingsRequest(); } @@ -610,27 +540,27 @@ public static com.google.cloud.contactcenterinsights.v1.GetSettingsRequest getDe return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public GetSettingsRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public GetSettingsRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -645,4 +575,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.contactcenterinsights.v1.GetSettingsRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/GetSettingsRequestOrBuilder.java b/owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/GetSettingsRequestOrBuilder.java new file mode 100644 index 000000000000..85f0a8f8e0f8 --- /dev/null +++ b/owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/GetSettingsRequestOrBuilder.java @@ -0,0 +1,29 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/contactcenterinsights/v1/contact_center_insights.proto + +package com.google.cloud.contactcenterinsights.v1; + +public interface GetSettingsRequestOrBuilder extends + // @@protoc_insertion_point(interface_extends:google.cloud.contactcenterinsights.v1.GetSettingsRequest) + com.google.protobuf.MessageOrBuilder { + + /** + *
+   * Required. The name of the settings resource to get.
+   * 
+ * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The name. + */ + java.lang.String getName(); + /** + *
+   * Required. The name of the settings resource to get.
+   * 
+ * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The bytes for name. + */ + com.google.protobuf.ByteString + getNameBytes(); +} diff --git a/java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/GetViewRequest.java b/owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/GetViewRequest.java similarity index 62% rename from java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/GetViewRequest.java rename to owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/GetViewRequest.java index 719f17eeaa44..727e3f1394c2 100644 --- a/java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/GetViewRequest.java +++ b/owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/GetViewRequest.java @@ -1,87 +1,62 @@ -/* - * 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. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/contactcenterinsights/v1/contact_center_insights.proto package com.google.cloud.contactcenterinsights.v1; /** - * - * *
  * The request to get a view.
  * 
* * Protobuf type {@code google.cloud.contactcenterinsights.v1.GetViewRequest} */ -public final class GetViewRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class GetViewRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.contactcenterinsights.v1.GetViewRequest) GetViewRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use GetViewRequest.newBuilder() to construct. private GetViewRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private GetViewRequest() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new GetViewRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto - .internal_static_google_cloud_contactcenterinsights_v1_GetViewRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto.internal_static_google_cloud_contactcenterinsights_v1_GetViewRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto - .internal_static_google_cloud_contactcenterinsights_v1_GetViewRequest_fieldAccessorTable + return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto.internal_static_google_cloud_contactcenterinsights_v1_GetViewRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.contactcenterinsights.v1.GetViewRequest.class, - com.google.cloud.contactcenterinsights.v1.GetViewRequest.Builder.class); + com.google.cloud.contactcenterinsights.v1.GetViewRequest.class, com.google.cloud.contactcenterinsights.v1.GetViewRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; - @SuppressWarnings("serial") private volatile java.lang.Object name_ = ""; /** - * - * *
    * Required. The name of the view to get.
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ @java.lang.Override @@ -90,31 +65,29 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** - * - * *
    * Required. The name of the view to get.
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -123,7 +96,6 @@ public com.google.protobuf.ByteString getNameBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -135,7 +107,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -159,15 +132,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.contactcenterinsights.v1.GetViewRequest)) { return super.equals(obj); } - com.google.cloud.contactcenterinsights.v1.GetViewRequest other = - (com.google.cloud.contactcenterinsights.v1.GetViewRequest) obj; + com.google.cloud.contactcenterinsights.v1.GetViewRequest other = (com.google.cloud.contactcenterinsights.v1.GetViewRequest) obj; - if (!getName().equals(other.getName())) return false; + if (!getName() + .equals(other.getName())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -187,136 +160,129 @@ public int hashCode() { } public static com.google.cloud.contactcenterinsights.v1.GetViewRequest parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.contactcenterinsights.v1.GetViewRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.contactcenterinsights.v1.GetViewRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.contactcenterinsights.v1.GetViewRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.contactcenterinsights.v1.GetViewRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.contactcenterinsights.v1.GetViewRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.contactcenterinsights.v1.GetViewRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.contactcenterinsights.v1.GetViewRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.contactcenterinsights.v1.GetViewRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.contactcenterinsights.v1.GetViewRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.contactcenterinsights.v1.GetViewRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.contactcenterinsights.v1.GetViewRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.contactcenterinsights.v1.GetViewRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.contactcenterinsights.v1.GetViewRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.contactcenterinsights.v1.GetViewRequest prototype) { + public static Builder newBuilder(com.google.cloud.contactcenterinsights.v1.GetViewRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * The request to get a view.
    * 
* * Protobuf type {@code google.cloud.contactcenterinsights.v1.GetViewRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.contactcenterinsights.v1.GetViewRequest) com.google.cloud.contactcenterinsights.v1.GetViewRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto - .internal_static_google_cloud_contactcenterinsights_v1_GetViewRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto.internal_static_google_cloud_contactcenterinsights_v1_GetViewRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto - .internal_static_google_cloud_contactcenterinsights_v1_GetViewRequest_fieldAccessorTable + return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto.internal_static_google_cloud_contactcenterinsights_v1_GetViewRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.contactcenterinsights.v1.GetViewRequest.class, - com.google.cloud.contactcenterinsights.v1.GetViewRequest.Builder.class); + com.google.cloud.contactcenterinsights.v1.GetViewRequest.class, com.google.cloud.contactcenterinsights.v1.GetViewRequest.Builder.class); } // Construct using com.google.cloud.contactcenterinsights.v1.GetViewRequest.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -326,9 +292,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto - .internal_static_google_cloud_contactcenterinsights_v1_GetViewRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto.internal_static_google_cloud_contactcenterinsights_v1_GetViewRequest_descriptor; } @java.lang.Override @@ -347,11 +313,8 @@ public com.google.cloud.contactcenterinsights.v1.GetViewRequest build() { @java.lang.Override public com.google.cloud.contactcenterinsights.v1.GetViewRequest buildPartial() { - com.google.cloud.contactcenterinsights.v1.GetViewRequest result = - new com.google.cloud.contactcenterinsights.v1.GetViewRequest(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + com.google.cloud.contactcenterinsights.v1.GetViewRequest result = new com.google.cloud.contactcenterinsights.v1.GetViewRequest(this); + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } @@ -367,39 +330,38 @@ private void buildPartial0(com.google.cloud.contactcenterinsights.v1.GetViewRequ public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.contactcenterinsights.v1.GetViewRequest) { - return mergeFrom((com.google.cloud.contactcenterinsights.v1.GetViewRequest) other); + return mergeFrom((com.google.cloud.contactcenterinsights.v1.GetViewRequest)other); } else { super.mergeFrom(other); return this; @@ -407,8 +369,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.contactcenterinsights.v1.GetViewRequest other) { - if (other == com.google.cloud.contactcenterinsights.v1.GetViewRequest.getDefaultInstance()) - return this; + if (other == com.google.cloud.contactcenterinsights.v1.GetViewRequest.getDefaultInstance()) return this; if (!other.getName().isEmpty()) { name_ = other.name_; bitField0_ |= 0x00000001; @@ -440,19 +401,17 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - name_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + name_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -462,27 +421,22 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private java.lang.Object name_ = ""; /** - * - * *
      * Required. The name of the view to get.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -491,23 +445,20 @@ public java.lang.String getName() { } } /** - * - * *
      * Required. The name of the view to get.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -515,39 +466,28 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * Required. The name of the view to get.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The name to set. * @return This builder for chaining. */ - public Builder setName(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setName( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } name_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
      * Required. The name of the view to get.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearName() { @@ -557,32 +497,26 @@ public Builder clearName() { return this; } /** - * - * *
      * Required. The name of the view to get.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setNameBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); name_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -592,12 +526,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.contactcenterinsights.v1.GetViewRequest) } // @@protoc_insertion_point(class_scope:google.cloud.contactcenterinsights.v1.GetViewRequest) private static final com.google.cloud.contactcenterinsights.v1.GetViewRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.contactcenterinsights.v1.GetViewRequest(); } @@ -606,27 +540,27 @@ public static com.google.cloud.contactcenterinsights.v1.GetViewRequest getDefaul return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public GetViewRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public GetViewRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -641,4 +575,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.contactcenterinsights.v1.GetViewRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/GetViewRequestOrBuilder.java b/owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/GetViewRequestOrBuilder.java new file mode 100644 index 000000000000..b6c0996130ce --- /dev/null +++ b/owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/GetViewRequestOrBuilder.java @@ -0,0 +1,29 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/contactcenterinsights/v1/contact_center_insights.proto + +package com.google.cloud.contactcenterinsights.v1; + +public interface GetViewRequestOrBuilder extends + // @@protoc_insertion_point(interface_extends:google.cloud.contactcenterinsights.v1.GetViewRequest) + com.google.protobuf.MessageOrBuilder { + + /** + *
+   * Required. The name of the view to get.
+   * 
+ * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The name. + */ + java.lang.String getName(); + /** + *
+   * Required. The name of the view to get.
+   * 
+ * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The bytes for name. + */ + com.google.protobuf.ByteString + getNameBytes(); +} diff --git a/java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/HoldData.java b/owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/HoldData.java similarity index 63% rename from java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/HoldData.java rename to owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/HoldData.java index 101d46a104af..ec610cd0a4b1 100644 --- a/java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/HoldData.java +++ b/owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/HoldData.java @@ -1,72 +1,53 @@ -/* - * 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. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/contactcenterinsights/v1/resources.proto package com.google.cloud.contactcenterinsights.v1; /** - * - * *
  * The data for a hold annotation.
  * 
* * Protobuf type {@code google.cloud.contactcenterinsights.v1.HoldData} */ -public final class HoldData extends com.google.protobuf.GeneratedMessageV3 - implements +public final class HoldData extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.contactcenterinsights.v1.HoldData) HoldDataOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use HoldData.newBuilder() to construct. private HoldData(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - - private HoldData() {} + private HoldData() { + } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new HoldData(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.contactcenterinsights.v1.ResourcesProto - .internal_static_google_cloud_contactcenterinsights_v1_HoldData_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.contactcenterinsights.v1.ResourcesProto.internal_static_google_cloud_contactcenterinsights_v1_HoldData_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.contactcenterinsights.v1.ResourcesProto - .internal_static_google_cloud_contactcenterinsights_v1_HoldData_fieldAccessorTable + return com.google.cloud.contactcenterinsights.v1.ResourcesProto.internal_static_google_cloud_contactcenterinsights_v1_HoldData_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.contactcenterinsights.v1.HoldData.class, - com.google.cloud.contactcenterinsights.v1.HoldData.Builder.class); + com.google.cloud.contactcenterinsights.v1.HoldData.class, com.google.cloud.contactcenterinsights.v1.HoldData.Builder.class); } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -78,7 +59,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { getUnknownFields().writeTo(output); } @@ -96,13 +78,12 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.contactcenterinsights.v1.HoldData)) { return super.equals(obj); } - com.google.cloud.contactcenterinsights.v1.HoldData other = - (com.google.cloud.contactcenterinsights.v1.HoldData) obj; + com.google.cloud.contactcenterinsights.v1.HoldData other = (com.google.cloud.contactcenterinsights.v1.HoldData) obj; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -121,135 +102,129 @@ public int hashCode() { } public static com.google.cloud.contactcenterinsights.v1.HoldData parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.contactcenterinsights.v1.HoldData parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.contactcenterinsights.v1.HoldData parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.contactcenterinsights.v1.HoldData parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.contactcenterinsights.v1.HoldData parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.contactcenterinsights.v1.HoldData parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.contactcenterinsights.v1.HoldData parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.contactcenterinsights.v1.HoldData parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.contactcenterinsights.v1.HoldData parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.contactcenterinsights.v1.HoldData parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.contactcenterinsights.v1.HoldData parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.contactcenterinsights.v1.HoldData parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.contactcenterinsights.v1.HoldData parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.contactcenterinsights.v1.HoldData parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.contactcenterinsights.v1.HoldData prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * The data for a hold annotation.
    * 
* * Protobuf type {@code google.cloud.contactcenterinsights.v1.HoldData} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.contactcenterinsights.v1.HoldData) com.google.cloud.contactcenterinsights.v1.HoldDataOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.contactcenterinsights.v1.ResourcesProto - .internal_static_google_cloud_contactcenterinsights_v1_HoldData_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.contactcenterinsights.v1.ResourcesProto.internal_static_google_cloud_contactcenterinsights_v1_HoldData_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.contactcenterinsights.v1.ResourcesProto - .internal_static_google_cloud_contactcenterinsights_v1_HoldData_fieldAccessorTable + return com.google.cloud.contactcenterinsights.v1.ResourcesProto.internal_static_google_cloud_contactcenterinsights_v1_HoldData_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.contactcenterinsights.v1.HoldData.class, - com.google.cloud.contactcenterinsights.v1.HoldData.Builder.class); + com.google.cloud.contactcenterinsights.v1.HoldData.class, com.google.cloud.contactcenterinsights.v1.HoldData.Builder.class); } // Construct using com.google.cloud.contactcenterinsights.v1.HoldData.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -257,9 +232,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.contactcenterinsights.v1.ResourcesProto - .internal_static_google_cloud_contactcenterinsights_v1_HoldData_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.contactcenterinsights.v1.ResourcesProto.internal_static_google_cloud_contactcenterinsights_v1_HoldData_descriptor; } @java.lang.Override @@ -278,8 +253,7 @@ public com.google.cloud.contactcenterinsights.v1.HoldData build() { @java.lang.Override public com.google.cloud.contactcenterinsights.v1.HoldData buildPartial() { - com.google.cloud.contactcenterinsights.v1.HoldData result = - new com.google.cloud.contactcenterinsights.v1.HoldData(this); + com.google.cloud.contactcenterinsights.v1.HoldData result = new com.google.cloud.contactcenterinsights.v1.HoldData(this); onBuilt(); return result; } @@ -288,39 +262,38 @@ public com.google.cloud.contactcenterinsights.v1.HoldData buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.contactcenterinsights.v1.HoldData) { - return mergeFrom((com.google.cloud.contactcenterinsights.v1.HoldData) other); + return mergeFrom((com.google.cloud.contactcenterinsights.v1.HoldData)other); } else { super.mergeFrom(other); return this; @@ -328,8 +301,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.contactcenterinsights.v1.HoldData other) { - if (other == com.google.cloud.contactcenterinsights.v1.HoldData.getDefaultInstance()) - return this; + if (other == com.google.cloud.contactcenterinsights.v1.HoldData.getDefaultInstance()) return this; this.mergeUnknownFields(other.getUnknownFields()); onChanged(); return this; @@ -356,13 +328,12 @@ public Builder mergeFrom( case 0: done = true; break; - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -372,9 +343,9 @@ public Builder mergeFrom( } // finally return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -384,12 +355,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.contactcenterinsights.v1.HoldData) } // @@protoc_insertion_point(class_scope:google.cloud.contactcenterinsights.v1.HoldData) private static final com.google.cloud.contactcenterinsights.v1.HoldData DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.contactcenterinsights.v1.HoldData(); } @@ -398,27 +369,27 @@ public static com.google.cloud.contactcenterinsights.v1.HoldData getDefaultInsta return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public HoldData parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public HoldData parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -433,4 +404,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.contactcenterinsights.v1.HoldData getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/HoldDataOrBuilder.java b/owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/HoldDataOrBuilder.java new file mode 100644 index 000000000000..069cce421999 --- /dev/null +++ b/owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/HoldDataOrBuilder.java @@ -0,0 +1,9 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/contactcenterinsights/v1/resources.proto + +package com.google.cloud.contactcenterinsights.v1; + +public interface HoldDataOrBuilder extends + // @@protoc_insertion_point(interface_extends:google.cloud.contactcenterinsights.v1.HoldData) + com.google.protobuf.MessageOrBuilder { +} diff --git a/owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/IngestConversationsMetadata.java b/owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/IngestConversationsMetadata.java new file mode 100644 index 000000000000..09c10578accf --- /dev/null +++ b/owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/IngestConversationsMetadata.java @@ -0,0 +1,2599 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/contactcenterinsights/v1/contact_center_insights.proto + +package com.google.cloud.contactcenterinsights.v1; + +/** + *
+ * The metadata for an IngestConversations operation.
+ * 
+ * + * Protobuf type {@code google.cloud.contactcenterinsights.v1.IngestConversationsMetadata} + */ +public final class IngestConversationsMetadata extends + com.google.protobuf.GeneratedMessageV3 implements + // @@protoc_insertion_point(message_implements:google.cloud.contactcenterinsights.v1.IngestConversationsMetadata) + IngestConversationsMetadataOrBuilder { +private static final long serialVersionUID = 0L; + // Use IngestConversationsMetadata.newBuilder() to construct. + private IngestConversationsMetadata(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + private IngestConversationsMetadata() { + partialErrors_ = java.util.Collections.emptyList(); + } + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { + return new IngestConversationsMetadata(); + } + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { + return this.unknownFields; + } + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto.internal_static_google_cloud_contactcenterinsights_v1_IngestConversationsMetadata_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto.internal_static_google_cloud_contactcenterinsights_v1_IngestConversationsMetadata_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.contactcenterinsights.v1.IngestConversationsMetadata.class, com.google.cloud.contactcenterinsights.v1.IngestConversationsMetadata.Builder.class); + } + + public interface IngestConversationsStatsOrBuilder extends + // @@protoc_insertion_point(interface_extends:google.cloud.contactcenterinsights.v1.IngestConversationsMetadata.IngestConversationsStats) + com.google.protobuf.MessageOrBuilder { + + /** + *
+     * Output only. The number of objects processed during the ingest operation.
+     * 
+ * + * int32 processed_object_count = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * @return The processedObjectCount. + */ + int getProcessedObjectCount(); + + /** + *
+     * Output only. The number of objects skipped because another conversation
+     * with the same transcript uri had already been ingested.
+     * 
+ * + * int32 duplicates_skipped_count = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * @return The duplicatesSkippedCount. + */ + int getDuplicatesSkippedCount(); + + /** + *
+     * Output only. The number of new conversations added during this ingest
+     * operation.
+     * 
+ * + * int32 successful_ingest_count = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * @return The successfulIngestCount. + */ + int getSuccessfulIngestCount(); + + /** + *
+     * Output only. The number of objects which were unable to be ingested due
+     * to errors. The errors are populated in the partial_errors field.
+     * 
+ * + * int32 failed_ingest_count = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * @return The failedIngestCount. + */ + int getFailedIngestCount(); + } + /** + *
+   * Statistics for IngestConversations operation.
+   * 
+ * + * Protobuf type {@code google.cloud.contactcenterinsights.v1.IngestConversationsMetadata.IngestConversationsStats} + */ + public static final class IngestConversationsStats extends + com.google.protobuf.GeneratedMessageV3 implements + // @@protoc_insertion_point(message_implements:google.cloud.contactcenterinsights.v1.IngestConversationsMetadata.IngestConversationsStats) + IngestConversationsStatsOrBuilder { + private static final long serialVersionUID = 0L; + // Use IngestConversationsStats.newBuilder() to construct. + private IngestConversationsStats(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + private IngestConversationsStats() { + } + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { + return new IngestConversationsStats(); + } + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { + return this.unknownFields; + } + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto.internal_static_google_cloud_contactcenterinsights_v1_IngestConversationsMetadata_IngestConversationsStats_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto.internal_static_google_cloud_contactcenterinsights_v1_IngestConversationsMetadata_IngestConversationsStats_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.contactcenterinsights.v1.IngestConversationsMetadata.IngestConversationsStats.class, com.google.cloud.contactcenterinsights.v1.IngestConversationsMetadata.IngestConversationsStats.Builder.class); + } + + public static final int PROCESSED_OBJECT_COUNT_FIELD_NUMBER = 1; + private int processedObjectCount_ = 0; + /** + *
+     * Output only. The number of objects processed during the ingest operation.
+     * 
+ * + * int32 processed_object_count = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * @return The processedObjectCount. + */ + @java.lang.Override + public int getProcessedObjectCount() { + return processedObjectCount_; + } + + public static final int DUPLICATES_SKIPPED_COUNT_FIELD_NUMBER = 2; + private int duplicatesSkippedCount_ = 0; + /** + *
+     * Output only. The number of objects skipped because another conversation
+     * with the same transcript uri had already been ingested.
+     * 
+ * + * int32 duplicates_skipped_count = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * @return The duplicatesSkippedCount. + */ + @java.lang.Override + public int getDuplicatesSkippedCount() { + return duplicatesSkippedCount_; + } + + public static final int SUCCESSFUL_INGEST_COUNT_FIELD_NUMBER = 3; + private int successfulIngestCount_ = 0; + /** + *
+     * Output only. The number of new conversations added during this ingest
+     * operation.
+     * 
+ * + * int32 successful_ingest_count = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * @return The successfulIngestCount. + */ + @java.lang.Override + public int getSuccessfulIngestCount() { + return successfulIngestCount_; + } + + public static final int FAILED_INGEST_COUNT_FIELD_NUMBER = 4; + private int failedIngestCount_ = 0; + /** + *
+     * Output only. The number of objects which were unable to be ingested due
+     * to errors. The errors are populated in the partial_errors field.
+     * 
+ * + * int32 failed_ingest_count = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * @return The failedIngestCount. + */ + @java.lang.Override + public int getFailedIngestCount() { + return failedIngestCount_; + } + + private byte memoizedIsInitialized = -1; + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; + + memoizedIsInitialized = 1; + return true; + } + + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + if (processedObjectCount_ != 0) { + output.writeInt32(1, processedObjectCount_); + } + if (duplicatesSkippedCount_ != 0) { + output.writeInt32(2, duplicatesSkippedCount_); + } + if (successfulIngestCount_ != 0) { + output.writeInt32(3, successfulIngestCount_); + } + if (failedIngestCount_ != 0) { + output.writeInt32(4, failedIngestCount_); + } + getUnknownFields().writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (processedObjectCount_ != 0) { + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(1, processedObjectCount_); + } + if (duplicatesSkippedCount_ != 0) { + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(2, duplicatesSkippedCount_); + } + if (successfulIngestCount_ != 0) { + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(3, successfulIngestCount_); + } + if (failedIngestCount_ != 0) { + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(4, failedIngestCount_); + } + size += getUnknownFields().getSerializedSize(); + memoizedSize = size; + return size; + } + + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof com.google.cloud.contactcenterinsights.v1.IngestConversationsMetadata.IngestConversationsStats)) { + return super.equals(obj); + } + com.google.cloud.contactcenterinsights.v1.IngestConversationsMetadata.IngestConversationsStats other = (com.google.cloud.contactcenterinsights.v1.IngestConversationsMetadata.IngestConversationsStats) obj; + + if (getProcessedObjectCount() + != other.getProcessedObjectCount()) return false; + if (getDuplicatesSkippedCount() + != other.getDuplicatesSkippedCount()) return false; + if (getSuccessfulIngestCount() + != other.getSuccessfulIngestCount()) return false; + if (getFailedIngestCount() + != other.getFailedIngestCount()) return false; + if (!getUnknownFields().equals(other.getUnknownFields())) return false; + return true; + } + + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + hash = (37 * hash) + PROCESSED_OBJECT_COUNT_FIELD_NUMBER; + hash = (53 * hash) + getProcessedObjectCount(); + hash = (37 * hash) + DUPLICATES_SKIPPED_COUNT_FIELD_NUMBER; + hash = (53 * hash) + getDuplicatesSkippedCount(); + hash = (37 * hash) + SUCCESSFUL_INGEST_COUNT_FIELD_NUMBER; + hash = (53 * hash) + getSuccessfulIngestCount(); + hash = (37 * hash) + FAILED_INGEST_COUNT_FIELD_NUMBER; + hash = (53 * hash) + getFailedIngestCount(); + hash = (29 * hash) + getUnknownFields().hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.google.cloud.contactcenterinsights.v1.IngestConversationsMetadata.IngestConversationsStats parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.google.cloud.contactcenterinsights.v1.IngestConversationsMetadata.IngestConversationsStats parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.google.cloud.contactcenterinsights.v1.IngestConversationsMetadata.IngestConversationsStats parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.google.cloud.contactcenterinsights.v1.IngestConversationsMetadata.IngestConversationsStats parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.google.cloud.contactcenterinsights.v1.IngestConversationsMetadata.IngestConversationsStats parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.google.cloud.contactcenterinsights.v1.IngestConversationsMetadata.IngestConversationsStats parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.google.cloud.contactcenterinsights.v1.IngestConversationsMetadata.IngestConversationsStats parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static com.google.cloud.contactcenterinsights.v1.IngestConversationsMetadata.IngestConversationsStats parseFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + public static com.google.cloud.contactcenterinsights.v1.IngestConversationsMetadata.IngestConversationsStats parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); + } + public static com.google.cloud.contactcenterinsights.v1.IngestConversationsMetadata.IngestConversationsStats parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + } + public static com.google.cloud.contactcenterinsights.v1.IngestConversationsMetadata.IngestConversationsStats parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static com.google.cloud.contactcenterinsights.v1.IngestConversationsMetadata.IngestConversationsStats parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + + @java.lang.Override + public Builder newBuilderForType() { return newBuilder(); } + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + public static Builder newBuilder(com.google.cloud.contactcenterinsights.v1.IngestConversationsMetadata.IngestConversationsStats prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); + } + + @java.lang.Override + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + /** + *
+     * Statistics for IngestConversations operation.
+     * 
+ * + * Protobuf type {@code google.cloud.contactcenterinsights.v1.IngestConversationsMetadata.IngestConversationsStats} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements + // @@protoc_insertion_point(builder_implements:google.cloud.contactcenterinsights.v1.IngestConversationsMetadata.IngestConversationsStats) + com.google.cloud.contactcenterinsights.v1.IngestConversationsMetadata.IngestConversationsStatsOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto.internal_static_google_cloud_contactcenterinsights_v1_IngestConversationsMetadata_IngestConversationsStats_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto.internal_static_google_cloud_contactcenterinsights_v1_IngestConversationsMetadata_IngestConversationsStats_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.contactcenterinsights.v1.IngestConversationsMetadata.IngestConversationsStats.class, com.google.cloud.contactcenterinsights.v1.IngestConversationsMetadata.IngestConversationsStats.Builder.class); + } + + // Construct using com.google.cloud.contactcenterinsights.v1.IngestConversationsMetadata.IngestConversationsStats.newBuilder() + private Builder() { + + } + + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } + @java.lang.Override + public Builder clear() { + super.clear(); + bitField0_ = 0; + processedObjectCount_ = 0; + duplicatesSkippedCount_ = 0; + successfulIngestCount_ = 0; + failedIngestCount_ = 0; + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto.internal_static_google_cloud_contactcenterinsights_v1_IngestConversationsMetadata_IngestConversationsStats_descriptor; + } + + @java.lang.Override + public com.google.cloud.contactcenterinsights.v1.IngestConversationsMetadata.IngestConversationsStats getDefaultInstanceForType() { + return com.google.cloud.contactcenterinsights.v1.IngestConversationsMetadata.IngestConversationsStats.getDefaultInstance(); + } + + @java.lang.Override + public com.google.cloud.contactcenterinsights.v1.IngestConversationsMetadata.IngestConversationsStats build() { + com.google.cloud.contactcenterinsights.v1.IngestConversationsMetadata.IngestConversationsStats result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.google.cloud.contactcenterinsights.v1.IngestConversationsMetadata.IngestConversationsStats buildPartial() { + com.google.cloud.contactcenterinsights.v1.IngestConversationsMetadata.IngestConversationsStats result = new com.google.cloud.contactcenterinsights.v1.IngestConversationsMetadata.IngestConversationsStats(this); + if (bitField0_ != 0) { buildPartial0(result); } + onBuilt(); + return result; + } + + private void buildPartial0(com.google.cloud.contactcenterinsights.v1.IngestConversationsMetadata.IngestConversationsStats result) { + int from_bitField0_ = bitField0_; + if (((from_bitField0_ & 0x00000001) != 0)) { + result.processedObjectCount_ = processedObjectCount_; + } + if (((from_bitField0_ & 0x00000002) != 0)) { + result.duplicatesSkippedCount_ = duplicatesSkippedCount_; + } + if (((from_bitField0_ & 0x00000004) != 0)) { + result.successfulIngestCount_ = successfulIngestCount_; + } + if (((from_bitField0_ & 0x00000008) != 0)) { + result.failedIngestCount_ = failedIngestCount_; + } + } + + @java.lang.Override + public Builder clone() { + return super.clone(); + } + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.setField(field, value); + } + @java.lang.Override + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { + return super.clearField(field); + } + @java.lang.Override + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return super.clearOneof(oneof); + } + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { + return super.setRepeatedField(field, index, value); + } + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.addRepeatedField(field, value); + } + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof com.google.cloud.contactcenterinsights.v1.IngestConversationsMetadata.IngestConversationsStats) { + return mergeFrom((com.google.cloud.contactcenterinsights.v1.IngestConversationsMetadata.IngestConversationsStats)other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(com.google.cloud.contactcenterinsights.v1.IngestConversationsMetadata.IngestConversationsStats other) { + if (other == com.google.cloud.contactcenterinsights.v1.IngestConversationsMetadata.IngestConversationsStats.getDefaultInstance()) return this; + if (other.getProcessedObjectCount() != 0) { + setProcessedObjectCount(other.getProcessedObjectCount()); + } + if (other.getDuplicatesSkippedCount() != 0) { + setDuplicatesSkippedCount(other.getDuplicatesSkippedCount()); + } + if (other.getSuccessfulIngestCount() != 0) { + setSuccessfulIngestCount(other.getSuccessfulIngestCount()); + } + if (other.getFailedIngestCount() != 0) { + setFailedIngestCount(other.getFailedIngestCount()); + } + this.mergeUnknownFields(other.getUnknownFields()); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 8: { + processedObjectCount_ = input.readInt32(); + bitField0_ |= 0x00000001; + break; + } // case 8 + case 16: { + duplicatesSkippedCount_ = input.readInt32(); + bitField0_ |= 0x00000002; + break; + } // case 16 + case 24: { + successfulIngestCount_ = input.readInt32(); + bitField0_ |= 0x00000004; + break; + } // case 24 + case 32: { + failedIngestCount_ = input.readInt32(); + bitField0_ |= 0x00000008; + break; + } // case 32 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: + } // switch (tag) + } // while (!done) + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.unwrapIOException(); + } finally { + onChanged(); + } // finally + return this; + } + private int bitField0_; + + private int processedObjectCount_ ; + /** + *
+       * Output only. The number of objects processed during the ingest operation.
+       * 
+ * + * int32 processed_object_count = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * @return The processedObjectCount. + */ + @java.lang.Override + public int getProcessedObjectCount() { + return processedObjectCount_; + } + /** + *
+       * Output only. The number of objects processed during the ingest operation.
+       * 
+ * + * int32 processed_object_count = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * @param value The processedObjectCount to set. + * @return This builder for chaining. + */ + public Builder setProcessedObjectCount(int value) { + + processedObjectCount_ = value; + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + /** + *
+       * Output only. The number of objects processed during the ingest operation.
+       * 
+ * + * int32 processed_object_count = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * @return This builder for chaining. + */ + public Builder clearProcessedObjectCount() { + bitField0_ = (bitField0_ & ~0x00000001); + processedObjectCount_ = 0; + onChanged(); + return this; + } + + private int duplicatesSkippedCount_ ; + /** + *
+       * Output only. The number of objects skipped because another conversation
+       * with the same transcript uri had already been ingested.
+       * 
+ * + * int32 duplicates_skipped_count = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * @return The duplicatesSkippedCount. + */ + @java.lang.Override + public int getDuplicatesSkippedCount() { + return duplicatesSkippedCount_; + } + /** + *
+       * Output only. The number of objects skipped because another conversation
+       * with the same transcript uri had already been ingested.
+       * 
+ * + * int32 duplicates_skipped_count = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * @param value The duplicatesSkippedCount to set. + * @return This builder for chaining. + */ + public Builder setDuplicatesSkippedCount(int value) { + + duplicatesSkippedCount_ = value; + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + /** + *
+       * Output only. The number of objects skipped because another conversation
+       * with the same transcript uri had already been ingested.
+       * 
+ * + * int32 duplicates_skipped_count = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * @return This builder for chaining. + */ + public Builder clearDuplicatesSkippedCount() { + bitField0_ = (bitField0_ & ~0x00000002); + duplicatesSkippedCount_ = 0; + onChanged(); + return this; + } + + private int successfulIngestCount_ ; + /** + *
+       * Output only. The number of new conversations added during this ingest
+       * operation.
+       * 
+ * + * int32 successful_ingest_count = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * @return The successfulIngestCount. + */ + @java.lang.Override + public int getSuccessfulIngestCount() { + return successfulIngestCount_; + } + /** + *
+       * Output only. The number of new conversations added during this ingest
+       * operation.
+       * 
+ * + * int32 successful_ingest_count = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * @param value The successfulIngestCount to set. + * @return This builder for chaining. + */ + public Builder setSuccessfulIngestCount(int value) { + + successfulIngestCount_ = value; + bitField0_ |= 0x00000004; + onChanged(); + return this; + } + /** + *
+       * Output only. The number of new conversations added during this ingest
+       * operation.
+       * 
+ * + * int32 successful_ingest_count = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * @return This builder for chaining. + */ + public Builder clearSuccessfulIngestCount() { + bitField0_ = (bitField0_ & ~0x00000004); + successfulIngestCount_ = 0; + onChanged(); + return this; + } + + private int failedIngestCount_ ; + /** + *
+       * Output only. The number of objects which were unable to be ingested due
+       * to errors. The errors are populated in the partial_errors field.
+       * 
+ * + * int32 failed_ingest_count = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * @return The failedIngestCount. + */ + @java.lang.Override + public int getFailedIngestCount() { + return failedIngestCount_; + } + /** + *
+       * Output only. The number of objects which were unable to be ingested due
+       * to errors. The errors are populated in the partial_errors field.
+       * 
+ * + * int32 failed_ingest_count = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * @param value The failedIngestCount to set. + * @return This builder for chaining. + */ + public Builder setFailedIngestCount(int value) { + + failedIngestCount_ = value; + bitField0_ |= 0x00000008; + onChanged(); + return this; + } + /** + *
+       * Output only. The number of objects which were unable to be ingested due
+       * to errors. The errors are populated in the partial_errors field.
+       * 
+ * + * int32 failed_ingest_count = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * @return This builder for chaining. + */ + public Builder clearFailedIngestCount() { + bitField0_ = (bitField0_ & ~0x00000008); + failedIngestCount_ = 0; + onChanged(); + return this; + } + @java.lang.Override + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + + + // @@protoc_insertion_point(builder_scope:google.cloud.contactcenterinsights.v1.IngestConversationsMetadata.IngestConversationsStats) + } + + // @@protoc_insertion_point(class_scope:google.cloud.contactcenterinsights.v1.IngestConversationsMetadata.IngestConversationsStats) + private static final com.google.cloud.contactcenterinsights.v1.IngestConversationsMetadata.IngestConversationsStats DEFAULT_INSTANCE; + static { + DEFAULT_INSTANCE = new com.google.cloud.contactcenterinsights.v1.IngestConversationsMetadata.IngestConversationsStats(); + } + + public static com.google.cloud.contactcenterinsights.v1.IngestConversationsMetadata.IngestConversationsStats getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public IngestConversationsStats parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public com.google.cloud.contactcenterinsights.v1.IngestConversationsMetadata.IngestConversationsStats getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } + + } + + public static final int CREATE_TIME_FIELD_NUMBER = 1; + private com.google.protobuf.Timestamp createTime_; + /** + *
+   * Output only. The time the operation was created.
+   * 
+ * + * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * @return Whether the createTime field is set. + */ + @java.lang.Override + public boolean hasCreateTime() { + return createTime_ != null; + } + /** + *
+   * Output only. The time the operation was created.
+   * 
+ * + * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * @return The createTime. + */ + @java.lang.Override + public com.google.protobuf.Timestamp getCreateTime() { + return createTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : createTime_; + } + /** + *
+   * Output only. The time the operation was created.
+   * 
+ * + * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + */ + @java.lang.Override + public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { + return createTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : createTime_; + } + + public static final int END_TIME_FIELD_NUMBER = 2; + private com.google.protobuf.Timestamp endTime_; + /** + *
+   * Output only. The time the operation finished running.
+   * 
+ * + * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * @return Whether the endTime field is set. + */ + @java.lang.Override + public boolean hasEndTime() { + return endTime_ != null; + } + /** + *
+   * Output only. The time the operation finished running.
+   * 
+ * + * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * @return The endTime. + */ + @java.lang.Override + public com.google.protobuf.Timestamp getEndTime() { + return endTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : endTime_; + } + /** + *
+   * Output only. The time the operation finished running.
+   * 
+ * + * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + */ + @java.lang.Override + public com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder() { + return endTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : endTime_; + } + + public static final int REQUEST_FIELD_NUMBER = 3; + private com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest request_; + /** + *
+   * Output only. The original request for ingest.
+   * 
+ * + * .google.cloud.contactcenterinsights.v1.IngestConversationsRequest request = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * @return Whether the request field is set. + */ + @java.lang.Override + public boolean hasRequest() { + return request_ != null; + } + /** + *
+   * Output only. The original request for ingest.
+   * 
+ * + * .google.cloud.contactcenterinsights.v1.IngestConversationsRequest request = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * @return The request. + */ + @java.lang.Override + public com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest getRequest() { + return request_ == null ? com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest.getDefaultInstance() : request_; + } + /** + *
+   * Output only. The original request for ingest.
+   * 
+ * + * .google.cloud.contactcenterinsights.v1.IngestConversationsRequest request = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + */ + @java.lang.Override + public com.google.cloud.contactcenterinsights.v1.IngestConversationsRequestOrBuilder getRequestOrBuilder() { + return request_ == null ? com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest.getDefaultInstance() : request_; + } + + public static final int PARTIAL_ERRORS_FIELD_NUMBER = 4; + @SuppressWarnings("serial") + private java.util.List partialErrors_; + /** + *
+   * Output only. Partial errors during ingest operation that might cause the
+   * operation output to be incomplete.
+   * 
+ * + * repeated .google.rpc.Status partial_errors = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + */ + @java.lang.Override + public java.util.List getPartialErrorsList() { + return partialErrors_; + } + /** + *
+   * Output only. Partial errors during ingest operation that might cause the
+   * operation output to be incomplete.
+   * 
+ * + * repeated .google.rpc.Status partial_errors = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + */ + @java.lang.Override + public java.util.List + getPartialErrorsOrBuilderList() { + return partialErrors_; + } + /** + *
+   * Output only. Partial errors during ingest operation that might cause the
+   * operation output to be incomplete.
+   * 
+ * + * repeated .google.rpc.Status partial_errors = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + */ + @java.lang.Override + public int getPartialErrorsCount() { + return partialErrors_.size(); + } + /** + *
+   * Output only. Partial errors during ingest operation that might cause the
+   * operation output to be incomplete.
+   * 
+ * + * repeated .google.rpc.Status partial_errors = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + */ + @java.lang.Override + public com.google.rpc.Status getPartialErrors(int index) { + return partialErrors_.get(index); + } + /** + *
+   * Output only. Partial errors during ingest operation that might cause the
+   * operation output to be incomplete.
+   * 
+ * + * repeated .google.rpc.Status partial_errors = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + */ + @java.lang.Override + public com.google.rpc.StatusOrBuilder getPartialErrorsOrBuilder( + int index) { + return partialErrors_.get(index); + } + + public static final int INGEST_CONVERSATIONS_STATS_FIELD_NUMBER = 5; + private com.google.cloud.contactcenterinsights.v1.IngestConversationsMetadata.IngestConversationsStats ingestConversationsStats_; + /** + *
+   * Output only. Statistics for IngestConversations operation.
+   * 
+ * + * .google.cloud.contactcenterinsights.v1.IngestConversationsMetadata.IngestConversationsStats ingest_conversations_stats = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * @return Whether the ingestConversationsStats field is set. + */ + @java.lang.Override + public boolean hasIngestConversationsStats() { + return ingestConversationsStats_ != null; + } + /** + *
+   * Output only. Statistics for IngestConversations operation.
+   * 
+ * + * .google.cloud.contactcenterinsights.v1.IngestConversationsMetadata.IngestConversationsStats ingest_conversations_stats = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * @return The ingestConversationsStats. + */ + @java.lang.Override + public com.google.cloud.contactcenterinsights.v1.IngestConversationsMetadata.IngestConversationsStats getIngestConversationsStats() { + return ingestConversationsStats_ == null ? com.google.cloud.contactcenterinsights.v1.IngestConversationsMetadata.IngestConversationsStats.getDefaultInstance() : ingestConversationsStats_; + } + /** + *
+   * Output only. Statistics for IngestConversations operation.
+   * 
+ * + * .google.cloud.contactcenterinsights.v1.IngestConversationsMetadata.IngestConversationsStats ingest_conversations_stats = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + */ + @java.lang.Override + public com.google.cloud.contactcenterinsights.v1.IngestConversationsMetadata.IngestConversationsStatsOrBuilder getIngestConversationsStatsOrBuilder() { + return ingestConversationsStats_ == null ? com.google.cloud.contactcenterinsights.v1.IngestConversationsMetadata.IngestConversationsStats.getDefaultInstance() : ingestConversationsStats_; + } + + private byte memoizedIsInitialized = -1; + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; + + memoizedIsInitialized = 1; + return true; + } + + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + if (createTime_ != null) { + output.writeMessage(1, getCreateTime()); + } + if (endTime_ != null) { + output.writeMessage(2, getEndTime()); + } + if (request_ != null) { + output.writeMessage(3, getRequest()); + } + for (int i = 0; i < partialErrors_.size(); i++) { + output.writeMessage(4, partialErrors_.get(i)); + } + if (ingestConversationsStats_ != null) { + output.writeMessage(5, getIngestConversationsStats()); + } + getUnknownFields().writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (createTime_ != null) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, getCreateTime()); + } + if (endTime_ != null) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, getEndTime()); + } + if (request_ != null) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(3, getRequest()); + } + for (int i = 0; i < partialErrors_.size(); i++) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(4, partialErrors_.get(i)); + } + if (ingestConversationsStats_ != null) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(5, getIngestConversationsStats()); + } + size += getUnknownFields().getSerializedSize(); + memoizedSize = size; + return size; + } + + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof com.google.cloud.contactcenterinsights.v1.IngestConversationsMetadata)) { + return super.equals(obj); + } + com.google.cloud.contactcenterinsights.v1.IngestConversationsMetadata other = (com.google.cloud.contactcenterinsights.v1.IngestConversationsMetadata) obj; + + if (hasCreateTime() != other.hasCreateTime()) return false; + if (hasCreateTime()) { + if (!getCreateTime() + .equals(other.getCreateTime())) return false; + } + if (hasEndTime() != other.hasEndTime()) return false; + if (hasEndTime()) { + if (!getEndTime() + .equals(other.getEndTime())) return false; + } + if (hasRequest() != other.hasRequest()) return false; + if (hasRequest()) { + if (!getRequest() + .equals(other.getRequest())) return false; + } + if (!getPartialErrorsList() + .equals(other.getPartialErrorsList())) return false; + if (hasIngestConversationsStats() != other.hasIngestConversationsStats()) return false; + if (hasIngestConversationsStats()) { + if (!getIngestConversationsStats() + .equals(other.getIngestConversationsStats())) return false; + } + if (!getUnknownFields().equals(other.getUnknownFields())) return false; + return true; + } + + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + if (hasCreateTime()) { + hash = (37 * hash) + CREATE_TIME_FIELD_NUMBER; + hash = (53 * hash) + getCreateTime().hashCode(); + } + if (hasEndTime()) { + hash = (37 * hash) + END_TIME_FIELD_NUMBER; + hash = (53 * hash) + getEndTime().hashCode(); + } + if (hasRequest()) { + hash = (37 * hash) + REQUEST_FIELD_NUMBER; + hash = (53 * hash) + getRequest().hashCode(); + } + if (getPartialErrorsCount() > 0) { + hash = (37 * hash) + PARTIAL_ERRORS_FIELD_NUMBER; + hash = (53 * hash) + getPartialErrorsList().hashCode(); + } + if (hasIngestConversationsStats()) { + hash = (37 * hash) + INGEST_CONVERSATIONS_STATS_FIELD_NUMBER; + hash = (53 * hash) + getIngestConversationsStats().hashCode(); + } + hash = (29 * hash) + getUnknownFields().hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.google.cloud.contactcenterinsights.v1.IngestConversationsMetadata parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.google.cloud.contactcenterinsights.v1.IngestConversationsMetadata parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.google.cloud.contactcenterinsights.v1.IngestConversationsMetadata parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.google.cloud.contactcenterinsights.v1.IngestConversationsMetadata parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.google.cloud.contactcenterinsights.v1.IngestConversationsMetadata parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.google.cloud.contactcenterinsights.v1.IngestConversationsMetadata parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.google.cloud.contactcenterinsights.v1.IngestConversationsMetadata parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static com.google.cloud.contactcenterinsights.v1.IngestConversationsMetadata parseFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + public static com.google.cloud.contactcenterinsights.v1.IngestConversationsMetadata parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); + } + public static com.google.cloud.contactcenterinsights.v1.IngestConversationsMetadata parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + } + public static com.google.cloud.contactcenterinsights.v1.IngestConversationsMetadata parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static com.google.cloud.contactcenterinsights.v1.IngestConversationsMetadata parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + + @java.lang.Override + public Builder newBuilderForType() { return newBuilder(); } + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + public static Builder newBuilder(com.google.cloud.contactcenterinsights.v1.IngestConversationsMetadata prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); + } + + @java.lang.Override + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + /** + *
+   * The metadata for an IngestConversations operation.
+   * 
+ * + * Protobuf type {@code google.cloud.contactcenterinsights.v1.IngestConversationsMetadata} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements + // @@protoc_insertion_point(builder_implements:google.cloud.contactcenterinsights.v1.IngestConversationsMetadata) + com.google.cloud.contactcenterinsights.v1.IngestConversationsMetadataOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto.internal_static_google_cloud_contactcenterinsights_v1_IngestConversationsMetadata_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto.internal_static_google_cloud_contactcenterinsights_v1_IngestConversationsMetadata_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.contactcenterinsights.v1.IngestConversationsMetadata.class, com.google.cloud.contactcenterinsights.v1.IngestConversationsMetadata.Builder.class); + } + + // Construct using com.google.cloud.contactcenterinsights.v1.IngestConversationsMetadata.newBuilder() + private Builder() { + + } + + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } + @java.lang.Override + public Builder clear() { + super.clear(); + bitField0_ = 0; + createTime_ = null; + if (createTimeBuilder_ != null) { + createTimeBuilder_.dispose(); + createTimeBuilder_ = null; + } + endTime_ = null; + if (endTimeBuilder_ != null) { + endTimeBuilder_.dispose(); + endTimeBuilder_ = null; + } + request_ = null; + if (requestBuilder_ != null) { + requestBuilder_.dispose(); + requestBuilder_ = null; + } + if (partialErrorsBuilder_ == null) { + partialErrors_ = java.util.Collections.emptyList(); + } else { + partialErrors_ = null; + partialErrorsBuilder_.clear(); + } + bitField0_ = (bitField0_ & ~0x00000008); + ingestConversationsStats_ = null; + if (ingestConversationsStatsBuilder_ != null) { + ingestConversationsStatsBuilder_.dispose(); + ingestConversationsStatsBuilder_ = null; + } + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto.internal_static_google_cloud_contactcenterinsights_v1_IngestConversationsMetadata_descriptor; + } + + @java.lang.Override + public com.google.cloud.contactcenterinsights.v1.IngestConversationsMetadata getDefaultInstanceForType() { + return com.google.cloud.contactcenterinsights.v1.IngestConversationsMetadata.getDefaultInstance(); + } + + @java.lang.Override + public com.google.cloud.contactcenterinsights.v1.IngestConversationsMetadata build() { + com.google.cloud.contactcenterinsights.v1.IngestConversationsMetadata result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.google.cloud.contactcenterinsights.v1.IngestConversationsMetadata buildPartial() { + com.google.cloud.contactcenterinsights.v1.IngestConversationsMetadata result = new com.google.cloud.contactcenterinsights.v1.IngestConversationsMetadata(this); + buildPartialRepeatedFields(result); + if (bitField0_ != 0) { buildPartial0(result); } + onBuilt(); + return result; + } + + private void buildPartialRepeatedFields(com.google.cloud.contactcenterinsights.v1.IngestConversationsMetadata result) { + if (partialErrorsBuilder_ == null) { + if (((bitField0_ & 0x00000008) != 0)) { + partialErrors_ = java.util.Collections.unmodifiableList(partialErrors_); + bitField0_ = (bitField0_ & ~0x00000008); + } + result.partialErrors_ = partialErrors_; + } else { + result.partialErrors_ = partialErrorsBuilder_.build(); + } + } + + private void buildPartial0(com.google.cloud.contactcenterinsights.v1.IngestConversationsMetadata result) { + int from_bitField0_ = bitField0_; + if (((from_bitField0_ & 0x00000001) != 0)) { + result.createTime_ = createTimeBuilder_ == null + ? createTime_ + : createTimeBuilder_.build(); + } + if (((from_bitField0_ & 0x00000002) != 0)) { + result.endTime_ = endTimeBuilder_ == null + ? endTime_ + : endTimeBuilder_.build(); + } + if (((from_bitField0_ & 0x00000004) != 0)) { + result.request_ = requestBuilder_ == null + ? request_ + : requestBuilder_.build(); + } + if (((from_bitField0_ & 0x00000010) != 0)) { + result.ingestConversationsStats_ = ingestConversationsStatsBuilder_ == null + ? ingestConversationsStats_ + : ingestConversationsStatsBuilder_.build(); + } + } + + @java.lang.Override + public Builder clone() { + return super.clone(); + } + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.setField(field, value); + } + @java.lang.Override + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { + return super.clearField(field); + } + @java.lang.Override + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return super.clearOneof(oneof); + } + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { + return super.setRepeatedField(field, index, value); + } + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.addRepeatedField(field, value); + } + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof com.google.cloud.contactcenterinsights.v1.IngestConversationsMetadata) { + return mergeFrom((com.google.cloud.contactcenterinsights.v1.IngestConversationsMetadata)other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(com.google.cloud.contactcenterinsights.v1.IngestConversationsMetadata other) { + if (other == com.google.cloud.contactcenterinsights.v1.IngestConversationsMetadata.getDefaultInstance()) return this; + if (other.hasCreateTime()) { + mergeCreateTime(other.getCreateTime()); + } + if (other.hasEndTime()) { + mergeEndTime(other.getEndTime()); + } + if (other.hasRequest()) { + mergeRequest(other.getRequest()); + } + if (partialErrorsBuilder_ == null) { + if (!other.partialErrors_.isEmpty()) { + if (partialErrors_.isEmpty()) { + partialErrors_ = other.partialErrors_; + bitField0_ = (bitField0_ & ~0x00000008); + } else { + ensurePartialErrorsIsMutable(); + partialErrors_.addAll(other.partialErrors_); + } + onChanged(); + } + } else { + if (!other.partialErrors_.isEmpty()) { + if (partialErrorsBuilder_.isEmpty()) { + partialErrorsBuilder_.dispose(); + partialErrorsBuilder_ = null; + partialErrors_ = other.partialErrors_; + bitField0_ = (bitField0_ & ~0x00000008); + partialErrorsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getPartialErrorsFieldBuilder() : null; + } else { + partialErrorsBuilder_.addAllMessages(other.partialErrors_); + } + } + } + if (other.hasIngestConversationsStats()) { + mergeIngestConversationsStats(other.getIngestConversationsStats()); + } + this.mergeUnknownFields(other.getUnknownFields()); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 10: { + input.readMessage( + getCreateTimeFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: { + input.readMessage( + getEndTimeFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00000002; + break; + } // case 18 + case 26: { + input.readMessage( + getRequestFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00000004; + break; + } // case 26 + case 34: { + com.google.rpc.Status m = + input.readMessage( + com.google.rpc.Status.parser(), + extensionRegistry); + if (partialErrorsBuilder_ == null) { + ensurePartialErrorsIsMutable(); + partialErrors_.add(m); + } else { + partialErrorsBuilder_.addMessage(m); + } + break; + } // case 34 + case 42: { + input.readMessage( + getIngestConversationsStatsFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00000010; + break; + } // case 42 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: + } // switch (tag) + } // while (!done) + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.unwrapIOException(); + } finally { + onChanged(); + } // finally + return this; + } + private int bitField0_; + + private com.google.protobuf.Timestamp createTime_; + private com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> createTimeBuilder_; + /** + *
+     * Output only. The time the operation was created.
+     * 
+ * + * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * @return Whether the createTime field is set. + */ + public boolean hasCreateTime() { + return ((bitField0_ & 0x00000001) != 0); + } + /** + *
+     * Output only. The time the operation was created.
+     * 
+ * + * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * @return The createTime. + */ + public com.google.protobuf.Timestamp getCreateTime() { + if (createTimeBuilder_ == null) { + return createTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : createTime_; + } else { + return createTimeBuilder_.getMessage(); + } + } + /** + *
+     * Output only. The time the operation was created.
+     * 
+ * + * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + */ + public Builder setCreateTime(com.google.protobuf.Timestamp value) { + if (createTimeBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + createTime_ = value; + } else { + createTimeBuilder_.setMessage(value); + } + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + /** + *
+     * Output only. The time the operation was created.
+     * 
+ * + * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + */ + public Builder setCreateTime( + com.google.protobuf.Timestamp.Builder builderForValue) { + if (createTimeBuilder_ == null) { + createTime_ = builderForValue.build(); + } else { + createTimeBuilder_.setMessage(builderForValue.build()); + } + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + /** + *
+     * Output only. The time the operation was created.
+     * 
+ * + * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + */ + public Builder mergeCreateTime(com.google.protobuf.Timestamp value) { + if (createTimeBuilder_ == null) { + if (((bitField0_ & 0x00000001) != 0) && + createTime_ != null && + createTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { + getCreateTimeBuilder().mergeFrom(value); + } else { + createTime_ = value; + } + } else { + createTimeBuilder_.mergeFrom(value); + } + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + /** + *
+     * Output only. The time the operation was created.
+     * 
+ * + * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + */ + public Builder clearCreateTime() { + bitField0_ = (bitField0_ & ~0x00000001); + createTime_ = null; + if (createTimeBuilder_ != null) { + createTimeBuilder_.dispose(); + createTimeBuilder_ = null; + } + onChanged(); + return this; + } + /** + *
+     * Output only. The time the operation was created.
+     * 
+ * + * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + */ + public com.google.protobuf.Timestamp.Builder getCreateTimeBuilder() { + bitField0_ |= 0x00000001; + onChanged(); + return getCreateTimeFieldBuilder().getBuilder(); + } + /** + *
+     * Output only. The time the operation was created.
+     * 
+ * + * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + */ + public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { + if (createTimeBuilder_ != null) { + return createTimeBuilder_.getMessageOrBuilder(); + } else { + return createTime_ == null ? + com.google.protobuf.Timestamp.getDefaultInstance() : createTime_; + } + } + /** + *
+     * Output only. The time the operation was created.
+     * 
+ * + * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + */ + private com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> + getCreateTimeFieldBuilder() { + if (createTimeBuilder_ == null) { + createTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( + getCreateTime(), + getParentForChildren(), + isClean()); + createTime_ = null; + } + return createTimeBuilder_; + } + + private com.google.protobuf.Timestamp endTime_; + private com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> endTimeBuilder_; + /** + *
+     * Output only. The time the operation finished running.
+     * 
+ * + * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * @return Whether the endTime field is set. + */ + public boolean hasEndTime() { + return ((bitField0_ & 0x00000002) != 0); + } + /** + *
+     * Output only. The time the operation finished running.
+     * 
+ * + * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * @return The endTime. + */ + public com.google.protobuf.Timestamp getEndTime() { + if (endTimeBuilder_ == null) { + return endTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : endTime_; + } else { + return endTimeBuilder_.getMessage(); + } + } + /** + *
+     * Output only. The time the operation finished running.
+     * 
+ * + * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + */ + public Builder setEndTime(com.google.protobuf.Timestamp value) { + if (endTimeBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + endTime_ = value; + } else { + endTimeBuilder_.setMessage(value); + } + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + /** + *
+     * Output only. The time the operation finished running.
+     * 
+ * + * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + */ + public Builder setEndTime( + com.google.protobuf.Timestamp.Builder builderForValue) { + if (endTimeBuilder_ == null) { + endTime_ = builderForValue.build(); + } else { + endTimeBuilder_.setMessage(builderForValue.build()); + } + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + /** + *
+     * Output only. The time the operation finished running.
+     * 
+ * + * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + */ + public Builder mergeEndTime(com.google.protobuf.Timestamp value) { + if (endTimeBuilder_ == null) { + if (((bitField0_ & 0x00000002) != 0) && + endTime_ != null && + endTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { + getEndTimeBuilder().mergeFrom(value); + } else { + endTime_ = value; + } + } else { + endTimeBuilder_.mergeFrom(value); + } + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + /** + *
+     * Output only. The time the operation finished running.
+     * 
+ * + * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + */ + public Builder clearEndTime() { + bitField0_ = (bitField0_ & ~0x00000002); + endTime_ = null; + if (endTimeBuilder_ != null) { + endTimeBuilder_.dispose(); + endTimeBuilder_ = null; + } + onChanged(); + return this; + } + /** + *
+     * Output only. The time the operation finished running.
+     * 
+ * + * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + */ + public com.google.protobuf.Timestamp.Builder getEndTimeBuilder() { + bitField0_ |= 0x00000002; + onChanged(); + return getEndTimeFieldBuilder().getBuilder(); + } + /** + *
+     * Output only. The time the operation finished running.
+     * 
+ * + * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + */ + public com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder() { + if (endTimeBuilder_ != null) { + return endTimeBuilder_.getMessageOrBuilder(); + } else { + return endTime_ == null ? + com.google.protobuf.Timestamp.getDefaultInstance() : endTime_; + } + } + /** + *
+     * Output only. The time the operation finished running.
+     * 
+ * + * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + */ + private com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> + getEndTimeFieldBuilder() { + if (endTimeBuilder_ == null) { + endTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( + getEndTime(), + getParentForChildren(), + isClean()); + endTime_ = null; + } + return endTimeBuilder_; + } + + private com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest request_; + private com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest, com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest.Builder, com.google.cloud.contactcenterinsights.v1.IngestConversationsRequestOrBuilder> requestBuilder_; + /** + *
+     * Output only. The original request for ingest.
+     * 
+ * + * .google.cloud.contactcenterinsights.v1.IngestConversationsRequest request = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * @return Whether the request field is set. + */ + public boolean hasRequest() { + return ((bitField0_ & 0x00000004) != 0); + } + /** + *
+     * Output only. The original request for ingest.
+     * 
+ * + * .google.cloud.contactcenterinsights.v1.IngestConversationsRequest request = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * @return The request. + */ + public com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest getRequest() { + if (requestBuilder_ == null) { + return request_ == null ? com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest.getDefaultInstance() : request_; + } else { + return requestBuilder_.getMessage(); + } + } + /** + *
+     * Output only. The original request for ingest.
+     * 
+ * + * .google.cloud.contactcenterinsights.v1.IngestConversationsRequest request = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + */ + public Builder setRequest(com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest value) { + if (requestBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + request_ = value; + } else { + requestBuilder_.setMessage(value); + } + bitField0_ |= 0x00000004; + onChanged(); + return this; + } + /** + *
+     * Output only. The original request for ingest.
+     * 
+ * + * .google.cloud.contactcenterinsights.v1.IngestConversationsRequest request = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + */ + public Builder setRequest( + com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest.Builder builderForValue) { + if (requestBuilder_ == null) { + request_ = builderForValue.build(); + } else { + requestBuilder_.setMessage(builderForValue.build()); + } + bitField0_ |= 0x00000004; + onChanged(); + return this; + } + /** + *
+     * Output only. The original request for ingest.
+     * 
+ * + * .google.cloud.contactcenterinsights.v1.IngestConversationsRequest request = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + */ + public Builder mergeRequest(com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest value) { + if (requestBuilder_ == null) { + if (((bitField0_ & 0x00000004) != 0) && + request_ != null && + request_ != com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest.getDefaultInstance()) { + getRequestBuilder().mergeFrom(value); + } else { + request_ = value; + } + } else { + requestBuilder_.mergeFrom(value); + } + bitField0_ |= 0x00000004; + onChanged(); + return this; + } + /** + *
+     * Output only. The original request for ingest.
+     * 
+ * + * .google.cloud.contactcenterinsights.v1.IngestConversationsRequest request = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + */ + public Builder clearRequest() { + bitField0_ = (bitField0_ & ~0x00000004); + request_ = null; + if (requestBuilder_ != null) { + requestBuilder_.dispose(); + requestBuilder_ = null; + } + onChanged(); + return this; + } + /** + *
+     * Output only. The original request for ingest.
+     * 
+ * + * .google.cloud.contactcenterinsights.v1.IngestConversationsRequest request = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + */ + public com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest.Builder getRequestBuilder() { + bitField0_ |= 0x00000004; + onChanged(); + return getRequestFieldBuilder().getBuilder(); + } + /** + *
+     * Output only. The original request for ingest.
+     * 
+ * + * .google.cloud.contactcenterinsights.v1.IngestConversationsRequest request = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + */ + public com.google.cloud.contactcenterinsights.v1.IngestConversationsRequestOrBuilder getRequestOrBuilder() { + if (requestBuilder_ != null) { + return requestBuilder_.getMessageOrBuilder(); + } else { + return request_ == null ? + com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest.getDefaultInstance() : request_; + } + } + /** + *
+     * Output only. The original request for ingest.
+     * 
+ * + * .google.cloud.contactcenterinsights.v1.IngestConversationsRequest request = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + */ + private com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest, com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest.Builder, com.google.cloud.contactcenterinsights.v1.IngestConversationsRequestOrBuilder> + getRequestFieldBuilder() { + if (requestBuilder_ == null) { + requestBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest, com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest.Builder, com.google.cloud.contactcenterinsights.v1.IngestConversationsRequestOrBuilder>( + getRequest(), + getParentForChildren(), + isClean()); + request_ = null; + } + return requestBuilder_; + } + + private java.util.List partialErrors_ = + java.util.Collections.emptyList(); + private void ensurePartialErrorsIsMutable() { + if (!((bitField0_ & 0x00000008) != 0)) { + partialErrors_ = new java.util.ArrayList(partialErrors_); + bitField0_ |= 0x00000008; + } + } + + private com.google.protobuf.RepeatedFieldBuilderV3< + com.google.rpc.Status, com.google.rpc.Status.Builder, com.google.rpc.StatusOrBuilder> partialErrorsBuilder_; + + /** + *
+     * Output only. Partial errors during ingest operation that might cause the
+     * operation output to be incomplete.
+     * 
+ * + * repeated .google.rpc.Status partial_errors = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + */ + public java.util.List getPartialErrorsList() { + if (partialErrorsBuilder_ == null) { + return java.util.Collections.unmodifiableList(partialErrors_); + } else { + return partialErrorsBuilder_.getMessageList(); + } + } + /** + *
+     * Output only. Partial errors during ingest operation that might cause the
+     * operation output to be incomplete.
+     * 
+ * + * repeated .google.rpc.Status partial_errors = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + */ + public int getPartialErrorsCount() { + if (partialErrorsBuilder_ == null) { + return partialErrors_.size(); + } else { + return partialErrorsBuilder_.getCount(); + } + } + /** + *
+     * Output only. Partial errors during ingest operation that might cause the
+     * operation output to be incomplete.
+     * 
+ * + * repeated .google.rpc.Status partial_errors = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + */ + public com.google.rpc.Status getPartialErrors(int index) { + if (partialErrorsBuilder_ == null) { + return partialErrors_.get(index); + } else { + return partialErrorsBuilder_.getMessage(index); + } + } + /** + *
+     * Output only. Partial errors during ingest operation that might cause the
+     * operation output to be incomplete.
+     * 
+ * + * repeated .google.rpc.Status partial_errors = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + */ + public Builder setPartialErrors( + int index, com.google.rpc.Status value) { + if (partialErrorsBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensurePartialErrorsIsMutable(); + partialErrors_.set(index, value); + onChanged(); + } else { + partialErrorsBuilder_.setMessage(index, value); + } + return this; + } + /** + *
+     * Output only. Partial errors during ingest operation that might cause the
+     * operation output to be incomplete.
+     * 
+ * + * repeated .google.rpc.Status partial_errors = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + */ + public Builder setPartialErrors( + int index, com.google.rpc.Status.Builder builderForValue) { + if (partialErrorsBuilder_ == null) { + ensurePartialErrorsIsMutable(); + partialErrors_.set(index, builderForValue.build()); + onChanged(); + } else { + partialErrorsBuilder_.setMessage(index, builderForValue.build()); + } + return this; + } + /** + *
+     * Output only. Partial errors during ingest operation that might cause the
+     * operation output to be incomplete.
+     * 
+ * + * repeated .google.rpc.Status partial_errors = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + */ + public Builder addPartialErrors(com.google.rpc.Status value) { + if (partialErrorsBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensurePartialErrorsIsMutable(); + partialErrors_.add(value); + onChanged(); + } else { + partialErrorsBuilder_.addMessage(value); + } + return this; + } + /** + *
+     * Output only. Partial errors during ingest operation that might cause the
+     * operation output to be incomplete.
+     * 
+ * + * repeated .google.rpc.Status partial_errors = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + */ + public Builder addPartialErrors( + int index, com.google.rpc.Status value) { + if (partialErrorsBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensurePartialErrorsIsMutable(); + partialErrors_.add(index, value); + onChanged(); + } else { + partialErrorsBuilder_.addMessage(index, value); + } + return this; + } + /** + *
+     * Output only. Partial errors during ingest operation that might cause the
+     * operation output to be incomplete.
+     * 
+ * + * repeated .google.rpc.Status partial_errors = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + */ + public Builder addPartialErrors( + com.google.rpc.Status.Builder builderForValue) { + if (partialErrorsBuilder_ == null) { + ensurePartialErrorsIsMutable(); + partialErrors_.add(builderForValue.build()); + onChanged(); + } else { + partialErrorsBuilder_.addMessage(builderForValue.build()); + } + return this; + } + /** + *
+     * Output only. Partial errors during ingest operation that might cause the
+     * operation output to be incomplete.
+     * 
+ * + * repeated .google.rpc.Status partial_errors = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + */ + public Builder addPartialErrors( + int index, com.google.rpc.Status.Builder builderForValue) { + if (partialErrorsBuilder_ == null) { + ensurePartialErrorsIsMutable(); + partialErrors_.add(index, builderForValue.build()); + onChanged(); + } else { + partialErrorsBuilder_.addMessage(index, builderForValue.build()); + } + return this; + } + /** + *
+     * Output only. Partial errors during ingest operation that might cause the
+     * operation output to be incomplete.
+     * 
+ * + * repeated .google.rpc.Status partial_errors = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + */ + public Builder addAllPartialErrors( + java.lang.Iterable values) { + if (partialErrorsBuilder_ == null) { + ensurePartialErrorsIsMutable(); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, partialErrors_); + onChanged(); + } else { + partialErrorsBuilder_.addAllMessages(values); + } + return this; + } + /** + *
+     * Output only. Partial errors during ingest operation that might cause the
+     * operation output to be incomplete.
+     * 
+ * + * repeated .google.rpc.Status partial_errors = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + */ + public Builder clearPartialErrors() { + if (partialErrorsBuilder_ == null) { + partialErrors_ = java.util.Collections.emptyList(); + bitField0_ = (bitField0_ & ~0x00000008); + onChanged(); + } else { + partialErrorsBuilder_.clear(); + } + return this; + } + /** + *
+     * Output only. Partial errors during ingest operation that might cause the
+     * operation output to be incomplete.
+     * 
+ * + * repeated .google.rpc.Status partial_errors = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + */ + public Builder removePartialErrors(int index) { + if (partialErrorsBuilder_ == null) { + ensurePartialErrorsIsMutable(); + partialErrors_.remove(index); + onChanged(); + } else { + partialErrorsBuilder_.remove(index); + } + return this; + } + /** + *
+     * Output only. Partial errors during ingest operation that might cause the
+     * operation output to be incomplete.
+     * 
+ * + * repeated .google.rpc.Status partial_errors = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + */ + public com.google.rpc.Status.Builder getPartialErrorsBuilder( + int index) { + return getPartialErrorsFieldBuilder().getBuilder(index); + } + /** + *
+     * Output only. Partial errors during ingest operation that might cause the
+     * operation output to be incomplete.
+     * 
+ * + * repeated .google.rpc.Status partial_errors = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + */ + public com.google.rpc.StatusOrBuilder getPartialErrorsOrBuilder( + int index) { + if (partialErrorsBuilder_ == null) { + return partialErrors_.get(index); } else { + return partialErrorsBuilder_.getMessageOrBuilder(index); + } + } + /** + *
+     * Output only. Partial errors during ingest operation that might cause the
+     * operation output to be incomplete.
+     * 
+ * + * repeated .google.rpc.Status partial_errors = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + */ + public java.util.List + getPartialErrorsOrBuilderList() { + if (partialErrorsBuilder_ != null) { + return partialErrorsBuilder_.getMessageOrBuilderList(); + } else { + return java.util.Collections.unmodifiableList(partialErrors_); + } + } + /** + *
+     * Output only. Partial errors during ingest operation that might cause the
+     * operation output to be incomplete.
+     * 
+ * + * repeated .google.rpc.Status partial_errors = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + */ + public com.google.rpc.Status.Builder addPartialErrorsBuilder() { + return getPartialErrorsFieldBuilder().addBuilder( + com.google.rpc.Status.getDefaultInstance()); + } + /** + *
+     * Output only. Partial errors during ingest operation that might cause the
+     * operation output to be incomplete.
+     * 
+ * + * repeated .google.rpc.Status partial_errors = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + */ + public com.google.rpc.Status.Builder addPartialErrorsBuilder( + int index) { + return getPartialErrorsFieldBuilder().addBuilder( + index, com.google.rpc.Status.getDefaultInstance()); + } + /** + *
+     * Output only. Partial errors during ingest operation that might cause the
+     * operation output to be incomplete.
+     * 
+ * + * repeated .google.rpc.Status partial_errors = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + */ + public java.util.List + getPartialErrorsBuilderList() { + return getPartialErrorsFieldBuilder().getBuilderList(); + } + private com.google.protobuf.RepeatedFieldBuilderV3< + com.google.rpc.Status, com.google.rpc.Status.Builder, com.google.rpc.StatusOrBuilder> + getPartialErrorsFieldBuilder() { + if (partialErrorsBuilder_ == null) { + partialErrorsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.rpc.Status, com.google.rpc.Status.Builder, com.google.rpc.StatusOrBuilder>( + partialErrors_, + ((bitField0_ & 0x00000008) != 0), + getParentForChildren(), + isClean()); + partialErrors_ = null; + } + return partialErrorsBuilder_; + } + + private com.google.cloud.contactcenterinsights.v1.IngestConversationsMetadata.IngestConversationsStats ingestConversationsStats_; + private com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.contactcenterinsights.v1.IngestConversationsMetadata.IngestConversationsStats, com.google.cloud.contactcenterinsights.v1.IngestConversationsMetadata.IngestConversationsStats.Builder, com.google.cloud.contactcenterinsights.v1.IngestConversationsMetadata.IngestConversationsStatsOrBuilder> ingestConversationsStatsBuilder_; + /** + *
+     * Output only. Statistics for IngestConversations operation.
+     * 
+ * + * .google.cloud.contactcenterinsights.v1.IngestConversationsMetadata.IngestConversationsStats ingest_conversations_stats = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * @return Whether the ingestConversationsStats field is set. + */ + public boolean hasIngestConversationsStats() { + return ((bitField0_ & 0x00000010) != 0); + } + /** + *
+     * Output only. Statistics for IngestConversations operation.
+     * 
+ * + * .google.cloud.contactcenterinsights.v1.IngestConversationsMetadata.IngestConversationsStats ingest_conversations_stats = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * @return The ingestConversationsStats. + */ + public com.google.cloud.contactcenterinsights.v1.IngestConversationsMetadata.IngestConversationsStats getIngestConversationsStats() { + if (ingestConversationsStatsBuilder_ == null) { + return ingestConversationsStats_ == null ? com.google.cloud.contactcenterinsights.v1.IngestConversationsMetadata.IngestConversationsStats.getDefaultInstance() : ingestConversationsStats_; + } else { + return ingestConversationsStatsBuilder_.getMessage(); + } + } + /** + *
+     * Output only. Statistics for IngestConversations operation.
+     * 
+ * + * .google.cloud.contactcenterinsights.v1.IngestConversationsMetadata.IngestConversationsStats ingest_conversations_stats = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + */ + public Builder setIngestConversationsStats(com.google.cloud.contactcenterinsights.v1.IngestConversationsMetadata.IngestConversationsStats value) { + if (ingestConversationsStatsBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ingestConversationsStats_ = value; + } else { + ingestConversationsStatsBuilder_.setMessage(value); + } + bitField0_ |= 0x00000010; + onChanged(); + return this; + } + /** + *
+     * Output only. Statistics for IngestConversations operation.
+     * 
+ * + * .google.cloud.contactcenterinsights.v1.IngestConversationsMetadata.IngestConversationsStats ingest_conversations_stats = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + */ + public Builder setIngestConversationsStats( + com.google.cloud.contactcenterinsights.v1.IngestConversationsMetadata.IngestConversationsStats.Builder builderForValue) { + if (ingestConversationsStatsBuilder_ == null) { + ingestConversationsStats_ = builderForValue.build(); + } else { + ingestConversationsStatsBuilder_.setMessage(builderForValue.build()); + } + bitField0_ |= 0x00000010; + onChanged(); + return this; + } + /** + *
+     * Output only. Statistics for IngestConversations operation.
+     * 
+ * + * .google.cloud.contactcenterinsights.v1.IngestConversationsMetadata.IngestConversationsStats ingest_conversations_stats = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + */ + public Builder mergeIngestConversationsStats(com.google.cloud.contactcenterinsights.v1.IngestConversationsMetadata.IngestConversationsStats value) { + if (ingestConversationsStatsBuilder_ == null) { + if (((bitField0_ & 0x00000010) != 0) && + ingestConversationsStats_ != null && + ingestConversationsStats_ != com.google.cloud.contactcenterinsights.v1.IngestConversationsMetadata.IngestConversationsStats.getDefaultInstance()) { + getIngestConversationsStatsBuilder().mergeFrom(value); + } else { + ingestConversationsStats_ = value; + } + } else { + ingestConversationsStatsBuilder_.mergeFrom(value); + } + bitField0_ |= 0x00000010; + onChanged(); + return this; + } + /** + *
+     * Output only. Statistics for IngestConversations operation.
+     * 
+ * + * .google.cloud.contactcenterinsights.v1.IngestConversationsMetadata.IngestConversationsStats ingest_conversations_stats = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + */ + public Builder clearIngestConversationsStats() { + bitField0_ = (bitField0_ & ~0x00000010); + ingestConversationsStats_ = null; + if (ingestConversationsStatsBuilder_ != null) { + ingestConversationsStatsBuilder_.dispose(); + ingestConversationsStatsBuilder_ = null; + } + onChanged(); + return this; + } + /** + *
+     * Output only. Statistics for IngestConversations operation.
+     * 
+ * + * .google.cloud.contactcenterinsights.v1.IngestConversationsMetadata.IngestConversationsStats ingest_conversations_stats = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + */ + public com.google.cloud.contactcenterinsights.v1.IngestConversationsMetadata.IngestConversationsStats.Builder getIngestConversationsStatsBuilder() { + bitField0_ |= 0x00000010; + onChanged(); + return getIngestConversationsStatsFieldBuilder().getBuilder(); + } + /** + *
+     * Output only. Statistics for IngestConversations operation.
+     * 
+ * + * .google.cloud.contactcenterinsights.v1.IngestConversationsMetadata.IngestConversationsStats ingest_conversations_stats = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + */ + public com.google.cloud.contactcenterinsights.v1.IngestConversationsMetadata.IngestConversationsStatsOrBuilder getIngestConversationsStatsOrBuilder() { + if (ingestConversationsStatsBuilder_ != null) { + return ingestConversationsStatsBuilder_.getMessageOrBuilder(); + } else { + return ingestConversationsStats_ == null ? + com.google.cloud.contactcenterinsights.v1.IngestConversationsMetadata.IngestConversationsStats.getDefaultInstance() : ingestConversationsStats_; + } + } + /** + *
+     * Output only. Statistics for IngestConversations operation.
+     * 
+ * + * .google.cloud.contactcenterinsights.v1.IngestConversationsMetadata.IngestConversationsStats ingest_conversations_stats = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + */ + private com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.contactcenterinsights.v1.IngestConversationsMetadata.IngestConversationsStats, com.google.cloud.contactcenterinsights.v1.IngestConversationsMetadata.IngestConversationsStats.Builder, com.google.cloud.contactcenterinsights.v1.IngestConversationsMetadata.IngestConversationsStatsOrBuilder> + getIngestConversationsStatsFieldBuilder() { + if (ingestConversationsStatsBuilder_ == null) { + ingestConversationsStatsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.contactcenterinsights.v1.IngestConversationsMetadata.IngestConversationsStats, com.google.cloud.contactcenterinsights.v1.IngestConversationsMetadata.IngestConversationsStats.Builder, com.google.cloud.contactcenterinsights.v1.IngestConversationsMetadata.IngestConversationsStatsOrBuilder>( + getIngestConversationsStats(), + getParentForChildren(), + isClean()); + ingestConversationsStats_ = null; + } + return ingestConversationsStatsBuilder_; + } + @java.lang.Override + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + + + // @@protoc_insertion_point(builder_scope:google.cloud.contactcenterinsights.v1.IngestConversationsMetadata) + } + + // @@protoc_insertion_point(class_scope:google.cloud.contactcenterinsights.v1.IngestConversationsMetadata) + private static final com.google.cloud.contactcenterinsights.v1.IngestConversationsMetadata DEFAULT_INSTANCE; + static { + DEFAULT_INSTANCE = new com.google.cloud.contactcenterinsights.v1.IngestConversationsMetadata(); + } + + public static com.google.cloud.contactcenterinsights.v1.IngestConversationsMetadata getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public IngestConversationsMetadata parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public com.google.cloud.contactcenterinsights.v1.IngestConversationsMetadata getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } + +} + diff --git a/owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/IngestConversationsMetadataOrBuilder.java b/owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/IngestConversationsMetadataOrBuilder.java new file mode 100644 index 000000000000..2b8beb29f952 --- /dev/null +++ b/owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/IngestConversationsMetadataOrBuilder.java @@ -0,0 +1,166 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/contactcenterinsights/v1/contact_center_insights.proto + +package com.google.cloud.contactcenterinsights.v1; + +public interface IngestConversationsMetadataOrBuilder extends + // @@protoc_insertion_point(interface_extends:google.cloud.contactcenterinsights.v1.IngestConversationsMetadata) + com.google.protobuf.MessageOrBuilder { + + /** + *
+   * Output only. The time the operation was created.
+   * 
+ * + * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * @return Whether the createTime field is set. + */ + boolean hasCreateTime(); + /** + *
+   * Output only. The time the operation was created.
+   * 
+ * + * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * @return The createTime. + */ + com.google.protobuf.Timestamp getCreateTime(); + /** + *
+   * Output only. The time the operation was created.
+   * 
+ * + * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + */ + com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder(); + + /** + *
+   * Output only. The time the operation finished running.
+   * 
+ * + * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * @return Whether the endTime field is set. + */ + boolean hasEndTime(); + /** + *
+   * Output only. The time the operation finished running.
+   * 
+ * + * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * @return The endTime. + */ + com.google.protobuf.Timestamp getEndTime(); + /** + *
+   * Output only. The time the operation finished running.
+   * 
+ * + * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + */ + com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder(); + + /** + *
+   * Output only. The original request for ingest.
+   * 
+ * + * .google.cloud.contactcenterinsights.v1.IngestConversationsRequest request = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * @return Whether the request field is set. + */ + boolean hasRequest(); + /** + *
+   * Output only. The original request for ingest.
+   * 
+ * + * .google.cloud.contactcenterinsights.v1.IngestConversationsRequest request = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * @return The request. + */ + com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest getRequest(); + /** + *
+   * Output only. The original request for ingest.
+   * 
+ * + * .google.cloud.contactcenterinsights.v1.IngestConversationsRequest request = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + */ + com.google.cloud.contactcenterinsights.v1.IngestConversationsRequestOrBuilder getRequestOrBuilder(); + + /** + *
+   * Output only. Partial errors during ingest operation that might cause the
+   * operation output to be incomplete.
+   * 
+ * + * repeated .google.rpc.Status partial_errors = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + */ + java.util.List + getPartialErrorsList(); + /** + *
+   * Output only. Partial errors during ingest operation that might cause the
+   * operation output to be incomplete.
+   * 
+ * + * repeated .google.rpc.Status partial_errors = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + */ + com.google.rpc.Status getPartialErrors(int index); + /** + *
+   * Output only. Partial errors during ingest operation that might cause the
+   * operation output to be incomplete.
+   * 
+ * + * repeated .google.rpc.Status partial_errors = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + */ + int getPartialErrorsCount(); + /** + *
+   * Output only. Partial errors during ingest operation that might cause the
+   * operation output to be incomplete.
+   * 
+ * + * repeated .google.rpc.Status partial_errors = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + */ + java.util.List + getPartialErrorsOrBuilderList(); + /** + *
+   * Output only. Partial errors during ingest operation that might cause the
+   * operation output to be incomplete.
+   * 
+ * + * repeated .google.rpc.Status partial_errors = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + */ + com.google.rpc.StatusOrBuilder getPartialErrorsOrBuilder( + int index); + + /** + *
+   * Output only. Statistics for IngestConversations operation.
+   * 
+ * + * .google.cloud.contactcenterinsights.v1.IngestConversationsMetadata.IngestConversationsStats ingest_conversations_stats = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * @return Whether the ingestConversationsStats field is set. + */ + boolean hasIngestConversationsStats(); + /** + *
+   * Output only. Statistics for IngestConversations operation.
+   * 
+ * + * .google.cloud.contactcenterinsights.v1.IngestConversationsMetadata.IngestConversationsStats ingest_conversations_stats = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * @return The ingestConversationsStats. + */ + com.google.cloud.contactcenterinsights.v1.IngestConversationsMetadata.IngestConversationsStats getIngestConversationsStats(); + /** + *
+   * Output only. Statistics for IngestConversations operation.
+   * 
+ * + * .google.cloud.contactcenterinsights.v1.IngestConversationsMetadata.IngestConversationsStats ingest_conversations_stats = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + */ + com.google.cloud.contactcenterinsights.v1.IngestConversationsMetadata.IngestConversationsStatsOrBuilder getIngestConversationsStatsOrBuilder(); +} diff --git a/java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/IngestConversationsRequest.java b/owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/IngestConversationsRequest.java similarity index 54% rename from java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/IngestConversationsRequest.java rename to owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/IngestConversationsRequest.java index b9f8db76ff15..5a0cb5abc0c7 100644 --- a/java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/IngestConversationsRequest.java +++ b/owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/IngestConversationsRequest.java @@ -1,166 +1,131 @@ -/* - * 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. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/contactcenterinsights/v1/contact_center_insights.proto package com.google.cloud.contactcenterinsights.v1; /** - * - * *
  * The request to ingest conversations.
  * 
* * Protobuf type {@code google.cloud.contactcenterinsights.v1.IngestConversationsRequest} */ -public final class IngestConversationsRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class IngestConversationsRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.contactcenterinsights.v1.IngestConversationsRequest) IngestConversationsRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use IngestConversationsRequest.newBuilder() to construct. private IngestConversationsRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private IngestConversationsRequest() { parent_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new IngestConversationsRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto - .internal_static_google_cloud_contactcenterinsights_v1_IngestConversationsRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto.internal_static_google_cloud_contactcenterinsights_v1_IngestConversationsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto - .internal_static_google_cloud_contactcenterinsights_v1_IngestConversationsRequest_fieldAccessorTable + return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto.internal_static_google_cloud_contactcenterinsights_v1_IngestConversationsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest.class, - com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest.Builder.class); + com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest.class, com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest.Builder.class); } - public interface GcsSourceOrBuilder - extends + public interface GcsSourceOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.contactcenterinsights.v1.IngestConversationsRequest.GcsSource) com.google.protobuf.MessageOrBuilder { /** - * - * *
      * Required. The Cloud Storage bucket containing source objects.
      * 
* * string bucket_uri = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bucketUri. */ java.lang.String getBucketUri(); /** - * - * *
      * Required. The Cloud Storage bucket containing source objects.
      * 
* * string bucket_uri = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for bucketUri. */ - com.google.protobuf.ByteString getBucketUriBytes(); + com.google.protobuf.ByteString + getBucketUriBytes(); } /** - * - * *
    * Configuration for Cloud Storage bucket sources.
    * 
* - * Protobuf type {@code - * google.cloud.contactcenterinsights.v1.IngestConversationsRequest.GcsSource} + * Protobuf type {@code google.cloud.contactcenterinsights.v1.IngestConversationsRequest.GcsSource} */ - public static final class GcsSource extends com.google.protobuf.GeneratedMessageV3 - implements + public static final class GcsSource extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.contactcenterinsights.v1.IngestConversationsRequest.GcsSource) GcsSourceOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use GcsSource.newBuilder() to construct. private GcsSource(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private GcsSource() { bucketUri_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new GcsSource(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto - .internal_static_google_cloud_contactcenterinsights_v1_IngestConversationsRequest_GcsSource_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto.internal_static_google_cloud_contactcenterinsights_v1_IngestConversationsRequest_GcsSource_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto - .internal_static_google_cloud_contactcenterinsights_v1_IngestConversationsRequest_GcsSource_fieldAccessorTable + return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto.internal_static_google_cloud_contactcenterinsights_v1_IngestConversationsRequest_GcsSource_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest.GcsSource.class, - com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest.GcsSource.Builder - .class); + com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest.GcsSource.class, com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest.GcsSource.Builder.class); } public static final int BUCKET_URI_FIELD_NUMBER = 1; - @SuppressWarnings("serial") private volatile java.lang.Object bucketUri_ = ""; /** - * - * *
      * Required. The Cloud Storage bucket containing source objects.
      * 
* * string bucket_uri = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bucketUri. */ @java.lang.Override @@ -169,29 +134,29 @@ public java.lang.String getBucketUri() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); bucketUri_ = s; return s; } } /** - * - * *
      * Required. The Cloud Storage bucket containing source objects.
      * 
* * string bucket_uri = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for bucketUri. */ @java.lang.Override - public com.google.protobuf.ByteString getBucketUriBytes() { + public com.google.protobuf.ByteString + getBucketUriBytes() { java.lang.Object ref = bucketUri_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); bucketUri_ = b; return b; } else { @@ -200,7 +165,6 @@ public com.google.protobuf.ByteString getBucketUriBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -212,7 +176,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(bucketUri_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, bucketUri_); } @@ -236,17 +201,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } - if (!(obj - instanceof - com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest.GcsSource)) { + if (!(obj instanceof com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest.GcsSource)) { return super.equals(obj); } - com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest.GcsSource other = - (com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest.GcsSource) obj; + com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest.GcsSource other = (com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest.GcsSource) obj; - if (!getBucketUri().equals(other.getBucketUri())) return false; + if (!getBucketUri() + .equals(other.getBucketUri())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -265,101 +228,88 @@ public int hashCode() { return hash; } - public static com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest.GcsSource - parseFrom(java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest.GcsSource parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - - public static com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest.GcsSource - parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest.GcsSource parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest.GcsSource - parseFrom(com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest.GcsSource parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - - public static com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest.GcsSource - parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest.GcsSource parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest.GcsSource - parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest.GcsSource parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - - public static com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest.GcsSource - parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest.GcsSource parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest.GcsSource - parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest.GcsSource parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - - public static com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest.GcsSource - parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + public static com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest.GcsSource parseFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest.GcsSource - parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest.GcsSource parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - - public static com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest.GcsSource - parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + public static com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest.GcsSource parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest.GcsSource - parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest.GcsSource parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - - public static com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest.GcsSource - parseFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + public static com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest.GcsSource parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest.GcsSource prototype) { + public static Builder newBuilder(com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest.GcsSource prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -369,45 +319,39 @@ protected Builder newBuilderForType( return builder; } /** - * - * *
      * Configuration for Cloud Storage bucket sources.
      * 
* - * Protobuf type {@code - * google.cloud.contactcenterinsights.v1.IngestConversationsRequest.GcsSource} + * Protobuf type {@code google.cloud.contactcenterinsights.v1.IngestConversationsRequest.GcsSource} */ - public static final class Builder - extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.contactcenterinsights.v1.IngestConversationsRequest.GcsSource) com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest.GcsSourceOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto - .internal_static_google_cloud_contactcenterinsights_v1_IngestConversationsRequest_GcsSource_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto.internal_static_google_cloud_contactcenterinsights_v1_IngestConversationsRequest_GcsSource_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto - .internal_static_google_cloud_contactcenterinsights_v1_IngestConversationsRequest_GcsSource_fieldAccessorTable + return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto.internal_static_google_cloud_contactcenterinsights_v1_IngestConversationsRequest_GcsSource_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest.GcsSource - .class, - com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest.GcsSource - .Builder.class); + com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest.GcsSource.class, com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest.GcsSource.Builder.class); } - // Construct using - // com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest.GcsSource.newBuilder() - private Builder() {} + // Construct using com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest.GcsSource.newBuilder() + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -417,23 +361,19 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto - .internal_static_google_cloud_contactcenterinsights_v1_IngestConversationsRequest_GcsSource_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto.internal_static_google_cloud_contactcenterinsights_v1_IngestConversationsRequest_GcsSource_descriptor; } @java.lang.Override - public com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest.GcsSource - getDefaultInstanceForType() { - return com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest.GcsSource - .getDefaultInstance(); + public com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest.GcsSource getDefaultInstanceForType() { + return com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest.GcsSource.getDefaultInstance(); } @java.lang.Override - public com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest.GcsSource - build() { - com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest.GcsSource result = - buildPartial(); + public com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest.GcsSource build() { + com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest.GcsSource result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } @@ -441,20 +381,14 @@ public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { } @java.lang.Override - public com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest.GcsSource - buildPartial() { - com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest.GcsSource result = - new com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest.GcsSource( - this); - if (bitField0_ != 0) { - buildPartial0(result); - } + public com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest.GcsSource buildPartial() { + com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest.GcsSource result = new com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest.GcsSource(this); + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } - private void buildPartial0( - com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest.GcsSource result) { + private void buildPartial0(com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest.GcsSource result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { result.bucketUri_ = bucketUri_; @@ -465,56 +399,46 @@ private void buildPartial0( public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, - int index, - java.lang.Object value) { + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { - if (other - instanceof - com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest.GcsSource) { - return mergeFrom( - (com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest.GcsSource) - other); + if (other instanceof com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest.GcsSource) { + return mergeFrom((com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest.GcsSource)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom( - com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest.GcsSource other) { - if (other - == com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest.GcsSource - .getDefaultInstance()) return this; + public Builder mergeFrom(com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest.GcsSource other) { + if (other == com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest.GcsSource.getDefaultInstance()) return this; if (!other.getBucketUri().isEmpty()) { bucketUri_ = other.bucketUri_; bitField0_ |= 0x00000001; @@ -546,19 +470,17 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - bucketUri_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + bucketUri_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -568,25 +490,22 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private java.lang.Object bucketUri_ = ""; /** - * - * *
        * Required. The Cloud Storage bucket containing source objects.
        * 
* * string bucket_uri = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bucketUri. */ public java.lang.String getBucketUri() { java.lang.Object ref = bucketUri_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); bucketUri_ = s; return s; @@ -595,21 +514,20 @@ public java.lang.String getBucketUri() { } } /** - * - * *
        * Required. The Cloud Storage bucket containing source objects.
        * 
* * string bucket_uri = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for bucketUri. */ - public com.google.protobuf.ByteString getBucketUriBytes() { + public com.google.protobuf.ByteString + getBucketUriBytes() { java.lang.Object ref = bucketUri_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); bucketUri_ = b; return b; } else { @@ -617,35 +535,28 @@ public com.google.protobuf.ByteString getBucketUriBytes() { } } /** - * - * *
        * Required. The Cloud Storage bucket containing source objects.
        * 
* * string bucket_uri = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The bucketUri to set. * @return This builder for chaining. */ - public Builder setBucketUri(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setBucketUri( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } bucketUri_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
        * Required. The Cloud Storage bucket containing source objects.
        * 
* * string bucket_uri = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return This builder for chaining. */ public Builder clearBucketUri() { @@ -655,28 +566,23 @@ public Builder clearBucketUri() { return this; } /** - * - * *
        * Required. The Cloud Storage bucket containing source objects.
        * 
* * string bucket_uri = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The bytes for bucketUri to set. * @return This builder for chaining. */ - public Builder setBucketUriBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setBucketUriBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); bucketUri_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } - @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -689,46 +595,41 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.contactcenterinsights.v1.IngestConversationsRequest.GcsSource) } // @@protoc_insertion_point(class_scope:google.cloud.contactcenterinsights.v1.IngestConversationsRequest.GcsSource) - private static final com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest - .GcsSource - DEFAULT_INSTANCE; - + private static final com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest.GcsSource DEFAULT_INSTANCE; static { - DEFAULT_INSTANCE = - new com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest.GcsSource(); + DEFAULT_INSTANCE = new com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest.GcsSource(); } - public static com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest.GcsSource - getDefaultInstance() { + public static com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest.GcsSource getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public GcsSource parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException() - .setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public GcsSource parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -740,141 +641,107 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest.GcsSource - getDefaultInstanceForType() { + public com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest.GcsSource getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } - public interface TranscriptObjectConfigOrBuilder - extends + public interface TranscriptObjectConfigOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.contactcenterinsights.v1.IngestConversationsRequest.TranscriptObjectConfig) com.google.protobuf.MessageOrBuilder { /** - * - * *
      * Required. The medium transcript objects represent.
      * 
* - * - * .google.cloud.contactcenterinsights.v1.Conversation.Medium medium = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.contactcenterinsights.v1.Conversation.Medium medium = 1 [(.google.api.field_behavior) = REQUIRED]; * @return The enum numeric value on the wire for medium. */ int getMediumValue(); /** - * - * *
      * Required. The medium transcript objects represent.
      * 
* - * - * .google.cloud.contactcenterinsights.v1.Conversation.Medium medium = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.contactcenterinsights.v1.Conversation.Medium medium = 1 [(.google.api.field_behavior) = REQUIRED]; * @return The medium. */ com.google.cloud.contactcenterinsights.v1.Conversation.Medium getMedium(); } /** - * - * *
    * Configuration for processing transcript objects.
    * 
* - * Protobuf type {@code - * google.cloud.contactcenterinsights.v1.IngestConversationsRequest.TranscriptObjectConfig} + * Protobuf type {@code google.cloud.contactcenterinsights.v1.IngestConversationsRequest.TranscriptObjectConfig} */ - public static final class TranscriptObjectConfig extends com.google.protobuf.GeneratedMessageV3 - implements + public static final class TranscriptObjectConfig extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.contactcenterinsights.v1.IngestConversationsRequest.TranscriptObjectConfig) TranscriptObjectConfigOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use TranscriptObjectConfig.newBuilder() to construct. private TranscriptObjectConfig(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private TranscriptObjectConfig() { medium_ = 0; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new TranscriptObjectConfig(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto - .internal_static_google_cloud_contactcenterinsights_v1_IngestConversationsRequest_TranscriptObjectConfig_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto.internal_static_google_cloud_contactcenterinsights_v1_IngestConversationsRequest_TranscriptObjectConfig_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto - .internal_static_google_cloud_contactcenterinsights_v1_IngestConversationsRequest_TranscriptObjectConfig_fieldAccessorTable + return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto.internal_static_google_cloud_contactcenterinsights_v1_IngestConversationsRequest_TranscriptObjectConfig_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest - .TranscriptObjectConfig.class, - com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest - .TranscriptObjectConfig.Builder.class); + com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest.TranscriptObjectConfig.class, com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest.TranscriptObjectConfig.Builder.class); } public static final int MEDIUM_FIELD_NUMBER = 1; private int medium_ = 0; /** - * - * *
      * Required. The medium transcript objects represent.
      * 
* - * - * .google.cloud.contactcenterinsights.v1.Conversation.Medium medium = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.contactcenterinsights.v1.Conversation.Medium medium = 1 [(.google.api.field_behavior) = REQUIRED]; * @return The enum numeric value on the wire for medium. */ - @java.lang.Override - public int getMediumValue() { + @java.lang.Override public int getMediumValue() { return medium_; } /** - * - * *
      * Required. The medium transcript objects represent.
      * 
* - * - * .google.cloud.contactcenterinsights.v1.Conversation.Medium medium = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.contactcenterinsights.v1.Conversation.Medium medium = 1 [(.google.api.field_behavior) = REQUIRED]; * @return The medium. */ - @java.lang.Override - public com.google.cloud.contactcenterinsights.v1.Conversation.Medium getMedium() { - com.google.cloud.contactcenterinsights.v1.Conversation.Medium result = - com.google.cloud.contactcenterinsights.v1.Conversation.Medium.forNumber(medium_); - return result == null - ? com.google.cloud.contactcenterinsights.v1.Conversation.Medium.UNRECOGNIZED - : result; + @java.lang.Override public com.google.cloud.contactcenterinsights.v1.Conversation.Medium getMedium() { + com.google.cloud.contactcenterinsights.v1.Conversation.Medium result = com.google.cloud.contactcenterinsights.v1.Conversation.Medium.forNumber(medium_); + return result == null ? com.google.cloud.contactcenterinsights.v1.Conversation.Medium.UNRECOGNIZED : result; } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -886,10 +753,9 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - if (medium_ - != com.google.cloud.contactcenterinsights.v1.Conversation.Medium.MEDIUM_UNSPECIFIED - .getNumber()) { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + if (medium_ != com.google.cloud.contactcenterinsights.v1.Conversation.Medium.MEDIUM_UNSPECIFIED.getNumber()) { output.writeEnum(1, medium_); } getUnknownFields().writeTo(output); @@ -901,10 +767,9 @@ public int getSerializedSize() { if (size != -1) return size; size = 0; - if (medium_ - != com.google.cloud.contactcenterinsights.v1.Conversation.Medium.MEDIUM_UNSPECIFIED - .getNumber()) { - size += com.google.protobuf.CodedOutputStream.computeEnumSize(1, medium_); + if (medium_ != com.google.cloud.contactcenterinsights.v1.Conversation.Medium.MEDIUM_UNSPECIFIED.getNumber()) { + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(1, medium_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -914,19 +779,12 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } - if (!(obj - instanceof - com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest - .TranscriptObjectConfig)) { + if (!(obj instanceof com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest.TranscriptObjectConfig)) { return super.equals(obj); } - com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest.TranscriptObjectConfig - other = - (com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest - .TranscriptObjectConfig) - obj; + com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest.TranscriptObjectConfig other = (com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest.TranscriptObjectConfig) obj; if (medium_ != other.medium_) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; @@ -947,114 +805,88 @@ public int hashCode() { return hash; } - public static com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest - .TranscriptObjectConfig - parseFrom(java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest.TranscriptObjectConfig parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - - public static com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest - .TranscriptObjectConfig - parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest.TranscriptObjectConfig parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest - .TranscriptObjectConfig - parseFrom(com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest.TranscriptObjectConfig parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - - public static com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest - .TranscriptObjectConfig - parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest.TranscriptObjectConfig parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest - .TranscriptObjectConfig - parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest.TranscriptObjectConfig parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - - public static com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest - .TranscriptObjectConfig - parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest.TranscriptObjectConfig parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest - .TranscriptObjectConfig - parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest.TranscriptObjectConfig parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - - public static com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest - .TranscriptObjectConfig - parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + public static com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest.TranscriptObjectConfig parseFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest - .TranscriptObjectConfig - parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest.TranscriptObjectConfig parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - - public static com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest - .TranscriptObjectConfig - parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + public static com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest.TranscriptObjectConfig parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest - .TranscriptObjectConfig - parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest.TranscriptObjectConfig parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - - public static com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest - .TranscriptObjectConfig - parseFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + public static com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest.TranscriptObjectConfig parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest.TranscriptObjectConfig - prototype) { + public static Builder newBuilder(com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest.TranscriptObjectConfig prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -1064,46 +896,39 @@ protected Builder newBuilderForType( return builder; } /** - * - * *
      * Configuration for processing transcript objects.
      * 
* - * Protobuf type {@code - * google.cloud.contactcenterinsights.v1.IngestConversationsRequest.TranscriptObjectConfig} + * Protobuf type {@code google.cloud.contactcenterinsights.v1.IngestConversationsRequest.TranscriptObjectConfig} */ - public static final class Builder - extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.contactcenterinsights.v1.IngestConversationsRequest.TranscriptObjectConfig) - com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest - .TranscriptObjectConfigOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto - .internal_static_google_cloud_contactcenterinsights_v1_IngestConversationsRequest_TranscriptObjectConfig_descriptor; + com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest.TranscriptObjectConfigOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto.internal_static_google_cloud_contactcenterinsights_v1_IngestConversationsRequest_TranscriptObjectConfig_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto - .internal_static_google_cloud_contactcenterinsights_v1_IngestConversationsRequest_TranscriptObjectConfig_fieldAccessorTable + return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto.internal_static_google_cloud_contactcenterinsights_v1_IngestConversationsRequest_TranscriptObjectConfig_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest - .TranscriptObjectConfig.class, - com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest - .TranscriptObjectConfig.Builder.class); + com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest.TranscriptObjectConfig.class, com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest.TranscriptObjectConfig.Builder.class); } - // Construct using - // com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest.TranscriptObjectConfig.newBuilder() - private Builder() {} + // Construct using com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest.TranscriptObjectConfig.newBuilder() + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -1113,25 +938,19 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto - .internal_static_google_cloud_contactcenterinsights_v1_IngestConversationsRequest_TranscriptObjectConfig_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto.internal_static_google_cloud_contactcenterinsights_v1_IngestConversationsRequest_TranscriptObjectConfig_descriptor; } @java.lang.Override - public com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest - .TranscriptObjectConfig - getDefaultInstanceForType() { - return com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest - .TranscriptObjectConfig.getDefaultInstance(); + public com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest.TranscriptObjectConfig getDefaultInstanceForType() { + return com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest.TranscriptObjectConfig.getDefaultInstance(); } @java.lang.Override - public com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest - .TranscriptObjectConfig - build() { - com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest.TranscriptObjectConfig - result = buildPartial(); + public com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest.TranscriptObjectConfig build() { + com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest.TranscriptObjectConfig result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } @@ -1139,24 +958,14 @@ public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { } @java.lang.Override - public com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest - .TranscriptObjectConfig - buildPartial() { - com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest.TranscriptObjectConfig - result = - new com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest - .TranscriptObjectConfig(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + public com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest.TranscriptObjectConfig buildPartial() { + com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest.TranscriptObjectConfig result = new com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest.TranscriptObjectConfig(this); + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } - private void buildPartial0( - com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest - .TranscriptObjectConfig - result) { + private void buildPartial0(com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest.TranscriptObjectConfig result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { result.medium_ = medium_; @@ -1167,60 +976,46 @@ private void buildPartial0( public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, - int index, - java.lang.Object value) { + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { - if (other - instanceof - com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest - .TranscriptObjectConfig) { - return mergeFrom( - (com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest - .TranscriptObjectConfig) - other); + if (other instanceof com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest.TranscriptObjectConfig) { + return mergeFrom((com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest.TranscriptObjectConfig)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom( - com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest - .TranscriptObjectConfig - other) { - if (other - == com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest - .TranscriptObjectConfig.getDefaultInstance()) return this; + public Builder mergeFrom(com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest.TranscriptObjectConfig other) { + if (other == com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest.TranscriptObjectConfig.getDefaultInstance()) return this; if (other.medium_ != 0) { setMediumValue(other.getMediumValue()); } @@ -1250,19 +1045,17 @@ public Builder mergeFrom( case 0: done = true; break; - case 8: - { - medium_ = input.readEnum(); - bitField0_ |= 0x00000001; - break; - } // case 8 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 8: { + medium_ = input.readEnum(); + bitField0_ |= 0x00000001; + break; + } // case 8 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -1272,38 +1065,26 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private int medium_ = 0; /** - * - * *
        * Required. The medium transcript objects represent.
        * 
* - * - * .google.cloud.contactcenterinsights.v1.Conversation.Medium medium = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.contactcenterinsights.v1.Conversation.Medium medium = 1 [(.google.api.field_behavior) = REQUIRED]; * @return The enum numeric value on the wire for medium. */ - @java.lang.Override - public int getMediumValue() { + @java.lang.Override public int getMediumValue() { return medium_; } /** - * - * *
        * Required. The medium transcript objects represent.
        * 
* - * - * .google.cloud.contactcenterinsights.v1.Conversation.Medium medium = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.contactcenterinsights.v1.Conversation.Medium medium = 1 [(.google.api.field_behavior) = REQUIRED]; * @param value The enum numeric value on the wire for medium to set. * @return This builder for chaining. */ @@ -1314,42 +1095,28 @@ public Builder setMediumValue(int value) { return this; } /** - * - * *
        * Required. The medium transcript objects represent.
        * 
* - * - * .google.cloud.contactcenterinsights.v1.Conversation.Medium medium = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.contactcenterinsights.v1.Conversation.Medium medium = 1 [(.google.api.field_behavior) = REQUIRED]; * @return The medium. */ @java.lang.Override public com.google.cloud.contactcenterinsights.v1.Conversation.Medium getMedium() { - com.google.cloud.contactcenterinsights.v1.Conversation.Medium result = - com.google.cloud.contactcenterinsights.v1.Conversation.Medium.forNumber(medium_); - return result == null - ? com.google.cloud.contactcenterinsights.v1.Conversation.Medium.UNRECOGNIZED - : result; + com.google.cloud.contactcenterinsights.v1.Conversation.Medium result = com.google.cloud.contactcenterinsights.v1.Conversation.Medium.forNumber(medium_); + return result == null ? com.google.cloud.contactcenterinsights.v1.Conversation.Medium.UNRECOGNIZED : result; } /** - * - * *
        * Required. The medium transcript objects represent.
        * 
* - * - * .google.cloud.contactcenterinsights.v1.Conversation.Medium medium = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.contactcenterinsights.v1.Conversation.Medium medium = 1 [(.google.api.field_behavior) = REQUIRED]; * @param value The medium to set. * @return This builder for chaining. */ - public Builder setMedium( - com.google.cloud.contactcenterinsights.v1.Conversation.Medium value) { + public Builder setMedium(com.google.cloud.contactcenterinsights.v1.Conversation.Medium value) { if (value == null) { throw new NullPointerException(); } @@ -1359,16 +1126,11 @@ public Builder setMedium( return this; } /** - * - * *
        * Required. The medium transcript objects represent.
        * 
* - * - * .google.cloud.contactcenterinsights.v1.Conversation.Medium medium = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.contactcenterinsights.v1.Conversation.Medium medium = 1 [(.google.api.field_behavior) = REQUIRED]; * @return This builder for chaining. */ public Builder clearMedium() { @@ -1377,7 +1139,6 @@ public Builder clearMedium() { onChanged(); return this; } - @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -1390,48 +1151,41 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.contactcenterinsights.v1.IngestConversationsRequest.TranscriptObjectConfig) } // @@protoc_insertion_point(class_scope:google.cloud.contactcenterinsights.v1.IngestConversationsRequest.TranscriptObjectConfig) - private static final com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest - .TranscriptObjectConfig - DEFAULT_INSTANCE; - + private static final com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest.TranscriptObjectConfig DEFAULT_INSTANCE; static { - DEFAULT_INSTANCE = - new com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest - .TranscriptObjectConfig(); + DEFAULT_INSTANCE = new com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest.TranscriptObjectConfig(); } - public static com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest - .TranscriptObjectConfig - getDefaultInstance() { + public static com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest.TranscriptObjectConfig getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public TranscriptObjectConfig parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException() - .setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public TranscriptObjectConfig parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1443,111 +1197,93 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest - .TranscriptObjectConfig - getDefaultInstanceForType() { + public com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest.TranscriptObjectConfig getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } - public interface ConversationConfigOrBuilder - extends + public interface ConversationConfigOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.contactcenterinsights.v1.IngestConversationsRequest.ConversationConfig) com.google.protobuf.MessageOrBuilder { /** - * - * *
      * An opaque, user-specified string representing the human agent who handled
      * the conversations.
      * 
* * string agent_id = 1; - * * @return The agentId. */ java.lang.String getAgentId(); /** - * - * *
      * An opaque, user-specified string representing the human agent who handled
      * the conversations.
      * 
* * string agent_id = 1; - * * @return The bytes for agentId. */ - com.google.protobuf.ByteString getAgentIdBytes(); + com.google.protobuf.ByteString + getAgentIdBytes(); } /** - * - * *
    * Configuration that applies to all conversations.
    * 
* - * Protobuf type {@code - * google.cloud.contactcenterinsights.v1.IngestConversationsRequest.ConversationConfig} + * Protobuf type {@code google.cloud.contactcenterinsights.v1.IngestConversationsRequest.ConversationConfig} */ - public static final class ConversationConfig extends com.google.protobuf.GeneratedMessageV3 - implements + public static final class ConversationConfig extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.contactcenterinsights.v1.IngestConversationsRequest.ConversationConfig) ConversationConfigOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use ConversationConfig.newBuilder() to construct. private ConversationConfig(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private ConversationConfig() { agentId_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new ConversationConfig(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto - .internal_static_google_cloud_contactcenterinsights_v1_IngestConversationsRequest_ConversationConfig_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto.internal_static_google_cloud_contactcenterinsights_v1_IngestConversationsRequest_ConversationConfig_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto - .internal_static_google_cloud_contactcenterinsights_v1_IngestConversationsRequest_ConversationConfig_fieldAccessorTable + return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto.internal_static_google_cloud_contactcenterinsights_v1_IngestConversationsRequest_ConversationConfig_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest - .ConversationConfig.class, - com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest - .ConversationConfig.Builder.class); + com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest.ConversationConfig.class, com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest.ConversationConfig.Builder.class); } public static final int AGENT_ID_FIELD_NUMBER = 1; - @SuppressWarnings("serial") private volatile java.lang.Object agentId_ = ""; /** - * - * *
      * An opaque, user-specified string representing the human agent who handled
      * the conversations.
      * 
* * string agent_id = 1; - * * @return The agentId. */ @java.lang.Override @@ -1556,30 +1292,30 @@ public java.lang.String getAgentId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); agentId_ = s; return s; } } /** - * - * *
      * An opaque, user-specified string representing the human agent who handled
      * the conversations.
      * 
* * string agent_id = 1; - * * @return The bytes for agentId. */ @java.lang.Override - public com.google.protobuf.ByteString getAgentIdBytes() { + public com.google.protobuf.ByteString + getAgentIdBytes() { java.lang.Object ref = agentId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); agentId_ = b; return b; } else { @@ -1588,7 +1324,6 @@ public com.google.protobuf.ByteString getAgentIdBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -1600,7 +1335,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(agentId_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, agentId_); } @@ -1624,21 +1360,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } - if (!(obj - instanceof - com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest - .ConversationConfig)) { + if (!(obj instanceof com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest.ConversationConfig)) { return super.equals(obj); } - com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest.ConversationConfig - other = - (com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest - .ConversationConfig) - obj; + com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest.ConversationConfig other = (com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest.ConversationConfig) obj; - if (!getAgentId().equals(other.getAgentId())) return false; + if (!getAgentId() + .equals(other.getAgentId())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -1657,114 +1387,88 @@ public int hashCode() { return hash; } - public static com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest - .ConversationConfig - parseFrom(java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest.ConversationConfig parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - - public static com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest - .ConversationConfig - parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest.ConversationConfig parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest - .ConversationConfig - parseFrom(com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest.ConversationConfig parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - - public static com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest - .ConversationConfig - parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest.ConversationConfig parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest - .ConversationConfig - parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest.ConversationConfig parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - - public static com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest - .ConversationConfig - parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest.ConversationConfig parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest - .ConversationConfig - parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest.ConversationConfig parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - - public static com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest - .ConversationConfig - parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + public static com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest.ConversationConfig parseFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest - .ConversationConfig - parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest.ConversationConfig parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - - public static com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest - .ConversationConfig - parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + public static com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest.ConversationConfig parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest - .ConversationConfig - parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest.ConversationConfig parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - - public static com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest - .ConversationConfig - parseFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + public static com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest.ConversationConfig parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest.ConversationConfig - prototype) { + public static Builder newBuilder(com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest.ConversationConfig prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -1774,46 +1478,39 @@ protected Builder newBuilderForType( return builder; } /** - * - * *
      * Configuration that applies to all conversations.
      * 
* - * Protobuf type {@code - * google.cloud.contactcenterinsights.v1.IngestConversationsRequest.ConversationConfig} + * Protobuf type {@code google.cloud.contactcenterinsights.v1.IngestConversationsRequest.ConversationConfig} */ - public static final class Builder - extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.contactcenterinsights.v1.IngestConversationsRequest.ConversationConfig) - com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest - .ConversationConfigOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto - .internal_static_google_cloud_contactcenterinsights_v1_IngestConversationsRequest_ConversationConfig_descriptor; + com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest.ConversationConfigOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto.internal_static_google_cloud_contactcenterinsights_v1_IngestConversationsRequest_ConversationConfig_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto - .internal_static_google_cloud_contactcenterinsights_v1_IngestConversationsRequest_ConversationConfig_fieldAccessorTable + return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto.internal_static_google_cloud_contactcenterinsights_v1_IngestConversationsRequest_ConversationConfig_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest - .ConversationConfig.class, - com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest - .ConversationConfig.Builder.class); + com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest.ConversationConfig.class, com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest.ConversationConfig.Builder.class); } - // Construct using - // com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest.ConversationConfig.newBuilder() - private Builder() {} + // Construct using com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest.ConversationConfig.newBuilder() + private Builder() { + + } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + } @java.lang.Override public Builder clear() { super.clear(); @@ -1823,23 +1520,19 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto - .internal_static_google_cloud_contactcenterinsights_v1_IngestConversationsRequest_ConversationConfig_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto.internal_static_google_cloud_contactcenterinsights_v1_IngestConversationsRequest_ConversationConfig_descriptor; } @java.lang.Override - public com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest.ConversationConfig - getDefaultInstanceForType() { - return com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest - .ConversationConfig.getDefaultInstance(); + public com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest.ConversationConfig getDefaultInstanceForType() { + return com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest.ConversationConfig.getDefaultInstance(); } @java.lang.Override - public com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest.ConversationConfig - build() { - com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest.ConversationConfig - result = buildPartial(); + public com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest.ConversationConfig build() { + com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest.ConversationConfig result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } @@ -1847,22 +1540,14 @@ public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { } @java.lang.Override - public com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest.ConversationConfig - buildPartial() { - com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest.ConversationConfig - result = - new com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest - .ConversationConfig(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + public com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest.ConversationConfig buildPartial() { + com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest.ConversationConfig result = new com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest.ConversationConfig(this); + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } - private void buildPartial0( - com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest.ConversationConfig - result) { + private void buildPartial0(com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest.ConversationConfig result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { result.agentId_ = agentId_; @@ -1873,59 +1558,46 @@ private void buildPartial0( public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, - int index, - java.lang.Object value) { + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { - if (other - instanceof - com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest - .ConversationConfig) { - return mergeFrom( - (com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest - .ConversationConfig) - other); + if (other instanceof com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest.ConversationConfig) { + return mergeFrom((com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest.ConversationConfig)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom( - com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest.ConversationConfig - other) { - if (other - == com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest - .ConversationConfig.getDefaultInstance()) return this; + public Builder mergeFrom(com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest.ConversationConfig other) { + if (other == com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest.ConversationConfig.getDefaultInstance()) return this; if (!other.getAgentId().isEmpty()) { agentId_ = other.agentId_; bitField0_ |= 0x00000001; @@ -1957,19 +1629,17 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - agentId_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + agentId_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -1979,26 +1649,23 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private java.lang.Object agentId_ = ""; /** - * - * *
        * An opaque, user-specified string representing the human agent who handled
        * the conversations.
        * 
* * string agent_id = 1; - * * @return The agentId. */ public java.lang.String getAgentId() { java.lang.Object ref = agentId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); agentId_ = s; return s; @@ -2007,22 +1674,21 @@ public java.lang.String getAgentId() { } } /** - * - * *
        * An opaque, user-specified string representing the human agent who handled
        * the conversations.
        * 
* * string agent_id = 1; - * * @return The bytes for agentId. */ - public com.google.protobuf.ByteString getAgentIdBytes() { + public com.google.protobuf.ByteString + getAgentIdBytes() { java.lang.Object ref = agentId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); agentId_ = b; return b; } else { @@ -2030,37 +1696,30 @@ public com.google.protobuf.ByteString getAgentIdBytes() { } } /** - * - * *
        * An opaque, user-specified string representing the human agent who handled
        * the conversations.
        * 
* * string agent_id = 1; - * * @param value The agentId to set. * @return This builder for chaining. */ - public Builder setAgentId(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setAgentId( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } agentId_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
        * An opaque, user-specified string representing the human agent who handled
        * the conversations.
        * 
* * string agent_id = 1; - * * @return This builder for chaining. */ public Builder clearAgentId() { @@ -2070,29 +1729,24 @@ public Builder clearAgentId() { return this; } /** - * - * *
        * An opaque, user-specified string representing the human agent who handled
        * the conversations.
        * 
* * string agent_id = 1; - * * @param value The bytes for agentId to set. * @return This builder for chaining. */ - public Builder setAgentIdBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setAgentIdBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); agentId_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } - @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -2105,48 +1759,41 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.contactcenterinsights.v1.IngestConversationsRequest.ConversationConfig) } // @@protoc_insertion_point(class_scope:google.cloud.contactcenterinsights.v1.IngestConversationsRequest.ConversationConfig) - private static final com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest - .ConversationConfig - DEFAULT_INSTANCE; - + private static final com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest.ConversationConfig DEFAULT_INSTANCE; static { - DEFAULT_INSTANCE = - new com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest - .ConversationConfig(); + DEFAULT_INSTANCE = new com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest.ConversationConfig(); } - public static com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest - .ConversationConfig - getDefaultInstance() { + public static com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest.ConversationConfig getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ConversationConfig parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException() - .setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ConversationConfig parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -2158,23 +1805,20 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest.ConversationConfig - getDefaultInstanceForType() { + public com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest.ConversationConfig getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } private int sourceCase_ = 0; private java.lang.Object source_; - public enum SourceCase - implements - com.google.protobuf.Internal.EnumLite, + implements com.google.protobuf.Internal.EnumLite, com.google.protobuf.AbstractMessage.InternalOneOfEnum { GCS_SOURCE(2), SOURCE_NOT_SET(0); private final int value; - private SourceCase(int value) { this.value = value; } @@ -2190,35 +1834,30 @@ public static SourceCase valueOf(int value) { public static SourceCase forNumber(int value) { switch (value) { - case 2: - return GCS_SOURCE; - case 0: - return SOURCE_NOT_SET; - default: - return null; + case 2: return GCS_SOURCE; + case 0: return SOURCE_NOT_SET; + default: return null; } } - public int getNumber() { return this.value; } }; - public SourceCase getSourceCase() { - return SourceCase.forNumber(sourceCase_); + public SourceCase + getSourceCase() { + return SourceCase.forNumber( + sourceCase_); } private int objectConfigCase_ = 0; private java.lang.Object objectConfig_; - public enum ObjectConfigCase - implements - com.google.protobuf.Internal.EnumLite, + implements com.google.protobuf.Internal.EnumLite, com.google.protobuf.AbstractMessage.InternalOneOfEnum { TRANSCRIPT_OBJECT_CONFIG(3), OBJECTCONFIG_NOT_SET(0); private final int value; - private ObjectConfigCase(int value) { this.value = value; } @@ -2234,36 +1873,29 @@ public static ObjectConfigCase valueOf(int value) { public static ObjectConfigCase forNumber(int value) { switch (value) { - case 3: - return TRANSCRIPT_OBJECT_CONFIG; - case 0: - return OBJECTCONFIG_NOT_SET; - default: - return null; + case 3: return TRANSCRIPT_OBJECT_CONFIG; + case 0: return OBJECTCONFIG_NOT_SET; + default: return null; } } - public int getNumber() { return this.value; } }; - public ObjectConfigCase getObjectConfigCase() { - return ObjectConfigCase.forNumber(objectConfigCase_); + public ObjectConfigCase + getObjectConfigCase() { + return ObjectConfigCase.forNumber( + objectConfigCase_); } public static final int GCS_SOURCE_FIELD_NUMBER = 2; /** - * - * *
    * A cloud storage bucket source.
    * 
* - * - * .google.cloud.contactcenterinsights.v1.IngestConversationsRequest.GcsSource gcs_source = 2; - * - * + * .google.cloud.contactcenterinsights.v1.IngestConversationsRequest.GcsSource gcs_source = 2; * @return Whether the gcsSource field is set. */ @java.lang.Override @@ -2271,62 +1903,42 @@ public boolean hasGcsSource() { return sourceCase_ == 2; } /** - * - * *
    * A cloud storage bucket source.
    * 
* - * - * .google.cloud.contactcenterinsights.v1.IngestConversationsRequest.GcsSource gcs_source = 2; - * - * + * .google.cloud.contactcenterinsights.v1.IngestConversationsRequest.GcsSource gcs_source = 2; * @return The gcsSource. */ @java.lang.Override - public com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest.GcsSource - getGcsSource() { + public com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest.GcsSource getGcsSource() { if (sourceCase_ == 2) { - return (com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest.GcsSource) - source_; + return (com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest.GcsSource) source_; } - return com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest.GcsSource - .getDefaultInstance(); + return com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest.GcsSource.getDefaultInstance(); } /** - * - * *
    * A cloud storage bucket source.
    * 
* - * - * .google.cloud.contactcenterinsights.v1.IngestConversationsRequest.GcsSource gcs_source = 2; - * + * .google.cloud.contactcenterinsights.v1.IngestConversationsRequest.GcsSource gcs_source = 2; */ @java.lang.Override - public com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest.GcsSourceOrBuilder - getGcsSourceOrBuilder() { + public com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest.GcsSourceOrBuilder getGcsSourceOrBuilder() { if (sourceCase_ == 2) { - return (com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest.GcsSource) - source_; + return (com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest.GcsSource) source_; } - return com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest.GcsSource - .getDefaultInstance(); + return com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest.GcsSource.getDefaultInstance(); } public static final int TRANSCRIPT_OBJECT_CONFIG_FIELD_NUMBER = 3; /** - * - * *
    * Configuration for when `source` contains conversation transcripts.
    * 
* - * - * .google.cloud.contactcenterinsights.v1.IngestConversationsRequest.TranscriptObjectConfig transcript_object_config = 3; - * - * + * .google.cloud.contactcenterinsights.v1.IngestConversationsRequest.TranscriptObjectConfig transcript_object_config = 3; * @return Whether the transcriptObjectConfig field is set. */ @java.lang.Override @@ -2334,68 +1946,44 @@ public boolean hasTranscriptObjectConfig() { return objectConfigCase_ == 3; } /** - * - * *
    * Configuration for when `source` contains conversation transcripts.
    * 
* - * - * .google.cloud.contactcenterinsights.v1.IngestConversationsRequest.TranscriptObjectConfig transcript_object_config = 3; - * - * + * .google.cloud.contactcenterinsights.v1.IngestConversationsRequest.TranscriptObjectConfig transcript_object_config = 3; * @return The transcriptObjectConfig. */ @java.lang.Override - public com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest.TranscriptObjectConfig - getTranscriptObjectConfig() { + public com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest.TranscriptObjectConfig getTranscriptObjectConfig() { if (objectConfigCase_ == 3) { - return (com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest - .TranscriptObjectConfig) - objectConfig_; + return (com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest.TranscriptObjectConfig) objectConfig_; } - return com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest - .TranscriptObjectConfig.getDefaultInstance(); + return com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest.TranscriptObjectConfig.getDefaultInstance(); } /** - * - * *
    * Configuration for when `source` contains conversation transcripts.
    * 
* - * - * .google.cloud.contactcenterinsights.v1.IngestConversationsRequest.TranscriptObjectConfig transcript_object_config = 3; - * + * .google.cloud.contactcenterinsights.v1.IngestConversationsRequest.TranscriptObjectConfig transcript_object_config = 3; */ @java.lang.Override - public com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest - .TranscriptObjectConfigOrBuilder - getTranscriptObjectConfigOrBuilder() { + public com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest.TranscriptObjectConfigOrBuilder getTranscriptObjectConfigOrBuilder() { if (objectConfigCase_ == 3) { - return (com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest - .TranscriptObjectConfig) - objectConfig_; + return (com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest.TranscriptObjectConfig) objectConfig_; } - return com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest - .TranscriptObjectConfig.getDefaultInstance(); + return com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest.TranscriptObjectConfig.getDefaultInstance(); } public static final int PARENT_FIELD_NUMBER = 1; - @SuppressWarnings("serial") private volatile java.lang.Object parent_ = ""; /** - * - * *
    * Required. The parent resource for new conversations.
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The parent. */ @java.lang.Override @@ -2404,31 +1992,29 @@ public java.lang.String getParent() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; } } /** - * - * *
    * Required. The parent resource for new conversations.
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for parent. */ @java.lang.Override - public com.google.protobuf.ByteString getParentBytes() { + public com.google.protobuf.ByteString + getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); parent_ = b; return b; } else { @@ -2437,19 +2023,13 @@ public com.google.protobuf.ByteString getParentBytes() { } public static final int CONVERSATION_CONFIG_FIELD_NUMBER = 4; - private com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest.ConversationConfig - conversationConfig_; + private com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest.ConversationConfig conversationConfig_; /** - * - * *
    * Configuration that applies to all conversations.
    * 
* - * - * .google.cloud.contactcenterinsights.v1.IngestConversationsRequest.ConversationConfig conversation_config = 4; - * - * + * .google.cloud.contactcenterinsights.v1.IngestConversationsRequest.ConversationConfig conversation_config = 4; * @return Whether the conversationConfig field is set. */ @java.lang.Override @@ -2457,49 +2037,30 @@ public boolean hasConversationConfig() { return conversationConfig_ != null; } /** - * - * *
    * Configuration that applies to all conversations.
    * 
* - * - * .google.cloud.contactcenterinsights.v1.IngestConversationsRequest.ConversationConfig conversation_config = 4; - * - * + * .google.cloud.contactcenterinsights.v1.IngestConversationsRequest.ConversationConfig conversation_config = 4; * @return The conversationConfig. */ @java.lang.Override - public com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest.ConversationConfig - getConversationConfig() { - return conversationConfig_ == null - ? com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest.ConversationConfig - .getDefaultInstance() - : conversationConfig_; + public com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest.ConversationConfig getConversationConfig() { + return conversationConfig_ == null ? com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest.ConversationConfig.getDefaultInstance() : conversationConfig_; } /** - * - * *
    * Configuration that applies to all conversations.
    * 
* - * - * .google.cloud.contactcenterinsights.v1.IngestConversationsRequest.ConversationConfig conversation_config = 4; - * + * .google.cloud.contactcenterinsights.v1.IngestConversationsRequest.ConversationConfig conversation_config = 4; */ @java.lang.Override - public com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest - .ConversationConfigOrBuilder - getConversationConfigOrBuilder() { - return conversationConfig_ == null - ? com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest.ConversationConfig - .getDefaultInstance() - : conversationConfig_; + public com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest.ConversationConfigOrBuilder getConversationConfigOrBuilder() { + return conversationConfig_ == null ? com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest.ConversationConfig.getDefaultInstance() : conversationConfig_; } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -2511,21 +2072,16 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); } if (sourceCase_ == 2) { - output.writeMessage( - 2, - (com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest.GcsSource) source_); + output.writeMessage(2, (com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest.GcsSource) source_); } if (objectConfigCase_ == 3) { - output.writeMessage( - 3, - (com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest - .TranscriptObjectConfig) - objectConfig_); + output.writeMessage(3, (com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest.TranscriptObjectConfig) objectConfig_); } if (conversationConfig_ != null) { output.writeMessage(4, getConversationConfig()); @@ -2543,22 +2099,16 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, parent_); } if (sourceCase_ == 2) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize( - 2, - (com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest.GcsSource) - source_); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, (com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest.GcsSource) source_); } if (objectConfigCase_ == 3) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize( - 3, - (com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest - .TranscriptObjectConfig) - objectConfig_); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(3, (com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest.TranscriptObjectConfig) objectConfig_); } if (conversationConfig_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(4, getConversationConfig()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(4, getConversationConfig()); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -2568,23 +2118,25 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest)) { return super.equals(obj); } - com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest other = - (com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest) obj; + com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest other = (com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest) obj; - if (!getParent().equals(other.getParent())) return false; + if (!getParent() + .equals(other.getParent())) return false; if (hasConversationConfig() != other.hasConversationConfig()) return false; if (hasConversationConfig()) { - if (!getConversationConfig().equals(other.getConversationConfig())) return false; + if (!getConversationConfig() + .equals(other.getConversationConfig())) return false; } if (!getSourceCase().equals(other.getSourceCase())) return false; switch (sourceCase_) { case 2: - if (!getGcsSource().equals(other.getGcsSource())) return false; + if (!getGcsSource() + .equals(other.getGcsSource())) return false; break; case 0: default: @@ -2592,7 +2144,8 @@ public boolean equals(final java.lang.Object obj) { if (!getObjectConfigCase().equals(other.getObjectConfigCase())) return false; switch (objectConfigCase_) { case 3: - if (!getTranscriptObjectConfig().equals(other.getTranscriptObjectConfig())) return false; + if (!getTranscriptObjectConfig() + .equals(other.getTranscriptObjectConfig())) return false; break; case 0: default: @@ -2636,138 +2189,129 @@ public int hashCode() { } public static com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest parseFrom( - byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest - parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - - public static com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest - parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + public static com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest prototype) { + public static Builder newBuilder(com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * The request to ingest conversations.
    * 
* * Protobuf type {@code google.cloud.contactcenterinsights.v1.IngestConversationsRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.contactcenterinsights.v1.IngestConversationsRequest) com.google.cloud.contactcenterinsights.v1.IngestConversationsRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto - .internal_static_google_cloud_contactcenterinsights_v1_IngestConversationsRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto.internal_static_google_cloud_contactcenterinsights_v1_IngestConversationsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto - .internal_static_google_cloud_contactcenterinsights_v1_IngestConversationsRequest_fieldAccessorTable + return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto.internal_static_google_cloud_contactcenterinsights_v1_IngestConversationsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest.class, - com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest.Builder.class); + com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest.class, com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest.Builder.class); } - // Construct using - // com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest.newBuilder() - private Builder() {} + // Construct using com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest.newBuilder() + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -2792,16 +2336,14 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto - .internal_static_google_cloud_contactcenterinsights_v1_IngestConversationsRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto.internal_static_google_cloud_contactcenterinsights_v1_IngestConversationsRequest_descriptor; } @java.lang.Override - public com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest - getDefaultInstanceForType() { - return com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest - .getDefaultInstance(); + public com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest getDefaultInstanceForType() { + return com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest.getDefaultInstance(); } @java.lang.Override @@ -2815,40 +2357,36 @@ public com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest buil @java.lang.Override public com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest buildPartial() { - com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest result = - new com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest result = new com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest(this); + if (bitField0_ != 0) { buildPartial0(result); } buildPartialOneofs(result); onBuilt(); return result; } - private void buildPartial0( - com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest result) { + private void buildPartial0(com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000004) != 0)) { result.parent_ = parent_; } if (((from_bitField0_ & 0x00000008) != 0)) { - result.conversationConfig_ = - conversationConfigBuilder_ == null - ? conversationConfig_ - : conversationConfigBuilder_.build(); + result.conversationConfig_ = conversationConfigBuilder_ == null + ? conversationConfig_ + : conversationConfigBuilder_.build(); } } - private void buildPartialOneofs( - com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest result) { + private void buildPartialOneofs(com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest result) { result.sourceCase_ = sourceCase_; result.source_ = this.source_; - if (sourceCase_ == 2 && gcsSourceBuilder_ != null) { + if (sourceCase_ == 2 && + gcsSourceBuilder_ != null) { result.source_ = gcsSourceBuilder_.build(); } result.objectConfigCase_ = objectConfigCase_; result.objectConfig_ = this.objectConfig_; - if (objectConfigCase_ == 3 && transcriptObjectConfigBuilder_ != null) { + if (objectConfigCase_ == 3 && + transcriptObjectConfigBuilder_ != null) { result.objectConfig_ = transcriptObjectConfigBuilder_.build(); } } @@ -2857,51 +2395,46 @@ private void buildPartialOneofs( public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest) { - return mergeFrom( - (com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest) other); + return mergeFrom((com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom( - com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest other) { - if (other - == com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest - .getDefaultInstance()) return this; + public Builder mergeFrom(com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest other) { + if (other == com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest.getDefaultInstance()) return this; if (!other.getParent().isEmpty()) { parent_ = other.parent_; bitField0_ |= 0x00000004; @@ -2911,26 +2444,22 @@ public Builder mergeFrom( mergeConversationConfig(other.getConversationConfig()); } switch (other.getSourceCase()) { - case GCS_SOURCE: - { - mergeGcsSource(other.getGcsSource()); - break; - } - case SOURCE_NOT_SET: - { - break; - } + case GCS_SOURCE: { + mergeGcsSource(other.getGcsSource()); + break; + } + case SOURCE_NOT_SET: { + break; + } } switch (other.getObjectConfigCase()) { - case TRANSCRIPT_OBJECT_CONFIG: - { - mergeTranscriptObjectConfig(other.getTranscriptObjectConfig()); - break; - } - case OBJECTCONFIG_NOT_SET: - { - break; - } + case TRANSCRIPT_OBJECT_CONFIG: { + mergeTranscriptObjectConfig(other.getTranscriptObjectConfig()); + break; + } + case OBJECTCONFIG_NOT_SET: { + break; + } } this.mergeUnknownFields(other.getUnknownFields()); onChanged(); @@ -2958,39 +2487,38 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - parent_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000004; - break; - } // case 10 - case 18: - { - input.readMessage(getGcsSourceFieldBuilder().getBuilder(), extensionRegistry); - sourceCase_ = 2; - break; - } // case 18 - case 26: - { - input.readMessage( - getTranscriptObjectConfigFieldBuilder().getBuilder(), extensionRegistry); - objectConfigCase_ = 3; - break; - } // case 26 - case 34: - { - input.readMessage( - getConversationConfigFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00000008; - break; - } // case 34 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + parent_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000004; + break; + } // case 10 + case 18: { + input.readMessage( + getGcsSourceFieldBuilder().getBuilder(), + extensionRegistry); + sourceCase_ = 2; + break; + } // case 18 + case 26: { + input.readMessage( + getTranscriptObjectConfigFieldBuilder().getBuilder(), + extensionRegistry); + objectConfigCase_ = 3; + break; + } // case 26 + case 34: { + input.readMessage( + getConversationConfigFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00000008; + break; + } // case 34 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -3000,12 +2528,12 @@ public Builder mergeFrom( } // finally return this; } - private int sourceCase_ = 0; private java.lang.Object source_; - - public SourceCase getSourceCase() { - return SourceCase.forNumber(sourceCase_); + public SourceCase + getSourceCase() { + return SourceCase.forNumber( + sourceCase_); } public Builder clearSource() { @@ -3017,9 +2545,10 @@ public Builder clearSource() { private int objectConfigCase_ = 0; private java.lang.Object objectConfig_; - - public ObjectConfigCase getObjectConfigCase() { - return ObjectConfigCase.forNumber(objectConfigCase_); + public ObjectConfigCase + getObjectConfigCase() { + return ObjectConfigCase.forNumber( + objectConfigCase_); } public Builder clearObjectConfig() { @@ -3032,21 +2561,13 @@ public Builder clearObjectConfig() { private int bitField0_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest.GcsSource, - com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest.GcsSource.Builder, - com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest.GcsSourceOrBuilder> - gcsSourceBuilder_; + com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest.GcsSource, com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest.GcsSource.Builder, com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest.GcsSourceOrBuilder> gcsSourceBuilder_; /** - * - * *
      * A cloud storage bucket source.
      * 
* - * - * .google.cloud.contactcenterinsights.v1.IngestConversationsRequest.GcsSource gcs_source = 2; - * - * + * .google.cloud.contactcenterinsights.v1.IngestConversationsRequest.GcsSource gcs_source = 2; * @return Whether the gcsSource field is set. */ @java.lang.Override @@ -3054,49 +2575,35 @@ public boolean hasGcsSource() { return sourceCase_ == 2; } /** - * - * *
      * A cloud storage bucket source.
      * 
* - * - * .google.cloud.contactcenterinsights.v1.IngestConversationsRequest.GcsSource gcs_source = 2; - * - * + * .google.cloud.contactcenterinsights.v1.IngestConversationsRequest.GcsSource gcs_source = 2; * @return The gcsSource. */ @java.lang.Override - public com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest.GcsSource - getGcsSource() { + public com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest.GcsSource getGcsSource() { if (gcsSourceBuilder_ == null) { if (sourceCase_ == 2) { - return (com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest.GcsSource) - source_; + return (com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest.GcsSource) source_; } - return com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest.GcsSource - .getDefaultInstance(); + return com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest.GcsSource.getDefaultInstance(); } else { if (sourceCase_ == 2) { return gcsSourceBuilder_.getMessage(); } - return com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest.GcsSource - .getDefaultInstance(); + return com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest.GcsSource.getDefaultInstance(); } } /** - * - * *
      * A cloud storage bucket source.
      * 
* - * - * .google.cloud.contactcenterinsights.v1.IngestConversationsRequest.GcsSource gcs_source = 2; - * + * .google.cloud.contactcenterinsights.v1.IngestConversationsRequest.GcsSource gcs_source = 2; */ - public Builder setGcsSource( - com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest.GcsSource value) { + public Builder setGcsSource(com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest.GcsSource value) { if (gcsSourceBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -3110,19 +2617,14 @@ public Builder setGcsSource( return this; } /** - * - * *
      * A cloud storage bucket source.
      * 
* - * - * .google.cloud.contactcenterinsights.v1.IngestConversationsRequest.GcsSource gcs_source = 2; - * + * .google.cloud.contactcenterinsights.v1.IngestConversationsRequest.GcsSource gcs_source = 2; */ public Builder setGcsSource( - com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest.GcsSource.Builder - builderForValue) { + com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest.GcsSource.Builder builderForValue) { if (gcsSourceBuilder_ == null) { source_ = builderForValue.build(); onChanged(); @@ -3133,31 +2635,18 @@ public Builder setGcsSource( return this; } /** - * - * *
      * A cloud storage bucket source.
      * 
* - * - * .google.cloud.contactcenterinsights.v1.IngestConversationsRequest.GcsSource gcs_source = 2; - * + * .google.cloud.contactcenterinsights.v1.IngestConversationsRequest.GcsSource gcs_source = 2; */ - public Builder mergeGcsSource( - com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest.GcsSource value) { + public Builder mergeGcsSource(com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest.GcsSource value) { if (gcsSourceBuilder_ == null) { - if (sourceCase_ == 2 - && source_ - != com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest.GcsSource - .getDefaultInstance()) { - source_ = - com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest.GcsSource - .newBuilder( - (com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest - .GcsSource) - source_) - .mergeFrom(value) - .buildPartial(); + if (sourceCase_ == 2 && + source_ != com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest.GcsSource.getDefaultInstance()) { + source_ = com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest.GcsSource.newBuilder((com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest.GcsSource) source_) + .mergeFrom(value).buildPartial(); } else { source_ = value; } @@ -3173,15 +2662,11 @@ public Builder mergeGcsSource( return this; } /** - * - * *
      * A cloud storage bucket source.
      * 
* - * - * .google.cloud.contactcenterinsights.v1.IngestConversationsRequest.GcsSource gcs_source = 2; - * + * .google.cloud.contactcenterinsights.v1.IngestConversationsRequest.GcsSource gcs_source = 2; */ public Builder clearGcsSource() { if (gcsSourceBuilder_ == null) { @@ -3200,76 +2685,50 @@ public Builder clearGcsSource() { return this; } /** - * - * *
      * A cloud storage bucket source.
      * 
* - * - * .google.cloud.contactcenterinsights.v1.IngestConversationsRequest.GcsSource gcs_source = 2; - * + * .google.cloud.contactcenterinsights.v1.IngestConversationsRequest.GcsSource gcs_source = 2; */ - public com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest.GcsSource.Builder - getGcsSourceBuilder() { + public com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest.GcsSource.Builder getGcsSourceBuilder() { return getGcsSourceFieldBuilder().getBuilder(); } /** - * - * *
      * A cloud storage bucket source.
      * 
* - * - * .google.cloud.contactcenterinsights.v1.IngestConversationsRequest.GcsSource gcs_source = 2; - * + * .google.cloud.contactcenterinsights.v1.IngestConversationsRequest.GcsSource gcs_source = 2; */ @java.lang.Override - public com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest.GcsSourceOrBuilder - getGcsSourceOrBuilder() { + public com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest.GcsSourceOrBuilder getGcsSourceOrBuilder() { if ((sourceCase_ == 2) && (gcsSourceBuilder_ != null)) { return gcsSourceBuilder_.getMessageOrBuilder(); } else { if (sourceCase_ == 2) { - return (com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest.GcsSource) - source_; + return (com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest.GcsSource) source_; } - return com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest.GcsSource - .getDefaultInstance(); + return com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest.GcsSource.getDefaultInstance(); } } /** - * - * *
      * A cloud storage bucket source.
      * 
* - * - * .google.cloud.contactcenterinsights.v1.IngestConversationsRequest.GcsSource gcs_source = 2; - * + * .google.cloud.contactcenterinsights.v1.IngestConversationsRequest.GcsSource gcs_source = 2; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest.GcsSource, - com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest.GcsSource.Builder, - com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest.GcsSourceOrBuilder> + com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest.GcsSource, com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest.GcsSource.Builder, com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest.GcsSourceOrBuilder> getGcsSourceFieldBuilder() { if (gcsSourceBuilder_ == null) { if (!(sourceCase_ == 2)) { - source_ = - com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest.GcsSource - .getDefaultInstance(); + source_ = com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest.GcsSource.getDefaultInstance(); } - gcsSourceBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest.GcsSource, - com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest.GcsSource - .Builder, - com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest - .GcsSourceOrBuilder>( - (com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest.GcsSource) - source_, + gcsSourceBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest.GcsSource, com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest.GcsSource.Builder, com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest.GcsSourceOrBuilder>( + (com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest.GcsSource) source_, getParentForChildren(), isClean()); source_ = null; @@ -3280,24 +2739,13 @@ public Builder clearGcsSource() { } private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest - .TranscriptObjectConfig, - com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest - .TranscriptObjectConfig.Builder, - com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest - .TranscriptObjectConfigOrBuilder> - transcriptObjectConfigBuilder_; + com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest.TranscriptObjectConfig, com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest.TranscriptObjectConfig.Builder, com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest.TranscriptObjectConfigOrBuilder> transcriptObjectConfigBuilder_; /** - * - * *
      * Configuration for when `source` contains conversation transcripts.
      * 
* - * - * .google.cloud.contactcenterinsights.v1.IngestConversationsRequest.TranscriptObjectConfig transcript_object_config = 3; - * - * + * .google.cloud.contactcenterinsights.v1.IngestConversationsRequest.TranscriptObjectConfig transcript_object_config = 3; * @return Whether the transcriptObjectConfig field is set. */ @java.lang.Override @@ -3305,52 +2753,35 @@ public boolean hasTranscriptObjectConfig() { return objectConfigCase_ == 3; } /** - * - * *
      * Configuration for when `source` contains conversation transcripts.
      * 
* - * - * .google.cloud.contactcenterinsights.v1.IngestConversationsRequest.TranscriptObjectConfig transcript_object_config = 3; - * - * + * .google.cloud.contactcenterinsights.v1.IngestConversationsRequest.TranscriptObjectConfig transcript_object_config = 3; * @return The transcriptObjectConfig. */ @java.lang.Override - public com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest - .TranscriptObjectConfig - getTranscriptObjectConfig() { + public com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest.TranscriptObjectConfig getTranscriptObjectConfig() { if (transcriptObjectConfigBuilder_ == null) { if (objectConfigCase_ == 3) { - return (com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest - .TranscriptObjectConfig) - objectConfig_; + return (com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest.TranscriptObjectConfig) objectConfig_; } - return com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest - .TranscriptObjectConfig.getDefaultInstance(); + return com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest.TranscriptObjectConfig.getDefaultInstance(); } else { if (objectConfigCase_ == 3) { return transcriptObjectConfigBuilder_.getMessage(); } - return com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest - .TranscriptObjectConfig.getDefaultInstance(); + return com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest.TranscriptObjectConfig.getDefaultInstance(); } } /** - * - * *
      * Configuration for when `source` contains conversation transcripts.
      * 
* - * - * .google.cloud.contactcenterinsights.v1.IngestConversationsRequest.TranscriptObjectConfig transcript_object_config = 3; - * + * .google.cloud.contactcenterinsights.v1.IngestConversationsRequest.TranscriptObjectConfig transcript_object_config = 3; */ - public Builder setTranscriptObjectConfig( - com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest.TranscriptObjectConfig - value) { + public Builder setTranscriptObjectConfig(com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest.TranscriptObjectConfig value) { if (transcriptObjectConfigBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -3364,20 +2795,14 @@ public Builder setTranscriptObjectConfig( return this; } /** - * - * *
      * Configuration for when `source` contains conversation transcripts.
      * 
* - * - * .google.cloud.contactcenterinsights.v1.IngestConversationsRequest.TranscriptObjectConfig transcript_object_config = 3; - * + * .google.cloud.contactcenterinsights.v1.IngestConversationsRequest.TranscriptObjectConfig transcript_object_config = 3; */ public Builder setTranscriptObjectConfig( - com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest.TranscriptObjectConfig - .Builder - builderForValue) { + com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest.TranscriptObjectConfig.Builder builderForValue) { if (transcriptObjectConfigBuilder_ == null) { objectConfig_ = builderForValue.build(); onChanged(); @@ -3388,32 +2813,18 @@ public Builder setTranscriptObjectConfig( return this; } /** - * - * *
      * Configuration for when `source` contains conversation transcripts.
      * 
* - * - * .google.cloud.contactcenterinsights.v1.IngestConversationsRequest.TranscriptObjectConfig transcript_object_config = 3; - * + * .google.cloud.contactcenterinsights.v1.IngestConversationsRequest.TranscriptObjectConfig transcript_object_config = 3; */ - public Builder mergeTranscriptObjectConfig( - com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest.TranscriptObjectConfig - value) { + public Builder mergeTranscriptObjectConfig(com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest.TranscriptObjectConfig value) { if (transcriptObjectConfigBuilder_ == null) { - if (objectConfigCase_ == 3 - && objectConfig_ - != com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest - .TranscriptObjectConfig.getDefaultInstance()) { - objectConfig_ = - com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest - .TranscriptObjectConfig.newBuilder( - (com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest - .TranscriptObjectConfig) - objectConfig_) - .mergeFrom(value) - .buildPartial(); + if (objectConfigCase_ == 3 && + objectConfig_ != com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest.TranscriptObjectConfig.getDefaultInstance()) { + objectConfig_ = com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest.TranscriptObjectConfig.newBuilder((com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest.TranscriptObjectConfig) objectConfig_) + .mergeFrom(value).buildPartial(); } else { objectConfig_ = value; } @@ -3429,15 +2840,11 @@ public Builder mergeTranscriptObjectConfig( return this; } /** - * - * *
      * Configuration for when `source` contains conversation transcripts.
      * 
* - * - * .google.cloud.contactcenterinsights.v1.IngestConversationsRequest.TranscriptObjectConfig transcript_object_config = 3; - * + * .google.cloud.contactcenterinsights.v1.IngestConversationsRequest.TranscriptObjectConfig transcript_object_config = 3; */ public Builder clearTranscriptObjectConfig() { if (transcriptObjectConfigBuilder_ == null) { @@ -3456,84 +2863,50 @@ public Builder clearTranscriptObjectConfig() { return this; } /** - * - * *
      * Configuration for when `source` contains conversation transcripts.
      * 
* - * - * .google.cloud.contactcenterinsights.v1.IngestConversationsRequest.TranscriptObjectConfig transcript_object_config = 3; - * + * .google.cloud.contactcenterinsights.v1.IngestConversationsRequest.TranscriptObjectConfig transcript_object_config = 3; */ - public com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest - .TranscriptObjectConfig.Builder - getTranscriptObjectConfigBuilder() { + public com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest.TranscriptObjectConfig.Builder getTranscriptObjectConfigBuilder() { return getTranscriptObjectConfigFieldBuilder().getBuilder(); } /** - * - * *
      * Configuration for when `source` contains conversation transcripts.
      * 
* - * - * .google.cloud.contactcenterinsights.v1.IngestConversationsRequest.TranscriptObjectConfig transcript_object_config = 3; - * + * .google.cloud.contactcenterinsights.v1.IngestConversationsRequest.TranscriptObjectConfig transcript_object_config = 3; */ @java.lang.Override - public com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest - .TranscriptObjectConfigOrBuilder - getTranscriptObjectConfigOrBuilder() { + public com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest.TranscriptObjectConfigOrBuilder getTranscriptObjectConfigOrBuilder() { if ((objectConfigCase_ == 3) && (transcriptObjectConfigBuilder_ != null)) { return transcriptObjectConfigBuilder_.getMessageOrBuilder(); } else { if (objectConfigCase_ == 3) { - return (com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest - .TranscriptObjectConfig) - objectConfig_; + return (com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest.TranscriptObjectConfig) objectConfig_; } - return com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest - .TranscriptObjectConfig.getDefaultInstance(); + return com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest.TranscriptObjectConfig.getDefaultInstance(); } } /** - * - * *
      * Configuration for when `source` contains conversation transcripts.
      * 
* - * - * .google.cloud.contactcenterinsights.v1.IngestConversationsRequest.TranscriptObjectConfig transcript_object_config = 3; - * + * .google.cloud.contactcenterinsights.v1.IngestConversationsRequest.TranscriptObjectConfig transcript_object_config = 3; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest - .TranscriptObjectConfig, - com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest - .TranscriptObjectConfig.Builder, - com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest - .TranscriptObjectConfigOrBuilder> + com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest.TranscriptObjectConfig, com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest.TranscriptObjectConfig.Builder, com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest.TranscriptObjectConfigOrBuilder> getTranscriptObjectConfigFieldBuilder() { if (transcriptObjectConfigBuilder_ == null) { if (!(objectConfigCase_ == 3)) { - objectConfig_ = - com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest - .TranscriptObjectConfig.getDefaultInstance(); + objectConfig_ = com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest.TranscriptObjectConfig.getDefaultInstance(); } - transcriptObjectConfigBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest - .TranscriptObjectConfig, - com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest - .TranscriptObjectConfig.Builder, - com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest - .TranscriptObjectConfigOrBuilder>( - (com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest - .TranscriptObjectConfig) - objectConfig_, + transcriptObjectConfigBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest.TranscriptObjectConfig, com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest.TranscriptObjectConfig.Builder, com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest.TranscriptObjectConfigOrBuilder>( + (com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest.TranscriptObjectConfig) objectConfig_, getParentForChildren(), isClean()); objectConfig_ = null; @@ -3545,22 +2918,18 @@ public Builder clearTranscriptObjectConfig() { private java.lang.Object parent_ = ""; /** - * - * *
      * Required. The parent resource for new conversations.
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The parent. */ public java.lang.String getParent() { java.lang.Object ref = parent_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; @@ -3569,23 +2938,20 @@ public java.lang.String getParent() { } } /** - * - * *
      * Required. The parent resource for new conversations.
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for parent. */ - public com.google.protobuf.ByteString getParentBytes() { + public com.google.protobuf.ByteString + getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); parent_ = b; return b; } else { @@ -3593,39 +2959,28 @@ public com.google.protobuf.ByteString getParentBytes() { } } /** - * - * *
      * Required. The parent resource for new conversations.
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The parent to set. * @return This builder for chaining. */ - public Builder setParent(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setParent( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } parent_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } /** - * - * *
      * Required. The parent resource for new conversations.
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearParent() { @@ -3635,23 +2990,17 @@ public Builder clearParent() { return this; } /** - * - * *
      * Required. The parent resource for new conversations.
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setParentBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); parent_ = value; bitField0_ |= 0x00000004; @@ -3659,69 +3008,43 @@ public Builder setParentBytes(com.google.protobuf.ByteString value) { return this; } - private com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest.ConversationConfig - conversationConfig_; + private com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest.ConversationConfig conversationConfig_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest.ConversationConfig, - com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest.ConversationConfig - .Builder, - com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest - .ConversationConfigOrBuilder> - conversationConfigBuilder_; + com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest.ConversationConfig, com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest.ConversationConfig.Builder, com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest.ConversationConfigOrBuilder> conversationConfigBuilder_; /** - * - * *
      * Configuration that applies to all conversations.
      * 
* - * - * .google.cloud.contactcenterinsights.v1.IngestConversationsRequest.ConversationConfig conversation_config = 4; - * - * + * .google.cloud.contactcenterinsights.v1.IngestConversationsRequest.ConversationConfig conversation_config = 4; * @return Whether the conversationConfig field is set. */ public boolean hasConversationConfig() { return ((bitField0_ & 0x00000008) != 0); } /** - * - * *
      * Configuration that applies to all conversations.
      * 
* - * - * .google.cloud.contactcenterinsights.v1.IngestConversationsRequest.ConversationConfig conversation_config = 4; - * - * + * .google.cloud.contactcenterinsights.v1.IngestConversationsRequest.ConversationConfig conversation_config = 4; * @return The conversationConfig. */ - public com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest.ConversationConfig - getConversationConfig() { + public com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest.ConversationConfig getConversationConfig() { if (conversationConfigBuilder_ == null) { - return conversationConfig_ == null - ? com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest - .ConversationConfig.getDefaultInstance() - : conversationConfig_; + return conversationConfig_ == null ? com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest.ConversationConfig.getDefaultInstance() : conversationConfig_; } else { return conversationConfigBuilder_.getMessage(); } } /** - * - * *
      * Configuration that applies to all conversations.
      * 
* - * - * .google.cloud.contactcenterinsights.v1.IngestConversationsRequest.ConversationConfig conversation_config = 4; - * + * .google.cloud.contactcenterinsights.v1.IngestConversationsRequest.ConversationConfig conversation_config = 4; */ - public Builder setConversationConfig( - com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest.ConversationConfig - value) { + public Builder setConversationConfig(com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest.ConversationConfig value) { if (conversationConfigBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -3735,20 +3058,14 @@ public Builder setConversationConfig( return this; } /** - * - * *
      * Configuration that applies to all conversations.
      * 
* - * - * .google.cloud.contactcenterinsights.v1.IngestConversationsRequest.ConversationConfig conversation_config = 4; - * + * .google.cloud.contactcenterinsights.v1.IngestConversationsRequest.ConversationConfig conversation_config = 4; */ public Builder setConversationConfig( - com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest.ConversationConfig - .Builder - builderForValue) { + com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest.ConversationConfig.Builder builderForValue) { if (conversationConfigBuilder_ == null) { conversationConfig_ = builderForValue.build(); } else { @@ -3759,25 +3076,17 @@ public Builder setConversationConfig( return this; } /** - * - * *
      * Configuration that applies to all conversations.
      * 
* - * - * .google.cloud.contactcenterinsights.v1.IngestConversationsRequest.ConversationConfig conversation_config = 4; - * + * .google.cloud.contactcenterinsights.v1.IngestConversationsRequest.ConversationConfig conversation_config = 4; */ - public Builder mergeConversationConfig( - com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest.ConversationConfig - value) { + public Builder mergeConversationConfig(com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest.ConversationConfig value) { if (conversationConfigBuilder_ == null) { - if (((bitField0_ & 0x00000008) != 0) - && conversationConfig_ != null - && conversationConfig_ - != com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest - .ConversationConfig.getDefaultInstance()) { + if (((bitField0_ & 0x00000008) != 0) && + conversationConfig_ != null && + conversationConfig_ != com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest.ConversationConfig.getDefaultInstance()) { getConversationConfigBuilder().mergeFrom(value); } else { conversationConfig_ = value; @@ -3790,15 +3099,11 @@ public Builder mergeConversationConfig( return this; } /** - * - * *
      * Configuration that applies to all conversations.
      * 
* - * - * .google.cloud.contactcenterinsights.v1.IngestConversationsRequest.ConversationConfig conversation_config = 4; - * + * .google.cloud.contactcenterinsights.v1.IngestConversationsRequest.ConversationConfig conversation_config = 4; */ public Builder clearConversationConfig() { bitField0_ = (bitField0_ & ~0x00000008); @@ -3811,81 +3116,55 @@ public Builder clearConversationConfig() { return this; } /** - * - * *
      * Configuration that applies to all conversations.
      * 
* - * - * .google.cloud.contactcenterinsights.v1.IngestConversationsRequest.ConversationConfig conversation_config = 4; - * + * .google.cloud.contactcenterinsights.v1.IngestConversationsRequest.ConversationConfig conversation_config = 4; */ - public com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest.ConversationConfig - .Builder - getConversationConfigBuilder() { + public com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest.ConversationConfig.Builder getConversationConfigBuilder() { bitField0_ |= 0x00000008; onChanged(); return getConversationConfigFieldBuilder().getBuilder(); } /** - * - * *
      * Configuration that applies to all conversations.
      * 
* - * - * .google.cloud.contactcenterinsights.v1.IngestConversationsRequest.ConversationConfig conversation_config = 4; - * + * .google.cloud.contactcenterinsights.v1.IngestConversationsRequest.ConversationConfig conversation_config = 4; */ - public com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest - .ConversationConfigOrBuilder - getConversationConfigOrBuilder() { + public com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest.ConversationConfigOrBuilder getConversationConfigOrBuilder() { if (conversationConfigBuilder_ != null) { return conversationConfigBuilder_.getMessageOrBuilder(); } else { - return conversationConfig_ == null - ? com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest - .ConversationConfig.getDefaultInstance() - : conversationConfig_; + return conversationConfig_ == null ? + com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest.ConversationConfig.getDefaultInstance() : conversationConfig_; } } /** - * - * *
      * Configuration that applies to all conversations.
      * 
* - * - * .google.cloud.contactcenterinsights.v1.IngestConversationsRequest.ConversationConfig conversation_config = 4; - * + * .google.cloud.contactcenterinsights.v1.IngestConversationsRequest.ConversationConfig conversation_config = 4; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest.ConversationConfig, - com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest.ConversationConfig - .Builder, - com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest - .ConversationConfigOrBuilder> + com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest.ConversationConfig, com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest.ConversationConfig.Builder, com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest.ConversationConfigOrBuilder> getConversationConfigFieldBuilder() { if (conversationConfigBuilder_ == null) { - conversationConfigBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest - .ConversationConfig, - com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest - .ConversationConfig.Builder, - com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest - .ConversationConfigOrBuilder>( - getConversationConfig(), getParentForChildren(), isClean()); + conversationConfigBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest.ConversationConfig, com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest.ConversationConfig.Builder, com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest.ConversationConfigOrBuilder>( + getConversationConfig(), + getParentForChildren(), + isClean()); conversationConfig_ = null; } return conversationConfigBuilder_; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -3895,43 +3174,41 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.contactcenterinsights.v1.IngestConversationsRequest) } // @@protoc_insertion_point(class_scope:google.cloud.contactcenterinsights.v1.IngestConversationsRequest) - private static final com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest - DEFAULT_INSTANCE; - + private static final com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest(); } - public static com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest - getDefaultInstance() { + public static com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public IngestConversationsRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public IngestConversationsRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -3943,8 +3220,9 @@ public com.google.protobuf.Parser getParserForType() } @java.lang.Override - public com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest - getDefaultInstanceForType() { + public com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/IngestConversationsRequestOrBuilder.java b/owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/IngestConversationsRequestOrBuilder.java new file mode 100644 index 000000000000..af6e531f638e --- /dev/null +++ b/owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/IngestConversationsRequestOrBuilder.java @@ -0,0 +1,114 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/contactcenterinsights/v1/contact_center_insights.proto + +package com.google.cloud.contactcenterinsights.v1; + +public interface IngestConversationsRequestOrBuilder extends + // @@protoc_insertion_point(interface_extends:google.cloud.contactcenterinsights.v1.IngestConversationsRequest) + com.google.protobuf.MessageOrBuilder { + + /** + *
+   * A cloud storage bucket source.
+   * 
+ * + * .google.cloud.contactcenterinsights.v1.IngestConversationsRequest.GcsSource gcs_source = 2; + * @return Whether the gcsSource field is set. + */ + boolean hasGcsSource(); + /** + *
+   * A cloud storage bucket source.
+   * 
+ * + * .google.cloud.contactcenterinsights.v1.IngestConversationsRequest.GcsSource gcs_source = 2; + * @return The gcsSource. + */ + com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest.GcsSource getGcsSource(); + /** + *
+   * A cloud storage bucket source.
+   * 
+ * + * .google.cloud.contactcenterinsights.v1.IngestConversationsRequest.GcsSource gcs_source = 2; + */ + com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest.GcsSourceOrBuilder getGcsSourceOrBuilder(); + + /** + *
+   * Configuration for when `source` contains conversation transcripts.
+   * 
+ * + * .google.cloud.contactcenterinsights.v1.IngestConversationsRequest.TranscriptObjectConfig transcript_object_config = 3; + * @return Whether the transcriptObjectConfig field is set. + */ + boolean hasTranscriptObjectConfig(); + /** + *
+   * Configuration for when `source` contains conversation transcripts.
+   * 
+ * + * .google.cloud.contactcenterinsights.v1.IngestConversationsRequest.TranscriptObjectConfig transcript_object_config = 3; + * @return The transcriptObjectConfig. + */ + com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest.TranscriptObjectConfig getTranscriptObjectConfig(); + /** + *
+   * Configuration for when `source` contains conversation transcripts.
+   * 
+ * + * .google.cloud.contactcenterinsights.v1.IngestConversationsRequest.TranscriptObjectConfig transcript_object_config = 3; + */ + com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest.TranscriptObjectConfigOrBuilder getTranscriptObjectConfigOrBuilder(); + + /** + *
+   * Required. The parent resource for new conversations.
+   * 
+ * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The parent. + */ + java.lang.String getParent(); + /** + *
+   * Required. The parent resource for new conversations.
+   * 
+ * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The bytes for parent. + */ + com.google.protobuf.ByteString + getParentBytes(); + + /** + *
+   * Configuration that applies to all conversations.
+   * 
+ * + * .google.cloud.contactcenterinsights.v1.IngestConversationsRequest.ConversationConfig conversation_config = 4; + * @return Whether the conversationConfig field is set. + */ + boolean hasConversationConfig(); + /** + *
+   * Configuration that applies to all conversations.
+   * 
+ * + * .google.cloud.contactcenterinsights.v1.IngestConversationsRequest.ConversationConfig conversation_config = 4; + * @return The conversationConfig. + */ + com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest.ConversationConfig getConversationConfig(); + /** + *
+   * Configuration that applies to all conversations.
+   * 
+ * + * .google.cloud.contactcenterinsights.v1.IngestConversationsRequest.ConversationConfig conversation_config = 4; + */ + com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest.ConversationConfigOrBuilder getConversationConfigOrBuilder(); + + public com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest.SourceCase getSourceCase(); + + public com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest.ObjectConfigCase getObjectConfigCase(); +} diff --git a/java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/IngestConversationsResponse.java b/owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/IngestConversationsResponse.java similarity index 58% rename from java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/IngestConversationsResponse.java rename to owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/IngestConversationsResponse.java index e1973012d14f..5c028364c1cc 100644 --- a/java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/IngestConversationsResponse.java +++ b/owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/IngestConversationsResponse.java @@ -1,72 +1,53 @@ -/* - * 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. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/contactcenterinsights/v1/contact_center_insights.proto package com.google.cloud.contactcenterinsights.v1; /** - * - * *
  * The response to an IngestConversations operation.
  * 
* * Protobuf type {@code google.cloud.contactcenterinsights.v1.IngestConversationsResponse} */ -public final class IngestConversationsResponse extends com.google.protobuf.GeneratedMessageV3 - implements +public final class IngestConversationsResponse extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.contactcenterinsights.v1.IngestConversationsResponse) IngestConversationsResponseOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use IngestConversationsResponse.newBuilder() to construct. private IngestConversationsResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - - private IngestConversationsResponse() {} + private IngestConversationsResponse() { + } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new IngestConversationsResponse(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto - .internal_static_google_cloud_contactcenterinsights_v1_IngestConversationsResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto.internal_static_google_cloud_contactcenterinsights_v1_IngestConversationsResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto - .internal_static_google_cloud_contactcenterinsights_v1_IngestConversationsResponse_fieldAccessorTable + return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto.internal_static_google_cloud_contactcenterinsights_v1_IngestConversationsResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.contactcenterinsights.v1.IngestConversationsResponse.class, - com.google.cloud.contactcenterinsights.v1.IngestConversationsResponse.Builder.class); + com.google.cloud.contactcenterinsights.v1.IngestConversationsResponse.class, com.google.cloud.contactcenterinsights.v1.IngestConversationsResponse.Builder.class); } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -78,7 +59,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { getUnknownFields().writeTo(output); } @@ -96,13 +78,12 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.contactcenterinsights.v1.IngestConversationsResponse)) { return super.equals(obj); } - com.google.cloud.contactcenterinsights.v1.IngestConversationsResponse other = - (com.google.cloud.contactcenterinsights.v1.IngestConversationsResponse) obj; + com.google.cloud.contactcenterinsights.v1.IngestConversationsResponse other = (com.google.cloud.contactcenterinsights.v1.IngestConversationsResponse) obj; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -121,138 +102,129 @@ public int hashCode() { } public static com.google.cloud.contactcenterinsights.v1.IngestConversationsResponse parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.contactcenterinsights.v1.IngestConversationsResponse parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.contactcenterinsights.v1.IngestConversationsResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.contactcenterinsights.v1.IngestConversationsResponse parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.contactcenterinsights.v1.IngestConversationsResponse parseFrom( - byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.contactcenterinsights.v1.IngestConversationsResponse parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.contactcenterinsights.v1.IngestConversationsResponse parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.contactcenterinsights.v1.IngestConversationsResponse parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.contactcenterinsights.v1.IngestConversationsResponse parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.contactcenterinsights.v1.IngestConversationsResponse parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.contactcenterinsights.v1.IngestConversationsResponse - parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.contactcenterinsights.v1.IngestConversationsResponse parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - - public static com.google.cloud.contactcenterinsights.v1.IngestConversationsResponse - parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + public static com.google.cloud.contactcenterinsights.v1.IngestConversationsResponse parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.contactcenterinsights.v1.IngestConversationsResponse parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.contactcenterinsights.v1.IngestConversationsResponse parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.contactcenterinsights.v1.IngestConversationsResponse prototype) { + public static Builder newBuilder(com.google.cloud.contactcenterinsights.v1.IngestConversationsResponse prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * The response to an IngestConversations operation.
    * 
* * Protobuf type {@code google.cloud.contactcenterinsights.v1.IngestConversationsResponse} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.contactcenterinsights.v1.IngestConversationsResponse) com.google.cloud.contactcenterinsights.v1.IngestConversationsResponseOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto - .internal_static_google_cloud_contactcenterinsights_v1_IngestConversationsResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto.internal_static_google_cloud_contactcenterinsights_v1_IngestConversationsResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto - .internal_static_google_cloud_contactcenterinsights_v1_IngestConversationsResponse_fieldAccessorTable + return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto.internal_static_google_cloud_contactcenterinsights_v1_IngestConversationsResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.contactcenterinsights.v1.IngestConversationsResponse.class, - com.google.cloud.contactcenterinsights.v1.IngestConversationsResponse.Builder.class); + com.google.cloud.contactcenterinsights.v1.IngestConversationsResponse.class, com.google.cloud.contactcenterinsights.v1.IngestConversationsResponse.Builder.class); } - // Construct using - // com.google.cloud.contactcenterinsights.v1.IngestConversationsResponse.newBuilder() - private Builder() {} + // Construct using com.google.cloud.contactcenterinsights.v1.IngestConversationsResponse.newBuilder() + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -260,16 +232,14 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto - .internal_static_google_cloud_contactcenterinsights_v1_IngestConversationsResponse_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto.internal_static_google_cloud_contactcenterinsights_v1_IngestConversationsResponse_descriptor; } @java.lang.Override - public com.google.cloud.contactcenterinsights.v1.IngestConversationsResponse - getDefaultInstanceForType() { - return com.google.cloud.contactcenterinsights.v1.IngestConversationsResponse - .getDefaultInstance(); + public com.google.cloud.contactcenterinsights.v1.IngestConversationsResponse getDefaultInstanceForType() { + return com.google.cloud.contactcenterinsights.v1.IngestConversationsResponse.getDefaultInstance(); } @java.lang.Override @@ -283,8 +253,7 @@ public com.google.cloud.contactcenterinsights.v1.IngestConversationsResponse bui @java.lang.Override public com.google.cloud.contactcenterinsights.v1.IngestConversationsResponse buildPartial() { - com.google.cloud.contactcenterinsights.v1.IngestConversationsResponse result = - new com.google.cloud.contactcenterinsights.v1.IngestConversationsResponse(this); + com.google.cloud.contactcenterinsights.v1.IngestConversationsResponse result = new com.google.cloud.contactcenterinsights.v1.IngestConversationsResponse(this); onBuilt(); return result; } @@ -293,51 +262,46 @@ public com.google.cloud.contactcenterinsights.v1.IngestConversationsResponse bui public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.contactcenterinsights.v1.IngestConversationsResponse) { - return mergeFrom( - (com.google.cloud.contactcenterinsights.v1.IngestConversationsResponse) other); + return mergeFrom((com.google.cloud.contactcenterinsights.v1.IngestConversationsResponse)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom( - com.google.cloud.contactcenterinsights.v1.IngestConversationsResponse other) { - if (other - == com.google.cloud.contactcenterinsights.v1.IngestConversationsResponse - .getDefaultInstance()) return this; + public Builder mergeFrom(com.google.cloud.contactcenterinsights.v1.IngestConversationsResponse other) { + if (other == com.google.cloud.contactcenterinsights.v1.IngestConversationsResponse.getDefaultInstance()) return this; this.mergeUnknownFields(other.getUnknownFields()); onChanged(); return this; @@ -364,13 +328,12 @@ public Builder mergeFrom( case 0: done = true; break; - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -380,9 +343,9 @@ public Builder mergeFrom( } // finally return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -392,43 +355,41 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.contactcenterinsights.v1.IngestConversationsResponse) } // @@protoc_insertion_point(class_scope:google.cloud.contactcenterinsights.v1.IngestConversationsResponse) - private static final com.google.cloud.contactcenterinsights.v1.IngestConversationsResponse - DEFAULT_INSTANCE; - + private static final com.google.cloud.contactcenterinsights.v1.IngestConversationsResponse DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.cloud.contactcenterinsights.v1.IngestConversationsResponse(); } - public static com.google.cloud.contactcenterinsights.v1.IngestConversationsResponse - getDefaultInstance() { + public static com.google.cloud.contactcenterinsights.v1.IngestConversationsResponse getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public IngestConversationsResponse parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public IngestConversationsResponse parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -440,8 +401,9 @@ public com.google.protobuf.Parser getParserForType( } @java.lang.Override - public com.google.cloud.contactcenterinsights.v1.IngestConversationsResponse - getDefaultInstanceForType() { + public com.google.cloud.contactcenterinsights.v1.IngestConversationsResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/IngestConversationsResponseOrBuilder.java b/owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/IngestConversationsResponseOrBuilder.java new file mode 100644 index 000000000000..395d25acf237 --- /dev/null +++ b/owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/IngestConversationsResponseOrBuilder.java @@ -0,0 +1,9 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/contactcenterinsights/v1/contact_center_insights.proto + +package com.google.cloud.contactcenterinsights.v1; + +public interface IngestConversationsResponseOrBuilder extends + // @@protoc_insertion_point(interface_extends:google.cloud.contactcenterinsights.v1.IngestConversationsResponse) + com.google.protobuf.MessageOrBuilder { +} diff --git a/java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/Intent.java b/owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/Intent.java similarity index 67% rename from java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/Intent.java rename to owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/Intent.java index aa0d3394c7fc..e9ef9d109b7c 100644 --- a/java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/Intent.java +++ b/owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/Intent.java @@ -1,26 +1,9 @@ -/* - * 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. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/contactcenterinsights/v1/resources.proto package com.google.cloud.contactcenterinsights.v1; /** - * - * *
  * The data for an intent.
  * Represents a detected intent in the conversation, for example MAKES_PROMISE.
@@ -28,16 +11,15 @@
  *
  * Protobuf type {@code google.cloud.contactcenterinsights.v1.Intent}
  */
-public final class Intent extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class Intent extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.cloud.contactcenterinsights.v1.Intent)
     IntentOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use Intent.newBuilder() to construct.
   private Intent(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
   private Intent() {
     id_ = "";
     displayName_ = "";
@@ -45,43 +27,38 @@ private Intent() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new Intent();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet
+  getUnknownFields() {
     return this.unknownFields;
   }
-
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.cloud.contactcenterinsights.v1.ResourcesProto
-        .internal_static_google_cloud_contactcenterinsights_v1_Intent_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.cloud.contactcenterinsights.v1.ResourcesProto.internal_static_google_cloud_contactcenterinsights_v1_Intent_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.contactcenterinsights.v1.ResourcesProto
-        .internal_static_google_cloud_contactcenterinsights_v1_Intent_fieldAccessorTable
+    return com.google.cloud.contactcenterinsights.v1.ResourcesProto.internal_static_google_cloud_contactcenterinsights_v1_Intent_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.contactcenterinsights.v1.Intent.class,
-            com.google.cloud.contactcenterinsights.v1.Intent.Builder.class);
+            com.google.cloud.contactcenterinsights.v1.Intent.class, com.google.cloud.contactcenterinsights.v1.Intent.Builder.class);
   }
 
   public static final int ID_FIELD_NUMBER = 1;
-
   @SuppressWarnings("serial")
   private volatile java.lang.Object id_ = "";
   /**
-   *
-   *
    * 
    * The unique identifier of the intent.
    * 
* * string id = 1; - * * @return The id. */ @java.lang.Override @@ -90,29 +67,29 @@ public java.lang.String getId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); id_ = s; return s; } } /** - * - * *
    * The unique identifier of the intent.
    * 
* * string id = 1; - * * @return The bytes for id. */ @java.lang.Override - public com.google.protobuf.ByteString getIdBytes() { + public com.google.protobuf.ByteString + getIdBytes() { java.lang.Object ref = id_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); id_ = b; return b; } else { @@ -121,18 +98,14 @@ public com.google.protobuf.ByteString getIdBytes() { } public static final int DISPLAY_NAME_FIELD_NUMBER = 2; - @SuppressWarnings("serial") private volatile java.lang.Object displayName_ = ""; /** - * - * *
    * The human-readable name of the intent.
    * 
* * string display_name = 2; - * * @return The displayName. */ @java.lang.Override @@ -141,29 +114,29 @@ public java.lang.String getDisplayName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); displayName_ = s; return s; } } /** - * - * *
    * The human-readable name of the intent.
    * 
* * string display_name = 2; - * * @return The bytes for displayName. */ @java.lang.Override - public com.google.protobuf.ByteString getDisplayNameBytes() { + public com.google.protobuf.ByteString + getDisplayNameBytes() { java.lang.Object ref = displayName_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); displayName_ = b; return b; } else { @@ -172,7 +145,6 @@ public com.google.protobuf.ByteString getDisplayNameBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -184,7 +156,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(id_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, id_); } @@ -214,16 +187,17 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.contactcenterinsights.v1.Intent)) { return super.equals(obj); } - com.google.cloud.contactcenterinsights.v1.Intent other = - (com.google.cloud.contactcenterinsights.v1.Intent) obj; + com.google.cloud.contactcenterinsights.v1.Intent other = (com.google.cloud.contactcenterinsights.v1.Intent) obj; - if (!getId().equals(other.getId())) return false; - if (!getDisplayName().equals(other.getDisplayName())) return false; + if (!getId() + .equals(other.getId())) return false; + if (!getDisplayName() + .equals(other.getDisplayName())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -244,104 +218,97 @@ public int hashCode() { return hash; } - public static com.google.cloud.contactcenterinsights.v1.Intent parseFrom(java.nio.ByteBuffer data) + public static com.google.cloud.contactcenterinsights.v1.Intent parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.contactcenterinsights.v1.Intent parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.contactcenterinsights.v1.Intent parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.contactcenterinsights.v1.Intent parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.contactcenterinsights.v1.Intent parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.contactcenterinsights.v1.Intent parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.contactcenterinsights.v1.Intent parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.contactcenterinsights.v1.Intent parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.contactcenterinsights.v1.Intent parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.contactcenterinsights.v1.Intent parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.contactcenterinsights.v1.Intent parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.contactcenterinsights.v1.Intent parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.contactcenterinsights.v1.Intent parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.contactcenterinsights.v1.Intent parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.contactcenterinsights.v1.Intent prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * The data for an intent.
    * Represents a detected intent in the conversation, for example MAKES_PROMISE.
@@ -349,32 +316,33 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.cloud.contactcenterinsights.v1.Intent}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.cloud.contactcenterinsights.v1.Intent)
       com.google.cloud.contactcenterinsights.v1.IntentOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.cloud.contactcenterinsights.v1.ResourcesProto
-          .internal_static_google_cloud_contactcenterinsights_v1_Intent_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.cloud.contactcenterinsights.v1.ResourcesProto.internal_static_google_cloud_contactcenterinsights_v1_Intent_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.contactcenterinsights.v1.ResourcesProto
-          .internal_static_google_cloud_contactcenterinsights_v1_Intent_fieldAccessorTable
+      return com.google.cloud.contactcenterinsights.v1.ResourcesProto.internal_static_google_cloud_contactcenterinsights_v1_Intent_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.contactcenterinsights.v1.Intent.class,
-              com.google.cloud.contactcenterinsights.v1.Intent.Builder.class);
+              com.google.cloud.contactcenterinsights.v1.Intent.class, com.google.cloud.contactcenterinsights.v1.Intent.Builder.class);
     }
 
     // Construct using com.google.cloud.contactcenterinsights.v1.Intent.newBuilder()
-    private Builder() {}
+    private Builder() {
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
-      super(parent);
     }
 
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+      super(parent);
+
+    }
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -385,9 +353,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.cloud.contactcenterinsights.v1.ResourcesProto
-          .internal_static_google_cloud_contactcenterinsights_v1_Intent_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.cloud.contactcenterinsights.v1.ResourcesProto.internal_static_google_cloud_contactcenterinsights_v1_Intent_descriptor;
     }
 
     @java.lang.Override
@@ -406,11 +374,8 @@ public com.google.cloud.contactcenterinsights.v1.Intent build() {
 
     @java.lang.Override
     public com.google.cloud.contactcenterinsights.v1.Intent buildPartial() {
-      com.google.cloud.contactcenterinsights.v1.Intent result =
-          new com.google.cloud.contactcenterinsights.v1.Intent(this);
-      if (bitField0_ != 0) {
-        buildPartial0(result);
-      }
+      com.google.cloud.contactcenterinsights.v1.Intent result = new com.google.cloud.contactcenterinsights.v1.Intent(this);
+      if (bitField0_ != 0) { buildPartial0(result); }
       onBuilt();
       return result;
     }
@@ -429,39 +394,38 @@ private void buildPartial0(com.google.cloud.contactcenterinsights.v1.Intent resu
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
-
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.cloud.contactcenterinsights.v1.Intent) {
-        return mergeFrom((com.google.cloud.contactcenterinsights.v1.Intent) other);
+        return mergeFrom((com.google.cloud.contactcenterinsights.v1.Intent)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -469,8 +433,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.cloud.contactcenterinsights.v1.Intent other) {
-      if (other == com.google.cloud.contactcenterinsights.v1.Intent.getDefaultInstance())
-        return this;
+      if (other == com.google.cloud.contactcenterinsights.v1.Intent.getDefaultInstance()) return this;
       if (!other.getId().isEmpty()) {
         id_ = other.id_;
         bitField0_ |= 0x00000001;
@@ -507,25 +470,22 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10:
-              {
-                id_ = input.readStringRequireUtf8();
-                bitField0_ |= 0x00000001;
-                break;
-              } // case 10
-            case 18:
-              {
-                displayName_ = input.readStringRequireUtf8();
-                bitField0_ |= 0x00000002;
-                break;
-              } // case 18
-            default:
-              {
-                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                  done = true; // was an endgroup tag
-                }
-                break;
-              } // default:
+            case 10: {
+              id_ = input.readStringRequireUtf8();
+              bitField0_ |= 0x00000001;
+              break;
+            } // case 10
+            case 18: {
+              displayName_ = input.readStringRequireUtf8();
+              bitField0_ |= 0x00000002;
+              break;
+            } // case 18
+            default: {
+              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                done = true; // was an endgroup tag
+              }
+              break;
+            } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -535,25 +495,22 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
-
     private int bitField0_;
 
     private java.lang.Object id_ = "";
     /**
-     *
-     *
      * 
      * The unique identifier of the intent.
      * 
* * string id = 1; - * * @return The id. */ public java.lang.String getId() { java.lang.Object ref = id_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); id_ = s; return s; @@ -562,21 +519,20 @@ public java.lang.String getId() { } } /** - * - * *
      * The unique identifier of the intent.
      * 
* * string id = 1; - * * @return The bytes for id. */ - public com.google.protobuf.ByteString getIdBytes() { + public com.google.protobuf.ByteString + getIdBytes() { java.lang.Object ref = id_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); id_ = b; return b; } else { @@ -584,35 +540,28 @@ public com.google.protobuf.ByteString getIdBytes() { } } /** - * - * *
      * The unique identifier of the intent.
      * 
* * string id = 1; - * * @param value The id to set. * @return This builder for chaining. */ - public Builder setId(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setId( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } id_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
      * The unique identifier of the intent.
      * 
* * string id = 1; - * * @return This builder for chaining. */ public Builder clearId() { @@ -622,21 +571,17 @@ public Builder clearId() { return this; } /** - * - * *
      * The unique identifier of the intent.
      * 
* * string id = 1; - * * @param value The bytes for id to set. * @return This builder for chaining. */ - public Builder setIdBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setIdBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); id_ = value; bitField0_ |= 0x00000001; @@ -646,20 +591,18 @@ public Builder setIdBytes(com.google.protobuf.ByteString value) { private java.lang.Object displayName_ = ""; /** - * - * *
      * The human-readable name of the intent.
      * 
* * string display_name = 2; - * * @return The displayName. */ public java.lang.String getDisplayName() { java.lang.Object ref = displayName_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); displayName_ = s; return s; @@ -668,21 +611,20 @@ public java.lang.String getDisplayName() { } } /** - * - * *
      * The human-readable name of the intent.
      * 
* * string display_name = 2; - * * @return The bytes for displayName. */ - public com.google.protobuf.ByteString getDisplayNameBytes() { + public com.google.protobuf.ByteString + getDisplayNameBytes() { java.lang.Object ref = displayName_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); displayName_ = b; return b; } else { @@ -690,35 +632,28 @@ public com.google.protobuf.ByteString getDisplayNameBytes() { } } /** - * - * *
      * The human-readable name of the intent.
      * 
* * string display_name = 2; - * * @param value The displayName to set. * @return This builder for chaining. */ - public Builder setDisplayName(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setDisplayName( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } displayName_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** - * - * *
      * The human-readable name of the intent.
      * 
* * string display_name = 2; - * * @return This builder for chaining. */ public Builder clearDisplayName() { @@ -728,30 +663,26 @@ public Builder clearDisplayName() { return this; } /** - * - * *
      * The human-readable name of the intent.
      * 
* * string display_name = 2; - * * @param value The bytes for displayName to set. * @return This builder for chaining. */ - public Builder setDisplayNameBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setDisplayNameBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); displayName_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -761,12 +692,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.contactcenterinsights.v1.Intent) } // @@protoc_insertion_point(class_scope:google.cloud.contactcenterinsights.v1.Intent) private static final com.google.cloud.contactcenterinsights.v1.Intent DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.contactcenterinsights.v1.Intent(); } @@ -775,27 +706,27 @@ public static com.google.cloud.contactcenterinsights.v1.Intent getDefaultInstanc return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public Intent parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public Intent parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -810,4 +741,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.contactcenterinsights.v1.Intent getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/IntentMatchData.java b/owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/IntentMatchData.java similarity index 67% rename from java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/IntentMatchData.java rename to owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/IntentMatchData.java index e314deabfcc9..85d52483ffde 100644 --- a/java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/IntentMatchData.java +++ b/owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/IntentMatchData.java @@ -1,26 +1,9 @@ -/* - * 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. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/contactcenterinsights/v1/resources.proto package com.google.cloud.contactcenterinsights.v1; /** - * - * *
  * The data for an intent match.
  * Represents an intent match for a text segment in the conversation. A text
@@ -30,60 +13,54 @@
  *
  * Protobuf type {@code google.cloud.contactcenterinsights.v1.IntentMatchData}
  */
-public final class IntentMatchData extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class IntentMatchData extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.cloud.contactcenterinsights.v1.IntentMatchData)
     IntentMatchDataOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use IntentMatchData.newBuilder() to construct.
   private IntentMatchData(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
   private IntentMatchData() {
     intentUniqueId_ = "";
   }
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new IntentMatchData();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet
+  getUnknownFields() {
     return this.unknownFields;
   }
-
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.cloud.contactcenterinsights.v1.ResourcesProto
-        .internal_static_google_cloud_contactcenterinsights_v1_IntentMatchData_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.cloud.contactcenterinsights.v1.ResourcesProto.internal_static_google_cloud_contactcenterinsights_v1_IntentMatchData_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.contactcenterinsights.v1.ResourcesProto
-        .internal_static_google_cloud_contactcenterinsights_v1_IntentMatchData_fieldAccessorTable
+    return com.google.cloud.contactcenterinsights.v1.ResourcesProto.internal_static_google_cloud_contactcenterinsights_v1_IntentMatchData_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.contactcenterinsights.v1.IntentMatchData.class,
-            com.google.cloud.contactcenterinsights.v1.IntentMatchData.Builder.class);
+            com.google.cloud.contactcenterinsights.v1.IntentMatchData.class, com.google.cloud.contactcenterinsights.v1.IntentMatchData.Builder.class);
   }
 
   public static final int INTENT_UNIQUE_ID_FIELD_NUMBER = 1;
-
   @SuppressWarnings("serial")
   private volatile java.lang.Object intentUniqueId_ = "";
   /**
-   *
-   *
    * 
    * The id of the matched intent.
    * Can be used to retrieve the corresponding intent information.
    * 
* * string intent_unique_id = 1; - * * @return The intentUniqueId. */ @java.lang.Override @@ -92,30 +69,30 @@ public java.lang.String getIntentUniqueId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); intentUniqueId_ = s; return s; } } /** - * - * *
    * The id of the matched intent.
    * Can be used to retrieve the corresponding intent information.
    * 
* * string intent_unique_id = 1; - * * @return The bytes for intentUniqueId. */ @java.lang.Override - public com.google.protobuf.ByteString getIntentUniqueIdBytes() { + public com.google.protobuf.ByteString + getIntentUniqueIdBytes() { java.lang.Object ref = intentUniqueId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); intentUniqueId_ = b; return b; } else { @@ -124,7 +101,6 @@ public com.google.protobuf.ByteString getIntentUniqueIdBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -136,7 +112,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(intentUniqueId_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, intentUniqueId_); } @@ -160,15 +137,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.contactcenterinsights.v1.IntentMatchData)) { return super.equals(obj); } - com.google.cloud.contactcenterinsights.v1.IntentMatchData other = - (com.google.cloud.contactcenterinsights.v1.IntentMatchData) obj; + com.google.cloud.contactcenterinsights.v1.IntentMatchData other = (com.google.cloud.contactcenterinsights.v1.IntentMatchData) obj; - if (!getIntentUniqueId().equals(other.getIntentUniqueId())) return false; + if (!getIntentUniqueId() + .equals(other.getIntentUniqueId())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -188,104 +165,96 @@ public int hashCode() { } public static com.google.cloud.contactcenterinsights.v1.IntentMatchData parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.contactcenterinsights.v1.IntentMatchData parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.contactcenterinsights.v1.IntentMatchData parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.contactcenterinsights.v1.IntentMatchData parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.contactcenterinsights.v1.IntentMatchData parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.contactcenterinsights.v1.IntentMatchData parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.contactcenterinsights.v1.IntentMatchData parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.contactcenterinsights.v1.IntentMatchData parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.contactcenterinsights.v1.IntentMatchData parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.contactcenterinsights.v1.IntentMatchData parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.contactcenterinsights.v1.IntentMatchData parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.contactcenterinsights.v1.IntentMatchData parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.contactcenterinsights.v1.IntentMatchData parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.contactcenterinsights.v1.IntentMatchData parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.contactcenterinsights.v1.IntentMatchData prototype) { + public static Builder newBuilder(com.google.cloud.contactcenterinsights.v1.IntentMatchData prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * The data for an intent match.
    * Represents an intent match for a text segment in the conversation. A text
@@ -295,32 +264,33 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.cloud.contactcenterinsights.v1.IntentMatchData}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.cloud.contactcenterinsights.v1.IntentMatchData)
       com.google.cloud.contactcenterinsights.v1.IntentMatchDataOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.cloud.contactcenterinsights.v1.ResourcesProto
-          .internal_static_google_cloud_contactcenterinsights_v1_IntentMatchData_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.cloud.contactcenterinsights.v1.ResourcesProto.internal_static_google_cloud_contactcenterinsights_v1_IntentMatchData_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.contactcenterinsights.v1.ResourcesProto
-          .internal_static_google_cloud_contactcenterinsights_v1_IntentMatchData_fieldAccessorTable
+      return com.google.cloud.contactcenterinsights.v1.ResourcesProto.internal_static_google_cloud_contactcenterinsights_v1_IntentMatchData_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.contactcenterinsights.v1.IntentMatchData.class,
-              com.google.cloud.contactcenterinsights.v1.IntentMatchData.Builder.class);
+              com.google.cloud.contactcenterinsights.v1.IntentMatchData.class, com.google.cloud.contactcenterinsights.v1.IntentMatchData.Builder.class);
     }
 
     // Construct using com.google.cloud.contactcenterinsights.v1.IntentMatchData.newBuilder()
-    private Builder() {}
+    private Builder() {
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
-      super(parent);
     }
 
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+      super(parent);
+
+    }
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -330,9 +300,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.cloud.contactcenterinsights.v1.ResourcesProto
-          .internal_static_google_cloud_contactcenterinsights_v1_IntentMatchData_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.cloud.contactcenterinsights.v1.ResourcesProto.internal_static_google_cloud_contactcenterinsights_v1_IntentMatchData_descriptor;
     }
 
     @java.lang.Override
@@ -351,11 +321,8 @@ public com.google.cloud.contactcenterinsights.v1.IntentMatchData build() {
 
     @java.lang.Override
     public com.google.cloud.contactcenterinsights.v1.IntentMatchData buildPartial() {
-      com.google.cloud.contactcenterinsights.v1.IntentMatchData result =
-          new com.google.cloud.contactcenterinsights.v1.IntentMatchData(this);
-      if (bitField0_ != 0) {
-        buildPartial0(result);
-      }
+      com.google.cloud.contactcenterinsights.v1.IntentMatchData result = new com.google.cloud.contactcenterinsights.v1.IntentMatchData(this);
+      if (bitField0_ != 0) { buildPartial0(result); }
       onBuilt();
       return result;
     }
@@ -371,39 +338,38 @@ private void buildPartial0(com.google.cloud.contactcenterinsights.v1.IntentMatch
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
-
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.cloud.contactcenterinsights.v1.IntentMatchData) {
-        return mergeFrom((com.google.cloud.contactcenterinsights.v1.IntentMatchData) other);
+        return mergeFrom((com.google.cloud.contactcenterinsights.v1.IntentMatchData)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -411,8 +377,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.cloud.contactcenterinsights.v1.IntentMatchData other) {
-      if (other == com.google.cloud.contactcenterinsights.v1.IntentMatchData.getDefaultInstance())
-        return this;
+      if (other == com.google.cloud.contactcenterinsights.v1.IntentMatchData.getDefaultInstance()) return this;
       if (!other.getIntentUniqueId().isEmpty()) {
         intentUniqueId_ = other.intentUniqueId_;
         bitField0_ |= 0x00000001;
@@ -444,19 +409,17 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10:
-              {
-                intentUniqueId_ = input.readStringRequireUtf8();
-                bitField0_ |= 0x00000001;
-                break;
-              } // case 10
-            default:
-              {
-                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                  done = true; // was an endgroup tag
-                }
-                break;
-              } // default:
+            case 10: {
+              intentUniqueId_ = input.readStringRequireUtf8();
+              bitField0_ |= 0x00000001;
+              break;
+            } // case 10
+            default: {
+              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                done = true; // was an endgroup tag
+              }
+              break;
+            } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -466,26 +429,23 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
-
     private int bitField0_;
 
     private java.lang.Object intentUniqueId_ = "";
     /**
-     *
-     *
      * 
      * The id of the matched intent.
      * Can be used to retrieve the corresponding intent information.
      * 
* * string intent_unique_id = 1; - * * @return The intentUniqueId. */ public java.lang.String getIntentUniqueId() { java.lang.Object ref = intentUniqueId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); intentUniqueId_ = s; return s; @@ -494,22 +454,21 @@ public java.lang.String getIntentUniqueId() { } } /** - * - * *
      * The id of the matched intent.
      * Can be used to retrieve the corresponding intent information.
      * 
* * string intent_unique_id = 1; - * * @return The bytes for intentUniqueId. */ - public com.google.protobuf.ByteString getIntentUniqueIdBytes() { + public com.google.protobuf.ByteString + getIntentUniqueIdBytes() { java.lang.Object ref = intentUniqueId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); intentUniqueId_ = b; return b; } else { @@ -517,37 +476,30 @@ public com.google.protobuf.ByteString getIntentUniqueIdBytes() { } } /** - * - * *
      * The id of the matched intent.
      * Can be used to retrieve the corresponding intent information.
      * 
* * string intent_unique_id = 1; - * * @param value The intentUniqueId to set. * @return This builder for chaining. */ - public Builder setIntentUniqueId(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setIntentUniqueId( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } intentUniqueId_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
      * The id of the matched intent.
      * Can be used to retrieve the corresponding intent information.
      * 
* * string intent_unique_id = 1; - * * @return This builder for chaining. */ public Builder clearIntentUniqueId() { @@ -557,31 +509,27 @@ public Builder clearIntentUniqueId() { return this; } /** - * - * *
      * The id of the matched intent.
      * Can be used to retrieve the corresponding intent information.
      * 
* * string intent_unique_id = 1; - * * @param value The bytes for intentUniqueId to set. * @return This builder for chaining. */ - public Builder setIntentUniqueIdBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setIntentUniqueIdBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); intentUniqueId_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -591,12 +539,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.contactcenterinsights.v1.IntentMatchData) } // @@protoc_insertion_point(class_scope:google.cloud.contactcenterinsights.v1.IntentMatchData) private static final com.google.cloud.contactcenterinsights.v1.IntentMatchData DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.contactcenterinsights.v1.IntentMatchData(); } @@ -605,27 +553,27 @@ public static com.google.cloud.contactcenterinsights.v1.IntentMatchData getDefau return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public IntentMatchData parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public IntentMatchData parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -640,4 +588,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.contactcenterinsights.v1.IntentMatchData getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/IntentMatchDataOrBuilder.java b/owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/IntentMatchDataOrBuilder.java similarity index 52% rename from java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/IntentMatchDataOrBuilder.java rename to owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/IntentMatchDataOrBuilder.java index e62221e8fbed..8775deddbd9d 100644 --- a/java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/IntentMatchDataOrBuilder.java +++ b/owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/IntentMatchDataOrBuilder.java @@ -1,52 +1,31 @@ -/* - * 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. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/contactcenterinsights/v1/resources.proto package com.google.cloud.contactcenterinsights.v1; -public interface IntentMatchDataOrBuilder - extends +public interface IntentMatchDataOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.contactcenterinsights.v1.IntentMatchData) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * The id of the matched intent.
    * Can be used to retrieve the corresponding intent information.
    * 
* * string intent_unique_id = 1; - * * @return The intentUniqueId. */ java.lang.String getIntentUniqueId(); /** - * - * *
    * The id of the matched intent.
    * Can be used to retrieve the corresponding intent information.
    * 
* * string intent_unique_id = 1; - * * @return The bytes for intentUniqueId. */ - com.google.protobuf.ByteString getIntentUniqueIdBytes(); + com.google.protobuf.ByteString + getIntentUniqueIdBytes(); } diff --git a/java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/IntentOrBuilder.java b/owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/IntentOrBuilder.java similarity index 55% rename from java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/IntentOrBuilder.java rename to owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/IntentOrBuilder.java index 398131ceb707..803f52deaa2c 100644 --- a/java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/IntentOrBuilder.java +++ b/owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/IntentOrBuilder.java @@ -1,75 +1,49 @@ -/* - * 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. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/contactcenterinsights/v1/resources.proto package com.google.cloud.contactcenterinsights.v1; -public interface IntentOrBuilder - extends +public interface IntentOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.contactcenterinsights.v1.Intent) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * The unique identifier of the intent.
    * 
* * string id = 1; - * * @return The id. */ java.lang.String getId(); /** - * - * *
    * The unique identifier of the intent.
    * 
* * string id = 1; - * * @return The bytes for id. */ - com.google.protobuf.ByteString getIdBytes(); + com.google.protobuf.ByteString + getIdBytes(); /** - * - * *
    * The human-readable name of the intent.
    * 
* * string display_name = 2; - * * @return The displayName. */ java.lang.String getDisplayName(); /** - * - * *
    * The human-readable name of the intent.
    * 
* * string display_name = 2; - * * @return The bytes for displayName. */ - com.google.protobuf.ByteString getDisplayNameBytes(); + com.google.protobuf.ByteString + getDisplayNameBytes(); } diff --git a/java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/InterruptionData.java b/owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/InterruptionData.java similarity index 63% rename from java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/InterruptionData.java rename to owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/InterruptionData.java index 65bf8cada935..2b3d04e6eac2 100644 --- a/java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/InterruptionData.java +++ b/owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/InterruptionData.java @@ -1,72 +1,53 @@ -/* - * 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. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/contactcenterinsights/v1/resources.proto package com.google.cloud.contactcenterinsights.v1; /** - * - * *
  * The data for an interruption annotation.
  * 
* * Protobuf type {@code google.cloud.contactcenterinsights.v1.InterruptionData} */ -public final class InterruptionData extends com.google.protobuf.GeneratedMessageV3 - implements +public final class InterruptionData extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.contactcenterinsights.v1.InterruptionData) InterruptionDataOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use InterruptionData.newBuilder() to construct. private InterruptionData(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - - private InterruptionData() {} + private InterruptionData() { + } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new InterruptionData(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.contactcenterinsights.v1.ResourcesProto - .internal_static_google_cloud_contactcenterinsights_v1_InterruptionData_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.contactcenterinsights.v1.ResourcesProto.internal_static_google_cloud_contactcenterinsights_v1_InterruptionData_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.contactcenterinsights.v1.ResourcesProto - .internal_static_google_cloud_contactcenterinsights_v1_InterruptionData_fieldAccessorTable + return com.google.cloud.contactcenterinsights.v1.ResourcesProto.internal_static_google_cloud_contactcenterinsights_v1_InterruptionData_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.contactcenterinsights.v1.InterruptionData.class, - com.google.cloud.contactcenterinsights.v1.InterruptionData.Builder.class); + com.google.cloud.contactcenterinsights.v1.InterruptionData.class, com.google.cloud.contactcenterinsights.v1.InterruptionData.Builder.class); } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -78,7 +59,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { getUnknownFields().writeTo(output); } @@ -96,13 +78,12 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.contactcenterinsights.v1.InterruptionData)) { return super.equals(obj); } - com.google.cloud.contactcenterinsights.v1.InterruptionData other = - (com.google.cloud.contactcenterinsights.v1.InterruptionData) obj; + com.google.cloud.contactcenterinsights.v1.InterruptionData other = (com.google.cloud.contactcenterinsights.v1.InterruptionData) obj; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -121,136 +102,129 @@ public int hashCode() { } public static com.google.cloud.contactcenterinsights.v1.InterruptionData parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.contactcenterinsights.v1.InterruptionData parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.contactcenterinsights.v1.InterruptionData parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.contactcenterinsights.v1.InterruptionData parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.contactcenterinsights.v1.InterruptionData parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.contactcenterinsights.v1.InterruptionData parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.contactcenterinsights.v1.InterruptionData parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.contactcenterinsights.v1.InterruptionData parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.contactcenterinsights.v1.InterruptionData parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.contactcenterinsights.v1.InterruptionData parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.contactcenterinsights.v1.InterruptionData parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.contactcenterinsights.v1.InterruptionData parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.contactcenterinsights.v1.InterruptionData parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.contactcenterinsights.v1.InterruptionData parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.contactcenterinsights.v1.InterruptionData prototype) { + public static Builder newBuilder(com.google.cloud.contactcenterinsights.v1.InterruptionData prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * The data for an interruption annotation.
    * 
* * Protobuf type {@code google.cloud.contactcenterinsights.v1.InterruptionData} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.contactcenterinsights.v1.InterruptionData) com.google.cloud.contactcenterinsights.v1.InterruptionDataOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.contactcenterinsights.v1.ResourcesProto - .internal_static_google_cloud_contactcenterinsights_v1_InterruptionData_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.contactcenterinsights.v1.ResourcesProto.internal_static_google_cloud_contactcenterinsights_v1_InterruptionData_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.contactcenterinsights.v1.ResourcesProto - .internal_static_google_cloud_contactcenterinsights_v1_InterruptionData_fieldAccessorTable + return com.google.cloud.contactcenterinsights.v1.ResourcesProto.internal_static_google_cloud_contactcenterinsights_v1_InterruptionData_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.contactcenterinsights.v1.InterruptionData.class, - com.google.cloud.contactcenterinsights.v1.InterruptionData.Builder.class); + com.google.cloud.contactcenterinsights.v1.InterruptionData.class, com.google.cloud.contactcenterinsights.v1.InterruptionData.Builder.class); } // Construct using com.google.cloud.contactcenterinsights.v1.InterruptionData.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -258,9 +232,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.contactcenterinsights.v1.ResourcesProto - .internal_static_google_cloud_contactcenterinsights_v1_InterruptionData_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.contactcenterinsights.v1.ResourcesProto.internal_static_google_cloud_contactcenterinsights_v1_InterruptionData_descriptor; } @java.lang.Override @@ -279,8 +253,7 @@ public com.google.cloud.contactcenterinsights.v1.InterruptionData build() { @java.lang.Override public com.google.cloud.contactcenterinsights.v1.InterruptionData buildPartial() { - com.google.cloud.contactcenterinsights.v1.InterruptionData result = - new com.google.cloud.contactcenterinsights.v1.InterruptionData(this); + com.google.cloud.contactcenterinsights.v1.InterruptionData result = new com.google.cloud.contactcenterinsights.v1.InterruptionData(this); onBuilt(); return result; } @@ -289,39 +262,38 @@ public com.google.cloud.contactcenterinsights.v1.InterruptionData buildPartial() public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.contactcenterinsights.v1.InterruptionData) { - return mergeFrom((com.google.cloud.contactcenterinsights.v1.InterruptionData) other); + return mergeFrom((com.google.cloud.contactcenterinsights.v1.InterruptionData)other); } else { super.mergeFrom(other); return this; @@ -329,8 +301,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.contactcenterinsights.v1.InterruptionData other) { - if (other == com.google.cloud.contactcenterinsights.v1.InterruptionData.getDefaultInstance()) - return this; + if (other == com.google.cloud.contactcenterinsights.v1.InterruptionData.getDefaultInstance()) return this; this.mergeUnknownFields(other.getUnknownFields()); onChanged(); return this; @@ -357,13 +328,12 @@ public Builder mergeFrom( case 0: done = true; break; - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -373,9 +343,9 @@ public Builder mergeFrom( } // finally return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -385,12 +355,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.contactcenterinsights.v1.InterruptionData) } // @@protoc_insertion_point(class_scope:google.cloud.contactcenterinsights.v1.InterruptionData) private static final com.google.cloud.contactcenterinsights.v1.InterruptionData DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.contactcenterinsights.v1.InterruptionData(); } @@ -399,27 +369,27 @@ public static com.google.cloud.contactcenterinsights.v1.InterruptionData getDefa return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public InterruptionData parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public InterruptionData parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -434,4 +404,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.contactcenterinsights.v1.InterruptionData getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/InterruptionDataOrBuilder.java b/owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/InterruptionDataOrBuilder.java new file mode 100644 index 000000000000..5e379cd6c3ea --- /dev/null +++ b/owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/InterruptionDataOrBuilder.java @@ -0,0 +1,9 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/contactcenterinsights/v1/resources.proto + +package com.google.cloud.contactcenterinsights.v1; + +public interface InterruptionDataOrBuilder extends + // @@protoc_insertion_point(interface_extends:google.cloud.contactcenterinsights.v1.InterruptionData) + com.google.protobuf.MessageOrBuilder { +} diff --git a/java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/Issue.java b/owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/Issue.java similarity index 67% rename from java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/Issue.java rename to owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/Issue.java index 565b55e2bd88..8193574f8565 100644 --- a/java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/Issue.java +++ b/owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/Issue.java @@ -1,42 +1,24 @@ -/* - * 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. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/contactcenterinsights/v1/resources.proto package com.google.cloud.contactcenterinsights.v1; /** - * - * *
  * The issue resource.
  * 
* * Protobuf type {@code google.cloud.contactcenterinsights.v1.Issue} */ -public final class Issue extends com.google.protobuf.GeneratedMessageV3 - implements +public final class Issue extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.contactcenterinsights.v1.Issue) IssueOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use Issue.newBuilder() to construct. private Issue(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private Issue() { name_ = ""; displayName_ = ""; @@ -45,37 +27,33 @@ private Issue() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new Issue(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.contactcenterinsights.v1.ResourcesProto - .internal_static_google_cloud_contactcenterinsights_v1_Issue_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.contactcenterinsights.v1.ResourcesProto.internal_static_google_cloud_contactcenterinsights_v1_Issue_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.contactcenterinsights.v1.ResourcesProto - .internal_static_google_cloud_contactcenterinsights_v1_Issue_fieldAccessorTable + return com.google.cloud.contactcenterinsights.v1.ResourcesProto.internal_static_google_cloud_contactcenterinsights_v1_Issue_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.contactcenterinsights.v1.Issue.class, - com.google.cloud.contactcenterinsights.v1.Issue.Builder.class); + com.google.cloud.contactcenterinsights.v1.Issue.class, com.google.cloud.contactcenterinsights.v1.Issue.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; - @SuppressWarnings("serial") private volatile java.lang.Object name_ = ""; /** - * - * *
    * Immutable. The resource name of the issue.
    * Format:
@@ -83,7 +61,6 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
    * 
* * string name = 1 [(.google.api.field_behavior) = IMMUTABLE]; - * * @return The name. */ @java.lang.Override @@ -92,15 +69,14 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** - * - * *
    * Immutable. The resource name of the issue.
    * Format:
@@ -108,15 +84,16 @@ public java.lang.String getName() {
    * 
* * string name = 1 [(.google.api.field_behavior) = IMMUTABLE]; - * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -125,18 +102,14 @@ public com.google.protobuf.ByteString getNameBytes() { } public static final int DISPLAY_NAME_FIELD_NUMBER = 2; - @SuppressWarnings("serial") private volatile java.lang.Object displayName_ = ""; /** - * - * *
    * The representative name for the issue.
    * 
* * string display_name = 2; - * * @return The displayName. */ @java.lang.Override @@ -145,29 +118,29 @@ public java.lang.String getDisplayName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); displayName_ = s; return s; } } /** - * - * *
    * The representative name for the issue.
    * 
* * string display_name = 2; - * * @return The bytes for displayName. */ @java.lang.Override - public com.google.protobuf.ByteString getDisplayNameBytes() { + public com.google.protobuf.ByteString + getDisplayNameBytes() { java.lang.Object ref = displayName_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); displayName_ = b; return b; } else { @@ -178,15 +151,11 @@ public com.google.protobuf.ByteString getDisplayNameBytes() { public static final int CREATE_TIME_FIELD_NUMBER = 3; private com.google.protobuf.Timestamp createTime_; /** - * - * *
    * Output only. The time at which this issue was created.
    * 
* - * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the createTime field is set. */ @java.lang.Override @@ -194,15 +163,11 @@ public boolean hasCreateTime() { return createTime_ != null; } /** - * - * *
    * Output only. The time at which this issue was created.
    * 
* - * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The createTime. */ @java.lang.Override @@ -210,14 +175,11 @@ public com.google.protobuf.Timestamp getCreateTime() { return createTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : createTime_; } /** - * - * *
    * Output only. The time at which this issue was created.
    * 
* - * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ @java.lang.Override public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { @@ -227,15 +189,11 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { public static final int UPDATE_TIME_FIELD_NUMBER = 4; private com.google.protobuf.Timestamp updateTime_; /** - * - * *
    * Output only. The most recent time that this issue was updated.
    * 
* - * .google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the updateTime field is set. */ @java.lang.Override @@ -243,15 +201,11 @@ public boolean hasUpdateTime() { return updateTime_ != null; } /** - * - * *
    * Output only. The most recent time that this issue was updated.
    * 
* - * .google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The updateTime. */ @java.lang.Override @@ -259,14 +213,11 @@ public com.google.protobuf.Timestamp getUpdateTime() { return updateTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : updateTime_; } /** - * - * *
    * Output only. The most recent time that this issue was updated.
    * 
* - * .google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ @java.lang.Override public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { @@ -274,52 +225,40 @@ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { } public static final int SAMPLE_UTTERANCES_FIELD_NUMBER = 6; - @SuppressWarnings("serial") private com.google.protobuf.LazyStringList sampleUtterances_; /** - * - * *
-   * Output only. Resource names of the sample representative utterances that match to this
-   * issue.
+   * Output only. Resource names of the sample representative utterances that
+   * match to this issue.
    * 
* - * repeated string sample_utterances = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * repeated string sample_utterances = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return A list containing the sampleUtterances. */ - public com.google.protobuf.ProtocolStringList getSampleUtterancesList() { + public com.google.protobuf.ProtocolStringList + getSampleUtterancesList() { return sampleUtterances_; } /** - * - * *
-   * Output only. Resource names of the sample representative utterances that match to this
-   * issue.
+   * Output only. Resource names of the sample representative utterances that
+   * match to this issue.
    * 
* - * repeated string sample_utterances = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * repeated string sample_utterances = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The count of sampleUtterances. */ public int getSampleUtterancesCount() { return sampleUtterances_.size(); } /** - * - * *
-   * Output only. Resource names of the sample representative utterances that match to this
-   * issue.
+   * Output only. Resource names of the sample representative utterances that
+   * match to this issue.
    * 
* - * repeated string sample_utterances = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * repeated string sample_utterances = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @param index The index of the element to return. * @return The sampleUtterances at the given index. */ @@ -327,25 +266,21 @@ public java.lang.String getSampleUtterances(int index) { return sampleUtterances_.get(index); } /** - * - * *
-   * Output only. Resource names of the sample representative utterances that match to this
-   * issue.
+   * Output only. Resource names of the sample representative utterances that
+   * match to this issue.
    * 
* - * repeated string sample_utterances = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * repeated string sample_utterances = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @param index The index of the value to return. * @return The bytes of the sampleUtterances at the given index. */ - public com.google.protobuf.ByteString getSampleUtterancesBytes(int index) { + public com.google.protobuf.ByteString + getSampleUtterancesBytes(int index) { return sampleUtterances_.getByteString(index); } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -357,7 +292,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -389,10 +325,12 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, displayName_); } if (createTime_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getCreateTime()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(3, getCreateTime()); } if (updateTime_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(4, getUpdateTime()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(4, getUpdateTime()); } { int dataSize = 0; @@ -410,25 +348,29 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.contactcenterinsights.v1.Issue)) { return super.equals(obj); } - com.google.cloud.contactcenterinsights.v1.Issue other = - (com.google.cloud.contactcenterinsights.v1.Issue) obj; + com.google.cloud.contactcenterinsights.v1.Issue other = (com.google.cloud.contactcenterinsights.v1.Issue) obj; - if (!getName().equals(other.getName())) return false; - if (!getDisplayName().equals(other.getDisplayName())) return false; + if (!getName() + .equals(other.getName())) return false; + if (!getDisplayName() + .equals(other.getDisplayName())) return false; if (hasCreateTime() != other.hasCreateTime()) return false; if (hasCreateTime()) { - if (!getCreateTime().equals(other.getCreateTime())) return false; + if (!getCreateTime() + .equals(other.getCreateTime())) return false; } if (hasUpdateTime() != other.hasUpdateTime()) return false; if (hasUpdateTime()) { - if (!getUpdateTime().equals(other.getUpdateTime())) return false; + if (!getUpdateTime() + .equals(other.getUpdateTime())) return false; } - if (!getSampleUtterancesList().equals(other.getSampleUtterancesList())) return false; + if (!getSampleUtterancesList() + .equals(other.getSampleUtterancesList())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -461,136 +403,130 @@ public int hashCode() { return hash; } - public static com.google.cloud.contactcenterinsights.v1.Issue parseFrom(java.nio.ByteBuffer data) + public static com.google.cloud.contactcenterinsights.v1.Issue parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.contactcenterinsights.v1.Issue parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.contactcenterinsights.v1.Issue parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.contactcenterinsights.v1.Issue parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.contactcenterinsights.v1.Issue parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.contactcenterinsights.v1.Issue parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.contactcenterinsights.v1.Issue parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.contactcenterinsights.v1.Issue parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.contactcenterinsights.v1.Issue parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.contactcenterinsights.v1.Issue parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.contactcenterinsights.v1.Issue parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.contactcenterinsights.v1.Issue parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.contactcenterinsights.v1.Issue parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.contactcenterinsights.v1.Issue prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * The issue resource.
    * 
* * Protobuf type {@code google.cloud.contactcenterinsights.v1.Issue} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.contactcenterinsights.v1.Issue) com.google.cloud.contactcenterinsights.v1.IssueOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.contactcenterinsights.v1.ResourcesProto - .internal_static_google_cloud_contactcenterinsights_v1_Issue_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.contactcenterinsights.v1.ResourcesProto.internal_static_google_cloud_contactcenterinsights_v1_Issue_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.contactcenterinsights.v1.ResourcesProto - .internal_static_google_cloud_contactcenterinsights_v1_Issue_fieldAccessorTable + return com.google.cloud.contactcenterinsights.v1.ResourcesProto.internal_static_google_cloud_contactcenterinsights_v1_Issue_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.contactcenterinsights.v1.Issue.class, - com.google.cloud.contactcenterinsights.v1.Issue.Builder.class); + com.google.cloud.contactcenterinsights.v1.Issue.class, com.google.cloud.contactcenterinsights.v1.Issue.Builder.class); } // Construct using com.google.cloud.contactcenterinsights.v1.Issue.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -613,9 +549,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.contactcenterinsights.v1.ResourcesProto - .internal_static_google_cloud_contactcenterinsights_v1_Issue_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.contactcenterinsights.v1.ResourcesProto.internal_static_google_cloud_contactcenterinsights_v1_Issue_descriptor; } @java.lang.Override @@ -634,18 +570,14 @@ public com.google.cloud.contactcenterinsights.v1.Issue build() { @java.lang.Override public com.google.cloud.contactcenterinsights.v1.Issue buildPartial() { - com.google.cloud.contactcenterinsights.v1.Issue result = - new com.google.cloud.contactcenterinsights.v1.Issue(this); + com.google.cloud.contactcenterinsights.v1.Issue result = new com.google.cloud.contactcenterinsights.v1.Issue(this); buildPartialRepeatedFields(result); - if (bitField0_ != 0) { - buildPartial0(result); - } + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } - private void buildPartialRepeatedFields( - com.google.cloud.contactcenterinsights.v1.Issue result) { + private void buildPartialRepeatedFields(com.google.cloud.contactcenterinsights.v1.Issue result) { if (((bitField0_ & 0x00000010) != 0)) { sampleUtterances_ = sampleUtterances_.getUnmodifiableView(); bitField0_ = (bitField0_ & ~0x00000010); @@ -662,10 +594,14 @@ private void buildPartial0(com.google.cloud.contactcenterinsights.v1.Issue resul result.displayName_ = displayName_; } if (((from_bitField0_ & 0x00000004) != 0)) { - result.createTime_ = createTimeBuilder_ == null ? createTime_ : createTimeBuilder_.build(); + result.createTime_ = createTimeBuilder_ == null + ? createTime_ + : createTimeBuilder_.build(); } if (((from_bitField0_ & 0x00000008) != 0)) { - result.updateTime_ = updateTimeBuilder_ == null ? updateTime_ : updateTimeBuilder_.build(); + result.updateTime_ = updateTimeBuilder_ == null + ? updateTime_ + : updateTimeBuilder_.build(); } } @@ -673,39 +609,38 @@ private void buildPartial0(com.google.cloud.contactcenterinsights.v1.Issue resul public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.contactcenterinsights.v1.Issue) { - return mergeFrom((com.google.cloud.contactcenterinsights.v1.Issue) other); + return mergeFrom((com.google.cloud.contactcenterinsights.v1.Issue)other); } else { super.mergeFrom(other); return this; @@ -713,8 +648,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.contactcenterinsights.v1.Issue other) { - if (other == com.google.cloud.contactcenterinsights.v1.Issue.getDefaultInstance()) - return this; + if (other == com.google.cloud.contactcenterinsights.v1.Issue.getDefaultInstance()) return this; if (!other.getName().isEmpty()) { name_ = other.name_; bitField0_ |= 0x00000001; @@ -767,44 +701,42 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - name_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: - { - displayName_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000002; - break; - } // case 18 - case 26: - { - input.readMessage(getCreateTimeFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00000004; - break; - } // case 26 - case 34: - { - input.readMessage(getUpdateTimeFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00000008; - break; - } // case 34 - case 50: - { - java.lang.String s = input.readStringRequireUtf8(); - ensureSampleUtterancesIsMutable(); - sampleUtterances_.add(s); - break; - } // case 50 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + name_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: { + displayName_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + break; + } // case 18 + case 26: { + input.readMessage( + getCreateTimeFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00000004; + break; + } // case 26 + case 34: { + input.readMessage( + getUpdateTimeFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00000008; + break; + } // case 34 + case 50: { + java.lang.String s = input.readStringRequireUtf8(); + ensureSampleUtterancesIsMutable(); + sampleUtterances_.add(s); + break; + } // case 50 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -814,13 +746,10 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private java.lang.Object name_ = ""; /** - * - * *
      * Immutable. The resource name of the issue.
      * Format:
@@ -828,13 +757,13 @@ public Builder mergeFrom(
      * 
* * string name = 1 [(.google.api.field_behavior) = IMMUTABLE]; - * * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -843,8 +772,6 @@ public java.lang.String getName() { } } /** - * - * *
      * Immutable. The resource name of the issue.
      * Format:
@@ -852,14 +779,15 @@ public java.lang.String getName() {
      * 
* * string name = 1 [(.google.api.field_behavior) = IMMUTABLE]; - * * @return The bytes for name. */ - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -867,8 +795,6 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * Immutable. The resource name of the issue.
      * Format:
@@ -876,22 +802,18 @@ public com.google.protobuf.ByteString getNameBytes() {
      * 
* * string name = 1 [(.google.api.field_behavior) = IMMUTABLE]; - * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setName( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } name_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
      * Immutable. The resource name of the issue.
      * Format:
@@ -899,7 +821,6 @@ public Builder setName(java.lang.String value) {
      * 
* * string name = 1 [(.google.api.field_behavior) = IMMUTABLE]; - * * @return This builder for chaining. */ public Builder clearName() { @@ -909,8 +830,6 @@ public Builder clearName() { return this; } /** - * - * *
      * Immutable. The resource name of the issue.
      * Format:
@@ -918,14 +837,12 @@ public Builder clearName() {
      * 
* * string name = 1 [(.google.api.field_behavior) = IMMUTABLE]; - * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setNameBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); name_ = value; bitField0_ |= 0x00000001; @@ -935,20 +852,18 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) { private java.lang.Object displayName_ = ""; /** - * - * *
      * The representative name for the issue.
      * 
* * string display_name = 2; - * * @return The displayName. */ public java.lang.String getDisplayName() { java.lang.Object ref = displayName_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); displayName_ = s; return s; @@ -957,21 +872,20 @@ public java.lang.String getDisplayName() { } } /** - * - * *
      * The representative name for the issue.
      * 
* * string display_name = 2; - * * @return The bytes for displayName. */ - public com.google.protobuf.ByteString getDisplayNameBytes() { + public com.google.protobuf.ByteString + getDisplayNameBytes() { java.lang.Object ref = displayName_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); displayName_ = b; return b; } else { @@ -979,35 +893,28 @@ public com.google.protobuf.ByteString getDisplayNameBytes() { } } /** - * - * *
      * The representative name for the issue.
      * 
* * string display_name = 2; - * * @param value The displayName to set. * @return This builder for chaining. */ - public Builder setDisplayName(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setDisplayName( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } displayName_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** - * - * *
      * The representative name for the issue.
      * 
* * string display_name = 2; - * * @return This builder for chaining. */ public Builder clearDisplayName() { @@ -1017,21 +924,17 @@ public Builder clearDisplayName() { return this; } /** - * - * *
      * The representative name for the issue.
      * 
* * string display_name = 2; - * * @param value The bytes for displayName to set. * @return This builder for chaining. */ - public Builder setDisplayNameBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setDisplayNameBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); displayName_ = value; bitField0_ |= 0x00000002; @@ -1041,58 +944,39 @@ public Builder setDisplayNameBytes(com.google.protobuf.ByteString value) { private com.google.protobuf.Timestamp createTime_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> - createTimeBuilder_; + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> createTimeBuilder_; /** - * - * *
      * Output only. The time at which this issue was created.
      * 
* - * - * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the createTime field is set. */ public boolean hasCreateTime() { return ((bitField0_ & 0x00000004) != 0); } /** - * - * *
      * Output only. The time at which this issue was created.
      * 
* - * - * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The createTime. */ public com.google.protobuf.Timestamp getCreateTime() { if (createTimeBuilder_ == null) { - return createTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : createTime_; + return createTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : createTime_; } else { return createTimeBuilder_.getMessage(); } } /** - * - * *
      * Output only. The time at which this issue was created.
      * 
* - * - * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder setCreateTime(com.google.protobuf.Timestamp value) { if (createTimeBuilder_ == null) { @@ -1108,17 +992,14 @@ public Builder setCreateTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * Output only. The time at which this issue was created.
      * 
* - * - * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - public Builder setCreateTime(com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setCreateTime( + com.google.protobuf.Timestamp.Builder builderForValue) { if (createTimeBuilder_ == null) { createTime_ = builderForValue.build(); } else { @@ -1129,21 +1010,17 @@ public Builder setCreateTime(com.google.protobuf.Timestamp.Builder builderForVal return this; } /** - * - * *
      * Output only. The time at which this issue was created.
      * 
* - * - * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder mergeCreateTime(com.google.protobuf.Timestamp value) { if (createTimeBuilder_ == null) { - if (((bitField0_ & 0x00000004) != 0) - && createTime_ != null - && createTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { + if (((bitField0_ & 0x00000004) != 0) && + createTime_ != null && + createTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { getCreateTimeBuilder().mergeFrom(value); } else { createTime_ = value; @@ -1156,15 +1033,11 @@ public Builder mergeCreateTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * Output only. The time at which this issue was created.
      * 
* - * - * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder clearCreateTime() { bitField0_ = (bitField0_ & ~0x00000004); @@ -1177,15 +1050,11 @@ public Builder clearCreateTime() { return this; } /** - * - * *
      * Output only. The time at which this issue was created.
      * 
* - * - * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public com.google.protobuf.Timestamp.Builder getCreateTimeBuilder() { bitField0_ |= 0x00000004; @@ -1193,48 +1062,36 @@ public com.google.protobuf.Timestamp.Builder getCreateTimeBuilder() { return getCreateTimeFieldBuilder().getBuilder(); } /** - * - * *
      * Output only. The time at which this issue was created.
      * 
* - * - * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { if (createTimeBuilder_ != null) { return createTimeBuilder_.getMessageOrBuilder(); } else { - return createTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : createTime_; + return createTime_ == null ? + com.google.protobuf.Timestamp.getDefaultInstance() : createTime_; } } /** - * - * *
      * Output only. The time at which this issue was created.
      * 
* - * - * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> getCreateTimeFieldBuilder() { if (createTimeBuilder_ == null) { - createTimeBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder>( - getCreateTime(), getParentForChildren(), isClean()); + createTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( + getCreateTime(), + getParentForChildren(), + isClean()); createTime_ = null; } return createTimeBuilder_; @@ -1242,58 +1099,39 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { private com.google.protobuf.Timestamp updateTime_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> - updateTimeBuilder_; + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> updateTimeBuilder_; /** - * - * *
      * Output only. The most recent time that this issue was updated.
      * 
* - * - * .google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the updateTime field is set. */ public boolean hasUpdateTime() { return ((bitField0_ & 0x00000008) != 0); } /** - * - * *
      * Output only. The most recent time that this issue was updated.
      * 
* - * - * .google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The updateTime. */ public com.google.protobuf.Timestamp getUpdateTime() { if (updateTimeBuilder_ == null) { - return updateTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : updateTime_; + return updateTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : updateTime_; } else { return updateTimeBuilder_.getMessage(); } } /** - * - * *
      * Output only. The most recent time that this issue was updated.
      * 
* - * - * .google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder setUpdateTime(com.google.protobuf.Timestamp value) { if (updateTimeBuilder_ == null) { @@ -1309,17 +1147,14 @@ public Builder setUpdateTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * Output only. The most recent time that this issue was updated.
      * 
* - * - * .google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - public Builder setUpdateTime(com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setUpdateTime( + com.google.protobuf.Timestamp.Builder builderForValue) { if (updateTimeBuilder_ == null) { updateTime_ = builderForValue.build(); } else { @@ -1330,21 +1165,17 @@ public Builder setUpdateTime(com.google.protobuf.Timestamp.Builder builderForVal return this; } /** - * - * *
      * Output only. The most recent time that this issue was updated.
      * 
* - * - * .google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder mergeUpdateTime(com.google.protobuf.Timestamp value) { if (updateTimeBuilder_ == null) { - if (((bitField0_ & 0x00000008) != 0) - && updateTime_ != null - && updateTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { + if (((bitField0_ & 0x00000008) != 0) && + updateTime_ != null && + updateTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { getUpdateTimeBuilder().mergeFrom(value); } else { updateTime_ = value; @@ -1357,15 +1188,11 @@ public Builder mergeUpdateTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * Output only. The most recent time that this issue was updated.
      * 
* - * - * .google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder clearUpdateTime() { bitField0_ = (bitField0_ & ~0x00000008); @@ -1378,15 +1205,11 @@ public Builder clearUpdateTime() { return this; } /** - * - * *
      * Output only. The most recent time that this issue was updated.
      * 
* - * - * .google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public com.google.protobuf.Timestamp.Builder getUpdateTimeBuilder() { bitField0_ |= 0x00000008; @@ -1394,105 +1217,80 @@ public com.google.protobuf.Timestamp.Builder getUpdateTimeBuilder() { return getUpdateTimeFieldBuilder().getBuilder(); } /** - * - * *
      * Output only. The most recent time that this issue was updated.
      * 
* - * - * .google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { if (updateTimeBuilder_ != null) { return updateTimeBuilder_.getMessageOrBuilder(); } else { - return updateTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : updateTime_; + return updateTime_ == null ? + com.google.protobuf.Timestamp.getDefaultInstance() : updateTime_; } } /** - * - * *
      * Output only. The most recent time that this issue was updated.
      * 
* - * - * .google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> getUpdateTimeFieldBuilder() { if (updateTimeBuilder_ == null) { - updateTimeBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder>( - getUpdateTime(), getParentForChildren(), isClean()); + updateTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( + getUpdateTime(), + getParentForChildren(), + isClean()); updateTime_ = null; } return updateTimeBuilder_; } - private com.google.protobuf.LazyStringList sampleUtterances_ = - com.google.protobuf.LazyStringArrayList.EMPTY; - + private com.google.protobuf.LazyStringList sampleUtterances_ = com.google.protobuf.LazyStringArrayList.EMPTY; private void ensureSampleUtterancesIsMutable() { if (!((bitField0_ & 0x00000010) != 0)) { sampleUtterances_ = new com.google.protobuf.LazyStringArrayList(sampleUtterances_); bitField0_ |= 0x00000010; - } + } } /** - * - * *
-     * Output only. Resource names of the sample representative utterances that match to this
-     * issue.
+     * Output only. Resource names of the sample representative utterances that
+     * match to this issue.
      * 
* - * repeated string sample_utterances = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * repeated string sample_utterances = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return A list containing the sampleUtterances. */ - public com.google.protobuf.ProtocolStringList getSampleUtterancesList() { + public com.google.protobuf.ProtocolStringList + getSampleUtterancesList() { return sampleUtterances_.getUnmodifiableView(); } /** - * - * *
-     * Output only. Resource names of the sample representative utterances that match to this
-     * issue.
+     * Output only. Resource names of the sample representative utterances that
+     * match to this issue.
      * 
* - * repeated string sample_utterances = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * repeated string sample_utterances = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The count of sampleUtterances. */ public int getSampleUtterancesCount() { return sampleUtterances_.size(); } /** - * - * *
-     * Output only. Resource names of the sample representative utterances that match to this
-     * issue.
+     * Output only. Resource names of the sample representative utterances that
+     * match to this issue.
      * 
* - * repeated string sample_utterances = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * repeated string sample_utterances = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @param index The index of the element to return. * @return The sampleUtterances at the given index. */ @@ -1500,100 +1298,81 @@ public java.lang.String getSampleUtterances(int index) { return sampleUtterances_.get(index); } /** - * - * *
-     * Output only. Resource names of the sample representative utterances that match to this
-     * issue.
+     * Output only. Resource names of the sample representative utterances that
+     * match to this issue.
      * 
* - * repeated string sample_utterances = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * repeated string sample_utterances = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @param index The index of the value to return. * @return The bytes of the sampleUtterances at the given index. */ - public com.google.protobuf.ByteString getSampleUtterancesBytes(int index) { + public com.google.protobuf.ByteString + getSampleUtterancesBytes(int index) { return sampleUtterances_.getByteString(index); } /** - * - * *
-     * Output only. Resource names of the sample representative utterances that match to this
-     * issue.
+     * Output only. Resource names of the sample representative utterances that
+     * match to this issue.
      * 
* - * repeated string sample_utterances = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * repeated string sample_utterances = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @param index The index to set the value at. * @param value The sampleUtterances to set. * @return This builder for chaining. */ - public Builder setSampleUtterances(int index, java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setSampleUtterances( + int index, java.lang.String value) { + if (value == null) { throw new NullPointerException(); } ensureSampleUtterancesIsMutable(); sampleUtterances_.set(index, value); onChanged(); return this; } /** - * - * *
-     * Output only. Resource names of the sample representative utterances that match to this
-     * issue.
+     * Output only. Resource names of the sample representative utterances that
+     * match to this issue.
      * 
* - * repeated string sample_utterances = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * repeated string sample_utterances = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @param value The sampleUtterances to add. * @return This builder for chaining. */ - public Builder addSampleUtterances(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder addSampleUtterances( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } ensureSampleUtterancesIsMutable(); sampleUtterances_.add(value); onChanged(); return this; } /** - * - * *
-     * Output only. Resource names of the sample representative utterances that match to this
-     * issue.
+     * Output only. Resource names of the sample representative utterances that
+     * match to this issue.
      * 
* - * repeated string sample_utterances = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * repeated string sample_utterances = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @param values The sampleUtterances to add. * @return This builder for chaining. */ - public Builder addAllSampleUtterances(java.lang.Iterable values) { + public Builder addAllSampleUtterances( + java.lang.Iterable values) { ensureSampleUtterancesIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, sampleUtterances_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, sampleUtterances_); onChanged(); return this; } /** - * - * *
-     * Output only. Resource names of the sample representative utterances that match to this
-     * issue.
+     * Output only. Resource names of the sample representative utterances that
+     * match to this issue.
      * 
* - * repeated string sample_utterances = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * repeated string sample_utterances = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return This builder for chaining. */ public Builder clearSampleUtterances() { @@ -1603,32 +1382,27 @@ public Builder clearSampleUtterances() { return this; } /** - * - * *
-     * Output only. Resource names of the sample representative utterances that match to this
-     * issue.
+     * Output only. Resource names of the sample representative utterances that
+     * match to this issue.
      * 
* - * repeated string sample_utterances = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * repeated string sample_utterances = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @param value The bytes of the sampleUtterances to add. * @return This builder for chaining. */ - public Builder addSampleUtterancesBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder addSampleUtterancesBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); ensureSampleUtterancesIsMutable(); sampleUtterances_.add(value); onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1638,12 +1412,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.contactcenterinsights.v1.Issue) } // @@protoc_insertion_point(class_scope:google.cloud.contactcenterinsights.v1.Issue) private static final com.google.cloud.contactcenterinsights.v1.Issue DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.contactcenterinsights.v1.Issue(); } @@ -1652,27 +1426,27 @@ public static com.google.cloud.contactcenterinsights.v1.Issue getDefaultInstance return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public Issue parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public Issue parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1687,4 +1461,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.contactcenterinsights.v1.Issue getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/IssueAssignment.java b/owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/IssueAssignment.java similarity index 68% rename from java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/IssueAssignment.java rename to owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/IssueAssignment.java index 35ede4a1a4d7..2de1e8834d72 100644 --- a/java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/IssueAssignment.java +++ b/owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/IssueAssignment.java @@ -1,42 +1,24 @@ -/* - * 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. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/contactcenterinsights/v1/resources.proto package com.google.cloud.contactcenterinsights.v1; /** - * - * *
  * Information about the issue.
  * 
* * Protobuf type {@code google.cloud.contactcenterinsights.v1.IssueAssignment} */ -public final class IssueAssignment extends com.google.protobuf.GeneratedMessageV3 - implements +public final class IssueAssignment extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.contactcenterinsights.v1.IssueAssignment) IssueAssignmentOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use IssueAssignment.newBuilder() to construct. private IssueAssignment(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private IssueAssignment() { issue_ = ""; displayName_ = ""; @@ -44,43 +26,38 @@ private IssueAssignment() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new IssueAssignment(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.contactcenterinsights.v1.ResourcesProto - .internal_static_google_cloud_contactcenterinsights_v1_IssueAssignment_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.contactcenterinsights.v1.ResourcesProto.internal_static_google_cloud_contactcenterinsights_v1_IssueAssignment_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.contactcenterinsights.v1.ResourcesProto - .internal_static_google_cloud_contactcenterinsights_v1_IssueAssignment_fieldAccessorTable + return com.google.cloud.contactcenterinsights.v1.ResourcesProto.internal_static_google_cloud_contactcenterinsights_v1_IssueAssignment_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.contactcenterinsights.v1.IssueAssignment.class, - com.google.cloud.contactcenterinsights.v1.IssueAssignment.Builder.class); + com.google.cloud.contactcenterinsights.v1.IssueAssignment.class, com.google.cloud.contactcenterinsights.v1.IssueAssignment.Builder.class); } public static final int ISSUE_FIELD_NUMBER = 1; - @SuppressWarnings("serial") private volatile java.lang.Object issue_ = ""; /** - * - * *
    * Resource name of the assigned issue.
    * 
* * string issue = 1; - * * @return The issue. */ @java.lang.Override @@ -89,29 +66,29 @@ public java.lang.String getIssue() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); issue_ = s; return s; } } /** - * - * *
    * Resource name of the assigned issue.
    * 
* * string issue = 1; - * * @return The bytes for issue. */ @java.lang.Override - public com.google.protobuf.ByteString getIssueBytes() { + public com.google.protobuf.ByteString + getIssueBytes() { java.lang.Object ref = issue_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); issue_ = b; return b; } else { @@ -122,15 +99,12 @@ public com.google.protobuf.ByteString getIssueBytes() { public static final int SCORE_FIELD_NUMBER = 2; private double score_ = 0D; /** - * - * *
    * Score indicating the likelihood of the issue assignment.
    * currently bounded on [0,1].
    * 
* * double score = 2; - * * @return The score. */ @java.lang.Override @@ -139,19 +113,15 @@ public double getScore() { } public static final int DISPLAY_NAME_FIELD_NUMBER = 3; - @SuppressWarnings("serial") private volatile java.lang.Object displayName_ = ""; /** - * - * *
-   * Immutable. Display name of the assigned issue. This field is set at time of analyis
-   * and immutable since then.
+   * Immutable. Display name of the assigned issue. This field is set at time of
+   * analyis and immutable since then.
    * 
* * string display_name = 3 [(.google.api.field_behavior) = IMMUTABLE]; - * * @return The displayName. */ @java.lang.Override @@ -160,30 +130,30 @@ public java.lang.String getDisplayName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); displayName_ = s; return s; } } /** - * - * *
-   * Immutable. Display name of the assigned issue. This field is set at time of analyis
-   * and immutable since then.
+   * Immutable. Display name of the assigned issue. This field is set at time of
+   * analyis and immutable since then.
    * 
* * string display_name = 3 [(.google.api.field_behavior) = IMMUTABLE]; - * * @return The bytes for displayName. */ @java.lang.Override - public com.google.protobuf.ByteString getDisplayNameBytes() { + public com.google.protobuf.ByteString + getDisplayNameBytes() { java.lang.Object ref = displayName_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); displayName_ = b; return b; } else { @@ -192,7 +162,6 @@ public com.google.protobuf.ByteString getDisplayNameBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -204,7 +173,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(issue_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, issue_); } @@ -227,7 +197,8 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, issue_); } if (java.lang.Double.doubleToRawLongBits(score_) != 0) { - size += com.google.protobuf.CodedOutputStream.computeDoubleSize(2, score_); + size += com.google.protobuf.CodedOutputStream + .computeDoubleSize(2, score_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(displayName_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, displayName_); @@ -240,18 +211,20 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.contactcenterinsights.v1.IssueAssignment)) { return super.equals(obj); } - com.google.cloud.contactcenterinsights.v1.IssueAssignment other = - (com.google.cloud.contactcenterinsights.v1.IssueAssignment) obj; + com.google.cloud.contactcenterinsights.v1.IssueAssignment other = (com.google.cloud.contactcenterinsights.v1.IssueAssignment) obj; - if (!getIssue().equals(other.getIssue())) return false; + if (!getIssue() + .equals(other.getIssue())) return false; if (java.lang.Double.doubleToLongBits(getScore()) - != java.lang.Double.doubleToLongBits(other.getScore())) return false; - if (!getDisplayName().equals(other.getDisplayName())) return false; + != java.lang.Double.doubleToLongBits( + other.getScore())) return false; + if (!getDisplayName() + .equals(other.getDisplayName())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -266,9 +239,8 @@ public int hashCode() { hash = (37 * hash) + ISSUE_FIELD_NUMBER; hash = (53 * hash) + getIssue().hashCode(); hash = (37 * hash) + SCORE_FIELD_NUMBER; - hash = - (53 * hash) - + com.google.protobuf.Internal.hashLong(java.lang.Double.doubleToLongBits(getScore())); + hash = (53 * hash) + com.google.protobuf.Internal.hashLong( + java.lang.Double.doubleToLongBits(getScore())); hash = (37 * hash) + DISPLAY_NAME_FIELD_NUMBER; hash = (53 * hash) + getDisplayName().hashCode(); hash = (29 * hash) + getUnknownFields().hashCode(); @@ -277,136 +249,129 @@ public int hashCode() { } public static com.google.cloud.contactcenterinsights.v1.IssueAssignment parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.contactcenterinsights.v1.IssueAssignment parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.contactcenterinsights.v1.IssueAssignment parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.contactcenterinsights.v1.IssueAssignment parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.contactcenterinsights.v1.IssueAssignment parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.contactcenterinsights.v1.IssueAssignment parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.contactcenterinsights.v1.IssueAssignment parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.contactcenterinsights.v1.IssueAssignment parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.contactcenterinsights.v1.IssueAssignment parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.contactcenterinsights.v1.IssueAssignment parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.contactcenterinsights.v1.IssueAssignment parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.contactcenterinsights.v1.IssueAssignment parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.contactcenterinsights.v1.IssueAssignment parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.contactcenterinsights.v1.IssueAssignment parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.contactcenterinsights.v1.IssueAssignment prototype) { + public static Builder newBuilder(com.google.cloud.contactcenterinsights.v1.IssueAssignment prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Information about the issue.
    * 
* * Protobuf type {@code google.cloud.contactcenterinsights.v1.IssueAssignment} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.contactcenterinsights.v1.IssueAssignment) com.google.cloud.contactcenterinsights.v1.IssueAssignmentOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.contactcenterinsights.v1.ResourcesProto - .internal_static_google_cloud_contactcenterinsights_v1_IssueAssignment_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.contactcenterinsights.v1.ResourcesProto.internal_static_google_cloud_contactcenterinsights_v1_IssueAssignment_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.contactcenterinsights.v1.ResourcesProto - .internal_static_google_cloud_contactcenterinsights_v1_IssueAssignment_fieldAccessorTable + return com.google.cloud.contactcenterinsights.v1.ResourcesProto.internal_static_google_cloud_contactcenterinsights_v1_IssueAssignment_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.contactcenterinsights.v1.IssueAssignment.class, - com.google.cloud.contactcenterinsights.v1.IssueAssignment.Builder.class); + com.google.cloud.contactcenterinsights.v1.IssueAssignment.class, com.google.cloud.contactcenterinsights.v1.IssueAssignment.Builder.class); } // Construct using com.google.cloud.contactcenterinsights.v1.IssueAssignment.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -418,9 +383,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.contactcenterinsights.v1.ResourcesProto - .internal_static_google_cloud_contactcenterinsights_v1_IssueAssignment_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.contactcenterinsights.v1.ResourcesProto.internal_static_google_cloud_contactcenterinsights_v1_IssueAssignment_descriptor; } @java.lang.Override @@ -439,11 +404,8 @@ public com.google.cloud.contactcenterinsights.v1.IssueAssignment build() { @java.lang.Override public com.google.cloud.contactcenterinsights.v1.IssueAssignment buildPartial() { - com.google.cloud.contactcenterinsights.v1.IssueAssignment result = - new com.google.cloud.contactcenterinsights.v1.IssueAssignment(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + com.google.cloud.contactcenterinsights.v1.IssueAssignment result = new com.google.cloud.contactcenterinsights.v1.IssueAssignment(this); + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } @@ -465,39 +427,38 @@ private void buildPartial0(com.google.cloud.contactcenterinsights.v1.IssueAssign public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.contactcenterinsights.v1.IssueAssignment) { - return mergeFrom((com.google.cloud.contactcenterinsights.v1.IssueAssignment) other); + return mergeFrom((com.google.cloud.contactcenterinsights.v1.IssueAssignment)other); } else { super.mergeFrom(other); return this; @@ -505,8 +466,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.contactcenterinsights.v1.IssueAssignment other) { - if (other == com.google.cloud.contactcenterinsights.v1.IssueAssignment.getDefaultInstance()) - return this; + if (other == com.google.cloud.contactcenterinsights.v1.IssueAssignment.getDefaultInstance()) return this; if (!other.getIssue().isEmpty()) { issue_ = other.issue_; bitField0_ |= 0x00000001; @@ -546,31 +506,27 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - issue_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 17: - { - score_ = input.readDouble(); - bitField0_ |= 0x00000002; - break; - } // case 17 - case 26: - { - displayName_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000004; - break; - } // case 26 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + issue_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 17: { + score_ = input.readDouble(); + bitField0_ |= 0x00000002; + break; + } // case 17 + case 26: { + displayName_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000004; + break; + } // case 26 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -580,25 +536,22 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private java.lang.Object issue_ = ""; /** - * - * *
      * Resource name of the assigned issue.
      * 
* * string issue = 1; - * * @return The issue. */ public java.lang.String getIssue() { java.lang.Object ref = issue_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); issue_ = s; return s; @@ -607,21 +560,20 @@ public java.lang.String getIssue() { } } /** - * - * *
      * Resource name of the assigned issue.
      * 
* * string issue = 1; - * * @return The bytes for issue. */ - public com.google.protobuf.ByteString getIssueBytes() { + public com.google.protobuf.ByteString + getIssueBytes() { java.lang.Object ref = issue_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); issue_ = b; return b; } else { @@ -629,35 +581,28 @@ public com.google.protobuf.ByteString getIssueBytes() { } } /** - * - * *
      * Resource name of the assigned issue.
      * 
* * string issue = 1; - * * @param value The issue to set. * @return This builder for chaining. */ - public Builder setIssue(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setIssue( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } issue_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
      * Resource name of the assigned issue.
      * 
* * string issue = 1; - * * @return This builder for chaining. */ public Builder clearIssue() { @@ -667,21 +612,17 @@ public Builder clearIssue() { return this; } /** - * - * *
      * Resource name of the assigned issue.
      * 
* * string issue = 1; - * * @param value The bytes for issue to set. * @return This builder for chaining. */ - public Builder setIssueBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setIssueBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); issue_ = value; bitField0_ |= 0x00000001; @@ -689,17 +630,14 @@ public Builder setIssueBytes(com.google.protobuf.ByteString value) { return this; } - private double score_; + private double score_ ; /** - * - * *
      * Score indicating the likelihood of the issue assignment.
      * currently bounded on [0,1].
      * 
* * double score = 2; - * * @return The score. */ @java.lang.Override @@ -707,35 +645,29 @@ public double getScore() { return score_; } /** - * - * *
      * Score indicating the likelihood of the issue assignment.
      * currently bounded on [0,1].
      * 
* * double score = 2; - * * @param value The score to set. * @return This builder for chaining. */ public Builder setScore(double value) { - + score_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** - * - * *
      * Score indicating the likelihood of the issue assignment.
      * currently bounded on [0,1].
      * 
* * double score = 2; - * * @return This builder for chaining. */ public Builder clearScore() { @@ -747,21 +679,19 @@ public Builder clearScore() { private java.lang.Object displayName_ = ""; /** - * - * *
-     * Immutable. Display name of the assigned issue. This field is set at time of analyis
-     * and immutable since then.
+     * Immutable. Display name of the assigned issue. This field is set at time of
+     * analyis and immutable since then.
      * 
* * string display_name = 3 [(.google.api.field_behavior) = IMMUTABLE]; - * * @return The displayName. */ public java.lang.String getDisplayName() { java.lang.Object ref = displayName_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); displayName_ = s; return s; @@ -770,22 +700,21 @@ public java.lang.String getDisplayName() { } } /** - * - * *
-     * Immutable. Display name of the assigned issue. This field is set at time of analyis
-     * and immutable since then.
+     * Immutable. Display name of the assigned issue. This field is set at time of
+     * analyis and immutable since then.
      * 
* * string display_name = 3 [(.google.api.field_behavior) = IMMUTABLE]; - * * @return The bytes for displayName. */ - public com.google.protobuf.ByteString getDisplayNameBytes() { + public com.google.protobuf.ByteString + getDisplayNameBytes() { java.lang.Object ref = displayName_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); displayName_ = b; return b; } else { @@ -793,37 +722,30 @@ public com.google.protobuf.ByteString getDisplayNameBytes() { } } /** - * - * *
-     * Immutable. Display name of the assigned issue. This field is set at time of analyis
-     * and immutable since then.
+     * Immutable. Display name of the assigned issue. This field is set at time of
+     * analyis and immutable since then.
      * 
* * string display_name = 3 [(.google.api.field_behavior) = IMMUTABLE]; - * * @param value The displayName to set. * @return This builder for chaining. */ - public Builder setDisplayName(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setDisplayName( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } displayName_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } /** - * - * *
-     * Immutable. Display name of the assigned issue. This field is set at time of analyis
-     * and immutable since then.
+     * Immutable. Display name of the assigned issue. This field is set at time of
+     * analyis and immutable since then.
      * 
* * string display_name = 3 [(.google.api.field_behavior) = IMMUTABLE]; - * * @return This builder for chaining. */ public Builder clearDisplayName() { @@ -833,31 +755,27 @@ public Builder clearDisplayName() { return this; } /** - * - * *
-     * Immutable. Display name of the assigned issue. This field is set at time of analyis
-     * and immutable since then.
+     * Immutable. Display name of the assigned issue. This field is set at time of
+     * analyis and immutable since then.
      * 
* * string display_name = 3 [(.google.api.field_behavior) = IMMUTABLE]; - * * @param value The bytes for displayName to set. * @return This builder for chaining. */ - public Builder setDisplayNameBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setDisplayNameBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); displayName_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -867,12 +785,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.contactcenterinsights.v1.IssueAssignment) } // @@protoc_insertion_point(class_scope:google.cloud.contactcenterinsights.v1.IssueAssignment) private static final com.google.cloud.contactcenterinsights.v1.IssueAssignment DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.contactcenterinsights.v1.IssueAssignment(); } @@ -881,27 +799,27 @@ public static com.google.cloud.contactcenterinsights.v1.IssueAssignment getDefau return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public IssueAssignment parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public IssueAssignment parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -916,4 +834,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.contactcenterinsights.v1.IssueAssignment getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/IssueAssignmentOrBuilder.java b/owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/IssueAssignmentOrBuilder.java similarity index 59% rename from java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/IssueAssignmentOrBuilder.java rename to owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/IssueAssignmentOrBuilder.java index 5d71fae49ce6..bddc00b9b752 100644 --- a/java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/IssueAssignmentOrBuilder.java +++ b/owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/IssueAssignmentOrBuilder.java @@ -1,91 +1,62 @@ -/* - * 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. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/contactcenterinsights/v1/resources.proto package com.google.cloud.contactcenterinsights.v1; -public interface IssueAssignmentOrBuilder - extends +public interface IssueAssignmentOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.contactcenterinsights.v1.IssueAssignment) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Resource name of the assigned issue.
    * 
* * string issue = 1; - * * @return The issue. */ java.lang.String getIssue(); /** - * - * *
    * Resource name of the assigned issue.
    * 
* * string issue = 1; - * * @return The bytes for issue. */ - com.google.protobuf.ByteString getIssueBytes(); + com.google.protobuf.ByteString + getIssueBytes(); /** - * - * *
    * Score indicating the likelihood of the issue assignment.
    * currently bounded on [0,1].
    * 
* * double score = 2; - * * @return The score. */ double getScore(); /** - * - * *
-   * Immutable. Display name of the assigned issue. This field is set at time of analyis
-   * and immutable since then.
+   * Immutable. Display name of the assigned issue. This field is set at time of
+   * analyis and immutable since then.
    * 
* * string display_name = 3 [(.google.api.field_behavior) = IMMUTABLE]; - * * @return The displayName. */ java.lang.String getDisplayName(); /** - * - * *
-   * Immutable. Display name of the assigned issue. This field is set at time of analyis
-   * and immutable since then.
+   * Immutable. Display name of the assigned issue. This field is set at time of
+   * analyis and immutable since then.
    * 
* * string display_name = 3 [(.google.api.field_behavior) = IMMUTABLE]; - * * @return The bytes for displayName. */ - com.google.protobuf.ByteString getDisplayNameBytes(); + com.google.protobuf.ByteString + getDisplayNameBytes(); } diff --git a/java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/IssueMatchData.java b/owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/IssueMatchData.java similarity index 66% rename from java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/IssueMatchData.java rename to owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/IssueMatchData.java index 8ad72ae8ebd9..960b3ebc543f 100644 --- a/java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/IssueMatchData.java +++ b/owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/IssueMatchData.java @@ -1,81 +1,60 @@ -/* - * 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. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/contactcenterinsights/v1/resources.proto package com.google.cloud.contactcenterinsights.v1; /** - * - * *
  * The data for an issue match annotation.
  * 
* * Protobuf type {@code google.cloud.contactcenterinsights.v1.IssueMatchData} */ -public final class IssueMatchData extends com.google.protobuf.GeneratedMessageV3 - implements +public final class IssueMatchData extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.contactcenterinsights.v1.IssueMatchData) IssueMatchDataOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use IssueMatchData.newBuilder() to construct. private IssueMatchData(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - - private IssueMatchData() {} + private IssueMatchData() { + } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new IssueMatchData(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.contactcenterinsights.v1.ResourcesProto - .internal_static_google_cloud_contactcenterinsights_v1_IssueMatchData_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.contactcenterinsights.v1.ResourcesProto.internal_static_google_cloud_contactcenterinsights_v1_IssueMatchData_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.contactcenterinsights.v1.ResourcesProto - .internal_static_google_cloud_contactcenterinsights_v1_IssueMatchData_fieldAccessorTable + return com.google.cloud.contactcenterinsights.v1.ResourcesProto.internal_static_google_cloud_contactcenterinsights_v1_IssueMatchData_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.contactcenterinsights.v1.IssueMatchData.class, - com.google.cloud.contactcenterinsights.v1.IssueMatchData.Builder.class); + com.google.cloud.contactcenterinsights.v1.IssueMatchData.class, com.google.cloud.contactcenterinsights.v1.IssueMatchData.Builder.class); } public static final int ISSUE_ASSIGNMENT_FIELD_NUMBER = 1; private com.google.cloud.contactcenterinsights.v1.IssueAssignment issueAssignment_; /** - * - * *
    * Information about the issue's assignment.
    * 
* * .google.cloud.contactcenterinsights.v1.IssueAssignment issue_assignment = 1; - * * @return Whether the issueAssignment field is set. */ @java.lang.Override @@ -83,25 +62,18 @@ public boolean hasIssueAssignment() { return issueAssignment_ != null; } /** - * - * *
    * Information about the issue's assignment.
    * 
* * .google.cloud.contactcenterinsights.v1.IssueAssignment issue_assignment = 1; - * * @return The issueAssignment. */ @java.lang.Override public com.google.cloud.contactcenterinsights.v1.IssueAssignment getIssueAssignment() { - return issueAssignment_ == null - ? com.google.cloud.contactcenterinsights.v1.IssueAssignment.getDefaultInstance() - : issueAssignment_; + return issueAssignment_ == null ? com.google.cloud.contactcenterinsights.v1.IssueAssignment.getDefaultInstance() : issueAssignment_; } /** - * - * *
    * Information about the issue's assignment.
    * 
@@ -109,15 +81,11 @@ public com.google.cloud.contactcenterinsights.v1.IssueAssignment getIssueAssignm * .google.cloud.contactcenterinsights.v1.IssueAssignment issue_assignment = 1; */ @java.lang.Override - public com.google.cloud.contactcenterinsights.v1.IssueAssignmentOrBuilder - getIssueAssignmentOrBuilder() { - return issueAssignment_ == null - ? com.google.cloud.contactcenterinsights.v1.IssueAssignment.getDefaultInstance() - : issueAssignment_; + public com.google.cloud.contactcenterinsights.v1.IssueAssignmentOrBuilder getIssueAssignmentOrBuilder() { + return issueAssignment_ == null ? com.google.cloud.contactcenterinsights.v1.IssueAssignment.getDefaultInstance() : issueAssignment_; } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -129,7 +97,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (issueAssignment_ != null) { output.writeMessage(1, getIssueAssignment()); } @@ -143,7 +112,8 @@ public int getSerializedSize() { size = 0; if (issueAssignment_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getIssueAssignment()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, getIssueAssignment()); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -153,17 +123,17 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.contactcenterinsights.v1.IssueMatchData)) { return super.equals(obj); } - com.google.cloud.contactcenterinsights.v1.IssueMatchData other = - (com.google.cloud.contactcenterinsights.v1.IssueMatchData) obj; + com.google.cloud.contactcenterinsights.v1.IssueMatchData other = (com.google.cloud.contactcenterinsights.v1.IssueMatchData) obj; if (hasIssueAssignment() != other.hasIssueAssignment()) return false; if (hasIssueAssignment()) { - if (!getIssueAssignment().equals(other.getIssueAssignment())) return false; + if (!getIssueAssignment() + .equals(other.getIssueAssignment())) return false; } if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -186,136 +156,129 @@ public int hashCode() { } public static com.google.cloud.contactcenterinsights.v1.IssueMatchData parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.contactcenterinsights.v1.IssueMatchData parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.contactcenterinsights.v1.IssueMatchData parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.contactcenterinsights.v1.IssueMatchData parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.contactcenterinsights.v1.IssueMatchData parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.contactcenterinsights.v1.IssueMatchData parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.contactcenterinsights.v1.IssueMatchData parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.contactcenterinsights.v1.IssueMatchData parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.contactcenterinsights.v1.IssueMatchData parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.contactcenterinsights.v1.IssueMatchData parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.contactcenterinsights.v1.IssueMatchData parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.contactcenterinsights.v1.IssueMatchData parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.contactcenterinsights.v1.IssueMatchData parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.contactcenterinsights.v1.IssueMatchData parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.contactcenterinsights.v1.IssueMatchData prototype) { + public static Builder newBuilder(com.google.cloud.contactcenterinsights.v1.IssueMatchData prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * The data for an issue match annotation.
    * 
* * Protobuf type {@code google.cloud.contactcenterinsights.v1.IssueMatchData} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.contactcenterinsights.v1.IssueMatchData) com.google.cloud.contactcenterinsights.v1.IssueMatchDataOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.contactcenterinsights.v1.ResourcesProto - .internal_static_google_cloud_contactcenterinsights_v1_IssueMatchData_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.contactcenterinsights.v1.ResourcesProto.internal_static_google_cloud_contactcenterinsights_v1_IssueMatchData_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.contactcenterinsights.v1.ResourcesProto - .internal_static_google_cloud_contactcenterinsights_v1_IssueMatchData_fieldAccessorTable + return com.google.cloud.contactcenterinsights.v1.ResourcesProto.internal_static_google_cloud_contactcenterinsights_v1_IssueMatchData_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.contactcenterinsights.v1.IssueMatchData.class, - com.google.cloud.contactcenterinsights.v1.IssueMatchData.Builder.class); + com.google.cloud.contactcenterinsights.v1.IssueMatchData.class, com.google.cloud.contactcenterinsights.v1.IssueMatchData.Builder.class); } // Construct using com.google.cloud.contactcenterinsights.v1.IssueMatchData.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -329,9 +292,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.contactcenterinsights.v1.ResourcesProto - .internal_static_google_cloud_contactcenterinsights_v1_IssueMatchData_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.contactcenterinsights.v1.ResourcesProto.internal_static_google_cloud_contactcenterinsights_v1_IssueMatchData_descriptor; } @java.lang.Override @@ -350,11 +313,8 @@ public com.google.cloud.contactcenterinsights.v1.IssueMatchData build() { @java.lang.Override public com.google.cloud.contactcenterinsights.v1.IssueMatchData buildPartial() { - com.google.cloud.contactcenterinsights.v1.IssueMatchData result = - new com.google.cloud.contactcenterinsights.v1.IssueMatchData(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + com.google.cloud.contactcenterinsights.v1.IssueMatchData result = new com.google.cloud.contactcenterinsights.v1.IssueMatchData(this); + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } @@ -362,8 +322,9 @@ public com.google.cloud.contactcenterinsights.v1.IssueMatchData buildPartial() { private void buildPartial0(com.google.cloud.contactcenterinsights.v1.IssueMatchData result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { - result.issueAssignment_ = - issueAssignmentBuilder_ == null ? issueAssignment_ : issueAssignmentBuilder_.build(); + result.issueAssignment_ = issueAssignmentBuilder_ == null + ? issueAssignment_ + : issueAssignmentBuilder_.build(); } } @@ -371,39 +332,38 @@ private void buildPartial0(com.google.cloud.contactcenterinsights.v1.IssueMatchD public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.contactcenterinsights.v1.IssueMatchData) { - return mergeFrom((com.google.cloud.contactcenterinsights.v1.IssueMatchData) other); + return mergeFrom((com.google.cloud.contactcenterinsights.v1.IssueMatchData)other); } else { super.mergeFrom(other); return this; @@ -411,8 +371,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.contactcenterinsights.v1.IssueMatchData other) { - if (other == com.google.cloud.contactcenterinsights.v1.IssueMatchData.getDefaultInstance()) - return this; + if (other == com.google.cloud.contactcenterinsights.v1.IssueMatchData.getDefaultInstance()) return this; if (other.hasIssueAssignment()) { mergeIssueAssignment(other.getIssueAssignment()); } @@ -442,19 +401,19 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - input.readMessage(getIssueAssignmentFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00000001; - break; - } // case 10 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + input.readMessage( + getIssueAssignmentFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00000001; + break; + } // case 10 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -464,60 +423,45 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private com.google.cloud.contactcenterinsights.v1.IssueAssignment issueAssignment_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.contactcenterinsights.v1.IssueAssignment, - com.google.cloud.contactcenterinsights.v1.IssueAssignment.Builder, - com.google.cloud.contactcenterinsights.v1.IssueAssignmentOrBuilder> - issueAssignmentBuilder_; + com.google.cloud.contactcenterinsights.v1.IssueAssignment, com.google.cloud.contactcenterinsights.v1.IssueAssignment.Builder, com.google.cloud.contactcenterinsights.v1.IssueAssignmentOrBuilder> issueAssignmentBuilder_; /** - * - * *
      * Information about the issue's assignment.
      * 
* * .google.cloud.contactcenterinsights.v1.IssueAssignment issue_assignment = 1; - * * @return Whether the issueAssignment field is set. */ public boolean hasIssueAssignment() { return ((bitField0_ & 0x00000001) != 0); } /** - * - * *
      * Information about the issue's assignment.
      * 
* * .google.cloud.contactcenterinsights.v1.IssueAssignment issue_assignment = 1; - * * @return The issueAssignment. */ public com.google.cloud.contactcenterinsights.v1.IssueAssignment getIssueAssignment() { if (issueAssignmentBuilder_ == null) { - return issueAssignment_ == null - ? com.google.cloud.contactcenterinsights.v1.IssueAssignment.getDefaultInstance() - : issueAssignment_; + return issueAssignment_ == null ? com.google.cloud.contactcenterinsights.v1.IssueAssignment.getDefaultInstance() : issueAssignment_; } else { return issueAssignmentBuilder_.getMessage(); } } /** - * - * *
      * Information about the issue's assignment.
      * 
* * .google.cloud.contactcenterinsights.v1.IssueAssignment issue_assignment = 1; */ - public Builder setIssueAssignment( - com.google.cloud.contactcenterinsights.v1.IssueAssignment value) { + public Builder setIssueAssignment(com.google.cloud.contactcenterinsights.v1.IssueAssignment value) { if (issueAssignmentBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -531,8 +475,6 @@ public Builder setIssueAssignment( return this; } /** - * - * *
      * Information about the issue's assignment.
      * 
@@ -551,21 +493,17 @@ public Builder setIssueAssignment( return this; } /** - * - * *
      * Information about the issue's assignment.
      * 
* * .google.cloud.contactcenterinsights.v1.IssueAssignment issue_assignment = 1; */ - public Builder mergeIssueAssignment( - com.google.cloud.contactcenterinsights.v1.IssueAssignment value) { + public Builder mergeIssueAssignment(com.google.cloud.contactcenterinsights.v1.IssueAssignment value) { if (issueAssignmentBuilder_ == null) { - if (((bitField0_ & 0x00000001) != 0) - && issueAssignment_ != null - && issueAssignment_ - != com.google.cloud.contactcenterinsights.v1.IssueAssignment.getDefaultInstance()) { + if (((bitField0_ & 0x00000001) != 0) && + issueAssignment_ != null && + issueAssignment_ != com.google.cloud.contactcenterinsights.v1.IssueAssignment.getDefaultInstance()) { getIssueAssignmentBuilder().mergeFrom(value); } else { issueAssignment_ = value; @@ -578,8 +516,6 @@ public Builder mergeIssueAssignment( return this; } /** - * - * *
      * Information about the issue's assignment.
      * 
@@ -597,42 +533,33 @@ public Builder clearIssueAssignment() { return this; } /** - * - * *
      * Information about the issue's assignment.
      * 
* * .google.cloud.contactcenterinsights.v1.IssueAssignment issue_assignment = 1; */ - public com.google.cloud.contactcenterinsights.v1.IssueAssignment.Builder - getIssueAssignmentBuilder() { + public com.google.cloud.contactcenterinsights.v1.IssueAssignment.Builder getIssueAssignmentBuilder() { bitField0_ |= 0x00000001; onChanged(); return getIssueAssignmentFieldBuilder().getBuilder(); } /** - * - * *
      * Information about the issue's assignment.
      * 
* * .google.cloud.contactcenterinsights.v1.IssueAssignment issue_assignment = 1; */ - public com.google.cloud.contactcenterinsights.v1.IssueAssignmentOrBuilder - getIssueAssignmentOrBuilder() { + public com.google.cloud.contactcenterinsights.v1.IssueAssignmentOrBuilder getIssueAssignmentOrBuilder() { if (issueAssignmentBuilder_ != null) { return issueAssignmentBuilder_.getMessageOrBuilder(); } else { - return issueAssignment_ == null - ? com.google.cloud.contactcenterinsights.v1.IssueAssignment.getDefaultInstance() - : issueAssignment_; + return issueAssignment_ == null ? + com.google.cloud.contactcenterinsights.v1.IssueAssignment.getDefaultInstance() : issueAssignment_; } } /** - * - * *
      * Information about the issue's assignment.
      * 
@@ -640,24 +567,21 @@ public Builder clearIssueAssignment() { * .google.cloud.contactcenterinsights.v1.IssueAssignment issue_assignment = 1; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.contactcenterinsights.v1.IssueAssignment, - com.google.cloud.contactcenterinsights.v1.IssueAssignment.Builder, - com.google.cloud.contactcenterinsights.v1.IssueAssignmentOrBuilder> + com.google.cloud.contactcenterinsights.v1.IssueAssignment, com.google.cloud.contactcenterinsights.v1.IssueAssignment.Builder, com.google.cloud.contactcenterinsights.v1.IssueAssignmentOrBuilder> getIssueAssignmentFieldBuilder() { if (issueAssignmentBuilder_ == null) { - issueAssignmentBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.contactcenterinsights.v1.IssueAssignment, - com.google.cloud.contactcenterinsights.v1.IssueAssignment.Builder, - com.google.cloud.contactcenterinsights.v1.IssueAssignmentOrBuilder>( - getIssueAssignment(), getParentForChildren(), isClean()); + issueAssignmentBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.contactcenterinsights.v1.IssueAssignment, com.google.cloud.contactcenterinsights.v1.IssueAssignment.Builder, com.google.cloud.contactcenterinsights.v1.IssueAssignmentOrBuilder>( + getIssueAssignment(), + getParentForChildren(), + isClean()); issueAssignment_ = null; } return issueAssignmentBuilder_; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -667,12 +591,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.contactcenterinsights.v1.IssueMatchData) } // @@protoc_insertion_point(class_scope:google.cloud.contactcenterinsights.v1.IssueMatchData) private static final com.google.cloud.contactcenterinsights.v1.IssueMatchData DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.contactcenterinsights.v1.IssueMatchData(); } @@ -681,27 +605,27 @@ public static com.google.cloud.contactcenterinsights.v1.IssueMatchData getDefaul return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public IssueMatchData parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public IssueMatchData parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -716,4 +640,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.contactcenterinsights.v1.IssueMatchData getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/IssueMatchDataOrBuilder.java b/owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/IssueMatchDataOrBuilder.java similarity index 63% rename from java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/IssueMatchDataOrBuilder.java rename to owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/IssueMatchDataOrBuilder.java index f4aeb90d0d05..56b593731691 100644 --- a/java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/IssueMatchDataOrBuilder.java +++ b/owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/IssueMatchDataOrBuilder.java @@ -1,55 +1,31 @@ -/* - * 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. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/contactcenterinsights/v1/resources.proto package com.google.cloud.contactcenterinsights.v1; -public interface IssueMatchDataOrBuilder - extends +public interface IssueMatchDataOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.contactcenterinsights.v1.IssueMatchData) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Information about the issue's assignment.
    * 
* * .google.cloud.contactcenterinsights.v1.IssueAssignment issue_assignment = 1; - * * @return Whether the issueAssignment field is set. */ boolean hasIssueAssignment(); /** - * - * *
    * Information about the issue's assignment.
    * 
* * .google.cloud.contactcenterinsights.v1.IssueAssignment issue_assignment = 1; - * * @return The issueAssignment. */ com.google.cloud.contactcenterinsights.v1.IssueAssignment getIssueAssignment(); /** - * - * *
    * Information about the issue's assignment.
    * 
diff --git a/java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/IssueModel.java b/owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/IssueModel.java similarity index 63% rename from java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/IssueModel.java rename to owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/IssueModel.java index c24367d7d8ca..a92637fc695e 100644 --- a/java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/IssueModel.java +++ b/owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/IssueModel.java @@ -1,42 +1,24 @@ -/* - * 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. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/contactcenterinsights/v1/resources.proto package com.google.cloud.contactcenterinsights.v1; /** - * - * *
  * The issue model resource.
  * 
* * Protobuf type {@code google.cloud.contactcenterinsights.v1.IssueModel} */ -public final class IssueModel extends com.google.protobuf.GeneratedMessageV3 - implements +public final class IssueModel extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.contactcenterinsights.v1.IssueModel) IssueModelOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use IssueModel.newBuilder() to construct. private IssueModel(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private IssueModel() { name_ = ""; displayName_ = ""; @@ -45,43 +27,39 @@ private IssueModel() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new IssueModel(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.contactcenterinsights.v1.ResourcesProto - .internal_static_google_cloud_contactcenterinsights_v1_IssueModel_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.contactcenterinsights.v1.ResourcesProto.internal_static_google_cloud_contactcenterinsights_v1_IssueModel_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.contactcenterinsights.v1.ResourcesProto - .internal_static_google_cloud_contactcenterinsights_v1_IssueModel_fieldAccessorTable + return com.google.cloud.contactcenterinsights.v1.ResourcesProto.internal_static_google_cloud_contactcenterinsights_v1_IssueModel_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.contactcenterinsights.v1.IssueModel.class, - com.google.cloud.contactcenterinsights.v1.IssueModel.Builder.class); + com.google.cloud.contactcenterinsights.v1.IssueModel.class, com.google.cloud.contactcenterinsights.v1.IssueModel.Builder.class); } /** - * - * *
    * State of the model.
    * 
* * Protobuf enum {@code google.cloud.contactcenterinsights.v1.IssueModel.State} */ - public enum State implements com.google.protobuf.ProtocolMessageEnum { + public enum State + implements com.google.protobuf.ProtocolMessageEnum { /** - * - * *
      * Unspecified.
      * 
@@ -90,8 +68,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ STATE_UNSPECIFIED(0), /** - * - * *
      * Model is not deployed but is ready to deploy.
      * 
@@ -100,8 +76,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ UNDEPLOYED(1), /** - * - * *
      * Model is being deployed.
      * 
@@ -110,8 +84,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ DEPLOYING(2), /** - * - * *
      * Model is deployed and is ready to be used. A model can only be used in
      * analysis if it's in this state.
@@ -121,8 +93,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum {
      */
     DEPLOYED(3),
     /**
-     *
-     *
      * 
      * Model is being undeployed.
      * 
@@ -131,8 +101,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ UNDEPLOYING(4), /** - * - * *
      * Model is being deleted.
      * 
@@ -144,8 +112,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { ; /** - * - * *
      * Unspecified.
      * 
@@ -154,8 +120,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ public static final int STATE_UNSPECIFIED_VALUE = 0; /** - * - * *
      * Model is not deployed but is ready to deploy.
      * 
@@ -164,8 +128,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ public static final int UNDEPLOYED_VALUE = 1; /** - * - * *
      * Model is being deployed.
      * 
@@ -174,8 +136,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ public static final int DEPLOYING_VALUE = 2; /** - * - * *
      * Model is deployed and is ready to be used. A model can only be used in
      * analysis if it's in this state.
@@ -185,8 +145,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum {
      */
     public static final int DEPLOYED_VALUE = 3;
     /**
-     *
-     *
      * 
      * Model is being undeployed.
      * 
@@ -195,8 +153,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ public static final int UNDEPLOYING_VALUE = 4; /** - * - * *
      * Model is being deleted.
      * 
@@ -205,6 +161,7 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ public static final int DELETING_VALUE = 5; + public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -229,57 +186,52 @@ public static State valueOf(int value) { */ public static State forNumber(int value) { switch (value) { - case 0: - return STATE_UNSPECIFIED; - case 1: - return UNDEPLOYED; - case 2: - return DEPLOYING; - case 3: - return DEPLOYED; - case 4: - return UNDEPLOYING; - case 5: - return DELETING; - default: - return null; - } - } - - public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() { - return internalValueMap; + case 0: return STATE_UNSPECIFIED; + case 1: return UNDEPLOYED; + case 2: return DEPLOYING; + case 3: return DEPLOYED; + case 4: return UNDEPLOYING; + case 5: return DELETING; + default: return null; + } } - private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public State findValueByNumber(int number) { - return State.forNumber(number); - } - }; + public static com.google.protobuf.Internal.EnumLiteMap + internalGetValueMap() { + return internalValueMap; + } + private static final com.google.protobuf.Internal.EnumLiteMap< + State> internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public State findValueByNumber(int number) { + return State.forNumber(number); + } + }; - public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() { + public final com.google.protobuf.Descriptors.EnumValueDescriptor + getValueDescriptor() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalStateException( "Can't get the descriptor of an unrecognized enum value."); } return getDescriptor().getValues().get(ordinal()); } - - public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() { + public final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptorForType() { return getDescriptor(); } - - public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { - return com.google.cloud.contactcenterinsights.v1.IssueModel.getDescriptor() - .getEnumTypes() - .get(0); + public static final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptor() { + return com.google.cloud.contactcenterinsights.v1.IssueModel.getDescriptor().getEnumTypes().get(0); } private static final State[] VALUES = values(); - public static State valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + public static State valueOf( + com.google.protobuf.Descriptors.EnumValueDescriptor desc) { if (desc.getType() != getDescriptor()) { - throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type."); + throw new java.lang.IllegalArgumentException( + "EnumValueDescriptor is not for this type."); } if (desc.getIndex() == -1) { return UNRECOGNIZED; @@ -296,110 +248,85 @@ private State(int value) { // @@protoc_insertion_point(enum_scope:google.cloud.contactcenterinsights.v1.IssueModel.State) } - public interface InputDataConfigOrBuilder - extends + public interface InputDataConfigOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.contactcenterinsights.v1.IssueModel.InputDataConfig) com.google.protobuf.MessageOrBuilder { /** - * - * *
      * Medium of conversations used in training data. This field is being
      * deprecated. To specify the medium to be used in training a new issue
      * model, set the `medium` field on `filter`.
      * 
* - * - * .google.cloud.contactcenterinsights.v1.Conversation.Medium medium = 1 [deprecated = true]; - * - * - * @deprecated google.cloud.contactcenterinsights.v1.IssueModel.InputDataConfig.medium is - * deprecated. See google/cloud/contactcenterinsights/v1/resources.proto;l=606 + * .google.cloud.contactcenterinsights.v1.Conversation.Medium medium = 1 [deprecated = true]; + * @deprecated google.cloud.contactcenterinsights.v1.IssueModel.InputDataConfig.medium is deprecated. + * See google/cloud/contactcenterinsights/v1/resources.proto;l=611 * @return The enum numeric value on the wire for medium. */ - @java.lang.Deprecated - int getMediumValue(); + @java.lang.Deprecated int getMediumValue(); /** - * - * *
      * Medium of conversations used in training data. This field is being
      * deprecated. To specify the medium to be used in training a new issue
      * model, set the `medium` field on `filter`.
      * 
* - * - * .google.cloud.contactcenterinsights.v1.Conversation.Medium medium = 1 [deprecated = true]; - * - * - * @deprecated google.cloud.contactcenterinsights.v1.IssueModel.InputDataConfig.medium is - * deprecated. See google/cloud/contactcenterinsights/v1/resources.proto;l=606 + * .google.cloud.contactcenterinsights.v1.Conversation.Medium medium = 1 [deprecated = true]; + * @deprecated google.cloud.contactcenterinsights.v1.IssueModel.InputDataConfig.medium is deprecated. + * See google/cloud/contactcenterinsights/v1/resources.proto;l=611 * @return The medium. */ - @java.lang.Deprecated - com.google.cloud.contactcenterinsights.v1.Conversation.Medium getMedium(); + @java.lang.Deprecated com.google.cloud.contactcenterinsights.v1.Conversation.Medium getMedium(); /** - * - * *
      * Output only. Number of conversations used in training. Output only.
      * 
* - * int64 training_conversations_count = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * int64 training_conversations_count = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The trainingConversationsCount. */ long getTrainingConversationsCount(); /** - * - * *
      * A filter to reduce the conversations used for training the model to a
      * specific subset.
      * 
* * string filter = 3; - * * @return The filter. */ java.lang.String getFilter(); /** - * - * *
      * A filter to reduce the conversations used for training the model to a
      * specific subset.
      * 
* * string filter = 3; - * * @return The bytes for filter. */ - com.google.protobuf.ByteString getFilterBytes(); + com.google.protobuf.ByteString + getFilterBytes(); } /** - * - * *
    * Configs for the input data used to create the issue model.
    * 
* * Protobuf type {@code google.cloud.contactcenterinsights.v1.IssueModel.InputDataConfig} */ - public static final class InputDataConfig extends com.google.protobuf.GeneratedMessageV3 - implements + public static final class InputDataConfig extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.contactcenterinsights.v1.IssueModel.InputDataConfig) InputDataConfigOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use InputDataConfig.newBuilder() to construct. private InputDataConfig(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private InputDataConfig() { medium_ = 0; filter_ = ""; @@ -407,93 +334,71 @@ private InputDataConfig() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new InputDataConfig(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.contactcenterinsights.v1.ResourcesProto - .internal_static_google_cloud_contactcenterinsights_v1_IssueModel_InputDataConfig_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.contactcenterinsights.v1.ResourcesProto.internal_static_google_cloud_contactcenterinsights_v1_IssueModel_InputDataConfig_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.contactcenterinsights.v1.ResourcesProto - .internal_static_google_cloud_contactcenterinsights_v1_IssueModel_InputDataConfig_fieldAccessorTable + return com.google.cloud.contactcenterinsights.v1.ResourcesProto.internal_static_google_cloud_contactcenterinsights_v1_IssueModel_InputDataConfig_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.contactcenterinsights.v1.IssueModel.InputDataConfig.class, - com.google.cloud.contactcenterinsights.v1.IssueModel.InputDataConfig.Builder.class); + com.google.cloud.contactcenterinsights.v1.IssueModel.InputDataConfig.class, com.google.cloud.contactcenterinsights.v1.IssueModel.InputDataConfig.Builder.class); } public static final int MEDIUM_FIELD_NUMBER = 1; private int medium_ = 0; /** - * - * *
      * Medium of conversations used in training data. This field is being
      * deprecated. To specify the medium to be used in training a new issue
      * model, set the `medium` field on `filter`.
      * 
* - * - * .google.cloud.contactcenterinsights.v1.Conversation.Medium medium = 1 [deprecated = true]; - * - * - * @deprecated google.cloud.contactcenterinsights.v1.IssueModel.InputDataConfig.medium is - * deprecated. See google/cloud/contactcenterinsights/v1/resources.proto;l=606 + * .google.cloud.contactcenterinsights.v1.Conversation.Medium medium = 1 [deprecated = true]; + * @deprecated google.cloud.contactcenterinsights.v1.IssueModel.InputDataConfig.medium is deprecated. + * See google/cloud/contactcenterinsights/v1/resources.proto;l=611 * @return The enum numeric value on the wire for medium. */ - @java.lang.Override - @java.lang.Deprecated - public int getMediumValue() { + @java.lang.Override @java.lang.Deprecated public int getMediumValue() { return medium_; } /** - * - * *
      * Medium of conversations used in training data. This field is being
      * deprecated. To specify the medium to be used in training a new issue
      * model, set the `medium` field on `filter`.
      * 
* - * - * .google.cloud.contactcenterinsights.v1.Conversation.Medium medium = 1 [deprecated = true]; - * - * - * @deprecated google.cloud.contactcenterinsights.v1.IssueModel.InputDataConfig.medium is - * deprecated. See google/cloud/contactcenterinsights/v1/resources.proto;l=606 + * .google.cloud.contactcenterinsights.v1.Conversation.Medium medium = 1 [deprecated = true]; + * @deprecated google.cloud.contactcenterinsights.v1.IssueModel.InputDataConfig.medium is deprecated. + * See google/cloud/contactcenterinsights/v1/resources.proto;l=611 * @return The medium. */ - @java.lang.Override - @java.lang.Deprecated - public com.google.cloud.contactcenterinsights.v1.Conversation.Medium getMedium() { - com.google.cloud.contactcenterinsights.v1.Conversation.Medium result = - com.google.cloud.contactcenterinsights.v1.Conversation.Medium.forNumber(medium_); - return result == null - ? com.google.cloud.contactcenterinsights.v1.Conversation.Medium.UNRECOGNIZED - : result; + @java.lang.Override @java.lang.Deprecated public com.google.cloud.contactcenterinsights.v1.Conversation.Medium getMedium() { + com.google.cloud.contactcenterinsights.v1.Conversation.Medium result = com.google.cloud.contactcenterinsights.v1.Conversation.Medium.forNumber(medium_); + return result == null ? com.google.cloud.contactcenterinsights.v1.Conversation.Medium.UNRECOGNIZED : result; } public static final int TRAINING_CONVERSATIONS_COUNT_FIELD_NUMBER = 2; private long trainingConversationsCount_ = 0L; /** - * - * *
      * Output only. Number of conversations used in training. Output only.
      * 
* - * int64 training_conversations_count = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * int64 training_conversations_count = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The trainingConversationsCount. */ @java.lang.Override @@ -502,19 +407,15 @@ public long getTrainingConversationsCount() { } public static final int FILTER_FIELD_NUMBER = 3; - @SuppressWarnings("serial") private volatile java.lang.Object filter_ = ""; /** - * - * *
      * A filter to reduce the conversations used for training the model to a
      * specific subset.
      * 
* * string filter = 3; - * * @return The filter. */ @java.lang.Override @@ -523,30 +424,30 @@ public java.lang.String getFilter() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); filter_ = s; return s; } } /** - * - * *
      * A filter to reduce the conversations used for training the model to a
      * specific subset.
      * 
* * string filter = 3; - * * @return The bytes for filter. */ @java.lang.Override - public com.google.protobuf.ByteString getFilterBytes() { + public com.google.protobuf.ByteString + getFilterBytes() { java.lang.Object ref = filter_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); filter_ = b; return b; } else { @@ -555,7 +456,6 @@ public com.google.protobuf.ByteString getFilterBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -567,10 +467,9 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - if (medium_ - != com.google.cloud.contactcenterinsights.v1.Conversation.Medium.MEDIUM_UNSPECIFIED - .getNumber()) { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + if (medium_ != com.google.cloud.contactcenterinsights.v1.Conversation.Medium.MEDIUM_UNSPECIFIED.getNumber()) { output.writeEnum(1, medium_); } if (trainingConversationsCount_ != 0L) { @@ -588,14 +487,13 @@ public int getSerializedSize() { if (size != -1) return size; size = 0; - if (medium_ - != com.google.cloud.contactcenterinsights.v1.Conversation.Medium.MEDIUM_UNSPECIFIED - .getNumber()) { - size += com.google.protobuf.CodedOutputStream.computeEnumSize(1, medium_); + if (medium_ != com.google.cloud.contactcenterinsights.v1.Conversation.Medium.MEDIUM_UNSPECIFIED.getNumber()) { + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(1, medium_); } if (trainingConversationsCount_ != 0L) { - size += - com.google.protobuf.CodedOutputStream.computeInt64Size(2, trainingConversationsCount_); + size += com.google.protobuf.CodedOutputStream + .computeInt64Size(2, trainingConversationsCount_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(filter_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, filter_); @@ -608,17 +506,18 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.contactcenterinsights.v1.IssueModel.InputDataConfig)) { return super.equals(obj); } - com.google.cloud.contactcenterinsights.v1.IssueModel.InputDataConfig other = - (com.google.cloud.contactcenterinsights.v1.IssueModel.InputDataConfig) obj; + com.google.cloud.contactcenterinsights.v1.IssueModel.InputDataConfig other = (com.google.cloud.contactcenterinsights.v1.IssueModel.InputDataConfig) obj; if (medium_ != other.medium_) return false; - if (getTrainingConversationsCount() != other.getTrainingConversationsCount()) return false; - if (!getFilter().equals(other.getFilter())) return false; + if (getTrainingConversationsCount() + != other.getTrainingConversationsCount()) return false; + if (!getFilter() + .equals(other.getFilter())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -633,7 +532,8 @@ public int hashCode() { hash = (37 * hash) + MEDIUM_FIELD_NUMBER; hash = (53 * hash) + medium_; hash = (37 * hash) + TRAINING_CONVERSATIONS_COUNT_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashLong(getTrainingConversationsCount()); + hash = (53 * hash) + com.google.protobuf.Internal.hashLong( + getTrainingConversationsCount()); hash = (37 * hash) + FILTER_FIELD_NUMBER; hash = (53 * hash) + getFilter().hashCode(); hash = (29 * hash) + getUnknownFields().hashCode(); @@ -642,95 +542,87 @@ public int hashCode() { } public static com.google.cloud.contactcenterinsights.v1.IssueModel.InputDataConfig parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.contactcenterinsights.v1.IssueModel.InputDataConfig parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.contactcenterinsights.v1.IssueModel.InputDataConfig parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.contactcenterinsights.v1.IssueModel.InputDataConfig parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.contactcenterinsights.v1.IssueModel.InputDataConfig parseFrom( - byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.contactcenterinsights.v1.IssueModel.InputDataConfig parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.contactcenterinsights.v1.IssueModel.InputDataConfig parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.contactcenterinsights.v1.IssueModel.InputDataConfig parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.contactcenterinsights.v1.IssueModel.InputDataConfig parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.contactcenterinsights.v1.IssueModel.InputDataConfig parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.contactcenterinsights.v1.IssueModel.InputDataConfig - parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.contactcenterinsights.v1.IssueModel.InputDataConfig parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - - public static com.google.cloud.contactcenterinsights.v1.IssueModel.InputDataConfig - parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + public static com.google.cloud.contactcenterinsights.v1.IssueModel.InputDataConfig parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.contactcenterinsights.v1.IssueModel.InputDataConfig parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.contactcenterinsights.v1.IssueModel.InputDataConfig parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.contactcenterinsights.v1.IssueModel.InputDataConfig prototype) { + public static Builder newBuilder(com.google.cloud.contactcenterinsights.v1.IssueModel.InputDataConfig prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -740,42 +632,39 @@ protected Builder newBuilderForType( return builder; } /** - * - * *
      * Configs for the input data used to create the issue model.
      * 
* * Protobuf type {@code google.cloud.contactcenterinsights.v1.IssueModel.InputDataConfig} */ - public static final class Builder - extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.contactcenterinsights.v1.IssueModel.InputDataConfig) com.google.cloud.contactcenterinsights.v1.IssueModel.InputDataConfigOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.contactcenterinsights.v1.ResourcesProto - .internal_static_google_cloud_contactcenterinsights_v1_IssueModel_InputDataConfig_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.contactcenterinsights.v1.ResourcesProto.internal_static_google_cloud_contactcenterinsights_v1_IssueModel_InputDataConfig_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.contactcenterinsights.v1.ResourcesProto - .internal_static_google_cloud_contactcenterinsights_v1_IssueModel_InputDataConfig_fieldAccessorTable + return com.google.cloud.contactcenterinsights.v1.ResourcesProto.internal_static_google_cloud_contactcenterinsights_v1_IssueModel_InputDataConfig_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.contactcenterinsights.v1.IssueModel.InputDataConfig.class, - com.google.cloud.contactcenterinsights.v1.IssueModel.InputDataConfig.Builder.class); + com.google.cloud.contactcenterinsights.v1.IssueModel.InputDataConfig.class, com.google.cloud.contactcenterinsights.v1.IssueModel.InputDataConfig.Builder.class); } - // Construct using - // com.google.cloud.contactcenterinsights.v1.IssueModel.InputDataConfig.newBuilder() - private Builder() {} + // Construct using com.google.cloud.contactcenterinsights.v1.IssueModel.InputDataConfig.newBuilder() + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -787,22 +676,19 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.contactcenterinsights.v1.ResourcesProto - .internal_static_google_cloud_contactcenterinsights_v1_IssueModel_InputDataConfig_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.contactcenterinsights.v1.ResourcesProto.internal_static_google_cloud_contactcenterinsights_v1_IssueModel_InputDataConfig_descriptor; } @java.lang.Override - public com.google.cloud.contactcenterinsights.v1.IssueModel.InputDataConfig - getDefaultInstanceForType() { - return com.google.cloud.contactcenterinsights.v1.IssueModel.InputDataConfig - .getDefaultInstance(); + public com.google.cloud.contactcenterinsights.v1.IssueModel.InputDataConfig getDefaultInstanceForType() { + return com.google.cloud.contactcenterinsights.v1.IssueModel.InputDataConfig.getDefaultInstance(); } @java.lang.Override public com.google.cloud.contactcenterinsights.v1.IssueModel.InputDataConfig build() { - com.google.cloud.contactcenterinsights.v1.IssueModel.InputDataConfig result = - buildPartial(); + com.google.cloud.contactcenterinsights.v1.IssueModel.InputDataConfig result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } @@ -811,17 +697,13 @@ public com.google.cloud.contactcenterinsights.v1.IssueModel.InputDataConfig buil @java.lang.Override public com.google.cloud.contactcenterinsights.v1.IssueModel.InputDataConfig buildPartial() { - com.google.cloud.contactcenterinsights.v1.IssueModel.InputDataConfig result = - new com.google.cloud.contactcenterinsights.v1.IssueModel.InputDataConfig(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + com.google.cloud.contactcenterinsights.v1.IssueModel.InputDataConfig result = new com.google.cloud.contactcenterinsights.v1.IssueModel.InputDataConfig(this); + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } - private void buildPartial0( - com.google.cloud.contactcenterinsights.v1.IssueModel.InputDataConfig result) { + private void buildPartial0(com.google.cloud.contactcenterinsights.v1.IssueModel.InputDataConfig result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { result.medium_ = medium_; @@ -838,53 +720,46 @@ private void buildPartial0( public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, - int index, - java.lang.Object value) { + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.contactcenterinsights.v1.IssueModel.InputDataConfig) { - return mergeFrom( - (com.google.cloud.contactcenterinsights.v1.IssueModel.InputDataConfig) other); + return mergeFrom((com.google.cloud.contactcenterinsights.v1.IssueModel.InputDataConfig)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom( - com.google.cloud.contactcenterinsights.v1.IssueModel.InputDataConfig other) { - if (other - == com.google.cloud.contactcenterinsights.v1.IssueModel.InputDataConfig - .getDefaultInstance()) return this; + public Builder mergeFrom(com.google.cloud.contactcenterinsights.v1.IssueModel.InputDataConfig other) { + if (other == com.google.cloud.contactcenterinsights.v1.IssueModel.InputDataConfig.getDefaultInstance()) return this; if (other.medium_ != 0) { setMediumValue(other.getMediumValue()); } @@ -922,31 +797,27 @@ public Builder mergeFrom( case 0: done = true; break; - case 8: - { - medium_ = input.readEnum(); - bitField0_ |= 0x00000001; - break; - } // case 8 - case 16: - { - trainingConversationsCount_ = input.readInt64(); - bitField0_ |= 0x00000002; - break; - } // case 16 - case 26: - { - filter_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000004; - break; - } // case 26 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 8: { + medium_ = input.readEnum(); + bitField0_ |= 0x00000001; + break; + } // case 8 + case 16: { + trainingConversationsCount_ = input.readInt64(); + bitField0_ |= 0x00000002; + break; + } // case 16 + case 26: { + filter_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000004; + break; + } // case 26 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -956,104 +827,74 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private int medium_ = 0; /** - * - * *
        * Medium of conversations used in training data. This field is being
        * deprecated. To specify the medium to be used in training a new issue
        * model, set the `medium` field on `filter`.
        * 
* - * - * .google.cloud.contactcenterinsights.v1.Conversation.Medium medium = 1 [deprecated = true]; - * - * - * @deprecated google.cloud.contactcenterinsights.v1.IssueModel.InputDataConfig.medium is - * deprecated. See google/cloud/contactcenterinsights/v1/resources.proto;l=606 + * .google.cloud.contactcenterinsights.v1.Conversation.Medium medium = 1 [deprecated = true]; + * @deprecated google.cloud.contactcenterinsights.v1.IssueModel.InputDataConfig.medium is deprecated. + * See google/cloud/contactcenterinsights/v1/resources.proto;l=611 * @return The enum numeric value on the wire for medium. */ - @java.lang.Override - @java.lang.Deprecated - public int getMediumValue() { + @java.lang.Override @java.lang.Deprecated public int getMediumValue() { return medium_; } /** - * - * *
        * Medium of conversations used in training data. This field is being
        * deprecated. To specify the medium to be used in training a new issue
        * model, set the `medium` field on `filter`.
        * 
* - * - * .google.cloud.contactcenterinsights.v1.Conversation.Medium medium = 1 [deprecated = true]; - * - * - * @deprecated google.cloud.contactcenterinsights.v1.IssueModel.InputDataConfig.medium is - * deprecated. See google/cloud/contactcenterinsights/v1/resources.proto;l=606 + * .google.cloud.contactcenterinsights.v1.Conversation.Medium medium = 1 [deprecated = true]; + * @deprecated google.cloud.contactcenterinsights.v1.IssueModel.InputDataConfig.medium is deprecated. + * See google/cloud/contactcenterinsights/v1/resources.proto;l=611 * @param value The enum numeric value on the wire for medium to set. * @return This builder for chaining. */ - @java.lang.Deprecated - public Builder setMediumValue(int value) { + @java.lang.Deprecated public Builder setMediumValue(int value) { medium_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
        * Medium of conversations used in training data. This field is being
        * deprecated. To specify the medium to be used in training a new issue
        * model, set the `medium` field on `filter`.
        * 
* - * - * .google.cloud.contactcenterinsights.v1.Conversation.Medium medium = 1 [deprecated = true]; - * - * - * @deprecated google.cloud.contactcenterinsights.v1.IssueModel.InputDataConfig.medium is - * deprecated. See google/cloud/contactcenterinsights/v1/resources.proto;l=606 + * .google.cloud.contactcenterinsights.v1.Conversation.Medium medium = 1 [deprecated = true]; + * @deprecated google.cloud.contactcenterinsights.v1.IssueModel.InputDataConfig.medium is deprecated. + * See google/cloud/contactcenterinsights/v1/resources.proto;l=611 * @return The medium. */ @java.lang.Override - @java.lang.Deprecated - public com.google.cloud.contactcenterinsights.v1.Conversation.Medium getMedium() { - com.google.cloud.contactcenterinsights.v1.Conversation.Medium result = - com.google.cloud.contactcenterinsights.v1.Conversation.Medium.forNumber(medium_); - return result == null - ? com.google.cloud.contactcenterinsights.v1.Conversation.Medium.UNRECOGNIZED - : result; + @java.lang.Deprecated public com.google.cloud.contactcenterinsights.v1.Conversation.Medium getMedium() { + com.google.cloud.contactcenterinsights.v1.Conversation.Medium result = com.google.cloud.contactcenterinsights.v1.Conversation.Medium.forNumber(medium_); + return result == null ? com.google.cloud.contactcenterinsights.v1.Conversation.Medium.UNRECOGNIZED : result; } /** - * - * *
        * Medium of conversations used in training data. This field is being
        * deprecated. To specify the medium to be used in training a new issue
        * model, set the `medium` field on `filter`.
        * 
* - * - * .google.cloud.contactcenterinsights.v1.Conversation.Medium medium = 1 [deprecated = true]; - * - * - * @deprecated google.cloud.contactcenterinsights.v1.IssueModel.InputDataConfig.medium is - * deprecated. See google/cloud/contactcenterinsights/v1/resources.proto;l=606 + * .google.cloud.contactcenterinsights.v1.Conversation.Medium medium = 1 [deprecated = true]; + * @deprecated google.cloud.contactcenterinsights.v1.IssueModel.InputDataConfig.medium is deprecated. + * See google/cloud/contactcenterinsights/v1/resources.proto;l=611 * @param value The medium to set. * @return This builder for chaining. */ - @java.lang.Deprecated - public Builder setMedium( - com.google.cloud.contactcenterinsights.v1.Conversation.Medium value) { + @java.lang.Deprecated public Builder setMedium(com.google.cloud.contactcenterinsights.v1.Conversation.Medium value) { if (value == null) { throw new NullPointerException(); } @@ -1063,41 +904,31 @@ public Builder setMedium( return this; } /** - * - * *
        * Medium of conversations used in training data. This field is being
        * deprecated. To specify the medium to be used in training a new issue
        * model, set the `medium` field on `filter`.
        * 
* - * - * .google.cloud.contactcenterinsights.v1.Conversation.Medium medium = 1 [deprecated = true]; - * - * - * @deprecated google.cloud.contactcenterinsights.v1.IssueModel.InputDataConfig.medium is - * deprecated. See google/cloud/contactcenterinsights/v1/resources.proto;l=606 + * .google.cloud.contactcenterinsights.v1.Conversation.Medium medium = 1 [deprecated = true]; + * @deprecated google.cloud.contactcenterinsights.v1.IssueModel.InputDataConfig.medium is deprecated. + * See google/cloud/contactcenterinsights/v1/resources.proto;l=611 * @return This builder for chaining. */ - @java.lang.Deprecated - public Builder clearMedium() { + @java.lang.Deprecated public Builder clearMedium() { bitField0_ = (bitField0_ & ~0x00000001); medium_ = 0; onChanged(); return this; } - private long trainingConversationsCount_; + private long trainingConversationsCount_ ; /** - * - * *
        * Output only. Number of conversations used in training. Output only.
        * 
* - * int64 training_conversations_count = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * int64 training_conversations_count = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The trainingConversationsCount. */ @java.lang.Override @@ -1105,35 +936,27 @@ public long getTrainingConversationsCount() { return trainingConversationsCount_; } /** - * - * *
        * Output only. Number of conversations used in training. Output only.
        * 
* - * int64 training_conversations_count = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * int64 training_conversations_count = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @param value The trainingConversationsCount to set. * @return This builder for chaining. */ public Builder setTrainingConversationsCount(long value) { - + trainingConversationsCount_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** - * - * *
        * Output only. Number of conversations used in training. Output only.
        * 
* - * int64 training_conversations_count = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * int64 training_conversations_count = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return This builder for chaining. */ public Builder clearTrainingConversationsCount() { @@ -1145,21 +968,19 @@ public Builder clearTrainingConversationsCount() { private java.lang.Object filter_ = ""; /** - * - * *
        * A filter to reduce the conversations used for training the model to a
        * specific subset.
        * 
* * string filter = 3; - * * @return The filter. */ public java.lang.String getFilter() { java.lang.Object ref = filter_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); filter_ = s; return s; @@ -1168,22 +989,21 @@ public java.lang.String getFilter() { } } /** - * - * *
        * A filter to reduce the conversations used for training the model to a
        * specific subset.
        * 
* * string filter = 3; - * * @return The bytes for filter. */ - public com.google.protobuf.ByteString getFilterBytes() { + public com.google.protobuf.ByteString + getFilterBytes() { java.lang.Object ref = filter_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); filter_ = b; return b; } else { @@ -1191,37 +1011,30 @@ public com.google.protobuf.ByteString getFilterBytes() { } } /** - * - * *
        * A filter to reduce the conversations used for training the model to a
        * specific subset.
        * 
* * string filter = 3; - * * @param value The filter to set. * @return This builder for chaining. */ - public Builder setFilter(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setFilter( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } filter_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } /** - * - * *
        * A filter to reduce the conversations used for training the model to a
        * specific subset.
        * 
* * string filter = 3; - * * @return This builder for chaining. */ public Builder clearFilter() { @@ -1231,29 +1044,24 @@ public Builder clearFilter() { return this; } /** - * - * *
        * A filter to reduce the conversations used for training the model to a
        * specific subset.
        * 
* * string filter = 3; - * * @param value The bytes for filter to set. * @return This builder for chaining. */ - public Builder setFilterBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setFilterBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); filter_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } - @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -1266,44 +1074,41 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.contactcenterinsights.v1.IssueModel.InputDataConfig) } // @@protoc_insertion_point(class_scope:google.cloud.contactcenterinsights.v1.IssueModel.InputDataConfig) - private static final com.google.cloud.contactcenterinsights.v1.IssueModel.InputDataConfig - DEFAULT_INSTANCE; - + private static final com.google.cloud.contactcenterinsights.v1.IssueModel.InputDataConfig DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.cloud.contactcenterinsights.v1.IssueModel.InputDataConfig(); } - public static com.google.cloud.contactcenterinsights.v1.IssueModel.InputDataConfig - getDefaultInstance() { + public static com.google.cloud.contactcenterinsights.v1.IssueModel.InputDataConfig getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public InputDataConfig parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException() - .setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public InputDataConfig parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1315,19 +1120,16 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.cloud.contactcenterinsights.v1.IssueModel.InputDataConfig - getDefaultInstanceForType() { + public com.google.cloud.contactcenterinsights.v1.IssueModel.InputDataConfig getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } public static final int NAME_FIELD_NUMBER = 1; - @SuppressWarnings("serial") private volatile java.lang.Object name_ = ""; /** - * - * *
    * Immutable. The resource name of the issue model.
    * Format:
@@ -1335,7 +1137,6 @@ public com.google.protobuf.Parser getParserForType() {
    * 
* * string name = 1 [(.google.api.field_behavior) = IMMUTABLE]; - * * @return The name. */ @java.lang.Override @@ -1344,15 +1145,14 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** - * - * *
    * Immutable. The resource name of the issue model.
    * Format:
@@ -1360,15 +1160,16 @@ public java.lang.String getName() {
    * 
* * string name = 1 [(.google.api.field_behavior) = IMMUTABLE]; - * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -1377,18 +1178,14 @@ public com.google.protobuf.ByteString getNameBytes() { } public static final int DISPLAY_NAME_FIELD_NUMBER = 2; - @SuppressWarnings("serial") private volatile java.lang.Object displayName_ = ""; /** - * - * *
    * The representative name for the issue model.
    * 
* * string display_name = 2; - * * @return The displayName. */ @java.lang.Override @@ -1397,29 +1194,29 @@ public java.lang.String getDisplayName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); displayName_ = s; return s; } } /** - * - * *
    * The representative name for the issue model.
    * 
* * string display_name = 2; - * * @return The bytes for displayName. */ @java.lang.Override - public com.google.protobuf.ByteString getDisplayNameBytes() { + public com.google.protobuf.ByteString + getDisplayNameBytes() { java.lang.Object ref = displayName_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); displayName_ = b; return b; } else { @@ -1430,15 +1227,11 @@ public com.google.protobuf.ByteString getDisplayNameBytes() { public static final int CREATE_TIME_FIELD_NUMBER = 3; private com.google.protobuf.Timestamp createTime_; /** - * - * *
    * Output only. The time at which this issue model was created.
    * 
* - * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the createTime field is set. */ @java.lang.Override @@ -1446,15 +1239,11 @@ public boolean hasCreateTime() { return createTime_ != null; } /** - * - * *
    * Output only. The time at which this issue model was created.
    * 
* - * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The createTime. */ @java.lang.Override @@ -1462,14 +1251,11 @@ public com.google.protobuf.Timestamp getCreateTime() { return createTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : createTime_; } /** - * - * *
    * Output only. The time at which this issue model was created.
    * 
* - * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ @java.lang.Override public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { @@ -1479,15 +1265,11 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { public static final int UPDATE_TIME_FIELD_NUMBER = 4; private com.google.protobuf.Timestamp updateTime_; /** - * - * *
    * Output only. The most recent time at which the issue model was updated.
    * 
* - * .google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the updateTime field is set. */ @java.lang.Override @@ -1495,15 +1277,11 @@ public boolean hasUpdateTime() { return updateTime_ != null; } /** - * - * *
    * Output only. The most recent time at which the issue model was updated.
    * 
* - * .google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The updateTime. */ @java.lang.Override @@ -1511,73 +1289,66 @@ public com.google.protobuf.Timestamp getUpdateTime() { return updateTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : updateTime_; } /** - * - * *
    * Output only. The most recent time at which the issue model was updated.
    * 
* - * .google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ @java.lang.Override public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { return updateTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : updateTime_; } + public static final int ISSUE_COUNT_FIELD_NUMBER = 8; + private long issueCount_ = 0L; + /** + *
+   * Output only. Number of issues in this issue model.
+   * 
+ * + * int64 issue_count = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * @return The issueCount. + */ + @java.lang.Override + public long getIssueCount() { + return issueCount_; + } + public static final int STATE_FIELD_NUMBER = 5; private int state_ = 0; /** - * - * *
    * Output only. State of the model.
    * 
* - * - * .google.cloud.contactcenterinsights.v1.IssueModel.State state = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.contactcenterinsights.v1.IssueModel.State state = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The enum numeric value on the wire for state. */ - @java.lang.Override - public int getStateValue() { + @java.lang.Override public int getStateValue() { return state_; } /** - * - * *
    * Output only. State of the model.
    * 
* - * - * .google.cloud.contactcenterinsights.v1.IssueModel.State state = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.contactcenterinsights.v1.IssueModel.State state = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The state. */ - @java.lang.Override - public com.google.cloud.contactcenterinsights.v1.IssueModel.State getState() { - com.google.cloud.contactcenterinsights.v1.IssueModel.State result = - com.google.cloud.contactcenterinsights.v1.IssueModel.State.forNumber(state_); - return result == null - ? com.google.cloud.contactcenterinsights.v1.IssueModel.State.UNRECOGNIZED - : result; + @java.lang.Override public com.google.cloud.contactcenterinsights.v1.IssueModel.State getState() { + com.google.cloud.contactcenterinsights.v1.IssueModel.State result = com.google.cloud.contactcenterinsights.v1.IssueModel.State.forNumber(state_); + return result == null ? com.google.cloud.contactcenterinsights.v1.IssueModel.State.UNRECOGNIZED : result; } public static final int INPUT_DATA_CONFIG_FIELD_NUMBER = 6; private com.google.cloud.contactcenterinsights.v1.IssueModel.InputDataConfig inputDataConfig_; /** - * - * *
    * Configs for the input data that used to create the issue model.
    * 
* - * .google.cloud.contactcenterinsights.v1.IssueModel.InputDataConfig input_data_config = 6; - * - * + * .google.cloud.contactcenterinsights.v1.IssueModel.InputDataConfig input_data_config = 6; * @return Whether the inputDataConfig field is set. */ @java.lang.Override @@ -1585,54 +1356,38 @@ public boolean hasInputDataConfig() { return inputDataConfig_ != null; } /** - * - * *
    * Configs for the input data that used to create the issue model.
    * 
* - * .google.cloud.contactcenterinsights.v1.IssueModel.InputDataConfig input_data_config = 6; - * - * + * .google.cloud.contactcenterinsights.v1.IssueModel.InputDataConfig input_data_config = 6; * @return The inputDataConfig. */ @java.lang.Override public com.google.cloud.contactcenterinsights.v1.IssueModel.InputDataConfig getInputDataConfig() { - return inputDataConfig_ == null - ? com.google.cloud.contactcenterinsights.v1.IssueModel.InputDataConfig.getDefaultInstance() - : inputDataConfig_; + return inputDataConfig_ == null ? com.google.cloud.contactcenterinsights.v1.IssueModel.InputDataConfig.getDefaultInstance() : inputDataConfig_; } /** - * - * *
    * Configs for the input data that used to create the issue model.
    * 
* - * .google.cloud.contactcenterinsights.v1.IssueModel.InputDataConfig input_data_config = 6; - * + * .google.cloud.contactcenterinsights.v1.IssueModel.InputDataConfig input_data_config = 6; */ @java.lang.Override - public com.google.cloud.contactcenterinsights.v1.IssueModel.InputDataConfigOrBuilder - getInputDataConfigOrBuilder() { - return inputDataConfig_ == null - ? com.google.cloud.contactcenterinsights.v1.IssueModel.InputDataConfig.getDefaultInstance() - : inputDataConfig_; + public com.google.cloud.contactcenterinsights.v1.IssueModel.InputDataConfigOrBuilder getInputDataConfigOrBuilder() { + return inputDataConfig_ == null ? com.google.cloud.contactcenterinsights.v1.IssueModel.InputDataConfig.getDefaultInstance() : inputDataConfig_; } public static final int TRAINING_STATS_FIELD_NUMBER = 7; private com.google.cloud.contactcenterinsights.v1.IssueModelLabelStats trainingStats_; /** - * - * *
-   * Output only. Immutable. The issue model's label statistics on its training data.
+   * Output only. Immutable. The issue model's label statistics on its training
+   * data.
    * 
* - * - * .google.cloud.contactcenterinsights.v1.IssueModelLabelStats training_stats = 7 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.field_behavior) = IMMUTABLE]; - * - * + * .google.cloud.contactcenterinsights.v1.IssueModelLabelStats training_stats = 7 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.field_behavior) = IMMUTABLE]; * @return Whether the trainingStats field is set. */ @java.lang.Override @@ -1640,45 +1395,32 @@ public boolean hasTrainingStats() { return trainingStats_ != null; } /** - * - * *
-   * Output only. Immutable. The issue model's label statistics on its training data.
+   * Output only. Immutable. The issue model's label statistics on its training
+   * data.
    * 
* - * - * .google.cloud.contactcenterinsights.v1.IssueModelLabelStats training_stats = 7 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.field_behavior) = IMMUTABLE]; - * - * + * .google.cloud.contactcenterinsights.v1.IssueModelLabelStats training_stats = 7 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.field_behavior) = IMMUTABLE]; * @return The trainingStats. */ @java.lang.Override public com.google.cloud.contactcenterinsights.v1.IssueModelLabelStats getTrainingStats() { - return trainingStats_ == null - ? com.google.cloud.contactcenterinsights.v1.IssueModelLabelStats.getDefaultInstance() - : trainingStats_; + return trainingStats_ == null ? com.google.cloud.contactcenterinsights.v1.IssueModelLabelStats.getDefaultInstance() : trainingStats_; } /** - * - * *
-   * Output only. Immutable. The issue model's label statistics on its training data.
+   * Output only. Immutable. The issue model's label statistics on its training
+   * data.
    * 
* - * - * .google.cloud.contactcenterinsights.v1.IssueModelLabelStats training_stats = 7 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.field_behavior) = IMMUTABLE]; - * + * .google.cloud.contactcenterinsights.v1.IssueModelLabelStats training_stats = 7 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.field_behavior) = IMMUTABLE]; */ @java.lang.Override - public com.google.cloud.contactcenterinsights.v1.IssueModelLabelStatsOrBuilder - getTrainingStatsOrBuilder() { - return trainingStats_ == null - ? com.google.cloud.contactcenterinsights.v1.IssueModelLabelStats.getDefaultInstance() - : trainingStats_; + public com.google.cloud.contactcenterinsights.v1.IssueModelLabelStatsOrBuilder getTrainingStatsOrBuilder() { + return trainingStats_ == null ? com.google.cloud.contactcenterinsights.v1.IssueModelLabelStats.getDefaultInstance() : trainingStats_; } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -1690,7 +1432,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -1703,9 +1446,7 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io if (updateTime_ != null) { output.writeMessage(4, getUpdateTime()); } - if (state_ - != com.google.cloud.contactcenterinsights.v1.IssueModel.State.STATE_UNSPECIFIED - .getNumber()) { + if (state_ != com.google.cloud.contactcenterinsights.v1.IssueModel.State.STATE_UNSPECIFIED.getNumber()) { output.writeEnum(5, state_); } if (inputDataConfig_ != null) { @@ -1714,6 +1455,9 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io if (trainingStats_ != null) { output.writeMessage(7, getTrainingStats()); } + if (issueCount_ != 0L) { + output.writeInt64(8, issueCount_); + } getUnknownFields().writeTo(output); } @@ -1730,21 +1474,28 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, displayName_); } if (createTime_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getCreateTime()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(3, getCreateTime()); } if (updateTime_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(4, getUpdateTime()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(4, getUpdateTime()); } - if (state_ - != com.google.cloud.contactcenterinsights.v1.IssueModel.State.STATE_UNSPECIFIED - .getNumber()) { - size += com.google.protobuf.CodedOutputStream.computeEnumSize(5, state_); + if (state_ != com.google.cloud.contactcenterinsights.v1.IssueModel.State.STATE_UNSPECIFIED.getNumber()) { + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(5, state_); } if (inputDataConfig_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(6, getInputDataConfig()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(6, getInputDataConfig()); } if (trainingStats_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(7, getTrainingStats()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(7, getTrainingStats()); + } + if (issueCount_ != 0L) { + size += com.google.protobuf.CodedOutputStream + .computeInt64Size(8, issueCount_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -1754,32 +1505,39 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.contactcenterinsights.v1.IssueModel)) { return super.equals(obj); } - com.google.cloud.contactcenterinsights.v1.IssueModel other = - (com.google.cloud.contactcenterinsights.v1.IssueModel) obj; + com.google.cloud.contactcenterinsights.v1.IssueModel other = (com.google.cloud.contactcenterinsights.v1.IssueModel) obj; - if (!getName().equals(other.getName())) return false; - if (!getDisplayName().equals(other.getDisplayName())) return false; + if (!getName() + .equals(other.getName())) return false; + if (!getDisplayName() + .equals(other.getDisplayName())) return false; if (hasCreateTime() != other.hasCreateTime()) return false; if (hasCreateTime()) { - if (!getCreateTime().equals(other.getCreateTime())) return false; + if (!getCreateTime() + .equals(other.getCreateTime())) return false; } if (hasUpdateTime() != other.hasUpdateTime()) return false; if (hasUpdateTime()) { - if (!getUpdateTime().equals(other.getUpdateTime())) return false; + if (!getUpdateTime() + .equals(other.getUpdateTime())) return false; } + if (getIssueCount() + != other.getIssueCount()) return false; if (state_ != other.state_) return false; if (hasInputDataConfig() != other.hasInputDataConfig()) return false; if (hasInputDataConfig()) { - if (!getInputDataConfig().equals(other.getInputDataConfig())) return false; + if (!getInputDataConfig() + .equals(other.getInputDataConfig())) return false; } if (hasTrainingStats() != other.hasTrainingStats()) return false; if (hasTrainingStats()) { - if (!getTrainingStats().equals(other.getTrainingStats())) return false; + if (!getTrainingStats() + .equals(other.getTrainingStats())) return false; } if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -1804,6 +1562,9 @@ public int hashCode() { hash = (37 * hash) + UPDATE_TIME_FIELD_NUMBER; hash = (53 * hash) + getUpdateTime().hashCode(); } + hash = (37 * hash) + ISSUE_COUNT_FIELD_NUMBER; + hash = (53 * hash) + com.google.protobuf.Internal.hashLong( + getIssueCount()); hash = (37 * hash) + STATE_FIELD_NUMBER; hash = (53 * hash) + state_; if (hasInputDataConfig()) { @@ -1820,135 +1581,129 @@ public int hashCode() { } public static com.google.cloud.contactcenterinsights.v1.IssueModel parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.contactcenterinsights.v1.IssueModel parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.contactcenterinsights.v1.IssueModel parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.contactcenterinsights.v1.IssueModel parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.contactcenterinsights.v1.IssueModel parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.contactcenterinsights.v1.IssueModel parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.contactcenterinsights.v1.IssueModel parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.contactcenterinsights.v1.IssueModel parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.contactcenterinsights.v1.IssueModel parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.contactcenterinsights.v1.IssueModel parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.contactcenterinsights.v1.IssueModel parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.contactcenterinsights.v1.IssueModel parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.contactcenterinsights.v1.IssueModel parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.contactcenterinsights.v1.IssueModel parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.contactcenterinsights.v1.IssueModel prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * The issue model resource.
    * 
* * Protobuf type {@code google.cloud.contactcenterinsights.v1.IssueModel} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.contactcenterinsights.v1.IssueModel) com.google.cloud.contactcenterinsights.v1.IssueModelOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.contactcenterinsights.v1.ResourcesProto - .internal_static_google_cloud_contactcenterinsights_v1_IssueModel_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.contactcenterinsights.v1.ResourcesProto.internal_static_google_cloud_contactcenterinsights_v1_IssueModel_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.contactcenterinsights.v1.ResourcesProto - .internal_static_google_cloud_contactcenterinsights_v1_IssueModel_fieldAccessorTable + return com.google.cloud.contactcenterinsights.v1.ResourcesProto.internal_static_google_cloud_contactcenterinsights_v1_IssueModel_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.contactcenterinsights.v1.IssueModel.class, - com.google.cloud.contactcenterinsights.v1.IssueModel.Builder.class); + com.google.cloud.contactcenterinsights.v1.IssueModel.class, com.google.cloud.contactcenterinsights.v1.IssueModel.Builder.class); } // Construct using com.google.cloud.contactcenterinsights.v1.IssueModel.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -1965,6 +1720,7 @@ public Builder clear() { updateTimeBuilder_.dispose(); updateTimeBuilder_ = null; } + issueCount_ = 0L; state_ = 0; inputDataConfig_ = null; if (inputDataConfigBuilder_ != null) { @@ -1980,9 +1736,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.contactcenterinsights.v1.ResourcesProto - .internal_static_google_cloud_contactcenterinsights_v1_IssueModel_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.contactcenterinsights.v1.ResourcesProto.internal_static_google_cloud_contactcenterinsights_v1_IssueModel_descriptor; } @java.lang.Override @@ -2001,11 +1757,8 @@ public com.google.cloud.contactcenterinsights.v1.IssueModel build() { @java.lang.Override public com.google.cloud.contactcenterinsights.v1.IssueModel buildPartial() { - com.google.cloud.contactcenterinsights.v1.IssueModel result = - new com.google.cloud.contactcenterinsights.v1.IssueModel(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + com.google.cloud.contactcenterinsights.v1.IssueModel result = new com.google.cloud.contactcenterinsights.v1.IssueModel(this); + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } @@ -2019,21 +1772,30 @@ private void buildPartial0(com.google.cloud.contactcenterinsights.v1.IssueModel result.displayName_ = displayName_; } if (((from_bitField0_ & 0x00000004) != 0)) { - result.createTime_ = createTimeBuilder_ == null ? createTime_ : createTimeBuilder_.build(); + result.createTime_ = createTimeBuilder_ == null + ? createTime_ + : createTimeBuilder_.build(); } if (((from_bitField0_ & 0x00000008) != 0)) { - result.updateTime_ = updateTimeBuilder_ == null ? updateTime_ : updateTimeBuilder_.build(); + result.updateTime_ = updateTimeBuilder_ == null + ? updateTime_ + : updateTimeBuilder_.build(); } if (((from_bitField0_ & 0x00000010) != 0)) { - result.state_ = state_; + result.issueCount_ = issueCount_; } if (((from_bitField0_ & 0x00000020) != 0)) { - result.inputDataConfig_ = - inputDataConfigBuilder_ == null ? inputDataConfig_ : inputDataConfigBuilder_.build(); + result.state_ = state_; } if (((from_bitField0_ & 0x00000040) != 0)) { - result.trainingStats_ = - trainingStatsBuilder_ == null ? trainingStats_ : trainingStatsBuilder_.build(); + result.inputDataConfig_ = inputDataConfigBuilder_ == null + ? inputDataConfig_ + : inputDataConfigBuilder_.build(); + } + if (((from_bitField0_ & 0x00000080) != 0)) { + result.trainingStats_ = trainingStatsBuilder_ == null + ? trainingStats_ + : trainingStatsBuilder_.build(); } } @@ -2041,39 +1803,38 @@ private void buildPartial0(com.google.cloud.contactcenterinsights.v1.IssueModel public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.contactcenterinsights.v1.IssueModel) { - return mergeFrom((com.google.cloud.contactcenterinsights.v1.IssueModel) other); + return mergeFrom((com.google.cloud.contactcenterinsights.v1.IssueModel)other); } else { super.mergeFrom(other); return this; @@ -2081,8 +1842,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.contactcenterinsights.v1.IssueModel other) { - if (other == com.google.cloud.contactcenterinsights.v1.IssueModel.getDefaultInstance()) - return this; + if (other == com.google.cloud.contactcenterinsights.v1.IssueModel.getDefaultInstance()) return this; if (!other.getName().isEmpty()) { name_ = other.name_; bitField0_ |= 0x00000001; @@ -2099,6 +1859,9 @@ public Builder mergeFrom(com.google.cloud.contactcenterinsights.v1.IssueModel ot if (other.hasUpdateTime()) { mergeUpdateTime(other.getUpdateTime()); } + if (other.getIssueCount() != 0L) { + setIssueCount(other.getIssueCount()); + } if (other.state_ != 0) { setStateValue(other.getStateValue()); } @@ -2134,55 +1897,60 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - name_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: - { - displayName_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000002; - break; - } // case 18 - case 26: - { - input.readMessage(getCreateTimeFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00000004; - break; - } // case 26 - case 34: - { - input.readMessage(getUpdateTimeFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00000008; - break; - } // case 34 - case 40: - { - state_ = input.readEnum(); - bitField0_ |= 0x00000010; - break; - } // case 40 - case 50: - { - input.readMessage(getInputDataConfigFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00000020; - break; - } // case 50 - case 58: - { - input.readMessage(getTrainingStatsFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00000040; - break; - } // case 58 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + name_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: { + displayName_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + break; + } // case 18 + case 26: { + input.readMessage( + getCreateTimeFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00000004; + break; + } // case 26 + case 34: { + input.readMessage( + getUpdateTimeFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00000008; + break; + } // case 34 + case 40: { + state_ = input.readEnum(); + bitField0_ |= 0x00000020; + break; + } // case 40 + case 50: { + input.readMessage( + getInputDataConfigFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00000040; + break; + } // case 50 + case 58: { + input.readMessage( + getTrainingStatsFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00000080; + break; + } // case 58 + case 64: { + issueCount_ = input.readInt64(); + bitField0_ |= 0x00000010; + break; + } // case 64 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -2192,13 +1960,10 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private java.lang.Object name_ = ""; /** - * - * *
      * Immutable. The resource name of the issue model.
      * Format:
@@ -2206,13 +1971,13 @@ public Builder mergeFrom(
      * 
* * string name = 1 [(.google.api.field_behavior) = IMMUTABLE]; - * * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -2221,8 +1986,6 @@ public java.lang.String getName() { } } /** - * - * *
      * Immutable. The resource name of the issue model.
      * Format:
@@ -2230,14 +1993,15 @@ public java.lang.String getName() {
      * 
* * string name = 1 [(.google.api.field_behavior) = IMMUTABLE]; - * * @return The bytes for name. */ - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -2245,8 +2009,6 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * Immutable. The resource name of the issue model.
      * Format:
@@ -2254,22 +2016,18 @@ public com.google.protobuf.ByteString getNameBytes() {
      * 
* * string name = 1 [(.google.api.field_behavior) = IMMUTABLE]; - * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setName( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } name_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
      * Immutable. The resource name of the issue model.
      * Format:
@@ -2277,7 +2035,6 @@ public Builder setName(java.lang.String value) {
      * 
* * string name = 1 [(.google.api.field_behavior) = IMMUTABLE]; - * * @return This builder for chaining. */ public Builder clearName() { @@ -2287,8 +2044,6 @@ public Builder clearName() { return this; } /** - * - * *
      * Immutable. The resource name of the issue model.
      * Format:
@@ -2296,14 +2051,12 @@ public Builder clearName() {
      * 
* * string name = 1 [(.google.api.field_behavior) = IMMUTABLE]; - * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setNameBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); name_ = value; bitField0_ |= 0x00000001; @@ -2313,20 +2066,18 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) { private java.lang.Object displayName_ = ""; /** - * - * *
      * The representative name for the issue model.
      * 
* * string display_name = 2; - * * @return The displayName. */ public java.lang.String getDisplayName() { java.lang.Object ref = displayName_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); displayName_ = s; return s; @@ -2335,21 +2086,20 @@ public java.lang.String getDisplayName() { } } /** - * - * *
      * The representative name for the issue model.
      * 
* * string display_name = 2; - * * @return The bytes for displayName. */ - public com.google.protobuf.ByteString getDisplayNameBytes() { + public com.google.protobuf.ByteString + getDisplayNameBytes() { java.lang.Object ref = displayName_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); displayName_ = b; return b; } else { @@ -2357,35 +2107,28 @@ public com.google.protobuf.ByteString getDisplayNameBytes() { } } /** - * - * *
      * The representative name for the issue model.
      * 
* * string display_name = 2; - * * @param value The displayName to set. * @return This builder for chaining. */ - public Builder setDisplayName(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setDisplayName( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } displayName_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** - * - * *
      * The representative name for the issue model.
      * 
* * string display_name = 2; - * * @return This builder for chaining. */ public Builder clearDisplayName() { @@ -2395,21 +2138,17 @@ public Builder clearDisplayName() { return this; } /** - * - * *
      * The representative name for the issue model.
      * 
* * string display_name = 2; - * * @param value The bytes for displayName to set. * @return This builder for chaining. */ - public Builder setDisplayNameBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setDisplayNameBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); displayName_ = value; bitField0_ |= 0x00000002; @@ -2419,58 +2158,39 @@ public Builder setDisplayNameBytes(com.google.protobuf.ByteString value) { private com.google.protobuf.Timestamp createTime_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> - createTimeBuilder_; + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> createTimeBuilder_; /** - * - * *
      * Output only. The time at which this issue model was created.
      * 
* - * - * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the createTime field is set. */ public boolean hasCreateTime() { return ((bitField0_ & 0x00000004) != 0); } /** - * - * *
      * Output only. The time at which this issue model was created.
      * 
* - * - * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The createTime. */ public com.google.protobuf.Timestamp getCreateTime() { if (createTimeBuilder_ == null) { - return createTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : createTime_; + return createTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : createTime_; } else { return createTimeBuilder_.getMessage(); } } /** - * - * *
      * Output only. The time at which this issue model was created.
      * 
* - * - * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder setCreateTime(com.google.protobuf.Timestamp value) { if (createTimeBuilder_ == null) { @@ -2486,17 +2206,14 @@ public Builder setCreateTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * Output only. The time at which this issue model was created.
      * 
* - * - * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - public Builder setCreateTime(com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setCreateTime( + com.google.protobuf.Timestamp.Builder builderForValue) { if (createTimeBuilder_ == null) { createTime_ = builderForValue.build(); } else { @@ -2507,21 +2224,17 @@ public Builder setCreateTime(com.google.protobuf.Timestamp.Builder builderForVal return this; } /** - * - * *
      * Output only. The time at which this issue model was created.
      * 
* - * - * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder mergeCreateTime(com.google.protobuf.Timestamp value) { if (createTimeBuilder_ == null) { - if (((bitField0_ & 0x00000004) != 0) - && createTime_ != null - && createTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { + if (((bitField0_ & 0x00000004) != 0) && + createTime_ != null && + createTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { getCreateTimeBuilder().mergeFrom(value); } else { createTime_ = value; @@ -2534,15 +2247,11 @@ public Builder mergeCreateTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * Output only. The time at which this issue model was created.
      * 
* - * - * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder clearCreateTime() { bitField0_ = (bitField0_ & ~0x00000004); @@ -2555,15 +2264,11 @@ public Builder clearCreateTime() { return this; } /** - * - * *
      * Output only. The time at which this issue model was created.
      * 
* - * - * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public com.google.protobuf.Timestamp.Builder getCreateTimeBuilder() { bitField0_ |= 0x00000004; @@ -2571,48 +2276,36 @@ public com.google.protobuf.Timestamp.Builder getCreateTimeBuilder() { return getCreateTimeFieldBuilder().getBuilder(); } /** - * - * *
      * Output only. The time at which this issue model was created.
      * 
* - * - * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { if (createTimeBuilder_ != null) { return createTimeBuilder_.getMessageOrBuilder(); } else { - return createTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : createTime_; + return createTime_ == null ? + com.google.protobuf.Timestamp.getDefaultInstance() : createTime_; } } /** - * - * *
      * Output only. The time at which this issue model was created.
      * 
* - * - * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> getCreateTimeFieldBuilder() { if (createTimeBuilder_ == null) { - createTimeBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder>( - getCreateTime(), getParentForChildren(), isClean()); + createTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( + getCreateTime(), + getParentForChildren(), + isClean()); createTime_ = null; } return createTimeBuilder_; @@ -2620,58 +2313,39 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { private com.google.protobuf.Timestamp updateTime_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> - updateTimeBuilder_; + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> updateTimeBuilder_; /** - * - * *
      * Output only. The most recent time at which the issue model was updated.
      * 
* - * - * .google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the updateTime field is set. */ public boolean hasUpdateTime() { return ((bitField0_ & 0x00000008) != 0); } /** - * - * *
      * Output only. The most recent time at which the issue model was updated.
      * 
* - * - * .google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The updateTime. */ public com.google.protobuf.Timestamp getUpdateTime() { if (updateTimeBuilder_ == null) { - return updateTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : updateTime_; + return updateTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : updateTime_; } else { return updateTimeBuilder_.getMessage(); } } /** - * - * *
      * Output only. The most recent time at which the issue model was updated.
      * 
* - * - * .google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder setUpdateTime(com.google.protobuf.Timestamp value) { if (updateTimeBuilder_ == null) { @@ -2687,17 +2361,14 @@ public Builder setUpdateTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * Output only. The most recent time at which the issue model was updated.
      * 
* - * - * .google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - public Builder setUpdateTime(com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setUpdateTime( + com.google.protobuf.Timestamp.Builder builderForValue) { if (updateTimeBuilder_ == null) { updateTime_ = builderForValue.build(); } else { @@ -2708,21 +2379,17 @@ public Builder setUpdateTime(com.google.protobuf.Timestamp.Builder builderForVal return this; } /** - * - * *
      * Output only. The most recent time at which the issue model was updated.
      * 
* - * - * .google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder mergeUpdateTime(com.google.protobuf.Timestamp value) { if (updateTimeBuilder_ == null) { - if (((bitField0_ & 0x00000008) != 0) - && updateTime_ != null - && updateTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { + if (((bitField0_ & 0x00000008) != 0) && + updateTime_ != null && + updateTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { getUpdateTimeBuilder().mergeFrom(value); } else { updateTime_ = value; @@ -2735,15 +2402,11 @@ public Builder mergeUpdateTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * Output only. The most recent time at which the issue model was updated.
      * 
* - * - * .google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder clearUpdateTime() { bitField0_ = (bitField0_ & ~0x00000008); @@ -2756,15 +2419,11 @@ public Builder clearUpdateTime() { return this; } /** - * - * *
      * Output only. The most recent time at which the issue model was updated.
      * 
* - * - * .google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public com.google.protobuf.Timestamp.Builder getUpdateTimeBuilder() { bitField0_ |= 0x00000008; @@ -2772,123 +2431,131 @@ public com.google.protobuf.Timestamp.Builder getUpdateTimeBuilder() { return getUpdateTimeFieldBuilder().getBuilder(); } /** - * - * *
      * Output only. The most recent time at which the issue model was updated.
      * 
* - * - * .google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { if (updateTimeBuilder_ != null) { return updateTimeBuilder_.getMessageOrBuilder(); } else { - return updateTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : updateTime_; + return updateTime_ == null ? + com.google.protobuf.Timestamp.getDefaultInstance() : updateTime_; } } /** - * - * *
      * Output only. The most recent time at which the issue model was updated.
      * 
* - * - * .google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> getUpdateTimeFieldBuilder() { if (updateTimeBuilder_ == null) { - updateTimeBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder>( - getUpdateTime(), getParentForChildren(), isClean()); + updateTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( + getUpdateTime(), + getParentForChildren(), + isClean()); updateTime_ = null; } return updateTimeBuilder_; } - private int state_ = 0; + private long issueCount_ ; /** + *
+     * Output only. Number of issues in this issue model.
+     * 
* + * int64 issue_count = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * @return The issueCount. + */ + @java.lang.Override + public long getIssueCount() { + return issueCount_; + } + /** + *
+     * Output only. Number of issues in this issue model.
+     * 
* + * int64 issue_count = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * @param value The issueCount to set. + * @return This builder for chaining. + */ + public Builder setIssueCount(long value) { + + issueCount_ = value; + bitField0_ |= 0x00000010; + onChanged(); + return this; + } + /** *
-     * Output only. State of the model.
+     * Output only. Number of issues in this issue model.
      * 
* - * - * .google.cloud.contactcenterinsights.v1.IssueModel.State state = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * int64 issue_count = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * @return This builder for chaining. + */ + public Builder clearIssueCount() { + bitField0_ = (bitField0_ & ~0x00000010); + issueCount_ = 0L; + onChanged(); + return this; + } + + private int state_ = 0; + /** + *
+     * Output only. State of the model.
+     * 
* + * .google.cloud.contactcenterinsights.v1.IssueModel.State state = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The enum numeric value on the wire for state. */ - @java.lang.Override - public int getStateValue() { + @java.lang.Override public int getStateValue() { return state_; } /** - * - * *
      * Output only. State of the model.
      * 
* - * - * .google.cloud.contactcenterinsights.v1.IssueModel.State state = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.contactcenterinsights.v1.IssueModel.State state = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @param value The enum numeric value on the wire for state to set. * @return This builder for chaining. */ public Builder setStateValue(int value) { state_ = value; - bitField0_ |= 0x00000010; + bitField0_ |= 0x00000020; onChanged(); return this; } /** - * - * *
      * Output only. State of the model.
      * 
* - * - * .google.cloud.contactcenterinsights.v1.IssueModel.State state = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.contactcenterinsights.v1.IssueModel.State state = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The state. */ @java.lang.Override public com.google.cloud.contactcenterinsights.v1.IssueModel.State getState() { - com.google.cloud.contactcenterinsights.v1.IssueModel.State result = - com.google.cloud.contactcenterinsights.v1.IssueModel.State.forNumber(state_); - return result == null - ? com.google.cloud.contactcenterinsights.v1.IssueModel.State.UNRECOGNIZED - : result; + com.google.cloud.contactcenterinsights.v1.IssueModel.State result = com.google.cloud.contactcenterinsights.v1.IssueModel.State.forNumber(state_); + return result == null ? com.google.cloud.contactcenterinsights.v1.IssueModel.State.UNRECOGNIZED : result; } /** - * - * *
      * Output only. State of the model.
      * 
* - * - * .google.cloud.contactcenterinsights.v1.IssueModel.State state = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.contactcenterinsights.v1.IssueModel.State state = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @param value The state to set. * @return This builder for chaining. */ @@ -2896,26 +2563,21 @@ public Builder setState(com.google.cloud.contactcenterinsights.v1.IssueModel.Sta if (value == null) { throw new NullPointerException(); } - bitField0_ |= 0x00000010; + bitField0_ |= 0x00000020; state_ = value.getNumber(); onChanged(); return this; } /** - * - * *
      * Output only. State of the model.
      * 
* - * - * .google.cloud.contactcenterinsights.v1.IssueModel.State state = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.contactcenterinsights.v1.IssueModel.State state = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return This builder for chaining. */ public Builder clearState() { - bitField0_ = (bitField0_ & ~0x00000010); + bitField0_ = (bitField0_ & ~0x00000020); state_ = 0; onChanged(); return this; @@ -2923,63 +2585,41 @@ public Builder clearState() { private com.google.cloud.contactcenterinsights.v1.IssueModel.InputDataConfig inputDataConfig_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.contactcenterinsights.v1.IssueModel.InputDataConfig, - com.google.cloud.contactcenterinsights.v1.IssueModel.InputDataConfig.Builder, - com.google.cloud.contactcenterinsights.v1.IssueModel.InputDataConfigOrBuilder> - inputDataConfigBuilder_; + com.google.cloud.contactcenterinsights.v1.IssueModel.InputDataConfig, com.google.cloud.contactcenterinsights.v1.IssueModel.InputDataConfig.Builder, com.google.cloud.contactcenterinsights.v1.IssueModel.InputDataConfigOrBuilder> inputDataConfigBuilder_; /** - * - * *
      * Configs for the input data that used to create the issue model.
      * 
* - * - * .google.cloud.contactcenterinsights.v1.IssueModel.InputDataConfig input_data_config = 6; - * - * + * .google.cloud.contactcenterinsights.v1.IssueModel.InputDataConfig input_data_config = 6; * @return Whether the inputDataConfig field is set. */ public boolean hasInputDataConfig() { - return ((bitField0_ & 0x00000020) != 0); + return ((bitField0_ & 0x00000040) != 0); } /** - * - * *
      * Configs for the input data that used to create the issue model.
      * 
* - * - * .google.cloud.contactcenterinsights.v1.IssueModel.InputDataConfig input_data_config = 6; - * - * + * .google.cloud.contactcenterinsights.v1.IssueModel.InputDataConfig input_data_config = 6; * @return The inputDataConfig. */ - public com.google.cloud.contactcenterinsights.v1.IssueModel.InputDataConfig - getInputDataConfig() { + public com.google.cloud.contactcenterinsights.v1.IssueModel.InputDataConfig getInputDataConfig() { if (inputDataConfigBuilder_ == null) { - return inputDataConfig_ == null - ? com.google.cloud.contactcenterinsights.v1.IssueModel.InputDataConfig - .getDefaultInstance() - : inputDataConfig_; + return inputDataConfig_ == null ? com.google.cloud.contactcenterinsights.v1.IssueModel.InputDataConfig.getDefaultInstance() : inputDataConfig_; } else { return inputDataConfigBuilder_.getMessage(); } } /** - * - * *
      * Configs for the input data that used to create the issue model.
      * 
* - * - * .google.cloud.contactcenterinsights.v1.IssueModel.InputDataConfig input_data_config = 6; - * + * .google.cloud.contactcenterinsights.v1.IssueModel.InputDataConfig input_data_config = 6; */ - public Builder setInputDataConfig( - com.google.cloud.contactcenterinsights.v1.IssueModel.InputDataConfig value) { + public Builder setInputDataConfig(com.google.cloud.contactcenterinsights.v1.IssueModel.InputDataConfig value) { if (inputDataConfigBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -2988,52 +2628,40 @@ public Builder setInputDataConfig( } else { inputDataConfigBuilder_.setMessage(value); } - bitField0_ |= 0x00000020; + bitField0_ |= 0x00000040; onChanged(); return this; } /** - * - * *
      * Configs for the input data that used to create the issue model.
      * 
* - * - * .google.cloud.contactcenterinsights.v1.IssueModel.InputDataConfig input_data_config = 6; - * + * .google.cloud.contactcenterinsights.v1.IssueModel.InputDataConfig input_data_config = 6; */ public Builder setInputDataConfig( - com.google.cloud.contactcenterinsights.v1.IssueModel.InputDataConfig.Builder - builderForValue) { + com.google.cloud.contactcenterinsights.v1.IssueModel.InputDataConfig.Builder builderForValue) { if (inputDataConfigBuilder_ == null) { inputDataConfig_ = builderForValue.build(); } else { inputDataConfigBuilder_.setMessage(builderForValue.build()); } - bitField0_ |= 0x00000020; + bitField0_ |= 0x00000040; onChanged(); return this; } /** - * - * *
      * Configs for the input data that used to create the issue model.
      * 
* - * - * .google.cloud.contactcenterinsights.v1.IssueModel.InputDataConfig input_data_config = 6; - * + * .google.cloud.contactcenterinsights.v1.IssueModel.InputDataConfig input_data_config = 6; */ - public Builder mergeInputDataConfig( - com.google.cloud.contactcenterinsights.v1.IssueModel.InputDataConfig value) { + public Builder mergeInputDataConfig(com.google.cloud.contactcenterinsights.v1.IssueModel.InputDataConfig value) { if (inputDataConfigBuilder_ == null) { - if (((bitField0_ & 0x00000020) != 0) - && inputDataConfig_ != null - && inputDataConfig_ - != com.google.cloud.contactcenterinsights.v1.IssueModel.InputDataConfig - .getDefaultInstance()) { + if (((bitField0_ & 0x00000040) != 0) && + inputDataConfig_ != null && + inputDataConfig_ != com.google.cloud.contactcenterinsights.v1.IssueModel.InputDataConfig.getDefaultInstance()) { getInputDataConfigBuilder().mergeFrom(value); } else { inputDataConfig_ = value; @@ -3041,23 +2669,19 @@ public Builder mergeInputDataConfig( } else { inputDataConfigBuilder_.mergeFrom(value); } - bitField0_ |= 0x00000020; + bitField0_ |= 0x00000040; onChanged(); return this; } /** - * - * *
      * Configs for the input data that used to create the issue model.
      * 
* - * - * .google.cloud.contactcenterinsights.v1.IssueModel.InputDataConfig input_data_config = 6; - * + * .google.cloud.contactcenterinsights.v1.IssueModel.InputDataConfig input_data_config = 6; */ public Builder clearInputDataConfig() { - bitField0_ = (bitField0_ & ~0x00000020); + bitField0_ = (bitField0_ & ~0x00000040); inputDataConfig_ = null; if (inputDataConfigBuilder_ != null) { inputDataConfigBuilder_.dispose(); @@ -3067,67 +2691,48 @@ public Builder clearInputDataConfig() { return this; } /** - * - * *
      * Configs for the input data that used to create the issue model.
      * 
* - * - * .google.cloud.contactcenterinsights.v1.IssueModel.InputDataConfig input_data_config = 6; - * + * .google.cloud.contactcenterinsights.v1.IssueModel.InputDataConfig input_data_config = 6; */ - public com.google.cloud.contactcenterinsights.v1.IssueModel.InputDataConfig.Builder - getInputDataConfigBuilder() { - bitField0_ |= 0x00000020; + public com.google.cloud.contactcenterinsights.v1.IssueModel.InputDataConfig.Builder getInputDataConfigBuilder() { + bitField0_ |= 0x00000040; onChanged(); return getInputDataConfigFieldBuilder().getBuilder(); } /** - * - * *
      * Configs for the input data that used to create the issue model.
      * 
* - * - * .google.cloud.contactcenterinsights.v1.IssueModel.InputDataConfig input_data_config = 6; - * + * .google.cloud.contactcenterinsights.v1.IssueModel.InputDataConfig input_data_config = 6; */ - public com.google.cloud.contactcenterinsights.v1.IssueModel.InputDataConfigOrBuilder - getInputDataConfigOrBuilder() { + public com.google.cloud.contactcenterinsights.v1.IssueModel.InputDataConfigOrBuilder getInputDataConfigOrBuilder() { if (inputDataConfigBuilder_ != null) { return inputDataConfigBuilder_.getMessageOrBuilder(); } else { - return inputDataConfig_ == null - ? com.google.cloud.contactcenterinsights.v1.IssueModel.InputDataConfig - .getDefaultInstance() - : inputDataConfig_; + return inputDataConfig_ == null ? + com.google.cloud.contactcenterinsights.v1.IssueModel.InputDataConfig.getDefaultInstance() : inputDataConfig_; } } /** - * - * *
      * Configs for the input data that used to create the issue model.
      * 
* - * - * .google.cloud.contactcenterinsights.v1.IssueModel.InputDataConfig input_data_config = 6; - * + * .google.cloud.contactcenterinsights.v1.IssueModel.InputDataConfig input_data_config = 6; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.contactcenterinsights.v1.IssueModel.InputDataConfig, - com.google.cloud.contactcenterinsights.v1.IssueModel.InputDataConfig.Builder, - com.google.cloud.contactcenterinsights.v1.IssueModel.InputDataConfigOrBuilder> + com.google.cloud.contactcenterinsights.v1.IssueModel.InputDataConfig, com.google.cloud.contactcenterinsights.v1.IssueModel.InputDataConfig.Builder, com.google.cloud.contactcenterinsights.v1.IssueModel.InputDataConfigOrBuilder> getInputDataConfigFieldBuilder() { if (inputDataConfigBuilder_ == null) { - inputDataConfigBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.contactcenterinsights.v1.IssueModel.InputDataConfig, - com.google.cloud.contactcenterinsights.v1.IssueModel.InputDataConfig.Builder, - com.google.cloud.contactcenterinsights.v1.IssueModel.InputDataConfigOrBuilder>( - getInputDataConfig(), getParentForChildren(), isClean()); + inputDataConfigBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.contactcenterinsights.v1.IssueModel.InputDataConfig, com.google.cloud.contactcenterinsights.v1.IssueModel.InputDataConfig.Builder, com.google.cloud.contactcenterinsights.v1.IssueModel.InputDataConfigOrBuilder>( + getInputDataConfig(), + getParentForChildren(), + isClean()); inputDataConfig_ = null; } return inputDataConfigBuilder_; @@ -3135,61 +2740,44 @@ public Builder clearInputDataConfig() { private com.google.cloud.contactcenterinsights.v1.IssueModelLabelStats trainingStats_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.contactcenterinsights.v1.IssueModelLabelStats, - com.google.cloud.contactcenterinsights.v1.IssueModelLabelStats.Builder, - com.google.cloud.contactcenterinsights.v1.IssueModelLabelStatsOrBuilder> - trainingStatsBuilder_; + com.google.cloud.contactcenterinsights.v1.IssueModelLabelStats, com.google.cloud.contactcenterinsights.v1.IssueModelLabelStats.Builder, com.google.cloud.contactcenterinsights.v1.IssueModelLabelStatsOrBuilder> trainingStatsBuilder_; /** - * - * *
-     * Output only. Immutable. The issue model's label statistics on its training data.
+     * Output only. Immutable. The issue model's label statistics on its training
+     * data.
      * 
* - * - * .google.cloud.contactcenterinsights.v1.IssueModelLabelStats training_stats = 7 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.field_behavior) = IMMUTABLE]; - * - * + * .google.cloud.contactcenterinsights.v1.IssueModelLabelStats training_stats = 7 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.field_behavior) = IMMUTABLE]; * @return Whether the trainingStats field is set. */ public boolean hasTrainingStats() { - return ((bitField0_ & 0x00000040) != 0); + return ((bitField0_ & 0x00000080) != 0); } /** - * - * *
-     * Output only. Immutable. The issue model's label statistics on its training data.
+     * Output only. Immutable. The issue model's label statistics on its training
+     * data.
      * 
* - * - * .google.cloud.contactcenterinsights.v1.IssueModelLabelStats training_stats = 7 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.field_behavior) = IMMUTABLE]; - * - * + * .google.cloud.contactcenterinsights.v1.IssueModelLabelStats training_stats = 7 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.field_behavior) = IMMUTABLE]; * @return The trainingStats. */ public com.google.cloud.contactcenterinsights.v1.IssueModelLabelStats getTrainingStats() { if (trainingStatsBuilder_ == null) { - return trainingStats_ == null - ? com.google.cloud.contactcenterinsights.v1.IssueModelLabelStats.getDefaultInstance() - : trainingStats_; + return trainingStats_ == null ? com.google.cloud.contactcenterinsights.v1.IssueModelLabelStats.getDefaultInstance() : trainingStats_; } else { return trainingStatsBuilder_.getMessage(); } } /** - * - * *
-     * Output only. Immutable. The issue model's label statistics on its training data.
+     * Output only. Immutable. The issue model's label statistics on its training
+     * data.
      * 
* - * - * .google.cloud.contactcenterinsights.v1.IssueModelLabelStats training_stats = 7 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.field_behavior) = IMMUTABLE]; - * + * .google.cloud.contactcenterinsights.v1.IssueModelLabelStats training_stats = 7 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.field_behavior) = IMMUTABLE]; */ - public Builder setTrainingStats( - com.google.cloud.contactcenterinsights.v1.IssueModelLabelStats value) { + public Builder setTrainingStats(com.google.cloud.contactcenterinsights.v1.IssueModelLabelStats value) { if (trainingStatsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -3198,20 +2786,17 @@ public Builder setTrainingStats( } else { trainingStatsBuilder_.setMessage(value); } - bitField0_ |= 0x00000040; + bitField0_ |= 0x00000080; onChanged(); return this; } /** - * - * *
-     * Output only. Immutable. The issue model's label statistics on its training data.
+     * Output only. Immutable. The issue model's label statistics on its training
+     * data.
      * 
* - * - * .google.cloud.contactcenterinsights.v1.IssueModelLabelStats training_stats = 7 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.field_behavior) = IMMUTABLE]; - * + * .google.cloud.contactcenterinsights.v1.IssueModelLabelStats training_stats = 7 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.field_behavior) = IMMUTABLE]; */ public Builder setTrainingStats( com.google.cloud.contactcenterinsights.v1.IssueModelLabelStats.Builder builderForValue) { @@ -3220,29 +2805,23 @@ public Builder setTrainingStats( } else { trainingStatsBuilder_.setMessage(builderForValue.build()); } - bitField0_ |= 0x00000040; + bitField0_ |= 0x00000080; onChanged(); return this; } /** - * - * *
-     * Output only. Immutable. The issue model's label statistics on its training data.
+     * Output only. Immutable. The issue model's label statistics on its training
+     * data.
      * 
* - * - * .google.cloud.contactcenterinsights.v1.IssueModelLabelStats training_stats = 7 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.field_behavior) = IMMUTABLE]; - * + * .google.cloud.contactcenterinsights.v1.IssueModelLabelStats training_stats = 7 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.field_behavior) = IMMUTABLE]; */ - public Builder mergeTrainingStats( - com.google.cloud.contactcenterinsights.v1.IssueModelLabelStats value) { + public Builder mergeTrainingStats(com.google.cloud.contactcenterinsights.v1.IssueModelLabelStats value) { if (trainingStatsBuilder_ == null) { - if (((bitField0_ & 0x00000040) != 0) - && trainingStats_ != null - && trainingStats_ - != com.google.cloud.contactcenterinsights.v1.IssueModelLabelStats - .getDefaultInstance()) { + if (((bitField0_ & 0x00000080) != 0) && + trainingStats_ != null && + trainingStats_ != com.google.cloud.contactcenterinsights.v1.IssueModelLabelStats.getDefaultInstance()) { getTrainingStatsBuilder().mergeFrom(value); } else { trainingStats_ = value; @@ -3250,23 +2829,20 @@ public Builder mergeTrainingStats( } else { trainingStatsBuilder_.mergeFrom(value); } - bitField0_ |= 0x00000040; + bitField0_ |= 0x00000080; onChanged(); return this; } /** - * - * *
-     * Output only. Immutable. The issue model's label statistics on its training data.
+     * Output only. Immutable. The issue model's label statistics on its training
+     * data.
      * 
* - * - * .google.cloud.contactcenterinsights.v1.IssueModelLabelStats training_stats = 7 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.field_behavior) = IMMUTABLE]; - * + * .google.cloud.contactcenterinsights.v1.IssueModelLabelStats training_stats = 7 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.field_behavior) = IMMUTABLE]; */ public Builder clearTrainingStats() { - bitField0_ = (bitField0_ & ~0x00000040); + bitField0_ = (bitField0_ & ~0x00000080); trainingStats_ = null; if (trainingStatsBuilder_ != null) { trainingStatsBuilder_.dispose(); @@ -3276,73 +2852,58 @@ public Builder clearTrainingStats() { return this; } /** - * - * *
-     * Output only. Immutable. The issue model's label statistics on its training data.
+     * Output only. Immutable. The issue model's label statistics on its training
+     * data.
      * 
* - * - * .google.cloud.contactcenterinsights.v1.IssueModelLabelStats training_stats = 7 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.field_behavior) = IMMUTABLE]; - * + * .google.cloud.contactcenterinsights.v1.IssueModelLabelStats training_stats = 7 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.field_behavior) = IMMUTABLE]; */ - public com.google.cloud.contactcenterinsights.v1.IssueModelLabelStats.Builder - getTrainingStatsBuilder() { - bitField0_ |= 0x00000040; + public com.google.cloud.contactcenterinsights.v1.IssueModelLabelStats.Builder getTrainingStatsBuilder() { + bitField0_ |= 0x00000080; onChanged(); return getTrainingStatsFieldBuilder().getBuilder(); } /** - * - * *
-     * Output only. Immutable. The issue model's label statistics on its training data.
+     * Output only. Immutable. The issue model's label statistics on its training
+     * data.
      * 
* - * - * .google.cloud.contactcenterinsights.v1.IssueModelLabelStats training_stats = 7 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.field_behavior) = IMMUTABLE]; - * + * .google.cloud.contactcenterinsights.v1.IssueModelLabelStats training_stats = 7 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.field_behavior) = IMMUTABLE]; */ - public com.google.cloud.contactcenterinsights.v1.IssueModelLabelStatsOrBuilder - getTrainingStatsOrBuilder() { + public com.google.cloud.contactcenterinsights.v1.IssueModelLabelStatsOrBuilder getTrainingStatsOrBuilder() { if (trainingStatsBuilder_ != null) { return trainingStatsBuilder_.getMessageOrBuilder(); } else { - return trainingStats_ == null - ? com.google.cloud.contactcenterinsights.v1.IssueModelLabelStats.getDefaultInstance() - : trainingStats_; + return trainingStats_ == null ? + com.google.cloud.contactcenterinsights.v1.IssueModelLabelStats.getDefaultInstance() : trainingStats_; } } /** - * - * *
-     * Output only. Immutable. The issue model's label statistics on its training data.
+     * Output only. Immutable. The issue model's label statistics on its training
+     * data.
      * 
* - * - * .google.cloud.contactcenterinsights.v1.IssueModelLabelStats training_stats = 7 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.field_behavior) = IMMUTABLE]; - * + * .google.cloud.contactcenterinsights.v1.IssueModelLabelStats training_stats = 7 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.field_behavior) = IMMUTABLE]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.contactcenterinsights.v1.IssueModelLabelStats, - com.google.cloud.contactcenterinsights.v1.IssueModelLabelStats.Builder, - com.google.cloud.contactcenterinsights.v1.IssueModelLabelStatsOrBuilder> + com.google.cloud.contactcenterinsights.v1.IssueModelLabelStats, com.google.cloud.contactcenterinsights.v1.IssueModelLabelStats.Builder, com.google.cloud.contactcenterinsights.v1.IssueModelLabelStatsOrBuilder> getTrainingStatsFieldBuilder() { if (trainingStatsBuilder_ == null) { - trainingStatsBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.contactcenterinsights.v1.IssueModelLabelStats, - com.google.cloud.contactcenterinsights.v1.IssueModelLabelStats.Builder, - com.google.cloud.contactcenterinsights.v1.IssueModelLabelStatsOrBuilder>( - getTrainingStats(), getParentForChildren(), isClean()); + trainingStatsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.contactcenterinsights.v1.IssueModelLabelStats, com.google.cloud.contactcenterinsights.v1.IssueModelLabelStats.Builder, com.google.cloud.contactcenterinsights.v1.IssueModelLabelStatsOrBuilder>( + getTrainingStats(), + getParentForChildren(), + isClean()); trainingStats_ = null; } return trainingStatsBuilder_; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -3352,12 +2913,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.contactcenterinsights.v1.IssueModel) } // @@protoc_insertion_point(class_scope:google.cloud.contactcenterinsights.v1.IssueModel) private static final com.google.cloud.contactcenterinsights.v1.IssueModel DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.contactcenterinsights.v1.IssueModel(); } @@ -3366,27 +2927,27 @@ public static com.google.cloud.contactcenterinsights.v1.IssueModel getDefaultIns return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public IssueModel parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public IssueModel parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -3401,4 +2962,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.contactcenterinsights.v1.IssueModel getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/IssueModelLabelStats.java b/owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/IssueModelLabelStats.java similarity index 59% rename from java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/IssueModelLabelStats.java rename to owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/IssueModelLabelStats.java index fb1140b7915a..ed60e72131bc 100644 --- a/java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/IssueModelLabelStats.java +++ b/owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/IssueModelLabelStats.java @@ -1,89 +1,69 @@ -/* - * 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. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/contactcenterinsights/v1/resources.proto package com.google.cloud.contactcenterinsights.v1; /** - * - * *
  * Aggregated statistics about an issue model.
  * 
* * Protobuf type {@code google.cloud.contactcenterinsights.v1.IssueModelLabelStats} */ -public final class IssueModelLabelStats extends com.google.protobuf.GeneratedMessageV3 - implements +public final class IssueModelLabelStats extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.contactcenterinsights.v1.IssueModelLabelStats) IssueModelLabelStatsOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use IssueModelLabelStats.newBuilder() to construct. private IssueModelLabelStats(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - - private IssueModelLabelStats() {} + private IssueModelLabelStats() { + } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new IssueModelLabelStats(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.contactcenterinsights.v1.ResourcesProto - .internal_static_google_cloud_contactcenterinsights_v1_IssueModelLabelStats_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.contactcenterinsights.v1.ResourcesProto.internal_static_google_cloud_contactcenterinsights_v1_IssueModelLabelStats_descriptor; } @SuppressWarnings({"rawtypes"}) @java.lang.Override - protected com.google.protobuf.MapField internalGetMapField(int number) { + protected com.google.protobuf.MapField internalGetMapField( + int number) { switch (number) { case 3: return internalGetIssueStats(); default: - throw new RuntimeException("Invalid map field number: " + number); + throw new RuntimeException( + "Invalid map field number: " + number); } } - @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.contactcenterinsights.v1.ResourcesProto - .internal_static_google_cloud_contactcenterinsights_v1_IssueModelLabelStats_fieldAccessorTable + return com.google.cloud.contactcenterinsights.v1.ResourcesProto.internal_static_google_cloud_contactcenterinsights_v1_IssueModelLabelStats_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.contactcenterinsights.v1.IssueModelLabelStats.class, - com.google.cloud.contactcenterinsights.v1.IssueModelLabelStats.Builder.class); + com.google.cloud.contactcenterinsights.v1.IssueModelLabelStats.class, com.google.cloud.contactcenterinsights.v1.IssueModelLabelStats.Builder.class); } - public interface IssueStatsOrBuilder - extends + public interface IssueStatsOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.contactcenterinsights.v1.IssueModelLabelStats.IssueStats) com.google.protobuf.MessageOrBuilder { /** - * - * *
      * Issue resource.
      * Format:
@@ -91,13 +71,10 @@ public interface IssueStatsOrBuilder
      * 
* * string issue = 1; - * * @return The issue. */ java.lang.String getIssue(); /** - * - * *
      * Issue resource.
      * Format:
@@ -105,68 +82,57 @@ public interface IssueStatsOrBuilder
      * 
* * string issue = 1; - * * @return The bytes for issue. */ - com.google.protobuf.ByteString getIssueBytes(); + com.google.protobuf.ByteString + getIssueBytes(); /** - * - * *
      * Number of conversations attached to the issue at this point in time.
      * 
* * int64 labeled_conversations_count = 2; - * * @return The labeledConversationsCount. */ long getLabeledConversationsCount(); /** - * - * *
      * Display name of the issue.
      * 
* * string display_name = 3; - * * @return The displayName. */ java.lang.String getDisplayName(); /** - * - * *
      * Display name of the issue.
      * 
* * string display_name = 3; - * * @return The bytes for displayName. */ - com.google.protobuf.ByteString getDisplayNameBytes(); + com.google.protobuf.ByteString + getDisplayNameBytes(); } /** - * - * *
    * Aggregated statistics about an issue.
    * 
* * Protobuf type {@code google.cloud.contactcenterinsights.v1.IssueModelLabelStats.IssueStats} */ - public static final class IssueStats extends com.google.protobuf.GeneratedMessageV3 - implements + public static final class IssueStats extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.contactcenterinsights.v1.IssueModelLabelStats.IssueStats) IssueStatsOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use IssueStats.newBuilder() to construct. private IssueStats(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private IssueStats() { issue_ = ""; displayName_ = ""; @@ -174,38 +140,33 @@ private IssueStats() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new IssueStats(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.contactcenterinsights.v1.ResourcesProto - .internal_static_google_cloud_contactcenterinsights_v1_IssueModelLabelStats_IssueStats_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.contactcenterinsights.v1.ResourcesProto.internal_static_google_cloud_contactcenterinsights_v1_IssueModelLabelStats_IssueStats_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.contactcenterinsights.v1.ResourcesProto - .internal_static_google_cloud_contactcenterinsights_v1_IssueModelLabelStats_IssueStats_fieldAccessorTable + return com.google.cloud.contactcenterinsights.v1.ResourcesProto.internal_static_google_cloud_contactcenterinsights_v1_IssueModelLabelStats_IssueStats_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.contactcenterinsights.v1.IssueModelLabelStats.IssueStats.class, - com.google.cloud.contactcenterinsights.v1.IssueModelLabelStats.IssueStats.Builder - .class); + com.google.cloud.contactcenterinsights.v1.IssueModelLabelStats.IssueStats.class, com.google.cloud.contactcenterinsights.v1.IssueModelLabelStats.IssueStats.Builder.class); } public static final int ISSUE_FIELD_NUMBER = 1; - @SuppressWarnings("serial") private volatile java.lang.Object issue_ = ""; /** - * - * *
      * Issue resource.
      * Format:
@@ -213,7 +174,6 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
      * 
* * string issue = 1; - * * @return The issue. */ @java.lang.Override @@ -222,15 +182,14 @@ public java.lang.String getIssue() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); issue_ = s; return s; } } /** - * - * *
      * Issue resource.
      * Format:
@@ -238,15 +197,16 @@ public java.lang.String getIssue() {
      * 
* * string issue = 1; - * * @return The bytes for issue. */ @java.lang.Override - public com.google.protobuf.ByteString getIssueBytes() { + public com.google.protobuf.ByteString + getIssueBytes() { java.lang.Object ref = issue_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); issue_ = b; return b; } else { @@ -257,14 +217,11 @@ public com.google.protobuf.ByteString getIssueBytes() { public static final int LABELED_CONVERSATIONS_COUNT_FIELD_NUMBER = 2; private long labeledConversationsCount_ = 0L; /** - * - * *
      * Number of conversations attached to the issue at this point in time.
      * 
* * int64 labeled_conversations_count = 2; - * * @return The labeledConversationsCount. */ @java.lang.Override @@ -273,18 +230,14 @@ public long getLabeledConversationsCount() { } public static final int DISPLAY_NAME_FIELD_NUMBER = 3; - @SuppressWarnings("serial") private volatile java.lang.Object displayName_ = ""; /** - * - * *
      * Display name of the issue.
      * 
* * string display_name = 3; - * * @return The displayName. */ @java.lang.Override @@ -293,29 +246,29 @@ public java.lang.String getDisplayName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); displayName_ = s; return s; } } /** - * - * *
      * Display name of the issue.
      * 
* * string display_name = 3; - * * @return The bytes for displayName. */ @java.lang.Override - public com.google.protobuf.ByteString getDisplayNameBytes() { + public com.google.protobuf.ByteString + getDisplayNameBytes() { java.lang.Object ref = displayName_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); displayName_ = b; return b; } else { @@ -324,7 +277,6 @@ public com.google.protobuf.ByteString getDisplayNameBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -336,7 +288,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(issue_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, issue_); } @@ -359,8 +312,8 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, issue_); } if (labeledConversationsCount_ != 0L) { - size += - com.google.protobuf.CodedOutputStream.computeInt64Size(2, labeledConversationsCount_); + size += com.google.protobuf.CodedOutputStream + .computeInt64Size(2, labeledConversationsCount_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(displayName_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, displayName_); @@ -373,18 +326,19 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } - if (!(obj - instanceof com.google.cloud.contactcenterinsights.v1.IssueModelLabelStats.IssueStats)) { + if (!(obj instanceof com.google.cloud.contactcenterinsights.v1.IssueModelLabelStats.IssueStats)) { return super.equals(obj); } - com.google.cloud.contactcenterinsights.v1.IssueModelLabelStats.IssueStats other = - (com.google.cloud.contactcenterinsights.v1.IssueModelLabelStats.IssueStats) obj; + com.google.cloud.contactcenterinsights.v1.IssueModelLabelStats.IssueStats other = (com.google.cloud.contactcenterinsights.v1.IssueModelLabelStats.IssueStats) obj; - if (!getIssue().equals(other.getIssue())) return false; - if (getLabeledConversationsCount() != other.getLabeledConversationsCount()) return false; - if (!getDisplayName().equals(other.getDisplayName())) return false; + if (!getIssue() + .equals(other.getIssue())) return false; + if (getLabeledConversationsCount() + != other.getLabeledConversationsCount()) return false; + if (!getDisplayName() + .equals(other.getDisplayName())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -399,7 +353,8 @@ public int hashCode() { hash = (37 * hash) + ISSUE_FIELD_NUMBER; hash = (53 * hash) + getIssue().hashCode(); hash = (37 * hash) + LABELED_CONVERSATIONS_COUNT_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashLong(getLabeledConversationsCount()); + hash = (53 * hash) + com.google.protobuf.Internal.hashLong( + getLabeledConversationsCount()); hash = (37 * hash) + DISPLAY_NAME_FIELD_NUMBER; hash = (53 * hash) + getDisplayName().hashCode(); hash = (29 * hash) + getUnknownFields().hashCode(); @@ -407,101 +362,88 @@ public int hashCode() { return hash; } - public static com.google.cloud.contactcenterinsights.v1.IssueModelLabelStats.IssueStats - parseFrom(java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.contactcenterinsights.v1.IssueModelLabelStats.IssueStats parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - - public static com.google.cloud.contactcenterinsights.v1.IssueModelLabelStats.IssueStats - parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.contactcenterinsights.v1.IssueModelLabelStats.IssueStats parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.contactcenterinsights.v1.IssueModelLabelStats.IssueStats - parseFrom(com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.contactcenterinsights.v1.IssueModelLabelStats.IssueStats parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - - public static com.google.cloud.contactcenterinsights.v1.IssueModelLabelStats.IssueStats - parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.contactcenterinsights.v1.IssueModelLabelStats.IssueStats parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.contactcenterinsights.v1.IssueModelLabelStats.IssueStats - parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.contactcenterinsights.v1.IssueModelLabelStats.IssueStats parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - - public static com.google.cloud.contactcenterinsights.v1.IssueModelLabelStats.IssueStats - parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.contactcenterinsights.v1.IssueModelLabelStats.IssueStats parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.contactcenterinsights.v1.IssueModelLabelStats.IssueStats - parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.contactcenterinsights.v1.IssueModelLabelStats.IssueStats parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - - public static com.google.cloud.contactcenterinsights.v1.IssueModelLabelStats.IssueStats - parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + public static com.google.cloud.contactcenterinsights.v1.IssueModelLabelStats.IssueStats parseFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.contactcenterinsights.v1.IssueModelLabelStats.IssueStats - parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.contactcenterinsights.v1.IssueModelLabelStats.IssueStats parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - - public static com.google.cloud.contactcenterinsights.v1.IssueModelLabelStats.IssueStats - parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + public static com.google.cloud.contactcenterinsights.v1.IssueModelLabelStats.IssueStats parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.contactcenterinsights.v1.IssueModelLabelStats.IssueStats - parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.contactcenterinsights.v1.IssueModelLabelStats.IssueStats parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - - public static com.google.cloud.contactcenterinsights.v1.IssueModelLabelStats.IssueStats - parseFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + public static com.google.cloud.contactcenterinsights.v1.IssueModelLabelStats.IssueStats parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.contactcenterinsights.v1.IssueModelLabelStats.IssueStats prototype) { + public static Builder newBuilder(com.google.cloud.contactcenterinsights.v1.IssueModelLabelStats.IssueStats prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -511,43 +453,39 @@ protected Builder newBuilderForType( return builder; } /** - * - * *
      * Aggregated statistics about an issue.
      * 
* * Protobuf type {@code google.cloud.contactcenterinsights.v1.IssueModelLabelStats.IssueStats} */ - public static final class Builder - extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.contactcenterinsights.v1.IssueModelLabelStats.IssueStats) com.google.cloud.contactcenterinsights.v1.IssueModelLabelStats.IssueStatsOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.contactcenterinsights.v1.ResourcesProto - .internal_static_google_cloud_contactcenterinsights_v1_IssueModelLabelStats_IssueStats_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.contactcenterinsights.v1.ResourcesProto.internal_static_google_cloud_contactcenterinsights_v1_IssueModelLabelStats_IssueStats_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.contactcenterinsights.v1.ResourcesProto - .internal_static_google_cloud_contactcenterinsights_v1_IssueModelLabelStats_IssueStats_fieldAccessorTable + return com.google.cloud.contactcenterinsights.v1.ResourcesProto.internal_static_google_cloud_contactcenterinsights_v1_IssueModelLabelStats_IssueStats_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.contactcenterinsights.v1.IssueModelLabelStats.IssueStats.class, - com.google.cloud.contactcenterinsights.v1.IssueModelLabelStats.IssueStats.Builder - .class); + com.google.cloud.contactcenterinsights.v1.IssueModelLabelStats.IssueStats.class, com.google.cloud.contactcenterinsights.v1.IssueModelLabelStats.IssueStats.Builder.class); } - // Construct using - // com.google.cloud.contactcenterinsights.v1.IssueModelLabelStats.IssueStats.newBuilder() - private Builder() {} + // Construct using com.google.cloud.contactcenterinsights.v1.IssueModelLabelStats.IssueStats.newBuilder() + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -559,22 +497,19 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.contactcenterinsights.v1.ResourcesProto - .internal_static_google_cloud_contactcenterinsights_v1_IssueModelLabelStats_IssueStats_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.contactcenterinsights.v1.ResourcesProto.internal_static_google_cloud_contactcenterinsights_v1_IssueModelLabelStats_IssueStats_descriptor; } @java.lang.Override - public com.google.cloud.contactcenterinsights.v1.IssueModelLabelStats.IssueStats - getDefaultInstanceForType() { - return com.google.cloud.contactcenterinsights.v1.IssueModelLabelStats.IssueStats - .getDefaultInstance(); + public com.google.cloud.contactcenterinsights.v1.IssueModelLabelStats.IssueStats getDefaultInstanceForType() { + return com.google.cloud.contactcenterinsights.v1.IssueModelLabelStats.IssueStats.getDefaultInstance(); } @java.lang.Override public com.google.cloud.contactcenterinsights.v1.IssueModelLabelStats.IssueStats build() { - com.google.cloud.contactcenterinsights.v1.IssueModelLabelStats.IssueStats result = - buildPartial(); + com.google.cloud.contactcenterinsights.v1.IssueModelLabelStats.IssueStats result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } @@ -582,19 +517,14 @@ public com.google.cloud.contactcenterinsights.v1.IssueModelLabelStats.IssueStats } @java.lang.Override - public com.google.cloud.contactcenterinsights.v1.IssueModelLabelStats.IssueStats - buildPartial() { - com.google.cloud.contactcenterinsights.v1.IssueModelLabelStats.IssueStats result = - new com.google.cloud.contactcenterinsights.v1.IssueModelLabelStats.IssueStats(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + public com.google.cloud.contactcenterinsights.v1.IssueModelLabelStats.IssueStats buildPartial() { + com.google.cloud.contactcenterinsights.v1.IssueModelLabelStats.IssueStats result = new com.google.cloud.contactcenterinsights.v1.IssueModelLabelStats.IssueStats(this); + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } - private void buildPartial0( - com.google.cloud.contactcenterinsights.v1.IssueModelLabelStats.IssueStats result) { + private void buildPartial0(com.google.cloud.contactcenterinsights.v1.IssueModelLabelStats.IssueStats result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { result.issue_ = issue_; @@ -611,54 +541,46 @@ private void buildPartial0( public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, - int index, - java.lang.Object value) { + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { - if (other - instanceof com.google.cloud.contactcenterinsights.v1.IssueModelLabelStats.IssueStats) { - return mergeFrom( - (com.google.cloud.contactcenterinsights.v1.IssueModelLabelStats.IssueStats) other); + if (other instanceof com.google.cloud.contactcenterinsights.v1.IssueModelLabelStats.IssueStats) { + return mergeFrom((com.google.cloud.contactcenterinsights.v1.IssueModelLabelStats.IssueStats)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom( - com.google.cloud.contactcenterinsights.v1.IssueModelLabelStats.IssueStats other) { - if (other - == com.google.cloud.contactcenterinsights.v1.IssueModelLabelStats.IssueStats - .getDefaultInstance()) return this; + public Builder mergeFrom(com.google.cloud.contactcenterinsights.v1.IssueModelLabelStats.IssueStats other) { + if (other == com.google.cloud.contactcenterinsights.v1.IssueModelLabelStats.IssueStats.getDefaultInstance()) return this; if (!other.getIssue().isEmpty()) { issue_ = other.issue_; bitField0_ |= 0x00000001; @@ -698,31 +620,27 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - issue_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 16: - { - labeledConversationsCount_ = input.readInt64(); - bitField0_ |= 0x00000002; - break; - } // case 16 - case 26: - { - displayName_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000004; - break; - } // case 26 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + issue_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 16: { + labeledConversationsCount_ = input.readInt64(); + bitField0_ |= 0x00000002; + break; + } // case 16 + case 26: { + displayName_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000004; + break; + } // case 26 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -732,13 +650,10 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private java.lang.Object issue_ = ""; /** - * - * *
        * Issue resource.
        * Format:
@@ -746,13 +661,13 @@ public Builder mergeFrom(
        * 
* * string issue = 1; - * * @return The issue. */ public java.lang.String getIssue() { java.lang.Object ref = issue_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); issue_ = s; return s; @@ -761,8 +676,6 @@ public java.lang.String getIssue() { } } /** - * - * *
        * Issue resource.
        * Format:
@@ -770,14 +683,15 @@ public java.lang.String getIssue() {
        * 
* * string issue = 1; - * * @return The bytes for issue. */ - public com.google.protobuf.ByteString getIssueBytes() { + public com.google.protobuf.ByteString + getIssueBytes() { java.lang.Object ref = issue_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); issue_ = b; return b; } else { @@ -785,8 +699,6 @@ public com.google.protobuf.ByteString getIssueBytes() { } } /** - * - * *
        * Issue resource.
        * Format:
@@ -794,22 +706,18 @@ public com.google.protobuf.ByteString getIssueBytes() {
        * 
* * string issue = 1; - * * @param value The issue to set. * @return This builder for chaining. */ - public Builder setIssue(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setIssue( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } issue_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
        * Issue resource.
        * Format:
@@ -817,7 +725,6 @@ public Builder setIssue(java.lang.String value) {
        * 
* * string issue = 1; - * * @return This builder for chaining. */ public Builder clearIssue() { @@ -827,8 +734,6 @@ public Builder clearIssue() { return this; } /** - * - * *
        * Issue resource.
        * Format:
@@ -836,14 +741,12 @@ public Builder clearIssue() {
        * 
* * string issue = 1; - * * @param value The bytes for issue to set. * @return This builder for chaining. */ - public Builder setIssueBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setIssueBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); issue_ = value; bitField0_ |= 0x00000001; @@ -851,16 +754,13 @@ public Builder setIssueBytes(com.google.protobuf.ByteString value) { return this; } - private long labeledConversationsCount_; + private long labeledConversationsCount_ ; /** - * - * *
        * Number of conversations attached to the issue at this point in time.
        * 
* * int64 labeled_conversations_count = 2; - * * @return The labeledConversationsCount. */ @java.lang.Override @@ -868,33 +768,27 @@ public long getLabeledConversationsCount() { return labeledConversationsCount_; } /** - * - * *
        * Number of conversations attached to the issue at this point in time.
        * 
* * int64 labeled_conversations_count = 2; - * * @param value The labeledConversationsCount to set. * @return This builder for chaining. */ public Builder setLabeledConversationsCount(long value) { - + labeledConversationsCount_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** - * - * *
        * Number of conversations attached to the issue at this point in time.
        * 
* * int64 labeled_conversations_count = 2; - * * @return This builder for chaining. */ public Builder clearLabeledConversationsCount() { @@ -906,20 +800,18 @@ public Builder clearLabeledConversationsCount() { private java.lang.Object displayName_ = ""; /** - * - * *
        * Display name of the issue.
        * 
* * string display_name = 3; - * * @return The displayName. */ public java.lang.String getDisplayName() { java.lang.Object ref = displayName_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); displayName_ = s; return s; @@ -928,21 +820,20 @@ public java.lang.String getDisplayName() { } } /** - * - * *
        * Display name of the issue.
        * 
* * string display_name = 3; - * * @return The bytes for displayName. */ - public com.google.protobuf.ByteString getDisplayNameBytes() { + public com.google.protobuf.ByteString + getDisplayNameBytes() { java.lang.Object ref = displayName_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); displayName_ = b; return b; } else { @@ -950,35 +841,28 @@ public com.google.protobuf.ByteString getDisplayNameBytes() { } } /** - * - * *
        * Display name of the issue.
        * 
* * string display_name = 3; - * * @param value The displayName to set. * @return This builder for chaining. */ - public Builder setDisplayName(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setDisplayName( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } displayName_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } /** - * - * *
        * Display name of the issue.
        * 
* * string display_name = 3; - * * @return This builder for chaining. */ public Builder clearDisplayName() { @@ -988,28 +872,23 @@ public Builder clearDisplayName() { return this; } /** - * - * *
        * Display name of the issue.
        * 
* * string display_name = 3; - * * @param value The bytes for displayName to set. * @return This builder for chaining. */ - public Builder setDisplayNameBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setDisplayNameBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); displayName_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } - @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -1022,45 +901,41 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.contactcenterinsights.v1.IssueModelLabelStats.IssueStats) } // @@protoc_insertion_point(class_scope:google.cloud.contactcenterinsights.v1.IssueModelLabelStats.IssueStats) - private static final com.google.cloud.contactcenterinsights.v1.IssueModelLabelStats.IssueStats - DEFAULT_INSTANCE; - + private static final com.google.cloud.contactcenterinsights.v1.IssueModelLabelStats.IssueStats DEFAULT_INSTANCE; static { - DEFAULT_INSTANCE = - new com.google.cloud.contactcenterinsights.v1.IssueModelLabelStats.IssueStats(); + DEFAULT_INSTANCE = new com.google.cloud.contactcenterinsights.v1.IssueModelLabelStats.IssueStats(); } - public static com.google.cloud.contactcenterinsights.v1.IssueModelLabelStats.IssueStats - getDefaultInstance() { + public static com.google.cloud.contactcenterinsights.v1.IssueModelLabelStats.IssueStats getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public IssueStats parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException() - .setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public IssueStats parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1072,23 +947,20 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.cloud.contactcenterinsights.v1.IssueModelLabelStats.IssueStats - getDefaultInstanceForType() { + public com.google.cloud.contactcenterinsights.v1.IssueModelLabelStats.IssueStats getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } public static final int ANALYZED_CONVERSATIONS_COUNT_FIELD_NUMBER = 1; private long analyzedConversationsCount_ = 0L; /** - * - * *
    * Number of conversations the issue model has analyzed at this point in time.
    * 
* * int64 analyzed_conversations_count = 1; - * * @return The analyzedConversationsCount. */ @java.lang.Override @@ -1099,15 +971,12 @@ public long getAnalyzedConversationsCount() { public static final int UNCLASSIFIED_CONVERSATIONS_COUNT_FIELD_NUMBER = 2; private long unclassifiedConversationsCount_ = 0L; /** - * - * *
    * Number of analyzed conversations for which no issue was applicable at this
    * point in time.
    * 
* * int64 unclassified_conversations_count = 2; - * * @return The unclassifiedConversationsCount. */ @java.lang.Override @@ -1116,136 +985,94 @@ public long getUnclassifiedConversationsCount() { } public static final int ISSUE_STATS_FIELD_NUMBER = 3; - private static final class IssueStatsDefaultEntryHolder { static final com.google.protobuf.MapEntry< - java.lang.String, - com.google.cloud.contactcenterinsights.v1.IssueModelLabelStats.IssueStats> - defaultEntry = + java.lang.String, com.google.cloud.contactcenterinsights.v1.IssueModelLabelStats.IssueStats> defaultEntry = com.google.protobuf.MapEntry - . - newDefaultInstance( - com.google.cloud.contactcenterinsights.v1.ResourcesProto - .internal_static_google_cloud_contactcenterinsights_v1_IssueModelLabelStats_IssueStatsEntry_descriptor, - com.google.protobuf.WireFormat.FieldType.STRING, - "", - com.google.protobuf.WireFormat.FieldType.MESSAGE, - com.google.cloud.contactcenterinsights.v1.IssueModelLabelStats.IssueStats - .getDefaultInstance()); + .newDefaultInstance( + com.google.cloud.contactcenterinsights.v1.ResourcesProto.internal_static_google_cloud_contactcenterinsights_v1_IssueModelLabelStats_IssueStatsEntry_descriptor, + com.google.protobuf.WireFormat.FieldType.STRING, + "", + com.google.protobuf.WireFormat.FieldType.MESSAGE, + com.google.cloud.contactcenterinsights.v1.IssueModelLabelStats.IssueStats.getDefaultInstance()); } - @SuppressWarnings("serial") private com.google.protobuf.MapField< - java.lang.String, - com.google.cloud.contactcenterinsights.v1.IssueModelLabelStats.IssueStats> - issueStats_; - - private com.google.protobuf.MapField< - java.lang.String, - com.google.cloud.contactcenterinsights.v1.IssueModelLabelStats.IssueStats> - internalGetIssueStats() { + java.lang.String, com.google.cloud.contactcenterinsights.v1.IssueModelLabelStats.IssueStats> issueStats_; + private com.google.protobuf.MapField + internalGetIssueStats() { if (issueStats_ == null) { - return com.google.protobuf.MapField.emptyMapField(IssueStatsDefaultEntryHolder.defaultEntry); + return com.google.protobuf.MapField.emptyMapField( + IssueStatsDefaultEntryHolder.defaultEntry); } return issueStats_; } - public int getIssueStatsCount() { return internalGetIssueStats().getMap().size(); } /** - * - * *
    * Statistics on each issue. Key is the issue's resource name.
    * 
* - * - * map<string, .google.cloud.contactcenterinsights.v1.IssueModelLabelStats.IssueStats> issue_stats = 3; - * + * map<string, .google.cloud.contactcenterinsights.v1.IssueModelLabelStats.IssueStats> issue_stats = 3; */ @java.lang.Override - public boolean containsIssueStats(java.lang.String key) { - if (key == null) { - throw new NullPointerException("map key"); - } + public boolean containsIssueStats( + java.lang.String key) { + if (key == null) { throw new NullPointerException("map key"); } return internalGetIssueStats().getMap().containsKey(key); } - /** Use {@link #getIssueStatsMap()} instead. */ + /** + * Use {@link #getIssueStatsMap()} instead. + */ @java.lang.Override @java.lang.Deprecated - public java.util.Map< - java.lang.String, - com.google.cloud.contactcenterinsights.v1.IssueModelLabelStats.IssueStats> - getIssueStats() { + public java.util.Map getIssueStats() { return getIssueStatsMap(); } /** - * - * *
    * Statistics on each issue. Key is the issue's resource name.
    * 
* - * - * map<string, .google.cloud.contactcenterinsights.v1.IssueModelLabelStats.IssueStats> issue_stats = 3; - * + * map<string, .google.cloud.contactcenterinsights.v1.IssueModelLabelStats.IssueStats> issue_stats = 3; */ @java.lang.Override - public java.util.Map< - java.lang.String, - com.google.cloud.contactcenterinsights.v1.IssueModelLabelStats.IssueStats> - getIssueStatsMap() { + public java.util.Map getIssueStatsMap() { return internalGetIssueStats().getMap(); } /** - * - * *
    * Statistics on each issue. Key is the issue's resource name.
    * 
* - * - * map<string, .google.cloud.contactcenterinsights.v1.IssueModelLabelStats.IssueStats> issue_stats = 3; - * + * map<string, .google.cloud.contactcenterinsights.v1.IssueModelLabelStats.IssueStats> issue_stats = 3; */ @java.lang.Override - public /* nullable */ com.google.cloud.contactcenterinsights.v1.IssueModelLabelStats.IssueStats - getIssueStatsOrDefault( - java.lang.String key, - /* nullable */ - com.google.cloud.contactcenterinsights.v1.IssueModelLabelStats.IssueStats defaultValue) { - if (key == null) { - throw new NullPointerException("map key"); - } - java.util.Map< - java.lang.String, - com.google.cloud.contactcenterinsights.v1.IssueModelLabelStats.IssueStats> - map = internalGetIssueStats().getMap(); + public /* nullable */ +com.google.cloud.contactcenterinsights.v1.IssueModelLabelStats.IssueStats getIssueStatsOrDefault( + java.lang.String key, + /* nullable */ +com.google.cloud.contactcenterinsights.v1.IssueModelLabelStats.IssueStats defaultValue) { + if (key == null) { throw new NullPointerException("map key"); } + java.util.Map map = + internalGetIssueStats().getMap(); return map.containsKey(key) ? map.get(key) : defaultValue; } /** - * - * *
    * Statistics on each issue. Key is the issue's resource name.
    * 
* - * - * map<string, .google.cloud.contactcenterinsights.v1.IssueModelLabelStats.IssueStats> issue_stats = 3; - * + * map<string, .google.cloud.contactcenterinsights.v1.IssueModelLabelStats.IssueStats> issue_stats = 3; */ @java.lang.Override - public com.google.cloud.contactcenterinsights.v1.IssueModelLabelStats.IssueStats - getIssueStatsOrThrow(java.lang.String key) { - if (key == null) { - throw new NullPointerException("map key"); - } - java.util.Map< - java.lang.String, - com.google.cloud.contactcenterinsights.v1.IssueModelLabelStats.IssueStats> - map = internalGetIssueStats().getMap(); + public com.google.cloud.contactcenterinsights.v1.IssueModelLabelStats.IssueStats getIssueStatsOrThrow( + java.lang.String key) { + if (key == null) { throw new NullPointerException("map key"); } + java.util.Map map = + internalGetIssueStats().getMap(); if (!map.containsKey(key)) { throw new java.lang.IllegalArgumentException(); } @@ -1253,7 +1080,6 @@ public boolean containsIssueStats(java.lang.String key) { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -1265,15 +1091,20 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (analyzedConversationsCount_ != 0L) { output.writeInt64(1, analyzedConversationsCount_); } if (unclassifiedConversationsCount_ != 0L) { output.writeInt64(2, unclassifiedConversationsCount_); } - com.google.protobuf.GeneratedMessageV3.serializeStringMapTo( - output, internalGetIssueStats(), IssueStatsDefaultEntryHolder.defaultEntry, 3); + com.google.protobuf.GeneratedMessageV3 + .serializeStringMapTo( + output, + internalGetIssueStats(), + IssueStatsDefaultEntryHolder.defaultEntry, + 3); getUnknownFields().writeTo(output); } @@ -1284,28 +1115,22 @@ public int getSerializedSize() { size = 0; if (analyzedConversationsCount_ != 0L) { - size += - com.google.protobuf.CodedOutputStream.computeInt64Size(1, analyzedConversationsCount_); + size += com.google.protobuf.CodedOutputStream + .computeInt64Size(1, analyzedConversationsCount_); } if (unclassifiedConversationsCount_ != 0L) { - size += - com.google.protobuf.CodedOutputStream.computeInt64Size( - 2, unclassifiedConversationsCount_); - } - for (java.util.Map.Entry< - java.lang.String, - com.google.cloud.contactcenterinsights.v1.IssueModelLabelStats.IssueStats> - entry : internalGetIssueStats().getMap().entrySet()) { - com.google.protobuf.MapEntry< - java.lang.String, - com.google.cloud.contactcenterinsights.v1.IssueModelLabelStats.IssueStats> - issueStats__ = - IssueStatsDefaultEntryHolder.defaultEntry - .newBuilderForType() - .setKey(entry.getKey()) - .setValue(entry.getValue()) - .build(); - size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, issueStats__); + size += com.google.protobuf.CodedOutputStream + .computeInt64Size(2, unclassifiedConversationsCount_); + } + for (java.util.Map.Entry entry + : internalGetIssueStats().getMap().entrySet()) { + com.google.protobuf.MapEntry + issueStats__ = IssueStatsDefaultEntryHolder.defaultEntry.newBuilderForType() + .setKey(entry.getKey()) + .setValue(entry.getValue()) + .build(); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(3, issueStats__); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -1315,18 +1140,19 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.contactcenterinsights.v1.IssueModelLabelStats)) { return super.equals(obj); } - com.google.cloud.contactcenterinsights.v1.IssueModelLabelStats other = - (com.google.cloud.contactcenterinsights.v1.IssueModelLabelStats) obj; + com.google.cloud.contactcenterinsights.v1.IssueModelLabelStats other = (com.google.cloud.contactcenterinsights.v1.IssueModelLabelStats) obj; - if (getAnalyzedConversationsCount() != other.getAnalyzedConversationsCount()) return false; - if (getUnclassifiedConversationsCount() != other.getUnclassifiedConversationsCount()) - return false; - if (!internalGetIssueStats().equals(other.internalGetIssueStats())) return false; + if (getAnalyzedConversationsCount() + != other.getAnalyzedConversationsCount()) return false; + if (getUnclassifiedConversationsCount() + != other.getUnclassifiedConversationsCount()) return false; + if (!internalGetIssueStats().equals( + other.internalGetIssueStats())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -1339,9 +1165,11 @@ public int hashCode() { int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); hash = (37 * hash) + ANALYZED_CONVERSATIONS_COUNT_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashLong(getAnalyzedConversationsCount()); + hash = (53 * hash) + com.google.protobuf.Internal.hashLong( + getAnalyzedConversationsCount()); hash = (37 * hash) + UNCLASSIFIED_CONVERSATIONS_COUNT_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashLong(getUnclassifiedConversationsCount()); + hash = (53 * hash) + com.google.protobuf.Internal.hashLong( + getUnclassifiedConversationsCount()); if (!internalGetIssueStats().getMap().isEmpty()) { hash = (37 * hash) + ISSUE_STATS_FIELD_NUMBER; hash = (53 * hash) + internalGetIssueStats().hashCode(); @@ -1352,156 +1180,151 @@ public int hashCode() { } public static com.google.cloud.contactcenterinsights.v1.IssueModelLabelStats parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.contactcenterinsights.v1.IssueModelLabelStats parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.contactcenterinsights.v1.IssueModelLabelStats parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.contactcenterinsights.v1.IssueModelLabelStats parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.contactcenterinsights.v1.IssueModelLabelStats parseFrom( - byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.contactcenterinsights.v1.IssueModelLabelStats parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.contactcenterinsights.v1.IssueModelLabelStats parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.contactcenterinsights.v1.IssueModelLabelStats parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.contactcenterinsights.v1.IssueModelLabelStats parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.contactcenterinsights.v1.IssueModelLabelStats parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.contactcenterinsights.v1.IssueModelLabelStats parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.contactcenterinsights.v1.IssueModelLabelStats parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.contactcenterinsights.v1.IssueModelLabelStats parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.contactcenterinsights.v1.IssueModelLabelStats parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.contactcenterinsights.v1.IssueModelLabelStats parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.contactcenterinsights.v1.IssueModelLabelStats prototype) { + public static Builder newBuilder(com.google.cloud.contactcenterinsights.v1.IssueModelLabelStats prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Aggregated statistics about an issue model.
    * 
* * Protobuf type {@code google.cloud.contactcenterinsights.v1.IssueModelLabelStats} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.contactcenterinsights.v1.IssueModelLabelStats) com.google.cloud.contactcenterinsights.v1.IssueModelLabelStatsOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.contactcenterinsights.v1.ResourcesProto - .internal_static_google_cloud_contactcenterinsights_v1_IssueModelLabelStats_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.contactcenterinsights.v1.ResourcesProto.internal_static_google_cloud_contactcenterinsights_v1_IssueModelLabelStats_descriptor; } @SuppressWarnings({"rawtypes"}) - protected com.google.protobuf.MapField internalGetMapField(int number) { + protected com.google.protobuf.MapField internalGetMapField( + int number) { switch (number) { case 3: return internalGetIssueStats(); default: - throw new RuntimeException("Invalid map field number: " + number); + throw new RuntimeException( + "Invalid map field number: " + number); } } - @SuppressWarnings({"rawtypes"}) - protected com.google.protobuf.MapField internalGetMutableMapField(int number) { + protected com.google.protobuf.MapField internalGetMutableMapField( + int number) { switch (number) { case 3: return internalGetMutableIssueStats(); default: - throw new RuntimeException("Invalid map field number: " + number); + throw new RuntimeException( + "Invalid map field number: " + number); } } - @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.contactcenterinsights.v1.ResourcesProto - .internal_static_google_cloud_contactcenterinsights_v1_IssueModelLabelStats_fieldAccessorTable + return com.google.cloud.contactcenterinsights.v1.ResourcesProto.internal_static_google_cloud_contactcenterinsights_v1_IssueModelLabelStats_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.contactcenterinsights.v1.IssueModelLabelStats.class, - com.google.cloud.contactcenterinsights.v1.IssueModelLabelStats.Builder.class); + com.google.cloud.contactcenterinsights.v1.IssueModelLabelStats.class, com.google.cloud.contactcenterinsights.v1.IssueModelLabelStats.Builder.class); } // Construct using com.google.cloud.contactcenterinsights.v1.IssueModelLabelStats.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -1513,14 +1336,13 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.contactcenterinsights.v1.ResourcesProto - .internal_static_google_cloud_contactcenterinsights_v1_IssueModelLabelStats_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.contactcenterinsights.v1.ResourcesProto.internal_static_google_cloud_contactcenterinsights_v1_IssueModelLabelStats_descriptor; } @java.lang.Override - public com.google.cloud.contactcenterinsights.v1.IssueModelLabelStats - getDefaultInstanceForType() { + public com.google.cloud.contactcenterinsights.v1.IssueModelLabelStats getDefaultInstanceForType() { return com.google.cloud.contactcenterinsights.v1.IssueModelLabelStats.getDefaultInstance(); } @@ -1535,17 +1357,13 @@ public com.google.cloud.contactcenterinsights.v1.IssueModelLabelStats build() { @java.lang.Override public com.google.cloud.contactcenterinsights.v1.IssueModelLabelStats buildPartial() { - com.google.cloud.contactcenterinsights.v1.IssueModelLabelStats result = - new com.google.cloud.contactcenterinsights.v1.IssueModelLabelStats(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + com.google.cloud.contactcenterinsights.v1.IssueModelLabelStats result = new com.google.cloud.contactcenterinsights.v1.IssueModelLabelStats(this); + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } - private void buildPartial0( - com.google.cloud.contactcenterinsights.v1.IssueModelLabelStats result) { + private void buildPartial0(com.google.cloud.contactcenterinsights.v1.IssueModelLabelStats result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { result.analyzedConversationsCount_ = analyzedConversationsCount_; @@ -1563,39 +1381,38 @@ private void buildPartial0( public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.contactcenterinsights.v1.IssueModelLabelStats) { - return mergeFrom((com.google.cloud.contactcenterinsights.v1.IssueModelLabelStats) other); + return mergeFrom((com.google.cloud.contactcenterinsights.v1.IssueModelLabelStats)other); } else { super.mergeFrom(other); return this; @@ -1603,16 +1420,15 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.contactcenterinsights.v1.IssueModelLabelStats other) { - if (other - == com.google.cloud.contactcenterinsights.v1.IssueModelLabelStats.getDefaultInstance()) - return this; + if (other == com.google.cloud.contactcenterinsights.v1.IssueModelLabelStats.getDefaultInstance()) return this; if (other.getAnalyzedConversationsCount() != 0L) { setAnalyzedConversationsCount(other.getAnalyzedConversationsCount()); } if (other.getUnclassifiedConversationsCount() != 0L) { setUnclassifiedConversationsCount(other.getUnclassifiedConversationsCount()); } - internalGetMutableIssueStats().mergeFrom(other.internalGetIssueStats()); + internalGetMutableIssueStats().mergeFrom( + other.internalGetIssueStats()); bitField0_ |= 0x00000004; this.mergeUnknownFields(other.getUnknownFields()); onChanged(); @@ -1640,40 +1456,31 @@ public Builder mergeFrom( case 0: done = true; break; - case 8: - { - analyzedConversationsCount_ = input.readInt64(); - bitField0_ |= 0x00000001; - break; - } // case 8 - case 16: - { - unclassifiedConversationsCount_ = input.readInt64(); - bitField0_ |= 0x00000002; - break; - } // case 16 - case 26: - { - com.google.protobuf.MapEntry< - java.lang.String, - com.google.cloud.contactcenterinsights.v1.IssueModelLabelStats.IssueStats> - issueStats__ = - input.readMessage( - IssueStatsDefaultEntryHolder.defaultEntry.getParserForType(), - extensionRegistry); - internalGetMutableIssueStats() - .getMutableMap() - .put(issueStats__.getKey(), issueStats__.getValue()); - bitField0_ |= 0x00000004; - break; - } // case 26 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 8: { + analyzedConversationsCount_ = input.readInt64(); + bitField0_ |= 0x00000001; + break; + } // case 8 + case 16: { + unclassifiedConversationsCount_ = input.readInt64(); + bitField0_ |= 0x00000002; + break; + } // case 16 + case 26: { + com.google.protobuf.MapEntry + issueStats__ = input.readMessage( + IssueStatsDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry); + internalGetMutableIssueStats().getMutableMap().put( + issueStats__.getKey(), issueStats__.getValue()); + bitField0_ |= 0x00000004; + break; + } // case 26 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -1683,19 +1490,15 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; - private long analyzedConversationsCount_; + private long analyzedConversationsCount_ ; /** - * - * *
      * Number of conversations the issue model has analyzed at this point in time.
      * 
* * int64 analyzed_conversations_count = 1; - * * @return The analyzedConversationsCount. */ @java.lang.Override @@ -1703,33 +1506,27 @@ public long getAnalyzedConversationsCount() { return analyzedConversationsCount_; } /** - * - * *
      * Number of conversations the issue model has analyzed at this point in time.
      * 
* * int64 analyzed_conversations_count = 1; - * * @param value The analyzedConversationsCount to set. * @return This builder for chaining. */ public Builder setAnalyzedConversationsCount(long value) { - + analyzedConversationsCount_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
      * Number of conversations the issue model has analyzed at this point in time.
      * 
* * int64 analyzed_conversations_count = 1; - * * @return This builder for chaining. */ public Builder clearAnalyzedConversationsCount() { @@ -1739,17 +1536,14 @@ public Builder clearAnalyzedConversationsCount() { return this; } - private long unclassifiedConversationsCount_; + private long unclassifiedConversationsCount_ ; /** - * - * *
      * Number of analyzed conversations for which no issue was applicable at this
      * point in time.
      * 
* * int64 unclassified_conversations_count = 2; - * * @return The unclassifiedConversationsCount. */ @java.lang.Override @@ -1757,35 +1551,29 @@ public long getUnclassifiedConversationsCount() { return unclassifiedConversationsCount_; } /** - * - * *
      * Number of analyzed conversations for which no issue was applicable at this
      * point in time.
      * 
* * int64 unclassified_conversations_count = 2; - * * @param value The unclassifiedConversationsCount to set. * @return This builder for chaining. */ public Builder setUnclassifiedConversationsCount(long value) { - + unclassifiedConversationsCount_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** - * - * *
      * Number of analyzed conversations for which no issue was applicable at this
      * point in time.
      * 
* * int64 unclassified_conversations_count = 2; - * * @return This builder for chaining. */ public Builder clearUnclassifiedConversationsCount() { @@ -1796,13 +1584,8 @@ public Builder clearUnclassifiedConversationsCount() { } private com.google.protobuf.MapField< - java.lang.String, - com.google.cloud.contactcenterinsights.v1.IssueModelLabelStats.IssueStats> - issueStats_; - - private com.google.protobuf.MapField< - java.lang.String, - com.google.cloud.contactcenterinsights.v1.IssueModelLabelStats.IssueStats> + java.lang.String, com.google.cloud.contactcenterinsights.v1.IssueModelLabelStats.IssueStats> issueStats_; + private com.google.protobuf.MapField internalGetIssueStats() { if (issueStats_ == null) { return com.google.protobuf.MapField.emptyMapField( @@ -1810,14 +1593,11 @@ public Builder clearUnclassifiedConversationsCount() { } return issueStats_; } - - private com.google.protobuf.MapField< - java.lang.String, - com.google.cloud.contactcenterinsights.v1.IssueModelLabelStats.IssueStats> + private com.google.protobuf.MapField internalGetMutableIssueStats() { if (issueStats_ == null) { - issueStats_ = - com.google.protobuf.MapField.newMapField(IssueStatsDefaultEntryHolder.defaultEntry); + issueStats_ = com.google.protobuf.MapField.newMapField( + IssueStatsDefaultEntryHolder.defaultEntry); } if (!issueStats_.isMutable()) { issueStats_ = issueStats_.copy(); @@ -1826,188 +1606,140 @@ public Builder clearUnclassifiedConversationsCount() { onChanged(); return issueStats_; } - public int getIssueStatsCount() { return internalGetIssueStats().getMap().size(); } /** - * - * *
      * Statistics on each issue. Key is the issue's resource name.
      * 
* - * - * map<string, .google.cloud.contactcenterinsights.v1.IssueModelLabelStats.IssueStats> issue_stats = 3; - * + * map<string, .google.cloud.contactcenterinsights.v1.IssueModelLabelStats.IssueStats> issue_stats = 3; */ @java.lang.Override - public boolean containsIssueStats(java.lang.String key) { - if (key == null) { - throw new NullPointerException("map key"); - } + public boolean containsIssueStats( + java.lang.String key) { + if (key == null) { throw new NullPointerException("map key"); } return internalGetIssueStats().getMap().containsKey(key); } - /** Use {@link #getIssueStatsMap()} instead. */ + /** + * Use {@link #getIssueStatsMap()} instead. + */ @java.lang.Override @java.lang.Deprecated - public java.util.Map< - java.lang.String, - com.google.cloud.contactcenterinsights.v1.IssueModelLabelStats.IssueStats> - getIssueStats() { + public java.util.Map getIssueStats() { return getIssueStatsMap(); } /** - * - * *
      * Statistics on each issue. Key is the issue's resource name.
      * 
* - * - * map<string, .google.cloud.contactcenterinsights.v1.IssueModelLabelStats.IssueStats> issue_stats = 3; - * + * map<string, .google.cloud.contactcenterinsights.v1.IssueModelLabelStats.IssueStats> issue_stats = 3; */ @java.lang.Override - public java.util.Map< - java.lang.String, - com.google.cloud.contactcenterinsights.v1.IssueModelLabelStats.IssueStats> - getIssueStatsMap() { + public java.util.Map getIssueStatsMap() { return internalGetIssueStats().getMap(); } /** - * - * *
      * Statistics on each issue. Key is the issue's resource name.
      * 
* - * - * map<string, .google.cloud.contactcenterinsights.v1.IssueModelLabelStats.IssueStats> issue_stats = 3; - * + * map<string, .google.cloud.contactcenterinsights.v1.IssueModelLabelStats.IssueStats> issue_stats = 3; */ @java.lang.Override - public /* nullable */ com.google.cloud.contactcenterinsights.v1.IssueModelLabelStats.IssueStats - getIssueStatsOrDefault( - java.lang.String key, - /* nullable */ - com.google.cloud.contactcenterinsights.v1.IssueModelLabelStats.IssueStats - defaultValue) { - if (key == null) { - throw new NullPointerException("map key"); - } - java.util.Map< - java.lang.String, - com.google.cloud.contactcenterinsights.v1.IssueModelLabelStats.IssueStats> - map = internalGetIssueStats().getMap(); + public /* nullable */ +com.google.cloud.contactcenterinsights.v1.IssueModelLabelStats.IssueStats getIssueStatsOrDefault( + java.lang.String key, + /* nullable */ +com.google.cloud.contactcenterinsights.v1.IssueModelLabelStats.IssueStats defaultValue) { + if (key == null) { throw new NullPointerException("map key"); } + java.util.Map map = + internalGetIssueStats().getMap(); return map.containsKey(key) ? map.get(key) : defaultValue; } /** - * - * *
      * Statistics on each issue. Key is the issue's resource name.
      * 
* - * - * map<string, .google.cloud.contactcenterinsights.v1.IssueModelLabelStats.IssueStats> issue_stats = 3; - * + * map<string, .google.cloud.contactcenterinsights.v1.IssueModelLabelStats.IssueStats> issue_stats = 3; */ @java.lang.Override - public com.google.cloud.contactcenterinsights.v1.IssueModelLabelStats.IssueStats - getIssueStatsOrThrow(java.lang.String key) { - if (key == null) { - throw new NullPointerException("map key"); - } - java.util.Map< - java.lang.String, - com.google.cloud.contactcenterinsights.v1.IssueModelLabelStats.IssueStats> - map = internalGetIssueStats().getMap(); + public com.google.cloud.contactcenterinsights.v1.IssueModelLabelStats.IssueStats getIssueStatsOrThrow( + java.lang.String key) { + if (key == null) { throw new NullPointerException("map key"); } + java.util.Map map = + internalGetIssueStats().getMap(); if (!map.containsKey(key)) { throw new java.lang.IllegalArgumentException(); } return map.get(key); } - public Builder clearIssueStats() { bitField0_ = (bitField0_ & ~0x00000004); - internalGetMutableIssueStats().getMutableMap().clear(); + internalGetMutableIssueStats().getMutableMap() + .clear(); return this; } /** - * - * *
      * Statistics on each issue. Key is the issue's resource name.
      * 
* - * - * map<string, .google.cloud.contactcenterinsights.v1.IssueModelLabelStats.IssueStats> issue_stats = 3; - * + * map<string, .google.cloud.contactcenterinsights.v1.IssueModelLabelStats.IssueStats> issue_stats = 3; */ - public Builder removeIssueStats(java.lang.String key) { - if (key == null) { - throw new NullPointerException("map key"); - } - internalGetMutableIssueStats().getMutableMap().remove(key); + public Builder removeIssueStats( + java.lang.String key) { + if (key == null) { throw new NullPointerException("map key"); } + internalGetMutableIssueStats().getMutableMap() + .remove(key); return this; } - /** Use alternate mutation accessors instead. */ + /** + * Use alternate mutation accessors instead. + */ @java.lang.Deprecated - public java.util.Map< - java.lang.String, - com.google.cloud.contactcenterinsights.v1.IssueModelLabelStats.IssueStats> + public java.util.Map getMutableIssueStats() { bitField0_ |= 0x00000004; return internalGetMutableIssueStats().getMutableMap(); } /** - * - * *
      * Statistics on each issue. Key is the issue's resource name.
      * 
* - * - * map<string, .google.cloud.contactcenterinsights.v1.IssueModelLabelStats.IssueStats> issue_stats = 3; - * + * map<string, .google.cloud.contactcenterinsights.v1.IssueModelLabelStats.IssueStats> issue_stats = 3; */ public Builder putIssueStats( java.lang.String key, com.google.cloud.contactcenterinsights.v1.IssueModelLabelStats.IssueStats value) { - if (key == null) { - throw new NullPointerException("map key"); - } - if (value == null) { - throw new NullPointerException("map value"); - } - internalGetMutableIssueStats().getMutableMap().put(key, value); + if (key == null) { throw new NullPointerException("map key"); } + if (value == null) { throw new NullPointerException("map value"); } + internalGetMutableIssueStats().getMutableMap() + .put(key, value); bitField0_ |= 0x00000004; return this; } /** - * - * *
      * Statistics on each issue. Key is the issue's resource name.
      * 
* - * - * map<string, .google.cloud.contactcenterinsights.v1.IssueModelLabelStats.IssueStats> issue_stats = 3; - * + * map<string, .google.cloud.contactcenterinsights.v1.IssueModelLabelStats.IssueStats> issue_stats = 3; */ public Builder putAllIssueStats( - java.util.Map< - java.lang.String, - com.google.cloud.contactcenterinsights.v1.IssueModelLabelStats.IssueStats> - values) { - internalGetMutableIssueStats().getMutableMap().putAll(values); + java.util.Map values) { + internalGetMutableIssueStats().getMutableMap() + .putAll(values); bitField0_ |= 0x00000004; return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -2017,43 +1749,41 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.contactcenterinsights.v1.IssueModelLabelStats) } // @@protoc_insertion_point(class_scope:google.cloud.contactcenterinsights.v1.IssueModelLabelStats) - private static final com.google.cloud.contactcenterinsights.v1.IssueModelLabelStats - DEFAULT_INSTANCE; - + private static final com.google.cloud.contactcenterinsights.v1.IssueModelLabelStats DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.cloud.contactcenterinsights.v1.IssueModelLabelStats(); } - public static com.google.cloud.contactcenterinsights.v1.IssueModelLabelStats - getDefaultInstance() { + public static com.google.cloud.contactcenterinsights.v1.IssueModelLabelStats getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public IssueModelLabelStats parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public IssueModelLabelStats parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -2065,8 +1795,9 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.cloud.contactcenterinsights.v1.IssueModelLabelStats - getDefaultInstanceForType() { + public com.google.cloud.contactcenterinsights.v1.IssueModelLabelStats getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/IssueModelLabelStatsOrBuilder.java b/owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/IssueModelLabelStatsOrBuilder.java new file mode 100644 index 000000000000..fb92d7c7f04a --- /dev/null +++ b/owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/IssueModelLabelStatsOrBuilder.java @@ -0,0 +1,84 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/contactcenterinsights/v1/resources.proto + +package com.google.cloud.contactcenterinsights.v1; + +public interface IssueModelLabelStatsOrBuilder extends + // @@protoc_insertion_point(interface_extends:google.cloud.contactcenterinsights.v1.IssueModelLabelStats) + com.google.protobuf.MessageOrBuilder { + + /** + *
+   * Number of conversations the issue model has analyzed at this point in time.
+   * 
+ * + * int64 analyzed_conversations_count = 1; + * @return The analyzedConversationsCount. + */ + long getAnalyzedConversationsCount(); + + /** + *
+   * Number of analyzed conversations for which no issue was applicable at this
+   * point in time.
+   * 
+ * + * int64 unclassified_conversations_count = 2; + * @return The unclassifiedConversationsCount. + */ + long getUnclassifiedConversationsCount(); + + /** + *
+   * Statistics on each issue. Key is the issue's resource name.
+   * 
+ * + * map<string, .google.cloud.contactcenterinsights.v1.IssueModelLabelStats.IssueStats> issue_stats = 3; + */ + int getIssueStatsCount(); + /** + *
+   * Statistics on each issue. Key is the issue's resource name.
+   * 
+ * + * map<string, .google.cloud.contactcenterinsights.v1.IssueModelLabelStats.IssueStats> issue_stats = 3; + */ + boolean containsIssueStats( + java.lang.String key); + /** + * Use {@link #getIssueStatsMap()} instead. + */ + @java.lang.Deprecated + java.util.Map + getIssueStats(); + /** + *
+   * Statistics on each issue. Key is the issue's resource name.
+   * 
+ * + * map<string, .google.cloud.contactcenterinsights.v1.IssueModelLabelStats.IssueStats> issue_stats = 3; + */ + java.util.Map + getIssueStatsMap(); + /** + *
+   * Statistics on each issue. Key is the issue's resource name.
+   * 
+ * + * map<string, .google.cloud.contactcenterinsights.v1.IssueModelLabelStats.IssueStats> issue_stats = 3; + */ + /* nullable */ +com.google.cloud.contactcenterinsights.v1.IssueModelLabelStats.IssueStats getIssueStatsOrDefault( + java.lang.String key, + /* nullable */ +com.google.cloud.contactcenterinsights.v1.IssueModelLabelStats.IssueStats defaultValue); + /** + *
+   * Statistics on each issue. Key is the issue's resource name.
+   * 
+ * + * map<string, .google.cloud.contactcenterinsights.v1.IssueModelLabelStats.IssueStats> issue_stats = 3; + */ + com.google.cloud.contactcenterinsights.v1.IssueModelLabelStats.IssueStats getIssueStatsOrThrow( + java.lang.String key); +} diff --git a/java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/IssueModelName.java b/owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/IssueModelName.java similarity index 100% rename from java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/IssueModelName.java rename to owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/IssueModelName.java diff --git a/java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/IssueModelOrBuilder.java b/owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/IssueModelOrBuilder.java similarity index 64% rename from java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/IssueModelOrBuilder.java rename to owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/IssueModelOrBuilder.java index 89d4e48fbd04..13221536e78b 100644 --- a/java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/IssueModelOrBuilder.java +++ b/owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/IssueModelOrBuilder.java @@ -1,31 +1,13 @@ -/* - * 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. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/contactcenterinsights/v1/resources.proto package com.google.cloud.contactcenterinsights.v1; -public interface IssueModelOrBuilder - extends +public interface IssueModelOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.contactcenterinsights.v1.IssueModel) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Immutable. The resource name of the issue model.
    * Format:
@@ -33,13 +15,10 @@ public interface IssueModelOrBuilder
    * 
* * string name = 1 [(.google.api.field_behavior) = IMMUTABLE]; - * * @return The name. */ java.lang.String getName(); /** - * - * *
    * Immutable. The resource name of the issue model.
    * Format:
@@ -47,219 +26,168 @@ public interface IssueModelOrBuilder
    * 
* * string name = 1 [(.google.api.field_behavior) = IMMUTABLE]; - * * @return The bytes for name. */ - com.google.protobuf.ByteString getNameBytes(); + com.google.protobuf.ByteString + getNameBytes(); /** - * - * *
    * The representative name for the issue model.
    * 
* * string display_name = 2; - * * @return The displayName. */ java.lang.String getDisplayName(); /** - * - * *
    * The representative name for the issue model.
    * 
* * string display_name = 2; - * * @return The bytes for displayName. */ - com.google.protobuf.ByteString getDisplayNameBytes(); + com.google.protobuf.ByteString + getDisplayNameBytes(); /** - * - * *
    * Output only. The time at which this issue model was created.
    * 
* - * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the createTime field is set. */ boolean hasCreateTime(); /** - * - * *
    * Output only. The time at which this issue model was created.
    * 
* - * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The createTime. */ com.google.protobuf.Timestamp getCreateTime(); /** - * - * *
    * Output only. The time at which this issue model was created.
    * 
* - * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder(); /** - * - * *
    * Output only. The most recent time at which the issue model was updated.
    * 
* - * .google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the updateTime field is set. */ boolean hasUpdateTime(); /** - * - * *
    * Output only. The most recent time at which the issue model was updated.
    * 
* - * .google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The updateTime. */ com.google.protobuf.Timestamp getUpdateTime(); /** - * - * *
    * Output only. The most recent time at which the issue model was updated.
    * 
* - * .google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder(); /** + *
+   * Output only. Number of issues in this issue model.
+   * 
* - * + * int64 issue_count = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * @return The issueCount. + */ + long getIssueCount(); + + /** *
    * Output only. State of the model.
    * 
* - * - * .google.cloud.contactcenterinsights.v1.IssueModel.State state = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.contactcenterinsights.v1.IssueModel.State state = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The enum numeric value on the wire for state. */ int getStateValue(); /** - * - * *
    * Output only. State of the model.
    * 
* - * - * .google.cloud.contactcenterinsights.v1.IssueModel.State state = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.contactcenterinsights.v1.IssueModel.State state = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The state. */ com.google.cloud.contactcenterinsights.v1.IssueModel.State getState(); /** - * - * *
    * Configs for the input data that used to create the issue model.
    * 
* - * .google.cloud.contactcenterinsights.v1.IssueModel.InputDataConfig input_data_config = 6; - * - * + * .google.cloud.contactcenterinsights.v1.IssueModel.InputDataConfig input_data_config = 6; * @return Whether the inputDataConfig field is set. */ boolean hasInputDataConfig(); /** - * - * *
    * Configs for the input data that used to create the issue model.
    * 
* - * .google.cloud.contactcenterinsights.v1.IssueModel.InputDataConfig input_data_config = 6; - * - * + * .google.cloud.contactcenterinsights.v1.IssueModel.InputDataConfig input_data_config = 6; * @return The inputDataConfig. */ com.google.cloud.contactcenterinsights.v1.IssueModel.InputDataConfig getInputDataConfig(); /** - * - * *
    * Configs for the input data that used to create the issue model.
    * 
* - * .google.cloud.contactcenterinsights.v1.IssueModel.InputDataConfig input_data_config = 6; - * + * .google.cloud.contactcenterinsights.v1.IssueModel.InputDataConfig input_data_config = 6; */ - com.google.cloud.contactcenterinsights.v1.IssueModel.InputDataConfigOrBuilder - getInputDataConfigOrBuilder(); + com.google.cloud.contactcenterinsights.v1.IssueModel.InputDataConfigOrBuilder getInputDataConfigOrBuilder(); /** - * - * *
-   * Output only. Immutable. The issue model's label statistics on its training data.
+   * Output only. Immutable. The issue model's label statistics on its training
+   * data.
    * 
* - * - * .google.cloud.contactcenterinsights.v1.IssueModelLabelStats training_stats = 7 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.field_behavior) = IMMUTABLE]; - * - * + * .google.cloud.contactcenterinsights.v1.IssueModelLabelStats training_stats = 7 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.field_behavior) = IMMUTABLE]; * @return Whether the trainingStats field is set. */ boolean hasTrainingStats(); /** - * - * *
-   * Output only. Immutable. The issue model's label statistics on its training data.
+   * Output only. Immutable. The issue model's label statistics on its training
+   * data.
    * 
* - * - * .google.cloud.contactcenterinsights.v1.IssueModelLabelStats training_stats = 7 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.field_behavior) = IMMUTABLE]; - * - * + * .google.cloud.contactcenterinsights.v1.IssueModelLabelStats training_stats = 7 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.field_behavior) = IMMUTABLE]; * @return The trainingStats. */ com.google.cloud.contactcenterinsights.v1.IssueModelLabelStats getTrainingStats(); /** - * - * *
-   * Output only. Immutable. The issue model's label statistics on its training data.
+   * Output only. Immutable. The issue model's label statistics on its training
+   * data.
    * 
* - * - * .google.cloud.contactcenterinsights.v1.IssueModelLabelStats training_stats = 7 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.field_behavior) = IMMUTABLE]; - * + * .google.cloud.contactcenterinsights.v1.IssueModelLabelStats training_stats = 7 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.field_behavior) = IMMUTABLE]; */ - com.google.cloud.contactcenterinsights.v1.IssueModelLabelStatsOrBuilder - getTrainingStatsOrBuilder(); + com.google.cloud.contactcenterinsights.v1.IssueModelLabelStatsOrBuilder getTrainingStatsOrBuilder(); } diff --git a/java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/IssueModelResult.java b/owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/IssueModelResult.java similarity index 72% rename from java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/IssueModelResult.java rename to owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/IssueModelResult.java index efd7e791fa02..56e431bb2193 100644 --- a/java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/IssueModelResult.java +++ b/owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/IssueModelResult.java @@ -1,42 +1,24 @@ -/* - * 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. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/contactcenterinsights/v1/resources.proto package com.google.cloud.contactcenterinsights.v1; /** - * - * *
  * Issue Modeling result on a conversation.
  * 
* * Protobuf type {@code google.cloud.contactcenterinsights.v1.IssueModelResult} */ -public final class IssueModelResult extends com.google.protobuf.GeneratedMessageV3 - implements +public final class IssueModelResult extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.contactcenterinsights.v1.IssueModelResult) IssueModelResultOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use IssueModelResult.newBuilder() to construct. private IssueModelResult(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private IssueModelResult() { issueModel_ = ""; issues_ = java.util.Collections.emptyList(); @@ -44,44 +26,39 @@ private IssueModelResult() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new IssueModelResult(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.contactcenterinsights.v1.ResourcesProto - .internal_static_google_cloud_contactcenterinsights_v1_IssueModelResult_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.contactcenterinsights.v1.ResourcesProto.internal_static_google_cloud_contactcenterinsights_v1_IssueModelResult_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.contactcenterinsights.v1.ResourcesProto - .internal_static_google_cloud_contactcenterinsights_v1_IssueModelResult_fieldAccessorTable + return com.google.cloud.contactcenterinsights.v1.ResourcesProto.internal_static_google_cloud_contactcenterinsights_v1_IssueModelResult_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.contactcenterinsights.v1.IssueModelResult.class, - com.google.cloud.contactcenterinsights.v1.IssueModelResult.Builder.class); + com.google.cloud.contactcenterinsights.v1.IssueModelResult.class, com.google.cloud.contactcenterinsights.v1.IssueModelResult.Builder.class); } public static final int ISSUE_MODEL_FIELD_NUMBER = 1; - @SuppressWarnings("serial") private volatile java.lang.Object issueModel_ = ""; /** - * - * *
    * Issue model that generates the result.
    * Format: projects/{project}/locations/{location}/issueModels/{issue_model}
    * 
* * string issue_model = 1 [(.google.api.resource_reference) = { ... } - * * @return The issueModel. */ @java.lang.Override @@ -90,30 +67,30 @@ public java.lang.String getIssueModel() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); issueModel_ = s; return s; } } /** - * - * *
    * Issue model that generates the result.
    * Format: projects/{project}/locations/{location}/issueModels/{issue_model}
    * 
* * string issue_model = 1 [(.google.api.resource_reference) = { ... } - * * @return The bytes for issueModel. */ @java.lang.Override - public com.google.protobuf.ByteString getIssueModelBytes() { + public com.google.protobuf.ByteString + getIssueModelBytes() { java.lang.Object ref = issueModel_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); issueModel_ = b; return b; } else { @@ -122,12 +99,9 @@ public com.google.protobuf.ByteString getIssueModelBytes() { } public static final int ISSUES_FIELD_NUMBER = 2; - @SuppressWarnings("serial") private java.util.List issues_; /** - * - * *
    * All the matched issues.
    * 
@@ -139,8 +113,6 @@ public java.util.List return issues_; } /** - * - * *
    * All the matched issues.
    * 
@@ -148,14 +120,11 @@ public java.util.List * repeated .google.cloud.contactcenterinsights.v1.IssueAssignment issues = 2; */ @java.lang.Override - public java.util.List< - ? extends com.google.cloud.contactcenterinsights.v1.IssueAssignmentOrBuilder> + public java.util.List getIssuesOrBuilderList() { return issues_; } /** - * - * *
    * All the matched issues.
    * 
@@ -167,8 +136,6 @@ public int getIssuesCount() { return issues_.size(); } /** - * - * *
    * All the matched issues.
    * 
@@ -180,8 +147,6 @@ public com.google.cloud.contactcenterinsights.v1.IssueAssignment getIssues(int i return issues_.get(index); } /** - * - * *
    * All the matched issues.
    * 
@@ -195,7 +160,6 @@ public com.google.cloud.contactcenterinsights.v1.IssueAssignmentOrBuilder getIss } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -207,7 +171,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(issueModel_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, issueModel_); } @@ -227,7 +192,8 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, issueModel_); } for (int i = 0; i < issues_.size(); i++) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, issues_.get(i)); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, issues_.get(i)); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -237,16 +203,17 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.contactcenterinsights.v1.IssueModelResult)) { return super.equals(obj); } - com.google.cloud.contactcenterinsights.v1.IssueModelResult other = - (com.google.cloud.contactcenterinsights.v1.IssueModelResult) obj; + com.google.cloud.contactcenterinsights.v1.IssueModelResult other = (com.google.cloud.contactcenterinsights.v1.IssueModelResult) obj; - if (!getIssueModel().equals(other.getIssueModel())) return false; - if (!getIssuesList().equals(other.getIssuesList())) return false; + if (!getIssueModel() + .equals(other.getIssueModel())) return false; + if (!getIssuesList() + .equals(other.getIssuesList())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -270,136 +237,129 @@ public int hashCode() { } public static com.google.cloud.contactcenterinsights.v1.IssueModelResult parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.contactcenterinsights.v1.IssueModelResult parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.contactcenterinsights.v1.IssueModelResult parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.contactcenterinsights.v1.IssueModelResult parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.contactcenterinsights.v1.IssueModelResult parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.contactcenterinsights.v1.IssueModelResult parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.contactcenterinsights.v1.IssueModelResult parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.contactcenterinsights.v1.IssueModelResult parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.contactcenterinsights.v1.IssueModelResult parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.contactcenterinsights.v1.IssueModelResult parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.contactcenterinsights.v1.IssueModelResult parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.contactcenterinsights.v1.IssueModelResult parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.contactcenterinsights.v1.IssueModelResult parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.contactcenterinsights.v1.IssueModelResult parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.contactcenterinsights.v1.IssueModelResult prototype) { + public static Builder newBuilder(com.google.cloud.contactcenterinsights.v1.IssueModelResult prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Issue Modeling result on a conversation.
    * 
* * Protobuf type {@code google.cloud.contactcenterinsights.v1.IssueModelResult} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.contactcenterinsights.v1.IssueModelResult) com.google.cloud.contactcenterinsights.v1.IssueModelResultOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.contactcenterinsights.v1.ResourcesProto - .internal_static_google_cloud_contactcenterinsights_v1_IssueModelResult_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.contactcenterinsights.v1.ResourcesProto.internal_static_google_cloud_contactcenterinsights_v1_IssueModelResult_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.contactcenterinsights.v1.ResourcesProto - .internal_static_google_cloud_contactcenterinsights_v1_IssueModelResult_fieldAccessorTable + return com.google.cloud.contactcenterinsights.v1.ResourcesProto.internal_static_google_cloud_contactcenterinsights_v1_IssueModelResult_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.contactcenterinsights.v1.IssueModelResult.class, - com.google.cloud.contactcenterinsights.v1.IssueModelResult.Builder.class); + com.google.cloud.contactcenterinsights.v1.IssueModelResult.class, com.google.cloud.contactcenterinsights.v1.IssueModelResult.Builder.class); } // Construct using com.google.cloud.contactcenterinsights.v1.IssueModelResult.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -416,9 +376,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.contactcenterinsights.v1.ResourcesProto - .internal_static_google_cloud_contactcenterinsights_v1_IssueModelResult_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.contactcenterinsights.v1.ResourcesProto.internal_static_google_cloud_contactcenterinsights_v1_IssueModelResult_descriptor; } @java.lang.Override @@ -437,18 +397,14 @@ public com.google.cloud.contactcenterinsights.v1.IssueModelResult build() { @java.lang.Override public com.google.cloud.contactcenterinsights.v1.IssueModelResult buildPartial() { - com.google.cloud.contactcenterinsights.v1.IssueModelResult result = - new com.google.cloud.contactcenterinsights.v1.IssueModelResult(this); + com.google.cloud.contactcenterinsights.v1.IssueModelResult result = new com.google.cloud.contactcenterinsights.v1.IssueModelResult(this); buildPartialRepeatedFields(result); - if (bitField0_ != 0) { - buildPartial0(result); - } + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } - private void buildPartialRepeatedFields( - com.google.cloud.contactcenterinsights.v1.IssueModelResult result) { + private void buildPartialRepeatedFields(com.google.cloud.contactcenterinsights.v1.IssueModelResult result) { if (issuesBuilder_ == null) { if (((bitField0_ & 0x00000002) != 0)) { issues_ = java.util.Collections.unmodifiableList(issues_); @@ -471,39 +427,38 @@ private void buildPartial0(com.google.cloud.contactcenterinsights.v1.IssueModelR public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.contactcenterinsights.v1.IssueModelResult) { - return mergeFrom((com.google.cloud.contactcenterinsights.v1.IssueModelResult) other); + return mergeFrom((com.google.cloud.contactcenterinsights.v1.IssueModelResult)other); } else { super.mergeFrom(other); return this; @@ -511,8 +466,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.contactcenterinsights.v1.IssueModelResult other) { - if (other == com.google.cloud.contactcenterinsights.v1.IssueModelResult.getDefaultInstance()) - return this; + if (other == com.google.cloud.contactcenterinsights.v1.IssueModelResult.getDefaultInstance()) return this; if (!other.getIssueModel().isEmpty()) { issueModel_ = other.issueModel_; bitField0_ |= 0x00000001; @@ -536,10 +490,9 @@ public Builder mergeFrom(com.google.cloud.contactcenterinsights.v1.IssueModelRes issuesBuilder_ = null; issues_ = other.issues_; bitField0_ = (bitField0_ & ~0x00000002); - issuesBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders - ? getIssuesFieldBuilder() - : null; + issuesBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getIssuesFieldBuilder() : null; } else { issuesBuilder_.addAllMessages(other.issues_); } @@ -571,33 +524,30 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - issueModel_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: - { - com.google.cloud.contactcenterinsights.v1.IssueAssignment m = - input.readMessage( - com.google.cloud.contactcenterinsights.v1.IssueAssignment.parser(), - extensionRegistry); - if (issuesBuilder_ == null) { - ensureIssuesIsMutable(); - issues_.add(m); - } else { - issuesBuilder_.addMessage(m); - } - break; - } // case 18 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + issueModel_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: { + com.google.cloud.contactcenterinsights.v1.IssueAssignment m = + input.readMessage( + com.google.cloud.contactcenterinsights.v1.IssueAssignment.parser(), + extensionRegistry); + if (issuesBuilder_ == null) { + ensureIssuesIsMutable(); + issues_.add(m); + } else { + issuesBuilder_.addMessage(m); + } + break; + } // case 18 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -607,26 +557,23 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private java.lang.Object issueModel_ = ""; /** - * - * *
      * Issue model that generates the result.
      * Format: projects/{project}/locations/{location}/issueModels/{issue_model}
      * 
* * string issue_model = 1 [(.google.api.resource_reference) = { ... } - * * @return The issueModel. */ public java.lang.String getIssueModel() { java.lang.Object ref = issueModel_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); issueModel_ = s; return s; @@ -635,22 +582,21 @@ public java.lang.String getIssueModel() { } } /** - * - * *
      * Issue model that generates the result.
      * Format: projects/{project}/locations/{location}/issueModels/{issue_model}
      * 
* * string issue_model = 1 [(.google.api.resource_reference) = { ... } - * * @return The bytes for issueModel. */ - public com.google.protobuf.ByteString getIssueModelBytes() { + public com.google.protobuf.ByteString + getIssueModelBytes() { java.lang.Object ref = issueModel_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); issueModel_ = b; return b; } else { @@ -658,37 +604,30 @@ public com.google.protobuf.ByteString getIssueModelBytes() { } } /** - * - * *
      * Issue model that generates the result.
      * Format: projects/{project}/locations/{location}/issueModels/{issue_model}
      * 
* * string issue_model = 1 [(.google.api.resource_reference) = { ... } - * * @param value The issueModel to set. * @return This builder for chaining. */ - public Builder setIssueModel(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setIssueModel( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } issueModel_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
      * Issue model that generates the result.
      * Format: projects/{project}/locations/{location}/issueModels/{issue_model}
      * 
* * string issue_model = 1 [(.google.api.resource_reference) = { ... } - * * @return This builder for chaining. */ public Builder clearIssueModel() { @@ -698,22 +637,18 @@ public Builder clearIssueModel() { return this; } /** - * - * *
      * Issue model that generates the result.
      * Format: projects/{project}/locations/{location}/issueModels/{issue_model}
      * 
* * string issue_model = 1 [(.google.api.resource_reference) = { ... } - * * @param value The bytes for issueModel to set. * @return This builder for chaining. */ - public Builder setIssueModelBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setIssueModelBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); issueModel_ = value; bitField0_ |= 0x00000001; @@ -722,34 +657,25 @@ public Builder setIssueModelBytes(com.google.protobuf.ByteString value) { } private java.util.List issues_ = - java.util.Collections.emptyList(); - + java.util.Collections.emptyList(); private void ensureIssuesIsMutable() { if (!((bitField0_ & 0x00000002) != 0)) { - issues_ = - new java.util.ArrayList( - issues_); + issues_ = new java.util.ArrayList(issues_); bitField0_ |= 0x00000002; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.contactcenterinsights.v1.IssueAssignment, - com.google.cloud.contactcenterinsights.v1.IssueAssignment.Builder, - com.google.cloud.contactcenterinsights.v1.IssueAssignmentOrBuilder> - issuesBuilder_; + com.google.cloud.contactcenterinsights.v1.IssueAssignment, com.google.cloud.contactcenterinsights.v1.IssueAssignment.Builder, com.google.cloud.contactcenterinsights.v1.IssueAssignmentOrBuilder> issuesBuilder_; /** - * - * *
      * All the matched issues.
      * 
* * repeated .google.cloud.contactcenterinsights.v1.IssueAssignment issues = 2; */ - public java.util.List - getIssuesList() { + public java.util.List getIssuesList() { if (issuesBuilder_ == null) { return java.util.Collections.unmodifiableList(issues_); } else { @@ -757,8 +683,6 @@ private void ensureIssuesIsMutable() { } } /** - * - * *
      * All the matched issues.
      * 
@@ -773,8 +697,6 @@ public int getIssuesCount() { } } /** - * - * *
      * All the matched issues.
      * 
@@ -789,8 +711,6 @@ public com.google.cloud.contactcenterinsights.v1.IssueAssignment getIssues(int i } } /** - * - * *
      * All the matched issues.
      * 
@@ -812,8 +732,6 @@ public Builder setIssues( return this; } /** - * - * *
      * All the matched issues.
      * 
@@ -821,8 +739,7 @@ public Builder setIssues( * repeated .google.cloud.contactcenterinsights.v1.IssueAssignment issues = 2; */ public Builder setIssues( - int index, - com.google.cloud.contactcenterinsights.v1.IssueAssignment.Builder builderForValue) { + int index, com.google.cloud.contactcenterinsights.v1.IssueAssignment.Builder builderForValue) { if (issuesBuilder_ == null) { ensureIssuesIsMutable(); issues_.set(index, builderForValue.build()); @@ -833,8 +750,6 @@ public Builder setIssues( return this; } /** - * - * *
      * All the matched issues.
      * 
@@ -855,8 +770,6 @@ public Builder addIssues(com.google.cloud.contactcenterinsights.v1.IssueAssignme return this; } /** - * - * *
      * All the matched issues.
      * 
@@ -878,8 +791,6 @@ public Builder addIssues( return this; } /** - * - * *
      * All the matched issues.
      * 
@@ -898,8 +809,6 @@ public Builder addIssues( return this; } /** - * - * *
      * All the matched issues.
      * 
@@ -907,8 +816,7 @@ public Builder addIssues( * repeated .google.cloud.contactcenterinsights.v1.IssueAssignment issues = 2; */ public Builder addIssues( - int index, - com.google.cloud.contactcenterinsights.v1.IssueAssignment.Builder builderForValue) { + int index, com.google.cloud.contactcenterinsights.v1.IssueAssignment.Builder builderForValue) { if (issuesBuilder_ == null) { ensureIssuesIsMutable(); issues_.add(index, builderForValue.build()); @@ -919,8 +827,6 @@ public Builder addIssues( return this; } /** - * - * *
      * All the matched issues.
      * 
@@ -928,11 +834,11 @@ public Builder addIssues( * repeated .google.cloud.contactcenterinsights.v1.IssueAssignment issues = 2; */ public Builder addAllIssues( - java.lang.Iterable - values) { + java.lang.Iterable values) { if (issuesBuilder_ == null) { ensureIssuesIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, issues_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, issues_); onChanged(); } else { issuesBuilder_.addAllMessages(values); @@ -940,8 +846,6 @@ public Builder addAllIssues( return this; } /** - * - * *
      * All the matched issues.
      * 
@@ -959,8 +863,6 @@ public Builder clearIssues() { return this; } /** - * - * *
      * All the matched issues.
      * 
@@ -978,8 +880,6 @@ public Builder removeIssues(int index) { return this; } /** - * - * *
      * All the matched issues.
      * 
@@ -991,8 +891,6 @@ public com.google.cloud.contactcenterinsights.v1.IssueAssignment.Builder getIssu return getIssuesFieldBuilder().getBuilder(index); } /** - * - * *
      * All the matched issues.
      * 
@@ -1002,23 +900,19 @@ public com.google.cloud.contactcenterinsights.v1.IssueAssignment.Builder getIssu public com.google.cloud.contactcenterinsights.v1.IssueAssignmentOrBuilder getIssuesOrBuilder( int index) { if (issuesBuilder_ == null) { - return issues_.get(index); - } else { + return issues_.get(index); } else { return issuesBuilder_.getMessageOrBuilder(index); } } /** - * - * *
      * All the matched issues.
      * 
* * repeated .google.cloud.contactcenterinsights.v1.IssueAssignment issues = 2; */ - public java.util.List< - ? extends com.google.cloud.contactcenterinsights.v1.IssueAssignmentOrBuilder> - getIssuesOrBuilderList() { + public java.util.List + getIssuesOrBuilderList() { if (issuesBuilder_ != null) { return issuesBuilder_.getMessageOrBuilderList(); } else { @@ -1026,8 +920,6 @@ public com.google.cloud.contactcenterinsights.v1.IssueAssignmentOrBuilder getIss } } /** - * - * *
      * All the matched issues.
      * 
@@ -1035,13 +927,10 @@ public com.google.cloud.contactcenterinsights.v1.IssueAssignmentOrBuilder getIss * repeated .google.cloud.contactcenterinsights.v1.IssueAssignment issues = 2; */ public com.google.cloud.contactcenterinsights.v1.IssueAssignment.Builder addIssuesBuilder() { - return getIssuesFieldBuilder() - .addBuilder( - com.google.cloud.contactcenterinsights.v1.IssueAssignment.getDefaultInstance()); + return getIssuesFieldBuilder().addBuilder( + com.google.cloud.contactcenterinsights.v1.IssueAssignment.getDefaultInstance()); } /** - * - * *
      * All the matched issues.
      * 
@@ -1050,44 +939,37 @@ public com.google.cloud.contactcenterinsights.v1.IssueAssignment.Builder addIssu */ public com.google.cloud.contactcenterinsights.v1.IssueAssignment.Builder addIssuesBuilder( int index) { - return getIssuesFieldBuilder() - .addBuilder( - index, - com.google.cloud.contactcenterinsights.v1.IssueAssignment.getDefaultInstance()); + return getIssuesFieldBuilder().addBuilder( + index, com.google.cloud.contactcenterinsights.v1.IssueAssignment.getDefaultInstance()); } /** - * - * *
      * All the matched issues.
      * 
* * repeated .google.cloud.contactcenterinsights.v1.IssueAssignment issues = 2; */ - public java.util.List - getIssuesBuilderList() { + public java.util.List + getIssuesBuilderList() { return getIssuesFieldBuilder().getBuilderList(); } - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.contactcenterinsights.v1.IssueAssignment, - com.google.cloud.contactcenterinsights.v1.IssueAssignment.Builder, - com.google.cloud.contactcenterinsights.v1.IssueAssignmentOrBuilder> + com.google.cloud.contactcenterinsights.v1.IssueAssignment, com.google.cloud.contactcenterinsights.v1.IssueAssignment.Builder, com.google.cloud.contactcenterinsights.v1.IssueAssignmentOrBuilder> getIssuesFieldBuilder() { if (issuesBuilder_ == null) { - issuesBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.contactcenterinsights.v1.IssueAssignment, - com.google.cloud.contactcenterinsights.v1.IssueAssignment.Builder, - com.google.cloud.contactcenterinsights.v1.IssueAssignmentOrBuilder>( - issues_, ((bitField0_ & 0x00000002) != 0), getParentForChildren(), isClean()); + issuesBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.contactcenterinsights.v1.IssueAssignment, com.google.cloud.contactcenterinsights.v1.IssueAssignment.Builder, com.google.cloud.contactcenterinsights.v1.IssueAssignmentOrBuilder>( + issues_, + ((bitField0_ & 0x00000002) != 0), + getParentForChildren(), + isClean()); issues_ = null; } return issuesBuilder_; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1097,12 +979,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.contactcenterinsights.v1.IssueModelResult) } // @@protoc_insertion_point(class_scope:google.cloud.contactcenterinsights.v1.IssueModelResult) private static final com.google.cloud.contactcenterinsights.v1.IssueModelResult DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.contactcenterinsights.v1.IssueModelResult(); } @@ -1111,27 +993,27 @@ public static com.google.cloud.contactcenterinsights.v1.IssueModelResult getDefa return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public IssueModelResult parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public IssueModelResult parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1146,4 +1028,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.contactcenterinsights.v1.IssueModelResult getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/IssueModelResultOrBuilder.java b/owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/IssueModelResultOrBuilder.java similarity index 70% rename from java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/IssueModelResultOrBuilder.java rename to owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/IssueModelResultOrBuilder.java index ae71726a86e9..42f59e84f9ea 100644 --- a/java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/IssueModelResultOrBuilder.java +++ b/owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/IssueModelResultOrBuilder.java @@ -1,68 +1,44 @@ -/* - * 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. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/contactcenterinsights/v1/resources.proto package com.google.cloud.contactcenterinsights.v1; -public interface IssueModelResultOrBuilder - extends +public interface IssueModelResultOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.contactcenterinsights.v1.IssueModelResult) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Issue model that generates the result.
    * Format: projects/{project}/locations/{location}/issueModels/{issue_model}
    * 
* * string issue_model = 1 [(.google.api.resource_reference) = { ... } - * * @return The issueModel. */ java.lang.String getIssueModel(); /** - * - * *
    * Issue model that generates the result.
    * Format: projects/{project}/locations/{location}/issueModels/{issue_model}
    * 
* * string issue_model = 1 [(.google.api.resource_reference) = { ... } - * * @return The bytes for issueModel. */ - com.google.protobuf.ByteString getIssueModelBytes(); + com.google.protobuf.ByteString + getIssueModelBytes(); /** - * - * *
    * All the matched issues.
    * 
* * repeated .google.cloud.contactcenterinsights.v1.IssueAssignment issues = 2; */ - java.util.List getIssuesList(); + java.util.List + getIssuesList(); /** - * - * *
    * All the matched issues.
    * 
@@ -71,8 +47,6 @@ public interface IssueModelResultOrBuilder */ com.google.cloud.contactcenterinsights.v1.IssueAssignment getIssues(int index); /** - * - * *
    * All the matched issues.
    * 
@@ -81,24 +55,21 @@ public interface IssueModelResultOrBuilder */ int getIssuesCount(); /** - * - * *
    * All the matched issues.
    * 
* * repeated .google.cloud.contactcenterinsights.v1.IssueAssignment issues = 2; */ - java.util.List + java.util.List getIssuesOrBuilderList(); /** - * - * *
    * All the matched issues.
    * 
* * repeated .google.cloud.contactcenterinsights.v1.IssueAssignment issues = 2; */ - com.google.cloud.contactcenterinsights.v1.IssueAssignmentOrBuilder getIssuesOrBuilder(int index); + com.google.cloud.contactcenterinsights.v1.IssueAssignmentOrBuilder getIssuesOrBuilder( + int index); } diff --git a/java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/IssueName.java b/owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/IssueName.java similarity index 100% rename from java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/IssueName.java rename to owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/IssueName.java diff --git a/java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/IssueOrBuilder.java b/owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/IssueOrBuilder.java similarity index 69% rename from java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/IssueOrBuilder.java rename to owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/IssueOrBuilder.java index b447a380ae42..50c05816c3aa 100644 --- a/java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/IssueOrBuilder.java +++ b/owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/IssueOrBuilder.java @@ -1,31 +1,13 @@ -/* - * 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. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/contactcenterinsights/v1/resources.proto package com.google.cloud.contactcenterinsights.v1; -public interface IssueOrBuilder - extends +public interface IssueOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.contactcenterinsights.v1.Issue) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Immutable. The resource name of the issue.
    * Format:
@@ -33,13 +15,10 @@ public interface IssueOrBuilder
    * 
* * string name = 1 [(.google.api.field_behavior) = IMMUTABLE]; - * * @return The name. */ java.lang.String getName(); /** - * - * *
    * Immutable. The resource name of the issue.
    * Format:
@@ -47,168 +26,127 @@ public interface IssueOrBuilder
    * 
* * string name = 1 [(.google.api.field_behavior) = IMMUTABLE]; - * * @return The bytes for name. */ - com.google.protobuf.ByteString getNameBytes(); + com.google.protobuf.ByteString + getNameBytes(); /** - * - * *
    * The representative name for the issue.
    * 
* * string display_name = 2; - * * @return The displayName. */ java.lang.String getDisplayName(); /** - * - * *
    * The representative name for the issue.
    * 
* * string display_name = 2; - * * @return The bytes for displayName. */ - com.google.protobuf.ByteString getDisplayNameBytes(); + com.google.protobuf.ByteString + getDisplayNameBytes(); /** - * - * *
    * Output only. The time at which this issue was created.
    * 
* - * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the createTime field is set. */ boolean hasCreateTime(); /** - * - * *
    * Output only. The time at which this issue was created.
    * 
* - * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The createTime. */ com.google.protobuf.Timestamp getCreateTime(); /** - * - * *
    * Output only. The time at which this issue was created.
    * 
* - * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder(); /** - * - * *
    * Output only. The most recent time that this issue was updated.
    * 
* - * .google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the updateTime field is set. */ boolean hasUpdateTime(); /** - * - * *
    * Output only. The most recent time that this issue was updated.
    * 
* - * .google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The updateTime. */ com.google.protobuf.Timestamp getUpdateTime(); /** - * - * *
    * Output only. The most recent time that this issue was updated.
    * 
* - * .google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder(); /** - * - * *
-   * Output only. Resource names of the sample representative utterances that match to this
-   * issue.
+   * Output only. Resource names of the sample representative utterances that
+   * match to this issue.
    * 
* - * repeated string sample_utterances = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * repeated string sample_utterances = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return A list containing the sampleUtterances. */ - java.util.List getSampleUtterancesList(); + java.util.List + getSampleUtterancesList(); /** - * - * *
-   * Output only. Resource names of the sample representative utterances that match to this
-   * issue.
+   * Output only. Resource names of the sample representative utterances that
+   * match to this issue.
    * 
* - * repeated string sample_utterances = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * repeated string sample_utterances = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The count of sampleUtterances. */ int getSampleUtterancesCount(); /** - * - * *
-   * Output only. Resource names of the sample representative utterances that match to this
-   * issue.
+   * Output only. Resource names of the sample representative utterances that
+   * match to this issue.
    * 
* - * repeated string sample_utterances = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * repeated string sample_utterances = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @param index The index of the element to return. * @return The sampleUtterances at the given index. */ java.lang.String getSampleUtterances(int index); /** - * - * *
-   * Output only. Resource names of the sample representative utterances that match to this
-   * issue.
+   * Output only. Resource names of the sample representative utterances that
+   * match to this issue.
    * 
* - * repeated string sample_utterances = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * repeated string sample_utterances = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @param index The index of the value to return. * @return The bytes of the sampleUtterances at the given index. */ - com.google.protobuf.ByteString getSampleUtterancesBytes(int index); + com.google.protobuf.ByteString + getSampleUtterancesBytes(int index); } diff --git a/java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ListAnalysesRequest.java b/owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ListAnalysesRequest.java similarity index 68% rename from java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ListAnalysesRequest.java rename to owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ListAnalysesRequest.java index 17ad5d810804..3c2c29c6cb9b 100644 --- a/java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ListAnalysesRequest.java +++ b/owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ListAnalysesRequest.java @@ -1,42 +1,24 @@ -/* - * 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. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/contactcenterinsights/v1/contact_center_insights.proto package com.google.cloud.contactcenterinsights.v1; /** - * - * *
  * The request to list analyses.
  * 
* * Protobuf type {@code google.cloud.contactcenterinsights.v1.ListAnalysesRequest} */ -public final class ListAnalysesRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class ListAnalysesRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.contactcenterinsights.v1.ListAnalysesRequest) ListAnalysesRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use ListAnalysesRequest.newBuilder() to construct. private ListAnalysesRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private ListAnalysesRequest() { parent_ = ""; pageToken_ = ""; @@ -45,45 +27,38 @@ private ListAnalysesRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new ListAnalysesRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto - .internal_static_google_cloud_contactcenterinsights_v1_ListAnalysesRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto.internal_static_google_cloud_contactcenterinsights_v1_ListAnalysesRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto - .internal_static_google_cloud_contactcenterinsights_v1_ListAnalysesRequest_fieldAccessorTable + return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto.internal_static_google_cloud_contactcenterinsights_v1_ListAnalysesRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.contactcenterinsights.v1.ListAnalysesRequest.class, - com.google.cloud.contactcenterinsights.v1.ListAnalysesRequest.Builder.class); + com.google.cloud.contactcenterinsights.v1.ListAnalysesRequest.class, com.google.cloud.contactcenterinsights.v1.ListAnalysesRequest.Builder.class); } public static final int PARENT_FIELD_NUMBER = 1; - @SuppressWarnings("serial") private volatile java.lang.Object parent_ = ""; /** - * - * *
    * Required. The parent resource of the analyses.
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The parent. */ @java.lang.Override @@ -92,31 +67,29 @@ public java.lang.String getParent() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; } } /** - * - * *
    * Required. The parent resource of the analyses.
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for parent. */ @java.lang.Override - public com.google.protobuf.ByteString getParentBytes() { + public com.google.protobuf.ByteString + getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); parent_ = b; return b; } else { @@ -127,8 +100,6 @@ public com.google.protobuf.ByteString getParentBytes() { public static final int PAGE_SIZE_FIELD_NUMBER = 2; private int pageSize_ = 0; /** - * - * *
    * The maximum number of analyses to return in the response. If this
    * value is zero, the service will select a default size. A call might return
@@ -137,7 +108,6 @@ public com.google.protobuf.ByteString getParentBytes() {
    * 
* * int32 page_size = 2; - * * @return The pageSize. */ @java.lang.Override @@ -146,12 +116,9 @@ public int getPageSize() { } public static final int PAGE_TOKEN_FIELD_NUMBER = 3; - @SuppressWarnings("serial") private volatile java.lang.Object pageToken_ = ""; /** - * - * *
    * The value returned by the last `ListAnalysesResponse`; indicates
    * that this is a continuation of a prior `ListAnalyses` call and
@@ -159,7 +126,6 @@ public int getPageSize() {
    * 
* * string page_token = 3; - * * @return The pageToken. */ @java.lang.Override @@ -168,15 +134,14 @@ public java.lang.String getPageToken() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); pageToken_ = s; return s; } } /** - * - * *
    * The value returned by the last `ListAnalysesResponse`; indicates
    * that this is a continuation of a prior `ListAnalyses` call and
@@ -184,15 +149,16 @@ public java.lang.String getPageToken() {
    * 
* * string page_token = 3; - * * @return The bytes for pageToken. */ @java.lang.Override - public com.google.protobuf.ByteString getPageTokenBytes() { + public com.google.protobuf.ByteString + getPageTokenBytes() { java.lang.Object ref = pageToken_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); pageToken_ = b; return b; } else { @@ -201,19 +167,15 @@ public com.google.protobuf.ByteString getPageTokenBytes() { } public static final int FILTER_FIELD_NUMBER = 4; - @SuppressWarnings("serial") private volatile java.lang.Object filter_ = ""; /** - * - * *
    * A filter to reduce results to a specific subset. Useful for querying
    * conversations with specific properties.
    * 
* * string filter = 4; - * * @return The filter. */ @java.lang.Override @@ -222,30 +184,30 @@ public java.lang.String getFilter() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); filter_ = s; return s; } } /** - * - * *
    * A filter to reduce results to a specific subset. Useful for querying
    * conversations with specific properties.
    * 
* * string filter = 4; - * * @return The bytes for filter. */ @java.lang.Override - public com.google.protobuf.ByteString getFilterBytes() { + public com.google.protobuf.ByteString + getFilterBytes() { java.lang.Object ref = filter_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); filter_ = b; return b; } else { @@ -254,7 +216,6 @@ public com.google.protobuf.ByteString getFilterBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -266,7 +227,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); } @@ -292,7 +254,8 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, parent_); } if (pageSize_ != 0) { - size += com.google.protobuf.CodedOutputStream.computeInt32Size(2, pageSize_); + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(2, pageSize_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(pageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, pageToken_); @@ -308,18 +271,21 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.contactcenterinsights.v1.ListAnalysesRequest)) { return super.equals(obj); } - com.google.cloud.contactcenterinsights.v1.ListAnalysesRequest other = - (com.google.cloud.contactcenterinsights.v1.ListAnalysesRequest) obj; + com.google.cloud.contactcenterinsights.v1.ListAnalysesRequest other = (com.google.cloud.contactcenterinsights.v1.ListAnalysesRequest) obj; - if (!getParent().equals(other.getParent())) return false; - if (getPageSize() != other.getPageSize()) return false; - if (!getPageToken().equals(other.getPageToken())) return false; - if (!getFilter().equals(other.getFilter())) return false; + if (!getParent() + .equals(other.getParent())) return false; + if (getPageSize() + != other.getPageSize()) return false; + if (!getPageToken() + .equals(other.getPageToken())) return false; + if (!getFilter() + .equals(other.getFilter())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -345,136 +311,129 @@ public int hashCode() { } public static com.google.cloud.contactcenterinsights.v1.ListAnalysesRequest parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.contactcenterinsights.v1.ListAnalysesRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.contactcenterinsights.v1.ListAnalysesRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.contactcenterinsights.v1.ListAnalysesRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.contactcenterinsights.v1.ListAnalysesRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.contactcenterinsights.v1.ListAnalysesRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.contactcenterinsights.v1.ListAnalysesRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.contactcenterinsights.v1.ListAnalysesRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.contactcenterinsights.v1.ListAnalysesRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.contactcenterinsights.v1.ListAnalysesRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.contactcenterinsights.v1.ListAnalysesRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.contactcenterinsights.v1.ListAnalysesRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.contactcenterinsights.v1.ListAnalysesRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.contactcenterinsights.v1.ListAnalysesRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.contactcenterinsights.v1.ListAnalysesRequest prototype) { + public static Builder newBuilder(com.google.cloud.contactcenterinsights.v1.ListAnalysesRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * The request to list analyses.
    * 
* * Protobuf type {@code google.cloud.contactcenterinsights.v1.ListAnalysesRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.contactcenterinsights.v1.ListAnalysesRequest) com.google.cloud.contactcenterinsights.v1.ListAnalysesRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto - .internal_static_google_cloud_contactcenterinsights_v1_ListAnalysesRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto.internal_static_google_cloud_contactcenterinsights_v1_ListAnalysesRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto - .internal_static_google_cloud_contactcenterinsights_v1_ListAnalysesRequest_fieldAccessorTable + return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto.internal_static_google_cloud_contactcenterinsights_v1_ListAnalysesRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.contactcenterinsights.v1.ListAnalysesRequest.class, - com.google.cloud.contactcenterinsights.v1.ListAnalysesRequest.Builder.class); + com.google.cloud.contactcenterinsights.v1.ListAnalysesRequest.class, com.google.cloud.contactcenterinsights.v1.ListAnalysesRequest.Builder.class); } // Construct using com.google.cloud.contactcenterinsights.v1.ListAnalysesRequest.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -487,14 +446,13 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto - .internal_static_google_cloud_contactcenterinsights_v1_ListAnalysesRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto.internal_static_google_cloud_contactcenterinsights_v1_ListAnalysesRequest_descriptor; } @java.lang.Override - public com.google.cloud.contactcenterinsights.v1.ListAnalysesRequest - getDefaultInstanceForType() { + public com.google.cloud.contactcenterinsights.v1.ListAnalysesRequest getDefaultInstanceForType() { return com.google.cloud.contactcenterinsights.v1.ListAnalysesRequest.getDefaultInstance(); } @@ -509,17 +467,13 @@ public com.google.cloud.contactcenterinsights.v1.ListAnalysesRequest build() { @java.lang.Override public com.google.cloud.contactcenterinsights.v1.ListAnalysesRequest buildPartial() { - com.google.cloud.contactcenterinsights.v1.ListAnalysesRequest result = - new com.google.cloud.contactcenterinsights.v1.ListAnalysesRequest(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + com.google.cloud.contactcenterinsights.v1.ListAnalysesRequest result = new com.google.cloud.contactcenterinsights.v1.ListAnalysesRequest(this); + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } - private void buildPartial0( - com.google.cloud.contactcenterinsights.v1.ListAnalysesRequest result) { + private void buildPartial0(com.google.cloud.contactcenterinsights.v1.ListAnalysesRequest result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { result.parent_ = parent_; @@ -539,39 +493,38 @@ private void buildPartial0( public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.contactcenterinsights.v1.ListAnalysesRequest) { - return mergeFrom((com.google.cloud.contactcenterinsights.v1.ListAnalysesRequest) other); + return mergeFrom((com.google.cloud.contactcenterinsights.v1.ListAnalysesRequest)other); } else { super.mergeFrom(other); return this; @@ -579,9 +532,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.contactcenterinsights.v1.ListAnalysesRequest other) { - if (other - == com.google.cloud.contactcenterinsights.v1.ListAnalysesRequest.getDefaultInstance()) - return this; + if (other == com.google.cloud.contactcenterinsights.v1.ListAnalysesRequest.getDefaultInstance()) return this; if (!other.getParent().isEmpty()) { parent_ = other.parent_; bitField0_ |= 0x00000001; @@ -626,37 +577,32 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - parent_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 16: - { - pageSize_ = input.readInt32(); - bitField0_ |= 0x00000002; - break; - } // case 16 - case 26: - { - pageToken_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000004; - break; - } // case 26 - case 34: - { - filter_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000008; - break; - } // case 34 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + parent_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 16: { + pageSize_ = input.readInt32(); + bitField0_ |= 0x00000002; + break; + } // case 16 + case 26: { + pageToken_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000004; + break; + } // case 26 + case 34: { + filter_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000008; + break; + } // case 34 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -666,27 +612,22 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private java.lang.Object parent_ = ""; /** - * - * *
      * Required. The parent resource of the analyses.
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The parent. */ public java.lang.String getParent() { java.lang.Object ref = parent_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; @@ -695,23 +636,20 @@ public java.lang.String getParent() { } } /** - * - * *
      * Required. The parent resource of the analyses.
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for parent. */ - public com.google.protobuf.ByteString getParentBytes() { + public com.google.protobuf.ByteString + getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); parent_ = b; return b; } else { @@ -719,39 +657,28 @@ public com.google.protobuf.ByteString getParentBytes() { } } /** - * - * *
      * Required. The parent resource of the analyses.
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The parent to set. * @return This builder for chaining. */ - public Builder setParent(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setParent( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } parent_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
      * Required. The parent resource of the analyses.
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearParent() { @@ -761,23 +688,17 @@ public Builder clearParent() { return this; } /** - * - * *
      * Required. The parent resource of the analyses.
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setParentBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); parent_ = value; bitField0_ |= 0x00000001; @@ -785,10 +706,8 @@ public Builder setParentBytes(com.google.protobuf.ByteString value) { return this; } - private int pageSize_; + private int pageSize_ ; /** - * - * *
      * The maximum number of analyses to return in the response. If this
      * value is zero, the service will select a default size. A call might return
@@ -797,7 +716,6 @@ public Builder setParentBytes(com.google.protobuf.ByteString value) {
      * 
* * int32 page_size = 2; - * * @return The pageSize. */ @java.lang.Override @@ -805,8 +723,6 @@ public int getPageSize() { return pageSize_; } /** - * - * *
      * The maximum number of analyses to return in the response. If this
      * value is zero, the service will select a default size. A call might return
@@ -815,20 +731,17 @@ public int getPageSize() {
      * 
* * int32 page_size = 2; - * * @param value The pageSize to set. * @return This builder for chaining. */ public Builder setPageSize(int value) { - + pageSize_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** - * - * *
      * The maximum number of analyses to return in the response. If this
      * value is zero, the service will select a default size. A call might return
@@ -837,7 +750,6 @@ public Builder setPageSize(int value) {
      * 
* * int32 page_size = 2; - * * @return This builder for chaining. */ public Builder clearPageSize() { @@ -849,8 +761,6 @@ public Builder clearPageSize() { private java.lang.Object pageToken_ = ""; /** - * - * *
      * The value returned by the last `ListAnalysesResponse`; indicates
      * that this is a continuation of a prior `ListAnalyses` call and
@@ -858,13 +768,13 @@ public Builder clearPageSize() {
      * 
* * string page_token = 3; - * * @return The pageToken. */ public java.lang.String getPageToken() { java.lang.Object ref = pageToken_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); pageToken_ = s; return s; @@ -873,8 +783,6 @@ public java.lang.String getPageToken() { } } /** - * - * *
      * The value returned by the last `ListAnalysesResponse`; indicates
      * that this is a continuation of a prior `ListAnalyses` call and
@@ -882,14 +790,15 @@ public java.lang.String getPageToken() {
      * 
* * string page_token = 3; - * * @return The bytes for pageToken. */ - public com.google.protobuf.ByteString getPageTokenBytes() { + public com.google.protobuf.ByteString + getPageTokenBytes() { java.lang.Object ref = pageToken_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); pageToken_ = b; return b; } else { @@ -897,8 +806,6 @@ public com.google.protobuf.ByteString getPageTokenBytes() { } } /** - * - * *
      * The value returned by the last `ListAnalysesResponse`; indicates
      * that this is a continuation of a prior `ListAnalyses` call and
@@ -906,22 +813,18 @@ public com.google.protobuf.ByteString getPageTokenBytes() {
      * 
* * string page_token = 3; - * * @param value The pageToken to set. * @return This builder for chaining. */ - public Builder setPageToken(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setPageToken( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } pageToken_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } /** - * - * *
      * The value returned by the last `ListAnalysesResponse`; indicates
      * that this is a continuation of a prior `ListAnalyses` call and
@@ -929,7 +832,6 @@ public Builder setPageToken(java.lang.String value) {
      * 
* * string page_token = 3; - * * @return This builder for chaining. */ public Builder clearPageToken() { @@ -939,8 +841,6 @@ public Builder clearPageToken() { return this; } /** - * - * *
      * The value returned by the last `ListAnalysesResponse`; indicates
      * that this is a continuation of a prior `ListAnalyses` call and
@@ -948,14 +848,12 @@ public Builder clearPageToken() {
      * 
* * string page_token = 3; - * * @param value The bytes for pageToken to set. * @return This builder for chaining. */ - public Builder setPageTokenBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setPageTokenBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); pageToken_ = value; bitField0_ |= 0x00000004; @@ -965,21 +863,19 @@ public Builder setPageTokenBytes(com.google.protobuf.ByteString value) { private java.lang.Object filter_ = ""; /** - * - * *
      * A filter to reduce results to a specific subset. Useful for querying
      * conversations with specific properties.
      * 
* * string filter = 4; - * * @return The filter. */ public java.lang.String getFilter() { java.lang.Object ref = filter_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); filter_ = s; return s; @@ -988,22 +884,21 @@ public java.lang.String getFilter() { } } /** - * - * *
      * A filter to reduce results to a specific subset. Useful for querying
      * conversations with specific properties.
      * 
* * string filter = 4; - * * @return The bytes for filter. */ - public com.google.protobuf.ByteString getFilterBytes() { + public com.google.protobuf.ByteString + getFilterBytes() { java.lang.Object ref = filter_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); filter_ = b; return b; } else { @@ -1011,37 +906,30 @@ public com.google.protobuf.ByteString getFilterBytes() { } } /** - * - * *
      * A filter to reduce results to a specific subset. Useful for querying
      * conversations with specific properties.
      * 
* * string filter = 4; - * * @param value The filter to set. * @return This builder for chaining. */ - public Builder setFilter(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setFilter( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } filter_ = value; bitField0_ |= 0x00000008; onChanged(); return this; } /** - * - * *
      * A filter to reduce results to a specific subset. Useful for querying
      * conversations with specific properties.
      * 
* * string filter = 4; - * * @return This builder for chaining. */ public Builder clearFilter() { @@ -1051,31 +939,27 @@ public Builder clearFilter() { return this; } /** - * - * *
      * A filter to reduce results to a specific subset. Useful for querying
      * conversations with specific properties.
      * 
* * string filter = 4; - * * @param value The bytes for filter to set. * @return This builder for chaining. */ - public Builder setFilterBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setFilterBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); filter_ = value; bitField0_ |= 0x00000008; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1085,13 +969,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.contactcenterinsights.v1.ListAnalysesRequest) } // @@protoc_insertion_point(class_scope:google.cloud.contactcenterinsights.v1.ListAnalysesRequest) - private static final com.google.cloud.contactcenterinsights.v1.ListAnalysesRequest - DEFAULT_INSTANCE; - + private static final com.google.cloud.contactcenterinsights.v1.ListAnalysesRequest DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.cloud.contactcenterinsights.v1.ListAnalysesRequest(); } @@ -1100,27 +983,27 @@ public static com.google.cloud.contactcenterinsights.v1.ListAnalysesRequest getD return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListAnalysesRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListAnalysesRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1135,4 +1018,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.contactcenterinsights.v1.ListAnalysesRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ListAnalysesRequestOrBuilder.java b/owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ListAnalysesRequestOrBuilder.java similarity index 64% rename from java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ListAnalysesRequestOrBuilder.java rename to owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ListAnalysesRequestOrBuilder.java index 09eec90176c9..6b6a70564f16 100644 --- a/java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ListAnalysesRequestOrBuilder.java +++ b/owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ListAnalysesRequestOrBuilder.java @@ -1,60 +1,33 @@ -/* - * 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. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/contactcenterinsights/v1/contact_center_insights.proto package com.google.cloud.contactcenterinsights.v1; -public interface ListAnalysesRequestOrBuilder - extends +public interface ListAnalysesRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.contactcenterinsights.v1.ListAnalysesRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Required. The parent resource of the analyses.
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The parent. */ java.lang.String getParent(); /** - * - * *
    * Required. The parent resource of the analyses.
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for parent. */ - com.google.protobuf.ByteString getParentBytes(); + com.google.protobuf.ByteString + getParentBytes(); /** - * - * *
    * The maximum number of analyses to return in the response. If this
    * value is zero, the service will select a default size. A call might return
@@ -63,14 +36,11 @@ public interface ListAnalysesRequestOrBuilder
    * 
* * int32 page_size = 2; - * * @return The pageSize. */ int getPageSize(); /** - * - * *
    * The value returned by the last `ListAnalysesResponse`; indicates
    * that this is a continuation of a prior `ListAnalyses` call and
@@ -78,13 +48,10 @@ public interface ListAnalysesRequestOrBuilder
    * 
* * string page_token = 3; - * * @return The pageToken. */ java.lang.String getPageToken(); /** - * - * *
    * The value returned by the last `ListAnalysesResponse`; indicates
    * that this is a continuation of a prior `ListAnalyses` call and
@@ -92,35 +59,30 @@ public interface ListAnalysesRequestOrBuilder
    * 
* * string page_token = 3; - * * @return The bytes for pageToken. */ - com.google.protobuf.ByteString getPageTokenBytes(); + com.google.protobuf.ByteString + getPageTokenBytes(); /** - * - * *
    * A filter to reduce results to a specific subset. Useful for querying
    * conversations with specific properties.
    * 
* * string filter = 4; - * * @return The filter. */ java.lang.String getFilter(); /** - * - * *
    * A filter to reduce results to a specific subset. Useful for querying
    * conversations with specific properties.
    * 
* * string filter = 4; - * * @return The bytes for filter. */ - com.google.protobuf.ByteString getFilterBytes(); + com.google.protobuf.ByteString + getFilterBytes(); } diff --git a/java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ListAnalysesResponse.java b/owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ListAnalysesResponse.java similarity index 71% rename from java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ListAnalysesResponse.java rename to owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ListAnalysesResponse.java index bdaf698b8ca4..5de3abd10dd1 100644 --- a/java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ListAnalysesResponse.java +++ b/owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ListAnalysesResponse.java @@ -1,42 +1,24 @@ -/* - * 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. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/contactcenterinsights/v1/contact_center_insights.proto package com.google.cloud.contactcenterinsights.v1; /** - * - * *
  * The response to list analyses.
  * 
* * Protobuf type {@code google.cloud.contactcenterinsights.v1.ListAnalysesResponse} */ -public final class ListAnalysesResponse extends com.google.protobuf.GeneratedMessageV3 - implements +public final class ListAnalysesResponse extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.contactcenterinsights.v1.ListAnalysesResponse) ListAnalysesResponseOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use ListAnalysesResponse.newBuilder() to construct. private ListAnalysesResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private ListAnalysesResponse() { analyses_ = java.util.Collections.emptyList(); nextPageToken_ = ""; @@ -44,37 +26,33 @@ private ListAnalysesResponse() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new ListAnalysesResponse(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto - .internal_static_google_cloud_contactcenterinsights_v1_ListAnalysesResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto.internal_static_google_cloud_contactcenterinsights_v1_ListAnalysesResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto - .internal_static_google_cloud_contactcenterinsights_v1_ListAnalysesResponse_fieldAccessorTable + return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto.internal_static_google_cloud_contactcenterinsights_v1_ListAnalysesResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.contactcenterinsights.v1.ListAnalysesResponse.class, - com.google.cloud.contactcenterinsights.v1.ListAnalysesResponse.Builder.class); + com.google.cloud.contactcenterinsights.v1.ListAnalysesResponse.class, com.google.cloud.contactcenterinsights.v1.ListAnalysesResponse.Builder.class); } public static final int ANALYSES_FIELD_NUMBER = 1; - @SuppressWarnings("serial") private java.util.List analyses_; /** - * - * *
    * The analyses that match the request.
    * 
@@ -86,8 +64,6 @@ public java.util.List getAna return analyses_; } /** - * - * *
    * The analyses that match the request.
    * 
@@ -95,13 +71,11 @@ public java.util.List getAna * repeated .google.cloud.contactcenterinsights.v1.Analysis analyses = 1; */ @java.lang.Override - public java.util.List + public java.util.List getAnalysesOrBuilderList() { return analyses_; } /** - * - * *
    * The analyses that match the request.
    * 
@@ -113,8 +87,6 @@ public int getAnalysesCount() { return analyses_.size(); } /** - * - * *
    * The analyses that match the request.
    * 
@@ -126,8 +98,6 @@ public com.google.cloud.contactcenterinsights.v1.Analysis getAnalyses(int index) return analyses_.get(index); } /** - * - * *
    * The analyses that match the request.
    * 
@@ -141,19 +111,15 @@ public com.google.cloud.contactcenterinsights.v1.AnalysisOrBuilder getAnalysesOr } public static final int NEXT_PAGE_TOKEN_FIELD_NUMBER = 2; - @SuppressWarnings("serial") private volatile java.lang.Object nextPageToken_ = ""; /** - * - * *
    * A token, which can be sent as `page_token` to retrieve the next page.
    * If this field is omitted, there are no subsequent pages.
    * 
* * string next_page_token = 2; - * * @return The nextPageToken. */ @java.lang.Override @@ -162,30 +128,30 @@ public java.lang.String getNextPageToken() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); nextPageToken_ = s; return s; } } /** - * - * *
    * A token, which can be sent as `page_token` to retrieve the next page.
    * If this field is omitted, there are no subsequent pages.
    * 
* * string next_page_token = 2; - * * @return The bytes for nextPageToken. */ @java.lang.Override - public com.google.protobuf.ByteString getNextPageTokenBytes() { + public com.google.protobuf.ByteString + getNextPageTokenBytes() { java.lang.Object ref = nextPageToken_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); nextPageToken_ = b; return b; } else { @@ -194,7 +160,6 @@ public com.google.protobuf.ByteString getNextPageTokenBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -206,7 +171,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { for (int i = 0; i < analyses_.size(); i++) { output.writeMessage(1, analyses_.get(i)); } @@ -223,7 +189,8 @@ public int getSerializedSize() { size = 0; for (int i = 0; i < analyses_.size(); i++) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, analyses_.get(i)); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, analyses_.get(i)); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(nextPageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, nextPageToken_); @@ -236,16 +203,17 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.contactcenterinsights.v1.ListAnalysesResponse)) { return super.equals(obj); } - com.google.cloud.contactcenterinsights.v1.ListAnalysesResponse other = - (com.google.cloud.contactcenterinsights.v1.ListAnalysesResponse) obj; + com.google.cloud.contactcenterinsights.v1.ListAnalysesResponse other = (com.google.cloud.contactcenterinsights.v1.ListAnalysesResponse) obj; - if (!getAnalysesList().equals(other.getAnalysesList())) return false; - if (!getNextPageToken().equals(other.getNextPageToken())) return false; + if (!getAnalysesList() + .equals(other.getAnalysesList())) return false; + if (!getNextPageToken() + .equals(other.getNextPageToken())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -269,136 +237,129 @@ public int hashCode() { } public static com.google.cloud.contactcenterinsights.v1.ListAnalysesResponse parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.contactcenterinsights.v1.ListAnalysesResponse parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.contactcenterinsights.v1.ListAnalysesResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.contactcenterinsights.v1.ListAnalysesResponse parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.contactcenterinsights.v1.ListAnalysesResponse parseFrom( - byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.contactcenterinsights.v1.ListAnalysesResponse parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.contactcenterinsights.v1.ListAnalysesResponse parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.contactcenterinsights.v1.ListAnalysesResponse parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.contactcenterinsights.v1.ListAnalysesResponse parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.contactcenterinsights.v1.ListAnalysesResponse parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.contactcenterinsights.v1.ListAnalysesResponse parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.contactcenterinsights.v1.ListAnalysesResponse parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.contactcenterinsights.v1.ListAnalysesResponse parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.contactcenterinsights.v1.ListAnalysesResponse parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.contactcenterinsights.v1.ListAnalysesResponse parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.contactcenterinsights.v1.ListAnalysesResponse prototype) { + public static Builder newBuilder(com.google.cloud.contactcenterinsights.v1.ListAnalysesResponse prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * The response to list analyses.
    * 
* * Protobuf type {@code google.cloud.contactcenterinsights.v1.ListAnalysesResponse} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.contactcenterinsights.v1.ListAnalysesResponse) com.google.cloud.contactcenterinsights.v1.ListAnalysesResponseOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto - .internal_static_google_cloud_contactcenterinsights_v1_ListAnalysesResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto.internal_static_google_cloud_contactcenterinsights_v1_ListAnalysesResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto - .internal_static_google_cloud_contactcenterinsights_v1_ListAnalysesResponse_fieldAccessorTable + return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto.internal_static_google_cloud_contactcenterinsights_v1_ListAnalysesResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.contactcenterinsights.v1.ListAnalysesResponse.class, - com.google.cloud.contactcenterinsights.v1.ListAnalysesResponse.Builder.class); + com.google.cloud.contactcenterinsights.v1.ListAnalysesResponse.class, com.google.cloud.contactcenterinsights.v1.ListAnalysesResponse.Builder.class); } // Construct using com.google.cloud.contactcenterinsights.v1.ListAnalysesResponse.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -415,14 +376,13 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto - .internal_static_google_cloud_contactcenterinsights_v1_ListAnalysesResponse_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto.internal_static_google_cloud_contactcenterinsights_v1_ListAnalysesResponse_descriptor; } @java.lang.Override - public com.google.cloud.contactcenterinsights.v1.ListAnalysesResponse - getDefaultInstanceForType() { + public com.google.cloud.contactcenterinsights.v1.ListAnalysesResponse getDefaultInstanceForType() { return com.google.cloud.contactcenterinsights.v1.ListAnalysesResponse.getDefaultInstance(); } @@ -437,18 +397,14 @@ public com.google.cloud.contactcenterinsights.v1.ListAnalysesResponse build() { @java.lang.Override public com.google.cloud.contactcenterinsights.v1.ListAnalysesResponse buildPartial() { - com.google.cloud.contactcenterinsights.v1.ListAnalysesResponse result = - new com.google.cloud.contactcenterinsights.v1.ListAnalysesResponse(this); + com.google.cloud.contactcenterinsights.v1.ListAnalysesResponse result = new com.google.cloud.contactcenterinsights.v1.ListAnalysesResponse(this); buildPartialRepeatedFields(result); - if (bitField0_ != 0) { - buildPartial0(result); - } + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } - private void buildPartialRepeatedFields( - com.google.cloud.contactcenterinsights.v1.ListAnalysesResponse result) { + private void buildPartialRepeatedFields(com.google.cloud.contactcenterinsights.v1.ListAnalysesResponse result) { if (analysesBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { analyses_ = java.util.Collections.unmodifiableList(analyses_); @@ -460,8 +416,7 @@ private void buildPartialRepeatedFields( } } - private void buildPartial0( - com.google.cloud.contactcenterinsights.v1.ListAnalysesResponse result) { + private void buildPartial0(com.google.cloud.contactcenterinsights.v1.ListAnalysesResponse result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000002) != 0)) { result.nextPageToken_ = nextPageToken_; @@ -472,39 +427,38 @@ private void buildPartial0( public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.contactcenterinsights.v1.ListAnalysesResponse) { - return mergeFrom((com.google.cloud.contactcenterinsights.v1.ListAnalysesResponse) other); + return mergeFrom((com.google.cloud.contactcenterinsights.v1.ListAnalysesResponse)other); } else { super.mergeFrom(other); return this; @@ -512,9 +466,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.contactcenterinsights.v1.ListAnalysesResponse other) { - if (other - == com.google.cloud.contactcenterinsights.v1.ListAnalysesResponse.getDefaultInstance()) - return this; + if (other == com.google.cloud.contactcenterinsights.v1.ListAnalysesResponse.getDefaultInstance()) return this; if (analysesBuilder_ == null) { if (!other.analyses_.isEmpty()) { if (analyses_.isEmpty()) { @@ -533,10 +485,9 @@ public Builder mergeFrom(com.google.cloud.contactcenterinsights.v1.ListAnalysesR analysesBuilder_ = null; analyses_ = other.analyses_; bitField0_ = (bitField0_ & ~0x00000001); - analysesBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders - ? getAnalysesFieldBuilder() - : null; + analysesBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getAnalysesFieldBuilder() : null; } else { analysesBuilder_.addAllMessages(other.analyses_); } @@ -573,33 +524,30 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - com.google.cloud.contactcenterinsights.v1.Analysis m = - input.readMessage( - com.google.cloud.contactcenterinsights.v1.Analysis.parser(), - extensionRegistry); - if (analysesBuilder_ == null) { - ensureAnalysesIsMutable(); - analyses_.add(m); - } else { - analysesBuilder_.addMessage(m); - } - break; - } // case 10 - case 18: - { - nextPageToken_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000002; - break; - } // case 18 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + com.google.cloud.contactcenterinsights.v1.Analysis m = + input.readMessage( + com.google.cloud.contactcenterinsights.v1.Analysis.parser(), + extensionRegistry); + if (analysesBuilder_ == null) { + ensureAnalysesIsMutable(); + analyses_.add(m); + } else { + analysesBuilder_.addMessage(m); + } + break; + } // case 10 + case 18: { + nextPageToken_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + break; + } // case 18 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -609,29 +557,21 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private java.util.List analyses_ = - java.util.Collections.emptyList(); - + java.util.Collections.emptyList(); private void ensureAnalysesIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { - analyses_ = - new java.util.ArrayList(analyses_); + analyses_ = new java.util.ArrayList(analyses_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.contactcenterinsights.v1.Analysis, - com.google.cloud.contactcenterinsights.v1.Analysis.Builder, - com.google.cloud.contactcenterinsights.v1.AnalysisOrBuilder> - analysesBuilder_; + com.google.cloud.contactcenterinsights.v1.Analysis, com.google.cloud.contactcenterinsights.v1.Analysis.Builder, com.google.cloud.contactcenterinsights.v1.AnalysisOrBuilder> analysesBuilder_; /** - * - * *
      * The analyses that match the request.
      * 
@@ -646,8 +586,6 @@ public java.util.List getAna } } /** - * - * *
      * The analyses that match the request.
      * 
@@ -662,8 +600,6 @@ public int getAnalysesCount() { } } /** - * - * *
      * The analyses that match the request.
      * 
@@ -678,8 +614,6 @@ public com.google.cloud.contactcenterinsights.v1.Analysis getAnalyses(int index) } } /** - * - * *
      * The analyses that match the request.
      * 
@@ -701,8 +635,6 @@ public Builder setAnalyses( return this; } /** - * - * *
      * The analyses that match the request.
      * 
@@ -721,8 +653,6 @@ public Builder setAnalyses( return this; } /** - * - * *
      * The analyses that match the request.
      * 
@@ -743,8 +673,6 @@ public Builder addAnalyses(com.google.cloud.contactcenterinsights.v1.Analysis va return this; } /** - * - * *
      * The analyses that match the request.
      * 
@@ -766,8 +694,6 @@ public Builder addAnalyses( return this; } /** - * - * *
      * The analyses that match the request.
      * 
@@ -786,8 +712,6 @@ public Builder addAnalyses( return this; } /** - * - * *
      * The analyses that match the request.
      * 
@@ -806,8 +730,6 @@ public Builder addAnalyses( return this; } /** - * - * *
      * The analyses that match the request.
      * 
@@ -818,7 +740,8 @@ public Builder addAllAnalyses( java.lang.Iterable values) { if (analysesBuilder_ == null) { ensureAnalysesIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, analyses_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, analyses_); onChanged(); } else { analysesBuilder_.addAllMessages(values); @@ -826,8 +749,6 @@ public Builder addAllAnalyses( return this; } /** - * - * *
      * The analyses that match the request.
      * 
@@ -845,8 +766,6 @@ public Builder clearAnalyses() { return this; } /** - * - * *
      * The analyses that match the request.
      * 
@@ -864,8 +783,6 @@ public Builder removeAnalyses(int index) { return this; } /** - * - * *
      * The analyses that match the request.
      * 
@@ -877,8 +794,6 @@ public com.google.cloud.contactcenterinsights.v1.Analysis.Builder getAnalysesBui return getAnalysesFieldBuilder().getBuilder(index); } /** - * - * *
      * The analyses that match the request.
      * 
@@ -888,22 +803,19 @@ public com.google.cloud.contactcenterinsights.v1.Analysis.Builder getAnalysesBui public com.google.cloud.contactcenterinsights.v1.AnalysisOrBuilder getAnalysesOrBuilder( int index) { if (analysesBuilder_ == null) { - return analyses_.get(index); - } else { + return analyses_.get(index); } else { return analysesBuilder_.getMessageOrBuilder(index); } } /** - * - * *
      * The analyses that match the request.
      * 
* * repeated .google.cloud.contactcenterinsights.v1.Analysis analyses = 1; */ - public java.util.List - getAnalysesOrBuilderList() { + public java.util.List + getAnalysesOrBuilderList() { if (analysesBuilder_ != null) { return analysesBuilder_.getMessageOrBuilderList(); } else { @@ -911,8 +823,6 @@ public com.google.cloud.contactcenterinsights.v1.AnalysisOrBuilder getAnalysesOr } } /** - * - * *
      * The analyses that match the request.
      * 
@@ -920,12 +830,10 @@ public com.google.cloud.contactcenterinsights.v1.AnalysisOrBuilder getAnalysesOr * repeated .google.cloud.contactcenterinsights.v1.Analysis analyses = 1; */ public com.google.cloud.contactcenterinsights.v1.Analysis.Builder addAnalysesBuilder() { - return getAnalysesFieldBuilder() - .addBuilder(com.google.cloud.contactcenterinsights.v1.Analysis.getDefaultInstance()); + return getAnalysesFieldBuilder().addBuilder( + com.google.cloud.contactcenterinsights.v1.Analysis.getDefaultInstance()); } /** - * - * *
      * The analyses that match the request.
      * 
@@ -934,36 +842,30 @@ public com.google.cloud.contactcenterinsights.v1.Analysis.Builder addAnalysesBui */ public com.google.cloud.contactcenterinsights.v1.Analysis.Builder addAnalysesBuilder( int index) { - return getAnalysesFieldBuilder() - .addBuilder( - index, com.google.cloud.contactcenterinsights.v1.Analysis.getDefaultInstance()); + return getAnalysesFieldBuilder().addBuilder( + index, com.google.cloud.contactcenterinsights.v1.Analysis.getDefaultInstance()); } /** - * - * *
      * The analyses that match the request.
      * 
* * repeated .google.cloud.contactcenterinsights.v1.Analysis analyses = 1; */ - public java.util.List - getAnalysesBuilderList() { + public java.util.List + getAnalysesBuilderList() { return getAnalysesFieldBuilder().getBuilderList(); } - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.contactcenterinsights.v1.Analysis, - com.google.cloud.contactcenterinsights.v1.Analysis.Builder, - com.google.cloud.contactcenterinsights.v1.AnalysisOrBuilder> + com.google.cloud.contactcenterinsights.v1.Analysis, com.google.cloud.contactcenterinsights.v1.Analysis.Builder, com.google.cloud.contactcenterinsights.v1.AnalysisOrBuilder> getAnalysesFieldBuilder() { if (analysesBuilder_ == null) { - analysesBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.contactcenterinsights.v1.Analysis, - com.google.cloud.contactcenterinsights.v1.Analysis.Builder, - com.google.cloud.contactcenterinsights.v1.AnalysisOrBuilder>( - analyses_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); + analysesBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.contactcenterinsights.v1.Analysis, com.google.cloud.contactcenterinsights.v1.Analysis.Builder, com.google.cloud.contactcenterinsights.v1.AnalysisOrBuilder>( + analyses_, + ((bitField0_ & 0x00000001) != 0), + getParentForChildren(), + isClean()); analyses_ = null; } return analysesBuilder_; @@ -971,21 +873,19 @@ public com.google.cloud.contactcenterinsights.v1.Analysis.Builder addAnalysesBui private java.lang.Object nextPageToken_ = ""; /** - * - * *
      * A token, which can be sent as `page_token` to retrieve the next page.
      * If this field is omitted, there are no subsequent pages.
      * 
* * string next_page_token = 2; - * * @return The nextPageToken. */ public java.lang.String getNextPageToken() { java.lang.Object ref = nextPageToken_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); nextPageToken_ = s; return s; @@ -994,22 +894,21 @@ public java.lang.String getNextPageToken() { } } /** - * - * *
      * A token, which can be sent as `page_token` to retrieve the next page.
      * If this field is omitted, there are no subsequent pages.
      * 
* * string next_page_token = 2; - * * @return The bytes for nextPageToken. */ - public com.google.protobuf.ByteString getNextPageTokenBytes() { + public com.google.protobuf.ByteString + getNextPageTokenBytes() { java.lang.Object ref = nextPageToken_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); nextPageToken_ = b; return b; } else { @@ -1017,37 +916,30 @@ public com.google.protobuf.ByteString getNextPageTokenBytes() { } } /** - * - * *
      * A token, which can be sent as `page_token` to retrieve the next page.
      * If this field is omitted, there are no subsequent pages.
      * 
* * string next_page_token = 2; - * * @param value The nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageToken(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setNextPageToken( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } nextPageToken_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** - * - * *
      * A token, which can be sent as `page_token` to retrieve the next page.
      * If this field is omitted, there are no subsequent pages.
      * 
* * string next_page_token = 2; - * * @return This builder for chaining. */ public Builder clearNextPageToken() { @@ -1057,31 +949,27 @@ public Builder clearNextPageToken() { return this; } /** - * - * *
      * A token, which can be sent as `page_token` to retrieve the next page.
      * If this field is omitted, there are no subsequent pages.
      * 
* * string next_page_token = 2; - * * @param value The bytes for nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageTokenBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setNextPageTokenBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); nextPageToken_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1091,43 +979,41 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.contactcenterinsights.v1.ListAnalysesResponse) } // @@protoc_insertion_point(class_scope:google.cloud.contactcenterinsights.v1.ListAnalysesResponse) - private static final com.google.cloud.contactcenterinsights.v1.ListAnalysesResponse - DEFAULT_INSTANCE; - + private static final com.google.cloud.contactcenterinsights.v1.ListAnalysesResponse DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.cloud.contactcenterinsights.v1.ListAnalysesResponse(); } - public static com.google.cloud.contactcenterinsights.v1.ListAnalysesResponse - getDefaultInstance() { + public static com.google.cloud.contactcenterinsights.v1.ListAnalysesResponse getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListAnalysesResponse parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListAnalysesResponse parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1139,8 +1025,9 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.cloud.contactcenterinsights.v1.ListAnalysesResponse - getDefaultInstanceForType() { + public com.google.cloud.contactcenterinsights.v1.ListAnalysesResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ListAnalysesResponseOrBuilder.java b/owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ListAnalysesResponseOrBuilder.java similarity index 70% rename from java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ListAnalysesResponseOrBuilder.java rename to owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ListAnalysesResponseOrBuilder.java index 6a12df1b7318..69b4f19d7702 100644 --- a/java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ListAnalysesResponseOrBuilder.java +++ b/owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ListAnalysesResponseOrBuilder.java @@ -1,41 +1,22 @@ -/* - * 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. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/contactcenterinsights/v1/contact_center_insights.proto package com.google.cloud.contactcenterinsights.v1; -public interface ListAnalysesResponseOrBuilder - extends +public interface ListAnalysesResponseOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.contactcenterinsights.v1.ListAnalysesResponse) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * The analyses that match the request.
    * 
* * repeated .google.cloud.contactcenterinsights.v1.Analysis analyses = 1; */ - java.util.List getAnalysesList(); + java.util.List + getAnalysesList(); /** - * - * *
    * The analyses that match the request.
    * 
@@ -44,8 +25,6 @@ public interface ListAnalysesResponseOrBuilder */ com.google.cloud.contactcenterinsights.v1.Analysis getAnalyses(int index); /** - * - * *
    * The analyses that match the request.
    * 
@@ -54,51 +33,43 @@ public interface ListAnalysesResponseOrBuilder */ int getAnalysesCount(); /** - * - * *
    * The analyses that match the request.
    * 
* * repeated .google.cloud.contactcenterinsights.v1.Analysis analyses = 1; */ - java.util.List + java.util.List getAnalysesOrBuilderList(); /** - * - * *
    * The analyses that match the request.
    * 
* * repeated .google.cloud.contactcenterinsights.v1.Analysis analyses = 1; */ - com.google.cloud.contactcenterinsights.v1.AnalysisOrBuilder getAnalysesOrBuilder(int index); + com.google.cloud.contactcenterinsights.v1.AnalysisOrBuilder getAnalysesOrBuilder( + int index); /** - * - * *
    * A token, which can be sent as `page_token` to retrieve the next page.
    * If this field is omitted, there are no subsequent pages.
    * 
* * string next_page_token = 2; - * * @return The nextPageToken. */ java.lang.String getNextPageToken(); /** - * - * *
    * A token, which can be sent as `page_token` to retrieve the next page.
    * If this field is omitted, there are no subsequent pages.
    * 
* * string next_page_token = 2; - * * @return The bytes for nextPageToken. */ - com.google.protobuf.ByteString getNextPageTokenBytes(); + com.google.protobuf.ByteString + getNextPageTokenBytes(); } diff --git a/java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ListConversationsRequest.java b/owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ListConversationsRequest.java similarity index 67% rename from java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ListConversationsRequest.java rename to owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ListConversationsRequest.java index 3d8a405775dd..5a848eb7bc7b 100644 --- a/java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ListConversationsRequest.java +++ b/owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ListConversationsRequest.java @@ -1,42 +1,24 @@ -/* - * 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. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/contactcenterinsights/v1/contact_center_insights.proto package com.google.cloud.contactcenterinsights.v1; /** - * - * *
  * Request to list conversations.
  * 
* * Protobuf type {@code google.cloud.contactcenterinsights.v1.ListConversationsRequest} */ -public final class ListConversationsRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class ListConversationsRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.contactcenterinsights.v1.ListConversationsRequest) ListConversationsRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use ListConversationsRequest.newBuilder() to construct. private ListConversationsRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private ListConversationsRequest() { parent_ = ""; pageToken_ = ""; @@ -46,45 +28,38 @@ private ListConversationsRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new ListConversationsRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto - .internal_static_google_cloud_contactcenterinsights_v1_ListConversationsRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto.internal_static_google_cloud_contactcenterinsights_v1_ListConversationsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto - .internal_static_google_cloud_contactcenterinsights_v1_ListConversationsRequest_fieldAccessorTable + return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto.internal_static_google_cloud_contactcenterinsights_v1_ListConversationsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.contactcenterinsights.v1.ListConversationsRequest.class, - com.google.cloud.contactcenterinsights.v1.ListConversationsRequest.Builder.class); + com.google.cloud.contactcenterinsights.v1.ListConversationsRequest.class, com.google.cloud.contactcenterinsights.v1.ListConversationsRequest.Builder.class); } public static final int PARENT_FIELD_NUMBER = 1; - @SuppressWarnings("serial") private volatile java.lang.Object parent_ = ""; /** - * - * *
    * Required. The parent resource of the conversation.
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The parent. */ @java.lang.Override @@ -93,31 +68,29 @@ public java.lang.String getParent() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; } } /** - * - * *
    * Required. The parent resource of the conversation.
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for parent. */ @java.lang.Override - public com.google.protobuf.ByteString getParentBytes() { + public com.google.protobuf.ByteString + getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); parent_ = b; return b; } else { @@ -128,8 +101,6 @@ public com.google.protobuf.ByteString getParentBytes() { public static final int PAGE_SIZE_FIELD_NUMBER = 2; private int pageSize_ = 0; /** - * - * *
    * The maximum number of conversations to return in the response. A valid page
    * size ranges from 0 to 1,000 inclusive. If the page size is zero or
@@ -138,7 +109,6 @@ public com.google.protobuf.ByteString getParentBytes() {
    * 
* * int32 page_size = 2; - * * @return The pageSize. */ @java.lang.Override @@ -147,12 +117,9 @@ public int getPageSize() { } public static final int PAGE_TOKEN_FIELD_NUMBER = 3; - @SuppressWarnings("serial") private volatile java.lang.Object pageToken_ = ""; /** - * - * *
    * The value returned by the last `ListConversationsResponse`. This value
    * indicates that this is a continuation of a prior `ListConversations` call
@@ -160,7 +127,6 @@ public int getPageSize() {
    * 
* * string page_token = 3; - * * @return The pageToken. */ @java.lang.Override @@ -169,15 +135,14 @@ public java.lang.String getPageToken() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); pageToken_ = s; return s; } } /** - * - * *
    * The value returned by the last `ListConversationsResponse`. This value
    * indicates that this is a continuation of a prior `ListConversations` call
@@ -185,15 +150,16 @@ public java.lang.String getPageToken() {
    * 
* * string page_token = 3; - * * @return The bytes for pageToken. */ @java.lang.Override - public com.google.protobuf.ByteString getPageTokenBytes() { + public com.google.protobuf.ByteString + getPageTokenBytes() { java.lang.Object ref = pageToken_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); pageToken_ = b; return b; } else { @@ -202,19 +168,15 @@ public com.google.protobuf.ByteString getPageTokenBytes() { } public static final int FILTER_FIELD_NUMBER = 4; - @SuppressWarnings("serial") private volatile java.lang.Object filter_ = ""; /** - * - * *
    * A filter to reduce results to a specific subset. Useful for querying
    * conversations with specific properties.
    * 
* * string filter = 4; - * * @return The filter. */ @java.lang.Override @@ -223,30 +185,30 @@ public java.lang.String getFilter() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); filter_ = s; return s; } } /** - * - * *
    * A filter to reduce results to a specific subset. Useful for querying
    * conversations with specific properties.
    * 
* * string filter = 4; - * * @return The bytes for filter. */ @java.lang.Override - public com.google.protobuf.ByteString getFilterBytes() { + public com.google.protobuf.ByteString + getFilterBytes() { java.lang.Object ref = filter_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); filter_ = b; return b; } else { @@ -257,42 +219,30 @@ public com.google.protobuf.ByteString getFilterBytes() { public static final int VIEW_FIELD_NUMBER = 5; private int view_ = 0; /** - * - * *
    * The level of details of the conversation. Default is `BASIC`.
    * 
* * .google.cloud.contactcenterinsights.v1.ConversationView view = 5; - * * @return The enum numeric value on the wire for view. */ - @java.lang.Override - public int getViewValue() { + @java.lang.Override public int getViewValue() { return view_; } /** - * - * *
    * The level of details of the conversation. Default is `BASIC`.
    * 
* * .google.cloud.contactcenterinsights.v1.ConversationView view = 5; - * * @return The view. */ - @java.lang.Override - public com.google.cloud.contactcenterinsights.v1.ConversationView getView() { - com.google.cloud.contactcenterinsights.v1.ConversationView result = - com.google.cloud.contactcenterinsights.v1.ConversationView.forNumber(view_); - return result == null - ? com.google.cloud.contactcenterinsights.v1.ConversationView.UNRECOGNIZED - : result; + @java.lang.Override public com.google.cloud.contactcenterinsights.v1.ConversationView getView() { + com.google.cloud.contactcenterinsights.v1.ConversationView result = com.google.cloud.contactcenterinsights.v1.ConversationView.forNumber(view_); + return result == null ? com.google.cloud.contactcenterinsights.v1.ConversationView.UNRECOGNIZED : result; } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -304,7 +254,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); } @@ -317,9 +268,7 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(filter_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 4, filter_); } - if (view_ - != com.google.cloud.contactcenterinsights.v1.ConversationView.CONVERSATION_VIEW_UNSPECIFIED - .getNumber()) { + if (view_ != com.google.cloud.contactcenterinsights.v1.ConversationView.CONVERSATION_VIEW_UNSPECIFIED.getNumber()) { output.writeEnum(5, view_); } getUnknownFields().writeTo(output); @@ -335,7 +284,8 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, parent_); } if (pageSize_ != 0) { - size += com.google.protobuf.CodedOutputStream.computeInt32Size(2, pageSize_); + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(2, pageSize_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(pageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, pageToken_); @@ -343,10 +293,9 @@ public int getSerializedSize() { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(filter_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, filter_); } - if (view_ - != com.google.cloud.contactcenterinsights.v1.ConversationView.CONVERSATION_VIEW_UNSPECIFIED - .getNumber()) { - size += com.google.protobuf.CodedOutputStream.computeEnumSize(5, view_); + if (view_ != com.google.cloud.contactcenterinsights.v1.ConversationView.CONVERSATION_VIEW_UNSPECIFIED.getNumber()) { + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(5, view_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -356,18 +305,21 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.contactcenterinsights.v1.ListConversationsRequest)) { return super.equals(obj); } - com.google.cloud.contactcenterinsights.v1.ListConversationsRequest other = - (com.google.cloud.contactcenterinsights.v1.ListConversationsRequest) obj; - - if (!getParent().equals(other.getParent())) return false; - if (getPageSize() != other.getPageSize()) return false; - if (!getPageToken().equals(other.getPageToken())) return false; - if (!getFilter().equals(other.getFilter())) return false; + com.google.cloud.contactcenterinsights.v1.ListConversationsRequest other = (com.google.cloud.contactcenterinsights.v1.ListConversationsRequest) obj; + + if (!getParent() + .equals(other.getParent())) return false; + if (getPageSize() + != other.getPageSize()) return false; + if (!getPageToken() + .equals(other.getPageToken())) return false; + if (!getFilter() + .equals(other.getFilter())) return false; if (view_ != other.view_) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -396,138 +348,129 @@ public int hashCode() { } public static com.google.cloud.contactcenterinsights.v1.ListConversationsRequest parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.contactcenterinsights.v1.ListConversationsRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.contactcenterinsights.v1.ListConversationsRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.contactcenterinsights.v1.ListConversationsRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.contactcenterinsights.v1.ListConversationsRequest parseFrom( - byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.contactcenterinsights.v1.ListConversationsRequest parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.contactcenterinsights.v1.ListConversationsRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.contactcenterinsights.v1.ListConversationsRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.contactcenterinsights.v1.ListConversationsRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.contactcenterinsights.v1.ListConversationsRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.contactcenterinsights.v1.ListConversationsRequest - parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.contactcenterinsights.v1.ListConversationsRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - - public static com.google.cloud.contactcenterinsights.v1.ListConversationsRequest - parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + public static com.google.cloud.contactcenterinsights.v1.ListConversationsRequest parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.contactcenterinsights.v1.ListConversationsRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.contactcenterinsights.v1.ListConversationsRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.contactcenterinsights.v1.ListConversationsRequest prototype) { + public static Builder newBuilder(com.google.cloud.contactcenterinsights.v1.ListConversationsRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Request to list conversations.
    * 
* * Protobuf type {@code google.cloud.contactcenterinsights.v1.ListConversationsRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.contactcenterinsights.v1.ListConversationsRequest) com.google.cloud.contactcenterinsights.v1.ListConversationsRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto - .internal_static_google_cloud_contactcenterinsights_v1_ListConversationsRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto.internal_static_google_cloud_contactcenterinsights_v1_ListConversationsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto - .internal_static_google_cloud_contactcenterinsights_v1_ListConversationsRequest_fieldAccessorTable + return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto.internal_static_google_cloud_contactcenterinsights_v1_ListConversationsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.contactcenterinsights.v1.ListConversationsRequest.class, - com.google.cloud.contactcenterinsights.v1.ListConversationsRequest.Builder.class); + com.google.cloud.contactcenterinsights.v1.ListConversationsRequest.class, com.google.cloud.contactcenterinsights.v1.ListConversationsRequest.Builder.class); } - // Construct using - // com.google.cloud.contactcenterinsights.v1.ListConversationsRequest.newBuilder() - private Builder() {} + // Construct using com.google.cloud.contactcenterinsights.v1.ListConversationsRequest.newBuilder() + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -541,16 +484,14 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto - .internal_static_google_cloud_contactcenterinsights_v1_ListConversationsRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto.internal_static_google_cloud_contactcenterinsights_v1_ListConversationsRequest_descriptor; } @java.lang.Override - public com.google.cloud.contactcenterinsights.v1.ListConversationsRequest - getDefaultInstanceForType() { - return com.google.cloud.contactcenterinsights.v1.ListConversationsRequest - .getDefaultInstance(); + public com.google.cloud.contactcenterinsights.v1.ListConversationsRequest getDefaultInstanceForType() { + return com.google.cloud.contactcenterinsights.v1.ListConversationsRequest.getDefaultInstance(); } @java.lang.Override @@ -564,17 +505,13 @@ public com.google.cloud.contactcenterinsights.v1.ListConversationsRequest build( @java.lang.Override public com.google.cloud.contactcenterinsights.v1.ListConversationsRequest buildPartial() { - com.google.cloud.contactcenterinsights.v1.ListConversationsRequest result = - new com.google.cloud.contactcenterinsights.v1.ListConversationsRequest(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + com.google.cloud.contactcenterinsights.v1.ListConversationsRequest result = new com.google.cloud.contactcenterinsights.v1.ListConversationsRequest(this); + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } - private void buildPartial0( - com.google.cloud.contactcenterinsights.v1.ListConversationsRequest result) { + private void buildPartial0(com.google.cloud.contactcenterinsights.v1.ListConversationsRequest result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { result.parent_ = parent_; @@ -597,51 +534,46 @@ private void buildPartial0( public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.contactcenterinsights.v1.ListConversationsRequest) { - return mergeFrom( - (com.google.cloud.contactcenterinsights.v1.ListConversationsRequest) other); + return mergeFrom((com.google.cloud.contactcenterinsights.v1.ListConversationsRequest)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom( - com.google.cloud.contactcenterinsights.v1.ListConversationsRequest other) { - if (other - == com.google.cloud.contactcenterinsights.v1.ListConversationsRequest - .getDefaultInstance()) return this; + public Builder mergeFrom(com.google.cloud.contactcenterinsights.v1.ListConversationsRequest other) { + if (other == com.google.cloud.contactcenterinsights.v1.ListConversationsRequest.getDefaultInstance()) return this; if (!other.getParent().isEmpty()) { parent_ = other.parent_; bitField0_ |= 0x00000001; @@ -689,43 +621,37 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - parent_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 16: - { - pageSize_ = input.readInt32(); - bitField0_ |= 0x00000002; - break; - } // case 16 - case 26: - { - pageToken_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000004; - break; - } // case 26 - case 34: - { - filter_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000008; - break; - } // case 34 - case 40: - { - view_ = input.readEnum(); - bitField0_ |= 0x00000010; - break; - } // case 40 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + parent_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 16: { + pageSize_ = input.readInt32(); + bitField0_ |= 0x00000002; + break; + } // case 16 + case 26: { + pageToken_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000004; + break; + } // case 26 + case 34: { + filter_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000008; + break; + } // case 34 + case 40: { + view_ = input.readEnum(); + bitField0_ |= 0x00000010; + break; + } // case 40 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -735,27 +661,22 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private java.lang.Object parent_ = ""; /** - * - * *
      * Required. The parent resource of the conversation.
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The parent. */ public java.lang.String getParent() { java.lang.Object ref = parent_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; @@ -764,23 +685,20 @@ public java.lang.String getParent() { } } /** - * - * *
      * Required. The parent resource of the conversation.
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for parent. */ - public com.google.protobuf.ByteString getParentBytes() { + public com.google.protobuf.ByteString + getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); parent_ = b; return b; } else { @@ -788,39 +706,28 @@ public com.google.protobuf.ByteString getParentBytes() { } } /** - * - * *
      * Required. The parent resource of the conversation.
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The parent to set. * @return This builder for chaining. */ - public Builder setParent(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setParent( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } parent_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
      * Required. The parent resource of the conversation.
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearParent() { @@ -830,23 +737,17 @@ public Builder clearParent() { return this; } /** - * - * *
      * Required. The parent resource of the conversation.
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setParentBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); parent_ = value; bitField0_ |= 0x00000001; @@ -854,10 +755,8 @@ public Builder setParentBytes(com.google.protobuf.ByteString value) { return this; } - private int pageSize_; + private int pageSize_ ; /** - * - * *
      * The maximum number of conversations to return in the response. A valid page
      * size ranges from 0 to 1,000 inclusive. If the page size is zero or
@@ -866,7 +765,6 @@ public Builder setParentBytes(com.google.protobuf.ByteString value) {
      * 
* * int32 page_size = 2; - * * @return The pageSize. */ @java.lang.Override @@ -874,8 +772,6 @@ public int getPageSize() { return pageSize_; } /** - * - * *
      * The maximum number of conversations to return in the response. A valid page
      * size ranges from 0 to 1,000 inclusive. If the page size is zero or
@@ -884,20 +780,17 @@ public int getPageSize() {
      * 
* * int32 page_size = 2; - * * @param value The pageSize to set. * @return This builder for chaining. */ public Builder setPageSize(int value) { - + pageSize_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** - * - * *
      * The maximum number of conversations to return in the response. A valid page
      * size ranges from 0 to 1,000 inclusive. If the page size is zero or
@@ -906,7 +799,6 @@ public Builder setPageSize(int value) {
      * 
* * int32 page_size = 2; - * * @return This builder for chaining. */ public Builder clearPageSize() { @@ -918,8 +810,6 @@ public Builder clearPageSize() { private java.lang.Object pageToken_ = ""; /** - * - * *
      * The value returned by the last `ListConversationsResponse`. This value
      * indicates that this is a continuation of a prior `ListConversations` call
@@ -927,13 +817,13 @@ public Builder clearPageSize() {
      * 
* * string page_token = 3; - * * @return The pageToken. */ public java.lang.String getPageToken() { java.lang.Object ref = pageToken_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); pageToken_ = s; return s; @@ -942,8 +832,6 @@ public java.lang.String getPageToken() { } } /** - * - * *
      * The value returned by the last `ListConversationsResponse`. This value
      * indicates that this is a continuation of a prior `ListConversations` call
@@ -951,14 +839,15 @@ public java.lang.String getPageToken() {
      * 
* * string page_token = 3; - * * @return The bytes for pageToken. */ - public com.google.protobuf.ByteString getPageTokenBytes() { + public com.google.protobuf.ByteString + getPageTokenBytes() { java.lang.Object ref = pageToken_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); pageToken_ = b; return b; } else { @@ -966,8 +855,6 @@ public com.google.protobuf.ByteString getPageTokenBytes() { } } /** - * - * *
      * The value returned by the last `ListConversationsResponse`. This value
      * indicates that this is a continuation of a prior `ListConversations` call
@@ -975,22 +862,18 @@ public com.google.protobuf.ByteString getPageTokenBytes() {
      * 
* * string page_token = 3; - * * @param value The pageToken to set. * @return This builder for chaining. */ - public Builder setPageToken(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setPageToken( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } pageToken_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } /** - * - * *
      * The value returned by the last `ListConversationsResponse`. This value
      * indicates that this is a continuation of a prior `ListConversations` call
@@ -998,7 +881,6 @@ public Builder setPageToken(java.lang.String value) {
      * 
* * string page_token = 3; - * * @return This builder for chaining. */ public Builder clearPageToken() { @@ -1008,8 +890,6 @@ public Builder clearPageToken() { return this; } /** - * - * *
      * The value returned by the last `ListConversationsResponse`. This value
      * indicates that this is a continuation of a prior `ListConversations` call
@@ -1017,14 +897,12 @@ public Builder clearPageToken() {
      * 
* * string page_token = 3; - * * @param value The bytes for pageToken to set. * @return This builder for chaining. */ - public Builder setPageTokenBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setPageTokenBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); pageToken_ = value; bitField0_ |= 0x00000004; @@ -1034,21 +912,19 @@ public Builder setPageTokenBytes(com.google.protobuf.ByteString value) { private java.lang.Object filter_ = ""; /** - * - * *
      * A filter to reduce results to a specific subset. Useful for querying
      * conversations with specific properties.
      * 
* * string filter = 4; - * * @return The filter. */ public java.lang.String getFilter() { java.lang.Object ref = filter_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); filter_ = s; return s; @@ -1057,22 +933,21 @@ public java.lang.String getFilter() { } } /** - * - * *
      * A filter to reduce results to a specific subset. Useful for querying
      * conversations with specific properties.
      * 
* * string filter = 4; - * * @return The bytes for filter. */ - public com.google.protobuf.ByteString getFilterBytes() { + public com.google.protobuf.ByteString + getFilterBytes() { java.lang.Object ref = filter_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); filter_ = b; return b; } else { @@ -1080,37 +955,30 @@ public com.google.protobuf.ByteString getFilterBytes() { } } /** - * - * *
      * A filter to reduce results to a specific subset. Useful for querying
      * conversations with specific properties.
      * 
* * string filter = 4; - * * @param value The filter to set. * @return This builder for chaining. */ - public Builder setFilter(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setFilter( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } filter_ = value; bitField0_ |= 0x00000008; onChanged(); return this; } /** - * - * *
      * A filter to reduce results to a specific subset. Useful for querying
      * conversations with specific properties.
      * 
* * string filter = 4; - * * @return This builder for chaining. */ public Builder clearFilter() { @@ -1120,22 +988,18 @@ public Builder clearFilter() { return this; } /** - * - * *
      * A filter to reduce results to a specific subset. Useful for querying
      * conversations with specific properties.
      * 
* * string filter = 4; - * * @param value The bytes for filter to set. * @return This builder for chaining. */ - public Builder setFilterBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setFilterBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); filter_ = value; bitField0_ |= 0x00000008; @@ -1145,29 +1009,22 @@ public Builder setFilterBytes(com.google.protobuf.ByteString value) { private int view_ = 0; /** - * - * *
      * The level of details of the conversation. Default is `BASIC`.
      * 
* * .google.cloud.contactcenterinsights.v1.ConversationView view = 5; - * * @return The enum numeric value on the wire for view. */ - @java.lang.Override - public int getViewValue() { + @java.lang.Override public int getViewValue() { return view_; } /** - * - * *
      * The level of details of the conversation. Default is `BASIC`.
      * 
* * .google.cloud.contactcenterinsights.v1.ConversationView view = 5; - * * @param value The enum numeric value on the wire for view to set. * @return This builder for chaining. */ @@ -1178,33 +1035,24 @@ public Builder setViewValue(int value) { return this; } /** - * - * *
      * The level of details of the conversation. Default is `BASIC`.
      * 
* * .google.cloud.contactcenterinsights.v1.ConversationView view = 5; - * * @return The view. */ @java.lang.Override public com.google.cloud.contactcenterinsights.v1.ConversationView getView() { - com.google.cloud.contactcenterinsights.v1.ConversationView result = - com.google.cloud.contactcenterinsights.v1.ConversationView.forNumber(view_); - return result == null - ? com.google.cloud.contactcenterinsights.v1.ConversationView.UNRECOGNIZED - : result; + com.google.cloud.contactcenterinsights.v1.ConversationView result = com.google.cloud.contactcenterinsights.v1.ConversationView.forNumber(view_); + return result == null ? com.google.cloud.contactcenterinsights.v1.ConversationView.UNRECOGNIZED : result; } /** - * - * *
      * The level of details of the conversation. Default is `BASIC`.
      * 
* * .google.cloud.contactcenterinsights.v1.ConversationView view = 5; - * * @param value The view to set. * @return This builder for chaining. */ @@ -1218,14 +1066,11 @@ public Builder setView(com.google.cloud.contactcenterinsights.v1.ConversationVie return this; } /** - * - * *
      * The level of details of the conversation. Default is `BASIC`.
      * 
* * .google.cloud.contactcenterinsights.v1.ConversationView view = 5; - * * @return This builder for chaining. */ public Builder clearView() { @@ -1234,9 +1079,9 @@ public Builder clearView() { onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1246,43 +1091,41 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.contactcenterinsights.v1.ListConversationsRequest) } // @@protoc_insertion_point(class_scope:google.cloud.contactcenterinsights.v1.ListConversationsRequest) - private static final com.google.cloud.contactcenterinsights.v1.ListConversationsRequest - DEFAULT_INSTANCE; - + private static final com.google.cloud.contactcenterinsights.v1.ListConversationsRequest DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.cloud.contactcenterinsights.v1.ListConversationsRequest(); } - public static com.google.cloud.contactcenterinsights.v1.ListConversationsRequest - getDefaultInstance() { + public static com.google.cloud.contactcenterinsights.v1.ListConversationsRequest getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListConversationsRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListConversationsRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1294,8 +1137,9 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.cloud.contactcenterinsights.v1.ListConversationsRequest - getDefaultInstanceForType() { + public com.google.cloud.contactcenterinsights.v1.ListConversationsRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ListConversationsRequestOrBuilder.java b/owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ListConversationsRequestOrBuilder.java similarity index 69% rename from java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ListConversationsRequestOrBuilder.java rename to owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ListConversationsRequestOrBuilder.java index 0d4608e8e691..7b83921ee218 100644 --- a/java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ListConversationsRequestOrBuilder.java +++ b/owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ListConversationsRequestOrBuilder.java @@ -1,60 +1,33 @@ -/* - * 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. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/contactcenterinsights/v1/contact_center_insights.proto package com.google.cloud.contactcenterinsights.v1; -public interface ListConversationsRequestOrBuilder - extends +public interface ListConversationsRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.contactcenterinsights.v1.ListConversationsRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Required. The parent resource of the conversation.
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The parent. */ java.lang.String getParent(); /** - * - * *
    * Required. The parent resource of the conversation.
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for parent. */ - com.google.protobuf.ByteString getParentBytes(); + com.google.protobuf.ByteString + getParentBytes(); /** - * - * *
    * The maximum number of conversations to return in the response. A valid page
    * size ranges from 0 to 1,000 inclusive. If the page size is zero or
@@ -63,14 +36,11 @@ public interface ListConversationsRequestOrBuilder
    * 
* * int32 page_size = 2; - * * @return The pageSize. */ int getPageSize(); /** - * - * *
    * The value returned by the last `ListConversationsResponse`. This value
    * indicates that this is a continuation of a prior `ListConversations` call
@@ -78,13 +48,10 @@ public interface ListConversationsRequestOrBuilder
    * 
* * string page_token = 3; - * * @return The pageToken. */ java.lang.String getPageToken(); /** - * - * *
    * The value returned by the last `ListConversationsResponse`. This value
    * indicates that this is a continuation of a prior `ListConversations` call
@@ -92,59 +59,48 @@ public interface ListConversationsRequestOrBuilder
    * 
* * string page_token = 3; - * * @return The bytes for pageToken. */ - com.google.protobuf.ByteString getPageTokenBytes(); + com.google.protobuf.ByteString + getPageTokenBytes(); /** - * - * *
    * A filter to reduce results to a specific subset. Useful for querying
    * conversations with specific properties.
    * 
* * string filter = 4; - * * @return The filter. */ java.lang.String getFilter(); /** - * - * *
    * A filter to reduce results to a specific subset. Useful for querying
    * conversations with specific properties.
    * 
* * string filter = 4; - * * @return The bytes for filter. */ - com.google.protobuf.ByteString getFilterBytes(); + com.google.protobuf.ByteString + getFilterBytes(); /** - * - * *
    * The level of details of the conversation. Default is `BASIC`.
    * 
* * .google.cloud.contactcenterinsights.v1.ConversationView view = 5; - * * @return The enum numeric value on the wire for view. */ int getViewValue(); /** - * - * *
    * The level of details of the conversation. Default is `BASIC`.
    * 
* * .google.cloud.contactcenterinsights.v1.ConversationView view = 5; - * * @return The view. */ com.google.cloud.contactcenterinsights.v1.ConversationView getView(); diff --git a/java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ListConversationsResponse.java b/owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ListConversationsResponse.java similarity index 70% rename from java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ListConversationsResponse.java rename to owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ListConversationsResponse.java index ae68f4f5fc7d..b54fcb066064 100644 --- a/java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ListConversationsResponse.java +++ b/owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ListConversationsResponse.java @@ -1,42 +1,24 @@ -/* - * 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. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/contactcenterinsights/v1/contact_center_insights.proto package com.google.cloud.contactcenterinsights.v1; /** - * - * *
  * The response of listing conversations.
  * 
* * Protobuf type {@code google.cloud.contactcenterinsights.v1.ListConversationsResponse} */ -public final class ListConversationsResponse extends com.google.protobuf.GeneratedMessageV3 - implements +public final class ListConversationsResponse extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.contactcenterinsights.v1.ListConversationsResponse) ListConversationsResponseOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use ListConversationsResponse.newBuilder() to construct. private ListConversationsResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private ListConversationsResponse() { conversations_ = java.util.Collections.emptyList(); nextPageToken_ = ""; @@ -44,37 +26,33 @@ private ListConversationsResponse() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new ListConversationsResponse(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto - .internal_static_google_cloud_contactcenterinsights_v1_ListConversationsResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto.internal_static_google_cloud_contactcenterinsights_v1_ListConversationsResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto - .internal_static_google_cloud_contactcenterinsights_v1_ListConversationsResponse_fieldAccessorTable + return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto.internal_static_google_cloud_contactcenterinsights_v1_ListConversationsResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.contactcenterinsights.v1.ListConversationsResponse.class, - com.google.cloud.contactcenterinsights.v1.ListConversationsResponse.Builder.class); + com.google.cloud.contactcenterinsights.v1.ListConversationsResponse.class, com.google.cloud.contactcenterinsights.v1.ListConversationsResponse.Builder.class); } public static final int CONVERSATIONS_FIELD_NUMBER = 1; - @SuppressWarnings("serial") private java.util.List conversations_; /** - * - * *
    * The conversations that match the request.
    * 
@@ -82,13 +60,10 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * repeated .google.cloud.contactcenterinsights.v1.Conversation conversations = 1; */ @java.lang.Override - public java.util.List - getConversationsList() { + public java.util.List getConversationsList() { return conversations_; } /** - * - * *
    * The conversations that match the request.
    * 
@@ -96,13 +71,11 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * repeated .google.cloud.contactcenterinsights.v1.Conversation conversations = 1; */ @java.lang.Override - public java.util.List + public java.util.List getConversationsOrBuilderList() { return conversations_; } /** - * - * *
    * The conversations that match the request.
    * 
@@ -114,8 +87,6 @@ public int getConversationsCount() { return conversations_.size(); } /** - * - * *
    * The conversations that match the request.
    * 
@@ -127,8 +98,6 @@ public com.google.cloud.contactcenterinsights.v1.Conversation getConversations(i return conversations_.get(index); } /** - * - * *
    * The conversations that match the request.
    * 
@@ -142,12 +111,9 @@ public com.google.cloud.contactcenterinsights.v1.ConversationOrBuilder getConver } public static final int NEXT_PAGE_TOKEN_FIELD_NUMBER = 2; - @SuppressWarnings("serial") private volatile java.lang.Object nextPageToken_ = ""; /** - * - * *
    * A token which can be sent as `page_token` to retrieve the next page. If
    * this field is set, it means there is another page available. If it is not
@@ -155,7 +121,6 @@ public com.google.cloud.contactcenterinsights.v1.ConversationOrBuilder getConver
    * 
* * string next_page_token = 2; - * * @return The nextPageToken. */ @java.lang.Override @@ -164,15 +129,14 @@ public java.lang.String getNextPageToken() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); nextPageToken_ = s; return s; } } /** - * - * *
    * A token which can be sent as `page_token` to retrieve the next page. If
    * this field is set, it means there is another page available. If it is not
@@ -180,15 +144,16 @@ public java.lang.String getNextPageToken() {
    * 
* * string next_page_token = 2; - * * @return The bytes for nextPageToken. */ @java.lang.Override - public com.google.protobuf.ByteString getNextPageTokenBytes() { + public com.google.protobuf.ByteString + getNextPageTokenBytes() { java.lang.Object ref = nextPageToken_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); nextPageToken_ = b; return b; } else { @@ -197,7 +162,6 @@ public com.google.protobuf.ByteString getNextPageTokenBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -209,7 +173,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { for (int i = 0; i < conversations_.size(); i++) { output.writeMessage(1, conversations_.get(i)); } @@ -226,7 +191,8 @@ public int getSerializedSize() { size = 0; for (int i = 0; i < conversations_.size(); i++) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, conversations_.get(i)); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, conversations_.get(i)); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(nextPageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, nextPageToken_); @@ -239,16 +205,17 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.contactcenterinsights.v1.ListConversationsResponse)) { return super.equals(obj); } - com.google.cloud.contactcenterinsights.v1.ListConversationsResponse other = - (com.google.cloud.contactcenterinsights.v1.ListConversationsResponse) obj; + com.google.cloud.contactcenterinsights.v1.ListConversationsResponse other = (com.google.cloud.contactcenterinsights.v1.ListConversationsResponse) obj; - if (!getConversationsList().equals(other.getConversationsList())) return false; - if (!getNextPageToken().equals(other.getNextPageToken())) return false; + if (!getConversationsList() + .equals(other.getConversationsList())) return false; + if (!getNextPageToken() + .equals(other.getNextPageToken())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -272,138 +239,129 @@ public int hashCode() { } public static com.google.cloud.contactcenterinsights.v1.ListConversationsResponse parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.contactcenterinsights.v1.ListConversationsResponse parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.contactcenterinsights.v1.ListConversationsResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.contactcenterinsights.v1.ListConversationsResponse parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.contactcenterinsights.v1.ListConversationsResponse parseFrom( - byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.contactcenterinsights.v1.ListConversationsResponse parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.contactcenterinsights.v1.ListConversationsResponse parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.contactcenterinsights.v1.ListConversationsResponse parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.contactcenterinsights.v1.ListConversationsResponse parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.contactcenterinsights.v1.ListConversationsResponse parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.contactcenterinsights.v1.ListConversationsResponse - parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.contactcenterinsights.v1.ListConversationsResponse parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - - public static com.google.cloud.contactcenterinsights.v1.ListConversationsResponse - parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + public static com.google.cloud.contactcenterinsights.v1.ListConversationsResponse parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.contactcenterinsights.v1.ListConversationsResponse parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.contactcenterinsights.v1.ListConversationsResponse parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.contactcenterinsights.v1.ListConversationsResponse prototype) { + public static Builder newBuilder(com.google.cloud.contactcenterinsights.v1.ListConversationsResponse prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * The response of listing conversations.
    * 
* * Protobuf type {@code google.cloud.contactcenterinsights.v1.ListConversationsResponse} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.contactcenterinsights.v1.ListConversationsResponse) com.google.cloud.contactcenterinsights.v1.ListConversationsResponseOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto - .internal_static_google_cloud_contactcenterinsights_v1_ListConversationsResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto.internal_static_google_cloud_contactcenterinsights_v1_ListConversationsResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto - .internal_static_google_cloud_contactcenterinsights_v1_ListConversationsResponse_fieldAccessorTable + return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto.internal_static_google_cloud_contactcenterinsights_v1_ListConversationsResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.contactcenterinsights.v1.ListConversationsResponse.class, - com.google.cloud.contactcenterinsights.v1.ListConversationsResponse.Builder.class); + com.google.cloud.contactcenterinsights.v1.ListConversationsResponse.class, com.google.cloud.contactcenterinsights.v1.ListConversationsResponse.Builder.class); } - // Construct using - // com.google.cloud.contactcenterinsights.v1.ListConversationsResponse.newBuilder() - private Builder() {} + // Construct using com.google.cloud.contactcenterinsights.v1.ListConversationsResponse.newBuilder() + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -420,16 +378,14 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto - .internal_static_google_cloud_contactcenterinsights_v1_ListConversationsResponse_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto.internal_static_google_cloud_contactcenterinsights_v1_ListConversationsResponse_descriptor; } @java.lang.Override - public com.google.cloud.contactcenterinsights.v1.ListConversationsResponse - getDefaultInstanceForType() { - return com.google.cloud.contactcenterinsights.v1.ListConversationsResponse - .getDefaultInstance(); + public com.google.cloud.contactcenterinsights.v1.ListConversationsResponse getDefaultInstanceForType() { + return com.google.cloud.contactcenterinsights.v1.ListConversationsResponse.getDefaultInstance(); } @java.lang.Override @@ -443,18 +399,14 @@ public com.google.cloud.contactcenterinsights.v1.ListConversationsResponse build @java.lang.Override public com.google.cloud.contactcenterinsights.v1.ListConversationsResponse buildPartial() { - com.google.cloud.contactcenterinsights.v1.ListConversationsResponse result = - new com.google.cloud.contactcenterinsights.v1.ListConversationsResponse(this); + com.google.cloud.contactcenterinsights.v1.ListConversationsResponse result = new com.google.cloud.contactcenterinsights.v1.ListConversationsResponse(this); buildPartialRepeatedFields(result); - if (bitField0_ != 0) { - buildPartial0(result); - } + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } - private void buildPartialRepeatedFields( - com.google.cloud.contactcenterinsights.v1.ListConversationsResponse result) { + private void buildPartialRepeatedFields(com.google.cloud.contactcenterinsights.v1.ListConversationsResponse result) { if (conversationsBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { conversations_ = java.util.Collections.unmodifiableList(conversations_); @@ -466,8 +418,7 @@ private void buildPartialRepeatedFields( } } - private void buildPartial0( - com.google.cloud.contactcenterinsights.v1.ListConversationsResponse result) { + private void buildPartial0(com.google.cloud.contactcenterinsights.v1.ListConversationsResponse result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000002) != 0)) { result.nextPageToken_ = nextPageToken_; @@ -478,51 +429,46 @@ private void buildPartial0( public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.contactcenterinsights.v1.ListConversationsResponse) { - return mergeFrom( - (com.google.cloud.contactcenterinsights.v1.ListConversationsResponse) other); + return mergeFrom((com.google.cloud.contactcenterinsights.v1.ListConversationsResponse)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom( - com.google.cloud.contactcenterinsights.v1.ListConversationsResponse other) { - if (other - == com.google.cloud.contactcenterinsights.v1.ListConversationsResponse - .getDefaultInstance()) return this; + public Builder mergeFrom(com.google.cloud.contactcenterinsights.v1.ListConversationsResponse other) { + if (other == com.google.cloud.contactcenterinsights.v1.ListConversationsResponse.getDefaultInstance()) return this; if (conversationsBuilder_ == null) { if (!other.conversations_.isEmpty()) { if (conversations_.isEmpty()) { @@ -541,10 +487,9 @@ public Builder mergeFrom( conversationsBuilder_ = null; conversations_ = other.conversations_; bitField0_ = (bitField0_ & ~0x00000001); - conversationsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders - ? getConversationsFieldBuilder() - : null; + conversationsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getConversationsFieldBuilder() : null; } else { conversationsBuilder_.addAllMessages(other.conversations_); } @@ -581,33 +526,30 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - com.google.cloud.contactcenterinsights.v1.Conversation m = - input.readMessage( - com.google.cloud.contactcenterinsights.v1.Conversation.parser(), - extensionRegistry); - if (conversationsBuilder_ == null) { - ensureConversationsIsMutable(); - conversations_.add(m); - } else { - conversationsBuilder_.addMessage(m); - } - break; - } // case 10 - case 18: - { - nextPageToken_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000002; - break; - } // case 18 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + com.google.cloud.contactcenterinsights.v1.Conversation m = + input.readMessage( + com.google.cloud.contactcenterinsights.v1.Conversation.parser(), + extensionRegistry); + if (conversationsBuilder_ == null) { + ensureConversationsIsMutable(); + conversations_.add(m); + } else { + conversationsBuilder_.addMessage(m); + } + break; + } // case 10 + case 18: { + nextPageToken_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + break; + } // case 18 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -617,38 +559,28 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private java.util.List conversations_ = - java.util.Collections.emptyList(); - + java.util.Collections.emptyList(); private void ensureConversationsIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { - conversations_ = - new java.util.ArrayList( - conversations_); + conversations_ = new java.util.ArrayList(conversations_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.contactcenterinsights.v1.Conversation, - com.google.cloud.contactcenterinsights.v1.Conversation.Builder, - com.google.cloud.contactcenterinsights.v1.ConversationOrBuilder> - conversationsBuilder_; + com.google.cloud.contactcenterinsights.v1.Conversation, com.google.cloud.contactcenterinsights.v1.Conversation.Builder, com.google.cloud.contactcenterinsights.v1.ConversationOrBuilder> conversationsBuilder_; /** - * - * *
      * The conversations that match the request.
      * 
* * repeated .google.cloud.contactcenterinsights.v1.Conversation conversations = 1; */ - public java.util.List - getConversationsList() { + public java.util.List getConversationsList() { if (conversationsBuilder_ == null) { return java.util.Collections.unmodifiableList(conversations_); } else { @@ -656,8 +588,6 @@ private void ensureConversationsIsMutable() { } } /** - * - * *
      * The conversations that match the request.
      * 
@@ -672,8 +602,6 @@ public int getConversationsCount() { } } /** - * - * *
      * The conversations that match the request.
      * 
@@ -688,8 +616,6 @@ public com.google.cloud.contactcenterinsights.v1.Conversation getConversations(i } } /** - * - * *
      * The conversations that match the request.
      * 
@@ -711,8 +637,6 @@ public Builder setConversations( return this; } /** - * - * *
      * The conversations that match the request.
      * 
@@ -731,8 +655,6 @@ public Builder setConversations( return this; } /** - * - * *
      * The conversations that match the request.
      * 
@@ -753,8 +675,6 @@ public Builder addConversations(com.google.cloud.contactcenterinsights.v1.Conver return this; } /** - * - * *
      * The conversations that match the request.
      * 
@@ -776,8 +696,6 @@ public Builder addConversations( return this; } /** - * - * *
      * The conversations that match the request.
      * 
@@ -796,8 +714,6 @@ public Builder addConversations( return this; } /** - * - * *
      * The conversations that match the request.
      * 
@@ -816,8 +732,6 @@ public Builder addConversations( return this; } /** - * - * *
      * The conversations that match the request.
      * 
@@ -825,11 +739,11 @@ public Builder addConversations( * repeated .google.cloud.contactcenterinsights.v1.Conversation conversations = 1; */ public Builder addAllConversations( - java.lang.Iterable - values) { + java.lang.Iterable values) { if (conversationsBuilder_ == null) { ensureConversationsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, conversations_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, conversations_); onChanged(); } else { conversationsBuilder_.addAllMessages(values); @@ -837,8 +751,6 @@ public Builder addAllConversations( return this; } /** - * - * *
      * The conversations that match the request.
      * 
@@ -856,8 +768,6 @@ public Builder clearConversations() { return this; } /** - * - * *
      * The conversations that match the request.
      * 
@@ -875,8 +785,6 @@ public Builder removeConversations(int index) { return this; } /** - * - * *
      * The conversations that match the request.
      * 
@@ -888,33 +796,28 @@ public com.google.cloud.contactcenterinsights.v1.Conversation.Builder getConvers return getConversationsFieldBuilder().getBuilder(index); } /** - * - * *
      * The conversations that match the request.
      * 
* * repeated .google.cloud.contactcenterinsights.v1.Conversation conversations = 1; */ - public com.google.cloud.contactcenterinsights.v1.ConversationOrBuilder - getConversationsOrBuilder(int index) { + public com.google.cloud.contactcenterinsights.v1.ConversationOrBuilder getConversationsOrBuilder( + int index) { if (conversationsBuilder_ == null) { - return conversations_.get(index); - } else { + return conversations_.get(index); } else { return conversationsBuilder_.getMessageOrBuilder(index); } } /** - * - * *
      * The conversations that match the request.
      * 
* * repeated .google.cloud.contactcenterinsights.v1.Conversation conversations = 1; */ - public java.util.List - getConversationsOrBuilderList() { + public java.util.List + getConversationsOrBuilderList() { if (conversationsBuilder_ != null) { return conversationsBuilder_.getMessageOrBuilderList(); } else { @@ -922,22 +825,17 @@ public com.google.cloud.contactcenterinsights.v1.Conversation.Builder getConvers } } /** - * - * *
      * The conversations that match the request.
      * 
* * repeated .google.cloud.contactcenterinsights.v1.Conversation conversations = 1; */ - public com.google.cloud.contactcenterinsights.v1.Conversation.Builder - addConversationsBuilder() { - return getConversationsFieldBuilder() - .addBuilder(com.google.cloud.contactcenterinsights.v1.Conversation.getDefaultInstance()); + public com.google.cloud.contactcenterinsights.v1.Conversation.Builder addConversationsBuilder() { + return getConversationsFieldBuilder().addBuilder( + com.google.cloud.contactcenterinsights.v1.Conversation.getDefaultInstance()); } /** - * - * *
      * The conversations that match the request.
      * 
@@ -946,35 +844,26 @@ public com.google.cloud.contactcenterinsights.v1.Conversation.Builder getConvers */ public com.google.cloud.contactcenterinsights.v1.Conversation.Builder addConversationsBuilder( int index) { - return getConversationsFieldBuilder() - .addBuilder( - index, com.google.cloud.contactcenterinsights.v1.Conversation.getDefaultInstance()); + return getConversationsFieldBuilder().addBuilder( + index, com.google.cloud.contactcenterinsights.v1.Conversation.getDefaultInstance()); } /** - * - * *
      * The conversations that match the request.
      * 
* * repeated .google.cloud.contactcenterinsights.v1.Conversation conversations = 1; */ - public java.util.List - getConversationsBuilderList() { + public java.util.List + getConversationsBuilderList() { return getConversationsFieldBuilder().getBuilderList(); } - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.contactcenterinsights.v1.Conversation, - com.google.cloud.contactcenterinsights.v1.Conversation.Builder, - com.google.cloud.contactcenterinsights.v1.ConversationOrBuilder> + com.google.cloud.contactcenterinsights.v1.Conversation, com.google.cloud.contactcenterinsights.v1.Conversation.Builder, com.google.cloud.contactcenterinsights.v1.ConversationOrBuilder> getConversationsFieldBuilder() { if (conversationsBuilder_ == null) { - conversationsBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.contactcenterinsights.v1.Conversation, - com.google.cloud.contactcenterinsights.v1.Conversation.Builder, - com.google.cloud.contactcenterinsights.v1.ConversationOrBuilder>( + conversationsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.contactcenterinsights.v1.Conversation, com.google.cloud.contactcenterinsights.v1.Conversation.Builder, com.google.cloud.contactcenterinsights.v1.ConversationOrBuilder>( conversations_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), @@ -986,8 +875,6 @@ public com.google.cloud.contactcenterinsights.v1.Conversation.Builder addConvers private java.lang.Object nextPageToken_ = ""; /** - * - * *
      * A token which can be sent as `page_token` to retrieve the next page. If
      * this field is set, it means there is another page available. If it is not
@@ -995,13 +882,13 @@ public com.google.cloud.contactcenterinsights.v1.Conversation.Builder addConvers
      * 
* * string next_page_token = 2; - * * @return The nextPageToken. */ public java.lang.String getNextPageToken() { java.lang.Object ref = nextPageToken_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); nextPageToken_ = s; return s; @@ -1010,8 +897,6 @@ public java.lang.String getNextPageToken() { } } /** - * - * *
      * A token which can be sent as `page_token` to retrieve the next page. If
      * this field is set, it means there is another page available. If it is not
@@ -1019,14 +904,15 @@ public java.lang.String getNextPageToken() {
      * 
* * string next_page_token = 2; - * * @return The bytes for nextPageToken. */ - public com.google.protobuf.ByteString getNextPageTokenBytes() { + public com.google.protobuf.ByteString + getNextPageTokenBytes() { java.lang.Object ref = nextPageToken_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); nextPageToken_ = b; return b; } else { @@ -1034,8 +920,6 @@ public com.google.protobuf.ByteString getNextPageTokenBytes() { } } /** - * - * *
      * A token which can be sent as `page_token` to retrieve the next page. If
      * this field is set, it means there is another page available. If it is not
@@ -1043,22 +927,18 @@ public com.google.protobuf.ByteString getNextPageTokenBytes() {
      * 
* * string next_page_token = 2; - * * @param value The nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageToken(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setNextPageToken( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } nextPageToken_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** - * - * *
      * A token which can be sent as `page_token` to retrieve the next page. If
      * this field is set, it means there is another page available. If it is not
@@ -1066,7 +946,6 @@ public Builder setNextPageToken(java.lang.String value) {
      * 
* * string next_page_token = 2; - * * @return This builder for chaining. */ public Builder clearNextPageToken() { @@ -1076,8 +955,6 @@ public Builder clearNextPageToken() { return this; } /** - * - * *
      * A token which can be sent as `page_token` to retrieve the next page. If
      * this field is set, it means there is another page available. If it is not
@@ -1085,23 +962,21 @@ public Builder clearNextPageToken() {
      * 
* * string next_page_token = 2; - * * @param value The bytes for nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageTokenBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setNextPageTokenBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); nextPageToken_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1111,43 +986,41 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.contactcenterinsights.v1.ListConversationsResponse) } // @@protoc_insertion_point(class_scope:google.cloud.contactcenterinsights.v1.ListConversationsResponse) - private static final com.google.cloud.contactcenterinsights.v1.ListConversationsResponse - DEFAULT_INSTANCE; - + private static final com.google.cloud.contactcenterinsights.v1.ListConversationsResponse DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.cloud.contactcenterinsights.v1.ListConversationsResponse(); } - public static com.google.cloud.contactcenterinsights.v1.ListConversationsResponse - getDefaultInstance() { + public static com.google.cloud.contactcenterinsights.v1.ListConversationsResponse getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListConversationsResponse parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListConversationsResponse parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1159,8 +1032,9 @@ public com.google.protobuf.Parser getParserForType() } @java.lang.Override - public com.google.cloud.contactcenterinsights.v1.ListConversationsResponse - getDefaultInstanceForType() { + public com.google.cloud.contactcenterinsights.v1.ListConversationsResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ListConversationsResponseOrBuilder.java b/owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ListConversationsResponseOrBuilder.java similarity index 73% rename from java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ListConversationsResponseOrBuilder.java rename to owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ListConversationsResponseOrBuilder.java index c0748e013652..6dd89e461b38 100644 --- a/java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ListConversationsResponseOrBuilder.java +++ b/owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ListConversationsResponseOrBuilder.java @@ -1,41 +1,22 @@ -/* - * 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. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/contactcenterinsights/v1/contact_center_insights.proto package com.google.cloud.contactcenterinsights.v1; -public interface ListConversationsResponseOrBuilder - extends +public interface ListConversationsResponseOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.contactcenterinsights.v1.ListConversationsResponse) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * The conversations that match the request.
    * 
* * repeated .google.cloud.contactcenterinsights.v1.Conversation conversations = 1; */ - java.util.List getConversationsList(); + java.util.List + getConversationsList(); /** - * - * *
    * The conversations that match the request.
    * 
@@ -44,8 +25,6 @@ public interface ListConversationsResponseOrBuilder */ com.google.cloud.contactcenterinsights.v1.Conversation getConversations(int index); /** - * - * *
    * The conversations that match the request.
    * 
@@ -54,19 +33,15 @@ public interface ListConversationsResponseOrBuilder */ int getConversationsCount(); /** - * - * *
    * The conversations that match the request.
    * 
* * repeated .google.cloud.contactcenterinsights.v1.Conversation conversations = 1; */ - java.util.List + java.util.List getConversationsOrBuilderList(); /** - * - * *
    * The conversations that match the request.
    * 
@@ -77,8 +52,6 @@ com.google.cloud.contactcenterinsights.v1.ConversationOrBuilder getConversations int index); /** - * - * *
    * A token which can be sent as `page_token` to retrieve the next page. If
    * this field is set, it means there is another page available. If it is not
@@ -86,13 +59,10 @@ com.google.cloud.contactcenterinsights.v1.ConversationOrBuilder getConversations
    * 
* * string next_page_token = 2; - * * @return The nextPageToken. */ java.lang.String getNextPageToken(); /** - * - * *
    * A token which can be sent as `page_token` to retrieve the next page. If
    * this field is set, it means there is another page available. If it is not
@@ -100,8 +70,8 @@ com.google.cloud.contactcenterinsights.v1.ConversationOrBuilder getConversations
    * 
* * string next_page_token = 2; - * * @return The bytes for nextPageToken. */ - com.google.protobuf.ByteString getNextPageTokenBytes(); + com.google.protobuf.ByteString + getNextPageTokenBytes(); } diff --git a/java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ListIssueModelsRequest.java b/owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ListIssueModelsRequest.java similarity index 60% rename from java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ListIssueModelsRequest.java rename to owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ListIssueModelsRequest.java index 9fccb0a3cef3..f6b5dc63eec7 100644 --- a/java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ListIssueModelsRequest.java +++ b/owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ListIssueModelsRequest.java @@ -1,87 +1,62 @@ -/* - * 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. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/contactcenterinsights/v1/contact_center_insights.proto package com.google.cloud.contactcenterinsights.v1; /** - * - * *
  * Request to list issue models.
  * 
* * Protobuf type {@code google.cloud.contactcenterinsights.v1.ListIssueModelsRequest} */ -public final class ListIssueModelsRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class ListIssueModelsRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.contactcenterinsights.v1.ListIssueModelsRequest) ListIssueModelsRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use ListIssueModelsRequest.newBuilder() to construct. private ListIssueModelsRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private ListIssueModelsRequest() { parent_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new ListIssueModelsRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto - .internal_static_google_cloud_contactcenterinsights_v1_ListIssueModelsRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto.internal_static_google_cloud_contactcenterinsights_v1_ListIssueModelsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto - .internal_static_google_cloud_contactcenterinsights_v1_ListIssueModelsRequest_fieldAccessorTable + return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto.internal_static_google_cloud_contactcenterinsights_v1_ListIssueModelsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.contactcenterinsights.v1.ListIssueModelsRequest.class, - com.google.cloud.contactcenterinsights.v1.ListIssueModelsRequest.Builder.class); + com.google.cloud.contactcenterinsights.v1.ListIssueModelsRequest.class, com.google.cloud.contactcenterinsights.v1.ListIssueModelsRequest.Builder.class); } public static final int PARENT_FIELD_NUMBER = 1; - @SuppressWarnings("serial") private volatile java.lang.Object parent_ = ""; /** - * - * *
    * Required. The parent resource of the issue model.
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The parent. */ @java.lang.Override @@ -90,31 +65,29 @@ public java.lang.String getParent() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; } } /** - * - * *
    * Required. The parent resource of the issue model.
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for parent. */ @java.lang.Override - public com.google.protobuf.ByteString getParentBytes() { + public com.google.protobuf.ByteString + getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); parent_ = b; return b; } else { @@ -123,7 +96,6 @@ public com.google.protobuf.ByteString getParentBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -135,7 +107,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); } @@ -159,15 +132,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.contactcenterinsights.v1.ListIssueModelsRequest)) { return super.equals(obj); } - com.google.cloud.contactcenterinsights.v1.ListIssueModelsRequest other = - (com.google.cloud.contactcenterinsights.v1.ListIssueModelsRequest) obj; + com.google.cloud.contactcenterinsights.v1.ListIssueModelsRequest other = (com.google.cloud.contactcenterinsights.v1.ListIssueModelsRequest) obj; - if (!getParent().equals(other.getParent())) return false; + if (!getParent() + .equals(other.getParent())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -187,136 +160,129 @@ public int hashCode() { } public static com.google.cloud.contactcenterinsights.v1.ListIssueModelsRequest parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.contactcenterinsights.v1.ListIssueModelsRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.contactcenterinsights.v1.ListIssueModelsRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.contactcenterinsights.v1.ListIssueModelsRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.contactcenterinsights.v1.ListIssueModelsRequest parseFrom( - byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.contactcenterinsights.v1.ListIssueModelsRequest parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.contactcenterinsights.v1.ListIssueModelsRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.contactcenterinsights.v1.ListIssueModelsRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.contactcenterinsights.v1.ListIssueModelsRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.contactcenterinsights.v1.ListIssueModelsRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.contactcenterinsights.v1.ListIssueModelsRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.contactcenterinsights.v1.ListIssueModelsRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.contactcenterinsights.v1.ListIssueModelsRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.contactcenterinsights.v1.ListIssueModelsRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.contactcenterinsights.v1.ListIssueModelsRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.contactcenterinsights.v1.ListIssueModelsRequest prototype) { + public static Builder newBuilder(com.google.cloud.contactcenterinsights.v1.ListIssueModelsRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Request to list issue models.
    * 
* * Protobuf type {@code google.cloud.contactcenterinsights.v1.ListIssueModelsRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.contactcenterinsights.v1.ListIssueModelsRequest) com.google.cloud.contactcenterinsights.v1.ListIssueModelsRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto - .internal_static_google_cloud_contactcenterinsights_v1_ListIssueModelsRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto.internal_static_google_cloud_contactcenterinsights_v1_ListIssueModelsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto - .internal_static_google_cloud_contactcenterinsights_v1_ListIssueModelsRequest_fieldAccessorTable + return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto.internal_static_google_cloud_contactcenterinsights_v1_ListIssueModelsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.contactcenterinsights.v1.ListIssueModelsRequest.class, - com.google.cloud.contactcenterinsights.v1.ListIssueModelsRequest.Builder.class); + com.google.cloud.contactcenterinsights.v1.ListIssueModelsRequest.class, com.google.cloud.contactcenterinsights.v1.ListIssueModelsRequest.Builder.class); } // Construct using com.google.cloud.contactcenterinsights.v1.ListIssueModelsRequest.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -326,14 +292,13 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto - .internal_static_google_cloud_contactcenterinsights_v1_ListIssueModelsRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto.internal_static_google_cloud_contactcenterinsights_v1_ListIssueModelsRequest_descriptor; } @java.lang.Override - public com.google.cloud.contactcenterinsights.v1.ListIssueModelsRequest - getDefaultInstanceForType() { + public com.google.cloud.contactcenterinsights.v1.ListIssueModelsRequest getDefaultInstanceForType() { return com.google.cloud.contactcenterinsights.v1.ListIssueModelsRequest.getDefaultInstance(); } @@ -348,17 +313,13 @@ public com.google.cloud.contactcenterinsights.v1.ListIssueModelsRequest build() @java.lang.Override public com.google.cloud.contactcenterinsights.v1.ListIssueModelsRequest buildPartial() { - com.google.cloud.contactcenterinsights.v1.ListIssueModelsRequest result = - new com.google.cloud.contactcenterinsights.v1.ListIssueModelsRequest(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + com.google.cloud.contactcenterinsights.v1.ListIssueModelsRequest result = new com.google.cloud.contactcenterinsights.v1.ListIssueModelsRequest(this); + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } - private void buildPartial0( - com.google.cloud.contactcenterinsights.v1.ListIssueModelsRequest result) { + private void buildPartial0(com.google.cloud.contactcenterinsights.v1.ListIssueModelsRequest result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { result.parent_ = parent_; @@ -369,50 +330,46 @@ private void buildPartial0( public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.contactcenterinsights.v1.ListIssueModelsRequest) { - return mergeFrom((com.google.cloud.contactcenterinsights.v1.ListIssueModelsRequest) other); + return mergeFrom((com.google.cloud.contactcenterinsights.v1.ListIssueModelsRequest)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom( - com.google.cloud.contactcenterinsights.v1.ListIssueModelsRequest other) { - if (other - == com.google.cloud.contactcenterinsights.v1.ListIssueModelsRequest.getDefaultInstance()) - return this; + public Builder mergeFrom(com.google.cloud.contactcenterinsights.v1.ListIssueModelsRequest other) { + if (other == com.google.cloud.contactcenterinsights.v1.ListIssueModelsRequest.getDefaultInstance()) return this; if (!other.getParent().isEmpty()) { parent_ = other.parent_; bitField0_ |= 0x00000001; @@ -444,19 +401,17 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - parent_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + parent_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -466,27 +421,22 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private java.lang.Object parent_ = ""; /** - * - * *
      * Required. The parent resource of the issue model.
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The parent. */ public java.lang.String getParent() { java.lang.Object ref = parent_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; @@ -495,23 +445,20 @@ public java.lang.String getParent() { } } /** - * - * *
      * Required. The parent resource of the issue model.
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for parent. */ - public com.google.protobuf.ByteString getParentBytes() { + public com.google.protobuf.ByteString + getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); parent_ = b; return b; } else { @@ -519,39 +466,28 @@ public com.google.protobuf.ByteString getParentBytes() { } } /** - * - * *
      * Required. The parent resource of the issue model.
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The parent to set. * @return This builder for chaining. */ - public Builder setParent(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setParent( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } parent_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
      * Required. The parent resource of the issue model.
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearParent() { @@ -561,32 +497,26 @@ public Builder clearParent() { return this; } /** - * - * *
      * Required. The parent resource of the issue model.
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setParentBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); parent_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -596,43 +526,41 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.contactcenterinsights.v1.ListIssueModelsRequest) } // @@protoc_insertion_point(class_scope:google.cloud.contactcenterinsights.v1.ListIssueModelsRequest) - private static final com.google.cloud.contactcenterinsights.v1.ListIssueModelsRequest - DEFAULT_INSTANCE; - + private static final com.google.cloud.contactcenterinsights.v1.ListIssueModelsRequest DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.cloud.contactcenterinsights.v1.ListIssueModelsRequest(); } - public static com.google.cloud.contactcenterinsights.v1.ListIssueModelsRequest - getDefaultInstance() { + public static com.google.cloud.contactcenterinsights.v1.ListIssueModelsRequest getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListIssueModelsRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListIssueModelsRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -644,8 +572,9 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.cloud.contactcenterinsights.v1.ListIssueModelsRequest - getDefaultInstanceForType() { + public com.google.cloud.contactcenterinsights.v1.ListIssueModelsRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ListIssueModelsRequestOrBuilder.java b/owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ListIssueModelsRequestOrBuilder.java new file mode 100644 index 000000000000..23b0abcf9839 --- /dev/null +++ b/owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ListIssueModelsRequestOrBuilder.java @@ -0,0 +1,29 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/contactcenterinsights/v1/contact_center_insights.proto + +package com.google.cloud.contactcenterinsights.v1; + +public interface ListIssueModelsRequestOrBuilder extends + // @@protoc_insertion_point(interface_extends:google.cloud.contactcenterinsights.v1.ListIssueModelsRequest) + com.google.protobuf.MessageOrBuilder { + + /** + *
+   * Required. The parent resource of the issue model.
+   * 
+ * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The parent. + */ + java.lang.String getParent(); + /** + *
+   * Required. The parent resource of the issue model.
+   * 
+ * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The bytes for parent. + */ + com.google.protobuf.ByteString + getParentBytes(); +} diff --git a/java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ListIssueModelsResponse.java b/owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ListIssueModelsResponse.java similarity index 69% rename from java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ListIssueModelsResponse.java rename to owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ListIssueModelsResponse.java index 6ab3c6d8be32..fbddfda33db3 100644 --- a/java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ListIssueModelsResponse.java +++ b/owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ListIssueModelsResponse.java @@ -1,79 +1,57 @@ -/* - * 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. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/contactcenterinsights/v1/contact_center_insights.proto package com.google.cloud.contactcenterinsights.v1; /** - * - * *
  * The response of listing issue models.
  * 
* * Protobuf type {@code google.cloud.contactcenterinsights.v1.ListIssueModelsResponse} */ -public final class ListIssueModelsResponse extends com.google.protobuf.GeneratedMessageV3 - implements +public final class ListIssueModelsResponse extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.contactcenterinsights.v1.ListIssueModelsResponse) ListIssueModelsResponseOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use ListIssueModelsResponse.newBuilder() to construct. private ListIssueModelsResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private ListIssueModelsResponse() { issueModels_ = java.util.Collections.emptyList(); } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new ListIssueModelsResponse(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto - .internal_static_google_cloud_contactcenterinsights_v1_ListIssueModelsResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto.internal_static_google_cloud_contactcenterinsights_v1_ListIssueModelsResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto - .internal_static_google_cloud_contactcenterinsights_v1_ListIssueModelsResponse_fieldAccessorTable + return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto.internal_static_google_cloud_contactcenterinsights_v1_ListIssueModelsResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.contactcenterinsights.v1.ListIssueModelsResponse.class, - com.google.cloud.contactcenterinsights.v1.ListIssueModelsResponse.Builder.class); + com.google.cloud.contactcenterinsights.v1.ListIssueModelsResponse.class, com.google.cloud.contactcenterinsights.v1.ListIssueModelsResponse.Builder.class); } public static final int ISSUE_MODELS_FIELD_NUMBER = 1; - @SuppressWarnings("serial") private java.util.List issueModels_; /** - * - * *
    * The issue models that match the request.
    * 
@@ -85,8 +63,6 @@ public java.util.List getI return issueModels_; } /** - * - * *
    * The issue models that match the request.
    * 
@@ -94,13 +70,11 @@ public java.util.List getI * repeated .google.cloud.contactcenterinsights.v1.IssueModel issue_models = 1; */ @java.lang.Override - public java.util.List + public java.util.List getIssueModelsOrBuilderList() { return issueModels_; } /** - * - * *
    * The issue models that match the request.
    * 
@@ -112,8 +86,6 @@ public int getIssueModelsCount() { return issueModels_.size(); } /** - * - * *
    * The issue models that match the request.
    * 
@@ -125,8 +97,6 @@ public com.google.cloud.contactcenterinsights.v1.IssueModel getIssueModels(int i return issueModels_.get(index); } /** - * - * *
    * The issue models that match the request.
    * 
@@ -140,7 +110,6 @@ public com.google.cloud.contactcenterinsights.v1.IssueModelOrBuilder getIssueMod } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -152,7 +121,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { for (int i = 0; i < issueModels_.size(); i++) { output.writeMessage(1, issueModels_.get(i)); } @@ -166,7 +136,8 @@ public int getSerializedSize() { size = 0; for (int i = 0; i < issueModels_.size(); i++) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, issueModels_.get(i)); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, issueModels_.get(i)); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -176,15 +147,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.contactcenterinsights.v1.ListIssueModelsResponse)) { return super.equals(obj); } - com.google.cloud.contactcenterinsights.v1.ListIssueModelsResponse other = - (com.google.cloud.contactcenterinsights.v1.ListIssueModelsResponse) obj; + com.google.cloud.contactcenterinsights.v1.ListIssueModelsResponse other = (com.google.cloud.contactcenterinsights.v1.ListIssueModelsResponse) obj; - if (!getIssueModelsList().equals(other.getIssueModelsList())) return false; + if (!getIssueModelsList() + .equals(other.getIssueModelsList())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -206,138 +177,129 @@ public int hashCode() { } public static com.google.cloud.contactcenterinsights.v1.ListIssueModelsResponse parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.contactcenterinsights.v1.ListIssueModelsResponse parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.contactcenterinsights.v1.ListIssueModelsResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.contactcenterinsights.v1.ListIssueModelsResponse parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.contactcenterinsights.v1.ListIssueModelsResponse parseFrom( - byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.contactcenterinsights.v1.ListIssueModelsResponse parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.contactcenterinsights.v1.ListIssueModelsResponse parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.contactcenterinsights.v1.ListIssueModelsResponse parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.contactcenterinsights.v1.ListIssueModelsResponse parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.contactcenterinsights.v1.ListIssueModelsResponse parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.contactcenterinsights.v1.ListIssueModelsResponse - parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.contactcenterinsights.v1.ListIssueModelsResponse parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - - public static com.google.cloud.contactcenterinsights.v1.ListIssueModelsResponse - parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + public static com.google.cloud.contactcenterinsights.v1.ListIssueModelsResponse parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.contactcenterinsights.v1.ListIssueModelsResponse parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.contactcenterinsights.v1.ListIssueModelsResponse parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.contactcenterinsights.v1.ListIssueModelsResponse prototype) { + public static Builder newBuilder(com.google.cloud.contactcenterinsights.v1.ListIssueModelsResponse prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * The response of listing issue models.
    * 
* * Protobuf type {@code google.cloud.contactcenterinsights.v1.ListIssueModelsResponse} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.contactcenterinsights.v1.ListIssueModelsResponse) com.google.cloud.contactcenterinsights.v1.ListIssueModelsResponseOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto - .internal_static_google_cloud_contactcenterinsights_v1_ListIssueModelsResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto.internal_static_google_cloud_contactcenterinsights_v1_ListIssueModelsResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto - .internal_static_google_cloud_contactcenterinsights_v1_ListIssueModelsResponse_fieldAccessorTable + return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto.internal_static_google_cloud_contactcenterinsights_v1_ListIssueModelsResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.contactcenterinsights.v1.ListIssueModelsResponse.class, - com.google.cloud.contactcenterinsights.v1.ListIssueModelsResponse.Builder.class); + com.google.cloud.contactcenterinsights.v1.ListIssueModelsResponse.class, com.google.cloud.contactcenterinsights.v1.ListIssueModelsResponse.Builder.class); } - // Construct using - // com.google.cloud.contactcenterinsights.v1.ListIssueModelsResponse.newBuilder() - private Builder() {} + // Construct using com.google.cloud.contactcenterinsights.v1.ListIssueModelsResponse.newBuilder() + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -353,14 +315,13 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto - .internal_static_google_cloud_contactcenterinsights_v1_ListIssueModelsResponse_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto.internal_static_google_cloud_contactcenterinsights_v1_ListIssueModelsResponse_descriptor; } @java.lang.Override - public com.google.cloud.contactcenterinsights.v1.ListIssueModelsResponse - getDefaultInstanceForType() { + public com.google.cloud.contactcenterinsights.v1.ListIssueModelsResponse getDefaultInstanceForType() { return com.google.cloud.contactcenterinsights.v1.ListIssueModelsResponse.getDefaultInstance(); } @@ -375,18 +336,14 @@ public com.google.cloud.contactcenterinsights.v1.ListIssueModelsResponse build() @java.lang.Override public com.google.cloud.contactcenterinsights.v1.ListIssueModelsResponse buildPartial() { - com.google.cloud.contactcenterinsights.v1.ListIssueModelsResponse result = - new com.google.cloud.contactcenterinsights.v1.ListIssueModelsResponse(this); + com.google.cloud.contactcenterinsights.v1.ListIssueModelsResponse result = new com.google.cloud.contactcenterinsights.v1.ListIssueModelsResponse(this); buildPartialRepeatedFields(result); - if (bitField0_ != 0) { - buildPartial0(result); - } + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } - private void buildPartialRepeatedFields( - com.google.cloud.contactcenterinsights.v1.ListIssueModelsResponse result) { + private void buildPartialRepeatedFields(com.google.cloud.contactcenterinsights.v1.ListIssueModelsResponse result) { if (issueModelsBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { issueModels_ = java.util.Collections.unmodifiableList(issueModels_); @@ -398,8 +355,7 @@ private void buildPartialRepeatedFields( } } - private void buildPartial0( - com.google.cloud.contactcenterinsights.v1.ListIssueModelsResponse result) { + private void buildPartial0(com.google.cloud.contactcenterinsights.v1.ListIssueModelsResponse result) { int from_bitField0_ = bitField0_; } @@ -407,50 +363,46 @@ private void buildPartial0( public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.contactcenterinsights.v1.ListIssueModelsResponse) { - return mergeFrom((com.google.cloud.contactcenterinsights.v1.ListIssueModelsResponse) other); + return mergeFrom((com.google.cloud.contactcenterinsights.v1.ListIssueModelsResponse)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom( - com.google.cloud.contactcenterinsights.v1.ListIssueModelsResponse other) { - if (other - == com.google.cloud.contactcenterinsights.v1.ListIssueModelsResponse.getDefaultInstance()) - return this; + public Builder mergeFrom(com.google.cloud.contactcenterinsights.v1.ListIssueModelsResponse other) { + if (other == com.google.cloud.contactcenterinsights.v1.ListIssueModelsResponse.getDefaultInstance()) return this; if (issueModelsBuilder_ == null) { if (!other.issueModels_.isEmpty()) { if (issueModels_.isEmpty()) { @@ -469,10 +421,9 @@ public Builder mergeFrom( issueModelsBuilder_ = null; issueModels_ = other.issueModels_; bitField0_ = (bitField0_ & ~0x00000001); - issueModelsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders - ? getIssueModelsFieldBuilder() - : null; + issueModelsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getIssueModelsFieldBuilder() : null; } else { issueModelsBuilder_.addAllMessages(other.issueModels_); } @@ -504,27 +455,25 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - com.google.cloud.contactcenterinsights.v1.IssueModel m = - input.readMessage( - com.google.cloud.contactcenterinsights.v1.IssueModel.parser(), - extensionRegistry); - if (issueModelsBuilder_ == null) { - ensureIssueModelsIsMutable(); - issueModels_.add(m); - } else { - issueModelsBuilder_.addMessage(m); - } - break; - } // case 10 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + com.google.cloud.contactcenterinsights.v1.IssueModel m = + input.readMessage( + com.google.cloud.contactcenterinsights.v1.IssueModel.parser(), + extensionRegistry); + if (issueModelsBuilder_ == null) { + ensureIssueModelsIsMutable(); + issueModels_.add(m); + } else { + issueModelsBuilder_.addMessage(m); + } + break; + } // case 10 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -534,38 +483,28 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private java.util.List issueModels_ = - java.util.Collections.emptyList(); - + java.util.Collections.emptyList(); private void ensureIssueModelsIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { - issueModels_ = - new java.util.ArrayList( - issueModels_); + issueModels_ = new java.util.ArrayList(issueModels_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.contactcenterinsights.v1.IssueModel, - com.google.cloud.contactcenterinsights.v1.IssueModel.Builder, - com.google.cloud.contactcenterinsights.v1.IssueModelOrBuilder> - issueModelsBuilder_; + com.google.cloud.contactcenterinsights.v1.IssueModel, com.google.cloud.contactcenterinsights.v1.IssueModel.Builder, com.google.cloud.contactcenterinsights.v1.IssueModelOrBuilder> issueModelsBuilder_; /** - * - * *
      * The issue models that match the request.
      * 
* * repeated .google.cloud.contactcenterinsights.v1.IssueModel issue_models = 1; */ - public java.util.List - getIssueModelsList() { + public java.util.List getIssueModelsList() { if (issueModelsBuilder_ == null) { return java.util.Collections.unmodifiableList(issueModels_); } else { @@ -573,8 +512,6 @@ private void ensureIssueModelsIsMutable() { } } /** - * - * *
      * The issue models that match the request.
      * 
@@ -589,8 +526,6 @@ public int getIssueModelsCount() { } } /** - * - * *
      * The issue models that match the request.
      * 
@@ -605,8 +540,6 @@ public com.google.cloud.contactcenterinsights.v1.IssueModel getIssueModels(int i } } /** - * - * *
      * The issue models that match the request.
      * 
@@ -628,8 +561,6 @@ public Builder setIssueModels( return this; } /** - * - * *
      * The issue models that match the request.
      * 
@@ -648,8 +579,6 @@ public Builder setIssueModels( return this; } /** - * - * *
      * The issue models that match the request.
      * 
@@ -670,8 +599,6 @@ public Builder addIssueModels(com.google.cloud.contactcenterinsights.v1.IssueMod return this; } /** - * - * *
      * The issue models that match the request.
      * 
@@ -693,8 +620,6 @@ public Builder addIssueModels( return this; } /** - * - * *
      * The issue models that match the request.
      * 
@@ -713,8 +638,6 @@ public Builder addIssueModels( return this; } /** - * - * *
      * The issue models that match the request.
      * 
@@ -733,8 +656,6 @@ public Builder addIssueModels( return this; } /** - * - * *
      * The issue models that match the request.
      * 
@@ -745,7 +666,8 @@ public Builder addAllIssueModels( java.lang.Iterable values) { if (issueModelsBuilder_ == null) { ensureIssueModelsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, issueModels_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, issueModels_); onChanged(); } else { issueModelsBuilder_.addAllMessages(values); @@ -753,8 +675,6 @@ public Builder addAllIssueModels( return this; } /** - * - * *
      * The issue models that match the request.
      * 
@@ -772,8 +692,6 @@ public Builder clearIssueModels() { return this; } /** - * - * *
      * The issue models that match the request.
      * 
@@ -791,8 +709,6 @@ public Builder removeIssueModels(int index) { return this; } /** - * - * *
      * The issue models that match the request.
      * 
@@ -804,8 +720,6 @@ public com.google.cloud.contactcenterinsights.v1.IssueModel.Builder getIssueMode return getIssueModelsFieldBuilder().getBuilder(index); } /** - * - * *
      * The issue models that match the request.
      * 
@@ -815,22 +729,19 @@ public com.google.cloud.contactcenterinsights.v1.IssueModel.Builder getIssueMode public com.google.cloud.contactcenterinsights.v1.IssueModelOrBuilder getIssueModelsOrBuilder( int index) { if (issueModelsBuilder_ == null) { - return issueModels_.get(index); - } else { + return issueModels_.get(index); } else { return issueModelsBuilder_.getMessageOrBuilder(index); } } /** - * - * *
      * The issue models that match the request.
      * 
* * repeated .google.cloud.contactcenterinsights.v1.IssueModel issue_models = 1; */ - public java.util.List - getIssueModelsOrBuilderList() { + public java.util.List + getIssueModelsOrBuilderList() { if (issueModelsBuilder_ != null) { return issueModelsBuilder_.getMessageOrBuilderList(); } else { @@ -838,8 +749,6 @@ public com.google.cloud.contactcenterinsights.v1.IssueModelOrBuilder getIssueMod } } /** - * - * *
      * The issue models that match the request.
      * 
@@ -847,12 +756,10 @@ public com.google.cloud.contactcenterinsights.v1.IssueModelOrBuilder getIssueMod * repeated .google.cloud.contactcenterinsights.v1.IssueModel issue_models = 1; */ public com.google.cloud.contactcenterinsights.v1.IssueModel.Builder addIssueModelsBuilder() { - return getIssueModelsFieldBuilder() - .addBuilder(com.google.cloud.contactcenterinsights.v1.IssueModel.getDefaultInstance()); + return getIssueModelsFieldBuilder().addBuilder( + com.google.cloud.contactcenterinsights.v1.IssueModel.getDefaultInstance()); } /** - * - * *
      * The issue models that match the request.
      * 
@@ -861,43 +768,37 @@ public com.google.cloud.contactcenterinsights.v1.IssueModel.Builder addIssueMode */ public com.google.cloud.contactcenterinsights.v1.IssueModel.Builder addIssueModelsBuilder( int index) { - return getIssueModelsFieldBuilder() - .addBuilder( - index, com.google.cloud.contactcenterinsights.v1.IssueModel.getDefaultInstance()); + return getIssueModelsFieldBuilder().addBuilder( + index, com.google.cloud.contactcenterinsights.v1.IssueModel.getDefaultInstance()); } /** - * - * *
      * The issue models that match the request.
      * 
* * repeated .google.cloud.contactcenterinsights.v1.IssueModel issue_models = 1; */ - public java.util.List - getIssueModelsBuilderList() { + public java.util.List + getIssueModelsBuilderList() { return getIssueModelsFieldBuilder().getBuilderList(); } - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.contactcenterinsights.v1.IssueModel, - com.google.cloud.contactcenterinsights.v1.IssueModel.Builder, - com.google.cloud.contactcenterinsights.v1.IssueModelOrBuilder> + com.google.cloud.contactcenterinsights.v1.IssueModel, com.google.cloud.contactcenterinsights.v1.IssueModel.Builder, com.google.cloud.contactcenterinsights.v1.IssueModelOrBuilder> getIssueModelsFieldBuilder() { if (issueModelsBuilder_ == null) { - issueModelsBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.contactcenterinsights.v1.IssueModel, - com.google.cloud.contactcenterinsights.v1.IssueModel.Builder, - com.google.cloud.contactcenterinsights.v1.IssueModelOrBuilder>( - issueModels_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); + issueModelsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.contactcenterinsights.v1.IssueModel, com.google.cloud.contactcenterinsights.v1.IssueModel.Builder, com.google.cloud.contactcenterinsights.v1.IssueModelOrBuilder>( + issueModels_, + ((bitField0_ & 0x00000001) != 0), + getParentForChildren(), + isClean()); issueModels_ = null; } return issueModelsBuilder_; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -907,43 +808,41 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.contactcenterinsights.v1.ListIssueModelsResponse) } // @@protoc_insertion_point(class_scope:google.cloud.contactcenterinsights.v1.ListIssueModelsResponse) - private static final com.google.cloud.contactcenterinsights.v1.ListIssueModelsResponse - DEFAULT_INSTANCE; - + private static final com.google.cloud.contactcenterinsights.v1.ListIssueModelsResponse DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.cloud.contactcenterinsights.v1.ListIssueModelsResponse(); } - public static com.google.cloud.contactcenterinsights.v1.ListIssueModelsResponse - getDefaultInstance() { + public static com.google.cloud.contactcenterinsights.v1.ListIssueModelsResponse getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListIssueModelsResponse parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListIssueModelsResponse parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -955,8 +854,9 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.cloud.contactcenterinsights.v1.ListIssueModelsResponse - getDefaultInstanceForType() { + public com.google.cloud.contactcenterinsights.v1.ListIssueModelsResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ListIssueModelsResponseOrBuilder.java b/owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ListIssueModelsResponseOrBuilder.java similarity index 66% rename from java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ListIssueModelsResponseOrBuilder.java rename to owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ListIssueModelsResponseOrBuilder.java index 283c886385af..103f31aa0902 100644 --- a/java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ListIssueModelsResponseOrBuilder.java +++ b/owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ListIssueModelsResponseOrBuilder.java @@ -1,41 +1,22 @@ -/* - * 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. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/contactcenterinsights/v1/contact_center_insights.proto package com.google.cloud.contactcenterinsights.v1; -public interface ListIssueModelsResponseOrBuilder - extends +public interface ListIssueModelsResponseOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.contactcenterinsights.v1.ListIssueModelsResponse) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * The issue models that match the request.
    * 
* * repeated .google.cloud.contactcenterinsights.v1.IssueModel issue_models = 1; */ - java.util.List getIssueModelsList(); + java.util.List + getIssueModelsList(); /** - * - * *
    * The issue models that match the request.
    * 
@@ -44,8 +25,6 @@ public interface ListIssueModelsResponseOrBuilder */ com.google.cloud.contactcenterinsights.v1.IssueModel getIssueModels(int index); /** - * - * *
    * The issue models that match the request.
    * 
@@ -54,24 +33,21 @@ public interface ListIssueModelsResponseOrBuilder */ int getIssueModelsCount(); /** - * - * *
    * The issue models that match the request.
    * 
* * repeated .google.cloud.contactcenterinsights.v1.IssueModel issue_models = 1; */ - java.util.List + java.util.List getIssueModelsOrBuilderList(); /** - * - * *
    * The issue models that match the request.
    * 
* * repeated .google.cloud.contactcenterinsights.v1.IssueModel issue_models = 1; */ - com.google.cloud.contactcenterinsights.v1.IssueModelOrBuilder getIssueModelsOrBuilder(int index); + com.google.cloud.contactcenterinsights.v1.IssueModelOrBuilder getIssueModelsOrBuilder( + int index); } diff --git a/java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ListIssuesRequest.java b/owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ListIssuesRequest.java similarity index 62% rename from java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ListIssuesRequest.java rename to owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ListIssuesRequest.java index 7effecdd2bbc..36c272f3c0ae 100644 --- a/java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ListIssuesRequest.java +++ b/owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ListIssuesRequest.java @@ -1,87 +1,62 @@ -/* - * 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. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/contactcenterinsights/v1/contact_center_insights.proto package com.google.cloud.contactcenterinsights.v1; /** - * - * *
  * Request to list issues.
  * 
* * Protobuf type {@code google.cloud.contactcenterinsights.v1.ListIssuesRequest} */ -public final class ListIssuesRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class ListIssuesRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.contactcenterinsights.v1.ListIssuesRequest) ListIssuesRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use ListIssuesRequest.newBuilder() to construct. private ListIssuesRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private ListIssuesRequest() { parent_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new ListIssuesRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto - .internal_static_google_cloud_contactcenterinsights_v1_ListIssuesRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto.internal_static_google_cloud_contactcenterinsights_v1_ListIssuesRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto - .internal_static_google_cloud_contactcenterinsights_v1_ListIssuesRequest_fieldAccessorTable + return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto.internal_static_google_cloud_contactcenterinsights_v1_ListIssuesRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.contactcenterinsights.v1.ListIssuesRequest.class, - com.google.cloud.contactcenterinsights.v1.ListIssuesRequest.Builder.class); + com.google.cloud.contactcenterinsights.v1.ListIssuesRequest.class, com.google.cloud.contactcenterinsights.v1.ListIssuesRequest.Builder.class); } public static final int PARENT_FIELD_NUMBER = 1; - @SuppressWarnings("serial") private volatile java.lang.Object parent_ = ""; /** - * - * *
    * Required. The parent resource of the issue.
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The parent. */ @java.lang.Override @@ -90,31 +65,29 @@ public java.lang.String getParent() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; } } /** - * - * *
    * Required. The parent resource of the issue.
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for parent. */ @java.lang.Override - public com.google.protobuf.ByteString getParentBytes() { + public com.google.protobuf.ByteString + getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); parent_ = b; return b; } else { @@ -123,7 +96,6 @@ public com.google.protobuf.ByteString getParentBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -135,7 +107,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); } @@ -159,15 +132,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.contactcenterinsights.v1.ListIssuesRequest)) { return super.equals(obj); } - com.google.cloud.contactcenterinsights.v1.ListIssuesRequest other = - (com.google.cloud.contactcenterinsights.v1.ListIssuesRequest) obj; + com.google.cloud.contactcenterinsights.v1.ListIssuesRequest other = (com.google.cloud.contactcenterinsights.v1.ListIssuesRequest) obj; - if (!getParent().equals(other.getParent())) return false; + if (!getParent() + .equals(other.getParent())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -187,136 +160,129 @@ public int hashCode() { } public static com.google.cloud.contactcenterinsights.v1.ListIssuesRequest parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.contactcenterinsights.v1.ListIssuesRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.contactcenterinsights.v1.ListIssuesRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.contactcenterinsights.v1.ListIssuesRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.contactcenterinsights.v1.ListIssuesRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.contactcenterinsights.v1.ListIssuesRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.contactcenterinsights.v1.ListIssuesRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.contactcenterinsights.v1.ListIssuesRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.contactcenterinsights.v1.ListIssuesRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.contactcenterinsights.v1.ListIssuesRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.contactcenterinsights.v1.ListIssuesRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.contactcenterinsights.v1.ListIssuesRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.contactcenterinsights.v1.ListIssuesRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.contactcenterinsights.v1.ListIssuesRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.contactcenterinsights.v1.ListIssuesRequest prototype) { + public static Builder newBuilder(com.google.cloud.contactcenterinsights.v1.ListIssuesRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Request to list issues.
    * 
* * Protobuf type {@code google.cloud.contactcenterinsights.v1.ListIssuesRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.contactcenterinsights.v1.ListIssuesRequest) com.google.cloud.contactcenterinsights.v1.ListIssuesRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto - .internal_static_google_cloud_contactcenterinsights_v1_ListIssuesRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto.internal_static_google_cloud_contactcenterinsights_v1_ListIssuesRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto - .internal_static_google_cloud_contactcenterinsights_v1_ListIssuesRequest_fieldAccessorTable + return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto.internal_static_google_cloud_contactcenterinsights_v1_ListIssuesRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.contactcenterinsights.v1.ListIssuesRequest.class, - com.google.cloud.contactcenterinsights.v1.ListIssuesRequest.Builder.class); + com.google.cloud.contactcenterinsights.v1.ListIssuesRequest.class, com.google.cloud.contactcenterinsights.v1.ListIssuesRequest.Builder.class); } // Construct using com.google.cloud.contactcenterinsights.v1.ListIssuesRequest.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -326,9 +292,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto - .internal_static_google_cloud_contactcenterinsights_v1_ListIssuesRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto.internal_static_google_cloud_contactcenterinsights_v1_ListIssuesRequest_descriptor; } @java.lang.Override @@ -347,11 +313,8 @@ public com.google.cloud.contactcenterinsights.v1.ListIssuesRequest build() { @java.lang.Override public com.google.cloud.contactcenterinsights.v1.ListIssuesRequest buildPartial() { - com.google.cloud.contactcenterinsights.v1.ListIssuesRequest result = - new com.google.cloud.contactcenterinsights.v1.ListIssuesRequest(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + com.google.cloud.contactcenterinsights.v1.ListIssuesRequest result = new com.google.cloud.contactcenterinsights.v1.ListIssuesRequest(this); + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } @@ -367,39 +330,38 @@ private void buildPartial0(com.google.cloud.contactcenterinsights.v1.ListIssuesR public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.contactcenterinsights.v1.ListIssuesRequest) { - return mergeFrom((com.google.cloud.contactcenterinsights.v1.ListIssuesRequest) other); + return mergeFrom((com.google.cloud.contactcenterinsights.v1.ListIssuesRequest)other); } else { super.mergeFrom(other); return this; @@ -407,8 +369,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.contactcenterinsights.v1.ListIssuesRequest other) { - if (other == com.google.cloud.contactcenterinsights.v1.ListIssuesRequest.getDefaultInstance()) - return this; + if (other == com.google.cloud.contactcenterinsights.v1.ListIssuesRequest.getDefaultInstance()) return this; if (!other.getParent().isEmpty()) { parent_ = other.parent_; bitField0_ |= 0x00000001; @@ -440,19 +401,17 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - parent_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + parent_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -462,27 +421,22 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private java.lang.Object parent_ = ""; /** - * - * *
      * Required. The parent resource of the issue.
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The parent. */ public java.lang.String getParent() { java.lang.Object ref = parent_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; @@ -491,23 +445,20 @@ public java.lang.String getParent() { } } /** - * - * *
      * Required. The parent resource of the issue.
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for parent. */ - public com.google.protobuf.ByteString getParentBytes() { + public com.google.protobuf.ByteString + getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); parent_ = b; return b; } else { @@ -515,39 +466,28 @@ public com.google.protobuf.ByteString getParentBytes() { } } /** - * - * *
      * Required. The parent resource of the issue.
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The parent to set. * @return This builder for chaining. */ - public Builder setParent(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setParent( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } parent_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
      * Required. The parent resource of the issue.
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearParent() { @@ -557,32 +497,26 @@ public Builder clearParent() { return this; } /** - * - * *
      * Required. The parent resource of the issue.
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setParentBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); parent_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -592,12 +526,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.contactcenterinsights.v1.ListIssuesRequest) } // @@protoc_insertion_point(class_scope:google.cloud.contactcenterinsights.v1.ListIssuesRequest) private static final com.google.cloud.contactcenterinsights.v1.ListIssuesRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.contactcenterinsights.v1.ListIssuesRequest(); } @@ -606,27 +540,27 @@ public static com.google.cloud.contactcenterinsights.v1.ListIssuesRequest getDef return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListIssuesRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListIssuesRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -641,4 +575,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.contactcenterinsights.v1.ListIssuesRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ListIssuesRequestOrBuilder.java b/owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ListIssuesRequestOrBuilder.java new file mode 100644 index 000000000000..b1393cf51473 --- /dev/null +++ b/owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ListIssuesRequestOrBuilder.java @@ -0,0 +1,29 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/contactcenterinsights/v1/contact_center_insights.proto + +package com.google.cloud.contactcenterinsights.v1; + +public interface ListIssuesRequestOrBuilder extends + // @@protoc_insertion_point(interface_extends:google.cloud.contactcenterinsights.v1.ListIssuesRequest) + com.google.protobuf.MessageOrBuilder { + + /** + *
+   * Required. The parent resource of the issue.
+   * 
+ * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The parent. + */ + java.lang.String getParent(); + /** + *
+   * Required. The parent resource of the issue.
+   * 
+ * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The bytes for parent. + */ + com.google.protobuf.ByteString + getParentBytes(); +} diff --git a/java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ListIssuesResponse.java b/owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ListIssuesResponse.java similarity index 69% rename from java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ListIssuesResponse.java rename to owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ListIssuesResponse.java index b991899534d5..2b6a296391f6 100644 --- a/java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ListIssuesResponse.java +++ b/owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ListIssuesResponse.java @@ -1,79 +1,57 @@ -/* - * 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. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/contactcenterinsights/v1/contact_center_insights.proto package com.google.cloud.contactcenterinsights.v1; /** - * - * *
  * The response of listing issues.
  * 
* * Protobuf type {@code google.cloud.contactcenterinsights.v1.ListIssuesResponse} */ -public final class ListIssuesResponse extends com.google.protobuf.GeneratedMessageV3 - implements +public final class ListIssuesResponse extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.contactcenterinsights.v1.ListIssuesResponse) ListIssuesResponseOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use ListIssuesResponse.newBuilder() to construct. private ListIssuesResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private ListIssuesResponse() { issues_ = java.util.Collections.emptyList(); } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new ListIssuesResponse(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto - .internal_static_google_cloud_contactcenterinsights_v1_ListIssuesResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto.internal_static_google_cloud_contactcenterinsights_v1_ListIssuesResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto - .internal_static_google_cloud_contactcenterinsights_v1_ListIssuesResponse_fieldAccessorTable + return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto.internal_static_google_cloud_contactcenterinsights_v1_ListIssuesResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.contactcenterinsights.v1.ListIssuesResponse.class, - com.google.cloud.contactcenterinsights.v1.ListIssuesResponse.Builder.class); + com.google.cloud.contactcenterinsights.v1.ListIssuesResponse.class, com.google.cloud.contactcenterinsights.v1.ListIssuesResponse.Builder.class); } public static final int ISSUES_FIELD_NUMBER = 1; - @SuppressWarnings("serial") private java.util.List issues_; /** - * - * *
    * The issues that match the request.
    * 
@@ -85,8 +63,6 @@ public java.util.List getIssues return issues_; } /** - * - * *
    * The issues that match the request.
    * 
@@ -94,13 +70,11 @@ public java.util.List getIssues * repeated .google.cloud.contactcenterinsights.v1.Issue issues = 1; */ @java.lang.Override - public java.util.List + public java.util.List getIssuesOrBuilderList() { return issues_; } /** - * - * *
    * The issues that match the request.
    * 
@@ -112,8 +86,6 @@ public int getIssuesCount() { return issues_.size(); } /** - * - * *
    * The issues that match the request.
    * 
@@ -125,8 +97,6 @@ public com.google.cloud.contactcenterinsights.v1.Issue getIssues(int index) { return issues_.get(index); } /** - * - * *
    * The issues that match the request.
    * 
@@ -134,12 +104,12 @@ public com.google.cloud.contactcenterinsights.v1.Issue getIssues(int index) { * repeated .google.cloud.contactcenterinsights.v1.Issue issues = 1; */ @java.lang.Override - public com.google.cloud.contactcenterinsights.v1.IssueOrBuilder getIssuesOrBuilder(int index) { + public com.google.cloud.contactcenterinsights.v1.IssueOrBuilder getIssuesOrBuilder( + int index) { return issues_.get(index); } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -151,7 +121,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { for (int i = 0; i < issues_.size(); i++) { output.writeMessage(1, issues_.get(i)); } @@ -165,7 +136,8 @@ public int getSerializedSize() { size = 0; for (int i = 0; i < issues_.size(); i++) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, issues_.get(i)); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, issues_.get(i)); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -175,15 +147,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.contactcenterinsights.v1.ListIssuesResponse)) { return super.equals(obj); } - com.google.cloud.contactcenterinsights.v1.ListIssuesResponse other = - (com.google.cloud.contactcenterinsights.v1.ListIssuesResponse) obj; + com.google.cloud.contactcenterinsights.v1.ListIssuesResponse other = (com.google.cloud.contactcenterinsights.v1.ListIssuesResponse) obj; - if (!getIssuesList().equals(other.getIssuesList())) return false; + if (!getIssuesList() + .equals(other.getIssuesList())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -205,136 +177,129 @@ public int hashCode() { } public static com.google.cloud.contactcenterinsights.v1.ListIssuesResponse parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.contactcenterinsights.v1.ListIssuesResponse parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.contactcenterinsights.v1.ListIssuesResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.contactcenterinsights.v1.ListIssuesResponse parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.contactcenterinsights.v1.ListIssuesResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.contactcenterinsights.v1.ListIssuesResponse parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.contactcenterinsights.v1.ListIssuesResponse parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.contactcenterinsights.v1.ListIssuesResponse parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.contactcenterinsights.v1.ListIssuesResponse parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.contactcenterinsights.v1.ListIssuesResponse parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.contactcenterinsights.v1.ListIssuesResponse parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.contactcenterinsights.v1.ListIssuesResponse parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.contactcenterinsights.v1.ListIssuesResponse parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.contactcenterinsights.v1.ListIssuesResponse parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.contactcenterinsights.v1.ListIssuesResponse prototype) { + public static Builder newBuilder(com.google.cloud.contactcenterinsights.v1.ListIssuesResponse prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * The response of listing issues.
    * 
* * Protobuf type {@code google.cloud.contactcenterinsights.v1.ListIssuesResponse} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.contactcenterinsights.v1.ListIssuesResponse) com.google.cloud.contactcenterinsights.v1.ListIssuesResponseOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto - .internal_static_google_cloud_contactcenterinsights_v1_ListIssuesResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto.internal_static_google_cloud_contactcenterinsights_v1_ListIssuesResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto - .internal_static_google_cloud_contactcenterinsights_v1_ListIssuesResponse_fieldAccessorTable + return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto.internal_static_google_cloud_contactcenterinsights_v1_ListIssuesResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.contactcenterinsights.v1.ListIssuesResponse.class, - com.google.cloud.contactcenterinsights.v1.ListIssuesResponse.Builder.class); + com.google.cloud.contactcenterinsights.v1.ListIssuesResponse.class, com.google.cloud.contactcenterinsights.v1.ListIssuesResponse.Builder.class); } // Construct using com.google.cloud.contactcenterinsights.v1.ListIssuesResponse.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -350,14 +315,13 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto - .internal_static_google_cloud_contactcenterinsights_v1_ListIssuesResponse_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto.internal_static_google_cloud_contactcenterinsights_v1_ListIssuesResponse_descriptor; } @java.lang.Override - public com.google.cloud.contactcenterinsights.v1.ListIssuesResponse - getDefaultInstanceForType() { + public com.google.cloud.contactcenterinsights.v1.ListIssuesResponse getDefaultInstanceForType() { return com.google.cloud.contactcenterinsights.v1.ListIssuesResponse.getDefaultInstance(); } @@ -372,18 +336,14 @@ public com.google.cloud.contactcenterinsights.v1.ListIssuesResponse build() { @java.lang.Override public com.google.cloud.contactcenterinsights.v1.ListIssuesResponse buildPartial() { - com.google.cloud.contactcenterinsights.v1.ListIssuesResponse result = - new com.google.cloud.contactcenterinsights.v1.ListIssuesResponse(this); + com.google.cloud.contactcenterinsights.v1.ListIssuesResponse result = new com.google.cloud.contactcenterinsights.v1.ListIssuesResponse(this); buildPartialRepeatedFields(result); - if (bitField0_ != 0) { - buildPartial0(result); - } + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } - private void buildPartialRepeatedFields( - com.google.cloud.contactcenterinsights.v1.ListIssuesResponse result) { + private void buildPartialRepeatedFields(com.google.cloud.contactcenterinsights.v1.ListIssuesResponse result) { if (issuesBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { issues_ = java.util.Collections.unmodifiableList(issues_); @@ -395,8 +355,7 @@ private void buildPartialRepeatedFields( } } - private void buildPartial0( - com.google.cloud.contactcenterinsights.v1.ListIssuesResponse result) { + private void buildPartial0(com.google.cloud.contactcenterinsights.v1.ListIssuesResponse result) { int from_bitField0_ = bitField0_; } @@ -404,39 +363,38 @@ private void buildPartial0( public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.contactcenterinsights.v1.ListIssuesResponse) { - return mergeFrom((com.google.cloud.contactcenterinsights.v1.ListIssuesResponse) other); + return mergeFrom((com.google.cloud.contactcenterinsights.v1.ListIssuesResponse)other); } else { super.mergeFrom(other); return this; @@ -444,9 +402,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.contactcenterinsights.v1.ListIssuesResponse other) { - if (other - == com.google.cloud.contactcenterinsights.v1.ListIssuesResponse.getDefaultInstance()) - return this; + if (other == com.google.cloud.contactcenterinsights.v1.ListIssuesResponse.getDefaultInstance()) return this; if (issuesBuilder_ == null) { if (!other.issues_.isEmpty()) { if (issues_.isEmpty()) { @@ -465,10 +421,9 @@ public Builder mergeFrom(com.google.cloud.contactcenterinsights.v1.ListIssuesRes issuesBuilder_ = null; issues_ = other.issues_; bitField0_ = (bitField0_ & ~0x00000001); - issuesBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders - ? getIssuesFieldBuilder() - : null; + issuesBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getIssuesFieldBuilder() : null; } else { issuesBuilder_.addAllMessages(other.issues_); } @@ -500,27 +455,25 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - com.google.cloud.contactcenterinsights.v1.Issue m = - input.readMessage( - com.google.cloud.contactcenterinsights.v1.Issue.parser(), - extensionRegistry); - if (issuesBuilder_ == null) { - ensureIssuesIsMutable(); - issues_.add(m); - } else { - issuesBuilder_.addMessage(m); - } - break; - } // case 10 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + com.google.cloud.contactcenterinsights.v1.Issue m = + input.readMessage( + com.google.cloud.contactcenterinsights.v1.Issue.parser(), + extensionRegistry); + if (issuesBuilder_ == null) { + ensureIssuesIsMutable(); + issues_.add(m); + } else { + issuesBuilder_.addMessage(m); + } + break; + } // case 10 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -530,28 +483,21 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private java.util.List issues_ = - java.util.Collections.emptyList(); - + java.util.Collections.emptyList(); private void ensureIssuesIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { issues_ = new java.util.ArrayList(issues_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.contactcenterinsights.v1.Issue, - com.google.cloud.contactcenterinsights.v1.Issue.Builder, - com.google.cloud.contactcenterinsights.v1.IssueOrBuilder> - issuesBuilder_; + com.google.cloud.contactcenterinsights.v1.Issue, com.google.cloud.contactcenterinsights.v1.Issue.Builder, com.google.cloud.contactcenterinsights.v1.IssueOrBuilder> issuesBuilder_; /** - * - * *
      * The issues that match the request.
      * 
@@ -566,8 +512,6 @@ public java.util.List getIssues } } /** - * - * *
      * The issues that match the request.
      * 
@@ -582,8 +526,6 @@ public int getIssuesCount() { } } /** - * - * *
      * The issues that match the request.
      * 
@@ -598,15 +540,14 @@ public com.google.cloud.contactcenterinsights.v1.Issue getIssues(int index) { } } /** - * - * *
      * The issues that match the request.
      * 
* * repeated .google.cloud.contactcenterinsights.v1.Issue issues = 1; */ - public Builder setIssues(int index, com.google.cloud.contactcenterinsights.v1.Issue value) { + public Builder setIssues( + int index, com.google.cloud.contactcenterinsights.v1.Issue value) { if (issuesBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -620,8 +561,6 @@ public Builder setIssues(int index, com.google.cloud.contactcenterinsights.v1.Is return this; } /** - * - * *
      * The issues that match the request.
      * 
@@ -640,8 +579,6 @@ public Builder setIssues( return this; } /** - * - * *
      * The issues that match the request.
      * 
@@ -662,15 +599,14 @@ public Builder addIssues(com.google.cloud.contactcenterinsights.v1.Issue value) return this; } /** - * - * *
      * The issues that match the request.
      * 
* * repeated .google.cloud.contactcenterinsights.v1.Issue issues = 1; */ - public Builder addIssues(int index, com.google.cloud.contactcenterinsights.v1.Issue value) { + public Builder addIssues( + int index, com.google.cloud.contactcenterinsights.v1.Issue value) { if (issuesBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -684,8 +620,6 @@ public Builder addIssues(int index, com.google.cloud.contactcenterinsights.v1.Is return this; } /** - * - * *
      * The issues that match the request.
      * 
@@ -704,8 +638,6 @@ public Builder addIssues( return this; } /** - * - * *
      * The issues that match the request.
      * 
@@ -724,8 +656,6 @@ public Builder addIssues( return this; } /** - * - * *
      * The issues that match the request.
      * 
@@ -736,7 +666,8 @@ public Builder addAllIssues( java.lang.Iterable values) { if (issuesBuilder_ == null) { ensureIssuesIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, issues_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, issues_); onChanged(); } else { issuesBuilder_.addAllMessages(values); @@ -744,8 +675,6 @@ public Builder addAllIssues( return this; } /** - * - * *
      * The issues that match the request.
      * 
@@ -763,8 +692,6 @@ public Builder clearIssues() { return this; } /** - * - * *
      * The issues that match the request.
      * 
@@ -782,44 +709,39 @@ public Builder removeIssues(int index) { return this; } /** - * - * *
      * The issues that match the request.
      * 
* * repeated .google.cloud.contactcenterinsights.v1.Issue issues = 1; */ - public com.google.cloud.contactcenterinsights.v1.Issue.Builder getIssuesBuilder(int index) { + public com.google.cloud.contactcenterinsights.v1.Issue.Builder getIssuesBuilder( + int index) { return getIssuesFieldBuilder().getBuilder(index); } /** - * - * *
      * The issues that match the request.
      * 
* * repeated .google.cloud.contactcenterinsights.v1.Issue issues = 1; */ - public com.google.cloud.contactcenterinsights.v1.IssueOrBuilder getIssuesOrBuilder(int index) { + public com.google.cloud.contactcenterinsights.v1.IssueOrBuilder getIssuesOrBuilder( + int index) { if (issuesBuilder_ == null) { - return issues_.get(index); - } else { + return issues_.get(index); } else { return issuesBuilder_.getMessageOrBuilder(index); } } /** - * - * *
      * The issues that match the request.
      * 
* * repeated .google.cloud.contactcenterinsights.v1.Issue issues = 1; */ - public java.util.List - getIssuesOrBuilderList() { + public java.util.List + getIssuesOrBuilderList() { if (issuesBuilder_ != null) { return issuesBuilder_.getMessageOrBuilderList(); } else { @@ -827,8 +749,6 @@ public com.google.cloud.contactcenterinsights.v1.IssueOrBuilder getIssuesOrBuild } } /** - * - * *
      * The issues that match the request.
      * 
@@ -836,55 +756,49 @@ public com.google.cloud.contactcenterinsights.v1.IssueOrBuilder getIssuesOrBuild * repeated .google.cloud.contactcenterinsights.v1.Issue issues = 1; */ public com.google.cloud.contactcenterinsights.v1.Issue.Builder addIssuesBuilder() { - return getIssuesFieldBuilder() - .addBuilder(com.google.cloud.contactcenterinsights.v1.Issue.getDefaultInstance()); + return getIssuesFieldBuilder().addBuilder( + com.google.cloud.contactcenterinsights.v1.Issue.getDefaultInstance()); } /** - * - * *
      * The issues that match the request.
      * 
* * repeated .google.cloud.contactcenterinsights.v1.Issue issues = 1; */ - public com.google.cloud.contactcenterinsights.v1.Issue.Builder addIssuesBuilder(int index) { - return getIssuesFieldBuilder() - .addBuilder(index, com.google.cloud.contactcenterinsights.v1.Issue.getDefaultInstance()); + public com.google.cloud.contactcenterinsights.v1.Issue.Builder addIssuesBuilder( + int index) { + return getIssuesFieldBuilder().addBuilder( + index, com.google.cloud.contactcenterinsights.v1.Issue.getDefaultInstance()); } /** - * - * *
      * The issues that match the request.
      * 
* * repeated .google.cloud.contactcenterinsights.v1.Issue issues = 1; */ - public java.util.List - getIssuesBuilderList() { + public java.util.List + getIssuesBuilderList() { return getIssuesFieldBuilder().getBuilderList(); } - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.contactcenterinsights.v1.Issue, - com.google.cloud.contactcenterinsights.v1.Issue.Builder, - com.google.cloud.contactcenterinsights.v1.IssueOrBuilder> + com.google.cloud.contactcenterinsights.v1.Issue, com.google.cloud.contactcenterinsights.v1.Issue.Builder, com.google.cloud.contactcenterinsights.v1.IssueOrBuilder> getIssuesFieldBuilder() { if (issuesBuilder_ == null) { - issuesBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.contactcenterinsights.v1.Issue, - com.google.cloud.contactcenterinsights.v1.Issue.Builder, - com.google.cloud.contactcenterinsights.v1.IssueOrBuilder>( - issues_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); + issuesBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.contactcenterinsights.v1.Issue, com.google.cloud.contactcenterinsights.v1.Issue.Builder, com.google.cloud.contactcenterinsights.v1.IssueOrBuilder>( + issues_, + ((bitField0_ & 0x00000001) != 0), + getParentForChildren(), + isClean()); issues_ = null; } return issuesBuilder_; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -894,13 +808,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.contactcenterinsights.v1.ListIssuesResponse) } // @@protoc_insertion_point(class_scope:google.cloud.contactcenterinsights.v1.ListIssuesResponse) - private static final com.google.cloud.contactcenterinsights.v1.ListIssuesResponse - DEFAULT_INSTANCE; - + private static final com.google.cloud.contactcenterinsights.v1.ListIssuesResponse DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.cloud.contactcenterinsights.v1.ListIssuesResponse(); } @@ -909,27 +822,27 @@ public static com.google.cloud.contactcenterinsights.v1.ListIssuesResponse getDe return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListIssuesResponse parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListIssuesResponse parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -944,4 +857,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.contactcenterinsights.v1.ListIssuesResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ListIssuesResponseOrBuilder.java b/owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ListIssuesResponseOrBuilder.java similarity index 65% rename from java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ListIssuesResponseOrBuilder.java rename to owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ListIssuesResponseOrBuilder.java index 11fb517fc21c..47d11797af37 100644 --- a/java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ListIssuesResponseOrBuilder.java +++ b/owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ListIssuesResponseOrBuilder.java @@ -1,41 +1,22 @@ -/* - * 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. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/contactcenterinsights/v1/contact_center_insights.proto package com.google.cloud.contactcenterinsights.v1; -public interface ListIssuesResponseOrBuilder - extends +public interface ListIssuesResponseOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.contactcenterinsights.v1.ListIssuesResponse) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * The issues that match the request.
    * 
* * repeated .google.cloud.contactcenterinsights.v1.Issue issues = 1; */ - java.util.List getIssuesList(); + java.util.List + getIssuesList(); /** - * - * *
    * The issues that match the request.
    * 
@@ -44,8 +25,6 @@ public interface ListIssuesResponseOrBuilder */ com.google.cloud.contactcenterinsights.v1.Issue getIssues(int index); /** - * - * *
    * The issues that match the request.
    * 
@@ -54,24 +33,21 @@ public interface ListIssuesResponseOrBuilder */ int getIssuesCount(); /** - * - * *
    * The issues that match the request.
    * 
* * repeated .google.cloud.contactcenterinsights.v1.Issue issues = 1; */ - java.util.List + java.util.List getIssuesOrBuilderList(); /** - * - * *
    * The issues that match the request.
    * 
* * repeated .google.cloud.contactcenterinsights.v1.Issue issues = 1; */ - com.google.cloud.contactcenterinsights.v1.IssueOrBuilder getIssuesOrBuilder(int index); + com.google.cloud.contactcenterinsights.v1.IssueOrBuilder getIssuesOrBuilder( + int index); } diff --git a/java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ListPhraseMatchersRequest.java b/owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ListPhraseMatchersRequest.java similarity index 67% rename from java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ListPhraseMatchersRequest.java rename to owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ListPhraseMatchersRequest.java index 8b3dab132c18..e36c1cae1789 100644 --- a/java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ListPhraseMatchersRequest.java +++ b/owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ListPhraseMatchersRequest.java @@ -1,42 +1,24 @@ -/* - * 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. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/contactcenterinsights/v1/contact_center_insights.proto package com.google.cloud.contactcenterinsights.v1; /** - * - * *
  * Request to list phrase matchers.
  * 
* * Protobuf type {@code google.cloud.contactcenterinsights.v1.ListPhraseMatchersRequest} */ -public final class ListPhraseMatchersRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class ListPhraseMatchersRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.contactcenterinsights.v1.ListPhraseMatchersRequest) ListPhraseMatchersRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use ListPhraseMatchersRequest.newBuilder() to construct. private ListPhraseMatchersRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private ListPhraseMatchersRequest() { parent_ = ""; pageToken_ = ""; @@ -45,45 +27,38 @@ private ListPhraseMatchersRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new ListPhraseMatchersRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto - .internal_static_google_cloud_contactcenterinsights_v1_ListPhraseMatchersRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto.internal_static_google_cloud_contactcenterinsights_v1_ListPhraseMatchersRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto - .internal_static_google_cloud_contactcenterinsights_v1_ListPhraseMatchersRequest_fieldAccessorTable + return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto.internal_static_google_cloud_contactcenterinsights_v1_ListPhraseMatchersRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.contactcenterinsights.v1.ListPhraseMatchersRequest.class, - com.google.cloud.contactcenterinsights.v1.ListPhraseMatchersRequest.Builder.class); + com.google.cloud.contactcenterinsights.v1.ListPhraseMatchersRequest.class, com.google.cloud.contactcenterinsights.v1.ListPhraseMatchersRequest.Builder.class); } public static final int PARENT_FIELD_NUMBER = 1; - @SuppressWarnings("serial") private volatile java.lang.Object parent_ = ""; /** - * - * *
    * Required. The parent resource of the phrase matcher.
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The parent. */ @java.lang.Override @@ -92,31 +67,29 @@ public java.lang.String getParent() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; } } /** - * - * *
    * Required. The parent resource of the phrase matcher.
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for parent. */ @java.lang.Override - public com.google.protobuf.ByteString getParentBytes() { + public com.google.protobuf.ByteString + getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); parent_ = b; return b; } else { @@ -127,8 +100,6 @@ public com.google.protobuf.ByteString getParentBytes() { public static final int PAGE_SIZE_FIELD_NUMBER = 2; private int pageSize_ = 0; /** - * - * *
    * The maximum number of phrase matchers to return in the response. If this
    * value is zero, the service will select a default size. A call might return
@@ -137,7 +108,6 @@ public com.google.protobuf.ByteString getParentBytes() {
    * 
* * int32 page_size = 2; - * * @return The pageSize. */ @java.lang.Override @@ -146,12 +116,9 @@ public int getPageSize() { } public static final int PAGE_TOKEN_FIELD_NUMBER = 3; - @SuppressWarnings("serial") private volatile java.lang.Object pageToken_ = ""; /** - * - * *
    * The value returned by the last `ListPhraseMatchersResponse`. This value
    * indicates that this is a continuation of a prior `ListPhraseMatchers` call
@@ -159,7 +126,6 @@ public int getPageSize() {
    * 
* * string page_token = 3; - * * @return The pageToken. */ @java.lang.Override @@ -168,15 +134,14 @@ public java.lang.String getPageToken() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); pageToken_ = s; return s; } } /** - * - * *
    * The value returned by the last `ListPhraseMatchersResponse`. This value
    * indicates that this is a continuation of a prior `ListPhraseMatchers` call
@@ -184,15 +149,16 @@ public java.lang.String getPageToken() {
    * 
* * string page_token = 3; - * * @return The bytes for pageToken. */ @java.lang.Override - public com.google.protobuf.ByteString getPageTokenBytes() { + public com.google.protobuf.ByteString + getPageTokenBytes() { java.lang.Object ref = pageToken_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); pageToken_ = b; return b; } else { @@ -201,19 +167,15 @@ public com.google.protobuf.ByteString getPageTokenBytes() { } public static final int FILTER_FIELD_NUMBER = 4; - @SuppressWarnings("serial") private volatile java.lang.Object filter_ = ""; /** - * - * *
    * A filter to reduce results to a specific subset. Useful for querying
    * phrase matchers with specific properties.
    * 
* * string filter = 4; - * * @return The filter. */ @java.lang.Override @@ -222,30 +184,30 @@ public java.lang.String getFilter() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); filter_ = s; return s; } } /** - * - * *
    * A filter to reduce results to a specific subset. Useful for querying
    * phrase matchers with specific properties.
    * 
* * string filter = 4; - * * @return The bytes for filter. */ @java.lang.Override - public com.google.protobuf.ByteString getFilterBytes() { + public com.google.protobuf.ByteString + getFilterBytes() { java.lang.Object ref = filter_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); filter_ = b; return b; } else { @@ -254,7 +216,6 @@ public com.google.protobuf.ByteString getFilterBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -266,7 +227,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); } @@ -292,7 +254,8 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, parent_); } if (pageSize_ != 0) { - size += com.google.protobuf.CodedOutputStream.computeInt32Size(2, pageSize_); + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(2, pageSize_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(pageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, pageToken_); @@ -308,18 +271,21 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.contactcenterinsights.v1.ListPhraseMatchersRequest)) { return super.equals(obj); } - com.google.cloud.contactcenterinsights.v1.ListPhraseMatchersRequest other = - (com.google.cloud.contactcenterinsights.v1.ListPhraseMatchersRequest) obj; + com.google.cloud.contactcenterinsights.v1.ListPhraseMatchersRequest other = (com.google.cloud.contactcenterinsights.v1.ListPhraseMatchersRequest) obj; - if (!getParent().equals(other.getParent())) return false; - if (getPageSize() != other.getPageSize()) return false; - if (!getPageToken().equals(other.getPageToken())) return false; - if (!getFilter().equals(other.getFilter())) return false; + if (!getParent() + .equals(other.getParent())) return false; + if (getPageSize() + != other.getPageSize()) return false; + if (!getPageToken() + .equals(other.getPageToken())) return false; + if (!getFilter() + .equals(other.getFilter())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -345,138 +311,129 @@ public int hashCode() { } public static com.google.cloud.contactcenterinsights.v1.ListPhraseMatchersRequest parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.contactcenterinsights.v1.ListPhraseMatchersRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.contactcenterinsights.v1.ListPhraseMatchersRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.contactcenterinsights.v1.ListPhraseMatchersRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.contactcenterinsights.v1.ListPhraseMatchersRequest parseFrom( - byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.contactcenterinsights.v1.ListPhraseMatchersRequest parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.contactcenterinsights.v1.ListPhraseMatchersRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.contactcenterinsights.v1.ListPhraseMatchersRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.contactcenterinsights.v1.ListPhraseMatchersRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.contactcenterinsights.v1.ListPhraseMatchersRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.contactcenterinsights.v1.ListPhraseMatchersRequest - parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.contactcenterinsights.v1.ListPhraseMatchersRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - - public static com.google.cloud.contactcenterinsights.v1.ListPhraseMatchersRequest - parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + public static com.google.cloud.contactcenterinsights.v1.ListPhraseMatchersRequest parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.contactcenterinsights.v1.ListPhraseMatchersRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.contactcenterinsights.v1.ListPhraseMatchersRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.contactcenterinsights.v1.ListPhraseMatchersRequest prototype) { + public static Builder newBuilder(com.google.cloud.contactcenterinsights.v1.ListPhraseMatchersRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Request to list phrase matchers.
    * 
* * Protobuf type {@code google.cloud.contactcenterinsights.v1.ListPhraseMatchersRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.contactcenterinsights.v1.ListPhraseMatchersRequest) com.google.cloud.contactcenterinsights.v1.ListPhraseMatchersRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto - .internal_static_google_cloud_contactcenterinsights_v1_ListPhraseMatchersRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto.internal_static_google_cloud_contactcenterinsights_v1_ListPhraseMatchersRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto - .internal_static_google_cloud_contactcenterinsights_v1_ListPhraseMatchersRequest_fieldAccessorTable + return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto.internal_static_google_cloud_contactcenterinsights_v1_ListPhraseMatchersRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.contactcenterinsights.v1.ListPhraseMatchersRequest.class, - com.google.cloud.contactcenterinsights.v1.ListPhraseMatchersRequest.Builder.class); + com.google.cloud.contactcenterinsights.v1.ListPhraseMatchersRequest.class, com.google.cloud.contactcenterinsights.v1.ListPhraseMatchersRequest.Builder.class); } - // Construct using - // com.google.cloud.contactcenterinsights.v1.ListPhraseMatchersRequest.newBuilder() - private Builder() {} + // Construct using com.google.cloud.contactcenterinsights.v1.ListPhraseMatchersRequest.newBuilder() + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -489,16 +446,14 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto - .internal_static_google_cloud_contactcenterinsights_v1_ListPhraseMatchersRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto.internal_static_google_cloud_contactcenterinsights_v1_ListPhraseMatchersRequest_descriptor; } @java.lang.Override - public com.google.cloud.contactcenterinsights.v1.ListPhraseMatchersRequest - getDefaultInstanceForType() { - return com.google.cloud.contactcenterinsights.v1.ListPhraseMatchersRequest - .getDefaultInstance(); + public com.google.cloud.contactcenterinsights.v1.ListPhraseMatchersRequest getDefaultInstanceForType() { + return com.google.cloud.contactcenterinsights.v1.ListPhraseMatchersRequest.getDefaultInstance(); } @java.lang.Override @@ -512,17 +467,13 @@ public com.google.cloud.contactcenterinsights.v1.ListPhraseMatchersRequest build @java.lang.Override public com.google.cloud.contactcenterinsights.v1.ListPhraseMatchersRequest buildPartial() { - com.google.cloud.contactcenterinsights.v1.ListPhraseMatchersRequest result = - new com.google.cloud.contactcenterinsights.v1.ListPhraseMatchersRequest(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + com.google.cloud.contactcenterinsights.v1.ListPhraseMatchersRequest result = new com.google.cloud.contactcenterinsights.v1.ListPhraseMatchersRequest(this); + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } - private void buildPartial0( - com.google.cloud.contactcenterinsights.v1.ListPhraseMatchersRequest result) { + private void buildPartial0(com.google.cloud.contactcenterinsights.v1.ListPhraseMatchersRequest result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { result.parent_ = parent_; @@ -542,51 +493,46 @@ private void buildPartial0( public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.contactcenterinsights.v1.ListPhraseMatchersRequest) { - return mergeFrom( - (com.google.cloud.contactcenterinsights.v1.ListPhraseMatchersRequest) other); + return mergeFrom((com.google.cloud.contactcenterinsights.v1.ListPhraseMatchersRequest)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom( - com.google.cloud.contactcenterinsights.v1.ListPhraseMatchersRequest other) { - if (other - == com.google.cloud.contactcenterinsights.v1.ListPhraseMatchersRequest - .getDefaultInstance()) return this; + public Builder mergeFrom(com.google.cloud.contactcenterinsights.v1.ListPhraseMatchersRequest other) { + if (other == com.google.cloud.contactcenterinsights.v1.ListPhraseMatchersRequest.getDefaultInstance()) return this; if (!other.getParent().isEmpty()) { parent_ = other.parent_; bitField0_ |= 0x00000001; @@ -631,37 +577,32 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - parent_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 16: - { - pageSize_ = input.readInt32(); - bitField0_ |= 0x00000002; - break; - } // case 16 - case 26: - { - pageToken_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000004; - break; - } // case 26 - case 34: - { - filter_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000008; - break; - } // case 34 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + parent_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 16: { + pageSize_ = input.readInt32(); + bitField0_ |= 0x00000002; + break; + } // case 16 + case 26: { + pageToken_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000004; + break; + } // case 26 + case 34: { + filter_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000008; + break; + } // case 34 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -671,27 +612,22 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private java.lang.Object parent_ = ""; /** - * - * *
      * Required. The parent resource of the phrase matcher.
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The parent. */ public java.lang.String getParent() { java.lang.Object ref = parent_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; @@ -700,23 +636,20 @@ public java.lang.String getParent() { } } /** - * - * *
      * Required. The parent resource of the phrase matcher.
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for parent. */ - public com.google.protobuf.ByteString getParentBytes() { + public com.google.protobuf.ByteString + getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); parent_ = b; return b; } else { @@ -724,39 +657,28 @@ public com.google.protobuf.ByteString getParentBytes() { } } /** - * - * *
      * Required. The parent resource of the phrase matcher.
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The parent to set. * @return This builder for chaining. */ - public Builder setParent(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setParent( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } parent_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
      * Required. The parent resource of the phrase matcher.
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearParent() { @@ -766,23 +688,17 @@ public Builder clearParent() { return this; } /** - * - * *
      * Required. The parent resource of the phrase matcher.
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setParentBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); parent_ = value; bitField0_ |= 0x00000001; @@ -790,10 +706,8 @@ public Builder setParentBytes(com.google.protobuf.ByteString value) { return this; } - private int pageSize_; + private int pageSize_ ; /** - * - * *
      * The maximum number of phrase matchers to return in the response. If this
      * value is zero, the service will select a default size. A call might return
@@ -802,7 +716,6 @@ public Builder setParentBytes(com.google.protobuf.ByteString value) {
      * 
* * int32 page_size = 2; - * * @return The pageSize. */ @java.lang.Override @@ -810,8 +723,6 @@ public int getPageSize() { return pageSize_; } /** - * - * *
      * The maximum number of phrase matchers to return in the response. If this
      * value is zero, the service will select a default size. A call might return
@@ -820,20 +731,17 @@ public int getPageSize() {
      * 
* * int32 page_size = 2; - * * @param value The pageSize to set. * @return This builder for chaining. */ public Builder setPageSize(int value) { - + pageSize_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** - * - * *
      * The maximum number of phrase matchers to return in the response. If this
      * value is zero, the service will select a default size. A call might return
@@ -842,7 +750,6 @@ public Builder setPageSize(int value) {
      * 
* * int32 page_size = 2; - * * @return This builder for chaining. */ public Builder clearPageSize() { @@ -854,8 +761,6 @@ public Builder clearPageSize() { private java.lang.Object pageToken_ = ""; /** - * - * *
      * The value returned by the last `ListPhraseMatchersResponse`. This value
      * indicates that this is a continuation of a prior `ListPhraseMatchers` call
@@ -863,13 +768,13 @@ public Builder clearPageSize() {
      * 
* * string page_token = 3; - * * @return The pageToken. */ public java.lang.String getPageToken() { java.lang.Object ref = pageToken_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); pageToken_ = s; return s; @@ -878,8 +783,6 @@ public java.lang.String getPageToken() { } } /** - * - * *
      * The value returned by the last `ListPhraseMatchersResponse`. This value
      * indicates that this is a continuation of a prior `ListPhraseMatchers` call
@@ -887,14 +790,15 @@ public java.lang.String getPageToken() {
      * 
* * string page_token = 3; - * * @return The bytes for pageToken. */ - public com.google.protobuf.ByteString getPageTokenBytes() { + public com.google.protobuf.ByteString + getPageTokenBytes() { java.lang.Object ref = pageToken_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); pageToken_ = b; return b; } else { @@ -902,8 +806,6 @@ public com.google.protobuf.ByteString getPageTokenBytes() { } } /** - * - * *
      * The value returned by the last `ListPhraseMatchersResponse`. This value
      * indicates that this is a continuation of a prior `ListPhraseMatchers` call
@@ -911,22 +813,18 @@ public com.google.protobuf.ByteString getPageTokenBytes() {
      * 
* * string page_token = 3; - * * @param value The pageToken to set. * @return This builder for chaining. */ - public Builder setPageToken(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setPageToken( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } pageToken_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } /** - * - * *
      * The value returned by the last `ListPhraseMatchersResponse`. This value
      * indicates that this is a continuation of a prior `ListPhraseMatchers` call
@@ -934,7 +832,6 @@ public Builder setPageToken(java.lang.String value) {
      * 
* * string page_token = 3; - * * @return This builder for chaining. */ public Builder clearPageToken() { @@ -944,8 +841,6 @@ public Builder clearPageToken() { return this; } /** - * - * *
      * The value returned by the last `ListPhraseMatchersResponse`. This value
      * indicates that this is a continuation of a prior `ListPhraseMatchers` call
@@ -953,14 +848,12 @@ public Builder clearPageToken() {
      * 
* * string page_token = 3; - * * @param value The bytes for pageToken to set. * @return This builder for chaining. */ - public Builder setPageTokenBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setPageTokenBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); pageToken_ = value; bitField0_ |= 0x00000004; @@ -970,21 +863,19 @@ public Builder setPageTokenBytes(com.google.protobuf.ByteString value) { private java.lang.Object filter_ = ""; /** - * - * *
      * A filter to reduce results to a specific subset. Useful for querying
      * phrase matchers with specific properties.
      * 
* * string filter = 4; - * * @return The filter. */ public java.lang.String getFilter() { java.lang.Object ref = filter_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); filter_ = s; return s; @@ -993,22 +884,21 @@ public java.lang.String getFilter() { } } /** - * - * *
      * A filter to reduce results to a specific subset. Useful for querying
      * phrase matchers with specific properties.
      * 
* * string filter = 4; - * * @return The bytes for filter. */ - public com.google.protobuf.ByteString getFilterBytes() { + public com.google.protobuf.ByteString + getFilterBytes() { java.lang.Object ref = filter_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); filter_ = b; return b; } else { @@ -1016,37 +906,30 @@ public com.google.protobuf.ByteString getFilterBytes() { } } /** - * - * *
      * A filter to reduce results to a specific subset. Useful for querying
      * phrase matchers with specific properties.
      * 
* * string filter = 4; - * * @param value The filter to set. * @return This builder for chaining. */ - public Builder setFilter(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setFilter( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } filter_ = value; bitField0_ |= 0x00000008; onChanged(); return this; } /** - * - * *
      * A filter to reduce results to a specific subset. Useful for querying
      * phrase matchers with specific properties.
      * 
* * string filter = 4; - * * @return This builder for chaining. */ public Builder clearFilter() { @@ -1056,31 +939,27 @@ public Builder clearFilter() { return this; } /** - * - * *
      * A filter to reduce results to a specific subset. Useful for querying
      * phrase matchers with specific properties.
      * 
* * string filter = 4; - * * @param value The bytes for filter to set. * @return This builder for chaining. */ - public Builder setFilterBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setFilterBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); filter_ = value; bitField0_ |= 0x00000008; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1090,43 +969,41 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.contactcenterinsights.v1.ListPhraseMatchersRequest) } // @@protoc_insertion_point(class_scope:google.cloud.contactcenterinsights.v1.ListPhraseMatchersRequest) - private static final com.google.cloud.contactcenterinsights.v1.ListPhraseMatchersRequest - DEFAULT_INSTANCE; - + private static final com.google.cloud.contactcenterinsights.v1.ListPhraseMatchersRequest DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.cloud.contactcenterinsights.v1.ListPhraseMatchersRequest(); } - public static com.google.cloud.contactcenterinsights.v1.ListPhraseMatchersRequest - getDefaultInstance() { + public static com.google.cloud.contactcenterinsights.v1.ListPhraseMatchersRequest getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListPhraseMatchersRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListPhraseMatchersRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1138,8 +1015,9 @@ public com.google.protobuf.Parser getParserForType() } @java.lang.Override - public com.google.cloud.contactcenterinsights.v1.ListPhraseMatchersRequest - getDefaultInstanceForType() { + public com.google.cloud.contactcenterinsights.v1.ListPhraseMatchersRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ListPhraseMatchersRequestOrBuilder.java b/owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ListPhraseMatchersRequestOrBuilder.java similarity index 65% rename from java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ListPhraseMatchersRequestOrBuilder.java rename to owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ListPhraseMatchersRequestOrBuilder.java index fc6c4aeceae8..e3553062045d 100644 --- a/java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ListPhraseMatchersRequestOrBuilder.java +++ b/owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ListPhraseMatchersRequestOrBuilder.java @@ -1,60 +1,33 @@ -/* - * 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. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/contactcenterinsights/v1/contact_center_insights.proto package com.google.cloud.contactcenterinsights.v1; -public interface ListPhraseMatchersRequestOrBuilder - extends +public interface ListPhraseMatchersRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.contactcenterinsights.v1.ListPhraseMatchersRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Required. The parent resource of the phrase matcher.
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The parent. */ java.lang.String getParent(); /** - * - * *
    * Required. The parent resource of the phrase matcher.
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for parent. */ - com.google.protobuf.ByteString getParentBytes(); + com.google.protobuf.ByteString + getParentBytes(); /** - * - * *
    * The maximum number of phrase matchers to return in the response. If this
    * value is zero, the service will select a default size. A call might return
@@ -63,14 +36,11 @@ public interface ListPhraseMatchersRequestOrBuilder
    * 
* * int32 page_size = 2; - * * @return The pageSize. */ int getPageSize(); /** - * - * *
    * The value returned by the last `ListPhraseMatchersResponse`. This value
    * indicates that this is a continuation of a prior `ListPhraseMatchers` call
@@ -78,13 +48,10 @@ public interface ListPhraseMatchersRequestOrBuilder
    * 
* * string page_token = 3; - * * @return The pageToken. */ java.lang.String getPageToken(); /** - * - * *
    * The value returned by the last `ListPhraseMatchersResponse`. This value
    * indicates that this is a continuation of a prior `ListPhraseMatchers` call
@@ -92,35 +59,30 @@ public interface ListPhraseMatchersRequestOrBuilder
    * 
* * string page_token = 3; - * * @return The bytes for pageToken. */ - com.google.protobuf.ByteString getPageTokenBytes(); + com.google.protobuf.ByteString + getPageTokenBytes(); /** - * - * *
    * A filter to reduce results to a specific subset. Useful for querying
    * phrase matchers with specific properties.
    * 
* * string filter = 4; - * * @return The filter. */ java.lang.String getFilter(); /** - * - * *
    * A filter to reduce results to a specific subset. Useful for querying
    * phrase matchers with specific properties.
    * 
* * string filter = 4; - * * @return The bytes for filter. */ - com.google.protobuf.ByteString getFilterBytes(); + com.google.protobuf.ByteString + getFilterBytes(); } diff --git a/java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ListPhraseMatchersResponse.java b/owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ListPhraseMatchersResponse.java similarity index 67% rename from java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ListPhraseMatchersResponse.java rename to owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ListPhraseMatchersResponse.java index ffee417931a4..caa1663a160a 100644 --- a/java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ListPhraseMatchersResponse.java +++ b/owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ListPhraseMatchersResponse.java @@ -1,42 +1,24 @@ -/* - * 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. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/contactcenterinsights/v1/contact_center_insights.proto package com.google.cloud.contactcenterinsights.v1; /** - * - * *
  * The response of listing phrase matchers.
  * 
* * Protobuf type {@code google.cloud.contactcenterinsights.v1.ListPhraseMatchersResponse} */ -public final class ListPhraseMatchersResponse extends com.google.protobuf.GeneratedMessageV3 - implements +public final class ListPhraseMatchersResponse extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.contactcenterinsights.v1.ListPhraseMatchersResponse) ListPhraseMatchersResponseOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use ListPhraseMatchersResponse.newBuilder() to construct. private ListPhraseMatchersResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private ListPhraseMatchersResponse() { phraseMatchers_ = java.util.Collections.emptyList(); nextPageToken_ = ""; @@ -44,37 +26,33 @@ private ListPhraseMatchersResponse() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new ListPhraseMatchersResponse(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto - .internal_static_google_cloud_contactcenterinsights_v1_ListPhraseMatchersResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto.internal_static_google_cloud_contactcenterinsights_v1_ListPhraseMatchersResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto - .internal_static_google_cloud_contactcenterinsights_v1_ListPhraseMatchersResponse_fieldAccessorTable + return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto.internal_static_google_cloud_contactcenterinsights_v1_ListPhraseMatchersResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.contactcenterinsights.v1.ListPhraseMatchersResponse.class, - com.google.cloud.contactcenterinsights.v1.ListPhraseMatchersResponse.Builder.class); + com.google.cloud.contactcenterinsights.v1.ListPhraseMatchersResponse.class, com.google.cloud.contactcenterinsights.v1.ListPhraseMatchersResponse.Builder.class); } public static final int PHRASE_MATCHERS_FIELD_NUMBER = 1; - @SuppressWarnings("serial") private java.util.List phraseMatchers_; /** - * - * *
    * The phrase matchers that match the request.
    * 
@@ -82,13 +60,10 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * repeated .google.cloud.contactcenterinsights.v1.PhraseMatcher phrase_matchers = 1; */ @java.lang.Override - public java.util.List - getPhraseMatchersList() { + public java.util.List getPhraseMatchersList() { return phraseMatchers_; } /** - * - * *
    * The phrase matchers that match the request.
    * 
@@ -96,13 +71,11 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * repeated .google.cloud.contactcenterinsights.v1.PhraseMatcher phrase_matchers = 1; */ @java.lang.Override - public java.util.List + public java.util.List getPhraseMatchersOrBuilderList() { return phraseMatchers_; } /** - * - * *
    * The phrase matchers that match the request.
    * 
@@ -114,8 +87,6 @@ public int getPhraseMatchersCount() { return phraseMatchers_.size(); } /** - * - * *
    * The phrase matchers that match the request.
    * 
@@ -127,8 +98,6 @@ public com.google.cloud.contactcenterinsights.v1.PhraseMatcher getPhraseMatchers return phraseMatchers_.get(index); } /** - * - * *
    * The phrase matchers that match the request.
    * 
@@ -136,25 +105,21 @@ public com.google.cloud.contactcenterinsights.v1.PhraseMatcher getPhraseMatchers * repeated .google.cloud.contactcenterinsights.v1.PhraseMatcher phrase_matchers = 1; */ @java.lang.Override - public com.google.cloud.contactcenterinsights.v1.PhraseMatcherOrBuilder - getPhraseMatchersOrBuilder(int index) { + public com.google.cloud.contactcenterinsights.v1.PhraseMatcherOrBuilder getPhraseMatchersOrBuilder( + int index) { return phraseMatchers_.get(index); } public static final int NEXT_PAGE_TOKEN_FIELD_NUMBER = 2; - @SuppressWarnings("serial") private volatile java.lang.Object nextPageToken_ = ""; /** - * - * *
    * A token, which can be sent as `page_token` to retrieve the next page.
    * If this field is omitted, there are no subsequent pages.
    * 
* * string next_page_token = 2; - * * @return The nextPageToken. */ @java.lang.Override @@ -163,30 +128,30 @@ public java.lang.String getNextPageToken() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); nextPageToken_ = s; return s; } } /** - * - * *
    * A token, which can be sent as `page_token` to retrieve the next page.
    * If this field is omitted, there are no subsequent pages.
    * 
* * string next_page_token = 2; - * * @return The bytes for nextPageToken. */ @java.lang.Override - public com.google.protobuf.ByteString getNextPageTokenBytes() { + public com.google.protobuf.ByteString + getNextPageTokenBytes() { java.lang.Object ref = nextPageToken_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); nextPageToken_ = b; return b; } else { @@ -195,7 +160,6 @@ public com.google.protobuf.ByteString getNextPageTokenBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -207,7 +171,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { for (int i = 0; i < phraseMatchers_.size(); i++) { output.writeMessage(1, phraseMatchers_.get(i)); } @@ -224,7 +189,8 @@ public int getSerializedSize() { size = 0; for (int i = 0; i < phraseMatchers_.size(); i++) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, phraseMatchers_.get(i)); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, phraseMatchers_.get(i)); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(nextPageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, nextPageToken_); @@ -237,16 +203,17 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.contactcenterinsights.v1.ListPhraseMatchersResponse)) { return super.equals(obj); } - com.google.cloud.contactcenterinsights.v1.ListPhraseMatchersResponse other = - (com.google.cloud.contactcenterinsights.v1.ListPhraseMatchersResponse) obj; + com.google.cloud.contactcenterinsights.v1.ListPhraseMatchersResponse other = (com.google.cloud.contactcenterinsights.v1.ListPhraseMatchersResponse) obj; - if (!getPhraseMatchersList().equals(other.getPhraseMatchersList())) return false; - if (!getNextPageToken().equals(other.getNextPageToken())) return false; + if (!getPhraseMatchersList() + .equals(other.getPhraseMatchersList())) return false; + if (!getNextPageToken() + .equals(other.getNextPageToken())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -270,138 +237,129 @@ public int hashCode() { } public static com.google.cloud.contactcenterinsights.v1.ListPhraseMatchersResponse parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.contactcenterinsights.v1.ListPhraseMatchersResponse parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.contactcenterinsights.v1.ListPhraseMatchersResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.contactcenterinsights.v1.ListPhraseMatchersResponse parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.contactcenterinsights.v1.ListPhraseMatchersResponse parseFrom( - byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.contactcenterinsights.v1.ListPhraseMatchersResponse parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.contactcenterinsights.v1.ListPhraseMatchersResponse parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.contactcenterinsights.v1.ListPhraseMatchersResponse parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.contactcenterinsights.v1.ListPhraseMatchersResponse parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.contactcenterinsights.v1.ListPhraseMatchersResponse parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.contactcenterinsights.v1.ListPhraseMatchersResponse - parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.contactcenterinsights.v1.ListPhraseMatchersResponse parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - - public static com.google.cloud.contactcenterinsights.v1.ListPhraseMatchersResponse - parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + public static com.google.cloud.contactcenterinsights.v1.ListPhraseMatchersResponse parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.contactcenterinsights.v1.ListPhraseMatchersResponse parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.contactcenterinsights.v1.ListPhraseMatchersResponse parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.contactcenterinsights.v1.ListPhraseMatchersResponse prototype) { + public static Builder newBuilder(com.google.cloud.contactcenterinsights.v1.ListPhraseMatchersResponse prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * The response of listing phrase matchers.
    * 
* * Protobuf type {@code google.cloud.contactcenterinsights.v1.ListPhraseMatchersResponse} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.contactcenterinsights.v1.ListPhraseMatchersResponse) com.google.cloud.contactcenterinsights.v1.ListPhraseMatchersResponseOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto - .internal_static_google_cloud_contactcenterinsights_v1_ListPhraseMatchersResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto.internal_static_google_cloud_contactcenterinsights_v1_ListPhraseMatchersResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto - .internal_static_google_cloud_contactcenterinsights_v1_ListPhraseMatchersResponse_fieldAccessorTable + return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto.internal_static_google_cloud_contactcenterinsights_v1_ListPhraseMatchersResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.contactcenterinsights.v1.ListPhraseMatchersResponse.class, - com.google.cloud.contactcenterinsights.v1.ListPhraseMatchersResponse.Builder.class); + com.google.cloud.contactcenterinsights.v1.ListPhraseMatchersResponse.class, com.google.cloud.contactcenterinsights.v1.ListPhraseMatchersResponse.Builder.class); } - // Construct using - // com.google.cloud.contactcenterinsights.v1.ListPhraseMatchersResponse.newBuilder() - private Builder() {} + // Construct using com.google.cloud.contactcenterinsights.v1.ListPhraseMatchersResponse.newBuilder() + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -418,16 +376,14 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto - .internal_static_google_cloud_contactcenterinsights_v1_ListPhraseMatchersResponse_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto.internal_static_google_cloud_contactcenterinsights_v1_ListPhraseMatchersResponse_descriptor; } @java.lang.Override - public com.google.cloud.contactcenterinsights.v1.ListPhraseMatchersResponse - getDefaultInstanceForType() { - return com.google.cloud.contactcenterinsights.v1.ListPhraseMatchersResponse - .getDefaultInstance(); + public com.google.cloud.contactcenterinsights.v1.ListPhraseMatchersResponse getDefaultInstanceForType() { + return com.google.cloud.contactcenterinsights.v1.ListPhraseMatchersResponse.getDefaultInstance(); } @java.lang.Override @@ -441,18 +397,14 @@ public com.google.cloud.contactcenterinsights.v1.ListPhraseMatchersResponse buil @java.lang.Override public com.google.cloud.contactcenterinsights.v1.ListPhraseMatchersResponse buildPartial() { - com.google.cloud.contactcenterinsights.v1.ListPhraseMatchersResponse result = - new com.google.cloud.contactcenterinsights.v1.ListPhraseMatchersResponse(this); + com.google.cloud.contactcenterinsights.v1.ListPhraseMatchersResponse result = new com.google.cloud.contactcenterinsights.v1.ListPhraseMatchersResponse(this); buildPartialRepeatedFields(result); - if (bitField0_ != 0) { - buildPartial0(result); - } + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } - private void buildPartialRepeatedFields( - com.google.cloud.contactcenterinsights.v1.ListPhraseMatchersResponse result) { + private void buildPartialRepeatedFields(com.google.cloud.contactcenterinsights.v1.ListPhraseMatchersResponse result) { if (phraseMatchersBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { phraseMatchers_ = java.util.Collections.unmodifiableList(phraseMatchers_); @@ -464,8 +416,7 @@ private void buildPartialRepeatedFields( } } - private void buildPartial0( - com.google.cloud.contactcenterinsights.v1.ListPhraseMatchersResponse result) { + private void buildPartial0(com.google.cloud.contactcenterinsights.v1.ListPhraseMatchersResponse result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000002) != 0)) { result.nextPageToken_ = nextPageToken_; @@ -476,51 +427,46 @@ private void buildPartial0( public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.contactcenterinsights.v1.ListPhraseMatchersResponse) { - return mergeFrom( - (com.google.cloud.contactcenterinsights.v1.ListPhraseMatchersResponse) other); + return mergeFrom((com.google.cloud.contactcenterinsights.v1.ListPhraseMatchersResponse)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom( - com.google.cloud.contactcenterinsights.v1.ListPhraseMatchersResponse other) { - if (other - == com.google.cloud.contactcenterinsights.v1.ListPhraseMatchersResponse - .getDefaultInstance()) return this; + public Builder mergeFrom(com.google.cloud.contactcenterinsights.v1.ListPhraseMatchersResponse other) { + if (other == com.google.cloud.contactcenterinsights.v1.ListPhraseMatchersResponse.getDefaultInstance()) return this; if (phraseMatchersBuilder_ == null) { if (!other.phraseMatchers_.isEmpty()) { if (phraseMatchers_.isEmpty()) { @@ -539,10 +485,9 @@ public Builder mergeFrom( phraseMatchersBuilder_ = null; phraseMatchers_ = other.phraseMatchers_; bitField0_ = (bitField0_ & ~0x00000001); - phraseMatchersBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders - ? getPhraseMatchersFieldBuilder() - : null; + phraseMatchersBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getPhraseMatchersFieldBuilder() : null; } else { phraseMatchersBuilder_.addAllMessages(other.phraseMatchers_); } @@ -579,33 +524,30 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - com.google.cloud.contactcenterinsights.v1.PhraseMatcher m = - input.readMessage( - com.google.cloud.contactcenterinsights.v1.PhraseMatcher.parser(), - extensionRegistry); - if (phraseMatchersBuilder_ == null) { - ensurePhraseMatchersIsMutable(); - phraseMatchers_.add(m); - } else { - phraseMatchersBuilder_.addMessage(m); - } - break; - } // case 10 - case 18: - { - nextPageToken_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000002; - break; - } // case 18 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + com.google.cloud.contactcenterinsights.v1.PhraseMatcher m = + input.readMessage( + com.google.cloud.contactcenterinsights.v1.PhraseMatcher.parser(), + extensionRegistry); + if (phraseMatchersBuilder_ == null) { + ensurePhraseMatchersIsMutable(); + phraseMatchers_.add(m); + } else { + phraseMatchersBuilder_.addMessage(m); + } + break; + } // case 10 + case 18: { + nextPageToken_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + break; + } // case 18 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -615,39 +557,28 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; - private java.util.List - phraseMatchers_ = java.util.Collections.emptyList(); - + private java.util.List phraseMatchers_ = + java.util.Collections.emptyList(); private void ensurePhraseMatchersIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { - phraseMatchers_ = - new java.util.ArrayList( - phraseMatchers_); + phraseMatchers_ = new java.util.ArrayList(phraseMatchers_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.contactcenterinsights.v1.PhraseMatcher, - com.google.cloud.contactcenterinsights.v1.PhraseMatcher.Builder, - com.google.cloud.contactcenterinsights.v1.PhraseMatcherOrBuilder> - phraseMatchersBuilder_; + com.google.cloud.contactcenterinsights.v1.PhraseMatcher, com.google.cloud.contactcenterinsights.v1.PhraseMatcher.Builder, com.google.cloud.contactcenterinsights.v1.PhraseMatcherOrBuilder> phraseMatchersBuilder_; /** - * - * *
      * The phrase matchers that match the request.
      * 
* - * repeated .google.cloud.contactcenterinsights.v1.PhraseMatcher phrase_matchers = 1; - * + * repeated .google.cloud.contactcenterinsights.v1.PhraseMatcher phrase_matchers = 1; */ - public java.util.List - getPhraseMatchersList() { + public java.util.List getPhraseMatchersList() { if (phraseMatchersBuilder_ == null) { return java.util.Collections.unmodifiableList(phraseMatchers_); } else { @@ -655,14 +586,11 @@ private void ensurePhraseMatchersIsMutable() { } } /** - * - * *
      * The phrase matchers that match the request.
      * 
* - * repeated .google.cloud.contactcenterinsights.v1.PhraseMatcher phrase_matchers = 1; - * + * repeated .google.cloud.contactcenterinsights.v1.PhraseMatcher phrase_matchers = 1; */ public int getPhraseMatchersCount() { if (phraseMatchersBuilder_ == null) { @@ -672,14 +600,11 @@ public int getPhraseMatchersCount() { } } /** - * - * *
      * The phrase matchers that match the request.
      * 
* - * repeated .google.cloud.contactcenterinsights.v1.PhraseMatcher phrase_matchers = 1; - * + * repeated .google.cloud.contactcenterinsights.v1.PhraseMatcher phrase_matchers = 1; */ public com.google.cloud.contactcenterinsights.v1.PhraseMatcher getPhraseMatchers(int index) { if (phraseMatchersBuilder_ == null) { @@ -689,14 +614,11 @@ public com.google.cloud.contactcenterinsights.v1.PhraseMatcher getPhraseMatchers } } /** - * - * *
      * The phrase matchers that match the request.
      * 
* - * repeated .google.cloud.contactcenterinsights.v1.PhraseMatcher phrase_matchers = 1; - * + * repeated .google.cloud.contactcenterinsights.v1.PhraseMatcher phrase_matchers = 1; */ public Builder setPhraseMatchers( int index, com.google.cloud.contactcenterinsights.v1.PhraseMatcher value) { @@ -713,18 +635,14 @@ public Builder setPhraseMatchers( return this; } /** - * - * *
      * The phrase matchers that match the request.
      * 
* - * repeated .google.cloud.contactcenterinsights.v1.PhraseMatcher phrase_matchers = 1; - * + * repeated .google.cloud.contactcenterinsights.v1.PhraseMatcher phrase_matchers = 1; */ public Builder setPhraseMatchers( - int index, - com.google.cloud.contactcenterinsights.v1.PhraseMatcher.Builder builderForValue) { + int index, com.google.cloud.contactcenterinsights.v1.PhraseMatcher.Builder builderForValue) { if (phraseMatchersBuilder_ == null) { ensurePhraseMatchersIsMutable(); phraseMatchers_.set(index, builderForValue.build()); @@ -735,17 +653,13 @@ public Builder setPhraseMatchers( return this; } /** - * - * *
      * The phrase matchers that match the request.
      * 
* - * repeated .google.cloud.contactcenterinsights.v1.PhraseMatcher phrase_matchers = 1; - * + * repeated .google.cloud.contactcenterinsights.v1.PhraseMatcher phrase_matchers = 1; */ - public Builder addPhraseMatchers( - com.google.cloud.contactcenterinsights.v1.PhraseMatcher value) { + public Builder addPhraseMatchers(com.google.cloud.contactcenterinsights.v1.PhraseMatcher value) { if (phraseMatchersBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -759,14 +673,11 @@ public Builder addPhraseMatchers( return this; } /** - * - * *
      * The phrase matchers that match the request.
      * 
* - * repeated .google.cloud.contactcenterinsights.v1.PhraseMatcher phrase_matchers = 1; - * + * repeated .google.cloud.contactcenterinsights.v1.PhraseMatcher phrase_matchers = 1; */ public Builder addPhraseMatchers( int index, com.google.cloud.contactcenterinsights.v1.PhraseMatcher value) { @@ -783,14 +694,11 @@ public Builder addPhraseMatchers( return this; } /** - * - * *
      * The phrase matchers that match the request.
      * 
* - * repeated .google.cloud.contactcenterinsights.v1.PhraseMatcher phrase_matchers = 1; - * + * repeated .google.cloud.contactcenterinsights.v1.PhraseMatcher phrase_matchers = 1; */ public Builder addPhraseMatchers( com.google.cloud.contactcenterinsights.v1.PhraseMatcher.Builder builderForValue) { @@ -804,18 +712,14 @@ public Builder addPhraseMatchers( return this; } /** - * - * *
      * The phrase matchers that match the request.
      * 
* - * repeated .google.cloud.contactcenterinsights.v1.PhraseMatcher phrase_matchers = 1; - * + * repeated .google.cloud.contactcenterinsights.v1.PhraseMatcher phrase_matchers = 1; */ public Builder addPhraseMatchers( - int index, - com.google.cloud.contactcenterinsights.v1.PhraseMatcher.Builder builderForValue) { + int index, com.google.cloud.contactcenterinsights.v1.PhraseMatcher.Builder builderForValue) { if (phraseMatchersBuilder_ == null) { ensurePhraseMatchersIsMutable(); phraseMatchers_.add(index, builderForValue.build()); @@ -826,21 +730,18 @@ public Builder addPhraseMatchers( return this; } /** - * - * *
      * The phrase matchers that match the request.
      * 
* - * repeated .google.cloud.contactcenterinsights.v1.PhraseMatcher phrase_matchers = 1; - * + * repeated .google.cloud.contactcenterinsights.v1.PhraseMatcher phrase_matchers = 1; */ public Builder addAllPhraseMatchers( - java.lang.Iterable - values) { + java.lang.Iterable values) { if (phraseMatchersBuilder_ == null) { ensurePhraseMatchersIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, phraseMatchers_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, phraseMatchers_); onChanged(); } else { phraseMatchersBuilder_.addAllMessages(values); @@ -848,14 +749,11 @@ public Builder addAllPhraseMatchers( return this; } /** - * - * *
      * The phrase matchers that match the request.
      * 
* - * repeated .google.cloud.contactcenterinsights.v1.PhraseMatcher phrase_matchers = 1; - * + * repeated .google.cloud.contactcenterinsights.v1.PhraseMatcher phrase_matchers = 1; */ public Builder clearPhraseMatchers() { if (phraseMatchersBuilder_ == null) { @@ -868,14 +766,11 @@ public Builder clearPhraseMatchers() { return this; } /** - * - * *
      * The phrase matchers that match the request.
      * 
* - * repeated .google.cloud.contactcenterinsights.v1.PhraseMatcher phrase_matchers = 1; - * + * repeated .google.cloud.contactcenterinsights.v1.PhraseMatcher phrase_matchers = 1; */ public Builder removePhraseMatchers(int index) { if (phraseMatchersBuilder_ == null) { @@ -888,50 +783,39 @@ public Builder removePhraseMatchers(int index) { return this; } /** - * - * *
      * The phrase matchers that match the request.
      * 
* - * repeated .google.cloud.contactcenterinsights.v1.PhraseMatcher phrase_matchers = 1; - * + * repeated .google.cloud.contactcenterinsights.v1.PhraseMatcher phrase_matchers = 1; */ public com.google.cloud.contactcenterinsights.v1.PhraseMatcher.Builder getPhraseMatchersBuilder( int index) { return getPhraseMatchersFieldBuilder().getBuilder(index); } /** - * - * *
      * The phrase matchers that match the request.
      * 
* - * repeated .google.cloud.contactcenterinsights.v1.PhraseMatcher phrase_matchers = 1; - * + * repeated .google.cloud.contactcenterinsights.v1.PhraseMatcher phrase_matchers = 1; */ - public com.google.cloud.contactcenterinsights.v1.PhraseMatcherOrBuilder - getPhraseMatchersOrBuilder(int index) { + public com.google.cloud.contactcenterinsights.v1.PhraseMatcherOrBuilder getPhraseMatchersOrBuilder( + int index) { if (phraseMatchersBuilder_ == null) { - return phraseMatchers_.get(index); - } else { + return phraseMatchers_.get(index); } else { return phraseMatchersBuilder_.getMessageOrBuilder(index); } } /** - * - * *
      * The phrase matchers that match the request.
      * 
* - * repeated .google.cloud.contactcenterinsights.v1.PhraseMatcher phrase_matchers = 1; - * + * repeated .google.cloud.contactcenterinsights.v1.PhraseMatcher phrase_matchers = 1; */ - public java.util.List< - ? extends com.google.cloud.contactcenterinsights.v1.PhraseMatcherOrBuilder> - getPhraseMatchersOrBuilderList() { + public java.util.List + getPhraseMatchersOrBuilderList() { if (phraseMatchersBuilder_ != null) { return phraseMatchersBuilder_.getMessageOrBuilderList(); } else { @@ -939,62 +823,45 @@ public com.google.cloud.contactcenterinsights.v1.PhraseMatcher.Builder getPhrase } } /** - * - * *
      * The phrase matchers that match the request.
      * 
* - * repeated .google.cloud.contactcenterinsights.v1.PhraseMatcher phrase_matchers = 1; - * + * repeated .google.cloud.contactcenterinsights.v1.PhraseMatcher phrase_matchers = 1; */ - public com.google.cloud.contactcenterinsights.v1.PhraseMatcher.Builder - addPhraseMatchersBuilder() { - return getPhraseMatchersFieldBuilder() - .addBuilder(com.google.cloud.contactcenterinsights.v1.PhraseMatcher.getDefaultInstance()); + public com.google.cloud.contactcenterinsights.v1.PhraseMatcher.Builder addPhraseMatchersBuilder() { + return getPhraseMatchersFieldBuilder().addBuilder( + com.google.cloud.contactcenterinsights.v1.PhraseMatcher.getDefaultInstance()); } /** - * - * *
      * The phrase matchers that match the request.
      * 
* - * repeated .google.cloud.contactcenterinsights.v1.PhraseMatcher phrase_matchers = 1; - * + * repeated .google.cloud.contactcenterinsights.v1.PhraseMatcher phrase_matchers = 1; */ public com.google.cloud.contactcenterinsights.v1.PhraseMatcher.Builder addPhraseMatchersBuilder( int index) { - return getPhraseMatchersFieldBuilder() - .addBuilder( - index, com.google.cloud.contactcenterinsights.v1.PhraseMatcher.getDefaultInstance()); + return getPhraseMatchersFieldBuilder().addBuilder( + index, com.google.cloud.contactcenterinsights.v1.PhraseMatcher.getDefaultInstance()); } /** - * - * *
      * The phrase matchers that match the request.
      * 
* - * repeated .google.cloud.contactcenterinsights.v1.PhraseMatcher phrase_matchers = 1; - * + * repeated .google.cloud.contactcenterinsights.v1.PhraseMatcher phrase_matchers = 1; */ - public java.util.List - getPhraseMatchersBuilderList() { + public java.util.List + getPhraseMatchersBuilderList() { return getPhraseMatchersFieldBuilder().getBuilderList(); } - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.contactcenterinsights.v1.PhraseMatcher, - com.google.cloud.contactcenterinsights.v1.PhraseMatcher.Builder, - com.google.cloud.contactcenterinsights.v1.PhraseMatcherOrBuilder> + com.google.cloud.contactcenterinsights.v1.PhraseMatcher, com.google.cloud.contactcenterinsights.v1.PhraseMatcher.Builder, com.google.cloud.contactcenterinsights.v1.PhraseMatcherOrBuilder> getPhraseMatchersFieldBuilder() { if (phraseMatchersBuilder_ == null) { - phraseMatchersBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.contactcenterinsights.v1.PhraseMatcher, - com.google.cloud.contactcenterinsights.v1.PhraseMatcher.Builder, - com.google.cloud.contactcenterinsights.v1.PhraseMatcherOrBuilder>( + phraseMatchersBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.contactcenterinsights.v1.PhraseMatcher, com.google.cloud.contactcenterinsights.v1.PhraseMatcher.Builder, com.google.cloud.contactcenterinsights.v1.PhraseMatcherOrBuilder>( phraseMatchers_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), @@ -1006,21 +873,19 @@ public com.google.cloud.contactcenterinsights.v1.PhraseMatcher.Builder addPhrase private java.lang.Object nextPageToken_ = ""; /** - * - * *
      * A token, which can be sent as `page_token` to retrieve the next page.
      * If this field is omitted, there are no subsequent pages.
      * 
* * string next_page_token = 2; - * * @return The nextPageToken. */ public java.lang.String getNextPageToken() { java.lang.Object ref = nextPageToken_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); nextPageToken_ = s; return s; @@ -1029,22 +894,21 @@ public java.lang.String getNextPageToken() { } } /** - * - * *
      * A token, which can be sent as `page_token` to retrieve the next page.
      * If this field is omitted, there are no subsequent pages.
      * 
* * string next_page_token = 2; - * * @return The bytes for nextPageToken. */ - public com.google.protobuf.ByteString getNextPageTokenBytes() { + public com.google.protobuf.ByteString + getNextPageTokenBytes() { java.lang.Object ref = nextPageToken_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); nextPageToken_ = b; return b; } else { @@ -1052,37 +916,30 @@ public com.google.protobuf.ByteString getNextPageTokenBytes() { } } /** - * - * *
      * A token, which can be sent as `page_token` to retrieve the next page.
      * If this field is omitted, there are no subsequent pages.
      * 
* * string next_page_token = 2; - * * @param value The nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageToken(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setNextPageToken( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } nextPageToken_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** - * - * *
      * A token, which can be sent as `page_token` to retrieve the next page.
      * If this field is omitted, there are no subsequent pages.
      * 
* * string next_page_token = 2; - * * @return This builder for chaining. */ public Builder clearNextPageToken() { @@ -1092,31 +949,27 @@ public Builder clearNextPageToken() { return this; } /** - * - * *
      * A token, which can be sent as `page_token` to retrieve the next page.
      * If this field is omitted, there are no subsequent pages.
      * 
* * string next_page_token = 2; - * * @param value The bytes for nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageTokenBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setNextPageTokenBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); nextPageToken_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1126,43 +979,41 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.contactcenterinsights.v1.ListPhraseMatchersResponse) } // @@protoc_insertion_point(class_scope:google.cloud.contactcenterinsights.v1.ListPhraseMatchersResponse) - private static final com.google.cloud.contactcenterinsights.v1.ListPhraseMatchersResponse - DEFAULT_INSTANCE; - + private static final com.google.cloud.contactcenterinsights.v1.ListPhraseMatchersResponse DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.cloud.contactcenterinsights.v1.ListPhraseMatchersResponse(); } - public static com.google.cloud.contactcenterinsights.v1.ListPhraseMatchersResponse - getDefaultInstance() { + public static com.google.cloud.contactcenterinsights.v1.ListPhraseMatchersResponse getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListPhraseMatchersResponse parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListPhraseMatchersResponse parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1174,8 +1025,9 @@ public com.google.protobuf.Parser getParserForType() } @java.lang.Override - public com.google.cloud.contactcenterinsights.v1.ListPhraseMatchersResponse - getDefaultInstanceForType() { + public com.google.cloud.contactcenterinsights.v1.ListPhraseMatchersResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ListPhraseMatchersResponseOrBuilder.java b/owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ListPhraseMatchersResponseOrBuilder.java similarity index 72% rename from java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ListPhraseMatchersResponseOrBuilder.java rename to owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ListPhraseMatchersResponseOrBuilder.java index 3cc8ae94fcb2..0a61b73974db 100644 --- a/java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ListPhraseMatchersResponseOrBuilder.java +++ b/owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ListPhraseMatchersResponseOrBuilder.java @@ -1,41 +1,22 @@ -/* - * 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. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/contactcenterinsights/v1/contact_center_insights.proto package com.google.cloud.contactcenterinsights.v1; -public interface ListPhraseMatchersResponseOrBuilder - extends +public interface ListPhraseMatchersResponseOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.contactcenterinsights.v1.ListPhraseMatchersResponse) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * The phrase matchers that match the request.
    * 
* * repeated .google.cloud.contactcenterinsights.v1.PhraseMatcher phrase_matchers = 1; */ - java.util.List getPhraseMatchersList(); + java.util.List + getPhraseMatchersList(); /** - * - * *
    * The phrase matchers that match the request.
    * 
@@ -44,8 +25,6 @@ public interface ListPhraseMatchersResponseOrBuilder */ com.google.cloud.contactcenterinsights.v1.PhraseMatcher getPhraseMatchers(int index); /** - * - * *
    * The phrase matchers that match the request.
    * 
@@ -54,19 +33,15 @@ public interface ListPhraseMatchersResponseOrBuilder */ int getPhraseMatchersCount(); /** - * - * *
    * The phrase matchers that match the request.
    * 
* * repeated .google.cloud.contactcenterinsights.v1.PhraseMatcher phrase_matchers = 1; */ - java.util.List + java.util.List getPhraseMatchersOrBuilderList(); /** - * - * *
    * The phrase matchers that match the request.
    * 
@@ -77,29 +52,24 @@ com.google.cloud.contactcenterinsights.v1.PhraseMatcherOrBuilder getPhraseMatche int index); /** - * - * *
    * A token, which can be sent as `page_token` to retrieve the next page.
    * If this field is omitted, there are no subsequent pages.
    * 
* * string next_page_token = 2; - * * @return The nextPageToken. */ java.lang.String getNextPageToken(); /** - * - * *
    * A token, which can be sent as `page_token` to retrieve the next page.
    * If this field is omitted, there are no subsequent pages.
    * 
* * string next_page_token = 2; - * * @return The bytes for nextPageToken. */ - com.google.protobuf.ByteString getNextPageTokenBytes(); + com.google.protobuf.ByteString + getNextPageTokenBytes(); } diff --git a/java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ListViewsRequest.java b/owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ListViewsRequest.java similarity index 68% rename from java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ListViewsRequest.java rename to owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ListViewsRequest.java index 70f83feb4401..deccaf174222 100644 --- a/java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ListViewsRequest.java +++ b/owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ListViewsRequest.java @@ -1,42 +1,24 @@ -/* - * 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. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/contactcenterinsights/v1/contact_center_insights.proto package com.google.cloud.contactcenterinsights.v1; /** - * - * *
  * The request to list views.
  * 
* * Protobuf type {@code google.cloud.contactcenterinsights.v1.ListViewsRequest} */ -public final class ListViewsRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class ListViewsRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.contactcenterinsights.v1.ListViewsRequest) ListViewsRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use ListViewsRequest.newBuilder() to construct. private ListViewsRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private ListViewsRequest() { parent_ = ""; pageToken_ = ""; @@ -44,45 +26,38 @@ private ListViewsRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new ListViewsRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto - .internal_static_google_cloud_contactcenterinsights_v1_ListViewsRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto.internal_static_google_cloud_contactcenterinsights_v1_ListViewsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto - .internal_static_google_cloud_contactcenterinsights_v1_ListViewsRequest_fieldAccessorTable + return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto.internal_static_google_cloud_contactcenterinsights_v1_ListViewsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.contactcenterinsights.v1.ListViewsRequest.class, - com.google.cloud.contactcenterinsights.v1.ListViewsRequest.Builder.class); + com.google.cloud.contactcenterinsights.v1.ListViewsRequest.class, com.google.cloud.contactcenterinsights.v1.ListViewsRequest.Builder.class); } public static final int PARENT_FIELD_NUMBER = 1; - @SuppressWarnings("serial") private volatile java.lang.Object parent_ = ""; /** - * - * *
    * Required. The parent resource of the views.
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The parent. */ @java.lang.Override @@ -91,31 +66,29 @@ public java.lang.String getParent() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; } } /** - * - * *
    * Required. The parent resource of the views.
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for parent. */ @java.lang.Override - public com.google.protobuf.ByteString getParentBytes() { + public com.google.protobuf.ByteString + getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); parent_ = b; return b; } else { @@ -126,8 +99,6 @@ public com.google.protobuf.ByteString getParentBytes() { public static final int PAGE_SIZE_FIELD_NUMBER = 2; private int pageSize_ = 0; /** - * - * *
    * The maximum number of views to return in the response. If this
    * value is zero, the service will select a default size. A call may return
@@ -136,7 +107,6 @@ public com.google.protobuf.ByteString getParentBytes() {
    * 
* * int32 page_size = 2; - * * @return The pageSize. */ @java.lang.Override @@ -145,12 +115,9 @@ public int getPageSize() { } public static final int PAGE_TOKEN_FIELD_NUMBER = 3; - @SuppressWarnings("serial") private volatile java.lang.Object pageToken_ = ""; /** - * - * *
    * The value returned by the last `ListViewsResponse`; indicates
    * that this is a continuation of a prior `ListViews` call and
@@ -158,7 +125,6 @@ public int getPageSize() {
    * 
* * string page_token = 3; - * * @return The pageToken. */ @java.lang.Override @@ -167,15 +133,14 @@ public java.lang.String getPageToken() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); pageToken_ = s; return s; } } /** - * - * *
    * The value returned by the last `ListViewsResponse`; indicates
    * that this is a continuation of a prior `ListViews` call and
@@ -183,15 +148,16 @@ public java.lang.String getPageToken() {
    * 
* * string page_token = 3; - * * @return The bytes for pageToken. */ @java.lang.Override - public com.google.protobuf.ByteString getPageTokenBytes() { + public com.google.protobuf.ByteString + getPageTokenBytes() { java.lang.Object ref = pageToken_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); pageToken_ = b; return b; } else { @@ -200,7 +166,6 @@ public com.google.protobuf.ByteString getPageTokenBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -212,7 +177,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); } @@ -235,7 +201,8 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, parent_); } if (pageSize_ != 0) { - size += com.google.protobuf.CodedOutputStream.computeInt32Size(2, pageSize_); + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(2, pageSize_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(pageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, pageToken_); @@ -248,17 +215,19 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.contactcenterinsights.v1.ListViewsRequest)) { return super.equals(obj); } - com.google.cloud.contactcenterinsights.v1.ListViewsRequest other = - (com.google.cloud.contactcenterinsights.v1.ListViewsRequest) obj; + com.google.cloud.contactcenterinsights.v1.ListViewsRequest other = (com.google.cloud.contactcenterinsights.v1.ListViewsRequest) obj; - if (!getParent().equals(other.getParent())) return false; - if (getPageSize() != other.getPageSize()) return false; - if (!getPageToken().equals(other.getPageToken())) return false; + if (!getParent() + .equals(other.getParent())) return false; + if (getPageSize() + != other.getPageSize()) return false; + if (!getPageToken() + .equals(other.getPageToken())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -282,136 +251,129 @@ public int hashCode() { } public static com.google.cloud.contactcenterinsights.v1.ListViewsRequest parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.contactcenterinsights.v1.ListViewsRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.contactcenterinsights.v1.ListViewsRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.contactcenterinsights.v1.ListViewsRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.contactcenterinsights.v1.ListViewsRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.contactcenterinsights.v1.ListViewsRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.contactcenterinsights.v1.ListViewsRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.contactcenterinsights.v1.ListViewsRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.contactcenterinsights.v1.ListViewsRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.contactcenterinsights.v1.ListViewsRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.contactcenterinsights.v1.ListViewsRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.contactcenterinsights.v1.ListViewsRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.contactcenterinsights.v1.ListViewsRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.contactcenterinsights.v1.ListViewsRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.contactcenterinsights.v1.ListViewsRequest prototype) { + public static Builder newBuilder(com.google.cloud.contactcenterinsights.v1.ListViewsRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * The request to list views.
    * 
* * Protobuf type {@code google.cloud.contactcenterinsights.v1.ListViewsRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.contactcenterinsights.v1.ListViewsRequest) com.google.cloud.contactcenterinsights.v1.ListViewsRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto - .internal_static_google_cloud_contactcenterinsights_v1_ListViewsRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto.internal_static_google_cloud_contactcenterinsights_v1_ListViewsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto - .internal_static_google_cloud_contactcenterinsights_v1_ListViewsRequest_fieldAccessorTable + return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto.internal_static_google_cloud_contactcenterinsights_v1_ListViewsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.contactcenterinsights.v1.ListViewsRequest.class, - com.google.cloud.contactcenterinsights.v1.ListViewsRequest.Builder.class); + com.google.cloud.contactcenterinsights.v1.ListViewsRequest.class, com.google.cloud.contactcenterinsights.v1.ListViewsRequest.Builder.class); } // Construct using com.google.cloud.contactcenterinsights.v1.ListViewsRequest.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -423,9 +385,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto - .internal_static_google_cloud_contactcenterinsights_v1_ListViewsRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto.internal_static_google_cloud_contactcenterinsights_v1_ListViewsRequest_descriptor; } @java.lang.Override @@ -444,11 +406,8 @@ public com.google.cloud.contactcenterinsights.v1.ListViewsRequest build() { @java.lang.Override public com.google.cloud.contactcenterinsights.v1.ListViewsRequest buildPartial() { - com.google.cloud.contactcenterinsights.v1.ListViewsRequest result = - new com.google.cloud.contactcenterinsights.v1.ListViewsRequest(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + com.google.cloud.contactcenterinsights.v1.ListViewsRequest result = new com.google.cloud.contactcenterinsights.v1.ListViewsRequest(this); + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } @@ -470,39 +429,38 @@ private void buildPartial0(com.google.cloud.contactcenterinsights.v1.ListViewsRe public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.contactcenterinsights.v1.ListViewsRequest) { - return mergeFrom((com.google.cloud.contactcenterinsights.v1.ListViewsRequest) other); + return mergeFrom((com.google.cloud.contactcenterinsights.v1.ListViewsRequest)other); } else { super.mergeFrom(other); return this; @@ -510,8 +468,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.contactcenterinsights.v1.ListViewsRequest other) { - if (other == com.google.cloud.contactcenterinsights.v1.ListViewsRequest.getDefaultInstance()) - return this; + if (other == com.google.cloud.contactcenterinsights.v1.ListViewsRequest.getDefaultInstance()) return this; if (!other.getParent().isEmpty()) { parent_ = other.parent_; bitField0_ |= 0x00000001; @@ -551,31 +508,27 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - parent_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 16: - { - pageSize_ = input.readInt32(); - bitField0_ |= 0x00000002; - break; - } // case 16 - case 26: - { - pageToken_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000004; - break; - } // case 26 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + parent_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 16: { + pageSize_ = input.readInt32(); + bitField0_ |= 0x00000002; + break; + } // case 16 + case 26: { + pageToken_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000004; + break; + } // case 26 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -585,27 +538,22 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private java.lang.Object parent_ = ""; /** - * - * *
      * Required. The parent resource of the views.
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The parent. */ public java.lang.String getParent() { java.lang.Object ref = parent_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; @@ -614,23 +562,20 @@ public java.lang.String getParent() { } } /** - * - * *
      * Required. The parent resource of the views.
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for parent. */ - public com.google.protobuf.ByteString getParentBytes() { + public com.google.protobuf.ByteString + getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); parent_ = b; return b; } else { @@ -638,39 +583,28 @@ public com.google.protobuf.ByteString getParentBytes() { } } /** - * - * *
      * Required. The parent resource of the views.
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The parent to set. * @return This builder for chaining. */ - public Builder setParent(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setParent( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } parent_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
      * Required. The parent resource of the views.
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearParent() { @@ -680,23 +614,17 @@ public Builder clearParent() { return this; } /** - * - * *
      * Required. The parent resource of the views.
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setParentBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); parent_ = value; bitField0_ |= 0x00000001; @@ -704,10 +632,8 @@ public Builder setParentBytes(com.google.protobuf.ByteString value) { return this; } - private int pageSize_; + private int pageSize_ ; /** - * - * *
      * The maximum number of views to return in the response. If this
      * value is zero, the service will select a default size. A call may return
@@ -716,7 +642,6 @@ public Builder setParentBytes(com.google.protobuf.ByteString value) {
      * 
* * int32 page_size = 2; - * * @return The pageSize. */ @java.lang.Override @@ -724,8 +649,6 @@ public int getPageSize() { return pageSize_; } /** - * - * *
      * The maximum number of views to return in the response. If this
      * value is zero, the service will select a default size. A call may return
@@ -734,20 +657,17 @@ public int getPageSize() {
      * 
* * int32 page_size = 2; - * * @param value The pageSize to set. * @return This builder for chaining. */ public Builder setPageSize(int value) { - + pageSize_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** - * - * *
      * The maximum number of views to return in the response. If this
      * value is zero, the service will select a default size. A call may return
@@ -756,7 +676,6 @@ public Builder setPageSize(int value) {
      * 
* * int32 page_size = 2; - * * @return This builder for chaining. */ public Builder clearPageSize() { @@ -768,8 +687,6 @@ public Builder clearPageSize() { private java.lang.Object pageToken_ = ""; /** - * - * *
      * The value returned by the last `ListViewsResponse`; indicates
      * that this is a continuation of a prior `ListViews` call and
@@ -777,13 +694,13 @@ public Builder clearPageSize() {
      * 
* * string page_token = 3; - * * @return The pageToken. */ public java.lang.String getPageToken() { java.lang.Object ref = pageToken_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); pageToken_ = s; return s; @@ -792,8 +709,6 @@ public java.lang.String getPageToken() { } } /** - * - * *
      * The value returned by the last `ListViewsResponse`; indicates
      * that this is a continuation of a prior `ListViews` call and
@@ -801,14 +716,15 @@ public java.lang.String getPageToken() {
      * 
* * string page_token = 3; - * * @return The bytes for pageToken. */ - public com.google.protobuf.ByteString getPageTokenBytes() { + public com.google.protobuf.ByteString + getPageTokenBytes() { java.lang.Object ref = pageToken_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); pageToken_ = b; return b; } else { @@ -816,8 +732,6 @@ public com.google.protobuf.ByteString getPageTokenBytes() { } } /** - * - * *
      * The value returned by the last `ListViewsResponse`; indicates
      * that this is a continuation of a prior `ListViews` call and
@@ -825,22 +739,18 @@ public com.google.protobuf.ByteString getPageTokenBytes() {
      * 
* * string page_token = 3; - * * @param value The pageToken to set. * @return This builder for chaining. */ - public Builder setPageToken(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setPageToken( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } pageToken_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } /** - * - * *
      * The value returned by the last `ListViewsResponse`; indicates
      * that this is a continuation of a prior `ListViews` call and
@@ -848,7 +758,6 @@ public Builder setPageToken(java.lang.String value) {
      * 
* * string page_token = 3; - * * @return This builder for chaining. */ public Builder clearPageToken() { @@ -858,8 +767,6 @@ public Builder clearPageToken() { return this; } /** - * - * *
      * The value returned by the last `ListViewsResponse`; indicates
      * that this is a continuation of a prior `ListViews` call and
@@ -867,23 +774,21 @@ public Builder clearPageToken() {
      * 
* * string page_token = 3; - * * @param value The bytes for pageToken to set. * @return This builder for chaining. */ - public Builder setPageTokenBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setPageTokenBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); pageToken_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -893,12 +798,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.contactcenterinsights.v1.ListViewsRequest) } // @@protoc_insertion_point(class_scope:google.cloud.contactcenterinsights.v1.ListViewsRequest) private static final com.google.cloud.contactcenterinsights.v1.ListViewsRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.contactcenterinsights.v1.ListViewsRequest(); } @@ -907,27 +812,27 @@ public static com.google.cloud.contactcenterinsights.v1.ListViewsRequest getDefa return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListViewsRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListViewsRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -942,4 +847,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.contactcenterinsights.v1.ListViewsRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ListViewsRequestOrBuilder.java b/owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ListViewsRequestOrBuilder.java similarity index 60% rename from java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ListViewsRequestOrBuilder.java rename to owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ListViewsRequestOrBuilder.java index ea56b54c53c3..30af1d7266af 100644 --- a/java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ListViewsRequestOrBuilder.java +++ b/owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ListViewsRequestOrBuilder.java @@ -1,60 +1,33 @@ -/* - * 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. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/contactcenterinsights/v1/contact_center_insights.proto package com.google.cloud.contactcenterinsights.v1; -public interface ListViewsRequestOrBuilder - extends +public interface ListViewsRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.contactcenterinsights.v1.ListViewsRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Required. The parent resource of the views.
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The parent. */ java.lang.String getParent(); /** - * - * *
    * Required. The parent resource of the views.
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for parent. */ - com.google.protobuf.ByteString getParentBytes(); + com.google.protobuf.ByteString + getParentBytes(); /** - * - * *
    * The maximum number of views to return in the response. If this
    * value is zero, the service will select a default size. A call may return
@@ -63,14 +36,11 @@ public interface ListViewsRequestOrBuilder
    * 
* * int32 page_size = 2; - * * @return The pageSize. */ int getPageSize(); /** - * - * *
    * The value returned by the last `ListViewsResponse`; indicates
    * that this is a continuation of a prior `ListViews` call and
@@ -78,13 +48,10 @@ public interface ListViewsRequestOrBuilder
    * 
* * string page_token = 3; - * * @return The pageToken. */ java.lang.String getPageToken(); /** - * - * *
    * The value returned by the last `ListViewsResponse`; indicates
    * that this is a continuation of a prior `ListViews` call and
@@ -92,8 +59,8 @@ public interface ListViewsRequestOrBuilder
    * 
* * string page_token = 3; - * * @return The bytes for pageToken. */ - com.google.protobuf.ByteString getPageTokenBytes(); + com.google.protobuf.ByteString + getPageTokenBytes(); } diff --git a/java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ListViewsResponse.java b/owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ListViewsResponse.java similarity index 71% rename from java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ListViewsResponse.java rename to owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ListViewsResponse.java index 2a5445173890..f0dfce3ce23e 100644 --- a/java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ListViewsResponse.java +++ b/owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ListViewsResponse.java @@ -1,42 +1,24 @@ -/* - * 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. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/contactcenterinsights/v1/contact_center_insights.proto package com.google.cloud.contactcenterinsights.v1; /** - * - * *
  * The response of listing views.
  * 
* * Protobuf type {@code google.cloud.contactcenterinsights.v1.ListViewsResponse} */ -public final class ListViewsResponse extends com.google.protobuf.GeneratedMessageV3 - implements +public final class ListViewsResponse extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.contactcenterinsights.v1.ListViewsResponse) ListViewsResponseOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use ListViewsResponse.newBuilder() to construct. private ListViewsResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private ListViewsResponse() { views_ = java.util.Collections.emptyList(); nextPageToken_ = ""; @@ -44,37 +26,33 @@ private ListViewsResponse() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new ListViewsResponse(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto - .internal_static_google_cloud_contactcenterinsights_v1_ListViewsResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto.internal_static_google_cloud_contactcenterinsights_v1_ListViewsResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto - .internal_static_google_cloud_contactcenterinsights_v1_ListViewsResponse_fieldAccessorTable + return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto.internal_static_google_cloud_contactcenterinsights_v1_ListViewsResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.contactcenterinsights.v1.ListViewsResponse.class, - com.google.cloud.contactcenterinsights.v1.ListViewsResponse.Builder.class); + com.google.cloud.contactcenterinsights.v1.ListViewsResponse.class, com.google.cloud.contactcenterinsights.v1.ListViewsResponse.Builder.class); } public static final int VIEWS_FIELD_NUMBER = 1; - @SuppressWarnings("serial") private java.util.List views_; /** - * - * *
    * The views that match the request.
    * 
@@ -86,8 +64,6 @@ public java.util.List getViewsLi return views_; } /** - * - * *
    * The views that match the request.
    * 
@@ -95,13 +71,11 @@ public java.util.List getViewsLi * repeated .google.cloud.contactcenterinsights.v1.View views = 1; */ @java.lang.Override - public java.util.List + public java.util.List getViewsOrBuilderList() { return views_; } /** - * - * *
    * The views that match the request.
    * 
@@ -113,8 +87,6 @@ public int getViewsCount() { return views_.size(); } /** - * - * *
    * The views that match the request.
    * 
@@ -126,8 +98,6 @@ public com.google.cloud.contactcenterinsights.v1.View getViews(int index) { return views_.get(index); } /** - * - * *
    * The views that match the request.
    * 
@@ -135,24 +105,21 @@ public com.google.cloud.contactcenterinsights.v1.View getViews(int index) { * repeated .google.cloud.contactcenterinsights.v1.View views = 1; */ @java.lang.Override - public com.google.cloud.contactcenterinsights.v1.ViewOrBuilder getViewsOrBuilder(int index) { + public com.google.cloud.contactcenterinsights.v1.ViewOrBuilder getViewsOrBuilder( + int index) { return views_.get(index); } public static final int NEXT_PAGE_TOKEN_FIELD_NUMBER = 2; - @SuppressWarnings("serial") private volatile java.lang.Object nextPageToken_ = ""; /** - * - * *
    * A token, which can be sent as `page_token` to retrieve the next page.
    * If this field is omitted, there are no subsequent pages.
    * 
* * string next_page_token = 2; - * * @return The nextPageToken. */ @java.lang.Override @@ -161,30 +128,30 @@ public java.lang.String getNextPageToken() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); nextPageToken_ = s; return s; } } /** - * - * *
    * A token, which can be sent as `page_token` to retrieve the next page.
    * If this field is omitted, there are no subsequent pages.
    * 
* * string next_page_token = 2; - * * @return The bytes for nextPageToken. */ @java.lang.Override - public com.google.protobuf.ByteString getNextPageTokenBytes() { + public com.google.protobuf.ByteString + getNextPageTokenBytes() { java.lang.Object ref = nextPageToken_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); nextPageToken_ = b; return b; } else { @@ -193,7 +160,6 @@ public com.google.protobuf.ByteString getNextPageTokenBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -205,7 +171,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { for (int i = 0; i < views_.size(); i++) { output.writeMessage(1, views_.get(i)); } @@ -222,7 +189,8 @@ public int getSerializedSize() { size = 0; for (int i = 0; i < views_.size(); i++) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, views_.get(i)); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, views_.get(i)); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(nextPageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, nextPageToken_); @@ -235,16 +203,17 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.contactcenterinsights.v1.ListViewsResponse)) { return super.equals(obj); } - com.google.cloud.contactcenterinsights.v1.ListViewsResponse other = - (com.google.cloud.contactcenterinsights.v1.ListViewsResponse) obj; + com.google.cloud.contactcenterinsights.v1.ListViewsResponse other = (com.google.cloud.contactcenterinsights.v1.ListViewsResponse) obj; - if (!getViewsList().equals(other.getViewsList())) return false; - if (!getNextPageToken().equals(other.getNextPageToken())) return false; + if (!getViewsList() + .equals(other.getViewsList())) return false; + if (!getNextPageToken() + .equals(other.getNextPageToken())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -268,136 +237,129 @@ public int hashCode() { } public static com.google.cloud.contactcenterinsights.v1.ListViewsResponse parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.contactcenterinsights.v1.ListViewsResponse parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.contactcenterinsights.v1.ListViewsResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.contactcenterinsights.v1.ListViewsResponse parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.contactcenterinsights.v1.ListViewsResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.contactcenterinsights.v1.ListViewsResponse parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.contactcenterinsights.v1.ListViewsResponse parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.contactcenterinsights.v1.ListViewsResponse parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.contactcenterinsights.v1.ListViewsResponse parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.contactcenterinsights.v1.ListViewsResponse parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.contactcenterinsights.v1.ListViewsResponse parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.contactcenterinsights.v1.ListViewsResponse parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.contactcenterinsights.v1.ListViewsResponse parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.contactcenterinsights.v1.ListViewsResponse parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.contactcenterinsights.v1.ListViewsResponse prototype) { + public static Builder newBuilder(com.google.cloud.contactcenterinsights.v1.ListViewsResponse prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * The response of listing views.
    * 
* * Protobuf type {@code google.cloud.contactcenterinsights.v1.ListViewsResponse} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.contactcenterinsights.v1.ListViewsResponse) com.google.cloud.contactcenterinsights.v1.ListViewsResponseOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto - .internal_static_google_cloud_contactcenterinsights_v1_ListViewsResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto.internal_static_google_cloud_contactcenterinsights_v1_ListViewsResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto - .internal_static_google_cloud_contactcenterinsights_v1_ListViewsResponse_fieldAccessorTable + return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto.internal_static_google_cloud_contactcenterinsights_v1_ListViewsResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.contactcenterinsights.v1.ListViewsResponse.class, - com.google.cloud.contactcenterinsights.v1.ListViewsResponse.Builder.class); + com.google.cloud.contactcenterinsights.v1.ListViewsResponse.class, com.google.cloud.contactcenterinsights.v1.ListViewsResponse.Builder.class); } // Construct using com.google.cloud.contactcenterinsights.v1.ListViewsResponse.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -414,9 +376,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto - .internal_static_google_cloud_contactcenterinsights_v1_ListViewsResponse_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto.internal_static_google_cloud_contactcenterinsights_v1_ListViewsResponse_descriptor; } @java.lang.Override @@ -435,18 +397,14 @@ public com.google.cloud.contactcenterinsights.v1.ListViewsResponse build() { @java.lang.Override public com.google.cloud.contactcenterinsights.v1.ListViewsResponse buildPartial() { - com.google.cloud.contactcenterinsights.v1.ListViewsResponse result = - new com.google.cloud.contactcenterinsights.v1.ListViewsResponse(this); + com.google.cloud.contactcenterinsights.v1.ListViewsResponse result = new com.google.cloud.contactcenterinsights.v1.ListViewsResponse(this); buildPartialRepeatedFields(result); - if (bitField0_ != 0) { - buildPartial0(result); - } + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } - private void buildPartialRepeatedFields( - com.google.cloud.contactcenterinsights.v1.ListViewsResponse result) { + private void buildPartialRepeatedFields(com.google.cloud.contactcenterinsights.v1.ListViewsResponse result) { if (viewsBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { views_ = java.util.Collections.unmodifiableList(views_); @@ -469,39 +427,38 @@ private void buildPartial0(com.google.cloud.contactcenterinsights.v1.ListViewsRe public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.contactcenterinsights.v1.ListViewsResponse) { - return mergeFrom((com.google.cloud.contactcenterinsights.v1.ListViewsResponse) other); + return mergeFrom((com.google.cloud.contactcenterinsights.v1.ListViewsResponse)other); } else { super.mergeFrom(other); return this; @@ -509,8 +466,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.contactcenterinsights.v1.ListViewsResponse other) { - if (other == com.google.cloud.contactcenterinsights.v1.ListViewsResponse.getDefaultInstance()) - return this; + if (other == com.google.cloud.contactcenterinsights.v1.ListViewsResponse.getDefaultInstance()) return this; if (viewsBuilder_ == null) { if (!other.views_.isEmpty()) { if (views_.isEmpty()) { @@ -529,10 +485,9 @@ public Builder mergeFrom(com.google.cloud.contactcenterinsights.v1.ListViewsResp viewsBuilder_ = null; views_ = other.views_; bitField0_ = (bitField0_ & ~0x00000001); - viewsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders - ? getViewsFieldBuilder() - : null; + viewsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getViewsFieldBuilder() : null; } else { viewsBuilder_.addAllMessages(other.views_); } @@ -569,32 +524,30 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - com.google.cloud.contactcenterinsights.v1.View m = - input.readMessage( - com.google.cloud.contactcenterinsights.v1.View.parser(), extensionRegistry); - if (viewsBuilder_ == null) { - ensureViewsIsMutable(); - views_.add(m); - } else { - viewsBuilder_.addMessage(m); - } - break; - } // case 10 - case 18: - { - nextPageToken_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000002; - break; - } // case 18 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + com.google.cloud.contactcenterinsights.v1.View m = + input.readMessage( + com.google.cloud.contactcenterinsights.v1.View.parser(), + extensionRegistry); + if (viewsBuilder_ == null) { + ensureViewsIsMutable(); + views_.add(m); + } else { + viewsBuilder_.addMessage(m); + } + break; + } // case 10 + case 18: { + nextPageToken_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + break; + } // case 18 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -604,28 +557,21 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private java.util.List views_ = - java.util.Collections.emptyList(); - + java.util.Collections.emptyList(); private void ensureViewsIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { views_ = new java.util.ArrayList(views_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.contactcenterinsights.v1.View, - com.google.cloud.contactcenterinsights.v1.View.Builder, - com.google.cloud.contactcenterinsights.v1.ViewOrBuilder> - viewsBuilder_; + com.google.cloud.contactcenterinsights.v1.View, com.google.cloud.contactcenterinsights.v1.View.Builder, com.google.cloud.contactcenterinsights.v1.ViewOrBuilder> viewsBuilder_; /** - * - * *
      * The views that match the request.
      * 
@@ -640,8 +586,6 @@ public java.util.List getViewsLi } } /** - * - * *
      * The views that match the request.
      * 
@@ -656,8 +600,6 @@ public int getViewsCount() { } } /** - * - * *
      * The views that match the request.
      * 
@@ -672,15 +614,14 @@ public com.google.cloud.contactcenterinsights.v1.View getViews(int index) { } } /** - * - * *
      * The views that match the request.
      * 
* * repeated .google.cloud.contactcenterinsights.v1.View views = 1; */ - public Builder setViews(int index, com.google.cloud.contactcenterinsights.v1.View value) { + public Builder setViews( + int index, com.google.cloud.contactcenterinsights.v1.View value) { if (viewsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -694,8 +635,6 @@ public Builder setViews(int index, com.google.cloud.contactcenterinsights.v1.Vie return this; } /** - * - * *
      * The views that match the request.
      * 
@@ -714,8 +653,6 @@ public Builder setViews( return this; } /** - * - * *
      * The views that match the request.
      * 
@@ -736,15 +673,14 @@ public Builder addViews(com.google.cloud.contactcenterinsights.v1.View value) { return this; } /** - * - * *
      * The views that match the request.
      * 
* * repeated .google.cloud.contactcenterinsights.v1.View views = 1; */ - public Builder addViews(int index, com.google.cloud.contactcenterinsights.v1.View value) { + public Builder addViews( + int index, com.google.cloud.contactcenterinsights.v1.View value) { if (viewsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -758,8 +694,6 @@ public Builder addViews(int index, com.google.cloud.contactcenterinsights.v1.Vie return this; } /** - * - * *
      * The views that match the request.
      * 
@@ -778,8 +712,6 @@ public Builder addViews( return this; } /** - * - * *
      * The views that match the request.
      * 
@@ -798,8 +730,6 @@ public Builder addViews( return this; } /** - * - * *
      * The views that match the request.
      * 
@@ -810,7 +740,8 @@ public Builder addAllViews( java.lang.Iterable values) { if (viewsBuilder_ == null) { ensureViewsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, views_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, views_); onChanged(); } else { viewsBuilder_.addAllMessages(values); @@ -818,8 +749,6 @@ public Builder addAllViews( return this; } /** - * - * *
      * The views that match the request.
      * 
@@ -837,8 +766,6 @@ public Builder clearViews() { return this; } /** - * - * *
      * The views that match the request.
      * 
@@ -856,44 +783,39 @@ public Builder removeViews(int index) { return this; } /** - * - * *
      * The views that match the request.
      * 
* * repeated .google.cloud.contactcenterinsights.v1.View views = 1; */ - public com.google.cloud.contactcenterinsights.v1.View.Builder getViewsBuilder(int index) { + public com.google.cloud.contactcenterinsights.v1.View.Builder getViewsBuilder( + int index) { return getViewsFieldBuilder().getBuilder(index); } /** - * - * *
      * The views that match the request.
      * 
* * repeated .google.cloud.contactcenterinsights.v1.View views = 1; */ - public com.google.cloud.contactcenterinsights.v1.ViewOrBuilder getViewsOrBuilder(int index) { + public com.google.cloud.contactcenterinsights.v1.ViewOrBuilder getViewsOrBuilder( + int index) { if (viewsBuilder_ == null) { - return views_.get(index); - } else { + return views_.get(index); } else { return viewsBuilder_.getMessageOrBuilder(index); } } /** - * - * *
      * The views that match the request.
      * 
* * repeated .google.cloud.contactcenterinsights.v1.View views = 1; */ - public java.util.List - getViewsOrBuilderList() { + public java.util.List + getViewsOrBuilderList() { if (viewsBuilder_ != null) { return viewsBuilder_.getMessageOrBuilderList(); } else { @@ -901,8 +823,6 @@ public com.google.cloud.contactcenterinsights.v1.ViewOrBuilder getViewsOrBuilder } } /** - * - * *
      * The views that match the request.
      * 
@@ -910,48 +830,42 @@ public com.google.cloud.contactcenterinsights.v1.ViewOrBuilder getViewsOrBuilder * repeated .google.cloud.contactcenterinsights.v1.View views = 1; */ public com.google.cloud.contactcenterinsights.v1.View.Builder addViewsBuilder() { - return getViewsFieldBuilder() - .addBuilder(com.google.cloud.contactcenterinsights.v1.View.getDefaultInstance()); + return getViewsFieldBuilder().addBuilder( + com.google.cloud.contactcenterinsights.v1.View.getDefaultInstance()); } /** - * - * *
      * The views that match the request.
      * 
* * repeated .google.cloud.contactcenterinsights.v1.View views = 1; */ - public com.google.cloud.contactcenterinsights.v1.View.Builder addViewsBuilder(int index) { - return getViewsFieldBuilder() - .addBuilder(index, com.google.cloud.contactcenterinsights.v1.View.getDefaultInstance()); + public com.google.cloud.contactcenterinsights.v1.View.Builder addViewsBuilder( + int index) { + return getViewsFieldBuilder().addBuilder( + index, com.google.cloud.contactcenterinsights.v1.View.getDefaultInstance()); } /** - * - * *
      * The views that match the request.
      * 
* * repeated .google.cloud.contactcenterinsights.v1.View views = 1; */ - public java.util.List - getViewsBuilderList() { + public java.util.List + getViewsBuilderList() { return getViewsFieldBuilder().getBuilderList(); } - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.contactcenterinsights.v1.View, - com.google.cloud.contactcenterinsights.v1.View.Builder, - com.google.cloud.contactcenterinsights.v1.ViewOrBuilder> + com.google.cloud.contactcenterinsights.v1.View, com.google.cloud.contactcenterinsights.v1.View.Builder, com.google.cloud.contactcenterinsights.v1.ViewOrBuilder> getViewsFieldBuilder() { if (viewsBuilder_ == null) { - viewsBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.contactcenterinsights.v1.View, - com.google.cloud.contactcenterinsights.v1.View.Builder, - com.google.cloud.contactcenterinsights.v1.ViewOrBuilder>( - views_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); + viewsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.contactcenterinsights.v1.View, com.google.cloud.contactcenterinsights.v1.View.Builder, com.google.cloud.contactcenterinsights.v1.ViewOrBuilder>( + views_, + ((bitField0_ & 0x00000001) != 0), + getParentForChildren(), + isClean()); views_ = null; } return viewsBuilder_; @@ -959,21 +873,19 @@ public com.google.cloud.contactcenterinsights.v1.View.Builder addViewsBuilder(in private java.lang.Object nextPageToken_ = ""; /** - * - * *
      * A token, which can be sent as `page_token` to retrieve the next page.
      * If this field is omitted, there are no subsequent pages.
      * 
* * string next_page_token = 2; - * * @return The nextPageToken. */ public java.lang.String getNextPageToken() { java.lang.Object ref = nextPageToken_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); nextPageToken_ = s; return s; @@ -982,22 +894,21 @@ public java.lang.String getNextPageToken() { } } /** - * - * *
      * A token, which can be sent as `page_token` to retrieve the next page.
      * If this field is omitted, there are no subsequent pages.
      * 
* * string next_page_token = 2; - * * @return The bytes for nextPageToken. */ - public com.google.protobuf.ByteString getNextPageTokenBytes() { + public com.google.protobuf.ByteString + getNextPageTokenBytes() { java.lang.Object ref = nextPageToken_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); nextPageToken_ = b; return b; } else { @@ -1005,37 +916,30 @@ public com.google.protobuf.ByteString getNextPageTokenBytes() { } } /** - * - * *
      * A token, which can be sent as `page_token` to retrieve the next page.
      * If this field is omitted, there are no subsequent pages.
      * 
* * string next_page_token = 2; - * * @param value The nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageToken(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setNextPageToken( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } nextPageToken_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** - * - * *
      * A token, which can be sent as `page_token` to retrieve the next page.
      * If this field is omitted, there are no subsequent pages.
      * 
* * string next_page_token = 2; - * * @return This builder for chaining. */ public Builder clearNextPageToken() { @@ -1045,31 +949,27 @@ public Builder clearNextPageToken() { return this; } /** - * - * *
      * A token, which can be sent as `page_token` to retrieve the next page.
      * If this field is omitted, there are no subsequent pages.
      * 
* * string next_page_token = 2; - * * @param value The bytes for nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageTokenBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setNextPageTokenBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); nextPageToken_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1079,12 +979,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.contactcenterinsights.v1.ListViewsResponse) } // @@protoc_insertion_point(class_scope:google.cloud.contactcenterinsights.v1.ListViewsResponse) private static final com.google.cloud.contactcenterinsights.v1.ListViewsResponse DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.contactcenterinsights.v1.ListViewsResponse(); } @@ -1093,27 +993,27 @@ public static com.google.cloud.contactcenterinsights.v1.ListViewsResponse getDef return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListViewsResponse parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListViewsResponse parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1128,4 +1028,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.contactcenterinsights.v1.ListViewsResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ListViewsResponseOrBuilder.java b/owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ListViewsResponseOrBuilder.java similarity index 70% rename from java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ListViewsResponseOrBuilder.java rename to owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ListViewsResponseOrBuilder.java index 7bdecae07408..864c935217c7 100644 --- a/java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ListViewsResponseOrBuilder.java +++ b/owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ListViewsResponseOrBuilder.java @@ -1,41 +1,22 @@ -/* - * 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. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/contactcenterinsights/v1/contact_center_insights.proto package com.google.cloud.contactcenterinsights.v1; -public interface ListViewsResponseOrBuilder - extends +public interface ListViewsResponseOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.contactcenterinsights.v1.ListViewsResponse) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * The views that match the request.
    * 
* * repeated .google.cloud.contactcenterinsights.v1.View views = 1; */ - java.util.List getViewsList(); + java.util.List + getViewsList(); /** - * - * *
    * The views that match the request.
    * 
@@ -44,8 +25,6 @@ public interface ListViewsResponseOrBuilder */ com.google.cloud.contactcenterinsights.v1.View getViews(int index); /** - * - * *
    * The views that match the request.
    * 
@@ -54,51 +33,43 @@ public interface ListViewsResponseOrBuilder */ int getViewsCount(); /** - * - * *
    * The views that match the request.
    * 
* * repeated .google.cloud.contactcenterinsights.v1.View views = 1; */ - java.util.List + java.util.List getViewsOrBuilderList(); /** - * - * *
    * The views that match the request.
    * 
* * repeated .google.cloud.contactcenterinsights.v1.View views = 1; */ - com.google.cloud.contactcenterinsights.v1.ViewOrBuilder getViewsOrBuilder(int index); + com.google.cloud.contactcenterinsights.v1.ViewOrBuilder getViewsOrBuilder( + int index); /** - * - * *
    * A token, which can be sent as `page_token` to retrieve the next page.
    * If this field is omitted, there are no subsequent pages.
    * 
* * string next_page_token = 2; - * * @return The nextPageToken. */ java.lang.String getNextPageToken(); /** - * - * *
    * A token, which can be sent as `page_token` to retrieve the next page.
    * If this field is omitted, there are no subsequent pages.
    * 
* * string next_page_token = 2; - * * @return The bytes for nextPageToken. */ - com.google.protobuf.ByteString getNextPageTokenBytes(); + com.google.protobuf.ByteString + getNextPageTokenBytes(); } diff --git a/java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/LocationName.java b/owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/LocationName.java similarity index 100% rename from java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/LocationName.java rename to owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/LocationName.java diff --git a/java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/PhraseMatchData.java b/owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/PhraseMatchData.java similarity index 68% rename from java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/PhraseMatchData.java rename to owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/PhraseMatchData.java index 8cf5b5b21aca..069cb6ba554a 100644 --- a/java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/PhraseMatchData.java +++ b/owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/PhraseMatchData.java @@ -1,26 +1,9 @@ -/* - * 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. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/contactcenterinsights/v1/resources.proto package com.google.cloud.contactcenterinsights.v1; /** - * - * *
  * The data for a matched phrase matcher.
  * Represents information identifying a phrase matcher for a given match.
@@ -28,16 +11,15 @@
  *
  * Protobuf type {@code google.cloud.contactcenterinsights.v1.PhraseMatchData}
  */
-public final class PhraseMatchData extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class PhraseMatchData extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.cloud.contactcenterinsights.v1.PhraseMatchData)
     PhraseMatchDataOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use PhraseMatchData.newBuilder() to construct.
   private PhraseMatchData(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
   private PhraseMatchData() {
     phraseMatcher_ = "";
     displayName_ = "";
@@ -45,43 +27,38 @@ private PhraseMatchData() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new PhraseMatchData();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet
+  getUnknownFields() {
     return this.unknownFields;
   }
-
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.cloud.contactcenterinsights.v1.ResourcesProto
-        .internal_static_google_cloud_contactcenterinsights_v1_PhraseMatchData_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.cloud.contactcenterinsights.v1.ResourcesProto.internal_static_google_cloud_contactcenterinsights_v1_PhraseMatchData_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.contactcenterinsights.v1.ResourcesProto
-        .internal_static_google_cloud_contactcenterinsights_v1_PhraseMatchData_fieldAccessorTable
+    return com.google.cloud.contactcenterinsights.v1.ResourcesProto.internal_static_google_cloud_contactcenterinsights_v1_PhraseMatchData_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.contactcenterinsights.v1.PhraseMatchData.class,
-            com.google.cloud.contactcenterinsights.v1.PhraseMatchData.Builder.class);
+            com.google.cloud.contactcenterinsights.v1.PhraseMatchData.class, com.google.cloud.contactcenterinsights.v1.PhraseMatchData.Builder.class);
   }
 
   public static final int PHRASE_MATCHER_FIELD_NUMBER = 1;
-
   @SuppressWarnings("serial")
   private volatile java.lang.Object phraseMatcher_ = "";
   /**
-   *
-   *
    * 
    * The unique identifier (the resource name) of the phrase matcher.
    * 
* * string phrase_matcher = 1; - * * @return The phraseMatcher. */ @java.lang.Override @@ -90,29 +67,29 @@ public java.lang.String getPhraseMatcher() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); phraseMatcher_ = s; return s; } } /** - * - * *
    * The unique identifier (the resource name) of the phrase matcher.
    * 
* * string phrase_matcher = 1; - * * @return The bytes for phraseMatcher. */ @java.lang.Override - public com.google.protobuf.ByteString getPhraseMatcherBytes() { + public com.google.protobuf.ByteString + getPhraseMatcherBytes() { java.lang.Object ref = phraseMatcher_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); phraseMatcher_ = b; return b; } else { @@ -121,18 +98,14 @@ public com.google.protobuf.ByteString getPhraseMatcherBytes() { } public static final int DISPLAY_NAME_FIELD_NUMBER = 2; - @SuppressWarnings("serial") private volatile java.lang.Object displayName_ = ""; /** - * - * *
    * The human-readable name of the phrase matcher.
    * 
* * string display_name = 2; - * * @return The displayName. */ @java.lang.Override @@ -141,29 +114,29 @@ public java.lang.String getDisplayName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); displayName_ = s; return s; } } /** - * - * *
    * The human-readable name of the phrase matcher.
    * 
* * string display_name = 2; - * * @return The bytes for displayName. */ @java.lang.Override - public com.google.protobuf.ByteString getDisplayNameBytes() { + public com.google.protobuf.ByteString + getDisplayNameBytes() { java.lang.Object ref = displayName_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); displayName_ = b; return b; } else { @@ -172,7 +145,6 @@ public com.google.protobuf.ByteString getDisplayNameBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -184,7 +156,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(phraseMatcher_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, phraseMatcher_); } @@ -214,16 +187,17 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.contactcenterinsights.v1.PhraseMatchData)) { return super.equals(obj); } - com.google.cloud.contactcenterinsights.v1.PhraseMatchData other = - (com.google.cloud.contactcenterinsights.v1.PhraseMatchData) obj; + com.google.cloud.contactcenterinsights.v1.PhraseMatchData other = (com.google.cloud.contactcenterinsights.v1.PhraseMatchData) obj; - if (!getPhraseMatcher().equals(other.getPhraseMatcher())) return false; - if (!getDisplayName().equals(other.getDisplayName())) return false; + if (!getPhraseMatcher() + .equals(other.getPhraseMatcher())) return false; + if (!getDisplayName() + .equals(other.getDisplayName())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -245,104 +219,96 @@ public int hashCode() { } public static com.google.cloud.contactcenterinsights.v1.PhraseMatchData parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.contactcenterinsights.v1.PhraseMatchData parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.contactcenterinsights.v1.PhraseMatchData parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.contactcenterinsights.v1.PhraseMatchData parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.contactcenterinsights.v1.PhraseMatchData parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.contactcenterinsights.v1.PhraseMatchData parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.contactcenterinsights.v1.PhraseMatchData parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.contactcenterinsights.v1.PhraseMatchData parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.contactcenterinsights.v1.PhraseMatchData parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.contactcenterinsights.v1.PhraseMatchData parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.contactcenterinsights.v1.PhraseMatchData parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.contactcenterinsights.v1.PhraseMatchData parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.contactcenterinsights.v1.PhraseMatchData parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.contactcenterinsights.v1.PhraseMatchData parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.contactcenterinsights.v1.PhraseMatchData prototype) { + public static Builder newBuilder(com.google.cloud.contactcenterinsights.v1.PhraseMatchData prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * The data for a matched phrase matcher.
    * Represents information identifying a phrase matcher for a given match.
@@ -350,32 +316,33 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.cloud.contactcenterinsights.v1.PhraseMatchData}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.cloud.contactcenterinsights.v1.PhraseMatchData)
       com.google.cloud.contactcenterinsights.v1.PhraseMatchDataOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.cloud.contactcenterinsights.v1.ResourcesProto
-          .internal_static_google_cloud_contactcenterinsights_v1_PhraseMatchData_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.cloud.contactcenterinsights.v1.ResourcesProto.internal_static_google_cloud_contactcenterinsights_v1_PhraseMatchData_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.contactcenterinsights.v1.ResourcesProto
-          .internal_static_google_cloud_contactcenterinsights_v1_PhraseMatchData_fieldAccessorTable
+      return com.google.cloud.contactcenterinsights.v1.ResourcesProto.internal_static_google_cloud_contactcenterinsights_v1_PhraseMatchData_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.contactcenterinsights.v1.PhraseMatchData.class,
-              com.google.cloud.contactcenterinsights.v1.PhraseMatchData.Builder.class);
+              com.google.cloud.contactcenterinsights.v1.PhraseMatchData.class, com.google.cloud.contactcenterinsights.v1.PhraseMatchData.Builder.class);
     }
 
     // Construct using com.google.cloud.contactcenterinsights.v1.PhraseMatchData.newBuilder()
-    private Builder() {}
+    private Builder() {
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
-      super(parent);
     }
 
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+      super(parent);
+
+    }
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -386,9 +353,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.cloud.contactcenterinsights.v1.ResourcesProto
-          .internal_static_google_cloud_contactcenterinsights_v1_PhraseMatchData_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.cloud.contactcenterinsights.v1.ResourcesProto.internal_static_google_cloud_contactcenterinsights_v1_PhraseMatchData_descriptor;
     }
 
     @java.lang.Override
@@ -407,11 +374,8 @@ public com.google.cloud.contactcenterinsights.v1.PhraseMatchData build() {
 
     @java.lang.Override
     public com.google.cloud.contactcenterinsights.v1.PhraseMatchData buildPartial() {
-      com.google.cloud.contactcenterinsights.v1.PhraseMatchData result =
-          new com.google.cloud.contactcenterinsights.v1.PhraseMatchData(this);
-      if (bitField0_ != 0) {
-        buildPartial0(result);
-      }
+      com.google.cloud.contactcenterinsights.v1.PhraseMatchData result = new com.google.cloud.contactcenterinsights.v1.PhraseMatchData(this);
+      if (bitField0_ != 0) { buildPartial0(result); }
       onBuilt();
       return result;
     }
@@ -430,39 +394,38 @@ private void buildPartial0(com.google.cloud.contactcenterinsights.v1.PhraseMatch
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
-
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.cloud.contactcenterinsights.v1.PhraseMatchData) {
-        return mergeFrom((com.google.cloud.contactcenterinsights.v1.PhraseMatchData) other);
+        return mergeFrom((com.google.cloud.contactcenterinsights.v1.PhraseMatchData)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -470,8 +433,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.cloud.contactcenterinsights.v1.PhraseMatchData other) {
-      if (other == com.google.cloud.contactcenterinsights.v1.PhraseMatchData.getDefaultInstance())
-        return this;
+      if (other == com.google.cloud.contactcenterinsights.v1.PhraseMatchData.getDefaultInstance()) return this;
       if (!other.getPhraseMatcher().isEmpty()) {
         phraseMatcher_ = other.phraseMatcher_;
         bitField0_ |= 0x00000001;
@@ -508,25 +470,22 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10:
-              {
-                phraseMatcher_ = input.readStringRequireUtf8();
-                bitField0_ |= 0x00000001;
-                break;
-              } // case 10
-            case 18:
-              {
-                displayName_ = input.readStringRequireUtf8();
-                bitField0_ |= 0x00000002;
-                break;
-              } // case 18
-            default:
-              {
-                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                  done = true; // was an endgroup tag
-                }
-                break;
-              } // default:
+            case 10: {
+              phraseMatcher_ = input.readStringRequireUtf8();
+              bitField0_ |= 0x00000001;
+              break;
+            } // case 10
+            case 18: {
+              displayName_ = input.readStringRequireUtf8();
+              bitField0_ |= 0x00000002;
+              break;
+            } // case 18
+            default: {
+              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                done = true; // was an endgroup tag
+              }
+              break;
+            } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -536,25 +495,22 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
-
     private int bitField0_;
 
     private java.lang.Object phraseMatcher_ = "";
     /**
-     *
-     *
      * 
      * The unique identifier (the resource name) of the phrase matcher.
      * 
* * string phrase_matcher = 1; - * * @return The phraseMatcher. */ public java.lang.String getPhraseMatcher() { java.lang.Object ref = phraseMatcher_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); phraseMatcher_ = s; return s; @@ -563,21 +519,20 @@ public java.lang.String getPhraseMatcher() { } } /** - * - * *
      * The unique identifier (the resource name) of the phrase matcher.
      * 
* * string phrase_matcher = 1; - * * @return The bytes for phraseMatcher. */ - public com.google.protobuf.ByteString getPhraseMatcherBytes() { + public com.google.protobuf.ByteString + getPhraseMatcherBytes() { java.lang.Object ref = phraseMatcher_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); phraseMatcher_ = b; return b; } else { @@ -585,35 +540,28 @@ public com.google.protobuf.ByteString getPhraseMatcherBytes() { } } /** - * - * *
      * The unique identifier (the resource name) of the phrase matcher.
      * 
* * string phrase_matcher = 1; - * * @param value The phraseMatcher to set. * @return This builder for chaining. */ - public Builder setPhraseMatcher(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setPhraseMatcher( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } phraseMatcher_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
      * The unique identifier (the resource name) of the phrase matcher.
      * 
* * string phrase_matcher = 1; - * * @return This builder for chaining. */ public Builder clearPhraseMatcher() { @@ -623,21 +571,17 @@ public Builder clearPhraseMatcher() { return this; } /** - * - * *
      * The unique identifier (the resource name) of the phrase matcher.
      * 
* * string phrase_matcher = 1; - * * @param value The bytes for phraseMatcher to set. * @return This builder for chaining. */ - public Builder setPhraseMatcherBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setPhraseMatcherBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); phraseMatcher_ = value; bitField0_ |= 0x00000001; @@ -647,20 +591,18 @@ public Builder setPhraseMatcherBytes(com.google.protobuf.ByteString value) { private java.lang.Object displayName_ = ""; /** - * - * *
      * The human-readable name of the phrase matcher.
      * 
* * string display_name = 2; - * * @return The displayName. */ public java.lang.String getDisplayName() { java.lang.Object ref = displayName_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); displayName_ = s; return s; @@ -669,21 +611,20 @@ public java.lang.String getDisplayName() { } } /** - * - * *
      * The human-readable name of the phrase matcher.
      * 
* * string display_name = 2; - * * @return The bytes for displayName. */ - public com.google.protobuf.ByteString getDisplayNameBytes() { + public com.google.protobuf.ByteString + getDisplayNameBytes() { java.lang.Object ref = displayName_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); displayName_ = b; return b; } else { @@ -691,35 +632,28 @@ public com.google.protobuf.ByteString getDisplayNameBytes() { } } /** - * - * *
      * The human-readable name of the phrase matcher.
      * 
* * string display_name = 2; - * * @param value The displayName to set. * @return This builder for chaining. */ - public Builder setDisplayName(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setDisplayName( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } displayName_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** - * - * *
      * The human-readable name of the phrase matcher.
      * 
* * string display_name = 2; - * * @return This builder for chaining. */ public Builder clearDisplayName() { @@ -729,30 +663,26 @@ public Builder clearDisplayName() { return this; } /** - * - * *
      * The human-readable name of the phrase matcher.
      * 
* * string display_name = 2; - * * @param value The bytes for displayName to set. * @return This builder for chaining. */ - public Builder setDisplayNameBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setDisplayNameBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); displayName_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -762,12 +692,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.contactcenterinsights.v1.PhraseMatchData) } // @@protoc_insertion_point(class_scope:google.cloud.contactcenterinsights.v1.PhraseMatchData) private static final com.google.cloud.contactcenterinsights.v1.PhraseMatchData DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.contactcenterinsights.v1.PhraseMatchData(); } @@ -776,27 +706,27 @@ public static com.google.cloud.contactcenterinsights.v1.PhraseMatchData getDefau return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public PhraseMatchData parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public PhraseMatchData parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -811,4 +741,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.contactcenterinsights.v1.PhraseMatchData getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/PhraseMatchDataOrBuilder.java b/owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/PhraseMatchDataOrBuilder.java similarity index 57% rename from java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/PhraseMatchDataOrBuilder.java rename to owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/PhraseMatchDataOrBuilder.java index 0367f2efbebb..b751257fe41d 100644 --- a/java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/PhraseMatchDataOrBuilder.java +++ b/owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/PhraseMatchDataOrBuilder.java @@ -1,75 +1,49 @@ -/* - * 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. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/contactcenterinsights/v1/resources.proto package com.google.cloud.contactcenterinsights.v1; -public interface PhraseMatchDataOrBuilder - extends +public interface PhraseMatchDataOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.contactcenterinsights.v1.PhraseMatchData) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * The unique identifier (the resource name) of the phrase matcher.
    * 
* * string phrase_matcher = 1; - * * @return The phraseMatcher. */ java.lang.String getPhraseMatcher(); /** - * - * *
    * The unique identifier (the resource name) of the phrase matcher.
    * 
* * string phrase_matcher = 1; - * * @return The bytes for phraseMatcher. */ - com.google.protobuf.ByteString getPhraseMatcherBytes(); + com.google.protobuf.ByteString + getPhraseMatcherBytes(); /** - * - * *
    * The human-readable name of the phrase matcher.
    * 
* * string display_name = 2; - * * @return The displayName. */ java.lang.String getDisplayName(); /** - * - * *
    * The human-readable name of the phrase matcher.
    * 
* * string display_name = 2; - * * @return The bytes for displayName. */ - com.google.protobuf.ByteString getDisplayNameBytes(); + com.google.protobuf.ByteString + getDisplayNameBytes(); } diff --git a/java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/PhraseMatchRule.java b/owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/PhraseMatchRule.java similarity index 69% rename from java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/PhraseMatchRule.java rename to owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/PhraseMatchRule.java index 0e4b7de0de45..08dfc19ed3a2 100644 --- a/java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/PhraseMatchRule.java +++ b/owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/PhraseMatchRule.java @@ -1,85 +1,62 @@ -/* - * 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. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/contactcenterinsights/v1/resources.proto package com.google.cloud.contactcenterinsights.v1; /** - * - * *
  * The data for a phrase match rule.
  * 
* * Protobuf type {@code google.cloud.contactcenterinsights.v1.PhraseMatchRule} */ -public final class PhraseMatchRule extends com.google.protobuf.GeneratedMessageV3 - implements +public final class PhraseMatchRule extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.contactcenterinsights.v1.PhraseMatchRule) PhraseMatchRuleOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use PhraseMatchRule.newBuilder() to construct. private PhraseMatchRule(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private PhraseMatchRule() { query_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new PhraseMatchRule(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.contactcenterinsights.v1.ResourcesProto - .internal_static_google_cloud_contactcenterinsights_v1_PhraseMatchRule_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.contactcenterinsights.v1.ResourcesProto.internal_static_google_cloud_contactcenterinsights_v1_PhraseMatchRule_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.contactcenterinsights.v1.ResourcesProto - .internal_static_google_cloud_contactcenterinsights_v1_PhraseMatchRule_fieldAccessorTable + return com.google.cloud.contactcenterinsights.v1.ResourcesProto.internal_static_google_cloud_contactcenterinsights_v1_PhraseMatchRule_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.contactcenterinsights.v1.PhraseMatchRule.class, - com.google.cloud.contactcenterinsights.v1.PhraseMatchRule.Builder.class); + com.google.cloud.contactcenterinsights.v1.PhraseMatchRule.class, com.google.cloud.contactcenterinsights.v1.PhraseMatchRule.Builder.class); } public static final int QUERY_FIELD_NUMBER = 1; - @SuppressWarnings("serial") private volatile java.lang.Object query_ = ""; /** - * - * *
    * Required. The phrase to be matched.
    * 
* * string query = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The query. */ @java.lang.Override @@ -88,29 +65,29 @@ public java.lang.String getQuery() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); query_ = s; return s; } } /** - * - * *
    * Required. The phrase to be matched.
    * 
* * string query = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for query. */ @java.lang.Override - public com.google.protobuf.ByteString getQueryBytes() { + public com.google.protobuf.ByteString + getQueryBytes() { java.lang.Object ref = query_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); query_ = b; return b; } else { @@ -121,15 +98,12 @@ public com.google.protobuf.ByteString getQueryBytes() { public static final int NEGATED_FIELD_NUMBER = 2; private boolean negated_ = false; /** - * - * *
    * Specifies whether the phrase must be missing from the transcript segment or
    * present in the transcript segment.
    * 
* * bool negated = 2; - * * @return The negated. */ @java.lang.Override @@ -140,15 +114,12 @@ public boolean getNegated() { public static final int CONFIG_FIELD_NUMBER = 3; private com.google.cloud.contactcenterinsights.v1.PhraseMatchRuleConfig config_; /** - * - * *
    * Provides additional information about the rule that specifies how to apply
    * the rule.
    * 
* * .google.cloud.contactcenterinsights.v1.PhraseMatchRuleConfig config = 3; - * * @return Whether the config field is set. */ @java.lang.Override @@ -156,26 +127,19 @@ public boolean hasConfig() { return config_ != null; } /** - * - * *
    * Provides additional information about the rule that specifies how to apply
    * the rule.
    * 
* * .google.cloud.contactcenterinsights.v1.PhraseMatchRuleConfig config = 3; - * * @return The config. */ @java.lang.Override public com.google.cloud.contactcenterinsights.v1.PhraseMatchRuleConfig getConfig() { - return config_ == null - ? com.google.cloud.contactcenterinsights.v1.PhraseMatchRuleConfig.getDefaultInstance() - : config_; + return config_ == null ? com.google.cloud.contactcenterinsights.v1.PhraseMatchRuleConfig.getDefaultInstance() : config_; } /** - * - * *
    * Provides additional information about the rule that specifies how to apply
    * the rule.
@@ -184,15 +148,11 @@ public com.google.cloud.contactcenterinsights.v1.PhraseMatchRuleConfig getConfig
    * .google.cloud.contactcenterinsights.v1.PhraseMatchRuleConfig config = 3;
    */
   @java.lang.Override
-  public com.google.cloud.contactcenterinsights.v1.PhraseMatchRuleConfigOrBuilder
-      getConfigOrBuilder() {
-    return config_ == null
-        ? com.google.cloud.contactcenterinsights.v1.PhraseMatchRuleConfig.getDefaultInstance()
-        : config_;
+  public com.google.cloud.contactcenterinsights.v1.PhraseMatchRuleConfigOrBuilder getConfigOrBuilder() {
+    return config_ == null ? com.google.cloud.contactcenterinsights.v1.PhraseMatchRuleConfig.getDefaultInstance() : config_;
   }
 
   private byte memoizedIsInitialized = -1;
-
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -204,7 +164,8 @@ public final boolean isInitialized() {
   }
 
   @java.lang.Override
-  public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
+  public void writeTo(com.google.protobuf.CodedOutputStream output)
+                      throws java.io.IOException {
     if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(query_)) {
       com.google.protobuf.GeneratedMessageV3.writeString(output, 1, query_);
     }
@@ -227,10 +188,12 @@ public int getSerializedSize() {
       size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, query_);
     }
     if (negated_ != false) {
-      size += com.google.protobuf.CodedOutputStream.computeBoolSize(2, negated_);
+      size += com.google.protobuf.CodedOutputStream
+        .computeBoolSize(2, negated_);
     }
     if (config_ != null) {
-      size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getConfig());
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(3, getConfig());
     }
     size += getUnknownFields().getSerializedSize();
     memoizedSize = size;
@@ -240,19 +203,21 @@ public int getSerializedSize() {
   @java.lang.Override
   public boolean equals(final java.lang.Object obj) {
     if (obj == this) {
-      return true;
+     return true;
     }
     if (!(obj instanceof com.google.cloud.contactcenterinsights.v1.PhraseMatchRule)) {
       return super.equals(obj);
     }
-    com.google.cloud.contactcenterinsights.v1.PhraseMatchRule other =
-        (com.google.cloud.contactcenterinsights.v1.PhraseMatchRule) obj;
+    com.google.cloud.contactcenterinsights.v1.PhraseMatchRule other = (com.google.cloud.contactcenterinsights.v1.PhraseMatchRule) obj;
 
-    if (!getQuery().equals(other.getQuery())) return false;
-    if (getNegated() != other.getNegated()) return false;
+    if (!getQuery()
+        .equals(other.getQuery())) return false;
+    if (getNegated()
+        != other.getNegated()) return false;
     if (hasConfig() != other.hasConfig()) return false;
     if (hasConfig()) {
-      if (!getConfig().equals(other.getConfig())) return false;
+      if (!getConfig()
+          .equals(other.getConfig())) return false;
     }
     if (!getUnknownFields().equals(other.getUnknownFields())) return false;
     return true;
@@ -268,7 +233,8 @@ public int hashCode() {
     hash = (37 * hash) + QUERY_FIELD_NUMBER;
     hash = (53 * hash) + getQuery().hashCode();
     hash = (37 * hash) + NEGATED_FIELD_NUMBER;
-    hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getNegated());
+    hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(
+        getNegated());
     if (hasConfig()) {
       hash = (37 * hash) + CONFIG_FIELD_NUMBER;
       hash = (53 * hash) + getConfig().hashCode();
@@ -279,136 +245,129 @@ public int hashCode() {
   }
 
   public static com.google.cloud.contactcenterinsights.v1.PhraseMatchRule parseFrom(
-      java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException {
+      java.nio.ByteBuffer data)
+      throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.cloud.contactcenterinsights.v1.PhraseMatchRule parseFrom(
-      java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.nio.ByteBuffer data,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
   public static com.google.cloud.contactcenterinsights.v1.PhraseMatchRule parseFrom(
       com.google.protobuf.ByteString data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.cloud.contactcenterinsights.v1.PhraseMatchRule parseFrom(
       com.google.protobuf.ByteString data,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
   public static com.google.cloud.contactcenterinsights.v1.PhraseMatchRule parseFrom(byte[] data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.cloud.contactcenterinsights.v1.PhraseMatchRule parseFrom(
-      byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      byte[] data,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
-  public static com.google.cloud.contactcenterinsights.v1.PhraseMatchRule parseFrom(
-      java.io.InputStream input) throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+  public static com.google.cloud.contactcenterinsights.v1.PhraseMatchRule parseFrom(java.io.InputStream input)
+      throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input);
   }
-
   public static com.google.cloud.contactcenterinsights.v1.PhraseMatchRule parseFrom(
-      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input, extensionRegistry);
   }
-
-  public static com.google.cloud.contactcenterinsights.v1.PhraseMatchRule parseDelimitedFrom(
-      java.io.InputStream input) throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
+  public static com.google.cloud.contactcenterinsights.v1.PhraseMatchRule parseDelimitedFrom(java.io.InputStream input)
+      throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3
+        .parseDelimitedWithIOException(PARSER, input);
   }
-
   public static com.google.cloud.contactcenterinsights.v1.PhraseMatchRule parseDelimitedFrom(
-      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
   }
-
   public static com.google.cloud.contactcenterinsights.v1.PhraseMatchRule parseFrom(
-      com.google.protobuf.CodedInputStream input) throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+      com.google.protobuf.CodedInputStream input)
+      throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input);
   }
-
   public static com.google.cloud.contactcenterinsights.v1.PhraseMatchRule parseFrom(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input, extensionRegistry);
   }
 
   @java.lang.Override
-  public Builder newBuilderForType() {
-    return newBuilder();
-  }
-
+  public Builder newBuilderForType() { return newBuilder(); }
   public static Builder newBuilder() {
     return DEFAULT_INSTANCE.toBuilder();
   }
-
-  public static Builder newBuilder(
-      com.google.cloud.contactcenterinsights.v1.PhraseMatchRule prototype) {
+  public static Builder newBuilder(com.google.cloud.contactcenterinsights.v1.PhraseMatchRule prototype) {
     return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
   }
-
   @java.lang.Override
   public Builder toBuilder() {
-    return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
+    return this == DEFAULT_INSTANCE
+        ? new Builder() : new Builder().mergeFrom(this);
   }
 
   @java.lang.Override
-  protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+  protected Builder newBuilderForType(
+      com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
     Builder builder = new Builder(parent);
     return builder;
   }
   /**
-   *
-   *
    * 
    * The data for a phrase match rule.
    * 
* * Protobuf type {@code google.cloud.contactcenterinsights.v1.PhraseMatchRule} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.contactcenterinsights.v1.PhraseMatchRule) com.google.cloud.contactcenterinsights.v1.PhraseMatchRuleOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.contactcenterinsights.v1.ResourcesProto - .internal_static_google_cloud_contactcenterinsights_v1_PhraseMatchRule_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.contactcenterinsights.v1.ResourcesProto.internal_static_google_cloud_contactcenterinsights_v1_PhraseMatchRule_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.contactcenterinsights.v1.ResourcesProto - .internal_static_google_cloud_contactcenterinsights_v1_PhraseMatchRule_fieldAccessorTable + return com.google.cloud.contactcenterinsights.v1.ResourcesProto.internal_static_google_cloud_contactcenterinsights_v1_PhraseMatchRule_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.contactcenterinsights.v1.PhraseMatchRule.class, - com.google.cloud.contactcenterinsights.v1.PhraseMatchRule.Builder.class); + com.google.cloud.contactcenterinsights.v1.PhraseMatchRule.class, com.google.cloud.contactcenterinsights.v1.PhraseMatchRule.Builder.class); } // Construct using com.google.cloud.contactcenterinsights.v1.PhraseMatchRule.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -424,9 +383,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.contactcenterinsights.v1.ResourcesProto - .internal_static_google_cloud_contactcenterinsights_v1_PhraseMatchRule_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.contactcenterinsights.v1.ResourcesProto.internal_static_google_cloud_contactcenterinsights_v1_PhraseMatchRule_descriptor; } @java.lang.Override @@ -445,11 +404,8 @@ public com.google.cloud.contactcenterinsights.v1.PhraseMatchRule build() { @java.lang.Override public com.google.cloud.contactcenterinsights.v1.PhraseMatchRule buildPartial() { - com.google.cloud.contactcenterinsights.v1.PhraseMatchRule result = - new com.google.cloud.contactcenterinsights.v1.PhraseMatchRule(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + com.google.cloud.contactcenterinsights.v1.PhraseMatchRule result = new com.google.cloud.contactcenterinsights.v1.PhraseMatchRule(this); + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } @@ -463,7 +419,9 @@ private void buildPartial0(com.google.cloud.contactcenterinsights.v1.PhraseMatch result.negated_ = negated_; } if (((from_bitField0_ & 0x00000004) != 0)) { - result.config_ = configBuilder_ == null ? config_ : configBuilder_.build(); + result.config_ = configBuilder_ == null + ? config_ + : configBuilder_.build(); } } @@ -471,39 +429,38 @@ private void buildPartial0(com.google.cloud.contactcenterinsights.v1.PhraseMatch public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.contactcenterinsights.v1.PhraseMatchRule) { - return mergeFrom((com.google.cloud.contactcenterinsights.v1.PhraseMatchRule) other); + return mergeFrom((com.google.cloud.contactcenterinsights.v1.PhraseMatchRule)other); } else { super.mergeFrom(other); return this; @@ -511,8 +468,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.contactcenterinsights.v1.PhraseMatchRule other) { - if (other == com.google.cloud.contactcenterinsights.v1.PhraseMatchRule.getDefaultInstance()) - return this; + if (other == com.google.cloud.contactcenterinsights.v1.PhraseMatchRule.getDefaultInstance()) return this; if (!other.getQuery().isEmpty()) { query_ = other.query_; bitField0_ |= 0x00000001; @@ -550,31 +506,29 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - query_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 16: - { - negated_ = input.readBool(); - bitField0_ |= 0x00000002; - break; - } // case 16 - case 26: - { - input.readMessage(getConfigFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00000004; - break; - } // case 26 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + query_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 16: { + negated_ = input.readBool(); + bitField0_ |= 0x00000002; + break; + } // case 16 + case 26: { + input.readMessage( + getConfigFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00000004; + break; + } // case 26 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -584,25 +538,22 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private java.lang.Object query_ = ""; /** - * - * *
      * Required. The phrase to be matched.
      * 
* * string query = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The query. */ public java.lang.String getQuery() { java.lang.Object ref = query_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); query_ = s; return s; @@ -611,21 +562,20 @@ public java.lang.String getQuery() { } } /** - * - * *
      * Required. The phrase to be matched.
      * 
* * string query = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for query. */ - public com.google.protobuf.ByteString getQueryBytes() { + public com.google.protobuf.ByteString + getQueryBytes() { java.lang.Object ref = query_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); query_ = b; return b; } else { @@ -633,35 +583,28 @@ public com.google.protobuf.ByteString getQueryBytes() { } } /** - * - * *
      * Required. The phrase to be matched.
      * 
* * string query = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The query to set. * @return This builder for chaining. */ - public Builder setQuery(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setQuery( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } query_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
      * Required. The phrase to be matched.
      * 
* * string query = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return This builder for chaining. */ public Builder clearQuery() { @@ -671,21 +614,17 @@ public Builder clearQuery() { return this; } /** - * - * *
      * Required. The phrase to be matched.
      * 
* * string query = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The bytes for query to set. * @return This builder for chaining. */ - public Builder setQueryBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setQueryBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); query_ = value; bitField0_ |= 0x00000001; @@ -693,17 +632,14 @@ public Builder setQueryBytes(com.google.protobuf.ByteString value) { return this; } - private boolean negated_; + private boolean negated_ ; /** - * - * *
      * Specifies whether the phrase must be missing from the transcript segment or
      * present in the transcript segment.
      * 
* * bool negated = 2; - * * @return The negated. */ @java.lang.Override @@ -711,35 +647,29 @@ public boolean getNegated() { return negated_; } /** - * - * *
      * Specifies whether the phrase must be missing from the transcript segment or
      * present in the transcript segment.
      * 
* * bool negated = 2; - * * @param value The negated to set. * @return This builder for chaining. */ public Builder setNegated(boolean value) { - + negated_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** - * - * *
      * Specifies whether the phrase must be missing from the transcript segment or
      * present in the transcript segment.
      * 
* * bool negated = 2; - * * @return This builder for chaining. */ public Builder clearNegated() { @@ -751,49 +681,36 @@ public Builder clearNegated() { private com.google.cloud.contactcenterinsights.v1.PhraseMatchRuleConfig config_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.contactcenterinsights.v1.PhraseMatchRuleConfig, - com.google.cloud.contactcenterinsights.v1.PhraseMatchRuleConfig.Builder, - com.google.cloud.contactcenterinsights.v1.PhraseMatchRuleConfigOrBuilder> - configBuilder_; + com.google.cloud.contactcenterinsights.v1.PhraseMatchRuleConfig, com.google.cloud.contactcenterinsights.v1.PhraseMatchRuleConfig.Builder, com.google.cloud.contactcenterinsights.v1.PhraseMatchRuleConfigOrBuilder> configBuilder_; /** - * - * *
      * Provides additional information about the rule that specifies how to apply
      * the rule.
      * 
* * .google.cloud.contactcenterinsights.v1.PhraseMatchRuleConfig config = 3; - * * @return Whether the config field is set. */ public boolean hasConfig() { return ((bitField0_ & 0x00000004) != 0); } /** - * - * *
      * Provides additional information about the rule that specifies how to apply
      * the rule.
      * 
* * .google.cloud.contactcenterinsights.v1.PhraseMatchRuleConfig config = 3; - * * @return The config. */ public com.google.cloud.contactcenterinsights.v1.PhraseMatchRuleConfig getConfig() { if (configBuilder_ == null) { - return config_ == null - ? com.google.cloud.contactcenterinsights.v1.PhraseMatchRuleConfig.getDefaultInstance() - : config_; + return config_ == null ? com.google.cloud.contactcenterinsights.v1.PhraseMatchRuleConfig.getDefaultInstance() : config_; } else { return configBuilder_.getMessage(); } } /** - * - * *
      * Provides additional information about the rule that specifies how to apply
      * the rule.
@@ -801,8 +718,7 @@ public com.google.cloud.contactcenterinsights.v1.PhraseMatchRuleConfig getConfig
      *
      * .google.cloud.contactcenterinsights.v1.PhraseMatchRuleConfig config = 3;
      */
-    public Builder setConfig(
-        com.google.cloud.contactcenterinsights.v1.PhraseMatchRuleConfig value) {
+    public Builder setConfig(com.google.cloud.contactcenterinsights.v1.PhraseMatchRuleConfig value) {
       if (configBuilder_ == null) {
         if (value == null) {
           throw new NullPointerException();
@@ -816,8 +732,6 @@ public Builder setConfig(
       return this;
     }
     /**
-     *
-     *
      * 
      * Provides additional information about the rule that specifies how to apply
      * the rule.
@@ -837,8 +751,6 @@ public Builder setConfig(
       return this;
     }
     /**
-     *
-     *
      * 
      * Provides additional information about the rule that specifies how to apply
      * the rule.
@@ -846,14 +758,11 @@ public Builder setConfig(
      *
      * .google.cloud.contactcenterinsights.v1.PhraseMatchRuleConfig config = 3;
      */
-    public Builder mergeConfig(
-        com.google.cloud.contactcenterinsights.v1.PhraseMatchRuleConfig value) {
+    public Builder mergeConfig(com.google.cloud.contactcenterinsights.v1.PhraseMatchRuleConfig value) {
       if (configBuilder_ == null) {
-        if (((bitField0_ & 0x00000004) != 0)
-            && config_ != null
-            && config_
-                != com.google.cloud.contactcenterinsights.v1.PhraseMatchRuleConfig
-                    .getDefaultInstance()) {
+        if (((bitField0_ & 0x00000004) != 0) &&
+          config_ != null &&
+          config_ != com.google.cloud.contactcenterinsights.v1.PhraseMatchRuleConfig.getDefaultInstance()) {
           getConfigBuilder().mergeFrom(value);
         } else {
           config_ = value;
@@ -866,8 +775,6 @@ public Builder mergeConfig(
       return this;
     }
     /**
-     *
-     *
      * 
      * Provides additional information about the rule that specifies how to apply
      * the rule.
@@ -886,8 +793,6 @@ public Builder clearConfig() {
       return this;
     }
     /**
-     *
-     *
      * 
      * Provides additional information about the rule that specifies how to apply
      * the rule.
@@ -895,15 +800,12 @@ public Builder clearConfig() {
      *
      * .google.cloud.contactcenterinsights.v1.PhraseMatchRuleConfig config = 3;
      */
-    public com.google.cloud.contactcenterinsights.v1.PhraseMatchRuleConfig.Builder
-        getConfigBuilder() {
+    public com.google.cloud.contactcenterinsights.v1.PhraseMatchRuleConfig.Builder getConfigBuilder() {
       bitField0_ |= 0x00000004;
       onChanged();
       return getConfigFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * Provides additional information about the rule that specifies how to apply
      * the rule.
@@ -911,19 +813,15 @@ public Builder clearConfig() {
      *
      * .google.cloud.contactcenterinsights.v1.PhraseMatchRuleConfig config = 3;
      */
-    public com.google.cloud.contactcenterinsights.v1.PhraseMatchRuleConfigOrBuilder
-        getConfigOrBuilder() {
+    public com.google.cloud.contactcenterinsights.v1.PhraseMatchRuleConfigOrBuilder getConfigOrBuilder() {
       if (configBuilder_ != null) {
         return configBuilder_.getMessageOrBuilder();
       } else {
-        return config_ == null
-            ? com.google.cloud.contactcenterinsights.v1.PhraseMatchRuleConfig.getDefaultInstance()
-            : config_;
+        return config_ == null ?
+            com.google.cloud.contactcenterinsights.v1.PhraseMatchRuleConfig.getDefaultInstance() : config_;
       }
     }
     /**
-     *
-     *
      * 
      * Provides additional information about the rule that specifies how to apply
      * the rule.
@@ -932,24 +830,21 @@ public Builder clearConfig() {
      * .google.cloud.contactcenterinsights.v1.PhraseMatchRuleConfig config = 3;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.cloud.contactcenterinsights.v1.PhraseMatchRuleConfig,
-            com.google.cloud.contactcenterinsights.v1.PhraseMatchRuleConfig.Builder,
-            com.google.cloud.contactcenterinsights.v1.PhraseMatchRuleConfigOrBuilder>
+        com.google.cloud.contactcenterinsights.v1.PhraseMatchRuleConfig, com.google.cloud.contactcenterinsights.v1.PhraseMatchRuleConfig.Builder, com.google.cloud.contactcenterinsights.v1.PhraseMatchRuleConfigOrBuilder> 
         getConfigFieldBuilder() {
       if (configBuilder_ == null) {
-        configBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.cloud.contactcenterinsights.v1.PhraseMatchRuleConfig,
-                com.google.cloud.contactcenterinsights.v1.PhraseMatchRuleConfig.Builder,
-                com.google.cloud.contactcenterinsights.v1.PhraseMatchRuleConfigOrBuilder>(
-                getConfig(), getParentForChildren(), isClean());
+        configBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.cloud.contactcenterinsights.v1.PhraseMatchRuleConfig, com.google.cloud.contactcenterinsights.v1.PhraseMatchRuleConfig.Builder, com.google.cloud.contactcenterinsights.v1.PhraseMatchRuleConfigOrBuilder>(
+                getConfig(),
+                getParentForChildren(),
+                isClean());
         config_ = null;
       }
       return configBuilder_;
     }
-
     @java.lang.Override
-    public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) {
+    public final Builder setUnknownFields(
+        final com.google.protobuf.UnknownFieldSet unknownFields) {
       return super.setUnknownFields(unknownFields);
     }
 
@@ -959,12 +854,12 @@ public final Builder mergeUnknownFields(
       return super.mergeUnknownFields(unknownFields);
     }
 
+
     // @@protoc_insertion_point(builder_scope:google.cloud.contactcenterinsights.v1.PhraseMatchRule)
   }
 
   // @@protoc_insertion_point(class_scope:google.cloud.contactcenterinsights.v1.PhraseMatchRule)
   private static final com.google.cloud.contactcenterinsights.v1.PhraseMatchRule DEFAULT_INSTANCE;
-
   static {
     DEFAULT_INSTANCE = new com.google.cloud.contactcenterinsights.v1.PhraseMatchRule();
   }
@@ -973,27 +868,27 @@ public static com.google.cloud.contactcenterinsights.v1.PhraseMatchRule getDefau
     return DEFAULT_INSTANCE;
   }
 
-  private static final com.google.protobuf.Parser PARSER =
-      new com.google.protobuf.AbstractParser() {
-        @java.lang.Override
-        public PhraseMatchRule parsePartialFrom(
-            com.google.protobuf.CodedInputStream input,
-            com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-            throws com.google.protobuf.InvalidProtocolBufferException {
-          Builder builder = newBuilder();
-          try {
-            builder.mergeFrom(input, extensionRegistry);
-          } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-            throw e.setUnfinishedMessage(builder.buildPartial());
-          } catch (com.google.protobuf.UninitializedMessageException e) {
-            throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
-          } catch (java.io.IOException e) {
-            throw new com.google.protobuf.InvalidProtocolBufferException(e)
-                .setUnfinishedMessage(builder.buildPartial());
-          }
-          return builder.buildPartial();
-        }
-      };
+  private static final com.google.protobuf.Parser
+      PARSER = new com.google.protobuf.AbstractParser() {
+    @java.lang.Override
+    public PhraseMatchRule parsePartialFrom(
+        com.google.protobuf.CodedInputStream input,
+        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        throws com.google.protobuf.InvalidProtocolBufferException {
+      Builder builder = newBuilder();
+      try {
+        builder.mergeFrom(input, extensionRegistry);
+      } catch (com.google.protobuf.InvalidProtocolBufferException e) {
+        throw e.setUnfinishedMessage(builder.buildPartial());
+      } catch (com.google.protobuf.UninitializedMessageException e) {
+        throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
+      } catch (java.io.IOException e) {
+        throw new com.google.protobuf.InvalidProtocolBufferException(e)
+            .setUnfinishedMessage(builder.buildPartial());
+      }
+      return builder.buildPartial();
+    }
+  };
 
   public static com.google.protobuf.Parser parser() {
     return PARSER;
@@ -1008,4 +903,6 @@ public com.google.protobuf.Parser getParserForType() {
   public com.google.cloud.contactcenterinsights.v1.PhraseMatchRule getDefaultInstanceForType() {
     return DEFAULT_INSTANCE;
   }
+
 }
+
diff --git a/java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/PhraseMatchRuleConfig.java b/owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/PhraseMatchRuleConfig.java
similarity index 65%
rename from java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/PhraseMatchRuleConfig.java
rename to owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/PhraseMatchRuleConfig.java
index c78a8cba9d8c..ae665c119539 100644
--- a/java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/PhraseMatchRuleConfig.java
+++ b/owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/PhraseMatchRuleConfig.java
@@ -1,81 +1,60 @@
-/*
- * 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.
- */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/cloud/contactcenterinsights/v1/resources.proto
 
 package com.google.cloud.contactcenterinsights.v1;
 
 /**
- *
- *
  * 
  * Configuration information of a phrase match rule.
  * 
* * Protobuf type {@code google.cloud.contactcenterinsights.v1.PhraseMatchRuleConfig} */ -public final class PhraseMatchRuleConfig extends com.google.protobuf.GeneratedMessageV3 - implements +public final class PhraseMatchRuleConfig extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.contactcenterinsights.v1.PhraseMatchRuleConfig) PhraseMatchRuleConfigOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use PhraseMatchRuleConfig.newBuilder() to construct. private PhraseMatchRuleConfig(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - - private PhraseMatchRuleConfig() {} + private PhraseMatchRuleConfig() { + } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new PhraseMatchRuleConfig(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.contactcenterinsights.v1.ResourcesProto - .internal_static_google_cloud_contactcenterinsights_v1_PhraseMatchRuleConfig_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.contactcenterinsights.v1.ResourcesProto.internal_static_google_cloud_contactcenterinsights_v1_PhraseMatchRuleConfig_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.contactcenterinsights.v1.ResourcesProto - .internal_static_google_cloud_contactcenterinsights_v1_PhraseMatchRuleConfig_fieldAccessorTable + return com.google.cloud.contactcenterinsights.v1.ResourcesProto.internal_static_google_cloud_contactcenterinsights_v1_PhraseMatchRuleConfig_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.contactcenterinsights.v1.PhraseMatchRuleConfig.class, - com.google.cloud.contactcenterinsights.v1.PhraseMatchRuleConfig.Builder.class); + com.google.cloud.contactcenterinsights.v1.PhraseMatchRuleConfig.class, com.google.cloud.contactcenterinsights.v1.PhraseMatchRuleConfig.Builder.class); } private int configCase_ = 0; private java.lang.Object config_; - public enum ConfigCase - implements - com.google.protobuf.Internal.EnumLite, + implements com.google.protobuf.Internal.EnumLite, com.google.protobuf.AbstractMessage.InternalOneOfEnum { EXACT_MATCH_CONFIG(1), CONFIG_NOT_SET(0); private final int value; - private ConfigCase(int value) { this.value = value; } @@ -91,34 +70,29 @@ public static ConfigCase valueOf(int value) { public static ConfigCase forNumber(int value) { switch (value) { - case 1: - return EXACT_MATCH_CONFIG; - case 0: - return CONFIG_NOT_SET; - default: - return null; + case 1: return EXACT_MATCH_CONFIG; + case 0: return CONFIG_NOT_SET; + default: return null; } } - public int getNumber() { return this.value; } }; - public ConfigCase getConfigCase() { - return ConfigCase.forNumber(configCase_); + public ConfigCase + getConfigCase() { + return ConfigCase.forNumber( + configCase_); } public static final int EXACT_MATCH_CONFIG_FIELD_NUMBER = 1; /** - * - * *
    * The configuration for the exact match rule.
    * 
* * .google.cloud.contactcenterinsights.v1.ExactMatchConfig exact_match_config = 1; - * * @return Whether the exactMatchConfig field is set. */ @java.lang.Override @@ -126,26 +100,21 @@ public boolean hasExactMatchConfig() { return configCase_ == 1; } /** - * - * *
    * The configuration for the exact match rule.
    * 
* * .google.cloud.contactcenterinsights.v1.ExactMatchConfig exact_match_config = 1; - * * @return The exactMatchConfig. */ @java.lang.Override public com.google.cloud.contactcenterinsights.v1.ExactMatchConfig getExactMatchConfig() { if (configCase_ == 1) { - return (com.google.cloud.contactcenterinsights.v1.ExactMatchConfig) config_; + return (com.google.cloud.contactcenterinsights.v1.ExactMatchConfig) config_; } return com.google.cloud.contactcenterinsights.v1.ExactMatchConfig.getDefaultInstance(); } /** - * - * *
    * The configuration for the exact match rule.
    * 
@@ -153,16 +122,14 @@ public com.google.cloud.contactcenterinsights.v1.ExactMatchConfig getExactMatchC * .google.cloud.contactcenterinsights.v1.ExactMatchConfig exact_match_config = 1; */ @java.lang.Override - public com.google.cloud.contactcenterinsights.v1.ExactMatchConfigOrBuilder - getExactMatchConfigOrBuilder() { + public com.google.cloud.contactcenterinsights.v1.ExactMatchConfigOrBuilder getExactMatchConfigOrBuilder() { if (configCase_ == 1) { - return (com.google.cloud.contactcenterinsights.v1.ExactMatchConfig) config_; + return (com.google.cloud.contactcenterinsights.v1.ExactMatchConfig) config_; } return com.google.cloud.contactcenterinsights.v1.ExactMatchConfig.getDefaultInstance(); } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -174,7 +141,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (configCase_ == 1) { output.writeMessage(1, (com.google.cloud.contactcenterinsights.v1.ExactMatchConfig) config_); } @@ -188,9 +156,8 @@ public int getSerializedSize() { size = 0; if (configCase_ == 1) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize( - 1, (com.google.cloud.contactcenterinsights.v1.ExactMatchConfig) config_); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, (com.google.cloud.contactcenterinsights.v1.ExactMatchConfig) config_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -200,18 +167,18 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.contactcenterinsights.v1.PhraseMatchRuleConfig)) { return super.equals(obj); } - com.google.cloud.contactcenterinsights.v1.PhraseMatchRuleConfig other = - (com.google.cloud.contactcenterinsights.v1.PhraseMatchRuleConfig) obj; + com.google.cloud.contactcenterinsights.v1.PhraseMatchRuleConfig other = (com.google.cloud.contactcenterinsights.v1.PhraseMatchRuleConfig) obj; if (!getConfigCase().equals(other.getConfigCase())) return false; switch (configCase_) { case 1: - if (!getExactMatchConfig().equals(other.getExactMatchConfig())) return false; + if (!getExactMatchConfig() + .equals(other.getExactMatchConfig())) return false; break; case 0: default: @@ -241,136 +208,129 @@ public int hashCode() { } public static com.google.cloud.contactcenterinsights.v1.PhraseMatchRuleConfig parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.contactcenterinsights.v1.PhraseMatchRuleConfig parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.contactcenterinsights.v1.PhraseMatchRuleConfig parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.contactcenterinsights.v1.PhraseMatchRuleConfig parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.contactcenterinsights.v1.PhraseMatchRuleConfig parseFrom( - byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.contactcenterinsights.v1.PhraseMatchRuleConfig parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.contactcenterinsights.v1.PhraseMatchRuleConfig parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.contactcenterinsights.v1.PhraseMatchRuleConfig parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.contactcenterinsights.v1.PhraseMatchRuleConfig parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.contactcenterinsights.v1.PhraseMatchRuleConfig parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.contactcenterinsights.v1.PhraseMatchRuleConfig parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.contactcenterinsights.v1.PhraseMatchRuleConfig parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.contactcenterinsights.v1.PhraseMatchRuleConfig parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.contactcenterinsights.v1.PhraseMatchRuleConfig parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.contactcenterinsights.v1.PhraseMatchRuleConfig parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.contactcenterinsights.v1.PhraseMatchRuleConfig prototype) { + public static Builder newBuilder(com.google.cloud.contactcenterinsights.v1.PhraseMatchRuleConfig prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Configuration information of a phrase match rule.
    * 
* * Protobuf type {@code google.cloud.contactcenterinsights.v1.PhraseMatchRuleConfig} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.contactcenterinsights.v1.PhraseMatchRuleConfig) com.google.cloud.contactcenterinsights.v1.PhraseMatchRuleConfigOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.contactcenterinsights.v1.ResourcesProto - .internal_static_google_cloud_contactcenterinsights_v1_PhraseMatchRuleConfig_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.contactcenterinsights.v1.ResourcesProto.internal_static_google_cloud_contactcenterinsights_v1_PhraseMatchRuleConfig_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.contactcenterinsights.v1.ResourcesProto - .internal_static_google_cloud_contactcenterinsights_v1_PhraseMatchRuleConfig_fieldAccessorTable + return com.google.cloud.contactcenterinsights.v1.ResourcesProto.internal_static_google_cloud_contactcenterinsights_v1_PhraseMatchRuleConfig_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.contactcenterinsights.v1.PhraseMatchRuleConfig.class, - com.google.cloud.contactcenterinsights.v1.PhraseMatchRuleConfig.Builder.class); + com.google.cloud.contactcenterinsights.v1.PhraseMatchRuleConfig.class, com.google.cloud.contactcenterinsights.v1.PhraseMatchRuleConfig.Builder.class); } // Construct using com.google.cloud.contactcenterinsights.v1.PhraseMatchRuleConfig.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -384,14 +344,13 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.contactcenterinsights.v1.ResourcesProto - .internal_static_google_cloud_contactcenterinsights_v1_PhraseMatchRuleConfig_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.contactcenterinsights.v1.ResourcesProto.internal_static_google_cloud_contactcenterinsights_v1_PhraseMatchRuleConfig_descriptor; } @java.lang.Override - public com.google.cloud.contactcenterinsights.v1.PhraseMatchRuleConfig - getDefaultInstanceForType() { + public com.google.cloud.contactcenterinsights.v1.PhraseMatchRuleConfig getDefaultInstanceForType() { return com.google.cloud.contactcenterinsights.v1.PhraseMatchRuleConfig.getDefaultInstance(); } @@ -406,26 +365,22 @@ public com.google.cloud.contactcenterinsights.v1.PhraseMatchRuleConfig build() { @java.lang.Override public com.google.cloud.contactcenterinsights.v1.PhraseMatchRuleConfig buildPartial() { - com.google.cloud.contactcenterinsights.v1.PhraseMatchRuleConfig result = - new com.google.cloud.contactcenterinsights.v1.PhraseMatchRuleConfig(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + com.google.cloud.contactcenterinsights.v1.PhraseMatchRuleConfig result = new com.google.cloud.contactcenterinsights.v1.PhraseMatchRuleConfig(this); + if (bitField0_ != 0) { buildPartial0(result); } buildPartialOneofs(result); onBuilt(); return result; } - private void buildPartial0( - com.google.cloud.contactcenterinsights.v1.PhraseMatchRuleConfig result) { + private void buildPartial0(com.google.cloud.contactcenterinsights.v1.PhraseMatchRuleConfig result) { int from_bitField0_ = bitField0_; } - private void buildPartialOneofs( - com.google.cloud.contactcenterinsights.v1.PhraseMatchRuleConfig result) { + private void buildPartialOneofs(com.google.cloud.contactcenterinsights.v1.PhraseMatchRuleConfig result) { result.configCase_ = configCase_; result.config_ = this.config_; - if (configCase_ == 1 && exactMatchConfigBuilder_ != null) { + if (configCase_ == 1 && + exactMatchConfigBuilder_ != null) { result.config_ = exactMatchConfigBuilder_.build(); } } @@ -434,60 +389,54 @@ private void buildPartialOneofs( public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.contactcenterinsights.v1.PhraseMatchRuleConfig) { - return mergeFrom((com.google.cloud.contactcenterinsights.v1.PhraseMatchRuleConfig) other); + return mergeFrom((com.google.cloud.contactcenterinsights.v1.PhraseMatchRuleConfig)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom( - com.google.cloud.contactcenterinsights.v1.PhraseMatchRuleConfig other) { - if (other - == com.google.cloud.contactcenterinsights.v1.PhraseMatchRuleConfig.getDefaultInstance()) - return this; + public Builder mergeFrom(com.google.cloud.contactcenterinsights.v1.PhraseMatchRuleConfig other) { + if (other == com.google.cloud.contactcenterinsights.v1.PhraseMatchRuleConfig.getDefaultInstance()) return this; switch (other.getConfigCase()) { - case EXACT_MATCH_CONFIG: - { - mergeExactMatchConfig(other.getExactMatchConfig()); - break; - } - case CONFIG_NOT_SET: - { - break; - } + case EXACT_MATCH_CONFIG: { + mergeExactMatchConfig(other.getExactMatchConfig()); + break; + } + case CONFIG_NOT_SET: { + break; + } } this.mergeUnknownFields(other.getUnknownFields()); onChanged(); @@ -515,20 +464,19 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - input.readMessage( - getExactMatchConfigFieldBuilder().getBuilder(), extensionRegistry); - configCase_ = 1; - break; - } // case 10 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + input.readMessage( + getExactMatchConfigFieldBuilder().getBuilder(), + extensionRegistry); + configCase_ = 1; + break; + } // case 10 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -538,12 +486,12 @@ public Builder mergeFrom( } // finally return this; } - private int configCase_ = 0; private java.lang.Object config_; - - public ConfigCase getConfigCase() { - return ConfigCase.forNumber(configCase_); + public ConfigCase + getConfigCase() { + return ConfigCase.forNumber( + configCase_); } public Builder clearConfig() { @@ -556,19 +504,13 @@ public Builder clearConfig() { private int bitField0_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.contactcenterinsights.v1.ExactMatchConfig, - com.google.cloud.contactcenterinsights.v1.ExactMatchConfig.Builder, - com.google.cloud.contactcenterinsights.v1.ExactMatchConfigOrBuilder> - exactMatchConfigBuilder_; + com.google.cloud.contactcenterinsights.v1.ExactMatchConfig, com.google.cloud.contactcenterinsights.v1.ExactMatchConfig.Builder, com.google.cloud.contactcenterinsights.v1.ExactMatchConfigOrBuilder> exactMatchConfigBuilder_; /** - * - * *
      * The configuration for the exact match rule.
      * 
* * .google.cloud.contactcenterinsights.v1.ExactMatchConfig exact_match_config = 1; - * * @return Whether the exactMatchConfig field is set. */ @java.lang.Override @@ -576,14 +518,11 @@ public boolean hasExactMatchConfig() { return configCase_ == 1; } /** - * - * *
      * The configuration for the exact match rule.
      * 
* * .google.cloud.contactcenterinsights.v1.ExactMatchConfig exact_match_config = 1; - * * @return The exactMatchConfig. */ @java.lang.Override @@ -601,16 +540,13 @@ public com.google.cloud.contactcenterinsights.v1.ExactMatchConfig getExactMatchC } } /** - * - * *
      * The configuration for the exact match rule.
      * 
* * .google.cloud.contactcenterinsights.v1.ExactMatchConfig exact_match_config = 1; */ - public Builder setExactMatchConfig( - com.google.cloud.contactcenterinsights.v1.ExactMatchConfig value) { + public Builder setExactMatchConfig(com.google.cloud.contactcenterinsights.v1.ExactMatchConfig value) { if (exactMatchConfigBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -624,8 +560,6 @@ public Builder setExactMatchConfig( return this; } /** - * - * *
      * The configuration for the exact match rule.
      * 
@@ -644,26 +578,18 @@ public Builder setExactMatchConfig( return this; } /** - * - * *
      * The configuration for the exact match rule.
      * 
* * .google.cloud.contactcenterinsights.v1.ExactMatchConfig exact_match_config = 1; */ - public Builder mergeExactMatchConfig( - com.google.cloud.contactcenterinsights.v1.ExactMatchConfig value) { + public Builder mergeExactMatchConfig(com.google.cloud.contactcenterinsights.v1.ExactMatchConfig value) { if (exactMatchConfigBuilder_ == null) { - if (configCase_ == 1 - && config_ - != com.google.cloud.contactcenterinsights.v1.ExactMatchConfig - .getDefaultInstance()) { - config_ = - com.google.cloud.contactcenterinsights.v1.ExactMatchConfig.newBuilder( - (com.google.cloud.contactcenterinsights.v1.ExactMatchConfig) config_) - .mergeFrom(value) - .buildPartial(); + if (configCase_ == 1 && + config_ != com.google.cloud.contactcenterinsights.v1.ExactMatchConfig.getDefaultInstance()) { + config_ = com.google.cloud.contactcenterinsights.v1.ExactMatchConfig.newBuilder((com.google.cloud.contactcenterinsights.v1.ExactMatchConfig) config_) + .mergeFrom(value).buildPartial(); } else { config_ = value; } @@ -679,8 +605,6 @@ public Builder mergeExactMatchConfig( return this; } /** - * - * *
      * The configuration for the exact match rule.
      * 
@@ -704,21 +628,16 @@ public Builder clearExactMatchConfig() { return this; } /** - * - * *
      * The configuration for the exact match rule.
      * 
* * .google.cloud.contactcenterinsights.v1.ExactMatchConfig exact_match_config = 1; */ - public com.google.cloud.contactcenterinsights.v1.ExactMatchConfig.Builder - getExactMatchConfigBuilder() { + public com.google.cloud.contactcenterinsights.v1.ExactMatchConfig.Builder getExactMatchConfigBuilder() { return getExactMatchConfigFieldBuilder().getBuilder(); } /** - * - * *
      * The configuration for the exact match rule.
      * 
@@ -726,8 +645,7 @@ public Builder clearExactMatchConfig() { * .google.cloud.contactcenterinsights.v1.ExactMatchConfig exact_match_config = 1; */ @java.lang.Override - public com.google.cloud.contactcenterinsights.v1.ExactMatchConfigOrBuilder - getExactMatchConfigOrBuilder() { + public com.google.cloud.contactcenterinsights.v1.ExactMatchConfigOrBuilder getExactMatchConfigOrBuilder() { if ((configCase_ == 1) && (exactMatchConfigBuilder_ != null)) { return exactMatchConfigBuilder_.getMessageOrBuilder(); } else { @@ -738,8 +656,6 @@ public Builder clearExactMatchConfig() { } } /** - * - * *
      * The configuration for the exact match rule.
      * 
@@ -747,19 +663,14 @@ public Builder clearExactMatchConfig() { * .google.cloud.contactcenterinsights.v1.ExactMatchConfig exact_match_config = 1; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.contactcenterinsights.v1.ExactMatchConfig, - com.google.cloud.contactcenterinsights.v1.ExactMatchConfig.Builder, - com.google.cloud.contactcenterinsights.v1.ExactMatchConfigOrBuilder> + com.google.cloud.contactcenterinsights.v1.ExactMatchConfig, com.google.cloud.contactcenterinsights.v1.ExactMatchConfig.Builder, com.google.cloud.contactcenterinsights.v1.ExactMatchConfigOrBuilder> getExactMatchConfigFieldBuilder() { if (exactMatchConfigBuilder_ == null) { if (!(configCase_ == 1)) { config_ = com.google.cloud.contactcenterinsights.v1.ExactMatchConfig.getDefaultInstance(); } - exactMatchConfigBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.contactcenterinsights.v1.ExactMatchConfig, - com.google.cloud.contactcenterinsights.v1.ExactMatchConfig.Builder, - com.google.cloud.contactcenterinsights.v1.ExactMatchConfigOrBuilder>( + exactMatchConfigBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.contactcenterinsights.v1.ExactMatchConfig, com.google.cloud.contactcenterinsights.v1.ExactMatchConfig.Builder, com.google.cloud.contactcenterinsights.v1.ExactMatchConfigOrBuilder>( (com.google.cloud.contactcenterinsights.v1.ExactMatchConfig) config_, getParentForChildren(), isClean()); @@ -769,9 +680,9 @@ public Builder clearExactMatchConfig() { onChanged(); return exactMatchConfigBuilder_; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -781,43 +692,41 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.contactcenterinsights.v1.PhraseMatchRuleConfig) } // @@protoc_insertion_point(class_scope:google.cloud.contactcenterinsights.v1.PhraseMatchRuleConfig) - private static final com.google.cloud.contactcenterinsights.v1.PhraseMatchRuleConfig - DEFAULT_INSTANCE; - + private static final com.google.cloud.contactcenterinsights.v1.PhraseMatchRuleConfig DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.cloud.contactcenterinsights.v1.PhraseMatchRuleConfig(); } - public static com.google.cloud.contactcenterinsights.v1.PhraseMatchRuleConfig - getDefaultInstance() { + public static com.google.cloud.contactcenterinsights.v1.PhraseMatchRuleConfig getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public PhraseMatchRuleConfig parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public PhraseMatchRuleConfig parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -829,8 +738,9 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.cloud.contactcenterinsights.v1.PhraseMatchRuleConfig - getDefaultInstanceForType() { + public com.google.cloud.contactcenterinsights.v1.PhraseMatchRuleConfig getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/PhraseMatchRuleConfigOrBuilder.java b/owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/PhraseMatchRuleConfigOrBuilder.java similarity index 63% rename from java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/PhraseMatchRuleConfigOrBuilder.java rename to owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/PhraseMatchRuleConfigOrBuilder.java index d14c465740a6..d3c30df247af 100644 --- a/java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/PhraseMatchRuleConfigOrBuilder.java +++ b/owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/PhraseMatchRuleConfigOrBuilder.java @@ -1,63 +1,38 @@ -/* - * 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. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/contactcenterinsights/v1/resources.proto package com.google.cloud.contactcenterinsights.v1; -public interface PhraseMatchRuleConfigOrBuilder - extends +public interface PhraseMatchRuleConfigOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.contactcenterinsights.v1.PhraseMatchRuleConfig) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * The configuration for the exact match rule.
    * 
* * .google.cloud.contactcenterinsights.v1.ExactMatchConfig exact_match_config = 1; - * * @return Whether the exactMatchConfig field is set. */ boolean hasExactMatchConfig(); /** - * - * *
    * The configuration for the exact match rule.
    * 
* * .google.cloud.contactcenterinsights.v1.ExactMatchConfig exact_match_config = 1; - * * @return The exactMatchConfig. */ com.google.cloud.contactcenterinsights.v1.ExactMatchConfig getExactMatchConfig(); /** - * - * *
    * The configuration for the exact match rule.
    * 
* * .google.cloud.contactcenterinsights.v1.ExactMatchConfig exact_match_config = 1; */ - com.google.cloud.contactcenterinsights.v1.ExactMatchConfigOrBuilder - getExactMatchConfigOrBuilder(); + com.google.cloud.contactcenterinsights.v1.ExactMatchConfigOrBuilder getExactMatchConfigOrBuilder(); public com.google.cloud.contactcenterinsights.v1.PhraseMatchRuleConfig.ConfigCase getConfigCase(); } diff --git a/java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/PhraseMatchRuleGroup.java b/owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/PhraseMatchRuleGroup.java similarity index 64% rename from java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/PhraseMatchRuleGroup.java rename to owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/PhraseMatchRuleGroup.java index 16d28a4424ff..419f369fd746 100644 --- a/java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/PhraseMatchRuleGroup.java +++ b/owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/PhraseMatchRuleGroup.java @@ -1,42 +1,24 @@ -/* - * 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. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/contactcenterinsights/v1/resources.proto package com.google.cloud.contactcenterinsights.v1; /** - * - * *
  * A message representing a rule in the phrase matcher.
  * 
* * Protobuf type {@code google.cloud.contactcenterinsights.v1.PhraseMatchRuleGroup} */ -public final class PhraseMatchRuleGroup extends com.google.protobuf.GeneratedMessageV3 - implements +public final class PhraseMatchRuleGroup extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.contactcenterinsights.v1.PhraseMatchRuleGroup) PhraseMatchRuleGroupOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use PhraseMatchRuleGroup.newBuilder() to construct. private PhraseMatchRuleGroup(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private PhraseMatchRuleGroup() { type_ = 0; phraseMatchRules_ = java.util.Collections.emptyList(); @@ -44,45 +26,40 @@ private PhraseMatchRuleGroup() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new PhraseMatchRuleGroup(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.contactcenterinsights.v1.ResourcesProto - .internal_static_google_cloud_contactcenterinsights_v1_PhraseMatchRuleGroup_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.contactcenterinsights.v1.ResourcesProto.internal_static_google_cloud_contactcenterinsights_v1_PhraseMatchRuleGroup_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.contactcenterinsights.v1.ResourcesProto - .internal_static_google_cloud_contactcenterinsights_v1_PhraseMatchRuleGroup_fieldAccessorTable + return com.google.cloud.contactcenterinsights.v1.ResourcesProto.internal_static_google_cloud_contactcenterinsights_v1_PhraseMatchRuleGroup_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.contactcenterinsights.v1.PhraseMatchRuleGroup.class, - com.google.cloud.contactcenterinsights.v1.PhraseMatchRuleGroup.Builder.class); + com.google.cloud.contactcenterinsights.v1.PhraseMatchRuleGroup.class, com.google.cloud.contactcenterinsights.v1.PhraseMatchRuleGroup.Builder.class); } /** - * - * *
    * Specifies how to combine each phrase match rule for whether there is a
    * match.
    * 
* - * Protobuf enum {@code - * google.cloud.contactcenterinsights.v1.PhraseMatchRuleGroup.PhraseMatchRuleGroupType} + * Protobuf enum {@code google.cloud.contactcenterinsights.v1.PhraseMatchRuleGroup.PhraseMatchRuleGroupType} */ - public enum PhraseMatchRuleGroupType implements com.google.protobuf.ProtocolMessageEnum { + public enum PhraseMatchRuleGroupType + implements com.google.protobuf.ProtocolMessageEnum { /** - * - * *
      * Unspecified.
      * 
@@ -91,8 +68,6 @@ public enum PhraseMatchRuleGroupType implements com.google.protobuf.ProtocolMess */ PHRASE_MATCH_RULE_GROUP_TYPE_UNSPECIFIED(0), /** - * - * *
      * Must meet all phrase match rules or there is no match.
      * 
@@ -101,8 +76,6 @@ public enum PhraseMatchRuleGroupType implements com.google.protobuf.ProtocolMess */ ALL_OF(1), /** - * - * *
      * If any of the phrase match rules are met, there is a match.
      * 
@@ -114,8 +87,6 @@ public enum PhraseMatchRuleGroupType implements com.google.protobuf.ProtocolMess ; /** - * - * *
      * Unspecified.
      * 
@@ -124,8 +95,6 @@ public enum PhraseMatchRuleGroupType implements com.google.protobuf.ProtocolMess */ public static final int PHRASE_MATCH_RULE_GROUP_TYPE_UNSPECIFIED_VALUE = 0; /** - * - * *
      * Must meet all phrase match rules or there is no match.
      * 
@@ -134,8 +103,6 @@ public enum PhraseMatchRuleGroupType implements com.google.protobuf.ProtocolMess */ public static final int ALL_OF_VALUE = 1; /** - * - * *
      * If any of the phrase match rules are met, there is a match.
      * 
@@ -144,6 +111,7 @@ public enum PhraseMatchRuleGroupType implements com.google.protobuf.ProtocolMess */ public static final int ANY_OF_VALUE = 2; + public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -168,14 +136,10 @@ public static PhraseMatchRuleGroupType valueOf(int value) { */ public static PhraseMatchRuleGroupType forNumber(int value) { switch (value) { - case 0: - return PHRASE_MATCH_RULE_GROUP_TYPE_UNSPECIFIED; - case 1: - return ALL_OF; - case 2: - return ANY_OF; - default: - return null; + case 0: return PHRASE_MATCH_RULE_GROUP_TYPE_UNSPECIFIED; + case 1: return ALL_OF; + case 2: return ANY_OF; + default: return null; } } @@ -183,31 +147,29 @@ public static PhraseMatchRuleGroupType forNumber(int value) { internalGetValueMap() { return internalValueMap; } + private static final com.google.protobuf.Internal.EnumLiteMap< + PhraseMatchRuleGroupType> internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public PhraseMatchRuleGroupType findValueByNumber(int number) { + return PhraseMatchRuleGroupType.forNumber(number); + } + }; - private static final com.google.protobuf.Internal.EnumLiteMap - internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public PhraseMatchRuleGroupType findValueByNumber(int number) { - return PhraseMatchRuleGroupType.forNumber(number); - } - }; - - public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() { + public final com.google.protobuf.Descriptors.EnumValueDescriptor + getValueDescriptor() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalStateException( "Can't get the descriptor of an unrecognized enum value."); } return getDescriptor().getValues().get(ordinal()); } - - public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() { + public final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptorForType() { return getDescriptor(); } - - public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { - return com.google.cloud.contactcenterinsights.v1.PhraseMatchRuleGroup.getDescriptor() - .getEnumTypes() - .get(0); + public static final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptor() { + return com.google.cloud.contactcenterinsights.v1.PhraseMatchRuleGroup.getDescriptor().getEnumTypes().get(0); } private static final PhraseMatchRuleGroupType[] VALUES = values(); @@ -215,7 +177,8 @@ public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor public static PhraseMatchRuleGroupType valueOf( com.google.protobuf.Descriptors.EnumValueDescriptor desc) { if (desc.getType() != getDescriptor()) { - throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type."); + throw new java.lang.IllegalArgumentException( + "EnumValueDescriptor is not for this type."); } if (desc.getIndex() == -1) { return UNRECOGNIZED; @@ -235,129 +198,91 @@ private PhraseMatchRuleGroupType(int value) { public static final int TYPE_FIELD_NUMBER = 1; private int type_ = 0; /** - * - * *
    * Required. The type of this phrase match rule group.
    * 
* - * - * .google.cloud.contactcenterinsights.v1.PhraseMatchRuleGroup.PhraseMatchRuleGroupType type = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.contactcenterinsights.v1.PhraseMatchRuleGroup.PhraseMatchRuleGroupType type = 1 [(.google.api.field_behavior) = REQUIRED]; * @return The enum numeric value on the wire for type. */ - @java.lang.Override - public int getTypeValue() { + @java.lang.Override public int getTypeValue() { return type_; } /** - * - * *
    * Required. The type of this phrase match rule group.
    * 
* - * - * .google.cloud.contactcenterinsights.v1.PhraseMatchRuleGroup.PhraseMatchRuleGroupType type = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.contactcenterinsights.v1.PhraseMatchRuleGroup.PhraseMatchRuleGroupType type = 1 [(.google.api.field_behavior) = REQUIRED]; * @return The type. */ - @java.lang.Override - public com.google.cloud.contactcenterinsights.v1.PhraseMatchRuleGroup.PhraseMatchRuleGroupType - getType() { - com.google.cloud.contactcenterinsights.v1.PhraseMatchRuleGroup.PhraseMatchRuleGroupType result = - com.google.cloud.contactcenterinsights.v1.PhraseMatchRuleGroup.PhraseMatchRuleGroupType - .forNumber(type_); - return result == null - ? com.google.cloud.contactcenterinsights.v1.PhraseMatchRuleGroup.PhraseMatchRuleGroupType - .UNRECOGNIZED - : result; + @java.lang.Override public com.google.cloud.contactcenterinsights.v1.PhraseMatchRuleGroup.PhraseMatchRuleGroupType getType() { + com.google.cloud.contactcenterinsights.v1.PhraseMatchRuleGroup.PhraseMatchRuleGroupType result = com.google.cloud.contactcenterinsights.v1.PhraseMatchRuleGroup.PhraseMatchRuleGroupType.forNumber(type_); + return result == null ? com.google.cloud.contactcenterinsights.v1.PhraseMatchRuleGroup.PhraseMatchRuleGroupType.UNRECOGNIZED : result; } public static final int PHRASE_MATCH_RULES_FIELD_NUMBER = 2; - @SuppressWarnings("serial") - private java.util.List - phraseMatchRules_; + private java.util.List phraseMatchRules_; /** - * - * *
    * A list of phase match rules that are included in this group.
    * 
* - * repeated .google.cloud.contactcenterinsights.v1.PhraseMatchRule phrase_match_rules = 2; - * + * repeated .google.cloud.contactcenterinsights.v1.PhraseMatchRule phrase_match_rules = 2; */ @java.lang.Override - public java.util.List - getPhraseMatchRulesList() { + public java.util.List getPhraseMatchRulesList() { return phraseMatchRules_; } /** - * - * *
    * A list of phase match rules that are included in this group.
    * 
* - * repeated .google.cloud.contactcenterinsights.v1.PhraseMatchRule phrase_match_rules = 2; - * + * repeated .google.cloud.contactcenterinsights.v1.PhraseMatchRule phrase_match_rules = 2; */ @java.lang.Override - public java.util.List< - ? extends com.google.cloud.contactcenterinsights.v1.PhraseMatchRuleOrBuilder> + public java.util.List getPhraseMatchRulesOrBuilderList() { return phraseMatchRules_; } /** - * - * *
    * A list of phase match rules that are included in this group.
    * 
* - * repeated .google.cloud.contactcenterinsights.v1.PhraseMatchRule phrase_match_rules = 2; - * + * repeated .google.cloud.contactcenterinsights.v1.PhraseMatchRule phrase_match_rules = 2; */ @java.lang.Override public int getPhraseMatchRulesCount() { return phraseMatchRules_.size(); } /** - * - * *
    * A list of phase match rules that are included in this group.
    * 
* - * repeated .google.cloud.contactcenterinsights.v1.PhraseMatchRule phrase_match_rules = 2; - * + * repeated .google.cloud.contactcenterinsights.v1.PhraseMatchRule phrase_match_rules = 2; */ @java.lang.Override public com.google.cloud.contactcenterinsights.v1.PhraseMatchRule getPhraseMatchRules(int index) { return phraseMatchRules_.get(index); } /** - * - * *
    * A list of phase match rules that are included in this group.
    * 
* - * repeated .google.cloud.contactcenterinsights.v1.PhraseMatchRule phrase_match_rules = 2; - * + * repeated .google.cloud.contactcenterinsights.v1.PhraseMatchRule phrase_match_rules = 2; */ @java.lang.Override - public com.google.cloud.contactcenterinsights.v1.PhraseMatchRuleOrBuilder - getPhraseMatchRulesOrBuilder(int index) { + public com.google.cloud.contactcenterinsights.v1.PhraseMatchRuleOrBuilder getPhraseMatchRulesOrBuilder( + int index) { return phraseMatchRules_.get(index); } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -369,11 +294,9 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - if (type_ - != com.google.cloud.contactcenterinsights.v1.PhraseMatchRuleGroup.PhraseMatchRuleGroupType - .PHRASE_MATCH_RULE_GROUP_TYPE_UNSPECIFIED - .getNumber()) { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + if (type_ != com.google.cloud.contactcenterinsights.v1.PhraseMatchRuleGroup.PhraseMatchRuleGroupType.PHRASE_MATCH_RULE_GROUP_TYPE_UNSPECIFIED.getNumber()) { output.writeEnum(1, type_); } for (int i = 0; i < phraseMatchRules_.size(); i++) { @@ -388,14 +311,13 @@ public int getSerializedSize() { if (size != -1) return size; size = 0; - if (type_ - != com.google.cloud.contactcenterinsights.v1.PhraseMatchRuleGroup.PhraseMatchRuleGroupType - .PHRASE_MATCH_RULE_GROUP_TYPE_UNSPECIFIED - .getNumber()) { - size += com.google.protobuf.CodedOutputStream.computeEnumSize(1, type_); + if (type_ != com.google.cloud.contactcenterinsights.v1.PhraseMatchRuleGroup.PhraseMatchRuleGroupType.PHRASE_MATCH_RULE_GROUP_TYPE_UNSPECIFIED.getNumber()) { + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(1, type_); } for (int i = 0; i < phraseMatchRules_.size(); i++) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, phraseMatchRules_.get(i)); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, phraseMatchRules_.get(i)); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -405,16 +327,16 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.contactcenterinsights.v1.PhraseMatchRuleGroup)) { return super.equals(obj); } - com.google.cloud.contactcenterinsights.v1.PhraseMatchRuleGroup other = - (com.google.cloud.contactcenterinsights.v1.PhraseMatchRuleGroup) obj; + com.google.cloud.contactcenterinsights.v1.PhraseMatchRuleGroup other = (com.google.cloud.contactcenterinsights.v1.PhraseMatchRuleGroup) obj; if (type_ != other.type_) return false; - if (!getPhraseMatchRulesList().equals(other.getPhraseMatchRulesList())) return false; + if (!getPhraseMatchRulesList() + .equals(other.getPhraseMatchRulesList())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -438,136 +360,129 @@ public int hashCode() { } public static com.google.cloud.contactcenterinsights.v1.PhraseMatchRuleGroup parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.contactcenterinsights.v1.PhraseMatchRuleGroup parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.contactcenterinsights.v1.PhraseMatchRuleGroup parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.contactcenterinsights.v1.PhraseMatchRuleGroup parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.contactcenterinsights.v1.PhraseMatchRuleGroup parseFrom( - byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.contactcenterinsights.v1.PhraseMatchRuleGroup parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.contactcenterinsights.v1.PhraseMatchRuleGroup parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.contactcenterinsights.v1.PhraseMatchRuleGroup parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.contactcenterinsights.v1.PhraseMatchRuleGroup parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.contactcenterinsights.v1.PhraseMatchRuleGroup parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.contactcenterinsights.v1.PhraseMatchRuleGroup parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.contactcenterinsights.v1.PhraseMatchRuleGroup parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.contactcenterinsights.v1.PhraseMatchRuleGroup parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.contactcenterinsights.v1.PhraseMatchRuleGroup parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.contactcenterinsights.v1.PhraseMatchRuleGroup parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.contactcenterinsights.v1.PhraseMatchRuleGroup prototype) { + public static Builder newBuilder(com.google.cloud.contactcenterinsights.v1.PhraseMatchRuleGroup prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * A message representing a rule in the phrase matcher.
    * 
* * Protobuf type {@code google.cloud.contactcenterinsights.v1.PhraseMatchRuleGroup} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.contactcenterinsights.v1.PhraseMatchRuleGroup) com.google.cloud.contactcenterinsights.v1.PhraseMatchRuleGroupOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.contactcenterinsights.v1.ResourcesProto - .internal_static_google_cloud_contactcenterinsights_v1_PhraseMatchRuleGroup_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.contactcenterinsights.v1.ResourcesProto.internal_static_google_cloud_contactcenterinsights_v1_PhraseMatchRuleGroup_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.contactcenterinsights.v1.ResourcesProto - .internal_static_google_cloud_contactcenterinsights_v1_PhraseMatchRuleGroup_fieldAccessorTable + return com.google.cloud.contactcenterinsights.v1.ResourcesProto.internal_static_google_cloud_contactcenterinsights_v1_PhraseMatchRuleGroup_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.contactcenterinsights.v1.PhraseMatchRuleGroup.class, - com.google.cloud.contactcenterinsights.v1.PhraseMatchRuleGroup.Builder.class); + com.google.cloud.contactcenterinsights.v1.PhraseMatchRuleGroup.class, com.google.cloud.contactcenterinsights.v1.PhraseMatchRuleGroup.Builder.class); } // Construct using com.google.cloud.contactcenterinsights.v1.PhraseMatchRuleGroup.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -584,14 +499,13 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.contactcenterinsights.v1.ResourcesProto - .internal_static_google_cloud_contactcenterinsights_v1_PhraseMatchRuleGroup_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.contactcenterinsights.v1.ResourcesProto.internal_static_google_cloud_contactcenterinsights_v1_PhraseMatchRuleGroup_descriptor; } @java.lang.Override - public com.google.cloud.contactcenterinsights.v1.PhraseMatchRuleGroup - getDefaultInstanceForType() { + public com.google.cloud.contactcenterinsights.v1.PhraseMatchRuleGroup getDefaultInstanceForType() { return com.google.cloud.contactcenterinsights.v1.PhraseMatchRuleGroup.getDefaultInstance(); } @@ -606,18 +520,14 @@ public com.google.cloud.contactcenterinsights.v1.PhraseMatchRuleGroup build() { @java.lang.Override public com.google.cloud.contactcenterinsights.v1.PhraseMatchRuleGroup buildPartial() { - com.google.cloud.contactcenterinsights.v1.PhraseMatchRuleGroup result = - new com.google.cloud.contactcenterinsights.v1.PhraseMatchRuleGroup(this); + com.google.cloud.contactcenterinsights.v1.PhraseMatchRuleGroup result = new com.google.cloud.contactcenterinsights.v1.PhraseMatchRuleGroup(this); buildPartialRepeatedFields(result); - if (bitField0_ != 0) { - buildPartial0(result); - } + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } - private void buildPartialRepeatedFields( - com.google.cloud.contactcenterinsights.v1.PhraseMatchRuleGroup result) { + private void buildPartialRepeatedFields(com.google.cloud.contactcenterinsights.v1.PhraseMatchRuleGroup result) { if (phraseMatchRulesBuilder_ == null) { if (((bitField0_ & 0x00000002) != 0)) { phraseMatchRules_ = java.util.Collections.unmodifiableList(phraseMatchRules_); @@ -629,8 +539,7 @@ private void buildPartialRepeatedFields( } } - private void buildPartial0( - com.google.cloud.contactcenterinsights.v1.PhraseMatchRuleGroup result) { + private void buildPartial0(com.google.cloud.contactcenterinsights.v1.PhraseMatchRuleGroup result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { result.type_ = type_; @@ -641,39 +550,38 @@ private void buildPartial0( public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.contactcenterinsights.v1.PhraseMatchRuleGroup) { - return mergeFrom((com.google.cloud.contactcenterinsights.v1.PhraseMatchRuleGroup) other); + return mergeFrom((com.google.cloud.contactcenterinsights.v1.PhraseMatchRuleGroup)other); } else { super.mergeFrom(other); return this; @@ -681,9 +589,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.contactcenterinsights.v1.PhraseMatchRuleGroup other) { - if (other - == com.google.cloud.contactcenterinsights.v1.PhraseMatchRuleGroup.getDefaultInstance()) - return this; + if (other == com.google.cloud.contactcenterinsights.v1.PhraseMatchRuleGroup.getDefaultInstance()) return this; if (other.type_ != 0) { setTypeValue(other.getTypeValue()); } @@ -705,10 +611,9 @@ public Builder mergeFrom(com.google.cloud.contactcenterinsights.v1.PhraseMatchRu phraseMatchRulesBuilder_ = null; phraseMatchRules_ = other.phraseMatchRules_; bitField0_ = (bitField0_ & ~0x00000002); - phraseMatchRulesBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders - ? getPhraseMatchRulesFieldBuilder() - : null; + phraseMatchRulesBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getPhraseMatchRulesFieldBuilder() : null; } else { phraseMatchRulesBuilder_.addAllMessages(other.phraseMatchRules_); } @@ -740,33 +645,30 @@ public Builder mergeFrom( case 0: done = true; break; - case 8: - { - type_ = input.readEnum(); - bitField0_ |= 0x00000001; - break; - } // case 8 - case 18: - { - com.google.cloud.contactcenterinsights.v1.PhraseMatchRule m = - input.readMessage( - com.google.cloud.contactcenterinsights.v1.PhraseMatchRule.parser(), - extensionRegistry); - if (phraseMatchRulesBuilder_ == null) { - ensurePhraseMatchRulesIsMutable(); - phraseMatchRules_.add(m); - } else { - phraseMatchRulesBuilder_.addMessage(m); - } - break; - } // case 18 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 8: { + type_ = input.readEnum(); + bitField0_ |= 0x00000001; + break; + } // case 8 + case 18: { + com.google.cloud.contactcenterinsights.v1.PhraseMatchRule m = + input.readMessage( + com.google.cloud.contactcenterinsights.v1.PhraseMatchRule.parser(), + extensionRegistry); + if (phraseMatchRulesBuilder_ == null) { + ensurePhraseMatchRulesIsMutable(); + phraseMatchRules_.add(m); + } else { + phraseMatchRulesBuilder_.addMessage(m); + } + break; + } // case 18 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -776,38 +678,26 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private int type_ = 0; /** - * - * *
      * Required. The type of this phrase match rule group.
      * 
* - * - * .google.cloud.contactcenterinsights.v1.PhraseMatchRuleGroup.PhraseMatchRuleGroupType type = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.contactcenterinsights.v1.PhraseMatchRuleGroup.PhraseMatchRuleGroupType type = 1 [(.google.api.field_behavior) = REQUIRED]; * @return The enum numeric value on the wire for type. */ - @java.lang.Override - public int getTypeValue() { + @java.lang.Override public int getTypeValue() { return type_; } /** - * - * *
      * Required. The type of this phrase match rule group.
      * 
* - * - * .google.cloud.contactcenterinsights.v1.PhraseMatchRuleGroup.PhraseMatchRuleGroupType type = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.contactcenterinsights.v1.PhraseMatchRuleGroup.PhraseMatchRuleGroupType type = 1 [(.google.api.field_behavior) = REQUIRED]; * @param value The enum numeric value on the wire for type to set. * @return This builder for chaining. */ @@ -818,47 +708,28 @@ public Builder setTypeValue(int value) { return this; } /** - * - * *
      * Required. The type of this phrase match rule group.
      * 
* - * - * .google.cloud.contactcenterinsights.v1.PhraseMatchRuleGroup.PhraseMatchRuleGroupType type = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.contactcenterinsights.v1.PhraseMatchRuleGroup.PhraseMatchRuleGroupType type = 1 [(.google.api.field_behavior) = REQUIRED]; * @return The type. */ @java.lang.Override - public com.google.cloud.contactcenterinsights.v1.PhraseMatchRuleGroup.PhraseMatchRuleGroupType - getType() { - com.google.cloud.contactcenterinsights.v1.PhraseMatchRuleGroup.PhraseMatchRuleGroupType - result = - com.google.cloud.contactcenterinsights.v1.PhraseMatchRuleGroup - .PhraseMatchRuleGroupType.forNumber(type_); - return result == null - ? com.google.cloud.contactcenterinsights.v1.PhraseMatchRuleGroup.PhraseMatchRuleGroupType - .UNRECOGNIZED - : result; + public com.google.cloud.contactcenterinsights.v1.PhraseMatchRuleGroup.PhraseMatchRuleGroupType getType() { + com.google.cloud.contactcenterinsights.v1.PhraseMatchRuleGroup.PhraseMatchRuleGroupType result = com.google.cloud.contactcenterinsights.v1.PhraseMatchRuleGroup.PhraseMatchRuleGroupType.forNumber(type_); + return result == null ? com.google.cloud.contactcenterinsights.v1.PhraseMatchRuleGroup.PhraseMatchRuleGroupType.UNRECOGNIZED : result; } /** - * - * *
      * Required. The type of this phrase match rule group.
      * 
* - * - * .google.cloud.contactcenterinsights.v1.PhraseMatchRuleGroup.PhraseMatchRuleGroupType type = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.contactcenterinsights.v1.PhraseMatchRuleGroup.PhraseMatchRuleGroupType type = 1 [(.google.api.field_behavior) = REQUIRED]; * @param value The type to set. * @return This builder for chaining. */ - public Builder setType( - com.google.cloud.contactcenterinsights.v1.PhraseMatchRuleGroup.PhraseMatchRuleGroupType - value) { + public Builder setType(com.google.cloud.contactcenterinsights.v1.PhraseMatchRuleGroup.PhraseMatchRuleGroupType value) { if (value == null) { throw new NullPointerException(); } @@ -868,16 +739,11 @@ public Builder setType( return this; } /** - * - * *
      * Required. The type of this phrase match rule group.
      * 
* - * - * .google.cloud.contactcenterinsights.v1.PhraseMatchRuleGroup.PhraseMatchRuleGroupType type = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.contactcenterinsights.v1.PhraseMatchRuleGroup.PhraseMatchRuleGroupType type = 1 [(.google.api.field_behavior) = REQUIRED]; * @return This builder for chaining. */ public Builder clearType() { @@ -887,36 +753,26 @@ public Builder clearType() { return this; } - private java.util.List - phraseMatchRules_ = java.util.Collections.emptyList(); - + private java.util.List phraseMatchRules_ = + java.util.Collections.emptyList(); private void ensurePhraseMatchRulesIsMutable() { if (!((bitField0_ & 0x00000002) != 0)) { - phraseMatchRules_ = - new java.util.ArrayList( - phraseMatchRules_); + phraseMatchRules_ = new java.util.ArrayList(phraseMatchRules_); bitField0_ |= 0x00000002; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.contactcenterinsights.v1.PhraseMatchRule, - com.google.cloud.contactcenterinsights.v1.PhraseMatchRule.Builder, - com.google.cloud.contactcenterinsights.v1.PhraseMatchRuleOrBuilder> - phraseMatchRulesBuilder_; + com.google.cloud.contactcenterinsights.v1.PhraseMatchRule, com.google.cloud.contactcenterinsights.v1.PhraseMatchRule.Builder, com.google.cloud.contactcenterinsights.v1.PhraseMatchRuleOrBuilder> phraseMatchRulesBuilder_; /** - * - * *
      * A list of phase match rules that are included in this group.
      * 
* - * repeated .google.cloud.contactcenterinsights.v1.PhraseMatchRule phrase_match_rules = 2; - * + * repeated .google.cloud.contactcenterinsights.v1.PhraseMatchRule phrase_match_rules = 2; */ - public java.util.List - getPhraseMatchRulesList() { + public java.util.List getPhraseMatchRulesList() { if (phraseMatchRulesBuilder_ == null) { return java.util.Collections.unmodifiableList(phraseMatchRules_); } else { @@ -924,14 +780,11 @@ private void ensurePhraseMatchRulesIsMutable() { } } /** - * - * *
      * A list of phase match rules that are included in this group.
      * 
* - * repeated .google.cloud.contactcenterinsights.v1.PhraseMatchRule phrase_match_rules = 2; - * + * repeated .google.cloud.contactcenterinsights.v1.PhraseMatchRule phrase_match_rules = 2; */ public int getPhraseMatchRulesCount() { if (phraseMatchRulesBuilder_ == null) { @@ -941,17 +794,13 @@ public int getPhraseMatchRulesCount() { } } /** - * - * *
      * A list of phase match rules that are included in this group.
      * 
* - * repeated .google.cloud.contactcenterinsights.v1.PhraseMatchRule phrase_match_rules = 2; - * + * repeated .google.cloud.contactcenterinsights.v1.PhraseMatchRule phrase_match_rules = 2; */ - public com.google.cloud.contactcenterinsights.v1.PhraseMatchRule getPhraseMatchRules( - int index) { + public com.google.cloud.contactcenterinsights.v1.PhraseMatchRule getPhraseMatchRules(int index) { if (phraseMatchRulesBuilder_ == null) { return phraseMatchRules_.get(index); } else { @@ -959,14 +808,11 @@ public com.google.cloud.contactcenterinsights.v1.PhraseMatchRule getPhraseMatchR } } /** - * - * *
      * A list of phase match rules that are included in this group.
      * 
* - * repeated .google.cloud.contactcenterinsights.v1.PhraseMatchRule phrase_match_rules = 2; - * + * repeated .google.cloud.contactcenterinsights.v1.PhraseMatchRule phrase_match_rules = 2; */ public Builder setPhraseMatchRules( int index, com.google.cloud.contactcenterinsights.v1.PhraseMatchRule value) { @@ -983,18 +829,14 @@ public Builder setPhraseMatchRules( return this; } /** - * - * *
      * A list of phase match rules that are included in this group.
      * 
* - * repeated .google.cloud.contactcenterinsights.v1.PhraseMatchRule phrase_match_rules = 2; - * + * repeated .google.cloud.contactcenterinsights.v1.PhraseMatchRule phrase_match_rules = 2; */ public Builder setPhraseMatchRules( - int index, - com.google.cloud.contactcenterinsights.v1.PhraseMatchRule.Builder builderForValue) { + int index, com.google.cloud.contactcenterinsights.v1.PhraseMatchRule.Builder builderForValue) { if (phraseMatchRulesBuilder_ == null) { ensurePhraseMatchRulesIsMutable(); phraseMatchRules_.set(index, builderForValue.build()); @@ -1005,17 +847,13 @@ public Builder setPhraseMatchRules( return this; } /** - * - * *
      * A list of phase match rules that are included in this group.
      * 
* - * repeated .google.cloud.contactcenterinsights.v1.PhraseMatchRule phrase_match_rules = 2; - * + * repeated .google.cloud.contactcenterinsights.v1.PhraseMatchRule phrase_match_rules = 2; */ - public Builder addPhraseMatchRules( - com.google.cloud.contactcenterinsights.v1.PhraseMatchRule value) { + public Builder addPhraseMatchRules(com.google.cloud.contactcenterinsights.v1.PhraseMatchRule value) { if (phraseMatchRulesBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -1029,14 +867,11 @@ public Builder addPhraseMatchRules( return this; } /** - * - * *
      * A list of phase match rules that are included in this group.
      * 
* - * repeated .google.cloud.contactcenterinsights.v1.PhraseMatchRule phrase_match_rules = 2; - * + * repeated .google.cloud.contactcenterinsights.v1.PhraseMatchRule phrase_match_rules = 2; */ public Builder addPhraseMatchRules( int index, com.google.cloud.contactcenterinsights.v1.PhraseMatchRule value) { @@ -1053,14 +888,11 @@ public Builder addPhraseMatchRules( return this; } /** - * - * *
      * A list of phase match rules that are included in this group.
      * 
* - * repeated .google.cloud.contactcenterinsights.v1.PhraseMatchRule phrase_match_rules = 2; - * + * repeated .google.cloud.contactcenterinsights.v1.PhraseMatchRule phrase_match_rules = 2; */ public Builder addPhraseMatchRules( com.google.cloud.contactcenterinsights.v1.PhraseMatchRule.Builder builderForValue) { @@ -1074,18 +906,14 @@ public Builder addPhraseMatchRules( return this; } /** - * - * *
      * A list of phase match rules that are included in this group.
      * 
* - * repeated .google.cloud.contactcenterinsights.v1.PhraseMatchRule phrase_match_rules = 2; - * + * repeated .google.cloud.contactcenterinsights.v1.PhraseMatchRule phrase_match_rules = 2; */ public Builder addPhraseMatchRules( - int index, - com.google.cloud.contactcenterinsights.v1.PhraseMatchRule.Builder builderForValue) { + int index, com.google.cloud.contactcenterinsights.v1.PhraseMatchRule.Builder builderForValue) { if (phraseMatchRulesBuilder_ == null) { ensurePhraseMatchRulesIsMutable(); phraseMatchRules_.add(index, builderForValue.build()); @@ -1096,21 +924,18 @@ public Builder addPhraseMatchRules( return this; } /** - * - * *
      * A list of phase match rules that are included in this group.
      * 
* - * repeated .google.cloud.contactcenterinsights.v1.PhraseMatchRule phrase_match_rules = 2; - * + * repeated .google.cloud.contactcenterinsights.v1.PhraseMatchRule phrase_match_rules = 2; */ public Builder addAllPhraseMatchRules( - java.lang.Iterable - values) { + java.lang.Iterable values) { if (phraseMatchRulesBuilder_ == null) { ensurePhraseMatchRulesIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, phraseMatchRules_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, phraseMatchRules_); onChanged(); } else { phraseMatchRulesBuilder_.addAllMessages(values); @@ -1118,14 +943,11 @@ public Builder addAllPhraseMatchRules( return this; } /** - * - * *
      * A list of phase match rules that are included in this group.
      * 
* - * repeated .google.cloud.contactcenterinsights.v1.PhraseMatchRule phrase_match_rules = 2; - * + * repeated .google.cloud.contactcenterinsights.v1.PhraseMatchRule phrase_match_rules = 2; */ public Builder clearPhraseMatchRules() { if (phraseMatchRulesBuilder_ == null) { @@ -1138,14 +960,11 @@ public Builder clearPhraseMatchRules() { return this; } /** - * - * *
      * A list of phase match rules that are included in this group.
      * 
* - * repeated .google.cloud.contactcenterinsights.v1.PhraseMatchRule phrase_match_rules = 2; - * + * repeated .google.cloud.contactcenterinsights.v1.PhraseMatchRule phrase_match_rules = 2; */ public Builder removePhraseMatchRules(int index) { if (phraseMatchRulesBuilder_ == null) { @@ -1158,50 +977,39 @@ public Builder removePhraseMatchRules(int index) { return this; } /** - * - * *
      * A list of phase match rules that are included in this group.
      * 
* - * repeated .google.cloud.contactcenterinsights.v1.PhraseMatchRule phrase_match_rules = 2; - * + * repeated .google.cloud.contactcenterinsights.v1.PhraseMatchRule phrase_match_rules = 2; */ - public com.google.cloud.contactcenterinsights.v1.PhraseMatchRule.Builder - getPhraseMatchRulesBuilder(int index) { + public com.google.cloud.contactcenterinsights.v1.PhraseMatchRule.Builder getPhraseMatchRulesBuilder( + int index) { return getPhraseMatchRulesFieldBuilder().getBuilder(index); } /** - * - * *
      * A list of phase match rules that are included in this group.
      * 
* - * repeated .google.cloud.contactcenterinsights.v1.PhraseMatchRule phrase_match_rules = 2; - * + * repeated .google.cloud.contactcenterinsights.v1.PhraseMatchRule phrase_match_rules = 2; */ - public com.google.cloud.contactcenterinsights.v1.PhraseMatchRuleOrBuilder - getPhraseMatchRulesOrBuilder(int index) { + public com.google.cloud.contactcenterinsights.v1.PhraseMatchRuleOrBuilder getPhraseMatchRulesOrBuilder( + int index) { if (phraseMatchRulesBuilder_ == null) { - return phraseMatchRules_.get(index); - } else { + return phraseMatchRules_.get(index); } else { return phraseMatchRulesBuilder_.getMessageOrBuilder(index); } } /** - * - * *
      * A list of phase match rules that are included in this group.
      * 
* - * repeated .google.cloud.contactcenterinsights.v1.PhraseMatchRule phrase_match_rules = 2; - * + * repeated .google.cloud.contactcenterinsights.v1.PhraseMatchRule phrase_match_rules = 2; */ - public java.util.List< - ? extends com.google.cloud.contactcenterinsights.v1.PhraseMatchRuleOrBuilder> - getPhraseMatchRulesOrBuilderList() { + public java.util.List + getPhraseMatchRulesOrBuilderList() { if (phraseMatchRulesBuilder_ != null) { return phraseMatchRulesBuilder_.getMessageOrBuilderList(); } else { @@ -1209,64 +1017,45 @@ public Builder removePhraseMatchRules(int index) { } } /** - * - * *
      * A list of phase match rules that are included in this group.
      * 
* - * repeated .google.cloud.contactcenterinsights.v1.PhraseMatchRule phrase_match_rules = 2; - * + * repeated .google.cloud.contactcenterinsights.v1.PhraseMatchRule phrase_match_rules = 2; */ - public com.google.cloud.contactcenterinsights.v1.PhraseMatchRule.Builder - addPhraseMatchRulesBuilder() { - return getPhraseMatchRulesFieldBuilder() - .addBuilder( - com.google.cloud.contactcenterinsights.v1.PhraseMatchRule.getDefaultInstance()); + public com.google.cloud.contactcenterinsights.v1.PhraseMatchRule.Builder addPhraseMatchRulesBuilder() { + return getPhraseMatchRulesFieldBuilder().addBuilder( + com.google.cloud.contactcenterinsights.v1.PhraseMatchRule.getDefaultInstance()); } /** - * - * *
      * A list of phase match rules that are included in this group.
      * 
* - * repeated .google.cloud.contactcenterinsights.v1.PhraseMatchRule phrase_match_rules = 2; - * + * repeated .google.cloud.contactcenterinsights.v1.PhraseMatchRule phrase_match_rules = 2; */ - public com.google.cloud.contactcenterinsights.v1.PhraseMatchRule.Builder - addPhraseMatchRulesBuilder(int index) { - return getPhraseMatchRulesFieldBuilder() - .addBuilder( - index, - com.google.cloud.contactcenterinsights.v1.PhraseMatchRule.getDefaultInstance()); + public com.google.cloud.contactcenterinsights.v1.PhraseMatchRule.Builder addPhraseMatchRulesBuilder( + int index) { + return getPhraseMatchRulesFieldBuilder().addBuilder( + index, com.google.cloud.contactcenterinsights.v1.PhraseMatchRule.getDefaultInstance()); } /** - * - * *
      * A list of phase match rules that are included in this group.
      * 
* - * repeated .google.cloud.contactcenterinsights.v1.PhraseMatchRule phrase_match_rules = 2; - * + * repeated .google.cloud.contactcenterinsights.v1.PhraseMatchRule phrase_match_rules = 2; */ - public java.util.List - getPhraseMatchRulesBuilderList() { + public java.util.List + getPhraseMatchRulesBuilderList() { return getPhraseMatchRulesFieldBuilder().getBuilderList(); } - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.contactcenterinsights.v1.PhraseMatchRule, - com.google.cloud.contactcenterinsights.v1.PhraseMatchRule.Builder, - com.google.cloud.contactcenterinsights.v1.PhraseMatchRuleOrBuilder> + com.google.cloud.contactcenterinsights.v1.PhraseMatchRule, com.google.cloud.contactcenterinsights.v1.PhraseMatchRule.Builder, com.google.cloud.contactcenterinsights.v1.PhraseMatchRuleOrBuilder> getPhraseMatchRulesFieldBuilder() { if (phraseMatchRulesBuilder_ == null) { - phraseMatchRulesBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.contactcenterinsights.v1.PhraseMatchRule, - com.google.cloud.contactcenterinsights.v1.PhraseMatchRule.Builder, - com.google.cloud.contactcenterinsights.v1.PhraseMatchRuleOrBuilder>( + phraseMatchRulesBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.contactcenterinsights.v1.PhraseMatchRule, com.google.cloud.contactcenterinsights.v1.PhraseMatchRule.Builder, com.google.cloud.contactcenterinsights.v1.PhraseMatchRuleOrBuilder>( phraseMatchRules_, ((bitField0_ & 0x00000002) != 0), getParentForChildren(), @@ -1275,9 +1064,9 @@ public Builder removePhraseMatchRules(int index) { } return phraseMatchRulesBuilder_; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1287,43 +1076,41 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.contactcenterinsights.v1.PhraseMatchRuleGroup) } // @@protoc_insertion_point(class_scope:google.cloud.contactcenterinsights.v1.PhraseMatchRuleGroup) - private static final com.google.cloud.contactcenterinsights.v1.PhraseMatchRuleGroup - DEFAULT_INSTANCE; - + private static final com.google.cloud.contactcenterinsights.v1.PhraseMatchRuleGroup DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.cloud.contactcenterinsights.v1.PhraseMatchRuleGroup(); } - public static com.google.cloud.contactcenterinsights.v1.PhraseMatchRuleGroup - getDefaultInstance() { + public static com.google.cloud.contactcenterinsights.v1.PhraseMatchRuleGroup getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public PhraseMatchRuleGroup parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public PhraseMatchRuleGroup parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1335,8 +1122,9 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.cloud.contactcenterinsights.v1.PhraseMatchRuleGroup - getDefaultInstanceForType() { + public com.google.cloud.contactcenterinsights.v1.PhraseMatchRuleGroup getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/PhraseMatchRuleGroupOrBuilder.java b/owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/PhraseMatchRuleGroupOrBuilder.java similarity index 60% rename from java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/PhraseMatchRuleGroupOrBuilder.java rename to owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/PhraseMatchRuleGroupOrBuilder.java index ae910d8efb7b..12f8accf4866 100644 --- a/java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/PhraseMatchRuleGroupOrBuilder.java +++ b/owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/PhraseMatchRuleGroupOrBuilder.java @@ -1,112 +1,71 @@ -/* - * 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. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/contactcenterinsights/v1/resources.proto package com.google.cloud.contactcenterinsights.v1; -public interface PhraseMatchRuleGroupOrBuilder - extends +public interface PhraseMatchRuleGroupOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.contactcenterinsights.v1.PhraseMatchRuleGroup) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Required. The type of this phrase match rule group.
    * 
* - * - * .google.cloud.contactcenterinsights.v1.PhraseMatchRuleGroup.PhraseMatchRuleGroupType type = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.contactcenterinsights.v1.PhraseMatchRuleGroup.PhraseMatchRuleGroupType type = 1 [(.google.api.field_behavior) = REQUIRED]; * @return The enum numeric value on the wire for type. */ int getTypeValue(); /** - * - * *
    * Required. The type of this phrase match rule group.
    * 
* - * - * .google.cloud.contactcenterinsights.v1.PhraseMatchRuleGroup.PhraseMatchRuleGroupType type = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.contactcenterinsights.v1.PhraseMatchRuleGroup.PhraseMatchRuleGroupType type = 1 [(.google.api.field_behavior) = REQUIRED]; * @return The type. */ com.google.cloud.contactcenterinsights.v1.PhraseMatchRuleGroup.PhraseMatchRuleGroupType getType(); /** - * - * *
    * A list of phase match rules that are included in this group.
    * 
* - * repeated .google.cloud.contactcenterinsights.v1.PhraseMatchRule phrase_match_rules = 2; - * + * repeated .google.cloud.contactcenterinsights.v1.PhraseMatchRule phrase_match_rules = 2; */ - java.util.List + java.util.List getPhraseMatchRulesList(); /** - * - * *
    * A list of phase match rules that are included in this group.
    * 
* - * repeated .google.cloud.contactcenterinsights.v1.PhraseMatchRule phrase_match_rules = 2; - * + * repeated .google.cloud.contactcenterinsights.v1.PhraseMatchRule phrase_match_rules = 2; */ com.google.cloud.contactcenterinsights.v1.PhraseMatchRule getPhraseMatchRules(int index); /** - * - * *
    * A list of phase match rules that are included in this group.
    * 
* - * repeated .google.cloud.contactcenterinsights.v1.PhraseMatchRule phrase_match_rules = 2; - * + * repeated .google.cloud.contactcenterinsights.v1.PhraseMatchRule phrase_match_rules = 2; */ int getPhraseMatchRulesCount(); /** - * - * *
    * A list of phase match rules that are included in this group.
    * 
* - * repeated .google.cloud.contactcenterinsights.v1.PhraseMatchRule phrase_match_rules = 2; - * + * repeated .google.cloud.contactcenterinsights.v1.PhraseMatchRule phrase_match_rules = 2; */ - java.util.List + java.util.List getPhraseMatchRulesOrBuilderList(); /** - * - * *
    * A list of phase match rules that are included in this group.
    * 
* - * repeated .google.cloud.contactcenterinsights.v1.PhraseMatchRule phrase_match_rules = 2; - * + * repeated .google.cloud.contactcenterinsights.v1.PhraseMatchRule phrase_match_rules = 2; */ com.google.cloud.contactcenterinsights.v1.PhraseMatchRuleOrBuilder getPhraseMatchRulesOrBuilder( int index); diff --git a/java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/PhraseMatchRuleOrBuilder.java b/owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/PhraseMatchRuleOrBuilder.java similarity index 71% rename from java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/PhraseMatchRuleOrBuilder.java rename to owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/PhraseMatchRuleOrBuilder.java index f53d29c954ff..bb429f12772a 100644 --- a/java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/PhraseMatchRuleOrBuilder.java +++ b/owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/PhraseMatchRuleOrBuilder.java @@ -1,96 +1,64 @@ -/* - * 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. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/contactcenterinsights/v1/resources.proto package com.google.cloud.contactcenterinsights.v1; -public interface PhraseMatchRuleOrBuilder - extends +public interface PhraseMatchRuleOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.contactcenterinsights.v1.PhraseMatchRule) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Required. The phrase to be matched.
    * 
* * string query = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The query. */ java.lang.String getQuery(); /** - * - * *
    * Required. The phrase to be matched.
    * 
* * string query = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for query. */ - com.google.protobuf.ByteString getQueryBytes(); + com.google.protobuf.ByteString + getQueryBytes(); /** - * - * *
    * Specifies whether the phrase must be missing from the transcript segment or
    * present in the transcript segment.
    * 
* * bool negated = 2; - * * @return The negated. */ boolean getNegated(); /** - * - * *
    * Provides additional information about the rule that specifies how to apply
    * the rule.
    * 
* * .google.cloud.contactcenterinsights.v1.PhraseMatchRuleConfig config = 3; - * * @return Whether the config field is set. */ boolean hasConfig(); /** - * - * *
    * Provides additional information about the rule that specifies how to apply
    * the rule.
    * 
* * .google.cloud.contactcenterinsights.v1.PhraseMatchRuleConfig config = 3; - * * @return The config. */ com.google.cloud.contactcenterinsights.v1.PhraseMatchRuleConfig getConfig(); /** - * - * *
    * Provides additional information about the rule that specifies how to apply
    * the rule.
diff --git a/java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/PhraseMatcher.java b/owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/PhraseMatcher.java
similarity index 64%
rename from java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/PhraseMatcher.java
rename to owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/PhraseMatcher.java
index 7e3176bb7434..7b9d27171afc 100644
--- a/java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/PhraseMatcher.java
+++ b/owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/PhraseMatcher.java
@@ -1,42 +1,24 @@
-/*
- * 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.
- */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/cloud/contactcenterinsights/v1/resources.proto
 
 package com.google.cloud.contactcenterinsights.v1;
 
 /**
- *
- *
  * 
  * The phrase matcher resource.
  * 
* * Protobuf type {@code google.cloud.contactcenterinsights.v1.PhraseMatcher} */ -public final class PhraseMatcher extends com.google.protobuf.GeneratedMessageV3 - implements +public final class PhraseMatcher extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.contactcenterinsights.v1.PhraseMatcher) PhraseMatcherOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use PhraseMatcher.newBuilder() to construct. private PhraseMatcher(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private PhraseMatcher() { name_ = ""; revisionId_ = ""; @@ -49,33 +31,30 @@ private PhraseMatcher() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new PhraseMatcher(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.contactcenterinsights.v1.ResourcesProto - .internal_static_google_cloud_contactcenterinsights_v1_PhraseMatcher_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.contactcenterinsights.v1.ResourcesProto.internal_static_google_cloud_contactcenterinsights_v1_PhraseMatcher_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.contactcenterinsights.v1.ResourcesProto - .internal_static_google_cloud_contactcenterinsights_v1_PhraseMatcher_fieldAccessorTable + return com.google.cloud.contactcenterinsights.v1.ResourcesProto.internal_static_google_cloud_contactcenterinsights_v1_PhraseMatcher_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.contactcenterinsights.v1.PhraseMatcher.class, - com.google.cloud.contactcenterinsights.v1.PhraseMatcher.Builder.class); + com.google.cloud.contactcenterinsights.v1.PhraseMatcher.class, com.google.cloud.contactcenterinsights.v1.PhraseMatcher.Builder.class); } /** - * - * *
    * Specifies how to combine each phrase match rule group to determine whether
    * there is a match.
@@ -83,10 +62,9 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
    *
    * Protobuf enum {@code google.cloud.contactcenterinsights.v1.PhraseMatcher.PhraseMatcherType}
    */
-  public enum PhraseMatcherType implements com.google.protobuf.ProtocolMessageEnum {
+  public enum PhraseMatcherType
+      implements com.google.protobuf.ProtocolMessageEnum {
     /**
-     *
-     *
      * 
      * Unspecified.
      * 
@@ -95,8 +73,6 @@ public enum PhraseMatcherType implements com.google.protobuf.ProtocolMessageEnum */ PHRASE_MATCHER_TYPE_UNSPECIFIED(0), /** - * - * *
      * Must meet all phrase match rule groups or there is no match.
      * 
@@ -105,8 +81,6 @@ public enum PhraseMatcherType implements com.google.protobuf.ProtocolMessageEnum */ ALL_OF(1), /** - * - * *
      * If any of the phrase match rule groups are met, there is a match.
      * 
@@ -118,8 +92,6 @@ public enum PhraseMatcherType implements com.google.protobuf.ProtocolMessageEnum ; /** - * - * *
      * Unspecified.
      * 
@@ -128,8 +100,6 @@ public enum PhraseMatcherType implements com.google.protobuf.ProtocolMessageEnum */ public static final int PHRASE_MATCHER_TYPE_UNSPECIFIED_VALUE = 0; /** - * - * *
      * Must meet all phrase match rule groups or there is no match.
      * 
@@ -138,8 +108,6 @@ public enum PhraseMatcherType implements com.google.protobuf.ProtocolMessageEnum */ public static final int ALL_OF_VALUE = 1; /** - * - * *
      * If any of the phrase match rule groups are met, there is a match.
      * 
@@ -148,6 +116,7 @@ public enum PhraseMatcherType implements com.google.protobuf.ProtocolMessageEnum */ public static final int ANY_OF_VALUE = 2; + public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -172,14 +141,10 @@ public static PhraseMatcherType valueOf(int value) { */ public static PhraseMatcherType forNumber(int value) { switch (value) { - case 0: - return PHRASE_MATCHER_TYPE_UNSPECIFIED; - case 1: - return ALL_OF; - case 2: - return ANY_OF; - default: - return null; + case 0: return PHRASE_MATCHER_TYPE_UNSPECIFIED; + case 1: return ALL_OF; + case 2: return ANY_OF; + default: return null; } } @@ -187,31 +152,29 @@ public static PhraseMatcherType forNumber(int value) { internalGetValueMap() { return internalValueMap; } + private static final com.google.protobuf.Internal.EnumLiteMap< + PhraseMatcherType> internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public PhraseMatcherType findValueByNumber(int number) { + return PhraseMatcherType.forNumber(number); + } + }; - private static final com.google.protobuf.Internal.EnumLiteMap - internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public PhraseMatcherType findValueByNumber(int number) { - return PhraseMatcherType.forNumber(number); - } - }; - - public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() { + public final com.google.protobuf.Descriptors.EnumValueDescriptor + getValueDescriptor() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalStateException( "Can't get the descriptor of an unrecognized enum value."); } return getDescriptor().getValues().get(ordinal()); } - - public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() { + public final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptorForType() { return getDescriptor(); } - - public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { - return com.google.cloud.contactcenterinsights.v1.PhraseMatcher.getDescriptor() - .getEnumTypes() - .get(0); + public static final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptor() { + return com.google.cloud.contactcenterinsights.v1.PhraseMatcher.getDescriptor().getEnumTypes().get(0); } private static final PhraseMatcherType[] VALUES = values(); @@ -219,7 +182,8 @@ public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor public static PhraseMatcherType valueOf( com.google.protobuf.Descriptors.EnumValueDescriptor desc) { if (desc.getType() != getDescriptor()) { - throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type."); + throw new java.lang.IllegalArgumentException( + "EnumValueDescriptor is not for this type."); } if (desc.getIndex() == -1) { return UNRECOGNIZED; @@ -237,12 +201,9 @@ private PhraseMatcherType(int value) { } public static final int NAME_FIELD_NUMBER = 1; - @SuppressWarnings("serial") private volatile java.lang.Object name_ = ""; /** - * - * *
    * The resource name of the phrase matcher.
    * Format:
@@ -250,7 +211,6 @@ private PhraseMatcherType(int value) {
    * 
* * string name = 1; - * * @return The name. */ @java.lang.Override @@ -259,15 +219,14 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** - * - * *
    * The resource name of the phrase matcher.
    * Format:
@@ -275,15 +234,16 @@ public java.lang.String getName() {
    * 
* * string name = 1; - * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -292,12 +252,9 @@ public com.google.protobuf.ByteString getNameBytes() { } public static final int REVISION_ID_FIELD_NUMBER = 2; - @SuppressWarnings("serial") private volatile java.lang.Object revisionId_ = ""; /** - * - * *
    * Output only. Immutable. The revision ID of the phrase matcher.
    * A new revision is committed whenever the matcher is changed, except when it
@@ -305,10 +262,7 @@ public com.google.protobuf.ByteString getNameBytes() {
    * Example: locations/global/phraseMatchers/my-first-matcher@1234567
    * 
* - * - * string revision_id = 2 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * string revision_id = 2 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.field_behavior) = OUTPUT_ONLY]; * @return The revisionId. */ @java.lang.Override @@ -317,15 +271,14 @@ public java.lang.String getRevisionId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); revisionId_ = s; return s; } } /** - * - * *
    * Output only. Immutable. The revision ID of the phrase matcher.
    * A new revision is committed whenever the matcher is changed, except when it
@@ -333,18 +286,17 @@ public java.lang.String getRevisionId() {
    * Example: locations/global/phraseMatchers/my-first-matcher@1234567
    * 
* - * - * string revision_id = 2 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * string revision_id = 2 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.field_behavior) = OUTPUT_ONLY]; * @return The bytes for revisionId. */ @java.lang.Override - public com.google.protobuf.ByteString getRevisionIdBytes() { + public com.google.protobuf.ByteString + getRevisionIdBytes() { java.lang.Object ref = revisionId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); revisionId_ = b; return b; } else { @@ -353,19 +305,15 @@ public com.google.protobuf.ByteString getRevisionIdBytes() { } public static final int VERSION_TAG_FIELD_NUMBER = 3; - @SuppressWarnings("serial") private volatile java.lang.Object versionTag_ = ""; /** - * - * *
    * The customized version tag to use for the phrase matcher. If not specified,
    * it will default to `revision_id`.
    * 
* * string version_tag = 3; - * * @return The versionTag. */ @java.lang.Override @@ -374,30 +322,30 @@ public java.lang.String getVersionTag() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); versionTag_ = s; return s; } } /** - * - * *
    * The customized version tag to use for the phrase matcher. If not specified,
    * it will default to `revision_id`.
    * 
* * string version_tag = 3; - * * @return The bytes for versionTag. */ @java.lang.Override - public com.google.protobuf.ByteString getVersionTagBytes() { + public com.google.protobuf.ByteString + getVersionTagBytes() { java.lang.Object ref = versionTag_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); versionTag_ = b; return b; } else { @@ -408,17 +356,12 @@ public com.google.protobuf.ByteString getVersionTagBytes() { public static final int REVISION_CREATE_TIME_FIELD_NUMBER = 4; private com.google.protobuf.Timestamp revisionCreateTime_; /** - * - * *
-   * Output only. The timestamp of when the revision was created. It is also the create time
-   * when a new matcher is added.
+   * Output only. The timestamp of when the revision was created. It is also the
+   * create time when a new matcher is added.
    * 
* - * - * .google.protobuf.Timestamp revision_create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp revision_create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the revisionCreateTime field is set. */ @java.lang.Override @@ -426,57 +369,40 @@ public boolean hasRevisionCreateTime() { return revisionCreateTime_ != null; } /** - * - * *
-   * Output only. The timestamp of when the revision was created. It is also the create time
-   * when a new matcher is added.
+   * Output only. The timestamp of when the revision was created. It is also the
+   * create time when a new matcher is added.
    * 
* - * - * .google.protobuf.Timestamp revision_create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp revision_create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The revisionCreateTime. */ @java.lang.Override public com.google.protobuf.Timestamp getRevisionCreateTime() { - return revisionCreateTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : revisionCreateTime_; + return revisionCreateTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : revisionCreateTime_; } /** - * - * *
-   * Output only. The timestamp of when the revision was created. It is also the create time
-   * when a new matcher is added.
+   * Output only. The timestamp of when the revision was created. It is also the
+   * create time when a new matcher is added.
    * 
* - * - * .google.protobuf.Timestamp revision_create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp revision_create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ @java.lang.Override public com.google.protobuf.TimestampOrBuilder getRevisionCreateTimeOrBuilder() { - return revisionCreateTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : revisionCreateTime_; + return revisionCreateTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : revisionCreateTime_; } public static final int DISPLAY_NAME_FIELD_NUMBER = 5; - @SuppressWarnings("serial") private volatile java.lang.Object displayName_ = ""; /** - * - * *
    * The human-readable name of the phrase matcher.
    * 
* * string display_name = 5; - * * @return The displayName. */ @java.lang.Override @@ -485,29 +411,29 @@ public java.lang.String getDisplayName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); displayName_ = s; return s; } } /** - * - * *
    * The human-readable name of the phrase matcher.
    * 
* * string display_name = 5; - * * @return The bytes for displayName. */ @java.lang.Override - public com.google.protobuf.ByteString getDisplayNameBytes() { + public com.google.protobuf.ByteString + getDisplayNameBytes() { java.lang.Object ref = displayName_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); displayName_ = b; return b; } else { @@ -518,55 +444,37 @@ public com.google.protobuf.ByteString getDisplayNameBytes() { public static final int TYPE_FIELD_NUMBER = 6; private int type_ = 0; /** - * - * *
    * Required. The type of this phrase matcher.
    * 
* - * - * .google.cloud.contactcenterinsights.v1.PhraseMatcher.PhraseMatcherType type = 6 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.contactcenterinsights.v1.PhraseMatcher.PhraseMatcherType type = 6 [(.google.api.field_behavior) = REQUIRED]; * @return The enum numeric value on the wire for type. */ - @java.lang.Override - public int getTypeValue() { + @java.lang.Override public int getTypeValue() { return type_; } /** - * - * *
    * Required. The type of this phrase matcher.
    * 
* - * - * .google.cloud.contactcenterinsights.v1.PhraseMatcher.PhraseMatcherType type = 6 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.contactcenterinsights.v1.PhraseMatcher.PhraseMatcherType type = 6 [(.google.api.field_behavior) = REQUIRED]; * @return The type. */ - @java.lang.Override - public com.google.cloud.contactcenterinsights.v1.PhraseMatcher.PhraseMatcherType getType() { - com.google.cloud.contactcenterinsights.v1.PhraseMatcher.PhraseMatcherType result = - com.google.cloud.contactcenterinsights.v1.PhraseMatcher.PhraseMatcherType.forNumber(type_); - return result == null - ? com.google.cloud.contactcenterinsights.v1.PhraseMatcher.PhraseMatcherType.UNRECOGNIZED - : result; + @java.lang.Override public com.google.cloud.contactcenterinsights.v1.PhraseMatcher.PhraseMatcherType getType() { + com.google.cloud.contactcenterinsights.v1.PhraseMatcher.PhraseMatcherType result = com.google.cloud.contactcenterinsights.v1.PhraseMatcher.PhraseMatcherType.forNumber(type_); + return result == null ? com.google.cloud.contactcenterinsights.v1.PhraseMatcher.PhraseMatcherType.UNRECOGNIZED : result; } public static final int ACTIVE_FIELD_NUMBER = 7; private boolean active_ = false; /** - * - * *
    * Applies the phrase matcher only when it is active.
    * 
* * bool active = 7; - * * @return The active. */ @java.lang.Override @@ -575,104 +483,75 @@ public boolean getActive() { } public static final int PHRASE_MATCH_RULE_GROUPS_FIELD_NUMBER = 8; - @SuppressWarnings("serial") - private java.util.List - phraseMatchRuleGroups_; + private java.util.List phraseMatchRuleGroups_; /** - * - * *
    * A list of phase match rule groups that are included in this matcher.
    * 
* - * - * repeated .google.cloud.contactcenterinsights.v1.PhraseMatchRuleGroup phrase_match_rule_groups = 8; - * + * repeated .google.cloud.contactcenterinsights.v1.PhraseMatchRuleGroup phrase_match_rule_groups = 8; */ @java.lang.Override - public java.util.List - getPhraseMatchRuleGroupsList() { + public java.util.List getPhraseMatchRuleGroupsList() { return phraseMatchRuleGroups_; } /** - * - * *
    * A list of phase match rule groups that are included in this matcher.
    * 
* - * - * repeated .google.cloud.contactcenterinsights.v1.PhraseMatchRuleGroup phrase_match_rule_groups = 8; - * + * repeated .google.cloud.contactcenterinsights.v1.PhraseMatchRuleGroup phrase_match_rule_groups = 8; */ @java.lang.Override - public java.util.List< - ? extends com.google.cloud.contactcenterinsights.v1.PhraseMatchRuleGroupOrBuilder> + public java.util.List getPhraseMatchRuleGroupsOrBuilderList() { return phraseMatchRuleGroups_; } /** - * - * *
    * A list of phase match rule groups that are included in this matcher.
    * 
* - * - * repeated .google.cloud.contactcenterinsights.v1.PhraseMatchRuleGroup phrase_match_rule_groups = 8; - * + * repeated .google.cloud.contactcenterinsights.v1.PhraseMatchRuleGroup phrase_match_rule_groups = 8; */ @java.lang.Override public int getPhraseMatchRuleGroupsCount() { return phraseMatchRuleGroups_.size(); } /** - * - * *
    * A list of phase match rule groups that are included in this matcher.
    * 
* - * - * repeated .google.cloud.contactcenterinsights.v1.PhraseMatchRuleGroup phrase_match_rule_groups = 8; - * + * repeated .google.cloud.contactcenterinsights.v1.PhraseMatchRuleGroup phrase_match_rule_groups = 8; */ @java.lang.Override - public com.google.cloud.contactcenterinsights.v1.PhraseMatchRuleGroup getPhraseMatchRuleGroups( - int index) { + public com.google.cloud.contactcenterinsights.v1.PhraseMatchRuleGroup getPhraseMatchRuleGroups(int index) { return phraseMatchRuleGroups_.get(index); } /** - * - * *
    * A list of phase match rule groups that are included in this matcher.
    * 
* - * - * repeated .google.cloud.contactcenterinsights.v1.PhraseMatchRuleGroup phrase_match_rule_groups = 8; - * + * repeated .google.cloud.contactcenterinsights.v1.PhraseMatchRuleGroup phrase_match_rule_groups = 8; */ @java.lang.Override - public com.google.cloud.contactcenterinsights.v1.PhraseMatchRuleGroupOrBuilder - getPhraseMatchRuleGroupsOrBuilder(int index) { + public com.google.cloud.contactcenterinsights.v1.PhraseMatchRuleGroupOrBuilder getPhraseMatchRuleGroupsOrBuilder( + int index) { return phraseMatchRuleGroups_.get(index); } public static final int ACTIVATION_UPDATE_TIME_FIELD_NUMBER = 9; private com.google.protobuf.Timestamp activationUpdateTime_; /** - * - * *
-   * Output only. The most recent time at which the activation status was updated.
+   * Output only. The most recent time at which the activation status was
+   * updated.
    * 
* - * - * .google.protobuf.Timestamp activation_update_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp activation_update_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the activationUpdateTime field is set. */ @java.lang.Override @@ -680,98 +559,69 @@ public boolean hasActivationUpdateTime() { return activationUpdateTime_ != null; } /** - * - * *
-   * Output only. The most recent time at which the activation status was updated.
+   * Output only. The most recent time at which the activation status was
+   * updated.
    * 
* - * - * .google.protobuf.Timestamp activation_update_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp activation_update_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The activationUpdateTime. */ @java.lang.Override public com.google.protobuf.Timestamp getActivationUpdateTime() { - return activationUpdateTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : activationUpdateTime_; + return activationUpdateTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : activationUpdateTime_; } /** - * - * *
-   * Output only. The most recent time at which the activation status was updated.
+   * Output only. The most recent time at which the activation status was
+   * updated.
    * 
* - * - * .google.protobuf.Timestamp activation_update_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp activation_update_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ @java.lang.Override public com.google.protobuf.TimestampOrBuilder getActivationUpdateTimeOrBuilder() { - return activationUpdateTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : activationUpdateTime_; + return activationUpdateTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : activationUpdateTime_; } public static final int ROLE_MATCH_FIELD_NUMBER = 10; private int roleMatch_ = 0; /** - * - * *
    * The role whose utterances the phrase matcher should be matched
    * against. If the role is ROLE_UNSPECIFIED it will be matched against any
    * utterances in the transcript.
    * 
* - * .google.cloud.contactcenterinsights.v1.ConversationParticipant.Role role_match = 10; - * - * + * .google.cloud.contactcenterinsights.v1.ConversationParticipant.Role role_match = 10; * @return The enum numeric value on the wire for roleMatch. */ - @java.lang.Override - public int getRoleMatchValue() { + @java.lang.Override public int getRoleMatchValue() { return roleMatch_; } /** - * - * *
    * The role whose utterances the phrase matcher should be matched
    * against. If the role is ROLE_UNSPECIFIED it will be matched against any
    * utterances in the transcript.
    * 
* - * .google.cloud.contactcenterinsights.v1.ConversationParticipant.Role role_match = 10; - * - * + * .google.cloud.contactcenterinsights.v1.ConversationParticipant.Role role_match = 10; * @return The roleMatch. */ - @java.lang.Override - public com.google.cloud.contactcenterinsights.v1.ConversationParticipant.Role getRoleMatch() { - com.google.cloud.contactcenterinsights.v1.ConversationParticipant.Role result = - com.google.cloud.contactcenterinsights.v1.ConversationParticipant.Role.forNumber( - roleMatch_); - return result == null - ? com.google.cloud.contactcenterinsights.v1.ConversationParticipant.Role.UNRECOGNIZED - : result; + @java.lang.Override public com.google.cloud.contactcenterinsights.v1.ConversationParticipant.Role getRoleMatch() { + com.google.cloud.contactcenterinsights.v1.ConversationParticipant.Role result = com.google.cloud.contactcenterinsights.v1.ConversationParticipant.Role.forNumber(roleMatch_); + return result == null ? com.google.cloud.contactcenterinsights.v1.ConversationParticipant.Role.UNRECOGNIZED : result; } public static final int UPDATE_TIME_FIELD_NUMBER = 11; private com.google.protobuf.Timestamp updateTime_; /** - * - * *
    * Output only. The most recent time at which the phrase matcher was updated.
    * 
* - * .google.protobuf.Timestamp update_time = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp update_time = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the updateTime field is set. */ @java.lang.Override @@ -779,15 +629,11 @@ public boolean hasUpdateTime() { return updateTime_ != null; } /** - * - * *
    * Output only. The most recent time at which the phrase matcher was updated.
    * 
* - * .google.protobuf.Timestamp update_time = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp update_time = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The updateTime. */ @java.lang.Override @@ -795,14 +641,11 @@ public com.google.protobuf.Timestamp getUpdateTime() { return updateTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : updateTime_; } /** - * - * *
    * Output only. The most recent time at which the phrase matcher was updated.
    * 
* - * .google.protobuf.Timestamp update_time = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp update_time = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ @java.lang.Override public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { @@ -810,7 +653,6 @@ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -822,7 +664,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -838,10 +681,7 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(displayName_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 5, displayName_); } - if (type_ - != com.google.cloud.contactcenterinsights.v1.PhraseMatcher.PhraseMatcherType - .PHRASE_MATCHER_TYPE_UNSPECIFIED - .getNumber()) { + if (type_ != com.google.cloud.contactcenterinsights.v1.PhraseMatcher.PhraseMatcherType.PHRASE_MATCHER_TYPE_UNSPECIFIED.getNumber()) { output.writeEnum(6, type_); } if (active_ != false) { @@ -853,9 +693,7 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io if (activationUpdateTime_ != null) { output.writeMessage(9, getActivationUpdateTime()); } - if (roleMatch_ - != com.google.cloud.contactcenterinsights.v1.ConversationParticipant.Role.ROLE_UNSPECIFIED - .getNumber()) { + if (roleMatch_ != com.google.cloud.contactcenterinsights.v1.ConversationParticipant.Role.ROLE_UNSPECIFIED.getNumber()) { output.writeEnum(10, roleMatch_); } if (updateTime_ != null) { @@ -880,36 +718,35 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, versionTag_); } if (revisionCreateTime_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(4, getRevisionCreateTime()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(4, getRevisionCreateTime()); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(displayName_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(5, displayName_); } - if (type_ - != com.google.cloud.contactcenterinsights.v1.PhraseMatcher.PhraseMatcherType - .PHRASE_MATCHER_TYPE_UNSPECIFIED - .getNumber()) { - size += com.google.protobuf.CodedOutputStream.computeEnumSize(6, type_); + if (type_ != com.google.cloud.contactcenterinsights.v1.PhraseMatcher.PhraseMatcherType.PHRASE_MATCHER_TYPE_UNSPECIFIED.getNumber()) { + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(6, type_); } if (active_ != false) { - size += com.google.protobuf.CodedOutputStream.computeBoolSize(7, active_); + size += com.google.protobuf.CodedOutputStream + .computeBoolSize(7, active_); } for (int i = 0; i < phraseMatchRuleGroups_.size(); i++) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize( - 8, phraseMatchRuleGroups_.get(i)); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(8, phraseMatchRuleGroups_.get(i)); } if (activationUpdateTime_ != null) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize(9, getActivationUpdateTime()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(9, getActivationUpdateTime()); } - if (roleMatch_ - != com.google.cloud.contactcenterinsights.v1.ConversationParticipant.Role.ROLE_UNSPECIFIED - .getNumber()) { - size += com.google.protobuf.CodedOutputStream.computeEnumSize(10, roleMatch_); + if (roleMatch_ != com.google.cloud.contactcenterinsights.v1.ConversationParticipant.Role.ROLE_UNSPECIFIED.getNumber()) { + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(10, roleMatch_); } if (updateTime_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(11, getUpdateTime()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(11, getUpdateTime()); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -919,33 +756,41 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.contactcenterinsights.v1.PhraseMatcher)) { return super.equals(obj); } - com.google.cloud.contactcenterinsights.v1.PhraseMatcher other = - (com.google.cloud.contactcenterinsights.v1.PhraseMatcher) obj; + com.google.cloud.contactcenterinsights.v1.PhraseMatcher other = (com.google.cloud.contactcenterinsights.v1.PhraseMatcher) obj; - if (!getName().equals(other.getName())) return false; - if (!getRevisionId().equals(other.getRevisionId())) return false; - if (!getVersionTag().equals(other.getVersionTag())) return false; + if (!getName() + .equals(other.getName())) return false; + if (!getRevisionId() + .equals(other.getRevisionId())) return false; + if (!getVersionTag() + .equals(other.getVersionTag())) return false; if (hasRevisionCreateTime() != other.hasRevisionCreateTime()) return false; if (hasRevisionCreateTime()) { - if (!getRevisionCreateTime().equals(other.getRevisionCreateTime())) return false; + if (!getRevisionCreateTime() + .equals(other.getRevisionCreateTime())) return false; } - if (!getDisplayName().equals(other.getDisplayName())) return false; + if (!getDisplayName() + .equals(other.getDisplayName())) return false; if (type_ != other.type_) return false; - if (getActive() != other.getActive()) return false; - if (!getPhraseMatchRuleGroupsList().equals(other.getPhraseMatchRuleGroupsList())) return false; + if (getActive() + != other.getActive()) return false; + if (!getPhraseMatchRuleGroupsList() + .equals(other.getPhraseMatchRuleGroupsList())) return false; if (hasActivationUpdateTime() != other.hasActivationUpdateTime()) return false; if (hasActivationUpdateTime()) { - if (!getActivationUpdateTime().equals(other.getActivationUpdateTime())) return false; + if (!getActivationUpdateTime() + .equals(other.getActivationUpdateTime())) return false; } if (roleMatch_ != other.roleMatch_) return false; if (hasUpdateTime() != other.hasUpdateTime()) return false; if (hasUpdateTime()) { - if (!getUpdateTime().equals(other.getUpdateTime())) return false; + if (!getUpdateTime() + .equals(other.getUpdateTime())) return false; } if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -973,7 +818,8 @@ public int hashCode() { hash = (37 * hash) + TYPE_FIELD_NUMBER; hash = (53 * hash) + type_; hash = (37 * hash) + ACTIVE_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getActive()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( + getActive()); if (getPhraseMatchRuleGroupsCount() > 0) { hash = (37 * hash) + PHRASE_MATCH_RULE_GROUPS_FIELD_NUMBER; hash = (53 * hash) + getPhraseMatchRuleGroupsList().hashCode(); @@ -994,136 +840,129 @@ public int hashCode() { } public static com.google.cloud.contactcenterinsights.v1.PhraseMatcher parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.contactcenterinsights.v1.PhraseMatcher parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.contactcenterinsights.v1.PhraseMatcher parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.contactcenterinsights.v1.PhraseMatcher parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.contactcenterinsights.v1.PhraseMatcher parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.contactcenterinsights.v1.PhraseMatcher parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.contactcenterinsights.v1.PhraseMatcher parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.contactcenterinsights.v1.PhraseMatcher parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.contactcenterinsights.v1.PhraseMatcher parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.contactcenterinsights.v1.PhraseMatcher parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.contactcenterinsights.v1.PhraseMatcher parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.contactcenterinsights.v1.PhraseMatcher parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.contactcenterinsights.v1.PhraseMatcher parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.contactcenterinsights.v1.PhraseMatcher parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.contactcenterinsights.v1.PhraseMatcher prototype) { + public static Builder newBuilder(com.google.cloud.contactcenterinsights.v1.PhraseMatcher prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * The phrase matcher resource.
    * 
* * Protobuf type {@code google.cloud.contactcenterinsights.v1.PhraseMatcher} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.contactcenterinsights.v1.PhraseMatcher) com.google.cloud.contactcenterinsights.v1.PhraseMatcherOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.contactcenterinsights.v1.ResourcesProto - .internal_static_google_cloud_contactcenterinsights_v1_PhraseMatcher_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.contactcenterinsights.v1.ResourcesProto.internal_static_google_cloud_contactcenterinsights_v1_PhraseMatcher_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.contactcenterinsights.v1.ResourcesProto - .internal_static_google_cloud_contactcenterinsights_v1_PhraseMatcher_fieldAccessorTable + return com.google.cloud.contactcenterinsights.v1.ResourcesProto.internal_static_google_cloud_contactcenterinsights_v1_PhraseMatcher_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.contactcenterinsights.v1.PhraseMatcher.class, - com.google.cloud.contactcenterinsights.v1.PhraseMatcher.Builder.class); + com.google.cloud.contactcenterinsights.v1.PhraseMatcher.class, com.google.cloud.contactcenterinsights.v1.PhraseMatcher.Builder.class); } // Construct using com.google.cloud.contactcenterinsights.v1.PhraseMatcher.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -1161,9 +1000,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.contactcenterinsights.v1.ResourcesProto - .internal_static_google_cloud_contactcenterinsights_v1_PhraseMatcher_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.contactcenterinsights.v1.ResourcesProto.internal_static_google_cloud_contactcenterinsights_v1_PhraseMatcher_descriptor; } @java.lang.Override @@ -1182,18 +1021,14 @@ public com.google.cloud.contactcenterinsights.v1.PhraseMatcher build() { @java.lang.Override public com.google.cloud.contactcenterinsights.v1.PhraseMatcher buildPartial() { - com.google.cloud.contactcenterinsights.v1.PhraseMatcher result = - new com.google.cloud.contactcenterinsights.v1.PhraseMatcher(this); + com.google.cloud.contactcenterinsights.v1.PhraseMatcher result = new com.google.cloud.contactcenterinsights.v1.PhraseMatcher(this); buildPartialRepeatedFields(result); - if (bitField0_ != 0) { - buildPartial0(result); - } + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } - private void buildPartialRepeatedFields( - com.google.cloud.contactcenterinsights.v1.PhraseMatcher result) { + private void buildPartialRepeatedFields(com.google.cloud.contactcenterinsights.v1.PhraseMatcher result) { if (phraseMatchRuleGroupsBuilder_ == null) { if (((bitField0_ & 0x00000080) != 0)) { phraseMatchRuleGroups_ = java.util.Collections.unmodifiableList(phraseMatchRuleGroups_); @@ -1217,10 +1052,9 @@ private void buildPartial0(com.google.cloud.contactcenterinsights.v1.PhraseMatch result.versionTag_ = versionTag_; } if (((from_bitField0_ & 0x00000008) != 0)) { - result.revisionCreateTime_ = - revisionCreateTimeBuilder_ == null - ? revisionCreateTime_ - : revisionCreateTimeBuilder_.build(); + result.revisionCreateTime_ = revisionCreateTimeBuilder_ == null + ? revisionCreateTime_ + : revisionCreateTimeBuilder_.build(); } if (((from_bitField0_ & 0x00000010) != 0)) { result.displayName_ = displayName_; @@ -1232,16 +1066,17 @@ private void buildPartial0(com.google.cloud.contactcenterinsights.v1.PhraseMatch result.active_ = active_; } if (((from_bitField0_ & 0x00000100) != 0)) { - result.activationUpdateTime_ = - activationUpdateTimeBuilder_ == null - ? activationUpdateTime_ - : activationUpdateTimeBuilder_.build(); + result.activationUpdateTime_ = activationUpdateTimeBuilder_ == null + ? activationUpdateTime_ + : activationUpdateTimeBuilder_.build(); } if (((from_bitField0_ & 0x00000200) != 0)) { result.roleMatch_ = roleMatch_; } if (((from_bitField0_ & 0x00000400) != 0)) { - result.updateTime_ = updateTimeBuilder_ == null ? updateTime_ : updateTimeBuilder_.build(); + result.updateTime_ = updateTimeBuilder_ == null + ? updateTime_ + : updateTimeBuilder_.build(); } } @@ -1249,39 +1084,38 @@ private void buildPartial0(com.google.cloud.contactcenterinsights.v1.PhraseMatch public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.contactcenterinsights.v1.PhraseMatcher) { - return mergeFrom((com.google.cloud.contactcenterinsights.v1.PhraseMatcher) other); + return mergeFrom((com.google.cloud.contactcenterinsights.v1.PhraseMatcher)other); } else { super.mergeFrom(other); return this; @@ -1289,8 +1123,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.contactcenterinsights.v1.PhraseMatcher other) { - if (other == com.google.cloud.contactcenterinsights.v1.PhraseMatcher.getDefaultInstance()) - return this; + if (other == com.google.cloud.contactcenterinsights.v1.PhraseMatcher.getDefaultInstance()) return this; if (!other.getName().isEmpty()) { name_ = other.name_; bitField0_ |= 0x00000001; @@ -1338,10 +1171,9 @@ public Builder mergeFrom(com.google.cloud.contactcenterinsights.v1.PhraseMatcher phraseMatchRuleGroupsBuilder_ = null; phraseMatchRuleGroups_ = other.phraseMatchRuleGroups_; bitField0_ = (bitField0_ & ~0x00000080); - phraseMatchRuleGroupsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders - ? getPhraseMatchRuleGroupsFieldBuilder() - : null; + phraseMatchRuleGroupsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getPhraseMatchRuleGroupsFieldBuilder() : null; } else { phraseMatchRuleGroupsBuilder_.addAllMessages(other.phraseMatchRuleGroups_); } @@ -1382,89 +1214,81 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - name_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: - { - revisionId_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000002; - break; - } // case 18 - case 26: - { - versionTag_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000004; - break; - } // case 26 - case 34: - { - input.readMessage( - getRevisionCreateTimeFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00000008; - break; - } // case 34 - case 42: - { - displayName_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000010; - break; - } // case 42 - case 48: - { - type_ = input.readEnum(); - bitField0_ |= 0x00000020; - break; - } // case 48 - case 56: - { - active_ = input.readBool(); - bitField0_ |= 0x00000040; - break; - } // case 56 - case 66: - { - com.google.cloud.contactcenterinsights.v1.PhraseMatchRuleGroup m = - input.readMessage( - com.google.cloud.contactcenterinsights.v1.PhraseMatchRuleGroup.parser(), - extensionRegistry); - if (phraseMatchRuleGroupsBuilder_ == null) { - ensurePhraseMatchRuleGroupsIsMutable(); - phraseMatchRuleGroups_.add(m); - } else { - phraseMatchRuleGroupsBuilder_.addMessage(m); - } - break; - } // case 66 - case 74: - { - input.readMessage( - getActivationUpdateTimeFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00000100; - break; - } // case 74 - case 80: - { - roleMatch_ = input.readEnum(); - bitField0_ |= 0x00000200; - break; - } // case 80 - case 90: - { - input.readMessage(getUpdateTimeFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00000400; - break; - } // case 90 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + name_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: { + revisionId_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + break; + } // case 18 + case 26: { + versionTag_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000004; + break; + } // case 26 + case 34: { + input.readMessage( + getRevisionCreateTimeFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00000008; + break; + } // case 34 + case 42: { + displayName_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000010; + break; + } // case 42 + case 48: { + type_ = input.readEnum(); + bitField0_ |= 0x00000020; + break; + } // case 48 + case 56: { + active_ = input.readBool(); + bitField0_ |= 0x00000040; + break; + } // case 56 + case 66: { + com.google.cloud.contactcenterinsights.v1.PhraseMatchRuleGroup m = + input.readMessage( + com.google.cloud.contactcenterinsights.v1.PhraseMatchRuleGroup.parser(), + extensionRegistry); + if (phraseMatchRuleGroupsBuilder_ == null) { + ensurePhraseMatchRuleGroupsIsMutable(); + phraseMatchRuleGroups_.add(m); + } else { + phraseMatchRuleGroupsBuilder_.addMessage(m); + } + break; + } // case 66 + case 74: { + input.readMessage( + getActivationUpdateTimeFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00000100; + break; + } // case 74 + case 80: { + roleMatch_ = input.readEnum(); + bitField0_ |= 0x00000200; + break; + } // case 80 + case 90: { + input.readMessage( + getUpdateTimeFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00000400; + break; + } // case 90 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -1474,13 +1298,10 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private java.lang.Object name_ = ""; /** - * - * *
      * The resource name of the phrase matcher.
      * Format:
@@ -1488,13 +1309,13 @@ public Builder mergeFrom(
      * 
* * string name = 1; - * * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -1503,8 +1324,6 @@ public java.lang.String getName() { } } /** - * - * *
      * The resource name of the phrase matcher.
      * Format:
@@ -1512,14 +1331,15 @@ public java.lang.String getName() {
      * 
* * string name = 1; - * * @return The bytes for name. */ - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -1527,8 +1347,6 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * The resource name of the phrase matcher.
      * Format:
@@ -1536,22 +1354,18 @@ public com.google.protobuf.ByteString getNameBytes() {
      * 
* * string name = 1; - * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setName( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } name_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
      * The resource name of the phrase matcher.
      * Format:
@@ -1559,7 +1373,6 @@ public Builder setName(java.lang.String value) {
      * 
* * string name = 1; - * * @return This builder for chaining. */ public Builder clearName() { @@ -1569,8 +1382,6 @@ public Builder clearName() { return this; } /** - * - * *
      * The resource name of the phrase matcher.
      * Format:
@@ -1578,14 +1389,12 @@ public Builder clearName() {
      * 
* * string name = 1; - * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setNameBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); name_ = value; bitField0_ |= 0x00000001; @@ -1595,8 +1404,6 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) { private java.lang.Object revisionId_ = ""; /** - * - * *
      * Output only. Immutable. The revision ID of the phrase matcher.
      * A new revision is committed whenever the matcher is changed, except when it
@@ -1604,16 +1411,14 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) {
      * Example: locations/global/phraseMatchers/my-first-matcher@1234567
      * 
* - * - * string revision_id = 2 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * string revision_id = 2 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.field_behavior) = OUTPUT_ONLY]; * @return The revisionId. */ public java.lang.String getRevisionId() { java.lang.Object ref = revisionId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); revisionId_ = s; return s; @@ -1622,8 +1427,6 @@ public java.lang.String getRevisionId() { } } /** - * - * *
      * Output only. Immutable. The revision ID of the phrase matcher.
      * A new revision is committed whenever the matcher is changed, except when it
@@ -1631,17 +1434,16 @@ public java.lang.String getRevisionId() {
      * Example: locations/global/phraseMatchers/my-first-matcher@1234567
      * 
* - * - * string revision_id = 2 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * string revision_id = 2 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.field_behavior) = OUTPUT_ONLY]; * @return The bytes for revisionId. */ - public com.google.protobuf.ByteString getRevisionIdBytes() { + public com.google.protobuf.ByteString + getRevisionIdBytes() { java.lang.Object ref = revisionId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); revisionId_ = b; return b; } else { @@ -1649,8 +1451,6 @@ public com.google.protobuf.ByteString getRevisionIdBytes() { } } /** - * - * *
      * Output only. Immutable. The revision ID of the phrase matcher.
      * A new revision is committed whenever the matcher is changed, except when it
@@ -1658,25 +1458,19 @@ public com.google.protobuf.ByteString getRevisionIdBytes() {
      * Example: locations/global/phraseMatchers/my-first-matcher@1234567
      * 
* - * - * string revision_id = 2 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * string revision_id = 2 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.field_behavior) = OUTPUT_ONLY]; * @param value The revisionId to set. * @return This builder for chaining. */ - public Builder setRevisionId(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setRevisionId( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } revisionId_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** - * - * *
      * Output only. Immutable. The revision ID of the phrase matcher.
      * A new revision is committed whenever the matcher is changed, except when it
@@ -1684,10 +1478,7 @@ public Builder setRevisionId(java.lang.String value) {
      * Example: locations/global/phraseMatchers/my-first-matcher@1234567
      * 
* - * - * string revision_id = 2 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * string revision_id = 2 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.field_behavior) = OUTPUT_ONLY]; * @return This builder for chaining. */ public Builder clearRevisionId() { @@ -1697,8 +1488,6 @@ public Builder clearRevisionId() { return this; } /** - * - * *
      * Output only. Immutable. The revision ID of the phrase matcher.
      * A new revision is committed whenever the matcher is changed, except when it
@@ -1706,17 +1495,13 @@ public Builder clearRevisionId() {
      * Example: locations/global/phraseMatchers/my-first-matcher@1234567
      * 
* - * - * string revision_id = 2 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * string revision_id = 2 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.field_behavior) = OUTPUT_ONLY]; * @param value The bytes for revisionId to set. * @return This builder for chaining. */ - public Builder setRevisionIdBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setRevisionIdBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); revisionId_ = value; bitField0_ |= 0x00000002; @@ -1726,21 +1511,19 @@ public Builder setRevisionIdBytes(com.google.protobuf.ByteString value) { private java.lang.Object versionTag_ = ""; /** - * - * *
      * The customized version tag to use for the phrase matcher. If not specified,
      * it will default to `revision_id`.
      * 
* * string version_tag = 3; - * * @return The versionTag. */ public java.lang.String getVersionTag() { java.lang.Object ref = versionTag_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); versionTag_ = s; return s; @@ -1749,22 +1532,21 @@ public java.lang.String getVersionTag() { } } /** - * - * *
      * The customized version tag to use for the phrase matcher. If not specified,
      * it will default to `revision_id`.
      * 
* * string version_tag = 3; - * * @return The bytes for versionTag. */ - public com.google.protobuf.ByteString getVersionTagBytes() { + public com.google.protobuf.ByteString + getVersionTagBytes() { java.lang.Object ref = versionTag_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); versionTag_ = b; return b; } else { @@ -1772,37 +1554,30 @@ public com.google.protobuf.ByteString getVersionTagBytes() { } } /** - * - * *
      * The customized version tag to use for the phrase matcher. If not specified,
      * it will default to `revision_id`.
      * 
* * string version_tag = 3; - * * @param value The versionTag to set. * @return This builder for chaining. */ - public Builder setVersionTag(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setVersionTag( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } versionTag_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } /** - * - * *
      * The customized version tag to use for the phrase matcher. If not specified,
      * it will default to `revision_id`.
      * 
* * string version_tag = 3; - * * @return This builder for chaining. */ public Builder clearVersionTag() { @@ -1812,22 +1587,18 @@ public Builder clearVersionTag() { return this; } /** - * - * *
      * The customized version tag to use for the phrase matcher. If not specified,
      * it will default to `revision_id`.
      * 
* * string version_tag = 3; - * * @param value The bytes for versionTag to set. * @return This builder for chaining. */ - public Builder setVersionTagBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setVersionTagBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); versionTag_ = value; bitField0_ |= 0x00000004; @@ -1837,61 +1608,42 @@ public Builder setVersionTagBytes(com.google.protobuf.ByteString value) { private com.google.protobuf.Timestamp revisionCreateTime_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> - revisionCreateTimeBuilder_; + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> revisionCreateTimeBuilder_; /** - * - * *
-     * Output only. The timestamp of when the revision was created. It is also the create time
-     * when a new matcher is added.
+     * Output only. The timestamp of when the revision was created. It is also the
+     * create time when a new matcher is added.
      * 
* - * - * .google.protobuf.Timestamp revision_create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp revision_create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the revisionCreateTime field is set. */ public boolean hasRevisionCreateTime() { return ((bitField0_ & 0x00000008) != 0); } /** - * - * *
-     * Output only. The timestamp of when the revision was created. It is also the create time
-     * when a new matcher is added.
+     * Output only. The timestamp of when the revision was created. It is also the
+     * create time when a new matcher is added.
      * 
* - * - * .google.protobuf.Timestamp revision_create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp revision_create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The revisionCreateTime. */ public com.google.protobuf.Timestamp getRevisionCreateTime() { if (revisionCreateTimeBuilder_ == null) { - return revisionCreateTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : revisionCreateTime_; + return revisionCreateTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : revisionCreateTime_; } else { return revisionCreateTimeBuilder_.getMessage(); } } /** - * - * *
-     * Output only. The timestamp of when the revision was created. It is also the create time
-     * when a new matcher is added.
+     * Output only. The timestamp of when the revision was created. It is also the
+     * create time when a new matcher is added.
      * 
* - * - * .google.protobuf.Timestamp revision_create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp revision_create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder setRevisionCreateTime(com.google.protobuf.Timestamp value) { if (revisionCreateTimeBuilder_ == null) { @@ -1907,18 +1659,15 @@ public Builder setRevisionCreateTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
-     * Output only. The timestamp of when the revision was created. It is also the create time
-     * when a new matcher is added.
+     * Output only. The timestamp of when the revision was created. It is also the
+     * create time when a new matcher is added.
      * 
* - * - * .google.protobuf.Timestamp revision_create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp revision_create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - public Builder setRevisionCreateTime(com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setRevisionCreateTime( + com.google.protobuf.Timestamp.Builder builderForValue) { if (revisionCreateTimeBuilder_ == null) { revisionCreateTime_ = builderForValue.build(); } else { @@ -1929,22 +1678,18 @@ public Builder setRevisionCreateTime(com.google.protobuf.Timestamp.Builder build return this; } /** - * - * *
-     * Output only. The timestamp of when the revision was created. It is also the create time
-     * when a new matcher is added.
+     * Output only. The timestamp of when the revision was created. It is also the
+     * create time when a new matcher is added.
      * 
* - * - * .google.protobuf.Timestamp revision_create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp revision_create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder mergeRevisionCreateTime(com.google.protobuf.Timestamp value) { if (revisionCreateTimeBuilder_ == null) { - if (((bitField0_ & 0x00000008) != 0) - && revisionCreateTime_ != null - && revisionCreateTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { + if (((bitField0_ & 0x00000008) != 0) && + revisionCreateTime_ != null && + revisionCreateTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { getRevisionCreateTimeBuilder().mergeFrom(value); } else { revisionCreateTime_ = value; @@ -1957,16 +1702,12 @@ public Builder mergeRevisionCreateTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
-     * Output only. The timestamp of when the revision was created. It is also the create time
-     * when a new matcher is added.
+     * Output only. The timestamp of when the revision was created. It is also the
+     * create time when a new matcher is added.
      * 
* - * - * .google.protobuf.Timestamp revision_create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp revision_create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder clearRevisionCreateTime() { bitField0_ = (bitField0_ & ~0x00000008); @@ -1979,16 +1720,12 @@ public Builder clearRevisionCreateTime() { return this; } /** - * - * *
-     * Output only. The timestamp of when the revision was created. It is also the create time
-     * when a new matcher is added.
+     * Output only. The timestamp of when the revision was created. It is also the
+     * create time when a new matcher is added.
      * 
* - * - * .google.protobuf.Timestamp revision_create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp revision_create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public com.google.protobuf.Timestamp.Builder getRevisionCreateTimeBuilder() { bitField0_ |= 0x00000008; @@ -1996,50 +1733,38 @@ public com.google.protobuf.Timestamp.Builder getRevisionCreateTimeBuilder() { return getRevisionCreateTimeFieldBuilder().getBuilder(); } /** - * - * *
-     * Output only. The timestamp of when the revision was created. It is also the create time
-     * when a new matcher is added.
+     * Output only. The timestamp of when the revision was created. It is also the
+     * create time when a new matcher is added.
      * 
* - * - * .google.protobuf.Timestamp revision_create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp revision_create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public com.google.protobuf.TimestampOrBuilder getRevisionCreateTimeOrBuilder() { if (revisionCreateTimeBuilder_ != null) { return revisionCreateTimeBuilder_.getMessageOrBuilder(); } else { - return revisionCreateTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : revisionCreateTime_; + return revisionCreateTime_ == null ? + com.google.protobuf.Timestamp.getDefaultInstance() : revisionCreateTime_; } } /** - * - * *
-     * Output only. The timestamp of when the revision was created. It is also the create time
-     * when a new matcher is added.
+     * Output only. The timestamp of when the revision was created. It is also the
+     * create time when a new matcher is added.
      * 
* - * - * .google.protobuf.Timestamp revision_create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp revision_create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> getRevisionCreateTimeFieldBuilder() { if (revisionCreateTimeBuilder_ == null) { - revisionCreateTimeBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder>( - getRevisionCreateTime(), getParentForChildren(), isClean()); + revisionCreateTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( + getRevisionCreateTime(), + getParentForChildren(), + isClean()); revisionCreateTime_ = null; } return revisionCreateTimeBuilder_; @@ -2047,20 +1772,18 @@ public com.google.protobuf.TimestampOrBuilder getRevisionCreateTimeOrBuilder() { private java.lang.Object displayName_ = ""; /** - * - * *
      * The human-readable name of the phrase matcher.
      * 
* * string display_name = 5; - * * @return The displayName. */ public java.lang.String getDisplayName() { java.lang.Object ref = displayName_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); displayName_ = s; return s; @@ -2069,21 +1792,20 @@ public java.lang.String getDisplayName() { } } /** - * - * *
      * The human-readable name of the phrase matcher.
      * 
* * string display_name = 5; - * * @return The bytes for displayName. */ - public com.google.protobuf.ByteString getDisplayNameBytes() { + public com.google.protobuf.ByteString + getDisplayNameBytes() { java.lang.Object ref = displayName_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); displayName_ = b; return b; } else { @@ -2091,35 +1813,28 @@ public com.google.protobuf.ByteString getDisplayNameBytes() { } } /** - * - * *
      * The human-readable name of the phrase matcher.
      * 
* * string display_name = 5; - * * @param value The displayName to set. * @return This builder for chaining. */ - public Builder setDisplayName(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setDisplayName( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } displayName_ = value; bitField0_ |= 0x00000010; onChanged(); return this; } /** - * - * *
      * The human-readable name of the phrase matcher.
      * 
* * string display_name = 5; - * * @return This builder for chaining. */ public Builder clearDisplayName() { @@ -2129,21 +1844,17 @@ public Builder clearDisplayName() { return this; } /** - * - * *
      * The human-readable name of the phrase matcher.
      * 
* * string display_name = 5; - * * @param value The bytes for displayName to set. * @return This builder for chaining. */ - public Builder setDisplayNameBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setDisplayNameBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); displayName_ = value; bitField0_ |= 0x00000010; @@ -2153,33 +1864,22 @@ public Builder setDisplayNameBytes(com.google.protobuf.ByteString value) { private int type_ = 0; /** - * - * *
      * Required. The type of this phrase matcher.
      * 
* - * - * .google.cloud.contactcenterinsights.v1.PhraseMatcher.PhraseMatcherType type = 6 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.contactcenterinsights.v1.PhraseMatcher.PhraseMatcherType type = 6 [(.google.api.field_behavior) = REQUIRED]; * @return The enum numeric value on the wire for type. */ - @java.lang.Override - public int getTypeValue() { + @java.lang.Override public int getTypeValue() { return type_; } /** - * - * *
      * Required. The type of this phrase matcher.
      * 
* - * - * .google.cloud.contactcenterinsights.v1.PhraseMatcher.PhraseMatcherType type = 6 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.contactcenterinsights.v1.PhraseMatcher.PhraseMatcherType type = 6 [(.google.api.field_behavior) = REQUIRED]; * @param value The enum numeric value on the wire for type to set. * @return This builder for chaining. */ @@ -2190,43 +1890,28 @@ public Builder setTypeValue(int value) { return this; } /** - * - * *
      * Required. The type of this phrase matcher.
      * 
* - * - * .google.cloud.contactcenterinsights.v1.PhraseMatcher.PhraseMatcherType type = 6 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.contactcenterinsights.v1.PhraseMatcher.PhraseMatcherType type = 6 [(.google.api.field_behavior) = REQUIRED]; * @return The type. */ @java.lang.Override public com.google.cloud.contactcenterinsights.v1.PhraseMatcher.PhraseMatcherType getType() { - com.google.cloud.contactcenterinsights.v1.PhraseMatcher.PhraseMatcherType result = - com.google.cloud.contactcenterinsights.v1.PhraseMatcher.PhraseMatcherType.forNumber( - type_); - return result == null - ? com.google.cloud.contactcenterinsights.v1.PhraseMatcher.PhraseMatcherType.UNRECOGNIZED - : result; + com.google.cloud.contactcenterinsights.v1.PhraseMatcher.PhraseMatcherType result = com.google.cloud.contactcenterinsights.v1.PhraseMatcher.PhraseMatcherType.forNumber(type_); + return result == null ? com.google.cloud.contactcenterinsights.v1.PhraseMatcher.PhraseMatcherType.UNRECOGNIZED : result; } /** - * - * *
      * Required. The type of this phrase matcher.
      * 
* - * - * .google.cloud.contactcenterinsights.v1.PhraseMatcher.PhraseMatcherType type = 6 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.contactcenterinsights.v1.PhraseMatcher.PhraseMatcherType type = 6 [(.google.api.field_behavior) = REQUIRED]; * @param value The type to set. * @return This builder for chaining. */ - public Builder setType( - com.google.cloud.contactcenterinsights.v1.PhraseMatcher.PhraseMatcherType value) { + public Builder setType(com.google.cloud.contactcenterinsights.v1.PhraseMatcher.PhraseMatcherType value) { if (value == null) { throw new NullPointerException(); } @@ -2236,16 +1921,11 @@ public Builder setType( return this; } /** - * - * *
      * Required. The type of this phrase matcher.
      * 
* - * - * .google.cloud.contactcenterinsights.v1.PhraseMatcher.PhraseMatcherType type = 6 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.contactcenterinsights.v1.PhraseMatcher.PhraseMatcherType type = 6 [(.google.api.field_behavior) = REQUIRED]; * @return This builder for chaining. */ public Builder clearType() { @@ -2255,16 +1935,13 @@ public Builder clearType() { return this; } - private boolean active_; + private boolean active_ ; /** - * - * *
      * Applies the phrase matcher only when it is active.
      * 
* * bool active = 7; - * * @return The active. */ @java.lang.Override @@ -2272,33 +1949,27 @@ public boolean getActive() { return active_; } /** - * - * *
      * Applies the phrase matcher only when it is active.
      * 
* * bool active = 7; - * * @param value The active to set. * @return This builder for chaining. */ public Builder setActive(boolean value) { - + active_ = value; bitField0_ |= 0x00000040; onChanged(); return this; } /** - * - * *
      * Applies the phrase matcher only when it is active.
      * 
* * bool active = 7; - * * @return This builder for chaining. */ public Builder clearActive() { @@ -2308,37 +1979,26 @@ public Builder clearActive() { return this; } - private java.util.List - phraseMatchRuleGroups_ = java.util.Collections.emptyList(); - + private java.util.List phraseMatchRuleGroups_ = + java.util.Collections.emptyList(); private void ensurePhraseMatchRuleGroupsIsMutable() { if (!((bitField0_ & 0x00000080) != 0)) { - phraseMatchRuleGroups_ = - new java.util.ArrayList( - phraseMatchRuleGroups_); + phraseMatchRuleGroups_ = new java.util.ArrayList(phraseMatchRuleGroups_); bitField0_ |= 0x00000080; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.contactcenterinsights.v1.PhraseMatchRuleGroup, - com.google.cloud.contactcenterinsights.v1.PhraseMatchRuleGroup.Builder, - com.google.cloud.contactcenterinsights.v1.PhraseMatchRuleGroupOrBuilder> - phraseMatchRuleGroupsBuilder_; + com.google.cloud.contactcenterinsights.v1.PhraseMatchRuleGroup, com.google.cloud.contactcenterinsights.v1.PhraseMatchRuleGroup.Builder, com.google.cloud.contactcenterinsights.v1.PhraseMatchRuleGroupOrBuilder> phraseMatchRuleGroupsBuilder_; /** - * - * *
      * A list of phase match rule groups that are included in this matcher.
      * 
* - * - * repeated .google.cloud.contactcenterinsights.v1.PhraseMatchRuleGroup phrase_match_rule_groups = 8; - * + * repeated .google.cloud.contactcenterinsights.v1.PhraseMatchRuleGroup phrase_match_rule_groups = 8; */ - public java.util.List - getPhraseMatchRuleGroupsList() { + public java.util.List getPhraseMatchRuleGroupsList() { if (phraseMatchRuleGroupsBuilder_ == null) { return java.util.Collections.unmodifiableList(phraseMatchRuleGroups_); } else { @@ -2346,15 +2006,11 @@ private void ensurePhraseMatchRuleGroupsIsMutable() { } } /** - * - * *
      * A list of phase match rule groups that are included in this matcher.
      * 
* - * - * repeated .google.cloud.contactcenterinsights.v1.PhraseMatchRuleGroup phrase_match_rule_groups = 8; - * + * repeated .google.cloud.contactcenterinsights.v1.PhraseMatchRuleGroup phrase_match_rule_groups = 8; */ public int getPhraseMatchRuleGroupsCount() { if (phraseMatchRuleGroupsBuilder_ == null) { @@ -2364,18 +2020,13 @@ public int getPhraseMatchRuleGroupsCount() { } } /** - * - * *
      * A list of phase match rule groups that are included in this matcher.
      * 
* - * - * repeated .google.cloud.contactcenterinsights.v1.PhraseMatchRuleGroup phrase_match_rule_groups = 8; - * + * repeated .google.cloud.contactcenterinsights.v1.PhraseMatchRuleGroup phrase_match_rule_groups = 8; */ - public com.google.cloud.contactcenterinsights.v1.PhraseMatchRuleGroup getPhraseMatchRuleGroups( - int index) { + public com.google.cloud.contactcenterinsights.v1.PhraseMatchRuleGroup getPhraseMatchRuleGroups(int index) { if (phraseMatchRuleGroupsBuilder_ == null) { return phraseMatchRuleGroups_.get(index); } else { @@ -2383,15 +2034,11 @@ public com.google.cloud.contactcenterinsights.v1.PhraseMatchRuleGroup getPhraseM } } /** - * - * *
      * A list of phase match rule groups that are included in this matcher.
      * 
* - * - * repeated .google.cloud.contactcenterinsights.v1.PhraseMatchRuleGroup phrase_match_rule_groups = 8; - * + * repeated .google.cloud.contactcenterinsights.v1.PhraseMatchRuleGroup phrase_match_rule_groups = 8; */ public Builder setPhraseMatchRuleGroups( int index, com.google.cloud.contactcenterinsights.v1.PhraseMatchRuleGroup value) { @@ -2408,19 +2055,14 @@ public Builder setPhraseMatchRuleGroups( return this; } /** - * - * *
      * A list of phase match rule groups that are included in this matcher.
      * 
* - * - * repeated .google.cloud.contactcenterinsights.v1.PhraseMatchRuleGroup phrase_match_rule_groups = 8; - * + * repeated .google.cloud.contactcenterinsights.v1.PhraseMatchRuleGroup phrase_match_rule_groups = 8; */ public Builder setPhraseMatchRuleGroups( - int index, - com.google.cloud.contactcenterinsights.v1.PhraseMatchRuleGroup.Builder builderForValue) { + int index, com.google.cloud.contactcenterinsights.v1.PhraseMatchRuleGroup.Builder builderForValue) { if (phraseMatchRuleGroupsBuilder_ == null) { ensurePhraseMatchRuleGroupsIsMutable(); phraseMatchRuleGroups_.set(index, builderForValue.build()); @@ -2431,18 +2073,13 @@ public Builder setPhraseMatchRuleGroups( return this; } /** - * - * *
      * A list of phase match rule groups that are included in this matcher.
      * 
* - * - * repeated .google.cloud.contactcenterinsights.v1.PhraseMatchRuleGroup phrase_match_rule_groups = 8; - * + * repeated .google.cloud.contactcenterinsights.v1.PhraseMatchRuleGroup phrase_match_rule_groups = 8; */ - public Builder addPhraseMatchRuleGroups( - com.google.cloud.contactcenterinsights.v1.PhraseMatchRuleGroup value) { + public Builder addPhraseMatchRuleGroups(com.google.cloud.contactcenterinsights.v1.PhraseMatchRuleGroup value) { if (phraseMatchRuleGroupsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -2456,15 +2093,11 @@ public Builder addPhraseMatchRuleGroups( return this; } /** - * - * *
      * A list of phase match rule groups that are included in this matcher.
      * 
* - * - * repeated .google.cloud.contactcenterinsights.v1.PhraseMatchRuleGroup phrase_match_rule_groups = 8; - * + * repeated .google.cloud.contactcenterinsights.v1.PhraseMatchRuleGroup phrase_match_rule_groups = 8; */ public Builder addPhraseMatchRuleGroups( int index, com.google.cloud.contactcenterinsights.v1.PhraseMatchRuleGroup value) { @@ -2481,15 +2114,11 @@ public Builder addPhraseMatchRuleGroups( return this; } /** - * - * *
      * A list of phase match rule groups that are included in this matcher.
      * 
* - * - * repeated .google.cloud.contactcenterinsights.v1.PhraseMatchRuleGroup phrase_match_rule_groups = 8; - * + * repeated .google.cloud.contactcenterinsights.v1.PhraseMatchRuleGroup phrase_match_rule_groups = 8; */ public Builder addPhraseMatchRuleGroups( com.google.cloud.contactcenterinsights.v1.PhraseMatchRuleGroup.Builder builderForValue) { @@ -2503,19 +2132,14 @@ public Builder addPhraseMatchRuleGroups( return this; } /** - * - * *
      * A list of phase match rule groups that are included in this matcher.
      * 
* - * - * repeated .google.cloud.contactcenterinsights.v1.PhraseMatchRuleGroup phrase_match_rule_groups = 8; - * + * repeated .google.cloud.contactcenterinsights.v1.PhraseMatchRuleGroup phrase_match_rule_groups = 8; */ public Builder addPhraseMatchRuleGroups( - int index, - com.google.cloud.contactcenterinsights.v1.PhraseMatchRuleGroup.Builder builderForValue) { + int index, com.google.cloud.contactcenterinsights.v1.PhraseMatchRuleGroup.Builder builderForValue) { if (phraseMatchRuleGroupsBuilder_ == null) { ensurePhraseMatchRuleGroupsIsMutable(); phraseMatchRuleGroups_.add(index, builderForValue.build()); @@ -2526,22 +2150,18 @@ public Builder addPhraseMatchRuleGroups( return this; } /** - * - * *
      * A list of phase match rule groups that are included in this matcher.
      * 
* - * - * repeated .google.cloud.contactcenterinsights.v1.PhraseMatchRuleGroup phrase_match_rule_groups = 8; - * + * repeated .google.cloud.contactcenterinsights.v1.PhraseMatchRuleGroup phrase_match_rule_groups = 8; */ public Builder addAllPhraseMatchRuleGroups( - java.lang.Iterable - values) { + java.lang.Iterable values) { if (phraseMatchRuleGroupsBuilder_ == null) { ensurePhraseMatchRuleGroupsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, phraseMatchRuleGroups_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, phraseMatchRuleGroups_); onChanged(); } else { phraseMatchRuleGroupsBuilder_.addAllMessages(values); @@ -2549,15 +2169,11 @@ public Builder addAllPhraseMatchRuleGroups( return this; } /** - * - * *
      * A list of phase match rule groups that are included in this matcher.
      * 
* - * - * repeated .google.cloud.contactcenterinsights.v1.PhraseMatchRuleGroup phrase_match_rule_groups = 8; - * + * repeated .google.cloud.contactcenterinsights.v1.PhraseMatchRuleGroup phrase_match_rule_groups = 8; */ public Builder clearPhraseMatchRuleGroups() { if (phraseMatchRuleGroupsBuilder_ == null) { @@ -2570,15 +2186,11 @@ public Builder clearPhraseMatchRuleGroups() { return this; } /** - * - * *
      * A list of phase match rule groups that are included in this matcher.
      * 
* - * - * repeated .google.cloud.contactcenterinsights.v1.PhraseMatchRuleGroup phrase_match_rule_groups = 8; - * + * repeated .google.cloud.contactcenterinsights.v1.PhraseMatchRuleGroup phrase_match_rule_groups = 8; */ public Builder removePhraseMatchRuleGroups(int index) { if (phraseMatchRuleGroupsBuilder_ == null) { @@ -2591,53 +2203,39 @@ public Builder removePhraseMatchRuleGroups(int index) { return this; } /** - * - * *
      * A list of phase match rule groups that are included in this matcher.
      * 
* - * - * repeated .google.cloud.contactcenterinsights.v1.PhraseMatchRuleGroup phrase_match_rule_groups = 8; - * + * repeated .google.cloud.contactcenterinsights.v1.PhraseMatchRuleGroup phrase_match_rule_groups = 8; */ - public com.google.cloud.contactcenterinsights.v1.PhraseMatchRuleGroup.Builder - getPhraseMatchRuleGroupsBuilder(int index) { + public com.google.cloud.contactcenterinsights.v1.PhraseMatchRuleGroup.Builder getPhraseMatchRuleGroupsBuilder( + int index) { return getPhraseMatchRuleGroupsFieldBuilder().getBuilder(index); } /** - * - * *
      * A list of phase match rule groups that are included in this matcher.
      * 
* - * - * repeated .google.cloud.contactcenterinsights.v1.PhraseMatchRuleGroup phrase_match_rule_groups = 8; - * + * repeated .google.cloud.contactcenterinsights.v1.PhraseMatchRuleGroup phrase_match_rule_groups = 8; */ - public com.google.cloud.contactcenterinsights.v1.PhraseMatchRuleGroupOrBuilder - getPhraseMatchRuleGroupsOrBuilder(int index) { + public com.google.cloud.contactcenterinsights.v1.PhraseMatchRuleGroupOrBuilder getPhraseMatchRuleGroupsOrBuilder( + int index) { if (phraseMatchRuleGroupsBuilder_ == null) { - return phraseMatchRuleGroups_.get(index); - } else { + return phraseMatchRuleGroups_.get(index); } else { return phraseMatchRuleGroupsBuilder_.getMessageOrBuilder(index); } } /** - * - * *
      * A list of phase match rule groups that are included in this matcher.
      * 
* - * - * repeated .google.cloud.contactcenterinsights.v1.PhraseMatchRuleGroup phrase_match_rule_groups = 8; - * + * repeated .google.cloud.contactcenterinsights.v1.PhraseMatchRuleGroup phrase_match_rule_groups = 8; */ - public java.util.List< - ? extends com.google.cloud.contactcenterinsights.v1.PhraseMatchRuleGroupOrBuilder> - getPhraseMatchRuleGroupsOrBuilderList() { + public java.util.List + getPhraseMatchRuleGroupsOrBuilderList() { if (phraseMatchRuleGroupsBuilder_ != null) { return phraseMatchRuleGroupsBuilder_.getMessageOrBuilderList(); } else { @@ -2645,67 +2243,45 @@ public Builder removePhraseMatchRuleGroups(int index) { } } /** - * - * *
      * A list of phase match rule groups that are included in this matcher.
      * 
* - * - * repeated .google.cloud.contactcenterinsights.v1.PhraseMatchRuleGroup phrase_match_rule_groups = 8; - * + * repeated .google.cloud.contactcenterinsights.v1.PhraseMatchRuleGroup phrase_match_rule_groups = 8; */ - public com.google.cloud.contactcenterinsights.v1.PhraseMatchRuleGroup.Builder - addPhraseMatchRuleGroupsBuilder() { - return getPhraseMatchRuleGroupsFieldBuilder() - .addBuilder( - com.google.cloud.contactcenterinsights.v1.PhraseMatchRuleGroup.getDefaultInstance()); + public com.google.cloud.contactcenterinsights.v1.PhraseMatchRuleGroup.Builder addPhraseMatchRuleGroupsBuilder() { + return getPhraseMatchRuleGroupsFieldBuilder().addBuilder( + com.google.cloud.contactcenterinsights.v1.PhraseMatchRuleGroup.getDefaultInstance()); } /** - * - * *
      * A list of phase match rule groups that are included in this matcher.
      * 
* - * - * repeated .google.cloud.contactcenterinsights.v1.PhraseMatchRuleGroup phrase_match_rule_groups = 8; - * + * repeated .google.cloud.contactcenterinsights.v1.PhraseMatchRuleGroup phrase_match_rule_groups = 8; */ - public com.google.cloud.contactcenterinsights.v1.PhraseMatchRuleGroup.Builder - addPhraseMatchRuleGroupsBuilder(int index) { - return getPhraseMatchRuleGroupsFieldBuilder() - .addBuilder( - index, - com.google.cloud.contactcenterinsights.v1.PhraseMatchRuleGroup.getDefaultInstance()); + public com.google.cloud.contactcenterinsights.v1.PhraseMatchRuleGroup.Builder addPhraseMatchRuleGroupsBuilder( + int index) { + return getPhraseMatchRuleGroupsFieldBuilder().addBuilder( + index, com.google.cloud.contactcenterinsights.v1.PhraseMatchRuleGroup.getDefaultInstance()); } /** - * - * *
      * A list of phase match rule groups that are included in this matcher.
      * 
* - * - * repeated .google.cloud.contactcenterinsights.v1.PhraseMatchRuleGroup phrase_match_rule_groups = 8; - * + * repeated .google.cloud.contactcenterinsights.v1.PhraseMatchRuleGroup phrase_match_rule_groups = 8; */ - public java.util.List - getPhraseMatchRuleGroupsBuilderList() { + public java.util.List + getPhraseMatchRuleGroupsBuilderList() { return getPhraseMatchRuleGroupsFieldBuilder().getBuilderList(); } - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.contactcenterinsights.v1.PhraseMatchRuleGroup, - com.google.cloud.contactcenterinsights.v1.PhraseMatchRuleGroup.Builder, - com.google.cloud.contactcenterinsights.v1.PhraseMatchRuleGroupOrBuilder> + com.google.cloud.contactcenterinsights.v1.PhraseMatchRuleGroup, com.google.cloud.contactcenterinsights.v1.PhraseMatchRuleGroup.Builder, com.google.cloud.contactcenterinsights.v1.PhraseMatchRuleGroupOrBuilder> getPhraseMatchRuleGroupsFieldBuilder() { if (phraseMatchRuleGroupsBuilder_ == null) { - phraseMatchRuleGroupsBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.contactcenterinsights.v1.PhraseMatchRuleGroup, - com.google.cloud.contactcenterinsights.v1.PhraseMatchRuleGroup.Builder, - com.google.cloud.contactcenterinsights.v1.PhraseMatchRuleGroupOrBuilder>( + phraseMatchRuleGroupsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.contactcenterinsights.v1.PhraseMatchRuleGroup, com.google.cloud.contactcenterinsights.v1.PhraseMatchRuleGroup.Builder, com.google.cloud.contactcenterinsights.v1.PhraseMatchRuleGroupOrBuilder>( phraseMatchRuleGroups_, ((bitField0_ & 0x00000080) != 0), getParentForChildren(), @@ -2717,58 +2293,42 @@ public Builder removePhraseMatchRuleGroups(int index) { private com.google.protobuf.Timestamp activationUpdateTime_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> - activationUpdateTimeBuilder_; + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> activationUpdateTimeBuilder_; /** - * - * *
-     * Output only. The most recent time at which the activation status was updated.
+     * Output only. The most recent time at which the activation status was
+     * updated.
      * 
* - * - * .google.protobuf.Timestamp activation_update_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp activation_update_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the activationUpdateTime field is set. */ public boolean hasActivationUpdateTime() { return ((bitField0_ & 0x00000100) != 0); } /** - * - * *
-     * Output only. The most recent time at which the activation status was updated.
+     * Output only. The most recent time at which the activation status was
+     * updated.
      * 
* - * - * .google.protobuf.Timestamp activation_update_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp activation_update_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The activationUpdateTime. */ public com.google.protobuf.Timestamp getActivationUpdateTime() { if (activationUpdateTimeBuilder_ == null) { - return activationUpdateTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : activationUpdateTime_; + return activationUpdateTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : activationUpdateTime_; } else { return activationUpdateTimeBuilder_.getMessage(); } } /** - * - * *
-     * Output only. The most recent time at which the activation status was updated.
+     * Output only. The most recent time at which the activation status was
+     * updated.
      * 
* - * - * .google.protobuf.Timestamp activation_update_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp activation_update_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder setActivationUpdateTime(com.google.protobuf.Timestamp value) { if (activationUpdateTimeBuilder_ == null) { @@ -2784,17 +2344,15 @@ public Builder setActivationUpdateTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
-     * Output only. The most recent time at which the activation status was updated.
+     * Output only. The most recent time at which the activation status was
+     * updated.
      * 
* - * - * .google.protobuf.Timestamp activation_update_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp activation_update_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - public Builder setActivationUpdateTime(com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setActivationUpdateTime( + com.google.protobuf.Timestamp.Builder builderForValue) { if (activationUpdateTimeBuilder_ == null) { activationUpdateTime_ = builderForValue.build(); } else { @@ -2805,21 +2363,18 @@ public Builder setActivationUpdateTime(com.google.protobuf.Timestamp.Builder bui return this; } /** - * - * *
-     * Output only. The most recent time at which the activation status was updated.
+     * Output only. The most recent time at which the activation status was
+     * updated.
      * 
* - * - * .google.protobuf.Timestamp activation_update_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp activation_update_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder mergeActivationUpdateTime(com.google.protobuf.Timestamp value) { if (activationUpdateTimeBuilder_ == null) { - if (((bitField0_ & 0x00000100) != 0) - && activationUpdateTime_ != null - && activationUpdateTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { + if (((bitField0_ & 0x00000100) != 0) && + activationUpdateTime_ != null && + activationUpdateTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { getActivationUpdateTimeBuilder().mergeFrom(value); } else { activationUpdateTime_ = value; @@ -2832,15 +2387,12 @@ public Builder mergeActivationUpdateTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
-     * Output only. The most recent time at which the activation status was updated.
+     * Output only. The most recent time at which the activation status was
+     * updated.
      * 
* - * - * .google.protobuf.Timestamp activation_update_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp activation_update_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder clearActivationUpdateTime() { bitField0_ = (bitField0_ & ~0x00000100); @@ -2853,15 +2405,12 @@ public Builder clearActivationUpdateTime() { return this; } /** - * - * *
-     * Output only. The most recent time at which the activation status was updated.
+     * Output only. The most recent time at which the activation status was
+     * updated.
      * 
* - * - * .google.protobuf.Timestamp activation_update_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp activation_update_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public com.google.protobuf.Timestamp.Builder getActivationUpdateTimeBuilder() { bitField0_ |= 0x00000100; @@ -2869,48 +2418,38 @@ public com.google.protobuf.Timestamp.Builder getActivationUpdateTimeBuilder() { return getActivationUpdateTimeFieldBuilder().getBuilder(); } /** - * - * *
-     * Output only. The most recent time at which the activation status was updated.
+     * Output only. The most recent time at which the activation status was
+     * updated.
      * 
* - * - * .google.protobuf.Timestamp activation_update_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp activation_update_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public com.google.protobuf.TimestampOrBuilder getActivationUpdateTimeOrBuilder() { if (activationUpdateTimeBuilder_ != null) { return activationUpdateTimeBuilder_.getMessageOrBuilder(); } else { - return activationUpdateTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : activationUpdateTime_; + return activationUpdateTime_ == null ? + com.google.protobuf.Timestamp.getDefaultInstance() : activationUpdateTime_; } } /** - * - * *
-     * Output only. The most recent time at which the activation status was updated.
+     * Output only. The most recent time at which the activation status was
+     * updated.
      * 
* - * - * .google.protobuf.Timestamp activation_update_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp activation_update_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> getActivationUpdateTimeFieldBuilder() { if (activationUpdateTimeBuilder_ == null) { - activationUpdateTimeBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder>( - getActivationUpdateTime(), getParentForChildren(), isClean()); + activationUpdateTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( + getActivationUpdateTime(), + getParentForChildren(), + isClean()); activationUpdateTime_ = null; } return activationUpdateTimeBuilder_; @@ -2918,35 +2457,26 @@ public com.google.protobuf.TimestampOrBuilder getActivationUpdateTimeOrBuilder() private int roleMatch_ = 0; /** - * - * *
      * The role whose utterances the phrase matcher should be matched
      * against. If the role is ROLE_UNSPECIFIED it will be matched against any
      * utterances in the transcript.
      * 
* - * .google.cloud.contactcenterinsights.v1.ConversationParticipant.Role role_match = 10; - * - * + * .google.cloud.contactcenterinsights.v1.ConversationParticipant.Role role_match = 10; * @return The enum numeric value on the wire for roleMatch. */ - @java.lang.Override - public int getRoleMatchValue() { + @java.lang.Override public int getRoleMatchValue() { return roleMatch_; } /** - * - * *
      * The role whose utterances the phrase matcher should be matched
      * against. If the role is ROLE_UNSPECIFIED it will be matched against any
      * utterances in the transcript.
      * 
* - * .google.cloud.contactcenterinsights.v1.ConversationParticipant.Role role_match = 10; - * - * + * .google.cloud.contactcenterinsights.v1.ConversationParticipant.Role role_match = 10; * @param value The enum numeric value on the wire for roleMatch to set. * @return This builder for chaining. */ @@ -2957,45 +2487,32 @@ public Builder setRoleMatchValue(int value) { return this; } /** - * - * *
      * The role whose utterances the phrase matcher should be matched
      * against. If the role is ROLE_UNSPECIFIED it will be matched against any
      * utterances in the transcript.
      * 
* - * .google.cloud.contactcenterinsights.v1.ConversationParticipant.Role role_match = 10; - * - * + * .google.cloud.contactcenterinsights.v1.ConversationParticipant.Role role_match = 10; * @return The roleMatch. */ @java.lang.Override public com.google.cloud.contactcenterinsights.v1.ConversationParticipant.Role getRoleMatch() { - com.google.cloud.contactcenterinsights.v1.ConversationParticipant.Role result = - com.google.cloud.contactcenterinsights.v1.ConversationParticipant.Role.forNumber( - roleMatch_); - return result == null - ? com.google.cloud.contactcenterinsights.v1.ConversationParticipant.Role.UNRECOGNIZED - : result; + com.google.cloud.contactcenterinsights.v1.ConversationParticipant.Role result = com.google.cloud.contactcenterinsights.v1.ConversationParticipant.Role.forNumber(roleMatch_); + return result == null ? com.google.cloud.contactcenterinsights.v1.ConversationParticipant.Role.UNRECOGNIZED : result; } /** - * - * *
      * The role whose utterances the phrase matcher should be matched
      * against. If the role is ROLE_UNSPECIFIED it will be matched against any
      * utterances in the transcript.
      * 
* - * .google.cloud.contactcenterinsights.v1.ConversationParticipant.Role role_match = 10; - * - * + * .google.cloud.contactcenterinsights.v1.ConversationParticipant.Role role_match = 10; * @param value The roleMatch to set. * @return This builder for chaining. */ - public Builder setRoleMatch( - com.google.cloud.contactcenterinsights.v1.ConversationParticipant.Role value) { + public Builder setRoleMatch(com.google.cloud.contactcenterinsights.v1.ConversationParticipant.Role value) { if (value == null) { throw new NullPointerException(); } @@ -3005,17 +2522,13 @@ public Builder setRoleMatch( return this; } /** - * - * *
      * The role whose utterances the phrase matcher should be matched
      * against. If the role is ROLE_UNSPECIFIED it will be matched against any
      * utterances in the transcript.
      * 
* - * .google.cloud.contactcenterinsights.v1.ConversationParticipant.Role role_match = 10; - * - * + * .google.cloud.contactcenterinsights.v1.ConversationParticipant.Role role_match = 10; * @return This builder for chaining. */ public Builder clearRoleMatch() { @@ -3027,58 +2540,39 @@ public Builder clearRoleMatch() { private com.google.protobuf.Timestamp updateTime_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> - updateTimeBuilder_; + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> updateTimeBuilder_; /** - * - * *
      * Output only. The most recent time at which the phrase matcher was updated.
      * 
* - * - * .google.protobuf.Timestamp update_time = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp update_time = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the updateTime field is set. */ public boolean hasUpdateTime() { return ((bitField0_ & 0x00000400) != 0); } /** - * - * *
      * Output only. The most recent time at which the phrase matcher was updated.
      * 
* - * - * .google.protobuf.Timestamp update_time = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp update_time = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The updateTime. */ public com.google.protobuf.Timestamp getUpdateTime() { if (updateTimeBuilder_ == null) { - return updateTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : updateTime_; + return updateTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : updateTime_; } else { return updateTimeBuilder_.getMessage(); } } /** - * - * *
      * Output only. The most recent time at which the phrase matcher was updated.
      * 
* - * - * .google.protobuf.Timestamp update_time = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp update_time = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder setUpdateTime(com.google.protobuf.Timestamp value) { if (updateTimeBuilder_ == null) { @@ -3094,17 +2588,14 @@ public Builder setUpdateTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * Output only. The most recent time at which the phrase matcher was updated.
      * 
* - * - * .google.protobuf.Timestamp update_time = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp update_time = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - public Builder setUpdateTime(com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setUpdateTime( + com.google.protobuf.Timestamp.Builder builderForValue) { if (updateTimeBuilder_ == null) { updateTime_ = builderForValue.build(); } else { @@ -3115,21 +2606,17 @@ public Builder setUpdateTime(com.google.protobuf.Timestamp.Builder builderForVal return this; } /** - * - * *
      * Output only. The most recent time at which the phrase matcher was updated.
      * 
* - * - * .google.protobuf.Timestamp update_time = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp update_time = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder mergeUpdateTime(com.google.protobuf.Timestamp value) { if (updateTimeBuilder_ == null) { - if (((bitField0_ & 0x00000400) != 0) - && updateTime_ != null - && updateTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { + if (((bitField0_ & 0x00000400) != 0) && + updateTime_ != null && + updateTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { getUpdateTimeBuilder().mergeFrom(value); } else { updateTime_ = value; @@ -3142,15 +2629,11 @@ public Builder mergeUpdateTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * Output only. The most recent time at which the phrase matcher was updated.
      * 
* - * - * .google.protobuf.Timestamp update_time = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp update_time = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder clearUpdateTime() { bitField0_ = (bitField0_ & ~0x00000400); @@ -3163,15 +2646,11 @@ public Builder clearUpdateTime() { return this; } /** - * - * *
      * Output only. The most recent time at which the phrase matcher was updated.
      * 
* - * - * .google.protobuf.Timestamp update_time = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp update_time = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public com.google.protobuf.Timestamp.Builder getUpdateTimeBuilder() { bitField0_ |= 0x00000400; @@ -3179,55 +2658,43 @@ public com.google.protobuf.Timestamp.Builder getUpdateTimeBuilder() { return getUpdateTimeFieldBuilder().getBuilder(); } /** - * - * *
      * Output only. The most recent time at which the phrase matcher was updated.
      * 
* - * - * .google.protobuf.Timestamp update_time = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp update_time = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { if (updateTimeBuilder_ != null) { return updateTimeBuilder_.getMessageOrBuilder(); } else { - return updateTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : updateTime_; + return updateTime_ == null ? + com.google.protobuf.Timestamp.getDefaultInstance() : updateTime_; } } /** - * - * *
      * Output only. The most recent time at which the phrase matcher was updated.
      * 
* - * - * .google.protobuf.Timestamp update_time = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp update_time = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> getUpdateTimeFieldBuilder() { if (updateTimeBuilder_ == null) { - updateTimeBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder>( - getUpdateTime(), getParentForChildren(), isClean()); + updateTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( + getUpdateTime(), + getParentForChildren(), + isClean()); updateTime_ = null; } return updateTimeBuilder_; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -3237,12 +2704,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.contactcenterinsights.v1.PhraseMatcher) } // @@protoc_insertion_point(class_scope:google.cloud.contactcenterinsights.v1.PhraseMatcher) private static final com.google.cloud.contactcenterinsights.v1.PhraseMatcher DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.contactcenterinsights.v1.PhraseMatcher(); } @@ -3251,27 +2718,27 @@ public static com.google.cloud.contactcenterinsights.v1.PhraseMatcher getDefault return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public PhraseMatcher parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public PhraseMatcher parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -3286,4 +2753,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.contactcenterinsights.v1.PhraseMatcher getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/PhraseMatcherName.java b/owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/PhraseMatcherName.java similarity index 100% rename from java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/PhraseMatcherName.java rename to owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/PhraseMatcherName.java diff --git a/java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/PhraseMatcherOrBuilder.java b/owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/PhraseMatcherOrBuilder.java similarity index 63% rename from java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/PhraseMatcherOrBuilder.java rename to owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/PhraseMatcherOrBuilder.java index d116f89d3ab4..88296c23d6c9 100644 --- a/java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/PhraseMatcherOrBuilder.java +++ b/owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/PhraseMatcherOrBuilder.java @@ -1,31 +1,13 @@ -/* - * 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. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/contactcenterinsights/v1/resources.proto package com.google.cloud.contactcenterinsights.v1; -public interface PhraseMatcherOrBuilder - extends +public interface PhraseMatcherOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.contactcenterinsights.v1.PhraseMatcher) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * The resource name of the phrase matcher.
    * Format:
@@ -33,13 +15,10 @@ public interface PhraseMatcherOrBuilder
    * 
* * string name = 1; - * * @return The name. */ java.lang.String getName(); /** - * - * *
    * The resource name of the phrase matcher.
    * Format:
@@ -47,14 +26,12 @@ public interface PhraseMatcherOrBuilder
    * 
* * string name = 1; - * * @return The bytes for name. */ - com.google.protobuf.ByteString getNameBytes(); + com.google.protobuf.ByteString + getNameBytes(); /** - * - * *
    * Output only. Immutable. The revision ID of the phrase matcher.
    * A new revision is committed whenever the matcher is changed, except when it
@@ -62,16 +39,11 @@ public interface PhraseMatcherOrBuilder
    * Example: locations/global/phraseMatchers/my-first-matcher@1234567
    * 
* - * - * string revision_id = 2 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * string revision_id = 2 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.field_behavior) = OUTPUT_ONLY]; * @return The revisionId. */ java.lang.String getRevisionId(); /** - * - * *
    * Output only. Immutable. The revision ID of the phrase matcher.
    * A new revision is committed whenever the matcher is changed, except when it
@@ -79,324 +51,234 @@ public interface PhraseMatcherOrBuilder
    * Example: locations/global/phraseMatchers/my-first-matcher@1234567
    * 
* - * - * string revision_id = 2 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * string revision_id = 2 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.field_behavior) = OUTPUT_ONLY]; * @return The bytes for revisionId. */ - com.google.protobuf.ByteString getRevisionIdBytes(); + com.google.protobuf.ByteString + getRevisionIdBytes(); /** - * - * *
    * The customized version tag to use for the phrase matcher. If not specified,
    * it will default to `revision_id`.
    * 
* * string version_tag = 3; - * * @return The versionTag. */ java.lang.String getVersionTag(); /** - * - * *
    * The customized version tag to use for the phrase matcher. If not specified,
    * it will default to `revision_id`.
    * 
* * string version_tag = 3; - * * @return The bytes for versionTag. */ - com.google.protobuf.ByteString getVersionTagBytes(); + com.google.protobuf.ByteString + getVersionTagBytes(); /** - * - * *
-   * Output only. The timestamp of when the revision was created. It is also the create time
-   * when a new matcher is added.
+   * Output only. The timestamp of when the revision was created. It is also the
+   * create time when a new matcher is added.
    * 
* - * - * .google.protobuf.Timestamp revision_create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp revision_create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the revisionCreateTime field is set. */ boolean hasRevisionCreateTime(); /** - * - * *
-   * Output only. The timestamp of when the revision was created. It is also the create time
-   * when a new matcher is added.
+   * Output only. The timestamp of when the revision was created. It is also the
+   * create time when a new matcher is added.
    * 
* - * - * .google.protobuf.Timestamp revision_create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp revision_create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The revisionCreateTime. */ com.google.protobuf.Timestamp getRevisionCreateTime(); /** - * - * *
-   * Output only. The timestamp of when the revision was created. It is also the create time
-   * when a new matcher is added.
+   * Output only. The timestamp of when the revision was created. It is also the
+   * create time when a new matcher is added.
    * 
* - * - * .google.protobuf.Timestamp revision_create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp revision_create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ com.google.protobuf.TimestampOrBuilder getRevisionCreateTimeOrBuilder(); /** - * - * *
    * The human-readable name of the phrase matcher.
    * 
* * string display_name = 5; - * * @return The displayName. */ java.lang.String getDisplayName(); /** - * - * *
    * The human-readable name of the phrase matcher.
    * 
* * string display_name = 5; - * * @return The bytes for displayName. */ - com.google.protobuf.ByteString getDisplayNameBytes(); + com.google.protobuf.ByteString + getDisplayNameBytes(); /** - * - * *
    * Required. The type of this phrase matcher.
    * 
* - * - * .google.cloud.contactcenterinsights.v1.PhraseMatcher.PhraseMatcherType type = 6 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.contactcenterinsights.v1.PhraseMatcher.PhraseMatcherType type = 6 [(.google.api.field_behavior) = REQUIRED]; * @return The enum numeric value on the wire for type. */ int getTypeValue(); /** - * - * *
    * Required. The type of this phrase matcher.
    * 
* - * - * .google.cloud.contactcenterinsights.v1.PhraseMatcher.PhraseMatcherType type = 6 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.contactcenterinsights.v1.PhraseMatcher.PhraseMatcherType type = 6 [(.google.api.field_behavior) = REQUIRED]; * @return The type. */ com.google.cloud.contactcenterinsights.v1.PhraseMatcher.PhraseMatcherType getType(); /** - * - * *
    * Applies the phrase matcher only when it is active.
    * 
* * bool active = 7; - * * @return The active. */ boolean getActive(); /** - * - * *
    * A list of phase match rule groups that are included in this matcher.
    * 
* - * - * repeated .google.cloud.contactcenterinsights.v1.PhraseMatchRuleGroup phrase_match_rule_groups = 8; - * + * repeated .google.cloud.contactcenterinsights.v1.PhraseMatchRuleGroup phrase_match_rule_groups = 8; */ - java.util.List + java.util.List getPhraseMatchRuleGroupsList(); /** - * - * *
    * A list of phase match rule groups that are included in this matcher.
    * 
* - * - * repeated .google.cloud.contactcenterinsights.v1.PhraseMatchRuleGroup phrase_match_rule_groups = 8; - * + * repeated .google.cloud.contactcenterinsights.v1.PhraseMatchRuleGroup phrase_match_rule_groups = 8; */ - com.google.cloud.contactcenterinsights.v1.PhraseMatchRuleGroup getPhraseMatchRuleGroups( - int index); + com.google.cloud.contactcenterinsights.v1.PhraseMatchRuleGroup getPhraseMatchRuleGroups(int index); /** - * - * *
    * A list of phase match rule groups that are included in this matcher.
    * 
* - * - * repeated .google.cloud.contactcenterinsights.v1.PhraseMatchRuleGroup phrase_match_rule_groups = 8; - * + * repeated .google.cloud.contactcenterinsights.v1.PhraseMatchRuleGroup phrase_match_rule_groups = 8; */ int getPhraseMatchRuleGroupsCount(); /** - * - * *
    * A list of phase match rule groups that are included in this matcher.
    * 
* - * - * repeated .google.cloud.contactcenterinsights.v1.PhraseMatchRuleGroup phrase_match_rule_groups = 8; - * + * repeated .google.cloud.contactcenterinsights.v1.PhraseMatchRuleGroup phrase_match_rule_groups = 8; */ - java.util.List + java.util.List getPhraseMatchRuleGroupsOrBuilderList(); /** - * - * *
    * A list of phase match rule groups that are included in this matcher.
    * 
* - * - * repeated .google.cloud.contactcenterinsights.v1.PhraseMatchRuleGroup phrase_match_rule_groups = 8; - * + * repeated .google.cloud.contactcenterinsights.v1.PhraseMatchRuleGroup phrase_match_rule_groups = 8; */ - com.google.cloud.contactcenterinsights.v1.PhraseMatchRuleGroupOrBuilder - getPhraseMatchRuleGroupsOrBuilder(int index); + com.google.cloud.contactcenterinsights.v1.PhraseMatchRuleGroupOrBuilder getPhraseMatchRuleGroupsOrBuilder( + int index); /** - * - * *
-   * Output only. The most recent time at which the activation status was updated.
+   * Output only. The most recent time at which the activation status was
+   * updated.
    * 
* - * - * .google.protobuf.Timestamp activation_update_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp activation_update_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the activationUpdateTime field is set. */ boolean hasActivationUpdateTime(); /** - * - * *
-   * Output only. The most recent time at which the activation status was updated.
+   * Output only. The most recent time at which the activation status was
+   * updated.
    * 
* - * - * .google.protobuf.Timestamp activation_update_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp activation_update_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The activationUpdateTime. */ com.google.protobuf.Timestamp getActivationUpdateTime(); /** - * - * *
-   * Output only. The most recent time at which the activation status was updated.
+   * Output only. The most recent time at which the activation status was
+   * updated.
    * 
* - * - * .google.protobuf.Timestamp activation_update_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp activation_update_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ com.google.protobuf.TimestampOrBuilder getActivationUpdateTimeOrBuilder(); /** - * - * *
    * The role whose utterances the phrase matcher should be matched
    * against. If the role is ROLE_UNSPECIFIED it will be matched against any
    * utterances in the transcript.
    * 
* - * .google.cloud.contactcenterinsights.v1.ConversationParticipant.Role role_match = 10; - * - * + * .google.cloud.contactcenterinsights.v1.ConversationParticipant.Role role_match = 10; * @return The enum numeric value on the wire for roleMatch. */ int getRoleMatchValue(); /** - * - * *
    * The role whose utterances the phrase matcher should be matched
    * against. If the role is ROLE_UNSPECIFIED it will be matched against any
    * utterances in the transcript.
    * 
* - * .google.cloud.contactcenterinsights.v1.ConversationParticipant.Role role_match = 10; - * - * + * .google.cloud.contactcenterinsights.v1.ConversationParticipant.Role role_match = 10; * @return The roleMatch. */ com.google.cloud.contactcenterinsights.v1.ConversationParticipant.Role getRoleMatch(); /** - * - * *
    * Output only. The most recent time at which the phrase matcher was updated.
    * 
* - * .google.protobuf.Timestamp update_time = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp update_time = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the updateTime field is set. */ boolean hasUpdateTime(); /** - * - * *
    * Output only. The most recent time at which the phrase matcher was updated.
    * 
* - * .google.protobuf.Timestamp update_time = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp update_time = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The updateTime. */ com.google.protobuf.Timestamp getUpdateTime(); /** - * - * *
    * Output only. The most recent time at which the phrase matcher was updated.
    * 
* - * .google.protobuf.Timestamp update_time = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp update_time = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder(); } diff --git a/owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ResourcesProto.java b/owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ResourcesProto.java new file mode 100644 index 000000000000..ee56ba4245e8 --- /dev/null +++ b/owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ResourcesProto.java @@ -0,0 +1,1097 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/contactcenterinsights/v1/resources.proto + +package com.google.cloud.contactcenterinsights.v1; + +public final class ResourcesProto { + private ResourcesProto() {} + public static void registerAllExtensions( + com.google.protobuf.ExtensionRegistryLite registry) { + } + + public static void registerAllExtensions( + com.google.protobuf.ExtensionRegistry registry) { + registerAllExtensions( + (com.google.protobuf.ExtensionRegistryLite) registry); + } + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_contactcenterinsights_v1_Conversation_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_contactcenterinsights_v1_Conversation_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_contactcenterinsights_v1_Conversation_CallMetadata_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_contactcenterinsights_v1_Conversation_CallMetadata_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_contactcenterinsights_v1_Conversation_Transcript_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_contactcenterinsights_v1_Conversation_Transcript_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_contactcenterinsights_v1_Conversation_Transcript_TranscriptSegment_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_contactcenterinsights_v1_Conversation_Transcript_TranscriptSegment_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_contactcenterinsights_v1_Conversation_Transcript_TranscriptSegment_WordInfo_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_contactcenterinsights_v1_Conversation_Transcript_TranscriptSegment_WordInfo_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_contactcenterinsights_v1_Conversation_Transcript_TranscriptSegment_DialogflowSegmentMetadata_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_contactcenterinsights_v1_Conversation_Transcript_TranscriptSegment_DialogflowSegmentMetadata_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_contactcenterinsights_v1_Conversation_LabelsEntry_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_contactcenterinsights_v1_Conversation_LabelsEntry_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_contactcenterinsights_v1_Conversation_DialogflowIntentsEntry_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_contactcenterinsights_v1_Conversation_DialogflowIntentsEntry_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_contactcenterinsights_v1_Analysis_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_contactcenterinsights_v1_Analysis_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_contactcenterinsights_v1_ConversationDataSource_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_contactcenterinsights_v1_ConversationDataSource_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_contactcenterinsights_v1_GcsSource_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_contactcenterinsights_v1_GcsSource_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_contactcenterinsights_v1_DialogflowSource_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_contactcenterinsights_v1_DialogflowSource_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_contactcenterinsights_v1_AnalysisResult_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_contactcenterinsights_v1_AnalysisResult_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_contactcenterinsights_v1_AnalysisResult_CallAnalysisMetadata_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_contactcenterinsights_v1_AnalysisResult_CallAnalysisMetadata_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_contactcenterinsights_v1_AnalysisResult_CallAnalysisMetadata_EntitiesEntry_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_contactcenterinsights_v1_AnalysisResult_CallAnalysisMetadata_EntitiesEntry_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_contactcenterinsights_v1_AnalysisResult_CallAnalysisMetadata_IntentsEntry_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_contactcenterinsights_v1_AnalysisResult_CallAnalysisMetadata_IntentsEntry_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_contactcenterinsights_v1_AnalysisResult_CallAnalysisMetadata_PhraseMatchersEntry_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_contactcenterinsights_v1_AnalysisResult_CallAnalysisMetadata_PhraseMatchersEntry_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_contactcenterinsights_v1_IssueModelResult_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_contactcenterinsights_v1_IssueModelResult_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_contactcenterinsights_v1_ConversationLevelSentiment_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_contactcenterinsights_v1_ConversationLevelSentiment_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_contactcenterinsights_v1_IssueAssignment_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_contactcenterinsights_v1_IssueAssignment_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_contactcenterinsights_v1_CallAnnotation_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_contactcenterinsights_v1_CallAnnotation_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_contactcenterinsights_v1_AnnotationBoundary_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_contactcenterinsights_v1_AnnotationBoundary_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_contactcenterinsights_v1_Entity_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_contactcenterinsights_v1_Entity_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_contactcenterinsights_v1_Entity_MetadataEntry_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_contactcenterinsights_v1_Entity_MetadataEntry_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_contactcenterinsights_v1_Intent_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_contactcenterinsights_v1_Intent_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_contactcenterinsights_v1_PhraseMatchData_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_contactcenterinsights_v1_PhraseMatchData_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_contactcenterinsights_v1_DialogflowIntent_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_contactcenterinsights_v1_DialogflowIntent_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_contactcenterinsights_v1_InterruptionData_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_contactcenterinsights_v1_InterruptionData_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_contactcenterinsights_v1_SilenceData_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_contactcenterinsights_v1_SilenceData_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_contactcenterinsights_v1_HoldData_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_contactcenterinsights_v1_HoldData_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_contactcenterinsights_v1_EntityMentionData_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_contactcenterinsights_v1_EntityMentionData_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_contactcenterinsights_v1_IntentMatchData_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_contactcenterinsights_v1_IntentMatchData_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_contactcenterinsights_v1_SentimentData_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_contactcenterinsights_v1_SentimentData_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_contactcenterinsights_v1_IssueMatchData_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_contactcenterinsights_v1_IssueMatchData_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_contactcenterinsights_v1_IssueModel_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_contactcenterinsights_v1_IssueModel_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_contactcenterinsights_v1_IssueModel_InputDataConfig_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_contactcenterinsights_v1_IssueModel_InputDataConfig_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_contactcenterinsights_v1_Issue_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_contactcenterinsights_v1_Issue_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_contactcenterinsights_v1_IssueModelLabelStats_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_contactcenterinsights_v1_IssueModelLabelStats_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_contactcenterinsights_v1_IssueModelLabelStats_IssueStats_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_contactcenterinsights_v1_IssueModelLabelStats_IssueStats_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_contactcenterinsights_v1_IssueModelLabelStats_IssueStatsEntry_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_contactcenterinsights_v1_IssueModelLabelStats_IssueStatsEntry_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_contactcenterinsights_v1_PhraseMatcher_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_contactcenterinsights_v1_PhraseMatcher_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_contactcenterinsights_v1_PhraseMatchRuleGroup_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_contactcenterinsights_v1_PhraseMatchRuleGroup_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_contactcenterinsights_v1_PhraseMatchRule_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_contactcenterinsights_v1_PhraseMatchRule_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_contactcenterinsights_v1_PhraseMatchRuleConfig_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_contactcenterinsights_v1_PhraseMatchRuleConfig_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_contactcenterinsights_v1_ExactMatchConfig_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_contactcenterinsights_v1_ExactMatchConfig_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_contactcenterinsights_v1_Settings_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_contactcenterinsights_v1_Settings_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_contactcenterinsights_v1_Settings_AnalysisConfig_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_contactcenterinsights_v1_Settings_AnalysisConfig_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_contactcenterinsights_v1_Settings_PubsubNotificationSettingsEntry_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_contactcenterinsights_v1_Settings_PubsubNotificationSettingsEntry_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_contactcenterinsights_v1_RuntimeAnnotation_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_contactcenterinsights_v1_RuntimeAnnotation_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_contactcenterinsights_v1_AnswerFeedback_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_contactcenterinsights_v1_AnswerFeedback_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_contactcenterinsights_v1_ArticleSuggestionData_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_contactcenterinsights_v1_ArticleSuggestionData_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_contactcenterinsights_v1_ArticleSuggestionData_MetadataEntry_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_contactcenterinsights_v1_ArticleSuggestionData_MetadataEntry_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_contactcenterinsights_v1_FaqAnswerData_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_contactcenterinsights_v1_FaqAnswerData_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_contactcenterinsights_v1_FaqAnswerData_MetadataEntry_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_contactcenterinsights_v1_FaqAnswerData_MetadataEntry_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_contactcenterinsights_v1_SmartReplyData_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_contactcenterinsights_v1_SmartReplyData_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_contactcenterinsights_v1_SmartReplyData_MetadataEntry_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_contactcenterinsights_v1_SmartReplyData_MetadataEntry_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_contactcenterinsights_v1_SmartComposeSuggestionData_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_contactcenterinsights_v1_SmartComposeSuggestionData_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_contactcenterinsights_v1_SmartComposeSuggestionData_MetadataEntry_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_contactcenterinsights_v1_SmartComposeSuggestionData_MetadataEntry_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_contactcenterinsights_v1_DialogflowInteractionData_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_contactcenterinsights_v1_DialogflowInteractionData_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_contactcenterinsights_v1_ConversationParticipant_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_contactcenterinsights_v1_ConversationParticipant_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_contactcenterinsights_v1_View_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_contactcenterinsights_v1_View_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_contactcenterinsights_v1_AnnotatorSelector_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_contactcenterinsights_v1_AnnotatorSelector_fieldAccessorTable; + + public static com.google.protobuf.Descriptors.FileDescriptor + getDescriptor() { + return descriptor; + } + private static com.google.protobuf.Descriptors.FileDescriptor + descriptor; + static { + java.lang.String[] descriptorData = { + "\n5google/cloud/contactcenterinsights/v1/" + + "resources.proto\022%google.cloud.contactcen" + + "terinsights.v1\032\037google/api/field_behavio" + + "r.proto\032\031google/api/resource.proto\032\036goog" + + "le/protobuf/duration.proto\032\037google/proto" + + "buf/timestamp.proto\"\261\023\n\014Conversation\022Y\n\r" + + "call_metadata\030\007 \001(\0132@.google.cloud.conta" + + "ctcenterinsights.v1.Conversation.CallMet" + + "adataH\000\0221\n\013expire_time\030\017 \001(\0132\032.google.pr" + + "otobuf.TimestampH\001\022-\n\003ttl\030\020 \001(\0132\031.google" + + ".protobuf.DurationB\003\340A\004H\001\022\021\n\004name\030\001 \001(\tB" + + "\003\340A\005\022R\n\013data_source\030\002 \001(\0132=.google.cloud" + + ".contactcenterinsights.v1.ConversationDa" + + "taSource\0224\n\013create_time\030\003 \001(\0132\032.google.p" + + "rotobuf.TimestampB\003\340A\003\0224\n\013update_time\030\004 " + + "\001(\0132\032.google.protobuf.TimestampB\003\340A\003\022.\n\n" + + "start_time\030\021 \001(\0132\032.google.protobuf.Times" + + "tamp\022\025\n\rlanguage_code\030\016 \001(\t\022\020\n\010agent_id\030" + + "\005 \001(\t\022O\n\006labels\030\006 \003(\0132?.google.cloud.con" + + "tactcenterinsights.v1.Conversation.Label" + + "sEntry\022W\n\ntranscript\030\010 \001(\0132>.google.clou" + + "d.contactcenterinsights.v1.Conversation." + + "TranscriptB\003\340A\003\022O\n\006medium\030\t \001(\0162:.google" + + ".cloud.contactcenterinsights.v1.Conversa" + + "tion.MediumB\003\340A\005\0220\n\010duration\030\n \001(\0132\031.goo" + + "gle.protobuf.DurationB\003\340A\003\022\027\n\nturn_count" + + "\030\013 \001(\005B\003\340A\003\022M\n\017latest_analysis\030\014 \001(\0132/.g" + + "oogle.cloud.contactcenterinsights.v1.Ana" + + "lysisB\003\340A\003\022Z\n\023runtime_annotations\030\r \003(\0132" + + "8.google.cloud.contactcenterinsights.v1." + + "RuntimeAnnotationB\003\340A\003\022k\n\022dialogflow_int" + + "ents\030\022 \003(\0132J.google.cloud.contactcenteri" + + "nsights.v1.Conversation.DialogflowIntent" + + "sEntryB\003\340A\003\022\032\n\022obfuscated_user_id\030\025 \001(\t\032" + + "?\n\014CallMetadata\022\030\n\020customer_channel\030\001 \001(" + + "\005\022\025\n\ragent_channel\030\002 \001(\005\032\206\007\n\nTranscript\022" + + "m\n\023transcript_segments\030\001 \003(\0132P.google.cl" + + "oud.contactcenterinsights.v1.Conversatio" + + "n.Transcript.TranscriptSegment\032\210\006\n\021Trans" + + "criptSegment\0220\n\014message_time\030\006 \001(\0132\032.goo" + + "gle.protobuf.Timestamp\022\014\n\004text\030\001 \001(\t\022\022\n\n" + + "confidence\030\002 \001(\002\022h\n\005words\030\003 \003(\0132Y.google" + + ".cloud.contactcenterinsights.v1.Conversa" + + "tion.Transcript.TranscriptSegment.WordIn" + + "fo\022\025\n\rlanguage_code\030\004 \001(\t\022\023\n\013channel_tag" + + "\030\005 \001(\005\022[\n\023segment_participant\030\t \001(\0132>.go" + + "ogle.cloud.contactcenterinsights.v1.Conv" + + "ersationParticipant\022\217\001\n\033dialogflow_segme" + + "nt_metadata\030\n \001(\0132j.google.cloud.contact" + + "centerinsights.v1.Conversation.Transcrip" + + "t.TranscriptSegment.DialogflowSegmentMet" + + "adata\022G\n\tsentiment\030\013 \001(\01324.google.cloud." + + "contactcenterinsights.v1.SentimentData\032\214" + + "\001\n\010WordInfo\022/\n\014start_offset\030\001 \001(\0132\031.goog" + + "le.protobuf.Duration\022-\n\nend_offset\030\002 \001(\013" + + "2\031.google.protobuf.Duration\022\014\n\004word\030\003 \001(" + + "\t\022\022\n\nconfidence\030\004 \001(\002\032B\n\031DialogflowSegme" + + "ntMetadata\022%\n\035smart_reply_allowlist_cove" + + "red\030\001 \001(\010\032-\n\013LabelsEntry\022\013\n\003key\030\001 \001(\t\022\r\n" + + "\005value\030\002 \001(\t:\0028\001\032q\n\026DialogflowIntentsEnt" + + "ry\022\013\n\003key\030\001 \001(\t\022F\n\005value\030\002 \001(\01327.google." + + "cloud.contactcenterinsights.v1.Dialogflo" + + "wIntent:\0028\001\":\n\006Medium\022\026\n\022MEDIUM_UNSPECIF" + + "IED\020\000\022\016\n\nPHONE_CALL\020\001\022\010\n\004CHAT\020\002:|\352Ay\n1co" + + "ntactcenterinsights.googleapis.com/Conve" + + "rsation\022Dprojects/{project}/locations/{l" + + "ocation}/conversations/{conversation}B\n\n" + + "\010metadataB\014\n\nexpiration\"\305\003\n\010Analysis\022\021\n\004" + + "name\030\001 \001(\tB\003\340A\005\0225\n\014request_time\030\002 \001(\0132\032." + + "google.protobuf.TimestampB\003\340A\003\0224\n\013create" + + "_time\030\003 \001(\0132\032.google.protobuf.TimestampB" + + "\003\340A\003\022S\n\017analysis_result\030\007 \001(\01325.google.c" + + "loud.contactcenterinsights.v1.AnalysisRe" + + "sultB\003\340A\003\022T\n\022annotator_selector\030\010 \001(\01328." + + "google.cloud.contactcenterinsights.v1.An" + + "notatorSelector:\215\001\352A\211\001\n-contactcenterins" + + "ights.googleapis.com/Analysis\022Xprojects/" + + "{project}/locations/{location}/conversat" + + "ions/{conversation}/analyses/{analysis}\"" + + "\300\001\n\026ConversationDataSource\022F\n\ngcs_source" + + "\030\001 \001(\01320.google.cloud.contactcenterinsig" + + "hts.v1.GcsSourceH\000\022T\n\021dialogflow_source\030" + + "\003 \001(\01327.google.cloud.contactcenterinsigh" + + "ts.v1.DialogflowSourceH\000B\010\n\006source\";\n\tGc" + + "sSource\022\021\n\taudio_uri\030\001 \001(\t\022\033\n\016transcript" + + "_uri\030\002 \001(\tB\003\340A\005\"K\n\020DialogflowSource\022$\n\027d" + + "ialogflow_conversation\030\001 \001(\tB\003\340A\003\022\021\n\taud" + + "io_uri\030\003 \001(\t\"\306\010\n\016AnalysisResult\022l\n\026call_" + + "analysis_metadata\030\002 \001(\0132J.google.cloud.c" + + "ontactcenterinsights.v1.AnalysisResult.C" + + "allAnalysisMetadataH\000\022,\n\010end_time\030\001 \001(\0132" + + "\032.google.protobuf.Timestamp\032\213\007\n\024CallAnal" + + "ysisMetadata\022J\n\013annotations\030\002 \003(\01325.goog" + + "le.cloud.contactcenterinsights.v1.CallAn" + + "notation\022j\n\010entities\030\003 \003(\0132X.google.clou" + + "d.contactcenterinsights.v1.AnalysisResul" + + "t.CallAnalysisMetadata.EntitiesEntry\022U\n\n" + + "sentiments\030\004 \003(\0132A.google.cloud.contactc" + + "enterinsights.v1.ConversationLevelSentim" + + "ent\022h\n\007intents\030\006 \003(\0132W.google.cloud.cont" + + "actcenterinsights.v1.AnalysisResult.Call" + + "AnalysisMetadata.IntentsEntry\022w\n\017phrase_" + + "matchers\030\007 \003(\0132^.google.cloud.contactcen" + + "terinsights.v1.AnalysisResult.CallAnalys" + + "isMetadata.PhraseMatchersEntry\022S\n\022issue_" + + "model_result\030\010 \001(\01327.google.cloud.contac" + + "tcenterinsights.v1.IssueModelResult\032^\n\rE" + + "ntitiesEntry\022\013\n\003key\030\001 \001(\t\022<\n\005value\030\002 \001(\013" + + "2-.google.cloud.contactcenterinsights.v1" + + ".Entity:\0028\001\032]\n\014IntentsEntry\022\013\n\003key\030\001 \001(\t" + + "\022<\n\005value\030\002 \001(\0132-.google.cloud.contactce" + + "nterinsights.v1.Intent:\0028\001\032m\n\023PhraseMatc" + + "hersEntry\022\013\n\003key\030\001 \001(\t\022E\n\005value\030\002 \001(\01326." + + "google.cloud.contactcenterinsights.v1.Ph" + + "raseMatchData:\0028\001B\n\n\010metadata\"\245\001\n\020IssueM" + + "odelResult\022I\n\013issue_model\030\001 \001(\tB4\372A1\n/co" + + "ntactcenterinsights.googleapis.com/Issue" + + "Model\022F\n\006issues\030\002 \003(\01326.google.cloud.con" + + "tactcenterinsights.v1.IssueAssignment\"\177\n" + + "\032ConversationLevelSentiment\022\023\n\013channel_t" + + "ag\030\001 \001(\005\022L\n\016sentiment_data\030\002 \001(\01324.googl" + + "e.cloud.contactcenterinsights.v1.Sentime" + + "ntData\"J\n\017IssueAssignment\022\r\n\005issue\030\001 \001(\t" + + "\022\r\n\005score\030\002 \001(\001\022\031\n\014display_name\030\003 \001(\tB\003\340" + + "A\005\"\365\006\n\016CallAnnotation\022T\n\021interruption_da" + + "ta\030\n \001(\01327.google.cloud.contactcenterins" + + "ights.v1.InterruptionDataH\000\022N\n\016sentiment" + + "_data\030\013 \001(\01324.google.cloud.contactcenter" + + "insights.v1.SentimentDataH\000\022J\n\014silence_d" + + "ata\030\014 \001(\01322.google.cloud.contactcenterin" + + "sights.v1.SilenceDataH\000\022D\n\thold_data\030\r \001" + + "(\0132/.google.cloud.contactcenterinsights." + + "v1.HoldDataH\000\022W\n\023entity_mention_data\030\017 \001" + + "(\01328.google.cloud.contactcenterinsights." + + "v1.EntityMentionDataH\000\022S\n\021intent_match_d" + + "ata\030\020 \001(\01326.google.cloud.contactcenterin" + + "sights.v1.IntentMatchDataH\000\022S\n\021phrase_ma" + + "tch_data\030\021 \001(\01326.google.cloud.contactcen" + + "terinsights.v1.PhraseMatchDataH\000\022Q\n\020issu" + + "e_match_data\030\022 \001(\01325.google.cloud.contac" + + "tcenterinsights.v1.IssueMatchDataH\000\022\023\n\013c" + + "hannel_tag\030\001 \001(\005\022\\\n\031annotation_start_bou" + + "ndary\030\004 \001(\01329.google.cloud.contactcenter" + + "insights.v1.AnnotationBoundary\022Z\n\027annota" + + "tion_end_boundary\030\005 \001(\01329.google.cloud.c" + + "ontactcenterinsights.v1.AnnotationBounda" + + "ryB\006\n\004data\"Y\n\022AnnotationBoundary\022\024\n\nword" + + "_index\030\003 \001(\005H\000\022\030\n\020transcript_index\030\001 \001(\005" + + "B\023\n\021detailed_boundary\"\200\004\n\006Entity\022\024\n\014disp" + + "lay_name\030\001 \001(\t\022@\n\004type\030\002 \001(\01622.google.cl" + + "oud.contactcenterinsights.v1.Entity.Type" + + "\022M\n\010metadata\030\003 \003(\0132;.google.cloud.contac" + + "tcenterinsights.v1.Entity.MetadataEntry\022" + + "\020\n\010salience\030\004 \001(\002\022G\n\tsentiment\030\005 \001(\01324.g" + + "oogle.cloud.contactcenterinsights.v1.Sen" + + "timentData\032/\n\rMetadataEntry\022\013\n\003key\030\001 \001(\t" + + "\022\r\n\005value\030\002 \001(\t:\0028\001\"\302\001\n\004Type\022\024\n\020TYPE_UNS" + + "PECIFIED\020\000\022\n\n\006PERSON\020\001\022\014\n\010LOCATION\020\002\022\020\n\014" + + "ORGANIZATION\020\003\022\t\n\005EVENT\020\004\022\017\n\013WORK_OF_ART" + + "\020\005\022\021\n\rCONSUMER_GOOD\020\006\022\t\n\005OTHER\020\007\022\020\n\014PHON" + + "E_NUMBER\020\t\022\013\n\007ADDRESS\020\n\022\010\n\004DATE\020\013\022\n\n\006NUM" + + "BER\020\014\022\t\n\005PRICE\020\r\"*\n\006Intent\022\n\n\002id\030\001 \001(\t\022\024" + + "\n\014display_name\030\002 \001(\t\"?\n\017PhraseMatchData\022" + + "\026\n\016phrase_matcher\030\001 \001(\t\022\024\n\014display_name\030" + + "\002 \001(\t\"(\n\020DialogflowIntent\022\024\n\014display_nam" + + "e\030\001 \001(\t\"\022\n\020InterruptionData\"\r\n\013SilenceDa" + + "ta\"\n\n\010HoldData\"\217\002\n\021EntityMentionData\022\030\n\020" + + "entity_unique_id\030\001 \001(\t\022R\n\004type\030\002 \001(\0162D.g" + + "oogle.cloud.contactcenterinsights.v1.Ent" + + "ityMentionData.MentionType\022G\n\tsentiment\030" + + "\003 \001(\01324.google.cloud.contactcenterinsigh" + + "ts.v1.SentimentData\"C\n\013MentionType\022\034\n\030ME" + + "NTION_TYPE_UNSPECIFIED\020\000\022\n\n\006PROPER\020\001\022\n\n\006" + + "COMMON\020\002\"+\n\017IntentMatchData\022\030\n\020intent_un" + + "ique_id\030\001 \001(\t\"1\n\rSentimentData\022\021\n\tmagnit" + + "ude\030\001 \001(\002\022\r\n\005score\030\002 \001(\002\"b\n\016IssueMatchDa" + + "ta\022P\n\020issue_assignment\030\001 \001(\01326.google.cl" + + "oud.contactcenterinsights.v1.IssueAssign" + + "ment\"\307\006\n\nIssueModel\022\021\n\004name\030\001 \001(\tB\003\340A\005\022\024" + + "\n\014display_name\030\002 \001(\t\0224\n\013create_time\030\003 \001(" + + "\0132\032.google.protobuf.TimestampB\003\340A\003\0224\n\013up" + + "date_time\030\004 \001(\0132\032.google.protobuf.Timest" + + "ampB\003\340A\003\022\030\n\013issue_count\030\010 \001(\003B\003\340A\003\022K\n\005st" + + "ate\030\005 \001(\01627.google.cloud.contactcenterin" + + "sights.v1.IssueModel.StateB\003\340A\003\022\\\n\021input" + + "_data_config\030\006 \001(\0132A.google.cloud.contac" + + "tcenterinsights.v1.IssueModel.InputDataC" + + "onfig\022[\n\016training_stats\030\007 \001(\0132;.google.c" + + "loud.contactcenterinsights.v1.IssueModel" + + "LabelStatsB\006\340A\003\340A\005\032\234\001\n\017InputDataConfig\022N" + + "\n\006medium\030\001 \001(\0162:.google.cloud.contactcen" + + "terinsights.v1.Conversation.MediumB\002\030\001\022)" + + "\n\034training_conversations_count\030\002 \001(\003B\003\340A" + + "\003\022\016\n\006filter\030\003 \001(\t\"j\n\005State\022\025\n\021STATE_UNSP" + + "ECIFIED\020\000\022\016\n\nUNDEPLOYED\020\001\022\r\n\tDEPLOYING\020\002" + + "\022\014\n\010DEPLOYED\020\003\022\017\n\013UNDEPLOYING\020\004\022\014\n\010DELET" + + "ING\020\005:w\352At\n/contactcenterinsights.google" + + "apis.com/IssueModel\022Aprojects/{project}/" + + "locations/{location}/issueModels/{issue_" + + "model}\"\300\002\n\005Issue\022\021\n\004name\030\001 \001(\tB\003\340A\005\022\024\n\014d" + + "isplay_name\030\002 \001(\t\0224\n\013create_time\030\003 \001(\0132\032" + + ".google.protobuf.TimestampB\003\340A\003\0224\n\013updat" + + "e_time\030\004 \001(\0132\032.google.protobuf.Timestamp" + + "B\003\340A\003\022\036\n\021sample_utterances\030\006 \003(\tB\003\340A\003:\201\001" + + "\352A~\n*contactcenterinsights.googleapis.co" + + "m/Issue\022Pprojects/{project}/locations/{l" + + "ocation}/issueModels/{issue_model}/issue" + + "s/{issue}\"\233\003\n\024IssueModelLabelStats\022$\n\034an" + + "alyzed_conversations_count\030\001 \001(\003\022(\n uncl" + + "assified_conversations_count\030\002 \001(\003\022`\n\013is" + + "sue_stats\030\003 \003(\0132K.google.cloud.contactce" + + "nterinsights.v1.IssueModelLabelStats.Iss" + + "ueStatsEntry\032V\n\nIssueStats\022\r\n\005issue\030\001 \001(" + + "\t\022#\n\033labeled_conversations_count\030\002 \001(\003\022\024" + + "\n\014display_name\030\003 \001(\t\032y\n\017IssueStatsEntry\022" + + "\013\n\003key\030\001 \001(\t\022U\n\005value\030\002 \001(\0132F.google.clo" + + "ud.contactcenterinsights.v1.IssueModelLa" + + "belStats.IssueStats:\0028\001\"\223\006\n\rPhraseMatche" + + "r\022\014\n\004name\030\001 \001(\t\022\033\n\013revision_id\030\002 \001(\tB\006\340A" + + "\005\340A\003\022\023\n\013version_tag\030\003 \001(\t\022=\n\024revision_cr" + + "eate_time\030\004 \001(\0132\032.google.protobuf.Timest" + + "ampB\003\340A\003\022\024\n\014display_name\030\005 \001(\t\022Y\n\004type\030\006" + + " \001(\0162F.google.cloud.contactcenterinsight" + + "s.v1.PhraseMatcher.PhraseMatcherTypeB\003\340A" + + "\002\022\016\n\006active\030\007 \001(\010\022]\n\030phrase_match_rule_g" + + "roups\030\010 \003(\0132;.google.cloud.contactcenter" + + "insights.v1.PhraseMatchRuleGroup\022?\n\026acti" + + "vation_update_time\030\t \001(\0132\032.google.protob" + + "uf.TimestampB\003\340A\003\022W\n\nrole_match\030\n \001(\0162C." + + "google.cloud.contactcenterinsights.v1.Co" + + "nversationParticipant.Role\0224\n\013update_tim" + + "e\030\013 \001(\0132\032.google.protobuf.TimestampB\003\340A\003" + + "\"P\n\021PhraseMatcherType\022#\n\037PHRASE_MATCHER_" + + "TYPE_UNSPECIFIED\020\000\022\n\n\006ALL_OF\020\001\022\n\n\006ANY_OF" + + "\020\002:\200\001\352A}\n2contactcenterinsights.googleap" + + "is.com/PhraseMatcher\022Gprojects/{project}" + + "/locations/{location}/phraseMatchers/{ph" + + "rase_matcher}\"\265\002\n\024PhraseMatchRuleGroup\022g" + + "\n\004type\030\001 \001(\0162T.google.cloud.contactcente" + + "rinsights.v1.PhraseMatchRuleGroup.Phrase" + + "MatchRuleGroupTypeB\003\340A\002\022R\n\022phrase_match_" + + "rules\030\002 \003(\01326.google.cloud.contactcenter" + + "insights.v1.PhraseMatchRule\"`\n\030PhraseMat" + + "chRuleGroupType\022,\n(PHRASE_MATCH_RULE_GRO" + + "UP_TYPE_UNSPECIFIED\020\000\022\n\n\006ALL_OF\020\001\022\n\n\006ANY" + + "_OF\020\002\"\204\001\n\017PhraseMatchRule\022\022\n\005query\030\001 \001(\t" + + "B\003\340A\002\022\017\n\007negated\030\002 \001(\010\022L\n\006config\030\003 \001(\0132<" + + ".google.cloud.contactcenterinsights.v1.P" + + "hraseMatchRuleConfig\"x\n\025PhraseMatchRuleC" + + "onfig\022U\n\022exact_match_config\030\001 \001(\01327.goog" + + "le.cloud.contactcenterinsights.v1.ExactM" + + "atchConfigH\000B\010\n\006config\"*\n\020ExactMatchConf" + + "ig\022\026\n\016case_sensitive\030\001 \001(\010\"\350\005\n\010Settings\022" + + "\021\n\004name\030\001 \001(\tB\003\340A\005\0224\n\013create_time\030\002 \001(\0132" + + "\032.google.protobuf.TimestampB\003\340A\003\0224\n\013upda" + + "te_time\030\003 \001(\0132\032.google.protobuf.Timestam" + + "pB\003\340A\003\022\025\n\rlanguage_code\030\004 \001(\t\0223\n\020convers" + + "ation_ttl\030\005 \001(\0132\031.google.protobuf.Durati" + + "on\022u\n\034pubsub_notification_settings\030\006 \003(\013" + + "2O.google.cloud.contactcenterinsights.v1" + + ".Settings.PubsubNotificationSettingsEntr" + + "y\022W\n\017analysis_config\030\007 \001(\0132>.google.clou" + + "d.contactcenterinsights.v1.Settings.Anal" + + "ysisConfig\032\227\001\n\016AnalysisConfig\022/\n\'runtime" + + "_integration_analysis_percentage\030\001 \001(\001\022T" + + "\n\022annotator_selector\030\005 \001(\01328.google.clou" + + "d.contactcenterinsights.v1.AnnotatorSele" + + "ctor\032A\n\037PubsubNotificationSettingsEntry\022" + + "\013\n\003key\030\001 \001(\t\022\r\n\005value\030\002 \001(\t:\0028\001:d\352Aa\n-co" + + "ntactcenterinsights.googleapis.com/Setti" + + "ngs\0220projects/{project}/locations/{locat" + + "ion}/settings\"\230\006\n\021RuntimeAnnotation\022Z\n\022a" + + "rticle_suggestion\030\006 \001(\0132<.google.cloud.c" + + "ontactcenterinsights.v1.ArticleSuggestio" + + "nDataH\000\022J\n\nfaq_answer\030\007 \001(\01324.google.clo" + + "ud.contactcenterinsights.v1.FaqAnswerDat" + + "aH\000\022L\n\013smart_reply\030\010 \001(\01325.google.cloud." + + "contactcenterinsights.v1.SmartReplyDataH" + + "\000\022e\n\030smart_compose_suggestion\030\t \001(\0132A.go" + + "ogle.cloud.contactcenterinsights.v1.Smar" + + "tComposeSuggestionDataH\000\022b\n\026dialogflow_i" + + "nteraction\030\n \001(\0132@.google.cloud.contactc" + + "enterinsights.v1.DialogflowInteractionDa" + + "taH\000\022\025\n\rannotation_id\030\001 \001(\t\022/\n\013create_ti" + + "me\030\002 \001(\0132\032.google.protobuf.Timestamp\022Q\n\016" + + "start_boundary\030\003 \001(\01329.google.cloud.cont" + + "actcenterinsights.v1.AnnotationBoundary\022" + + "O\n\014end_boundary\030\004 \001(\01329.google.cloud.con" + + "tactcenterinsights.v1.AnnotationBoundary" + + "\022N\n\017answer_feedback\030\005 \001(\01325.google.cloud" + + ".contactcenterinsights.v1.AnswerFeedback" + + "B\006\n\004data\"\211\002\n\016AnswerFeedback\022a\n\021correctne" + + "ss_level\030\001 \001(\0162F.google.cloud.contactcen" + + "terinsights.v1.AnswerFeedback.Correctnes" + + "sLevel\022\017\n\007clicked\030\002 \001(\010\022\021\n\tdisplayed\030\003 \001" + + "(\010\"p\n\020CorrectnessLevel\022!\n\035CORRECTNESS_LE" + + "VEL_UNSPECIFIED\020\000\022\017\n\013NOT_CORRECT\020\001\022\025\n\021PA" + + "RTIALLY_CORRECT\020\002\022\021\n\rFULLY_CORRECT\020\003\"\202\002\n" + + "\025ArticleSuggestionData\022\r\n\005title\030\001 \001(\t\022\013\n" + + "\003uri\030\002 \001(\t\022\030\n\020confidence_score\030\003 \001(\002\022\\\n\010" + + "metadata\030\004 \003(\0132J.google.cloud.contactcen" + + "terinsights.v1.ArticleSuggestionData.Met" + + "adataEntry\022\024\n\014query_record\030\005 \001(\t\022\016\n\006sour" + + "ce\030\006 \001(\t\032/\n\rMetadataEntry\022\013\n\003key\030\001 \001(\t\022\r" + + "\n\005value\030\002 \001(\t:\0028\001\"\370\001\n\rFaqAnswerData\022\016\n\006a" + + "nswer\030\001 \001(\t\022\030\n\020confidence_score\030\002 \001(\002\022\020\n" + + "\010question\030\003 \001(\t\022T\n\010metadata\030\004 \003(\0132B.goog" + + "le.cloud.contactcenterinsights.v1.FaqAns" + + "werData.MetadataEntry\022\024\n\014query_record\030\005 " + + "\001(\t\022\016\n\006source\030\006 \001(\t\032/\n\rMetadataEntry\022\013\n\003" + + "key\030\001 \001(\t\022\r\n\005value\030\002 \001(\t:\0028\001\"\327\001\n\016SmartRe" + + "plyData\022\r\n\005reply\030\001 \001(\t\022\030\n\020confidence_sco" + + "re\030\002 \001(\001\022U\n\010metadata\030\003 \003(\0132C.google.clou" + + "d.contactcenterinsights.v1.SmartReplyDat" + + "a.MetadataEntry\022\024\n\014query_record\030\004 \001(\t\032/\n" + + "\rMetadataEntry\022\013\n\003key\030\001 \001(\t\022\r\n\005value\030\002 \001" + + "(\t:\0028\001\"\364\001\n\032SmartComposeSuggestionData\022\022\n" + + "\nsuggestion\030\001 \001(\t\022\030\n\020confidence_score\030\002 " + + "\001(\001\022a\n\010metadata\030\003 \003(\0132O.google.cloud.con" + + "tactcenterinsights.v1.SmartComposeSugges" + + "tionData.MetadataEntry\022\024\n\014query_record\030\004" + + " \001(\t\032/\n\rMetadataEntry\022\013\n\003key\030\001 \001(\t\022\r\n\005va" + + "lue\030\002 \001(\t:\0028\001\"M\n\031DialogflowInteractionDa" + + "ta\022\034\n\024dialogflow_intent_id\030\001 \001(\t\022\022\n\nconf" + + "idence\030\002 \001(\002\"\213\003\n\027ConversationParticipant" + + "\022Q\n\033dialogflow_participant_name\030\005 \001(\tB*\372" + + "A\'\n%dialogflow.googleapis.com/Participan" + + "tH\000\022\021\n\007user_id\030\006 \001(\tH\000\022\"\n\026dialogflow_par" + + "ticipant\030\001 \001(\tB\002\030\001\022#\n\033obfuscated_externa" + + "l_user_id\030\003 \001(\t\022Q\n\004role\030\002 \001(\0162C.google.c" + + "loud.contactcenterinsights.v1.Conversati" + + "onParticipant.Role\"_\n\004Role\022\024\n\020ROLE_UNSPE" + + "CIFIED\020\000\022\017\n\013HUMAN_AGENT\020\001\022\023\n\017AUTOMATED_A" + + "GENT\020\002\022\014\n\010END_USER\020\003\022\r\n\tANY_AGENT\020\004B\r\n\013p" + + "articipant\"\220\002\n\004View\022\021\n\004name\030\001 \001(\tB\003\340A\005\022\024" + + "\n\014display_name\030\002 \001(\t\0224\n\013create_time\030\003 \001(" + + "\0132\032.google.protobuf.TimestampB\003\340A\003\0224\n\013up" + + "date_time\030\004 \001(\0132\032.google.protobuf.Timest" + + "ampB\003\340A\003\022\r\n\005value\030\005 \001(\t:d\352Aa\n)contactcen" + + "terinsights.googleapis.com/View\0224project" + + "s/{project}/locations/{location}/views/{" + + "view}\"\232\003\n\021AnnotatorSelector\022\"\n\032run_inter" + + "ruption_annotator\030\001 \001(\010\022\035\n\025run_silence_a" + + "nnotator\030\002 \001(\010\022$\n\034run_phrase_matcher_ann" + + "otator\030\003 \001(\010\022P\n\017phrase_matchers\030\004 \003(\tB7\372" + + "A4\n2contactcenterinsights.googleapis.com" + + "/PhraseMatcher\022\037\n\027run_sentiment_annotato" + + "r\030\005 \001(\010\022\034\n\024run_entity_annotator\030\006 \001(\010\022\034\n" + + "\024run_intent_annotator\030\007 \001(\010\022!\n\031run_issue" + + "_model_annotator\030\010 \001(\010\022J\n\014issue_models\030\n" + + " \003(\tB4\372A1\n/contactcenterinsights.googlea" + + "pis.com/IssueModelB\361\003\n)com.google.cloud." + + "contactcenterinsights.v1B\016ResourcesProto" + + "P\001Z_cloud.google.com/go/contactcenterins" + + "ights/apiv1/contactcenterinsightspb;cont" + + "actcenterinsightspb\252\002%Google.Cloud.Conta" + + "ctCenterInsights.V1\312\002%Google\\Cloud\\Conta" + + "ctCenterInsights\\V1\352\002(Google::Cloud::Con" + + "tactCenterInsights::V1\352A\324\001\n%dialogflow.g" + + "oogleapis.com/Participant\022Jprojects/{pro" + + "ject}/conversations/{conversation}/parti" + + "cipants/{participant}\022_projects/{project" + + "}/locations/{location}/conversations/{co" + + "nversation}/participants/{participant}b\006" + + "proto3" + }; + descriptor = com.google.protobuf.Descriptors.FileDescriptor + .internalBuildGeneratedFileFrom(descriptorData, + new com.google.protobuf.Descriptors.FileDescriptor[] { + com.google.api.FieldBehaviorProto.getDescriptor(), + com.google.api.ResourceProto.getDescriptor(), + com.google.protobuf.DurationProto.getDescriptor(), + com.google.protobuf.TimestampProto.getDescriptor(), + }); + internal_static_google_cloud_contactcenterinsights_v1_Conversation_descriptor = + getDescriptor().getMessageTypes().get(0); + internal_static_google_cloud_contactcenterinsights_v1_Conversation_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_contactcenterinsights_v1_Conversation_descriptor, + new java.lang.String[] { "CallMetadata", "ExpireTime", "Ttl", "Name", "DataSource", "CreateTime", "UpdateTime", "StartTime", "LanguageCode", "AgentId", "Labels", "Transcript", "Medium", "Duration", "TurnCount", "LatestAnalysis", "RuntimeAnnotations", "DialogflowIntents", "ObfuscatedUserId", "Metadata", "Expiration", }); + internal_static_google_cloud_contactcenterinsights_v1_Conversation_CallMetadata_descriptor = + internal_static_google_cloud_contactcenterinsights_v1_Conversation_descriptor.getNestedTypes().get(0); + internal_static_google_cloud_contactcenterinsights_v1_Conversation_CallMetadata_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_contactcenterinsights_v1_Conversation_CallMetadata_descriptor, + new java.lang.String[] { "CustomerChannel", "AgentChannel", }); + internal_static_google_cloud_contactcenterinsights_v1_Conversation_Transcript_descriptor = + internal_static_google_cloud_contactcenterinsights_v1_Conversation_descriptor.getNestedTypes().get(1); + internal_static_google_cloud_contactcenterinsights_v1_Conversation_Transcript_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_contactcenterinsights_v1_Conversation_Transcript_descriptor, + new java.lang.String[] { "TranscriptSegments", }); + internal_static_google_cloud_contactcenterinsights_v1_Conversation_Transcript_TranscriptSegment_descriptor = + internal_static_google_cloud_contactcenterinsights_v1_Conversation_Transcript_descriptor.getNestedTypes().get(0); + internal_static_google_cloud_contactcenterinsights_v1_Conversation_Transcript_TranscriptSegment_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_contactcenterinsights_v1_Conversation_Transcript_TranscriptSegment_descriptor, + new java.lang.String[] { "MessageTime", "Text", "Confidence", "Words", "LanguageCode", "ChannelTag", "SegmentParticipant", "DialogflowSegmentMetadata", "Sentiment", }); + internal_static_google_cloud_contactcenterinsights_v1_Conversation_Transcript_TranscriptSegment_WordInfo_descriptor = + internal_static_google_cloud_contactcenterinsights_v1_Conversation_Transcript_TranscriptSegment_descriptor.getNestedTypes().get(0); + internal_static_google_cloud_contactcenterinsights_v1_Conversation_Transcript_TranscriptSegment_WordInfo_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_contactcenterinsights_v1_Conversation_Transcript_TranscriptSegment_WordInfo_descriptor, + new java.lang.String[] { "StartOffset", "EndOffset", "Word", "Confidence", }); + internal_static_google_cloud_contactcenterinsights_v1_Conversation_Transcript_TranscriptSegment_DialogflowSegmentMetadata_descriptor = + internal_static_google_cloud_contactcenterinsights_v1_Conversation_Transcript_TranscriptSegment_descriptor.getNestedTypes().get(1); + internal_static_google_cloud_contactcenterinsights_v1_Conversation_Transcript_TranscriptSegment_DialogflowSegmentMetadata_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_contactcenterinsights_v1_Conversation_Transcript_TranscriptSegment_DialogflowSegmentMetadata_descriptor, + new java.lang.String[] { "SmartReplyAllowlistCovered", }); + internal_static_google_cloud_contactcenterinsights_v1_Conversation_LabelsEntry_descriptor = + internal_static_google_cloud_contactcenterinsights_v1_Conversation_descriptor.getNestedTypes().get(2); + internal_static_google_cloud_contactcenterinsights_v1_Conversation_LabelsEntry_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_contactcenterinsights_v1_Conversation_LabelsEntry_descriptor, + new java.lang.String[] { "Key", "Value", }); + internal_static_google_cloud_contactcenterinsights_v1_Conversation_DialogflowIntentsEntry_descriptor = + internal_static_google_cloud_contactcenterinsights_v1_Conversation_descriptor.getNestedTypes().get(3); + internal_static_google_cloud_contactcenterinsights_v1_Conversation_DialogflowIntentsEntry_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_contactcenterinsights_v1_Conversation_DialogflowIntentsEntry_descriptor, + new java.lang.String[] { "Key", "Value", }); + internal_static_google_cloud_contactcenterinsights_v1_Analysis_descriptor = + getDescriptor().getMessageTypes().get(1); + internal_static_google_cloud_contactcenterinsights_v1_Analysis_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_contactcenterinsights_v1_Analysis_descriptor, + new java.lang.String[] { "Name", "RequestTime", "CreateTime", "AnalysisResult", "AnnotatorSelector", }); + internal_static_google_cloud_contactcenterinsights_v1_ConversationDataSource_descriptor = + getDescriptor().getMessageTypes().get(2); + internal_static_google_cloud_contactcenterinsights_v1_ConversationDataSource_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_contactcenterinsights_v1_ConversationDataSource_descriptor, + new java.lang.String[] { "GcsSource", "DialogflowSource", "Source", }); + internal_static_google_cloud_contactcenterinsights_v1_GcsSource_descriptor = + getDescriptor().getMessageTypes().get(3); + internal_static_google_cloud_contactcenterinsights_v1_GcsSource_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_contactcenterinsights_v1_GcsSource_descriptor, + new java.lang.String[] { "AudioUri", "TranscriptUri", }); + internal_static_google_cloud_contactcenterinsights_v1_DialogflowSource_descriptor = + getDescriptor().getMessageTypes().get(4); + internal_static_google_cloud_contactcenterinsights_v1_DialogflowSource_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_contactcenterinsights_v1_DialogflowSource_descriptor, + new java.lang.String[] { "DialogflowConversation", "AudioUri", }); + internal_static_google_cloud_contactcenterinsights_v1_AnalysisResult_descriptor = + getDescriptor().getMessageTypes().get(5); + internal_static_google_cloud_contactcenterinsights_v1_AnalysisResult_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_contactcenterinsights_v1_AnalysisResult_descriptor, + new java.lang.String[] { "CallAnalysisMetadata", "EndTime", "Metadata", }); + internal_static_google_cloud_contactcenterinsights_v1_AnalysisResult_CallAnalysisMetadata_descriptor = + internal_static_google_cloud_contactcenterinsights_v1_AnalysisResult_descriptor.getNestedTypes().get(0); + internal_static_google_cloud_contactcenterinsights_v1_AnalysisResult_CallAnalysisMetadata_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_contactcenterinsights_v1_AnalysisResult_CallAnalysisMetadata_descriptor, + new java.lang.String[] { "Annotations", "Entities", "Sentiments", "Intents", "PhraseMatchers", "IssueModelResult", }); + internal_static_google_cloud_contactcenterinsights_v1_AnalysisResult_CallAnalysisMetadata_EntitiesEntry_descriptor = + internal_static_google_cloud_contactcenterinsights_v1_AnalysisResult_CallAnalysisMetadata_descriptor.getNestedTypes().get(0); + internal_static_google_cloud_contactcenterinsights_v1_AnalysisResult_CallAnalysisMetadata_EntitiesEntry_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_contactcenterinsights_v1_AnalysisResult_CallAnalysisMetadata_EntitiesEntry_descriptor, + new java.lang.String[] { "Key", "Value", }); + internal_static_google_cloud_contactcenterinsights_v1_AnalysisResult_CallAnalysisMetadata_IntentsEntry_descriptor = + internal_static_google_cloud_contactcenterinsights_v1_AnalysisResult_CallAnalysisMetadata_descriptor.getNestedTypes().get(1); + internal_static_google_cloud_contactcenterinsights_v1_AnalysisResult_CallAnalysisMetadata_IntentsEntry_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_contactcenterinsights_v1_AnalysisResult_CallAnalysisMetadata_IntentsEntry_descriptor, + new java.lang.String[] { "Key", "Value", }); + internal_static_google_cloud_contactcenterinsights_v1_AnalysisResult_CallAnalysisMetadata_PhraseMatchersEntry_descriptor = + internal_static_google_cloud_contactcenterinsights_v1_AnalysisResult_CallAnalysisMetadata_descriptor.getNestedTypes().get(2); + internal_static_google_cloud_contactcenterinsights_v1_AnalysisResult_CallAnalysisMetadata_PhraseMatchersEntry_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_contactcenterinsights_v1_AnalysisResult_CallAnalysisMetadata_PhraseMatchersEntry_descriptor, + new java.lang.String[] { "Key", "Value", }); + internal_static_google_cloud_contactcenterinsights_v1_IssueModelResult_descriptor = + getDescriptor().getMessageTypes().get(6); + internal_static_google_cloud_contactcenterinsights_v1_IssueModelResult_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_contactcenterinsights_v1_IssueModelResult_descriptor, + new java.lang.String[] { "IssueModel", "Issues", }); + internal_static_google_cloud_contactcenterinsights_v1_ConversationLevelSentiment_descriptor = + getDescriptor().getMessageTypes().get(7); + internal_static_google_cloud_contactcenterinsights_v1_ConversationLevelSentiment_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_contactcenterinsights_v1_ConversationLevelSentiment_descriptor, + new java.lang.String[] { "ChannelTag", "SentimentData", }); + internal_static_google_cloud_contactcenterinsights_v1_IssueAssignment_descriptor = + getDescriptor().getMessageTypes().get(8); + internal_static_google_cloud_contactcenterinsights_v1_IssueAssignment_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_contactcenterinsights_v1_IssueAssignment_descriptor, + new java.lang.String[] { "Issue", "Score", "DisplayName", }); + internal_static_google_cloud_contactcenterinsights_v1_CallAnnotation_descriptor = + getDescriptor().getMessageTypes().get(9); + internal_static_google_cloud_contactcenterinsights_v1_CallAnnotation_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_contactcenterinsights_v1_CallAnnotation_descriptor, + new java.lang.String[] { "InterruptionData", "SentimentData", "SilenceData", "HoldData", "EntityMentionData", "IntentMatchData", "PhraseMatchData", "IssueMatchData", "ChannelTag", "AnnotationStartBoundary", "AnnotationEndBoundary", "Data", }); + internal_static_google_cloud_contactcenterinsights_v1_AnnotationBoundary_descriptor = + getDescriptor().getMessageTypes().get(10); + internal_static_google_cloud_contactcenterinsights_v1_AnnotationBoundary_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_contactcenterinsights_v1_AnnotationBoundary_descriptor, + new java.lang.String[] { "WordIndex", "TranscriptIndex", "DetailedBoundary", }); + internal_static_google_cloud_contactcenterinsights_v1_Entity_descriptor = + getDescriptor().getMessageTypes().get(11); + internal_static_google_cloud_contactcenterinsights_v1_Entity_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_contactcenterinsights_v1_Entity_descriptor, + new java.lang.String[] { "DisplayName", "Type", "Metadata", "Salience", "Sentiment", }); + internal_static_google_cloud_contactcenterinsights_v1_Entity_MetadataEntry_descriptor = + internal_static_google_cloud_contactcenterinsights_v1_Entity_descriptor.getNestedTypes().get(0); + internal_static_google_cloud_contactcenterinsights_v1_Entity_MetadataEntry_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_contactcenterinsights_v1_Entity_MetadataEntry_descriptor, + new java.lang.String[] { "Key", "Value", }); + internal_static_google_cloud_contactcenterinsights_v1_Intent_descriptor = + getDescriptor().getMessageTypes().get(12); + internal_static_google_cloud_contactcenterinsights_v1_Intent_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_contactcenterinsights_v1_Intent_descriptor, + new java.lang.String[] { "Id", "DisplayName", }); + internal_static_google_cloud_contactcenterinsights_v1_PhraseMatchData_descriptor = + getDescriptor().getMessageTypes().get(13); + internal_static_google_cloud_contactcenterinsights_v1_PhraseMatchData_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_contactcenterinsights_v1_PhraseMatchData_descriptor, + new java.lang.String[] { "PhraseMatcher", "DisplayName", }); + internal_static_google_cloud_contactcenterinsights_v1_DialogflowIntent_descriptor = + getDescriptor().getMessageTypes().get(14); + internal_static_google_cloud_contactcenterinsights_v1_DialogflowIntent_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_contactcenterinsights_v1_DialogflowIntent_descriptor, + new java.lang.String[] { "DisplayName", }); + internal_static_google_cloud_contactcenterinsights_v1_InterruptionData_descriptor = + getDescriptor().getMessageTypes().get(15); + internal_static_google_cloud_contactcenterinsights_v1_InterruptionData_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_contactcenterinsights_v1_InterruptionData_descriptor, + new java.lang.String[] { }); + internal_static_google_cloud_contactcenterinsights_v1_SilenceData_descriptor = + getDescriptor().getMessageTypes().get(16); + internal_static_google_cloud_contactcenterinsights_v1_SilenceData_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_contactcenterinsights_v1_SilenceData_descriptor, + new java.lang.String[] { }); + internal_static_google_cloud_contactcenterinsights_v1_HoldData_descriptor = + getDescriptor().getMessageTypes().get(17); + internal_static_google_cloud_contactcenterinsights_v1_HoldData_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_contactcenterinsights_v1_HoldData_descriptor, + new java.lang.String[] { }); + internal_static_google_cloud_contactcenterinsights_v1_EntityMentionData_descriptor = + getDescriptor().getMessageTypes().get(18); + internal_static_google_cloud_contactcenterinsights_v1_EntityMentionData_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_contactcenterinsights_v1_EntityMentionData_descriptor, + new java.lang.String[] { "EntityUniqueId", "Type", "Sentiment", }); + internal_static_google_cloud_contactcenterinsights_v1_IntentMatchData_descriptor = + getDescriptor().getMessageTypes().get(19); + internal_static_google_cloud_contactcenterinsights_v1_IntentMatchData_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_contactcenterinsights_v1_IntentMatchData_descriptor, + new java.lang.String[] { "IntentUniqueId", }); + internal_static_google_cloud_contactcenterinsights_v1_SentimentData_descriptor = + getDescriptor().getMessageTypes().get(20); + internal_static_google_cloud_contactcenterinsights_v1_SentimentData_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_contactcenterinsights_v1_SentimentData_descriptor, + new java.lang.String[] { "Magnitude", "Score", }); + internal_static_google_cloud_contactcenterinsights_v1_IssueMatchData_descriptor = + getDescriptor().getMessageTypes().get(21); + internal_static_google_cloud_contactcenterinsights_v1_IssueMatchData_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_contactcenterinsights_v1_IssueMatchData_descriptor, + new java.lang.String[] { "IssueAssignment", }); + internal_static_google_cloud_contactcenterinsights_v1_IssueModel_descriptor = + getDescriptor().getMessageTypes().get(22); + internal_static_google_cloud_contactcenterinsights_v1_IssueModel_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_contactcenterinsights_v1_IssueModel_descriptor, + new java.lang.String[] { "Name", "DisplayName", "CreateTime", "UpdateTime", "IssueCount", "State", "InputDataConfig", "TrainingStats", }); + internal_static_google_cloud_contactcenterinsights_v1_IssueModel_InputDataConfig_descriptor = + internal_static_google_cloud_contactcenterinsights_v1_IssueModel_descriptor.getNestedTypes().get(0); + internal_static_google_cloud_contactcenterinsights_v1_IssueModel_InputDataConfig_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_contactcenterinsights_v1_IssueModel_InputDataConfig_descriptor, + new java.lang.String[] { "Medium", "TrainingConversationsCount", "Filter", }); + internal_static_google_cloud_contactcenterinsights_v1_Issue_descriptor = + getDescriptor().getMessageTypes().get(23); + internal_static_google_cloud_contactcenterinsights_v1_Issue_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_contactcenterinsights_v1_Issue_descriptor, + new java.lang.String[] { "Name", "DisplayName", "CreateTime", "UpdateTime", "SampleUtterances", }); + internal_static_google_cloud_contactcenterinsights_v1_IssueModelLabelStats_descriptor = + getDescriptor().getMessageTypes().get(24); + internal_static_google_cloud_contactcenterinsights_v1_IssueModelLabelStats_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_contactcenterinsights_v1_IssueModelLabelStats_descriptor, + new java.lang.String[] { "AnalyzedConversationsCount", "UnclassifiedConversationsCount", "IssueStats", }); + internal_static_google_cloud_contactcenterinsights_v1_IssueModelLabelStats_IssueStats_descriptor = + internal_static_google_cloud_contactcenterinsights_v1_IssueModelLabelStats_descriptor.getNestedTypes().get(0); + internal_static_google_cloud_contactcenterinsights_v1_IssueModelLabelStats_IssueStats_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_contactcenterinsights_v1_IssueModelLabelStats_IssueStats_descriptor, + new java.lang.String[] { "Issue", "LabeledConversationsCount", "DisplayName", }); + internal_static_google_cloud_contactcenterinsights_v1_IssueModelLabelStats_IssueStatsEntry_descriptor = + internal_static_google_cloud_contactcenterinsights_v1_IssueModelLabelStats_descriptor.getNestedTypes().get(1); + internal_static_google_cloud_contactcenterinsights_v1_IssueModelLabelStats_IssueStatsEntry_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_contactcenterinsights_v1_IssueModelLabelStats_IssueStatsEntry_descriptor, + new java.lang.String[] { "Key", "Value", }); + internal_static_google_cloud_contactcenterinsights_v1_PhraseMatcher_descriptor = + getDescriptor().getMessageTypes().get(25); + internal_static_google_cloud_contactcenterinsights_v1_PhraseMatcher_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_contactcenterinsights_v1_PhraseMatcher_descriptor, + new java.lang.String[] { "Name", "RevisionId", "VersionTag", "RevisionCreateTime", "DisplayName", "Type", "Active", "PhraseMatchRuleGroups", "ActivationUpdateTime", "RoleMatch", "UpdateTime", }); + internal_static_google_cloud_contactcenterinsights_v1_PhraseMatchRuleGroup_descriptor = + getDescriptor().getMessageTypes().get(26); + internal_static_google_cloud_contactcenterinsights_v1_PhraseMatchRuleGroup_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_contactcenterinsights_v1_PhraseMatchRuleGroup_descriptor, + new java.lang.String[] { "Type", "PhraseMatchRules", }); + internal_static_google_cloud_contactcenterinsights_v1_PhraseMatchRule_descriptor = + getDescriptor().getMessageTypes().get(27); + internal_static_google_cloud_contactcenterinsights_v1_PhraseMatchRule_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_contactcenterinsights_v1_PhraseMatchRule_descriptor, + new java.lang.String[] { "Query", "Negated", "Config", }); + internal_static_google_cloud_contactcenterinsights_v1_PhraseMatchRuleConfig_descriptor = + getDescriptor().getMessageTypes().get(28); + internal_static_google_cloud_contactcenterinsights_v1_PhraseMatchRuleConfig_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_contactcenterinsights_v1_PhraseMatchRuleConfig_descriptor, + new java.lang.String[] { "ExactMatchConfig", "Config", }); + internal_static_google_cloud_contactcenterinsights_v1_ExactMatchConfig_descriptor = + getDescriptor().getMessageTypes().get(29); + internal_static_google_cloud_contactcenterinsights_v1_ExactMatchConfig_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_contactcenterinsights_v1_ExactMatchConfig_descriptor, + new java.lang.String[] { "CaseSensitive", }); + internal_static_google_cloud_contactcenterinsights_v1_Settings_descriptor = + getDescriptor().getMessageTypes().get(30); + internal_static_google_cloud_contactcenterinsights_v1_Settings_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_contactcenterinsights_v1_Settings_descriptor, + new java.lang.String[] { "Name", "CreateTime", "UpdateTime", "LanguageCode", "ConversationTtl", "PubsubNotificationSettings", "AnalysisConfig", }); + internal_static_google_cloud_contactcenterinsights_v1_Settings_AnalysisConfig_descriptor = + internal_static_google_cloud_contactcenterinsights_v1_Settings_descriptor.getNestedTypes().get(0); + internal_static_google_cloud_contactcenterinsights_v1_Settings_AnalysisConfig_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_contactcenterinsights_v1_Settings_AnalysisConfig_descriptor, + new java.lang.String[] { "RuntimeIntegrationAnalysisPercentage", "AnnotatorSelector", }); + internal_static_google_cloud_contactcenterinsights_v1_Settings_PubsubNotificationSettingsEntry_descriptor = + internal_static_google_cloud_contactcenterinsights_v1_Settings_descriptor.getNestedTypes().get(1); + internal_static_google_cloud_contactcenterinsights_v1_Settings_PubsubNotificationSettingsEntry_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_contactcenterinsights_v1_Settings_PubsubNotificationSettingsEntry_descriptor, + new java.lang.String[] { "Key", "Value", }); + internal_static_google_cloud_contactcenterinsights_v1_RuntimeAnnotation_descriptor = + getDescriptor().getMessageTypes().get(31); + internal_static_google_cloud_contactcenterinsights_v1_RuntimeAnnotation_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_contactcenterinsights_v1_RuntimeAnnotation_descriptor, + new java.lang.String[] { "ArticleSuggestion", "FaqAnswer", "SmartReply", "SmartComposeSuggestion", "DialogflowInteraction", "AnnotationId", "CreateTime", "StartBoundary", "EndBoundary", "AnswerFeedback", "Data", }); + internal_static_google_cloud_contactcenterinsights_v1_AnswerFeedback_descriptor = + getDescriptor().getMessageTypes().get(32); + internal_static_google_cloud_contactcenterinsights_v1_AnswerFeedback_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_contactcenterinsights_v1_AnswerFeedback_descriptor, + new java.lang.String[] { "CorrectnessLevel", "Clicked", "Displayed", }); + internal_static_google_cloud_contactcenterinsights_v1_ArticleSuggestionData_descriptor = + getDescriptor().getMessageTypes().get(33); + internal_static_google_cloud_contactcenterinsights_v1_ArticleSuggestionData_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_contactcenterinsights_v1_ArticleSuggestionData_descriptor, + new java.lang.String[] { "Title", "Uri", "ConfidenceScore", "Metadata", "QueryRecord", "Source", }); + internal_static_google_cloud_contactcenterinsights_v1_ArticleSuggestionData_MetadataEntry_descriptor = + internal_static_google_cloud_contactcenterinsights_v1_ArticleSuggestionData_descriptor.getNestedTypes().get(0); + internal_static_google_cloud_contactcenterinsights_v1_ArticleSuggestionData_MetadataEntry_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_contactcenterinsights_v1_ArticleSuggestionData_MetadataEntry_descriptor, + new java.lang.String[] { "Key", "Value", }); + internal_static_google_cloud_contactcenterinsights_v1_FaqAnswerData_descriptor = + getDescriptor().getMessageTypes().get(34); + internal_static_google_cloud_contactcenterinsights_v1_FaqAnswerData_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_contactcenterinsights_v1_FaqAnswerData_descriptor, + new java.lang.String[] { "Answer", "ConfidenceScore", "Question", "Metadata", "QueryRecord", "Source", }); + internal_static_google_cloud_contactcenterinsights_v1_FaqAnswerData_MetadataEntry_descriptor = + internal_static_google_cloud_contactcenterinsights_v1_FaqAnswerData_descriptor.getNestedTypes().get(0); + internal_static_google_cloud_contactcenterinsights_v1_FaqAnswerData_MetadataEntry_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_contactcenterinsights_v1_FaqAnswerData_MetadataEntry_descriptor, + new java.lang.String[] { "Key", "Value", }); + internal_static_google_cloud_contactcenterinsights_v1_SmartReplyData_descriptor = + getDescriptor().getMessageTypes().get(35); + internal_static_google_cloud_contactcenterinsights_v1_SmartReplyData_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_contactcenterinsights_v1_SmartReplyData_descriptor, + new java.lang.String[] { "Reply", "ConfidenceScore", "Metadata", "QueryRecord", }); + internal_static_google_cloud_contactcenterinsights_v1_SmartReplyData_MetadataEntry_descriptor = + internal_static_google_cloud_contactcenterinsights_v1_SmartReplyData_descriptor.getNestedTypes().get(0); + internal_static_google_cloud_contactcenterinsights_v1_SmartReplyData_MetadataEntry_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_contactcenterinsights_v1_SmartReplyData_MetadataEntry_descriptor, + new java.lang.String[] { "Key", "Value", }); + internal_static_google_cloud_contactcenterinsights_v1_SmartComposeSuggestionData_descriptor = + getDescriptor().getMessageTypes().get(36); + internal_static_google_cloud_contactcenterinsights_v1_SmartComposeSuggestionData_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_contactcenterinsights_v1_SmartComposeSuggestionData_descriptor, + new java.lang.String[] { "Suggestion", "ConfidenceScore", "Metadata", "QueryRecord", }); + internal_static_google_cloud_contactcenterinsights_v1_SmartComposeSuggestionData_MetadataEntry_descriptor = + internal_static_google_cloud_contactcenterinsights_v1_SmartComposeSuggestionData_descriptor.getNestedTypes().get(0); + internal_static_google_cloud_contactcenterinsights_v1_SmartComposeSuggestionData_MetadataEntry_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_contactcenterinsights_v1_SmartComposeSuggestionData_MetadataEntry_descriptor, + new java.lang.String[] { "Key", "Value", }); + internal_static_google_cloud_contactcenterinsights_v1_DialogflowInteractionData_descriptor = + getDescriptor().getMessageTypes().get(37); + internal_static_google_cloud_contactcenterinsights_v1_DialogflowInteractionData_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_contactcenterinsights_v1_DialogflowInteractionData_descriptor, + new java.lang.String[] { "DialogflowIntentId", "Confidence", }); + internal_static_google_cloud_contactcenterinsights_v1_ConversationParticipant_descriptor = + getDescriptor().getMessageTypes().get(38); + internal_static_google_cloud_contactcenterinsights_v1_ConversationParticipant_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_contactcenterinsights_v1_ConversationParticipant_descriptor, + new java.lang.String[] { "DialogflowParticipantName", "UserId", "DialogflowParticipant", "ObfuscatedExternalUserId", "Role", "Participant", }); + internal_static_google_cloud_contactcenterinsights_v1_View_descriptor = + getDescriptor().getMessageTypes().get(39); + internal_static_google_cloud_contactcenterinsights_v1_View_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_contactcenterinsights_v1_View_descriptor, + new java.lang.String[] { "Name", "DisplayName", "CreateTime", "UpdateTime", "Value", }); + internal_static_google_cloud_contactcenterinsights_v1_AnnotatorSelector_descriptor = + getDescriptor().getMessageTypes().get(40); + internal_static_google_cloud_contactcenterinsights_v1_AnnotatorSelector_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_contactcenterinsights_v1_AnnotatorSelector_descriptor, + new java.lang.String[] { "RunInterruptionAnnotator", "RunSilenceAnnotator", "RunPhraseMatcherAnnotator", "PhraseMatchers", "RunSentimentAnnotator", "RunEntityAnnotator", "RunIntentAnnotator", "RunIssueModelAnnotator", "IssueModels", }); + com.google.protobuf.ExtensionRegistry registry = + com.google.protobuf.ExtensionRegistry.newInstance(); + registry.add(com.google.api.FieldBehaviorProto.fieldBehavior); + registry.add(com.google.api.ResourceProto.resource); + registry.add(com.google.api.ResourceProto.resourceDefinition); + registry.add(com.google.api.ResourceProto.resourceReference); + com.google.protobuf.Descriptors.FileDescriptor + .internalUpdateFileDescriptor(descriptor, registry); + com.google.api.FieldBehaviorProto.getDescriptor(); + com.google.api.ResourceProto.getDescriptor(); + com.google.protobuf.DurationProto.getDescriptor(); + com.google.protobuf.TimestampProto.getDescriptor(); + } + + // @@protoc_insertion_point(outer_class_scope) +} diff --git a/java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/RuntimeAnnotation.java b/owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/RuntimeAnnotation.java similarity index 67% rename from java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/RuntimeAnnotation.java rename to owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/RuntimeAnnotation.java index f35c90f67013..c8c93faf74dd 100644 --- a/java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/RuntimeAnnotation.java +++ b/owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/RuntimeAnnotation.java @@ -1,78 +1,57 @@ -/* - * 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. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/contactcenterinsights/v1/resources.proto package com.google.cloud.contactcenterinsights.v1; /** - * - * *
  * An annotation that was generated during the customer and agent interaction.
  * 
* * Protobuf type {@code google.cloud.contactcenterinsights.v1.RuntimeAnnotation} */ -public final class RuntimeAnnotation extends com.google.protobuf.GeneratedMessageV3 - implements +public final class RuntimeAnnotation extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.contactcenterinsights.v1.RuntimeAnnotation) RuntimeAnnotationOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use RuntimeAnnotation.newBuilder() to construct. private RuntimeAnnotation(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private RuntimeAnnotation() { annotationId_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new RuntimeAnnotation(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.contactcenterinsights.v1.ResourcesProto - .internal_static_google_cloud_contactcenterinsights_v1_RuntimeAnnotation_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.contactcenterinsights.v1.ResourcesProto.internal_static_google_cloud_contactcenterinsights_v1_RuntimeAnnotation_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.contactcenterinsights.v1.ResourcesProto - .internal_static_google_cloud_contactcenterinsights_v1_RuntimeAnnotation_fieldAccessorTable + return com.google.cloud.contactcenterinsights.v1.ResourcesProto.internal_static_google_cloud_contactcenterinsights_v1_RuntimeAnnotation_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.contactcenterinsights.v1.RuntimeAnnotation.class, - com.google.cloud.contactcenterinsights.v1.RuntimeAnnotation.Builder.class); + com.google.cloud.contactcenterinsights.v1.RuntimeAnnotation.class, com.google.cloud.contactcenterinsights.v1.RuntimeAnnotation.Builder.class); } private int dataCase_ = 0; private java.lang.Object data_; - public enum DataCase - implements - com.google.protobuf.Internal.EnumLite, + implements com.google.protobuf.Internal.EnumLite, com.google.protobuf.AbstractMessage.InternalOneOfEnum { ARTICLE_SUGGESTION(6), FAQ_ANSWER(7), @@ -81,7 +60,6 @@ public enum DataCase DIALOGFLOW_INTERACTION(10), DATA_NOT_SET(0); private final int value; - private DataCase(int value) { this.value = value; } @@ -97,43 +75,33 @@ public static DataCase valueOf(int value) { public static DataCase forNumber(int value) { switch (value) { - case 6: - return ARTICLE_SUGGESTION; - case 7: - return FAQ_ANSWER; - case 8: - return SMART_REPLY; - case 9: - return SMART_COMPOSE_SUGGESTION; - case 10: - return DIALOGFLOW_INTERACTION; - case 0: - return DATA_NOT_SET; - default: - return null; + case 6: return ARTICLE_SUGGESTION; + case 7: return FAQ_ANSWER; + case 8: return SMART_REPLY; + case 9: return SMART_COMPOSE_SUGGESTION; + case 10: return DIALOGFLOW_INTERACTION; + case 0: return DATA_NOT_SET; + default: return null; } } - public int getNumber() { return this.value; } }; - public DataCase getDataCase() { - return DataCase.forNumber(dataCase_); + public DataCase + getDataCase() { + return DataCase.forNumber( + dataCase_); } public static final int ARTICLE_SUGGESTION_FIELD_NUMBER = 6; /** - * - * *
    * Agent Assist Article Suggestion data.
    * 
* - * .google.cloud.contactcenterinsights.v1.ArticleSuggestionData article_suggestion = 6; - * - * + * .google.cloud.contactcenterinsights.v1.ArticleSuggestionData article_suggestion = 6; * @return Whether the articleSuggestion field is set. */ @java.lang.Override @@ -141,53 +109,42 @@ public boolean hasArticleSuggestion() { return dataCase_ == 6; } /** - * - * *
    * Agent Assist Article Suggestion data.
    * 
* - * .google.cloud.contactcenterinsights.v1.ArticleSuggestionData article_suggestion = 6; - * - * + * .google.cloud.contactcenterinsights.v1.ArticleSuggestionData article_suggestion = 6; * @return The articleSuggestion. */ @java.lang.Override public com.google.cloud.contactcenterinsights.v1.ArticleSuggestionData getArticleSuggestion() { if (dataCase_ == 6) { - return (com.google.cloud.contactcenterinsights.v1.ArticleSuggestionData) data_; + return (com.google.cloud.contactcenterinsights.v1.ArticleSuggestionData) data_; } return com.google.cloud.contactcenterinsights.v1.ArticleSuggestionData.getDefaultInstance(); } /** - * - * *
    * Agent Assist Article Suggestion data.
    * 
* - * .google.cloud.contactcenterinsights.v1.ArticleSuggestionData article_suggestion = 6; - * + * .google.cloud.contactcenterinsights.v1.ArticleSuggestionData article_suggestion = 6; */ @java.lang.Override - public com.google.cloud.contactcenterinsights.v1.ArticleSuggestionDataOrBuilder - getArticleSuggestionOrBuilder() { + public com.google.cloud.contactcenterinsights.v1.ArticleSuggestionDataOrBuilder getArticleSuggestionOrBuilder() { if (dataCase_ == 6) { - return (com.google.cloud.contactcenterinsights.v1.ArticleSuggestionData) data_; + return (com.google.cloud.contactcenterinsights.v1.ArticleSuggestionData) data_; } return com.google.cloud.contactcenterinsights.v1.ArticleSuggestionData.getDefaultInstance(); } public static final int FAQ_ANSWER_FIELD_NUMBER = 7; /** - * - * *
    * Agent Assist FAQ answer data.
    * 
* * .google.cloud.contactcenterinsights.v1.FaqAnswerData faq_answer = 7; - * * @return Whether the faqAnswer field is set. */ @java.lang.Override @@ -195,26 +152,21 @@ public boolean hasFaqAnswer() { return dataCase_ == 7; } /** - * - * *
    * Agent Assist FAQ answer data.
    * 
* * .google.cloud.contactcenterinsights.v1.FaqAnswerData faq_answer = 7; - * * @return The faqAnswer. */ @java.lang.Override public com.google.cloud.contactcenterinsights.v1.FaqAnswerData getFaqAnswer() { if (dataCase_ == 7) { - return (com.google.cloud.contactcenterinsights.v1.FaqAnswerData) data_; + return (com.google.cloud.contactcenterinsights.v1.FaqAnswerData) data_; } return com.google.cloud.contactcenterinsights.v1.FaqAnswerData.getDefaultInstance(); } /** - * - * *
    * Agent Assist FAQ answer data.
    * 
@@ -224,21 +176,18 @@ public com.google.cloud.contactcenterinsights.v1.FaqAnswerData getFaqAnswer() { @java.lang.Override public com.google.cloud.contactcenterinsights.v1.FaqAnswerDataOrBuilder getFaqAnswerOrBuilder() { if (dataCase_ == 7) { - return (com.google.cloud.contactcenterinsights.v1.FaqAnswerData) data_; + return (com.google.cloud.contactcenterinsights.v1.FaqAnswerData) data_; } return com.google.cloud.contactcenterinsights.v1.FaqAnswerData.getDefaultInstance(); } public static final int SMART_REPLY_FIELD_NUMBER = 8; /** - * - * *
    * Agent Assist Smart Reply data.
    * 
* * .google.cloud.contactcenterinsights.v1.SmartReplyData smart_reply = 8; - * * @return Whether the smartReply field is set. */ @java.lang.Override @@ -246,26 +195,21 @@ public boolean hasSmartReply() { return dataCase_ == 8; } /** - * - * *
    * Agent Assist Smart Reply data.
    * 
* * .google.cloud.contactcenterinsights.v1.SmartReplyData smart_reply = 8; - * * @return The smartReply. */ @java.lang.Override public com.google.cloud.contactcenterinsights.v1.SmartReplyData getSmartReply() { if (dataCase_ == 8) { - return (com.google.cloud.contactcenterinsights.v1.SmartReplyData) data_; + return (com.google.cloud.contactcenterinsights.v1.SmartReplyData) data_; } return com.google.cloud.contactcenterinsights.v1.SmartReplyData.getDefaultInstance(); } /** - * - * *
    * Agent Assist Smart Reply data.
    * 
@@ -273,26 +217,20 @@ public com.google.cloud.contactcenterinsights.v1.SmartReplyData getSmartReply() * .google.cloud.contactcenterinsights.v1.SmartReplyData smart_reply = 8; */ @java.lang.Override - public com.google.cloud.contactcenterinsights.v1.SmartReplyDataOrBuilder - getSmartReplyOrBuilder() { + public com.google.cloud.contactcenterinsights.v1.SmartReplyDataOrBuilder getSmartReplyOrBuilder() { if (dataCase_ == 8) { - return (com.google.cloud.contactcenterinsights.v1.SmartReplyData) data_; + return (com.google.cloud.contactcenterinsights.v1.SmartReplyData) data_; } return com.google.cloud.contactcenterinsights.v1.SmartReplyData.getDefaultInstance(); } public static final int SMART_COMPOSE_SUGGESTION_FIELD_NUMBER = 9; /** - * - * *
    * Agent Assist Smart Compose suggestion data.
    * 
* - * - * .google.cloud.contactcenterinsights.v1.SmartComposeSuggestionData smart_compose_suggestion = 9; - * - * + * .google.cloud.contactcenterinsights.v1.SmartComposeSuggestionData smart_compose_suggestion = 9; * @return Whether the smartComposeSuggestion field is set. */ @java.lang.Override @@ -300,60 +238,42 @@ public boolean hasSmartComposeSuggestion() { return dataCase_ == 9; } /** - * - * *
    * Agent Assist Smart Compose suggestion data.
    * 
* - * - * .google.cloud.contactcenterinsights.v1.SmartComposeSuggestionData smart_compose_suggestion = 9; - * - * + * .google.cloud.contactcenterinsights.v1.SmartComposeSuggestionData smart_compose_suggestion = 9; * @return The smartComposeSuggestion. */ @java.lang.Override - public com.google.cloud.contactcenterinsights.v1.SmartComposeSuggestionData - getSmartComposeSuggestion() { + public com.google.cloud.contactcenterinsights.v1.SmartComposeSuggestionData getSmartComposeSuggestion() { if (dataCase_ == 9) { - return (com.google.cloud.contactcenterinsights.v1.SmartComposeSuggestionData) data_; + return (com.google.cloud.contactcenterinsights.v1.SmartComposeSuggestionData) data_; } - return com.google.cloud.contactcenterinsights.v1.SmartComposeSuggestionData - .getDefaultInstance(); + return com.google.cloud.contactcenterinsights.v1.SmartComposeSuggestionData.getDefaultInstance(); } /** - * - * *
    * Agent Assist Smart Compose suggestion data.
    * 
* - * - * .google.cloud.contactcenterinsights.v1.SmartComposeSuggestionData smart_compose_suggestion = 9; - * + * .google.cloud.contactcenterinsights.v1.SmartComposeSuggestionData smart_compose_suggestion = 9; */ @java.lang.Override - public com.google.cloud.contactcenterinsights.v1.SmartComposeSuggestionDataOrBuilder - getSmartComposeSuggestionOrBuilder() { + public com.google.cloud.contactcenterinsights.v1.SmartComposeSuggestionDataOrBuilder getSmartComposeSuggestionOrBuilder() { if (dataCase_ == 9) { - return (com.google.cloud.contactcenterinsights.v1.SmartComposeSuggestionData) data_; + return (com.google.cloud.contactcenterinsights.v1.SmartComposeSuggestionData) data_; } - return com.google.cloud.contactcenterinsights.v1.SmartComposeSuggestionData - .getDefaultInstance(); + return com.google.cloud.contactcenterinsights.v1.SmartComposeSuggestionData.getDefaultInstance(); } public static final int DIALOGFLOW_INTERACTION_FIELD_NUMBER = 10; /** - * - * *
    * Dialogflow interaction data.
    * 
* - * - * .google.cloud.contactcenterinsights.v1.DialogflowInteractionData dialogflow_interaction = 10; - * - * + * .google.cloud.contactcenterinsights.v1.DialogflowInteractionData dialogflow_interaction = 10; * @return Whether the dialogflowInteraction field is set. */ @java.lang.Override @@ -361,53 +281,39 @@ public boolean hasDialogflowInteraction() { return dataCase_ == 10; } /** - * - * *
    * Dialogflow interaction data.
    * 
* - * - * .google.cloud.contactcenterinsights.v1.DialogflowInteractionData dialogflow_interaction = 10; - * - * + * .google.cloud.contactcenterinsights.v1.DialogflowInteractionData dialogflow_interaction = 10; * @return The dialogflowInteraction. */ @java.lang.Override - public com.google.cloud.contactcenterinsights.v1.DialogflowInteractionData - getDialogflowInteraction() { + public com.google.cloud.contactcenterinsights.v1.DialogflowInteractionData getDialogflowInteraction() { if (dataCase_ == 10) { - return (com.google.cloud.contactcenterinsights.v1.DialogflowInteractionData) data_; + return (com.google.cloud.contactcenterinsights.v1.DialogflowInteractionData) data_; } return com.google.cloud.contactcenterinsights.v1.DialogflowInteractionData.getDefaultInstance(); } /** - * - * *
    * Dialogflow interaction data.
    * 
* - * - * .google.cloud.contactcenterinsights.v1.DialogflowInteractionData dialogflow_interaction = 10; - * + * .google.cloud.contactcenterinsights.v1.DialogflowInteractionData dialogflow_interaction = 10; */ @java.lang.Override - public com.google.cloud.contactcenterinsights.v1.DialogflowInteractionDataOrBuilder - getDialogflowInteractionOrBuilder() { + public com.google.cloud.contactcenterinsights.v1.DialogflowInteractionDataOrBuilder getDialogflowInteractionOrBuilder() { if (dataCase_ == 10) { - return (com.google.cloud.contactcenterinsights.v1.DialogflowInteractionData) data_; + return (com.google.cloud.contactcenterinsights.v1.DialogflowInteractionData) data_; } return com.google.cloud.contactcenterinsights.v1.DialogflowInteractionData.getDefaultInstance(); } public static final int ANNOTATION_ID_FIELD_NUMBER = 1; - @SuppressWarnings("serial") private volatile java.lang.Object annotationId_ = ""; /** - * - * *
    * The unique identifier of the annotation.
    * Format:
@@ -415,7 +321,6 @@ public boolean hasDialogflowInteraction() {
    * 
* * string annotation_id = 1; - * * @return The annotationId. */ @java.lang.Override @@ -424,15 +329,14 @@ public java.lang.String getAnnotationId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); annotationId_ = s; return s; } } /** - * - * *
    * The unique identifier of the annotation.
    * Format:
@@ -440,15 +344,16 @@ public java.lang.String getAnnotationId() {
    * 
* * string annotation_id = 1; - * * @return The bytes for annotationId. */ @java.lang.Override - public com.google.protobuf.ByteString getAnnotationIdBytes() { + public com.google.protobuf.ByteString + getAnnotationIdBytes() { java.lang.Object ref = annotationId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); annotationId_ = b; return b; } else { @@ -459,14 +364,11 @@ public com.google.protobuf.ByteString getAnnotationIdBytes() { public static final int CREATE_TIME_FIELD_NUMBER = 2; private com.google.protobuf.Timestamp createTime_; /** - * - * *
    * The time at which this annotation was created.
    * 
* * .google.protobuf.Timestamp create_time = 2; - * * @return Whether the createTime field is set. */ @java.lang.Override @@ -474,14 +376,11 @@ public boolean hasCreateTime() { return createTime_ != null; } /** - * - * *
    * The time at which this annotation was created.
    * 
* * .google.protobuf.Timestamp create_time = 2; - * * @return The createTime. */ @java.lang.Override @@ -489,8 +388,6 @@ public com.google.protobuf.Timestamp getCreateTime() { return createTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : createTime_; } /** - * - * *
    * The time at which this annotation was created.
    * 
@@ -505,14 +402,11 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { public static final int START_BOUNDARY_FIELD_NUMBER = 3; private com.google.cloud.contactcenterinsights.v1.AnnotationBoundary startBoundary_; /** - * - * *
    * The boundary in the conversation where the annotation starts, inclusive.
    * 
* * .google.cloud.contactcenterinsights.v1.AnnotationBoundary start_boundary = 3; - * * @return Whether the startBoundary field is set. */ @java.lang.Override @@ -520,25 +414,18 @@ public boolean hasStartBoundary() { return startBoundary_ != null; } /** - * - * *
    * The boundary in the conversation where the annotation starts, inclusive.
    * 
* * .google.cloud.contactcenterinsights.v1.AnnotationBoundary start_boundary = 3; - * * @return The startBoundary. */ @java.lang.Override public com.google.cloud.contactcenterinsights.v1.AnnotationBoundary getStartBoundary() { - return startBoundary_ == null - ? com.google.cloud.contactcenterinsights.v1.AnnotationBoundary.getDefaultInstance() - : startBoundary_; + return startBoundary_ == null ? com.google.cloud.contactcenterinsights.v1.AnnotationBoundary.getDefaultInstance() : startBoundary_; } /** - * - * *
    * The boundary in the conversation where the annotation starts, inclusive.
    * 
@@ -546,24 +433,18 @@ public com.google.cloud.contactcenterinsights.v1.AnnotationBoundary getStartBoun * .google.cloud.contactcenterinsights.v1.AnnotationBoundary start_boundary = 3; */ @java.lang.Override - public com.google.cloud.contactcenterinsights.v1.AnnotationBoundaryOrBuilder - getStartBoundaryOrBuilder() { - return startBoundary_ == null - ? com.google.cloud.contactcenterinsights.v1.AnnotationBoundary.getDefaultInstance() - : startBoundary_; + public com.google.cloud.contactcenterinsights.v1.AnnotationBoundaryOrBuilder getStartBoundaryOrBuilder() { + return startBoundary_ == null ? com.google.cloud.contactcenterinsights.v1.AnnotationBoundary.getDefaultInstance() : startBoundary_; } public static final int END_BOUNDARY_FIELD_NUMBER = 4; private com.google.cloud.contactcenterinsights.v1.AnnotationBoundary endBoundary_; /** - * - * *
    * The boundary in the conversation where the annotation ends, inclusive.
    * 
* * .google.cloud.contactcenterinsights.v1.AnnotationBoundary end_boundary = 4; - * * @return Whether the endBoundary field is set. */ @java.lang.Override @@ -571,25 +452,18 @@ public boolean hasEndBoundary() { return endBoundary_ != null; } /** - * - * *
    * The boundary in the conversation where the annotation ends, inclusive.
    * 
* * .google.cloud.contactcenterinsights.v1.AnnotationBoundary end_boundary = 4; - * * @return The endBoundary. */ @java.lang.Override public com.google.cloud.contactcenterinsights.v1.AnnotationBoundary getEndBoundary() { - return endBoundary_ == null - ? com.google.cloud.contactcenterinsights.v1.AnnotationBoundary.getDefaultInstance() - : endBoundary_; + return endBoundary_ == null ? com.google.cloud.contactcenterinsights.v1.AnnotationBoundary.getDefaultInstance() : endBoundary_; } /** - * - * *
    * The boundary in the conversation where the annotation ends, inclusive.
    * 
@@ -597,24 +471,18 @@ public com.google.cloud.contactcenterinsights.v1.AnnotationBoundary getEndBounda * .google.cloud.contactcenterinsights.v1.AnnotationBoundary end_boundary = 4; */ @java.lang.Override - public com.google.cloud.contactcenterinsights.v1.AnnotationBoundaryOrBuilder - getEndBoundaryOrBuilder() { - return endBoundary_ == null - ? com.google.cloud.contactcenterinsights.v1.AnnotationBoundary.getDefaultInstance() - : endBoundary_; + public com.google.cloud.contactcenterinsights.v1.AnnotationBoundaryOrBuilder getEndBoundaryOrBuilder() { + return endBoundary_ == null ? com.google.cloud.contactcenterinsights.v1.AnnotationBoundary.getDefaultInstance() : endBoundary_; } public static final int ANSWER_FEEDBACK_FIELD_NUMBER = 5; private com.google.cloud.contactcenterinsights.v1.AnswerFeedback answerFeedback_; /** - * - * *
    * The feedback that the customer has about the answer in `data`.
    * 
* * .google.cloud.contactcenterinsights.v1.AnswerFeedback answer_feedback = 5; - * * @return Whether the answerFeedback field is set. */ @java.lang.Override @@ -622,25 +490,18 @@ public boolean hasAnswerFeedback() { return answerFeedback_ != null; } /** - * - * *
    * The feedback that the customer has about the answer in `data`.
    * 
* * .google.cloud.contactcenterinsights.v1.AnswerFeedback answer_feedback = 5; - * * @return The answerFeedback. */ @java.lang.Override public com.google.cloud.contactcenterinsights.v1.AnswerFeedback getAnswerFeedback() { - return answerFeedback_ == null - ? com.google.cloud.contactcenterinsights.v1.AnswerFeedback.getDefaultInstance() - : answerFeedback_; + return answerFeedback_ == null ? com.google.cloud.contactcenterinsights.v1.AnswerFeedback.getDefaultInstance() : answerFeedback_; } /** - * - * *
    * The feedback that the customer has about the answer in `data`.
    * 
@@ -648,15 +509,11 @@ public com.google.cloud.contactcenterinsights.v1.AnswerFeedback getAnswerFeedbac * .google.cloud.contactcenterinsights.v1.AnswerFeedback answer_feedback = 5; */ @java.lang.Override - public com.google.cloud.contactcenterinsights.v1.AnswerFeedbackOrBuilder - getAnswerFeedbackOrBuilder() { - return answerFeedback_ == null - ? com.google.cloud.contactcenterinsights.v1.AnswerFeedback.getDefaultInstance() - : answerFeedback_; + public com.google.cloud.contactcenterinsights.v1.AnswerFeedbackOrBuilder getAnswerFeedbackOrBuilder() { + return answerFeedback_ == null ? com.google.cloud.contactcenterinsights.v1.AnswerFeedback.getDefaultInstance() : answerFeedback_; } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -668,7 +525,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(annotationId_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, annotationId_); } @@ -685,8 +543,7 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io output.writeMessage(5, getAnswerFeedback()); } if (dataCase_ == 6) { - output.writeMessage( - 6, (com.google.cloud.contactcenterinsights.v1.ArticleSuggestionData) data_); + output.writeMessage(6, (com.google.cloud.contactcenterinsights.v1.ArticleSuggestionData) data_); } if (dataCase_ == 7) { output.writeMessage(7, (com.google.cloud.contactcenterinsights.v1.FaqAnswerData) data_); @@ -695,12 +552,10 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io output.writeMessage(8, (com.google.cloud.contactcenterinsights.v1.SmartReplyData) data_); } if (dataCase_ == 9) { - output.writeMessage( - 9, (com.google.cloud.contactcenterinsights.v1.SmartComposeSuggestionData) data_); + output.writeMessage(9, (com.google.cloud.contactcenterinsights.v1.SmartComposeSuggestionData) data_); } if (dataCase_ == 10) { - output.writeMessage( - 10, (com.google.cloud.contactcenterinsights.v1.DialogflowInteractionData) data_); + output.writeMessage(10, (com.google.cloud.contactcenterinsights.v1.DialogflowInteractionData) data_); } getUnknownFields().writeTo(output); } @@ -715,41 +570,40 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, annotationId_); } if (createTime_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getCreateTime()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, getCreateTime()); } if (startBoundary_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getStartBoundary()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(3, getStartBoundary()); } if (endBoundary_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(4, getEndBoundary()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(4, getEndBoundary()); } if (answerFeedback_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(5, getAnswerFeedback()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(5, getAnswerFeedback()); } if (dataCase_ == 6) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize( - 6, (com.google.cloud.contactcenterinsights.v1.ArticleSuggestionData) data_); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(6, (com.google.cloud.contactcenterinsights.v1.ArticleSuggestionData) data_); } if (dataCase_ == 7) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize( - 7, (com.google.cloud.contactcenterinsights.v1.FaqAnswerData) data_); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(7, (com.google.cloud.contactcenterinsights.v1.FaqAnswerData) data_); } if (dataCase_ == 8) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize( - 8, (com.google.cloud.contactcenterinsights.v1.SmartReplyData) data_); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(8, (com.google.cloud.contactcenterinsights.v1.SmartReplyData) data_); } if (dataCase_ == 9) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize( - 9, (com.google.cloud.contactcenterinsights.v1.SmartComposeSuggestionData) data_); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(9, (com.google.cloud.contactcenterinsights.v1.SmartComposeSuggestionData) data_); } if (dataCase_ == 10) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize( - 10, (com.google.cloud.contactcenterinsights.v1.DialogflowInteractionData) data_); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(10, (com.google.cloud.contactcenterinsights.v1.DialogflowInteractionData) data_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -759,47 +613,56 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.contactcenterinsights.v1.RuntimeAnnotation)) { return super.equals(obj); } - com.google.cloud.contactcenterinsights.v1.RuntimeAnnotation other = - (com.google.cloud.contactcenterinsights.v1.RuntimeAnnotation) obj; + com.google.cloud.contactcenterinsights.v1.RuntimeAnnotation other = (com.google.cloud.contactcenterinsights.v1.RuntimeAnnotation) obj; - if (!getAnnotationId().equals(other.getAnnotationId())) return false; + if (!getAnnotationId() + .equals(other.getAnnotationId())) return false; if (hasCreateTime() != other.hasCreateTime()) return false; if (hasCreateTime()) { - if (!getCreateTime().equals(other.getCreateTime())) return false; + if (!getCreateTime() + .equals(other.getCreateTime())) return false; } if (hasStartBoundary() != other.hasStartBoundary()) return false; if (hasStartBoundary()) { - if (!getStartBoundary().equals(other.getStartBoundary())) return false; + if (!getStartBoundary() + .equals(other.getStartBoundary())) return false; } if (hasEndBoundary() != other.hasEndBoundary()) return false; if (hasEndBoundary()) { - if (!getEndBoundary().equals(other.getEndBoundary())) return false; + if (!getEndBoundary() + .equals(other.getEndBoundary())) return false; } if (hasAnswerFeedback() != other.hasAnswerFeedback()) return false; if (hasAnswerFeedback()) { - if (!getAnswerFeedback().equals(other.getAnswerFeedback())) return false; + if (!getAnswerFeedback() + .equals(other.getAnswerFeedback())) return false; } if (!getDataCase().equals(other.getDataCase())) return false; switch (dataCase_) { case 6: - if (!getArticleSuggestion().equals(other.getArticleSuggestion())) return false; + if (!getArticleSuggestion() + .equals(other.getArticleSuggestion())) return false; break; case 7: - if (!getFaqAnswer().equals(other.getFaqAnswer())) return false; + if (!getFaqAnswer() + .equals(other.getFaqAnswer())) return false; break; case 8: - if (!getSmartReply().equals(other.getSmartReply())) return false; + if (!getSmartReply() + .equals(other.getSmartReply())) return false; break; case 9: - if (!getSmartComposeSuggestion().equals(other.getSmartComposeSuggestion())) return false; + if (!getSmartComposeSuggestion() + .equals(other.getSmartComposeSuggestion())) return false; break; case 10: - if (!getDialogflowInteraction().equals(other.getDialogflowInteraction())) return false; + if (!getDialogflowInteraction() + .equals(other.getDialogflowInteraction())) return false; break; case 0: default: @@ -863,136 +726,129 @@ public int hashCode() { } public static com.google.cloud.contactcenterinsights.v1.RuntimeAnnotation parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.contactcenterinsights.v1.RuntimeAnnotation parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.contactcenterinsights.v1.RuntimeAnnotation parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.contactcenterinsights.v1.RuntimeAnnotation parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.contactcenterinsights.v1.RuntimeAnnotation parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.contactcenterinsights.v1.RuntimeAnnotation parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.contactcenterinsights.v1.RuntimeAnnotation parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.contactcenterinsights.v1.RuntimeAnnotation parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.contactcenterinsights.v1.RuntimeAnnotation parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.contactcenterinsights.v1.RuntimeAnnotation parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.contactcenterinsights.v1.RuntimeAnnotation parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.contactcenterinsights.v1.RuntimeAnnotation parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.contactcenterinsights.v1.RuntimeAnnotation parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.contactcenterinsights.v1.RuntimeAnnotation parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.contactcenterinsights.v1.RuntimeAnnotation prototype) { + public static Builder newBuilder(com.google.cloud.contactcenterinsights.v1.RuntimeAnnotation prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * An annotation that was generated during the customer and agent interaction.
    * 
* * Protobuf type {@code google.cloud.contactcenterinsights.v1.RuntimeAnnotation} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.contactcenterinsights.v1.RuntimeAnnotation) com.google.cloud.contactcenterinsights.v1.RuntimeAnnotationOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.contactcenterinsights.v1.ResourcesProto - .internal_static_google_cloud_contactcenterinsights_v1_RuntimeAnnotation_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.contactcenterinsights.v1.ResourcesProto.internal_static_google_cloud_contactcenterinsights_v1_RuntimeAnnotation_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.contactcenterinsights.v1.ResourcesProto - .internal_static_google_cloud_contactcenterinsights_v1_RuntimeAnnotation_fieldAccessorTable + return com.google.cloud.contactcenterinsights.v1.ResourcesProto.internal_static_google_cloud_contactcenterinsights_v1_RuntimeAnnotation_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.contactcenterinsights.v1.RuntimeAnnotation.class, - com.google.cloud.contactcenterinsights.v1.RuntimeAnnotation.Builder.class); + com.google.cloud.contactcenterinsights.v1.RuntimeAnnotation.class, com.google.cloud.contactcenterinsights.v1.RuntimeAnnotation.Builder.class); } // Construct using com.google.cloud.contactcenterinsights.v1.RuntimeAnnotation.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -1039,9 +895,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.contactcenterinsights.v1.ResourcesProto - .internal_static_google_cloud_contactcenterinsights_v1_RuntimeAnnotation_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.contactcenterinsights.v1.ResourcesProto.internal_static_google_cloud_contactcenterinsights_v1_RuntimeAnnotation_descriptor; } @java.lang.Override @@ -1060,11 +916,8 @@ public com.google.cloud.contactcenterinsights.v1.RuntimeAnnotation build() { @java.lang.Override public com.google.cloud.contactcenterinsights.v1.RuntimeAnnotation buildPartial() { - com.google.cloud.contactcenterinsights.v1.RuntimeAnnotation result = - new com.google.cloud.contactcenterinsights.v1.RuntimeAnnotation(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + com.google.cloud.contactcenterinsights.v1.RuntimeAnnotation result = new com.google.cloud.contactcenterinsights.v1.RuntimeAnnotation(this); + if (bitField0_ != 0) { buildPartial0(result); } buildPartialOneofs(result); onBuilt(); return result; @@ -1076,39 +929,48 @@ private void buildPartial0(com.google.cloud.contactcenterinsights.v1.RuntimeAnno result.annotationId_ = annotationId_; } if (((from_bitField0_ & 0x00000040) != 0)) { - result.createTime_ = createTimeBuilder_ == null ? createTime_ : createTimeBuilder_.build(); + result.createTime_ = createTimeBuilder_ == null + ? createTime_ + : createTimeBuilder_.build(); } if (((from_bitField0_ & 0x00000080) != 0)) { - result.startBoundary_ = - startBoundaryBuilder_ == null ? startBoundary_ : startBoundaryBuilder_.build(); + result.startBoundary_ = startBoundaryBuilder_ == null + ? startBoundary_ + : startBoundaryBuilder_.build(); } if (((from_bitField0_ & 0x00000100) != 0)) { - result.endBoundary_ = - endBoundaryBuilder_ == null ? endBoundary_ : endBoundaryBuilder_.build(); + result.endBoundary_ = endBoundaryBuilder_ == null + ? endBoundary_ + : endBoundaryBuilder_.build(); } if (((from_bitField0_ & 0x00000200) != 0)) { - result.answerFeedback_ = - answerFeedbackBuilder_ == null ? answerFeedback_ : answerFeedbackBuilder_.build(); + result.answerFeedback_ = answerFeedbackBuilder_ == null + ? answerFeedback_ + : answerFeedbackBuilder_.build(); } } - private void buildPartialOneofs( - com.google.cloud.contactcenterinsights.v1.RuntimeAnnotation result) { + private void buildPartialOneofs(com.google.cloud.contactcenterinsights.v1.RuntimeAnnotation result) { result.dataCase_ = dataCase_; result.data_ = this.data_; - if (dataCase_ == 6 && articleSuggestionBuilder_ != null) { + if (dataCase_ == 6 && + articleSuggestionBuilder_ != null) { result.data_ = articleSuggestionBuilder_.build(); } - if (dataCase_ == 7 && faqAnswerBuilder_ != null) { + if (dataCase_ == 7 && + faqAnswerBuilder_ != null) { result.data_ = faqAnswerBuilder_.build(); } - if (dataCase_ == 8 && smartReplyBuilder_ != null) { + if (dataCase_ == 8 && + smartReplyBuilder_ != null) { result.data_ = smartReplyBuilder_.build(); } - if (dataCase_ == 9 && smartComposeSuggestionBuilder_ != null) { + if (dataCase_ == 9 && + smartComposeSuggestionBuilder_ != null) { result.data_ = smartComposeSuggestionBuilder_.build(); } - if (dataCase_ == 10 && dialogflowInteractionBuilder_ != null) { + if (dataCase_ == 10 && + dialogflowInteractionBuilder_ != null) { result.data_ = dialogflowInteractionBuilder_.build(); } } @@ -1117,39 +979,38 @@ private void buildPartialOneofs( public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.contactcenterinsights.v1.RuntimeAnnotation) { - return mergeFrom((com.google.cloud.contactcenterinsights.v1.RuntimeAnnotation) other); + return mergeFrom((com.google.cloud.contactcenterinsights.v1.RuntimeAnnotation)other); } else { super.mergeFrom(other); return this; @@ -1157,8 +1018,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.contactcenterinsights.v1.RuntimeAnnotation other) { - if (other == com.google.cloud.contactcenterinsights.v1.RuntimeAnnotation.getDefaultInstance()) - return this; + if (other == com.google.cloud.contactcenterinsights.v1.RuntimeAnnotation.getDefaultInstance()) return this; if (!other.getAnnotationId().isEmpty()) { annotationId_ = other.annotationId_; bitField0_ |= 0x00000020; @@ -1177,35 +1037,29 @@ public Builder mergeFrom(com.google.cloud.contactcenterinsights.v1.RuntimeAnnota mergeAnswerFeedback(other.getAnswerFeedback()); } switch (other.getDataCase()) { - case ARTICLE_SUGGESTION: - { - mergeArticleSuggestion(other.getArticleSuggestion()); - break; - } - case FAQ_ANSWER: - { - mergeFaqAnswer(other.getFaqAnswer()); - break; - } - case SMART_REPLY: - { - mergeSmartReply(other.getSmartReply()); - break; - } - case SMART_COMPOSE_SUGGESTION: - { - mergeSmartComposeSuggestion(other.getSmartComposeSuggestion()); - break; - } - case DIALOGFLOW_INTERACTION: - { - mergeDialogflowInteraction(other.getDialogflowInteraction()); - break; - } - case DATA_NOT_SET: - { - break; - } + case ARTICLE_SUGGESTION: { + mergeArticleSuggestion(other.getArticleSuggestion()); + break; + } + case FAQ_ANSWER: { + mergeFaqAnswer(other.getFaqAnswer()); + break; + } + case SMART_REPLY: { + mergeSmartReply(other.getSmartReply()); + break; + } + case SMART_COMPOSE_SUGGESTION: { + mergeSmartComposeSuggestion(other.getSmartComposeSuggestion()); + break; + } + case DIALOGFLOW_INTERACTION: { + mergeDialogflowInteraction(other.getDialogflowInteraction()); + break; + } + case DATA_NOT_SET: { + break; + } } this.mergeUnknownFields(other.getUnknownFields()); onChanged(); @@ -1233,76 +1087,80 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - annotationId_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000020; - break; - } // case 10 - case 18: - { - input.readMessage(getCreateTimeFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00000040; - break; - } // case 18 - case 26: - { - input.readMessage(getStartBoundaryFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00000080; - break; - } // case 26 - case 34: - { - input.readMessage(getEndBoundaryFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00000100; - break; - } // case 34 - case 42: - { - input.readMessage(getAnswerFeedbackFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00000200; - break; - } // case 42 - case 50: - { - input.readMessage( - getArticleSuggestionFieldBuilder().getBuilder(), extensionRegistry); - dataCase_ = 6; - break; - } // case 50 - case 58: - { - input.readMessage(getFaqAnswerFieldBuilder().getBuilder(), extensionRegistry); - dataCase_ = 7; - break; - } // case 58 - case 66: - { - input.readMessage(getSmartReplyFieldBuilder().getBuilder(), extensionRegistry); - dataCase_ = 8; - break; - } // case 66 - case 74: - { - input.readMessage( - getSmartComposeSuggestionFieldBuilder().getBuilder(), extensionRegistry); - dataCase_ = 9; - break; - } // case 74 - case 82: - { - input.readMessage( - getDialogflowInteractionFieldBuilder().getBuilder(), extensionRegistry); - dataCase_ = 10; - break; - } // case 82 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + annotationId_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000020; + break; + } // case 10 + case 18: { + input.readMessage( + getCreateTimeFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00000040; + break; + } // case 18 + case 26: { + input.readMessage( + getStartBoundaryFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00000080; + break; + } // case 26 + case 34: { + input.readMessage( + getEndBoundaryFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00000100; + break; + } // case 34 + case 42: { + input.readMessage( + getAnswerFeedbackFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00000200; + break; + } // case 42 + case 50: { + input.readMessage( + getArticleSuggestionFieldBuilder().getBuilder(), + extensionRegistry); + dataCase_ = 6; + break; + } // case 50 + case 58: { + input.readMessage( + getFaqAnswerFieldBuilder().getBuilder(), + extensionRegistry); + dataCase_ = 7; + break; + } // case 58 + case 66: { + input.readMessage( + getSmartReplyFieldBuilder().getBuilder(), + extensionRegistry); + dataCase_ = 8; + break; + } // case 66 + case 74: { + input.readMessage( + getSmartComposeSuggestionFieldBuilder().getBuilder(), + extensionRegistry); + dataCase_ = 9; + break; + } // case 74 + case 82: { + input.readMessage( + getDialogflowInteractionFieldBuilder().getBuilder(), + extensionRegistry); + dataCase_ = 10; + break; + } // case 82 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -1312,12 +1170,12 @@ public Builder mergeFrom( } // finally return this; } - private int dataCase_ = 0; private java.lang.Object data_; - - public DataCase getDataCase() { - return DataCase.forNumber(dataCase_); + public DataCase + getDataCase() { + return DataCase.forNumber( + dataCase_); } public Builder clearData() { @@ -1330,20 +1188,13 @@ public Builder clearData() { private int bitField0_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.contactcenterinsights.v1.ArticleSuggestionData, - com.google.cloud.contactcenterinsights.v1.ArticleSuggestionData.Builder, - com.google.cloud.contactcenterinsights.v1.ArticleSuggestionDataOrBuilder> - articleSuggestionBuilder_; + com.google.cloud.contactcenterinsights.v1.ArticleSuggestionData, com.google.cloud.contactcenterinsights.v1.ArticleSuggestionData.Builder, com.google.cloud.contactcenterinsights.v1.ArticleSuggestionDataOrBuilder> articleSuggestionBuilder_; /** - * - * *
      * Agent Assist Article Suggestion data.
      * 
* - * .google.cloud.contactcenterinsights.v1.ArticleSuggestionData article_suggestion = 6; - * - * + * .google.cloud.contactcenterinsights.v1.ArticleSuggestionData article_suggestion = 6; * @return Whether the articleSuggestion field is set. */ @java.lang.Override @@ -1351,15 +1202,11 @@ public boolean hasArticleSuggestion() { return dataCase_ == 6; } /** - * - * *
      * Agent Assist Article Suggestion data.
      * 
* - * .google.cloud.contactcenterinsights.v1.ArticleSuggestionData article_suggestion = 6; - * - * + * .google.cloud.contactcenterinsights.v1.ArticleSuggestionData article_suggestion = 6; * @return The articleSuggestion. */ @java.lang.Override @@ -1377,17 +1224,13 @@ public com.google.cloud.contactcenterinsights.v1.ArticleSuggestionData getArticl } } /** - * - * *
      * Agent Assist Article Suggestion data.
      * 
* - * .google.cloud.contactcenterinsights.v1.ArticleSuggestionData article_suggestion = 6; - * + * .google.cloud.contactcenterinsights.v1.ArticleSuggestionData article_suggestion = 6; */ - public Builder setArticleSuggestion( - com.google.cloud.contactcenterinsights.v1.ArticleSuggestionData value) { + public Builder setArticleSuggestion(com.google.cloud.contactcenterinsights.v1.ArticleSuggestionData value) { if (articleSuggestionBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -1401,14 +1244,11 @@ public Builder setArticleSuggestion( return this; } /** - * - * *
      * Agent Assist Article Suggestion data.
      * 
* - * .google.cloud.contactcenterinsights.v1.ArticleSuggestionData article_suggestion = 6; - * + * .google.cloud.contactcenterinsights.v1.ArticleSuggestionData article_suggestion = 6; */ public Builder setArticleSuggestion( com.google.cloud.contactcenterinsights.v1.ArticleSuggestionData.Builder builderForValue) { @@ -1422,27 +1262,18 @@ public Builder setArticleSuggestion( return this; } /** - * - * *
      * Agent Assist Article Suggestion data.
      * 
* - * .google.cloud.contactcenterinsights.v1.ArticleSuggestionData article_suggestion = 6; - * + * .google.cloud.contactcenterinsights.v1.ArticleSuggestionData article_suggestion = 6; */ - public Builder mergeArticleSuggestion( - com.google.cloud.contactcenterinsights.v1.ArticleSuggestionData value) { + public Builder mergeArticleSuggestion(com.google.cloud.contactcenterinsights.v1.ArticleSuggestionData value) { if (articleSuggestionBuilder_ == null) { - if (dataCase_ == 6 - && data_ - != com.google.cloud.contactcenterinsights.v1.ArticleSuggestionData - .getDefaultInstance()) { - data_ = - com.google.cloud.contactcenterinsights.v1.ArticleSuggestionData.newBuilder( - (com.google.cloud.contactcenterinsights.v1.ArticleSuggestionData) data_) - .mergeFrom(value) - .buildPartial(); + if (dataCase_ == 6 && + data_ != com.google.cloud.contactcenterinsights.v1.ArticleSuggestionData.getDefaultInstance()) { + data_ = com.google.cloud.contactcenterinsights.v1.ArticleSuggestionData.newBuilder((com.google.cloud.contactcenterinsights.v1.ArticleSuggestionData) data_) + .mergeFrom(value).buildPartial(); } else { data_ = value; } @@ -1458,14 +1289,11 @@ public Builder mergeArticleSuggestion( return this; } /** - * - * *
      * Agent Assist Article Suggestion data.
      * 
* - * .google.cloud.contactcenterinsights.v1.ArticleSuggestionData article_suggestion = 6; - * + * .google.cloud.contactcenterinsights.v1.ArticleSuggestionData article_suggestion = 6; */ public Builder clearArticleSuggestion() { if (articleSuggestionBuilder_ == null) { @@ -1484,32 +1312,24 @@ public Builder clearArticleSuggestion() { return this; } /** - * - * *
      * Agent Assist Article Suggestion data.
      * 
* - * .google.cloud.contactcenterinsights.v1.ArticleSuggestionData article_suggestion = 6; - * + * .google.cloud.contactcenterinsights.v1.ArticleSuggestionData article_suggestion = 6; */ - public com.google.cloud.contactcenterinsights.v1.ArticleSuggestionData.Builder - getArticleSuggestionBuilder() { + public com.google.cloud.contactcenterinsights.v1.ArticleSuggestionData.Builder getArticleSuggestionBuilder() { return getArticleSuggestionFieldBuilder().getBuilder(); } /** - * - * *
      * Agent Assist Article Suggestion data.
      * 
* - * .google.cloud.contactcenterinsights.v1.ArticleSuggestionData article_suggestion = 6; - * + * .google.cloud.contactcenterinsights.v1.ArticleSuggestionData article_suggestion = 6; */ @java.lang.Override - public com.google.cloud.contactcenterinsights.v1.ArticleSuggestionDataOrBuilder - getArticleSuggestionOrBuilder() { + public com.google.cloud.contactcenterinsights.v1.ArticleSuggestionDataOrBuilder getArticleSuggestionOrBuilder() { if ((dataCase_ == 6) && (articleSuggestionBuilder_ != null)) { return articleSuggestionBuilder_.getMessageOrBuilder(); } else { @@ -1520,30 +1340,21 @@ public Builder clearArticleSuggestion() { } } /** - * - * *
      * Agent Assist Article Suggestion data.
      * 
* - * .google.cloud.contactcenterinsights.v1.ArticleSuggestionData article_suggestion = 6; - * + * .google.cloud.contactcenterinsights.v1.ArticleSuggestionData article_suggestion = 6; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.contactcenterinsights.v1.ArticleSuggestionData, - com.google.cloud.contactcenterinsights.v1.ArticleSuggestionData.Builder, - com.google.cloud.contactcenterinsights.v1.ArticleSuggestionDataOrBuilder> + com.google.cloud.contactcenterinsights.v1.ArticleSuggestionData, com.google.cloud.contactcenterinsights.v1.ArticleSuggestionData.Builder, com.google.cloud.contactcenterinsights.v1.ArticleSuggestionDataOrBuilder> getArticleSuggestionFieldBuilder() { if (articleSuggestionBuilder_ == null) { if (!(dataCase_ == 6)) { - data_ = - com.google.cloud.contactcenterinsights.v1.ArticleSuggestionData.getDefaultInstance(); + data_ = com.google.cloud.contactcenterinsights.v1.ArticleSuggestionData.getDefaultInstance(); } - articleSuggestionBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.contactcenterinsights.v1.ArticleSuggestionData, - com.google.cloud.contactcenterinsights.v1.ArticleSuggestionData.Builder, - com.google.cloud.contactcenterinsights.v1.ArticleSuggestionDataOrBuilder>( + articleSuggestionBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.contactcenterinsights.v1.ArticleSuggestionData, com.google.cloud.contactcenterinsights.v1.ArticleSuggestionData.Builder, com.google.cloud.contactcenterinsights.v1.ArticleSuggestionDataOrBuilder>( (com.google.cloud.contactcenterinsights.v1.ArticleSuggestionData) data_, getParentForChildren(), isClean()); @@ -1555,19 +1366,13 @@ public Builder clearArticleSuggestion() { } private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.contactcenterinsights.v1.FaqAnswerData, - com.google.cloud.contactcenterinsights.v1.FaqAnswerData.Builder, - com.google.cloud.contactcenterinsights.v1.FaqAnswerDataOrBuilder> - faqAnswerBuilder_; + com.google.cloud.contactcenterinsights.v1.FaqAnswerData, com.google.cloud.contactcenterinsights.v1.FaqAnswerData.Builder, com.google.cloud.contactcenterinsights.v1.FaqAnswerDataOrBuilder> faqAnswerBuilder_; /** - * - * *
      * Agent Assist FAQ answer data.
      * 
* * .google.cloud.contactcenterinsights.v1.FaqAnswerData faq_answer = 7; - * * @return Whether the faqAnswer field is set. */ @java.lang.Override @@ -1575,14 +1380,11 @@ public boolean hasFaqAnswer() { return dataCase_ == 7; } /** - * - * *
      * Agent Assist FAQ answer data.
      * 
* * .google.cloud.contactcenterinsights.v1.FaqAnswerData faq_answer = 7; - * * @return The faqAnswer. */ @java.lang.Override @@ -1600,8 +1402,6 @@ public com.google.cloud.contactcenterinsights.v1.FaqAnswerData getFaqAnswer() { } } /** - * - * *
      * Agent Assist FAQ answer data.
      * 
@@ -1622,8 +1422,6 @@ public Builder setFaqAnswer(com.google.cloud.contactcenterinsights.v1.FaqAnswerD return this; } /** - * - * *
      * Agent Assist FAQ answer data.
      * 
@@ -1642,8 +1440,6 @@ public Builder setFaqAnswer( return this; } /** - * - * *
      * Agent Assist FAQ answer data.
      * 
@@ -1652,14 +1448,10 @@ public Builder setFaqAnswer( */ public Builder mergeFaqAnswer(com.google.cloud.contactcenterinsights.v1.FaqAnswerData value) { if (faqAnswerBuilder_ == null) { - if (dataCase_ == 7 - && data_ - != com.google.cloud.contactcenterinsights.v1.FaqAnswerData.getDefaultInstance()) { - data_ = - com.google.cloud.contactcenterinsights.v1.FaqAnswerData.newBuilder( - (com.google.cloud.contactcenterinsights.v1.FaqAnswerData) data_) - .mergeFrom(value) - .buildPartial(); + if (dataCase_ == 7 && + data_ != com.google.cloud.contactcenterinsights.v1.FaqAnswerData.getDefaultInstance()) { + data_ = com.google.cloud.contactcenterinsights.v1.FaqAnswerData.newBuilder((com.google.cloud.contactcenterinsights.v1.FaqAnswerData) data_) + .mergeFrom(value).buildPartial(); } else { data_ = value; } @@ -1675,8 +1467,6 @@ public Builder mergeFaqAnswer(com.google.cloud.contactcenterinsights.v1.FaqAnswe return this; } /** - * - * *
      * Agent Assist FAQ answer data.
      * 
@@ -1700,8 +1490,6 @@ public Builder clearFaqAnswer() { return this; } /** - * - * *
      * Agent Assist FAQ answer data.
      * 
@@ -1712,8 +1500,6 @@ public com.google.cloud.contactcenterinsights.v1.FaqAnswerData.Builder getFaqAns return getFaqAnswerFieldBuilder().getBuilder(); } /** - * - * *
      * Agent Assist FAQ answer data.
      * 
@@ -1721,8 +1507,7 @@ public com.google.cloud.contactcenterinsights.v1.FaqAnswerData.Builder getFaqAns * .google.cloud.contactcenterinsights.v1.FaqAnswerData faq_answer = 7; */ @java.lang.Override - public com.google.cloud.contactcenterinsights.v1.FaqAnswerDataOrBuilder - getFaqAnswerOrBuilder() { + public com.google.cloud.contactcenterinsights.v1.FaqAnswerDataOrBuilder getFaqAnswerOrBuilder() { if ((dataCase_ == 7) && (faqAnswerBuilder_ != null)) { return faqAnswerBuilder_.getMessageOrBuilder(); } else { @@ -1733,8 +1518,6 @@ public com.google.cloud.contactcenterinsights.v1.FaqAnswerData.Builder getFaqAns } } /** - * - * *
      * Agent Assist FAQ answer data.
      * 
@@ -1742,19 +1525,14 @@ public com.google.cloud.contactcenterinsights.v1.FaqAnswerData.Builder getFaqAns * .google.cloud.contactcenterinsights.v1.FaqAnswerData faq_answer = 7; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.contactcenterinsights.v1.FaqAnswerData, - com.google.cloud.contactcenterinsights.v1.FaqAnswerData.Builder, - com.google.cloud.contactcenterinsights.v1.FaqAnswerDataOrBuilder> + com.google.cloud.contactcenterinsights.v1.FaqAnswerData, com.google.cloud.contactcenterinsights.v1.FaqAnswerData.Builder, com.google.cloud.contactcenterinsights.v1.FaqAnswerDataOrBuilder> getFaqAnswerFieldBuilder() { if (faqAnswerBuilder_ == null) { if (!(dataCase_ == 7)) { data_ = com.google.cloud.contactcenterinsights.v1.FaqAnswerData.getDefaultInstance(); } - faqAnswerBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.contactcenterinsights.v1.FaqAnswerData, - com.google.cloud.contactcenterinsights.v1.FaqAnswerData.Builder, - com.google.cloud.contactcenterinsights.v1.FaqAnswerDataOrBuilder>( + faqAnswerBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.contactcenterinsights.v1.FaqAnswerData, com.google.cloud.contactcenterinsights.v1.FaqAnswerData.Builder, com.google.cloud.contactcenterinsights.v1.FaqAnswerDataOrBuilder>( (com.google.cloud.contactcenterinsights.v1.FaqAnswerData) data_, getParentForChildren(), isClean()); @@ -1766,19 +1544,13 @@ public com.google.cloud.contactcenterinsights.v1.FaqAnswerData.Builder getFaqAns } private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.contactcenterinsights.v1.SmartReplyData, - com.google.cloud.contactcenterinsights.v1.SmartReplyData.Builder, - com.google.cloud.contactcenterinsights.v1.SmartReplyDataOrBuilder> - smartReplyBuilder_; + com.google.cloud.contactcenterinsights.v1.SmartReplyData, com.google.cloud.contactcenterinsights.v1.SmartReplyData.Builder, com.google.cloud.contactcenterinsights.v1.SmartReplyDataOrBuilder> smartReplyBuilder_; /** - * - * *
      * Agent Assist Smart Reply data.
      * 
* * .google.cloud.contactcenterinsights.v1.SmartReplyData smart_reply = 8; - * * @return Whether the smartReply field is set. */ @java.lang.Override @@ -1786,14 +1558,11 @@ public boolean hasSmartReply() { return dataCase_ == 8; } /** - * - * *
      * Agent Assist Smart Reply data.
      * 
* * .google.cloud.contactcenterinsights.v1.SmartReplyData smart_reply = 8; - * * @return The smartReply. */ @java.lang.Override @@ -1811,8 +1580,6 @@ public com.google.cloud.contactcenterinsights.v1.SmartReplyData getSmartReply() } } /** - * - * *
      * Agent Assist Smart Reply data.
      * 
@@ -1833,8 +1600,6 @@ public Builder setSmartReply(com.google.cloud.contactcenterinsights.v1.SmartRepl return this; } /** - * - * *
      * Agent Assist Smart Reply data.
      * 
@@ -1853,8 +1618,6 @@ public Builder setSmartReply( return this; } /** - * - * *
      * Agent Assist Smart Reply data.
      * 
@@ -1863,14 +1626,10 @@ public Builder setSmartReply( */ public Builder mergeSmartReply(com.google.cloud.contactcenterinsights.v1.SmartReplyData value) { if (smartReplyBuilder_ == null) { - if (dataCase_ == 8 - && data_ - != com.google.cloud.contactcenterinsights.v1.SmartReplyData.getDefaultInstance()) { - data_ = - com.google.cloud.contactcenterinsights.v1.SmartReplyData.newBuilder( - (com.google.cloud.contactcenterinsights.v1.SmartReplyData) data_) - .mergeFrom(value) - .buildPartial(); + if (dataCase_ == 8 && + data_ != com.google.cloud.contactcenterinsights.v1.SmartReplyData.getDefaultInstance()) { + data_ = com.google.cloud.contactcenterinsights.v1.SmartReplyData.newBuilder((com.google.cloud.contactcenterinsights.v1.SmartReplyData) data_) + .mergeFrom(value).buildPartial(); } else { data_ = value; } @@ -1886,8 +1645,6 @@ public Builder mergeSmartReply(com.google.cloud.contactcenterinsights.v1.SmartRe return this; } /** - * - * *
      * Agent Assist Smart Reply data.
      * 
@@ -1911,8 +1668,6 @@ public Builder clearSmartReply() { return this; } /** - * - * *
      * Agent Assist Smart Reply data.
      * 
@@ -1923,8 +1678,6 @@ public com.google.cloud.contactcenterinsights.v1.SmartReplyData.Builder getSmart return getSmartReplyFieldBuilder().getBuilder(); } /** - * - * *
      * Agent Assist Smart Reply data.
      * 
@@ -1932,8 +1685,7 @@ public com.google.cloud.contactcenterinsights.v1.SmartReplyData.Builder getSmart * .google.cloud.contactcenterinsights.v1.SmartReplyData smart_reply = 8; */ @java.lang.Override - public com.google.cloud.contactcenterinsights.v1.SmartReplyDataOrBuilder - getSmartReplyOrBuilder() { + public com.google.cloud.contactcenterinsights.v1.SmartReplyDataOrBuilder getSmartReplyOrBuilder() { if ((dataCase_ == 8) && (smartReplyBuilder_ != null)) { return smartReplyBuilder_.getMessageOrBuilder(); } else { @@ -1944,8 +1696,6 @@ public com.google.cloud.contactcenterinsights.v1.SmartReplyData.Builder getSmart } } /** - * - * *
      * Agent Assist Smart Reply data.
      * 
@@ -1953,19 +1703,14 @@ public com.google.cloud.contactcenterinsights.v1.SmartReplyData.Builder getSmart * .google.cloud.contactcenterinsights.v1.SmartReplyData smart_reply = 8; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.contactcenterinsights.v1.SmartReplyData, - com.google.cloud.contactcenterinsights.v1.SmartReplyData.Builder, - com.google.cloud.contactcenterinsights.v1.SmartReplyDataOrBuilder> + com.google.cloud.contactcenterinsights.v1.SmartReplyData, com.google.cloud.contactcenterinsights.v1.SmartReplyData.Builder, com.google.cloud.contactcenterinsights.v1.SmartReplyDataOrBuilder> getSmartReplyFieldBuilder() { if (smartReplyBuilder_ == null) { if (!(dataCase_ == 8)) { data_ = com.google.cloud.contactcenterinsights.v1.SmartReplyData.getDefaultInstance(); } - smartReplyBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.contactcenterinsights.v1.SmartReplyData, - com.google.cloud.contactcenterinsights.v1.SmartReplyData.Builder, - com.google.cloud.contactcenterinsights.v1.SmartReplyDataOrBuilder>( + smartReplyBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.contactcenterinsights.v1.SmartReplyData, com.google.cloud.contactcenterinsights.v1.SmartReplyData.Builder, com.google.cloud.contactcenterinsights.v1.SmartReplyDataOrBuilder>( (com.google.cloud.contactcenterinsights.v1.SmartReplyData) data_, getParentForChildren(), isClean()); @@ -1977,21 +1722,13 @@ public com.google.cloud.contactcenterinsights.v1.SmartReplyData.Builder getSmart } private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.contactcenterinsights.v1.SmartComposeSuggestionData, - com.google.cloud.contactcenterinsights.v1.SmartComposeSuggestionData.Builder, - com.google.cloud.contactcenterinsights.v1.SmartComposeSuggestionDataOrBuilder> - smartComposeSuggestionBuilder_; + com.google.cloud.contactcenterinsights.v1.SmartComposeSuggestionData, com.google.cloud.contactcenterinsights.v1.SmartComposeSuggestionData.Builder, com.google.cloud.contactcenterinsights.v1.SmartComposeSuggestionDataOrBuilder> smartComposeSuggestionBuilder_; /** - * - * *
      * Agent Assist Smart Compose suggestion data.
      * 
* - * - * .google.cloud.contactcenterinsights.v1.SmartComposeSuggestionData smart_compose_suggestion = 9; - * - * + * .google.cloud.contactcenterinsights.v1.SmartComposeSuggestionData smart_compose_suggestion = 9; * @return Whether the smartComposeSuggestion field is set. */ @java.lang.Override @@ -1999,48 +1736,35 @@ public boolean hasSmartComposeSuggestion() { return dataCase_ == 9; } /** - * - * *
      * Agent Assist Smart Compose suggestion data.
      * 
* - * - * .google.cloud.contactcenterinsights.v1.SmartComposeSuggestionData smart_compose_suggestion = 9; - * - * + * .google.cloud.contactcenterinsights.v1.SmartComposeSuggestionData smart_compose_suggestion = 9; * @return The smartComposeSuggestion. */ @java.lang.Override - public com.google.cloud.contactcenterinsights.v1.SmartComposeSuggestionData - getSmartComposeSuggestion() { + public com.google.cloud.contactcenterinsights.v1.SmartComposeSuggestionData getSmartComposeSuggestion() { if (smartComposeSuggestionBuilder_ == null) { if (dataCase_ == 9) { return (com.google.cloud.contactcenterinsights.v1.SmartComposeSuggestionData) data_; } - return com.google.cloud.contactcenterinsights.v1.SmartComposeSuggestionData - .getDefaultInstance(); + return com.google.cloud.contactcenterinsights.v1.SmartComposeSuggestionData.getDefaultInstance(); } else { if (dataCase_ == 9) { return smartComposeSuggestionBuilder_.getMessage(); } - return com.google.cloud.contactcenterinsights.v1.SmartComposeSuggestionData - .getDefaultInstance(); + return com.google.cloud.contactcenterinsights.v1.SmartComposeSuggestionData.getDefaultInstance(); } } /** - * - * *
      * Agent Assist Smart Compose suggestion data.
      * 
* - * - * .google.cloud.contactcenterinsights.v1.SmartComposeSuggestionData smart_compose_suggestion = 9; - * + * .google.cloud.contactcenterinsights.v1.SmartComposeSuggestionData smart_compose_suggestion = 9; */ - public Builder setSmartComposeSuggestion( - com.google.cloud.contactcenterinsights.v1.SmartComposeSuggestionData value) { + public Builder setSmartComposeSuggestion(com.google.cloud.contactcenterinsights.v1.SmartComposeSuggestionData value) { if (smartComposeSuggestionBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -2054,19 +1778,14 @@ public Builder setSmartComposeSuggestion( return this; } /** - * - * *
      * Agent Assist Smart Compose suggestion data.
      * 
* - * - * .google.cloud.contactcenterinsights.v1.SmartComposeSuggestionData smart_compose_suggestion = 9; - * + * .google.cloud.contactcenterinsights.v1.SmartComposeSuggestionData smart_compose_suggestion = 9; */ public Builder setSmartComposeSuggestion( - com.google.cloud.contactcenterinsights.v1.SmartComposeSuggestionData.Builder - builderForValue) { + com.google.cloud.contactcenterinsights.v1.SmartComposeSuggestionData.Builder builderForValue) { if (smartComposeSuggestionBuilder_ == null) { data_ = builderForValue.build(); onChanged(); @@ -2077,28 +1796,18 @@ public Builder setSmartComposeSuggestion( return this; } /** - * - * *
      * Agent Assist Smart Compose suggestion data.
      * 
* - * - * .google.cloud.contactcenterinsights.v1.SmartComposeSuggestionData smart_compose_suggestion = 9; - * + * .google.cloud.contactcenterinsights.v1.SmartComposeSuggestionData smart_compose_suggestion = 9; */ - public Builder mergeSmartComposeSuggestion( - com.google.cloud.contactcenterinsights.v1.SmartComposeSuggestionData value) { + public Builder mergeSmartComposeSuggestion(com.google.cloud.contactcenterinsights.v1.SmartComposeSuggestionData value) { if (smartComposeSuggestionBuilder_ == null) { - if (dataCase_ == 9 - && data_ - != com.google.cloud.contactcenterinsights.v1.SmartComposeSuggestionData - .getDefaultInstance()) { - data_ = - com.google.cloud.contactcenterinsights.v1.SmartComposeSuggestionData.newBuilder( - (com.google.cloud.contactcenterinsights.v1.SmartComposeSuggestionData) data_) - .mergeFrom(value) - .buildPartial(); + if (dataCase_ == 9 && + data_ != com.google.cloud.contactcenterinsights.v1.SmartComposeSuggestionData.getDefaultInstance()) { + data_ = com.google.cloud.contactcenterinsights.v1.SmartComposeSuggestionData.newBuilder((com.google.cloud.contactcenterinsights.v1.SmartComposeSuggestionData) data_) + .mergeFrom(value).buildPartial(); } else { data_ = value; } @@ -2114,15 +1823,11 @@ public Builder mergeSmartComposeSuggestion( return this; } /** - * - * *
      * Agent Assist Smart Compose suggestion data.
      * 
* - * - * .google.cloud.contactcenterinsights.v1.SmartComposeSuggestionData smart_compose_suggestion = 9; - * + * .google.cloud.contactcenterinsights.v1.SmartComposeSuggestionData smart_compose_suggestion = 9; */ public Builder clearSmartComposeSuggestion() { if (smartComposeSuggestionBuilder_ == null) { @@ -2141,71 +1846,49 @@ public Builder clearSmartComposeSuggestion() { return this; } /** - * - * *
      * Agent Assist Smart Compose suggestion data.
      * 
* - * - * .google.cloud.contactcenterinsights.v1.SmartComposeSuggestionData smart_compose_suggestion = 9; - * + * .google.cloud.contactcenterinsights.v1.SmartComposeSuggestionData smart_compose_suggestion = 9; */ - public com.google.cloud.contactcenterinsights.v1.SmartComposeSuggestionData.Builder - getSmartComposeSuggestionBuilder() { + public com.google.cloud.contactcenterinsights.v1.SmartComposeSuggestionData.Builder getSmartComposeSuggestionBuilder() { return getSmartComposeSuggestionFieldBuilder().getBuilder(); } /** - * - * *
      * Agent Assist Smart Compose suggestion data.
      * 
* - * - * .google.cloud.contactcenterinsights.v1.SmartComposeSuggestionData smart_compose_suggestion = 9; - * + * .google.cloud.contactcenterinsights.v1.SmartComposeSuggestionData smart_compose_suggestion = 9; */ @java.lang.Override - public com.google.cloud.contactcenterinsights.v1.SmartComposeSuggestionDataOrBuilder - getSmartComposeSuggestionOrBuilder() { + public com.google.cloud.contactcenterinsights.v1.SmartComposeSuggestionDataOrBuilder getSmartComposeSuggestionOrBuilder() { if ((dataCase_ == 9) && (smartComposeSuggestionBuilder_ != null)) { return smartComposeSuggestionBuilder_.getMessageOrBuilder(); } else { if (dataCase_ == 9) { return (com.google.cloud.contactcenterinsights.v1.SmartComposeSuggestionData) data_; } - return com.google.cloud.contactcenterinsights.v1.SmartComposeSuggestionData - .getDefaultInstance(); + return com.google.cloud.contactcenterinsights.v1.SmartComposeSuggestionData.getDefaultInstance(); } } /** - * - * *
      * Agent Assist Smart Compose suggestion data.
      * 
* - * - * .google.cloud.contactcenterinsights.v1.SmartComposeSuggestionData smart_compose_suggestion = 9; - * + * .google.cloud.contactcenterinsights.v1.SmartComposeSuggestionData smart_compose_suggestion = 9; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.contactcenterinsights.v1.SmartComposeSuggestionData, - com.google.cloud.contactcenterinsights.v1.SmartComposeSuggestionData.Builder, - com.google.cloud.contactcenterinsights.v1.SmartComposeSuggestionDataOrBuilder> + com.google.cloud.contactcenterinsights.v1.SmartComposeSuggestionData, com.google.cloud.contactcenterinsights.v1.SmartComposeSuggestionData.Builder, com.google.cloud.contactcenterinsights.v1.SmartComposeSuggestionDataOrBuilder> getSmartComposeSuggestionFieldBuilder() { if (smartComposeSuggestionBuilder_ == null) { if (!(dataCase_ == 9)) { - data_ = - com.google.cloud.contactcenterinsights.v1.SmartComposeSuggestionData - .getDefaultInstance(); + data_ = com.google.cloud.contactcenterinsights.v1.SmartComposeSuggestionData.getDefaultInstance(); } - smartComposeSuggestionBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.contactcenterinsights.v1.SmartComposeSuggestionData, - com.google.cloud.contactcenterinsights.v1.SmartComposeSuggestionData.Builder, - com.google.cloud.contactcenterinsights.v1.SmartComposeSuggestionDataOrBuilder>( + smartComposeSuggestionBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.contactcenterinsights.v1.SmartComposeSuggestionData, com.google.cloud.contactcenterinsights.v1.SmartComposeSuggestionData.Builder, com.google.cloud.contactcenterinsights.v1.SmartComposeSuggestionDataOrBuilder>( (com.google.cloud.contactcenterinsights.v1.SmartComposeSuggestionData) data_, getParentForChildren(), isClean()); @@ -2217,21 +1900,13 @@ public Builder clearSmartComposeSuggestion() { } private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.contactcenterinsights.v1.DialogflowInteractionData, - com.google.cloud.contactcenterinsights.v1.DialogflowInteractionData.Builder, - com.google.cloud.contactcenterinsights.v1.DialogflowInteractionDataOrBuilder> - dialogflowInteractionBuilder_; + com.google.cloud.contactcenterinsights.v1.DialogflowInteractionData, com.google.cloud.contactcenterinsights.v1.DialogflowInteractionData.Builder, com.google.cloud.contactcenterinsights.v1.DialogflowInteractionDataOrBuilder> dialogflowInteractionBuilder_; /** - * - * *
      * Dialogflow interaction data.
      * 
* - * - * .google.cloud.contactcenterinsights.v1.DialogflowInteractionData dialogflow_interaction = 10; - * - * + * .google.cloud.contactcenterinsights.v1.DialogflowInteractionData dialogflow_interaction = 10; * @return Whether the dialogflowInteraction field is set. */ @java.lang.Override @@ -2239,48 +1914,35 @@ public boolean hasDialogflowInteraction() { return dataCase_ == 10; } /** - * - * *
      * Dialogflow interaction data.
      * 
* - * - * .google.cloud.contactcenterinsights.v1.DialogflowInteractionData dialogflow_interaction = 10; - * - * + * .google.cloud.contactcenterinsights.v1.DialogflowInteractionData dialogflow_interaction = 10; * @return The dialogflowInteraction. */ @java.lang.Override - public com.google.cloud.contactcenterinsights.v1.DialogflowInteractionData - getDialogflowInteraction() { + public com.google.cloud.contactcenterinsights.v1.DialogflowInteractionData getDialogflowInteraction() { if (dialogflowInteractionBuilder_ == null) { if (dataCase_ == 10) { return (com.google.cloud.contactcenterinsights.v1.DialogflowInteractionData) data_; } - return com.google.cloud.contactcenterinsights.v1.DialogflowInteractionData - .getDefaultInstance(); + return com.google.cloud.contactcenterinsights.v1.DialogflowInteractionData.getDefaultInstance(); } else { if (dataCase_ == 10) { return dialogflowInteractionBuilder_.getMessage(); } - return com.google.cloud.contactcenterinsights.v1.DialogflowInteractionData - .getDefaultInstance(); + return com.google.cloud.contactcenterinsights.v1.DialogflowInteractionData.getDefaultInstance(); } } /** - * - * *
      * Dialogflow interaction data.
      * 
* - * - * .google.cloud.contactcenterinsights.v1.DialogflowInteractionData dialogflow_interaction = 10; - * + * .google.cloud.contactcenterinsights.v1.DialogflowInteractionData dialogflow_interaction = 10; */ - public Builder setDialogflowInteraction( - com.google.cloud.contactcenterinsights.v1.DialogflowInteractionData value) { + public Builder setDialogflowInteraction(com.google.cloud.contactcenterinsights.v1.DialogflowInteractionData value) { if (dialogflowInteractionBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -2294,19 +1956,14 @@ public Builder setDialogflowInteraction( return this; } /** - * - * *
      * Dialogflow interaction data.
      * 
* - * - * .google.cloud.contactcenterinsights.v1.DialogflowInteractionData dialogflow_interaction = 10; - * + * .google.cloud.contactcenterinsights.v1.DialogflowInteractionData dialogflow_interaction = 10; */ public Builder setDialogflowInteraction( - com.google.cloud.contactcenterinsights.v1.DialogflowInteractionData.Builder - builderForValue) { + com.google.cloud.contactcenterinsights.v1.DialogflowInteractionData.Builder builderForValue) { if (dialogflowInteractionBuilder_ == null) { data_ = builderForValue.build(); onChanged(); @@ -2317,28 +1974,18 @@ public Builder setDialogflowInteraction( return this; } /** - * - * *
      * Dialogflow interaction data.
      * 
* - * - * .google.cloud.contactcenterinsights.v1.DialogflowInteractionData dialogflow_interaction = 10; - * + * .google.cloud.contactcenterinsights.v1.DialogflowInteractionData dialogflow_interaction = 10; */ - public Builder mergeDialogflowInteraction( - com.google.cloud.contactcenterinsights.v1.DialogflowInteractionData value) { + public Builder mergeDialogflowInteraction(com.google.cloud.contactcenterinsights.v1.DialogflowInteractionData value) { if (dialogflowInteractionBuilder_ == null) { - if (dataCase_ == 10 - && data_ - != com.google.cloud.contactcenterinsights.v1.DialogflowInteractionData - .getDefaultInstance()) { - data_ = - com.google.cloud.contactcenterinsights.v1.DialogflowInteractionData.newBuilder( - (com.google.cloud.contactcenterinsights.v1.DialogflowInteractionData) data_) - .mergeFrom(value) - .buildPartial(); + if (dataCase_ == 10 && + data_ != com.google.cloud.contactcenterinsights.v1.DialogflowInteractionData.getDefaultInstance()) { + data_ = com.google.cloud.contactcenterinsights.v1.DialogflowInteractionData.newBuilder((com.google.cloud.contactcenterinsights.v1.DialogflowInteractionData) data_) + .mergeFrom(value).buildPartial(); } else { data_ = value; } @@ -2354,15 +2001,11 @@ public Builder mergeDialogflowInteraction( return this; } /** - * - * *
      * Dialogflow interaction data.
      * 
* - * - * .google.cloud.contactcenterinsights.v1.DialogflowInteractionData dialogflow_interaction = 10; - * + * .google.cloud.contactcenterinsights.v1.DialogflowInteractionData dialogflow_interaction = 10; */ public Builder clearDialogflowInteraction() { if (dialogflowInteractionBuilder_ == null) { @@ -2381,71 +2024,49 @@ public Builder clearDialogflowInteraction() { return this; } /** - * - * *
      * Dialogflow interaction data.
      * 
* - * - * .google.cloud.contactcenterinsights.v1.DialogflowInteractionData dialogflow_interaction = 10; - * + * .google.cloud.contactcenterinsights.v1.DialogflowInteractionData dialogflow_interaction = 10; */ - public com.google.cloud.contactcenterinsights.v1.DialogflowInteractionData.Builder - getDialogflowInteractionBuilder() { + public com.google.cloud.contactcenterinsights.v1.DialogflowInteractionData.Builder getDialogflowInteractionBuilder() { return getDialogflowInteractionFieldBuilder().getBuilder(); } /** - * - * *
      * Dialogflow interaction data.
      * 
* - * - * .google.cloud.contactcenterinsights.v1.DialogflowInteractionData dialogflow_interaction = 10; - * + * .google.cloud.contactcenterinsights.v1.DialogflowInteractionData dialogflow_interaction = 10; */ @java.lang.Override - public com.google.cloud.contactcenterinsights.v1.DialogflowInteractionDataOrBuilder - getDialogflowInteractionOrBuilder() { + public com.google.cloud.contactcenterinsights.v1.DialogflowInteractionDataOrBuilder getDialogflowInteractionOrBuilder() { if ((dataCase_ == 10) && (dialogflowInteractionBuilder_ != null)) { return dialogflowInteractionBuilder_.getMessageOrBuilder(); } else { if (dataCase_ == 10) { return (com.google.cloud.contactcenterinsights.v1.DialogflowInteractionData) data_; } - return com.google.cloud.contactcenterinsights.v1.DialogflowInteractionData - .getDefaultInstance(); + return com.google.cloud.contactcenterinsights.v1.DialogflowInteractionData.getDefaultInstance(); } } /** - * - * *
      * Dialogflow interaction data.
      * 
* - * - * .google.cloud.contactcenterinsights.v1.DialogflowInteractionData dialogflow_interaction = 10; - * + * .google.cloud.contactcenterinsights.v1.DialogflowInteractionData dialogflow_interaction = 10; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.contactcenterinsights.v1.DialogflowInteractionData, - com.google.cloud.contactcenterinsights.v1.DialogflowInteractionData.Builder, - com.google.cloud.contactcenterinsights.v1.DialogflowInteractionDataOrBuilder> + com.google.cloud.contactcenterinsights.v1.DialogflowInteractionData, com.google.cloud.contactcenterinsights.v1.DialogflowInteractionData.Builder, com.google.cloud.contactcenterinsights.v1.DialogflowInteractionDataOrBuilder> getDialogflowInteractionFieldBuilder() { if (dialogflowInteractionBuilder_ == null) { if (!(dataCase_ == 10)) { - data_ = - com.google.cloud.contactcenterinsights.v1.DialogflowInteractionData - .getDefaultInstance(); + data_ = com.google.cloud.contactcenterinsights.v1.DialogflowInteractionData.getDefaultInstance(); } - dialogflowInteractionBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.contactcenterinsights.v1.DialogflowInteractionData, - com.google.cloud.contactcenterinsights.v1.DialogflowInteractionData.Builder, - com.google.cloud.contactcenterinsights.v1.DialogflowInteractionDataOrBuilder>( + dialogflowInteractionBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.contactcenterinsights.v1.DialogflowInteractionData, com.google.cloud.contactcenterinsights.v1.DialogflowInteractionData.Builder, com.google.cloud.contactcenterinsights.v1.DialogflowInteractionDataOrBuilder>( (com.google.cloud.contactcenterinsights.v1.DialogflowInteractionData) data_, getParentForChildren(), isClean()); @@ -2458,8 +2079,6 @@ public Builder clearDialogflowInteraction() { private java.lang.Object annotationId_ = ""; /** - * - * *
      * The unique identifier of the annotation.
      * Format:
@@ -2467,13 +2086,13 @@ public Builder clearDialogflowInteraction() {
      * 
* * string annotation_id = 1; - * * @return The annotationId. */ public java.lang.String getAnnotationId() { java.lang.Object ref = annotationId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); annotationId_ = s; return s; @@ -2482,8 +2101,6 @@ public java.lang.String getAnnotationId() { } } /** - * - * *
      * The unique identifier of the annotation.
      * Format:
@@ -2491,14 +2108,15 @@ public java.lang.String getAnnotationId() {
      * 
* * string annotation_id = 1; - * * @return The bytes for annotationId. */ - public com.google.protobuf.ByteString getAnnotationIdBytes() { + public com.google.protobuf.ByteString + getAnnotationIdBytes() { java.lang.Object ref = annotationId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); annotationId_ = b; return b; } else { @@ -2506,8 +2124,6 @@ public com.google.protobuf.ByteString getAnnotationIdBytes() { } } /** - * - * *
      * The unique identifier of the annotation.
      * Format:
@@ -2515,22 +2131,18 @@ public com.google.protobuf.ByteString getAnnotationIdBytes() {
      * 
* * string annotation_id = 1; - * * @param value The annotationId to set. * @return This builder for chaining. */ - public Builder setAnnotationId(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setAnnotationId( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } annotationId_ = value; bitField0_ |= 0x00000020; onChanged(); return this; } /** - * - * *
      * The unique identifier of the annotation.
      * Format:
@@ -2538,7 +2150,6 @@ public Builder setAnnotationId(java.lang.String value) {
      * 
* * string annotation_id = 1; - * * @return This builder for chaining. */ public Builder clearAnnotationId() { @@ -2548,8 +2159,6 @@ public Builder clearAnnotationId() { return this; } /** - * - * *
      * The unique identifier of the annotation.
      * Format:
@@ -2557,14 +2166,12 @@ public Builder clearAnnotationId() {
      * 
* * string annotation_id = 1; - * * @param value The bytes for annotationId to set. * @return This builder for chaining. */ - public Builder setAnnotationIdBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setAnnotationIdBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); annotationId_ = value; bitField0_ |= 0x00000020; @@ -2574,47 +2181,34 @@ public Builder setAnnotationIdBytes(com.google.protobuf.ByteString value) { private com.google.protobuf.Timestamp createTime_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> - createTimeBuilder_; + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> createTimeBuilder_; /** - * - * *
      * The time at which this annotation was created.
      * 
* * .google.protobuf.Timestamp create_time = 2; - * * @return Whether the createTime field is set. */ public boolean hasCreateTime() { return ((bitField0_ & 0x00000040) != 0); } /** - * - * *
      * The time at which this annotation was created.
      * 
* * .google.protobuf.Timestamp create_time = 2; - * * @return The createTime. */ public com.google.protobuf.Timestamp getCreateTime() { if (createTimeBuilder_ == null) { - return createTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : createTime_; + return createTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : createTime_; } else { return createTimeBuilder_.getMessage(); } } /** - * - * *
      * The time at which this annotation was created.
      * 
@@ -2635,15 +2229,14 @@ public Builder setCreateTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * The time at which this annotation was created.
      * 
* * .google.protobuf.Timestamp create_time = 2; */ - public Builder setCreateTime(com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setCreateTime( + com.google.protobuf.Timestamp.Builder builderForValue) { if (createTimeBuilder_ == null) { createTime_ = builderForValue.build(); } else { @@ -2654,8 +2247,6 @@ public Builder setCreateTime(com.google.protobuf.Timestamp.Builder builderForVal return this; } /** - * - * *
      * The time at which this annotation was created.
      * 
@@ -2664,9 +2255,9 @@ public Builder setCreateTime(com.google.protobuf.Timestamp.Builder builderForVal */ public Builder mergeCreateTime(com.google.protobuf.Timestamp value) { if (createTimeBuilder_ == null) { - if (((bitField0_ & 0x00000040) != 0) - && createTime_ != null - && createTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { + if (((bitField0_ & 0x00000040) != 0) && + createTime_ != null && + createTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { getCreateTimeBuilder().mergeFrom(value); } else { createTime_ = value; @@ -2679,8 +2270,6 @@ public Builder mergeCreateTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * The time at which this annotation was created.
      * 
@@ -2698,8 +2287,6 @@ public Builder clearCreateTime() { return this; } /** - * - * *
      * The time at which this annotation was created.
      * 
@@ -2712,8 +2299,6 @@ public com.google.protobuf.Timestamp.Builder getCreateTimeBuilder() { return getCreateTimeFieldBuilder().getBuilder(); } /** - * - * *
      * The time at which this annotation was created.
      * 
@@ -2724,14 +2309,11 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { if (createTimeBuilder_ != null) { return createTimeBuilder_.getMessageOrBuilder(); } else { - return createTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : createTime_; + return createTime_ == null ? + com.google.protobuf.Timestamp.getDefaultInstance() : createTime_; } } /** - * - * *
      * The time at which this annotation was created.
      * 
@@ -2739,17 +2321,14 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { * .google.protobuf.Timestamp create_time = 2; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> getCreateTimeFieldBuilder() { if (createTimeBuilder_ == null) { - createTimeBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder>( - getCreateTime(), getParentForChildren(), isClean()); + createTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( + getCreateTime(), + getParentForChildren(), + isClean()); createTime_ = null; } return createTimeBuilder_; @@ -2757,55 +2336,41 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { private com.google.cloud.contactcenterinsights.v1.AnnotationBoundary startBoundary_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.contactcenterinsights.v1.AnnotationBoundary, - com.google.cloud.contactcenterinsights.v1.AnnotationBoundary.Builder, - com.google.cloud.contactcenterinsights.v1.AnnotationBoundaryOrBuilder> - startBoundaryBuilder_; + com.google.cloud.contactcenterinsights.v1.AnnotationBoundary, com.google.cloud.contactcenterinsights.v1.AnnotationBoundary.Builder, com.google.cloud.contactcenterinsights.v1.AnnotationBoundaryOrBuilder> startBoundaryBuilder_; /** - * - * *
      * The boundary in the conversation where the annotation starts, inclusive.
      * 
* * .google.cloud.contactcenterinsights.v1.AnnotationBoundary start_boundary = 3; - * * @return Whether the startBoundary field is set. */ public boolean hasStartBoundary() { return ((bitField0_ & 0x00000080) != 0); } /** - * - * *
      * The boundary in the conversation where the annotation starts, inclusive.
      * 
* * .google.cloud.contactcenterinsights.v1.AnnotationBoundary start_boundary = 3; - * * @return The startBoundary. */ public com.google.cloud.contactcenterinsights.v1.AnnotationBoundary getStartBoundary() { if (startBoundaryBuilder_ == null) { - return startBoundary_ == null - ? com.google.cloud.contactcenterinsights.v1.AnnotationBoundary.getDefaultInstance() - : startBoundary_; + return startBoundary_ == null ? com.google.cloud.contactcenterinsights.v1.AnnotationBoundary.getDefaultInstance() : startBoundary_; } else { return startBoundaryBuilder_.getMessage(); } } /** - * - * *
      * The boundary in the conversation where the annotation starts, inclusive.
      * 
* * .google.cloud.contactcenterinsights.v1.AnnotationBoundary start_boundary = 3; */ - public Builder setStartBoundary( - com.google.cloud.contactcenterinsights.v1.AnnotationBoundary value) { + public Builder setStartBoundary(com.google.cloud.contactcenterinsights.v1.AnnotationBoundary value) { if (startBoundaryBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -2819,8 +2384,6 @@ public Builder setStartBoundary( return this; } /** - * - * *
      * The boundary in the conversation where the annotation starts, inclusive.
      * 
@@ -2839,22 +2402,17 @@ public Builder setStartBoundary( return this; } /** - * - * *
      * The boundary in the conversation where the annotation starts, inclusive.
      * 
* * .google.cloud.contactcenterinsights.v1.AnnotationBoundary start_boundary = 3; */ - public Builder mergeStartBoundary( - com.google.cloud.contactcenterinsights.v1.AnnotationBoundary value) { + public Builder mergeStartBoundary(com.google.cloud.contactcenterinsights.v1.AnnotationBoundary value) { if (startBoundaryBuilder_ == null) { - if (((bitField0_ & 0x00000080) != 0) - && startBoundary_ != null - && startBoundary_ - != com.google.cloud.contactcenterinsights.v1.AnnotationBoundary - .getDefaultInstance()) { + if (((bitField0_ & 0x00000080) != 0) && + startBoundary_ != null && + startBoundary_ != com.google.cloud.contactcenterinsights.v1.AnnotationBoundary.getDefaultInstance()) { getStartBoundaryBuilder().mergeFrom(value); } else { startBoundary_ = value; @@ -2867,8 +2425,6 @@ public Builder mergeStartBoundary( return this; } /** - * - * *
      * The boundary in the conversation where the annotation starts, inclusive.
      * 
@@ -2886,42 +2442,33 @@ public Builder clearStartBoundary() { return this; } /** - * - * *
      * The boundary in the conversation where the annotation starts, inclusive.
      * 
* * .google.cloud.contactcenterinsights.v1.AnnotationBoundary start_boundary = 3; */ - public com.google.cloud.contactcenterinsights.v1.AnnotationBoundary.Builder - getStartBoundaryBuilder() { + public com.google.cloud.contactcenterinsights.v1.AnnotationBoundary.Builder getStartBoundaryBuilder() { bitField0_ |= 0x00000080; onChanged(); return getStartBoundaryFieldBuilder().getBuilder(); } /** - * - * *
      * The boundary in the conversation where the annotation starts, inclusive.
      * 
* * .google.cloud.contactcenterinsights.v1.AnnotationBoundary start_boundary = 3; */ - public com.google.cloud.contactcenterinsights.v1.AnnotationBoundaryOrBuilder - getStartBoundaryOrBuilder() { + public com.google.cloud.contactcenterinsights.v1.AnnotationBoundaryOrBuilder getStartBoundaryOrBuilder() { if (startBoundaryBuilder_ != null) { return startBoundaryBuilder_.getMessageOrBuilder(); } else { - return startBoundary_ == null - ? com.google.cloud.contactcenterinsights.v1.AnnotationBoundary.getDefaultInstance() - : startBoundary_; + return startBoundary_ == null ? + com.google.cloud.contactcenterinsights.v1.AnnotationBoundary.getDefaultInstance() : startBoundary_; } } /** - * - * *
      * The boundary in the conversation where the annotation starts, inclusive.
      * 
@@ -2929,17 +2476,14 @@ public Builder clearStartBoundary() { * .google.cloud.contactcenterinsights.v1.AnnotationBoundary start_boundary = 3; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.contactcenterinsights.v1.AnnotationBoundary, - com.google.cloud.contactcenterinsights.v1.AnnotationBoundary.Builder, - com.google.cloud.contactcenterinsights.v1.AnnotationBoundaryOrBuilder> + com.google.cloud.contactcenterinsights.v1.AnnotationBoundary, com.google.cloud.contactcenterinsights.v1.AnnotationBoundary.Builder, com.google.cloud.contactcenterinsights.v1.AnnotationBoundaryOrBuilder> getStartBoundaryFieldBuilder() { if (startBoundaryBuilder_ == null) { - startBoundaryBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.contactcenterinsights.v1.AnnotationBoundary, - com.google.cloud.contactcenterinsights.v1.AnnotationBoundary.Builder, - com.google.cloud.contactcenterinsights.v1.AnnotationBoundaryOrBuilder>( - getStartBoundary(), getParentForChildren(), isClean()); + startBoundaryBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.contactcenterinsights.v1.AnnotationBoundary, com.google.cloud.contactcenterinsights.v1.AnnotationBoundary.Builder, com.google.cloud.contactcenterinsights.v1.AnnotationBoundaryOrBuilder>( + getStartBoundary(), + getParentForChildren(), + isClean()); startBoundary_ = null; } return startBoundaryBuilder_; @@ -2947,55 +2491,41 @@ public Builder clearStartBoundary() { private com.google.cloud.contactcenterinsights.v1.AnnotationBoundary endBoundary_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.contactcenterinsights.v1.AnnotationBoundary, - com.google.cloud.contactcenterinsights.v1.AnnotationBoundary.Builder, - com.google.cloud.contactcenterinsights.v1.AnnotationBoundaryOrBuilder> - endBoundaryBuilder_; + com.google.cloud.contactcenterinsights.v1.AnnotationBoundary, com.google.cloud.contactcenterinsights.v1.AnnotationBoundary.Builder, com.google.cloud.contactcenterinsights.v1.AnnotationBoundaryOrBuilder> endBoundaryBuilder_; /** - * - * *
      * The boundary in the conversation where the annotation ends, inclusive.
      * 
* * .google.cloud.contactcenterinsights.v1.AnnotationBoundary end_boundary = 4; - * * @return Whether the endBoundary field is set. */ public boolean hasEndBoundary() { return ((bitField0_ & 0x00000100) != 0); } /** - * - * *
      * The boundary in the conversation where the annotation ends, inclusive.
      * 
* * .google.cloud.contactcenterinsights.v1.AnnotationBoundary end_boundary = 4; - * * @return The endBoundary. */ public com.google.cloud.contactcenterinsights.v1.AnnotationBoundary getEndBoundary() { if (endBoundaryBuilder_ == null) { - return endBoundary_ == null - ? com.google.cloud.contactcenterinsights.v1.AnnotationBoundary.getDefaultInstance() - : endBoundary_; + return endBoundary_ == null ? com.google.cloud.contactcenterinsights.v1.AnnotationBoundary.getDefaultInstance() : endBoundary_; } else { return endBoundaryBuilder_.getMessage(); } } /** - * - * *
      * The boundary in the conversation where the annotation ends, inclusive.
      * 
* * .google.cloud.contactcenterinsights.v1.AnnotationBoundary end_boundary = 4; */ - public Builder setEndBoundary( - com.google.cloud.contactcenterinsights.v1.AnnotationBoundary value) { + public Builder setEndBoundary(com.google.cloud.contactcenterinsights.v1.AnnotationBoundary value) { if (endBoundaryBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -3009,8 +2539,6 @@ public Builder setEndBoundary( return this; } /** - * - * *
      * The boundary in the conversation where the annotation ends, inclusive.
      * 
@@ -3029,22 +2557,17 @@ public Builder setEndBoundary( return this; } /** - * - * *
      * The boundary in the conversation where the annotation ends, inclusive.
      * 
* * .google.cloud.contactcenterinsights.v1.AnnotationBoundary end_boundary = 4; */ - public Builder mergeEndBoundary( - com.google.cloud.contactcenterinsights.v1.AnnotationBoundary value) { + public Builder mergeEndBoundary(com.google.cloud.contactcenterinsights.v1.AnnotationBoundary value) { if (endBoundaryBuilder_ == null) { - if (((bitField0_ & 0x00000100) != 0) - && endBoundary_ != null - && endBoundary_ - != com.google.cloud.contactcenterinsights.v1.AnnotationBoundary - .getDefaultInstance()) { + if (((bitField0_ & 0x00000100) != 0) && + endBoundary_ != null && + endBoundary_ != com.google.cloud.contactcenterinsights.v1.AnnotationBoundary.getDefaultInstance()) { getEndBoundaryBuilder().mergeFrom(value); } else { endBoundary_ = value; @@ -3057,8 +2580,6 @@ public Builder mergeEndBoundary( return this; } /** - * - * *
      * The boundary in the conversation where the annotation ends, inclusive.
      * 
@@ -3076,42 +2597,33 @@ public Builder clearEndBoundary() { return this; } /** - * - * *
      * The boundary in the conversation where the annotation ends, inclusive.
      * 
* * .google.cloud.contactcenterinsights.v1.AnnotationBoundary end_boundary = 4; */ - public com.google.cloud.contactcenterinsights.v1.AnnotationBoundary.Builder - getEndBoundaryBuilder() { + public com.google.cloud.contactcenterinsights.v1.AnnotationBoundary.Builder getEndBoundaryBuilder() { bitField0_ |= 0x00000100; onChanged(); return getEndBoundaryFieldBuilder().getBuilder(); } /** - * - * *
      * The boundary in the conversation where the annotation ends, inclusive.
      * 
* * .google.cloud.contactcenterinsights.v1.AnnotationBoundary end_boundary = 4; */ - public com.google.cloud.contactcenterinsights.v1.AnnotationBoundaryOrBuilder - getEndBoundaryOrBuilder() { + public com.google.cloud.contactcenterinsights.v1.AnnotationBoundaryOrBuilder getEndBoundaryOrBuilder() { if (endBoundaryBuilder_ != null) { return endBoundaryBuilder_.getMessageOrBuilder(); } else { - return endBoundary_ == null - ? com.google.cloud.contactcenterinsights.v1.AnnotationBoundary.getDefaultInstance() - : endBoundary_; + return endBoundary_ == null ? + com.google.cloud.contactcenterinsights.v1.AnnotationBoundary.getDefaultInstance() : endBoundary_; } } /** - * - * *
      * The boundary in the conversation where the annotation ends, inclusive.
      * 
@@ -3119,17 +2631,14 @@ public Builder clearEndBoundary() { * .google.cloud.contactcenterinsights.v1.AnnotationBoundary end_boundary = 4; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.contactcenterinsights.v1.AnnotationBoundary, - com.google.cloud.contactcenterinsights.v1.AnnotationBoundary.Builder, - com.google.cloud.contactcenterinsights.v1.AnnotationBoundaryOrBuilder> + com.google.cloud.contactcenterinsights.v1.AnnotationBoundary, com.google.cloud.contactcenterinsights.v1.AnnotationBoundary.Builder, com.google.cloud.contactcenterinsights.v1.AnnotationBoundaryOrBuilder> getEndBoundaryFieldBuilder() { if (endBoundaryBuilder_ == null) { - endBoundaryBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.contactcenterinsights.v1.AnnotationBoundary, - com.google.cloud.contactcenterinsights.v1.AnnotationBoundary.Builder, - com.google.cloud.contactcenterinsights.v1.AnnotationBoundaryOrBuilder>( - getEndBoundary(), getParentForChildren(), isClean()); + endBoundaryBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.contactcenterinsights.v1.AnnotationBoundary, com.google.cloud.contactcenterinsights.v1.AnnotationBoundary.Builder, com.google.cloud.contactcenterinsights.v1.AnnotationBoundaryOrBuilder>( + getEndBoundary(), + getParentForChildren(), + isClean()); endBoundary_ = null; } return endBoundaryBuilder_; @@ -3137,55 +2646,41 @@ public Builder clearEndBoundary() { private com.google.cloud.contactcenterinsights.v1.AnswerFeedback answerFeedback_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.contactcenterinsights.v1.AnswerFeedback, - com.google.cloud.contactcenterinsights.v1.AnswerFeedback.Builder, - com.google.cloud.contactcenterinsights.v1.AnswerFeedbackOrBuilder> - answerFeedbackBuilder_; + com.google.cloud.contactcenterinsights.v1.AnswerFeedback, com.google.cloud.contactcenterinsights.v1.AnswerFeedback.Builder, com.google.cloud.contactcenterinsights.v1.AnswerFeedbackOrBuilder> answerFeedbackBuilder_; /** - * - * *
      * The feedback that the customer has about the answer in `data`.
      * 
* * .google.cloud.contactcenterinsights.v1.AnswerFeedback answer_feedback = 5; - * * @return Whether the answerFeedback field is set. */ public boolean hasAnswerFeedback() { return ((bitField0_ & 0x00000200) != 0); } /** - * - * *
      * The feedback that the customer has about the answer in `data`.
      * 
* * .google.cloud.contactcenterinsights.v1.AnswerFeedback answer_feedback = 5; - * * @return The answerFeedback. */ public com.google.cloud.contactcenterinsights.v1.AnswerFeedback getAnswerFeedback() { if (answerFeedbackBuilder_ == null) { - return answerFeedback_ == null - ? com.google.cloud.contactcenterinsights.v1.AnswerFeedback.getDefaultInstance() - : answerFeedback_; + return answerFeedback_ == null ? com.google.cloud.contactcenterinsights.v1.AnswerFeedback.getDefaultInstance() : answerFeedback_; } else { return answerFeedbackBuilder_.getMessage(); } } /** - * - * *
      * The feedback that the customer has about the answer in `data`.
      * 
* * .google.cloud.contactcenterinsights.v1.AnswerFeedback answer_feedback = 5; */ - public Builder setAnswerFeedback( - com.google.cloud.contactcenterinsights.v1.AnswerFeedback value) { + public Builder setAnswerFeedback(com.google.cloud.contactcenterinsights.v1.AnswerFeedback value) { if (answerFeedbackBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -3199,8 +2694,6 @@ public Builder setAnswerFeedback( return this; } /** - * - * *
      * The feedback that the customer has about the answer in `data`.
      * 
@@ -3219,21 +2712,17 @@ public Builder setAnswerFeedback( return this; } /** - * - * *
      * The feedback that the customer has about the answer in `data`.
      * 
* * .google.cloud.contactcenterinsights.v1.AnswerFeedback answer_feedback = 5; */ - public Builder mergeAnswerFeedback( - com.google.cloud.contactcenterinsights.v1.AnswerFeedback value) { + public Builder mergeAnswerFeedback(com.google.cloud.contactcenterinsights.v1.AnswerFeedback value) { if (answerFeedbackBuilder_ == null) { - if (((bitField0_ & 0x00000200) != 0) - && answerFeedback_ != null - && answerFeedback_ - != com.google.cloud.contactcenterinsights.v1.AnswerFeedback.getDefaultInstance()) { + if (((bitField0_ & 0x00000200) != 0) && + answerFeedback_ != null && + answerFeedback_ != com.google.cloud.contactcenterinsights.v1.AnswerFeedback.getDefaultInstance()) { getAnswerFeedbackBuilder().mergeFrom(value); } else { answerFeedback_ = value; @@ -3246,8 +2735,6 @@ public Builder mergeAnswerFeedback( return this; } /** - * - * *
      * The feedback that the customer has about the answer in `data`.
      * 
@@ -3265,42 +2752,33 @@ public Builder clearAnswerFeedback() { return this; } /** - * - * *
      * The feedback that the customer has about the answer in `data`.
      * 
* * .google.cloud.contactcenterinsights.v1.AnswerFeedback answer_feedback = 5; */ - public com.google.cloud.contactcenterinsights.v1.AnswerFeedback.Builder - getAnswerFeedbackBuilder() { + public com.google.cloud.contactcenterinsights.v1.AnswerFeedback.Builder getAnswerFeedbackBuilder() { bitField0_ |= 0x00000200; onChanged(); return getAnswerFeedbackFieldBuilder().getBuilder(); } /** - * - * *
      * The feedback that the customer has about the answer in `data`.
      * 
* * .google.cloud.contactcenterinsights.v1.AnswerFeedback answer_feedback = 5; */ - public com.google.cloud.contactcenterinsights.v1.AnswerFeedbackOrBuilder - getAnswerFeedbackOrBuilder() { + public com.google.cloud.contactcenterinsights.v1.AnswerFeedbackOrBuilder getAnswerFeedbackOrBuilder() { if (answerFeedbackBuilder_ != null) { return answerFeedbackBuilder_.getMessageOrBuilder(); } else { - return answerFeedback_ == null - ? com.google.cloud.contactcenterinsights.v1.AnswerFeedback.getDefaultInstance() - : answerFeedback_; + return answerFeedback_ == null ? + com.google.cloud.contactcenterinsights.v1.AnswerFeedback.getDefaultInstance() : answerFeedback_; } } /** - * - * *
      * The feedback that the customer has about the answer in `data`.
      * 
@@ -3308,24 +2786,21 @@ public Builder clearAnswerFeedback() { * .google.cloud.contactcenterinsights.v1.AnswerFeedback answer_feedback = 5; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.contactcenterinsights.v1.AnswerFeedback, - com.google.cloud.contactcenterinsights.v1.AnswerFeedback.Builder, - com.google.cloud.contactcenterinsights.v1.AnswerFeedbackOrBuilder> + com.google.cloud.contactcenterinsights.v1.AnswerFeedback, com.google.cloud.contactcenterinsights.v1.AnswerFeedback.Builder, com.google.cloud.contactcenterinsights.v1.AnswerFeedbackOrBuilder> getAnswerFeedbackFieldBuilder() { if (answerFeedbackBuilder_ == null) { - answerFeedbackBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.contactcenterinsights.v1.AnswerFeedback, - com.google.cloud.contactcenterinsights.v1.AnswerFeedback.Builder, - com.google.cloud.contactcenterinsights.v1.AnswerFeedbackOrBuilder>( - getAnswerFeedback(), getParentForChildren(), isClean()); + answerFeedbackBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.contactcenterinsights.v1.AnswerFeedback, com.google.cloud.contactcenterinsights.v1.AnswerFeedback.Builder, com.google.cloud.contactcenterinsights.v1.AnswerFeedbackOrBuilder>( + getAnswerFeedback(), + getParentForChildren(), + isClean()); answerFeedback_ = null; } return answerFeedbackBuilder_; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -3335,12 +2810,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.contactcenterinsights.v1.RuntimeAnnotation) } // @@protoc_insertion_point(class_scope:google.cloud.contactcenterinsights.v1.RuntimeAnnotation) private static final com.google.cloud.contactcenterinsights.v1.RuntimeAnnotation DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.contactcenterinsights.v1.RuntimeAnnotation(); } @@ -3349,27 +2824,27 @@ public static com.google.cloud.contactcenterinsights.v1.RuntimeAnnotation getDef return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public RuntimeAnnotation parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public RuntimeAnnotation parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -3384,4 +2859,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.contactcenterinsights.v1.RuntimeAnnotation getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/RuntimeAnnotationOrBuilder.java b/owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/RuntimeAnnotationOrBuilder.java similarity index 78% rename from java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/RuntimeAnnotationOrBuilder.java rename to owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/RuntimeAnnotationOrBuilder.java index 4e2082e340cd..55d891c75812 100644 --- a/java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/RuntimeAnnotationOrBuilder.java +++ b/owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/RuntimeAnnotationOrBuilder.java @@ -1,94 +1,58 @@ -/* - * 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. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/contactcenterinsights/v1/resources.proto package com.google.cloud.contactcenterinsights.v1; -public interface RuntimeAnnotationOrBuilder - extends +public interface RuntimeAnnotationOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.contactcenterinsights.v1.RuntimeAnnotation) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Agent Assist Article Suggestion data.
    * 
* - * .google.cloud.contactcenterinsights.v1.ArticleSuggestionData article_suggestion = 6; - * - * + * .google.cloud.contactcenterinsights.v1.ArticleSuggestionData article_suggestion = 6; * @return Whether the articleSuggestion field is set. */ boolean hasArticleSuggestion(); /** - * - * *
    * Agent Assist Article Suggestion data.
    * 
* - * .google.cloud.contactcenterinsights.v1.ArticleSuggestionData article_suggestion = 6; - * - * + * .google.cloud.contactcenterinsights.v1.ArticleSuggestionData article_suggestion = 6; * @return The articleSuggestion. */ com.google.cloud.contactcenterinsights.v1.ArticleSuggestionData getArticleSuggestion(); /** - * - * *
    * Agent Assist Article Suggestion data.
    * 
* - * .google.cloud.contactcenterinsights.v1.ArticleSuggestionData article_suggestion = 6; - * + * .google.cloud.contactcenterinsights.v1.ArticleSuggestionData article_suggestion = 6; */ - com.google.cloud.contactcenterinsights.v1.ArticleSuggestionDataOrBuilder - getArticleSuggestionOrBuilder(); + com.google.cloud.contactcenterinsights.v1.ArticleSuggestionDataOrBuilder getArticleSuggestionOrBuilder(); /** - * - * *
    * Agent Assist FAQ answer data.
    * 
* * .google.cloud.contactcenterinsights.v1.FaqAnswerData faq_answer = 7; - * * @return Whether the faqAnswer field is set. */ boolean hasFaqAnswer(); /** - * - * *
    * Agent Assist FAQ answer data.
    * 
* * .google.cloud.contactcenterinsights.v1.FaqAnswerData faq_answer = 7; - * * @return The faqAnswer. */ com.google.cloud.contactcenterinsights.v1.FaqAnswerData getFaqAnswer(); /** - * - * *
    * Agent Assist FAQ answer data.
    * 
@@ -98,32 +62,24 @@ public interface RuntimeAnnotationOrBuilder com.google.cloud.contactcenterinsights.v1.FaqAnswerDataOrBuilder getFaqAnswerOrBuilder(); /** - * - * *
    * Agent Assist Smart Reply data.
    * 
* * .google.cloud.contactcenterinsights.v1.SmartReplyData smart_reply = 8; - * * @return Whether the smartReply field is set. */ boolean hasSmartReply(); /** - * - * *
    * Agent Assist Smart Reply data.
    * 
* * .google.cloud.contactcenterinsights.v1.SmartReplyData smart_reply = 8; - * * @return The smartReply. */ com.google.cloud.contactcenterinsights.v1.SmartReplyData getSmartReply(); /** - * - * *
    * Agent Assist Smart Reply data.
    * 
@@ -133,92 +89,60 @@ public interface RuntimeAnnotationOrBuilder com.google.cloud.contactcenterinsights.v1.SmartReplyDataOrBuilder getSmartReplyOrBuilder(); /** - * - * *
    * Agent Assist Smart Compose suggestion data.
    * 
* - * - * .google.cloud.contactcenterinsights.v1.SmartComposeSuggestionData smart_compose_suggestion = 9; - * - * + * .google.cloud.contactcenterinsights.v1.SmartComposeSuggestionData smart_compose_suggestion = 9; * @return Whether the smartComposeSuggestion field is set. */ boolean hasSmartComposeSuggestion(); /** - * - * *
    * Agent Assist Smart Compose suggestion data.
    * 
* - * - * .google.cloud.contactcenterinsights.v1.SmartComposeSuggestionData smart_compose_suggestion = 9; - * - * + * .google.cloud.contactcenterinsights.v1.SmartComposeSuggestionData smart_compose_suggestion = 9; * @return The smartComposeSuggestion. */ com.google.cloud.contactcenterinsights.v1.SmartComposeSuggestionData getSmartComposeSuggestion(); /** - * - * *
    * Agent Assist Smart Compose suggestion data.
    * 
* - * - * .google.cloud.contactcenterinsights.v1.SmartComposeSuggestionData smart_compose_suggestion = 9; - * + * .google.cloud.contactcenterinsights.v1.SmartComposeSuggestionData smart_compose_suggestion = 9; */ - com.google.cloud.contactcenterinsights.v1.SmartComposeSuggestionDataOrBuilder - getSmartComposeSuggestionOrBuilder(); + com.google.cloud.contactcenterinsights.v1.SmartComposeSuggestionDataOrBuilder getSmartComposeSuggestionOrBuilder(); /** - * - * *
    * Dialogflow interaction data.
    * 
* - * - * .google.cloud.contactcenterinsights.v1.DialogflowInteractionData dialogflow_interaction = 10; - * - * + * .google.cloud.contactcenterinsights.v1.DialogflowInteractionData dialogflow_interaction = 10; * @return Whether the dialogflowInteraction field is set. */ boolean hasDialogflowInteraction(); /** - * - * *
    * Dialogflow interaction data.
    * 
* - * - * .google.cloud.contactcenterinsights.v1.DialogflowInteractionData dialogflow_interaction = 10; - * - * + * .google.cloud.contactcenterinsights.v1.DialogflowInteractionData dialogflow_interaction = 10; * @return The dialogflowInteraction. */ com.google.cloud.contactcenterinsights.v1.DialogflowInteractionData getDialogflowInteraction(); /** - * - * *
    * Dialogflow interaction data.
    * 
* - * - * .google.cloud.contactcenterinsights.v1.DialogflowInteractionData dialogflow_interaction = 10; - * + * .google.cloud.contactcenterinsights.v1.DialogflowInteractionData dialogflow_interaction = 10; */ - com.google.cloud.contactcenterinsights.v1.DialogflowInteractionDataOrBuilder - getDialogflowInteractionOrBuilder(); + com.google.cloud.contactcenterinsights.v1.DialogflowInteractionDataOrBuilder getDialogflowInteractionOrBuilder(); /** - * - * *
    * The unique identifier of the annotation.
    * Format:
@@ -226,13 +150,10 @@ public interface RuntimeAnnotationOrBuilder
    * 
* * string annotation_id = 1; - * * @return The annotationId. */ java.lang.String getAnnotationId(); /** - * - * *
    * The unique identifier of the annotation.
    * Format:
@@ -240,38 +161,30 @@ public interface RuntimeAnnotationOrBuilder
    * 
* * string annotation_id = 1; - * * @return The bytes for annotationId. */ - com.google.protobuf.ByteString getAnnotationIdBytes(); + com.google.protobuf.ByteString + getAnnotationIdBytes(); /** - * - * *
    * The time at which this annotation was created.
    * 
* * .google.protobuf.Timestamp create_time = 2; - * * @return Whether the createTime field is set. */ boolean hasCreateTime(); /** - * - * *
    * The time at which this annotation was created.
    * 
* * .google.protobuf.Timestamp create_time = 2; - * * @return The createTime. */ com.google.protobuf.Timestamp getCreateTime(); /** - * - * *
    * The time at which this annotation was created.
    * 
@@ -281,32 +194,24 @@ public interface RuntimeAnnotationOrBuilder com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder(); /** - * - * *
    * The boundary in the conversation where the annotation starts, inclusive.
    * 
* * .google.cloud.contactcenterinsights.v1.AnnotationBoundary start_boundary = 3; - * * @return Whether the startBoundary field is set. */ boolean hasStartBoundary(); /** - * - * *
    * The boundary in the conversation where the annotation starts, inclusive.
    * 
* * .google.cloud.contactcenterinsights.v1.AnnotationBoundary start_boundary = 3; - * * @return The startBoundary. */ com.google.cloud.contactcenterinsights.v1.AnnotationBoundary getStartBoundary(); /** - * - * *
    * The boundary in the conversation where the annotation starts, inclusive.
    * 
@@ -316,32 +221,24 @@ public interface RuntimeAnnotationOrBuilder com.google.cloud.contactcenterinsights.v1.AnnotationBoundaryOrBuilder getStartBoundaryOrBuilder(); /** - * - * *
    * The boundary in the conversation where the annotation ends, inclusive.
    * 
* * .google.cloud.contactcenterinsights.v1.AnnotationBoundary end_boundary = 4; - * * @return Whether the endBoundary field is set. */ boolean hasEndBoundary(); /** - * - * *
    * The boundary in the conversation where the annotation ends, inclusive.
    * 
* * .google.cloud.contactcenterinsights.v1.AnnotationBoundary end_boundary = 4; - * * @return The endBoundary. */ com.google.cloud.contactcenterinsights.v1.AnnotationBoundary getEndBoundary(); /** - * - * *
    * The boundary in the conversation where the annotation ends, inclusive.
    * 
@@ -351,32 +248,24 @@ public interface RuntimeAnnotationOrBuilder com.google.cloud.contactcenterinsights.v1.AnnotationBoundaryOrBuilder getEndBoundaryOrBuilder(); /** - * - * *
    * The feedback that the customer has about the answer in `data`.
    * 
* * .google.cloud.contactcenterinsights.v1.AnswerFeedback answer_feedback = 5; - * * @return Whether the answerFeedback field is set. */ boolean hasAnswerFeedback(); /** - * - * *
    * The feedback that the customer has about the answer in `data`.
    * 
* * .google.cloud.contactcenterinsights.v1.AnswerFeedback answer_feedback = 5; - * * @return The answerFeedback. */ com.google.cloud.contactcenterinsights.v1.AnswerFeedback getAnswerFeedback(); /** - * - * *
    * The feedback that the customer has about the answer in `data`.
    * 
diff --git a/java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/SentimentData.java b/owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/SentimentData.java similarity index 67% rename from java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/SentimentData.java rename to owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/SentimentData.java index 8c3a5073ae11..3ee3e5b8f41e 100644 --- a/java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/SentimentData.java +++ b/owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/SentimentData.java @@ -1,82 +1,61 @@ -/* - * 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. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/contactcenterinsights/v1/resources.proto package com.google.cloud.contactcenterinsights.v1; /** - * - * *
  * The data for a sentiment annotation.
  * 
* * Protobuf type {@code google.cloud.contactcenterinsights.v1.SentimentData} */ -public final class SentimentData extends com.google.protobuf.GeneratedMessageV3 - implements +public final class SentimentData extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.contactcenterinsights.v1.SentimentData) SentimentDataOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use SentimentData.newBuilder() to construct. private SentimentData(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - - private SentimentData() {} + private SentimentData() { + } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new SentimentData(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.contactcenterinsights.v1.ResourcesProto - .internal_static_google_cloud_contactcenterinsights_v1_SentimentData_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.contactcenterinsights.v1.ResourcesProto.internal_static_google_cloud_contactcenterinsights_v1_SentimentData_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.contactcenterinsights.v1.ResourcesProto - .internal_static_google_cloud_contactcenterinsights_v1_SentimentData_fieldAccessorTable + return com.google.cloud.contactcenterinsights.v1.ResourcesProto.internal_static_google_cloud_contactcenterinsights_v1_SentimentData_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.contactcenterinsights.v1.SentimentData.class, - com.google.cloud.contactcenterinsights.v1.SentimentData.Builder.class); + com.google.cloud.contactcenterinsights.v1.SentimentData.class, com.google.cloud.contactcenterinsights.v1.SentimentData.Builder.class); } public static final int MAGNITUDE_FIELD_NUMBER = 1; private float magnitude_ = 0F; /** - * - * *
    * A non-negative number from 0 to infinity which represents the abolute
    * magnitude of sentiment regardless of score.
    * 
* * float magnitude = 1; - * * @return The magnitude. */ @java.lang.Override @@ -87,14 +66,11 @@ public float getMagnitude() { public static final int SCORE_FIELD_NUMBER = 2; private float score_ = 0F; /** - * - * *
    * The sentiment score between -1.0 (negative) and 1.0 (positive).
    * 
* * float score = 2; - * * @return The score. */ @java.lang.Override @@ -103,7 +79,6 @@ public float getScore() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -115,7 +90,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (java.lang.Float.floatToRawIntBits(magnitude_) != 0) { output.writeFloat(1, magnitude_); } @@ -132,10 +108,12 @@ public int getSerializedSize() { size = 0; if (java.lang.Float.floatToRawIntBits(magnitude_) != 0) { - size += com.google.protobuf.CodedOutputStream.computeFloatSize(1, magnitude_); + size += com.google.protobuf.CodedOutputStream + .computeFloatSize(1, magnitude_); } if (java.lang.Float.floatToRawIntBits(score_) != 0) { - size += com.google.protobuf.CodedOutputStream.computeFloatSize(2, score_); + size += com.google.protobuf.CodedOutputStream + .computeFloatSize(2, score_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -145,18 +123,19 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.contactcenterinsights.v1.SentimentData)) { return super.equals(obj); } - com.google.cloud.contactcenterinsights.v1.SentimentData other = - (com.google.cloud.contactcenterinsights.v1.SentimentData) obj; + com.google.cloud.contactcenterinsights.v1.SentimentData other = (com.google.cloud.contactcenterinsights.v1.SentimentData) obj; if (java.lang.Float.floatToIntBits(getMagnitude()) - != java.lang.Float.floatToIntBits(other.getMagnitude())) return false; + != java.lang.Float.floatToIntBits( + other.getMagnitude())) return false; if (java.lang.Float.floatToIntBits(getScore()) - != java.lang.Float.floatToIntBits(other.getScore())) return false; + != java.lang.Float.floatToIntBits( + other.getScore())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -169,145 +148,140 @@ public int hashCode() { int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); hash = (37 * hash) + MAGNITUDE_FIELD_NUMBER; - hash = (53 * hash) + java.lang.Float.floatToIntBits(getMagnitude()); + hash = (53 * hash) + java.lang.Float.floatToIntBits( + getMagnitude()); hash = (37 * hash) + SCORE_FIELD_NUMBER; - hash = (53 * hash) + java.lang.Float.floatToIntBits(getScore()); + hash = (53 * hash) + java.lang.Float.floatToIntBits( + getScore()); hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } public static com.google.cloud.contactcenterinsights.v1.SentimentData parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.contactcenterinsights.v1.SentimentData parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.contactcenterinsights.v1.SentimentData parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.contactcenterinsights.v1.SentimentData parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.contactcenterinsights.v1.SentimentData parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.contactcenterinsights.v1.SentimentData parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.contactcenterinsights.v1.SentimentData parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.contactcenterinsights.v1.SentimentData parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.contactcenterinsights.v1.SentimentData parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.contactcenterinsights.v1.SentimentData parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.contactcenterinsights.v1.SentimentData parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.contactcenterinsights.v1.SentimentData parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.contactcenterinsights.v1.SentimentData parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.contactcenterinsights.v1.SentimentData parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.contactcenterinsights.v1.SentimentData prototype) { + public static Builder newBuilder(com.google.cloud.contactcenterinsights.v1.SentimentData prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * The data for a sentiment annotation.
    * 
* * Protobuf type {@code google.cloud.contactcenterinsights.v1.SentimentData} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.contactcenterinsights.v1.SentimentData) com.google.cloud.contactcenterinsights.v1.SentimentDataOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.contactcenterinsights.v1.ResourcesProto - .internal_static_google_cloud_contactcenterinsights_v1_SentimentData_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.contactcenterinsights.v1.ResourcesProto.internal_static_google_cloud_contactcenterinsights_v1_SentimentData_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.contactcenterinsights.v1.ResourcesProto - .internal_static_google_cloud_contactcenterinsights_v1_SentimentData_fieldAccessorTable + return com.google.cloud.contactcenterinsights.v1.ResourcesProto.internal_static_google_cloud_contactcenterinsights_v1_SentimentData_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.contactcenterinsights.v1.SentimentData.class, - com.google.cloud.contactcenterinsights.v1.SentimentData.Builder.class); + com.google.cloud.contactcenterinsights.v1.SentimentData.class, com.google.cloud.contactcenterinsights.v1.SentimentData.Builder.class); } // Construct using com.google.cloud.contactcenterinsights.v1.SentimentData.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -318,9 +292,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.contactcenterinsights.v1.ResourcesProto - .internal_static_google_cloud_contactcenterinsights_v1_SentimentData_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.contactcenterinsights.v1.ResourcesProto.internal_static_google_cloud_contactcenterinsights_v1_SentimentData_descriptor; } @java.lang.Override @@ -339,11 +313,8 @@ public com.google.cloud.contactcenterinsights.v1.SentimentData build() { @java.lang.Override public com.google.cloud.contactcenterinsights.v1.SentimentData buildPartial() { - com.google.cloud.contactcenterinsights.v1.SentimentData result = - new com.google.cloud.contactcenterinsights.v1.SentimentData(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + com.google.cloud.contactcenterinsights.v1.SentimentData result = new com.google.cloud.contactcenterinsights.v1.SentimentData(this); + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } @@ -362,39 +333,38 @@ private void buildPartial0(com.google.cloud.contactcenterinsights.v1.SentimentDa public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.contactcenterinsights.v1.SentimentData) { - return mergeFrom((com.google.cloud.contactcenterinsights.v1.SentimentData) other); + return mergeFrom((com.google.cloud.contactcenterinsights.v1.SentimentData)other); } else { super.mergeFrom(other); return this; @@ -402,8 +372,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.contactcenterinsights.v1.SentimentData other) { - if (other == com.google.cloud.contactcenterinsights.v1.SentimentData.getDefaultInstance()) - return this; + if (other == com.google.cloud.contactcenterinsights.v1.SentimentData.getDefaultInstance()) return this; if (other.getMagnitude() != 0F) { setMagnitude(other.getMagnitude()); } @@ -436,25 +405,22 @@ public Builder mergeFrom( case 0: done = true; break; - case 13: - { - magnitude_ = input.readFloat(); - bitField0_ |= 0x00000001; - break; - } // case 13 - case 21: - { - score_ = input.readFloat(); - bitField0_ |= 0x00000002; - break; - } // case 21 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 13: { + magnitude_ = input.readFloat(); + bitField0_ |= 0x00000001; + break; + } // case 13 + case 21: { + score_ = input.readFloat(); + bitField0_ |= 0x00000002; + break; + } // case 21 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -464,20 +430,16 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; - private float magnitude_; + private float magnitude_ ; /** - * - * *
      * A non-negative number from 0 to infinity which represents the abolute
      * magnitude of sentiment regardless of score.
      * 
* * float magnitude = 1; - * * @return The magnitude. */ @java.lang.Override @@ -485,35 +447,29 @@ public float getMagnitude() { return magnitude_; } /** - * - * *
      * A non-negative number from 0 to infinity which represents the abolute
      * magnitude of sentiment regardless of score.
      * 
* * float magnitude = 1; - * * @param value The magnitude to set. * @return This builder for chaining. */ public Builder setMagnitude(float value) { - + magnitude_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
      * A non-negative number from 0 to infinity which represents the abolute
      * magnitude of sentiment regardless of score.
      * 
* * float magnitude = 1; - * * @return This builder for chaining. */ public Builder clearMagnitude() { @@ -523,16 +479,13 @@ public Builder clearMagnitude() { return this; } - private float score_; + private float score_ ; /** - * - * *
      * The sentiment score between -1.0 (negative) and 1.0 (positive).
      * 
* * float score = 2; - * * @return The score. */ @java.lang.Override @@ -540,33 +493,27 @@ public float getScore() { return score_; } /** - * - * *
      * The sentiment score between -1.0 (negative) and 1.0 (positive).
      * 
* * float score = 2; - * * @param value The score to set. * @return This builder for chaining. */ public Builder setScore(float value) { - + score_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** - * - * *
      * The sentiment score between -1.0 (negative) and 1.0 (positive).
      * 
* * float score = 2; - * * @return This builder for chaining. */ public Builder clearScore() { @@ -575,9 +522,9 @@ public Builder clearScore() { onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -587,12 +534,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.contactcenterinsights.v1.SentimentData) } // @@protoc_insertion_point(class_scope:google.cloud.contactcenterinsights.v1.SentimentData) private static final com.google.cloud.contactcenterinsights.v1.SentimentData DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.contactcenterinsights.v1.SentimentData(); } @@ -601,27 +548,27 @@ public static com.google.cloud.contactcenterinsights.v1.SentimentData getDefault return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public SentimentData parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public SentimentData parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -636,4 +583,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.contactcenterinsights.v1.SentimentData getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/SentimentDataOrBuilder.java b/owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/SentimentDataOrBuilder.java similarity index 53% rename from java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/SentimentDataOrBuilder.java rename to owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/SentimentDataOrBuilder.java index 1c905b00d804..b3ce797b5bbf 100644 --- a/java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/SentimentDataOrBuilder.java +++ b/owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/SentimentDataOrBuilder.java @@ -1,51 +1,29 @@ -/* - * 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. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/contactcenterinsights/v1/resources.proto package com.google.cloud.contactcenterinsights.v1; -public interface SentimentDataOrBuilder - extends +public interface SentimentDataOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.contactcenterinsights.v1.SentimentData) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * A non-negative number from 0 to infinity which represents the abolute
    * magnitude of sentiment regardless of score.
    * 
* * float magnitude = 1; - * * @return The magnitude. */ float getMagnitude(); /** - * - * *
    * The sentiment score between -1.0 (negative) and 1.0 (positive).
    * 
* * float score = 2; - * * @return The score. */ float getScore(); diff --git a/java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/Settings.java b/owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/Settings.java similarity index 70% rename from java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/Settings.java rename to owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/Settings.java index fa237f12c16c..d97a493f1c86 100644 --- a/java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/Settings.java +++ b/owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/Settings.java @@ -1,42 +1,24 @@ -/* - * 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. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/contactcenterinsights/v1/resources.proto package com.google.cloud.contactcenterinsights.v1; /** - * - * *
  * The settings resource.
  * 
* * Protobuf type {@code google.cloud.contactcenterinsights.v1.Settings} */ -public final class Settings extends com.google.protobuf.GeneratedMessageV3 - implements +public final class Settings extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.contactcenterinsights.v1.Settings) SettingsOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use Settings.newBuilder() to construct. private Settings(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private Settings() { name_ = ""; languageCode_ = ""; @@ -44,89 +26,77 @@ private Settings() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new Settings(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.contactcenterinsights.v1.ResourcesProto - .internal_static_google_cloud_contactcenterinsights_v1_Settings_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.contactcenterinsights.v1.ResourcesProto.internal_static_google_cloud_contactcenterinsights_v1_Settings_descriptor; } @SuppressWarnings({"rawtypes"}) @java.lang.Override - protected com.google.protobuf.MapField internalGetMapField(int number) { + protected com.google.protobuf.MapField internalGetMapField( + int number) { switch (number) { case 6: return internalGetPubsubNotificationSettings(); default: - throw new RuntimeException("Invalid map field number: " + number); + throw new RuntimeException( + "Invalid map field number: " + number); } } - @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.contactcenterinsights.v1.ResourcesProto - .internal_static_google_cloud_contactcenterinsights_v1_Settings_fieldAccessorTable + return com.google.cloud.contactcenterinsights.v1.ResourcesProto.internal_static_google_cloud_contactcenterinsights_v1_Settings_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.contactcenterinsights.v1.Settings.class, - com.google.cloud.contactcenterinsights.v1.Settings.Builder.class); + com.google.cloud.contactcenterinsights.v1.Settings.class, com.google.cloud.contactcenterinsights.v1.Settings.Builder.class); } - public interface AnalysisConfigOrBuilder - extends + public interface AnalysisConfigOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.contactcenterinsights.v1.Settings.AnalysisConfig) com.google.protobuf.MessageOrBuilder { /** - * - * *
      * Percentage of conversations created using Dialogflow runtime integration
      * to analyze automatically, between [0, 100].
      * 
* * double runtime_integration_analysis_percentage = 1; - * * @return The runtimeIntegrationAnalysisPercentage. */ double getRuntimeIntegrationAnalysisPercentage(); /** - * - * *
      * To select the annotators to run and the phrase matchers to use
      * (if any). If not specified, all annotators will be run.
      * 
* * .google.cloud.contactcenterinsights.v1.AnnotatorSelector annotator_selector = 5; - * * @return Whether the annotatorSelector field is set. */ boolean hasAnnotatorSelector(); /** - * - * *
      * To select the annotators to run and the phrase matchers to use
      * (if any). If not specified, all annotators will be run.
      * 
* * .google.cloud.contactcenterinsights.v1.AnnotatorSelector annotator_selector = 5; - * * @return The annotatorSelector. */ com.google.cloud.contactcenterinsights.v1.AnnotatorSelector getAnnotatorSelector(); /** - * - * *
      * To select the annotators to run and the phrase matchers to use
      * (if any). If not specified, all annotators will be run.
@@ -134,68 +104,61 @@ public interface AnalysisConfigOrBuilder
      *
      * .google.cloud.contactcenterinsights.v1.AnnotatorSelector annotator_selector = 5;
      */
-    com.google.cloud.contactcenterinsights.v1.AnnotatorSelectorOrBuilder
-        getAnnotatorSelectorOrBuilder();
+    com.google.cloud.contactcenterinsights.v1.AnnotatorSelectorOrBuilder getAnnotatorSelectorOrBuilder();
   }
   /**
-   *
-   *
    * 
    * Default configuration when creating Analyses in Insights.
    * 
* * Protobuf type {@code google.cloud.contactcenterinsights.v1.Settings.AnalysisConfig} */ - public static final class AnalysisConfig extends com.google.protobuf.GeneratedMessageV3 - implements + public static final class AnalysisConfig extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.contactcenterinsights.v1.Settings.AnalysisConfig) AnalysisConfigOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use AnalysisConfig.newBuilder() to construct. private AnalysisConfig(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - - private AnalysisConfig() {} + private AnalysisConfig() { + } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new AnalysisConfig(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.contactcenterinsights.v1.ResourcesProto - .internal_static_google_cloud_contactcenterinsights_v1_Settings_AnalysisConfig_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.contactcenterinsights.v1.ResourcesProto.internal_static_google_cloud_contactcenterinsights_v1_Settings_AnalysisConfig_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.contactcenterinsights.v1.ResourcesProto - .internal_static_google_cloud_contactcenterinsights_v1_Settings_AnalysisConfig_fieldAccessorTable + return com.google.cloud.contactcenterinsights.v1.ResourcesProto.internal_static_google_cloud_contactcenterinsights_v1_Settings_AnalysisConfig_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.contactcenterinsights.v1.Settings.AnalysisConfig.class, - com.google.cloud.contactcenterinsights.v1.Settings.AnalysisConfig.Builder.class); + com.google.cloud.contactcenterinsights.v1.Settings.AnalysisConfig.class, com.google.cloud.contactcenterinsights.v1.Settings.AnalysisConfig.Builder.class); } public static final int RUNTIME_INTEGRATION_ANALYSIS_PERCENTAGE_FIELD_NUMBER = 1; private double runtimeIntegrationAnalysisPercentage_ = 0D; /** - * - * *
      * Percentage of conversations created using Dialogflow runtime integration
      * to analyze automatically, between [0, 100].
      * 
* * double runtime_integration_analysis_percentage = 1; - * * @return The runtimeIntegrationAnalysisPercentage. */ @java.lang.Override @@ -206,15 +169,12 @@ public double getRuntimeIntegrationAnalysisPercentage() { public static final int ANNOTATOR_SELECTOR_FIELD_NUMBER = 5; private com.google.cloud.contactcenterinsights.v1.AnnotatorSelector annotatorSelector_; /** - * - * *
      * To select the annotators to run and the phrase matchers to use
      * (if any). If not specified, all annotators will be run.
      * 
* * .google.cloud.contactcenterinsights.v1.AnnotatorSelector annotator_selector = 5; - * * @return Whether the annotatorSelector field is set. */ @java.lang.Override @@ -222,26 +182,19 @@ public boolean hasAnnotatorSelector() { return annotatorSelector_ != null; } /** - * - * *
      * To select the annotators to run and the phrase matchers to use
      * (if any). If not specified, all annotators will be run.
      * 
* * .google.cloud.contactcenterinsights.v1.AnnotatorSelector annotator_selector = 5; - * * @return The annotatorSelector. */ @java.lang.Override public com.google.cloud.contactcenterinsights.v1.AnnotatorSelector getAnnotatorSelector() { - return annotatorSelector_ == null - ? com.google.cloud.contactcenterinsights.v1.AnnotatorSelector.getDefaultInstance() - : annotatorSelector_; + return annotatorSelector_ == null ? com.google.cloud.contactcenterinsights.v1.AnnotatorSelector.getDefaultInstance() : annotatorSelector_; } /** - * - * *
      * To select the annotators to run and the phrase matchers to use
      * (if any). If not specified, all annotators will be run.
@@ -250,15 +203,11 @@ public com.google.cloud.contactcenterinsights.v1.AnnotatorSelector getAnnotatorS
      * .google.cloud.contactcenterinsights.v1.AnnotatorSelector annotator_selector = 5;
      */
     @java.lang.Override
-    public com.google.cloud.contactcenterinsights.v1.AnnotatorSelectorOrBuilder
-        getAnnotatorSelectorOrBuilder() {
-      return annotatorSelector_ == null
-          ? com.google.cloud.contactcenterinsights.v1.AnnotatorSelector.getDefaultInstance()
-          : annotatorSelector_;
+    public com.google.cloud.contactcenterinsights.v1.AnnotatorSelectorOrBuilder getAnnotatorSelectorOrBuilder() {
+      return annotatorSelector_ == null ? com.google.cloud.contactcenterinsights.v1.AnnotatorSelector.getDefaultInstance() : annotatorSelector_;
     }
 
     private byte memoizedIsInitialized = -1;
-
     @java.lang.Override
     public final boolean isInitialized() {
       byte isInitialized = memoizedIsInitialized;
@@ -270,7 +219,8 @@ public final boolean isInitialized() {
     }
 
     @java.lang.Override
-    public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
+    public void writeTo(com.google.protobuf.CodedOutputStream output)
+                        throws java.io.IOException {
       if (java.lang.Double.doubleToRawLongBits(runtimeIntegrationAnalysisPercentage_) != 0) {
         output.writeDouble(1, runtimeIntegrationAnalysisPercentage_);
       }
@@ -287,12 +237,12 @@ public int getSerializedSize() {
 
       size = 0;
       if (java.lang.Double.doubleToRawLongBits(runtimeIntegrationAnalysisPercentage_) != 0) {
-        size +=
-            com.google.protobuf.CodedOutputStream.computeDoubleSize(
-                1, runtimeIntegrationAnalysisPercentage_);
+        size += com.google.protobuf.CodedOutputStream
+          .computeDoubleSize(1, runtimeIntegrationAnalysisPercentage_);
       }
       if (annotatorSelector_ != null) {
-        size += com.google.protobuf.CodedOutputStream.computeMessageSize(5, getAnnotatorSelector());
+        size += com.google.protobuf.CodedOutputStream
+          .computeMessageSize(5, getAnnotatorSelector());
       }
       size += getUnknownFields().getSerializedSize();
       memoizedSize = size;
@@ -302,20 +252,20 @@ public int getSerializedSize() {
     @java.lang.Override
     public boolean equals(final java.lang.Object obj) {
       if (obj == this) {
-        return true;
+       return true;
       }
       if (!(obj instanceof com.google.cloud.contactcenterinsights.v1.Settings.AnalysisConfig)) {
         return super.equals(obj);
       }
-      com.google.cloud.contactcenterinsights.v1.Settings.AnalysisConfig other =
-          (com.google.cloud.contactcenterinsights.v1.Settings.AnalysisConfig) obj;
+      com.google.cloud.contactcenterinsights.v1.Settings.AnalysisConfig other = (com.google.cloud.contactcenterinsights.v1.Settings.AnalysisConfig) obj;
 
       if (java.lang.Double.doubleToLongBits(getRuntimeIntegrationAnalysisPercentage())
-          != java.lang.Double.doubleToLongBits(other.getRuntimeIntegrationAnalysisPercentage()))
-        return false;
+          != java.lang.Double.doubleToLongBits(
+              other.getRuntimeIntegrationAnalysisPercentage())) return false;
       if (hasAnnotatorSelector() != other.hasAnnotatorSelector()) return false;
       if (hasAnnotatorSelector()) {
-        if (!getAnnotatorSelector().equals(other.getAnnotatorSelector())) return false;
+        if (!getAnnotatorSelector()
+            .equals(other.getAnnotatorSelector())) return false;
       }
       if (!getUnknownFields().equals(other.getUnknownFields())) return false;
       return true;
@@ -329,10 +279,8 @@ public int hashCode() {
       int hash = 41;
       hash = (19 * hash) + getDescriptor().hashCode();
       hash = (37 * hash) + RUNTIME_INTEGRATION_ANALYSIS_PERCENTAGE_FIELD_NUMBER;
-      hash =
-          (53 * hash)
-              + com.google.protobuf.Internal.hashLong(
-                  java.lang.Double.doubleToLongBits(getRuntimeIntegrationAnalysisPercentage()));
+      hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
+          java.lang.Double.doubleToLongBits(getRuntimeIntegrationAnalysisPercentage()));
       if (hasAnnotatorSelector()) {
         hash = (37 * hash) + ANNOTATOR_SELECTOR_FIELD_NUMBER;
         hash = (53 * hash) + getAnnotatorSelector().hashCode();
@@ -343,95 +291,87 @@ public int hashCode() {
     }
 
     public static com.google.cloud.contactcenterinsights.v1.Settings.AnalysisConfig parseFrom(
-        java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException {
+        java.nio.ByteBuffer data)
+        throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data);
     }
-
     public static com.google.cloud.contactcenterinsights.v1.Settings.AnalysisConfig parseFrom(
-        java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        java.nio.ByteBuffer data,
+        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data, extensionRegistry);
     }
-
     public static com.google.cloud.contactcenterinsights.v1.Settings.AnalysisConfig parseFrom(
         com.google.protobuf.ByteString data)
         throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data);
     }
-
     public static com.google.cloud.contactcenterinsights.v1.Settings.AnalysisConfig parseFrom(
         com.google.protobuf.ByteString data,
         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data, extensionRegistry);
     }
-
-    public static com.google.cloud.contactcenterinsights.v1.Settings.AnalysisConfig parseFrom(
-        byte[] data) throws com.google.protobuf.InvalidProtocolBufferException {
+    public static com.google.cloud.contactcenterinsights.v1.Settings.AnalysisConfig parseFrom(byte[] data)
+        throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data);
     }
-
     public static com.google.cloud.contactcenterinsights.v1.Settings.AnalysisConfig parseFrom(
-        byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        byte[] data,
+        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data, extensionRegistry);
     }
-
-    public static com.google.cloud.contactcenterinsights.v1.Settings.AnalysisConfig parseFrom(
-        java.io.InputStream input) throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+    public static com.google.cloud.contactcenterinsights.v1.Settings.AnalysisConfig parseFrom(java.io.InputStream input)
+        throws java.io.IOException {
+      return com.google.protobuf.GeneratedMessageV3
+          .parseWithIOException(PARSER, input);
     }
-
     public static com.google.cloud.contactcenterinsights.v1.Settings.AnalysisConfig parseFrom(
-        java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        java.io.InputStream input,
+        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
-          PARSER, input, extensionRegistry);
+      return com.google.protobuf.GeneratedMessageV3
+          .parseWithIOException(PARSER, input, extensionRegistry);
     }
-
-    public static com.google.cloud.contactcenterinsights.v1.Settings.AnalysisConfig
-        parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
+    public static com.google.cloud.contactcenterinsights.v1.Settings.AnalysisConfig parseDelimitedFrom(java.io.InputStream input)
+        throws java.io.IOException {
+      return com.google.protobuf.GeneratedMessageV3
+          .parseDelimitedWithIOException(PARSER, input);
     }
-
-    public static com.google.cloud.contactcenterinsights.v1.Settings.AnalysisConfig
-        parseDelimitedFrom(
-            java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-            throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(
-          PARSER, input, extensionRegistry);
+    public static com.google.cloud.contactcenterinsights.v1.Settings.AnalysisConfig parseDelimitedFrom(
+        java.io.InputStream input,
+        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        throws java.io.IOException {
+      return com.google.protobuf.GeneratedMessageV3
+          .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
     }
-
     public static com.google.cloud.contactcenterinsights.v1.Settings.AnalysisConfig parseFrom(
-        com.google.protobuf.CodedInputStream input) throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+        com.google.protobuf.CodedInputStream input)
+        throws java.io.IOException {
+      return com.google.protobuf.GeneratedMessageV3
+          .parseWithIOException(PARSER, input);
     }
-
     public static com.google.cloud.contactcenterinsights.v1.Settings.AnalysisConfig parseFrom(
         com.google.protobuf.CodedInputStream input,
         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
-          PARSER, input, extensionRegistry);
+      return com.google.protobuf.GeneratedMessageV3
+          .parseWithIOException(PARSER, input, extensionRegistry);
     }
 
     @java.lang.Override
-    public Builder newBuilderForType() {
-      return newBuilder();
-    }
-
+    public Builder newBuilderForType() { return newBuilder(); }
     public static Builder newBuilder() {
       return DEFAULT_INSTANCE.toBuilder();
     }
-
-    public static Builder newBuilder(
-        com.google.cloud.contactcenterinsights.v1.Settings.AnalysisConfig prototype) {
+    public static Builder newBuilder(com.google.cloud.contactcenterinsights.v1.Settings.AnalysisConfig prototype) {
       return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
     }
-
     @java.lang.Override
     public Builder toBuilder() {
-      return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
+      return this == DEFAULT_INSTANCE
+          ? new Builder() : new Builder().mergeFrom(this);
     }
 
     @java.lang.Override
@@ -441,42 +381,39 @@ protected Builder newBuilderForType(
       return builder;
     }
     /**
-     *
-     *
      * 
      * Default configuration when creating Analyses in Insights.
      * 
* * Protobuf type {@code google.cloud.contactcenterinsights.v1.Settings.AnalysisConfig} */ - public static final class Builder - extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.contactcenterinsights.v1.Settings.AnalysisConfig) com.google.cloud.contactcenterinsights.v1.Settings.AnalysisConfigOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.contactcenterinsights.v1.ResourcesProto - .internal_static_google_cloud_contactcenterinsights_v1_Settings_AnalysisConfig_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.contactcenterinsights.v1.ResourcesProto.internal_static_google_cloud_contactcenterinsights_v1_Settings_AnalysisConfig_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.contactcenterinsights.v1.ResourcesProto - .internal_static_google_cloud_contactcenterinsights_v1_Settings_AnalysisConfig_fieldAccessorTable + return com.google.cloud.contactcenterinsights.v1.ResourcesProto.internal_static_google_cloud_contactcenterinsights_v1_Settings_AnalysisConfig_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.contactcenterinsights.v1.Settings.AnalysisConfig.class, - com.google.cloud.contactcenterinsights.v1.Settings.AnalysisConfig.Builder.class); + com.google.cloud.contactcenterinsights.v1.Settings.AnalysisConfig.class, com.google.cloud.contactcenterinsights.v1.Settings.AnalysisConfig.Builder.class); } - // Construct using - // com.google.cloud.contactcenterinsights.v1.Settings.AnalysisConfig.newBuilder() - private Builder() {} + // Construct using com.google.cloud.contactcenterinsights.v1.Settings.AnalysisConfig.newBuilder() + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -491,16 +428,14 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.contactcenterinsights.v1.ResourcesProto - .internal_static_google_cloud_contactcenterinsights_v1_Settings_AnalysisConfig_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.contactcenterinsights.v1.ResourcesProto.internal_static_google_cloud_contactcenterinsights_v1_Settings_AnalysisConfig_descriptor; } @java.lang.Override - public com.google.cloud.contactcenterinsights.v1.Settings.AnalysisConfig - getDefaultInstanceForType() { - return com.google.cloud.contactcenterinsights.v1.Settings.AnalysisConfig - .getDefaultInstance(); + public com.google.cloud.contactcenterinsights.v1.Settings.AnalysisConfig getDefaultInstanceForType() { + return com.google.cloud.contactcenterinsights.v1.Settings.AnalysisConfig.getDefaultInstance(); } @java.lang.Override @@ -514,26 +449,21 @@ public com.google.cloud.contactcenterinsights.v1.Settings.AnalysisConfig build() @java.lang.Override public com.google.cloud.contactcenterinsights.v1.Settings.AnalysisConfig buildPartial() { - com.google.cloud.contactcenterinsights.v1.Settings.AnalysisConfig result = - new com.google.cloud.contactcenterinsights.v1.Settings.AnalysisConfig(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + com.google.cloud.contactcenterinsights.v1.Settings.AnalysisConfig result = new com.google.cloud.contactcenterinsights.v1.Settings.AnalysisConfig(this); + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } - private void buildPartial0( - com.google.cloud.contactcenterinsights.v1.Settings.AnalysisConfig result) { + private void buildPartial0(com.google.cloud.contactcenterinsights.v1.Settings.AnalysisConfig result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { result.runtimeIntegrationAnalysisPercentage_ = runtimeIntegrationAnalysisPercentage_; } if (((from_bitField0_ & 0x00000002) != 0)) { - result.annotatorSelector_ = - annotatorSelectorBuilder_ == null - ? annotatorSelector_ - : annotatorSelectorBuilder_.build(); + result.annotatorSelector_ = annotatorSelectorBuilder_ == null + ? annotatorSelector_ + : annotatorSelectorBuilder_.build(); } } @@ -541,53 +471,46 @@ private void buildPartial0( public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, - int index, - java.lang.Object value) { + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.contactcenterinsights.v1.Settings.AnalysisConfig) { - return mergeFrom( - (com.google.cloud.contactcenterinsights.v1.Settings.AnalysisConfig) other); + return mergeFrom((com.google.cloud.contactcenterinsights.v1.Settings.AnalysisConfig)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom( - com.google.cloud.contactcenterinsights.v1.Settings.AnalysisConfig other) { - if (other - == com.google.cloud.contactcenterinsights.v1.Settings.AnalysisConfig - .getDefaultInstance()) return this; + public Builder mergeFrom(com.google.cloud.contactcenterinsights.v1.Settings.AnalysisConfig other) { + if (other == com.google.cloud.contactcenterinsights.v1.Settings.AnalysisConfig.getDefaultInstance()) return this; if (other.getRuntimeIntegrationAnalysisPercentage() != 0D) { setRuntimeIntegrationAnalysisPercentage(other.getRuntimeIntegrationAnalysisPercentage()); } @@ -620,26 +543,24 @@ public Builder mergeFrom( case 0: done = true; break; - case 9: - { - runtimeIntegrationAnalysisPercentage_ = input.readDouble(); - bitField0_ |= 0x00000001; - break; - } // case 9 - case 42: - { - input.readMessage( - getAnnotatorSelectorFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00000002; - break; - } // case 42 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 9: { + runtimeIntegrationAnalysisPercentage_ = input.readDouble(); + bitField0_ |= 0x00000001; + break; + } // case 9 + case 42: { + input.readMessage( + getAnnotatorSelectorFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00000002; + break; + } // case 42 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -649,20 +570,16 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; - private double runtimeIntegrationAnalysisPercentage_; + private double runtimeIntegrationAnalysisPercentage_ ; /** - * - * *
        * Percentage of conversations created using Dialogflow runtime integration
        * to analyze automatically, between [0, 100].
        * 
* * double runtime_integration_analysis_percentage = 1; - * * @return The runtimeIntegrationAnalysisPercentage. */ @java.lang.Override @@ -670,35 +587,29 @@ public double getRuntimeIntegrationAnalysisPercentage() { return runtimeIntegrationAnalysisPercentage_; } /** - * - * *
        * Percentage of conversations created using Dialogflow runtime integration
        * to analyze automatically, between [0, 100].
        * 
* * double runtime_integration_analysis_percentage = 1; - * * @param value The runtimeIntegrationAnalysisPercentage to set. * @return This builder for chaining. */ public Builder setRuntimeIntegrationAnalysisPercentage(double value) { - + runtimeIntegrationAnalysisPercentage_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
        * Percentage of conversations created using Dialogflow runtime integration
        * to analyze automatically, between [0, 100].
        * 
* * double runtime_integration_analysis_percentage = 1; - * * @return This builder for chaining. */ public Builder clearRuntimeIntegrationAnalysisPercentage() { @@ -710,61 +621,44 @@ public Builder clearRuntimeIntegrationAnalysisPercentage() { private com.google.cloud.contactcenterinsights.v1.AnnotatorSelector annotatorSelector_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.contactcenterinsights.v1.AnnotatorSelector, - com.google.cloud.contactcenterinsights.v1.AnnotatorSelector.Builder, - com.google.cloud.contactcenterinsights.v1.AnnotatorSelectorOrBuilder> - annotatorSelectorBuilder_; + com.google.cloud.contactcenterinsights.v1.AnnotatorSelector, com.google.cloud.contactcenterinsights.v1.AnnotatorSelector.Builder, com.google.cloud.contactcenterinsights.v1.AnnotatorSelectorOrBuilder> annotatorSelectorBuilder_; /** - * - * *
        * To select the annotators to run and the phrase matchers to use
        * (if any). If not specified, all annotators will be run.
        * 
* - * .google.cloud.contactcenterinsights.v1.AnnotatorSelector annotator_selector = 5; - * - * + * .google.cloud.contactcenterinsights.v1.AnnotatorSelector annotator_selector = 5; * @return Whether the annotatorSelector field is set. */ public boolean hasAnnotatorSelector() { return ((bitField0_ & 0x00000002) != 0); } /** - * - * *
        * To select the annotators to run and the phrase matchers to use
        * (if any). If not specified, all annotators will be run.
        * 
* - * .google.cloud.contactcenterinsights.v1.AnnotatorSelector annotator_selector = 5; - * - * + * .google.cloud.contactcenterinsights.v1.AnnotatorSelector annotator_selector = 5; * @return The annotatorSelector. */ public com.google.cloud.contactcenterinsights.v1.AnnotatorSelector getAnnotatorSelector() { if (annotatorSelectorBuilder_ == null) { - return annotatorSelector_ == null - ? com.google.cloud.contactcenterinsights.v1.AnnotatorSelector.getDefaultInstance() - : annotatorSelector_; + return annotatorSelector_ == null ? com.google.cloud.contactcenterinsights.v1.AnnotatorSelector.getDefaultInstance() : annotatorSelector_; } else { return annotatorSelectorBuilder_.getMessage(); } } /** - * - * *
        * To select the annotators to run and the phrase matchers to use
        * (if any). If not specified, all annotators will be run.
        * 
* - * .google.cloud.contactcenterinsights.v1.AnnotatorSelector annotator_selector = 5; - * + * .google.cloud.contactcenterinsights.v1.AnnotatorSelector annotator_selector = 5; */ - public Builder setAnnotatorSelector( - com.google.cloud.contactcenterinsights.v1.AnnotatorSelector value) { + public Builder setAnnotatorSelector(com.google.cloud.contactcenterinsights.v1.AnnotatorSelector value) { if (annotatorSelectorBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -778,15 +672,12 @@ public Builder setAnnotatorSelector( return this; } /** - * - * *
        * To select the annotators to run and the phrase matchers to use
        * (if any). If not specified, all annotators will be run.
        * 
* - * .google.cloud.contactcenterinsights.v1.AnnotatorSelector annotator_selector = 5; - * + * .google.cloud.contactcenterinsights.v1.AnnotatorSelector annotator_selector = 5; */ public Builder setAnnotatorSelector( com.google.cloud.contactcenterinsights.v1.AnnotatorSelector.Builder builderForValue) { @@ -800,24 +691,18 @@ public Builder setAnnotatorSelector( return this; } /** - * - * *
        * To select the annotators to run and the phrase matchers to use
        * (if any). If not specified, all annotators will be run.
        * 
* - * .google.cloud.contactcenterinsights.v1.AnnotatorSelector annotator_selector = 5; - * + * .google.cloud.contactcenterinsights.v1.AnnotatorSelector annotator_selector = 5; */ - public Builder mergeAnnotatorSelector( - com.google.cloud.contactcenterinsights.v1.AnnotatorSelector value) { + public Builder mergeAnnotatorSelector(com.google.cloud.contactcenterinsights.v1.AnnotatorSelector value) { if (annotatorSelectorBuilder_ == null) { - if (((bitField0_ & 0x00000002) != 0) - && annotatorSelector_ != null - && annotatorSelector_ - != com.google.cloud.contactcenterinsights.v1.AnnotatorSelector - .getDefaultInstance()) { + if (((bitField0_ & 0x00000002) != 0) && + annotatorSelector_ != null && + annotatorSelector_ != com.google.cloud.contactcenterinsights.v1.AnnotatorSelector.getDefaultInstance()) { getAnnotatorSelectorBuilder().mergeFrom(value); } else { annotatorSelector_ = value; @@ -830,15 +715,12 @@ public Builder mergeAnnotatorSelector( return this; } /** - * - * *
        * To select the annotators to run and the phrase matchers to use
        * (if any). If not specified, all annotators will be run.
        * 
* - * .google.cloud.contactcenterinsights.v1.AnnotatorSelector annotator_selector = 5; - * + * .google.cloud.contactcenterinsights.v1.AnnotatorSelector annotator_selector = 5; */ public Builder clearAnnotatorSelector() { bitField0_ = (bitField0_ & ~0x00000002); @@ -851,71 +733,55 @@ public Builder clearAnnotatorSelector() { return this; } /** - * - * *
        * To select the annotators to run and the phrase matchers to use
        * (if any). If not specified, all annotators will be run.
        * 
* - * .google.cloud.contactcenterinsights.v1.AnnotatorSelector annotator_selector = 5; - * + * .google.cloud.contactcenterinsights.v1.AnnotatorSelector annotator_selector = 5; */ - public com.google.cloud.contactcenterinsights.v1.AnnotatorSelector.Builder - getAnnotatorSelectorBuilder() { + public com.google.cloud.contactcenterinsights.v1.AnnotatorSelector.Builder getAnnotatorSelectorBuilder() { bitField0_ |= 0x00000002; onChanged(); return getAnnotatorSelectorFieldBuilder().getBuilder(); } /** - * - * *
        * To select the annotators to run and the phrase matchers to use
        * (if any). If not specified, all annotators will be run.
        * 
* - * .google.cloud.contactcenterinsights.v1.AnnotatorSelector annotator_selector = 5; - * + * .google.cloud.contactcenterinsights.v1.AnnotatorSelector annotator_selector = 5; */ - public com.google.cloud.contactcenterinsights.v1.AnnotatorSelectorOrBuilder - getAnnotatorSelectorOrBuilder() { + public com.google.cloud.contactcenterinsights.v1.AnnotatorSelectorOrBuilder getAnnotatorSelectorOrBuilder() { if (annotatorSelectorBuilder_ != null) { return annotatorSelectorBuilder_.getMessageOrBuilder(); } else { - return annotatorSelector_ == null - ? com.google.cloud.contactcenterinsights.v1.AnnotatorSelector.getDefaultInstance() - : annotatorSelector_; + return annotatorSelector_ == null ? + com.google.cloud.contactcenterinsights.v1.AnnotatorSelector.getDefaultInstance() : annotatorSelector_; } } /** - * - * *
        * To select the annotators to run and the phrase matchers to use
        * (if any). If not specified, all annotators will be run.
        * 
* - * .google.cloud.contactcenterinsights.v1.AnnotatorSelector annotator_selector = 5; - * + * .google.cloud.contactcenterinsights.v1.AnnotatorSelector annotator_selector = 5; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.contactcenterinsights.v1.AnnotatorSelector, - com.google.cloud.contactcenterinsights.v1.AnnotatorSelector.Builder, - com.google.cloud.contactcenterinsights.v1.AnnotatorSelectorOrBuilder> + com.google.cloud.contactcenterinsights.v1.AnnotatorSelector, com.google.cloud.contactcenterinsights.v1.AnnotatorSelector.Builder, com.google.cloud.contactcenterinsights.v1.AnnotatorSelectorOrBuilder> getAnnotatorSelectorFieldBuilder() { if (annotatorSelectorBuilder_ == null) { - annotatorSelectorBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.contactcenterinsights.v1.AnnotatorSelector, - com.google.cloud.contactcenterinsights.v1.AnnotatorSelector.Builder, - com.google.cloud.contactcenterinsights.v1.AnnotatorSelectorOrBuilder>( - getAnnotatorSelector(), getParentForChildren(), isClean()); + annotatorSelectorBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.contactcenterinsights.v1.AnnotatorSelector, com.google.cloud.contactcenterinsights.v1.AnnotatorSelector.Builder, com.google.cloud.contactcenterinsights.v1.AnnotatorSelectorOrBuilder>( + getAnnotatorSelector(), + getParentForChildren(), + isClean()); annotatorSelector_ = null; } return annotatorSelectorBuilder_; } - @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -928,44 +794,41 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.contactcenterinsights.v1.Settings.AnalysisConfig) } // @@protoc_insertion_point(class_scope:google.cloud.contactcenterinsights.v1.Settings.AnalysisConfig) - private static final com.google.cloud.contactcenterinsights.v1.Settings.AnalysisConfig - DEFAULT_INSTANCE; - + private static final com.google.cloud.contactcenterinsights.v1.Settings.AnalysisConfig DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.cloud.contactcenterinsights.v1.Settings.AnalysisConfig(); } - public static com.google.cloud.contactcenterinsights.v1.Settings.AnalysisConfig - getDefaultInstance() { + public static com.google.cloud.contactcenterinsights.v1.Settings.AnalysisConfig getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public AnalysisConfig parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException() - .setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public AnalysisConfig parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -977,19 +840,16 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.cloud.contactcenterinsights.v1.Settings.AnalysisConfig - getDefaultInstanceForType() { + public com.google.cloud.contactcenterinsights.v1.Settings.AnalysisConfig getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } public static final int NAME_FIELD_NUMBER = 1; - @SuppressWarnings("serial") private volatile java.lang.Object name_ = ""; /** - * - * *
    * Immutable. The resource name of the settings resource.
    * Format:
@@ -997,7 +857,6 @@ public com.google.protobuf.Parser getParserForType() {
    * 
* * string name = 1 [(.google.api.field_behavior) = IMMUTABLE]; - * * @return The name. */ @java.lang.Override @@ -1006,15 +865,14 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** - * - * *
    * Immutable. The resource name of the settings resource.
    * Format:
@@ -1022,15 +880,16 @@ public java.lang.String getName() {
    * 
* * string name = 1 [(.google.api.field_behavior) = IMMUTABLE]; - * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -1041,15 +900,11 @@ public com.google.protobuf.ByteString getNameBytes() { public static final int CREATE_TIME_FIELD_NUMBER = 2; private com.google.protobuf.Timestamp createTime_; /** - * - * *
    * Output only. The time at which the settings was created.
    * 
* - * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the createTime field is set. */ @java.lang.Override @@ -1057,15 +912,11 @@ public boolean hasCreateTime() { return createTime_ != null; } /** - * - * *
    * Output only. The time at which the settings was created.
    * 
* - * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The createTime. */ @java.lang.Override @@ -1073,14 +924,11 @@ public com.google.protobuf.Timestamp getCreateTime() { return createTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : createTime_; } /** - * - * *
    * Output only. The time at which the settings was created.
    * 
* - * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ @java.lang.Override public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { @@ -1090,15 +938,11 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { public static final int UPDATE_TIME_FIELD_NUMBER = 3; private com.google.protobuf.Timestamp updateTime_; /** - * - * *
    * Output only. The time at which the settings were last updated.
    * 
* - * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the updateTime field is set. */ @java.lang.Override @@ -1106,15 +950,11 @@ public boolean hasUpdateTime() { return updateTime_ != null; } /** - * - * *
    * Output only. The time at which the settings were last updated.
    * 
* - * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The updateTime. */ @java.lang.Override @@ -1122,14 +962,11 @@ public com.google.protobuf.Timestamp getUpdateTime() { return updateTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : updateTime_; } /** - * - * *
    * Output only. The time at which the settings were last updated.
    * 
* - * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ @java.lang.Override public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { @@ -1137,12 +974,9 @@ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { } public static final int LANGUAGE_CODE_FIELD_NUMBER = 4; - @SuppressWarnings("serial") private volatile java.lang.Object languageCode_ = ""; /** - * - * *
    * A language code to be applied to each transcript segment unless the segment
    * already specifies a language code. Language code defaults to "en-US" if it
@@ -1150,7 +984,6 @@ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() {
    * 
* * string language_code = 4; - * * @return The languageCode. */ @java.lang.Override @@ -1159,15 +992,14 @@ public java.lang.String getLanguageCode() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); languageCode_ = s; return s; } } /** - * - * *
    * A language code to be applied to each transcript segment unless the segment
    * already specifies a language code. Language code defaults to "en-US" if it
@@ -1175,15 +1007,16 @@ public java.lang.String getLanguageCode() {
    * 
* * string language_code = 4; - * * @return The bytes for languageCode. */ @java.lang.Override - public com.google.protobuf.ByteString getLanguageCodeBytes() { + public com.google.protobuf.ByteString + getLanguageCodeBytes() { java.lang.Object ref = languageCode_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); languageCode_ = b; return b; } else { @@ -1194,8 +1027,6 @@ public com.google.protobuf.ByteString getLanguageCodeBytes() { public static final int CONVERSATION_TTL_FIELD_NUMBER = 5; private com.google.protobuf.Duration conversationTtl_; /** - * - * *
    * The default TTL for newly-created conversations. If a conversation has a
    * specified expiration, that value will be used instead. Changing this
@@ -1204,7 +1035,6 @@ public com.google.protobuf.ByteString getLanguageCodeBytes() {
    * 
* * .google.protobuf.Duration conversation_ttl = 5; - * * @return Whether the conversationTtl field is set. */ @java.lang.Override @@ -1212,8 +1042,6 @@ public boolean hasConversationTtl() { return conversationTtl_ != null; } /** - * - * *
    * The default TTL for newly-created conversations. If a conversation has a
    * specified expiration, that value will be used instead. Changing this
@@ -1222,18 +1050,13 @@ public boolean hasConversationTtl() {
    * 
* * .google.protobuf.Duration conversation_ttl = 5; - * * @return The conversationTtl. */ @java.lang.Override public com.google.protobuf.Duration getConversationTtl() { - return conversationTtl_ == null - ? com.google.protobuf.Duration.getDefaultInstance() - : conversationTtl_; + return conversationTtl_ == null ? com.google.protobuf.Duration.getDefaultInstance() : conversationTtl_; } /** - * - * *
    * The default TTL for newly-created conversations. If a conversation has a
    * specified expiration, that value will be used instead. Changing this
@@ -1245,43 +1068,36 @@ public com.google.protobuf.Duration getConversationTtl() {
    */
   @java.lang.Override
   public com.google.protobuf.DurationOrBuilder getConversationTtlOrBuilder() {
-    return conversationTtl_ == null
-        ? com.google.protobuf.Duration.getDefaultInstance()
-        : conversationTtl_;
+    return conversationTtl_ == null ? com.google.protobuf.Duration.getDefaultInstance() : conversationTtl_;
   }
 
   public static final int PUBSUB_NOTIFICATION_SETTINGS_FIELD_NUMBER = 6;
-
   private static final class PubsubNotificationSettingsDefaultEntryHolder {
-    static final com.google.protobuf.MapEntry defaultEntry =
-        com.google.protobuf.MapEntry.newDefaultInstance(
-            com.google.cloud.contactcenterinsights.v1.ResourcesProto
-                .internal_static_google_cloud_contactcenterinsights_v1_Settings_PubsubNotificationSettingsEntry_descriptor,
-            com.google.protobuf.WireFormat.FieldType.STRING,
-            "",
-            com.google.protobuf.WireFormat.FieldType.STRING,
-            "");
+    static final com.google.protobuf.MapEntry<
+        java.lang.String, java.lang.String> defaultEntry =
+            com.google.protobuf.MapEntry
+            .newDefaultInstance(
+                com.google.cloud.contactcenterinsights.v1.ResourcesProto.internal_static_google_cloud_contactcenterinsights_v1_Settings_PubsubNotificationSettingsEntry_descriptor, 
+                com.google.protobuf.WireFormat.FieldType.STRING,
+                "",
+                com.google.protobuf.WireFormat.FieldType.STRING,
+                "");
   }
-
   @SuppressWarnings("serial")
+  private com.google.protobuf.MapField<
+      java.lang.String, java.lang.String> pubsubNotificationSettings_;
   private com.google.protobuf.MapField
-      pubsubNotificationSettings_;
-
-  private com.google.protobuf.MapField
-      internalGetPubsubNotificationSettings() {
+  internalGetPubsubNotificationSettings() {
     if (pubsubNotificationSettings_ == null) {
       return com.google.protobuf.MapField.emptyMapField(
           PubsubNotificationSettingsDefaultEntryHolder.defaultEntry);
     }
     return pubsubNotificationSettings_;
   }
-
   public int getPubsubNotificationSettingsCount() {
     return internalGetPubsubNotificationSettings().getMap().size();
   }
   /**
-   *
-   *
    * 
    * A map that maps a notification trigger to a Pub/Sub topic. Each time a
    * specified trigger occurs, Insights will notify the corresponding Pub/Sub
@@ -1300,21 +1116,20 @@ public int getPubsubNotificationSettingsCount() {
    * map<string, string> pubsub_notification_settings = 6;
    */
   @java.lang.Override
-  public boolean containsPubsubNotificationSettings(java.lang.String key) {
-    if (key == null) {
-      throw new NullPointerException("map key");
-    }
+  public boolean containsPubsubNotificationSettings(
+      java.lang.String key) {
+    if (key == null) { throw new NullPointerException("map key"); }
     return internalGetPubsubNotificationSettings().getMap().containsKey(key);
   }
-  /** Use {@link #getPubsubNotificationSettingsMap()} instead. */
+  /**
+   * Use {@link #getPubsubNotificationSettingsMap()} instead.
+   */
   @java.lang.Override
   @java.lang.Deprecated
   public java.util.Map getPubsubNotificationSettings() {
     return getPubsubNotificationSettingsMap();
   }
   /**
-   *
-   *
    * 
    * A map that maps a notification trigger to a Pub/Sub topic. Each time a
    * specified trigger occurs, Insights will notify the corresponding Pub/Sub
@@ -1337,8 +1152,6 @@ public java.util.Map getPubsubNotificationSe
     return internalGetPubsubNotificationSettings().getMap();
   }
   /**
-   *
-   *
    * 
    * A map that maps a notification trigger to a Pub/Sub topic. Each time a
    * specified trigger occurs, Insights will notify the corresponding Pub/Sub
@@ -1357,20 +1170,17 @@ public java.util.Map getPubsubNotificationSe
    * map<string, string> pubsub_notification_settings = 6;
    */
   @java.lang.Override
-  public /* nullable */ java.lang.String getPubsubNotificationSettingsOrDefault(
+  public /* nullable */
+java.lang.String getPubsubNotificationSettingsOrDefault(
       java.lang.String key,
       /* nullable */
-      java.lang.String defaultValue) {
-    if (key == null) {
-      throw new NullPointerException("map key");
-    }
+java.lang.String defaultValue) {
+    if (key == null) { throw new NullPointerException("map key"); }
     java.util.Map map =
         internalGetPubsubNotificationSettings().getMap();
     return map.containsKey(key) ? map.get(key) : defaultValue;
   }
   /**
-   *
-   *
    * 
    * A map that maps a notification trigger to a Pub/Sub topic. Each time a
    * specified trigger occurs, Insights will notify the corresponding Pub/Sub
@@ -1389,10 +1199,9 @@ public java.util.Map getPubsubNotificationSe
    * map<string, string> pubsub_notification_settings = 6;
    */
   @java.lang.Override
-  public java.lang.String getPubsubNotificationSettingsOrThrow(java.lang.String key) {
-    if (key == null) {
-      throw new NullPointerException("map key");
-    }
+  public java.lang.String getPubsubNotificationSettingsOrThrow(
+      java.lang.String key) {
+    if (key == null) { throw new NullPointerException("map key"); }
     java.util.Map map =
         internalGetPubsubNotificationSettings().getMap();
     if (!map.containsKey(key)) {
@@ -1404,15 +1213,11 @@ public java.lang.String getPubsubNotificationSettingsOrThrow(java.lang.String ke
   public static final int ANALYSIS_CONFIG_FIELD_NUMBER = 7;
   private com.google.cloud.contactcenterinsights.v1.Settings.AnalysisConfig analysisConfig_;
   /**
-   *
-   *
    * 
    * Default analysis settings.
    * 
* - * .google.cloud.contactcenterinsights.v1.Settings.AnalysisConfig analysis_config = 7; - * - * + * .google.cloud.contactcenterinsights.v1.Settings.AnalysisConfig analysis_config = 7; * @return Whether the analysisConfig field is set. */ @java.lang.Override @@ -1420,43 +1225,30 @@ public boolean hasAnalysisConfig() { return analysisConfig_ != null; } /** - * - * *
    * Default analysis settings.
    * 
* - * .google.cloud.contactcenterinsights.v1.Settings.AnalysisConfig analysis_config = 7; - * - * + * .google.cloud.contactcenterinsights.v1.Settings.AnalysisConfig analysis_config = 7; * @return The analysisConfig. */ @java.lang.Override public com.google.cloud.contactcenterinsights.v1.Settings.AnalysisConfig getAnalysisConfig() { - return analysisConfig_ == null - ? com.google.cloud.contactcenterinsights.v1.Settings.AnalysisConfig.getDefaultInstance() - : analysisConfig_; + return analysisConfig_ == null ? com.google.cloud.contactcenterinsights.v1.Settings.AnalysisConfig.getDefaultInstance() : analysisConfig_; } /** - * - * *
    * Default analysis settings.
    * 
* - * .google.cloud.contactcenterinsights.v1.Settings.AnalysisConfig analysis_config = 7; - * + * .google.cloud.contactcenterinsights.v1.Settings.AnalysisConfig analysis_config = 7; */ @java.lang.Override - public com.google.cloud.contactcenterinsights.v1.Settings.AnalysisConfigOrBuilder - getAnalysisConfigOrBuilder() { - return analysisConfig_ == null - ? com.google.cloud.contactcenterinsights.v1.Settings.AnalysisConfig.getDefaultInstance() - : analysisConfig_; + public com.google.cloud.contactcenterinsights.v1.Settings.AnalysisConfigOrBuilder getAnalysisConfigOrBuilder() { + return analysisConfig_ == null ? com.google.cloud.contactcenterinsights.v1.Settings.AnalysisConfig.getDefaultInstance() : analysisConfig_; } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -1468,7 +1260,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -1484,7 +1277,8 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io if (conversationTtl_ != null) { output.writeMessage(5, getConversationTtl()); } - com.google.protobuf.GeneratedMessageV3.serializeStringMapTo( + com.google.protobuf.GeneratedMessageV3 + .serializeStringMapTo( output, internalGetPubsubNotificationSettings(), PubsubNotificationSettingsDefaultEntryHolder.defaultEntry, @@ -1505,31 +1299,33 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_); } if (createTime_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getCreateTime()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, getCreateTime()); } if (updateTime_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getUpdateTime()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(3, getUpdateTime()); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(languageCode_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, languageCode_); } if (conversationTtl_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(5, getConversationTtl()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(5, getConversationTtl()); } - for (java.util.Map.Entry entry : - internalGetPubsubNotificationSettings().getMap().entrySet()) { + for (java.util.Map.Entry entry + : internalGetPubsubNotificationSettings().getMap().entrySet()) { com.google.protobuf.MapEntry - pubsubNotificationSettings__ = - PubsubNotificationSettingsDefaultEntryHolder.defaultEntry - .newBuilderForType() - .setKey(entry.getKey()) - .setValue(entry.getValue()) - .build(); - size += - com.google.protobuf.CodedOutputStream.computeMessageSize(6, pubsubNotificationSettings__); + pubsubNotificationSettings__ = PubsubNotificationSettingsDefaultEntryHolder.defaultEntry.newBuilderForType() + .setKey(entry.getKey()) + .setValue(entry.getValue()) + .build(); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(6, pubsubNotificationSettings__); } if (analysisConfig_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(7, getAnalysisConfig()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(7, getAnalysisConfig()); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -1539,33 +1335,38 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.contactcenterinsights.v1.Settings)) { return super.equals(obj); } - com.google.cloud.contactcenterinsights.v1.Settings other = - (com.google.cloud.contactcenterinsights.v1.Settings) obj; + com.google.cloud.contactcenterinsights.v1.Settings other = (com.google.cloud.contactcenterinsights.v1.Settings) obj; - if (!getName().equals(other.getName())) return false; + if (!getName() + .equals(other.getName())) return false; if (hasCreateTime() != other.hasCreateTime()) return false; if (hasCreateTime()) { - if (!getCreateTime().equals(other.getCreateTime())) return false; + if (!getCreateTime() + .equals(other.getCreateTime())) return false; } if (hasUpdateTime() != other.hasUpdateTime()) return false; if (hasUpdateTime()) { - if (!getUpdateTime().equals(other.getUpdateTime())) return false; + if (!getUpdateTime() + .equals(other.getUpdateTime())) return false; } - if (!getLanguageCode().equals(other.getLanguageCode())) return false; + if (!getLanguageCode() + .equals(other.getLanguageCode())) return false; if (hasConversationTtl() != other.hasConversationTtl()) return false; if (hasConversationTtl()) { - if (!getConversationTtl().equals(other.getConversationTtl())) return false; + if (!getConversationTtl() + .equals(other.getConversationTtl())) return false; } - if (!internalGetPubsubNotificationSettings() - .equals(other.internalGetPubsubNotificationSettings())) return false; + if (!internalGetPubsubNotificationSettings().equals( + other.internalGetPubsubNotificationSettings())) return false; if (hasAnalysisConfig() != other.hasAnalysisConfig()) return false; if (hasAnalysisConfig()) { - if (!getAnalysisConfig().equals(other.getAnalysisConfig())) return false; + if (!getAnalysisConfig() + .equals(other.getAnalysisConfig())) return false; } if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -1608,155 +1409,151 @@ public int hashCode() { } public static com.google.cloud.contactcenterinsights.v1.Settings parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.contactcenterinsights.v1.Settings parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.contactcenterinsights.v1.Settings parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.contactcenterinsights.v1.Settings parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.contactcenterinsights.v1.Settings parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.contactcenterinsights.v1.Settings parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.contactcenterinsights.v1.Settings parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.contactcenterinsights.v1.Settings parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.contactcenterinsights.v1.Settings parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.contactcenterinsights.v1.Settings parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.contactcenterinsights.v1.Settings parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.contactcenterinsights.v1.Settings parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.contactcenterinsights.v1.Settings parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.contactcenterinsights.v1.Settings parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.contactcenterinsights.v1.Settings prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * The settings resource.
    * 
* * Protobuf type {@code google.cloud.contactcenterinsights.v1.Settings} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.contactcenterinsights.v1.Settings) com.google.cloud.contactcenterinsights.v1.SettingsOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.contactcenterinsights.v1.ResourcesProto - .internal_static_google_cloud_contactcenterinsights_v1_Settings_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.contactcenterinsights.v1.ResourcesProto.internal_static_google_cloud_contactcenterinsights_v1_Settings_descriptor; } @SuppressWarnings({"rawtypes"}) - protected com.google.protobuf.MapField internalGetMapField(int number) { + protected com.google.protobuf.MapField internalGetMapField( + int number) { switch (number) { case 6: return internalGetPubsubNotificationSettings(); default: - throw new RuntimeException("Invalid map field number: " + number); + throw new RuntimeException( + "Invalid map field number: " + number); } } - @SuppressWarnings({"rawtypes"}) - protected com.google.protobuf.MapField internalGetMutableMapField(int number) { + protected com.google.protobuf.MapField internalGetMutableMapField( + int number) { switch (number) { case 6: return internalGetMutablePubsubNotificationSettings(); default: - throw new RuntimeException("Invalid map field number: " + number); + throw new RuntimeException( + "Invalid map field number: " + number); } } - @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.contactcenterinsights.v1.ResourcesProto - .internal_static_google_cloud_contactcenterinsights_v1_Settings_fieldAccessorTable + return com.google.cloud.contactcenterinsights.v1.ResourcesProto.internal_static_google_cloud_contactcenterinsights_v1_Settings_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.contactcenterinsights.v1.Settings.class, - com.google.cloud.contactcenterinsights.v1.Settings.Builder.class); + com.google.cloud.contactcenterinsights.v1.Settings.class, com.google.cloud.contactcenterinsights.v1.Settings.Builder.class); } // Construct using com.google.cloud.contactcenterinsights.v1.Settings.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -1788,9 +1585,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.contactcenterinsights.v1.ResourcesProto - .internal_static_google_cloud_contactcenterinsights_v1_Settings_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.contactcenterinsights.v1.ResourcesProto.internal_static_google_cloud_contactcenterinsights_v1_Settings_descriptor; } @java.lang.Override @@ -1809,11 +1606,8 @@ public com.google.cloud.contactcenterinsights.v1.Settings build() { @java.lang.Override public com.google.cloud.contactcenterinsights.v1.Settings buildPartial() { - com.google.cloud.contactcenterinsights.v1.Settings result = - new com.google.cloud.contactcenterinsights.v1.Settings(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + com.google.cloud.contactcenterinsights.v1.Settings result = new com.google.cloud.contactcenterinsights.v1.Settings(this); + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } @@ -1824,25 +1618,31 @@ private void buildPartial0(com.google.cloud.contactcenterinsights.v1.Settings re result.name_ = name_; } if (((from_bitField0_ & 0x00000002) != 0)) { - result.createTime_ = createTimeBuilder_ == null ? createTime_ : createTimeBuilder_.build(); + result.createTime_ = createTimeBuilder_ == null + ? createTime_ + : createTimeBuilder_.build(); } if (((from_bitField0_ & 0x00000004) != 0)) { - result.updateTime_ = updateTimeBuilder_ == null ? updateTime_ : updateTimeBuilder_.build(); + result.updateTime_ = updateTimeBuilder_ == null + ? updateTime_ + : updateTimeBuilder_.build(); } if (((from_bitField0_ & 0x00000008) != 0)) { result.languageCode_ = languageCode_; } if (((from_bitField0_ & 0x00000010) != 0)) { - result.conversationTtl_ = - conversationTtlBuilder_ == null ? conversationTtl_ : conversationTtlBuilder_.build(); + result.conversationTtl_ = conversationTtlBuilder_ == null + ? conversationTtl_ + : conversationTtlBuilder_.build(); } if (((from_bitField0_ & 0x00000020) != 0)) { result.pubsubNotificationSettings_ = internalGetPubsubNotificationSettings(); result.pubsubNotificationSettings_.makeImmutable(); } if (((from_bitField0_ & 0x00000040) != 0)) { - result.analysisConfig_ = - analysisConfigBuilder_ == null ? analysisConfig_ : analysisConfigBuilder_.build(); + result.analysisConfig_ = analysisConfigBuilder_ == null + ? analysisConfig_ + : analysisConfigBuilder_.build(); } } @@ -1850,39 +1650,38 @@ private void buildPartial0(com.google.cloud.contactcenterinsights.v1.Settings re public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.contactcenterinsights.v1.Settings) { - return mergeFrom((com.google.cloud.contactcenterinsights.v1.Settings) other); + return mergeFrom((com.google.cloud.contactcenterinsights.v1.Settings)other); } else { super.mergeFrom(other); return this; @@ -1890,8 +1689,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.contactcenterinsights.v1.Settings other) { - if (other == com.google.cloud.contactcenterinsights.v1.Settings.getDefaultInstance()) - return this; + if (other == com.google.cloud.contactcenterinsights.v1.Settings.getDefaultInstance()) return this; if (!other.getName().isEmpty()) { name_ = other.name_; bitField0_ |= 0x00000001; @@ -1911,8 +1709,8 @@ public Builder mergeFrom(com.google.cloud.contactcenterinsights.v1.Settings othe if (other.hasConversationTtl()) { mergeConversationTtl(other.getConversationTtl()); } - internalGetMutablePubsubNotificationSettings() - .mergeFrom(other.internalGetPubsubNotificationSettings()); + internalGetMutablePubsubNotificationSettings().mergeFrom( + other.internalGetPubsubNotificationSettings()); bitField0_ |= 0x00000020; if (other.hasAnalysisConfig()) { mergeAnalysisConfig(other.getAnalysisConfig()); @@ -1943,65 +1741,59 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - name_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: - { - input.readMessage(getCreateTimeFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00000002; - break; - } // case 18 - case 26: - { - input.readMessage(getUpdateTimeFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00000004; - break; - } // case 26 - case 34: - { - languageCode_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000008; - break; - } // case 34 - case 42: - { - input.readMessage(getConversationTtlFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00000010; - break; - } // case 42 - case 50: - { - com.google.protobuf.MapEntry - pubsubNotificationSettings__ = - input.readMessage( - PubsubNotificationSettingsDefaultEntryHolder.defaultEntry - .getParserForType(), - extensionRegistry); - internalGetMutablePubsubNotificationSettings() - .getMutableMap() - .put( - pubsubNotificationSettings__.getKey(), - pubsubNotificationSettings__.getValue()); - bitField0_ |= 0x00000020; - break; - } // case 50 - case 58: - { - input.readMessage(getAnalysisConfigFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00000040; - break; - } // case 58 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + name_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: { + input.readMessage( + getCreateTimeFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00000002; + break; + } // case 18 + case 26: { + input.readMessage( + getUpdateTimeFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00000004; + break; + } // case 26 + case 34: { + languageCode_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000008; + break; + } // case 34 + case 42: { + input.readMessage( + getConversationTtlFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00000010; + break; + } // case 42 + case 50: { + com.google.protobuf.MapEntry + pubsubNotificationSettings__ = input.readMessage( + PubsubNotificationSettingsDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry); + internalGetMutablePubsubNotificationSettings().getMutableMap().put( + pubsubNotificationSettings__.getKey(), pubsubNotificationSettings__.getValue()); + bitField0_ |= 0x00000020; + break; + } // case 50 + case 58: { + input.readMessage( + getAnalysisConfigFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00000040; + break; + } // case 58 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -2011,13 +1803,10 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private java.lang.Object name_ = ""; /** - * - * *
      * Immutable. The resource name of the settings resource.
      * Format:
@@ -2025,13 +1814,13 @@ public Builder mergeFrom(
      * 
* * string name = 1 [(.google.api.field_behavior) = IMMUTABLE]; - * * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -2040,8 +1829,6 @@ public java.lang.String getName() { } } /** - * - * *
      * Immutable. The resource name of the settings resource.
      * Format:
@@ -2049,14 +1836,15 @@ public java.lang.String getName() {
      * 
* * string name = 1 [(.google.api.field_behavior) = IMMUTABLE]; - * * @return The bytes for name. */ - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -2064,8 +1852,6 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * Immutable. The resource name of the settings resource.
      * Format:
@@ -2073,22 +1859,18 @@ public com.google.protobuf.ByteString getNameBytes() {
      * 
* * string name = 1 [(.google.api.field_behavior) = IMMUTABLE]; - * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setName( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } name_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
      * Immutable. The resource name of the settings resource.
      * Format:
@@ -2096,7 +1878,6 @@ public Builder setName(java.lang.String value) {
      * 
* * string name = 1 [(.google.api.field_behavior) = IMMUTABLE]; - * * @return This builder for chaining. */ public Builder clearName() { @@ -2106,8 +1887,6 @@ public Builder clearName() { return this; } /** - * - * *
      * Immutable. The resource name of the settings resource.
      * Format:
@@ -2115,14 +1894,12 @@ public Builder clearName() {
      * 
* * string name = 1 [(.google.api.field_behavior) = IMMUTABLE]; - * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setNameBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); name_ = value; bitField0_ |= 0x00000001; @@ -2132,58 +1909,39 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) { private com.google.protobuf.Timestamp createTime_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> - createTimeBuilder_; + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> createTimeBuilder_; /** - * - * *
      * Output only. The time at which the settings was created.
      * 
* - * - * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the createTime field is set. */ public boolean hasCreateTime() { return ((bitField0_ & 0x00000002) != 0); } /** - * - * *
      * Output only. The time at which the settings was created.
      * 
* - * - * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The createTime. */ public com.google.protobuf.Timestamp getCreateTime() { if (createTimeBuilder_ == null) { - return createTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : createTime_; + return createTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : createTime_; } else { return createTimeBuilder_.getMessage(); } } /** - * - * *
      * Output only. The time at which the settings was created.
      * 
* - * - * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder setCreateTime(com.google.protobuf.Timestamp value) { if (createTimeBuilder_ == null) { @@ -2199,17 +1957,14 @@ public Builder setCreateTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * Output only. The time at which the settings was created.
      * 
* - * - * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - public Builder setCreateTime(com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setCreateTime( + com.google.protobuf.Timestamp.Builder builderForValue) { if (createTimeBuilder_ == null) { createTime_ = builderForValue.build(); } else { @@ -2220,21 +1975,17 @@ public Builder setCreateTime(com.google.protobuf.Timestamp.Builder builderForVal return this; } /** - * - * *
      * Output only. The time at which the settings was created.
      * 
* - * - * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder mergeCreateTime(com.google.protobuf.Timestamp value) { if (createTimeBuilder_ == null) { - if (((bitField0_ & 0x00000002) != 0) - && createTime_ != null - && createTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { + if (((bitField0_ & 0x00000002) != 0) && + createTime_ != null && + createTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { getCreateTimeBuilder().mergeFrom(value); } else { createTime_ = value; @@ -2247,15 +1998,11 @@ public Builder mergeCreateTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * Output only. The time at which the settings was created.
      * 
* - * - * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder clearCreateTime() { bitField0_ = (bitField0_ & ~0x00000002); @@ -2268,15 +2015,11 @@ public Builder clearCreateTime() { return this; } /** - * - * *
      * Output only. The time at which the settings was created.
      * 
* - * - * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public com.google.protobuf.Timestamp.Builder getCreateTimeBuilder() { bitField0_ |= 0x00000002; @@ -2284,48 +2027,36 @@ public com.google.protobuf.Timestamp.Builder getCreateTimeBuilder() { return getCreateTimeFieldBuilder().getBuilder(); } /** - * - * *
      * Output only. The time at which the settings was created.
      * 
* - * - * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { if (createTimeBuilder_ != null) { return createTimeBuilder_.getMessageOrBuilder(); } else { - return createTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : createTime_; + return createTime_ == null ? + com.google.protobuf.Timestamp.getDefaultInstance() : createTime_; } } /** - * - * *
      * Output only. The time at which the settings was created.
      * 
* - * - * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> getCreateTimeFieldBuilder() { if (createTimeBuilder_ == null) { - createTimeBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder>( - getCreateTime(), getParentForChildren(), isClean()); + createTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( + getCreateTime(), + getParentForChildren(), + isClean()); createTime_ = null; } return createTimeBuilder_; @@ -2333,58 +2064,39 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { private com.google.protobuf.Timestamp updateTime_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> - updateTimeBuilder_; + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> updateTimeBuilder_; /** - * - * *
      * Output only. The time at which the settings were last updated.
      * 
* - * - * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the updateTime field is set. */ public boolean hasUpdateTime() { return ((bitField0_ & 0x00000004) != 0); } /** - * - * *
      * Output only. The time at which the settings were last updated.
      * 
* - * - * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The updateTime. */ public com.google.protobuf.Timestamp getUpdateTime() { if (updateTimeBuilder_ == null) { - return updateTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : updateTime_; + return updateTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : updateTime_; } else { return updateTimeBuilder_.getMessage(); } } /** - * - * *
      * Output only. The time at which the settings were last updated.
      * 
* - * - * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder setUpdateTime(com.google.protobuf.Timestamp value) { if (updateTimeBuilder_ == null) { @@ -2400,17 +2112,14 @@ public Builder setUpdateTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * Output only. The time at which the settings were last updated.
      * 
* - * - * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - public Builder setUpdateTime(com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setUpdateTime( + com.google.protobuf.Timestamp.Builder builderForValue) { if (updateTimeBuilder_ == null) { updateTime_ = builderForValue.build(); } else { @@ -2421,21 +2130,17 @@ public Builder setUpdateTime(com.google.protobuf.Timestamp.Builder builderForVal return this; } /** - * - * *
      * Output only. The time at which the settings were last updated.
      * 
* - * - * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder mergeUpdateTime(com.google.protobuf.Timestamp value) { if (updateTimeBuilder_ == null) { - if (((bitField0_ & 0x00000004) != 0) - && updateTime_ != null - && updateTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { + if (((bitField0_ & 0x00000004) != 0) && + updateTime_ != null && + updateTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { getUpdateTimeBuilder().mergeFrom(value); } else { updateTime_ = value; @@ -2448,15 +2153,11 @@ public Builder mergeUpdateTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * Output only. The time at which the settings were last updated.
      * 
* - * - * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder clearUpdateTime() { bitField0_ = (bitField0_ & ~0x00000004); @@ -2469,15 +2170,11 @@ public Builder clearUpdateTime() { return this; } /** - * - * *
      * Output only. The time at which the settings were last updated.
      * 
* - * - * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public com.google.protobuf.Timestamp.Builder getUpdateTimeBuilder() { bitField0_ |= 0x00000004; @@ -2485,48 +2182,36 @@ public com.google.protobuf.Timestamp.Builder getUpdateTimeBuilder() { return getUpdateTimeFieldBuilder().getBuilder(); } /** - * - * *
      * Output only. The time at which the settings were last updated.
      * 
* - * - * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { if (updateTimeBuilder_ != null) { return updateTimeBuilder_.getMessageOrBuilder(); } else { - return updateTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : updateTime_; + return updateTime_ == null ? + com.google.protobuf.Timestamp.getDefaultInstance() : updateTime_; } } /** - * - * *
      * Output only. The time at which the settings were last updated.
      * 
* - * - * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> getUpdateTimeFieldBuilder() { if (updateTimeBuilder_ == null) { - updateTimeBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder>( - getUpdateTime(), getParentForChildren(), isClean()); + updateTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( + getUpdateTime(), + getParentForChildren(), + isClean()); updateTime_ = null; } return updateTimeBuilder_; @@ -2534,8 +2219,6 @@ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { private java.lang.Object languageCode_ = ""; /** - * - * *
      * A language code to be applied to each transcript segment unless the segment
      * already specifies a language code. Language code defaults to "en-US" if it
@@ -2543,13 +2226,13 @@ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() {
      * 
* * string language_code = 4; - * * @return The languageCode. */ public java.lang.String getLanguageCode() { java.lang.Object ref = languageCode_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); languageCode_ = s; return s; @@ -2558,8 +2241,6 @@ public java.lang.String getLanguageCode() { } } /** - * - * *
      * A language code to be applied to each transcript segment unless the segment
      * already specifies a language code. Language code defaults to "en-US" if it
@@ -2567,14 +2248,15 @@ public java.lang.String getLanguageCode() {
      * 
* * string language_code = 4; - * * @return The bytes for languageCode. */ - public com.google.protobuf.ByteString getLanguageCodeBytes() { + public com.google.protobuf.ByteString + getLanguageCodeBytes() { java.lang.Object ref = languageCode_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); languageCode_ = b; return b; } else { @@ -2582,8 +2264,6 @@ public com.google.protobuf.ByteString getLanguageCodeBytes() { } } /** - * - * *
      * A language code to be applied to each transcript segment unless the segment
      * already specifies a language code. Language code defaults to "en-US" if it
@@ -2591,22 +2271,18 @@ public com.google.protobuf.ByteString getLanguageCodeBytes() {
      * 
* * string language_code = 4; - * * @param value The languageCode to set. * @return This builder for chaining. */ - public Builder setLanguageCode(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setLanguageCode( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } languageCode_ = value; bitField0_ |= 0x00000008; onChanged(); return this; } /** - * - * *
      * A language code to be applied to each transcript segment unless the segment
      * already specifies a language code. Language code defaults to "en-US" if it
@@ -2614,7 +2290,6 @@ public Builder setLanguageCode(java.lang.String value) {
      * 
* * string language_code = 4; - * * @return This builder for chaining. */ public Builder clearLanguageCode() { @@ -2624,8 +2299,6 @@ public Builder clearLanguageCode() { return this; } /** - * - * *
      * A language code to be applied to each transcript segment unless the segment
      * already specifies a language code. Language code defaults to "en-US" if it
@@ -2633,14 +2306,12 @@ public Builder clearLanguageCode() {
      * 
* * string language_code = 4; - * * @param value The bytes for languageCode to set. * @return This builder for chaining. */ - public Builder setLanguageCodeBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setLanguageCodeBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); languageCode_ = value; bitField0_ |= 0x00000008; @@ -2650,13 +2321,8 @@ public Builder setLanguageCodeBytes(com.google.protobuf.ByteString value) { private com.google.protobuf.Duration conversationTtl_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Duration, - com.google.protobuf.Duration.Builder, - com.google.protobuf.DurationOrBuilder> - conversationTtlBuilder_; + com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder> conversationTtlBuilder_; /** - * - * *
      * The default TTL for newly-created conversations. If a conversation has a
      * specified expiration, that value will be used instead. Changing this
@@ -2665,15 +2331,12 @@ public Builder setLanguageCodeBytes(com.google.protobuf.ByteString value) {
      * 
* * .google.protobuf.Duration conversation_ttl = 5; - * * @return Whether the conversationTtl field is set. */ public boolean hasConversationTtl() { return ((bitField0_ & 0x00000010) != 0); } /** - * - * *
      * The default TTL for newly-created conversations. If a conversation has a
      * specified expiration, that value will be used instead. Changing this
@@ -2682,21 +2345,16 @@ public boolean hasConversationTtl() {
      * 
* * .google.protobuf.Duration conversation_ttl = 5; - * * @return The conversationTtl. */ public com.google.protobuf.Duration getConversationTtl() { if (conversationTtlBuilder_ == null) { - return conversationTtl_ == null - ? com.google.protobuf.Duration.getDefaultInstance() - : conversationTtl_; + return conversationTtl_ == null ? com.google.protobuf.Duration.getDefaultInstance() : conversationTtl_; } else { return conversationTtlBuilder_.getMessage(); } } /** - * - * *
      * The default TTL for newly-created conversations. If a conversation has a
      * specified expiration, that value will be used instead. Changing this
@@ -2720,8 +2378,6 @@ public Builder setConversationTtl(com.google.protobuf.Duration value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * The default TTL for newly-created conversations. If a conversation has a
      * specified expiration, that value will be used instead. Changing this
@@ -2731,7 +2387,8 @@ public Builder setConversationTtl(com.google.protobuf.Duration value) {
      *
      * .google.protobuf.Duration conversation_ttl = 5;
      */
-    public Builder setConversationTtl(com.google.protobuf.Duration.Builder builderForValue) {
+    public Builder setConversationTtl(
+        com.google.protobuf.Duration.Builder builderForValue) {
       if (conversationTtlBuilder_ == null) {
         conversationTtl_ = builderForValue.build();
       } else {
@@ -2742,8 +2399,6 @@ public Builder setConversationTtl(com.google.protobuf.Duration.Builder builderFo
       return this;
     }
     /**
-     *
-     *
      * 
      * The default TTL for newly-created conversations. If a conversation has a
      * specified expiration, that value will be used instead. Changing this
@@ -2755,9 +2410,9 @@ public Builder setConversationTtl(com.google.protobuf.Duration.Builder builderFo
      */
     public Builder mergeConversationTtl(com.google.protobuf.Duration value) {
       if (conversationTtlBuilder_ == null) {
-        if (((bitField0_ & 0x00000010) != 0)
-            && conversationTtl_ != null
-            && conversationTtl_ != com.google.protobuf.Duration.getDefaultInstance()) {
+        if (((bitField0_ & 0x00000010) != 0) &&
+          conversationTtl_ != null &&
+          conversationTtl_ != com.google.protobuf.Duration.getDefaultInstance()) {
           getConversationTtlBuilder().mergeFrom(value);
         } else {
           conversationTtl_ = value;
@@ -2770,8 +2425,6 @@ public Builder mergeConversationTtl(com.google.protobuf.Duration value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * The default TTL for newly-created conversations. If a conversation has a
      * specified expiration, that value will be used instead. Changing this
@@ -2792,8 +2445,6 @@ public Builder clearConversationTtl() {
       return this;
     }
     /**
-     *
-     *
      * 
      * The default TTL for newly-created conversations. If a conversation has a
      * specified expiration, that value will be used instead. Changing this
@@ -2809,8 +2460,6 @@ public com.google.protobuf.Duration.Builder getConversationTtlBuilder() {
       return getConversationTtlFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * The default TTL for newly-created conversations. If a conversation has a
      * specified expiration, that value will be used instead. Changing this
@@ -2824,14 +2473,11 @@ public com.google.protobuf.DurationOrBuilder getConversationTtlOrBuilder() {
       if (conversationTtlBuilder_ != null) {
         return conversationTtlBuilder_.getMessageOrBuilder();
       } else {
-        return conversationTtl_ == null
-            ? com.google.protobuf.Duration.getDefaultInstance()
-            : conversationTtl_;
+        return conversationTtl_ == null ?
+            com.google.protobuf.Duration.getDefaultInstance() : conversationTtl_;
       }
     }
     /**
-     *
-     *
      * 
      * The default TTL for newly-created conversations. If a conversation has a
      * specified expiration, that value will be used instead. Changing this
@@ -2842,25 +2488,21 @@ public com.google.protobuf.DurationOrBuilder getConversationTtlOrBuilder() {
      * .google.protobuf.Duration conversation_ttl = 5;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.protobuf.Duration,
-            com.google.protobuf.Duration.Builder,
-            com.google.protobuf.DurationOrBuilder>
+        com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder> 
         getConversationTtlFieldBuilder() {
       if (conversationTtlBuilder_ == null) {
-        conversationTtlBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.protobuf.Duration,
-                com.google.protobuf.Duration.Builder,
-                com.google.protobuf.DurationOrBuilder>(
-                getConversationTtl(), getParentForChildren(), isClean());
+        conversationTtlBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder>(
+                getConversationTtl(),
+                getParentForChildren(),
+                isClean());
         conversationTtl_ = null;
       }
       return conversationTtlBuilder_;
     }
 
-    private com.google.protobuf.MapField
-        pubsubNotificationSettings_;
-
+    private com.google.protobuf.MapField<
+        java.lang.String, java.lang.String> pubsubNotificationSettings_;
     private com.google.protobuf.MapField
         internalGetPubsubNotificationSettings() {
       if (pubsubNotificationSettings_ == null) {
@@ -2869,13 +2511,11 @@ public com.google.protobuf.DurationOrBuilder getConversationTtlOrBuilder() {
       }
       return pubsubNotificationSettings_;
     }
-
     private com.google.protobuf.MapField
         internalGetMutablePubsubNotificationSettings() {
       if (pubsubNotificationSettings_ == null) {
-        pubsubNotificationSettings_ =
-            com.google.protobuf.MapField.newMapField(
-                PubsubNotificationSettingsDefaultEntryHolder.defaultEntry);
+        pubsubNotificationSettings_ = com.google.protobuf.MapField.newMapField(
+            PubsubNotificationSettingsDefaultEntryHolder.defaultEntry);
       }
       if (!pubsubNotificationSettings_.isMutable()) {
         pubsubNotificationSettings_ = pubsubNotificationSettings_.copy();
@@ -2884,13 +2524,10 @@ public com.google.protobuf.DurationOrBuilder getConversationTtlOrBuilder() {
       onChanged();
       return pubsubNotificationSettings_;
     }
-
     public int getPubsubNotificationSettingsCount() {
       return internalGetPubsubNotificationSettings().getMap().size();
     }
     /**
-     *
-     *
      * 
      * A map that maps a notification trigger to a Pub/Sub topic. Each time a
      * specified trigger occurs, Insights will notify the corresponding Pub/Sub
@@ -2909,21 +2546,20 @@ public int getPubsubNotificationSettingsCount() {
      * map<string, string> pubsub_notification_settings = 6;
      */
     @java.lang.Override
-    public boolean containsPubsubNotificationSettings(java.lang.String key) {
-      if (key == null) {
-        throw new NullPointerException("map key");
-      }
+    public boolean containsPubsubNotificationSettings(
+        java.lang.String key) {
+      if (key == null) { throw new NullPointerException("map key"); }
       return internalGetPubsubNotificationSettings().getMap().containsKey(key);
     }
-    /** Use {@link #getPubsubNotificationSettingsMap()} instead. */
+    /**
+     * Use {@link #getPubsubNotificationSettingsMap()} instead.
+     */
     @java.lang.Override
     @java.lang.Deprecated
     public java.util.Map getPubsubNotificationSettings() {
       return getPubsubNotificationSettingsMap();
     }
     /**
-     *
-     *
      * 
      * A map that maps a notification trigger to a Pub/Sub topic. Each time a
      * specified trigger occurs, Insights will notify the corresponding Pub/Sub
@@ -2946,8 +2582,6 @@ public java.util.Map getPubsubNotificationSe
       return internalGetPubsubNotificationSettings().getMap();
     }
     /**
-     *
-     *
      * 
      * A map that maps a notification trigger to a Pub/Sub topic. Each time a
      * specified trigger occurs, Insights will notify the corresponding Pub/Sub
@@ -2966,20 +2600,17 @@ public java.util.Map getPubsubNotificationSe
      * map<string, string> pubsub_notification_settings = 6;
      */
     @java.lang.Override
-    public /* nullable */ java.lang.String getPubsubNotificationSettingsOrDefault(
+    public /* nullable */
+java.lang.String getPubsubNotificationSettingsOrDefault(
         java.lang.String key,
         /* nullable */
-        java.lang.String defaultValue) {
-      if (key == null) {
-        throw new NullPointerException("map key");
-      }
+java.lang.String defaultValue) {
+      if (key == null) { throw new NullPointerException("map key"); }
       java.util.Map map =
           internalGetPubsubNotificationSettings().getMap();
       return map.containsKey(key) ? map.get(key) : defaultValue;
     }
     /**
-     *
-     *
      * 
      * A map that maps a notification trigger to a Pub/Sub topic. Each time a
      * specified trigger occurs, Insights will notify the corresponding Pub/Sub
@@ -2998,10 +2629,9 @@ public java.util.Map getPubsubNotificationSe
      * map<string, string> pubsub_notification_settings = 6;
      */
     @java.lang.Override
-    public java.lang.String getPubsubNotificationSettingsOrThrow(java.lang.String key) {
-      if (key == null) {
-        throw new NullPointerException("map key");
-      }
+    public java.lang.String getPubsubNotificationSettingsOrThrow(
+        java.lang.String key) {
+      if (key == null) { throw new NullPointerException("map key"); }
       java.util.Map map =
           internalGetPubsubNotificationSettings().getMap();
       if (!map.containsKey(key)) {
@@ -3009,15 +2639,13 @@ public java.lang.String getPubsubNotificationSettingsOrThrow(java.lang.String ke
       }
       return map.get(key);
     }
-
     public Builder clearPubsubNotificationSettings() {
       bitField0_ = (bitField0_ & ~0x00000020);
-      internalGetMutablePubsubNotificationSettings().getMutableMap().clear();
+      internalGetMutablePubsubNotificationSettings().getMutableMap()
+          .clear();
       return this;
     }
     /**
-     *
-     *
      * 
      * A map that maps a notification trigger to a Pub/Sub topic. Each time a
      * specified trigger occurs, Insights will notify the corresponding Pub/Sub
@@ -3035,14 +2663,16 @@ public Builder clearPubsubNotificationSettings() {
      *
      * map<string, string> pubsub_notification_settings = 6;
      */
-    public Builder removePubsubNotificationSettings(java.lang.String key) {
-      if (key == null) {
-        throw new NullPointerException("map key");
-      }
-      internalGetMutablePubsubNotificationSettings().getMutableMap().remove(key);
+    public Builder removePubsubNotificationSettings(
+        java.lang.String key) {
+      if (key == null) { throw new NullPointerException("map key"); }
+      internalGetMutablePubsubNotificationSettings().getMutableMap()
+          .remove(key);
       return this;
     }
-    /** Use alternate mutation accessors instead. */
+    /**
+     * Use alternate mutation accessors instead.
+     */
     @java.lang.Deprecated
     public java.util.Map
         getMutablePubsubNotificationSettings() {
@@ -3050,8 +2680,6 @@ public Builder removePubsubNotificationSettings(java.lang.String key) {
       return internalGetMutablePubsubNotificationSettings().getMutableMap();
     }
     /**
-     *
-     *
      * 
      * A map that maps a notification trigger to a Pub/Sub topic. Each time a
      * specified trigger occurs, Insights will notify the corresponding Pub/Sub
@@ -3069,20 +2697,17 @@ public Builder removePubsubNotificationSettings(java.lang.String key) {
      *
      * map<string, string> pubsub_notification_settings = 6;
      */
-    public Builder putPubsubNotificationSettings(java.lang.String key, java.lang.String value) {
-      if (key == null) {
-        throw new NullPointerException("map key");
-      }
-      if (value == null) {
-        throw new NullPointerException("map value");
-      }
-      internalGetMutablePubsubNotificationSettings().getMutableMap().put(key, value);
+    public Builder putPubsubNotificationSettings(
+        java.lang.String key,
+        java.lang.String value) {
+      if (key == null) { throw new NullPointerException("map key"); }
+      if (value == null) { throw new NullPointerException("map value"); }
+      internalGetMutablePubsubNotificationSettings().getMutableMap()
+          .put(key, value);
       bitField0_ |= 0x00000020;
       return this;
     }
     /**
-     *
-     *
      * 
      * A map that maps a notification trigger to a Pub/Sub topic. Each time a
      * specified trigger occurs, Insights will notify the corresponding Pub/Sub
@@ -3102,65 +2727,49 @@ public Builder putPubsubNotificationSettings(java.lang.String key, java.lang.Str
      */
     public Builder putAllPubsubNotificationSettings(
         java.util.Map values) {
-      internalGetMutablePubsubNotificationSettings().getMutableMap().putAll(values);
+      internalGetMutablePubsubNotificationSettings().getMutableMap()
+          .putAll(values);
       bitField0_ |= 0x00000020;
       return this;
     }
 
     private com.google.cloud.contactcenterinsights.v1.Settings.AnalysisConfig analysisConfig_;
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.cloud.contactcenterinsights.v1.Settings.AnalysisConfig,
-            com.google.cloud.contactcenterinsights.v1.Settings.AnalysisConfig.Builder,
-            com.google.cloud.contactcenterinsights.v1.Settings.AnalysisConfigOrBuilder>
-        analysisConfigBuilder_;
+        com.google.cloud.contactcenterinsights.v1.Settings.AnalysisConfig, com.google.cloud.contactcenterinsights.v1.Settings.AnalysisConfig.Builder, com.google.cloud.contactcenterinsights.v1.Settings.AnalysisConfigOrBuilder> analysisConfigBuilder_;
     /**
-     *
-     *
      * 
      * Default analysis settings.
      * 
* - * .google.cloud.contactcenterinsights.v1.Settings.AnalysisConfig analysis_config = 7; - * - * + * .google.cloud.contactcenterinsights.v1.Settings.AnalysisConfig analysis_config = 7; * @return Whether the analysisConfig field is set. */ public boolean hasAnalysisConfig() { return ((bitField0_ & 0x00000040) != 0); } /** - * - * *
      * Default analysis settings.
      * 
* - * .google.cloud.contactcenterinsights.v1.Settings.AnalysisConfig analysis_config = 7; - * - * + * .google.cloud.contactcenterinsights.v1.Settings.AnalysisConfig analysis_config = 7; * @return The analysisConfig. */ public com.google.cloud.contactcenterinsights.v1.Settings.AnalysisConfig getAnalysisConfig() { if (analysisConfigBuilder_ == null) { - return analysisConfig_ == null - ? com.google.cloud.contactcenterinsights.v1.Settings.AnalysisConfig.getDefaultInstance() - : analysisConfig_; + return analysisConfig_ == null ? com.google.cloud.contactcenterinsights.v1.Settings.AnalysisConfig.getDefaultInstance() : analysisConfig_; } else { return analysisConfigBuilder_.getMessage(); } } /** - * - * *
      * Default analysis settings.
      * 
* - * .google.cloud.contactcenterinsights.v1.Settings.AnalysisConfig analysis_config = 7; - * + * .google.cloud.contactcenterinsights.v1.Settings.AnalysisConfig analysis_config = 7; */ - public Builder setAnalysisConfig( - com.google.cloud.contactcenterinsights.v1.Settings.AnalysisConfig value) { + public Builder setAnalysisConfig(com.google.cloud.contactcenterinsights.v1.Settings.AnalysisConfig value) { if (analysisConfigBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -3174,14 +2783,11 @@ public Builder setAnalysisConfig( return this; } /** - * - * *
      * Default analysis settings.
      * 
* - * .google.cloud.contactcenterinsights.v1.Settings.AnalysisConfig analysis_config = 7; - * + * .google.cloud.contactcenterinsights.v1.Settings.AnalysisConfig analysis_config = 7; */ public Builder setAnalysisConfig( com.google.cloud.contactcenterinsights.v1.Settings.AnalysisConfig.Builder builderForValue) { @@ -3195,23 +2801,17 @@ public Builder setAnalysisConfig( return this; } /** - * - * *
      * Default analysis settings.
      * 
* - * .google.cloud.contactcenterinsights.v1.Settings.AnalysisConfig analysis_config = 7; - * + * .google.cloud.contactcenterinsights.v1.Settings.AnalysisConfig analysis_config = 7; */ - public Builder mergeAnalysisConfig( - com.google.cloud.contactcenterinsights.v1.Settings.AnalysisConfig value) { + public Builder mergeAnalysisConfig(com.google.cloud.contactcenterinsights.v1.Settings.AnalysisConfig value) { if (analysisConfigBuilder_ == null) { - if (((bitField0_ & 0x00000040) != 0) - && analysisConfig_ != null - && analysisConfig_ - != com.google.cloud.contactcenterinsights.v1.Settings.AnalysisConfig - .getDefaultInstance()) { + if (((bitField0_ & 0x00000040) != 0) && + analysisConfig_ != null && + analysisConfig_ != com.google.cloud.contactcenterinsights.v1.Settings.AnalysisConfig.getDefaultInstance()) { getAnalysisConfigBuilder().mergeFrom(value); } else { analysisConfig_ = value; @@ -3224,14 +2824,11 @@ public Builder mergeAnalysisConfig( return this; } /** - * - * *
      * Default analysis settings.
      * 
* - * .google.cloud.contactcenterinsights.v1.Settings.AnalysisConfig analysis_config = 7; - * + * .google.cloud.contactcenterinsights.v1.Settings.AnalysisConfig analysis_config = 7; */ public Builder clearAnalysisConfig() { bitField0_ = (bitField0_ & ~0x00000040); @@ -3244,70 +2841,55 @@ public Builder clearAnalysisConfig() { return this; } /** - * - * *
      * Default analysis settings.
      * 
* - * .google.cloud.contactcenterinsights.v1.Settings.AnalysisConfig analysis_config = 7; - * + * .google.cloud.contactcenterinsights.v1.Settings.AnalysisConfig analysis_config = 7; */ - public com.google.cloud.contactcenterinsights.v1.Settings.AnalysisConfig.Builder - getAnalysisConfigBuilder() { + public com.google.cloud.contactcenterinsights.v1.Settings.AnalysisConfig.Builder getAnalysisConfigBuilder() { bitField0_ |= 0x00000040; onChanged(); return getAnalysisConfigFieldBuilder().getBuilder(); } /** - * - * *
      * Default analysis settings.
      * 
* - * .google.cloud.contactcenterinsights.v1.Settings.AnalysisConfig analysis_config = 7; - * + * .google.cloud.contactcenterinsights.v1.Settings.AnalysisConfig analysis_config = 7; */ - public com.google.cloud.contactcenterinsights.v1.Settings.AnalysisConfigOrBuilder - getAnalysisConfigOrBuilder() { + public com.google.cloud.contactcenterinsights.v1.Settings.AnalysisConfigOrBuilder getAnalysisConfigOrBuilder() { if (analysisConfigBuilder_ != null) { return analysisConfigBuilder_.getMessageOrBuilder(); } else { - return analysisConfig_ == null - ? com.google.cloud.contactcenterinsights.v1.Settings.AnalysisConfig.getDefaultInstance() - : analysisConfig_; + return analysisConfig_ == null ? + com.google.cloud.contactcenterinsights.v1.Settings.AnalysisConfig.getDefaultInstance() : analysisConfig_; } } /** - * - * *
      * Default analysis settings.
      * 
* - * .google.cloud.contactcenterinsights.v1.Settings.AnalysisConfig analysis_config = 7; - * + * .google.cloud.contactcenterinsights.v1.Settings.AnalysisConfig analysis_config = 7; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.contactcenterinsights.v1.Settings.AnalysisConfig, - com.google.cloud.contactcenterinsights.v1.Settings.AnalysisConfig.Builder, - com.google.cloud.contactcenterinsights.v1.Settings.AnalysisConfigOrBuilder> + com.google.cloud.contactcenterinsights.v1.Settings.AnalysisConfig, com.google.cloud.contactcenterinsights.v1.Settings.AnalysisConfig.Builder, com.google.cloud.contactcenterinsights.v1.Settings.AnalysisConfigOrBuilder> getAnalysisConfigFieldBuilder() { if (analysisConfigBuilder_ == null) { - analysisConfigBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.contactcenterinsights.v1.Settings.AnalysisConfig, - com.google.cloud.contactcenterinsights.v1.Settings.AnalysisConfig.Builder, - com.google.cloud.contactcenterinsights.v1.Settings.AnalysisConfigOrBuilder>( - getAnalysisConfig(), getParentForChildren(), isClean()); + analysisConfigBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.contactcenterinsights.v1.Settings.AnalysisConfig, com.google.cloud.contactcenterinsights.v1.Settings.AnalysisConfig.Builder, com.google.cloud.contactcenterinsights.v1.Settings.AnalysisConfigOrBuilder>( + getAnalysisConfig(), + getParentForChildren(), + isClean()); analysisConfig_ = null; } return analysisConfigBuilder_; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -3317,12 +2899,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.contactcenterinsights.v1.Settings) } // @@protoc_insertion_point(class_scope:google.cloud.contactcenterinsights.v1.Settings) private static final com.google.cloud.contactcenterinsights.v1.Settings DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.contactcenterinsights.v1.Settings(); } @@ -3331,27 +2913,27 @@ public static com.google.cloud.contactcenterinsights.v1.Settings getDefaultInsta return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public Settings parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public Settings parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -3366,4 +2948,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.contactcenterinsights.v1.Settings getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/SettingsName.java b/owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/SettingsName.java similarity index 100% rename from java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/SettingsName.java rename to owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/SettingsName.java diff --git a/java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/SettingsOrBuilder.java b/owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/SettingsOrBuilder.java similarity index 82% rename from java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/SettingsOrBuilder.java rename to owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/SettingsOrBuilder.java index 14884966b302..1c6b10f5e7e5 100644 --- a/java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/SettingsOrBuilder.java +++ b/owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/SettingsOrBuilder.java @@ -1,31 +1,13 @@ -/* - * 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. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/contactcenterinsights/v1/resources.proto package com.google.cloud.contactcenterinsights.v1; -public interface SettingsOrBuilder - extends +public interface SettingsOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.contactcenterinsights.v1.Settings) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Immutable. The resource name of the settings resource.
    * Format:
@@ -33,13 +15,10 @@ public interface SettingsOrBuilder
    * 
* * string name = 1 [(.google.api.field_behavior) = IMMUTABLE]; - * * @return The name. */ java.lang.String getName(); /** - * - * *
    * Immutable. The resource name of the settings resource.
    * Format:
@@ -47,90 +26,66 @@ public interface SettingsOrBuilder
    * 
* * string name = 1 [(.google.api.field_behavior) = IMMUTABLE]; - * * @return The bytes for name. */ - com.google.protobuf.ByteString getNameBytes(); + com.google.protobuf.ByteString + getNameBytes(); /** - * - * *
    * Output only. The time at which the settings was created.
    * 
* - * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the createTime field is set. */ boolean hasCreateTime(); /** - * - * *
    * Output only. The time at which the settings was created.
    * 
* - * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The createTime. */ com.google.protobuf.Timestamp getCreateTime(); /** - * - * *
    * Output only. The time at which the settings was created.
    * 
* - * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder(); /** - * - * *
    * Output only. The time at which the settings were last updated.
    * 
* - * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the updateTime field is set. */ boolean hasUpdateTime(); /** - * - * *
    * Output only. The time at which the settings were last updated.
    * 
* - * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The updateTime. */ com.google.protobuf.Timestamp getUpdateTime(); /** - * - * *
    * Output only. The time at which the settings were last updated.
    * 
* - * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder(); /** - * - * *
    * A language code to be applied to each transcript segment unless the segment
    * already specifies a language code. Language code defaults to "en-US" if it
@@ -138,13 +93,10 @@ public interface SettingsOrBuilder
    * 
* * string language_code = 4; - * * @return The languageCode. */ java.lang.String getLanguageCode(); /** - * - * *
    * A language code to be applied to each transcript segment unless the segment
    * already specifies a language code. Language code defaults to "en-US" if it
@@ -152,14 +104,12 @@ public interface SettingsOrBuilder
    * 
* * string language_code = 4; - * * @return The bytes for languageCode. */ - com.google.protobuf.ByteString getLanguageCodeBytes(); + com.google.protobuf.ByteString + getLanguageCodeBytes(); /** - * - * *
    * The default TTL for newly-created conversations. If a conversation has a
    * specified expiration, that value will be used instead. Changing this
@@ -168,13 +118,10 @@ public interface SettingsOrBuilder
    * 
* * .google.protobuf.Duration conversation_ttl = 5; - * * @return Whether the conversationTtl field is set. */ boolean hasConversationTtl(); /** - * - * *
    * The default TTL for newly-created conversations. If a conversation has a
    * specified expiration, that value will be used instead. Changing this
@@ -183,13 +130,10 @@ public interface SettingsOrBuilder
    * 
* * .google.protobuf.Duration conversation_ttl = 5; - * * @return The conversationTtl. */ com.google.protobuf.Duration getConversationTtl(); /** - * - * *
    * The default TTL for newly-created conversations. If a conversation has a
    * specified expiration, that value will be used instead. Changing this
@@ -202,8 +146,6 @@ public interface SettingsOrBuilder
   com.google.protobuf.DurationOrBuilder getConversationTtlOrBuilder();
 
   /**
-   *
-   *
    * 
    * A map that maps a notification trigger to a Pub/Sub topic. Each time a
    * specified trigger occurs, Insights will notify the corresponding Pub/Sub
@@ -223,8 +165,6 @@ public interface SettingsOrBuilder
    */
   int getPubsubNotificationSettingsCount();
   /**
-   *
-   *
    * 
    * A map that maps a notification trigger to a Pub/Sub topic. Each time a
    * specified trigger occurs, Insights will notify the corresponding Pub/Sub
@@ -242,13 +182,15 @@ public interface SettingsOrBuilder
    *
    * map<string, string> pubsub_notification_settings = 6;
    */
-  boolean containsPubsubNotificationSettings(java.lang.String key);
-  /** Use {@link #getPubsubNotificationSettingsMap()} instead. */
+  boolean containsPubsubNotificationSettings(
+      java.lang.String key);
+  /**
+   * Use {@link #getPubsubNotificationSettingsMap()} instead.
+   */
   @java.lang.Deprecated
-  java.util.Map getPubsubNotificationSettings();
+  java.util.Map
+  getPubsubNotificationSettings();
   /**
-   *
-   *
    * 
    * A map that maps a notification trigger to a Pub/Sub topic. Each time a
    * specified trigger occurs, Insights will notify the corresponding Pub/Sub
@@ -266,10 +208,9 @@ public interface SettingsOrBuilder
    *
    * map<string, string> pubsub_notification_settings = 6;
    */
-  java.util.Map getPubsubNotificationSettingsMap();
+  java.util.Map
+  getPubsubNotificationSettingsMap();
   /**
-   *
-   *
    * 
    * A map that maps a notification trigger to a Pub/Sub topic. Each time a
    * specified trigger occurs, Insights will notify the corresponding Pub/Sub
@@ -288,13 +229,11 @@ public interface SettingsOrBuilder
    * map<string, string> pubsub_notification_settings = 6;
    */
   /* nullable */
-  java.lang.String getPubsubNotificationSettingsOrDefault(
+java.lang.String getPubsubNotificationSettingsOrDefault(
       java.lang.String key,
       /* nullable */
-      java.lang.String defaultValue);
+java.lang.String defaultValue);
   /**
-   *
-   *
    * 
    * A map that maps a notification trigger to a Pub/Sub topic. Each time a
    * specified trigger occurs, Insights will notify the corresponding Pub/Sub
@@ -312,44 +251,33 @@ java.lang.String getPubsubNotificationSettingsOrDefault(
    *
    * map<string, string> pubsub_notification_settings = 6;
    */
-  java.lang.String getPubsubNotificationSettingsOrThrow(java.lang.String key);
+  java.lang.String getPubsubNotificationSettingsOrThrow(
+      java.lang.String key);
 
   /**
-   *
-   *
    * 
    * Default analysis settings.
    * 
* - * .google.cloud.contactcenterinsights.v1.Settings.AnalysisConfig analysis_config = 7; - * - * + * .google.cloud.contactcenterinsights.v1.Settings.AnalysisConfig analysis_config = 7; * @return Whether the analysisConfig field is set. */ boolean hasAnalysisConfig(); /** - * - * *
    * Default analysis settings.
    * 
* - * .google.cloud.contactcenterinsights.v1.Settings.AnalysisConfig analysis_config = 7; - * - * + * .google.cloud.contactcenterinsights.v1.Settings.AnalysisConfig analysis_config = 7; * @return The analysisConfig. */ com.google.cloud.contactcenterinsights.v1.Settings.AnalysisConfig getAnalysisConfig(); /** - * - * *
    * Default analysis settings.
    * 
* - * .google.cloud.contactcenterinsights.v1.Settings.AnalysisConfig analysis_config = 7; - * + * .google.cloud.contactcenterinsights.v1.Settings.AnalysisConfig analysis_config = 7; */ - com.google.cloud.contactcenterinsights.v1.Settings.AnalysisConfigOrBuilder - getAnalysisConfigOrBuilder(); + com.google.cloud.contactcenterinsights.v1.Settings.AnalysisConfigOrBuilder getAnalysisConfigOrBuilder(); } diff --git a/java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/SilenceData.java b/owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/SilenceData.java similarity index 62% rename from java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/SilenceData.java rename to owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/SilenceData.java index 0d806512080d..e1ce0a6f2613 100644 --- a/java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/SilenceData.java +++ b/owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/SilenceData.java @@ -1,72 +1,53 @@ -/* - * 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. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/contactcenterinsights/v1/resources.proto package com.google.cloud.contactcenterinsights.v1; /** - * - * *
  * The data for a silence annotation.
  * 
* * Protobuf type {@code google.cloud.contactcenterinsights.v1.SilenceData} */ -public final class SilenceData extends com.google.protobuf.GeneratedMessageV3 - implements +public final class SilenceData extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.contactcenterinsights.v1.SilenceData) SilenceDataOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use SilenceData.newBuilder() to construct. private SilenceData(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - - private SilenceData() {} + private SilenceData() { + } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new SilenceData(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.contactcenterinsights.v1.ResourcesProto - .internal_static_google_cloud_contactcenterinsights_v1_SilenceData_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.contactcenterinsights.v1.ResourcesProto.internal_static_google_cloud_contactcenterinsights_v1_SilenceData_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.contactcenterinsights.v1.ResourcesProto - .internal_static_google_cloud_contactcenterinsights_v1_SilenceData_fieldAccessorTable + return com.google.cloud.contactcenterinsights.v1.ResourcesProto.internal_static_google_cloud_contactcenterinsights_v1_SilenceData_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.contactcenterinsights.v1.SilenceData.class, - com.google.cloud.contactcenterinsights.v1.SilenceData.Builder.class); + com.google.cloud.contactcenterinsights.v1.SilenceData.class, com.google.cloud.contactcenterinsights.v1.SilenceData.Builder.class); } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -78,7 +59,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { getUnknownFields().writeTo(output); } @@ -96,13 +78,12 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.contactcenterinsights.v1.SilenceData)) { return super.equals(obj); } - com.google.cloud.contactcenterinsights.v1.SilenceData other = - (com.google.cloud.contactcenterinsights.v1.SilenceData) obj; + com.google.cloud.contactcenterinsights.v1.SilenceData other = (com.google.cloud.contactcenterinsights.v1.SilenceData) obj; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -121,136 +102,129 @@ public int hashCode() { } public static com.google.cloud.contactcenterinsights.v1.SilenceData parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.contactcenterinsights.v1.SilenceData parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.contactcenterinsights.v1.SilenceData parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.contactcenterinsights.v1.SilenceData parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.contactcenterinsights.v1.SilenceData parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.contactcenterinsights.v1.SilenceData parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.contactcenterinsights.v1.SilenceData parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.contactcenterinsights.v1.SilenceData parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.contactcenterinsights.v1.SilenceData parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.contactcenterinsights.v1.SilenceData parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.contactcenterinsights.v1.SilenceData parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.contactcenterinsights.v1.SilenceData parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.contactcenterinsights.v1.SilenceData parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.contactcenterinsights.v1.SilenceData parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.contactcenterinsights.v1.SilenceData prototype) { + public static Builder newBuilder(com.google.cloud.contactcenterinsights.v1.SilenceData prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * The data for a silence annotation.
    * 
* * Protobuf type {@code google.cloud.contactcenterinsights.v1.SilenceData} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.contactcenterinsights.v1.SilenceData) com.google.cloud.contactcenterinsights.v1.SilenceDataOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.contactcenterinsights.v1.ResourcesProto - .internal_static_google_cloud_contactcenterinsights_v1_SilenceData_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.contactcenterinsights.v1.ResourcesProto.internal_static_google_cloud_contactcenterinsights_v1_SilenceData_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.contactcenterinsights.v1.ResourcesProto - .internal_static_google_cloud_contactcenterinsights_v1_SilenceData_fieldAccessorTable + return com.google.cloud.contactcenterinsights.v1.ResourcesProto.internal_static_google_cloud_contactcenterinsights_v1_SilenceData_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.contactcenterinsights.v1.SilenceData.class, - com.google.cloud.contactcenterinsights.v1.SilenceData.Builder.class); + com.google.cloud.contactcenterinsights.v1.SilenceData.class, com.google.cloud.contactcenterinsights.v1.SilenceData.Builder.class); } // Construct using com.google.cloud.contactcenterinsights.v1.SilenceData.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -258,9 +232,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.contactcenterinsights.v1.ResourcesProto - .internal_static_google_cloud_contactcenterinsights_v1_SilenceData_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.contactcenterinsights.v1.ResourcesProto.internal_static_google_cloud_contactcenterinsights_v1_SilenceData_descriptor; } @java.lang.Override @@ -279,8 +253,7 @@ public com.google.cloud.contactcenterinsights.v1.SilenceData build() { @java.lang.Override public com.google.cloud.contactcenterinsights.v1.SilenceData buildPartial() { - com.google.cloud.contactcenterinsights.v1.SilenceData result = - new com.google.cloud.contactcenterinsights.v1.SilenceData(this); + com.google.cloud.contactcenterinsights.v1.SilenceData result = new com.google.cloud.contactcenterinsights.v1.SilenceData(this); onBuilt(); return result; } @@ -289,39 +262,38 @@ public com.google.cloud.contactcenterinsights.v1.SilenceData buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.contactcenterinsights.v1.SilenceData) { - return mergeFrom((com.google.cloud.contactcenterinsights.v1.SilenceData) other); + return mergeFrom((com.google.cloud.contactcenterinsights.v1.SilenceData)other); } else { super.mergeFrom(other); return this; @@ -329,8 +301,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.contactcenterinsights.v1.SilenceData other) { - if (other == com.google.cloud.contactcenterinsights.v1.SilenceData.getDefaultInstance()) - return this; + if (other == com.google.cloud.contactcenterinsights.v1.SilenceData.getDefaultInstance()) return this; this.mergeUnknownFields(other.getUnknownFields()); onChanged(); return this; @@ -357,13 +328,12 @@ public Builder mergeFrom( case 0: done = true; break; - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -373,9 +343,9 @@ public Builder mergeFrom( } // finally return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -385,12 +355,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.contactcenterinsights.v1.SilenceData) } // @@protoc_insertion_point(class_scope:google.cloud.contactcenterinsights.v1.SilenceData) private static final com.google.cloud.contactcenterinsights.v1.SilenceData DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.contactcenterinsights.v1.SilenceData(); } @@ -399,27 +369,27 @@ public static com.google.cloud.contactcenterinsights.v1.SilenceData getDefaultIn return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public SilenceData parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public SilenceData parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -434,4 +404,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.contactcenterinsights.v1.SilenceData getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/SilenceDataOrBuilder.java b/owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/SilenceDataOrBuilder.java new file mode 100644 index 000000000000..c865e05afc38 --- /dev/null +++ b/owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/SilenceDataOrBuilder.java @@ -0,0 +1,9 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/contactcenterinsights/v1/resources.proto + +package com.google.cloud.contactcenterinsights.v1; + +public interface SilenceDataOrBuilder extends + // @@protoc_insertion_point(interface_extends:google.cloud.contactcenterinsights.v1.SilenceData) + com.google.protobuf.MessageOrBuilder { +} diff --git a/java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/SmartComposeSuggestionData.java b/owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/SmartComposeSuggestionData.java similarity index 63% rename from java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/SmartComposeSuggestionData.java rename to owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/SmartComposeSuggestionData.java index 79ac4d6d2059..ffbad8a76df1 100644 --- a/java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/SmartComposeSuggestionData.java +++ b/owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/SmartComposeSuggestionData.java @@ -1,42 +1,24 @@ -/* - * 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. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/contactcenterinsights/v1/resources.proto package com.google.cloud.contactcenterinsights.v1; /** - * - * *
  * Agent Assist Smart Compose suggestion data.
  * 
* * Protobuf type {@code google.cloud.contactcenterinsights.v1.SmartComposeSuggestionData} */ -public final class SmartComposeSuggestionData extends com.google.protobuf.GeneratedMessageV3 - implements +public final class SmartComposeSuggestionData extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.contactcenterinsights.v1.SmartComposeSuggestionData) SmartComposeSuggestionDataOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use SmartComposeSuggestionData.newBuilder() to construct. private SmartComposeSuggestionData(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private SmartComposeSuggestionData() { suggestion_ = ""; queryRecord_ = ""; @@ -44,54 +26,50 @@ private SmartComposeSuggestionData() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new SmartComposeSuggestionData(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.contactcenterinsights.v1.ResourcesProto - .internal_static_google_cloud_contactcenterinsights_v1_SmartComposeSuggestionData_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.contactcenterinsights.v1.ResourcesProto.internal_static_google_cloud_contactcenterinsights_v1_SmartComposeSuggestionData_descriptor; } @SuppressWarnings({"rawtypes"}) @java.lang.Override - protected com.google.protobuf.MapField internalGetMapField(int number) { + protected com.google.protobuf.MapField internalGetMapField( + int number) { switch (number) { case 3: return internalGetMetadata(); default: - throw new RuntimeException("Invalid map field number: " + number); + throw new RuntimeException( + "Invalid map field number: " + number); } } - @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.contactcenterinsights.v1.ResourcesProto - .internal_static_google_cloud_contactcenterinsights_v1_SmartComposeSuggestionData_fieldAccessorTable + return com.google.cloud.contactcenterinsights.v1.ResourcesProto.internal_static_google_cloud_contactcenterinsights_v1_SmartComposeSuggestionData_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.contactcenterinsights.v1.SmartComposeSuggestionData.class, - com.google.cloud.contactcenterinsights.v1.SmartComposeSuggestionData.Builder.class); + com.google.cloud.contactcenterinsights.v1.SmartComposeSuggestionData.class, com.google.cloud.contactcenterinsights.v1.SmartComposeSuggestionData.Builder.class); } public static final int SUGGESTION_FIELD_NUMBER = 1; - @SuppressWarnings("serial") private volatile java.lang.Object suggestion_ = ""; /** - * - * *
    * The content of the suggestion.
    * 
* * string suggestion = 1; - * * @return The suggestion. */ @java.lang.Override @@ -100,29 +78,29 @@ public java.lang.String getSuggestion() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); suggestion_ = s; return s; } } /** - * - * *
    * The content of the suggestion.
    * 
* * string suggestion = 1; - * * @return The bytes for suggestion. */ @java.lang.Override - public com.google.protobuf.ByteString getSuggestionBytes() { + public com.google.protobuf.ByteString + getSuggestionBytes() { java.lang.Object ref = suggestion_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); suggestion_ = b; return b; } else { @@ -133,8 +111,6 @@ public com.google.protobuf.ByteString getSuggestionBytes() { public static final int CONFIDENCE_SCORE_FIELD_NUMBER = 2; private double confidenceScore_ = 0D; /** - * - * *
    * The system's confidence score that this suggestion is a good match for this
    * conversation, ranging from 0.0 (completely uncertain) to 1.0 (completely
@@ -142,7 +118,6 @@ public com.google.protobuf.ByteString getSuggestionBytes() {
    * 
* * double confidence_score = 2; - * * @return The confidenceScore. */ @java.lang.Override @@ -151,34 +126,32 @@ public double getConfidenceScore() { } public static final int METADATA_FIELD_NUMBER = 3; - private static final class MetadataDefaultEntryHolder { - static final com.google.protobuf.MapEntry defaultEntry = - com.google.protobuf.MapEntry.newDefaultInstance( - com.google.cloud.contactcenterinsights.v1.ResourcesProto - .internal_static_google_cloud_contactcenterinsights_v1_SmartComposeSuggestionData_MetadataEntry_descriptor, - com.google.protobuf.WireFormat.FieldType.STRING, - "", - com.google.protobuf.WireFormat.FieldType.STRING, - ""); + static final com.google.protobuf.MapEntry< + java.lang.String, java.lang.String> defaultEntry = + com.google.protobuf.MapEntry + .newDefaultInstance( + com.google.cloud.contactcenterinsights.v1.ResourcesProto.internal_static_google_cloud_contactcenterinsights_v1_SmartComposeSuggestionData_MetadataEntry_descriptor, + com.google.protobuf.WireFormat.FieldType.STRING, + "", + com.google.protobuf.WireFormat.FieldType.STRING, + ""); } - @SuppressWarnings("serial") - private com.google.protobuf.MapField metadata_; - - private com.google.protobuf.MapField internalGetMetadata() { + private com.google.protobuf.MapField< + java.lang.String, java.lang.String> metadata_; + private com.google.protobuf.MapField + internalGetMetadata() { if (metadata_ == null) { - return com.google.protobuf.MapField.emptyMapField(MetadataDefaultEntryHolder.defaultEntry); + return com.google.protobuf.MapField.emptyMapField( + MetadataDefaultEntryHolder.defaultEntry); } return metadata_; } - public int getMetadataCount() { return internalGetMetadata().getMap().size(); } /** - * - * *
    * Map that contains metadata about the Smart Compose suggestion and the
    * document from which it originates.
@@ -187,21 +160,20 @@ public int getMetadataCount() {
    * map<string, string> metadata = 3;
    */
   @java.lang.Override
-  public boolean containsMetadata(java.lang.String key) {
-    if (key == null) {
-      throw new NullPointerException("map key");
-    }
+  public boolean containsMetadata(
+      java.lang.String key) {
+    if (key == null) { throw new NullPointerException("map key"); }
     return internalGetMetadata().getMap().containsKey(key);
   }
-  /** Use {@link #getMetadataMap()} instead. */
+  /**
+   * Use {@link #getMetadataMap()} instead.
+   */
   @java.lang.Override
   @java.lang.Deprecated
   public java.util.Map getMetadata() {
     return getMetadataMap();
   }
   /**
-   *
-   *
    * 
    * Map that contains metadata about the Smart Compose suggestion and the
    * document from which it originates.
@@ -214,8 +186,6 @@ public java.util.Map getMetadataMap() {
     return internalGetMetadata().getMap();
   }
   /**
-   *
-   *
    * 
    * Map that contains metadata about the Smart Compose suggestion and the
    * document from which it originates.
@@ -224,19 +194,17 @@ public java.util.Map getMetadataMap() {
    * map<string, string> metadata = 3;
    */
   @java.lang.Override
-  public /* nullable */ java.lang.String getMetadataOrDefault(
+  public /* nullable */
+java.lang.String getMetadataOrDefault(
       java.lang.String key,
       /* nullable */
-      java.lang.String defaultValue) {
-    if (key == null) {
-      throw new NullPointerException("map key");
-    }
-    java.util.Map map = internalGetMetadata().getMap();
+java.lang.String defaultValue) {
+    if (key == null) { throw new NullPointerException("map key"); }
+    java.util.Map map =
+        internalGetMetadata().getMap();
     return map.containsKey(key) ? map.get(key) : defaultValue;
   }
   /**
-   *
-   *
    * 
    * Map that contains metadata about the Smart Compose suggestion and the
    * document from which it originates.
@@ -245,11 +213,11 @@ public java.util.Map getMetadataMap() {
    * map<string, string> metadata = 3;
    */
   @java.lang.Override
-  public java.lang.String getMetadataOrThrow(java.lang.String key) {
-    if (key == null) {
-      throw new NullPointerException("map key");
-    }
-    java.util.Map map = internalGetMetadata().getMap();
+  public java.lang.String getMetadataOrThrow(
+      java.lang.String key) {
+    if (key == null) { throw new NullPointerException("map key"); }
+    java.util.Map map =
+        internalGetMetadata().getMap();
     if (!map.containsKey(key)) {
       throw new java.lang.IllegalArgumentException();
     }
@@ -257,12 +225,9 @@ public java.lang.String getMetadataOrThrow(java.lang.String key) {
   }
 
   public static final int QUERY_RECORD_FIELD_NUMBER = 4;
-
   @SuppressWarnings("serial")
   private volatile java.lang.Object queryRecord_ = "";
   /**
-   *
-   *
    * 
    * The name of the answer record.
    * Format:
@@ -270,7 +235,6 @@ public java.lang.String getMetadataOrThrow(java.lang.String key) {
    * 
* * string query_record = 4; - * * @return The queryRecord. */ @java.lang.Override @@ -279,15 +243,14 @@ public java.lang.String getQueryRecord() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); queryRecord_ = s; return s; } } /** - * - * *
    * The name of the answer record.
    * Format:
@@ -295,15 +258,16 @@ public java.lang.String getQueryRecord() {
    * 
* * string query_record = 4; - * * @return The bytes for queryRecord. */ @java.lang.Override - public com.google.protobuf.ByteString getQueryRecordBytes() { + public com.google.protobuf.ByteString + getQueryRecordBytes() { java.lang.Object ref = queryRecord_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); queryRecord_ = b; return b; } else { @@ -312,7 +276,6 @@ public com.google.protobuf.ByteString getQueryRecordBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -324,15 +287,20 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(suggestion_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, suggestion_); } if (java.lang.Double.doubleToRawLongBits(confidenceScore_) != 0) { output.writeDouble(2, confidenceScore_); } - com.google.protobuf.GeneratedMessageV3.serializeStringMapTo( - output, internalGetMetadata(), MetadataDefaultEntryHolder.defaultEntry, 3); + com.google.protobuf.GeneratedMessageV3 + .serializeStringMapTo( + output, + internalGetMetadata(), + MetadataDefaultEntryHolder.defaultEntry, + 3); if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(queryRecord_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 4, queryRecord_); } @@ -349,17 +317,18 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, suggestion_); } if (java.lang.Double.doubleToRawLongBits(confidenceScore_) != 0) { - size += com.google.protobuf.CodedOutputStream.computeDoubleSize(2, confidenceScore_); - } - for (java.util.Map.Entry entry : - internalGetMetadata().getMap().entrySet()) { - com.google.protobuf.MapEntry metadata__ = - MetadataDefaultEntryHolder.defaultEntry - .newBuilderForType() - .setKey(entry.getKey()) - .setValue(entry.getValue()) - .build(); - size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, metadata__); + size += com.google.protobuf.CodedOutputStream + .computeDoubleSize(2, confidenceScore_); + } + for (java.util.Map.Entry entry + : internalGetMetadata().getMap().entrySet()) { + com.google.protobuf.MapEntry + metadata__ = MetadataDefaultEntryHolder.defaultEntry.newBuilderForType() + .setKey(entry.getKey()) + .setValue(entry.getValue()) + .build(); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(3, metadata__); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(queryRecord_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, queryRecord_); @@ -372,19 +341,22 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.contactcenterinsights.v1.SmartComposeSuggestionData)) { return super.equals(obj); } - com.google.cloud.contactcenterinsights.v1.SmartComposeSuggestionData other = - (com.google.cloud.contactcenterinsights.v1.SmartComposeSuggestionData) obj; + com.google.cloud.contactcenterinsights.v1.SmartComposeSuggestionData other = (com.google.cloud.contactcenterinsights.v1.SmartComposeSuggestionData) obj; - if (!getSuggestion().equals(other.getSuggestion())) return false; + if (!getSuggestion() + .equals(other.getSuggestion())) return false; if (java.lang.Double.doubleToLongBits(getConfidenceScore()) - != java.lang.Double.doubleToLongBits(other.getConfidenceScore())) return false; - if (!internalGetMetadata().equals(other.internalGetMetadata())) return false; - if (!getQueryRecord().equals(other.getQueryRecord())) return false; + != java.lang.Double.doubleToLongBits( + other.getConfidenceScore())) return false; + if (!internalGetMetadata().equals( + other.internalGetMetadata())) return false; + if (!getQueryRecord() + .equals(other.getQueryRecord())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -399,10 +371,8 @@ public int hashCode() { hash = (37 * hash) + SUGGESTION_FIELD_NUMBER; hash = (53 * hash) + getSuggestion().hashCode(); hash = (37 * hash) + CONFIDENCE_SCORE_FIELD_NUMBER; - hash = - (53 * hash) - + com.google.protobuf.Internal.hashLong( - java.lang.Double.doubleToLongBits(getConfidenceScore())); + hash = (53 * hash) + com.google.protobuf.Internal.hashLong( + java.lang.Double.doubleToLongBits(getConfidenceScore())); if (!internalGetMetadata().getMap().isEmpty()) { hash = (37 * hash) + METADATA_FIELD_NUMBER; hash = (53 * hash) + internalGetMetadata().hashCode(); @@ -415,158 +385,151 @@ public int hashCode() { } public static com.google.cloud.contactcenterinsights.v1.SmartComposeSuggestionData parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.contactcenterinsights.v1.SmartComposeSuggestionData parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.contactcenterinsights.v1.SmartComposeSuggestionData parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.contactcenterinsights.v1.SmartComposeSuggestionData parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.contactcenterinsights.v1.SmartComposeSuggestionData parseFrom( - byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.contactcenterinsights.v1.SmartComposeSuggestionData parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.contactcenterinsights.v1.SmartComposeSuggestionData parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.contactcenterinsights.v1.SmartComposeSuggestionData parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.contactcenterinsights.v1.SmartComposeSuggestionData parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.contactcenterinsights.v1.SmartComposeSuggestionData parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.contactcenterinsights.v1.SmartComposeSuggestionData - parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.contactcenterinsights.v1.SmartComposeSuggestionData parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - - public static com.google.cloud.contactcenterinsights.v1.SmartComposeSuggestionData - parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + public static com.google.cloud.contactcenterinsights.v1.SmartComposeSuggestionData parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.contactcenterinsights.v1.SmartComposeSuggestionData parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.contactcenterinsights.v1.SmartComposeSuggestionData parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.contactcenterinsights.v1.SmartComposeSuggestionData prototype) { + public static Builder newBuilder(com.google.cloud.contactcenterinsights.v1.SmartComposeSuggestionData prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Agent Assist Smart Compose suggestion data.
    * 
* * Protobuf type {@code google.cloud.contactcenterinsights.v1.SmartComposeSuggestionData} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.contactcenterinsights.v1.SmartComposeSuggestionData) com.google.cloud.contactcenterinsights.v1.SmartComposeSuggestionDataOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.contactcenterinsights.v1.ResourcesProto - .internal_static_google_cloud_contactcenterinsights_v1_SmartComposeSuggestionData_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.contactcenterinsights.v1.ResourcesProto.internal_static_google_cloud_contactcenterinsights_v1_SmartComposeSuggestionData_descriptor; } @SuppressWarnings({"rawtypes"}) - protected com.google.protobuf.MapField internalGetMapField(int number) { + protected com.google.protobuf.MapField internalGetMapField( + int number) { switch (number) { case 3: return internalGetMetadata(); default: - throw new RuntimeException("Invalid map field number: " + number); + throw new RuntimeException( + "Invalid map field number: " + number); } } - @SuppressWarnings({"rawtypes"}) - protected com.google.protobuf.MapField internalGetMutableMapField(int number) { + protected com.google.protobuf.MapField internalGetMutableMapField( + int number) { switch (number) { case 3: return internalGetMutableMetadata(); default: - throw new RuntimeException("Invalid map field number: " + number); + throw new RuntimeException( + "Invalid map field number: " + number); } } - @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.contactcenterinsights.v1.ResourcesProto - .internal_static_google_cloud_contactcenterinsights_v1_SmartComposeSuggestionData_fieldAccessorTable + return com.google.cloud.contactcenterinsights.v1.ResourcesProto.internal_static_google_cloud_contactcenterinsights_v1_SmartComposeSuggestionData_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.contactcenterinsights.v1.SmartComposeSuggestionData.class, - com.google.cloud.contactcenterinsights.v1.SmartComposeSuggestionData.Builder.class); + com.google.cloud.contactcenterinsights.v1.SmartComposeSuggestionData.class, com.google.cloud.contactcenterinsights.v1.SmartComposeSuggestionData.Builder.class); } - // Construct using - // com.google.cloud.contactcenterinsights.v1.SmartComposeSuggestionData.newBuilder() - private Builder() {} + // Construct using com.google.cloud.contactcenterinsights.v1.SmartComposeSuggestionData.newBuilder() + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -579,16 +542,14 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.contactcenterinsights.v1.ResourcesProto - .internal_static_google_cloud_contactcenterinsights_v1_SmartComposeSuggestionData_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.contactcenterinsights.v1.ResourcesProto.internal_static_google_cloud_contactcenterinsights_v1_SmartComposeSuggestionData_descriptor; } @java.lang.Override - public com.google.cloud.contactcenterinsights.v1.SmartComposeSuggestionData - getDefaultInstanceForType() { - return com.google.cloud.contactcenterinsights.v1.SmartComposeSuggestionData - .getDefaultInstance(); + public com.google.cloud.contactcenterinsights.v1.SmartComposeSuggestionData getDefaultInstanceForType() { + return com.google.cloud.contactcenterinsights.v1.SmartComposeSuggestionData.getDefaultInstance(); } @java.lang.Override @@ -602,17 +563,13 @@ public com.google.cloud.contactcenterinsights.v1.SmartComposeSuggestionData buil @java.lang.Override public com.google.cloud.contactcenterinsights.v1.SmartComposeSuggestionData buildPartial() { - com.google.cloud.contactcenterinsights.v1.SmartComposeSuggestionData result = - new com.google.cloud.contactcenterinsights.v1.SmartComposeSuggestionData(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + com.google.cloud.contactcenterinsights.v1.SmartComposeSuggestionData result = new com.google.cloud.contactcenterinsights.v1.SmartComposeSuggestionData(this); + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } - private void buildPartial0( - com.google.cloud.contactcenterinsights.v1.SmartComposeSuggestionData result) { + private void buildPartial0(com.google.cloud.contactcenterinsights.v1.SmartComposeSuggestionData result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { result.suggestion_ = suggestion_; @@ -633,51 +590,46 @@ private void buildPartial0( public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.contactcenterinsights.v1.SmartComposeSuggestionData) { - return mergeFrom( - (com.google.cloud.contactcenterinsights.v1.SmartComposeSuggestionData) other); + return mergeFrom((com.google.cloud.contactcenterinsights.v1.SmartComposeSuggestionData)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom( - com.google.cloud.contactcenterinsights.v1.SmartComposeSuggestionData other) { - if (other - == com.google.cloud.contactcenterinsights.v1.SmartComposeSuggestionData - .getDefaultInstance()) return this; + public Builder mergeFrom(com.google.cloud.contactcenterinsights.v1.SmartComposeSuggestionData other) { + if (other == com.google.cloud.contactcenterinsights.v1.SmartComposeSuggestionData.getDefaultInstance()) return this; if (!other.getSuggestion().isEmpty()) { suggestion_ = other.suggestion_; bitField0_ |= 0x00000001; @@ -686,7 +638,8 @@ public Builder mergeFrom( if (other.getConfidenceScore() != 0D) { setConfidenceScore(other.getConfidenceScore()); } - internalGetMutableMetadata().mergeFrom(other.internalGetMetadata()); + internalGetMutableMetadata().mergeFrom( + other.internalGetMetadata()); bitField0_ |= 0x00000004; if (!other.getQueryRecord().isEmpty()) { queryRecord_ = other.queryRecord_; @@ -719,43 +672,36 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - suggestion_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 17: - { - confidenceScore_ = input.readDouble(); - bitField0_ |= 0x00000002; - break; - } // case 17 - case 26: - { - com.google.protobuf.MapEntry metadata__ = - input.readMessage( - MetadataDefaultEntryHolder.defaultEntry.getParserForType(), - extensionRegistry); - internalGetMutableMetadata() - .getMutableMap() - .put(metadata__.getKey(), metadata__.getValue()); - bitField0_ |= 0x00000004; - break; - } // case 26 - case 34: - { - queryRecord_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000008; - break; - } // case 34 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + suggestion_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 17: { + confidenceScore_ = input.readDouble(); + bitField0_ |= 0x00000002; + break; + } // case 17 + case 26: { + com.google.protobuf.MapEntry + metadata__ = input.readMessage( + MetadataDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry); + internalGetMutableMetadata().getMutableMap().put( + metadata__.getKey(), metadata__.getValue()); + bitField0_ |= 0x00000004; + break; + } // case 26 + case 34: { + queryRecord_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000008; + break; + } // case 34 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -765,25 +711,22 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private java.lang.Object suggestion_ = ""; /** - * - * *
      * The content of the suggestion.
      * 
* * string suggestion = 1; - * * @return The suggestion. */ public java.lang.String getSuggestion() { java.lang.Object ref = suggestion_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); suggestion_ = s; return s; @@ -792,21 +735,20 @@ public java.lang.String getSuggestion() { } } /** - * - * *
      * The content of the suggestion.
      * 
* * string suggestion = 1; - * * @return The bytes for suggestion. */ - public com.google.protobuf.ByteString getSuggestionBytes() { + public com.google.protobuf.ByteString + getSuggestionBytes() { java.lang.Object ref = suggestion_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); suggestion_ = b; return b; } else { @@ -814,35 +756,28 @@ public com.google.protobuf.ByteString getSuggestionBytes() { } } /** - * - * *
      * The content of the suggestion.
      * 
* * string suggestion = 1; - * * @param value The suggestion to set. * @return This builder for chaining. */ - public Builder setSuggestion(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setSuggestion( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } suggestion_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
      * The content of the suggestion.
      * 
* * string suggestion = 1; - * * @return This builder for chaining. */ public Builder clearSuggestion() { @@ -852,21 +787,17 @@ public Builder clearSuggestion() { return this; } /** - * - * *
      * The content of the suggestion.
      * 
* * string suggestion = 1; - * * @param value The bytes for suggestion to set. * @return This builder for chaining. */ - public Builder setSuggestionBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setSuggestionBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); suggestion_ = value; bitField0_ |= 0x00000001; @@ -874,10 +805,8 @@ public Builder setSuggestionBytes(com.google.protobuf.ByteString value) { return this; } - private double confidenceScore_; + private double confidenceScore_ ; /** - * - * *
      * The system's confidence score that this suggestion is a good match for this
      * conversation, ranging from 0.0 (completely uncertain) to 1.0 (completely
@@ -885,7 +814,6 @@ public Builder setSuggestionBytes(com.google.protobuf.ByteString value) {
      * 
* * double confidence_score = 2; - * * @return The confidenceScore. */ @java.lang.Override @@ -893,8 +821,6 @@ public double getConfidenceScore() { return confidenceScore_; } /** - * - * *
      * The system's confidence score that this suggestion is a good match for this
      * conversation, ranging from 0.0 (completely uncertain) to 1.0 (completely
@@ -902,20 +828,17 @@ public double getConfidenceScore() {
      * 
* * double confidence_score = 2; - * * @param value The confidenceScore to set. * @return This builder for chaining. */ public Builder setConfidenceScore(double value) { - + confidenceScore_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** - * - * *
      * The system's confidence score that this suggestion is a good match for this
      * conversation, ranging from 0.0 (completely uncertain) to 1.0 (completely
@@ -923,7 +846,6 @@ public Builder setConfidenceScore(double value) {
      * 
* * double confidence_score = 2; - * * @return This builder for chaining. */ public Builder clearConfidenceScore() { @@ -933,20 +855,21 @@ public Builder clearConfidenceScore() { return this; } - private com.google.protobuf.MapField metadata_; - - private com.google.protobuf.MapField internalGetMetadata() { + private com.google.protobuf.MapField< + java.lang.String, java.lang.String> metadata_; + private com.google.protobuf.MapField + internalGetMetadata() { if (metadata_ == null) { - return com.google.protobuf.MapField.emptyMapField(MetadataDefaultEntryHolder.defaultEntry); + return com.google.protobuf.MapField.emptyMapField( + MetadataDefaultEntryHolder.defaultEntry); } return metadata_; } - private com.google.protobuf.MapField internalGetMutableMetadata() { if (metadata_ == null) { - metadata_ = - com.google.protobuf.MapField.newMapField(MetadataDefaultEntryHolder.defaultEntry); + metadata_ = com.google.protobuf.MapField.newMapField( + MetadataDefaultEntryHolder.defaultEntry); } if (!metadata_.isMutable()) { metadata_ = metadata_.copy(); @@ -955,13 +878,10 @@ private com.google.protobuf.MapField interna onChanged(); return metadata_; } - public int getMetadataCount() { return internalGetMetadata().getMap().size(); } /** - * - * *
      * Map that contains metadata about the Smart Compose suggestion and the
      * document from which it originates.
@@ -970,21 +890,20 @@ public int getMetadataCount() {
      * map<string, string> metadata = 3;
      */
     @java.lang.Override
-    public boolean containsMetadata(java.lang.String key) {
-      if (key == null) {
-        throw new NullPointerException("map key");
-      }
+    public boolean containsMetadata(
+        java.lang.String key) {
+      if (key == null) { throw new NullPointerException("map key"); }
       return internalGetMetadata().getMap().containsKey(key);
     }
-    /** Use {@link #getMetadataMap()} instead. */
+    /**
+     * Use {@link #getMetadataMap()} instead.
+     */
     @java.lang.Override
     @java.lang.Deprecated
     public java.util.Map getMetadata() {
       return getMetadataMap();
     }
     /**
-     *
-     *
      * 
      * Map that contains metadata about the Smart Compose suggestion and the
      * document from which it originates.
@@ -997,8 +916,6 @@ public java.util.Map getMetadataMap() {
       return internalGetMetadata().getMap();
     }
     /**
-     *
-     *
      * 
      * Map that contains metadata about the Smart Compose suggestion and the
      * document from which it originates.
@@ -1007,19 +924,17 @@ public java.util.Map getMetadataMap() {
      * map<string, string> metadata = 3;
      */
     @java.lang.Override
-    public /* nullable */ java.lang.String getMetadataOrDefault(
+    public /* nullable */
+java.lang.String getMetadataOrDefault(
         java.lang.String key,
         /* nullable */
-        java.lang.String defaultValue) {
-      if (key == null) {
-        throw new NullPointerException("map key");
-      }
-      java.util.Map map = internalGetMetadata().getMap();
+java.lang.String defaultValue) {
+      if (key == null) { throw new NullPointerException("map key"); }
+      java.util.Map map =
+          internalGetMetadata().getMap();
       return map.containsKey(key) ? map.get(key) : defaultValue;
     }
     /**
-     *
-     *
      * 
      * Map that contains metadata about the Smart Compose suggestion and the
      * document from which it originates.
@@ -1028,25 +943,23 @@ public java.util.Map getMetadataMap() {
      * map<string, string> metadata = 3;
      */
     @java.lang.Override
-    public java.lang.String getMetadataOrThrow(java.lang.String key) {
-      if (key == null) {
-        throw new NullPointerException("map key");
-      }
-      java.util.Map map = internalGetMetadata().getMap();
+    public java.lang.String getMetadataOrThrow(
+        java.lang.String key) {
+      if (key == null) { throw new NullPointerException("map key"); }
+      java.util.Map map =
+          internalGetMetadata().getMap();
       if (!map.containsKey(key)) {
         throw new java.lang.IllegalArgumentException();
       }
       return map.get(key);
     }
-
     public Builder clearMetadata() {
       bitField0_ = (bitField0_ & ~0x00000004);
-      internalGetMutableMetadata().getMutableMap().clear();
+      internalGetMutableMetadata().getMutableMap()
+          .clear();
       return this;
     }
     /**
-     *
-     *
      * 
      * Map that contains metadata about the Smart Compose suggestion and the
      * document from which it originates.
@@ -1054,22 +967,23 @@ public Builder clearMetadata() {
      *
      * map<string, string> metadata = 3;
      */
-    public Builder removeMetadata(java.lang.String key) {
-      if (key == null) {
-        throw new NullPointerException("map key");
-      }
-      internalGetMutableMetadata().getMutableMap().remove(key);
+    public Builder removeMetadata(
+        java.lang.String key) {
+      if (key == null) { throw new NullPointerException("map key"); }
+      internalGetMutableMetadata().getMutableMap()
+          .remove(key);
       return this;
     }
-    /** Use alternate mutation accessors instead. */
+    /**
+     * Use alternate mutation accessors instead.
+     */
     @java.lang.Deprecated
-    public java.util.Map getMutableMetadata() {
+    public java.util.Map
+        getMutableMetadata() {
       bitField0_ |= 0x00000004;
       return internalGetMutableMetadata().getMutableMap();
     }
     /**
-     *
-     *
      * 
      * Map that contains metadata about the Smart Compose suggestion and the
      * document from which it originates.
@@ -1077,20 +991,17 @@ public java.util.Map getMutableMetadata() {
      *
      * map<string, string> metadata = 3;
      */
-    public Builder putMetadata(java.lang.String key, java.lang.String value) {
-      if (key == null) {
-        throw new NullPointerException("map key");
-      }
-      if (value == null) {
-        throw new NullPointerException("map value");
-      }
-      internalGetMutableMetadata().getMutableMap().put(key, value);
+    public Builder putMetadata(
+        java.lang.String key,
+        java.lang.String value) {
+      if (key == null) { throw new NullPointerException("map key"); }
+      if (value == null) { throw new NullPointerException("map value"); }
+      internalGetMutableMetadata().getMutableMap()
+          .put(key, value);
       bitField0_ |= 0x00000004;
       return this;
     }
     /**
-     *
-     *
      * 
      * Map that contains metadata about the Smart Compose suggestion and the
      * document from which it originates.
@@ -1098,16 +1009,16 @@ public Builder putMetadata(java.lang.String key, java.lang.String value) {
      *
      * map<string, string> metadata = 3;
      */
-    public Builder putAllMetadata(java.util.Map values) {
-      internalGetMutableMetadata().getMutableMap().putAll(values);
+    public Builder putAllMetadata(
+        java.util.Map values) {
+      internalGetMutableMetadata().getMutableMap()
+          .putAll(values);
       bitField0_ |= 0x00000004;
       return this;
     }
 
     private java.lang.Object queryRecord_ = "";
     /**
-     *
-     *
      * 
      * The name of the answer record.
      * Format:
@@ -1115,13 +1026,13 @@ public Builder putAllMetadata(java.util.Map
      * 
* * string query_record = 4; - * * @return The queryRecord. */ public java.lang.String getQueryRecord() { java.lang.Object ref = queryRecord_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); queryRecord_ = s; return s; @@ -1130,8 +1041,6 @@ public java.lang.String getQueryRecord() { } } /** - * - * *
      * The name of the answer record.
      * Format:
@@ -1139,14 +1048,15 @@ public java.lang.String getQueryRecord() {
      * 
* * string query_record = 4; - * * @return The bytes for queryRecord. */ - public com.google.protobuf.ByteString getQueryRecordBytes() { + public com.google.protobuf.ByteString + getQueryRecordBytes() { java.lang.Object ref = queryRecord_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); queryRecord_ = b; return b; } else { @@ -1154,8 +1064,6 @@ public com.google.protobuf.ByteString getQueryRecordBytes() { } } /** - * - * *
      * The name of the answer record.
      * Format:
@@ -1163,22 +1071,18 @@ public com.google.protobuf.ByteString getQueryRecordBytes() {
      * 
* * string query_record = 4; - * * @param value The queryRecord to set. * @return This builder for chaining. */ - public Builder setQueryRecord(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setQueryRecord( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } queryRecord_ = value; bitField0_ |= 0x00000008; onChanged(); return this; } /** - * - * *
      * The name of the answer record.
      * Format:
@@ -1186,7 +1090,6 @@ public Builder setQueryRecord(java.lang.String value) {
      * 
* * string query_record = 4; - * * @return This builder for chaining. */ public Builder clearQueryRecord() { @@ -1196,8 +1099,6 @@ public Builder clearQueryRecord() { return this; } /** - * - * *
      * The name of the answer record.
      * Format:
@@ -1205,23 +1106,21 @@ public Builder clearQueryRecord() {
      * 
* * string query_record = 4; - * * @param value The bytes for queryRecord to set. * @return This builder for chaining. */ - public Builder setQueryRecordBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setQueryRecordBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); queryRecord_ = value; bitField0_ |= 0x00000008; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1231,43 +1130,41 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.contactcenterinsights.v1.SmartComposeSuggestionData) } // @@protoc_insertion_point(class_scope:google.cloud.contactcenterinsights.v1.SmartComposeSuggestionData) - private static final com.google.cloud.contactcenterinsights.v1.SmartComposeSuggestionData - DEFAULT_INSTANCE; - + private static final com.google.cloud.contactcenterinsights.v1.SmartComposeSuggestionData DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.cloud.contactcenterinsights.v1.SmartComposeSuggestionData(); } - public static com.google.cloud.contactcenterinsights.v1.SmartComposeSuggestionData - getDefaultInstance() { + public static com.google.cloud.contactcenterinsights.v1.SmartComposeSuggestionData getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public SmartComposeSuggestionData parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public SmartComposeSuggestionData parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1279,8 +1176,9 @@ public com.google.protobuf.Parser getParserForType() } @java.lang.Override - public com.google.cloud.contactcenterinsights.v1.SmartComposeSuggestionData - getDefaultInstanceForType() { + public com.google.cloud.contactcenterinsights.v1.SmartComposeSuggestionData getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/SmartComposeSuggestionDataOrBuilder.java b/owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/SmartComposeSuggestionDataOrBuilder.java similarity index 68% rename from java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/SmartComposeSuggestionDataOrBuilder.java rename to owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/SmartComposeSuggestionDataOrBuilder.java index c03b315876c4..41caa275d209 100644 --- a/java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/SmartComposeSuggestionDataOrBuilder.java +++ b/owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/SmartComposeSuggestionDataOrBuilder.java @@ -1,56 +1,33 @@ -/* - * 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. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/contactcenterinsights/v1/resources.proto package com.google.cloud.contactcenterinsights.v1; -public interface SmartComposeSuggestionDataOrBuilder - extends +public interface SmartComposeSuggestionDataOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.contactcenterinsights.v1.SmartComposeSuggestionData) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * The content of the suggestion.
    * 
* * string suggestion = 1; - * * @return The suggestion. */ java.lang.String getSuggestion(); /** - * - * *
    * The content of the suggestion.
    * 
* * string suggestion = 1; - * * @return The bytes for suggestion. */ - com.google.protobuf.ByteString getSuggestionBytes(); + com.google.protobuf.ByteString + getSuggestionBytes(); /** - * - * *
    * The system's confidence score that this suggestion is a good match for this
    * conversation, ranging from 0.0 (completely uncertain) to 1.0 (completely
@@ -58,14 +35,11 @@ public interface SmartComposeSuggestionDataOrBuilder
    * 
* * double confidence_score = 2; - * * @return The confidenceScore. */ double getConfidenceScore(); /** - * - * *
    * Map that contains metadata about the Smart Compose suggestion and the
    * document from which it originates.
@@ -75,8 +49,6 @@ public interface SmartComposeSuggestionDataOrBuilder
    */
   int getMetadataCount();
   /**
-   *
-   *
    * 
    * Map that contains metadata about the Smart Compose suggestion and the
    * document from which it originates.
@@ -84,13 +56,15 @@ public interface SmartComposeSuggestionDataOrBuilder
    *
    * map<string, string> metadata = 3;
    */
-  boolean containsMetadata(java.lang.String key);
-  /** Use {@link #getMetadataMap()} instead. */
+  boolean containsMetadata(
+      java.lang.String key);
+  /**
+   * Use {@link #getMetadataMap()} instead.
+   */
   @java.lang.Deprecated
-  java.util.Map getMetadata();
+  java.util.Map
+  getMetadata();
   /**
-   *
-   *
    * 
    * Map that contains metadata about the Smart Compose suggestion and the
    * document from which it originates.
@@ -98,10 +72,9 @@ public interface SmartComposeSuggestionDataOrBuilder
    *
    * map<string, string> metadata = 3;
    */
-  java.util.Map getMetadataMap();
+  java.util.Map
+  getMetadataMap();
   /**
-   *
-   *
    * 
    * Map that contains metadata about the Smart Compose suggestion and the
    * document from which it originates.
@@ -110,13 +83,11 @@ public interface SmartComposeSuggestionDataOrBuilder
    * map<string, string> metadata = 3;
    */
   /* nullable */
-  java.lang.String getMetadataOrDefault(
+java.lang.String getMetadataOrDefault(
       java.lang.String key,
       /* nullable */
-      java.lang.String defaultValue);
+java.lang.String defaultValue);
   /**
-   *
-   *
    * 
    * Map that contains metadata about the Smart Compose suggestion and the
    * document from which it originates.
@@ -124,11 +95,10 @@ java.lang.String getMetadataOrDefault(
    *
    * map<string, string> metadata = 3;
    */
-  java.lang.String getMetadataOrThrow(java.lang.String key);
+  java.lang.String getMetadataOrThrow(
+      java.lang.String key);
 
   /**
-   *
-   *
    * 
    * The name of the answer record.
    * Format:
@@ -136,13 +106,10 @@ java.lang.String getMetadataOrDefault(
    * 
* * string query_record = 4; - * * @return The queryRecord. */ java.lang.String getQueryRecord(); /** - * - * *
    * The name of the answer record.
    * Format:
@@ -150,8 +117,8 @@ java.lang.String getMetadataOrDefault(
    * 
* * string query_record = 4; - * * @return The bytes for queryRecord. */ - com.google.protobuf.ByteString getQueryRecordBytes(); + com.google.protobuf.ByteString + getQueryRecordBytes(); } diff --git a/java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/SmartReplyData.java b/owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/SmartReplyData.java similarity index 65% rename from java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/SmartReplyData.java rename to owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/SmartReplyData.java index 8f3dc2b40662..61118b1557f7 100644 --- a/java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/SmartReplyData.java +++ b/owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/SmartReplyData.java @@ -1,42 +1,24 @@ -/* - * 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. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/contactcenterinsights/v1/resources.proto package com.google.cloud.contactcenterinsights.v1; /** - * - * *
  * Agent Assist Smart Reply data.
  * 
* * Protobuf type {@code google.cloud.contactcenterinsights.v1.SmartReplyData} */ -public final class SmartReplyData extends com.google.protobuf.GeneratedMessageV3 - implements +public final class SmartReplyData extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.contactcenterinsights.v1.SmartReplyData) SmartReplyDataOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use SmartReplyData.newBuilder() to construct. private SmartReplyData(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private SmartReplyData() { reply_ = ""; queryRecord_ = ""; @@ -44,54 +26,50 @@ private SmartReplyData() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new SmartReplyData(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.contactcenterinsights.v1.ResourcesProto - .internal_static_google_cloud_contactcenterinsights_v1_SmartReplyData_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.contactcenterinsights.v1.ResourcesProto.internal_static_google_cloud_contactcenterinsights_v1_SmartReplyData_descriptor; } @SuppressWarnings({"rawtypes"}) @java.lang.Override - protected com.google.protobuf.MapField internalGetMapField(int number) { + protected com.google.protobuf.MapField internalGetMapField( + int number) { switch (number) { case 3: return internalGetMetadata(); default: - throw new RuntimeException("Invalid map field number: " + number); + throw new RuntimeException( + "Invalid map field number: " + number); } } - @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.contactcenterinsights.v1.ResourcesProto - .internal_static_google_cloud_contactcenterinsights_v1_SmartReplyData_fieldAccessorTable + return com.google.cloud.contactcenterinsights.v1.ResourcesProto.internal_static_google_cloud_contactcenterinsights_v1_SmartReplyData_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.contactcenterinsights.v1.SmartReplyData.class, - com.google.cloud.contactcenterinsights.v1.SmartReplyData.Builder.class); + com.google.cloud.contactcenterinsights.v1.SmartReplyData.class, com.google.cloud.contactcenterinsights.v1.SmartReplyData.Builder.class); } public static final int REPLY_FIELD_NUMBER = 1; - @SuppressWarnings("serial") private volatile java.lang.Object reply_ = ""; /** - * - * *
    * The content of the reply.
    * 
* * string reply = 1; - * * @return The reply. */ @java.lang.Override @@ -100,29 +78,29 @@ public java.lang.String getReply() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); reply_ = s; return s; } } /** - * - * *
    * The content of the reply.
    * 
* * string reply = 1; - * * @return The bytes for reply. */ @java.lang.Override - public com.google.protobuf.ByteString getReplyBytes() { + public com.google.protobuf.ByteString + getReplyBytes() { java.lang.Object ref = reply_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); reply_ = b; return b; } else { @@ -133,8 +111,6 @@ public com.google.protobuf.ByteString getReplyBytes() { public static final int CONFIDENCE_SCORE_FIELD_NUMBER = 2; private double confidenceScore_ = 0D; /** - * - * *
    * The system's confidence score that this reply is a good match for this
    * conversation, ranging from 0.0 (completely uncertain) to 1.0 (completely
@@ -142,7 +118,6 @@ public com.google.protobuf.ByteString getReplyBytes() {
    * 
* * double confidence_score = 2; - * * @return The confidenceScore. */ @java.lang.Override @@ -151,34 +126,32 @@ public double getConfidenceScore() { } public static final int METADATA_FIELD_NUMBER = 3; - private static final class MetadataDefaultEntryHolder { - static final com.google.protobuf.MapEntry defaultEntry = - com.google.protobuf.MapEntry.newDefaultInstance( - com.google.cloud.contactcenterinsights.v1.ResourcesProto - .internal_static_google_cloud_contactcenterinsights_v1_SmartReplyData_MetadataEntry_descriptor, - com.google.protobuf.WireFormat.FieldType.STRING, - "", - com.google.protobuf.WireFormat.FieldType.STRING, - ""); + static final com.google.protobuf.MapEntry< + java.lang.String, java.lang.String> defaultEntry = + com.google.protobuf.MapEntry + .newDefaultInstance( + com.google.cloud.contactcenterinsights.v1.ResourcesProto.internal_static_google_cloud_contactcenterinsights_v1_SmartReplyData_MetadataEntry_descriptor, + com.google.protobuf.WireFormat.FieldType.STRING, + "", + com.google.protobuf.WireFormat.FieldType.STRING, + ""); } - @SuppressWarnings("serial") - private com.google.protobuf.MapField metadata_; - - private com.google.protobuf.MapField internalGetMetadata() { + private com.google.protobuf.MapField< + java.lang.String, java.lang.String> metadata_; + private com.google.protobuf.MapField + internalGetMetadata() { if (metadata_ == null) { - return com.google.protobuf.MapField.emptyMapField(MetadataDefaultEntryHolder.defaultEntry); + return com.google.protobuf.MapField.emptyMapField( + MetadataDefaultEntryHolder.defaultEntry); } return metadata_; } - public int getMetadataCount() { return internalGetMetadata().getMap().size(); } /** - * - * *
    * Map that contains metadata about the Smart Reply and the document from
    * which it originates.
@@ -187,21 +160,20 @@ public int getMetadataCount() {
    * map<string, string> metadata = 3;
    */
   @java.lang.Override
-  public boolean containsMetadata(java.lang.String key) {
-    if (key == null) {
-      throw new NullPointerException("map key");
-    }
+  public boolean containsMetadata(
+      java.lang.String key) {
+    if (key == null) { throw new NullPointerException("map key"); }
     return internalGetMetadata().getMap().containsKey(key);
   }
-  /** Use {@link #getMetadataMap()} instead. */
+  /**
+   * Use {@link #getMetadataMap()} instead.
+   */
   @java.lang.Override
   @java.lang.Deprecated
   public java.util.Map getMetadata() {
     return getMetadataMap();
   }
   /**
-   *
-   *
    * 
    * Map that contains metadata about the Smart Reply and the document from
    * which it originates.
@@ -214,8 +186,6 @@ public java.util.Map getMetadataMap() {
     return internalGetMetadata().getMap();
   }
   /**
-   *
-   *
    * 
    * Map that contains metadata about the Smart Reply and the document from
    * which it originates.
@@ -224,19 +194,17 @@ public java.util.Map getMetadataMap() {
    * map<string, string> metadata = 3;
    */
   @java.lang.Override
-  public /* nullable */ java.lang.String getMetadataOrDefault(
+  public /* nullable */
+java.lang.String getMetadataOrDefault(
       java.lang.String key,
       /* nullable */
-      java.lang.String defaultValue) {
-    if (key == null) {
-      throw new NullPointerException("map key");
-    }
-    java.util.Map map = internalGetMetadata().getMap();
+java.lang.String defaultValue) {
+    if (key == null) { throw new NullPointerException("map key"); }
+    java.util.Map map =
+        internalGetMetadata().getMap();
     return map.containsKey(key) ? map.get(key) : defaultValue;
   }
   /**
-   *
-   *
    * 
    * Map that contains metadata about the Smart Reply and the document from
    * which it originates.
@@ -245,11 +213,11 @@ public java.util.Map getMetadataMap() {
    * map<string, string> metadata = 3;
    */
   @java.lang.Override
-  public java.lang.String getMetadataOrThrow(java.lang.String key) {
-    if (key == null) {
-      throw new NullPointerException("map key");
-    }
-    java.util.Map map = internalGetMetadata().getMap();
+  public java.lang.String getMetadataOrThrow(
+      java.lang.String key) {
+    if (key == null) { throw new NullPointerException("map key"); }
+    java.util.Map map =
+        internalGetMetadata().getMap();
     if (!map.containsKey(key)) {
       throw new java.lang.IllegalArgumentException();
     }
@@ -257,12 +225,9 @@ public java.lang.String getMetadataOrThrow(java.lang.String key) {
   }
 
   public static final int QUERY_RECORD_FIELD_NUMBER = 4;
-
   @SuppressWarnings("serial")
   private volatile java.lang.Object queryRecord_ = "";
   /**
-   *
-   *
    * 
    * The name of the answer record.
    * Format:
@@ -270,7 +235,6 @@ public java.lang.String getMetadataOrThrow(java.lang.String key) {
    * 
* * string query_record = 4; - * * @return The queryRecord. */ @java.lang.Override @@ -279,15 +243,14 @@ public java.lang.String getQueryRecord() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); queryRecord_ = s; return s; } } /** - * - * *
    * The name of the answer record.
    * Format:
@@ -295,15 +258,16 @@ public java.lang.String getQueryRecord() {
    * 
* * string query_record = 4; - * * @return The bytes for queryRecord. */ @java.lang.Override - public com.google.protobuf.ByteString getQueryRecordBytes() { + public com.google.protobuf.ByteString + getQueryRecordBytes() { java.lang.Object ref = queryRecord_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); queryRecord_ = b; return b; } else { @@ -312,7 +276,6 @@ public com.google.protobuf.ByteString getQueryRecordBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -324,15 +287,20 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(reply_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, reply_); } if (java.lang.Double.doubleToRawLongBits(confidenceScore_) != 0) { output.writeDouble(2, confidenceScore_); } - com.google.protobuf.GeneratedMessageV3.serializeStringMapTo( - output, internalGetMetadata(), MetadataDefaultEntryHolder.defaultEntry, 3); + com.google.protobuf.GeneratedMessageV3 + .serializeStringMapTo( + output, + internalGetMetadata(), + MetadataDefaultEntryHolder.defaultEntry, + 3); if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(queryRecord_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 4, queryRecord_); } @@ -349,17 +317,18 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, reply_); } if (java.lang.Double.doubleToRawLongBits(confidenceScore_) != 0) { - size += com.google.protobuf.CodedOutputStream.computeDoubleSize(2, confidenceScore_); - } - for (java.util.Map.Entry entry : - internalGetMetadata().getMap().entrySet()) { - com.google.protobuf.MapEntry metadata__ = - MetadataDefaultEntryHolder.defaultEntry - .newBuilderForType() - .setKey(entry.getKey()) - .setValue(entry.getValue()) - .build(); - size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, metadata__); + size += com.google.protobuf.CodedOutputStream + .computeDoubleSize(2, confidenceScore_); + } + for (java.util.Map.Entry entry + : internalGetMetadata().getMap().entrySet()) { + com.google.protobuf.MapEntry + metadata__ = MetadataDefaultEntryHolder.defaultEntry.newBuilderForType() + .setKey(entry.getKey()) + .setValue(entry.getValue()) + .build(); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(3, metadata__); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(queryRecord_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, queryRecord_); @@ -372,19 +341,22 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.contactcenterinsights.v1.SmartReplyData)) { return super.equals(obj); } - com.google.cloud.contactcenterinsights.v1.SmartReplyData other = - (com.google.cloud.contactcenterinsights.v1.SmartReplyData) obj; + com.google.cloud.contactcenterinsights.v1.SmartReplyData other = (com.google.cloud.contactcenterinsights.v1.SmartReplyData) obj; - if (!getReply().equals(other.getReply())) return false; + if (!getReply() + .equals(other.getReply())) return false; if (java.lang.Double.doubleToLongBits(getConfidenceScore()) - != java.lang.Double.doubleToLongBits(other.getConfidenceScore())) return false; - if (!internalGetMetadata().equals(other.internalGetMetadata())) return false; - if (!getQueryRecord().equals(other.getQueryRecord())) return false; + != java.lang.Double.doubleToLongBits( + other.getConfidenceScore())) return false; + if (!internalGetMetadata().equals( + other.internalGetMetadata())) return false; + if (!getQueryRecord() + .equals(other.getQueryRecord())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -399,10 +371,8 @@ public int hashCode() { hash = (37 * hash) + REPLY_FIELD_NUMBER; hash = (53 * hash) + getReply().hashCode(); hash = (37 * hash) + CONFIDENCE_SCORE_FIELD_NUMBER; - hash = - (53 * hash) - + com.google.protobuf.Internal.hashLong( - java.lang.Double.doubleToLongBits(getConfidenceScore())); + hash = (53 * hash) + com.google.protobuf.Internal.hashLong( + java.lang.Double.doubleToLongBits(getConfidenceScore())); if (!internalGetMetadata().getMap().isEmpty()) { hash = (37 * hash) + METADATA_FIELD_NUMBER; hash = (53 * hash) + internalGetMetadata().hashCode(); @@ -415,156 +385,151 @@ public int hashCode() { } public static com.google.cloud.contactcenterinsights.v1.SmartReplyData parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.contactcenterinsights.v1.SmartReplyData parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.contactcenterinsights.v1.SmartReplyData parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.contactcenterinsights.v1.SmartReplyData parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.contactcenterinsights.v1.SmartReplyData parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.contactcenterinsights.v1.SmartReplyData parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.contactcenterinsights.v1.SmartReplyData parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.contactcenterinsights.v1.SmartReplyData parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.contactcenterinsights.v1.SmartReplyData parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.contactcenterinsights.v1.SmartReplyData parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.contactcenterinsights.v1.SmartReplyData parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.contactcenterinsights.v1.SmartReplyData parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.contactcenterinsights.v1.SmartReplyData parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.contactcenterinsights.v1.SmartReplyData parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.contactcenterinsights.v1.SmartReplyData prototype) { + public static Builder newBuilder(com.google.cloud.contactcenterinsights.v1.SmartReplyData prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Agent Assist Smart Reply data.
    * 
* * Protobuf type {@code google.cloud.contactcenterinsights.v1.SmartReplyData} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.contactcenterinsights.v1.SmartReplyData) com.google.cloud.contactcenterinsights.v1.SmartReplyDataOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.contactcenterinsights.v1.ResourcesProto - .internal_static_google_cloud_contactcenterinsights_v1_SmartReplyData_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.contactcenterinsights.v1.ResourcesProto.internal_static_google_cloud_contactcenterinsights_v1_SmartReplyData_descriptor; } @SuppressWarnings({"rawtypes"}) - protected com.google.protobuf.MapField internalGetMapField(int number) { + protected com.google.protobuf.MapField internalGetMapField( + int number) { switch (number) { case 3: return internalGetMetadata(); default: - throw new RuntimeException("Invalid map field number: " + number); + throw new RuntimeException( + "Invalid map field number: " + number); } } - @SuppressWarnings({"rawtypes"}) - protected com.google.protobuf.MapField internalGetMutableMapField(int number) { + protected com.google.protobuf.MapField internalGetMutableMapField( + int number) { switch (number) { case 3: return internalGetMutableMetadata(); default: - throw new RuntimeException("Invalid map field number: " + number); + throw new RuntimeException( + "Invalid map field number: " + number); } } - @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.contactcenterinsights.v1.ResourcesProto - .internal_static_google_cloud_contactcenterinsights_v1_SmartReplyData_fieldAccessorTable + return com.google.cloud.contactcenterinsights.v1.ResourcesProto.internal_static_google_cloud_contactcenterinsights_v1_SmartReplyData_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.contactcenterinsights.v1.SmartReplyData.class, - com.google.cloud.contactcenterinsights.v1.SmartReplyData.Builder.class); + com.google.cloud.contactcenterinsights.v1.SmartReplyData.class, com.google.cloud.contactcenterinsights.v1.SmartReplyData.Builder.class); } // Construct using com.google.cloud.contactcenterinsights.v1.SmartReplyData.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -577,9 +542,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.contactcenterinsights.v1.ResourcesProto - .internal_static_google_cloud_contactcenterinsights_v1_SmartReplyData_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.contactcenterinsights.v1.ResourcesProto.internal_static_google_cloud_contactcenterinsights_v1_SmartReplyData_descriptor; } @java.lang.Override @@ -598,11 +563,8 @@ public com.google.cloud.contactcenterinsights.v1.SmartReplyData build() { @java.lang.Override public com.google.cloud.contactcenterinsights.v1.SmartReplyData buildPartial() { - com.google.cloud.contactcenterinsights.v1.SmartReplyData result = - new com.google.cloud.contactcenterinsights.v1.SmartReplyData(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + com.google.cloud.contactcenterinsights.v1.SmartReplyData result = new com.google.cloud.contactcenterinsights.v1.SmartReplyData(this); + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } @@ -628,39 +590,38 @@ private void buildPartial0(com.google.cloud.contactcenterinsights.v1.SmartReplyD public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.contactcenterinsights.v1.SmartReplyData) { - return mergeFrom((com.google.cloud.contactcenterinsights.v1.SmartReplyData) other); + return mergeFrom((com.google.cloud.contactcenterinsights.v1.SmartReplyData)other); } else { super.mergeFrom(other); return this; @@ -668,8 +629,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.contactcenterinsights.v1.SmartReplyData other) { - if (other == com.google.cloud.contactcenterinsights.v1.SmartReplyData.getDefaultInstance()) - return this; + if (other == com.google.cloud.contactcenterinsights.v1.SmartReplyData.getDefaultInstance()) return this; if (!other.getReply().isEmpty()) { reply_ = other.reply_; bitField0_ |= 0x00000001; @@ -678,7 +638,8 @@ public Builder mergeFrom(com.google.cloud.contactcenterinsights.v1.SmartReplyDat if (other.getConfidenceScore() != 0D) { setConfidenceScore(other.getConfidenceScore()); } - internalGetMutableMetadata().mergeFrom(other.internalGetMetadata()); + internalGetMutableMetadata().mergeFrom( + other.internalGetMetadata()); bitField0_ |= 0x00000004; if (!other.getQueryRecord().isEmpty()) { queryRecord_ = other.queryRecord_; @@ -711,43 +672,36 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - reply_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 17: - { - confidenceScore_ = input.readDouble(); - bitField0_ |= 0x00000002; - break; - } // case 17 - case 26: - { - com.google.protobuf.MapEntry metadata__ = - input.readMessage( - MetadataDefaultEntryHolder.defaultEntry.getParserForType(), - extensionRegistry); - internalGetMutableMetadata() - .getMutableMap() - .put(metadata__.getKey(), metadata__.getValue()); - bitField0_ |= 0x00000004; - break; - } // case 26 - case 34: - { - queryRecord_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000008; - break; - } // case 34 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + reply_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 17: { + confidenceScore_ = input.readDouble(); + bitField0_ |= 0x00000002; + break; + } // case 17 + case 26: { + com.google.protobuf.MapEntry + metadata__ = input.readMessage( + MetadataDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry); + internalGetMutableMetadata().getMutableMap().put( + metadata__.getKey(), metadata__.getValue()); + bitField0_ |= 0x00000004; + break; + } // case 26 + case 34: { + queryRecord_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000008; + break; + } // case 34 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -757,25 +711,22 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private java.lang.Object reply_ = ""; /** - * - * *
      * The content of the reply.
      * 
* * string reply = 1; - * * @return The reply. */ public java.lang.String getReply() { java.lang.Object ref = reply_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); reply_ = s; return s; @@ -784,21 +735,20 @@ public java.lang.String getReply() { } } /** - * - * *
      * The content of the reply.
      * 
* * string reply = 1; - * * @return The bytes for reply. */ - public com.google.protobuf.ByteString getReplyBytes() { + public com.google.protobuf.ByteString + getReplyBytes() { java.lang.Object ref = reply_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); reply_ = b; return b; } else { @@ -806,35 +756,28 @@ public com.google.protobuf.ByteString getReplyBytes() { } } /** - * - * *
      * The content of the reply.
      * 
* * string reply = 1; - * * @param value The reply to set. * @return This builder for chaining. */ - public Builder setReply(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setReply( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } reply_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
      * The content of the reply.
      * 
* * string reply = 1; - * * @return This builder for chaining. */ public Builder clearReply() { @@ -844,21 +787,17 @@ public Builder clearReply() { return this; } /** - * - * *
      * The content of the reply.
      * 
* * string reply = 1; - * * @param value The bytes for reply to set. * @return This builder for chaining. */ - public Builder setReplyBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setReplyBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); reply_ = value; bitField0_ |= 0x00000001; @@ -866,10 +805,8 @@ public Builder setReplyBytes(com.google.protobuf.ByteString value) { return this; } - private double confidenceScore_; + private double confidenceScore_ ; /** - * - * *
      * The system's confidence score that this reply is a good match for this
      * conversation, ranging from 0.0 (completely uncertain) to 1.0 (completely
@@ -877,7 +814,6 @@ public Builder setReplyBytes(com.google.protobuf.ByteString value) {
      * 
* * double confidence_score = 2; - * * @return The confidenceScore. */ @java.lang.Override @@ -885,8 +821,6 @@ public double getConfidenceScore() { return confidenceScore_; } /** - * - * *
      * The system's confidence score that this reply is a good match for this
      * conversation, ranging from 0.0 (completely uncertain) to 1.0 (completely
@@ -894,20 +828,17 @@ public double getConfidenceScore() {
      * 
* * double confidence_score = 2; - * * @param value The confidenceScore to set. * @return This builder for chaining. */ public Builder setConfidenceScore(double value) { - + confidenceScore_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** - * - * *
      * The system's confidence score that this reply is a good match for this
      * conversation, ranging from 0.0 (completely uncertain) to 1.0 (completely
@@ -915,7 +846,6 @@ public Builder setConfidenceScore(double value) {
      * 
* * double confidence_score = 2; - * * @return This builder for chaining. */ public Builder clearConfidenceScore() { @@ -925,20 +855,21 @@ public Builder clearConfidenceScore() { return this; } - private com.google.protobuf.MapField metadata_; - - private com.google.protobuf.MapField internalGetMetadata() { + private com.google.protobuf.MapField< + java.lang.String, java.lang.String> metadata_; + private com.google.protobuf.MapField + internalGetMetadata() { if (metadata_ == null) { - return com.google.protobuf.MapField.emptyMapField(MetadataDefaultEntryHolder.defaultEntry); + return com.google.protobuf.MapField.emptyMapField( + MetadataDefaultEntryHolder.defaultEntry); } return metadata_; } - private com.google.protobuf.MapField internalGetMutableMetadata() { if (metadata_ == null) { - metadata_ = - com.google.protobuf.MapField.newMapField(MetadataDefaultEntryHolder.defaultEntry); + metadata_ = com.google.protobuf.MapField.newMapField( + MetadataDefaultEntryHolder.defaultEntry); } if (!metadata_.isMutable()) { metadata_ = metadata_.copy(); @@ -947,13 +878,10 @@ private com.google.protobuf.MapField interna onChanged(); return metadata_; } - public int getMetadataCount() { return internalGetMetadata().getMap().size(); } /** - * - * *
      * Map that contains metadata about the Smart Reply and the document from
      * which it originates.
@@ -962,21 +890,20 @@ public int getMetadataCount() {
      * map<string, string> metadata = 3;
      */
     @java.lang.Override
-    public boolean containsMetadata(java.lang.String key) {
-      if (key == null) {
-        throw new NullPointerException("map key");
-      }
+    public boolean containsMetadata(
+        java.lang.String key) {
+      if (key == null) { throw new NullPointerException("map key"); }
       return internalGetMetadata().getMap().containsKey(key);
     }
-    /** Use {@link #getMetadataMap()} instead. */
+    /**
+     * Use {@link #getMetadataMap()} instead.
+     */
     @java.lang.Override
     @java.lang.Deprecated
     public java.util.Map getMetadata() {
       return getMetadataMap();
     }
     /**
-     *
-     *
      * 
      * Map that contains metadata about the Smart Reply and the document from
      * which it originates.
@@ -989,8 +916,6 @@ public java.util.Map getMetadataMap() {
       return internalGetMetadata().getMap();
     }
     /**
-     *
-     *
      * 
      * Map that contains metadata about the Smart Reply and the document from
      * which it originates.
@@ -999,19 +924,17 @@ public java.util.Map getMetadataMap() {
      * map<string, string> metadata = 3;
      */
     @java.lang.Override
-    public /* nullable */ java.lang.String getMetadataOrDefault(
+    public /* nullable */
+java.lang.String getMetadataOrDefault(
         java.lang.String key,
         /* nullable */
-        java.lang.String defaultValue) {
-      if (key == null) {
-        throw new NullPointerException("map key");
-      }
-      java.util.Map map = internalGetMetadata().getMap();
+java.lang.String defaultValue) {
+      if (key == null) { throw new NullPointerException("map key"); }
+      java.util.Map map =
+          internalGetMetadata().getMap();
       return map.containsKey(key) ? map.get(key) : defaultValue;
     }
     /**
-     *
-     *
      * 
      * Map that contains metadata about the Smart Reply and the document from
      * which it originates.
@@ -1020,25 +943,23 @@ public java.util.Map getMetadataMap() {
      * map<string, string> metadata = 3;
      */
     @java.lang.Override
-    public java.lang.String getMetadataOrThrow(java.lang.String key) {
-      if (key == null) {
-        throw new NullPointerException("map key");
-      }
-      java.util.Map map = internalGetMetadata().getMap();
+    public java.lang.String getMetadataOrThrow(
+        java.lang.String key) {
+      if (key == null) { throw new NullPointerException("map key"); }
+      java.util.Map map =
+          internalGetMetadata().getMap();
       if (!map.containsKey(key)) {
         throw new java.lang.IllegalArgumentException();
       }
       return map.get(key);
     }
-
     public Builder clearMetadata() {
       bitField0_ = (bitField0_ & ~0x00000004);
-      internalGetMutableMetadata().getMutableMap().clear();
+      internalGetMutableMetadata().getMutableMap()
+          .clear();
       return this;
     }
     /**
-     *
-     *
      * 
      * Map that contains metadata about the Smart Reply and the document from
      * which it originates.
@@ -1046,22 +967,23 @@ public Builder clearMetadata() {
      *
      * map<string, string> metadata = 3;
      */
-    public Builder removeMetadata(java.lang.String key) {
-      if (key == null) {
-        throw new NullPointerException("map key");
-      }
-      internalGetMutableMetadata().getMutableMap().remove(key);
+    public Builder removeMetadata(
+        java.lang.String key) {
+      if (key == null) { throw new NullPointerException("map key"); }
+      internalGetMutableMetadata().getMutableMap()
+          .remove(key);
       return this;
     }
-    /** Use alternate mutation accessors instead. */
+    /**
+     * Use alternate mutation accessors instead.
+     */
     @java.lang.Deprecated
-    public java.util.Map getMutableMetadata() {
+    public java.util.Map
+        getMutableMetadata() {
       bitField0_ |= 0x00000004;
       return internalGetMutableMetadata().getMutableMap();
     }
     /**
-     *
-     *
      * 
      * Map that contains metadata about the Smart Reply and the document from
      * which it originates.
@@ -1069,20 +991,17 @@ public java.util.Map getMutableMetadata() {
      *
      * map<string, string> metadata = 3;
      */
-    public Builder putMetadata(java.lang.String key, java.lang.String value) {
-      if (key == null) {
-        throw new NullPointerException("map key");
-      }
-      if (value == null) {
-        throw new NullPointerException("map value");
-      }
-      internalGetMutableMetadata().getMutableMap().put(key, value);
+    public Builder putMetadata(
+        java.lang.String key,
+        java.lang.String value) {
+      if (key == null) { throw new NullPointerException("map key"); }
+      if (value == null) { throw new NullPointerException("map value"); }
+      internalGetMutableMetadata().getMutableMap()
+          .put(key, value);
       bitField0_ |= 0x00000004;
       return this;
     }
     /**
-     *
-     *
      * 
      * Map that contains metadata about the Smart Reply and the document from
      * which it originates.
@@ -1090,16 +1009,16 @@ public Builder putMetadata(java.lang.String key, java.lang.String value) {
      *
      * map<string, string> metadata = 3;
      */
-    public Builder putAllMetadata(java.util.Map values) {
-      internalGetMutableMetadata().getMutableMap().putAll(values);
+    public Builder putAllMetadata(
+        java.util.Map values) {
+      internalGetMutableMetadata().getMutableMap()
+          .putAll(values);
       bitField0_ |= 0x00000004;
       return this;
     }
 
     private java.lang.Object queryRecord_ = "";
     /**
-     *
-     *
      * 
      * The name of the answer record.
      * Format:
@@ -1107,13 +1026,13 @@ public Builder putAllMetadata(java.util.Map
      * 
* * string query_record = 4; - * * @return The queryRecord. */ public java.lang.String getQueryRecord() { java.lang.Object ref = queryRecord_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); queryRecord_ = s; return s; @@ -1122,8 +1041,6 @@ public java.lang.String getQueryRecord() { } } /** - * - * *
      * The name of the answer record.
      * Format:
@@ -1131,14 +1048,15 @@ public java.lang.String getQueryRecord() {
      * 
* * string query_record = 4; - * * @return The bytes for queryRecord. */ - public com.google.protobuf.ByteString getQueryRecordBytes() { + public com.google.protobuf.ByteString + getQueryRecordBytes() { java.lang.Object ref = queryRecord_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); queryRecord_ = b; return b; } else { @@ -1146,8 +1064,6 @@ public com.google.protobuf.ByteString getQueryRecordBytes() { } } /** - * - * *
      * The name of the answer record.
      * Format:
@@ -1155,22 +1071,18 @@ public com.google.protobuf.ByteString getQueryRecordBytes() {
      * 
* * string query_record = 4; - * * @param value The queryRecord to set. * @return This builder for chaining. */ - public Builder setQueryRecord(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setQueryRecord( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } queryRecord_ = value; bitField0_ |= 0x00000008; onChanged(); return this; } /** - * - * *
      * The name of the answer record.
      * Format:
@@ -1178,7 +1090,6 @@ public Builder setQueryRecord(java.lang.String value) {
      * 
* * string query_record = 4; - * * @return This builder for chaining. */ public Builder clearQueryRecord() { @@ -1188,8 +1099,6 @@ public Builder clearQueryRecord() { return this; } /** - * - * *
      * The name of the answer record.
      * Format:
@@ -1197,23 +1106,21 @@ public Builder clearQueryRecord() {
      * 
* * string query_record = 4; - * * @param value The bytes for queryRecord to set. * @return This builder for chaining. */ - public Builder setQueryRecordBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setQueryRecordBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); queryRecord_ = value; bitField0_ |= 0x00000008; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1223,12 +1130,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.contactcenterinsights.v1.SmartReplyData) } // @@protoc_insertion_point(class_scope:google.cloud.contactcenterinsights.v1.SmartReplyData) private static final com.google.cloud.contactcenterinsights.v1.SmartReplyData DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.contactcenterinsights.v1.SmartReplyData(); } @@ -1237,27 +1144,27 @@ public static com.google.cloud.contactcenterinsights.v1.SmartReplyData getDefaul return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public SmartReplyData parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public SmartReplyData parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1272,4 +1179,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.contactcenterinsights.v1.SmartReplyData getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/SmartReplyDataOrBuilder.java b/owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/SmartReplyDataOrBuilder.java similarity index 67% rename from java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/SmartReplyDataOrBuilder.java rename to owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/SmartReplyDataOrBuilder.java index 9f3bb387923e..5e348d85a138 100644 --- a/java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/SmartReplyDataOrBuilder.java +++ b/owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/SmartReplyDataOrBuilder.java @@ -1,56 +1,33 @@ -/* - * 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. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/contactcenterinsights/v1/resources.proto package com.google.cloud.contactcenterinsights.v1; -public interface SmartReplyDataOrBuilder - extends +public interface SmartReplyDataOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.contactcenterinsights.v1.SmartReplyData) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * The content of the reply.
    * 
* * string reply = 1; - * * @return The reply. */ java.lang.String getReply(); /** - * - * *
    * The content of the reply.
    * 
* * string reply = 1; - * * @return The bytes for reply. */ - com.google.protobuf.ByteString getReplyBytes(); + com.google.protobuf.ByteString + getReplyBytes(); /** - * - * *
    * The system's confidence score that this reply is a good match for this
    * conversation, ranging from 0.0 (completely uncertain) to 1.0 (completely
@@ -58,14 +35,11 @@ public interface SmartReplyDataOrBuilder
    * 
* * double confidence_score = 2; - * * @return The confidenceScore. */ double getConfidenceScore(); /** - * - * *
    * Map that contains metadata about the Smart Reply and the document from
    * which it originates.
@@ -75,8 +49,6 @@ public interface SmartReplyDataOrBuilder
    */
   int getMetadataCount();
   /**
-   *
-   *
    * 
    * Map that contains metadata about the Smart Reply and the document from
    * which it originates.
@@ -84,13 +56,15 @@ public interface SmartReplyDataOrBuilder
    *
    * map<string, string> metadata = 3;
    */
-  boolean containsMetadata(java.lang.String key);
-  /** Use {@link #getMetadataMap()} instead. */
+  boolean containsMetadata(
+      java.lang.String key);
+  /**
+   * Use {@link #getMetadataMap()} instead.
+   */
   @java.lang.Deprecated
-  java.util.Map getMetadata();
+  java.util.Map
+  getMetadata();
   /**
-   *
-   *
    * 
    * Map that contains metadata about the Smart Reply and the document from
    * which it originates.
@@ -98,10 +72,9 @@ public interface SmartReplyDataOrBuilder
    *
    * map<string, string> metadata = 3;
    */
-  java.util.Map getMetadataMap();
+  java.util.Map
+  getMetadataMap();
   /**
-   *
-   *
    * 
    * Map that contains metadata about the Smart Reply and the document from
    * which it originates.
@@ -110,13 +83,11 @@ public interface SmartReplyDataOrBuilder
    * map<string, string> metadata = 3;
    */
   /* nullable */
-  java.lang.String getMetadataOrDefault(
+java.lang.String getMetadataOrDefault(
       java.lang.String key,
       /* nullable */
-      java.lang.String defaultValue);
+java.lang.String defaultValue);
   /**
-   *
-   *
    * 
    * Map that contains metadata about the Smart Reply and the document from
    * which it originates.
@@ -124,11 +95,10 @@ java.lang.String getMetadataOrDefault(
    *
    * map<string, string> metadata = 3;
    */
-  java.lang.String getMetadataOrThrow(java.lang.String key);
+  java.lang.String getMetadataOrThrow(
+      java.lang.String key);
 
   /**
-   *
-   *
    * 
    * The name of the answer record.
    * Format:
@@ -136,13 +106,10 @@ java.lang.String getMetadataOrDefault(
    * 
* * string query_record = 4; - * * @return The queryRecord. */ java.lang.String getQueryRecord(); /** - * - * *
    * The name of the answer record.
    * Format:
@@ -150,8 +117,8 @@ java.lang.String getMetadataOrDefault(
    * 
* * string query_record = 4; - * * @return The bytes for queryRecord. */ - com.google.protobuf.ByteString getQueryRecordBytes(); + com.google.protobuf.ByteString + getQueryRecordBytes(); } diff --git a/java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/UndeployIssueModelMetadata.java b/owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/UndeployIssueModelMetadata.java similarity index 63% rename from java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/UndeployIssueModelMetadata.java rename to owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/UndeployIssueModelMetadata.java index db9af226f082..7f546eead11d 100644 --- a/java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/UndeployIssueModelMetadata.java +++ b/owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/UndeployIssueModelMetadata.java @@ -1,82 +1,60 @@ -/* - * 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. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/contactcenterinsights/v1/contact_center_insights.proto package com.google.cloud.contactcenterinsights.v1; /** - * - * *
  * Metadata for undeploying an issue model.
  * 
* * Protobuf type {@code google.cloud.contactcenterinsights.v1.UndeployIssueModelMetadata} */ -public final class UndeployIssueModelMetadata extends com.google.protobuf.GeneratedMessageV3 - implements +public final class UndeployIssueModelMetadata extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.contactcenterinsights.v1.UndeployIssueModelMetadata) UndeployIssueModelMetadataOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use UndeployIssueModelMetadata.newBuilder() to construct. private UndeployIssueModelMetadata(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - - private UndeployIssueModelMetadata() {} + private UndeployIssueModelMetadata() { + } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new UndeployIssueModelMetadata(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto - .internal_static_google_cloud_contactcenterinsights_v1_UndeployIssueModelMetadata_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto.internal_static_google_cloud_contactcenterinsights_v1_UndeployIssueModelMetadata_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto - .internal_static_google_cloud_contactcenterinsights_v1_UndeployIssueModelMetadata_fieldAccessorTable + return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto.internal_static_google_cloud_contactcenterinsights_v1_UndeployIssueModelMetadata_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.contactcenterinsights.v1.UndeployIssueModelMetadata.class, - com.google.cloud.contactcenterinsights.v1.UndeployIssueModelMetadata.Builder.class); + com.google.cloud.contactcenterinsights.v1.UndeployIssueModelMetadata.class, com.google.cloud.contactcenterinsights.v1.UndeployIssueModelMetadata.Builder.class); } public static final int CREATE_TIME_FIELD_NUMBER = 1; private com.google.protobuf.Timestamp createTime_; /** - * - * *
    * Output only. The time the operation was created.
    * 
* - * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the createTime field is set. */ @java.lang.Override @@ -84,15 +62,11 @@ public boolean hasCreateTime() { return createTime_ != null; } /** - * - * *
    * Output only. The time the operation was created.
    * 
* - * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The createTime. */ @java.lang.Override @@ -100,14 +74,11 @@ public com.google.protobuf.Timestamp getCreateTime() { return createTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : createTime_; } /** - * - * *
    * Output only. The time the operation was created.
    * 
* - * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ @java.lang.Override public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { @@ -117,15 +88,11 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { public static final int END_TIME_FIELD_NUMBER = 2; private com.google.protobuf.Timestamp endTime_; /** - * - * *
    * Output only. The time the operation finished running.
    * 
* - * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the endTime field is set. */ @java.lang.Override @@ -133,15 +100,11 @@ public boolean hasEndTime() { return endTime_ != null; } /** - * - * *
    * Output only. The time the operation finished running.
    * 
* - * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The endTime. */ @java.lang.Override @@ -149,14 +112,11 @@ public com.google.protobuf.Timestamp getEndTime() { return endTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : endTime_; } /** - * - * *
    * Output only. The time the operation finished running.
    * 
* - * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ @java.lang.Override public com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder() { @@ -166,14 +126,11 @@ public com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder() { public static final int REQUEST_FIELD_NUMBER = 3; private com.google.cloud.contactcenterinsights.v1.UndeployIssueModelRequest request_; /** - * - * *
    * The original request for undeployment.
    * 
* * .google.cloud.contactcenterinsights.v1.UndeployIssueModelRequest request = 3; - * * @return Whether the request field is set. */ @java.lang.Override @@ -181,25 +138,18 @@ public boolean hasRequest() { return request_ != null; } /** - * - * *
    * The original request for undeployment.
    * 
* * .google.cloud.contactcenterinsights.v1.UndeployIssueModelRequest request = 3; - * * @return The request. */ @java.lang.Override public com.google.cloud.contactcenterinsights.v1.UndeployIssueModelRequest getRequest() { - return request_ == null - ? com.google.cloud.contactcenterinsights.v1.UndeployIssueModelRequest.getDefaultInstance() - : request_; + return request_ == null ? com.google.cloud.contactcenterinsights.v1.UndeployIssueModelRequest.getDefaultInstance() : request_; } /** - * - * *
    * The original request for undeployment.
    * 
@@ -207,15 +157,11 @@ public com.google.cloud.contactcenterinsights.v1.UndeployIssueModelRequest getRe * .google.cloud.contactcenterinsights.v1.UndeployIssueModelRequest request = 3; */ @java.lang.Override - public com.google.cloud.contactcenterinsights.v1.UndeployIssueModelRequestOrBuilder - getRequestOrBuilder() { - return request_ == null - ? com.google.cloud.contactcenterinsights.v1.UndeployIssueModelRequest.getDefaultInstance() - : request_; + public com.google.cloud.contactcenterinsights.v1.UndeployIssueModelRequestOrBuilder getRequestOrBuilder() { + return request_ == null ? com.google.cloud.contactcenterinsights.v1.UndeployIssueModelRequest.getDefaultInstance() : request_; } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -227,7 +173,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (createTime_ != null) { output.writeMessage(1, getCreateTime()); } @@ -247,13 +194,16 @@ public int getSerializedSize() { size = 0; if (createTime_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getCreateTime()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, getCreateTime()); } if (endTime_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getEndTime()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, getEndTime()); } if (request_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getRequest()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(3, getRequest()); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -263,25 +213,27 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.contactcenterinsights.v1.UndeployIssueModelMetadata)) { return super.equals(obj); } - com.google.cloud.contactcenterinsights.v1.UndeployIssueModelMetadata other = - (com.google.cloud.contactcenterinsights.v1.UndeployIssueModelMetadata) obj; + com.google.cloud.contactcenterinsights.v1.UndeployIssueModelMetadata other = (com.google.cloud.contactcenterinsights.v1.UndeployIssueModelMetadata) obj; if (hasCreateTime() != other.hasCreateTime()) return false; if (hasCreateTime()) { - if (!getCreateTime().equals(other.getCreateTime())) return false; + if (!getCreateTime() + .equals(other.getCreateTime())) return false; } if (hasEndTime() != other.hasEndTime()) return false; if (hasEndTime()) { - if (!getEndTime().equals(other.getEndTime())) return false; + if (!getEndTime() + .equals(other.getEndTime())) return false; } if (hasRequest() != other.hasRequest()) return false; if (hasRequest()) { - if (!getRequest().equals(other.getRequest())) return false; + if (!getRequest() + .equals(other.getRequest())) return false; } if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -312,138 +264,129 @@ public int hashCode() { } public static com.google.cloud.contactcenterinsights.v1.UndeployIssueModelMetadata parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.contactcenterinsights.v1.UndeployIssueModelMetadata parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.contactcenterinsights.v1.UndeployIssueModelMetadata parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.contactcenterinsights.v1.UndeployIssueModelMetadata parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.contactcenterinsights.v1.UndeployIssueModelMetadata parseFrom( - byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.contactcenterinsights.v1.UndeployIssueModelMetadata parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.contactcenterinsights.v1.UndeployIssueModelMetadata parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.contactcenterinsights.v1.UndeployIssueModelMetadata parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.contactcenterinsights.v1.UndeployIssueModelMetadata parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.contactcenterinsights.v1.UndeployIssueModelMetadata parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.contactcenterinsights.v1.UndeployIssueModelMetadata - parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.contactcenterinsights.v1.UndeployIssueModelMetadata parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - - public static com.google.cloud.contactcenterinsights.v1.UndeployIssueModelMetadata - parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + public static com.google.cloud.contactcenterinsights.v1.UndeployIssueModelMetadata parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.contactcenterinsights.v1.UndeployIssueModelMetadata parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.contactcenterinsights.v1.UndeployIssueModelMetadata parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.contactcenterinsights.v1.UndeployIssueModelMetadata prototype) { + public static Builder newBuilder(com.google.cloud.contactcenterinsights.v1.UndeployIssueModelMetadata prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Metadata for undeploying an issue model.
    * 
* * Protobuf type {@code google.cloud.contactcenterinsights.v1.UndeployIssueModelMetadata} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.contactcenterinsights.v1.UndeployIssueModelMetadata) com.google.cloud.contactcenterinsights.v1.UndeployIssueModelMetadataOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto - .internal_static_google_cloud_contactcenterinsights_v1_UndeployIssueModelMetadata_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto.internal_static_google_cloud_contactcenterinsights_v1_UndeployIssueModelMetadata_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto - .internal_static_google_cloud_contactcenterinsights_v1_UndeployIssueModelMetadata_fieldAccessorTable + return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto.internal_static_google_cloud_contactcenterinsights_v1_UndeployIssueModelMetadata_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.contactcenterinsights.v1.UndeployIssueModelMetadata.class, - com.google.cloud.contactcenterinsights.v1.UndeployIssueModelMetadata.Builder.class); + com.google.cloud.contactcenterinsights.v1.UndeployIssueModelMetadata.class, com.google.cloud.contactcenterinsights.v1.UndeployIssueModelMetadata.Builder.class); } - // Construct using - // com.google.cloud.contactcenterinsights.v1.UndeployIssueModelMetadata.newBuilder() - private Builder() {} + // Construct using com.google.cloud.contactcenterinsights.v1.UndeployIssueModelMetadata.newBuilder() + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -467,16 +410,14 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto - .internal_static_google_cloud_contactcenterinsights_v1_UndeployIssueModelMetadata_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto.internal_static_google_cloud_contactcenterinsights_v1_UndeployIssueModelMetadata_descriptor; } @java.lang.Override - public com.google.cloud.contactcenterinsights.v1.UndeployIssueModelMetadata - getDefaultInstanceForType() { - return com.google.cloud.contactcenterinsights.v1.UndeployIssueModelMetadata - .getDefaultInstance(); + public com.google.cloud.contactcenterinsights.v1.UndeployIssueModelMetadata getDefaultInstanceForType() { + return com.google.cloud.contactcenterinsights.v1.UndeployIssueModelMetadata.getDefaultInstance(); } @java.lang.Override @@ -490,26 +431,28 @@ public com.google.cloud.contactcenterinsights.v1.UndeployIssueModelMetadata buil @java.lang.Override public com.google.cloud.contactcenterinsights.v1.UndeployIssueModelMetadata buildPartial() { - com.google.cloud.contactcenterinsights.v1.UndeployIssueModelMetadata result = - new com.google.cloud.contactcenterinsights.v1.UndeployIssueModelMetadata(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + com.google.cloud.contactcenterinsights.v1.UndeployIssueModelMetadata result = new com.google.cloud.contactcenterinsights.v1.UndeployIssueModelMetadata(this); + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } - private void buildPartial0( - com.google.cloud.contactcenterinsights.v1.UndeployIssueModelMetadata result) { + private void buildPartial0(com.google.cloud.contactcenterinsights.v1.UndeployIssueModelMetadata result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { - result.createTime_ = createTimeBuilder_ == null ? createTime_ : createTimeBuilder_.build(); + result.createTime_ = createTimeBuilder_ == null + ? createTime_ + : createTimeBuilder_.build(); } if (((from_bitField0_ & 0x00000002) != 0)) { - result.endTime_ = endTimeBuilder_ == null ? endTime_ : endTimeBuilder_.build(); + result.endTime_ = endTimeBuilder_ == null + ? endTime_ + : endTimeBuilder_.build(); } if (((from_bitField0_ & 0x00000004) != 0)) { - result.request_ = requestBuilder_ == null ? request_ : requestBuilder_.build(); + result.request_ = requestBuilder_ == null + ? request_ + : requestBuilder_.build(); } } @@ -517,51 +460,46 @@ private void buildPartial0( public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.contactcenterinsights.v1.UndeployIssueModelMetadata) { - return mergeFrom( - (com.google.cloud.contactcenterinsights.v1.UndeployIssueModelMetadata) other); + return mergeFrom((com.google.cloud.contactcenterinsights.v1.UndeployIssueModelMetadata)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom( - com.google.cloud.contactcenterinsights.v1.UndeployIssueModelMetadata other) { - if (other - == com.google.cloud.contactcenterinsights.v1.UndeployIssueModelMetadata - .getDefaultInstance()) return this; + public Builder mergeFrom(com.google.cloud.contactcenterinsights.v1.UndeployIssueModelMetadata other) { + if (other == com.google.cloud.contactcenterinsights.v1.UndeployIssueModelMetadata.getDefaultInstance()) return this; if (other.hasCreateTime()) { mergeCreateTime(other.getCreateTime()); } @@ -597,31 +535,33 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - input.readMessage(getCreateTimeFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: - { - input.readMessage(getEndTimeFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00000002; - break; - } // case 18 - case 26: - { - input.readMessage(getRequestFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00000004; - break; - } // case 26 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + input.readMessage( + getCreateTimeFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: { + input.readMessage( + getEndTimeFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00000002; + break; + } // case 18 + case 26: { + input.readMessage( + getRequestFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00000004; + break; + } // case 26 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -631,63 +571,43 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private com.google.protobuf.Timestamp createTime_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> - createTimeBuilder_; + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> createTimeBuilder_; /** - * - * *
      * Output only. The time the operation was created.
      * 
* - * - * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the createTime field is set. */ public boolean hasCreateTime() { return ((bitField0_ & 0x00000001) != 0); } /** - * - * *
      * Output only. The time the operation was created.
      * 
* - * - * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The createTime. */ public com.google.protobuf.Timestamp getCreateTime() { if (createTimeBuilder_ == null) { - return createTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : createTime_; + return createTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : createTime_; } else { return createTimeBuilder_.getMessage(); } } /** - * - * *
      * Output only. The time the operation was created.
      * 
* - * - * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder setCreateTime(com.google.protobuf.Timestamp value) { if (createTimeBuilder_ == null) { @@ -703,17 +623,14 @@ public Builder setCreateTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * Output only. The time the operation was created.
      * 
* - * - * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - public Builder setCreateTime(com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setCreateTime( + com.google.protobuf.Timestamp.Builder builderForValue) { if (createTimeBuilder_ == null) { createTime_ = builderForValue.build(); } else { @@ -724,21 +641,17 @@ public Builder setCreateTime(com.google.protobuf.Timestamp.Builder builderForVal return this; } /** - * - * *
      * Output only. The time the operation was created.
      * 
* - * - * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder mergeCreateTime(com.google.protobuf.Timestamp value) { if (createTimeBuilder_ == null) { - if (((bitField0_ & 0x00000001) != 0) - && createTime_ != null - && createTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { + if (((bitField0_ & 0x00000001) != 0) && + createTime_ != null && + createTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { getCreateTimeBuilder().mergeFrom(value); } else { createTime_ = value; @@ -751,15 +664,11 @@ public Builder mergeCreateTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * Output only. The time the operation was created.
      * 
* - * - * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder clearCreateTime() { bitField0_ = (bitField0_ & ~0x00000001); @@ -772,15 +681,11 @@ public Builder clearCreateTime() { return this; } /** - * - * *
      * Output only. The time the operation was created.
      * 
* - * - * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public com.google.protobuf.Timestamp.Builder getCreateTimeBuilder() { bitField0_ |= 0x00000001; @@ -788,48 +693,36 @@ public com.google.protobuf.Timestamp.Builder getCreateTimeBuilder() { return getCreateTimeFieldBuilder().getBuilder(); } /** - * - * *
      * Output only. The time the operation was created.
      * 
* - * - * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { if (createTimeBuilder_ != null) { return createTimeBuilder_.getMessageOrBuilder(); } else { - return createTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : createTime_; + return createTime_ == null ? + com.google.protobuf.Timestamp.getDefaultInstance() : createTime_; } } /** - * - * *
      * Output only. The time the operation was created.
      * 
* - * - * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> getCreateTimeFieldBuilder() { if (createTimeBuilder_ == null) { - createTimeBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder>( - getCreateTime(), getParentForChildren(), isClean()); + createTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( + getCreateTime(), + getParentForChildren(), + isClean()); createTime_ = null; } return createTimeBuilder_; @@ -837,35 +730,24 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { private com.google.protobuf.Timestamp endTime_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> - endTimeBuilder_; + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> endTimeBuilder_; /** - * - * *
      * Output only. The time the operation finished running.
      * 
* - * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the endTime field is set. */ public boolean hasEndTime() { return ((bitField0_ & 0x00000002) != 0); } /** - * - * *
      * Output only. The time the operation finished running.
      * 
* - * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The endTime. */ public com.google.protobuf.Timestamp getEndTime() { @@ -876,14 +758,11 @@ public com.google.protobuf.Timestamp getEndTime() { } } /** - * - * *
      * Output only. The time the operation finished running.
      * 
* - * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder setEndTime(com.google.protobuf.Timestamp value) { if (endTimeBuilder_ == null) { @@ -899,16 +778,14 @@ public Builder setEndTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * Output only. The time the operation finished running.
      * 
* - * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - public Builder setEndTime(com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setEndTime( + com.google.protobuf.Timestamp.Builder builderForValue) { if (endTimeBuilder_ == null) { endTime_ = builderForValue.build(); } else { @@ -919,20 +796,17 @@ public Builder setEndTime(com.google.protobuf.Timestamp.Builder builderForValue) return this; } /** - * - * *
      * Output only. The time the operation finished running.
      * 
* - * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder mergeEndTime(com.google.protobuf.Timestamp value) { if (endTimeBuilder_ == null) { - if (((bitField0_ & 0x00000002) != 0) - && endTime_ != null - && endTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { + if (((bitField0_ & 0x00000002) != 0) && + endTime_ != null && + endTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { getEndTimeBuilder().mergeFrom(value); } else { endTime_ = value; @@ -945,14 +819,11 @@ public Builder mergeEndTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * Output only. The time the operation finished running.
      * 
* - * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder clearEndTime() { bitField0_ = (bitField0_ & ~0x00000002); @@ -965,14 +836,11 @@ public Builder clearEndTime() { return this; } /** - * - * *
      * Output only. The time the operation finished running.
      * 
* - * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public com.google.protobuf.Timestamp.Builder getEndTimeBuilder() { bitField0_ |= 0x00000002; @@ -980,44 +848,36 @@ public com.google.protobuf.Timestamp.Builder getEndTimeBuilder() { return getEndTimeFieldBuilder().getBuilder(); } /** - * - * *
      * Output only. The time the operation finished running.
      * 
* - * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder() { if (endTimeBuilder_ != null) { return endTimeBuilder_.getMessageOrBuilder(); } else { - return endTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : endTime_; + return endTime_ == null ? + com.google.protobuf.Timestamp.getDefaultInstance() : endTime_; } } /** - * - * *
      * Output only. The time the operation finished running.
      * 
* - * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> getEndTimeFieldBuilder() { if (endTimeBuilder_ == null) { - endTimeBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder>( - getEndTime(), getParentForChildren(), isClean()); + endTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( + getEndTime(), + getParentForChildren(), + isClean()); endTime_ = null; } return endTimeBuilder_; @@ -1025,56 +885,41 @@ public com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder() { private com.google.cloud.contactcenterinsights.v1.UndeployIssueModelRequest request_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.contactcenterinsights.v1.UndeployIssueModelRequest, - com.google.cloud.contactcenterinsights.v1.UndeployIssueModelRequest.Builder, - com.google.cloud.contactcenterinsights.v1.UndeployIssueModelRequestOrBuilder> - requestBuilder_; + com.google.cloud.contactcenterinsights.v1.UndeployIssueModelRequest, com.google.cloud.contactcenterinsights.v1.UndeployIssueModelRequest.Builder, com.google.cloud.contactcenterinsights.v1.UndeployIssueModelRequestOrBuilder> requestBuilder_; /** - * - * *
      * The original request for undeployment.
      * 
* * .google.cloud.contactcenterinsights.v1.UndeployIssueModelRequest request = 3; - * * @return Whether the request field is set. */ public boolean hasRequest() { return ((bitField0_ & 0x00000004) != 0); } /** - * - * *
      * The original request for undeployment.
      * 
* * .google.cloud.contactcenterinsights.v1.UndeployIssueModelRequest request = 3; - * * @return The request. */ public com.google.cloud.contactcenterinsights.v1.UndeployIssueModelRequest getRequest() { if (requestBuilder_ == null) { - return request_ == null - ? com.google.cloud.contactcenterinsights.v1.UndeployIssueModelRequest - .getDefaultInstance() - : request_; + return request_ == null ? com.google.cloud.contactcenterinsights.v1.UndeployIssueModelRequest.getDefaultInstance() : request_; } else { return requestBuilder_.getMessage(); } } /** - * - * *
      * The original request for undeployment.
      * 
* * .google.cloud.contactcenterinsights.v1.UndeployIssueModelRequest request = 3; */ - public Builder setRequest( - com.google.cloud.contactcenterinsights.v1.UndeployIssueModelRequest value) { + public Builder setRequest(com.google.cloud.contactcenterinsights.v1.UndeployIssueModelRequest value) { if (requestBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -1088,8 +933,6 @@ public Builder setRequest( return this; } /** - * - * *
      * The original request for undeployment.
      * 
@@ -1097,8 +940,7 @@ public Builder setRequest( * .google.cloud.contactcenterinsights.v1.UndeployIssueModelRequest request = 3; */ public Builder setRequest( - com.google.cloud.contactcenterinsights.v1.UndeployIssueModelRequest.Builder - builderForValue) { + com.google.cloud.contactcenterinsights.v1.UndeployIssueModelRequest.Builder builderForValue) { if (requestBuilder_ == null) { request_ = builderForValue.build(); } else { @@ -1109,22 +951,17 @@ public Builder setRequest( return this; } /** - * - * *
      * The original request for undeployment.
      * 
* * .google.cloud.contactcenterinsights.v1.UndeployIssueModelRequest request = 3; */ - public Builder mergeRequest( - com.google.cloud.contactcenterinsights.v1.UndeployIssueModelRequest value) { + public Builder mergeRequest(com.google.cloud.contactcenterinsights.v1.UndeployIssueModelRequest value) { if (requestBuilder_ == null) { - if (((bitField0_ & 0x00000004) != 0) - && request_ != null - && request_ - != com.google.cloud.contactcenterinsights.v1.UndeployIssueModelRequest - .getDefaultInstance()) { + if (((bitField0_ & 0x00000004) != 0) && + request_ != null && + request_ != com.google.cloud.contactcenterinsights.v1.UndeployIssueModelRequest.getDefaultInstance()) { getRequestBuilder().mergeFrom(value); } else { request_ = value; @@ -1137,8 +974,6 @@ public Builder mergeRequest( return this; } /** - * - * *
      * The original request for undeployment.
      * 
@@ -1156,43 +991,33 @@ public Builder clearRequest() { return this; } /** - * - * *
      * The original request for undeployment.
      * 
* * .google.cloud.contactcenterinsights.v1.UndeployIssueModelRequest request = 3; */ - public com.google.cloud.contactcenterinsights.v1.UndeployIssueModelRequest.Builder - getRequestBuilder() { + public com.google.cloud.contactcenterinsights.v1.UndeployIssueModelRequest.Builder getRequestBuilder() { bitField0_ |= 0x00000004; onChanged(); return getRequestFieldBuilder().getBuilder(); } /** - * - * *
      * The original request for undeployment.
      * 
* * .google.cloud.contactcenterinsights.v1.UndeployIssueModelRequest request = 3; */ - public com.google.cloud.contactcenterinsights.v1.UndeployIssueModelRequestOrBuilder - getRequestOrBuilder() { + public com.google.cloud.contactcenterinsights.v1.UndeployIssueModelRequestOrBuilder getRequestOrBuilder() { if (requestBuilder_ != null) { return requestBuilder_.getMessageOrBuilder(); } else { - return request_ == null - ? com.google.cloud.contactcenterinsights.v1.UndeployIssueModelRequest - .getDefaultInstance() - : request_; + return request_ == null ? + com.google.cloud.contactcenterinsights.v1.UndeployIssueModelRequest.getDefaultInstance() : request_; } } /** - * - * *
      * The original request for undeployment.
      * 
@@ -1200,24 +1025,21 @@ public Builder clearRequest() { * .google.cloud.contactcenterinsights.v1.UndeployIssueModelRequest request = 3; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.contactcenterinsights.v1.UndeployIssueModelRequest, - com.google.cloud.contactcenterinsights.v1.UndeployIssueModelRequest.Builder, - com.google.cloud.contactcenterinsights.v1.UndeployIssueModelRequestOrBuilder> + com.google.cloud.contactcenterinsights.v1.UndeployIssueModelRequest, com.google.cloud.contactcenterinsights.v1.UndeployIssueModelRequest.Builder, com.google.cloud.contactcenterinsights.v1.UndeployIssueModelRequestOrBuilder> getRequestFieldBuilder() { if (requestBuilder_ == null) { - requestBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.contactcenterinsights.v1.UndeployIssueModelRequest, - com.google.cloud.contactcenterinsights.v1.UndeployIssueModelRequest.Builder, - com.google.cloud.contactcenterinsights.v1.UndeployIssueModelRequestOrBuilder>( - getRequest(), getParentForChildren(), isClean()); + requestBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.contactcenterinsights.v1.UndeployIssueModelRequest, com.google.cloud.contactcenterinsights.v1.UndeployIssueModelRequest.Builder, com.google.cloud.contactcenterinsights.v1.UndeployIssueModelRequestOrBuilder>( + getRequest(), + getParentForChildren(), + isClean()); request_ = null; } return requestBuilder_; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1227,43 +1049,41 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.contactcenterinsights.v1.UndeployIssueModelMetadata) } // @@protoc_insertion_point(class_scope:google.cloud.contactcenterinsights.v1.UndeployIssueModelMetadata) - private static final com.google.cloud.contactcenterinsights.v1.UndeployIssueModelMetadata - DEFAULT_INSTANCE; - + private static final com.google.cloud.contactcenterinsights.v1.UndeployIssueModelMetadata DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.cloud.contactcenterinsights.v1.UndeployIssueModelMetadata(); } - public static com.google.cloud.contactcenterinsights.v1.UndeployIssueModelMetadata - getDefaultInstance() { + public static com.google.cloud.contactcenterinsights.v1.UndeployIssueModelMetadata getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public UndeployIssueModelMetadata parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public UndeployIssueModelMetadata parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1275,8 +1095,9 @@ public com.google.protobuf.Parser getParserForType() } @java.lang.Override - public com.google.cloud.contactcenterinsights.v1.UndeployIssueModelMetadata - getDefaultInstanceForType() { + public com.google.cloud.contactcenterinsights.v1.UndeployIssueModelMetadata getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/UndeployIssueModelMetadataOrBuilder.java b/owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/UndeployIssueModelMetadataOrBuilder.java similarity index 69% rename from java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/UndeployIssueModelMetadataOrBuilder.java rename to owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/UndeployIssueModelMetadataOrBuilder.java index 2f35b1859daa..5e656936955a 100644 --- a/java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/UndeployIssueModelMetadataOrBuilder.java +++ b/owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/UndeployIssueModelMetadataOrBuilder.java @@ -1,137 +1,90 @@ -/* - * 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. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/contactcenterinsights/v1/contact_center_insights.proto package com.google.cloud.contactcenterinsights.v1; -public interface UndeployIssueModelMetadataOrBuilder - extends +public interface UndeployIssueModelMetadataOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.contactcenterinsights.v1.UndeployIssueModelMetadata) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Output only. The time the operation was created.
    * 
* - * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the createTime field is set. */ boolean hasCreateTime(); /** - * - * *
    * Output only. The time the operation was created.
    * 
* - * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The createTime. */ com.google.protobuf.Timestamp getCreateTime(); /** - * - * *
    * Output only. The time the operation was created.
    * 
* - * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder(); /** - * - * *
    * Output only. The time the operation finished running.
    * 
* - * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the endTime field is set. */ boolean hasEndTime(); /** - * - * *
    * Output only. The time the operation finished running.
    * 
* - * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The endTime. */ com.google.protobuf.Timestamp getEndTime(); /** - * - * *
    * Output only. The time the operation finished running.
    * 
* - * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder(); /** - * - * *
    * The original request for undeployment.
    * 
* * .google.cloud.contactcenterinsights.v1.UndeployIssueModelRequest request = 3; - * * @return Whether the request field is set. */ boolean hasRequest(); /** - * - * *
    * The original request for undeployment.
    * 
* * .google.cloud.contactcenterinsights.v1.UndeployIssueModelRequest request = 3; - * * @return The request. */ com.google.cloud.contactcenterinsights.v1.UndeployIssueModelRequest getRequest(); /** - * - * *
    * The original request for undeployment.
    * 
* * .google.cloud.contactcenterinsights.v1.UndeployIssueModelRequest request = 3; */ - com.google.cloud.contactcenterinsights.v1.UndeployIssueModelRequestOrBuilder - getRequestOrBuilder(); + com.google.cloud.contactcenterinsights.v1.UndeployIssueModelRequestOrBuilder getRequestOrBuilder(); } diff --git a/java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/UndeployIssueModelRequest.java b/owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/UndeployIssueModelRequest.java similarity index 58% rename from java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/UndeployIssueModelRequest.java rename to owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/UndeployIssueModelRequest.java index 0449e17b8723..95acdd33583e 100644 --- a/java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/UndeployIssueModelRequest.java +++ b/owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/UndeployIssueModelRequest.java @@ -1,87 +1,62 @@ -/* - * 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. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/contactcenterinsights/v1/contact_center_insights.proto package com.google.cloud.contactcenterinsights.v1; /** - * - * *
  * The request to undeploy an issue model.
  * 
* * Protobuf type {@code google.cloud.contactcenterinsights.v1.UndeployIssueModelRequest} */ -public final class UndeployIssueModelRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class UndeployIssueModelRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.contactcenterinsights.v1.UndeployIssueModelRequest) UndeployIssueModelRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use UndeployIssueModelRequest.newBuilder() to construct. private UndeployIssueModelRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private UndeployIssueModelRequest() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new UndeployIssueModelRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto - .internal_static_google_cloud_contactcenterinsights_v1_UndeployIssueModelRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto.internal_static_google_cloud_contactcenterinsights_v1_UndeployIssueModelRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto - .internal_static_google_cloud_contactcenterinsights_v1_UndeployIssueModelRequest_fieldAccessorTable + return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto.internal_static_google_cloud_contactcenterinsights_v1_UndeployIssueModelRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.contactcenterinsights.v1.UndeployIssueModelRequest.class, - com.google.cloud.contactcenterinsights.v1.UndeployIssueModelRequest.Builder.class); + com.google.cloud.contactcenterinsights.v1.UndeployIssueModelRequest.class, com.google.cloud.contactcenterinsights.v1.UndeployIssueModelRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; - @SuppressWarnings("serial") private volatile java.lang.Object name_ = ""; /** - * - * *
    * Required. The issue model to undeploy.
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ @java.lang.Override @@ -90,31 +65,29 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** - * - * *
    * Required. The issue model to undeploy.
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -123,7 +96,6 @@ public com.google.protobuf.ByteString getNameBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -135,7 +107,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -159,15 +132,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.contactcenterinsights.v1.UndeployIssueModelRequest)) { return super.equals(obj); } - com.google.cloud.contactcenterinsights.v1.UndeployIssueModelRequest other = - (com.google.cloud.contactcenterinsights.v1.UndeployIssueModelRequest) obj; + com.google.cloud.contactcenterinsights.v1.UndeployIssueModelRequest other = (com.google.cloud.contactcenterinsights.v1.UndeployIssueModelRequest) obj; - if (!getName().equals(other.getName())) return false; + if (!getName() + .equals(other.getName())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -187,138 +160,129 @@ public int hashCode() { } public static com.google.cloud.contactcenterinsights.v1.UndeployIssueModelRequest parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.contactcenterinsights.v1.UndeployIssueModelRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.contactcenterinsights.v1.UndeployIssueModelRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.contactcenterinsights.v1.UndeployIssueModelRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.contactcenterinsights.v1.UndeployIssueModelRequest parseFrom( - byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.contactcenterinsights.v1.UndeployIssueModelRequest parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.contactcenterinsights.v1.UndeployIssueModelRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.contactcenterinsights.v1.UndeployIssueModelRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.contactcenterinsights.v1.UndeployIssueModelRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.contactcenterinsights.v1.UndeployIssueModelRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.contactcenterinsights.v1.UndeployIssueModelRequest - parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.contactcenterinsights.v1.UndeployIssueModelRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - - public static com.google.cloud.contactcenterinsights.v1.UndeployIssueModelRequest - parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + public static com.google.cloud.contactcenterinsights.v1.UndeployIssueModelRequest parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.contactcenterinsights.v1.UndeployIssueModelRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.contactcenterinsights.v1.UndeployIssueModelRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.contactcenterinsights.v1.UndeployIssueModelRequest prototype) { + public static Builder newBuilder(com.google.cloud.contactcenterinsights.v1.UndeployIssueModelRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * The request to undeploy an issue model.
    * 
* * Protobuf type {@code google.cloud.contactcenterinsights.v1.UndeployIssueModelRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.contactcenterinsights.v1.UndeployIssueModelRequest) com.google.cloud.contactcenterinsights.v1.UndeployIssueModelRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto - .internal_static_google_cloud_contactcenterinsights_v1_UndeployIssueModelRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto.internal_static_google_cloud_contactcenterinsights_v1_UndeployIssueModelRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto - .internal_static_google_cloud_contactcenterinsights_v1_UndeployIssueModelRequest_fieldAccessorTable + return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto.internal_static_google_cloud_contactcenterinsights_v1_UndeployIssueModelRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.contactcenterinsights.v1.UndeployIssueModelRequest.class, - com.google.cloud.contactcenterinsights.v1.UndeployIssueModelRequest.Builder.class); + com.google.cloud.contactcenterinsights.v1.UndeployIssueModelRequest.class, com.google.cloud.contactcenterinsights.v1.UndeployIssueModelRequest.Builder.class); } - // Construct using - // com.google.cloud.contactcenterinsights.v1.UndeployIssueModelRequest.newBuilder() - private Builder() {} + // Construct using com.google.cloud.contactcenterinsights.v1.UndeployIssueModelRequest.newBuilder() + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -328,16 +292,14 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto - .internal_static_google_cloud_contactcenterinsights_v1_UndeployIssueModelRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto.internal_static_google_cloud_contactcenterinsights_v1_UndeployIssueModelRequest_descriptor; } @java.lang.Override - public com.google.cloud.contactcenterinsights.v1.UndeployIssueModelRequest - getDefaultInstanceForType() { - return com.google.cloud.contactcenterinsights.v1.UndeployIssueModelRequest - .getDefaultInstance(); + public com.google.cloud.contactcenterinsights.v1.UndeployIssueModelRequest getDefaultInstanceForType() { + return com.google.cloud.contactcenterinsights.v1.UndeployIssueModelRequest.getDefaultInstance(); } @java.lang.Override @@ -351,17 +313,13 @@ public com.google.cloud.contactcenterinsights.v1.UndeployIssueModelRequest build @java.lang.Override public com.google.cloud.contactcenterinsights.v1.UndeployIssueModelRequest buildPartial() { - com.google.cloud.contactcenterinsights.v1.UndeployIssueModelRequest result = - new com.google.cloud.contactcenterinsights.v1.UndeployIssueModelRequest(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + com.google.cloud.contactcenterinsights.v1.UndeployIssueModelRequest result = new com.google.cloud.contactcenterinsights.v1.UndeployIssueModelRequest(this); + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } - private void buildPartial0( - com.google.cloud.contactcenterinsights.v1.UndeployIssueModelRequest result) { + private void buildPartial0(com.google.cloud.contactcenterinsights.v1.UndeployIssueModelRequest result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { result.name_ = name_; @@ -372,51 +330,46 @@ private void buildPartial0( public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.contactcenterinsights.v1.UndeployIssueModelRequest) { - return mergeFrom( - (com.google.cloud.contactcenterinsights.v1.UndeployIssueModelRequest) other); + return mergeFrom((com.google.cloud.contactcenterinsights.v1.UndeployIssueModelRequest)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom( - com.google.cloud.contactcenterinsights.v1.UndeployIssueModelRequest other) { - if (other - == com.google.cloud.contactcenterinsights.v1.UndeployIssueModelRequest - .getDefaultInstance()) return this; + public Builder mergeFrom(com.google.cloud.contactcenterinsights.v1.UndeployIssueModelRequest other) { + if (other == com.google.cloud.contactcenterinsights.v1.UndeployIssueModelRequest.getDefaultInstance()) return this; if (!other.getName().isEmpty()) { name_ = other.name_; bitField0_ |= 0x00000001; @@ -448,19 +401,17 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - name_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + name_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -470,27 +421,22 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private java.lang.Object name_ = ""; /** - * - * *
      * Required. The issue model to undeploy.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -499,23 +445,20 @@ public java.lang.String getName() { } } /** - * - * *
      * Required. The issue model to undeploy.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -523,39 +466,28 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * Required. The issue model to undeploy.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The name to set. * @return This builder for chaining. */ - public Builder setName(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setName( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } name_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
      * Required. The issue model to undeploy.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearName() { @@ -565,32 +497,26 @@ public Builder clearName() { return this; } /** - * - * *
      * Required. The issue model to undeploy.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setNameBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); name_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -600,43 +526,41 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.contactcenterinsights.v1.UndeployIssueModelRequest) } // @@protoc_insertion_point(class_scope:google.cloud.contactcenterinsights.v1.UndeployIssueModelRequest) - private static final com.google.cloud.contactcenterinsights.v1.UndeployIssueModelRequest - DEFAULT_INSTANCE; - + private static final com.google.cloud.contactcenterinsights.v1.UndeployIssueModelRequest DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.cloud.contactcenterinsights.v1.UndeployIssueModelRequest(); } - public static com.google.cloud.contactcenterinsights.v1.UndeployIssueModelRequest - getDefaultInstance() { + public static com.google.cloud.contactcenterinsights.v1.UndeployIssueModelRequest getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public UndeployIssueModelRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public UndeployIssueModelRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -648,8 +572,9 @@ public com.google.protobuf.Parser getParserForType() } @java.lang.Override - public com.google.cloud.contactcenterinsights.v1.UndeployIssueModelRequest - getDefaultInstanceForType() { + public com.google.cloud.contactcenterinsights.v1.UndeployIssueModelRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/UndeployIssueModelRequestOrBuilder.java b/owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/UndeployIssueModelRequestOrBuilder.java new file mode 100644 index 000000000000..52d1662c28cd --- /dev/null +++ b/owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/UndeployIssueModelRequestOrBuilder.java @@ -0,0 +1,29 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/contactcenterinsights/v1/contact_center_insights.proto + +package com.google.cloud.contactcenterinsights.v1; + +public interface UndeployIssueModelRequestOrBuilder extends + // @@protoc_insertion_point(interface_extends:google.cloud.contactcenterinsights.v1.UndeployIssueModelRequest) + com.google.protobuf.MessageOrBuilder { + + /** + *
+   * Required. The issue model to undeploy.
+   * 
+ * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The name. + */ + java.lang.String getName(); + /** + *
+   * Required. The issue model to undeploy.
+   * 
+ * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The bytes for name. + */ + com.google.protobuf.ByteString + getNameBytes(); +} diff --git a/java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/UndeployIssueModelResponse.java b/owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/UndeployIssueModelResponse.java similarity index 58% rename from java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/UndeployIssueModelResponse.java rename to owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/UndeployIssueModelResponse.java index ad1a5338c60b..1064d858d33e 100644 --- a/java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/UndeployIssueModelResponse.java +++ b/owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/UndeployIssueModelResponse.java @@ -1,72 +1,53 @@ -/* - * 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. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/contactcenterinsights/v1/contact_center_insights.proto package com.google.cloud.contactcenterinsights.v1; /** - * - * *
  * The response to undeploy an issue model.
  * 
* * Protobuf type {@code google.cloud.contactcenterinsights.v1.UndeployIssueModelResponse} */ -public final class UndeployIssueModelResponse extends com.google.protobuf.GeneratedMessageV3 - implements +public final class UndeployIssueModelResponse extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.contactcenterinsights.v1.UndeployIssueModelResponse) UndeployIssueModelResponseOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use UndeployIssueModelResponse.newBuilder() to construct. private UndeployIssueModelResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - - private UndeployIssueModelResponse() {} + private UndeployIssueModelResponse() { + } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new UndeployIssueModelResponse(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto - .internal_static_google_cloud_contactcenterinsights_v1_UndeployIssueModelResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto.internal_static_google_cloud_contactcenterinsights_v1_UndeployIssueModelResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto - .internal_static_google_cloud_contactcenterinsights_v1_UndeployIssueModelResponse_fieldAccessorTable + return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto.internal_static_google_cloud_contactcenterinsights_v1_UndeployIssueModelResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.contactcenterinsights.v1.UndeployIssueModelResponse.class, - com.google.cloud.contactcenterinsights.v1.UndeployIssueModelResponse.Builder.class); + com.google.cloud.contactcenterinsights.v1.UndeployIssueModelResponse.class, com.google.cloud.contactcenterinsights.v1.UndeployIssueModelResponse.Builder.class); } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -78,7 +59,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { getUnknownFields().writeTo(output); } @@ -96,13 +78,12 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.contactcenterinsights.v1.UndeployIssueModelResponse)) { return super.equals(obj); } - com.google.cloud.contactcenterinsights.v1.UndeployIssueModelResponse other = - (com.google.cloud.contactcenterinsights.v1.UndeployIssueModelResponse) obj; + com.google.cloud.contactcenterinsights.v1.UndeployIssueModelResponse other = (com.google.cloud.contactcenterinsights.v1.UndeployIssueModelResponse) obj; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -121,138 +102,129 @@ public int hashCode() { } public static com.google.cloud.contactcenterinsights.v1.UndeployIssueModelResponse parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.contactcenterinsights.v1.UndeployIssueModelResponse parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.contactcenterinsights.v1.UndeployIssueModelResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.contactcenterinsights.v1.UndeployIssueModelResponse parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.contactcenterinsights.v1.UndeployIssueModelResponse parseFrom( - byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.contactcenterinsights.v1.UndeployIssueModelResponse parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.contactcenterinsights.v1.UndeployIssueModelResponse parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.contactcenterinsights.v1.UndeployIssueModelResponse parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.contactcenterinsights.v1.UndeployIssueModelResponse parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.contactcenterinsights.v1.UndeployIssueModelResponse parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.contactcenterinsights.v1.UndeployIssueModelResponse - parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.contactcenterinsights.v1.UndeployIssueModelResponse parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - - public static com.google.cloud.contactcenterinsights.v1.UndeployIssueModelResponse - parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + public static com.google.cloud.contactcenterinsights.v1.UndeployIssueModelResponse parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.contactcenterinsights.v1.UndeployIssueModelResponse parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.contactcenterinsights.v1.UndeployIssueModelResponse parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.contactcenterinsights.v1.UndeployIssueModelResponse prototype) { + public static Builder newBuilder(com.google.cloud.contactcenterinsights.v1.UndeployIssueModelResponse prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * The response to undeploy an issue model.
    * 
* * Protobuf type {@code google.cloud.contactcenterinsights.v1.UndeployIssueModelResponse} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.contactcenterinsights.v1.UndeployIssueModelResponse) com.google.cloud.contactcenterinsights.v1.UndeployIssueModelResponseOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto - .internal_static_google_cloud_contactcenterinsights_v1_UndeployIssueModelResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto.internal_static_google_cloud_contactcenterinsights_v1_UndeployIssueModelResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto - .internal_static_google_cloud_contactcenterinsights_v1_UndeployIssueModelResponse_fieldAccessorTable + return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto.internal_static_google_cloud_contactcenterinsights_v1_UndeployIssueModelResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.contactcenterinsights.v1.UndeployIssueModelResponse.class, - com.google.cloud.contactcenterinsights.v1.UndeployIssueModelResponse.Builder.class); + com.google.cloud.contactcenterinsights.v1.UndeployIssueModelResponse.class, com.google.cloud.contactcenterinsights.v1.UndeployIssueModelResponse.Builder.class); } - // Construct using - // com.google.cloud.contactcenterinsights.v1.UndeployIssueModelResponse.newBuilder() - private Builder() {} + // Construct using com.google.cloud.contactcenterinsights.v1.UndeployIssueModelResponse.newBuilder() + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -260,16 +232,14 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto - .internal_static_google_cloud_contactcenterinsights_v1_UndeployIssueModelResponse_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto.internal_static_google_cloud_contactcenterinsights_v1_UndeployIssueModelResponse_descriptor; } @java.lang.Override - public com.google.cloud.contactcenterinsights.v1.UndeployIssueModelResponse - getDefaultInstanceForType() { - return com.google.cloud.contactcenterinsights.v1.UndeployIssueModelResponse - .getDefaultInstance(); + public com.google.cloud.contactcenterinsights.v1.UndeployIssueModelResponse getDefaultInstanceForType() { + return com.google.cloud.contactcenterinsights.v1.UndeployIssueModelResponse.getDefaultInstance(); } @java.lang.Override @@ -283,8 +253,7 @@ public com.google.cloud.contactcenterinsights.v1.UndeployIssueModelResponse buil @java.lang.Override public com.google.cloud.contactcenterinsights.v1.UndeployIssueModelResponse buildPartial() { - com.google.cloud.contactcenterinsights.v1.UndeployIssueModelResponse result = - new com.google.cloud.contactcenterinsights.v1.UndeployIssueModelResponse(this); + com.google.cloud.contactcenterinsights.v1.UndeployIssueModelResponse result = new com.google.cloud.contactcenterinsights.v1.UndeployIssueModelResponse(this); onBuilt(); return result; } @@ -293,51 +262,46 @@ public com.google.cloud.contactcenterinsights.v1.UndeployIssueModelResponse buil public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.contactcenterinsights.v1.UndeployIssueModelResponse) { - return mergeFrom( - (com.google.cloud.contactcenterinsights.v1.UndeployIssueModelResponse) other); + return mergeFrom((com.google.cloud.contactcenterinsights.v1.UndeployIssueModelResponse)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom( - com.google.cloud.contactcenterinsights.v1.UndeployIssueModelResponse other) { - if (other - == com.google.cloud.contactcenterinsights.v1.UndeployIssueModelResponse - .getDefaultInstance()) return this; + public Builder mergeFrom(com.google.cloud.contactcenterinsights.v1.UndeployIssueModelResponse other) { + if (other == com.google.cloud.contactcenterinsights.v1.UndeployIssueModelResponse.getDefaultInstance()) return this; this.mergeUnknownFields(other.getUnknownFields()); onChanged(); return this; @@ -364,13 +328,12 @@ public Builder mergeFrom( case 0: done = true; break; - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -380,9 +343,9 @@ public Builder mergeFrom( } // finally return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -392,43 +355,41 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.contactcenterinsights.v1.UndeployIssueModelResponse) } // @@protoc_insertion_point(class_scope:google.cloud.contactcenterinsights.v1.UndeployIssueModelResponse) - private static final com.google.cloud.contactcenterinsights.v1.UndeployIssueModelResponse - DEFAULT_INSTANCE; - + private static final com.google.cloud.contactcenterinsights.v1.UndeployIssueModelResponse DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.cloud.contactcenterinsights.v1.UndeployIssueModelResponse(); } - public static com.google.cloud.contactcenterinsights.v1.UndeployIssueModelResponse - getDefaultInstance() { + public static com.google.cloud.contactcenterinsights.v1.UndeployIssueModelResponse getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public UndeployIssueModelResponse parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public UndeployIssueModelResponse parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -440,8 +401,9 @@ public com.google.protobuf.Parser getParserForType() } @java.lang.Override - public com.google.cloud.contactcenterinsights.v1.UndeployIssueModelResponse - getDefaultInstanceForType() { + public com.google.cloud.contactcenterinsights.v1.UndeployIssueModelResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/UndeployIssueModelResponseOrBuilder.java b/owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/UndeployIssueModelResponseOrBuilder.java new file mode 100644 index 000000000000..77ed1a9e2079 --- /dev/null +++ b/owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/UndeployIssueModelResponseOrBuilder.java @@ -0,0 +1,9 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/contactcenterinsights/v1/contact_center_insights.proto + +package com.google.cloud.contactcenterinsights.v1; + +public interface UndeployIssueModelResponseOrBuilder extends + // @@protoc_insertion_point(interface_extends:google.cloud.contactcenterinsights.v1.UndeployIssueModelResponse) + com.google.protobuf.MessageOrBuilder { +} diff --git a/java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/UpdateConversationRequest.java b/owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/UpdateConversationRequest.java similarity index 61% rename from java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/UpdateConversationRequest.java rename to owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/UpdateConversationRequest.java index 19ebe6174af6..1e0e2f3bd38e 100644 --- a/java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/UpdateConversationRequest.java +++ b/owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/UpdateConversationRequest.java @@ -1,83 +1,60 @@ -/* - * 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. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/contactcenterinsights/v1/contact_center_insights.proto package com.google.cloud.contactcenterinsights.v1; /** - * - * *
  * The request to update a conversation.
  * 
* * Protobuf type {@code google.cloud.contactcenterinsights.v1.UpdateConversationRequest} */ -public final class UpdateConversationRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class UpdateConversationRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.contactcenterinsights.v1.UpdateConversationRequest) UpdateConversationRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use UpdateConversationRequest.newBuilder() to construct. private UpdateConversationRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - - private UpdateConversationRequest() {} + private UpdateConversationRequest() { + } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new UpdateConversationRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto - .internal_static_google_cloud_contactcenterinsights_v1_UpdateConversationRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto.internal_static_google_cloud_contactcenterinsights_v1_UpdateConversationRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto - .internal_static_google_cloud_contactcenterinsights_v1_UpdateConversationRequest_fieldAccessorTable + return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto.internal_static_google_cloud_contactcenterinsights_v1_UpdateConversationRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.contactcenterinsights.v1.UpdateConversationRequest.class, - com.google.cloud.contactcenterinsights.v1.UpdateConversationRequest.Builder.class); + com.google.cloud.contactcenterinsights.v1.UpdateConversationRequest.class, com.google.cloud.contactcenterinsights.v1.UpdateConversationRequest.Builder.class); } public static final int CONVERSATION_FIELD_NUMBER = 1; private com.google.cloud.contactcenterinsights.v1.Conversation conversation_; /** - * - * *
    * Required. The new values for the conversation.
    * 
* - * - * .google.cloud.contactcenterinsights.v1.Conversation conversation = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.contactcenterinsights.v1.Conversation conversation = 1 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the conversation field is set. */ @java.lang.Override @@ -85,54 +62,37 @@ public boolean hasConversation() { return conversation_ != null; } /** - * - * *
    * Required. The new values for the conversation.
    * 
* - * - * .google.cloud.contactcenterinsights.v1.Conversation conversation = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.contactcenterinsights.v1.Conversation conversation = 1 [(.google.api.field_behavior) = REQUIRED]; * @return The conversation. */ @java.lang.Override public com.google.cloud.contactcenterinsights.v1.Conversation getConversation() { - return conversation_ == null - ? com.google.cloud.contactcenterinsights.v1.Conversation.getDefaultInstance() - : conversation_; + return conversation_ == null ? com.google.cloud.contactcenterinsights.v1.Conversation.getDefaultInstance() : conversation_; } /** - * - * *
    * Required. The new values for the conversation.
    * 
* - * - * .google.cloud.contactcenterinsights.v1.Conversation conversation = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.contactcenterinsights.v1.Conversation conversation = 1 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override - public com.google.cloud.contactcenterinsights.v1.ConversationOrBuilder - getConversationOrBuilder() { - return conversation_ == null - ? com.google.cloud.contactcenterinsights.v1.Conversation.getDefaultInstance() - : conversation_; + public com.google.cloud.contactcenterinsights.v1.ConversationOrBuilder getConversationOrBuilder() { + return conversation_ == null ? com.google.cloud.contactcenterinsights.v1.Conversation.getDefaultInstance() : conversation_; } public static final int UPDATE_MASK_FIELD_NUMBER = 2; private com.google.protobuf.FieldMask updateMask_; /** - * - * *
    * The list of fields to be updated.
    * 
* * .google.protobuf.FieldMask update_mask = 2; - * * @return Whether the updateMask field is set. */ @java.lang.Override @@ -140,14 +100,11 @@ public boolean hasUpdateMask() { return updateMask_ != null; } /** - * - * *
    * The list of fields to be updated.
    * 
* * .google.protobuf.FieldMask update_mask = 2; - * * @return The updateMask. */ @java.lang.Override @@ -155,8 +112,6 @@ public com.google.protobuf.FieldMask getUpdateMask() { return updateMask_ == null ? com.google.protobuf.FieldMask.getDefaultInstance() : updateMask_; } /** - * - * *
    * The list of fields to be updated.
    * 
@@ -169,7 +124,6 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -181,7 +135,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (conversation_ != null) { output.writeMessage(1, getConversation()); } @@ -198,10 +153,12 @@ public int getSerializedSize() { size = 0; if (conversation_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getConversation()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, getConversation()); } if (updateMask_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getUpdateMask()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, getUpdateMask()); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -211,21 +168,22 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.contactcenterinsights.v1.UpdateConversationRequest)) { return super.equals(obj); } - com.google.cloud.contactcenterinsights.v1.UpdateConversationRequest other = - (com.google.cloud.contactcenterinsights.v1.UpdateConversationRequest) obj; + com.google.cloud.contactcenterinsights.v1.UpdateConversationRequest other = (com.google.cloud.contactcenterinsights.v1.UpdateConversationRequest) obj; if (hasConversation() != other.hasConversation()) return false; if (hasConversation()) { - if (!getConversation().equals(other.getConversation())) return false; + if (!getConversation() + .equals(other.getConversation())) return false; } if (hasUpdateMask() != other.hasUpdateMask()) return false; if (hasUpdateMask()) { - if (!getUpdateMask().equals(other.getUpdateMask())) return false; + if (!getUpdateMask() + .equals(other.getUpdateMask())) return false; } if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -252,138 +210,129 @@ public int hashCode() { } public static com.google.cloud.contactcenterinsights.v1.UpdateConversationRequest parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.contactcenterinsights.v1.UpdateConversationRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.contactcenterinsights.v1.UpdateConversationRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.contactcenterinsights.v1.UpdateConversationRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.contactcenterinsights.v1.UpdateConversationRequest parseFrom( - byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.contactcenterinsights.v1.UpdateConversationRequest parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.contactcenterinsights.v1.UpdateConversationRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.contactcenterinsights.v1.UpdateConversationRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.contactcenterinsights.v1.UpdateConversationRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.contactcenterinsights.v1.UpdateConversationRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.contactcenterinsights.v1.UpdateConversationRequest - parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.contactcenterinsights.v1.UpdateConversationRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - - public static com.google.cloud.contactcenterinsights.v1.UpdateConversationRequest - parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + public static com.google.cloud.contactcenterinsights.v1.UpdateConversationRequest parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.contactcenterinsights.v1.UpdateConversationRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.contactcenterinsights.v1.UpdateConversationRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.contactcenterinsights.v1.UpdateConversationRequest prototype) { + public static Builder newBuilder(com.google.cloud.contactcenterinsights.v1.UpdateConversationRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * The request to update a conversation.
    * 
* * Protobuf type {@code google.cloud.contactcenterinsights.v1.UpdateConversationRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.contactcenterinsights.v1.UpdateConversationRequest) com.google.cloud.contactcenterinsights.v1.UpdateConversationRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto - .internal_static_google_cloud_contactcenterinsights_v1_UpdateConversationRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto.internal_static_google_cloud_contactcenterinsights_v1_UpdateConversationRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto - .internal_static_google_cloud_contactcenterinsights_v1_UpdateConversationRequest_fieldAccessorTable + return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto.internal_static_google_cloud_contactcenterinsights_v1_UpdateConversationRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.contactcenterinsights.v1.UpdateConversationRequest.class, - com.google.cloud.contactcenterinsights.v1.UpdateConversationRequest.Builder.class); + com.google.cloud.contactcenterinsights.v1.UpdateConversationRequest.class, com.google.cloud.contactcenterinsights.v1.UpdateConversationRequest.Builder.class); } - // Construct using - // com.google.cloud.contactcenterinsights.v1.UpdateConversationRequest.newBuilder() - private Builder() {} + // Construct using com.google.cloud.contactcenterinsights.v1.UpdateConversationRequest.newBuilder() + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -402,16 +351,14 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto - .internal_static_google_cloud_contactcenterinsights_v1_UpdateConversationRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto.internal_static_google_cloud_contactcenterinsights_v1_UpdateConversationRequest_descriptor; } @java.lang.Override - public com.google.cloud.contactcenterinsights.v1.UpdateConversationRequest - getDefaultInstanceForType() { - return com.google.cloud.contactcenterinsights.v1.UpdateConversationRequest - .getDefaultInstance(); + public com.google.cloud.contactcenterinsights.v1.UpdateConversationRequest getDefaultInstanceForType() { + return com.google.cloud.contactcenterinsights.v1.UpdateConversationRequest.getDefaultInstance(); } @java.lang.Override @@ -425,24 +372,23 @@ public com.google.cloud.contactcenterinsights.v1.UpdateConversationRequest build @java.lang.Override public com.google.cloud.contactcenterinsights.v1.UpdateConversationRequest buildPartial() { - com.google.cloud.contactcenterinsights.v1.UpdateConversationRequest result = - new com.google.cloud.contactcenterinsights.v1.UpdateConversationRequest(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + com.google.cloud.contactcenterinsights.v1.UpdateConversationRequest result = new com.google.cloud.contactcenterinsights.v1.UpdateConversationRequest(this); + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } - private void buildPartial0( - com.google.cloud.contactcenterinsights.v1.UpdateConversationRequest result) { + private void buildPartial0(com.google.cloud.contactcenterinsights.v1.UpdateConversationRequest result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { - result.conversation_ = - conversationBuilder_ == null ? conversation_ : conversationBuilder_.build(); + result.conversation_ = conversationBuilder_ == null + ? conversation_ + : conversationBuilder_.build(); } if (((from_bitField0_ & 0x00000002) != 0)) { - result.updateMask_ = updateMaskBuilder_ == null ? updateMask_ : updateMaskBuilder_.build(); + result.updateMask_ = updateMaskBuilder_ == null + ? updateMask_ + : updateMaskBuilder_.build(); } } @@ -450,51 +396,46 @@ private void buildPartial0( public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.contactcenterinsights.v1.UpdateConversationRequest) { - return mergeFrom( - (com.google.cloud.contactcenterinsights.v1.UpdateConversationRequest) other); + return mergeFrom((com.google.cloud.contactcenterinsights.v1.UpdateConversationRequest)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom( - com.google.cloud.contactcenterinsights.v1.UpdateConversationRequest other) { - if (other - == com.google.cloud.contactcenterinsights.v1.UpdateConversationRequest - .getDefaultInstance()) return this; + public Builder mergeFrom(com.google.cloud.contactcenterinsights.v1.UpdateConversationRequest other) { + if (other == com.google.cloud.contactcenterinsights.v1.UpdateConversationRequest.getDefaultInstance()) return this; if (other.hasConversation()) { mergeConversation(other.getConversation()); } @@ -527,25 +468,26 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - input.readMessage(getConversationFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: - { - input.readMessage(getUpdateMaskFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00000002; - break; - } // case 18 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + input.readMessage( + getConversationFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: { + input.readMessage( + getUpdateMaskFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00000002; + break; + } // case 18 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -555,63 +497,43 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private com.google.cloud.contactcenterinsights.v1.Conversation conversation_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.contactcenterinsights.v1.Conversation, - com.google.cloud.contactcenterinsights.v1.Conversation.Builder, - com.google.cloud.contactcenterinsights.v1.ConversationOrBuilder> - conversationBuilder_; + com.google.cloud.contactcenterinsights.v1.Conversation, com.google.cloud.contactcenterinsights.v1.Conversation.Builder, com.google.cloud.contactcenterinsights.v1.ConversationOrBuilder> conversationBuilder_; /** - * - * *
      * Required. The new values for the conversation.
      * 
* - * - * .google.cloud.contactcenterinsights.v1.Conversation conversation = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.contactcenterinsights.v1.Conversation conversation = 1 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the conversation field is set. */ public boolean hasConversation() { return ((bitField0_ & 0x00000001) != 0); } /** - * - * *
      * Required. The new values for the conversation.
      * 
* - * - * .google.cloud.contactcenterinsights.v1.Conversation conversation = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.contactcenterinsights.v1.Conversation conversation = 1 [(.google.api.field_behavior) = REQUIRED]; * @return The conversation. */ public com.google.cloud.contactcenterinsights.v1.Conversation getConversation() { if (conversationBuilder_ == null) { - return conversation_ == null - ? com.google.cloud.contactcenterinsights.v1.Conversation.getDefaultInstance() - : conversation_; + return conversation_ == null ? com.google.cloud.contactcenterinsights.v1.Conversation.getDefaultInstance() : conversation_; } else { return conversationBuilder_.getMessage(); } } /** - * - * *
      * Required. The new values for the conversation.
      * 
* - * - * .google.cloud.contactcenterinsights.v1.Conversation conversation = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.contactcenterinsights.v1.Conversation conversation = 1 [(.google.api.field_behavior) = REQUIRED]; */ public Builder setConversation(com.google.cloud.contactcenterinsights.v1.Conversation value) { if (conversationBuilder_ == null) { @@ -627,15 +549,11 @@ public Builder setConversation(com.google.cloud.contactcenterinsights.v1.Convers return this; } /** - * - * *
      * Required. The new values for the conversation.
      * 
* - * - * .google.cloud.contactcenterinsights.v1.Conversation conversation = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.contactcenterinsights.v1.Conversation conversation = 1 [(.google.api.field_behavior) = REQUIRED]; */ public Builder setConversation( com.google.cloud.contactcenterinsights.v1.Conversation.Builder builderForValue) { @@ -649,22 +567,17 @@ public Builder setConversation( return this; } /** - * - * *
      * Required. The new values for the conversation.
      * 
* - * - * .google.cloud.contactcenterinsights.v1.Conversation conversation = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.contactcenterinsights.v1.Conversation conversation = 1 [(.google.api.field_behavior) = REQUIRED]; */ public Builder mergeConversation(com.google.cloud.contactcenterinsights.v1.Conversation value) { if (conversationBuilder_ == null) { - if (((bitField0_ & 0x00000001) != 0) - && conversation_ != null - && conversation_ - != com.google.cloud.contactcenterinsights.v1.Conversation.getDefaultInstance()) { + if (((bitField0_ & 0x00000001) != 0) && + conversation_ != null && + conversation_ != com.google.cloud.contactcenterinsights.v1.Conversation.getDefaultInstance()) { getConversationBuilder().mergeFrom(value); } else { conversation_ = value; @@ -677,15 +590,11 @@ public Builder mergeConversation(com.google.cloud.contactcenterinsights.v1.Conve return this; } /** - * - * *
      * Required. The new values for the conversation.
      * 
* - * - * .google.cloud.contactcenterinsights.v1.Conversation conversation = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.contactcenterinsights.v1.Conversation conversation = 1 [(.google.api.field_behavior) = REQUIRED]; */ public Builder clearConversation() { bitField0_ = (bitField0_ & ~0x00000001); @@ -698,15 +607,11 @@ public Builder clearConversation() { return this; } /** - * - * *
      * Required. The new values for the conversation.
      * 
* - * - * .google.cloud.contactcenterinsights.v1.Conversation conversation = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.contactcenterinsights.v1.Conversation conversation = 1 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.cloud.contactcenterinsights.v1.Conversation.Builder getConversationBuilder() { bitField0_ |= 0x00000001; @@ -714,49 +619,36 @@ public com.google.cloud.contactcenterinsights.v1.Conversation.Builder getConvers return getConversationFieldBuilder().getBuilder(); } /** - * - * *
      * Required. The new values for the conversation.
      * 
* - * - * .google.cloud.contactcenterinsights.v1.Conversation conversation = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.contactcenterinsights.v1.Conversation conversation = 1 [(.google.api.field_behavior) = REQUIRED]; */ - public com.google.cloud.contactcenterinsights.v1.ConversationOrBuilder - getConversationOrBuilder() { + public com.google.cloud.contactcenterinsights.v1.ConversationOrBuilder getConversationOrBuilder() { if (conversationBuilder_ != null) { return conversationBuilder_.getMessageOrBuilder(); } else { - return conversation_ == null - ? com.google.cloud.contactcenterinsights.v1.Conversation.getDefaultInstance() - : conversation_; + return conversation_ == null ? + com.google.cloud.contactcenterinsights.v1.Conversation.getDefaultInstance() : conversation_; } } /** - * - * *
      * Required. The new values for the conversation.
      * 
* - * - * .google.cloud.contactcenterinsights.v1.Conversation conversation = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.contactcenterinsights.v1.Conversation conversation = 1 [(.google.api.field_behavior) = REQUIRED]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.contactcenterinsights.v1.Conversation, - com.google.cloud.contactcenterinsights.v1.Conversation.Builder, - com.google.cloud.contactcenterinsights.v1.ConversationOrBuilder> + com.google.cloud.contactcenterinsights.v1.Conversation, com.google.cloud.contactcenterinsights.v1.Conversation.Builder, com.google.cloud.contactcenterinsights.v1.ConversationOrBuilder> getConversationFieldBuilder() { if (conversationBuilder_ == null) { - conversationBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.contactcenterinsights.v1.Conversation, - com.google.cloud.contactcenterinsights.v1.Conversation.Builder, - com.google.cloud.contactcenterinsights.v1.ConversationOrBuilder>( - getConversation(), getParentForChildren(), isClean()); + conversationBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.contactcenterinsights.v1.Conversation, com.google.cloud.contactcenterinsights.v1.Conversation.Builder, com.google.cloud.contactcenterinsights.v1.ConversationOrBuilder>( + getConversation(), + getParentForChildren(), + isClean()); conversation_ = null; } return conversationBuilder_; @@ -764,47 +656,34 @@ public com.google.cloud.contactcenterinsights.v1.Conversation.Builder getConvers private com.google.protobuf.FieldMask updateMask_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.FieldMask, - com.google.protobuf.FieldMask.Builder, - com.google.protobuf.FieldMaskOrBuilder> - updateMaskBuilder_; + com.google.protobuf.FieldMask, com.google.protobuf.FieldMask.Builder, com.google.protobuf.FieldMaskOrBuilder> updateMaskBuilder_; /** - * - * *
      * The list of fields to be updated.
      * 
* * .google.protobuf.FieldMask update_mask = 2; - * * @return Whether the updateMask field is set. */ public boolean hasUpdateMask() { return ((bitField0_ & 0x00000002) != 0); } /** - * - * *
      * The list of fields to be updated.
      * 
* * .google.protobuf.FieldMask update_mask = 2; - * * @return The updateMask. */ public com.google.protobuf.FieldMask getUpdateMask() { if (updateMaskBuilder_ == null) { - return updateMask_ == null - ? com.google.protobuf.FieldMask.getDefaultInstance() - : updateMask_; + return updateMask_ == null ? com.google.protobuf.FieldMask.getDefaultInstance() : updateMask_; } else { return updateMaskBuilder_.getMessage(); } } /** - * - * *
      * The list of fields to be updated.
      * 
@@ -825,15 +704,14 @@ public Builder setUpdateMask(com.google.protobuf.FieldMask value) { return this; } /** - * - * *
      * The list of fields to be updated.
      * 
* * .google.protobuf.FieldMask update_mask = 2; */ - public Builder setUpdateMask(com.google.protobuf.FieldMask.Builder builderForValue) { + public Builder setUpdateMask( + com.google.protobuf.FieldMask.Builder builderForValue) { if (updateMaskBuilder_ == null) { updateMask_ = builderForValue.build(); } else { @@ -844,8 +722,6 @@ public Builder setUpdateMask(com.google.protobuf.FieldMask.Builder builderForVal return this; } /** - * - * *
      * The list of fields to be updated.
      * 
@@ -854,9 +730,9 @@ public Builder setUpdateMask(com.google.protobuf.FieldMask.Builder builderForVal */ public Builder mergeUpdateMask(com.google.protobuf.FieldMask value) { if (updateMaskBuilder_ == null) { - if (((bitField0_ & 0x00000002) != 0) - && updateMask_ != null - && updateMask_ != com.google.protobuf.FieldMask.getDefaultInstance()) { + if (((bitField0_ & 0x00000002) != 0) && + updateMask_ != null && + updateMask_ != com.google.protobuf.FieldMask.getDefaultInstance()) { getUpdateMaskBuilder().mergeFrom(value); } else { updateMask_ = value; @@ -869,8 +745,6 @@ public Builder mergeUpdateMask(com.google.protobuf.FieldMask value) { return this; } /** - * - * *
      * The list of fields to be updated.
      * 
@@ -888,8 +762,6 @@ public Builder clearUpdateMask() { return this; } /** - * - * *
      * The list of fields to be updated.
      * 
@@ -902,8 +774,6 @@ public com.google.protobuf.FieldMask.Builder getUpdateMaskBuilder() { return getUpdateMaskFieldBuilder().getBuilder(); } /** - * - * *
      * The list of fields to be updated.
      * 
@@ -914,14 +784,11 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() { if (updateMaskBuilder_ != null) { return updateMaskBuilder_.getMessageOrBuilder(); } else { - return updateMask_ == null - ? com.google.protobuf.FieldMask.getDefaultInstance() - : updateMask_; + return updateMask_ == null ? + com.google.protobuf.FieldMask.getDefaultInstance() : updateMask_; } } /** - * - * *
      * The list of fields to be updated.
      * 
@@ -929,24 +796,21 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() { * .google.protobuf.FieldMask update_mask = 2; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.FieldMask, - com.google.protobuf.FieldMask.Builder, - com.google.protobuf.FieldMaskOrBuilder> + com.google.protobuf.FieldMask, com.google.protobuf.FieldMask.Builder, com.google.protobuf.FieldMaskOrBuilder> getUpdateMaskFieldBuilder() { if (updateMaskBuilder_ == null) { - updateMaskBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.FieldMask, - com.google.protobuf.FieldMask.Builder, - com.google.protobuf.FieldMaskOrBuilder>( - getUpdateMask(), getParentForChildren(), isClean()); + updateMaskBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.FieldMask, com.google.protobuf.FieldMask.Builder, com.google.protobuf.FieldMaskOrBuilder>( + getUpdateMask(), + getParentForChildren(), + isClean()); updateMask_ = null; } return updateMaskBuilder_; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -956,43 +820,41 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.contactcenterinsights.v1.UpdateConversationRequest) } // @@protoc_insertion_point(class_scope:google.cloud.contactcenterinsights.v1.UpdateConversationRequest) - private static final com.google.cloud.contactcenterinsights.v1.UpdateConversationRequest - DEFAULT_INSTANCE; - + private static final com.google.cloud.contactcenterinsights.v1.UpdateConversationRequest DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.cloud.contactcenterinsights.v1.UpdateConversationRequest(); } - public static com.google.cloud.contactcenterinsights.v1.UpdateConversationRequest - getDefaultInstance() { + public static com.google.cloud.contactcenterinsights.v1.UpdateConversationRequest getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public UpdateConversationRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public UpdateConversationRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1004,8 +866,9 @@ public com.google.protobuf.Parser getParserForType() } @java.lang.Override - public com.google.cloud.contactcenterinsights.v1.UpdateConversationRequest - getDefaultInstanceForType() { + public com.google.cloud.contactcenterinsights.v1.UpdateConversationRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/UpdateConversationRequestOrBuilder.java b/owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/UpdateConversationRequestOrBuilder.java similarity index 57% rename from java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/UpdateConversationRequestOrBuilder.java rename to owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/UpdateConversationRequestOrBuilder.java index 31ea847a29bc..8790423a16e7 100644 --- a/java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/UpdateConversationRequestOrBuilder.java +++ b/owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/UpdateConversationRequestOrBuilder.java @@ -1,96 +1,58 @@ -/* - * 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. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/contactcenterinsights/v1/contact_center_insights.proto package com.google.cloud.contactcenterinsights.v1; -public interface UpdateConversationRequestOrBuilder - extends +public interface UpdateConversationRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.contactcenterinsights.v1.UpdateConversationRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Required. The new values for the conversation.
    * 
* - * - * .google.cloud.contactcenterinsights.v1.Conversation conversation = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.contactcenterinsights.v1.Conversation conversation = 1 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the conversation field is set. */ boolean hasConversation(); /** - * - * *
    * Required. The new values for the conversation.
    * 
* - * - * .google.cloud.contactcenterinsights.v1.Conversation conversation = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.contactcenterinsights.v1.Conversation conversation = 1 [(.google.api.field_behavior) = REQUIRED]; * @return The conversation. */ com.google.cloud.contactcenterinsights.v1.Conversation getConversation(); /** - * - * *
    * Required. The new values for the conversation.
    * 
* - * - * .google.cloud.contactcenterinsights.v1.Conversation conversation = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.contactcenterinsights.v1.Conversation conversation = 1 [(.google.api.field_behavior) = REQUIRED]; */ com.google.cloud.contactcenterinsights.v1.ConversationOrBuilder getConversationOrBuilder(); /** - * - * *
    * The list of fields to be updated.
    * 
* * .google.protobuf.FieldMask update_mask = 2; - * * @return Whether the updateMask field is set. */ boolean hasUpdateMask(); /** - * - * *
    * The list of fields to be updated.
    * 
* * .google.protobuf.FieldMask update_mask = 2; - * * @return The updateMask. */ com.google.protobuf.FieldMask getUpdateMask(); /** - * - * *
    * The list of fields to be updated.
    * 
diff --git a/java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/UpdateIssueModelRequest.java b/owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/UpdateIssueModelRequest.java similarity index 61% rename from java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/UpdateIssueModelRequest.java rename to owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/UpdateIssueModelRequest.java index 75b8706c3b52..5d59f22125ef 100644 --- a/java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/UpdateIssueModelRequest.java +++ b/owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/UpdateIssueModelRequest.java @@ -1,83 +1,60 @@ -/* - * 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. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/contactcenterinsights/v1/contact_center_insights.proto package com.google.cloud.contactcenterinsights.v1; /** - * - * *
  * The request to update an issue model.
  * 
* * Protobuf type {@code google.cloud.contactcenterinsights.v1.UpdateIssueModelRequest} */ -public final class UpdateIssueModelRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class UpdateIssueModelRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.contactcenterinsights.v1.UpdateIssueModelRequest) UpdateIssueModelRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use UpdateIssueModelRequest.newBuilder() to construct. private UpdateIssueModelRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - - private UpdateIssueModelRequest() {} + private UpdateIssueModelRequest() { + } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new UpdateIssueModelRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto - .internal_static_google_cloud_contactcenterinsights_v1_UpdateIssueModelRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto.internal_static_google_cloud_contactcenterinsights_v1_UpdateIssueModelRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto - .internal_static_google_cloud_contactcenterinsights_v1_UpdateIssueModelRequest_fieldAccessorTable + return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto.internal_static_google_cloud_contactcenterinsights_v1_UpdateIssueModelRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.contactcenterinsights.v1.UpdateIssueModelRequest.class, - com.google.cloud.contactcenterinsights.v1.UpdateIssueModelRequest.Builder.class); + com.google.cloud.contactcenterinsights.v1.UpdateIssueModelRequest.class, com.google.cloud.contactcenterinsights.v1.UpdateIssueModelRequest.Builder.class); } public static final int ISSUE_MODEL_FIELD_NUMBER = 1; private com.google.cloud.contactcenterinsights.v1.IssueModel issueModel_; /** - * - * *
    * Required. The new values for the issue model.
    * 
* - * - * .google.cloud.contactcenterinsights.v1.IssueModel issue_model = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.contactcenterinsights.v1.IssueModel issue_model = 1 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the issueModel field is set. */ @java.lang.Override @@ -85,53 +62,37 @@ public boolean hasIssueModel() { return issueModel_ != null; } /** - * - * *
    * Required. The new values for the issue model.
    * 
* - * - * .google.cloud.contactcenterinsights.v1.IssueModel issue_model = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.contactcenterinsights.v1.IssueModel issue_model = 1 [(.google.api.field_behavior) = REQUIRED]; * @return The issueModel. */ @java.lang.Override public com.google.cloud.contactcenterinsights.v1.IssueModel getIssueModel() { - return issueModel_ == null - ? com.google.cloud.contactcenterinsights.v1.IssueModel.getDefaultInstance() - : issueModel_; + return issueModel_ == null ? com.google.cloud.contactcenterinsights.v1.IssueModel.getDefaultInstance() : issueModel_; } /** - * - * *
    * Required. The new values for the issue model.
    * 
* - * - * .google.cloud.contactcenterinsights.v1.IssueModel issue_model = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.contactcenterinsights.v1.IssueModel issue_model = 1 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override public com.google.cloud.contactcenterinsights.v1.IssueModelOrBuilder getIssueModelOrBuilder() { - return issueModel_ == null - ? com.google.cloud.contactcenterinsights.v1.IssueModel.getDefaultInstance() - : issueModel_; + return issueModel_ == null ? com.google.cloud.contactcenterinsights.v1.IssueModel.getDefaultInstance() : issueModel_; } public static final int UPDATE_MASK_FIELD_NUMBER = 2; private com.google.protobuf.FieldMask updateMask_; /** - * - * *
    * The list of fields to be updated.
    * 
* * .google.protobuf.FieldMask update_mask = 2; - * * @return Whether the updateMask field is set. */ @java.lang.Override @@ -139,14 +100,11 @@ public boolean hasUpdateMask() { return updateMask_ != null; } /** - * - * *
    * The list of fields to be updated.
    * 
* * .google.protobuf.FieldMask update_mask = 2; - * * @return The updateMask. */ @java.lang.Override @@ -154,8 +112,6 @@ public com.google.protobuf.FieldMask getUpdateMask() { return updateMask_ == null ? com.google.protobuf.FieldMask.getDefaultInstance() : updateMask_; } /** - * - * *
    * The list of fields to be updated.
    * 
@@ -168,7 +124,6 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -180,7 +135,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (issueModel_ != null) { output.writeMessage(1, getIssueModel()); } @@ -197,10 +153,12 @@ public int getSerializedSize() { size = 0; if (issueModel_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getIssueModel()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, getIssueModel()); } if (updateMask_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getUpdateMask()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, getUpdateMask()); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -210,21 +168,22 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.contactcenterinsights.v1.UpdateIssueModelRequest)) { return super.equals(obj); } - com.google.cloud.contactcenterinsights.v1.UpdateIssueModelRequest other = - (com.google.cloud.contactcenterinsights.v1.UpdateIssueModelRequest) obj; + com.google.cloud.contactcenterinsights.v1.UpdateIssueModelRequest other = (com.google.cloud.contactcenterinsights.v1.UpdateIssueModelRequest) obj; if (hasIssueModel() != other.hasIssueModel()) return false; if (hasIssueModel()) { - if (!getIssueModel().equals(other.getIssueModel())) return false; + if (!getIssueModel() + .equals(other.getIssueModel())) return false; } if (hasUpdateMask() != other.hasUpdateMask()) return false; if (hasUpdateMask()) { - if (!getUpdateMask().equals(other.getUpdateMask())) return false; + if (!getUpdateMask() + .equals(other.getUpdateMask())) return false; } if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -251,138 +210,129 @@ public int hashCode() { } public static com.google.cloud.contactcenterinsights.v1.UpdateIssueModelRequest parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.contactcenterinsights.v1.UpdateIssueModelRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.contactcenterinsights.v1.UpdateIssueModelRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.contactcenterinsights.v1.UpdateIssueModelRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.contactcenterinsights.v1.UpdateIssueModelRequest parseFrom( - byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.contactcenterinsights.v1.UpdateIssueModelRequest parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.contactcenterinsights.v1.UpdateIssueModelRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.contactcenterinsights.v1.UpdateIssueModelRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.contactcenterinsights.v1.UpdateIssueModelRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.contactcenterinsights.v1.UpdateIssueModelRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.contactcenterinsights.v1.UpdateIssueModelRequest - parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.contactcenterinsights.v1.UpdateIssueModelRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - - public static com.google.cloud.contactcenterinsights.v1.UpdateIssueModelRequest - parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + public static com.google.cloud.contactcenterinsights.v1.UpdateIssueModelRequest parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.contactcenterinsights.v1.UpdateIssueModelRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.contactcenterinsights.v1.UpdateIssueModelRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.contactcenterinsights.v1.UpdateIssueModelRequest prototype) { + public static Builder newBuilder(com.google.cloud.contactcenterinsights.v1.UpdateIssueModelRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * The request to update an issue model.
    * 
* * Protobuf type {@code google.cloud.contactcenterinsights.v1.UpdateIssueModelRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.contactcenterinsights.v1.UpdateIssueModelRequest) com.google.cloud.contactcenterinsights.v1.UpdateIssueModelRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto - .internal_static_google_cloud_contactcenterinsights_v1_UpdateIssueModelRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto.internal_static_google_cloud_contactcenterinsights_v1_UpdateIssueModelRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto - .internal_static_google_cloud_contactcenterinsights_v1_UpdateIssueModelRequest_fieldAccessorTable + return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto.internal_static_google_cloud_contactcenterinsights_v1_UpdateIssueModelRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.contactcenterinsights.v1.UpdateIssueModelRequest.class, - com.google.cloud.contactcenterinsights.v1.UpdateIssueModelRequest.Builder.class); + com.google.cloud.contactcenterinsights.v1.UpdateIssueModelRequest.class, com.google.cloud.contactcenterinsights.v1.UpdateIssueModelRequest.Builder.class); } - // Construct using - // com.google.cloud.contactcenterinsights.v1.UpdateIssueModelRequest.newBuilder() - private Builder() {} + // Construct using com.google.cloud.contactcenterinsights.v1.UpdateIssueModelRequest.newBuilder() + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -401,14 +351,13 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto - .internal_static_google_cloud_contactcenterinsights_v1_UpdateIssueModelRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto.internal_static_google_cloud_contactcenterinsights_v1_UpdateIssueModelRequest_descriptor; } @java.lang.Override - public com.google.cloud.contactcenterinsights.v1.UpdateIssueModelRequest - getDefaultInstanceForType() { + public com.google.cloud.contactcenterinsights.v1.UpdateIssueModelRequest getDefaultInstanceForType() { return com.google.cloud.contactcenterinsights.v1.UpdateIssueModelRequest.getDefaultInstance(); } @@ -423,23 +372,23 @@ public com.google.cloud.contactcenterinsights.v1.UpdateIssueModelRequest build() @java.lang.Override public com.google.cloud.contactcenterinsights.v1.UpdateIssueModelRequest buildPartial() { - com.google.cloud.contactcenterinsights.v1.UpdateIssueModelRequest result = - new com.google.cloud.contactcenterinsights.v1.UpdateIssueModelRequest(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + com.google.cloud.contactcenterinsights.v1.UpdateIssueModelRequest result = new com.google.cloud.contactcenterinsights.v1.UpdateIssueModelRequest(this); + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } - private void buildPartial0( - com.google.cloud.contactcenterinsights.v1.UpdateIssueModelRequest result) { + private void buildPartial0(com.google.cloud.contactcenterinsights.v1.UpdateIssueModelRequest result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { - result.issueModel_ = issueModelBuilder_ == null ? issueModel_ : issueModelBuilder_.build(); + result.issueModel_ = issueModelBuilder_ == null + ? issueModel_ + : issueModelBuilder_.build(); } if (((from_bitField0_ & 0x00000002) != 0)) { - result.updateMask_ = updateMaskBuilder_ == null ? updateMask_ : updateMaskBuilder_.build(); + result.updateMask_ = updateMaskBuilder_ == null + ? updateMask_ + : updateMaskBuilder_.build(); } } @@ -447,50 +396,46 @@ private void buildPartial0( public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.contactcenterinsights.v1.UpdateIssueModelRequest) { - return mergeFrom((com.google.cloud.contactcenterinsights.v1.UpdateIssueModelRequest) other); + return mergeFrom((com.google.cloud.contactcenterinsights.v1.UpdateIssueModelRequest)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom( - com.google.cloud.contactcenterinsights.v1.UpdateIssueModelRequest other) { - if (other - == com.google.cloud.contactcenterinsights.v1.UpdateIssueModelRequest.getDefaultInstance()) - return this; + public Builder mergeFrom(com.google.cloud.contactcenterinsights.v1.UpdateIssueModelRequest other) { + if (other == com.google.cloud.contactcenterinsights.v1.UpdateIssueModelRequest.getDefaultInstance()) return this; if (other.hasIssueModel()) { mergeIssueModel(other.getIssueModel()); } @@ -523,25 +468,26 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - input.readMessage(getIssueModelFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: - { - input.readMessage(getUpdateMaskFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00000002; - break; - } // case 18 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + input.readMessage( + getIssueModelFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: { + input.readMessage( + getUpdateMaskFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00000002; + break; + } // case 18 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -551,63 +497,43 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private com.google.cloud.contactcenterinsights.v1.IssueModel issueModel_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.contactcenterinsights.v1.IssueModel, - com.google.cloud.contactcenterinsights.v1.IssueModel.Builder, - com.google.cloud.contactcenterinsights.v1.IssueModelOrBuilder> - issueModelBuilder_; + com.google.cloud.contactcenterinsights.v1.IssueModel, com.google.cloud.contactcenterinsights.v1.IssueModel.Builder, com.google.cloud.contactcenterinsights.v1.IssueModelOrBuilder> issueModelBuilder_; /** - * - * *
      * Required. The new values for the issue model.
      * 
* - * - * .google.cloud.contactcenterinsights.v1.IssueModel issue_model = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.contactcenterinsights.v1.IssueModel issue_model = 1 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the issueModel field is set. */ public boolean hasIssueModel() { return ((bitField0_ & 0x00000001) != 0); } /** - * - * *
      * Required. The new values for the issue model.
      * 
* - * - * .google.cloud.contactcenterinsights.v1.IssueModel issue_model = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.contactcenterinsights.v1.IssueModel issue_model = 1 [(.google.api.field_behavior) = REQUIRED]; * @return The issueModel. */ public com.google.cloud.contactcenterinsights.v1.IssueModel getIssueModel() { if (issueModelBuilder_ == null) { - return issueModel_ == null - ? com.google.cloud.contactcenterinsights.v1.IssueModel.getDefaultInstance() - : issueModel_; + return issueModel_ == null ? com.google.cloud.contactcenterinsights.v1.IssueModel.getDefaultInstance() : issueModel_; } else { return issueModelBuilder_.getMessage(); } } /** - * - * *
      * Required. The new values for the issue model.
      * 
* - * - * .google.cloud.contactcenterinsights.v1.IssueModel issue_model = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.contactcenterinsights.v1.IssueModel issue_model = 1 [(.google.api.field_behavior) = REQUIRED]; */ public Builder setIssueModel(com.google.cloud.contactcenterinsights.v1.IssueModel value) { if (issueModelBuilder_ == null) { @@ -623,15 +549,11 @@ public Builder setIssueModel(com.google.cloud.contactcenterinsights.v1.IssueMode return this; } /** - * - * *
      * Required. The new values for the issue model.
      * 
* - * - * .google.cloud.contactcenterinsights.v1.IssueModel issue_model = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.contactcenterinsights.v1.IssueModel issue_model = 1 [(.google.api.field_behavior) = REQUIRED]; */ public Builder setIssueModel( com.google.cloud.contactcenterinsights.v1.IssueModel.Builder builderForValue) { @@ -645,22 +567,17 @@ public Builder setIssueModel( return this; } /** - * - * *
      * Required. The new values for the issue model.
      * 
* - * - * .google.cloud.contactcenterinsights.v1.IssueModel issue_model = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.contactcenterinsights.v1.IssueModel issue_model = 1 [(.google.api.field_behavior) = REQUIRED]; */ public Builder mergeIssueModel(com.google.cloud.contactcenterinsights.v1.IssueModel value) { if (issueModelBuilder_ == null) { - if (((bitField0_ & 0x00000001) != 0) - && issueModel_ != null - && issueModel_ - != com.google.cloud.contactcenterinsights.v1.IssueModel.getDefaultInstance()) { + if (((bitField0_ & 0x00000001) != 0) && + issueModel_ != null && + issueModel_ != com.google.cloud.contactcenterinsights.v1.IssueModel.getDefaultInstance()) { getIssueModelBuilder().mergeFrom(value); } else { issueModel_ = value; @@ -673,15 +590,11 @@ public Builder mergeIssueModel(com.google.cloud.contactcenterinsights.v1.IssueMo return this; } /** - * - * *
      * Required. The new values for the issue model.
      * 
* - * - * .google.cloud.contactcenterinsights.v1.IssueModel issue_model = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.contactcenterinsights.v1.IssueModel issue_model = 1 [(.google.api.field_behavior) = REQUIRED]; */ public Builder clearIssueModel() { bitField0_ = (bitField0_ & ~0x00000001); @@ -694,15 +607,11 @@ public Builder clearIssueModel() { return this; } /** - * - * *
      * Required. The new values for the issue model.
      * 
* - * - * .google.cloud.contactcenterinsights.v1.IssueModel issue_model = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.contactcenterinsights.v1.IssueModel issue_model = 1 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.cloud.contactcenterinsights.v1.IssueModel.Builder getIssueModelBuilder() { bitField0_ |= 0x00000001; @@ -710,48 +619,36 @@ public com.google.cloud.contactcenterinsights.v1.IssueModel.Builder getIssueMode return getIssueModelFieldBuilder().getBuilder(); } /** - * - * *
      * Required. The new values for the issue model.
      * 
* - * - * .google.cloud.contactcenterinsights.v1.IssueModel issue_model = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.contactcenterinsights.v1.IssueModel issue_model = 1 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.cloud.contactcenterinsights.v1.IssueModelOrBuilder getIssueModelOrBuilder() { if (issueModelBuilder_ != null) { return issueModelBuilder_.getMessageOrBuilder(); } else { - return issueModel_ == null - ? com.google.cloud.contactcenterinsights.v1.IssueModel.getDefaultInstance() - : issueModel_; + return issueModel_ == null ? + com.google.cloud.contactcenterinsights.v1.IssueModel.getDefaultInstance() : issueModel_; } } /** - * - * *
      * Required. The new values for the issue model.
      * 
* - * - * .google.cloud.contactcenterinsights.v1.IssueModel issue_model = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.contactcenterinsights.v1.IssueModel issue_model = 1 [(.google.api.field_behavior) = REQUIRED]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.contactcenterinsights.v1.IssueModel, - com.google.cloud.contactcenterinsights.v1.IssueModel.Builder, - com.google.cloud.contactcenterinsights.v1.IssueModelOrBuilder> + com.google.cloud.contactcenterinsights.v1.IssueModel, com.google.cloud.contactcenterinsights.v1.IssueModel.Builder, com.google.cloud.contactcenterinsights.v1.IssueModelOrBuilder> getIssueModelFieldBuilder() { if (issueModelBuilder_ == null) { - issueModelBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.contactcenterinsights.v1.IssueModel, - com.google.cloud.contactcenterinsights.v1.IssueModel.Builder, - com.google.cloud.contactcenterinsights.v1.IssueModelOrBuilder>( - getIssueModel(), getParentForChildren(), isClean()); + issueModelBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.contactcenterinsights.v1.IssueModel, com.google.cloud.contactcenterinsights.v1.IssueModel.Builder, com.google.cloud.contactcenterinsights.v1.IssueModelOrBuilder>( + getIssueModel(), + getParentForChildren(), + isClean()); issueModel_ = null; } return issueModelBuilder_; @@ -759,47 +656,34 @@ public com.google.cloud.contactcenterinsights.v1.IssueModelOrBuilder getIssueMod private com.google.protobuf.FieldMask updateMask_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.FieldMask, - com.google.protobuf.FieldMask.Builder, - com.google.protobuf.FieldMaskOrBuilder> - updateMaskBuilder_; + com.google.protobuf.FieldMask, com.google.protobuf.FieldMask.Builder, com.google.protobuf.FieldMaskOrBuilder> updateMaskBuilder_; /** - * - * *
      * The list of fields to be updated.
      * 
* * .google.protobuf.FieldMask update_mask = 2; - * * @return Whether the updateMask field is set. */ public boolean hasUpdateMask() { return ((bitField0_ & 0x00000002) != 0); } /** - * - * *
      * The list of fields to be updated.
      * 
* * .google.protobuf.FieldMask update_mask = 2; - * * @return The updateMask. */ public com.google.protobuf.FieldMask getUpdateMask() { if (updateMaskBuilder_ == null) { - return updateMask_ == null - ? com.google.protobuf.FieldMask.getDefaultInstance() - : updateMask_; + return updateMask_ == null ? com.google.protobuf.FieldMask.getDefaultInstance() : updateMask_; } else { return updateMaskBuilder_.getMessage(); } } /** - * - * *
      * The list of fields to be updated.
      * 
@@ -820,15 +704,14 @@ public Builder setUpdateMask(com.google.protobuf.FieldMask value) { return this; } /** - * - * *
      * The list of fields to be updated.
      * 
* * .google.protobuf.FieldMask update_mask = 2; */ - public Builder setUpdateMask(com.google.protobuf.FieldMask.Builder builderForValue) { + public Builder setUpdateMask( + com.google.protobuf.FieldMask.Builder builderForValue) { if (updateMaskBuilder_ == null) { updateMask_ = builderForValue.build(); } else { @@ -839,8 +722,6 @@ public Builder setUpdateMask(com.google.protobuf.FieldMask.Builder builderForVal return this; } /** - * - * *
      * The list of fields to be updated.
      * 
@@ -849,9 +730,9 @@ public Builder setUpdateMask(com.google.protobuf.FieldMask.Builder builderForVal */ public Builder mergeUpdateMask(com.google.protobuf.FieldMask value) { if (updateMaskBuilder_ == null) { - if (((bitField0_ & 0x00000002) != 0) - && updateMask_ != null - && updateMask_ != com.google.protobuf.FieldMask.getDefaultInstance()) { + if (((bitField0_ & 0x00000002) != 0) && + updateMask_ != null && + updateMask_ != com.google.protobuf.FieldMask.getDefaultInstance()) { getUpdateMaskBuilder().mergeFrom(value); } else { updateMask_ = value; @@ -864,8 +745,6 @@ public Builder mergeUpdateMask(com.google.protobuf.FieldMask value) { return this; } /** - * - * *
      * The list of fields to be updated.
      * 
@@ -883,8 +762,6 @@ public Builder clearUpdateMask() { return this; } /** - * - * *
      * The list of fields to be updated.
      * 
@@ -897,8 +774,6 @@ public com.google.protobuf.FieldMask.Builder getUpdateMaskBuilder() { return getUpdateMaskFieldBuilder().getBuilder(); } /** - * - * *
      * The list of fields to be updated.
      * 
@@ -909,14 +784,11 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() { if (updateMaskBuilder_ != null) { return updateMaskBuilder_.getMessageOrBuilder(); } else { - return updateMask_ == null - ? com.google.protobuf.FieldMask.getDefaultInstance() - : updateMask_; + return updateMask_ == null ? + com.google.protobuf.FieldMask.getDefaultInstance() : updateMask_; } } /** - * - * *
      * The list of fields to be updated.
      * 
@@ -924,24 +796,21 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() { * .google.protobuf.FieldMask update_mask = 2; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.FieldMask, - com.google.protobuf.FieldMask.Builder, - com.google.protobuf.FieldMaskOrBuilder> + com.google.protobuf.FieldMask, com.google.protobuf.FieldMask.Builder, com.google.protobuf.FieldMaskOrBuilder> getUpdateMaskFieldBuilder() { if (updateMaskBuilder_ == null) { - updateMaskBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.FieldMask, - com.google.protobuf.FieldMask.Builder, - com.google.protobuf.FieldMaskOrBuilder>( - getUpdateMask(), getParentForChildren(), isClean()); + updateMaskBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.FieldMask, com.google.protobuf.FieldMask.Builder, com.google.protobuf.FieldMaskOrBuilder>( + getUpdateMask(), + getParentForChildren(), + isClean()); updateMask_ = null; } return updateMaskBuilder_; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -951,43 +820,41 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.contactcenterinsights.v1.UpdateIssueModelRequest) } // @@protoc_insertion_point(class_scope:google.cloud.contactcenterinsights.v1.UpdateIssueModelRequest) - private static final com.google.cloud.contactcenterinsights.v1.UpdateIssueModelRequest - DEFAULT_INSTANCE; - + private static final com.google.cloud.contactcenterinsights.v1.UpdateIssueModelRequest DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.cloud.contactcenterinsights.v1.UpdateIssueModelRequest(); } - public static com.google.cloud.contactcenterinsights.v1.UpdateIssueModelRequest - getDefaultInstance() { + public static com.google.cloud.contactcenterinsights.v1.UpdateIssueModelRequest getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public UpdateIssueModelRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public UpdateIssueModelRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -999,8 +866,9 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.cloud.contactcenterinsights.v1.UpdateIssueModelRequest - getDefaultInstanceForType() { + public com.google.cloud.contactcenterinsights.v1.UpdateIssueModelRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/UpdateIssueModelRequestOrBuilder.java b/owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/UpdateIssueModelRequestOrBuilder.java similarity index 57% rename from java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/UpdateIssueModelRequestOrBuilder.java rename to owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/UpdateIssueModelRequestOrBuilder.java index c94e49ea0fb9..b6afb01f6ab5 100644 --- a/java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/UpdateIssueModelRequestOrBuilder.java +++ b/owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/UpdateIssueModelRequestOrBuilder.java @@ -1,96 +1,58 @@ -/* - * 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. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/contactcenterinsights/v1/contact_center_insights.proto package com.google.cloud.contactcenterinsights.v1; -public interface UpdateIssueModelRequestOrBuilder - extends +public interface UpdateIssueModelRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.contactcenterinsights.v1.UpdateIssueModelRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Required. The new values for the issue model.
    * 
* - * - * .google.cloud.contactcenterinsights.v1.IssueModel issue_model = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.contactcenterinsights.v1.IssueModel issue_model = 1 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the issueModel field is set. */ boolean hasIssueModel(); /** - * - * *
    * Required. The new values for the issue model.
    * 
* - * - * .google.cloud.contactcenterinsights.v1.IssueModel issue_model = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.contactcenterinsights.v1.IssueModel issue_model = 1 [(.google.api.field_behavior) = REQUIRED]; * @return The issueModel. */ com.google.cloud.contactcenterinsights.v1.IssueModel getIssueModel(); /** - * - * *
    * Required. The new values for the issue model.
    * 
* - * - * .google.cloud.contactcenterinsights.v1.IssueModel issue_model = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.contactcenterinsights.v1.IssueModel issue_model = 1 [(.google.api.field_behavior) = REQUIRED]; */ com.google.cloud.contactcenterinsights.v1.IssueModelOrBuilder getIssueModelOrBuilder(); /** - * - * *
    * The list of fields to be updated.
    * 
* * .google.protobuf.FieldMask update_mask = 2; - * * @return Whether the updateMask field is set. */ boolean hasUpdateMask(); /** - * - * *
    * The list of fields to be updated.
    * 
* * .google.protobuf.FieldMask update_mask = 2; - * * @return The updateMask. */ com.google.protobuf.FieldMask getUpdateMask(); /** - * - * *
    * The list of fields to be updated.
    * 
diff --git a/java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/UpdateIssueRequest.java b/owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/UpdateIssueRequest.java similarity index 63% rename from java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/UpdateIssueRequest.java rename to owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/UpdateIssueRequest.java index 84b4fb5ce4e9..f951cc6b1289 100644 --- a/java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/UpdateIssueRequest.java +++ b/owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/UpdateIssueRequest.java @@ -1,83 +1,60 @@ -/* - * 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. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/contactcenterinsights/v1/contact_center_insights.proto package com.google.cloud.contactcenterinsights.v1; /** - * - * *
  * The request to update an issue.
  * 
* * Protobuf type {@code google.cloud.contactcenterinsights.v1.UpdateIssueRequest} */ -public final class UpdateIssueRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class UpdateIssueRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.contactcenterinsights.v1.UpdateIssueRequest) UpdateIssueRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use UpdateIssueRequest.newBuilder() to construct. private UpdateIssueRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - - private UpdateIssueRequest() {} + private UpdateIssueRequest() { + } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new UpdateIssueRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto - .internal_static_google_cloud_contactcenterinsights_v1_UpdateIssueRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto.internal_static_google_cloud_contactcenterinsights_v1_UpdateIssueRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto - .internal_static_google_cloud_contactcenterinsights_v1_UpdateIssueRequest_fieldAccessorTable + return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto.internal_static_google_cloud_contactcenterinsights_v1_UpdateIssueRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.contactcenterinsights.v1.UpdateIssueRequest.class, - com.google.cloud.contactcenterinsights.v1.UpdateIssueRequest.Builder.class); + com.google.cloud.contactcenterinsights.v1.UpdateIssueRequest.class, com.google.cloud.contactcenterinsights.v1.UpdateIssueRequest.Builder.class); } public static final int ISSUE_FIELD_NUMBER = 1; private com.google.cloud.contactcenterinsights.v1.Issue issue_; /** - * - * *
    * Required. The new values for the issue.
    * 
* - * - * .google.cloud.contactcenterinsights.v1.Issue issue = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.contactcenterinsights.v1.Issue issue = 1 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the issue field is set. */ @java.lang.Override @@ -85,53 +62,37 @@ public boolean hasIssue() { return issue_ != null; } /** - * - * *
    * Required. The new values for the issue.
    * 
* - * - * .google.cloud.contactcenterinsights.v1.Issue issue = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.contactcenterinsights.v1.Issue issue = 1 [(.google.api.field_behavior) = REQUIRED]; * @return The issue. */ @java.lang.Override public com.google.cloud.contactcenterinsights.v1.Issue getIssue() { - return issue_ == null - ? com.google.cloud.contactcenterinsights.v1.Issue.getDefaultInstance() - : issue_; + return issue_ == null ? com.google.cloud.contactcenterinsights.v1.Issue.getDefaultInstance() : issue_; } /** - * - * *
    * Required. The new values for the issue.
    * 
* - * - * .google.cloud.contactcenterinsights.v1.Issue issue = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.contactcenterinsights.v1.Issue issue = 1 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override public com.google.cloud.contactcenterinsights.v1.IssueOrBuilder getIssueOrBuilder() { - return issue_ == null - ? com.google.cloud.contactcenterinsights.v1.Issue.getDefaultInstance() - : issue_; + return issue_ == null ? com.google.cloud.contactcenterinsights.v1.Issue.getDefaultInstance() : issue_; } public static final int UPDATE_MASK_FIELD_NUMBER = 2; private com.google.protobuf.FieldMask updateMask_; /** - * - * *
    * The list of fields to be updated.
    * 
* * .google.protobuf.FieldMask update_mask = 2; - * * @return Whether the updateMask field is set. */ @java.lang.Override @@ -139,14 +100,11 @@ public boolean hasUpdateMask() { return updateMask_ != null; } /** - * - * *
    * The list of fields to be updated.
    * 
* * .google.protobuf.FieldMask update_mask = 2; - * * @return The updateMask. */ @java.lang.Override @@ -154,8 +112,6 @@ public com.google.protobuf.FieldMask getUpdateMask() { return updateMask_ == null ? com.google.protobuf.FieldMask.getDefaultInstance() : updateMask_; } /** - * - * *
    * The list of fields to be updated.
    * 
@@ -168,7 +124,6 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -180,7 +135,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (issue_ != null) { output.writeMessage(1, getIssue()); } @@ -197,10 +153,12 @@ public int getSerializedSize() { size = 0; if (issue_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getIssue()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, getIssue()); } if (updateMask_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getUpdateMask()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, getUpdateMask()); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -210,21 +168,22 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.contactcenterinsights.v1.UpdateIssueRequest)) { return super.equals(obj); } - com.google.cloud.contactcenterinsights.v1.UpdateIssueRequest other = - (com.google.cloud.contactcenterinsights.v1.UpdateIssueRequest) obj; + com.google.cloud.contactcenterinsights.v1.UpdateIssueRequest other = (com.google.cloud.contactcenterinsights.v1.UpdateIssueRequest) obj; if (hasIssue() != other.hasIssue()) return false; if (hasIssue()) { - if (!getIssue().equals(other.getIssue())) return false; + if (!getIssue() + .equals(other.getIssue())) return false; } if (hasUpdateMask() != other.hasUpdateMask()) return false; if (hasUpdateMask()) { - if (!getUpdateMask().equals(other.getUpdateMask())) return false; + if (!getUpdateMask() + .equals(other.getUpdateMask())) return false; } if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -251,136 +210,129 @@ public int hashCode() { } public static com.google.cloud.contactcenterinsights.v1.UpdateIssueRequest parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.contactcenterinsights.v1.UpdateIssueRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.contactcenterinsights.v1.UpdateIssueRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.contactcenterinsights.v1.UpdateIssueRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.contactcenterinsights.v1.UpdateIssueRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.contactcenterinsights.v1.UpdateIssueRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.contactcenterinsights.v1.UpdateIssueRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.contactcenterinsights.v1.UpdateIssueRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.contactcenterinsights.v1.UpdateIssueRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.contactcenterinsights.v1.UpdateIssueRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.contactcenterinsights.v1.UpdateIssueRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.contactcenterinsights.v1.UpdateIssueRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.contactcenterinsights.v1.UpdateIssueRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.contactcenterinsights.v1.UpdateIssueRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.contactcenterinsights.v1.UpdateIssueRequest prototype) { + public static Builder newBuilder(com.google.cloud.contactcenterinsights.v1.UpdateIssueRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * The request to update an issue.
    * 
* * Protobuf type {@code google.cloud.contactcenterinsights.v1.UpdateIssueRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.contactcenterinsights.v1.UpdateIssueRequest) com.google.cloud.contactcenterinsights.v1.UpdateIssueRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto - .internal_static_google_cloud_contactcenterinsights_v1_UpdateIssueRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto.internal_static_google_cloud_contactcenterinsights_v1_UpdateIssueRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto - .internal_static_google_cloud_contactcenterinsights_v1_UpdateIssueRequest_fieldAccessorTable + return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto.internal_static_google_cloud_contactcenterinsights_v1_UpdateIssueRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.contactcenterinsights.v1.UpdateIssueRequest.class, - com.google.cloud.contactcenterinsights.v1.UpdateIssueRequest.Builder.class); + com.google.cloud.contactcenterinsights.v1.UpdateIssueRequest.class, com.google.cloud.contactcenterinsights.v1.UpdateIssueRequest.Builder.class); } // Construct using com.google.cloud.contactcenterinsights.v1.UpdateIssueRequest.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -399,14 +351,13 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto - .internal_static_google_cloud_contactcenterinsights_v1_UpdateIssueRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto.internal_static_google_cloud_contactcenterinsights_v1_UpdateIssueRequest_descriptor; } @java.lang.Override - public com.google.cloud.contactcenterinsights.v1.UpdateIssueRequest - getDefaultInstanceForType() { + public com.google.cloud.contactcenterinsights.v1.UpdateIssueRequest getDefaultInstanceForType() { return com.google.cloud.contactcenterinsights.v1.UpdateIssueRequest.getDefaultInstance(); } @@ -421,23 +372,23 @@ public com.google.cloud.contactcenterinsights.v1.UpdateIssueRequest build() { @java.lang.Override public com.google.cloud.contactcenterinsights.v1.UpdateIssueRequest buildPartial() { - com.google.cloud.contactcenterinsights.v1.UpdateIssueRequest result = - new com.google.cloud.contactcenterinsights.v1.UpdateIssueRequest(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + com.google.cloud.contactcenterinsights.v1.UpdateIssueRequest result = new com.google.cloud.contactcenterinsights.v1.UpdateIssueRequest(this); + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } - private void buildPartial0( - com.google.cloud.contactcenterinsights.v1.UpdateIssueRequest result) { + private void buildPartial0(com.google.cloud.contactcenterinsights.v1.UpdateIssueRequest result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { - result.issue_ = issueBuilder_ == null ? issue_ : issueBuilder_.build(); + result.issue_ = issueBuilder_ == null + ? issue_ + : issueBuilder_.build(); } if (((from_bitField0_ & 0x00000002) != 0)) { - result.updateMask_ = updateMaskBuilder_ == null ? updateMask_ : updateMaskBuilder_.build(); + result.updateMask_ = updateMaskBuilder_ == null + ? updateMask_ + : updateMaskBuilder_.build(); } } @@ -445,39 +396,38 @@ private void buildPartial0( public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.contactcenterinsights.v1.UpdateIssueRequest) { - return mergeFrom((com.google.cloud.contactcenterinsights.v1.UpdateIssueRequest) other); + return mergeFrom((com.google.cloud.contactcenterinsights.v1.UpdateIssueRequest)other); } else { super.mergeFrom(other); return this; @@ -485,9 +435,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.contactcenterinsights.v1.UpdateIssueRequest other) { - if (other - == com.google.cloud.contactcenterinsights.v1.UpdateIssueRequest.getDefaultInstance()) - return this; + if (other == com.google.cloud.contactcenterinsights.v1.UpdateIssueRequest.getDefaultInstance()) return this; if (other.hasIssue()) { mergeIssue(other.getIssue()); } @@ -520,25 +468,26 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - input.readMessage(getIssueFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: - { - input.readMessage(getUpdateMaskFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00000002; - break; - } // case 18 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + input.readMessage( + getIssueFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: { + input.readMessage( + getUpdateMaskFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00000002; + break; + } // case 18 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -548,63 +497,43 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private com.google.cloud.contactcenterinsights.v1.Issue issue_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.contactcenterinsights.v1.Issue, - com.google.cloud.contactcenterinsights.v1.Issue.Builder, - com.google.cloud.contactcenterinsights.v1.IssueOrBuilder> - issueBuilder_; + com.google.cloud.contactcenterinsights.v1.Issue, com.google.cloud.contactcenterinsights.v1.Issue.Builder, com.google.cloud.contactcenterinsights.v1.IssueOrBuilder> issueBuilder_; /** - * - * *
      * Required. The new values for the issue.
      * 
* - * - * .google.cloud.contactcenterinsights.v1.Issue issue = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.contactcenterinsights.v1.Issue issue = 1 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the issue field is set. */ public boolean hasIssue() { return ((bitField0_ & 0x00000001) != 0); } /** - * - * *
      * Required. The new values for the issue.
      * 
* - * - * .google.cloud.contactcenterinsights.v1.Issue issue = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.contactcenterinsights.v1.Issue issue = 1 [(.google.api.field_behavior) = REQUIRED]; * @return The issue. */ public com.google.cloud.contactcenterinsights.v1.Issue getIssue() { if (issueBuilder_ == null) { - return issue_ == null - ? com.google.cloud.contactcenterinsights.v1.Issue.getDefaultInstance() - : issue_; + return issue_ == null ? com.google.cloud.contactcenterinsights.v1.Issue.getDefaultInstance() : issue_; } else { return issueBuilder_.getMessage(); } } /** - * - * *
      * Required. The new values for the issue.
      * 
* - * - * .google.cloud.contactcenterinsights.v1.Issue issue = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.contactcenterinsights.v1.Issue issue = 1 [(.google.api.field_behavior) = REQUIRED]; */ public Builder setIssue(com.google.cloud.contactcenterinsights.v1.Issue value) { if (issueBuilder_ == null) { @@ -620,15 +549,11 @@ public Builder setIssue(com.google.cloud.contactcenterinsights.v1.Issue value) { return this; } /** - * - * *
      * Required. The new values for the issue.
      * 
* - * - * .google.cloud.contactcenterinsights.v1.Issue issue = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.contactcenterinsights.v1.Issue issue = 1 [(.google.api.field_behavior) = REQUIRED]; */ public Builder setIssue( com.google.cloud.contactcenterinsights.v1.Issue.Builder builderForValue) { @@ -642,21 +567,17 @@ public Builder setIssue( return this; } /** - * - * *
      * Required. The new values for the issue.
      * 
* - * - * .google.cloud.contactcenterinsights.v1.Issue issue = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.contactcenterinsights.v1.Issue issue = 1 [(.google.api.field_behavior) = REQUIRED]; */ public Builder mergeIssue(com.google.cloud.contactcenterinsights.v1.Issue value) { if (issueBuilder_ == null) { - if (((bitField0_ & 0x00000001) != 0) - && issue_ != null - && issue_ != com.google.cloud.contactcenterinsights.v1.Issue.getDefaultInstance()) { + if (((bitField0_ & 0x00000001) != 0) && + issue_ != null && + issue_ != com.google.cloud.contactcenterinsights.v1.Issue.getDefaultInstance()) { getIssueBuilder().mergeFrom(value); } else { issue_ = value; @@ -669,15 +590,11 @@ public Builder mergeIssue(com.google.cloud.contactcenterinsights.v1.Issue value) return this; } /** - * - * *
      * Required. The new values for the issue.
      * 
* - * - * .google.cloud.contactcenterinsights.v1.Issue issue = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.contactcenterinsights.v1.Issue issue = 1 [(.google.api.field_behavior) = REQUIRED]; */ public Builder clearIssue() { bitField0_ = (bitField0_ & ~0x00000001); @@ -690,15 +607,11 @@ public Builder clearIssue() { return this; } /** - * - * *
      * Required. The new values for the issue.
      * 
* - * - * .google.cloud.contactcenterinsights.v1.Issue issue = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.contactcenterinsights.v1.Issue issue = 1 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.cloud.contactcenterinsights.v1.Issue.Builder getIssueBuilder() { bitField0_ |= 0x00000001; @@ -706,48 +619,36 @@ public com.google.cloud.contactcenterinsights.v1.Issue.Builder getIssueBuilder() return getIssueFieldBuilder().getBuilder(); } /** - * - * *
      * Required. The new values for the issue.
      * 
* - * - * .google.cloud.contactcenterinsights.v1.Issue issue = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.contactcenterinsights.v1.Issue issue = 1 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.cloud.contactcenterinsights.v1.IssueOrBuilder getIssueOrBuilder() { if (issueBuilder_ != null) { return issueBuilder_.getMessageOrBuilder(); } else { - return issue_ == null - ? com.google.cloud.contactcenterinsights.v1.Issue.getDefaultInstance() - : issue_; + return issue_ == null ? + com.google.cloud.contactcenterinsights.v1.Issue.getDefaultInstance() : issue_; } } /** - * - * *
      * Required. The new values for the issue.
      * 
* - * - * .google.cloud.contactcenterinsights.v1.Issue issue = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.contactcenterinsights.v1.Issue issue = 1 [(.google.api.field_behavior) = REQUIRED]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.contactcenterinsights.v1.Issue, - com.google.cloud.contactcenterinsights.v1.Issue.Builder, - com.google.cloud.contactcenterinsights.v1.IssueOrBuilder> + com.google.cloud.contactcenterinsights.v1.Issue, com.google.cloud.contactcenterinsights.v1.Issue.Builder, com.google.cloud.contactcenterinsights.v1.IssueOrBuilder> getIssueFieldBuilder() { if (issueBuilder_ == null) { - issueBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.contactcenterinsights.v1.Issue, - com.google.cloud.contactcenterinsights.v1.Issue.Builder, - com.google.cloud.contactcenterinsights.v1.IssueOrBuilder>( - getIssue(), getParentForChildren(), isClean()); + issueBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.contactcenterinsights.v1.Issue, com.google.cloud.contactcenterinsights.v1.Issue.Builder, com.google.cloud.contactcenterinsights.v1.IssueOrBuilder>( + getIssue(), + getParentForChildren(), + isClean()); issue_ = null; } return issueBuilder_; @@ -755,47 +656,34 @@ public com.google.cloud.contactcenterinsights.v1.IssueOrBuilder getIssueOrBuilde private com.google.protobuf.FieldMask updateMask_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.FieldMask, - com.google.protobuf.FieldMask.Builder, - com.google.protobuf.FieldMaskOrBuilder> - updateMaskBuilder_; + com.google.protobuf.FieldMask, com.google.protobuf.FieldMask.Builder, com.google.protobuf.FieldMaskOrBuilder> updateMaskBuilder_; /** - * - * *
      * The list of fields to be updated.
      * 
* * .google.protobuf.FieldMask update_mask = 2; - * * @return Whether the updateMask field is set. */ public boolean hasUpdateMask() { return ((bitField0_ & 0x00000002) != 0); } /** - * - * *
      * The list of fields to be updated.
      * 
* * .google.protobuf.FieldMask update_mask = 2; - * * @return The updateMask. */ public com.google.protobuf.FieldMask getUpdateMask() { if (updateMaskBuilder_ == null) { - return updateMask_ == null - ? com.google.protobuf.FieldMask.getDefaultInstance() - : updateMask_; + return updateMask_ == null ? com.google.protobuf.FieldMask.getDefaultInstance() : updateMask_; } else { return updateMaskBuilder_.getMessage(); } } /** - * - * *
      * The list of fields to be updated.
      * 
@@ -816,15 +704,14 @@ public Builder setUpdateMask(com.google.protobuf.FieldMask value) { return this; } /** - * - * *
      * The list of fields to be updated.
      * 
* * .google.protobuf.FieldMask update_mask = 2; */ - public Builder setUpdateMask(com.google.protobuf.FieldMask.Builder builderForValue) { + public Builder setUpdateMask( + com.google.protobuf.FieldMask.Builder builderForValue) { if (updateMaskBuilder_ == null) { updateMask_ = builderForValue.build(); } else { @@ -835,8 +722,6 @@ public Builder setUpdateMask(com.google.protobuf.FieldMask.Builder builderForVal return this; } /** - * - * *
      * The list of fields to be updated.
      * 
@@ -845,9 +730,9 @@ public Builder setUpdateMask(com.google.protobuf.FieldMask.Builder builderForVal */ public Builder mergeUpdateMask(com.google.protobuf.FieldMask value) { if (updateMaskBuilder_ == null) { - if (((bitField0_ & 0x00000002) != 0) - && updateMask_ != null - && updateMask_ != com.google.protobuf.FieldMask.getDefaultInstance()) { + if (((bitField0_ & 0x00000002) != 0) && + updateMask_ != null && + updateMask_ != com.google.protobuf.FieldMask.getDefaultInstance()) { getUpdateMaskBuilder().mergeFrom(value); } else { updateMask_ = value; @@ -860,8 +745,6 @@ public Builder mergeUpdateMask(com.google.protobuf.FieldMask value) { return this; } /** - * - * *
      * The list of fields to be updated.
      * 
@@ -879,8 +762,6 @@ public Builder clearUpdateMask() { return this; } /** - * - * *
      * The list of fields to be updated.
      * 
@@ -893,8 +774,6 @@ public com.google.protobuf.FieldMask.Builder getUpdateMaskBuilder() { return getUpdateMaskFieldBuilder().getBuilder(); } /** - * - * *
      * The list of fields to be updated.
      * 
@@ -905,14 +784,11 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() { if (updateMaskBuilder_ != null) { return updateMaskBuilder_.getMessageOrBuilder(); } else { - return updateMask_ == null - ? com.google.protobuf.FieldMask.getDefaultInstance() - : updateMask_; + return updateMask_ == null ? + com.google.protobuf.FieldMask.getDefaultInstance() : updateMask_; } } /** - * - * *
      * The list of fields to be updated.
      * 
@@ -920,24 +796,21 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() { * .google.protobuf.FieldMask update_mask = 2; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.FieldMask, - com.google.protobuf.FieldMask.Builder, - com.google.protobuf.FieldMaskOrBuilder> + com.google.protobuf.FieldMask, com.google.protobuf.FieldMask.Builder, com.google.protobuf.FieldMaskOrBuilder> getUpdateMaskFieldBuilder() { if (updateMaskBuilder_ == null) { - updateMaskBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.FieldMask, - com.google.protobuf.FieldMask.Builder, - com.google.protobuf.FieldMaskOrBuilder>( - getUpdateMask(), getParentForChildren(), isClean()); + updateMaskBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.FieldMask, com.google.protobuf.FieldMask.Builder, com.google.protobuf.FieldMaskOrBuilder>( + getUpdateMask(), + getParentForChildren(), + isClean()); updateMask_ = null; } return updateMaskBuilder_; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -947,13 +820,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.contactcenterinsights.v1.UpdateIssueRequest) } // @@protoc_insertion_point(class_scope:google.cloud.contactcenterinsights.v1.UpdateIssueRequest) - private static final com.google.cloud.contactcenterinsights.v1.UpdateIssueRequest - DEFAULT_INSTANCE; - + private static final com.google.cloud.contactcenterinsights.v1.UpdateIssueRequest DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.cloud.contactcenterinsights.v1.UpdateIssueRequest(); } @@ -962,27 +834,27 @@ public static com.google.cloud.contactcenterinsights.v1.UpdateIssueRequest getDe return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public UpdateIssueRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public UpdateIssueRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -997,4 +869,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.contactcenterinsights.v1.UpdateIssueRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/UpdateIssueRequestOrBuilder.java b/owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/UpdateIssueRequestOrBuilder.java similarity index 57% rename from java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/UpdateIssueRequestOrBuilder.java rename to owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/UpdateIssueRequestOrBuilder.java index 852c3ad37cc9..b4aec1863c74 100644 --- a/java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/UpdateIssueRequestOrBuilder.java +++ b/owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/UpdateIssueRequestOrBuilder.java @@ -1,96 +1,58 @@ -/* - * 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. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/contactcenterinsights/v1/contact_center_insights.proto package com.google.cloud.contactcenterinsights.v1; -public interface UpdateIssueRequestOrBuilder - extends +public interface UpdateIssueRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.contactcenterinsights.v1.UpdateIssueRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Required. The new values for the issue.
    * 
* - * - * .google.cloud.contactcenterinsights.v1.Issue issue = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.contactcenterinsights.v1.Issue issue = 1 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the issue field is set. */ boolean hasIssue(); /** - * - * *
    * Required. The new values for the issue.
    * 
* - * - * .google.cloud.contactcenterinsights.v1.Issue issue = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.contactcenterinsights.v1.Issue issue = 1 [(.google.api.field_behavior) = REQUIRED]; * @return The issue. */ com.google.cloud.contactcenterinsights.v1.Issue getIssue(); /** - * - * *
    * Required. The new values for the issue.
    * 
* - * - * .google.cloud.contactcenterinsights.v1.Issue issue = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.contactcenterinsights.v1.Issue issue = 1 [(.google.api.field_behavior) = REQUIRED]; */ com.google.cloud.contactcenterinsights.v1.IssueOrBuilder getIssueOrBuilder(); /** - * - * *
    * The list of fields to be updated.
    * 
* * .google.protobuf.FieldMask update_mask = 2; - * * @return Whether the updateMask field is set. */ boolean hasUpdateMask(); /** - * - * *
    * The list of fields to be updated.
    * 
* * .google.protobuf.FieldMask update_mask = 2; - * * @return The updateMask. */ com.google.protobuf.FieldMask getUpdateMask(); /** - * - * *
    * The list of fields to be updated.
    * 
diff --git a/java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/UpdatePhraseMatcherRequest.java b/owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/UpdatePhraseMatcherRequest.java similarity index 60% rename from java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/UpdatePhraseMatcherRequest.java rename to owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/UpdatePhraseMatcherRequest.java index 68e9b55cac37..1fff0a89525e 100644 --- a/java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/UpdatePhraseMatcherRequest.java +++ b/owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/UpdatePhraseMatcherRequest.java @@ -1,83 +1,60 @@ -/* - * 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. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/contactcenterinsights/v1/contact_center_insights.proto package com.google.cloud.contactcenterinsights.v1; /** - * - * *
  * The request to update a phrase matcher.
  * 
* * Protobuf type {@code google.cloud.contactcenterinsights.v1.UpdatePhraseMatcherRequest} */ -public final class UpdatePhraseMatcherRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class UpdatePhraseMatcherRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.contactcenterinsights.v1.UpdatePhraseMatcherRequest) UpdatePhraseMatcherRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use UpdatePhraseMatcherRequest.newBuilder() to construct. private UpdatePhraseMatcherRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - - private UpdatePhraseMatcherRequest() {} + private UpdatePhraseMatcherRequest() { + } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new UpdatePhraseMatcherRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto - .internal_static_google_cloud_contactcenterinsights_v1_UpdatePhraseMatcherRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto.internal_static_google_cloud_contactcenterinsights_v1_UpdatePhraseMatcherRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto - .internal_static_google_cloud_contactcenterinsights_v1_UpdatePhraseMatcherRequest_fieldAccessorTable + return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto.internal_static_google_cloud_contactcenterinsights_v1_UpdatePhraseMatcherRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.contactcenterinsights.v1.UpdatePhraseMatcherRequest.class, - com.google.cloud.contactcenterinsights.v1.UpdatePhraseMatcherRequest.Builder.class); + com.google.cloud.contactcenterinsights.v1.UpdatePhraseMatcherRequest.class, com.google.cloud.contactcenterinsights.v1.UpdatePhraseMatcherRequest.Builder.class); } public static final int PHRASE_MATCHER_FIELD_NUMBER = 1; private com.google.cloud.contactcenterinsights.v1.PhraseMatcher phraseMatcher_; /** - * - * *
    * Required. The new values for the phrase matcher.
    * 
* - * - * .google.cloud.contactcenterinsights.v1.PhraseMatcher phrase_matcher = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.contactcenterinsights.v1.PhraseMatcher phrase_matcher = 1 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the phraseMatcher field is set. */ @java.lang.Override @@ -85,54 +62,37 @@ public boolean hasPhraseMatcher() { return phraseMatcher_ != null; } /** - * - * *
    * Required. The new values for the phrase matcher.
    * 
* - * - * .google.cloud.contactcenterinsights.v1.PhraseMatcher phrase_matcher = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.contactcenterinsights.v1.PhraseMatcher phrase_matcher = 1 [(.google.api.field_behavior) = REQUIRED]; * @return The phraseMatcher. */ @java.lang.Override public com.google.cloud.contactcenterinsights.v1.PhraseMatcher getPhraseMatcher() { - return phraseMatcher_ == null - ? com.google.cloud.contactcenterinsights.v1.PhraseMatcher.getDefaultInstance() - : phraseMatcher_; + return phraseMatcher_ == null ? com.google.cloud.contactcenterinsights.v1.PhraseMatcher.getDefaultInstance() : phraseMatcher_; } /** - * - * *
    * Required. The new values for the phrase matcher.
    * 
* - * - * .google.cloud.contactcenterinsights.v1.PhraseMatcher phrase_matcher = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.contactcenterinsights.v1.PhraseMatcher phrase_matcher = 1 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override - public com.google.cloud.contactcenterinsights.v1.PhraseMatcherOrBuilder - getPhraseMatcherOrBuilder() { - return phraseMatcher_ == null - ? com.google.cloud.contactcenterinsights.v1.PhraseMatcher.getDefaultInstance() - : phraseMatcher_; + public com.google.cloud.contactcenterinsights.v1.PhraseMatcherOrBuilder getPhraseMatcherOrBuilder() { + return phraseMatcher_ == null ? com.google.cloud.contactcenterinsights.v1.PhraseMatcher.getDefaultInstance() : phraseMatcher_; } public static final int UPDATE_MASK_FIELD_NUMBER = 2; private com.google.protobuf.FieldMask updateMask_; /** - * - * *
    * The list of fields to be updated.
    * 
* * .google.protobuf.FieldMask update_mask = 2; - * * @return Whether the updateMask field is set. */ @java.lang.Override @@ -140,14 +100,11 @@ public boolean hasUpdateMask() { return updateMask_ != null; } /** - * - * *
    * The list of fields to be updated.
    * 
* * .google.protobuf.FieldMask update_mask = 2; - * * @return The updateMask. */ @java.lang.Override @@ -155,8 +112,6 @@ public com.google.protobuf.FieldMask getUpdateMask() { return updateMask_ == null ? com.google.protobuf.FieldMask.getDefaultInstance() : updateMask_; } /** - * - * *
    * The list of fields to be updated.
    * 
@@ -169,7 +124,6 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -181,7 +135,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (phraseMatcher_ != null) { output.writeMessage(1, getPhraseMatcher()); } @@ -198,10 +153,12 @@ public int getSerializedSize() { size = 0; if (phraseMatcher_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getPhraseMatcher()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, getPhraseMatcher()); } if (updateMask_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getUpdateMask()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, getUpdateMask()); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -211,21 +168,22 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.contactcenterinsights.v1.UpdatePhraseMatcherRequest)) { return super.equals(obj); } - com.google.cloud.contactcenterinsights.v1.UpdatePhraseMatcherRequest other = - (com.google.cloud.contactcenterinsights.v1.UpdatePhraseMatcherRequest) obj; + com.google.cloud.contactcenterinsights.v1.UpdatePhraseMatcherRequest other = (com.google.cloud.contactcenterinsights.v1.UpdatePhraseMatcherRequest) obj; if (hasPhraseMatcher() != other.hasPhraseMatcher()) return false; if (hasPhraseMatcher()) { - if (!getPhraseMatcher().equals(other.getPhraseMatcher())) return false; + if (!getPhraseMatcher() + .equals(other.getPhraseMatcher())) return false; } if (hasUpdateMask() != other.hasUpdateMask()) return false; if (hasUpdateMask()) { - if (!getUpdateMask().equals(other.getUpdateMask())) return false; + if (!getUpdateMask() + .equals(other.getUpdateMask())) return false; } if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -252,138 +210,129 @@ public int hashCode() { } public static com.google.cloud.contactcenterinsights.v1.UpdatePhraseMatcherRequest parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.contactcenterinsights.v1.UpdatePhraseMatcherRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.contactcenterinsights.v1.UpdatePhraseMatcherRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.contactcenterinsights.v1.UpdatePhraseMatcherRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.contactcenterinsights.v1.UpdatePhraseMatcherRequest parseFrom( - byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.contactcenterinsights.v1.UpdatePhraseMatcherRequest parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.contactcenterinsights.v1.UpdatePhraseMatcherRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.contactcenterinsights.v1.UpdatePhraseMatcherRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.contactcenterinsights.v1.UpdatePhraseMatcherRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.contactcenterinsights.v1.UpdatePhraseMatcherRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.contactcenterinsights.v1.UpdatePhraseMatcherRequest - parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.contactcenterinsights.v1.UpdatePhraseMatcherRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - - public static com.google.cloud.contactcenterinsights.v1.UpdatePhraseMatcherRequest - parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + public static com.google.cloud.contactcenterinsights.v1.UpdatePhraseMatcherRequest parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.contactcenterinsights.v1.UpdatePhraseMatcherRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.contactcenterinsights.v1.UpdatePhraseMatcherRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.contactcenterinsights.v1.UpdatePhraseMatcherRequest prototype) { + public static Builder newBuilder(com.google.cloud.contactcenterinsights.v1.UpdatePhraseMatcherRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * The request to update a phrase matcher.
    * 
* * Protobuf type {@code google.cloud.contactcenterinsights.v1.UpdatePhraseMatcherRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.contactcenterinsights.v1.UpdatePhraseMatcherRequest) com.google.cloud.contactcenterinsights.v1.UpdatePhraseMatcherRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto - .internal_static_google_cloud_contactcenterinsights_v1_UpdatePhraseMatcherRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto.internal_static_google_cloud_contactcenterinsights_v1_UpdatePhraseMatcherRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto - .internal_static_google_cloud_contactcenterinsights_v1_UpdatePhraseMatcherRequest_fieldAccessorTable + return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto.internal_static_google_cloud_contactcenterinsights_v1_UpdatePhraseMatcherRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.contactcenterinsights.v1.UpdatePhraseMatcherRequest.class, - com.google.cloud.contactcenterinsights.v1.UpdatePhraseMatcherRequest.Builder.class); + com.google.cloud.contactcenterinsights.v1.UpdatePhraseMatcherRequest.class, com.google.cloud.contactcenterinsights.v1.UpdatePhraseMatcherRequest.Builder.class); } - // Construct using - // com.google.cloud.contactcenterinsights.v1.UpdatePhraseMatcherRequest.newBuilder() - private Builder() {} + // Construct using com.google.cloud.contactcenterinsights.v1.UpdatePhraseMatcherRequest.newBuilder() + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -402,16 +351,14 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto - .internal_static_google_cloud_contactcenterinsights_v1_UpdatePhraseMatcherRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto.internal_static_google_cloud_contactcenterinsights_v1_UpdatePhraseMatcherRequest_descriptor; } @java.lang.Override - public com.google.cloud.contactcenterinsights.v1.UpdatePhraseMatcherRequest - getDefaultInstanceForType() { - return com.google.cloud.contactcenterinsights.v1.UpdatePhraseMatcherRequest - .getDefaultInstance(); + public com.google.cloud.contactcenterinsights.v1.UpdatePhraseMatcherRequest getDefaultInstanceForType() { + return com.google.cloud.contactcenterinsights.v1.UpdatePhraseMatcherRequest.getDefaultInstance(); } @java.lang.Override @@ -425,24 +372,23 @@ public com.google.cloud.contactcenterinsights.v1.UpdatePhraseMatcherRequest buil @java.lang.Override public com.google.cloud.contactcenterinsights.v1.UpdatePhraseMatcherRequest buildPartial() { - com.google.cloud.contactcenterinsights.v1.UpdatePhraseMatcherRequest result = - new com.google.cloud.contactcenterinsights.v1.UpdatePhraseMatcherRequest(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + com.google.cloud.contactcenterinsights.v1.UpdatePhraseMatcherRequest result = new com.google.cloud.contactcenterinsights.v1.UpdatePhraseMatcherRequest(this); + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } - private void buildPartial0( - com.google.cloud.contactcenterinsights.v1.UpdatePhraseMatcherRequest result) { + private void buildPartial0(com.google.cloud.contactcenterinsights.v1.UpdatePhraseMatcherRequest result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { - result.phraseMatcher_ = - phraseMatcherBuilder_ == null ? phraseMatcher_ : phraseMatcherBuilder_.build(); + result.phraseMatcher_ = phraseMatcherBuilder_ == null + ? phraseMatcher_ + : phraseMatcherBuilder_.build(); } if (((from_bitField0_ & 0x00000002) != 0)) { - result.updateMask_ = updateMaskBuilder_ == null ? updateMask_ : updateMaskBuilder_.build(); + result.updateMask_ = updateMaskBuilder_ == null + ? updateMask_ + : updateMaskBuilder_.build(); } } @@ -450,51 +396,46 @@ private void buildPartial0( public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.contactcenterinsights.v1.UpdatePhraseMatcherRequest) { - return mergeFrom( - (com.google.cloud.contactcenterinsights.v1.UpdatePhraseMatcherRequest) other); + return mergeFrom((com.google.cloud.contactcenterinsights.v1.UpdatePhraseMatcherRequest)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom( - com.google.cloud.contactcenterinsights.v1.UpdatePhraseMatcherRequest other) { - if (other - == com.google.cloud.contactcenterinsights.v1.UpdatePhraseMatcherRequest - .getDefaultInstance()) return this; + public Builder mergeFrom(com.google.cloud.contactcenterinsights.v1.UpdatePhraseMatcherRequest other) { + if (other == com.google.cloud.contactcenterinsights.v1.UpdatePhraseMatcherRequest.getDefaultInstance()) return this; if (other.hasPhraseMatcher()) { mergePhraseMatcher(other.getPhraseMatcher()); } @@ -527,25 +468,26 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - input.readMessage(getPhraseMatcherFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: - { - input.readMessage(getUpdateMaskFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00000002; - break; - } // case 18 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + input.readMessage( + getPhraseMatcherFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: { + input.readMessage( + getUpdateMaskFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00000002; + break; + } // case 18 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -555,63 +497,43 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private com.google.cloud.contactcenterinsights.v1.PhraseMatcher phraseMatcher_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.contactcenterinsights.v1.PhraseMatcher, - com.google.cloud.contactcenterinsights.v1.PhraseMatcher.Builder, - com.google.cloud.contactcenterinsights.v1.PhraseMatcherOrBuilder> - phraseMatcherBuilder_; + com.google.cloud.contactcenterinsights.v1.PhraseMatcher, com.google.cloud.contactcenterinsights.v1.PhraseMatcher.Builder, com.google.cloud.contactcenterinsights.v1.PhraseMatcherOrBuilder> phraseMatcherBuilder_; /** - * - * *
      * Required. The new values for the phrase matcher.
      * 
* - * - * .google.cloud.contactcenterinsights.v1.PhraseMatcher phrase_matcher = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.contactcenterinsights.v1.PhraseMatcher phrase_matcher = 1 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the phraseMatcher field is set. */ public boolean hasPhraseMatcher() { return ((bitField0_ & 0x00000001) != 0); } /** - * - * *
      * Required. The new values for the phrase matcher.
      * 
* - * - * .google.cloud.contactcenterinsights.v1.PhraseMatcher phrase_matcher = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.contactcenterinsights.v1.PhraseMatcher phrase_matcher = 1 [(.google.api.field_behavior) = REQUIRED]; * @return The phraseMatcher. */ public com.google.cloud.contactcenterinsights.v1.PhraseMatcher getPhraseMatcher() { if (phraseMatcherBuilder_ == null) { - return phraseMatcher_ == null - ? com.google.cloud.contactcenterinsights.v1.PhraseMatcher.getDefaultInstance() - : phraseMatcher_; + return phraseMatcher_ == null ? com.google.cloud.contactcenterinsights.v1.PhraseMatcher.getDefaultInstance() : phraseMatcher_; } else { return phraseMatcherBuilder_.getMessage(); } } /** - * - * *
      * Required. The new values for the phrase matcher.
      * 
* - * - * .google.cloud.contactcenterinsights.v1.PhraseMatcher phrase_matcher = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.contactcenterinsights.v1.PhraseMatcher phrase_matcher = 1 [(.google.api.field_behavior) = REQUIRED]; */ public Builder setPhraseMatcher(com.google.cloud.contactcenterinsights.v1.PhraseMatcher value) { if (phraseMatcherBuilder_ == null) { @@ -627,15 +549,11 @@ public Builder setPhraseMatcher(com.google.cloud.contactcenterinsights.v1.Phrase return this; } /** - * - * *
      * Required. The new values for the phrase matcher.
      * 
* - * - * .google.cloud.contactcenterinsights.v1.PhraseMatcher phrase_matcher = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.contactcenterinsights.v1.PhraseMatcher phrase_matcher = 1 [(.google.api.field_behavior) = REQUIRED]; */ public Builder setPhraseMatcher( com.google.cloud.contactcenterinsights.v1.PhraseMatcher.Builder builderForValue) { @@ -649,23 +567,17 @@ public Builder setPhraseMatcher( return this; } /** - * - * *
      * Required. The new values for the phrase matcher.
      * 
* - * - * .google.cloud.contactcenterinsights.v1.PhraseMatcher phrase_matcher = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.contactcenterinsights.v1.PhraseMatcher phrase_matcher = 1 [(.google.api.field_behavior) = REQUIRED]; */ - public Builder mergePhraseMatcher( - com.google.cloud.contactcenterinsights.v1.PhraseMatcher value) { + public Builder mergePhraseMatcher(com.google.cloud.contactcenterinsights.v1.PhraseMatcher value) { if (phraseMatcherBuilder_ == null) { - if (((bitField0_ & 0x00000001) != 0) - && phraseMatcher_ != null - && phraseMatcher_ - != com.google.cloud.contactcenterinsights.v1.PhraseMatcher.getDefaultInstance()) { + if (((bitField0_ & 0x00000001) != 0) && + phraseMatcher_ != null && + phraseMatcher_ != com.google.cloud.contactcenterinsights.v1.PhraseMatcher.getDefaultInstance()) { getPhraseMatcherBuilder().mergeFrom(value); } else { phraseMatcher_ = value; @@ -678,15 +590,11 @@ public Builder mergePhraseMatcher( return this; } /** - * - * *
      * Required. The new values for the phrase matcher.
      * 
* - * - * .google.cloud.contactcenterinsights.v1.PhraseMatcher phrase_matcher = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.contactcenterinsights.v1.PhraseMatcher phrase_matcher = 1 [(.google.api.field_behavior) = REQUIRED]; */ public Builder clearPhraseMatcher() { bitField0_ = (bitField0_ & ~0x00000001); @@ -699,66 +607,48 @@ public Builder clearPhraseMatcher() { return this; } /** - * - * *
      * Required. The new values for the phrase matcher.
      * 
* - * - * .google.cloud.contactcenterinsights.v1.PhraseMatcher phrase_matcher = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.contactcenterinsights.v1.PhraseMatcher phrase_matcher = 1 [(.google.api.field_behavior) = REQUIRED]; */ - public com.google.cloud.contactcenterinsights.v1.PhraseMatcher.Builder - getPhraseMatcherBuilder() { + public com.google.cloud.contactcenterinsights.v1.PhraseMatcher.Builder getPhraseMatcherBuilder() { bitField0_ |= 0x00000001; onChanged(); return getPhraseMatcherFieldBuilder().getBuilder(); } /** - * - * *
      * Required. The new values for the phrase matcher.
      * 
* - * - * .google.cloud.contactcenterinsights.v1.PhraseMatcher phrase_matcher = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.contactcenterinsights.v1.PhraseMatcher phrase_matcher = 1 [(.google.api.field_behavior) = REQUIRED]; */ - public com.google.cloud.contactcenterinsights.v1.PhraseMatcherOrBuilder - getPhraseMatcherOrBuilder() { + public com.google.cloud.contactcenterinsights.v1.PhraseMatcherOrBuilder getPhraseMatcherOrBuilder() { if (phraseMatcherBuilder_ != null) { return phraseMatcherBuilder_.getMessageOrBuilder(); } else { - return phraseMatcher_ == null - ? com.google.cloud.contactcenterinsights.v1.PhraseMatcher.getDefaultInstance() - : phraseMatcher_; + return phraseMatcher_ == null ? + com.google.cloud.contactcenterinsights.v1.PhraseMatcher.getDefaultInstance() : phraseMatcher_; } } /** - * - * *
      * Required. The new values for the phrase matcher.
      * 
* - * - * .google.cloud.contactcenterinsights.v1.PhraseMatcher phrase_matcher = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.contactcenterinsights.v1.PhraseMatcher phrase_matcher = 1 [(.google.api.field_behavior) = REQUIRED]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.contactcenterinsights.v1.PhraseMatcher, - com.google.cloud.contactcenterinsights.v1.PhraseMatcher.Builder, - com.google.cloud.contactcenterinsights.v1.PhraseMatcherOrBuilder> + com.google.cloud.contactcenterinsights.v1.PhraseMatcher, com.google.cloud.contactcenterinsights.v1.PhraseMatcher.Builder, com.google.cloud.contactcenterinsights.v1.PhraseMatcherOrBuilder> getPhraseMatcherFieldBuilder() { if (phraseMatcherBuilder_ == null) { - phraseMatcherBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.contactcenterinsights.v1.PhraseMatcher, - com.google.cloud.contactcenterinsights.v1.PhraseMatcher.Builder, - com.google.cloud.contactcenterinsights.v1.PhraseMatcherOrBuilder>( - getPhraseMatcher(), getParentForChildren(), isClean()); + phraseMatcherBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.contactcenterinsights.v1.PhraseMatcher, com.google.cloud.contactcenterinsights.v1.PhraseMatcher.Builder, com.google.cloud.contactcenterinsights.v1.PhraseMatcherOrBuilder>( + getPhraseMatcher(), + getParentForChildren(), + isClean()); phraseMatcher_ = null; } return phraseMatcherBuilder_; @@ -766,47 +656,34 @@ public Builder clearPhraseMatcher() { private com.google.protobuf.FieldMask updateMask_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.FieldMask, - com.google.protobuf.FieldMask.Builder, - com.google.protobuf.FieldMaskOrBuilder> - updateMaskBuilder_; + com.google.protobuf.FieldMask, com.google.protobuf.FieldMask.Builder, com.google.protobuf.FieldMaskOrBuilder> updateMaskBuilder_; /** - * - * *
      * The list of fields to be updated.
      * 
* * .google.protobuf.FieldMask update_mask = 2; - * * @return Whether the updateMask field is set. */ public boolean hasUpdateMask() { return ((bitField0_ & 0x00000002) != 0); } /** - * - * *
      * The list of fields to be updated.
      * 
* * .google.protobuf.FieldMask update_mask = 2; - * * @return The updateMask. */ public com.google.protobuf.FieldMask getUpdateMask() { if (updateMaskBuilder_ == null) { - return updateMask_ == null - ? com.google.protobuf.FieldMask.getDefaultInstance() - : updateMask_; + return updateMask_ == null ? com.google.protobuf.FieldMask.getDefaultInstance() : updateMask_; } else { return updateMaskBuilder_.getMessage(); } } /** - * - * *
      * The list of fields to be updated.
      * 
@@ -827,15 +704,14 @@ public Builder setUpdateMask(com.google.protobuf.FieldMask value) { return this; } /** - * - * *
      * The list of fields to be updated.
      * 
* * .google.protobuf.FieldMask update_mask = 2; */ - public Builder setUpdateMask(com.google.protobuf.FieldMask.Builder builderForValue) { + public Builder setUpdateMask( + com.google.protobuf.FieldMask.Builder builderForValue) { if (updateMaskBuilder_ == null) { updateMask_ = builderForValue.build(); } else { @@ -846,8 +722,6 @@ public Builder setUpdateMask(com.google.protobuf.FieldMask.Builder builderForVal return this; } /** - * - * *
      * The list of fields to be updated.
      * 
@@ -856,9 +730,9 @@ public Builder setUpdateMask(com.google.protobuf.FieldMask.Builder builderForVal */ public Builder mergeUpdateMask(com.google.protobuf.FieldMask value) { if (updateMaskBuilder_ == null) { - if (((bitField0_ & 0x00000002) != 0) - && updateMask_ != null - && updateMask_ != com.google.protobuf.FieldMask.getDefaultInstance()) { + if (((bitField0_ & 0x00000002) != 0) && + updateMask_ != null && + updateMask_ != com.google.protobuf.FieldMask.getDefaultInstance()) { getUpdateMaskBuilder().mergeFrom(value); } else { updateMask_ = value; @@ -871,8 +745,6 @@ public Builder mergeUpdateMask(com.google.protobuf.FieldMask value) { return this; } /** - * - * *
      * The list of fields to be updated.
      * 
@@ -890,8 +762,6 @@ public Builder clearUpdateMask() { return this; } /** - * - * *
      * The list of fields to be updated.
      * 
@@ -904,8 +774,6 @@ public com.google.protobuf.FieldMask.Builder getUpdateMaskBuilder() { return getUpdateMaskFieldBuilder().getBuilder(); } /** - * - * *
      * The list of fields to be updated.
      * 
@@ -916,14 +784,11 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() { if (updateMaskBuilder_ != null) { return updateMaskBuilder_.getMessageOrBuilder(); } else { - return updateMask_ == null - ? com.google.protobuf.FieldMask.getDefaultInstance() - : updateMask_; + return updateMask_ == null ? + com.google.protobuf.FieldMask.getDefaultInstance() : updateMask_; } } /** - * - * *
      * The list of fields to be updated.
      * 
@@ -931,24 +796,21 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() { * .google.protobuf.FieldMask update_mask = 2; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.FieldMask, - com.google.protobuf.FieldMask.Builder, - com.google.protobuf.FieldMaskOrBuilder> + com.google.protobuf.FieldMask, com.google.protobuf.FieldMask.Builder, com.google.protobuf.FieldMaskOrBuilder> getUpdateMaskFieldBuilder() { if (updateMaskBuilder_ == null) { - updateMaskBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.FieldMask, - com.google.protobuf.FieldMask.Builder, - com.google.protobuf.FieldMaskOrBuilder>( - getUpdateMask(), getParentForChildren(), isClean()); + updateMaskBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.FieldMask, com.google.protobuf.FieldMask.Builder, com.google.protobuf.FieldMaskOrBuilder>( + getUpdateMask(), + getParentForChildren(), + isClean()); updateMask_ = null; } return updateMaskBuilder_; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -958,43 +820,41 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.contactcenterinsights.v1.UpdatePhraseMatcherRequest) } // @@protoc_insertion_point(class_scope:google.cloud.contactcenterinsights.v1.UpdatePhraseMatcherRequest) - private static final com.google.cloud.contactcenterinsights.v1.UpdatePhraseMatcherRequest - DEFAULT_INSTANCE; - + private static final com.google.cloud.contactcenterinsights.v1.UpdatePhraseMatcherRequest DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.cloud.contactcenterinsights.v1.UpdatePhraseMatcherRequest(); } - public static com.google.cloud.contactcenterinsights.v1.UpdatePhraseMatcherRequest - getDefaultInstance() { + public static com.google.cloud.contactcenterinsights.v1.UpdatePhraseMatcherRequest getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public UpdatePhraseMatcherRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public UpdatePhraseMatcherRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1006,8 +866,9 @@ public com.google.protobuf.Parser getParserForType() } @java.lang.Override - public com.google.cloud.contactcenterinsights.v1.UpdatePhraseMatcherRequest - getDefaultInstanceForType() { + public com.google.cloud.contactcenterinsights.v1.UpdatePhraseMatcherRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/UpdatePhraseMatcherRequestOrBuilder.java b/owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/UpdatePhraseMatcherRequestOrBuilder.java similarity index 57% rename from java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/UpdatePhraseMatcherRequestOrBuilder.java rename to owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/UpdatePhraseMatcherRequestOrBuilder.java index dba885b17823..2652a6695c0c 100644 --- a/java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/UpdatePhraseMatcherRequestOrBuilder.java +++ b/owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/UpdatePhraseMatcherRequestOrBuilder.java @@ -1,96 +1,58 @@ -/* - * 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. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/contactcenterinsights/v1/contact_center_insights.proto package com.google.cloud.contactcenterinsights.v1; -public interface UpdatePhraseMatcherRequestOrBuilder - extends +public interface UpdatePhraseMatcherRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.contactcenterinsights.v1.UpdatePhraseMatcherRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Required. The new values for the phrase matcher.
    * 
* - * - * .google.cloud.contactcenterinsights.v1.PhraseMatcher phrase_matcher = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.contactcenterinsights.v1.PhraseMatcher phrase_matcher = 1 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the phraseMatcher field is set. */ boolean hasPhraseMatcher(); /** - * - * *
    * Required. The new values for the phrase matcher.
    * 
* - * - * .google.cloud.contactcenterinsights.v1.PhraseMatcher phrase_matcher = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.contactcenterinsights.v1.PhraseMatcher phrase_matcher = 1 [(.google.api.field_behavior) = REQUIRED]; * @return The phraseMatcher. */ com.google.cloud.contactcenterinsights.v1.PhraseMatcher getPhraseMatcher(); /** - * - * *
    * Required. The new values for the phrase matcher.
    * 
* - * - * .google.cloud.contactcenterinsights.v1.PhraseMatcher phrase_matcher = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.contactcenterinsights.v1.PhraseMatcher phrase_matcher = 1 [(.google.api.field_behavior) = REQUIRED]; */ com.google.cloud.contactcenterinsights.v1.PhraseMatcherOrBuilder getPhraseMatcherOrBuilder(); /** - * - * *
    * The list of fields to be updated.
    * 
* * .google.protobuf.FieldMask update_mask = 2; - * * @return Whether the updateMask field is set. */ boolean hasUpdateMask(); /** - * - * *
    * The list of fields to be updated.
    * 
* * .google.protobuf.FieldMask update_mask = 2; - * * @return The updateMask. */ com.google.protobuf.FieldMask getUpdateMask(); /** - * - * *
    * The list of fields to be updated.
    * 
diff --git a/java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/UpdateSettingsRequest.java b/owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/UpdateSettingsRequest.java similarity index 60% rename from java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/UpdateSettingsRequest.java rename to owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/UpdateSettingsRequest.java index 1e95d9c7f50d..43df985d0173 100644 --- a/java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/UpdateSettingsRequest.java +++ b/owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/UpdateSettingsRequest.java @@ -1,83 +1,60 @@ -/* - * 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. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/contactcenterinsights/v1/contact_center_insights.proto package com.google.cloud.contactcenterinsights.v1; /** - * - * *
  * The request to update project-level settings.
  * 
* * Protobuf type {@code google.cloud.contactcenterinsights.v1.UpdateSettingsRequest} */ -public final class UpdateSettingsRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class UpdateSettingsRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.contactcenterinsights.v1.UpdateSettingsRequest) UpdateSettingsRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use UpdateSettingsRequest.newBuilder() to construct. private UpdateSettingsRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - - private UpdateSettingsRequest() {} + private UpdateSettingsRequest() { + } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new UpdateSettingsRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto - .internal_static_google_cloud_contactcenterinsights_v1_UpdateSettingsRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto.internal_static_google_cloud_contactcenterinsights_v1_UpdateSettingsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto - .internal_static_google_cloud_contactcenterinsights_v1_UpdateSettingsRequest_fieldAccessorTable + return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto.internal_static_google_cloud_contactcenterinsights_v1_UpdateSettingsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.contactcenterinsights.v1.UpdateSettingsRequest.class, - com.google.cloud.contactcenterinsights.v1.UpdateSettingsRequest.Builder.class); + com.google.cloud.contactcenterinsights.v1.UpdateSettingsRequest.class, com.google.cloud.contactcenterinsights.v1.UpdateSettingsRequest.Builder.class); } public static final int SETTINGS_FIELD_NUMBER = 1; private com.google.cloud.contactcenterinsights.v1.Settings settings_; /** - * - * *
    * Required. The new settings values.
    * 
* - * - * .google.cloud.contactcenterinsights.v1.Settings settings = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.contactcenterinsights.v1.Settings settings = 1 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the settings field is set. */ @java.lang.Override @@ -85,54 +62,37 @@ public boolean hasSettings() { return settings_ != null; } /** - * - * *
    * Required. The new settings values.
    * 
* - * - * .google.cloud.contactcenterinsights.v1.Settings settings = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.contactcenterinsights.v1.Settings settings = 1 [(.google.api.field_behavior) = REQUIRED]; * @return The settings. */ @java.lang.Override public com.google.cloud.contactcenterinsights.v1.Settings getSettings() { - return settings_ == null - ? com.google.cloud.contactcenterinsights.v1.Settings.getDefaultInstance() - : settings_; + return settings_ == null ? com.google.cloud.contactcenterinsights.v1.Settings.getDefaultInstance() : settings_; } /** - * - * *
    * Required. The new settings values.
    * 
* - * - * .google.cloud.contactcenterinsights.v1.Settings settings = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.contactcenterinsights.v1.Settings settings = 1 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override public com.google.cloud.contactcenterinsights.v1.SettingsOrBuilder getSettingsOrBuilder() { - return settings_ == null - ? com.google.cloud.contactcenterinsights.v1.Settings.getDefaultInstance() - : settings_; + return settings_ == null ? com.google.cloud.contactcenterinsights.v1.Settings.getDefaultInstance() : settings_; } public static final int UPDATE_MASK_FIELD_NUMBER = 2; private com.google.protobuf.FieldMask updateMask_; /** - * - * *
    * Required. The list of fields to be updated.
    * 
* - * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the updateMask field is set. */ @java.lang.Override @@ -140,15 +100,11 @@ public boolean hasUpdateMask() { return updateMask_ != null; } /** - * - * *
    * Required. The list of fields to be updated.
    * 
* - * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; * @return The updateMask. */ @java.lang.Override @@ -156,14 +112,11 @@ public com.google.protobuf.FieldMask getUpdateMask() { return updateMask_ == null ? com.google.protobuf.FieldMask.getDefaultInstance() : updateMask_; } /** - * - * *
    * Required. The list of fields to be updated.
    * 
* - * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() { @@ -171,7 +124,6 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -183,7 +135,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (settings_ != null) { output.writeMessage(1, getSettings()); } @@ -200,10 +153,12 @@ public int getSerializedSize() { size = 0; if (settings_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getSettings()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, getSettings()); } if (updateMask_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getUpdateMask()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, getUpdateMask()); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -213,21 +168,22 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.contactcenterinsights.v1.UpdateSettingsRequest)) { return super.equals(obj); } - com.google.cloud.contactcenterinsights.v1.UpdateSettingsRequest other = - (com.google.cloud.contactcenterinsights.v1.UpdateSettingsRequest) obj; + com.google.cloud.contactcenterinsights.v1.UpdateSettingsRequest other = (com.google.cloud.contactcenterinsights.v1.UpdateSettingsRequest) obj; if (hasSettings() != other.hasSettings()) return false; if (hasSettings()) { - if (!getSettings().equals(other.getSettings())) return false; + if (!getSettings() + .equals(other.getSettings())) return false; } if (hasUpdateMask() != other.hasUpdateMask()) return false; if (hasUpdateMask()) { - if (!getUpdateMask().equals(other.getUpdateMask())) return false; + if (!getUpdateMask() + .equals(other.getUpdateMask())) return false; } if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -254,136 +210,129 @@ public int hashCode() { } public static com.google.cloud.contactcenterinsights.v1.UpdateSettingsRequest parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.contactcenterinsights.v1.UpdateSettingsRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.contactcenterinsights.v1.UpdateSettingsRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.contactcenterinsights.v1.UpdateSettingsRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.contactcenterinsights.v1.UpdateSettingsRequest parseFrom( - byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.contactcenterinsights.v1.UpdateSettingsRequest parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.contactcenterinsights.v1.UpdateSettingsRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.contactcenterinsights.v1.UpdateSettingsRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.contactcenterinsights.v1.UpdateSettingsRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.contactcenterinsights.v1.UpdateSettingsRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.contactcenterinsights.v1.UpdateSettingsRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.contactcenterinsights.v1.UpdateSettingsRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.contactcenterinsights.v1.UpdateSettingsRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.contactcenterinsights.v1.UpdateSettingsRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.contactcenterinsights.v1.UpdateSettingsRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.contactcenterinsights.v1.UpdateSettingsRequest prototype) { + public static Builder newBuilder(com.google.cloud.contactcenterinsights.v1.UpdateSettingsRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * The request to update project-level settings.
    * 
* * Protobuf type {@code google.cloud.contactcenterinsights.v1.UpdateSettingsRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.contactcenterinsights.v1.UpdateSettingsRequest) com.google.cloud.contactcenterinsights.v1.UpdateSettingsRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto - .internal_static_google_cloud_contactcenterinsights_v1_UpdateSettingsRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto.internal_static_google_cloud_contactcenterinsights_v1_UpdateSettingsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto - .internal_static_google_cloud_contactcenterinsights_v1_UpdateSettingsRequest_fieldAccessorTable + return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto.internal_static_google_cloud_contactcenterinsights_v1_UpdateSettingsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.contactcenterinsights.v1.UpdateSettingsRequest.class, - com.google.cloud.contactcenterinsights.v1.UpdateSettingsRequest.Builder.class); + com.google.cloud.contactcenterinsights.v1.UpdateSettingsRequest.class, com.google.cloud.contactcenterinsights.v1.UpdateSettingsRequest.Builder.class); } // Construct using com.google.cloud.contactcenterinsights.v1.UpdateSettingsRequest.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -402,14 +351,13 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto - .internal_static_google_cloud_contactcenterinsights_v1_UpdateSettingsRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto.internal_static_google_cloud_contactcenterinsights_v1_UpdateSettingsRequest_descriptor; } @java.lang.Override - public com.google.cloud.contactcenterinsights.v1.UpdateSettingsRequest - getDefaultInstanceForType() { + public com.google.cloud.contactcenterinsights.v1.UpdateSettingsRequest getDefaultInstanceForType() { return com.google.cloud.contactcenterinsights.v1.UpdateSettingsRequest.getDefaultInstance(); } @@ -424,23 +372,23 @@ public com.google.cloud.contactcenterinsights.v1.UpdateSettingsRequest build() { @java.lang.Override public com.google.cloud.contactcenterinsights.v1.UpdateSettingsRequest buildPartial() { - com.google.cloud.contactcenterinsights.v1.UpdateSettingsRequest result = - new com.google.cloud.contactcenterinsights.v1.UpdateSettingsRequest(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + com.google.cloud.contactcenterinsights.v1.UpdateSettingsRequest result = new com.google.cloud.contactcenterinsights.v1.UpdateSettingsRequest(this); + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } - private void buildPartial0( - com.google.cloud.contactcenterinsights.v1.UpdateSettingsRequest result) { + private void buildPartial0(com.google.cloud.contactcenterinsights.v1.UpdateSettingsRequest result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { - result.settings_ = settingsBuilder_ == null ? settings_ : settingsBuilder_.build(); + result.settings_ = settingsBuilder_ == null + ? settings_ + : settingsBuilder_.build(); } if (((from_bitField0_ & 0x00000002) != 0)) { - result.updateMask_ = updateMaskBuilder_ == null ? updateMask_ : updateMaskBuilder_.build(); + result.updateMask_ = updateMaskBuilder_ == null + ? updateMask_ + : updateMaskBuilder_.build(); } } @@ -448,50 +396,46 @@ private void buildPartial0( public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.contactcenterinsights.v1.UpdateSettingsRequest) { - return mergeFrom((com.google.cloud.contactcenterinsights.v1.UpdateSettingsRequest) other); + return mergeFrom((com.google.cloud.contactcenterinsights.v1.UpdateSettingsRequest)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom( - com.google.cloud.contactcenterinsights.v1.UpdateSettingsRequest other) { - if (other - == com.google.cloud.contactcenterinsights.v1.UpdateSettingsRequest.getDefaultInstance()) - return this; + public Builder mergeFrom(com.google.cloud.contactcenterinsights.v1.UpdateSettingsRequest other) { + if (other == com.google.cloud.contactcenterinsights.v1.UpdateSettingsRequest.getDefaultInstance()) return this; if (other.hasSettings()) { mergeSettings(other.getSettings()); } @@ -524,25 +468,26 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - input.readMessage(getSettingsFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: - { - input.readMessage(getUpdateMaskFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00000002; - break; - } // case 18 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + input.readMessage( + getSettingsFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: { + input.readMessage( + getUpdateMaskFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00000002; + break; + } // case 18 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -552,63 +497,43 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private com.google.cloud.contactcenterinsights.v1.Settings settings_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.contactcenterinsights.v1.Settings, - com.google.cloud.contactcenterinsights.v1.Settings.Builder, - com.google.cloud.contactcenterinsights.v1.SettingsOrBuilder> - settingsBuilder_; + com.google.cloud.contactcenterinsights.v1.Settings, com.google.cloud.contactcenterinsights.v1.Settings.Builder, com.google.cloud.contactcenterinsights.v1.SettingsOrBuilder> settingsBuilder_; /** - * - * *
      * Required. The new settings values.
      * 
* - * - * .google.cloud.contactcenterinsights.v1.Settings settings = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.contactcenterinsights.v1.Settings settings = 1 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the settings field is set. */ public boolean hasSettings() { return ((bitField0_ & 0x00000001) != 0); } /** - * - * *
      * Required. The new settings values.
      * 
* - * - * .google.cloud.contactcenterinsights.v1.Settings settings = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.contactcenterinsights.v1.Settings settings = 1 [(.google.api.field_behavior) = REQUIRED]; * @return The settings. */ public com.google.cloud.contactcenterinsights.v1.Settings getSettings() { if (settingsBuilder_ == null) { - return settings_ == null - ? com.google.cloud.contactcenterinsights.v1.Settings.getDefaultInstance() - : settings_; + return settings_ == null ? com.google.cloud.contactcenterinsights.v1.Settings.getDefaultInstance() : settings_; } else { return settingsBuilder_.getMessage(); } } /** - * - * *
      * Required. The new settings values.
      * 
* - * - * .google.cloud.contactcenterinsights.v1.Settings settings = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.contactcenterinsights.v1.Settings settings = 1 [(.google.api.field_behavior) = REQUIRED]; */ public Builder setSettings(com.google.cloud.contactcenterinsights.v1.Settings value) { if (settingsBuilder_ == null) { @@ -624,15 +549,11 @@ public Builder setSettings(com.google.cloud.contactcenterinsights.v1.Settings va return this; } /** - * - * *
      * Required. The new settings values.
      * 
* - * - * .google.cloud.contactcenterinsights.v1.Settings settings = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.contactcenterinsights.v1.Settings settings = 1 [(.google.api.field_behavior) = REQUIRED]; */ public Builder setSettings( com.google.cloud.contactcenterinsights.v1.Settings.Builder builderForValue) { @@ -646,22 +567,17 @@ public Builder setSettings( return this; } /** - * - * *
      * Required. The new settings values.
      * 
* - * - * .google.cloud.contactcenterinsights.v1.Settings settings = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.contactcenterinsights.v1.Settings settings = 1 [(.google.api.field_behavior) = REQUIRED]; */ public Builder mergeSettings(com.google.cloud.contactcenterinsights.v1.Settings value) { if (settingsBuilder_ == null) { - if (((bitField0_ & 0x00000001) != 0) - && settings_ != null - && settings_ - != com.google.cloud.contactcenterinsights.v1.Settings.getDefaultInstance()) { + if (((bitField0_ & 0x00000001) != 0) && + settings_ != null && + settings_ != com.google.cloud.contactcenterinsights.v1.Settings.getDefaultInstance()) { getSettingsBuilder().mergeFrom(value); } else { settings_ = value; @@ -674,15 +590,11 @@ public Builder mergeSettings(com.google.cloud.contactcenterinsights.v1.Settings return this; } /** - * - * *
      * Required. The new settings values.
      * 
* - * - * .google.cloud.contactcenterinsights.v1.Settings settings = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.contactcenterinsights.v1.Settings settings = 1 [(.google.api.field_behavior) = REQUIRED]; */ public Builder clearSettings() { bitField0_ = (bitField0_ & ~0x00000001); @@ -695,15 +607,11 @@ public Builder clearSettings() { return this; } /** - * - * *
      * Required. The new settings values.
      * 
* - * - * .google.cloud.contactcenterinsights.v1.Settings settings = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.contactcenterinsights.v1.Settings settings = 1 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.cloud.contactcenterinsights.v1.Settings.Builder getSettingsBuilder() { bitField0_ |= 0x00000001; @@ -711,48 +619,36 @@ public com.google.cloud.contactcenterinsights.v1.Settings.Builder getSettingsBui return getSettingsFieldBuilder().getBuilder(); } /** - * - * *
      * Required. The new settings values.
      * 
* - * - * .google.cloud.contactcenterinsights.v1.Settings settings = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.contactcenterinsights.v1.Settings settings = 1 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.cloud.contactcenterinsights.v1.SettingsOrBuilder getSettingsOrBuilder() { if (settingsBuilder_ != null) { return settingsBuilder_.getMessageOrBuilder(); } else { - return settings_ == null - ? com.google.cloud.contactcenterinsights.v1.Settings.getDefaultInstance() - : settings_; + return settings_ == null ? + com.google.cloud.contactcenterinsights.v1.Settings.getDefaultInstance() : settings_; } } /** - * - * *
      * Required. The new settings values.
      * 
* - * - * .google.cloud.contactcenterinsights.v1.Settings settings = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.contactcenterinsights.v1.Settings settings = 1 [(.google.api.field_behavior) = REQUIRED]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.contactcenterinsights.v1.Settings, - com.google.cloud.contactcenterinsights.v1.Settings.Builder, - com.google.cloud.contactcenterinsights.v1.SettingsOrBuilder> + com.google.cloud.contactcenterinsights.v1.Settings, com.google.cloud.contactcenterinsights.v1.Settings.Builder, com.google.cloud.contactcenterinsights.v1.SettingsOrBuilder> getSettingsFieldBuilder() { if (settingsBuilder_ == null) { - settingsBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.contactcenterinsights.v1.Settings, - com.google.cloud.contactcenterinsights.v1.Settings.Builder, - com.google.cloud.contactcenterinsights.v1.SettingsOrBuilder>( - getSettings(), getParentForChildren(), isClean()); + settingsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.contactcenterinsights.v1.Settings, com.google.cloud.contactcenterinsights.v1.Settings.Builder, com.google.cloud.contactcenterinsights.v1.SettingsOrBuilder>( + getSettings(), + getParentForChildren(), + isClean()); settings_ = null; } return settingsBuilder_; @@ -760,55 +656,39 @@ public com.google.cloud.contactcenterinsights.v1.SettingsOrBuilder getSettingsOr private com.google.protobuf.FieldMask updateMask_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.FieldMask, - com.google.protobuf.FieldMask.Builder, - com.google.protobuf.FieldMaskOrBuilder> - updateMaskBuilder_; + com.google.protobuf.FieldMask, com.google.protobuf.FieldMask.Builder, com.google.protobuf.FieldMaskOrBuilder> updateMaskBuilder_; /** - * - * *
      * Required. The list of fields to be updated.
      * 
* - * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the updateMask field is set. */ public boolean hasUpdateMask() { return ((bitField0_ & 0x00000002) != 0); } /** - * - * *
      * Required. The list of fields to be updated.
      * 
* - * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; * @return The updateMask. */ public com.google.protobuf.FieldMask getUpdateMask() { if (updateMaskBuilder_ == null) { - return updateMask_ == null - ? com.google.protobuf.FieldMask.getDefaultInstance() - : updateMask_; + return updateMask_ == null ? com.google.protobuf.FieldMask.getDefaultInstance() : updateMask_; } else { return updateMaskBuilder_.getMessage(); } } /** - * - * *
      * Required. The list of fields to be updated.
      * 
* - * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder setUpdateMask(com.google.protobuf.FieldMask value) { if (updateMaskBuilder_ == null) { @@ -824,16 +704,14 @@ public Builder setUpdateMask(com.google.protobuf.FieldMask value) { return this; } /** - * - * *
      * Required. The list of fields to be updated.
      * 
* - * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; */ - public Builder setUpdateMask(com.google.protobuf.FieldMask.Builder builderForValue) { + public Builder setUpdateMask( + com.google.protobuf.FieldMask.Builder builderForValue) { if (updateMaskBuilder_ == null) { updateMask_ = builderForValue.build(); } else { @@ -844,20 +722,17 @@ public Builder setUpdateMask(com.google.protobuf.FieldMask.Builder builderForVal return this; } /** - * - * *
      * Required. The list of fields to be updated.
      * 
* - * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder mergeUpdateMask(com.google.protobuf.FieldMask value) { if (updateMaskBuilder_ == null) { - if (((bitField0_ & 0x00000002) != 0) - && updateMask_ != null - && updateMask_ != com.google.protobuf.FieldMask.getDefaultInstance()) { + if (((bitField0_ & 0x00000002) != 0) && + updateMask_ != null && + updateMask_ != com.google.protobuf.FieldMask.getDefaultInstance()) { getUpdateMaskBuilder().mergeFrom(value); } else { updateMask_ = value; @@ -870,14 +745,11 @@ public Builder mergeUpdateMask(com.google.protobuf.FieldMask value) { return this; } /** - * - * *
      * Required. The list of fields to be updated.
      * 
* - * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder clearUpdateMask() { bitField0_ = (bitField0_ & ~0x00000002); @@ -890,14 +762,11 @@ public Builder clearUpdateMask() { return this; } /** - * - * *
      * Required. The list of fields to be updated.
      * 
* - * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.protobuf.FieldMask.Builder getUpdateMaskBuilder() { bitField0_ |= 0x00000002; @@ -905,53 +774,43 @@ public com.google.protobuf.FieldMask.Builder getUpdateMaskBuilder() { return getUpdateMaskFieldBuilder().getBuilder(); } /** - * - * *
      * Required. The list of fields to be updated.
      * 
* - * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() { if (updateMaskBuilder_ != null) { return updateMaskBuilder_.getMessageOrBuilder(); } else { - return updateMask_ == null - ? com.google.protobuf.FieldMask.getDefaultInstance() - : updateMask_; + return updateMask_ == null ? + com.google.protobuf.FieldMask.getDefaultInstance() : updateMask_; } } /** - * - * *
      * Required. The list of fields to be updated.
      * 
* - * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.FieldMask, - com.google.protobuf.FieldMask.Builder, - com.google.protobuf.FieldMaskOrBuilder> + com.google.protobuf.FieldMask, com.google.protobuf.FieldMask.Builder, com.google.protobuf.FieldMaskOrBuilder> getUpdateMaskFieldBuilder() { if (updateMaskBuilder_ == null) { - updateMaskBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.FieldMask, - com.google.protobuf.FieldMask.Builder, - com.google.protobuf.FieldMaskOrBuilder>( - getUpdateMask(), getParentForChildren(), isClean()); + updateMaskBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.FieldMask, com.google.protobuf.FieldMask.Builder, com.google.protobuf.FieldMaskOrBuilder>( + getUpdateMask(), + getParentForChildren(), + isClean()); updateMask_ = null; } return updateMaskBuilder_; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -961,43 +820,41 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.contactcenterinsights.v1.UpdateSettingsRequest) } // @@protoc_insertion_point(class_scope:google.cloud.contactcenterinsights.v1.UpdateSettingsRequest) - private static final com.google.cloud.contactcenterinsights.v1.UpdateSettingsRequest - DEFAULT_INSTANCE; - + private static final com.google.cloud.contactcenterinsights.v1.UpdateSettingsRequest DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.cloud.contactcenterinsights.v1.UpdateSettingsRequest(); } - public static com.google.cloud.contactcenterinsights.v1.UpdateSettingsRequest - getDefaultInstance() { + public static com.google.cloud.contactcenterinsights.v1.UpdateSettingsRequest getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public UpdateSettingsRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public UpdateSettingsRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1009,8 +866,9 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.cloud.contactcenterinsights.v1.UpdateSettingsRequest - getDefaultInstanceForType() { + public com.google.cloud.contactcenterinsights.v1.UpdateSettingsRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/UpdateSettingsRequestOrBuilder.java b/owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/UpdateSettingsRequestOrBuilder.java similarity index 54% rename from java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/UpdateSettingsRequestOrBuilder.java rename to owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/UpdateSettingsRequestOrBuilder.java index 8b040fcee1a6..7d2cd48f5b65 100644 --- a/java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/UpdateSettingsRequestOrBuilder.java +++ b/owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/UpdateSettingsRequestOrBuilder.java @@ -1,104 +1,63 @@ -/* - * 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. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/contactcenterinsights/v1/contact_center_insights.proto package com.google.cloud.contactcenterinsights.v1; -public interface UpdateSettingsRequestOrBuilder - extends +public interface UpdateSettingsRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.contactcenterinsights.v1.UpdateSettingsRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Required. The new settings values.
    * 
* - * - * .google.cloud.contactcenterinsights.v1.Settings settings = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.contactcenterinsights.v1.Settings settings = 1 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the settings field is set. */ boolean hasSettings(); /** - * - * *
    * Required. The new settings values.
    * 
* - * - * .google.cloud.contactcenterinsights.v1.Settings settings = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.contactcenterinsights.v1.Settings settings = 1 [(.google.api.field_behavior) = REQUIRED]; * @return The settings. */ com.google.cloud.contactcenterinsights.v1.Settings getSettings(); /** - * - * *
    * Required. The new settings values.
    * 
* - * - * .google.cloud.contactcenterinsights.v1.Settings settings = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.contactcenterinsights.v1.Settings settings = 1 [(.google.api.field_behavior) = REQUIRED]; */ com.google.cloud.contactcenterinsights.v1.SettingsOrBuilder getSettingsOrBuilder(); /** - * - * *
    * Required. The list of fields to be updated.
    * 
* - * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the updateMask field is set. */ boolean hasUpdateMask(); /** - * - * *
    * Required. The list of fields to be updated.
    * 
* - * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; * @return The updateMask. */ com.google.protobuf.FieldMask getUpdateMask(); /** - * - * *
    * Required. The list of fields to be updated.
    * 
* - * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; */ com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder(); } diff --git a/java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/UpdateViewRequest.java b/owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/UpdateViewRequest.java similarity index 63% rename from java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/UpdateViewRequest.java rename to owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/UpdateViewRequest.java index a5409edc14b1..fa9e7f1d3416 100644 --- a/java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/UpdateViewRequest.java +++ b/owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/UpdateViewRequest.java @@ -1,83 +1,60 @@ -/* - * 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. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/contactcenterinsights/v1/contact_center_insights.proto package com.google.cloud.contactcenterinsights.v1; /** - * - * *
  * The request to update a view.
  * 
* * Protobuf type {@code google.cloud.contactcenterinsights.v1.UpdateViewRequest} */ -public final class UpdateViewRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class UpdateViewRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.contactcenterinsights.v1.UpdateViewRequest) UpdateViewRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use UpdateViewRequest.newBuilder() to construct. private UpdateViewRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - - private UpdateViewRequest() {} + private UpdateViewRequest() { + } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new UpdateViewRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto - .internal_static_google_cloud_contactcenterinsights_v1_UpdateViewRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto.internal_static_google_cloud_contactcenterinsights_v1_UpdateViewRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto - .internal_static_google_cloud_contactcenterinsights_v1_UpdateViewRequest_fieldAccessorTable + return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto.internal_static_google_cloud_contactcenterinsights_v1_UpdateViewRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.contactcenterinsights.v1.UpdateViewRequest.class, - com.google.cloud.contactcenterinsights.v1.UpdateViewRequest.Builder.class); + com.google.cloud.contactcenterinsights.v1.UpdateViewRequest.class, com.google.cloud.contactcenterinsights.v1.UpdateViewRequest.Builder.class); } public static final int VIEW_FIELD_NUMBER = 1; private com.google.cloud.contactcenterinsights.v1.View view_; /** - * - * *
    * Required. The new view.
    * 
* - * - * .google.cloud.contactcenterinsights.v1.View view = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.contactcenterinsights.v1.View view = 1 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the view field is set. */ @java.lang.Override @@ -85,53 +62,37 @@ public boolean hasView() { return view_ != null; } /** - * - * *
    * Required. The new view.
    * 
* - * - * .google.cloud.contactcenterinsights.v1.View view = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.contactcenterinsights.v1.View view = 1 [(.google.api.field_behavior) = REQUIRED]; * @return The view. */ @java.lang.Override public com.google.cloud.contactcenterinsights.v1.View getView() { - return view_ == null - ? com.google.cloud.contactcenterinsights.v1.View.getDefaultInstance() - : view_; + return view_ == null ? com.google.cloud.contactcenterinsights.v1.View.getDefaultInstance() : view_; } /** - * - * *
    * Required. The new view.
    * 
* - * - * .google.cloud.contactcenterinsights.v1.View view = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.contactcenterinsights.v1.View view = 1 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override public com.google.cloud.contactcenterinsights.v1.ViewOrBuilder getViewOrBuilder() { - return view_ == null - ? com.google.cloud.contactcenterinsights.v1.View.getDefaultInstance() - : view_; + return view_ == null ? com.google.cloud.contactcenterinsights.v1.View.getDefaultInstance() : view_; } public static final int UPDATE_MASK_FIELD_NUMBER = 2; private com.google.protobuf.FieldMask updateMask_; /** - * - * *
    * The list of fields to be updated.
    * 
* * .google.protobuf.FieldMask update_mask = 2; - * * @return Whether the updateMask field is set. */ @java.lang.Override @@ -139,14 +100,11 @@ public boolean hasUpdateMask() { return updateMask_ != null; } /** - * - * *
    * The list of fields to be updated.
    * 
* * .google.protobuf.FieldMask update_mask = 2; - * * @return The updateMask. */ @java.lang.Override @@ -154,8 +112,6 @@ public com.google.protobuf.FieldMask getUpdateMask() { return updateMask_ == null ? com.google.protobuf.FieldMask.getDefaultInstance() : updateMask_; } /** - * - * *
    * The list of fields to be updated.
    * 
@@ -168,7 +124,6 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -180,7 +135,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (view_ != null) { output.writeMessage(1, getView()); } @@ -197,10 +153,12 @@ public int getSerializedSize() { size = 0; if (view_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getView()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, getView()); } if (updateMask_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getUpdateMask()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, getUpdateMask()); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -210,21 +168,22 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.contactcenterinsights.v1.UpdateViewRequest)) { return super.equals(obj); } - com.google.cloud.contactcenterinsights.v1.UpdateViewRequest other = - (com.google.cloud.contactcenterinsights.v1.UpdateViewRequest) obj; + com.google.cloud.contactcenterinsights.v1.UpdateViewRequest other = (com.google.cloud.contactcenterinsights.v1.UpdateViewRequest) obj; if (hasView() != other.hasView()) return false; if (hasView()) { - if (!getView().equals(other.getView())) return false; + if (!getView() + .equals(other.getView())) return false; } if (hasUpdateMask() != other.hasUpdateMask()) return false; if (hasUpdateMask()) { - if (!getUpdateMask().equals(other.getUpdateMask())) return false; + if (!getUpdateMask() + .equals(other.getUpdateMask())) return false; } if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -251,136 +210,129 @@ public int hashCode() { } public static com.google.cloud.contactcenterinsights.v1.UpdateViewRequest parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.contactcenterinsights.v1.UpdateViewRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.contactcenterinsights.v1.UpdateViewRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.contactcenterinsights.v1.UpdateViewRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.contactcenterinsights.v1.UpdateViewRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.contactcenterinsights.v1.UpdateViewRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.contactcenterinsights.v1.UpdateViewRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.contactcenterinsights.v1.UpdateViewRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.contactcenterinsights.v1.UpdateViewRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.contactcenterinsights.v1.UpdateViewRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.contactcenterinsights.v1.UpdateViewRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.contactcenterinsights.v1.UpdateViewRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.contactcenterinsights.v1.UpdateViewRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.contactcenterinsights.v1.UpdateViewRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.contactcenterinsights.v1.UpdateViewRequest prototype) { + public static Builder newBuilder(com.google.cloud.contactcenterinsights.v1.UpdateViewRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * The request to update a view.
    * 
* * Protobuf type {@code google.cloud.contactcenterinsights.v1.UpdateViewRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.contactcenterinsights.v1.UpdateViewRequest) com.google.cloud.contactcenterinsights.v1.UpdateViewRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto - .internal_static_google_cloud_contactcenterinsights_v1_UpdateViewRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto.internal_static_google_cloud_contactcenterinsights_v1_UpdateViewRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto - .internal_static_google_cloud_contactcenterinsights_v1_UpdateViewRequest_fieldAccessorTable + return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto.internal_static_google_cloud_contactcenterinsights_v1_UpdateViewRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.contactcenterinsights.v1.UpdateViewRequest.class, - com.google.cloud.contactcenterinsights.v1.UpdateViewRequest.Builder.class); + com.google.cloud.contactcenterinsights.v1.UpdateViewRequest.class, com.google.cloud.contactcenterinsights.v1.UpdateViewRequest.Builder.class); } // Construct using com.google.cloud.contactcenterinsights.v1.UpdateViewRequest.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -399,9 +351,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto - .internal_static_google_cloud_contactcenterinsights_v1_UpdateViewRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto.internal_static_google_cloud_contactcenterinsights_v1_UpdateViewRequest_descriptor; } @java.lang.Override @@ -420,11 +372,8 @@ public com.google.cloud.contactcenterinsights.v1.UpdateViewRequest build() { @java.lang.Override public com.google.cloud.contactcenterinsights.v1.UpdateViewRequest buildPartial() { - com.google.cloud.contactcenterinsights.v1.UpdateViewRequest result = - new com.google.cloud.contactcenterinsights.v1.UpdateViewRequest(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + com.google.cloud.contactcenterinsights.v1.UpdateViewRequest result = new com.google.cloud.contactcenterinsights.v1.UpdateViewRequest(this); + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } @@ -432,10 +381,14 @@ public com.google.cloud.contactcenterinsights.v1.UpdateViewRequest buildPartial( private void buildPartial0(com.google.cloud.contactcenterinsights.v1.UpdateViewRequest result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { - result.view_ = viewBuilder_ == null ? view_ : viewBuilder_.build(); + result.view_ = viewBuilder_ == null + ? view_ + : viewBuilder_.build(); } if (((from_bitField0_ & 0x00000002) != 0)) { - result.updateMask_ = updateMaskBuilder_ == null ? updateMask_ : updateMaskBuilder_.build(); + result.updateMask_ = updateMaskBuilder_ == null + ? updateMask_ + : updateMaskBuilder_.build(); } } @@ -443,39 +396,38 @@ private void buildPartial0(com.google.cloud.contactcenterinsights.v1.UpdateViewR public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.contactcenterinsights.v1.UpdateViewRequest) { - return mergeFrom((com.google.cloud.contactcenterinsights.v1.UpdateViewRequest) other); + return mergeFrom((com.google.cloud.contactcenterinsights.v1.UpdateViewRequest)other); } else { super.mergeFrom(other); return this; @@ -483,8 +435,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.contactcenterinsights.v1.UpdateViewRequest other) { - if (other == com.google.cloud.contactcenterinsights.v1.UpdateViewRequest.getDefaultInstance()) - return this; + if (other == com.google.cloud.contactcenterinsights.v1.UpdateViewRequest.getDefaultInstance()) return this; if (other.hasView()) { mergeView(other.getView()); } @@ -517,25 +468,26 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - input.readMessage(getViewFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: - { - input.readMessage(getUpdateMaskFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00000002; - break; - } // case 18 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + input.readMessage( + getViewFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: { + input.readMessage( + getUpdateMaskFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00000002; + break; + } // case 18 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -545,63 +497,43 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private com.google.cloud.contactcenterinsights.v1.View view_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.contactcenterinsights.v1.View, - com.google.cloud.contactcenterinsights.v1.View.Builder, - com.google.cloud.contactcenterinsights.v1.ViewOrBuilder> - viewBuilder_; + com.google.cloud.contactcenterinsights.v1.View, com.google.cloud.contactcenterinsights.v1.View.Builder, com.google.cloud.contactcenterinsights.v1.ViewOrBuilder> viewBuilder_; /** - * - * *
      * Required. The new view.
      * 
* - * - * .google.cloud.contactcenterinsights.v1.View view = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.contactcenterinsights.v1.View view = 1 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the view field is set. */ public boolean hasView() { return ((bitField0_ & 0x00000001) != 0); } /** - * - * *
      * Required. The new view.
      * 
* - * - * .google.cloud.contactcenterinsights.v1.View view = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.contactcenterinsights.v1.View view = 1 [(.google.api.field_behavior) = REQUIRED]; * @return The view. */ public com.google.cloud.contactcenterinsights.v1.View getView() { if (viewBuilder_ == null) { - return view_ == null - ? com.google.cloud.contactcenterinsights.v1.View.getDefaultInstance() - : view_; + return view_ == null ? com.google.cloud.contactcenterinsights.v1.View.getDefaultInstance() : view_; } else { return viewBuilder_.getMessage(); } } /** - * - * *
      * Required. The new view.
      * 
* - * - * .google.cloud.contactcenterinsights.v1.View view = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.contactcenterinsights.v1.View view = 1 [(.google.api.field_behavior) = REQUIRED]; */ public Builder setView(com.google.cloud.contactcenterinsights.v1.View value) { if (viewBuilder_ == null) { @@ -617,17 +549,14 @@ public Builder setView(com.google.cloud.contactcenterinsights.v1.View value) { return this; } /** - * - * *
      * Required. The new view.
      * 
* - * - * .google.cloud.contactcenterinsights.v1.View view = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.contactcenterinsights.v1.View view = 1 [(.google.api.field_behavior) = REQUIRED]; */ - public Builder setView(com.google.cloud.contactcenterinsights.v1.View.Builder builderForValue) { + public Builder setView( + com.google.cloud.contactcenterinsights.v1.View.Builder builderForValue) { if (viewBuilder_ == null) { view_ = builderForValue.build(); } else { @@ -638,21 +567,17 @@ public Builder setView(com.google.cloud.contactcenterinsights.v1.View.Builder bu return this; } /** - * - * *
      * Required. The new view.
      * 
* - * - * .google.cloud.contactcenterinsights.v1.View view = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.contactcenterinsights.v1.View view = 1 [(.google.api.field_behavior) = REQUIRED]; */ public Builder mergeView(com.google.cloud.contactcenterinsights.v1.View value) { if (viewBuilder_ == null) { - if (((bitField0_ & 0x00000001) != 0) - && view_ != null - && view_ != com.google.cloud.contactcenterinsights.v1.View.getDefaultInstance()) { + if (((bitField0_ & 0x00000001) != 0) && + view_ != null && + view_ != com.google.cloud.contactcenterinsights.v1.View.getDefaultInstance()) { getViewBuilder().mergeFrom(value); } else { view_ = value; @@ -665,15 +590,11 @@ public Builder mergeView(com.google.cloud.contactcenterinsights.v1.View value) { return this; } /** - * - * *
      * Required. The new view.
      * 
* - * - * .google.cloud.contactcenterinsights.v1.View view = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.contactcenterinsights.v1.View view = 1 [(.google.api.field_behavior) = REQUIRED]; */ public Builder clearView() { bitField0_ = (bitField0_ & ~0x00000001); @@ -686,15 +607,11 @@ public Builder clearView() { return this; } /** - * - * *
      * Required. The new view.
      * 
* - * - * .google.cloud.contactcenterinsights.v1.View view = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.contactcenterinsights.v1.View view = 1 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.cloud.contactcenterinsights.v1.View.Builder getViewBuilder() { bitField0_ |= 0x00000001; @@ -702,48 +619,36 @@ public com.google.cloud.contactcenterinsights.v1.View.Builder getViewBuilder() { return getViewFieldBuilder().getBuilder(); } /** - * - * *
      * Required. The new view.
      * 
* - * - * .google.cloud.contactcenterinsights.v1.View view = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.contactcenterinsights.v1.View view = 1 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.cloud.contactcenterinsights.v1.ViewOrBuilder getViewOrBuilder() { if (viewBuilder_ != null) { return viewBuilder_.getMessageOrBuilder(); } else { - return view_ == null - ? com.google.cloud.contactcenterinsights.v1.View.getDefaultInstance() - : view_; + return view_ == null ? + com.google.cloud.contactcenterinsights.v1.View.getDefaultInstance() : view_; } } /** - * - * *
      * Required. The new view.
      * 
* - * - * .google.cloud.contactcenterinsights.v1.View view = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.contactcenterinsights.v1.View view = 1 [(.google.api.field_behavior) = REQUIRED]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.contactcenterinsights.v1.View, - com.google.cloud.contactcenterinsights.v1.View.Builder, - com.google.cloud.contactcenterinsights.v1.ViewOrBuilder> + com.google.cloud.contactcenterinsights.v1.View, com.google.cloud.contactcenterinsights.v1.View.Builder, com.google.cloud.contactcenterinsights.v1.ViewOrBuilder> getViewFieldBuilder() { if (viewBuilder_ == null) { - viewBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.contactcenterinsights.v1.View, - com.google.cloud.contactcenterinsights.v1.View.Builder, - com.google.cloud.contactcenterinsights.v1.ViewOrBuilder>( - getView(), getParentForChildren(), isClean()); + viewBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.contactcenterinsights.v1.View, com.google.cloud.contactcenterinsights.v1.View.Builder, com.google.cloud.contactcenterinsights.v1.ViewOrBuilder>( + getView(), + getParentForChildren(), + isClean()); view_ = null; } return viewBuilder_; @@ -751,47 +656,34 @@ public com.google.cloud.contactcenterinsights.v1.ViewOrBuilder getViewOrBuilder( private com.google.protobuf.FieldMask updateMask_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.FieldMask, - com.google.protobuf.FieldMask.Builder, - com.google.protobuf.FieldMaskOrBuilder> - updateMaskBuilder_; + com.google.protobuf.FieldMask, com.google.protobuf.FieldMask.Builder, com.google.protobuf.FieldMaskOrBuilder> updateMaskBuilder_; /** - * - * *
      * The list of fields to be updated.
      * 
* * .google.protobuf.FieldMask update_mask = 2; - * * @return Whether the updateMask field is set. */ public boolean hasUpdateMask() { return ((bitField0_ & 0x00000002) != 0); } /** - * - * *
      * The list of fields to be updated.
      * 
* * .google.protobuf.FieldMask update_mask = 2; - * * @return The updateMask. */ public com.google.protobuf.FieldMask getUpdateMask() { if (updateMaskBuilder_ == null) { - return updateMask_ == null - ? com.google.protobuf.FieldMask.getDefaultInstance() - : updateMask_; + return updateMask_ == null ? com.google.protobuf.FieldMask.getDefaultInstance() : updateMask_; } else { return updateMaskBuilder_.getMessage(); } } /** - * - * *
      * The list of fields to be updated.
      * 
@@ -812,15 +704,14 @@ public Builder setUpdateMask(com.google.protobuf.FieldMask value) { return this; } /** - * - * *
      * The list of fields to be updated.
      * 
* * .google.protobuf.FieldMask update_mask = 2; */ - public Builder setUpdateMask(com.google.protobuf.FieldMask.Builder builderForValue) { + public Builder setUpdateMask( + com.google.protobuf.FieldMask.Builder builderForValue) { if (updateMaskBuilder_ == null) { updateMask_ = builderForValue.build(); } else { @@ -831,8 +722,6 @@ public Builder setUpdateMask(com.google.protobuf.FieldMask.Builder builderForVal return this; } /** - * - * *
      * The list of fields to be updated.
      * 
@@ -841,9 +730,9 @@ public Builder setUpdateMask(com.google.protobuf.FieldMask.Builder builderForVal */ public Builder mergeUpdateMask(com.google.protobuf.FieldMask value) { if (updateMaskBuilder_ == null) { - if (((bitField0_ & 0x00000002) != 0) - && updateMask_ != null - && updateMask_ != com.google.protobuf.FieldMask.getDefaultInstance()) { + if (((bitField0_ & 0x00000002) != 0) && + updateMask_ != null && + updateMask_ != com.google.protobuf.FieldMask.getDefaultInstance()) { getUpdateMaskBuilder().mergeFrom(value); } else { updateMask_ = value; @@ -856,8 +745,6 @@ public Builder mergeUpdateMask(com.google.protobuf.FieldMask value) { return this; } /** - * - * *
      * The list of fields to be updated.
      * 
@@ -875,8 +762,6 @@ public Builder clearUpdateMask() { return this; } /** - * - * *
      * The list of fields to be updated.
      * 
@@ -889,8 +774,6 @@ public com.google.protobuf.FieldMask.Builder getUpdateMaskBuilder() { return getUpdateMaskFieldBuilder().getBuilder(); } /** - * - * *
      * The list of fields to be updated.
      * 
@@ -901,14 +784,11 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() { if (updateMaskBuilder_ != null) { return updateMaskBuilder_.getMessageOrBuilder(); } else { - return updateMask_ == null - ? com.google.protobuf.FieldMask.getDefaultInstance() - : updateMask_; + return updateMask_ == null ? + com.google.protobuf.FieldMask.getDefaultInstance() : updateMask_; } } /** - * - * *
      * The list of fields to be updated.
      * 
@@ -916,24 +796,21 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() { * .google.protobuf.FieldMask update_mask = 2; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.FieldMask, - com.google.protobuf.FieldMask.Builder, - com.google.protobuf.FieldMaskOrBuilder> + com.google.protobuf.FieldMask, com.google.protobuf.FieldMask.Builder, com.google.protobuf.FieldMaskOrBuilder> getUpdateMaskFieldBuilder() { if (updateMaskBuilder_ == null) { - updateMaskBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.FieldMask, - com.google.protobuf.FieldMask.Builder, - com.google.protobuf.FieldMaskOrBuilder>( - getUpdateMask(), getParentForChildren(), isClean()); + updateMaskBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.FieldMask, com.google.protobuf.FieldMask.Builder, com.google.protobuf.FieldMaskOrBuilder>( + getUpdateMask(), + getParentForChildren(), + isClean()); updateMask_ = null; } return updateMaskBuilder_; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -943,12 +820,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.contactcenterinsights.v1.UpdateViewRequest) } // @@protoc_insertion_point(class_scope:google.cloud.contactcenterinsights.v1.UpdateViewRequest) private static final com.google.cloud.contactcenterinsights.v1.UpdateViewRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.contactcenterinsights.v1.UpdateViewRequest(); } @@ -957,27 +834,27 @@ public static com.google.cloud.contactcenterinsights.v1.UpdateViewRequest getDef return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public UpdateViewRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public UpdateViewRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -992,4 +869,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.contactcenterinsights.v1.UpdateViewRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/UpdateViewRequestOrBuilder.java b/owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/UpdateViewRequestOrBuilder.java similarity index 56% rename from java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/UpdateViewRequestOrBuilder.java rename to owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/UpdateViewRequestOrBuilder.java index af93e5c99b5e..3491f25644a6 100644 --- a/java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/UpdateViewRequestOrBuilder.java +++ b/owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/UpdateViewRequestOrBuilder.java @@ -1,96 +1,58 @@ -/* - * 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. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/contactcenterinsights/v1/contact_center_insights.proto package com.google.cloud.contactcenterinsights.v1; -public interface UpdateViewRequestOrBuilder - extends +public interface UpdateViewRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.contactcenterinsights.v1.UpdateViewRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Required. The new view.
    * 
* - * - * .google.cloud.contactcenterinsights.v1.View view = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.contactcenterinsights.v1.View view = 1 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the view field is set. */ boolean hasView(); /** - * - * *
    * Required. The new view.
    * 
* - * - * .google.cloud.contactcenterinsights.v1.View view = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.contactcenterinsights.v1.View view = 1 [(.google.api.field_behavior) = REQUIRED]; * @return The view. */ com.google.cloud.contactcenterinsights.v1.View getView(); /** - * - * *
    * Required. The new view.
    * 
* - * - * .google.cloud.contactcenterinsights.v1.View view = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.contactcenterinsights.v1.View view = 1 [(.google.api.field_behavior) = REQUIRED]; */ com.google.cloud.contactcenterinsights.v1.ViewOrBuilder getViewOrBuilder(); /** - * - * *
    * The list of fields to be updated.
    * 
* * .google.protobuf.FieldMask update_mask = 2; - * * @return Whether the updateMask field is set. */ boolean hasUpdateMask(); /** - * - * *
    * The list of fields to be updated.
    * 
* * .google.protobuf.FieldMask update_mask = 2; - * * @return The updateMask. */ com.google.protobuf.FieldMask getUpdateMask(); /** - * - * *
    * The list of fields to be updated.
    * 
diff --git a/java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/View.java b/owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/View.java similarity index 66% rename from java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/View.java rename to owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/View.java index ae17e06c9a93..ea1591618482 100644 --- a/java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/View.java +++ b/owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/View.java @@ -1,42 +1,24 @@ -/* - * 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. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/contactcenterinsights/v1/resources.proto package com.google.cloud.contactcenterinsights.v1; /** - * - * *
  * The View resource.
  * 
* * Protobuf type {@code google.cloud.contactcenterinsights.v1.View} */ -public final class View extends com.google.protobuf.GeneratedMessageV3 - implements +public final class View extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.contactcenterinsights.v1.View) ViewOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use View.newBuilder() to construct. private View(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private View() { name_ = ""; displayName_ = ""; @@ -45,37 +27,33 @@ private View() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new View(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.contactcenterinsights.v1.ResourcesProto - .internal_static_google_cloud_contactcenterinsights_v1_View_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.contactcenterinsights.v1.ResourcesProto.internal_static_google_cloud_contactcenterinsights_v1_View_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.contactcenterinsights.v1.ResourcesProto - .internal_static_google_cloud_contactcenterinsights_v1_View_fieldAccessorTable + return com.google.cloud.contactcenterinsights.v1.ResourcesProto.internal_static_google_cloud_contactcenterinsights_v1_View_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.contactcenterinsights.v1.View.class, - com.google.cloud.contactcenterinsights.v1.View.Builder.class); + com.google.cloud.contactcenterinsights.v1.View.class, com.google.cloud.contactcenterinsights.v1.View.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; - @SuppressWarnings("serial") private volatile java.lang.Object name_ = ""; /** - * - * *
    * Immutable. The resource name of the view.
    * Format:
@@ -83,7 +61,6 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
    * 
* * string name = 1 [(.google.api.field_behavior) = IMMUTABLE]; - * * @return The name. */ @java.lang.Override @@ -92,15 +69,14 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** - * - * *
    * Immutable. The resource name of the view.
    * Format:
@@ -108,15 +84,16 @@ public java.lang.String getName() {
    * 
* * string name = 1 [(.google.api.field_behavior) = IMMUTABLE]; - * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -125,18 +102,14 @@ public com.google.protobuf.ByteString getNameBytes() { } public static final int DISPLAY_NAME_FIELD_NUMBER = 2; - @SuppressWarnings("serial") private volatile java.lang.Object displayName_ = ""; /** - * - * *
    * The human-readable display name of the view.
    * 
* * string display_name = 2; - * * @return The displayName. */ @java.lang.Override @@ -145,29 +118,29 @@ public java.lang.String getDisplayName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); displayName_ = s; return s; } } /** - * - * *
    * The human-readable display name of the view.
    * 
* * string display_name = 2; - * * @return The bytes for displayName. */ @java.lang.Override - public com.google.protobuf.ByteString getDisplayNameBytes() { + public com.google.protobuf.ByteString + getDisplayNameBytes() { java.lang.Object ref = displayName_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); displayName_ = b; return b; } else { @@ -178,15 +151,11 @@ public com.google.protobuf.ByteString getDisplayNameBytes() { public static final int CREATE_TIME_FIELD_NUMBER = 3; private com.google.protobuf.Timestamp createTime_; /** - * - * *
    * Output only. The time at which this view was created.
    * 
* - * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the createTime field is set. */ @java.lang.Override @@ -194,15 +163,11 @@ public boolean hasCreateTime() { return createTime_ != null; } /** - * - * *
    * Output only. The time at which this view was created.
    * 
* - * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The createTime. */ @java.lang.Override @@ -210,14 +175,11 @@ public com.google.protobuf.Timestamp getCreateTime() { return createTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : createTime_; } /** - * - * *
    * Output only. The time at which this view was created.
    * 
* - * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ @java.lang.Override public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { @@ -227,15 +189,11 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { public static final int UPDATE_TIME_FIELD_NUMBER = 4; private com.google.protobuf.Timestamp updateTime_; /** - * - * *
    * Output only. The most recent time at which the view was updated.
    * 
* - * .google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the updateTime field is set. */ @java.lang.Override @@ -243,15 +201,11 @@ public boolean hasUpdateTime() { return updateTime_ != null; } /** - * - * *
    * Output only. The most recent time at which the view was updated.
    * 
* - * .google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The updateTime. */ @java.lang.Override @@ -259,14 +213,11 @@ public com.google.protobuf.Timestamp getUpdateTime() { return updateTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : updateTime_; } /** - * - * *
    * Output only. The most recent time at which the view was updated.
    * 
* - * .google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ @java.lang.Override public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { @@ -274,18 +225,14 @@ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { } public static final int VALUE_FIELD_NUMBER = 5; - @SuppressWarnings("serial") private volatile java.lang.Object value_ = ""; /** - * - * *
-   * String with specific view properties.
+   * String with specific view properties, must be non-empty.
    * 
* * string value = 5; - * * @return The value. */ @java.lang.Override @@ -294,29 +241,29 @@ public java.lang.String getValue() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); value_ = s; return s; } } /** - * - * *
-   * String with specific view properties.
+   * String with specific view properties, must be non-empty.
    * 
* * string value = 5; - * * @return The bytes for value. */ @java.lang.Override - public com.google.protobuf.ByteString getValueBytes() { + public com.google.protobuf.ByteString + getValueBytes() { java.lang.Object ref = value_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); value_ = b; return b; } else { @@ -325,7 +272,6 @@ public com.google.protobuf.ByteString getValueBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -337,7 +283,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -369,10 +316,12 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, displayName_); } if (createTime_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getCreateTime()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(3, getCreateTime()); } if (updateTime_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(4, getUpdateTime()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(4, getUpdateTime()); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(value_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(5, value_); @@ -385,25 +334,29 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.contactcenterinsights.v1.View)) { return super.equals(obj); } - com.google.cloud.contactcenterinsights.v1.View other = - (com.google.cloud.contactcenterinsights.v1.View) obj; + com.google.cloud.contactcenterinsights.v1.View other = (com.google.cloud.contactcenterinsights.v1.View) obj; - if (!getName().equals(other.getName())) return false; - if (!getDisplayName().equals(other.getDisplayName())) return false; + if (!getName() + .equals(other.getName())) return false; + if (!getDisplayName() + .equals(other.getDisplayName())) return false; if (hasCreateTime() != other.hasCreateTime()) return false; if (hasCreateTime()) { - if (!getCreateTime().equals(other.getCreateTime())) return false; + if (!getCreateTime() + .equals(other.getCreateTime())) return false; } if (hasUpdateTime() != other.hasUpdateTime()) return false; if (hasUpdateTime()) { - if (!getUpdateTime().equals(other.getUpdateTime())) return false; + if (!getUpdateTime() + .equals(other.getUpdateTime())) return false; } - if (!getValue().equals(other.getValue())) return false; + if (!getValue() + .equals(other.getValue())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -434,136 +387,130 @@ public int hashCode() { return hash; } - public static com.google.cloud.contactcenterinsights.v1.View parseFrom(java.nio.ByteBuffer data) + public static com.google.cloud.contactcenterinsights.v1.View parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.contactcenterinsights.v1.View parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.contactcenterinsights.v1.View parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.contactcenterinsights.v1.View parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.contactcenterinsights.v1.View parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.contactcenterinsights.v1.View parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.contactcenterinsights.v1.View parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.contactcenterinsights.v1.View parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.contactcenterinsights.v1.View parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.contactcenterinsights.v1.View parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.contactcenterinsights.v1.View parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.contactcenterinsights.v1.View parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.contactcenterinsights.v1.View parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.contactcenterinsights.v1.View prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * The View resource.
    * 
* * Protobuf type {@code google.cloud.contactcenterinsights.v1.View} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.contactcenterinsights.v1.View) com.google.cloud.contactcenterinsights.v1.ViewOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.contactcenterinsights.v1.ResourcesProto - .internal_static_google_cloud_contactcenterinsights_v1_View_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.contactcenterinsights.v1.ResourcesProto.internal_static_google_cloud_contactcenterinsights_v1_View_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.contactcenterinsights.v1.ResourcesProto - .internal_static_google_cloud_contactcenterinsights_v1_View_fieldAccessorTable + return com.google.cloud.contactcenterinsights.v1.ResourcesProto.internal_static_google_cloud_contactcenterinsights_v1_View_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.contactcenterinsights.v1.View.class, - com.google.cloud.contactcenterinsights.v1.View.Builder.class); + com.google.cloud.contactcenterinsights.v1.View.class, com.google.cloud.contactcenterinsights.v1.View.Builder.class); } // Construct using com.google.cloud.contactcenterinsights.v1.View.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -585,9 +532,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.contactcenterinsights.v1.ResourcesProto - .internal_static_google_cloud_contactcenterinsights_v1_View_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.contactcenterinsights.v1.ResourcesProto.internal_static_google_cloud_contactcenterinsights_v1_View_descriptor; } @java.lang.Override @@ -606,11 +553,8 @@ public com.google.cloud.contactcenterinsights.v1.View build() { @java.lang.Override public com.google.cloud.contactcenterinsights.v1.View buildPartial() { - com.google.cloud.contactcenterinsights.v1.View result = - new com.google.cloud.contactcenterinsights.v1.View(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + com.google.cloud.contactcenterinsights.v1.View result = new com.google.cloud.contactcenterinsights.v1.View(this); + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } @@ -624,10 +568,14 @@ private void buildPartial0(com.google.cloud.contactcenterinsights.v1.View result result.displayName_ = displayName_; } if (((from_bitField0_ & 0x00000004) != 0)) { - result.createTime_ = createTimeBuilder_ == null ? createTime_ : createTimeBuilder_.build(); + result.createTime_ = createTimeBuilder_ == null + ? createTime_ + : createTimeBuilder_.build(); } if (((from_bitField0_ & 0x00000008) != 0)) { - result.updateTime_ = updateTimeBuilder_ == null ? updateTime_ : updateTimeBuilder_.build(); + result.updateTime_ = updateTimeBuilder_ == null + ? updateTime_ + : updateTimeBuilder_.build(); } if (((from_bitField0_ & 0x00000010) != 0)) { result.value_ = value_; @@ -638,39 +586,38 @@ private void buildPartial0(com.google.cloud.contactcenterinsights.v1.View result public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.contactcenterinsights.v1.View) { - return mergeFrom((com.google.cloud.contactcenterinsights.v1.View) other); + return mergeFrom((com.google.cloud.contactcenterinsights.v1.View)other); } else { super.mergeFrom(other); return this; @@ -726,43 +673,41 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - name_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: - { - displayName_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000002; - break; - } // case 18 - case 26: - { - input.readMessage(getCreateTimeFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00000004; - break; - } // case 26 - case 34: - { - input.readMessage(getUpdateTimeFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00000008; - break; - } // case 34 - case 42: - { - value_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000010; - break; - } // case 42 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + name_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: { + displayName_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + break; + } // case 18 + case 26: { + input.readMessage( + getCreateTimeFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00000004; + break; + } // case 26 + case 34: { + input.readMessage( + getUpdateTimeFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00000008; + break; + } // case 34 + case 42: { + value_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000010; + break; + } // case 42 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -772,13 +717,10 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private java.lang.Object name_ = ""; /** - * - * *
      * Immutable. The resource name of the view.
      * Format:
@@ -786,13 +728,13 @@ public Builder mergeFrom(
      * 
* * string name = 1 [(.google.api.field_behavior) = IMMUTABLE]; - * * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -801,8 +743,6 @@ public java.lang.String getName() { } } /** - * - * *
      * Immutable. The resource name of the view.
      * Format:
@@ -810,14 +750,15 @@ public java.lang.String getName() {
      * 
* * string name = 1 [(.google.api.field_behavior) = IMMUTABLE]; - * * @return The bytes for name. */ - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -825,8 +766,6 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * Immutable. The resource name of the view.
      * Format:
@@ -834,22 +773,18 @@ public com.google.protobuf.ByteString getNameBytes() {
      * 
* * string name = 1 [(.google.api.field_behavior) = IMMUTABLE]; - * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setName( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } name_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
      * Immutable. The resource name of the view.
      * Format:
@@ -857,7 +792,6 @@ public Builder setName(java.lang.String value) {
      * 
* * string name = 1 [(.google.api.field_behavior) = IMMUTABLE]; - * * @return This builder for chaining. */ public Builder clearName() { @@ -867,8 +801,6 @@ public Builder clearName() { return this; } /** - * - * *
      * Immutable. The resource name of the view.
      * Format:
@@ -876,14 +808,12 @@ public Builder clearName() {
      * 
* * string name = 1 [(.google.api.field_behavior) = IMMUTABLE]; - * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setNameBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); name_ = value; bitField0_ |= 0x00000001; @@ -893,20 +823,18 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) { private java.lang.Object displayName_ = ""; /** - * - * *
      * The human-readable display name of the view.
      * 
* * string display_name = 2; - * * @return The displayName. */ public java.lang.String getDisplayName() { java.lang.Object ref = displayName_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); displayName_ = s; return s; @@ -915,21 +843,20 @@ public java.lang.String getDisplayName() { } } /** - * - * *
      * The human-readable display name of the view.
      * 
* * string display_name = 2; - * * @return The bytes for displayName. */ - public com.google.protobuf.ByteString getDisplayNameBytes() { + public com.google.protobuf.ByteString + getDisplayNameBytes() { java.lang.Object ref = displayName_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); displayName_ = b; return b; } else { @@ -937,35 +864,28 @@ public com.google.protobuf.ByteString getDisplayNameBytes() { } } /** - * - * *
      * The human-readable display name of the view.
      * 
* * string display_name = 2; - * * @param value The displayName to set. * @return This builder for chaining. */ - public Builder setDisplayName(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setDisplayName( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } displayName_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** - * - * *
      * The human-readable display name of the view.
      * 
* * string display_name = 2; - * * @return This builder for chaining. */ public Builder clearDisplayName() { @@ -975,21 +895,17 @@ public Builder clearDisplayName() { return this; } /** - * - * *
      * The human-readable display name of the view.
      * 
* * string display_name = 2; - * * @param value The bytes for displayName to set. * @return This builder for chaining. */ - public Builder setDisplayNameBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setDisplayNameBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); displayName_ = value; bitField0_ |= 0x00000002; @@ -999,58 +915,39 @@ public Builder setDisplayNameBytes(com.google.protobuf.ByteString value) { private com.google.protobuf.Timestamp createTime_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> - createTimeBuilder_; + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> createTimeBuilder_; /** - * - * *
      * Output only. The time at which this view was created.
      * 
* - * - * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the createTime field is set. */ public boolean hasCreateTime() { return ((bitField0_ & 0x00000004) != 0); } /** - * - * *
      * Output only. The time at which this view was created.
      * 
* - * - * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The createTime. */ public com.google.protobuf.Timestamp getCreateTime() { if (createTimeBuilder_ == null) { - return createTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : createTime_; + return createTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : createTime_; } else { return createTimeBuilder_.getMessage(); } } /** - * - * *
      * Output only. The time at which this view was created.
      * 
* - * - * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder setCreateTime(com.google.protobuf.Timestamp value) { if (createTimeBuilder_ == null) { @@ -1066,17 +963,14 @@ public Builder setCreateTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * Output only. The time at which this view was created.
      * 
* - * - * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - public Builder setCreateTime(com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setCreateTime( + com.google.protobuf.Timestamp.Builder builderForValue) { if (createTimeBuilder_ == null) { createTime_ = builderForValue.build(); } else { @@ -1087,21 +981,17 @@ public Builder setCreateTime(com.google.protobuf.Timestamp.Builder builderForVal return this; } /** - * - * *
      * Output only. The time at which this view was created.
      * 
* - * - * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder mergeCreateTime(com.google.protobuf.Timestamp value) { if (createTimeBuilder_ == null) { - if (((bitField0_ & 0x00000004) != 0) - && createTime_ != null - && createTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { + if (((bitField0_ & 0x00000004) != 0) && + createTime_ != null && + createTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { getCreateTimeBuilder().mergeFrom(value); } else { createTime_ = value; @@ -1114,15 +1004,11 @@ public Builder mergeCreateTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * Output only. The time at which this view was created.
      * 
* - * - * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder clearCreateTime() { bitField0_ = (bitField0_ & ~0x00000004); @@ -1135,15 +1021,11 @@ public Builder clearCreateTime() { return this; } /** - * - * *
      * Output only. The time at which this view was created.
      * 
* - * - * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public com.google.protobuf.Timestamp.Builder getCreateTimeBuilder() { bitField0_ |= 0x00000004; @@ -1151,48 +1033,36 @@ public com.google.protobuf.Timestamp.Builder getCreateTimeBuilder() { return getCreateTimeFieldBuilder().getBuilder(); } /** - * - * *
      * Output only. The time at which this view was created.
      * 
* - * - * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { if (createTimeBuilder_ != null) { return createTimeBuilder_.getMessageOrBuilder(); } else { - return createTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : createTime_; + return createTime_ == null ? + com.google.protobuf.Timestamp.getDefaultInstance() : createTime_; } } /** - * - * *
      * Output only. The time at which this view was created.
      * 
* - * - * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> getCreateTimeFieldBuilder() { if (createTimeBuilder_ == null) { - createTimeBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder>( - getCreateTime(), getParentForChildren(), isClean()); + createTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( + getCreateTime(), + getParentForChildren(), + isClean()); createTime_ = null; } return createTimeBuilder_; @@ -1200,58 +1070,39 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { private com.google.protobuf.Timestamp updateTime_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> - updateTimeBuilder_; + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> updateTimeBuilder_; /** - * - * *
      * Output only. The most recent time at which the view was updated.
      * 
* - * - * .google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the updateTime field is set. */ public boolean hasUpdateTime() { return ((bitField0_ & 0x00000008) != 0); } /** - * - * *
      * Output only. The most recent time at which the view was updated.
      * 
* - * - * .google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The updateTime. */ public com.google.protobuf.Timestamp getUpdateTime() { if (updateTimeBuilder_ == null) { - return updateTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : updateTime_; + return updateTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : updateTime_; } else { return updateTimeBuilder_.getMessage(); } } /** - * - * *
      * Output only. The most recent time at which the view was updated.
      * 
* - * - * .google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder setUpdateTime(com.google.protobuf.Timestamp value) { if (updateTimeBuilder_ == null) { @@ -1267,17 +1118,14 @@ public Builder setUpdateTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * Output only. The most recent time at which the view was updated.
      * 
* - * - * .google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - public Builder setUpdateTime(com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setUpdateTime( + com.google.protobuf.Timestamp.Builder builderForValue) { if (updateTimeBuilder_ == null) { updateTime_ = builderForValue.build(); } else { @@ -1288,21 +1136,17 @@ public Builder setUpdateTime(com.google.protobuf.Timestamp.Builder builderForVal return this; } /** - * - * *
      * Output only. The most recent time at which the view was updated.
      * 
* - * - * .google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder mergeUpdateTime(com.google.protobuf.Timestamp value) { if (updateTimeBuilder_ == null) { - if (((bitField0_ & 0x00000008) != 0) - && updateTime_ != null - && updateTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { + if (((bitField0_ & 0x00000008) != 0) && + updateTime_ != null && + updateTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { getUpdateTimeBuilder().mergeFrom(value); } else { updateTime_ = value; @@ -1315,15 +1159,11 @@ public Builder mergeUpdateTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * Output only. The most recent time at which the view was updated.
      * 
* - * - * .google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder clearUpdateTime() { bitField0_ = (bitField0_ & ~0x00000008); @@ -1336,15 +1176,11 @@ public Builder clearUpdateTime() { return this; } /** - * - * *
      * Output only. The most recent time at which the view was updated.
      * 
* - * - * .google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public com.google.protobuf.Timestamp.Builder getUpdateTimeBuilder() { bitField0_ |= 0x00000008; @@ -1352,48 +1188,36 @@ public com.google.protobuf.Timestamp.Builder getUpdateTimeBuilder() { return getUpdateTimeFieldBuilder().getBuilder(); } /** - * - * *
      * Output only. The most recent time at which the view was updated.
      * 
* - * - * .google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { if (updateTimeBuilder_ != null) { return updateTimeBuilder_.getMessageOrBuilder(); } else { - return updateTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : updateTime_; + return updateTime_ == null ? + com.google.protobuf.Timestamp.getDefaultInstance() : updateTime_; } } /** - * - * *
      * Output only. The most recent time at which the view was updated.
      * 
* - * - * .google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> getUpdateTimeFieldBuilder() { if (updateTimeBuilder_ == null) { - updateTimeBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder>( - getUpdateTime(), getParentForChildren(), isClean()); + updateTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( + getUpdateTime(), + getParentForChildren(), + isClean()); updateTime_ = null; } return updateTimeBuilder_; @@ -1401,20 +1225,18 @@ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { private java.lang.Object value_ = ""; /** - * - * *
-     * String with specific view properties.
+     * String with specific view properties, must be non-empty.
      * 
* * string value = 5; - * * @return The value. */ public java.lang.String getValue() { java.lang.Object ref = value_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); value_ = s; return s; @@ -1423,21 +1245,20 @@ public java.lang.String getValue() { } } /** - * - * *
-     * String with specific view properties.
+     * String with specific view properties, must be non-empty.
      * 
* * string value = 5; - * * @return The bytes for value. */ - public com.google.protobuf.ByteString getValueBytes() { + public com.google.protobuf.ByteString + getValueBytes() { java.lang.Object ref = value_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); value_ = b; return b; } else { @@ -1445,35 +1266,28 @@ public com.google.protobuf.ByteString getValueBytes() { } } /** - * - * *
-     * String with specific view properties.
+     * String with specific view properties, must be non-empty.
      * 
* * string value = 5; - * * @param value The value to set. * @return This builder for chaining. */ - public Builder setValue(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setValue( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } value_ = value; bitField0_ |= 0x00000010; onChanged(); return this; } /** - * - * *
-     * String with specific view properties.
+     * String with specific view properties, must be non-empty.
      * 
* * string value = 5; - * * @return This builder for chaining. */ public Builder clearValue() { @@ -1483,30 +1297,26 @@ public Builder clearValue() { return this; } /** - * - * *
-     * String with specific view properties.
+     * String with specific view properties, must be non-empty.
      * 
* * string value = 5; - * * @param value The bytes for value to set. * @return This builder for chaining. */ - public Builder setValueBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setValueBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); value_ = value; bitField0_ |= 0x00000010; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1516,12 +1326,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.contactcenterinsights.v1.View) } // @@protoc_insertion_point(class_scope:google.cloud.contactcenterinsights.v1.View) private static final com.google.cloud.contactcenterinsights.v1.View DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.contactcenterinsights.v1.View(); } @@ -1530,27 +1340,27 @@ public static com.google.cloud.contactcenterinsights.v1.View getDefaultInstance( return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public View parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public View parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1565,4 +1375,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.contactcenterinsights.v1.View getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ViewName.java b/owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ViewName.java similarity index 100% rename from java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ViewName.java rename to owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ViewName.java diff --git a/java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ViewOrBuilder.java b/owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ViewOrBuilder.java similarity index 68% rename from java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ViewOrBuilder.java rename to owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ViewOrBuilder.java index 20c13a34dd73..0f5d5a45bdc9 100644 --- a/java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ViewOrBuilder.java +++ b/owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ViewOrBuilder.java @@ -1,31 +1,13 @@ -/* - * 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. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/contactcenterinsights/v1/resources.proto package com.google.cloud.contactcenterinsights.v1; -public interface ViewOrBuilder - extends +public interface ViewOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.contactcenterinsights.v1.View) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Immutable. The resource name of the view.
    * Format:
@@ -33,13 +15,10 @@ public interface ViewOrBuilder
    * 
* * string name = 1 [(.google.api.field_behavior) = IMMUTABLE]; - * * @return The name. */ java.lang.String getName(); /** - * - * *
    * Immutable. The resource name of the view.
    * Format:
@@ -47,134 +26,102 @@ public interface ViewOrBuilder
    * 
* * string name = 1 [(.google.api.field_behavior) = IMMUTABLE]; - * * @return The bytes for name. */ - com.google.protobuf.ByteString getNameBytes(); + com.google.protobuf.ByteString + getNameBytes(); /** - * - * *
    * The human-readable display name of the view.
    * 
* * string display_name = 2; - * * @return The displayName. */ java.lang.String getDisplayName(); /** - * - * *
    * The human-readable display name of the view.
    * 
* * string display_name = 2; - * * @return The bytes for displayName. */ - com.google.protobuf.ByteString getDisplayNameBytes(); + com.google.protobuf.ByteString + getDisplayNameBytes(); /** - * - * *
    * Output only. The time at which this view was created.
    * 
* - * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the createTime field is set. */ boolean hasCreateTime(); /** - * - * *
    * Output only. The time at which this view was created.
    * 
* - * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The createTime. */ com.google.protobuf.Timestamp getCreateTime(); /** - * - * *
    * Output only. The time at which this view was created.
    * 
* - * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder(); /** - * - * *
    * Output only. The most recent time at which the view was updated.
    * 
* - * .google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the updateTime field is set. */ boolean hasUpdateTime(); /** - * - * *
    * Output only. The most recent time at which the view was updated.
    * 
* - * .google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The updateTime. */ com.google.protobuf.Timestamp getUpdateTime(); /** - * - * *
    * Output only. The most recent time at which the view was updated.
    * 
* - * .google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder(); /** - * - * *
-   * String with specific view properties.
+   * String with specific view properties, must be non-empty.
    * 
* * string value = 5; - * * @return The value. */ java.lang.String getValue(); /** - * - * *
-   * String with specific view properties.
+   * String with specific view properties, must be non-empty.
    * 
* * string value = 5; - * * @return The bytes for value. */ - com.google.protobuf.ByteString getValueBytes(); + com.google.protobuf.ByteString + getValueBytes(); } diff --git a/java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/proto/google/cloud/contactcenterinsights/v1/contact_center_insights.proto b/owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/proto/google/cloud/contactcenterinsights/v1/contact_center_insights.proto similarity index 89% rename from java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/proto/google/cloud/contactcenterinsights/v1/contact_center_insights.proto rename to owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/proto/google/cloud/contactcenterinsights/v1/contact_center_insights.proto index 273bd0d42f13..b9f611b787d8 100644 --- a/java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/proto/google/cloud/contactcenterinsights/v1/contact_center_insights.proto +++ b/owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/proto/google/cloud/contactcenterinsights/v1/contact_center_insights.proto @@ -39,7 +39,8 @@ option ruby_package = "Google::Cloud::ContactCenterInsights::V1"; // An API that lets users analyze and explore their business conversation data. service ContactCenterInsights { option (google.api.default_host) = "contactcenterinsights.googleapis.com"; - option (google.api.oauth_scopes) = "https://www.googleapis.com/auth/cloud-platform"; + option (google.api.oauth_scopes) = + "https://www.googleapis.com/auth/cloud-platform"; // Creates a conversation. rpc CreateConversation(CreateConversationRequest) returns (Conversation) { @@ -47,7 +48,8 @@ service ContactCenterInsights { post: "/v1/{parent=projects/*/locations/*}/conversations" body: "conversation" }; - option (google.api.method_signature) = "parent,conversation,conversation_id"; + option (google.api.method_signature) = + "parent,conversation,conversation_id"; } // Updates a conversation. @@ -68,7 +70,8 @@ service ContactCenterInsights { } // Lists conversations. - rpc ListConversations(ListConversationsRequest) returns (ListConversationsResponse) { + rpc ListConversations(ListConversationsRequest) + returns (ListConversationsResponse) { option (google.api.http) = { get: "/v1/{parent=projects/*/locations/*}/conversations" }; @@ -76,7 +79,8 @@ service ContactCenterInsights { } // Deletes a conversation. - rpc DeleteConversation(DeleteConversationRequest) returns (google.protobuf.Empty) { + rpc DeleteConversation(DeleteConversationRequest) + returns (google.protobuf.Empty) { option (google.api.http) = { delete: "/v1/{name=projects/*/locations/*/conversations/*}" }; @@ -85,7 +89,8 @@ service ContactCenterInsights { // Creates an analysis. The long running operation is done when the analysis // has completed. - rpc CreateAnalysis(CreateAnalysisRequest) returns (google.longrunning.Operation) { + rpc CreateAnalysis(CreateAnalysisRequest) + returns (google.longrunning.Operation) { option (google.api.http) = { post: "/v1/{parent=projects/*/locations/*/conversations/*}/analyses" body: "analysis" @@ -122,7 +127,8 @@ service ContactCenterInsights { } // Analyzes multiple conversations in a single request. - rpc BulkAnalyzeConversations(BulkAnalyzeConversationsRequest) returns (google.longrunning.Operation) { + rpc BulkAnalyzeConversations(BulkAnalyzeConversationsRequest) + returns (google.longrunning.Operation) { option (google.api.http) = { post: "/v1/{parent=projects/*/locations/*}/conversations:bulkAnalyze" body: "*" @@ -136,7 +142,8 @@ service ContactCenterInsights { // Imports conversations and processes them according to the user's // configuration. - rpc IngestConversations(IngestConversationsRequest) returns (google.longrunning.Operation) { + rpc IngestConversations(IngestConversationsRequest) + returns (google.longrunning.Operation) { option (google.api.http) = { post: "/v1/{parent=projects/*/locations/*}/conversations:ingest" body: "*" @@ -149,7 +156,8 @@ service ContactCenterInsights { } // Export insights data to a destination defined in the request body. - rpc ExportInsightsData(ExportInsightsDataRequest) returns (google.longrunning.Operation) { + rpc ExportInsightsData(ExportInsightsDataRequest) + returns (google.longrunning.Operation) { option (google.api.http) = { post: "/v1/{parent=projects/*/locations/*}/insightsdata:export" body: "*" @@ -162,7 +170,8 @@ service ContactCenterInsights { } // Creates an issue model. - rpc CreateIssueModel(CreateIssueModelRequest) returns (google.longrunning.Operation) { + rpc CreateIssueModel(CreateIssueModelRequest) + returns (google.longrunning.Operation) { option (google.api.http) = { post: "/v1/{parent=projects/*/locations/*}/issueModels" body: "issue_model" @@ -192,7 +201,8 @@ service ContactCenterInsights { } // Lists issue models. - rpc ListIssueModels(ListIssueModelsRequest) returns (ListIssueModelsResponse) { + rpc ListIssueModels(ListIssueModelsRequest) + returns (ListIssueModelsResponse) { option (google.api.http) = { get: "/v1/{parent=projects/*/locations/*}/issueModels" }; @@ -200,7 +210,8 @@ service ContactCenterInsights { } // Deletes an issue model. - rpc DeleteIssueModel(DeleteIssueModelRequest) returns (google.longrunning.Operation) { + rpc DeleteIssueModel(DeleteIssueModelRequest) + returns (google.longrunning.Operation) { option (google.api.http) = { delete: "/v1/{name=projects/*/locations/*/issueModels/*}" }; @@ -213,7 +224,8 @@ service ContactCenterInsights { // 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. - rpc DeployIssueModel(DeployIssueModelRequest) returns (google.longrunning.Operation) { + rpc DeployIssueModel(DeployIssueModelRequest) + returns (google.longrunning.Operation) { option (google.api.http) = { post: "/v1/{name=projects/*/locations/*/issueModels/*}:deploy" body: "*" @@ -227,7 +239,8 @@ service ContactCenterInsights { // Undeploys an issue model. // An issue model can not be used in analysis after it has been undeployed. - rpc UndeployIssueModel(UndeployIssueModelRequest) returns (google.longrunning.Operation) { + rpc UndeployIssueModel(UndeployIssueModelRequest) + returns (google.longrunning.Operation) { option (google.api.http) = { post: "/v1/{name=projects/*/locations/*/issueModels/*}:undeploy" body: "*" @@ -273,7 +286,8 @@ service ContactCenterInsights { } // Gets an issue model's statistics. - rpc CalculateIssueModelStats(CalculateIssueModelStatsRequest) returns (CalculateIssueModelStatsResponse) { + rpc CalculateIssueModelStats(CalculateIssueModelStatsRequest) + returns (CalculateIssueModelStatsResponse) { option (google.api.http) = { get: "/v1/{issue_model=projects/*/locations/*/issueModels/*}:calculateIssueModelStats" }; @@ -298,7 +312,8 @@ service ContactCenterInsights { } // Lists phrase matchers. - rpc ListPhraseMatchers(ListPhraseMatchersRequest) returns (ListPhraseMatchersResponse) { + rpc ListPhraseMatchers(ListPhraseMatchersRequest) + returns (ListPhraseMatchersResponse) { option (google.api.http) = { get: "/v1/{parent=projects/*/locations/*}/phraseMatchers" }; @@ -306,7 +321,8 @@ service ContactCenterInsights { } // Deletes a phrase matcher. - rpc DeletePhraseMatcher(DeletePhraseMatcherRequest) returns (google.protobuf.Empty) { + rpc DeletePhraseMatcher(DeletePhraseMatcherRequest) + returns (google.protobuf.Empty) { option (google.api.http) = { delete: "/v1/{name=projects/*/locations/*/phraseMatchers/*}" }; @@ -479,10 +495,12 @@ message CalculateStatsResponse { // Metadata for a create analysis operation. message CreateAnalysisOperationMetadata { // Output only. The time the operation was created. - google.protobuf.Timestamp create_time = 1 [(google.api.field_behavior) = OUTPUT_ONLY]; + google.protobuf.Timestamp create_time = 1 + [(google.api.field_behavior) = OUTPUT_ONLY]; // Output only. The time the operation finished running. - google.protobuf.Timestamp end_time = 2 [(google.api.field_behavior) = OUTPUT_ONLY]; + google.protobuf.Timestamp end_time = 2 + [(google.api.field_behavior) = OUTPUT_ONLY]; // Output only. The Conversation that this Analysis Operation belongs to. string conversation = 3 [ @@ -493,7 +511,8 @@ message CreateAnalysisOperationMetadata { ]; // Output only. The annotator selector used for the analysis (if any). - AnnotatorSelector annotator_selector = 4 [(google.api.field_behavior) = OUTPUT_ONLY]; + AnnotatorSelector annotator_selector = 4 + [(google.api.field_behavior) = OUTPUT_ONLY]; } // Request to create a conversation. @@ -645,24 +664,51 @@ message IngestConversationsRequest { // The metadata for an IngestConversations operation. message IngestConversationsMetadata { + // Statistics for IngestConversations operation. + message IngestConversationsStats { + // Output only. The number of objects processed during the ingest operation. + int32 processed_object_count = 1 + [(google.api.field_behavior) = OUTPUT_ONLY]; + + // Output only. The number of objects skipped because another conversation + // with the same transcript uri had already been ingested. + int32 duplicates_skipped_count = 2 + [(google.api.field_behavior) = OUTPUT_ONLY]; + + // Output only. The number of new conversations added during this ingest + // operation. + int32 successful_ingest_count = 3 + [(google.api.field_behavior) = OUTPUT_ONLY]; + + // Output only. The number of objects which were unable to be ingested due + // to errors. The errors are populated in the partial_errors field. + int32 failed_ingest_count = 4 [(google.api.field_behavior) = OUTPUT_ONLY]; + } + // Output only. The time the operation was created. - google.protobuf.Timestamp create_time = 1 [(google.api.field_behavior) = OUTPUT_ONLY]; + google.protobuf.Timestamp create_time = 1 + [(google.api.field_behavior) = OUTPUT_ONLY]; // Output only. The time the operation finished running. - google.protobuf.Timestamp end_time = 2 [(google.api.field_behavior) = OUTPUT_ONLY]; + google.protobuf.Timestamp end_time = 2 + [(google.api.field_behavior) = OUTPUT_ONLY]; // Output only. The original request for ingest. - IngestConversationsRequest request = 3 [(google.api.field_behavior) = OUTPUT_ONLY]; + IngestConversationsRequest request = 3 + [(google.api.field_behavior) = OUTPUT_ONLY]; - // Output only. Partial errors during ingest operation that might cause the operation - // output to be incomplete. - repeated google.rpc.Status partial_errors = 4 [(google.api.field_behavior) = OUTPUT_ONLY]; + // Output only. Partial errors during ingest operation that might cause the + // operation output to be incomplete. + repeated google.rpc.Status partial_errors = 4 + [(google.api.field_behavior) = OUTPUT_ONLY]; + + // Output only. Statistics for IngestConversations operation. + IngestConversationsStats ingest_conversations_stats = 5 + [(google.api.field_behavior) = OUTPUT_ONLY]; } // The response to an IngestConversations operation. -message IngestConversationsResponse { - -} +message IngestConversationsResponse {} // The request to create an analysis. message CreateAnalysisRequest { @@ -798,9 +844,9 @@ message ExportInsightsDataRequest { // the resource project will be used. string project_id = 3; - // Required. The name of the BigQuery dataset that the snapshot result should be - // exported to. If this dataset does not exist, the export call returns an - // INVALID_ARGUMENT error. + // Required. The name of the BigQuery dataset that the snapshot result + // should be exported to. If this dataset does not exist, the export call + // returns an INVALID_ARGUMENT error. string dataset = 1 [(google.api.field_behavior) = REQUIRED]; // The BigQuery table name to which the insights data should be written. @@ -852,10 +898,12 @@ message ExportInsightsDataRequest { // Metadata for an export insights operation. message ExportInsightsDataMetadata { // Output only. The time the operation was created. - google.protobuf.Timestamp create_time = 1 [(google.api.field_behavior) = OUTPUT_ONLY]; + google.protobuf.Timestamp create_time = 1 + [(google.api.field_behavior) = OUTPUT_ONLY]; // Output only. The time the operation finished running. - google.protobuf.Timestamp end_time = 2 [(google.api.field_behavior) = OUTPUT_ONLY]; + google.protobuf.Timestamp end_time = 2 + [(google.api.field_behavior) = OUTPUT_ONLY]; // The original request for export. ExportInsightsDataRequest request = 3; @@ -866,9 +914,7 @@ message ExportInsightsDataMetadata { } // Response for an export insights operation. -message ExportInsightsDataResponse { - -} +message ExportInsightsDataResponse {} // The request to create an issue model. message CreateIssueModelRequest { @@ -887,10 +933,12 @@ message CreateIssueModelRequest { // Metadata for creating an issue model. message CreateIssueModelMetadata { // Output only. The time the operation was created. - google.protobuf.Timestamp create_time = 1 [(google.api.field_behavior) = OUTPUT_ONLY]; + google.protobuf.Timestamp create_time = 1 + [(google.api.field_behavior) = OUTPUT_ONLY]; // Output only. The time the operation finished running. - google.protobuf.Timestamp end_time = 2 [(google.api.field_behavior) = OUTPUT_ONLY]; + google.protobuf.Timestamp end_time = 2 + [(google.api.field_behavior) = OUTPUT_ONLY]; // The original request for creation. CreateIssueModelRequest request = 3; @@ -947,10 +995,12 @@ message DeleteIssueModelRequest { // Metadata for deleting an issue model. message DeleteIssueModelMetadata { // Output only. The time the operation was created. - google.protobuf.Timestamp create_time = 1 [(google.api.field_behavior) = OUTPUT_ONLY]; + google.protobuf.Timestamp create_time = 1 + [(google.api.field_behavior) = OUTPUT_ONLY]; // Output only. The time the operation finished running. - google.protobuf.Timestamp end_time = 2 [(google.api.field_behavior) = OUTPUT_ONLY]; + google.protobuf.Timestamp end_time = 2 + [(google.api.field_behavior) = OUTPUT_ONLY]; // The original request for deletion. DeleteIssueModelRequest request = 3; @@ -968,17 +1018,17 @@ message DeployIssueModelRequest { } // The response to deploy an issue model. -message DeployIssueModelResponse { - -} +message DeployIssueModelResponse {} // Metadata for deploying an issue model. message DeployIssueModelMetadata { // Output only. The time the operation was created. - google.protobuf.Timestamp create_time = 1 [(google.api.field_behavior) = OUTPUT_ONLY]; + google.protobuf.Timestamp create_time = 1 + [(google.api.field_behavior) = OUTPUT_ONLY]; // Output only. The time the operation finished running. - google.protobuf.Timestamp end_time = 2 [(google.api.field_behavior) = OUTPUT_ONLY]; + google.protobuf.Timestamp end_time = 2 + [(google.api.field_behavior) = OUTPUT_ONLY]; // The original request for deployment. DeployIssueModelRequest request = 3; @@ -996,17 +1046,17 @@ message UndeployIssueModelRequest { } // The response to undeploy an issue model. -message UndeployIssueModelResponse { - -} +message UndeployIssueModelResponse {} // Metadata for undeploying an issue model. message UndeployIssueModelMetadata { // Output only. The time the operation was created. - google.protobuf.Timestamp create_time = 1 [(google.api.field_behavior) = OUTPUT_ONLY]; + google.protobuf.Timestamp create_time = 1 + [(google.api.field_behavior) = OUTPUT_ONLY]; // Output only. The time the operation finished running. - google.protobuf.Timestamp end_time = 2 [(google.api.field_behavior) = OUTPUT_ONLY]; + google.protobuf.Timestamp end_time = 2 + [(google.api.field_behavior) = OUTPUT_ONLY]; // The original request for undeployment. UndeployIssueModelRequest request = 3; @@ -1080,10 +1130,10 @@ message CalculateIssueModelStatsResponse { // Request to create a phrase matcher. message CreatePhraseMatcherRequest { - // Required. The parent resource of the phrase matcher. Required. The location to create - // a phrase matcher for. - // Format: `projects//locations/` or - // `projects//locations/` + // Required. The parent resource of the phrase matcher. Required. The location + // to create a phrase matcher for. Format: `projects//locations/` or `projects//locations/` string parent = 1 [ (google.api.field_behavior) = REQUIRED, (google.api.resource_reference) = { @@ -1179,7 +1229,8 @@ message UpdateSettingsRequest { Settings settings = 1 [(google.api.field_behavior) = REQUIRED]; // Required. The list of fields to be updated. - google.protobuf.FieldMask update_mask = 2 [(google.api.field_behavior) = REQUIRED]; + google.protobuf.FieldMask update_mask = 2 + [(google.api.field_behavior) = REQUIRED]; } // The request to create a view. diff --git a/java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/proto/google/cloud/contactcenterinsights/v1/resources.proto b/owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/proto/google/cloud/contactcenterinsights/v1/resources.proto similarity index 92% rename from java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/proto/google/cloud/contactcenterinsights/v1/resources.proto rename to owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/proto/google/cloud/contactcenterinsights/v1/resources.proto index a78ce3f81903..9c0802b77f17 100644 --- a/java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/proto/google/cloud/contactcenterinsights/v1/resources.proto +++ b/owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/proto/google/cloud/contactcenterinsights/v1/resources.proto @@ -146,7 +146,8 @@ message Conversation { // Input only. The TTL for this resource. If specified, then this TTL will // be used to calculate the expire time. - google.protobuf.Duration ttl = 16 [(google.api.field_behavior) = INPUT_ONLY]; + google.protobuf.Duration ttl = 16 + [(google.api.field_behavior) = INPUT_ONLY]; } // Immutable. The resource name of the conversation. @@ -158,10 +159,12 @@ message Conversation { ConversationDataSource data_source = 2; // Output only. The time at which the conversation was created. - google.protobuf.Timestamp create_time = 3 [(google.api.field_behavior) = OUTPUT_ONLY]; + google.protobuf.Timestamp create_time = 3 + [(google.api.field_behavior) = OUTPUT_ONLY]; // Output only. The most recent time at which the conversation was updated. - google.protobuf.Timestamp update_time = 4 [(google.api.field_behavior) = OUTPUT_ONLY]; + google.protobuf.Timestamp update_time = 4 + [(google.api.field_behavior) = OUTPUT_ONLY]; // The time at which the conversation started. google.protobuf.Timestamp start_time = 17; @@ -180,11 +183,13 @@ message Conversation { // Output only. The conversation transcript. Transcript transcript = 8 [(google.api.field_behavior) = OUTPUT_ONLY]; - // Immutable. The conversation medium, if unspecified will default to PHONE_CALL. + // Immutable. The conversation medium, if unspecified will default to + // PHONE_CALL. Medium medium = 9 [(google.api.field_behavior) = IMMUTABLE]; // Output only. The duration of the conversation. - google.protobuf.Duration duration = 10 [(google.api.field_behavior) = OUTPUT_ONLY]; + google.protobuf.Duration duration = 10 + [(google.api.field_behavior) = OUTPUT_ONLY]; // Output only. The number of turns in the conversation. int32 turn_count = 11 [(google.api.field_behavior) = OUTPUT_ONLY]; @@ -192,14 +197,16 @@ message Conversation { // Output only. The conversation's latest analysis, if one exists. Analysis latest_analysis = 12 [(google.api.field_behavior) = OUTPUT_ONLY]; - // Output only. The annotations that were generated during the customer and agent - // interaction. - repeated RuntimeAnnotation runtime_annotations = 13 [(google.api.field_behavior) = OUTPUT_ONLY]; + // Output only. The annotations that were generated during the customer and + // agent interaction. + repeated RuntimeAnnotation runtime_annotations = 13 + [(google.api.field_behavior) = OUTPUT_ONLY]; - // Output only. All the matched Dialogflow intents in the call. The key corresponds to a - // Dialogflow intent, format: + // Output only. All the matched Dialogflow intents in the call. The key + // corresponds to a Dialogflow intent, format: // projects/{project}/agent/{agent}/intents/{intent} - map dialogflow_intents = 18 [(google.api.field_behavior) = OUTPUT_ONLY]; + map dialogflow_intents = 18 + [(google.api.field_behavior) = OUTPUT_ONLY]; // Obfuscated user ID which the customer sent to us. string obfuscated_user_id = 21; @@ -218,15 +225,18 @@ message Analysis { string name = 1 [(google.api.field_behavior) = IMMUTABLE]; // Output only. The time at which the analysis was requested. - google.protobuf.Timestamp request_time = 2 [(google.api.field_behavior) = OUTPUT_ONLY]; + google.protobuf.Timestamp request_time = 2 + [(google.api.field_behavior) = OUTPUT_ONLY]; - // Output only. The time at which the analysis was created, which occurs when the - // long-running operation completes. - google.protobuf.Timestamp create_time = 3 [(google.api.field_behavior) = OUTPUT_ONLY]; + // Output only. The time at which the analysis was created, which occurs when + // the long-running operation completes. + google.protobuf.Timestamp create_time = 3 + [(google.api.field_behavior) = OUTPUT_ONLY]; - // Output only. The result of the analysis, which is populated when the analysis - // finishes. - AnalysisResult analysis_result = 7 [(google.api.field_behavior) = OUTPUT_ONLY]; + // Output only. The result of the analysis, which is populated when the + // analysis finishes. + AnalysisResult analysis_result = 7 + [(google.api.field_behavior) = OUTPUT_ONLY]; // To select the annotators to run and the phrase matchers to use // (if any). If not specified, all annotators will be run. @@ -251,8 +261,8 @@ message GcsSource { // audio. string audio_uri = 1; - // Immutable. Cloud Storage URI that points to a file that contains the conversation - // transcript. + // Immutable. Cloud Storage URI that points to a file that contains the + // conversation transcript. string transcript_uri = 2 [(google.api.field_behavior) = IMMUTABLE]; } @@ -261,7 +271,8 @@ message DialogflowSource { // Output only. The name of the Dialogflow conversation that this conversation // resource is derived from. Format: // projects/{project}/locations/{location}/conversations/{conversation} - string dialogflow_conversation = 1 [(google.api.field_behavior) = OUTPUT_ONLY]; + string dialogflow_conversation = 1 + [(google.api.field_behavior) = OUTPUT_ONLY]; // Cloud Storage URI that points to a file that contains the conversation // audio. @@ -306,8 +317,8 @@ message IssueModelResult { // Issue model that generates the result. // Format: projects/{project}/locations/{location}/issueModels/{issue_model} string issue_model = 1 [(google.api.resource_reference) = { - type: "contactcenterinsights.googleapis.com/IssueModel" - }]; + type: "contactcenterinsights.googleapis.com/IssueModel" + }]; // All the matched issues. repeated IssueAssignment issues = 2; @@ -331,8 +342,8 @@ message IssueAssignment { // currently bounded on [0,1]. double score = 2; - // Immutable. Display name of the assigned issue. This field is set at time of analyis - // and immutable since then. + // Immutable. Display name of the assigned issue. This field is set at time of + // analyis and immutable since then. string display_name = 3 [(google.api.field_behavior) = IMMUTABLE]; } @@ -526,19 +537,13 @@ message DialogflowIntent { } // The data for an interruption annotation. -message InterruptionData { - -} +message InterruptionData {} // The data for a silence annotation. -message SilenceData { - -} +message SilenceData {} // The data for a hold annotation. -message HoldData { - -} +message HoldData {} // The data for an entity mention annotation. // This represents a mention of an `Entity` in the conversation. @@ -607,7 +612,8 @@ message IssueModel { Conversation.Medium medium = 1 [deprecated = true]; // Output only. Number of conversations used in training. Output only. - int64 training_conversations_count = 2 [(google.api.field_behavior) = OUTPUT_ONLY]; + int64 training_conversations_count = 2 + [(google.api.field_behavior) = OUTPUT_ONLY]; // A filter to reduce the conversations used for training the model to a // specific subset. @@ -645,10 +651,15 @@ message IssueModel { string display_name = 2; // Output only. The time at which this issue model was created. - google.protobuf.Timestamp create_time = 3 [(google.api.field_behavior) = OUTPUT_ONLY]; + google.protobuf.Timestamp create_time = 3 + [(google.api.field_behavior) = OUTPUT_ONLY]; // Output only. The most recent time at which the issue model was updated. - google.protobuf.Timestamp update_time = 4 [(google.api.field_behavior) = OUTPUT_ONLY]; + google.protobuf.Timestamp update_time = 4 + [(google.api.field_behavior) = OUTPUT_ONLY]; + + // Output only. Number of issues in this issue model. + int64 issue_count = 8 [(google.api.field_behavior) = OUTPUT_ONLY]; // Output only. State of the model. State state = 5 [(google.api.field_behavior) = OUTPUT_ONLY]; @@ -656,7 +667,8 @@ message IssueModel { // Configs for the input data that used to create the issue model. InputDataConfig input_data_config = 6; - // Output only. Immutable. The issue model's label statistics on its training data. + // Output only. Immutable. The issue model's label statistics on its training + // data. IssueModelLabelStats training_stats = 7 [ (google.api.field_behavior) = OUTPUT_ONLY, (google.api.field_behavior) = IMMUTABLE @@ -679,14 +691,17 @@ message Issue { string display_name = 2; // Output only. The time at which this issue was created. - google.protobuf.Timestamp create_time = 3 [(google.api.field_behavior) = OUTPUT_ONLY]; + google.protobuf.Timestamp create_time = 3 + [(google.api.field_behavior) = OUTPUT_ONLY]; // Output only. The most recent time that this issue was updated. - google.protobuf.Timestamp update_time = 4 [(google.api.field_behavior) = OUTPUT_ONLY]; + google.protobuf.Timestamp update_time = 4 + [(google.api.field_behavior) = OUTPUT_ONLY]; - // Output only. Resource names of the sample representative utterances that match to this - // issue. - repeated string sample_utterances = 6 [(google.api.field_behavior) = OUTPUT_ONLY]; + // Output only. Resource names of the sample representative utterances that + // match to this issue. + repeated string sample_utterances = 6 + [(google.api.field_behavior) = OUTPUT_ONLY]; } // Aggregated statistics about an issue model. @@ -754,9 +769,10 @@ message PhraseMatcher { // it will default to `revision_id`. string version_tag = 3; - // Output only. The timestamp of when the revision was created. It is also the create time - // when a new matcher is added. - google.protobuf.Timestamp revision_create_time = 4 [(google.api.field_behavior) = OUTPUT_ONLY]; + // Output only. The timestamp of when the revision was created. It is also the + // create time when a new matcher is added. + google.protobuf.Timestamp revision_create_time = 4 + [(google.api.field_behavior) = OUTPUT_ONLY]; // The human-readable name of the phrase matcher. string display_name = 5; @@ -770,8 +786,10 @@ message PhraseMatcher { // A list of phase match rule groups that are included in this matcher. repeated PhraseMatchRuleGroup phrase_match_rule_groups = 8; - // Output only. The most recent time at which the activation status was updated. - google.protobuf.Timestamp activation_update_time = 9 [(google.api.field_behavior) = OUTPUT_ONLY]; + // Output only. The most recent time at which the activation status was + // updated. + google.protobuf.Timestamp activation_update_time = 9 + [(google.api.field_behavior) = OUTPUT_ONLY]; // The role whose utterances the phrase matcher should be matched // against. If the role is ROLE_UNSPECIFIED it will be matched against any @@ -779,7 +797,8 @@ message PhraseMatcher { ConversationParticipant.Role role_match = 10; // Output only. The most recent time at which the phrase matcher was updated. - google.protobuf.Timestamp update_time = 11 [(google.api.field_behavior) = OUTPUT_ONLY]; + google.protobuf.Timestamp update_time = 11 + [(google.api.field_behavior) = OUTPUT_ONLY]; } // A message representing a rule in the phrase matcher. @@ -857,10 +876,12 @@ message Settings { string name = 1 [(google.api.field_behavior) = IMMUTABLE]; // Output only. The time at which the settings was created. - google.protobuf.Timestamp create_time = 2 [(google.api.field_behavior) = OUTPUT_ONLY]; + google.protobuf.Timestamp create_time = 2 + [(google.api.field_behavior) = OUTPUT_ONLY]; // Output only. The time at which the settings were last updated. - google.protobuf.Timestamp update_time = 3 [(google.api.field_behavior) = OUTPUT_ONLY]; + google.protobuf.Timestamp update_time = 3 + [(google.api.field_behavior) = OUTPUT_ONLY]; // A language code to be applied to each transcript segment unless the segment // already specifies a language code. Language code defaults to "en-US" if it @@ -1092,8 +1113,8 @@ message ConversationParticipant { // The name of the participant provided by Dialogflow. Format: // projects/{project}/locations/{location}/conversations/{conversation}/participants/{participant} string dialogflow_participant_name = 5 [(google.api.resource_reference) = { - type: "dialogflow.googleapis.com/Participant" - }]; + type: "dialogflow.googleapis.com/Participant" + }]; // A user-specified ID representing the participant. string user_id = 6; @@ -1127,12 +1148,14 @@ message View { string display_name = 2; // Output only. The time at which this view was created. - google.protobuf.Timestamp create_time = 3 [(google.api.field_behavior) = OUTPUT_ONLY]; + google.protobuf.Timestamp create_time = 3 + [(google.api.field_behavior) = OUTPUT_ONLY]; // Output only. The most recent time at which the view was updated. - google.protobuf.Timestamp update_time = 4 [(google.api.field_behavior) = OUTPUT_ONLY]; + google.protobuf.Timestamp update_time = 4 + [(google.api.field_behavior) = OUTPUT_ONLY]; - // String with specific view properties. + // String with specific view properties, must be non-empty. string value = 5; } @@ -1153,8 +1176,8 @@ message AnnotatorSelector { // run_phrase_matcher_annotator is set to true. Format: // projects/{project}/locations/{location}/phraseMatchers/{phrase_matcher} repeated string phrase_matchers = 4 [(google.api.resource_reference) = { - type: "contactcenterinsights.googleapis.com/PhraseMatcher" - }]; + type: "contactcenterinsights.googleapis.com/PhraseMatcher" + }]; // Whether to run the sentiment annotator. bool run_sentiment_annotator = 5; @@ -1175,6 +1198,6 @@ message AnnotatorSelector { // is set to true. If more than one issue model is provided, only the first // provided issue model will be used for inference. repeated string issue_models = 10 [(google.api.resource_reference) = { - type: "contactcenterinsights.googleapis.com/IssueModel" - }]; + type: "contactcenterinsights.googleapis.com/IssueModel" + }]; } diff --git a/java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/bulkanalyzeconversations/AsyncBulkAnalyzeConversations.java b/owl-bot-staging/java-contact-center-insights/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/bulkanalyzeconversations/AsyncBulkAnalyzeConversations.java similarity index 100% rename from java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/bulkanalyzeconversations/AsyncBulkAnalyzeConversations.java rename to owl-bot-staging/java-contact-center-insights/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/bulkanalyzeconversations/AsyncBulkAnalyzeConversations.java diff --git a/java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/bulkanalyzeconversations/AsyncBulkAnalyzeConversationsLRO.java b/owl-bot-staging/java-contact-center-insights/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/bulkanalyzeconversations/AsyncBulkAnalyzeConversationsLRO.java similarity index 100% rename from java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/bulkanalyzeconversations/AsyncBulkAnalyzeConversationsLRO.java rename to owl-bot-staging/java-contact-center-insights/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/bulkanalyzeconversations/AsyncBulkAnalyzeConversationsLRO.java diff --git a/java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/bulkanalyzeconversations/SyncBulkAnalyzeConversations.java b/owl-bot-staging/java-contact-center-insights/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/bulkanalyzeconversations/SyncBulkAnalyzeConversations.java similarity index 100% rename from java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/bulkanalyzeconversations/SyncBulkAnalyzeConversations.java rename to owl-bot-staging/java-contact-center-insights/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/bulkanalyzeconversations/SyncBulkAnalyzeConversations.java diff --git a/java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/bulkanalyzeconversations/SyncBulkAnalyzeConversationsLocationnameStringFloat.java b/owl-bot-staging/java-contact-center-insights/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/bulkanalyzeconversations/SyncBulkAnalyzeConversationsLocationnameStringFloat.java similarity index 100% rename from java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/bulkanalyzeconversations/SyncBulkAnalyzeConversationsLocationnameStringFloat.java rename to owl-bot-staging/java-contact-center-insights/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/bulkanalyzeconversations/SyncBulkAnalyzeConversationsLocationnameStringFloat.java diff --git a/java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/bulkanalyzeconversations/SyncBulkAnalyzeConversationsStringStringFloat.java b/owl-bot-staging/java-contact-center-insights/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/bulkanalyzeconversations/SyncBulkAnalyzeConversationsStringStringFloat.java similarity index 100% rename from java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/bulkanalyzeconversations/SyncBulkAnalyzeConversationsStringStringFloat.java rename to owl-bot-staging/java-contact-center-insights/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/bulkanalyzeconversations/SyncBulkAnalyzeConversationsStringStringFloat.java diff --git a/java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/calculateissuemodelstats/AsyncCalculateIssueModelStats.java b/owl-bot-staging/java-contact-center-insights/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/calculateissuemodelstats/AsyncCalculateIssueModelStats.java similarity index 100% rename from java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/calculateissuemodelstats/AsyncCalculateIssueModelStats.java rename to owl-bot-staging/java-contact-center-insights/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/calculateissuemodelstats/AsyncCalculateIssueModelStats.java diff --git a/java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/calculateissuemodelstats/SyncCalculateIssueModelStats.java b/owl-bot-staging/java-contact-center-insights/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/calculateissuemodelstats/SyncCalculateIssueModelStats.java similarity index 100% rename from java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/calculateissuemodelstats/SyncCalculateIssueModelStats.java rename to owl-bot-staging/java-contact-center-insights/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/calculateissuemodelstats/SyncCalculateIssueModelStats.java diff --git a/java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/calculateissuemodelstats/SyncCalculateIssueModelStatsIssuemodelname.java b/owl-bot-staging/java-contact-center-insights/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/calculateissuemodelstats/SyncCalculateIssueModelStatsIssuemodelname.java similarity index 100% rename from java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/calculateissuemodelstats/SyncCalculateIssueModelStatsIssuemodelname.java rename to owl-bot-staging/java-contact-center-insights/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/calculateissuemodelstats/SyncCalculateIssueModelStatsIssuemodelname.java diff --git a/java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/calculateissuemodelstats/SyncCalculateIssueModelStatsString.java b/owl-bot-staging/java-contact-center-insights/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/calculateissuemodelstats/SyncCalculateIssueModelStatsString.java similarity index 100% rename from java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/calculateissuemodelstats/SyncCalculateIssueModelStatsString.java rename to owl-bot-staging/java-contact-center-insights/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/calculateissuemodelstats/SyncCalculateIssueModelStatsString.java diff --git a/java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/calculatestats/AsyncCalculateStats.java b/owl-bot-staging/java-contact-center-insights/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/calculatestats/AsyncCalculateStats.java similarity index 100% rename from java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/calculatestats/AsyncCalculateStats.java rename to owl-bot-staging/java-contact-center-insights/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/calculatestats/AsyncCalculateStats.java diff --git a/java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/calculatestats/SyncCalculateStats.java b/owl-bot-staging/java-contact-center-insights/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/calculatestats/SyncCalculateStats.java similarity index 100% rename from java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/calculatestats/SyncCalculateStats.java rename to owl-bot-staging/java-contact-center-insights/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/calculatestats/SyncCalculateStats.java diff --git a/java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/calculatestats/SyncCalculateStatsLocationname.java b/owl-bot-staging/java-contact-center-insights/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/calculatestats/SyncCalculateStatsLocationname.java similarity index 100% rename from java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/calculatestats/SyncCalculateStatsLocationname.java rename to owl-bot-staging/java-contact-center-insights/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/calculatestats/SyncCalculateStatsLocationname.java diff --git a/java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/calculatestats/SyncCalculateStatsString.java b/owl-bot-staging/java-contact-center-insights/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/calculatestats/SyncCalculateStatsString.java similarity index 100% rename from java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/calculatestats/SyncCalculateStatsString.java rename to owl-bot-staging/java-contact-center-insights/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/calculatestats/SyncCalculateStatsString.java diff --git a/java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/create/SyncCreateSetCredentialsProvider.java b/owl-bot-staging/java-contact-center-insights/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/create/SyncCreateSetCredentialsProvider.java similarity index 100% rename from java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/create/SyncCreateSetCredentialsProvider.java rename to owl-bot-staging/java-contact-center-insights/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/create/SyncCreateSetCredentialsProvider.java diff --git a/java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/create/SyncCreateSetCredentialsProvider1.java b/owl-bot-staging/java-contact-center-insights/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/create/SyncCreateSetCredentialsProvider1.java similarity index 100% rename from java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/create/SyncCreateSetCredentialsProvider1.java rename to owl-bot-staging/java-contact-center-insights/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/create/SyncCreateSetCredentialsProvider1.java diff --git a/java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/create/SyncCreateSetEndpoint.java b/owl-bot-staging/java-contact-center-insights/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/create/SyncCreateSetEndpoint.java similarity index 100% rename from java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/create/SyncCreateSetEndpoint.java rename to owl-bot-staging/java-contact-center-insights/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/create/SyncCreateSetEndpoint.java diff --git a/java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/createanalysis/AsyncCreateAnalysis.java b/owl-bot-staging/java-contact-center-insights/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/createanalysis/AsyncCreateAnalysis.java similarity index 100% rename from java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/createanalysis/AsyncCreateAnalysis.java rename to owl-bot-staging/java-contact-center-insights/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/createanalysis/AsyncCreateAnalysis.java diff --git a/java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/createanalysis/AsyncCreateAnalysisLRO.java b/owl-bot-staging/java-contact-center-insights/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/createanalysis/AsyncCreateAnalysisLRO.java similarity index 100% rename from java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/createanalysis/AsyncCreateAnalysisLRO.java rename to owl-bot-staging/java-contact-center-insights/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/createanalysis/AsyncCreateAnalysisLRO.java diff --git a/java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/createanalysis/SyncCreateAnalysis.java b/owl-bot-staging/java-contact-center-insights/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/createanalysis/SyncCreateAnalysis.java similarity index 100% rename from java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/createanalysis/SyncCreateAnalysis.java rename to owl-bot-staging/java-contact-center-insights/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/createanalysis/SyncCreateAnalysis.java diff --git a/java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/createanalysis/SyncCreateAnalysisConversationnameAnalysis.java b/owl-bot-staging/java-contact-center-insights/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/createanalysis/SyncCreateAnalysisConversationnameAnalysis.java similarity index 100% rename from java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/createanalysis/SyncCreateAnalysisConversationnameAnalysis.java rename to owl-bot-staging/java-contact-center-insights/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/createanalysis/SyncCreateAnalysisConversationnameAnalysis.java diff --git a/java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/createanalysis/SyncCreateAnalysisStringAnalysis.java b/owl-bot-staging/java-contact-center-insights/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/createanalysis/SyncCreateAnalysisStringAnalysis.java similarity index 100% rename from java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/createanalysis/SyncCreateAnalysisStringAnalysis.java rename to owl-bot-staging/java-contact-center-insights/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/createanalysis/SyncCreateAnalysisStringAnalysis.java diff --git a/java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/createconversation/AsyncCreateConversation.java b/owl-bot-staging/java-contact-center-insights/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/createconversation/AsyncCreateConversation.java similarity index 100% rename from java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/createconversation/AsyncCreateConversation.java rename to owl-bot-staging/java-contact-center-insights/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/createconversation/AsyncCreateConversation.java diff --git a/java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/createconversation/SyncCreateConversation.java b/owl-bot-staging/java-contact-center-insights/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/createconversation/SyncCreateConversation.java similarity index 100% rename from java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/createconversation/SyncCreateConversation.java rename to owl-bot-staging/java-contact-center-insights/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/createconversation/SyncCreateConversation.java diff --git a/java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/createconversation/SyncCreateConversationLocationnameConversationString.java b/owl-bot-staging/java-contact-center-insights/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/createconversation/SyncCreateConversationLocationnameConversationString.java similarity index 100% rename from java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/createconversation/SyncCreateConversationLocationnameConversationString.java rename to owl-bot-staging/java-contact-center-insights/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/createconversation/SyncCreateConversationLocationnameConversationString.java diff --git a/java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/createconversation/SyncCreateConversationStringConversationString.java b/owl-bot-staging/java-contact-center-insights/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/createconversation/SyncCreateConversationStringConversationString.java similarity index 100% rename from java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/createconversation/SyncCreateConversationStringConversationString.java rename to owl-bot-staging/java-contact-center-insights/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/createconversation/SyncCreateConversationStringConversationString.java diff --git a/java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/createissuemodel/AsyncCreateIssueModel.java b/owl-bot-staging/java-contact-center-insights/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/createissuemodel/AsyncCreateIssueModel.java similarity index 100% rename from java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/createissuemodel/AsyncCreateIssueModel.java rename to owl-bot-staging/java-contact-center-insights/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/createissuemodel/AsyncCreateIssueModel.java diff --git a/java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/createissuemodel/AsyncCreateIssueModelLRO.java b/owl-bot-staging/java-contact-center-insights/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/createissuemodel/AsyncCreateIssueModelLRO.java similarity index 100% rename from java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/createissuemodel/AsyncCreateIssueModelLRO.java rename to owl-bot-staging/java-contact-center-insights/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/createissuemodel/AsyncCreateIssueModelLRO.java diff --git a/java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/createissuemodel/SyncCreateIssueModel.java b/owl-bot-staging/java-contact-center-insights/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/createissuemodel/SyncCreateIssueModel.java similarity index 100% rename from java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/createissuemodel/SyncCreateIssueModel.java rename to owl-bot-staging/java-contact-center-insights/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/createissuemodel/SyncCreateIssueModel.java diff --git a/java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/createissuemodel/SyncCreateIssueModelLocationnameIssuemodel.java b/owl-bot-staging/java-contact-center-insights/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/createissuemodel/SyncCreateIssueModelLocationnameIssuemodel.java similarity index 100% rename from java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/createissuemodel/SyncCreateIssueModelLocationnameIssuemodel.java rename to owl-bot-staging/java-contact-center-insights/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/createissuemodel/SyncCreateIssueModelLocationnameIssuemodel.java diff --git a/java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/createissuemodel/SyncCreateIssueModelStringIssuemodel.java b/owl-bot-staging/java-contact-center-insights/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/createissuemodel/SyncCreateIssueModelStringIssuemodel.java similarity index 100% rename from java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/createissuemodel/SyncCreateIssueModelStringIssuemodel.java rename to owl-bot-staging/java-contact-center-insights/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/createissuemodel/SyncCreateIssueModelStringIssuemodel.java diff --git a/java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/createphrasematcher/AsyncCreatePhraseMatcher.java b/owl-bot-staging/java-contact-center-insights/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/createphrasematcher/AsyncCreatePhraseMatcher.java similarity index 100% rename from java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/createphrasematcher/AsyncCreatePhraseMatcher.java rename to owl-bot-staging/java-contact-center-insights/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/createphrasematcher/AsyncCreatePhraseMatcher.java diff --git a/java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/createphrasematcher/SyncCreatePhraseMatcher.java b/owl-bot-staging/java-contact-center-insights/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/createphrasematcher/SyncCreatePhraseMatcher.java similarity index 100% rename from java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/createphrasematcher/SyncCreatePhraseMatcher.java rename to owl-bot-staging/java-contact-center-insights/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/createphrasematcher/SyncCreatePhraseMatcher.java diff --git a/java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/createphrasematcher/SyncCreatePhraseMatcherLocationnamePhrasematcher.java b/owl-bot-staging/java-contact-center-insights/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/createphrasematcher/SyncCreatePhraseMatcherLocationnamePhrasematcher.java similarity index 100% rename from java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/createphrasematcher/SyncCreatePhraseMatcherLocationnamePhrasematcher.java rename to owl-bot-staging/java-contact-center-insights/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/createphrasematcher/SyncCreatePhraseMatcherLocationnamePhrasematcher.java diff --git a/java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/createphrasematcher/SyncCreatePhraseMatcherStringPhrasematcher.java b/owl-bot-staging/java-contact-center-insights/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/createphrasematcher/SyncCreatePhraseMatcherStringPhrasematcher.java similarity index 100% rename from java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/createphrasematcher/SyncCreatePhraseMatcherStringPhrasematcher.java rename to owl-bot-staging/java-contact-center-insights/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/createphrasematcher/SyncCreatePhraseMatcherStringPhrasematcher.java diff --git a/java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/createview/AsyncCreateView.java b/owl-bot-staging/java-contact-center-insights/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/createview/AsyncCreateView.java similarity index 100% rename from java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/createview/AsyncCreateView.java rename to owl-bot-staging/java-contact-center-insights/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/createview/AsyncCreateView.java diff --git a/java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/createview/SyncCreateView.java b/owl-bot-staging/java-contact-center-insights/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/createview/SyncCreateView.java similarity index 100% rename from java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/createview/SyncCreateView.java rename to owl-bot-staging/java-contact-center-insights/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/createview/SyncCreateView.java diff --git a/java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/createview/SyncCreateViewLocationnameView.java b/owl-bot-staging/java-contact-center-insights/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/createview/SyncCreateViewLocationnameView.java similarity index 100% rename from java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/createview/SyncCreateViewLocationnameView.java rename to owl-bot-staging/java-contact-center-insights/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/createview/SyncCreateViewLocationnameView.java diff --git a/java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/createview/SyncCreateViewStringView.java b/owl-bot-staging/java-contact-center-insights/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/createview/SyncCreateViewStringView.java similarity index 100% rename from java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/createview/SyncCreateViewStringView.java rename to owl-bot-staging/java-contact-center-insights/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/createview/SyncCreateViewStringView.java diff --git a/java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/deleteanalysis/AsyncDeleteAnalysis.java b/owl-bot-staging/java-contact-center-insights/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/deleteanalysis/AsyncDeleteAnalysis.java similarity index 100% rename from java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/deleteanalysis/AsyncDeleteAnalysis.java rename to owl-bot-staging/java-contact-center-insights/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/deleteanalysis/AsyncDeleteAnalysis.java diff --git a/java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/deleteanalysis/SyncDeleteAnalysis.java b/owl-bot-staging/java-contact-center-insights/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/deleteanalysis/SyncDeleteAnalysis.java similarity index 100% rename from java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/deleteanalysis/SyncDeleteAnalysis.java rename to owl-bot-staging/java-contact-center-insights/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/deleteanalysis/SyncDeleteAnalysis.java diff --git a/java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/deleteanalysis/SyncDeleteAnalysisAnalysisname.java b/owl-bot-staging/java-contact-center-insights/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/deleteanalysis/SyncDeleteAnalysisAnalysisname.java similarity index 100% rename from java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/deleteanalysis/SyncDeleteAnalysisAnalysisname.java rename to owl-bot-staging/java-contact-center-insights/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/deleteanalysis/SyncDeleteAnalysisAnalysisname.java diff --git a/java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/deleteanalysis/SyncDeleteAnalysisString.java b/owl-bot-staging/java-contact-center-insights/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/deleteanalysis/SyncDeleteAnalysisString.java similarity index 100% rename from java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/deleteanalysis/SyncDeleteAnalysisString.java rename to owl-bot-staging/java-contact-center-insights/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/deleteanalysis/SyncDeleteAnalysisString.java diff --git a/java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/deleteconversation/AsyncDeleteConversation.java b/owl-bot-staging/java-contact-center-insights/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/deleteconversation/AsyncDeleteConversation.java similarity index 100% rename from java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/deleteconversation/AsyncDeleteConversation.java rename to owl-bot-staging/java-contact-center-insights/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/deleteconversation/AsyncDeleteConversation.java diff --git a/java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/deleteconversation/SyncDeleteConversation.java b/owl-bot-staging/java-contact-center-insights/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/deleteconversation/SyncDeleteConversation.java similarity index 100% rename from java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/deleteconversation/SyncDeleteConversation.java rename to owl-bot-staging/java-contact-center-insights/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/deleteconversation/SyncDeleteConversation.java diff --git a/java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/deleteconversation/SyncDeleteConversationConversationname.java b/owl-bot-staging/java-contact-center-insights/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/deleteconversation/SyncDeleteConversationConversationname.java similarity index 100% rename from java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/deleteconversation/SyncDeleteConversationConversationname.java rename to owl-bot-staging/java-contact-center-insights/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/deleteconversation/SyncDeleteConversationConversationname.java diff --git a/java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/deleteconversation/SyncDeleteConversationString.java b/owl-bot-staging/java-contact-center-insights/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/deleteconversation/SyncDeleteConversationString.java similarity index 100% rename from java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/deleteconversation/SyncDeleteConversationString.java rename to owl-bot-staging/java-contact-center-insights/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/deleteconversation/SyncDeleteConversationString.java diff --git a/java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/deleteissue/AsyncDeleteIssue.java b/owl-bot-staging/java-contact-center-insights/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/deleteissue/AsyncDeleteIssue.java similarity index 100% rename from java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/deleteissue/AsyncDeleteIssue.java rename to owl-bot-staging/java-contact-center-insights/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/deleteissue/AsyncDeleteIssue.java diff --git a/java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/deleteissue/SyncDeleteIssue.java b/owl-bot-staging/java-contact-center-insights/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/deleteissue/SyncDeleteIssue.java similarity index 100% rename from java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/deleteissue/SyncDeleteIssue.java rename to owl-bot-staging/java-contact-center-insights/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/deleteissue/SyncDeleteIssue.java diff --git a/java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/deleteissue/SyncDeleteIssueIssuename.java b/owl-bot-staging/java-contact-center-insights/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/deleteissue/SyncDeleteIssueIssuename.java similarity index 100% rename from java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/deleteissue/SyncDeleteIssueIssuename.java rename to owl-bot-staging/java-contact-center-insights/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/deleteissue/SyncDeleteIssueIssuename.java diff --git a/java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/deleteissue/SyncDeleteIssueString.java b/owl-bot-staging/java-contact-center-insights/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/deleteissue/SyncDeleteIssueString.java similarity index 100% rename from java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/deleteissue/SyncDeleteIssueString.java rename to owl-bot-staging/java-contact-center-insights/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/deleteissue/SyncDeleteIssueString.java diff --git a/java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/deleteissuemodel/AsyncDeleteIssueModel.java b/owl-bot-staging/java-contact-center-insights/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/deleteissuemodel/AsyncDeleteIssueModel.java similarity index 100% rename from java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/deleteissuemodel/AsyncDeleteIssueModel.java rename to owl-bot-staging/java-contact-center-insights/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/deleteissuemodel/AsyncDeleteIssueModel.java diff --git a/java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/deleteissuemodel/AsyncDeleteIssueModelLRO.java b/owl-bot-staging/java-contact-center-insights/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/deleteissuemodel/AsyncDeleteIssueModelLRO.java similarity index 100% rename from java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/deleteissuemodel/AsyncDeleteIssueModelLRO.java rename to owl-bot-staging/java-contact-center-insights/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/deleteissuemodel/AsyncDeleteIssueModelLRO.java diff --git a/java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/deleteissuemodel/SyncDeleteIssueModel.java b/owl-bot-staging/java-contact-center-insights/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/deleteissuemodel/SyncDeleteIssueModel.java similarity index 100% rename from java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/deleteissuemodel/SyncDeleteIssueModel.java rename to owl-bot-staging/java-contact-center-insights/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/deleteissuemodel/SyncDeleteIssueModel.java diff --git a/java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/deleteissuemodel/SyncDeleteIssueModelIssuemodelname.java b/owl-bot-staging/java-contact-center-insights/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/deleteissuemodel/SyncDeleteIssueModelIssuemodelname.java similarity index 100% rename from java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/deleteissuemodel/SyncDeleteIssueModelIssuemodelname.java rename to owl-bot-staging/java-contact-center-insights/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/deleteissuemodel/SyncDeleteIssueModelIssuemodelname.java diff --git a/java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/deleteissuemodel/SyncDeleteIssueModelString.java b/owl-bot-staging/java-contact-center-insights/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/deleteissuemodel/SyncDeleteIssueModelString.java similarity index 100% rename from java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/deleteissuemodel/SyncDeleteIssueModelString.java rename to owl-bot-staging/java-contact-center-insights/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/deleteissuemodel/SyncDeleteIssueModelString.java diff --git a/java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/deletephrasematcher/AsyncDeletePhraseMatcher.java b/owl-bot-staging/java-contact-center-insights/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/deletephrasematcher/AsyncDeletePhraseMatcher.java similarity index 100% rename from java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/deletephrasematcher/AsyncDeletePhraseMatcher.java rename to owl-bot-staging/java-contact-center-insights/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/deletephrasematcher/AsyncDeletePhraseMatcher.java diff --git a/java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/deletephrasematcher/SyncDeletePhraseMatcher.java b/owl-bot-staging/java-contact-center-insights/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/deletephrasematcher/SyncDeletePhraseMatcher.java similarity index 100% rename from java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/deletephrasematcher/SyncDeletePhraseMatcher.java rename to owl-bot-staging/java-contact-center-insights/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/deletephrasematcher/SyncDeletePhraseMatcher.java diff --git a/java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/deletephrasematcher/SyncDeletePhraseMatcherPhrasematchername.java b/owl-bot-staging/java-contact-center-insights/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/deletephrasematcher/SyncDeletePhraseMatcherPhrasematchername.java similarity index 100% rename from java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/deletephrasematcher/SyncDeletePhraseMatcherPhrasematchername.java rename to owl-bot-staging/java-contact-center-insights/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/deletephrasematcher/SyncDeletePhraseMatcherPhrasematchername.java diff --git a/java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/deletephrasematcher/SyncDeletePhraseMatcherString.java b/owl-bot-staging/java-contact-center-insights/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/deletephrasematcher/SyncDeletePhraseMatcherString.java similarity index 100% rename from java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/deletephrasematcher/SyncDeletePhraseMatcherString.java rename to owl-bot-staging/java-contact-center-insights/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/deletephrasematcher/SyncDeletePhraseMatcherString.java diff --git a/java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/deleteview/AsyncDeleteView.java b/owl-bot-staging/java-contact-center-insights/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/deleteview/AsyncDeleteView.java similarity index 100% rename from java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/deleteview/AsyncDeleteView.java rename to owl-bot-staging/java-contact-center-insights/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/deleteview/AsyncDeleteView.java diff --git a/java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/deleteview/SyncDeleteView.java b/owl-bot-staging/java-contact-center-insights/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/deleteview/SyncDeleteView.java similarity index 100% rename from java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/deleteview/SyncDeleteView.java rename to owl-bot-staging/java-contact-center-insights/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/deleteview/SyncDeleteView.java diff --git a/java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/deleteview/SyncDeleteViewString.java b/owl-bot-staging/java-contact-center-insights/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/deleteview/SyncDeleteViewString.java similarity index 100% rename from java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/deleteview/SyncDeleteViewString.java rename to owl-bot-staging/java-contact-center-insights/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/deleteview/SyncDeleteViewString.java diff --git a/java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/deleteview/SyncDeleteViewViewname.java b/owl-bot-staging/java-contact-center-insights/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/deleteview/SyncDeleteViewViewname.java similarity index 100% rename from java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/deleteview/SyncDeleteViewViewname.java rename to owl-bot-staging/java-contact-center-insights/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/deleteview/SyncDeleteViewViewname.java diff --git a/java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/deployissuemodel/AsyncDeployIssueModel.java b/owl-bot-staging/java-contact-center-insights/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/deployissuemodel/AsyncDeployIssueModel.java similarity index 100% rename from java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/deployissuemodel/AsyncDeployIssueModel.java rename to owl-bot-staging/java-contact-center-insights/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/deployissuemodel/AsyncDeployIssueModel.java diff --git a/java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/deployissuemodel/AsyncDeployIssueModelLRO.java b/owl-bot-staging/java-contact-center-insights/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/deployissuemodel/AsyncDeployIssueModelLRO.java similarity index 100% rename from java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/deployissuemodel/AsyncDeployIssueModelLRO.java rename to owl-bot-staging/java-contact-center-insights/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/deployissuemodel/AsyncDeployIssueModelLRO.java diff --git a/java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/deployissuemodel/SyncDeployIssueModel.java b/owl-bot-staging/java-contact-center-insights/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/deployissuemodel/SyncDeployIssueModel.java similarity index 100% rename from java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/deployissuemodel/SyncDeployIssueModel.java rename to owl-bot-staging/java-contact-center-insights/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/deployissuemodel/SyncDeployIssueModel.java diff --git a/java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/deployissuemodel/SyncDeployIssueModelIssuemodelname.java b/owl-bot-staging/java-contact-center-insights/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/deployissuemodel/SyncDeployIssueModelIssuemodelname.java similarity index 100% rename from java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/deployissuemodel/SyncDeployIssueModelIssuemodelname.java rename to owl-bot-staging/java-contact-center-insights/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/deployissuemodel/SyncDeployIssueModelIssuemodelname.java diff --git a/java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/deployissuemodel/SyncDeployIssueModelString.java b/owl-bot-staging/java-contact-center-insights/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/deployissuemodel/SyncDeployIssueModelString.java similarity index 100% rename from java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/deployissuemodel/SyncDeployIssueModelString.java rename to owl-bot-staging/java-contact-center-insights/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/deployissuemodel/SyncDeployIssueModelString.java diff --git a/java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/exportinsightsdata/AsyncExportInsightsData.java b/owl-bot-staging/java-contact-center-insights/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/exportinsightsdata/AsyncExportInsightsData.java similarity index 100% rename from java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/exportinsightsdata/AsyncExportInsightsData.java rename to owl-bot-staging/java-contact-center-insights/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/exportinsightsdata/AsyncExportInsightsData.java diff --git a/java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/exportinsightsdata/AsyncExportInsightsDataLRO.java b/owl-bot-staging/java-contact-center-insights/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/exportinsightsdata/AsyncExportInsightsDataLRO.java similarity index 100% rename from java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/exportinsightsdata/AsyncExportInsightsDataLRO.java rename to owl-bot-staging/java-contact-center-insights/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/exportinsightsdata/AsyncExportInsightsDataLRO.java diff --git a/java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/exportinsightsdata/SyncExportInsightsData.java b/owl-bot-staging/java-contact-center-insights/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/exportinsightsdata/SyncExportInsightsData.java similarity index 100% rename from java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/exportinsightsdata/SyncExportInsightsData.java rename to owl-bot-staging/java-contact-center-insights/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/exportinsightsdata/SyncExportInsightsData.java diff --git a/java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/exportinsightsdata/SyncExportInsightsDataLocationname.java b/owl-bot-staging/java-contact-center-insights/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/exportinsightsdata/SyncExportInsightsDataLocationname.java similarity index 100% rename from java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/exportinsightsdata/SyncExportInsightsDataLocationname.java rename to owl-bot-staging/java-contact-center-insights/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/exportinsightsdata/SyncExportInsightsDataLocationname.java diff --git a/java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/exportinsightsdata/SyncExportInsightsDataString.java b/owl-bot-staging/java-contact-center-insights/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/exportinsightsdata/SyncExportInsightsDataString.java similarity index 100% rename from java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/exportinsightsdata/SyncExportInsightsDataString.java rename to owl-bot-staging/java-contact-center-insights/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/exportinsightsdata/SyncExportInsightsDataString.java diff --git a/java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/getanalysis/AsyncGetAnalysis.java b/owl-bot-staging/java-contact-center-insights/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/getanalysis/AsyncGetAnalysis.java similarity index 100% rename from java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/getanalysis/AsyncGetAnalysis.java rename to owl-bot-staging/java-contact-center-insights/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/getanalysis/AsyncGetAnalysis.java diff --git a/java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/getanalysis/SyncGetAnalysis.java b/owl-bot-staging/java-contact-center-insights/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/getanalysis/SyncGetAnalysis.java similarity index 100% rename from java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/getanalysis/SyncGetAnalysis.java rename to owl-bot-staging/java-contact-center-insights/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/getanalysis/SyncGetAnalysis.java diff --git a/java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/getanalysis/SyncGetAnalysisAnalysisname.java b/owl-bot-staging/java-contact-center-insights/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/getanalysis/SyncGetAnalysisAnalysisname.java similarity index 100% rename from java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/getanalysis/SyncGetAnalysisAnalysisname.java rename to owl-bot-staging/java-contact-center-insights/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/getanalysis/SyncGetAnalysisAnalysisname.java diff --git a/java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/getanalysis/SyncGetAnalysisString.java b/owl-bot-staging/java-contact-center-insights/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/getanalysis/SyncGetAnalysisString.java similarity index 100% rename from java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/getanalysis/SyncGetAnalysisString.java rename to owl-bot-staging/java-contact-center-insights/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/getanalysis/SyncGetAnalysisString.java diff --git a/java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/getconversation/AsyncGetConversation.java b/owl-bot-staging/java-contact-center-insights/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/getconversation/AsyncGetConversation.java similarity index 100% rename from java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/getconversation/AsyncGetConversation.java rename to owl-bot-staging/java-contact-center-insights/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/getconversation/AsyncGetConversation.java diff --git a/java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/getconversation/SyncGetConversation.java b/owl-bot-staging/java-contact-center-insights/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/getconversation/SyncGetConversation.java similarity index 100% rename from java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/getconversation/SyncGetConversation.java rename to owl-bot-staging/java-contact-center-insights/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/getconversation/SyncGetConversation.java diff --git a/java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/getconversation/SyncGetConversationConversationname.java b/owl-bot-staging/java-contact-center-insights/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/getconversation/SyncGetConversationConversationname.java similarity index 100% rename from java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/getconversation/SyncGetConversationConversationname.java rename to owl-bot-staging/java-contact-center-insights/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/getconversation/SyncGetConversationConversationname.java diff --git a/java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/getconversation/SyncGetConversationString.java b/owl-bot-staging/java-contact-center-insights/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/getconversation/SyncGetConversationString.java similarity index 100% rename from java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/getconversation/SyncGetConversationString.java rename to owl-bot-staging/java-contact-center-insights/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/getconversation/SyncGetConversationString.java diff --git a/java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/getissue/AsyncGetIssue.java b/owl-bot-staging/java-contact-center-insights/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/getissue/AsyncGetIssue.java similarity index 100% rename from java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/getissue/AsyncGetIssue.java rename to owl-bot-staging/java-contact-center-insights/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/getissue/AsyncGetIssue.java diff --git a/java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/getissue/SyncGetIssue.java b/owl-bot-staging/java-contact-center-insights/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/getissue/SyncGetIssue.java similarity index 100% rename from java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/getissue/SyncGetIssue.java rename to owl-bot-staging/java-contact-center-insights/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/getissue/SyncGetIssue.java diff --git a/java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/getissue/SyncGetIssueIssuename.java b/owl-bot-staging/java-contact-center-insights/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/getissue/SyncGetIssueIssuename.java similarity index 100% rename from java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/getissue/SyncGetIssueIssuename.java rename to owl-bot-staging/java-contact-center-insights/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/getissue/SyncGetIssueIssuename.java diff --git a/java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/getissue/SyncGetIssueString.java b/owl-bot-staging/java-contact-center-insights/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/getissue/SyncGetIssueString.java similarity index 100% rename from java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/getissue/SyncGetIssueString.java rename to owl-bot-staging/java-contact-center-insights/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/getissue/SyncGetIssueString.java diff --git a/java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/getissuemodel/AsyncGetIssueModel.java b/owl-bot-staging/java-contact-center-insights/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/getissuemodel/AsyncGetIssueModel.java similarity index 100% rename from java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/getissuemodel/AsyncGetIssueModel.java rename to owl-bot-staging/java-contact-center-insights/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/getissuemodel/AsyncGetIssueModel.java diff --git a/java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/getissuemodel/SyncGetIssueModel.java b/owl-bot-staging/java-contact-center-insights/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/getissuemodel/SyncGetIssueModel.java similarity index 100% rename from java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/getissuemodel/SyncGetIssueModel.java rename to owl-bot-staging/java-contact-center-insights/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/getissuemodel/SyncGetIssueModel.java diff --git a/java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/getissuemodel/SyncGetIssueModelIssuemodelname.java b/owl-bot-staging/java-contact-center-insights/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/getissuemodel/SyncGetIssueModelIssuemodelname.java similarity index 100% rename from java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/getissuemodel/SyncGetIssueModelIssuemodelname.java rename to owl-bot-staging/java-contact-center-insights/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/getissuemodel/SyncGetIssueModelIssuemodelname.java diff --git a/java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/getissuemodel/SyncGetIssueModelString.java b/owl-bot-staging/java-contact-center-insights/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/getissuemodel/SyncGetIssueModelString.java similarity index 100% rename from java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/getissuemodel/SyncGetIssueModelString.java rename to owl-bot-staging/java-contact-center-insights/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/getissuemodel/SyncGetIssueModelString.java diff --git a/java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/getphrasematcher/AsyncGetPhraseMatcher.java b/owl-bot-staging/java-contact-center-insights/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/getphrasematcher/AsyncGetPhraseMatcher.java similarity index 100% rename from java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/getphrasematcher/AsyncGetPhraseMatcher.java rename to owl-bot-staging/java-contact-center-insights/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/getphrasematcher/AsyncGetPhraseMatcher.java diff --git a/java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/getphrasematcher/SyncGetPhraseMatcher.java b/owl-bot-staging/java-contact-center-insights/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/getphrasematcher/SyncGetPhraseMatcher.java similarity index 100% rename from java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/getphrasematcher/SyncGetPhraseMatcher.java rename to owl-bot-staging/java-contact-center-insights/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/getphrasematcher/SyncGetPhraseMatcher.java diff --git a/java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/getphrasematcher/SyncGetPhraseMatcherPhrasematchername.java b/owl-bot-staging/java-contact-center-insights/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/getphrasematcher/SyncGetPhraseMatcherPhrasematchername.java similarity index 100% rename from java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/getphrasematcher/SyncGetPhraseMatcherPhrasematchername.java rename to owl-bot-staging/java-contact-center-insights/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/getphrasematcher/SyncGetPhraseMatcherPhrasematchername.java diff --git a/java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/getphrasematcher/SyncGetPhraseMatcherString.java b/owl-bot-staging/java-contact-center-insights/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/getphrasematcher/SyncGetPhraseMatcherString.java similarity index 100% rename from java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/getphrasematcher/SyncGetPhraseMatcherString.java rename to owl-bot-staging/java-contact-center-insights/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/getphrasematcher/SyncGetPhraseMatcherString.java diff --git a/java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/getsettings/AsyncGetSettings.java b/owl-bot-staging/java-contact-center-insights/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/getsettings/AsyncGetSettings.java similarity index 100% rename from java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/getsettings/AsyncGetSettings.java rename to owl-bot-staging/java-contact-center-insights/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/getsettings/AsyncGetSettings.java diff --git a/java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/getsettings/SyncGetSettings.java b/owl-bot-staging/java-contact-center-insights/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/getsettings/SyncGetSettings.java similarity index 100% rename from java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/getsettings/SyncGetSettings.java rename to owl-bot-staging/java-contact-center-insights/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/getsettings/SyncGetSettings.java diff --git a/java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/getsettings/SyncGetSettingsSettingsname.java b/owl-bot-staging/java-contact-center-insights/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/getsettings/SyncGetSettingsSettingsname.java similarity index 100% rename from java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/getsettings/SyncGetSettingsSettingsname.java rename to owl-bot-staging/java-contact-center-insights/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/getsettings/SyncGetSettingsSettingsname.java diff --git a/java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/getsettings/SyncGetSettingsString.java b/owl-bot-staging/java-contact-center-insights/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/getsettings/SyncGetSettingsString.java similarity index 100% rename from java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/getsettings/SyncGetSettingsString.java rename to owl-bot-staging/java-contact-center-insights/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/getsettings/SyncGetSettingsString.java diff --git a/java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/getview/AsyncGetView.java b/owl-bot-staging/java-contact-center-insights/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/getview/AsyncGetView.java similarity index 100% rename from java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/getview/AsyncGetView.java rename to owl-bot-staging/java-contact-center-insights/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/getview/AsyncGetView.java diff --git a/java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/getview/SyncGetView.java b/owl-bot-staging/java-contact-center-insights/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/getview/SyncGetView.java similarity index 100% rename from java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/getview/SyncGetView.java rename to owl-bot-staging/java-contact-center-insights/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/getview/SyncGetView.java diff --git a/java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/getview/SyncGetViewString.java b/owl-bot-staging/java-contact-center-insights/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/getview/SyncGetViewString.java similarity index 100% rename from java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/getview/SyncGetViewString.java rename to owl-bot-staging/java-contact-center-insights/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/getview/SyncGetViewString.java diff --git a/java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/getview/SyncGetViewViewname.java b/owl-bot-staging/java-contact-center-insights/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/getview/SyncGetViewViewname.java similarity index 100% rename from java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/getview/SyncGetViewViewname.java rename to owl-bot-staging/java-contact-center-insights/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/getview/SyncGetViewViewname.java diff --git a/java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/ingestconversations/AsyncIngestConversations.java b/owl-bot-staging/java-contact-center-insights/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/ingestconversations/AsyncIngestConversations.java similarity index 100% rename from java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/ingestconversations/AsyncIngestConversations.java rename to owl-bot-staging/java-contact-center-insights/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/ingestconversations/AsyncIngestConversations.java diff --git a/java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/ingestconversations/AsyncIngestConversationsLRO.java b/owl-bot-staging/java-contact-center-insights/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/ingestconversations/AsyncIngestConversationsLRO.java similarity index 100% rename from java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/ingestconversations/AsyncIngestConversationsLRO.java rename to owl-bot-staging/java-contact-center-insights/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/ingestconversations/AsyncIngestConversationsLRO.java diff --git a/java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/ingestconversations/SyncIngestConversations.java b/owl-bot-staging/java-contact-center-insights/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/ingestconversations/SyncIngestConversations.java similarity index 100% rename from java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/ingestconversations/SyncIngestConversations.java rename to owl-bot-staging/java-contact-center-insights/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/ingestconversations/SyncIngestConversations.java diff --git a/java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/ingestconversations/SyncIngestConversationsLocationname.java b/owl-bot-staging/java-contact-center-insights/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/ingestconversations/SyncIngestConversationsLocationname.java similarity index 100% rename from java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/ingestconversations/SyncIngestConversationsLocationname.java rename to owl-bot-staging/java-contact-center-insights/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/ingestconversations/SyncIngestConversationsLocationname.java diff --git a/java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/ingestconversations/SyncIngestConversationsString.java b/owl-bot-staging/java-contact-center-insights/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/ingestconversations/SyncIngestConversationsString.java similarity index 100% rename from java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/ingestconversations/SyncIngestConversationsString.java rename to owl-bot-staging/java-contact-center-insights/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/ingestconversations/SyncIngestConversationsString.java diff --git a/java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/listanalyses/AsyncListAnalyses.java b/owl-bot-staging/java-contact-center-insights/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/listanalyses/AsyncListAnalyses.java similarity index 100% rename from java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/listanalyses/AsyncListAnalyses.java rename to owl-bot-staging/java-contact-center-insights/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/listanalyses/AsyncListAnalyses.java diff --git a/java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/listanalyses/AsyncListAnalysesPaged.java b/owl-bot-staging/java-contact-center-insights/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/listanalyses/AsyncListAnalysesPaged.java similarity index 100% rename from java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/listanalyses/AsyncListAnalysesPaged.java rename to owl-bot-staging/java-contact-center-insights/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/listanalyses/AsyncListAnalysesPaged.java diff --git a/java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/listanalyses/SyncListAnalyses.java b/owl-bot-staging/java-contact-center-insights/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/listanalyses/SyncListAnalyses.java similarity index 100% rename from java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/listanalyses/SyncListAnalyses.java rename to owl-bot-staging/java-contact-center-insights/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/listanalyses/SyncListAnalyses.java diff --git a/java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/listanalyses/SyncListAnalysesConversationname.java b/owl-bot-staging/java-contact-center-insights/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/listanalyses/SyncListAnalysesConversationname.java similarity index 100% rename from java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/listanalyses/SyncListAnalysesConversationname.java rename to owl-bot-staging/java-contact-center-insights/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/listanalyses/SyncListAnalysesConversationname.java diff --git a/java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/listanalyses/SyncListAnalysesString.java b/owl-bot-staging/java-contact-center-insights/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/listanalyses/SyncListAnalysesString.java similarity index 100% rename from java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/listanalyses/SyncListAnalysesString.java rename to owl-bot-staging/java-contact-center-insights/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/listanalyses/SyncListAnalysesString.java diff --git a/java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/listconversations/AsyncListConversations.java b/owl-bot-staging/java-contact-center-insights/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/listconversations/AsyncListConversations.java similarity index 100% rename from java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/listconversations/AsyncListConversations.java rename to owl-bot-staging/java-contact-center-insights/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/listconversations/AsyncListConversations.java diff --git a/java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/listconversations/AsyncListConversationsPaged.java b/owl-bot-staging/java-contact-center-insights/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/listconversations/AsyncListConversationsPaged.java similarity index 100% rename from java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/listconversations/AsyncListConversationsPaged.java rename to owl-bot-staging/java-contact-center-insights/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/listconversations/AsyncListConversationsPaged.java diff --git a/java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/listconversations/SyncListConversations.java b/owl-bot-staging/java-contact-center-insights/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/listconversations/SyncListConversations.java similarity index 100% rename from java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/listconversations/SyncListConversations.java rename to owl-bot-staging/java-contact-center-insights/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/listconversations/SyncListConversations.java diff --git a/java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/listconversations/SyncListConversationsLocationname.java b/owl-bot-staging/java-contact-center-insights/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/listconversations/SyncListConversationsLocationname.java similarity index 100% rename from java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/listconversations/SyncListConversationsLocationname.java rename to owl-bot-staging/java-contact-center-insights/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/listconversations/SyncListConversationsLocationname.java diff --git a/java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/listconversations/SyncListConversationsString.java b/owl-bot-staging/java-contact-center-insights/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/listconversations/SyncListConversationsString.java similarity index 100% rename from java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/listconversations/SyncListConversationsString.java rename to owl-bot-staging/java-contact-center-insights/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/listconversations/SyncListConversationsString.java diff --git a/java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/listissuemodels/AsyncListIssueModels.java b/owl-bot-staging/java-contact-center-insights/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/listissuemodels/AsyncListIssueModels.java similarity index 100% rename from java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/listissuemodels/AsyncListIssueModels.java rename to owl-bot-staging/java-contact-center-insights/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/listissuemodels/AsyncListIssueModels.java diff --git a/java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/listissuemodels/SyncListIssueModels.java b/owl-bot-staging/java-contact-center-insights/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/listissuemodels/SyncListIssueModels.java similarity index 100% rename from java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/listissuemodels/SyncListIssueModels.java rename to owl-bot-staging/java-contact-center-insights/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/listissuemodels/SyncListIssueModels.java diff --git a/java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/listissuemodels/SyncListIssueModelsLocationname.java b/owl-bot-staging/java-contact-center-insights/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/listissuemodels/SyncListIssueModelsLocationname.java similarity index 100% rename from java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/listissuemodels/SyncListIssueModelsLocationname.java rename to owl-bot-staging/java-contact-center-insights/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/listissuemodels/SyncListIssueModelsLocationname.java diff --git a/java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/listissuemodels/SyncListIssueModelsString.java b/owl-bot-staging/java-contact-center-insights/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/listissuemodels/SyncListIssueModelsString.java similarity index 100% rename from java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/listissuemodels/SyncListIssueModelsString.java rename to owl-bot-staging/java-contact-center-insights/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/listissuemodels/SyncListIssueModelsString.java diff --git a/java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/listissues/AsyncListIssues.java b/owl-bot-staging/java-contact-center-insights/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/listissues/AsyncListIssues.java similarity index 100% rename from java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/listissues/AsyncListIssues.java rename to owl-bot-staging/java-contact-center-insights/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/listissues/AsyncListIssues.java diff --git a/java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/listissues/SyncListIssues.java b/owl-bot-staging/java-contact-center-insights/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/listissues/SyncListIssues.java similarity index 100% rename from java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/listissues/SyncListIssues.java rename to owl-bot-staging/java-contact-center-insights/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/listissues/SyncListIssues.java diff --git a/java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/listissues/SyncListIssuesIssuemodelname.java b/owl-bot-staging/java-contact-center-insights/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/listissues/SyncListIssuesIssuemodelname.java similarity index 100% rename from java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/listissues/SyncListIssuesIssuemodelname.java rename to owl-bot-staging/java-contact-center-insights/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/listissues/SyncListIssuesIssuemodelname.java diff --git a/java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/listissues/SyncListIssuesString.java b/owl-bot-staging/java-contact-center-insights/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/listissues/SyncListIssuesString.java similarity index 100% rename from java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/listissues/SyncListIssuesString.java rename to owl-bot-staging/java-contact-center-insights/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/listissues/SyncListIssuesString.java diff --git a/java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/listphrasematchers/AsyncListPhraseMatchers.java b/owl-bot-staging/java-contact-center-insights/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/listphrasematchers/AsyncListPhraseMatchers.java similarity index 100% rename from java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/listphrasematchers/AsyncListPhraseMatchers.java rename to owl-bot-staging/java-contact-center-insights/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/listphrasematchers/AsyncListPhraseMatchers.java diff --git a/java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/listphrasematchers/AsyncListPhraseMatchersPaged.java b/owl-bot-staging/java-contact-center-insights/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/listphrasematchers/AsyncListPhraseMatchersPaged.java similarity index 100% rename from java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/listphrasematchers/AsyncListPhraseMatchersPaged.java rename to owl-bot-staging/java-contact-center-insights/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/listphrasematchers/AsyncListPhraseMatchersPaged.java diff --git a/java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/listphrasematchers/SyncListPhraseMatchers.java b/owl-bot-staging/java-contact-center-insights/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/listphrasematchers/SyncListPhraseMatchers.java similarity index 100% rename from java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/listphrasematchers/SyncListPhraseMatchers.java rename to owl-bot-staging/java-contact-center-insights/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/listphrasematchers/SyncListPhraseMatchers.java diff --git a/java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/listphrasematchers/SyncListPhraseMatchersLocationname.java b/owl-bot-staging/java-contact-center-insights/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/listphrasematchers/SyncListPhraseMatchersLocationname.java similarity index 100% rename from java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/listphrasematchers/SyncListPhraseMatchersLocationname.java rename to owl-bot-staging/java-contact-center-insights/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/listphrasematchers/SyncListPhraseMatchersLocationname.java diff --git a/java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/listphrasematchers/SyncListPhraseMatchersString.java b/owl-bot-staging/java-contact-center-insights/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/listphrasematchers/SyncListPhraseMatchersString.java similarity index 100% rename from java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/listphrasematchers/SyncListPhraseMatchersString.java rename to owl-bot-staging/java-contact-center-insights/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/listphrasematchers/SyncListPhraseMatchersString.java diff --git a/java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/listviews/AsyncListViews.java b/owl-bot-staging/java-contact-center-insights/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/listviews/AsyncListViews.java similarity index 100% rename from java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/listviews/AsyncListViews.java rename to owl-bot-staging/java-contact-center-insights/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/listviews/AsyncListViews.java diff --git a/java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/listviews/AsyncListViewsPaged.java b/owl-bot-staging/java-contact-center-insights/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/listviews/AsyncListViewsPaged.java similarity index 100% rename from java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/listviews/AsyncListViewsPaged.java rename to owl-bot-staging/java-contact-center-insights/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/listviews/AsyncListViewsPaged.java diff --git a/java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/listviews/SyncListViews.java b/owl-bot-staging/java-contact-center-insights/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/listviews/SyncListViews.java similarity index 100% rename from java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/listviews/SyncListViews.java rename to owl-bot-staging/java-contact-center-insights/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/listviews/SyncListViews.java diff --git a/java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/listviews/SyncListViewsLocationname.java b/owl-bot-staging/java-contact-center-insights/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/listviews/SyncListViewsLocationname.java similarity index 100% rename from java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/listviews/SyncListViewsLocationname.java rename to owl-bot-staging/java-contact-center-insights/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/listviews/SyncListViewsLocationname.java diff --git a/java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/listviews/SyncListViewsString.java b/owl-bot-staging/java-contact-center-insights/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/listviews/SyncListViewsString.java similarity index 100% rename from java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/listviews/SyncListViewsString.java rename to owl-bot-staging/java-contact-center-insights/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/listviews/SyncListViewsString.java diff --git a/java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/undeployissuemodel/AsyncUndeployIssueModel.java b/owl-bot-staging/java-contact-center-insights/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/undeployissuemodel/AsyncUndeployIssueModel.java similarity index 100% rename from java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/undeployissuemodel/AsyncUndeployIssueModel.java rename to owl-bot-staging/java-contact-center-insights/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/undeployissuemodel/AsyncUndeployIssueModel.java diff --git a/java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/undeployissuemodel/AsyncUndeployIssueModelLRO.java b/owl-bot-staging/java-contact-center-insights/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/undeployissuemodel/AsyncUndeployIssueModelLRO.java similarity index 100% rename from java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/undeployissuemodel/AsyncUndeployIssueModelLRO.java rename to owl-bot-staging/java-contact-center-insights/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/undeployissuemodel/AsyncUndeployIssueModelLRO.java diff --git a/java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/undeployissuemodel/SyncUndeployIssueModel.java b/owl-bot-staging/java-contact-center-insights/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/undeployissuemodel/SyncUndeployIssueModel.java similarity index 100% rename from java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/undeployissuemodel/SyncUndeployIssueModel.java rename to owl-bot-staging/java-contact-center-insights/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/undeployissuemodel/SyncUndeployIssueModel.java diff --git a/java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/undeployissuemodel/SyncUndeployIssueModelIssuemodelname.java b/owl-bot-staging/java-contact-center-insights/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/undeployissuemodel/SyncUndeployIssueModelIssuemodelname.java similarity index 100% rename from java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/undeployissuemodel/SyncUndeployIssueModelIssuemodelname.java rename to owl-bot-staging/java-contact-center-insights/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/undeployissuemodel/SyncUndeployIssueModelIssuemodelname.java diff --git a/java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/undeployissuemodel/SyncUndeployIssueModelString.java b/owl-bot-staging/java-contact-center-insights/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/undeployissuemodel/SyncUndeployIssueModelString.java similarity index 100% rename from java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/undeployissuemodel/SyncUndeployIssueModelString.java rename to owl-bot-staging/java-contact-center-insights/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/undeployissuemodel/SyncUndeployIssueModelString.java diff --git a/java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/updateconversation/AsyncUpdateConversation.java b/owl-bot-staging/java-contact-center-insights/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/updateconversation/AsyncUpdateConversation.java similarity index 100% rename from java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/updateconversation/AsyncUpdateConversation.java rename to owl-bot-staging/java-contact-center-insights/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/updateconversation/AsyncUpdateConversation.java diff --git a/java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/updateconversation/SyncUpdateConversation.java b/owl-bot-staging/java-contact-center-insights/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/updateconversation/SyncUpdateConversation.java similarity index 100% rename from java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/updateconversation/SyncUpdateConversation.java rename to owl-bot-staging/java-contact-center-insights/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/updateconversation/SyncUpdateConversation.java diff --git a/java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/updateconversation/SyncUpdateConversationConversationFieldmask.java b/owl-bot-staging/java-contact-center-insights/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/updateconversation/SyncUpdateConversationConversationFieldmask.java similarity index 100% rename from java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/updateconversation/SyncUpdateConversationConversationFieldmask.java rename to owl-bot-staging/java-contact-center-insights/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/updateconversation/SyncUpdateConversationConversationFieldmask.java diff --git a/java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/updateissue/AsyncUpdateIssue.java b/owl-bot-staging/java-contact-center-insights/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/updateissue/AsyncUpdateIssue.java similarity index 100% rename from java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/updateissue/AsyncUpdateIssue.java rename to owl-bot-staging/java-contact-center-insights/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/updateissue/AsyncUpdateIssue.java diff --git a/java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/updateissue/SyncUpdateIssue.java b/owl-bot-staging/java-contact-center-insights/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/updateissue/SyncUpdateIssue.java similarity index 100% rename from java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/updateissue/SyncUpdateIssue.java rename to owl-bot-staging/java-contact-center-insights/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/updateissue/SyncUpdateIssue.java diff --git a/java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/updateissue/SyncUpdateIssueIssueFieldmask.java b/owl-bot-staging/java-contact-center-insights/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/updateissue/SyncUpdateIssueIssueFieldmask.java similarity index 100% rename from java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/updateissue/SyncUpdateIssueIssueFieldmask.java rename to owl-bot-staging/java-contact-center-insights/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/updateissue/SyncUpdateIssueIssueFieldmask.java diff --git a/java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/updateissuemodel/AsyncUpdateIssueModel.java b/owl-bot-staging/java-contact-center-insights/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/updateissuemodel/AsyncUpdateIssueModel.java similarity index 100% rename from java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/updateissuemodel/AsyncUpdateIssueModel.java rename to owl-bot-staging/java-contact-center-insights/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/updateissuemodel/AsyncUpdateIssueModel.java diff --git a/java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/updateissuemodel/SyncUpdateIssueModel.java b/owl-bot-staging/java-contact-center-insights/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/updateissuemodel/SyncUpdateIssueModel.java similarity index 100% rename from java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/updateissuemodel/SyncUpdateIssueModel.java rename to owl-bot-staging/java-contact-center-insights/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/updateissuemodel/SyncUpdateIssueModel.java diff --git a/java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/updateissuemodel/SyncUpdateIssueModelIssuemodelFieldmask.java b/owl-bot-staging/java-contact-center-insights/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/updateissuemodel/SyncUpdateIssueModelIssuemodelFieldmask.java similarity index 100% rename from java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/updateissuemodel/SyncUpdateIssueModelIssuemodelFieldmask.java rename to owl-bot-staging/java-contact-center-insights/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/updateissuemodel/SyncUpdateIssueModelIssuemodelFieldmask.java diff --git a/java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/updatephrasematcher/AsyncUpdatePhraseMatcher.java b/owl-bot-staging/java-contact-center-insights/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/updatephrasematcher/AsyncUpdatePhraseMatcher.java similarity index 100% rename from java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/updatephrasematcher/AsyncUpdatePhraseMatcher.java rename to owl-bot-staging/java-contact-center-insights/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/updatephrasematcher/AsyncUpdatePhraseMatcher.java diff --git a/java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/updatephrasematcher/SyncUpdatePhraseMatcher.java b/owl-bot-staging/java-contact-center-insights/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/updatephrasematcher/SyncUpdatePhraseMatcher.java similarity index 100% rename from java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/updatephrasematcher/SyncUpdatePhraseMatcher.java rename to owl-bot-staging/java-contact-center-insights/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/updatephrasematcher/SyncUpdatePhraseMatcher.java diff --git a/java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/updatephrasematcher/SyncUpdatePhraseMatcherPhrasematcherFieldmask.java b/owl-bot-staging/java-contact-center-insights/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/updatephrasematcher/SyncUpdatePhraseMatcherPhrasematcherFieldmask.java similarity index 100% rename from java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/updatephrasematcher/SyncUpdatePhraseMatcherPhrasematcherFieldmask.java rename to owl-bot-staging/java-contact-center-insights/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/updatephrasematcher/SyncUpdatePhraseMatcherPhrasematcherFieldmask.java diff --git a/java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/updatesettings/AsyncUpdateSettings.java b/owl-bot-staging/java-contact-center-insights/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/updatesettings/AsyncUpdateSettings.java similarity index 100% rename from java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/updatesettings/AsyncUpdateSettings.java rename to owl-bot-staging/java-contact-center-insights/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/updatesettings/AsyncUpdateSettings.java diff --git a/java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/updatesettings/SyncUpdateSettings.java b/owl-bot-staging/java-contact-center-insights/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/updatesettings/SyncUpdateSettings.java similarity index 100% rename from java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/updatesettings/SyncUpdateSettings.java rename to owl-bot-staging/java-contact-center-insights/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/updatesettings/SyncUpdateSettings.java diff --git a/java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/updatesettings/SyncUpdateSettingsSettingsFieldmask.java b/owl-bot-staging/java-contact-center-insights/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/updatesettings/SyncUpdateSettingsSettingsFieldmask.java similarity index 100% rename from java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/updatesettings/SyncUpdateSettingsSettingsFieldmask.java rename to owl-bot-staging/java-contact-center-insights/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/updatesettings/SyncUpdateSettingsSettingsFieldmask.java diff --git a/java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/updateview/AsyncUpdateView.java b/owl-bot-staging/java-contact-center-insights/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/updateview/AsyncUpdateView.java similarity index 100% rename from java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/updateview/AsyncUpdateView.java rename to owl-bot-staging/java-contact-center-insights/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/updateview/AsyncUpdateView.java diff --git a/java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/updateview/SyncUpdateView.java b/owl-bot-staging/java-contact-center-insights/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/updateview/SyncUpdateView.java similarity index 100% rename from java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/updateview/SyncUpdateView.java rename to owl-bot-staging/java-contact-center-insights/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/updateview/SyncUpdateView.java diff --git a/java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/updateview/SyncUpdateViewViewFieldmask.java b/owl-bot-staging/java-contact-center-insights/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/updateview/SyncUpdateViewViewFieldmask.java similarity index 100% rename from java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/updateview/SyncUpdateViewViewFieldmask.java rename to owl-bot-staging/java-contact-center-insights/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/updateview/SyncUpdateViewViewFieldmask.java diff --git a/java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightssettings/createconversation/SyncCreateConversation.java b/owl-bot-staging/java-contact-center-insights/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightssettings/createconversation/SyncCreateConversation.java similarity index 100% rename from java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightssettings/createconversation/SyncCreateConversation.java rename to owl-bot-staging/java-contact-center-insights/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightssettings/createconversation/SyncCreateConversation.java diff --git a/java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/stub/contactcenterinsightsstubsettings/createconversation/SyncCreateConversation.java b/owl-bot-staging/java-contact-center-insights/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/stub/contactcenterinsightsstubsettings/createconversation/SyncCreateConversation.java similarity index 100% rename from java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/stub/contactcenterinsightsstubsettings/createconversation/SyncCreateConversation.java rename to owl-bot-staging/java-contact-center-insights/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/stub/contactcenterinsightsstubsettings/createconversation/SyncCreateConversation.java From 86fbb4cc4e94f549a956a64d5391ec4e425606b1 Mon Sep 17 00:00:00 2001 From: Owl Bot Date: Sat, 4 Feb 2023 00:18:58 +0000 Subject: [PATCH 2/2] =?UTF-8?q?=F0=9F=A6=89=20Updates=20from=20OwlBot=20po?= =?UTF-8?q?st-processor?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md --- java-contact-center-insights/README.md | 6 +- .../v1/ContactCenterInsightsClient.java | 0 .../v1/ContactCenterInsightsSettings.java | 1 - .../v1/gapic_metadata.json | 0 .../v1/package-info.java | 0 .../v1/stub/ContactCenterInsightsStub.java | 0 .../ContactCenterInsightsStubSettings.java | 0 ...cContactCenterInsightsCallableFactory.java | 0 .../stub/GrpcContactCenterInsightsStub.java | 1 - ...nContactCenterInsightsCallableFactory.java | 0 .../HttpJsonContactCenterInsightsStub.java | 1 - ...ntactCenterInsightsClientHttpJsonTest.java | 0 .../v1/ContactCenterInsightsClientTest.java | 0 .../v1/MockContactCenterInsights.java | 0 .../v1/MockContactCenterInsightsImpl.java | 0 .../v1/ContactCenterInsightsGrpc.java | 4709 ++++++++++++ .../contactcenterinsights/v1/Analysis.java | 868 ++- .../v1/AnalysisName.java | 0 .../v1/AnalysisOrBuilder.java | 92 +- .../v1/AnalysisResult.java | 2554 ++++--- .../v1/AnalysisResultOrBuilder.java | 52 +- .../v1/AnnotationBoundary.java | 392 +- .../v1/AnnotationBoundaryOrBuilder.java | 30 +- .../v1/AnnotatorSelector.java | 715 +- .../v1/AnnotatorSelectorOrBuilder.java | 75 +- .../v1/AnswerFeedback.java | 506 +- .../v1/AnswerFeedbackOrBuilder.java | 38 +- .../v1/ArticleSuggestionData.java | 855 ++- .../v1/ArticleSuggestionDataOrBuilder.java | 87 +- .../v1/BulkAnalyzeConversationsMetadata.java | 785 +- ...AnalyzeConversationsMetadataOrBuilder.java | 63 +- .../v1/BulkAnalyzeConversationsRequest.java | 634 +- ...kAnalyzeConversationsRequestOrBuilder.java | 58 +- .../v1/BulkAnalyzeConversationsResponse.java | 433 +- ...AnalyzeConversationsResponseOrBuilder.java | 24 +- .../v1/CalculateIssueModelStatsRequest.java | 411 +- ...culateIssueModelStatsRequestOrBuilder.java | 54 + .../v1/CalculateIssueModelStatsResponse.java | 479 +- ...ulateIssueModelStatsResponseOrBuilder.java | 29 +- .../v1/CalculateStatsRequest.java | 451 +- .../v1/CalculateStatsRequestOrBuilder.java | 44 +- .../v1/CalculateStatsResponse.java | 2982 +++++--- .../v1/CalculateStatsResponseOrBuilder.java | 217 +- .../v1/CallAnnotation.java | 1531 ++-- .../v1/CallAnnotationOrBuilder.java | 131 +- .../v1/ContactCenterInsightsProto.java | 1436 ++++ .../v1/Conversation.java | 6747 +++++++++++------ .../v1/ConversationDataSource.java | 526 +- .../v1/ConversationDataSourceOrBuilder.java | 40 +- .../v1/ConversationLevelSentiment.java | 435 +- .../ConversationLevelSentimentOrBuilder.java | 29 +- .../v1/ConversationName.java | 0 .../v1/ConversationOrBuilder.java | 333 +- .../v1/ConversationParticipant.java | 877 ++- .../v1/ConversationParticipantOrBuilder.java | 83 +- .../v1/ConversationView.java | 86 +- .../v1/CreateAnalysisOperationMetadata.java | 827 +- ...ateAnalysisOperationMetadataOrBuilder.java | 92 +- .../v1/CreateAnalysisRequest.java | 522 +- .../v1/CreateAnalysisRequestOrBuilder.java | 95 + .../v1/CreateConversationRequest.java | 613 +- .../CreateConversationRequestOrBuilder.java | 64 +- .../v1/CreateIssueModelMetadata.java | 658 +- .../v1/CreateIssueModelMetadataOrBuilder.java | 60 +- .../v1/CreateIssueModelRequest.java | 530 +- .../v1/CreateIssueModelRequestOrBuilder.java | 95 + .../v1/CreatePhraseMatcherRequest.java | 547 +- .../CreatePhraseMatcherRequestOrBuilder.java | 55 +- .../v1/CreateViewRequest.java | 501 +- .../v1/CreateViewRequestOrBuilder.java | 55 +- .../v1/DeleteAnalysisRequest.java | 379 +- .../v1/DeleteAnalysisRequestOrBuilder.java | 54 + .../v1/DeleteConversationRequest.java | 427 +- .../DeleteConversationRequestOrBuilder.java | 69 + .../v1/DeleteIssueModelMetadata.java | 658 +- .../v1/DeleteIssueModelMetadataOrBuilder.java | 60 +- .../v1/DeleteIssueModelRequest.java | 387 +- .../v1/DeleteIssueModelRequestOrBuilder.java | 54 + .../v1/DeleteIssueRequest.java | 366 +- .../v1/DeleteIssueRequestOrBuilder.java | 54 + .../v1/DeletePhraseMatcherRequest.java | 391 +- .../DeletePhraseMatcherRequestOrBuilder.java | 54 + .../v1/DeleteViewRequest.java | 356 +- .../v1/DeleteViewRequestOrBuilder.java | 54 + .../v1/DeployIssueModelMetadata.java | 658 +- .../v1/DeployIssueModelMetadataOrBuilder.java | 60 +- .../v1/DeployIssueModelRequest.java | 387 +- .../v1/DeployIssueModelRequestOrBuilder.java | 54 + .../v1/DeployIssueModelResponse.java | 286 +- .../v1/DeployIssueModelResponseOrBuilder.java | 24 + .../v1/DialogflowIntent.java | 328 +- .../v1/DialogflowIntentOrBuilder.java | 50 + .../v1/DialogflowInteractionData.java | 399 +- .../DialogflowInteractionDataOrBuilder.java | 30 +- .../v1/DialogflowSource.java | 400 +- .../v1/DialogflowSourceOrBuilder.java | 36 +- .../contactcenterinsights/v1/Entity.java | 907 ++- .../v1/EntityMentionData.java | 567 +- .../v1/EntityMentionDataOrBuilder.java | 41 +- .../v1/EntityOrBuilder.java | 74 +- .../v1/ExactMatchConfig.java | 295 +- .../v1/ExactMatchConfigOrBuilder.java | 38 + .../v1/ExportInsightsDataMetadata.java | 819 +- .../ExportInsightsDataMetadataOrBuilder.java | 82 +- .../v1/ExportInsightsDataRequest.java | 1596 ++-- .../ExportInsightsDataRequestOrBuilder.java | 99 +- .../v1/ExportInsightsDataResponse.java | 286 +- .../ExportInsightsDataResponseOrBuilder.java | 24 + .../v1/FaqAnswerData.java | 830 +- .../v1/FaqAnswerDataOrBuilder.java | 87 +- .../contactcenterinsights/v1/GcsSource.java | 397 +- .../v1/GcsSourceOrBuilder.java | 36 +- .../v1/GetAnalysisRequest.java | 366 +- .../v1/GetAnalysisRequestOrBuilder.java | 54 + .../v1/GetConversationRequest.java | 445 +- .../v1/GetConversationRequestOrBuilder.java | 41 +- .../v1/GetIssueModelRequest.java | 376 +- .../v1/GetIssueModelRequestOrBuilder.java | 54 + .../v1/GetIssueRequest.java | 356 +- .../v1/GetIssueRequestOrBuilder.java | 54 + .../v1/GetPhraseMatcherRequest.java | 387 +- .../v1/GetPhraseMatcherRequestOrBuilder.java | 54 + .../v1/GetSettingsRequest.java | 366 +- .../v1/GetSettingsRequestOrBuilder.java | 54 + .../v1/GetViewRequest.java | 356 +- .../v1/GetViewRequestOrBuilder.java | 54 + .../contactcenterinsights/v1/HoldData.java | 251 +- .../v1/HoldDataOrBuilder.java | 24 + .../v1/IngestConversationsMetadata.java | 1715 +++-- .../IngestConversationsMetadataOrBuilder.java | 141 +- .../v1/IngestConversationsRequest.java | 2478 +++--- .../IngestConversationsRequestOrBuilder.java | 189 + .../v1/IngestConversationsResponse.java | 286 +- .../IngestConversationsResponseOrBuilder.java | 24 + .../contactcenterinsights/v1/Intent.java | 397 +- .../v1/IntentMatchData.java | 328 +- .../v1/IntentMatchDataOrBuilder.java | 27 +- .../v1/IntentOrBuilder.java | 36 +- .../v1/InterruptionData.java | 254 +- .../v1/InterruptionDataOrBuilder.java | 24 + .../cloud/contactcenterinsights/v1/Issue.java | 804 +- .../v1/IssueAssignment.java | 438 +- .../v1/IssueAssignmentOrBuilder.java | 39 +- .../v1/IssueMatchData.java | 370 +- .../v1/IssueMatchDataOrBuilder.java | 26 +- .../contactcenterinsights/v1/IssueModel.java | 1794 +++-- .../v1/IssueModelLabelStats.java | 1249 +-- .../v1/IssueModelLabelStatsOrBuilder.java | 127 + .../v1/IssueModelName.java | 0 .../v1/IssueModelOrBuilder.java | 130 +- .../v1/IssueModelResult.java | 490 +- .../v1/IssueModelResultOrBuilder.java | 45 +- .../contactcenterinsights/v1/IssueName.java | 0 .../v1/IssueOrBuilder.java | 100 +- .../v1/ListAnalysesRequest.java | 543 +- .../v1/ListAnalysesRequestOrBuilder.java | 56 +- .../v1/ListAnalysesResponse.java | 493 +- .../v1/ListAnalysesResponseOrBuilder.java | 45 +- .../v1/ListConversationsRequest.java | 636 +- .../v1/ListConversationsRequestOrBuilder.java | 62 +- .../v1/ListConversationsResponse.java | 520 +- .../ListConversationsResponseOrBuilder.java | 42 +- .../v1/ListIssueModelsRequest.java | 379 +- .../v1/ListIssueModelsRequestOrBuilder.java | 54 + .../v1/ListIssueModelsResponse.java | 436 +- .../v1/ListIssueModelsResponseOrBuilder.java | 36 +- .../v1/ListIssuesRequest.java | 356 +- .../v1/ListIssuesRequestOrBuilder.java | 54 + .../v1/ListIssuesResponse.java | 425 +- .../v1/ListIssuesResponseOrBuilder.java | 36 +- .../v1/ListPhraseMatchersRequest.java | 568 +- .../ListPhraseMatchersRequestOrBuilder.java | 56 +- .../v1/ListPhraseMatchersResponse.java | 590 +- .../ListPhraseMatchersResponseOrBuilder.java | 42 +- .../v1/ListViewsRequest.java | 461 +- .../v1/ListViewsRequestOrBuilder.java | 47 +- .../v1/ListViewsResponse.java | 486 +- .../v1/ListViewsResponseOrBuilder.java | 45 +- .../v1/LocationName.java | 0 .../v1/PhraseMatchData.java | 400 +- .../v1/PhraseMatchDataOrBuilder.java | 36 +- .../v1/PhraseMatchRule.java | 475 +- .../v1/PhraseMatchRuleConfig.java | 430 +- .../v1/PhraseMatchRuleConfigOrBuilder.java | 29 +- .../v1/PhraseMatchRuleGroup.java | 710 +- .../v1/PhraseMatchRuleGroupOrBuilder.java | 61 +- .../v1/PhraseMatchRuleOrBuilder.java | 38 +- .../v1/PhraseMatcher.java | 1583 ++-- .../v1/PhraseMatcherName.java | 0 .../v1/PhraseMatcherOrBuilder.java | 189 +- .../v1/ResourcesProto.java | 1299 ++++ .../v1/RuntimeAnnotation.java | 1521 ++-- .../v1/RuntimeAnnotationOrBuilder.java | 141 +- .../v1/SentimentData.java | 331 +- .../v1/SentimentDataOrBuilder.java | 24 +- .../contactcenterinsights/v1/Settings.java | 1612 ++-- .../v1/SettingsName.java | 0 .../v1/SettingsOrBuilder.java | 128 +- .../contactcenterinsights/v1/SilenceData.java | 254 +- .../v1/SilenceDataOrBuilder.java | 24 + .../v1/SmartComposeSuggestionData.java | 726 +- .../SmartComposeSuggestionDataOrBuilder.java | 69 +- .../v1/SmartReplyData.java | 691 +- .../v1/SmartReplyDataOrBuilder.java | 69 +- .../v1/UndeployIssueModelMetadata.java | 663 +- .../UndeployIssueModelMetadataOrBuilder.java | 63 +- .../v1/UndeployIssueModelRequest.java | 391 +- .../UndeployIssueModelRequestOrBuilder.java | 54 + .../v1/UndeployIssueModelResponse.java | 286 +- .../UndeployIssueModelResponseOrBuilder.java | 24 + .../v1/UpdateConversationRequest.java | 533 +- .../UpdateConversationRequestOrBuilder.java | 46 +- .../v1/UpdateIssueModelRequest.java | 522 +- .../v1/UpdateIssueModelRequestOrBuilder.java | 46 +- .../v1/UpdateIssueRequest.java | 500 +- .../v1/UpdateIssueRequestOrBuilder.java | 46 +- .../v1/UpdatePhraseMatcherRequest.java | 539 +- .../UpdatePhraseMatcherRequestOrBuilder.java | 46 +- .../v1/UpdateSettingsRequest.java | 550 +- .../v1/UpdateSettingsRequestOrBuilder.java | 55 +- .../v1/UpdateViewRequest.java | 493 +- .../v1/UpdateViewRequestOrBuilder.java | 46 +- .../cloud/contactcenterinsights/v1/View.java | 730 +- .../contactcenterinsights/v1/ViewName.java | 0 .../v1/ViewOrBuilder.java | 79 +- .../v1/contact_center_insights.proto | 0 .../contactcenterinsights/v1/resources.proto | 0 .../AsyncBulkAnalyzeConversations.java | 0 .../AsyncBulkAnalyzeConversationsLRO.java | 0 .../SyncBulkAnalyzeConversations.java | 0 ...eConversationsLocationnameStringFloat.java | 0 ...AnalyzeConversationsStringStringFloat.java | 0 .../AsyncCalculateIssueModelStats.java | 0 .../SyncCalculateIssueModelStats.java | 0 ...alculateIssueModelStatsIssuemodelname.java | 0 .../SyncCalculateIssueModelStatsString.java | 0 .../calculatestats/AsyncCalculateStats.java | 0 .../calculatestats/SyncCalculateStats.java | 0 .../SyncCalculateStatsLocationname.java | 0 .../SyncCalculateStatsString.java | 0 .../SyncCreateSetCredentialsProvider.java | 0 .../SyncCreateSetCredentialsProvider1.java | 0 .../create/SyncCreateSetEndpoint.java | 0 .../createanalysis/AsyncCreateAnalysis.java | 0 .../AsyncCreateAnalysisLRO.java | 0 .../createanalysis/SyncCreateAnalysis.java | 0 ...reateAnalysisConversationnameAnalysis.java | 0 .../SyncCreateAnalysisStringAnalysis.java | 0 .../AsyncCreateConversation.java | 0 .../SyncCreateConversation.java | 0 ...rsationLocationnameConversationString.java | 0 ...eConversationStringConversationString.java | 0 .../AsyncCreateIssueModel.java | 0 .../AsyncCreateIssueModelLRO.java | 0 .../SyncCreateIssueModel.java | 0 ...reateIssueModelLocationnameIssuemodel.java | 0 .../SyncCreateIssueModelStringIssuemodel.java | 0 .../AsyncCreatePhraseMatcher.java | 0 .../SyncCreatePhraseMatcher.java | 0 ...hraseMatcherLocationnamePhrasematcher.java | 0 ...reatePhraseMatcherStringPhrasematcher.java | 0 .../createview/AsyncCreateView.java | 0 .../createview/SyncCreateView.java | 0 .../SyncCreateViewLocationnameView.java | 0 .../createview/SyncCreateViewStringView.java | 0 .../deleteanalysis/AsyncDeleteAnalysis.java | 0 .../deleteanalysis/SyncDeleteAnalysis.java | 0 .../SyncDeleteAnalysisAnalysisname.java | 0 .../SyncDeleteAnalysisString.java | 0 .../AsyncDeleteConversation.java | 0 .../SyncDeleteConversation.java | 0 ...yncDeleteConversationConversationname.java | 0 .../SyncDeleteConversationString.java | 0 .../deleteissue/AsyncDeleteIssue.java | 0 .../deleteissue/SyncDeleteIssue.java | 0 .../deleteissue/SyncDeleteIssueIssuename.java | 0 .../deleteissue/SyncDeleteIssueString.java | 0 .../AsyncDeleteIssueModel.java | 0 .../AsyncDeleteIssueModelLRO.java | 0 .../SyncDeleteIssueModel.java | 0 .../SyncDeleteIssueModelIssuemodelname.java | 0 .../SyncDeleteIssueModelString.java | 0 .../AsyncDeletePhraseMatcher.java | 0 .../SyncDeletePhraseMatcher.java | 0 ...cDeletePhraseMatcherPhrasematchername.java | 0 .../SyncDeletePhraseMatcherString.java | 0 .../deleteview/AsyncDeleteView.java | 0 .../deleteview/SyncDeleteView.java | 0 .../deleteview/SyncDeleteViewString.java | 0 .../deleteview/SyncDeleteViewViewname.java | 0 .../AsyncDeployIssueModel.java | 0 .../AsyncDeployIssueModelLRO.java | 0 .../SyncDeployIssueModel.java | 0 .../SyncDeployIssueModelIssuemodelname.java | 0 .../SyncDeployIssueModelString.java | 0 .../AsyncExportInsightsData.java | 0 .../AsyncExportInsightsDataLRO.java | 0 .../SyncExportInsightsData.java | 0 .../SyncExportInsightsDataLocationname.java | 0 .../SyncExportInsightsDataString.java | 0 .../getanalysis/AsyncGetAnalysis.java | 0 .../getanalysis/SyncGetAnalysis.java | 0 .../SyncGetAnalysisAnalysisname.java | 0 .../getanalysis/SyncGetAnalysisString.java | 0 .../getconversation/AsyncGetConversation.java | 0 .../getconversation/SyncGetConversation.java | 0 .../SyncGetConversationConversationname.java | 0 .../SyncGetConversationString.java | 0 .../getissue/AsyncGetIssue.java | 0 .../getissue/SyncGetIssue.java | 0 .../getissue/SyncGetIssueIssuename.java | 0 .../getissue/SyncGetIssueString.java | 0 .../getissuemodel/AsyncGetIssueModel.java | 0 .../getissuemodel/SyncGetIssueModel.java | 0 .../SyncGetIssueModelIssuemodelname.java | 0 .../SyncGetIssueModelString.java | 0 .../AsyncGetPhraseMatcher.java | 0 .../SyncGetPhraseMatcher.java | 0 ...SyncGetPhraseMatcherPhrasematchername.java | 0 .../SyncGetPhraseMatcherString.java | 0 .../getsettings/AsyncGetSettings.java | 0 .../getsettings/SyncGetSettings.java | 0 .../SyncGetSettingsSettingsname.java | 0 .../getsettings/SyncGetSettingsString.java | 0 .../getview/AsyncGetView.java | 0 .../getview/SyncGetView.java | 0 .../getview/SyncGetViewString.java | 0 .../getview/SyncGetViewViewname.java | 0 .../AsyncIngestConversations.java | 0 .../AsyncIngestConversationsLRO.java | 0 .../SyncIngestConversations.java | 0 .../SyncIngestConversationsLocationname.java | 0 .../SyncIngestConversationsString.java | 0 .../listanalyses/AsyncListAnalyses.java | 0 .../listanalyses/AsyncListAnalysesPaged.java | 0 .../listanalyses/SyncListAnalyses.java | 0 .../SyncListAnalysesConversationname.java | 0 .../listanalyses/SyncListAnalysesString.java | 0 .../AsyncListConversations.java | 0 .../AsyncListConversationsPaged.java | 0 .../SyncListConversations.java | 0 .../SyncListConversationsLocationname.java | 0 .../SyncListConversationsString.java | 0 .../listissuemodels/AsyncListIssueModels.java | 0 .../listissuemodels/SyncListIssueModels.java | 0 .../SyncListIssueModelsLocationname.java | 0 .../SyncListIssueModelsString.java | 0 .../listissues/AsyncListIssues.java | 0 .../listissues/SyncListIssues.java | 0 .../SyncListIssuesIssuemodelname.java | 0 .../listissues/SyncListIssuesString.java | 0 .../AsyncListPhraseMatchers.java | 0 .../AsyncListPhraseMatchersPaged.java | 0 .../SyncListPhraseMatchers.java | 0 .../SyncListPhraseMatchersLocationname.java | 0 .../SyncListPhraseMatchersString.java | 0 .../listviews/AsyncListViews.java | 0 .../listviews/AsyncListViewsPaged.java | 0 .../listviews/SyncListViews.java | 0 .../listviews/SyncListViewsLocationname.java | 0 .../listviews/SyncListViewsString.java | 0 .../AsyncUndeployIssueModel.java | 0 .../AsyncUndeployIssueModelLRO.java | 0 .../SyncUndeployIssueModel.java | 0 .../SyncUndeployIssueModelIssuemodelname.java | 0 .../SyncUndeployIssueModelString.java | 0 .../AsyncUpdateConversation.java | 0 .../SyncUpdateConversation.java | 0 ...dateConversationConversationFieldmask.java | 0 .../updateissue/AsyncUpdateIssue.java | 0 .../updateissue/SyncUpdateIssue.java | 0 .../SyncUpdateIssueIssueFieldmask.java | 0 .../AsyncUpdateIssueModel.java | 0 .../SyncUpdateIssueModel.java | 0 ...ncUpdateIssueModelIssuemodelFieldmask.java | 0 .../AsyncUpdatePhraseMatcher.java | 0 .../SyncUpdatePhraseMatcher.java | 0 ...tePhraseMatcherPhrasematcherFieldmask.java | 0 .../updatesettings/AsyncUpdateSettings.java | 0 .../updatesettings/SyncUpdateSettings.java | 0 .../SyncUpdateSettingsSettingsFieldmask.java | 0 .../updateview/AsyncUpdateView.java | 0 .../updateview/SyncUpdateView.java | 0 .../SyncUpdateViewViewFieldmask.java | 0 .../SyncCreateConversation.java | 0 .../SyncCreateConversation.java | 0 .../v1/ContactCenterInsightsGrpc.java | 3415 --------- ...culateIssueModelStatsRequestOrBuilder.java | 29 - .../v1/ContactCenterInsightsProto.java | 1314 ---- .../v1/CreateAnalysisRequestOrBuilder.java | 56 - .../v1/CreateIssueModelRequestOrBuilder.java | 56 - .../v1/DeleteAnalysisRequestOrBuilder.java | 29 - .../DeleteConversationRequestOrBuilder.java | 41 - .../v1/DeleteIssueModelRequestOrBuilder.java | 29 - .../v1/DeleteIssueRequestOrBuilder.java | 29 - .../DeletePhraseMatcherRequestOrBuilder.java | 29 - .../v1/DeleteViewRequestOrBuilder.java | 29 - .../v1/DeployIssueModelRequestOrBuilder.java | 29 - .../v1/DeployIssueModelResponseOrBuilder.java | 9 - .../v1/DialogflowIntentOrBuilder.java | 29 - .../v1/ExactMatchConfigOrBuilder.java | 19 - .../ExportInsightsDataResponseOrBuilder.java | 9 - .../v1/GetAnalysisRequestOrBuilder.java | 29 - .../v1/GetIssueModelRequestOrBuilder.java | 29 - .../v1/GetIssueRequestOrBuilder.java | 29 - .../v1/GetPhraseMatcherRequestOrBuilder.java | 29 - .../v1/GetSettingsRequestOrBuilder.java | 29 - .../v1/GetViewRequestOrBuilder.java | 29 - .../v1/HoldDataOrBuilder.java | 9 - .../IngestConversationsRequestOrBuilder.java | 114 - .../IngestConversationsResponseOrBuilder.java | 9 - .../v1/InterruptionDataOrBuilder.java | 9 - .../v1/IssueModelLabelStatsOrBuilder.java | 84 - .../v1/ListIssueModelsRequestOrBuilder.java | 29 - .../v1/ListIssuesRequestOrBuilder.java | 29 - .../v1/ResourcesProto.java | 1097 --- .../v1/SilenceDataOrBuilder.java | 9 - .../UndeployIssueModelRequestOrBuilder.java | 29 - .../UndeployIssueModelResponseOrBuilder.java | 9 - 419 files changed, 57347 insertions(+), 34095 deletions(-) rename {owl-bot-staging/java-contact-center-insights/v1 => java-contact-center-insights}/google-cloud-contact-center-insights/src/main/java/com/google/cloud/contactcenterinsights/v1/ContactCenterInsightsClient.java (100%) rename {owl-bot-staging/java-contact-center-insights/v1 => java-contact-center-insights}/google-cloud-contact-center-insights/src/main/java/com/google/cloud/contactcenterinsights/v1/ContactCenterInsightsSettings.java (99%) rename {owl-bot-staging/java-contact-center-insights/v1 => java-contact-center-insights}/google-cloud-contact-center-insights/src/main/java/com/google/cloud/contactcenterinsights/v1/gapic_metadata.json (100%) rename {owl-bot-staging/java-contact-center-insights/v1 => java-contact-center-insights}/google-cloud-contact-center-insights/src/main/java/com/google/cloud/contactcenterinsights/v1/package-info.java (100%) rename {owl-bot-staging/java-contact-center-insights/v1 => java-contact-center-insights}/google-cloud-contact-center-insights/src/main/java/com/google/cloud/contactcenterinsights/v1/stub/ContactCenterInsightsStub.java (100%) rename {owl-bot-staging/java-contact-center-insights/v1 => java-contact-center-insights}/google-cloud-contact-center-insights/src/main/java/com/google/cloud/contactcenterinsights/v1/stub/ContactCenterInsightsStubSettings.java (100%) rename {owl-bot-staging/java-contact-center-insights/v1 => java-contact-center-insights}/google-cloud-contact-center-insights/src/main/java/com/google/cloud/contactcenterinsights/v1/stub/GrpcContactCenterInsightsCallableFactory.java (100%) rename {owl-bot-staging/java-contact-center-insights/v1 => java-contact-center-insights}/google-cloud-contact-center-insights/src/main/java/com/google/cloud/contactcenterinsights/v1/stub/GrpcContactCenterInsightsStub.java (99%) rename {owl-bot-staging/java-contact-center-insights/v1 => java-contact-center-insights}/google-cloud-contact-center-insights/src/main/java/com/google/cloud/contactcenterinsights/v1/stub/HttpJsonContactCenterInsightsCallableFactory.java (100%) rename {owl-bot-staging/java-contact-center-insights/v1 => java-contact-center-insights}/google-cloud-contact-center-insights/src/main/java/com/google/cloud/contactcenterinsights/v1/stub/HttpJsonContactCenterInsightsStub.java (99%) rename {owl-bot-staging/java-contact-center-insights/v1 => java-contact-center-insights}/google-cloud-contact-center-insights/src/test/java/com/google/cloud/contactcenterinsights/v1/ContactCenterInsightsClientHttpJsonTest.java (100%) rename {owl-bot-staging/java-contact-center-insights/v1 => java-contact-center-insights}/google-cloud-contact-center-insights/src/test/java/com/google/cloud/contactcenterinsights/v1/ContactCenterInsightsClientTest.java (100%) rename {owl-bot-staging/java-contact-center-insights/v1 => java-contact-center-insights}/google-cloud-contact-center-insights/src/test/java/com/google/cloud/contactcenterinsights/v1/MockContactCenterInsights.java (100%) rename {owl-bot-staging/java-contact-center-insights/v1 => java-contact-center-insights}/google-cloud-contact-center-insights/src/test/java/com/google/cloud/contactcenterinsights/v1/MockContactCenterInsightsImpl.java (100%) create mode 100644 java-contact-center-insights/grpc-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ContactCenterInsightsGrpc.java rename {owl-bot-staging/java-contact-center-insights/v1 => java-contact-center-insights}/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/Analysis.java (65%) rename {owl-bot-staging/java-contact-center-insights/v1 => java-contact-center-insights}/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/AnalysisName.java (100%) rename {owl-bot-staging/java-contact-center-insights/v1 => java-contact-center-insights}/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/AnalysisOrBuilder.java (72%) rename {owl-bot-staging/java-contact-center-insights/v1 => java-contact-center-insights}/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/AnalysisResult.java (59%) rename {owl-bot-staging/java-contact-center-insights/v1 => java-contact-center-insights}/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/AnalysisResultOrBuilder.java (56%) rename {owl-bot-staging/java-contact-center-insights/v1 => java-contact-center-insights}/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/AnnotationBoundary.java (67%) rename {owl-bot-staging/java-contact-center-insights/v1 => java-contact-center-insights}/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/AnnotationBoundaryOrBuilder.java (61%) rename {owl-bot-staging/java-contact-center-insights/v1 => java-contact-center-insights}/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/AnnotatorSelector.java (78%) rename {owl-bot-staging/java-contact-center-insights/v1 => java-contact-center-insights}/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/AnnotatorSelectorOrBuilder.java (85%) rename {owl-bot-staging/java-contact-center-insights/v1 => java-contact-center-insights}/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/AnswerFeedback.java (66%) rename {owl-bot-staging/java-contact-center-insights/v1 => java-contact-center-insights}/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/AnswerFeedbackOrBuilder.java (54%) rename {owl-bot-staging/java-contact-center-insights/v1 => java-contact-center-insights}/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ArticleSuggestionData.java (66%) rename {owl-bot-staging/java-contact-center-insights/v1 => java-contact-center-insights}/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ArticleSuggestionDataOrBuilder.java (70%) rename {owl-bot-staging/java-contact-center-insights/v1 => java-contact-center-insights}/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/BulkAnalyzeConversationsMetadata.java (64%) rename {owl-bot-staging/java-contact-center-insights/v1 => java-contact-center-insights}/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/BulkAnalyzeConversationsMetadataOrBuilder.java (75%) rename {owl-bot-staging/java-contact-center-insights/v1 => java-contact-center-insights}/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/BulkAnalyzeConversationsRequest.java (64%) rename {owl-bot-staging/java-contact-center-insights/v1 => java-contact-center-insights}/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/BulkAnalyzeConversationsRequestOrBuilder.java (67%) rename {owl-bot-staging/java-contact-center-insights/v1 => java-contact-center-insights}/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/BulkAnalyzeConversationsResponse.java (55%) rename {owl-bot-staging/java-contact-center-insights/v1 => java-contact-center-insights}/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/BulkAnalyzeConversationsResponseOrBuilder.java (52%) rename {owl-bot-staging/java-contact-center-insights/v1 => java-contact-center-insights}/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/CalculateIssueModelStatsRequest.java (56%) create mode 100644 java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/CalculateIssueModelStatsRequestOrBuilder.java rename {owl-bot-staging/java-contact-center-insights/v1 => java-contact-center-insights}/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/CalculateIssueModelStatsResponse.java (58%) rename {owl-bot-staging/java-contact-center-insights/v1 => java-contact-center-insights}/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/CalculateIssueModelStatsResponseOrBuilder.java (65%) rename {owl-bot-staging/java-contact-center-insights/v1 => java-contact-center-insights}/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/CalculateStatsRequest.java (63%) rename {owl-bot-staging/java-contact-center-insights/v1 => java-contact-center-insights}/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/CalculateStatsRequestOrBuilder.java (51%) rename {owl-bot-staging/java-contact-center-insights/v1 => java-contact-center-insights}/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/CalculateStatsResponse.java (61%) rename {owl-bot-staging/java-contact-center-insights/v1 => java-contact-center-insights}/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/CalculateStatsResponseOrBuilder.java (67%) rename {owl-bot-staging/java-contact-center-insights/v1 => java-contact-center-insights}/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/CallAnnotation.java (70%) rename {owl-bot-staging/java-contact-center-insights/v1 => java-contact-center-insights}/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/CallAnnotationOrBuilder.java (84%) create mode 100644 java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ContactCenterInsightsProto.java rename {owl-bot-staging/java-contact-center-insights/v1 => java-contact-center-insights}/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/Conversation.java (63%) rename {owl-bot-staging/java-contact-center-insights/v1 => java-contact-center-insights}/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ConversationDataSource.java (68%) rename {owl-bot-staging/java-contact-center-insights/v1 => java-contact-center-insights}/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ConversationDataSourceOrBuilder.java (72%) rename {owl-bot-staging/java-contact-center-insights/v1 => java-contact-center-insights}/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ConversationLevelSentiment.java (63%) rename {owl-bot-staging/java-contact-center-insights/v1 => java-contact-center-insights}/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ConversationLevelSentimentOrBuilder.java (64%) rename {owl-bot-staging/java-contact-center-insights/v1 => java-contact-center-insights}/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ConversationName.java (100%) rename {owl-bot-staging/java-contact-center-insights/v1 => java-contact-center-insights}/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ConversationOrBuilder.java (70%) rename {owl-bot-staging/java-contact-center-insights/v1 => java-contact-center-insights}/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ConversationParticipant.java (67%) rename {owl-bot-staging/java-contact-center-insights/v1 => java-contact-center-insights}/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ConversationParticipantOrBuilder.java (70%) rename {owl-bot-staging/java-contact-center-insights/v1 => java-contact-center-insights}/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ConversationView.java (68%) rename {owl-bot-staging/java-contact-center-insights/v1 => java-contact-center-insights}/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/CreateAnalysisOperationMetadata.java (59%) rename {owl-bot-staging/java-contact-center-insights/v1 => java-contact-center-insights}/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/CreateAnalysisOperationMetadataOrBuilder.java (58%) rename {owl-bot-staging/java-contact-center-insights/v1 => java-contact-center-insights}/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/CreateAnalysisRequest.java (58%) create mode 100644 java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/CreateAnalysisRequestOrBuilder.java rename {owl-bot-staging/java-contact-center-insights/v1 => java-contact-center-insights}/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/CreateConversationRequest.java (62%) rename {owl-bot-staging/java-contact-center-insights/v1 => java-contact-center-insights}/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/CreateConversationRequestOrBuilder.java (57%) rename {owl-bot-staging/java-contact-center-insights/v1 => java-contact-center-insights}/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/CreateIssueModelMetadata.java (63%) rename {owl-bot-staging/java-contact-center-insights/v1 => java-contact-center-insights}/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/CreateIssueModelMetadataOrBuilder.java (70%) rename {owl-bot-staging/java-contact-center-insights/v1 => java-contact-center-insights}/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/CreateIssueModelRequest.java (58%) create mode 100644 java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/CreateIssueModelRequestOrBuilder.java rename {owl-bot-staging/java-contact-center-insights/v1 => java-contact-center-insights}/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/CreatePhraseMatcherRequest.java (59%) rename {owl-bot-staging/java-contact-center-insights/v1 => java-contact-center-insights}/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/CreatePhraseMatcherRequestOrBuilder.java (52%) rename {owl-bot-staging/java-contact-center-insights/v1 => java-contact-center-insights}/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/CreateViewRequest.java (62%) rename {owl-bot-staging/java-contact-center-insights/v1 => java-contact-center-insights}/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/CreateViewRequestOrBuilder.java (51%) rename {owl-bot-staging/java-contact-center-insights/v1 => java-contact-center-insights}/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/DeleteAnalysisRequest.java (60%) create mode 100644 java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/DeleteAnalysisRequestOrBuilder.java rename {owl-bot-staging/java-contact-center-insights/v1 => java-contact-center-insights}/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/DeleteConversationRequest.java (61%) create mode 100644 java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/DeleteConversationRequestOrBuilder.java rename {owl-bot-staging/java-contact-center-insights/v1 => java-contact-center-insights}/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/DeleteIssueModelMetadata.java (63%) rename {owl-bot-staging/java-contact-center-insights/v1 => java-contact-center-insights}/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/DeleteIssueModelMetadataOrBuilder.java (70%) rename {owl-bot-staging/java-contact-center-insights/v1 => java-contact-center-insights}/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/DeleteIssueModelRequest.java (59%) create mode 100644 java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/DeleteIssueModelRequestOrBuilder.java rename {owl-bot-staging/java-contact-center-insights/v1 => java-contact-center-insights}/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/DeleteIssueRequest.java (61%) create mode 100644 java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/DeleteIssueRequestOrBuilder.java rename {owl-bot-staging/java-contact-center-insights/v1 => java-contact-center-insights}/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/DeletePhraseMatcherRequest.java (58%) create mode 100644 java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/DeletePhraseMatcherRequestOrBuilder.java rename {owl-bot-staging/java-contact-center-insights/v1 => java-contact-center-insights}/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/DeleteViewRequest.java (62%) create mode 100644 java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/DeleteViewRequestOrBuilder.java rename {owl-bot-staging/java-contact-center-insights/v1 => java-contact-center-insights}/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/DeployIssueModelMetadata.java (63%) rename {owl-bot-staging/java-contact-center-insights/v1 => java-contact-center-insights}/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/DeployIssueModelMetadataOrBuilder.java (70%) rename {owl-bot-staging/java-contact-center-insights/v1 => java-contact-center-insights}/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/DeployIssueModelRequest.java (59%) create mode 100644 java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/DeployIssueModelRequestOrBuilder.java rename {owl-bot-staging/java-contact-center-insights/v1 => java-contact-center-insights}/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/DeployIssueModelResponse.java (58%) create mode 100644 java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/DeployIssueModelResponseOrBuilder.java rename {owl-bot-staging/java-contact-center-insights/v1 => java-contact-center-insights}/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/DialogflowIntent.java (66%) create mode 100644 java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/DialogflowIntentOrBuilder.java rename {owl-bot-staging/java-contact-center-insights/v1 => java-contact-center-insights}/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/DialogflowInteractionData.java (64%) rename {owl-bot-staging/java-contact-center-insights/v1 => java-contact-center-insights}/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/DialogflowInteractionDataOrBuilder.java (58%) rename {owl-bot-staging/java-contact-center-insights/v1 => java-contact-center-insights}/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/DialogflowSource.java (70%) rename {owl-bot-staging/java-contact-center-insights/v1 => java-contact-center-insights}/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/DialogflowSourceOrBuilder.java (65%) rename {owl-bot-staging/java-contact-center-insights/v1 => java-contact-center-insights}/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/Entity.java (70%) rename {owl-bot-staging/java-contact-center-insights/v1 => java-contact-center-insights}/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/EntityMentionData.java (69%) rename {owl-bot-staging/java-contact-center-insights/v1 => java-contact-center-insights}/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/EntityMentionDataOrBuilder.java (73%) rename {owl-bot-staging/java-contact-center-insights/v1 => java-contact-center-insights}/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/EntityOrBuilder.java (78%) rename {owl-bot-staging/java-contact-center-insights/v1 => java-contact-center-insights}/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ExactMatchConfig.java (65%) create mode 100644 java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ExactMatchConfigOrBuilder.java rename {owl-bot-staging/java-contact-center-insights/v1 => java-contact-center-insights}/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ExportInsightsDataMetadata.java (68%) rename {owl-bot-staging/java-contact-center-insights/v1 => java-contact-center-insights}/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ExportInsightsDataMetadataOrBuilder.java (72%) rename {owl-bot-staging/java-contact-center-insights/v1 => java-contact-center-insights}/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ExportInsightsDataRequest.java (63%) rename {owl-bot-staging/java-contact-center-insights/v1 => java-contact-center-insights}/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ExportInsightsDataRequestOrBuilder.java (55%) rename {owl-bot-staging/java-contact-center-insights/v1 => java-contact-center-insights}/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ExportInsightsDataResponse.java (58%) create mode 100644 java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ExportInsightsDataResponseOrBuilder.java rename {owl-bot-staging/java-contact-center-insights/v1 => java-contact-center-insights}/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/FaqAnswerData.java (67%) rename {owl-bot-staging/java-contact-center-insights/v1 => java-contact-center-insights}/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/FaqAnswerDataOrBuilder.java (71%) rename {owl-bot-staging/java-contact-center-insights/v1 => java-contact-center-insights}/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/GcsSource.java (69%) rename {owl-bot-staging/java-contact-center-insights/v1 => java-contact-center-insights}/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/GcsSourceOrBuilder.java (62%) rename {owl-bot-staging/java-contact-center-insights/v1 => java-contact-center-insights}/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/GetAnalysisRequest.java (61%) create mode 100644 java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/GetAnalysisRequestOrBuilder.java rename {owl-bot-staging/java-contact-center-insights/v1 => java-contact-center-insights}/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/GetConversationRequest.java (62%) rename {owl-bot-staging/java-contact-center-insights/v1 => java-contact-center-insights}/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/GetConversationRequestOrBuilder.java (53%) rename {owl-bot-staging/java-contact-center-insights/v1 => java-contact-center-insights}/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/GetIssueModelRequest.java (60%) create mode 100644 java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/GetIssueModelRequestOrBuilder.java rename {owl-bot-staging/java-contact-center-insights/v1 => java-contact-center-insights}/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/GetIssueRequest.java (62%) create mode 100644 java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/GetIssueRequestOrBuilder.java rename {owl-bot-staging/java-contact-center-insights/v1 => java-contact-center-insights}/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/GetPhraseMatcherRequest.java (59%) create mode 100644 java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/GetPhraseMatcherRequestOrBuilder.java rename {owl-bot-staging/java-contact-center-insights/v1 => java-contact-center-insights}/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/GetSettingsRequest.java (61%) create mode 100644 java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/GetSettingsRequestOrBuilder.java rename {owl-bot-staging/java-contact-center-insights/v1 => java-contact-center-insights}/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/GetViewRequest.java (62%) create mode 100644 java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/GetViewRequestOrBuilder.java rename {owl-bot-staging/java-contact-center-insights/v1 => java-contact-center-insights}/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/HoldData.java (63%) create mode 100644 java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/HoldDataOrBuilder.java rename {owl-bot-staging/java-contact-center-insights/v1 => java-contact-center-insights}/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/IngestConversationsMetadata.java (60%) rename {owl-bot-staging/java-contact-center-insights/v1 => java-contact-center-insights}/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/IngestConversationsMetadataOrBuilder.java (53%) rename {owl-bot-staging/java-contact-center-insights/v1 => java-contact-center-insights}/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/IngestConversationsRequest.java (54%) create mode 100644 java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/IngestConversationsRequestOrBuilder.java rename {owl-bot-staging/java-contact-center-insights/v1 => java-contact-center-insights}/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/IngestConversationsResponse.java (58%) create mode 100644 java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/IngestConversationsResponseOrBuilder.java rename {owl-bot-staging/java-contact-center-insights/v1 => java-contact-center-insights}/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/Intent.java (67%) rename {owl-bot-staging/java-contact-center-insights/v1 => java-contact-center-insights}/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/IntentMatchData.java (67%) rename {owl-bot-staging/java-contact-center-insights/v1 => java-contact-center-insights}/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/IntentMatchDataOrBuilder.java (52%) rename {owl-bot-staging/java-contact-center-insights/v1 => java-contact-center-insights}/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/IntentOrBuilder.java (55%) rename {owl-bot-staging/java-contact-center-insights/v1 => java-contact-center-insights}/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/InterruptionData.java (63%) create mode 100644 java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/InterruptionDataOrBuilder.java rename {owl-bot-staging/java-contact-center-insights/v1 => java-contact-center-insights}/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/Issue.java (68%) rename {owl-bot-staging/java-contact-center-insights/v1 => java-contact-center-insights}/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/IssueAssignment.java (69%) rename {owl-bot-staging/java-contact-center-insights/v1 => java-contact-center-insights}/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/IssueAssignmentOrBuilder.java (63%) rename {owl-bot-staging/java-contact-center-insights/v1 => java-contact-center-insights}/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/IssueMatchData.java (66%) rename {owl-bot-staging/java-contact-center-insights/v1 => java-contact-center-insights}/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/IssueMatchDataOrBuilder.java (63%) rename {owl-bot-staging/java-contact-center-insights/v1 => java-contact-center-insights}/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/IssueModel.java (64%) rename {owl-bot-staging/java-contact-center-insights/v1 => java-contact-center-insights}/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/IssueModelLabelStats.java (59%) create mode 100644 java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/IssueModelLabelStatsOrBuilder.java rename {owl-bot-staging/java-contact-center-insights/v1 => java-contact-center-insights}/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/IssueModelName.java (100%) rename {owl-bot-staging/java-contact-center-insights/v1 => java-contact-center-insights}/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/IssueModelOrBuilder.java (66%) rename {owl-bot-staging/java-contact-center-insights/v1 => java-contact-center-insights}/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/IssueModelResult.java (72%) rename {owl-bot-staging/java-contact-center-insights/v1 => java-contact-center-insights}/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/IssueModelResultOrBuilder.java (70%) rename {owl-bot-staging/java-contact-center-insights/v1 => java-contact-center-insights}/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/IssueName.java (100%) rename {owl-bot-staging/java-contact-center-insights/v1 => java-contact-center-insights}/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/IssueOrBuilder.java (72%) rename {owl-bot-staging/java-contact-center-insights/v1 => java-contact-center-insights}/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ListAnalysesRequest.java (68%) rename {owl-bot-staging/java-contact-center-insights/v1 => java-contact-center-insights}/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ListAnalysesRequestOrBuilder.java (64%) rename {owl-bot-staging/java-contact-center-insights/v1 => java-contact-center-insights}/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ListAnalysesResponse.java (71%) rename {owl-bot-staging/java-contact-center-insights/v1 => java-contact-center-insights}/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ListAnalysesResponseOrBuilder.java (70%) rename {owl-bot-staging/java-contact-center-insights/v1 => java-contact-center-insights}/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ListConversationsRequest.java (67%) rename {owl-bot-staging/java-contact-center-insights/v1 => java-contact-center-insights}/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ListConversationsRequestOrBuilder.java (69%) rename {owl-bot-staging/java-contact-center-insights/v1 => java-contact-center-insights}/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ListConversationsResponse.java (70%) rename {owl-bot-staging/java-contact-center-insights/v1 => java-contact-center-insights}/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ListConversationsResponseOrBuilder.java (73%) rename {owl-bot-staging/java-contact-center-insights/v1 => java-contact-center-insights}/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ListIssueModelsRequest.java (60%) create mode 100644 java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ListIssueModelsRequestOrBuilder.java rename {owl-bot-staging/java-contact-center-insights/v1 => java-contact-center-insights}/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ListIssueModelsResponse.java (69%) rename {owl-bot-staging/java-contact-center-insights/v1 => java-contact-center-insights}/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ListIssueModelsResponseOrBuilder.java (66%) rename {owl-bot-staging/java-contact-center-insights/v1 => java-contact-center-insights}/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ListIssuesRequest.java (62%) create mode 100644 java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ListIssuesRequestOrBuilder.java rename {owl-bot-staging/java-contact-center-insights/v1 => java-contact-center-insights}/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ListIssuesResponse.java (69%) rename {owl-bot-staging/java-contact-center-insights/v1 => java-contact-center-insights}/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ListIssuesResponseOrBuilder.java (65%) rename {owl-bot-staging/java-contact-center-insights/v1 => java-contact-center-insights}/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ListPhraseMatchersRequest.java (67%) rename {owl-bot-staging/java-contact-center-insights/v1 => java-contact-center-insights}/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ListPhraseMatchersRequestOrBuilder.java (65%) rename {owl-bot-staging/java-contact-center-insights/v1 => java-contact-center-insights}/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ListPhraseMatchersResponse.java (67%) rename {owl-bot-staging/java-contact-center-insights/v1 => java-contact-center-insights}/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ListPhraseMatchersResponseOrBuilder.java (72%) rename {owl-bot-staging/java-contact-center-insights/v1 => java-contact-center-insights}/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ListViewsRequest.java (68%) rename {owl-bot-staging/java-contact-center-insights/v1 => java-contact-center-insights}/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ListViewsRequestOrBuilder.java (60%) rename {owl-bot-staging/java-contact-center-insights/v1 => java-contact-center-insights}/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ListViewsResponse.java (71%) rename {owl-bot-staging/java-contact-center-insights/v1 => java-contact-center-insights}/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ListViewsResponseOrBuilder.java (70%) rename {owl-bot-staging/java-contact-center-insights/v1 => java-contact-center-insights}/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/LocationName.java (100%) rename {owl-bot-staging/java-contact-center-insights/v1 => java-contact-center-insights}/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/PhraseMatchData.java (68%) rename {owl-bot-staging/java-contact-center-insights/v1 => java-contact-center-insights}/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/PhraseMatchDataOrBuilder.java (57%) rename {owl-bot-staging/java-contact-center-insights/v1 => java-contact-center-insights}/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/PhraseMatchRule.java (69%) rename {owl-bot-staging/java-contact-center-insights/v1 => java-contact-center-insights}/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/PhraseMatchRuleConfig.java (65%) rename {owl-bot-staging/java-contact-center-insights/v1 => java-contact-center-insights}/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/PhraseMatchRuleConfigOrBuilder.java (63%) rename {owl-bot-staging/java-contact-center-insights/v1 => java-contact-center-insights}/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/PhraseMatchRuleGroup.java (64%) rename {owl-bot-staging/java-contact-center-insights/v1 => java-contact-center-insights}/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/PhraseMatchRuleGroupOrBuilder.java (60%) rename {owl-bot-staging/java-contact-center-insights/v1 => java-contact-center-insights}/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/PhraseMatchRuleOrBuilder.java (71%) rename {owl-bot-staging/java-contact-center-insights/v1 => java-contact-center-insights}/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/PhraseMatcher.java (65%) rename {owl-bot-staging/java-contact-center-insights/v1 => java-contact-center-insights}/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/PhraseMatcherName.java (100%) rename {owl-bot-staging/java-contact-center-insights/v1 => java-contact-center-insights}/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/PhraseMatcherOrBuilder.java (65%) create mode 100644 java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ResourcesProto.java rename {owl-bot-staging/java-contact-center-insights/v1 => java-contact-center-insights}/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/RuntimeAnnotation.java (67%) rename {owl-bot-staging/java-contact-center-insights/v1 => java-contact-center-insights}/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/RuntimeAnnotationOrBuilder.java (78%) rename {owl-bot-staging/java-contact-center-insights/v1 => java-contact-center-insights}/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/SentimentData.java (67%) rename {owl-bot-staging/java-contact-center-insights/v1 => java-contact-center-insights}/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/SentimentDataOrBuilder.java (53%) rename {owl-bot-staging/java-contact-center-insights/v1 => java-contact-center-insights}/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/Settings.java (70%) rename {owl-bot-staging/java-contact-center-insights/v1 => java-contact-center-insights}/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/SettingsName.java (100%) rename {owl-bot-staging/java-contact-center-insights/v1 => java-contact-center-insights}/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/SettingsOrBuilder.java (82%) rename {owl-bot-staging/java-contact-center-insights/v1 => java-contact-center-insights}/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/SilenceData.java (62%) create mode 100644 java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/SilenceDataOrBuilder.java rename {owl-bot-staging/java-contact-center-insights/v1 => java-contact-center-insights}/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/SmartComposeSuggestionData.java (63%) rename {owl-bot-staging/java-contact-center-insights/v1 => java-contact-center-insights}/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/SmartComposeSuggestionDataOrBuilder.java (68%) rename {owl-bot-staging/java-contact-center-insights/v1 => java-contact-center-insights}/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/SmartReplyData.java (65%) rename {owl-bot-staging/java-contact-center-insights/v1 => java-contact-center-insights}/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/SmartReplyDataOrBuilder.java (67%) rename {owl-bot-staging/java-contact-center-insights/v1 => java-contact-center-insights}/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/UndeployIssueModelMetadata.java (63%) rename {owl-bot-staging/java-contact-center-insights/v1 => java-contact-center-insights}/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/UndeployIssueModelMetadataOrBuilder.java (69%) rename {owl-bot-staging/java-contact-center-insights/v1 => java-contact-center-insights}/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/UndeployIssueModelRequest.java (58%) create mode 100644 java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/UndeployIssueModelRequestOrBuilder.java rename {owl-bot-staging/java-contact-center-insights/v1 => java-contact-center-insights}/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/UndeployIssueModelResponse.java (58%) create mode 100644 java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/UndeployIssueModelResponseOrBuilder.java rename {owl-bot-staging/java-contact-center-insights/v1 => java-contact-center-insights}/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/UpdateConversationRequest.java (61%) rename {owl-bot-staging/java-contact-center-insights/v1 => java-contact-center-insights}/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/UpdateConversationRequestOrBuilder.java (57%) rename {owl-bot-staging/java-contact-center-insights/v1 => java-contact-center-insights}/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/UpdateIssueModelRequest.java (61%) rename {owl-bot-staging/java-contact-center-insights/v1 => java-contact-center-insights}/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/UpdateIssueModelRequestOrBuilder.java (57%) rename {owl-bot-staging/java-contact-center-insights/v1 => java-contact-center-insights}/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/UpdateIssueRequest.java (63%) rename {owl-bot-staging/java-contact-center-insights/v1 => java-contact-center-insights}/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/UpdateIssueRequestOrBuilder.java (57%) rename {owl-bot-staging/java-contact-center-insights/v1 => java-contact-center-insights}/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/UpdatePhraseMatcherRequest.java (60%) rename {owl-bot-staging/java-contact-center-insights/v1 => java-contact-center-insights}/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/UpdatePhraseMatcherRequestOrBuilder.java (57%) rename {owl-bot-staging/java-contact-center-insights/v1 => java-contact-center-insights}/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/UpdateSettingsRequest.java (60%) rename {owl-bot-staging/java-contact-center-insights/v1 => java-contact-center-insights}/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/UpdateSettingsRequestOrBuilder.java (54%) rename {owl-bot-staging/java-contact-center-insights/v1 => java-contact-center-insights}/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/UpdateViewRequest.java (63%) rename {owl-bot-staging/java-contact-center-insights/v1 => java-contact-center-insights}/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/UpdateViewRequestOrBuilder.java (56%) rename {owl-bot-staging/java-contact-center-insights/v1 => java-contact-center-insights}/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/View.java (67%) rename {owl-bot-staging/java-contact-center-insights/v1 => java-contact-center-insights}/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ViewName.java (100%) rename {owl-bot-staging/java-contact-center-insights/v1 => java-contact-center-insights}/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ViewOrBuilder.java (70%) rename {owl-bot-staging/java-contact-center-insights/v1 => java-contact-center-insights}/proto-google-cloud-contact-center-insights-v1/src/main/proto/google/cloud/contactcenterinsights/v1/contact_center_insights.proto (100%) rename {owl-bot-staging/java-contact-center-insights/v1 => java-contact-center-insights}/proto-google-cloud-contact-center-insights-v1/src/main/proto/google/cloud/contactcenterinsights/v1/resources.proto (100%) rename {owl-bot-staging/java-contact-center-insights/v1 => java-contact-center-insights}/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/bulkanalyzeconversations/AsyncBulkAnalyzeConversations.java (100%) rename {owl-bot-staging/java-contact-center-insights/v1 => java-contact-center-insights}/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/bulkanalyzeconversations/AsyncBulkAnalyzeConversationsLRO.java (100%) rename {owl-bot-staging/java-contact-center-insights/v1 => java-contact-center-insights}/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/bulkanalyzeconversations/SyncBulkAnalyzeConversations.java (100%) rename {owl-bot-staging/java-contact-center-insights/v1 => java-contact-center-insights}/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/bulkanalyzeconversations/SyncBulkAnalyzeConversationsLocationnameStringFloat.java (100%) rename {owl-bot-staging/java-contact-center-insights/v1 => java-contact-center-insights}/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/bulkanalyzeconversations/SyncBulkAnalyzeConversationsStringStringFloat.java (100%) rename {owl-bot-staging/java-contact-center-insights/v1 => java-contact-center-insights}/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/calculateissuemodelstats/AsyncCalculateIssueModelStats.java (100%) rename {owl-bot-staging/java-contact-center-insights/v1 => java-contact-center-insights}/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/calculateissuemodelstats/SyncCalculateIssueModelStats.java (100%) rename {owl-bot-staging/java-contact-center-insights/v1 => java-contact-center-insights}/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/calculateissuemodelstats/SyncCalculateIssueModelStatsIssuemodelname.java (100%) rename {owl-bot-staging/java-contact-center-insights/v1 => java-contact-center-insights}/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/calculateissuemodelstats/SyncCalculateIssueModelStatsString.java (100%) rename {owl-bot-staging/java-contact-center-insights/v1 => java-contact-center-insights}/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/calculatestats/AsyncCalculateStats.java (100%) rename {owl-bot-staging/java-contact-center-insights/v1 => java-contact-center-insights}/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/calculatestats/SyncCalculateStats.java (100%) rename {owl-bot-staging/java-contact-center-insights/v1 => java-contact-center-insights}/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/calculatestats/SyncCalculateStatsLocationname.java (100%) rename {owl-bot-staging/java-contact-center-insights/v1 => java-contact-center-insights}/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/calculatestats/SyncCalculateStatsString.java (100%) rename {owl-bot-staging/java-contact-center-insights/v1 => java-contact-center-insights}/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/create/SyncCreateSetCredentialsProvider.java (100%) rename {owl-bot-staging/java-contact-center-insights/v1 => java-contact-center-insights}/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/create/SyncCreateSetCredentialsProvider1.java (100%) rename {owl-bot-staging/java-contact-center-insights/v1 => java-contact-center-insights}/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/create/SyncCreateSetEndpoint.java (100%) rename {owl-bot-staging/java-contact-center-insights/v1 => java-contact-center-insights}/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/createanalysis/AsyncCreateAnalysis.java (100%) rename {owl-bot-staging/java-contact-center-insights/v1 => java-contact-center-insights}/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/createanalysis/AsyncCreateAnalysisLRO.java (100%) rename {owl-bot-staging/java-contact-center-insights/v1 => java-contact-center-insights}/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/createanalysis/SyncCreateAnalysis.java (100%) rename {owl-bot-staging/java-contact-center-insights/v1 => java-contact-center-insights}/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/createanalysis/SyncCreateAnalysisConversationnameAnalysis.java (100%) rename {owl-bot-staging/java-contact-center-insights/v1 => java-contact-center-insights}/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/createanalysis/SyncCreateAnalysisStringAnalysis.java (100%) rename {owl-bot-staging/java-contact-center-insights/v1 => java-contact-center-insights}/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/createconversation/AsyncCreateConversation.java (100%) rename {owl-bot-staging/java-contact-center-insights/v1 => java-contact-center-insights}/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/createconversation/SyncCreateConversation.java (100%) rename {owl-bot-staging/java-contact-center-insights/v1 => java-contact-center-insights}/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/createconversation/SyncCreateConversationLocationnameConversationString.java (100%) rename {owl-bot-staging/java-contact-center-insights/v1 => java-contact-center-insights}/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/createconversation/SyncCreateConversationStringConversationString.java (100%) rename {owl-bot-staging/java-contact-center-insights/v1 => java-contact-center-insights}/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/createissuemodel/AsyncCreateIssueModel.java (100%) rename {owl-bot-staging/java-contact-center-insights/v1 => java-contact-center-insights}/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/createissuemodel/AsyncCreateIssueModelLRO.java (100%) rename {owl-bot-staging/java-contact-center-insights/v1 => java-contact-center-insights}/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/createissuemodel/SyncCreateIssueModel.java (100%) rename {owl-bot-staging/java-contact-center-insights/v1 => java-contact-center-insights}/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/createissuemodel/SyncCreateIssueModelLocationnameIssuemodel.java (100%) rename {owl-bot-staging/java-contact-center-insights/v1 => java-contact-center-insights}/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/createissuemodel/SyncCreateIssueModelStringIssuemodel.java (100%) rename {owl-bot-staging/java-contact-center-insights/v1 => java-contact-center-insights}/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/createphrasematcher/AsyncCreatePhraseMatcher.java (100%) rename {owl-bot-staging/java-contact-center-insights/v1 => java-contact-center-insights}/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/createphrasematcher/SyncCreatePhraseMatcher.java (100%) rename {owl-bot-staging/java-contact-center-insights/v1 => java-contact-center-insights}/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/createphrasematcher/SyncCreatePhraseMatcherLocationnamePhrasematcher.java (100%) rename {owl-bot-staging/java-contact-center-insights/v1 => java-contact-center-insights}/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/createphrasematcher/SyncCreatePhraseMatcherStringPhrasematcher.java (100%) rename {owl-bot-staging/java-contact-center-insights/v1 => java-contact-center-insights}/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/createview/AsyncCreateView.java (100%) rename {owl-bot-staging/java-contact-center-insights/v1 => java-contact-center-insights}/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/createview/SyncCreateView.java (100%) rename {owl-bot-staging/java-contact-center-insights/v1 => java-contact-center-insights}/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/createview/SyncCreateViewLocationnameView.java (100%) rename {owl-bot-staging/java-contact-center-insights/v1 => java-contact-center-insights}/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/createview/SyncCreateViewStringView.java (100%) rename {owl-bot-staging/java-contact-center-insights/v1 => java-contact-center-insights}/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/deleteanalysis/AsyncDeleteAnalysis.java (100%) rename {owl-bot-staging/java-contact-center-insights/v1 => java-contact-center-insights}/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/deleteanalysis/SyncDeleteAnalysis.java (100%) rename {owl-bot-staging/java-contact-center-insights/v1 => java-contact-center-insights}/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/deleteanalysis/SyncDeleteAnalysisAnalysisname.java (100%) rename {owl-bot-staging/java-contact-center-insights/v1 => java-contact-center-insights}/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/deleteanalysis/SyncDeleteAnalysisString.java (100%) rename {owl-bot-staging/java-contact-center-insights/v1 => java-contact-center-insights}/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/deleteconversation/AsyncDeleteConversation.java (100%) rename {owl-bot-staging/java-contact-center-insights/v1 => java-contact-center-insights}/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/deleteconversation/SyncDeleteConversation.java (100%) rename {owl-bot-staging/java-contact-center-insights/v1 => java-contact-center-insights}/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/deleteconversation/SyncDeleteConversationConversationname.java (100%) rename {owl-bot-staging/java-contact-center-insights/v1 => java-contact-center-insights}/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/deleteconversation/SyncDeleteConversationString.java (100%) rename {owl-bot-staging/java-contact-center-insights/v1 => java-contact-center-insights}/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/deleteissue/AsyncDeleteIssue.java (100%) rename {owl-bot-staging/java-contact-center-insights/v1 => java-contact-center-insights}/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/deleteissue/SyncDeleteIssue.java (100%) rename {owl-bot-staging/java-contact-center-insights/v1 => java-contact-center-insights}/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/deleteissue/SyncDeleteIssueIssuename.java (100%) rename {owl-bot-staging/java-contact-center-insights/v1 => java-contact-center-insights}/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/deleteissue/SyncDeleteIssueString.java (100%) rename {owl-bot-staging/java-contact-center-insights/v1 => java-contact-center-insights}/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/deleteissuemodel/AsyncDeleteIssueModel.java (100%) rename {owl-bot-staging/java-contact-center-insights/v1 => java-contact-center-insights}/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/deleteissuemodel/AsyncDeleteIssueModelLRO.java (100%) rename {owl-bot-staging/java-contact-center-insights/v1 => java-contact-center-insights}/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/deleteissuemodel/SyncDeleteIssueModel.java (100%) rename {owl-bot-staging/java-contact-center-insights/v1 => java-contact-center-insights}/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/deleteissuemodel/SyncDeleteIssueModelIssuemodelname.java (100%) rename {owl-bot-staging/java-contact-center-insights/v1 => java-contact-center-insights}/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/deleteissuemodel/SyncDeleteIssueModelString.java (100%) rename {owl-bot-staging/java-contact-center-insights/v1 => java-contact-center-insights}/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/deletephrasematcher/AsyncDeletePhraseMatcher.java (100%) rename {owl-bot-staging/java-contact-center-insights/v1 => java-contact-center-insights}/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/deletephrasematcher/SyncDeletePhraseMatcher.java (100%) rename {owl-bot-staging/java-contact-center-insights/v1 => java-contact-center-insights}/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/deletephrasematcher/SyncDeletePhraseMatcherPhrasematchername.java (100%) rename {owl-bot-staging/java-contact-center-insights/v1 => java-contact-center-insights}/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/deletephrasematcher/SyncDeletePhraseMatcherString.java (100%) rename {owl-bot-staging/java-contact-center-insights/v1 => java-contact-center-insights}/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/deleteview/AsyncDeleteView.java (100%) rename {owl-bot-staging/java-contact-center-insights/v1 => java-contact-center-insights}/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/deleteview/SyncDeleteView.java (100%) rename {owl-bot-staging/java-contact-center-insights/v1 => java-contact-center-insights}/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/deleteview/SyncDeleteViewString.java (100%) rename {owl-bot-staging/java-contact-center-insights/v1 => java-contact-center-insights}/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/deleteview/SyncDeleteViewViewname.java (100%) rename {owl-bot-staging/java-contact-center-insights/v1 => java-contact-center-insights}/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/deployissuemodel/AsyncDeployIssueModel.java (100%) rename {owl-bot-staging/java-contact-center-insights/v1 => java-contact-center-insights}/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/deployissuemodel/AsyncDeployIssueModelLRO.java (100%) rename {owl-bot-staging/java-contact-center-insights/v1 => java-contact-center-insights}/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/deployissuemodel/SyncDeployIssueModel.java (100%) rename {owl-bot-staging/java-contact-center-insights/v1 => java-contact-center-insights}/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/deployissuemodel/SyncDeployIssueModelIssuemodelname.java (100%) rename {owl-bot-staging/java-contact-center-insights/v1 => java-contact-center-insights}/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/deployissuemodel/SyncDeployIssueModelString.java (100%) rename {owl-bot-staging/java-contact-center-insights/v1 => java-contact-center-insights}/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/exportinsightsdata/AsyncExportInsightsData.java (100%) rename {owl-bot-staging/java-contact-center-insights/v1 => java-contact-center-insights}/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/exportinsightsdata/AsyncExportInsightsDataLRO.java (100%) rename {owl-bot-staging/java-contact-center-insights/v1 => java-contact-center-insights}/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/exportinsightsdata/SyncExportInsightsData.java (100%) rename {owl-bot-staging/java-contact-center-insights/v1 => java-contact-center-insights}/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/exportinsightsdata/SyncExportInsightsDataLocationname.java (100%) rename {owl-bot-staging/java-contact-center-insights/v1 => java-contact-center-insights}/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/exportinsightsdata/SyncExportInsightsDataString.java (100%) rename {owl-bot-staging/java-contact-center-insights/v1 => java-contact-center-insights}/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/getanalysis/AsyncGetAnalysis.java (100%) rename {owl-bot-staging/java-contact-center-insights/v1 => java-contact-center-insights}/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/getanalysis/SyncGetAnalysis.java (100%) rename {owl-bot-staging/java-contact-center-insights/v1 => java-contact-center-insights}/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/getanalysis/SyncGetAnalysisAnalysisname.java (100%) rename {owl-bot-staging/java-contact-center-insights/v1 => java-contact-center-insights}/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/getanalysis/SyncGetAnalysisString.java (100%) rename {owl-bot-staging/java-contact-center-insights/v1 => java-contact-center-insights}/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/getconversation/AsyncGetConversation.java (100%) rename {owl-bot-staging/java-contact-center-insights/v1 => java-contact-center-insights}/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/getconversation/SyncGetConversation.java (100%) rename {owl-bot-staging/java-contact-center-insights/v1 => java-contact-center-insights}/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/getconversation/SyncGetConversationConversationname.java (100%) rename {owl-bot-staging/java-contact-center-insights/v1 => java-contact-center-insights}/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/getconversation/SyncGetConversationString.java (100%) rename {owl-bot-staging/java-contact-center-insights/v1 => java-contact-center-insights}/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/getissue/AsyncGetIssue.java (100%) rename {owl-bot-staging/java-contact-center-insights/v1 => java-contact-center-insights}/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/getissue/SyncGetIssue.java (100%) rename {owl-bot-staging/java-contact-center-insights/v1 => java-contact-center-insights}/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/getissue/SyncGetIssueIssuename.java (100%) rename {owl-bot-staging/java-contact-center-insights/v1 => java-contact-center-insights}/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/getissue/SyncGetIssueString.java (100%) rename {owl-bot-staging/java-contact-center-insights/v1 => java-contact-center-insights}/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/getissuemodel/AsyncGetIssueModel.java (100%) rename {owl-bot-staging/java-contact-center-insights/v1 => java-contact-center-insights}/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/getissuemodel/SyncGetIssueModel.java (100%) rename {owl-bot-staging/java-contact-center-insights/v1 => java-contact-center-insights}/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/getissuemodel/SyncGetIssueModelIssuemodelname.java (100%) rename {owl-bot-staging/java-contact-center-insights/v1 => java-contact-center-insights}/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/getissuemodel/SyncGetIssueModelString.java (100%) rename {owl-bot-staging/java-contact-center-insights/v1 => java-contact-center-insights}/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/getphrasematcher/AsyncGetPhraseMatcher.java (100%) rename {owl-bot-staging/java-contact-center-insights/v1 => java-contact-center-insights}/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/getphrasematcher/SyncGetPhraseMatcher.java (100%) rename {owl-bot-staging/java-contact-center-insights/v1 => java-contact-center-insights}/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/getphrasematcher/SyncGetPhraseMatcherPhrasematchername.java (100%) rename {owl-bot-staging/java-contact-center-insights/v1 => java-contact-center-insights}/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/getphrasematcher/SyncGetPhraseMatcherString.java (100%) rename {owl-bot-staging/java-contact-center-insights/v1 => java-contact-center-insights}/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/getsettings/AsyncGetSettings.java (100%) rename {owl-bot-staging/java-contact-center-insights/v1 => java-contact-center-insights}/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/getsettings/SyncGetSettings.java (100%) rename {owl-bot-staging/java-contact-center-insights/v1 => java-contact-center-insights}/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/getsettings/SyncGetSettingsSettingsname.java (100%) rename {owl-bot-staging/java-contact-center-insights/v1 => java-contact-center-insights}/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/getsettings/SyncGetSettingsString.java (100%) rename {owl-bot-staging/java-contact-center-insights/v1 => java-contact-center-insights}/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/getview/AsyncGetView.java (100%) rename {owl-bot-staging/java-contact-center-insights/v1 => java-contact-center-insights}/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/getview/SyncGetView.java (100%) rename {owl-bot-staging/java-contact-center-insights/v1 => java-contact-center-insights}/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/getview/SyncGetViewString.java (100%) rename {owl-bot-staging/java-contact-center-insights/v1 => java-contact-center-insights}/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/getview/SyncGetViewViewname.java (100%) rename {owl-bot-staging/java-contact-center-insights/v1 => java-contact-center-insights}/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/ingestconversations/AsyncIngestConversations.java (100%) rename {owl-bot-staging/java-contact-center-insights/v1 => java-contact-center-insights}/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/ingestconversations/AsyncIngestConversationsLRO.java (100%) rename {owl-bot-staging/java-contact-center-insights/v1 => java-contact-center-insights}/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/ingestconversations/SyncIngestConversations.java (100%) rename {owl-bot-staging/java-contact-center-insights/v1 => java-contact-center-insights}/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/ingestconversations/SyncIngestConversationsLocationname.java (100%) rename {owl-bot-staging/java-contact-center-insights/v1 => java-contact-center-insights}/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/ingestconversations/SyncIngestConversationsString.java (100%) rename {owl-bot-staging/java-contact-center-insights/v1 => java-contact-center-insights}/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/listanalyses/AsyncListAnalyses.java (100%) rename {owl-bot-staging/java-contact-center-insights/v1 => java-contact-center-insights}/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/listanalyses/AsyncListAnalysesPaged.java (100%) rename {owl-bot-staging/java-contact-center-insights/v1 => java-contact-center-insights}/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/listanalyses/SyncListAnalyses.java (100%) rename {owl-bot-staging/java-contact-center-insights/v1 => java-contact-center-insights}/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/listanalyses/SyncListAnalysesConversationname.java (100%) rename {owl-bot-staging/java-contact-center-insights/v1 => java-contact-center-insights}/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/listanalyses/SyncListAnalysesString.java (100%) rename {owl-bot-staging/java-contact-center-insights/v1 => java-contact-center-insights}/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/listconversations/AsyncListConversations.java (100%) rename {owl-bot-staging/java-contact-center-insights/v1 => java-contact-center-insights}/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/listconversations/AsyncListConversationsPaged.java (100%) rename {owl-bot-staging/java-contact-center-insights/v1 => java-contact-center-insights}/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/listconversations/SyncListConversations.java (100%) rename {owl-bot-staging/java-contact-center-insights/v1 => java-contact-center-insights}/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/listconversations/SyncListConversationsLocationname.java (100%) rename {owl-bot-staging/java-contact-center-insights/v1 => java-contact-center-insights}/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/listconversations/SyncListConversationsString.java (100%) rename {owl-bot-staging/java-contact-center-insights/v1 => java-contact-center-insights}/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/listissuemodels/AsyncListIssueModels.java (100%) rename {owl-bot-staging/java-contact-center-insights/v1 => java-contact-center-insights}/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/listissuemodels/SyncListIssueModels.java (100%) rename {owl-bot-staging/java-contact-center-insights/v1 => java-contact-center-insights}/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/listissuemodels/SyncListIssueModelsLocationname.java (100%) rename {owl-bot-staging/java-contact-center-insights/v1 => java-contact-center-insights}/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/listissuemodels/SyncListIssueModelsString.java (100%) rename {owl-bot-staging/java-contact-center-insights/v1 => java-contact-center-insights}/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/listissues/AsyncListIssues.java (100%) rename {owl-bot-staging/java-contact-center-insights/v1 => java-contact-center-insights}/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/listissues/SyncListIssues.java (100%) rename {owl-bot-staging/java-contact-center-insights/v1 => java-contact-center-insights}/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/listissues/SyncListIssuesIssuemodelname.java (100%) rename {owl-bot-staging/java-contact-center-insights/v1 => java-contact-center-insights}/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/listissues/SyncListIssuesString.java (100%) rename {owl-bot-staging/java-contact-center-insights/v1 => java-contact-center-insights}/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/listphrasematchers/AsyncListPhraseMatchers.java (100%) rename {owl-bot-staging/java-contact-center-insights/v1 => java-contact-center-insights}/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/listphrasematchers/AsyncListPhraseMatchersPaged.java (100%) rename {owl-bot-staging/java-contact-center-insights/v1 => java-contact-center-insights}/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/listphrasematchers/SyncListPhraseMatchers.java (100%) rename {owl-bot-staging/java-contact-center-insights/v1 => java-contact-center-insights}/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/listphrasematchers/SyncListPhraseMatchersLocationname.java (100%) rename {owl-bot-staging/java-contact-center-insights/v1 => java-contact-center-insights}/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/listphrasematchers/SyncListPhraseMatchersString.java (100%) rename {owl-bot-staging/java-contact-center-insights/v1 => java-contact-center-insights}/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/listviews/AsyncListViews.java (100%) rename {owl-bot-staging/java-contact-center-insights/v1 => java-contact-center-insights}/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/listviews/AsyncListViewsPaged.java (100%) rename {owl-bot-staging/java-contact-center-insights/v1 => java-contact-center-insights}/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/listviews/SyncListViews.java (100%) rename {owl-bot-staging/java-contact-center-insights/v1 => java-contact-center-insights}/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/listviews/SyncListViewsLocationname.java (100%) rename {owl-bot-staging/java-contact-center-insights/v1 => java-contact-center-insights}/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/listviews/SyncListViewsString.java (100%) rename {owl-bot-staging/java-contact-center-insights/v1 => java-contact-center-insights}/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/undeployissuemodel/AsyncUndeployIssueModel.java (100%) rename {owl-bot-staging/java-contact-center-insights/v1 => java-contact-center-insights}/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/undeployissuemodel/AsyncUndeployIssueModelLRO.java (100%) rename {owl-bot-staging/java-contact-center-insights/v1 => java-contact-center-insights}/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/undeployissuemodel/SyncUndeployIssueModel.java (100%) rename {owl-bot-staging/java-contact-center-insights/v1 => java-contact-center-insights}/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/undeployissuemodel/SyncUndeployIssueModelIssuemodelname.java (100%) rename {owl-bot-staging/java-contact-center-insights/v1 => java-contact-center-insights}/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/undeployissuemodel/SyncUndeployIssueModelString.java (100%) rename {owl-bot-staging/java-contact-center-insights/v1 => java-contact-center-insights}/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/updateconversation/AsyncUpdateConversation.java (100%) rename {owl-bot-staging/java-contact-center-insights/v1 => java-contact-center-insights}/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/updateconversation/SyncUpdateConversation.java (100%) rename {owl-bot-staging/java-contact-center-insights/v1 => java-contact-center-insights}/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/updateconversation/SyncUpdateConversationConversationFieldmask.java (100%) rename {owl-bot-staging/java-contact-center-insights/v1 => java-contact-center-insights}/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/updateissue/AsyncUpdateIssue.java (100%) rename {owl-bot-staging/java-contact-center-insights/v1 => java-contact-center-insights}/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/updateissue/SyncUpdateIssue.java (100%) rename {owl-bot-staging/java-contact-center-insights/v1 => java-contact-center-insights}/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/updateissue/SyncUpdateIssueIssueFieldmask.java (100%) rename {owl-bot-staging/java-contact-center-insights/v1 => java-contact-center-insights}/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/updateissuemodel/AsyncUpdateIssueModel.java (100%) rename {owl-bot-staging/java-contact-center-insights/v1 => java-contact-center-insights}/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/updateissuemodel/SyncUpdateIssueModel.java (100%) rename {owl-bot-staging/java-contact-center-insights/v1 => java-contact-center-insights}/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/updateissuemodel/SyncUpdateIssueModelIssuemodelFieldmask.java (100%) rename {owl-bot-staging/java-contact-center-insights/v1 => java-contact-center-insights}/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/updatephrasematcher/AsyncUpdatePhraseMatcher.java (100%) rename {owl-bot-staging/java-contact-center-insights/v1 => java-contact-center-insights}/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/updatephrasematcher/SyncUpdatePhraseMatcher.java (100%) rename {owl-bot-staging/java-contact-center-insights/v1 => java-contact-center-insights}/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/updatephrasematcher/SyncUpdatePhraseMatcherPhrasematcherFieldmask.java (100%) rename {owl-bot-staging/java-contact-center-insights/v1 => java-contact-center-insights}/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/updatesettings/AsyncUpdateSettings.java (100%) rename {owl-bot-staging/java-contact-center-insights/v1 => java-contact-center-insights}/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/updatesettings/SyncUpdateSettings.java (100%) rename {owl-bot-staging/java-contact-center-insights/v1 => java-contact-center-insights}/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/updatesettings/SyncUpdateSettingsSettingsFieldmask.java (100%) rename {owl-bot-staging/java-contact-center-insights/v1 => java-contact-center-insights}/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/updateview/AsyncUpdateView.java (100%) rename {owl-bot-staging/java-contact-center-insights/v1 => java-contact-center-insights}/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/updateview/SyncUpdateView.java (100%) rename {owl-bot-staging/java-contact-center-insights/v1 => java-contact-center-insights}/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/updateview/SyncUpdateViewViewFieldmask.java (100%) rename {owl-bot-staging/java-contact-center-insights/v1 => java-contact-center-insights}/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightssettings/createconversation/SyncCreateConversation.java (100%) rename {owl-bot-staging/java-contact-center-insights/v1 => java-contact-center-insights}/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/stub/contactcenterinsightsstubsettings/createconversation/SyncCreateConversation.java (100%) delete mode 100644 owl-bot-staging/java-contact-center-insights/v1/grpc-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ContactCenterInsightsGrpc.java delete mode 100644 owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/CalculateIssueModelStatsRequestOrBuilder.java delete mode 100644 owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ContactCenterInsightsProto.java delete mode 100644 owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/CreateAnalysisRequestOrBuilder.java delete mode 100644 owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/CreateIssueModelRequestOrBuilder.java delete mode 100644 owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/DeleteAnalysisRequestOrBuilder.java delete mode 100644 owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/DeleteConversationRequestOrBuilder.java delete mode 100644 owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/DeleteIssueModelRequestOrBuilder.java delete mode 100644 owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/DeleteIssueRequestOrBuilder.java delete mode 100644 owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/DeletePhraseMatcherRequestOrBuilder.java delete mode 100644 owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/DeleteViewRequestOrBuilder.java delete mode 100644 owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/DeployIssueModelRequestOrBuilder.java delete mode 100644 owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/DeployIssueModelResponseOrBuilder.java delete mode 100644 owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/DialogflowIntentOrBuilder.java delete mode 100644 owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ExactMatchConfigOrBuilder.java delete mode 100644 owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ExportInsightsDataResponseOrBuilder.java delete mode 100644 owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/GetAnalysisRequestOrBuilder.java delete mode 100644 owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/GetIssueModelRequestOrBuilder.java delete mode 100644 owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/GetIssueRequestOrBuilder.java delete mode 100644 owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/GetPhraseMatcherRequestOrBuilder.java delete mode 100644 owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/GetSettingsRequestOrBuilder.java delete mode 100644 owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/GetViewRequestOrBuilder.java delete mode 100644 owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/HoldDataOrBuilder.java delete mode 100644 owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/IngestConversationsRequestOrBuilder.java delete mode 100644 owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/IngestConversationsResponseOrBuilder.java delete mode 100644 owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/InterruptionDataOrBuilder.java delete mode 100644 owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/IssueModelLabelStatsOrBuilder.java delete mode 100644 owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ListIssueModelsRequestOrBuilder.java delete mode 100644 owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ListIssuesRequestOrBuilder.java delete mode 100644 owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ResourcesProto.java delete mode 100644 owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/SilenceDataOrBuilder.java delete mode 100644 owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/UndeployIssueModelRequestOrBuilder.java delete mode 100644 owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/UndeployIssueModelResponseOrBuilder.java diff --git a/java-contact-center-insights/README.md b/java-contact-center-insights/README.md index 9e96e7231dd6..0973ea9b7a56 100644 --- a/java-contact-center-insights/README.md +++ b/java-contact-center-insights/README.md @@ -19,20 +19,20 @@ If you are using Maven, add this to your pom.xml file: com.google.cloud google-cloud-contact-center-insights - 2.9.0 + 2.10.0 ``` If you are using Gradle without BOM, add this to your dependencies: ```Groovy -implementation 'com.google.cloud:google-cloud-contact-center-insights:2.9.0' +implementation 'com.google.cloud:google-cloud-contact-center-insights:2.10.0' ``` If you are using SBT, add this to your dependencies: ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-contact-center-insights" % "2.9.0" +libraryDependencies += "com.google.cloud" % "google-cloud-contact-center-insights" % "2.10.0" ``` ## Authentication diff --git a/owl-bot-staging/java-contact-center-insights/v1/google-cloud-contact-center-insights/src/main/java/com/google/cloud/contactcenterinsights/v1/ContactCenterInsightsClient.java b/java-contact-center-insights/google-cloud-contact-center-insights/src/main/java/com/google/cloud/contactcenterinsights/v1/ContactCenterInsightsClient.java similarity index 100% rename from owl-bot-staging/java-contact-center-insights/v1/google-cloud-contact-center-insights/src/main/java/com/google/cloud/contactcenterinsights/v1/ContactCenterInsightsClient.java rename to java-contact-center-insights/google-cloud-contact-center-insights/src/main/java/com/google/cloud/contactcenterinsights/v1/ContactCenterInsightsClient.java diff --git a/owl-bot-staging/java-contact-center-insights/v1/google-cloud-contact-center-insights/src/main/java/com/google/cloud/contactcenterinsights/v1/ContactCenterInsightsSettings.java b/java-contact-center-insights/google-cloud-contact-center-insights/src/main/java/com/google/cloud/contactcenterinsights/v1/ContactCenterInsightsSettings.java similarity index 99% rename from owl-bot-staging/java-contact-center-insights/v1/google-cloud-contact-center-insights/src/main/java/com/google/cloud/contactcenterinsights/v1/ContactCenterInsightsSettings.java rename to java-contact-center-insights/google-cloud-contact-center-insights/src/main/java/com/google/cloud/contactcenterinsights/v1/ContactCenterInsightsSettings.java index 91b68350f617..81a683925bc7 100644 --- a/owl-bot-staging/java-contact-center-insights/v1/google-cloud-contact-center-insights/src/main/java/com/google/cloud/contactcenterinsights/v1/ContactCenterInsightsSettings.java +++ b/java-contact-center-insights/google-cloud-contact-center-insights/src/main/java/com/google/cloud/contactcenterinsights/v1/ContactCenterInsightsSettings.java @@ -32,7 +32,6 @@ import com.google.api.gax.rpc.ClientSettings; import com.google.api.gax.rpc.OperationCallSettings; import com.google.api.gax.rpc.PagedCallSettings; -import com.google.api.gax.rpc.StubSettings; import com.google.api.gax.rpc.TransportChannelProvider; import com.google.api.gax.rpc.UnaryCallSettings; import com.google.cloud.contactcenterinsights.v1.stub.ContactCenterInsightsStubSettings; diff --git a/owl-bot-staging/java-contact-center-insights/v1/google-cloud-contact-center-insights/src/main/java/com/google/cloud/contactcenterinsights/v1/gapic_metadata.json b/java-contact-center-insights/google-cloud-contact-center-insights/src/main/java/com/google/cloud/contactcenterinsights/v1/gapic_metadata.json similarity index 100% rename from owl-bot-staging/java-contact-center-insights/v1/google-cloud-contact-center-insights/src/main/java/com/google/cloud/contactcenterinsights/v1/gapic_metadata.json rename to java-contact-center-insights/google-cloud-contact-center-insights/src/main/java/com/google/cloud/contactcenterinsights/v1/gapic_metadata.json diff --git a/owl-bot-staging/java-contact-center-insights/v1/google-cloud-contact-center-insights/src/main/java/com/google/cloud/contactcenterinsights/v1/package-info.java b/java-contact-center-insights/google-cloud-contact-center-insights/src/main/java/com/google/cloud/contactcenterinsights/v1/package-info.java similarity index 100% rename from owl-bot-staging/java-contact-center-insights/v1/google-cloud-contact-center-insights/src/main/java/com/google/cloud/contactcenterinsights/v1/package-info.java rename to java-contact-center-insights/google-cloud-contact-center-insights/src/main/java/com/google/cloud/contactcenterinsights/v1/package-info.java diff --git a/owl-bot-staging/java-contact-center-insights/v1/google-cloud-contact-center-insights/src/main/java/com/google/cloud/contactcenterinsights/v1/stub/ContactCenterInsightsStub.java b/java-contact-center-insights/google-cloud-contact-center-insights/src/main/java/com/google/cloud/contactcenterinsights/v1/stub/ContactCenterInsightsStub.java similarity index 100% rename from owl-bot-staging/java-contact-center-insights/v1/google-cloud-contact-center-insights/src/main/java/com/google/cloud/contactcenterinsights/v1/stub/ContactCenterInsightsStub.java rename to java-contact-center-insights/google-cloud-contact-center-insights/src/main/java/com/google/cloud/contactcenterinsights/v1/stub/ContactCenterInsightsStub.java diff --git a/owl-bot-staging/java-contact-center-insights/v1/google-cloud-contact-center-insights/src/main/java/com/google/cloud/contactcenterinsights/v1/stub/ContactCenterInsightsStubSettings.java b/java-contact-center-insights/google-cloud-contact-center-insights/src/main/java/com/google/cloud/contactcenterinsights/v1/stub/ContactCenterInsightsStubSettings.java similarity index 100% rename from owl-bot-staging/java-contact-center-insights/v1/google-cloud-contact-center-insights/src/main/java/com/google/cloud/contactcenterinsights/v1/stub/ContactCenterInsightsStubSettings.java rename to java-contact-center-insights/google-cloud-contact-center-insights/src/main/java/com/google/cloud/contactcenterinsights/v1/stub/ContactCenterInsightsStubSettings.java diff --git a/owl-bot-staging/java-contact-center-insights/v1/google-cloud-contact-center-insights/src/main/java/com/google/cloud/contactcenterinsights/v1/stub/GrpcContactCenterInsightsCallableFactory.java b/java-contact-center-insights/google-cloud-contact-center-insights/src/main/java/com/google/cloud/contactcenterinsights/v1/stub/GrpcContactCenterInsightsCallableFactory.java similarity index 100% rename from owl-bot-staging/java-contact-center-insights/v1/google-cloud-contact-center-insights/src/main/java/com/google/cloud/contactcenterinsights/v1/stub/GrpcContactCenterInsightsCallableFactory.java rename to java-contact-center-insights/google-cloud-contact-center-insights/src/main/java/com/google/cloud/contactcenterinsights/v1/stub/GrpcContactCenterInsightsCallableFactory.java diff --git a/owl-bot-staging/java-contact-center-insights/v1/google-cloud-contact-center-insights/src/main/java/com/google/cloud/contactcenterinsights/v1/stub/GrpcContactCenterInsightsStub.java b/java-contact-center-insights/google-cloud-contact-center-insights/src/main/java/com/google/cloud/contactcenterinsights/v1/stub/GrpcContactCenterInsightsStub.java similarity index 99% rename from owl-bot-staging/java-contact-center-insights/v1/google-cloud-contact-center-insights/src/main/java/com/google/cloud/contactcenterinsights/v1/stub/GrpcContactCenterInsightsStub.java rename to java-contact-center-insights/google-cloud-contact-center-insights/src/main/java/com/google/cloud/contactcenterinsights/v1/stub/GrpcContactCenterInsightsStub.java index e2f5a852cc3e..1717f7bcf056 100644 --- a/owl-bot-staging/java-contact-center-insights/v1/google-cloud-contact-center-insights/src/main/java/com/google/cloud/contactcenterinsights/v1/stub/GrpcContactCenterInsightsStub.java +++ b/java-contact-center-insights/google-cloud-contact-center-insights/src/main/java/com/google/cloud/contactcenterinsights/v1/stub/GrpcContactCenterInsightsStub.java @@ -100,7 +100,6 @@ import io.grpc.MethodDescriptor; import io.grpc.protobuf.ProtoUtils; import java.io.IOException; -import java.util.Map; import java.util.concurrent.TimeUnit; import javax.annotation.Generated; diff --git a/owl-bot-staging/java-contact-center-insights/v1/google-cloud-contact-center-insights/src/main/java/com/google/cloud/contactcenterinsights/v1/stub/HttpJsonContactCenterInsightsCallableFactory.java b/java-contact-center-insights/google-cloud-contact-center-insights/src/main/java/com/google/cloud/contactcenterinsights/v1/stub/HttpJsonContactCenterInsightsCallableFactory.java similarity index 100% rename from owl-bot-staging/java-contact-center-insights/v1/google-cloud-contact-center-insights/src/main/java/com/google/cloud/contactcenterinsights/v1/stub/HttpJsonContactCenterInsightsCallableFactory.java rename to java-contact-center-insights/google-cloud-contact-center-insights/src/main/java/com/google/cloud/contactcenterinsights/v1/stub/HttpJsonContactCenterInsightsCallableFactory.java diff --git a/owl-bot-staging/java-contact-center-insights/v1/google-cloud-contact-center-insights/src/main/java/com/google/cloud/contactcenterinsights/v1/stub/HttpJsonContactCenterInsightsStub.java b/java-contact-center-insights/google-cloud-contact-center-insights/src/main/java/com/google/cloud/contactcenterinsights/v1/stub/HttpJsonContactCenterInsightsStub.java similarity index 99% rename from owl-bot-staging/java-contact-center-insights/v1/google-cloud-contact-center-insights/src/main/java/com/google/cloud/contactcenterinsights/v1/stub/HttpJsonContactCenterInsightsStub.java rename to java-contact-center-insights/google-cloud-contact-center-insights/src/main/java/com/google/cloud/contactcenterinsights/v1/stub/HttpJsonContactCenterInsightsStub.java index a8b308199db2..aed97cc5b74e 100644 --- a/owl-bot-staging/java-contact-center-insights/v1/google-cloud-contact-center-insights/src/main/java/com/google/cloud/contactcenterinsights/v1/stub/HttpJsonContactCenterInsightsStub.java +++ b/java-contact-center-insights/google-cloud-contact-center-insights/src/main/java/com/google/cloud/contactcenterinsights/v1/stub/HttpJsonContactCenterInsightsStub.java @@ -33,7 +33,6 @@ import com.google.api.gax.httpjson.ProtoMessageResponseParser; import com.google.api.gax.httpjson.ProtoRestSerializer; import com.google.api.gax.httpjson.longrunning.stub.HttpJsonOperationsStub; -import com.google.api.gax.longrunning.OperationSnapshot; import com.google.api.gax.rpc.ClientContext; import com.google.api.gax.rpc.OperationCallable; import com.google.api.gax.rpc.UnaryCallable; diff --git a/owl-bot-staging/java-contact-center-insights/v1/google-cloud-contact-center-insights/src/test/java/com/google/cloud/contactcenterinsights/v1/ContactCenterInsightsClientHttpJsonTest.java b/java-contact-center-insights/google-cloud-contact-center-insights/src/test/java/com/google/cloud/contactcenterinsights/v1/ContactCenterInsightsClientHttpJsonTest.java similarity index 100% rename from owl-bot-staging/java-contact-center-insights/v1/google-cloud-contact-center-insights/src/test/java/com/google/cloud/contactcenterinsights/v1/ContactCenterInsightsClientHttpJsonTest.java rename to java-contact-center-insights/google-cloud-contact-center-insights/src/test/java/com/google/cloud/contactcenterinsights/v1/ContactCenterInsightsClientHttpJsonTest.java diff --git a/owl-bot-staging/java-contact-center-insights/v1/google-cloud-contact-center-insights/src/test/java/com/google/cloud/contactcenterinsights/v1/ContactCenterInsightsClientTest.java b/java-contact-center-insights/google-cloud-contact-center-insights/src/test/java/com/google/cloud/contactcenterinsights/v1/ContactCenterInsightsClientTest.java similarity index 100% rename from owl-bot-staging/java-contact-center-insights/v1/google-cloud-contact-center-insights/src/test/java/com/google/cloud/contactcenterinsights/v1/ContactCenterInsightsClientTest.java rename to java-contact-center-insights/google-cloud-contact-center-insights/src/test/java/com/google/cloud/contactcenterinsights/v1/ContactCenterInsightsClientTest.java diff --git a/owl-bot-staging/java-contact-center-insights/v1/google-cloud-contact-center-insights/src/test/java/com/google/cloud/contactcenterinsights/v1/MockContactCenterInsights.java b/java-contact-center-insights/google-cloud-contact-center-insights/src/test/java/com/google/cloud/contactcenterinsights/v1/MockContactCenterInsights.java similarity index 100% rename from owl-bot-staging/java-contact-center-insights/v1/google-cloud-contact-center-insights/src/test/java/com/google/cloud/contactcenterinsights/v1/MockContactCenterInsights.java rename to java-contact-center-insights/google-cloud-contact-center-insights/src/test/java/com/google/cloud/contactcenterinsights/v1/MockContactCenterInsights.java diff --git a/owl-bot-staging/java-contact-center-insights/v1/google-cloud-contact-center-insights/src/test/java/com/google/cloud/contactcenterinsights/v1/MockContactCenterInsightsImpl.java b/java-contact-center-insights/google-cloud-contact-center-insights/src/test/java/com/google/cloud/contactcenterinsights/v1/MockContactCenterInsightsImpl.java similarity index 100% rename from owl-bot-staging/java-contact-center-insights/v1/google-cloud-contact-center-insights/src/test/java/com/google/cloud/contactcenterinsights/v1/MockContactCenterInsightsImpl.java rename to java-contact-center-insights/google-cloud-contact-center-insights/src/test/java/com/google/cloud/contactcenterinsights/v1/MockContactCenterInsightsImpl.java diff --git a/java-contact-center-insights/grpc-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ContactCenterInsightsGrpc.java b/java-contact-center-insights/grpc-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ContactCenterInsightsGrpc.java new file mode 100644 index 000000000000..5d2dbc4899d6 --- /dev/null +++ b/java-contact-center-insights/grpc-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ContactCenterInsightsGrpc.java @@ -0,0 +1,4709 @@ +/* + * 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 + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "CreateConversation")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.contactcenterinsights.v1.CreateConversationRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.contactcenterinsights.v1.Conversation + .getDefaultInstance())) + .setSchemaDescriptor( + new ContactCenterInsightsMethodDescriptorSupplier("CreateConversation")) + .build(); + } + } + } + return getCreateConversationMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.cloud.contactcenterinsights.v1.UpdateConversationRequest, + com.google.cloud.contactcenterinsights.v1.Conversation> + getUpdateConversationMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "UpdateConversation", + requestType = com.google.cloud.contactcenterinsights.v1.UpdateConversationRequest.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.UpdateConversationRequest, + com.google.cloud.contactcenterinsights.v1.Conversation> + getUpdateConversationMethod() { + io.grpc.MethodDescriptor< + com.google.cloud.contactcenterinsights.v1.UpdateConversationRequest, + com.google.cloud.contactcenterinsights.v1.Conversation> + getUpdateConversationMethod; + if ((getUpdateConversationMethod = ContactCenterInsightsGrpc.getUpdateConversationMethod) + == null) { + synchronized (ContactCenterInsightsGrpc.class) { + if ((getUpdateConversationMethod = ContactCenterInsightsGrpc.getUpdateConversationMethod) + == null) { + ContactCenterInsightsGrpc.getUpdateConversationMethod = + getUpdateConversationMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "UpdateConversation")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.contactcenterinsights.v1.UpdateConversationRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.contactcenterinsights.v1.Conversation + .getDefaultInstance())) + .setSchemaDescriptor( + new ContactCenterInsightsMethodDescriptorSupplier("UpdateConversation")) + .build(); + } + } + } + return getUpdateConversationMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.cloud.contactcenterinsights.v1.GetConversationRequest, + com.google.cloud.contactcenterinsights.v1.Conversation> + getGetConversationMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "GetConversation", + requestType = com.google.cloud.contactcenterinsights.v1.GetConversationRequest.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.GetConversationRequest, + com.google.cloud.contactcenterinsights.v1.Conversation> + getGetConversationMethod() { + io.grpc.MethodDescriptor< + com.google.cloud.contactcenterinsights.v1.GetConversationRequest, + com.google.cloud.contactcenterinsights.v1.Conversation> + getGetConversationMethod; + if ((getGetConversationMethod = ContactCenterInsightsGrpc.getGetConversationMethod) == null) { + synchronized (ContactCenterInsightsGrpc.class) { + if ((getGetConversationMethod = ContactCenterInsightsGrpc.getGetConversationMethod) + == null) { + ContactCenterInsightsGrpc.getGetConversationMethod = + getGetConversationMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetConversation")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.contactcenterinsights.v1.GetConversationRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.contactcenterinsights.v1.Conversation + .getDefaultInstance())) + .setSchemaDescriptor( + new ContactCenterInsightsMethodDescriptorSupplier("GetConversation")) + .build(); + } + } + } + return getGetConversationMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.cloud.contactcenterinsights.v1.ListConversationsRequest, + com.google.cloud.contactcenterinsights.v1.ListConversationsResponse> + getListConversationsMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "ListConversations", + requestType = com.google.cloud.contactcenterinsights.v1.ListConversationsRequest.class, + responseType = com.google.cloud.contactcenterinsights.v1.ListConversationsResponse.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.cloud.contactcenterinsights.v1.ListConversationsRequest, + com.google.cloud.contactcenterinsights.v1.ListConversationsResponse> + getListConversationsMethod() { + io.grpc.MethodDescriptor< + com.google.cloud.contactcenterinsights.v1.ListConversationsRequest, + com.google.cloud.contactcenterinsights.v1.ListConversationsResponse> + getListConversationsMethod; + if ((getListConversationsMethod = ContactCenterInsightsGrpc.getListConversationsMethod) + == null) { + synchronized (ContactCenterInsightsGrpc.class) { + if ((getListConversationsMethod = ContactCenterInsightsGrpc.getListConversationsMethod) + == null) { + ContactCenterInsightsGrpc.getListConversationsMethod = + getListConversationsMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListConversations")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.contactcenterinsights.v1.ListConversationsRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.contactcenterinsights.v1.ListConversationsResponse + .getDefaultInstance())) + .setSchemaDescriptor( + new ContactCenterInsightsMethodDescriptorSupplier("ListConversations")) + .build(); + } + } + } + return getListConversationsMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.cloud.contactcenterinsights.v1.DeleteConversationRequest, + com.google.protobuf.Empty> + getDeleteConversationMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "DeleteConversation", + requestType = com.google.cloud.contactcenterinsights.v1.DeleteConversationRequest.class, + responseType = com.google.protobuf.Empty.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.cloud.contactcenterinsights.v1.DeleteConversationRequest, + com.google.protobuf.Empty> + getDeleteConversationMethod() { + io.grpc.MethodDescriptor< + com.google.cloud.contactcenterinsights.v1.DeleteConversationRequest, + com.google.protobuf.Empty> + getDeleteConversationMethod; + if ((getDeleteConversationMethod = ContactCenterInsightsGrpc.getDeleteConversationMethod) + == null) { + synchronized (ContactCenterInsightsGrpc.class) { + if ((getDeleteConversationMethod = ContactCenterInsightsGrpc.getDeleteConversationMethod) + == null) { + ContactCenterInsightsGrpc.getDeleteConversationMethod = + getDeleteConversationMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "DeleteConversation")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.contactcenterinsights.v1.DeleteConversationRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.protobuf.Empty.getDefaultInstance())) + .setSchemaDescriptor( + new ContactCenterInsightsMethodDescriptorSupplier("DeleteConversation")) + .build(); + } + } + } + return getDeleteConversationMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.cloud.contactcenterinsights.v1.CreateAnalysisRequest, + com.google.longrunning.Operation> + getCreateAnalysisMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "CreateAnalysis", + requestType = com.google.cloud.contactcenterinsights.v1.CreateAnalysisRequest.class, + responseType = com.google.longrunning.Operation.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.cloud.contactcenterinsights.v1.CreateAnalysisRequest, + com.google.longrunning.Operation> + getCreateAnalysisMethod() { + io.grpc.MethodDescriptor< + com.google.cloud.contactcenterinsights.v1.CreateAnalysisRequest, + com.google.longrunning.Operation> + getCreateAnalysisMethod; + if ((getCreateAnalysisMethod = ContactCenterInsightsGrpc.getCreateAnalysisMethod) == null) { + synchronized (ContactCenterInsightsGrpc.class) { + if ((getCreateAnalysisMethod = ContactCenterInsightsGrpc.getCreateAnalysisMethod) == null) { + ContactCenterInsightsGrpc.getCreateAnalysisMethod = + getCreateAnalysisMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "CreateAnalysis")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.contactcenterinsights.v1.CreateAnalysisRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.longrunning.Operation.getDefaultInstance())) + .setSchemaDescriptor( + new ContactCenterInsightsMethodDescriptorSupplier("CreateAnalysis")) + .build(); + } + } + } + return getCreateAnalysisMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.cloud.contactcenterinsights.v1.GetAnalysisRequest, + com.google.cloud.contactcenterinsights.v1.Analysis> + getGetAnalysisMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "GetAnalysis", + requestType = com.google.cloud.contactcenterinsights.v1.GetAnalysisRequest.class, + responseType = com.google.cloud.contactcenterinsights.v1.Analysis.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.cloud.contactcenterinsights.v1.GetAnalysisRequest, + com.google.cloud.contactcenterinsights.v1.Analysis> + getGetAnalysisMethod() { + io.grpc.MethodDescriptor< + com.google.cloud.contactcenterinsights.v1.GetAnalysisRequest, + com.google.cloud.contactcenterinsights.v1.Analysis> + getGetAnalysisMethod; + if ((getGetAnalysisMethod = ContactCenterInsightsGrpc.getGetAnalysisMethod) == null) { + synchronized (ContactCenterInsightsGrpc.class) { + if ((getGetAnalysisMethod = ContactCenterInsightsGrpc.getGetAnalysisMethod) == null) { + ContactCenterInsightsGrpc.getGetAnalysisMethod = + getGetAnalysisMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetAnalysis")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.contactcenterinsights.v1.GetAnalysisRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.contactcenterinsights.v1.Analysis + .getDefaultInstance())) + .setSchemaDescriptor( + new ContactCenterInsightsMethodDescriptorSupplier("GetAnalysis")) + .build(); + } + } + } + return getGetAnalysisMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.cloud.contactcenterinsights.v1.ListAnalysesRequest, + com.google.cloud.contactcenterinsights.v1.ListAnalysesResponse> + getListAnalysesMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "ListAnalyses", + requestType = com.google.cloud.contactcenterinsights.v1.ListAnalysesRequest.class, + responseType = com.google.cloud.contactcenterinsights.v1.ListAnalysesResponse.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.cloud.contactcenterinsights.v1.ListAnalysesRequest, + com.google.cloud.contactcenterinsights.v1.ListAnalysesResponse> + getListAnalysesMethod() { + io.grpc.MethodDescriptor< + com.google.cloud.contactcenterinsights.v1.ListAnalysesRequest, + com.google.cloud.contactcenterinsights.v1.ListAnalysesResponse> + getListAnalysesMethod; + if ((getListAnalysesMethod = ContactCenterInsightsGrpc.getListAnalysesMethod) == null) { + synchronized (ContactCenterInsightsGrpc.class) { + if ((getListAnalysesMethod = ContactCenterInsightsGrpc.getListAnalysesMethod) == null) { + ContactCenterInsightsGrpc.getListAnalysesMethod = + getListAnalysesMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListAnalyses")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.contactcenterinsights.v1.ListAnalysesRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.contactcenterinsights.v1.ListAnalysesResponse + .getDefaultInstance())) + .setSchemaDescriptor( + new ContactCenterInsightsMethodDescriptorSupplier("ListAnalyses")) + .build(); + } + } + } + return getListAnalysesMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.cloud.contactcenterinsights.v1.DeleteAnalysisRequest, + com.google.protobuf.Empty> + getDeleteAnalysisMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "DeleteAnalysis", + requestType = com.google.cloud.contactcenterinsights.v1.DeleteAnalysisRequest.class, + responseType = com.google.protobuf.Empty.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.cloud.contactcenterinsights.v1.DeleteAnalysisRequest, + com.google.protobuf.Empty> + getDeleteAnalysisMethod() { + io.grpc.MethodDescriptor< + com.google.cloud.contactcenterinsights.v1.DeleteAnalysisRequest, + com.google.protobuf.Empty> + getDeleteAnalysisMethod; + if ((getDeleteAnalysisMethod = ContactCenterInsightsGrpc.getDeleteAnalysisMethod) == null) { + synchronized (ContactCenterInsightsGrpc.class) { + if ((getDeleteAnalysisMethod = ContactCenterInsightsGrpc.getDeleteAnalysisMethod) == null) { + ContactCenterInsightsGrpc.getDeleteAnalysisMethod = + getDeleteAnalysisMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "DeleteAnalysis")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.contactcenterinsights.v1.DeleteAnalysisRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.protobuf.Empty.getDefaultInstance())) + .setSchemaDescriptor( + new ContactCenterInsightsMethodDescriptorSupplier("DeleteAnalysis")) + .build(); + } + } + } + return getDeleteAnalysisMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.cloud.contactcenterinsights.v1.BulkAnalyzeConversationsRequest, + com.google.longrunning.Operation> + getBulkAnalyzeConversationsMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "BulkAnalyzeConversations", + requestType = com.google.cloud.contactcenterinsights.v1.BulkAnalyzeConversationsRequest.class, + responseType = com.google.longrunning.Operation.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.cloud.contactcenterinsights.v1.BulkAnalyzeConversationsRequest, + com.google.longrunning.Operation> + getBulkAnalyzeConversationsMethod() { + io.grpc.MethodDescriptor< + com.google.cloud.contactcenterinsights.v1.BulkAnalyzeConversationsRequest, + com.google.longrunning.Operation> + getBulkAnalyzeConversationsMethod; + if ((getBulkAnalyzeConversationsMethod = + ContactCenterInsightsGrpc.getBulkAnalyzeConversationsMethod) + == null) { + synchronized (ContactCenterInsightsGrpc.class) { + if ((getBulkAnalyzeConversationsMethod = + ContactCenterInsightsGrpc.getBulkAnalyzeConversationsMethod) + == null) { + ContactCenterInsightsGrpc.getBulkAnalyzeConversationsMethod = + getBulkAnalyzeConversationsMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName( + generateFullMethodName(SERVICE_NAME, "BulkAnalyzeConversations")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.contactcenterinsights.v1 + .BulkAnalyzeConversationsRequest.getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.longrunning.Operation.getDefaultInstance())) + .setSchemaDescriptor( + new ContactCenterInsightsMethodDescriptorSupplier( + "BulkAnalyzeConversations")) + .build(); + } + } + } + return getBulkAnalyzeConversationsMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest, + com.google.longrunning.Operation> + getIngestConversationsMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "IngestConversations", + requestType = com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest.class, + responseType = com.google.longrunning.Operation.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest, + com.google.longrunning.Operation> + getIngestConversationsMethod() { + io.grpc.MethodDescriptor< + com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest, + com.google.longrunning.Operation> + getIngestConversationsMethod; + if ((getIngestConversationsMethod = ContactCenterInsightsGrpc.getIngestConversationsMethod) + == null) { + synchronized (ContactCenterInsightsGrpc.class) { + if ((getIngestConversationsMethod = ContactCenterInsightsGrpc.getIngestConversationsMethod) + == null) { + ContactCenterInsightsGrpc.getIngestConversationsMethod = + getIngestConversationsMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName( + generateFullMethodName(SERVICE_NAME, "IngestConversations")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.longrunning.Operation.getDefaultInstance())) + .setSchemaDescriptor( + new ContactCenterInsightsMethodDescriptorSupplier("IngestConversations")) + .build(); + } + } + } + return getIngestConversationsMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.cloud.contactcenterinsights.v1.ExportInsightsDataRequest, + com.google.longrunning.Operation> + getExportInsightsDataMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "ExportInsightsData", + requestType = com.google.cloud.contactcenterinsights.v1.ExportInsightsDataRequest.class, + responseType = com.google.longrunning.Operation.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.cloud.contactcenterinsights.v1.ExportInsightsDataRequest, + com.google.longrunning.Operation> + getExportInsightsDataMethod() { + io.grpc.MethodDescriptor< + com.google.cloud.contactcenterinsights.v1.ExportInsightsDataRequest, + com.google.longrunning.Operation> + getExportInsightsDataMethod; + if ((getExportInsightsDataMethod = ContactCenterInsightsGrpc.getExportInsightsDataMethod) + == null) { + synchronized (ContactCenterInsightsGrpc.class) { + if ((getExportInsightsDataMethod = ContactCenterInsightsGrpc.getExportInsightsDataMethod) + == null) { + ContactCenterInsightsGrpc.getExportInsightsDataMethod = + getExportInsightsDataMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ExportInsightsData")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.contactcenterinsights.v1.ExportInsightsDataRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.longrunning.Operation.getDefaultInstance())) + .setSchemaDescriptor( + new ContactCenterInsightsMethodDescriptorSupplier("ExportInsightsData")) + .build(); + } + } + } + return getExportInsightsDataMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.cloud.contactcenterinsights.v1.CreateIssueModelRequest, + com.google.longrunning.Operation> + getCreateIssueModelMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "CreateIssueModel", + requestType = com.google.cloud.contactcenterinsights.v1.CreateIssueModelRequest.class, + responseType = com.google.longrunning.Operation.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.cloud.contactcenterinsights.v1.CreateIssueModelRequest, + com.google.longrunning.Operation> + getCreateIssueModelMethod() { + io.grpc.MethodDescriptor< + com.google.cloud.contactcenterinsights.v1.CreateIssueModelRequest, + com.google.longrunning.Operation> + getCreateIssueModelMethod; + if ((getCreateIssueModelMethod = ContactCenterInsightsGrpc.getCreateIssueModelMethod) == null) { + synchronized (ContactCenterInsightsGrpc.class) { + if ((getCreateIssueModelMethod = ContactCenterInsightsGrpc.getCreateIssueModelMethod) + == null) { + ContactCenterInsightsGrpc.getCreateIssueModelMethod = + getCreateIssueModelMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "CreateIssueModel")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.contactcenterinsights.v1.CreateIssueModelRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.longrunning.Operation.getDefaultInstance())) + .setSchemaDescriptor( + new ContactCenterInsightsMethodDescriptorSupplier("CreateIssueModel")) + .build(); + } + } + } + return getCreateIssueModelMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.cloud.contactcenterinsights.v1.UpdateIssueModelRequest, + com.google.cloud.contactcenterinsights.v1.IssueModel> + getUpdateIssueModelMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "UpdateIssueModel", + requestType = com.google.cloud.contactcenterinsights.v1.UpdateIssueModelRequest.class, + responseType = com.google.cloud.contactcenterinsights.v1.IssueModel.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.cloud.contactcenterinsights.v1.UpdateIssueModelRequest, + com.google.cloud.contactcenterinsights.v1.IssueModel> + getUpdateIssueModelMethod() { + io.grpc.MethodDescriptor< + com.google.cloud.contactcenterinsights.v1.UpdateIssueModelRequest, + com.google.cloud.contactcenterinsights.v1.IssueModel> + getUpdateIssueModelMethod; + if ((getUpdateIssueModelMethod = ContactCenterInsightsGrpc.getUpdateIssueModelMethod) == null) { + synchronized (ContactCenterInsightsGrpc.class) { + if ((getUpdateIssueModelMethod = ContactCenterInsightsGrpc.getUpdateIssueModelMethod) + == null) { + ContactCenterInsightsGrpc.getUpdateIssueModelMethod = + getUpdateIssueModelMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "UpdateIssueModel")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.contactcenterinsights.v1.UpdateIssueModelRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.contactcenterinsights.v1.IssueModel + .getDefaultInstance())) + .setSchemaDescriptor( + new ContactCenterInsightsMethodDescriptorSupplier("UpdateIssueModel")) + .build(); + } + } + } + return getUpdateIssueModelMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.cloud.contactcenterinsights.v1.GetIssueModelRequest, + com.google.cloud.contactcenterinsights.v1.IssueModel> + getGetIssueModelMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "GetIssueModel", + requestType = com.google.cloud.contactcenterinsights.v1.GetIssueModelRequest.class, + responseType = com.google.cloud.contactcenterinsights.v1.IssueModel.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.cloud.contactcenterinsights.v1.GetIssueModelRequest, + com.google.cloud.contactcenterinsights.v1.IssueModel> + getGetIssueModelMethod() { + io.grpc.MethodDescriptor< + com.google.cloud.contactcenterinsights.v1.GetIssueModelRequest, + com.google.cloud.contactcenterinsights.v1.IssueModel> + getGetIssueModelMethod; + if ((getGetIssueModelMethod = ContactCenterInsightsGrpc.getGetIssueModelMethod) == null) { + synchronized (ContactCenterInsightsGrpc.class) { + if ((getGetIssueModelMethod = ContactCenterInsightsGrpc.getGetIssueModelMethod) == null) { + ContactCenterInsightsGrpc.getGetIssueModelMethod = + getGetIssueModelMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetIssueModel")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.contactcenterinsights.v1.GetIssueModelRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.contactcenterinsights.v1.IssueModel + .getDefaultInstance())) + .setSchemaDescriptor( + new ContactCenterInsightsMethodDescriptorSupplier("GetIssueModel")) + .build(); + } + } + } + return getGetIssueModelMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.cloud.contactcenterinsights.v1.ListIssueModelsRequest, + com.google.cloud.contactcenterinsights.v1.ListIssueModelsResponse> + getListIssueModelsMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "ListIssueModels", + requestType = com.google.cloud.contactcenterinsights.v1.ListIssueModelsRequest.class, + responseType = com.google.cloud.contactcenterinsights.v1.ListIssueModelsResponse.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.cloud.contactcenterinsights.v1.ListIssueModelsRequest, + com.google.cloud.contactcenterinsights.v1.ListIssueModelsResponse> + getListIssueModelsMethod() { + io.grpc.MethodDescriptor< + com.google.cloud.contactcenterinsights.v1.ListIssueModelsRequest, + com.google.cloud.contactcenterinsights.v1.ListIssueModelsResponse> + getListIssueModelsMethod; + if ((getListIssueModelsMethod = ContactCenterInsightsGrpc.getListIssueModelsMethod) == null) { + synchronized (ContactCenterInsightsGrpc.class) { + if ((getListIssueModelsMethod = ContactCenterInsightsGrpc.getListIssueModelsMethod) + == null) { + ContactCenterInsightsGrpc.getListIssueModelsMethod = + getListIssueModelsMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListIssueModels")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.contactcenterinsights.v1.ListIssueModelsRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.contactcenterinsights.v1.ListIssueModelsResponse + .getDefaultInstance())) + .setSchemaDescriptor( + new ContactCenterInsightsMethodDescriptorSupplier("ListIssueModels")) + .build(); + } + } + } + return getListIssueModelsMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.cloud.contactcenterinsights.v1.DeleteIssueModelRequest, + com.google.longrunning.Operation> + getDeleteIssueModelMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "DeleteIssueModel", + requestType = com.google.cloud.contactcenterinsights.v1.DeleteIssueModelRequest.class, + responseType = com.google.longrunning.Operation.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.cloud.contactcenterinsights.v1.DeleteIssueModelRequest, + com.google.longrunning.Operation> + getDeleteIssueModelMethod() { + io.grpc.MethodDescriptor< + com.google.cloud.contactcenterinsights.v1.DeleteIssueModelRequest, + com.google.longrunning.Operation> + getDeleteIssueModelMethod; + if ((getDeleteIssueModelMethod = ContactCenterInsightsGrpc.getDeleteIssueModelMethod) == null) { + synchronized (ContactCenterInsightsGrpc.class) { + if ((getDeleteIssueModelMethod = ContactCenterInsightsGrpc.getDeleteIssueModelMethod) + == null) { + ContactCenterInsightsGrpc.getDeleteIssueModelMethod = + getDeleteIssueModelMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "DeleteIssueModel")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.contactcenterinsights.v1.DeleteIssueModelRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.longrunning.Operation.getDefaultInstance())) + .setSchemaDescriptor( + new ContactCenterInsightsMethodDescriptorSupplier("DeleteIssueModel")) + .build(); + } + } + } + return getDeleteIssueModelMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.cloud.contactcenterinsights.v1.DeployIssueModelRequest, + com.google.longrunning.Operation> + getDeployIssueModelMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "DeployIssueModel", + requestType = com.google.cloud.contactcenterinsights.v1.DeployIssueModelRequest.class, + responseType = com.google.longrunning.Operation.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.cloud.contactcenterinsights.v1.DeployIssueModelRequest, + com.google.longrunning.Operation> + getDeployIssueModelMethod() { + io.grpc.MethodDescriptor< + com.google.cloud.contactcenterinsights.v1.DeployIssueModelRequest, + com.google.longrunning.Operation> + getDeployIssueModelMethod; + if ((getDeployIssueModelMethod = ContactCenterInsightsGrpc.getDeployIssueModelMethod) == null) { + synchronized (ContactCenterInsightsGrpc.class) { + if ((getDeployIssueModelMethod = ContactCenterInsightsGrpc.getDeployIssueModelMethod) + == null) { + ContactCenterInsightsGrpc.getDeployIssueModelMethod = + getDeployIssueModelMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "DeployIssueModel")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.contactcenterinsights.v1.DeployIssueModelRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.longrunning.Operation.getDefaultInstance())) + .setSchemaDescriptor( + new ContactCenterInsightsMethodDescriptorSupplier("DeployIssueModel")) + .build(); + } + } + } + return getDeployIssueModelMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.cloud.contactcenterinsights.v1.UndeployIssueModelRequest, + com.google.longrunning.Operation> + getUndeployIssueModelMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "UndeployIssueModel", + requestType = com.google.cloud.contactcenterinsights.v1.UndeployIssueModelRequest.class, + responseType = com.google.longrunning.Operation.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.cloud.contactcenterinsights.v1.UndeployIssueModelRequest, + com.google.longrunning.Operation> + getUndeployIssueModelMethod() { + io.grpc.MethodDescriptor< + com.google.cloud.contactcenterinsights.v1.UndeployIssueModelRequest, + com.google.longrunning.Operation> + getUndeployIssueModelMethod; + if ((getUndeployIssueModelMethod = ContactCenterInsightsGrpc.getUndeployIssueModelMethod) + == null) { + synchronized (ContactCenterInsightsGrpc.class) { + if ((getUndeployIssueModelMethod = ContactCenterInsightsGrpc.getUndeployIssueModelMethod) + == null) { + ContactCenterInsightsGrpc.getUndeployIssueModelMethod = + getUndeployIssueModelMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "UndeployIssueModel")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.contactcenterinsights.v1.UndeployIssueModelRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.longrunning.Operation.getDefaultInstance())) + .setSchemaDescriptor( + new ContactCenterInsightsMethodDescriptorSupplier("UndeployIssueModel")) + .build(); + } + } + } + return getUndeployIssueModelMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.cloud.contactcenterinsights.v1.GetIssueRequest, + com.google.cloud.contactcenterinsights.v1.Issue> + getGetIssueMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "GetIssue", + requestType = com.google.cloud.contactcenterinsights.v1.GetIssueRequest.class, + responseType = com.google.cloud.contactcenterinsights.v1.Issue.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.cloud.contactcenterinsights.v1.GetIssueRequest, + com.google.cloud.contactcenterinsights.v1.Issue> + getGetIssueMethod() { + io.grpc.MethodDescriptor< + com.google.cloud.contactcenterinsights.v1.GetIssueRequest, + com.google.cloud.contactcenterinsights.v1.Issue> + getGetIssueMethod; + if ((getGetIssueMethod = ContactCenterInsightsGrpc.getGetIssueMethod) == null) { + synchronized (ContactCenterInsightsGrpc.class) { + if ((getGetIssueMethod = ContactCenterInsightsGrpc.getGetIssueMethod) == null) { + ContactCenterInsightsGrpc.getGetIssueMethod = + getGetIssueMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetIssue")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.contactcenterinsights.v1.GetIssueRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.contactcenterinsights.v1.Issue.getDefaultInstance())) + .setSchemaDescriptor( + new ContactCenterInsightsMethodDescriptorSupplier("GetIssue")) + .build(); + } + } + } + return getGetIssueMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.cloud.contactcenterinsights.v1.ListIssuesRequest, + com.google.cloud.contactcenterinsights.v1.ListIssuesResponse> + getListIssuesMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "ListIssues", + requestType = com.google.cloud.contactcenterinsights.v1.ListIssuesRequest.class, + responseType = com.google.cloud.contactcenterinsights.v1.ListIssuesResponse.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.cloud.contactcenterinsights.v1.ListIssuesRequest, + com.google.cloud.contactcenterinsights.v1.ListIssuesResponse> + getListIssuesMethod() { + io.grpc.MethodDescriptor< + com.google.cloud.contactcenterinsights.v1.ListIssuesRequest, + com.google.cloud.contactcenterinsights.v1.ListIssuesResponse> + getListIssuesMethod; + if ((getListIssuesMethod = ContactCenterInsightsGrpc.getListIssuesMethod) == null) { + synchronized (ContactCenterInsightsGrpc.class) { + if ((getListIssuesMethod = ContactCenterInsightsGrpc.getListIssuesMethod) == null) { + ContactCenterInsightsGrpc.getListIssuesMethod = + getListIssuesMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListIssues")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.contactcenterinsights.v1.ListIssuesRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.contactcenterinsights.v1.ListIssuesResponse + .getDefaultInstance())) + .setSchemaDescriptor( + new ContactCenterInsightsMethodDescriptorSupplier("ListIssues")) + .build(); + } + } + } + return getListIssuesMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.cloud.contactcenterinsights.v1.UpdateIssueRequest, + com.google.cloud.contactcenterinsights.v1.Issue> + getUpdateIssueMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "UpdateIssue", + requestType = com.google.cloud.contactcenterinsights.v1.UpdateIssueRequest.class, + responseType = com.google.cloud.contactcenterinsights.v1.Issue.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.cloud.contactcenterinsights.v1.UpdateIssueRequest, + com.google.cloud.contactcenterinsights.v1.Issue> + getUpdateIssueMethod() { + io.grpc.MethodDescriptor< + com.google.cloud.contactcenterinsights.v1.UpdateIssueRequest, + com.google.cloud.contactcenterinsights.v1.Issue> + getUpdateIssueMethod; + if ((getUpdateIssueMethod = ContactCenterInsightsGrpc.getUpdateIssueMethod) == null) { + synchronized (ContactCenterInsightsGrpc.class) { + if ((getUpdateIssueMethod = ContactCenterInsightsGrpc.getUpdateIssueMethod) == null) { + ContactCenterInsightsGrpc.getUpdateIssueMethod = + getUpdateIssueMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "UpdateIssue")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.contactcenterinsights.v1.UpdateIssueRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.contactcenterinsights.v1.Issue.getDefaultInstance())) + .setSchemaDescriptor( + new ContactCenterInsightsMethodDescriptorSupplier("UpdateIssue")) + .build(); + } + } + } + return getUpdateIssueMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.cloud.contactcenterinsights.v1.DeleteIssueRequest, com.google.protobuf.Empty> + getDeleteIssueMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "DeleteIssue", + requestType = com.google.cloud.contactcenterinsights.v1.DeleteIssueRequest.class, + responseType = com.google.protobuf.Empty.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.cloud.contactcenterinsights.v1.DeleteIssueRequest, com.google.protobuf.Empty> + getDeleteIssueMethod() { + io.grpc.MethodDescriptor< + com.google.cloud.contactcenterinsights.v1.DeleteIssueRequest, com.google.protobuf.Empty> + getDeleteIssueMethod; + if ((getDeleteIssueMethod = ContactCenterInsightsGrpc.getDeleteIssueMethod) == null) { + synchronized (ContactCenterInsightsGrpc.class) { + if ((getDeleteIssueMethod = ContactCenterInsightsGrpc.getDeleteIssueMethod) == null) { + ContactCenterInsightsGrpc.getDeleteIssueMethod = + getDeleteIssueMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "DeleteIssue")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.contactcenterinsights.v1.DeleteIssueRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.protobuf.Empty.getDefaultInstance())) + .setSchemaDescriptor( + new ContactCenterInsightsMethodDescriptorSupplier("DeleteIssue")) + .build(); + } + } + } + return getDeleteIssueMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.cloud.contactcenterinsights.v1.CalculateIssueModelStatsRequest, + com.google.cloud.contactcenterinsights.v1.CalculateIssueModelStatsResponse> + getCalculateIssueModelStatsMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "CalculateIssueModelStats", + requestType = com.google.cloud.contactcenterinsights.v1.CalculateIssueModelStatsRequest.class, + responseType = + com.google.cloud.contactcenterinsights.v1.CalculateIssueModelStatsResponse.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.cloud.contactcenterinsights.v1.CalculateIssueModelStatsRequest, + com.google.cloud.contactcenterinsights.v1.CalculateIssueModelStatsResponse> + getCalculateIssueModelStatsMethod() { + io.grpc.MethodDescriptor< + com.google.cloud.contactcenterinsights.v1.CalculateIssueModelStatsRequest, + com.google.cloud.contactcenterinsights.v1.CalculateIssueModelStatsResponse> + getCalculateIssueModelStatsMethod; + if ((getCalculateIssueModelStatsMethod = + ContactCenterInsightsGrpc.getCalculateIssueModelStatsMethod) + == null) { + synchronized (ContactCenterInsightsGrpc.class) { + if ((getCalculateIssueModelStatsMethod = + ContactCenterInsightsGrpc.getCalculateIssueModelStatsMethod) + == null) { + ContactCenterInsightsGrpc.getCalculateIssueModelStatsMethod = + getCalculateIssueModelStatsMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName( + generateFullMethodName(SERVICE_NAME, "CalculateIssueModelStats")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.contactcenterinsights.v1 + .CalculateIssueModelStatsRequest.getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.contactcenterinsights.v1 + .CalculateIssueModelStatsResponse.getDefaultInstance())) + .setSchemaDescriptor( + new ContactCenterInsightsMethodDescriptorSupplier( + "CalculateIssueModelStats")) + .build(); + } + } + } + return getCalculateIssueModelStatsMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.cloud.contactcenterinsights.v1.CreatePhraseMatcherRequest, + com.google.cloud.contactcenterinsights.v1.PhraseMatcher> + getCreatePhraseMatcherMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "CreatePhraseMatcher", + requestType = com.google.cloud.contactcenterinsights.v1.CreatePhraseMatcherRequest.class, + responseType = com.google.cloud.contactcenterinsights.v1.PhraseMatcher.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.cloud.contactcenterinsights.v1.CreatePhraseMatcherRequest, + com.google.cloud.contactcenterinsights.v1.PhraseMatcher> + getCreatePhraseMatcherMethod() { + io.grpc.MethodDescriptor< + com.google.cloud.contactcenterinsights.v1.CreatePhraseMatcherRequest, + com.google.cloud.contactcenterinsights.v1.PhraseMatcher> + getCreatePhraseMatcherMethod; + if ((getCreatePhraseMatcherMethod = ContactCenterInsightsGrpc.getCreatePhraseMatcherMethod) + == null) { + synchronized (ContactCenterInsightsGrpc.class) { + if ((getCreatePhraseMatcherMethod = ContactCenterInsightsGrpc.getCreatePhraseMatcherMethod) + == null) { + ContactCenterInsightsGrpc.getCreatePhraseMatcherMethod = + getCreatePhraseMatcherMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName( + generateFullMethodName(SERVICE_NAME, "CreatePhraseMatcher")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.contactcenterinsights.v1.CreatePhraseMatcherRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.contactcenterinsights.v1.PhraseMatcher + .getDefaultInstance())) + .setSchemaDescriptor( + new ContactCenterInsightsMethodDescriptorSupplier("CreatePhraseMatcher")) + .build(); + } + } + } + return getCreatePhraseMatcherMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.cloud.contactcenterinsights.v1.GetPhraseMatcherRequest, + com.google.cloud.contactcenterinsights.v1.PhraseMatcher> + getGetPhraseMatcherMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "GetPhraseMatcher", + requestType = com.google.cloud.contactcenterinsights.v1.GetPhraseMatcherRequest.class, + responseType = com.google.cloud.contactcenterinsights.v1.PhraseMatcher.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.cloud.contactcenterinsights.v1.GetPhraseMatcherRequest, + com.google.cloud.contactcenterinsights.v1.PhraseMatcher> + getGetPhraseMatcherMethod() { + io.grpc.MethodDescriptor< + com.google.cloud.contactcenterinsights.v1.GetPhraseMatcherRequest, + com.google.cloud.contactcenterinsights.v1.PhraseMatcher> + getGetPhraseMatcherMethod; + if ((getGetPhraseMatcherMethod = ContactCenterInsightsGrpc.getGetPhraseMatcherMethod) == null) { + synchronized (ContactCenterInsightsGrpc.class) { + if ((getGetPhraseMatcherMethod = ContactCenterInsightsGrpc.getGetPhraseMatcherMethod) + == null) { + ContactCenterInsightsGrpc.getGetPhraseMatcherMethod = + getGetPhraseMatcherMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetPhraseMatcher")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.contactcenterinsights.v1.GetPhraseMatcherRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.contactcenterinsights.v1.PhraseMatcher + .getDefaultInstance())) + .setSchemaDescriptor( + new ContactCenterInsightsMethodDescriptorSupplier("GetPhraseMatcher")) + .build(); + } + } + } + return getGetPhraseMatcherMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.cloud.contactcenterinsights.v1.ListPhraseMatchersRequest, + com.google.cloud.contactcenterinsights.v1.ListPhraseMatchersResponse> + getListPhraseMatchersMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "ListPhraseMatchers", + requestType = com.google.cloud.contactcenterinsights.v1.ListPhraseMatchersRequest.class, + responseType = com.google.cloud.contactcenterinsights.v1.ListPhraseMatchersResponse.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.cloud.contactcenterinsights.v1.ListPhraseMatchersRequest, + com.google.cloud.contactcenterinsights.v1.ListPhraseMatchersResponse> + getListPhraseMatchersMethod() { + io.grpc.MethodDescriptor< + com.google.cloud.contactcenterinsights.v1.ListPhraseMatchersRequest, + com.google.cloud.contactcenterinsights.v1.ListPhraseMatchersResponse> + getListPhraseMatchersMethod; + if ((getListPhraseMatchersMethod = ContactCenterInsightsGrpc.getListPhraseMatchersMethod) + == null) { + synchronized (ContactCenterInsightsGrpc.class) { + if ((getListPhraseMatchersMethod = ContactCenterInsightsGrpc.getListPhraseMatchersMethod) + == null) { + ContactCenterInsightsGrpc.getListPhraseMatchersMethod = + getListPhraseMatchersMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListPhraseMatchers")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.contactcenterinsights.v1.ListPhraseMatchersRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.contactcenterinsights.v1.ListPhraseMatchersResponse + .getDefaultInstance())) + .setSchemaDescriptor( + new ContactCenterInsightsMethodDescriptorSupplier("ListPhraseMatchers")) + .build(); + } + } + } + return getListPhraseMatchersMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.cloud.contactcenterinsights.v1.DeletePhraseMatcherRequest, + com.google.protobuf.Empty> + getDeletePhraseMatcherMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "DeletePhraseMatcher", + requestType = com.google.cloud.contactcenterinsights.v1.DeletePhraseMatcherRequest.class, + responseType = com.google.protobuf.Empty.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.cloud.contactcenterinsights.v1.DeletePhraseMatcherRequest, + com.google.protobuf.Empty> + getDeletePhraseMatcherMethod() { + io.grpc.MethodDescriptor< + com.google.cloud.contactcenterinsights.v1.DeletePhraseMatcherRequest, + com.google.protobuf.Empty> + getDeletePhraseMatcherMethod; + if ((getDeletePhraseMatcherMethod = ContactCenterInsightsGrpc.getDeletePhraseMatcherMethod) + == null) { + synchronized (ContactCenterInsightsGrpc.class) { + if ((getDeletePhraseMatcherMethod = ContactCenterInsightsGrpc.getDeletePhraseMatcherMethod) + == null) { + ContactCenterInsightsGrpc.getDeletePhraseMatcherMethod = + getDeletePhraseMatcherMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName( + generateFullMethodName(SERVICE_NAME, "DeletePhraseMatcher")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.contactcenterinsights.v1.DeletePhraseMatcherRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.protobuf.Empty.getDefaultInstance())) + .setSchemaDescriptor( + new ContactCenterInsightsMethodDescriptorSupplier("DeletePhraseMatcher")) + .build(); + } + } + } + return getDeletePhraseMatcherMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.cloud.contactcenterinsights.v1.UpdatePhraseMatcherRequest, + com.google.cloud.contactcenterinsights.v1.PhraseMatcher> + getUpdatePhraseMatcherMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "UpdatePhraseMatcher", + requestType = com.google.cloud.contactcenterinsights.v1.UpdatePhraseMatcherRequest.class, + responseType = com.google.cloud.contactcenterinsights.v1.PhraseMatcher.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.cloud.contactcenterinsights.v1.UpdatePhraseMatcherRequest, + com.google.cloud.contactcenterinsights.v1.PhraseMatcher> + getUpdatePhraseMatcherMethod() { + io.grpc.MethodDescriptor< + com.google.cloud.contactcenterinsights.v1.UpdatePhraseMatcherRequest, + com.google.cloud.contactcenterinsights.v1.PhraseMatcher> + getUpdatePhraseMatcherMethod; + if ((getUpdatePhraseMatcherMethod = ContactCenterInsightsGrpc.getUpdatePhraseMatcherMethod) + == null) { + synchronized (ContactCenterInsightsGrpc.class) { + if ((getUpdatePhraseMatcherMethod = ContactCenterInsightsGrpc.getUpdatePhraseMatcherMethod) + == null) { + ContactCenterInsightsGrpc.getUpdatePhraseMatcherMethod = + getUpdatePhraseMatcherMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName( + generateFullMethodName(SERVICE_NAME, "UpdatePhraseMatcher")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.contactcenterinsights.v1.UpdatePhraseMatcherRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.contactcenterinsights.v1.PhraseMatcher + .getDefaultInstance())) + .setSchemaDescriptor( + new ContactCenterInsightsMethodDescriptorSupplier("UpdatePhraseMatcher")) + .build(); + } + } + } + return getUpdatePhraseMatcherMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.cloud.contactcenterinsights.v1.CalculateStatsRequest, + com.google.cloud.contactcenterinsights.v1.CalculateStatsResponse> + getCalculateStatsMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "CalculateStats", + requestType = com.google.cloud.contactcenterinsights.v1.CalculateStatsRequest.class, + responseType = com.google.cloud.contactcenterinsights.v1.CalculateStatsResponse.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.cloud.contactcenterinsights.v1.CalculateStatsRequest, + com.google.cloud.contactcenterinsights.v1.CalculateStatsResponse> + getCalculateStatsMethod() { + io.grpc.MethodDescriptor< + com.google.cloud.contactcenterinsights.v1.CalculateStatsRequest, + com.google.cloud.contactcenterinsights.v1.CalculateStatsResponse> + getCalculateStatsMethod; + if ((getCalculateStatsMethod = ContactCenterInsightsGrpc.getCalculateStatsMethod) == null) { + synchronized (ContactCenterInsightsGrpc.class) { + if ((getCalculateStatsMethod = ContactCenterInsightsGrpc.getCalculateStatsMethod) == null) { + ContactCenterInsightsGrpc.getCalculateStatsMethod = + getCalculateStatsMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "CalculateStats")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.contactcenterinsights.v1.CalculateStatsRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.contactcenterinsights.v1.CalculateStatsResponse + .getDefaultInstance())) + .setSchemaDescriptor( + new ContactCenterInsightsMethodDescriptorSupplier("CalculateStats")) + .build(); + } + } + } + return getCalculateStatsMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.cloud.contactcenterinsights.v1.GetSettingsRequest, + com.google.cloud.contactcenterinsights.v1.Settings> + getGetSettingsMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "GetSettings", + requestType = com.google.cloud.contactcenterinsights.v1.GetSettingsRequest.class, + responseType = com.google.cloud.contactcenterinsights.v1.Settings.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.cloud.contactcenterinsights.v1.GetSettingsRequest, + com.google.cloud.contactcenterinsights.v1.Settings> + getGetSettingsMethod() { + io.grpc.MethodDescriptor< + com.google.cloud.contactcenterinsights.v1.GetSettingsRequest, + com.google.cloud.contactcenterinsights.v1.Settings> + getGetSettingsMethod; + if ((getGetSettingsMethod = ContactCenterInsightsGrpc.getGetSettingsMethod) == null) { + synchronized (ContactCenterInsightsGrpc.class) { + if ((getGetSettingsMethod = ContactCenterInsightsGrpc.getGetSettingsMethod) == null) { + ContactCenterInsightsGrpc.getGetSettingsMethod = + getGetSettingsMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetSettings")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.contactcenterinsights.v1.GetSettingsRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.contactcenterinsights.v1.Settings + .getDefaultInstance())) + .setSchemaDescriptor( + new ContactCenterInsightsMethodDescriptorSupplier("GetSettings")) + .build(); + } + } + } + return getGetSettingsMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.cloud.contactcenterinsights.v1.UpdateSettingsRequest, + com.google.cloud.contactcenterinsights.v1.Settings> + getUpdateSettingsMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "UpdateSettings", + requestType = com.google.cloud.contactcenterinsights.v1.UpdateSettingsRequest.class, + responseType = com.google.cloud.contactcenterinsights.v1.Settings.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.cloud.contactcenterinsights.v1.UpdateSettingsRequest, + com.google.cloud.contactcenterinsights.v1.Settings> + getUpdateSettingsMethod() { + io.grpc.MethodDescriptor< + com.google.cloud.contactcenterinsights.v1.UpdateSettingsRequest, + com.google.cloud.contactcenterinsights.v1.Settings> + getUpdateSettingsMethod; + if ((getUpdateSettingsMethod = ContactCenterInsightsGrpc.getUpdateSettingsMethod) == null) { + synchronized (ContactCenterInsightsGrpc.class) { + if ((getUpdateSettingsMethod = ContactCenterInsightsGrpc.getUpdateSettingsMethod) == null) { + ContactCenterInsightsGrpc.getUpdateSettingsMethod = + getUpdateSettingsMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "UpdateSettings")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.contactcenterinsights.v1.UpdateSettingsRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.contactcenterinsights.v1.Settings + .getDefaultInstance())) + .setSchemaDescriptor( + new ContactCenterInsightsMethodDescriptorSupplier("UpdateSettings")) + .build(); + } + } + } + return getUpdateSettingsMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.cloud.contactcenterinsights.v1.CreateViewRequest, + com.google.cloud.contactcenterinsights.v1.View> + getCreateViewMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "CreateView", + requestType = com.google.cloud.contactcenterinsights.v1.CreateViewRequest.class, + responseType = com.google.cloud.contactcenterinsights.v1.View.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.cloud.contactcenterinsights.v1.CreateViewRequest, + com.google.cloud.contactcenterinsights.v1.View> + getCreateViewMethod() { + io.grpc.MethodDescriptor< + com.google.cloud.contactcenterinsights.v1.CreateViewRequest, + com.google.cloud.contactcenterinsights.v1.View> + getCreateViewMethod; + if ((getCreateViewMethod = ContactCenterInsightsGrpc.getCreateViewMethod) == null) { + synchronized (ContactCenterInsightsGrpc.class) { + if ((getCreateViewMethod = ContactCenterInsightsGrpc.getCreateViewMethod) == null) { + ContactCenterInsightsGrpc.getCreateViewMethod = + getCreateViewMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "CreateView")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.contactcenterinsights.v1.CreateViewRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.contactcenterinsights.v1.View.getDefaultInstance())) + .setSchemaDescriptor( + new ContactCenterInsightsMethodDescriptorSupplier("CreateView")) + .build(); + } + } + } + return getCreateViewMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.cloud.contactcenterinsights.v1.GetViewRequest, + com.google.cloud.contactcenterinsights.v1.View> + getGetViewMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "GetView", + requestType = com.google.cloud.contactcenterinsights.v1.GetViewRequest.class, + responseType = com.google.cloud.contactcenterinsights.v1.View.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.cloud.contactcenterinsights.v1.GetViewRequest, + com.google.cloud.contactcenterinsights.v1.View> + getGetViewMethod() { + io.grpc.MethodDescriptor< + com.google.cloud.contactcenterinsights.v1.GetViewRequest, + com.google.cloud.contactcenterinsights.v1.View> + getGetViewMethod; + if ((getGetViewMethod = ContactCenterInsightsGrpc.getGetViewMethod) == null) { + synchronized (ContactCenterInsightsGrpc.class) { + if ((getGetViewMethod = ContactCenterInsightsGrpc.getGetViewMethod) == null) { + ContactCenterInsightsGrpc.getGetViewMethod = + getGetViewMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetView")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.contactcenterinsights.v1.GetViewRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.contactcenterinsights.v1.View.getDefaultInstance())) + .setSchemaDescriptor( + new ContactCenterInsightsMethodDescriptorSupplier("GetView")) + .build(); + } + } + } + return getGetViewMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.cloud.contactcenterinsights.v1.ListViewsRequest, + com.google.cloud.contactcenterinsights.v1.ListViewsResponse> + getListViewsMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "ListViews", + requestType = com.google.cloud.contactcenterinsights.v1.ListViewsRequest.class, + responseType = com.google.cloud.contactcenterinsights.v1.ListViewsResponse.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.cloud.contactcenterinsights.v1.ListViewsRequest, + com.google.cloud.contactcenterinsights.v1.ListViewsResponse> + getListViewsMethod() { + io.grpc.MethodDescriptor< + com.google.cloud.contactcenterinsights.v1.ListViewsRequest, + com.google.cloud.contactcenterinsights.v1.ListViewsResponse> + getListViewsMethod; + if ((getListViewsMethod = ContactCenterInsightsGrpc.getListViewsMethod) == null) { + synchronized (ContactCenterInsightsGrpc.class) { + if ((getListViewsMethod = ContactCenterInsightsGrpc.getListViewsMethod) == null) { + ContactCenterInsightsGrpc.getListViewsMethod = + getListViewsMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListViews")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.contactcenterinsights.v1.ListViewsRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.contactcenterinsights.v1.ListViewsResponse + .getDefaultInstance())) + .setSchemaDescriptor( + new ContactCenterInsightsMethodDescriptorSupplier("ListViews")) + .build(); + } + } + } + return getListViewsMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.cloud.contactcenterinsights.v1.UpdateViewRequest, + com.google.cloud.contactcenterinsights.v1.View> + getUpdateViewMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "UpdateView", + requestType = com.google.cloud.contactcenterinsights.v1.UpdateViewRequest.class, + responseType = com.google.cloud.contactcenterinsights.v1.View.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.cloud.contactcenterinsights.v1.UpdateViewRequest, + com.google.cloud.contactcenterinsights.v1.View> + getUpdateViewMethod() { + io.grpc.MethodDescriptor< + com.google.cloud.contactcenterinsights.v1.UpdateViewRequest, + com.google.cloud.contactcenterinsights.v1.View> + getUpdateViewMethod; + if ((getUpdateViewMethod = ContactCenterInsightsGrpc.getUpdateViewMethod) == null) { + synchronized (ContactCenterInsightsGrpc.class) { + if ((getUpdateViewMethod = ContactCenterInsightsGrpc.getUpdateViewMethod) == null) { + ContactCenterInsightsGrpc.getUpdateViewMethod = + getUpdateViewMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "UpdateView")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.contactcenterinsights.v1.UpdateViewRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.contactcenterinsights.v1.View.getDefaultInstance())) + .setSchemaDescriptor( + new ContactCenterInsightsMethodDescriptorSupplier("UpdateView")) + .build(); + } + } + } + return getUpdateViewMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.cloud.contactcenterinsights.v1.DeleteViewRequest, com.google.protobuf.Empty> + getDeleteViewMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "DeleteView", + requestType = com.google.cloud.contactcenterinsights.v1.DeleteViewRequest.class, + responseType = com.google.protobuf.Empty.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.cloud.contactcenterinsights.v1.DeleteViewRequest, com.google.protobuf.Empty> + getDeleteViewMethod() { + io.grpc.MethodDescriptor< + com.google.cloud.contactcenterinsights.v1.DeleteViewRequest, com.google.protobuf.Empty> + getDeleteViewMethod; + if ((getDeleteViewMethod = ContactCenterInsightsGrpc.getDeleteViewMethod) == null) { + synchronized (ContactCenterInsightsGrpc.class) { + if ((getDeleteViewMethod = ContactCenterInsightsGrpc.getDeleteViewMethod) == null) { + ContactCenterInsightsGrpc.getDeleteViewMethod = + getDeleteViewMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "DeleteView")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.contactcenterinsights.v1.DeleteViewRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.protobuf.Empty.getDefaultInstance())) + .setSchemaDescriptor( + new ContactCenterInsightsMethodDescriptorSupplier("DeleteView")) + .build(); + } + } + } + return getDeleteViewMethod; + } + + /** Creates a new async stub that supports all call types for the service */ + public static ContactCenterInsightsStub newStub(io.grpc.Channel channel) { + io.grpc.stub.AbstractStub.StubFactory factory = + new io.grpc.stub.AbstractStub.StubFactory() { + @java.lang.Override + public ContactCenterInsightsStub newStub( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new ContactCenterInsightsStub(channel, callOptions); + } + }; + return ContactCenterInsightsStub.newStub(factory, channel); + } + + /** + * Creates a new blocking-style stub that supports unary and streaming output calls on the service + */ + public static ContactCenterInsightsBlockingStub newBlockingStub(io.grpc.Channel channel) { + io.grpc.stub.AbstractStub.StubFactory factory = + new io.grpc.stub.AbstractStub.StubFactory() { + @java.lang.Override + public ContactCenterInsightsBlockingStub newStub( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new ContactCenterInsightsBlockingStub(channel, callOptions); + } + }; + return ContactCenterInsightsBlockingStub.newStub(factory, channel); + } + + /** Creates a new ListenableFuture-style stub that supports unary calls on the service */ + public static ContactCenterInsightsFutureStub newFutureStub(io.grpc.Channel channel) { + io.grpc.stub.AbstractStub.StubFactory factory = + new io.grpc.stub.AbstractStub.StubFactory() { + @java.lang.Override + public ContactCenterInsightsFutureStub newStub( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new ContactCenterInsightsFutureStub(channel, callOptions); + } + }; + return ContactCenterInsightsFutureStub.newStub(factory, channel); + } + + /** + * + * + *
+   * 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 + responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getCreateConversationMethod(), responseObserver); + } + + /** + * + * + *
+     * Updates a conversation.
+     * 
+ */ + public void updateConversation( + com.google.cloud.contactcenterinsights.v1.UpdateConversationRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getUpdateConversationMethod(), responseObserver); + } + + /** + * + * + *
+     * Gets a conversation.
+     * 
+ */ + public void getConversation( + com.google.cloud.contactcenterinsights.v1.GetConversationRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getGetConversationMethod(), responseObserver); + } + + /** + * + * + *
+     * 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 responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getDeleteConversationMethod(), responseObserver); + } + + /** + * + * + *
+     * 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 responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getCreateAnalysisMethod(), responseObserver); + } + + /** + * + * + *
+     * Gets an analysis.
+     * 
+ */ + public void getAnalysis( + com.google.cloud.contactcenterinsights.v1.GetAnalysisRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getGetAnalysisMethod(), responseObserver); + } + + /** + * + * + *
+     * Lists analyses.
+     * 
+ */ + public void listAnalyses( + com.google.cloud.contactcenterinsights.v1.ListAnalysesRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getListAnalysesMethod(), responseObserver); + } + + /** + * + * + *
+     * Deletes an analysis.
+     * 
+ */ + public void deleteAnalysis( + com.google.cloud.contactcenterinsights.v1.DeleteAnalysisRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getDeleteAnalysisMethod(), responseObserver); + } + + /** + * + * + *
+     * Analyzes multiple conversations in a single request.
+     * 
+ */ + public void bulkAnalyzeConversations( + com.google.cloud.contactcenterinsights.v1.BulkAnalyzeConversationsRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getBulkAnalyzeConversationsMethod(), responseObserver); + } + + /** + * + * + *
+     * Imports conversations and processes them according to the user's
+     * configuration.
+     * 
+ */ + public void ingestConversations( + com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getIngestConversationsMethod(), responseObserver); + } + + /** + * + * + *
+     * 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 responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getExportInsightsDataMethod(), responseObserver); + } + + /** + * + * + *
+     * Creates an issue model.
+     * 
+ */ + public void createIssueModel( + com.google.cloud.contactcenterinsights.v1.CreateIssueModelRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getCreateIssueModelMethod(), responseObserver); + } + + /** + * + * + *
+     * Updates an issue model.
+     * 
+ */ + public void updateIssueModel( + com.google.cloud.contactcenterinsights.v1.UpdateIssueModelRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getUpdateIssueModelMethod(), responseObserver); + } + + /** + * + * + *
+     * Gets an issue model.
+     * 
+ */ + public void getIssueModel( + com.google.cloud.contactcenterinsights.v1.GetIssueModelRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getGetIssueModelMethod(), responseObserver); + } + + /** + * + * + *
+     * 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 responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getDeleteIssueModelMethod(), responseObserver); + } + + /** + * + * + *
+     * 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 responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getDeployIssueModelMethod(), responseObserver); + } + + /** + * + * + *
+     * 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 responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getUndeployIssueModelMethod(), responseObserver); + } + + /** + * + * + *
+     * Gets an issue.
+     * 
+ */ + public void getIssue( + com.google.cloud.contactcenterinsights.v1.GetIssueRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetIssueMethod(), responseObserver); + } + + /** + * + * + *
+     * Lists issues.
+     * 
+ */ + public void listIssues( + com.google.cloud.contactcenterinsights.v1.ListIssuesRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getListIssuesMethod(), responseObserver); + } + + /** + * + * + *
+     * Updates an issue.
+     * 
+ */ + public void updateIssue( + com.google.cloud.contactcenterinsights.v1.UpdateIssueRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getUpdateIssueMethod(), responseObserver); + } + + /** + * + * + *
+     * Deletes an issue.
+     * 
+ */ + public void deleteIssue( + com.google.cloud.contactcenterinsights.v1.DeleteIssueRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getDeleteIssueMethod(), responseObserver); + } + + /** + * + * + *
+     * 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 + responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getCreatePhraseMatcherMethod(), responseObserver); + } + + /** + * + * + *
+     * Gets a phrase matcher.
+     * 
+ */ + public void getPhraseMatcher( + com.google.cloud.contactcenterinsights.v1.GetPhraseMatcherRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getGetPhraseMatcherMethod(), responseObserver); + } + + /** + * + * + *
+     * 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 responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getDeletePhraseMatcherMethod(), responseObserver); + } + + /** + * + * + *
+     * Updates a phrase matcher.
+     * 
+ */ + public void updatePhraseMatcher( + com.google.cloud.contactcenterinsights.v1.UpdatePhraseMatcherRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getUpdatePhraseMatcherMethod(), responseObserver); + } + + /** + * + * + *
+     * 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 + responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getGetSettingsMethod(), responseObserver); + } + + /** + * + * + *
+     * Updates project-level settings.
+     * 
+ */ + public void updateSettings( + com.google.cloud.contactcenterinsights.v1.UpdateSettingsRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getUpdateSettingsMethod(), responseObserver); + } + + /** + * + * + *
+     * Creates a view.
+     * 
+ */ + public void createView( + com.google.cloud.contactcenterinsights.v1.CreateViewRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getCreateViewMethod(), responseObserver); + } + + /** + * + * + *
+     * Gets a view.
+     * 
+ */ + public void getView( + com.google.cloud.contactcenterinsights.v1.GetViewRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetViewMethod(), responseObserver); + } + + /** + * + * + *
+     * Lists views.
+     * 
+ */ + public void listViews( + com.google.cloud.contactcenterinsights.v1.ListViewsRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getListViewsMethod(), responseObserver); + } + + /** + * + * + *
+     * Updates a view.
+     * 
+ */ + public void updateView( + com.google.cloud.contactcenterinsights.v1.UpdateViewRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getUpdateViewMethod(), responseObserver); + } + + /** + * + * + *
+     * Deletes a view.
+     * 
+ */ + public void deleteView( + com.google.cloud.contactcenterinsights.v1.DeleteViewRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getDeleteViewMethod(), responseObserver); + } + + @java.lang.Override + public final io.grpc.ServerServiceDefinition bindService() { + return io.grpc.ServerServiceDefinition.builder(getServiceDescriptor()) + .addMethod( + getCreateConversationMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.contactcenterinsights.v1.CreateConversationRequest, + com.google.cloud.contactcenterinsights.v1.Conversation>( + this, METHODID_CREATE_CONVERSATION))) + .addMethod( + getUpdateConversationMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.contactcenterinsights.v1.UpdateConversationRequest, + com.google.cloud.contactcenterinsights.v1.Conversation>( + this, METHODID_UPDATE_CONVERSATION))) + .addMethod( + getGetConversationMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.contactcenterinsights.v1.GetConversationRequest, + com.google.cloud.contactcenterinsights.v1.Conversation>( + this, METHODID_GET_CONVERSATION))) + .addMethod( + getListConversationsMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.contactcenterinsights.v1.ListConversationsRequest, + com.google.cloud.contactcenterinsights.v1.ListConversationsResponse>( + this, METHODID_LIST_CONVERSATIONS))) + .addMethod( + getDeleteConversationMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.contactcenterinsights.v1.DeleteConversationRequest, + com.google.protobuf.Empty>(this, METHODID_DELETE_CONVERSATION))) + .addMethod( + getCreateAnalysisMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.contactcenterinsights.v1.CreateAnalysisRequest, + com.google.longrunning.Operation>(this, METHODID_CREATE_ANALYSIS))) + .addMethod( + getGetAnalysisMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.contactcenterinsights.v1.GetAnalysisRequest, + com.google.cloud.contactcenterinsights.v1.Analysis>( + this, METHODID_GET_ANALYSIS))) + .addMethod( + getListAnalysesMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.contactcenterinsights.v1.ListAnalysesRequest, + com.google.cloud.contactcenterinsights.v1.ListAnalysesResponse>( + this, METHODID_LIST_ANALYSES))) + .addMethod( + getDeleteAnalysisMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.contactcenterinsights.v1.DeleteAnalysisRequest, + com.google.protobuf.Empty>(this, METHODID_DELETE_ANALYSIS))) + .addMethod( + getBulkAnalyzeConversationsMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.contactcenterinsights.v1.BulkAnalyzeConversationsRequest, + com.google.longrunning.Operation>(this, METHODID_BULK_ANALYZE_CONVERSATIONS))) + .addMethod( + getIngestConversationsMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest, + com.google.longrunning.Operation>(this, METHODID_INGEST_CONVERSATIONS))) + .addMethod( + getExportInsightsDataMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.contactcenterinsights.v1.ExportInsightsDataRequest, + com.google.longrunning.Operation>(this, METHODID_EXPORT_INSIGHTS_DATA))) + .addMethod( + getCreateIssueModelMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.contactcenterinsights.v1.CreateIssueModelRequest, + com.google.longrunning.Operation>(this, METHODID_CREATE_ISSUE_MODEL))) + .addMethod( + getUpdateIssueModelMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.contactcenterinsights.v1.UpdateIssueModelRequest, + com.google.cloud.contactcenterinsights.v1.IssueModel>( + this, METHODID_UPDATE_ISSUE_MODEL))) + .addMethod( + getGetIssueModelMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.contactcenterinsights.v1.GetIssueModelRequest, + com.google.cloud.contactcenterinsights.v1.IssueModel>( + this, METHODID_GET_ISSUE_MODEL))) + .addMethod( + getListIssueModelsMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.contactcenterinsights.v1.ListIssueModelsRequest, + com.google.cloud.contactcenterinsights.v1.ListIssueModelsResponse>( + this, METHODID_LIST_ISSUE_MODELS))) + .addMethod( + getDeleteIssueModelMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.contactcenterinsights.v1.DeleteIssueModelRequest, + com.google.longrunning.Operation>(this, METHODID_DELETE_ISSUE_MODEL))) + .addMethod( + getDeployIssueModelMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.contactcenterinsights.v1.DeployIssueModelRequest, + com.google.longrunning.Operation>(this, METHODID_DEPLOY_ISSUE_MODEL))) + .addMethod( + getUndeployIssueModelMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.contactcenterinsights.v1.UndeployIssueModelRequest, + com.google.longrunning.Operation>(this, METHODID_UNDEPLOY_ISSUE_MODEL))) + .addMethod( + getGetIssueMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.contactcenterinsights.v1.GetIssueRequest, + com.google.cloud.contactcenterinsights.v1.Issue>(this, METHODID_GET_ISSUE))) + .addMethod( + getListIssuesMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.contactcenterinsights.v1.ListIssuesRequest, + com.google.cloud.contactcenterinsights.v1.ListIssuesResponse>( + this, METHODID_LIST_ISSUES))) + .addMethod( + getUpdateIssueMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.contactcenterinsights.v1.UpdateIssueRequest, + com.google.cloud.contactcenterinsights.v1.Issue>( + this, METHODID_UPDATE_ISSUE))) + .addMethod( + getDeleteIssueMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.contactcenterinsights.v1.DeleteIssueRequest, + com.google.protobuf.Empty>(this, METHODID_DELETE_ISSUE))) + .addMethod( + getCalculateIssueModelStatsMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.contactcenterinsights.v1.CalculateIssueModelStatsRequest, + com.google.cloud.contactcenterinsights.v1.CalculateIssueModelStatsResponse>( + this, METHODID_CALCULATE_ISSUE_MODEL_STATS))) + .addMethod( + getCreatePhraseMatcherMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.contactcenterinsights.v1.CreatePhraseMatcherRequest, + com.google.cloud.contactcenterinsights.v1.PhraseMatcher>( + this, METHODID_CREATE_PHRASE_MATCHER))) + .addMethod( + getGetPhraseMatcherMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.contactcenterinsights.v1.GetPhraseMatcherRequest, + com.google.cloud.contactcenterinsights.v1.PhraseMatcher>( + this, METHODID_GET_PHRASE_MATCHER))) + .addMethod( + getListPhraseMatchersMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.contactcenterinsights.v1.ListPhraseMatchersRequest, + com.google.cloud.contactcenterinsights.v1.ListPhraseMatchersResponse>( + this, METHODID_LIST_PHRASE_MATCHERS))) + .addMethod( + getDeletePhraseMatcherMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.contactcenterinsights.v1.DeletePhraseMatcherRequest, + com.google.protobuf.Empty>(this, METHODID_DELETE_PHRASE_MATCHER))) + .addMethod( + getUpdatePhraseMatcherMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.contactcenterinsights.v1.UpdatePhraseMatcherRequest, + com.google.cloud.contactcenterinsights.v1.PhraseMatcher>( + this, METHODID_UPDATE_PHRASE_MATCHER))) + .addMethod( + getCalculateStatsMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.contactcenterinsights.v1.CalculateStatsRequest, + com.google.cloud.contactcenterinsights.v1.CalculateStatsResponse>( + this, METHODID_CALCULATE_STATS))) + .addMethod( + getGetSettingsMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.contactcenterinsights.v1.GetSettingsRequest, + com.google.cloud.contactcenterinsights.v1.Settings>( + this, METHODID_GET_SETTINGS))) + .addMethod( + getUpdateSettingsMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.contactcenterinsights.v1.UpdateSettingsRequest, + com.google.cloud.contactcenterinsights.v1.Settings>( + this, METHODID_UPDATE_SETTINGS))) + .addMethod( + getCreateViewMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.contactcenterinsights.v1.CreateViewRequest, + com.google.cloud.contactcenterinsights.v1.View>(this, METHODID_CREATE_VIEW))) + .addMethod( + getGetViewMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.contactcenterinsights.v1.GetViewRequest, + com.google.cloud.contactcenterinsights.v1.View>(this, METHODID_GET_VIEW))) + .addMethod( + getListViewsMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.contactcenterinsights.v1.ListViewsRequest, + com.google.cloud.contactcenterinsights.v1.ListViewsResponse>( + this, METHODID_LIST_VIEWS))) + .addMethod( + getUpdateViewMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.contactcenterinsights.v1.UpdateViewRequest, + com.google.cloud.contactcenterinsights.v1.View>(this, METHODID_UPDATE_VIEW))) + .addMethod( + getDeleteViewMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.contactcenterinsights.v1.DeleteViewRequest, + com.google.protobuf.Empty>(this, METHODID_DELETE_VIEW))) + .build(); + } + } + + /** + * + * + *
+   * An API that lets users analyze and explore their business conversation data.
+   * 
+ */ + public static final class ContactCenterInsightsStub + extends io.grpc.stub.AbstractAsyncStub { + private ContactCenterInsightsStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + super(channel, callOptions); + } + + @java.lang.Override + protected ContactCenterInsightsStub build( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new ContactCenterInsightsStub(channel, callOptions); + } + + /** + * + * + *
+     * Creates a conversation.
+     * 
+ */ + public void createConversation( + com.google.cloud.contactcenterinsights.v1.CreateConversationRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getCreateConversationMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Updates a conversation.
+     * 
+ */ + public void updateConversation( + com.google.cloud.contactcenterinsights.v1.UpdateConversationRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getUpdateConversationMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Gets a conversation.
+     * 
+ */ + public void getConversation( + com.google.cloud.contactcenterinsights.v1.GetConversationRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getGetConversationMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * 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 responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getDeleteConversationMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * 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 responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getCreateAnalysisMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Gets an analysis.
+     * 
+ */ + public void getAnalysis( + com.google.cloud.contactcenterinsights.v1.GetAnalysisRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getGetAnalysisMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Lists analyses.
+     * 
+ */ + public void listAnalyses( + com.google.cloud.contactcenterinsights.v1.ListAnalysesRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getListAnalysesMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Deletes an analysis.
+     * 
+ */ + public void deleteAnalysis( + com.google.cloud.contactcenterinsights.v1.DeleteAnalysisRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getDeleteAnalysisMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Analyzes multiple conversations in a single request.
+     * 
+ */ + public void bulkAnalyzeConversations( + com.google.cloud.contactcenterinsights.v1.BulkAnalyzeConversationsRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getBulkAnalyzeConversationsMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Imports conversations and processes them according to the user's
+     * configuration.
+     * 
+ */ + public void ingestConversations( + com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getIngestConversationsMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * 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 responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getExportInsightsDataMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Creates an issue model.
+     * 
+ */ + public void createIssueModel( + com.google.cloud.contactcenterinsights.v1.CreateIssueModelRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getCreateIssueModelMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Updates an issue model.
+     * 
+ */ + public void updateIssueModel( + com.google.cloud.contactcenterinsights.v1.UpdateIssueModelRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getUpdateIssueModelMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Gets an issue model.
+     * 
+ */ + public void getIssueModel( + com.google.cloud.contactcenterinsights.v1.GetIssueModelRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getGetIssueModelMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * 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 responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getDeleteIssueModelMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * 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 responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getDeployIssueModelMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * 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 responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getUndeployIssueModelMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Gets an issue.
+     * 
+ */ + public void getIssue( + com.google.cloud.contactcenterinsights.v1.GetIssueRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getGetIssueMethod(), getCallOptions()), request, responseObserver); + } + + /** + * + * + *
+     * Lists issues.
+     * 
+ */ + public void listIssues( + com.google.cloud.contactcenterinsights.v1.ListIssuesRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getListIssuesMethod(), getCallOptions()), request, responseObserver); + } + + /** + * + * + *
+     * Updates an issue.
+     * 
+ */ + public void updateIssue( + com.google.cloud.contactcenterinsights.v1.UpdateIssueRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getUpdateIssueMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Deletes an issue.
+     * 
+ */ + public void deleteIssue( + com.google.cloud.contactcenterinsights.v1.DeleteIssueRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getDeleteIssueMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * 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 + responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getCreatePhraseMatcherMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Gets a phrase matcher.
+     * 
+ */ + public void getPhraseMatcher( + com.google.cloud.contactcenterinsights.v1.GetPhraseMatcherRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getGetPhraseMatcherMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * 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 responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getDeletePhraseMatcherMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Updates a phrase matcher.
+     * 
+ */ + public void updatePhraseMatcher( + com.google.cloud.contactcenterinsights.v1.UpdatePhraseMatcherRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getUpdatePhraseMatcherMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * 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 + responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getGetSettingsMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Updates project-level settings.
+     * 
+ */ + public void updateSettings( + com.google.cloud.contactcenterinsights.v1.UpdateSettingsRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getUpdateSettingsMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Creates a view.
+     * 
+ */ + public void createView( + com.google.cloud.contactcenterinsights.v1.CreateViewRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getCreateViewMethod(), getCallOptions()), request, responseObserver); + } + + /** + * + * + *
+     * Gets a view.
+     * 
+ */ + public void getView( + com.google.cloud.contactcenterinsights.v1.GetViewRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getGetViewMethod(), getCallOptions()), request, responseObserver); + } + + /** + * + * + *
+     * Lists views.
+     * 
+ */ + public void listViews( + com.google.cloud.contactcenterinsights.v1.ListViewsRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getListViewsMethod(), getCallOptions()), request, responseObserver); + } + + /** + * + * + *
+     * Updates a view.
+     * 
+ */ + public void updateView( + com.google.cloud.contactcenterinsights.v1.UpdateViewRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getUpdateViewMethod(), getCallOptions()), request, responseObserver); + } + + /** + * + * + *
+     * Deletes a view.
+     * 
+ */ + public void deleteView( + com.google.cloud.contactcenterinsights.v1.DeleteViewRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getDeleteViewMethod(), getCallOptions()), request, responseObserver); + } + } + + /** + * + * + *
+   * An API that lets users analyze and explore their business conversation data.
+   * 
+ */ + public static final class ContactCenterInsightsBlockingStub + extends io.grpc.stub.AbstractBlockingStub { + private ContactCenterInsightsBlockingStub( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + super(channel, callOptions); + } + + @java.lang.Override + protected ContactCenterInsightsBlockingStub build( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new ContactCenterInsightsBlockingStub(channel, callOptions); + } + + /** + * + * + *
+     * 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); + } + + /** + * + * + *
+     * Analyzes multiple conversations in a single request.
+     * 
+ */ + public com.google.longrunning.Operation bulkAnalyzeConversations( + com.google.cloud.contactcenterinsights.v1.BulkAnalyzeConversationsRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getBulkAnalyzeConversationsMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Imports conversations and processes them according to the user's
+     * configuration.
+     * 
+ */ + public com.google.longrunning.Operation ingestConversations( + com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getIngestConversationsMethod(), 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); + } + + /** + * + * + *
+     * Deletes an issue.
+     * 
+ */ + public com.google.protobuf.Empty deleteIssue( + com.google.cloud.contactcenterinsights.v1.DeleteIssueRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getDeleteIssueMethod(), 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 { + private ContactCenterInsightsFutureStub( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + super(channel, callOptions); + } + + @java.lang.Override + protected ContactCenterInsightsFutureStub build( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new ContactCenterInsightsFutureStub(channel, callOptions); + } + + /** + * + * + *
+     * 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 + deleteConversation( + com.google.cloud.contactcenterinsights.v1.DeleteConversationRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getDeleteConversationMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Creates an analysis. The long running operation is done when the analysis
+     * has completed.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture + createAnalysis(com.google.cloud.contactcenterinsights.v1.CreateAnalysisRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getCreateAnalysisMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * 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 + deleteAnalysis(com.google.cloud.contactcenterinsights.v1.DeleteAnalysisRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getDeleteAnalysisMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Analyzes multiple conversations in a single request.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture + bulkAnalyzeConversations( + com.google.cloud.contactcenterinsights.v1.BulkAnalyzeConversationsRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getBulkAnalyzeConversationsMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Imports conversations and processes them according to the user's
+     * configuration.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture + ingestConversations( + com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getIngestConversationsMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Export insights data to a destination defined in the request body.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture + exportInsightsData( + com.google.cloud.contactcenterinsights.v1.ExportInsightsDataRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getExportInsightsDataMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Creates an issue model.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture + createIssueModel( + com.google.cloud.contactcenterinsights.v1.CreateIssueModelRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getCreateIssueModelMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * 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 + deleteIssueModel( + com.google.cloud.contactcenterinsights.v1.DeleteIssueModelRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(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.common.util.concurrent.ListenableFuture + deployIssueModel( + com.google.cloud.contactcenterinsights.v1.DeployIssueModelRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getDeployIssueModelMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * 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 + undeployIssueModel( + com.google.cloud.contactcenterinsights.v1.UndeployIssueModelRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getUndeployIssueModelMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * 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); + } + + /** + * + * + *
+     * Deletes an issue.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture + deleteIssue(com.google.cloud.contactcenterinsights.v1.DeleteIssueRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getDeleteIssueMethod(), 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 + deletePhraseMatcher( + com.google.cloud.contactcenterinsights.v1.DeletePhraseMatcherRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getDeletePhraseMatcherMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * 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 deleteView( + com.google.cloud.contactcenterinsights.v1.DeleteViewRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getDeleteViewMethod(), getCallOptions()), request); + } + } + + private static final int METHODID_CREATE_CONVERSATION = 0; + private static final int METHODID_UPDATE_CONVERSATION = 1; + private static final int METHODID_GET_CONVERSATION = 2; + private static final int METHODID_LIST_CONVERSATIONS = 3; + private static final int METHODID_DELETE_CONVERSATION = 4; + private static final int METHODID_CREATE_ANALYSIS = 5; + private static final int METHODID_GET_ANALYSIS = 6; + private static final int METHODID_LIST_ANALYSES = 7; + private static final int METHODID_DELETE_ANALYSIS = 8; + private static final int METHODID_BULK_ANALYZE_CONVERSATIONS = 9; + private static final int METHODID_INGEST_CONVERSATIONS = 10; + private static final int METHODID_EXPORT_INSIGHTS_DATA = 11; + private static final int METHODID_CREATE_ISSUE_MODEL = 12; + private static final int METHODID_UPDATE_ISSUE_MODEL = 13; + private static final int METHODID_GET_ISSUE_MODEL = 14; + private static final int METHODID_LIST_ISSUE_MODELS = 15; + private static final int METHODID_DELETE_ISSUE_MODEL = 16; + private static final int METHODID_DEPLOY_ISSUE_MODEL = 17; + private static final int METHODID_UNDEPLOY_ISSUE_MODEL = 18; + private static final int METHODID_GET_ISSUE = 19; + private static final int METHODID_LIST_ISSUES = 20; + private static final int METHODID_UPDATE_ISSUE = 21; + private static final int METHODID_DELETE_ISSUE = 22; + private static final int METHODID_CALCULATE_ISSUE_MODEL_STATS = 23; + private static final int METHODID_CREATE_PHRASE_MATCHER = 24; + private static final int METHODID_GET_PHRASE_MATCHER = 25; + private static final int METHODID_LIST_PHRASE_MATCHERS = 26; + private static final int METHODID_DELETE_PHRASE_MATCHER = 27; + private static final int METHODID_UPDATE_PHRASE_MATCHER = 28; + private static final int METHODID_CALCULATE_STATS = 29; + private static final int METHODID_GET_SETTINGS = 30; + private static final int METHODID_UPDATE_SETTINGS = 31; + private static final int METHODID_CREATE_VIEW = 32; + private static final int METHODID_GET_VIEW = 33; + private static final int METHODID_LIST_VIEWS = 34; + private static final int METHODID_UPDATE_VIEW = 35; + private static final int METHODID_DELETE_VIEW = 36; + + private static final class MethodHandlers + implements io.grpc.stub.ServerCalls.UnaryMethod, + io.grpc.stub.ServerCalls.ServerStreamingMethod, + io.grpc.stub.ServerCalls.ClientStreamingMethod, + io.grpc.stub.ServerCalls.BidiStreamingMethod { + private final ContactCenterInsightsImplBase serviceImpl; + private final int methodId; + + MethodHandlers(ContactCenterInsightsImplBase serviceImpl, int methodId) { + this.serviceImpl = serviceImpl; + this.methodId = methodId; + } + + @java.lang.Override + @java.lang.SuppressWarnings("unchecked") + public void invoke(Req request, io.grpc.stub.StreamObserver responseObserver) { + switch (methodId) { + case METHODID_CREATE_CONVERSATION: + serviceImpl.createConversation( + (com.google.cloud.contactcenterinsights.v1.CreateConversationRequest) request, + (io.grpc.stub.StreamObserver) + responseObserver); + break; + case METHODID_UPDATE_CONVERSATION: + serviceImpl.updateConversation( + (com.google.cloud.contactcenterinsights.v1.UpdateConversationRequest) request, + (io.grpc.stub.StreamObserver) + responseObserver); + break; + case METHODID_GET_CONVERSATION: + serviceImpl.getConversation( + (com.google.cloud.contactcenterinsights.v1.GetConversationRequest) request, + (io.grpc.stub.StreamObserver) + responseObserver); + break; + case METHODID_LIST_CONVERSATIONS: + serviceImpl.listConversations( + (com.google.cloud.contactcenterinsights.v1.ListConversationsRequest) request, + (io.grpc.stub.StreamObserver< + com.google.cloud.contactcenterinsights.v1.ListConversationsResponse>) + responseObserver); + break; + case METHODID_DELETE_CONVERSATION: + serviceImpl.deleteConversation( + (com.google.cloud.contactcenterinsights.v1.DeleteConversationRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_CREATE_ANALYSIS: + serviceImpl.createAnalysis( + (com.google.cloud.contactcenterinsights.v1.CreateAnalysisRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_GET_ANALYSIS: + serviceImpl.getAnalysis( + (com.google.cloud.contactcenterinsights.v1.GetAnalysisRequest) request, + (io.grpc.stub.StreamObserver) + responseObserver); + break; + case METHODID_LIST_ANALYSES: + serviceImpl.listAnalyses( + (com.google.cloud.contactcenterinsights.v1.ListAnalysesRequest) request, + (io.grpc.stub.StreamObserver< + com.google.cloud.contactcenterinsights.v1.ListAnalysesResponse>) + responseObserver); + break; + case METHODID_DELETE_ANALYSIS: + serviceImpl.deleteAnalysis( + (com.google.cloud.contactcenterinsights.v1.DeleteAnalysisRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_BULK_ANALYZE_CONVERSATIONS: + serviceImpl.bulkAnalyzeConversations( + (com.google.cloud.contactcenterinsights.v1.BulkAnalyzeConversationsRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_INGEST_CONVERSATIONS: + serviceImpl.ingestConversations( + (com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_EXPORT_INSIGHTS_DATA: + serviceImpl.exportInsightsData( + (com.google.cloud.contactcenterinsights.v1.ExportInsightsDataRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_CREATE_ISSUE_MODEL: + serviceImpl.createIssueModel( + (com.google.cloud.contactcenterinsights.v1.CreateIssueModelRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_UPDATE_ISSUE_MODEL: + serviceImpl.updateIssueModel( + (com.google.cloud.contactcenterinsights.v1.UpdateIssueModelRequest) request, + (io.grpc.stub.StreamObserver) + responseObserver); + break; + case METHODID_GET_ISSUE_MODEL: + serviceImpl.getIssueModel( + (com.google.cloud.contactcenterinsights.v1.GetIssueModelRequest) request, + (io.grpc.stub.StreamObserver) + responseObserver); + break; + case METHODID_LIST_ISSUE_MODELS: + serviceImpl.listIssueModels( + (com.google.cloud.contactcenterinsights.v1.ListIssueModelsRequest) request, + (io.grpc.stub.StreamObserver< + com.google.cloud.contactcenterinsights.v1.ListIssueModelsResponse>) + responseObserver); + break; + case METHODID_DELETE_ISSUE_MODEL: + serviceImpl.deleteIssueModel( + (com.google.cloud.contactcenterinsights.v1.DeleteIssueModelRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_DEPLOY_ISSUE_MODEL: + serviceImpl.deployIssueModel( + (com.google.cloud.contactcenterinsights.v1.DeployIssueModelRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_UNDEPLOY_ISSUE_MODEL: + serviceImpl.undeployIssueModel( + (com.google.cloud.contactcenterinsights.v1.UndeployIssueModelRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_GET_ISSUE: + serviceImpl.getIssue( + (com.google.cloud.contactcenterinsights.v1.GetIssueRequest) request, + (io.grpc.stub.StreamObserver) + responseObserver); + break; + case METHODID_LIST_ISSUES: + serviceImpl.listIssues( + (com.google.cloud.contactcenterinsights.v1.ListIssuesRequest) request, + (io.grpc.stub.StreamObserver< + com.google.cloud.contactcenterinsights.v1.ListIssuesResponse>) + responseObserver); + break; + case METHODID_UPDATE_ISSUE: + serviceImpl.updateIssue( + (com.google.cloud.contactcenterinsights.v1.UpdateIssueRequest) request, + (io.grpc.stub.StreamObserver) + responseObserver); + break; + case METHODID_DELETE_ISSUE: + serviceImpl.deleteIssue( + (com.google.cloud.contactcenterinsights.v1.DeleteIssueRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_CALCULATE_ISSUE_MODEL_STATS: + serviceImpl.calculateIssueModelStats( + (com.google.cloud.contactcenterinsights.v1.CalculateIssueModelStatsRequest) request, + (io.grpc.stub.StreamObserver< + com.google.cloud.contactcenterinsights.v1.CalculateIssueModelStatsResponse>) + responseObserver); + break; + case METHODID_CREATE_PHRASE_MATCHER: + serviceImpl.createPhraseMatcher( + (com.google.cloud.contactcenterinsights.v1.CreatePhraseMatcherRequest) request, + (io.grpc.stub.StreamObserver) + responseObserver); + break; + case METHODID_GET_PHRASE_MATCHER: + serviceImpl.getPhraseMatcher( + (com.google.cloud.contactcenterinsights.v1.GetPhraseMatcherRequest) request, + (io.grpc.stub.StreamObserver) + responseObserver); + break; + case METHODID_LIST_PHRASE_MATCHERS: + serviceImpl.listPhraseMatchers( + (com.google.cloud.contactcenterinsights.v1.ListPhraseMatchersRequest) request, + (io.grpc.stub.StreamObserver< + com.google.cloud.contactcenterinsights.v1.ListPhraseMatchersResponse>) + responseObserver); + break; + case METHODID_DELETE_PHRASE_MATCHER: + serviceImpl.deletePhraseMatcher( + (com.google.cloud.contactcenterinsights.v1.DeletePhraseMatcherRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_UPDATE_PHRASE_MATCHER: + serviceImpl.updatePhraseMatcher( + (com.google.cloud.contactcenterinsights.v1.UpdatePhraseMatcherRequest) request, + (io.grpc.stub.StreamObserver) + responseObserver); + break; + case METHODID_CALCULATE_STATS: + serviceImpl.calculateStats( + (com.google.cloud.contactcenterinsights.v1.CalculateStatsRequest) request, + (io.grpc.stub.StreamObserver< + com.google.cloud.contactcenterinsights.v1.CalculateStatsResponse>) + responseObserver); + break; + case METHODID_GET_SETTINGS: + serviceImpl.getSettings( + (com.google.cloud.contactcenterinsights.v1.GetSettingsRequest) request, + (io.grpc.stub.StreamObserver) + responseObserver); + break; + case METHODID_UPDATE_SETTINGS: + serviceImpl.updateSettings( + (com.google.cloud.contactcenterinsights.v1.UpdateSettingsRequest) request, + (io.grpc.stub.StreamObserver) + responseObserver); + break; + case METHODID_CREATE_VIEW: + serviceImpl.createView( + (com.google.cloud.contactcenterinsights.v1.CreateViewRequest) request, + (io.grpc.stub.StreamObserver) + responseObserver); + break; + case METHODID_GET_VIEW: + serviceImpl.getView( + (com.google.cloud.contactcenterinsights.v1.GetViewRequest) request, + (io.grpc.stub.StreamObserver) + responseObserver); + break; + case METHODID_LIST_VIEWS: + serviceImpl.listViews( + (com.google.cloud.contactcenterinsights.v1.ListViewsRequest) request, + (io.grpc.stub.StreamObserver< + com.google.cloud.contactcenterinsights.v1.ListViewsResponse>) + responseObserver); + break; + case METHODID_UPDATE_VIEW: + serviceImpl.updateView( + (com.google.cloud.contactcenterinsights.v1.UpdateViewRequest) request, + (io.grpc.stub.StreamObserver) + responseObserver); + break; + case METHODID_DELETE_VIEW: + serviceImpl.deleteView( + (com.google.cloud.contactcenterinsights.v1.DeleteViewRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + default: + throw new AssertionError(); + } + } + + @java.lang.Override + @java.lang.SuppressWarnings("unchecked") + public io.grpc.stub.StreamObserver invoke( + io.grpc.stub.StreamObserver responseObserver) { + switch (methodId) { + default: + throw new AssertionError(); + } + } + } + + private abstract static class ContactCenterInsightsBaseDescriptorSupplier + implements io.grpc.protobuf.ProtoFileDescriptorSupplier, + io.grpc.protobuf.ProtoServiceDescriptorSupplier { + ContactCenterInsightsBaseDescriptorSupplier() {} + + @java.lang.Override + public com.google.protobuf.Descriptors.FileDescriptor getFileDescriptor() { + return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto.getDescriptor(); + } + + @java.lang.Override + public com.google.protobuf.Descriptors.ServiceDescriptor getServiceDescriptor() { + return getFileDescriptor().findServiceByName("ContactCenterInsights"); + } + } + + private static final class ContactCenterInsightsFileDescriptorSupplier + extends ContactCenterInsightsBaseDescriptorSupplier { + ContactCenterInsightsFileDescriptorSupplier() {} + } + + private static final class ContactCenterInsightsMethodDescriptorSupplier + extends ContactCenterInsightsBaseDescriptorSupplier + implements io.grpc.protobuf.ProtoMethodDescriptorSupplier { + private final String methodName; + + ContactCenterInsightsMethodDescriptorSupplier(String methodName) { + this.methodName = methodName; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.MethodDescriptor getMethodDescriptor() { + return getServiceDescriptor().findMethodByName(methodName); + } + } + + private static volatile io.grpc.ServiceDescriptor serviceDescriptor; + + public static io.grpc.ServiceDescriptor getServiceDescriptor() { + io.grpc.ServiceDescriptor result = serviceDescriptor; + if (result == null) { + synchronized (ContactCenterInsightsGrpc.class) { + result = serviceDescriptor; + if (result == null) { + serviceDescriptor = + result = + io.grpc.ServiceDescriptor.newBuilder(SERVICE_NAME) + .setSchemaDescriptor(new ContactCenterInsightsFileDescriptorSupplier()) + .addMethod(getCreateConversationMethod()) + .addMethod(getUpdateConversationMethod()) + .addMethod(getGetConversationMethod()) + .addMethod(getListConversationsMethod()) + .addMethod(getDeleteConversationMethod()) + .addMethod(getCreateAnalysisMethod()) + .addMethod(getGetAnalysisMethod()) + .addMethod(getListAnalysesMethod()) + .addMethod(getDeleteAnalysisMethod()) + .addMethod(getBulkAnalyzeConversationsMethod()) + .addMethod(getIngestConversationsMethod()) + .addMethod(getExportInsightsDataMethod()) + .addMethod(getCreateIssueModelMethod()) + .addMethod(getUpdateIssueModelMethod()) + .addMethod(getGetIssueModelMethod()) + .addMethod(getListIssueModelsMethod()) + .addMethod(getDeleteIssueModelMethod()) + .addMethod(getDeployIssueModelMethod()) + .addMethod(getUndeployIssueModelMethod()) + .addMethod(getGetIssueMethod()) + .addMethod(getListIssuesMethod()) + .addMethod(getUpdateIssueMethod()) + .addMethod(getDeleteIssueMethod()) + .addMethod(getCalculateIssueModelStatsMethod()) + .addMethod(getCreatePhraseMatcherMethod()) + .addMethod(getGetPhraseMatcherMethod()) + .addMethod(getListPhraseMatchersMethod()) + .addMethod(getDeletePhraseMatcherMethod()) + .addMethod(getUpdatePhraseMatcherMethod()) + .addMethod(getCalculateStatsMethod()) + .addMethod(getGetSettingsMethod()) + .addMethod(getUpdateSettingsMethod()) + .addMethod(getCreateViewMethod()) + .addMethod(getGetViewMethod()) + .addMethod(getListViewsMethod()) + .addMethod(getUpdateViewMethod()) + .addMethod(getDeleteViewMethod()) + .build(); + } + } + } + return result; + } +} diff --git a/owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/Analysis.java b/java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/Analysis.java similarity index 65% rename from owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/Analysis.java rename to java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/Analysis.java index 9ed4a4585417..1625f64325a6 100644 --- a/owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/Analysis.java +++ b/java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/Analysis.java @@ -1,57 +1,79 @@ +/* + * 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. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/contactcenterinsights/v1/resources.proto package com.google.cloud.contactcenterinsights.v1; /** + * + * *
  * The analysis resource.
  * 
* * Protobuf type {@code google.cloud.contactcenterinsights.v1.Analysis} */ -public final class Analysis extends - com.google.protobuf.GeneratedMessageV3 implements +public final class Analysis extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.contactcenterinsights.v1.Analysis) AnalysisOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use Analysis.newBuilder() to construct. private Analysis(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private Analysis() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new Analysis(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.contactcenterinsights.v1.ResourcesProto.internal_static_google_cloud_contactcenterinsights_v1_Analysis_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.contactcenterinsights.v1.ResourcesProto + .internal_static_google_cloud_contactcenterinsights_v1_Analysis_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.contactcenterinsights.v1.ResourcesProto.internal_static_google_cloud_contactcenterinsights_v1_Analysis_fieldAccessorTable + return com.google.cloud.contactcenterinsights.v1.ResourcesProto + .internal_static_google_cloud_contactcenterinsights_v1_Analysis_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.contactcenterinsights.v1.Analysis.class, com.google.cloud.contactcenterinsights.v1.Analysis.Builder.class); + com.google.cloud.contactcenterinsights.v1.Analysis.class, + com.google.cloud.contactcenterinsights.v1.Analysis.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; + @SuppressWarnings("serial") private volatile java.lang.Object name_ = ""; /** + * + * *
    * Immutable. The resource name of the analysis.
    * Format:
@@ -59,6 +81,7 @@ protected java.lang.Object newInstance(
    * 
* * string name = 1 [(.google.api.field_behavior) = IMMUTABLE]; + * * @return The name. */ @java.lang.Override @@ -67,14 +90,15 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** + * + * *
    * Immutable. The resource name of the analysis.
    * Format:
@@ -82,16 +106,15 @@ public java.lang.String getName() {
    * 
* * string name = 1 [(.google.api.field_behavior) = IMMUTABLE]; + * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -102,11 +125,15 @@ public java.lang.String getName() { public static final int REQUEST_TIME_FIELD_NUMBER = 2; private com.google.protobuf.Timestamp requestTime_; /** + * + * *
    * Output only. The time at which the analysis was requested.
    * 
* - * .google.protobuf.Timestamp request_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp request_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the requestTime field is set. */ @java.lang.Override @@ -114,11 +141,15 @@ public boolean hasRequestTime() { return requestTime_ != null; } /** + * + * *
    * Output only. The time at which the analysis was requested.
    * 
* - * .google.protobuf.Timestamp request_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp request_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The requestTime. */ @java.lang.Override @@ -126,11 +157,14 @@ public com.google.protobuf.Timestamp getRequestTime() { return requestTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : requestTime_; } /** + * + * *
    * Output only. The time at which the analysis was requested.
    * 
* - * .google.protobuf.Timestamp request_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp request_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ @java.lang.Override public com.google.protobuf.TimestampOrBuilder getRequestTimeOrBuilder() { @@ -140,12 +174,16 @@ public com.google.protobuf.TimestampOrBuilder getRequestTimeOrBuilder() { public static final int CREATE_TIME_FIELD_NUMBER = 3; private com.google.protobuf.Timestamp createTime_; /** + * + * *
    * Output only. The time at which the analysis was created, which occurs when
    * the long-running operation completes.
    * 
* - * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the createTime field is set. */ @java.lang.Override @@ -153,12 +191,16 @@ public boolean hasCreateTime() { return createTime_ != null; } /** + * + * *
    * Output only. The time at which the analysis was created, which occurs when
    * the long-running operation completes.
    * 
* - * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The createTime. */ @java.lang.Override @@ -166,12 +208,15 @@ public com.google.protobuf.Timestamp getCreateTime() { return createTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : createTime_; } /** + * + * *
    * Output only. The time at which the analysis was created, which occurs when
    * the long-running operation completes.
    * 
* - * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ @java.lang.Override public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { @@ -181,12 +226,17 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { public static final int ANALYSIS_RESULT_FIELD_NUMBER = 7; private com.google.cloud.contactcenterinsights.v1.AnalysisResult analysisResult_; /** + * + * *
    * Output only. The result of the analysis, which is populated when the
    * analysis finishes.
    * 
* - * .google.cloud.contactcenterinsights.v1.AnalysisResult analysis_result = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.contactcenterinsights.v1.AnalysisResult analysis_result = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the analysisResult field is set. */ @java.lang.Override @@ -194,40 +244,57 @@ public boolean hasAnalysisResult() { return analysisResult_ != null; } /** + * + * *
    * Output only. The result of the analysis, which is populated when the
    * analysis finishes.
    * 
* - * .google.cloud.contactcenterinsights.v1.AnalysisResult analysis_result = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.contactcenterinsights.v1.AnalysisResult analysis_result = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The analysisResult. */ @java.lang.Override public com.google.cloud.contactcenterinsights.v1.AnalysisResult getAnalysisResult() { - return analysisResult_ == null ? com.google.cloud.contactcenterinsights.v1.AnalysisResult.getDefaultInstance() : analysisResult_; + return analysisResult_ == null + ? com.google.cloud.contactcenterinsights.v1.AnalysisResult.getDefaultInstance() + : analysisResult_; } /** + * + * *
    * Output only. The result of the analysis, which is populated when the
    * analysis finishes.
    * 
* - * .google.cloud.contactcenterinsights.v1.AnalysisResult analysis_result = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.contactcenterinsights.v1.AnalysisResult analysis_result = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ @java.lang.Override - public com.google.cloud.contactcenterinsights.v1.AnalysisResultOrBuilder getAnalysisResultOrBuilder() { - return analysisResult_ == null ? com.google.cloud.contactcenterinsights.v1.AnalysisResult.getDefaultInstance() : analysisResult_; + public com.google.cloud.contactcenterinsights.v1.AnalysisResultOrBuilder + getAnalysisResultOrBuilder() { + return analysisResult_ == null + ? com.google.cloud.contactcenterinsights.v1.AnalysisResult.getDefaultInstance() + : analysisResult_; } public static final int ANNOTATOR_SELECTOR_FIELD_NUMBER = 8; private com.google.cloud.contactcenterinsights.v1.AnnotatorSelector annotatorSelector_; /** + * + * *
    * To select the annotators to run and the phrase matchers to use
    * (if any). If not specified, all annotators will be run.
    * 
* * .google.cloud.contactcenterinsights.v1.AnnotatorSelector annotator_selector = 8; + * * @return Whether the annotatorSelector field is set. */ @java.lang.Override @@ -235,19 +302,26 @@ public boolean hasAnnotatorSelector() { return annotatorSelector_ != null; } /** + * + * *
    * To select the annotators to run and the phrase matchers to use
    * (if any). If not specified, all annotators will be run.
    * 
* * .google.cloud.contactcenterinsights.v1.AnnotatorSelector annotator_selector = 8; + * * @return The annotatorSelector. */ @java.lang.Override public com.google.cloud.contactcenterinsights.v1.AnnotatorSelector getAnnotatorSelector() { - return annotatorSelector_ == null ? com.google.cloud.contactcenterinsights.v1.AnnotatorSelector.getDefaultInstance() : annotatorSelector_; + return annotatorSelector_ == null + ? com.google.cloud.contactcenterinsights.v1.AnnotatorSelector.getDefaultInstance() + : annotatorSelector_; } /** + * + * *
    * To select the annotators to run and the phrase matchers to use
    * (if any). If not specified, all annotators will be run.
@@ -256,11 +330,15 @@ public com.google.cloud.contactcenterinsights.v1.AnnotatorSelector getAnnotatorS
    * .google.cloud.contactcenterinsights.v1.AnnotatorSelector annotator_selector = 8;
    */
   @java.lang.Override
-  public com.google.cloud.contactcenterinsights.v1.AnnotatorSelectorOrBuilder getAnnotatorSelectorOrBuilder() {
-    return annotatorSelector_ == null ? com.google.cloud.contactcenterinsights.v1.AnnotatorSelector.getDefaultInstance() : annotatorSelector_;
+  public com.google.cloud.contactcenterinsights.v1.AnnotatorSelectorOrBuilder
+      getAnnotatorSelectorOrBuilder() {
+    return annotatorSelector_ == null
+        ? com.google.cloud.contactcenterinsights.v1.AnnotatorSelector.getDefaultInstance()
+        : annotatorSelector_;
   }
 
   private byte memoizedIsInitialized = -1;
+
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -272,8 +350,7 @@ public final boolean isInitialized() {
   }
 
   @java.lang.Override
-  public void writeTo(com.google.protobuf.CodedOutputStream output)
-                      throws java.io.IOException {
+  public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
     if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) {
       com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_);
     }
@@ -302,20 +379,16 @@ public int getSerializedSize() {
       size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_);
     }
     if (requestTime_ != null) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeMessageSize(2, getRequestTime());
+      size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getRequestTime());
     }
     if (createTime_ != null) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeMessageSize(3, getCreateTime());
+      size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getCreateTime());
     }
     if (analysisResult_ != null) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeMessageSize(7, getAnalysisResult());
+      size += com.google.protobuf.CodedOutputStream.computeMessageSize(7, getAnalysisResult());
     }
     if (annotatorSelector_ != null) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeMessageSize(8, getAnnotatorSelector());
+      size += com.google.protobuf.CodedOutputStream.computeMessageSize(8, getAnnotatorSelector());
     }
     size += getUnknownFields().getSerializedSize();
     memoizedSize = size;
@@ -325,34 +398,30 @@ public int getSerializedSize() {
   @java.lang.Override
   public boolean equals(final java.lang.Object obj) {
     if (obj == this) {
-     return true;
+      return true;
     }
     if (!(obj instanceof com.google.cloud.contactcenterinsights.v1.Analysis)) {
       return super.equals(obj);
     }
-    com.google.cloud.contactcenterinsights.v1.Analysis other = (com.google.cloud.contactcenterinsights.v1.Analysis) obj;
+    com.google.cloud.contactcenterinsights.v1.Analysis other =
+        (com.google.cloud.contactcenterinsights.v1.Analysis) obj;
 
-    if (!getName()
-        .equals(other.getName())) return false;
+    if (!getName().equals(other.getName())) return false;
     if (hasRequestTime() != other.hasRequestTime()) return false;
     if (hasRequestTime()) {
-      if (!getRequestTime()
-          .equals(other.getRequestTime())) return false;
+      if (!getRequestTime().equals(other.getRequestTime())) return false;
     }
     if (hasCreateTime() != other.hasCreateTime()) return false;
     if (hasCreateTime()) {
-      if (!getCreateTime()
-          .equals(other.getCreateTime())) return false;
+      if (!getCreateTime().equals(other.getCreateTime())) return false;
     }
     if (hasAnalysisResult() != other.hasAnalysisResult()) return false;
     if (hasAnalysisResult()) {
-      if (!getAnalysisResult()
-          .equals(other.getAnalysisResult())) return false;
+      if (!getAnalysisResult().equals(other.getAnalysisResult())) return false;
     }
     if (hasAnnotatorSelector() != other.hasAnnotatorSelector()) return false;
     if (hasAnnotatorSelector()) {
-      if (!getAnnotatorSelector()
-          .equals(other.getAnnotatorSelector())) return false;
+      if (!getAnnotatorSelector().equals(other.getAnnotatorSelector())) return false;
     }
     if (!getUnknownFields().equals(other.getUnknownFields())) return false;
     return true;
@@ -389,129 +458,135 @@ public int hashCode() {
   }
 
   public static com.google.cloud.contactcenterinsights.v1.Analysis parseFrom(
-      java.nio.ByteBuffer data)
-      throws com.google.protobuf.InvalidProtocolBufferException {
+      java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.cloud.contactcenterinsights.v1.Analysis parseFrom(
-      java.nio.ByteBuffer data,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
+
   public static com.google.cloud.contactcenterinsights.v1.Analysis parseFrom(
       com.google.protobuf.ByteString data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.cloud.contactcenterinsights.v1.Analysis parseFrom(
       com.google.protobuf.ByteString data,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
+
   public static com.google.cloud.contactcenterinsights.v1.Analysis parseFrom(byte[] data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.cloud.contactcenterinsights.v1.Analysis parseFrom(
-      byte[] data,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-  public static com.google.cloud.contactcenterinsights.v1.Analysis parseFrom(java.io.InputStream input)
-      throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input);
+
+  public static com.google.cloud.contactcenterinsights.v1.Analysis parseFrom(
+      java.io.InputStream input) throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
   }
+
   public static com.google.cloud.contactcenterinsights.v1.Analysis parseFrom(
-      java.io.InputStream input,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
+        PARSER, input, extensionRegistry);
   }
-  public static com.google.cloud.contactcenterinsights.v1.Analysis parseDelimitedFrom(java.io.InputStream input)
-      throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseDelimitedWithIOException(PARSER, input);
+
+  public static com.google.cloud.contactcenterinsights.v1.Analysis parseDelimitedFrom(
+      java.io.InputStream input) throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
   }
+
   public static com.google.cloud.contactcenterinsights.v1.Analysis parseDelimitedFrom(
-      java.io.InputStream input,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(
+        PARSER, input, extensionRegistry);
   }
+
   public static com.google.cloud.contactcenterinsights.v1.Analysis parseFrom(
-      com.google.protobuf.CodedInputStream input)
-      throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input);
+      com.google.protobuf.CodedInputStream input) throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
   }
+
   public static com.google.cloud.contactcenterinsights.v1.Analysis parseFrom(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
+        PARSER, input, extensionRegistry);
   }
 
   @java.lang.Override
-  public Builder newBuilderForType() { return newBuilder(); }
+  public Builder newBuilderForType() {
+    return newBuilder();
+  }
+
   public static Builder newBuilder() {
     return DEFAULT_INSTANCE.toBuilder();
   }
+
   public static Builder newBuilder(com.google.cloud.contactcenterinsights.v1.Analysis prototype) {
     return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
   }
+
   @java.lang.Override
   public Builder toBuilder() {
-    return this == DEFAULT_INSTANCE
-        ? new Builder() : new Builder().mergeFrom(this);
+    return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
   }
 
   @java.lang.Override
-  protected Builder newBuilderForType(
-      com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+  protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
     Builder builder = new Builder(parent);
     return builder;
   }
   /**
+   *
+   *
    * 
    * The analysis resource.
    * 
* * Protobuf type {@code google.cloud.contactcenterinsights.v1.Analysis} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.contactcenterinsights.v1.Analysis) com.google.cloud.contactcenterinsights.v1.AnalysisOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.contactcenterinsights.v1.ResourcesProto.internal_static_google_cloud_contactcenterinsights_v1_Analysis_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.contactcenterinsights.v1.ResourcesProto + .internal_static_google_cloud_contactcenterinsights_v1_Analysis_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.contactcenterinsights.v1.ResourcesProto.internal_static_google_cloud_contactcenterinsights_v1_Analysis_fieldAccessorTable + return com.google.cloud.contactcenterinsights.v1.ResourcesProto + .internal_static_google_cloud_contactcenterinsights_v1_Analysis_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.contactcenterinsights.v1.Analysis.class, com.google.cloud.contactcenterinsights.v1.Analysis.Builder.class); + com.google.cloud.contactcenterinsights.v1.Analysis.class, + com.google.cloud.contactcenterinsights.v1.Analysis.Builder.class); } // Construct using com.google.cloud.contactcenterinsights.v1.Analysis.newBuilder() - private Builder() { - - } + private Builder() {} - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -541,9 +616,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.contactcenterinsights.v1.ResourcesProto.internal_static_google_cloud_contactcenterinsights_v1_Analysis_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.contactcenterinsights.v1.ResourcesProto + .internal_static_google_cloud_contactcenterinsights_v1_Analysis_descriptor; } @java.lang.Override @@ -562,8 +637,11 @@ public com.google.cloud.contactcenterinsights.v1.Analysis build() { @java.lang.Override public com.google.cloud.contactcenterinsights.v1.Analysis buildPartial() { - com.google.cloud.contactcenterinsights.v1.Analysis result = new com.google.cloud.contactcenterinsights.v1.Analysis(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.cloud.contactcenterinsights.v1.Analysis result = + new com.google.cloud.contactcenterinsights.v1.Analysis(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } @@ -574,24 +652,21 @@ private void buildPartial0(com.google.cloud.contactcenterinsights.v1.Analysis re result.name_ = name_; } if (((from_bitField0_ & 0x00000002) != 0)) { - result.requestTime_ = requestTimeBuilder_ == null - ? requestTime_ - : requestTimeBuilder_.build(); + result.requestTime_ = + requestTimeBuilder_ == null ? requestTime_ : requestTimeBuilder_.build(); } if (((from_bitField0_ & 0x00000004) != 0)) { - result.createTime_ = createTimeBuilder_ == null - ? createTime_ - : createTimeBuilder_.build(); + result.createTime_ = createTimeBuilder_ == null ? createTime_ : createTimeBuilder_.build(); } if (((from_bitField0_ & 0x00000008) != 0)) { - result.analysisResult_ = analysisResultBuilder_ == null - ? analysisResult_ - : analysisResultBuilder_.build(); + result.analysisResult_ = + analysisResultBuilder_ == null ? analysisResult_ : analysisResultBuilder_.build(); } if (((from_bitField0_ & 0x00000010) != 0)) { - result.annotatorSelector_ = annotatorSelectorBuilder_ == null - ? annotatorSelector_ - : annotatorSelectorBuilder_.build(); + result.annotatorSelector_ = + annotatorSelectorBuilder_ == null + ? annotatorSelector_ + : annotatorSelectorBuilder_.build(); } } @@ -599,38 +674,39 @@ private void buildPartial0(com.google.cloud.contactcenterinsights.v1.Analysis re public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.contactcenterinsights.v1.Analysis) { - return mergeFrom((com.google.cloud.contactcenterinsights.v1.Analysis)other); + return mergeFrom((com.google.cloud.contactcenterinsights.v1.Analysis) other); } else { super.mergeFrom(other); return this; @@ -638,7 +714,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.contactcenterinsights.v1.Analysis other) { - if (other == com.google.cloud.contactcenterinsights.v1.Analysis.getDefaultInstance()) return this; + if (other == com.google.cloud.contactcenterinsights.v1.Analysis.getDefaultInstance()) + return this; if (!other.getName().isEmpty()) { name_ = other.name_; bitField0_ |= 0x00000001; @@ -682,45 +759,44 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - name_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: { - input.readMessage( - getRequestTimeFieldBuilder().getBuilder(), - extensionRegistry); - bitField0_ |= 0x00000002; - break; - } // case 18 - case 26: { - input.readMessage( - getCreateTimeFieldBuilder().getBuilder(), - extensionRegistry); - bitField0_ |= 0x00000004; - break; - } // case 26 - case 58: { - input.readMessage( - getAnalysisResultFieldBuilder().getBuilder(), - extensionRegistry); - bitField0_ |= 0x00000008; - break; - } // case 58 - case 66: { - input.readMessage( - getAnnotatorSelectorFieldBuilder().getBuilder(), - extensionRegistry); - bitField0_ |= 0x00000010; - break; - } // case 66 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + name_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: + { + input.readMessage(getRequestTimeFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000002; + break; + } // case 18 + case 26: + { + input.readMessage(getCreateTimeFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000004; + break; + } // case 26 + case 58: + { + input.readMessage(getAnalysisResultFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000008; + break; + } // case 58 + case 66: + { + input.readMessage( + getAnnotatorSelectorFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000010; + break; + } // case 66 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -730,10 +806,13 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private java.lang.Object name_ = ""; /** + * + * *
      * Immutable. The resource name of the analysis.
      * Format:
@@ -741,13 +820,13 @@ public Builder mergeFrom(
      * 
* * string name = 1 [(.google.api.field_behavior) = IMMUTABLE]; + * * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -756,6 +835,8 @@ public java.lang.String getName() { } } /** + * + * *
      * Immutable. The resource name of the analysis.
      * Format:
@@ -763,15 +844,14 @@ public java.lang.String getName() {
      * 
* * string name = 1 [(.google.api.field_behavior) = IMMUTABLE]; + * * @return The bytes for name. */ - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -779,6 +859,8 @@ public java.lang.String getName() { } } /** + * + * *
      * Immutable. The resource name of the analysis.
      * Format:
@@ -786,18 +868,22 @@ public java.lang.String getName() {
      * 
* * string name = 1 [(.google.api.field_behavior) = IMMUTABLE]; + * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setName(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } name_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
      * Immutable. The resource name of the analysis.
      * Format:
@@ -805,6 +891,7 @@ public Builder setName(
      * 
* * string name = 1 [(.google.api.field_behavior) = IMMUTABLE]; + * * @return This builder for chaining. */ public Builder clearName() { @@ -814,6 +901,8 @@ public Builder clearName() { return this; } /** + * + * *
      * Immutable. The resource name of the analysis.
      * Format:
@@ -821,12 +910,14 @@ public Builder clearName() {
      * 
* * string name = 1 [(.google.api.field_behavior) = IMMUTABLE]; + * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setNameBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); name_ = value; bitField0_ |= 0x00000001; @@ -836,39 +927,58 @@ public Builder setNameBytes( private com.google.protobuf.Timestamp requestTime_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> requestTimeBuilder_; + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder> + requestTimeBuilder_; /** + * + * *
      * Output only. The time at which the analysis was requested.
      * 
* - * .google.protobuf.Timestamp request_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp request_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the requestTime field is set. */ public boolean hasRequestTime() { return ((bitField0_ & 0x00000002) != 0); } /** + * + * *
      * Output only. The time at which the analysis was requested.
      * 
* - * .google.protobuf.Timestamp request_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp request_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The requestTime. */ public com.google.protobuf.Timestamp getRequestTime() { if (requestTimeBuilder_ == null) { - return requestTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : requestTime_; + return requestTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : requestTime_; } else { return requestTimeBuilder_.getMessage(); } } /** + * + * *
      * Output only. The time at which the analysis was requested.
      * 
* - * .google.protobuf.Timestamp request_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp request_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder setRequestTime(com.google.protobuf.Timestamp value) { if (requestTimeBuilder_ == null) { @@ -884,14 +994,17 @@ public Builder setRequestTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * Output only. The time at which the analysis was requested.
      * 
* - * .google.protobuf.Timestamp request_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp request_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - public Builder setRequestTime( - com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setRequestTime(com.google.protobuf.Timestamp.Builder builderForValue) { if (requestTimeBuilder_ == null) { requestTime_ = builderForValue.build(); } else { @@ -902,17 +1015,21 @@ public Builder setRequestTime( return this; } /** + * + * *
      * Output only. The time at which the analysis was requested.
      * 
* - * .google.protobuf.Timestamp request_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp request_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder mergeRequestTime(com.google.protobuf.Timestamp value) { if (requestTimeBuilder_ == null) { - if (((bitField0_ & 0x00000002) != 0) && - requestTime_ != null && - requestTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { + if (((bitField0_ & 0x00000002) != 0) + && requestTime_ != null + && requestTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { getRequestTimeBuilder().mergeFrom(value); } else { requestTime_ = value; @@ -925,11 +1042,15 @@ public Builder mergeRequestTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * Output only. The time at which the analysis was requested.
      * 
* - * .google.protobuf.Timestamp request_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp request_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder clearRequestTime() { bitField0_ = (bitField0_ & ~0x00000002); @@ -942,11 +1063,15 @@ public Builder clearRequestTime() { return this; } /** + * + * *
      * Output only. The time at which the analysis was requested.
      * 
* - * .google.protobuf.Timestamp request_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp request_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public com.google.protobuf.Timestamp.Builder getRequestTimeBuilder() { bitField0_ |= 0x00000002; @@ -954,36 +1079,48 @@ public com.google.protobuf.Timestamp.Builder getRequestTimeBuilder() { return getRequestTimeFieldBuilder().getBuilder(); } /** + * + * *
      * Output only. The time at which the analysis was requested.
      * 
* - * .google.protobuf.Timestamp request_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp request_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public com.google.protobuf.TimestampOrBuilder getRequestTimeOrBuilder() { if (requestTimeBuilder_ != null) { return requestTimeBuilder_.getMessageOrBuilder(); } else { - return requestTime_ == null ? - com.google.protobuf.Timestamp.getDefaultInstance() : requestTime_; + return requestTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : requestTime_; } } /** + * + * *
      * Output only. The time at which the analysis was requested.
      * 
* - * .google.protobuf.Timestamp request_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp request_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder> getRequestTimeFieldBuilder() { if (requestTimeBuilder_ == null) { - requestTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( - getRequestTime(), - getParentForChildren(), - isClean()); + requestTimeBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder>( + getRequestTime(), getParentForChildren(), isClean()); requestTime_ = null; } return requestTimeBuilder_; @@ -991,42 +1128,61 @@ public com.google.protobuf.TimestampOrBuilder getRequestTimeOrBuilder() { private com.google.protobuf.Timestamp createTime_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> createTimeBuilder_; + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder> + createTimeBuilder_; /** + * + * *
      * Output only. The time at which the analysis was created, which occurs when
      * the long-running operation completes.
      * 
* - * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the createTime field is set. */ public boolean hasCreateTime() { return ((bitField0_ & 0x00000004) != 0); } /** + * + * *
      * Output only. The time at which the analysis was created, which occurs when
      * the long-running operation completes.
      * 
* - * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The createTime. */ public com.google.protobuf.Timestamp getCreateTime() { if (createTimeBuilder_ == null) { - return createTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : createTime_; + return createTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : createTime_; } else { return createTimeBuilder_.getMessage(); } } /** + * + * *
      * Output only. The time at which the analysis was created, which occurs when
      * the long-running operation completes.
      * 
* - * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder setCreateTime(com.google.protobuf.Timestamp value) { if (createTimeBuilder_ == null) { @@ -1042,15 +1198,18 @@ public Builder setCreateTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * Output only. The time at which the analysis was created, which occurs when
      * the long-running operation completes.
      * 
* - * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - public Builder setCreateTime( - com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setCreateTime(com.google.protobuf.Timestamp.Builder builderForValue) { if (createTimeBuilder_ == null) { createTime_ = builderForValue.build(); } else { @@ -1061,18 +1220,22 @@ public Builder setCreateTime( return this; } /** + * + * *
      * Output only. The time at which the analysis was created, which occurs when
      * the long-running operation completes.
      * 
* - * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder mergeCreateTime(com.google.protobuf.Timestamp value) { if (createTimeBuilder_ == null) { - if (((bitField0_ & 0x00000004) != 0) && - createTime_ != null && - createTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { + if (((bitField0_ & 0x00000004) != 0) + && createTime_ != null + && createTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { getCreateTimeBuilder().mergeFrom(value); } else { createTime_ = value; @@ -1085,12 +1248,16 @@ public Builder mergeCreateTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * Output only. The time at which the analysis was created, which occurs when
      * the long-running operation completes.
      * 
* - * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder clearCreateTime() { bitField0_ = (bitField0_ & ~0x00000004); @@ -1103,12 +1270,16 @@ public Builder clearCreateTime() { return this; } /** + * + * *
      * Output only. The time at which the analysis was created, which occurs when
      * the long-running operation completes.
      * 
* - * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public com.google.protobuf.Timestamp.Builder getCreateTimeBuilder() { bitField0_ |= 0x00000004; @@ -1116,38 +1287,50 @@ public com.google.protobuf.Timestamp.Builder getCreateTimeBuilder() { return getCreateTimeFieldBuilder().getBuilder(); } /** + * + * *
      * Output only. The time at which the analysis was created, which occurs when
      * the long-running operation completes.
      * 
* - * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { if (createTimeBuilder_ != null) { return createTimeBuilder_.getMessageOrBuilder(); } else { - return createTime_ == null ? - com.google.protobuf.Timestamp.getDefaultInstance() : createTime_; + return createTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : createTime_; } } /** + * + * *
      * Output only. The time at which the analysis was created, which occurs when
      * the long-running operation completes.
      * 
* - * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder> getCreateTimeFieldBuilder() { if (createTimeBuilder_ == null) { - createTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( - getCreateTime(), - getParentForChildren(), - isClean()); + createTimeBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder>( + getCreateTime(), getParentForChildren(), isClean()); createTime_ = null; } return createTimeBuilder_; @@ -1155,44 +1338,64 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { private com.google.cloud.contactcenterinsights.v1.AnalysisResult analysisResult_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.contactcenterinsights.v1.AnalysisResult, com.google.cloud.contactcenterinsights.v1.AnalysisResult.Builder, com.google.cloud.contactcenterinsights.v1.AnalysisResultOrBuilder> analysisResultBuilder_; + com.google.cloud.contactcenterinsights.v1.AnalysisResult, + com.google.cloud.contactcenterinsights.v1.AnalysisResult.Builder, + com.google.cloud.contactcenterinsights.v1.AnalysisResultOrBuilder> + analysisResultBuilder_; /** + * + * *
      * Output only. The result of the analysis, which is populated when the
      * analysis finishes.
      * 
* - * .google.cloud.contactcenterinsights.v1.AnalysisResult analysis_result = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.contactcenterinsights.v1.AnalysisResult analysis_result = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the analysisResult field is set. */ public boolean hasAnalysisResult() { return ((bitField0_ & 0x00000008) != 0); } /** + * + * *
      * Output only. The result of the analysis, which is populated when the
      * analysis finishes.
      * 
* - * .google.cloud.contactcenterinsights.v1.AnalysisResult analysis_result = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.contactcenterinsights.v1.AnalysisResult analysis_result = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The analysisResult. */ public com.google.cloud.contactcenterinsights.v1.AnalysisResult getAnalysisResult() { if (analysisResultBuilder_ == null) { - return analysisResult_ == null ? com.google.cloud.contactcenterinsights.v1.AnalysisResult.getDefaultInstance() : analysisResult_; + return analysisResult_ == null + ? com.google.cloud.contactcenterinsights.v1.AnalysisResult.getDefaultInstance() + : analysisResult_; } else { return analysisResultBuilder_.getMessage(); } } /** + * + * *
      * Output only. The result of the analysis, which is populated when the
      * analysis finishes.
      * 
* - * .google.cloud.contactcenterinsights.v1.AnalysisResult analysis_result = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.contactcenterinsights.v1.AnalysisResult analysis_result = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - public Builder setAnalysisResult(com.google.cloud.contactcenterinsights.v1.AnalysisResult value) { + public Builder setAnalysisResult( + com.google.cloud.contactcenterinsights.v1.AnalysisResult value) { if (analysisResultBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -1206,12 +1409,16 @@ public Builder setAnalysisResult(com.google.cloud.contactcenterinsights.v1.Analy return this; } /** + * + * *
      * Output only. The result of the analysis, which is populated when the
      * analysis finishes.
      * 
* - * .google.cloud.contactcenterinsights.v1.AnalysisResult analysis_result = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.contactcenterinsights.v1.AnalysisResult analysis_result = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder setAnalysisResult( com.google.cloud.contactcenterinsights.v1.AnalysisResult.Builder builderForValue) { @@ -1225,18 +1432,24 @@ public Builder setAnalysisResult( return this; } /** + * + * *
      * Output only. The result of the analysis, which is populated when the
      * analysis finishes.
      * 
* - * .google.cloud.contactcenterinsights.v1.AnalysisResult analysis_result = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.contactcenterinsights.v1.AnalysisResult analysis_result = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - public Builder mergeAnalysisResult(com.google.cloud.contactcenterinsights.v1.AnalysisResult value) { + public Builder mergeAnalysisResult( + com.google.cloud.contactcenterinsights.v1.AnalysisResult value) { if (analysisResultBuilder_ == null) { - if (((bitField0_ & 0x00000008) != 0) && - analysisResult_ != null && - analysisResult_ != com.google.cloud.contactcenterinsights.v1.AnalysisResult.getDefaultInstance()) { + if (((bitField0_ & 0x00000008) != 0) + && analysisResult_ != null + && analysisResult_ + != com.google.cloud.contactcenterinsights.v1.AnalysisResult.getDefaultInstance()) { getAnalysisResultBuilder().mergeFrom(value); } else { analysisResult_ = value; @@ -1249,12 +1462,16 @@ public Builder mergeAnalysisResult(com.google.cloud.contactcenterinsights.v1.Ana return this; } /** + * + * *
      * Output only. The result of the analysis, which is populated when the
      * analysis finishes.
      * 
* - * .google.cloud.contactcenterinsights.v1.AnalysisResult analysis_result = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.contactcenterinsights.v1.AnalysisResult analysis_result = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder clearAnalysisResult() { bitField0_ = (bitField0_ & ~0x00000008); @@ -1267,51 +1484,69 @@ public Builder clearAnalysisResult() { return this; } /** + * + * *
      * Output only. The result of the analysis, which is populated when the
      * analysis finishes.
      * 
* - * .google.cloud.contactcenterinsights.v1.AnalysisResult analysis_result = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.contactcenterinsights.v1.AnalysisResult analysis_result = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - public com.google.cloud.contactcenterinsights.v1.AnalysisResult.Builder getAnalysisResultBuilder() { + public com.google.cloud.contactcenterinsights.v1.AnalysisResult.Builder + getAnalysisResultBuilder() { bitField0_ |= 0x00000008; onChanged(); return getAnalysisResultFieldBuilder().getBuilder(); } /** + * + * *
      * Output only. The result of the analysis, which is populated when the
      * analysis finishes.
      * 
* - * .google.cloud.contactcenterinsights.v1.AnalysisResult analysis_result = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.contactcenterinsights.v1.AnalysisResult analysis_result = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - public com.google.cloud.contactcenterinsights.v1.AnalysisResultOrBuilder getAnalysisResultOrBuilder() { + public com.google.cloud.contactcenterinsights.v1.AnalysisResultOrBuilder + getAnalysisResultOrBuilder() { if (analysisResultBuilder_ != null) { return analysisResultBuilder_.getMessageOrBuilder(); } else { - return analysisResult_ == null ? - com.google.cloud.contactcenterinsights.v1.AnalysisResult.getDefaultInstance() : analysisResult_; + return analysisResult_ == null + ? com.google.cloud.contactcenterinsights.v1.AnalysisResult.getDefaultInstance() + : analysisResult_; } } /** + * + * *
      * Output only. The result of the analysis, which is populated when the
      * analysis finishes.
      * 
* - * .google.cloud.contactcenterinsights.v1.AnalysisResult analysis_result = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.contactcenterinsights.v1.AnalysisResult analysis_result = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.contactcenterinsights.v1.AnalysisResult, com.google.cloud.contactcenterinsights.v1.AnalysisResult.Builder, com.google.cloud.contactcenterinsights.v1.AnalysisResultOrBuilder> + com.google.cloud.contactcenterinsights.v1.AnalysisResult, + com.google.cloud.contactcenterinsights.v1.AnalysisResult.Builder, + com.google.cloud.contactcenterinsights.v1.AnalysisResultOrBuilder> getAnalysisResultFieldBuilder() { if (analysisResultBuilder_ == null) { - analysisResultBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.contactcenterinsights.v1.AnalysisResult, com.google.cloud.contactcenterinsights.v1.AnalysisResult.Builder, com.google.cloud.contactcenterinsights.v1.AnalysisResultOrBuilder>( - getAnalysisResult(), - getParentForChildren(), - isClean()); + analysisResultBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.contactcenterinsights.v1.AnalysisResult, + com.google.cloud.contactcenterinsights.v1.AnalysisResult.Builder, + com.google.cloud.contactcenterinsights.v1.AnalysisResultOrBuilder>( + getAnalysisResult(), getParentForChildren(), isClean()); analysisResult_ = null; } return analysisResultBuilder_; @@ -1319,36 +1554,49 @@ public com.google.cloud.contactcenterinsights.v1.AnalysisResultOrBuilder getAnal private com.google.cloud.contactcenterinsights.v1.AnnotatorSelector annotatorSelector_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.contactcenterinsights.v1.AnnotatorSelector, com.google.cloud.contactcenterinsights.v1.AnnotatorSelector.Builder, com.google.cloud.contactcenterinsights.v1.AnnotatorSelectorOrBuilder> annotatorSelectorBuilder_; + com.google.cloud.contactcenterinsights.v1.AnnotatorSelector, + com.google.cloud.contactcenterinsights.v1.AnnotatorSelector.Builder, + com.google.cloud.contactcenterinsights.v1.AnnotatorSelectorOrBuilder> + annotatorSelectorBuilder_; /** + * + * *
      * To select the annotators to run and the phrase matchers to use
      * (if any). If not specified, all annotators will be run.
      * 
* * .google.cloud.contactcenterinsights.v1.AnnotatorSelector annotator_selector = 8; + * * @return Whether the annotatorSelector field is set. */ public boolean hasAnnotatorSelector() { return ((bitField0_ & 0x00000010) != 0); } /** + * + * *
      * To select the annotators to run and the phrase matchers to use
      * (if any). If not specified, all annotators will be run.
      * 
* * .google.cloud.contactcenterinsights.v1.AnnotatorSelector annotator_selector = 8; + * * @return The annotatorSelector. */ public com.google.cloud.contactcenterinsights.v1.AnnotatorSelector getAnnotatorSelector() { if (annotatorSelectorBuilder_ == null) { - return annotatorSelector_ == null ? com.google.cloud.contactcenterinsights.v1.AnnotatorSelector.getDefaultInstance() : annotatorSelector_; + return annotatorSelector_ == null + ? com.google.cloud.contactcenterinsights.v1.AnnotatorSelector.getDefaultInstance() + : annotatorSelector_; } else { return annotatorSelectorBuilder_.getMessage(); } } /** + * + * *
      * To select the annotators to run and the phrase matchers to use
      * (if any). If not specified, all annotators will be run.
@@ -1356,7 +1604,8 @@ public com.google.cloud.contactcenterinsights.v1.AnnotatorSelector getAnnotatorS
      *
      * .google.cloud.contactcenterinsights.v1.AnnotatorSelector annotator_selector = 8;
      */
-    public Builder setAnnotatorSelector(com.google.cloud.contactcenterinsights.v1.AnnotatorSelector value) {
+    public Builder setAnnotatorSelector(
+        com.google.cloud.contactcenterinsights.v1.AnnotatorSelector value) {
       if (annotatorSelectorBuilder_ == null) {
         if (value == null) {
           throw new NullPointerException();
@@ -1370,6 +1619,8 @@ public Builder setAnnotatorSelector(com.google.cloud.contactcenterinsights.v1.An
       return this;
     }
     /**
+     *
+     *
      * 
      * To select the annotators to run and the phrase matchers to use
      * (if any). If not specified, all annotators will be run.
@@ -1389,6 +1640,8 @@ public Builder setAnnotatorSelector(
       return this;
     }
     /**
+     *
+     *
      * 
      * To select the annotators to run and the phrase matchers to use
      * (if any). If not specified, all annotators will be run.
@@ -1396,11 +1649,14 @@ public Builder setAnnotatorSelector(
      *
      * .google.cloud.contactcenterinsights.v1.AnnotatorSelector annotator_selector = 8;
      */
-    public Builder mergeAnnotatorSelector(com.google.cloud.contactcenterinsights.v1.AnnotatorSelector value) {
+    public Builder mergeAnnotatorSelector(
+        com.google.cloud.contactcenterinsights.v1.AnnotatorSelector value) {
       if (annotatorSelectorBuilder_ == null) {
-        if (((bitField0_ & 0x00000010) != 0) &&
-          annotatorSelector_ != null &&
-          annotatorSelector_ != com.google.cloud.contactcenterinsights.v1.AnnotatorSelector.getDefaultInstance()) {
+        if (((bitField0_ & 0x00000010) != 0)
+            && annotatorSelector_ != null
+            && annotatorSelector_
+                != com.google.cloud.contactcenterinsights.v1.AnnotatorSelector
+                    .getDefaultInstance()) {
           getAnnotatorSelectorBuilder().mergeFrom(value);
         } else {
           annotatorSelector_ = value;
@@ -1413,6 +1669,8 @@ public Builder mergeAnnotatorSelector(com.google.cloud.contactcenterinsights.v1.
       return this;
     }
     /**
+     *
+     *
      * 
      * To select the annotators to run and the phrase matchers to use
      * (if any). If not specified, all annotators will be run.
@@ -1431,6 +1689,8 @@ public Builder clearAnnotatorSelector() {
       return this;
     }
     /**
+     *
+     *
      * 
      * To select the annotators to run and the phrase matchers to use
      * (if any). If not specified, all annotators will be run.
@@ -1438,12 +1698,15 @@ public Builder clearAnnotatorSelector() {
      *
      * .google.cloud.contactcenterinsights.v1.AnnotatorSelector annotator_selector = 8;
      */
-    public com.google.cloud.contactcenterinsights.v1.AnnotatorSelector.Builder getAnnotatorSelectorBuilder() {
+    public com.google.cloud.contactcenterinsights.v1.AnnotatorSelector.Builder
+        getAnnotatorSelectorBuilder() {
       bitField0_ |= 0x00000010;
       onChanged();
       return getAnnotatorSelectorFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * To select the annotators to run and the phrase matchers to use
      * (if any). If not specified, all annotators will be run.
@@ -1451,15 +1714,19 @@ public com.google.cloud.contactcenterinsights.v1.AnnotatorSelector.Builder getAn
      *
      * .google.cloud.contactcenterinsights.v1.AnnotatorSelector annotator_selector = 8;
      */
-    public com.google.cloud.contactcenterinsights.v1.AnnotatorSelectorOrBuilder getAnnotatorSelectorOrBuilder() {
+    public com.google.cloud.contactcenterinsights.v1.AnnotatorSelectorOrBuilder
+        getAnnotatorSelectorOrBuilder() {
       if (annotatorSelectorBuilder_ != null) {
         return annotatorSelectorBuilder_.getMessageOrBuilder();
       } else {
-        return annotatorSelector_ == null ?
-            com.google.cloud.contactcenterinsights.v1.AnnotatorSelector.getDefaultInstance() : annotatorSelector_;
+        return annotatorSelector_ == null
+            ? com.google.cloud.contactcenterinsights.v1.AnnotatorSelector.getDefaultInstance()
+            : annotatorSelector_;
       }
     }
     /**
+     *
+     *
      * 
      * To select the annotators to run and the phrase matchers to use
      * (if any). If not specified, all annotators will be run.
@@ -1468,21 +1735,24 @@ public com.google.cloud.contactcenterinsights.v1.AnnotatorSelectorOrBuilder getA
      * .google.cloud.contactcenterinsights.v1.AnnotatorSelector annotator_selector = 8;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.cloud.contactcenterinsights.v1.AnnotatorSelector, com.google.cloud.contactcenterinsights.v1.AnnotatorSelector.Builder, com.google.cloud.contactcenterinsights.v1.AnnotatorSelectorOrBuilder> 
+            com.google.cloud.contactcenterinsights.v1.AnnotatorSelector,
+            com.google.cloud.contactcenterinsights.v1.AnnotatorSelector.Builder,
+            com.google.cloud.contactcenterinsights.v1.AnnotatorSelectorOrBuilder>
         getAnnotatorSelectorFieldBuilder() {
       if (annotatorSelectorBuilder_ == null) {
-        annotatorSelectorBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-            com.google.cloud.contactcenterinsights.v1.AnnotatorSelector, com.google.cloud.contactcenterinsights.v1.AnnotatorSelector.Builder, com.google.cloud.contactcenterinsights.v1.AnnotatorSelectorOrBuilder>(
-                getAnnotatorSelector(),
-                getParentForChildren(),
-                isClean());
+        annotatorSelectorBuilder_ =
+            new com.google.protobuf.SingleFieldBuilderV3<
+                com.google.cloud.contactcenterinsights.v1.AnnotatorSelector,
+                com.google.cloud.contactcenterinsights.v1.AnnotatorSelector.Builder,
+                com.google.cloud.contactcenterinsights.v1.AnnotatorSelectorOrBuilder>(
+                getAnnotatorSelector(), getParentForChildren(), isClean());
         annotatorSelector_ = null;
       }
       return annotatorSelectorBuilder_;
     }
+
     @java.lang.Override
-    public final Builder setUnknownFields(
-        final com.google.protobuf.UnknownFieldSet unknownFields) {
+    public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) {
       return super.setUnknownFields(unknownFields);
     }
 
@@ -1492,12 +1762,12 @@ public final Builder mergeUnknownFields(
       return super.mergeUnknownFields(unknownFields);
     }
 
-
     // @@protoc_insertion_point(builder_scope:google.cloud.contactcenterinsights.v1.Analysis)
   }
 
   // @@protoc_insertion_point(class_scope:google.cloud.contactcenterinsights.v1.Analysis)
   private static final com.google.cloud.contactcenterinsights.v1.Analysis DEFAULT_INSTANCE;
+
   static {
     DEFAULT_INSTANCE = new com.google.cloud.contactcenterinsights.v1.Analysis();
   }
@@ -1506,27 +1776,27 @@ public static com.google.cloud.contactcenterinsights.v1.Analysis getDefaultInsta
     return DEFAULT_INSTANCE;
   }
 
-  private static final com.google.protobuf.Parser
-      PARSER = new com.google.protobuf.AbstractParser() {
-    @java.lang.Override
-    public Analysis parsePartialFrom(
-        com.google.protobuf.CodedInputStream input,
-        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-        throws com.google.protobuf.InvalidProtocolBufferException {
-      Builder builder = newBuilder();
-      try {
-        builder.mergeFrom(input, extensionRegistry);
-      } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-        throw e.setUnfinishedMessage(builder.buildPartial());
-      } catch (com.google.protobuf.UninitializedMessageException e) {
-        throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
-      } catch (java.io.IOException e) {
-        throw new com.google.protobuf.InvalidProtocolBufferException(e)
-            .setUnfinishedMessage(builder.buildPartial());
-      }
-      return builder.buildPartial();
-    }
-  };
+  private static final com.google.protobuf.Parser PARSER =
+      new com.google.protobuf.AbstractParser() {
+        @java.lang.Override
+        public Analysis parsePartialFrom(
+            com.google.protobuf.CodedInputStream input,
+            com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+            throws com.google.protobuf.InvalidProtocolBufferException {
+          Builder builder = newBuilder();
+          try {
+            builder.mergeFrom(input, extensionRegistry);
+          } catch (com.google.protobuf.InvalidProtocolBufferException e) {
+            throw e.setUnfinishedMessage(builder.buildPartial());
+          } catch (com.google.protobuf.UninitializedMessageException e) {
+            throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
+          } catch (java.io.IOException e) {
+            throw new com.google.protobuf.InvalidProtocolBufferException(e)
+                .setUnfinishedMessage(builder.buildPartial());
+          }
+          return builder.buildPartial();
+        }
+      };
 
   public static com.google.protobuf.Parser parser() {
     return PARSER;
@@ -1541,6 +1811,4 @@ public com.google.protobuf.Parser getParserForType() {
   public com.google.cloud.contactcenterinsights.v1.Analysis getDefaultInstanceForType() {
     return DEFAULT_INSTANCE;
   }
-
 }
-
diff --git a/owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/AnalysisName.java b/java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/AnalysisName.java
similarity index 100%
rename from owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/AnalysisName.java
rename to java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/AnalysisName.java
diff --git a/owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/AnalysisOrBuilder.java b/java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/AnalysisOrBuilder.java
similarity index 72%
rename from owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/AnalysisOrBuilder.java
rename to java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/AnalysisOrBuilder.java
index 2c7480d7e1fc..981af7f9a3f1 100644
--- a/owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/AnalysisOrBuilder.java
+++ b/java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/AnalysisOrBuilder.java
@@ -1,13 +1,31 @@
+/*
+ * 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.
+ */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/cloud/contactcenterinsights/v1/resources.proto
 
 package com.google.cloud.contactcenterinsights.v1;
 
-public interface AnalysisOrBuilder extends
+public interface AnalysisOrBuilder
+    extends
     // @@protoc_insertion_point(interface_extends:google.cloud.contactcenterinsights.v1.Analysis)
     com.google.protobuf.MessageOrBuilder {
 
   /**
+   *
+   *
    * 
    * Immutable. The resource name of the analysis.
    * Format:
@@ -15,10 +33,13 @@ public interface AnalysisOrBuilder extends
    * 
* * string name = 1 [(.google.api.field_behavior) = IMMUTABLE]; + * * @return The name. */ java.lang.String getName(); /** + * + * *
    * Immutable. The resource name of the analysis.
    * Format:
@@ -26,119 +47,163 @@ public interface AnalysisOrBuilder extends
    * 
* * string name = 1 [(.google.api.field_behavior) = IMMUTABLE]; + * * @return The bytes for name. */ - com.google.protobuf.ByteString - getNameBytes(); + com.google.protobuf.ByteString getNameBytes(); /** + * + * *
    * Output only. The time at which the analysis was requested.
    * 
* - * .google.protobuf.Timestamp request_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp request_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the requestTime field is set. */ boolean hasRequestTime(); /** + * + * *
    * Output only. The time at which the analysis was requested.
    * 
* - * .google.protobuf.Timestamp request_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp request_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The requestTime. */ com.google.protobuf.Timestamp getRequestTime(); /** + * + * *
    * Output only. The time at which the analysis was requested.
    * 
* - * .google.protobuf.Timestamp request_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp request_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ com.google.protobuf.TimestampOrBuilder getRequestTimeOrBuilder(); /** + * + * *
    * Output only. The time at which the analysis was created, which occurs when
    * the long-running operation completes.
    * 
* - * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the createTime field is set. */ boolean hasCreateTime(); /** + * + * *
    * Output only. The time at which the analysis was created, which occurs when
    * the long-running operation completes.
    * 
* - * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The createTime. */ com.google.protobuf.Timestamp getCreateTime(); /** + * + * *
    * Output only. The time at which the analysis was created, which occurs when
    * the long-running operation completes.
    * 
* - * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder(); /** + * + * *
    * Output only. The result of the analysis, which is populated when the
    * analysis finishes.
    * 
* - * .google.cloud.contactcenterinsights.v1.AnalysisResult analysis_result = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.contactcenterinsights.v1.AnalysisResult analysis_result = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the analysisResult field is set. */ boolean hasAnalysisResult(); /** + * + * *
    * Output only. The result of the analysis, which is populated when the
    * analysis finishes.
    * 
* - * .google.cloud.contactcenterinsights.v1.AnalysisResult analysis_result = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.contactcenterinsights.v1.AnalysisResult analysis_result = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The analysisResult. */ com.google.cloud.contactcenterinsights.v1.AnalysisResult getAnalysisResult(); /** + * + * *
    * Output only. The result of the analysis, which is populated when the
    * analysis finishes.
    * 
* - * .google.cloud.contactcenterinsights.v1.AnalysisResult analysis_result = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.contactcenterinsights.v1.AnalysisResult analysis_result = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ com.google.cloud.contactcenterinsights.v1.AnalysisResultOrBuilder getAnalysisResultOrBuilder(); /** + * + * *
    * To select the annotators to run and the phrase matchers to use
    * (if any). If not specified, all annotators will be run.
    * 
* * .google.cloud.contactcenterinsights.v1.AnnotatorSelector annotator_selector = 8; + * * @return Whether the annotatorSelector field is set. */ boolean hasAnnotatorSelector(); /** + * + * *
    * To select the annotators to run and the phrase matchers to use
    * (if any). If not specified, all annotators will be run.
    * 
* * .google.cloud.contactcenterinsights.v1.AnnotatorSelector annotator_selector = 8; + * * @return The annotatorSelector. */ com.google.cloud.contactcenterinsights.v1.AnnotatorSelector getAnnotatorSelector(); /** + * + * *
    * To select the annotators to run and the phrase matchers to use
    * (if any). If not specified, all annotators will be run.
@@ -146,5 +211,6 @@ public interface AnalysisOrBuilder extends
    *
    * .google.cloud.contactcenterinsights.v1.AnnotatorSelector annotator_selector = 8;
    */
-  com.google.cloud.contactcenterinsights.v1.AnnotatorSelectorOrBuilder getAnnotatorSelectorOrBuilder();
+  com.google.cloud.contactcenterinsights.v1.AnnotatorSelectorOrBuilder
+      getAnnotatorSelectorOrBuilder();
 }
diff --git a/owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/AnalysisResult.java b/java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/AnalysisResult.java
similarity index 59%
rename from owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/AnalysisResult.java
rename to java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/AnalysisResult.java
index 088b6801d6dd..0a371c69c4ad 100644
--- a/owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/AnalysisResult.java
+++ b/java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/AnalysisResult.java
@@ -1,66 +1,88 @@
+/*
+ * 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.
+ */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/cloud/contactcenterinsights/v1/resources.proto
 
 package com.google.cloud.contactcenterinsights.v1;
 
 /**
+ *
+ *
  * 
  * The result of an analysis.
  * 
* * Protobuf type {@code google.cloud.contactcenterinsights.v1.AnalysisResult} */ -public final class AnalysisResult extends - com.google.protobuf.GeneratedMessageV3 implements +public final class AnalysisResult extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.contactcenterinsights.v1.AnalysisResult) AnalysisResultOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use AnalysisResult.newBuilder() to construct. private AnalysisResult(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private AnalysisResult() { - } + + private AnalysisResult() {} @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new AnalysisResult(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.contactcenterinsights.v1.ResourcesProto.internal_static_google_cloud_contactcenterinsights_v1_AnalysisResult_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.contactcenterinsights.v1.ResourcesProto + .internal_static_google_cloud_contactcenterinsights_v1_AnalysisResult_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.contactcenterinsights.v1.ResourcesProto.internal_static_google_cloud_contactcenterinsights_v1_AnalysisResult_fieldAccessorTable + return com.google.cloud.contactcenterinsights.v1.ResourcesProto + .internal_static_google_cloud_contactcenterinsights_v1_AnalysisResult_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.contactcenterinsights.v1.AnalysisResult.class, com.google.cloud.contactcenterinsights.v1.AnalysisResult.Builder.class); + com.google.cloud.contactcenterinsights.v1.AnalysisResult.class, + com.google.cloud.contactcenterinsights.v1.AnalysisResult.Builder.class); } - public interface CallAnalysisMetadataOrBuilder extends + public interface CallAnalysisMetadataOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.contactcenterinsights.v1.AnalysisResult.CallAnalysisMetadata) com.google.protobuf.MessageOrBuilder { /** + * + * *
      * A list of call annotations that apply to this call.
      * 
* * repeated .google.cloud.contactcenterinsights.v1.CallAnnotation annotations = 2; */ - java.util.List - getAnnotationsList(); + java.util.List getAnnotationsList(); /** + * + * *
      * A list of call annotations that apply to this call.
      * 
@@ -69,6 +91,8 @@ public interface CallAnalysisMetadataOrBuilder extends */ com.google.cloud.contactcenterinsights.v1.CallAnnotation getAnnotations(int index); /** + * + * *
      * A list of call annotations that apply to this call.
      * 
@@ -77,15 +101,19 @@ public interface CallAnalysisMetadataOrBuilder extends */ int getAnnotationsCount(); /** + * + * *
      * A list of call annotations that apply to this call.
      * 
* * repeated .google.cloud.contactcenterinsights.v1.CallAnnotation annotations = 2; */ - java.util.List + java.util.List getAnnotationsOrBuilderList(); /** + * + * *
      * A list of call annotations that apply to this call.
      * 
@@ -96,6 +124,8 @@ com.google.cloud.contactcenterinsights.v1.CallAnnotationOrBuilder getAnnotations int index); /** + * + * *
      * All the entities in the call.
      * 
@@ -104,21 +134,21 @@ com.google.cloud.contactcenterinsights.v1.CallAnnotationOrBuilder getAnnotations */ int getEntitiesCount(); /** + * + * *
      * All the entities in the call.
      * 
* * map<string, .google.cloud.contactcenterinsights.v1.Entity> entities = 3; */ - boolean containsEntities( - java.lang.String key); - /** - * Use {@link #getEntitiesMap()} instead. - */ + boolean containsEntities(java.lang.String key); + /** Use {@link #getEntitiesMap()} instead. */ @java.lang.Deprecated - java.util.Map - getEntities(); + java.util.Map getEntities(); /** + * + * *
      * All the entities in the call.
      * 
@@ -126,8 +156,10 @@ boolean containsEntities( * map<string, .google.cloud.contactcenterinsights.v1.Entity> entities = 3; */ java.util.Map - getEntitiesMap(); + getEntitiesMap(); /** + * + * *
      * All the entities in the call.
      * 
@@ -135,65 +167,89 @@ boolean containsEntities( * map<string, .google.cloud.contactcenterinsights.v1.Entity> entities = 3; */ /* nullable */ -com.google.cloud.contactcenterinsights.v1.Entity getEntitiesOrDefault( + com.google.cloud.contactcenterinsights.v1.Entity getEntitiesOrDefault( java.lang.String key, /* nullable */ -com.google.cloud.contactcenterinsights.v1.Entity defaultValue); + com.google.cloud.contactcenterinsights.v1.Entity defaultValue); /** + * + * *
      * All the entities in the call.
      * 
* * map<string, .google.cloud.contactcenterinsights.v1.Entity> entities = 3; */ - com.google.cloud.contactcenterinsights.v1.Entity getEntitiesOrThrow( - java.lang.String key); + com.google.cloud.contactcenterinsights.v1.Entity getEntitiesOrThrow(java.lang.String key); /** + * + * *
      * Overall conversation-level sentiment for each channel of the call.
      * 
* - * repeated .google.cloud.contactcenterinsights.v1.ConversationLevelSentiment sentiments = 4; + * + * repeated .google.cloud.contactcenterinsights.v1.ConversationLevelSentiment sentiments = 4; + * */ - java.util.List + java.util.List getSentimentsList(); /** + * + * *
      * Overall conversation-level sentiment for each channel of the call.
      * 
* - * repeated .google.cloud.contactcenterinsights.v1.ConversationLevelSentiment sentiments = 4; + * + * repeated .google.cloud.contactcenterinsights.v1.ConversationLevelSentiment sentiments = 4; + * */ com.google.cloud.contactcenterinsights.v1.ConversationLevelSentiment getSentiments(int index); /** + * + * *
      * Overall conversation-level sentiment for each channel of the call.
      * 
* - * repeated .google.cloud.contactcenterinsights.v1.ConversationLevelSentiment sentiments = 4; + * + * repeated .google.cloud.contactcenterinsights.v1.ConversationLevelSentiment sentiments = 4; + * */ int getSentimentsCount(); /** + * + * *
      * Overall conversation-level sentiment for each channel of the call.
      * 
* - * repeated .google.cloud.contactcenterinsights.v1.ConversationLevelSentiment sentiments = 4; + * + * repeated .google.cloud.contactcenterinsights.v1.ConversationLevelSentiment sentiments = 4; + * */ - java.util.List + java.util.List< + ? extends com.google.cloud.contactcenterinsights.v1.ConversationLevelSentimentOrBuilder> getSentimentsOrBuilderList(); /** + * + * *
      * Overall conversation-level sentiment for each channel of the call.
      * 
* - * repeated .google.cloud.contactcenterinsights.v1.ConversationLevelSentiment sentiments = 4; + * + * repeated .google.cloud.contactcenterinsights.v1.ConversationLevelSentiment sentiments = 4; + * */ - com.google.cloud.contactcenterinsights.v1.ConversationLevelSentimentOrBuilder getSentimentsOrBuilder( - int index); + com.google.cloud.contactcenterinsights.v1.ConversationLevelSentimentOrBuilder + getSentimentsOrBuilder(int index); /** + * + * *
      * All the matched intents in the call.
      * 
@@ -202,21 +258,21 @@ com.google.cloud.contactcenterinsights.v1.ConversationLevelSentimentOrBuilder ge */ int getIntentsCount(); /** + * + * *
      * All the matched intents in the call.
      * 
* * map<string, .google.cloud.contactcenterinsights.v1.Intent> intents = 6; */ - boolean containsIntents( - java.lang.String key); - /** - * Use {@link #getIntentsMap()} instead. - */ + boolean containsIntents(java.lang.String key); + /** Use {@link #getIntentsMap()} instead. */ @java.lang.Deprecated - java.util.Map - getIntents(); + java.util.Map getIntents(); /** + * + * *
      * All the matched intents in the call.
      * 
@@ -224,8 +280,10 @@ boolean containsIntents( * map<string, .google.cloud.contactcenterinsights.v1.Intent> intents = 6; */ java.util.Map - getIntentsMap(); + getIntentsMap(); /** + * + * *
      * All the matched intents in the call.
      * 
@@ -233,117 +291,147 @@ boolean containsIntents( * map<string, .google.cloud.contactcenterinsights.v1.Intent> intents = 6; */ /* nullable */ -com.google.cloud.contactcenterinsights.v1.Intent getIntentsOrDefault( + com.google.cloud.contactcenterinsights.v1.Intent getIntentsOrDefault( java.lang.String key, /* nullable */ -com.google.cloud.contactcenterinsights.v1.Intent defaultValue); + com.google.cloud.contactcenterinsights.v1.Intent defaultValue); /** + * + * *
      * All the matched intents in the call.
      * 
* * map<string, .google.cloud.contactcenterinsights.v1.Intent> intents = 6; */ - com.google.cloud.contactcenterinsights.v1.Intent getIntentsOrThrow( - java.lang.String key); + com.google.cloud.contactcenterinsights.v1.Intent getIntentsOrThrow(java.lang.String key); /** + * + * *
      * All the matched phrase matchers in the call.
      * 
* - * map<string, .google.cloud.contactcenterinsights.v1.PhraseMatchData> phrase_matchers = 7; + * + * map<string, .google.cloud.contactcenterinsights.v1.PhraseMatchData> phrase_matchers = 7; + * */ int getPhraseMatchersCount(); /** + * + * *
      * All the matched phrase matchers in the call.
      * 
* - * map<string, .google.cloud.contactcenterinsights.v1.PhraseMatchData> phrase_matchers = 7; - */ - boolean containsPhraseMatchers( - java.lang.String key); - /** - * Use {@link #getPhraseMatchersMap()} instead. + * + * map<string, .google.cloud.contactcenterinsights.v1.PhraseMatchData> phrase_matchers = 7; + * */ + boolean containsPhraseMatchers(java.lang.String key); + /** Use {@link #getPhraseMatchersMap()} instead. */ @java.lang.Deprecated java.util.Map - getPhraseMatchers(); + getPhraseMatchers(); /** + * + * *
      * All the matched phrase matchers in the call.
      * 
* - * map<string, .google.cloud.contactcenterinsights.v1.PhraseMatchData> phrase_matchers = 7; + * + * map<string, .google.cloud.contactcenterinsights.v1.PhraseMatchData> phrase_matchers = 7; + * */ java.util.Map - getPhraseMatchersMap(); + getPhraseMatchersMap(); /** + * + * *
      * All the matched phrase matchers in the call.
      * 
* - * map<string, .google.cloud.contactcenterinsights.v1.PhraseMatchData> phrase_matchers = 7; + * + * map<string, .google.cloud.contactcenterinsights.v1.PhraseMatchData> phrase_matchers = 7; + * */ /* nullable */ -com.google.cloud.contactcenterinsights.v1.PhraseMatchData getPhraseMatchersOrDefault( + com.google.cloud.contactcenterinsights.v1.PhraseMatchData getPhraseMatchersOrDefault( java.lang.String key, /* nullable */ -com.google.cloud.contactcenterinsights.v1.PhraseMatchData defaultValue); + com.google.cloud.contactcenterinsights.v1.PhraseMatchData defaultValue); /** + * + * *
      * All the matched phrase matchers in the call.
      * 
* - * map<string, .google.cloud.contactcenterinsights.v1.PhraseMatchData> phrase_matchers = 7; + * + * map<string, .google.cloud.contactcenterinsights.v1.PhraseMatchData> phrase_matchers = 7; + * */ com.google.cloud.contactcenterinsights.v1.PhraseMatchData getPhraseMatchersOrThrow( java.lang.String key); /** + * + * *
      * Overall conversation-level issue modeling result.
      * 
* * .google.cloud.contactcenterinsights.v1.IssueModelResult issue_model_result = 8; + * * @return Whether the issueModelResult field is set. */ boolean hasIssueModelResult(); /** + * + * *
      * Overall conversation-level issue modeling result.
      * 
* * .google.cloud.contactcenterinsights.v1.IssueModelResult issue_model_result = 8; + * * @return The issueModelResult. */ com.google.cloud.contactcenterinsights.v1.IssueModelResult getIssueModelResult(); /** + * + * *
      * Overall conversation-level issue modeling result.
      * 
* * .google.cloud.contactcenterinsights.v1.IssueModelResult issue_model_result = 8; */ - com.google.cloud.contactcenterinsights.v1.IssueModelResultOrBuilder getIssueModelResultOrBuilder(); + com.google.cloud.contactcenterinsights.v1.IssueModelResultOrBuilder + getIssueModelResultOrBuilder(); } /** + * + * *
    * Call-specific metadata created during analysis.
    * 
* * Protobuf type {@code google.cloud.contactcenterinsights.v1.AnalysisResult.CallAnalysisMetadata} */ - public static final class CallAnalysisMetadata extends - com.google.protobuf.GeneratedMessageV3 implements + public static final class CallAnalysisMetadata extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.contactcenterinsights.v1.AnalysisResult.CallAnalysisMetadata) CallAnalysisMetadataOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use CallAnalysisMetadata.newBuilder() to construct. private CallAnalysisMetadata(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private CallAnalysisMetadata() { annotations_ = java.util.Collections.emptyList(); sentiments_ = java.util.Collections.emptyList(); @@ -351,25 +439,23 @@ private CallAnalysisMetadata() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new CallAnalysisMetadata(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.contactcenterinsights.v1.ResourcesProto.internal_static_google_cloud_contactcenterinsights_v1_AnalysisResult_CallAnalysisMetadata_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.contactcenterinsights.v1.ResourcesProto + .internal_static_google_cloud_contactcenterinsights_v1_AnalysisResult_CallAnalysisMetadata_descriptor; } @SuppressWarnings({"rawtypes"}) @java.lang.Override - protected com.google.protobuf.MapField internalGetMapField( - int number) { + protected com.google.protobuf.MapField internalGetMapField(int number) { switch (number) { case 3: return internalGetEntities(); @@ -378,22 +464,28 @@ protected com.google.protobuf.MapField internalGetMapField( case 7: return internalGetPhraseMatchers(); default: - throw new RuntimeException( - "Invalid map field number: " + number); + throw new RuntimeException("Invalid map field number: " + number); } } + @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.contactcenterinsights.v1.ResourcesProto.internal_static_google_cloud_contactcenterinsights_v1_AnalysisResult_CallAnalysisMetadata_fieldAccessorTable + return com.google.cloud.contactcenterinsights.v1.ResourcesProto + .internal_static_google_cloud_contactcenterinsights_v1_AnalysisResult_CallAnalysisMetadata_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.contactcenterinsights.v1.AnalysisResult.CallAnalysisMetadata.class, com.google.cloud.contactcenterinsights.v1.AnalysisResult.CallAnalysisMetadata.Builder.class); + com.google.cloud.contactcenterinsights.v1.AnalysisResult.CallAnalysisMetadata.class, + com.google.cloud.contactcenterinsights.v1.AnalysisResult.CallAnalysisMetadata.Builder + .class); } public static final int ANNOTATIONS_FIELD_NUMBER = 2; + @SuppressWarnings("serial") private java.util.List annotations_; /** + * + * *
      * A list of call annotations that apply to this call.
      * 
@@ -401,10 +493,13 @@ protected com.google.protobuf.MapField internalGetMapField( * repeated .google.cloud.contactcenterinsights.v1.CallAnnotation annotations = 2; */ @java.lang.Override - public java.util.List getAnnotationsList() { + public java.util.List + getAnnotationsList() { return annotations_; } /** + * + * *
      * A list of call annotations that apply to this call.
      * 
@@ -412,11 +507,14 @@ public java.util.List * repeated .google.cloud.contactcenterinsights.v1.CallAnnotation annotations = 2; */ @java.lang.Override - public java.util.List + public java.util.List< + ? extends com.google.cloud.contactcenterinsights.v1.CallAnnotationOrBuilder> getAnnotationsOrBuilderList() { return annotations_; } /** + * + * *
      * A list of call annotations that apply to this call.
      * 
@@ -428,6 +526,8 @@ public int getAnnotationsCount() { return annotations_.size(); } /** + * + * *
      * A list of call annotations that apply to this call.
      * 
@@ -439,6 +539,8 @@ public com.google.cloud.contactcenterinsights.v1.CallAnnotation getAnnotations(i return annotations_.get(index); } /** + * + * *
      * A list of call annotations that apply to this call.
      * 
@@ -446,38 +548,48 @@ public com.google.cloud.contactcenterinsights.v1.CallAnnotation getAnnotations(i * repeated .google.cloud.contactcenterinsights.v1.CallAnnotation annotations = 2; */ @java.lang.Override - public com.google.cloud.contactcenterinsights.v1.CallAnnotationOrBuilder getAnnotationsOrBuilder( - int index) { + public com.google.cloud.contactcenterinsights.v1.CallAnnotationOrBuilder + getAnnotationsOrBuilder(int index) { return annotations_.get(index); } public static final int ENTITIES_FIELD_NUMBER = 3; + private static final class EntitiesDefaultEntryHolder { static final com.google.protobuf.MapEntry< - java.lang.String, com.google.cloud.contactcenterinsights.v1.Entity> defaultEntry = + java.lang.String, com.google.cloud.contactcenterinsights.v1.Entity> + defaultEntry = com.google.protobuf.MapEntry - .newDefaultInstance( - com.google.cloud.contactcenterinsights.v1.ResourcesProto.internal_static_google_cloud_contactcenterinsights_v1_AnalysisResult_CallAnalysisMetadata_EntitiesEntry_descriptor, - com.google.protobuf.WireFormat.FieldType.STRING, - "", - com.google.protobuf.WireFormat.FieldType.MESSAGE, - com.google.cloud.contactcenterinsights.v1.Entity.getDefaultInstance()); + . + newDefaultInstance( + com.google.cloud.contactcenterinsights.v1.ResourcesProto + .internal_static_google_cloud_contactcenterinsights_v1_AnalysisResult_CallAnalysisMetadata_EntitiesEntry_descriptor, + com.google.protobuf.WireFormat.FieldType.STRING, + "", + com.google.protobuf.WireFormat.FieldType.MESSAGE, + com.google.cloud.contactcenterinsights.v1.Entity.getDefaultInstance()); } + @SuppressWarnings("serial") private com.google.protobuf.MapField< - java.lang.String, com.google.cloud.contactcenterinsights.v1.Entity> entities_; - private com.google.protobuf.MapField - internalGetEntities() { + java.lang.String, com.google.cloud.contactcenterinsights.v1.Entity> + entities_; + + private com.google.protobuf.MapField< + java.lang.String, com.google.cloud.contactcenterinsights.v1.Entity> + internalGetEntities() { if (entities_ == null) { - return com.google.protobuf.MapField.emptyMapField( - EntitiesDefaultEntryHolder.defaultEntry); + return com.google.protobuf.MapField.emptyMapField(EntitiesDefaultEntryHolder.defaultEntry); } return entities_; } + public int getEntitiesCount() { return internalGetEntities().getMap().size(); } /** + * + * *
      * All the entities in the call.
      * 
@@ -485,20 +597,22 @@ public int getEntitiesCount() { * map<string, .google.cloud.contactcenterinsights.v1.Entity> entities = 3; */ @java.lang.Override - public boolean containsEntities( - java.lang.String key) { - if (key == null) { throw new NullPointerException("map key"); } + public boolean containsEntities(java.lang.String key) { + if (key == null) { + throw new NullPointerException("map key"); + } return internalGetEntities().getMap().containsKey(key); } - /** - * Use {@link #getEntitiesMap()} instead. - */ + /** Use {@link #getEntitiesMap()} instead. */ @java.lang.Override @java.lang.Deprecated - public java.util.Map getEntities() { + public java.util.Map + getEntities() { return getEntitiesMap(); } /** + * + * *
      * All the entities in the call.
      * 
@@ -506,10 +620,13 @@ public java.util.Mapmap<string, .google.cloud.contactcenterinsights.v1.Entity> entities = 3; */ @java.lang.Override - public java.util.Map getEntitiesMap() { + public java.util.Map + getEntitiesMap() { return internalGetEntities().getMap(); } /** + * + * *
      * All the entities in the call.
      * 
@@ -517,17 +634,20 @@ public java.util.Mapmap<string, .google.cloud.contactcenterinsights.v1.Entity> entities = 3; */ @java.lang.Override - public /* nullable */ -com.google.cloud.contactcenterinsights.v1.Entity getEntitiesOrDefault( + public /* nullable */ com.google.cloud.contactcenterinsights.v1.Entity getEntitiesOrDefault( java.lang.String key, /* nullable */ -com.google.cloud.contactcenterinsights.v1.Entity defaultValue) { - if (key == null) { throw new NullPointerException("map key"); } + com.google.cloud.contactcenterinsights.v1.Entity defaultValue) { + if (key == null) { + throw new NullPointerException("map key"); + } java.util.Map map = internalGetEntities().getMap(); return map.containsKey(key) ? map.get(key) : defaultValue; } /** + * + * *
      * All the entities in the call.
      * 
@@ -537,7 +657,9 @@ com.google.cloud.contactcenterinsights.v1.Entity getEntitiesOrDefault( @java.lang.Override public com.google.cloud.contactcenterinsights.v1.Entity getEntitiesOrThrow( java.lang.String key) { - if (key == null) { throw new NullPointerException("map key"); } + if (key == null) { + throw new NullPointerException("map key"); + } java.util.Map map = internalGetEntities().getMap(); if (!map.containsKey(key)) { @@ -547,93 +669,128 @@ public com.google.cloud.contactcenterinsights.v1.Entity getEntitiesOrThrow( } public static final int SENTIMENTS_FIELD_NUMBER = 4; + @SuppressWarnings("serial") - private java.util.List sentiments_; + private java.util.List + sentiments_; /** + * + * *
      * Overall conversation-level sentiment for each channel of the call.
      * 
* - * repeated .google.cloud.contactcenterinsights.v1.ConversationLevelSentiment sentiments = 4; + * + * repeated .google.cloud.contactcenterinsights.v1.ConversationLevelSentiment sentiments = 4; + * */ @java.lang.Override - public java.util.List getSentimentsList() { + public java.util.List + getSentimentsList() { return sentiments_; } /** + * + * *
      * Overall conversation-level sentiment for each channel of the call.
      * 
* - * repeated .google.cloud.contactcenterinsights.v1.ConversationLevelSentiment sentiments = 4; + * + * repeated .google.cloud.contactcenterinsights.v1.ConversationLevelSentiment sentiments = 4; + * */ @java.lang.Override - public java.util.List + public java.util.List< + ? extends com.google.cloud.contactcenterinsights.v1.ConversationLevelSentimentOrBuilder> getSentimentsOrBuilderList() { return sentiments_; } /** + * + * *
      * Overall conversation-level sentiment for each channel of the call.
      * 
* - * repeated .google.cloud.contactcenterinsights.v1.ConversationLevelSentiment sentiments = 4; + * + * repeated .google.cloud.contactcenterinsights.v1.ConversationLevelSentiment sentiments = 4; + * */ @java.lang.Override public int getSentimentsCount() { return sentiments_.size(); } /** + * + * *
      * Overall conversation-level sentiment for each channel of the call.
      * 
* - * repeated .google.cloud.contactcenterinsights.v1.ConversationLevelSentiment sentiments = 4; + * + * repeated .google.cloud.contactcenterinsights.v1.ConversationLevelSentiment sentiments = 4; + * */ @java.lang.Override - public com.google.cloud.contactcenterinsights.v1.ConversationLevelSentiment getSentiments(int index) { + public com.google.cloud.contactcenterinsights.v1.ConversationLevelSentiment getSentiments( + int index) { return sentiments_.get(index); } /** + * + * *
      * Overall conversation-level sentiment for each channel of the call.
      * 
* - * repeated .google.cloud.contactcenterinsights.v1.ConversationLevelSentiment sentiments = 4; + * + * repeated .google.cloud.contactcenterinsights.v1.ConversationLevelSentiment sentiments = 4; + * */ @java.lang.Override - public com.google.cloud.contactcenterinsights.v1.ConversationLevelSentimentOrBuilder getSentimentsOrBuilder( - int index) { + public com.google.cloud.contactcenterinsights.v1.ConversationLevelSentimentOrBuilder + getSentimentsOrBuilder(int index) { return sentiments_.get(index); } public static final int INTENTS_FIELD_NUMBER = 6; + private static final class IntentsDefaultEntryHolder { static final com.google.protobuf.MapEntry< - java.lang.String, com.google.cloud.contactcenterinsights.v1.Intent> defaultEntry = + java.lang.String, com.google.cloud.contactcenterinsights.v1.Intent> + defaultEntry = com.google.protobuf.MapEntry - .newDefaultInstance( - com.google.cloud.contactcenterinsights.v1.ResourcesProto.internal_static_google_cloud_contactcenterinsights_v1_AnalysisResult_CallAnalysisMetadata_IntentsEntry_descriptor, - com.google.protobuf.WireFormat.FieldType.STRING, - "", - com.google.protobuf.WireFormat.FieldType.MESSAGE, - com.google.cloud.contactcenterinsights.v1.Intent.getDefaultInstance()); + . + newDefaultInstance( + com.google.cloud.contactcenterinsights.v1.ResourcesProto + .internal_static_google_cloud_contactcenterinsights_v1_AnalysisResult_CallAnalysisMetadata_IntentsEntry_descriptor, + com.google.protobuf.WireFormat.FieldType.STRING, + "", + com.google.protobuf.WireFormat.FieldType.MESSAGE, + com.google.cloud.contactcenterinsights.v1.Intent.getDefaultInstance()); } + @SuppressWarnings("serial") private com.google.protobuf.MapField< - java.lang.String, com.google.cloud.contactcenterinsights.v1.Intent> intents_; - private com.google.protobuf.MapField - internalGetIntents() { + java.lang.String, com.google.cloud.contactcenterinsights.v1.Intent> + intents_; + + private com.google.protobuf.MapField< + java.lang.String, com.google.cloud.contactcenterinsights.v1.Intent> + internalGetIntents() { if (intents_ == null) { - return com.google.protobuf.MapField.emptyMapField( - IntentsDefaultEntryHolder.defaultEntry); + return com.google.protobuf.MapField.emptyMapField(IntentsDefaultEntryHolder.defaultEntry); } return intents_; } + public int getIntentsCount() { return internalGetIntents().getMap().size(); } /** + * + * *
      * All the matched intents in the call.
      * 
@@ -641,20 +798,22 @@ public int getIntentsCount() { * map<string, .google.cloud.contactcenterinsights.v1.Intent> intents = 6; */ @java.lang.Override - public boolean containsIntents( - java.lang.String key) { - if (key == null) { throw new NullPointerException("map key"); } + public boolean containsIntents(java.lang.String key) { + if (key == null) { + throw new NullPointerException("map key"); + } return internalGetIntents().getMap().containsKey(key); } - /** - * Use {@link #getIntentsMap()} instead. - */ + /** Use {@link #getIntentsMap()} instead. */ @java.lang.Override @java.lang.Deprecated - public java.util.Map getIntents() { + public java.util.Map + getIntents() { return getIntentsMap(); } /** + * + * *
      * All the matched intents in the call.
      * 
@@ -662,10 +821,13 @@ public java.util.Mapmap<string, .google.cloud.contactcenterinsights.v1.Intent> intents = 6; */ @java.lang.Override - public java.util.Map getIntentsMap() { + public java.util.Map + getIntentsMap() { return internalGetIntents().getMap(); } /** + * + * *
      * All the matched intents in the call.
      * 
@@ -673,17 +835,20 @@ public java.util.Mapmap<string, .google.cloud.contactcenterinsights.v1.Intent> intents = 6; */ @java.lang.Override - public /* nullable */ -com.google.cloud.contactcenterinsights.v1.Intent getIntentsOrDefault( + public /* nullable */ com.google.cloud.contactcenterinsights.v1.Intent getIntentsOrDefault( java.lang.String key, /* nullable */ -com.google.cloud.contactcenterinsights.v1.Intent defaultValue) { - if (key == null) { throw new NullPointerException("map key"); } + com.google.cloud.contactcenterinsights.v1.Intent defaultValue) { + if (key == null) { + throw new NullPointerException("map key"); + } java.util.Map map = internalGetIntents().getMap(); return map.containsKey(key) ? map.get(key) : defaultValue; } /** + * + * *
      * All the matched intents in the call.
      * 
@@ -693,7 +858,9 @@ com.google.cloud.contactcenterinsights.v1.Intent getIntentsOrDefault( @java.lang.Override public com.google.cloud.contactcenterinsights.v1.Intent getIntentsOrThrow( java.lang.String key) { - if (key == null) { throw new NullPointerException("map key"); } + if (key == null) { + throw new NullPointerException("map key"); + } java.util.Map map = internalGetIntents().getMap(); if (!map.containsKey(key)) { @@ -703,94 +870,127 @@ public com.google.cloud.contactcenterinsights.v1.Intent getIntentsOrThrow( } public static final int PHRASE_MATCHERS_FIELD_NUMBER = 7; + private static final class PhraseMatchersDefaultEntryHolder { static final com.google.protobuf.MapEntry< - java.lang.String, com.google.cloud.contactcenterinsights.v1.PhraseMatchData> defaultEntry = + java.lang.String, com.google.cloud.contactcenterinsights.v1.PhraseMatchData> + defaultEntry = com.google.protobuf.MapEntry - .newDefaultInstance( - com.google.cloud.contactcenterinsights.v1.ResourcesProto.internal_static_google_cloud_contactcenterinsights_v1_AnalysisResult_CallAnalysisMetadata_PhraseMatchersEntry_descriptor, - com.google.protobuf.WireFormat.FieldType.STRING, - "", - com.google.protobuf.WireFormat.FieldType.MESSAGE, - com.google.cloud.contactcenterinsights.v1.PhraseMatchData.getDefaultInstance()); + . + newDefaultInstance( + com.google.cloud.contactcenterinsights.v1.ResourcesProto + .internal_static_google_cloud_contactcenterinsights_v1_AnalysisResult_CallAnalysisMetadata_PhraseMatchersEntry_descriptor, + com.google.protobuf.WireFormat.FieldType.STRING, + "", + com.google.protobuf.WireFormat.FieldType.MESSAGE, + com.google.cloud.contactcenterinsights.v1.PhraseMatchData + .getDefaultInstance()); } + @SuppressWarnings("serial") private com.google.protobuf.MapField< - java.lang.String, com.google.cloud.contactcenterinsights.v1.PhraseMatchData> phraseMatchers_; - private com.google.protobuf.MapField - internalGetPhraseMatchers() { + java.lang.String, com.google.cloud.contactcenterinsights.v1.PhraseMatchData> + phraseMatchers_; + + private com.google.protobuf.MapField< + java.lang.String, com.google.cloud.contactcenterinsights.v1.PhraseMatchData> + internalGetPhraseMatchers() { if (phraseMatchers_ == null) { return com.google.protobuf.MapField.emptyMapField( PhraseMatchersDefaultEntryHolder.defaultEntry); } return phraseMatchers_; } + public int getPhraseMatchersCount() { return internalGetPhraseMatchers().getMap().size(); } /** + * + * *
      * All the matched phrase matchers in the call.
      * 
* - * map<string, .google.cloud.contactcenterinsights.v1.PhraseMatchData> phrase_matchers = 7; + * + * map<string, .google.cloud.contactcenterinsights.v1.PhraseMatchData> phrase_matchers = 7; + * */ @java.lang.Override - public boolean containsPhraseMatchers( - java.lang.String key) { - if (key == null) { throw new NullPointerException("map key"); } + public boolean containsPhraseMatchers(java.lang.String key) { + if (key == null) { + throw new NullPointerException("map key"); + } return internalGetPhraseMatchers().getMap().containsKey(key); } - /** - * Use {@link #getPhraseMatchersMap()} instead. - */ + /** Use {@link #getPhraseMatchersMap()} instead. */ @java.lang.Override @java.lang.Deprecated - public java.util.Map getPhraseMatchers() { + public java.util.Map< + java.lang.String, com.google.cloud.contactcenterinsights.v1.PhraseMatchData> + getPhraseMatchers() { return getPhraseMatchersMap(); } /** + * + * *
      * All the matched phrase matchers in the call.
      * 
* - * map<string, .google.cloud.contactcenterinsights.v1.PhraseMatchData> phrase_matchers = 7; + * + * map<string, .google.cloud.contactcenterinsights.v1.PhraseMatchData> phrase_matchers = 7; + * */ @java.lang.Override - public java.util.Map getPhraseMatchersMap() { + public java.util.Map< + java.lang.String, com.google.cloud.contactcenterinsights.v1.PhraseMatchData> + getPhraseMatchersMap() { return internalGetPhraseMatchers().getMap(); } /** + * + * *
      * All the matched phrase matchers in the call.
      * 
* - * map<string, .google.cloud.contactcenterinsights.v1.PhraseMatchData> phrase_matchers = 7; + * + * map<string, .google.cloud.contactcenterinsights.v1.PhraseMatchData> phrase_matchers = 7; + * */ @java.lang.Override - public /* nullable */ -com.google.cloud.contactcenterinsights.v1.PhraseMatchData getPhraseMatchersOrDefault( - java.lang.String key, - /* nullable */ -com.google.cloud.contactcenterinsights.v1.PhraseMatchData defaultValue) { - if (key == null) { throw new NullPointerException("map key"); } - java.util.Map map = - internalGetPhraseMatchers().getMap(); + public /* nullable */ com.google.cloud.contactcenterinsights.v1.PhraseMatchData + getPhraseMatchersOrDefault( + java.lang.String key, + /* nullable */ + com.google.cloud.contactcenterinsights.v1.PhraseMatchData defaultValue) { + if (key == null) { + throw new NullPointerException("map key"); + } + java.util.Map + map = internalGetPhraseMatchers().getMap(); return map.containsKey(key) ? map.get(key) : defaultValue; } /** + * + * *
      * All the matched phrase matchers in the call.
      * 
* - * map<string, .google.cloud.contactcenterinsights.v1.PhraseMatchData> phrase_matchers = 7; + * + * map<string, .google.cloud.contactcenterinsights.v1.PhraseMatchData> phrase_matchers = 7; + * */ @java.lang.Override public com.google.cloud.contactcenterinsights.v1.PhraseMatchData getPhraseMatchersOrThrow( java.lang.String key) { - if (key == null) { throw new NullPointerException("map key"); } - java.util.Map map = - internalGetPhraseMatchers().getMap(); + if (key == null) { + throw new NullPointerException("map key"); + } + java.util.Map + map = internalGetPhraseMatchers().getMap(); if (!map.containsKey(key)) { throw new java.lang.IllegalArgumentException(); } @@ -800,11 +1000,14 @@ public com.google.cloud.contactcenterinsights.v1.PhraseMatchData getPhraseMatche public static final int ISSUE_MODEL_RESULT_FIELD_NUMBER = 8; private com.google.cloud.contactcenterinsights.v1.IssueModelResult issueModelResult_; /** + * + * *
      * Overall conversation-level issue modeling result.
      * 
* * .google.cloud.contactcenterinsights.v1.IssueModelResult issue_model_result = 8; + * * @return Whether the issueModelResult field is set. */ @java.lang.Override @@ -812,18 +1015,25 @@ public boolean hasIssueModelResult() { return issueModelResult_ != null; } /** + * + * *
      * Overall conversation-level issue modeling result.
      * 
* * .google.cloud.contactcenterinsights.v1.IssueModelResult issue_model_result = 8; + * * @return The issueModelResult. */ @java.lang.Override public com.google.cloud.contactcenterinsights.v1.IssueModelResult getIssueModelResult() { - return issueModelResult_ == null ? com.google.cloud.contactcenterinsights.v1.IssueModelResult.getDefaultInstance() : issueModelResult_; + return issueModelResult_ == null + ? com.google.cloud.contactcenterinsights.v1.IssueModelResult.getDefaultInstance() + : issueModelResult_; } /** + * + * *
      * Overall conversation-level issue modeling result.
      * 
@@ -831,11 +1041,15 @@ public com.google.cloud.contactcenterinsights.v1.IssueModelResult getIssueModelR * .google.cloud.contactcenterinsights.v1.IssueModelResult issue_model_result = 8; */ @java.lang.Override - public com.google.cloud.contactcenterinsights.v1.IssueModelResultOrBuilder getIssueModelResultOrBuilder() { - return issueModelResult_ == null ? com.google.cloud.contactcenterinsights.v1.IssueModelResult.getDefaultInstance() : issueModelResult_; + public com.google.cloud.contactcenterinsights.v1.IssueModelResultOrBuilder + getIssueModelResultOrBuilder() { + return issueModelResult_ == null + ? com.google.cloud.contactcenterinsights.v1.IssueModelResult.getDefaultInstance() + : issueModelResult_; } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -847,32 +1061,19 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { for (int i = 0; i < annotations_.size(); i++) { output.writeMessage(2, annotations_.get(i)); } - com.google.protobuf.GeneratedMessageV3 - .serializeStringMapTo( - output, - internalGetEntities(), - EntitiesDefaultEntryHolder.defaultEntry, - 3); + com.google.protobuf.GeneratedMessageV3.serializeStringMapTo( + output, internalGetEntities(), EntitiesDefaultEntryHolder.defaultEntry, 3); for (int i = 0; i < sentiments_.size(); i++) { output.writeMessage(4, sentiments_.get(i)); } - com.google.protobuf.GeneratedMessageV3 - .serializeStringMapTo( - output, - internalGetIntents(), - IntentsDefaultEntryHolder.defaultEntry, - 6); - com.google.protobuf.GeneratedMessageV3 - .serializeStringMapTo( - output, - internalGetPhraseMatchers(), - PhraseMatchersDefaultEntryHolder.defaultEntry, - 7); + com.google.protobuf.GeneratedMessageV3.serializeStringMapTo( + output, internalGetIntents(), IntentsDefaultEntryHolder.defaultEntry, 6); + com.google.protobuf.GeneratedMessageV3.serializeStringMapTo( + output, internalGetPhraseMatchers(), PhraseMatchersDefaultEntryHolder.defaultEntry, 7); if (issueModelResult_ != null) { output.writeMessage(8, getIssueModelResult()); } @@ -886,46 +1087,50 @@ public int getSerializedSize() { size = 0; for (int i = 0; i < annotations_.size(); i++) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, annotations_.get(i)); - } - for (java.util.Map.Entry entry - : internalGetEntities().getMap().entrySet()) { - com.google.protobuf.MapEntry - entities__ = EntitiesDefaultEntryHolder.defaultEntry.newBuilderForType() - .setKey(entry.getKey()) - .setValue(entry.getValue()) - .build(); - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(3, entities__); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, annotations_.get(i)); + } + for (java.util.Map.Entry + entry : internalGetEntities().getMap().entrySet()) { + com.google.protobuf.MapEntry< + java.lang.String, com.google.cloud.contactcenterinsights.v1.Entity> + entities__ = + EntitiesDefaultEntryHolder.defaultEntry + .newBuilderForType() + .setKey(entry.getKey()) + .setValue(entry.getValue()) + .build(); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, entities__); } for (int i = 0; i < sentiments_.size(); i++) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(4, sentiments_.get(i)); - } - for (java.util.Map.Entry entry - : internalGetIntents().getMap().entrySet()) { - com.google.protobuf.MapEntry - intents__ = IntentsDefaultEntryHolder.defaultEntry.newBuilderForType() - .setKey(entry.getKey()) - .setValue(entry.getValue()) - .build(); - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(6, intents__); - } - for (java.util.Map.Entry entry - : internalGetPhraseMatchers().getMap().entrySet()) { - com.google.protobuf.MapEntry - phraseMatchers__ = PhraseMatchersDefaultEntryHolder.defaultEntry.newBuilderForType() - .setKey(entry.getKey()) - .setValue(entry.getValue()) - .build(); - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(7, phraseMatchers__); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(4, sentiments_.get(i)); + } + for (java.util.Map.Entry + entry : internalGetIntents().getMap().entrySet()) { + com.google.protobuf.MapEntry< + java.lang.String, com.google.cloud.contactcenterinsights.v1.Intent> + intents__ = + IntentsDefaultEntryHolder.defaultEntry + .newBuilderForType() + .setKey(entry.getKey()) + .setValue(entry.getValue()) + .build(); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(6, intents__); + } + for (java.util.Map.Entry< + java.lang.String, com.google.cloud.contactcenterinsights.v1.PhraseMatchData> + entry : internalGetPhraseMatchers().getMap().entrySet()) { + com.google.protobuf.MapEntry< + java.lang.String, com.google.cloud.contactcenterinsights.v1.PhraseMatchData> + phraseMatchers__ = + PhraseMatchersDefaultEntryHolder.defaultEntry + .newBuilderForType() + .setKey(entry.getKey()) + .setValue(entry.getValue()) + .build(); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(7, phraseMatchers__); } if (issueModelResult_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(8, getIssueModelResult()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(8, getIssueModelResult()); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -935,27 +1140,24 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } - if (!(obj instanceof com.google.cloud.contactcenterinsights.v1.AnalysisResult.CallAnalysisMetadata)) { + if (!(obj + instanceof + com.google.cloud.contactcenterinsights.v1.AnalysisResult.CallAnalysisMetadata)) { return super.equals(obj); } - com.google.cloud.contactcenterinsights.v1.AnalysisResult.CallAnalysisMetadata other = (com.google.cloud.contactcenterinsights.v1.AnalysisResult.CallAnalysisMetadata) obj; - - if (!getAnnotationsList() - .equals(other.getAnnotationsList())) return false; - if (!internalGetEntities().equals( - other.internalGetEntities())) return false; - if (!getSentimentsList() - .equals(other.getSentimentsList())) return false; - if (!internalGetIntents().equals( - other.internalGetIntents())) return false; - if (!internalGetPhraseMatchers().equals( - other.internalGetPhraseMatchers())) return false; + com.google.cloud.contactcenterinsights.v1.AnalysisResult.CallAnalysisMetadata other = + (com.google.cloud.contactcenterinsights.v1.AnalysisResult.CallAnalysisMetadata) obj; + + if (!getAnnotationsList().equals(other.getAnnotationsList())) return false; + if (!internalGetEntities().equals(other.internalGetEntities())) return false; + if (!getSentimentsList().equals(other.getSentimentsList())) return false; + if (!internalGetIntents().equals(other.internalGetIntents())) return false; + if (!internalGetPhraseMatchers().equals(other.internalGetPhraseMatchers())) return false; if (hasIssueModelResult() != other.hasIssueModelResult()) return false; if (hasIssueModelResult()) { - if (!getIssueModelResult() - .equals(other.getIssueModelResult())) return false; + if (!getIssueModelResult().equals(other.getIssueModelResult())) return false; } if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -997,88 +1199,101 @@ public int hashCode() { return hash; } - public static com.google.cloud.contactcenterinsights.v1.AnalysisResult.CallAnalysisMetadata parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.contactcenterinsights.v1.AnalysisResult.CallAnalysisMetadata + parseFrom(java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.contactcenterinsights.v1.AnalysisResult.CallAnalysisMetadata parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.contactcenterinsights.v1.AnalysisResult.CallAnalysisMetadata + parseFrom( + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.contactcenterinsights.v1.AnalysisResult.CallAnalysisMetadata parseFrom( - com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.contactcenterinsights.v1.AnalysisResult.CallAnalysisMetadata + parseFrom(com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.contactcenterinsights.v1.AnalysisResult.CallAnalysisMetadata parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.contactcenterinsights.v1.AnalysisResult.CallAnalysisMetadata + parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.contactcenterinsights.v1.AnalysisResult.CallAnalysisMetadata parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.contactcenterinsights.v1.AnalysisResult.CallAnalysisMetadata + parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.contactcenterinsights.v1.AnalysisResult.CallAnalysisMetadata parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.contactcenterinsights.v1.AnalysisResult.CallAnalysisMetadata + parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.contactcenterinsights.v1.AnalysisResult.CallAnalysisMetadata parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.contactcenterinsights.v1.AnalysisResult.CallAnalysisMetadata + parseFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } - public static com.google.cloud.contactcenterinsights.v1.AnalysisResult.CallAnalysisMetadata parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + + public static com.google.cloud.contactcenterinsights.v1.AnalysisResult.CallAnalysisMetadata + parseFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.contactcenterinsights.v1.AnalysisResult.CallAnalysisMetadata parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.contactcenterinsights.v1.AnalysisResult.CallAnalysisMetadata + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.contactcenterinsights.v1.AnalysisResult.CallAnalysisMetadata parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + + public static com.google.cloud.contactcenterinsights.v1.AnalysisResult.CallAnalysisMetadata + parseDelimitedFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.contactcenterinsights.v1.AnalysisResult.CallAnalysisMetadata parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.contactcenterinsights.v1.AnalysisResult.CallAnalysisMetadata + parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } - public static com.google.cloud.contactcenterinsights.v1.AnalysisResult.CallAnalysisMetadata parseFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + + public static com.google.cloud.contactcenterinsights.v1.AnalysisResult.CallAnalysisMetadata + parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.contactcenterinsights.v1.AnalysisResult.CallAnalysisMetadata prototype) { + + public static Builder newBuilder( + com.google.cloud.contactcenterinsights.v1.AnalysisResult.CallAnalysisMetadata prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -1088,24 +1303,27 @@ protected Builder newBuilderForType( return builder; } /** + * + * *
      * Call-specific metadata created during analysis.
      * 
* - * Protobuf type {@code google.cloud.contactcenterinsights.v1.AnalysisResult.CallAnalysisMetadata} + * Protobuf type {@code + * google.cloud.contactcenterinsights.v1.AnalysisResult.CallAnalysisMetadata} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder + extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.contactcenterinsights.v1.AnalysisResult.CallAnalysisMetadata) com.google.cloud.contactcenterinsights.v1.AnalysisResult.CallAnalysisMetadataOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.contactcenterinsights.v1.ResourcesProto.internal_static_google_cloud_contactcenterinsights_v1_AnalysisResult_CallAnalysisMetadata_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.contactcenterinsights.v1.ResourcesProto + .internal_static_google_cloud_contactcenterinsights_v1_AnalysisResult_CallAnalysisMetadata_descriptor; } @SuppressWarnings({"rawtypes"}) - protected com.google.protobuf.MapField internalGetMapField( - int number) { + protected com.google.protobuf.MapField internalGetMapField(int number) { switch (number) { case 3: return internalGetEntities(); @@ -1114,13 +1332,12 @@ protected com.google.protobuf.MapField internalGetMapField( case 7: return internalGetPhraseMatchers(); default: - throw new RuntimeException( - "Invalid map field number: " + number); + throw new RuntimeException("Invalid map field number: " + number); } } + @SuppressWarnings({"rawtypes"}) - protected com.google.protobuf.MapField internalGetMutableMapField( - int number) { + protected com.google.protobuf.MapField internalGetMutableMapField(int number) { switch (number) { case 3: return internalGetMutableEntities(); @@ -1129,28 +1346,29 @@ protected com.google.protobuf.MapField internalGetMutableMapField( case 7: return internalGetMutablePhraseMatchers(); default: - throw new RuntimeException( - "Invalid map field number: " + number); + throw new RuntimeException("Invalid map field number: " + number); } } + @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.contactcenterinsights.v1.ResourcesProto.internal_static_google_cloud_contactcenterinsights_v1_AnalysisResult_CallAnalysisMetadata_fieldAccessorTable + return com.google.cloud.contactcenterinsights.v1.ResourcesProto + .internal_static_google_cloud_contactcenterinsights_v1_AnalysisResult_CallAnalysisMetadata_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.contactcenterinsights.v1.AnalysisResult.CallAnalysisMetadata.class, com.google.cloud.contactcenterinsights.v1.AnalysisResult.CallAnalysisMetadata.Builder.class); + com.google.cloud.contactcenterinsights.v1.AnalysisResult.CallAnalysisMetadata.class, + com.google.cloud.contactcenterinsights.v1.AnalysisResult.CallAnalysisMetadata + .Builder.class); } - // Construct using com.google.cloud.contactcenterinsights.v1.AnalysisResult.CallAnalysisMetadata.newBuilder() - private Builder() { + // Construct using + // com.google.cloud.contactcenterinsights.v1.AnalysisResult.CallAnalysisMetadata.newBuilder() + private Builder() {} - } - - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -1181,19 +1399,22 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.contactcenterinsights.v1.ResourcesProto.internal_static_google_cloud_contactcenterinsights_v1_AnalysisResult_CallAnalysisMetadata_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.contactcenterinsights.v1.ResourcesProto + .internal_static_google_cloud_contactcenterinsights_v1_AnalysisResult_CallAnalysisMetadata_descriptor; } @java.lang.Override - public com.google.cloud.contactcenterinsights.v1.AnalysisResult.CallAnalysisMetadata getDefaultInstanceForType() { - return com.google.cloud.contactcenterinsights.v1.AnalysisResult.CallAnalysisMetadata.getDefaultInstance(); + public com.google.cloud.contactcenterinsights.v1.AnalysisResult.CallAnalysisMetadata + getDefaultInstanceForType() { + return com.google.cloud.contactcenterinsights.v1.AnalysisResult.CallAnalysisMetadata + .getDefaultInstance(); } @java.lang.Override public com.google.cloud.contactcenterinsights.v1.AnalysisResult.CallAnalysisMetadata build() { - com.google.cloud.contactcenterinsights.v1.AnalysisResult.CallAnalysisMetadata result = buildPartial(); + com.google.cloud.contactcenterinsights.v1.AnalysisResult.CallAnalysisMetadata result = + buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } @@ -1201,15 +1422,20 @@ public com.google.cloud.contactcenterinsights.v1.AnalysisResult.CallAnalysisMeta } @java.lang.Override - public com.google.cloud.contactcenterinsights.v1.AnalysisResult.CallAnalysisMetadata buildPartial() { - com.google.cloud.contactcenterinsights.v1.AnalysisResult.CallAnalysisMetadata result = new com.google.cloud.contactcenterinsights.v1.AnalysisResult.CallAnalysisMetadata(this); + public com.google.cloud.contactcenterinsights.v1.AnalysisResult.CallAnalysisMetadata + buildPartial() { + com.google.cloud.contactcenterinsights.v1.AnalysisResult.CallAnalysisMetadata result = + new com.google.cloud.contactcenterinsights.v1.AnalysisResult.CallAnalysisMetadata(this); buildPartialRepeatedFields(result); - if (bitField0_ != 0) { buildPartial0(result); } + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } - private void buildPartialRepeatedFields(com.google.cloud.contactcenterinsights.v1.AnalysisResult.CallAnalysisMetadata result) { + private void buildPartialRepeatedFields( + com.google.cloud.contactcenterinsights.v1.AnalysisResult.CallAnalysisMetadata result) { if (annotationsBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { annotations_ = java.util.Collections.unmodifiableList(annotations_); @@ -1230,7 +1456,8 @@ private void buildPartialRepeatedFields(com.google.cloud.contactcenterinsights.v } } - private void buildPartial0(com.google.cloud.contactcenterinsights.v1.AnalysisResult.CallAnalysisMetadata result) { + private void buildPartial0( + com.google.cloud.contactcenterinsights.v1.AnalysisResult.CallAnalysisMetadata result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000002) != 0)) { result.entities_ = internalGetEntities(); @@ -1245,9 +1472,10 @@ private void buildPartial0(com.google.cloud.contactcenterinsights.v1.AnalysisRes result.phraseMatchers_.makeImmutable(); } if (((from_bitField0_ & 0x00000020) != 0)) { - result.issueModelResult_ = issueModelResultBuilder_ == null - ? issueModelResult_ - : issueModelResultBuilder_.build(); + result.issueModelResult_ = + issueModelResultBuilder_ == null + ? issueModelResult_ + : issueModelResultBuilder_.build(); } } @@ -1255,46 +1483,56 @@ private void buildPartial0(com.google.cloud.contactcenterinsights.v1.AnalysisRes public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + int index, + java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { - if (other instanceof com.google.cloud.contactcenterinsights.v1.AnalysisResult.CallAnalysisMetadata) { - return mergeFrom((com.google.cloud.contactcenterinsights.v1.AnalysisResult.CallAnalysisMetadata)other); + if (other + instanceof + com.google.cloud.contactcenterinsights.v1.AnalysisResult.CallAnalysisMetadata) { + return mergeFrom( + (com.google.cloud.contactcenterinsights.v1.AnalysisResult.CallAnalysisMetadata) + other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.google.cloud.contactcenterinsights.v1.AnalysisResult.CallAnalysisMetadata other) { - if (other == com.google.cloud.contactcenterinsights.v1.AnalysisResult.CallAnalysisMetadata.getDefaultInstance()) return this; + public Builder mergeFrom( + com.google.cloud.contactcenterinsights.v1.AnalysisResult.CallAnalysisMetadata other) { + if (other + == com.google.cloud.contactcenterinsights.v1.AnalysisResult.CallAnalysisMetadata + .getDefaultInstance()) return this; if (annotationsBuilder_ == null) { if (!other.annotations_.isEmpty()) { if (annotations_.isEmpty()) { @@ -1313,16 +1551,16 @@ public Builder mergeFrom(com.google.cloud.contactcenterinsights.v1.AnalysisResul annotationsBuilder_ = null; annotations_ = other.annotations_; bitField0_ = (bitField0_ & ~0x00000001); - annotationsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? - getAnnotationsFieldBuilder() : null; + annotationsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders + ? getAnnotationsFieldBuilder() + : null; } else { annotationsBuilder_.addAllMessages(other.annotations_); } } } - internalGetMutableEntities().mergeFrom( - other.internalGetEntities()); + internalGetMutableEntities().mergeFrom(other.internalGetEntities()); bitField0_ |= 0x00000002; if (sentimentsBuilder_ == null) { if (!other.sentiments_.isEmpty()) { @@ -1342,19 +1580,18 @@ public Builder mergeFrom(com.google.cloud.contactcenterinsights.v1.AnalysisResul sentimentsBuilder_ = null; sentiments_ = other.sentiments_; bitField0_ = (bitField0_ & ~0x00000004); - sentimentsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? - getSentimentsFieldBuilder() : null; + sentimentsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders + ? getSentimentsFieldBuilder() + : null; } else { sentimentsBuilder_.addAllMessages(other.sentiments_); } } } - internalGetMutableIntents().mergeFrom( - other.internalGetIntents()); + internalGetMutableIntents().mergeFrom(other.internalGetIntents()); bitField0_ |= 0x00000008; - internalGetMutablePhraseMatchers().mergeFrom( - other.internalGetPhraseMatchers()); + internalGetMutablePhraseMatchers().mergeFrom(other.internalGetPhraseMatchers()); bitField0_ |= 0x00000010; if (other.hasIssueModelResult()) { mergeIssueModelResult(other.getIssueModelResult()); @@ -1385,72 +1622,92 @@ public Builder mergeFrom( case 0: done = true; break; - case 18: { - com.google.cloud.contactcenterinsights.v1.CallAnnotation m = - input.readMessage( - com.google.cloud.contactcenterinsights.v1.CallAnnotation.parser(), - extensionRegistry); - if (annotationsBuilder_ == null) { - ensureAnnotationsIsMutable(); - annotations_.add(m); - } else { - annotationsBuilder_.addMessage(m); - } - break; - } // case 18 - case 26: { - com.google.protobuf.MapEntry - entities__ = input.readMessage( - EntitiesDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry); - internalGetMutableEntities().getMutableMap().put( - entities__.getKey(), entities__.getValue()); - bitField0_ |= 0x00000002; - break; - } // case 26 - case 34: { - com.google.cloud.contactcenterinsights.v1.ConversationLevelSentiment m = - input.readMessage( - com.google.cloud.contactcenterinsights.v1.ConversationLevelSentiment.parser(), - extensionRegistry); - if (sentimentsBuilder_ == null) { - ensureSentimentsIsMutable(); - sentiments_.add(m); - } else { - sentimentsBuilder_.addMessage(m); - } - break; - } // case 34 - case 50: { - com.google.protobuf.MapEntry - intents__ = input.readMessage( - IntentsDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry); - internalGetMutableIntents().getMutableMap().put( - intents__.getKey(), intents__.getValue()); - bitField0_ |= 0x00000008; - break; - } // case 50 - case 58: { - com.google.protobuf.MapEntry - phraseMatchers__ = input.readMessage( - PhraseMatchersDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry); - internalGetMutablePhraseMatchers().getMutableMap().put( - phraseMatchers__.getKey(), phraseMatchers__.getValue()); - bitField0_ |= 0x00000010; - break; - } // case 58 - case 66: { - input.readMessage( - getIssueModelResultFieldBuilder().getBuilder(), - extensionRegistry); - bitField0_ |= 0x00000020; - break; - } // case 66 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 18: + { + com.google.cloud.contactcenterinsights.v1.CallAnnotation m = + input.readMessage( + com.google.cloud.contactcenterinsights.v1.CallAnnotation.parser(), + extensionRegistry); + if (annotationsBuilder_ == null) { + ensureAnnotationsIsMutable(); + annotations_.add(m); + } else { + annotationsBuilder_.addMessage(m); + } + break; + } // case 18 + case 26: + { + com.google.protobuf.MapEntry< + java.lang.String, com.google.cloud.contactcenterinsights.v1.Entity> + entities__ = + input.readMessage( + EntitiesDefaultEntryHolder.defaultEntry.getParserForType(), + extensionRegistry); + internalGetMutableEntities() + .getMutableMap() + .put(entities__.getKey(), entities__.getValue()); + bitField0_ |= 0x00000002; + break; + } // case 26 + case 34: + { + com.google.cloud.contactcenterinsights.v1.ConversationLevelSentiment m = + input.readMessage( + com.google.cloud.contactcenterinsights.v1.ConversationLevelSentiment + .parser(), + extensionRegistry); + if (sentimentsBuilder_ == null) { + ensureSentimentsIsMutable(); + sentiments_.add(m); + } else { + sentimentsBuilder_.addMessage(m); + } + break; + } // case 34 + case 50: + { + com.google.protobuf.MapEntry< + java.lang.String, com.google.cloud.contactcenterinsights.v1.Intent> + intents__ = + input.readMessage( + IntentsDefaultEntryHolder.defaultEntry.getParserForType(), + extensionRegistry); + internalGetMutableIntents() + .getMutableMap() + .put(intents__.getKey(), intents__.getValue()); + bitField0_ |= 0x00000008; + break; + } // case 50 + case 58: + { + com.google.protobuf.MapEntry< + java.lang.String, + com.google.cloud.contactcenterinsights.v1.PhraseMatchData> + phraseMatchers__ = + input.readMessage( + PhraseMatchersDefaultEntryHolder.defaultEntry.getParserForType(), + extensionRegistry); + internalGetMutablePhraseMatchers() + .getMutableMap() + .put(phraseMatchers__.getKey(), phraseMatchers__.getValue()); + bitField0_ |= 0x00000010; + break; + } // case 58 + case 66: + { + input.readMessage( + getIssueModelResultFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000020; + break; + } // case 66 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -1460,28 +1717,39 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; - private java.util.List annotations_ = - java.util.Collections.emptyList(); + private java.util.List + annotations_ = java.util.Collections.emptyList(); + private void ensureAnnotationsIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { - annotations_ = new java.util.ArrayList(annotations_); + annotations_ = + new java.util.ArrayList( + annotations_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.contactcenterinsights.v1.CallAnnotation, com.google.cloud.contactcenterinsights.v1.CallAnnotation.Builder, com.google.cloud.contactcenterinsights.v1.CallAnnotationOrBuilder> annotationsBuilder_; + com.google.cloud.contactcenterinsights.v1.CallAnnotation, + com.google.cloud.contactcenterinsights.v1.CallAnnotation.Builder, + com.google.cloud.contactcenterinsights.v1.CallAnnotationOrBuilder> + annotationsBuilder_; /** + * + * *
        * A list of call annotations that apply to this call.
        * 
* - * repeated .google.cloud.contactcenterinsights.v1.CallAnnotation annotations = 2; + * repeated .google.cloud.contactcenterinsights.v1.CallAnnotation annotations = 2; + * */ - public java.util.List getAnnotationsList() { + public java.util.List + getAnnotationsList() { if (annotationsBuilder_ == null) { return java.util.Collections.unmodifiableList(annotations_); } else { @@ -1489,11 +1757,14 @@ public java.util.List } } /** + * + * *
        * A list of call annotations that apply to this call.
        * 
* - * repeated .google.cloud.contactcenterinsights.v1.CallAnnotation annotations = 2; + * repeated .google.cloud.contactcenterinsights.v1.CallAnnotation annotations = 2; + * */ public int getAnnotationsCount() { if (annotationsBuilder_ == null) { @@ -1503,11 +1774,14 @@ public int getAnnotationsCount() { } } /** + * + * *
        * A list of call annotations that apply to this call.
        * 
* - * repeated .google.cloud.contactcenterinsights.v1.CallAnnotation annotations = 2; + * repeated .google.cloud.contactcenterinsights.v1.CallAnnotation annotations = 2; + * */ public com.google.cloud.contactcenterinsights.v1.CallAnnotation getAnnotations(int index) { if (annotationsBuilder_ == null) { @@ -1517,11 +1791,14 @@ public com.google.cloud.contactcenterinsights.v1.CallAnnotation getAnnotations(i } } /** + * + * *
        * A list of call annotations that apply to this call.
        * 
* - * repeated .google.cloud.contactcenterinsights.v1.CallAnnotation annotations = 2; + * repeated .google.cloud.contactcenterinsights.v1.CallAnnotation annotations = 2; + * */ public Builder setAnnotations( int index, com.google.cloud.contactcenterinsights.v1.CallAnnotation value) { @@ -1538,14 +1815,18 @@ public Builder setAnnotations( return this; } /** + * + * *
        * A list of call annotations that apply to this call.
        * 
* - * repeated .google.cloud.contactcenterinsights.v1.CallAnnotation annotations = 2; + * repeated .google.cloud.contactcenterinsights.v1.CallAnnotation annotations = 2; + * */ public Builder setAnnotations( - int index, com.google.cloud.contactcenterinsights.v1.CallAnnotation.Builder builderForValue) { + int index, + com.google.cloud.contactcenterinsights.v1.CallAnnotation.Builder builderForValue) { if (annotationsBuilder_ == null) { ensureAnnotationsIsMutable(); annotations_.set(index, builderForValue.build()); @@ -1556,13 +1837,17 @@ public Builder setAnnotations( return this; } /** + * + * *
        * A list of call annotations that apply to this call.
        * 
* - * repeated .google.cloud.contactcenterinsights.v1.CallAnnotation annotations = 2; + * repeated .google.cloud.contactcenterinsights.v1.CallAnnotation annotations = 2; + * */ - public Builder addAnnotations(com.google.cloud.contactcenterinsights.v1.CallAnnotation value) { + public Builder addAnnotations( + com.google.cloud.contactcenterinsights.v1.CallAnnotation value) { if (annotationsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -1576,11 +1861,14 @@ public Builder addAnnotations(com.google.cloud.contactcenterinsights.v1.CallAnno return this; } /** + * + * *
        * A list of call annotations that apply to this call.
        * 
* - * repeated .google.cloud.contactcenterinsights.v1.CallAnnotation annotations = 2; + * repeated .google.cloud.contactcenterinsights.v1.CallAnnotation annotations = 2; + * */ public Builder addAnnotations( int index, com.google.cloud.contactcenterinsights.v1.CallAnnotation value) { @@ -1597,11 +1885,14 @@ public Builder addAnnotations( return this; } /** + * + * *
        * A list of call annotations that apply to this call.
        * 
* - * repeated .google.cloud.contactcenterinsights.v1.CallAnnotation annotations = 2; + * repeated .google.cloud.contactcenterinsights.v1.CallAnnotation annotations = 2; + * */ public Builder addAnnotations( com.google.cloud.contactcenterinsights.v1.CallAnnotation.Builder builderForValue) { @@ -1615,14 +1906,18 @@ public Builder addAnnotations( return this; } /** + * + * *
        * A list of call annotations that apply to this call.
        * 
* - * repeated .google.cloud.contactcenterinsights.v1.CallAnnotation annotations = 2; + * repeated .google.cloud.contactcenterinsights.v1.CallAnnotation annotations = 2; + * */ public Builder addAnnotations( - int index, com.google.cloud.contactcenterinsights.v1.CallAnnotation.Builder builderForValue) { + int index, + com.google.cloud.contactcenterinsights.v1.CallAnnotation.Builder builderForValue) { if (annotationsBuilder_ == null) { ensureAnnotationsIsMutable(); annotations_.add(index, builderForValue.build()); @@ -1633,18 +1928,21 @@ public Builder addAnnotations( return this; } /** + * + * *
        * A list of call annotations that apply to this call.
        * 
* - * repeated .google.cloud.contactcenterinsights.v1.CallAnnotation annotations = 2; + * repeated .google.cloud.contactcenterinsights.v1.CallAnnotation annotations = 2; + * */ public Builder addAllAnnotations( - java.lang.Iterable values) { + java.lang.Iterable + values) { if (annotationsBuilder_ == null) { ensureAnnotationsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, annotations_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, annotations_); onChanged(); } else { annotationsBuilder_.addAllMessages(values); @@ -1652,11 +1950,14 @@ public Builder addAllAnnotations( return this; } /** + * + * *
        * A list of call annotations that apply to this call.
        * 
* - * repeated .google.cloud.contactcenterinsights.v1.CallAnnotation annotations = 2; + * repeated .google.cloud.contactcenterinsights.v1.CallAnnotation annotations = 2; + * */ public Builder clearAnnotations() { if (annotationsBuilder_ == null) { @@ -1669,11 +1970,14 @@ public Builder clearAnnotations() { return this; } /** + * + * *
        * A list of call annotations that apply to this call.
        * 
* - * repeated .google.cloud.contactcenterinsights.v1.CallAnnotation annotations = 2; + * repeated .google.cloud.contactcenterinsights.v1.CallAnnotation annotations = 2; + * */ public Builder removeAnnotations(int index) { if (annotationsBuilder_ == null) { @@ -1686,39 +1990,50 @@ public Builder removeAnnotations(int index) { return this; } /** + * + * *
        * A list of call annotations that apply to this call.
        * 
* - * repeated .google.cloud.contactcenterinsights.v1.CallAnnotation annotations = 2; + * repeated .google.cloud.contactcenterinsights.v1.CallAnnotation annotations = 2; + * */ public com.google.cloud.contactcenterinsights.v1.CallAnnotation.Builder getAnnotationsBuilder( int index) { return getAnnotationsFieldBuilder().getBuilder(index); } /** + * + * *
        * A list of call annotations that apply to this call.
        * 
* - * repeated .google.cloud.contactcenterinsights.v1.CallAnnotation annotations = 2; + * repeated .google.cloud.contactcenterinsights.v1.CallAnnotation annotations = 2; + * */ - public com.google.cloud.contactcenterinsights.v1.CallAnnotationOrBuilder getAnnotationsOrBuilder( - int index) { + public com.google.cloud.contactcenterinsights.v1.CallAnnotationOrBuilder + getAnnotationsOrBuilder(int index) { if (annotationsBuilder_ == null) { - return annotations_.get(index); } else { + return annotations_.get(index); + } else { return annotationsBuilder_.getMessageOrBuilder(index); } } /** + * + * *
        * A list of call annotations that apply to this call.
        * 
* - * repeated .google.cloud.contactcenterinsights.v1.CallAnnotation annotations = 2; + * repeated .google.cloud.contactcenterinsights.v1.CallAnnotation annotations = 2; + * */ - public java.util.List - getAnnotationsOrBuilderList() { + public java.util.List< + ? extends com.google.cloud.contactcenterinsights.v1.CallAnnotationOrBuilder> + getAnnotationsOrBuilderList() { if (annotationsBuilder_ != null) { return annotationsBuilder_.getMessageOrBuilderList(); } else { @@ -1726,45 +2041,64 @@ public com.google.cloud.contactcenterinsights.v1.CallAnnotationOrBuilder getAnno } } /** + * + * *
        * A list of call annotations that apply to this call.
        * 
* - * repeated .google.cloud.contactcenterinsights.v1.CallAnnotation annotations = 2; + * repeated .google.cloud.contactcenterinsights.v1.CallAnnotation annotations = 2; + * */ - public com.google.cloud.contactcenterinsights.v1.CallAnnotation.Builder addAnnotationsBuilder() { - return getAnnotationsFieldBuilder().addBuilder( - com.google.cloud.contactcenterinsights.v1.CallAnnotation.getDefaultInstance()); + public com.google.cloud.contactcenterinsights.v1.CallAnnotation.Builder + addAnnotationsBuilder() { + return getAnnotationsFieldBuilder() + .addBuilder( + com.google.cloud.contactcenterinsights.v1.CallAnnotation.getDefaultInstance()); } /** + * + * *
        * A list of call annotations that apply to this call.
        * 
* - * repeated .google.cloud.contactcenterinsights.v1.CallAnnotation annotations = 2; + * repeated .google.cloud.contactcenterinsights.v1.CallAnnotation annotations = 2; + * */ public com.google.cloud.contactcenterinsights.v1.CallAnnotation.Builder addAnnotationsBuilder( int index) { - return getAnnotationsFieldBuilder().addBuilder( - index, com.google.cloud.contactcenterinsights.v1.CallAnnotation.getDefaultInstance()); + return getAnnotationsFieldBuilder() + .addBuilder( + index, + com.google.cloud.contactcenterinsights.v1.CallAnnotation.getDefaultInstance()); } /** + * + * *
        * A list of call annotations that apply to this call.
        * 
* - * repeated .google.cloud.contactcenterinsights.v1.CallAnnotation annotations = 2; + * repeated .google.cloud.contactcenterinsights.v1.CallAnnotation annotations = 2; + * */ - public java.util.List - getAnnotationsBuilderList() { + public java.util.List + getAnnotationsBuilderList() { return getAnnotationsFieldBuilder().getBuilderList(); } + private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.contactcenterinsights.v1.CallAnnotation, com.google.cloud.contactcenterinsights.v1.CallAnnotation.Builder, com.google.cloud.contactcenterinsights.v1.CallAnnotationOrBuilder> + com.google.cloud.contactcenterinsights.v1.CallAnnotation, + com.google.cloud.contactcenterinsights.v1.CallAnnotation.Builder, + com.google.cloud.contactcenterinsights.v1.CallAnnotationOrBuilder> getAnnotationsFieldBuilder() { if (annotationsBuilder_ == null) { - annotationsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.contactcenterinsights.v1.CallAnnotation, com.google.cloud.contactcenterinsights.v1.CallAnnotation.Builder, com.google.cloud.contactcenterinsights.v1.CallAnnotationOrBuilder>( + annotationsBuilder_ = + new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.contactcenterinsights.v1.CallAnnotation, + com.google.cloud.contactcenterinsights.v1.CallAnnotation.Builder, + com.google.cloud.contactcenterinsights.v1.CallAnnotationOrBuilder>( annotations_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), @@ -1775,8 +2109,11 @@ public com.google.cloud.contactcenterinsights.v1.CallAnnotation.Builder addAnnot } private com.google.protobuf.MapField< - java.lang.String, com.google.cloud.contactcenterinsights.v1.Entity> entities_; - private com.google.protobuf.MapField + java.lang.String, com.google.cloud.contactcenterinsights.v1.Entity> + entities_; + + private com.google.protobuf.MapField< + java.lang.String, com.google.cloud.contactcenterinsights.v1.Entity> internalGetEntities() { if (entities_ == null) { return com.google.protobuf.MapField.emptyMapField( @@ -1784,11 +2121,13 @@ public com.google.cloud.contactcenterinsights.v1.CallAnnotation.Builder addAnnot } return entities_; } - private com.google.protobuf.MapField + + private com.google.protobuf.MapField< + java.lang.String, com.google.cloud.contactcenterinsights.v1.Entity> internalGetMutableEntities() { if (entities_ == null) { - entities_ = com.google.protobuf.MapField.newMapField( - EntitiesDefaultEntryHolder.defaultEntry); + entities_ = + com.google.protobuf.MapField.newMapField(EntitiesDefaultEntryHolder.defaultEntry); } if (!entities_.isMutable()) { entities_ = entities_.copy(); @@ -1797,10 +2136,13 @@ public com.google.cloud.contactcenterinsights.v1.CallAnnotation.Builder addAnnot onChanged(); return entities_; } + public int getEntitiesCount() { return internalGetEntities().getMap().size(); } /** + * + * *
        * All the entities in the call.
        * 
@@ -1808,20 +2150,22 @@ public int getEntitiesCount() { * map<string, .google.cloud.contactcenterinsights.v1.Entity> entities = 3; */ @java.lang.Override - public boolean containsEntities( - java.lang.String key) { - if (key == null) { throw new NullPointerException("map key"); } + public boolean containsEntities(java.lang.String key) { + if (key == null) { + throw new NullPointerException("map key"); + } return internalGetEntities().getMap().containsKey(key); } - /** - * Use {@link #getEntitiesMap()} instead. - */ + /** Use {@link #getEntitiesMap()} instead. */ @java.lang.Override @java.lang.Deprecated - public java.util.Map getEntities() { + public java.util.Map + getEntities() { return getEntitiesMap(); } /** + * + * *
        * All the entities in the call.
        * 
@@ -1829,10 +2173,13 @@ public java.util.Mapmap<string, .google.cloud.contactcenterinsights.v1.Entity> entities = 3; */ @java.lang.Override - public java.util.Map getEntitiesMap() { + public java.util.Map + getEntitiesMap() { return internalGetEntities().getMap(); } /** + * + * *
        * All the entities in the call.
        * 
@@ -1840,17 +2187,20 @@ public java.util.Mapmap<string, .google.cloud.contactcenterinsights.v1.Entity> entities = 3; */ @java.lang.Override - public /* nullable */ -com.google.cloud.contactcenterinsights.v1.Entity getEntitiesOrDefault( + public /* nullable */ com.google.cloud.contactcenterinsights.v1.Entity getEntitiesOrDefault( java.lang.String key, /* nullable */ -com.google.cloud.contactcenterinsights.v1.Entity defaultValue) { - if (key == null) { throw new NullPointerException("map key"); } + com.google.cloud.contactcenterinsights.v1.Entity defaultValue) { + if (key == null) { + throw new NullPointerException("map key"); + } java.util.Map map = internalGetEntities().getMap(); return map.containsKey(key) ? map.get(key) : defaultValue; } /** + * + * *
        * All the entities in the call.
        * 
@@ -1860,7 +2210,9 @@ com.google.cloud.contactcenterinsights.v1.Entity getEntitiesOrDefault( @java.lang.Override public com.google.cloud.contactcenterinsights.v1.Entity getEntitiesOrThrow( java.lang.String key) { - if (key == null) { throw new NullPointerException("map key"); } + if (key == null) { + throw new NullPointerException("map key"); + } java.util.Map map = internalGetEntities().getMap(); if (!map.containsKey(key)) { @@ -1868,29 +2220,29 @@ public com.google.cloud.contactcenterinsights.v1.Entity getEntitiesOrThrow( } return map.get(key); } + public Builder clearEntities() { bitField0_ = (bitField0_ & ~0x00000002); - internalGetMutableEntities().getMutableMap() - .clear(); + internalGetMutableEntities().getMutableMap().clear(); return this; } /** + * + * *
        * All the entities in the call.
        * 
* * map<string, .google.cloud.contactcenterinsights.v1.Entity> entities = 3; */ - public Builder removeEntities( - java.lang.String key) { - if (key == null) { throw new NullPointerException("map key"); } - internalGetMutableEntities().getMutableMap() - .remove(key); + public Builder removeEntities(java.lang.String key) { + if (key == null) { + throw new NullPointerException("map key"); + } + internalGetMutableEntities().getMutableMap().remove(key); return this; } - /** - * Use alternate mutation accessors instead. - */ + /** Use alternate mutation accessors instead. */ @java.lang.Deprecated public java.util.Map getMutableEntities() { @@ -1898,6 +2250,8 @@ public Builder removeEntities( return internalGetMutableEntities().getMutableMap(); } /** + * + * *
        * All the entities in the call.
        * 
@@ -1905,16 +2259,20 @@ public Builder removeEntities( * map<string, .google.cloud.contactcenterinsights.v1.Entity> entities = 3; */ public Builder putEntities( - java.lang.String key, - com.google.cloud.contactcenterinsights.v1.Entity value) { - if (key == null) { throw new NullPointerException("map key"); } - if (value == null) { throw new NullPointerException("map value"); } - internalGetMutableEntities().getMutableMap() - .put(key, value); + java.lang.String key, com.google.cloud.contactcenterinsights.v1.Entity value) { + if (key == null) { + throw new NullPointerException("map key"); + } + if (value == null) { + throw new NullPointerException("map value"); + } + internalGetMutableEntities().getMutableMap().put(key, value); bitField0_ |= 0x00000002; return this; } /** + * + * *
        * All the entities in the call.
        * 
@@ -1922,33 +2280,45 @@ public Builder putEntities( * map<string, .google.cloud.contactcenterinsights.v1.Entity> entities = 3; */ public Builder putAllEntities( - java.util.Map values) { - internalGetMutableEntities().getMutableMap() - .putAll(values); + java.util.Map + values) { + internalGetMutableEntities().getMutableMap().putAll(values); bitField0_ |= 0x00000002; return this; } - private java.util.List sentiments_ = - java.util.Collections.emptyList(); + private java.util.List + sentiments_ = java.util.Collections.emptyList(); + private void ensureSentimentsIsMutable() { if (!((bitField0_ & 0x00000004) != 0)) { - sentiments_ = new java.util.ArrayList(sentiments_); + sentiments_ = + new java.util.ArrayList< + com.google.cloud.contactcenterinsights.v1.ConversationLevelSentiment>( + sentiments_); bitField0_ |= 0x00000004; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.contactcenterinsights.v1.ConversationLevelSentiment, com.google.cloud.contactcenterinsights.v1.ConversationLevelSentiment.Builder, com.google.cloud.contactcenterinsights.v1.ConversationLevelSentimentOrBuilder> sentimentsBuilder_; + com.google.cloud.contactcenterinsights.v1.ConversationLevelSentiment, + com.google.cloud.contactcenterinsights.v1.ConversationLevelSentiment.Builder, + com.google.cloud.contactcenterinsights.v1.ConversationLevelSentimentOrBuilder> + sentimentsBuilder_; /** + * + * *
        * Overall conversation-level sentiment for each channel of the call.
        * 
* - * repeated .google.cloud.contactcenterinsights.v1.ConversationLevelSentiment sentiments = 4; + * + * repeated .google.cloud.contactcenterinsights.v1.ConversationLevelSentiment sentiments = 4; + * */ - public java.util.List getSentimentsList() { + public java.util.List + getSentimentsList() { if (sentimentsBuilder_ == null) { return java.util.Collections.unmodifiableList(sentiments_); } else { @@ -1956,11 +2326,15 @@ public java.util.List * Overall conversation-level sentiment for each channel of the call. *
* - * repeated .google.cloud.contactcenterinsights.v1.ConversationLevelSentiment sentiments = 4; + * + * repeated .google.cloud.contactcenterinsights.v1.ConversationLevelSentiment sentiments = 4; + * */ public int getSentimentsCount() { if (sentimentsBuilder_ == null) { @@ -1970,13 +2344,18 @@ public int getSentimentsCount() { } } /** + * + * *
        * Overall conversation-level sentiment for each channel of the call.
        * 
* - * repeated .google.cloud.contactcenterinsights.v1.ConversationLevelSentiment sentiments = 4; + * + * repeated .google.cloud.contactcenterinsights.v1.ConversationLevelSentiment sentiments = 4; + * */ - public com.google.cloud.contactcenterinsights.v1.ConversationLevelSentiment getSentiments(int index) { + public com.google.cloud.contactcenterinsights.v1.ConversationLevelSentiment getSentiments( + int index) { if (sentimentsBuilder_ == null) { return sentiments_.get(index); } else { @@ -1984,11 +2363,15 @@ public com.google.cloud.contactcenterinsights.v1.ConversationLevelSentiment getS } } /** + * + * *
        * Overall conversation-level sentiment for each channel of the call.
        * 
* - * repeated .google.cloud.contactcenterinsights.v1.ConversationLevelSentiment sentiments = 4; + * + * repeated .google.cloud.contactcenterinsights.v1.ConversationLevelSentiment sentiments = 4; + * */ public Builder setSentiments( int index, com.google.cloud.contactcenterinsights.v1.ConversationLevelSentiment value) { @@ -2005,14 +2388,20 @@ public Builder setSentiments( return this; } /** + * + * *
        * Overall conversation-level sentiment for each channel of the call.
        * 
* - * repeated .google.cloud.contactcenterinsights.v1.ConversationLevelSentiment sentiments = 4; + * + * repeated .google.cloud.contactcenterinsights.v1.ConversationLevelSentiment sentiments = 4; + * */ public Builder setSentiments( - int index, com.google.cloud.contactcenterinsights.v1.ConversationLevelSentiment.Builder builderForValue) { + int index, + com.google.cloud.contactcenterinsights.v1.ConversationLevelSentiment.Builder + builderForValue) { if (sentimentsBuilder_ == null) { ensureSentimentsIsMutable(); sentiments_.set(index, builderForValue.build()); @@ -2023,13 +2412,18 @@ public Builder setSentiments( return this; } /** + * + * *
        * Overall conversation-level sentiment for each channel of the call.
        * 
* - * repeated .google.cloud.contactcenterinsights.v1.ConversationLevelSentiment sentiments = 4; + * + * repeated .google.cloud.contactcenterinsights.v1.ConversationLevelSentiment sentiments = 4; + * */ - public Builder addSentiments(com.google.cloud.contactcenterinsights.v1.ConversationLevelSentiment value) { + public Builder addSentiments( + com.google.cloud.contactcenterinsights.v1.ConversationLevelSentiment value) { if (sentimentsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -2043,11 +2437,15 @@ public Builder addSentiments(com.google.cloud.contactcenterinsights.v1.Conversat return this; } /** + * + * *
        * Overall conversation-level sentiment for each channel of the call.
        * 
* - * repeated .google.cloud.contactcenterinsights.v1.ConversationLevelSentiment sentiments = 4; + * + * repeated .google.cloud.contactcenterinsights.v1.ConversationLevelSentiment sentiments = 4; + * */ public Builder addSentiments( int index, com.google.cloud.contactcenterinsights.v1.ConversationLevelSentiment value) { @@ -2064,14 +2462,19 @@ public Builder addSentiments( return this; } /** + * + * *
        * Overall conversation-level sentiment for each channel of the call.
        * 
* - * repeated .google.cloud.contactcenterinsights.v1.ConversationLevelSentiment sentiments = 4; + * + * repeated .google.cloud.contactcenterinsights.v1.ConversationLevelSentiment sentiments = 4; + * */ public Builder addSentiments( - com.google.cloud.contactcenterinsights.v1.ConversationLevelSentiment.Builder builderForValue) { + com.google.cloud.contactcenterinsights.v1.ConversationLevelSentiment.Builder + builderForValue) { if (sentimentsBuilder_ == null) { ensureSentimentsIsMutable(); sentiments_.add(builderForValue.build()); @@ -2082,14 +2485,20 @@ public Builder addSentiments( return this; } /** + * + * *
        * Overall conversation-level sentiment for each channel of the call.
        * 
* - * repeated .google.cloud.contactcenterinsights.v1.ConversationLevelSentiment sentiments = 4; + * + * repeated .google.cloud.contactcenterinsights.v1.ConversationLevelSentiment sentiments = 4; + * */ public Builder addSentiments( - int index, com.google.cloud.contactcenterinsights.v1.ConversationLevelSentiment.Builder builderForValue) { + int index, + com.google.cloud.contactcenterinsights.v1.ConversationLevelSentiment.Builder + builderForValue) { if (sentimentsBuilder_ == null) { ensureSentimentsIsMutable(); sentiments_.add(index, builderForValue.build()); @@ -2100,18 +2509,23 @@ public Builder addSentiments( return this; } /** + * + * *
        * Overall conversation-level sentiment for each channel of the call.
        * 
* - * repeated .google.cloud.contactcenterinsights.v1.ConversationLevelSentiment sentiments = 4; + * + * repeated .google.cloud.contactcenterinsights.v1.ConversationLevelSentiment sentiments = 4; + * */ public Builder addAllSentiments( - java.lang.Iterable values) { + java.lang.Iterable< + ? extends com.google.cloud.contactcenterinsights.v1.ConversationLevelSentiment> + values) { if (sentimentsBuilder_ == null) { ensureSentimentsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, sentiments_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, sentiments_); onChanged(); } else { sentimentsBuilder_.addAllMessages(values); @@ -2119,11 +2533,15 @@ public Builder addAllSentiments( return this; } /** + * + * *
        * Overall conversation-level sentiment for each channel of the call.
        * 
* - * repeated .google.cloud.contactcenterinsights.v1.ConversationLevelSentiment sentiments = 4; + * + * repeated .google.cloud.contactcenterinsights.v1.ConversationLevelSentiment sentiments = 4; + * */ public Builder clearSentiments() { if (sentimentsBuilder_ == null) { @@ -2136,11 +2554,15 @@ public Builder clearSentiments() { return this; } /** + * + * *
        * Overall conversation-level sentiment for each channel of the call.
        * 
* - * repeated .google.cloud.contactcenterinsights.v1.ConversationLevelSentiment sentiments = 4; + * + * repeated .google.cloud.contactcenterinsights.v1.ConversationLevelSentiment sentiments = 4; + * */ public Builder removeSentiments(int index) { if (sentimentsBuilder_ == null) { @@ -2153,39 +2575,54 @@ public Builder removeSentiments(int index) { return this; } /** + * + * *
        * Overall conversation-level sentiment for each channel of the call.
        * 
* - * repeated .google.cloud.contactcenterinsights.v1.ConversationLevelSentiment sentiments = 4; + * + * repeated .google.cloud.contactcenterinsights.v1.ConversationLevelSentiment sentiments = 4; + * */ - public com.google.cloud.contactcenterinsights.v1.ConversationLevelSentiment.Builder getSentimentsBuilder( - int index) { + public com.google.cloud.contactcenterinsights.v1.ConversationLevelSentiment.Builder + getSentimentsBuilder(int index) { return getSentimentsFieldBuilder().getBuilder(index); } /** + * + * *
        * Overall conversation-level sentiment for each channel of the call.
        * 
* - * repeated .google.cloud.contactcenterinsights.v1.ConversationLevelSentiment sentiments = 4; + * + * repeated .google.cloud.contactcenterinsights.v1.ConversationLevelSentiment sentiments = 4; + * */ - public com.google.cloud.contactcenterinsights.v1.ConversationLevelSentimentOrBuilder getSentimentsOrBuilder( - int index) { + public com.google.cloud.contactcenterinsights.v1.ConversationLevelSentimentOrBuilder + getSentimentsOrBuilder(int index) { if (sentimentsBuilder_ == null) { - return sentiments_.get(index); } else { + return sentiments_.get(index); + } else { return sentimentsBuilder_.getMessageOrBuilder(index); } } /** + * + * *
        * Overall conversation-level sentiment for each channel of the call.
        * 
* - * repeated .google.cloud.contactcenterinsights.v1.ConversationLevelSentiment sentiments = 4; + * + * repeated .google.cloud.contactcenterinsights.v1.ConversationLevelSentiment sentiments = 4; + * */ - public java.util.List - getSentimentsOrBuilderList() { + public java.util.List< + ? extends + com.google.cloud.contactcenterinsights.v1.ConversationLevelSentimentOrBuilder> + getSentimentsOrBuilderList() { if (sentimentsBuilder_ != null) { return sentimentsBuilder_.getMessageOrBuilderList(); } else { @@ -2193,69 +2630,95 @@ public com.google.cloud.contactcenterinsights.v1.ConversationLevelSentimentOrBui } } /** + * + * *
        * Overall conversation-level sentiment for each channel of the call.
        * 
* - * repeated .google.cloud.contactcenterinsights.v1.ConversationLevelSentiment sentiments = 4; + * + * repeated .google.cloud.contactcenterinsights.v1.ConversationLevelSentiment sentiments = 4; + * */ - public com.google.cloud.contactcenterinsights.v1.ConversationLevelSentiment.Builder addSentimentsBuilder() { - return getSentimentsFieldBuilder().addBuilder( - com.google.cloud.contactcenterinsights.v1.ConversationLevelSentiment.getDefaultInstance()); + public com.google.cloud.contactcenterinsights.v1.ConversationLevelSentiment.Builder + addSentimentsBuilder() { + return getSentimentsFieldBuilder() + .addBuilder( + com.google.cloud.contactcenterinsights.v1.ConversationLevelSentiment + .getDefaultInstance()); } /** + * + * *
        * Overall conversation-level sentiment for each channel of the call.
        * 
* - * repeated .google.cloud.contactcenterinsights.v1.ConversationLevelSentiment sentiments = 4; + * + * repeated .google.cloud.contactcenterinsights.v1.ConversationLevelSentiment sentiments = 4; + * */ - public com.google.cloud.contactcenterinsights.v1.ConversationLevelSentiment.Builder addSentimentsBuilder( - int index) { - return getSentimentsFieldBuilder().addBuilder( - index, com.google.cloud.contactcenterinsights.v1.ConversationLevelSentiment.getDefaultInstance()); + public com.google.cloud.contactcenterinsights.v1.ConversationLevelSentiment.Builder + addSentimentsBuilder(int index) { + return getSentimentsFieldBuilder() + .addBuilder( + index, + com.google.cloud.contactcenterinsights.v1.ConversationLevelSentiment + .getDefaultInstance()); } /** + * + * *
        * Overall conversation-level sentiment for each channel of the call.
        * 
* - * repeated .google.cloud.contactcenterinsights.v1.ConversationLevelSentiment sentiments = 4; + * + * repeated .google.cloud.contactcenterinsights.v1.ConversationLevelSentiment sentiments = 4; + * */ - public java.util.List - getSentimentsBuilderList() { + public java.util.List< + com.google.cloud.contactcenterinsights.v1.ConversationLevelSentiment.Builder> + getSentimentsBuilderList() { return getSentimentsFieldBuilder().getBuilderList(); } + private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.contactcenterinsights.v1.ConversationLevelSentiment, com.google.cloud.contactcenterinsights.v1.ConversationLevelSentiment.Builder, com.google.cloud.contactcenterinsights.v1.ConversationLevelSentimentOrBuilder> + com.google.cloud.contactcenterinsights.v1.ConversationLevelSentiment, + com.google.cloud.contactcenterinsights.v1.ConversationLevelSentiment.Builder, + com.google.cloud.contactcenterinsights.v1.ConversationLevelSentimentOrBuilder> getSentimentsFieldBuilder() { if (sentimentsBuilder_ == null) { - sentimentsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.contactcenterinsights.v1.ConversationLevelSentiment, com.google.cloud.contactcenterinsights.v1.ConversationLevelSentiment.Builder, com.google.cloud.contactcenterinsights.v1.ConversationLevelSentimentOrBuilder>( - sentiments_, - ((bitField0_ & 0x00000004) != 0), - getParentForChildren(), - isClean()); + sentimentsBuilder_ = + new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.contactcenterinsights.v1.ConversationLevelSentiment, + com.google.cloud.contactcenterinsights.v1.ConversationLevelSentiment.Builder, + com.google.cloud.contactcenterinsights.v1.ConversationLevelSentimentOrBuilder>( + sentiments_, ((bitField0_ & 0x00000004) != 0), getParentForChildren(), isClean()); sentiments_ = null; } return sentimentsBuilder_; } private com.google.protobuf.MapField< - java.lang.String, com.google.cloud.contactcenterinsights.v1.Intent> intents_; - private com.google.protobuf.MapField + java.lang.String, com.google.cloud.contactcenterinsights.v1.Intent> + intents_; + + private com.google.protobuf.MapField< + java.lang.String, com.google.cloud.contactcenterinsights.v1.Intent> internalGetIntents() { if (intents_ == null) { - return com.google.protobuf.MapField.emptyMapField( - IntentsDefaultEntryHolder.defaultEntry); + return com.google.protobuf.MapField.emptyMapField(IntentsDefaultEntryHolder.defaultEntry); } return intents_; } - private com.google.protobuf.MapField + + private com.google.protobuf.MapField< + java.lang.String, com.google.cloud.contactcenterinsights.v1.Intent> internalGetMutableIntents() { if (intents_ == null) { - intents_ = com.google.protobuf.MapField.newMapField( - IntentsDefaultEntryHolder.defaultEntry); + intents_ = + com.google.protobuf.MapField.newMapField(IntentsDefaultEntryHolder.defaultEntry); } if (!intents_.isMutable()) { intents_ = intents_.copy(); @@ -2264,10 +2727,13 @@ public com.google.cloud.contactcenterinsights.v1.ConversationLevelSentiment.Buil onChanged(); return intents_; } + public int getIntentsCount() { return internalGetIntents().getMap().size(); } /** + * + * *
        * All the matched intents in the call.
        * 
@@ -2275,20 +2741,22 @@ public int getIntentsCount() { * map<string, .google.cloud.contactcenterinsights.v1.Intent> intents = 6; */ @java.lang.Override - public boolean containsIntents( - java.lang.String key) { - if (key == null) { throw new NullPointerException("map key"); } + public boolean containsIntents(java.lang.String key) { + if (key == null) { + throw new NullPointerException("map key"); + } return internalGetIntents().getMap().containsKey(key); } - /** - * Use {@link #getIntentsMap()} instead. - */ + /** Use {@link #getIntentsMap()} instead. */ @java.lang.Override @java.lang.Deprecated - public java.util.Map getIntents() { + public java.util.Map + getIntents() { return getIntentsMap(); } /** + * + * *
        * All the matched intents in the call.
        * 
@@ -2296,10 +2764,13 @@ public java.util.Mapmap<string, .google.cloud.contactcenterinsights.v1.Intent> intents = 6; */ @java.lang.Override - public java.util.Map getIntentsMap() { + public java.util.Map + getIntentsMap() { return internalGetIntents().getMap(); } /** + * + * *
        * All the matched intents in the call.
        * 
@@ -2307,17 +2778,20 @@ public java.util.Mapmap<string, .google.cloud.contactcenterinsights.v1.Intent> intents = 6; */ @java.lang.Override - public /* nullable */ -com.google.cloud.contactcenterinsights.v1.Intent getIntentsOrDefault( + public /* nullable */ com.google.cloud.contactcenterinsights.v1.Intent getIntentsOrDefault( java.lang.String key, /* nullable */ -com.google.cloud.contactcenterinsights.v1.Intent defaultValue) { - if (key == null) { throw new NullPointerException("map key"); } + com.google.cloud.contactcenterinsights.v1.Intent defaultValue) { + if (key == null) { + throw new NullPointerException("map key"); + } java.util.Map map = internalGetIntents().getMap(); return map.containsKey(key) ? map.get(key) : defaultValue; } /** + * + * *
        * All the matched intents in the call.
        * 
@@ -2327,7 +2801,9 @@ com.google.cloud.contactcenterinsights.v1.Intent getIntentsOrDefault( @java.lang.Override public com.google.cloud.contactcenterinsights.v1.Intent getIntentsOrThrow( java.lang.String key) { - if (key == null) { throw new NullPointerException("map key"); } + if (key == null) { + throw new NullPointerException("map key"); + } java.util.Map map = internalGetIntents().getMap(); if (!map.containsKey(key)) { @@ -2335,29 +2811,29 @@ public com.google.cloud.contactcenterinsights.v1.Intent getIntentsOrThrow( } return map.get(key); } + public Builder clearIntents() { bitField0_ = (bitField0_ & ~0x00000008); - internalGetMutableIntents().getMutableMap() - .clear(); + internalGetMutableIntents().getMutableMap().clear(); return this; } /** + * + * *
        * All the matched intents in the call.
        * 
* * map<string, .google.cloud.contactcenterinsights.v1.Intent> intents = 6; */ - public Builder removeIntents( - java.lang.String key) { - if (key == null) { throw new NullPointerException("map key"); } - internalGetMutableIntents().getMutableMap() - .remove(key); + public Builder removeIntents(java.lang.String key) { + if (key == null) { + throw new NullPointerException("map key"); + } + internalGetMutableIntents().getMutableMap().remove(key); return this; } - /** - * Use alternate mutation accessors instead. - */ + /** Use alternate mutation accessors instead. */ @java.lang.Deprecated public java.util.Map getMutableIntents() { @@ -2365,6 +2841,8 @@ public Builder removeIntents( return internalGetMutableIntents().getMutableMap(); } /** + * + * *
        * All the matched intents in the call.
        * 
@@ -2372,16 +2850,20 @@ public Builder removeIntents( * map<string, .google.cloud.contactcenterinsights.v1.Intent> intents = 6; */ public Builder putIntents( - java.lang.String key, - com.google.cloud.contactcenterinsights.v1.Intent value) { - if (key == null) { throw new NullPointerException("map key"); } - if (value == null) { throw new NullPointerException("map value"); } - internalGetMutableIntents().getMutableMap() - .put(key, value); + java.lang.String key, com.google.cloud.contactcenterinsights.v1.Intent value) { + if (key == null) { + throw new NullPointerException("map key"); + } + if (value == null) { + throw new NullPointerException("map value"); + } + internalGetMutableIntents().getMutableMap().put(key, value); bitField0_ |= 0x00000008; return this; } /** + * + * *
        * All the matched intents in the call.
        * 
@@ -2389,16 +2871,19 @@ public Builder putIntents( * map<string, .google.cloud.contactcenterinsights.v1.Intent> intents = 6; */ public Builder putAllIntents( - java.util.Map values) { - internalGetMutableIntents().getMutableMap() - .putAll(values); + java.util.Map + values) { + internalGetMutableIntents().getMutableMap().putAll(values); bitField0_ |= 0x00000008; return this; } private com.google.protobuf.MapField< - java.lang.String, com.google.cloud.contactcenterinsights.v1.PhraseMatchData> phraseMatchers_; - private com.google.protobuf.MapField + java.lang.String, com.google.cloud.contactcenterinsights.v1.PhraseMatchData> + phraseMatchers_; + + private com.google.protobuf.MapField< + java.lang.String, com.google.cloud.contactcenterinsights.v1.PhraseMatchData> internalGetPhraseMatchers() { if (phraseMatchers_ == null) { return com.google.protobuf.MapField.emptyMapField( @@ -2406,11 +2891,14 @@ public Builder putAllIntents( } return phraseMatchers_; } - private com.google.protobuf.MapField + + private com.google.protobuf.MapField< + java.lang.String, com.google.cloud.contactcenterinsights.v1.PhraseMatchData> internalGetMutablePhraseMatchers() { if (phraseMatchers_ == null) { - phraseMatchers_ = com.google.protobuf.MapField.newMapField( - PhraseMatchersDefaultEntryHolder.defaultEntry); + phraseMatchers_ = + com.google.protobuf.MapField.newMapField( + PhraseMatchersDefaultEntryHolder.defaultEntry); } if (!phraseMatchers_.isMutable()) { phraseMatchers_ = phraseMatchers_.copy(); @@ -2419,175 +2907,229 @@ public Builder putAllIntents( onChanged(); return phraseMatchers_; } + public int getPhraseMatchersCount() { return internalGetPhraseMatchers().getMap().size(); } /** + * + * *
        * All the matched phrase matchers in the call.
        * 
* - * map<string, .google.cloud.contactcenterinsights.v1.PhraseMatchData> phrase_matchers = 7; + * + * map<string, .google.cloud.contactcenterinsights.v1.PhraseMatchData> phrase_matchers = 7; + * */ @java.lang.Override - public boolean containsPhraseMatchers( - java.lang.String key) { - if (key == null) { throw new NullPointerException("map key"); } + public boolean containsPhraseMatchers(java.lang.String key) { + if (key == null) { + throw new NullPointerException("map key"); + } return internalGetPhraseMatchers().getMap().containsKey(key); } - /** - * Use {@link #getPhraseMatchersMap()} instead. - */ + /** Use {@link #getPhraseMatchersMap()} instead. */ @java.lang.Override @java.lang.Deprecated - public java.util.Map getPhraseMatchers() { + public java.util.Map< + java.lang.String, com.google.cloud.contactcenterinsights.v1.PhraseMatchData> + getPhraseMatchers() { return getPhraseMatchersMap(); } /** + * + * *
        * All the matched phrase matchers in the call.
        * 
* - * map<string, .google.cloud.contactcenterinsights.v1.PhraseMatchData> phrase_matchers = 7; + * + * map<string, .google.cloud.contactcenterinsights.v1.PhraseMatchData> phrase_matchers = 7; + * */ @java.lang.Override - public java.util.Map getPhraseMatchersMap() { + public java.util.Map< + java.lang.String, com.google.cloud.contactcenterinsights.v1.PhraseMatchData> + getPhraseMatchersMap() { return internalGetPhraseMatchers().getMap(); } /** + * + * *
        * All the matched phrase matchers in the call.
        * 
* - * map<string, .google.cloud.contactcenterinsights.v1.PhraseMatchData> phrase_matchers = 7; + * + * map<string, .google.cloud.contactcenterinsights.v1.PhraseMatchData> phrase_matchers = 7; + * */ @java.lang.Override - public /* nullable */ -com.google.cloud.contactcenterinsights.v1.PhraseMatchData getPhraseMatchersOrDefault( - java.lang.String key, - /* nullable */ -com.google.cloud.contactcenterinsights.v1.PhraseMatchData defaultValue) { - if (key == null) { throw new NullPointerException("map key"); } - java.util.Map map = - internalGetPhraseMatchers().getMap(); + public /* nullable */ com.google.cloud.contactcenterinsights.v1.PhraseMatchData + getPhraseMatchersOrDefault( + java.lang.String key, + /* nullable */ + com.google.cloud.contactcenterinsights.v1.PhraseMatchData defaultValue) { + if (key == null) { + throw new NullPointerException("map key"); + } + java.util.Map + map = internalGetPhraseMatchers().getMap(); return map.containsKey(key) ? map.get(key) : defaultValue; } /** + * + * *
        * All the matched phrase matchers in the call.
        * 
* - * map<string, .google.cloud.contactcenterinsights.v1.PhraseMatchData> phrase_matchers = 7; + * + * map<string, .google.cloud.contactcenterinsights.v1.PhraseMatchData> phrase_matchers = 7; + * */ @java.lang.Override public com.google.cloud.contactcenterinsights.v1.PhraseMatchData getPhraseMatchersOrThrow( java.lang.String key) { - if (key == null) { throw new NullPointerException("map key"); } - java.util.Map map = - internalGetPhraseMatchers().getMap(); + if (key == null) { + throw new NullPointerException("map key"); + } + java.util.Map + map = internalGetPhraseMatchers().getMap(); if (!map.containsKey(key)) { throw new java.lang.IllegalArgumentException(); } return map.get(key); } + public Builder clearPhraseMatchers() { bitField0_ = (bitField0_ & ~0x00000010); - internalGetMutablePhraseMatchers().getMutableMap() - .clear(); + internalGetMutablePhraseMatchers().getMutableMap().clear(); return this; } /** + * + * *
        * All the matched phrase matchers in the call.
        * 
* - * map<string, .google.cloud.contactcenterinsights.v1.PhraseMatchData> phrase_matchers = 7; + * + * map<string, .google.cloud.contactcenterinsights.v1.PhraseMatchData> phrase_matchers = 7; + * */ - public Builder removePhraseMatchers( - java.lang.String key) { - if (key == null) { throw new NullPointerException("map key"); } - internalGetMutablePhraseMatchers().getMutableMap() - .remove(key); + public Builder removePhraseMatchers(java.lang.String key) { + if (key == null) { + throw new NullPointerException("map key"); + } + internalGetMutablePhraseMatchers().getMutableMap().remove(key); return this; } - /** - * Use alternate mutation accessors instead. - */ + /** Use alternate mutation accessors instead. */ @java.lang.Deprecated - public java.util.Map + public java.util.Map< + java.lang.String, com.google.cloud.contactcenterinsights.v1.PhraseMatchData> getMutablePhraseMatchers() { bitField0_ |= 0x00000010; return internalGetMutablePhraseMatchers().getMutableMap(); } /** + * + * *
        * All the matched phrase matchers in the call.
        * 
* - * map<string, .google.cloud.contactcenterinsights.v1.PhraseMatchData> phrase_matchers = 7; + * + * map<string, .google.cloud.contactcenterinsights.v1.PhraseMatchData> phrase_matchers = 7; + * */ public Builder putPhraseMatchers( - java.lang.String key, - com.google.cloud.contactcenterinsights.v1.PhraseMatchData value) { - if (key == null) { throw new NullPointerException("map key"); } - if (value == null) { throw new NullPointerException("map value"); } - internalGetMutablePhraseMatchers().getMutableMap() - .put(key, value); + java.lang.String key, com.google.cloud.contactcenterinsights.v1.PhraseMatchData value) { + if (key == null) { + throw new NullPointerException("map key"); + } + if (value == null) { + throw new NullPointerException("map value"); + } + internalGetMutablePhraseMatchers().getMutableMap().put(key, value); bitField0_ |= 0x00000010; return this; } /** + * + * *
        * All the matched phrase matchers in the call.
        * 
* - * map<string, .google.cloud.contactcenterinsights.v1.PhraseMatchData> phrase_matchers = 7; + * + * map<string, .google.cloud.contactcenterinsights.v1.PhraseMatchData> phrase_matchers = 7; + * */ public Builder putAllPhraseMatchers( - java.util.Map values) { - internalGetMutablePhraseMatchers().getMutableMap() - .putAll(values); + java.util.Map + values) { + internalGetMutablePhraseMatchers().getMutableMap().putAll(values); bitField0_ |= 0x00000010; return this; } private com.google.cloud.contactcenterinsights.v1.IssueModelResult issueModelResult_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.contactcenterinsights.v1.IssueModelResult, com.google.cloud.contactcenterinsights.v1.IssueModelResult.Builder, com.google.cloud.contactcenterinsights.v1.IssueModelResultOrBuilder> issueModelResultBuilder_; + com.google.cloud.contactcenterinsights.v1.IssueModelResult, + com.google.cloud.contactcenterinsights.v1.IssueModelResult.Builder, + com.google.cloud.contactcenterinsights.v1.IssueModelResultOrBuilder> + issueModelResultBuilder_; /** + * + * *
        * Overall conversation-level issue modeling result.
        * 
* - * .google.cloud.contactcenterinsights.v1.IssueModelResult issue_model_result = 8; + * .google.cloud.contactcenterinsights.v1.IssueModelResult issue_model_result = 8; + * + * * @return Whether the issueModelResult field is set. */ public boolean hasIssueModelResult() { return ((bitField0_ & 0x00000020) != 0); } /** + * + * *
        * Overall conversation-level issue modeling result.
        * 
* - * .google.cloud.contactcenterinsights.v1.IssueModelResult issue_model_result = 8; + * .google.cloud.contactcenterinsights.v1.IssueModelResult issue_model_result = 8; + * + * * @return The issueModelResult. */ public com.google.cloud.contactcenterinsights.v1.IssueModelResult getIssueModelResult() { if (issueModelResultBuilder_ == null) { - return issueModelResult_ == null ? com.google.cloud.contactcenterinsights.v1.IssueModelResult.getDefaultInstance() : issueModelResult_; + return issueModelResult_ == null + ? com.google.cloud.contactcenterinsights.v1.IssueModelResult.getDefaultInstance() + : issueModelResult_; } else { return issueModelResultBuilder_.getMessage(); } } /** + * + * *
        * Overall conversation-level issue modeling result.
        * 
* - * .google.cloud.contactcenterinsights.v1.IssueModelResult issue_model_result = 8; + * .google.cloud.contactcenterinsights.v1.IssueModelResult issue_model_result = 8; + * */ - public Builder setIssueModelResult(com.google.cloud.contactcenterinsights.v1.IssueModelResult value) { + public Builder setIssueModelResult( + com.google.cloud.contactcenterinsights.v1.IssueModelResult value) { if (issueModelResultBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -2601,11 +3143,14 @@ public Builder setIssueModelResult(com.google.cloud.contactcenterinsights.v1.Iss return this; } /** + * + * *
        * Overall conversation-level issue modeling result.
        * 
* - * .google.cloud.contactcenterinsights.v1.IssueModelResult issue_model_result = 8; + * .google.cloud.contactcenterinsights.v1.IssueModelResult issue_model_result = 8; + * */ public Builder setIssueModelResult( com.google.cloud.contactcenterinsights.v1.IssueModelResult.Builder builderForValue) { @@ -2619,17 +3164,23 @@ public Builder setIssueModelResult( return this; } /** + * + * *
        * Overall conversation-level issue modeling result.
        * 
* - * .google.cloud.contactcenterinsights.v1.IssueModelResult issue_model_result = 8; + * .google.cloud.contactcenterinsights.v1.IssueModelResult issue_model_result = 8; + * */ - public Builder mergeIssueModelResult(com.google.cloud.contactcenterinsights.v1.IssueModelResult value) { + public Builder mergeIssueModelResult( + com.google.cloud.contactcenterinsights.v1.IssueModelResult value) { if (issueModelResultBuilder_ == null) { - if (((bitField0_ & 0x00000020) != 0) && - issueModelResult_ != null && - issueModelResult_ != com.google.cloud.contactcenterinsights.v1.IssueModelResult.getDefaultInstance()) { + if (((bitField0_ & 0x00000020) != 0) + && issueModelResult_ != null + && issueModelResult_ + != com.google.cloud.contactcenterinsights.v1.IssueModelResult + .getDefaultInstance()) { getIssueModelResultBuilder().mergeFrom(value); } else { issueModelResult_ = value; @@ -2642,11 +3193,14 @@ public Builder mergeIssueModelResult(com.google.cloud.contactcenterinsights.v1.I return this; } /** + * + * *
        * Overall conversation-level issue modeling result.
        * 
* - * .google.cloud.contactcenterinsights.v1.IssueModelResult issue_model_result = 8; + * .google.cloud.contactcenterinsights.v1.IssueModelResult issue_model_result = 8; + * */ public Builder clearIssueModelResult() { bitField0_ = (bitField0_ & ~0x00000020); @@ -2659,52 +3213,68 @@ public Builder clearIssueModelResult() { return this; } /** + * + * *
        * Overall conversation-level issue modeling result.
        * 
* - * .google.cloud.contactcenterinsights.v1.IssueModelResult issue_model_result = 8; + * .google.cloud.contactcenterinsights.v1.IssueModelResult issue_model_result = 8; + * */ - public com.google.cloud.contactcenterinsights.v1.IssueModelResult.Builder getIssueModelResultBuilder() { + public com.google.cloud.contactcenterinsights.v1.IssueModelResult.Builder + getIssueModelResultBuilder() { bitField0_ |= 0x00000020; onChanged(); return getIssueModelResultFieldBuilder().getBuilder(); } /** + * + * *
        * Overall conversation-level issue modeling result.
        * 
* - * .google.cloud.contactcenterinsights.v1.IssueModelResult issue_model_result = 8; + * .google.cloud.contactcenterinsights.v1.IssueModelResult issue_model_result = 8; + * */ - public com.google.cloud.contactcenterinsights.v1.IssueModelResultOrBuilder getIssueModelResultOrBuilder() { + public com.google.cloud.contactcenterinsights.v1.IssueModelResultOrBuilder + getIssueModelResultOrBuilder() { if (issueModelResultBuilder_ != null) { return issueModelResultBuilder_.getMessageOrBuilder(); } else { - return issueModelResult_ == null ? - com.google.cloud.contactcenterinsights.v1.IssueModelResult.getDefaultInstance() : issueModelResult_; + return issueModelResult_ == null + ? com.google.cloud.contactcenterinsights.v1.IssueModelResult.getDefaultInstance() + : issueModelResult_; } } /** + * + * *
        * Overall conversation-level issue modeling result.
        * 
* - * .google.cloud.contactcenterinsights.v1.IssueModelResult issue_model_result = 8; + * .google.cloud.contactcenterinsights.v1.IssueModelResult issue_model_result = 8; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.contactcenterinsights.v1.IssueModelResult, com.google.cloud.contactcenterinsights.v1.IssueModelResult.Builder, com.google.cloud.contactcenterinsights.v1.IssueModelResultOrBuilder> + com.google.cloud.contactcenterinsights.v1.IssueModelResult, + com.google.cloud.contactcenterinsights.v1.IssueModelResult.Builder, + com.google.cloud.contactcenterinsights.v1.IssueModelResultOrBuilder> getIssueModelResultFieldBuilder() { if (issueModelResultBuilder_ == null) { - issueModelResultBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.contactcenterinsights.v1.IssueModelResult, com.google.cloud.contactcenterinsights.v1.IssueModelResult.Builder, com.google.cloud.contactcenterinsights.v1.IssueModelResultOrBuilder>( - getIssueModelResult(), - getParentForChildren(), - isClean()); + issueModelResultBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.contactcenterinsights.v1.IssueModelResult, + com.google.cloud.contactcenterinsights.v1.IssueModelResult.Builder, + com.google.cloud.contactcenterinsights.v1.IssueModelResultOrBuilder>( + getIssueModelResult(), getParentForChildren(), isClean()); issueModelResult_ = null; } return issueModelResultBuilder_; } + @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -2717,41 +3287,46 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.contactcenterinsights.v1.AnalysisResult.CallAnalysisMetadata) } // @@protoc_insertion_point(class_scope:google.cloud.contactcenterinsights.v1.AnalysisResult.CallAnalysisMetadata) - private static final com.google.cloud.contactcenterinsights.v1.AnalysisResult.CallAnalysisMetadata DEFAULT_INSTANCE; + private static final com.google.cloud.contactcenterinsights.v1.AnalysisResult + .CallAnalysisMetadata + DEFAULT_INSTANCE; + static { - DEFAULT_INSTANCE = new com.google.cloud.contactcenterinsights.v1.AnalysisResult.CallAnalysisMetadata(); + DEFAULT_INSTANCE = + new com.google.cloud.contactcenterinsights.v1.AnalysisResult.CallAnalysisMetadata(); } - public static com.google.cloud.contactcenterinsights.v1.AnalysisResult.CallAnalysisMetadata getDefaultInstance() { + public static com.google.cloud.contactcenterinsights.v1.AnalysisResult.CallAnalysisMetadata + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public CallAnalysisMetadata parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public CallAnalysisMetadata parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException() + .setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -2763,20 +3338,23 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.cloud.contactcenterinsights.v1.AnalysisResult.CallAnalysisMetadata getDefaultInstanceForType() { + public com.google.cloud.contactcenterinsights.v1.AnalysisResult.CallAnalysisMetadata + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } private int metadataCase_ = 0; private java.lang.Object metadata_; + public enum MetadataCase - implements com.google.protobuf.Internal.EnumLite, + implements + com.google.protobuf.Internal.EnumLite, com.google.protobuf.AbstractMessage.InternalOneOfEnum { CALL_ANALYSIS_METADATA(2), METADATA_NOT_SET(0); private final int value; + private MetadataCase(int value) { this.value = value; } @@ -2792,29 +3370,36 @@ public static MetadataCase valueOf(int value) { public static MetadataCase forNumber(int value) { switch (value) { - case 2: return CALL_ANALYSIS_METADATA; - case 0: return METADATA_NOT_SET; - default: return null; + case 2: + return CALL_ANALYSIS_METADATA; + case 0: + return METADATA_NOT_SET; + default: + return null; } } + public int getNumber() { return this.value; } }; - public MetadataCase - getMetadataCase() { - return MetadataCase.forNumber( - metadataCase_); + public MetadataCase getMetadataCase() { + return MetadataCase.forNumber(metadataCase_); } public static final int CALL_ANALYSIS_METADATA_FIELD_NUMBER = 2; /** + * + * *
    * Call-specific metadata created by the analysis.
    * 
* - * .google.cloud.contactcenterinsights.v1.AnalysisResult.CallAnalysisMetadata call_analysis_metadata = 2; + * + * .google.cloud.contactcenterinsights.v1.AnalysisResult.CallAnalysisMetadata call_analysis_metadata = 2; + * + * * @return Whether the callAnalysisMetadata field is set. */ @java.lang.Override @@ -2822,43 +3407,61 @@ public boolean hasCallAnalysisMetadata() { return metadataCase_ == 2; } /** + * + * *
    * Call-specific metadata created by the analysis.
    * 
* - * .google.cloud.contactcenterinsights.v1.AnalysisResult.CallAnalysisMetadata call_analysis_metadata = 2; + * + * .google.cloud.contactcenterinsights.v1.AnalysisResult.CallAnalysisMetadata call_analysis_metadata = 2; + * + * * @return The callAnalysisMetadata. */ @java.lang.Override - public com.google.cloud.contactcenterinsights.v1.AnalysisResult.CallAnalysisMetadata getCallAnalysisMetadata() { + public com.google.cloud.contactcenterinsights.v1.AnalysisResult.CallAnalysisMetadata + getCallAnalysisMetadata() { if (metadataCase_ == 2) { - return (com.google.cloud.contactcenterinsights.v1.AnalysisResult.CallAnalysisMetadata) metadata_; + return (com.google.cloud.contactcenterinsights.v1.AnalysisResult.CallAnalysisMetadata) + metadata_; } - return com.google.cloud.contactcenterinsights.v1.AnalysisResult.CallAnalysisMetadata.getDefaultInstance(); + return com.google.cloud.contactcenterinsights.v1.AnalysisResult.CallAnalysisMetadata + .getDefaultInstance(); } /** + * + * *
    * Call-specific metadata created by the analysis.
    * 
* - * .google.cloud.contactcenterinsights.v1.AnalysisResult.CallAnalysisMetadata call_analysis_metadata = 2; + * + * .google.cloud.contactcenterinsights.v1.AnalysisResult.CallAnalysisMetadata call_analysis_metadata = 2; + * */ @java.lang.Override - public com.google.cloud.contactcenterinsights.v1.AnalysisResult.CallAnalysisMetadataOrBuilder getCallAnalysisMetadataOrBuilder() { + public com.google.cloud.contactcenterinsights.v1.AnalysisResult.CallAnalysisMetadataOrBuilder + getCallAnalysisMetadataOrBuilder() { if (metadataCase_ == 2) { - return (com.google.cloud.contactcenterinsights.v1.AnalysisResult.CallAnalysisMetadata) metadata_; + return (com.google.cloud.contactcenterinsights.v1.AnalysisResult.CallAnalysisMetadata) + metadata_; } - return com.google.cloud.contactcenterinsights.v1.AnalysisResult.CallAnalysisMetadata.getDefaultInstance(); + return com.google.cloud.contactcenterinsights.v1.AnalysisResult.CallAnalysisMetadata + .getDefaultInstance(); } public static final int END_TIME_FIELD_NUMBER = 1; private com.google.protobuf.Timestamp endTime_; /** + * + * *
    * The time at which the analysis ended.
    * 
* * .google.protobuf.Timestamp end_time = 1; + * * @return Whether the endTime field is set. */ @java.lang.Override @@ -2866,11 +3469,14 @@ public boolean hasEndTime() { return endTime_ != null; } /** + * + * *
    * The time at which the analysis ended.
    * 
* * .google.protobuf.Timestamp end_time = 1; + * * @return The endTime. */ @java.lang.Override @@ -2878,6 +3484,8 @@ public com.google.protobuf.Timestamp getEndTime() { return endTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : endTime_; } /** + * + * *
    * The time at which the analysis ended.
    * 
@@ -2890,6 +3498,7 @@ public com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -2901,13 +3510,15 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (endTime_ != null) { output.writeMessage(1, getEndTime()); } if (metadataCase_ == 2) { - output.writeMessage(2, (com.google.cloud.contactcenterinsights.v1.AnalysisResult.CallAnalysisMetadata) metadata_); + output.writeMessage( + 2, + (com.google.cloud.contactcenterinsights.v1.AnalysisResult.CallAnalysisMetadata) + metadata_); } getUnknownFields().writeTo(output); } @@ -2919,12 +3530,14 @@ public int getSerializedSize() { size = 0; if (endTime_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, getEndTime()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getEndTime()); } if (metadataCase_ == 2) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, (com.google.cloud.contactcenterinsights.v1.AnalysisResult.CallAnalysisMetadata) metadata_); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 2, + (com.google.cloud.contactcenterinsights.v1.AnalysisResult.CallAnalysisMetadata) + metadata_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -2934,23 +3547,22 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.contactcenterinsights.v1.AnalysisResult)) { return super.equals(obj); } - com.google.cloud.contactcenterinsights.v1.AnalysisResult other = (com.google.cloud.contactcenterinsights.v1.AnalysisResult) obj; + com.google.cloud.contactcenterinsights.v1.AnalysisResult other = + (com.google.cloud.contactcenterinsights.v1.AnalysisResult) obj; if (hasEndTime() != other.hasEndTime()) return false; if (hasEndTime()) { - if (!getEndTime() - .equals(other.getEndTime())) return false; + if (!getEndTime().equals(other.getEndTime())) return false; } if (!getMetadataCase().equals(other.getMetadataCase())) return false; switch (metadataCase_) { case 2: - if (!getCallAnalysisMetadata() - .equals(other.getCallAnalysisMetadata())) return false; + if (!getCallAnalysisMetadata().equals(other.getCallAnalysisMetadata())) return false; break; case 0: default: @@ -2984,129 +3596,136 @@ public int hashCode() { } public static com.google.cloud.contactcenterinsights.v1.AnalysisResult parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.contactcenterinsights.v1.AnalysisResult parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.contactcenterinsights.v1.AnalysisResult parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.contactcenterinsights.v1.AnalysisResult parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.contactcenterinsights.v1.AnalysisResult parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.contactcenterinsights.v1.AnalysisResult parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.contactcenterinsights.v1.AnalysisResult parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.contactcenterinsights.v1.AnalysisResult parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.contactcenterinsights.v1.AnalysisResult parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.contactcenterinsights.v1.AnalysisResult parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.contactcenterinsights.v1.AnalysisResult parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.contactcenterinsights.v1.AnalysisResult parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.contactcenterinsights.v1.AnalysisResult parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.contactcenterinsights.v1.AnalysisResult parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.contactcenterinsights.v1.AnalysisResult prototype) { + + public static Builder newBuilder( + com.google.cloud.contactcenterinsights.v1.AnalysisResult prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * The result of an analysis.
    * 
* * Protobuf type {@code google.cloud.contactcenterinsights.v1.AnalysisResult} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.contactcenterinsights.v1.AnalysisResult) com.google.cloud.contactcenterinsights.v1.AnalysisResultOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.contactcenterinsights.v1.ResourcesProto.internal_static_google_cloud_contactcenterinsights_v1_AnalysisResult_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.contactcenterinsights.v1.ResourcesProto + .internal_static_google_cloud_contactcenterinsights_v1_AnalysisResult_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.contactcenterinsights.v1.ResourcesProto.internal_static_google_cloud_contactcenterinsights_v1_AnalysisResult_fieldAccessorTable + return com.google.cloud.contactcenterinsights.v1.ResourcesProto + .internal_static_google_cloud_contactcenterinsights_v1_AnalysisResult_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.contactcenterinsights.v1.AnalysisResult.class, com.google.cloud.contactcenterinsights.v1.AnalysisResult.Builder.class); + com.google.cloud.contactcenterinsights.v1.AnalysisResult.class, + com.google.cloud.contactcenterinsights.v1.AnalysisResult.Builder.class); } // Construct using com.google.cloud.contactcenterinsights.v1.AnalysisResult.newBuilder() - private Builder() { + private Builder() {} - } - - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -3125,9 +3744,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.contactcenterinsights.v1.ResourcesProto.internal_static_google_cloud_contactcenterinsights_v1_AnalysisResult_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.contactcenterinsights.v1.ResourcesProto + .internal_static_google_cloud_contactcenterinsights_v1_AnalysisResult_descriptor; } @java.lang.Override @@ -3146,8 +3765,11 @@ public com.google.cloud.contactcenterinsights.v1.AnalysisResult build() { @java.lang.Override public com.google.cloud.contactcenterinsights.v1.AnalysisResult buildPartial() { - com.google.cloud.contactcenterinsights.v1.AnalysisResult result = new com.google.cloud.contactcenterinsights.v1.AnalysisResult(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.cloud.contactcenterinsights.v1.AnalysisResult result = + new com.google.cloud.contactcenterinsights.v1.AnalysisResult(this); + if (bitField0_ != 0) { + buildPartial0(result); + } buildPartialOneofs(result); onBuilt(); return result; @@ -3156,17 +3778,15 @@ public com.google.cloud.contactcenterinsights.v1.AnalysisResult buildPartial() { private void buildPartial0(com.google.cloud.contactcenterinsights.v1.AnalysisResult result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000002) != 0)) { - result.endTime_ = endTimeBuilder_ == null - ? endTime_ - : endTimeBuilder_.build(); + result.endTime_ = endTimeBuilder_ == null ? endTime_ : endTimeBuilder_.build(); } } - private void buildPartialOneofs(com.google.cloud.contactcenterinsights.v1.AnalysisResult result) { + private void buildPartialOneofs( + com.google.cloud.contactcenterinsights.v1.AnalysisResult result) { result.metadataCase_ = metadataCase_; result.metadata_ = this.metadata_; - if (metadataCase_ == 2 && - callAnalysisMetadataBuilder_ != null) { + if (metadataCase_ == 2 && callAnalysisMetadataBuilder_ != null) { result.metadata_ = callAnalysisMetadataBuilder_.build(); } } @@ -3175,38 +3795,39 @@ private void buildPartialOneofs(com.google.cloud.contactcenterinsights.v1.Analys public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.contactcenterinsights.v1.AnalysisResult) { - return mergeFrom((com.google.cloud.contactcenterinsights.v1.AnalysisResult)other); + return mergeFrom((com.google.cloud.contactcenterinsights.v1.AnalysisResult) other); } else { super.mergeFrom(other); return this; @@ -3214,18 +3835,21 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.contactcenterinsights.v1.AnalysisResult other) { - if (other == com.google.cloud.contactcenterinsights.v1.AnalysisResult.getDefaultInstance()) return this; + if (other == com.google.cloud.contactcenterinsights.v1.AnalysisResult.getDefaultInstance()) + return this; if (other.hasEndTime()) { mergeEndTime(other.getEndTime()); } switch (other.getMetadataCase()) { - case CALL_ANALYSIS_METADATA: { - mergeCallAnalysisMetadata(other.getCallAnalysisMetadata()); - break; - } - case METADATA_NOT_SET: { - break; - } + case CALL_ANALYSIS_METADATA: + { + mergeCallAnalysisMetadata(other.getCallAnalysisMetadata()); + break; + } + case METADATA_NOT_SET: + { + break; + } } this.mergeUnknownFields(other.getUnknownFields()); onChanged(); @@ -3253,26 +3877,26 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - input.readMessage( - getEndTimeFieldBuilder().getBuilder(), - extensionRegistry); - bitField0_ |= 0x00000002; - break; - } // case 10 - case 18: { - input.readMessage( - getCallAnalysisMetadataFieldBuilder().getBuilder(), - extensionRegistry); - metadataCase_ = 2; - break; - } // case 18 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + input.readMessage(getEndTimeFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000002; + break; + } // case 10 + case 18: + { + input.readMessage( + getCallAnalysisMetadataFieldBuilder().getBuilder(), extensionRegistry); + metadataCase_ = 2; + break; + } // case 18 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -3282,12 +3906,12 @@ public Builder mergeFrom( } // finally return this; } + private int metadataCase_ = 0; private java.lang.Object metadata_; - public MetadataCase - getMetadataCase() { - return MetadataCase.forNumber( - metadataCase_); + + public MetadataCase getMetadataCase() { + return MetadataCase.forNumber(metadataCase_); } public Builder clearMetadata() { @@ -3300,13 +3924,21 @@ public Builder clearMetadata() { private int bitField0_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.contactcenterinsights.v1.AnalysisResult.CallAnalysisMetadata, com.google.cloud.contactcenterinsights.v1.AnalysisResult.CallAnalysisMetadata.Builder, com.google.cloud.contactcenterinsights.v1.AnalysisResult.CallAnalysisMetadataOrBuilder> callAnalysisMetadataBuilder_; + com.google.cloud.contactcenterinsights.v1.AnalysisResult.CallAnalysisMetadata, + com.google.cloud.contactcenterinsights.v1.AnalysisResult.CallAnalysisMetadata.Builder, + com.google.cloud.contactcenterinsights.v1.AnalysisResult.CallAnalysisMetadataOrBuilder> + callAnalysisMetadataBuilder_; /** + * + * *
      * Call-specific metadata created by the analysis.
      * 
* - * .google.cloud.contactcenterinsights.v1.AnalysisResult.CallAnalysisMetadata call_analysis_metadata = 2; + * + * .google.cloud.contactcenterinsights.v1.AnalysisResult.CallAnalysisMetadata call_analysis_metadata = 2; + * + * * @return Whether the callAnalysisMetadata field is set. */ @java.lang.Override @@ -3314,35 +3946,49 @@ public boolean hasCallAnalysisMetadata() { return metadataCase_ == 2; } /** + * + * *
      * Call-specific metadata created by the analysis.
      * 
* - * .google.cloud.contactcenterinsights.v1.AnalysisResult.CallAnalysisMetadata call_analysis_metadata = 2; + * + * .google.cloud.contactcenterinsights.v1.AnalysisResult.CallAnalysisMetadata call_analysis_metadata = 2; + * + * * @return The callAnalysisMetadata. */ @java.lang.Override - public com.google.cloud.contactcenterinsights.v1.AnalysisResult.CallAnalysisMetadata getCallAnalysisMetadata() { + public com.google.cloud.contactcenterinsights.v1.AnalysisResult.CallAnalysisMetadata + getCallAnalysisMetadata() { if (callAnalysisMetadataBuilder_ == null) { if (metadataCase_ == 2) { - return (com.google.cloud.contactcenterinsights.v1.AnalysisResult.CallAnalysisMetadata) metadata_; + return (com.google.cloud.contactcenterinsights.v1.AnalysisResult.CallAnalysisMetadata) + metadata_; } - return com.google.cloud.contactcenterinsights.v1.AnalysisResult.CallAnalysisMetadata.getDefaultInstance(); + return com.google.cloud.contactcenterinsights.v1.AnalysisResult.CallAnalysisMetadata + .getDefaultInstance(); } else { if (metadataCase_ == 2) { return callAnalysisMetadataBuilder_.getMessage(); } - return com.google.cloud.contactcenterinsights.v1.AnalysisResult.CallAnalysisMetadata.getDefaultInstance(); + return com.google.cloud.contactcenterinsights.v1.AnalysisResult.CallAnalysisMetadata + .getDefaultInstance(); } } /** + * + * *
      * Call-specific metadata created by the analysis.
      * 
* - * .google.cloud.contactcenterinsights.v1.AnalysisResult.CallAnalysisMetadata call_analysis_metadata = 2; + * + * .google.cloud.contactcenterinsights.v1.AnalysisResult.CallAnalysisMetadata call_analysis_metadata = 2; + * */ - public Builder setCallAnalysisMetadata(com.google.cloud.contactcenterinsights.v1.AnalysisResult.CallAnalysisMetadata value) { + public Builder setCallAnalysisMetadata( + com.google.cloud.contactcenterinsights.v1.AnalysisResult.CallAnalysisMetadata value) { if (callAnalysisMetadataBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -3356,14 +4002,19 @@ public Builder setCallAnalysisMetadata(com.google.cloud.contactcenterinsights.v1 return this; } /** + * + * *
      * Call-specific metadata created by the analysis.
      * 
* - * .google.cloud.contactcenterinsights.v1.AnalysisResult.CallAnalysisMetadata call_analysis_metadata = 2; + * + * .google.cloud.contactcenterinsights.v1.AnalysisResult.CallAnalysisMetadata call_analysis_metadata = 2; + * */ public Builder setCallAnalysisMetadata( - com.google.cloud.contactcenterinsights.v1.AnalysisResult.CallAnalysisMetadata.Builder builderForValue) { + com.google.cloud.contactcenterinsights.v1.AnalysisResult.CallAnalysisMetadata.Builder + builderForValue) { if (callAnalysisMetadataBuilder_ == null) { metadata_ = builderForValue.build(); onChanged(); @@ -3374,18 +4025,31 @@ public Builder setCallAnalysisMetadata( return this; } /** + * + * *
      * Call-specific metadata created by the analysis.
      * 
* - * .google.cloud.contactcenterinsights.v1.AnalysisResult.CallAnalysisMetadata call_analysis_metadata = 2; + * + * .google.cloud.contactcenterinsights.v1.AnalysisResult.CallAnalysisMetadata call_analysis_metadata = 2; + * */ - public Builder mergeCallAnalysisMetadata(com.google.cloud.contactcenterinsights.v1.AnalysisResult.CallAnalysisMetadata value) { + public Builder mergeCallAnalysisMetadata( + com.google.cloud.contactcenterinsights.v1.AnalysisResult.CallAnalysisMetadata value) { if (callAnalysisMetadataBuilder_ == null) { - if (metadataCase_ == 2 && - metadata_ != com.google.cloud.contactcenterinsights.v1.AnalysisResult.CallAnalysisMetadata.getDefaultInstance()) { - metadata_ = com.google.cloud.contactcenterinsights.v1.AnalysisResult.CallAnalysisMetadata.newBuilder((com.google.cloud.contactcenterinsights.v1.AnalysisResult.CallAnalysisMetadata) metadata_) - .mergeFrom(value).buildPartial(); + if (metadataCase_ == 2 + && metadata_ + != com.google.cloud.contactcenterinsights.v1.AnalysisResult.CallAnalysisMetadata + .getDefaultInstance()) { + metadata_ = + com.google.cloud.contactcenterinsights.v1.AnalysisResult.CallAnalysisMetadata + .newBuilder( + (com.google.cloud.contactcenterinsights.v1.AnalysisResult + .CallAnalysisMetadata) + metadata_) + .mergeFrom(value) + .buildPartial(); } else { metadata_ = value; } @@ -3401,11 +4065,15 @@ public Builder mergeCallAnalysisMetadata(com.google.cloud.contactcenterinsights. return this; } /** + * + * *
      * Call-specific metadata created by the analysis.
      * 
* - * .google.cloud.contactcenterinsights.v1.AnalysisResult.CallAnalysisMetadata call_analysis_metadata = 2; + * + * .google.cloud.contactcenterinsights.v1.AnalysisResult.CallAnalysisMetadata call_analysis_metadata = 2; + * */ public Builder clearCallAnalysisMetadata() { if (callAnalysisMetadataBuilder_ == null) { @@ -3424,50 +4092,76 @@ public Builder clearCallAnalysisMetadata() { return this; } /** + * + * *
      * Call-specific metadata created by the analysis.
      * 
* - * .google.cloud.contactcenterinsights.v1.AnalysisResult.CallAnalysisMetadata call_analysis_metadata = 2; + * + * .google.cloud.contactcenterinsights.v1.AnalysisResult.CallAnalysisMetadata call_analysis_metadata = 2; + * */ - public com.google.cloud.contactcenterinsights.v1.AnalysisResult.CallAnalysisMetadata.Builder getCallAnalysisMetadataBuilder() { + public com.google.cloud.contactcenterinsights.v1.AnalysisResult.CallAnalysisMetadata.Builder + getCallAnalysisMetadataBuilder() { return getCallAnalysisMetadataFieldBuilder().getBuilder(); } /** + * + * *
      * Call-specific metadata created by the analysis.
      * 
* - * .google.cloud.contactcenterinsights.v1.AnalysisResult.CallAnalysisMetadata call_analysis_metadata = 2; + * + * .google.cloud.contactcenterinsights.v1.AnalysisResult.CallAnalysisMetadata call_analysis_metadata = 2; + * */ @java.lang.Override - public com.google.cloud.contactcenterinsights.v1.AnalysisResult.CallAnalysisMetadataOrBuilder getCallAnalysisMetadataOrBuilder() { + public com.google.cloud.contactcenterinsights.v1.AnalysisResult.CallAnalysisMetadataOrBuilder + getCallAnalysisMetadataOrBuilder() { if ((metadataCase_ == 2) && (callAnalysisMetadataBuilder_ != null)) { return callAnalysisMetadataBuilder_.getMessageOrBuilder(); } else { if (metadataCase_ == 2) { - return (com.google.cloud.contactcenterinsights.v1.AnalysisResult.CallAnalysisMetadata) metadata_; + return (com.google.cloud.contactcenterinsights.v1.AnalysisResult.CallAnalysisMetadata) + metadata_; } - return com.google.cloud.contactcenterinsights.v1.AnalysisResult.CallAnalysisMetadata.getDefaultInstance(); + return com.google.cloud.contactcenterinsights.v1.AnalysisResult.CallAnalysisMetadata + .getDefaultInstance(); } } /** + * + * *
      * Call-specific metadata created by the analysis.
      * 
* - * .google.cloud.contactcenterinsights.v1.AnalysisResult.CallAnalysisMetadata call_analysis_metadata = 2; + * + * .google.cloud.contactcenterinsights.v1.AnalysisResult.CallAnalysisMetadata call_analysis_metadata = 2; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.contactcenterinsights.v1.AnalysisResult.CallAnalysisMetadata, com.google.cloud.contactcenterinsights.v1.AnalysisResult.CallAnalysisMetadata.Builder, com.google.cloud.contactcenterinsights.v1.AnalysisResult.CallAnalysisMetadataOrBuilder> + com.google.cloud.contactcenterinsights.v1.AnalysisResult.CallAnalysisMetadata, + com.google.cloud.contactcenterinsights.v1.AnalysisResult.CallAnalysisMetadata.Builder, + com.google.cloud.contactcenterinsights.v1.AnalysisResult.CallAnalysisMetadataOrBuilder> getCallAnalysisMetadataFieldBuilder() { if (callAnalysisMetadataBuilder_ == null) { if (!(metadataCase_ == 2)) { - metadata_ = com.google.cloud.contactcenterinsights.v1.AnalysisResult.CallAnalysisMetadata.getDefaultInstance(); + metadata_ = + com.google.cloud.contactcenterinsights.v1.AnalysisResult.CallAnalysisMetadata + .getDefaultInstance(); } - callAnalysisMetadataBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.contactcenterinsights.v1.AnalysisResult.CallAnalysisMetadata, com.google.cloud.contactcenterinsights.v1.AnalysisResult.CallAnalysisMetadata.Builder, com.google.cloud.contactcenterinsights.v1.AnalysisResult.CallAnalysisMetadataOrBuilder>( - (com.google.cloud.contactcenterinsights.v1.AnalysisResult.CallAnalysisMetadata) metadata_, + callAnalysisMetadataBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.contactcenterinsights.v1.AnalysisResult.CallAnalysisMetadata, + com.google.cloud.contactcenterinsights.v1.AnalysisResult.CallAnalysisMetadata + .Builder, + com.google.cloud.contactcenterinsights.v1.AnalysisResult + .CallAnalysisMetadataOrBuilder>( + (com.google.cloud.contactcenterinsights.v1.AnalysisResult.CallAnalysisMetadata) + metadata_, getParentForChildren(), isClean()); metadata_ = null; @@ -3479,24 +4173,33 @@ public com.google.cloud.contactcenterinsights.v1.AnalysisResult.CallAnalysisMeta private com.google.protobuf.Timestamp endTime_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> endTimeBuilder_; + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder> + endTimeBuilder_; /** + * + * *
      * The time at which the analysis ended.
      * 
* * .google.protobuf.Timestamp end_time = 1; + * * @return Whether the endTime field is set. */ public boolean hasEndTime() { return ((bitField0_ & 0x00000002) != 0); } /** + * + * *
      * The time at which the analysis ended.
      * 
* * .google.protobuf.Timestamp end_time = 1; + * * @return The endTime. */ public com.google.protobuf.Timestamp getEndTime() { @@ -3507,6 +4210,8 @@ public com.google.protobuf.Timestamp getEndTime() { } } /** + * + * *
      * The time at which the analysis ended.
      * 
@@ -3527,14 +4232,15 @@ public Builder setEndTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * The time at which the analysis ended.
      * 
* * .google.protobuf.Timestamp end_time = 1; */ - public Builder setEndTime( - com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setEndTime(com.google.protobuf.Timestamp.Builder builderForValue) { if (endTimeBuilder_ == null) { endTime_ = builderForValue.build(); } else { @@ -3545,6 +4251,8 @@ public Builder setEndTime( return this; } /** + * + * *
      * The time at which the analysis ended.
      * 
@@ -3553,9 +4261,9 @@ public Builder setEndTime( */ public Builder mergeEndTime(com.google.protobuf.Timestamp value) { if (endTimeBuilder_ == null) { - if (((bitField0_ & 0x00000002) != 0) && - endTime_ != null && - endTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { + if (((bitField0_ & 0x00000002) != 0) + && endTime_ != null + && endTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { getEndTimeBuilder().mergeFrom(value); } else { endTime_ = value; @@ -3568,6 +4276,8 @@ public Builder mergeEndTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * The time at which the analysis ended.
      * 
@@ -3585,6 +4295,8 @@ public Builder clearEndTime() { return this; } /** + * + * *
      * The time at which the analysis ended.
      * 
@@ -3597,6 +4309,8 @@ public com.google.protobuf.Timestamp.Builder getEndTimeBuilder() { return getEndTimeFieldBuilder().getBuilder(); } /** + * + * *
      * The time at which the analysis ended.
      * 
@@ -3607,11 +4321,12 @@ public com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder() { if (endTimeBuilder_ != null) { return endTimeBuilder_.getMessageOrBuilder(); } else { - return endTime_ == null ? - com.google.protobuf.Timestamp.getDefaultInstance() : endTime_; + return endTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : endTime_; } } /** + * + * *
      * The time at which the analysis ended.
      * 
@@ -3619,21 +4334,24 @@ public com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder() { * .google.protobuf.Timestamp end_time = 1; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder> getEndTimeFieldBuilder() { if (endTimeBuilder_ == null) { - endTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( - getEndTime(), - getParentForChildren(), - isClean()); + endTimeBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder>( + getEndTime(), getParentForChildren(), isClean()); endTime_ = null; } return endTimeBuilder_; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -3643,12 +4361,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.contactcenterinsights.v1.AnalysisResult) } // @@protoc_insertion_point(class_scope:google.cloud.contactcenterinsights.v1.AnalysisResult) private static final com.google.cloud.contactcenterinsights.v1.AnalysisResult DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.contactcenterinsights.v1.AnalysisResult(); } @@ -3657,27 +4375,27 @@ public static com.google.cloud.contactcenterinsights.v1.AnalysisResult getDefaul return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public AnalysisResult parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public AnalysisResult parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -3692,6 +4410,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.contactcenterinsights.v1.AnalysisResult getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/AnalysisResultOrBuilder.java b/java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/AnalysisResultOrBuilder.java similarity index 56% rename from owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/AnalysisResultOrBuilder.java rename to java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/AnalysisResultOrBuilder.java index 349628cca270..5fd7381981a3 100644 --- a/owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/AnalysisResultOrBuilder.java +++ b/java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/AnalysisResultOrBuilder.java @@ -1,58 +1,98 @@ +/* + * 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. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/contactcenterinsights/v1/resources.proto package com.google.cloud.contactcenterinsights.v1; -public interface AnalysisResultOrBuilder extends +public interface AnalysisResultOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.contactcenterinsights.v1.AnalysisResult) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Call-specific metadata created by the analysis.
    * 
* - * .google.cloud.contactcenterinsights.v1.AnalysisResult.CallAnalysisMetadata call_analysis_metadata = 2; + * + * .google.cloud.contactcenterinsights.v1.AnalysisResult.CallAnalysisMetadata call_analysis_metadata = 2; + * + * * @return Whether the callAnalysisMetadata field is set. */ boolean hasCallAnalysisMetadata(); /** + * + * *
    * Call-specific metadata created by the analysis.
    * 
* - * .google.cloud.contactcenterinsights.v1.AnalysisResult.CallAnalysisMetadata call_analysis_metadata = 2; + * + * .google.cloud.contactcenterinsights.v1.AnalysisResult.CallAnalysisMetadata call_analysis_metadata = 2; + * + * * @return The callAnalysisMetadata. */ - com.google.cloud.contactcenterinsights.v1.AnalysisResult.CallAnalysisMetadata getCallAnalysisMetadata(); + com.google.cloud.contactcenterinsights.v1.AnalysisResult.CallAnalysisMetadata + getCallAnalysisMetadata(); /** + * + * *
    * Call-specific metadata created by the analysis.
    * 
* - * .google.cloud.contactcenterinsights.v1.AnalysisResult.CallAnalysisMetadata call_analysis_metadata = 2; + * + * .google.cloud.contactcenterinsights.v1.AnalysisResult.CallAnalysisMetadata call_analysis_metadata = 2; + * */ - com.google.cloud.contactcenterinsights.v1.AnalysisResult.CallAnalysisMetadataOrBuilder getCallAnalysisMetadataOrBuilder(); + com.google.cloud.contactcenterinsights.v1.AnalysisResult.CallAnalysisMetadataOrBuilder + getCallAnalysisMetadataOrBuilder(); /** + * + * *
    * The time at which the analysis ended.
    * 
* * .google.protobuf.Timestamp end_time = 1; + * * @return Whether the endTime field is set. */ boolean hasEndTime(); /** + * + * *
    * The time at which the analysis ended.
    * 
* * .google.protobuf.Timestamp end_time = 1; + * * @return The endTime. */ com.google.protobuf.Timestamp getEndTime(); /** + * + * *
    * The time at which the analysis ended.
    * 
diff --git a/owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/AnnotationBoundary.java b/java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/AnnotationBoundary.java similarity index 67% rename from owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/AnnotationBoundary.java rename to java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/AnnotationBoundary.java index 98a0b8e4aa59..2b460a6288c0 100644 --- a/owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/AnnotationBoundary.java +++ b/java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/AnnotationBoundary.java @@ -1,60 +1,81 @@ +/* + * 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. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/contactcenterinsights/v1/resources.proto package com.google.cloud.contactcenterinsights.v1; /** + * + * *
  * A point in a conversation that marks the start or the end of an annotation.
  * 
* * Protobuf type {@code google.cloud.contactcenterinsights.v1.AnnotationBoundary} */ -public final class AnnotationBoundary extends - com.google.protobuf.GeneratedMessageV3 implements +public final class AnnotationBoundary extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.contactcenterinsights.v1.AnnotationBoundary) AnnotationBoundaryOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use AnnotationBoundary.newBuilder() to construct. private AnnotationBoundary(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private AnnotationBoundary() { - } + + private AnnotationBoundary() {} @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new AnnotationBoundary(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.contactcenterinsights.v1.ResourcesProto.internal_static_google_cloud_contactcenterinsights_v1_AnnotationBoundary_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.contactcenterinsights.v1.ResourcesProto + .internal_static_google_cloud_contactcenterinsights_v1_AnnotationBoundary_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.contactcenterinsights.v1.ResourcesProto.internal_static_google_cloud_contactcenterinsights_v1_AnnotationBoundary_fieldAccessorTable + return com.google.cloud.contactcenterinsights.v1.ResourcesProto + .internal_static_google_cloud_contactcenterinsights_v1_AnnotationBoundary_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.contactcenterinsights.v1.AnnotationBoundary.class, com.google.cloud.contactcenterinsights.v1.AnnotationBoundary.Builder.class); + com.google.cloud.contactcenterinsights.v1.AnnotationBoundary.class, + com.google.cloud.contactcenterinsights.v1.AnnotationBoundary.Builder.class); } private int detailedBoundaryCase_ = 0; private java.lang.Object detailedBoundary_; + public enum DetailedBoundaryCase - implements com.google.protobuf.Internal.EnumLite, + implements + com.google.protobuf.Internal.EnumLite, com.google.protobuf.AbstractMessage.InternalOneOfEnum { WORD_INDEX(3), DETAILEDBOUNDARY_NOT_SET(0); private final int value; + private DetailedBoundaryCase(int value) { this.value = value; } @@ -70,30 +91,35 @@ public static DetailedBoundaryCase valueOf(int value) { public static DetailedBoundaryCase forNumber(int value) { switch (value) { - case 3: return WORD_INDEX; - case 0: return DETAILEDBOUNDARY_NOT_SET; - default: return null; + case 3: + return WORD_INDEX; + case 0: + return DETAILEDBOUNDARY_NOT_SET; + default: + return null; } } + public int getNumber() { return this.value; } }; - public DetailedBoundaryCase - getDetailedBoundaryCase() { - return DetailedBoundaryCase.forNumber( - detailedBoundaryCase_); + public DetailedBoundaryCase getDetailedBoundaryCase() { + return DetailedBoundaryCase.forNumber(detailedBoundaryCase_); } public static final int WORD_INDEX_FIELD_NUMBER = 3; /** + * + * *
    * The word index of this boundary with respect to the first word in the
    * transcript piece. This index starts at zero.
    * 
* * int32 word_index = 3; + * * @return Whether the wordIndex field is set. */ @java.lang.Override @@ -101,12 +127,15 @@ public boolean hasWordIndex() { return detailedBoundaryCase_ == 3; } /** + * + * *
    * The word index of this boundary with respect to the first word in the
    * transcript piece. This index starts at zero.
    * 
* * int32 word_index = 3; + * * @return The wordIndex. */ @java.lang.Override @@ -120,12 +149,15 @@ public int getWordIndex() { public static final int TRANSCRIPT_INDEX_FIELD_NUMBER = 1; private int transcriptIndex_ = 0; /** + * + * *
    * The index in the sequence of transcribed pieces of the conversation where
    * the boundary is located. This index starts at zero.
    * 
* * int32 transcript_index = 1; + * * @return The transcriptIndex. */ @java.lang.Override @@ -134,6 +166,7 @@ public int getTranscriptIndex() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -145,14 +178,12 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (transcriptIndex_ != 0) { output.writeInt32(1, transcriptIndex_); } if (detailedBoundaryCase_ == 3) { - output.writeInt32( - 3, (int)((java.lang.Integer) detailedBoundary_)); + output.writeInt32(3, (int) ((java.lang.Integer) detailedBoundary_)); } getUnknownFields().writeTo(output); } @@ -164,13 +195,12 @@ public int getSerializedSize() { size = 0; if (transcriptIndex_ != 0) { - size += com.google.protobuf.CodedOutputStream - .computeInt32Size(1, transcriptIndex_); + size += com.google.protobuf.CodedOutputStream.computeInt32Size(1, transcriptIndex_); } if (detailedBoundaryCase_ == 3) { - size += com.google.protobuf.CodedOutputStream - .computeInt32Size( - 3, (int)((java.lang.Integer) detailedBoundary_)); + size += + com.google.protobuf.CodedOutputStream.computeInt32Size( + 3, (int) ((java.lang.Integer) detailedBoundary_)); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -180,20 +210,19 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.contactcenterinsights.v1.AnnotationBoundary)) { return super.equals(obj); } - com.google.cloud.contactcenterinsights.v1.AnnotationBoundary other = (com.google.cloud.contactcenterinsights.v1.AnnotationBoundary) obj; + com.google.cloud.contactcenterinsights.v1.AnnotationBoundary other = + (com.google.cloud.contactcenterinsights.v1.AnnotationBoundary) obj; - if (getTranscriptIndex() - != other.getTranscriptIndex()) return false; + if (getTranscriptIndex() != other.getTranscriptIndex()) return false; if (!getDetailedBoundaryCase().equals(other.getDetailedBoundaryCase())) return false; switch (detailedBoundaryCase_) { case 3: - if (getWordIndex() - != other.getWordIndex()) return false; + if (getWordIndex() != other.getWordIndex()) return false; break; case 0: default: @@ -225,129 +254,136 @@ public int hashCode() { } public static com.google.cloud.contactcenterinsights.v1.AnnotationBoundary parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.contactcenterinsights.v1.AnnotationBoundary parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.contactcenterinsights.v1.AnnotationBoundary parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.contactcenterinsights.v1.AnnotationBoundary parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.contactcenterinsights.v1.AnnotationBoundary parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.contactcenterinsights.v1.AnnotationBoundary parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.contactcenterinsights.v1.AnnotationBoundary parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.contactcenterinsights.v1.AnnotationBoundary parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.contactcenterinsights.v1.AnnotationBoundary parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.contactcenterinsights.v1.AnnotationBoundary parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.contactcenterinsights.v1.AnnotationBoundary parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.contactcenterinsights.v1.AnnotationBoundary parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.contactcenterinsights.v1.AnnotationBoundary parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.contactcenterinsights.v1.AnnotationBoundary parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.contactcenterinsights.v1.AnnotationBoundary prototype) { + + public static Builder newBuilder( + com.google.cloud.contactcenterinsights.v1.AnnotationBoundary prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * A point in a conversation that marks the start or the end of an annotation.
    * 
* * Protobuf type {@code google.cloud.contactcenterinsights.v1.AnnotationBoundary} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.contactcenterinsights.v1.AnnotationBoundary) com.google.cloud.contactcenterinsights.v1.AnnotationBoundaryOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.contactcenterinsights.v1.ResourcesProto.internal_static_google_cloud_contactcenterinsights_v1_AnnotationBoundary_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.contactcenterinsights.v1.ResourcesProto + .internal_static_google_cloud_contactcenterinsights_v1_AnnotationBoundary_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.contactcenterinsights.v1.ResourcesProto.internal_static_google_cloud_contactcenterinsights_v1_AnnotationBoundary_fieldAccessorTable + return com.google.cloud.contactcenterinsights.v1.ResourcesProto + .internal_static_google_cloud_contactcenterinsights_v1_AnnotationBoundary_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.contactcenterinsights.v1.AnnotationBoundary.class, com.google.cloud.contactcenterinsights.v1.AnnotationBoundary.Builder.class); + com.google.cloud.contactcenterinsights.v1.AnnotationBoundary.class, + com.google.cloud.contactcenterinsights.v1.AnnotationBoundary.Builder.class); } // Construct using com.google.cloud.contactcenterinsights.v1.AnnotationBoundary.newBuilder() - private Builder() { - - } + private Builder() {} - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -359,13 +395,14 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.contactcenterinsights.v1.ResourcesProto.internal_static_google_cloud_contactcenterinsights_v1_AnnotationBoundary_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.contactcenterinsights.v1.ResourcesProto + .internal_static_google_cloud_contactcenterinsights_v1_AnnotationBoundary_descriptor; } @java.lang.Override - public com.google.cloud.contactcenterinsights.v1.AnnotationBoundary getDefaultInstanceForType() { + public com.google.cloud.contactcenterinsights.v1.AnnotationBoundary + getDefaultInstanceForType() { return com.google.cloud.contactcenterinsights.v1.AnnotationBoundary.getDefaultInstance(); } @@ -380,21 +417,26 @@ public com.google.cloud.contactcenterinsights.v1.AnnotationBoundary build() { @java.lang.Override public com.google.cloud.contactcenterinsights.v1.AnnotationBoundary buildPartial() { - com.google.cloud.contactcenterinsights.v1.AnnotationBoundary result = new com.google.cloud.contactcenterinsights.v1.AnnotationBoundary(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.cloud.contactcenterinsights.v1.AnnotationBoundary result = + new com.google.cloud.contactcenterinsights.v1.AnnotationBoundary(this); + if (bitField0_ != 0) { + buildPartial0(result); + } buildPartialOneofs(result); onBuilt(); return result; } - private void buildPartial0(com.google.cloud.contactcenterinsights.v1.AnnotationBoundary result) { + private void buildPartial0( + com.google.cloud.contactcenterinsights.v1.AnnotationBoundary result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000002) != 0)) { result.transcriptIndex_ = transcriptIndex_; } } - private void buildPartialOneofs(com.google.cloud.contactcenterinsights.v1.AnnotationBoundary result) { + private void buildPartialOneofs( + com.google.cloud.contactcenterinsights.v1.AnnotationBoundary result) { result.detailedBoundaryCase_ = detailedBoundaryCase_; result.detailedBoundary_ = this.detailedBoundary_; } @@ -403,38 +445,39 @@ private void buildPartialOneofs(com.google.cloud.contactcenterinsights.v1.Annota public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.contactcenterinsights.v1.AnnotationBoundary) { - return mergeFrom((com.google.cloud.contactcenterinsights.v1.AnnotationBoundary)other); + return mergeFrom((com.google.cloud.contactcenterinsights.v1.AnnotationBoundary) other); } else { super.mergeFrom(other); return this; @@ -442,18 +485,22 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.contactcenterinsights.v1.AnnotationBoundary other) { - if (other == com.google.cloud.contactcenterinsights.v1.AnnotationBoundary.getDefaultInstance()) return this; + if (other + == com.google.cloud.contactcenterinsights.v1.AnnotationBoundary.getDefaultInstance()) + return this; if (other.getTranscriptIndex() != 0) { setTranscriptIndex(other.getTranscriptIndex()); } switch (other.getDetailedBoundaryCase()) { - case WORD_INDEX: { - setWordIndex(other.getWordIndex()); - break; - } - case DETAILEDBOUNDARY_NOT_SET: { - break; - } + case WORD_INDEX: + { + setWordIndex(other.getWordIndex()); + break; + } + case DETAILEDBOUNDARY_NOT_SET: + { + break; + } } this.mergeUnknownFields(other.getUnknownFields()); onChanged(); @@ -481,22 +528,25 @@ public Builder mergeFrom( case 0: done = true; break; - case 8: { - transcriptIndex_ = input.readInt32(); - bitField0_ |= 0x00000002; - break; - } // case 8 - case 24: { - detailedBoundary_ = input.readInt32(); - detailedBoundaryCase_ = 3; - break; - } // case 24 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 8: + { + transcriptIndex_ = input.readInt32(); + bitField0_ |= 0x00000002; + break; + } // case 8 + case 24: + { + detailedBoundary_ = input.readInt32(); + detailedBoundaryCase_ = 3; + break; + } // case 24 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -506,12 +556,12 @@ public Builder mergeFrom( } // finally return this; } + private int detailedBoundaryCase_ = 0; private java.lang.Object detailedBoundary_; - public DetailedBoundaryCase - getDetailedBoundaryCase() { - return DetailedBoundaryCase.forNumber( - detailedBoundaryCase_); + + public DetailedBoundaryCase getDetailedBoundaryCase() { + return DetailedBoundaryCase.forNumber(detailedBoundaryCase_); } public Builder clearDetailedBoundary() { @@ -524,24 +574,30 @@ public Builder clearDetailedBoundary() { private int bitField0_; /** + * + * *
      * The word index of this boundary with respect to the first word in the
      * transcript piece. This index starts at zero.
      * 
* * int32 word_index = 3; + * * @return Whether the wordIndex field is set. */ public boolean hasWordIndex() { return detailedBoundaryCase_ == 3; } /** + * + * *
      * The word index of this boundary with respect to the first word in the
      * transcript piece. This index starts at zero.
      * 
* * int32 word_index = 3; + * * @return The wordIndex. */ public int getWordIndex() { @@ -551,29 +607,35 @@ public int getWordIndex() { return 0; } /** + * + * *
      * The word index of this boundary with respect to the first word in the
      * transcript piece. This index starts at zero.
      * 
* * int32 word_index = 3; + * * @param value The wordIndex to set. * @return This builder for chaining. */ public Builder setWordIndex(int value) { - + detailedBoundaryCase_ = 3; detailedBoundary_ = value; onChanged(); return this; } /** + * + * *
      * The word index of this boundary with respect to the first word in the
      * transcript piece. This index starts at zero.
      * 
* * int32 word_index = 3; + * * @return This builder for chaining. */ public Builder clearWordIndex() { @@ -585,14 +647,17 @@ public Builder clearWordIndex() { return this; } - private int transcriptIndex_ ; + private int transcriptIndex_; /** + * + * *
      * The index in the sequence of transcribed pieces of the conversation where
      * the boundary is located. This index starts at zero.
      * 
* * int32 transcript_index = 1; + * * @return The transcriptIndex. */ @java.lang.Override @@ -600,29 +665,35 @@ public int getTranscriptIndex() { return transcriptIndex_; } /** + * + * *
      * The index in the sequence of transcribed pieces of the conversation where
      * the boundary is located. This index starts at zero.
      * 
* * int32 transcript_index = 1; + * * @param value The transcriptIndex to set. * @return This builder for chaining. */ public Builder setTranscriptIndex(int value) { - + transcriptIndex_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** + * + * *
      * The index in the sequence of transcribed pieces of the conversation where
      * the boundary is located. This index starts at zero.
      * 
* * int32 transcript_index = 1; + * * @return This builder for chaining. */ public Builder clearTranscriptIndex() { @@ -631,9 +702,9 @@ public Builder clearTranscriptIndex() { onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -643,12 +714,13 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.contactcenterinsights.v1.AnnotationBoundary) } // @@protoc_insertion_point(class_scope:google.cloud.contactcenterinsights.v1.AnnotationBoundary) - private static final com.google.cloud.contactcenterinsights.v1.AnnotationBoundary DEFAULT_INSTANCE; + private static final com.google.cloud.contactcenterinsights.v1.AnnotationBoundary + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.contactcenterinsights.v1.AnnotationBoundary(); } @@ -657,27 +729,27 @@ public static com.google.cloud.contactcenterinsights.v1.AnnotationBoundary getDe return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public AnnotationBoundary parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public AnnotationBoundary parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -692,6 +764,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.contactcenterinsights.v1.AnnotationBoundary getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/AnnotationBoundaryOrBuilder.java b/java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/AnnotationBoundaryOrBuilder.java similarity index 61% rename from owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/AnnotationBoundaryOrBuilder.java rename to java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/AnnotationBoundaryOrBuilder.java index c2a9644941df..79e6b46f10c3 100644 --- a/owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/AnnotationBoundaryOrBuilder.java +++ b/java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/AnnotationBoundaryOrBuilder.java @@ -1,43 +1,69 @@ +/* + * 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. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/contactcenterinsights/v1/resources.proto package com.google.cloud.contactcenterinsights.v1; -public interface AnnotationBoundaryOrBuilder extends +public interface AnnotationBoundaryOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.contactcenterinsights.v1.AnnotationBoundary) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * The word index of this boundary with respect to the first word in the
    * transcript piece. This index starts at zero.
    * 
* * int32 word_index = 3; + * * @return Whether the wordIndex field is set. */ boolean hasWordIndex(); /** + * + * *
    * The word index of this boundary with respect to the first word in the
    * transcript piece. This index starts at zero.
    * 
* * int32 word_index = 3; + * * @return The wordIndex. */ int getWordIndex(); /** + * + * *
    * The index in the sequence of transcribed pieces of the conversation where
    * the boundary is located. This index starts at zero.
    * 
* * int32 transcript_index = 1; + * * @return The transcriptIndex. */ int getTranscriptIndex(); - public com.google.cloud.contactcenterinsights.v1.AnnotationBoundary.DetailedBoundaryCase getDetailedBoundaryCase(); + public com.google.cloud.contactcenterinsights.v1.AnnotationBoundary.DetailedBoundaryCase + getDetailedBoundaryCase(); } diff --git a/owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/AnnotatorSelector.java b/java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/AnnotatorSelector.java similarity index 78% rename from owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/AnnotatorSelector.java rename to java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/AnnotatorSelector.java index e0205c2f1c35..4be67e660128 100644 --- a/owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/AnnotatorSelector.java +++ b/java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/AnnotatorSelector.java @@ -1,24 +1,42 @@ +/* + * 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. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/contactcenterinsights/v1/resources.proto package com.google.cloud.contactcenterinsights.v1; /** + * + * *
  * Selector of all available annotators and phrase matchers to run.
  * 
* * Protobuf type {@code google.cloud.contactcenterinsights.v1.AnnotatorSelector} */ -public final class AnnotatorSelector extends - com.google.protobuf.GeneratedMessageV3 implements +public final class AnnotatorSelector extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.contactcenterinsights.v1.AnnotatorSelector) AnnotatorSelectorOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use AnnotatorSelector.newBuilder() to construct. private AnnotatorSelector(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private AnnotatorSelector() { phraseMatchers_ = com.google.protobuf.LazyStringArrayList.EMPTY; issueModels_ = com.google.protobuf.LazyStringArrayList.EMPTY; @@ -26,37 +44,41 @@ private AnnotatorSelector() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new AnnotatorSelector(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.contactcenterinsights.v1.ResourcesProto.internal_static_google_cloud_contactcenterinsights_v1_AnnotatorSelector_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.contactcenterinsights.v1.ResourcesProto + .internal_static_google_cloud_contactcenterinsights_v1_AnnotatorSelector_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.contactcenterinsights.v1.ResourcesProto.internal_static_google_cloud_contactcenterinsights_v1_AnnotatorSelector_fieldAccessorTable + return com.google.cloud.contactcenterinsights.v1.ResourcesProto + .internal_static_google_cloud_contactcenterinsights_v1_AnnotatorSelector_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.contactcenterinsights.v1.AnnotatorSelector.class, com.google.cloud.contactcenterinsights.v1.AnnotatorSelector.Builder.class); + com.google.cloud.contactcenterinsights.v1.AnnotatorSelector.class, + com.google.cloud.contactcenterinsights.v1.AnnotatorSelector.Builder.class); } public static final int RUN_INTERRUPTION_ANNOTATOR_FIELD_NUMBER = 1; private boolean runInterruptionAnnotator_ = false; /** + * + * *
    * Whether to run the interruption annotator.
    * 
* * bool run_interruption_annotator = 1; + * * @return The runInterruptionAnnotator. */ @java.lang.Override @@ -67,11 +89,14 @@ public boolean getRunInterruptionAnnotator() { public static final int RUN_SILENCE_ANNOTATOR_FIELD_NUMBER = 2; private boolean runSilenceAnnotator_ = false; /** + * + * *
    * Whether to run the silence annotator.
    * 
* * bool run_silence_annotator = 2; + * * @return The runSilenceAnnotator. */ @java.lang.Override @@ -82,11 +107,14 @@ public boolean getRunSilenceAnnotator() { public static final int RUN_PHRASE_MATCHER_ANNOTATOR_FIELD_NUMBER = 3; private boolean runPhraseMatcherAnnotator_ = false; /** + * + * *
    * Whether to run the active phrase matcher annotator(s).
    * 
* * bool run_phrase_matcher_annotator = 3; + * * @return The runPhraseMatcherAnnotator. */ @java.lang.Override @@ -95,9 +123,12 @@ public boolean getRunPhraseMatcherAnnotator() { } public static final int PHRASE_MATCHERS_FIELD_NUMBER = 4; + @SuppressWarnings("serial") private com.google.protobuf.LazyStringList phraseMatchers_; /** + * + * *
    * The list of phrase matchers to run. If not provided, all active phrase
    * matchers will be used. If inactive phrase matchers are provided, they will
@@ -107,13 +138,15 @@ public boolean getRunPhraseMatcherAnnotator() {
    * 
* * repeated string phrase_matchers = 4 [(.google.api.resource_reference) = { ... } + * * @return A list containing the phraseMatchers. */ - public com.google.protobuf.ProtocolStringList - getPhraseMatchersList() { + public com.google.protobuf.ProtocolStringList getPhraseMatchersList() { return phraseMatchers_; } /** + * + * *
    * The list of phrase matchers to run. If not provided, all active phrase
    * matchers will be used. If inactive phrase matchers are provided, they will
@@ -123,12 +156,15 @@ public boolean getRunPhraseMatcherAnnotator() {
    * 
* * repeated string phrase_matchers = 4 [(.google.api.resource_reference) = { ... } + * * @return The count of phraseMatchers. */ public int getPhraseMatchersCount() { return phraseMatchers_.size(); } /** + * + * *
    * The list of phrase matchers to run. If not provided, all active phrase
    * matchers will be used. If inactive phrase matchers are provided, they will
@@ -138,6 +174,7 @@ public int getPhraseMatchersCount() {
    * 
* * repeated string phrase_matchers = 4 [(.google.api.resource_reference) = { ... } + * * @param index The index of the element to return. * @return The phraseMatchers at the given index. */ @@ -145,6 +182,8 @@ public java.lang.String getPhraseMatchers(int index) { return phraseMatchers_.get(index); } /** + * + * *
    * The list of phrase matchers to run. If not provided, all active phrase
    * matchers will be used. If inactive phrase matchers are provided, they will
@@ -154,22 +193,25 @@ public java.lang.String getPhraseMatchers(int index) {
    * 
* * repeated string phrase_matchers = 4 [(.google.api.resource_reference) = { ... } + * * @param index The index of the value to return. * @return The bytes of the phraseMatchers at the given index. */ - public com.google.protobuf.ByteString - getPhraseMatchersBytes(int index) { + public com.google.protobuf.ByteString getPhraseMatchersBytes(int index) { return phraseMatchers_.getByteString(index); } public static final int RUN_SENTIMENT_ANNOTATOR_FIELD_NUMBER = 5; private boolean runSentimentAnnotator_ = false; /** + * + * *
    * Whether to run the sentiment annotator.
    * 
* * bool run_sentiment_annotator = 5; + * * @return The runSentimentAnnotator. */ @java.lang.Override @@ -180,11 +222,14 @@ public boolean getRunSentimentAnnotator() { public static final int RUN_ENTITY_ANNOTATOR_FIELD_NUMBER = 6; private boolean runEntityAnnotator_ = false; /** + * + * *
    * Whether to run the entity annotator.
    * 
* * bool run_entity_annotator = 6; + * * @return The runEntityAnnotator. */ @java.lang.Override @@ -195,11 +240,14 @@ public boolean getRunEntityAnnotator() { public static final int RUN_INTENT_ANNOTATOR_FIELD_NUMBER = 7; private boolean runIntentAnnotator_ = false; /** + * + * *
    * Whether to run the intent annotator.
    * 
* * bool run_intent_annotator = 7; + * * @return The runIntentAnnotator. */ @java.lang.Override @@ -210,12 +258,15 @@ public boolean getRunIntentAnnotator() { public static final int RUN_ISSUE_MODEL_ANNOTATOR_FIELD_NUMBER = 8; private boolean runIssueModelAnnotator_ = false; /** + * + * *
    * Whether to run the issue model annotator. A model should have already been
    * deployed for this to take effect.
    * 
* * bool run_issue_model_annotator = 8; + * * @return The runIssueModelAnnotator. */ @java.lang.Override @@ -224,9 +275,12 @@ public boolean getRunIssueModelAnnotator() { } public static final int ISSUE_MODELS_FIELD_NUMBER = 10; + @SuppressWarnings("serial") private com.google.protobuf.LazyStringList issueModels_; /** + * + * *
    * The issue model to run. If not provided, the most recently deployed topic
    * model will be used. The provided issue model will only be used for
@@ -236,13 +290,15 @@ public boolean getRunIssueModelAnnotator() {
    * 
* * repeated string issue_models = 10 [(.google.api.resource_reference) = { ... } + * * @return A list containing the issueModels. */ - public com.google.protobuf.ProtocolStringList - getIssueModelsList() { + public com.google.protobuf.ProtocolStringList getIssueModelsList() { return issueModels_; } /** + * + * *
    * The issue model to run. If not provided, the most recently deployed topic
    * model will be used. The provided issue model will only be used for
@@ -252,12 +308,15 @@ public boolean getRunIssueModelAnnotator() {
    * 
* * repeated string issue_models = 10 [(.google.api.resource_reference) = { ... } + * * @return The count of issueModels. */ public int getIssueModelsCount() { return issueModels_.size(); } /** + * + * *
    * The issue model to run. If not provided, the most recently deployed topic
    * model will be used. The provided issue model will only be used for
@@ -267,6 +326,7 @@ public int getIssueModelsCount() {
    * 
* * repeated string issue_models = 10 [(.google.api.resource_reference) = { ... } + * * @param index The index of the element to return. * @return The issueModels at the given index. */ @@ -274,6 +334,8 @@ public java.lang.String getIssueModels(int index) { return issueModels_.get(index); } /** + * + * *
    * The issue model to run. If not provided, the most recently deployed topic
    * model will be used. The provided issue model will only be used for
@@ -283,15 +345,16 @@ public java.lang.String getIssueModels(int index) {
    * 
* * repeated string issue_models = 10 [(.google.api.resource_reference) = { ... } + * * @param index The index of the value to return. * @return The bytes of the issueModels at the given index. */ - public com.google.protobuf.ByteString - getIssueModelsBytes(int index) { + public com.google.protobuf.ByteString getIssueModelsBytes(int index) { return issueModels_.getByteString(index); } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -303,8 +366,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (runInterruptionAnnotator_ != false) { output.writeBool(1, runInterruptionAnnotator_); } @@ -342,16 +404,13 @@ public int getSerializedSize() { size = 0; if (runInterruptionAnnotator_ != false) { - size += com.google.protobuf.CodedOutputStream - .computeBoolSize(1, runInterruptionAnnotator_); + size += com.google.protobuf.CodedOutputStream.computeBoolSize(1, runInterruptionAnnotator_); } if (runSilenceAnnotator_ != false) { - size += com.google.protobuf.CodedOutputStream - .computeBoolSize(2, runSilenceAnnotator_); + size += com.google.protobuf.CodedOutputStream.computeBoolSize(2, runSilenceAnnotator_); } if (runPhraseMatcherAnnotator_ != false) { - size += com.google.protobuf.CodedOutputStream - .computeBoolSize(3, runPhraseMatcherAnnotator_); + size += com.google.protobuf.CodedOutputStream.computeBoolSize(3, runPhraseMatcherAnnotator_); } { int dataSize = 0; @@ -362,20 +421,16 @@ public int getSerializedSize() { size += 1 * getPhraseMatchersList().size(); } if (runSentimentAnnotator_ != false) { - size += com.google.protobuf.CodedOutputStream - .computeBoolSize(5, runSentimentAnnotator_); + size += com.google.protobuf.CodedOutputStream.computeBoolSize(5, runSentimentAnnotator_); } if (runEntityAnnotator_ != false) { - size += com.google.protobuf.CodedOutputStream - .computeBoolSize(6, runEntityAnnotator_); + size += com.google.protobuf.CodedOutputStream.computeBoolSize(6, runEntityAnnotator_); } if (runIntentAnnotator_ != false) { - size += com.google.protobuf.CodedOutputStream - .computeBoolSize(7, runIntentAnnotator_); + size += com.google.protobuf.CodedOutputStream.computeBoolSize(7, runIntentAnnotator_); } if (runIssueModelAnnotator_ != false) { - size += com.google.protobuf.CodedOutputStream - .computeBoolSize(8, runIssueModelAnnotator_); + size += com.google.protobuf.CodedOutputStream.computeBoolSize(8, runIssueModelAnnotator_); } { int dataSize = 0; @@ -393,31 +448,23 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.contactcenterinsights.v1.AnnotatorSelector)) { return super.equals(obj); } - com.google.cloud.contactcenterinsights.v1.AnnotatorSelector other = (com.google.cloud.contactcenterinsights.v1.AnnotatorSelector) obj; - - if (getRunInterruptionAnnotator() - != other.getRunInterruptionAnnotator()) return false; - if (getRunSilenceAnnotator() - != other.getRunSilenceAnnotator()) return false; - if (getRunPhraseMatcherAnnotator() - != other.getRunPhraseMatcherAnnotator()) return false; - if (!getPhraseMatchersList() - .equals(other.getPhraseMatchersList())) return false; - if (getRunSentimentAnnotator() - != other.getRunSentimentAnnotator()) return false; - if (getRunEntityAnnotator() - != other.getRunEntityAnnotator()) return false; - if (getRunIntentAnnotator() - != other.getRunIntentAnnotator()) return false; - if (getRunIssueModelAnnotator() - != other.getRunIssueModelAnnotator()) return false; - if (!getIssueModelsList() - .equals(other.getIssueModelsList())) return false; + com.google.cloud.contactcenterinsights.v1.AnnotatorSelector other = + (com.google.cloud.contactcenterinsights.v1.AnnotatorSelector) obj; + + if (getRunInterruptionAnnotator() != other.getRunInterruptionAnnotator()) return false; + if (getRunSilenceAnnotator() != other.getRunSilenceAnnotator()) return false; + if (getRunPhraseMatcherAnnotator() != other.getRunPhraseMatcherAnnotator()) return false; + if (!getPhraseMatchersList().equals(other.getPhraseMatchersList())) return false; + if (getRunSentimentAnnotator() != other.getRunSentimentAnnotator()) return false; + if (getRunEntityAnnotator() != other.getRunEntityAnnotator()) return false; + if (getRunIntentAnnotator() != other.getRunIntentAnnotator()) return false; + if (getRunIssueModelAnnotator() != other.getRunIssueModelAnnotator()) return false; + if (!getIssueModelsList().equals(other.getIssueModelsList())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -430,30 +477,23 @@ public int hashCode() { int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); hash = (37 * hash) + RUN_INTERRUPTION_ANNOTATOR_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( - getRunInterruptionAnnotator()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getRunInterruptionAnnotator()); hash = (37 * hash) + RUN_SILENCE_ANNOTATOR_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( - getRunSilenceAnnotator()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getRunSilenceAnnotator()); hash = (37 * hash) + RUN_PHRASE_MATCHER_ANNOTATOR_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( - getRunPhraseMatcherAnnotator()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getRunPhraseMatcherAnnotator()); if (getPhraseMatchersCount() > 0) { hash = (37 * hash) + PHRASE_MATCHERS_FIELD_NUMBER; hash = (53 * hash) + getPhraseMatchersList().hashCode(); } hash = (37 * hash) + RUN_SENTIMENT_ANNOTATOR_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( - getRunSentimentAnnotator()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getRunSentimentAnnotator()); hash = (37 * hash) + RUN_ENTITY_ANNOTATOR_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( - getRunEntityAnnotator()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getRunEntityAnnotator()); hash = (37 * hash) + RUN_INTENT_ANNOTATOR_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( - getRunIntentAnnotator()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getRunIntentAnnotator()); hash = (37 * hash) + RUN_ISSUE_MODEL_ANNOTATOR_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( - getRunIssueModelAnnotator()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getRunIssueModelAnnotator()); if (getIssueModelsCount() > 0) { hash = (37 * hash) + ISSUE_MODELS_FIELD_NUMBER; hash = (53 * hash) + getIssueModelsList().hashCode(); @@ -464,129 +504,136 @@ public int hashCode() { } public static com.google.cloud.contactcenterinsights.v1.AnnotatorSelector parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.contactcenterinsights.v1.AnnotatorSelector parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.contactcenterinsights.v1.AnnotatorSelector parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.contactcenterinsights.v1.AnnotatorSelector parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.contactcenterinsights.v1.AnnotatorSelector parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.contactcenterinsights.v1.AnnotatorSelector parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.contactcenterinsights.v1.AnnotatorSelector parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.contactcenterinsights.v1.AnnotatorSelector parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.contactcenterinsights.v1.AnnotatorSelector parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.contactcenterinsights.v1.AnnotatorSelector parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.contactcenterinsights.v1.AnnotatorSelector parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.contactcenterinsights.v1.AnnotatorSelector parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.contactcenterinsights.v1.AnnotatorSelector parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.contactcenterinsights.v1.AnnotatorSelector parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.contactcenterinsights.v1.AnnotatorSelector prototype) { + + public static Builder newBuilder( + com.google.cloud.contactcenterinsights.v1.AnnotatorSelector prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Selector of all available annotators and phrase matchers to run.
    * 
* * Protobuf type {@code google.cloud.contactcenterinsights.v1.AnnotatorSelector} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.contactcenterinsights.v1.AnnotatorSelector) com.google.cloud.contactcenterinsights.v1.AnnotatorSelectorOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.contactcenterinsights.v1.ResourcesProto.internal_static_google_cloud_contactcenterinsights_v1_AnnotatorSelector_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.contactcenterinsights.v1.ResourcesProto + .internal_static_google_cloud_contactcenterinsights_v1_AnnotatorSelector_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.contactcenterinsights.v1.ResourcesProto.internal_static_google_cloud_contactcenterinsights_v1_AnnotatorSelector_fieldAccessorTable + return com.google.cloud.contactcenterinsights.v1.ResourcesProto + .internal_static_google_cloud_contactcenterinsights_v1_AnnotatorSelector_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.contactcenterinsights.v1.AnnotatorSelector.class, com.google.cloud.contactcenterinsights.v1.AnnotatorSelector.Builder.class); + com.google.cloud.contactcenterinsights.v1.AnnotatorSelector.class, + com.google.cloud.contactcenterinsights.v1.AnnotatorSelector.Builder.class); } // Construct using com.google.cloud.contactcenterinsights.v1.AnnotatorSelector.newBuilder() - private Builder() { - - } + private Builder() {} - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -606,9 +653,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.contactcenterinsights.v1.ResourcesProto.internal_static_google_cloud_contactcenterinsights_v1_AnnotatorSelector_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.contactcenterinsights.v1.ResourcesProto + .internal_static_google_cloud_contactcenterinsights_v1_AnnotatorSelector_descriptor; } @java.lang.Override @@ -627,14 +674,18 @@ public com.google.cloud.contactcenterinsights.v1.AnnotatorSelector build() { @java.lang.Override public com.google.cloud.contactcenterinsights.v1.AnnotatorSelector buildPartial() { - com.google.cloud.contactcenterinsights.v1.AnnotatorSelector result = new com.google.cloud.contactcenterinsights.v1.AnnotatorSelector(this); + com.google.cloud.contactcenterinsights.v1.AnnotatorSelector result = + new com.google.cloud.contactcenterinsights.v1.AnnotatorSelector(this); buildPartialRepeatedFields(result); - if (bitField0_ != 0) { buildPartial0(result); } + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } - private void buildPartialRepeatedFields(com.google.cloud.contactcenterinsights.v1.AnnotatorSelector result) { + private void buildPartialRepeatedFields( + com.google.cloud.contactcenterinsights.v1.AnnotatorSelector result) { if (((bitField0_ & 0x00000008) != 0)) { phraseMatchers_ = phraseMatchers_.getUnmodifiableView(); bitField0_ = (bitField0_ & ~0x00000008); @@ -676,38 +727,39 @@ private void buildPartial0(com.google.cloud.contactcenterinsights.v1.AnnotatorSe public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.contactcenterinsights.v1.AnnotatorSelector) { - return mergeFrom((com.google.cloud.contactcenterinsights.v1.AnnotatorSelector)other); + return mergeFrom((com.google.cloud.contactcenterinsights.v1.AnnotatorSelector) other); } else { super.mergeFrom(other); return this; @@ -715,7 +767,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.contactcenterinsights.v1.AnnotatorSelector other) { - if (other == com.google.cloud.contactcenterinsights.v1.AnnotatorSelector.getDefaultInstance()) return this; + if (other == com.google.cloud.contactcenterinsights.v1.AnnotatorSelector.getDefaultInstance()) + return this; if (other.getRunInterruptionAnnotator() != false) { setRunInterruptionAnnotator(other.getRunInterruptionAnnotator()); } @@ -783,59 +836,69 @@ public Builder mergeFrom( case 0: done = true; break; - case 8: { - runInterruptionAnnotator_ = input.readBool(); - bitField0_ |= 0x00000001; - break; - } // case 8 - case 16: { - runSilenceAnnotator_ = input.readBool(); - bitField0_ |= 0x00000002; - break; - } // case 16 - case 24: { - runPhraseMatcherAnnotator_ = input.readBool(); - bitField0_ |= 0x00000004; - break; - } // case 24 - case 34: { - java.lang.String s = input.readStringRequireUtf8(); - ensurePhraseMatchersIsMutable(); - phraseMatchers_.add(s); - break; - } // case 34 - case 40: { - runSentimentAnnotator_ = input.readBool(); - bitField0_ |= 0x00000010; - break; - } // case 40 - case 48: { - runEntityAnnotator_ = input.readBool(); - bitField0_ |= 0x00000020; - break; - } // case 48 - case 56: { - runIntentAnnotator_ = input.readBool(); - bitField0_ |= 0x00000040; - break; - } // case 56 - case 64: { - runIssueModelAnnotator_ = input.readBool(); - bitField0_ |= 0x00000080; - break; - } // case 64 - case 82: { - java.lang.String s = input.readStringRequireUtf8(); - ensureIssueModelsIsMutable(); - issueModels_.add(s); - break; - } // case 82 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 8: + { + runInterruptionAnnotator_ = input.readBool(); + bitField0_ |= 0x00000001; + break; + } // case 8 + case 16: + { + runSilenceAnnotator_ = input.readBool(); + bitField0_ |= 0x00000002; + break; + } // case 16 + case 24: + { + runPhraseMatcherAnnotator_ = input.readBool(); + bitField0_ |= 0x00000004; + break; + } // case 24 + case 34: + { + java.lang.String s = input.readStringRequireUtf8(); + ensurePhraseMatchersIsMutable(); + phraseMatchers_.add(s); + break; + } // case 34 + case 40: + { + runSentimentAnnotator_ = input.readBool(); + bitField0_ |= 0x00000010; + break; + } // case 40 + case 48: + { + runEntityAnnotator_ = input.readBool(); + bitField0_ |= 0x00000020; + break; + } // case 48 + case 56: + { + runIntentAnnotator_ = input.readBool(); + bitField0_ |= 0x00000040; + break; + } // case 56 + case 64: + { + runIssueModelAnnotator_ = input.readBool(); + bitField0_ |= 0x00000080; + break; + } // case 64 + case 82: + { + java.lang.String s = input.readStringRequireUtf8(); + ensureIssueModelsIsMutable(); + issueModels_.add(s); + break; + } // case 82 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -845,15 +908,19 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; - private boolean runInterruptionAnnotator_ ; + private boolean runInterruptionAnnotator_; /** + * + * *
      * Whether to run the interruption annotator.
      * 
* * bool run_interruption_annotator = 1; + * * @return The runInterruptionAnnotator. */ @java.lang.Override @@ -861,27 +928,33 @@ public boolean getRunInterruptionAnnotator() { return runInterruptionAnnotator_; } /** + * + * *
      * Whether to run the interruption annotator.
      * 
* * bool run_interruption_annotator = 1; + * * @param value The runInterruptionAnnotator to set. * @return This builder for chaining. */ public Builder setRunInterruptionAnnotator(boolean value) { - + runInterruptionAnnotator_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
      * Whether to run the interruption annotator.
      * 
* * bool run_interruption_annotator = 1; + * * @return This builder for chaining. */ public Builder clearRunInterruptionAnnotator() { @@ -891,13 +964,16 @@ public Builder clearRunInterruptionAnnotator() { return this; } - private boolean runSilenceAnnotator_ ; + private boolean runSilenceAnnotator_; /** + * + * *
      * Whether to run the silence annotator.
      * 
* * bool run_silence_annotator = 2; + * * @return The runSilenceAnnotator. */ @java.lang.Override @@ -905,27 +981,33 @@ public boolean getRunSilenceAnnotator() { return runSilenceAnnotator_; } /** + * + * *
      * Whether to run the silence annotator.
      * 
* * bool run_silence_annotator = 2; + * * @param value The runSilenceAnnotator to set. * @return This builder for chaining. */ public Builder setRunSilenceAnnotator(boolean value) { - + runSilenceAnnotator_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** + * + * *
      * Whether to run the silence annotator.
      * 
* * bool run_silence_annotator = 2; + * * @return This builder for chaining. */ public Builder clearRunSilenceAnnotator() { @@ -935,13 +1017,16 @@ public Builder clearRunSilenceAnnotator() { return this; } - private boolean runPhraseMatcherAnnotator_ ; + private boolean runPhraseMatcherAnnotator_; /** + * + * *
      * Whether to run the active phrase matcher annotator(s).
      * 
* * bool run_phrase_matcher_annotator = 3; + * * @return The runPhraseMatcherAnnotator. */ @java.lang.Override @@ -949,27 +1034,33 @@ public boolean getRunPhraseMatcherAnnotator() { return runPhraseMatcherAnnotator_; } /** + * + * *
      * Whether to run the active phrase matcher annotator(s).
      * 
* * bool run_phrase_matcher_annotator = 3; + * * @param value The runPhraseMatcherAnnotator to set. * @return This builder for chaining. */ public Builder setRunPhraseMatcherAnnotator(boolean value) { - + runPhraseMatcherAnnotator_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } /** + * + * *
      * Whether to run the active phrase matcher annotator(s).
      * 
* * bool run_phrase_matcher_annotator = 3; + * * @return This builder for chaining. */ public Builder clearRunPhraseMatcherAnnotator() { @@ -979,14 +1070,18 @@ public Builder clearRunPhraseMatcherAnnotator() { return this; } - private com.google.protobuf.LazyStringList phraseMatchers_ = com.google.protobuf.LazyStringArrayList.EMPTY; + private com.google.protobuf.LazyStringList phraseMatchers_ = + com.google.protobuf.LazyStringArrayList.EMPTY; + private void ensurePhraseMatchersIsMutable() { if (!((bitField0_ & 0x00000008) != 0)) { phraseMatchers_ = new com.google.protobuf.LazyStringArrayList(phraseMatchers_); bitField0_ |= 0x00000008; - } + } } /** + * + * *
      * The list of phrase matchers to run. If not provided, all active phrase
      * matchers will be used. If inactive phrase matchers are provided, they will
@@ -996,13 +1091,15 @@ private void ensurePhraseMatchersIsMutable() {
      * 
* * repeated string phrase_matchers = 4 [(.google.api.resource_reference) = { ... } + * * @return A list containing the phraseMatchers. */ - public com.google.protobuf.ProtocolStringList - getPhraseMatchersList() { + public com.google.protobuf.ProtocolStringList getPhraseMatchersList() { return phraseMatchers_.getUnmodifiableView(); } /** + * + * *
      * The list of phrase matchers to run. If not provided, all active phrase
      * matchers will be used. If inactive phrase matchers are provided, they will
@@ -1012,12 +1109,15 @@ private void ensurePhraseMatchersIsMutable() {
      * 
* * repeated string phrase_matchers = 4 [(.google.api.resource_reference) = { ... } + * * @return The count of phraseMatchers. */ public int getPhraseMatchersCount() { return phraseMatchers_.size(); } /** + * + * *
      * The list of phrase matchers to run. If not provided, all active phrase
      * matchers will be used. If inactive phrase matchers are provided, they will
@@ -1027,6 +1127,7 @@ public int getPhraseMatchersCount() {
      * 
* * repeated string phrase_matchers = 4 [(.google.api.resource_reference) = { ... } + * * @param index The index of the element to return. * @return The phraseMatchers at the given index. */ @@ -1034,6 +1135,8 @@ public java.lang.String getPhraseMatchers(int index) { return phraseMatchers_.get(index); } /** + * + * *
      * The list of phrase matchers to run. If not provided, all active phrase
      * matchers will be used. If inactive phrase matchers are provided, they will
@@ -1043,14 +1146,16 @@ public java.lang.String getPhraseMatchers(int index) {
      * 
* * repeated string phrase_matchers = 4 [(.google.api.resource_reference) = { ... } + * * @param index The index of the value to return. * @return The bytes of the phraseMatchers at the given index. */ - public com.google.protobuf.ByteString - getPhraseMatchersBytes(int index) { + public com.google.protobuf.ByteString getPhraseMatchersBytes(int index) { return phraseMatchers_.getByteString(index); } /** + * + * *
      * The list of phrase matchers to run. If not provided, all active phrase
      * matchers will be used. If inactive phrase matchers are provided, they will
@@ -1060,19 +1165,23 @@ public java.lang.String getPhraseMatchers(int index) {
      * 
* * repeated string phrase_matchers = 4 [(.google.api.resource_reference) = { ... } + * * @param index The index to set the value at. * @param value The phraseMatchers to set. * @return This builder for chaining. */ - public Builder setPhraseMatchers( - int index, java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setPhraseMatchers(int index, java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } ensurePhraseMatchersIsMutable(); phraseMatchers_.set(index, value); onChanged(); return this; } /** + * + * *
      * The list of phrase matchers to run. If not provided, all active phrase
      * matchers will be used. If inactive phrase matchers are provided, they will
@@ -1082,18 +1191,22 @@ public Builder setPhraseMatchers(
      * 
* * repeated string phrase_matchers = 4 [(.google.api.resource_reference) = { ... } + * * @param value The phraseMatchers to add. * @return This builder for chaining. */ - public Builder addPhraseMatchers( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder addPhraseMatchers(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } ensurePhraseMatchersIsMutable(); phraseMatchers_.add(value); onChanged(); return this; } /** + * + * *
      * The list of phrase matchers to run. If not provided, all active phrase
      * matchers will be used. If inactive phrase matchers are provided, they will
@@ -1103,18 +1216,19 @@ public Builder addPhraseMatchers(
      * 
* * repeated string phrase_matchers = 4 [(.google.api.resource_reference) = { ... } + * * @param values The phraseMatchers to add. * @return This builder for chaining. */ - public Builder addAllPhraseMatchers( - java.lang.Iterable values) { + public Builder addAllPhraseMatchers(java.lang.Iterable values) { ensurePhraseMatchersIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, phraseMatchers_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, phraseMatchers_); onChanged(); return this; } /** + * + * *
      * The list of phrase matchers to run. If not provided, all active phrase
      * matchers will be used. If inactive phrase matchers are provided, they will
@@ -1124,6 +1238,7 @@ public Builder addAllPhraseMatchers(
      * 
* * repeated string phrase_matchers = 4 [(.google.api.resource_reference) = { ... } + * * @return This builder for chaining. */ public Builder clearPhraseMatchers() { @@ -1133,6 +1248,8 @@ public Builder clearPhraseMatchers() { return this; } /** + * + * *
      * The list of phrase matchers to run. If not provided, all active phrase
      * matchers will be used. If inactive phrase matchers are provided, they will
@@ -1142,12 +1259,14 @@ public Builder clearPhraseMatchers() {
      * 
* * repeated string phrase_matchers = 4 [(.google.api.resource_reference) = { ... } + * * @param value The bytes of the phraseMatchers to add. * @return This builder for chaining. */ - public Builder addPhraseMatchersBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder addPhraseMatchersBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); ensurePhraseMatchersIsMutable(); phraseMatchers_.add(value); @@ -1155,13 +1274,16 @@ public Builder addPhraseMatchersBytes( return this; } - private boolean runSentimentAnnotator_ ; + private boolean runSentimentAnnotator_; /** + * + * *
      * Whether to run the sentiment annotator.
      * 
* * bool run_sentiment_annotator = 5; + * * @return The runSentimentAnnotator. */ @java.lang.Override @@ -1169,27 +1291,33 @@ public boolean getRunSentimentAnnotator() { return runSentimentAnnotator_; } /** + * + * *
      * Whether to run the sentiment annotator.
      * 
* * bool run_sentiment_annotator = 5; + * * @param value The runSentimentAnnotator to set. * @return This builder for chaining. */ public Builder setRunSentimentAnnotator(boolean value) { - + runSentimentAnnotator_ = value; bitField0_ |= 0x00000010; onChanged(); return this; } /** + * + * *
      * Whether to run the sentiment annotator.
      * 
* * bool run_sentiment_annotator = 5; + * * @return This builder for chaining. */ public Builder clearRunSentimentAnnotator() { @@ -1199,13 +1327,16 @@ public Builder clearRunSentimentAnnotator() { return this; } - private boolean runEntityAnnotator_ ; + private boolean runEntityAnnotator_; /** + * + * *
      * Whether to run the entity annotator.
      * 
* * bool run_entity_annotator = 6; + * * @return The runEntityAnnotator. */ @java.lang.Override @@ -1213,27 +1344,33 @@ public boolean getRunEntityAnnotator() { return runEntityAnnotator_; } /** + * + * *
      * Whether to run the entity annotator.
      * 
* * bool run_entity_annotator = 6; + * * @param value The runEntityAnnotator to set. * @return This builder for chaining. */ public Builder setRunEntityAnnotator(boolean value) { - + runEntityAnnotator_ = value; bitField0_ |= 0x00000020; onChanged(); return this; } /** + * + * *
      * Whether to run the entity annotator.
      * 
* * bool run_entity_annotator = 6; + * * @return This builder for chaining. */ public Builder clearRunEntityAnnotator() { @@ -1243,13 +1380,16 @@ public Builder clearRunEntityAnnotator() { return this; } - private boolean runIntentAnnotator_ ; + private boolean runIntentAnnotator_; /** + * + * *
      * Whether to run the intent annotator.
      * 
* * bool run_intent_annotator = 7; + * * @return The runIntentAnnotator. */ @java.lang.Override @@ -1257,27 +1397,33 @@ public boolean getRunIntentAnnotator() { return runIntentAnnotator_; } /** + * + * *
      * Whether to run the intent annotator.
      * 
* * bool run_intent_annotator = 7; + * * @param value The runIntentAnnotator to set. * @return This builder for chaining. */ public Builder setRunIntentAnnotator(boolean value) { - + runIntentAnnotator_ = value; bitField0_ |= 0x00000040; onChanged(); return this; } /** + * + * *
      * Whether to run the intent annotator.
      * 
* * bool run_intent_annotator = 7; + * * @return This builder for chaining. */ public Builder clearRunIntentAnnotator() { @@ -1287,14 +1433,17 @@ public Builder clearRunIntentAnnotator() { return this; } - private boolean runIssueModelAnnotator_ ; + private boolean runIssueModelAnnotator_; /** + * + * *
      * Whether to run the issue model annotator. A model should have already been
      * deployed for this to take effect.
      * 
* * bool run_issue_model_annotator = 8; + * * @return The runIssueModelAnnotator. */ @java.lang.Override @@ -1302,29 +1451,35 @@ public boolean getRunIssueModelAnnotator() { return runIssueModelAnnotator_; } /** + * + * *
      * Whether to run the issue model annotator. A model should have already been
      * deployed for this to take effect.
      * 
* * bool run_issue_model_annotator = 8; + * * @param value The runIssueModelAnnotator to set. * @return This builder for chaining. */ public Builder setRunIssueModelAnnotator(boolean value) { - + runIssueModelAnnotator_ = value; bitField0_ |= 0x00000080; onChanged(); return this; } /** + * + * *
      * Whether to run the issue model annotator. A model should have already been
      * deployed for this to take effect.
      * 
* * bool run_issue_model_annotator = 8; + * * @return This builder for chaining. */ public Builder clearRunIssueModelAnnotator() { @@ -1334,14 +1489,18 @@ public Builder clearRunIssueModelAnnotator() { return this; } - private com.google.protobuf.LazyStringList issueModels_ = com.google.protobuf.LazyStringArrayList.EMPTY; + private com.google.protobuf.LazyStringList issueModels_ = + com.google.protobuf.LazyStringArrayList.EMPTY; + private void ensureIssueModelsIsMutable() { if (!((bitField0_ & 0x00000100) != 0)) { issueModels_ = new com.google.protobuf.LazyStringArrayList(issueModels_); bitField0_ |= 0x00000100; - } + } } /** + * + * *
      * The issue model to run. If not provided, the most recently deployed topic
      * model will be used. The provided issue model will only be used for
@@ -1351,13 +1510,15 @@ private void ensureIssueModelsIsMutable() {
      * 
* * repeated string issue_models = 10 [(.google.api.resource_reference) = { ... } + * * @return A list containing the issueModels. */ - public com.google.protobuf.ProtocolStringList - getIssueModelsList() { + public com.google.protobuf.ProtocolStringList getIssueModelsList() { return issueModels_.getUnmodifiableView(); } /** + * + * *
      * The issue model to run. If not provided, the most recently deployed topic
      * model will be used. The provided issue model will only be used for
@@ -1367,12 +1528,15 @@ private void ensureIssueModelsIsMutable() {
      * 
* * repeated string issue_models = 10 [(.google.api.resource_reference) = { ... } + * * @return The count of issueModels. */ public int getIssueModelsCount() { return issueModels_.size(); } /** + * + * *
      * The issue model to run. If not provided, the most recently deployed topic
      * model will be used. The provided issue model will only be used for
@@ -1382,6 +1546,7 @@ public int getIssueModelsCount() {
      * 
* * repeated string issue_models = 10 [(.google.api.resource_reference) = { ... } + * * @param index The index of the element to return. * @return The issueModels at the given index. */ @@ -1389,6 +1554,8 @@ public java.lang.String getIssueModels(int index) { return issueModels_.get(index); } /** + * + * *
      * The issue model to run. If not provided, the most recently deployed topic
      * model will be used. The provided issue model will only be used for
@@ -1398,14 +1565,16 @@ public java.lang.String getIssueModels(int index) {
      * 
* * repeated string issue_models = 10 [(.google.api.resource_reference) = { ... } + * * @param index The index of the value to return. * @return The bytes of the issueModels at the given index. */ - public com.google.protobuf.ByteString - getIssueModelsBytes(int index) { + public com.google.protobuf.ByteString getIssueModelsBytes(int index) { return issueModels_.getByteString(index); } /** + * + * *
      * The issue model to run. If not provided, the most recently deployed topic
      * model will be used. The provided issue model will only be used for
@@ -1415,19 +1584,23 @@ public java.lang.String getIssueModels(int index) {
      * 
* * repeated string issue_models = 10 [(.google.api.resource_reference) = { ... } + * * @param index The index to set the value at. * @param value The issueModels to set. * @return This builder for chaining. */ - public Builder setIssueModels( - int index, java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setIssueModels(int index, java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } ensureIssueModelsIsMutable(); issueModels_.set(index, value); onChanged(); return this; } /** + * + * *
      * The issue model to run. If not provided, the most recently deployed topic
      * model will be used. The provided issue model will only be used for
@@ -1437,18 +1610,22 @@ public Builder setIssueModels(
      * 
* * repeated string issue_models = 10 [(.google.api.resource_reference) = { ... } + * * @param value The issueModels to add. * @return This builder for chaining. */ - public Builder addIssueModels( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder addIssueModels(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } ensureIssueModelsIsMutable(); issueModels_.add(value); onChanged(); return this; } /** + * + * *
      * The issue model to run. If not provided, the most recently deployed topic
      * model will be used. The provided issue model will only be used for
@@ -1458,18 +1635,19 @@ public Builder addIssueModels(
      * 
* * repeated string issue_models = 10 [(.google.api.resource_reference) = { ... } + * * @param values The issueModels to add. * @return This builder for chaining. */ - public Builder addAllIssueModels( - java.lang.Iterable values) { + public Builder addAllIssueModels(java.lang.Iterable values) { ensureIssueModelsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, issueModels_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, issueModels_); onChanged(); return this; } /** + * + * *
      * The issue model to run. If not provided, the most recently deployed topic
      * model will be used. The provided issue model will only be used for
@@ -1479,6 +1657,7 @@ public Builder addAllIssueModels(
      * 
* * repeated string issue_models = 10 [(.google.api.resource_reference) = { ... } + * * @return This builder for chaining. */ public Builder clearIssueModels() { @@ -1488,6 +1667,8 @@ public Builder clearIssueModels() { return this; } /** + * + * *
      * The issue model to run. If not provided, the most recently deployed topic
      * model will be used. The provided issue model will only be used for
@@ -1497,21 +1678,23 @@ public Builder clearIssueModels() {
      * 
* * repeated string issue_models = 10 [(.google.api.resource_reference) = { ... } + * * @param value The bytes of the issueModels to add. * @return This builder for chaining. */ - public Builder addIssueModelsBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder addIssueModelsBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); ensureIssueModelsIsMutable(); issueModels_.add(value); onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1521,12 +1704,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.contactcenterinsights.v1.AnnotatorSelector) } // @@protoc_insertion_point(class_scope:google.cloud.contactcenterinsights.v1.AnnotatorSelector) private static final com.google.cloud.contactcenterinsights.v1.AnnotatorSelector DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.contactcenterinsights.v1.AnnotatorSelector(); } @@ -1535,27 +1718,27 @@ public static com.google.cloud.contactcenterinsights.v1.AnnotatorSelector getDef return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public AnnotatorSelector parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public AnnotatorSelector parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1570,6 +1753,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.contactcenterinsights.v1.AnnotatorSelector getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/AnnotatorSelectorOrBuilder.java b/java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/AnnotatorSelectorOrBuilder.java similarity index 85% rename from owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/AnnotatorSelectorOrBuilder.java rename to java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/AnnotatorSelectorOrBuilder.java index 4e8a8bc98608..cbe804deaf12 100644 --- a/owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/AnnotatorSelectorOrBuilder.java +++ b/java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/AnnotatorSelectorOrBuilder.java @@ -1,43 +1,70 @@ +/* + * 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. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/contactcenterinsights/v1/resources.proto package com.google.cloud.contactcenterinsights.v1; -public interface AnnotatorSelectorOrBuilder extends +public interface AnnotatorSelectorOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.contactcenterinsights.v1.AnnotatorSelector) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Whether to run the interruption annotator.
    * 
* * bool run_interruption_annotator = 1; + * * @return The runInterruptionAnnotator. */ boolean getRunInterruptionAnnotator(); /** + * + * *
    * Whether to run the silence annotator.
    * 
* * bool run_silence_annotator = 2; + * * @return The runSilenceAnnotator. */ boolean getRunSilenceAnnotator(); /** + * + * *
    * Whether to run the active phrase matcher annotator(s).
    * 
* * bool run_phrase_matcher_annotator = 3; + * * @return The runPhraseMatcherAnnotator. */ boolean getRunPhraseMatcherAnnotator(); /** + * + * *
    * The list of phrase matchers to run. If not provided, all active phrase
    * matchers will be used. If inactive phrase matchers are provided, they will
@@ -47,11 +74,13 @@ public interface AnnotatorSelectorOrBuilder extends
    * 
* * repeated string phrase_matchers = 4 [(.google.api.resource_reference) = { ... } + * * @return A list containing the phraseMatchers. */ - java.util.List - getPhraseMatchersList(); + java.util.List getPhraseMatchersList(); /** + * + * *
    * The list of phrase matchers to run. If not provided, all active phrase
    * matchers will be used. If inactive phrase matchers are provided, they will
@@ -61,10 +90,13 @@ public interface AnnotatorSelectorOrBuilder extends
    * 
* * repeated string phrase_matchers = 4 [(.google.api.resource_reference) = { ... } + * * @return The count of phraseMatchers. */ int getPhraseMatchersCount(); /** + * + * *
    * The list of phrase matchers to run. If not provided, all active phrase
    * matchers will be used. If inactive phrase matchers are provided, they will
@@ -74,11 +106,14 @@ public interface AnnotatorSelectorOrBuilder extends
    * 
* * repeated string phrase_matchers = 4 [(.google.api.resource_reference) = { ... } + * * @param index The index of the element to return. * @return The phraseMatchers at the given index. */ java.lang.String getPhraseMatchers(int index); /** + * + * *
    * The list of phrase matchers to run. If not provided, all active phrase
    * matchers will be used. If inactive phrase matchers are provided, they will
@@ -88,54 +123,68 @@ public interface AnnotatorSelectorOrBuilder extends
    * 
* * repeated string phrase_matchers = 4 [(.google.api.resource_reference) = { ... } + * * @param index The index of the value to return. * @return The bytes of the phraseMatchers at the given index. */ - com.google.protobuf.ByteString - getPhraseMatchersBytes(int index); + com.google.protobuf.ByteString getPhraseMatchersBytes(int index); /** + * + * *
    * Whether to run the sentiment annotator.
    * 
* * bool run_sentiment_annotator = 5; + * * @return The runSentimentAnnotator. */ boolean getRunSentimentAnnotator(); /** + * + * *
    * Whether to run the entity annotator.
    * 
* * bool run_entity_annotator = 6; + * * @return The runEntityAnnotator. */ boolean getRunEntityAnnotator(); /** + * + * *
    * Whether to run the intent annotator.
    * 
* * bool run_intent_annotator = 7; + * * @return The runIntentAnnotator. */ boolean getRunIntentAnnotator(); /** + * + * *
    * Whether to run the issue model annotator. A model should have already been
    * deployed for this to take effect.
    * 
* * bool run_issue_model_annotator = 8; + * * @return The runIssueModelAnnotator. */ boolean getRunIssueModelAnnotator(); /** + * + * *
    * The issue model to run. If not provided, the most recently deployed topic
    * model will be used. The provided issue model will only be used for
@@ -145,11 +194,13 @@ public interface AnnotatorSelectorOrBuilder extends
    * 
* * repeated string issue_models = 10 [(.google.api.resource_reference) = { ... } + * * @return A list containing the issueModels. */ - java.util.List - getIssueModelsList(); + java.util.List getIssueModelsList(); /** + * + * *
    * The issue model to run. If not provided, the most recently deployed topic
    * model will be used. The provided issue model will only be used for
@@ -159,10 +210,13 @@ public interface AnnotatorSelectorOrBuilder extends
    * 
* * repeated string issue_models = 10 [(.google.api.resource_reference) = { ... } + * * @return The count of issueModels. */ int getIssueModelsCount(); /** + * + * *
    * The issue model to run. If not provided, the most recently deployed topic
    * model will be used. The provided issue model will only be used for
@@ -172,11 +226,14 @@ public interface AnnotatorSelectorOrBuilder extends
    * 
* * repeated string issue_models = 10 [(.google.api.resource_reference) = { ... } + * * @param index The index of the element to return. * @return The issueModels at the given index. */ java.lang.String getIssueModels(int index); /** + * + * *
    * The issue model to run. If not provided, the most recently deployed topic
    * model will be used. The provided issue model will only be used for
@@ -186,9 +243,9 @@ public interface AnnotatorSelectorOrBuilder extends
    * 
* * repeated string issue_models = 10 [(.google.api.resource_reference) = { ... } + * * @param index The index of the value to return. * @return The bytes of the issueModels at the given index. */ - com.google.protobuf.ByteString - getIssueModelsBytes(int index); + com.google.protobuf.ByteString getIssueModelsBytes(int index); } diff --git a/owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/AnswerFeedback.java b/java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/AnswerFeedback.java similarity index 66% rename from owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/AnswerFeedback.java rename to java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/AnswerFeedback.java index 192b10835c44..a13cac63012e 100644 --- a/owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/AnswerFeedback.java +++ b/java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/AnswerFeedback.java @@ -1,9 +1,26 @@ +/* + * 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. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/contactcenterinsights/v1/resources.proto package com.google.cloud.contactcenterinsights.v1; /** + * + * *
  * The feedback that the customer has about a certain answer in the
  * conversation.
@@ -11,54 +28,59 @@
  *
  * Protobuf type {@code google.cloud.contactcenterinsights.v1.AnswerFeedback}
  */
-public final class AnswerFeedback extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class AnswerFeedback extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.cloud.contactcenterinsights.v1.AnswerFeedback)
     AnswerFeedbackOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use AnswerFeedback.newBuilder() to construct.
   private AnswerFeedback(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
+
   private AnswerFeedback() {
     correctnessLevel_ = 0;
   }
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new AnswerFeedback();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet
-  getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
     return this.unknownFields;
   }
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.cloud.contactcenterinsights.v1.ResourcesProto.internal_static_google_cloud_contactcenterinsights_v1_AnswerFeedback_descriptor;
+
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.cloud.contactcenterinsights.v1.ResourcesProto
+        .internal_static_google_cloud_contactcenterinsights_v1_AnswerFeedback_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.contactcenterinsights.v1.ResourcesProto.internal_static_google_cloud_contactcenterinsights_v1_AnswerFeedback_fieldAccessorTable
+    return com.google.cloud.contactcenterinsights.v1.ResourcesProto
+        .internal_static_google_cloud_contactcenterinsights_v1_AnswerFeedback_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.contactcenterinsights.v1.AnswerFeedback.class, com.google.cloud.contactcenterinsights.v1.AnswerFeedback.Builder.class);
+            com.google.cloud.contactcenterinsights.v1.AnswerFeedback.class,
+            com.google.cloud.contactcenterinsights.v1.AnswerFeedback.Builder.class);
   }
 
   /**
+   *
+   *
    * 
    * The correctness level of an answer.
    * 
* * Protobuf enum {@code google.cloud.contactcenterinsights.v1.AnswerFeedback.CorrectnessLevel} */ - public enum CorrectnessLevel - implements com.google.protobuf.ProtocolMessageEnum { + public enum CorrectnessLevel implements com.google.protobuf.ProtocolMessageEnum { /** + * + * *
      * Correctness level unspecified.
      * 
@@ -67,6 +89,8 @@ public enum CorrectnessLevel */ CORRECTNESS_LEVEL_UNSPECIFIED(0), /** + * + * *
      * Answer is totally wrong.
      * 
@@ -75,6 +99,8 @@ public enum CorrectnessLevel */ NOT_CORRECT(1), /** + * + * *
      * Answer is partially correct.
      * 
@@ -83,6 +109,8 @@ public enum CorrectnessLevel */ PARTIALLY_CORRECT(2), /** + * + * *
      * Answer is fully correct.
      * 
@@ -94,6 +122,8 @@ public enum CorrectnessLevel ; /** + * + * *
      * Correctness level unspecified.
      * 
@@ -102,6 +132,8 @@ public enum CorrectnessLevel */ public static final int CORRECTNESS_LEVEL_UNSPECIFIED_VALUE = 0; /** + * + * *
      * Answer is totally wrong.
      * 
@@ -110,6 +142,8 @@ public enum CorrectnessLevel */ public static final int NOT_CORRECT_VALUE = 1; /** + * + * *
      * Answer is partially correct.
      * 
@@ -118,6 +152,8 @@ public enum CorrectnessLevel */ public static final int PARTIALLY_CORRECT_VALUE = 2; /** + * + * *
      * Answer is fully correct.
      * 
@@ -126,7 +162,6 @@ public enum CorrectnessLevel */ public static final int FULLY_CORRECT_VALUE = 3; - public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -151,41 +186,47 @@ public static CorrectnessLevel valueOf(int value) { */ public static CorrectnessLevel forNumber(int value) { switch (value) { - case 0: return CORRECTNESS_LEVEL_UNSPECIFIED; - case 1: return NOT_CORRECT; - case 2: return PARTIALLY_CORRECT; - case 3: return FULLY_CORRECT; - default: return null; + case 0: + return CORRECTNESS_LEVEL_UNSPECIFIED; + case 1: + return NOT_CORRECT; + case 2: + return PARTIALLY_CORRECT; + case 3: + return FULLY_CORRECT; + default: + return null; } } - public static com.google.protobuf.Internal.EnumLiteMap - internalGetValueMap() { + public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() { return internalValueMap; } - private static final com.google.protobuf.Internal.EnumLiteMap< - CorrectnessLevel> internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public CorrectnessLevel findValueByNumber(int number) { - return CorrectnessLevel.forNumber(number); - } - }; - public final com.google.protobuf.Descriptors.EnumValueDescriptor - getValueDescriptor() { + private static final com.google.protobuf.Internal.EnumLiteMap + internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public CorrectnessLevel findValueByNumber(int number) { + return CorrectnessLevel.forNumber(number); + } + }; + + public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalStateException( "Can't get the descriptor of an unrecognized enum value."); } return getDescriptor().getValues().get(ordinal()); } - public final com.google.protobuf.Descriptors.EnumDescriptor - getDescriptorForType() { + + public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() { return getDescriptor(); } - public static final com.google.protobuf.Descriptors.EnumDescriptor - getDescriptor() { - return com.google.cloud.contactcenterinsights.v1.AnswerFeedback.getDescriptor().getEnumTypes().get(0); + + public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { + return com.google.cloud.contactcenterinsights.v1.AnswerFeedback.getDescriptor() + .getEnumTypes() + .get(0); } private static final CorrectnessLevel[] VALUES = values(); @@ -193,8 +234,7 @@ public CorrectnessLevel findValueByNumber(int number) { public static CorrectnessLevel valueOf( com.google.protobuf.Descriptors.EnumValueDescriptor desc) { if (desc.getType() != getDescriptor()) { - throw new java.lang.IllegalArgumentException( - "EnumValueDescriptor is not for this type."); + throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type."); } if (desc.getIndex() == -1) { return UNRECOGNIZED; @@ -214,37 +254,57 @@ private CorrectnessLevel(int value) { public static final int CORRECTNESS_LEVEL_FIELD_NUMBER = 1; private int correctnessLevel_ = 0; /** + * + * *
    * The correctness level of an answer.
    * 
* - * .google.cloud.contactcenterinsights.v1.AnswerFeedback.CorrectnessLevel correctness_level = 1; + * + * .google.cloud.contactcenterinsights.v1.AnswerFeedback.CorrectnessLevel correctness_level = 1; + * + * * @return The enum numeric value on the wire for correctnessLevel. */ - @java.lang.Override public int getCorrectnessLevelValue() { + @java.lang.Override + public int getCorrectnessLevelValue() { return correctnessLevel_; } /** + * + * *
    * The correctness level of an answer.
    * 
* - * .google.cloud.contactcenterinsights.v1.AnswerFeedback.CorrectnessLevel correctness_level = 1; + * + * .google.cloud.contactcenterinsights.v1.AnswerFeedback.CorrectnessLevel correctness_level = 1; + * + * * @return The correctnessLevel. */ - @java.lang.Override public com.google.cloud.contactcenterinsights.v1.AnswerFeedback.CorrectnessLevel getCorrectnessLevel() { - com.google.cloud.contactcenterinsights.v1.AnswerFeedback.CorrectnessLevel result = com.google.cloud.contactcenterinsights.v1.AnswerFeedback.CorrectnessLevel.forNumber(correctnessLevel_); - return result == null ? com.google.cloud.contactcenterinsights.v1.AnswerFeedback.CorrectnessLevel.UNRECOGNIZED : result; + @java.lang.Override + public com.google.cloud.contactcenterinsights.v1.AnswerFeedback.CorrectnessLevel + getCorrectnessLevel() { + com.google.cloud.contactcenterinsights.v1.AnswerFeedback.CorrectnessLevel result = + com.google.cloud.contactcenterinsights.v1.AnswerFeedback.CorrectnessLevel.forNumber( + correctnessLevel_); + return result == null + ? com.google.cloud.contactcenterinsights.v1.AnswerFeedback.CorrectnessLevel.UNRECOGNIZED + : result; } public static final int CLICKED_FIELD_NUMBER = 2; private boolean clicked_ = false; /** + * + * *
    * Indicates whether an answer or item was clicked by the human agent.
    * 
* * bool clicked = 2; + * * @return The clicked. */ @java.lang.Override @@ -255,12 +315,15 @@ public boolean getClicked() { public static final int DISPLAYED_FIELD_NUMBER = 3; private boolean displayed_ = false; /** + * + * *
    * Indicates whether an answer or item was displayed to the human agent in the
    * agent desktop UI.
    * 
* * bool displayed = 3; + * * @return The displayed. */ @java.lang.Override @@ -269,6 +332,7 @@ public boolean getDisplayed() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -280,9 +344,11 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { - if (correctnessLevel_ != com.google.cloud.contactcenterinsights.v1.AnswerFeedback.CorrectnessLevel.CORRECTNESS_LEVEL_UNSPECIFIED.getNumber()) { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + if (correctnessLevel_ + != com.google.cloud.contactcenterinsights.v1.AnswerFeedback.CorrectnessLevel + .CORRECTNESS_LEVEL_UNSPECIFIED + .getNumber()) { output.writeEnum(1, correctnessLevel_); } if (clicked_ != false) { @@ -300,17 +366,17 @@ public int getSerializedSize() { if (size != -1) return size; size = 0; - if (correctnessLevel_ != com.google.cloud.contactcenterinsights.v1.AnswerFeedback.CorrectnessLevel.CORRECTNESS_LEVEL_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(1, correctnessLevel_); + if (correctnessLevel_ + != com.google.cloud.contactcenterinsights.v1.AnswerFeedback.CorrectnessLevel + .CORRECTNESS_LEVEL_UNSPECIFIED + .getNumber()) { + size += com.google.protobuf.CodedOutputStream.computeEnumSize(1, correctnessLevel_); } if (clicked_ != false) { - size += com.google.protobuf.CodedOutputStream - .computeBoolSize(2, clicked_); + size += com.google.protobuf.CodedOutputStream.computeBoolSize(2, clicked_); } if (displayed_ != false) { - size += com.google.protobuf.CodedOutputStream - .computeBoolSize(3, displayed_); + size += com.google.protobuf.CodedOutputStream.computeBoolSize(3, displayed_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -320,18 +386,17 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.contactcenterinsights.v1.AnswerFeedback)) { return super.equals(obj); } - com.google.cloud.contactcenterinsights.v1.AnswerFeedback other = (com.google.cloud.contactcenterinsights.v1.AnswerFeedback) obj; + com.google.cloud.contactcenterinsights.v1.AnswerFeedback other = + (com.google.cloud.contactcenterinsights.v1.AnswerFeedback) obj; if (correctnessLevel_ != other.correctnessLevel_) return false; - if (getClicked() - != other.getClicked()) return false; - if (getDisplayed() - != other.getDisplayed()) return false; + if (getClicked() != other.getClicked()) return false; + if (getDisplayed() != other.getDisplayed()) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -346,107 +411,113 @@ public int hashCode() { hash = (37 * hash) + CORRECTNESS_LEVEL_FIELD_NUMBER; hash = (53 * hash) + correctnessLevel_; hash = (37 * hash) + CLICKED_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( - getClicked()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getClicked()); hash = (37 * hash) + DISPLAYED_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( - getDisplayed()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getDisplayed()); hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } public static com.google.cloud.contactcenterinsights.v1.AnswerFeedback parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.contactcenterinsights.v1.AnswerFeedback parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.contactcenterinsights.v1.AnswerFeedback parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.contactcenterinsights.v1.AnswerFeedback parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.contactcenterinsights.v1.AnswerFeedback parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.contactcenterinsights.v1.AnswerFeedback parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.contactcenterinsights.v1.AnswerFeedback parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.contactcenterinsights.v1.AnswerFeedback parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.contactcenterinsights.v1.AnswerFeedback parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.contactcenterinsights.v1.AnswerFeedback parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.contactcenterinsights.v1.AnswerFeedback parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.contactcenterinsights.v1.AnswerFeedback parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.contactcenterinsights.v1.AnswerFeedback parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.contactcenterinsights.v1.AnswerFeedback parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.contactcenterinsights.v1.AnswerFeedback prototype) { + + public static Builder newBuilder( + com.google.cloud.contactcenterinsights.v1.AnswerFeedback prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * The feedback that the customer has about a certain answer in the
    * conversation.
@@ -454,33 +525,32 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.cloud.contactcenterinsights.v1.AnswerFeedback}
    */
-  public static final class Builder extends
-      com.google.protobuf.GeneratedMessageV3.Builder implements
+  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
+      implements
       // @@protoc_insertion_point(builder_implements:google.cloud.contactcenterinsights.v1.AnswerFeedback)
       com.google.cloud.contactcenterinsights.v1.AnswerFeedbackOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.cloud.contactcenterinsights.v1.ResourcesProto.internal_static_google_cloud_contactcenterinsights_v1_AnswerFeedback_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.cloud.contactcenterinsights.v1.ResourcesProto
+          .internal_static_google_cloud_contactcenterinsights_v1_AnswerFeedback_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.contactcenterinsights.v1.ResourcesProto.internal_static_google_cloud_contactcenterinsights_v1_AnswerFeedback_fieldAccessorTable
+      return com.google.cloud.contactcenterinsights.v1.ResourcesProto
+          .internal_static_google_cloud_contactcenterinsights_v1_AnswerFeedback_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.contactcenterinsights.v1.AnswerFeedback.class, com.google.cloud.contactcenterinsights.v1.AnswerFeedback.Builder.class);
+              com.google.cloud.contactcenterinsights.v1.AnswerFeedback.class,
+              com.google.cloud.contactcenterinsights.v1.AnswerFeedback.Builder.class);
     }
 
     // Construct using com.google.cloud.contactcenterinsights.v1.AnswerFeedback.newBuilder()
-    private Builder() {
+    private Builder() {}
 
-    }
-
-    private Builder(
-        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
-
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -492,9 +562,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.cloud.contactcenterinsights.v1.ResourcesProto.internal_static_google_cloud_contactcenterinsights_v1_AnswerFeedback_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.cloud.contactcenterinsights.v1.ResourcesProto
+          .internal_static_google_cloud_contactcenterinsights_v1_AnswerFeedback_descriptor;
     }
 
     @java.lang.Override
@@ -513,8 +583,11 @@ public com.google.cloud.contactcenterinsights.v1.AnswerFeedback build() {
 
     @java.lang.Override
     public com.google.cloud.contactcenterinsights.v1.AnswerFeedback buildPartial() {
-      com.google.cloud.contactcenterinsights.v1.AnswerFeedback result = new com.google.cloud.contactcenterinsights.v1.AnswerFeedback(this);
-      if (bitField0_ != 0) { buildPartial0(result); }
+      com.google.cloud.contactcenterinsights.v1.AnswerFeedback result =
+          new com.google.cloud.contactcenterinsights.v1.AnswerFeedback(this);
+      if (bitField0_ != 0) {
+        buildPartial0(result);
+      }
       onBuilt();
       return result;
     }
@@ -536,38 +609,39 @@ private void buildPartial0(com.google.cloud.contactcenterinsights.v1.AnswerFeedb
     public Builder clone() {
       return super.clone();
     }
+
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.setField(field, value);
     }
+
     @java.lang.Override
-    public Builder clearField(
-        com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
+
     @java.lang.Override
-    public Builder clearOneof(
-        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
+
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
+
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
+
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.cloud.contactcenterinsights.v1.AnswerFeedback) {
-        return mergeFrom((com.google.cloud.contactcenterinsights.v1.AnswerFeedback)other);
+        return mergeFrom((com.google.cloud.contactcenterinsights.v1.AnswerFeedback) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -575,7 +649,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.cloud.contactcenterinsights.v1.AnswerFeedback other) {
-      if (other == com.google.cloud.contactcenterinsights.v1.AnswerFeedback.getDefaultInstance()) return this;
+      if (other == com.google.cloud.contactcenterinsights.v1.AnswerFeedback.getDefaultInstance())
+        return this;
       if (other.correctnessLevel_ != 0) {
         setCorrectnessLevelValue(other.getCorrectnessLevelValue());
       }
@@ -611,27 +686,31 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 8: {
-              correctnessLevel_ = input.readEnum();
-              bitField0_ |= 0x00000001;
-              break;
-            } // case 8
-            case 16: {
-              clicked_ = input.readBool();
-              bitField0_ |= 0x00000002;
-              break;
-            } // case 16
-            case 24: {
-              displayed_ = input.readBool();
-              bitField0_ |= 0x00000004;
-              break;
-            } // case 24
-            default: {
-              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                done = true; // was an endgroup tag
-              }
-              break;
-            } // default:
+            case 8:
+              {
+                correctnessLevel_ = input.readEnum();
+                bitField0_ |= 0x00000001;
+                break;
+              } // case 8
+            case 16:
+              {
+                clicked_ = input.readBool();
+                bitField0_ |= 0x00000002;
+                break;
+              } // case 16
+            case 24:
+              {
+                displayed_ = input.readBool();
+                bitField0_ |= 0x00000004;
+                break;
+              } // case 24
+            default:
+              {
+                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                  done = true; // was an endgroup tag
+                }
+                break;
+              } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -641,26 +720,38 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
+
     private int bitField0_;
 
     private int correctnessLevel_ = 0;
     /**
+     *
+     *
      * 
      * The correctness level of an answer.
      * 
* - * .google.cloud.contactcenterinsights.v1.AnswerFeedback.CorrectnessLevel correctness_level = 1; + * + * .google.cloud.contactcenterinsights.v1.AnswerFeedback.CorrectnessLevel correctness_level = 1; + * + * * @return The enum numeric value on the wire for correctnessLevel. */ - @java.lang.Override public int getCorrectnessLevelValue() { + @java.lang.Override + public int getCorrectnessLevelValue() { return correctnessLevel_; } /** + * + * *
      * The correctness level of an answer.
      * 
* - * .google.cloud.contactcenterinsights.v1.AnswerFeedback.CorrectnessLevel correctness_level = 1; + * + * .google.cloud.contactcenterinsights.v1.AnswerFeedback.CorrectnessLevel correctness_level = 1; + * + * * @param value The enum numeric value on the wire for correctnessLevel to set. * @return This builder for chaining. */ @@ -671,28 +762,44 @@ public Builder setCorrectnessLevelValue(int value) { return this; } /** + * + * *
      * The correctness level of an answer.
      * 
* - * .google.cloud.contactcenterinsights.v1.AnswerFeedback.CorrectnessLevel correctness_level = 1; + * + * .google.cloud.contactcenterinsights.v1.AnswerFeedback.CorrectnessLevel correctness_level = 1; + * + * * @return The correctnessLevel. */ @java.lang.Override - public com.google.cloud.contactcenterinsights.v1.AnswerFeedback.CorrectnessLevel getCorrectnessLevel() { - com.google.cloud.contactcenterinsights.v1.AnswerFeedback.CorrectnessLevel result = com.google.cloud.contactcenterinsights.v1.AnswerFeedback.CorrectnessLevel.forNumber(correctnessLevel_); - return result == null ? com.google.cloud.contactcenterinsights.v1.AnswerFeedback.CorrectnessLevel.UNRECOGNIZED : result; + public com.google.cloud.contactcenterinsights.v1.AnswerFeedback.CorrectnessLevel + getCorrectnessLevel() { + com.google.cloud.contactcenterinsights.v1.AnswerFeedback.CorrectnessLevel result = + com.google.cloud.contactcenterinsights.v1.AnswerFeedback.CorrectnessLevel.forNumber( + correctnessLevel_); + return result == null + ? com.google.cloud.contactcenterinsights.v1.AnswerFeedback.CorrectnessLevel.UNRECOGNIZED + : result; } /** + * + * *
      * The correctness level of an answer.
      * 
* - * .google.cloud.contactcenterinsights.v1.AnswerFeedback.CorrectnessLevel correctness_level = 1; + * + * .google.cloud.contactcenterinsights.v1.AnswerFeedback.CorrectnessLevel correctness_level = 1; + * + * * @param value The correctnessLevel to set. * @return This builder for chaining. */ - public Builder setCorrectnessLevel(com.google.cloud.contactcenterinsights.v1.AnswerFeedback.CorrectnessLevel value) { + public Builder setCorrectnessLevel( + com.google.cloud.contactcenterinsights.v1.AnswerFeedback.CorrectnessLevel value) { if (value == null) { throw new NullPointerException(); } @@ -702,11 +809,16 @@ public Builder setCorrectnessLevel(com.google.cloud.contactcenterinsights.v1.Ans return this; } /** + * + * *
      * The correctness level of an answer.
      * 
* - * .google.cloud.contactcenterinsights.v1.AnswerFeedback.CorrectnessLevel correctness_level = 1; + * + * .google.cloud.contactcenterinsights.v1.AnswerFeedback.CorrectnessLevel correctness_level = 1; + * + * * @return This builder for chaining. */ public Builder clearCorrectnessLevel() { @@ -716,13 +828,16 @@ public Builder clearCorrectnessLevel() { return this; } - private boolean clicked_ ; + private boolean clicked_; /** + * + * *
      * Indicates whether an answer or item was clicked by the human agent.
      * 
* * bool clicked = 2; + * * @return The clicked. */ @java.lang.Override @@ -730,27 +845,33 @@ public boolean getClicked() { return clicked_; } /** + * + * *
      * Indicates whether an answer or item was clicked by the human agent.
      * 
* * bool clicked = 2; + * * @param value The clicked to set. * @return This builder for chaining. */ public Builder setClicked(boolean value) { - + clicked_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** + * + * *
      * Indicates whether an answer or item was clicked by the human agent.
      * 
* * bool clicked = 2; + * * @return This builder for chaining. */ public Builder clearClicked() { @@ -760,14 +881,17 @@ public Builder clearClicked() { return this; } - private boolean displayed_ ; + private boolean displayed_; /** + * + * *
      * Indicates whether an answer or item was displayed to the human agent in the
      * agent desktop UI.
      * 
* * bool displayed = 3; + * * @return The displayed. */ @java.lang.Override @@ -775,29 +899,35 @@ public boolean getDisplayed() { return displayed_; } /** + * + * *
      * Indicates whether an answer or item was displayed to the human agent in the
      * agent desktop UI.
      * 
* * bool displayed = 3; + * * @param value The displayed to set. * @return This builder for chaining. */ public Builder setDisplayed(boolean value) { - + displayed_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } /** + * + * *
      * Indicates whether an answer or item was displayed to the human agent in the
      * agent desktop UI.
      * 
* * bool displayed = 3; + * * @return This builder for chaining. */ public Builder clearDisplayed() { @@ -806,9 +936,9 @@ public Builder clearDisplayed() { onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -818,12 +948,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.contactcenterinsights.v1.AnswerFeedback) } // @@protoc_insertion_point(class_scope:google.cloud.contactcenterinsights.v1.AnswerFeedback) private static final com.google.cloud.contactcenterinsights.v1.AnswerFeedback DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.contactcenterinsights.v1.AnswerFeedback(); } @@ -832,27 +962,27 @@ public static com.google.cloud.contactcenterinsights.v1.AnswerFeedback getDefaul return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public AnswerFeedback parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public AnswerFeedback parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -867,6 +997,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.contactcenterinsights.v1.AnswerFeedback getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/AnswerFeedbackOrBuilder.java b/java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/AnswerFeedbackOrBuilder.java similarity index 54% rename from owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/AnswerFeedbackOrBuilder.java rename to java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/AnswerFeedbackOrBuilder.java index 9109a2a62d66..886b137bb243 100644 --- a/owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/AnswerFeedbackOrBuilder.java +++ b/java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/AnswerFeedbackOrBuilder.java @@ -1,48 +1,80 @@ +/* + * 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. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/contactcenterinsights/v1/resources.proto package com.google.cloud.contactcenterinsights.v1; -public interface AnswerFeedbackOrBuilder extends +public interface AnswerFeedbackOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.contactcenterinsights.v1.AnswerFeedback) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * The correctness level of an answer.
    * 
* - * .google.cloud.contactcenterinsights.v1.AnswerFeedback.CorrectnessLevel correctness_level = 1; + * + * .google.cloud.contactcenterinsights.v1.AnswerFeedback.CorrectnessLevel correctness_level = 1; + * + * * @return The enum numeric value on the wire for correctnessLevel. */ int getCorrectnessLevelValue(); /** + * + * *
    * The correctness level of an answer.
    * 
* - * .google.cloud.contactcenterinsights.v1.AnswerFeedback.CorrectnessLevel correctness_level = 1; + * + * .google.cloud.contactcenterinsights.v1.AnswerFeedback.CorrectnessLevel correctness_level = 1; + * + * * @return The correctnessLevel. */ com.google.cloud.contactcenterinsights.v1.AnswerFeedback.CorrectnessLevel getCorrectnessLevel(); /** + * + * *
    * Indicates whether an answer or item was clicked by the human agent.
    * 
* * bool clicked = 2; + * * @return The clicked. */ boolean getClicked(); /** + * + * *
    * Indicates whether an answer or item was displayed to the human agent in the
    * agent desktop UI.
    * 
* * bool displayed = 3; + * * @return The displayed. */ boolean getDisplayed(); diff --git a/owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ArticleSuggestionData.java b/java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ArticleSuggestionData.java similarity index 66% rename from owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ArticleSuggestionData.java rename to java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ArticleSuggestionData.java index fc4255c4ce2d..252c535679ca 100644 --- a/owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ArticleSuggestionData.java +++ b/java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ArticleSuggestionData.java @@ -1,24 +1,42 @@ +/* + * 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. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/contactcenterinsights/v1/resources.proto package com.google.cloud.contactcenterinsights.v1; /** + * + * *
  * Agent Assist Article Suggestion data.
  * 
* * Protobuf type {@code google.cloud.contactcenterinsights.v1.ArticleSuggestionData} */ -public final class ArticleSuggestionData extends - com.google.protobuf.GeneratedMessageV3 implements +public final class ArticleSuggestionData extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.contactcenterinsights.v1.ArticleSuggestionData) ArticleSuggestionDataOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use ArticleSuggestionData.newBuilder() to construct. private ArticleSuggestionData(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private ArticleSuggestionData() { title_ = ""; uri_ = ""; @@ -28,50 +46,54 @@ private ArticleSuggestionData() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ArticleSuggestionData(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.contactcenterinsights.v1.ResourcesProto.internal_static_google_cloud_contactcenterinsights_v1_ArticleSuggestionData_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.contactcenterinsights.v1.ResourcesProto + .internal_static_google_cloud_contactcenterinsights_v1_ArticleSuggestionData_descriptor; } @SuppressWarnings({"rawtypes"}) @java.lang.Override - protected com.google.protobuf.MapField internalGetMapField( - int number) { + protected com.google.protobuf.MapField internalGetMapField(int number) { switch (number) { case 4: return internalGetMetadata(); default: - throw new RuntimeException( - "Invalid map field number: " + number); + throw new RuntimeException("Invalid map field number: " + number); } } + @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.contactcenterinsights.v1.ResourcesProto.internal_static_google_cloud_contactcenterinsights_v1_ArticleSuggestionData_fieldAccessorTable + return com.google.cloud.contactcenterinsights.v1.ResourcesProto + .internal_static_google_cloud_contactcenterinsights_v1_ArticleSuggestionData_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.contactcenterinsights.v1.ArticleSuggestionData.class, com.google.cloud.contactcenterinsights.v1.ArticleSuggestionData.Builder.class); + com.google.cloud.contactcenterinsights.v1.ArticleSuggestionData.class, + com.google.cloud.contactcenterinsights.v1.ArticleSuggestionData.Builder.class); } public static final int TITLE_FIELD_NUMBER = 1; + @SuppressWarnings("serial") private volatile java.lang.Object title_ = ""; /** + * + * *
    * Article title.
    * 
* * string title = 1; + * * @return The title. */ @java.lang.Override @@ -80,29 +102,29 @@ public java.lang.String getTitle() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); title_ = s; return s; } } /** + * + * *
    * Article title.
    * 
* * string title = 1; + * * @return The bytes for title. */ @java.lang.Override - public com.google.protobuf.ByteString - getTitleBytes() { + public com.google.protobuf.ByteString getTitleBytes() { java.lang.Object ref = title_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); title_ = b; return b; } else { @@ -111,14 +133,18 @@ public java.lang.String getTitle() { } public static final int URI_FIELD_NUMBER = 2; + @SuppressWarnings("serial") private volatile java.lang.Object uri_ = ""; /** + * + * *
    * Article URI.
    * 
* * string uri = 2; + * * @return The uri. */ @java.lang.Override @@ -127,29 +153,29 @@ public java.lang.String getUri() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); uri_ = s; return s; } } /** + * + * *
    * Article URI.
    * 
* * string uri = 2; + * * @return The bytes for uri. */ @java.lang.Override - public com.google.protobuf.ByteString - getUriBytes() { + public com.google.protobuf.ByteString getUriBytes() { java.lang.Object ref = uri_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); uri_ = b; return b; } else { @@ -160,6 +186,8 @@ public java.lang.String getUri() { public static final int CONFIDENCE_SCORE_FIELD_NUMBER = 3; private float confidenceScore_ = 0F; /** + * + * *
    * The system's confidence score that this article is a good match for this
    * conversation, ranging from 0.0 (completely uncertain) to 1.0 (completely
@@ -167,6 +195,7 @@ public java.lang.String getUri() {
    * 
* * float confidence_score = 3; + * * @return The confidenceScore. */ @java.lang.Override @@ -175,32 +204,34 @@ public float getConfidenceScore() { } public static final int METADATA_FIELD_NUMBER = 4; + private static final class MetadataDefaultEntryHolder { - static final com.google.protobuf.MapEntry< - java.lang.String, java.lang.String> defaultEntry = - com.google.protobuf.MapEntry - .newDefaultInstance( - com.google.cloud.contactcenterinsights.v1.ResourcesProto.internal_static_google_cloud_contactcenterinsights_v1_ArticleSuggestionData_MetadataEntry_descriptor, - com.google.protobuf.WireFormat.FieldType.STRING, - "", - com.google.protobuf.WireFormat.FieldType.STRING, - ""); + static final com.google.protobuf.MapEntry defaultEntry = + com.google.protobuf.MapEntry.newDefaultInstance( + com.google.cloud.contactcenterinsights.v1.ResourcesProto + .internal_static_google_cloud_contactcenterinsights_v1_ArticleSuggestionData_MetadataEntry_descriptor, + com.google.protobuf.WireFormat.FieldType.STRING, + "", + com.google.protobuf.WireFormat.FieldType.STRING, + ""); } + @SuppressWarnings("serial") - private com.google.protobuf.MapField< - java.lang.String, java.lang.String> metadata_; - private com.google.protobuf.MapField - internalGetMetadata() { + private com.google.protobuf.MapField metadata_; + + private com.google.protobuf.MapField internalGetMetadata() { if (metadata_ == null) { - return com.google.protobuf.MapField.emptyMapField( - MetadataDefaultEntryHolder.defaultEntry); + return com.google.protobuf.MapField.emptyMapField(MetadataDefaultEntryHolder.defaultEntry); } return metadata_; } + public int getMetadataCount() { return internalGetMetadata().getMap().size(); } /** + * + * *
    * Map that contains metadata about the Article Suggestion and the document
    * that it originates from.
@@ -209,20 +240,21 @@ public int getMetadataCount() {
    * map<string, string> metadata = 4;
    */
   @java.lang.Override
-  public boolean containsMetadata(
-      java.lang.String key) {
-    if (key == null) { throw new NullPointerException("map key"); }
+  public boolean containsMetadata(java.lang.String key) {
+    if (key == null) {
+      throw new NullPointerException("map key");
+    }
     return internalGetMetadata().getMap().containsKey(key);
   }
-  /**
-   * Use {@link #getMetadataMap()} instead.
-   */
+  /** Use {@link #getMetadataMap()} instead. */
   @java.lang.Override
   @java.lang.Deprecated
   public java.util.Map getMetadata() {
     return getMetadataMap();
   }
   /**
+   *
+   *
    * 
    * Map that contains metadata about the Article Suggestion and the document
    * that it originates from.
@@ -235,6 +267,8 @@ public java.util.Map getMetadataMap() {
     return internalGetMetadata().getMap();
   }
   /**
+   *
+   *
    * 
    * Map that contains metadata about the Article Suggestion and the document
    * that it originates from.
@@ -243,17 +277,19 @@ public java.util.Map getMetadataMap() {
    * map<string, string> metadata = 4;
    */
   @java.lang.Override
-  public /* nullable */
-java.lang.String getMetadataOrDefault(
+  public /* nullable */ java.lang.String getMetadataOrDefault(
       java.lang.String key,
       /* nullable */
-java.lang.String defaultValue) {
-    if (key == null) { throw new NullPointerException("map key"); }
-    java.util.Map map =
-        internalGetMetadata().getMap();
+      java.lang.String defaultValue) {
+    if (key == null) {
+      throw new NullPointerException("map key");
+    }
+    java.util.Map map = internalGetMetadata().getMap();
     return map.containsKey(key) ? map.get(key) : defaultValue;
   }
   /**
+   *
+   *
    * 
    * Map that contains metadata about the Article Suggestion and the document
    * that it originates from.
@@ -262,11 +298,11 @@ java.lang.String getMetadataOrDefault(
    * map<string, string> metadata = 4;
    */
   @java.lang.Override
-  public java.lang.String getMetadataOrThrow(
-      java.lang.String key) {
-    if (key == null) { throw new NullPointerException("map key"); }
-    java.util.Map map =
-        internalGetMetadata().getMap();
+  public java.lang.String getMetadataOrThrow(java.lang.String key) {
+    if (key == null) {
+      throw new NullPointerException("map key");
+    }
+    java.util.Map map = internalGetMetadata().getMap();
     if (!map.containsKey(key)) {
       throw new java.lang.IllegalArgumentException();
     }
@@ -274,9 +310,12 @@ public java.lang.String getMetadataOrThrow(
   }
 
   public static final int QUERY_RECORD_FIELD_NUMBER = 5;
+
   @SuppressWarnings("serial")
   private volatile java.lang.Object queryRecord_ = "";
   /**
+   *
+   *
    * 
    * The name of the answer record.
    * Format:
@@ -284,6 +323,7 @@ public java.lang.String getMetadataOrThrow(
    * 
* * string query_record = 5; + * * @return The queryRecord. */ @java.lang.Override @@ -292,14 +332,15 @@ public java.lang.String getQueryRecord() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); queryRecord_ = s; return s; } } /** + * + * *
    * The name of the answer record.
    * Format:
@@ -307,16 +348,15 @@ public java.lang.String getQueryRecord() {
    * 
* * string query_record = 5; + * * @return The bytes for queryRecord. */ @java.lang.Override - public com.google.protobuf.ByteString - getQueryRecordBytes() { + public com.google.protobuf.ByteString getQueryRecordBytes() { java.lang.Object ref = queryRecord_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); queryRecord_ = b; return b; } else { @@ -325,9 +365,12 @@ public java.lang.String getQueryRecord() { } public static final int SOURCE_FIELD_NUMBER = 6; + @SuppressWarnings("serial") private volatile java.lang.Object source_ = ""; /** + * + * *
    * The knowledge document that this answer was extracted from.
    * Format:
@@ -335,6 +378,7 @@ public java.lang.String getQueryRecord() {
    * 
* * string source = 6; + * * @return The source. */ @java.lang.Override @@ -343,14 +387,15 @@ public java.lang.String getSource() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); source_ = s; return s; } } /** + * + * *
    * The knowledge document that this answer was extracted from.
    * Format:
@@ -358,16 +403,15 @@ public java.lang.String getSource() {
    * 
* * string source = 6; + * * @return The bytes for source. */ @java.lang.Override - public com.google.protobuf.ByteString - getSourceBytes() { + public com.google.protobuf.ByteString getSourceBytes() { java.lang.Object ref = source_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); source_ = b; return b; } else { @@ -376,6 +420,7 @@ public java.lang.String getSource() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -387,8 +432,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(title_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, title_); } @@ -398,12 +442,8 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) if (java.lang.Float.floatToRawIntBits(confidenceScore_) != 0) { output.writeFloat(3, confidenceScore_); } - com.google.protobuf.GeneratedMessageV3 - .serializeStringMapTo( - output, - internalGetMetadata(), - MetadataDefaultEntryHolder.defaultEntry, - 4); + com.google.protobuf.GeneratedMessageV3.serializeStringMapTo( + output, internalGetMetadata(), MetadataDefaultEntryHolder.defaultEntry, 4); if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(queryRecord_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 5, queryRecord_); } @@ -426,18 +466,17 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, uri_); } if (java.lang.Float.floatToRawIntBits(confidenceScore_) != 0) { - size += com.google.protobuf.CodedOutputStream - .computeFloatSize(3, confidenceScore_); - } - for (java.util.Map.Entry entry - : internalGetMetadata().getMap().entrySet()) { - com.google.protobuf.MapEntry - metadata__ = MetadataDefaultEntryHolder.defaultEntry.newBuilderForType() - .setKey(entry.getKey()) - .setValue(entry.getValue()) - .build(); - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(4, metadata__); + size += com.google.protobuf.CodedOutputStream.computeFloatSize(3, confidenceScore_); + } + for (java.util.Map.Entry entry : + internalGetMetadata().getMap().entrySet()) { + com.google.protobuf.MapEntry metadata__ = + MetadataDefaultEntryHolder.defaultEntry + .newBuilderForType() + .setKey(entry.getKey()) + .setValue(entry.getValue()) + .build(); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(4, metadata__); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(queryRecord_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(5, queryRecord_); @@ -453,26 +492,21 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.contactcenterinsights.v1.ArticleSuggestionData)) { return super.equals(obj); } - com.google.cloud.contactcenterinsights.v1.ArticleSuggestionData other = (com.google.cloud.contactcenterinsights.v1.ArticleSuggestionData) obj; + com.google.cloud.contactcenterinsights.v1.ArticleSuggestionData other = + (com.google.cloud.contactcenterinsights.v1.ArticleSuggestionData) obj; - if (!getTitle() - .equals(other.getTitle())) return false; - if (!getUri() - .equals(other.getUri())) return false; + if (!getTitle().equals(other.getTitle())) return false; + if (!getUri().equals(other.getUri())) return false; if (java.lang.Float.floatToIntBits(getConfidenceScore()) - != java.lang.Float.floatToIntBits( - other.getConfidenceScore())) return false; - if (!internalGetMetadata().equals( - other.internalGetMetadata())) return false; - if (!getQueryRecord() - .equals(other.getQueryRecord())) return false; - if (!getSource() - .equals(other.getSource())) return false; + != java.lang.Float.floatToIntBits(other.getConfidenceScore())) return false; + if (!internalGetMetadata().equals(other.internalGetMetadata())) return false; + if (!getQueryRecord().equals(other.getQueryRecord())) return false; + if (!getSource().equals(other.getSource())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -489,8 +523,7 @@ public int hashCode() { hash = (37 * hash) + URI_FIELD_NUMBER; hash = (53 * hash) + getUri().hashCode(); hash = (37 * hash) + CONFIDENCE_SCORE_FIELD_NUMBER; - hash = (53 * hash) + java.lang.Float.floatToIntBits( - getConfidenceScore()); + hash = (53 * hash) + java.lang.Float.floatToIntBits(getConfidenceScore()); if (!internalGetMetadata().getMap().isEmpty()) { hash = (37 * hash) + METADATA_FIELD_NUMBER; hash = (53 * hash) + internalGetMetadata().hashCode(); @@ -505,151 +538,156 @@ public int hashCode() { } public static com.google.cloud.contactcenterinsights.v1.ArticleSuggestionData parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.contactcenterinsights.v1.ArticleSuggestionData parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.contactcenterinsights.v1.ArticleSuggestionData parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.contactcenterinsights.v1.ArticleSuggestionData parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.contactcenterinsights.v1.ArticleSuggestionData parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.contactcenterinsights.v1.ArticleSuggestionData parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.contactcenterinsights.v1.ArticleSuggestionData parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.contactcenterinsights.v1.ArticleSuggestionData parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.contactcenterinsights.v1.ArticleSuggestionData parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.contactcenterinsights.v1.ArticleSuggestionData parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.contactcenterinsights.v1.ArticleSuggestionData parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.contactcenterinsights.v1.ArticleSuggestionData parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.contactcenterinsights.v1.ArticleSuggestionData parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.contactcenterinsights.v1.ArticleSuggestionData parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.contactcenterinsights.v1.ArticleSuggestionData parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.contactcenterinsights.v1.ArticleSuggestionData prototype) { + + public static Builder newBuilder( + com.google.cloud.contactcenterinsights.v1.ArticleSuggestionData prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Agent Assist Article Suggestion data.
    * 
* * Protobuf type {@code google.cloud.contactcenterinsights.v1.ArticleSuggestionData} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.contactcenterinsights.v1.ArticleSuggestionData) com.google.cloud.contactcenterinsights.v1.ArticleSuggestionDataOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.contactcenterinsights.v1.ResourcesProto.internal_static_google_cloud_contactcenterinsights_v1_ArticleSuggestionData_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.contactcenterinsights.v1.ResourcesProto + .internal_static_google_cloud_contactcenterinsights_v1_ArticleSuggestionData_descriptor; } @SuppressWarnings({"rawtypes"}) - protected com.google.protobuf.MapField internalGetMapField( - int number) { + protected com.google.protobuf.MapField internalGetMapField(int number) { switch (number) { case 4: return internalGetMetadata(); default: - throw new RuntimeException( - "Invalid map field number: " + number); + throw new RuntimeException("Invalid map field number: " + number); } } + @SuppressWarnings({"rawtypes"}) - protected com.google.protobuf.MapField internalGetMutableMapField( - int number) { + protected com.google.protobuf.MapField internalGetMutableMapField(int number) { switch (number) { case 4: return internalGetMutableMetadata(); default: - throw new RuntimeException( - "Invalid map field number: " + number); + throw new RuntimeException("Invalid map field number: " + number); } } + @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.contactcenterinsights.v1.ResourcesProto.internal_static_google_cloud_contactcenterinsights_v1_ArticleSuggestionData_fieldAccessorTable + return com.google.cloud.contactcenterinsights.v1.ResourcesProto + .internal_static_google_cloud_contactcenterinsights_v1_ArticleSuggestionData_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.contactcenterinsights.v1.ArticleSuggestionData.class, com.google.cloud.contactcenterinsights.v1.ArticleSuggestionData.Builder.class); + com.google.cloud.contactcenterinsights.v1.ArticleSuggestionData.class, + com.google.cloud.contactcenterinsights.v1.ArticleSuggestionData.Builder.class); } // Construct using com.google.cloud.contactcenterinsights.v1.ArticleSuggestionData.newBuilder() - private Builder() { - - } + private Builder() {} - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -664,13 +702,14 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.contactcenterinsights.v1.ResourcesProto.internal_static_google_cloud_contactcenterinsights_v1_ArticleSuggestionData_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.contactcenterinsights.v1.ResourcesProto + .internal_static_google_cloud_contactcenterinsights_v1_ArticleSuggestionData_descriptor; } @java.lang.Override - public com.google.cloud.contactcenterinsights.v1.ArticleSuggestionData getDefaultInstanceForType() { + public com.google.cloud.contactcenterinsights.v1.ArticleSuggestionData + getDefaultInstanceForType() { return com.google.cloud.contactcenterinsights.v1.ArticleSuggestionData.getDefaultInstance(); } @@ -685,13 +724,17 @@ public com.google.cloud.contactcenterinsights.v1.ArticleSuggestionData build() { @java.lang.Override public com.google.cloud.contactcenterinsights.v1.ArticleSuggestionData buildPartial() { - com.google.cloud.contactcenterinsights.v1.ArticleSuggestionData result = new com.google.cloud.contactcenterinsights.v1.ArticleSuggestionData(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.cloud.contactcenterinsights.v1.ArticleSuggestionData result = + new com.google.cloud.contactcenterinsights.v1.ArticleSuggestionData(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } - private void buildPartial0(com.google.cloud.contactcenterinsights.v1.ArticleSuggestionData result) { + private void buildPartial0( + com.google.cloud.contactcenterinsights.v1.ArticleSuggestionData result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { result.title_ = title_; @@ -718,46 +761,50 @@ private void buildPartial0(com.google.cloud.contactcenterinsights.v1.ArticleSugg public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.contactcenterinsights.v1.ArticleSuggestionData) { - return mergeFrom((com.google.cloud.contactcenterinsights.v1.ArticleSuggestionData)other); + return mergeFrom((com.google.cloud.contactcenterinsights.v1.ArticleSuggestionData) other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.google.cloud.contactcenterinsights.v1.ArticleSuggestionData other) { - if (other == com.google.cloud.contactcenterinsights.v1.ArticleSuggestionData.getDefaultInstance()) return this; + public Builder mergeFrom( + com.google.cloud.contactcenterinsights.v1.ArticleSuggestionData other) { + if (other + == com.google.cloud.contactcenterinsights.v1.ArticleSuggestionData.getDefaultInstance()) + return this; if (!other.getTitle().isEmpty()) { title_ = other.title_; bitField0_ |= 0x00000001; @@ -771,8 +818,7 @@ public Builder mergeFrom(com.google.cloud.contactcenterinsights.v1.ArticleSugges if (other.getConfidenceScore() != 0F) { setConfidenceScore(other.getConfidenceScore()); } - internalGetMutableMetadata().mergeFrom( - other.internalGetMetadata()); + internalGetMutableMetadata().mergeFrom(other.internalGetMetadata()); bitField0_ |= 0x00000008; if (!other.getQueryRecord().isEmpty()) { queryRecord_ = other.queryRecord_; @@ -810,46 +856,55 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - title_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: { - uri_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000002; - break; - } // case 18 - case 29: { - confidenceScore_ = input.readFloat(); - bitField0_ |= 0x00000004; - break; - } // case 29 - case 34: { - com.google.protobuf.MapEntry - metadata__ = input.readMessage( - MetadataDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry); - internalGetMutableMetadata().getMutableMap().put( - metadata__.getKey(), metadata__.getValue()); - bitField0_ |= 0x00000008; - break; - } // case 34 - case 42: { - queryRecord_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000010; - break; - } // case 42 - case 50: { - source_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000020; - break; - } // case 50 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + title_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: + { + uri_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + break; + } // case 18 + case 29: + { + confidenceScore_ = input.readFloat(); + bitField0_ |= 0x00000004; + break; + } // case 29 + case 34: + { + com.google.protobuf.MapEntry metadata__ = + input.readMessage( + MetadataDefaultEntryHolder.defaultEntry.getParserForType(), + extensionRegistry); + internalGetMutableMetadata() + .getMutableMap() + .put(metadata__.getKey(), metadata__.getValue()); + bitField0_ |= 0x00000008; + break; + } // case 34 + case 42: + { + queryRecord_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000010; + break; + } // case 42 + case 50: + { + source_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000020; + break; + } // case 50 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -859,22 +914,25 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private java.lang.Object title_ = ""; /** + * + * *
      * Article title.
      * 
* * string title = 1; + * * @return The title. */ public java.lang.String getTitle() { java.lang.Object ref = title_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); title_ = s; return s; @@ -883,20 +941,21 @@ public java.lang.String getTitle() { } } /** + * + * *
      * Article title.
      * 
* * string title = 1; + * * @return The bytes for title. */ - public com.google.protobuf.ByteString - getTitleBytes() { + public com.google.protobuf.ByteString getTitleBytes() { java.lang.Object ref = title_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); title_ = b; return b; } else { @@ -904,28 +963,35 @@ public java.lang.String getTitle() { } } /** + * + * *
      * Article title.
      * 
* * string title = 1; + * * @param value The title to set. * @return This builder for chaining. */ - public Builder setTitle( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setTitle(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } title_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
      * Article title.
      * 
* * string title = 1; + * * @return This builder for chaining. */ public Builder clearTitle() { @@ -935,17 +1001,21 @@ public Builder clearTitle() { return this; } /** + * + * *
      * Article title.
      * 
* * string title = 1; + * * @param value The bytes for title to set. * @return This builder for chaining. */ - public Builder setTitleBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setTitleBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); title_ = value; bitField0_ |= 0x00000001; @@ -955,18 +1025,20 @@ public Builder setTitleBytes( private java.lang.Object uri_ = ""; /** + * + * *
      * Article URI.
      * 
* * string uri = 2; + * * @return The uri. */ public java.lang.String getUri() { java.lang.Object ref = uri_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); uri_ = s; return s; @@ -975,20 +1047,21 @@ public java.lang.String getUri() { } } /** + * + * *
      * Article URI.
      * 
* * string uri = 2; + * * @return The bytes for uri. */ - public com.google.protobuf.ByteString - getUriBytes() { + public com.google.protobuf.ByteString getUriBytes() { java.lang.Object ref = uri_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); uri_ = b; return b; } else { @@ -996,28 +1069,35 @@ public java.lang.String getUri() { } } /** + * + * *
      * Article URI.
      * 
* * string uri = 2; + * * @param value The uri to set. * @return This builder for chaining. */ - public Builder setUri( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setUri(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } uri_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** + * + * *
      * Article URI.
      * 
* * string uri = 2; + * * @return This builder for chaining. */ public Builder clearUri() { @@ -1027,17 +1107,21 @@ public Builder clearUri() { return this; } /** + * + * *
      * Article URI.
      * 
* * string uri = 2; + * * @param value The bytes for uri to set. * @return This builder for chaining. */ - public Builder setUriBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setUriBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); uri_ = value; bitField0_ |= 0x00000002; @@ -1045,8 +1129,10 @@ public Builder setUriBytes( return this; } - private float confidenceScore_ ; + private float confidenceScore_; /** + * + * *
      * The system's confidence score that this article is a good match for this
      * conversation, ranging from 0.0 (completely uncertain) to 1.0 (completely
@@ -1054,6 +1140,7 @@ public Builder setUriBytes(
      * 
* * float confidence_score = 3; + * * @return The confidenceScore. */ @java.lang.Override @@ -1061,6 +1148,8 @@ public float getConfidenceScore() { return confidenceScore_; } /** + * + * *
      * The system's confidence score that this article is a good match for this
      * conversation, ranging from 0.0 (completely uncertain) to 1.0 (completely
@@ -1068,17 +1157,20 @@ public float getConfidenceScore() {
      * 
* * float confidence_score = 3; + * * @param value The confidenceScore to set. * @return This builder for chaining. */ public Builder setConfidenceScore(float value) { - + confidenceScore_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } /** + * + * *
      * The system's confidence score that this article is a good match for this
      * conversation, ranging from 0.0 (completely uncertain) to 1.0 (completely
@@ -1086,6 +1178,7 @@ public Builder setConfidenceScore(float value) {
      * 
* * float confidence_score = 3; + * * @return This builder for chaining. */ public Builder clearConfidenceScore() { @@ -1095,21 +1188,20 @@ public Builder clearConfidenceScore() { return this; } - private com.google.protobuf.MapField< - java.lang.String, java.lang.String> metadata_; - private com.google.protobuf.MapField - internalGetMetadata() { + private com.google.protobuf.MapField metadata_; + + private com.google.protobuf.MapField internalGetMetadata() { if (metadata_ == null) { - return com.google.protobuf.MapField.emptyMapField( - MetadataDefaultEntryHolder.defaultEntry); + return com.google.protobuf.MapField.emptyMapField(MetadataDefaultEntryHolder.defaultEntry); } return metadata_; } + private com.google.protobuf.MapField internalGetMutableMetadata() { if (metadata_ == null) { - metadata_ = com.google.protobuf.MapField.newMapField( - MetadataDefaultEntryHolder.defaultEntry); + metadata_ = + com.google.protobuf.MapField.newMapField(MetadataDefaultEntryHolder.defaultEntry); } if (!metadata_.isMutable()) { metadata_ = metadata_.copy(); @@ -1118,10 +1210,13 @@ public Builder clearConfidenceScore() { onChanged(); return metadata_; } + public int getMetadataCount() { return internalGetMetadata().getMap().size(); } /** + * + * *
      * Map that contains metadata about the Article Suggestion and the document
      * that it originates from.
@@ -1130,20 +1225,21 @@ public int getMetadataCount() {
      * map<string, string> metadata = 4;
      */
     @java.lang.Override
-    public boolean containsMetadata(
-        java.lang.String key) {
-      if (key == null) { throw new NullPointerException("map key"); }
+    public boolean containsMetadata(java.lang.String key) {
+      if (key == null) {
+        throw new NullPointerException("map key");
+      }
       return internalGetMetadata().getMap().containsKey(key);
     }
-    /**
-     * Use {@link #getMetadataMap()} instead.
-     */
+    /** Use {@link #getMetadataMap()} instead. */
     @java.lang.Override
     @java.lang.Deprecated
     public java.util.Map getMetadata() {
       return getMetadataMap();
     }
     /**
+     *
+     *
      * 
      * Map that contains metadata about the Article Suggestion and the document
      * that it originates from.
@@ -1156,6 +1252,8 @@ public java.util.Map getMetadataMap() {
       return internalGetMetadata().getMap();
     }
     /**
+     *
+     *
      * 
      * Map that contains metadata about the Article Suggestion and the document
      * that it originates from.
@@ -1164,17 +1262,19 @@ public java.util.Map getMetadataMap() {
      * map<string, string> metadata = 4;
      */
     @java.lang.Override
-    public /* nullable */
-java.lang.String getMetadataOrDefault(
+    public /* nullable */ java.lang.String getMetadataOrDefault(
         java.lang.String key,
         /* nullable */
-java.lang.String defaultValue) {
-      if (key == null) { throw new NullPointerException("map key"); }
-      java.util.Map map =
-          internalGetMetadata().getMap();
+        java.lang.String defaultValue) {
+      if (key == null) {
+        throw new NullPointerException("map key");
+      }
+      java.util.Map map = internalGetMetadata().getMap();
       return map.containsKey(key) ? map.get(key) : defaultValue;
     }
     /**
+     *
+     *
      * 
      * Map that contains metadata about the Article Suggestion and the document
      * that it originates from.
@@ -1183,23 +1283,25 @@ java.lang.String getMetadataOrDefault(
      * map<string, string> metadata = 4;
      */
     @java.lang.Override
-    public java.lang.String getMetadataOrThrow(
-        java.lang.String key) {
-      if (key == null) { throw new NullPointerException("map key"); }
-      java.util.Map map =
-          internalGetMetadata().getMap();
+    public java.lang.String getMetadataOrThrow(java.lang.String key) {
+      if (key == null) {
+        throw new NullPointerException("map key");
+      }
+      java.util.Map map = internalGetMetadata().getMap();
       if (!map.containsKey(key)) {
         throw new java.lang.IllegalArgumentException();
       }
       return map.get(key);
     }
+
     public Builder clearMetadata() {
       bitField0_ = (bitField0_ & ~0x00000008);
-      internalGetMutableMetadata().getMutableMap()
-          .clear();
+      internalGetMutableMetadata().getMutableMap().clear();
       return this;
     }
     /**
+     *
+     *
      * 
      * Map that contains metadata about the Article Suggestion and the document
      * that it originates from.
@@ -1207,23 +1309,22 @@ public Builder clearMetadata() {
      *
      * map<string, string> metadata = 4;
      */
-    public Builder removeMetadata(
-        java.lang.String key) {
-      if (key == null) { throw new NullPointerException("map key"); }
-      internalGetMutableMetadata().getMutableMap()
-          .remove(key);
+    public Builder removeMetadata(java.lang.String key) {
+      if (key == null) {
+        throw new NullPointerException("map key");
+      }
+      internalGetMutableMetadata().getMutableMap().remove(key);
       return this;
     }
-    /**
-     * Use alternate mutation accessors instead.
-     */
+    /** Use alternate mutation accessors instead. */
     @java.lang.Deprecated
-    public java.util.Map
-        getMutableMetadata() {
+    public java.util.Map getMutableMetadata() {
       bitField0_ |= 0x00000008;
       return internalGetMutableMetadata().getMutableMap();
     }
     /**
+     *
+     *
      * 
      * Map that contains metadata about the Article Suggestion and the document
      * that it originates from.
@@ -1231,17 +1332,20 @@ public Builder removeMetadata(
      *
      * map<string, string> metadata = 4;
      */
-    public Builder putMetadata(
-        java.lang.String key,
-        java.lang.String value) {
-      if (key == null) { throw new NullPointerException("map key"); }
-      if (value == null) { throw new NullPointerException("map value"); }
-      internalGetMutableMetadata().getMutableMap()
-          .put(key, value);
+    public Builder putMetadata(java.lang.String key, java.lang.String value) {
+      if (key == null) {
+        throw new NullPointerException("map key");
+      }
+      if (value == null) {
+        throw new NullPointerException("map value");
+      }
+      internalGetMutableMetadata().getMutableMap().put(key, value);
       bitField0_ |= 0x00000008;
       return this;
     }
     /**
+     *
+     *
      * 
      * Map that contains metadata about the Article Suggestion and the document
      * that it originates from.
@@ -1249,16 +1353,16 @@ public Builder putMetadata(
      *
      * map<string, string> metadata = 4;
      */
-    public Builder putAllMetadata(
-        java.util.Map values) {
-      internalGetMutableMetadata().getMutableMap()
-          .putAll(values);
+    public Builder putAllMetadata(java.util.Map values) {
+      internalGetMutableMetadata().getMutableMap().putAll(values);
       bitField0_ |= 0x00000008;
       return this;
     }
 
     private java.lang.Object queryRecord_ = "";
     /**
+     *
+     *
      * 
      * The name of the answer record.
      * Format:
@@ -1266,13 +1370,13 @@ public Builder putAllMetadata(
      * 
* * string query_record = 5; + * * @return The queryRecord. */ public java.lang.String getQueryRecord() { java.lang.Object ref = queryRecord_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); queryRecord_ = s; return s; @@ -1281,6 +1385,8 @@ public java.lang.String getQueryRecord() { } } /** + * + * *
      * The name of the answer record.
      * Format:
@@ -1288,15 +1394,14 @@ public java.lang.String getQueryRecord() {
      * 
* * string query_record = 5; + * * @return The bytes for queryRecord. */ - public com.google.protobuf.ByteString - getQueryRecordBytes() { + public com.google.protobuf.ByteString getQueryRecordBytes() { java.lang.Object ref = queryRecord_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); queryRecord_ = b; return b; } else { @@ -1304,6 +1409,8 @@ public java.lang.String getQueryRecord() { } } /** + * + * *
      * The name of the answer record.
      * Format:
@@ -1311,18 +1418,22 @@ public java.lang.String getQueryRecord() {
      * 
* * string query_record = 5; + * * @param value The queryRecord to set. * @return This builder for chaining. */ - public Builder setQueryRecord( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setQueryRecord(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } queryRecord_ = value; bitField0_ |= 0x00000010; onChanged(); return this; } /** + * + * *
      * The name of the answer record.
      * Format:
@@ -1330,6 +1441,7 @@ public Builder setQueryRecord(
      * 
* * string query_record = 5; + * * @return This builder for chaining. */ public Builder clearQueryRecord() { @@ -1339,6 +1451,8 @@ public Builder clearQueryRecord() { return this; } /** + * + * *
      * The name of the answer record.
      * Format:
@@ -1346,12 +1460,14 @@ public Builder clearQueryRecord() {
      * 
* * string query_record = 5; + * * @param value The bytes for queryRecord to set. * @return This builder for chaining. */ - public Builder setQueryRecordBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setQueryRecordBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); queryRecord_ = value; bitField0_ |= 0x00000010; @@ -1361,6 +1477,8 @@ public Builder setQueryRecordBytes( private java.lang.Object source_ = ""; /** + * + * *
      * The knowledge document that this answer was extracted from.
      * Format:
@@ -1368,13 +1486,13 @@ public Builder setQueryRecordBytes(
      * 
* * string source = 6; + * * @return The source. */ public java.lang.String getSource() { java.lang.Object ref = source_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); source_ = s; return s; @@ -1383,6 +1501,8 @@ public java.lang.String getSource() { } } /** + * + * *
      * The knowledge document that this answer was extracted from.
      * Format:
@@ -1390,15 +1510,14 @@ public java.lang.String getSource() {
      * 
* * string source = 6; + * * @return The bytes for source. */ - public com.google.protobuf.ByteString - getSourceBytes() { + public com.google.protobuf.ByteString getSourceBytes() { java.lang.Object ref = source_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); source_ = b; return b; } else { @@ -1406,6 +1525,8 @@ public java.lang.String getSource() { } } /** + * + * *
      * The knowledge document that this answer was extracted from.
      * Format:
@@ -1413,18 +1534,22 @@ public java.lang.String getSource() {
      * 
* * string source = 6; + * * @param value The source to set. * @return This builder for chaining. */ - public Builder setSource( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setSource(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } source_ = value; bitField0_ |= 0x00000020; onChanged(); return this; } /** + * + * *
      * The knowledge document that this answer was extracted from.
      * Format:
@@ -1432,6 +1557,7 @@ public Builder setSource(
      * 
* * string source = 6; + * * @return This builder for chaining. */ public Builder clearSource() { @@ -1441,6 +1567,8 @@ public Builder clearSource() { return this; } /** + * + * *
      * The knowledge document that this answer was extracted from.
      * Format:
@@ -1448,21 +1576,23 @@ public Builder clearSource() {
      * 
* * string source = 6; + * * @param value The bytes for source to set. * @return This builder for chaining. */ - public Builder setSourceBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setSourceBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); source_ = value; bitField0_ |= 0x00000020; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1472,41 +1602,43 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.contactcenterinsights.v1.ArticleSuggestionData) } // @@protoc_insertion_point(class_scope:google.cloud.contactcenterinsights.v1.ArticleSuggestionData) - private static final com.google.cloud.contactcenterinsights.v1.ArticleSuggestionData DEFAULT_INSTANCE; + private static final com.google.cloud.contactcenterinsights.v1.ArticleSuggestionData + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.contactcenterinsights.v1.ArticleSuggestionData(); } - public static com.google.cloud.contactcenterinsights.v1.ArticleSuggestionData getDefaultInstance() { + public static com.google.cloud.contactcenterinsights.v1.ArticleSuggestionData + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ArticleSuggestionData parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ArticleSuggestionData parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1518,9 +1650,8 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.cloud.contactcenterinsights.v1.ArticleSuggestionData getDefaultInstanceForType() { + public com.google.cloud.contactcenterinsights.v1.ArticleSuggestionData + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ArticleSuggestionDataOrBuilder.java b/java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ArticleSuggestionDataOrBuilder.java similarity index 70% rename from owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ArticleSuggestionDataOrBuilder.java rename to java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ArticleSuggestionDataOrBuilder.java index 8fde2f7b91e6..d7c0dc5e6028 100644 --- a/owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ArticleSuggestionDataOrBuilder.java +++ b/java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ArticleSuggestionDataOrBuilder.java @@ -1,53 +1,81 @@ +/* + * 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. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/contactcenterinsights/v1/resources.proto package com.google.cloud.contactcenterinsights.v1; -public interface ArticleSuggestionDataOrBuilder extends +public interface ArticleSuggestionDataOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.contactcenterinsights.v1.ArticleSuggestionData) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Article title.
    * 
* * string title = 1; + * * @return The title. */ java.lang.String getTitle(); /** + * + * *
    * Article title.
    * 
* * string title = 1; + * * @return The bytes for title. */ - com.google.protobuf.ByteString - getTitleBytes(); + com.google.protobuf.ByteString getTitleBytes(); /** + * + * *
    * Article URI.
    * 
* * string uri = 2; + * * @return The uri. */ java.lang.String getUri(); /** + * + * *
    * Article URI.
    * 
* * string uri = 2; + * * @return The bytes for uri. */ - com.google.protobuf.ByteString - getUriBytes(); + com.google.protobuf.ByteString getUriBytes(); /** + * + * *
    * The system's confidence score that this article is a good match for this
    * conversation, ranging from 0.0 (completely uncertain) to 1.0 (completely
@@ -55,11 +83,14 @@ public interface ArticleSuggestionDataOrBuilder extends
    * 
* * float confidence_score = 3; + * * @return The confidenceScore. */ float getConfidenceScore(); /** + * + * *
    * Map that contains metadata about the Article Suggestion and the document
    * that it originates from.
@@ -69,6 +100,8 @@ public interface ArticleSuggestionDataOrBuilder extends
    */
   int getMetadataCount();
   /**
+   *
+   *
    * 
    * Map that contains metadata about the Article Suggestion and the document
    * that it originates from.
@@ -76,15 +109,13 @@ public interface ArticleSuggestionDataOrBuilder extends
    *
    * map<string, string> metadata = 4;
    */
-  boolean containsMetadata(
-      java.lang.String key);
-  /**
-   * Use {@link #getMetadataMap()} instead.
-   */
+  boolean containsMetadata(java.lang.String key);
+  /** Use {@link #getMetadataMap()} instead. */
   @java.lang.Deprecated
-  java.util.Map
-  getMetadata();
+  java.util.Map getMetadata();
   /**
+   *
+   *
    * 
    * Map that contains metadata about the Article Suggestion and the document
    * that it originates from.
@@ -92,9 +123,10 @@ boolean containsMetadata(
    *
    * map<string, string> metadata = 4;
    */
-  java.util.Map
-  getMetadataMap();
+  java.util.Map getMetadataMap();
   /**
+   *
+   *
    * 
    * Map that contains metadata about the Article Suggestion and the document
    * that it originates from.
@@ -103,11 +135,13 @@ boolean containsMetadata(
    * map<string, string> metadata = 4;
    */
   /* nullable */
-java.lang.String getMetadataOrDefault(
+  java.lang.String getMetadataOrDefault(
       java.lang.String key,
       /* nullable */
-java.lang.String defaultValue);
+      java.lang.String defaultValue);
   /**
+   *
+   *
    * 
    * Map that contains metadata about the Article Suggestion and the document
    * that it originates from.
@@ -115,10 +149,11 @@ java.lang.String getMetadataOrDefault(
    *
    * map<string, string> metadata = 4;
    */
-  java.lang.String getMetadataOrThrow(
-      java.lang.String key);
+  java.lang.String getMetadataOrThrow(java.lang.String key);
 
   /**
+   *
+   *
    * 
    * The name of the answer record.
    * Format:
@@ -126,10 +161,13 @@ java.lang.String getMetadataOrThrow(
    * 
* * string query_record = 5; + * * @return The queryRecord. */ java.lang.String getQueryRecord(); /** + * + * *
    * The name of the answer record.
    * Format:
@@ -137,12 +175,14 @@ java.lang.String getMetadataOrThrow(
    * 
* * string query_record = 5; + * * @return The bytes for queryRecord. */ - com.google.protobuf.ByteString - getQueryRecordBytes(); + com.google.protobuf.ByteString getQueryRecordBytes(); /** + * + * *
    * The knowledge document that this answer was extracted from.
    * Format:
@@ -150,10 +190,13 @@ java.lang.String getMetadataOrThrow(
    * 
* * string source = 6; + * * @return The source. */ java.lang.String getSource(); /** + * + * *
    * The knowledge document that this answer was extracted from.
    * Format:
@@ -161,8 +204,8 @@ java.lang.String getMetadataOrThrow(
    * 
* * string source = 6; + * * @return The bytes for source. */ - com.google.protobuf.ByteString - getSourceBytes(); + com.google.protobuf.ByteString getSourceBytes(); } diff --git a/owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/BulkAnalyzeConversationsMetadata.java b/java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/BulkAnalyzeConversationsMetadata.java similarity index 64% rename from owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/BulkAnalyzeConversationsMetadata.java rename to java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/BulkAnalyzeConversationsMetadata.java index a94d28b4a7ab..5ae68bb47194 100644 --- a/owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/BulkAnalyzeConversationsMetadata.java +++ b/java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/BulkAnalyzeConversationsMetadata.java @@ -1,60 +1,83 @@ +/* + * 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. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/contactcenterinsights/v1/contact_center_insights.proto package com.google.cloud.contactcenterinsights.v1; /** + * + * *
  * The metadata for a bulk analyze conversations operation.
  * 
* * Protobuf type {@code google.cloud.contactcenterinsights.v1.BulkAnalyzeConversationsMetadata} */ -public final class BulkAnalyzeConversationsMetadata extends - com.google.protobuf.GeneratedMessageV3 implements +public final class BulkAnalyzeConversationsMetadata extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.contactcenterinsights.v1.BulkAnalyzeConversationsMetadata) BulkAnalyzeConversationsMetadataOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use BulkAnalyzeConversationsMetadata.newBuilder() to construct. - private BulkAnalyzeConversationsMetadata(com.google.protobuf.GeneratedMessageV3.Builder builder) { + private BulkAnalyzeConversationsMetadata( + com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private BulkAnalyzeConversationsMetadata() { - } + + private BulkAnalyzeConversationsMetadata() {} @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new BulkAnalyzeConversationsMetadata(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto.internal_static_google_cloud_contactcenterinsights_v1_BulkAnalyzeConversationsMetadata_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto + .internal_static_google_cloud_contactcenterinsights_v1_BulkAnalyzeConversationsMetadata_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto.internal_static_google_cloud_contactcenterinsights_v1_BulkAnalyzeConversationsMetadata_fieldAccessorTable + return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto + .internal_static_google_cloud_contactcenterinsights_v1_BulkAnalyzeConversationsMetadata_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.contactcenterinsights.v1.BulkAnalyzeConversationsMetadata.class, com.google.cloud.contactcenterinsights.v1.BulkAnalyzeConversationsMetadata.Builder.class); + com.google.cloud.contactcenterinsights.v1.BulkAnalyzeConversationsMetadata.class, + com.google.cloud.contactcenterinsights.v1.BulkAnalyzeConversationsMetadata.Builder + .class); } public static final int CREATE_TIME_FIELD_NUMBER = 1; private com.google.protobuf.Timestamp createTime_; /** + * + * *
    * The time the operation was created.
    * 
* * .google.protobuf.Timestamp create_time = 1; + * * @return Whether the createTime field is set. */ @java.lang.Override @@ -62,11 +85,14 @@ public boolean hasCreateTime() { return createTime_ != null; } /** + * + * *
    * The time the operation was created.
    * 
* * .google.protobuf.Timestamp create_time = 1; + * * @return The createTime. */ @java.lang.Override @@ -74,6 +100,8 @@ public com.google.protobuf.Timestamp getCreateTime() { return createTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : createTime_; } /** + * + * *
    * The time the operation was created.
    * 
@@ -88,11 +116,14 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { public static final int END_TIME_FIELD_NUMBER = 2; private com.google.protobuf.Timestamp endTime_; /** + * + * *
    * The time the operation finished running.
    * 
* * .google.protobuf.Timestamp end_time = 2; + * * @return Whether the endTime field is set. */ @java.lang.Override @@ -100,11 +131,14 @@ public boolean hasEndTime() { return endTime_ != null; } /** + * + * *
    * The time the operation finished running.
    * 
* * .google.protobuf.Timestamp end_time = 2; + * * @return The endTime. */ @java.lang.Override @@ -112,6 +146,8 @@ public com.google.protobuf.Timestamp getEndTime() { return endTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : endTime_; } /** + * + * *
    * The time the operation finished running.
    * 
@@ -126,11 +162,15 @@ public com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder() { public static final int REQUEST_FIELD_NUMBER = 3; private com.google.cloud.contactcenterinsights.v1.BulkAnalyzeConversationsRequest request_; /** + * + * *
    * The original request for bulk analyze.
    * 
* - * .google.cloud.contactcenterinsights.v1.BulkAnalyzeConversationsRequest request = 3; + * .google.cloud.contactcenterinsights.v1.BulkAnalyzeConversationsRequest request = 3; + * + * * @return Whether the request field is set. */ @java.lang.Override @@ -138,37 +178,54 @@ public boolean hasRequest() { return request_ != null; } /** + * + * *
    * The original request for bulk analyze.
    * 
* - * .google.cloud.contactcenterinsights.v1.BulkAnalyzeConversationsRequest request = 3; + * .google.cloud.contactcenterinsights.v1.BulkAnalyzeConversationsRequest request = 3; + * + * * @return The request. */ @java.lang.Override public com.google.cloud.contactcenterinsights.v1.BulkAnalyzeConversationsRequest getRequest() { - return request_ == null ? com.google.cloud.contactcenterinsights.v1.BulkAnalyzeConversationsRequest.getDefaultInstance() : request_; + return request_ == null + ? com.google.cloud.contactcenterinsights.v1.BulkAnalyzeConversationsRequest + .getDefaultInstance() + : request_; } /** + * + * *
    * The original request for bulk analyze.
    * 
* - * .google.cloud.contactcenterinsights.v1.BulkAnalyzeConversationsRequest request = 3; + * .google.cloud.contactcenterinsights.v1.BulkAnalyzeConversationsRequest request = 3; + * */ @java.lang.Override - public com.google.cloud.contactcenterinsights.v1.BulkAnalyzeConversationsRequestOrBuilder getRequestOrBuilder() { - return request_ == null ? com.google.cloud.contactcenterinsights.v1.BulkAnalyzeConversationsRequest.getDefaultInstance() : request_; + public com.google.cloud.contactcenterinsights.v1.BulkAnalyzeConversationsRequestOrBuilder + getRequestOrBuilder() { + return request_ == null + ? com.google.cloud.contactcenterinsights.v1.BulkAnalyzeConversationsRequest + .getDefaultInstance() + : request_; } public static final int COMPLETED_ANALYSES_COUNT_FIELD_NUMBER = 4; private int completedAnalysesCount_ = 0; /** + * + * *
    * The number of requested analyses that have completed successfully so far.
    * 
* * int32 completed_analyses_count = 4; + * * @return The completedAnalysesCount. */ @java.lang.Override @@ -179,11 +236,14 @@ public int getCompletedAnalysesCount() { public static final int FAILED_ANALYSES_COUNT_FIELD_NUMBER = 5; private int failedAnalysesCount_ = 0; /** + * + * *
    * The number of requested analyses that have failed so far.
    * 
* * int32 failed_analyses_count = 5; + * * @return The failedAnalysesCount. */ @java.lang.Override @@ -194,12 +254,15 @@ public int getFailedAnalysesCount() { public static final int TOTAL_REQUESTED_ANALYSES_COUNT_FIELD_NUMBER = 6; private int totalRequestedAnalysesCount_ = 0; /** + * + * *
    * Total number of analyses requested. Computed by the number of conversations
    * returned by `filter` multiplied by `analysis_percentage` in the request.
    * 
* * int32 total_requested_analyses_count = 6; + * * @return The totalRequestedAnalysesCount. */ @java.lang.Override @@ -208,6 +271,7 @@ public int getTotalRequestedAnalysesCount() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -219,8 +283,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (createTime_ != null) { output.writeMessage(1, getCreateTime()); } @@ -249,28 +312,23 @@ public int getSerializedSize() { size = 0; if (createTime_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, getCreateTime()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getCreateTime()); } if (endTime_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, getEndTime()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getEndTime()); } if (request_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(3, getRequest()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getRequest()); } if (completedAnalysesCount_ != 0) { - size += com.google.protobuf.CodedOutputStream - .computeInt32Size(4, completedAnalysesCount_); + size += com.google.protobuf.CodedOutputStream.computeInt32Size(4, completedAnalysesCount_); } if (failedAnalysesCount_ != 0) { - size += com.google.protobuf.CodedOutputStream - .computeInt32Size(5, failedAnalysesCount_); + size += com.google.protobuf.CodedOutputStream.computeInt32Size(5, failedAnalysesCount_); } if (totalRequestedAnalysesCount_ != 0) { - size += com.google.protobuf.CodedOutputStream - .computeInt32Size(6, totalRequestedAnalysesCount_); + size += + com.google.protobuf.CodedOutputStream.computeInt32Size(6, totalRequestedAnalysesCount_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -280,34 +338,30 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } - if (!(obj instanceof com.google.cloud.contactcenterinsights.v1.BulkAnalyzeConversationsMetadata)) { + if (!(obj + instanceof com.google.cloud.contactcenterinsights.v1.BulkAnalyzeConversationsMetadata)) { return super.equals(obj); } - com.google.cloud.contactcenterinsights.v1.BulkAnalyzeConversationsMetadata other = (com.google.cloud.contactcenterinsights.v1.BulkAnalyzeConversationsMetadata) obj; + com.google.cloud.contactcenterinsights.v1.BulkAnalyzeConversationsMetadata other = + (com.google.cloud.contactcenterinsights.v1.BulkAnalyzeConversationsMetadata) obj; if (hasCreateTime() != other.hasCreateTime()) return false; if (hasCreateTime()) { - if (!getCreateTime() - .equals(other.getCreateTime())) return false; + if (!getCreateTime().equals(other.getCreateTime())) return false; } if (hasEndTime() != other.hasEndTime()) return false; if (hasEndTime()) { - if (!getEndTime() - .equals(other.getEndTime())) return false; + if (!getEndTime().equals(other.getEndTime())) return false; } if (hasRequest() != other.hasRequest()) return false; if (hasRequest()) { - if (!getRequest() - .equals(other.getRequest())) return false; - } - if (getCompletedAnalysesCount() - != other.getCompletedAnalysesCount()) return false; - if (getFailedAnalysesCount() - != other.getFailedAnalysesCount()) return false; - if (getTotalRequestedAnalysesCount() - != other.getTotalRequestedAnalysesCount()) return false; + if (!getRequest().equals(other.getRequest())) return false; + } + if (getCompletedAnalysesCount() != other.getCompletedAnalysesCount()) return false; + if (getFailedAnalysesCount() != other.getFailedAnalysesCount()) return false; + if (getTotalRequestedAnalysesCount() != other.getTotalRequestedAnalysesCount()) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -342,130 +396,145 @@ public int hashCode() { return hash; } - public static com.google.cloud.contactcenterinsights.v1.BulkAnalyzeConversationsMetadata parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.contactcenterinsights.v1.BulkAnalyzeConversationsMetadata + parseFrom(java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.contactcenterinsights.v1.BulkAnalyzeConversationsMetadata parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.contactcenterinsights.v1.BulkAnalyzeConversationsMetadata + parseFrom( + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.contactcenterinsights.v1.BulkAnalyzeConversationsMetadata parseFrom( - com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.contactcenterinsights.v1.BulkAnalyzeConversationsMetadata + parseFrom(com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.contactcenterinsights.v1.BulkAnalyzeConversationsMetadata parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.contactcenterinsights.v1.BulkAnalyzeConversationsMetadata + parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.contactcenterinsights.v1.BulkAnalyzeConversationsMetadata parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.contactcenterinsights.v1.BulkAnalyzeConversationsMetadata + parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.contactcenterinsights.v1.BulkAnalyzeConversationsMetadata parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.contactcenterinsights.v1.BulkAnalyzeConversationsMetadata + parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.contactcenterinsights.v1.BulkAnalyzeConversationsMetadata parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.contactcenterinsights.v1.BulkAnalyzeConversationsMetadata + parseFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } - public static com.google.cloud.contactcenterinsights.v1.BulkAnalyzeConversationsMetadata parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + + public static com.google.cloud.contactcenterinsights.v1.BulkAnalyzeConversationsMetadata + parseFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.contactcenterinsights.v1.BulkAnalyzeConversationsMetadata parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.contactcenterinsights.v1.BulkAnalyzeConversationsMetadata + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.contactcenterinsights.v1.BulkAnalyzeConversationsMetadata parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + + public static com.google.cloud.contactcenterinsights.v1.BulkAnalyzeConversationsMetadata + parseDelimitedFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.contactcenterinsights.v1.BulkAnalyzeConversationsMetadata parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.contactcenterinsights.v1.BulkAnalyzeConversationsMetadata + parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } - public static com.google.cloud.contactcenterinsights.v1.BulkAnalyzeConversationsMetadata parseFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + + public static com.google.cloud.contactcenterinsights.v1.BulkAnalyzeConversationsMetadata + parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.contactcenterinsights.v1.BulkAnalyzeConversationsMetadata prototype) { + + public static Builder newBuilder( + com.google.cloud.contactcenterinsights.v1.BulkAnalyzeConversationsMetadata prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * The metadata for a bulk analyze conversations operation.
    * 
* * Protobuf type {@code google.cloud.contactcenterinsights.v1.BulkAnalyzeConversationsMetadata} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.contactcenterinsights.v1.BulkAnalyzeConversationsMetadata) com.google.cloud.contactcenterinsights.v1.BulkAnalyzeConversationsMetadataOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto.internal_static_google_cloud_contactcenterinsights_v1_BulkAnalyzeConversationsMetadata_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto + .internal_static_google_cloud_contactcenterinsights_v1_BulkAnalyzeConversationsMetadata_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto.internal_static_google_cloud_contactcenterinsights_v1_BulkAnalyzeConversationsMetadata_fieldAccessorTable + return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto + .internal_static_google_cloud_contactcenterinsights_v1_BulkAnalyzeConversationsMetadata_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.contactcenterinsights.v1.BulkAnalyzeConversationsMetadata.class, com.google.cloud.contactcenterinsights.v1.BulkAnalyzeConversationsMetadata.Builder.class); + com.google.cloud.contactcenterinsights.v1.BulkAnalyzeConversationsMetadata.class, + com.google.cloud.contactcenterinsights.v1.BulkAnalyzeConversationsMetadata.Builder + .class); } - // Construct using com.google.cloud.contactcenterinsights.v1.BulkAnalyzeConversationsMetadata.newBuilder() - private Builder() { + // Construct using + // com.google.cloud.contactcenterinsights.v1.BulkAnalyzeConversationsMetadata.newBuilder() + private Builder() {} - } - - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -492,19 +561,22 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto.internal_static_google_cloud_contactcenterinsights_v1_BulkAnalyzeConversationsMetadata_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto + .internal_static_google_cloud_contactcenterinsights_v1_BulkAnalyzeConversationsMetadata_descriptor; } @java.lang.Override - public com.google.cloud.contactcenterinsights.v1.BulkAnalyzeConversationsMetadata getDefaultInstanceForType() { - return com.google.cloud.contactcenterinsights.v1.BulkAnalyzeConversationsMetadata.getDefaultInstance(); + public com.google.cloud.contactcenterinsights.v1.BulkAnalyzeConversationsMetadata + getDefaultInstanceForType() { + return com.google.cloud.contactcenterinsights.v1.BulkAnalyzeConversationsMetadata + .getDefaultInstance(); } @java.lang.Override public com.google.cloud.contactcenterinsights.v1.BulkAnalyzeConversationsMetadata build() { - com.google.cloud.contactcenterinsights.v1.BulkAnalyzeConversationsMetadata result = buildPartial(); + com.google.cloud.contactcenterinsights.v1.BulkAnalyzeConversationsMetadata result = + buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } @@ -512,29 +584,28 @@ public com.google.cloud.contactcenterinsights.v1.BulkAnalyzeConversationsMetadat } @java.lang.Override - public com.google.cloud.contactcenterinsights.v1.BulkAnalyzeConversationsMetadata buildPartial() { - com.google.cloud.contactcenterinsights.v1.BulkAnalyzeConversationsMetadata result = new com.google.cloud.contactcenterinsights.v1.BulkAnalyzeConversationsMetadata(this); - if (bitField0_ != 0) { buildPartial0(result); } + public com.google.cloud.contactcenterinsights.v1.BulkAnalyzeConversationsMetadata + buildPartial() { + com.google.cloud.contactcenterinsights.v1.BulkAnalyzeConversationsMetadata result = + new com.google.cloud.contactcenterinsights.v1.BulkAnalyzeConversationsMetadata(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } - private void buildPartial0(com.google.cloud.contactcenterinsights.v1.BulkAnalyzeConversationsMetadata result) { + private void buildPartial0( + com.google.cloud.contactcenterinsights.v1.BulkAnalyzeConversationsMetadata result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { - result.createTime_ = createTimeBuilder_ == null - ? createTime_ - : createTimeBuilder_.build(); + result.createTime_ = createTimeBuilder_ == null ? createTime_ : createTimeBuilder_.build(); } if (((from_bitField0_ & 0x00000002) != 0)) { - result.endTime_ = endTimeBuilder_ == null - ? endTime_ - : endTimeBuilder_.build(); + result.endTime_ = endTimeBuilder_ == null ? endTime_ : endTimeBuilder_.build(); } if (((from_bitField0_ & 0x00000004) != 0)) { - result.request_ = requestBuilder_ == null - ? request_ - : requestBuilder_.build(); + result.request_ = requestBuilder_ == null ? request_ : requestBuilder_.build(); } if (((from_bitField0_ & 0x00000008) != 0)) { result.completedAnalysesCount_ = completedAnalysesCount_; @@ -551,46 +622,52 @@ private void buildPartial0(com.google.cloud.contactcenterinsights.v1.BulkAnalyze public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { - if (other instanceof com.google.cloud.contactcenterinsights.v1.BulkAnalyzeConversationsMetadata) { - return mergeFrom((com.google.cloud.contactcenterinsights.v1.BulkAnalyzeConversationsMetadata)other); + if (other + instanceof com.google.cloud.contactcenterinsights.v1.BulkAnalyzeConversationsMetadata) { + return mergeFrom( + (com.google.cloud.contactcenterinsights.v1.BulkAnalyzeConversationsMetadata) other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.google.cloud.contactcenterinsights.v1.BulkAnalyzeConversationsMetadata other) { - if (other == com.google.cloud.contactcenterinsights.v1.BulkAnalyzeConversationsMetadata.getDefaultInstance()) return this; + public Builder mergeFrom( + com.google.cloud.contactcenterinsights.v1.BulkAnalyzeConversationsMetadata other) { + if (other + == com.google.cloud.contactcenterinsights.v1.BulkAnalyzeConversationsMetadata + .getDefaultInstance()) return this; if (other.hasCreateTime()) { mergeCreateTime(other.getCreateTime()); } @@ -635,48 +712,49 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - input.readMessage( - getCreateTimeFieldBuilder().getBuilder(), - extensionRegistry); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: { - input.readMessage( - getEndTimeFieldBuilder().getBuilder(), - extensionRegistry); - bitField0_ |= 0x00000002; - break; - } // case 18 - case 26: { - input.readMessage( - getRequestFieldBuilder().getBuilder(), - extensionRegistry); - bitField0_ |= 0x00000004; - break; - } // case 26 - case 32: { - completedAnalysesCount_ = input.readInt32(); - bitField0_ |= 0x00000008; - break; - } // case 32 - case 40: { - failedAnalysesCount_ = input.readInt32(); - bitField0_ |= 0x00000010; - break; - } // case 40 - case 48: { - totalRequestedAnalysesCount_ = input.readInt32(); - bitField0_ |= 0x00000020; - break; - } // case 48 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + input.readMessage(getCreateTimeFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: + { + input.readMessage(getEndTimeFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000002; + break; + } // case 18 + case 26: + { + input.readMessage(getRequestFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000004; + break; + } // case 26 + case 32: + { + completedAnalysesCount_ = input.readInt32(); + bitField0_ |= 0x00000008; + break; + } // case 32 + case 40: + { + failedAnalysesCount_ = input.readInt32(); + bitField0_ |= 0x00000010; + break; + } // case 40 + case 48: + { + totalRequestedAnalysesCount_ = input.readInt32(); + bitField0_ |= 0x00000020; + break; + } // case 48 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -686,38 +764,52 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private com.google.protobuf.Timestamp createTime_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> createTimeBuilder_; + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder> + createTimeBuilder_; /** + * + * *
      * The time the operation was created.
      * 
* * .google.protobuf.Timestamp create_time = 1; + * * @return Whether the createTime field is set. */ public boolean hasCreateTime() { return ((bitField0_ & 0x00000001) != 0); } /** + * + * *
      * The time the operation was created.
      * 
* * .google.protobuf.Timestamp create_time = 1; + * * @return The createTime. */ public com.google.protobuf.Timestamp getCreateTime() { if (createTimeBuilder_ == null) { - return createTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : createTime_; + return createTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : createTime_; } else { return createTimeBuilder_.getMessage(); } } /** + * + * *
      * The time the operation was created.
      * 
@@ -738,14 +830,15 @@ public Builder setCreateTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * The time the operation was created.
      * 
* * .google.protobuf.Timestamp create_time = 1; */ - public Builder setCreateTime( - com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setCreateTime(com.google.protobuf.Timestamp.Builder builderForValue) { if (createTimeBuilder_ == null) { createTime_ = builderForValue.build(); } else { @@ -756,6 +849,8 @@ public Builder setCreateTime( return this; } /** + * + * *
      * The time the operation was created.
      * 
@@ -764,9 +859,9 @@ public Builder setCreateTime( */ public Builder mergeCreateTime(com.google.protobuf.Timestamp value) { if (createTimeBuilder_ == null) { - if (((bitField0_ & 0x00000001) != 0) && - createTime_ != null && - createTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { + if (((bitField0_ & 0x00000001) != 0) + && createTime_ != null + && createTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { getCreateTimeBuilder().mergeFrom(value); } else { createTime_ = value; @@ -779,6 +874,8 @@ public Builder mergeCreateTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * The time the operation was created.
      * 
@@ -796,6 +893,8 @@ public Builder clearCreateTime() { return this; } /** + * + * *
      * The time the operation was created.
      * 
@@ -808,6 +907,8 @@ public com.google.protobuf.Timestamp.Builder getCreateTimeBuilder() { return getCreateTimeFieldBuilder().getBuilder(); } /** + * + * *
      * The time the operation was created.
      * 
@@ -818,11 +919,14 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { if (createTimeBuilder_ != null) { return createTimeBuilder_.getMessageOrBuilder(); } else { - return createTime_ == null ? - com.google.protobuf.Timestamp.getDefaultInstance() : createTime_; + return createTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : createTime_; } } /** + * + * *
      * The time the operation was created.
      * 
@@ -830,14 +934,17 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { * .google.protobuf.Timestamp create_time = 1; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder> getCreateTimeFieldBuilder() { if (createTimeBuilder_ == null) { - createTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( - getCreateTime(), - getParentForChildren(), - isClean()); + createTimeBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder>( + getCreateTime(), getParentForChildren(), isClean()); createTime_ = null; } return createTimeBuilder_; @@ -845,24 +952,33 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { private com.google.protobuf.Timestamp endTime_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> endTimeBuilder_; + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder> + endTimeBuilder_; /** + * + * *
      * The time the operation finished running.
      * 
* * .google.protobuf.Timestamp end_time = 2; + * * @return Whether the endTime field is set. */ public boolean hasEndTime() { return ((bitField0_ & 0x00000002) != 0); } /** + * + * *
      * The time the operation finished running.
      * 
* * .google.protobuf.Timestamp end_time = 2; + * * @return The endTime. */ public com.google.protobuf.Timestamp getEndTime() { @@ -873,6 +989,8 @@ public com.google.protobuf.Timestamp getEndTime() { } } /** + * + * *
      * The time the operation finished running.
      * 
@@ -893,14 +1011,15 @@ public Builder setEndTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * The time the operation finished running.
      * 
* * .google.protobuf.Timestamp end_time = 2; */ - public Builder setEndTime( - com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setEndTime(com.google.protobuf.Timestamp.Builder builderForValue) { if (endTimeBuilder_ == null) { endTime_ = builderForValue.build(); } else { @@ -911,6 +1030,8 @@ public Builder setEndTime( return this; } /** + * + * *
      * The time the operation finished running.
      * 
@@ -919,9 +1040,9 @@ public Builder setEndTime( */ public Builder mergeEndTime(com.google.protobuf.Timestamp value) { if (endTimeBuilder_ == null) { - if (((bitField0_ & 0x00000002) != 0) && - endTime_ != null && - endTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { + if (((bitField0_ & 0x00000002) != 0) + && endTime_ != null + && endTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { getEndTimeBuilder().mergeFrom(value); } else { endTime_ = value; @@ -934,6 +1055,8 @@ public Builder mergeEndTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * The time the operation finished running.
      * 
@@ -951,6 +1074,8 @@ public Builder clearEndTime() { return this; } /** + * + * *
      * The time the operation finished running.
      * 
@@ -963,6 +1088,8 @@ public com.google.protobuf.Timestamp.Builder getEndTimeBuilder() { return getEndTimeFieldBuilder().getBuilder(); } /** + * + * *
      * The time the operation finished running.
      * 
@@ -973,11 +1100,12 @@ public com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder() { if (endTimeBuilder_ != null) { return endTimeBuilder_.getMessageOrBuilder(); } else { - return endTime_ == null ? - com.google.protobuf.Timestamp.getDefaultInstance() : endTime_; + return endTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : endTime_; } } /** + * + * *
      * The time the operation finished running.
      * 
@@ -985,14 +1113,17 @@ public com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder() { * .google.protobuf.Timestamp end_time = 2; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder> getEndTimeFieldBuilder() { if (endTimeBuilder_ == null) { - endTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( - getEndTime(), - getParentForChildren(), - isClean()); + endTimeBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder>( + getEndTime(), getParentForChildren(), isClean()); endTime_ = null; } return endTimeBuilder_; @@ -1000,41 +1131,59 @@ public com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder() { private com.google.cloud.contactcenterinsights.v1.BulkAnalyzeConversationsRequest request_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.contactcenterinsights.v1.BulkAnalyzeConversationsRequest, com.google.cloud.contactcenterinsights.v1.BulkAnalyzeConversationsRequest.Builder, com.google.cloud.contactcenterinsights.v1.BulkAnalyzeConversationsRequestOrBuilder> requestBuilder_; + com.google.cloud.contactcenterinsights.v1.BulkAnalyzeConversationsRequest, + com.google.cloud.contactcenterinsights.v1.BulkAnalyzeConversationsRequest.Builder, + com.google.cloud.contactcenterinsights.v1.BulkAnalyzeConversationsRequestOrBuilder> + requestBuilder_; /** + * + * *
      * The original request for bulk analyze.
      * 
* - * .google.cloud.contactcenterinsights.v1.BulkAnalyzeConversationsRequest request = 3; + * .google.cloud.contactcenterinsights.v1.BulkAnalyzeConversationsRequest request = 3; + * + * * @return Whether the request field is set. */ public boolean hasRequest() { return ((bitField0_ & 0x00000004) != 0); } /** + * + * *
      * The original request for bulk analyze.
      * 
* - * .google.cloud.contactcenterinsights.v1.BulkAnalyzeConversationsRequest request = 3; + * .google.cloud.contactcenterinsights.v1.BulkAnalyzeConversationsRequest request = 3; + * + * * @return The request. */ public com.google.cloud.contactcenterinsights.v1.BulkAnalyzeConversationsRequest getRequest() { if (requestBuilder_ == null) { - return request_ == null ? com.google.cloud.contactcenterinsights.v1.BulkAnalyzeConversationsRequest.getDefaultInstance() : request_; + return request_ == null + ? com.google.cloud.contactcenterinsights.v1.BulkAnalyzeConversationsRequest + .getDefaultInstance() + : request_; } else { return requestBuilder_.getMessage(); } } /** + * + * *
      * The original request for bulk analyze.
      * 
* - * .google.cloud.contactcenterinsights.v1.BulkAnalyzeConversationsRequest request = 3; + * .google.cloud.contactcenterinsights.v1.BulkAnalyzeConversationsRequest request = 3; + * */ - public Builder setRequest(com.google.cloud.contactcenterinsights.v1.BulkAnalyzeConversationsRequest value) { + public Builder setRequest( + com.google.cloud.contactcenterinsights.v1.BulkAnalyzeConversationsRequest value) { if (requestBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -1048,14 +1197,18 @@ public Builder setRequest(com.google.cloud.contactcenterinsights.v1.BulkAnalyzeC return this; } /** + * + * *
      * The original request for bulk analyze.
      * 
* - * .google.cloud.contactcenterinsights.v1.BulkAnalyzeConversationsRequest request = 3; + * .google.cloud.contactcenterinsights.v1.BulkAnalyzeConversationsRequest request = 3; + * */ public Builder setRequest( - com.google.cloud.contactcenterinsights.v1.BulkAnalyzeConversationsRequest.Builder builderForValue) { + com.google.cloud.contactcenterinsights.v1.BulkAnalyzeConversationsRequest.Builder + builderForValue) { if (requestBuilder_ == null) { request_ = builderForValue.build(); } else { @@ -1066,17 +1219,23 @@ public Builder setRequest( return this; } /** + * + * *
      * The original request for bulk analyze.
      * 
* - * .google.cloud.contactcenterinsights.v1.BulkAnalyzeConversationsRequest request = 3; + * .google.cloud.contactcenterinsights.v1.BulkAnalyzeConversationsRequest request = 3; + * */ - public Builder mergeRequest(com.google.cloud.contactcenterinsights.v1.BulkAnalyzeConversationsRequest value) { + public Builder mergeRequest( + com.google.cloud.contactcenterinsights.v1.BulkAnalyzeConversationsRequest value) { if (requestBuilder_ == null) { - if (((bitField0_ & 0x00000004) != 0) && - request_ != null && - request_ != com.google.cloud.contactcenterinsights.v1.BulkAnalyzeConversationsRequest.getDefaultInstance()) { + if (((bitField0_ & 0x00000004) != 0) + && request_ != null + && request_ + != com.google.cloud.contactcenterinsights.v1.BulkAnalyzeConversationsRequest + .getDefaultInstance()) { getRequestBuilder().mergeFrom(value); } else { request_ = value; @@ -1089,11 +1248,14 @@ public Builder mergeRequest(com.google.cloud.contactcenterinsights.v1.BulkAnalyz return this; } /** + * + * *
      * The original request for bulk analyze.
      * 
* - * .google.cloud.contactcenterinsights.v1.BulkAnalyzeConversationsRequest request = 3; + * .google.cloud.contactcenterinsights.v1.BulkAnalyzeConversationsRequest request = 3; + * */ public Builder clearRequest() { bitField0_ = (bitField0_ & ~0x00000004); @@ -1106,60 +1268,79 @@ public Builder clearRequest() { return this; } /** + * + * *
      * The original request for bulk analyze.
      * 
* - * .google.cloud.contactcenterinsights.v1.BulkAnalyzeConversationsRequest request = 3; + * .google.cloud.contactcenterinsights.v1.BulkAnalyzeConversationsRequest request = 3; + * */ - public com.google.cloud.contactcenterinsights.v1.BulkAnalyzeConversationsRequest.Builder getRequestBuilder() { + public com.google.cloud.contactcenterinsights.v1.BulkAnalyzeConversationsRequest.Builder + getRequestBuilder() { bitField0_ |= 0x00000004; onChanged(); return getRequestFieldBuilder().getBuilder(); } /** + * + * *
      * The original request for bulk analyze.
      * 
* - * .google.cloud.contactcenterinsights.v1.BulkAnalyzeConversationsRequest request = 3; + * .google.cloud.contactcenterinsights.v1.BulkAnalyzeConversationsRequest request = 3; + * */ - public com.google.cloud.contactcenterinsights.v1.BulkAnalyzeConversationsRequestOrBuilder getRequestOrBuilder() { + public com.google.cloud.contactcenterinsights.v1.BulkAnalyzeConversationsRequestOrBuilder + getRequestOrBuilder() { if (requestBuilder_ != null) { return requestBuilder_.getMessageOrBuilder(); } else { - return request_ == null ? - com.google.cloud.contactcenterinsights.v1.BulkAnalyzeConversationsRequest.getDefaultInstance() : request_; + return request_ == null + ? com.google.cloud.contactcenterinsights.v1.BulkAnalyzeConversationsRequest + .getDefaultInstance() + : request_; } } /** + * + * *
      * The original request for bulk analyze.
      * 
* - * .google.cloud.contactcenterinsights.v1.BulkAnalyzeConversationsRequest request = 3; + * .google.cloud.contactcenterinsights.v1.BulkAnalyzeConversationsRequest request = 3; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.contactcenterinsights.v1.BulkAnalyzeConversationsRequest, com.google.cloud.contactcenterinsights.v1.BulkAnalyzeConversationsRequest.Builder, com.google.cloud.contactcenterinsights.v1.BulkAnalyzeConversationsRequestOrBuilder> + com.google.cloud.contactcenterinsights.v1.BulkAnalyzeConversationsRequest, + com.google.cloud.contactcenterinsights.v1.BulkAnalyzeConversationsRequest.Builder, + com.google.cloud.contactcenterinsights.v1.BulkAnalyzeConversationsRequestOrBuilder> getRequestFieldBuilder() { if (requestBuilder_ == null) { - requestBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.contactcenterinsights.v1.BulkAnalyzeConversationsRequest, com.google.cloud.contactcenterinsights.v1.BulkAnalyzeConversationsRequest.Builder, com.google.cloud.contactcenterinsights.v1.BulkAnalyzeConversationsRequestOrBuilder>( - getRequest(), - getParentForChildren(), - isClean()); + requestBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.contactcenterinsights.v1.BulkAnalyzeConversationsRequest, + com.google.cloud.contactcenterinsights.v1.BulkAnalyzeConversationsRequest.Builder, + com.google.cloud.contactcenterinsights.v1.BulkAnalyzeConversationsRequestOrBuilder>( + getRequest(), getParentForChildren(), isClean()); request_ = null; } return requestBuilder_; } - private int completedAnalysesCount_ ; + private int completedAnalysesCount_; /** + * + * *
      * The number of requested analyses that have completed successfully so far.
      * 
* * int32 completed_analyses_count = 4; + * * @return The completedAnalysesCount. */ @java.lang.Override @@ -1167,27 +1348,33 @@ public int getCompletedAnalysesCount() { return completedAnalysesCount_; } /** + * + * *
      * The number of requested analyses that have completed successfully so far.
      * 
* * int32 completed_analyses_count = 4; + * * @param value The completedAnalysesCount to set. * @return This builder for chaining. */ public Builder setCompletedAnalysesCount(int value) { - + completedAnalysesCount_ = value; bitField0_ |= 0x00000008; onChanged(); return this; } /** + * + * *
      * The number of requested analyses that have completed successfully so far.
      * 
* * int32 completed_analyses_count = 4; + * * @return This builder for chaining. */ public Builder clearCompletedAnalysesCount() { @@ -1197,13 +1384,16 @@ public Builder clearCompletedAnalysesCount() { return this; } - private int failedAnalysesCount_ ; + private int failedAnalysesCount_; /** + * + * *
      * The number of requested analyses that have failed so far.
      * 
* * int32 failed_analyses_count = 5; + * * @return The failedAnalysesCount. */ @java.lang.Override @@ -1211,27 +1401,33 @@ public int getFailedAnalysesCount() { return failedAnalysesCount_; } /** + * + * *
      * The number of requested analyses that have failed so far.
      * 
* * int32 failed_analyses_count = 5; + * * @param value The failedAnalysesCount to set. * @return This builder for chaining. */ public Builder setFailedAnalysesCount(int value) { - + failedAnalysesCount_ = value; bitField0_ |= 0x00000010; onChanged(); return this; } /** + * + * *
      * The number of requested analyses that have failed so far.
      * 
* * int32 failed_analyses_count = 5; + * * @return This builder for chaining. */ public Builder clearFailedAnalysesCount() { @@ -1241,14 +1437,17 @@ public Builder clearFailedAnalysesCount() { return this; } - private int totalRequestedAnalysesCount_ ; + private int totalRequestedAnalysesCount_; /** + * + * *
      * Total number of analyses requested. Computed by the number of conversations
      * returned by `filter` multiplied by `analysis_percentage` in the request.
      * 
* * int32 total_requested_analyses_count = 6; + * * @return The totalRequestedAnalysesCount. */ @java.lang.Override @@ -1256,29 +1455,35 @@ public int getTotalRequestedAnalysesCount() { return totalRequestedAnalysesCount_; } /** + * + * *
      * Total number of analyses requested. Computed by the number of conversations
      * returned by `filter` multiplied by `analysis_percentage` in the request.
      * 
* * int32 total_requested_analyses_count = 6; + * * @param value The totalRequestedAnalysesCount to set. * @return This builder for chaining. */ public Builder setTotalRequestedAnalysesCount(int value) { - + totalRequestedAnalysesCount_ = value; bitField0_ |= 0x00000020; onChanged(); return this; } /** + * + * *
      * Total number of analyses requested. Computed by the number of conversations
      * returned by `filter` multiplied by `analysis_percentage` in the request.
      * 
* * int32 total_requested_analyses_count = 6; + * * @return This builder for chaining. */ public Builder clearTotalRequestedAnalysesCount() { @@ -1287,9 +1492,9 @@ public Builder clearTotalRequestedAnalysesCount() { onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1299,41 +1504,44 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.contactcenterinsights.v1.BulkAnalyzeConversationsMetadata) } // @@protoc_insertion_point(class_scope:google.cloud.contactcenterinsights.v1.BulkAnalyzeConversationsMetadata) - private static final com.google.cloud.contactcenterinsights.v1.BulkAnalyzeConversationsMetadata DEFAULT_INSTANCE; + private static final com.google.cloud.contactcenterinsights.v1.BulkAnalyzeConversationsMetadata + DEFAULT_INSTANCE; + static { - DEFAULT_INSTANCE = new com.google.cloud.contactcenterinsights.v1.BulkAnalyzeConversationsMetadata(); + DEFAULT_INSTANCE = + new com.google.cloud.contactcenterinsights.v1.BulkAnalyzeConversationsMetadata(); } - public static com.google.cloud.contactcenterinsights.v1.BulkAnalyzeConversationsMetadata getDefaultInstance() { + public static com.google.cloud.contactcenterinsights.v1.BulkAnalyzeConversationsMetadata + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public BulkAnalyzeConversationsMetadata parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public BulkAnalyzeConversationsMetadata parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1345,9 +1553,8 @@ public com.google.protobuf.Parser getParserFor } @java.lang.Override - public com.google.cloud.contactcenterinsights.v1.BulkAnalyzeConversationsMetadata getDefaultInstanceForType() { + public com.google.cloud.contactcenterinsights.v1.BulkAnalyzeConversationsMetadata + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/BulkAnalyzeConversationsMetadataOrBuilder.java b/java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/BulkAnalyzeConversationsMetadataOrBuilder.java similarity index 75% rename from owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/BulkAnalyzeConversationsMetadataOrBuilder.java rename to java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/BulkAnalyzeConversationsMetadataOrBuilder.java index 54dc83f9a766..f0f97e2611e1 100644 --- a/owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/BulkAnalyzeConversationsMetadataOrBuilder.java +++ b/java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/BulkAnalyzeConversationsMetadataOrBuilder.java @@ -1,31 +1,55 @@ +/* + * 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. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/contactcenterinsights/v1/contact_center_insights.proto package com.google.cloud.contactcenterinsights.v1; -public interface BulkAnalyzeConversationsMetadataOrBuilder extends +public interface BulkAnalyzeConversationsMetadataOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.contactcenterinsights.v1.BulkAnalyzeConversationsMetadata) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * The time the operation was created.
    * 
* * .google.protobuf.Timestamp create_time = 1; + * * @return Whether the createTime field is set. */ boolean hasCreateTime(); /** + * + * *
    * The time the operation was created.
    * 
* * .google.protobuf.Timestamp create_time = 1; + * * @return The createTime. */ com.google.protobuf.Timestamp getCreateTime(); /** + * + * *
    * The time the operation was created.
    * 
@@ -35,24 +59,32 @@ public interface BulkAnalyzeConversationsMetadataOrBuilder extends com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder(); /** + * + * *
    * The time the operation finished running.
    * 
* * .google.protobuf.Timestamp end_time = 2; + * * @return Whether the endTime field is set. */ boolean hasEndTime(); /** + * + * *
    * The time the operation finished running.
    * 
* * .google.protobuf.Timestamp end_time = 2; + * * @return The endTime. */ com.google.protobuf.Timestamp getEndTime(); /** + * + * *
    * The time the operation finished running.
    * 
@@ -62,59 +94,80 @@ public interface BulkAnalyzeConversationsMetadataOrBuilder extends com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder(); /** + * + * *
    * The original request for bulk analyze.
    * 
* - * .google.cloud.contactcenterinsights.v1.BulkAnalyzeConversationsRequest request = 3; + * .google.cloud.contactcenterinsights.v1.BulkAnalyzeConversationsRequest request = 3; + * + * * @return Whether the request field is set. */ boolean hasRequest(); /** + * + * *
    * The original request for bulk analyze.
    * 
* - * .google.cloud.contactcenterinsights.v1.BulkAnalyzeConversationsRequest request = 3; + * .google.cloud.contactcenterinsights.v1.BulkAnalyzeConversationsRequest request = 3; + * + * * @return The request. */ com.google.cloud.contactcenterinsights.v1.BulkAnalyzeConversationsRequest getRequest(); /** + * + * *
    * The original request for bulk analyze.
    * 
* - * .google.cloud.contactcenterinsights.v1.BulkAnalyzeConversationsRequest request = 3; + * .google.cloud.contactcenterinsights.v1.BulkAnalyzeConversationsRequest request = 3; + * */ - com.google.cloud.contactcenterinsights.v1.BulkAnalyzeConversationsRequestOrBuilder getRequestOrBuilder(); + com.google.cloud.contactcenterinsights.v1.BulkAnalyzeConversationsRequestOrBuilder + getRequestOrBuilder(); /** + * + * *
    * The number of requested analyses that have completed successfully so far.
    * 
* * int32 completed_analyses_count = 4; + * * @return The completedAnalysesCount. */ int getCompletedAnalysesCount(); /** + * + * *
    * The number of requested analyses that have failed so far.
    * 
* * int32 failed_analyses_count = 5; + * * @return The failedAnalysesCount. */ int getFailedAnalysesCount(); /** + * + * *
    * Total number of analyses requested. Computed by the number of conversations
    * returned by `filter` multiplied by `analysis_percentage` in the request.
    * 
* * int32 total_requested_analyses_count = 6; + * * @return The totalRequestedAnalysesCount. */ int getTotalRequestedAnalysesCount(); diff --git a/owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/BulkAnalyzeConversationsRequest.java b/java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/BulkAnalyzeConversationsRequest.java similarity index 64% rename from owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/BulkAnalyzeConversationsRequest.java rename to java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/BulkAnalyzeConversationsRequest.java index ccee6024f7fc..82ad5ebcce97 100644 --- a/owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/BulkAnalyzeConversationsRequest.java +++ b/java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/BulkAnalyzeConversationsRequest.java @@ -1,24 +1,43 @@ +/* + * 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. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/contactcenterinsights/v1/contact_center_insights.proto package com.google.cloud.contactcenterinsights.v1; /** + * + * *
  * The request to analyze conversations in bulk.
  * 
* * Protobuf type {@code google.cloud.contactcenterinsights.v1.BulkAnalyzeConversationsRequest} */ -public final class BulkAnalyzeConversationsRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class BulkAnalyzeConversationsRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.contactcenterinsights.v1.BulkAnalyzeConversationsRequest) BulkAnalyzeConversationsRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use BulkAnalyzeConversationsRequest.newBuilder() to construct. - private BulkAnalyzeConversationsRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { + private BulkAnalyzeConversationsRequest( + com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private BulkAnalyzeConversationsRequest() { parent_ = ""; filter_ = ""; @@ -26,38 +45,46 @@ private BulkAnalyzeConversationsRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new BulkAnalyzeConversationsRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto.internal_static_google_cloud_contactcenterinsights_v1_BulkAnalyzeConversationsRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto + .internal_static_google_cloud_contactcenterinsights_v1_BulkAnalyzeConversationsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto.internal_static_google_cloud_contactcenterinsights_v1_BulkAnalyzeConversationsRequest_fieldAccessorTable + return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto + .internal_static_google_cloud_contactcenterinsights_v1_BulkAnalyzeConversationsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.contactcenterinsights.v1.BulkAnalyzeConversationsRequest.class, com.google.cloud.contactcenterinsights.v1.BulkAnalyzeConversationsRequest.Builder.class); + com.google.cloud.contactcenterinsights.v1.BulkAnalyzeConversationsRequest.class, + com.google.cloud.contactcenterinsights.v1.BulkAnalyzeConversationsRequest.Builder + .class); } public static final int PARENT_FIELD_NUMBER = 1; + @SuppressWarnings("serial") private volatile java.lang.Object parent_ = ""; /** + * + * *
    * Required. The parent resource to create analyses in.
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The parent. */ @java.lang.Override @@ -66,29 +93,31 @@ public java.lang.String getParent() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; } } /** + * + * *
    * Required. The parent resource to create analyses in.
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for parent. */ @java.lang.Override - public com.google.protobuf.ByteString - getParentBytes() { + public com.google.protobuf.ByteString getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); parent_ = b; return b; } else { @@ -97,14 +126,18 @@ public java.lang.String getParent() { } public static final int FILTER_FIELD_NUMBER = 2; + @SuppressWarnings("serial") private volatile java.lang.Object filter_ = ""; /** + * + * *
    * Required. Filter used to select the subset of conversations to analyze.
    * 
* * string filter = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The filter. */ @java.lang.Override @@ -113,29 +146,29 @@ public java.lang.String getFilter() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); filter_ = s; return s; } } /** + * + * *
    * Required. Filter used to select the subset of conversations to analyze.
    * 
* * string filter = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for filter. */ @java.lang.Override - public com.google.protobuf.ByteString - getFilterBytes() { + public com.google.protobuf.ByteString getFilterBytes() { java.lang.Object ref = filter_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); filter_ = b; return b; } else { @@ -146,12 +179,15 @@ public java.lang.String getFilter() { public static final int ANALYSIS_PERCENTAGE_FIELD_NUMBER = 3; private float analysisPercentage_ = 0F; /** + * + * *
    * Required. Percentage of selected conversation to analyze, between
    * [0, 100].
    * 
* * float analysis_percentage = 3 [(.google.api.field_behavior) = REQUIRED]; + * * @return The analysisPercentage. */ @java.lang.Override @@ -162,12 +198,15 @@ public float getAnalysisPercentage() { public static final int ANNOTATOR_SELECTOR_FIELD_NUMBER = 8; private com.google.cloud.contactcenterinsights.v1.AnnotatorSelector annotatorSelector_; /** + * + * *
    * To select the annotators to run and the phrase matchers to use
    * (if any). If not specified, all annotators will be run.
    * 
* * .google.cloud.contactcenterinsights.v1.AnnotatorSelector annotator_selector = 8; + * * @return Whether the annotatorSelector field is set. */ @java.lang.Override @@ -175,19 +214,26 @@ public boolean hasAnnotatorSelector() { return annotatorSelector_ != null; } /** + * + * *
    * To select the annotators to run and the phrase matchers to use
    * (if any). If not specified, all annotators will be run.
    * 
* * .google.cloud.contactcenterinsights.v1.AnnotatorSelector annotator_selector = 8; + * * @return The annotatorSelector. */ @java.lang.Override public com.google.cloud.contactcenterinsights.v1.AnnotatorSelector getAnnotatorSelector() { - return annotatorSelector_ == null ? com.google.cloud.contactcenterinsights.v1.AnnotatorSelector.getDefaultInstance() : annotatorSelector_; + return annotatorSelector_ == null + ? com.google.cloud.contactcenterinsights.v1.AnnotatorSelector.getDefaultInstance() + : annotatorSelector_; } /** + * + * *
    * To select the annotators to run and the phrase matchers to use
    * (if any). If not specified, all annotators will be run.
@@ -196,11 +242,15 @@ public com.google.cloud.contactcenterinsights.v1.AnnotatorSelector getAnnotatorS
    * .google.cloud.contactcenterinsights.v1.AnnotatorSelector annotator_selector = 8;
    */
   @java.lang.Override
-  public com.google.cloud.contactcenterinsights.v1.AnnotatorSelectorOrBuilder getAnnotatorSelectorOrBuilder() {
-    return annotatorSelector_ == null ? com.google.cloud.contactcenterinsights.v1.AnnotatorSelector.getDefaultInstance() : annotatorSelector_;
+  public com.google.cloud.contactcenterinsights.v1.AnnotatorSelectorOrBuilder
+      getAnnotatorSelectorOrBuilder() {
+    return annotatorSelector_ == null
+        ? com.google.cloud.contactcenterinsights.v1.AnnotatorSelector.getDefaultInstance()
+        : annotatorSelector_;
   }
 
   private byte memoizedIsInitialized = -1;
+
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -212,8 +262,7 @@ public final boolean isInitialized() {
   }
 
   @java.lang.Override
-  public void writeTo(com.google.protobuf.CodedOutputStream output)
-                      throws java.io.IOException {
+  public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
     if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) {
       com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_);
     }
@@ -242,12 +291,10 @@ public int getSerializedSize() {
       size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, filter_);
     }
     if (java.lang.Float.floatToRawIntBits(analysisPercentage_) != 0) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeFloatSize(3, analysisPercentage_);
+      size += com.google.protobuf.CodedOutputStream.computeFloatSize(3, analysisPercentage_);
     }
     if (annotatorSelector_ != null) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeMessageSize(8, getAnnotatorSelector());
+      size += com.google.protobuf.CodedOutputStream.computeMessageSize(8, getAnnotatorSelector());
     }
     size += getUnknownFields().getSerializedSize();
     memoizedSize = size;
@@ -257,24 +304,22 @@ public int getSerializedSize() {
   @java.lang.Override
   public boolean equals(final java.lang.Object obj) {
     if (obj == this) {
-     return true;
+      return true;
     }
-    if (!(obj instanceof com.google.cloud.contactcenterinsights.v1.BulkAnalyzeConversationsRequest)) {
+    if (!(obj
+        instanceof com.google.cloud.contactcenterinsights.v1.BulkAnalyzeConversationsRequest)) {
       return super.equals(obj);
     }
-    com.google.cloud.contactcenterinsights.v1.BulkAnalyzeConversationsRequest other = (com.google.cloud.contactcenterinsights.v1.BulkAnalyzeConversationsRequest) obj;
+    com.google.cloud.contactcenterinsights.v1.BulkAnalyzeConversationsRequest other =
+        (com.google.cloud.contactcenterinsights.v1.BulkAnalyzeConversationsRequest) obj;
 
-    if (!getParent()
-        .equals(other.getParent())) return false;
-    if (!getFilter()
-        .equals(other.getFilter())) return false;
+    if (!getParent().equals(other.getParent())) return false;
+    if (!getFilter().equals(other.getFilter())) return false;
     if (java.lang.Float.floatToIntBits(getAnalysisPercentage())
-        != java.lang.Float.floatToIntBits(
-            other.getAnalysisPercentage())) return false;
+        != java.lang.Float.floatToIntBits(other.getAnalysisPercentage())) return false;
     if (hasAnnotatorSelector() != other.hasAnnotatorSelector()) return false;
     if (hasAnnotatorSelector()) {
-      if (!getAnnotatorSelector()
-          .equals(other.getAnnotatorSelector())) return false;
+      if (!getAnnotatorSelector().equals(other.getAnnotatorSelector())) return false;
     }
     if (!getUnknownFields().equals(other.getUnknownFields())) return false;
     return true;
@@ -292,8 +337,7 @@ public int hashCode() {
     hash = (37 * hash) + FILTER_FIELD_NUMBER;
     hash = (53 * hash) + getFilter().hashCode();
     hash = (37 * hash) + ANALYSIS_PERCENTAGE_FIELD_NUMBER;
-    hash = (53 * hash) + java.lang.Float.floatToIntBits(
-        getAnalysisPercentage());
+    hash = (53 * hash) + java.lang.Float.floatToIntBits(getAnalysisPercentage());
     if (hasAnnotatorSelector()) {
       hash = (37 * hash) + ANNOTATOR_SELECTOR_FIELD_NUMBER;
       hash = (53 * hash) + getAnnotatorSelector().hashCode();
@@ -304,129 +348,139 @@ public int hashCode() {
   }
 
   public static com.google.cloud.contactcenterinsights.v1.BulkAnalyzeConversationsRequest parseFrom(
-      java.nio.ByteBuffer data)
-      throws com.google.protobuf.InvalidProtocolBufferException {
+      java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.cloud.contactcenterinsights.v1.BulkAnalyzeConversationsRequest parseFrom(
-      java.nio.ByteBuffer data,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
+
   public static com.google.cloud.contactcenterinsights.v1.BulkAnalyzeConversationsRequest parseFrom(
       com.google.protobuf.ByteString data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.cloud.contactcenterinsights.v1.BulkAnalyzeConversationsRequest parseFrom(
       com.google.protobuf.ByteString data,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-  public static com.google.cloud.contactcenterinsights.v1.BulkAnalyzeConversationsRequest parseFrom(byte[] data)
-      throws com.google.protobuf.InvalidProtocolBufferException {
+
+  public static com.google.cloud.contactcenterinsights.v1.BulkAnalyzeConversationsRequest parseFrom(
+      byte[] data) throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.cloud.contactcenterinsights.v1.BulkAnalyzeConversationsRequest parseFrom(
-      byte[] data,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-  public static com.google.cloud.contactcenterinsights.v1.BulkAnalyzeConversationsRequest parseFrom(java.io.InputStream input)
-      throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input);
+
+  public static com.google.cloud.contactcenterinsights.v1.BulkAnalyzeConversationsRequest parseFrom(
+      java.io.InputStream input) throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
   }
+
   public static com.google.cloud.contactcenterinsights.v1.BulkAnalyzeConversationsRequest parseFrom(
-      java.io.InputStream input,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
+        PARSER, input, extensionRegistry);
   }
-  public static com.google.cloud.contactcenterinsights.v1.BulkAnalyzeConversationsRequest parseDelimitedFrom(java.io.InputStream input)
-      throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseDelimitedWithIOException(PARSER, input);
+
+  public static com.google.cloud.contactcenterinsights.v1.BulkAnalyzeConversationsRequest
+      parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
   }
-  public static com.google.cloud.contactcenterinsights.v1.BulkAnalyzeConversationsRequest parseDelimitedFrom(
-      java.io.InputStream input,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-      throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
+
+  public static com.google.cloud.contactcenterinsights.v1.BulkAnalyzeConversationsRequest
+      parseDelimitedFrom(
+          java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+          throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(
+        PARSER, input, extensionRegistry);
   }
+
   public static com.google.cloud.contactcenterinsights.v1.BulkAnalyzeConversationsRequest parseFrom(
-      com.google.protobuf.CodedInputStream input)
-      throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input);
+      com.google.protobuf.CodedInputStream input) throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
   }
+
   public static com.google.cloud.contactcenterinsights.v1.BulkAnalyzeConversationsRequest parseFrom(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
+        PARSER, input, extensionRegistry);
   }
 
   @java.lang.Override
-  public Builder newBuilderForType() { return newBuilder(); }
+  public Builder newBuilderForType() {
+    return newBuilder();
+  }
+
   public static Builder newBuilder() {
     return DEFAULT_INSTANCE.toBuilder();
   }
-  public static Builder newBuilder(com.google.cloud.contactcenterinsights.v1.BulkAnalyzeConversationsRequest prototype) {
+
+  public static Builder newBuilder(
+      com.google.cloud.contactcenterinsights.v1.BulkAnalyzeConversationsRequest prototype) {
     return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
   }
+
   @java.lang.Override
   public Builder toBuilder() {
-    return this == DEFAULT_INSTANCE
-        ? new Builder() : new Builder().mergeFrom(this);
+    return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
   }
 
   @java.lang.Override
-  protected Builder newBuilderForType(
-      com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+  protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
     Builder builder = new Builder(parent);
     return builder;
   }
   /**
+   *
+   *
    * 
    * The request to analyze conversations in bulk.
    * 
* * Protobuf type {@code google.cloud.contactcenterinsights.v1.BulkAnalyzeConversationsRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.contactcenterinsights.v1.BulkAnalyzeConversationsRequest) com.google.cloud.contactcenterinsights.v1.BulkAnalyzeConversationsRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto.internal_static_google_cloud_contactcenterinsights_v1_BulkAnalyzeConversationsRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto + .internal_static_google_cloud_contactcenterinsights_v1_BulkAnalyzeConversationsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto.internal_static_google_cloud_contactcenterinsights_v1_BulkAnalyzeConversationsRequest_fieldAccessorTable + return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto + .internal_static_google_cloud_contactcenterinsights_v1_BulkAnalyzeConversationsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.contactcenterinsights.v1.BulkAnalyzeConversationsRequest.class, com.google.cloud.contactcenterinsights.v1.BulkAnalyzeConversationsRequest.Builder.class); + com.google.cloud.contactcenterinsights.v1.BulkAnalyzeConversationsRequest.class, + com.google.cloud.contactcenterinsights.v1.BulkAnalyzeConversationsRequest.Builder + .class); } - // Construct using com.google.cloud.contactcenterinsights.v1.BulkAnalyzeConversationsRequest.newBuilder() - private Builder() { - - } + // Construct using + // com.google.cloud.contactcenterinsights.v1.BulkAnalyzeConversationsRequest.newBuilder() + private Builder() {} - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -443,19 +497,22 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto.internal_static_google_cloud_contactcenterinsights_v1_BulkAnalyzeConversationsRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto + .internal_static_google_cloud_contactcenterinsights_v1_BulkAnalyzeConversationsRequest_descriptor; } @java.lang.Override - public com.google.cloud.contactcenterinsights.v1.BulkAnalyzeConversationsRequest getDefaultInstanceForType() { - return com.google.cloud.contactcenterinsights.v1.BulkAnalyzeConversationsRequest.getDefaultInstance(); + public com.google.cloud.contactcenterinsights.v1.BulkAnalyzeConversationsRequest + getDefaultInstanceForType() { + return com.google.cloud.contactcenterinsights.v1.BulkAnalyzeConversationsRequest + .getDefaultInstance(); } @java.lang.Override public com.google.cloud.contactcenterinsights.v1.BulkAnalyzeConversationsRequest build() { - com.google.cloud.contactcenterinsights.v1.BulkAnalyzeConversationsRequest result = buildPartial(); + com.google.cloud.contactcenterinsights.v1.BulkAnalyzeConversationsRequest result = + buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } @@ -463,14 +520,19 @@ public com.google.cloud.contactcenterinsights.v1.BulkAnalyzeConversationsRequest } @java.lang.Override - public com.google.cloud.contactcenterinsights.v1.BulkAnalyzeConversationsRequest buildPartial() { - com.google.cloud.contactcenterinsights.v1.BulkAnalyzeConversationsRequest result = new com.google.cloud.contactcenterinsights.v1.BulkAnalyzeConversationsRequest(this); - if (bitField0_ != 0) { buildPartial0(result); } + public com.google.cloud.contactcenterinsights.v1.BulkAnalyzeConversationsRequest + buildPartial() { + com.google.cloud.contactcenterinsights.v1.BulkAnalyzeConversationsRequest result = + new com.google.cloud.contactcenterinsights.v1.BulkAnalyzeConversationsRequest(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } - private void buildPartial0(com.google.cloud.contactcenterinsights.v1.BulkAnalyzeConversationsRequest result) { + private void buildPartial0( + com.google.cloud.contactcenterinsights.v1.BulkAnalyzeConversationsRequest result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { result.parent_ = parent_; @@ -482,9 +544,10 @@ private void buildPartial0(com.google.cloud.contactcenterinsights.v1.BulkAnalyze result.analysisPercentage_ = analysisPercentage_; } if (((from_bitField0_ & 0x00000008) != 0)) { - result.annotatorSelector_ = annotatorSelectorBuilder_ == null - ? annotatorSelector_ - : annotatorSelectorBuilder_.build(); + result.annotatorSelector_ = + annotatorSelectorBuilder_ == null + ? annotatorSelector_ + : annotatorSelectorBuilder_.build(); } } @@ -492,46 +555,52 @@ private void buildPartial0(com.google.cloud.contactcenterinsights.v1.BulkAnalyze public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { - if (other instanceof com.google.cloud.contactcenterinsights.v1.BulkAnalyzeConversationsRequest) { - return mergeFrom((com.google.cloud.contactcenterinsights.v1.BulkAnalyzeConversationsRequest)other); + if (other + instanceof com.google.cloud.contactcenterinsights.v1.BulkAnalyzeConversationsRequest) { + return mergeFrom( + (com.google.cloud.contactcenterinsights.v1.BulkAnalyzeConversationsRequest) other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.google.cloud.contactcenterinsights.v1.BulkAnalyzeConversationsRequest other) { - if (other == com.google.cloud.contactcenterinsights.v1.BulkAnalyzeConversationsRequest.getDefaultInstance()) return this; + public Builder mergeFrom( + com.google.cloud.contactcenterinsights.v1.BulkAnalyzeConversationsRequest other) { + if (other + == com.google.cloud.contactcenterinsights.v1.BulkAnalyzeConversationsRequest + .getDefaultInstance()) return this; if (!other.getParent().isEmpty()) { parent_ = other.parent_; bitField0_ |= 0x00000001; @@ -574,34 +643,38 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - parent_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: { - filter_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000002; - break; - } // case 18 - case 29: { - analysisPercentage_ = input.readFloat(); - bitField0_ |= 0x00000004; - break; - } // case 29 - case 66: { - input.readMessage( - getAnnotatorSelectorFieldBuilder().getBuilder(), - extensionRegistry); - bitField0_ |= 0x00000008; - break; - } // case 66 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + parent_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: + { + filter_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + break; + } // case 18 + case 29: + { + analysisPercentage_ = input.readFloat(); + bitField0_ |= 0x00000004; + break; + } // case 29 + case 66: + { + input.readMessage( + getAnnotatorSelectorFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000008; + break; + } // case 66 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -611,22 +684,27 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private java.lang.Object parent_ = ""; /** + * + * *
      * Required. The parent resource to create analyses in.
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The parent. */ public java.lang.String getParent() { java.lang.Object ref = parent_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; @@ -635,20 +713,23 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. The parent resource to create analyses in.
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for parent. */ - public com.google.protobuf.ByteString - getParentBytes() { + public com.google.protobuf.ByteString getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); parent_ = b; return b; } else { @@ -656,28 +737,39 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. The parent resource to create analyses in.
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The parent to set. * @return This builder for chaining. */ - public Builder setParent( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setParent(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } parent_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
      * Required. The parent resource to create analyses in.
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return This builder for chaining. */ public Builder clearParent() { @@ -687,17 +779,23 @@ public Builder clearParent() { return this; } /** + * + * *
      * Required. The parent resource to create analyses in.
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setParentBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); parent_ = value; bitField0_ |= 0x00000001; @@ -707,18 +805,20 @@ public Builder setParentBytes( private java.lang.Object filter_ = ""; /** + * + * *
      * Required. Filter used to select the subset of conversations to analyze.
      * 
* * string filter = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The filter. */ public java.lang.String getFilter() { java.lang.Object ref = filter_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); filter_ = s; return s; @@ -727,20 +827,21 @@ public java.lang.String getFilter() { } } /** + * + * *
      * Required. Filter used to select the subset of conversations to analyze.
      * 
* * string filter = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for filter. */ - public com.google.protobuf.ByteString - getFilterBytes() { + public com.google.protobuf.ByteString getFilterBytes() { java.lang.Object ref = filter_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); filter_ = b; return b; } else { @@ -748,28 +849,35 @@ public java.lang.String getFilter() { } } /** + * + * *
      * Required. Filter used to select the subset of conversations to analyze.
      * 
* * string filter = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The filter to set. * @return This builder for chaining. */ - public Builder setFilter( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setFilter(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } filter_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** + * + * *
      * Required. Filter used to select the subset of conversations to analyze.
      * 
* * string filter = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return This builder for chaining. */ public Builder clearFilter() { @@ -779,17 +887,21 @@ public Builder clearFilter() { return this; } /** + * + * *
      * Required. Filter used to select the subset of conversations to analyze.
      * 
* * string filter = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The bytes for filter to set. * @return This builder for chaining. */ - public Builder setFilterBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setFilterBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); filter_ = value; bitField0_ |= 0x00000002; @@ -797,14 +909,17 @@ public Builder setFilterBytes( return this; } - private float analysisPercentage_ ; + private float analysisPercentage_; /** + * + * *
      * Required. Percentage of selected conversation to analyze, between
      * [0, 100].
      * 
* * float analysis_percentage = 3 [(.google.api.field_behavior) = REQUIRED]; + * * @return The analysisPercentage. */ @java.lang.Override @@ -812,29 +927,35 @@ public float getAnalysisPercentage() { return analysisPercentage_; } /** + * + * *
      * Required. Percentage of selected conversation to analyze, between
      * [0, 100].
      * 
* * float analysis_percentage = 3 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The analysisPercentage to set. * @return This builder for chaining. */ public Builder setAnalysisPercentage(float value) { - + analysisPercentage_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } /** + * + * *
      * Required. Percentage of selected conversation to analyze, between
      * [0, 100].
      * 
* * float analysis_percentage = 3 [(.google.api.field_behavior) = REQUIRED]; + * * @return This builder for chaining. */ public Builder clearAnalysisPercentage() { @@ -846,36 +967,49 @@ public Builder clearAnalysisPercentage() { private com.google.cloud.contactcenterinsights.v1.AnnotatorSelector annotatorSelector_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.contactcenterinsights.v1.AnnotatorSelector, com.google.cloud.contactcenterinsights.v1.AnnotatorSelector.Builder, com.google.cloud.contactcenterinsights.v1.AnnotatorSelectorOrBuilder> annotatorSelectorBuilder_; + com.google.cloud.contactcenterinsights.v1.AnnotatorSelector, + com.google.cloud.contactcenterinsights.v1.AnnotatorSelector.Builder, + com.google.cloud.contactcenterinsights.v1.AnnotatorSelectorOrBuilder> + annotatorSelectorBuilder_; /** + * + * *
      * To select the annotators to run and the phrase matchers to use
      * (if any). If not specified, all annotators will be run.
      * 
* * .google.cloud.contactcenterinsights.v1.AnnotatorSelector annotator_selector = 8; + * * @return Whether the annotatorSelector field is set. */ public boolean hasAnnotatorSelector() { return ((bitField0_ & 0x00000008) != 0); } /** + * + * *
      * To select the annotators to run and the phrase matchers to use
      * (if any). If not specified, all annotators will be run.
      * 
* * .google.cloud.contactcenterinsights.v1.AnnotatorSelector annotator_selector = 8; + * * @return The annotatorSelector. */ public com.google.cloud.contactcenterinsights.v1.AnnotatorSelector getAnnotatorSelector() { if (annotatorSelectorBuilder_ == null) { - return annotatorSelector_ == null ? com.google.cloud.contactcenterinsights.v1.AnnotatorSelector.getDefaultInstance() : annotatorSelector_; + return annotatorSelector_ == null + ? com.google.cloud.contactcenterinsights.v1.AnnotatorSelector.getDefaultInstance() + : annotatorSelector_; } else { return annotatorSelectorBuilder_.getMessage(); } } /** + * + * *
      * To select the annotators to run and the phrase matchers to use
      * (if any). If not specified, all annotators will be run.
@@ -883,7 +1017,8 @@ public com.google.cloud.contactcenterinsights.v1.AnnotatorSelector getAnnotatorS
      *
      * .google.cloud.contactcenterinsights.v1.AnnotatorSelector annotator_selector = 8;
      */
-    public Builder setAnnotatorSelector(com.google.cloud.contactcenterinsights.v1.AnnotatorSelector value) {
+    public Builder setAnnotatorSelector(
+        com.google.cloud.contactcenterinsights.v1.AnnotatorSelector value) {
       if (annotatorSelectorBuilder_ == null) {
         if (value == null) {
           throw new NullPointerException();
@@ -897,6 +1032,8 @@ public Builder setAnnotatorSelector(com.google.cloud.contactcenterinsights.v1.An
       return this;
     }
     /**
+     *
+     *
      * 
      * To select the annotators to run and the phrase matchers to use
      * (if any). If not specified, all annotators will be run.
@@ -916,6 +1053,8 @@ public Builder setAnnotatorSelector(
       return this;
     }
     /**
+     *
+     *
      * 
      * To select the annotators to run and the phrase matchers to use
      * (if any). If not specified, all annotators will be run.
@@ -923,11 +1062,14 @@ public Builder setAnnotatorSelector(
      *
      * .google.cloud.contactcenterinsights.v1.AnnotatorSelector annotator_selector = 8;
      */
-    public Builder mergeAnnotatorSelector(com.google.cloud.contactcenterinsights.v1.AnnotatorSelector value) {
+    public Builder mergeAnnotatorSelector(
+        com.google.cloud.contactcenterinsights.v1.AnnotatorSelector value) {
       if (annotatorSelectorBuilder_ == null) {
-        if (((bitField0_ & 0x00000008) != 0) &&
-          annotatorSelector_ != null &&
-          annotatorSelector_ != com.google.cloud.contactcenterinsights.v1.AnnotatorSelector.getDefaultInstance()) {
+        if (((bitField0_ & 0x00000008) != 0)
+            && annotatorSelector_ != null
+            && annotatorSelector_
+                != com.google.cloud.contactcenterinsights.v1.AnnotatorSelector
+                    .getDefaultInstance()) {
           getAnnotatorSelectorBuilder().mergeFrom(value);
         } else {
           annotatorSelector_ = value;
@@ -940,6 +1082,8 @@ public Builder mergeAnnotatorSelector(com.google.cloud.contactcenterinsights.v1.
       return this;
     }
     /**
+     *
+     *
      * 
      * To select the annotators to run and the phrase matchers to use
      * (if any). If not specified, all annotators will be run.
@@ -958,6 +1102,8 @@ public Builder clearAnnotatorSelector() {
       return this;
     }
     /**
+     *
+     *
      * 
      * To select the annotators to run and the phrase matchers to use
      * (if any). If not specified, all annotators will be run.
@@ -965,12 +1111,15 @@ public Builder clearAnnotatorSelector() {
      *
      * .google.cloud.contactcenterinsights.v1.AnnotatorSelector annotator_selector = 8;
      */
-    public com.google.cloud.contactcenterinsights.v1.AnnotatorSelector.Builder getAnnotatorSelectorBuilder() {
+    public com.google.cloud.contactcenterinsights.v1.AnnotatorSelector.Builder
+        getAnnotatorSelectorBuilder() {
       bitField0_ |= 0x00000008;
       onChanged();
       return getAnnotatorSelectorFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * To select the annotators to run and the phrase matchers to use
      * (if any). If not specified, all annotators will be run.
@@ -978,15 +1127,19 @@ public com.google.cloud.contactcenterinsights.v1.AnnotatorSelector.Builder getAn
      *
      * .google.cloud.contactcenterinsights.v1.AnnotatorSelector annotator_selector = 8;
      */
-    public com.google.cloud.contactcenterinsights.v1.AnnotatorSelectorOrBuilder getAnnotatorSelectorOrBuilder() {
+    public com.google.cloud.contactcenterinsights.v1.AnnotatorSelectorOrBuilder
+        getAnnotatorSelectorOrBuilder() {
       if (annotatorSelectorBuilder_ != null) {
         return annotatorSelectorBuilder_.getMessageOrBuilder();
       } else {
-        return annotatorSelector_ == null ?
-            com.google.cloud.contactcenterinsights.v1.AnnotatorSelector.getDefaultInstance() : annotatorSelector_;
+        return annotatorSelector_ == null
+            ? com.google.cloud.contactcenterinsights.v1.AnnotatorSelector.getDefaultInstance()
+            : annotatorSelector_;
       }
     }
     /**
+     *
+     *
      * 
      * To select the annotators to run and the phrase matchers to use
      * (if any). If not specified, all annotators will be run.
@@ -995,21 +1148,24 @@ public com.google.cloud.contactcenterinsights.v1.AnnotatorSelectorOrBuilder getA
      * .google.cloud.contactcenterinsights.v1.AnnotatorSelector annotator_selector = 8;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.cloud.contactcenterinsights.v1.AnnotatorSelector, com.google.cloud.contactcenterinsights.v1.AnnotatorSelector.Builder, com.google.cloud.contactcenterinsights.v1.AnnotatorSelectorOrBuilder> 
+            com.google.cloud.contactcenterinsights.v1.AnnotatorSelector,
+            com.google.cloud.contactcenterinsights.v1.AnnotatorSelector.Builder,
+            com.google.cloud.contactcenterinsights.v1.AnnotatorSelectorOrBuilder>
         getAnnotatorSelectorFieldBuilder() {
       if (annotatorSelectorBuilder_ == null) {
-        annotatorSelectorBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-            com.google.cloud.contactcenterinsights.v1.AnnotatorSelector, com.google.cloud.contactcenterinsights.v1.AnnotatorSelector.Builder, com.google.cloud.contactcenterinsights.v1.AnnotatorSelectorOrBuilder>(
-                getAnnotatorSelector(),
-                getParentForChildren(),
-                isClean());
+        annotatorSelectorBuilder_ =
+            new com.google.protobuf.SingleFieldBuilderV3<
+                com.google.cloud.contactcenterinsights.v1.AnnotatorSelector,
+                com.google.cloud.contactcenterinsights.v1.AnnotatorSelector.Builder,
+                com.google.cloud.contactcenterinsights.v1.AnnotatorSelectorOrBuilder>(
+                getAnnotatorSelector(), getParentForChildren(), isClean());
         annotatorSelector_ = null;
       }
       return annotatorSelectorBuilder_;
     }
+
     @java.lang.Override
-    public final Builder setUnknownFields(
-        final com.google.protobuf.UnknownFieldSet unknownFields) {
+    public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) {
       return super.setUnknownFields(unknownFields);
     }
 
@@ -1019,41 +1175,44 @@ public final Builder mergeUnknownFields(
       return super.mergeUnknownFields(unknownFields);
     }
 
-
     // @@protoc_insertion_point(builder_scope:google.cloud.contactcenterinsights.v1.BulkAnalyzeConversationsRequest)
   }
 
   // @@protoc_insertion_point(class_scope:google.cloud.contactcenterinsights.v1.BulkAnalyzeConversationsRequest)
-  private static final com.google.cloud.contactcenterinsights.v1.BulkAnalyzeConversationsRequest DEFAULT_INSTANCE;
+  private static final com.google.cloud.contactcenterinsights.v1.BulkAnalyzeConversationsRequest
+      DEFAULT_INSTANCE;
+
   static {
-    DEFAULT_INSTANCE = new com.google.cloud.contactcenterinsights.v1.BulkAnalyzeConversationsRequest();
+    DEFAULT_INSTANCE =
+        new com.google.cloud.contactcenterinsights.v1.BulkAnalyzeConversationsRequest();
   }
 
-  public static com.google.cloud.contactcenterinsights.v1.BulkAnalyzeConversationsRequest getDefaultInstance() {
+  public static com.google.cloud.contactcenterinsights.v1.BulkAnalyzeConversationsRequest
+      getDefaultInstance() {
     return DEFAULT_INSTANCE;
   }
 
-  private static final com.google.protobuf.Parser
-      PARSER = new com.google.protobuf.AbstractParser() {
-    @java.lang.Override
-    public BulkAnalyzeConversationsRequest parsePartialFrom(
-        com.google.protobuf.CodedInputStream input,
-        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-        throws com.google.protobuf.InvalidProtocolBufferException {
-      Builder builder = newBuilder();
-      try {
-        builder.mergeFrom(input, extensionRegistry);
-      } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-        throw e.setUnfinishedMessage(builder.buildPartial());
-      } catch (com.google.protobuf.UninitializedMessageException e) {
-        throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
-      } catch (java.io.IOException e) {
-        throw new com.google.protobuf.InvalidProtocolBufferException(e)
-            .setUnfinishedMessage(builder.buildPartial());
-      }
-      return builder.buildPartial();
-    }
-  };
+  private static final com.google.protobuf.Parser PARSER =
+      new com.google.protobuf.AbstractParser() {
+        @java.lang.Override
+        public BulkAnalyzeConversationsRequest parsePartialFrom(
+            com.google.protobuf.CodedInputStream input,
+            com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+            throws com.google.protobuf.InvalidProtocolBufferException {
+          Builder builder = newBuilder();
+          try {
+            builder.mergeFrom(input, extensionRegistry);
+          } catch (com.google.protobuf.InvalidProtocolBufferException e) {
+            throw e.setUnfinishedMessage(builder.buildPartial());
+          } catch (com.google.protobuf.UninitializedMessageException e) {
+            throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
+          } catch (java.io.IOException e) {
+            throw new com.google.protobuf.InvalidProtocolBufferException(e)
+                .setUnfinishedMessage(builder.buildPartial());
+          }
+          return builder.buildPartial();
+        }
+      };
 
   public static com.google.protobuf.Parser parser() {
     return PARSER;
@@ -1065,9 +1224,8 @@ public com.google.protobuf.Parser getParserForT
   }
 
   @java.lang.Override
-  public com.google.cloud.contactcenterinsights.v1.BulkAnalyzeConversationsRequest getDefaultInstanceForType() {
+  public com.google.cloud.contactcenterinsights.v1.BulkAnalyzeConversationsRequest
+      getDefaultInstanceForType() {
     return DEFAULT_INSTANCE;
   }
-
 }
-
diff --git a/owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/BulkAnalyzeConversationsRequestOrBuilder.java b/java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/BulkAnalyzeConversationsRequestOrBuilder.java
similarity index 67%
rename from owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/BulkAnalyzeConversationsRequestOrBuilder.java
rename to java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/BulkAnalyzeConversationsRequestOrBuilder.java
index b0adaeffaecc..459a88a6f579 100644
--- a/owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/BulkAnalyzeConversationsRequestOrBuilder.java
+++ b/java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/BulkAnalyzeConversationsRequestOrBuilder.java
@@ -1,84 +1,125 @@
+/*
+ * 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.
+ */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/cloud/contactcenterinsights/v1/contact_center_insights.proto
 
 package com.google.cloud.contactcenterinsights.v1;
 
-public interface BulkAnalyzeConversationsRequestOrBuilder extends
+public interface BulkAnalyzeConversationsRequestOrBuilder
+    extends
     // @@protoc_insertion_point(interface_extends:google.cloud.contactcenterinsights.v1.BulkAnalyzeConversationsRequest)
     com.google.protobuf.MessageOrBuilder {
 
   /**
+   *
+   *
    * 
    * Required. The parent resource to create analyses in.
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The parent. */ java.lang.String getParent(); /** + * + * *
    * Required. The parent resource to create analyses in.
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for parent. */ - com.google.protobuf.ByteString - getParentBytes(); + com.google.protobuf.ByteString getParentBytes(); /** + * + * *
    * Required. Filter used to select the subset of conversations to analyze.
    * 
* * string filter = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The filter. */ java.lang.String getFilter(); /** + * + * *
    * Required. Filter used to select the subset of conversations to analyze.
    * 
* * string filter = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for filter. */ - com.google.protobuf.ByteString - getFilterBytes(); + com.google.protobuf.ByteString getFilterBytes(); /** + * + * *
    * Required. Percentage of selected conversation to analyze, between
    * [0, 100].
    * 
* * float analysis_percentage = 3 [(.google.api.field_behavior) = REQUIRED]; + * * @return The analysisPercentage. */ float getAnalysisPercentage(); /** + * + * *
    * To select the annotators to run and the phrase matchers to use
    * (if any). If not specified, all annotators will be run.
    * 
* * .google.cloud.contactcenterinsights.v1.AnnotatorSelector annotator_selector = 8; + * * @return Whether the annotatorSelector field is set. */ boolean hasAnnotatorSelector(); /** + * + * *
    * To select the annotators to run and the phrase matchers to use
    * (if any). If not specified, all annotators will be run.
    * 
* * .google.cloud.contactcenterinsights.v1.AnnotatorSelector annotator_selector = 8; + * * @return The annotatorSelector. */ com.google.cloud.contactcenterinsights.v1.AnnotatorSelector getAnnotatorSelector(); /** + * + * *
    * To select the annotators to run and the phrase matchers to use
    * (if any). If not specified, all annotators will be run.
@@ -86,5 +127,6 @@ public interface BulkAnalyzeConversationsRequestOrBuilder extends
    *
    * .google.cloud.contactcenterinsights.v1.AnnotatorSelector annotator_selector = 8;
    */
-  com.google.cloud.contactcenterinsights.v1.AnnotatorSelectorOrBuilder getAnnotatorSelectorOrBuilder();
+  com.google.cloud.contactcenterinsights.v1.AnnotatorSelectorOrBuilder
+      getAnnotatorSelectorOrBuilder();
 }
diff --git a/owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/BulkAnalyzeConversationsResponse.java b/java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/BulkAnalyzeConversationsResponse.java
similarity index 55%
rename from owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/BulkAnalyzeConversationsResponse.java
rename to java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/BulkAnalyzeConversationsResponse.java
index 3144c534124e..28ef468f7719 100644
--- a/owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/BulkAnalyzeConversationsResponse.java
+++ b/java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/BulkAnalyzeConversationsResponse.java
@@ -1,60 +1,83 @@
+/*
+ * 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.
+ */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/cloud/contactcenterinsights/v1/contact_center_insights.proto
 
 package com.google.cloud.contactcenterinsights.v1;
 
 /**
+ *
+ *
  * 
  * The response for a bulk analyze conversations operation.
  * 
* * Protobuf type {@code google.cloud.contactcenterinsights.v1.BulkAnalyzeConversationsResponse} */ -public final class BulkAnalyzeConversationsResponse extends - com.google.protobuf.GeneratedMessageV3 implements +public final class BulkAnalyzeConversationsResponse extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.contactcenterinsights.v1.BulkAnalyzeConversationsResponse) BulkAnalyzeConversationsResponseOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use BulkAnalyzeConversationsResponse.newBuilder() to construct. - private BulkAnalyzeConversationsResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { + private BulkAnalyzeConversationsResponse( + com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private BulkAnalyzeConversationsResponse() { - } + + private BulkAnalyzeConversationsResponse() {} @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new BulkAnalyzeConversationsResponse(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto.internal_static_google_cloud_contactcenterinsights_v1_BulkAnalyzeConversationsResponse_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto + .internal_static_google_cloud_contactcenterinsights_v1_BulkAnalyzeConversationsResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto.internal_static_google_cloud_contactcenterinsights_v1_BulkAnalyzeConversationsResponse_fieldAccessorTable + return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto + .internal_static_google_cloud_contactcenterinsights_v1_BulkAnalyzeConversationsResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.contactcenterinsights.v1.BulkAnalyzeConversationsResponse.class, com.google.cloud.contactcenterinsights.v1.BulkAnalyzeConversationsResponse.Builder.class); + com.google.cloud.contactcenterinsights.v1.BulkAnalyzeConversationsResponse.class, + com.google.cloud.contactcenterinsights.v1.BulkAnalyzeConversationsResponse.Builder + .class); } public static final int SUCCESSFUL_ANALYSIS_COUNT_FIELD_NUMBER = 1; private int successfulAnalysisCount_ = 0; /** + * + * *
    * Count of successful analyses.
    * 
* * int32 successful_analysis_count = 1; + * * @return The successfulAnalysisCount. */ @java.lang.Override @@ -65,11 +88,14 @@ public int getSuccessfulAnalysisCount() { public static final int FAILED_ANALYSIS_COUNT_FIELD_NUMBER = 2; private int failedAnalysisCount_ = 0; /** + * + * *
    * Count of failed analyses.
    * 
* * int32 failed_analysis_count = 2; + * * @return The failedAnalysisCount. */ @java.lang.Override @@ -78,6 +104,7 @@ public int getFailedAnalysisCount() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -89,8 +116,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (successfulAnalysisCount_ != 0) { output.writeInt32(1, successfulAnalysisCount_); } @@ -107,12 +133,10 @@ public int getSerializedSize() { size = 0; if (successfulAnalysisCount_ != 0) { - size += com.google.protobuf.CodedOutputStream - .computeInt32Size(1, successfulAnalysisCount_); + size += com.google.protobuf.CodedOutputStream.computeInt32Size(1, successfulAnalysisCount_); } if (failedAnalysisCount_ != 0) { - size += com.google.protobuf.CodedOutputStream - .computeInt32Size(2, failedAnalysisCount_); + size += com.google.protobuf.CodedOutputStream.computeInt32Size(2, failedAnalysisCount_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -122,17 +146,17 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } - if (!(obj instanceof com.google.cloud.contactcenterinsights.v1.BulkAnalyzeConversationsResponse)) { + if (!(obj + instanceof com.google.cloud.contactcenterinsights.v1.BulkAnalyzeConversationsResponse)) { return super.equals(obj); } - com.google.cloud.contactcenterinsights.v1.BulkAnalyzeConversationsResponse other = (com.google.cloud.contactcenterinsights.v1.BulkAnalyzeConversationsResponse) obj; + com.google.cloud.contactcenterinsights.v1.BulkAnalyzeConversationsResponse other = + (com.google.cloud.contactcenterinsights.v1.BulkAnalyzeConversationsResponse) obj; - if (getSuccessfulAnalysisCount() - != other.getSuccessfulAnalysisCount()) return false; - if (getFailedAnalysisCount() - != other.getFailedAnalysisCount()) return false; + if (getSuccessfulAnalysisCount() != other.getSuccessfulAnalysisCount()) return false; + if (getFailedAnalysisCount() != other.getFailedAnalysisCount()) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -153,130 +177,145 @@ public int hashCode() { return hash; } - public static com.google.cloud.contactcenterinsights.v1.BulkAnalyzeConversationsResponse parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.contactcenterinsights.v1.BulkAnalyzeConversationsResponse + parseFrom(java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.contactcenterinsights.v1.BulkAnalyzeConversationsResponse parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.contactcenterinsights.v1.BulkAnalyzeConversationsResponse + parseFrom( + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.contactcenterinsights.v1.BulkAnalyzeConversationsResponse parseFrom( - com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.contactcenterinsights.v1.BulkAnalyzeConversationsResponse + parseFrom(com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.contactcenterinsights.v1.BulkAnalyzeConversationsResponse parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.contactcenterinsights.v1.BulkAnalyzeConversationsResponse + parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.contactcenterinsights.v1.BulkAnalyzeConversationsResponse parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.contactcenterinsights.v1.BulkAnalyzeConversationsResponse + parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.contactcenterinsights.v1.BulkAnalyzeConversationsResponse parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.contactcenterinsights.v1.BulkAnalyzeConversationsResponse + parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.contactcenterinsights.v1.BulkAnalyzeConversationsResponse parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); - } - public static com.google.cloud.contactcenterinsights.v1.BulkAnalyzeConversationsResponse parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); - } - public static com.google.cloud.contactcenterinsights.v1.BulkAnalyzeConversationsResponse parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); - } - public static com.google.cloud.contactcenterinsights.v1.BulkAnalyzeConversationsResponse parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); - } - public static com.google.cloud.contactcenterinsights.v1.BulkAnalyzeConversationsResponse parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); - } - public static com.google.cloud.contactcenterinsights.v1.BulkAnalyzeConversationsResponse parseFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + + public static com.google.cloud.contactcenterinsights.v1.BulkAnalyzeConversationsResponse + parseFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + } + + public static com.google.cloud.contactcenterinsights.v1.BulkAnalyzeConversationsResponse + parseFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); + } + + public static com.google.cloud.contactcenterinsights.v1.BulkAnalyzeConversationsResponse + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + } + + public static com.google.cloud.contactcenterinsights.v1.BulkAnalyzeConversationsResponse + parseDelimitedFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); + } + + public static com.google.cloud.contactcenterinsights.v1.BulkAnalyzeConversationsResponse + parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + } + + public static com.google.cloud.contactcenterinsights.v1.BulkAnalyzeConversationsResponse + parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.contactcenterinsights.v1.BulkAnalyzeConversationsResponse prototype) { + + public static Builder newBuilder( + com.google.cloud.contactcenterinsights.v1.BulkAnalyzeConversationsResponse prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * The response for a bulk analyze conversations operation.
    * 
* * Protobuf type {@code google.cloud.contactcenterinsights.v1.BulkAnalyzeConversationsResponse} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.contactcenterinsights.v1.BulkAnalyzeConversationsResponse) com.google.cloud.contactcenterinsights.v1.BulkAnalyzeConversationsResponseOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto.internal_static_google_cloud_contactcenterinsights_v1_BulkAnalyzeConversationsResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto + .internal_static_google_cloud_contactcenterinsights_v1_BulkAnalyzeConversationsResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto.internal_static_google_cloud_contactcenterinsights_v1_BulkAnalyzeConversationsResponse_fieldAccessorTable + return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto + .internal_static_google_cloud_contactcenterinsights_v1_BulkAnalyzeConversationsResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.contactcenterinsights.v1.BulkAnalyzeConversationsResponse.class, com.google.cloud.contactcenterinsights.v1.BulkAnalyzeConversationsResponse.Builder.class); + com.google.cloud.contactcenterinsights.v1.BulkAnalyzeConversationsResponse.class, + com.google.cloud.contactcenterinsights.v1.BulkAnalyzeConversationsResponse.Builder + .class); } - // Construct using com.google.cloud.contactcenterinsights.v1.BulkAnalyzeConversationsResponse.newBuilder() - private Builder() { + // Construct using + // com.google.cloud.contactcenterinsights.v1.BulkAnalyzeConversationsResponse.newBuilder() + private Builder() {} - } - - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -287,19 +326,22 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto.internal_static_google_cloud_contactcenterinsights_v1_BulkAnalyzeConversationsResponse_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto + .internal_static_google_cloud_contactcenterinsights_v1_BulkAnalyzeConversationsResponse_descriptor; } @java.lang.Override - public com.google.cloud.contactcenterinsights.v1.BulkAnalyzeConversationsResponse getDefaultInstanceForType() { - return com.google.cloud.contactcenterinsights.v1.BulkAnalyzeConversationsResponse.getDefaultInstance(); + public com.google.cloud.contactcenterinsights.v1.BulkAnalyzeConversationsResponse + getDefaultInstanceForType() { + return com.google.cloud.contactcenterinsights.v1.BulkAnalyzeConversationsResponse + .getDefaultInstance(); } @java.lang.Override public com.google.cloud.contactcenterinsights.v1.BulkAnalyzeConversationsResponse build() { - com.google.cloud.contactcenterinsights.v1.BulkAnalyzeConversationsResponse result = buildPartial(); + com.google.cloud.contactcenterinsights.v1.BulkAnalyzeConversationsResponse result = + buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } @@ -307,14 +349,19 @@ public com.google.cloud.contactcenterinsights.v1.BulkAnalyzeConversationsRespons } @java.lang.Override - public com.google.cloud.contactcenterinsights.v1.BulkAnalyzeConversationsResponse buildPartial() { - com.google.cloud.contactcenterinsights.v1.BulkAnalyzeConversationsResponse result = new com.google.cloud.contactcenterinsights.v1.BulkAnalyzeConversationsResponse(this); - if (bitField0_ != 0) { buildPartial0(result); } + public com.google.cloud.contactcenterinsights.v1.BulkAnalyzeConversationsResponse + buildPartial() { + com.google.cloud.contactcenterinsights.v1.BulkAnalyzeConversationsResponse result = + new com.google.cloud.contactcenterinsights.v1.BulkAnalyzeConversationsResponse(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } - private void buildPartial0(com.google.cloud.contactcenterinsights.v1.BulkAnalyzeConversationsResponse result) { + private void buildPartial0( + com.google.cloud.contactcenterinsights.v1.BulkAnalyzeConversationsResponse result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { result.successfulAnalysisCount_ = successfulAnalysisCount_; @@ -328,46 +375,52 @@ private void buildPartial0(com.google.cloud.contactcenterinsights.v1.BulkAnalyze public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { - if (other instanceof com.google.cloud.contactcenterinsights.v1.BulkAnalyzeConversationsResponse) { - return mergeFrom((com.google.cloud.contactcenterinsights.v1.BulkAnalyzeConversationsResponse)other); + if (other + instanceof com.google.cloud.contactcenterinsights.v1.BulkAnalyzeConversationsResponse) { + return mergeFrom( + (com.google.cloud.contactcenterinsights.v1.BulkAnalyzeConversationsResponse) other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.google.cloud.contactcenterinsights.v1.BulkAnalyzeConversationsResponse other) { - if (other == com.google.cloud.contactcenterinsights.v1.BulkAnalyzeConversationsResponse.getDefaultInstance()) return this; + public Builder mergeFrom( + com.google.cloud.contactcenterinsights.v1.BulkAnalyzeConversationsResponse other) { + if (other + == com.google.cloud.contactcenterinsights.v1.BulkAnalyzeConversationsResponse + .getDefaultInstance()) return this; if (other.getSuccessfulAnalysisCount() != 0) { setSuccessfulAnalysisCount(other.getSuccessfulAnalysisCount()); } @@ -400,22 +453,25 @@ public Builder mergeFrom( case 0: done = true; break; - case 8: { - successfulAnalysisCount_ = input.readInt32(); - bitField0_ |= 0x00000001; - break; - } // case 8 - case 16: { - failedAnalysisCount_ = input.readInt32(); - bitField0_ |= 0x00000002; - break; - } // case 16 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 8: + { + successfulAnalysisCount_ = input.readInt32(); + bitField0_ |= 0x00000001; + break; + } // case 8 + case 16: + { + failedAnalysisCount_ = input.readInt32(); + bitField0_ |= 0x00000002; + break; + } // case 16 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -425,15 +481,19 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; - private int successfulAnalysisCount_ ; + private int successfulAnalysisCount_; /** + * + * *
      * Count of successful analyses.
      * 
* * int32 successful_analysis_count = 1; + * * @return The successfulAnalysisCount. */ @java.lang.Override @@ -441,27 +501,33 @@ public int getSuccessfulAnalysisCount() { return successfulAnalysisCount_; } /** + * + * *
      * Count of successful analyses.
      * 
* * int32 successful_analysis_count = 1; + * * @param value The successfulAnalysisCount to set. * @return This builder for chaining. */ public Builder setSuccessfulAnalysisCount(int value) { - + successfulAnalysisCount_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
      * Count of successful analyses.
      * 
* * int32 successful_analysis_count = 1; + * * @return This builder for chaining. */ public Builder clearSuccessfulAnalysisCount() { @@ -471,13 +537,16 @@ public Builder clearSuccessfulAnalysisCount() { return this; } - private int failedAnalysisCount_ ; + private int failedAnalysisCount_; /** + * + * *
      * Count of failed analyses.
      * 
* * int32 failed_analysis_count = 2; + * * @return The failedAnalysisCount. */ @java.lang.Override @@ -485,27 +554,33 @@ public int getFailedAnalysisCount() { return failedAnalysisCount_; } /** + * + * *
      * Count of failed analyses.
      * 
* * int32 failed_analysis_count = 2; + * * @param value The failedAnalysisCount to set. * @return This builder for chaining. */ public Builder setFailedAnalysisCount(int value) { - + failedAnalysisCount_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** + * + * *
      * Count of failed analyses.
      * 
* * int32 failed_analysis_count = 2; + * * @return This builder for chaining. */ public Builder clearFailedAnalysisCount() { @@ -514,9 +589,9 @@ public Builder clearFailedAnalysisCount() { onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -526,41 +601,44 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.contactcenterinsights.v1.BulkAnalyzeConversationsResponse) } // @@protoc_insertion_point(class_scope:google.cloud.contactcenterinsights.v1.BulkAnalyzeConversationsResponse) - private static final com.google.cloud.contactcenterinsights.v1.BulkAnalyzeConversationsResponse DEFAULT_INSTANCE; + private static final com.google.cloud.contactcenterinsights.v1.BulkAnalyzeConversationsResponse + DEFAULT_INSTANCE; + static { - DEFAULT_INSTANCE = new com.google.cloud.contactcenterinsights.v1.BulkAnalyzeConversationsResponse(); + DEFAULT_INSTANCE = + new com.google.cloud.contactcenterinsights.v1.BulkAnalyzeConversationsResponse(); } - public static com.google.cloud.contactcenterinsights.v1.BulkAnalyzeConversationsResponse getDefaultInstance() { + public static com.google.cloud.contactcenterinsights.v1.BulkAnalyzeConversationsResponse + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public BulkAnalyzeConversationsResponse parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public BulkAnalyzeConversationsResponse parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -572,9 +650,8 @@ public com.google.protobuf.Parser getParserFor } @java.lang.Override - public com.google.cloud.contactcenterinsights.v1.BulkAnalyzeConversationsResponse getDefaultInstanceForType() { + public com.google.cloud.contactcenterinsights.v1.BulkAnalyzeConversationsResponse + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/BulkAnalyzeConversationsResponseOrBuilder.java b/java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/BulkAnalyzeConversationsResponseOrBuilder.java similarity index 52% rename from owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/BulkAnalyzeConversationsResponseOrBuilder.java rename to java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/BulkAnalyzeConversationsResponseOrBuilder.java index 43b4005ef0e1..9954e79d6224 100644 --- a/owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/BulkAnalyzeConversationsResponseOrBuilder.java +++ b/java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/BulkAnalyzeConversationsResponseOrBuilder.java @@ -1,28 +1,50 @@ +/* + * 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. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/contactcenterinsights/v1/contact_center_insights.proto package com.google.cloud.contactcenterinsights.v1; -public interface BulkAnalyzeConversationsResponseOrBuilder extends +public interface BulkAnalyzeConversationsResponseOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.contactcenterinsights.v1.BulkAnalyzeConversationsResponse) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Count of successful analyses.
    * 
* * int32 successful_analysis_count = 1; + * * @return The successfulAnalysisCount. */ int getSuccessfulAnalysisCount(); /** + * + * *
    * Count of failed analyses.
    * 
* * int32 failed_analysis_count = 2; + * * @return The failedAnalysisCount. */ int getFailedAnalysisCount(); diff --git a/owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/CalculateIssueModelStatsRequest.java b/java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/CalculateIssueModelStatsRequest.java similarity index 56% rename from owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/CalculateIssueModelStatsRequest.java rename to java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/CalculateIssueModelStatsRequest.java index 72dbfd044f61..5bca8d4fb8c4 100644 --- a/owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/CalculateIssueModelStatsRequest.java +++ b/java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/CalculateIssueModelStatsRequest.java @@ -1,62 +1,89 @@ +/* + * 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. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/contactcenterinsights/v1/contact_center_insights.proto package com.google.cloud.contactcenterinsights.v1; /** + * + * *
  * Request to get statistics of an issue model.
  * 
* * Protobuf type {@code google.cloud.contactcenterinsights.v1.CalculateIssueModelStatsRequest} */ -public final class CalculateIssueModelStatsRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class CalculateIssueModelStatsRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.contactcenterinsights.v1.CalculateIssueModelStatsRequest) CalculateIssueModelStatsRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use CalculateIssueModelStatsRequest.newBuilder() to construct. - private CalculateIssueModelStatsRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { + private CalculateIssueModelStatsRequest( + com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private CalculateIssueModelStatsRequest() { issueModel_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new CalculateIssueModelStatsRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto.internal_static_google_cloud_contactcenterinsights_v1_CalculateIssueModelStatsRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto + .internal_static_google_cloud_contactcenterinsights_v1_CalculateIssueModelStatsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto.internal_static_google_cloud_contactcenterinsights_v1_CalculateIssueModelStatsRequest_fieldAccessorTable + return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto + .internal_static_google_cloud_contactcenterinsights_v1_CalculateIssueModelStatsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.contactcenterinsights.v1.CalculateIssueModelStatsRequest.class, com.google.cloud.contactcenterinsights.v1.CalculateIssueModelStatsRequest.Builder.class); + com.google.cloud.contactcenterinsights.v1.CalculateIssueModelStatsRequest.class, + com.google.cloud.contactcenterinsights.v1.CalculateIssueModelStatsRequest.Builder + .class); } public static final int ISSUE_MODEL_FIELD_NUMBER = 1; + @SuppressWarnings("serial") private volatile java.lang.Object issueModel_ = ""; /** + * + * *
    * Required. The resource name of the issue model to query against.
    * 
* - * string issue_model = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string issue_model = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The issueModel. */ @java.lang.Override @@ -65,29 +92,31 @@ public java.lang.String getIssueModel() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); issueModel_ = s; return s; } } /** + * + * *
    * Required. The resource name of the issue model to query against.
    * 
* - * string issue_model = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string issue_model = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for issueModel. */ @java.lang.Override - public com.google.protobuf.ByteString - getIssueModelBytes() { + public com.google.protobuf.ByteString getIssueModelBytes() { java.lang.Object ref = issueModel_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); issueModel_ = b; return b; } else { @@ -96,6 +125,7 @@ public java.lang.String getIssueModel() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -107,8 +137,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(issueModel_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, issueModel_); } @@ -132,15 +161,16 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } - if (!(obj instanceof com.google.cloud.contactcenterinsights.v1.CalculateIssueModelStatsRequest)) { + if (!(obj + instanceof com.google.cloud.contactcenterinsights.v1.CalculateIssueModelStatsRequest)) { return super.equals(obj); } - com.google.cloud.contactcenterinsights.v1.CalculateIssueModelStatsRequest other = (com.google.cloud.contactcenterinsights.v1.CalculateIssueModelStatsRequest) obj; + com.google.cloud.contactcenterinsights.v1.CalculateIssueModelStatsRequest other = + (com.google.cloud.contactcenterinsights.v1.CalculateIssueModelStatsRequest) obj; - if (!getIssueModel() - .equals(other.getIssueModel())) return false; + if (!getIssueModel().equals(other.getIssueModel())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -160,129 +190,139 @@ public int hashCode() { } public static com.google.cloud.contactcenterinsights.v1.CalculateIssueModelStatsRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.contactcenterinsights.v1.CalculateIssueModelStatsRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.contactcenterinsights.v1.CalculateIssueModelStatsRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.contactcenterinsights.v1.CalculateIssueModelStatsRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.contactcenterinsights.v1.CalculateIssueModelStatsRequest parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.contactcenterinsights.v1.CalculateIssueModelStatsRequest parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.contactcenterinsights.v1.CalculateIssueModelStatsRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.contactcenterinsights.v1.CalculateIssueModelStatsRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.contactcenterinsights.v1.CalculateIssueModelStatsRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.contactcenterinsights.v1.CalculateIssueModelStatsRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.contactcenterinsights.v1.CalculateIssueModelStatsRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.contactcenterinsights.v1.CalculateIssueModelStatsRequest + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.contactcenterinsights.v1.CalculateIssueModelStatsRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + + public static com.google.cloud.contactcenterinsights.v1.CalculateIssueModelStatsRequest + parseDelimitedFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.contactcenterinsights.v1.CalculateIssueModelStatsRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.contactcenterinsights.v1.CalculateIssueModelStatsRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.contactcenterinsights.v1.CalculateIssueModelStatsRequest prototype) { + + public static Builder newBuilder( + com.google.cloud.contactcenterinsights.v1.CalculateIssueModelStatsRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Request to get statistics of an issue model.
    * 
* * Protobuf type {@code google.cloud.contactcenterinsights.v1.CalculateIssueModelStatsRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.contactcenterinsights.v1.CalculateIssueModelStatsRequest) com.google.cloud.contactcenterinsights.v1.CalculateIssueModelStatsRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto.internal_static_google_cloud_contactcenterinsights_v1_CalculateIssueModelStatsRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto + .internal_static_google_cloud_contactcenterinsights_v1_CalculateIssueModelStatsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto.internal_static_google_cloud_contactcenterinsights_v1_CalculateIssueModelStatsRequest_fieldAccessorTable + return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto + .internal_static_google_cloud_contactcenterinsights_v1_CalculateIssueModelStatsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.contactcenterinsights.v1.CalculateIssueModelStatsRequest.class, com.google.cloud.contactcenterinsights.v1.CalculateIssueModelStatsRequest.Builder.class); + com.google.cloud.contactcenterinsights.v1.CalculateIssueModelStatsRequest.class, + com.google.cloud.contactcenterinsights.v1.CalculateIssueModelStatsRequest.Builder + .class); } - // Construct using com.google.cloud.contactcenterinsights.v1.CalculateIssueModelStatsRequest.newBuilder() - private Builder() { + // Construct using + // com.google.cloud.contactcenterinsights.v1.CalculateIssueModelStatsRequest.newBuilder() + private Builder() {} - } - - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -292,19 +332,22 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto.internal_static_google_cloud_contactcenterinsights_v1_CalculateIssueModelStatsRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto + .internal_static_google_cloud_contactcenterinsights_v1_CalculateIssueModelStatsRequest_descriptor; } @java.lang.Override - public com.google.cloud.contactcenterinsights.v1.CalculateIssueModelStatsRequest getDefaultInstanceForType() { - return com.google.cloud.contactcenterinsights.v1.CalculateIssueModelStatsRequest.getDefaultInstance(); + public com.google.cloud.contactcenterinsights.v1.CalculateIssueModelStatsRequest + getDefaultInstanceForType() { + return com.google.cloud.contactcenterinsights.v1.CalculateIssueModelStatsRequest + .getDefaultInstance(); } @java.lang.Override public com.google.cloud.contactcenterinsights.v1.CalculateIssueModelStatsRequest build() { - com.google.cloud.contactcenterinsights.v1.CalculateIssueModelStatsRequest result = buildPartial(); + com.google.cloud.contactcenterinsights.v1.CalculateIssueModelStatsRequest result = + buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } @@ -312,14 +355,19 @@ public com.google.cloud.contactcenterinsights.v1.CalculateIssueModelStatsRequest } @java.lang.Override - public com.google.cloud.contactcenterinsights.v1.CalculateIssueModelStatsRequest buildPartial() { - com.google.cloud.contactcenterinsights.v1.CalculateIssueModelStatsRequest result = new com.google.cloud.contactcenterinsights.v1.CalculateIssueModelStatsRequest(this); - if (bitField0_ != 0) { buildPartial0(result); } + public com.google.cloud.contactcenterinsights.v1.CalculateIssueModelStatsRequest + buildPartial() { + com.google.cloud.contactcenterinsights.v1.CalculateIssueModelStatsRequest result = + new com.google.cloud.contactcenterinsights.v1.CalculateIssueModelStatsRequest(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } - private void buildPartial0(com.google.cloud.contactcenterinsights.v1.CalculateIssueModelStatsRequest result) { + private void buildPartial0( + com.google.cloud.contactcenterinsights.v1.CalculateIssueModelStatsRequest result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { result.issueModel_ = issueModel_; @@ -330,46 +378,52 @@ private void buildPartial0(com.google.cloud.contactcenterinsights.v1.CalculateIs public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { - if (other instanceof com.google.cloud.contactcenterinsights.v1.CalculateIssueModelStatsRequest) { - return mergeFrom((com.google.cloud.contactcenterinsights.v1.CalculateIssueModelStatsRequest)other); + if (other + instanceof com.google.cloud.contactcenterinsights.v1.CalculateIssueModelStatsRequest) { + return mergeFrom( + (com.google.cloud.contactcenterinsights.v1.CalculateIssueModelStatsRequest) other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.google.cloud.contactcenterinsights.v1.CalculateIssueModelStatsRequest other) { - if (other == com.google.cloud.contactcenterinsights.v1.CalculateIssueModelStatsRequest.getDefaultInstance()) return this; + public Builder mergeFrom( + com.google.cloud.contactcenterinsights.v1.CalculateIssueModelStatsRequest other) { + if (other + == com.google.cloud.contactcenterinsights.v1.CalculateIssueModelStatsRequest + .getDefaultInstance()) return this; if (!other.getIssueModel().isEmpty()) { issueModel_ = other.issueModel_; bitField0_ |= 0x00000001; @@ -401,17 +455,19 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - issueModel_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + issueModel_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -421,22 +477,27 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private java.lang.Object issueModel_ = ""; /** + * + * *
      * Required. The resource name of the issue model to query against.
      * 
* - * string issue_model = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string issue_model = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The issueModel. */ public java.lang.String getIssueModel() { java.lang.Object ref = issueModel_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); issueModel_ = s; return s; @@ -445,20 +506,23 @@ public java.lang.String getIssueModel() { } } /** + * + * *
      * Required. The resource name of the issue model to query against.
      * 
* - * string issue_model = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string issue_model = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for issueModel. */ - public com.google.protobuf.ByteString - getIssueModelBytes() { + public com.google.protobuf.ByteString getIssueModelBytes() { java.lang.Object ref = issueModel_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); issueModel_ = b; return b; } else { @@ -466,28 +530,39 @@ public java.lang.String getIssueModel() { } } /** + * + * *
      * Required. The resource name of the issue model to query against.
      * 
* - * string issue_model = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string issue_model = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The issueModel to set. * @return This builder for chaining. */ - public Builder setIssueModel( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setIssueModel(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } issueModel_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
      * Required. The resource name of the issue model to query against.
      * 
* - * string issue_model = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string issue_model = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return This builder for chaining. */ public Builder clearIssueModel() { @@ -497,26 +572,32 @@ public Builder clearIssueModel() { return this; } /** + * + * *
      * Required. The resource name of the issue model to query against.
      * 
* - * string issue_model = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string issue_model = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The bytes for issueModel to set. * @return This builder for chaining. */ - public Builder setIssueModelBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setIssueModelBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); issueModel_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -526,41 +607,44 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.contactcenterinsights.v1.CalculateIssueModelStatsRequest) } // @@protoc_insertion_point(class_scope:google.cloud.contactcenterinsights.v1.CalculateIssueModelStatsRequest) - private static final com.google.cloud.contactcenterinsights.v1.CalculateIssueModelStatsRequest DEFAULT_INSTANCE; + private static final com.google.cloud.contactcenterinsights.v1.CalculateIssueModelStatsRequest + DEFAULT_INSTANCE; + static { - DEFAULT_INSTANCE = new com.google.cloud.contactcenterinsights.v1.CalculateIssueModelStatsRequest(); + DEFAULT_INSTANCE = + new com.google.cloud.contactcenterinsights.v1.CalculateIssueModelStatsRequest(); } - public static com.google.cloud.contactcenterinsights.v1.CalculateIssueModelStatsRequest getDefaultInstance() { + public static com.google.cloud.contactcenterinsights.v1.CalculateIssueModelStatsRequest + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public CalculateIssueModelStatsRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public CalculateIssueModelStatsRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -572,9 +656,8 @@ public com.google.protobuf.Parser getParserForT } @java.lang.Override - public com.google.cloud.contactcenterinsights.v1.CalculateIssueModelStatsRequest getDefaultInstanceForType() { + public com.google.cloud.contactcenterinsights.v1.CalculateIssueModelStatsRequest + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/CalculateIssueModelStatsRequestOrBuilder.java b/java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/CalculateIssueModelStatsRequestOrBuilder.java new file mode 100644 index 000000000000..a68d1613586f --- /dev/null +++ b/java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/CalculateIssueModelStatsRequestOrBuilder.java @@ -0,0 +1,54 @@ +/* + * 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. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/contactcenterinsights/v1/contact_center_insights.proto + +package com.google.cloud.contactcenterinsights.v1; + +public interface CalculateIssueModelStatsRequestOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.cloud.contactcenterinsights.v1.CalculateIssueModelStatsRequest) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * Required. The resource name of the issue model to query against.
+   * 
+ * + * + * string issue_model = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The issueModel. + */ + java.lang.String getIssueModel(); + /** + * + * + *
+   * Required. The resource name of the issue model to query against.
+   * 
+ * + * + * string issue_model = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The bytes for issueModel. + */ + com.google.protobuf.ByteString getIssueModelBytes(); +} diff --git a/owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/CalculateIssueModelStatsResponse.java b/java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/CalculateIssueModelStatsResponse.java similarity index 58% rename from owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/CalculateIssueModelStatsResponse.java rename to java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/CalculateIssueModelStatsResponse.java index 54a7bf15f02c..8fa7fcaf3f97 100644 --- a/owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/CalculateIssueModelStatsResponse.java +++ b/java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/CalculateIssueModelStatsResponse.java @@ -1,61 +1,84 @@ +/* + * 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. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/contactcenterinsights/v1/contact_center_insights.proto package com.google.cloud.contactcenterinsights.v1; /** + * + * *
  * Response of querying an issue model's statistics.
  * 
* * Protobuf type {@code google.cloud.contactcenterinsights.v1.CalculateIssueModelStatsResponse} */ -public final class CalculateIssueModelStatsResponse extends - com.google.protobuf.GeneratedMessageV3 implements +public final class CalculateIssueModelStatsResponse extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.contactcenterinsights.v1.CalculateIssueModelStatsResponse) CalculateIssueModelStatsResponseOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use CalculateIssueModelStatsResponse.newBuilder() to construct. - private CalculateIssueModelStatsResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { + private CalculateIssueModelStatsResponse( + com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private CalculateIssueModelStatsResponse() { - } + + private CalculateIssueModelStatsResponse() {} @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new CalculateIssueModelStatsResponse(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto.internal_static_google_cloud_contactcenterinsights_v1_CalculateIssueModelStatsResponse_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto + .internal_static_google_cloud_contactcenterinsights_v1_CalculateIssueModelStatsResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto.internal_static_google_cloud_contactcenterinsights_v1_CalculateIssueModelStatsResponse_fieldAccessorTable + return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto + .internal_static_google_cloud_contactcenterinsights_v1_CalculateIssueModelStatsResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.contactcenterinsights.v1.CalculateIssueModelStatsResponse.class, com.google.cloud.contactcenterinsights.v1.CalculateIssueModelStatsResponse.Builder.class); + com.google.cloud.contactcenterinsights.v1.CalculateIssueModelStatsResponse.class, + com.google.cloud.contactcenterinsights.v1.CalculateIssueModelStatsResponse.Builder + .class); } public static final int CURRENT_STATS_FIELD_NUMBER = 4; private com.google.cloud.contactcenterinsights.v1.IssueModelLabelStats currentStats_; /** + * + * *
    * The latest label statistics for the queried issue model. Includes results
    * on both training data and data labeled after deployment.
    * 
* * .google.cloud.contactcenterinsights.v1.IssueModelLabelStats current_stats = 4; + * * @return Whether the currentStats field is set. */ @java.lang.Override @@ -63,19 +86,26 @@ public boolean hasCurrentStats() { return currentStats_ != null; } /** + * + * *
    * The latest label statistics for the queried issue model. Includes results
    * on both training data and data labeled after deployment.
    * 
* * .google.cloud.contactcenterinsights.v1.IssueModelLabelStats current_stats = 4; + * * @return The currentStats. */ @java.lang.Override public com.google.cloud.contactcenterinsights.v1.IssueModelLabelStats getCurrentStats() { - return currentStats_ == null ? com.google.cloud.contactcenterinsights.v1.IssueModelLabelStats.getDefaultInstance() : currentStats_; + return currentStats_ == null + ? com.google.cloud.contactcenterinsights.v1.IssueModelLabelStats.getDefaultInstance() + : currentStats_; } /** + * + * *
    * The latest label statistics for the queried issue model. Includes results
    * on both training data and data labeled after deployment.
@@ -84,11 +114,15 @@ public com.google.cloud.contactcenterinsights.v1.IssueModelLabelStats getCurrent
    * .google.cloud.contactcenterinsights.v1.IssueModelLabelStats current_stats = 4;
    */
   @java.lang.Override
-  public com.google.cloud.contactcenterinsights.v1.IssueModelLabelStatsOrBuilder getCurrentStatsOrBuilder() {
-    return currentStats_ == null ? com.google.cloud.contactcenterinsights.v1.IssueModelLabelStats.getDefaultInstance() : currentStats_;
+  public com.google.cloud.contactcenterinsights.v1.IssueModelLabelStatsOrBuilder
+      getCurrentStatsOrBuilder() {
+    return currentStats_ == null
+        ? com.google.cloud.contactcenterinsights.v1.IssueModelLabelStats.getDefaultInstance()
+        : currentStats_;
   }
 
   private byte memoizedIsInitialized = -1;
+
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -100,8 +134,7 @@ public final boolean isInitialized() {
   }
 
   @java.lang.Override
-  public void writeTo(com.google.protobuf.CodedOutputStream output)
-                      throws java.io.IOException {
+  public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
     if (currentStats_ != null) {
       output.writeMessage(4, getCurrentStats());
     }
@@ -115,8 +148,7 @@ public int getSerializedSize() {
 
     size = 0;
     if (currentStats_ != null) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeMessageSize(4, getCurrentStats());
+      size += com.google.protobuf.CodedOutputStream.computeMessageSize(4, getCurrentStats());
     }
     size += getUnknownFields().getSerializedSize();
     memoizedSize = size;
@@ -126,17 +158,18 @@ public int getSerializedSize() {
   @java.lang.Override
   public boolean equals(final java.lang.Object obj) {
     if (obj == this) {
-     return true;
+      return true;
     }
-    if (!(obj instanceof com.google.cloud.contactcenterinsights.v1.CalculateIssueModelStatsResponse)) {
+    if (!(obj
+        instanceof com.google.cloud.contactcenterinsights.v1.CalculateIssueModelStatsResponse)) {
       return super.equals(obj);
     }
-    com.google.cloud.contactcenterinsights.v1.CalculateIssueModelStatsResponse other = (com.google.cloud.contactcenterinsights.v1.CalculateIssueModelStatsResponse) obj;
+    com.google.cloud.contactcenterinsights.v1.CalculateIssueModelStatsResponse other =
+        (com.google.cloud.contactcenterinsights.v1.CalculateIssueModelStatsResponse) obj;
 
     if (hasCurrentStats() != other.hasCurrentStats()) return false;
     if (hasCurrentStats()) {
-      if (!getCurrentStats()
-          .equals(other.getCurrentStats())) return false;
+      if (!getCurrentStats().equals(other.getCurrentStats())) return false;
     }
     if (!getUnknownFields().equals(other.getUnknownFields())) return false;
     return true;
@@ -158,130 +191,145 @@ public int hashCode() {
     return hash;
   }
 
-  public static com.google.cloud.contactcenterinsights.v1.CalculateIssueModelStatsResponse parseFrom(
-      java.nio.ByteBuffer data)
-      throws com.google.protobuf.InvalidProtocolBufferException {
+  public static com.google.cloud.contactcenterinsights.v1.CalculateIssueModelStatsResponse
+      parseFrom(java.nio.ByteBuffer data)
+          throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-  public static com.google.cloud.contactcenterinsights.v1.CalculateIssueModelStatsResponse parseFrom(
-      java.nio.ByteBuffer data,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-      throws com.google.protobuf.InvalidProtocolBufferException {
+
+  public static com.google.cloud.contactcenterinsights.v1.CalculateIssueModelStatsResponse
+      parseFrom(
+          java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+          throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-  public static com.google.cloud.contactcenterinsights.v1.CalculateIssueModelStatsResponse parseFrom(
-      com.google.protobuf.ByteString data)
-      throws com.google.protobuf.InvalidProtocolBufferException {
+
+  public static com.google.cloud.contactcenterinsights.v1.CalculateIssueModelStatsResponse
+      parseFrom(com.google.protobuf.ByteString data)
+          throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-  public static com.google.cloud.contactcenterinsights.v1.CalculateIssueModelStatsResponse parseFrom(
-      com.google.protobuf.ByteString data,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-      throws com.google.protobuf.InvalidProtocolBufferException {
+
+  public static com.google.cloud.contactcenterinsights.v1.CalculateIssueModelStatsResponse
+      parseFrom(
+          com.google.protobuf.ByteString data,
+          com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+          throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-  public static com.google.cloud.contactcenterinsights.v1.CalculateIssueModelStatsResponse parseFrom(byte[] data)
-      throws com.google.protobuf.InvalidProtocolBufferException {
+
+  public static com.google.cloud.contactcenterinsights.v1.CalculateIssueModelStatsResponse
+      parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-  public static com.google.cloud.contactcenterinsights.v1.CalculateIssueModelStatsResponse parseFrom(
-      byte[] data,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-      throws com.google.protobuf.InvalidProtocolBufferException {
+
+  public static com.google.cloud.contactcenterinsights.v1.CalculateIssueModelStatsResponse
+      parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+          throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-  public static com.google.cloud.contactcenterinsights.v1.CalculateIssueModelStatsResponse parseFrom(java.io.InputStream input)
-      throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input);
-  }
-  public static com.google.cloud.contactcenterinsights.v1.CalculateIssueModelStatsResponse parseFrom(
-      java.io.InputStream input,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-      throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input, extensionRegistry);
-  }
-  public static com.google.cloud.contactcenterinsights.v1.CalculateIssueModelStatsResponse parseDelimitedFrom(java.io.InputStream input)
-      throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseDelimitedWithIOException(PARSER, input);
-  }
-  public static com.google.cloud.contactcenterinsights.v1.CalculateIssueModelStatsResponse parseDelimitedFrom(
-      java.io.InputStream input,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-      throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
-  }
-  public static com.google.cloud.contactcenterinsights.v1.CalculateIssueModelStatsResponse parseFrom(
-      com.google.protobuf.CodedInputStream input)
-      throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input);
-  }
-  public static com.google.cloud.contactcenterinsights.v1.CalculateIssueModelStatsResponse parseFrom(
-      com.google.protobuf.CodedInputStream input,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-      throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input, extensionRegistry);
+
+  public static com.google.cloud.contactcenterinsights.v1.CalculateIssueModelStatsResponse
+      parseFrom(java.io.InputStream input) throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+  }
+
+  public static com.google.cloud.contactcenterinsights.v1.CalculateIssueModelStatsResponse
+      parseFrom(
+          java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+          throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
+        PARSER, input, extensionRegistry);
+  }
+
+  public static com.google.cloud.contactcenterinsights.v1.CalculateIssueModelStatsResponse
+      parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
+  }
+
+  public static com.google.cloud.contactcenterinsights.v1.CalculateIssueModelStatsResponse
+      parseDelimitedFrom(
+          java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+          throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(
+        PARSER, input, extensionRegistry);
+  }
+
+  public static com.google.cloud.contactcenterinsights.v1.CalculateIssueModelStatsResponse
+      parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+  }
+
+  public static com.google.cloud.contactcenterinsights.v1.CalculateIssueModelStatsResponse
+      parseFrom(
+          com.google.protobuf.CodedInputStream input,
+          com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+          throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
+        PARSER, input, extensionRegistry);
   }
 
   @java.lang.Override
-  public Builder newBuilderForType() { return newBuilder(); }
+  public Builder newBuilderForType() {
+    return newBuilder();
+  }
+
   public static Builder newBuilder() {
     return DEFAULT_INSTANCE.toBuilder();
   }
-  public static Builder newBuilder(com.google.cloud.contactcenterinsights.v1.CalculateIssueModelStatsResponse prototype) {
+
+  public static Builder newBuilder(
+      com.google.cloud.contactcenterinsights.v1.CalculateIssueModelStatsResponse prototype) {
     return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
   }
+
   @java.lang.Override
   public Builder toBuilder() {
-    return this == DEFAULT_INSTANCE
-        ? new Builder() : new Builder().mergeFrom(this);
+    return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
   }
 
   @java.lang.Override
-  protected Builder newBuilderForType(
-      com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+  protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
     Builder builder = new Builder(parent);
     return builder;
   }
   /**
+   *
+   *
    * 
    * Response of querying an issue model's statistics.
    * 
* * Protobuf type {@code google.cloud.contactcenterinsights.v1.CalculateIssueModelStatsResponse} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.contactcenterinsights.v1.CalculateIssueModelStatsResponse) com.google.cloud.contactcenterinsights.v1.CalculateIssueModelStatsResponseOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto.internal_static_google_cloud_contactcenterinsights_v1_CalculateIssueModelStatsResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto + .internal_static_google_cloud_contactcenterinsights_v1_CalculateIssueModelStatsResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto.internal_static_google_cloud_contactcenterinsights_v1_CalculateIssueModelStatsResponse_fieldAccessorTable + return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto + .internal_static_google_cloud_contactcenterinsights_v1_CalculateIssueModelStatsResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.contactcenterinsights.v1.CalculateIssueModelStatsResponse.class, com.google.cloud.contactcenterinsights.v1.CalculateIssueModelStatsResponse.Builder.class); + com.google.cloud.contactcenterinsights.v1.CalculateIssueModelStatsResponse.class, + com.google.cloud.contactcenterinsights.v1.CalculateIssueModelStatsResponse.Builder + .class); } - // Construct using com.google.cloud.contactcenterinsights.v1.CalculateIssueModelStatsResponse.newBuilder() - private Builder() { + // Construct using + // com.google.cloud.contactcenterinsights.v1.CalculateIssueModelStatsResponse.newBuilder() + private Builder() {} - } - - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -295,19 +343,22 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto.internal_static_google_cloud_contactcenterinsights_v1_CalculateIssueModelStatsResponse_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto + .internal_static_google_cloud_contactcenterinsights_v1_CalculateIssueModelStatsResponse_descriptor; } @java.lang.Override - public com.google.cloud.contactcenterinsights.v1.CalculateIssueModelStatsResponse getDefaultInstanceForType() { - return com.google.cloud.contactcenterinsights.v1.CalculateIssueModelStatsResponse.getDefaultInstance(); + public com.google.cloud.contactcenterinsights.v1.CalculateIssueModelStatsResponse + getDefaultInstanceForType() { + return com.google.cloud.contactcenterinsights.v1.CalculateIssueModelStatsResponse + .getDefaultInstance(); } @java.lang.Override public com.google.cloud.contactcenterinsights.v1.CalculateIssueModelStatsResponse build() { - com.google.cloud.contactcenterinsights.v1.CalculateIssueModelStatsResponse result = buildPartial(); + com.google.cloud.contactcenterinsights.v1.CalculateIssueModelStatsResponse result = + buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } @@ -315,19 +366,23 @@ public com.google.cloud.contactcenterinsights.v1.CalculateIssueModelStatsRespons } @java.lang.Override - public com.google.cloud.contactcenterinsights.v1.CalculateIssueModelStatsResponse buildPartial() { - com.google.cloud.contactcenterinsights.v1.CalculateIssueModelStatsResponse result = new com.google.cloud.contactcenterinsights.v1.CalculateIssueModelStatsResponse(this); - if (bitField0_ != 0) { buildPartial0(result); } + public com.google.cloud.contactcenterinsights.v1.CalculateIssueModelStatsResponse + buildPartial() { + com.google.cloud.contactcenterinsights.v1.CalculateIssueModelStatsResponse result = + new com.google.cloud.contactcenterinsights.v1.CalculateIssueModelStatsResponse(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } - private void buildPartial0(com.google.cloud.contactcenterinsights.v1.CalculateIssueModelStatsResponse result) { + private void buildPartial0( + com.google.cloud.contactcenterinsights.v1.CalculateIssueModelStatsResponse result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { - result.currentStats_ = currentStatsBuilder_ == null - ? currentStats_ - : currentStatsBuilder_.build(); + result.currentStats_ = + currentStatsBuilder_ == null ? currentStats_ : currentStatsBuilder_.build(); } } @@ -335,46 +390,52 @@ private void buildPartial0(com.google.cloud.contactcenterinsights.v1.CalculateIs public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { - if (other instanceof com.google.cloud.contactcenterinsights.v1.CalculateIssueModelStatsResponse) { - return mergeFrom((com.google.cloud.contactcenterinsights.v1.CalculateIssueModelStatsResponse)other); + if (other + instanceof com.google.cloud.contactcenterinsights.v1.CalculateIssueModelStatsResponse) { + return mergeFrom( + (com.google.cloud.contactcenterinsights.v1.CalculateIssueModelStatsResponse) other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.google.cloud.contactcenterinsights.v1.CalculateIssueModelStatsResponse other) { - if (other == com.google.cloud.contactcenterinsights.v1.CalculateIssueModelStatsResponse.getDefaultInstance()) return this; + public Builder mergeFrom( + com.google.cloud.contactcenterinsights.v1.CalculateIssueModelStatsResponse other) { + if (other + == com.google.cloud.contactcenterinsights.v1.CalculateIssueModelStatsResponse + .getDefaultInstance()) return this; if (other.hasCurrentStats()) { mergeCurrentStats(other.getCurrentStats()); } @@ -404,19 +465,19 @@ public Builder mergeFrom( case 0: done = true; break; - case 34: { - input.readMessage( - getCurrentStatsFieldBuilder().getBuilder(), - extensionRegistry); - bitField0_ |= 0x00000001; - break; - } // case 34 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 34: + { + input.readMessage(getCurrentStatsFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000001; + break; + } // case 34 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -426,40 +487,54 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private com.google.cloud.contactcenterinsights.v1.IssueModelLabelStats currentStats_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.contactcenterinsights.v1.IssueModelLabelStats, com.google.cloud.contactcenterinsights.v1.IssueModelLabelStats.Builder, com.google.cloud.contactcenterinsights.v1.IssueModelLabelStatsOrBuilder> currentStatsBuilder_; + com.google.cloud.contactcenterinsights.v1.IssueModelLabelStats, + com.google.cloud.contactcenterinsights.v1.IssueModelLabelStats.Builder, + com.google.cloud.contactcenterinsights.v1.IssueModelLabelStatsOrBuilder> + currentStatsBuilder_; /** + * + * *
      * The latest label statistics for the queried issue model. Includes results
      * on both training data and data labeled after deployment.
      * 
* * .google.cloud.contactcenterinsights.v1.IssueModelLabelStats current_stats = 4; + * * @return Whether the currentStats field is set. */ public boolean hasCurrentStats() { return ((bitField0_ & 0x00000001) != 0); } /** + * + * *
      * The latest label statistics for the queried issue model. Includes results
      * on both training data and data labeled after deployment.
      * 
* * .google.cloud.contactcenterinsights.v1.IssueModelLabelStats current_stats = 4; + * * @return The currentStats. */ public com.google.cloud.contactcenterinsights.v1.IssueModelLabelStats getCurrentStats() { if (currentStatsBuilder_ == null) { - return currentStats_ == null ? com.google.cloud.contactcenterinsights.v1.IssueModelLabelStats.getDefaultInstance() : currentStats_; + return currentStats_ == null + ? com.google.cloud.contactcenterinsights.v1.IssueModelLabelStats.getDefaultInstance() + : currentStats_; } else { return currentStatsBuilder_.getMessage(); } } /** + * + * *
      * The latest label statistics for the queried issue model. Includes results
      * on both training data and data labeled after deployment.
@@ -467,7 +542,8 @@ public com.google.cloud.contactcenterinsights.v1.IssueModelLabelStats getCurrent
      *
      * .google.cloud.contactcenterinsights.v1.IssueModelLabelStats current_stats = 4;
      */
-    public Builder setCurrentStats(com.google.cloud.contactcenterinsights.v1.IssueModelLabelStats value) {
+    public Builder setCurrentStats(
+        com.google.cloud.contactcenterinsights.v1.IssueModelLabelStats value) {
       if (currentStatsBuilder_ == null) {
         if (value == null) {
           throw new NullPointerException();
@@ -481,6 +557,8 @@ public Builder setCurrentStats(com.google.cloud.contactcenterinsights.v1.IssueMo
       return this;
     }
     /**
+     *
+     *
      * 
      * The latest label statistics for the queried issue model. Includes results
      * on both training data and data labeled after deployment.
@@ -500,6 +578,8 @@ public Builder setCurrentStats(
       return this;
     }
     /**
+     *
+     *
      * 
      * The latest label statistics for the queried issue model. Includes results
      * on both training data and data labeled after deployment.
@@ -507,11 +587,14 @@ public Builder setCurrentStats(
      *
      * .google.cloud.contactcenterinsights.v1.IssueModelLabelStats current_stats = 4;
      */
-    public Builder mergeCurrentStats(com.google.cloud.contactcenterinsights.v1.IssueModelLabelStats value) {
+    public Builder mergeCurrentStats(
+        com.google.cloud.contactcenterinsights.v1.IssueModelLabelStats value) {
       if (currentStatsBuilder_ == null) {
-        if (((bitField0_ & 0x00000001) != 0) &&
-          currentStats_ != null &&
-          currentStats_ != com.google.cloud.contactcenterinsights.v1.IssueModelLabelStats.getDefaultInstance()) {
+        if (((bitField0_ & 0x00000001) != 0)
+            && currentStats_ != null
+            && currentStats_
+                != com.google.cloud.contactcenterinsights.v1.IssueModelLabelStats
+                    .getDefaultInstance()) {
           getCurrentStatsBuilder().mergeFrom(value);
         } else {
           currentStats_ = value;
@@ -524,6 +607,8 @@ public Builder mergeCurrentStats(com.google.cloud.contactcenterinsights.v1.Issue
       return this;
     }
     /**
+     *
+     *
      * 
      * The latest label statistics for the queried issue model. Includes results
      * on both training data and data labeled after deployment.
@@ -542,6 +627,8 @@ public Builder clearCurrentStats() {
       return this;
     }
     /**
+     *
+     *
      * 
      * The latest label statistics for the queried issue model. Includes results
      * on both training data and data labeled after deployment.
@@ -549,12 +636,15 @@ public Builder clearCurrentStats() {
      *
      * .google.cloud.contactcenterinsights.v1.IssueModelLabelStats current_stats = 4;
      */
-    public com.google.cloud.contactcenterinsights.v1.IssueModelLabelStats.Builder getCurrentStatsBuilder() {
+    public com.google.cloud.contactcenterinsights.v1.IssueModelLabelStats.Builder
+        getCurrentStatsBuilder() {
       bitField0_ |= 0x00000001;
       onChanged();
       return getCurrentStatsFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * The latest label statistics for the queried issue model. Includes results
      * on both training data and data labeled after deployment.
@@ -562,15 +652,19 @@ public com.google.cloud.contactcenterinsights.v1.IssueModelLabelStats.Builder ge
      *
      * .google.cloud.contactcenterinsights.v1.IssueModelLabelStats current_stats = 4;
      */
-    public com.google.cloud.contactcenterinsights.v1.IssueModelLabelStatsOrBuilder getCurrentStatsOrBuilder() {
+    public com.google.cloud.contactcenterinsights.v1.IssueModelLabelStatsOrBuilder
+        getCurrentStatsOrBuilder() {
       if (currentStatsBuilder_ != null) {
         return currentStatsBuilder_.getMessageOrBuilder();
       } else {
-        return currentStats_ == null ?
-            com.google.cloud.contactcenterinsights.v1.IssueModelLabelStats.getDefaultInstance() : currentStats_;
+        return currentStats_ == null
+            ? com.google.cloud.contactcenterinsights.v1.IssueModelLabelStats.getDefaultInstance()
+            : currentStats_;
       }
     }
     /**
+     *
+     *
      * 
      * The latest label statistics for the queried issue model. Includes results
      * on both training data and data labeled after deployment.
@@ -579,21 +673,24 @@ public com.google.cloud.contactcenterinsights.v1.IssueModelLabelStatsOrBuilder g
      * .google.cloud.contactcenterinsights.v1.IssueModelLabelStats current_stats = 4;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.cloud.contactcenterinsights.v1.IssueModelLabelStats, com.google.cloud.contactcenterinsights.v1.IssueModelLabelStats.Builder, com.google.cloud.contactcenterinsights.v1.IssueModelLabelStatsOrBuilder> 
+            com.google.cloud.contactcenterinsights.v1.IssueModelLabelStats,
+            com.google.cloud.contactcenterinsights.v1.IssueModelLabelStats.Builder,
+            com.google.cloud.contactcenterinsights.v1.IssueModelLabelStatsOrBuilder>
         getCurrentStatsFieldBuilder() {
       if (currentStatsBuilder_ == null) {
-        currentStatsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-            com.google.cloud.contactcenterinsights.v1.IssueModelLabelStats, com.google.cloud.contactcenterinsights.v1.IssueModelLabelStats.Builder, com.google.cloud.contactcenterinsights.v1.IssueModelLabelStatsOrBuilder>(
-                getCurrentStats(),
-                getParentForChildren(),
-                isClean());
+        currentStatsBuilder_ =
+            new com.google.protobuf.SingleFieldBuilderV3<
+                com.google.cloud.contactcenterinsights.v1.IssueModelLabelStats,
+                com.google.cloud.contactcenterinsights.v1.IssueModelLabelStats.Builder,
+                com.google.cloud.contactcenterinsights.v1.IssueModelLabelStatsOrBuilder>(
+                getCurrentStats(), getParentForChildren(), isClean());
         currentStats_ = null;
       }
       return currentStatsBuilder_;
     }
+
     @java.lang.Override
-    public final Builder setUnknownFields(
-        final com.google.protobuf.UnknownFieldSet unknownFields) {
+    public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) {
       return super.setUnknownFields(unknownFields);
     }
 
@@ -603,41 +700,44 @@ public final Builder mergeUnknownFields(
       return super.mergeUnknownFields(unknownFields);
     }
 
-
     // @@protoc_insertion_point(builder_scope:google.cloud.contactcenterinsights.v1.CalculateIssueModelStatsResponse)
   }
 
   // @@protoc_insertion_point(class_scope:google.cloud.contactcenterinsights.v1.CalculateIssueModelStatsResponse)
-  private static final com.google.cloud.contactcenterinsights.v1.CalculateIssueModelStatsResponse DEFAULT_INSTANCE;
+  private static final com.google.cloud.contactcenterinsights.v1.CalculateIssueModelStatsResponse
+      DEFAULT_INSTANCE;
+
   static {
-    DEFAULT_INSTANCE = new com.google.cloud.contactcenterinsights.v1.CalculateIssueModelStatsResponse();
+    DEFAULT_INSTANCE =
+        new com.google.cloud.contactcenterinsights.v1.CalculateIssueModelStatsResponse();
   }
 
-  public static com.google.cloud.contactcenterinsights.v1.CalculateIssueModelStatsResponse getDefaultInstance() {
+  public static com.google.cloud.contactcenterinsights.v1.CalculateIssueModelStatsResponse
+      getDefaultInstance() {
     return DEFAULT_INSTANCE;
   }
 
-  private static final com.google.protobuf.Parser
-      PARSER = new com.google.protobuf.AbstractParser() {
-    @java.lang.Override
-    public CalculateIssueModelStatsResponse parsePartialFrom(
-        com.google.protobuf.CodedInputStream input,
-        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-        throws com.google.protobuf.InvalidProtocolBufferException {
-      Builder builder = newBuilder();
-      try {
-        builder.mergeFrom(input, extensionRegistry);
-      } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-        throw e.setUnfinishedMessage(builder.buildPartial());
-      } catch (com.google.protobuf.UninitializedMessageException e) {
-        throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
-      } catch (java.io.IOException e) {
-        throw new com.google.protobuf.InvalidProtocolBufferException(e)
-            .setUnfinishedMessage(builder.buildPartial());
-      }
-      return builder.buildPartial();
-    }
-  };
+  private static final com.google.protobuf.Parser PARSER =
+      new com.google.protobuf.AbstractParser() {
+        @java.lang.Override
+        public CalculateIssueModelStatsResponse parsePartialFrom(
+            com.google.protobuf.CodedInputStream input,
+            com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+            throws com.google.protobuf.InvalidProtocolBufferException {
+          Builder builder = newBuilder();
+          try {
+            builder.mergeFrom(input, extensionRegistry);
+          } catch (com.google.protobuf.InvalidProtocolBufferException e) {
+            throw e.setUnfinishedMessage(builder.buildPartial());
+          } catch (com.google.protobuf.UninitializedMessageException e) {
+            throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
+          } catch (java.io.IOException e) {
+            throw new com.google.protobuf.InvalidProtocolBufferException(e)
+                .setUnfinishedMessage(builder.buildPartial());
+          }
+          return builder.buildPartial();
+        }
+      };
 
   public static com.google.protobuf.Parser parser() {
     return PARSER;
@@ -649,9 +749,8 @@ public com.google.protobuf.Parser getParserFor
   }
 
   @java.lang.Override
-  public com.google.cloud.contactcenterinsights.v1.CalculateIssueModelStatsResponse getDefaultInstanceForType() {
+  public com.google.cloud.contactcenterinsights.v1.CalculateIssueModelStatsResponse
+      getDefaultInstanceForType() {
     return DEFAULT_INSTANCE;
   }
-
 }
-
diff --git a/owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/CalculateIssueModelStatsResponseOrBuilder.java b/java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/CalculateIssueModelStatsResponseOrBuilder.java
similarity index 65%
rename from owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/CalculateIssueModelStatsResponseOrBuilder.java
rename to java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/CalculateIssueModelStatsResponseOrBuilder.java
index 2eeb3b229cb9..57c73991dbc2 100644
--- a/owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/CalculateIssueModelStatsResponseOrBuilder.java
+++ b/java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/CalculateIssueModelStatsResponseOrBuilder.java
@@ -1,33 +1,57 @@
+/*
+ * 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.
+ */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/cloud/contactcenterinsights/v1/contact_center_insights.proto
 
 package com.google.cloud.contactcenterinsights.v1;
 
-public interface CalculateIssueModelStatsResponseOrBuilder extends
+public interface CalculateIssueModelStatsResponseOrBuilder
+    extends
     // @@protoc_insertion_point(interface_extends:google.cloud.contactcenterinsights.v1.CalculateIssueModelStatsResponse)
     com.google.protobuf.MessageOrBuilder {
 
   /**
+   *
+   *
    * 
    * The latest label statistics for the queried issue model. Includes results
    * on both training data and data labeled after deployment.
    * 
* * .google.cloud.contactcenterinsights.v1.IssueModelLabelStats current_stats = 4; + * * @return Whether the currentStats field is set. */ boolean hasCurrentStats(); /** + * + * *
    * The latest label statistics for the queried issue model. Includes results
    * on both training data and data labeled after deployment.
    * 
* * .google.cloud.contactcenterinsights.v1.IssueModelLabelStats current_stats = 4; + * * @return The currentStats. */ com.google.cloud.contactcenterinsights.v1.IssueModelLabelStats getCurrentStats(); /** + * + * *
    * The latest label statistics for the queried issue model. Includes results
    * on both training data and data labeled after deployment.
@@ -35,5 +59,6 @@ public interface CalculateIssueModelStatsResponseOrBuilder extends
    *
    * .google.cloud.contactcenterinsights.v1.IssueModelLabelStats current_stats = 4;
    */
-  com.google.cloud.contactcenterinsights.v1.IssueModelLabelStatsOrBuilder getCurrentStatsOrBuilder();
+  com.google.cloud.contactcenterinsights.v1.IssueModelLabelStatsOrBuilder
+      getCurrentStatsOrBuilder();
 }
diff --git a/owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/CalculateStatsRequest.java b/java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/CalculateStatsRequest.java
similarity index 63%
rename from owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/CalculateStatsRequest.java
rename to java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/CalculateStatsRequest.java
index 2775219bc15a..3e165f4b9ca5 100644
--- a/owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/CalculateStatsRequest.java
+++ b/java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/CalculateStatsRequest.java
@@ -1,24 +1,42 @@
+/*
+ * 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.
+ */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/cloud/contactcenterinsights/v1/contact_center_insights.proto
 
 package com.google.cloud.contactcenterinsights.v1;
 
 /**
+ *
+ *
  * 
  * The request for calculating conversation statistics.
  * 
* * Protobuf type {@code google.cloud.contactcenterinsights.v1.CalculateStatsRequest} */ -public final class CalculateStatsRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class CalculateStatsRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.contactcenterinsights.v1.CalculateStatsRequest) CalculateStatsRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use CalculateStatsRequest.newBuilder() to construct. private CalculateStatsRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private CalculateStatsRequest() { location_ = ""; filter_ = ""; @@ -26,38 +44,45 @@ private CalculateStatsRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new CalculateStatsRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto.internal_static_google_cloud_contactcenterinsights_v1_CalculateStatsRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto + .internal_static_google_cloud_contactcenterinsights_v1_CalculateStatsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto.internal_static_google_cloud_contactcenterinsights_v1_CalculateStatsRequest_fieldAccessorTable + return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto + .internal_static_google_cloud_contactcenterinsights_v1_CalculateStatsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.contactcenterinsights.v1.CalculateStatsRequest.class, com.google.cloud.contactcenterinsights.v1.CalculateStatsRequest.Builder.class); + com.google.cloud.contactcenterinsights.v1.CalculateStatsRequest.class, + com.google.cloud.contactcenterinsights.v1.CalculateStatsRequest.Builder.class); } public static final int LOCATION_FIELD_NUMBER = 1; + @SuppressWarnings("serial") private volatile java.lang.Object location_ = ""; /** + * + * *
    * Required. The location of the conversations.
    * 
* - * string location = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string location = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The location. */ @java.lang.Override @@ -66,29 +91,31 @@ public java.lang.String getLocation() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); location_ = s; return s; } } /** + * + * *
    * Required. The location of the conversations.
    * 
* - * string location = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string location = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for location. */ @java.lang.Override - public com.google.protobuf.ByteString - getLocationBytes() { + public com.google.protobuf.ByteString getLocationBytes() { java.lang.Object ref = location_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); location_ = b; return b; } else { @@ -97,15 +124,19 @@ public java.lang.String getLocation() { } public static final int FILTER_FIELD_NUMBER = 2; + @SuppressWarnings("serial") private volatile java.lang.Object filter_ = ""; /** + * + * *
    * A filter to reduce results to a specific subset. This field is useful for
    * getting statistics about conversations with specific properties.
    * 
* * string filter = 2; + * * @return The filter. */ @java.lang.Override @@ -114,30 +145,30 @@ public java.lang.String getFilter() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); filter_ = s; return s; } } /** + * + * *
    * A filter to reduce results to a specific subset. This field is useful for
    * getting statistics about conversations with specific properties.
    * 
* * string filter = 2; + * * @return The bytes for filter. */ @java.lang.Override - public com.google.protobuf.ByteString - getFilterBytes() { + public com.google.protobuf.ByteString getFilterBytes() { java.lang.Object ref = filter_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); filter_ = b; return b; } else { @@ -146,6 +177,7 @@ public java.lang.String getFilter() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -157,8 +189,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(location_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, location_); } @@ -188,17 +219,16 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.contactcenterinsights.v1.CalculateStatsRequest)) { return super.equals(obj); } - com.google.cloud.contactcenterinsights.v1.CalculateStatsRequest other = (com.google.cloud.contactcenterinsights.v1.CalculateStatsRequest) obj; + com.google.cloud.contactcenterinsights.v1.CalculateStatsRequest other = + (com.google.cloud.contactcenterinsights.v1.CalculateStatsRequest) obj; - if (!getLocation() - .equals(other.getLocation())) return false; - if (!getFilter() - .equals(other.getFilter())) return false; + if (!getLocation().equals(other.getLocation())) return false; + if (!getFilter().equals(other.getFilter())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -220,129 +250,136 @@ public int hashCode() { } public static com.google.cloud.contactcenterinsights.v1.CalculateStatsRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.contactcenterinsights.v1.CalculateStatsRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.contactcenterinsights.v1.CalculateStatsRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.contactcenterinsights.v1.CalculateStatsRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.contactcenterinsights.v1.CalculateStatsRequest parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.contactcenterinsights.v1.CalculateStatsRequest parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.contactcenterinsights.v1.CalculateStatsRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.contactcenterinsights.v1.CalculateStatsRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.contactcenterinsights.v1.CalculateStatsRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.contactcenterinsights.v1.CalculateStatsRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.contactcenterinsights.v1.CalculateStatsRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.contactcenterinsights.v1.CalculateStatsRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.contactcenterinsights.v1.CalculateStatsRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.contactcenterinsights.v1.CalculateStatsRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.contactcenterinsights.v1.CalculateStatsRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.contactcenterinsights.v1.CalculateStatsRequest prototype) { + + public static Builder newBuilder( + com.google.cloud.contactcenterinsights.v1.CalculateStatsRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * The request for calculating conversation statistics.
    * 
* * Protobuf type {@code google.cloud.contactcenterinsights.v1.CalculateStatsRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.contactcenterinsights.v1.CalculateStatsRequest) com.google.cloud.contactcenterinsights.v1.CalculateStatsRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto.internal_static_google_cloud_contactcenterinsights_v1_CalculateStatsRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto + .internal_static_google_cloud_contactcenterinsights_v1_CalculateStatsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto.internal_static_google_cloud_contactcenterinsights_v1_CalculateStatsRequest_fieldAccessorTable + return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto + .internal_static_google_cloud_contactcenterinsights_v1_CalculateStatsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.contactcenterinsights.v1.CalculateStatsRequest.class, com.google.cloud.contactcenterinsights.v1.CalculateStatsRequest.Builder.class); + com.google.cloud.contactcenterinsights.v1.CalculateStatsRequest.class, + com.google.cloud.contactcenterinsights.v1.CalculateStatsRequest.Builder.class); } // Construct using com.google.cloud.contactcenterinsights.v1.CalculateStatsRequest.newBuilder() - private Builder() { - - } + private Builder() {} - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -353,13 +390,14 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto.internal_static_google_cloud_contactcenterinsights_v1_CalculateStatsRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto + .internal_static_google_cloud_contactcenterinsights_v1_CalculateStatsRequest_descriptor; } @java.lang.Override - public com.google.cloud.contactcenterinsights.v1.CalculateStatsRequest getDefaultInstanceForType() { + public com.google.cloud.contactcenterinsights.v1.CalculateStatsRequest + getDefaultInstanceForType() { return com.google.cloud.contactcenterinsights.v1.CalculateStatsRequest.getDefaultInstance(); } @@ -374,13 +412,17 @@ public com.google.cloud.contactcenterinsights.v1.CalculateStatsRequest build() { @java.lang.Override public com.google.cloud.contactcenterinsights.v1.CalculateStatsRequest buildPartial() { - com.google.cloud.contactcenterinsights.v1.CalculateStatsRequest result = new com.google.cloud.contactcenterinsights.v1.CalculateStatsRequest(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.cloud.contactcenterinsights.v1.CalculateStatsRequest result = + new com.google.cloud.contactcenterinsights.v1.CalculateStatsRequest(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } - private void buildPartial0(com.google.cloud.contactcenterinsights.v1.CalculateStatsRequest result) { + private void buildPartial0( + com.google.cloud.contactcenterinsights.v1.CalculateStatsRequest result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { result.location_ = location_; @@ -394,46 +436,50 @@ private void buildPartial0(com.google.cloud.contactcenterinsights.v1.CalculateSt public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.contactcenterinsights.v1.CalculateStatsRequest) { - return mergeFrom((com.google.cloud.contactcenterinsights.v1.CalculateStatsRequest)other); + return mergeFrom((com.google.cloud.contactcenterinsights.v1.CalculateStatsRequest) other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.google.cloud.contactcenterinsights.v1.CalculateStatsRequest other) { - if (other == com.google.cloud.contactcenterinsights.v1.CalculateStatsRequest.getDefaultInstance()) return this; + public Builder mergeFrom( + com.google.cloud.contactcenterinsights.v1.CalculateStatsRequest other) { + if (other + == com.google.cloud.contactcenterinsights.v1.CalculateStatsRequest.getDefaultInstance()) + return this; if (!other.getLocation().isEmpty()) { location_ = other.location_; bitField0_ |= 0x00000001; @@ -470,22 +516,25 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - location_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: { - filter_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000002; - break; - } // case 18 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + location_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: + { + filter_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + break; + } // case 18 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -495,22 +544,27 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private java.lang.Object location_ = ""; /** + * + * *
      * Required. The location of the conversations.
      * 
* - * string location = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string location = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The location. */ public java.lang.String getLocation() { java.lang.Object ref = location_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); location_ = s; return s; @@ -519,20 +573,23 @@ public java.lang.String getLocation() { } } /** + * + * *
      * Required. The location of the conversations.
      * 
* - * string location = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string location = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for location. */ - public com.google.protobuf.ByteString - getLocationBytes() { + public com.google.protobuf.ByteString getLocationBytes() { java.lang.Object ref = location_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); location_ = b; return b; } else { @@ -540,28 +597,39 @@ public java.lang.String getLocation() { } } /** + * + * *
      * Required. The location of the conversations.
      * 
* - * string location = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string location = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The location to set. * @return This builder for chaining. */ - public Builder setLocation( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setLocation(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } location_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
      * Required. The location of the conversations.
      * 
* - * string location = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string location = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return This builder for chaining. */ public Builder clearLocation() { @@ -571,17 +639,23 @@ public Builder clearLocation() { return this; } /** + * + * *
      * Required. The location of the conversations.
      * 
* - * string location = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string location = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The bytes for location to set. * @return This builder for chaining. */ - public Builder setLocationBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setLocationBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); location_ = value; bitField0_ |= 0x00000001; @@ -591,19 +665,21 @@ public Builder setLocationBytes( private java.lang.Object filter_ = ""; /** + * + * *
      * A filter to reduce results to a specific subset. This field is useful for
      * getting statistics about conversations with specific properties.
      * 
* * string filter = 2; + * * @return The filter. */ public java.lang.String getFilter() { java.lang.Object ref = filter_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); filter_ = s; return s; @@ -612,21 +688,22 @@ public java.lang.String getFilter() { } } /** + * + * *
      * A filter to reduce results to a specific subset. This field is useful for
      * getting statistics about conversations with specific properties.
      * 
* * string filter = 2; + * * @return The bytes for filter. */ - public com.google.protobuf.ByteString - getFilterBytes() { + public com.google.protobuf.ByteString getFilterBytes() { java.lang.Object ref = filter_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); filter_ = b; return b; } else { @@ -634,30 +711,37 @@ public java.lang.String getFilter() { } } /** + * + * *
      * A filter to reduce results to a specific subset. This field is useful for
      * getting statistics about conversations with specific properties.
      * 
* * string filter = 2; + * * @param value The filter to set. * @return This builder for chaining. */ - public Builder setFilter( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setFilter(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } filter_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** + * + * *
      * A filter to reduce results to a specific subset. This field is useful for
      * getting statistics about conversations with specific properties.
      * 
* * string filter = 2; + * * @return This builder for chaining. */ public Builder clearFilter() { @@ -667,27 +751,31 @@ public Builder clearFilter() { return this; } /** + * + * *
      * A filter to reduce results to a specific subset. This field is useful for
      * getting statistics about conversations with specific properties.
      * 
* * string filter = 2; + * * @param value The bytes for filter to set. * @return This builder for chaining. */ - public Builder setFilterBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setFilterBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); filter_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -697,41 +785,43 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.contactcenterinsights.v1.CalculateStatsRequest) } // @@protoc_insertion_point(class_scope:google.cloud.contactcenterinsights.v1.CalculateStatsRequest) - private static final com.google.cloud.contactcenterinsights.v1.CalculateStatsRequest DEFAULT_INSTANCE; + private static final com.google.cloud.contactcenterinsights.v1.CalculateStatsRequest + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.contactcenterinsights.v1.CalculateStatsRequest(); } - public static com.google.cloud.contactcenterinsights.v1.CalculateStatsRequest getDefaultInstance() { + public static com.google.cloud.contactcenterinsights.v1.CalculateStatsRequest + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public CalculateStatsRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public CalculateStatsRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -743,9 +833,8 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.cloud.contactcenterinsights.v1.CalculateStatsRequest getDefaultInstanceForType() { + public com.google.cloud.contactcenterinsights.v1.CalculateStatsRequest + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/CalculateStatsRequestOrBuilder.java b/java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/CalculateStatsRequestOrBuilder.java similarity index 51% rename from owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/CalculateStatsRequestOrBuilder.java rename to java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/CalculateStatsRequestOrBuilder.java index 4eb8ec0dc83c..40e54fd56670 100644 --- a/owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/CalculateStatsRequestOrBuilder.java +++ b/java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/CalculateStatsRequestOrBuilder.java @@ -1,51 +1,81 @@ +/* + * 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. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/contactcenterinsights/v1/contact_center_insights.proto package com.google.cloud.contactcenterinsights.v1; -public interface CalculateStatsRequestOrBuilder extends +public interface CalculateStatsRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.contactcenterinsights.v1.CalculateStatsRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Required. The location of the conversations.
    * 
* - * string location = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string location = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The location. */ java.lang.String getLocation(); /** + * + * *
    * Required. The location of the conversations.
    * 
* - * string location = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string location = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for location. */ - com.google.protobuf.ByteString - getLocationBytes(); + com.google.protobuf.ByteString getLocationBytes(); /** + * + * *
    * A filter to reduce results to a specific subset. This field is useful for
    * getting statistics about conversations with specific properties.
    * 
* * string filter = 2; + * * @return The filter. */ java.lang.String getFilter(); /** + * + * *
    * A filter to reduce results to a specific subset. This field is useful for
    * getting statistics about conversations with specific properties.
    * 
* * string filter = 2; + * * @return The bytes for filter. */ - com.google.protobuf.ByteString - getFilterBytes(); + com.google.protobuf.ByteString getFilterBytes(); } diff --git a/owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/CalculateStatsResponse.java b/java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/CalculateStatsResponse.java similarity index 61% rename from owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/CalculateStatsResponse.java rename to java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/CalculateStatsResponse.java index 3d127e36b08d..51ae3a5a6ea9 100644 --- a/owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/CalculateStatsResponse.java +++ b/java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/CalculateStatsResponse.java @@ -1,48 +1,63 @@ +/* + * 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. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/contactcenterinsights/v1/contact_center_insights.proto package com.google.cloud.contactcenterinsights.v1; /** + * + * *
  * The response for calculating conversation statistics.
  * 
* * Protobuf type {@code google.cloud.contactcenterinsights.v1.CalculateStatsResponse} */ -public final class CalculateStatsResponse extends - com.google.protobuf.GeneratedMessageV3 implements +public final class CalculateStatsResponse extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.contactcenterinsights.v1.CalculateStatsResponse) CalculateStatsResponseOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use CalculateStatsResponse.newBuilder() to construct. private CalculateStatsResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private CalculateStatsResponse() { - } + + private CalculateStatsResponse() {} @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new CalculateStatsResponse(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto.internal_static_google_cloud_contactcenterinsights_v1_CalculateStatsResponse_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto + .internal_static_google_cloud_contactcenterinsights_v1_CalculateStatsResponse_descriptor; } @SuppressWarnings({"rawtypes"}) @java.lang.Override - protected com.google.protobuf.MapField internalGetMapField( - int number) { + protected com.google.protobuf.MapField internalGetMapField(int number) { switch (number) { case 4: return internalGetSmartHighlighterMatches(); @@ -53,41 +68,52 @@ protected com.google.protobuf.MapField internalGetMapField( case 8: return internalGetIssueMatchesStats(); default: - throw new RuntimeException( - "Invalid map field number: " + number); + throw new RuntimeException("Invalid map field number: " + number); } } + @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto.internal_static_google_cloud_contactcenterinsights_v1_CalculateStatsResponse_fieldAccessorTable + return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto + .internal_static_google_cloud_contactcenterinsights_v1_CalculateStatsResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.contactcenterinsights.v1.CalculateStatsResponse.class, com.google.cloud.contactcenterinsights.v1.CalculateStatsResponse.Builder.class); + com.google.cloud.contactcenterinsights.v1.CalculateStatsResponse.class, + com.google.cloud.contactcenterinsights.v1.CalculateStatsResponse.Builder.class); } - public interface TimeSeriesOrBuilder extends + public interface TimeSeriesOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.contactcenterinsights.v1.CalculateStatsResponse.TimeSeries) com.google.protobuf.MessageOrBuilder { /** + * + * *
      * The duration of each interval.
      * 
* * .google.protobuf.Duration interval_duration = 1; + * * @return Whether the intervalDuration field is set. */ boolean hasIntervalDuration(); /** + * + * *
      * The duration of each interval.
      * 
* * .google.protobuf.Duration interval_duration = 1; + * * @return The intervalDuration. */ com.google.protobuf.Duration getIntervalDuration(); /** + * + * *
      * The duration of each interval.
      * 
@@ -97,127 +123,166 @@ public interface TimeSeriesOrBuilder extends com.google.protobuf.DurationOrBuilder getIntervalDurationOrBuilder(); /** + * + * *
      * An ordered list of intervals from earliest to latest, where each interval
      * represents the number of conversations that transpired during the time
      * window.
      * 
* - * repeated .google.cloud.contactcenterinsights.v1.CalculateStatsResponse.TimeSeries.Interval points = 2; + * + * repeated .google.cloud.contactcenterinsights.v1.CalculateStatsResponse.TimeSeries.Interval points = 2; + * */ - java.util.List + java.util.List< + com.google.cloud.contactcenterinsights.v1.CalculateStatsResponse.TimeSeries.Interval> getPointsList(); /** + * + * *
      * An ordered list of intervals from earliest to latest, where each interval
      * represents the number of conversations that transpired during the time
      * window.
      * 
* - * repeated .google.cloud.contactcenterinsights.v1.CalculateStatsResponse.TimeSeries.Interval points = 2; + * + * repeated .google.cloud.contactcenterinsights.v1.CalculateStatsResponse.TimeSeries.Interval points = 2; + * */ - com.google.cloud.contactcenterinsights.v1.CalculateStatsResponse.TimeSeries.Interval getPoints(int index); + com.google.cloud.contactcenterinsights.v1.CalculateStatsResponse.TimeSeries.Interval getPoints( + int index); /** + * + * *
      * An ordered list of intervals from earliest to latest, where each interval
      * represents the number of conversations that transpired during the time
      * window.
      * 
* - * repeated .google.cloud.contactcenterinsights.v1.CalculateStatsResponse.TimeSeries.Interval points = 2; + * + * repeated .google.cloud.contactcenterinsights.v1.CalculateStatsResponse.TimeSeries.Interval points = 2; + * */ int getPointsCount(); /** + * + * *
      * An ordered list of intervals from earliest to latest, where each interval
      * represents the number of conversations that transpired during the time
      * window.
      * 
* - * repeated .google.cloud.contactcenterinsights.v1.CalculateStatsResponse.TimeSeries.Interval points = 2; + * + * repeated .google.cloud.contactcenterinsights.v1.CalculateStatsResponse.TimeSeries.Interval points = 2; + * */ - java.util.List + java.util.List< + ? extends + com.google.cloud.contactcenterinsights.v1.CalculateStatsResponse.TimeSeries + .IntervalOrBuilder> getPointsOrBuilderList(); /** + * + * *
      * An ordered list of intervals from earliest to latest, where each interval
      * represents the number of conversations that transpired during the time
      * window.
      * 
* - * repeated .google.cloud.contactcenterinsights.v1.CalculateStatsResponse.TimeSeries.Interval points = 2; + * + * repeated .google.cloud.contactcenterinsights.v1.CalculateStatsResponse.TimeSeries.Interval points = 2; + * */ - com.google.cloud.contactcenterinsights.v1.CalculateStatsResponse.TimeSeries.IntervalOrBuilder getPointsOrBuilder( - int index); + com.google.cloud.contactcenterinsights.v1.CalculateStatsResponse.TimeSeries.IntervalOrBuilder + getPointsOrBuilder(int index); } /** + * + * *
    * A time series representing conversations over time.
    * 
* * Protobuf type {@code google.cloud.contactcenterinsights.v1.CalculateStatsResponse.TimeSeries} */ - public static final class TimeSeries extends - com.google.protobuf.GeneratedMessageV3 implements + public static final class TimeSeries extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.contactcenterinsights.v1.CalculateStatsResponse.TimeSeries) TimeSeriesOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use TimeSeries.newBuilder() to construct. private TimeSeries(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private TimeSeries() { points_ = java.util.Collections.emptyList(); } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new TimeSeries(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto.internal_static_google_cloud_contactcenterinsights_v1_CalculateStatsResponse_TimeSeries_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto + .internal_static_google_cloud_contactcenterinsights_v1_CalculateStatsResponse_TimeSeries_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto.internal_static_google_cloud_contactcenterinsights_v1_CalculateStatsResponse_TimeSeries_fieldAccessorTable + return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto + .internal_static_google_cloud_contactcenterinsights_v1_CalculateStatsResponse_TimeSeries_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.contactcenterinsights.v1.CalculateStatsResponse.TimeSeries.class, com.google.cloud.contactcenterinsights.v1.CalculateStatsResponse.TimeSeries.Builder.class); + com.google.cloud.contactcenterinsights.v1.CalculateStatsResponse.TimeSeries.class, + com.google.cloud.contactcenterinsights.v1.CalculateStatsResponse.TimeSeries.Builder + .class); } - public interface IntervalOrBuilder extends + public interface IntervalOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.contactcenterinsights.v1.CalculateStatsResponse.TimeSeries.Interval) com.google.protobuf.MessageOrBuilder { /** + * + * *
        * The start time of this interval.
        * 
* * .google.protobuf.Timestamp start_time = 1; + * * @return Whether the startTime field is set. */ boolean hasStartTime(); /** + * + * *
        * The start time of this interval.
        * 
* * .google.protobuf.Timestamp start_time = 1; + * * @return The startTime. */ com.google.protobuf.Timestamp getStartTime(); /** + * + * *
        * The start time of this interval.
        * 
@@ -227,67 +292,79 @@ public interface IntervalOrBuilder extends com.google.protobuf.TimestampOrBuilder getStartTimeOrBuilder(); /** + * + * *
        * The number of conversations created in this interval.
        * 
* * int32 conversation_count = 2; + * * @return The conversationCount. */ int getConversationCount(); } /** + * + * *
      * A single interval in a time series.
      * 
* - * Protobuf type {@code google.cloud.contactcenterinsights.v1.CalculateStatsResponse.TimeSeries.Interval} + * Protobuf type {@code + * google.cloud.contactcenterinsights.v1.CalculateStatsResponse.TimeSeries.Interval} */ - public static final class Interval extends - com.google.protobuf.GeneratedMessageV3 implements + public static final class Interval extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.contactcenterinsights.v1.CalculateStatsResponse.TimeSeries.Interval) IntervalOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use Interval.newBuilder() to construct. private Interval(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private Interval() { - } + + private Interval() {} @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new Interval(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto.internal_static_google_cloud_contactcenterinsights_v1_CalculateStatsResponse_TimeSeries_Interval_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto + .internal_static_google_cloud_contactcenterinsights_v1_CalculateStatsResponse_TimeSeries_Interval_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto.internal_static_google_cloud_contactcenterinsights_v1_CalculateStatsResponse_TimeSeries_Interval_fieldAccessorTable + return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto + .internal_static_google_cloud_contactcenterinsights_v1_CalculateStatsResponse_TimeSeries_Interval_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.contactcenterinsights.v1.CalculateStatsResponse.TimeSeries.Interval.class, com.google.cloud.contactcenterinsights.v1.CalculateStatsResponse.TimeSeries.Interval.Builder.class); + com.google.cloud.contactcenterinsights.v1.CalculateStatsResponse.TimeSeries.Interval + .class, + com.google.cloud.contactcenterinsights.v1.CalculateStatsResponse.TimeSeries.Interval + .Builder.class); } public static final int START_TIME_FIELD_NUMBER = 1; private com.google.protobuf.Timestamp startTime_; /** + * + * *
        * The start time of this interval.
        * 
* * .google.protobuf.Timestamp start_time = 1; + * * @return Whether the startTime field is set. */ @java.lang.Override @@ -295,11 +372,14 @@ public boolean hasStartTime() { return startTime_ != null; } /** + * + * *
        * The start time of this interval.
        * 
* * .google.protobuf.Timestamp start_time = 1; + * * @return The startTime. */ @java.lang.Override @@ -307,6 +387,8 @@ public com.google.protobuf.Timestamp getStartTime() { return startTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : startTime_; } /** + * + * *
        * The start time of this interval.
        * 
@@ -321,11 +403,14 @@ public com.google.protobuf.TimestampOrBuilder getStartTimeOrBuilder() { public static final int CONVERSATION_COUNT_FIELD_NUMBER = 2; private int conversationCount_ = 0; /** + * + * *
        * The number of conversations created in this interval.
        * 
* * int32 conversation_count = 2; + * * @return The conversationCount. */ @java.lang.Override @@ -334,6 +419,7 @@ public int getConversationCount() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -345,8 +431,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (startTime_ != null) { output.writeMessage(1, getStartTime()); } @@ -363,12 +448,10 @@ public int getSerializedSize() { size = 0; if (startTime_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, getStartTime()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getStartTime()); } if (conversationCount_ != 0) { - size += com.google.protobuf.CodedOutputStream - .computeInt32Size(2, conversationCount_); + size += com.google.protobuf.CodedOutputStream.computeInt32Size(2, conversationCount_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -378,20 +461,22 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } - if (!(obj instanceof com.google.cloud.contactcenterinsights.v1.CalculateStatsResponse.TimeSeries.Interval)) { + if (!(obj + instanceof + com.google.cloud.contactcenterinsights.v1.CalculateStatsResponse.TimeSeries.Interval)) { return super.equals(obj); } - com.google.cloud.contactcenterinsights.v1.CalculateStatsResponse.TimeSeries.Interval other = (com.google.cloud.contactcenterinsights.v1.CalculateStatsResponse.TimeSeries.Interval) obj; + com.google.cloud.contactcenterinsights.v1.CalculateStatsResponse.TimeSeries.Interval other = + (com.google.cloud.contactcenterinsights.v1.CalculateStatsResponse.TimeSeries.Interval) + obj; if (hasStartTime() != other.hasStartTime()) return false; if (hasStartTime()) { - if (!getStartTime() - .equals(other.getStartTime())) return false; + if (!getStartTime().equals(other.getStartTime())) return false; } - if (getConversationCount() - != other.getConversationCount()) return false; + if (getConversationCount() != other.getConversationCount()) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -414,88 +499,116 @@ public int hashCode() { return hash; } - public static com.google.cloud.contactcenterinsights.v1.CalculateStatsResponse.TimeSeries.Interval parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.contactcenterinsights.v1.CalculateStatsResponse.TimeSeries + .Interval + parseFrom(java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.contactcenterinsights.v1.CalculateStatsResponse.TimeSeries.Interval parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.contactcenterinsights.v1.CalculateStatsResponse.TimeSeries + .Interval + parseFrom( + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.contactcenterinsights.v1.CalculateStatsResponse.TimeSeries.Interval parseFrom( - com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.contactcenterinsights.v1.CalculateStatsResponse.TimeSeries + .Interval + parseFrom(com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.contactcenterinsights.v1.CalculateStatsResponse.TimeSeries.Interval parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.contactcenterinsights.v1.CalculateStatsResponse.TimeSeries + .Interval + parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.contactcenterinsights.v1.CalculateStatsResponse.TimeSeries.Interval parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.contactcenterinsights.v1.CalculateStatsResponse.TimeSeries + .Interval + parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.contactcenterinsights.v1.CalculateStatsResponse.TimeSeries.Interval parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.contactcenterinsights.v1.CalculateStatsResponse.TimeSeries + .Interval + parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.contactcenterinsights.v1.CalculateStatsResponse.TimeSeries.Interval parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.contactcenterinsights.v1.CalculateStatsResponse.TimeSeries + .Interval + parseFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } - public static com.google.cloud.contactcenterinsights.v1.CalculateStatsResponse.TimeSeries.Interval parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + + public static com.google.cloud.contactcenterinsights.v1.CalculateStatsResponse.TimeSeries + .Interval + parseFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.contactcenterinsights.v1.CalculateStatsResponse.TimeSeries.Interval parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.contactcenterinsights.v1.CalculateStatsResponse.TimeSeries + .Interval + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.contactcenterinsights.v1.CalculateStatsResponse.TimeSeries.Interval parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + + public static com.google.cloud.contactcenterinsights.v1.CalculateStatsResponse.TimeSeries + .Interval + parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.contactcenterinsights.v1.CalculateStatsResponse.TimeSeries.Interval parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.contactcenterinsights.v1.CalculateStatsResponse.TimeSeries + .Interval + parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } - public static com.google.cloud.contactcenterinsights.v1.CalculateStatsResponse.TimeSeries.Interval parseFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + + public static com.google.cloud.contactcenterinsights.v1.CalculateStatsResponse.TimeSeries + .Interval + parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.contactcenterinsights.v1.CalculateStatsResponse.TimeSeries.Interval prototype) { + + public static Builder newBuilder( + com.google.cloud.contactcenterinsights.v1.CalculateStatsResponse.TimeSeries.Interval + prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -505,39 +618,46 @@ protected Builder newBuilderForType( return builder; } /** + * + * *
        * A single interval in a time series.
        * 
* - * Protobuf type {@code google.cloud.contactcenterinsights.v1.CalculateStatsResponse.TimeSeries.Interval} + * Protobuf type {@code + * google.cloud.contactcenterinsights.v1.CalculateStatsResponse.TimeSeries.Interval} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder + extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.contactcenterinsights.v1.CalculateStatsResponse.TimeSeries.Interval) - com.google.cloud.contactcenterinsights.v1.CalculateStatsResponse.TimeSeries.IntervalOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto.internal_static_google_cloud_contactcenterinsights_v1_CalculateStatsResponse_TimeSeries_Interval_descriptor; + com.google.cloud.contactcenterinsights.v1.CalculateStatsResponse.TimeSeries + .IntervalOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto + .internal_static_google_cloud_contactcenterinsights_v1_CalculateStatsResponse_TimeSeries_Interval_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto.internal_static_google_cloud_contactcenterinsights_v1_CalculateStatsResponse_TimeSeries_Interval_fieldAccessorTable + return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto + .internal_static_google_cloud_contactcenterinsights_v1_CalculateStatsResponse_TimeSeries_Interval_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.contactcenterinsights.v1.CalculateStatsResponse.TimeSeries.Interval.class, com.google.cloud.contactcenterinsights.v1.CalculateStatsResponse.TimeSeries.Interval.Builder.class); + com.google.cloud.contactcenterinsights.v1.CalculateStatsResponse.TimeSeries + .Interval.class, + com.google.cloud.contactcenterinsights.v1.CalculateStatsResponse.TimeSeries + .Interval.Builder.class); } - // Construct using com.google.cloud.contactcenterinsights.v1.CalculateStatsResponse.TimeSeries.Interval.newBuilder() - private Builder() { - - } + // Construct using + // com.google.cloud.contactcenterinsights.v1.CalculateStatsResponse.TimeSeries.Interval.newBuilder() + private Builder() {} - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -552,19 +672,23 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto.internal_static_google_cloud_contactcenterinsights_v1_CalculateStatsResponse_TimeSeries_Interval_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto + .internal_static_google_cloud_contactcenterinsights_v1_CalculateStatsResponse_TimeSeries_Interval_descriptor; } @java.lang.Override - public com.google.cloud.contactcenterinsights.v1.CalculateStatsResponse.TimeSeries.Interval getDefaultInstanceForType() { - return com.google.cloud.contactcenterinsights.v1.CalculateStatsResponse.TimeSeries.Interval.getDefaultInstance(); + public com.google.cloud.contactcenterinsights.v1.CalculateStatsResponse.TimeSeries.Interval + getDefaultInstanceForType() { + return com.google.cloud.contactcenterinsights.v1.CalculateStatsResponse.TimeSeries + .Interval.getDefaultInstance(); } @java.lang.Override - public com.google.cloud.contactcenterinsights.v1.CalculateStatsResponse.TimeSeries.Interval build() { - com.google.cloud.contactcenterinsights.v1.CalculateStatsResponse.TimeSeries.Interval result = buildPartial(); + public com.google.cloud.contactcenterinsights.v1.CalculateStatsResponse.TimeSeries.Interval + build() { + com.google.cloud.contactcenterinsights.v1.CalculateStatsResponse.TimeSeries.Interval + result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } @@ -572,19 +696,25 @@ public com.google.cloud.contactcenterinsights.v1.CalculateStatsResponse.TimeSeri } @java.lang.Override - public com.google.cloud.contactcenterinsights.v1.CalculateStatsResponse.TimeSeries.Interval buildPartial() { - com.google.cloud.contactcenterinsights.v1.CalculateStatsResponse.TimeSeries.Interval result = new com.google.cloud.contactcenterinsights.v1.CalculateStatsResponse.TimeSeries.Interval(this); - if (bitField0_ != 0) { buildPartial0(result); } + public com.google.cloud.contactcenterinsights.v1.CalculateStatsResponse.TimeSeries.Interval + buildPartial() { + com.google.cloud.contactcenterinsights.v1.CalculateStatsResponse.TimeSeries.Interval + result = + new com.google.cloud.contactcenterinsights.v1.CalculateStatsResponse.TimeSeries + .Interval(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } - private void buildPartial0(com.google.cloud.contactcenterinsights.v1.CalculateStatsResponse.TimeSeries.Interval result) { + private void buildPartial0( + com.google.cloud.contactcenterinsights.v1.CalculateStatsResponse.TimeSeries.Interval + result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { - result.startTime_ = startTimeBuilder_ == null - ? startTime_ - : startTimeBuilder_.build(); + result.startTime_ = startTimeBuilder_ == null ? startTime_ : startTimeBuilder_.build(); } if (((from_bitField0_ & 0x00000002) != 0)) { result.conversationCount_ = conversationCount_; @@ -595,46 +725,59 @@ private void buildPartial0(com.google.cloud.contactcenterinsights.v1.CalculateSt public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + int index, + java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { - if (other instanceof com.google.cloud.contactcenterinsights.v1.CalculateStatsResponse.TimeSeries.Interval) { - return mergeFrom((com.google.cloud.contactcenterinsights.v1.CalculateStatsResponse.TimeSeries.Interval)other); + if (other + instanceof + com.google.cloud.contactcenterinsights.v1.CalculateStatsResponse.TimeSeries + .Interval) { + return mergeFrom( + (com.google.cloud.contactcenterinsights.v1.CalculateStatsResponse.TimeSeries + .Interval) + other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.google.cloud.contactcenterinsights.v1.CalculateStatsResponse.TimeSeries.Interval other) { - if (other == com.google.cloud.contactcenterinsights.v1.CalculateStatsResponse.TimeSeries.Interval.getDefaultInstance()) return this; + public Builder mergeFrom( + com.google.cloud.contactcenterinsights.v1.CalculateStatsResponse.TimeSeries.Interval + other) { + if (other + == com.google.cloud.contactcenterinsights.v1.CalculateStatsResponse.TimeSeries + .Interval.getDefaultInstance()) return this; if (other.hasStartTime()) { mergeStartTime(other.getStartTime()); } @@ -667,24 +810,25 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - input.readMessage( - getStartTimeFieldBuilder().getBuilder(), - extensionRegistry); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 16: { - conversationCount_ = input.readInt32(); - bitField0_ |= 0x00000002; - break; - } // case 16 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + input.readMessage(getStartTimeFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 16: + { + conversationCount_ = input.readInt32(); + bitField0_ |= 0x00000002; + break; + } // case 16 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -694,38 +838,52 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private com.google.protobuf.Timestamp startTime_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> startTimeBuilder_; + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder> + startTimeBuilder_; /** + * + * *
          * The start time of this interval.
          * 
* * .google.protobuf.Timestamp start_time = 1; + * * @return Whether the startTime field is set. */ public boolean hasStartTime() { return ((bitField0_ & 0x00000001) != 0); } /** + * + * *
          * The start time of this interval.
          * 
* * .google.protobuf.Timestamp start_time = 1; + * * @return The startTime. */ public com.google.protobuf.Timestamp getStartTime() { if (startTimeBuilder_ == null) { - return startTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : startTime_; + return startTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : startTime_; } else { return startTimeBuilder_.getMessage(); } } /** + * + * *
          * The start time of this interval.
          * 
@@ -746,14 +904,15 @@ public Builder setStartTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
          * The start time of this interval.
          * 
* * .google.protobuf.Timestamp start_time = 1; */ - public Builder setStartTime( - com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setStartTime(com.google.protobuf.Timestamp.Builder builderForValue) { if (startTimeBuilder_ == null) { startTime_ = builderForValue.build(); } else { @@ -764,6 +923,8 @@ public Builder setStartTime( return this; } /** + * + * *
          * The start time of this interval.
          * 
@@ -772,9 +933,9 @@ public Builder setStartTime( */ public Builder mergeStartTime(com.google.protobuf.Timestamp value) { if (startTimeBuilder_ == null) { - if (((bitField0_ & 0x00000001) != 0) && - startTime_ != null && - startTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { + if (((bitField0_ & 0x00000001) != 0) + && startTime_ != null + && startTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { getStartTimeBuilder().mergeFrom(value); } else { startTime_ = value; @@ -787,6 +948,8 @@ public Builder mergeStartTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
          * The start time of this interval.
          * 
@@ -804,6 +967,8 @@ public Builder clearStartTime() { return this; } /** + * + * *
          * The start time of this interval.
          * 
@@ -816,6 +981,8 @@ public com.google.protobuf.Timestamp.Builder getStartTimeBuilder() { return getStartTimeFieldBuilder().getBuilder(); } /** + * + * *
          * The start time of this interval.
          * 
@@ -826,11 +993,14 @@ public com.google.protobuf.TimestampOrBuilder getStartTimeOrBuilder() { if (startTimeBuilder_ != null) { return startTimeBuilder_.getMessageOrBuilder(); } else { - return startTime_ == null ? - com.google.protobuf.Timestamp.getDefaultInstance() : startTime_; + return startTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : startTime_; } } /** + * + * *
          * The start time of this interval.
          * 
@@ -838,26 +1008,32 @@ public com.google.protobuf.TimestampOrBuilder getStartTimeOrBuilder() { * .google.protobuf.Timestamp start_time = 1; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder> getStartTimeFieldBuilder() { if (startTimeBuilder_ == null) { - startTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( - getStartTime(), - getParentForChildren(), - isClean()); + startTimeBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder>( + getStartTime(), getParentForChildren(), isClean()); startTime_ = null; } return startTimeBuilder_; } - private int conversationCount_ ; + private int conversationCount_; /** + * + * *
          * The number of conversations created in this interval.
          * 
* * int32 conversation_count = 2; + * * @return The conversationCount. */ @java.lang.Override @@ -865,27 +1041,33 @@ public int getConversationCount() { return conversationCount_; } /** + * + * *
          * The number of conversations created in this interval.
          * 
* * int32 conversation_count = 2; + * * @param value The conversationCount to set. * @return This builder for chaining. */ public Builder setConversationCount(int value) { - + conversationCount_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** + * + * *
          * The number of conversations created in this interval.
          * 
* * int32 conversation_count = 2; + * * @return This builder for chaining. */ public Builder clearConversationCount() { @@ -894,6 +1076,7 @@ public Builder clearConversationCount() { onChanged(); return this; } + @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -906,41 +1089,48 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.contactcenterinsights.v1.CalculateStatsResponse.TimeSeries.Interval) } // @@protoc_insertion_point(class_scope:google.cloud.contactcenterinsights.v1.CalculateStatsResponse.TimeSeries.Interval) - private static final com.google.cloud.contactcenterinsights.v1.CalculateStatsResponse.TimeSeries.Interval DEFAULT_INSTANCE; + private static final com.google.cloud.contactcenterinsights.v1.CalculateStatsResponse + .TimeSeries.Interval + DEFAULT_INSTANCE; + static { - DEFAULT_INSTANCE = new com.google.cloud.contactcenterinsights.v1.CalculateStatsResponse.TimeSeries.Interval(); + DEFAULT_INSTANCE = + new com.google.cloud.contactcenterinsights.v1.CalculateStatsResponse.TimeSeries + .Interval(); } - public static com.google.cloud.contactcenterinsights.v1.CalculateStatsResponse.TimeSeries.Interval getDefaultInstance() { + public static com.google.cloud.contactcenterinsights.v1.CalculateStatsResponse.TimeSeries + .Interval + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public Interval parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public Interval parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException() + .setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -952,20 +1142,23 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.cloud.contactcenterinsights.v1.CalculateStatsResponse.TimeSeries.Interval getDefaultInstanceForType() { + public com.google.cloud.contactcenterinsights.v1.CalculateStatsResponse.TimeSeries.Interval + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } public static final int INTERVAL_DURATION_FIELD_NUMBER = 1; private com.google.protobuf.Duration intervalDuration_; /** + * + * *
      * The duration of each interval.
      * 
* * .google.protobuf.Duration interval_duration = 1; + * * @return Whether the intervalDuration field is set. */ @java.lang.Override @@ -973,18 +1166,25 @@ public boolean hasIntervalDuration() { return intervalDuration_ != null; } /** + * + * *
      * The duration of each interval.
      * 
* * .google.protobuf.Duration interval_duration = 1; + * * @return The intervalDuration. */ @java.lang.Override public com.google.protobuf.Duration getIntervalDuration() { - return intervalDuration_ == null ? com.google.protobuf.Duration.getDefaultInstance() : intervalDuration_; + return intervalDuration_ == null + ? com.google.protobuf.Duration.getDefaultInstance() + : intervalDuration_; } /** + * + * *
      * The duration of each interval.
      * 
@@ -993,81 +1193,114 @@ public com.google.protobuf.Duration getIntervalDuration() { */ @java.lang.Override public com.google.protobuf.DurationOrBuilder getIntervalDurationOrBuilder() { - return intervalDuration_ == null ? com.google.protobuf.Duration.getDefaultInstance() : intervalDuration_; + return intervalDuration_ == null + ? com.google.protobuf.Duration.getDefaultInstance() + : intervalDuration_; } public static final int POINTS_FIELD_NUMBER = 2; + @SuppressWarnings("serial") - private java.util.List points_; + private java.util.List< + com.google.cloud.contactcenterinsights.v1.CalculateStatsResponse.TimeSeries.Interval> + points_; /** + * + * *
      * An ordered list of intervals from earliest to latest, where each interval
      * represents the number of conversations that transpired during the time
      * window.
      * 
* - * repeated .google.cloud.contactcenterinsights.v1.CalculateStatsResponse.TimeSeries.Interval points = 2; + * + * repeated .google.cloud.contactcenterinsights.v1.CalculateStatsResponse.TimeSeries.Interval points = 2; + * */ @java.lang.Override - public java.util.List getPointsList() { + public java.util.List< + com.google.cloud.contactcenterinsights.v1.CalculateStatsResponse.TimeSeries.Interval> + getPointsList() { return points_; } /** + * + * *
      * An ordered list of intervals from earliest to latest, where each interval
      * represents the number of conversations that transpired during the time
      * window.
      * 
* - * repeated .google.cloud.contactcenterinsights.v1.CalculateStatsResponse.TimeSeries.Interval points = 2; + * + * repeated .google.cloud.contactcenterinsights.v1.CalculateStatsResponse.TimeSeries.Interval points = 2; + * */ @java.lang.Override - public java.util.List + public java.util.List< + ? extends + com.google.cloud.contactcenterinsights.v1.CalculateStatsResponse.TimeSeries + .IntervalOrBuilder> getPointsOrBuilderList() { return points_; } /** + * + * *
      * An ordered list of intervals from earliest to latest, where each interval
      * represents the number of conversations that transpired during the time
      * window.
      * 
* - * repeated .google.cloud.contactcenterinsights.v1.CalculateStatsResponse.TimeSeries.Interval points = 2; + * + * repeated .google.cloud.contactcenterinsights.v1.CalculateStatsResponse.TimeSeries.Interval points = 2; + * */ @java.lang.Override public int getPointsCount() { return points_.size(); } /** + * + * *
      * An ordered list of intervals from earliest to latest, where each interval
      * represents the number of conversations that transpired during the time
      * window.
      * 
* - * repeated .google.cloud.contactcenterinsights.v1.CalculateStatsResponse.TimeSeries.Interval points = 2; + * + * repeated .google.cloud.contactcenterinsights.v1.CalculateStatsResponse.TimeSeries.Interval points = 2; + * */ @java.lang.Override - public com.google.cloud.contactcenterinsights.v1.CalculateStatsResponse.TimeSeries.Interval getPoints(int index) { + public com.google.cloud.contactcenterinsights.v1.CalculateStatsResponse.TimeSeries.Interval + getPoints(int index) { return points_.get(index); } /** + * + * *
      * An ordered list of intervals from earliest to latest, where each interval
      * represents the number of conversations that transpired during the time
      * window.
      * 
* - * repeated .google.cloud.contactcenterinsights.v1.CalculateStatsResponse.TimeSeries.Interval points = 2; + * + * repeated .google.cloud.contactcenterinsights.v1.CalculateStatsResponse.TimeSeries.Interval points = 2; + * */ @java.lang.Override - public com.google.cloud.contactcenterinsights.v1.CalculateStatsResponse.TimeSeries.IntervalOrBuilder getPointsOrBuilder( - int index) { + public com.google.cloud.contactcenterinsights.v1.CalculateStatsResponse.TimeSeries + .IntervalOrBuilder + getPointsOrBuilder(int index) { return points_.get(index); } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -1079,8 +1312,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (intervalDuration_ != null) { output.writeMessage(1, getIntervalDuration()); } @@ -1097,12 +1329,10 @@ public int getSerializedSize() { size = 0; if (intervalDuration_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, getIntervalDuration()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getIntervalDuration()); } for (int i = 0; i < points_.size(); i++) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, points_.get(i)); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, points_.get(i)); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -1112,20 +1342,20 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } - if (!(obj instanceof com.google.cloud.contactcenterinsights.v1.CalculateStatsResponse.TimeSeries)) { + if (!(obj + instanceof com.google.cloud.contactcenterinsights.v1.CalculateStatsResponse.TimeSeries)) { return super.equals(obj); } - com.google.cloud.contactcenterinsights.v1.CalculateStatsResponse.TimeSeries other = (com.google.cloud.contactcenterinsights.v1.CalculateStatsResponse.TimeSeries) obj; + com.google.cloud.contactcenterinsights.v1.CalculateStatsResponse.TimeSeries other = + (com.google.cloud.contactcenterinsights.v1.CalculateStatsResponse.TimeSeries) obj; if (hasIntervalDuration() != other.hasIntervalDuration()) return false; if (hasIntervalDuration()) { - if (!getIntervalDuration() - .equals(other.getIntervalDuration())) return false; + if (!getIntervalDuration().equals(other.getIntervalDuration())) return false; } - if (!getPointsList() - .equals(other.getPointsList())) return false; + if (!getPointsList().equals(other.getPointsList())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -1150,88 +1380,101 @@ public int hashCode() { return hash; } - public static com.google.cloud.contactcenterinsights.v1.CalculateStatsResponse.TimeSeries parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.contactcenterinsights.v1.CalculateStatsResponse.TimeSeries + parseFrom(java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.contactcenterinsights.v1.CalculateStatsResponse.TimeSeries parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.contactcenterinsights.v1.CalculateStatsResponse.TimeSeries + parseFrom( + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.contactcenterinsights.v1.CalculateStatsResponse.TimeSeries parseFrom( - com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.contactcenterinsights.v1.CalculateStatsResponse.TimeSeries + parseFrom(com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.contactcenterinsights.v1.CalculateStatsResponse.TimeSeries parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.contactcenterinsights.v1.CalculateStatsResponse.TimeSeries + parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.contactcenterinsights.v1.CalculateStatsResponse.TimeSeries parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.contactcenterinsights.v1.CalculateStatsResponse.TimeSeries + parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.contactcenterinsights.v1.CalculateStatsResponse.TimeSeries parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.contactcenterinsights.v1.CalculateStatsResponse.TimeSeries + parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.contactcenterinsights.v1.CalculateStatsResponse.TimeSeries parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.contactcenterinsights.v1.CalculateStatsResponse.TimeSeries + parseFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } - public static com.google.cloud.contactcenterinsights.v1.CalculateStatsResponse.TimeSeries parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + + public static com.google.cloud.contactcenterinsights.v1.CalculateStatsResponse.TimeSeries + parseFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.contactcenterinsights.v1.CalculateStatsResponse.TimeSeries parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.contactcenterinsights.v1.CalculateStatsResponse.TimeSeries + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.contactcenterinsights.v1.CalculateStatsResponse.TimeSeries parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + + public static com.google.cloud.contactcenterinsights.v1.CalculateStatsResponse.TimeSeries + parseDelimitedFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.contactcenterinsights.v1.CalculateStatsResponse.TimeSeries parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.contactcenterinsights.v1.CalculateStatsResponse.TimeSeries + parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } - public static com.google.cloud.contactcenterinsights.v1.CalculateStatsResponse.TimeSeries parseFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + + public static com.google.cloud.contactcenterinsights.v1.CalculateStatsResponse.TimeSeries + parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.contactcenterinsights.v1.CalculateStatsResponse.TimeSeries prototype) { + + public static Builder newBuilder( + com.google.cloud.contactcenterinsights.v1.CalculateStatsResponse.TimeSeries prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -1241,39 +1484,43 @@ protected Builder newBuilderForType( return builder; } /** + * + * *
      * A time series representing conversations over time.
      * 
* * Protobuf type {@code google.cloud.contactcenterinsights.v1.CalculateStatsResponse.TimeSeries} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder + extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.contactcenterinsights.v1.CalculateStatsResponse.TimeSeries) com.google.cloud.contactcenterinsights.v1.CalculateStatsResponse.TimeSeriesOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto.internal_static_google_cloud_contactcenterinsights_v1_CalculateStatsResponse_TimeSeries_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto + .internal_static_google_cloud_contactcenterinsights_v1_CalculateStatsResponse_TimeSeries_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto.internal_static_google_cloud_contactcenterinsights_v1_CalculateStatsResponse_TimeSeries_fieldAccessorTable + return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto + .internal_static_google_cloud_contactcenterinsights_v1_CalculateStatsResponse_TimeSeries_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.contactcenterinsights.v1.CalculateStatsResponse.TimeSeries.class, com.google.cloud.contactcenterinsights.v1.CalculateStatsResponse.TimeSeries.Builder.class); + com.google.cloud.contactcenterinsights.v1.CalculateStatsResponse.TimeSeries.class, + com.google.cloud.contactcenterinsights.v1.CalculateStatsResponse.TimeSeries.Builder + .class); } - // Construct using com.google.cloud.contactcenterinsights.v1.CalculateStatsResponse.TimeSeries.newBuilder() - private Builder() { - - } + // Construct using + // com.google.cloud.contactcenterinsights.v1.CalculateStatsResponse.TimeSeries.newBuilder() + private Builder() {} - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -1294,19 +1541,22 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto.internal_static_google_cloud_contactcenterinsights_v1_CalculateStatsResponse_TimeSeries_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto + .internal_static_google_cloud_contactcenterinsights_v1_CalculateStatsResponse_TimeSeries_descriptor; } @java.lang.Override - public com.google.cloud.contactcenterinsights.v1.CalculateStatsResponse.TimeSeries getDefaultInstanceForType() { - return com.google.cloud.contactcenterinsights.v1.CalculateStatsResponse.TimeSeries.getDefaultInstance(); + public com.google.cloud.contactcenterinsights.v1.CalculateStatsResponse.TimeSeries + getDefaultInstanceForType() { + return com.google.cloud.contactcenterinsights.v1.CalculateStatsResponse.TimeSeries + .getDefaultInstance(); } @java.lang.Override public com.google.cloud.contactcenterinsights.v1.CalculateStatsResponse.TimeSeries build() { - com.google.cloud.contactcenterinsights.v1.CalculateStatsResponse.TimeSeries result = buildPartial(); + com.google.cloud.contactcenterinsights.v1.CalculateStatsResponse.TimeSeries result = + buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } @@ -1314,15 +1564,20 @@ public com.google.cloud.contactcenterinsights.v1.CalculateStatsResponse.TimeSeri } @java.lang.Override - public com.google.cloud.contactcenterinsights.v1.CalculateStatsResponse.TimeSeries buildPartial() { - com.google.cloud.contactcenterinsights.v1.CalculateStatsResponse.TimeSeries result = new com.google.cloud.contactcenterinsights.v1.CalculateStatsResponse.TimeSeries(this); + public com.google.cloud.contactcenterinsights.v1.CalculateStatsResponse.TimeSeries + buildPartial() { + com.google.cloud.contactcenterinsights.v1.CalculateStatsResponse.TimeSeries result = + new com.google.cloud.contactcenterinsights.v1.CalculateStatsResponse.TimeSeries(this); buildPartialRepeatedFields(result); - if (bitField0_ != 0) { buildPartial0(result); } + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } - private void buildPartialRepeatedFields(com.google.cloud.contactcenterinsights.v1.CalculateStatsResponse.TimeSeries result) { + private void buildPartialRepeatedFields( + com.google.cloud.contactcenterinsights.v1.CalculateStatsResponse.TimeSeries result) { if (pointsBuilder_ == null) { if (((bitField0_ & 0x00000002) != 0)) { points_ = java.util.Collections.unmodifiableList(points_); @@ -1334,12 +1589,14 @@ private void buildPartialRepeatedFields(com.google.cloud.contactcenterinsights.v } } - private void buildPartial0(com.google.cloud.contactcenterinsights.v1.CalculateStatsResponse.TimeSeries result) { + private void buildPartial0( + com.google.cloud.contactcenterinsights.v1.CalculateStatsResponse.TimeSeries result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { - result.intervalDuration_ = intervalDurationBuilder_ == null - ? intervalDuration_ - : intervalDurationBuilder_.build(); + result.intervalDuration_ = + intervalDurationBuilder_ == null + ? intervalDuration_ + : intervalDurationBuilder_.build(); } } @@ -1347,46 +1604,55 @@ private void buildPartial0(com.google.cloud.contactcenterinsights.v1.CalculateSt public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + int index, + java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { - if (other instanceof com.google.cloud.contactcenterinsights.v1.CalculateStatsResponse.TimeSeries) { - return mergeFrom((com.google.cloud.contactcenterinsights.v1.CalculateStatsResponse.TimeSeries)other); + if (other + instanceof + com.google.cloud.contactcenterinsights.v1.CalculateStatsResponse.TimeSeries) { + return mergeFrom( + (com.google.cloud.contactcenterinsights.v1.CalculateStatsResponse.TimeSeries) other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.google.cloud.contactcenterinsights.v1.CalculateStatsResponse.TimeSeries other) { - if (other == com.google.cloud.contactcenterinsights.v1.CalculateStatsResponse.TimeSeries.getDefaultInstance()) return this; + public Builder mergeFrom( + com.google.cloud.contactcenterinsights.v1.CalculateStatsResponse.TimeSeries other) { + if (other + == com.google.cloud.contactcenterinsights.v1.CalculateStatsResponse.TimeSeries + .getDefaultInstance()) return this; if (other.hasIntervalDuration()) { mergeIntervalDuration(other.getIntervalDuration()); } @@ -1408,9 +1674,10 @@ public Builder mergeFrom(com.google.cloud.contactcenterinsights.v1.CalculateStat pointsBuilder_ = null; points_ = other.points_; bitField0_ = (bitField0_ & ~0x00000002); - pointsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? - getPointsFieldBuilder() : null; + pointsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders + ? getPointsFieldBuilder() + : null; } else { pointsBuilder_.addAllMessages(other.points_); } @@ -1442,32 +1709,37 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - input.readMessage( - getIntervalDurationFieldBuilder().getBuilder(), - extensionRegistry); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: { - com.google.cloud.contactcenterinsights.v1.CalculateStatsResponse.TimeSeries.Interval m = - input.readMessage( - com.google.cloud.contactcenterinsights.v1.CalculateStatsResponse.TimeSeries.Interval.parser(), - extensionRegistry); - if (pointsBuilder_ == null) { - ensurePointsIsMutable(); - points_.add(m); - } else { - pointsBuilder_.addMessage(m); - } - break; - } // case 18 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + input.readMessage( + getIntervalDurationFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: + { + com.google.cloud.contactcenterinsights.v1.CalculateStatsResponse.TimeSeries + .Interval + m = + input.readMessage( + com.google.cloud.contactcenterinsights.v1.CalculateStatsResponse + .TimeSeries.Interval.parser(), + extensionRegistry); + if (pointsBuilder_ == null) { + ensurePointsIsMutable(); + points_.add(m); + } else { + pointsBuilder_.addMessage(m); + } + break; + } // case 18 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -1477,38 +1749,52 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private com.google.protobuf.Duration intervalDuration_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder> intervalDurationBuilder_; + com.google.protobuf.Duration, + com.google.protobuf.Duration.Builder, + com.google.protobuf.DurationOrBuilder> + intervalDurationBuilder_; /** + * + * *
        * The duration of each interval.
        * 
* * .google.protobuf.Duration interval_duration = 1; + * * @return Whether the intervalDuration field is set. */ public boolean hasIntervalDuration() { return ((bitField0_ & 0x00000001) != 0); } /** + * + * *
        * The duration of each interval.
        * 
* * .google.protobuf.Duration interval_duration = 1; + * * @return The intervalDuration. */ public com.google.protobuf.Duration getIntervalDuration() { if (intervalDurationBuilder_ == null) { - return intervalDuration_ == null ? com.google.protobuf.Duration.getDefaultInstance() : intervalDuration_; + return intervalDuration_ == null + ? com.google.protobuf.Duration.getDefaultInstance() + : intervalDuration_; } else { return intervalDurationBuilder_.getMessage(); } } /** + * + * *
        * The duration of each interval.
        * 
@@ -1529,14 +1815,15 @@ public Builder setIntervalDuration(com.google.protobuf.Duration value) { return this; } /** + * + * *
        * The duration of each interval.
        * 
* * .google.protobuf.Duration interval_duration = 1; */ - public Builder setIntervalDuration( - com.google.protobuf.Duration.Builder builderForValue) { + public Builder setIntervalDuration(com.google.protobuf.Duration.Builder builderForValue) { if (intervalDurationBuilder_ == null) { intervalDuration_ = builderForValue.build(); } else { @@ -1547,6 +1834,8 @@ public Builder setIntervalDuration( return this; } /** + * + * *
        * The duration of each interval.
        * 
@@ -1555,9 +1844,9 @@ public Builder setIntervalDuration( */ public Builder mergeIntervalDuration(com.google.protobuf.Duration value) { if (intervalDurationBuilder_ == null) { - if (((bitField0_ & 0x00000001) != 0) && - intervalDuration_ != null && - intervalDuration_ != com.google.protobuf.Duration.getDefaultInstance()) { + if (((bitField0_ & 0x00000001) != 0) + && intervalDuration_ != null + && intervalDuration_ != com.google.protobuf.Duration.getDefaultInstance()) { getIntervalDurationBuilder().mergeFrom(value); } else { intervalDuration_ = value; @@ -1570,6 +1859,8 @@ public Builder mergeIntervalDuration(com.google.protobuf.Duration value) { return this; } /** + * + * *
        * The duration of each interval.
        * 
@@ -1587,6 +1878,8 @@ public Builder clearIntervalDuration() { return this; } /** + * + * *
        * The duration of each interval.
        * 
@@ -1599,6 +1892,8 @@ public com.google.protobuf.Duration.Builder getIntervalDurationBuilder() { return getIntervalDurationFieldBuilder().getBuilder(); } /** + * + * *
        * The duration of each interval.
        * 
@@ -1609,11 +1904,14 @@ public com.google.protobuf.DurationOrBuilder getIntervalDurationOrBuilder() { if (intervalDurationBuilder_ != null) { return intervalDurationBuilder_.getMessageOrBuilder(); } else { - return intervalDuration_ == null ? - com.google.protobuf.Duration.getDefaultInstance() : intervalDuration_; + return intervalDuration_ == null + ? com.google.protobuf.Duration.getDefaultInstance() + : intervalDuration_; } } /** + * + * *
        * The duration of each interval.
        * 
@@ -1621,41 +1919,60 @@ public com.google.protobuf.DurationOrBuilder getIntervalDurationOrBuilder() { * .google.protobuf.Duration interval_duration = 1; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder> + com.google.protobuf.Duration, + com.google.protobuf.Duration.Builder, + com.google.protobuf.DurationOrBuilder> getIntervalDurationFieldBuilder() { if (intervalDurationBuilder_ == null) { - intervalDurationBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder>( - getIntervalDuration(), - getParentForChildren(), - isClean()); + intervalDurationBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Duration, + com.google.protobuf.Duration.Builder, + com.google.protobuf.DurationOrBuilder>( + getIntervalDuration(), getParentForChildren(), isClean()); intervalDuration_ = null; } return intervalDurationBuilder_; } - private java.util.List points_ = - java.util.Collections.emptyList(); + private java.util.List< + com.google.cloud.contactcenterinsights.v1.CalculateStatsResponse.TimeSeries.Interval> + points_ = java.util.Collections.emptyList(); + private void ensurePointsIsMutable() { if (!((bitField0_ & 0x00000002) != 0)) { - points_ = new java.util.ArrayList(points_); + points_ = + new java.util.ArrayList< + com.google.cloud.contactcenterinsights.v1.CalculateStatsResponse.TimeSeries + .Interval>(points_); bitField0_ |= 0x00000002; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.contactcenterinsights.v1.CalculateStatsResponse.TimeSeries.Interval, com.google.cloud.contactcenterinsights.v1.CalculateStatsResponse.TimeSeries.Interval.Builder, com.google.cloud.contactcenterinsights.v1.CalculateStatsResponse.TimeSeries.IntervalOrBuilder> pointsBuilder_; + com.google.cloud.contactcenterinsights.v1.CalculateStatsResponse.TimeSeries.Interval, + com.google.cloud.contactcenterinsights.v1.CalculateStatsResponse.TimeSeries.Interval + .Builder, + com.google.cloud.contactcenterinsights.v1.CalculateStatsResponse.TimeSeries + .IntervalOrBuilder> + pointsBuilder_; /** + * + * *
        * An ordered list of intervals from earliest to latest, where each interval
        * represents the number of conversations that transpired during the time
        * window.
        * 
* - * repeated .google.cloud.contactcenterinsights.v1.CalculateStatsResponse.TimeSeries.Interval points = 2; + * + * repeated .google.cloud.contactcenterinsights.v1.CalculateStatsResponse.TimeSeries.Interval points = 2; + * */ - public java.util.List getPointsList() { + public java.util.List< + com.google.cloud.contactcenterinsights.v1.CalculateStatsResponse.TimeSeries.Interval> + getPointsList() { if (pointsBuilder_ == null) { return java.util.Collections.unmodifiableList(points_); } else { @@ -1663,13 +1980,17 @@ public java.util.List * An ordered list of intervals from earliest to latest, where each interval * represents the number of conversations that transpired during the time * window. *
* - * repeated .google.cloud.contactcenterinsights.v1.CalculateStatsResponse.TimeSeries.Interval points = 2; + * + * repeated .google.cloud.contactcenterinsights.v1.CalculateStatsResponse.TimeSeries.Interval points = 2; + * */ public int getPointsCount() { if (pointsBuilder_ == null) { @@ -1679,15 +2000,20 @@ public int getPointsCount() { } } /** + * + * *
        * An ordered list of intervals from earliest to latest, where each interval
        * represents the number of conversations that transpired during the time
        * window.
        * 
* - * repeated .google.cloud.contactcenterinsights.v1.CalculateStatsResponse.TimeSeries.Interval points = 2; + * + * repeated .google.cloud.contactcenterinsights.v1.CalculateStatsResponse.TimeSeries.Interval points = 2; + * */ - public com.google.cloud.contactcenterinsights.v1.CalculateStatsResponse.TimeSeries.Interval getPoints(int index) { + public com.google.cloud.contactcenterinsights.v1.CalculateStatsResponse.TimeSeries.Interval + getPoints(int index) { if (pointsBuilder_ == null) { return points_.get(index); } else { @@ -1695,16 +2021,22 @@ public com.google.cloud.contactcenterinsights.v1.CalculateStatsResponse.TimeSeri } } /** + * + * *
        * An ordered list of intervals from earliest to latest, where each interval
        * represents the number of conversations that transpired during the time
        * window.
        * 
* - * repeated .google.cloud.contactcenterinsights.v1.CalculateStatsResponse.TimeSeries.Interval points = 2; + * + * repeated .google.cloud.contactcenterinsights.v1.CalculateStatsResponse.TimeSeries.Interval points = 2; + * */ public Builder setPoints( - int index, com.google.cloud.contactcenterinsights.v1.CalculateStatsResponse.TimeSeries.Interval value) { + int index, + com.google.cloud.contactcenterinsights.v1.CalculateStatsResponse.TimeSeries.Interval + value) { if (pointsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -1718,16 +2050,23 @@ public Builder setPoints( return this; } /** + * + * *
        * An ordered list of intervals from earliest to latest, where each interval
        * represents the number of conversations that transpired during the time
        * window.
        * 
* - * repeated .google.cloud.contactcenterinsights.v1.CalculateStatsResponse.TimeSeries.Interval points = 2; + * + * repeated .google.cloud.contactcenterinsights.v1.CalculateStatsResponse.TimeSeries.Interval points = 2; + * */ public Builder setPoints( - int index, com.google.cloud.contactcenterinsights.v1.CalculateStatsResponse.TimeSeries.Interval.Builder builderForValue) { + int index, + com.google.cloud.contactcenterinsights.v1.CalculateStatsResponse.TimeSeries.Interval + .Builder + builderForValue) { if (pointsBuilder_ == null) { ensurePointsIsMutable(); points_.set(index, builderForValue.build()); @@ -1738,15 +2077,21 @@ public Builder setPoints( return this; } /** + * + * *
        * An ordered list of intervals from earliest to latest, where each interval
        * represents the number of conversations that transpired during the time
        * window.
        * 
* - * repeated .google.cloud.contactcenterinsights.v1.CalculateStatsResponse.TimeSeries.Interval points = 2; + * + * repeated .google.cloud.contactcenterinsights.v1.CalculateStatsResponse.TimeSeries.Interval points = 2; + * */ - public Builder addPoints(com.google.cloud.contactcenterinsights.v1.CalculateStatsResponse.TimeSeries.Interval value) { + public Builder addPoints( + com.google.cloud.contactcenterinsights.v1.CalculateStatsResponse.TimeSeries.Interval + value) { if (pointsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -1760,16 +2105,22 @@ public Builder addPoints(com.google.cloud.contactcenterinsights.v1.CalculateStat return this; } /** + * + * *
        * An ordered list of intervals from earliest to latest, where each interval
        * represents the number of conversations that transpired during the time
        * window.
        * 
* - * repeated .google.cloud.contactcenterinsights.v1.CalculateStatsResponse.TimeSeries.Interval points = 2; + * + * repeated .google.cloud.contactcenterinsights.v1.CalculateStatsResponse.TimeSeries.Interval points = 2; + * */ public Builder addPoints( - int index, com.google.cloud.contactcenterinsights.v1.CalculateStatsResponse.TimeSeries.Interval value) { + int index, + com.google.cloud.contactcenterinsights.v1.CalculateStatsResponse.TimeSeries.Interval + value) { if (pointsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -1783,16 +2134,22 @@ public Builder addPoints( return this; } /** + * + * *
        * An ordered list of intervals from earliest to latest, where each interval
        * represents the number of conversations that transpired during the time
        * window.
        * 
* - * repeated .google.cloud.contactcenterinsights.v1.CalculateStatsResponse.TimeSeries.Interval points = 2; + * + * repeated .google.cloud.contactcenterinsights.v1.CalculateStatsResponse.TimeSeries.Interval points = 2; + * */ public Builder addPoints( - com.google.cloud.contactcenterinsights.v1.CalculateStatsResponse.TimeSeries.Interval.Builder builderForValue) { + com.google.cloud.contactcenterinsights.v1.CalculateStatsResponse.TimeSeries.Interval + .Builder + builderForValue) { if (pointsBuilder_ == null) { ensurePointsIsMutable(); points_.add(builderForValue.build()); @@ -1803,16 +2160,23 @@ public Builder addPoints( return this; } /** + * + * *
        * An ordered list of intervals from earliest to latest, where each interval
        * represents the number of conversations that transpired during the time
        * window.
        * 
* - * repeated .google.cloud.contactcenterinsights.v1.CalculateStatsResponse.TimeSeries.Interval points = 2; + * + * repeated .google.cloud.contactcenterinsights.v1.CalculateStatsResponse.TimeSeries.Interval points = 2; + * */ public Builder addPoints( - int index, com.google.cloud.contactcenterinsights.v1.CalculateStatsResponse.TimeSeries.Interval.Builder builderForValue) { + int index, + com.google.cloud.contactcenterinsights.v1.CalculateStatsResponse.TimeSeries.Interval + .Builder + builderForValue) { if (pointsBuilder_ == null) { ensurePointsIsMutable(); points_.add(index, builderForValue.build()); @@ -1823,20 +2187,27 @@ public Builder addPoints( return this; } /** + * + * *
        * An ordered list of intervals from earliest to latest, where each interval
        * represents the number of conversations that transpired during the time
        * window.
        * 
* - * repeated .google.cloud.contactcenterinsights.v1.CalculateStatsResponse.TimeSeries.Interval points = 2; + * + * repeated .google.cloud.contactcenterinsights.v1.CalculateStatsResponse.TimeSeries.Interval points = 2; + * */ public Builder addAllPoints( - java.lang.Iterable values) { + java.lang.Iterable< + ? extends + com.google.cloud.contactcenterinsights.v1.CalculateStatsResponse.TimeSeries + .Interval> + values) { if (pointsBuilder_ == null) { ensurePointsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, points_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, points_); onChanged(); } else { pointsBuilder_.addAllMessages(values); @@ -1844,13 +2215,17 @@ public Builder addAllPoints( return this; } /** + * + * *
        * An ordered list of intervals from earliest to latest, where each interval
        * represents the number of conversations that transpired during the time
        * window.
        * 
* - * repeated .google.cloud.contactcenterinsights.v1.CalculateStatsResponse.TimeSeries.Interval points = 2; + * + * repeated .google.cloud.contactcenterinsights.v1.CalculateStatsResponse.TimeSeries.Interval points = 2; + * */ public Builder clearPoints() { if (pointsBuilder_ == null) { @@ -1863,13 +2238,17 @@ public Builder clearPoints() { return this; } /** + * + * *
        * An ordered list of intervals from earliest to latest, where each interval
        * represents the number of conversations that transpired during the time
        * window.
        * 
* - * repeated .google.cloud.contactcenterinsights.v1.CalculateStatsResponse.TimeSeries.Interval points = 2; + * + * repeated .google.cloud.contactcenterinsights.v1.CalculateStatsResponse.TimeSeries.Interval points = 2; + * */ public Builder removePoints(int index) { if (pointsBuilder_ == null) { @@ -1882,45 +2261,63 @@ public Builder removePoints(int index) { return this; } /** + * + * *
        * An ordered list of intervals from earliest to latest, where each interval
        * represents the number of conversations that transpired during the time
        * window.
        * 
* - * repeated .google.cloud.contactcenterinsights.v1.CalculateStatsResponse.TimeSeries.Interval points = 2; + * + * repeated .google.cloud.contactcenterinsights.v1.CalculateStatsResponse.TimeSeries.Interval points = 2; + * */ - public com.google.cloud.contactcenterinsights.v1.CalculateStatsResponse.TimeSeries.Interval.Builder getPointsBuilder( - int index) { + public com.google.cloud.contactcenterinsights.v1.CalculateStatsResponse.TimeSeries.Interval + .Builder + getPointsBuilder(int index) { return getPointsFieldBuilder().getBuilder(index); } /** + * + * *
        * An ordered list of intervals from earliest to latest, where each interval
        * represents the number of conversations that transpired during the time
        * window.
        * 
* - * repeated .google.cloud.contactcenterinsights.v1.CalculateStatsResponse.TimeSeries.Interval points = 2; + * + * repeated .google.cloud.contactcenterinsights.v1.CalculateStatsResponse.TimeSeries.Interval points = 2; + * */ - public com.google.cloud.contactcenterinsights.v1.CalculateStatsResponse.TimeSeries.IntervalOrBuilder getPointsOrBuilder( - int index) { + public com.google.cloud.contactcenterinsights.v1.CalculateStatsResponse.TimeSeries + .IntervalOrBuilder + getPointsOrBuilder(int index) { if (pointsBuilder_ == null) { - return points_.get(index); } else { + return points_.get(index); + } else { return pointsBuilder_.getMessageOrBuilder(index); } } /** + * + * *
        * An ordered list of intervals from earliest to latest, where each interval
        * represents the number of conversations that transpired during the time
        * window.
        * 
* - * repeated .google.cloud.contactcenterinsights.v1.CalculateStatsResponse.TimeSeries.Interval points = 2; + * + * repeated .google.cloud.contactcenterinsights.v1.CalculateStatsResponse.TimeSeries.Interval points = 2; + * */ - public java.util.List - getPointsOrBuilderList() { + public java.util.List< + ? extends + com.google.cloud.contactcenterinsights.v1.CalculateStatsResponse.TimeSeries + .IntervalOrBuilder> + getPointsOrBuilderList() { if (pointsBuilder_ != null) { return pointsBuilder_.getMessageOrBuilderList(); } else { @@ -1928,59 +2325,90 @@ public com.google.cloud.contactcenterinsights.v1.CalculateStatsResponse.TimeSeri } } /** + * + * *
        * An ordered list of intervals from earliest to latest, where each interval
        * represents the number of conversations that transpired during the time
        * window.
        * 
* - * repeated .google.cloud.contactcenterinsights.v1.CalculateStatsResponse.TimeSeries.Interval points = 2; + * + * repeated .google.cloud.contactcenterinsights.v1.CalculateStatsResponse.TimeSeries.Interval points = 2; + * */ - public com.google.cloud.contactcenterinsights.v1.CalculateStatsResponse.TimeSeries.Interval.Builder addPointsBuilder() { - return getPointsFieldBuilder().addBuilder( - com.google.cloud.contactcenterinsights.v1.CalculateStatsResponse.TimeSeries.Interval.getDefaultInstance()); + public com.google.cloud.contactcenterinsights.v1.CalculateStatsResponse.TimeSeries.Interval + .Builder + addPointsBuilder() { + return getPointsFieldBuilder() + .addBuilder( + com.google.cloud.contactcenterinsights.v1.CalculateStatsResponse.TimeSeries.Interval + .getDefaultInstance()); } /** + * + * *
        * An ordered list of intervals from earliest to latest, where each interval
        * represents the number of conversations that transpired during the time
        * window.
        * 
* - * repeated .google.cloud.contactcenterinsights.v1.CalculateStatsResponse.TimeSeries.Interval points = 2; + * + * repeated .google.cloud.contactcenterinsights.v1.CalculateStatsResponse.TimeSeries.Interval points = 2; + * */ - public com.google.cloud.contactcenterinsights.v1.CalculateStatsResponse.TimeSeries.Interval.Builder addPointsBuilder( - int index) { - return getPointsFieldBuilder().addBuilder( - index, com.google.cloud.contactcenterinsights.v1.CalculateStatsResponse.TimeSeries.Interval.getDefaultInstance()); + public com.google.cloud.contactcenterinsights.v1.CalculateStatsResponse.TimeSeries.Interval + .Builder + addPointsBuilder(int index) { + return getPointsFieldBuilder() + .addBuilder( + index, + com.google.cloud.contactcenterinsights.v1.CalculateStatsResponse.TimeSeries.Interval + .getDefaultInstance()); } /** + * + * *
        * An ordered list of intervals from earliest to latest, where each interval
        * represents the number of conversations that transpired during the time
        * window.
        * 
* - * repeated .google.cloud.contactcenterinsights.v1.CalculateStatsResponse.TimeSeries.Interval points = 2; + * + * repeated .google.cloud.contactcenterinsights.v1.CalculateStatsResponse.TimeSeries.Interval points = 2; + * */ - public java.util.List - getPointsBuilderList() { + public java.util.List< + com.google.cloud.contactcenterinsights.v1.CalculateStatsResponse.TimeSeries.Interval + .Builder> + getPointsBuilderList() { return getPointsFieldBuilder().getBuilderList(); } + private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.contactcenterinsights.v1.CalculateStatsResponse.TimeSeries.Interval, com.google.cloud.contactcenterinsights.v1.CalculateStatsResponse.TimeSeries.Interval.Builder, com.google.cloud.contactcenterinsights.v1.CalculateStatsResponse.TimeSeries.IntervalOrBuilder> + com.google.cloud.contactcenterinsights.v1.CalculateStatsResponse.TimeSeries.Interval, + com.google.cloud.contactcenterinsights.v1.CalculateStatsResponse.TimeSeries.Interval + .Builder, + com.google.cloud.contactcenterinsights.v1.CalculateStatsResponse.TimeSeries + .IntervalOrBuilder> getPointsFieldBuilder() { if (pointsBuilder_ == null) { - pointsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.contactcenterinsights.v1.CalculateStatsResponse.TimeSeries.Interval, com.google.cloud.contactcenterinsights.v1.CalculateStatsResponse.TimeSeries.Interval.Builder, com.google.cloud.contactcenterinsights.v1.CalculateStatsResponse.TimeSeries.IntervalOrBuilder>( - points_, - ((bitField0_ & 0x00000002) != 0), - getParentForChildren(), - isClean()); + pointsBuilder_ = + new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.contactcenterinsights.v1.CalculateStatsResponse.TimeSeries + .Interval, + com.google.cloud.contactcenterinsights.v1.CalculateStatsResponse.TimeSeries + .Interval.Builder, + com.google.cloud.contactcenterinsights.v1.CalculateStatsResponse.TimeSeries + .IntervalOrBuilder>( + points_, ((bitField0_ & 0x00000002) != 0), getParentForChildren(), isClean()); points_ = null; } return pointsBuilder_; } + @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -1993,41 +2421,45 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.contactcenterinsights.v1.CalculateStatsResponse.TimeSeries) } // @@protoc_insertion_point(class_scope:google.cloud.contactcenterinsights.v1.CalculateStatsResponse.TimeSeries) - private static final com.google.cloud.contactcenterinsights.v1.CalculateStatsResponse.TimeSeries DEFAULT_INSTANCE; + private static final com.google.cloud.contactcenterinsights.v1.CalculateStatsResponse.TimeSeries + DEFAULT_INSTANCE; + static { - DEFAULT_INSTANCE = new com.google.cloud.contactcenterinsights.v1.CalculateStatsResponse.TimeSeries(); + DEFAULT_INSTANCE = + new com.google.cloud.contactcenterinsights.v1.CalculateStatsResponse.TimeSeries(); } - public static com.google.cloud.contactcenterinsights.v1.CalculateStatsResponse.TimeSeries getDefaultInstance() { + public static com.google.cloud.contactcenterinsights.v1.CalculateStatsResponse.TimeSeries + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public TimeSeries parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public TimeSeries parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException() + .setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -2039,21 +2471,24 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.cloud.contactcenterinsights.v1.CalculateStatsResponse.TimeSeries getDefaultInstanceForType() { + public com.google.cloud.contactcenterinsights.v1.CalculateStatsResponse.TimeSeries + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } public static final int AVERAGE_DURATION_FIELD_NUMBER = 1; private com.google.protobuf.Duration averageDuration_; /** + * + * *
    * The average duration of all conversations. The average is calculated using
    * only conversations that have a time duration.
    * 
* * .google.protobuf.Duration average_duration = 1; + * * @return Whether the averageDuration field is set. */ @java.lang.Override @@ -2061,19 +2496,26 @@ public boolean hasAverageDuration() { return averageDuration_ != null; } /** + * + * *
    * The average duration of all conversations. The average is calculated using
    * only conversations that have a time duration.
    * 
* * .google.protobuf.Duration average_duration = 1; + * * @return The averageDuration. */ @java.lang.Override public com.google.protobuf.Duration getAverageDuration() { - return averageDuration_ == null ? com.google.protobuf.Duration.getDefaultInstance() : averageDuration_; + return averageDuration_ == null + ? com.google.protobuf.Duration.getDefaultInstance() + : averageDuration_; } /** + * + * *
    * The average duration of all conversations. The average is calculated using
    * only conversations that have a time duration.
@@ -2083,17 +2525,22 @@ public com.google.protobuf.Duration getAverageDuration() {
    */
   @java.lang.Override
   public com.google.protobuf.DurationOrBuilder getAverageDurationOrBuilder() {
-    return averageDuration_ == null ? com.google.protobuf.Duration.getDefaultInstance() : averageDuration_;
+    return averageDuration_ == null
+        ? com.google.protobuf.Duration.getDefaultInstance()
+        : averageDuration_;
   }
 
   public static final int AVERAGE_TURN_COUNT_FIELD_NUMBER = 2;
   private int averageTurnCount_ = 0;
   /**
+   *
+   *
    * 
    * The average number of turns per conversation.
    * 
* * int32 average_turn_count = 2; + * * @return The averageTurnCount. */ @java.lang.Override @@ -2104,11 +2551,14 @@ public int getAverageTurnCount() { public static final int CONVERSATION_COUNT_FIELD_NUMBER = 3; private int conversationCount_ = 0; /** + * + * *
    * The total number of conversations.
    * 
* * int32 conversation_count = 3; + * * @return The conversationCount. */ @java.lang.Override @@ -2117,32 +2567,37 @@ public int getConversationCount() { } public static final int SMART_HIGHLIGHTER_MATCHES_FIELD_NUMBER = 4; + private static final class SmartHighlighterMatchesDefaultEntryHolder { - static final com.google.protobuf.MapEntry< - java.lang.String, java.lang.Integer> defaultEntry = - com.google.protobuf.MapEntry - .newDefaultInstance( - com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto.internal_static_google_cloud_contactcenterinsights_v1_CalculateStatsResponse_SmartHighlighterMatchesEntry_descriptor, - com.google.protobuf.WireFormat.FieldType.STRING, - "", - com.google.protobuf.WireFormat.FieldType.INT32, - 0); + static final com.google.protobuf.MapEntry defaultEntry = + com.google.protobuf.MapEntry.newDefaultInstance( + com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto + .internal_static_google_cloud_contactcenterinsights_v1_CalculateStatsResponse_SmartHighlighterMatchesEntry_descriptor, + com.google.protobuf.WireFormat.FieldType.STRING, + "", + com.google.protobuf.WireFormat.FieldType.INT32, + 0); } + @SuppressWarnings("serial") - private com.google.protobuf.MapField< - java.lang.String, java.lang.Integer> smartHighlighterMatches_; private com.google.protobuf.MapField - internalGetSmartHighlighterMatches() { + smartHighlighterMatches_; + + private com.google.protobuf.MapField + internalGetSmartHighlighterMatches() { if (smartHighlighterMatches_ == null) { return com.google.protobuf.MapField.emptyMapField( SmartHighlighterMatchesDefaultEntryHolder.defaultEntry); } return smartHighlighterMatches_; } + public int getSmartHighlighterMatchesCount() { return internalGetSmartHighlighterMatches().getMap().size(); } /** + * + * *
    * A map associating each smart highlighter display name with its respective
    * number of matches in the set of conversations.
@@ -2151,20 +2606,21 @@ public int getSmartHighlighterMatchesCount() {
    * map<string, int32> smart_highlighter_matches = 4;
    */
   @java.lang.Override
-  public boolean containsSmartHighlighterMatches(
-      java.lang.String key) {
-    if (key == null) { throw new NullPointerException("map key"); }
+  public boolean containsSmartHighlighterMatches(java.lang.String key) {
+    if (key == null) {
+      throw new NullPointerException("map key");
+    }
     return internalGetSmartHighlighterMatches().getMap().containsKey(key);
   }
-  /**
-   * Use {@link #getSmartHighlighterMatchesMap()} instead.
-   */
+  /** Use {@link #getSmartHighlighterMatchesMap()} instead. */
   @java.lang.Override
   @java.lang.Deprecated
   public java.util.Map getSmartHighlighterMatches() {
     return getSmartHighlighterMatchesMap();
   }
   /**
+   *
+   *
    * 
    * A map associating each smart highlighter display name with its respective
    * number of matches in the set of conversations.
@@ -2177,6 +2633,8 @@ public java.util.Map getSmartHighlighterMat
     return internalGetSmartHighlighterMatches().getMap();
   }
   /**
+   *
+   *
    * 
    * A map associating each smart highlighter display name with its respective
    * number of matches in the set of conversations.
@@ -2185,15 +2643,17 @@ public java.util.Map getSmartHighlighterMat
    * map<string, int32> smart_highlighter_matches = 4;
    */
   @java.lang.Override
-  public int getSmartHighlighterMatchesOrDefault(
-      java.lang.String key,
-      int defaultValue) {
-    if (key == null) { throw new NullPointerException("map key"); }
+  public int getSmartHighlighterMatchesOrDefault(java.lang.String key, int defaultValue) {
+    if (key == null) {
+      throw new NullPointerException("map key");
+    }
     java.util.Map map =
         internalGetSmartHighlighterMatches().getMap();
     return map.containsKey(key) ? map.get(key) : defaultValue;
   }
   /**
+   *
+   *
    * 
    * A map associating each smart highlighter display name with its respective
    * number of matches in the set of conversations.
@@ -2202,9 +2662,10 @@ public int getSmartHighlighterMatchesOrDefault(
    * map<string, int32> smart_highlighter_matches = 4;
    */
   @java.lang.Override
-  public int getSmartHighlighterMatchesOrThrow(
-      java.lang.String key) {
-    if (key == null) { throw new NullPointerException("map key"); }
+  public int getSmartHighlighterMatchesOrThrow(java.lang.String key) {
+    if (key == null) {
+      throw new NullPointerException("map key");
+    }
     java.util.Map map =
         internalGetSmartHighlighterMatches().getMap();
     if (!map.containsKey(key)) {
@@ -2214,32 +2675,37 @@ public int getSmartHighlighterMatchesOrThrow(
   }
 
   public static final int CUSTOM_HIGHLIGHTER_MATCHES_FIELD_NUMBER = 5;
+
   private static final class CustomHighlighterMatchesDefaultEntryHolder {
-    static final com.google.protobuf.MapEntry<
-        java.lang.String, java.lang.Integer> defaultEntry =
-            com.google.protobuf.MapEntry
-            .newDefaultInstance(
-                com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto.internal_static_google_cloud_contactcenterinsights_v1_CalculateStatsResponse_CustomHighlighterMatchesEntry_descriptor, 
-                com.google.protobuf.WireFormat.FieldType.STRING,
-                "",
-                com.google.protobuf.WireFormat.FieldType.INT32,
-                0);
+    static final com.google.protobuf.MapEntry defaultEntry =
+        com.google.protobuf.MapEntry.newDefaultInstance(
+            com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto
+                .internal_static_google_cloud_contactcenterinsights_v1_CalculateStatsResponse_CustomHighlighterMatchesEntry_descriptor,
+            com.google.protobuf.WireFormat.FieldType.STRING,
+            "",
+            com.google.protobuf.WireFormat.FieldType.INT32,
+            0);
   }
+
   @SuppressWarnings("serial")
-  private com.google.protobuf.MapField<
-      java.lang.String, java.lang.Integer> customHighlighterMatches_;
   private com.google.protobuf.MapField
-  internalGetCustomHighlighterMatches() {
+      customHighlighterMatches_;
+
+  private com.google.protobuf.MapField
+      internalGetCustomHighlighterMatches() {
     if (customHighlighterMatches_ == null) {
       return com.google.protobuf.MapField.emptyMapField(
           CustomHighlighterMatchesDefaultEntryHolder.defaultEntry);
     }
     return customHighlighterMatches_;
   }
+
   public int getCustomHighlighterMatchesCount() {
     return internalGetCustomHighlighterMatches().getMap().size();
   }
   /**
+   *
+   *
    * 
    * A map associating each custom highlighter resource name with its respective
    * number of matches in the set of conversations.
@@ -2248,20 +2714,21 @@ public int getCustomHighlighterMatchesCount() {
    * map<string, int32> custom_highlighter_matches = 5;
    */
   @java.lang.Override
-  public boolean containsCustomHighlighterMatches(
-      java.lang.String key) {
-    if (key == null) { throw new NullPointerException("map key"); }
+  public boolean containsCustomHighlighterMatches(java.lang.String key) {
+    if (key == null) {
+      throw new NullPointerException("map key");
+    }
     return internalGetCustomHighlighterMatches().getMap().containsKey(key);
   }
-  /**
-   * Use {@link #getCustomHighlighterMatchesMap()} instead.
-   */
+  /** Use {@link #getCustomHighlighterMatchesMap()} instead. */
   @java.lang.Override
   @java.lang.Deprecated
   public java.util.Map getCustomHighlighterMatches() {
     return getCustomHighlighterMatchesMap();
   }
   /**
+   *
+   *
    * 
    * A map associating each custom highlighter resource name with its respective
    * number of matches in the set of conversations.
@@ -2274,6 +2741,8 @@ public java.util.Map getCustomHighlighterMa
     return internalGetCustomHighlighterMatches().getMap();
   }
   /**
+   *
+   *
    * 
    * A map associating each custom highlighter resource name with its respective
    * number of matches in the set of conversations.
@@ -2282,15 +2751,17 @@ public java.util.Map getCustomHighlighterMa
    * map<string, int32> custom_highlighter_matches = 5;
    */
   @java.lang.Override
-  public int getCustomHighlighterMatchesOrDefault(
-      java.lang.String key,
-      int defaultValue) {
-    if (key == null) { throw new NullPointerException("map key"); }
+  public int getCustomHighlighterMatchesOrDefault(java.lang.String key, int defaultValue) {
+    if (key == null) {
+      throw new NullPointerException("map key");
+    }
     java.util.Map map =
         internalGetCustomHighlighterMatches().getMap();
     return map.containsKey(key) ? map.get(key) : defaultValue;
   }
   /**
+   *
+   *
    * 
    * A map associating each custom highlighter resource name with its respective
    * number of matches in the set of conversations.
@@ -2299,9 +2770,10 @@ public int getCustomHighlighterMatchesOrDefault(
    * map<string, int32> custom_highlighter_matches = 5;
    */
   @java.lang.Override
-  public int getCustomHighlighterMatchesOrThrow(
-      java.lang.String key) {
-    if (key == null) { throw new NullPointerException("map key"); }
+  public int getCustomHighlighterMatchesOrThrow(java.lang.String key) {
+    if (key == null) {
+      throw new NullPointerException("map key");
+    }
     java.util.Map map =
         internalGetCustomHighlighterMatches().getMap();
     if (!map.containsKey(key)) {
@@ -2311,32 +2783,37 @@ public int getCustomHighlighterMatchesOrThrow(
   }
 
   public static final int ISSUE_MATCHES_FIELD_NUMBER = 6;
+
   private static final class IssueMatchesDefaultEntryHolder {
-    static final com.google.protobuf.MapEntry<
-        java.lang.String, java.lang.Integer> defaultEntry =
-            com.google.protobuf.MapEntry
-            .newDefaultInstance(
-                com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto.internal_static_google_cloud_contactcenterinsights_v1_CalculateStatsResponse_IssueMatchesEntry_descriptor, 
-                com.google.protobuf.WireFormat.FieldType.STRING,
-                "",
-                com.google.protobuf.WireFormat.FieldType.INT32,
-                0);
+    static final com.google.protobuf.MapEntry defaultEntry =
+        com.google.protobuf.MapEntry.newDefaultInstance(
+            com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto
+                .internal_static_google_cloud_contactcenterinsights_v1_CalculateStatsResponse_IssueMatchesEntry_descriptor,
+            com.google.protobuf.WireFormat.FieldType.STRING,
+            "",
+            com.google.protobuf.WireFormat.FieldType.INT32,
+            0);
   }
+
   @SuppressWarnings("serial")
-  private com.google.protobuf.MapField<
-      java.lang.String, java.lang.Integer> issueMatches_;
+  private com.google.protobuf.MapField issueMatches_;
+
   private com.google.protobuf.MapField
-  internalGetIssueMatches() {
+      internalGetIssueMatches() {
     if (issueMatches_ == null) {
       return com.google.protobuf.MapField.emptyMapField(
           IssueMatchesDefaultEntryHolder.defaultEntry);
     }
     return issueMatches_;
   }
-  @java.lang.Deprecated public int getIssueMatchesCount() {
+
+  @java.lang.Deprecated
+  public int getIssueMatchesCount() {
     return internalGetIssueMatches().getMap().size();
   }
   /**
+   *
+   *
    * 
    * A map associating each issue resource name with its respective number of
    * matches in the set of conversations. Key has the format:
@@ -2347,20 +2824,22 @@ private static final class IssueMatchesDefaultEntryHolder {
    * map<string, int32> issue_matches = 6 [deprecated = true];
    */
   @java.lang.Override
-  @java.lang.Deprecated public boolean containsIssueMatches(
-      java.lang.String key) {
-    if (key == null) { throw new NullPointerException("map key"); }
+  @java.lang.Deprecated
+  public boolean containsIssueMatches(java.lang.String key) {
+    if (key == null) {
+      throw new NullPointerException("map key");
+    }
     return internalGetIssueMatches().getMap().containsKey(key);
   }
-  /**
-   * Use {@link #getIssueMatchesMap()} instead.
-   */
+  /** Use {@link #getIssueMatchesMap()} instead. */
   @java.lang.Override
   @java.lang.Deprecated
   public java.util.Map getIssueMatches() {
     return getIssueMatchesMap();
   }
   /**
+   *
+   *
    * 
    * A map associating each issue resource name with its respective number of
    * matches in the set of conversations. Key has the format:
@@ -2371,10 +2850,13 @@ public java.util.Map getIssueMatches() {
    * map<string, int32> issue_matches = 6 [deprecated = true];
    */
   @java.lang.Override
-  @java.lang.Deprecated public java.util.Map getIssueMatchesMap() {
+  @java.lang.Deprecated
+  public java.util.Map getIssueMatchesMap() {
     return internalGetIssueMatches().getMap();
   }
   /**
+   *
+   *
    * 
    * A map associating each issue resource name with its respective number of
    * matches in the set of conversations. Key has the format:
@@ -2385,15 +2867,17 @@ public java.util.Map getIssueMatches() {
    * map<string, int32> issue_matches = 6 [deprecated = true];
    */
   @java.lang.Override
-  @java.lang.Deprecated public int getIssueMatchesOrDefault(
-      java.lang.String key,
-      int defaultValue) {
-    if (key == null) { throw new NullPointerException("map key"); }
-    java.util.Map map =
-        internalGetIssueMatches().getMap();
+  @java.lang.Deprecated
+  public int getIssueMatchesOrDefault(java.lang.String key, int defaultValue) {
+    if (key == null) {
+      throw new NullPointerException("map key");
+    }
+    java.util.Map map = internalGetIssueMatches().getMap();
     return map.containsKey(key) ? map.get(key) : defaultValue;
   }
   /**
+   *
+   *
    * 
    * A map associating each issue resource name with its respective number of
    * matches in the set of conversations. Key has the format:
@@ -2404,11 +2888,12 @@ public java.util.Map getIssueMatches() {
    * map<string, int32> issue_matches = 6 [deprecated = true];
    */
   @java.lang.Override
-  @java.lang.Deprecated public int getIssueMatchesOrThrow(
-      java.lang.String key) {
-    if (key == null) { throw new NullPointerException("map key"); }
-    java.util.Map map =
-        internalGetIssueMatches().getMap();
+  @java.lang.Deprecated
+  public int getIssueMatchesOrThrow(java.lang.String key) {
+    if (key == null) {
+      throw new NullPointerException("map key");
+    }
+    java.util.Map map = internalGetIssueMatches().getMap();
     if (!map.containsKey(key)) {
       throw new java.lang.IllegalArgumentException();
     }
@@ -2416,102 +2901,145 @@ public java.util.Map getIssueMatches() {
   }
 
   public static final int ISSUE_MATCHES_STATS_FIELD_NUMBER = 8;
+
   private static final class IssueMatchesStatsDefaultEntryHolder {
     static final com.google.protobuf.MapEntry<
-        java.lang.String, com.google.cloud.contactcenterinsights.v1.IssueModelLabelStats.IssueStats> defaultEntry =
+            java.lang.String,
+            com.google.cloud.contactcenterinsights.v1.IssueModelLabelStats.IssueStats>
+        defaultEntry =
             com.google.protobuf.MapEntry
-            .newDefaultInstance(
-                com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto.internal_static_google_cloud_contactcenterinsights_v1_CalculateStatsResponse_IssueMatchesStatsEntry_descriptor, 
-                com.google.protobuf.WireFormat.FieldType.STRING,
-                "",
-                com.google.protobuf.WireFormat.FieldType.MESSAGE,
-                com.google.cloud.contactcenterinsights.v1.IssueModelLabelStats.IssueStats.getDefaultInstance());
+                .
+                    newDefaultInstance(
+                        com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto
+                            .internal_static_google_cloud_contactcenterinsights_v1_CalculateStatsResponse_IssueMatchesStatsEntry_descriptor,
+                        com.google.protobuf.WireFormat.FieldType.STRING,
+                        "",
+                        com.google.protobuf.WireFormat.FieldType.MESSAGE,
+                        com.google.cloud.contactcenterinsights.v1.IssueModelLabelStats.IssueStats
+                            .getDefaultInstance());
   }
+
   @SuppressWarnings("serial")
   private com.google.protobuf.MapField<
-      java.lang.String, com.google.cloud.contactcenterinsights.v1.IssueModelLabelStats.IssueStats> issueMatchesStats_;
-  private com.google.protobuf.MapField
-  internalGetIssueMatchesStats() {
+          java.lang.String,
+          com.google.cloud.contactcenterinsights.v1.IssueModelLabelStats.IssueStats>
+      issueMatchesStats_;
+
+  private com.google.protobuf.MapField<
+          java.lang.String,
+          com.google.cloud.contactcenterinsights.v1.IssueModelLabelStats.IssueStats>
+      internalGetIssueMatchesStats() {
     if (issueMatchesStats_ == null) {
       return com.google.protobuf.MapField.emptyMapField(
           IssueMatchesStatsDefaultEntryHolder.defaultEntry);
     }
     return issueMatchesStats_;
   }
+
   public int getIssueMatchesStatsCount() {
     return internalGetIssueMatchesStats().getMap().size();
   }
   /**
+   *
+   *
    * 
    * A map associating each issue resource name with its respective number of
    * matches in the set of conversations. Key has the format:
    * `projects/<Project-ID>/locations/<Location-ID>/issueModels/<Issue-Model-ID>/issues/<Issue-ID>`
    * 
* - * map<string, .google.cloud.contactcenterinsights.v1.IssueModelLabelStats.IssueStats> issue_matches_stats = 8; + * + * map<string, .google.cloud.contactcenterinsights.v1.IssueModelLabelStats.IssueStats> issue_matches_stats = 8; + * */ @java.lang.Override - public boolean containsIssueMatchesStats( - java.lang.String key) { - if (key == null) { throw new NullPointerException("map key"); } + public boolean containsIssueMatchesStats(java.lang.String key) { + if (key == null) { + throw new NullPointerException("map key"); + } return internalGetIssueMatchesStats().getMap().containsKey(key); } - /** - * Use {@link #getIssueMatchesStatsMap()} instead. - */ + /** Use {@link #getIssueMatchesStatsMap()} instead. */ @java.lang.Override @java.lang.Deprecated - public java.util.Map getIssueMatchesStats() { + public java.util.Map< + java.lang.String, + com.google.cloud.contactcenterinsights.v1.IssueModelLabelStats.IssueStats> + getIssueMatchesStats() { return getIssueMatchesStatsMap(); } /** + * + * *
    * A map associating each issue resource name with its respective number of
    * matches in the set of conversations. Key has the format:
    * `projects/<Project-ID>/locations/<Location-ID>/issueModels/<Issue-Model-ID>/issues/<Issue-ID>`
    * 
* - * map<string, .google.cloud.contactcenterinsights.v1.IssueModelLabelStats.IssueStats> issue_matches_stats = 8; + * + * map<string, .google.cloud.contactcenterinsights.v1.IssueModelLabelStats.IssueStats> issue_matches_stats = 8; + * */ @java.lang.Override - public java.util.Map getIssueMatchesStatsMap() { + public java.util.Map< + java.lang.String, + com.google.cloud.contactcenterinsights.v1.IssueModelLabelStats.IssueStats> + getIssueMatchesStatsMap() { return internalGetIssueMatchesStats().getMap(); } /** + * + * *
    * A map associating each issue resource name with its respective number of
    * matches in the set of conversations. Key has the format:
    * `projects/<Project-ID>/locations/<Location-ID>/issueModels/<Issue-Model-ID>/issues/<Issue-ID>`
    * 
* - * map<string, .google.cloud.contactcenterinsights.v1.IssueModelLabelStats.IssueStats> issue_matches_stats = 8; + * + * map<string, .google.cloud.contactcenterinsights.v1.IssueModelLabelStats.IssueStats> issue_matches_stats = 8; + * */ @java.lang.Override - public /* nullable */ -com.google.cloud.contactcenterinsights.v1.IssueModelLabelStats.IssueStats getIssueMatchesStatsOrDefault( - java.lang.String key, - /* nullable */ -com.google.cloud.contactcenterinsights.v1.IssueModelLabelStats.IssueStats defaultValue) { - if (key == null) { throw new NullPointerException("map key"); } - java.util.Map map = - internalGetIssueMatchesStats().getMap(); + public /* nullable */ com.google.cloud.contactcenterinsights.v1.IssueModelLabelStats.IssueStats + getIssueMatchesStatsOrDefault( + java.lang.String key, + /* nullable */ + com.google.cloud.contactcenterinsights.v1.IssueModelLabelStats.IssueStats defaultValue) { + if (key == null) { + throw new NullPointerException("map key"); + } + java.util.Map< + java.lang.String, + com.google.cloud.contactcenterinsights.v1.IssueModelLabelStats.IssueStats> + map = internalGetIssueMatchesStats().getMap(); return map.containsKey(key) ? map.get(key) : defaultValue; } /** + * + * *
    * A map associating each issue resource name with its respective number of
    * matches in the set of conversations. Key has the format:
    * `projects/<Project-ID>/locations/<Location-ID>/issueModels/<Issue-Model-ID>/issues/<Issue-ID>`
    * 
* - * map<string, .google.cloud.contactcenterinsights.v1.IssueModelLabelStats.IssueStats> issue_matches_stats = 8; + * + * map<string, .google.cloud.contactcenterinsights.v1.IssueModelLabelStats.IssueStats> issue_matches_stats = 8; + * */ @java.lang.Override - public com.google.cloud.contactcenterinsights.v1.IssueModelLabelStats.IssueStats getIssueMatchesStatsOrThrow( - java.lang.String key) { - if (key == null) { throw new NullPointerException("map key"); } - java.util.Map map = - internalGetIssueMatchesStats().getMap(); + public com.google.cloud.contactcenterinsights.v1.IssueModelLabelStats.IssueStats + getIssueMatchesStatsOrThrow(java.lang.String key) { + if (key == null) { + throw new NullPointerException("map key"); + } + java.util.Map< + java.lang.String, + com.google.cloud.contactcenterinsights.v1.IssueModelLabelStats.IssueStats> + map = internalGetIssueMatchesStats().getMap(); if (!map.containsKey(key)) { throw new java.lang.IllegalArgumentException(); } @@ -2519,14 +3047,20 @@ public com.google.cloud.contactcenterinsights.v1.IssueModelLabelStats.IssueStats } public static final int CONVERSATION_COUNT_TIME_SERIES_FIELD_NUMBER = 7; - private com.google.cloud.contactcenterinsights.v1.CalculateStatsResponse.TimeSeries conversationCountTimeSeries_; + private com.google.cloud.contactcenterinsights.v1.CalculateStatsResponse.TimeSeries + conversationCountTimeSeries_; /** + * + * *
    * A time series representing the count of conversations created over time
    * that match that requested filter criteria.
    * 
* - * .google.cloud.contactcenterinsights.v1.CalculateStatsResponse.TimeSeries conversation_count_time_series = 7; + * + * .google.cloud.contactcenterinsights.v1.CalculateStatsResponse.TimeSeries conversation_count_time_series = 7; + * + * * @return Whether the conversationCountTimeSeries field is set. */ @java.lang.Override @@ -2534,32 +3068,50 @@ public boolean hasConversationCountTimeSeries() { return conversationCountTimeSeries_ != null; } /** + * + * *
    * A time series representing the count of conversations created over time
    * that match that requested filter criteria.
    * 
* - * .google.cloud.contactcenterinsights.v1.CalculateStatsResponse.TimeSeries conversation_count_time_series = 7; + * + * .google.cloud.contactcenterinsights.v1.CalculateStatsResponse.TimeSeries conversation_count_time_series = 7; + * + * * @return The conversationCountTimeSeries. */ @java.lang.Override - public com.google.cloud.contactcenterinsights.v1.CalculateStatsResponse.TimeSeries getConversationCountTimeSeries() { - return conversationCountTimeSeries_ == null ? com.google.cloud.contactcenterinsights.v1.CalculateStatsResponse.TimeSeries.getDefaultInstance() : conversationCountTimeSeries_; + public com.google.cloud.contactcenterinsights.v1.CalculateStatsResponse.TimeSeries + getConversationCountTimeSeries() { + return conversationCountTimeSeries_ == null + ? com.google.cloud.contactcenterinsights.v1.CalculateStatsResponse.TimeSeries + .getDefaultInstance() + : conversationCountTimeSeries_; } /** + * + * *
    * A time series representing the count of conversations created over time
    * that match that requested filter criteria.
    * 
* - * .google.cloud.contactcenterinsights.v1.CalculateStatsResponse.TimeSeries conversation_count_time_series = 7; + * + * .google.cloud.contactcenterinsights.v1.CalculateStatsResponse.TimeSeries conversation_count_time_series = 7; + * */ @java.lang.Override - public com.google.cloud.contactcenterinsights.v1.CalculateStatsResponse.TimeSeriesOrBuilder getConversationCountTimeSeriesOrBuilder() { - return conversationCountTimeSeries_ == null ? com.google.cloud.contactcenterinsights.v1.CalculateStatsResponse.TimeSeries.getDefaultInstance() : conversationCountTimeSeries_; + public com.google.cloud.contactcenterinsights.v1.CalculateStatsResponse.TimeSeriesOrBuilder + getConversationCountTimeSeriesOrBuilder() { + return conversationCountTimeSeries_ == null + ? com.google.cloud.contactcenterinsights.v1.CalculateStatsResponse.TimeSeries + .getDefaultInstance() + : conversationCountTimeSeries_; } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -2571,8 +3123,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (averageDuration_ != null) { output.writeMessage(1, getAverageDuration()); } @@ -2582,29 +3133,22 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) if (conversationCount_ != 0) { output.writeInt32(3, conversationCount_); } - com.google.protobuf.GeneratedMessageV3 - .serializeStringMapTo( + com.google.protobuf.GeneratedMessageV3.serializeStringMapTo( output, internalGetSmartHighlighterMatches(), SmartHighlighterMatchesDefaultEntryHolder.defaultEntry, 4); - com.google.protobuf.GeneratedMessageV3 - .serializeStringMapTo( + com.google.protobuf.GeneratedMessageV3.serializeStringMapTo( output, internalGetCustomHighlighterMatches(), CustomHighlighterMatchesDefaultEntryHolder.defaultEntry, 5); - com.google.protobuf.GeneratedMessageV3 - .serializeStringMapTo( - output, - internalGetIssueMatches(), - IssueMatchesDefaultEntryHolder.defaultEntry, - 6); + com.google.protobuf.GeneratedMessageV3.serializeStringMapTo( + output, internalGetIssueMatches(), IssueMatchesDefaultEntryHolder.defaultEntry, 6); if (conversationCountTimeSeries_ != null) { output.writeMessage(7, getConversationCountTimeSeries()); } - com.google.protobuf.GeneratedMessageV3 - .serializeStringMapTo( + com.google.protobuf.GeneratedMessageV3.serializeStringMapTo( output, internalGetIssueMatchesStats(), IssueMatchesStatsDefaultEntryHolder.defaultEntry, @@ -2619,60 +3163,65 @@ public int getSerializedSize() { size = 0; if (averageDuration_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, getAverageDuration()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getAverageDuration()); } if (averageTurnCount_ != 0) { - size += com.google.protobuf.CodedOutputStream - .computeInt32Size(2, averageTurnCount_); + size += com.google.protobuf.CodedOutputStream.computeInt32Size(2, averageTurnCount_); } if (conversationCount_ != 0) { - size += com.google.protobuf.CodedOutputStream - .computeInt32Size(3, conversationCount_); - } - for (java.util.Map.Entry entry - : internalGetSmartHighlighterMatches().getMap().entrySet()) { - com.google.protobuf.MapEntry - smartHighlighterMatches__ = SmartHighlighterMatchesDefaultEntryHolder.defaultEntry.newBuilderForType() - .setKey(entry.getKey()) - .setValue(entry.getValue()) - .build(); - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(4, smartHighlighterMatches__); - } - for (java.util.Map.Entry entry - : internalGetCustomHighlighterMatches().getMap().entrySet()) { - com.google.protobuf.MapEntry - customHighlighterMatches__ = CustomHighlighterMatchesDefaultEntryHolder.defaultEntry.newBuilderForType() - .setKey(entry.getKey()) - .setValue(entry.getValue()) - .build(); - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(5, customHighlighterMatches__); - } - for (java.util.Map.Entry entry - : internalGetIssueMatches().getMap().entrySet()) { - com.google.protobuf.MapEntry - issueMatches__ = IssueMatchesDefaultEntryHolder.defaultEntry.newBuilderForType() - .setKey(entry.getKey()) - .setValue(entry.getValue()) - .build(); - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(6, issueMatches__); + size += com.google.protobuf.CodedOutputStream.computeInt32Size(3, conversationCount_); + } + for (java.util.Map.Entry entry : + internalGetSmartHighlighterMatches().getMap().entrySet()) { + com.google.protobuf.MapEntry smartHighlighterMatches__ = + SmartHighlighterMatchesDefaultEntryHolder.defaultEntry + .newBuilderForType() + .setKey(entry.getKey()) + .setValue(entry.getValue()) + .build(); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize(4, smartHighlighterMatches__); + } + for (java.util.Map.Entry entry : + internalGetCustomHighlighterMatches().getMap().entrySet()) { + com.google.protobuf.MapEntry customHighlighterMatches__ = + CustomHighlighterMatchesDefaultEntryHolder.defaultEntry + .newBuilderForType() + .setKey(entry.getKey()) + .setValue(entry.getValue()) + .build(); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize(5, customHighlighterMatches__); + } + for (java.util.Map.Entry entry : + internalGetIssueMatches().getMap().entrySet()) { + com.google.protobuf.MapEntry issueMatches__ = + IssueMatchesDefaultEntryHolder.defaultEntry + .newBuilderForType() + .setKey(entry.getKey()) + .setValue(entry.getValue()) + .build(); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(6, issueMatches__); } if (conversationCountTimeSeries_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(7, getConversationCountTimeSeries()); - } - for (java.util.Map.Entry entry - : internalGetIssueMatchesStats().getMap().entrySet()) { - com.google.protobuf.MapEntry - issueMatchesStats__ = IssueMatchesStatsDefaultEntryHolder.defaultEntry.newBuilderForType() - .setKey(entry.getKey()) - .setValue(entry.getValue()) - .build(); - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(8, issueMatchesStats__); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 7, getConversationCountTimeSeries()); + } + for (java.util.Map.Entry< + java.lang.String, + com.google.cloud.contactcenterinsights.v1.IssueModelLabelStats.IssueStats> + entry : internalGetIssueMatchesStats().getMap().entrySet()) { + com.google.protobuf.MapEntry< + java.lang.String, + com.google.cloud.contactcenterinsights.v1.IssueModelLabelStats.IssueStats> + issueMatchesStats__ = + IssueMatchesStatsDefaultEntryHolder.defaultEntry + .newBuilderForType() + .setKey(entry.getKey()) + .setValue(entry.getValue()) + .build(); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(8, issueMatchesStats__); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -2682,34 +3231,30 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.contactcenterinsights.v1.CalculateStatsResponse)) { return super.equals(obj); } - com.google.cloud.contactcenterinsights.v1.CalculateStatsResponse other = (com.google.cloud.contactcenterinsights.v1.CalculateStatsResponse) obj; + com.google.cloud.contactcenterinsights.v1.CalculateStatsResponse other = + (com.google.cloud.contactcenterinsights.v1.CalculateStatsResponse) obj; if (hasAverageDuration() != other.hasAverageDuration()) return false; if (hasAverageDuration()) { - if (!getAverageDuration() - .equals(other.getAverageDuration())) return false; - } - if (getAverageTurnCount() - != other.getAverageTurnCount()) return false; - if (getConversationCount() - != other.getConversationCount()) return false; - if (!internalGetSmartHighlighterMatches().equals( - other.internalGetSmartHighlighterMatches())) return false; - if (!internalGetCustomHighlighterMatches().equals( - other.internalGetCustomHighlighterMatches())) return false; - if (!internalGetIssueMatches().equals( - other.internalGetIssueMatches())) return false; - if (!internalGetIssueMatchesStats().equals( - other.internalGetIssueMatchesStats())) return false; + if (!getAverageDuration().equals(other.getAverageDuration())) return false; + } + if (getAverageTurnCount() != other.getAverageTurnCount()) return false; + if (getConversationCount() != other.getConversationCount()) return false; + if (!internalGetSmartHighlighterMatches().equals(other.internalGetSmartHighlighterMatches())) + return false; + if (!internalGetCustomHighlighterMatches().equals(other.internalGetCustomHighlighterMatches())) + return false; + if (!internalGetIssueMatches().equals(other.internalGetIssueMatches())) return false; + if (!internalGetIssueMatchesStats().equals(other.internalGetIssueMatchesStats())) return false; if (hasConversationCountTimeSeries() != other.hasConversationCountTimeSeries()) return false; if (hasConversationCountTimeSeries()) { - if (!getConversationCountTimeSeries() - .equals(other.getConversationCountTimeSeries())) return false; + if (!getConversationCountTimeSeries().equals(other.getConversationCountTimeSeries())) + return false; } if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -2756,114 +3301,121 @@ public int hashCode() { } public static com.google.cloud.contactcenterinsights.v1.CalculateStatsResponse parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.contactcenterinsights.v1.CalculateStatsResponse parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.contactcenterinsights.v1.CalculateStatsResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.contactcenterinsights.v1.CalculateStatsResponse parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.contactcenterinsights.v1.CalculateStatsResponse parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.contactcenterinsights.v1.CalculateStatsResponse parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.contactcenterinsights.v1.CalculateStatsResponse parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.contactcenterinsights.v1.CalculateStatsResponse parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.contactcenterinsights.v1.CalculateStatsResponse parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.contactcenterinsights.v1.CalculateStatsResponse parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.contactcenterinsights.v1.CalculateStatsResponse parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.contactcenterinsights.v1.CalculateStatsResponse parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.contactcenterinsights.v1.CalculateStatsResponse parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.contactcenterinsights.v1.CalculateStatsResponse parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.contactcenterinsights.v1.CalculateStatsResponse parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.contactcenterinsights.v1.CalculateStatsResponse prototype) { + + public static Builder newBuilder( + com.google.cloud.contactcenterinsights.v1.CalculateStatsResponse prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * The response for calculating conversation statistics.
    * 
* * Protobuf type {@code google.cloud.contactcenterinsights.v1.CalculateStatsResponse} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.contactcenterinsights.v1.CalculateStatsResponse) com.google.cloud.contactcenterinsights.v1.CalculateStatsResponseOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto.internal_static_google_cloud_contactcenterinsights_v1_CalculateStatsResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto + .internal_static_google_cloud_contactcenterinsights_v1_CalculateStatsResponse_descriptor; } @SuppressWarnings({"rawtypes"}) - protected com.google.protobuf.MapField internalGetMapField( - int number) { + protected com.google.protobuf.MapField internalGetMapField(int number) { switch (number) { case 4: return internalGetSmartHighlighterMatches(); @@ -2874,13 +3426,12 @@ protected com.google.protobuf.MapField internalGetMapField( case 8: return internalGetIssueMatchesStats(); default: - throw new RuntimeException( - "Invalid map field number: " + number); + throw new RuntimeException("Invalid map field number: " + number); } } + @SuppressWarnings({"rawtypes"}) - protected com.google.protobuf.MapField internalGetMutableMapField( - int number) { + protected com.google.protobuf.MapField internalGetMutableMapField(int number) { switch (number) { case 4: return internalGetMutableSmartHighlighterMatches(); @@ -2891,28 +3442,27 @@ protected com.google.protobuf.MapField internalGetMutableMapField( case 8: return internalGetMutableIssueMatchesStats(); default: - throw new RuntimeException( - "Invalid map field number: " + number); + throw new RuntimeException("Invalid map field number: " + number); } } + @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto.internal_static_google_cloud_contactcenterinsights_v1_CalculateStatsResponse_fieldAccessorTable + return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto + .internal_static_google_cloud_contactcenterinsights_v1_CalculateStatsResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.contactcenterinsights.v1.CalculateStatsResponse.class, com.google.cloud.contactcenterinsights.v1.CalculateStatsResponse.Builder.class); + com.google.cloud.contactcenterinsights.v1.CalculateStatsResponse.class, + com.google.cloud.contactcenterinsights.v1.CalculateStatsResponse.Builder.class); } // Construct using com.google.cloud.contactcenterinsights.v1.CalculateStatsResponse.newBuilder() - private Builder() { - - } + private Builder() {} - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -2937,13 +3487,14 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto.internal_static_google_cloud_contactcenterinsights_v1_CalculateStatsResponse_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto + .internal_static_google_cloud_contactcenterinsights_v1_CalculateStatsResponse_descriptor; } @java.lang.Override - public com.google.cloud.contactcenterinsights.v1.CalculateStatsResponse getDefaultInstanceForType() { + public com.google.cloud.contactcenterinsights.v1.CalculateStatsResponse + getDefaultInstanceForType() { return com.google.cloud.contactcenterinsights.v1.CalculateStatsResponse.getDefaultInstance(); } @@ -2958,18 +3509,21 @@ public com.google.cloud.contactcenterinsights.v1.CalculateStatsResponse build() @java.lang.Override public com.google.cloud.contactcenterinsights.v1.CalculateStatsResponse buildPartial() { - com.google.cloud.contactcenterinsights.v1.CalculateStatsResponse result = new com.google.cloud.contactcenterinsights.v1.CalculateStatsResponse(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.cloud.contactcenterinsights.v1.CalculateStatsResponse result = + new com.google.cloud.contactcenterinsights.v1.CalculateStatsResponse(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } - private void buildPartial0(com.google.cloud.contactcenterinsights.v1.CalculateStatsResponse result) { + private void buildPartial0( + com.google.cloud.contactcenterinsights.v1.CalculateStatsResponse result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { - result.averageDuration_ = averageDurationBuilder_ == null - ? averageDuration_ - : averageDurationBuilder_.build(); + result.averageDuration_ = + averageDurationBuilder_ == null ? averageDuration_ : averageDurationBuilder_.build(); } if (((from_bitField0_ & 0x00000002) != 0)) { result.averageTurnCount_ = averageTurnCount_; @@ -2994,9 +3548,10 @@ private void buildPartial0(com.google.cloud.contactcenterinsights.v1.CalculateSt result.issueMatchesStats_.makeImmutable(); } if (((from_bitField0_ & 0x00000080) != 0)) { - result.conversationCountTimeSeries_ = conversationCountTimeSeriesBuilder_ == null - ? conversationCountTimeSeries_ - : conversationCountTimeSeriesBuilder_.build(); + result.conversationCountTimeSeries_ = + conversationCountTimeSeriesBuilder_ == null + ? conversationCountTimeSeries_ + : conversationCountTimeSeriesBuilder_.build(); } } @@ -3004,46 +3559,50 @@ private void buildPartial0(com.google.cloud.contactcenterinsights.v1.CalculateSt public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.contactcenterinsights.v1.CalculateStatsResponse) { - return mergeFrom((com.google.cloud.contactcenterinsights.v1.CalculateStatsResponse)other); + return mergeFrom((com.google.cloud.contactcenterinsights.v1.CalculateStatsResponse) other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.google.cloud.contactcenterinsights.v1.CalculateStatsResponse other) { - if (other == com.google.cloud.contactcenterinsights.v1.CalculateStatsResponse.getDefaultInstance()) return this; + public Builder mergeFrom( + com.google.cloud.contactcenterinsights.v1.CalculateStatsResponse other) { + if (other + == com.google.cloud.contactcenterinsights.v1.CalculateStatsResponse.getDefaultInstance()) + return this; if (other.hasAverageDuration()) { mergeAverageDuration(other.getAverageDuration()); } @@ -3053,17 +3612,15 @@ public Builder mergeFrom(com.google.cloud.contactcenterinsights.v1.CalculateStat if (other.getConversationCount() != 0) { setConversationCount(other.getConversationCount()); } - internalGetMutableSmartHighlighterMatches().mergeFrom( - other.internalGetSmartHighlighterMatches()); + internalGetMutableSmartHighlighterMatches() + .mergeFrom(other.internalGetSmartHighlighterMatches()); bitField0_ |= 0x00000008; - internalGetMutableCustomHighlighterMatches().mergeFrom( - other.internalGetCustomHighlighterMatches()); + internalGetMutableCustomHighlighterMatches() + .mergeFrom(other.internalGetCustomHighlighterMatches()); bitField0_ |= 0x00000010; - internalGetMutableIssueMatches().mergeFrom( - other.internalGetIssueMatches()); + internalGetMutableIssueMatches().mergeFrom(other.internalGetIssueMatches()); bitField0_ |= 0x00000020; - internalGetMutableIssueMatchesStats().mergeFrom( - other.internalGetIssueMatchesStats()); + internalGetMutableIssueMatchesStats().mergeFrom(other.internalGetIssueMatchesStats()); bitField0_ |= 0x00000040; if (other.hasConversationCountTimeSeries()) { mergeConversationCountTimeSeries(other.getConversationCountTimeSeries()); @@ -3094,72 +3651,94 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - input.readMessage( - getAverageDurationFieldBuilder().getBuilder(), - extensionRegistry); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 16: { - averageTurnCount_ = input.readInt32(); - bitField0_ |= 0x00000002; - break; - } // case 16 - case 24: { - conversationCount_ = input.readInt32(); - bitField0_ |= 0x00000004; - break; - } // case 24 - case 34: { - com.google.protobuf.MapEntry - smartHighlighterMatches__ = input.readMessage( - SmartHighlighterMatchesDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry); - internalGetMutableSmartHighlighterMatches().getMutableMap().put( - smartHighlighterMatches__.getKey(), smartHighlighterMatches__.getValue()); - bitField0_ |= 0x00000008; - break; - } // case 34 - case 42: { - com.google.protobuf.MapEntry - customHighlighterMatches__ = input.readMessage( - CustomHighlighterMatchesDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry); - internalGetMutableCustomHighlighterMatches().getMutableMap().put( - customHighlighterMatches__.getKey(), customHighlighterMatches__.getValue()); - bitField0_ |= 0x00000010; - break; - } // case 42 - case 50: { - com.google.protobuf.MapEntry - issueMatches__ = input.readMessage( - IssueMatchesDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry); - internalGetMutableIssueMatches().getMutableMap().put( - issueMatches__.getKey(), issueMatches__.getValue()); - bitField0_ |= 0x00000020; - break; - } // case 50 - case 58: { - input.readMessage( - getConversationCountTimeSeriesFieldBuilder().getBuilder(), - extensionRegistry); - bitField0_ |= 0x00000080; - break; - } // case 58 - case 66: { - com.google.protobuf.MapEntry - issueMatchesStats__ = input.readMessage( - IssueMatchesStatsDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry); - internalGetMutableIssueMatchesStats().getMutableMap().put( - issueMatchesStats__.getKey(), issueMatchesStats__.getValue()); - bitField0_ |= 0x00000040; - break; - } // case 66 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + input.readMessage(getAverageDurationFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 16: + { + averageTurnCount_ = input.readInt32(); + bitField0_ |= 0x00000002; + break; + } // case 16 + case 24: + { + conversationCount_ = input.readInt32(); + bitField0_ |= 0x00000004; + break; + } // case 24 + case 34: + { + com.google.protobuf.MapEntry + smartHighlighterMatches__ = + input.readMessage( + SmartHighlighterMatchesDefaultEntryHolder.defaultEntry + .getParserForType(), + extensionRegistry); + internalGetMutableSmartHighlighterMatches() + .getMutableMap() + .put(smartHighlighterMatches__.getKey(), smartHighlighterMatches__.getValue()); + bitField0_ |= 0x00000008; + break; + } // case 34 + case 42: + { + com.google.protobuf.MapEntry + customHighlighterMatches__ = + input.readMessage( + CustomHighlighterMatchesDefaultEntryHolder.defaultEntry + .getParserForType(), + extensionRegistry); + internalGetMutableCustomHighlighterMatches() + .getMutableMap() + .put( + customHighlighterMatches__.getKey(), customHighlighterMatches__.getValue()); + bitField0_ |= 0x00000010; + break; + } // case 42 + case 50: + { + com.google.protobuf.MapEntry issueMatches__ = + input.readMessage( + IssueMatchesDefaultEntryHolder.defaultEntry.getParserForType(), + extensionRegistry); + internalGetMutableIssueMatches() + .getMutableMap() + .put(issueMatches__.getKey(), issueMatches__.getValue()); + bitField0_ |= 0x00000020; + break; + } // case 50 + case 58: + { + input.readMessage( + getConversationCountTimeSeriesFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000080; + break; + } // case 58 + case 66: + { + com.google.protobuf.MapEntry< + java.lang.String, + com.google.cloud.contactcenterinsights.v1.IssueModelLabelStats.IssueStats> + issueMatchesStats__ = + input.readMessage( + IssueMatchesStatsDefaultEntryHolder.defaultEntry.getParserForType(), + extensionRegistry); + internalGetMutableIssueMatchesStats() + .getMutableMap() + .put(issueMatchesStats__.getKey(), issueMatchesStats__.getValue()); + bitField0_ |= 0x00000040; + break; + } // case 66 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -3169,40 +3748,54 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private com.google.protobuf.Duration averageDuration_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder> averageDurationBuilder_; + com.google.protobuf.Duration, + com.google.protobuf.Duration.Builder, + com.google.protobuf.DurationOrBuilder> + averageDurationBuilder_; /** + * + * *
      * The average duration of all conversations. The average is calculated using
      * only conversations that have a time duration.
      * 
* * .google.protobuf.Duration average_duration = 1; + * * @return Whether the averageDuration field is set. */ public boolean hasAverageDuration() { return ((bitField0_ & 0x00000001) != 0); } /** + * + * *
      * The average duration of all conversations. The average is calculated using
      * only conversations that have a time duration.
      * 
* * .google.protobuf.Duration average_duration = 1; + * * @return The averageDuration. */ public com.google.protobuf.Duration getAverageDuration() { if (averageDurationBuilder_ == null) { - return averageDuration_ == null ? com.google.protobuf.Duration.getDefaultInstance() : averageDuration_; + return averageDuration_ == null + ? com.google.protobuf.Duration.getDefaultInstance() + : averageDuration_; } else { return averageDurationBuilder_.getMessage(); } } /** + * + * *
      * The average duration of all conversations. The average is calculated using
      * only conversations that have a time duration.
@@ -3224,6 +3817,8 @@ public Builder setAverageDuration(com.google.protobuf.Duration value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * The average duration of all conversations. The average is calculated using
      * only conversations that have a time duration.
@@ -3231,8 +3826,7 @@ public Builder setAverageDuration(com.google.protobuf.Duration value) {
      *
      * .google.protobuf.Duration average_duration = 1;
      */
-    public Builder setAverageDuration(
-        com.google.protobuf.Duration.Builder builderForValue) {
+    public Builder setAverageDuration(com.google.protobuf.Duration.Builder builderForValue) {
       if (averageDurationBuilder_ == null) {
         averageDuration_ = builderForValue.build();
       } else {
@@ -3243,6 +3837,8 @@ public Builder setAverageDuration(
       return this;
     }
     /**
+     *
+     *
      * 
      * The average duration of all conversations. The average is calculated using
      * only conversations that have a time duration.
@@ -3252,9 +3848,9 @@ public Builder setAverageDuration(
      */
     public Builder mergeAverageDuration(com.google.protobuf.Duration value) {
       if (averageDurationBuilder_ == null) {
-        if (((bitField0_ & 0x00000001) != 0) &&
-          averageDuration_ != null &&
-          averageDuration_ != com.google.protobuf.Duration.getDefaultInstance()) {
+        if (((bitField0_ & 0x00000001) != 0)
+            && averageDuration_ != null
+            && averageDuration_ != com.google.protobuf.Duration.getDefaultInstance()) {
           getAverageDurationBuilder().mergeFrom(value);
         } else {
           averageDuration_ = value;
@@ -3267,6 +3863,8 @@ public Builder mergeAverageDuration(com.google.protobuf.Duration value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * The average duration of all conversations. The average is calculated using
      * only conversations that have a time duration.
@@ -3285,6 +3883,8 @@ public Builder clearAverageDuration() {
       return this;
     }
     /**
+     *
+     *
      * 
      * The average duration of all conversations. The average is calculated using
      * only conversations that have a time duration.
@@ -3298,6 +3898,8 @@ public com.google.protobuf.Duration.Builder getAverageDurationBuilder() {
       return getAverageDurationFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * The average duration of all conversations. The average is calculated using
      * only conversations that have a time duration.
@@ -3309,11 +3911,14 @@ public com.google.protobuf.DurationOrBuilder getAverageDurationOrBuilder() {
       if (averageDurationBuilder_ != null) {
         return averageDurationBuilder_.getMessageOrBuilder();
       } else {
-        return averageDuration_ == null ?
-            com.google.protobuf.Duration.getDefaultInstance() : averageDuration_;
+        return averageDuration_ == null
+            ? com.google.protobuf.Duration.getDefaultInstance()
+            : averageDuration_;
       }
     }
     /**
+     *
+     *
      * 
      * The average duration of all conversations. The average is calculated using
      * only conversations that have a time duration.
@@ -3322,26 +3927,32 @@ public com.google.protobuf.DurationOrBuilder getAverageDurationOrBuilder() {
      * .google.protobuf.Duration average_duration = 1;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder> 
+            com.google.protobuf.Duration,
+            com.google.protobuf.Duration.Builder,
+            com.google.protobuf.DurationOrBuilder>
         getAverageDurationFieldBuilder() {
       if (averageDurationBuilder_ == null) {
-        averageDurationBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-            com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder>(
-                getAverageDuration(),
-                getParentForChildren(),
-                isClean());
+        averageDurationBuilder_ =
+            new com.google.protobuf.SingleFieldBuilderV3<
+                com.google.protobuf.Duration,
+                com.google.protobuf.Duration.Builder,
+                com.google.protobuf.DurationOrBuilder>(
+                getAverageDuration(), getParentForChildren(), isClean());
         averageDuration_ = null;
       }
       return averageDurationBuilder_;
     }
 
-    private int averageTurnCount_ ;
+    private int averageTurnCount_;
     /**
+     *
+     *
      * 
      * The average number of turns per conversation.
      * 
* * int32 average_turn_count = 2; + * * @return The averageTurnCount. */ @java.lang.Override @@ -3349,27 +3960,33 @@ public int getAverageTurnCount() { return averageTurnCount_; } /** + * + * *
      * The average number of turns per conversation.
      * 
* * int32 average_turn_count = 2; + * * @param value The averageTurnCount to set. * @return This builder for chaining. */ public Builder setAverageTurnCount(int value) { - + averageTurnCount_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** + * + * *
      * The average number of turns per conversation.
      * 
* * int32 average_turn_count = 2; + * * @return This builder for chaining. */ public Builder clearAverageTurnCount() { @@ -3379,13 +3996,16 @@ public Builder clearAverageTurnCount() { return this; } - private int conversationCount_ ; + private int conversationCount_; /** + * + * *
      * The total number of conversations.
      * 
* * int32 conversation_count = 3; + * * @return The conversationCount. */ @java.lang.Override @@ -3393,27 +4013,33 @@ public int getConversationCount() { return conversationCount_; } /** + * + * *
      * The total number of conversations.
      * 
* * int32 conversation_count = 3; + * * @param value The conversationCount to set. * @return This builder for chaining. */ public Builder setConversationCount(int value) { - + conversationCount_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } /** + * + * *
      * The total number of conversations.
      * 
* * int32 conversation_count = 3; + * * @return This builder for chaining. */ public Builder clearConversationCount() { @@ -3423,8 +4049,9 @@ public Builder clearConversationCount() { return this; } - private com.google.protobuf.MapField< - java.lang.String, java.lang.Integer> smartHighlighterMatches_; + private com.google.protobuf.MapField + smartHighlighterMatches_; + private com.google.protobuf.MapField internalGetSmartHighlighterMatches() { if (smartHighlighterMatches_ == null) { @@ -3433,11 +4060,13 @@ public Builder clearConversationCount() { } return smartHighlighterMatches_; } + private com.google.protobuf.MapField internalGetMutableSmartHighlighterMatches() { if (smartHighlighterMatches_ == null) { - smartHighlighterMatches_ = com.google.protobuf.MapField.newMapField( - SmartHighlighterMatchesDefaultEntryHolder.defaultEntry); + smartHighlighterMatches_ = + com.google.protobuf.MapField.newMapField( + SmartHighlighterMatchesDefaultEntryHolder.defaultEntry); } if (!smartHighlighterMatches_.isMutable()) { smartHighlighterMatches_ = smartHighlighterMatches_.copy(); @@ -3446,10 +4075,13 @@ public Builder clearConversationCount() { onChanged(); return smartHighlighterMatches_; } + public int getSmartHighlighterMatchesCount() { return internalGetSmartHighlighterMatches().getMap().size(); } /** + * + * *
      * A map associating each smart highlighter display name with its respective
      * number of matches in the set of conversations.
@@ -3458,20 +4090,21 @@ public int getSmartHighlighterMatchesCount() {
      * map<string, int32> smart_highlighter_matches = 4;
      */
     @java.lang.Override
-    public boolean containsSmartHighlighterMatches(
-        java.lang.String key) {
-      if (key == null) { throw new NullPointerException("map key"); }
+    public boolean containsSmartHighlighterMatches(java.lang.String key) {
+      if (key == null) {
+        throw new NullPointerException("map key");
+      }
       return internalGetSmartHighlighterMatches().getMap().containsKey(key);
     }
-    /**
-     * Use {@link #getSmartHighlighterMatchesMap()} instead.
-     */
+    /** Use {@link #getSmartHighlighterMatchesMap()} instead. */
     @java.lang.Override
     @java.lang.Deprecated
     public java.util.Map getSmartHighlighterMatches() {
       return getSmartHighlighterMatchesMap();
     }
     /**
+     *
+     *
      * 
      * A map associating each smart highlighter display name with its respective
      * number of matches in the set of conversations.
@@ -3484,6 +4117,8 @@ public java.util.Map getSmartHighlighterMat
       return internalGetSmartHighlighterMatches().getMap();
     }
     /**
+     *
+     *
      * 
      * A map associating each smart highlighter display name with its respective
      * number of matches in the set of conversations.
@@ -3492,15 +4127,17 @@ public java.util.Map getSmartHighlighterMat
      * map<string, int32> smart_highlighter_matches = 4;
      */
     @java.lang.Override
-    public int getSmartHighlighterMatchesOrDefault(
-        java.lang.String key,
-        int defaultValue) {
-      if (key == null) { throw new NullPointerException("map key"); }
+    public int getSmartHighlighterMatchesOrDefault(java.lang.String key, int defaultValue) {
+      if (key == null) {
+        throw new NullPointerException("map key");
+      }
       java.util.Map map =
           internalGetSmartHighlighterMatches().getMap();
       return map.containsKey(key) ? map.get(key) : defaultValue;
     }
     /**
+     *
+     *
      * 
      * A map associating each smart highlighter display name with its respective
      * number of matches in the set of conversations.
@@ -3509,9 +4146,10 @@ public int getSmartHighlighterMatchesOrDefault(
      * map<string, int32> smart_highlighter_matches = 4;
      */
     @java.lang.Override
-    public int getSmartHighlighterMatchesOrThrow(
-        java.lang.String key) {
-      if (key == null) { throw new NullPointerException("map key"); }
+    public int getSmartHighlighterMatchesOrThrow(java.lang.String key) {
+      if (key == null) {
+        throw new NullPointerException("map key");
+      }
       java.util.Map map =
           internalGetSmartHighlighterMatches().getMap();
       if (!map.containsKey(key)) {
@@ -3519,13 +4157,15 @@ public int getSmartHighlighterMatchesOrThrow(
       }
       return map.get(key);
     }
+
     public Builder clearSmartHighlighterMatches() {
       bitField0_ = (bitField0_ & ~0x00000008);
-      internalGetMutableSmartHighlighterMatches().getMutableMap()
-          .clear();
+      internalGetMutableSmartHighlighterMatches().getMutableMap().clear();
       return this;
     }
     /**
+     *
+     *
      * 
      * A map associating each smart highlighter display name with its respective
      * number of matches in the set of conversations.
@@ -3533,23 +4173,22 @@ public Builder clearSmartHighlighterMatches() {
      *
      * map<string, int32> smart_highlighter_matches = 4;
      */
-    public Builder removeSmartHighlighterMatches(
-        java.lang.String key) {
-      if (key == null) { throw new NullPointerException("map key"); }
-      internalGetMutableSmartHighlighterMatches().getMutableMap()
-          .remove(key);
+    public Builder removeSmartHighlighterMatches(java.lang.String key) {
+      if (key == null) {
+        throw new NullPointerException("map key");
+      }
+      internalGetMutableSmartHighlighterMatches().getMutableMap().remove(key);
       return this;
     }
-    /**
-     * Use alternate mutation accessors instead.
-     */
+    /** Use alternate mutation accessors instead. */
     @java.lang.Deprecated
-    public java.util.Map
-        getMutableSmartHighlighterMatches() {
+    public java.util.Map getMutableSmartHighlighterMatches() {
       bitField0_ |= 0x00000008;
       return internalGetMutableSmartHighlighterMatches().getMutableMap();
     }
     /**
+     *
+     *
      * 
      * A map associating each smart highlighter display name with its respective
      * number of matches in the set of conversations.
@@ -3557,17 +4196,18 @@ public Builder removeSmartHighlighterMatches(
      *
      * map<string, int32> smart_highlighter_matches = 4;
      */
-    public Builder putSmartHighlighterMatches(
-        java.lang.String key,
-        int value) {
-      if (key == null) { throw new NullPointerException("map key"); }
-      
-      internalGetMutableSmartHighlighterMatches().getMutableMap()
-          .put(key, value);
+    public Builder putSmartHighlighterMatches(java.lang.String key, int value) {
+      if (key == null) {
+        throw new NullPointerException("map key");
+      }
+
+      internalGetMutableSmartHighlighterMatches().getMutableMap().put(key, value);
       bitField0_ |= 0x00000008;
       return this;
     }
     /**
+     *
+     *
      * 
      * A map associating each smart highlighter display name with its respective
      * number of matches in the set of conversations.
@@ -3577,14 +4217,14 @@ public Builder putSmartHighlighterMatches(
      */
     public Builder putAllSmartHighlighterMatches(
         java.util.Map values) {
-      internalGetMutableSmartHighlighterMatches().getMutableMap()
-          .putAll(values);
+      internalGetMutableSmartHighlighterMatches().getMutableMap().putAll(values);
       bitField0_ |= 0x00000008;
       return this;
     }
 
-    private com.google.protobuf.MapField<
-        java.lang.String, java.lang.Integer> customHighlighterMatches_;
+    private com.google.protobuf.MapField
+        customHighlighterMatches_;
+
     private com.google.protobuf.MapField
         internalGetCustomHighlighterMatches() {
       if (customHighlighterMatches_ == null) {
@@ -3593,11 +4233,13 @@ public Builder putAllSmartHighlighterMatches(
       }
       return customHighlighterMatches_;
     }
+
     private com.google.protobuf.MapField
         internalGetMutableCustomHighlighterMatches() {
       if (customHighlighterMatches_ == null) {
-        customHighlighterMatches_ = com.google.protobuf.MapField.newMapField(
-            CustomHighlighterMatchesDefaultEntryHolder.defaultEntry);
+        customHighlighterMatches_ =
+            com.google.protobuf.MapField.newMapField(
+                CustomHighlighterMatchesDefaultEntryHolder.defaultEntry);
       }
       if (!customHighlighterMatches_.isMutable()) {
         customHighlighterMatches_ = customHighlighterMatches_.copy();
@@ -3606,10 +4248,13 @@ public Builder putAllSmartHighlighterMatches(
       onChanged();
       return customHighlighterMatches_;
     }
+
     public int getCustomHighlighterMatchesCount() {
       return internalGetCustomHighlighterMatches().getMap().size();
     }
     /**
+     *
+     *
      * 
      * A map associating each custom highlighter resource name with its respective
      * number of matches in the set of conversations.
@@ -3618,20 +4263,21 @@ public int getCustomHighlighterMatchesCount() {
      * map<string, int32> custom_highlighter_matches = 5;
      */
     @java.lang.Override
-    public boolean containsCustomHighlighterMatches(
-        java.lang.String key) {
-      if (key == null) { throw new NullPointerException("map key"); }
+    public boolean containsCustomHighlighterMatches(java.lang.String key) {
+      if (key == null) {
+        throw new NullPointerException("map key");
+      }
       return internalGetCustomHighlighterMatches().getMap().containsKey(key);
     }
-    /**
-     * Use {@link #getCustomHighlighterMatchesMap()} instead.
-     */
+    /** Use {@link #getCustomHighlighterMatchesMap()} instead. */
     @java.lang.Override
     @java.lang.Deprecated
     public java.util.Map getCustomHighlighterMatches() {
       return getCustomHighlighterMatchesMap();
     }
     /**
+     *
+     *
      * 
      * A map associating each custom highlighter resource name with its respective
      * number of matches in the set of conversations.
@@ -3644,6 +4290,8 @@ public java.util.Map getCustomHighlighterMa
       return internalGetCustomHighlighterMatches().getMap();
     }
     /**
+     *
+     *
      * 
      * A map associating each custom highlighter resource name with its respective
      * number of matches in the set of conversations.
@@ -3652,15 +4300,17 @@ public java.util.Map getCustomHighlighterMa
      * map<string, int32> custom_highlighter_matches = 5;
      */
     @java.lang.Override
-    public int getCustomHighlighterMatchesOrDefault(
-        java.lang.String key,
-        int defaultValue) {
-      if (key == null) { throw new NullPointerException("map key"); }
+    public int getCustomHighlighterMatchesOrDefault(java.lang.String key, int defaultValue) {
+      if (key == null) {
+        throw new NullPointerException("map key");
+      }
       java.util.Map map =
           internalGetCustomHighlighterMatches().getMap();
       return map.containsKey(key) ? map.get(key) : defaultValue;
     }
     /**
+     *
+     *
      * 
      * A map associating each custom highlighter resource name with its respective
      * number of matches in the set of conversations.
@@ -3669,9 +4319,10 @@ public int getCustomHighlighterMatchesOrDefault(
      * map<string, int32> custom_highlighter_matches = 5;
      */
     @java.lang.Override
-    public int getCustomHighlighterMatchesOrThrow(
-        java.lang.String key) {
-      if (key == null) { throw new NullPointerException("map key"); }
+    public int getCustomHighlighterMatchesOrThrow(java.lang.String key) {
+      if (key == null) {
+        throw new NullPointerException("map key");
+      }
       java.util.Map map =
           internalGetCustomHighlighterMatches().getMap();
       if (!map.containsKey(key)) {
@@ -3679,13 +4330,15 @@ public int getCustomHighlighterMatchesOrThrow(
       }
       return map.get(key);
     }
+
     public Builder clearCustomHighlighterMatches() {
       bitField0_ = (bitField0_ & ~0x00000010);
-      internalGetMutableCustomHighlighterMatches().getMutableMap()
-          .clear();
+      internalGetMutableCustomHighlighterMatches().getMutableMap().clear();
       return this;
     }
     /**
+     *
+     *
      * 
      * A map associating each custom highlighter resource name with its respective
      * number of matches in the set of conversations.
@@ -3693,23 +4346,22 @@ public Builder clearCustomHighlighterMatches() {
      *
      * map<string, int32> custom_highlighter_matches = 5;
      */
-    public Builder removeCustomHighlighterMatches(
-        java.lang.String key) {
-      if (key == null) { throw new NullPointerException("map key"); }
-      internalGetMutableCustomHighlighterMatches().getMutableMap()
-          .remove(key);
+    public Builder removeCustomHighlighterMatches(java.lang.String key) {
+      if (key == null) {
+        throw new NullPointerException("map key");
+      }
+      internalGetMutableCustomHighlighterMatches().getMutableMap().remove(key);
       return this;
     }
-    /**
-     * Use alternate mutation accessors instead.
-     */
+    /** Use alternate mutation accessors instead. */
     @java.lang.Deprecated
-    public java.util.Map
-        getMutableCustomHighlighterMatches() {
+    public java.util.Map getMutableCustomHighlighterMatches() {
       bitField0_ |= 0x00000010;
       return internalGetMutableCustomHighlighterMatches().getMutableMap();
     }
     /**
+     *
+     *
      * 
      * A map associating each custom highlighter resource name with its respective
      * number of matches in the set of conversations.
@@ -3717,17 +4369,18 @@ public Builder removeCustomHighlighterMatches(
      *
      * map<string, int32> custom_highlighter_matches = 5;
      */
-    public Builder putCustomHighlighterMatches(
-        java.lang.String key,
-        int value) {
-      if (key == null) { throw new NullPointerException("map key"); }
-      
-      internalGetMutableCustomHighlighterMatches().getMutableMap()
-          .put(key, value);
+    public Builder putCustomHighlighterMatches(java.lang.String key, int value) {
+      if (key == null) {
+        throw new NullPointerException("map key");
+      }
+
+      internalGetMutableCustomHighlighterMatches().getMutableMap().put(key, value);
       bitField0_ |= 0x00000010;
       return this;
     }
     /**
+     *
+     *
      * 
      * A map associating each custom highlighter resource name with its respective
      * number of matches in the set of conversations.
@@ -3737,15 +4390,15 @@ public Builder putCustomHighlighterMatches(
      */
     public Builder putAllCustomHighlighterMatches(
         java.util.Map values) {
-      internalGetMutableCustomHighlighterMatches().getMutableMap()
-          .putAll(values);
+      internalGetMutableCustomHighlighterMatches().getMutableMap().putAll(values);
       bitField0_ |= 0x00000010;
       return this;
     }
 
-    private com.google.protobuf.MapField<
-        java.lang.String, java.lang.Integer> issueMatches_;
-    @java.lang.Deprecated private com.google.protobuf.MapField
+    private com.google.protobuf.MapField issueMatches_;
+
+    @java.lang.Deprecated
+    private com.google.protobuf.MapField
         internalGetIssueMatches() {
       if (issueMatches_ == null) {
         return com.google.protobuf.MapField.emptyMapField(
@@ -3753,11 +4406,13 @@ public Builder putAllCustomHighlighterMatches(
       }
       return issueMatches_;
     }
-    @java.lang.Deprecated private com.google.protobuf.MapField
+
+    @java.lang.Deprecated
+    private com.google.protobuf.MapField
         internalGetMutableIssueMatches() {
       if (issueMatches_ == null) {
-        issueMatches_ = com.google.protobuf.MapField.newMapField(
-            IssueMatchesDefaultEntryHolder.defaultEntry);
+        issueMatches_ =
+            com.google.protobuf.MapField.newMapField(IssueMatchesDefaultEntryHolder.defaultEntry);
       }
       if (!issueMatches_.isMutable()) {
         issueMatches_ = issueMatches_.copy();
@@ -3766,10 +4421,14 @@ public Builder putAllCustomHighlighterMatches(
       onChanged();
       return issueMatches_;
     }
-    @java.lang.Deprecated public int getIssueMatchesCount() {
+
+    @java.lang.Deprecated
+    public int getIssueMatchesCount() {
       return internalGetIssueMatches().getMap().size();
     }
     /**
+     *
+     *
      * 
      * A map associating each issue resource name with its respective number of
      * matches in the set of conversations. Key has the format:
@@ -3780,20 +4439,22 @@ public Builder putAllCustomHighlighterMatches(
      * map<string, int32> issue_matches = 6 [deprecated = true];
      */
     @java.lang.Override
-    @java.lang.Deprecated public boolean containsIssueMatches(
-        java.lang.String key) {
-      if (key == null) { throw new NullPointerException("map key"); }
+    @java.lang.Deprecated
+    public boolean containsIssueMatches(java.lang.String key) {
+      if (key == null) {
+        throw new NullPointerException("map key");
+      }
       return internalGetIssueMatches().getMap().containsKey(key);
     }
-    /**
-     * Use {@link #getIssueMatchesMap()} instead.
-     */
+    /** Use {@link #getIssueMatchesMap()} instead. */
     @java.lang.Override
     @java.lang.Deprecated
     public java.util.Map getIssueMatches() {
       return getIssueMatchesMap();
     }
     /**
+     *
+     *
      * 
      * A map associating each issue resource name with its respective number of
      * matches in the set of conversations. Key has the format:
@@ -3804,10 +4465,13 @@ public java.util.Map getIssueMatches() {
      * map<string, int32> issue_matches = 6 [deprecated = true];
      */
     @java.lang.Override
-    @java.lang.Deprecated public java.util.Map getIssueMatchesMap() {
+    @java.lang.Deprecated
+    public java.util.Map getIssueMatchesMap() {
       return internalGetIssueMatches().getMap();
     }
     /**
+     *
+     *
      * 
      * A map associating each issue resource name with its respective number of
      * matches in the set of conversations. Key has the format:
@@ -3818,15 +4482,17 @@ public java.util.Map getIssueMatches() {
      * map<string, int32> issue_matches = 6 [deprecated = true];
      */
     @java.lang.Override
-    @java.lang.Deprecated public int getIssueMatchesOrDefault(
-        java.lang.String key,
-        int defaultValue) {
-      if (key == null) { throw new NullPointerException("map key"); }
-      java.util.Map map =
-          internalGetIssueMatches().getMap();
+    @java.lang.Deprecated
+    public int getIssueMatchesOrDefault(java.lang.String key, int defaultValue) {
+      if (key == null) {
+        throw new NullPointerException("map key");
+      }
+      java.util.Map map = internalGetIssueMatches().getMap();
       return map.containsKey(key) ? map.get(key) : defaultValue;
     }
     /**
+     *
+     *
      * 
      * A map associating each issue resource name with its respective number of
      * matches in the set of conversations. Key has the format:
@@ -3837,23 +4503,27 @@ public java.util.Map getIssueMatches() {
      * map<string, int32> issue_matches = 6 [deprecated = true];
      */
     @java.lang.Override
-    @java.lang.Deprecated public int getIssueMatchesOrThrow(
-        java.lang.String key) {
-      if (key == null) { throw new NullPointerException("map key"); }
-      java.util.Map map =
-          internalGetIssueMatches().getMap();
+    @java.lang.Deprecated
+    public int getIssueMatchesOrThrow(java.lang.String key) {
+      if (key == null) {
+        throw new NullPointerException("map key");
+      }
+      java.util.Map map = internalGetIssueMatches().getMap();
       if (!map.containsKey(key)) {
         throw new java.lang.IllegalArgumentException();
       }
       return map.get(key);
     }
-    @java.lang.Deprecated public Builder clearIssueMatches() {
+
+    @java.lang.Deprecated
+    public Builder clearIssueMatches() {
       bitField0_ = (bitField0_ & ~0x00000020);
-      internalGetMutableIssueMatches().getMutableMap()
-          .clear();
+      internalGetMutableIssueMatches().getMutableMap().clear();
       return this;
     }
     /**
+     *
+     *
      * 
      * A map associating each issue resource name with its respective number of
      * matches in the set of conversations. Key has the format:
@@ -3863,23 +4533,23 @@ public java.util.Map getIssueMatches() {
      *
      * map<string, int32> issue_matches = 6 [deprecated = true];
      */
-    @java.lang.Deprecated public Builder removeIssueMatches(
-        java.lang.String key) {
-      if (key == null) { throw new NullPointerException("map key"); }
-      internalGetMutableIssueMatches().getMutableMap()
-          .remove(key);
+    @java.lang.Deprecated
+    public Builder removeIssueMatches(java.lang.String key) {
+      if (key == null) {
+        throw new NullPointerException("map key");
+      }
+      internalGetMutableIssueMatches().getMutableMap().remove(key);
       return this;
     }
-    /**
-     * Use alternate mutation accessors instead.
-     */
+    /** Use alternate mutation accessors instead. */
     @java.lang.Deprecated
-    public java.util.Map
-        getMutableIssueMatches() {
+    public java.util.Map getMutableIssueMatches() {
       bitField0_ |= 0x00000020;
       return internalGetMutableIssueMatches().getMutableMap();
     }
     /**
+     *
+     *
      * 
      * A map associating each issue resource name with its respective number of
      * matches in the set of conversations. Key has the format:
@@ -3889,17 +4559,19 @@ public java.util.Map getIssueMatches() {
      *
      * map<string, int32> issue_matches = 6 [deprecated = true];
      */
-    @java.lang.Deprecated public Builder putIssueMatches(
-        java.lang.String key,
-        int value) {
-      if (key == null) { throw new NullPointerException("map key"); }
-      
-      internalGetMutableIssueMatches().getMutableMap()
-          .put(key, value);
+    @java.lang.Deprecated
+    public Builder putIssueMatches(java.lang.String key, int value) {
+      if (key == null) {
+        throw new NullPointerException("map key");
+      }
+
+      internalGetMutableIssueMatches().getMutableMap().put(key, value);
       bitField0_ |= 0x00000020;
       return this;
     }
     /**
+     *
+     *
      * 
      * A map associating each issue resource name with its respective number of
      * matches in the set of conversations. Key has the format:
@@ -3909,17 +4581,21 @@ public java.util.Map getIssueMatches() {
      *
      * map<string, int32> issue_matches = 6 [deprecated = true];
      */
-    @java.lang.Deprecated public Builder putAllIssueMatches(
-        java.util.Map values) {
-      internalGetMutableIssueMatches().getMutableMap()
-          .putAll(values);
+    @java.lang.Deprecated
+    public Builder putAllIssueMatches(java.util.Map values) {
+      internalGetMutableIssueMatches().getMutableMap().putAll(values);
       bitField0_ |= 0x00000020;
       return this;
     }
 
     private com.google.protobuf.MapField<
-        java.lang.String, com.google.cloud.contactcenterinsights.v1.IssueModelLabelStats.IssueStats> issueMatchesStats_;
-    private com.google.protobuf.MapField
+            java.lang.String,
+            com.google.cloud.contactcenterinsights.v1.IssueModelLabelStats.IssueStats>
+        issueMatchesStats_;
+
+    private com.google.protobuf.MapField<
+            java.lang.String,
+            com.google.cloud.contactcenterinsights.v1.IssueModelLabelStats.IssueStats>
         internalGetIssueMatchesStats() {
       if (issueMatchesStats_ == null) {
         return com.google.protobuf.MapField.emptyMapField(
@@ -3927,11 +4603,15 @@ public java.util.Map getIssueMatches() {
       }
       return issueMatchesStats_;
     }
-    private com.google.protobuf.MapField
+
+    private com.google.protobuf.MapField<
+            java.lang.String,
+            com.google.cloud.contactcenterinsights.v1.IssueModelLabelStats.IssueStats>
         internalGetMutableIssueMatchesStats() {
       if (issueMatchesStats_ == null) {
-        issueMatchesStats_ = com.google.protobuf.MapField.newMapField(
-            IssueMatchesStatsDefaultEntryHolder.defaultEntry);
+        issueMatchesStats_ =
+            com.google.protobuf.MapField.newMapField(
+                IssueMatchesStatsDefaultEntryHolder.defaultEntry);
       }
       if (!issueMatchesStats_.isMutable()) {
         issueMatchesStats_ = issueMatchesStats_.copy();
@@ -3940,192 +4620,263 @@ public java.util.Map getIssueMatches() {
       onChanged();
       return issueMatchesStats_;
     }
+
     public int getIssueMatchesStatsCount() {
       return internalGetIssueMatchesStats().getMap().size();
     }
     /**
+     *
+     *
      * 
      * A map associating each issue resource name with its respective number of
      * matches in the set of conversations. Key has the format:
      * `projects/<Project-ID>/locations/<Location-ID>/issueModels/<Issue-Model-ID>/issues/<Issue-ID>`
      * 
* - * map<string, .google.cloud.contactcenterinsights.v1.IssueModelLabelStats.IssueStats> issue_matches_stats = 8; + * + * map<string, .google.cloud.contactcenterinsights.v1.IssueModelLabelStats.IssueStats> issue_matches_stats = 8; + * */ @java.lang.Override - public boolean containsIssueMatchesStats( - java.lang.String key) { - if (key == null) { throw new NullPointerException("map key"); } + public boolean containsIssueMatchesStats(java.lang.String key) { + if (key == null) { + throw new NullPointerException("map key"); + } return internalGetIssueMatchesStats().getMap().containsKey(key); } - /** - * Use {@link #getIssueMatchesStatsMap()} instead. - */ + /** Use {@link #getIssueMatchesStatsMap()} instead. */ @java.lang.Override @java.lang.Deprecated - public java.util.Map getIssueMatchesStats() { + public java.util.Map< + java.lang.String, + com.google.cloud.contactcenterinsights.v1.IssueModelLabelStats.IssueStats> + getIssueMatchesStats() { return getIssueMatchesStatsMap(); } /** + * + * *
      * A map associating each issue resource name with its respective number of
      * matches in the set of conversations. Key has the format:
      * `projects/<Project-ID>/locations/<Location-ID>/issueModels/<Issue-Model-ID>/issues/<Issue-ID>`
      * 
* - * map<string, .google.cloud.contactcenterinsights.v1.IssueModelLabelStats.IssueStats> issue_matches_stats = 8; + * + * map<string, .google.cloud.contactcenterinsights.v1.IssueModelLabelStats.IssueStats> issue_matches_stats = 8; + * */ @java.lang.Override - public java.util.Map getIssueMatchesStatsMap() { + public java.util.Map< + java.lang.String, + com.google.cloud.contactcenterinsights.v1.IssueModelLabelStats.IssueStats> + getIssueMatchesStatsMap() { return internalGetIssueMatchesStats().getMap(); } /** + * + * *
      * A map associating each issue resource name with its respective number of
      * matches in the set of conversations. Key has the format:
      * `projects/<Project-ID>/locations/<Location-ID>/issueModels/<Issue-Model-ID>/issues/<Issue-ID>`
      * 
* - * map<string, .google.cloud.contactcenterinsights.v1.IssueModelLabelStats.IssueStats> issue_matches_stats = 8; + * + * map<string, .google.cloud.contactcenterinsights.v1.IssueModelLabelStats.IssueStats> issue_matches_stats = 8; + * */ @java.lang.Override - public /* nullable */ -com.google.cloud.contactcenterinsights.v1.IssueModelLabelStats.IssueStats getIssueMatchesStatsOrDefault( - java.lang.String key, - /* nullable */ -com.google.cloud.contactcenterinsights.v1.IssueModelLabelStats.IssueStats defaultValue) { - if (key == null) { throw new NullPointerException("map key"); } - java.util.Map map = - internalGetIssueMatchesStats().getMap(); + public /* nullable */ com.google.cloud.contactcenterinsights.v1.IssueModelLabelStats.IssueStats + getIssueMatchesStatsOrDefault( + java.lang.String key, + /* nullable */ + com.google.cloud.contactcenterinsights.v1.IssueModelLabelStats.IssueStats + defaultValue) { + if (key == null) { + throw new NullPointerException("map key"); + } + java.util.Map< + java.lang.String, + com.google.cloud.contactcenterinsights.v1.IssueModelLabelStats.IssueStats> + map = internalGetIssueMatchesStats().getMap(); return map.containsKey(key) ? map.get(key) : defaultValue; } /** + * + * *
      * A map associating each issue resource name with its respective number of
      * matches in the set of conversations. Key has the format:
      * `projects/<Project-ID>/locations/<Location-ID>/issueModels/<Issue-Model-ID>/issues/<Issue-ID>`
      * 
* - * map<string, .google.cloud.contactcenterinsights.v1.IssueModelLabelStats.IssueStats> issue_matches_stats = 8; + * + * map<string, .google.cloud.contactcenterinsights.v1.IssueModelLabelStats.IssueStats> issue_matches_stats = 8; + * */ @java.lang.Override - public com.google.cloud.contactcenterinsights.v1.IssueModelLabelStats.IssueStats getIssueMatchesStatsOrThrow( - java.lang.String key) { - if (key == null) { throw new NullPointerException("map key"); } - java.util.Map map = - internalGetIssueMatchesStats().getMap(); + public com.google.cloud.contactcenterinsights.v1.IssueModelLabelStats.IssueStats + getIssueMatchesStatsOrThrow(java.lang.String key) { + if (key == null) { + throw new NullPointerException("map key"); + } + java.util.Map< + java.lang.String, + com.google.cloud.contactcenterinsights.v1.IssueModelLabelStats.IssueStats> + map = internalGetIssueMatchesStats().getMap(); if (!map.containsKey(key)) { throw new java.lang.IllegalArgumentException(); } return map.get(key); } + public Builder clearIssueMatchesStats() { bitField0_ = (bitField0_ & ~0x00000040); - internalGetMutableIssueMatchesStats().getMutableMap() - .clear(); + internalGetMutableIssueMatchesStats().getMutableMap().clear(); return this; } /** + * + * *
      * A map associating each issue resource name with its respective number of
      * matches in the set of conversations. Key has the format:
      * `projects/<Project-ID>/locations/<Location-ID>/issueModels/<Issue-Model-ID>/issues/<Issue-ID>`
      * 
* - * map<string, .google.cloud.contactcenterinsights.v1.IssueModelLabelStats.IssueStats> issue_matches_stats = 8; + * + * map<string, .google.cloud.contactcenterinsights.v1.IssueModelLabelStats.IssueStats> issue_matches_stats = 8; + * */ - public Builder removeIssueMatchesStats( - java.lang.String key) { - if (key == null) { throw new NullPointerException("map key"); } - internalGetMutableIssueMatchesStats().getMutableMap() - .remove(key); + public Builder removeIssueMatchesStats(java.lang.String key) { + if (key == null) { + throw new NullPointerException("map key"); + } + internalGetMutableIssueMatchesStats().getMutableMap().remove(key); return this; } - /** - * Use alternate mutation accessors instead. - */ + /** Use alternate mutation accessors instead. */ @java.lang.Deprecated - public java.util.Map + public java.util.Map< + java.lang.String, + com.google.cloud.contactcenterinsights.v1.IssueModelLabelStats.IssueStats> getMutableIssueMatchesStats() { bitField0_ |= 0x00000040; return internalGetMutableIssueMatchesStats().getMutableMap(); } /** + * + * *
      * A map associating each issue resource name with its respective number of
      * matches in the set of conversations. Key has the format:
      * `projects/<Project-ID>/locations/<Location-ID>/issueModels/<Issue-Model-ID>/issues/<Issue-ID>`
      * 
* - * map<string, .google.cloud.contactcenterinsights.v1.IssueModelLabelStats.IssueStats> issue_matches_stats = 8; + * + * map<string, .google.cloud.contactcenterinsights.v1.IssueModelLabelStats.IssueStats> issue_matches_stats = 8; + * */ public Builder putIssueMatchesStats( java.lang.String key, com.google.cloud.contactcenterinsights.v1.IssueModelLabelStats.IssueStats value) { - if (key == null) { throw new NullPointerException("map key"); } - if (value == null) { throw new NullPointerException("map value"); } - internalGetMutableIssueMatchesStats().getMutableMap() - .put(key, value); + if (key == null) { + throw new NullPointerException("map key"); + } + if (value == null) { + throw new NullPointerException("map value"); + } + internalGetMutableIssueMatchesStats().getMutableMap().put(key, value); bitField0_ |= 0x00000040; return this; } /** + * + * *
      * A map associating each issue resource name with its respective number of
      * matches in the set of conversations. Key has the format:
      * `projects/<Project-ID>/locations/<Location-ID>/issueModels/<Issue-Model-ID>/issues/<Issue-ID>`
      * 
* - * map<string, .google.cloud.contactcenterinsights.v1.IssueModelLabelStats.IssueStats> issue_matches_stats = 8; + * + * map<string, .google.cloud.contactcenterinsights.v1.IssueModelLabelStats.IssueStats> issue_matches_stats = 8; + * */ public Builder putAllIssueMatchesStats( - java.util.Map values) { - internalGetMutableIssueMatchesStats().getMutableMap() - .putAll(values); + java.util.Map< + java.lang.String, + com.google.cloud.contactcenterinsights.v1.IssueModelLabelStats.IssueStats> + values) { + internalGetMutableIssueMatchesStats().getMutableMap().putAll(values); bitField0_ |= 0x00000040; return this; } - private com.google.cloud.contactcenterinsights.v1.CalculateStatsResponse.TimeSeries conversationCountTimeSeries_; + private com.google.cloud.contactcenterinsights.v1.CalculateStatsResponse.TimeSeries + conversationCountTimeSeries_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.contactcenterinsights.v1.CalculateStatsResponse.TimeSeries, com.google.cloud.contactcenterinsights.v1.CalculateStatsResponse.TimeSeries.Builder, com.google.cloud.contactcenterinsights.v1.CalculateStatsResponse.TimeSeriesOrBuilder> conversationCountTimeSeriesBuilder_; + com.google.cloud.contactcenterinsights.v1.CalculateStatsResponse.TimeSeries, + com.google.cloud.contactcenterinsights.v1.CalculateStatsResponse.TimeSeries.Builder, + com.google.cloud.contactcenterinsights.v1.CalculateStatsResponse.TimeSeriesOrBuilder> + conversationCountTimeSeriesBuilder_; /** + * + * *
      * A time series representing the count of conversations created over time
      * that match that requested filter criteria.
      * 
* - * .google.cloud.contactcenterinsights.v1.CalculateStatsResponse.TimeSeries conversation_count_time_series = 7; + * + * .google.cloud.contactcenterinsights.v1.CalculateStatsResponse.TimeSeries conversation_count_time_series = 7; + * + * * @return Whether the conversationCountTimeSeries field is set. */ public boolean hasConversationCountTimeSeries() { return ((bitField0_ & 0x00000080) != 0); } /** + * + * *
      * A time series representing the count of conversations created over time
      * that match that requested filter criteria.
      * 
* - * .google.cloud.contactcenterinsights.v1.CalculateStatsResponse.TimeSeries conversation_count_time_series = 7; + * + * .google.cloud.contactcenterinsights.v1.CalculateStatsResponse.TimeSeries conversation_count_time_series = 7; + * + * * @return The conversationCountTimeSeries. */ - public com.google.cloud.contactcenterinsights.v1.CalculateStatsResponse.TimeSeries getConversationCountTimeSeries() { + public com.google.cloud.contactcenterinsights.v1.CalculateStatsResponse.TimeSeries + getConversationCountTimeSeries() { if (conversationCountTimeSeriesBuilder_ == null) { - return conversationCountTimeSeries_ == null ? com.google.cloud.contactcenterinsights.v1.CalculateStatsResponse.TimeSeries.getDefaultInstance() : conversationCountTimeSeries_; + return conversationCountTimeSeries_ == null + ? com.google.cloud.contactcenterinsights.v1.CalculateStatsResponse.TimeSeries + .getDefaultInstance() + : conversationCountTimeSeries_; } else { return conversationCountTimeSeriesBuilder_.getMessage(); } } /** + * + * *
      * A time series representing the count of conversations created over time
      * that match that requested filter criteria.
      * 
* - * .google.cloud.contactcenterinsights.v1.CalculateStatsResponse.TimeSeries conversation_count_time_series = 7; + * + * .google.cloud.contactcenterinsights.v1.CalculateStatsResponse.TimeSeries conversation_count_time_series = 7; + * */ - public Builder setConversationCountTimeSeries(com.google.cloud.contactcenterinsights.v1.CalculateStatsResponse.TimeSeries value) { + public Builder setConversationCountTimeSeries( + com.google.cloud.contactcenterinsights.v1.CalculateStatsResponse.TimeSeries value) { if (conversationCountTimeSeriesBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -4139,15 +4890,20 @@ public Builder setConversationCountTimeSeries(com.google.cloud.contactcenterinsi return this; } /** + * + * *
      * A time series representing the count of conversations created over time
      * that match that requested filter criteria.
      * 
* - * .google.cloud.contactcenterinsights.v1.CalculateStatsResponse.TimeSeries conversation_count_time_series = 7; + * + * .google.cloud.contactcenterinsights.v1.CalculateStatsResponse.TimeSeries conversation_count_time_series = 7; + * */ public Builder setConversationCountTimeSeries( - com.google.cloud.contactcenterinsights.v1.CalculateStatsResponse.TimeSeries.Builder builderForValue) { + com.google.cloud.contactcenterinsights.v1.CalculateStatsResponse.TimeSeries.Builder + builderForValue) { if (conversationCountTimeSeriesBuilder_ == null) { conversationCountTimeSeries_ = builderForValue.build(); } else { @@ -4158,18 +4914,25 @@ public Builder setConversationCountTimeSeries( return this; } /** + * + * *
      * A time series representing the count of conversations created over time
      * that match that requested filter criteria.
      * 
* - * .google.cloud.contactcenterinsights.v1.CalculateStatsResponse.TimeSeries conversation_count_time_series = 7; + * + * .google.cloud.contactcenterinsights.v1.CalculateStatsResponse.TimeSeries conversation_count_time_series = 7; + * */ - public Builder mergeConversationCountTimeSeries(com.google.cloud.contactcenterinsights.v1.CalculateStatsResponse.TimeSeries value) { + public Builder mergeConversationCountTimeSeries( + com.google.cloud.contactcenterinsights.v1.CalculateStatsResponse.TimeSeries value) { if (conversationCountTimeSeriesBuilder_ == null) { - if (((bitField0_ & 0x00000080) != 0) && - conversationCountTimeSeries_ != null && - conversationCountTimeSeries_ != com.google.cloud.contactcenterinsights.v1.CalculateStatsResponse.TimeSeries.getDefaultInstance()) { + if (((bitField0_ & 0x00000080) != 0) + && conversationCountTimeSeries_ != null + && conversationCountTimeSeries_ + != com.google.cloud.contactcenterinsights.v1.CalculateStatsResponse.TimeSeries + .getDefaultInstance()) { getConversationCountTimeSeriesBuilder().mergeFrom(value); } else { conversationCountTimeSeries_ = value; @@ -4182,12 +4945,16 @@ public Builder mergeConversationCountTimeSeries(com.google.cloud.contactcenterin return this; } /** + * + * *
      * A time series representing the count of conversations created over time
      * that match that requested filter criteria.
      * 
* - * .google.cloud.contactcenterinsights.v1.CalculateStatsResponse.TimeSeries conversation_count_time_series = 7; + * + * .google.cloud.contactcenterinsights.v1.CalculateStatsResponse.TimeSeries conversation_count_time_series = 7; + * */ public Builder clearConversationCountTimeSeries() { bitField0_ = (bitField0_ & ~0x00000080); @@ -4200,58 +4967,78 @@ public Builder clearConversationCountTimeSeries() { return this; } /** + * + * *
      * A time series representing the count of conversations created over time
      * that match that requested filter criteria.
      * 
* - * .google.cloud.contactcenterinsights.v1.CalculateStatsResponse.TimeSeries conversation_count_time_series = 7; + * + * .google.cloud.contactcenterinsights.v1.CalculateStatsResponse.TimeSeries conversation_count_time_series = 7; + * */ - public com.google.cloud.contactcenterinsights.v1.CalculateStatsResponse.TimeSeries.Builder getConversationCountTimeSeriesBuilder() { + public com.google.cloud.contactcenterinsights.v1.CalculateStatsResponse.TimeSeries.Builder + getConversationCountTimeSeriesBuilder() { bitField0_ |= 0x00000080; onChanged(); return getConversationCountTimeSeriesFieldBuilder().getBuilder(); } /** + * + * *
      * A time series representing the count of conversations created over time
      * that match that requested filter criteria.
      * 
* - * .google.cloud.contactcenterinsights.v1.CalculateStatsResponse.TimeSeries conversation_count_time_series = 7; + * + * .google.cloud.contactcenterinsights.v1.CalculateStatsResponse.TimeSeries conversation_count_time_series = 7; + * */ - public com.google.cloud.contactcenterinsights.v1.CalculateStatsResponse.TimeSeriesOrBuilder getConversationCountTimeSeriesOrBuilder() { + public com.google.cloud.contactcenterinsights.v1.CalculateStatsResponse.TimeSeriesOrBuilder + getConversationCountTimeSeriesOrBuilder() { if (conversationCountTimeSeriesBuilder_ != null) { return conversationCountTimeSeriesBuilder_.getMessageOrBuilder(); } else { - return conversationCountTimeSeries_ == null ? - com.google.cloud.contactcenterinsights.v1.CalculateStatsResponse.TimeSeries.getDefaultInstance() : conversationCountTimeSeries_; + return conversationCountTimeSeries_ == null + ? com.google.cloud.contactcenterinsights.v1.CalculateStatsResponse.TimeSeries + .getDefaultInstance() + : conversationCountTimeSeries_; } } /** + * + * *
      * A time series representing the count of conversations created over time
      * that match that requested filter criteria.
      * 
* - * .google.cloud.contactcenterinsights.v1.CalculateStatsResponse.TimeSeries conversation_count_time_series = 7; + * + * .google.cloud.contactcenterinsights.v1.CalculateStatsResponse.TimeSeries conversation_count_time_series = 7; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.contactcenterinsights.v1.CalculateStatsResponse.TimeSeries, com.google.cloud.contactcenterinsights.v1.CalculateStatsResponse.TimeSeries.Builder, com.google.cloud.contactcenterinsights.v1.CalculateStatsResponse.TimeSeriesOrBuilder> + com.google.cloud.contactcenterinsights.v1.CalculateStatsResponse.TimeSeries, + com.google.cloud.contactcenterinsights.v1.CalculateStatsResponse.TimeSeries.Builder, + com.google.cloud.contactcenterinsights.v1.CalculateStatsResponse.TimeSeriesOrBuilder> getConversationCountTimeSeriesFieldBuilder() { if (conversationCountTimeSeriesBuilder_ == null) { - conversationCountTimeSeriesBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.contactcenterinsights.v1.CalculateStatsResponse.TimeSeries, com.google.cloud.contactcenterinsights.v1.CalculateStatsResponse.TimeSeries.Builder, com.google.cloud.contactcenterinsights.v1.CalculateStatsResponse.TimeSeriesOrBuilder>( - getConversationCountTimeSeries(), - getParentForChildren(), - isClean()); + conversationCountTimeSeriesBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.contactcenterinsights.v1.CalculateStatsResponse.TimeSeries, + com.google.cloud.contactcenterinsights.v1.CalculateStatsResponse.TimeSeries.Builder, + com.google.cloud.contactcenterinsights.v1.CalculateStatsResponse + .TimeSeriesOrBuilder>( + getConversationCountTimeSeries(), getParentForChildren(), isClean()); conversationCountTimeSeries_ = null; } return conversationCountTimeSeriesBuilder_; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -4261,41 +5048,43 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.contactcenterinsights.v1.CalculateStatsResponse) } // @@protoc_insertion_point(class_scope:google.cloud.contactcenterinsights.v1.CalculateStatsResponse) - private static final com.google.cloud.contactcenterinsights.v1.CalculateStatsResponse DEFAULT_INSTANCE; + private static final com.google.cloud.contactcenterinsights.v1.CalculateStatsResponse + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.contactcenterinsights.v1.CalculateStatsResponse(); } - public static com.google.cloud.contactcenterinsights.v1.CalculateStatsResponse getDefaultInstance() { + public static com.google.cloud.contactcenterinsights.v1.CalculateStatsResponse + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public CalculateStatsResponse parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public CalculateStatsResponse parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -4307,9 +5096,8 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.cloud.contactcenterinsights.v1.CalculateStatsResponse getDefaultInstanceForType() { + public com.google.cloud.contactcenterinsights.v1.CalculateStatsResponse + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/CalculateStatsResponseOrBuilder.java b/java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/CalculateStatsResponseOrBuilder.java similarity index 67% rename from owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/CalculateStatsResponseOrBuilder.java rename to java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/CalculateStatsResponseOrBuilder.java index 3c3ceac346cc..0169e897a1f8 100644 --- a/owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/CalculateStatsResponseOrBuilder.java +++ b/java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/CalculateStatsResponseOrBuilder.java @@ -1,33 +1,57 @@ +/* + * 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. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/contactcenterinsights/v1/contact_center_insights.proto package com.google.cloud.contactcenterinsights.v1; -public interface CalculateStatsResponseOrBuilder extends +public interface CalculateStatsResponseOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.contactcenterinsights.v1.CalculateStatsResponse) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * The average duration of all conversations. The average is calculated using
    * only conversations that have a time duration.
    * 
* * .google.protobuf.Duration average_duration = 1; + * * @return Whether the averageDuration field is set. */ boolean hasAverageDuration(); /** + * + * *
    * The average duration of all conversations. The average is calculated using
    * only conversations that have a time duration.
    * 
* * .google.protobuf.Duration average_duration = 1; + * * @return The averageDuration. */ com.google.protobuf.Duration getAverageDuration(); /** + * + * *
    * The average duration of all conversations. The average is calculated using
    * only conversations that have a time duration.
@@ -38,26 +62,34 @@ public interface CalculateStatsResponseOrBuilder extends
   com.google.protobuf.DurationOrBuilder getAverageDurationOrBuilder();
 
   /**
+   *
+   *
    * 
    * The average number of turns per conversation.
    * 
* * int32 average_turn_count = 2; + * * @return The averageTurnCount. */ int getAverageTurnCount(); /** + * + * *
    * The total number of conversations.
    * 
* * int32 conversation_count = 3; + * * @return The conversationCount. */ int getConversationCount(); /** + * + * *
    * A map associating each smart highlighter display name with its respective
    * number of matches in the set of conversations.
@@ -67,6 +99,8 @@ public interface CalculateStatsResponseOrBuilder extends
    */
   int getSmartHighlighterMatchesCount();
   /**
+   *
+   *
    * 
    * A map associating each smart highlighter display name with its respective
    * number of matches in the set of conversations.
@@ -74,15 +108,13 @@ public interface CalculateStatsResponseOrBuilder extends
    *
    * map<string, int32> smart_highlighter_matches = 4;
    */
-  boolean containsSmartHighlighterMatches(
-      java.lang.String key);
-  /**
-   * Use {@link #getSmartHighlighterMatchesMap()} instead.
-   */
+  boolean containsSmartHighlighterMatches(java.lang.String key);
+  /** Use {@link #getSmartHighlighterMatchesMap()} instead. */
   @java.lang.Deprecated
-  java.util.Map
-  getSmartHighlighterMatches();
+  java.util.Map getSmartHighlighterMatches();
   /**
+   *
+   *
    * 
    * A map associating each smart highlighter display name with its respective
    * number of matches in the set of conversations.
@@ -90,9 +122,10 @@ boolean containsSmartHighlighterMatches(
    *
    * map<string, int32> smart_highlighter_matches = 4;
    */
-  java.util.Map
-  getSmartHighlighterMatchesMap();
+  java.util.Map getSmartHighlighterMatchesMap();
   /**
+   *
+   *
    * 
    * A map associating each smart highlighter display name with its respective
    * number of matches in the set of conversations.
@@ -100,10 +133,10 @@ boolean containsSmartHighlighterMatches(
    *
    * map<string, int32> smart_highlighter_matches = 4;
    */
-  int getSmartHighlighterMatchesOrDefault(
-      java.lang.String key,
-      int defaultValue);
+  int getSmartHighlighterMatchesOrDefault(java.lang.String key, int defaultValue);
   /**
+   *
+   *
    * 
    * A map associating each smart highlighter display name with its respective
    * number of matches in the set of conversations.
@@ -111,10 +144,11 @@ int getSmartHighlighterMatchesOrDefault(
    *
    * map<string, int32> smart_highlighter_matches = 4;
    */
-  int getSmartHighlighterMatchesOrThrow(
-      java.lang.String key);
+  int getSmartHighlighterMatchesOrThrow(java.lang.String key);
 
   /**
+   *
+   *
    * 
    * A map associating each custom highlighter resource name with its respective
    * number of matches in the set of conversations.
@@ -124,6 +158,8 @@ int getSmartHighlighterMatchesOrThrow(
    */
   int getCustomHighlighterMatchesCount();
   /**
+   *
+   *
    * 
    * A map associating each custom highlighter resource name with its respective
    * number of matches in the set of conversations.
@@ -131,15 +167,13 @@ int getSmartHighlighterMatchesOrThrow(
    *
    * map<string, int32> custom_highlighter_matches = 5;
    */
-  boolean containsCustomHighlighterMatches(
-      java.lang.String key);
-  /**
-   * Use {@link #getCustomHighlighterMatchesMap()} instead.
-   */
+  boolean containsCustomHighlighterMatches(java.lang.String key);
+  /** Use {@link #getCustomHighlighterMatchesMap()} instead. */
   @java.lang.Deprecated
-  java.util.Map
-  getCustomHighlighterMatches();
+  java.util.Map getCustomHighlighterMatches();
   /**
+   *
+   *
    * 
    * A map associating each custom highlighter resource name with its respective
    * number of matches in the set of conversations.
@@ -147,9 +181,10 @@ boolean containsCustomHighlighterMatches(
    *
    * map<string, int32> custom_highlighter_matches = 5;
    */
-  java.util.Map
-  getCustomHighlighterMatchesMap();
+  java.util.Map getCustomHighlighterMatchesMap();
   /**
+   *
+   *
    * 
    * A map associating each custom highlighter resource name with its respective
    * number of matches in the set of conversations.
@@ -157,10 +192,10 @@ boolean containsCustomHighlighterMatches(
    *
    * map<string, int32> custom_highlighter_matches = 5;
    */
-  int getCustomHighlighterMatchesOrDefault(
-      java.lang.String key,
-      int defaultValue);
+  int getCustomHighlighterMatchesOrDefault(java.lang.String key, int defaultValue);
   /**
+   *
+   *
    * 
    * A map associating each custom highlighter resource name with its respective
    * number of matches in the set of conversations.
@@ -168,10 +203,11 @@ int getCustomHighlighterMatchesOrDefault(
    *
    * map<string, int32> custom_highlighter_matches = 5;
    */
-  int getCustomHighlighterMatchesOrThrow(
-      java.lang.String key);
+  int getCustomHighlighterMatchesOrThrow(java.lang.String key);
 
   /**
+   *
+   *
    * 
    * A map associating each issue resource name with its respective number of
    * matches in the set of conversations. Key has the format:
@@ -181,8 +217,11 @@ int getCustomHighlighterMatchesOrThrow(
    *
    * map<string, int32> issue_matches = 6 [deprecated = true];
    */
-  @java.lang.Deprecated int getIssueMatchesCount();
+  @java.lang.Deprecated
+  int getIssueMatchesCount();
   /**
+   *
+   *
    * 
    * A map associating each issue resource name with its respective number of
    * matches in the set of conversations. Key has the format:
@@ -192,15 +231,14 @@ int getCustomHighlighterMatchesOrThrow(
    *
    * map<string, int32> issue_matches = 6 [deprecated = true];
    */
-  @java.lang.Deprecated boolean containsIssueMatches(
-      java.lang.String key);
-  /**
-   * Use {@link #getIssueMatchesMap()} instead.
-   */
   @java.lang.Deprecated
-  java.util.Map
-  getIssueMatches();
+  boolean containsIssueMatches(java.lang.String key);
+  /** Use {@link #getIssueMatchesMap()} instead. */
+  @java.lang.Deprecated
+  java.util.Map getIssueMatches();
   /**
+   *
+   *
    * 
    * A map associating each issue resource name with its respective number of
    * matches in the set of conversations. Key has the format:
@@ -210,9 +248,11 @@ int getCustomHighlighterMatchesOrThrow(
    *
    * map<string, int32> issue_matches = 6 [deprecated = true];
    */
-  @java.lang.Deprecated java.util.Map
-  getIssueMatchesMap();
+  @java.lang.Deprecated
+  java.util.Map getIssueMatchesMap();
   /**
+   *
+   *
    * 
    * A map associating each issue resource name with its respective number of
    * matches in the set of conversations. Key has the format:
@@ -222,10 +262,11 @@ int getCustomHighlighterMatchesOrThrow(
    *
    * map<string, int32> issue_matches = 6 [deprecated = true];
    */
-  @java.lang.Deprecated int getIssueMatchesOrDefault(
-      java.lang.String key,
-      int defaultValue);
+  @java.lang.Deprecated
+  int getIssueMatchesOrDefault(java.lang.String key, int defaultValue);
   /**
+   *
+   *
    * 
    * A map associating each issue resource name with its respective number of
    * matches in the set of conversations. Key has the format:
@@ -235,100 +276,138 @@ int getCustomHighlighterMatchesOrThrow(
    *
    * map<string, int32> issue_matches = 6 [deprecated = true];
    */
-  @java.lang.Deprecated int getIssueMatchesOrThrow(
-      java.lang.String key);
+  @java.lang.Deprecated
+  int getIssueMatchesOrThrow(java.lang.String key);
 
   /**
+   *
+   *
    * 
    * A map associating each issue resource name with its respective number of
    * matches in the set of conversations. Key has the format:
    * `projects/<Project-ID>/locations/<Location-ID>/issueModels/<Issue-Model-ID>/issues/<Issue-ID>`
    * 
* - * map<string, .google.cloud.contactcenterinsights.v1.IssueModelLabelStats.IssueStats> issue_matches_stats = 8; + * + * map<string, .google.cloud.contactcenterinsights.v1.IssueModelLabelStats.IssueStats> issue_matches_stats = 8; + * */ int getIssueMatchesStatsCount(); /** + * + * *
    * A map associating each issue resource name with its respective number of
    * matches in the set of conversations. Key has the format:
    * `projects/<Project-ID>/locations/<Location-ID>/issueModels/<Issue-Model-ID>/issues/<Issue-ID>`
    * 
* - * map<string, .google.cloud.contactcenterinsights.v1.IssueModelLabelStats.IssueStats> issue_matches_stats = 8; - */ - boolean containsIssueMatchesStats( - java.lang.String key); - /** - * Use {@link #getIssueMatchesStatsMap()} instead. + * + * map<string, .google.cloud.contactcenterinsights.v1.IssueModelLabelStats.IssueStats> issue_matches_stats = 8; + * */ + boolean containsIssueMatchesStats(java.lang.String key); + /** Use {@link #getIssueMatchesStatsMap()} instead. */ @java.lang.Deprecated - java.util.Map - getIssueMatchesStats(); + java.util.Map< + java.lang.String, + com.google.cloud.contactcenterinsights.v1.IssueModelLabelStats.IssueStats> + getIssueMatchesStats(); /** + * + * *
    * A map associating each issue resource name with its respective number of
    * matches in the set of conversations. Key has the format:
    * `projects/<Project-ID>/locations/<Location-ID>/issueModels/<Issue-Model-ID>/issues/<Issue-ID>`
    * 
* - * map<string, .google.cloud.contactcenterinsights.v1.IssueModelLabelStats.IssueStats> issue_matches_stats = 8; + * + * map<string, .google.cloud.contactcenterinsights.v1.IssueModelLabelStats.IssueStats> issue_matches_stats = 8; + * */ - java.util.Map - getIssueMatchesStatsMap(); + java.util.Map< + java.lang.String, + com.google.cloud.contactcenterinsights.v1.IssueModelLabelStats.IssueStats> + getIssueMatchesStatsMap(); /** + * + * *
    * A map associating each issue resource name with its respective number of
    * matches in the set of conversations. Key has the format:
    * `projects/<Project-ID>/locations/<Location-ID>/issueModels/<Issue-Model-ID>/issues/<Issue-ID>`
    * 
* - * map<string, .google.cloud.contactcenterinsights.v1.IssueModelLabelStats.IssueStats> issue_matches_stats = 8; + * + * map<string, .google.cloud.contactcenterinsights.v1.IssueModelLabelStats.IssueStats> issue_matches_stats = 8; + * */ /* nullable */ -com.google.cloud.contactcenterinsights.v1.IssueModelLabelStats.IssueStats getIssueMatchesStatsOrDefault( - java.lang.String key, - /* nullable */ -com.google.cloud.contactcenterinsights.v1.IssueModelLabelStats.IssueStats defaultValue); + com.google.cloud.contactcenterinsights.v1.IssueModelLabelStats.IssueStats + getIssueMatchesStatsOrDefault( + java.lang.String key, + /* nullable */ + com.google.cloud.contactcenterinsights.v1.IssueModelLabelStats.IssueStats defaultValue); /** + * + * *
    * A map associating each issue resource name with its respective number of
    * matches in the set of conversations. Key has the format:
    * `projects/<Project-ID>/locations/<Location-ID>/issueModels/<Issue-Model-ID>/issues/<Issue-ID>`
    * 
* - * map<string, .google.cloud.contactcenterinsights.v1.IssueModelLabelStats.IssueStats> issue_matches_stats = 8; + * + * map<string, .google.cloud.contactcenterinsights.v1.IssueModelLabelStats.IssueStats> issue_matches_stats = 8; + * */ - com.google.cloud.contactcenterinsights.v1.IssueModelLabelStats.IssueStats getIssueMatchesStatsOrThrow( - java.lang.String key); + com.google.cloud.contactcenterinsights.v1.IssueModelLabelStats.IssueStats + getIssueMatchesStatsOrThrow(java.lang.String key); /** + * + * *
    * A time series representing the count of conversations created over time
    * that match that requested filter criteria.
    * 
* - * .google.cloud.contactcenterinsights.v1.CalculateStatsResponse.TimeSeries conversation_count_time_series = 7; + * + * .google.cloud.contactcenterinsights.v1.CalculateStatsResponse.TimeSeries conversation_count_time_series = 7; + * + * * @return Whether the conversationCountTimeSeries field is set. */ boolean hasConversationCountTimeSeries(); /** + * + * *
    * A time series representing the count of conversations created over time
    * that match that requested filter criteria.
    * 
* - * .google.cloud.contactcenterinsights.v1.CalculateStatsResponse.TimeSeries conversation_count_time_series = 7; + * + * .google.cloud.contactcenterinsights.v1.CalculateStatsResponse.TimeSeries conversation_count_time_series = 7; + * + * * @return The conversationCountTimeSeries. */ - com.google.cloud.contactcenterinsights.v1.CalculateStatsResponse.TimeSeries getConversationCountTimeSeries(); + com.google.cloud.contactcenterinsights.v1.CalculateStatsResponse.TimeSeries + getConversationCountTimeSeries(); /** + * + * *
    * A time series representing the count of conversations created over time
    * that match that requested filter criteria.
    * 
* - * .google.cloud.contactcenterinsights.v1.CalculateStatsResponse.TimeSeries conversation_count_time_series = 7; + * + * .google.cloud.contactcenterinsights.v1.CalculateStatsResponse.TimeSeries conversation_count_time_series = 7; + * */ - com.google.cloud.contactcenterinsights.v1.CalculateStatsResponse.TimeSeriesOrBuilder getConversationCountTimeSeriesOrBuilder(); + com.google.cloud.contactcenterinsights.v1.CalculateStatsResponse.TimeSeriesOrBuilder + getConversationCountTimeSeriesOrBuilder(); } diff --git a/owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/CallAnnotation.java b/java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/CallAnnotation.java similarity index 70% rename from owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/CallAnnotation.java rename to java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/CallAnnotation.java index 86a5d02825e5..7f9c54b9c933 100644 --- a/owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/CallAnnotation.java +++ b/java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/CallAnnotation.java @@ -1,56 +1,76 @@ +/* + * 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. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/contactcenterinsights/v1/resources.proto package com.google.cloud.contactcenterinsights.v1; /** + * + * *
  * A piece of metadata that applies to a window of a call.
  * 
* * Protobuf type {@code google.cloud.contactcenterinsights.v1.CallAnnotation} */ -public final class CallAnnotation extends - com.google.protobuf.GeneratedMessageV3 implements +public final class CallAnnotation extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.contactcenterinsights.v1.CallAnnotation) CallAnnotationOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use CallAnnotation.newBuilder() to construct. private CallAnnotation(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private CallAnnotation() { - } + + private CallAnnotation() {} @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new CallAnnotation(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.contactcenterinsights.v1.ResourcesProto.internal_static_google_cloud_contactcenterinsights_v1_CallAnnotation_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.contactcenterinsights.v1.ResourcesProto + .internal_static_google_cloud_contactcenterinsights_v1_CallAnnotation_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.contactcenterinsights.v1.ResourcesProto.internal_static_google_cloud_contactcenterinsights_v1_CallAnnotation_fieldAccessorTable + return com.google.cloud.contactcenterinsights.v1.ResourcesProto + .internal_static_google_cloud_contactcenterinsights_v1_CallAnnotation_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.contactcenterinsights.v1.CallAnnotation.class, com.google.cloud.contactcenterinsights.v1.CallAnnotation.Builder.class); + com.google.cloud.contactcenterinsights.v1.CallAnnotation.class, + com.google.cloud.contactcenterinsights.v1.CallAnnotation.Builder.class); } private int dataCase_ = 0; private java.lang.Object data_; + public enum DataCase - implements com.google.protobuf.Internal.EnumLite, + implements + com.google.protobuf.Internal.EnumLite, com.google.protobuf.AbstractMessage.InternalOneOfEnum { INTERRUPTION_DATA(10), SENTIMENT_DATA(11), @@ -62,6 +82,7 @@ public enum DataCase ISSUE_MATCH_DATA(18), DATA_NOT_SET(0); private final int value; + private DataCase(int value) { this.value = value; } @@ -77,36 +98,48 @@ public static DataCase valueOf(int value) { public static DataCase forNumber(int value) { switch (value) { - case 10: return INTERRUPTION_DATA; - case 11: return SENTIMENT_DATA; - case 12: return SILENCE_DATA; - case 13: return HOLD_DATA; - case 15: return ENTITY_MENTION_DATA; - case 16: return INTENT_MATCH_DATA; - case 17: return PHRASE_MATCH_DATA; - case 18: return ISSUE_MATCH_DATA; - case 0: return DATA_NOT_SET; - default: return null; + case 10: + return INTERRUPTION_DATA; + case 11: + return SENTIMENT_DATA; + case 12: + return SILENCE_DATA; + case 13: + return HOLD_DATA; + case 15: + return ENTITY_MENTION_DATA; + case 16: + return INTENT_MATCH_DATA; + case 17: + return PHRASE_MATCH_DATA; + case 18: + return ISSUE_MATCH_DATA; + case 0: + return DATA_NOT_SET; + default: + return null; } } + public int getNumber() { return this.value; } }; - public DataCase - getDataCase() { - return DataCase.forNumber( - dataCase_); + public DataCase getDataCase() { + return DataCase.forNumber(dataCase_); } public static final int INTERRUPTION_DATA_FIELD_NUMBER = 10; /** + * + * *
    * Data specifying an interruption.
    * 
* * .google.cloud.contactcenterinsights.v1.InterruptionData interruption_data = 10; + * * @return Whether the interruptionData field is set. */ @java.lang.Override @@ -114,21 +147,26 @@ public boolean hasInterruptionData() { return dataCase_ == 10; } /** + * + * *
    * Data specifying an interruption.
    * 
* * .google.cloud.contactcenterinsights.v1.InterruptionData interruption_data = 10; + * * @return The interruptionData. */ @java.lang.Override public com.google.cloud.contactcenterinsights.v1.InterruptionData getInterruptionData() { if (dataCase_ == 10) { - return (com.google.cloud.contactcenterinsights.v1.InterruptionData) data_; + return (com.google.cloud.contactcenterinsights.v1.InterruptionData) data_; } return com.google.cloud.contactcenterinsights.v1.InterruptionData.getDefaultInstance(); } /** + * + * *
    * Data specifying an interruption.
    * 
@@ -136,20 +174,24 @@ public com.google.cloud.contactcenterinsights.v1.InterruptionData getInterruptio * .google.cloud.contactcenterinsights.v1.InterruptionData interruption_data = 10; */ @java.lang.Override - public com.google.cloud.contactcenterinsights.v1.InterruptionDataOrBuilder getInterruptionDataOrBuilder() { + public com.google.cloud.contactcenterinsights.v1.InterruptionDataOrBuilder + getInterruptionDataOrBuilder() { if (dataCase_ == 10) { - return (com.google.cloud.contactcenterinsights.v1.InterruptionData) data_; + return (com.google.cloud.contactcenterinsights.v1.InterruptionData) data_; } return com.google.cloud.contactcenterinsights.v1.InterruptionData.getDefaultInstance(); } public static final int SENTIMENT_DATA_FIELD_NUMBER = 11; /** + * + * *
    * Data specifying sentiment.
    * 
* * .google.cloud.contactcenterinsights.v1.SentimentData sentiment_data = 11; + * * @return Whether the sentimentData field is set. */ @java.lang.Override @@ -157,21 +199,26 @@ public boolean hasSentimentData() { return dataCase_ == 11; } /** + * + * *
    * Data specifying sentiment.
    * 
* * .google.cloud.contactcenterinsights.v1.SentimentData sentiment_data = 11; + * * @return The sentimentData. */ @java.lang.Override public com.google.cloud.contactcenterinsights.v1.SentimentData getSentimentData() { if (dataCase_ == 11) { - return (com.google.cloud.contactcenterinsights.v1.SentimentData) data_; + return (com.google.cloud.contactcenterinsights.v1.SentimentData) data_; } return com.google.cloud.contactcenterinsights.v1.SentimentData.getDefaultInstance(); } /** + * + * *
    * Data specifying sentiment.
    * 
@@ -179,20 +226,24 @@ public com.google.cloud.contactcenterinsights.v1.SentimentData getSentimentData( * .google.cloud.contactcenterinsights.v1.SentimentData sentiment_data = 11; */ @java.lang.Override - public com.google.cloud.contactcenterinsights.v1.SentimentDataOrBuilder getSentimentDataOrBuilder() { + public com.google.cloud.contactcenterinsights.v1.SentimentDataOrBuilder + getSentimentDataOrBuilder() { if (dataCase_ == 11) { - return (com.google.cloud.contactcenterinsights.v1.SentimentData) data_; + return (com.google.cloud.contactcenterinsights.v1.SentimentData) data_; } return com.google.cloud.contactcenterinsights.v1.SentimentData.getDefaultInstance(); } public static final int SILENCE_DATA_FIELD_NUMBER = 12; /** + * + * *
    * Data specifying silence.
    * 
* * .google.cloud.contactcenterinsights.v1.SilenceData silence_data = 12; + * * @return Whether the silenceData field is set. */ @java.lang.Override @@ -200,21 +251,26 @@ public boolean hasSilenceData() { return dataCase_ == 12; } /** + * + * *
    * Data specifying silence.
    * 
* * .google.cloud.contactcenterinsights.v1.SilenceData silence_data = 12; + * * @return The silenceData. */ @java.lang.Override public com.google.cloud.contactcenterinsights.v1.SilenceData getSilenceData() { if (dataCase_ == 12) { - return (com.google.cloud.contactcenterinsights.v1.SilenceData) data_; + return (com.google.cloud.contactcenterinsights.v1.SilenceData) data_; } return com.google.cloud.contactcenterinsights.v1.SilenceData.getDefaultInstance(); } /** + * + * *
    * Data specifying silence.
    * 
@@ -224,18 +280,21 @@ public com.google.cloud.contactcenterinsights.v1.SilenceData getSilenceData() { @java.lang.Override public com.google.cloud.contactcenterinsights.v1.SilenceDataOrBuilder getSilenceDataOrBuilder() { if (dataCase_ == 12) { - return (com.google.cloud.contactcenterinsights.v1.SilenceData) data_; + return (com.google.cloud.contactcenterinsights.v1.SilenceData) data_; } return com.google.cloud.contactcenterinsights.v1.SilenceData.getDefaultInstance(); } public static final int HOLD_DATA_FIELD_NUMBER = 13; /** + * + * *
    * Data specifying a hold.
    * 
* * .google.cloud.contactcenterinsights.v1.HoldData hold_data = 13; + * * @return Whether the holdData field is set. */ @java.lang.Override @@ -243,21 +302,26 @@ public boolean hasHoldData() { return dataCase_ == 13; } /** + * + * *
    * Data specifying a hold.
    * 
* * .google.cloud.contactcenterinsights.v1.HoldData hold_data = 13; + * * @return The holdData. */ @java.lang.Override public com.google.cloud.contactcenterinsights.v1.HoldData getHoldData() { if (dataCase_ == 13) { - return (com.google.cloud.contactcenterinsights.v1.HoldData) data_; + return (com.google.cloud.contactcenterinsights.v1.HoldData) data_; } return com.google.cloud.contactcenterinsights.v1.HoldData.getDefaultInstance(); } /** + * + * *
    * Data specifying a hold.
    * 
@@ -267,18 +331,21 @@ public com.google.cloud.contactcenterinsights.v1.HoldData getHoldData() { @java.lang.Override public com.google.cloud.contactcenterinsights.v1.HoldDataOrBuilder getHoldDataOrBuilder() { if (dataCase_ == 13) { - return (com.google.cloud.contactcenterinsights.v1.HoldData) data_; + return (com.google.cloud.contactcenterinsights.v1.HoldData) data_; } return com.google.cloud.contactcenterinsights.v1.HoldData.getDefaultInstance(); } public static final int ENTITY_MENTION_DATA_FIELD_NUMBER = 15; /** + * + * *
    * Data specifying an entity mention.
    * 
* * .google.cloud.contactcenterinsights.v1.EntityMentionData entity_mention_data = 15; + * * @return Whether the entityMentionData field is set. */ @java.lang.Override @@ -286,21 +353,26 @@ public boolean hasEntityMentionData() { return dataCase_ == 15; } /** + * + * *
    * Data specifying an entity mention.
    * 
* * .google.cloud.contactcenterinsights.v1.EntityMentionData entity_mention_data = 15; + * * @return The entityMentionData. */ @java.lang.Override public com.google.cloud.contactcenterinsights.v1.EntityMentionData getEntityMentionData() { if (dataCase_ == 15) { - return (com.google.cloud.contactcenterinsights.v1.EntityMentionData) data_; + return (com.google.cloud.contactcenterinsights.v1.EntityMentionData) data_; } return com.google.cloud.contactcenterinsights.v1.EntityMentionData.getDefaultInstance(); } /** + * + * *
    * Data specifying an entity mention.
    * 
@@ -308,20 +380,24 @@ public com.google.cloud.contactcenterinsights.v1.EntityMentionData getEntityMent * .google.cloud.contactcenterinsights.v1.EntityMentionData entity_mention_data = 15; */ @java.lang.Override - public com.google.cloud.contactcenterinsights.v1.EntityMentionDataOrBuilder getEntityMentionDataOrBuilder() { + public com.google.cloud.contactcenterinsights.v1.EntityMentionDataOrBuilder + getEntityMentionDataOrBuilder() { if (dataCase_ == 15) { - return (com.google.cloud.contactcenterinsights.v1.EntityMentionData) data_; + return (com.google.cloud.contactcenterinsights.v1.EntityMentionData) data_; } return com.google.cloud.contactcenterinsights.v1.EntityMentionData.getDefaultInstance(); } public static final int INTENT_MATCH_DATA_FIELD_NUMBER = 16; /** + * + * *
    * Data specifying an intent match.
    * 
* * .google.cloud.contactcenterinsights.v1.IntentMatchData intent_match_data = 16; + * * @return Whether the intentMatchData field is set. */ @java.lang.Override @@ -329,21 +405,26 @@ public boolean hasIntentMatchData() { return dataCase_ == 16; } /** + * + * *
    * Data specifying an intent match.
    * 
* * .google.cloud.contactcenterinsights.v1.IntentMatchData intent_match_data = 16; + * * @return The intentMatchData. */ @java.lang.Override public com.google.cloud.contactcenterinsights.v1.IntentMatchData getIntentMatchData() { if (dataCase_ == 16) { - return (com.google.cloud.contactcenterinsights.v1.IntentMatchData) data_; + return (com.google.cloud.contactcenterinsights.v1.IntentMatchData) data_; } return com.google.cloud.contactcenterinsights.v1.IntentMatchData.getDefaultInstance(); } /** + * + * *
    * Data specifying an intent match.
    * 
@@ -351,20 +432,24 @@ public com.google.cloud.contactcenterinsights.v1.IntentMatchData getIntentMatchD * .google.cloud.contactcenterinsights.v1.IntentMatchData intent_match_data = 16; */ @java.lang.Override - public com.google.cloud.contactcenterinsights.v1.IntentMatchDataOrBuilder getIntentMatchDataOrBuilder() { + public com.google.cloud.contactcenterinsights.v1.IntentMatchDataOrBuilder + getIntentMatchDataOrBuilder() { if (dataCase_ == 16) { - return (com.google.cloud.contactcenterinsights.v1.IntentMatchData) data_; + return (com.google.cloud.contactcenterinsights.v1.IntentMatchData) data_; } return com.google.cloud.contactcenterinsights.v1.IntentMatchData.getDefaultInstance(); } public static final int PHRASE_MATCH_DATA_FIELD_NUMBER = 17; /** + * + * *
    * Data specifying a phrase match.
    * 
* * .google.cloud.contactcenterinsights.v1.PhraseMatchData phrase_match_data = 17; + * * @return Whether the phraseMatchData field is set. */ @java.lang.Override @@ -372,21 +457,26 @@ public boolean hasPhraseMatchData() { return dataCase_ == 17; } /** + * + * *
    * Data specifying a phrase match.
    * 
* * .google.cloud.contactcenterinsights.v1.PhraseMatchData phrase_match_data = 17; + * * @return The phraseMatchData. */ @java.lang.Override public com.google.cloud.contactcenterinsights.v1.PhraseMatchData getPhraseMatchData() { if (dataCase_ == 17) { - return (com.google.cloud.contactcenterinsights.v1.PhraseMatchData) data_; + return (com.google.cloud.contactcenterinsights.v1.PhraseMatchData) data_; } return com.google.cloud.contactcenterinsights.v1.PhraseMatchData.getDefaultInstance(); } /** + * + * *
    * Data specifying a phrase match.
    * 
@@ -394,20 +484,24 @@ public com.google.cloud.contactcenterinsights.v1.PhraseMatchData getPhraseMatchD * .google.cloud.contactcenterinsights.v1.PhraseMatchData phrase_match_data = 17; */ @java.lang.Override - public com.google.cloud.contactcenterinsights.v1.PhraseMatchDataOrBuilder getPhraseMatchDataOrBuilder() { + public com.google.cloud.contactcenterinsights.v1.PhraseMatchDataOrBuilder + getPhraseMatchDataOrBuilder() { if (dataCase_ == 17) { - return (com.google.cloud.contactcenterinsights.v1.PhraseMatchData) data_; + return (com.google.cloud.contactcenterinsights.v1.PhraseMatchData) data_; } return com.google.cloud.contactcenterinsights.v1.PhraseMatchData.getDefaultInstance(); } public static final int ISSUE_MATCH_DATA_FIELD_NUMBER = 18; /** + * + * *
    * Data specifying an issue match.
    * 
* * .google.cloud.contactcenterinsights.v1.IssueMatchData issue_match_data = 18; + * * @return Whether the issueMatchData field is set. */ @java.lang.Override @@ -415,21 +509,26 @@ public boolean hasIssueMatchData() { return dataCase_ == 18; } /** + * + * *
    * Data specifying an issue match.
    * 
* * .google.cloud.contactcenterinsights.v1.IssueMatchData issue_match_data = 18; + * * @return The issueMatchData. */ @java.lang.Override public com.google.cloud.contactcenterinsights.v1.IssueMatchData getIssueMatchData() { if (dataCase_ == 18) { - return (com.google.cloud.contactcenterinsights.v1.IssueMatchData) data_; + return (com.google.cloud.contactcenterinsights.v1.IssueMatchData) data_; } return com.google.cloud.contactcenterinsights.v1.IssueMatchData.getDefaultInstance(); } /** + * + * *
    * Data specifying an issue match.
    * 
@@ -437,9 +536,10 @@ public com.google.cloud.contactcenterinsights.v1.IssueMatchData getIssueMatchDat * .google.cloud.contactcenterinsights.v1.IssueMatchData issue_match_data = 18; */ @java.lang.Override - public com.google.cloud.contactcenterinsights.v1.IssueMatchDataOrBuilder getIssueMatchDataOrBuilder() { + public com.google.cloud.contactcenterinsights.v1.IssueMatchDataOrBuilder + getIssueMatchDataOrBuilder() { if (dataCase_ == 18) { - return (com.google.cloud.contactcenterinsights.v1.IssueMatchData) data_; + return (com.google.cloud.contactcenterinsights.v1.IssueMatchData) data_; } return com.google.cloud.contactcenterinsights.v1.IssueMatchData.getDefaultInstance(); } @@ -447,12 +547,15 @@ public com.google.cloud.contactcenterinsights.v1.IssueMatchDataOrBuilder getIssu public static final int CHANNEL_TAG_FIELD_NUMBER = 1; private int channelTag_ = 0; /** + * + * *
    * The channel of the audio where the annotation occurs. For single-channel
    * audio, this field is not populated.
    * 
* * int32 channel_tag = 1; + * * @return The channelTag. */ @java.lang.Override @@ -463,11 +566,15 @@ public int getChannelTag() { public static final int ANNOTATION_START_BOUNDARY_FIELD_NUMBER = 4; private com.google.cloud.contactcenterinsights.v1.AnnotationBoundary annotationStartBoundary_; /** + * + * *
    * The boundary in the conversation where the annotation starts, inclusive.
    * 
* - * .google.cloud.contactcenterinsights.v1.AnnotationBoundary annotation_start_boundary = 4; + * .google.cloud.contactcenterinsights.v1.AnnotationBoundary annotation_start_boundary = 4; + * + * * @return Whether the annotationStartBoundary field is set. */ @java.lang.Override @@ -475,37 +582,53 @@ public boolean hasAnnotationStartBoundary() { return annotationStartBoundary_ != null; } /** + * + * *
    * The boundary in the conversation where the annotation starts, inclusive.
    * 
* - * .google.cloud.contactcenterinsights.v1.AnnotationBoundary annotation_start_boundary = 4; + * .google.cloud.contactcenterinsights.v1.AnnotationBoundary annotation_start_boundary = 4; + * + * * @return The annotationStartBoundary. */ @java.lang.Override public com.google.cloud.contactcenterinsights.v1.AnnotationBoundary getAnnotationStartBoundary() { - return annotationStartBoundary_ == null ? com.google.cloud.contactcenterinsights.v1.AnnotationBoundary.getDefaultInstance() : annotationStartBoundary_; + return annotationStartBoundary_ == null + ? com.google.cloud.contactcenterinsights.v1.AnnotationBoundary.getDefaultInstance() + : annotationStartBoundary_; } /** + * + * *
    * The boundary in the conversation where the annotation starts, inclusive.
    * 
* - * .google.cloud.contactcenterinsights.v1.AnnotationBoundary annotation_start_boundary = 4; + * .google.cloud.contactcenterinsights.v1.AnnotationBoundary annotation_start_boundary = 4; + * */ @java.lang.Override - public com.google.cloud.contactcenterinsights.v1.AnnotationBoundaryOrBuilder getAnnotationStartBoundaryOrBuilder() { - return annotationStartBoundary_ == null ? com.google.cloud.contactcenterinsights.v1.AnnotationBoundary.getDefaultInstance() : annotationStartBoundary_; + public com.google.cloud.contactcenterinsights.v1.AnnotationBoundaryOrBuilder + getAnnotationStartBoundaryOrBuilder() { + return annotationStartBoundary_ == null + ? com.google.cloud.contactcenterinsights.v1.AnnotationBoundary.getDefaultInstance() + : annotationStartBoundary_; } public static final int ANNOTATION_END_BOUNDARY_FIELD_NUMBER = 5; private com.google.cloud.contactcenterinsights.v1.AnnotationBoundary annotationEndBoundary_; /** + * + * *
    * The boundary in the conversation where the annotation ends, inclusive.
    * 
* - * .google.cloud.contactcenterinsights.v1.AnnotationBoundary annotation_end_boundary = 5; + * .google.cloud.contactcenterinsights.v1.AnnotationBoundary annotation_end_boundary = 5; + * + * * @return Whether the annotationEndBoundary field is set. */ @java.lang.Override @@ -513,30 +636,43 @@ public boolean hasAnnotationEndBoundary() { return annotationEndBoundary_ != null; } /** + * + * *
    * The boundary in the conversation where the annotation ends, inclusive.
    * 
* - * .google.cloud.contactcenterinsights.v1.AnnotationBoundary annotation_end_boundary = 5; + * .google.cloud.contactcenterinsights.v1.AnnotationBoundary annotation_end_boundary = 5; + * + * * @return The annotationEndBoundary. */ @java.lang.Override public com.google.cloud.contactcenterinsights.v1.AnnotationBoundary getAnnotationEndBoundary() { - return annotationEndBoundary_ == null ? com.google.cloud.contactcenterinsights.v1.AnnotationBoundary.getDefaultInstance() : annotationEndBoundary_; + return annotationEndBoundary_ == null + ? com.google.cloud.contactcenterinsights.v1.AnnotationBoundary.getDefaultInstance() + : annotationEndBoundary_; } /** + * + * *
    * The boundary in the conversation where the annotation ends, inclusive.
    * 
* - * .google.cloud.contactcenterinsights.v1.AnnotationBoundary annotation_end_boundary = 5; + * .google.cloud.contactcenterinsights.v1.AnnotationBoundary annotation_end_boundary = 5; + * */ @java.lang.Override - public com.google.cloud.contactcenterinsights.v1.AnnotationBoundaryOrBuilder getAnnotationEndBoundaryOrBuilder() { - return annotationEndBoundary_ == null ? com.google.cloud.contactcenterinsights.v1.AnnotationBoundary.getDefaultInstance() : annotationEndBoundary_; + public com.google.cloud.contactcenterinsights.v1.AnnotationBoundaryOrBuilder + getAnnotationEndBoundaryOrBuilder() { + return annotationEndBoundary_ == null + ? com.google.cloud.contactcenterinsights.v1.AnnotationBoundary.getDefaultInstance() + : annotationEndBoundary_; } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -548,8 +684,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (channelTag_ != 0) { output.writeInt32(1, channelTag_); } @@ -593,48 +728,55 @@ public int getSerializedSize() { size = 0; if (channelTag_ != 0) { - size += com.google.protobuf.CodedOutputStream - .computeInt32Size(1, channelTag_); + size += com.google.protobuf.CodedOutputStream.computeInt32Size(1, channelTag_); } if (annotationStartBoundary_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(4, getAnnotationStartBoundary()); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize(4, getAnnotationStartBoundary()); } if (annotationEndBoundary_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(5, getAnnotationEndBoundary()); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize(5, getAnnotationEndBoundary()); } if (dataCase_ == 10) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(10, (com.google.cloud.contactcenterinsights.v1.InterruptionData) data_); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 10, (com.google.cloud.contactcenterinsights.v1.InterruptionData) data_); } if (dataCase_ == 11) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(11, (com.google.cloud.contactcenterinsights.v1.SentimentData) data_); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 11, (com.google.cloud.contactcenterinsights.v1.SentimentData) data_); } if (dataCase_ == 12) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(12, (com.google.cloud.contactcenterinsights.v1.SilenceData) data_); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 12, (com.google.cloud.contactcenterinsights.v1.SilenceData) data_); } if (dataCase_ == 13) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(13, (com.google.cloud.contactcenterinsights.v1.HoldData) data_); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 13, (com.google.cloud.contactcenterinsights.v1.HoldData) data_); } if (dataCase_ == 15) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(15, (com.google.cloud.contactcenterinsights.v1.EntityMentionData) data_); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 15, (com.google.cloud.contactcenterinsights.v1.EntityMentionData) data_); } if (dataCase_ == 16) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(16, (com.google.cloud.contactcenterinsights.v1.IntentMatchData) data_); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 16, (com.google.cloud.contactcenterinsights.v1.IntentMatchData) data_); } if (dataCase_ == 17) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(17, (com.google.cloud.contactcenterinsights.v1.PhraseMatchData) data_); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 17, (com.google.cloud.contactcenterinsights.v1.PhraseMatchData) data_); } if (dataCase_ == 18) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(18, (com.google.cloud.contactcenterinsights.v1.IssueMatchData) data_); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 18, (com.google.cloud.contactcenterinsights.v1.IssueMatchData) data_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -644,58 +786,48 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.contactcenterinsights.v1.CallAnnotation)) { return super.equals(obj); } - com.google.cloud.contactcenterinsights.v1.CallAnnotation other = (com.google.cloud.contactcenterinsights.v1.CallAnnotation) obj; + com.google.cloud.contactcenterinsights.v1.CallAnnotation other = + (com.google.cloud.contactcenterinsights.v1.CallAnnotation) obj; - if (getChannelTag() - != other.getChannelTag()) return false; + if (getChannelTag() != other.getChannelTag()) return false; if (hasAnnotationStartBoundary() != other.hasAnnotationStartBoundary()) return false; if (hasAnnotationStartBoundary()) { - if (!getAnnotationStartBoundary() - .equals(other.getAnnotationStartBoundary())) return false; + if (!getAnnotationStartBoundary().equals(other.getAnnotationStartBoundary())) return false; } if (hasAnnotationEndBoundary() != other.hasAnnotationEndBoundary()) return false; if (hasAnnotationEndBoundary()) { - if (!getAnnotationEndBoundary() - .equals(other.getAnnotationEndBoundary())) return false; + if (!getAnnotationEndBoundary().equals(other.getAnnotationEndBoundary())) return false; } if (!getDataCase().equals(other.getDataCase())) return false; switch (dataCase_) { case 10: - if (!getInterruptionData() - .equals(other.getInterruptionData())) return false; + if (!getInterruptionData().equals(other.getInterruptionData())) return false; break; case 11: - if (!getSentimentData() - .equals(other.getSentimentData())) return false; + if (!getSentimentData().equals(other.getSentimentData())) return false; break; case 12: - if (!getSilenceData() - .equals(other.getSilenceData())) return false; + if (!getSilenceData().equals(other.getSilenceData())) return false; break; case 13: - if (!getHoldData() - .equals(other.getHoldData())) return false; + if (!getHoldData().equals(other.getHoldData())) return false; break; case 15: - if (!getEntityMentionData() - .equals(other.getEntityMentionData())) return false; + if (!getEntityMentionData().equals(other.getEntityMentionData())) return false; break; case 16: - if (!getIntentMatchData() - .equals(other.getIntentMatchData())) return false; + if (!getIntentMatchData().equals(other.getIntentMatchData())) return false; break; case 17: - if (!getPhraseMatchData() - .equals(other.getPhraseMatchData())) return false; + if (!getPhraseMatchData().equals(other.getPhraseMatchData())) return false; break; case 18: - if (!getIssueMatchData() - .equals(other.getIssueMatchData())) return false; + if (!getIssueMatchData().equals(other.getIssueMatchData())) return false; break; case 0: default: @@ -763,129 +895,136 @@ public int hashCode() { } public static com.google.cloud.contactcenterinsights.v1.CallAnnotation parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.contactcenterinsights.v1.CallAnnotation parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.contactcenterinsights.v1.CallAnnotation parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.contactcenterinsights.v1.CallAnnotation parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.contactcenterinsights.v1.CallAnnotation parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.contactcenterinsights.v1.CallAnnotation parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.contactcenterinsights.v1.CallAnnotation parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.contactcenterinsights.v1.CallAnnotation parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.contactcenterinsights.v1.CallAnnotation parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.contactcenterinsights.v1.CallAnnotation parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.contactcenterinsights.v1.CallAnnotation parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.contactcenterinsights.v1.CallAnnotation parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.contactcenterinsights.v1.CallAnnotation parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.contactcenterinsights.v1.CallAnnotation parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.contactcenterinsights.v1.CallAnnotation prototype) { + + public static Builder newBuilder( + com.google.cloud.contactcenterinsights.v1.CallAnnotation prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * A piece of metadata that applies to a window of a call.
    * 
* * Protobuf type {@code google.cloud.contactcenterinsights.v1.CallAnnotation} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.contactcenterinsights.v1.CallAnnotation) com.google.cloud.contactcenterinsights.v1.CallAnnotationOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.contactcenterinsights.v1.ResourcesProto.internal_static_google_cloud_contactcenterinsights_v1_CallAnnotation_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.contactcenterinsights.v1.ResourcesProto + .internal_static_google_cloud_contactcenterinsights_v1_CallAnnotation_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.contactcenterinsights.v1.ResourcesProto.internal_static_google_cloud_contactcenterinsights_v1_CallAnnotation_fieldAccessorTable + return com.google.cloud.contactcenterinsights.v1.ResourcesProto + .internal_static_google_cloud_contactcenterinsights_v1_CallAnnotation_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.contactcenterinsights.v1.CallAnnotation.class, com.google.cloud.contactcenterinsights.v1.CallAnnotation.Builder.class); + com.google.cloud.contactcenterinsights.v1.CallAnnotation.class, + com.google.cloud.contactcenterinsights.v1.CallAnnotation.Builder.class); } // Construct using com.google.cloud.contactcenterinsights.v1.CallAnnotation.newBuilder() - private Builder() { + private Builder() {} - } - - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -931,9 +1070,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.contactcenterinsights.v1.ResourcesProto.internal_static_google_cloud_contactcenterinsights_v1_CallAnnotation_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.contactcenterinsights.v1.ResourcesProto + .internal_static_google_cloud_contactcenterinsights_v1_CallAnnotation_descriptor; } @java.lang.Override @@ -952,8 +1091,11 @@ public com.google.cloud.contactcenterinsights.v1.CallAnnotation build() { @java.lang.Override public com.google.cloud.contactcenterinsights.v1.CallAnnotation buildPartial() { - com.google.cloud.contactcenterinsights.v1.CallAnnotation result = new com.google.cloud.contactcenterinsights.v1.CallAnnotation(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.cloud.contactcenterinsights.v1.CallAnnotation result = + new com.google.cloud.contactcenterinsights.v1.CallAnnotation(this); + if (bitField0_ != 0) { + buildPartial0(result); + } buildPartialOneofs(result); onBuilt(); return result; @@ -965,50 +1107,45 @@ private void buildPartial0(com.google.cloud.contactcenterinsights.v1.CallAnnotat result.channelTag_ = channelTag_; } if (((from_bitField0_ & 0x00000200) != 0)) { - result.annotationStartBoundary_ = annotationStartBoundaryBuilder_ == null - ? annotationStartBoundary_ - : annotationStartBoundaryBuilder_.build(); + result.annotationStartBoundary_ = + annotationStartBoundaryBuilder_ == null + ? annotationStartBoundary_ + : annotationStartBoundaryBuilder_.build(); } if (((from_bitField0_ & 0x00000400) != 0)) { - result.annotationEndBoundary_ = annotationEndBoundaryBuilder_ == null - ? annotationEndBoundary_ - : annotationEndBoundaryBuilder_.build(); + result.annotationEndBoundary_ = + annotationEndBoundaryBuilder_ == null + ? annotationEndBoundary_ + : annotationEndBoundaryBuilder_.build(); } } - private void buildPartialOneofs(com.google.cloud.contactcenterinsights.v1.CallAnnotation result) { + private void buildPartialOneofs( + com.google.cloud.contactcenterinsights.v1.CallAnnotation result) { result.dataCase_ = dataCase_; result.data_ = this.data_; - if (dataCase_ == 10 && - interruptionDataBuilder_ != null) { + if (dataCase_ == 10 && interruptionDataBuilder_ != null) { result.data_ = interruptionDataBuilder_.build(); } - if (dataCase_ == 11 && - sentimentDataBuilder_ != null) { + if (dataCase_ == 11 && sentimentDataBuilder_ != null) { result.data_ = sentimentDataBuilder_.build(); } - if (dataCase_ == 12 && - silenceDataBuilder_ != null) { + if (dataCase_ == 12 && silenceDataBuilder_ != null) { result.data_ = silenceDataBuilder_.build(); } - if (dataCase_ == 13 && - holdDataBuilder_ != null) { + if (dataCase_ == 13 && holdDataBuilder_ != null) { result.data_ = holdDataBuilder_.build(); } - if (dataCase_ == 15 && - entityMentionDataBuilder_ != null) { + if (dataCase_ == 15 && entityMentionDataBuilder_ != null) { result.data_ = entityMentionDataBuilder_.build(); } - if (dataCase_ == 16 && - intentMatchDataBuilder_ != null) { + if (dataCase_ == 16 && intentMatchDataBuilder_ != null) { result.data_ = intentMatchDataBuilder_.build(); } - if (dataCase_ == 17 && - phraseMatchDataBuilder_ != null) { + if (dataCase_ == 17 && phraseMatchDataBuilder_ != null) { result.data_ = phraseMatchDataBuilder_.build(); } - if (dataCase_ == 18 && - issueMatchDataBuilder_ != null) { + if (dataCase_ == 18 && issueMatchDataBuilder_ != null) { result.data_ = issueMatchDataBuilder_.build(); } } @@ -1017,38 +1154,39 @@ private void buildPartialOneofs(com.google.cloud.contactcenterinsights.v1.CallAn public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.contactcenterinsights.v1.CallAnnotation) { - return mergeFrom((com.google.cloud.contactcenterinsights.v1.CallAnnotation)other); + return mergeFrom((com.google.cloud.contactcenterinsights.v1.CallAnnotation) other); } else { super.mergeFrom(other); return this; @@ -1056,7 +1194,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.contactcenterinsights.v1.CallAnnotation other) { - if (other == com.google.cloud.contactcenterinsights.v1.CallAnnotation.getDefaultInstance()) return this; + if (other == com.google.cloud.contactcenterinsights.v1.CallAnnotation.getDefaultInstance()) + return this; if (other.getChannelTag() != 0) { setChannelTag(other.getChannelTag()); } @@ -1067,41 +1206,50 @@ public Builder mergeFrom(com.google.cloud.contactcenterinsights.v1.CallAnnotatio mergeAnnotationEndBoundary(other.getAnnotationEndBoundary()); } switch (other.getDataCase()) { - case INTERRUPTION_DATA: { - mergeInterruptionData(other.getInterruptionData()); - break; - } - case SENTIMENT_DATA: { - mergeSentimentData(other.getSentimentData()); - break; - } - case SILENCE_DATA: { - mergeSilenceData(other.getSilenceData()); - break; - } - case HOLD_DATA: { - mergeHoldData(other.getHoldData()); - break; - } - case ENTITY_MENTION_DATA: { - mergeEntityMentionData(other.getEntityMentionData()); - break; - } - case INTENT_MATCH_DATA: { - mergeIntentMatchData(other.getIntentMatchData()); - break; - } - case PHRASE_MATCH_DATA: { - mergePhraseMatchData(other.getPhraseMatchData()); - break; - } - case ISSUE_MATCH_DATA: { - mergeIssueMatchData(other.getIssueMatchData()); - break; - } - case DATA_NOT_SET: { - break; - } + case INTERRUPTION_DATA: + { + mergeInterruptionData(other.getInterruptionData()); + break; + } + case SENTIMENT_DATA: + { + mergeSentimentData(other.getSentimentData()); + break; + } + case SILENCE_DATA: + { + mergeSilenceData(other.getSilenceData()); + break; + } + case HOLD_DATA: + { + mergeHoldData(other.getHoldData()); + break; + } + case ENTITY_MENTION_DATA: + { + mergeEntityMentionData(other.getEntityMentionData()); + break; + } + case INTENT_MATCH_DATA: + { + mergeIntentMatchData(other.getIntentMatchData()); + break; + } + case PHRASE_MATCH_DATA: + { + mergePhraseMatchData(other.getPhraseMatchData()); + break; + } + case ISSUE_MATCH_DATA: + { + mergeIssueMatchData(other.getIssueMatchData()); + break; + } + case DATA_NOT_SET: + { + break; + } } this.mergeUnknownFields(other.getUnknownFields()); onChanged(); @@ -1129,87 +1277,83 @@ public Builder mergeFrom( case 0: done = true; break; - case 8: { - channelTag_ = input.readInt32(); - bitField0_ |= 0x00000100; - break; - } // case 8 - case 34: { - input.readMessage( - getAnnotationStartBoundaryFieldBuilder().getBuilder(), - extensionRegistry); - bitField0_ |= 0x00000200; - break; - } // case 34 - case 42: { - input.readMessage( - getAnnotationEndBoundaryFieldBuilder().getBuilder(), - extensionRegistry); - bitField0_ |= 0x00000400; - break; - } // case 42 - case 82: { - input.readMessage( - getInterruptionDataFieldBuilder().getBuilder(), - extensionRegistry); - dataCase_ = 10; - break; - } // case 82 - case 90: { - input.readMessage( - getSentimentDataFieldBuilder().getBuilder(), - extensionRegistry); - dataCase_ = 11; - break; - } // case 90 - case 98: { - input.readMessage( - getSilenceDataFieldBuilder().getBuilder(), - extensionRegistry); - dataCase_ = 12; - break; - } // case 98 - case 106: { - input.readMessage( - getHoldDataFieldBuilder().getBuilder(), - extensionRegistry); - dataCase_ = 13; - break; - } // case 106 - case 122: { - input.readMessage( - getEntityMentionDataFieldBuilder().getBuilder(), - extensionRegistry); - dataCase_ = 15; - break; - } // case 122 - case 130: { - input.readMessage( - getIntentMatchDataFieldBuilder().getBuilder(), - extensionRegistry); - dataCase_ = 16; - break; - } // case 130 - case 138: { - input.readMessage( - getPhraseMatchDataFieldBuilder().getBuilder(), - extensionRegistry); - dataCase_ = 17; - break; - } // case 138 - case 146: { - input.readMessage( - getIssueMatchDataFieldBuilder().getBuilder(), - extensionRegistry); - dataCase_ = 18; - break; - } // case 146 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 8: + { + channelTag_ = input.readInt32(); + bitField0_ |= 0x00000100; + break; + } // case 8 + case 34: + { + input.readMessage( + getAnnotationStartBoundaryFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000200; + break; + } // case 34 + case 42: + { + input.readMessage( + getAnnotationEndBoundaryFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000400; + break; + } // case 42 + case 82: + { + input.readMessage( + getInterruptionDataFieldBuilder().getBuilder(), extensionRegistry); + dataCase_ = 10; + break; + } // case 82 + case 90: + { + input.readMessage(getSentimentDataFieldBuilder().getBuilder(), extensionRegistry); + dataCase_ = 11; + break; + } // case 90 + case 98: + { + input.readMessage(getSilenceDataFieldBuilder().getBuilder(), extensionRegistry); + dataCase_ = 12; + break; + } // case 98 + case 106: + { + input.readMessage(getHoldDataFieldBuilder().getBuilder(), extensionRegistry); + dataCase_ = 13; + break; + } // case 106 + case 122: + { + input.readMessage( + getEntityMentionDataFieldBuilder().getBuilder(), extensionRegistry); + dataCase_ = 15; + break; + } // case 122 + case 130: + { + input.readMessage(getIntentMatchDataFieldBuilder().getBuilder(), extensionRegistry); + dataCase_ = 16; + break; + } // case 130 + case 138: + { + input.readMessage(getPhraseMatchDataFieldBuilder().getBuilder(), extensionRegistry); + dataCase_ = 17; + break; + } // case 138 + case 146: + { + input.readMessage(getIssueMatchDataFieldBuilder().getBuilder(), extensionRegistry); + dataCase_ = 18; + break; + } // case 146 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -1219,12 +1363,12 @@ public Builder mergeFrom( } // finally return this; } + private int dataCase_ = 0; private java.lang.Object data_; - public DataCase - getDataCase() { - return DataCase.forNumber( - dataCase_); + + public DataCase getDataCase() { + return DataCase.forNumber(dataCase_); } public Builder clearData() { @@ -1237,13 +1381,19 @@ public Builder clearData() { private int bitField0_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.contactcenterinsights.v1.InterruptionData, com.google.cloud.contactcenterinsights.v1.InterruptionData.Builder, com.google.cloud.contactcenterinsights.v1.InterruptionDataOrBuilder> interruptionDataBuilder_; + com.google.cloud.contactcenterinsights.v1.InterruptionData, + com.google.cloud.contactcenterinsights.v1.InterruptionData.Builder, + com.google.cloud.contactcenterinsights.v1.InterruptionDataOrBuilder> + interruptionDataBuilder_; /** + * + * *
      * Data specifying an interruption.
      * 
* * .google.cloud.contactcenterinsights.v1.InterruptionData interruption_data = 10; + * * @return Whether the interruptionData field is set. */ @java.lang.Override @@ -1251,11 +1401,14 @@ public boolean hasInterruptionData() { return dataCase_ == 10; } /** + * + * *
      * Data specifying an interruption.
      * 
* * .google.cloud.contactcenterinsights.v1.InterruptionData interruption_data = 10; + * * @return The interruptionData. */ @java.lang.Override @@ -1273,13 +1426,16 @@ public com.google.cloud.contactcenterinsights.v1.InterruptionData getInterruptio } } /** + * + * *
      * Data specifying an interruption.
      * 
* * .google.cloud.contactcenterinsights.v1.InterruptionData interruption_data = 10; */ - public Builder setInterruptionData(com.google.cloud.contactcenterinsights.v1.InterruptionData value) { + public Builder setInterruptionData( + com.google.cloud.contactcenterinsights.v1.InterruptionData value) { if (interruptionDataBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -1293,6 +1449,8 @@ public Builder setInterruptionData(com.google.cloud.contactcenterinsights.v1.Int return this; } /** + * + * *
      * Data specifying an interruption.
      * 
@@ -1311,18 +1469,26 @@ public Builder setInterruptionData( return this; } /** + * + * *
      * Data specifying an interruption.
      * 
* * .google.cloud.contactcenterinsights.v1.InterruptionData interruption_data = 10; */ - public Builder mergeInterruptionData(com.google.cloud.contactcenterinsights.v1.InterruptionData value) { + public Builder mergeInterruptionData( + com.google.cloud.contactcenterinsights.v1.InterruptionData value) { if (interruptionDataBuilder_ == null) { - if (dataCase_ == 10 && - data_ != com.google.cloud.contactcenterinsights.v1.InterruptionData.getDefaultInstance()) { - data_ = com.google.cloud.contactcenterinsights.v1.InterruptionData.newBuilder((com.google.cloud.contactcenterinsights.v1.InterruptionData) data_) - .mergeFrom(value).buildPartial(); + if (dataCase_ == 10 + && data_ + != com.google.cloud.contactcenterinsights.v1.InterruptionData + .getDefaultInstance()) { + data_ = + com.google.cloud.contactcenterinsights.v1.InterruptionData.newBuilder( + (com.google.cloud.contactcenterinsights.v1.InterruptionData) data_) + .mergeFrom(value) + .buildPartial(); } else { data_ = value; } @@ -1338,6 +1504,8 @@ public Builder mergeInterruptionData(com.google.cloud.contactcenterinsights.v1.I return this; } /** + * + * *
      * Data specifying an interruption.
      * 
@@ -1361,16 +1529,21 @@ public Builder clearInterruptionData() { return this; } /** + * + * *
      * Data specifying an interruption.
      * 
* * .google.cloud.contactcenterinsights.v1.InterruptionData interruption_data = 10; */ - public com.google.cloud.contactcenterinsights.v1.InterruptionData.Builder getInterruptionDataBuilder() { + public com.google.cloud.contactcenterinsights.v1.InterruptionData.Builder + getInterruptionDataBuilder() { return getInterruptionDataFieldBuilder().getBuilder(); } /** + * + * *
      * Data specifying an interruption.
      * 
@@ -1378,7 +1551,8 @@ public com.google.cloud.contactcenterinsights.v1.InterruptionData.Builder getInt * .google.cloud.contactcenterinsights.v1.InterruptionData interruption_data = 10; */ @java.lang.Override - public com.google.cloud.contactcenterinsights.v1.InterruptionDataOrBuilder getInterruptionDataOrBuilder() { + public com.google.cloud.contactcenterinsights.v1.InterruptionDataOrBuilder + getInterruptionDataOrBuilder() { if ((dataCase_ == 10) && (interruptionDataBuilder_ != null)) { return interruptionDataBuilder_.getMessageOrBuilder(); } else { @@ -1389,6 +1563,8 @@ public com.google.cloud.contactcenterinsights.v1.InterruptionDataOrBuilder getIn } } /** + * + * *
      * Data specifying an interruption.
      * 
@@ -1396,14 +1572,19 @@ public com.google.cloud.contactcenterinsights.v1.InterruptionDataOrBuilder getIn * .google.cloud.contactcenterinsights.v1.InterruptionData interruption_data = 10; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.contactcenterinsights.v1.InterruptionData, com.google.cloud.contactcenterinsights.v1.InterruptionData.Builder, com.google.cloud.contactcenterinsights.v1.InterruptionDataOrBuilder> + com.google.cloud.contactcenterinsights.v1.InterruptionData, + com.google.cloud.contactcenterinsights.v1.InterruptionData.Builder, + com.google.cloud.contactcenterinsights.v1.InterruptionDataOrBuilder> getInterruptionDataFieldBuilder() { if (interruptionDataBuilder_ == null) { if (!(dataCase_ == 10)) { data_ = com.google.cloud.contactcenterinsights.v1.InterruptionData.getDefaultInstance(); } - interruptionDataBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.contactcenterinsights.v1.InterruptionData, com.google.cloud.contactcenterinsights.v1.InterruptionData.Builder, com.google.cloud.contactcenterinsights.v1.InterruptionDataOrBuilder>( + interruptionDataBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.contactcenterinsights.v1.InterruptionData, + com.google.cloud.contactcenterinsights.v1.InterruptionData.Builder, + com.google.cloud.contactcenterinsights.v1.InterruptionDataOrBuilder>( (com.google.cloud.contactcenterinsights.v1.InterruptionData) data_, getParentForChildren(), isClean()); @@ -1415,13 +1596,19 @@ public com.google.cloud.contactcenterinsights.v1.InterruptionDataOrBuilder getIn } private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.contactcenterinsights.v1.SentimentData, com.google.cloud.contactcenterinsights.v1.SentimentData.Builder, com.google.cloud.contactcenterinsights.v1.SentimentDataOrBuilder> sentimentDataBuilder_; + com.google.cloud.contactcenterinsights.v1.SentimentData, + com.google.cloud.contactcenterinsights.v1.SentimentData.Builder, + com.google.cloud.contactcenterinsights.v1.SentimentDataOrBuilder> + sentimentDataBuilder_; /** + * + * *
      * Data specifying sentiment.
      * 
* * .google.cloud.contactcenterinsights.v1.SentimentData sentiment_data = 11; + * * @return Whether the sentimentData field is set. */ @java.lang.Override @@ -1429,11 +1616,14 @@ public boolean hasSentimentData() { return dataCase_ == 11; } /** + * + * *
      * Data specifying sentiment.
      * 
* * .google.cloud.contactcenterinsights.v1.SentimentData sentiment_data = 11; + * * @return The sentimentData. */ @java.lang.Override @@ -1451,6 +1641,8 @@ public com.google.cloud.contactcenterinsights.v1.SentimentData getSentimentData( } } /** + * + * *
      * Data specifying sentiment.
      * 
@@ -1471,6 +1663,8 @@ public Builder setSentimentData(com.google.cloud.contactcenterinsights.v1.Sentim return this; } /** + * + * *
      * Data specifying sentiment.
      * 
@@ -1489,18 +1683,25 @@ public Builder setSentimentData( return this; } /** + * + * *
      * Data specifying sentiment.
      * 
* * .google.cloud.contactcenterinsights.v1.SentimentData sentiment_data = 11; */ - public Builder mergeSentimentData(com.google.cloud.contactcenterinsights.v1.SentimentData value) { + public Builder mergeSentimentData( + com.google.cloud.contactcenterinsights.v1.SentimentData value) { if (sentimentDataBuilder_ == null) { - if (dataCase_ == 11 && - data_ != com.google.cloud.contactcenterinsights.v1.SentimentData.getDefaultInstance()) { - data_ = com.google.cloud.contactcenterinsights.v1.SentimentData.newBuilder((com.google.cloud.contactcenterinsights.v1.SentimentData) data_) - .mergeFrom(value).buildPartial(); + if (dataCase_ == 11 + && data_ + != com.google.cloud.contactcenterinsights.v1.SentimentData.getDefaultInstance()) { + data_ = + com.google.cloud.contactcenterinsights.v1.SentimentData.newBuilder( + (com.google.cloud.contactcenterinsights.v1.SentimentData) data_) + .mergeFrom(value) + .buildPartial(); } else { data_ = value; } @@ -1516,6 +1717,8 @@ public Builder mergeSentimentData(com.google.cloud.contactcenterinsights.v1.Sent return this; } /** + * + * *
      * Data specifying sentiment.
      * 
@@ -1539,16 +1742,21 @@ public Builder clearSentimentData() { return this; } /** + * + * *
      * Data specifying sentiment.
      * 
* * .google.cloud.contactcenterinsights.v1.SentimentData sentiment_data = 11; */ - public com.google.cloud.contactcenterinsights.v1.SentimentData.Builder getSentimentDataBuilder() { + public com.google.cloud.contactcenterinsights.v1.SentimentData.Builder + getSentimentDataBuilder() { return getSentimentDataFieldBuilder().getBuilder(); } /** + * + * *
      * Data specifying sentiment.
      * 
@@ -1556,7 +1764,8 @@ public com.google.cloud.contactcenterinsights.v1.SentimentData.Builder getSentim * .google.cloud.contactcenterinsights.v1.SentimentData sentiment_data = 11; */ @java.lang.Override - public com.google.cloud.contactcenterinsights.v1.SentimentDataOrBuilder getSentimentDataOrBuilder() { + public com.google.cloud.contactcenterinsights.v1.SentimentDataOrBuilder + getSentimentDataOrBuilder() { if ((dataCase_ == 11) && (sentimentDataBuilder_ != null)) { return sentimentDataBuilder_.getMessageOrBuilder(); } else { @@ -1567,6 +1776,8 @@ public com.google.cloud.contactcenterinsights.v1.SentimentDataOrBuilder getSenti } } /** + * + * *
      * Data specifying sentiment.
      * 
@@ -1574,14 +1785,19 @@ public com.google.cloud.contactcenterinsights.v1.SentimentDataOrBuilder getSenti * .google.cloud.contactcenterinsights.v1.SentimentData sentiment_data = 11; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.contactcenterinsights.v1.SentimentData, com.google.cloud.contactcenterinsights.v1.SentimentData.Builder, com.google.cloud.contactcenterinsights.v1.SentimentDataOrBuilder> + com.google.cloud.contactcenterinsights.v1.SentimentData, + com.google.cloud.contactcenterinsights.v1.SentimentData.Builder, + com.google.cloud.contactcenterinsights.v1.SentimentDataOrBuilder> getSentimentDataFieldBuilder() { if (sentimentDataBuilder_ == null) { if (!(dataCase_ == 11)) { data_ = com.google.cloud.contactcenterinsights.v1.SentimentData.getDefaultInstance(); } - sentimentDataBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.contactcenterinsights.v1.SentimentData, com.google.cloud.contactcenterinsights.v1.SentimentData.Builder, com.google.cloud.contactcenterinsights.v1.SentimentDataOrBuilder>( + sentimentDataBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.contactcenterinsights.v1.SentimentData, + com.google.cloud.contactcenterinsights.v1.SentimentData.Builder, + com.google.cloud.contactcenterinsights.v1.SentimentDataOrBuilder>( (com.google.cloud.contactcenterinsights.v1.SentimentData) data_, getParentForChildren(), isClean()); @@ -1593,13 +1809,19 @@ public com.google.cloud.contactcenterinsights.v1.SentimentDataOrBuilder getSenti } private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.contactcenterinsights.v1.SilenceData, com.google.cloud.contactcenterinsights.v1.SilenceData.Builder, com.google.cloud.contactcenterinsights.v1.SilenceDataOrBuilder> silenceDataBuilder_; + com.google.cloud.contactcenterinsights.v1.SilenceData, + com.google.cloud.contactcenterinsights.v1.SilenceData.Builder, + com.google.cloud.contactcenterinsights.v1.SilenceDataOrBuilder> + silenceDataBuilder_; /** + * + * *
      * Data specifying silence.
      * 
* * .google.cloud.contactcenterinsights.v1.SilenceData silence_data = 12; + * * @return Whether the silenceData field is set. */ @java.lang.Override @@ -1607,11 +1829,14 @@ public boolean hasSilenceData() { return dataCase_ == 12; } /** + * + * *
      * Data specifying silence.
      * 
* * .google.cloud.contactcenterinsights.v1.SilenceData silence_data = 12; + * * @return The silenceData. */ @java.lang.Override @@ -1629,6 +1854,8 @@ public com.google.cloud.contactcenterinsights.v1.SilenceData getSilenceData() { } } /** + * + * *
      * Data specifying silence.
      * 
@@ -1649,6 +1876,8 @@ public Builder setSilenceData(com.google.cloud.contactcenterinsights.v1.SilenceD return this; } /** + * + * *
      * Data specifying silence.
      * 
@@ -1667,6 +1896,8 @@ public Builder setSilenceData( return this; } /** + * + * *
      * Data specifying silence.
      * 
@@ -1675,10 +1906,14 @@ public Builder setSilenceData( */ public Builder mergeSilenceData(com.google.cloud.contactcenterinsights.v1.SilenceData value) { if (silenceDataBuilder_ == null) { - if (dataCase_ == 12 && - data_ != com.google.cloud.contactcenterinsights.v1.SilenceData.getDefaultInstance()) { - data_ = com.google.cloud.contactcenterinsights.v1.SilenceData.newBuilder((com.google.cloud.contactcenterinsights.v1.SilenceData) data_) - .mergeFrom(value).buildPartial(); + if (dataCase_ == 12 + && data_ + != com.google.cloud.contactcenterinsights.v1.SilenceData.getDefaultInstance()) { + data_ = + com.google.cloud.contactcenterinsights.v1.SilenceData.newBuilder( + (com.google.cloud.contactcenterinsights.v1.SilenceData) data_) + .mergeFrom(value) + .buildPartial(); } else { data_ = value; } @@ -1694,6 +1929,8 @@ public Builder mergeSilenceData(com.google.cloud.contactcenterinsights.v1.Silenc return this; } /** + * + * *
      * Data specifying silence.
      * 
@@ -1717,6 +1954,8 @@ public Builder clearSilenceData() { return this; } /** + * + * *
      * Data specifying silence.
      * 
@@ -1727,6 +1966,8 @@ public com.google.cloud.contactcenterinsights.v1.SilenceData.Builder getSilenceD return getSilenceDataFieldBuilder().getBuilder(); } /** + * + * *
      * Data specifying silence.
      * 
@@ -1734,7 +1975,8 @@ public com.google.cloud.contactcenterinsights.v1.SilenceData.Builder getSilenceD * .google.cloud.contactcenterinsights.v1.SilenceData silence_data = 12; */ @java.lang.Override - public com.google.cloud.contactcenterinsights.v1.SilenceDataOrBuilder getSilenceDataOrBuilder() { + public com.google.cloud.contactcenterinsights.v1.SilenceDataOrBuilder + getSilenceDataOrBuilder() { if ((dataCase_ == 12) && (silenceDataBuilder_ != null)) { return silenceDataBuilder_.getMessageOrBuilder(); } else { @@ -1745,6 +1987,8 @@ public com.google.cloud.contactcenterinsights.v1.SilenceDataOrBuilder getSilence } } /** + * + * *
      * Data specifying silence.
      * 
@@ -1752,14 +1996,19 @@ public com.google.cloud.contactcenterinsights.v1.SilenceDataOrBuilder getSilence * .google.cloud.contactcenterinsights.v1.SilenceData silence_data = 12; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.contactcenterinsights.v1.SilenceData, com.google.cloud.contactcenterinsights.v1.SilenceData.Builder, com.google.cloud.contactcenterinsights.v1.SilenceDataOrBuilder> + com.google.cloud.contactcenterinsights.v1.SilenceData, + com.google.cloud.contactcenterinsights.v1.SilenceData.Builder, + com.google.cloud.contactcenterinsights.v1.SilenceDataOrBuilder> getSilenceDataFieldBuilder() { if (silenceDataBuilder_ == null) { if (!(dataCase_ == 12)) { data_ = com.google.cloud.contactcenterinsights.v1.SilenceData.getDefaultInstance(); } - silenceDataBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.contactcenterinsights.v1.SilenceData, com.google.cloud.contactcenterinsights.v1.SilenceData.Builder, com.google.cloud.contactcenterinsights.v1.SilenceDataOrBuilder>( + silenceDataBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.contactcenterinsights.v1.SilenceData, + com.google.cloud.contactcenterinsights.v1.SilenceData.Builder, + com.google.cloud.contactcenterinsights.v1.SilenceDataOrBuilder>( (com.google.cloud.contactcenterinsights.v1.SilenceData) data_, getParentForChildren(), isClean()); @@ -1771,13 +2020,19 @@ public com.google.cloud.contactcenterinsights.v1.SilenceDataOrBuilder getSilence } private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.contactcenterinsights.v1.HoldData, com.google.cloud.contactcenterinsights.v1.HoldData.Builder, com.google.cloud.contactcenterinsights.v1.HoldDataOrBuilder> holdDataBuilder_; + com.google.cloud.contactcenterinsights.v1.HoldData, + com.google.cloud.contactcenterinsights.v1.HoldData.Builder, + com.google.cloud.contactcenterinsights.v1.HoldDataOrBuilder> + holdDataBuilder_; /** + * + * *
      * Data specifying a hold.
      * 
* * .google.cloud.contactcenterinsights.v1.HoldData hold_data = 13; + * * @return Whether the holdData field is set. */ @java.lang.Override @@ -1785,11 +2040,14 @@ public boolean hasHoldData() { return dataCase_ == 13; } /** + * + * *
      * Data specifying a hold.
      * 
* * .google.cloud.contactcenterinsights.v1.HoldData hold_data = 13; + * * @return The holdData. */ @java.lang.Override @@ -1807,6 +2065,8 @@ public com.google.cloud.contactcenterinsights.v1.HoldData getHoldData() { } } /** + * + * *
      * Data specifying a hold.
      * 
@@ -1827,6 +2087,8 @@ public Builder setHoldData(com.google.cloud.contactcenterinsights.v1.HoldData va return this; } /** + * + * *
      * Data specifying a hold.
      * 
@@ -1845,6 +2107,8 @@ public Builder setHoldData( return this; } /** + * + * *
      * Data specifying a hold.
      * 
@@ -1853,10 +2117,13 @@ public Builder setHoldData( */ public Builder mergeHoldData(com.google.cloud.contactcenterinsights.v1.HoldData value) { if (holdDataBuilder_ == null) { - if (dataCase_ == 13 && - data_ != com.google.cloud.contactcenterinsights.v1.HoldData.getDefaultInstance()) { - data_ = com.google.cloud.contactcenterinsights.v1.HoldData.newBuilder((com.google.cloud.contactcenterinsights.v1.HoldData) data_) - .mergeFrom(value).buildPartial(); + if (dataCase_ == 13 + && data_ != com.google.cloud.contactcenterinsights.v1.HoldData.getDefaultInstance()) { + data_ = + com.google.cloud.contactcenterinsights.v1.HoldData.newBuilder( + (com.google.cloud.contactcenterinsights.v1.HoldData) data_) + .mergeFrom(value) + .buildPartial(); } else { data_ = value; } @@ -1872,6 +2139,8 @@ public Builder mergeHoldData(com.google.cloud.contactcenterinsights.v1.HoldData return this; } /** + * + * *
      * Data specifying a hold.
      * 
@@ -1895,6 +2164,8 @@ public Builder clearHoldData() { return this; } /** + * + * *
      * Data specifying a hold.
      * 
@@ -1905,6 +2176,8 @@ public com.google.cloud.contactcenterinsights.v1.HoldData.Builder getHoldDataBui return getHoldDataFieldBuilder().getBuilder(); } /** + * + * *
      * Data specifying a hold.
      * 
@@ -1923,6 +2196,8 @@ public com.google.cloud.contactcenterinsights.v1.HoldDataOrBuilder getHoldDataOr } } /** + * + * *
      * Data specifying a hold.
      * 
@@ -1930,14 +2205,19 @@ public com.google.cloud.contactcenterinsights.v1.HoldDataOrBuilder getHoldDataOr * .google.cloud.contactcenterinsights.v1.HoldData hold_data = 13; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.contactcenterinsights.v1.HoldData, com.google.cloud.contactcenterinsights.v1.HoldData.Builder, com.google.cloud.contactcenterinsights.v1.HoldDataOrBuilder> + com.google.cloud.contactcenterinsights.v1.HoldData, + com.google.cloud.contactcenterinsights.v1.HoldData.Builder, + com.google.cloud.contactcenterinsights.v1.HoldDataOrBuilder> getHoldDataFieldBuilder() { if (holdDataBuilder_ == null) { if (!(dataCase_ == 13)) { data_ = com.google.cloud.contactcenterinsights.v1.HoldData.getDefaultInstance(); } - holdDataBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.contactcenterinsights.v1.HoldData, com.google.cloud.contactcenterinsights.v1.HoldData.Builder, com.google.cloud.contactcenterinsights.v1.HoldDataOrBuilder>( + holdDataBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.contactcenterinsights.v1.HoldData, + com.google.cloud.contactcenterinsights.v1.HoldData.Builder, + com.google.cloud.contactcenterinsights.v1.HoldDataOrBuilder>( (com.google.cloud.contactcenterinsights.v1.HoldData) data_, getParentForChildren(), isClean()); @@ -1949,13 +2229,20 @@ public com.google.cloud.contactcenterinsights.v1.HoldDataOrBuilder getHoldDataOr } private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.contactcenterinsights.v1.EntityMentionData, com.google.cloud.contactcenterinsights.v1.EntityMentionData.Builder, com.google.cloud.contactcenterinsights.v1.EntityMentionDataOrBuilder> entityMentionDataBuilder_; + com.google.cloud.contactcenterinsights.v1.EntityMentionData, + com.google.cloud.contactcenterinsights.v1.EntityMentionData.Builder, + com.google.cloud.contactcenterinsights.v1.EntityMentionDataOrBuilder> + entityMentionDataBuilder_; /** + * + * *
      * Data specifying an entity mention.
      * 
* - * .google.cloud.contactcenterinsights.v1.EntityMentionData entity_mention_data = 15; + * .google.cloud.contactcenterinsights.v1.EntityMentionData entity_mention_data = 15; + * + * * @return Whether the entityMentionData field is set. */ @java.lang.Override @@ -1963,11 +2250,15 @@ public boolean hasEntityMentionData() { return dataCase_ == 15; } /** + * + * *
      * Data specifying an entity mention.
      * 
* - * .google.cloud.contactcenterinsights.v1.EntityMentionData entity_mention_data = 15; + * .google.cloud.contactcenterinsights.v1.EntityMentionData entity_mention_data = 15; + * + * * @return The entityMentionData. */ @java.lang.Override @@ -1985,13 +2276,17 @@ public com.google.cloud.contactcenterinsights.v1.EntityMentionData getEntityMent } } /** + * + * *
      * Data specifying an entity mention.
      * 
* - * .google.cloud.contactcenterinsights.v1.EntityMentionData entity_mention_data = 15; + * .google.cloud.contactcenterinsights.v1.EntityMentionData entity_mention_data = 15; + * */ - public Builder setEntityMentionData(com.google.cloud.contactcenterinsights.v1.EntityMentionData value) { + public Builder setEntityMentionData( + com.google.cloud.contactcenterinsights.v1.EntityMentionData value) { if (entityMentionDataBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -2005,11 +2300,14 @@ public Builder setEntityMentionData(com.google.cloud.contactcenterinsights.v1.En return this; } /** + * + * *
      * Data specifying an entity mention.
      * 
* - * .google.cloud.contactcenterinsights.v1.EntityMentionData entity_mention_data = 15; + * .google.cloud.contactcenterinsights.v1.EntityMentionData entity_mention_data = 15; + * */ public Builder setEntityMentionData( com.google.cloud.contactcenterinsights.v1.EntityMentionData.Builder builderForValue) { @@ -2023,18 +2321,27 @@ public Builder setEntityMentionData( return this; } /** + * + * *
      * Data specifying an entity mention.
      * 
* - * .google.cloud.contactcenterinsights.v1.EntityMentionData entity_mention_data = 15; + * .google.cloud.contactcenterinsights.v1.EntityMentionData entity_mention_data = 15; + * */ - public Builder mergeEntityMentionData(com.google.cloud.contactcenterinsights.v1.EntityMentionData value) { + public Builder mergeEntityMentionData( + com.google.cloud.contactcenterinsights.v1.EntityMentionData value) { if (entityMentionDataBuilder_ == null) { - if (dataCase_ == 15 && - data_ != com.google.cloud.contactcenterinsights.v1.EntityMentionData.getDefaultInstance()) { - data_ = com.google.cloud.contactcenterinsights.v1.EntityMentionData.newBuilder((com.google.cloud.contactcenterinsights.v1.EntityMentionData) data_) - .mergeFrom(value).buildPartial(); + if (dataCase_ == 15 + && data_ + != com.google.cloud.contactcenterinsights.v1.EntityMentionData + .getDefaultInstance()) { + data_ = + com.google.cloud.contactcenterinsights.v1.EntityMentionData.newBuilder( + (com.google.cloud.contactcenterinsights.v1.EntityMentionData) data_) + .mergeFrom(value) + .buildPartial(); } else { data_ = value; } @@ -2050,11 +2357,14 @@ public Builder mergeEntityMentionData(com.google.cloud.contactcenterinsights.v1. return this; } /** + * + * *
      * Data specifying an entity mention.
      * 
* - * .google.cloud.contactcenterinsights.v1.EntityMentionData entity_mention_data = 15; + * .google.cloud.contactcenterinsights.v1.EntityMentionData entity_mention_data = 15; + * */ public Builder clearEntityMentionData() { if (entityMentionDataBuilder_ == null) { @@ -2073,24 +2383,32 @@ public Builder clearEntityMentionData() { return this; } /** + * + * *
      * Data specifying an entity mention.
      * 
* - * .google.cloud.contactcenterinsights.v1.EntityMentionData entity_mention_data = 15; + * .google.cloud.contactcenterinsights.v1.EntityMentionData entity_mention_data = 15; + * */ - public com.google.cloud.contactcenterinsights.v1.EntityMentionData.Builder getEntityMentionDataBuilder() { + public com.google.cloud.contactcenterinsights.v1.EntityMentionData.Builder + getEntityMentionDataBuilder() { return getEntityMentionDataFieldBuilder().getBuilder(); } /** + * + * *
      * Data specifying an entity mention.
      * 
* - * .google.cloud.contactcenterinsights.v1.EntityMentionData entity_mention_data = 15; + * .google.cloud.contactcenterinsights.v1.EntityMentionData entity_mention_data = 15; + * */ @java.lang.Override - public com.google.cloud.contactcenterinsights.v1.EntityMentionDataOrBuilder getEntityMentionDataOrBuilder() { + public com.google.cloud.contactcenterinsights.v1.EntityMentionDataOrBuilder + getEntityMentionDataOrBuilder() { if ((dataCase_ == 15) && (entityMentionDataBuilder_ != null)) { return entityMentionDataBuilder_.getMessageOrBuilder(); } else { @@ -2101,21 +2419,29 @@ public com.google.cloud.contactcenterinsights.v1.EntityMentionDataOrBuilder getE } } /** + * + * *
      * Data specifying an entity mention.
      * 
* - * .google.cloud.contactcenterinsights.v1.EntityMentionData entity_mention_data = 15; + * .google.cloud.contactcenterinsights.v1.EntityMentionData entity_mention_data = 15; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.contactcenterinsights.v1.EntityMentionData, com.google.cloud.contactcenterinsights.v1.EntityMentionData.Builder, com.google.cloud.contactcenterinsights.v1.EntityMentionDataOrBuilder> + com.google.cloud.contactcenterinsights.v1.EntityMentionData, + com.google.cloud.contactcenterinsights.v1.EntityMentionData.Builder, + com.google.cloud.contactcenterinsights.v1.EntityMentionDataOrBuilder> getEntityMentionDataFieldBuilder() { if (entityMentionDataBuilder_ == null) { if (!(dataCase_ == 15)) { data_ = com.google.cloud.contactcenterinsights.v1.EntityMentionData.getDefaultInstance(); } - entityMentionDataBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.contactcenterinsights.v1.EntityMentionData, com.google.cloud.contactcenterinsights.v1.EntityMentionData.Builder, com.google.cloud.contactcenterinsights.v1.EntityMentionDataOrBuilder>( + entityMentionDataBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.contactcenterinsights.v1.EntityMentionData, + com.google.cloud.contactcenterinsights.v1.EntityMentionData.Builder, + com.google.cloud.contactcenterinsights.v1.EntityMentionDataOrBuilder>( (com.google.cloud.contactcenterinsights.v1.EntityMentionData) data_, getParentForChildren(), isClean()); @@ -2127,13 +2453,19 @@ public com.google.cloud.contactcenterinsights.v1.EntityMentionDataOrBuilder getE } private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.contactcenterinsights.v1.IntentMatchData, com.google.cloud.contactcenterinsights.v1.IntentMatchData.Builder, com.google.cloud.contactcenterinsights.v1.IntentMatchDataOrBuilder> intentMatchDataBuilder_; + com.google.cloud.contactcenterinsights.v1.IntentMatchData, + com.google.cloud.contactcenterinsights.v1.IntentMatchData.Builder, + com.google.cloud.contactcenterinsights.v1.IntentMatchDataOrBuilder> + intentMatchDataBuilder_; /** + * + * *
      * Data specifying an intent match.
      * 
* * .google.cloud.contactcenterinsights.v1.IntentMatchData intent_match_data = 16; + * * @return Whether the intentMatchData field is set. */ @java.lang.Override @@ -2141,11 +2473,14 @@ public boolean hasIntentMatchData() { return dataCase_ == 16; } /** + * + * *
      * Data specifying an intent match.
      * 
* * .google.cloud.contactcenterinsights.v1.IntentMatchData intent_match_data = 16; + * * @return The intentMatchData. */ @java.lang.Override @@ -2163,13 +2498,16 @@ public com.google.cloud.contactcenterinsights.v1.IntentMatchData getIntentMatchD } } /** + * + * *
      * Data specifying an intent match.
      * 
* * .google.cloud.contactcenterinsights.v1.IntentMatchData intent_match_data = 16; */ - public Builder setIntentMatchData(com.google.cloud.contactcenterinsights.v1.IntentMatchData value) { + public Builder setIntentMatchData( + com.google.cloud.contactcenterinsights.v1.IntentMatchData value) { if (intentMatchDataBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -2183,6 +2521,8 @@ public Builder setIntentMatchData(com.google.cloud.contactcenterinsights.v1.Inte return this; } /** + * + * *
      * Data specifying an intent match.
      * 
@@ -2201,18 +2541,25 @@ public Builder setIntentMatchData( return this; } /** + * + * *
      * Data specifying an intent match.
      * 
* * .google.cloud.contactcenterinsights.v1.IntentMatchData intent_match_data = 16; */ - public Builder mergeIntentMatchData(com.google.cloud.contactcenterinsights.v1.IntentMatchData value) { + public Builder mergeIntentMatchData( + com.google.cloud.contactcenterinsights.v1.IntentMatchData value) { if (intentMatchDataBuilder_ == null) { - if (dataCase_ == 16 && - data_ != com.google.cloud.contactcenterinsights.v1.IntentMatchData.getDefaultInstance()) { - data_ = com.google.cloud.contactcenterinsights.v1.IntentMatchData.newBuilder((com.google.cloud.contactcenterinsights.v1.IntentMatchData) data_) - .mergeFrom(value).buildPartial(); + if (dataCase_ == 16 + && data_ + != com.google.cloud.contactcenterinsights.v1.IntentMatchData.getDefaultInstance()) { + data_ = + com.google.cloud.contactcenterinsights.v1.IntentMatchData.newBuilder( + (com.google.cloud.contactcenterinsights.v1.IntentMatchData) data_) + .mergeFrom(value) + .buildPartial(); } else { data_ = value; } @@ -2228,6 +2575,8 @@ public Builder mergeIntentMatchData(com.google.cloud.contactcenterinsights.v1.In return this; } /** + * + * *
      * Data specifying an intent match.
      * 
@@ -2251,16 +2600,21 @@ public Builder clearIntentMatchData() { return this; } /** + * + * *
      * Data specifying an intent match.
      * 
* * .google.cloud.contactcenterinsights.v1.IntentMatchData intent_match_data = 16; */ - public com.google.cloud.contactcenterinsights.v1.IntentMatchData.Builder getIntentMatchDataBuilder() { + public com.google.cloud.contactcenterinsights.v1.IntentMatchData.Builder + getIntentMatchDataBuilder() { return getIntentMatchDataFieldBuilder().getBuilder(); } /** + * + * *
      * Data specifying an intent match.
      * 
@@ -2268,7 +2622,8 @@ public com.google.cloud.contactcenterinsights.v1.IntentMatchData.Builder getInte * .google.cloud.contactcenterinsights.v1.IntentMatchData intent_match_data = 16; */ @java.lang.Override - public com.google.cloud.contactcenterinsights.v1.IntentMatchDataOrBuilder getIntentMatchDataOrBuilder() { + public com.google.cloud.contactcenterinsights.v1.IntentMatchDataOrBuilder + getIntentMatchDataOrBuilder() { if ((dataCase_ == 16) && (intentMatchDataBuilder_ != null)) { return intentMatchDataBuilder_.getMessageOrBuilder(); } else { @@ -2279,6 +2634,8 @@ public com.google.cloud.contactcenterinsights.v1.IntentMatchDataOrBuilder getInt } } /** + * + * *
      * Data specifying an intent match.
      * 
@@ -2286,14 +2643,19 @@ public com.google.cloud.contactcenterinsights.v1.IntentMatchDataOrBuilder getInt * .google.cloud.contactcenterinsights.v1.IntentMatchData intent_match_data = 16; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.contactcenterinsights.v1.IntentMatchData, com.google.cloud.contactcenterinsights.v1.IntentMatchData.Builder, com.google.cloud.contactcenterinsights.v1.IntentMatchDataOrBuilder> + com.google.cloud.contactcenterinsights.v1.IntentMatchData, + com.google.cloud.contactcenterinsights.v1.IntentMatchData.Builder, + com.google.cloud.contactcenterinsights.v1.IntentMatchDataOrBuilder> getIntentMatchDataFieldBuilder() { if (intentMatchDataBuilder_ == null) { if (!(dataCase_ == 16)) { data_ = com.google.cloud.contactcenterinsights.v1.IntentMatchData.getDefaultInstance(); } - intentMatchDataBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.contactcenterinsights.v1.IntentMatchData, com.google.cloud.contactcenterinsights.v1.IntentMatchData.Builder, com.google.cloud.contactcenterinsights.v1.IntentMatchDataOrBuilder>( + intentMatchDataBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.contactcenterinsights.v1.IntentMatchData, + com.google.cloud.contactcenterinsights.v1.IntentMatchData.Builder, + com.google.cloud.contactcenterinsights.v1.IntentMatchDataOrBuilder>( (com.google.cloud.contactcenterinsights.v1.IntentMatchData) data_, getParentForChildren(), isClean()); @@ -2305,13 +2667,19 @@ public com.google.cloud.contactcenterinsights.v1.IntentMatchDataOrBuilder getInt } private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.contactcenterinsights.v1.PhraseMatchData, com.google.cloud.contactcenterinsights.v1.PhraseMatchData.Builder, com.google.cloud.contactcenterinsights.v1.PhraseMatchDataOrBuilder> phraseMatchDataBuilder_; + com.google.cloud.contactcenterinsights.v1.PhraseMatchData, + com.google.cloud.contactcenterinsights.v1.PhraseMatchData.Builder, + com.google.cloud.contactcenterinsights.v1.PhraseMatchDataOrBuilder> + phraseMatchDataBuilder_; /** + * + * *
      * Data specifying a phrase match.
      * 
* * .google.cloud.contactcenterinsights.v1.PhraseMatchData phrase_match_data = 17; + * * @return Whether the phraseMatchData field is set. */ @java.lang.Override @@ -2319,11 +2687,14 @@ public boolean hasPhraseMatchData() { return dataCase_ == 17; } /** + * + * *
      * Data specifying a phrase match.
      * 
* * .google.cloud.contactcenterinsights.v1.PhraseMatchData phrase_match_data = 17; + * * @return The phraseMatchData. */ @java.lang.Override @@ -2341,13 +2712,16 @@ public com.google.cloud.contactcenterinsights.v1.PhraseMatchData getPhraseMatchD } } /** + * + * *
      * Data specifying a phrase match.
      * 
* * .google.cloud.contactcenterinsights.v1.PhraseMatchData phrase_match_data = 17; */ - public Builder setPhraseMatchData(com.google.cloud.contactcenterinsights.v1.PhraseMatchData value) { + public Builder setPhraseMatchData( + com.google.cloud.contactcenterinsights.v1.PhraseMatchData value) { if (phraseMatchDataBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -2361,6 +2735,8 @@ public Builder setPhraseMatchData(com.google.cloud.contactcenterinsights.v1.Phra return this; } /** + * + * *
      * Data specifying a phrase match.
      * 
@@ -2379,18 +2755,25 @@ public Builder setPhraseMatchData( return this; } /** + * + * *
      * Data specifying a phrase match.
      * 
* * .google.cloud.contactcenterinsights.v1.PhraseMatchData phrase_match_data = 17; */ - public Builder mergePhraseMatchData(com.google.cloud.contactcenterinsights.v1.PhraseMatchData value) { + public Builder mergePhraseMatchData( + com.google.cloud.contactcenterinsights.v1.PhraseMatchData value) { if (phraseMatchDataBuilder_ == null) { - if (dataCase_ == 17 && - data_ != com.google.cloud.contactcenterinsights.v1.PhraseMatchData.getDefaultInstance()) { - data_ = com.google.cloud.contactcenterinsights.v1.PhraseMatchData.newBuilder((com.google.cloud.contactcenterinsights.v1.PhraseMatchData) data_) - .mergeFrom(value).buildPartial(); + if (dataCase_ == 17 + && data_ + != com.google.cloud.contactcenterinsights.v1.PhraseMatchData.getDefaultInstance()) { + data_ = + com.google.cloud.contactcenterinsights.v1.PhraseMatchData.newBuilder( + (com.google.cloud.contactcenterinsights.v1.PhraseMatchData) data_) + .mergeFrom(value) + .buildPartial(); } else { data_ = value; } @@ -2406,6 +2789,8 @@ public Builder mergePhraseMatchData(com.google.cloud.contactcenterinsights.v1.Ph return this; } /** + * + * *
      * Data specifying a phrase match.
      * 
@@ -2429,16 +2814,21 @@ public Builder clearPhraseMatchData() { return this; } /** + * + * *
      * Data specifying a phrase match.
      * 
* * .google.cloud.contactcenterinsights.v1.PhraseMatchData phrase_match_data = 17; */ - public com.google.cloud.contactcenterinsights.v1.PhraseMatchData.Builder getPhraseMatchDataBuilder() { + public com.google.cloud.contactcenterinsights.v1.PhraseMatchData.Builder + getPhraseMatchDataBuilder() { return getPhraseMatchDataFieldBuilder().getBuilder(); } /** + * + * *
      * Data specifying a phrase match.
      * 
@@ -2446,7 +2836,8 @@ public com.google.cloud.contactcenterinsights.v1.PhraseMatchData.Builder getPhra * .google.cloud.contactcenterinsights.v1.PhraseMatchData phrase_match_data = 17; */ @java.lang.Override - public com.google.cloud.contactcenterinsights.v1.PhraseMatchDataOrBuilder getPhraseMatchDataOrBuilder() { + public com.google.cloud.contactcenterinsights.v1.PhraseMatchDataOrBuilder + getPhraseMatchDataOrBuilder() { if ((dataCase_ == 17) && (phraseMatchDataBuilder_ != null)) { return phraseMatchDataBuilder_.getMessageOrBuilder(); } else { @@ -2457,6 +2848,8 @@ public com.google.cloud.contactcenterinsights.v1.PhraseMatchDataOrBuilder getPhr } } /** + * + * *
      * Data specifying a phrase match.
      * 
@@ -2464,14 +2857,19 @@ public com.google.cloud.contactcenterinsights.v1.PhraseMatchDataOrBuilder getPhr * .google.cloud.contactcenterinsights.v1.PhraseMatchData phrase_match_data = 17; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.contactcenterinsights.v1.PhraseMatchData, com.google.cloud.contactcenterinsights.v1.PhraseMatchData.Builder, com.google.cloud.contactcenterinsights.v1.PhraseMatchDataOrBuilder> + com.google.cloud.contactcenterinsights.v1.PhraseMatchData, + com.google.cloud.contactcenterinsights.v1.PhraseMatchData.Builder, + com.google.cloud.contactcenterinsights.v1.PhraseMatchDataOrBuilder> getPhraseMatchDataFieldBuilder() { if (phraseMatchDataBuilder_ == null) { if (!(dataCase_ == 17)) { data_ = com.google.cloud.contactcenterinsights.v1.PhraseMatchData.getDefaultInstance(); } - phraseMatchDataBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.contactcenterinsights.v1.PhraseMatchData, com.google.cloud.contactcenterinsights.v1.PhraseMatchData.Builder, com.google.cloud.contactcenterinsights.v1.PhraseMatchDataOrBuilder>( + phraseMatchDataBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.contactcenterinsights.v1.PhraseMatchData, + com.google.cloud.contactcenterinsights.v1.PhraseMatchData.Builder, + com.google.cloud.contactcenterinsights.v1.PhraseMatchDataOrBuilder>( (com.google.cloud.contactcenterinsights.v1.PhraseMatchData) data_, getParentForChildren(), isClean()); @@ -2483,13 +2881,19 @@ public com.google.cloud.contactcenterinsights.v1.PhraseMatchDataOrBuilder getPhr } private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.contactcenterinsights.v1.IssueMatchData, com.google.cloud.contactcenterinsights.v1.IssueMatchData.Builder, com.google.cloud.contactcenterinsights.v1.IssueMatchDataOrBuilder> issueMatchDataBuilder_; + com.google.cloud.contactcenterinsights.v1.IssueMatchData, + com.google.cloud.contactcenterinsights.v1.IssueMatchData.Builder, + com.google.cloud.contactcenterinsights.v1.IssueMatchDataOrBuilder> + issueMatchDataBuilder_; /** + * + * *
      * Data specifying an issue match.
      * 
* * .google.cloud.contactcenterinsights.v1.IssueMatchData issue_match_data = 18; + * * @return Whether the issueMatchData field is set. */ @java.lang.Override @@ -2497,11 +2901,14 @@ public boolean hasIssueMatchData() { return dataCase_ == 18; } /** + * + * *
      * Data specifying an issue match.
      * 
* * .google.cloud.contactcenterinsights.v1.IssueMatchData issue_match_data = 18; + * * @return The issueMatchData. */ @java.lang.Override @@ -2519,13 +2926,16 @@ public com.google.cloud.contactcenterinsights.v1.IssueMatchData getIssueMatchDat } } /** + * + * *
      * Data specifying an issue match.
      * 
* * .google.cloud.contactcenterinsights.v1.IssueMatchData issue_match_data = 18; */ - public Builder setIssueMatchData(com.google.cloud.contactcenterinsights.v1.IssueMatchData value) { + public Builder setIssueMatchData( + com.google.cloud.contactcenterinsights.v1.IssueMatchData value) { if (issueMatchDataBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -2539,6 +2949,8 @@ public Builder setIssueMatchData(com.google.cloud.contactcenterinsights.v1.Issue return this; } /** + * + * *
      * Data specifying an issue match.
      * 
@@ -2557,18 +2969,25 @@ public Builder setIssueMatchData( return this; } /** + * + * *
      * Data specifying an issue match.
      * 
* * .google.cloud.contactcenterinsights.v1.IssueMatchData issue_match_data = 18; */ - public Builder mergeIssueMatchData(com.google.cloud.contactcenterinsights.v1.IssueMatchData value) { + public Builder mergeIssueMatchData( + com.google.cloud.contactcenterinsights.v1.IssueMatchData value) { if (issueMatchDataBuilder_ == null) { - if (dataCase_ == 18 && - data_ != com.google.cloud.contactcenterinsights.v1.IssueMatchData.getDefaultInstance()) { - data_ = com.google.cloud.contactcenterinsights.v1.IssueMatchData.newBuilder((com.google.cloud.contactcenterinsights.v1.IssueMatchData) data_) - .mergeFrom(value).buildPartial(); + if (dataCase_ == 18 + && data_ + != com.google.cloud.contactcenterinsights.v1.IssueMatchData.getDefaultInstance()) { + data_ = + com.google.cloud.contactcenterinsights.v1.IssueMatchData.newBuilder( + (com.google.cloud.contactcenterinsights.v1.IssueMatchData) data_) + .mergeFrom(value) + .buildPartial(); } else { data_ = value; } @@ -2584,6 +3003,8 @@ public Builder mergeIssueMatchData(com.google.cloud.contactcenterinsights.v1.Iss return this; } /** + * + * *
      * Data specifying an issue match.
      * 
@@ -2607,16 +3028,21 @@ public Builder clearIssueMatchData() { return this; } /** + * + * *
      * Data specifying an issue match.
      * 
* * .google.cloud.contactcenterinsights.v1.IssueMatchData issue_match_data = 18; */ - public com.google.cloud.contactcenterinsights.v1.IssueMatchData.Builder getIssueMatchDataBuilder() { + public com.google.cloud.contactcenterinsights.v1.IssueMatchData.Builder + getIssueMatchDataBuilder() { return getIssueMatchDataFieldBuilder().getBuilder(); } /** + * + * *
      * Data specifying an issue match.
      * 
@@ -2624,7 +3050,8 @@ public com.google.cloud.contactcenterinsights.v1.IssueMatchData.Builder getIssue * .google.cloud.contactcenterinsights.v1.IssueMatchData issue_match_data = 18; */ @java.lang.Override - public com.google.cloud.contactcenterinsights.v1.IssueMatchDataOrBuilder getIssueMatchDataOrBuilder() { + public com.google.cloud.contactcenterinsights.v1.IssueMatchDataOrBuilder + getIssueMatchDataOrBuilder() { if ((dataCase_ == 18) && (issueMatchDataBuilder_ != null)) { return issueMatchDataBuilder_.getMessageOrBuilder(); } else { @@ -2635,6 +3062,8 @@ public com.google.cloud.contactcenterinsights.v1.IssueMatchDataOrBuilder getIssu } } /** + * + * *
      * Data specifying an issue match.
      * 
@@ -2642,14 +3071,19 @@ public com.google.cloud.contactcenterinsights.v1.IssueMatchDataOrBuilder getIssu * .google.cloud.contactcenterinsights.v1.IssueMatchData issue_match_data = 18; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.contactcenterinsights.v1.IssueMatchData, com.google.cloud.contactcenterinsights.v1.IssueMatchData.Builder, com.google.cloud.contactcenterinsights.v1.IssueMatchDataOrBuilder> + com.google.cloud.contactcenterinsights.v1.IssueMatchData, + com.google.cloud.contactcenterinsights.v1.IssueMatchData.Builder, + com.google.cloud.contactcenterinsights.v1.IssueMatchDataOrBuilder> getIssueMatchDataFieldBuilder() { if (issueMatchDataBuilder_ == null) { if (!(dataCase_ == 18)) { data_ = com.google.cloud.contactcenterinsights.v1.IssueMatchData.getDefaultInstance(); } - issueMatchDataBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.contactcenterinsights.v1.IssueMatchData, com.google.cloud.contactcenterinsights.v1.IssueMatchData.Builder, com.google.cloud.contactcenterinsights.v1.IssueMatchDataOrBuilder>( + issueMatchDataBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.contactcenterinsights.v1.IssueMatchData, + com.google.cloud.contactcenterinsights.v1.IssueMatchData.Builder, + com.google.cloud.contactcenterinsights.v1.IssueMatchDataOrBuilder>( (com.google.cloud.contactcenterinsights.v1.IssueMatchData) data_, getParentForChildren(), isClean()); @@ -2660,14 +3094,17 @@ public com.google.cloud.contactcenterinsights.v1.IssueMatchDataOrBuilder getIssu return issueMatchDataBuilder_; } - private int channelTag_ ; + private int channelTag_; /** + * + * *
      * The channel of the audio where the annotation occurs. For single-channel
      * audio, this field is not populated.
      * 
* * int32 channel_tag = 1; + * * @return The channelTag. */ @java.lang.Override @@ -2675,29 +3112,35 @@ public int getChannelTag() { return channelTag_; } /** + * + * *
      * The channel of the audio where the annotation occurs. For single-channel
      * audio, this field is not populated.
      * 
* * int32 channel_tag = 1; + * * @param value The channelTag to set. * @return This builder for chaining. */ public Builder setChannelTag(int value) { - + channelTag_ = value; bitField0_ |= 0x00000100; onChanged(); return this; } /** + * + * *
      * The channel of the audio where the annotation occurs. For single-channel
      * audio, this field is not populated.
      * 
* * int32 channel_tag = 1; + * * @return This builder for chaining. */ public Builder clearChannelTag() { @@ -2709,41 +3152,62 @@ public Builder clearChannelTag() { private com.google.cloud.contactcenterinsights.v1.AnnotationBoundary annotationStartBoundary_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.contactcenterinsights.v1.AnnotationBoundary, com.google.cloud.contactcenterinsights.v1.AnnotationBoundary.Builder, com.google.cloud.contactcenterinsights.v1.AnnotationBoundaryOrBuilder> annotationStartBoundaryBuilder_; + com.google.cloud.contactcenterinsights.v1.AnnotationBoundary, + com.google.cloud.contactcenterinsights.v1.AnnotationBoundary.Builder, + com.google.cloud.contactcenterinsights.v1.AnnotationBoundaryOrBuilder> + annotationStartBoundaryBuilder_; /** + * + * *
      * The boundary in the conversation where the annotation starts, inclusive.
      * 
* - * .google.cloud.contactcenterinsights.v1.AnnotationBoundary annotation_start_boundary = 4; + * + * .google.cloud.contactcenterinsights.v1.AnnotationBoundary annotation_start_boundary = 4; + * + * * @return Whether the annotationStartBoundary field is set. */ public boolean hasAnnotationStartBoundary() { return ((bitField0_ & 0x00000200) != 0); } /** + * + * *
      * The boundary in the conversation where the annotation starts, inclusive.
      * 
* - * .google.cloud.contactcenterinsights.v1.AnnotationBoundary annotation_start_boundary = 4; + * + * .google.cloud.contactcenterinsights.v1.AnnotationBoundary annotation_start_boundary = 4; + * + * * @return The annotationStartBoundary. */ - public com.google.cloud.contactcenterinsights.v1.AnnotationBoundary getAnnotationStartBoundary() { + public com.google.cloud.contactcenterinsights.v1.AnnotationBoundary + getAnnotationStartBoundary() { if (annotationStartBoundaryBuilder_ == null) { - return annotationStartBoundary_ == null ? com.google.cloud.contactcenterinsights.v1.AnnotationBoundary.getDefaultInstance() : annotationStartBoundary_; + return annotationStartBoundary_ == null + ? com.google.cloud.contactcenterinsights.v1.AnnotationBoundary.getDefaultInstance() + : annotationStartBoundary_; } else { return annotationStartBoundaryBuilder_.getMessage(); } } /** + * + * *
      * The boundary in the conversation where the annotation starts, inclusive.
      * 
* - * .google.cloud.contactcenterinsights.v1.AnnotationBoundary annotation_start_boundary = 4; + * + * .google.cloud.contactcenterinsights.v1.AnnotationBoundary annotation_start_boundary = 4; + * */ - public Builder setAnnotationStartBoundary(com.google.cloud.contactcenterinsights.v1.AnnotationBoundary value) { + public Builder setAnnotationStartBoundary( + com.google.cloud.contactcenterinsights.v1.AnnotationBoundary value) { if (annotationStartBoundaryBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -2757,11 +3221,15 @@ public Builder setAnnotationStartBoundary(com.google.cloud.contactcenterinsights return this; } /** + * + * *
      * The boundary in the conversation where the annotation starts, inclusive.
      * 
* - * .google.cloud.contactcenterinsights.v1.AnnotationBoundary annotation_start_boundary = 4; + * + * .google.cloud.contactcenterinsights.v1.AnnotationBoundary annotation_start_boundary = 4; + * */ public Builder setAnnotationStartBoundary( com.google.cloud.contactcenterinsights.v1.AnnotationBoundary.Builder builderForValue) { @@ -2775,17 +3243,24 @@ public Builder setAnnotationStartBoundary( return this; } /** + * + * *
      * The boundary in the conversation where the annotation starts, inclusive.
      * 
* - * .google.cloud.contactcenterinsights.v1.AnnotationBoundary annotation_start_boundary = 4; + * + * .google.cloud.contactcenterinsights.v1.AnnotationBoundary annotation_start_boundary = 4; + * */ - public Builder mergeAnnotationStartBoundary(com.google.cloud.contactcenterinsights.v1.AnnotationBoundary value) { + public Builder mergeAnnotationStartBoundary( + com.google.cloud.contactcenterinsights.v1.AnnotationBoundary value) { if (annotationStartBoundaryBuilder_ == null) { - if (((bitField0_ & 0x00000200) != 0) && - annotationStartBoundary_ != null && - annotationStartBoundary_ != com.google.cloud.contactcenterinsights.v1.AnnotationBoundary.getDefaultInstance()) { + if (((bitField0_ & 0x00000200) != 0) + && annotationStartBoundary_ != null + && annotationStartBoundary_ + != com.google.cloud.contactcenterinsights.v1.AnnotationBoundary + .getDefaultInstance()) { getAnnotationStartBoundaryBuilder().mergeFrom(value); } else { annotationStartBoundary_ = value; @@ -2798,11 +3273,15 @@ public Builder mergeAnnotationStartBoundary(com.google.cloud.contactcenterinsigh return this; } /** + * + * *
      * The boundary in the conversation where the annotation starts, inclusive.
      * 
* - * .google.cloud.contactcenterinsights.v1.AnnotationBoundary annotation_start_boundary = 4; + * + * .google.cloud.contactcenterinsights.v1.AnnotationBoundary annotation_start_boundary = 4; + * */ public Builder clearAnnotationStartBoundary() { bitField0_ = (bitField0_ & ~0x00000200); @@ -2815,48 +3294,66 @@ public Builder clearAnnotationStartBoundary() { return this; } /** + * + * *
      * The boundary in the conversation where the annotation starts, inclusive.
      * 
* - * .google.cloud.contactcenterinsights.v1.AnnotationBoundary annotation_start_boundary = 4; + * + * .google.cloud.contactcenterinsights.v1.AnnotationBoundary annotation_start_boundary = 4; + * */ - public com.google.cloud.contactcenterinsights.v1.AnnotationBoundary.Builder getAnnotationStartBoundaryBuilder() { + public com.google.cloud.contactcenterinsights.v1.AnnotationBoundary.Builder + getAnnotationStartBoundaryBuilder() { bitField0_ |= 0x00000200; onChanged(); return getAnnotationStartBoundaryFieldBuilder().getBuilder(); } /** + * + * *
      * The boundary in the conversation where the annotation starts, inclusive.
      * 
* - * .google.cloud.contactcenterinsights.v1.AnnotationBoundary annotation_start_boundary = 4; + * + * .google.cloud.contactcenterinsights.v1.AnnotationBoundary annotation_start_boundary = 4; + * */ - public com.google.cloud.contactcenterinsights.v1.AnnotationBoundaryOrBuilder getAnnotationStartBoundaryOrBuilder() { + public com.google.cloud.contactcenterinsights.v1.AnnotationBoundaryOrBuilder + getAnnotationStartBoundaryOrBuilder() { if (annotationStartBoundaryBuilder_ != null) { return annotationStartBoundaryBuilder_.getMessageOrBuilder(); } else { - return annotationStartBoundary_ == null ? - com.google.cloud.contactcenterinsights.v1.AnnotationBoundary.getDefaultInstance() : annotationStartBoundary_; + return annotationStartBoundary_ == null + ? com.google.cloud.contactcenterinsights.v1.AnnotationBoundary.getDefaultInstance() + : annotationStartBoundary_; } } /** + * + * *
      * The boundary in the conversation where the annotation starts, inclusive.
      * 
* - * .google.cloud.contactcenterinsights.v1.AnnotationBoundary annotation_start_boundary = 4; + * + * .google.cloud.contactcenterinsights.v1.AnnotationBoundary annotation_start_boundary = 4; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.contactcenterinsights.v1.AnnotationBoundary, com.google.cloud.contactcenterinsights.v1.AnnotationBoundary.Builder, com.google.cloud.contactcenterinsights.v1.AnnotationBoundaryOrBuilder> + com.google.cloud.contactcenterinsights.v1.AnnotationBoundary, + com.google.cloud.contactcenterinsights.v1.AnnotationBoundary.Builder, + com.google.cloud.contactcenterinsights.v1.AnnotationBoundaryOrBuilder> getAnnotationStartBoundaryFieldBuilder() { if (annotationStartBoundaryBuilder_ == null) { - annotationStartBoundaryBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.contactcenterinsights.v1.AnnotationBoundary, com.google.cloud.contactcenterinsights.v1.AnnotationBoundary.Builder, com.google.cloud.contactcenterinsights.v1.AnnotationBoundaryOrBuilder>( - getAnnotationStartBoundary(), - getParentForChildren(), - isClean()); + annotationStartBoundaryBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.contactcenterinsights.v1.AnnotationBoundary, + com.google.cloud.contactcenterinsights.v1.AnnotationBoundary.Builder, + com.google.cloud.contactcenterinsights.v1.AnnotationBoundaryOrBuilder>( + getAnnotationStartBoundary(), getParentForChildren(), isClean()); annotationStartBoundary_ = null; } return annotationStartBoundaryBuilder_; @@ -2864,41 +3361,58 @@ public com.google.cloud.contactcenterinsights.v1.AnnotationBoundaryOrBuilder get private com.google.cloud.contactcenterinsights.v1.AnnotationBoundary annotationEndBoundary_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.contactcenterinsights.v1.AnnotationBoundary, com.google.cloud.contactcenterinsights.v1.AnnotationBoundary.Builder, com.google.cloud.contactcenterinsights.v1.AnnotationBoundaryOrBuilder> annotationEndBoundaryBuilder_; + com.google.cloud.contactcenterinsights.v1.AnnotationBoundary, + com.google.cloud.contactcenterinsights.v1.AnnotationBoundary.Builder, + com.google.cloud.contactcenterinsights.v1.AnnotationBoundaryOrBuilder> + annotationEndBoundaryBuilder_; /** + * + * *
      * The boundary in the conversation where the annotation ends, inclusive.
      * 
* - * .google.cloud.contactcenterinsights.v1.AnnotationBoundary annotation_end_boundary = 5; + * .google.cloud.contactcenterinsights.v1.AnnotationBoundary annotation_end_boundary = 5; + * + * * @return Whether the annotationEndBoundary field is set. */ public boolean hasAnnotationEndBoundary() { return ((bitField0_ & 0x00000400) != 0); } /** + * + * *
      * The boundary in the conversation where the annotation ends, inclusive.
      * 
* - * .google.cloud.contactcenterinsights.v1.AnnotationBoundary annotation_end_boundary = 5; + * .google.cloud.contactcenterinsights.v1.AnnotationBoundary annotation_end_boundary = 5; + * + * * @return The annotationEndBoundary. */ public com.google.cloud.contactcenterinsights.v1.AnnotationBoundary getAnnotationEndBoundary() { if (annotationEndBoundaryBuilder_ == null) { - return annotationEndBoundary_ == null ? com.google.cloud.contactcenterinsights.v1.AnnotationBoundary.getDefaultInstance() : annotationEndBoundary_; + return annotationEndBoundary_ == null + ? com.google.cloud.contactcenterinsights.v1.AnnotationBoundary.getDefaultInstance() + : annotationEndBoundary_; } else { return annotationEndBoundaryBuilder_.getMessage(); } } /** + * + * *
      * The boundary in the conversation where the annotation ends, inclusive.
      * 
* - * .google.cloud.contactcenterinsights.v1.AnnotationBoundary annotation_end_boundary = 5; + * .google.cloud.contactcenterinsights.v1.AnnotationBoundary annotation_end_boundary = 5; + * */ - public Builder setAnnotationEndBoundary(com.google.cloud.contactcenterinsights.v1.AnnotationBoundary value) { + public Builder setAnnotationEndBoundary( + com.google.cloud.contactcenterinsights.v1.AnnotationBoundary value) { if (annotationEndBoundaryBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -2912,11 +3426,14 @@ public Builder setAnnotationEndBoundary(com.google.cloud.contactcenterinsights.v return this; } /** + * + * *
      * The boundary in the conversation where the annotation ends, inclusive.
      * 
* - * .google.cloud.contactcenterinsights.v1.AnnotationBoundary annotation_end_boundary = 5; + * .google.cloud.contactcenterinsights.v1.AnnotationBoundary annotation_end_boundary = 5; + * */ public Builder setAnnotationEndBoundary( com.google.cloud.contactcenterinsights.v1.AnnotationBoundary.Builder builderForValue) { @@ -2930,17 +3447,23 @@ public Builder setAnnotationEndBoundary( return this; } /** + * + * *
      * The boundary in the conversation where the annotation ends, inclusive.
      * 
* - * .google.cloud.contactcenterinsights.v1.AnnotationBoundary annotation_end_boundary = 5; + * .google.cloud.contactcenterinsights.v1.AnnotationBoundary annotation_end_boundary = 5; + * */ - public Builder mergeAnnotationEndBoundary(com.google.cloud.contactcenterinsights.v1.AnnotationBoundary value) { + public Builder mergeAnnotationEndBoundary( + com.google.cloud.contactcenterinsights.v1.AnnotationBoundary value) { if (annotationEndBoundaryBuilder_ == null) { - if (((bitField0_ & 0x00000400) != 0) && - annotationEndBoundary_ != null && - annotationEndBoundary_ != com.google.cloud.contactcenterinsights.v1.AnnotationBoundary.getDefaultInstance()) { + if (((bitField0_ & 0x00000400) != 0) + && annotationEndBoundary_ != null + && annotationEndBoundary_ + != com.google.cloud.contactcenterinsights.v1.AnnotationBoundary + .getDefaultInstance()) { getAnnotationEndBoundaryBuilder().mergeFrom(value); } else { annotationEndBoundary_ = value; @@ -2953,11 +3476,14 @@ public Builder mergeAnnotationEndBoundary(com.google.cloud.contactcenterinsights return this; } /** + * + * *
      * The boundary in the conversation where the annotation ends, inclusive.
      * 
* - * .google.cloud.contactcenterinsights.v1.AnnotationBoundary annotation_end_boundary = 5; + * .google.cloud.contactcenterinsights.v1.AnnotationBoundary annotation_end_boundary = 5; + * */ public Builder clearAnnotationEndBoundary() { bitField0_ = (bitField0_ & ~0x00000400); @@ -2970,55 +3496,70 @@ public Builder clearAnnotationEndBoundary() { return this; } /** + * + * *
      * The boundary in the conversation where the annotation ends, inclusive.
      * 
* - * .google.cloud.contactcenterinsights.v1.AnnotationBoundary annotation_end_boundary = 5; + * .google.cloud.contactcenterinsights.v1.AnnotationBoundary annotation_end_boundary = 5; + * */ - public com.google.cloud.contactcenterinsights.v1.AnnotationBoundary.Builder getAnnotationEndBoundaryBuilder() { + public com.google.cloud.contactcenterinsights.v1.AnnotationBoundary.Builder + getAnnotationEndBoundaryBuilder() { bitField0_ |= 0x00000400; onChanged(); return getAnnotationEndBoundaryFieldBuilder().getBuilder(); } /** + * + * *
      * The boundary in the conversation where the annotation ends, inclusive.
      * 
* - * .google.cloud.contactcenterinsights.v1.AnnotationBoundary annotation_end_boundary = 5; + * .google.cloud.contactcenterinsights.v1.AnnotationBoundary annotation_end_boundary = 5; + * */ - public com.google.cloud.contactcenterinsights.v1.AnnotationBoundaryOrBuilder getAnnotationEndBoundaryOrBuilder() { + public com.google.cloud.contactcenterinsights.v1.AnnotationBoundaryOrBuilder + getAnnotationEndBoundaryOrBuilder() { if (annotationEndBoundaryBuilder_ != null) { return annotationEndBoundaryBuilder_.getMessageOrBuilder(); } else { - return annotationEndBoundary_ == null ? - com.google.cloud.contactcenterinsights.v1.AnnotationBoundary.getDefaultInstance() : annotationEndBoundary_; + return annotationEndBoundary_ == null + ? com.google.cloud.contactcenterinsights.v1.AnnotationBoundary.getDefaultInstance() + : annotationEndBoundary_; } } /** + * + * *
      * The boundary in the conversation where the annotation ends, inclusive.
      * 
* - * .google.cloud.contactcenterinsights.v1.AnnotationBoundary annotation_end_boundary = 5; + * .google.cloud.contactcenterinsights.v1.AnnotationBoundary annotation_end_boundary = 5; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.contactcenterinsights.v1.AnnotationBoundary, com.google.cloud.contactcenterinsights.v1.AnnotationBoundary.Builder, com.google.cloud.contactcenterinsights.v1.AnnotationBoundaryOrBuilder> + com.google.cloud.contactcenterinsights.v1.AnnotationBoundary, + com.google.cloud.contactcenterinsights.v1.AnnotationBoundary.Builder, + com.google.cloud.contactcenterinsights.v1.AnnotationBoundaryOrBuilder> getAnnotationEndBoundaryFieldBuilder() { if (annotationEndBoundaryBuilder_ == null) { - annotationEndBoundaryBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.contactcenterinsights.v1.AnnotationBoundary, com.google.cloud.contactcenterinsights.v1.AnnotationBoundary.Builder, com.google.cloud.contactcenterinsights.v1.AnnotationBoundaryOrBuilder>( - getAnnotationEndBoundary(), - getParentForChildren(), - isClean()); + annotationEndBoundaryBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.contactcenterinsights.v1.AnnotationBoundary, + com.google.cloud.contactcenterinsights.v1.AnnotationBoundary.Builder, + com.google.cloud.contactcenterinsights.v1.AnnotationBoundaryOrBuilder>( + getAnnotationEndBoundary(), getParentForChildren(), isClean()); annotationEndBoundary_ = null; } return annotationEndBoundaryBuilder_; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -3028,12 +3569,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.contactcenterinsights.v1.CallAnnotation) } // @@protoc_insertion_point(class_scope:google.cloud.contactcenterinsights.v1.CallAnnotation) private static final com.google.cloud.contactcenterinsights.v1.CallAnnotation DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.contactcenterinsights.v1.CallAnnotation(); } @@ -3042,27 +3583,27 @@ public static com.google.cloud.contactcenterinsights.v1.CallAnnotation getDefaul return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public CallAnnotation parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public CallAnnotation parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -3077,6 +3618,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.contactcenterinsights.v1.CallAnnotation getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/CallAnnotationOrBuilder.java b/java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/CallAnnotationOrBuilder.java similarity index 84% rename from owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/CallAnnotationOrBuilder.java rename to java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/CallAnnotationOrBuilder.java index d00ed54f044f..753d4e1bf8de 100644 --- a/owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/CallAnnotationOrBuilder.java +++ b/java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/CallAnnotationOrBuilder.java @@ -1,58 +1,91 @@ +/* + * 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. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/contactcenterinsights/v1/resources.proto package com.google.cloud.contactcenterinsights.v1; -public interface CallAnnotationOrBuilder extends +public interface CallAnnotationOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.contactcenterinsights.v1.CallAnnotation) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Data specifying an interruption.
    * 
* * .google.cloud.contactcenterinsights.v1.InterruptionData interruption_data = 10; + * * @return Whether the interruptionData field is set. */ boolean hasInterruptionData(); /** + * + * *
    * Data specifying an interruption.
    * 
* * .google.cloud.contactcenterinsights.v1.InterruptionData interruption_data = 10; + * * @return The interruptionData. */ com.google.cloud.contactcenterinsights.v1.InterruptionData getInterruptionData(); /** + * + * *
    * Data specifying an interruption.
    * 
* * .google.cloud.contactcenterinsights.v1.InterruptionData interruption_data = 10; */ - com.google.cloud.contactcenterinsights.v1.InterruptionDataOrBuilder getInterruptionDataOrBuilder(); + com.google.cloud.contactcenterinsights.v1.InterruptionDataOrBuilder + getInterruptionDataOrBuilder(); /** + * + * *
    * Data specifying sentiment.
    * 
* * .google.cloud.contactcenterinsights.v1.SentimentData sentiment_data = 11; + * * @return Whether the sentimentData field is set. */ boolean hasSentimentData(); /** + * + * *
    * Data specifying sentiment.
    * 
* * .google.cloud.contactcenterinsights.v1.SentimentData sentiment_data = 11; + * * @return The sentimentData. */ com.google.cloud.contactcenterinsights.v1.SentimentData getSentimentData(); /** + * + * *
    * Data specifying sentiment.
    * 
@@ -62,24 +95,32 @@ public interface CallAnnotationOrBuilder extends com.google.cloud.contactcenterinsights.v1.SentimentDataOrBuilder getSentimentDataOrBuilder(); /** + * + * *
    * Data specifying silence.
    * 
* * .google.cloud.contactcenterinsights.v1.SilenceData silence_data = 12; + * * @return Whether the silenceData field is set. */ boolean hasSilenceData(); /** + * + * *
    * Data specifying silence.
    * 
* * .google.cloud.contactcenterinsights.v1.SilenceData silence_data = 12; + * * @return The silenceData. */ com.google.cloud.contactcenterinsights.v1.SilenceData getSilenceData(); /** + * + * *
    * Data specifying silence.
    * 
@@ -89,24 +130,32 @@ public interface CallAnnotationOrBuilder extends com.google.cloud.contactcenterinsights.v1.SilenceDataOrBuilder getSilenceDataOrBuilder(); /** + * + * *
    * Data specifying a hold.
    * 
* * .google.cloud.contactcenterinsights.v1.HoldData hold_data = 13; + * * @return Whether the holdData field is set. */ boolean hasHoldData(); /** + * + * *
    * Data specifying a hold.
    * 
* * .google.cloud.contactcenterinsights.v1.HoldData hold_data = 13; + * * @return The holdData. */ com.google.cloud.contactcenterinsights.v1.HoldData getHoldData(); /** + * + * *
    * Data specifying a hold.
    * 
@@ -116,51 +165,68 @@ public interface CallAnnotationOrBuilder extends com.google.cloud.contactcenterinsights.v1.HoldDataOrBuilder getHoldDataOrBuilder(); /** + * + * *
    * Data specifying an entity mention.
    * 
* * .google.cloud.contactcenterinsights.v1.EntityMentionData entity_mention_data = 15; + * * @return Whether the entityMentionData field is set. */ boolean hasEntityMentionData(); /** + * + * *
    * Data specifying an entity mention.
    * 
* * .google.cloud.contactcenterinsights.v1.EntityMentionData entity_mention_data = 15; + * * @return The entityMentionData. */ com.google.cloud.contactcenterinsights.v1.EntityMentionData getEntityMentionData(); /** + * + * *
    * Data specifying an entity mention.
    * 
* * .google.cloud.contactcenterinsights.v1.EntityMentionData entity_mention_data = 15; */ - com.google.cloud.contactcenterinsights.v1.EntityMentionDataOrBuilder getEntityMentionDataOrBuilder(); + com.google.cloud.contactcenterinsights.v1.EntityMentionDataOrBuilder + getEntityMentionDataOrBuilder(); /** + * + * *
    * Data specifying an intent match.
    * 
* * .google.cloud.contactcenterinsights.v1.IntentMatchData intent_match_data = 16; + * * @return Whether the intentMatchData field is set. */ boolean hasIntentMatchData(); /** + * + * *
    * Data specifying an intent match.
    * 
* * .google.cloud.contactcenterinsights.v1.IntentMatchData intent_match_data = 16; + * * @return The intentMatchData. */ com.google.cloud.contactcenterinsights.v1.IntentMatchData getIntentMatchData(); /** + * + * *
    * Data specifying an intent match.
    * 
@@ -170,24 +236,32 @@ public interface CallAnnotationOrBuilder extends com.google.cloud.contactcenterinsights.v1.IntentMatchDataOrBuilder getIntentMatchDataOrBuilder(); /** + * + * *
    * Data specifying a phrase match.
    * 
* * .google.cloud.contactcenterinsights.v1.PhraseMatchData phrase_match_data = 17; + * * @return Whether the phraseMatchData field is set. */ boolean hasPhraseMatchData(); /** + * + * *
    * Data specifying a phrase match.
    * 
* * .google.cloud.contactcenterinsights.v1.PhraseMatchData phrase_match_data = 17; + * * @return The phraseMatchData. */ com.google.cloud.contactcenterinsights.v1.PhraseMatchData getPhraseMatchData(); /** + * + * *
    * Data specifying a phrase match.
    * 
@@ -197,24 +271,32 @@ public interface CallAnnotationOrBuilder extends com.google.cloud.contactcenterinsights.v1.PhraseMatchDataOrBuilder getPhraseMatchDataOrBuilder(); /** + * + * *
    * Data specifying an issue match.
    * 
* * .google.cloud.contactcenterinsights.v1.IssueMatchData issue_match_data = 18; + * * @return Whether the issueMatchData field is set. */ boolean hasIssueMatchData(); /** + * + * *
    * Data specifying an issue match.
    * 
* * .google.cloud.contactcenterinsights.v1.IssueMatchData issue_match_data = 18; + * * @return The issueMatchData. */ com.google.cloud.contactcenterinsights.v1.IssueMatchData getIssueMatchData(); /** + * + * *
    * Data specifying an issue match.
    * 
@@ -224,69 +306,96 @@ public interface CallAnnotationOrBuilder extends com.google.cloud.contactcenterinsights.v1.IssueMatchDataOrBuilder getIssueMatchDataOrBuilder(); /** + * + * *
    * The channel of the audio where the annotation occurs. For single-channel
    * audio, this field is not populated.
    * 
* * int32 channel_tag = 1; + * * @return The channelTag. */ int getChannelTag(); /** + * + * *
    * The boundary in the conversation where the annotation starts, inclusive.
    * 
* - * .google.cloud.contactcenterinsights.v1.AnnotationBoundary annotation_start_boundary = 4; + * .google.cloud.contactcenterinsights.v1.AnnotationBoundary annotation_start_boundary = 4; + * + * * @return Whether the annotationStartBoundary field is set. */ boolean hasAnnotationStartBoundary(); /** + * + * *
    * The boundary in the conversation where the annotation starts, inclusive.
    * 
* - * .google.cloud.contactcenterinsights.v1.AnnotationBoundary annotation_start_boundary = 4; + * .google.cloud.contactcenterinsights.v1.AnnotationBoundary annotation_start_boundary = 4; + * + * * @return The annotationStartBoundary. */ com.google.cloud.contactcenterinsights.v1.AnnotationBoundary getAnnotationStartBoundary(); /** + * + * *
    * The boundary in the conversation where the annotation starts, inclusive.
    * 
* - * .google.cloud.contactcenterinsights.v1.AnnotationBoundary annotation_start_boundary = 4; + * .google.cloud.contactcenterinsights.v1.AnnotationBoundary annotation_start_boundary = 4; + * */ - com.google.cloud.contactcenterinsights.v1.AnnotationBoundaryOrBuilder getAnnotationStartBoundaryOrBuilder(); + com.google.cloud.contactcenterinsights.v1.AnnotationBoundaryOrBuilder + getAnnotationStartBoundaryOrBuilder(); /** + * + * *
    * The boundary in the conversation where the annotation ends, inclusive.
    * 
* - * .google.cloud.contactcenterinsights.v1.AnnotationBoundary annotation_end_boundary = 5; + * .google.cloud.contactcenterinsights.v1.AnnotationBoundary annotation_end_boundary = 5; + * + * * @return Whether the annotationEndBoundary field is set. */ boolean hasAnnotationEndBoundary(); /** + * + * *
    * The boundary in the conversation where the annotation ends, inclusive.
    * 
* - * .google.cloud.contactcenterinsights.v1.AnnotationBoundary annotation_end_boundary = 5; + * .google.cloud.contactcenterinsights.v1.AnnotationBoundary annotation_end_boundary = 5; + * + * * @return The annotationEndBoundary. */ com.google.cloud.contactcenterinsights.v1.AnnotationBoundary getAnnotationEndBoundary(); /** + * + * *
    * The boundary in the conversation where the annotation ends, inclusive.
    * 
* - * .google.cloud.contactcenterinsights.v1.AnnotationBoundary annotation_end_boundary = 5; + * .google.cloud.contactcenterinsights.v1.AnnotationBoundary annotation_end_boundary = 5; + * */ - com.google.cloud.contactcenterinsights.v1.AnnotationBoundaryOrBuilder getAnnotationEndBoundaryOrBuilder(); + com.google.cloud.contactcenterinsights.v1.AnnotationBoundaryOrBuilder + getAnnotationEndBoundaryOrBuilder(); public com.google.cloud.contactcenterinsights.v1.CallAnnotation.DataCase getDataCase(); } diff --git a/java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ContactCenterInsightsProto.java b/java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ContactCenterInsightsProto.java new file mode 100644 index 000000000000..2ae1f57f0c49 --- /dev/null +++ b/java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ContactCenterInsightsProto.java @@ -0,0 +1,1436 @@ +/* + * 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. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/contactcenterinsights/v1/contact_center_insights.proto + +package com.google.cloud.contactcenterinsights.v1; + +public final class ContactCenterInsightsProto { + private ContactCenterInsightsProto() {} + + public static void registerAllExtensions(com.google.protobuf.ExtensionRegistryLite registry) {} + + public static void registerAllExtensions(com.google.protobuf.ExtensionRegistry registry) { + registerAllExtensions((com.google.protobuf.ExtensionRegistryLite) registry); + } + + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_contactcenterinsights_v1_CalculateStatsRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_contactcenterinsights_v1_CalculateStatsRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_contactcenterinsights_v1_CalculateStatsResponse_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_contactcenterinsights_v1_CalculateStatsResponse_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_contactcenterinsights_v1_CalculateStatsResponse_TimeSeries_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_contactcenterinsights_v1_CalculateStatsResponse_TimeSeries_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_contactcenterinsights_v1_CalculateStatsResponse_TimeSeries_Interval_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_contactcenterinsights_v1_CalculateStatsResponse_TimeSeries_Interval_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_contactcenterinsights_v1_CalculateStatsResponse_SmartHighlighterMatchesEntry_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_contactcenterinsights_v1_CalculateStatsResponse_SmartHighlighterMatchesEntry_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_contactcenterinsights_v1_CalculateStatsResponse_CustomHighlighterMatchesEntry_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_contactcenterinsights_v1_CalculateStatsResponse_CustomHighlighterMatchesEntry_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_contactcenterinsights_v1_CalculateStatsResponse_IssueMatchesEntry_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_contactcenterinsights_v1_CalculateStatsResponse_IssueMatchesEntry_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_contactcenterinsights_v1_CalculateStatsResponse_IssueMatchesStatsEntry_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_contactcenterinsights_v1_CalculateStatsResponse_IssueMatchesStatsEntry_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_contactcenterinsights_v1_CreateAnalysisOperationMetadata_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_contactcenterinsights_v1_CreateAnalysisOperationMetadata_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_contactcenterinsights_v1_CreateConversationRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_contactcenterinsights_v1_CreateConversationRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_contactcenterinsights_v1_ListConversationsRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_contactcenterinsights_v1_ListConversationsRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_contactcenterinsights_v1_ListConversationsResponse_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_contactcenterinsights_v1_ListConversationsResponse_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_contactcenterinsights_v1_GetConversationRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_contactcenterinsights_v1_GetConversationRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_contactcenterinsights_v1_UpdateConversationRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_contactcenterinsights_v1_UpdateConversationRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_contactcenterinsights_v1_DeleteConversationRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_contactcenterinsights_v1_DeleteConversationRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_contactcenterinsights_v1_IngestConversationsRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_contactcenterinsights_v1_IngestConversationsRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_contactcenterinsights_v1_IngestConversationsRequest_GcsSource_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_contactcenterinsights_v1_IngestConversationsRequest_GcsSource_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_contactcenterinsights_v1_IngestConversationsRequest_TranscriptObjectConfig_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_contactcenterinsights_v1_IngestConversationsRequest_TranscriptObjectConfig_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_contactcenterinsights_v1_IngestConversationsRequest_ConversationConfig_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_contactcenterinsights_v1_IngestConversationsRequest_ConversationConfig_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_contactcenterinsights_v1_IngestConversationsMetadata_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_contactcenterinsights_v1_IngestConversationsMetadata_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_contactcenterinsights_v1_IngestConversationsMetadata_IngestConversationsStats_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_contactcenterinsights_v1_IngestConversationsMetadata_IngestConversationsStats_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_contactcenterinsights_v1_IngestConversationsResponse_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_contactcenterinsights_v1_IngestConversationsResponse_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_contactcenterinsights_v1_CreateAnalysisRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_contactcenterinsights_v1_CreateAnalysisRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_contactcenterinsights_v1_ListAnalysesRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_contactcenterinsights_v1_ListAnalysesRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_contactcenterinsights_v1_ListAnalysesResponse_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_contactcenterinsights_v1_ListAnalysesResponse_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_contactcenterinsights_v1_GetAnalysisRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_contactcenterinsights_v1_GetAnalysisRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_contactcenterinsights_v1_DeleteAnalysisRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_contactcenterinsights_v1_DeleteAnalysisRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_contactcenterinsights_v1_BulkAnalyzeConversationsRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_contactcenterinsights_v1_BulkAnalyzeConversationsRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_contactcenterinsights_v1_BulkAnalyzeConversationsMetadata_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_contactcenterinsights_v1_BulkAnalyzeConversationsMetadata_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_contactcenterinsights_v1_BulkAnalyzeConversationsResponse_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_contactcenterinsights_v1_BulkAnalyzeConversationsResponse_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_contactcenterinsights_v1_ExportInsightsDataRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_contactcenterinsights_v1_ExportInsightsDataRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_contactcenterinsights_v1_ExportInsightsDataRequest_BigQueryDestination_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_contactcenterinsights_v1_ExportInsightsDataRequest_BigQueryDestination_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_contactcenterinsights_v1_ExportInsightsDataMetadata_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_contactcenterinsights_v1_ExportInsightsDataMetadata_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_contactcenterinsights_v1_ExportInsightsDataResponse_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_contactcenterinsights_v1_ExportInsightsDataResponse_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_contactcenterinsights_v1_CreateIssueModelRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_contactcenterinsights_v1_CreateIssueModelRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_contactcenterinsights_v1_CreateIssueModelMetadata_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_contactcenterinsights_v1_CreateIssueModelMetadata_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_contactcenterinsights_v1_UpdateIssueModelRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_contactcenterinsights_v1_UpdateIssueModelRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_contactcenterinsights_v1_ListIssueModelsRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_contactcenterinsights_v1_ListIssueModelsRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_contactcenterinsights_v1_ListIssueModelsResponse_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_contactcenterinsights_v1_ListIssueModelsResponse_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_contactcenterinsights_v1_GetIssueModelRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_contactcenterinsights_v1_GetIssueModelRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_contactcenterinsights_v1_DeleteIssueModelRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_contactcenterinsights_v1_DeleteIssueModelRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_contactcenterinsights_v1_DeleteIssueModelMetadata_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_contactcenterinsights_v1_DeleteIssueModelMetadata_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_contactcenterinsights_v1_DeployIssueModelRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_contactcenterinsights_v1_DeployIssueModelRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_contactcenterinsights_v1_DeployIssueModelResponse_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_contactcenterinsights_v1_DeployIssueModelResponse_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_contactcenterinsights_v1_DeployIssueModelMetadata_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_contactcenterinsights_v1_DeployIssueModelMetadata_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_contactcenterinsights_v1_UndeployIssueModelRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_contactcenterinsights_v1_UndeployIssueModelRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_contactcenterinsights_v1_UndeployIssueModelResponse_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_contactcenterinsights_v1_UndeployIssueModelResponse_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_contactcenterinsights_v1_UndeployIssueModelMetadata_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_contactcenterinsights_v1_UndeployIssueModelMetadata_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_contactcenterinsights_v1_GetIssueRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_contactcenterinsights_v1_GetIssueRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_contactcenterinsights_v1_ListIssuesRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_contactcenterinsights_v1_ListIssuesRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_contactcenterinsights_v1_ListIssuesResponse_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_contactcenterinsights_v1_ListIssuesResponse_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_contactcenterinsights_v1_UpdateIssueRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_contactcenterinsights_v1_UpdateIssueRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_contactcenterinsights_v1_DeleteIssueRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_contactcenterinsights_v1_DeleteIssueRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_contactcenterinsights_v1_CalculateIssueModelStatsRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_contactcenterinsights_v1_CalculateIssueModelStatsRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_contactcenterinsights_v1_CalculateIssueModelStatsResponse_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_contactcenterinsights_v1_CalculateIssueModelStatsResponse_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_contactcenterinsights_v1_CreatePhraseMatcherRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_contactcenterinsights_v1_CreatePhraseMatcherRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_contactcenterinsights_v1_ListPhraseMatchersRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_contactcenterinsights_v1_ListPhraseMatchersRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_contactcenterinsights_v1_ListPhraseMatchersResponse_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_contactcenterinsights_v1_ListPhraseMatchersResponse_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_contactcenterinsights_v1_GetPhraseMatcherRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_contactcenterinsights_v1_GetPhraseMatcherRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_contactcenterinsights_v1_DeletePhraseMatcherRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_contactcenterinsights_v1_DeletePhraseMatcherRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_contactcenterinsights_v1_UpdatePhraseMatcherRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_contactcenterinsights_v1_UpdatePhraseMatcherRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_contactcenterinsights_v1_GetSettingsRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_contactcenterinsights_v1_GetSettingsRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_contactcenterinsights_v1_UpdateSettingsRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_contactcenterinsights_v1_UpdateSettingsRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_contactcenterinsights_v1_CreateViewRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_contactcenterinsights_v1_CreateViewRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_contactcenterinsights_v1_GetViewRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_contactcenterinsights_v1_GetViewRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_contactcenterinsights_v1_ListViewsRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_contactcenterinsights_v1_ListViewsRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_contactcenterinsights_v1_ListViewsResponse_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_contactcenterinsights_v1_ListViewsResponse_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_contactcenterinsights_v1_UpdateViewRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_contactcenterinsights_v1_UpdateViewRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_contactcenterinsights_v1_DeleteViewRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_contactcenterinsights_v1_DeleteViewRequest_fieldAccessorTable; + + public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + return descriptor; + } + + private static com.google.protobuf.Descriptors.FileDescriptor descriptor; + + static { + java.lang.String[] descriptorData = { + "\nCgoogle/cloud/contactcenterinsights/v1/" + + "contact_center_insights.proto\022%google.cl" + + "oud.contactcenterinsights.v1\032\034google/api" + + "/annotations.proto\032\027google/api/client.pr" + + "oto\032\037google/api/field_behavior.proto\032\031go" + + "ogle/api/resource.proto\0325google/cloud/co" + + "ntactcenterinsights/v1/resources.proto\032#" + + "google/longrunning/operations.proto\032\036goo" + + "gle/protobuf/duration.proto\032\033google/prot" + + "obuf/empty.proto\032 google/protobuf/field_" + + "mask.proto\032\037google/protobuf/timestamp.pr" + + "oto\032\027google/rpc/status.proto\"d\n\025Calculat" + + "eStatsRequest\022;\n\010location\030\001 \001(\tB)\340A\002\372A#\n" + + "!locations.googleapis.com/Location\022\016\n\006fi" + + "lter\030\002 \001(\t\"\217\n\n\026CalculateStatsResponse\0223\n" + + "\020average_duration\030\001 \001(\0132\031.google.protobu" + + "f.Duration\022\032\n\022average_turn_count\030\002 \001(\005\022\032" + + "\n\022conversation_count\030\003 \001(\005\022}\n\031smart_high" + + "lighter_matches\030\004 \003(\0132Z.google.cloud.con" + + "tactcenterinsights.v1.CalculateStatsResp" + + "onse.SmartHighlighterMatchesEntry\022\177\n\032cus" + + "tom_highlighter_matches\030\005 \003(\0132[.google.c" + + "loud.contactcenterinsights.v1.CalculateS" + + "tatsResponse.CustomHighlighterMatchesEnt" + + "ry\022j\n\rissue_matches\030\006 \003(\0132O.google.cloud" + + ".contactcenterinsights.v1.CalculateStats" + + "Response.IssueMatchesEntryB\002\030\001\022q\n\023issue_" + + "matches_stats\030\010 \003(\0132T.google.cloud.conta" + + "ctcenterinsights.v1.CalculateStatsRespon" + + "se.IssueMatchesStatsEntry\022p\n\036conversatio" + + "n_count_time_series\030\007 \001(\0132H.google.cloud" + + ".contactcenterinsights.v1.CalculateStats" + + "Response.TimeSeries\032\375\001\n\nTimeSeries\0224\n\021in" + + "terval_duration\030\001 \001(\0132\031.google.protobuf." + + "Duration\022a\n\006points\030\002 \003(\0132Q.google.cloud." + + "contactcenterinsights.v1.CalculateStatsR" + + "esponse.TimeSeries.Interval\032V\n\010Interval\022" + + ".\n\nstart_time\030\001 \001(\0132\032.google.protobuf.Ti" + + "mestamp\022\032\n\022conversation_count\030\002 \001(\005\032>\n\034S" + + "martHighlighterMatchesEntry\022\013\n\003key\030\001 \001(\t" + + "\022\r\n\005value\030\002 \001(\005:\0028\001\032?\n\035CustomHighlighter" + + "MatchesEntry\022\013\n\003key\030\001 \001(\t\022\r\n\005value\030\002 \001(\005" + + ":\0028\001\0323\n\021IssueMatchesEntry\022\013\n\003key\030\001 \001(\t\022\r" + + "\n\005value\030\002 \001(\005:\0028\001\032\200\001\n\026IssueMatchesStatsE" + + "ntry\022\013\n\003key\030\001 \001(\t\022U\n\005value\030\002 \001(\0132F.googl" + + "e.cloud.contactcenterinsights.v1.IssueMo" + + "delLabelStats.IssueStats:\0028\001\"\266\002\n\037CreateA" + + "nalysisOperationMetadata\0224\n\013create_time\030" + + "\001 \001(\0132\032.google.protobuf.TimestampB\003\340A\003\0221" + + "\n\010end_time\030\002 \001(\0132\032.google.protobuf.Times" + + "tampB\003\340A\003\022O\n\014conversation\030\003 \001(\tB9\340A\003\372A3\n" + + "1contactcenterinsights.googleapis.com/Co" + + "nversation\022Y\n\022annotator_selector\030\004 \001(\01328" + + ".google.cloud.contactcenterinsights.v1.A" + + "nnotatorSelectorB\003\340A\003\"\277\001\n\031CreateConversa" + + "tionRequest\0229\n\006parent\030\001 \001(\tB)\340A\002\372A#\n!loc" + + "ations.googleapis.com/Location\022N\n\014conver" + + "sation\030\002 \001(\01323.google.cloud.contactcente" + + "rinsights.v1.ConversationB\003\340A\002\022\027\n\017conver" + + "sation_id\030\003 \001(\t\"\323\001\n\030ListConversationsReq" + + "uest\0229\n\006parent\030\001 \001(\tB)\340A\002\372A#\n!locations." + + "googleapis.com/Location\022\021\n\tpage_size\030\002 \001" + + "(\005\022\022\n\npage_token\030\003 \001(\t\022\016\n\006filter\030\004 \001(\t\022E" + + "\n\004view\030\005 \001(\01627.google.cloud.contactcente" + + "rinsights.v1.ConversationView\"\200\001\n\031ListCo" + + "nversationsResponse\022J\n\rconversations\030\001 \003" + + "(\01323.google.cloud.contactcenterinsights." + + "v1.Conversation\022\027\n\017next_page_token\030\002 \001(\t" + + "\"\250\001\n\026GetConversationRequest\022G\n\004name\030\001 \001(" + + "\tB9\340A\002\372A3\n1contactcenterinsights.googlea" + + "pis.com/Conversation\022E\n\004view\030\002 \001(\01627.goo" + + "gle.cloud.contactcenterinsights.v1.Conve" + + "rsationView\"\234\001\n\031UpdateConversationReques" + + "t\022N\n\014conversation\030\001 \001(\01323.google.cloud.c" + + "ontactcenterinsights.v1.ConversationB\003\340A" + + "\002\022/\n\013update_mask\030\002 \001(\0132\032.google.protobuf" + + ".FieldMask\"s\n\031DeleteConversationRequest\022" + + "G\n\004name\030\001 \001(\tB9\340A\002\372A3\n1contactcenterinsi" + + "ghts.googleapis.com/Conversation\022\r\n\005forc" + + "e\030\002 \001(\010\"\377\004\n\032IngestConversationsRequest\022a" + + "\n\ngcs_source\030\002 \001(\0132K.google.cloud.contac" + + "tcenterinsights.v1.IngestConversationsRe" + + "quest.GcsSourceH\000\022|\n\030transcript_object_c" + + "onfig\030\003 \001(\0132X.google.cloud.contactcenter" + + "insights.v1.IngestConversationsRequest.T" + + "ranscriptObjectConfigH\001\0229\n\006parent\030\001 \001(\tB" + + ")\340A\002\372A#\n!locations.googleapis.com/Locati" + + "on\022q\n\023conversation_config\030\004 \001(\0132T.google" + + ".cloud.contactcenterinsights.v1.IngestCo" + + "nversationsRequest.ConversationConfig\032$\n" + + "\tGcsSource\022\027\n\nbucket_uri\030\001 \001(\tB\003\340A\002\032i\n\026T" + + "ranscriptObjectConfig\022O\n\006medium\030\001 \001(\0162:." + + "google.cloud.contactcenterinsights.v1.Co" + + "nversation.MediumB\003\340A\002\032&\n\022ConversationCo" + + "nfig\022\020\n\010agent_id\030\001 \001(\tB\010\n\006sourceB\017\n\robje" + + "ct_config\"\310\004\n\033IngestConversationsMetadat" + + "a\0224\n\013create_time\030\001 \001(\0132\032.google.protobuf" + + ".TimestampB\003\340A\003\0221\n\010end_time\030\002 \001(\0132\032.goog" + + "le.protobuf.TimestampB\003\340A\003\022W\n\007request\030\003 " + + "\001(\0132A.google.cloud.contactcenterinsights" + + ".v1.IngestConversationsRequestB\003\340A\003\022/\n\016p" + + "artial_errors\030\004 \003(\0132\022.google.rpc.StatusB" + + "\003\340A\003\022\204\001\n\032ingest_conversations_stats\030\005 \001(" + + "\0132[.google.cloud.contactcenterinsights.v" + + "1.IngestConversationsMetadata.IngestConv" + + "ersationsStatsB\003\340A\003\032\256\001\n\030IngestConversati" + + "onsStats\022#\n\026processed_object_count\030\001 \001(\005" + + "B\003\340A\003\022%\n\030duplicates_skipped_count\030\002 \001(\005B" + + "\003\340A\003\022$\n\027successful_ingest_count\030\003 \001(\005B\003\340" + + "A\003\022 \n\023failed_ingest_count\030\004 \001(\005B\003\340A\003\"\035\n\033" + + "IngestConversationsResponse\"\252\001\n\025CreateAn" + + "alysisRequest\022I\n\006parent\030\001 \001(\tB9\340A\002\372A3\n1c" + + "ontactcenterinsights.googleapis.com/Conv" + + "ersation\022F\n\010analysis\030\002 \001(\0132/.google.clou" + + "d.contactcenterinsights.v1.AnalysisB\003\340A\002" + + "\"\227\001\n\023ListAnalysesRequest\022I\n\006parent\030\001 \001(\t" + + "B9\340A\002\372A3\n1contactcenterinsights.googleap" + + "is.com/Conversation\022\021\n\tpage_size\030\002 \001(\005\022\022" + + "\n\npage_token\030\003 \001(\t\022\016\n\006filter\030\004 \001(\t\"r\n\024Li" + + "stAnalysesResponse\022A\n\010analyses\030\001 \003(\0132/.g" + + "oogle.cloud.contactcenterinsights.v1.Ana" + + "lysis\022\027\n\017next_page_token\030\002 \001(\t\"Y\n\022GetAna" + + "lysisRequest\022C\n\004name\030\001 \001(\tB5\340A\002\372A/\n-cont" + + "actcenterinsights.googleapis.com/Analysi" + + "s\"\\\n\025DeleteAnalysisRequest\022C\n\004name\030\001 \001(\t" + + "B5\340A\002\372A/\n-contactcenterinsights.googleap" + + "is.com/Analysis\"\351\001\n\037BulkAnalyzeConversat" + + "ionsRequest\0229\n\006parent\030\001 \001(\tB)\340A\002\372A#\n!loc" + + "ations.googleapis.com/Location\022\023\n\006filter" + + "\030\002 \001(\tB\003\340A\002\022 \n\023analysis_percentage\030\003 \001(\002" + + "B\003\340A\002\022T\n\022annotator_selector\030\010 \001(\01328.goog" + + "le.cloud.contactcenterinsights.v1.Annota" + + "torSelector\"\303\002\n BulkAnalyzeConversations" + + "Metadata\022/\n\013create_time\030\001 \001(\0132\032.google.p" + + "rotobuf.Timestamp\022,\n\010end_time\030\002 \001(\0132\032.go" + + "ogle.protobuf.Timestamp\022W\n\007request\030\003 \001(\013" + + "2F.google.cloud.contactcenterinsights.v1" + + ".BulkAnalyzeConversationsRequest\022 \n\030comp" + + "leted_analyses_count\030\004 \001(\005\022\035\n\025failed_ana" + + "lyses_count\030\005 \001(\005\022&\n\036total_requested_ana" + + "lyses_count\030\006 \001(\005\"d\n BulkAnalyzeConversa" + + "tionsResponse\022!\n\031successful_analysis_cou" + + "nt\030\001 \001(\005\022\035\n\025failed_analysis_count\030\002 \001(\005\"" + + "\230\004\n\031ExportInsightsDataRequest\022u\n\025big_que" + + "ry_destination\030\002 \001(\0132T.google.cloud.cont" + + "actcenterinsights.v1.ExportInsightsDataR" + + "equest.BigQueryDestinationH\000\0229\n\006parent\030\001" + + " \001(\tB)\340A\002\372A#\n!locations.googleapis.com/L" + + "ocation\022\016\n\006filter\030\003 \001(\t\022\017\n\007kms_key\030\004 \001(\t" + + "\022l\n\021write_disposition\030\005 \001(\0162Q.google.clo" + + "ud.contactcenterinsights.v1.ExportInsigh" + + "tsDataRequest.WriteDisposition\032N\n\023BigQue" + + "ryDestination\022\022\n\nproject_id\030\003 \001(\t\022\024\n\007dat" + + "aset\030\001 \001(\tB\003\340A\002\022\r\n\005table\030\002 \001(\t\"[\n\020WriteD" + + "isposition\022!\n\035WRITE_DISPOSITION_UNSPECIF" + + "IED\020\000\022\022\n\016WRITE_TRUNCATE\020\001\022\020\n\014WRITE_APPEN" + + "D\020\002B\r\n\013destination\"\204\002\n\032ExportInsightsDat" + + "aMetadata\0224\n\013create_time\030\001 \001(\0132\032.google." + + "protobuf.TimestampB\003\340A\003\0221\n\010end_time\030\002 \001(" + + "\0132\032.google.protobuf.TimestampB\003\340A\003\022Q\n\007re" + + "quest\030\003 \001(\0132@.google.cloud.contactcenter" + + "insights.v1.ExportInsightsDataRequest\022*\n" + + "\016partial_errors\030\004 \003(\0132\022.google.rpc.Statu" + + "s\"\034\n\032ExportInsightsDataResponse\"\241\001\n\027Crea" + + "teIssueModelRequest\0229\n\006parent\030\001 \001(\tB)\340A\002" + + "\372A#\n!locations.googleapis.com/Location\022K" + + "\n\013issue_model\030\002 \001(\01321.google.cloud.conta" + + "ctcenterinsights.v1.IssueModelB\003\340A\002\"\324\001\n\030" + + "CreateIssueModelMetadata\0224\n\013create_time\030" + + "\001 \001(\0132\032.google.protobuf.TimestampB\003\340A\003\0221" + + "\n\010end_time\030\002 \001(\0132\032.google.protobuf.Times" + + "tampB\003\340A\003\022O\n\007request\030\003 \001(\0132>.google.clou" + + "d.contactcenterinsights.v1.CreateIssueMo" + + "delRequest\"\227\001\n\027UpdateIssueModelRequest\022K" + + "\n\013issue_model\030\001 \001(\01321.google.cloud.conta" + + "ctcenterinsights.v1.IssueModelB\003\340A\002\022/\n\013u" + + "pdate_mask\030\002 \001(\0132\032.google.protobuf.Field" + + "Mask\"S\n\026ListIssueModelsRequest\0229\n\006parent" + + "\030\001 \001(\tB)\340A\002\372A#\n!locations.googleapis.com" + + "/Location\"b\n\027ListIssueModelsResponse\022G\n\014" + + "issue_models\030\001 \003(\01321.google.cloud.contac" + + "tcenterinsights.v1.IssueModel\"]\n\024GetIssu" + + "eModelRequest\022E\n\004name\030\001 \001(\tB7\340A\002\372A1\n/con" + + "tactcenterinsights.googleapis.com/IssueM" + + "odel\"`\n\027DeleteIssueModelRequest\022E\n\004name\030" + + "\001 \001(\tB7\340A\002\372A1\n/contactcenterinsights.goo" + + "gleapis.com/IssueModel\"\324\001\n\030DeleteIssueMo" + + "delMetadata\0224\n\013create_time\030\001 \001(\0132\032.googl" + + "e.protobuf.TimestampB\003\340A\003\0221\n\010end_time\030\002 " + + "\001(\0132\032.google.protobuf.TimestampB\003\340A\003\022O\n\007" + + "request\030\003 \001(\0132>.google.cloud.contactcent" + + "erinsights.v1.DeleteIssueModelRequest\"`\n" + + "\027DeployIssueModelRequest\022E\n\004name\030\001 \001(\tB7" + + "\340A\002\372A1\n/contactcenterinsights.googleapis" + + ".com/IssueModel\"\032\n\030DeployIssueModelRespo" + + "nse\"\324\001\n\030DeployIssueModelMetadata\0224\n\013crea" + + "te_time\030\001 \001(\0132\032.google.protobuf.Timestam" + + "pB\003\340A\003\0221\n\010end_time\030\002 \001(\0132\032.google.protob" + + "uf.TimestampB\003\340A\003\022O\n\007request\030\003 \001(\0132>.goo" + + "gle.cloud.contactcenterinsights.v1.Deplo" + + "yIssueModelRequest\"b\n\031UndeployIssueModel" + + "Request\022E\n\004name\030\001 \001(\tB7\340A\002\372A1\n/contactce" + + "nterinsights.googleapis.com/IssueModel\"\034" + + "\n\032UndeployIssueModelResponse\"\330\001\n\032Undeplo" + + "yIssueModelMetadata\0224\n\013create_time\030\001 \001(\013" + + "2\032.google.protobuf.TimestampB\003\340A\003\0221\n\010end" + + "_time\030\002 \001(\0132\032.google.protobuf.TimestampB" + + "\003\340A\003\022Q\n\007request\030\003 \001(\0132@.google.cloud.con" + + "tactcenterinsights.v1.UndeployIssueModel" + + "Request\"S\n\017GetIssueRequest\022@\n\004name\030\001 \001(\t" + + "B2\340A\002\372A,\n*contactcenterinsights.googleap" + + "is.com/Issue\"\\\n\021ListIssuesRequest\022G\n\006par" + + "ent\030\001 \001(\tB7\340A\002\372A1\n/contactcenterinsights" + + ".googleapis.com/IssueModel\"R\n\022ListIssues" + + "Response\022<\n\006issues\030\001 \003(\0132,.google.cloud." + + "contactcenterinsights.v1.Issue\"\207\001\n\022Updat" + + "eIssueRequest\022@\n\005issue\030\001 \001(\0132,.google.cl" + + "oud.contactcenterinsights.v1.IssueB\003\340A\002\022" + + "/\n\013update_mask\030\002 \001(\0132\032.google.protobuf.F" + + "ieldMask\"V\n\022DeleteIssueRequest\022@\n\004name\030\001" + + " \001(\tB2\340A\002\372A,\n*contactcenterinsights.goog" + + "leapis.com/Issue\"o\n\037CalculateIssueModelS" + + "tatsRequest\022L\n\013issue_model\030\001 \001(\tB7\340A\002\372A1" + + "\n/contactcenterinsights.googleapis.com/I" + + "ssueModel\"v\n CalculateIssueModelStatsRes" + + "ponse\022R\n\rcurrent_stats\030\004 \001(\0132;.google.cl" + + "oud.contactcenterinsights.v1.IssueModelL" + + "abelStats\"\252\001\n\032CreatePhraseMatcherRequest" + + "\0229\n\006parent\030\001 \001(\tB)\340A\002\372A#\n!locations.goog" + + "leapis.com/Location\022Q\n\016phrase_matcher\030\002 " + + "\001(\01324.google.cloud.contactcenterinsights" + + ".v1.PhraseMatcherB\003\340A\002\"\215\001\n\031ListPhraseMat" + + "chersRequest\0229\n\006parent\030\001 \001(\tB)\340A\002\372A#\n!lo" + + "cations.googleapis.com/Location\022\021\n\tpage_" + + "size\030\002 \001(\005\022\022\n\npage_token\030\003 \001(\t\022\016\n\006filter" + + "\030\004 \001(\t\"\204\001\n\032ListPhraseMatchersResponse\022M\n" + + "\017phrase_matchers\030\001 \003(\01324.google.cloud.co" + + "ntactcenterinsights.v1.PhraseMatcher\022\027\n\017" + + "next_page_token\030\002 \001(\t\"c\n\027GetPhraseMatche" + + "rRequest\022H\n\004name\030\001 \001(\tB:\340A\002\372A4\n2contactc" + + "enterinsights.googleapis.com/PhraseMatch" + + "er\"f\n\032DeletePhraseMatcherRequest\022H\n\004name" + + "\030\001 \001(\tB:\340A\002\372A4\n2contactcenterinsights.go" + + "ogleapis.com/PhraseMatcher\"\240\001\n\032UpdatePhr" + + "aseMatcherRequest\022Q\n\016phrase_matcher\030\001 \001(" + + "\01324.google.cloud.contactcenterinsights.v" + + "1.PhraseMatcherB\003\340A\002\022/\n\013update_mask\030\002 \001(" + + "\0132\032.google.protobuf.FieldMask\"Y\n\022GetSett" + + "ingsRequest\022C\n\004name\030\001 \001(\tB5\340A\002\372A/\n-conta" + + "ctcenterinsights.googleapis.com/Settings" + + "\"\225\001\n\025UpdateSettingsRequest\022F\n\010settings\030\001" + + " \001(\0132/.google.cloud.contactcenterinsight" + + "s.v1.SettingsB\003\340A\002\0224\n\013update_mask\030\002 \001(\0132" + + "\032.google.protobuf.FieldMaskB\003\340A\002\"\216\001\n\021Cre" + + "ateViewRequest\0229\n\006parent\030\001 \001(\tB)\340A\002\372A#\n!" + + "locations.googleapis.com/Location\022>\n\004vie" + + "w\030\002 \001(\0132+.google.cloud.contactcenterinsi" + + "ghts.v1.ViewB\003\340A\002\"Q\n\016GetViewRequest\022?\n\004n" + + "ame\030\001 \001(\tB1\340A\002\372A+\n)contactcenterinsights" + + ".googleapis.com/View\"t\n\020ListViewsRequest" + + "\0229\n\006parent\030\001 \001(\tB)\340A\002\372A#\n!locations.goog" + + "leapis.com/Location\022\021\n\tpage_size\030\002 \001(\005\022\022" + + "\n\npage_token\030\003 \001(\t\"h\n\021ListViewsResponse\022" + + ":\n\005views\030\001 \003(\0132+.google.cloud.contactcen" + + "terinsights.v1.View\022\027\n\017next_page_token\030\002" + + " \001(\t\"\204\001\n\021UpdateViewRequest\022>\n\004view\030\001 \001(\013" + + "2+.google.cloud.contactcenterinsights.v1" + + ".ViewB\003\340A\002\022/\n\013update_mask\030\002 \001(\0132\032.google" + + ".protobuf.FieldMask\"T\n\021DeleteViewRequest" + + "\022?\n\004name\030\001 \001(\tB1\340A\002\372A+\n)contactcenterins" + + "ights.googleapis.com/View*J\n\020Conversatio" + + "nView\022!\n\035CONVERSATION_VIEW_UNSPECIFIED\020\000" + + "\022\010\n\004FULL\020\002\022\t\n\005BASIC\020\0012\321@\n\025ContactCenterI" + + "nsights\022\372\001\n\022CreateConversation\022@.google." + + "cloud.contactcenterinsights.v1.CreateCon" + + "versationRequest\0323.google.cloud.contactc" + + "enterinsights.v1.Conversation\"m\202\323\344\223\002A\"1/" + + "v1/{parent=projects/*/locations/*}/conve" + + "rsations:\014conversation\332A#parent,conversa" + + "tion,conversation_id\022\374\001\n\022UpdateConversat" + + "ion\022@.google.cloud.contactcenterinsights" + + ".v1.UpdateConversationRequest\0323.google.c" + + "loud.contactcenterinsights.v1.Conversati" + + "on\"o\202\323\344\223\002N2>/v1/{conversation.name=proje" + + "cts/*/locations/*/conversations/*}:\014conv" + + "ersation\332A\030conversation,update_mask\022\307\001\n\017" + + "GetConversation\022=.google.cloud.contactce" + + "nterinsights.v1.GetConversationRequest\0323" + + ".google.cloud.contactcenterinsights.v1.C" + + "onversation\"@\202\323\344\223\0023\0221/v1/{name=projects/" + + "*/locations/*/conversations/*}\332A\004name\022\332\001" + + "\n\021ListConversations\022?.google.cloud.conta" + + "ctcenterinsights.v1.ListConversationsReq" + + "uest\032@.google.cloud.contactcenterinsight" + + "s.v1.ListConversationsResponse\"B\202\323\344\223\0023\0221" + + "/v1/{parent=projects/*/locations/*}/conv" + + "ersations\332A\006parent\022\260\001\n\022DeleteConversatio" + + "n\022@.google.cloud.contactcenterinsights.v" + + "1.DeleteConversationRequest\032\026.google.pro" + + "tobuf.Empty\"@\202\323\344\223\0023*1/v1/{name=projects/" + + "*/locations/*/conversations/*}\332A\004name\022\376\001" + + "\n\016CreateAnalysis\022<.google.cloud.contactc" + + "enterinsights.v1.CreateAnalysisRequest\032\035" + + ".google.longrunning.Operation\"\216\001\202\323\344\223\002H\"<" + + "/v1/{parent=projects/*/locations/*/conve" + + "rsations/*}/analyses:\010analysis\332A\017parent," + + "analysis\312A+\n\010Analysis\022\037CreateAnalysisOpe" + + "rationMetadata\022\306\001\n\013GetAnalysis\0229.google." + + "cloud.contactcenterinsights.v1.GetAnalys" + + "isRequest\032/.google.cloud.contactcenterin" + + "sights.v1.Analysis\"K\202\323\344\223\002>\022\022*.google.cl" + + "oud.contactcenterinsights.v1.CreateIssue" + + "ModelRequest\032\035.google.longrunning.Operat" + + "ion\"\202\001\202\323\344\223\002>\"//v1/{parent=projects/*/loc" + + "ations/*}/issueModels:\013issue_model\332A\022par" + + "ent,issue_model\312A&\n\nIssueModel\022\030CreateIs" + + "sueModelMetadata\022\361\001\n\020UpdateIssueModel\022>." + + "google.cloud.contactcenterinsights.v1.Up" + + "dateIssueModelRequest\0321.google.cloud.con" + + "tactcenterinsights.v1.IssueModel\"j\202\323\344\223\002J" + + "2;/v1/{issue_model.name=projects/*/locat" + + "ions/*/issueModels/*}:\013issue_model\332A\027iss" + + "ue_model,update_mask\022\277\001\n\rGetIssueModel\022;" + + ".google.cloud.contactcenterinsights.v1.G" + + "etIssueModelRequest\0321.google.cloud.conta" + + "ctcenterinsights.v1.IssueModel\">\202\323\344\223\0021\022/" + + "/v1/{name=projects/*/locations/*/issueMo" + + "dels/*}\332A\004name\022\322\001\n\017ListIssueModels\022=.goo" + + "gle.cloud.contactcenterinsights.v1.ListI" + + "ssueModelsRequest\032>.google.cloud.contact" + + "centerinsights.v1.ListIssueModelsRespons" + + "e\"@\202\323\344\223\0021\022//v1/{parent=projects/*/locati" + + "ons/*}/issueModels\332A\006parent\022\345\001\n\020DeleteIs" + + "sueModel\022>.google.cloud.contactcenterins" + + "ights.v1.DeleteIssueModelRequest\032\035.googl" + + "e.longrunning.Operation\"r\202\323\344\223\0021*//v1/{na" + + "me=projects/*/locations/*/issueModels/*}" + + "\332A\004name\312A1\n\025google.protobuf.Empty\022\030Delet" + + "eIssueModelMetadata\022\362\001\n\020DeployIssueModel" + + "\022>.google.cloud.contactcenterinsights.v1" + + ".DeployIssueModelRequest\032\035.google.longru" + + "nning.Operation\"\177\202\323\344\223\002;\"6/v1/{name=proje" + + "cts/*/locations/*/issueModels/*}:deploy:" + + "\001*\332A\004name\312A4\n\030DeployIssueModelResponse\022\030" + + "DeployIssueModelMetadata\022\375\001\n\022UndeployIss" + + "ueModel\022@.google.cloud.contactcenterinsi" + + "ghts.v1.UndeployIssueModelRequest\032\035.goog" + + "le.longrunning.Operation\"\205\001\202\323\344\223\002=\"8/v1/{" + + "name=projects/*/locations/*/issueModels/" + + "*}:undeploy:\001*\332A\004name\312A8\n\032UndeployIssueM" + + "odelResponse\022\032UndeployIssueModelMetadata" + + "\022\271\001\n\010GetIssue\0226.google.cloud.contactcent" + + "erinsights.v1.GetIssueRequest\032,.google.c" + + "loud.contactcenterinsights.v1.Issue\"G\202\323\344" + + "\223\002:\0228/v1/{name=projects/*/locations/*/is" + + "sueModels/*/issues/*}\332A\004name\022\314\001\n\nListIss" + + "ues\0228.google.cloud.contactcenterinsights" + + ".v1.ListIssuesRequest\0329.google.cloud.con" + + "tactcenterinsights.v1.ListIssuesResponse" + + "\"I\202\323\344\223\002:\0228/v1/{parent=projects/*/locatio" + + "ns/*/issueModels/*}/issues\332A\006parent\022\331\001\n\013" + + "UpdateIssue\0229.google.cloud.contactcenter" + + "insights.v1.UpdateIssueRequest\032,.google." + + "cloud.contactcenterinsights.v1.Issue\"a\202\323" + + "\344\223\002G2>/v1/{issue.name=projects/*/locatio" + + "ns/*/issueModels/*/issues/*}:\005issue\332A\021is" + + "sue,update_mask\022\251\001\n\013DeleteIssue\0229.google", + ".cloud.contactcenterinsights.v1.DeleteIs" + + "sueRequest\032\026.google.protobuf.Empty\"G\202\323\344\223" + + "\002:*8/v1/{name=projects/*/locations/*/iss" + + "ueModels/*/issues/*}\332A\004name\022\222\002\n\030Calculat" + + "eIssueModelStats\022F.google.cloud.contactc" + + "enterinsights.v1.CalculateIssueModelStat" + + "sRequest\032G.google.cloud.contactcenterins" + + "ights.v1.CalculateIssueModelStatsRespons" + + "e\"e\202\323\344\223\002Q\022O/v1/{issue_model=projects/*/l" + + "ocations/*/issueModels/*}:calculateIssue" + + "ModelStats\332A\013issue_model\022\362\001\n\023CreatePhras" + + "eMatcher\022A.google.cloud.contactcenterins" + + "ights.v1.CreatePhraseMatcherRequest\0324.go" + + "ogle.cloud.contactcenterinsights.v1.Phra" + + "seMatcher\"b\202\323\344\223\002D\"2/v1/{parent=projects/" + + "*/locations/*}/phraseMatchers:\016phrase_ma" + + "tcher\332A\025parent,phrase_matcher\022\313\001\n\020GetPhr" + + "aseMatcher\022>.google.cloud.contactcenteri" + + "nsights.v1.GetPhraseMatcherRequest\0324.goo" + + "gle.cloud.contactcenterinsights.v1.Phras" + + "eMatcher\"A\202\323\344\223\0024\0222/v1/{name=projects/*/l" + + "ocations/*/phraseMatchers/*}\332A\004name\022\336\001\n\022" + + "ListPhraseMatchers\022@.google.cloud.contac" + + "tcenterinsights.v1.ListPhraseMatchersReq" + + "uest\032A.google.cloud.contactcenterinsight" + + "s.v1.ListPhraseMatchersResponse\"C\202\323\344\223\0024\022" + + "2/v1/{parent=projects/*/locations/*}/phr" + + "aseMatchers\332A\006parent\022\263\001\n\023DeletePhraseMat" + + "cher\022A.google.cloud.contactcenterinsight" + + "s.v1.DeletePhraseMatcherRequest\032\026.google" + + ".protobuf.Empty\"A\202\323\344\223\0024*2/v1/{name=proje" + + "cts/*/locations/*/phraseMatchers/*}\332A\004na" + + "me\022\206\002\n\023UpdatePhraseMatcher\022A.google.clou" + + "d.contactcenterinsights.v1.UpdatePhraseM" + + "atcherRequest\0324.google.cloud.contactcent" + + "erinsights.v1.PhraseMatcher\"v\202\323\344\223\002S2A/v1" + + "/{phrase_matcher.name=projects/*/locatio" + + "ns/*/phraseMatchers/*}:\016phrase_matcher\332A" + + "\032phrase_matcher,update_mask\022\344\001\n\016Calculat" + + "eStats\022<.google.cloud.contactcenterinsig" + + "hts.v1.CalculateStatsRequest\032=.google.cl" + + "oud.contactcenterinsights.v1.CalculateSt" + + "atsResponse\"U\202\323\344\223\002D\022B/v1/{location=proje" + + "cts/*/locations/*}/conversations:calcula" + + "teStats\332A\010location\022\264\001\n\013GetSettings\0229.goo" + + "gle.cloud.contactcenterinsights.v1.GetSe" + + "ttingsRequest\032/.google.cloud.contactcent" + + "erinsights.v1.Settings\"9\202\323\344\223\002,\022*/v1/{nam" + + "e=projects/*/locations/*/settings}\332A\004nam" + + "e\022\335\001\n\016UpdateSettings\022<.google.cloud.cont" + + "actcenterinsights.v1.UpdateSettingsReque" + + "st\032/.google.cloud.contactcenterinsights." + + "v1.Settings\"\\\202\323\344\223\002?23/v1/{settings.name=" + + "projects/*/locations/*/settings}:\010settin" + + "gs\332A\024settings,update_mask\022\272\001\n\nCreateView" + + "\0228.google.cloud.contactcenterinsights.v1" + + ".CreateViewRequest\032+.google.cloud.contac" + + "tcenterinsights.v1.View\"E\202\323\344\223\0021\")/v1/{pa" + + "rent=projects/*/locations/*}/views:\004view" + + "\332A\013parent,view\022\247\001\n\007GetView\0225.google.clou" + + "d.contactcenterinsights.v1.GetViewReques" + + "t\032+.google.cloud.contactcenterinsights.v" + + "1.View\"8\202\323\344\223\002+\022)/v1/{name=projects/*/loc" + + "ations/*/views/*}\332A\004name\022\272\001\n\tListViews\0227" + + ".google.cloud.contactcenterinsights.v1.L" + + "istViewsRequest\0328.google.cloud.contactce" + + "nterinsights.v1.ListViewsResponse\":\202\323\344\223\002" + + "+\022)/v1/{parent=projects/*/locations/*}/v" + + "iews\332A\006parent\022\304\001\n\nUpdateView\0228.google.cl" + + "oud.contactcenterinsights.v1.UpdateViewR" + + "equest\032+.google.cloud.contactcenterinsig" + + "hts.v1.View\"O\202\323\344\223\00262./v1/{view.name=proj" + + "ects/*/locations/*/views/*}:\004view\332A\020view" + + ",update_mask\022\230\001\n\nDeleteView\0228.google.clo" + + "ud.contactcenterinsights.v1.DeleteViewRe" + + "quest\032\026.google.protobuf.Empty\"8\202\323\344\223\002+*)/" + + "v1/{name=projects/*/locations/*/views/*}" + + "\332A\004name\032X\312A$contactcenterinsights.google" + + "apis.com\322A.https://www.googleapis.com/au" + + "th/cloud-platformB\245\002\n)com.google.cloud.c" + + "ontactcenterinsights.v1B\032ContactCenterIn" + + "sightsProtoP\001Z_cloud.google.com/go/conta" + + "ctcenterinsights/apiv1/contactcenterinsi" + + "ghtspb;contactcenterinsightspb\252\002%Google." + + "Cloud.ContactCenterInsights.V1\312\002%Google\\" + + "Cloud\\ContactCenterInsights\\V1\352\002(Google:" + + ":Cloud::ContactCenterInsights::V1b\006proto" + + "3" + }; + descriptor = + com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( + descriptorData, + new com.google.protobuf.Descriptors.FileDescriptor[] { + com.google.api.AnnotationsProto.getDescriptor(), + com.google.api.ClientProto.getDescriptor(), + com.google.api.FieldBehaviorProto.getDescriptor(), + com.google.api.ResourceProto.getDescriptor(), + com.google.cloud.contactcenterinsights.v1.ResourcesProto.getDescriptor(), + com.google.longrunning.OperationsProto.getDescriptor(), + com.google.protobuf.DurationProto.getDescriptor(), + com.google.protobuf.EmptyProto.getDescriptor(), + com.google.protobuf.FieldMaskProto.getDescriptor(), + com.google.protobuf.TimestampProto.getDescriptor(), + com.google.rpc.StatusProto.getDescriptor(), + }); + internal_static_google_cloud_contactcenterinsights_v1_CalculateStatsRequest_descriptor = + getDescriptor().getMessageTypes().get(0); + internal_static_google_cloud_contactcenterinsights_v1_CalculateStatsRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_contactcenterinsights_v1_CalculateStatsRequest_descriptor, + new java.lang.String[] { + "Location", "Filter", + }); + internal_static_google_cloud_contactcenterinsights_v1_CalculateStatsResponse_descriptor = + getDescriptor().getMessageTypes().get(1); + internal_static_google_cloud_contactcenterinsights_v1_CalculateStatsResponse_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_contactcenterinsights_v1_CalculateStatsResponse_descriptor, + new java.lang.String[] { + "AverageDuration", + "AverageTurnCount", + "ConversationCount", + "SmartHighlighterMatches", + "CustomHighlighterMatches", + "IssueMatches", + "IssueMatchesStats", + "ConversationCountTimeSeries", + }); + internal_static_google_cloud_contactcenterinsights_v1_CalculateStatsResponse_TimeSeries_descriptor = + internal_static_google_cloud_contactcenterinsights_v1_CalculateStatsResponse_descriptor + .getNestedTypes() + .get(0); + internal_static_google_cloud_contactcenterinsights_v1_CalculateStatsResponse_TimeSeries_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_contactcenterinsights_v1_CalculateStatsResponse_TimeSeries_descriptor, + new java.lang.String[] { + "IntervalDuration", "Points", + }); + internal_static_google_cloud_contactcenterinsights_v1_CalculateStatsResponse_TimeSeries_Interval_descriptor = + internal_static_google_cloud_contactcenterinsights_v1_CalculateStatsResponse_TimeSeries_descriptor + .getNestedTypes() + .get(0); + internal_static_google_cloud_contactcenterinsights_v1_CalculateStatsResponse_TimeSeries_Interval_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_contactcenterinsights_v1_CalculateStatsResponse_TimeSeries_Interval_descriptor, + new java.lang.String[] { + "StartTime", "ConversationCount", + }); + internal_static_google_cloud_contactcenterinsights_v1_CalculateStatsResponse_SmartHighlighterMatchesEntry_descriptor = + internal_static_google_cloud_contactcenterinsights_v1_CalculateStatsResponse_descriptor + .getNestedTypes() + .get(1); + internal_static_google_cloud_contactcenterinsights_v1_CalculateStatsResponse_SmartHighlighterMatchesEntry_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_contactcenterinsights_v1_CalculateStatsResponse_SmartHighlighterMatchesEntry_descriptor, + new java.lang.String[] { + "Key", "Value", + }); + internal_static_google_cloud_contactcenterinsights_v1_CalculateStatsResponse_CustomHighlighterMatchesEntry_descriptor = + internal_static_google_cloud_contactcenterinsights_v1_CalculateStatsResponse_descriptor + .getNestedTypes() + .get(2); + internal_static_google_cloud_contactcenterinsights_v1_CalculateStatsResponse_CustomHighlighterMatchesEntry_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_contactcenterinsights_v1_CalculateStatsResponse_CustomHighlighterMatchesEntry_descriptor, + new java.lang.String[] { + "Key", "Value", + }); + internal_static_google_cloud_contactcenterinsights_v1_CalculateStatsResponse_IssueMatchesEntry_descriptor = + internal_static_google_cloud_contactcenterinsights_v1_CalculateStatsResponse_descriptor + .getNestedTypes() + .get(3); + internal_static_google_cloud_contactcenterinsights_v1_CalculateStatsResponse_IssueMatchesEntry_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_contactcenterinsights_v1_CalculateStatsResponse_IssueMatchesEntry_descriptor, + new java.lang.String[] { + "Key", "Value", + }); + internal_static_google_cloud_contactcenterinsights_v1_CalculateStatsResponse_IssueMatchesStatsEntry_descriptor = + internal_static_google_cloud_contactcenterinsights_v1_CalculateStatsResponse_descriptor + .getNestedTypes() + .get(4); + internal_static_google_cloud_contactcenterinsights_v1_CalculateStatsResponse_IssueMatchesStatsEntry_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_contactcenterinsights_v1_CalculateStatsResponse_IssueMatchesStatsEntry_descriptor, + new java.lang.String[] { + "Key", "Value", + }); + internal_static_google_cloud_contactcenterinsights_v1_CreateAnalysisOperationMetadata_descriptor = + getDescriptor().getMessageTypes().get(2); + internal_static_google_cloud_contactcenterinsights_v1_CreateAnalysisOperationMetadata_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_contactcenterinsights_v1_CreateAnalysisOperationMetadata_descriptor, + new java.lang.String[] { + "CreateTime", "EndTime", "Conversation", "AnnotatorSelector", + }); + internal_static_google_cloud_contactcenterinsights_v1_CreateConversationRequest_descriptor = + getDescriptor().getMessageTypes().get(3); + internal_static_google_cloud_contactcenterinsights_v1_CreateConversationRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_contactcenterinsights_v1_CreateConversationRequest_descriptor, + new java.lang.String[] { + "Parent", "Conversation", "ConversationId", + }); + internal_static_google_cloud_contactcenterinsights_v1_ListConversationsRequest_descriptor = + getDescriptor().getMessageTypes().get(4); + internal_static_google_cloud_contactcenterinsights_v1_ListConversationsRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_contactcenterinsights_v1_ListConversationsRequest_descriptor, + new java.lang.String[] { + "Parent", "PageSize", "PageToken", "Filter", "View", + }); + internal_static_google_cloud_contactcenterinsights_v1_ListConversationsResponse_descriptor = + getDescriptor().getMessageTypes().get(5); + internal_static_google_cloud_contactcenterinsights_v1_ListConversationsResponse_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_contactcenterinsights_v1_ListConversationsResponse_descriptor, + new java.lang.String[] { + "Conversations", "NextPageToken", + }); + internal_static_google_cloud_contactcenterinsights_v1_GetConversationRequest_descriptor = + getDescriptor().getMessageTypes().get(6); + internal_static_google_cloud_contactcenterinsights_v1_GetConversationRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_contactcenterinsights_v1_GetConversationRequest_descriptor, + new java.lang.String[] { + "Name", "View", + }); + internal_static_google_cloud_contactcenterinsights_v1_UpdateConversationRequest_descriptor = + getDescriptor().getMessageTypes().get(7); + internal_static_google_cloud_contactcenterinsights_v1_UpdateConversationRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_contactcenterinsights_v1_UpdateConversationRequest_descriptor, + new java.lang.String[] { + "Conversation", "UpdateMask", + }); + internal_static_google_cloud_contactcenterinsights_v1_DeleteConversationRequest_descriptor = + getDescriptor().getMessageTypes().get(8); + internal_static_google_cloud_contactcenterinsights_v1_DeleteConversationRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_contactcenterinsights_v1_DeleteConversationRequest_descriptor, + new java.lang.String[] { + "Name", "Force", + }); + internal_static_google_cloud_contactcenterinsights_v1_IngestConversationsRequest_descriptor = + getDescriptor().getMessageTypes().get(9); + internal_static_google_cloud_contactcenterinsights_v1_IngestConversationsRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_contactcenterinsights_v1_IngestConversationsRequest_descriptor, + new java.lang.String[] { + "GcsSource", + "TranscriptObjectConfig", + "Parent", + "ConversationConfig", + "Source", + "ObjectConfig", + }); + internal_static_google_cloud_contactcenterinsights_v1_IngestConversationsRequest_GcsSource_descriptor = + internal_static_google_cloud_contactcenterinsights_v1_IngestConversationsRequest_descriptor + .getNestedTypes() + .get(0); + internal_static_google_cloud_contactcenterinsights_v1_IngestConversationsRequest_GcsSource_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_contactcenterinsights_v1_IngestConversationsRequest_GcsSource_descriptor, + new java.lang.String[] { + "BucketUri", + }); + internal_static_google_cloud_contactcenterinsights_v1_IngestConversationsRequest_TranscriptObjectConfig_descriptor = + internal_static_google_cloud_contactcenterinsights_v1_IngestConversationsRequest_descriptor + .getNestedTypes() + .get(1); + internal_static_google_cloud_contactcenterinsights_v1_IngestConversationsRequest_TranscriptObjectConfig_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_contactcenterinsights_v1_IngestConversationsRequest_TranscriptObjectConfig_descriptor, + new java.lang.String[] { + "Medium", + }); + internal_static_google_cloud_contactcenterinsights_v1_IngestConversationsRequest_ConversationConfig_descriptor = + internal_static_google_cloud_contactcenterinsights_v1_IngestConversationsRequest_descriptor + .getNestedTypes() + .get(2); + internal_static_google_cloud_contactcenterinsights_v1_IngestConversationsRequest_ConversationConfig_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_contactcenterinsights_v1_IngestConversationsRequest_ConversationConfig_descriptor, + new java.lang.String[] { + "AgentId", + }); + internal_static_google_cloud_contactcenterinsights_v1_IngestConversationsMetadata_descriptor = + getDescriptor().getMessageTypes().get(10); + internal_static_google_cloud_contactcenterinsights_v1_IngestConversationsMetadata_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_contactcenterinsights_v1_IngestConversationsMetadata_descriptor, + new java.lang.String[] { + "CreateTime", "EndTime", "Request", "PartialErrors", "IngestConversationsStats", + }); + internal_static_google_cloud_contactcenterinsights_v1_IngestConversationsMetadata_IngestConversationsStats_descriptor = + internal_static_google_cloud_contactcenterinsights_v1_IngestConversationsMetadata_descriptor + .getNestedTypes() + .get(0); + internal_static_google_cloud_contactcenterinsights_v1_IngestConversationsMetadata_IngestConversationsStats_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_contactcenterinsights_v1_IngestConversationsMetadata_IngestConversationsStats_descriptor, + new java.lang.String[] { + "ProcessedObjectCount", + "DuplicatesSkippedCount", + "SuccessfulIngestCount", + "FailedIngestCount", + }); + internal_static_google_cloud_contactcenterinsights_v1_IngestConversationsResponse_descriptor = + getDescriptor().getMessageTypes().get(11); + internal_static_google_cloud_contactcenterinsights_v1_IngestConversationsResponse_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_contactcenterinsights_v1_IngestConversationsResponse_descriptor, + new java.lang.String[] {}); + internal_static_google_cloud_contactcenterinsights_v1_CreateAnalysisRequest_descriptor = + getDescriptor().getMessageTypes().get(12); + internal_static_google_cloud_contactcenterinsights_v1_CreateAnalysisRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_contactcenterinsights_v1_CreateAnalysisRequest_descriptor, + new java.lang.String[] { + "Parent", "Analysis", + }); + internal_static_google_cloud_contactcenterinsights_v1_ListAnalysesRequest_descriptor = + getDescriptor().getMessageTypes().get(13); + internal_static_google_cloud_contactcenterinsights_v1_ListAnalysesRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_contactcenterinsights_v1_ListAnalysesRequest_descriptor, + new java.lang.String[] { + "Parent", "PageSize", "PageToken", "Filter", + }); + internal_static_google_cloud_contactcenterinsights_v1_ListAnalysesResponse_descriptor = + getDescriptor().getMessageTypes().get(14); + internal_static_google_cloud_contactcenterinsights_v1_ListAnalysesResponse_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_contactcenterinsights_v1_ListAnalysesResponse_descriptor, + new java.lang.String[] { + "Analyses", "NextPageToken", + }); + internal_static_google_cloud_contactcenterinsights_v1_GetAnalysisRequest_descriptor = + getDescriptor().getMessageTypes().get(15); + internal_static_google_cloud_contactcenterinsights_v1_GetAnalysisRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_contactcenterinsights_v1_GetAnalysisRequest_descriptor, + new java.lang.String[] { + "Name", + }); + internal_static_google_cloud_contactcenterinsights_v1_DeleteAnalysisRequest_descriptor = + getDescriptor().getMessageTypes().get(16); + internal_static_google_cloud_contactcenterinsights_v1_DeleteAnalysisRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_contactcenterinsights_v1_DeleteAnalysisRequest_descriptor, + new java.lang.String[] { + "Name", + }); + internal_static_google_cloud_contactcenterinsights_v1_BulkAnalyzeConversationsRequest_descriptor = + getDescriptor().getMessageTypes().get(17); + internal_static_google_cloud_contactcenterinsights_v1_BulkAnalyzeConversationsRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_contactcenterinsights_v1_BulkAnalyzeConversationsRequest_descriptor, + new java.lang.String[] { + "Parent", "Filter", "AnalysisPercentage", "AnnotatorSelector", + }); + internal_static_google_cloud_contactcenterinsights_v1_BulkAnalyzeConversationsMetadata_descriptor = + getDescriptor().getMessageTypes().get(18); + internal_static_google_cloud_contactcenterinsights_v1_BulkAnalyzeConversationsMetadata_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_contactcenterinsights_v1_BulkAnalyzeConversationsMetadata_descriptor, + new java.lang.String[] { + "CreateTime", + "EndTime", + "Request", + "CompletedAnalysesCount", + "FailedAnalysesCount", + "TotalRequestedAnalysesCount", + }); + internal_static_google_cloud_contactcenterinsights_v1_BulkAnalyzeConversationsResponse_descriptor = + getDescriptor().getMessageTypes().get(19); + internal_static_google_cloud_contactcenterinsights_v1_BulkAnalyzeConversationsResponse_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_contactcenterinsights_v1_BulkAnalyzeConversationsResponse_descriptor, + new java.lang.String[] { + "SuccessfulAnalysisCount", "FailedAnalysisCount", + }); + internal_static_google_cloud_contactcenterinsights_v1_ExportInsightsDataRequest_descriptor = + getDescriptor().getMessageTypes().get(20); + internal_static_google_cloud_contactcenterinsights_v1_ExportInsightsDataRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_contactcenterinsights_v1_ExportInsightsDataRequest_descriptor, + new java.lang.String[] { + "BigQueryDestination", + "Parent", + "Filter", + "KmsKey", + "WriteDisposition", + "Destination", + }); + internal_static_google_cloud_contactcenterinsights_v1_ExportInsightsDataRequest_BigQueryDestination_descriptor = + internal_static_google_cloud_contactcenterinsights_v1_ExportInsightsDataRequest_descriptor + .getNestedTypes() + .get(0); + internal_static_google_cloud_contactcenterinsights_v1_ExportInsightsDataRequest_BigQueryDestination_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_contactcenterinsights_v1_ExportInsightsDataRequest_BigQueryDestination_descriptor, + new java.lang.String[] { + "ProjectId", "Dataset", "Table", + }); + internal_static_google_cloud_contactcenterinsights_v1_ExportInsightsDataMetadata_descriptor = + getDescriptor().getMessageTypes().get(21); + internal_static_google_cloud_contactcenterinsights_v1_ExportInsightsDataMetadata_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_contactcenterinsights_v1_ExportInsightsDataMetadata_descriptor, + new java.lang.String[] { + "CreateTime", "EndTime", "Request", "PartialErrors", + }); + internal_static_google_cloud_contactcenterinsights_v1_ExportInsightsDataResponse_descriptor = + getDescriptor().getMessageTypes().get(22); + internal_static_google_cloud_contactcenterinsights_v1_ExportInsightsDataResponse_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_contactcenterinsights_v1_ExportInsightsDataResponse_descriptor, + new java.lang.String[] {}); + internal_static_google_cloud_contactcenterinsights_v1_CreateIssueModelRequest_descriptor = + getDescriptor().getMessageTypes().get(23); + internal_static_google_cloud_contactcenterinsights_v1_CreateIssueModelRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_contactcenterinsights_v1_CreateIssueModelRequest_descriptor, + new java.lang.String[] { + "Parent", "IssueModel", + }); + internal_static_google_cloud_contactcenterinsights_v1_CreateIssueModelMetadata_descriptor = + getDescriptor().getMessageTypes().get(24); + internal_static_google_cloud_contactcenterinsights_v1_CreateIssueModelMetadata_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_contactcenterinsights_v1_CreateIssueModelMetadata_descriptor, + new java.lang.String[] { + "CreateTime", "EndTime", "Request", + }); + internal_static_google_cloud_contactcenterinsights_v1_UpdateIssueModelRequest_descriptor = + getDescriptor().getMessageTypes().get(25); + internal_static_google_cloud_contactcenterinsights_v1_UpdateIssueModelRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_contactcenterinsights_v1_UpdateIssueModelRequest_descriptor, + new java.lang.String[] { + "IssueModel", "UpdateMask", + }); + internal_static_google_cloud_contactcenterinsights_v1_ListIssueModelsRequest_descriptor = + getDescriptor().getMessageTypes().get(26); + internal_static_google_cloud_contactcenterinsights_v1_ListIssueModelsRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_contactcenterinsights_v1_ListIssueModelsRequest_descriptor, + new java.lang.String[] { + "Parent", + }); + internal_static_google_cloud_contactcenterinsights_v1_ListIssueModelsResponse_descriptor = + getDescriptor().getMessageTypes().get(27); + internal_static_google_cloud_contactcenterinsights_v1_ListIssueModelsResponse_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_contactcenterinsights_v1_ListIssueModelsResponse_descriptor, + new java.lang.String[] { + "IssueModels", + }); + internal_static_google_cloud_contactcenterinsights_v1_GetIssueModelRequest_descriptor = + getDescriptor().getMessageTypes().get(28); + internal_static_google_cloud_contactcenterinsights_v1_GetIssueModelRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_contactcenterinsights_v1_GetIssueModelRequest_descriptor, + new java.lang.String[] { + "Name", + }); + internal_static_google_cloud_contactcenterinsights_v1_DeleteIssueModelRequest_descriptor = + getDescriptor().getMessageTypes().get(29); + internal_static_google_cloud_contactcenterinsights_v1_DeleteIssueModelRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_contactcenterinsights_v1_DeleteIssueModelRequest_descriptor, + new java.lang.String[] { + "Name", + }); + internal_static_google_cloud_contactcenterinsights_v1_DeleteIssueModelMetadata_descriptor = + getDescriptor().getMessageTypes().get(30); + internal_static_google_cloud_contactcenterinsights_v1_DeleteIssueModelMetadata_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_contactcenterinsights_v1_DeleteIssueModelMetadata_descriptor, + new java.lang.String[] { + "CreateTime", "EndTime", "Request", + }); + internal_static_google_cloud_contactcenterinsights_v1_DeployIssueModelRequest_descriptor = + getDescriptor().getMessageTypes().get(31); + internal_static_google_cloud_contactcenterinsights_v1_DeployIssueModelRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_contactcenterinsights_v1_DeployIssueModelRequest_descriptor, + new java.lang.String[] { + "Name", + }); + internal_static_google_cloud_contactcenterinsights_v1_DeployIssueModelResponse_descriptor = + getDescriptor().getMessageTypes().get(32); + internal_static_google_cloud_contactcenterinsights_v1_DeployIssueModelResponse_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_contactcenterinsights_v1_DeployIssueModelResponse_descriptor, + new java.lang.String[] {}); + internal_static_google_cloud_contactcenterinsights_v1_DeployIssueModelMetadata_descriptor = + getDescriptor().getMessageTypes().get(33); + internal_static_google_cloud_contactcenterinsights_v1_DeployIssueModelMetadata_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_contactcenterinsights_v1_DeployIssueModelMetadata_descriptor, + new java.lang.String[] { + "CreateTime", "EndTime", "Request", + }); + internal_static_google_cloud_contactcenterinsights_v1_UndeployIssueModelRequest_descriptor = + getDescriptor().getMessageTypes().get(34); + internal_static_google_cloud_contactcenterinsights_v1_UndeployIssueModelRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_contactcenterinsights_v1_UndeployIssueModelRequest_descriptor, + new java.lang.String[] { + "Name", + }); + internal_static_google_cloud_contactcenterinsights_v1_UndeployIssueModelResponse_descriptor = + getDescriptor().getMessageTypes().get(35); + internal_static_google_cloud_contactcenterinsights_v1_UndeployIssueModelResponse_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_contactcenterinsights_v1_UndeployIssueModelResponse_descriptor, + new java.lang.String[] {}); + internal_static_google_cloud_contactcenterinsights_v1_UndeployIssueModelMetadata_descriptor = + getDescriptor().getMessageTypes().get(36); + internal_static_google_cloud_contactcenterinsights_v1_UndeployIssueModelMetadata_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_contactcenterinsights_v1_UndeployIssueModelMetadata_descriptor, + new java.lang.String[] { + "CreateTime", "EndTime", "Request", + }); + internal_static_google_cloud_contactcenterinsights_v1_GetIssueRequest_descriptor = + getDescriptor().getMessageTypes().get(37); + internal_static_google_cloud_contactcenterinsights_v1_GetIssueRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_contactcenterinsights_v1_GetIssueRequest_descriptor, + new java.lang.String[] { + "Name", + }); + internal_static_google_cloud_contactcenterinsights_v1_ListIssuesRequest_descriptor = + getDescriptor().getMessageTypes().get(38); + internal_static_google_cloud_contactcenterinsights_v1_ListIssuesRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_contactcenterinsights_v1_ListIssuesRequest_descriptor, + new java.lang.String[] { + "Parent", + }); + internal_static_google_cloud_contactcenterinsights_v1_ListIssuesResponse_descriptor = + getDescriptor().getMessageTypes().get(39); + internal_static_google_cloud_contactcenterinsights_v1_ListIssuesResponse_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_contactcenterinsights_v1_ListIssuesResponse_descriptor, + new java.lang.String[] { + "Issues", + }); + internal_static_google_cloud_contactcenterinsights_v1_UpdateIssueRequest_descriptor = + getDescriptor().getMessageTypes().get(40); + internal_static_google_cloud_contactcenterinsights_v1_UpdateIssueRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_contactcenterinsights_v1_UpdateIssueRequest_descriptor, + new java.lang.String[] { + "Issue", "UpdateMask", + }); + internal_static_google_cloud_contactcenterinsights_v1_DeleteIssueRequest_descriptor = + getDescriptor().getMessageTypes().get(41); + internal_static_google_cloud_contactcenterinsights_v1_DeleteIssueRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_contactcenterinsights_v1_DeleteIssueRequest_descriptor, + new java.lang.String[] { + "Name", + }); + internal_static_google_cloud_contactcenterinsights_v1_CalculateIssueModelStatsRequest_descriptor = + getDescriptor().getMessageTypes().get(42); + internal_static_google_cloud_contactcenterinsights_v1_CalculateIssueModelStatsRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_contactcenterinsights_v1_CalculateIssueModelStatsRequest_descriptor, + new java.lang.String[] { + "IssueModel", + }); + internal_static_google_cloud_contactcenterinsights_v1_CalculateIssueModelStatsResponse_descriptor = + getDescriptor().getMessageTypes().get(43); + internal_static_google_cloud_contactcenterinsights_v1_CalculateIssueModelStatsResponse_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_contactcenterinsights_v1_CalculateIssueModelStatsResponse_descriptor, + new java.lang.String[] { + "CurrentStats", + }); + internal_static_google_cloud_contactcenterinsights_v1_CreatePhraseMatcherRequest_descriptor = + getDescriptor().getMessageTypes().get(44); + internal_static_google_cloud_contactcenterinsights_v1_CreatePhraseMatcherRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_contactcenterinsights_v1_CreatePhraseMatcherRequest_descriptor, + new java.lang.String[] { + "Parent", "PhraseMatcher", + }); + internal_static_google_cloud_contactcenterinsights_v1_ListPhraseMatchersRequest_descriptor = + getDescriptor().getMessageTypes().get(45); + internal_static_google_cloud_contactcenterinsights_v1_ListPhraseMatchersRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_contactcenterinsights_v1_ListPhraseMatchersRequest_descriptor, + new java.lang.String[] { + "Parent", "PageSize", "PageToken", "Filter", + }); + internal_static_google_cloud_contactcenterinsights_v1_ListPhraseMatchersResponse_descriptor = + getDescriptor().getMessageTypes().get(46); + internal_static_google_cloud_contactcenterinsights_v1_ListPhraseMatchersResponse_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_contactcenterinsights_v1_ListPhraseMatchersResponse_descriptor, + new java.lang.String[] { + "PhraseMatchers", "NextPageToken", + }); + internal_static_google_cloud_contactcenterinsights_v1_GetPhraseMatcherRequest_descriptor = + getDescriptor().getMessageTypes().get(47); + internal_static_google_cloud_contactcenterinsights_v1_GetPhraseMatcherRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_contactcenterinsights_v1_GetPhraseMatcherRequest_descriptor, + new java.lang.String[] { + "Name", + }); + internal_static_google_cloud_contactcenterinsights_v1_DeletePhraseMatcherRequest_descriptor = + getDescriptor().getMessageTypes().get(48); + internal_static_google_cloud_contactcenterinsights_v1_DeletePhraseMatcherRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_contactcenterinsights_v1_DeletePhraseMatcherRequest_descriptor, + new java.lang.String[] { + "Name", + }); + internal_static_google_cloud_contactcenterinsights_v1_UpdatePhraseMatcherRequest_descriptor = + getDescriptor().getMessageTypes().get(49); + internal_static_google_cloud_contactcenterinsights_v1_UpdatePhraseMatcherRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_contactcenterinsights_v1_UpdatePhraseMatcherRequest_descriptor, + new java.lang.String[] { + "PhraseMatcher", "UpdateMask", + }); + internal_static_google_cloud_contactcenterinsights_v1_GetSettingsRequest_descriptor = + getDescriptor().getMessageTypes().get(50); + internal_static_google_cloud_contactcenterinsights_v1_GetSettingsRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_contactcenterinsights_v1_GetSettingsRequest_descriptor, + new java.lang.String[] { + "Name", + }); + internal_static_google_cloud_contactcenterinsights_v1_UpdateSettingsRequest_descriptor = + getDescriptor().getMessageTypes().get(51); + internal_static_google_cloud_contactcenterinsights_v1_UpdateSettingsRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_contactcenterinsights_v1_UpdateSettingsRequest_descriptor, + new java.lang.String[] { + "Settings", "UpdateMask", + }); + internal_static_google_cloud_contactcenterinsights_v1_CreateViewRequest_descriptor = + getDescriptor().getMessageTypes().get(52); + internal_static_google_cloud_contactcenterinsights_v1_CreateViewRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_contactcenterinsights_v1_CreateViewRequest_descriptor, + new java.lang.String[] { + "Parent", "View", + }); + internal_static_google_cloud_contactcenterinsights_v1_GetViewRequest_descriptor = + getDescriptor().getMessageTypes().get(53); + internal_static_google_cloud_contactcenterinsights_v1_GetViewRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_contactcenterinsights_v1_GetViewRequest_descriptor, + new java.lang.String[] { + "Name", + }); + internal_static_google_cloud_contactcenterinsights_v1_ListViewsRequest_descriptor = + getDescriptor().getMessageTypes().get(54); + internal_static_google_cloud_contactcenterinsights_v1_ListViewsRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_contactcenterinsights_v1_ListViewsRequest_descriptor, + new java.lang.String[] { + "Parent", "PageSize", "PageToken", + }); + internal_static_google_cloud_contactcenterinsights_v1_ListViewsResponse_descriptor = + getDescriptor().getMessageTypes().get(55); + internal_static_google_cloud_contactcenterinsights_v1_ListViewsResponse_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_contactcenterinsights_v1_ListViewsResponse_descriptor, + new java.lang.String[] { + "Views", "NextPageToken", + }); + internal_static_google_cloud_contactcenterinsights_v1_UpdateViewRequest_descriptor = + getDescriptor().getMessageTypes().get(56); + internal_static_google_cloud_contactcenterinsights_v1_UpdateViewRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_contactcenterinsights_v1_UpdateViewRequest_descriptor, + new java.lang.String[] { + "View", "UpdateMask", + }); + internal_static_google_cloud_contactcenterinsights_v1_DeleteViewRequest_descriptor = + getDescriptor().getMessageTypes().get(57); + internal_static_google_cloud_contactcenterinsights_v1_DeleteViewRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_contactcenterinsights_v1_DeleteViewRequest_descriptor, + new java.lang.String[] { + "Name", + }); + com.google.protobuf.ExtensionRegistry registry = + com.google.protobuf.ExtensionRegistry.newInstance(); + registry.add(com.google.api.ClientProto.defaultHost); + registry.add(com.google.api.FieldBehaviorProto.fieldBehavior); + registry.add(com.google.api.AnnotationsProto.http); + registry.add(com.google.api.ClientProto.methodSignature); + registry.add(com.google.api.ClientProto.oauthScopes); + registry.add(com.google.api.ResourceProto.resourceReference); + registry.add(com.google.longrunning.OperationsProto.operationInfo); + com.google.protobuf.Descriptors.FileDescriptor.internalUpdateFileDescriptor( + descriptor, registry); + com.google.api.AnnotationsProto.getDescriptor(); + com.google.api.ClientProto.getDescriptor(); + com.google.api.FieldBehaviorProto.getDescriptor(); + com.google.api.ResourceProto.getDescriptor(); + com.google.cloud.contactcenterinsights.v1.ResourcesProto.getDescriptor(); + com.google.longrunning.OperationsProto.getDescriptor(); + com.google.protobuf.DurationProto.getDescriptor(); + com.google.protobuf.EmptyProto.getDescriptor(); + com.google.protobuf.FieldMaskProto.getDescriptor(); + com.google.protobuf.TimestampProto.getDescriptor(); + com.google.rpc.StatusProto.getDescriptor(); + } + + // @@protoc_insertion_point(outer_class_scope) +} diff --git a/owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/Conversation.java b/java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/Conversation.java similarity index 63% rename from owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/Conversation.java rename to java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/Conversation.java index b7ecc6c08702..aef9db736adf 100644 --- a/owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/Conversation.java +++ b/java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/Conversation.java @@ -1,24 +1,42 @@ +/* + * 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. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/contactcenterinsights/v1/resources.proto package com.google.cloud.contactcenterinsights.v1; /** + * + * *
  * The conversation resource.
  * 
* * Protobuf type {@code google.cloud.contactcenterinsights.v1.Conversation} */ -public final class Conversation extends - com.google.protobuf.GeneratedMessageV3 implements +public final class Conversation extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.contactcenterinsights.v1.Conversation) ConversationOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use Conversation.newBuilder() to construct. private Conversation(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private Conversation() { name_ = ""; languageCode_ = ""; @@ -30,53 +48,56 @@ private Conversation() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new Conversation(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.contactcenterinsights.v1.ResourcesProto.internal_static_google_cloud_contactcenterinsights_v1_Conversation_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.contactcenterinsights.v1.ResourcesProto + .internal_static_google_cloud_contactcenterinsights_v1_Conversation_descriptor; } @SuppressWarnings({"rawtypes"}) @java.lang.Override - protected com.google.protobuf.MapField internalGetMapField( - int number) { + protected com.google.protobuf.MapField internalGetMapField(int number) { switch (number) { case 6: return internalGetLabels(); case 18: return internalGetDialogflowIntents(); default: - throw new RuntimeException( - "Invalid map field number: " + number); + throw new RuntimeException("Invalid map field number: " + number); } } + @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.contactcenterinsights.v1.ResourcesProto.internal_static_google_cloud_contactcenterinsights_v1_Conversation_fieldAccessorTable + return com.google.cloud.contactcenterinsights.v1.ResourcesProto + .internal_static_google_cloud_contactcenterinsights_v1_Conversation_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.contactcenterinsights.v1.Conversation.class, com.google.cloud.contactcenterinsights.v1.Conversation.Builder.class); + com.google.cloud.contactcenterinsights.v1.Conversation.class, + com.google.cloud.contactcenterinsights.v1.Conversation.Builder.class); } /** + * + * *
    * Possible media for the conversation.
    * 
* * Protobuf enum {@code google.cloud.contactcenterinsights.v1.Conversation.Medium} */ - public enum Medium - implements com.google.protobuf.ProtocolMessageEnum { + public enum Medium implements com.google.protobuf.ProtocolMessageEnum { /** + * + * *
      * Default value, if unspecified will default to PHONE_CALL.
      * 
@@ -85,6 +106,8 @@ public enum Medium */ MEDIUM_UNSPECIFIED(0), /** + * + * *
      * The format for conversations that took place over the phone.
      * 
@@ -93,6 +116,8 @@ public enum Medium */ PHONE_CALL(1), /** + * + * *
      * The format for conversations that took place over chat.
      * 
@@ -104,6 +129,8 @@ public enum Medium ; /** + * + * *
      * Default value, if unspecified will default to PHONE_CALL.
      * 
@@ -112,6 +139,8 @@ public enum Medium */ public static final int MEDIUM_UNSPECIFIED_VALUE = 0; /** + * + * *
      * The format for conversations that took place over the phone.
      * 
@@ -120,6 +149,8 @@ public enum Medium */ public static final int PHONE_CALL_VALUE = 1; /** + * + * *
      * The format for conversations that took place over chat.
      * 
@@ -128,7 +159,6 @@ public enum Medium */ public static final int CHAT_VALUE = 2; - public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -153,49 +183,51 @@ public static Medium valueOf(int value) { */ public static Medium forNumber(int value) { switch (value) { - case 0: return MEDIUM_UNSPECIFIED; - case 1: return PHONE_CALL; - case 2: return CHAT; - default: return null; + case 0: + return MEDIUM_UNSPECIFIED; + case 1: + return PHONE_CALL; + case 2: + return CHAT; + default: + return null; } } - public static com.google.protobuf.Internal.EnumLiteMap - internalGetValueMap() { + public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() { return internalValueMap; } - private static final com.google.protobuf.Internal.EnumLiteMap< - Medium> internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public Medium findValueByNumber(int number) { - return Medium.forNumber(number); - } - }; - public final com.google.protobuf.Descriptors.EnumValueDescriptor - getValueDescriptor() { + private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public Medium findValueByNumber(int number) { + return Medium.forNumber(number); + } + }; + + public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalStateException( "Can't get the descriptor of an unrecognized enum value."); } return getDescriptor().getValues().get(ordinal()); } - public final com.google.protobuf.Descriptors.EnumDescriptor - getDescriptorForType() { + + public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() { return getDescriptor(); } - public static final com.google.protobuf.Descriptors.EnumDescriptor - getDescriptor() { - return com.google.cloud.contactcenterinsights.v1.Conversation.getDescriptor().getEnumTypes().get(0); + + public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { + return com.google.cloud.contactcenterinsights.v1.Conversation.getDescriptor() + .getEnumTypes() + .get(0); } private static final Medium[] VALUES = values(); - public static Medium valueOf( - com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + public static Medium valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) { if (desc.getType() != getDescriptor()) { - throw new java.lang.IllegalArgumentException( - "EnumValueDescriptor is not for this type."); + throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type."); } if (desc.getIndex() == -1) { return UNRECOGNIZED; @@ -212,82 +244,95 @@ private Medium(int value) { // @@protoc_insertion_point(enum_scope:google.cloud.contactcenterinsights.v1.Conversation.Medium) } - public interface CallMetadataOrBuilder extends + public interface CallMetadataOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.contactcenterinsights.v1.Conversation.CallMetadata) com.google.protobuf.MessageOrBuilder { /** + * + * *
      * The audio channel that contains the customer.
      * 
* * int32 customer_channel = 1; + * * @return The customerChannel. */ int getCustomerChannel(); /** + * + * *
      * The audio channel that contains the agent.
      * 
* * int32 agent_channel = 2; + * * @return The agentChannel. */ int getAgentChannel(); } /** + * + * *
    * Call-specific metadata.
    * 
* * Protobuf type {@code google.cloud.contactcenterinsights.v1.Conversation.CallMetadata} */ - public static final class CallMetadata extends - com.google.protobuf.GeneratedMessageV3 implements + public static final class CallMetadata extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.contactcenterinsights.v1.Conversation.CallMetadata) CallMetadataOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use CallMetadata.newBuilder() to construct. private CallMetadata(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private CallMetadata() { - } + + private CallMetadata() {} @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new CallMetadata(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.contactcenterinsights.v1.ResourcesProto.internal_static_google_cloud_contactcenterinsights_v1_Conversation_CallMetadata_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.contactcenterinsights.v1.ResourcesProto + .internal_static_google_cloud_contactcenterinsights_v1_Conversation_CallMetadata_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.contactcenterinsights.v1.ResourcesProto.internal_static_google_cloud_contactcenterinsights_v1_Conversation_CallMetadata_fieldAccessorTable + return com.google.cloud.contactcenterinsights.v1.ResourcesProto + .internal_static_google_cloud_contactcenterinsights_v1_Conversation_CallMetadata_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.contactcenterinsights.v1.Conversation.CallMetadata.class, com.google.cloud.contactcenterinsights.v1.Conversation.CallMetadata.Builder.class); + com.google.cloud.contactcenterinsights.v1.Conversation.CallMetadata.class, + com.google.cloud.contactcenterinsights.v1.Conversation.CallMetadata.Builder.class); } public static final int CUSTOMER_CHANNEL_FIELD_NUMBER = 1; private int customerChannel_ = 0; /** + * + * *
      * The audio channel that contains the customer.
      * 
* * int32 customer_channel = 1; + * * @return The customerChannel. */ @java.lang.Override @@ -298,11 +343,14 @@ public int getCustomerChannel() { public static final int AGENT_CHANNEL_FIELD_NUMBER = 2; private int agentChannel_ = 0; /** + * + * *
      * The audio channel that contains the agent.
      * 
* * int32 agent_channel = 2; + * * @return The agentChannel. */ @java.lang.Override @@ -311,6 +359,7 @@ public int getAgentChannel() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -322,8 +371,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (customerChannel_ != 0) { output.writeInt32(1, customerChannel_); } @@ -340,12 +388,10 @@ public int getSerializedSize() { size = 0; if (customerChannel_ != 0) { - size += com.google.protobuf.CodedOutputStream - .computeInt32Size(1, customerChannel_); + size += com.google.protobuf.CodedOutputStream.computeInt32Size(1, customerChannel_); } if (agentChannel_ != 0) { - size += com.google.protobuf.CodedOutputStream - .computeInt32Size(2, agentChannel_); + size += com.google.protobuf.CodedOutputStream.computeInt32Size(2, agentChannel_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -355,17 +401,16 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.contactcenterinsights.v1.Conversation.CallMetadata)) { return super.equals(obj); } - com.google.cloud.contactcenterinsights.v1.Conversation.CallMetadata other = (com.google.cloud.contactcenterinsights.v1.Conversation.CallMetadata) obj; + com.google.cloud.contactcenterinsights.v1.Conversation.CallMetadata other = + (com.google.cloud.contactcenterinsights.v1.Conversation.CallMetadata) obj; - if (getCustomerChannel() - != other.getCustomerChannel()) return false; - if (getAgentChannel() - != other.getAgentChannel()) return false; + if (getCustomerChannel() != other.getCustomerChannel()) return false; + if (getAgentChannel() != other.getAgentChannel()) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -387,87 +432,95 @@ public int hashCode() { } public static com.google.cloud.contactcenterinsights.v1.Conversation.CallMetadata parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.contactcenterinsights.v1.Conversation.CallMetadata parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.contactcenterinsights.v1.Conversation.CallMetadata parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.contactcenterinsights.v1.Conversation.CallMetadata parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.contactcenterinsights.v1.Conversation.CallMetadata parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.contactcenterinsights.v1.Conversation.CallMetadata parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.contactcenterinsights.v1.Conversation.CallMetadata parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.contactcenterinsights.v1.Conversation.CallMetadata parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.contactcenterinsights.v1.Conversation.CallMetadata parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.contactcenterinsights.v1.Conversation.CallMetadata parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.contactcenterinsights.v1.Conversation.CallMetadata parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.contactcenterinsights.v1.Conversation.CallMetadata + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.contactcenterinsights.v1.Conversation.CallMetadata parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + + public static com.google.cloud.contactcenterinsights.v1.Conversation.CallMetadata + parseDelimitedFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.contactcenterinsights.v1.Conversation.CallMetadata parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.contactcenterinsights.v1.Conversation.CallMetadata parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.contactcenterinsights.v1.Conversation.CallMetadata prototype) { + + public static Builder newBuilder( + com.google.cloud.contactcenterinsights.v1.Conversation.CallMetadata prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -477,39 +530,42 @@ protected Builder newBuilderForType( return builder; } /** + * + * *
      * Call-specific metadata.
      * 
* * Protobuf type {@code google.cloud.contactcenterinsights.v1.Conversation.CallMetadata} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder + extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.contactcenterinsights.v1.Conversation.CallMetadata) com.google.cloud.contactcenterinsights.v1.Conversation.CallMetadataOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.contactcenterinsights.v1.ResourcesProto.internal_static_google_cloud_contactcenterinsights_v1_Conversation_CallMetadata_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.contactcenterinsights.v1.ResourcesProto + .internal_static_google_cloud_contactcenterinsights_v1_Conversation_CallMetadata_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.contactcenterinsights.v1.ResourcesProto.internal_static_google_cloud_contactcenterinsights_v1_Conversation_CallMetadata_fieldAccessorTable + return com.google.cloud.contactcenterinsights.v1.ResourcesProto + .internal_static_google_cloud_contactcenterinsights_v1_Conversation_CallMetadata_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.contactcenterinsights.v1.Conversation.CallMetadata.class, com.google.cloud.contactcenterinsights.v1.Conversation.CallMetadata.Builder.class); + com.google.cloud.contactcenterinsights.v1.Conversation.CallMetadata.class, + com.google.cloud.contactcenterinsights.v1.Conversation.CallMetadata.Builder.class); } - // Construct using com.google.cloud.contactcenterinsights.v1.Conversation.CallMetadata.newBuilder() - private Builder() { - - } + // Construct using + // com.google.cloud.contactcenterinsights.v1.Conversation.CallMetadata.newBuilder() + private Builder() {} - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -520,14 +576,16 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.contactcenterinsights.v1.ResourcesProto.internal_static_google_cloud_contactcenterinsights_v1_Conversation_CallMetadata_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.contactcenterinsights.v1.ResourcesProto + .internal_static_google_cloud_contactcenterinsights_v1_Conversation_CallMetadata_descriptor; } @java.lang.Override - public com.google.cloud.contactcenterinsights.v1.Conversation.CallMetadata getDefaultInstanceForType() { - return com.google.cloud.contactcenterinsights.v1.Conversation.CallMetadata.getDefaultInstance(); + public com.google.cloud.contactcenterinsights.v1.Conversation.CallMetadata + getDefaultInstanceForType() { + return com.google.cloud.contactcenterinsights.v1.Conversation.CallMetadata + .getDefaultInstance(); } @java.lang.Override @@ -541,13 +599,17 @@ public com.google.cloud.contactcenterinsights.v1.Conversation.CallMetadata build @java.lang.Override public com.google.cloud.contactcenterinsights.v1.Conversation.CallMetadata buildPartial() { - com.google.cloud.contactcenterinsights.v1.Conversation.CallMetadata result = new com.google.cloud.contactcenterinsights.v1.Conversation.CallMetadata(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.cloud.contactcenterinsights.v1.Conversation.CallMetadata result = + new com.google.cloud.contactcenterinsights.v1.Conversation.CallMetadata(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } - private void buildPartial0(com.google.cloud.contactcenterinsights.v1.Conversation.CallMetadata result) { + private void buildPartial0( + com.google.cloud.contactcenterinsights.v1.Conversation.CallMetadata result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { result.customerChannel_ = customerChannel_; @@ -561,46 +623,53 @@ private void buildPartial0(com.google.cloud.contactcenterinsights.v1.Conversatio public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + int index, + java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.contactcenterinsights.v1.Conversation.CallMetadata) { - return mergeFrom((com.google.cloud.contactcenterinsights.v1.Conversation.CallMetadata)other); + return mergeFrom( + (com.google.cloud.contactcenterinsights.v1.Conversation.CallMetadata) other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.google.cloud.contactcenterinsights.v1.Conversation.CallMetadata other) { - if (other == com.google.cloud.contactcenterinsights.v1.Conversation.CallMetadata.getDefaultInstance()) return this; + public Builder mergeFrom( + com.google.cloud.contactcenterinsights.v1.Conversation.CallMetadata other) { + if (other + == com.google.cloud.contactcenterinsights.v1.Conversation.CallMetadata + .getDefaultInstance()) return this; if (other.getCustomerChannel() != 0) { setCustomerChannel(other.getCustomerChannel()); } @@ -633,22 +702,25 @@ public Builder mergeFrom( case 0: done = true; break; - case 8: { - customerChannel_ = input.readInt32(); - bitField0_ |= 0x00000001; - break; - } // case 8 - case 16: { - agentChannel_ = input.readInt32(); - bitField0_ |= 0x00000002; - break; - } // case 16 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 8: + { + customerChannel_ = input.readInt32(); + bitField0_ |= 0x00000001; + break; + } // case 8 + case 16: + { + agentChannel_ = input.readInt32(); + bitField0_ |= 0x00000002; + break; + } // case 16 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -658,15 +730,19 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; - private int customerChannel_ ; + private int customerChannel_; /** + * + * *
        * The audio channel that contains the customer.
        * 
* * int32 customer_channel = 1; + * * @return The customerChannel. */ @java.lang.Override @@ -674,27 +750,33 @@ public int getCustomerChannel() { return customerChannel_; } /** + * + * *
        * The audio channel that contains the customer.
        * 
* * int32 customer_channel = 1; + * * @param value The customerChannel to set. * @return This builder for chaining. */ public Builder setCustomerChannel(int value) { - + customerChannel_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
        * The audio channel that contains the customer.
        * 
* * int32 customer_channel = 1; + * * @return This builder for chaining. */ public Builder clearCustomerChannel() { @@ -704,13 +786,16 @@ public Builder clearCustomerChannel() { return this; } - private int agentChannel_ ; + private int agentChannel_; /** + * + * *
        * The audio channel that contains the agent.
        * 
* * int32 agent_channel = 2; + * * @return The agentChannel. */ @java.lang.Override @@ -718,27 +803,33 @@ public int getAgentChannel() { return agentChannel_; } /** + * + * *
        * The audio channel that contains the agent.
        * 
* * int32 agent_channel = 2; + * * @param value The agentChannel to set. * @return This builder for chaining. */ public Builder setAgentChannel(int value) { - + agentChannel_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** + * + * *
        * The audio channel that contains the agent.
        * 
* * int32 agent_channel = 2; + * * @return This builder for chaining. */ public Builder clearAgentChannel() { @@ -747,6 +838,7 @@ public Builder clearAgentChannel() { onChanged(); return this; } + @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -759,41 +851,44 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.contactcenterinsights.v1.Conversation.CallMetadata) } // @@protoc_insertion_point(class_scope:google.cloud.contactcenterinsights.v1.Conversation.CallMetadata) - private static final com.google.cloud.contactcenterinsights.v1.Conversation.CallMetadata DEFAULT_INSTANCE; + private static final com.google.cloud.contactcenterinsights.v1.Conversation.CallMetadata + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.contactcenterinsights.v1.Conversation.CallMetadata(); } - public static com.google.cloud.contactcenterinsights.v1.Conversation.CallMetadata getDefaultInstance() { + public static com.google.cloud.contactcenterinsights.v1.Conversation.CallMetadata + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public CallMetadata parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public CallMetadata parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException() + .setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -805,128 +900,167 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.cloud.contactcenterinsights.v1.Conversation.CallMetadata getDefaultInstanceForType() { + public com.google.cloud.contactcenterinsights.v1.Conversation.CallMetadata + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - public interface TranscriptOrBuilder extends + public interface TranscriptOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.contactcenterinsights.v1.Conversation.Transcript) com.google.protobuf.MessageOrBuilder { /** + * + * *
      * A list of sequential transcript segments that comprise the conversation.
      * 
* - * repeated .google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment transcript_segments = 1; + * + * repeated .google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment transcript_segments = 1; + * */ - java.util.List + java.util.List< + com.google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment> getTranscriptSegmentsList(); /** + * + * *
      * A list of sequential transcript segments that comprise the conversation.
      * 
* - * repeated .google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment transcript_segments = 1; + * + * repeated .google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment transcript_segments = 1; + * */ - com.google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment getTranscriptSegments(int index); + com.google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment + getTranscriptSegments(int index); /** + * + * *
      * A list of sequential transcript segments that comprise the conversation.
      * 
* - * repeated .google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment transcript_segments = 1; + * + * repeated .google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment transcript_segments = 1; + * */ int getTranscriptSegmentsCount(); /** + * + * *
      * A list of sequential transcript segments that comprise the conversation.
      * 
* - * repeated .google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment transcript_segments = 1; + * + * repeated .google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment transcript_segments = 1; + * */ - java.util.List + java.util.List< + ? extends + com.google.cloud.contactcenterinsights.v1.Conversation.Transcript + .TranscriptSegmentOrBuilder> getTranscriptSegmentsOrBuilderList(); /** + * + * *
      * A list of sequential transcript segments that comprise the conversation.
      * 
* - * repeated .google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment transcript_segments = 1; + * + * repeated .google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment transcript_segments = 1; + * */ - com.google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegmentOrBuilder getTranscriptSegmentsOrBuilder( - int index); + com.google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegmentOrBuilder + getTranscriptSegmentsOrBuilder(int index); } /** + * + * *
    * A message representing the transcript of a conversation.
    * 
* * Protobuf type {@code google.cloud.contactcenterinsights.v1.Conversation.Transcript} */ - public static final class Transcript extends - com.google.protobuf.GeneratedMessageV3 implements + public static final class Transcript extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.contactcenterinsights.v1.Conversation.Transcript) TranscriptOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use Transcript.newBuilder() to construct. private Transcript(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private Transcript() { transcriptSegments_ = java.util.Collections.emptyList(); } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new Transcript(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.contactcenterinsights.v1.ResourcesProto.internal_static_google_cloud_contactcenterinsights_v1_Conversation_Transcript_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.contactcenterinsights.v1.ResourcesProto + .internal_static_google_cloud_contactcenterinsights_v1_Conversation_Transcript_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.contactcenterinsights.v1.ResourcesProto.internal_static_google_cloud_contactcenterinsights_v1_Conversation_Transcript_fieldAccessorTable + return com.google.cloud.contactcenterinsights.v1.ResourcesProto + .internal_static_google_cloud_contactcenterinsights_v1_Conversation_Transcript_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.contactcenterinsights.v1.Conversation.Transcript.class, com.google.cloud.contactcenterinsights.v1.Conversation.Transcript.Builder.class); + com.google.cloud.contactcenterinsights.v1.Conversation.Transcript.class, + com.google.cloud.contactcenterinsights.v1.Conversation.Transcript.Builder.class); } - public interface TranscriptSegmentOrBuilder extends + public interface TranscriptSegmentOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment) com.google.protobuf.MessageOrBuilder { /** + * + * *
        * The time that the message occurred, if provided.
        * 
* * .google.protobuf.Timestamp message_time = 6; + * * @return Whether the messageTime field is set. */ boolean hasMessageTime(); /** + * + * *
        * The time that the message occurred, if provided.
        * 
* * .google.protobuf.Timestamp message_time = 6; + * * @return The messageTime. */ com.google.protobuf.Timestamp getMessageTime(); /** + * + * *
        * The time that the message occurred, if provided.
        * 
@@ -936,81 +1070,118 @@ public interface TranscriptSegmentOrBuilder extends com.google.protobuf.TimestampOrBuilder getMessageTimeOrBuilder(); /** + * + * *
        * The text of this segment.
        * 
* * string text = 1; + * * @return The text. */ java.lang.String getText(); /** + * + * *
        * The text of this segment.
        * 
* * string text = 1; + * * @return The bytes for text. */ - com.google.protobuf.ByteString - getTextBytes(); + com.google.protobuf.ByteString getTextBytes(); /** + * + * *
        * A confidence estimate between 0.0 and 1.0 of the fidelity of this
        * segment. A default value of 0.0 indicates that the value is unset.
        * 
* * float confidence = 2; + * * @return The confidence. */ float getConfidence(); /** + * + * *
        * A list of the word-specific information for each word in the segment.
        * 
* - * repeated .google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment.WordInfo words = 3; + * + * repeated .google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment.WordInfo words = 3; + * */ - java.util.List + java.util.List< + com.google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment + .WordInfo> getWordsList(); /** + * + * *
        * A list of the word-specific information for each word in the segment.
        * 
* - * repeated .google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment.WordInfo words = 3; + * + * repeated .google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment.WordInfo words = 3; + * */ - com.google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment.WordInfo getWords(int index); + com.google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment.WordInfo + getWords(int index); /** + * + * *
        * A list of the word-specific information for each word in the segment.
        * 
* - * repeated .google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment.WordInfo words = 3; + * + * repeated .google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment.WordInfo words = 3; + * */ int getWordsCount(); /** + * + * *
        * A list of the word-specific information for each word in the segment.
        * 
* - * repeated .google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment.WordInfo words = 3; + * + * repeated .google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment.WordInfo words = 3; + * */ - java.util.List + java.util.List< + ? extends + com.google.cloud.contactcenterinsights.v1.Conversation.Transcript + .TranscriptSegment.WordInfoOrBuilder> getWordsOrBuilderList(); /** + * + * *
        * A list of the word-specific information for each word in the segment.
        * 
* - * repeated .google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment.WordInfo words = 3; + * + * repeated .google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment.WordInfo words = 3; + * */ - com.google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment.WordInfoOrBuilder getWordsOrBuilder( - int index); + com.google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment + .WordInfoOrBuilder + getWordsOrBuilder(int index); /** + * + * *
        * The language code of this segment as a
        * [BCP-47](https://www.rfc-editor.org/rfc/bcp/bcp47.txt) language tag.
@@ -1018,10 +1189,13 @@ com.google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegm
        * 
* * string language_code = 4; + * * @return The languageCode. */ java.lang.String getLanguageCode(); /** + * + * *
        * The language code of this segment as a
        * [BCP-47](https://www.rfc-editor.org/rfc/bcp/bcp47.txt) language tag.
@@ -1029,12 +1203,14 @@ com.google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegm
        * 
* * string language_code = 4; + * * @return The bytes for languageCode. */ - com.google.protobuf.ByteString - getLanguageCodeBytes(); + com.google.protobuf.ByteString getLanguageCodeBytes(); /** + * + * *
        * For conversations derived from multi-channel audio, this is the channel
        * number corresponding to the audio from that channel. For
@@ -1043,83 +1219,125 @@ com.google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegm
        * 
* * int32 channel_tag = 5; + * * @return The channelTag. */ int getChannelTag(); /** + * + * *
        * The participant of this segment.
        * 
* - * .google.cloud.contactcenterinsights.v1.ConversationParticipant segment_participant = 9; + * + * .google.cloud.contactcenterinsights.v1.ConversationParticipant segment_participant = 9; + * + * * @return Whether the segmentParticipant field is set. */ boolean hasSegmentParticipant(); /** + * + * *
        * The participant of this segment.
        * 
* - * .google.cloud.contactcenterinsights.v1.ConversationParticipant segment_participant = 9; + * + * .google.cloud.contactcenterinsights.v1.ConversationParticipant segment_participant = 9; + * + * * @return The segmentParticipant. */ com.google.cloud.contactcenterinsights.v1.ConversationParticipant getSegmentParticipant(); /** + * + * *
        * The participant of this segment.
        * 
* - * .google.cloud.contactcenterinsights.v1.ConversationParticipant segment_participant = 9; + * + * .google.cloud.contactcenterinsights.v1.ConversationParticipant segment_participant = 9; + * */ - com.google.cloud.contactcenterinsights.v1.ConversationParticipantOrBuilder getSegmentParticipantOrBuilder(); + com.google.cloud.contactcenterinsights.v1.ConversationParticipantOrBuilder + getSegmentParticipantOrBuilder(); /** + * + * *
        * CCAI metadata relating to the current transcript segment.
        * 
* - * .google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment.DialogflowSegmentMetadata dialogflow_segment_metadata = 10; + * + * .google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment.DialogflowSegmentMetadata dialogflow_segment_metadata = 10; + * + * * @return Whether the dialogflowSegmentMetadata field is set. */ boolean hasDialogflowSegmentMetadata(); /** + * + * *
        * CCAI metadata relating to the current transcript segment.
        * 
* - * .google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment.DialogflowSegmentMetadata dialogflow_segment_metadata = 10; + * + * .google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment.DialogflowSegmentMetadata dialogflow_segment_metadata = 10; + * + * * @return The dialogflowSegmentMetadata. */ - com.google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment.DialogflowSegmentMetadata getDialogflowSegmentMetadata(); + com.google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment + .DialogflowSegmentMetadata + getDialogflowSegmentMetadata(); /** + * + * *
        * CCAI metadata relating to the current transcript segment.
        * 
* - * .google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment.DialogflowSegmentMetadata dialogflow_segment_metadata = 10; + * + * .google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment.DialogflowSegmentMetadata dialogflow_segment_metadata = 10; + * */ - com.google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment.DialogflowSegmentMetadataOrBuilder getDialogflowSegmentMetadataOrBuilder(); + com.google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment + .DialogflowSegmentMetadataOrBuilder + getDialogflowSegmentMetadataOrBuilder(); /** + * + * *
        * The sentiment for this transcript segment.
        * 
* * .google.cloud.contactcenterinsights.v1.SentimentData sentiment = 11; + * * @return Whether the sentiment field is set. */ boolean hasSentiment(); /** + * + * *
        * The sentiment for this transcript segment.
        * 
* * .google.cloud.contactcenterinsights.v1.SentimentData sentiment = 11; + * * @return The sentiment. */ com.google.cloud.contactcenterinsights.v1.SentimentData getSentiment(); /** + * + * *
        * The sentiment for this transcript segment.
        * 
@@ -1129,21 +1347,25 @@ com.google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegm com.google.cloud.contactcenterinsights.v1.SentimentDataOrBuilder getSentimentOrBuilder(); } /** + * + * *
      * A segment of a full transcript.
      * 
* - * Protobuf type {@code google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment} + * Protobuf type {@code + * google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment} */ - public static final class TranscriptSegment extends - com.google.protobuf.GeneratedMessageV3 implements + public static final class TranscriptSegment extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment) TranscriptSegmentOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use TranscriptSegment.newBuilder() to construct. private TranscriptSegment(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private TranscriptSegment() { text_ = ""; words_ = java.util.Collections.emptyList(); @@ -1152,54 +1374,66 @@ private TranscriptSegment() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new TranscriptSegment(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.contactcenterinsights.v1.ResourcesProto.internal_static_google_cloud_contactcenterinsights_v1_Conversation_Transcript_TranscriptSegment_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.contactcenterinsights.v1.ResourcesProto + .internal_static_google_cloud_contactcenterinsights_v1_Conversation_Transcript_TranscriptSegment_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.contactcenterinsights.v1.ResourcesProto.internal_static_google_cloud_contactcenterinsights_v1_Conversation_Transcript_TranscriptSegment_fieldAccessorTable + return com.google.cloud.contactcenterinsights.v1.ResourcesProto + .internal_static_google_cloud_contactcenterinsights_v1_Conversation_Transcript_TranscriptSegment_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment.class, com.google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment.Builder.class); + com.google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment + .class, + com.google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment + .Builder.class); } - public interface WordInfoOrBuilder extends + public interface WordInfoOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment.WordInfo) com.google.protobuf.MessageOrBuilder { /** + * + * *
          * Time offset of the start of this word relative to the beginning of
          * the total conversation.
          * 
* * .google.protobuf.Duration start_offset = 1; + * * @return Whether the startOffset field is set. */ boolean hasStartOffset(); /** + * + * *
          * Time offset of the start of this word relative to the beginning of
          * the total conversation.
          * 
* * .google.protobuf.Duration start_offset = 1; + * * @return The startOffset. */ com.google.protobuf.Duration getStartOffset(); /** + * + * *
          * Time offset of the start of this word relative to the beginning of
          * the total conversation.
@@ -1210,26 +1444,34 @@ public interface WordInfoOrBuilder extends
         com.google.protobuf.DurationOrBuilder getStartOffsetOrBuilder();
 
         /**
+         *
+         *
          * 
          * Time offset of the end of this word relative to the beginning of the
          * total conversation.
          * 
* * .google.protobuf.Duration end_offset = 2; + * * @return Whether the endOffset field is set. */ boolean hasEndOffset(); /** + * + * *
          * Time offset of the end of this word relative to the beginning of the
          * total conversation.
          * 
* * .google.protobuf.Duration end_offset = 2; + * * @return The endOffset. */ com.google.protobuf.Duration getEndOffset(); /** + * + * *
          * Time offset of the end of this word relative to the beginning of the
          * total conversation.
@@ -1240,90 +1482,108 @@ public interface WordInfoOrBuilder extends
         com.google.protobuf.DurationOrBuilder getEndOffsetOrBuilder();
 
         /**
+         *
+         *
          * 
          * The word itself. Includes punctuation marks that surround the word.
          * 
* * string word = 3; + * * @return The word. */ java.lang.String getWord(); /** + * + * *
          * The word itself. Includes punctuation marks that surround the word.
          * 
* * string word = 3; + * * @return The bytes for word. */ - com.google.protobuf.ByteString - getWordBytes(); + com.google.protobuf.ByteString getWordBytes(); /** + * + * *
          * A confidence estimate between 0.0 and 1.0 of the fidelity of this
          * word. A default value of 0.0 indicates that the value is unset.
          * 
* * float confidence = 4; + * * @return The confidence. */ float getConfidence(); } /** + * + * *
        * Word-level info for words in a transcript.
        * 
* - * Protobuf type {@code google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment.WordInfo} + * Protobuf type {@code + * google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment.WordInfo} */ - public static final class WordInfo extends - com.google.protobuf.GeneratedMessageV3 implements + public static final class WordInfo extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment.WordInfo) WordInfoOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use WordInfo.newBuilder() to construct. private WordInfo(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private WordInfo() { word_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new WordInfo(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.contactcenterinsights.v1.ResourcesProto.internal_static_google_cloud_contactcenterinsights_v1_Conversation_Transcript_TranscriptSegment_WordInfo_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.contactcenterinsights.v1.ResourcesProto + .internal_static_google_cloud_contactcenterinsights_v1_Conversation_Transcript_TranscriptSegment_WordInfo_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.contactcenterinsights.v1.ResourcesProto.internal_static_google_cloud_contactcenterinsights_v1_Conversation_Transcript_TranscriptSegment_WordInfo_fieldAccessorTable + return com.google.cloud.contactcenterinsights.v1.ResourcesProto + .internal_static_google_cloud_contactcenterinsights_v1_Conversation_Transcript_TranscriptSegment_WordInfo_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment.WordInfo.class, com.google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment.WordInfo.Builder.class); + com.google.cloud.contactcenterinsights.v1.Conversation.Transcript + .TranscriptSegment.WordInfo.class, + com.google.cloud.contactcenterinsights.v1.Conversation.Transcript + .TranscriptSegment.WordInfo.Builder.class); } public static final int START_OFFSET_FIELD_NUMBER = 1; private com.google.protobuf.Duration startOffset_; /** + * + * *
          * Time offset of the start of this word relative to the beginning of
          * the total conversation.
          * 
* * .google.protobuf.Duration start_offset = 1; + * * @return Whether the startOffset field is set. */ @java.lang.Override @@ -1331,19 +1591,26 @@ public boolean hasStartOffset() { return startOffset_ != null; } /** + * + * *
          * Time offset of the start of this word relative to the beginning of
          * the total conversation.
          * 
* * .google.protobuf.Duration start_offset = 1; + * * @return The startOffset. */ @java.lang.Override public com.google.protobuf.Duration getStartOffset() { - return startOffset_ == null ? com.google.protobuf.Duration.getDefaultInstance() : startOffset_; + return startOffset_ == null + ? com.google.protobuf.Duration.getDefaultInstance() + : startOffset_; } /** + * + * *
          * Time offset of the start of this word relative to the beginning of
          * the total conversation.
@@ -1353,18 +1620,23 @@ public com.google.protobuf.Duration getStartOffset() {
          */
         @java.lang.Override
         public com.google.protobuf.DurationOrBuilder getStartOffsetOrBuilder() {
-          return startOffset_ == null ? com.google.protobuf.Duration.getDefaultInstance() : startOffset_;
+          return startOffset_ == null
+              ? com.google.protobuf.Duration.getDefaultInstance()
+              : startOffset_;
         }
 
         public static final int END_OFFSET_FIELD_NUMBER = 2;
         private com.google.protobuf.Duration endOffset_;
         /**
+         *
+         *
          * 
          * Time offset of the end of this word relative to the beginning of the
          * total conversation.
          * 
* * .google.protobuf.Duration end_offset = 2; + * * @return Whether the endOffset field is set. */ @java.lang.Override @@ -1372,19 +1644,26 @@ public boolean hasEndOffset() { return endOffset_ != null; } /** + * + * *
          * Time offset of the end of this word relative to the beginning of the
          * total conversation.
          * 
* * .google.protobuf.Duration end_offset = 2; + * * @return The endOffset. */ @java.lang.Override public com.google.protobuf.Duration getEndOffset() { - return endOffset_ == null ? com.google.protobuf.Duration.getDefaultInstance() : endOffset_; + return endOffset_ == null + ? com.google.protobuf.Duration.getDefaultInstance() + : endOffset_; } /** + * + * *
          * Time offset of the end of this word relative to the beginning of the
          * total conversation.
@@ -1394,18 +1673,24 @@ public com.google.protobuf.Duration getEndOffset() {
          */
         @java.lang.Override
         public com.google.protobuf.DurationOrBuilder getEndOffsetOrBuilder() {
-          return endOffset_ == null ? com.google.protobuf.Duration.getDefaultInstance() : endOffset_;
+          return endOffset_ == null
+              ? com.google.protobuf.Duration.getDefaultInstance()
+              : endOffset_;
         }
 
         public static final int WORD_FIELD_NUMBER = 3;
+
         @SuppressWarnings("serial")
         private volatile java.lang.Object word_ = "";
         /**
+         *
+         *
          * 
          * The word itself. Includes punctuation marks that surround the word.
          * 
* * string word = 3; + * * @return The word. */ @java.lang.Override @@ -1414,29 +1699,29 @@ public java.lang.String getWord() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); word_ = s; return s; } } /** + * + * *
          * The word itself. Includes punctuation marks that surround the word.
          * 
* * string word = 3; + * * @return The bytes for word. */ @java.lang.Override - public com.google.protobuf.ByteString - getWordBytes() { + public com.google.protobuf.ByteString getWordBytes() { java.lang.Object ref = word_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); word_ = b; return b; } else { @@ -1447,12 +1732,15 @@ public java.lang.String getWord() { public static final int CONFIDENCE_FIELD_NUMBER = 4; private float confidence_ = 0F; /** + * + * *
          * A confidence estimate between 0.0 and 1.0 of the fidelity of this
          * word. A default value of 0.0 indicates that the value is unset.
          * 
* * float confidence = 4; + * * @return The confidence. */ @java.lang.Override @@ -1461,6 +1749,7 @@ public float getConfidence() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -1473,7 +1762,7 @@ public final boolean isInitialized() { @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + throws java.io.IOException { if (startOffset_ != null) { output.writeMessage(1, getStartOffset()); } @@ -1496,19 +1785,16 @@ public int getSerializedSize() { size = 0; if (startOffset_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, getStartOffset()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getStartOffset()); } if (endOffset_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, getEndOffset()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getEndOffset()); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(word_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, word_); } if (java.lang.Float.floatToRawIntBits(confidence_) != 0) { - size += com.google.protobuf.CodedOutputStream - .computeFloatSize(4, confidence_); + size += com.google.protobuf.CodedOutputStream.computeFloatSize(4, confidence_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -1518,28 +1804,32 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } - if (!(obj instanceof com.google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment.WordInfo)) { + if (!(obj + instanceof + com.google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment + .WordInfo)) { return super.equals(obj); } - com.google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment.WordInfo other = (com.google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment.WordInfo) obj; + com.google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment + .WordInfo + other = + (com.google.cloud.contactcenterinsights.v1.Conversation.Transcript + .TranscriptSegment.WordInfo) + obj; if (hasStartOffset() != other.hasStartOffset()) return false; if (hasStartOffset()) { - if (!getStartOffset() - .equals(other.getStartOffset())) return false; + if (!getStartOffset().equals(other.getStartOffset())) return false; } if (hasEndOffset() != other.hasEndOffset()) return false; if (hasEndOffset()) { - if (!getEndOffset() - .equals(other.getEndOffset())) return false; + if (!getEndOffset().equals(other.getEndOffset())) return false; } - if (!getWord() - .equals(other.getWord())) return false; + if (!getWord().equals(other.getWord())) return false; if (java.lang.Float.floatToIntBits(getConfidence()) - != java.lang.Float.floatToIntBits( - other.getConfidence())) return false; + != java.lang.Float.floatToIntBits(other.getConfidence())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -1562,95 +1852,125 @@ public int hashCode() { hash = (37 * hash) + WORD_FIELD_NUMBER; hash = (53 * hash) + getWord().hashCode(); hash = (37 * hash) + CONFIDENCE_FIELD_NUMBER; - hash = (53 * hash) + java.lang.Float.floatToIntBits( - getConfidence()); + hash = (53 * hash) + java.lang.Float.floatToIntBits(getConfidence()); hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } - public static com.google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment.WordInfo parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.contactcenterinsights.v1.Conversation.Transcript + .TranscriptSegment.WordInfo + parseFrom(java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment.WordInfo parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.contactcenterinsights.v1.Conversation.Transcript + .TranscriptSegment.WordInfo + parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment.WordInfo parseFrom( - com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.contactcenterinsights.v1.Conversation.Transcript + .TranscriptSegment.WordInfo + parseFrom(com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment.WordInfo parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.contactcenterinsights.v1.Conversation.Transcript + .TranscriptSegment.WordInfo + parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment.WordInfo parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.contactcenterinsights.v1.Conversation.Transcript + .TranscriptSegment.WordInfo + parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment.WordInfo parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.contactcenterinsights.v1.Conversation.Transcript + .TranscriptSegment.WordInfo + parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment.WordInfo parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.contactcenterinsights.v1.Conversation.Transcript + .TranscriptSegment.WordInfo + parseFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } - public static com.google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment.WordInfo parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + + public static com.google.cloud.contactcenterinsights.v1.Conversation.Transcript + .TranscriptSegment.WordInfo + parseFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment.WordInfo parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.contactcenterinsights.v1.Conversation.Transcript + .TranscriptSegment.WordInfo + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input); } - public static com.google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment.WordInfo parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + + public static com.google.cloud.contactcenterinsights.v1.Conversation.Transcript + .TranscriptSegment.WordInfo + parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment.WordInfo parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.contactcenterinsights.v1.Conversation.Transcript + .TranscriptSegment.WordInfo + parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } - public static com.google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment.WordInfo parseFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + + public static com.google.cloud.contactcenterinsights.v1.Conversation.Transcript + .TranscriptSegment.WordInfo + parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment.WordInfo prototype) { + + public static Builder newBuilder( + com.google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment + .WordInfo + prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -1660,39 +1980,46 @@ protected Builder newBuilderForType( return builder; } /** + * + * *
          * Word-level info for words in a transcript.
          * 
* - * Protobuf type {@code google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment.WordInfo} + * Protobuf type {@code + * google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment.WordInfo} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder + extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment.WordInfo) - com.google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment.WordInfoOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.contactcenterinsights.v1.ResourcesProto.internal_static_google_cloud_contactcenterinsights_v1_Conversation_Transcript_TranscriptSegment_WordInfo_descriptor; + com.google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment + .WordInfoOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.contactcenterinsights.v1.ResourcesProto + .internal_static_google_cloud_contactcenterinsights_v1_Conversation_Transcript_TranscriptSegment_WordInfo_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.contactcenterinsights.v1.ResourcesProto.internal_static_google_cloud_contactcenterinsights_v1_Conversation_Transcript_TranscriptSegment_WordInfo_fieldAccessorTable + return com.google.cloud.contactcenterinsights.v1.ResourcesProto + .internal_static_google_cloud_contactcenterinsights_v1_Conversation_Transcript_TranscriptSegment_WordInfo_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment.WordInfo.class, com.google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment.WordInfo.Builder.class); + com.google.cloud.contactcenterinsights.v1.Conversation.Transcript + .TranscriptSegment.WordInfo.class, + com.google.cloud.contactcenterinsights.v1.Conversation.Transcript + .TranscriptSegment.WordInfo.Builder.class); } - // Construct using com.google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment.WordInfo.newBuilder() - private Builder() { - - } + // Construct using + // com.google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment.WordInfo.newBuilder() + private Builder() {} - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -1713,19 +2040,26 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.contactcenterinsights.v1.ResourcesProto.internal_static_google_cloud_contactcenterinsights_v1_Conversation_Transcript_TranscriptSegment_WordInfo_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.contactcenterinsights.v1.ResourcesProto + .internal_static_google_cloud_contactcenterinsights_v1_Conversation_Transcript_TranscriptSegment_WordInfo_descriptor; } @java.lang.Override - public com.google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment.WordInfo getDefaultInstanceForType() { - return com.google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment.WordInfo.getDefaultInstance(); + public com.google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment + .WordInfo + getDefaultInstanceForType() { + return com.google.cloud.contactcenterinsights.v1.Conversation.Transcript + .TranscriptSegment.WordInfo.getDefaultInstance(); } @java.lang.Override - public com.google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment.WordInfo build() { - com.google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment.WordInfo result = buildPartial(); + public com.google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment + .WordInfo + build() { + com.google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment + .WordInfo + result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } @@ -1733,24 +2067,33 @@ public com.google.cloud.contactcenterinsights.v1.Conversation.Transcript.Transcr } @java.lang.Override - public com.google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment.WordInfo buildPartial() { - com.google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment.WordInfo result = new com.google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment.WordInfo(this); - if (bitField0_ != 0) { buildPartial0(result); } + public com.google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment + .WordInfo + buildPartial() { + com.google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment + .WordInfo + result = + new com.google.cloud.contactcenterinsights.v1.Conversation.Transcript + .TranscriptSegment.WordInfo(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } - private void buildPartial0(com.google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment.WordInfo result) { + private void buildPartial0( + com.google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment + .WordInfo + result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { - result.startOffset_ = startOffsetBuilder_ == null - ? startOffset_ - : startOffsetBuilder_.build(); + result.startOffset_ = + startOffsetBuilder_ == null ? startOffset_ : startOffsetBuilder_.build(); } if (((from_bitField0_ & 0x00000002) != 0)) { - result.endOffset_ = endOffsetBuilder_ == null - ? endOffset_ - : endOffsetBuilder_.build(); + result.endOffset_ = + endOffsetBuilder_ == null ? endOffset_ : endOffsetBuilder_.build(); } if (((from_bitField0_ & 0x00000004) != 0)) { result.word_ = word_; @@ -1764,46 +2107,60 @@ private void buildPartial0(com.google.cloud.contactcenterinsights.v1.Conversatio public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + int index, + java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { - if (other instanceof com.google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment.WordInfo) { - return mergeFrom((com.google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment.WordInfo)other); + if (other + instanceof + com.google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment + .WordInfo) { + return mergeFrom( + (com.google.cloud.contactcenterinsights.v1.Conversation.Transcript + .TranscriptSegment.WordInfo) + other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment.WordInfo other) { - if (other == com.google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment.WordInfo.getDefaultInstance()) return this; + public Builder mergeFrom( + com.google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment + .WordInfo + other) { + if (other + == com.google.cloud.contactcenterinsights.v1.Conversation.Transcript + .TranscriptSegment.WordInfo.getDefaultInstance()) return this; if (other.hasStartOffset()) { mergeStartOffset(other.getStartOffset()); } @@ -1835,45 +2192,47 @@ public Builder mergeFrom( throws java.io.IOException { if (extensionRegistry == null) { throw new java.lang.NullPointerException(); - } - try { - boolean done = false; - while (!done) { - int tag = input.readTag(); - switch (tag) { - case 0: - done = true; - break; - case 10: { - input.readMessage( - getStartOffsetFieldBuilder().getBuilder(), - extensionRegistry); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: { - input.readMessage( - getEndOffsetFieldBuilder().getBuilder(), - extensionRegistry); - bitField0_ |= 0x00000002; - break; - } // case 18 - case 26: { - word_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000004; - break; - } // case 26 - case 37: { - confidence_ = input.readFloat(); - bitField0_ |= 0x00000008; - break; - } // case 37 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } + } + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; break; - } // default: + case 10: + { + input.readMessage( + getStartOffsetFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: + { + input.readMessage(getEndOffsetFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000002; + break; + } // case 18 + case 26: + { + word_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000004; + break; + } // case 26 + case 37: + { + confidence_ = input.readFloat(); + bitField0_ |= 0x00000008; + break; + } // case 37 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -1883,40 +2242,54 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private com.google.protobuf.Duration startOffset_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder> startOffsetBuilder_; + com.google.protobuf.Duration, + com.google.protobuf.Duration.Builder, + com.google.protobuf.DurationOrBuilder> + startOffsetBuilder_; /** + * + * *
            * Time offset of the start of this word relative to the beginning of
            * the total conversation.
            * 
* * .google.protobuf.Duration start_offset = 1; + * * @return Whether the startOffset field is set. */ public boolean hasStartOffset() { return ((bitField0_ & 0x00000001) != 0); } /** + * + * *
            * Time offset of the start of this word relative to the beginning of
            * the total conversation.
            * 
* * .google.protobuf.Duration start_offset = 1; + * * @return The startOffset. */ public com.google.protobuf.Duration getStartOffset() { if (startOffsetBuilder_ == null) { - return startOffset_ == null ? com.google.protobuf.Duration.getDefaultInstance() : startOffset_; + return startOffset_ == null + ? com.google.protobuf.Duration.getDefaultInstance() + : startOffset_; } else { return startOffsetBuilder_.getMessage(); } } /** + * + * *
            * Time offset of the start of this word relative to the beginning of
            * the total conversation.
@@ -1938,6 +2311,8 @@ public Builder setStartOffset(com.google.protobuf.Duration value) {
             return this;
           }
           /**
+           *
+           *
            * 
            * Time offset of the start of this word relative to the beginning of
            * the total conversation.
@@ -1945,8 +2320,7 @@ public Builder setStartOffset(com.google.protobuf.Duration value) {
            *
            * .google.protobuf.Duration start_offset = 1;
            */
-          public Builder setStartOffset(
-              com.google.protobuf.Duration.Builder builderForValue) {
+          public Builder setStartOffset(com.google.protobuf.Duration.Builder builderForValue) {
             if (startOffsetBuilder_ == null) {
               startOffset_ = builderForValue.build();
             } else {
@@ -1957,6 +2331,8 @@ public Builder setStartOffset(
             return this;
           }
           /**
+           *
+           *
            * 
            * Time offset of the start of this word relative to the beginning of
            * the total conversation.
@@ -1966,9 +2342,9 @@ public Builder setStartOffset(
            */
           public Builder mergeStartOffset(com.google.protobuf.Duration value) {
             if (startOffsetBuilder_ == null) {
-              if (((bitField0_ & 0x00000001) != 0) &&
-                startOffset_ != null &&
-                startOffset_ != com.google.protobuf.Duration.getDefaultInstance()) {
+              if (((bitField0_ & 0x00000001) != 0)
+                  && startOffset_ != null
+                  && startOffset_ != com.google.protobuf.Duration.getDefaultInstance()) {
                 getStartOffsetBuilder().mergeFrom(value);
               } else {
                 startOffset_ = value;
@@ -1981,6 +2357,8 @@ public Builder mergeStartOffset(com.google.protobuf.Duration value) {
             return this;
           }
           /**
+           *
+           *
            * 
            * Time offset of the start of this word relative to the beginning of
            * the total conversation.
@@ -1999,6 +2377,8 @@ public Builder clearStartOffset() {
             return this;
           }
           /**
+           *
+           *
            * 
            * Time offset of the start of this word relative to the beginning of
            * the total conversation.
@@ -2012,6 +2392,8 @@ public com.google.protobuf.Duration.Builder getStartOffsetBuilder() {
             return getStartOffsetFieldBuilder().getBuilder();
           }
           /**
+           *
+           *
            * 
            * Time offset of the start of this word relative to the beginning of
            * the total conversation.
@@ -2023,11 +2405,14 @@ public com.google.protobuf.DurationOrBuilder getStartOffsetOrBuilder() {
             if (startOffsetBuilder_ != null) {
               return startOffsetBuilder_.getMessageOrBuilder();
             } else {
-              return startOffset_ == null ?
-                  com.google.protobuf.Duration.getDefaultInstance() : startOffset_;
+              return startOffset_ == null
+                  ? com.google.protobuf.Duration.getDefaultInstance()
+                  : startOffset_;
             }
           }
           /**
+           *
+           *
            * 
            * Time offset of the start of this word relative to the beginning of
            * the total conversation.
@@ -2036,14 +2421,17 @@ public com.google.protobuf.DurationOrBuilder getStartOffsetOrBuilder() {
            * .google.protobuf.Duration start_offset = 1;
            */
           private com.google.protobuf.SingleFieldBuilderV3<
-              com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder> 
+                  com.google.protobuf.Duration,
+                  com.google.protobuf.Duration.Builder,
+                  com.google.protobuf.DurationOrBuilder>
               getStartOffsetFieldBuilder() {
             if (startOffsetBuilder_ == null) {
-              startOffsetBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-                  com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder>(
-                      getStartOffset(),
-                      getParentForChildren(),
-                      isClean());
+              startOffsetBuilder_ =
+                  new com.google.protobuf.SingleFieldBuilderV3<
+                      com.google.protobuf.Duration,
+                      com.google.protobuf.Duration.Builder,
+                      com.google.protobuf.DurationOrBuilder>(
+                      getStartOffset(), getParentForChildren(), isClean());
               startOffset_ = null;
             }
             return startOffsetBuilder_;
@@ -2051,36 +2439,49 @@ public com.google.protobuf.DurationOrBuilder getStartOffsetOrBuilder() {
 
           private com.google.protobuf.Duration endOffset_;
           private com.google.protobuf.SingleFieldBuilderV3<
-              com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder> endOffsetBuilder_;
+                  com.google.protobuf.Duration,
+                  com.google.protobuf.Duration.Builder,
+                  com.google.protobuf.DurationOrBuilder>
+              endOffsetBuilder_;
           /**
+           *
+           *
            * 
            * Time offset of the end of this word relative to the beginning of the
            * total conversation.
            * 
* * .google.protobuf.Duration end_offset = 2; + * * @return Whether the endOffset field is set. */ public boolean hasEndOffset() { return ((bitField0_ & 0x00000002) != 0); } /** + * + * *
            * Time offset of the end of this word relative to the beginning of the
            * total conversation.
            * 
* * .google.protobuf.Duration end_offset = 2; + * * @return The endOffset. */ public com.google.protobuf.Duration getEndOffset() { if (endOffsetBuilder_ == null) { - return endOffset_ == null ? com.google.protobuf.Duration.getDefaultInstance() : endOffset_; + return endOffset_ == null + ? com.google.protobuf.Duration.getDefaultInstance() + : endOffset_; } else { return endOffsetBuilder_.getMessage(); } } /** + * + * *
            * Time offset of the end of this word relative to the beginning of the
            * total conversation.
@@ -2102,6 +2503,8 @@ public Builder setEndOffset(com.google.protobuf.Duration value) {
             return this;
           }
           /**
+           *
+           *
            * 
            * Time offset of the end of this word relative to the beginning of the
            * total conversation.
@@ -2109,8 +2512,7 @@ public Builder setEndOffset(com.google.protobuf.Duration value) {
            *
            * .google.protobuf.Duration end_offset = 2;
            */
-          public Builder setEndOffset(
-              com.google.protobuf.Duration.Builder builderForValue) {
+          public Builder setEndOffset(com.google.protobuf.Duration.Builder builderForValue) {
             if (endOffsetBuilder_ == null) {
               endOffset_ = builderForValue.build();
             } else {
@@ -2121,6 +2523,8 @@ public Builder setEndOffset(
             return this;
           }
           /**
+           *
+           *
            * 
            * Time offset of the end of this word relative to the beginning of the
            * total conversation.
@@ -2130,9 +2534,9 @@ public Builder setEndOffset(
            */
           public Builder mergeEndOffset(com.google.protobuf.Duration value) {
             if (endOffsetBuilder_ == null) {
-              if (((bitField0_ & 0x00000002) != 0) &&
-                endOffset_ != null &&
-                endOffset_ != com.google.protobuf.Duration.getDefaultInstance()) {
+              if (((bitField0_ & 0x00000002) != 0)
+                  && endOffset_ != null
+                  && endOffset_ != com.google.protobuf.Duration.getDefaultInstance()) {
                 getEndOffsetBuilder().mergeFrom(value);
               } else {
                 endOffset_ = value;
@@ -2145,6 +2549,8 @@ public Builder mergeEndOffset(com.google.protobuf.Duration value) {
             return this;
           }
           /**
+           *
+           *
            * 
            * Time offset of the end of this word relative to the beginning of the
            * total conversation.
@@ -2163,6 +2569,8 @@ public Builder clearEndOffset() {
             return this;
           }
           /**
+           *
+           *
            * 
            * Time offset of the end of this word relative to the beginning of the
            * total conversation.
@@ -2176,6 +2584,8 @@ public com.google.protobuf.Duration.Builder getEndOffsetBuilder() {
             return getEndOffsetFieldBuilder().getBuilder();
           }
           /**
+           *
+           *
            * 
            * Time offset of the end of this word relative to the beginning of the
            * total conversation.
@@ -2187,11 +2597,14 @@ public com.google.protobuf.DurationOrBuilder getEndOffsetOrBuilder() {
             if (endOffsetBuilder_ != null) {
               return endOffsetBuilder_.getMessageOrBuilder();
             } else {
-              return endOffset_ == null ?
-                  com.google.protobuf.Duration.getDefaultInstance() : endOffset_;
+              return endOffset_ == null
+                  ? com.google.protobuf.Duration.getDefaultInstance()
+                  : endOffset_;
             }
           }
           /**
+           *
+           *
            * 
            * Time offset of the end of this word relative to the beginning of the
            * total conversation.
@@ -2200,14 +2613,17 @@ public com.google.protobuf.DurationOrBuilder getEndOffsetOrBuilder() {
            * .google.protobuf.Duration end_offset = 2;
            */
           private com.google.protobuf.SingleFieldBuilderV3<
-              com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder> 
+                  com.google.protobuf.Duration,
+                  com.google.protobuf.Duration.Builder,
+                  com.google.protobuf.DurationOrBuilder>
               getEndOffsetFieldBuilder() {
             if (endOffsetBuilder_ == null) {
-              endOffsetBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-                  com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder>(
-                      getEndOffset(),
-                      getParentForChildren(),
-                      isClean());
+              endOffsetBuilder_ =
+                  new com.google.protobuf.SingleFieldBuilderV3<
+                      com.google.protobuf.Duration,
+                      com.google.protobuf.Duration.Builder,
+                      com.google.protobuf.DurationOrBuilder>(
+                      getEndOffset(), getParentForChildren(), isClean());
               endOffset_ = null;
             }
             return endOffsetBuilder_;
@@ -2215,18 +2631,20 @@ public com.google.protobuf.DurationOrBuilder getEndOffsetOrBuilder() {
 
           private java.lang.Object word_ = "";
           /**
+           *
+           *
            * 
            * The word itself. Includes punctuation marks that surround the word.
            * 
* * string word = 3; + * * @return The word. */ public java.lang.String getWord() { java.lang.Object ref = word_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); word_ = s; return s; @@ -2235,20 +2653,21 @@ public java.lang.String getWord() { } } /** + * + * *
            * The word itself. Includes punctuation marks that surround the word.
            * 
* * string word = 3; + * * @return The bytes for word. */ - public com.google.protobuf.ByteString - getWordBytes() { + public com.google.protobuf.ByteString getWordBytes() { java.lang.Object ref = word_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); word_ = b; return b; } else { @@ -2256,28 +2675,35 @@ public java.lang.String getWord() { } } /** + * + * *
            * The word itself. Includes punctuation marks that surround the word.
            * 
* * string word = 3; + * * @param value The word to set. * @return This builder for chaining. */ - public Builder setWord( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setWord(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } word_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } /** + * + * *
            * The word itself. Includes punctuation marks that surround the word.
            * 
* * string word = 3; + * * @return This builder for chaining. */ public Builder clearWord() { @@ -2287,17 +2713,21 @@ public Builder clearWord() { return this; } /** + * + * *
            * The word itself. Includes punctuation marks that surround the word.
            * 
* * string word = 3; + * * @param value The bytes for word to set. * @return This builder for chaining. */ - public Builder setWordBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setWordBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); word_ = value; bitField0_ |= 0x00000004; @@ -2305,14 +2735,17 @@ public Builder setWordBytes( return this; } - private float confidence_ ; + private float confidence_; /** + * + * *
            * A confidence estimate between 0.0 and 1.0 of the fidelity of this
            * word. A default value of 0.0 indicates that the value is unset.
            * 
* * float confidence = 4; + * * @return The confidence. */ @java.lang.Override @@ -2320,29 +2753,35 @@ public float getConfidence() { return confidence_; } /** + * + * *
            * A confidence estimate between 0.0 and 1.0 of the fidelity of this
            * word. A default value of 0.0 indicates that the value is unset.
            * 
* * float confidence = 4; + * * @param value The confidence to set. * @return This builder for chaining. */ public Builder setConfidence(float value) { - + confidence_ = value; bitField0_ |= 0x00000008; onChanged(); return this; } /** + * + * *
            * A confidence estimate between 0.0 and 1.0 of the fidelity of this
            * word. A default value of 0.0 indicates that the value is unset.
            * 
* * float confidence = 4; + * * @return This builder for chaining. */ public Builder clearConfidence() { @@ -2351,6 +2790,7 @@ public Builder clearConfidence() { onChanged(); return this; } + @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -2363,41 +2803,48 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment.WordInfo) } // @@protoc_insertion_point(class_scope:google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment.WordInfo) - private static final com.google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment.WordInfo DEFAULT_INSTANCE; + private static final com.google.cloud.contactcenterinsights.v1.Conversation.Transcript + .TranscriptSegment.WordInfo + DEFAULT_INSTANCE; + static { - DEFAULT_INSTANCE = new com.google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment.WordInfo(); + DEFAULT_INSTANCE = + new com.google.cloud.contactcenterinsights.v1.Conversation.Transcript + .TranscriptSegment.WordInfo(); } - public static com.google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment.WordInfo getDefaultInstance() { + public static com.google.cloud.contactcenterinsights.v1.Conversation.Transcript + .TranscriptSegment.WordInfo + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public WordInfo parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public WordInfo parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException() + .setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -2409,80 +2856,96 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment.WordInfo getDefaultInstanceForType() { + public com.google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment + .WordInfo + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - public interface DialogflowSegmentMetadataOrBuilder extends + public interface DialogflowSegmentMetadataOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment.DialogflowSegmentMetadata) com.google.protobuf.MessageOrBuilder { /** + * + * *
          * Whether the transcript segment was covered under the configured smart
          * reply allowlist in Agent Assist.
          * 
* * bool smart_reply_allowlist_covered = 1; + * * @return The smartReplyAllowlistCovered. */ boolean getSmartReplyAllowlistCovered(); } /** + * + * *
        * Metadata from Dialogflow relating to the current transcript segment.
        * 
* - * Protobuf type {@code google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment.DialogflowSegmentMetadata} + * Protobuf type {@code + * google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment.DialogflowSegmentMetadata} */ - public static final class DialogflowSegmentMetadata extends - com.google.protobuf.GeneratedMessageV3 implements + public static final class DialogflowSegmentMetadata + extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment.DialogflowSegmentMetadata) DialogflowSegmentMetadataOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use DialogflowSegmentMetadata.newBuilder() to construct. - private DialogflowSegmentMetadata(com.google.protobuf.GeneratedMessageV3.Builder builder) { + private DialogflowSegmentMetadata( + com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private DialogflowSegmentMetadata() { - } + + private DialogflowSegmentMetadata() {} @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new DialogflowSegmentMetadata(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.contactcenterinsights.v1.ResourcesProto.internal_static_google_cloud_contactcenterinsights_v1_Conversation_Transcript_TranscriptSegment_DialogflowSegmentMetadata_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.contactcenterinsights.v1.ResourcesProto + .internal_static_google_cloud_contactcenterinsights_v1_Conversation_Transcript_TranscriptSegment_DialogflowSegmentMetadata_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.contactcenterinsights.v1.ResourcesProto.internal_static_google_cloud_contactcenterinsights_v1_Conversation_Transcript_TranscriptSegment_DialogflowSegmentMetadata_fieldAccessorTable + return com.google.cloud.contactcenterinsights.v1.ResourcesProto + .internal_static_google_cloud_contactcenterinsights_v1_Conversation_Transcript_TranscriptSegment_DialogflowSegmentMetadata_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment.DialogflowSegmentMetadata.class, com.google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment.DialogflowSegmentMetadata.Builder.class); + com.google.cloud.contactcenterinsights.v1.Conversation.Transcript + .TranscriptSegment.DialogflowSegmentMetadata.class, + com.google.cloud.contactcenterinsights.v1.Conversation.Transcript + .TranscriptSegment.DialogflowSegmentMetadata.Builder.class); } public static final int SMART_REPLY_ALLOWLIST_COVERED_FIELD_NUMBER = 1; private boolean smartReplyAllowlistCovered_ = false; /** + * + * *
          * Whether the transcript segment was covered under the configured smart
          * reply allowlist in Agent Assist.
          * 
* * bool smart_reply_allowlist_covered = 1; + * * @return The smartReplyAllowlistCovered. */ @java.lang.Override @@ -2491,6 +2954,7 @@ public boolean getSmartReplyAllowlistCovered() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -2503,7 +2967,7 @@ public final boolean isInitialized() { @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + throws java.io.IOException { if (smartReplyAllowlistCovered_ != false) { output.writeBool(1, smartReplyAllowlistCovered_); } @@ -2517,8 +2981,9 @@ public int getSerializedSize() { size = 0; if (smartReplyAllowlistCovered_ != false) { - size += com.google.protobuf.CodedOutputStream - .computeBoolSize(1, smartReplyAllowlistCovered_); + size += + com.google.protobuf.CodedOutputStream.computeBoolSize( + 1, smartReplyAllowlistCovered_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -2528,15 +2993,23 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } - if (!(obj instanceof com.google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment.DialogflowSegmentMetadata)) { + if (!(obj + instanceof + com.google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment + .DialogflowSegmentMetadata)) { return super.equals(obj); } - com.google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment.DialogflowSegmentMetadata other = (com.google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment.DialogflowSegmentMetadata) obj; + com.google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment + .DialogflowSegmentMetadata + other = + (com.google.cloud.contactcenterinsights.v1.Conversation.Transcript + .TranscriptSegment.DialogflowSegmentMetadata) + obj; - if (getSmartReplyAllowlistCovered() - != other.getSmartReplyAllowlistCovered()) return false; + if (getSmartReplyAllowlistCovered() != other.getSmartReplyAllowlistCovered()) + return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -2549,95 +3022,127 @@ public int hashCode() { int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); hash = (37 * hash) + SMART_REPLY_ALLOWLIST_COVERED_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( - getSmartReplyAllowlistCovered()); + hash = + (53 * hash) + + com.google.protobuf.Internal.hashBoolean(getSmartReplyAllowlistCovered()); hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } - public static com.google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment.DialogflowSegmentMetadata parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.contactcenterinsights.v1.Conversation.Transcript + .TranscriptSegment.DialogflowSegmentMetadata + parseFrom(java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment.DialogflowSegmentMetadata parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.contactcenterinsights.v1.Conversation.Transcript + .TranscriptSegment.DialogflowSegmentMetadata + parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment.DialogflowSegmentMetadata parseFrom( - com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.contactcenterinsights.v1.Conversation.Transcript + .TranscriptSegment.DialogflowSegmentMetadata + parseFrom(com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment.DialogflowSegmentMetadata parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.contactcenterinsights.v1.Conversation.Transcript + .TranscriptSegment.DialogflowSegmentMetadata + parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment.DialogflowSegmentMetadata parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.contactcenterinsights.v1.Conversation.Transcript + .TranscriptSegment.DialogflowSegmentMetadata + parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment.DialogflowSegmentMetadata parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.contactcenterinsights.v1.Conversation.Transcript + .TranscriptSegment.DialogflowSegmentMetadata + parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment.DialogflowSegmentMetadata parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.contactcenterinsights.v1.Conversation.Transcript + .TranscriptSegment.DialogflowSegmentMetadata + parseFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } - public static com.google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment.DialogflowSegmentMetadata parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + + public static com.google.cloud.contactcenterinsights.v1.Conversation.Transcript + .TranscriptSegment.DialogflowSegmentMetadata + parseFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment.DialogflowSegmentMetadata parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.contactcenterinsights.v1.Conversation.Transcript + .TranscriptSegment.DialogflowSegmentMetadata + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input); } - public static com.google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment.DialogflowSegmentMetadata parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + + public static com.google.cloud.contactcenterinsights.v1.Conversation.Transcript + .TranscriptSegment.DialogflowSegmentMetadata + parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment.DialogflowSegmentMetadata parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.contactcenterinsights.v1.Conversation.Transcript + .TranscriptSegment.DialogflowSegmentMetadata + parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } - public static com.google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment.DialogflowSegmentMetadata parseFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + + public static com.google.cloud.contactcenterinsights.v1.Conversation.Transcript + .TranscriptSegment.DialogflowSegmentMetadata + parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment.DialogflowSegmentMetadata prototype) { + + public static Builder newBuilder( + com.google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment + .DialogflowSegmentMetadata + prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -2647,39 +3152,46 @@ protected Builder newBuilderForType( return builder; } /** + * + * *
          * Metadata from Dialogflow relating to the current transcript segment.
          * 
* - * Protobuf type {@code google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment.DialogflowSegmentMetadata} + * Protobuf type {@code + * google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment.DialogflowSegmentMetadata} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder + extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment.DialogflowSegmentMetadata) - com.google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment.DialogflowSegmentMetadataOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.contactcenterinsights.v1.ResourcesProto.internal_static_google_cloud_contactcenterinsights_v1_Conversation_Transcript_TranscriptSegment_DialogflowSegmentMetadata_descriptor; + com.google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment + .DialogflowSegmentMetadataOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.contactcenterinsights.v1.ResourcesProto + .internal_static_google_cloud_contactcenterinsights_v1_Conversation_Transcript_TranscriptSegment_DialogflowSegmentMetadata_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.contactcenterinsights.v1.ResourcesProto.internal_static_google_cloud_contactcenterinsights_v1_Conversation_Transcript_TranscriptSegment_DialogflowSegmentMetadata_fieldAccessorTable + return com.google.cloud.contactcenterinsights.v1.ResourcesProto + .internal_static_google_cloud_contactcenterinsights_v1_Conversation_Transcript_TranscriptSegment_DialogflowSegmentMetadata_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment.DialogflowSegmentMetadata.class, com.google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment.DialogflowSegmentMetadata.Builder.class); + com.google.cloud.contactcenterinsights.v1.Conversation.Transcript + .TranscriptSegment.DialogflowSegmentMetadata.class, + com.google.cloud.contactcenterinsights.v1.Conversation.Transcript + .TranscriptSegment.DialogflowSegmentMetadata.Builder.class); } - // Construct using com.google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment.DialogflowSegmentMetadata.newBuilder() - private Builder() { + // Construct using + // com.google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment.DialogflowSegmentMetadata.newBuilder() + private Builder() {} - } - - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -2689,19 +3201,26 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.contactcenterinsights.v1.ResourcesProto.internal_static_google_cloud_contactcenterinsights_v1_Conversation_Transcript_TranscriptSegment_DialogflowSegmentMetadata_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.contactcenterinsights.v1.ResourcesProto + .internal_static_google_cloud_contactcenterinsights_v1_Conversation_Transcript_TranscriptSegment_DialogflowSegmentMetadata_descriptor; } @java.lang.Override - public com.google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment.DialogflowSegmentMetadata getDefaultInstanceForType() { - return com.google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment.DialogflowSegmentMetadata.getDefaultInstance(); + public com.google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment + .DialogflowSegmentMetadata + getDefaultInstanceForType() { + return com.google.cloud.contactcenterinsights.v1.Conversation.Transcript + .TranscriptSegment.DialogflowSegmentMetadata.getDefaultInstance(); } @java.lang.Override - public com.google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment.DialogflowSegmentMetadata build() { - com.google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment.DialogflowSegmentMetadata result = buildPartial(); + public com.google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment + .DialogflowSegmentMetadata + build() { + com.google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment + .DialogflowSegmentMetadata + result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } @@ -2709,14 +3228,25 @@ public com.google.cloud.contactcenterinsights.v1.Conversation.Transcript.Transcr } @java.lang.Override - public com.google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment.DialogflowSegmentMetadata buildPartial() { - com.google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment.DialogflowSegmentMetadata result = new com.google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment.DialogflowSegmentMetadata(this); - if (bitField0_ != 0) { buildPartial0(result); } + public com.google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment + .DialogflowSegmentMetadata + buildPartial() { + com.google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment + .DialogflowSegmentMetadata + result = + new com.google.cloud.contactcenterinsights.v1.Conversation.Transcript + .TranscriptSegment.DialogflowSegmentMetadata(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } - private void buildPartial0(com.google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment.DialogflowSegmentMetadata result) { + private void buildPartial0( + com.google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment + .DialogflowSegmentMetadata + result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { result.smartReplyAllowlistCovered_ = smartReplyAllowlistCovered_; @@ -2727,46 +3257,60 @@ private void buildPartial0(com.google.cloud.contactcenterinsights.v1.Conversatio public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + int index, + java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { - if (other instanceof com.google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment.DialogflowSegmentMetadata) { - return mergeFrom((com.google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment.DialogflowSegmentMetadata)other); + if (other + instanceof + com.google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment + .DialogflowSegmentMetadata) { + return mergeFrom( + (com.google.cloud.contactcenterinsights.v1.Conversation.Transcript + .TranscriptSegment.DialogflowSegmentMetadata) + other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment.DialogflowSegmentMetadata other) { - if (other == com.google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment.DialogflowSegmentMetadata.getDefaultInstance()) return this; + public Builder mergeFrom( + com.google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment + .DialogflowSegmentMetadata + other) { + if (other + == com.google.cloud.contactcenterinsights.v1.Conversation.Transcript + .TranscriptSegment.DialogflowSegmentMetadata.getDefaultInstance()) return this; if (other.getSmartReplyAllowlistCovered() != false) { setSmartReplyAllowlistCovered(other.getSmartReplyAllowlistCovered()); } @@ -2796,17 +3340,19 @@ public Builder mergeFrom( case 0: done = true; break; - case 8: { - smartReplyAllowlistCovered_ = input.readBool(); - bitField0_ |= 0x00000001; - break; - } // case 8 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 8: + { + smartReplyAllowlistCovered_ = input.readBool(); + bitField0_ |= 0x00000001; + break; + } // case 8 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -2816,16 +3362,20 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; - private boolean smartReplyAllowlistCovered_ ; + private boolean smartReplyAllowlistCovered_; /** + * + * *
            * Whether the transcript segment was covered under the configured smart
            * reply allowlist in Agent Assist.
            * 
* * bool smart_reply_allowlist_covered = 1; + * * @return The smartReplyAllowlistCovered. */ @java.lang.Override @@ -2833,29 +3383,35 @@ public boolean getSmartReplyAllowlistCovered() { return smartReplyAllowlistCovered_; } /** + * + * *
            * Whether the transcript segment was covered under the configured smart
            * reply allowlist in Agent Assist.
            * 
* * bool smart_reply_allowlist_covered = 1; + * * @param value The smartReplyAllowlistCovered to set. * @return This builder for chaining. */ public Builder setSmartReplyAllowlistCovered(boolean value) { - + smartReplyAllowlistCovered_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
            * Whether the transcript segment was covered under the configured smart
            * reply allowlist in Agent Assist.
            * 
* * bool smart_reply_allowlist_covered = 1; + * * @return This builder for chaining. */ public Builder clearSmartReplyAllowlistCovered() { @@ -2864,6 +3420,7 @@ public Builder clearSmartReplyAllowlistCovered() { onChanged(); return this; } + @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -2876,41 +3433,48 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment.DialogflowSegmentMetadata) } // @@protoc_insertion_point(class_scope:google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment.DialogflowSegmentMetadata) - private static final com.google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment.DialogflowSegmentMetadata DEFAULT_INSTANCE; + private static final com.google.cloud.contactcenterinsights.v1.Conversation.Transcript + .TranscriptSegment.DialogflowSegmentMetadata + DEFAULT_INSTANCE; + static { - DEFAULT_INSTANCE = new com.google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment.DialogflowSegmentMetadata(); + DEFAULT_INSTANCE = + new com.google.cloud.contactcenterinsights.v1.Conversation.Transcript + .TranscriptSegment.DialogflowSegmentMetadata(); } - public static com.google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment.DialogflowSegmentMetadata getDefaultInstance() { + public static com.google.cloud.contactcenterinsights.v1.Conversation.Transcript + .TranscriptSegment.DialogflowSegmentMetadata + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public DialogflowSegmentMetadata parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public DialogflowSegmentMetadata parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException() + .setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -2922,20 +3486,24 @@ public com.google.protobuf.Parser getParserForType() } @java.lang.Override - public com.google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment.DialogflowSegmentMetadata getDefaultInstanceForType() { + public com.google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment + .DialogflowSegmentMetadata + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } public static final int MESSAGE_TIME_FIELD_NUMBER = 6; private com.google.protobuf.Timestamp messageTime_; /** + * + * *
        * The time that the message occurred, if provided.
        * 
* * .google.protobuf.Timestamp message_time = 6; + * * @return Whether the messageTime field is set. */ @java.lang.Override @@ -2943,18 +3511,25 @@ public boolean hasMessageTime() { return messageTime_ != null; } /** + * + * *
        * The time that the message occurred, if provided.
        * 
* * .google.protobuf.Timestamp message_time = 6; + * * @return The messageTime. */ @java.lang.Override public com.google.protobuf.Timestamp getMessageTime() { - return messageTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : messageTime_; + return messageTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : messageTime_; } /** + * + * *
        * The time that the message occurred, if provided.
        * 
@@ -2963,18 +3538,24 @@ public com.google.protobuf.Timestamp getMessageTime() { */ @java.lang.Override public com.google.protobuf.TimestampOrBuilder getMessageTimeOrBuilder() { - return messageTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : messageTime_; + return messageTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : messageTime_; } public static final int TEXT_FIELD_NUMBER = 1; + @SuppressWarnings("serial") private volatile java.lang.Object text_ = ""; /** + * + * *
        * The text of this segment.
        * 
* * string text = 1; + * * @return The text. */ @java.lang.Override @@ -2983,29 +3564,29 @@ public java.lang.String getText() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); text_ = s; return s; } } /** + * + * *
        * The text of this segment.
        * 
* * string text = 1; + * * @return The bytes for text. */ @java.lang.Override - public com.google.protobuf.ByteString - getTextBytes() { + public com.google.protobuf.ByteString getTextBytes() { java.lang.Object ref = text_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); text_ = b; return b; } else { @@ -3016,12 +3597,15 @@ public java.lang.String getText() { public static final int CONFIDENCE_FIELD_NUMBER = 2; private float confidence_ = 0F; /** + * + * *
        * A confidence estimate between 0.0 and 1.0 of the fidelity of this
        * segment. A default value of 0.0 indicates that the value is unset.
        * 
* * float confidence = 2; + * * @return The confidence. */ @java.lang.Override @@ -3030,70 +3614,106 @@ public float getConfidence() { } public static final int WORDS_FIELD_NUMBER = 3; + @SuppressWarnings("serial") - private java.util.List words_; + private java.util.List< + com.google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment + .WordInfo> + words_; /** + * + * *
        * A list of the word-specific information for each word in the segment.
        * 
* - * repeated .google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment.WordInfo words = 3; + * + * repeated .google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment.WordInfo words = 3; + * */ @java.lang.Override - public java.util.List getWordsList() { + public java.util.List< + com.google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment + .WordInfo> + getWordsList() { return words_; } /** + * + * *
        * A list of the word-specific information for each word in the segment.
        * 
* - * repeated .google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment.WordInfo words = 3; + * + * repeated .google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment.WordInfo words = 3; + * */ @java.lang.Override - public java.util.List + public java.util.List< + ? extends + com.google.cloud.contactcenterinsights.v1.Conversation.Transcript + .TranscriptSegment.WordInfoOrBuilder> getWordsOrBuilderList() { return words_; } /** + * + * *
        * A list of the word-specific information for each word in the segment.
        * 
* - * repeated .google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment.WordInfo words = 3; + * + * repeated .google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment.WordInfo words = 3; + * */ @java.lang.Override public int getWordsCount() { return words_.size(); } /** + * + * *
        * A list of the word-specific information for each word in the segment.
        * 
* - * repeated .google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment.WordInfo words = 3; + * + * repeated .google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment.WordInfo words = 3; + * */ @java.lang.Override - public com.google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment.WordInfo getWords(int index) { + public com.google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment + .WordInfo + getWords(int index) { return words_.get(index); } /** + * + * *
        * A list of the word-specific information for each word in the segment.
        * 
* - * repeated .google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment.WordInfo words = 3; + * + * repeated .google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment.WordInfo words = 3; + * */ @java.lang.Override - public com.google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment.WordInfoOrBuilder getWordsOrBuilder( - int index) { + public com.google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment + .WordInfoOrBuilder + getWordsOrBuilder(int index) { return words_.get(index); } public static final int LANGUAGE_CODE_FIELD_NUMBER = 4; + @SuppressWarnings("serial") private volatile java.lang.Object languageCode_ = ""; /** + * + * *
        * The language code of this segment as a
        * [BCP-47](https://www.rfc-editor.org/rfc/bcp/bcp47.txt) language tag.
@@ -3101,6 +3721,7 @@ public com.google.cloud.contactcenterinsights.v1.Conversation.Transcript.Transcr
        * 
* * string language_code = 4; + * * @return The languageCode. */ @java.lang.Override @@ -3109,14 +3730,15 @@ public java.lang.String getLanguageCode() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); languageCode_ = s; return s; } } /** + * + * *
        * The language code of this segment as a
        * [BCP-47](https://www.rfc-editor.org/rfc/bcp/bcp47.txt) language tag.
@@ -3124,16 +3746,15 @@ public java.lang.String getLanguageCode() {
        * 
* * string language_code = 4; + * * @return The bytes for languageCode. */ @java.lang.Override - public com.google.protobuf.ByteString - getLanguageCodeBytes() { + public com.google.protobuf.ByteString getLanguageCodeBytes() { java.lang.Object ref = languageCode_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); languageCode_ = b; return b; } else { @@ -3144,6 +3765,8 @@ public java.lang.String getLanguageCode() { public static final int CHANNEL_TAG_FIELD_NUMBER = 5; private int channelTag_ = 0; /** + * + * *
        * For conversations derived from multi-channel audio, this is the channel
        * number corresponding to the audio from that channel. For
@@ -3152,6 +3775,7 @@ public java.lang.String getLanguageCode() {
        * 
* * int32 channel_tag = 5; + * * @return The channelTag. */ @java.lang.Override @@ -3162,11 +3786,16 @@ public int getChannelTag() { public static final int SEGMENT_PARTICIPANT_FIELD_NUMBER = 9; private com.google.cloud.contactcenterinsights.v1.ConversationParticipant segmentParticipant_; /** + * + * *
        * The participant of this segment.
        * 
* - * .google.cloud.contactcenterinsights.v1.ConversationParticipant segment_participant = 9; + * + * .google.cloud.contactcenterinsights.v1.ConversationParticipant segment_participant = 9; + * + * * @return Whether the segmentParticipant field is set. */ @java.lang.Override @@ -3174,37 +3803,59 @@ public boolean hasSegmentParticipant() { return segmentParticipant_ != null; } /** + * + * *
        * The participant of this segment.
        * 
* - * .google.cloud.contactcenterinsights.v1.ConversationParticipant segment_participant = 9; + * + * .google.cloud.contactcenterinsights.v1.ConversationParticipant segment_participant = 9; + * + * * @return The segmentParticipant. */ @java.lang.Override - public com.google.cloud.contactcenterinsights.v1.ConversationParticipant getSegmentParticipant() { - return segmentParticipant_ == null ? com.google.cloud.contactcenterinsights.v1.ConversationParticipant.getDefaultInstance() : segmentParticipant_; + public com.google.cloud.contactcenterinsights.v1.ConversationParticipant + getSegmentParticipant() { + return segmentParticipant_ == null + ? com.google.cloud.contactcenterinsights.v1.ConversationParticipant.getDefaultInstance() + : segmentParticipant_; } /** + * + * *
        * The participant of this segment.
        * 
* - * .google.cloud.contactcenterinsights.v1.ConversationParticipant segment_participant = 9; + * + * .google.cloud.contactcenterinsights.v1.ConversationParticipant segment_participant = 9; + * */ @java.lang.Override - public com.google.cloud.contactcenterinsights.v1.ConversationParticipantOrBuilder getSegmentParticipantOrBuilder() { - return segmentParticipant_ == null ? com.google.cloud.contactcenterinsights.v1.ConversationParticipant.getDefaultInstance() : segmentParticipant_; + public com.google.cloud.contactcenterinsights.v1.ConversationParticipantOrBuilder + getSegmentParticipantOrBuilder() { + return segmentParticipant_ == null + ? com.google.cloud.contactcenterinsights.v1.ConversationParticipant.getDefaultInstance() + : segmentParticipant_; } public static final int DIALOGFLOW_SEGMENT_METADATA_FIELD_NUMBER = 10; - private com.google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment.DialogflowSegmentMetadata dialogflowSegmentMetadata_; + private com.google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment + .DialogflowSegmentMetadata + dialogflowSegmentMetadata_; /** + * + * *
        * CCAI metadata relating to the current transcript segment.
        * 
* - * .google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment.DialogflowSegmentMetadata dialogflow_segment_metadata = 10; + * + * .google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment.DialogflowSegmentMetadata dialogflow_segment_metadata = 10; + * + * * @return Whether the dialogflowSegmentMetadata field is set. */ @java.lang.Override @@ -3212,37 +3863,59 @@ public boolean hasDialogflowSegmentMetadata() { return dialogflowSegmentMetadata_ != null; } /** + * + * *
        * CCAI metadata relating to the current transcript segment.
        * 
* - * .google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment.DialogflowSegmentMetadata dialogflow_segment_metadata = 10; + * + * .google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment.DialogflowSegmentMetadata dialogflow_segment_metadata = 10; + * + * * @return The dialogflowSegmentMetadata. */ @java.lang.Override - public com.google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment.DialogflowSegmentMetadata getDialogflowSegmentMetadata() { - return dialogflowSegmentMetadata_ == null ? com.google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment.DialogflowSegmentMetadata.getDefaultInstance() : dialogflowSegmentMetadata_; + public com.google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment + .DialogflowSegmentMetadata + getDialogflowSegmentMetadata() { + return dialogflowSegmentMetadata_ == null + ? com.google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment + .DialogflowSegmentMetadata.getDefaultInstance() + : dialogflowSegmentMetadata_; } /** + * + * *
        * CCAI metadata relating to the current transcript segment.
        * 
* - * .google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment.DialogflowSegmentMetadata dialogflow_segment_metadata = 10; + * + * .google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment.DialogflowSegmentMetadata dialogflow_segment_metadata = 10; + * */ @java.lang.Override - public com.google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment.DialogflowSegmentMetadataOrBuilder getDialogflowSegmentMetadataOrBuilder() { - return dialogflowSegmentMetadata_ == null ? com.google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment.DialogflowSegmentMetadata.getDefaultInstance() : dialogflowSegmentMetadata_; + public com.google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment + .DialogflowSegmentMetadataOrBuilder + getDialogflowSegmentMetadataOrBuilder() { + return dialogflowSegmentMetadata_ == null + ? com.google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment + .DialogflowSegmentMetadata.getDefaultInstance() + : dialogflowSegmentMetadata_; } public static final int SENTIMENT_FIELD_NUMBER = 11; private com.google.cloud.contactcenterinsights.v1.SentimentData sentiment_; /** + * + * *
        * The sentiment for this transcript segment.
        * 
* * .google.cloud.contactcenterinsights.v1.SentimentData sentiment = 11; + * * @return Whether the sentiment field is set. */ @java.lang.Override @@ -3250,18 +3923,25 @@ public boolean hasSentiment() { return sentiment_ != null; } /** + * + * *
        * The sentiment for this transcript segment.
        * 
* * .google.cloud.contactcenterinsights.v1.SentimentData sentiment = 11; + * * @return The sentiment. */ @java.lang.Override public com.google.cloud.contactcenterinsights.v1.SentimentData getSentiment() { - return sentiment_ == null ? com.google.cloud.contactcenterinsights.v1.SentimentData.getDefaultInstance() : sentiment_; + return sentiment_ == null + ? com.google.cloud.contactcenterinsights.v1.SentimentData.getDefaultInstance() + : sentiment_; } /** + * + * *
        * The sentiment for this transcript segment.
        * 
@@ -3269,11 +3949,15 @@ public com.google.cloud.contactcenterinsights.v1.SentimentData getSentiment() { * .google.cloud.contactcenterinsights.v1.SentimentData sentiment = 11; */ @java.lang.Override - public com.google.cloud.contactcenterinsights.v1.SentimentDataOrBuilder getSentimentOrBuilder() { - return sentiment_ == null ? com.google.cloud.contactcenterinsights.v1.SentimentData.getDefaultInstance() : sentiment_; + public com.google.cloud.contactcenterinsights.v1.SentimentDataOrBuilder + getSentimentOrBuilder() { + return sentiment_ == null + ? com.google.cloud.contactcenterinsights.v1.SentimentData.getDefaultInstance() + : sentiment_; } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -3285,8 +3969,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(text_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, text_); } @@ -3327,35 +4010,31 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, text_); } if (java.lang.Float.floatToRawIntBits(confidence_) != 0) { - size += com.google.protobuf.CodedOutputStream - .computeFloatSize(2, confidence_); + size += com.google.protobuf.CodedOutputStream.computeFloatSize(2, confidence_); } for (int i = 0; i < words_.size(); i++) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(3, words_.get(i)); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, words_.get(i)); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(languageCode_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, languageCode_); } if (channelTag_ != 0) { - size += com.google.protobuf.CodedOutputStream - .computeInt32Size(5, channelTag_); + size += com.google.protobuf.CodedOutputStream.computeInt32Size(5, channelTag_); } if (messageTime_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(6, getMessageTime()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(6, getMessageTime()); } if (segmentParticipant_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(9, getSegmentParticipant()); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize(9, getSegmentParticipant()); } if (dialogflowSegmentMetadata_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(10, getDialogflowSegmentMetadata()); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 10, getDialogflowSegmentMetadata()); } if (sentiment_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(11, getSentiment()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(11, getSentiment()); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -3365,43 +4044,39 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } - if (!(obj instanceof com.google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment)) { + if (!(obj + instanceof + com.google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment)) { return super.equals(obj); } - com.google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment other = (com.google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment) obj; + com.google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment other = + (com.google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment) + obj; if (hasMessageTime() != other.hasMessageTime()) return false; if (hasMessageTime()) { - if (!getMessageTime() - .equals(other.getMessageTime())) return false; + if (!getMessageTime().equals(other.getMessageTime())) return false; } - if (!getText() - .equals(other.getText())) return false; + if (!getText().equals(other.getText())) return false; if (java.lang.Float.floatToIntBits(getConfidence()) - != java.lang.Float.floatToIntBits( - other.getConfidence())) return false; - if (!getWordsList() - .equals(other.getWordsList())) return false; - if (!getLanguageCode() - .equals(other.getLanguageCode())) return false; - if (getChannelTag() - != other.getChannelTag()) return false; + != java.lang.Float.floatToIntBits(other.getConfidence())) return false; + if (!getWordsList().equals(other.getWordsList())) return false; + if (!getLanguageCode().equals(other.getLanguageCode())) return false; + if (getChannelTag() != other.getChannelTag()) return false; if (hasSegmentParticipant() != other.hasSegmentParticipant()) return false; if (hasSegmentParticipant()) { - if (!getSegmentParticipant() - .equals(other.getSegmentParticipant())) return false; + if (!getSegmentParticipant().equals(other.getSegmentParticipant())) return false; } if (hasDialogflowSegmentMetadata() != other.hasDialogflowSegmentMetadata()) return false; if (hasDialogflowSegmentMetadata()) { - if (!getDialogflowSegmentMetadata() - .equals(other.getDialogflowSegmentMetadata())) return false; + if (!getDialogflowSegmentMetadata().equals(other.getDialogflowSegmentMetadata())) + return false; } if (hasSentiment() != other.hasSentiment()) return false; if (hasSentiment()) { - if (!getSentiment() - .equals(other.getSentiment())) return false; + if (!getSentiment().equals(other.getSentiment())) return false; } if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -3421,8 +4096,7 @@ public int hashCode() { hash = (37 * hash) + TEXT_FIELD_NUMBER; hash = (53 * hash) + getText().hashCode(); hash = (37 * hash) + CONFIDENCE_FIELD_NUMBER; - hash = (53 * hash) + java.lang.Float.floatToIntBits( - getConfidence()); + hash = (53 * hash) + java.lang.Float.floatToIntBits(getConfidence()); if (getWordsCount() > 0) { hash = (37 * hash) + WORDS_FIELD_NUMBER; hash = (53 * hash) + getWordsList().hashCode(); @@ -3448,88 +4122,116 @@ public int hashCode() { return hash; } - public static com.google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.contactcenterinsights.v1.Conversation.Transcript + .TranscriptSegment + parseFrom(java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.contactcenterinsights.v1.Conversation.Transcript + .TranscriptSegment + parseFrom( + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment parseFrom( - com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.contactcenterinsights.v1.Conversation.Transcript + .TranscriptSegment + parseFrom(com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.contactcenterinsights.v1.Conversation.Transcript + .TranscriptSegment + parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.contactcenterinsights.v1.Conversation.Transcript + .TranscriptSegment + parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.contactcenterinsights.v1.Conversation.Transcript + .TranscriptSegment + parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.contactcenterinsights.v1.Conversation.Transcript + .TranscriptSegment + parseFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } - public static com.google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + + public static com.google.cloud.contactcenterinsights.v1.Conversation.Transcript + .TranscriptSegment + parseFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.contactcenterinsights.v1.Conversation.Transcript + .TranscriptSegment + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + + public static com.google.cloud.contactcenterinsights.v1.Conversation.Transcript + .TranscriptSegment + parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.contactcenterinsights.v1.Conversation.Transcript + .TranscriptSegment + parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } - public static com.google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment parseFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + + public static com.google.cloud.contactcenterinsights.v1.Conversation.Transcript + .TranscriptSegment + parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment prototype) { + + public static Builder newBuilder( + com.google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment + prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -3539,39 +4241,46 @@ protected Builder newBuilderForType( return builder; } /** + * + * *
        * A segment of a full transcript.
        * 
* - * Protobuf type {@code google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment} + * Protobuf type {@code + * google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder + extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment) - com.google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegmentOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.contactcenterinsights.v1.ResourcesProto.internal_static_google_cloud_contactcenterinsights_v1_Conversation_Transcript_TranscriptSegment_descriptor; + com.google.cloud.contactcenterinsights.v1.Conversation.Transcript + .TranscriptSegmentOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.contactcenterinsights.v1.ResourcesProto + .internal_static_google_cloud_contactcenterinsights_v1_Conversation_Transcript_TranscriptSegment_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.contactcenterinsights.v1.ResourcesProto.internal_static_google_cloud_contactcenterinsights_v1_Conversation_Transcript_TranscriptSegment_fieldAccessorTable + return com.google.cloud.contactcenterinsights.v1.ResourcesProto + .internal_static_google_cloud_contactcenterinsights_v1_Conversation_Transcript_TranscriptSegment_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment.class, com.google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment.Builder.class); + com.google.cloud.contactcenterinsights.v1.Conversation.Transcript + .TranscriptSegment.class, + com.google.cloud.contactcenterinsights.v1.Conversation.Transcript + .TranscriptSegment.Builder.class); } - // Construct using com.google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment.newBuilder() - private Builder() { - - } + // Construct using + // com.google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment.newBuilder() + private Builder() {} - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -3611,19 +4320,23 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.contactcenterinsights.v1.ResourcesProto.internal_static_google_cloud_contactcenterinsights_v1_Conversation_Transcript_TranscriptSegment_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.contactcenterinsights.v1.ResourcesProto + .internal_static_google_cloud_contactcenterinsights_v1_Conversation_Transcript_TranscriptSegment_descriptor; } @java.lang.Override - public com.google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment getDefaultInstanceForType() { - return com.google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment.getDefaultInstance(); + public com.google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment + getDefaultInstanceForType() { + return com.google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment + .getDefaultInstance(); } @java.lang.Override - public com.google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment build() { - com.google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment result = buildPartial(); + public com.google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment + build() { + com.google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment + result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } @@ -3631,15 +4344,23 @@ public com.google.cloud.contactcenterinsights.v1.Conversation.Transcript.Transcr } @java.lang.Override - public com.google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment buildPartial() { - com.google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment result = new com.google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment(this); + public com.google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment + buildPartial() { + com.google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment + result = + new com.google.cloud.contactcenterinsights.v1.Conversation.Transcript + .TranscriptSegment(this); buildPartialRepeatedFields(result); - if (bitField0_ != 0) { buildPartial0(result); } + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } - private void buildPartialRepeatedFields(com.google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment result) { + private void buildPartialRepeatedFields( + com.google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment + result) { if (wordsBuilder_ == null) { if (((bitField0_ & 0x00000008) != 0)) { words_ = java.util.Collections.unmodifiableList(words_); @@ -3651,12 +4372,13 @@ private void buildPartialRepeatedFields(com.google.cloud.contactcenterinsights.v } } - private void buildPartial0(com.google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment result) { + private void buildPartial0( + com.google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment + result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { - result.messageTime_ = messageTimeBuilder_ == null - ? messageTime_ - : messageTimeBuilder_.build(); + result.messageTime_ = + messageTimeBuilder_ == null ? messageTime_ : messageTimeBuilder_.build(); } if (((from_bitField0_ & 0x00000002) != 0)) { result.text_ = text_; @@ -3671,19 +4393,19 @@ private void buildPartial0(com.google.cloud.contactcenterinsights.v1.Conversatio result.channelTag_ = channelTag_; } if (((from_bitField0_ & 0x00000040) != 0)) { - result.segmentParticipant_ = segmentParticipantBuilder_ == null - ? segmentParticipant_ - : segmentParticipantBuilder_.build(); + result.segmentParticipant_ = + segmentParticipantBuilder_ == null + ? segmentParticipant_ + : segmentParticipantBuilder_.build(); } if (((from_bitField0_ & 0x00000080) != 0)) { - result.dialogflowSegmentMetadata_ = dialogflowSegmentMetadataBuilder_ == null - ? dialogflowSegmentMetadata_ - : dialogflowSegmentMetadataBuilder_.build(); + result.dialogflowSegmentMetadata_ = + dialogflowSegmentMetadataBuilder_ == null + ? dialogflowSegmentMetadata_ + : dialogflowSegmentMetadataBuilder_.build(); } if (((from_bitField0_ & 0x00000100) != 0)) { - result.sentiment_ = sentimentBuilder_ == null - ? sentiment_ - : sentimentBuilder_.build(); + result.sentiment_ = sentimentBuilder_ == null ? sentiment_ : sentimentBuilder_.build(); } } @@ -3691,46 +4413,58 @@ private void buildPartial0(com.google.cloud.contactcenterinsights.v1.Conversatio public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + int index, + java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { - if (other instanceof com.google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment) { - return mergeFrom((com.google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment)other); + if (other + instanceof + com.google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment) { + return mergeFrom( + (com.google.cloud.contactcenterinsights.v1.Conversation.Transcript + .TranscriptSegment) + other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment other) { - if (other == com.google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment.getDefaultInstance()) return this; + public Builder mergeFrom( + com.google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment + other) { + if (other + == com.google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment + .getDefaultInstance()) return this; if (other.hasMessageTime()) { mergeMessageTime(other.getMessageTime()); } @@ -3760,9 +4494,10 @@ public Builder mergeFrom(com.google.cloud.contactcenterinsights.v1.Conversation. wordsBuilder_ = null; words_ = other.words_; bitField0_ = (bitField0_ & ~0x00000008); - wordsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? - getWordsFieldBuilder() : null; + wordsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders + ? getWordsFieldBuilder() + : null; } else { wordsBuilder_.addAllMessages(other.words_); } @@ -3811,73 +4546,80 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - text_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000002; - break; - } // case 10 - case 21: { - confidence_ = input.readFloat(); - bitField0_ |= 0x00000004; - break; - } // case 21 - case 26: { - com.google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment.WordInfo m = - input.readMessage( - com.google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment.WordInfo.parser(), - extensionRegistry); - if (wordsBuilder_ == null) { - ensureWordsIsMutable(); - words_.add(m); - } else { - wordsBuilder_.addMessage(m); - } - break; - } // case 26 - case 34: { - languageCode_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000010; - break; - } // case 34 - case 40: { - channelTag_ = input.readInt32(); - bitField0_ |= 0x00000020; - break; - } // case 40 - case 50: { - input.readMessage( - getMessageTimeFieldBuilder().getBuilder(), - extensionRegistry); - bitField0_ |= 0x00000001; - break; - } // case 50 - case 74: { - input.readMessage( - getSegmentParticipantFieldBuilder().getBuilder(), - extensionRegistry); - bitField0_ |= 0x00000040; - break; - } // case 74 - case 82: { - input.readMessage( - getDialogflowSegmentMetadataFieldBuilder().getBuilder(), - extensionRegistry); - bitField0_ |= 0x00000080; - break; - } // case 82 - case 90: { - input.readMessage( - getSentimentFieldBuilder().getBuilder(), - extensionRegistry); - bitField0_ |= 0x00000100; - break; - } // case 90 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + text_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + break; + } // case 10 + case 21: + { + confidence_ = input.readFloat(); + bitField0_ |= 0x00000004; + break; + } // case 21 + case 26: + { + com.google.cloud.contactcenterinsights.v1.Conversation.Transcript + .TranscriptSegment.WordInfo + m = + input.readMessage( + com.google.cloud.contactcenterinsights.v1.Conversation.Transcript + .TranscriptSegment.WordInfo.parser(), + extensionRegistry); + if (wordsBuilder_ == null) { + ensureWordsIsMutable(); + words_.add(m); + } else { + wordsBuilder_.addMessage(m); + } + break; + } // case 26 + case 34: + { + languageCode_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000010; + break; + } // case 34 + case 40: + { + channelTag_ = input.readInt32(); + bitField0_ |= 0x00000020; + break; + } // case 40 + case 50: + { + input.readMessage(getMessageTimeFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000001; + break; + } // case 50 + case 74: + { + input.readMessage( + getSegmentParticipantFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000040; + break; + } // case 74 + case 82: + { + input.readMessage( + getDialogflowSegmentMetadataFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000080; + break; + } // case 82 + case 90: + { + input.readMessage(getSentimentFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000100; + break; + } // case 90 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -3887,38 +4629,52 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private com.google.protobuf.Timestamp messageTime_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> messageTimeBuilder_; + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder> + messageTimeBuilder_; /** + * + * *
          * The time that the message occurred, if provided.
          * 
* * .google.protobuf.Timestamp message_time = 6; + * * @return Whether the messageTime field is set. */ public boolean hasMessageTime() { return ((bitField0_ & 0x00000001) != 0); } /** + * + * *
          * The time that the message occurred, if provided.
          * 
* * .google.protobuf.Timestamp message_time = 6; + * * @return The messageTime. */ public com.google.protobuf.Timestamp getMessageTime() { if (messageTimeBuilder_ == null) { - return messageTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : messageTime_; + return messageTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : messageTime_; } else { return messageTimeBuilder_.getMessage(); } } /** + * + * *
          * The time that the message occurred, if provided.
          * 
@@ -3939,14 +4695,15 @@ public Builder setMessageTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
          * The time that the message occurred, if provided.
          * 
* * .google.protobuf.Timestamp message_time = 6; */ - public Builder setMessageTime( - com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setMessageTime(com.google.protobuf.Timestamp.Builder builderForValue) { if (messageTimeBuilder_ == null) { messageTime_ = builderForValue.build(); } else { @@ -3957,6 +4714,8 @@ public Builder setMessageTime( return this; } /** + * + * *
          * The time that the message occurred, if provided.
          * 
@@ -3965,9 +4724,9 @@ public Builder setMessageTime( */ public Builder mergeMessageTime(com.google.protobuf.Timestamp value) { if (messageTimeBuilder_ == null) { - if (((bitField0_ & 0x00000001) != 0) && - messageTime_ != null && - messageTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { + if (((bitField0_ & 0x00000001) != 0) + && messageTime_ != null + && messageTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { getMessageTimeBuilder().mergeFrom(value); } else { messageTime_ = value; @@ -3980,6 +4739,8 @@ public Builder mergeMessageTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
          * The time that the message occurred, if provided.
          * 
@@ -3997,6 +4758,8 @@ public Builder clearMessageTime() { return this; } /** + * + * *
          * The time that the message occurred, if provided.
          * 
@@ -4009,6 +4772,8 @@ public com.google.protobuf.Timestamp.Builder getMessageTimeBuilder() { return getMessageTimeFieldBuilder().getBuilder(); } /** + * + * *
          * The time that the message occurred, if provided.
          * 
@@ -4019,11 +4784,14 @@ public com.google.protobuf.TimestampOrBuilder getMessageTimeOrBuilder() { if (messageTimeBuilder_ != null) { return messageTimeBuilder_.getMessageOrBuilder(); } else { - return messageTime_ == null ? - com.google.protobuf.Timestamp.getDefaultInstance() : messageTime_; + return messageTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : messageTime_; } } /** + * + * *
          * The time that the message occurred, if provided.
          * 
@@ -4031,14 +4799,17 @@ public com.google.protobuf.TimestampOrBuilder getMessageTimeOrBuilder() { * .google.protobuf.Timestamp message_time = 6; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder> getMessageTimeFieldBuilder() { if (messageTimeBuilder_ == null) { - messageTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( - getMessageTime(), - getParentForChildren(), - isClean()); + messageTimeBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder>( + getMessageTime(), getParentForChildren(), isClean()); messageTime_ = null; } return messageTimeBuilder_; @@ -4046,18 +4817,20 @@ public com.google.protobuf.TimestampOrBuilder getMessageTimeOrBuilder() { private java.lang.Object text_ = ""; /** + * + * *
          * The text of this segment.
          * 
* * string text = 1; + * * @return The text. */ public java.lang.String getText() { java.lang.Object ref = text_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); text_ = s; return s; @@ -4066,20 +4839,21 @@ public java.lang.String getText() { } } /** + * + * *
          * The text of this segment.
          * 
* * string text = 1; + * * @return The bytes for text. */ - public com.google.protobuf.ByteString - getTextBytes() { + public com.google.protobuf.ByteString getTextBytes() { java.lang.Object ref = text_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); text_ = b; return b; } else { @@ -4087,28 +4861,35 @@ public java.lang.String getText() { } } /** + * + * *
          * The text of this segment.
          * 
* * string text = 1; + * * @param value The text to set. * @return This builder for chaining. */ - public Builder setText( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setText(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } text_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** + * + * *
          * The text of this segment.
          * 
* * string text = 1; + * * @return This builder for chaining. */ public Builder clearText() { @@ -4118,17 +4899,21 @@ public Builder clearText() { return this; } /** + * + * *
          * The text of this segment.
          * 
* * string text = 1; + * * @param value The bytes for text to set. * @return This builder for chaining. */ - public Builder setTextBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setTextBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); text_ = value; bitField0_ |= 0x00000002; @@ -4136,14 +4921,17 @@ public Builder setTextBytes( return this; } - private float confidence_ ; + private float confidence_; /** + * + * *
          * A confidence estimate between 0.0 and 1.0 of the fidelity of this
          * segment. A default value of 0.0 indicates that the value is unset.
          * 
* * float confidence = 2; + * * @return The confidence. */ @java.lang.Override @@ -4151,29 +4939,35 @@ public float getConfidence() { return confidence_; } /** + * + * *
          * A confidence estimate between 0.0 and 1.0 of the fidelity of this
          * segment. A default value of 0.0 indicates that the value is unset.
          * 
* * float confidence = 2; + * * @param value The confidence to set. * @return This builder for chaining. */ public Builder setConfidence(float value) { - + confidence_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } /** + * + * *
          * A confidence estimate between 0.0 and 1.0 of the fidelity of this
          * segment. A default value of 0.0 indicates that the value is unset.
          * 
* * float confidence = 2; + * * @return This builder for chaining. */ public Builder clearConfidence() { @@ -4183,26 +4977,45 @@ public Builder clearConfidence() { return this; } - private java.util.List words_ = - java.util.Collections.emptyList(); + private java.util.List< + com.google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment + .WordInfo> + words_ = java.util.Collections.emptyList(); + private void ensureWordsIsMutable() { if (!((bitField0_ & 0x00000008) != 0)) { - words_ = new java.util.ArrayList(words_); + words_ = + new java.util.ArrayList< + com.google.cloud.contactcenterinsights.v1.Conversation.Transcript + .TranscriptSegment.WordInfo>(words_); bitField0_ |= 0x00000008; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment.WordInfo, com.google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment.WordInfo.Builder, com.google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment.WordInfoOrBuilder> wordsBuilder_; + com.google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment + .WordInfo, + com.google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment + .WordInfo.Builder, + com.google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment + .WordInfoOrBuilder> + wordsBuilder_; /** + * + * *
          * A list of the word-specific information for each word in the segment.
          * 
* - * repeated .google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment.WordInfo words = 3; + * + * repeated .google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment.WordInfo words = 3; + * */ - public java.util.List getWordsList() { + public java.util.List< + com.google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment + .WordInfo> + getWordsList() { if (wordsBuilder_ == null) { return java.util.Collections.unmodifiableList(words_); } else { @@ -4210,11 +5023,15 @@ public java.util.List * A list of the word-specific information for each word in the segment. *
* - * repeated .google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment.WordInfo words = 3; + * + * repeated .google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment.WordInfo words = 3; + * */ public int getWordsCount() { if (wordsBuilder_ == null) { @@ -4224,13 +5041,19 @@ public int getWordsCount() { } } /** + * + * *
          * A list of the word-specific information for each word in the segment.
          * 
* - * repeated .google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment.WordInfo words = 3; + * + * repeated .google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment.WordInfo words = 3; + * */ - public com.google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment.WordInfo getWords(int index) { + public com.google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment + .WordInfo + getWords(int index) { if (wordsBuilder_ == null) { return words_.get(index); } else { @@ -4238,14 +5061,21 @@ public com.google.cloud.contactcenterinsights.v1.Conversation.Transcript.Transcr } } /** + * + * *
          * A list of the word-specific information for each word in the segment.
          * 
* - * repeated .google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment.WordInfo words = 3; + * + * repeated .google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment.WordInfo words = 3; + * */ public Builder setWords( - int index, com.google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment.WordInfo value) { + int index, + com.google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment + .WordInfo + value) { if (wordsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -4259,14 +5089,21 @@ public Builder setWords( return this; } /** + * + * *
          * A list of the word-specific information for each word in the segment.
          * 
* - * repeated .google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment.WordInfo words = 3; + * + * repeated .google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment.WordInfo words = 3; + * */ public Builder setWords( - int index, com.google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment.WordInfo.Builder builderForValue) { + int index, + com.google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment + .WordInfo.Builder + builderForValue) { if (wordsBuilder_ == null) { ensureWordsIsMutable(); words_.set(index, builderForValue.build()); @@ -4277,13 +5114,20 @@ public Builder setWords( return this; } /** + * + * *
          * A list of the word-specific information for each word in the segment.
          * 
* - * repeated .google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment.WordInfo words = 3; + * + * repeated .google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment.WordInfo words = 3; + * */ - public Builder addWords(com.google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment.WordInfo value) { + public Builder addWords( + com.google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment + .WordInfo + value) { if (wordsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -4297,14 +5141,21 @@ public Builder addWords(com.google.cloud.contactcenterinsights.v1.Conversation.T return this; } /** + * + * *
          * A list of the word-specific information for each word in the segment.
          * 
* - * repeated .google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment.WordInfo words = 3; + * + * repeated .google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment.WordInfo words = 3; + * */ public Builder addWords( - int index, com.google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment.WordInfo value) { + int index, + com.google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment + .WordInfo + value) { if (wordsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -4318,14 +5169,20 @@ public Builder addWords( return this; } /** + * + * *
          * A list of the word-specific information for each word in the segment.
          * 
* - * repeated .google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment.WordInfo words = 3; + * + * repeated .google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment.WordInfo words = 3; + * */ public Builder addWords( - com.google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment.WordInfo.Builder builderForValue) { + com.google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment + .WordInfo.Builder + builderForValue) { if (wordsBuilder_ == null) { ensureWordsIsMutable(); words_.add(builderForValue.build()); @@ -4336,14 +5193,21 @@ public Builder addWords( return this; } /** + * + * *
          * A list of the word-specific information for each word in the segment.
          * 
* - * repeated .google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment.WordInfo words = 3; + * + * repeated .google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment.WordInfo words = 3; + * */ public Builder addWords( - int index, com.google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment.WordInfo.Builder builderForValue) { + int index, + com.google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment + .WordInfo.Builder + builderForValue) { if (wordsBuilder_ == null) { ensureWordsIsMutable(); words_.add(index, builderForValue.build()); @@ -4354,18 +5218,25 @@ public Builder addWords( return this; } /** + * + * *
          * A list of the word-specific information for each word in the segment.
          * 
* - * repeated .google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment.WordInfo words = 3; + * + * repeated .google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment.WordInfo words = 3; + * */ public Builder addAllWords( - java.lang.Iterable values) { + java.lang.Iterable< + ? extends + com.google.cloud.contactcenterinsights.v1.Conversation.Transcript + .TranscriptSegment.WordInfo> + values) { if (wordsBuilder_ == null) { ensureWordsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, words_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, words_); onChanged(); } else { wordsBuilder_.addAllMessages(values); @@ -4373,11 +5244,15 @@ public Builder addAllWords( return this; } /** + * + * *
          * A list of the word-specific information for each word in the segment.
          * 
* - * repeated .google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment.WordInfo words = 3; + * + * repeated .google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment.WordInfo words = 3; + * */ public Builder clearWords() { if (wordsBuilder_ == null) { @@ -4390,11 +5265,15 @@ public Builder clearWords() { return this; } /** + * + * *
          * A list of the word-specific information for each word in the segment.
          * 
* - * repeated .google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment.WordInfo words = 3; + * + * repeated .google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment.WordInfo words = 3; + * */ public Builder removeWords(int index) { if (wordsBuilder_ == null) { @@ -4407,39 +5286,57 @@ public Builder removeWords(int index) { return this; } /** + * + * *
          * A list of the word-specific information for each word in the segment.
          * 
* - * repeated .google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment.WordInfo words = 3; + * + * repeated .google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment.WordInfo words = 3; + * */ - public com.google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment.WordInfo.Builder getWordsBuilder( - int index) { + public com.google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment + .WordInfo.Builder + getWordsBuilder(int index) { return getWordsFieldBuilder().getBuilder(index); } /** + * + * *
          * A list of the word-specific information for each word in the segment.
          * 
* - * repeated .google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment.WordInfo words = 3; + * + * repeated .google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment.WordInfo words = 3; + * */ - public com.google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment.WordInfoOrBuilder getWordsOrBuilder( - int index) { + public com.google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment + .WordInfoOrBuilder + getWordsOrBuilder(int index) { if (wordsBuilder_ == null) { - return words_.get(index); } else { + return words_.get(index); + } else { return wordsBuilder_.getMessageOrBuilder(index); } } /** + * + * *
          * A list of the word-specific information for each word in the segment.
          * 
* - * repeated .google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment.WordInfo words = 3; + * + * repeated .google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment.WordInfo words = 3; + * */ - public java.util.List - getWordsOrBuilderList() { + public java.util.List< + ? extends + com.google.cloud.contactcenterinsights.v1.Conversation.Transcript + .TranscriptSegment.WordInfoOrBuilder> + getWordsOrBuilderList() { if (wordsBuilder_ != null) { return wordsBuilder_.getMessageOrBuilderList(); } else { @@ -4447,49 +5344,80 @@ public com.google.cloud.contactcenterinsights.v1.Conversation.Transcript.Transcr } } /** + * + * *
          * A list of the word-specific information for each word in the segment.
          * 
* - * repeated .google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment.WordInfo words = 3; + * + * repeated .google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment.WordInfo words = 3; + * */ - public com.google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment.WordInfo.Builder addWordsBuilder() { - return getWordsFieldBuilder().addBuilder( - com.google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment.WordInfo.getDefaultInstance()); + public com.google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment + .WordInfo.Builder + addWordsBuilder() { + return getWordsFieldBuilder() + .addBuilder( + com.google.cloud.contactcenterinsights.v1.Conversation.Transcript + .TranscriptSegment.WordInfo.getDefaultInstance()); } /** + * + * *
          * A list of the word-specific information for each word in the segment.
          * 
* - * repeated .google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment.WordInfo words = 3; + * + * repeated .google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment.WordInfo words = 3; + * */ - public com.google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment.WordInfo.Builder addWordsBuilder( - int index) { - return getWordsFieldBuilder().addBuilder( - index, com.google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment.WordInfo.getDefaultInstance()); + public com.google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment + .WordInfo.Builder + addWordsBuilder(int index) { + return getWordsFieldBuilder() + .addBuilder( + index, + com.google.cloud.contactcenterinsights.v1.Conversation.Transcript + .TranscriptSegment.WordInfo.getDefaultInstance()); } /** + * + * *
          * A list of the word-specific information for each word in the segment.
          * 
* - * repeated .google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment.WordInfo words = 3; + * + * repeated .google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment.WordInfo words = 3; + * */ - public java.util.List - getWordsBuilderList() { + public java.util.List< + com.google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment + .WordInfo.Builder> + getWordsBuilderList() { return getWordsFieldBuilder().getBuilderList(); } + private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment.WordInfo, com.google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment.WordInfo.Builder, com.google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment.WordInfoOrBuilder> + com.google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment + .WordInfo, + com.google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment + .WordInfo.Builder, + com.google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment + .WordInfoOrBuilder> getWordsFieldBuilder() { if (wordsBuilder_ == null) { - wordsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment.WordInfo, com.google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment.WordInfo.Builder, com.google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment.WordInfoOrBuilder>( - words_, - ((bitField0_ & 0x00000008) != 0), - getParentForChildren(), - isClean()); + wordsBuilder_ = + new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.contactcenterinsights.v1.Conversation.Transcript + .TranscriptSegment.WordInfo, + com.google.cloud.contactcenterinsights.v1.Conversation.Transcript + .TranscriptSegment.WordInfo.Builder, + com.google.cloud.contactcenterinsights.v1.Conversation.Transcript + .TranscriptSegment.WordInfoOrBuilder>( + words_, ((bitField0_ & 0x00000008) != 0), getParentForChildren(), isClean()); words_ = null; } return wordsBuilder_; @@ -4497,6 +5425,8 @@ public com.google.cloud.contactcenterinsights.v1.Conversation.Transcript.Transcr private java.lang.Object languageCode_ = ""; /** + * + * *
          * The language code of this segment as a
          * [BCP-47](https://www.rfc-editor.org/rfc/bcp/bcp47.txt) language tag.
@@ -4504,13 +5434,13 @@ public com.google.cloud.contactcenterinsights.v1.Conversation.Transcript.Transcr
          * 
* * string language_code = 4; + * * @return The languageCode. */ public java.lang.String getLanguageCode() { java.lang.Object ref = languageCode_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); languageCode_ = s; return s; @@ -4519,6 +5449,8 @@ public java.lang.String getLanguageCode() { } } /** + * + * *
          * The language code of this segment as a
          * [BCP-47](https://www.rfc-editor.org/rfc/bcp/bcp47.txt) language tag.
@@ -4526,15 +5458,14 @@ public java.lang.String getLanguageCode() {
          * 
* * string language_code = 4; + * * @return The bytes for languageCode. */ - public com.google.protobuf.ByteString - getLanguageCodeBytes() { + public com.google.protobuf.ByteString getLanguageCodeBytes() { java.lang.Object ref = languageCode_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); languageCode_ = b; return b; } else { @@ -4542,6 +5473,8 @@ public java.lang.String getLanguageCode() { } } /** + * + * *
          * The language code of this segment as a
          * [BCP-47](https://www.rfc-editor.org/rfc/bcp/bcp47.txt) language tag.
@@ -4549,18 +5482,22 @@ public java.lang.String getLanguageCode() {
          * 
* * string language_code = 4; + * * @param value The languageCode to set. * @return This builder for chaining. */ - public Builder setLanguageCode( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setLanguageCode(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } languageCode_ = value; bitField0_ |= 0x00000010; onChanged(); return this; } /** + * + * *
          * The language code of this segment as a
          * [BCP-47](https://www.rfc-editor.org/rfc/bcp/bcp47.txt) language tag.
@@ -4568,6 +5505,7 @@ public Builder setLanguageCode(
          * 
* * string language_code = 4; + * * @return This builder for chaining. */ public Builder clearLanguageCode() { @@ -4577,6 +5515,8 @@ public Builder clearLanguageCode() { return this; } /** + * + * *
          * The language code of this segment as a
          * [BCP-47](https://www.rfc-editor.org/rfc/bcp/bcp47.txt) language tag.
@@ -4584,12 +5524,14 @@ public Builder clearLanguageCode() {
          * 
* * string language_code = 4; + * * @param value The bytes for languageCode to set. * @return This builder for chaining. */ - public Builder setLanguageCodeBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setLanguageCodeBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); languageCode_ = value; bitField0_ |= 0x00000010; @@ -4597,8 +5539,10 @@ public Builder setLanguageCodeBytes( return this; } - private int channelTag_ ; + private int channelTag_; /** + * + * *
          * For conversations derived from multi-channel audio, this is the channel
          * number corresponding to the audio from that channel. For
@@ -4607,6 +5551,7 @@ public Builder setLanguageCodeBytes(
          * 
* * int32 channel_tag = 5; + * * @return The channelTag. */ @java.lang.Override @@ -4614,6 +5559,8 @@ public int getChannelTag() { return channelTag_; } /** + * + * *
          * For conversations derived from multi-channel audio, this is the channel
          * number corresponding to the audio from that channel. For
@@ -4622,17 +5569,20 @@ public int getChannelTag() {
          * 
* * int32 channel_tag = 5; + * * @param value The channelTag to set. * @return This builder for chaining. */ public Builder setChannelTag(int value) { - + channelTag_ = value; bitField0_ |= 0x00000020; onChanged(); return this; } /** + * + * *
          * For conversations derived from multi-channel audio, this is the channel
          * number corresponding to the audio from that channel. For
@@ -4641,6 +5591,7 @@ public Builder setChannelTag(int value) {
          * 
* * int32 channel_tag = 5; + * * @return This builder for chaining. */ public Builder clearChannelTag() { @@ -4650,43 +5601,66 @@ public Builder clearChannelTag() { return this; } - private com.google.cloud.contactcenterinsights.v1.ConversationParticipant segmentParticipant_; + private com.google.cloud.contactcenterinsights.v1.ConversationParticipant + segmentParticipant_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.contactcenterinsights.v1.ConversationParticipant, com.google.cloud.contactcenterinsights.v1.ConversationParticipant.Builder, com.google.cloud.contactcenterinsights.v1.ConversationParticipantOrBuilder> segmentParticipantBuilder_; + com.google.cloud.contactcenterinsights.v1.ConversationParticipant, + com.google.cloud.contactcenterinsights.v1.ConversationParticipant.Builder, + com.google.cloud.contactcenterinsights.v1.ConversationParticipantOrBuilder> + segmentParticipantBuilder_; /** + * + * *
          * The participant of this segment.
          * 
* - * .google.cloud.contactcenterinsights.v1.ConversationParticipant segment_participant = 9; + * + * .google.cloud.contactcenterinsights.v1.ConversationParticipant segment_participant = 9; + * + * * @return Whether the segmentParticipant field is set. */ public boolean hasSegmentParticipant() { return ((bitField0_ & 0x00000040) != 0); } /** + * + * *
          * The participant of this segment.
          * 
* - * .google.cloud.contactcenterinsights.v1.ConversationParticipant segment_participant = 9; + * + * .google.cloud.contactcenterinsights.v1.ConversationParticipant segment_participant = 9; + * + * * @return The segmentParticipant. */ - public com.google.cloud.contactcenterinsights.v1.ConversationParticipant getSegmentParticipant() { + public com.google.cloud.contactcenterinsights.v1.ConversationParticipant + getSegmentParticipant() { if (segmentParticipantBuilder_ == null) { - return segmentParticipant_ == null ? com.google.cloud.contactcenterinsights.v1.ConversationParticipant.getDefaultInstance() : segmentParticipant_; + return segmentParticipant_ == null + ? com.google.cloud.contactcenterinsights.v1.ConversationParticipant + .getDefaultInstance() + : segmentParticipant_; } else { return segmentParticipantBuilder_.getMessage(); } } /** + * + * *
          * The participant of this segment.
          * 
* - * .google.cloud.contactcenterinsights.v1.ConversationParticipant segment_participant = 9; + * + * .google.cloud.contactcenterinsights.v1.ConversationParticipant segment_participant = 9; + * */ - public Builder setSegmentParticipant(com.google.cloud.contactcenterinsights.v1.ConversationParticipant value) { + public Builder setSegmentParticipant( + com.google.cloud.contactcenterinsights.v1.ConversationParticipant value) { if (segmentParticipantBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -4700,14 +5674,19 @@ public Builder setSegmentParticipant(com.google.cloud.contactcenterinsights.v1.C return this; } /** + * + * *
          * The participant of this segment.
          * 
* - * .google.cloud.contactcenterinsights.v1.ConversationParticipant segment_participant = 9; + * + * .google.cloud.contactcenterinsights.v1.ConversationParticipant segment_participant = 9; + * */ public Builder setSegmentParticipant( - com.google.cloud.contactcenterinsights.v1.ConversationParticipant.Builder builderForValue) { + com.google.cloud.contactcenterinsights.v1.ConversationParticipant.Builder + builderForValue) { if (segmentParticipantBuilder_ == null) { segmentParticipant_ = builderForValue.build(); } else { @@ -4718,17 +5697,24 @@ public Builder setSegmentParticipant( return this; } /** + * + * *
          * The participant of this segment.
          * 
* - * .google.cloud.contactcenterinsights.v1.ConversationParticipant segment_participant = 9; + * + * .google.cloud.contactcenterinsights.v1.ConversationParticipant segment_participant = 9; + * */ - public Builder mergeSegmentParticipant(com.google.cloud.contactcenterinsights.v1.ConversationParticipant value) { + public Builder mergeSegmentParticipant( + com.google.cloud.contactcenterinsights.v1.ConversationParticipant value) { if (segmentParticipantBuilder_ == null) { - if (((bitField0_ & 0x00000040) != 0) && - segmentParticipant_ != null && - segmentParticipant_ != com.google.cloud.contactcenterinsights.v1.ConversationParticipant.getDefaultInstance()) { + if (((bitField0_ & 0x00000040) != 0) + && segmentParticipant_ != null + && segmentParticipant_ + != com.google.cloud.contactcenterinsights.v1.ConversationParticipant + .getDefaultInstance()) { getSegmentParticipantBuilder().mergeFrom(value); } else { segmentParticipant_ = value; @@ -4741,11 +5727,15 @@ public Builder mergeSegmentParticipant(com.google.cloud.contactcenterinsights.v1 return this; } /** + * + * *
          * The participant of this segment.
          * 
* - * .google.cloud.contactcenterinsights.v1.ConversationParticipant segment_participant = 9; + * + * .google.cloud.contactcenterinsights.v1.ConversationParticipant segment_participant = 9; + * */ public Builder clearSegmentParticipant() { bitField0_ = (bitField0_ & ~0x00000040); @@ -4758,90 +5748,139 @@ public Builder clearSegmentParticipant() { return this; } /** + * + * *
          * The participant of this segment.
          * 
* - * .google.cloud.contactcenterinsights.v1.ConversationParticipant segment_participant = 9; + * + * .google.cloud.contactcenterinsights.v1.ConversationParticipant segment_participant = 9; + * */ - public com.google.cloud.contactcenterinsights.v1.ConversationParticipant.Builder getSegmentParticipantBuilder() { + public com.google.cloud.contactcenterinsights.v1.ConversationParticipant.Builder + getSegmentParticipantBuilder() { bitField0_ |= 0x00000040; onChanged(); return getSegmentParticipantFieldBuilder().getBuilder(); } /** + * + * *
          * The participant of this segment.
          * 
* - * .google.cloud.contactcenterinsights.v1.ConversationParticipant segment_participant = 9; + * + * .google.cloud.contactcenterinsights.v1.ConversationParticipant segment_participant = 9; + * */ - public com.google.cloud.contactcenterinsights.v1.ConversationParticipantOrBuilder getSegmentParticipantOrBuilder() { + public com.google.cloud.contactcenterinsights.v1.ConversationParticipantOrBuilder + getSegmentParticipantOrBuilder() { if (segmentParticipantBuilder_ != null) { return segmentParticipantBuilder_.getMessageOrBuilder(); } else { - return segmentParticipant_ == null ? - com.google.cloud.contactcenterinsights.v1.ConversationParticipant.getDefaultInstance() : segmentParticipant_; + return segmentParticipant_ == null + ? com.google.cloud.contactcenterinsights.v1.ConversationParticipant + .getDefaultInstance() + : segmentParticipant_; } } /** + * + * *
          * The participant of this segment.
          * 
* - * .google.cloud.contactcenterinsights.v1.ConversationParticipant segment_participant = 9; + * + * .google.cloud.contactcenterinsights.v1.ConversationParticipant segment_participant = 9; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.contactcenterinsights.v1.ConversationParticipant, com.google.cloud.contactcenterinsights.v1.ConversationParticipant.Builder, com.google.cloud.contactcenterinsights.v1.ConversationParticipantOrBuilder> + com.google.cloud.contactcenterinsights.v1.ConversationParticipant, + com.google.cloud.contactcenterinsights.v1.ConversationParticipant.Builder, + com.google.cloud.contactcenterinsights.v1.ConversationParticipantOrBuilder> getSegmentParticipantFieldBuilder() { if (segmentParticipantBuilder_ == null) { - segmentParticipantBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.contactcenterinsights.v1.ConversationParticipant, com.google.cloud.contactcenterinsights.v1.ConversationParticipant.Builder, com.google.cloud.contactcenterinsights.v1.ConversationParticipantOrBuilder>( - getSegmentParticipant(), - getParentForChildren(), - isClean()); + segmentParticipantBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.contactcenterinsights.v1.ConversationParticipant, + com.google.cloud.contactcenterinsights.v1.ConversationParticipant.Builder, + com.google.cloud.contactcenterinsights.v1.ConversationParticipantOrBuilder>( + getSegmentParticipant(), getParentForChildren(), isClean()); segmentParticipant_ = null; } return segmentParticipantBuilder_; } - private com.google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment.DialogflowSegmentMetadata dialogflowSegmentMetadata_; + private com.google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment + .DialogflowSegmentMetadata + dialogflowSegmentMetadata_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment.DialogflowSegmentMetadata, com.google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment.DialogflowSegmentMetadata.Builder, com.google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment.DialogflowSegmentMetadataOrBuilder> dialogflowSegmentMetadataBuilder_; + com.google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment + .DialogflowSegmentMetadata, + com.google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment + .DialogflowSegmentMetadata.Builder, + com.google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment + .DialogflowSegmentMetadataOrBuilder> + dialogflowSegmentMetadataBuilder_; /** + * + * *
          * CCAI metadata relating to the current transcript segment.
          * 
* - * .google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment.DialogflowSegmentMetadata dialogflow_segment_metadata = 10; + * + * .google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment.DialogflowSegmentMetadata dialogflow_segment_metadata = 10; + * + * * @return Whether the dialogflowSegmentMetadata field is set. */ public boolean hasDialogflowSegmentMetadata() { return ((bitField0_ & 0x00000080) != 0); } /** + * + * *
          * CCAI metadata relating to the current transcript segment.
          * 
* - * .google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment.DialogflowSegmentMetadata dialogflow_segment_metadata = 10; + * + * .google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment.DialogflowSegmentMetadata dialogflow_segment_metadata = 10; + * + * * @return The dialogflowSegmentMetadata. */ - public com.google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment.DialogflowSegmentMetadata getDialogflowSegmentMetadata() { + public com.google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment + .DialogflowSegmentMetadata + getDialogflowSegmentMetadata() { if (dialogflowSegmentMetadataBuilder_ == null) { - return dialogflowSegmentMetadata_ == null ? com.google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment.DialogflowSegmentMetadata.getDefaultInstance() : dialogflowSegmentMetadata_; + return dialogflowSegmentMetadata_ == null + ? com.google.cloud.contactcenterinsights.v1.Conversation.Transcript + .TranscriptSegment.DialogflowSegmentMetadata.getDefaultInstance() + : dialogflowSegmentMetadata_; } else { return dialogflowSegmentMetadataBuilder_.getMessage(); } } /** + * + * *
          * CCAI metadata relating to the current transcript segment.
          * 
* - * .google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment.DialogflowSegmentMetadata dialogflow_segment_metadata = 10; + * + * .google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment.DialogflowSegmentMetadata dialogflow_segment_metadata = 10; + * */ - public Builder setDialogflowSegmentMetadata(com.google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment.DialogflowSegmentMetadata value) { + public Builder setDialogflowSegmentMetadata( + com.google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment + .DialogflowSegmentMetadata + value) { if (dialogflowSegmentMetadataBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -4855,14 +5894,20 @@ public Builder setDialogflowSegmentMetadata(com.google.cloud.contactcenterinsigh return this; } /** + * + * *
          * CCAI metadata relating to the current transcript segment.
          * 
* - * .google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment.DialogflowSegmentMetadata dialogflow_segment_metadata = 10; + * + * .google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment.DialogflowSegmentMetadata dialogflow_segment_metadata = 10; + * */ public Builder setDialogflowSegmentMetadata( - com.google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment.DialogflowSegmentMetadata.Builder builderForValue) { + com.google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment + .DialogflowSegmentMetadata.Builder + builderForValue) { if (dialogflowSegmentMetadataBuilder_ == null) { dialogflowSegmentMetadata_ = builderForValue.build(); } else { @@ -4873,17 +5918,26 @@ public Builder setDialogflowSegmentMetadata( return this; } /** + * + * *
          * CCAI metadata relating to the current transcript segment.
          * 
* - * .google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment.DialogflowSegmentMetadata dialogflow_segment_metadata = 10; + * + * .google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment.DialogflowSegmentMetadata dialogflow_segment_metadata = 10; + * */ - public Builder mergeDialogflowSegmentMetadata(com.google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment.DialogflowSegmentMetadata value) { + public Builder mergeDialogflowSegmentMetadata( + com.google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment + .DialogflowSegmentMetadata + value) { if (dialogflowSegmentMetadataBuilder_ == null) { - if (((bitField0_ & 0x00000080) != 0) && - dialogflowSegmentMetadata_ != null && - dialogflowSegmentMetadata_ != com.google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment.DialogflowSegmentMetadata.getDefaultInstance()) { + if (((bitField0_ & 0x00000080) != 0) + && dialogflowSegmentMetadata_ != null + && dialogflowSegmentMetadata_ + != com.google.cloud.contactcenterinsights.v1.Conversation.Transcript + .TranscriptSegment.DialogflowSegmentMetadata.getDefaultInstance()) { getDialogflowSegmentMetadataBuilder().mergeFrom(value); } else { dialogflowSegmentMetadata_ = value; @@ -4896,11 +5950,15 @@ public Builder mergeDialogflowSegmentMetadata(com.google.cloud.contactcenterinsi return this; } /** + * + * *
          * CCAI metadata relating to the current transcript segment.
          * 
* - * .google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment.DialogflowSegmentMetadata dialogflow_segment_metadata = 10; + * + * .google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment.DialogflowSegmentMetadata dialogflow_segment_metadata = 10; + * */ public Builder clearDialogflowSegmentMetadata() { bitField0_ = (bitField0_ & ~0x00000080); @@ -4913,48 +5971,75 @@ public Builder clearDialogflowSegmentMetadata() { return this; } /** + * + * *
          * CCAI metadata relating to the current transcript segment.
          * 
* - * .google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment.DialogflowSegmentMetadata dialogflow_segment_metadata = 10; + * + * .google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment.DialogflowSegmentMetadata dialogflow_segment_metadata = 10; + * */ - public com.google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment.DialogflowSegmentMetadata.Builder getDialogflowSegmentMetadataBuilder() { + public com.google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment + .DialogflowSegmentMetadata.Builder + getDialogflowSegmentMetadataBuilder() { bitField0_ |= 0x00000080; onChanged(); return getDialogflowSegmentMetadataFieldBuilder().getBuilder(); } /** + * + * *
          * CCAI metadata relating to the current transcript segment.
          * 
* - * .google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment.DialogflowSegmentMetadata dialogflow_segment_metadata = 10; + * + * .google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment.DialogflowSegmentMetadata dialogflow_segment_metadata = 10; + * */ - public com.google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment.DialogflowSegmentMetadataOrBuilder getDialogflowSegmentMetadataOrBuilder() { + public com.google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment + .DialogflowSegmentMetadataOrBuilder + getDialogflowSegmentMetadataOrBuilder() { if (dialogflowSegmentMetadataBuilder_ != null) { return dialogflowSegmentMetadataBuilder_.getMessageOrBuilder(); } else { - return dialogflowSegmentMetadata_ == null ? - com.google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment.DialogflowSegmentMetadata.getDefaultInstance() : dialogflowSegmentMetadata_; + return dialogflowSegmentMetadata_ == null + ? com.google.cloud.contactcenterinsights.v1.Conversation.Transcript + .TranscriptSegment.DialogflowSegmentMetadata.getDefaultInstance() + : dialogflowSegmentMetadata_; } } /** + * + * *
          * CCAI metadata relating to the current transcript segment.
          * 
* - * .google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment.DialogflowSegmentMetadata dialogflow_segment_metadata = 10; + * + * .google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment.DialogflowSegmentMetadata dialogflow_segment_metadata = 10; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment.DialogflowSegmentMetadata, com.google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment.DialogflowSegmentMetadata.Builder, com.google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment.DialogflowSegmentMetadataOrBuilder> + com.google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment + .DialogflowSegmentMetadata, + com.google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment + .DialogflowSegmentMetadata.Builder, + com.google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment + .DialogflowSegmentMetadataOrBuilder> getDialogflowSegmentMetadataFieldBuilder() { if (dialogflowSegmentMetadataBuilder_ == null) { - dialogflowSegmentMetadataBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment.DialogflowSegmentMetadata, com.google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment.DialogflowSegmentMetadata.Builder, com.google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment.DialogflowSegmentMetadataOrBuilder>( - getDialogflowSegmentMetadata(), - getParentForChildren(), - isClean()); + dialogflowSegmentMetadataBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.contactcenterinsights.v1.Conversation.Transcript + .TranscriptSegment.DialogflowSegmentMetadata, + com.google.cloud.contactcenterinsights.v1.Conversation.Transcript + .TranscriptSegment.DialogflowSegmentMetadata.Builder, + com.google.cloud.contactcenterinsights.v1.Conversation.Transcript + .TranscriptSegment.DialogflowSegmentMetadataOrBuilder>( + getDialogflowSegmentMetadata(), getParentForChildren(), isClean()); dialogflowSegmentMetadata_ = null; } return dialogflowSegmentMetadataBuilder_; @@ -4962,34 +6047,47 @@ public com.google.cloud.contactcenterinsights.v1.Conversation.Transcript.Transcr private com.google.cloud.contactcenterinsights.v1.SentimentData sentiment_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.contactcenterinsights.v1.SentimentData, com.google.cloud.contactcenterinsights.v1.SentimentData.Builder, com.google.cloud.contactcenterinsights.v1.SentimentDataOrBuilder> sentimentBuilder_; + com.google.cloud.contactcenterinsights.v1.SentimentData, + com.google.cloud.contactcenterinsights.v1.SentimentData.Builder, + com.google.cloud.contactcenterinsights.v1.SentimentDataOrBuilder> + sentimentBuilder_; /** + * + * *
          * The sentiment for this transcript segment.
          * 
* * .google.cloud.contactcenterinsights.v1.SentimentData sentiment = 11; + * * @return Whether the sentiment field is set. */ public boolean hasSentiment() { return ((bitField0_ & 0x00000100) != 0); } /** + * + * *
          * The sentiment for this transcript segment.
          * 
* * .google.cloud.contactcenterinsights.v1.SentimentData sentiment = 11; + * * @return The sentiment. */ public com.google.cloud.contactcenterinsights.v1.SentimentData getSentiment() { if (sentimentBuilder_ == null) { - return sentiment_ == null ? com.google.cloud.contactcenterinsights.v1.SentimentData.getDefaultInstance() : sentiment_; + return sentiment_ == null + ? com.google.cloud.contactcenterinsights.v1.SentimentData.getDefaultInstance() + : sentiment_; } else { return sentimentBuilder_.getMessage(); } } /** + * + * *
          * The sentiment for this transcript segment.
          * 
@@ -5010,6 +6108,8 @@ public Builder setSentiment(com.google.cloud.contactcenterinsights.v1.SentimentD return this; } /** + * + * *
          * The sentiment for this transcript segment.
          * 
@@ -5028,17 +6128,22 @@ public Builder setSentiment( return this; } /** + * + * *
          * The sentiment for this transcript segment.
          * 
* * .google.cloud.contactcenterinsights.v1.SentimentData sentiment = 11; */ - public Builder mergeSentiment(com.google.cloud.contactcenterinsights.v1.SentimentData value) { + public Builder mergeSentiment( + com.google.cloud.contactcenterinsights.v1.SentimentData value) { if (sentimentBuilder_ == null) { - if (((bitField0_ & 0x00000100) != 0) && - sentiment_ != null && - sentiment_ != com.google.cloud.contactcenterinsights.v1.SentimentData.getDefaultInstance()) { + if (((bitField0_ & 0x00000100) != 0) + && sentiment_ != null + && sentiment_ + != com.google.cloud.contactcenterinsights.v1.SentimentData + .getDefaultInstance()) { getSentimentBuilder().mergeFrom(value); } else { sentiment_ = value; @@ -5051,6 +6156,8 @@ public Builder mergeSentiment(com.google.cloud.contactcenterinsights.v1.Sentimen return this; } /** + * + * *
          * The sentiment for this transcript segment.
          * 
@@ -5068,33 +6175,42 @@ public Builder clearSentiment() { return this; } /** + * + * *
          * The sentiment for this transcript segment.
          * 
* * .google.cloud.contactcenterinsights.v1.SentimentData sentiment = 11; */ - public com.google.cloud.contactcenterinsights.v1.SentimentData.Builder getSentimentBuilder() { + public com.google.cloud.contactcenterinsights.v1.SentimentData.Builder + getSentimentBuilder() { bitField0_ |= 0x00000100; onChanged(); return getSentimentFieldBuilder().getBuilder(); } /** + * + * *
          * The sentiment for this transcript segment.
          * 
* * .google.cloud.contactcenterinsights.v1.SentimentData sentiment = 11; */ - public com.google.cloud.contactcenterinsights.v1.SentimentDataOrBuilder getSentimentOrBuilder() { + public com.google.cloud.contactcenterinsights.v1.SentimentDataOrBuilder + getSentimentOrBuilder() { if (sentimentBuilder_ != null) { return sentimentBuilder_.getMessageOrBuilder(); } else { - return sentiment_ == null ? - com.google.cloud.contactcenterinsights.v1.SentimentData.getDefaultInstance() : sentiment_; + return sentiment_ == null + ? com.google.cloud.contactcenterinsights.v1.SentimentData.getDefaultInstance() + : sentiment_; } } /** + * + * *
          * The sentiment for this transcript segment.
          * 
@@ -5102,18 +6218,22 @@ public com.google.cloud.contactcenterinsights.v1.SentimentDataOrBuilder getSenti * .google.cloud.contactcenterinsights.v1.SentimentData sentiment = 11; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.contactcenterinsights.v1.SentimentData, com.google.cloud.contactcenterinsights.v1.SentimentData.Builder, com.google.cloud.contactcenterinsights.v1.SentimentDataOrBuilder> + com.google.cloud.contactcenterinsights.v1.SentimentData, + com.google.cloud.contactcenterinsights.v1.SentimentData.Builder, + com.google.cloud.contactcenterinsights.v1.SentimentDataOrBuilder> getSentimentFieldBuilder() { if (sentimentBuilder_ == null) { - sentimentBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.contactcenterinsights.v1.SentimentData, com.google.cloud.contactcenterinsights.v1.SentimentData.Builder, com.google.cloud.contactcenterinsights.v1.SentimentDataOrBuilder>( - getSentiment(), - getParentForChildren(), - isClean()); + sentimentBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.contactcenterinsights.v1.SentimentData, + com.google.cloud.contactcenterinsights.v1.SentimentData.Builder, + com.google.cloud.contactcenterinsights.v1.SentimentDataOrBuilder>( + getSentiment(), getParentForChildren(), isClean()); sentiment_ = null; } return sentimentBuilder_; } + @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -5126,41 +6246,48 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment) } // @@protoc_insertion_point(class_scope:google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment) - private static final com.google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment DEFAULT_INSTANCE; + private static final com.google.cloud.contactcenterinsights.v1.Conversation.Transcript + .TranscriptSegment + DEFAULT_INSTANCE; + static { - DEFAULT_INSTANCE = new com.google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment(); + DEFAULT_INSTANCE = + new com.google.cloud.contactcenterinsights.v1.Conversation.Transcript + .TranscriptSegment(); } - public static com.google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment getDefaultInstance() { + public static com.google.cloud.contactcenterinsights.v1.Conversation.Transcript + .TranscriptSegment + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public TranscriptSegment parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public TranscriptSegment parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException() + .setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -5172,74 +6299,105 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment getDefaultInstanceForType() { + public com.google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } public static final int TRANSCRIPT_SEGMENTS_FIELD_NUMBER = 1; + @SuppressWarnings("serial") - private java.util.List transcriptSegments_; + private java.util.List< + com.google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment> + transcriptSegments_; /** + * + * *
      * A list of sequential transcript segments that comprise the conversation.
      * 
* - * repeated .google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment transcript_segments = 1; + * + * repeated .google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment transcript_segments = 1; + * */ @java.lang.Override - public java.util.List getTranscriptSegmentsList() { + public java.util.List< + com.google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment> + getTranscriptSegmentsList() { return transcriptSegments_; } /** + * + * *
      * A list of sequential transcript segments that comprise the conversation.
      * 
* - * repeated .google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment transcript_segments = 1; + * + * repeated .google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment transcript_segments = 1; + * */ @java.lang.Override - public java.util.List + public java.util.List< + ? extends + com.google.cloud.contactcenterinsights.v1.Conversation.Transcript + .TranscriptSegmentOrBuilder> getTranscriptSegmentsOrBuilderList() { return transcriptSegments_; } /** + * + * *
      * A list of sequential transcript segments that comprise the conversation.
      * 
* - * repeated .google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment transcript_segments = 1; + * + * repeated .google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment transcript_segments = 1; + * */ @java.lang.Override public int getTranscriptSegmentsCount() { return transcriptSegments_.size(); } /** + * + * *
      * A list of sequential transcript segments that comprise the conversation.
      * 
* - * repeated .google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment transcript_segments = 1; + * + * repeated .google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment transcript_segments = 1; + * */ @java.lang.Override - public com.google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment getTranscriptSegments(int index) { + public com.google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment + getTranscriptSegments(int index) { return transcriptSegments_.get(index); } /** + * + * *
      * A list of sequential transcript segments that comprise the conversation.
      * 
* - * repeated .google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment transcript_segments = 1; + * + * repeated .google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment transcript_segments = 1; + * */ @java.lang.Override - public com.google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegmentOrBuilder getTranscriptSegmentsOrBuilder( - int index) { + public com.google.cloud.contactcenterinsights.v1.Conversation.Transcript + .TranscriptSegmentOrBuilder + getTranscriptSegmentsOrBuilder(int index) { return transcriptSegments_.get(index); } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -5251,8 +6409,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { for (int i = 0; i < transcriptSegments_.size(); i++) { output.writeMessage(1, transcriptSegments_.get(i)); } @@ -5266,8 +6423,8 @@ public int getSerializedSize() { size = 0; for (int i = 0; i < transcriptSegments_.size(); i++) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, transcriptSegments_.get(i)); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize(1, transcriptSegments_.get(i)); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -5277,15 +6434,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.contactcenterinsights.v1.Conversation.Transcript)) { return super.equals(obj); } - com.google.cloud.contactcenterinsights.v1.Conversation.Transcript other = (com.google.cloud.contactcenterinsights.v1.Conversation.Transcript) obj; + com.google.cloud.contactcenterinsights.v1.Conversation.Transcript other = + (com.google.cloud.contactcenterinsights.v1.Conversation.Transcript) obj; - if (!getTranscriptSegmentsList() - .equals(other.getTranscriptSegmentsList())) return false; + if (!getTranscriptSegmentsList().equals(other.getTranscriptSegmentsList())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -5307,87 +6464,95 @@ public int hashCode() { } public static com.google.cloud.contactcenterinsights.v1.Conversation.Transcript parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.contactcenterinsights.v1.Conversation.Transcript parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.contactcenterinsights.v1.Conversation.Transcript parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.contactcenterinsights.v1.Conversation.Transcript parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.contactcenterinsights.v1.Conversation.Transcript parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.contactcenterinsights.v1.Conversation.Transcript parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.contactcenterinsights.v1.Conversation.Transcript parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.contactcenterinsights.v1.Conversation.Transcript parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.contactcenterinsights.v1.Conversation.Transcript parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.contactcenterinsights.v1.Conversation.Transcript parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.contactcenterinsights.v1.Conversation.Transcript parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.contactcenterinsights.v1.Conversation.Transcript + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.contactcenterinsights.v1.Conversation.Transcript parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + + public static com.google.cloud.contactcenterinsights.v1.Conversation.Transcript + parseDelimitedFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.contactcenterinsights.v1.Conversation.Transcript parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.contactcenterinsights.v1.Conversation.Transcript parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.contactcenterinsights.v1.Conversation.Transcript prototype) { + + public static Builder newBuilder( + com.google.cloud.contactcenterinsights.v1.Conversation.Transcript prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -5397,39 +6562,42 @@ protected Builder newBuilderForType( return builder; } /** + * + * *
      * A message representing the transcript of a conversation.
      * 
* * Protobuf type {@code google.cloud.contactcenterinsights.v1.Conversation.Transcript} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder + extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.contactcenterinsights.v1.Conversation.Transcript) com.google.cloud.contactcenterinsights.v1.Conversation.TranscriptOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.contactcenterinsights.v1.ResourcesProto.internal_static_google_cloud_contactcenterinsights_v1_Conversation_Transcript_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.contactcenterinsights.v1.ResourcesProto + .internal_static_google_cloud_contactcenterinsights_v1_Conversation_Transcript_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.contactcenterinsights.v1.ResourcesProto.internal_static_google_cloud_contactcenterinsights_v1_Conversation_Transcript_fieldAccessorTable + return com.google.cloud.contactcenterinsights.v1.ResourcesProto + .internal_static_google_cloud_contactcenterinsights_v1_Conversation_Transcript_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.contactcenterinsights.v1.Conversation.Transcript.class, com.google.cloud.contactcenterinsights.v1.Conversation.Transcript.Builder.class); + com.google.cloud.contactcenterinsights.v1.Conversation.Transcript.class, + com.google.cloud.contactcenterinsights.v1.Conversation.Transcript.Builder.class); } - // Construct using com.google.cloud.contactcenterinsights.v1.Conversation.Transcript.newBuilder() - private Builder() { + // Construct using + // com.google.cloud.contactcenterinsights.v1.Conversation.Transcript.newBuilder() + private Builder() {} - } - - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -5445,14 +6613,16 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.contactcenterinsights.v1.ResourcesProto.internal_static_google_cloud_contactcenterinsights_v1_Conversation_Transcript_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.contactcenterinsights.v1.ResourcesProto + .internal_static_google_cloud_contactcenterinsights_v1_Conversation_Transcript_descriptor; } @java.lang.Override - public com.google.cloud.contactcenterinsights.v1.Conversation.Transcript getDefaultInstanceForType() { - return com.google.cloud.contactcenterinsights.v1.Conversation.Transcript.getDefaultInstance(); + public com.google.cloud.contactcenterinsights.v1.Conversation.Transcript + getDefaultInstanceForType() { + return com.google.cloud.contactcenterinsights.v1.Conversation.Transcript + .getDefaultInstance(); } @java.lang.Override @@ -5466,14 +6636,18 @@ public com.google.cloud.contactcenterinsights.v1.Conversation.Transcript build() @java.lang.Override public com.google.cloud.contactcenterinsights.v1.Conversation.Transcript buildPartial() { - com.google.cloud.contactcenterinsights.v1.Conversation.Transcript result = new com.google.cloud.contactcenterinsights.v1.Conversation.Transcript(this); + com.google.cloud.contactcenterinsights.v1.Conversation.Transcript result = + new com.google.cloud.contactcenterinsights.v1.Conversation.Transcript(this); buildPartialRepeatedFields(result); - if (bitField0_ != 0) { buildPartial0(result); } + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } - private void buildPartialRepeatedFields(com.google.cloud.contactcenterinsights.v1.Conversation.Transcript result) { + private void buildPartialRepeatedFields( + com.google.cloud.contactcenterinsights.v1.Conversation.Transcript result) { if (transcriptSegmentsBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { transcriptSegments_ = java.util.Collections.unmodifiableList(transcriptSegments_); @@ -5485,7 +6659,8 @@ private void buildPartialRepeatedFields(com.google.cloud.contactcenterinsights.v } } - private void buildPartial0(com.google.cloud.contactcenterinsights.v1.Conversation.Transcript result) { + private void buildPartial0( + com.google.cloud.contactcenterinsights.v1.Conversation.Transcript result) { int from_bitField0_ = bitField0_; } @@ -5493,46 +6668,53 @@ private void buildPartial0(com.google.cloud.contactcenterinsights.v1.Conversatio public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + int index, + java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.contactcenterinsights.v1.Conversation.Transcript) { - return mergeFrom((com.google.cloud.contactcenterinsights.v1.Conversation.Transcript)other); + return mergeFrom( + (com.google.cloud.contactcenterinsights.v1.Conversation.Transcript) other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.google.cloud.contactcenterinsights.v1.Conversation.Transcript other) { - if (other == com.google.cloud.contactcenterinsights.v1.Conversation.Transcript.getDefaultInstance()) return this; + public Builder mergeFrom( + com.google.cloud.contactcenterinsights.v1.Conversation.Transcript other) { + if (other + == com.google.cloud.contactcenterinsights.v1.Conversation.Transcript + .getDefaultInstance()) return this; if (transcriptSegmentsBuilder_ == null) { if (!other.transcriptSegments_.isEmpty()) { if (transcriptSegments_.isEmpty()) { @@ -5551,9 +6733,10 @@ public Builder mergeFrom(com.google.cloud.contactcenterinsights.v1.Conversation. transcriptSegmentsBuilder_ = null; transcriptSegments_ = other.transcriptSegments_; bitField0_ = (bitField0_ & ~0x00000001); - transcriptSegmentsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? - getTranscriptSegmentsFieldBuilder() : null; + transcriptSegmentsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders + ? getTranscriptSegmentsFieldBuilder() + : null; } else { transcriptSegmentsBuilder_.addAllMessages(other.transcriptSegments_); } @@ -5585,25 +6768,30 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - com.google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment m = - input.readMessage( - com.google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment.parser(), - extensionRegistry); - if (transcriptSegmentsBuilder_ == null) { - ensureTranscriptSegmentsIsMutable(); - transcriptSegments_.add(m); - } else { - transcriptSegmentsBuilder_.addMessage(m); - } - break; - } // case 10 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + com.google.cloud.contactcenterinsights.v1.Conversation.Transcript + .TranscriptSegment + m = + input.readMessage( + com.google.cloud.contactcenterinsights.v1.Conversation.Transcript + .TranscriptSegment.parser(), + extensionRegistry); + if (transcriptSegmentsBuilder_ == null) { + ensureTranscriptSegmentsIsMutable(); + transcriptSegments_.add(m); + } else { + transcriptSegmentsBuilder_.addMessage(m); + } + break; + } // case 10 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -5613,28 +6801,45 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; - private java.util.List transcriptSegments_ = - java.util.Collections.emptyList(); + private java.util.List< + com.google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment> + transcriptSegments_ = java.util.Collections.emptyList(); + private void ensureTranscriptSegmentsIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { - transcriptSegments_ = new java.util.ArrayList(transcriptSegments_); + transcriptSegments_ = + new java.util.ArrayList< + com.google.cloud.contactcenterinsights.v1.Conversation.Transcript + .TranscriptSegment>(transcriptSegments_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment, com.google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment.Builder, com.google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegmentOrBuilder> transcriptSegmentsBuilder_; + com.google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment, + com.google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment + .Builder, + com.google.cloud.contactcenterinsights.v1.Conversation.Transcript + .TranscriptSegmentOrBuilder> + transcriptSegmentsBuilder_; /** + * + * *
        * A list of sequential transcript segments that comprise the conversation.
        * 
* - * repeated .google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment transcript_segments = 1; + * + * repeated .google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment transcript_segments = 1; + * */ - public java.util.List getTranscriptSegmentsList() { + public java.util.List< + com.google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment> + getTranscriptSegmentsList() { if (transcriptSegmentsBuilder_ == null) { return java.util.Collections.unmodifiableList(transcriptSegments_); } else { @@ -5642,11 +6847,15 @@ public java.util.List * A list of sequential transcript segments that comprise the conversation. *
* - * repeated .google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment transcript_segments = 1; + * + * repeated .google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment transcript_segments = 1; + * */ public int getTranscriptSegmentsCount() { if (transcriptSegmentsBuilder_ == null) { @@ -5656,13 +6865,18 @@ public int getTranscriptSegmentsCount() { } } /** + * + * *
        * A list of sequential transcript segments that comprise the conversation.
        * 
* - * repeated .google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment transcript_segments = 1; + * + * repeated .google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment transcript_segments = 1; + * */ - public com.google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment getTranscriptSegments(int index) { + public com.google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment + getTranscriptSegments(int index) { if (transcriptSegmentsBuilder_ == null) { return transcriptSegments_.get(index); } else { @@ -5670,14 +6884,20 @@ public com.google.cloud.contactcenterinsights.v1.Conversation.Transcript.Transcr } } /** + * + * *
        * A list of sequential transcript segments that comprise the conversation.
        * 
* - * repeated .google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment transcript_segments = 1; + * + * repeated .google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment transcript_segments = 1; + * */ public Builder setTranscriptSegments( - int index, com.google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment value) { + int index, + com.google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment + value) { if (transcriptSegmentsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -5691,14 +6911,21 @@ public Builder setTranscriptSegments( return this; } /** + * + * *
        * A list of sequential transcript segments that comprise the conversation.
        * 
* - * repeated .google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment transcript_segments = 1; + * + * repeated .google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment transcript_segments = 1; + * */ public Builder setTranscriptSegments( - int index, com.google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment.Builder builderForValue) { + int index, + com.google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment + .Builder + builderForValue) { if (transcriptSegmentsBuilder_ == null) { ensureTranscriptSegmentsIsMutable(); transcriptSegments_.set(index, builderForValue.build()); @@ -5709,13 +6936,19 @@ public Builder setTranscriptSegments( return this; } /** + * + * *
        * A list of sequential transcript segments that comprise the conversation.
        * 
* - * repeated .google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment transcript_segments = 1; + * + * repeated .google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment transcript_segments = 1; + * */ - public Builder addTranscriptSegments(com.google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment value) { + public Builder addTranscriptSegments( + com.google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment + value) { if (transcriptSegmentsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -5729,14 +6962,20 @@ public Builder addTranscriptSegments(com.google.cloud.contactcenterinsights.v1.C return this; } /** + * + * *
        * A list of sequential transcript segments that comprise the conversation.
        * 
* - * repeated .google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment transcript_segments = 1; + * + * repeated .google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment transcript_segments = 1; + * */ public Builder addTranscriptSegments( - int index, com.google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment value) { + int index, + com.google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment + value) { if (transcriptSegmentsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -5750,14 +6989,20 @@ public Builder addTranscriptSegments( return this; } /** + * + * *
        * A list of sequential transcript segments that comprise the conversation.
        * 
* - * repeated .google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment transcript_segments = 1; + * + * repeated .google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment transcript_segments = 1; + * */ public Builder addTranscriptSegments( - com.google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment.Builder builderForValue) { + com.google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment + .Builder + builderForValue) { if (transcriptSegmentsBuilder_ == null) { ensureTranscriptSegmentsIsMutable(); transcriptSegments_.add(builderForValue.build()); @@ -5768,14 +7013,21 @@ public Builder addTranscriptSegments( return this; } /** + * + * *
        * A list of sequential transcript segments that comprise the conversation.
        * 
* - * repeated .google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment transcript_segments = 1; + * + * repeated .google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment transcript_segments = 1; + * */ public Builder addTranscriptSegments( - int index, com.google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment.Builder builderForValue) { + int index, + com.google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment + .Builder + builderForValue) { if (transcriptSegmentsBuilder_ == null) { ensureTranscriptSegmentsIsMutable(); transcriptSegments_.add(index, builderForValue.build()); @@ -5786,18 +7038,25 @@ public Builder addTranscriptSegments( return this; } /** + * + * *
        * A list of sequential transcript segments that comprise the conversation.
        * 
* - * repeated .google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment transcript_segments = 1; + * + * repeated .google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment transcript_segments = 1; + * */ public Builder addAllTranscriptSegments( - java.lang.Iterable values) { + java.lang.Iterable< + ? extends + com.google.cloud.contactcenterinsights.v1.Conversation.Transcript + .TranscriptSegment> + values) { if (transcriptSegmentsBuilder_ == null) { ensureTranscriptSegmentsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, transcriptSegments_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, transcriptSegments_); onChanged(); } else { transcriptSegmentsBuilder_.addAllMessages(values); @@ -5805,11 +7064,15 @@ public Builder addAllTranscriptSegments( return this; } /** + * + * *
        * A list of sequential transcript segments that comprise the conversation.
        * 
* - * repeated .google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment transcript_segments = 1; + * + * repeated .google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment transcript_segments = 1; + * */ public Builder clearTranscriptSegments() { if (transcriptSegmentsBuilder_ == null) { @@ -5822,11 +7085,15 @@ public Builder clearTranscriptSegments() { return this; } /** + * + * *
        * A list of sequential transcript segments that comprise the conversation.
        * 
* - * repeated .google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment transcript_segments = 1; + * + * repeated .google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment transcript_segments = 1; + * */ public Builder removeTranscriptSegments(int index) { if (transcriptSegmentsBuilder_ == null) { @@ -5839,39 +7106,57 @@ public Builder removeTranscriptSegments(int index) { return this; } /** + * + * *
        * A list of sequential transcript segments that comprise the conversation.
        * 
* - * repeated .google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment transcript_segments = 1; + * + * repeated .google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment transcript_segments = 1; + * */ - public com.google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment.Builder getTranscriptSegmentsBuilder( - int index) { + public com.google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment + .Builder + getTranscriptSegmentsBuilder(int index) { return getTranscriptSegmentsFieldBuilder().getBuilder(index); } /** + * + * *
        * A list of sequential transcript segments that comprise the conversation.
        * 
* - * repeated .google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment transcript_segments = 1; + * + * repeated .google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment transcript_segments = 1; + * */ - public com.google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegmentOrBuilder getTranscriptSegmentsOrBuilder( - int index) { + public com.google.cloud.contactcenterinsights.v1.Conversation.Transcript + .TranscriptSegmentOrBuilder + getTranscriptSegmentsOrBuilder(int index) { if (transcriptSegmentsBuilder_ == null) { - return transcriptSegments_.get(index); } else { + return transcriptSegments_.get(index); + } else { return transcriptSegmentsBuilder_.getMessageOrBuilder(index); } } /** + * + * *
        * A list of sequential transcript segments that comprise the conversation.
        * 
* - * repeated .google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment transcript_segments = 1; + * + * repeated .google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment transcript_segments = 1; + * */ - public java.util.List - getTranscriptSegmentsOrBuilderList() { + public java.util.List< + ? extends + com.google.cloud.contactcenterinsights.v1.Conversation.Transcript + .TranscriptSegmentOrBuilder> + getTranscriptSegmentsOrBuilderList() { if (transcriptSegmentsBuilder_ != null) { return transcriptSegmentsBuilder_.getMessageOrBuilderList(); } else { @@ -5879,45 +7164,78 @@ public com.google.cloud.contactcenterinsights.v1.Conversation.Transcript.Transcr } } /** + * + * *
        * A list of sequential transcript segments that comprise the conversation.
        * 
* - * repeated .google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment transcript_segments = 1; + * + * repeated .google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment transcript_segments = 1; + * */ - public com.google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment.Builder addTranscriptSegmentsBuilder() { - return getTranscriptSegmentsFieldBuilder().addBuilder( - com.google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment.getDefaultInstance()); + public com.google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment + .Builder + addTranscriptSegmentsBuilder() { + return getTranscriptSegmentsFieldBuilder() + .addBuilder( + com.google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment + .getDefaultInstance()); } /** + * + * *
        * A list of sequential transcript segments that comprise the conversation.
        * 
* - * repeated .google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment transcript_segments = 1; + * + * repeated .google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment transcript_segments = 1; + * */ - public com.google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment.Builder addTranscriptSegmentsBuilder( - int index) { - return getTranscriptSegmentsFieldBuilder().addBuilder( - index, com.google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment.getDefaultInstance()); + public com.google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment + .Builder + addTranscriptSegmentsBuilder(int index) { + return getTranscriptSegmentsFieldBuilder() + .addBuilder( + index, + com.google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment + .getDefaultInstance()); } /** + * + * *
        * A list of sequential transcript segments that comprise the conversation.
        * 
* - * repeated .google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment transcript_segments = 1; + * + * repeated .google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment transcript_segments = 1; + * */ - public java.util.List - getTranscriptSegmentsBuilderList() { + public java.util.List< + com.google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment + .Builder> + getTranscriptSegmentsBuilderList() { return getTranscriptSegmentsFieldBuilder().getBuilderList(); } + private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment, com.google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment.Builder, com.google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegmentOrBuilder> + com.google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment, + com.google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment + .Builder, + com.google.cloud.contactcenterinsights.v1.Conversation.Transcript + .TranscriptSegmentOrBuilder> getTranscriptSegmentsFieldBuilder() { if (transcriptSegmentsBuilder_ == null) { - transcriptSegmentsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment, com.google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment.Builder, com.google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegmentOrBuilder>( + transcriptSegmentsBuilder_ = + new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.contactcenterinsights.v1.Conversation.Transcript + .TranscriptSegment, + com.google.cloud.contactcenterinsights.v1.Conversation.Transcript + .TranscriptSegment.Builder, + com.google.cloud.contactcenterinsights.v1.Conversation.Transcript + .TranscriptSegmentOrBuilder>( transcriptSegments_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), @@ -5926,6 +7244,7 @@ public com.google.cloud.contactcenterinsights.v1.Conversation.Transcript.Transcr } return transcriptSegmentsBuilder_; } + @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -5938,41 +7257,44 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.contactcenterinsights.v1.Conversation.Transcript) } // @@protoc_insertion_point(class_scope:google.cloud.contactcenterinsights.v1.Conversation.Transcript) - private static final com.google.cloud.contactcenterinsights.v1.Conversation.Transcript DEFAULT_INSTANCE; + private static final com.google.cloud.contactcenterinsights.v1.Conversation.Transcript + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.contactcenterinsights.v1.Conversation.Transcript(); } - public static com.google.cloud.contactcenterinsights.v1.Conversation.Transcript getDefaultInstance() { + public static com.google.cloud.contactcenterinsights.v1.Conversation.Transcript + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public Transcript parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public Transcript parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException() + .setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -5984,20 +7306,23 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.cloud.contactcenterinsights.v1.Conversation.Transcript getDefaultInstanceForType() { + public com.google.cloud.contactcenterinsights.v1.Conversation.Transcript + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } private int metadataCase_ = 0; private java.lang.Object metadata_; + public enum MetadataCase - implements com.google.protobuf.Internal.EnumLite, + implements + com.google.protobuf.Internal.EnumLite, com.google.protobuf.AbstractMessage.InternalOneOfEnum { CALL_METADATA(7), METADATA_NOT_SET(0); private final int value; + private MetadataCase(int value) { this.value = value; } @@ -6013,31 +7338,36 @@ public static MetadataCase valueOf(int value) { public static MetadataCase forNumber(int value) { switch (value) { - case 7: return CALL_METADATA; - case 0: return METADATA_NOT_SET; - default: return null; + case 7: + return CALL_METADATA; + case 0: + return METADATA_NOT_SET; + default: + return null; } } + public int getNumber() { return this.value; } }; - public MetadataCase - getMetadataCase() { - return MetadataCase.forNumber( - metadataCase_); + public MetadataCase getMetadataCase() { + return MetadataCase.forNumber(metadataCase_); } private int expirationCase_ = 0; private java.lang.Object expiration_; + public enum ExpirationCase - implements com.google.protobuf.Internal.EnumLite, + implements + com.google.protobuf.Internal.EnumLite, com.google.protobuf.AbstractMessage.InternalOneOfEnum { EXPIRE_TIME(15), TTL(16), EXPIRATION_NOT_SET(0); private final int value; + private ExpirationCase(int value) { this.value = value; } @@ -6053,30 +7383,37 @@ public static ExpirationCase valueOf(int value) { public static ExpirationCase forNumber(int value) { switch (value) { - case 15: return EXPIRE_TIME; - case 16: return TTL; - case 0: return EXPIRATION_NOT_SET; - default: return null; + case 15: + return EXPIRE_TIME; + case 16: + return TTL; + case 0: + return EXPIRATION_NOT_SET; + default: + return null; } } + public int getNumber() { return this.value; } }; - public ExpirationCase - getExpirationCase() { - return ExpirationCase.forNumber( - expirationCase_); + public ExpirationCase getExpirationCase() { + return ExpirationCase.forNumber(expirationCase_); } public static final int CALL_METADATA_FIELD_NUMBER = 7; /** + * + * *
    * Call-specific metadata.
    * 
* - * .google.cloud.contactcenterinsights.v1.Conversation.CallMetadata call_metadata = 7; + * .google.cloud.contactcenterinsights.v1.Conversation.CallMetadata call_metadata = 7; + * + * * @return Whether the callMetadata field is set. */ @java.lang.Override @@ -6084,43 +7421,54 @@ public boolean hasCallMetadata() { return metadataCase_ == 7; } /** + * + * *
    * Call-specific metadata.
    * 
* - * .google.cloud.contactcenterinsights.v1.Conversation.CallMetadata call_metadata = 7; + * .google.cloud.contactcenterinsights.v1.Conversation.CallMetadata call_metadata = 7; + * + * * @return The callMetadata. */ @java.lang.Override public com.google.cloud.contactcenterinsights.v1.Conversation.CallMetadata getCallMetadata() { if (metadataCase_ == 7) { - return (com.google.cloud.contactcenterinsights.v1.Conversation.CallMetadata) metadata_; + return (com.google.cloud.contactcenterinsights.v1.Conversation.CallMetadata) metadata_; } return com.google.cloud.contactcenterinsights.v1.Conversation.CallMetadata.getDefaultInstance(); } /** + * + * *
    * Call-specific metadata.
    * 
* - * .google.cloud.contactcenterinsights.v1.Conversation.CallMetadata call_metadata = 7; + * .google.cloud.contactcenterinsights.v1.Conversation.CallMetadata call_metadata = 7; + * */ @java.lang.Override - public com.google.cloud.contactcenterinsights.v1.Conversation.CallMetadataOrBuilder getCallMetadataOrBuilder() { + public com.google.cloud.contactcenterinsights.v1.Conversation.CallMetadataOrBuilder + getCallMetadataOrBuilder() { if (metadataCase_ == 7) { - return (com.google.cloud.contactcenterinsights.v1.Conversation.CallMetadata) metadata_; + return (com.google.cloud.contactcenterinsights.v1.Conversation.CallMetadata) metadata_; } return com.google.cloud.contactcenterinsights.v1.Conversation.CallMetadata.getDefaultInstance(); } public static final int EXPIRE_TIME_FIELD_NUMBER = 15; /** + * + * *
    * The time at which this conversation should expire. After this time, the
    * conversation data and any associated analyses will be deleted.
    * 
* * .google.protobuf.Timestamp expire_time = 15; + * * @return Whether the expireTime field is set. */ @java.lang.Override @@ -6128,22 +7476,27 @@ public boolean hasExpireTime() { return expirationCase_ == 15; } /** + * + * *
    * The time at which this conversation should expire. After this time, the
    * conversation data and any associated analyses will be deleted.
    * 
* * .google.protobuf.Timestamp expire_time = 15; + * * @return The expireTime. */ @java.lang.Override public com.google.protobuf.Timestamp getExpireTime() { if (expirationCase_ == 15) { - return (com.google.protobuf.Timestamp) expiration_; + return (com.google.protobuf.Timestamp) expiration_; } return com.google.protobuf.Timestamp.getDefaultInstance(); } /** + * + * *
    * The time at which this conversation should expire. After this time, the
    * conversation data and any associated analyses will be deleted.
@@ -6154,19 +7507,22 @@ public com.google.protobuf.Timestamp getExpireTime() {
   @java.lang.Override
   public com.google.protobuf.TimestampOrBuilder getExpireTimeOrBuilder() {
     if (expirationCase_ == 15) {
-       return (com.google.protobuf.Timestamp) expiration_;
+      return (com.google.protobuf.Timestamp) expiration_;
     }
     return com.google.protobuf.Timestamp.getDefaultInstance();
   }
 
   public static final int TTL_FIELD_NUMBER = 16;
   /**
+   *
+   *
    * 
    * Input only. The TTL for this resource. If specified, then this TTL will
    * be used to calculate the expire time.
    * 
* * .google.protobuf.Duration ttl = 16 [(.google.api.field_behavior) = INPUT_ONLY]; + * * @return Whether the ttl field is set. */ @java.lang.Override @@ -6174,22 +7530,27 @@ public boolean hasTtl() { return expirationCase_ == 16; } /** + * + * *
    * Input only. The TTL for this resource. If specified, then this TTL will
    * be used to calculate the expire time.
    * 
* * .google.protobuf.Duration ttl = 16 [(.google.api.field_behavior) = INPUT_ONLY]; + * * @return The ttl. */ @java.lang.Override public com.google.protobuf.Duration getTtl() { if (expirationCase_ == 16) { - return (com.google.protobuf.Duration) expiration_; + return (com.google.protobuf.Duration) expiration_; } return com.google.protobuf.Duration.getDefaultInstance(); } /** + * + * *
    * Input only. The TTL for this resource. If specified, then this TTL will
    * be used to calculate the expire time.
@@ -6200,15 +7561,18 @@ public com.google.protobuf.Duration getTtl() {
   @java.lang.Override
   public com.google.protobuf.DurationOrBuilder getTtlOrBuilder() {
     if (expirationCase_ == 16) {
-       return (com.google.protobuf.Duration) expiration_;
+      return (com.google.protobuf.Duration) expiration_;
     }
     return com.google.protobuf.Duration.getDefaultInstance();
   }
 
   public static final int NAME_FIELD_NUMBER = 1;
+
   @SuppressWarnings("serial")
   private volatile java.lang.Object name_ = "";
   /**
+   *
+   *
    * 
    * Immutable. The resource name of the conversation.
    * Format:
@@ -6216,6 +7580,7 @@ public com.google.protobuf.DurationOrBuilder getTtlOrBuilder() {
    * 
* * string name = 1 [(.google.api.field_behavior) = IMMUTABLE]; + * * @return The name. */ @java.lang.Override @@ -6224,14 +7589,15 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** + * + * *
    * Immutable. The resource name of the conversation.
    * Format:
@@ -6239,16 +7605,15 @@ public java.lang.String getName() {
    * 
* * string name = 1 [(.google.api.field_behavior) = IMMUTABLE]; + * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -6259,11 +7624,14 @@ public java.lang.String getName() { public static final int DATA_SOURCE_FIELD_NUMBER = 2; private com.google.cloud.contactcenterinsights.v1.ConversationDataSource dataSource_; /** + * + * *
    * The source of the audio and transcription for the conversation.
    * 
* * .google.cloud.contactcenterinsights.v1.ConversationDataSource data_source = 2; + * * @return Whether the dataSource field is set. */ @java.lang.Override @@ -6271,18 +7639,25 @@ public boolean hasDataSource() { return dataSource_ != null; } /** + * + * *
    * The source of the audio and transcription for the conversation.
    * 
* * .google.cloud.contactcenterinsights.v1.ConversationDataSource data_source = 2; + * * @return The dataSource. */ @java.lang.Override public com.google.cloud.contactcenterinsights.v1.ConversationDataSource getDataSource() { - return dataSource_ == null ? com.google.cloud.contactcenterinsights.v1.ConversationDataSource.getDefaultInstance() : dataSource_; + return dataSource_ == null + ? com.google.cloud.contactcenterinsights.v1.ConversationDataSource.getDefaultInstance() + : dataSource_; } /** + * + * *
    * The source of the audio and transcription for the conversation.
    * 
@@ -6290,18 +7665,25 @@ public com.google.cloud.contactcenterinsights.v1.ConversationDataSource getDataS * .google.cloud.contactcenterinsights.v1.ConversationDataSource data_source = 2; */ @java.lang.Override - public com.google.cloud.contactcenterinsights.v1.ConversationDataSourceOrBuilder getDataSourceOrBuilder() { - return dataSource_ == null ? com.google.cloud.contactcenterinsights.v1.ConversationDataSource.getDefaultInstance() : dataSource_; + public com.google.cloud.contactcenterinsights.v1.ConversationDataSourceOrBuilder + getDataSourceOrBuilder() { + return dataSource_ == null + ? com.google.cloud.contactcenterinsights.v1.ConversationDataSource.getDefaultInstance() + : dataSource_; } public static final int CREATE_TIME_FIELD_NUMBER = 3; private com.google.protobuf.Timestamp createTime_; /** + * + * *
    * Output only. The time at which the conversation was created.
    * 
* - * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the createTime field is set. */ @java.lang.Override @@ -6309,11 +7691,15 @@ public boolean hasCreateTime() { return createTime_ != null; } /** + * + * *
    * Output only. The time at which the conversation was created.
    * 
* - * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The createTime. */ @java.lang.Override @@ -6321,11 +7707,14 @@ public com.google.protobuf.Timestamp getCreateTime() { return createTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : createTime_; } /** + * + * *
    * Output only. The time at which the conversation was created.
    * 
* - * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ @java.lang.Override public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { @@ -6335,11 +7724,15 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { public static final int UPDATE_TIME_FIELD_NUMBER = 4; private com.google.protobuf.Timestamp updateTime_; /** + * + * *
    * Output only. The most recent time at which the conversation was updated.
    * 
* - * .google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the updateTime field is set. */ @java.lang.Override @@ -6347,11 +7740,15 @@ public boolean hasUpdateTime() { return updateTime_ != null; } /** + * + * *
    * Output only. The most recent time at which the conversation was updated.
    * 
* - * .google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The updateTime. */ @java.lang.Override @@ -6359,11 +7756,14 @@ public com.google.protobuf.Timestamp getUpdateTime() { return updateTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : updateTime_; } /** + * + * *
    * Output only. The most recent time at which the conversation was updated.
    * 
* - * .google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ @java.lang.Override public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { @@ -6373,11 +7773,14 @@ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { public static final int START_TIME_FIELD_NUMBER = 17; private com.google.protobuf.Timestamp startTime_; /** + * + * *
    * The time at which the conversation started.
    * 
* * .google.protobuf.Timestamp start_time = 17; + * * @return Whether the startTime field is set. */ @java.lang.Override @@ -6385,11 +7788,14 @@ public boolean hasStartTime() { return startTime_ != null; } /** + * + * *
    * The time at which the conversation started.
    * 
* * .google.protobuf.Timestamp start_time = 17; + * * @return The startTime. */ @java.lang.Override @@ -6397,6 +7803,8 @@ public com.google.protobuf.Timestamp getStartTime() { return startTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : startTime_; } /** + * + * *
    * The time at which the conversation started.
    * 
@@ -6409,14 +7817,18 @@ public com.google.protobuf.TimestampOrBuilder getStartTimeOrBuilder() { } public static final int LANGUAGE_CODE_FIELD_NUMBER = 14; + @SuppressWarnings("serial") private volatile java.lang.Object languageCode_ = ""; /** + * + * *
    * A user-specified language code for the conversation.
    * 
* * string language_code = 14; + * * @return The languageCode. */ @java.lang.Override @@ -6425,29 +7837,29 @@ public java.lang.String getLanguageCode() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); languageCode_ = s; return s; } } /** + * + * *
    * A user-specified language code for the conversation.
    * 
* * string language_code = 14; + * * @return The bytes for languageCode. */ @java.lang.Override - public com.google.protobuf.ByteString - getLanguageCodeBytes() { + public com.google.protobuf.ByteString getLanguageCodeBytes() { java.lang.Object ref = languageCode_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); languageCode_ = b; return b; } else { @@ -6456,15 +7868,19 @@ public java.lang.String getLanguageCode() { } public static final int AGENT_ID_FIELD_NUMBER = 5; + @SuppressWarnings("serial") private volatile java.lang.Object agentId_ = ""; /** + * + * *
    * An opaque, user-specified string representing the human agent who handled
    * the conversation.
    * 
* * string agent_id = 5; + * * @return The agentId. */ @java.lang.Override @@ -6473,30 +7889,30 @@ public java.lang.String getAgentId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); agentId_ = s; return s; } } /** + * + * *
    * An opaque, user-specified string representing the human agent who handled
    * the conversation.
    * 
* * string agent_id = 5; + * * @return The bytes for agentId. */ @java.lang.Override - public com.google.protobuf.ByteString - getAgentIdBytes() { + public com.google.protobuf.ByteString getAgentIdBytes() { java.lang.Object ref = agentId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); agentId_ = b; return b; } else { @@ -6505,32 +7921,34 @@ public java.lang.String getAgentId() { } public static final int LABELS_FIELD_NUMBER = 6; + private static final class LabelsDefaultEntryHolder { - static final com.google.protobuf.MapEntry< - java.lang.String, java.lang.String> defaultEntry = - com.google.protobuf.MapEntry - .newDefaultInstance( - com.google.cloud.contactcenterinsights.v1.ResourcesProto.internal_static_google_cloud_contactcenterinsights_v1_Conversation_LabelsEntry_descriptor, - com.google.protobuf.WireFormat.FieldType.STRING, - "", - com.google.protobuf.WireFormat.FieldType.STRING, - ""); + static final com.google.protobuf.MapEntry defaultEntry = + com.google.protobuf.MapEntry.newDefaultInstance( + com.google.cloud.contactcenterinsights.v1.ResourcesProto + .internal_static_google_cloud_contactcenterinsights_v1_Conversation_LabelsEntry_descriptor, + com.google.protobuf.WireFormat.FieldType.STRING, + "", + com.google.protobuf.WireFormat.FieldType.STRING, + ""); } + @SuppressWarnings("serial") - private com.google.protobuf.MapField< - java.lang.String, java.lang.String> labels_; - private com.google.protobuf.MapField - internalGetLabels() { + private com.google.protobuf.MapField labels_; + + private com.google.protobuf.MapField internalGetLabels() { if (labels_ == null) { - return com.google.protobuf.MapField.emptyMapField( - LabelsDefaultEntryHolder.defaultEntry); + return com.google.protobuf.MapField.emptyMapField(LabelsDefaultEntryHolder.defaultEntry); } return labels_; } + public int getLabelsCount() { return internalGetLabels().getMap().size(); } /** + * + * *
    * A map for the user to specify any custom fields. A maximum of 20 labels per
    * conversation is allowed, with a maximum of 256 characters per entry.
@@ -6539,20 +7957,21 @@ public int getLabelsCount() {
    * map<string, string> labels = 6;
    */
   @java.lang.Override
-  public boolean containsLabels(
-      java.lang.String key) {
-    if (key == null) { throw new NullPointerException("map key"); }
+  public boolean containsLabels(java.lang.String key) {
+    if (key == null) {
+      throw new NullPointerException("map key");
+    }
     return internalGetLabels().getMap().containsKey(key);
   }
-  /**
-   * Use {@link #getLabelsMap()} instead.
-   */
+  /** Use {@link #getLabelsMap()} instead. */
   @java.lang.Override
   @java.lang.Deprecated
   public java.util.Map getLabels() {
     return getLabelsMap();
   }
   /**
+   *
+   *
    * 
    * A map for the user to specify any custom fields. A maximum of 20 labels per
    * conversation is allowed, with a maximum of 256 characters per entry.
@@ -6565,6 +7984,8 @@ public java.util.Map getLabelsMap() {
     return internalGetLabels().getMap();
   }
   /**
+   *
+   *
    * 
    * A map for the user to specify any custom fields. A maximum of 20 labels per
    * conversation is allowed, with a maximum of 256 characters per entry.
@@ -6573,17 +7994,19 @@ public java.util.Map getLabelsMap() {
    * map<string, string> labels = 6;
    */
   @java.lang.Override
-  public /* nullable */
-java.lang.String getLabelsOrDefault(
+  public /* nullable */ java.lang.String getLabelsOrDefault(
       java.lang.String key,
       /* nullable */
-java.lang.String defaultValue) {
-    if (key == null) { throw new NullPointerException("map key"); }
-    java.util.Map map =
-        internalGetLabels().getMap();
+      java.lang.String defaultValue) {
+    if (key == null) {
+      throw new NullPointerException("map key");
+    }
+    java.util.Map map = internalGetLabels().getMap();
     return map.containsKey(key) ? map.get(key) : defaultValue;
   }
   /**
+   *
+   *
    * 
    * A map for the user to specify any custom fields. A maximum of 20 labels per
    * conversation is allowed, with a maximum of 256 characters per entry.
@@ -6592,11 +8015,11 @@ java.lang.String getLabelsOrDefault(
    * map<string, string> labels = 6;
    */
   @java.lang.Override
-  public java.lang.String getLabelsOrThrow(
-      java.lang.String key) {
-    if (key == null) { throw new NullPointerException("map key"); }
-    java.util.Map map =
-        internalGetLabels().getMap();
+  public java.lang.String getLabelsOrThrow(java.lang.String key) {
+    if (key == null) {
+      throw new NullPointerException("map key");
+    }
+    java.util.Map map = internalGetLabels().getMap();
     if (!map.containsKey(key)) {
       throw new java.lang.IllegalArgumentException();
     }
@@ -6606,11 +8029,16 @@ public java.lang.String getLabelsOrThrow(
   public static final int TRANSCRIPT_FIELD_NUMBER = 8;
   private com.google.cloud.contactcenterinsights.v1.Conversation.Transcript transcript_;
   /**
+   *
+   *
    * 
    * Output only. The conversation transcript.
    * 
* - * .google.cloud.contactcenterinsights.v1.Conversation.Transcript transcript = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.contactcenterinsights.v1.Conversation.Transcript transcript = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the transcript field is set. */ @java.lang.Override @@ -6618,65 +8046,98 @@ public boolean hasTranscript() { return transcript_ != null; } /** + * + * *
    * Output only. The conversation transcript.
    * 
* - * .google.cloud.contactcenterinsights.v1.Conversation.Transcript transcript = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.contactcenterinsights.v1.Conversation.Transcript transcript = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The transcript. */ @java.lang.Override public com.google.cloud.contactcenterinsights.v1.Conversation.Transcript getTranscript() { - return transcript_ == null ? com.google.cloud.contactcenterinsights.v1.Conversation.Transcript.getDefaultInstance() : transcript_; + return transcript_ == null + ? com.google.cloud.contactcenterinsights.v1.Conversation.Transcript.getDefaultInstance() + : transcript_; } /** + * + * *
    * Output only. The conversation transcript.
    * 
* - * .google.cloud.contactcenterinsights.v1.Conversation.Transcript transcript = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.contactcenterinsights.v1.Conversation.Transcript transcript = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ @java.lang.Override - public com.google.cloud.contactcenterinsights.v1.Conversation.TranscriptOrBuilder getTranscriptOrBuilder() { - return transcript_ == null ? com.google.cloud.contactcenterinsights.v1.Conversation.Transcript.getDefaultInstance() : transcript_; + public com.google.cloud.contactcenterinsights.v1.Conversation.TranscriptOrBuilder + getTranscriptOrBuilder() { + return transcript_ == null + ? com.google.cloud.contactcenterinsights.v1.Conversation.Transcript.getDefaultInstance() + : transcript_; } public static final int MEDIUM_FIELD_NUMBER = 9; private int medium_ = 0; /** + * + * *
    * Immutable. The conversation medium, if unspecified will default to
    * PHONE_CALL.
    * 
* - * .google.cloud.contactcenterinsights.v1.Conversation.Medium medium = 9 [(.google.api.field_behavior) = IMMUTABLE]; + * + * .google.cloud.contactcenterinsights.v1.Conversation.Medium medium = 9 [(.google.api.field_behavior) = IMMUTABLE]; + * + * * @return The enum numeric value on the wire for medium. */ - @java.lang.Override public int getMediumValue() { + @java.lang.Override + public int getMediumValue() { return medium_; } /** + * + * *
    * Immutable. The conversation medium, if unspecified will default to
    * PHONE_CALL.
    * 
* - * .google.cloud.contactcenterinsights.v1.Conversation.Medium medium = 9 [(.google.api.field_behavior) = IMMUTABLE]; + * + * .google.cloud.contactcenterinsights.v1.Conversation.Medium medium = 9 [(.google.api.field_behavior) = IMMUTABLE]; + * + * * @return The medium. */ - @java.lang.Override public com.google.cloud.contactcenterinsights.v1.Conversation.Medium getMedium() { - com.google.cloud.contactcenterinsights.v1.Conversation.Medium result = com.google.cloud.contactcenterinsights.v1.Conversation.Medium.forNumber(medium_); - return result == null ? com.google.cloud.contactcenterinsights.v1.Conversation.Medium.UNRECOGNIZED : result; + @java.lang.Override + public com.google.cloud.contactcenterinsights.v1.Conversation.Medium getMedium() { + com.google.cloud.contactcenterinsights.v1.Conversation.Medium result = + com.google.cloud.contactcenterinsights.v1.Conversation.Medium.forNumber(medium_); + return result == null + ? com.google.cloud.contactcenterinsights.v1.Conversation.Medium.UNRECOGNIZED + : result; } public static final int DURATION_FIELD_NUMBER = 10; private com.google.protobuf.Duration duration_; /** + * + * *
    * Output only. The duration of the conversation.
    * 
* - * .google.protobuf.Duration duration = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Duration duration = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the duration field is set. */ @java.lang.Override @@ -6684,11 +8145,15 @@ public boolean hasDuration() { return duration_ != null; } /** + * + * *
    * Output only. The duration of the conversation.
    * 
* - * .google.protobuf.Duration duration = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Duration duration = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The duration. */ @java.lang.Override @@ -6696,11 +8161,14 @@ public com.google.protobuf.Duration getDuration() { return duration_ == null ? com.google.protobuf.Duration.getDefaultInstance() : duration_; } /** + * + * *
    * Output only. The duration of the conversation.
    * 
* - * .google.protobuf.Duration duration = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Duration duration = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ @java.lang.Override public com.google.protobuf.DurationOrBuilder getDurationOrBuilder() { @@ -6710,11 +8178,14 @@ public com.google.protobuf.DurationOrBuilder getDurationOrBuilder() { public static final int TURN_COUNT_FIELD_NUMBER = 11; private int turnCount_ = 0; /** + * + * *
    * Output only. The number of turns in the conversation.
    * 
* * int32 turn_count = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The turnCount. */ @java.lang.Override @@ -6725,11 +8196,16 @@ public int getTurnCount() { public static final int LATEST_ANALYSIS_FIELD_NUMBER = 12; private com.google.cloud.contactcenterinsights.v1.Analysis latestAnalysis_; /** + * + * *
    * Output only. The conversation's latest analysis, if one exists.
    * 
* - * .google.cloud.contactcenterinsights.v1.Analysis latest_analysis = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.contactcenterinsights.v1.Analysis latest_analysis = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the latestAnalysis field is set. */ @java.lang.Override @@ -6737,192 +8213,261 @@ public boolean hasLatestAnalysis() { return latestAnalysis_ != null; } /** + * + * *
    * Output only. The conversation's latest analysis, if one exists.
    * 
* - * .google.cloud.contactcenterinsights.v1.Analysis latest_analysis = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.contactcenterinsights.v1.Analysis latest_analysis = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The latestAnalysis. */ @java.lang.Override public com.google.cloud.contactcenterinsights.v1.Analysis getLatestAnalysis() { - return latestAnalysis_ == null ? com.google.cloud.contactcenterinsights.v1.Analysis.getDefaultInstance() : latestAnalysis_; + return latestAnalysis_ == null + ? com.google.cloud.contactcenterinsights.v1.Analysis.getDefaultInstance() + : latestAnalysis_; } /** + * + * *
    * Output only. The conversation's latest analysis, if one exists.
    * 
* - * .google.cloud.contactcenterinsights.v1.Analysis latest_analysis = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.contactcenterinsights.v1.Analysis latest_analysis = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ @java.lang.Override public com.google.cloud.contactcenterinsights.v1.AnalysisOrBuilder getLatestAnalysisOrBuilder() { - return latestAnalysis_ == null ? com.google.cloud.contactcenterinsights.v1.Analysis.getDefaultInstance() : latestAnalysis_; + return latestAnalysis_ == null + ? com.google.cloud.contactcenterinsights.v1.Analysis.getDefaultInstance() + : latestAnalysis_; } public static final int RUNTIME_ANNOTATIONS_FIELD_NUMBER = 13; + @SuppressWarnings("serial") - private java.util.List runtimeAnnotations_; + private java.util.List + runtimeAnnotations_; /** + * + * *
    * Output only. The annotations that were generated during the customer and
    * agent interaction.
    * 
* - * repeated .google.cloud.contactcenterinsights.v1.RuntimeAnnotation runtime_annotations = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.contactcenterinsights.v1.RuntimeAnnotation runtime_annotations = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ @java.lang.Override - public java.util.List getRuntimeAnnotationsList() { + public java.util.List + getRuntimeAnnotationsList() { return runtimeAnnotations_; } /** + * + * *
    * Output only. The annotations that were generated during the customer and
    * agent interaction.
    * 
* - * repeated .google.cloud.contactcenterinsights.v1.RuntimeAnnotation runtime_annotations = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.contactcenterinsights.v1.RuntimeAnnotation runtime_annotations = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ @java.lang.Override - public java.util.List + public java.util.List< + ? extends com.google.cloud.contactcenterinsights.v1.RuntimeAnnotationOrBuilder> getRuntimeAnnotationsOrBuilderList() { return runtimeAnnotations_; } /** + * + * *
    * Output only. The annotations that were generated during the customer and
    * agent interaction.
    * 
* - * repeated .google.cloud.contactcenterinsights.v1.RuntimeAnnotation runtime_annotations = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.contactcenterinsights.v1.RuntimeAnnotation runtime_annotations = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ @java.lang.Override public int getRuntimeAnnotationsCount() { return runtimeAnnotations_.size(); } /** + * + * *
    * Output only. The annotations that were generated during the customer and
    * agent interaction.
    * 
* - * repeated .google.cloud.contactcenterinsights.v1.RuntimeAnnotation runtime_annotations = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.contactcenterinsights.v1.RuntimeAnnotation runtime_annotations = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ @java.lang.Override - public com.google.cloud.contactcenterinsights.v1.RuntimeAnnotation getRuntimeAnnotations(int index) { + public com.google.cloud.contactcenterinsights.v1.RuntimeAnnotation getRuntimeAnnotations( + int index) { return runtimeAnnotations_.get(index); } /** + * + * *
    * Output only. The annotations that were generated during the customer and
    * agent interaction.
    * 
* - * repeated .google.cloud.contactcenterinsights.v1.RuntimeAnnotation runtime_annotations = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.contactcenterinsights.v1.RuntimeAnnotation runtime_annotations = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ @java.lang.Override - public com.google.cloud.contactcenterinsights.v1.RuntimeAnnotationOrBuilder getRuntimeAnnotationsOrBuilder( - int index) { + public com.google.cloud.contactcenterinsights.v1.RuntimeAnnotationOrBuilder + getRuntimeAnnotationsOrBuilder(int index) { return runtimeAnnotations_.get(index); } public static final int DIALOGFLOW_INTENTS_FIELD_NUMBER = 18; + private static final class DialogflowIntentsDefaultEntryHolder { static final com.google.protobuf.MapEntry< - java.lang.String, com.google.cloud.contactcenterinsights.v1.DialogflowIntent> defaultEntry = + java.lang.String, com.google.cloud.contactcenterinsights.v1.DialogflowIntent> + defaultEntry = com.google.protobuf.MapEntry - .newDefaultInstance( - com.google.cloud.contactcenterinsights.v1.ResourcesProto.internal_static_google_cloud_contactcenterinsights_v1_Conversation_DialogflowIntentsEntry_descriptor, - com.google.protobuf.WireFormat.FieldType.STRING, - "", - com.google.protobuf.WireFormat.FieldType.MESSAGE, - com.google.cloud.contactcenterinsights.v1.DialogflowIntent.getDefaultInstance()); + . + newDefaultInstance( + com.google.cloud.contactcenterinsights.v1.ResourcesProto + .internal_static_google_cloud_contactcenterinsights_v1_Conversation_DialogflowIntentsEntry_descriptor, + com.google.protobuf.WireFormat.FieldType.STRING, + "", + com.google.protobuf.WireFormat.FieldType.MESSAGE, + com.google.cloud.contactcenterinsights.v1.DialogflowIntent + .getDefaultInstance()); } + @SuppressWarnings("serial") private com.google.protobuf.MapField< - java.lang.String, com.google.cloud.contactcenterinsights.v1.DialogflowIntent> dialogflowIntents_; - private com.google.protobuf.MapField - internalGetDialogflowIntents() { + java.lang.String, com.google.cloud.contactcenterinsights.v1.DialogflowIntent> + dialogflowIntents_; + + private com.google.protobuf.MapField< + java.lang.String, com.google.cloud.contactcenterinsights.v1.DialogflowIntent> + internalGetDialogflowIntents() { if (dialogflowIntents_ == null) { return com.google.protobuf.MapField.emptyMapField( DialogflowIntentsDefaultEntryHolder.defaultEntry); } return dialogflowIntents_; } + public int getDialogflowIntentsCount() { return internalGetDialogflowIntents().getMap().size(); } /** + * + * *
    * Output only. All the matched Dialogflow intents in the call. The key
    * corresponds to a Dialogflow intent, format:
    * projects/{project}/agent/{agent}/intents/{intent}
    * 
* - * map<string, .google.cloud.contactcenterinsights.v1.DialogflowIntent> dialogflow_intents = 18 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * map<string, .google.cloud.contactcenterinsights.v1.DialogflowIntent> dialogflow_intents = 18 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ @java.lang.Override - public boolean containsDialogflowIntents( - java.lang.String key) { - if (key == null) { throw new NullPointerException("map key"); } + public boolean containsDialogflowIntents(java.lang.String key) { + if (key == null) { + throw new NullPointerException("map key"); + } return internalGetDialogflowIntents().getMap().containsKey(key); } - /** - * Use {@link #getDialogflowIntentsMap()} instead. - */ + /** Use {@link #getDialogflowIntentsMap()} instead. */ @java.lang.Override @java.lang.Deprecated - public java.util.Map getDialogflowIntents() { + public java.util.Map + getDialogflowIntents() { return getDialogflowIntentsMap(); } /** + * + * *
    * Output only. All the matched Dialogflow intents in the call. The key
    * corresponds to a Dialogflow intent, format:
    * projects/{project}/agent/{agent}/intents/{intent}
    * 
* - * map<string, .google.cloud.contactcenterinsights.v1.DialogflowIntent> dialogflow_intents = 18 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * map<string, .google.cloud.contactcenterinsights.v1.DialogflowIntent> dialogflow_intents = 18 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ @java.lang.Override - public java.util.Map getDialogflowIntentsMap() { + public java.util.Map + getDialogflowIntentsMap() { return internalGetDialogflowIntents().getMap(); } /** + * + * *
    * Output only. All the matched Dialogflow intents in the call. The key
    * corresponds to a Dialogflow intent, format:
    * projects/{project}/agent/{agent}/intents/{intent}
    * 
* - * map<string, .google.cloud.contactcenterinsights.v1.DialogflowIntent> dialogflow_intents = 18 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * map<string, .google.cloud.contactcenterinsights.v1.DialogflowIntent> dialogflow_intents = 18 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ @java.lang.Override - public /* nullable */ -com.google.cloud.contactcenterinsights.v1.DialogflowIntent getDialogflowIntentsOrDefault( - java.lang.String key, - /* nullable */ -com.google.cloud.contactcenterinsights.v1.DialogflowIntent defaultValue) { - if (key == null) { throw new NullPointerException("map key"); } - java.util.Map map = - internalGetDialogflowIntents().getMap(); + public /* nullable */ com.google.cloud.contactcenterinsights.v1.DialogflowIntent + getDialogflowIntentsOrDefault( + java.lang.String key, + /* nullable */ + com.google.cloud.contactcenterinsights.v1.DialogflowIntent defaultValue) { + if (key == null) { + throw new NullPointerException("map key"); + } + java.util.Map + map = internalGetDialogflowIntents().getMap(); return map.containsKey(key) ? map.get(key) : defaultValue; } /** + * + * *
    * Output only. All the matched Dialogflow intents in the call. The key
    * corresponds to a Dialogflow intent, format:
    * projects/{project}/agent/{agent}/intents/{intent}
    * 
* - * map<string, .google.cloud.contactcenterinsights.v1.DialogflowIntent> dialogflow_intents = 18 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * map<string, .google.cloud.contactcenterinsights.v1.DialogflowIntent> dialogflow_intents = 18 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ @java.lang.Override public com.google.cloud.contactcenterinsights.v1.DialogflowIntent getDialogflowIntentsOrThrow( java.lang.String key) { - if (key == null) { throw new NullPointerException("map key"); } - java.util.Map map = - internalGetDialogflowIntents().getMap(); + if (key == null) { + throw new NullPointerException("map key"); + } + java.util.Map + map = internalGetDialogflowIntents().getMap(); if (!map.containsKey(key)) { throw new java.lang.IllegalArgumentException(); } @@ -6930,14 +8475,18 @@ public com.google.cloud.contactcenterinsights.v1.DialogflowIntent getDialogflowI } public static final int OBFUSCATED_USER_ID_FIELD_NUMBER = 21; + @SuppressWarnings("serial") private volatile java.lang.Object obfuscatedUserId_ = ""; /** + * + * *
    * Obfuscated user ID which the customer sent to us.
    * 
* * string obfuscated_user_id = 21; + * * @return The obfuscatedUserId. */ @java.lang.Override @@ -6946,29 +8495,29 @@ public java.lang.String getObfuscatedUserId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); obfuscatedUserId_ = s; return s; } } /** + * + * *
    * Obfuscated user ID which the customer sent to us.
    * 
* * string obfuscated_user_id = 21; + * * @return The bytes for obfuscatedUserId. */ @java.lang.Override - public com.google.protobuf.ByteString - getObfuscatedUserIdBytes() { + public com.google.protobuf.ByteString getObfuscatedUserIdBytes() { java.lang.Object ref = obfuscatedUserId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); obfuscatedUserId_ = b; return b; } else { @@ -6977,6 +8526,7 @@ public java.lang.String getObfuscatedUserId() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -6988,8 +8538,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -7005,19 +8554,18 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(agentId_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 5, agentId_); } - com.google.protobuf.GeneratedMessageV3 - .serializeStringMapTo( - output, - internalGetLabels(), - LabelsDefaultEntryHolder.defaultEntry, - 6); + com.google.protobuf.GeneratedMessageV3.serializeStringMapTo( + output, internalGetLabels(), LabelsDefaultEntryHolder.defaultEntry, 6); if (metadataCase_ == 7) { - output.writeMessage(7, (com.google.cloud.contactcenterinsights.v1.Conversation.CallMetadata) metadata_); + output.writeMessage( + 7, (com.google.cloud.contactcenterinsights.v1.Conversation.CallMetadata) metadata_); } if (transcript_ != null) { output.writeMessage(8, getTranscript()); } - if (medium_ != com.google.cloud.contactcenterinsights.v1.Conversation.Medium.MEDIUM_UNSPECIFIED.getNumber()) { + if (medium_ + != com.google.cloud.contactcenterinsights.v1.Conversation.Medium.MEDIUM_UNSPECIFIED + .getNumber()) { output.writeEnum(9, medium_); } if (duration_ != null) { @@ -7044,8 +8592,7 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) if (startTime_ != null) { output.writeMessage(17, getStartTime()); } - com.google.protobuf.GeneratedMessageV3 - .serializeStringMapTo( + com.google.protobuf.GeneratedMessageV3.serializeStringMapTo( output, internalGetDialogflowIntents(), DialogflowIntentsDefaultEntryHolder.defaultEntry, @@ -7066,82 +8613,81 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_); } if (dataSource_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, getDataSource()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getDataSource()); } if (createTime_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(3, getCreateTime()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getCreateTime()); } if (updateTime_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(4, getUpdateTime()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(4, getUpdateTime()); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(agentId_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(5, agentId_); } - for (java.util.Map.Entry entry - : internalGetLabels().getMap().entrySet()) { - com.google.protobuf.MapEntry - labels__ = LabelsDefaultEntryHolder.defaultEntry.newBuilderForType() - .setKey(entry.getKey()) - .setValue(entry.getValue()) - .build(); - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(6, labels__); + for (java.util.Map.Entry entry : + internalGetLabels().getMap().entrySet()) { + com.google.protobuf.MapEntry labels__ = + LabelsDefaultEntryHolder.defaultEntry + .newBuilderForType() + .setKey(entry.getKey()) + .setValue(entry.getValue()) + .build(); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(6, labels__); } if (metadataCase_ == 7) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(7, (com.google.cloud.contactcenterinsights.v1.Conversation.CallMetadata) metadata_); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 7, (com.google.cloud.contactcenterinsights.v1.Conversation.CallMetadata) metadata_); } if (transcript_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(8, getTranscript()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(8, getTranscript()); } - if (medium_ != com.google.cloud.contactcenterinsights.v1.Conversation.Medium.MEDIUM_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(9, medium_); + if (medium_ + != com.google.cloud.contactcenterinsights.v1.Conversation.Medium.MEDIUM_UNSPECIFIED + .getNumber()) { + size += com.google.protobuf.CodedOutputStream.computeEnumSize(9, medium_); } if (duration_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(10, getDuration()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(10, getDuration()); } if (turnCount_ != 0) { - size += com.google.protobuf.CodedOutputStream - .computeInt32Size(11, turnCount_); + size += com.google.protobuf.CodedOutputStream.computeInt32Size(11, turnCount_); } if (latestAnalysis_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(12, getLatestAnalysis()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(12, getLatestAnalysis()); } for (int i = 0; i < runtimeAnnotations_.size(); i++) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(13, runtimeAnnotations_.get(i)); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize(13, runtimeAnnotations_.get(i)); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(languageCode_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(14, languageCode_); } if (expirationCase_ == 15) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(15, (com.google.protobuf.Timestamp) expiration_); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 15, (com.google.protobuf.Timestamp) expiration_); } if (expirationCase_ == 16) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(16, (com.google.protobuf.Duration) expiration_); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 16, (com.google.protobuf.Duration) expiration_); } if (startTime_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(17, getStartTime()); - } - for (java.util.Map.Entry entry - : internalGetDialogflowIntents().getMap().entrySet()) { - com.google.protobuf.MapEntry - dialogflowIntents__ = DialogflowIntentsDefaultEntryHolder.defaultEntry.newBuilderForType() - .setKey(entry.getKey()) - .setValue(entry.getValue()) - .build(); - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(18, dialogflowIntents__); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(17, getStartTime()); + } + for (java.util.Map.Entry< + java.lang.String, com.google.cloud.contactcenterinsights.v1.DialogflowIntent> + entry : internalGetDialogflowIntents().getMap().entrySet()) { + com.google.protobuf.MapEntry< + java.lang.String, com.google.cloud.contactcenterinsights.v1.DialogflowIntent> + dialogflowIntents__ = + DialogflowIntentsDefaultEntryHolder.defaultEntry + .newBuilderForType() + .setKey(entry.getKey()) + .setValue(entry.getValue()) + .build(); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(18, dialogflowIntents__); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(obfuscatedUserId_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(21, obfuscatedUserId_); @@ -7154,70 +8700,55 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.contactcenterinsights.v1.Conversation)) { return super.equals(obj); } - com.google.cloud.contactcenterinsights.v1.Conversation other = (com.google.cloud.contactcenterinsights.v1.Conversation) obj; + com.google.cloud.contactcenterinsights.v1.Conversation other = + (com.google.cloud.contactcenterinsights.v1.Conversation) obj; - if (!getName() - .equals(other.getName())) return false; + if (!getName().equals(other.getName())) return false; if (hasDataSource() != other.hasDataSource()) return false; if (hasDataSource()) { - if (!getDataSource() - .equals(other.getDataSource())) return false; + if (!getDataSource().equals(other.getDataSource())) return false; } if (hasCreateTime() != other.hasCreateTime()) return false; if (hasCreateTime()) { - if (!getCreateTime() - .equals(other.getCreateTime())) return false; + if (!getCreateTime().equals(other.getCreateTime())) return false; } if (hasUpdateTime() != other.hasUpdateTime()) return false; if (hasUpdateTime()) { - if (!getUpdateTime() - .equals(other.getUpdateTime())) return false; + if (!getUpdateTime().equals(other.getUpdateTime())) return false; } if (hasStartTime() != other.hasStartTime()) return false; if (hasStartTime()) { - if (!getStartTime() - .equals(other.getStartTime())) return false; - } - if (!getLanguageCode() - .equals(other.getLanguageCode())) return false; - if (!getAgentId() - .equals(other.getAgentId())) return false; - if (!internalGetLabels().equals( - other.internalGetLabels())) return false; + if (!getStartTime().equals(other.getStartTime())) return false; + } + if (!getLanguageCode().equals(other.getLanguageCode())) return false; + if (!getAgentId().equals(other.getAgentId())) return false; + if (!internalGetLabels().equals(other.internalGetLabels())) return false; if (hasTranscript() != other.hasTranscript()) return false; if (hasTranscript()) { - if (!getTranscript() - .equals(other.getTranscript())) return false; + if (!getTranscript().equals(other.getTranscript())) return false; } if (medium_ != other.medium_) return false; if (hasDuration() != other.hasDuration()) return false; if (hasDuration()) { - if (!getDuration() - .equals(other.getDuration())) return false; + if (!getDuration().equals(other.getDuration())) return false; } - if (getTurnCount() - != other.getTurnCount()) return false; + if (getTurnCount() != other.getTurnCount()) return false; if (hasLatestAnalysis() != other.hasLatestAnalysis()) return false; if (hasLatestAnalysis()) { - if (!getLatestAnalysis() - .equals(other.getLatestAnalysis())) return false; - } - if (!getRuntimeAnnotationsList() - .equals(other.getRuntimeAnnotationsList())) return false; - if (!internalGetDialogflowIntents().equals( - other.internalGetDialogflowIntents())) return false; - if (!getObfuscatedUserId() - .equals(other.getObfuscatedUserId())) return false; + if (!getLatestAnalysis().equals(other.getLatestAnalysis())) return false; + } + if (!getRuntimeAnnotationsList().equals(other.getRuntimeAnnotationsList())) return false; + if (!internalGetDialogflowIntents().equals(other.internalGetDialogflowIntents())) return false; + if (!getObfuscatedUserId().equals(other.getObfuscatedUserId())) return false; if (!getMetadataCase().equals(other.getMetadataCase())) return false; switch (metadataCase_) { case 7: - if (!getCallMetadata() - .equals(other.getCallMetadata())) return false; + if (!getCallMetadata().equals(other.getCallMetadata())) return false; break; case 0: default: @@ -7225,12 +8756,10 @@ public boolean equals(final java.lang.Object obj) { if (!getExpirationCase().equals(other.getExpirationCase())) return false; switch (expirationCase_) { case 15: - if (!getExpireTime() - .equals(other.getExpireTime())) return false; + if (!getExpireTime().equals(other.getExpireTime())) return false; break; case 16: - if (!getTtl() - .equals(other.getTtl())) return false; + if (!getTtl().equals(other.getTtl())) return false; break; case 0: default: @@ -7324,155 +8853,160 @@ public int hashCode() { } public static com.google.cloud.contactcenterinsights.v1.Conversation parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.contactcenterinsights.v1.Conversation parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.contactcenterinsights.v1.Conversation parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.contactcenterinsights.v1.Conversation parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.contactcenterinsights.v1.Conversation parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.contactcenterinsights.v1.Conversation parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.contactcenterinsights.v1.Conversation parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.contactcenterinsights.v1.Conversation parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.contactcenterinsights.v1.Conversation parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.contactcenterinsights.v1.Conversation parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.contactcenterinsights.v1.Conversation parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.contactcenterinsights.v1.Conversation parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.contactcenterinsights.v1.Conversation parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.contactcenterinsights.v1.Conversation parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.contactcenterinsights.v1.Conversation prototype) { + + public static Builder newBuilder( + com.google.cloud.contactcenterinsights.v1.Conversation prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * The conversation resource.
    * 
* * Protobuf type {@code google.cloud.contactcenterinsights.v1.Conversation} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.contactcenterinsights.v1.Conversation) com.google.cloud.contactcenterinsights.v1.ConversationOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.contactcenterinsights.v1.ResourcesProto.internal_static_google_cloud_contactcenterinsights_v1_Conversation_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.contactcenterinsights.v1.ResourcesProto + .internal_static_google_cloud_contactcenterinsights_v1_Conversation_descriptor; } @SuppressWarnings({"rawtypes"}) - protected com.google.protobuf.MapField internalGetMapField( - int number) { + protected com.google.protobuf.MapField internalGetMapField(int number) { switch (number) { case 6: return internalGetLabels(); case 18: return internalGetDialogflowIntents(); default: - throw new RuntimeException( - "Invalid map field number: " + number); + throw new RuntimeException("Invalid map field number: " + number); } } + @SuppressWarnings({"rawtypes"}) - protected com.google.protobuf.MapField internalGetMutableMapField( - int number) { + protected com.google.protobuf.MapField internalGetMutableMapField(int number) { switch (number) { case 6: return internalGetMutableLabels(); case 18: return internalGetMutableDialogflowIntents(); default: - throw new RuntimeException( - "Invalid map field number: " + number); + throw new RuntimeException("Invalid map field number: " + number); } } + @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.contactcenterinsights.v1.ResourcesProto.internal_static_google_cloud_contactcenterinsights_v1_Conversation_fieldAccessorTable + return com.google.cloud.contactcenterinsights.v1.ResourcesProto + .internal_static_google_cloud_contactcenterinsights_v1_Conversation_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.contactcenterinsights.v1.Conversation.class, com.google.cloud.contactcenterinsights.v1.Conversation.Builder.class); + com.google.cloud.contactcenterinsights.v1.Conversation.class, + com.google.cloud.contactcenterinsights.v1.Conversation.Builder.class); } // Construct using com.google.cloud.contactcenterinsights.v1.Conversation.newBuilder() - private Builder() { + private Builder() {} - } - - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -7544,9 +9078,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.contactcenterinsights.v1.ResourcesProto.internal_static_google_cloud_contactcenterinsights_v1_Conversation_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.contactcenterinsights.v1.ResourcesProto + .internal_static_google_cloud_contactcenterinsights_v1_Conversation_descriptor; } @java.lang.Override @@ -7565,15 +9099,19 @@ public com.google.cloud.contactcenterinsights.v1.Conversation build() { @java.lang.Override public com.google.cloud.contactcenterinsights.v1.Conversation buildPartial() { - com.google.cloud.contactcenterinsights.v1.Conversation result = new com.google.cloud.contactcenterinsights.v1.Conversation(this); + com.google.cloud.contactcenterinsights.v1.Conversation result = + new com.google.cloud.contactcenterinsights.v1.Conversation(this); buildPartialRepeatedFields(result); - if (bitField0_ != 0) { buildPartial0(result); } + if (bitField0_ != 0) { + buildPartial0(result); + } buildPartialOneofs(result); onBuilt(); return result; } - private void buildPartialRepeatedFields(com.google.cloud.contactcenterinsights.v1.Conversation result) { + private void buildPartialRepeatedFields( + com.google.cloud.contactcenterinsights.v1.Conversation result) { if (runtimeAnnotationsBuilder_ == null) { if (((bitField0_ & 0x00010000) != 0)) { runtimeAnnotations_ = java.util.Collections.unmodifiableList(runtimeAnnotations_); @@ -7591,24 +9129,16 @@ private void buildPartial0(com.google.cloud.contactcenterinsights.v1.Conversatio result.name_ = name_; } if (((from_bitField0_ & 0x00000010) != 0)) { - result.dataSource_ = dataSourceBuilder_ == null - ? dataSource_ - : dataSourceBuilder_.build(); + result.dataSource_ = dataSourceBuilder_ == null ? dataSource_ : dataSourceBuilder_.build(); } if (((from_bitField0_ & 0x00000020) != 0)) { - result.createTime_ = createTimeBuilder_ == null - ? createTime_ - : createTimeBuilder_.build(); + result.createTime_ = createTimeBuilder_ == null ? createTime_ : createTimeBuilder_.build(); } if (((from_bitField0_ & 0x00000040) != 0)) { - result.updateTime_ = updateTimeBuilder_ == null - ? updateTime_ - : updateTimeBuilder_.build(); + result.updateTime_ = updateTimeBuilder_ == null ? updateTime_ : updateTimeBuilder_.build(); } if (((from_bitField0_ & 0x00000080) != 0)) { - result.startTime_ = startTimeBuilder_ == null - ? startTime_ - : startTimeBuilder_.build(); + result.startTime_ = startTimeBuilder_ == null ? startTime_ : startTimeBuilder_.build(); } if (((from_bitField0_ & 0x00000100) != 0)) { result.languageCode_ = languageCode_; @@ -7621,25 +9151,20 @@ private void buildPartial0(com.google.cloud.contactcenterinsights.v1.Conversatio result.labels_.makeImmutable(); } if (((from_bitField0_ & 0x00000800) != 0)) { - result.transcript_ = transcriptBuilder_ == null - ? transcript_ - : transcriptBuilder_.build(); + result.transcript_ = transcriptBuilder_ == null ? transcript_ : transcriptBuilder_.build(); } if (((from_bitField0_ & 0x00001000) != 0)) { result.medium_ = medium_; } if (((from_bitField0_ & 0x00002000) != 0)) { - result.duration_ = durationBuilder_ == null - ? duration_ - : durationBuilder_.build(); + result.duration_ = durationBuilder_ == null ? duration_ : durationBuilder_.build(); } if (((from_bitField0_ & 0x00004000) != 0)) { result.turnCount_ = turnCount_; } if (((from_bitField0_ & 0x00008000) != 0)) { - result.latestAnalysis_ = latestAnalysisBuilder_ == null - ? latestAnalysis_ - : latestAnalysisBuilder_.build(); + result.latestAnalysis_ = + latestAnalysisBuilder_ == null ? latestAnalysis_ : latestAnalysisBuilder_.build(); } if (((from_bitField0_ & 0x00020000) != 0)) { result.dialogflowIntents_ = internalGetDialogflowIntents(); @@ -7653,18 +9178,15 @@ private void buildPartial0(com.google.cloud.contactcenterinsights.v1.Conversatio private void buildPartialOneofs(com.google.cloud.contactcenterinsights.v1.Conversation result) { result.metadataCase_ = metadataCase_; result.metadata_ = this.metadata_; - if (metadataCase_ == 7 && - callMetadataBuilder_ != null) { + if (metadataCase_ == 7 && callMetadataBuilder_ != null) { result.metadata_ = callMetadataBuilder_.build(); } result.expirationCase_ = expirationCase_; result.expiration_ = this.expiration_; - if (expirationCase_ == 15 && - expireTimeBuilder_ != null) { + if (expirationCase_ == 15 && expireTimeBuilder_ != null) { result.expiration_ = expireTimeBuilder_.build(); } - if (expirationCase_ == 16 && - ttlBuilder_ != null) { + if (expirationCase_ == 16 && ttlBuilder_ != null) { result.expiration_ = ttlBuilder_.build(); } } @@ -7673,38 +9195,39 @@ private void buildPartialOneofs(com.google.cloud.contactcenterinsights.v1.Conver public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.contactcenterinsights.v1.Conversation) { - return mergeFrom((com.google.cloud.contactcenterinsights.v1.Conversation)other); + return mergeFrom((com.google.cloud.contactcenterinsights.v1.Conversation) other); } else { super.mergeFrom(other); return this; @@ -7712,7 +9235,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.contactcenterinsights.v1.Conversation other) { - if (other == com.google.cloud.contactcenterinsights.v1.Conversation.getDefaultInstance()) return this; + if (other == com.google.cloud.contactcenterinsights.v1.Conversation.getDefaultInstance()) + return this; if (!other.getName().isEmpty()) { name_ = other.name_; bitField0_ |= 0x00000008; @@ -7740,8 +9264,7 @@ public Builder mergeFrom(com.google.cloud.contactcenterinsights.v1.Conversation bitField0_ |= 0x00000200; onChanged(); } - internalGetMutableLabels().mergeFrom( - other.internalGetLabels()); + internalGetMutableLabels().mergeFrom(other.internalGetLabels()); bitField0_ |= 0x00000400; if (other.hasTranscript()) { mergeTranscript(other.getTranscript()); @@ -7776,16 +9299,16 @@ public Builder mergeFrom(com.google.cloud.contactcenterinsights.v1.Conversation runtimeAnnotationsBuilder_ = null; runtimeAnnotations_ = other.runtimeAnnotations_; bitField0_ = (bitField0_ & ~0x00010000); - runtimeAnnotationsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? - getRuntimeAnnotationsFieldBuilder() : null; + runtimeAnnotationsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders + ? getRuntimeAnnotationsFieldBuilder() + : null; } else { runtimeAnnotationsBuilder_.addAllMessages(other.runtimeAnnotations_); } } } - internalGetMutableDialogflowIntents().mergeFrom( - other.internalGetDialogflowIntents()); + internalGetMutableDialogflowIntents().mergeFrom(other.internalGetDialogflowIntents()); bitField0_ |= 0x00020000; if (!other.getObfuscatedUserId().isEmpty()) { obfuscatedUserId_ = other.obfuscatedUserId_; @@ -7793,26 +9316,31 @@ public Builder mergeFrom(com.google.cloud.contactcenterinsights.v1.Conversation onChanged(); } switch (other.getMetadataCase()) { - case CALL_METADATA: { - mergeCallMetadata(other.getCallMetadata()); - break; - } - case METADATA_NOT_SET: { - break; - } + case CALL_METADATA: + { + mergeCallMetadata(other.getCallMetadata()); + break; + } + case METADATA_NOT_SET: + { + break; + } } switch (other.getExpirationCase()) { - case EXPIRE_TIME: { - mergeExpireTime(other.getExpireTime()); - break; - } - case TTL: { - mergeTtl(other.getTtl()); - break; - } - case EXPIRATION_NOT_SET: { - break; - } + case EXPIRE_TIME: + { + mergeExpireTime(other.getExpireTime()); + break; + } + case TTL: + { + mergeTtl(other.getTtl()); + break; + } + case EXPIRATION_NOT_SET: + { + break; + } } this.mergeUnknownFields(other.getUnknownFields()); onChanged(); @@ -7840,143 +9368,150 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - name_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000008; - break; - } // case 10 - case 18: { - input.readMessage( - getDataSourceFieldBuilder().getBuilder(), - extensionRegistry); - bitField0_ |= 0x00000010; - break; - } // case 18 - case 26: { - input.readMessage( - getCreateTimeFieldBuilder().getBuilder(), - extensionRegistry); - bitField0_ |= 0x00000020; - break; - } // case 26 - case 34: { - input.readMessage( - getUpdateTimeFieldBuilder().getBuilder(), - extensionRegistry); - bitField0_ |= 0x00000040; - break; - } // case 34 - case 42: { - agentId_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000200; - break; - } // case 42 - case 50: { - com.google.protobuf.MapEntry - labels__ = input.readMessage( - LabelsDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry); - internalGetMutableLabels().getMutableMap().put( - labels__.getKey(), labels__.getValue()); - bitField0_ |= 0x00000400; - break; - } // case 50 - case 58: { - input.readMessage( - getCallMetadataFieldBuilder().getBuilder(), - extensionRegistry); - metadataCase_ = 7; - break; - } // case 58 - case 66: { - input.readMessage( - getTranscriptFieldBuilder().getBuilder(), - extensionRegistry); - bitField0_ |= 0x00000800; - break; - } // case 66 - case 72: { - medium_ = input.readEnum(); - bitField0_ |= 0x00001000; - break; - } // case 72 - case 82: { - input.readMessage( - getDurationFieldBuilder().getBuilder(), - extensionRegistry); - bitField0_ |= 0x00002000; - break; - } // case 82 - case 88: { - turnCount_ = input.readInt32(); - bitField0_ |= 0x00004000; - break; - } // case 88 - case 98: { - input.readMessage( - getLatestAnalysisFieldBuilder().getBuilder(), - extensionRegistry); - bitField0_ |= 0x00008000; - break; - } // case 98 - case 106: { - com.google.cloud.contactcenterinsights.v1.RuntimeAnnotation m = - input.readMessage( - com.google.cloud.contactcenterinsights.v1.RuntimeAnnotation.parser(), - extensionRegistry); - if (runtimeAnnotationsBuilder_ == null) { - ensureRuntimeAnnotationsIsMutable(); - runtimeAnnotations_.add(m); - } else { - runtimeAnnotationsBuilder_.addMessage(m); - } - break; - } // case 106 - case 114: { - languageCode_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000100; - break; - } // case 114 - case 122: { - input.readMessage( - getExpireTimeFieldBuilder().getBuilder(), - extensionRegistry); - expirationCase_ = 15; - break; - } // case 122 - case 130: { - input.readMessage( - getTtlFieldBuilder().getBuilder(), - extensionRegistry); - expirationCase_ = 16; - break; - } // case 130 - case 138: { - input.readMessage( - getStartTimeFieldBuilder().getBuilder(), - extensionRegistry); - bitField0_ |= 0x00000080; - break; - } // case 138 - case 146: { - com.google.protobuf.MapEntry - dialogflowIntents__ = input.readMessage( - DialogflowIntentsDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry); - internalGetMutableDialogflowIntents().getMutableMap().put( - dialogflowIntents__.getKey(), dialogflowIntents__.getValue()); - bitField0_ |= 0x00020000; - break; - } // case 146 - case 170: { - obfuscatedUserId_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00040000; - break; - } // case 170 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + name_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000008; + break; + } // case 10 + case 18: + { + input.readMessage(getDataSourceFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000010; + break; + } // case 18 + case 26: + { + input.readMessage(getCreateTimeFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000020; + break; + } // case 26 + case 34: + { + input.readMessage(getUpdateTimeFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000040; + break; + } // case 34 + case 42: + { + agentId_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000200; + break; + } // case 42 + case 50: + { + com.google.protobuf.MapEntry labels__ = + input.readMessage( + LabelsDefaultEntryHolder.defaultEntry.getParserForType(), + extensionRegistry); + internalGetMutableLabels() + .getMutableMap() + .put(labels__.getKey(), labels__.getValue()); + bitField0_ |= 0x00000400; + break; + } // case 50 + case 58: + { + input.readMessage(getCallMetadataFieldBuilder().getBuilder(), extensionRegistry); + metadataCase_ = 7; + break; + } // case 58 + case 66: + { + input.readMessage(getTranscriptFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000800; + break; + } // case 66 + case 72: + { + medium_ = input.readEnum(); + bitField0_ |= 0x00001000; + break; + } // case 72 + case 82: + { + input.readMessage(getDurationFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00002000; + break; + } // case 82 + case 88: + { + turnCount_ = input.readInt32(); + bitField0_ |= 0x00004000; + break; + } // case 88 + case 98: + { + input.readMessage(getLatestAnalysisFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00008000; + break; + } // case 98 + case 106: + { + com.google.cloud.contactcenterinsights.v1.RuntimeAnnotation m = + input.readMessage( + com.google.cloud.contactcenterinsights.v1.RuntimeAnnotation.parser(), + extensionRegistry); + if (runtimeAnnotationsBuilder_ == null) { + ensureRuntimeAnnotationsIsMutable(); + runtimeAnnotations_.add(m); + } else { + runtimeAnnotationsBuilder_.addMessage(m); + } + break; + } // case 106 + case 114: + { + languageCode_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000100; + break; + } // case 114 + case 122: + { + input.readMessage(getExpireTimeFieldBuilder().getBuilder(), extensionRegistry); + expirationCase_ = 15; + break; + } // case 122 + case 130: + { + input.readMessage(getTtlFieldBuilder().getBuilder(), extensionRegistry); + expirationCase_ = 16; + break; + } // case 130 + case 138: + { + input.readMessage(getStartTimeFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000080; + break; + } // case 138 + case 146: + { + com.google.protobuf.MapEntry< + java.lang.String, + com.google.cloud.contactcenterinsights.v1.DialogflowIntent> + dialogflowIntents__ = + input.readMessage( + DialogflowIntentsDefaultEntryHolder.defaultEntry.getParserForType(), + extensionRegistry); + internalGetMutableDialogflowIntents() + .getMutableMap() + .put(dialogflowIntents__.getKey(), dialogflowIntents__.getValue()); + bitField0_ |= 0x00020000; + break; + } // case 146 + case 170: + { + obfuscatedUserId_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00040000; + break; + } // case 170 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -7986,12 +9521,12 @@ public Builder mergeFrom( } // finally return this; } + private int metadataCase_ = 0; private java.lang.Object metadata_; - public MetadataCase - getMetadataCase() { - return MetadataCase.forNumber( - metadataCase_); + + public MetadataCase getMetadataCase() { + return MetadataCase.forNumber(metadataCase_); } public Builder clearMetadata() { @@ -8003,10 +9538,9 @@ public Builder clearMetadata() { private int expirationCase_ = 0; private java.lang.Object expiration_; - public ExpirationCase - getExpirationCase() { - return ExpirationCase.forNumber( - expirationCase_); + + public ExpirationCase getExpirationCase() { + return ExpirationCase.forNumber(expirationCase_); } public Builder clearExpiration() { @@ -8019,13 +9553,20 @@ public Builder clearExpiration() { private int bitField0_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.contactcenterinsights.v1.Conversation.CallMetadata, com.google.cloud.contactcenterinsights.v1.Conversation.CallMetadata.Builder, com.google.cloud.contactcenterinsights.v1.Conversation.CallMetadataOrBuilder> callMetadataBuilder_; + com.google.cloud.contactcenterinsights.v1.Conversation.CallMetadata, + com.google.cloud.contactcenterinsights.v1.Conversation.CallMetadata.Builder, + com.google.cloud.contactcenterinsights.v1.Conversation.CallMetadataOrBuilder> + callMetadataBuilder_; /** + * + * *
      * Call-specific metadata.
      * 
* - * .google.cloud.contactcenterinsights.v1.Conversation.CallMetadata call_metadata = 7; + * .google.cloud.contactcenterinsights.v1.Conversation.CallMetadata call_metadata = 7; + * + * * @return Whether the callMetadata field is set. */ @java.lang.Override @@ -8033,11 +9574,15 @@ public boolean hasCallMetadata() { return metadataCase_ == 7; } /** + * + * *
      * Call-specific metadata.
      * 
* - * .google.cloud.contactcenterinsights.v1.Conversation.CallMetadata call_metadata = 7; + * .google.cloud.contactcenterinsights.v1.Conversation.CallMetadata call_metadata = 7; + * + * * @return The callMetadata. */ @java.lang.Override @@ -8046,22 +9591,28 @@ public com.google.cloud.contactcenterinsights.v1.Conversation.CallMetadata getCa if (metadataCase_ == 7) { return (com.google.cloud.contactcenterinsights.v1.Conversation.CallMetadata) metadata_; } - return com.google.cloud.contactcenterinsights.v1.Conversation.CallMetadata.getDefaultInstance(); + return com.google.cloud.contactcenterinsights.v1.Conversation.CallMetadata + .getDefaultInstance(); } else { if (metadataCase_ == 7) { return callMetadataBuilder_.getMessage(); } - return com.google.cloud.contactcenterinsights.v1.Conversation.CallMetadata.getDefaultInstance(); + return com.google.cloud.contactcenterinsights.v1.Conversation.CallMetadata + .getDefaultInstance(); } } /** + * + * *
      * Call-specific metadata.
      * 
* - * .google.cloud.contactcenterinsights.v1.Conversation.CallMetadata call_metadata = 7; + * .google.cloud.contactcenterinsights.v1.Conversation.CallMetadata call_metadata = 7; + * */ - public Builder setCallMetadata(com.google.cloud.contactcenterinsights.v1.Conversation.CallMetadata value) { + public Builder setCallMetadata( + com.google.cloud.contactcenterinsights.v1.Conversation.CallMetadata value) { if (callMetadataBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -8075,14 +9626,18 @@ public Builder setCallMetadata(com.google.cloud.contactcenterinsights.v1.Convers return this; } /** + * + * *
      * Call-specific metadata.
      * 
* - * .google.cloud.contactcenterinsights.v1.Conversation.CallMetadata call_metadata = 7; + * .google.cloud.contactcenterinsights.v1.Conversation.CallMetadata call_metadata = 7; + * */ public Builder setCallMetadata( - com.google.cloud.contactcenterinsights.v1.Conversation.CallMetadata.Builder builderForValue) { + com.google.cloud.contactcenterinsights.v1.Conversation.CallMetadata.Builder + builderForValue) { if (callMetadataBuilder_ == null) { metadata_ = builderForValue.build(); onChanged(); @@ -8093,18 +9648,28 @@ public Builder setCallMetadata( return this; } /** + * + * *
      * Call-specific metadata.
      * 
* - * .google.cloud.contactcenterinsights.v1.Conversation.CallMetadata call_metadata = 7; + * .google.cloud.contactcenterinsights.v1.Conversation.CallMetadata call_metadata = 7; + * */ - public Builder mergeCallMetadata(com.google.cloud.contactcenterinsights.v1.Conversation.CallMetadata value) { + public Builder mergeCallMetadata( + com.google.cloud.contactcenterinsights.v1.Conversation.CallMetadata value) { if (callMetadataBuilder_ == null) { - if (metadataCase_ == 7 && - metadata_ != com.google.cloud.contactcenterinsights.v1.Conversation.CallMetadata.getDefaultInstance()) { - metadata_ = com.google.cloud.contactcenterinsights.v1.Conversation.CallMetadata.newBuilder((com.google.cloud.contactcenterinsights.v1.Conversation.CallMetadata) metadata_) - .mergeFrom(value).buildPartial(); + if (metadataCase_ == 7 + && metadata_ + != com.google.cloud.contactcenterinsights.v1.Conversation.CallMetadata + .getDefaultInstance()) { + metadata_ = + com.google.cloud.contactcenterinsights.v1.Conversation.CallMetadata.newBuilder( + (com.google.cloud.contactcenterinsights.v1.Conversation.CallMetadata) + metadata_) + .mergeFrom(value) + .buildPartial(); } else { metadata_ = value; } @@ -8120,11 +9685,14 @@ public Builder mergeCallMetadata(com.google.cloud.contactcenterinsights.v1.Conve return this; } /** + * + * *
      * Call-specific metadata.
      * 
* - * .google.cloud.contactcenterinsights.v1.Conversation.CallMetadata call_metadata = 7; + * .google.cloud.contactcenterinsights.v1.Conversation.CallMetadata call_metadata = 7; + * */ public Builder clearCallMetadata() { if (callMetadataBuilder_ == null) { @@ -8143,49 +9711,68 @@ public Builder clearCallMetadata() { return this; } /** + * + * *
      * Call-specific metadata.
      * 
* - * .google.cloud.contactcenterinsights.v1.Conversation.CallMetadata call_metadata = 7; + * .google.cloud.contactcenterinsights.v1.Conversation.CallMetadata call_metadata = 7; + * */ - public com.google.cloud.contactcenterinsights.v1.Conversation.CallMetadata.Builder getCallMetadataBuilder() { + public com.google.cloud.contactcenterinsights.v1.Conversation.CallMetadata.Builder + getCallMetadataBuilder() { return getCallMetadataFieldBuilder().getBuilder(); } /** + * + * *
      * Call-specific metadata.
      * 
* - * .google.cloud.contactcenterinsights.v1.Conversation.CallMetadata call_metadata = 7; + * .google.cloud.contactcenterinsights.v1.Conversation.CallMetadata call_metadata = 7; + * */ @java.lang.Override - public com.google.cloud.contactcenterinsights.v1.Conversation.CallMetadataOrBuilder getCallMetadataOrBuilder() { + public com.google.cloud.contactcenterinsights.v1.Conversation.CallMetadataOrBuilder + getCallMetadataOrBuilder() { if ((metadataCase_ == 7) && (callMetadataBuilder_ != null)) { return callMetadataBuilder_.getMessageOrBuilder(); } else { if (metadataCase_ == 7) { return (com.google.cloud.contactcenterinsights.v1.Conversation.CallMetadata) metadata_; } - return com.google.cloud.contactcenterinsights.v1.Conversation.CallMetadata.getDefaultInstance(); + return com.google.cloud.contactcenterinsights.v1.Conversation.CallMetadata + .getDefaultInstance(); } } /** + * + * *
      * Call-specific metadata.
      * 
* - * .google.cloud.contactcenterinsights.v1.Conversation.CallMetadata call_metadata = 7; + * .google.cloud.contactcenterinsights.v1.Conversation.CallMetadata call_metadata = 7; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.contactcenterinsights.v1.Conversation.CallMetadata, com.google.cloud.contactcenterinsights.v1.Conversation.CallMetadata.Builder, com.google.cloud.contactcenterinsights.v1.Conversation.CallMetadataOrBuilder> + com.google.cloud.contactcenterinsights.v1.Conversation.CallMetadata, + com.google.cloud.contactcenterinsights.v1.Conversation.CallMetadata.Builder, + com.google.cloud.contactcenterinsights.v1.Conversation.CallMetadataOrBuilder> getCallMetadataFieldBuilder() { if (callMetadataBuilder_ == null) { if (!(metadataCase_ == 7)) { - metadata_ = com.google.cloud.contactcenterinsights.v1.Conversation.CallMetadata.getDefaultInstance(); - } - callMetadataBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.contactcenterinsights.v1.Conversation.CallMetadata, com.google.cloud.contactcenterinsights.v1.Conversation.CallMetadata.Builder, com.google.cloud.contactcenterinsights.v1.Conversation.CallMetadataOrBuilder>( + metadata_ = + com.google.cloud.contactcenterinsights.v1.Conversation.CallMetadata + .getDefaultInstance(); + } + callMetadataBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.contactcenterinsights.v1.Conversation.CallMetadata, + com.google.cloud.contactcenterinsights.v1.Conversation.CallMetadata.Builder, + com.google.cloud.contactcenterinsights.v1.Conversation.CallMetadataOrBuilder>( (com.google.cloud.contactcenterinsights.v1.Conversation.CallMetadata) metadata_, getParentForChildren(), isClean()); @@ -8197,14 +9784,20 @@ public com.google.cloud.contactcenterinsights.v1.Conversation.CallMetadataOrBuil } private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> expireTimeBuilder_; + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder> + expireTimeBuilder_; /** + * + * *
      * The time at which this conversation should expire. After this time, the
      * conversation data and any associated analyses will be deleted.
      * 
* * .google.protobuf.Timestamp expire_time = 15; + * * @return Whether the expireTime field is set. */ @java.lang.Override @@ -8212,12 +9805,15 @@ public boolean hasExpireTime() { return expirationCase_ == 15; } /** + * + * *
      * The time at which this conversation should expire. After this time, the
      * conversation data and any associated analyses will be deleted.
      * 
* * .google.protobuf.Timestamp expire_time = 15; + * * @return The expireTime. */ @java.lang.Override @@ -8235,6 +9831,8 @@ public com.google.protobuf.Timestamp getExpireTime() { } } /** + * + * *
      * The time at which this conversation should expire. After this time, the
      * conversation data and any associated analyses will be deleted.
@@ -8256,6 +9854,8 @@ public Builder setExpireTime(com.google.protobuf.Timestamp value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * The time at which this conversation should expire. After this time, the
      * conversation data and any associated analyses will be deleted.
@@ -8263,8 +9863,7 @@ public Builder setExpireTime(com.google.protobuf.Timestamp value) {
      *
      * .google.protobuf.Timestamp expire_time = 15;
      */
-    public Builder setExpireTime(
-        com.google.protobuf.Timestamp.Builder builderForValue) {
+    public Builder setExpireTime(com.google.protobuf.Timestamp.Builder builderForValue) {
       if (expireTimeBuilder_ == null) {
         expiration_ = builderForValue.build();
         onChanged();
@@ -8275,6 +9874,8 @@ public Builder setExpireTime(
       return this;
     }
     /**
+     *
+     *
      * 
      * The time at which this conversation should expire. After this time, the
      * conversation data and any associated analyses will be deleted.
@@ -8284,10 +9885,12 @@ public Builder setExpireTime(
      */
     public Builder mergeExpireTime(com.google.protobuf.Timestamp value) {
       if (expireTimeBuilder_ == null) {
-        if (expirationCase_ == 15 &&
-            expiration_ != com.google.protobuf.Timestamp.getDefaultInstance()) {
-          expiration_ = com.google.protobuf.Timestamp.newBuilder((com.google.protobuf.Timestamp) expiration_)
-              .mergeFrom(value).buildPartial();
+        if (expirationCase_ == 15
+            && expiration_ != com.google.protobuf.Timestamp.getDefaultInstance()) {
+          expiration_ =
+              com.google.protobuf.Timestamp.newBuilder((com.google.protobuf.Timestamp) expiration_)
+                  .mergeFrom(value)
+                  .buildPartial();
         } else {
           expiration_ = value;
         }
@@ -8303,6 +9906,8 @@ public Builder mergeExpireTime(com.google.protobuf.Timestamp value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * The time at which this conversation should expire. After this time, the
      * conversation data and any associated analyses will be deleted.
@@ -8327,6 +9932,8 @@ public Builder clearExpireTime() {
       return this;
     }
     /**
+     *
+     *
      * 
      * The time at which this conversation should expire. After this time, the
      * conversation data and any associated analyses will be deleted.
@@ -8338,6 +9945,8 @@ public com.google.protobuf.Timestamp.Builder getExpireTimeBuilder() {
       return getExpireTimeFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * The time at which this conversation should expire. After this time, the
      * conversation data and any associated analyses will be deleted.
@@ -8357,6 +9966,8 @@ public com.google.protobuf.TimestampOrBuilder getExpireTimeOrBuilder() {
       }
     }
     /**
+     *
+     *
      * 
      * The time at which this conversation should expire. After this time, the
      * conversation data and any associated analyses will be deleted.
@@ -8365,17 +9976,20 @@ public com.google.protobuf.TimestampOrBuilder getExpireTimeOrBuilder() {
      * .google.protobuf.Timestamp expire_time = 15;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> 
+            com.google.protobuf.Timestamp,
+            com.google.protobuf.Timestamp.Builder,
+            com.google.protobuf.TimestampOrBuilder>
         getExpireTimeFieldBuilder() {
       if (expireTimeBuilder_ == null) {
         if (!(expirationCase_ == 15)) {
           expiration_ = com.google.protobuf.Timestamp.getDefaultInstance();
         }
-        expireTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-            com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>(
-                (com.google.protobuf.Timestamp) expiration_,
-                getParentForChildren(),
-                isClean());
+        expireTimeBuilder_ =
+            new com.google.protobuf.SingleFieldBuilderV3<
+                com.google.protobuf.Timestamp,
+                com.google.protobuf.Timestamp.Builder,
+                com.google.protobuf.TimestampOrBuilder>(
+                (com.google.protobuf.Timestamp) expiration_, getParentForChildren(), isClean());
         expiration_ = null;
       }
       expirationCase_ = 15;
@@ -8384,14 +9998,20 @@ public com.google.protobuf.TimestampOrBuilder getExpireTimeOrBuilder() {
     }
 
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder> ttlBuilder_;
+            com.google.protobuf.Duration,
+            com.google.protobuf.Duration.Builder,
+            com.google.protobuf.DurationOrBuilder>
+        ttlBuilder_;
     /**
+     *
+     *
      * 
      * Input only. The TTL for this resource. If specified, then this TTL will
      * be used to calculate the expire time.
      * 
* * .google.protobuf.Duration ttl = 16 [(.google.api.field_behavior) = INPUT_ONLY]; + * * @return Whether the ttl field is set. */ @java.lang.Override @@ -8399,12 +10019,15 @@ public boolean hasTtl() { return expirationCase_ == 16; } /** + * + * *
      * Input only. The TTL for this resource. If specified, then this TTL will
      * be used to calculate the expire time.
      * 
* * .google.protobuf.Duration ttl = 16 [(.google.api.field_behavior) = INPUT_ONLY]; + * * @return The ttl. */ @java.lang.Override @@ -8422,6 +10045,8 @@ public com.google.protobuf.Duration getTtl() { } } /** + * + * *
      * Input only. The TTL for this resource. If specified, then this TTL will
      * be used to calculate the expire time.
@@ -8443,6 +10068,8 @@ public Builder setTtl(com.google.protobuf.Duration value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * Input only. The TTL for this resource. If specified, then this TTL will
      * be used to calculate the expire time.
@@ -8450,8 +10077,7 @@ public Builder setTtl(com.google.protobuf.Duration value) {
      *
      * .google.protobuf.Duration ttl = 16 [(.google.api.field_behavior) = INPUT_ONLY];
      */
-    public Builder setTtl(
-        com.google.protobuf.Duration.Builder builderForValue) {
+    public Builder setTtl(com.google.protobuf.Duration.Builder builderForValue) {
       if (ttlBuilder_ == null) {
         expiration_ = builderForValue.build();
         onChanged();
@@ -8462,6 +10088,8 @@ public Builder setTtl(
       return this;
     }
     /**
+     *
+     *
      * 
      * Input only. The TTL for this resource. If specified, then this TTL will
      * be used to calculate the expire time.
@@ -8471,10 +10099,12 @@ public Builder setTtl(
      */
     public Builder mergeTtl(com.google.protobuf.Duration value) {
       if (ttlBuilder_ == null) {
-        if (expirationCase_ == 16 &&
-            expiration_ != com.google.protobuf.Duration.getDefaultInstance()) {
-          expiration_ = com.google.protobuf.Duration.newBuilder((com.google.protobuf.Duration) expiration_)
-              .mergeFrom(value).buildPartial();
+        if (expirationCase_ == 16
+            && expiration_ != com.google.protobuf.Duration.getDefaultInstance()) {
+          expiration_ =
+              com.google.protobuf.Duration.newBuilder((com.google.protobuf.Duration) expiration_)
+                  .mergeFrom(value)
+                  .buildPartial();
         } else {
           expiration_ = value;
         }
@@ -8490,6 +10120,8 @@ public Builder mergeTtl(com.google.protobuf.Duration value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * Input only. The TTL for this resource. If specified, then this TTL will
      * be used to calculate the expire time.
@@ -8514,6 +10146,8 @@ public Builder clearTtl() {
       return this;
     }
     /**
+     *
+     *
      * 
      * Input only. The TTL for this resource. If specified, then this TTL will
      * be used to calculate the expire time.
@@ -8525,6 +10159,8 @@ public com.google.protobuf.Duration.Builder getTtlBuilder() {
       return getTtlFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * Input only. The TTL for this resource. If specified, then this TTL will
      * be used to calculate the expire time.
@@ -8544,6 +10180,8 @@ public com.google.protobuf.DurationOrBuilder getTtlOrBuilder() {
       }
     }
     /**
+     *
+     *
      * 
      * Input only. The TTL for this resource. If specified, then this TTL will
      * be used to calculate the expire time.
@@ -8552,17 +10190,20 @@ public com.google.protobuf.DurationOrBuilder getTtlOrBuilder() {
      * .google.protobuf.Duration ttl = 16 [(.google.api.field_behavior) = INPUT_ONLY];
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder> 
+            com.google.protobuf.Duration,
+            com.google.protobuf.Duration.Builder,
+            com.google.protobuf.DurationOrBuilder>
         getTtlFieldBuilder() {
       if (ttlBuilder_ == null) {
         if (!(expirationCase_ == 16)) {
           expiration_ = com.google.protobuf.Duration.getDefaultInstance();
         }
-        ttlBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-            com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder>(
-                (com.google.protobuf.Duration) expiration_,
-                getParentForChildren(),
-                isClean());
+        ttlBuilder_ =
+            new com.google.protobuf.SingleFieldBuilderV3<
+                com.google.protobuf.Duration,
+                com.google.protobuf.Duration.Builder,
+                com.google.protobuf.DurationOrBuilder>(
+                (com.google.protobuf.Duration) expiration_, getParentForChildren(), isClean());
         expiration_ = null;
       }
       expirationCase_ = 16;
@@ -8572,6 +10213,8 @@ public com.google.protobuf.DurationOrBuilder getTtlOrBuilder() {
 
     private java.lang.Object name_ = "";
     /**
+     *
+     *
      * 
      * Immutable. The resource name of the conversation.
      * Format:
@@ -8579,13 +10222,13 @@ public com.google.protobuf.DurationOrBuilder getTtlOrBuilder() {
      * 
* * string name = 1 [(.google.api.field_behavior) = IMMUTABLE]; + * * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -8594,6 +10237,8 @@ public java.lang.String getName() { } } /** + * + * *
      * Immutable. The resource name of the conversation.
      * Format:
@@ -8601,15 +10246,14 @@ public java.lang.String getName() {
      * 
* * string name = 1 [(.google.api.field_behavior) = IMMUTABLE]; + * * @return The bytes for name. */ - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -8617,6 +10261,8 @@ public java.lang.String getName() { } } /** + * + * *
      * Immutable. The resource name of the conversation.
      * Format:
@@ -8624,18 +10270,22 @@ public java.lang.String getName() {
      * 
* * string name = 1 [(.google.api.field_behavior) = IMMUTABLE]; + * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setName(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } name_ = value; bitField0_ |= 0x00000008; onChanged(); return this; } /** + * + * *
      * Immutable. The resource name of the conversation.
      * Format:
@@ -8643,6 +10293,7 @@ public Builder setName(
      * 
* * string name = 1 [(.google.api.field_behavior) = IMMUTABLE]; + * * @return This builder for chaining. */ public Builder clearName() { @@ -8652,6 +10303,8 @@ public Builder clearName() { return this; } /** + * + * *
      * Immutable. The resource name of the conversation.
      * Format:
@@ -8659,12 +10312,14 @@ public Builder clearName() {
      * 
* * string name = 1 [(.google.api.field_behavior) = IMMUTABLE]; + * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setNameBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); name_ = value; bitField0_ |= 0x00000008; @@ -8674,41 +10329,55 @@ public Builder setNameBytes( private com.google.cloud.contactcenterinsights.v1.ConversationDataSource dataSource_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.contactcenterinsights.v1.ConversationDataSource, com.google.cloud.contactcenterinsights.v1.ConversationDataSource.Builder, com.google.cloud.contactcenterinsights.v1.ConversationDataSourceOrBuilder> dataSourceBuilder_; + com.google.cloud.contactcenterinsights.v1.ConversationDataSource, + com.google.cloud.contactcenterinsights.v1.ConversationDataSource.Builder, + com.google.cloud.contactcenterinsights.v1.ConversationDataSourceOrBuilder> + dataSourceBuilder_; /** + * + * *
      * The source of the audio and transcription for the conversation.
      * 
* * .google.cloud.contactcenterinsights.v1.ConversationDataSource data_source = 2; + * * @return Whether the dataSource field is set. */ public boolean hasDataSource() { return ((bitField0_ & 0x00000010) != 0); } /** + * + * *
      * The source of the audio and transcription for the conversation.
      * 
* * .google.cloud.contactcenterinsights.v1.ConversationDataSource data_source = 2; + * * @return The dataSource. */ public com.google.cloud.contactcenterinsights.v1.ConversationDataSource getDataSource() { if (dataSourceBuilder_ == null) { - return dataSource_ == null ? com.google.cloud.contactcenterinsights.v1.ConversationDataSource.getDefaultInstance() : dataSource_; + return dataSource_ == null + ? com.google.cloud.contactcenterinsights.v1.ConversationDataSource.getDefaultInstance() + : dataSource_; } else { return dataSourceBuilder_.getMessage(); } } /** + * + * *
      * The source of the audio and transcription for the conversation.
      * 
* * .google.cloud.contactcenterinsights.v1.ConversationDataSource data_source = 2; */ - public Builder setDataSource(com.google.cloud.contactcenterinsights.v1.ConversationDataSource value) { + public Builder setDataSource( + com.google.cloud.contactcenterinsights.v1.ConversationDataSource value) { if (dataSourceBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -8722,6 +10391,8 @@ public Builder setDataSource(com.google.cloud.contactcenterinsights.v1.Conversat return this; } /** + * + * *
      * The source of the audio and transcription for the conversation.
      * 
@@ -8740,17 +10411,22 @@ public Builder setDataSource( return this; } /** + * + * *
      * The source of the audio and transcription for the conversation.
      * 
* * .google.cloud.contactcenterinsights.v1.ConversationDataSource data_source = 2; */ - public Builder mergeDataSource(com.google.cloud.contactcenterinsights.v1.ConversationDataSource value) { + public Builder mergeDataSource( + com.google.cloud.contactcenterinsights.v1.ConversationDataSource value) { if (dataSourceBuilder_ == null) { - if (((bitField0_ & 0x00000010) != 0) && - dataSource_ != null && - dataSource_ != com.google.cloud.contactcenterinsights.v1.ConversationDataSource.getDefaultInstance()) { + if (((bitField0_ & 0x00000010) != 0) + && dataSource_ != null + && dataSource_ + != com.google.cloud.contactcenterinsights.v1.ConversationDataSource + .getDefaultInstance()) { getDataSourceBuilder().mergeFrom(value); } else { dataSource_ = value; @@ -8763,6 +10439,8 @@ public Builder mergeDataSource(com.google.cloud.contactcenterinsights.v1.Convers return this; } /** + * + * *
      * The source of the audio and transcription for the conversation.
      * 
@@ -8780,33 +10458,42 @@ public Builder clearDataSource() { return this; } /** + * + * *
      * The source of the audio and transcription for the conversation.
      * 
* * .google.cloud.contactcenterinsights.v1.ConversationDataSource data_source = 2; */ - public com.google.cloud.contactcenterinsights.v1.ConversationDataSource.Builder getDataSourceBuilder() { + public com.google.cloud.contactcenterinsights.v1.ConversationDataSource.Builder + getDataSourceBuilder() { bitField0_ |= 0x00000010; onChanged(); return getDataSourceFieldBuilder().getBuilder(); } /** + * + * *
      * The source of the audio and transcription for the conversation.
      * 
* * .google.cloud.contactcenterinsights.v1.ConversationDataSource data_source = 2; */ - public com.google.cloud.contactcenterinsights.v1.ConversationDataSourceOrBuilder getDataSourceOrBuilder() { + public com.google.cloud.contactcenterinsights.v1.ConversationDataSourceOrBuilder + getDataSourceOrBuilder() { if (dataSourceBuilder_ != null) { return dataSourceBuilder_.getMessageOrBuilder(); } else { - return dataSource_ == null ? - com.google.cloud.contactcenterinsights.v1.ConversationDataSource.getDefaultInstance() : dataSource_; + return dataSource_ == null + ? com.google.cloud.contactcenterinsights.v1.ConversationDataSource.getDefaultInstance() + : dataSource_; } } /** + * + * *
      * The source of the audio and transcription for the conversation.
      * 
@@ -8814,14 +10501,17 @@ public com.google.cloud.contactcenterinsights.v1.ConversationDataSourceOrBuilder * .google.cloud.contactcenterinsights.v1.ConversationDataSource data_source = 2; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.contactcenterinsights.v1.ConversationDataSource, com.google.cloud.contactcenterinsights.v1.ConversationDataSource.Builder, com.google.cloud.contactcenterinsights.v1.ConversationDataSourceOrBuilder> + com.google.cloud.contactcenterinsights.v1.ConversationDataSource, + com.google.cloud.contactcenterinsights.v1.ConversationDataSource.Builder, + com.google.cloud.contactcenterinsights.v1.ConversationDataSourceOrBuilder> getDataSourceFieldBuilder() { if (dataSourceBuilder_ == null) { - dataSourceBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.contactcenterinsights.v1.ConversationDataSource, com.google.cloud.contactcenterinsights.v1.ConversationDataSource.Builder, com.google.cloud.contactcenterinsights.v1.ConversationDataSourceOrBuilder>( - getDataSource(), - getParentForChildren(), - isClean()); + dataSourceBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.contactcenterinsights.v1.ConversationDataSource, + com.google.cloud.contactcenterinsights.v1.ConversationDataSource.Builder, + com.google.cloud.contactcenterinsights.v1.ConversationDataSourceOrBuilder>( + getDataSource(), getParentForChildren(), isClean()); dataSource_ = null; } return dataSourceBuilder_; @@ -8829,39 +10519,58 @@ public com.google.cloud.contactcenterinsights.v1.ConversationDataSourceOrBuilder private com.google.protobuf.Timestamp createTime_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> createTimeBuilder_; + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder> + createTimeBuilder_; /** + * + * *
      * Output only. The time at which the conversation was created.
      * 
* - * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the createTime field is set. */ public boolean hasCreateTime() { return ((bitField0_ & 0x00000020) != 0); } /** + * + * *
      * Output only. The time at which the conversation was created.
      * 
* - * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The createTime. */ public com.google.protobuf.Timestamp getCreateTime() { if (createTimeBuilder_ == null) { - return createTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : createTime_; + return createTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : createTime_; } else { return createTimeBuilder_.getMessage(); } } /** + * + * *
      * Output only. The time at which the conversation was created.
      * 
* - * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder setCreateTime(com.google.protobuf.Timestamp value) { if (createTimeBuilder_ == null) { @@ -8877,14 +10586,17 @@ public Builder setCreateTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * Output only. The time at which the conversation was created.
      * 
* - * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - public Builder setCreateTime( - com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setCreateTime(com.google.protobuf.Timestamp.Builder builderForValue) { if (createTimeBuilder_ == null) { createTime_ = builderForValue.build(); } else { @@ -8895,17 +10607,21 @@ public Builder setCreateTime( return this; } /** + * + * *
      * Output only. The time at which the conversation was created.
      * 
* - * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder mergeCreateTime(com.google.protobuf.Timestamp value) { if (createTimeBuilder_ == null) { - if (((bitField0_ & 0x00000020) != 0) && - createTime_ != null && - createTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { + if (((bitField0_ & 0x00000020) != 0) + && createTime_ != null + && createTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { getCreateTimeBuilder().mergeFrom(value); } else { createTime_ = value; @@ -8918,11 +10634,15 @@ public Builder mergeCreateTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * Output only. The time at which the conversation was created.
      * 
* - * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder clearCreateTime() { bitField0_ = (bitField0_ & ~0x00000020); @@ -8935,11 +10655,15 @@ public Builder clearCreateTime() { return this; } /** + * + * *
      * Output only. The time at which the conversation was created.
      * 
* - * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public com.google.protobuf.Timestamp.Builder getCreateTimeBuilder() { bitField0_ |= 0x00000020; @@ -8947,36 +10671,48 @@ public com.google.protobuf.Timestamp.Builder getCreateTimeBuilder() { return getCreateTimeFieldBuilder().getBuilder(); } /** + * + * *
      * Output only. The time at which the conversation was created.
      * 
* - * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { if (createTimeBuilder_ != null) { return createTimeBuilder_.getMessageOrBuilder(); } else { - return createTime_ == null ? - com.google.protobuf.Timestamp.getDefaultInstance() : createTime_; + return createTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : createTime_; } } /** + * + * *
      * Output only. The time at which the conversation was created.
      * 
* - * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder> getCreateTimeFieldBuilder() { if (createTimeBuilder_ == null) { - createTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( - getCreateTime(), - getParentForChildren(), - isClean()); + createTimeBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder>( + getCreateTime(), getParentForChildren(), isClean()); createTime_ = null; } return createTimeBuilder_; @@ -8984,39 +10720,58 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { private com.google.protobuf.Timestamp updateTime_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> updateTimeBuilder_; + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder> + updateTimeBuilder_; /** + * + * *
      * Output only. The most recent time at which the conversation was updated.
      * 
* - * .google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the updateTime field is set. */ public boolean hasUpdateTime() { return ((bitField0_ & 0x00000040) != 0); } /** + * + * *
      * Output only. The most recent time at which the conversation was updated.
      * 
* - * .google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The updateTime. */ public com.google.protobuf.Timestamp getUpdateTime() { if (updateTimeBuilder_ == null) { - return updateTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : updateTime_; + return updateTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : updateTime_; } else { return updateTimeBuilder_.getMessage(); } } /** + * + * *
      * Output only. The most recent time at which the conversation was updated.
      * 
* - * .google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder setUpdateTime(com.google.protobuf.Timestamp value) { if (updateTimeBuilder_ == null) { @@ -9032,14 +10787,17 @@ public Builder setUpdateTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * Output only. The most recent time at which the conversation was updated.
      * 
* - * .google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - public Builder setUpdateTime( - com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setUpdateTime(com.google.protobuf.Timestamp.Builder builderForValue) { if (updateTimeBuilder_ == null) { updateTime_ = builderForValue.build(); } else { @@ -9050,17 +10808,21 @@ public Builder setUpdateTime( return this; } /** + * + * *
      * Output only. The most recent time at which the conversation was updated.
      * 
* - * .google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder mergeUpdateTime(com.google.protobuf.Timestamp value) { if (updateTimeBuilder_ == null) { - if (((bitField0_ & 0x00000040) != 0) && - updateTime_ != null && - updateTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { + if (((bitField0_ & 0x00000040) != 0) + && updateTime_ != null + && updateTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { getUpdateTimeBuilder().mergeFrom(value); } else { updateTime_ = value; @@ -9073,11 +10835,15 @@ public Builder mergeUpdateTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * Output only. The most recent time at which the conversation was updated.
      * 
* - * .google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder clearUpdateTime() { bitField0_ = (bitField0_ & ~0x00000040); @@ -9090,11 +10856,15 @@ public Builder clearUpdateTime() { return this; } /** + * + * *
      * Output only. The most recent time at which the conversation was updated.
      * 
* - * .google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public com.google.protobuf.Timestamp.Builder getUpdateTimeBuilder() { bitField0_ |= 0x00000040; @@ -9102,36 +10872,48 @@ public com.google.protobuf.Timestamp.Builder getUpdateTimeBuilder() { return getUpdateTimeFieldBuilder().getBuilder(); } /** + * + * *
      * Output only. The most recent time at which the conversation was updated.
      * 
* - * .google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { if (updateTimeBuilder_ != null) { return updateTimeBuilder_.getMessageOrBuilder(); } else { - return updateTime_ == null ? - com.google.protobuf.Timestamp.getDefaultInstance() : updateTime_; + return updateTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : updateTime_; } } /** + * + * *
      * Output only. The most recent time at which the conversation was updated.
      * 
* - * .google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder> getUpdateTimeFieldBuilder() { if (updateTimeBuilder_ == null) { - updateTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( - getUpdateTime(), - getParentForChildren(), - isClean()); + updateTimeBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder>( + getUpdateTime(), getParentForChildren(), isClean()); updateTime_ = null; } return updateTimeBuilder_; @@ -9139,24 +10921,33 @@ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { private com.google.protobuf.Timestamp startTime_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> startTimeBuilder_; + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder> + startTimeBuilder_; /** + * + * *
      * The time at which the conversation started.
      * 
* * .google.protobuf.Timestamp start_time = 17; + * * @return Whether the startTime field is set. */ public boolean hasStartTime() { return ((bitField0_ & 0x00000080) != 0); } /** + * + * *
      * The time at which the conversation started.
      * 
* * .google.protobuf.Timestamp start_time = 17; + * * @return The startTime. */ public com.google.protobuf.Timestamp getStartTime() { @@ -9167,6 +10958,8 @@ public com.google.protobuf.Timestamp getStartTime() { } } /** + * + * *
      * The time at which the conversation started.
      * 
@@ -9187,14 +10980,15 @@ public Builder setStartTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * The time at which the conversation started.
      * 
* * .google.protobuf.Timestamp start_time = 17; */ - public Builder setStartTime( - com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setStartTime(com.google.protobuf.Timestamp.Builder builderForValue) { if (startTimeBuilder_ == null) { startTime_ = builderForValue.build(); } else { @@ -9205,6 +10999,8 @@ public Builder setStartTime( return this; } /** + * + * *
      * The time at which the conversation started.
      * 
@@ -9213,9 +11009,9 @@ public Builder setStartTime( */ public Builder mergeStartTime(com.google.protobuf.Timestamp value) { if (startTimeBuilder_ == null) { - if (((bitField0_ & 0x00000080) != 0) && - startTime_ != null && - startTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { + if (((bitField0_ & 0x00000080) != 0) + && startTime_ != null + && startTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { getStartTimeBuilder().mergeFrom(value); } else { startTime_ = value; @@ -9228,6 +11024,8 @@ public Builder mergeStartTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * The time at which the conversation started.
      * 
@@ -9245,6 +11043,8 @@ public Builder clearStartTime() { return this; } /** + * + * *
      * The time at which the conversation started.
      * 
@@ -9257,6 +11057,8 @@ public com.google.protobuf.Timestamp.Builder getStartTimeBuilder() { return getStartTimeFieldBuilder().getBuilder(); } /** + * + * *
      * The time at which the conversation started.
      * 
@@ -9267,11 +11069,12 @@ public com.google.protobuf.TimestampOrBuilder getStartTimeOrBuilder() { if (startTimeBuilder_ != null) { return startTimeBuilder_.getMessageOrBuilder(); } else { - return startTime_ == null ? - com.google.protobuf.Timestamp.getDefaultInstance() : startTime_; + return startTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : startTime_; } } /** + * + * *
      * The time at which the conversation started.
      * 
@@ -9279,14 +11082,17 @@ public com.google.protobuf.TimestampOrBuilder getStartTimeOrBuilder() { * .google.protobuf.Timestamp start_time = 17; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder> getStartTimeFieldBuilder() { if (startTimeBuilder_ == null) { - startTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( - getStartTime(), - getParentForChildren(), - isClean()); + startTimeBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder>( + getStartTime(), getParentForChildren(), isClean()); startTime_ = null; } return startTimeBuilder_; @@ -9294,18 +11100,20 @@ public com.google.protobuf.TimestampOrBuilder getStartTimeOrBuilder() { private java.lang.Object languageCode_ = ""; /** + * + * *
      * A user-specified language code for the conversation.
      * 
* * string language_code = 14; + * * @return The languageCode. */ public java.lang.String getLanguageCode() { java.lang.Object ref = languageCode_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); languageCode_ = s; return s; @@ -9314,20 +11122,21 @@ public java.lang.String getLanguageCode() { } } /** + * + * *
      * A user-specified language code for the conversation.
      * 
* * string language_code = 14; + * * @return The bytes for languageCode. */ - public com.google.protobuf.ByteString - getLanguageCodeBytes() { + public com.google.protobuf.ByteString getLanguageCodeBytes() { java.lang.Object ref = languageCode_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); languageCode_ = b; return b; } else { @@ -9335,28 +11144,35 @@ public java.lang.String getLanguageCode() { } } /** + * + * *
      * A user-specified language code for the conversation.
      * 
* * string language_code = 14; + * * @param value The languageCode to set. * @return This builder for chaining. */ - public Builder setLanguageCode( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setLanguageCode(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } languageCode_ = value; bitField0_ |= 0x00000100; onChanged(); return this; } /** + * + * *
      * A user-specified language code for the conversation.
      * 
* * string language_code = 14; + * * @return This builder for chaining. */ public Builder clearLanguageCode() { @@ -9366,17 +11182,21 @@ public Builder clearLanguageCode() { return this; } /** + * + * *
      * A user-specified language code for the conversation.
      * 
* * string language_code = 14; + * * @param value The bytes for languageCode to set. * @return This builder for chaining. */ - public Builder setLanguageCodeBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setLanguageCodeBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); languageCode_ = value; bitField0_ |= 0x00000100; @@ -9386,19 +11206,21 @@ public Builder setLanguageCodeBytes( private java.lang.Object agentId_ = ""; /** + * + * *
      * An opaque, user-specified string representing the human agent who handled
      * the conversation.
      * 
* * string agent_id = 5; + * * @return The agentId. */ public java.lang.String getAgentId() { java.lang.Object ref = agentId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); agentId_ = s; return s; @@ -9407,21 +11229,22 @@ public java.lang.String getAgentId() { } } /** + * + * *
      * An opaque, user-specified string representing the human agent who handled
      * the conversation.
      * 
* * string agent_id = 5; + * * @return The bytes for agentId. */ - public com.google.protobuf.ByteString - getAgentIdBytes() { + public com.google.protobuf.ByteString getAgentIdBytes() { java.lang.Object ref = agentId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); agentId_ = b; return b; } else { @@ -9429,30 +11252,37 @@ public java.lang.String getAgentId() { } } /** + * + * *
      * An opaque, user-specified string representing the human agent who handled
      * the conversation.
      * 
* * string agent_id = 5; + * * @param value The agentId to set. * @return This builder for chaining. */ - public Builder setAgentId( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setAgentId(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } agentId_ = value; bitField0_ |= 0x00000200; onChanged(); return this; } /** + * + * *
      * An opaque, user-specified string representing the human agent who handled
      * the conversation.
      * 
* * string agent_id = 5; + * * @return This builder for chaining. */ public Builder clearAgentId() { @@ -9462,18 +11292,22 @@ public Builder clearAgentId() { return this; } /** + * + * *
      * An opaque, user-specified string representing the human agent who handled
      * the conversation.
      * 
* * string agent_id = 5; + * * @param value The bytes for agentId to set. * @return This builder for chaining. */ - public Builder setAgentIdBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setAgentIdBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); agentId_ = value; bitField0_ |= 0x00000200; @@ -9481,21 +11315,19 @@ public Builder setAgentIdBytes( return this; } - private com.google.protobuf.MapField< - java.lang.String, java.lang.String> labels_; - private com.google.protobuf.MapField - internalGetLabels() { + private com.google.protobuf.MapField labels_; + + private com.google.protobuf.MapField internalGetLabels() { if (labels_ == null) { - return com.google.protobuf.MapField.emptyMapField( - LabelsDefaultEntryHolder.defaultEntry); + return com.google.protobuf.MapField.emptyMapField(LabelsDefaultEntryHolder.defaultEntry); } return labels_; } + private com.google.protobuf.MapField internalGetMutableLabels() { if (labels_ == null) { - labels_ = com.google.protobuf.MapField.newMapField( - LabelsDefaultEntryHolder.defaultEntry); + labels_ = com.google.protobuf.MapField.newMapField(LabelsDefaultEntryHolder.defaultEntry); } if (!labels_.isMutable()) { labels_ = labels_.copy(); @@ -9504,10 +11336,13 @@ public Builder setAgentIdBytes( onChanged(); return labels_; } + public int getLabelsCount() { return internalGetLabels().getMap().size(); } /** + * + * *
      * A map for the user to specify any custom fields. A maximum of 20 labels per
      * conversation is allowed, with a maximum of 256 characters per entry.
@@ -9516,20 +11351,21 @@ public int getLabelsCount() {
      * map<string, string> labels = 6;
      */
     @java.lang.Override
-    public boolean containsLabels(
-        java.lang.String key) {
-      if (key == null) { throw new NullPointerException("map key"); }
+    public boolean containsLabels(java.lang.String key) {
+      if (key == null) {
+        throw new NullPointerException("map key");
+      }
       return internalGetLabels().getMap().containsKey(key);
     }
-    /**
-     * Use {@link #getLabelsMap()} instead.
-     */
+    /** Use {@link #getLabelsMap()} instead. */
     @java.lang.Override
     @java.lang.Deprecated
     public java.util.Map getLabels() {
       return getLabelsMap();
     }
     /**
+     *
+     *
      * 
      * A map for the user to specify any custom fields. A maximum of 20 labels per
      * conversation is allowed, with a maximum of 256 characters per entry.
@@ -9542,6 +11378,8 @@ public java.util.Map getLabelsMap() {
       return internalGetLabels().getMap();
     }
     /**
+     *
+     *
      * 
      * A map for the user to specify any custom fields. A maximum of 20 labels per
      * conversation is allowed, with a maximum of 256 characters per entry.
@@ -9550,17 +11388,19 @@ public java.util.Map getLabelsMap() {
      * map<string, string> labels = 6;
      */
     @java.lang.Override
-    public /* nullable */
-java.lang.String getLabelsOrDefault(
+    public /* nullable */ java.lang.String getLabelsOrDefault(
         java.lang.String key,
         /* nullable */
-java.lang.String defaultValue) {
-      if (key == null) { throw new NullPointerException("map key"); }
-      java.util.Map map =
-          internalGetLabels().getMap();
+        java.lang.String defaultValue) {
+      if (key == null) {
+        throw new NullPointerException("map key");
+      }
+      java.util.Map map = internalGetLabels().getMap();
       return map.containsKey(key) ? map.get(key) : defaultValue;
     }
     /**
+     *
+     *
      * 
      * A map for the user to specify any custom fields. A maximum of 20 labels per
      * conversation is allowed, with a maximum of 256 characters per entry.
@@ -9569,23 +11409,25 @@ java.lang.String getLabelsOrDefault(
      * map<string, string> labels = 6;
      */
     @java.lang.Override
-    public java.lang.String getLabelsOrThrow(
-        java.lang.String key) {
-      if (key == null) { throw new NullPointerException("map key"); }
-      java.util.Map map =
-          internalGetLabels().getMap();
+    public java.lang.String getLabelsOrThrow(java.lang.String key) {
+      if (key == null) {
+        throw new NullPointerException("map key");
+      }
+      java.util.Map map = internalGetLabels().getMap();
       if (!map.containsKey(key)) {
         throw new java.lang.IllegalArgumentException();
       }
       return map.get(key);
     }
+
     public Builder clearLabels() {
       bitField0_ = (bitField0_ & ~0x00000400);
-      internalGetMutableLabels().getMutableMap()
-          .clear();
+      internalGetMutableLabels().getMutableMap().clear();
       return this;
     }
     /**
+     *
+     *
      * 
      * A map for the user to specify any custom fields. A maximum of 20 labels per
      * conversation is allowed, with a maximum of 256 characters per entry.
@@ -9593,23 +11435,22 @@ public Builder clearLabels() {
      *
      * map<string, string> labels = 6;
      */
-    public Builder removeLabels(
-        java.lang.String key) {
-      if (key == null) { throw new NullPointerException("map key"); }
-      internalGetMutableLabels().getMutableMap()
-          .remove(key);
+    public Builder removeLabels(java.lang.String key) {
+      if (key == null) {
+        throw new NullPointerException("map key");
+      }
+      internalGetMutableLabels().getMutableMap().remove(key);
       return this;
     }
-    /**
-     * Use alternate mutation accessors instead.
-     */
+    /** Use alternate mutation accessors instead. */
     @java.lang.Deprecated
-    public java.util.Map
-        getMutableLabels() {
+    public java.util.Map getMutableLabels() {
       bitField0_ |= 0x00000400;
       return internalGetMutableLabels().getMutableMap();
     }
     /**
+     *
+     *
      * 
      * A map for the user to specify any custom fields. A maximum of 20 labels per
      * conversation is allowed, with a maximum of 256 characters per entry.
@@ -9617,17 +11458,20 @@ public Builder removeLabels(
      *
      * map<string, string> labels = 6;
      */
-    public Builder putLabels(
-        java.lang.String key,
-        java.lang.String value) {
-      if (key == null) { throw new NullPointerException("map key"); }
-      if (value == null) { throw new NullPointerException("map value"); }
-      internalGetMutableLabels().getMutableMap()
-          .put(key, value);
+    public Builder putLabels(java.lang.String key, java.lang.String value) {
+      if (key == null) {
+        throw new NullPointerException("map key");
+      }
+      if (value == null) {
+        throw new NullPointerException("map value");
+      }
+      internalGetMutableLabels().getMutableMap().put(key, value);
       bitField0_ |= 0x00000400;
       return this;
     }
     /**
+     *
+     *
      * 
      * A map for the user to specify any custom fields. A maximum of 20 labels per
      * conversation is allowed, with a maximum of 256 characters per entry.
@@ -9635,51 +11479,69 @@ public Builder putLabels(
      *
      * map<string, string> labels = 6;
      */
-    public Builder putAllLabels(
-        java.util.Map values) {
-      internalGetMutableLabels().getMutableMap()
-          .putAll(values);
+    public Builder putAllLabels(java.util.Map values) {
+      internalGetMutableLabels().getMutableMap().putAll(values);
       bitField0_ |= 0x00000400;
       return this;
     }
 
     private com.google.cloud.contactcenterinsights.v1.Conversation.Transcript transcript_;
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.cloud.contactcenterinsights.v1.Conversation.Transcript, com.google.cloud.contactcenterinsights.v1.Conversation.Transcript.Builder, com.google.cloud.contactcenterinsights.v1.Conversation.TranscriptOrBuilder> transcriptBuilder_;
+            com.google.cloud.contactcenterinsights.v1.Conversation.Transcript,
+            com.google.cloud.contactcenterinsights.v1.Conversation.Transcript.Builder,
+            com.google.cloud.contactcenterinsights.v1.Conversation.TranscriptOrBuilder>
+        transcriptBuilder_;
     /**
+     *
+     *
      * 
      * Output only. The conversation transcript.
      * 
* - * .google.cloud.contactcenterinsights.v1.Conversation.Transcript transcript = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.contactcenterinsights.v1.Conversation.Transcript transcript = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the transcript field is set. */ public boolean hasTranscript() { return ((bitField0_ & 0x00000800) != 0); } /** + * + * *
      * Output only. The conversation transcript.
      * 
* - * .google.cloud.contactcenterinsights.v1.Conversation.Transcript transcript = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.contactcenterinsights.v1.Conversation.Transcript transcript = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The transcript. */ public com.google.cloud.contactcenterinsights.v1.Conversation.Transcript getTranscript() { if (transcriptBuilder_ == null) { - return transcript_ == null ? com.google.cloud.contactcenterinsights.v1.Conversation.Transcript.getDefaultInstance() : transcript_; + return transcript_ == null + ? com.google.cloud.contactcenterinsights.v1.Conversation.Transcript.getDefaultInstance() + : transcript_; } else { return transcriptBuilder_.getMessage(); } } /** + * + * *
      * Output only. The conversation transcript.
      * 
* - * .google.cloud.contactcenterinsights.v1.Conversation.Transcript transcript = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.contactcenterinsights.v1.Conversation.Transcript transcript = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - public Builder setTranscript(com.google.cloud.contactcenterinsights.v1.Conversation.Transcript value) { + public Builder setTranscript( + com.google.cloud.contactcenterinsights.v1.Conversation.Transcript value) { if (transcriptBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -9693,11 +11555,15 @@ public Builder setTranscript(com.google.cloud.contactcenterinsights.v1.Conversat return this; } /** + * + * *
      * Output only. The conversation transcript.
      * 
* - * .google.cloud.contactcenterinsights.v1.Conversation.Transcript transcript = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.contactcenterinsights.v1.Conversation.Transcript transcript = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder setTranscript( com.google.cloud.contactcenterinsights.v1.Conversation.Transcript.Builder builderForValue) { @@ -9711,17 +11577,24 @@ public Builder setTranscript( return this; } /** + * + * *
      * Output only. The conversation transcript.
      * 
* - * .google.cloud.contactcenterinsights.v1.Conversation.Transcript transcript = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.contactcenterinsights.v1.Conversation.Transcript transcript = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - public Builder mergeTranscript(com.google.cloud.contactcenterinsights.v1.Conversation.Transcript value) { + public Builder mergeTranscript( + com.google.cloud.contactcenterinsights.v1.Conversation.Transcript value) { if (transcriptBuilder_ == null) { - if (((bitField0_ & 0x00000800) != 0) && - transcript_ != null && - transcript_ != com.google.cloud.contactcenterinsights.v1.Conversation.Transcript.getDefaultInstance()) { + if (((bitField0_ & 0x00000800) != 0) + && transcript_ != null + && transcript_ + != com.google.cloud.contactcenterinsights.v1.Conversation.Transcript + .getDefaultInstance()) { getTranscriptBuilder().mergeFrom(value); } else { transcript_ = value; @@ -9734,11 +11607,15 @@ public Builder mergeTranscript(com.google.cloud.contactcenterinsights.v1.Convers return this; } /** + * + * *
      * Output only. The conversation transcript.
      * 
* - * .google.cloud.contactcenterinsights.v1.Conversation.Transcript transcript = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.contactcenterinsights.v1.Conversation.Transcript transcript = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder clearTranscript() { bitField0_ = (bitField0_ & ~0x00000800); @@ -9751,48 +11628,66 @@ public Builder clearTranscript() { return this; } /** + * + * *
      * Output only. The conversation transcript.
      * 
* - * .google.cloud.contactcenterinsights.v1.Conversation.Transcript transcript = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.contactcenterinsights.v1.Conversation.Transcript transcript = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - public com.google.cloud.contactcenterinsights.v1.Conversation.Transcript.Builder getTranscriptBuilder() { + public com.google.cloud.contactcenterinsights.v1.Conversation.Transcript.Builder + getTranscriptBuilder() { bitField0_ |= 0x00000800; onChanged(); return getTranscriptFieldBuilder().getBuilder(); } /** + * + * *
      * Output only. The conversation transcript.
      * 
* - * .google.cloud.contactcenterinsights.v1.Conversation.Transcript transcript = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.contactcenterinsights.v1.Conversation.Transcript transcript = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - public com.google.cloud.contactcenterinsights.v1.Conversation.TranscriptOrBuilder getTranscriptOrBuilder() { + public com.google.cloud.contactcenterinsights.v1.Conversation.TranscriptOrBuilder + getTranscriptOrBuilder() { if (transcriptBuilder_ != null) { return transcriptBuilder_.getMessageOrBuilder(); } else { - return transcript_ == null ? - com.google.cloud.contactcenterinsights.v1.Conversation.Transcript.getDefaultInstance() : transcript_; + return transcript_ == null + ? com.google.cloud.contactcenterinsights.v1.Conversation.Transcript.getDefaultInstance() + : transcript_; } } /** + * + * *
      * Output only. The conversation transcript.
      * 
* - * .google.cloud.contactcenterinsights.v1.Conversation.Transcript transcript = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.contactcenterinsights.v1.Conversation.Transcript transcript = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.contactcenterinsights.v1.Conversation.Transcript, com.google.cloud.contactcenterinsights.v1.Conversation.Transcript.Builder, com.google.cloud.contactcenterinsights.v1.Conversation.TranscriptOrBuilder> + com.google.cloud.contactcenterinsights.v1.Conversation.Transcript, + com.google.cloud.contactcenterinsights.v1.Conversation.Transcript.Builder, + com.google.cloud.contactcenterinsights.v1.Conversation.TranscriptOrBuilder> getTranscriptFieldBuilder() { if (transcriptBuilder_ == null) { - transcriptBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.contactcenterinsights.v1.Conversation.Transcript, com.google.cloud.contactcenterinsights.v1.Conversation.Transcript.Builder, com.google.cloud.contactcenterinsights.v1.Conversation.TranscriptOrBuilder>( - getTranscript(), - getParentForChildren(), - isClean()); + transcriptBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.contactcenterinsights.v1.Conversation.Transcript, + com.google.cloud.contactcenterinsights.v1.Conversation.Transcript.Builder, + com.google.cloud.contactcenterinsights.v1.Conversation.TranscriptOrBuilder>( + getTranscript(), getParentForChildren(), isClean()); transcript_ = null; } return transcriptBuilder_; @@ -9800,24 +11695,35 @@ public com.google.cloud.contactcenterinsights.v1.Conversation.TranscriptOrBuilde private int medium_ = 0; /** + * + * *
      * Immutable. The conversation medium, if unspecified will default to
      * PHONE_CALL.
      * 
* - * .google.cloud.contactcenterinsights.v1.Conversation.Medium medium = 9 [(.google.api.field_behavior) = IMMUTABLE]; + * + * .google.cloud.contactcenterinsights.v1.Conversation.Medium medium = 9 [(.google.api.field_behavior) = IMMUTABLE]; + * + * * @return The enum numeric value on the wire for medium. */ - @java.lang.Override public int getMediumValue() { + @java.lang.Override + public int getMediumValue() { return medium_; } /** + * + * *
      * Immutable. The conversation medium, if unspecified will default to
      * PHONE_CALL.
      * 
* - * .google.cloud.contactcenterinsights.v1.Conversation.Medium medium = 9 [(.google.api.field_behavior) = IMMUTABLE]; + * + * .google.cloud.contactcenterinsights.v1.Conversation.Medium medium = 9 [(.google.api.field_behavior) = IMMUTABLE]; + * + * * @param value The enum numeric value on the wire for medium to set. * @return This builder for chaining. */ @@ -9828,26 +11734,39 @@ public Builder setMediumValue(int value) { return this; } /** + * + * *
      * Immutable. The conversation medium, if unspecified will default to
      * PHONE_CALL.
      * 
* - * .google.cloud.contactcenterinsights.v1.Conversation.Medium medium = 9 [(.google.api.field_behavior) = IMMUTABLE]; + * + * .google.cloud.contactcenterinsights.v1.Conversation.Medium medium = 9 [(.google.api.field_behavior) = IMMUTABLE]; + * + * * @return The medium. */ @java.lang.Override public com.google.cloud.contactcenterinsights.v1.Conversation.Medium getMedium() { - com.google.cloud.contactcenterinsights.v1.Conversation.Medium result = com.google.cloud.contactcenterinsights.v1.Conversation.Medium.forNumber(medium_); - return result == null ? com.google.cloud.contactcenterinsights.v1.Conversation.Medium.UNRECOGNIZED : result; + com.google.cloud.contactcenterinsights.v1.Conversation.Medium result = + com.google.cloud.contactcenterinsights.v1.Conversation.Medium.forNumber(medium_); + return result == null + ? com.google.cloud.contactcenterinsights.v1.Conversation.Medium.UNRECOGNIZED + : result; } /** + * + * *
      * Immutable. The conversation medium, if unspecified will default to
      * PHONE_CALL.
      * 
* - * .google.cloud.contactcenterinsights.v1.Conversation.Medium medium = 9 [(.google.api.field_behavior) = IMMUTABLE]; + * + * .google.cloud.contactcenterinsights.v1.Conversation.Medium medium = 9 [(.google.api.field_behavior) = IMMUTABLE]; + * + * * @param value The medium to set. * @return This builder for chaining. */ @@ -9861,12 +11780,17 @@ public Builder setMedium(com.google.cloud.contactcenterinsights.v1.Conversation. return this; } /** + * + * *
      * Immutable. The conversation medium, if unspecified will default to
      * PHONE_CALL.
      * 
* - * .google.cloud.contactcenterinsights.v1.Conversation.Medium medium = 9 [(.google.api.field_behavior) = IMMUTABLE]; + * + * .google.cloud.contactcenterinsights.v1.Conversation.Medium medium = 9 [(.google.api.field_behavior) = IMMUTABLE]; + * + * * @return This builder for chaining. */ public Builder clearMedium() { @@ -9878,24 +11802,35 @@ public Builder clearMedium() { private com.google.protobuf.Duration duration_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder> durationBuilder_; + com.google.protobuf.Duration, + com.google.protobuf.Duration.Builder, + com.google.protobuf.DurationOrBuilder> + durationBuilder_; /** + * + * *
      * Output only. The duration of the conversation.
      * 
* - * .google.protobuf.Duration duration = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Duration duration = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the duration field is set. */ public boolean hasDuration() { return ((bitField0_ & 0x00002000) != 0); } /** + * + * *
      * Output only. The duration of the conversation.
      * 
* - * .google.protobuf.Duration duration = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Duration duration = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The duration. */ public com.google.protobuf.Duration getDuration() { @@ -9906,11 +11841,14 @@ public com.google.protobuf.Duration getDuration() { } } /** + * + * *
      * Output only. The duration of the conversation.
      * 
* - * .google.protobuf.Duration duration = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Duration duration = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder setDuration(com.google.protobuf.Duration value) { if (durationBuilder_ == null) { @@ -9926,14 +11864,16 @@ public Builder setDuration(com.google.protobuf.Duration value) { return this; } /** + * + * *
      * Output only. The duration of the conversation.
      * 
* - * .google.protobuf.Duration duration = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Duration duration = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - public Builder setDuration( - com.google.protobuf.Duration.Builder builderForValue) { + public Builder setDuration(com.google.protobuf.Duration.Builder builderForValue) { if (durationBuilder_ == null) { duration_ = builderForValue.build(); } else { @@ -9944,17 +11884,20 @@ public Builder setDuration( return this; } /** + * + * *
      * Output only. The duration of the conversation.
      * 
* - * .google.protobuf.Duration duration = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Duration duration = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder mergeDuration(com.google.protobuf.Duration value) { if (durationBuilder_ == null) { - if (((bitField0_ & 0x00002000) != 0) && - duration_ != null && - duration_ != com.google.protobuf.Duration.getDefaultInstance()) { + if (((bitField0_ & 0x00002000) != 0) + && duration_ != null + && duration_ != com.google.protobuf.Duration.getDefaultInstance()) { getDurationBuilder().mergeFrom(value); } else { duration_ = value; @@ -9967,11 +11910,14 @@ public Builder mergeDuration(com.google.protobuf.Duration value) { return this; } /** + * + * *
      * Output only. The duration of the conversation.
      * 
* - * .google.protobuf.Duration duration = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Duration duration = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder clearDuration() { bitField0_ = (bitField0_ & ~0x00002000); @@ -9984,11 +11930,14 @@ public Builder clearDuration() { return this; } /** + * + * *
      * Output only. The duration of the conversation.
      * 
* - * .google.protobuf.Duration duration = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Duration duration = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public com.google.protobuf.Duration.Builder getDurationBuilder() { bitField0_ |= 0x00002000; @@ -9996,48 +11945,59 @@ public com.google.protobuf.Duration.Builder getDurationBuilder() { return getDurationFieldBuilder().getBuilder(); } /** + * + * *
      * Output only. The duration of the conversation.
      * 
* - * .google.protobuf.Duration duration = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Duration duration = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public com.google.protobuf.DurationOrBuilder getDurationOrBuilder() { if (durationBuilder_ != null) { return durationBuilder_.getMessageOrBuilder(); } else { - return duration_ == null ? - com.google.protobuf.Duration.getDefaultInstance() : duration_; + return duration_ == null ? com.google.protobuf.Duration.getDefaultInstance() : duration_; } } /** + * + * *
      * Output only. The duration of the conversation.
      * 
* - * .google.protobuf.Duration duration = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Duration duration = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder> + com.google.protobuf.Duration, + com.google.protobuf.Duration.Builder, + com.google.protobuf.DurationOrBuilder> getDurationFieldBuilder() { if (durationBuilder_ == null) { - durationBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder>( - getDuration(), - getParentForChildren(), - isClean()); + durationBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Duration, + com.google.protobuf.Duration.Builder, + com.google.protobuf.DurationOrBuilder>( + getDuration(), getParentForChildren(), isClean()); duration_ = null; } return durationBuilder_; } - private int turnCount_ ; + private int turnCount_; /** + * + * *
      * Output only. The number of turns in the conversation.
      * 
* * int32 turn_count = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The turnCount. */ @java.lang.Override @@ -10045,27 +12005,33 @@ public int getTurnCount() { return turnCount_; } /** + * + * *
      * Output only. The number of turns in the conversation.
      * 
* * int32 turn_count = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param value The turnCount to set. * @return This builder for chaining. */ public Builder setTurnCount(int value) { - + turnCount_ = value; bitField0_ |= 0x00004000; onChanged(); return this; } /** + * + * *
      * Output only. The number of turns in the conversation.
      * 
* * int32 turn_count = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return This builder for chaining. */ public Builder clearTurnCount() { @@ -10077,39 +12043,58 @@ public Builder clearTurnCount() { private com.google.cloud.contactcenterinsights.v1.Analysis latestAnalysis_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.contactcenterinsights.v1.Analysis, com.google.cloud.contactcenterinsights.v1.Analysis.Builder, com.google.cloud.contactcenterinsights.v1.AnalysisOrBuilder> latestAnalysisBuilder_; + com.google.cloud.contactcenterinsights.v1.Analysis, + com.google.cloud.contactcenterinsights.v1.Analysis.Builder, + com.google.cloud.contactcenterinsights.v1.AnalysisOrBuilder> + latestAnalysisBuilder_; /** + * + * *
      * Output only. The conversation's latest analysis, if one exists.
      * 
* - * .google.cloud.contactcenterinsights.v1.Analysis latest_analysis = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.contactcenterinsights.v1.Analysis latest_analysis = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the latestAnalysis field is set. */ public boolean hasLatestAnalysis() { return ((bitField0_ & 0x00008000) != 0); } /** + * + * *
      * Output only. The conversation's latest analysis, if one exists.
      * 
* - * .google.cloud.contactcenterinsights.v1.Analysis latest_analysis = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.contactcenterinsights.v1.Analysis latest_analysis = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The latestAnalysis. */ public com.google.cloud.contactcenterinsights.v1.Analysis getLatestAnalysis() { if (latestAnalysisBuilder_ == null) { - return latestAnalysis_ == null ? com.google.cloud.contactcenterinsights.v1.Analysis.getDefaultInstance() : latestAnalysis_; + return latestAnalysis_ == null + ? com.google.cloud.contactcenterinsights.v1.Analysis.getDefaultInstance() + : latestAnalysis_; } else { return latestAnalysisBuilder_.getMessage(); } } /** + * + * *
      * Output only. The conversation's latest analysis, if one exists.
      * 
* - * .google.cloud.contactcenterinsights.v1.Analysis latest_analysis = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.contactcenterinsights.v1.Analysis latest_analysis = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder setLatestAnalysis(com.google.cloud.contactcenterinsights.v1.Analysis value) { if (latestAnalysisBuilder_ == null) { @@ -10125,11 +12110,15 @@ public Builder setLatestAnalysis(com.google.cloud.contactcenterinsights.v1.Analy return this; } /** + * + * *
      * Output only. The conversation's latest analysis, if one exists.
      * 
* - * .google.cloud.contactcenterinsights.v1.Analysis latest_analysis = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.contactcenterinsights.v1.Analysis latest_analysis = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder setLatestAnalysis( com.google.cloud.contactcenterinsights.v1.Analysis.Builder builderForValue) { @@ -10143,17 +12132,22 @@ public Builder setLatestAnalysis( return this; } /** + * + * *
      * Output only. The conversation's latest analysis, if one exists.
      * 
* - * .google.cloud.contactcenterinsights.v1.Analysis latest_analysis = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.contactcenterinsights.v1.Analysis latest_analysis = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder mergeLatestAnalysis(com.google.cloud.contactcenterinsights.v1.Analysis value) { if (latestAnalysisBuilder_ == null) { - if (((bitField0_ & 0x00008000) != 0) && - latestAnalysis_ != null && - latestAnalysis_ != com.google.cloud.contactcenterinsights.v1.Analysis.getDefaultInstance()) { + if (((bitField0_ & 0x00008000) != 0) + && latestAnalysis_ != null + && latestAnalysis_ + != com.google.cloud.contactcenterinsights.v1.Analysis.getDefaultInstance()) { getLatestAnalysisBuilder().mergeFrom(value); } else { latestAnalysis_ = value; @@ -10166,11 +12160,15 @@ public Builder mergeLatestAnalysis(com.google.cloud.contactcenterinsights.v1.Ana return this; } /** + * + * *
      * Output only. The conversation's latest analysis, if one exists.
      * 
* - * .google.cloud.contactcenterinsights.v1.Analysis latest_analysis = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.contactcenterinsights.v1.Analysis latest_analysis = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder clearLatestAnalysis() { bitField0_ = (bitField0_ & ~0x00008000); @@ -10183,11 +12181,15 @@ public Builder clearLatestAnalysis() { return this; } /** + * + * *
      * Output only. The conversation's latest analysis, if one exists.
      * 
* - * .google.cloud.contactcenterinsights.v1.Analysis latest_analysis = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.contactcenterinsights.v1.Analysis latest_analysis = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public com.google.cloud.contactcenterinsights.v1.Analysis.Builder getLatestAnalysisBuilder() { bitField0_ |= 0x00008000; @@ -10195,62 +12197,86 @@ public com.google.cloud.contactcenterinsights.v1.Analysis.Builder getLatestAnaly return getLatestAnalysisFieldBuilder().getBuilder(); } /** + * + * *
      * Output only. The conversation's latest analysis, if one exists.
      * 
* - * .google.cloud.contactcenterinsights.v1.Analysis latest_analysis = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.contactcenterinsights.v1.Analysis latest_analysis = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - public com.google.cloud.contactcenterinsights.v1.AnalysisOrBuilder getLatestAnalysisOrBuilder() { + public com.google.cloud.contactcenterinsights.v1.AnalysisOrBuilder + getLatestAnalysisOrBuilder() { if (latestAnalysisBuilder_ != null) { return latestAnalysisBuilder_.getMessageOrBuilder(); } else { - return latestAnalysis_ == null ? - com.google.cloud.contactcenterinsights.v1.Analysis.getDefaultInstance() : latestAnalysis_; + return latestAnalysis_ == null + ? com.google.cloud.contactcenterinsights.v1.Analysis.getDefaultInstance() + : latestAnalysis_; } } /** + * + * *
      * Output only. The conversation's latest analysis, if one exists.
      * 
* - * .google.cloud.contactcenterinsights.v1.Analysis latest_analysis = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.contactcenterinsights.v1.Analysis latest_analysis = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.contactcenterinsights.v1.Analysis, com.google.cloud.contactcenterinsights.v1.Analysis.Builder, com.google.cloud.contactcenterinsights.v1.AnalysisOrBuilder> + com.google.cloud.contactcenterinsights.v1.Analysis, + com.google.cloud.contactcenterinsights.v1.Analysis.Builder, + com.google.cloud.contactcenterinsights.v1.AnalysisOrBuilder> getLatestAnalysisFieldBuilder() { if (latestAnalysisBuilder_ == null) { - latestAnalysisBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.contactcenterinsights.v1.Analysis, com.google.cloud.contactcenterinsights.v1.Analysis.Builder, com.google.cloud.contactcenterinsights.v1.AnalysisOrBuilder>( - getLatestAnalysis(), - getParentForChildren(), - isClean()); + latestAnalysisBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.contactcenterinsights.v1.Analysis, + com.google.cloud.contactcenterinsights.v1.Analysis.Builder, + com.google.cloud.contactcenterinsights.v1.AnalysisOrBuilder>( + getLatestAnalysis(), getParentForChildren(), isClean()); latestAnalysis_ = null; } return latestAnalysisBuilder_; } - private java.util.List runtimeAnnotations_ = - java.util.Collections.emptyList(); + private java.util.List + runtimeAnnotations_ = java.util.Collections.emptyList(); + private void ensureRuntimeAnnotationsIsMutable() { if (!((bitField0_ & 0x00010000) != 0)) { - runtimeAnnotations_ = new java.util.ArrayList(runtimeAnnotations_); + runtimeAnnotations_ = + new java.util.ArrayList( + runtimeAnnotations_); bitField0_ |= 0x00010000; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.contactcenterinsights.v1.RuntimeAnnotation, com.google.cloud.contactcenterinsights.v1.RuntimeAnnotation.Builder, com.google.cloud.contactcenterinsights.v1.RuntimeAnnotationOrBuilder> runtimeAnnotationsBuilder_; + com.google.cloud.contactcenterinsights.v1.RuntimeAnnotation, + com.google.cloud.contactcenterinsights.v1.RuntimeAnnotation.Builder, + com.google.cloud.contactcenterinsights.v1.RuntimeAnnotationOrBuilder> + runtimeAnnotationsBuilder_; /** + * + * *
      * Output only. The annotations that were generated during the customer and
      * agent interaction.
      * 
* - * repeated .google.cloud.contactcenterinsights.v1.RuntimeAnnotation runtime_annotations = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.contactcenterinsights.v1.RuntimeAnnotation runtime_annotations = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - public java.util.List getRuntimeAnnotationsList() { + public java.util.List + getRuntimeAnnotationsList() { if (runtimeAnnotationsBuilder_ == null) { return java.util.Collections.unmodifiableList(runtimeAnnotations_); } else { @@ -10258,12 +12284,16 @@ public java.util.List * Output only. The annotations that were generated during the customer and * agent interaction. *
* - * repeated .google.cloud.contactcenterinsights.v1.RuntimeAnnotation runtime_annotations = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.contactcenterinsights.v1.RuntimeAnnotation runtime_annotations = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public int getRuntimeAnnotationsCount() { if (runtimeAnnotationsBuilder_ == null) { @@ -10273,14 +12303,19 @@ public int getRuntimeAnnotationsCount() { } } /** + * + * *
      * Output only. The annotations that were generated during the customer and
      * agent interaction.
      * 
* - * repeated .google.cloud.contactcenterinsights.v1.RuntimeAnnotation runtime_annotations = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.contactcenterinsights.v1.RuntimeAnnotation runtime_annotations = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - public com.google.cloud.contactcenterinsights.v1.RuntimeAnnotation getRuntimeAnnotations(int index) { + public com.google.cloud.contactcenterinsights.v1.RuntimeAnnotation getRuntimeAnnotations( + int index) { if (runtimeAnnotationsBuilder_ == null) { return runtimeAnnotations_.get(index); } else { @@ -10288,12 +12323,16 @@ public com.google.cloud.contactcenterinsights.v1.RuntimeAnnotation getRuntimeAnn } } /** + * + * *
      * Output only. The annotations that were generated during the customer and
      * agent interaction.
      * 
* - * repeated .google.cloud.contactcenterinsights.v1.RuntimeAnnotation runtime_annotations = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.contactcenterinsights.v1.RuntimeAnnotation runtime_annotations = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder setRuntimeAnnotations( int index, com.google.cloud.contactcenterinsights.v1.RuntimeAnnotation value) { @@ -10310,15 +12349,20 @@ public Builder setRuntimeAnnotations( return this; } /** + * + * *
      * Output only. The annotations that were generated during the customer and
      * agent interaction.
      * 
* - * repeated .google.cloud.contactcenterinsights.v1.RuntimeAnnotation runtime_annotations = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.contactcenterinsights.v1.RuntimeAnnotation runtime_annotations = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder setRuntimeAnnotations( - int index, com.google.cloud.contactcenterinsights.v1.RuntimeAnnotation.Builder builderForValue) { + int index, + com.google.cloud.contactcenterinsights.v1.RuntimeAnnotation.Builder builderForValue) { if (runtimeAnnotationsBuilder_ == null) { ensureRuntimeAnnotationsIsMutable(); runtimeAnnotations_.set(index, builderForValue.build()); @@ -10329,14 +12373,19 @@ public Builder setRuntimeAnnotations( return this; } /** + * + * *
      * Output only. The annotations that were generated during the customer and
      * agent interaction.
      * 
* - * repeated .google.cloud.contactcenterinsights.v1.RuntimeAnnotation runtime_annotations = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.contactcenterinsights.v1.RuntimeAnnotation runtime_annotations = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - public Builder addRuntimeAnnotations(com.google.cloud.contactcenterinsights.v1.RuntimeAnnotation value) { + public Builder addRuntimeAnnotations( + com.google.cloud.contactcenterinsights.v1.RuntimeAnnotation value) { if (runtimeAnnotationsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -10350,12 +12399,16 @@ public Builder addRuntimeAnnotations(com.google.cloud.contactcenterinsights.v1.R return this; } /** + * + * *
      * Output only. The annotations that were generated during the customer and
      * agent interaction.
      * 
* - * repeated .google.cloud.contactcenterinsights.v1.RuntimeAnnotation runtime_annotations = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.contactcenterinsights.v1.RuntimeAnnotation runtime_annotations = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder addRuntimeAnnotations( int index, com.google.cloud.contactcenterinsights.v1.RuntimeAnnotation value) { @@ -10372,12 +12425,16 @@ public Builder addRuntimeAnnotations( return this; } /** + * + * *
      * Output only. The annotations that were generated during the customer and
      * agent interaction.
      * 
* - * repeated .google.cloud.contactcenterinsights.v1.RuntimeAnnotation runtime_annotations = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.contactcenterinsights.v1.RuntimeAnnotation runtime_annotations = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder addRuntimeAnnotations( com.google.cloud.contactcenterinsights.v1.RuntimeAnnotation.Builder builderForValue) { @@ -10391,15 +12448,20 @@ public Builder addRuntimeAnnotations( return this; } /** + * + * *
      * Output only. The annotations that were generated during the customer and
      * agent interaction.
      * 
* - * repeated .google.cloud.contactcenterinsights.v1.RuntimeAnnotation runtime_annotations = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.contactcenterinsights.v1.RuntimeAnnotation runtime_annotations = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder addRuntimeAnnotations( - int index, com.google.cloud.contactcenterinsights.v1.RuntimeAnnotation.Builder builderForValue) { + int index, + com.google.cloud.contactcenterinsights.v1.RuntimeAnnotation.Builder builderForValue) { if (runtimeAnnotationsBuilder_ == null) { ensureRuntimeAnnotationsIsMutable(); runtimeAnnotations_.add(index, builderForValue.build()); @@ -10410,19 +12472,23 @@ public Builder addRuntimeAnnotations( return this; } /** + * + * *
      * Output only. The annotations that were generated during the customer and
      * agent interaction.
      * 
* - * repeated .google.cloud.contactcenterinsights.v1.RuntimeAnnotation runtime_annotations = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.contactcenterinsights.v1.RuntimeAnnotation runtime_annotations = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder addAllRuntimeAnnotations( - java.lang.Iterable values) { + java.lang.Iterable + values) { if (runtimeAnnotationsBuilder_ == null) { ensureRuntimeAnnotationsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, runtimeAnnotations_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, runtimeAnnotations_); onChanged(); } else { runtimeAnnotationsBuilder_.addAllMessages(values); @@ -10430,12 +12496,16 @@ public Builder addAllRuntimeAnnotations( return this; } /** + * + * *
      * Output only. The annotations that were generated during the customer and
      * agent interaction.
      * 
* - * repeated .google.cloud.contactcenterinsights.v1.RuntimeAnnotation runtime_annotations = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.contactcenterinsights.v1.RuntimeAnnotation runtime_annotations = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder clearRuntimeAnnotations() { if (runtimeAnnotationsBuilder_ == null) { @@ -10448,12 +12518,16 @@ public Builder clearRuntimeAnnotations() { return this; } /** + * + * *
      * Output only. The annotations that were generated during the customer and
      * agent interaction.
      * 
* - * repeated .google.cloud.contactcenterinsights.v1.RuntimeAnnotation runtime_annotations = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.contactcenterinsights.v1.RuntimeAnnotation runtime_annotations = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder removeRuntimeAnnotations(int index) { if (runtimeAnnotationsBuilder_ == null) { @@ -10466,42 +12540,56 @@ public Builder removeRuntimeAnnotations(int index) { return this; } /** + * + * *
      * Output only. The annotations that were generated during the customer and
      * agent interaction.
      * 
* - * repeated .google.cloud.contactcenterinsights.v1.RuntimeAnnotation runtime_annotations = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.contactcenterinsights.v1.RuntimeAnnotation runtime_annotations = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - public com.google.cloud.contactcenterinsights.v1.RuntimeAnnotation.Builder getRuntimeAnnotationsBuilder( - int index) { + public com.google.cloud.contactcenterinsights.v1.RuntimeAnnotation.Builder + getRuntimeAnnotationsBuilder(int index) { return getRuntimeAnnotationsFieldBuilder().getBuilder(index); } /** + * + * *
      * Output only. The annotations that were generated during the customer and
      * agent interaction.
      * 
* - * repeated .google.cloud.contactcenterinsights.v1.RuntimeAnnotation runtime_annotations = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.contactcenterinsights.v1.RuntimeAnnotation runtime_annotations = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - public com.google.cloud.contactcenterinsights.v1.RuntimeAnnotationOrBuilder getRuntimeAnnotationsOrBuilder( - int index) { + public com.google.cloud.contactcenterinsights.v1.RuntimeAnnotationOrBuilder + getRuntimeAnnotationsOrBuilder(int index) { if (runtimeAnnotationsBuilder_ == null) { - return runtimeAnnotations_.get(index); } else { + return runtimeAnnotations_.get(index); + } else { return runtimeAnnotationsBuilder_.getMessageOrBuilder(index); } } /** + * + * *
      * Output only. The annotations that were generated during the customer and
      * agent interaction.
      * 
* - * repeated .google.cloud.contactcenterinsights.v1.RuntimeAnnotation runtime_annotations = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.contactcenterinsights.v1.RuntimeAnnotation runtime_annotations = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - public java.util.List - getRuntimeAnnotationsOrBuilderList() { + public java.util.List< + ? extends com.google.cloud.contactcenterinsights.v1.RuntimeAnnotationOrBuilder> + getRuntimeAnnotationsOrBuilderList() { if (runtimeAnnotationsBuilder_ != null) { return runtimeAnnotationsBuilder_.getMessageOrBuilderList(); } else { @@ -10509,48 +12597,70 @@ public com.google.cloud.contactcenterinsights.v1.RuntimeAnnotationOrBuilder getR } } /** + * + * *
      * Output only. The annotations that were generated during the customer and
      * agent interaction.
      * 
* - * repeated .google.cloud.contactcenterinsights.v1.RuntimeAnnotation runtime_annotations = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.contactcenterinsights.v1.RuntimeAnnotation runtime_annotations = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - public com.google.cloud.contactcenterinsights.v1.RuntimeAnnotation.Builder addRuntimeAnnotationsBuilder() { - return getRuntimeAnnotationsFieldBuilder().addBuilder( - com.google.cloud.contactcenterinsights.v1.RuntimeAnnotation.getDefaultInstance()); + public com.google.cloud.contactcenterinsights.v1.RuntimeAnnotation.Builder + addRuntimeAnnotationsBuilder() { + return getRuntimeAnnotationsFieldBuilder() + .addBuilder( + com.google.cloud.contactcenterinsights.v1.RuntimeAnnotation.getDefaultInstance()); } /** + * + * *
      * Output only. The annotations that were generated during the customer and
      * agent interaction.
      * 
* - * repeated .google.cloud.contactcenterinsights.v1.RuntimeAnnotation runtime_annotations = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.contactcenterinsights.v1.RuntimeAnnotation runtime_annotations = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - public com.google.cloud.contactcenterinsights.v1.RuntimeAnnotation.Builder addRuntimeAnnotationsBuilder( - int index) { - return getRuntimeAnnotationsFieldBuilder().addBuilder( - index, com.google.cloud.contactcenterinsights.v1.RuntimeAnnotation.getDefaultInstance()); + public com.google.cloud.contactcenterinsights.v1.RuntimeAnnotation.Builder + addRuntimeAnnotationsBuilder(int index) { + return getRuntimeAnnotationsFieldBuilder() + .addBuilder( + index, + com.google.cloud.contactcenterinsights.v1.RuntimeAnnotation.getDefaultInstance()); } /** + * + * *
      * Output only. The annotations that were generated during the customer and
      * agent interaction.
      * 
* - * repeated .google.cloud.contactcenterinsights.v1.RuntimeAnnotation runtime_annotations = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.contactcenterinsights.v1.RuntimeAnnotation runtime_annotations = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - public java.util.List - getRuntimeAnnotationsBuilderList() { + public java.util.List + getRuntimeAnnotationsBuilderList() { return getRuntimeAnnotationsFieldBuilder().getBuilderList(); } + private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.contactcenterinsights.v1.RuntimeAnnotation, com.google.cloud.contactcenterinsights.v1.RuntimeAnnotation.Builder, com.google.cloud.contactcenterinsights.v1.RuntimeAnnotationOrBuilder> + com.google.cloud.contactcenterinsights.v1.RuntimeAnnotation, + com.google.cloud.contactcenterinsights.v1.RuntimeAnnotation.Builder, + com.google.cloud.contactcenterinsights.v1.RuntimeAnnotationOrBuilder> getRuntimeAnnotationsFieldBuilder() { if (runtimeAnnotationsBuilder_ == null) { - runtimeAnnotationsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.contactcenterinsights.v1.RuntimeAnnotation, com.google.cloud.contactcenterinsights.v1.RuntimeAnnotation.Builder, com.google.cloud.contactcenterinsights.v1.RuntimeAnnotationOrBuilder>( + runtimeAnnotationsBuilder_ = + new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.contactcenterinsights.v1.RuntimeAnnotation, + com.google.cloud.contactcenterinsights.v1.RuntimeAnnotation.Builder, + com.google.cloud.contactcenterinsights.v1.RuntimeAnnotationOrBuilder>( runtimeAnnotations_, ((bitField0_ & 0x00010000) != 0), getParentForChildren(), @@ -10561,8 +12671,11 @@ public com.google.cloud.contactcenterinsights.v1.RuntimeAnnotation.Builder addRu } private com.google.protobuf.MapField< - java.lang.String, com.google.cloud.contactcenterinsights.v1.DialogflowIntent> dialogflowIntents_; - private com.google.protobuf.MapField + java.lang.String, com.google.cloud.contactcenterinsights.v1.DialogflowIntent> + dialogflowIntents_; + + private com.google.protobuf.MapField< + java.lang.String, com.google.cloud.contactcenterinsights.v1.DialogflowIntent> internalGetDialogflowIntents() { if (dialogflowIntents_ == null) { return com.google.protobuf.MapField.emptyMapField( @@ -10570,11 +12683,14 @@ public com.google.cloud.contactcenterinsights.v1.RuntimeAnnotation.Builder addRu } return dialogflowIntents_; } - private com.google.protobuf.MapField + + private com.google.protobuf.MapField< + java.lang.String, com.google.cloud.contactcenterinsights.v1.DialogflowIntent> internalGetMutableDialogflowIntents() { if (dialogflowIntents_ == null) { - dialogflowIntents_ = com.google.protobuf.MapField.newMapField( - DialogflowIntentsDefaultEntryHolder.defaultEntry); + dialogflowIntents_ = + com.google.protobuf.MapField.newMapField( + DialogflowIntentsDefaultEntryHolder.defaultEntry); } if (!dialogflowIntents_.isMutable()) { dialogflowIntents_ = dialogflowIntents_.copy(); @@ -10583,166 +12699,205 @@ public com.google.cloud.contactcenterinsights.v1.RuntimeAnnotation.Builder addRu onChanged(); return dialogflowIntents_; } + public int getDialogflowIntentsCount() { return internalGetDialogflowIntents().getMap().size(); } /** + * + * *
      * Output only. All the matched Dialogflow intents in the call. The key
      * corresponds to a Dialogflow intent, format:
      * projects/{project}/agent/{agent}/intents/{intent}
      * 
* - * map<string, .google.cloud.contactcenterinsights.v1.DialogflowIntent> dialogflow_intents = 18 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * map<string, .google.cloud.contactcenterinsights.v1.DialogflowIntent> dialogflow_intents = 18 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ @java.lang.Override - public boolean containsDialogflowIntents( - java.lang.String key) { - if (key == null) { throw new NullPointerException("map key"); } + public boolean containsDialogflowIntents(java.lang.String key) { + if (key == null) { + throw new NullPointerException("map key"); + } return internalGetDialogflowIntents().getMap().containsKey(key); } - /** - * Use {@link #getDialogflowIntentsMap()} instead. - */ + /** Use {@link #getDialogflowIntentsMap()} instead. */ @java.lang.Override @java.lang.Deprecated - public java.util.Map getDialogflowIntents() { + public java.util.Map< + java.lang.String, com.google.cloud.contactcenterinsights.v1.DialogflowIntent> + getDialogflowIntents() { return getDialogflowIntentsMap(); } /** + * + * *
      * Output only. All the matched Dialogflow intents in the call. The key
      * corresponds to a Dialogflow intent, format:
      * projects/{project}/agent/{agent}/intents/{intent}
      * 
* - * map<string, .google.cloud.contactcenterinsights.v1.DialogflowIntent> dialogflow_intents = 18 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * map<string, .google.cloud.contactcenterinsights.v1.DialogflowIntent> dialogflow_intents = 18 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ @java.lang.Override - public java.util.Map getDialogflowIntentsMap() { + public java.util.Map< + java.lang.String, com.google.cloud.contactcenterinsights.v1.DialogflowIntent> + getDialogflowIntentsMap() { return internalGetDialogflowIntents().getMap(); } /** + * + * *
      * Output only. All the matched Dialogflow intents in the call. The key
      * corresponds to a Dialogflow intent, format:
      * projects/{project}/agent/{agent}/intents/{intent}
      * 
* - * map<string, .google.cloud.contactcenterinsights.v1.DialogflowIntent> dialogflow_intents = 18 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * map<string, .google.cloud.contactcenterinsights.v1.DialogflowIntent> dialogflow_intents = 18 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ @java.lang.Override - public /* nullable */ -com.google.cloud.contactcenterinsights.v1.DialogflowIntent getDialogflowIntentsOrDefault( - java.lang.String key, - /* nullable */ -com.google.cloud.contactcenterinsights.v1.DialogflowIntent defaultValue) { - if (key == null) { throw new NullPointerException("map key"); } - java.util.Map map = - internalGetDialogflowIntents().getMap(); + public /* nullable */ com.google.cloud.contactcenterinsights.v1.DialogflowIntent + getDialogflowIntentsOrDefault( + java.lang.String key, + /* nullable */ + com.google.cloud.contactcenterinsights.v1.DialogflowIntent defaultValue) { + if (key == null) { + throw new NullPointerException("map key"); + } + java.util.Map + map = internalGetDialogflowIntents().getMap(); return map.containsKey(key) ? map.get(key) : defaultValue; } /** + * + * *
      * Output only. All the matched Dialogflow intents in the call. The key
      * corresponds to a Dialogflow intent, format:
      * projects/{project}/agent/{agent}/intents/{intent}
      * 
* - * map<string, .google.cloud.contactcenterinsights.v1.DialogflowIntent> dialogflow_intents = 18 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * map<string, .google.cloud.contactcenterinsights.v1.DialogflowIntent> dialogflow_intents = 18 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ @java.lang.Override public com.google.cloud.contactcenterinsights.v1.DialogflowIntent getDialogflowIntentsOrThrow( java.lang.String key) { - if (key == null) { throw new NullPointerException("map key"); } - java.util.Map map = - internalGetDialogflowIntents().getMap(); + if (key == null) { + throw new NullPointerException("map key"); + } + java.util.Map + map = internalGetDialogflowIntents().getMap(); if (!map.containsKey(key)) { throw new java.lang.IllegalArgumentException(); } return map.get(key); } + public Builder clearDialogflowIntents() { bitField0_ = (bitField0_ & ~0x00020000); - internalGetMutableDialogflowIntents().getMutableMap() - .clear(); + internalGetMutableDialogflowIntents().getMutableMap().clear(); return this; } /** + * + * *
      * Output only. All the matched Dialogflow intents in the call. The key
      * corresponds to a Dialogflow intent, format:
      * projects/{project}/agent/{agent}/intents/{intent}
      * 
* - * map<string, .google.cloud.contactcenterinsights.v1.DialogflowIntent> dialogflow_intents = 18 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * map<string, .google.cloud.contactcenterinsights.v1.DialogflowIntent> dialogflow_intents = 18 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - public Builder removeDialogflowIntents( - java.lang.String key) { - if (key == null) { throw new NullPointerException("map key"); } - internalGetMutableDialogflowIntents().getMutableMap() - .remove(key); + public Builder removeDialogflowIntents(java.lang.String key) { + if (key == null) { + throw new NullPointerException("map key"); + } + internalGetMutableDialogflowIntents().getMutableMap().remove(key); return this; } - /** - * Use alternate mutation accessors instead. - */ + /** Use alternate mutation accessors instead. */ @java.lang.Deprecated - public java.util.Map + public java.util.Map< + java.lang.String, com.google.cloud.contactcenterinsights.v1.DialogflowIntent> getMutableDialogflowIntents() { bitField0_ |= 0x00020000; return internalGetMutableDialogflowIntents().getMutableMap(); } /** + * + * *
      * Output only. All the matched Dialogflow intents in the call. The key
      * corresponds to a Dialogflow intent, format:
      * projects/{project}/agent/{agent}/intents/{intent}
      * 
* - * map<string, .google.cloud.contactcenterinsights.v1.DialogflowIntent> dialogflow_intents = 18 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * map<string, .google.cloud.contactcenterinsights.v1.DialogflowIntent> dialogflow_intents = 18 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder putDialogflowIntents( - java.lang.String key, - com.google.cloud.contactcenterinsights.v1.DialogflowIntent value) { - if (key == null) { throw new NullPointerException("map key"); } - if (value == null) { throw new NullPointerException("map value"); } - internalGetMutableDialogflowIntents().getMutableMap() - .put(key, value); + java.lang.String key, com.google.cloud.contactcenterinsights.v1.DialogflowIntent value) { + if (key == null) { + throw new NullPointerException("map key"); + } + if (value == null) { + throw new NullPointerException("map value"); + } + internalGetMutableDialogflowIntents().getMutableMap().put(key, value); bitField0_ |= 0x00020000; return this; } /** + * + * *
      * Output only. All the matched Dialogflow intents in the call. The key
      * corresponds to a Dialogflow intent, format:
      * projects/{project}/agent/{agent}/intents/{intent}
      * 
* - * map<string, .google.cloud.contactcenterinsights.v1.DialogflowIntent> dialogflow_intents = 18 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * map<string, .google.cloud.contactcenterinsights.v1.DialogflowIntent> dialogflow_intents = 18 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder putAllDialogflowIntents( - java.util.Map values) { - internalGetMutableDialogflowIntents().getMutableMap() - .putAll(values); + java.util.Map + values) { + internalGetMutableDialogflowIntents().getMutableMap().putAll(values); bitField0_ |= 0x00020000; return this; } private java.lang.Object obfuscatedUserId_ = ""; /** + * + * *
      * Obfuscated user ID which the customer sent to us.
      * 
* * string obfuscated_user_id = 21; + * * @return The obfuscatedUserId. */ public java.lang.String getObfuscatedUserId() { java.lang.Object ref = obfuscatedUserId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); obfuscatedUserId_ = s; return s; @@ -10751,20 +12906,21 @@ public java.lang.String getObfuscatedUserId() { } } /** + * + * *
      * Obfuscated user ID which the customer sent to us.
      * 
* * string obfuscated_user_id = 21; + * * @return The bytes for obfuscatedUserId. */ - public com.google.protobuf.ByteString - getObfuscatedUserIdBytes() { + public com.google.protobuf.ByteString getObfuscatedUserIdBytes() { java.lang.Object ref = obfuscatedUserId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); obfuscatedUserId_ = b; return b; } else { @@ -10772,28 +12928,35 @@ public java.lang.String getObfuscatedUserId() { } } /** + * + * *
      * Obfuscated user ID which the customer sent to us.
      * 
* * string obfuscated_user_id = 21; + * * @param value The obfuscatedUserId to set. * @return This builder for chaining. */ - public Builder setObfuscatedUserId( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setObfuscatedUserId(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } obfuscatedUserId_ = value; bitField0_ |= 0x00040000; onChanged(); return this; } /** + * + * *
      * Obfuscated user ID which the customer sent to us.
      * 
* * string obfuscated_user_id = 21; + * * @return This builder for chaining. */ public Builder clearObfuscatedUserId() { @@ -10803,26 +12966,30 @@ public Builder clearObfuscatedUserId() { return this; } /** + * + * *
      * Obfuscated user ID which the customer sent to us.
      * 
* * string obfuscated_user_id = 21; + * * @param value The bytes for obfuscatedUserId to set. * @return This builder for chaining. */ - public Builder setObfuscatedUserIdBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setObfuscatedUserIdBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); obfuscatedUserId_ = value; bitField0_ |= 0x00040000; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -10832,12 +12999,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.contactcenterinsights.v1.Conversation) } // @@protoc_insertion_point(class_scope:google.cloud.contactcenterinsights.v1.Conversation) private static final com.google.cloud.contactcenterinsights.v1.Conversation DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.contactcenterinsights.v1.Conversation(); } @@ -10846,27 +13013,27 @@ public static com.google.cloud.contactcenterinsights.v1.Conversation getDefaultI return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public Conversation parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public Conversation parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -10881,6 +13048,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.contactcenterinsights.v1.Conversation getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ConversationDataSource.java b/java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ConversationDataSource.java similarity index 68% rename from owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ConversationDataSource.java rename to java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ConversationDataSource.java index 32a967f50a03..166883de88f2 100644 --- a/owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ConversationDataSource.java +++ b/java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ConversationDataSource.java @@ -1,61 +1,82 @@ +/* + * 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. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/contactcenterinsights/v1/resources.proto package com.google.cloud.contactcenterinsights.v1; /** + * + * *
  * The conversation source, which is a combination of transcript and audio.
  * 
* * Protobuf type {@code google.cloud.contactcenterinsights.v1.ConversationDataSource} */ -public final class ConversationDataSource extends - com.google.protobuf.GeneratedMessageV3 implements +public final class ConversationDataSource extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.contactcenterinsights.v1.ConversationDataSource) ConversationDataSourceOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use ConversationDataSource.newBuilder() to construct. private ConversationDataSource(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private ConversationDataSource() { - } + + private ConversationDataSource() {} @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ConversationDataSource(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.contactcenterinsights.v1.ResourcesProto.internal_static_google_cloud_contactcenterinsights_v1_ConversationDataSource_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.contactcenterinsights.v1.ResourcesProto + .internal_static_google_cloud_contactcenterinsights_v1_ConversationDataSource_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.contactcenterinsights.v1.ResourcesProto.internal_static_google_cloud_contactcenterinsights_v1_ConversationDataSource_fieldAccessorTable + return com.google.cloud.contactcenterinsights.v1.ResourcesProto + .internal_static_google_cloud_contactcenterinsights_v1_ConversationDataSource_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.contactcenterinsights.v1.ConversationDataSource.class, com.google.cloud.contactcenterinsights.v1.ConversationDataSource.Builder.class); + com.google.cloud.contactcenterinsights.v1.ConversationDataSource.class, + com.google.cloud.contactcenterinsights.v1.ConversationDataSource.Builder.class); } private int sourceCase_ = 0; private java.lang.Object source_; + public enum SourceCase - implements com.google.protobuf.Internal.EnumLite, + implements + com.google.protobuf.Internal.EnumLite, com.google.protobuf.AbstractMessage.InternalOneOfEnum { GCS_SOURCE(1), DIALOGFLOW_SOURCE(3), SOURCE_NOT_SET(0); private final int value; + private SourceCase(int value) { this.value = value; } @@ -71,30 +92,36 @@ public static SourceCase valueOf(int value) { public static SourceCase forNumber(int value) { switch (value) { - case 1: return GCS_SOURCE; - case 3: return DIALOGFLOW_SOURCE; - case 0: return SOURCE_NOT_SET; - default: return null; + case 1: + return GCS_SOURCE; + case 3: + return DIALOGFLOW_SOURCE; + case 0: + return SOURCE_NOT_SET; + default: + return null; } } + public int getNumber() { return this.value; } }; - public SourceCase - getSourceCase() { - return SourceCase.forNumber( - sourceCase_); + public SourceCase getSourceCase() { + return SourceCase.forNumber(sourceCase_); } public static final int GCS_SOURCE_FIELD_NUMBER = 1; /** + * + * *
    * A Cloud Storage location specification for the audio and transcript.
    * 
* * .google.cloud.contactcenterinsights.v1.GcsSource gcs_source = 1; + * * @return Whether the gcsSource field is set. */ @java.lang.Override @@ -102,21 +129,26 @@ public boolean hasGcsSource() { return sourceCase_ == 1; } /** + * + * *
    * A Cloud Storage location specification for the audio and transcript.
    * 
* * .google.cloud.contactcenterinsights.v1.GcsSource gcs_source = 1; + * * @return The gcsSource. */ @java.lang.Override public com.google.cloud.contactcenterinsights.v1.GcsSource getGcsSource() { if (sourceCase_ == 1) { - return (com.google.cloud.contactcenterinsights.v1.GcsSource) source_; + return (com.google.cloud.contactcenterinsights.v1.GcsSource) source_; } return com.google.cloud.contactcenterinsights.v1.GcsSource.getDefaultInstance(); } /** + * + * *
    * A Cloud Storage location specification for the audio and transcript.
    * 
@@ -126,18 +158,21 @@ public com.google.cloud.contactcenterinsights.v1.GcsSource getGcsSource() { @java.lang.Override public com.google.cloud.contactcenterinsights.v1.GcsSourceOrBuilder getGcsSourceOrBuilder() { if (sourceCase_ == 1) { - return (com.google.cloud.contactcenterinsights.v1.GcsSource) source_; + return (com.google.cloud.contactcenterinsights.v1.GcsSource) source_; } return com.google.cloud.contactcenterinsights.v1.GcsSource.getDefaultInstance(); } public static final int DIALOGFLOW_SOURCE_FIELD_NUMBER = 3; /** + * + * *
    * The source when the conversation comes from Dialogflow.
    * 
* * .google.cloud.contactcenterinsights.v1.DialogflowSource dialogflow_source = 3; + * * @return Whether the dialogflowSource field is set. */ @java.lang.Override @@ -145,21 +180,26 @@ public boolean hasDialogflowSource() { return sourceCase_ == 3; } /** + * + * *
    * The source when the conversation comes from Dialogflow.
    * 
* * .google.cloud.contactcenterinsights.v1.DialogflowSource dialogflow_source = 3; + * * @return The dialogflowSource. */ @java.lang.Override public com.google.cloud.contactcenterinsights.v1.DialogflowSource getDialogflowSource() { if (sourceCase_ == 3) { - return (com.google.cloud.contactcenterinsights.v1.DialogflowSource) source_; + return (com.google.cloud.contactcenterinsights.v1.DialogflowSource) source_; } return com.google.cloud.contactcenterinsights.v1.DialogflowSource.getDefaultInstance(); } /** + * + * *
    * The source when the conversation comes from Dialogflow.
    * 
@@ -167,14 +207,16 @@ public com.google.cloud.contactcenterinsights.v1.DialogflowSource getDialogflowS * .google.cloud.contactcenterinsights.v1.DialogflowSource dialogflow_source = 3; */ @java.lang.Override - public com.google.cloud.contactcenterinsights.v1.DialogflowSourceOrBuilder getDialogflowSourceOrBuilder() { + public com.google.cloud.contactcenterinsights.v1.DialogflowSourceOrBuilder + getDialogflowSourceOrBuilder() { if (sourceCase_ == 3) { - return (com.google.cloud.contactcenterinsights.v1.DialogflowSource) source_; + return (com.google.cloud.contactcenterinsights.v1.DialogflowSource) source_; } return com.google.cloud.contactcenterinsights.v1.DialogflowSource.getDefaultInstance(); } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -186,8 +228,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (sourceCase_ == 1) { output.writeMessage(1, (com.google.cloud.contactcenterinsights.v1.GcsSource) source_); } @@ -204,12 +245,14 @@ public int getSerializedSize() { size = 0; if (sourceCase_ == 1) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, (com.google.cloud.contactcenterinsights.v1.GcsSource) source_); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 1, (com.google.cloud.contactcenterinsights.v1.GcsSource) source_); } if (sourceCase_ == 3) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(3, (com.google.cloud.contactcenterinsights.v1.DialogflowSource) source_); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 3, (com.google.cloud.contactcenterinsights.v1.DialogflowSource) source_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -219,22 +262,21 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.contactcenterinsights.v1.ConversationDataSource)) { return super.equals(obj); } - com.google.cloud.contactcenterinsights.v1.ConversationDataSource other = (com.google.cloud.contactcenterinsights.v1.ConversationDataSource) obj; + com.google.cloud.contactcenterinsights.v1.ConversationDataSource other = + (com.google.cloud.contactcenterinsights.v1.ConversationDataSource) obj; if (!getSourceCase().equals(other.getSourceCase())) return false; switch (sourceCase_) { case 1: - if (!getGcsSource() - .equals(other.getGcsSource())) return false; + if (!getGcsSource().equals(other.getGcsSource())) return false; break; case 3: - if (!getDialogflowSource() - .equals(other.getDialogflowSource())) return false; + if (!getDialogflowSource().equals(other.getDialogflowSource())) return false; break; case 0: default: @@ -268,129 +310,136 @@ public int hashCode() { } public static com.google.cloud.contactcenterinsights.v1.ConversationDataSource parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.contactcenterinsights.v1.ConversationDataSource parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.contactcenterinsights.v1.ConversationDataSource parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.contactcenterinsights.v1.ConversationDataSource parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.contactcenterinsights.v1.ConversationDataSource parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.contactcenterinsights.v1.ConversationDataSource parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.contactcenterinsights.v1.ConversationDataSource parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.contactcenterinsights.v1.ConversationDataSource parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.contactcenterinsights.v1.ConversationDataSource parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.contactcenterinsights.v1.ConversationDataSource parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.contactcenterinsights.v1.ConversationDataSource parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.contactcenterinsights.v1.ConversationDataSource parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.contactcenterinsights.v1.ConversationDataSource parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.contactcenterinsights.v1.ConversationDataSource parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.contactcenterinsights.v1.ConversationDataSource parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.contactcenterinsights.v1.ConversationDataSource prototype) { + + public static Builder newBuilder( + com.google.cloud.contactcenterinsights.v1.ConversationDataSource prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * The conversation source, which is a combination of transcript and audio.
    * 
* * Protobuf type {@code google.cloud.contactcenterinsights.v1.ConversationDataSource} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.contactcenterinsights.v1.ConversationDataSource) com.google.cloud.contactcenterinsights.v1.ConversationDataSourceOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.contactcenterinsights.v1.ResourcesProto.internal_static_google_cloud_contactcenterinsights_v1_ConversationDataSource_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.contactcenterinsights.v1.ResourcesProto + .internal_static_google_cloud_contactcenterinsights_v1_ConversationDataSource_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.contactcenterinsights.v1.ResourcesProto.internal_static_google_cloud_contactcenterinsights_v1_ConversationDataSource_fieldAccessorTable + return com.google.cloud.contactcenterinsights.v1.ResourcesProto + .internal_static_google_cloud_contactcenterinsights_v1_ConversationDataSource_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.contactcenterinsights.v1.ConversationDataSource.class, com.google.cloud.contactcenterinsights.v1.ConversationDataSource.Builder.class); + com.google.cloud.contactcenterinsights.v1.ConversationDataSource.class, + com.google.cloud.contactcenterinsights.v1.ConversationDataSource.Builder.class); } // Construct using com.google.cloud.contactcenterinsights.v1.ConversationDataSource.newBuilder() - private Builder() { + private Builder() {} - } - - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -407,13 +456,14 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.contactcenterinsights.v1.ResourcesProto.internal_static_google_cloud_contactcenterinsights_v1_ConversationDataSource_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.contactcenterinsights.v1.ResourcesProto + .internal_static_google_cloud_contactcenterinsights_v1_ConversationDataSource_descriptor; } @java.lang.Override - public com.google.cloud.contactcenterinsights.v1.ConversationDataSource getDefaultInstanceForType() { + public com.google.cloud.contactcenterinsights.v1.ConversationDataSource + getDefaultInstanceForType() { return com.google.cloud.contactcenterinsights.v1.ConversationDataSource.getDefaultInstance(); } @@ -428,26 +478,29 @@ public com.google.cloud.contactcenterinsights.v1.ConversationDataSource build() @java.lang.Override public com.google.cloud.contactcenterinsights.v1.ConversationDataSource buildPartial() { - com.google.cloud.contactcenterinsights.v1.ConversationDataSource result = new com.google.cloud.contactcenterinsights.v1.ConversationDataSource(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.cloud.contactcenterinsights.v1.ConversationDataSource result = + new com.google.cloud.contactcenterinsights.v1.ConversationDataSource(this); + if (bitField0_ != 0) { + buildPartial0(result); + } buildPartialOneofs(result); onBuilt(); return result; } - private void buildPartial0(com.google.cloud.contactcenterinsights.v1.ConversationDataSource result) { + private void buildPartial0( + com.google.cloud.contactcenterinsights.v1.ConversationDataSource result) { int from_bitField0_ = bitField0_; } - private void buildPartialOneofs(com.google.cloud.contactcenterinsights.v1.ConversationDataSource result) { + private void buildPartialOneofs( + com.google.cloud.contactcenterinsights.v1.ConversationDataSource result) { result.sourceCase_ = sourceCase_; result.source_ = this.source_; - if (sourceCase_ == 1 && - gcsSourceBuilder_ != null) { + if (sourceCase_ == 1 && gcsSourceBuilder_ != null) { result.source_ = gcsSourceBuilder_.build(); } - if (sourceCase_ == 3 && - dialogflowSourceBuilder_ != null) { + if (sourceCase_ == 3 && dialogflowSourceBuilder_ != null) { result.source_ = dialogflowSourceBuilder_.build(); } } @@ -456,58 +509,65 @@ private void buildPartialOneofs(com.google.cloud.contactcenterinsights.v1.Conver public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.contactcenterinsights.v1.ConversationDataSource) { - return mergeFrom((com.google.cloud.contactcenterinsights.v1.ConversationDataSource)other); + return mergeFrom((com.google.cloud.contactcenterinsights.v1.ConversationDataSource) other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.google.cloud.contactcenterinsights.v1.ConversationDataSource other) { - if (other == com.google.cloud.contactcenterinsights.v1.ConversationDataSource.getDefaultInstance()) return this; + public Builder mergeFrom( + com.google.cloud.contactcenterinsights.v1.ConversationDataSource other) { + if (other + == com.google.cloud.contactcenterinsights.v1.ConversationDataSource.getDefaultInstance()) + return this; switch (other.getSourceCase()) { - case GCS_SOURCE: { - mergeGcsSource(other.getGcsSource()); - break; - } - case DIALOGFLOW_SOURCE: { - mergeDialogflowSource(other.getDialogflowSource()); - break; - } - case SOURCE_NOT_SET: { - break; - } + case GCS_SOURCE: + { + mergeGcsSource(other.getGcsSource()); + break; + } + case DIALOGFLOW_SOURCE: + { + mergeDialogflowSource(other.getDialogflowSource()); + break; + } + case SOURCE_NOT_SET: + { + break; + } } this.mergeUnknownFields(other.getUnknownFields()); onChanged(); @@ -535,26 +595,26 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - input.readMessage( - getGcsSourceFieldBuilder().getBuilder(), - extensionRegistry); - sourceCase_ = 1; - break; - } // case 10 - case 26: { - input.readMessage( - getDialogflowSourceFieldBuilder().getBuilder(), - extensionRegistry); - sourceCase_ = 3; - break; - } // case 26 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + input.readMessage(getGcsSourceFieldBuilder().getBuilder(), extensionRegistry); + sourceCase_ = 1; + break; + } // case 10 + case 26: + { + input.readMessage( + getDialogflowSourceFieldBuilder().getBuilder(), extensionRegistry); + sourceCase_ = 3; + break; + } // case 26 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -564,12 +624,12 @@ public Builder mergeFrom( } // finally return this; } + private int sourceCase_ = 0; private java.lang.Object source_; - public SourceCase - getSourceCase() { - return SourceCase.forNumber( - sourceCase_); + + public SourceCase getSourceCase() { + return SourceCase.forNumber(sourceCase_); } public Builder clearSource() { @@ -582,13 +642,19 @@ public Builder clearSource() { private int bitField0_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.contactcenterinsights.v1.GcsSource, com.google.cloud.contactcenterinsights.v1.GcsSource.Builder, com.google.cloud.contactcenterinsights.v1.GcsSourceOrBuilder> gcsSourceBuilder_; + com.google.cloud.contactcenterinsights.v1.GcsSource, + com.google.cloud.contactcenterinsights.v1.GcsSource.Builder, + com.google.cloud.contactcenterinsights.v1.GcsSourceOrBuilder> + gcsSourceBuilder_; /** + * + * *
      * A Cloud Storage location specification for the audio and transcript.
      * 
* * .google.cloud.contactcenterinsights.v1.GcsSource gcs_source = 1; + * * @return Whether the gcsSource field is set. */ @java.lang.Override @@ -596,11 +662,14 @@ public boolean hasGcsSource() { return sourceCase_ == 1; } /** + * + * *
      * A Cloud Storage location specification for the audio and transcript.
      * 
* * .google.cloud.contactcenterinsights.v1.GcsSource gcs_source = 1; + * * @return The gcsSource. */ @java.lang.Override @@ -618,6 +687,8 @@ public com.google.cloud.contactcenterinsights.v1.GcsSource getGcsSource() { } } /** + * + * *
      * A Cloud Storage location specification for the audio and transcript.
      * 
@@ -638,6 +709,8 @@ public Builder setGcsSource(com.google.cloud.contactcenterinsights.v1.GcsSource return this; } /** + * + * *
      * A Cloud Storage location specification for the audio and transcript.
      * 
@@ -656,6 +729,8 @@ public Builder setGcsSource( return this; } /** + * + * *
      * A Cloud Storage location specification for the audio and transcript.
      * 
@@ -664,10 +739,14 @@ public Builder setGcsSource( */ public Builder mergeGcsSource(com.google.cloud.contactcenterinsights.v1.GcsSource value) { if (gcsSourceBuilder_ == null) { - if (sourceCase_ == 1 && - source_ != com.google.cloud.contactcenterinsights.v1.GcsSource.getDefaultInstance()) { - source_ = com.google.cloud.contactcenterinsights.v1.GcsSource.newBuilder((com.google.cloud.contactcenterinsights.v1.GcsSource) source_) - .mergeFrom(value).buildPartial(); + if (sourceCase_ == 1 + && source_ + != com.google.cloud.contactcenterinsights.v1.GcsSource.getDefaultInstance()) { + source_ = + com.google.cloud.contactcenterinsights.v1.GcsSource.newBuilder( + (com.google.cloud.contactcenterinsights.v1.GcsSource) source_) + .mergeFrom(value) + .buildPartial(); } else { source_ = value; } @@ -683,6 +762,8 @@ public Builder mergeGcsSource(com.google.cloud.contactcenterinsights.v1.GcsSourc return this; } /** + * + * *
      * A Cloud Storage location specification for the audio and transcript.
      * 
@@ -706,6 +787,8 @@ public Builder clearGcsSource() { return this; } /** + * + * *
      * A Cloud Storage location specification for the audio and transcript.
      * 
@@ -716,6 +799,8 @@ public com.google.cloud.contactcenterinsights.v1.GcsSource.Builder getGcsSourceB return getGcsSourceFieldBuilder().getBuilder(); } /** + * + * *
      * A Cloud Storage location specification for the audio and transcript.
      * 
@@ -734,6 +819,8 @@ public com.google.cloud.contactcenterinsights.v1.GcsSourceOrBuilder getGcsSource } } /** + * + * *
      * A Cloud Storage location specification for the audio and transcript.
      * 
@@ -741,14 +828,19 @@ public com.google.cloud.contactcenterinsights.v1.GcsSourceOrBuilder getGcsSource * .google.cloud.contactcenterinsights.v1.GcsSource gcs_source = 1; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.contactcenterinsights.v1.GcsSource, com.google.cloud.contactcenterinsights.v1.GcsSource.Builder, com.google.cloud.contactcenterinsights.v1.GcsSourceOrBuilder> + com.google.cloud.contactcenterinsights.v1.GcsSource, + com.google.cloud.contactcenterinsights.v1.GcsSource.Builder, + com.google.cloud.contactcenterinsights.v1.GcsSourceOrBuilder> getGcsSourceFieldBuilder() { if (gcsSourceBuilder_ == null) { if (!(sourceCase_ == 1)) { source_ = com.google.cloud.contactcenterinsights.v1.GcsSource.getDefaultInstance(); } - gcsSourceBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.contactcenterinsights.v1.GcsSource, com.google.cloud.contactcenterinsights.v1.GcsSource.Builder, com.google.cloud.contactcenterinsights.v1.GcsSourceOrBuilder>( + gcsSourceBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.contactcenterinsights.v1.GcsSource, + com.google.cloud.contactcenterinsights.v1.GcsSource.Builder, + com.google.cloud.contactcenterinsights.v1.GcsSourceOrBuilder>( (com.google.cloud.contactcenterinsights.v1.GcsSource) source_, getParentForChildren(), isClean()); @@ -760,13 +852,19 @@ public com.google.cloud.contactcenterinsights.v1.GcsSourceOrBuilder getGcsSource } private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.contactcenterinsights.v1.DialogflowSource, com.google.cloud.contactcenterinsights.v1.DialogflowSource.Builder, com.google.cloud.contactcenterinsights.v1.DialogflowSourceOrBuilder> dialogflowSourceBuilder_; + com.google.cloud.contactcenterinsights.v1.DialogflowSource, + com.google.cloud.contactcenterinsights.v1.DialogflowSource.Builder, + com.google.cloud.contactcenterinsights.v1.DialogflowSourceOrBuilder> + dialogflowSourceBuilder_; /** + * + * *
      * The source when the conversation comes from Dialogflow.
      * 
* * .google.cloud.contactcenterinsights.v1.DialogflowSource dialogflow_source = 3; + * * @return Whether the dialogflowSource field is set. */ @java.lang.Override @@ -774,11 +872,14 @@ public boolean hasDialogflowSource() { return sourceCase_ == 3; } /** + * + * *
      * The source when the conversation comes from Dialogflow.
      * 
* * .google.cloud.contactcenterinsights.v1.DialogflowSource dialogflow_source = 3; + * * @return The dialogflowSource. */ @java.lang.Override @@ -796,13 +897,16 @@ public com.google.cloud.contactcenterinsights.v1.DialogflowSource getDialogflowS } } /** + * + * *
      * The source when the conversation comes from Dialogflow.
      * 
* * .google.cloud.contactcenterinsights.v1.DialogflowSource dialogflow_source = 3; */ - public Builder setDialogflowSource(com.google.cloud.contactcenterinsights.v1.DialogflowSource value) { + public Builder setDialogflowSource( + com.google.cloud.contactcenterinsights.v1.DialogflowSource value) { if (dialogflowSourceBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -816,6 +920,8 @@ public Builder setDialogflowSource(com.google.cloud.contactcenterinsights.v1.Dia return this; } /** + * + * *
      * The source when the conversation comes from Dialogflow.
      * 
@@ -834,18 +940,26 @@ public Builder setDialogflowSource( return this; } /** + * + * *
      * The source when the conversation comes from Dialogflow.
      * 
* * .google.cloud.contactcenterinsights.v1.DialogflowSource dialogflow_source = 3; */ - public Builder mergeDialogflowSource(com.google.cloud.contactcenterinsights.v1.DialogflowSource value) { + public Builder mergeDialogflowSource( + com.google.cloud.contactcenterinsights.v1.DialogflowSource value) { if (dialogflowSourceBuilder_ == null) { - if (sourceCase_ == 3 && - source_ != com.google.cloud.contactcenterinsights.v1.DialogflowSource.getDefaultInstance()) { - source_ = com.google.cloud.contactcenterinsights.v1.DialogflowSource.newBuilder((com.google.cloud.contactcenterinsights.v1.DialogflowSource) source_) - .mergeFrom(value).buildPartial(); + if (sourceCase_ == 3 + && source_ + != com.google.cloud.contactcenterinsights.v1.DialogflowSource + .getDefaultInstance()) { + source_ = + com.google.cloud.contactcenterinsights.v1.DialogflowSource.newBuilder( + (com.google.cloud.contactcenterinsights.v1.DialogflowSource) source_) + .mergeFrom(value) + .buildPartial(); } else { source_ = value; } @@ -861,6 +975,8 @@ public Builder mergeDialogflowSource(com.google.cloud.contactcenterinsights.v1.D return this; } /** + * + * *
      * The source when the conversation comes from Dialogflow.
      * 
@@ -884,16 +1000,21 @@ public Builder clearDialogflowSource() { return this; } /** + * + * *
      * The source when the conversation comes from Dialogflow.
      * 
* * .google.cloud.contactcenterinsights.v1.DialogflowSource dialogflow_source = 3; */ - public com.google.cloud.contactcenterinsights.v1.DialogflowSource.Builder getDialogflowSourceBuilder() { + public com.google.cloud.contactcenterinsights.v1.DialogflowSource.Builder + getDialogflowSourceBuilder() { return getDialogflowSourceFieldBuilder().getBuilder(); } /** + * + * *
      * The source when the conversation comes from Dialogflow.
      * 
@@ -901,7 +1022,8 @@ public com.google.cloud.contactcenterinsights.v1.DialogflowSource.Builder getDia * .google.cloud.contactcenterinsights.v1.DialogflowSource dialogflow_source = 3; */ @java.lang.Override - public com.google.cloud.contactcenterinsights.v1.DialogflowSourceOrBuilder getDialogflowSourceOrBuilder() { + public com.google.cloud.contactcenterinsights.v1.DialogflowSourceOrBuilder + getDialogflowSourceOrBuilder() { if ((sourceCase_ == 3) && (dialogflowSourceBuilder_ != null)) { return dialogflowSourceBuilder_.getMessageOrBuilder(); } else { @@ -912,6 +1034,8 @@ public com.google.cloud.contactcenterinsights.v1.DialogflowSourceOrBuilder getDi } } /** + * + * *
      * The source when the conversation comes from Dialogflow.
      * 
@@ -919,14 +1043,19 @@ public com.google.cloud.contactcenterinsights.v1.DialogflowSourceOrBuilder getDi * .google.cloud.contactcenterinsights.v1.DialogflowSource dialogflow_source = 3; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.contactcenterinsights.v1.DialogflowSource, com.google.cloud.contactcenterinsights.v1.DialogflowSource.Builder, com.google.cloud.contactcenterinsights.v1.DialogflowSourceOrBuilder> + com.google.cloud.contactcenterinsights.v1.DialogflowSource, + com.google.cloud.contactcenterinsights.v1.DialogflowSource.Builder, + com.google.cloud.contactcenterinsights.v1.DialogflowSourceOrBuilder> getDialogflowSourceFieldBuilder() { if (dialogflowSourceBuilder_ == null) { if (!(sourceCase_ == 3)) { source_ = com.google.cloud.contactcenterinsights.v1.DialogflowSource.getDefaultInstance(); } - dialogflowSourceBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.contactcenterinsights.v1.DialogflowSource, com.google.cloud.contactcenterinsights.v1.DialogflowSource.Builder, com.google.cloud.contactcenterinsights.v1.DialogflowSourceOrBuilder>( + dialogflowSourceBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.contactcenterinsights.v1.DialogflowSource, + com.google.cloud.contactcenterinsights.v1.DialogflowSource.Builder, + com.google.cloud.contactcenterinsights.v1.DialogflowSourceOrBuilder>( (com.google.cloud.contactcenterinsights.v1.DialogflowSource) source_, getParentForChildren(), isClean()); @@ -936,9 +1065,9 @@ public com.google.cloud.contactcenterinsights.v1.DialogflowSourceOrBuilder getDi onChanged(); return dialogflowSourceBuilder_; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -948,41 +1077,43 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.contactcenterinsights.v1.ConversationDataSource) } // @@protoc_insertion_point(class_scope:google.cloud.contactcenterinsights.v1.ConversationDataSource) - private static final com.google.cloud.contactcenterinsights.v1.ConversationDataSource DEFAULT_INSTANCE; + private static final com.google.cloud.contactcenterinsights.v1.ConversationDataSource + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.contactcenterinsights.v1.ConversationDataSource(); } - public static com.google.cloud.contactcenterinsights.v1.ConversationDataSource getDefaultInstance() { + public static com.google.cloud.contactcenterinsights.v1.ConversationDataSource + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ConversationDataSource parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ConversationDataSource parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -994,9 +1125,8 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.cloud.contactcenterinsights.v1.ConversationDataSource getDefaultInstanceForType() { + public com.google.cloud.contactcenterinsights.v1.ConversationDataSource + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ConversationDataSourceOrBuilder.java b/java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ConversationDataSourceOrBuilder.java similarity index 72% rename from owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ConversationDataSourceOrBuilder.java rename to java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ConversationDataSourceOrBuilder.java index c20823f95524..307b4423f444 100644 --- a/owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ConversationDataSourceOrBuilder.java +++ b/java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ConversationDataSourceOrBuilder.java @@ -1,31 +1,55 @@ +/* + * 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. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/contactcenterinsights/v1/resources.proto package com.google.cloud.contactcenterinsights.v1; -public interface ConversationDataSourceOrBuilder extends +public interface ConversationDataSourceOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.contactcenterinsights.v1.ConversationDataSource) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * A Cloud Storage location specification for the audio and transcript.
    * 
* * .google.cloud.contactcenterinsights.v1.GcsSource gcs_source = 1; + * * @return Whether the gcsSource field is set. */ boolean hasGcsSource(); /** + * + * *
    * A Cloud Storage location specification for the audio and transcript.
    * 
* * .google.cloud.contactcenterinsights.v1.GcsSource gcs_source = 1; + * * @return The gcsSource. */ com.google.cloud.contactcenterinsights.v1.GcsSource getGcsSource(); /** + * + * *
    * A Cloud Storage location specification for the audio and transcript.
    * 
@@ -35,31 +59,41 @@ public interface ConversationDataSourceOrBuilder extends com.google.cloud.contactcenterinsights.v1.GcsSourceOrBuilder getGcsSourceOrBuilder(); /** + * + * *
    * The source when the conversation comes from Dialogflow.
    * 
* * .google.cloud.contactcenterinsights.v1.DialogflowSource dialogflow_source = 3; + * * @return Whether the dialogflowSource field is set. */ boolean hasDialogflowSource(); /** + * + * *
    * The source when the conversation comes from Dialogflow.
    * 
* * .google.cloud.contactcenterinsights.v1.DialogflowSource dialogflow_source = 3; + * * @return The dialogflowSource. */ com.google.cloud.contactcenterinsights.v1.DialogflowSource getDialogflowSource(); /** + * + * *
    * The source when the conversation comes from Dialogflow.
    * 
* * .google.cloud.contactcenterinsights.v1.DialogflowSource dialogflow_source = 3; */ - com.google.cloud.contactcenterinsights.v1.DialogflowSourceOrBuilder getDialogflowSourceOrBuilder(); + com.google.cloud.contactcenterinsights.v1.DialogflowSourceOrBuilder + getDialogflowSourceOrBuilder(); - public com.google.cloud.contactcenterinsights.v1.ConversationDataSource.SourceCase getSourceCase(); + public com.google.cloud.contactcenterinsights.v1.ConversationDataSource.SourceCase + getSourceCase(); } diff --git a/owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ConversationLevelSentiment.java b/java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ConversationLevelSentiment.java similarity index 63% rename from owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ConversationLevelSentiment.java rename to java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ConversationLevelSentiment.java index b7082f971aff..1055bb3c009c 100644 --- a/owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ConversationLevelSentiment.java +++ b/java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ConversationLevelSentiment.java @@ -1,60 +1,81 @@ +/* + * 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. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/contactcenterinsights/v1/resources.proto package com.google.cloud.contactcenterinsights.v1; /** + * + * *
  * One channel of conversation-level sentiment data.
  * 
* * Protobuf type {@code google.cloud.contactcenterinsights.v1.ConversationLevelSentiment} */ -public final class ConversationLevelSentiment extends - com.google.protobuf.GeneratedMessageV3 implements +public final class ConversationLevelSentiment extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.contactcenterinsights.v1.ConversationLevelSentiment) ConversationLevelSentimentOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use ConversationLevelSentiment.newBuilder() to construct. private ConversationLevelSentiment(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private ConversationLevelSentiment() { - } + + private ConversationLevelSentiment() {} @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ConversationLevelSentiment(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.contactcenterinsights.v1.ResourcesProto.internal_static_google_cloud_contactcenterinsights_v1_ConversationLevelSentiment_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.contactcenterinsights.v1.ResourcesProto + .internal_static_google_cloud_contactcenterinsights_v1_ConversationLevelSentiment_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.contactcenterinsights.v1.ResourcesProto.internal_static_google_cloud_contactcenterinsights_v1_ConversationLevelSentiment_fieldAccessorTable + return com.google.cloud.contactcenterinsights.v1.ResourcesProto + .internal_static_google_cloud_contactcenterinsights_v1_ConversationLevelSentiment_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.contactcenterinsights.v1.ConversationLevelSentiment.class, com.google.cloud.contactcenterinsights.v1.ConversationLevelSentiment.Builder.class); + com.google.cloud.contactcenterinsights.v1.ConversationLevelSentiment.class, + com.google.cloud.contactcenterinsights.v1.ConversationLevelSentiment.Builder.class); } public static final int CHANNEL_TAG_FIELD_NUMBER = 1; private int channelTag_ = 0; /** + * + * *
    * The channel of the audio that the data applies to.
    * 
* * int32 channel_tag = 1; + * * @return The channelTag. */ @java.lang.Override @@ -65,11 +86,14 @@ public int getChannelTag() { public static final int SENTIMENT_DATA_FIELD_NUMBER = 2; private com.google.cloud.contactcenterinsights.v1.SentimentData sentimentData_; /** + * + * *
    * Data specifying sentiment.
    * 
* * .google.cloud.contactcenterinsights.v1.SentimentData sentiment_data = 2; + * * @return Whether the sentimentData field is set. */ @java.lang.Override @@ -77,18 +101,25 @@ public boolean hasSentimentData() { return sentimentData_ != null; } /** + * + * *
    * Data specifying sentiment.
    * 
* * .google.cloud.contactcenterinsights.v1.SentimentData sentiment_data = 2; + * * @return The sentimentData. */ @java.lang.Override public com.google.cloud.contactcenterinsights.v1.SentimentData getSentimentData() { - return sentimentData_ == null ? com.google.cloud.contactcenterinsights.v1.SentimentData.getDefaultInstance() : sentimentData_; + return sentimentData_ == null + ? com.google.cloud.contactcenterinsights.v1.SentimentData.getDefaultInstance() + : sentimentData_; } /** + * + * *
    * Data specifying sentiment.
    * 
@@ -96,11 +127,15 @@ public com.google.cloud.contactcenterinsights.v1.SentimentData getSentimentData( * .google.cloud.contactcenterinsights.v1.SentimentData sentiment_data = 2; */ @java.lang.Override - public com.google.cloud.contactcenterinsights.v1.SentimentDataOrBuilder getSentimentDataOrBuilder() { - return sentimentData_ == null ? com.google.cloud.contactcenterinsights.v1.SentimentData.getDefaultInstance() : sentimentData_; + public com.google.cloud.contactcenterinsights.v1.SentimentDataOrBuilder + getSentimentDataOrBuilder() { + return sentimentData_ == null + ? com.google.cloud.contactcenterinsights.v1.SentimentData.getDefaultInstance() + : sentimentData_; } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -112,8 +147,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (channelTag_ != 0) { output.writeInt32(1, channelTag_); } @@ -130,12 +164,10 @@ public int getSerializedSize() { size = 0; if (channelTag_ != 0) { - size += com.google.protobuf.CodedOutputStream - .computeInt32Size(1, channelTag_); + size += com.google.protobuf.CodedOutputStream.computeInt32Size(1, channelTag_); } if (sentimentData_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, getSentimentData()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getSentimentData()); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -145,19 +177,18 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.contactcenterinsights.v1.ConversationLevelSentiment)) { return super.equals(obj); } - com.google.cloud.contactcenterinsights.v1.ConversationLevelSentiment other = (com.google.cloud.contactcenterinsights.v1.ConversationLevelSentiment) obj; + com.google.cloud.contactcenterinsights.v1.ConversationLevelSentiment other = + (com.google.cloud.contactcenterinsights.v1.ConversationLevelSentiment) obj; - if (getChannelTag() - != other.getChannelTag()) return false; + if (getChannelTag() != other.getChannelTag()) return false; if (hasSentimentData() != other.hasSentimentData()) return false; if (hasSentimentData()) { - if (!getSentimentData() - .equals(other.getSentimentData())) return false; + if (!getSentimentData().equals(other.getSentimentData())) return false; } if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -182,129 +213,138 @@ public int hashCode() { } public static com.google.cloud.contactcenterinsights.v1.ConversationLevelSentiment parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.contactcenterinsights.v1.ConversationLevelSentiment parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.contactcenterinsights.v1.ConversationLevelSentiment parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.contactcenterinsights.v1.ConversationLevelSentiment parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.contactcenterinsights.v1.ConversationLevelSentiment parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.contactcenterinsights.v1.ConversationLevelSentiment parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.contactcenterinsights.v1.ConversationLevelSentiment parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.contactcenterinsights.v1.ConversationLevelSentiment parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.contactcenterinsights.v1.ConversationLevelSentiment parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.contactcenterinsights.v1.ConversationLevelSentiment parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.contactcenterinsights.v1.ConversationLevelSentiment parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.contactcenterinsights.v1.ConversationLevelSentiment + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.contactcenterinsights.v1.ConversationLevelSentiment parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + + public static com.google.cloud.contactcenterinsights.v1.ConversationLevelSentiment + parseDelimitedFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.contactcenterinsights.v1.ConversationLevelSentiment parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.contactcenterinsights.v1.ConversationLevelSentiment parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.contactcenterinsights.v1.ConversationLevelSentiment prototype) { + + public static Builder newBuilder( + com.google.cloud.contactcenterinsights.v1.ConversationLevelSentiment prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * One channel of conversation-level sentiment data.
    * 
* * Protobuf type {@code google.cloud.contactcenterinsights.v1.ConversationLevelSentiment} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.contactcenterinsights.v1.ConversationLevelSentiment) com.google.cloud.contactcenterinsights.v1.ConversationLevelSentimentOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.contactcenterinsights.v1.ResourcesProto.internal_static_google_cloud_contactcenterinsights_v1_ConversationLevelSentiment_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.contactcenterinsights.v1.ResourcesProto + .internal_static_google_cloud_contactcenterinsights_v1_ConversationLevelSentiment_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.contactcenterinsights.v1.ResourcesProto.internal_static_google_cloud_contactcenterinsights_v1_ConversationLevelSentiment_fieldAccessorTable + return com.google.cloud.contactcenterinsights.v1.ResourcesProto + .internal_static_google_cloud_contactcenterinsights_v1_ConversationLevelSentiment_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.contactcenterinsights.v1.ConversationLevelSentiment.class, com.google.cloud.contactcenterinsights.v1.ConversationLevelSentiment.Builder.class); + com.google.cloud.contactcenterinsights.v1.ConversationLevelSentiment.class, + com.google.cloud.contactcenterinsights.v1.ConversationLevelSentiment.Builder.class); } - // Construct using com.google.cloud.contactcenterinsights.v1.ConversationLevelSentiment.newBuilder() - private Builder() { - - } + // Construct using + // com.google.cloud.contactcenterinsights.v1.ConversationLevelSentiment.newBuilder() + private Builder() {} - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -319,14 +359,16 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.contactcenterinsights.v1.ResourcesProto.internal_static_google_cloud_contactcenterinsights_v1_ConversationLevelSentiment_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.contactcenterinsights.v1.ResourcesProto + .internal_static_google_cloud_contactcenterinsights_v1_ConversationLevelSentiment_descriptor; } @java.lang.Override - public com.google.cloud.contactcenterinsights.v1.ConversationLevelSentiment getDefaultInstanceForType() { - return com.google.cloud.contactcenterinsights.v1.ConversationLevelSentiment.getDefaultInstance(); + public com.google.cloud.contactcenterinsights.v1.ConversationLevelSentiment + getDefaultInstanceForType() { + return com.google.cloud.contactcenterinsights.v1.ConversationLevelSentiment + .getDefaultInstance(); } @java.lang.Override @@ -340,21 +382,24 @@ public com.google.cloud.contactcenterinsights.v1.ConversationLevelSentiment buil @java.lang.Override public com.google.cloud.contactcenterinsights.v1.ConversationLevelSentiment buildPartial() { - com.google.cloud.contactcenterinsights.v1.ConversationLevelSentiment result = new com.google.cloud.contactcenterinsights.v1.ConversationLevelSentiment(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.cloud.contactcenterinsights.v1.ConversationLevelSentiment result = + new com.google.cloud.contactcenterinsights.v1.ConversationLevelSentiment(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } - private void buildPartial0(com.google.cloud.contactcenterinsights.v1.ConversationLevelSentiment result) { + private void buildPartial0( + com.google.cloud.contactcenterinsights.v1.ConversationLevelSentiment result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { result.channelTag_ = channelTag_; } if (((from_bitField0_ & 0x00000002) != 0)) { - result.sentimentData_ = sentimentDataBuilder_ == null - ? sentimentData_ - : sentimentDataBuilder_.build(); + result.sentimentData_ = + sentimentDataBuilder_ == null ? sentimentData_ : sentimentDataBuilder_.build(); } } @@ -362,46 +407,51 @@ private void buildPartial0(com.google.cloud.contactcenterinsights.v1.Conversatio public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.contactcenterinsights.v1.ConversationLevelSentiment) { - return mergeFrom((com.google.cloud.contactcenterinsights.v1.ConversationLevelSentiment)other); + return mergeFrom( + (com.google.cloud.contactcenterinsights.v1.ConversationLevelSentiment) other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.google.cloud.contactcenterinsights.v1.ConversationLevelSentiment other) { - if (other == com.google.cloud.contactcenterinsights.v1.ConversationLevelSentiment.getDefaultInstance()) return this; + public Builder mergeFrom( + com.google.cloud.contactcenterinsights.v1.ConversationLevelSentiment other) { + if (other + == com.google.cloud.contactcenterinsights.v1.ConversationLevelSentiment + .getDefaultInstance()) return this; if (other.getChannelTag() != 0) { setChannelTag(other.getChannelTag()); } @@ -434,24 +484,25 @@ public Builder mergeFrom( case 0: done = true; break; - case 8: { - channelTag_ = input.readInt32(); - bitField0_ |= 0x00000001; - break; - } // case 8 - case 18: { - input.readMessage( - getSentimentDataFieldBuilder().getBuilder(), - extensionRegistry); - bitField0_ |= 0x00000002; - break; - } // case 18 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 8: + { + channelTag_ = input.readInt32(); + bitField0_ |= 0x00000001; + break; + } // case 8 + case 18: + { + input.readMessage(getSentimentDataFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000002; + break; + } // case 18 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -461,15 +512,19 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; - private int channelTag_ ; + private int channelTag_; /** + * + * *
      * The channel of the audio that the data applies to.
      * 
* * int32 channel_tag = 1; + * * @return The channelTag. */ @java.lang.Override @@ -477,27 +532,33 @@ public int getChannelTag() { return channelTag_; } /** + * + * *
      * The channel of the audio that the data applies to.
      * 
* * int32 channel_tag = 1; + * * @param value The channelTag to set. * @return This builder for chaining. */ public Builder setChannelTag(int value) { - + channelTag_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
      * The channel of the audio that the data applies to.
      * 
* * int32 channel_tag = 1; + * * @return This builder for chaining. */ public Builder clearChannelTag() { @@ -509,34 +570,47 @@ public Builder clearChannelTag() { private com.google.cloud.contactcenterinsights.v1.SentimentData sentimentData_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.contactcenterinsights.v1.SentimentData, com.google.cloud.contactcenterinsights.v1.SentimentData.Builder, com.google.cloud.contactcenterinsights.v1.SentimentDataOrBuilder> sentimentDataBuilder_; + com.google.cloud.contactcenterinsights.v1.SentimentData, + com.google.cloud.contactcenterinsights.v1.SentimentData.Builder, + com.google.cloud.contactcenterinsights.v1.SentimentDataOrBuilder> + sentimentDataBuilder_; /** + * + * *
      * Data specifying sentiment.
      * 
* * .google.cloud.contactcenterinsights.v1.SentimentData sentiment_data = 2; + * * @return Whether the sentimentData field is set. */ public boolean hasSentimentData() { return ((bitField0_ & 0x00000002) != 0); } /** + * + * *
      * Data specifying sentiment.
      * 
* * .google.cloud.contactcenterinsights.v1.SentimentData sentiment_data = 2; + * * @return The sentimentData. */ public com.google.cloud.contactcenterinsights.v1.SentimentData getSentimentData() { if (sentimentDataBuilder_ == null) { - return sentimentData_ == null ? com.google.cloud.contactcenterinsights.v1.SentimentData.getDefaultInstance() : sentimentData_; + return sentimentData_ == null + ? com.google.cloud.contactcenterinsights.v1.SentimentData.getDefaultInstance() + : sentimentData_; } else { return sentimentDataBuilder_.getMessage(); } } /** + * + * *
      * Data specifying sentiment.
      * 
@@ -557,6 +631,8 @@ public Builder setSentimentData(com.google.cloud.contactcenterinsights.v1.Sentim return this; } /** + * + * *
      * Data specifying sentiment.
      * 
@@ -575,17 +651,21 @@ public Builder setSentimentData( return this; } /** + * + * *
      * Data specifying sentiment.
      * 
* * .google.cloud.contactcenterinsights.v1.SentimentData sentiment_data = 2; */ - public Builder mergeSentimentData(com.google.cloud.contactcenterinsights.v1.SentimentData value) { + public Builder mergeSentimentData( + com.google.cloud.contactcenterinsights.v1.SentimentData value) { if (sentimentDataBuilder_ == null) { - if (((bitField0_ & 0x00000002) != 0) && - sentimentData_ != null && - sentimentData_ != com.google.cloud.contactcenterinsights.v1.SentimentData.getDefaultInstance()) { + if (((bitField0_ & 0x00000002) != 0) + && sentimentData_ != null + && sentimentData_ + != com.google.cloud.contactcenterinsights.v1.SentimentData.getDefaultInstance()) { getSentimentDataBuilder().mergeFrom(value); } else { sentimentData_ = value; @@ -598,6 +678,8 @@ public Builder mergeSentimentData(com.google.cloud.contactcenterinsights.v1.Sent return this; } /** + * + * *
      * Data specifying sentiment.
      * 
@@ -615,33 +697,42 @@ public Builder clearSentimentData() { return this; } /** + * + * *
      * Data specifying sentiment.
      * 
* * .google.cloud.contactcenterinsights.v1.SentimentData sentiment_data = 2; */ - public com.google.cloud.contactcenterinsights.v1.SentimentData.Builder getSentimentDataBuilder() { + public com.google.cloud.contactcenterinsights.v1.SentimentData.Builder + getSentimentDataBuilder() { bitField0_ |= 0x00000002; onChanged(); return getSentimentDataFieldBuilder().getBuilder(); } /** + * + * *
      * Data specifying sentiment.
      * 
* * .google.cloud.contactcenterinsights.v1.SentimentData sentiment_data = 2; */ - public com.google.cloud.contactcenterinsights.v1.SentimentDataOrBuilder getSentimentDataOrBuilder() { + public com.google.cloud.contactcenterinsights.v1.SentimentDataOrBuilder + getSentimentDataOrBuilder() { if (sentimentDataBuilder_ != null) { return sentimentDataBuilder_.getMessageOrBuilder(); } else { - return sentimentData_ == null ? - com.google.cloud.contactcenterinsights.v1.SentimentData.getDefaultInstance() : sentimentData_; + return sentimentData_ == null + ? com.google.cloud.contactcenterinsights.v1.SentimentData.getDefaultInstance() + : sentimentData_; } } /** + * + * *
      * Data specifying sentiment.
      * 
@@ -649,21 +740,24 @@ public com.google.cloud.contactcenterinsights.v1.SentimentDataOrBuilder getSenti * .google.cloud.contactcenterinsights.v1.SentimentData sentiment_data = 2; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.contactcenterinsights.v1.SentimentData, com.google.cloud.contactcenterinsights.v1.SentimentData.Builder, com.google.cloud.contactcenterinsights.v1.SentimentDataOrBuilder> + com.google.cloud.contactcenterinsights.v1.SentimentData, + com.google.cloud.contactcenterinsights.v1.SentimentData.Builder, + com.google.cloud.contactcenterinsights.v1.SentimentDataOrBuilder> getSentimentDataFieldBuilder() { if (sentimentDataBuilder_ == null) { - sentimentDataBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.contactcenterinsights.v1.SentimentData, com.google.cloud.contactcenterinsights.v1.SentimentData.Builder, com.google.cloud.contactcenterinsights.v1.SentimentDataOrBuilder>( - getSentimentData(), - getParentForChildren(), - isClean()); + sentimentDataBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.contactcenterinsights.v1.SentimentData, + com.google.cloud.contactcenterinsights.v1.SentimentData.Builder, + com.google.cloud.contactcenterinsights.v1.SentimentDataOrBuilder>( + getSentimentData(), getParentForChildren(), isClean()); sentimentData_ = null; } return sentimentDataBuilder_; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -673,41 +767,43 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.contactcenterinsights.v1.ConversationLevelSentiment) } // @@protoc_insertion_point(class_scope:google.cloud.contactcenterinsights.v1.ConversationLevelSentiment) - private static final com.google.cloud.contactcenterinsights.v1.ConversationLevelSentiment DEFAULT_INSTANCE; + private static final com.google.cloud.contactcenterinsights.v1.ConversationLevelSentiment + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.contactcenterinsights.v1.ConversationLevelSentiment(); } - public static com.google.cloud.contactcenterinsights.v1.ConversationLevelSentiment getDefaultInstance() { + public static com.google.cloud.contactcenterinsights.v1.ConversationLevelSentiment + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ConversationLevelSentiment parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ConversationLevelSentiment parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -719,9 +815,8 @@ public com.google.protobuf.Parser getParserForType() } @java.lang.Override - public com.google.cloud.contactcenterinsights.v1.ConversationLevelSentiment getDefaultInstanceForType() { + public com.google.cloud.contactcenterinsights.v1.ConversationLevelSentiment + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ConversationLevelSentimentOrBuilder.java b/java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ConversationLevelSentimentOrBuilder.java similarity index 64% rename from owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ConversationLevelSentimentOrBuilder.java rename to java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ConversationLevelSentimentOrBuilder.java index a845256e786c..dabb5dd1a392 100644 --- a/owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ConversationLevelSentimentOrBuilder.java +++ b/java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ConversationLevelSentimentOrBuilder.java @@ -1,41 +1,68 @@ +/* + * 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. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/contactcenterinsights/v1/resources.proto package com.google.cloud.contactcenterinsights.v1; -public interface ConversationLevelSentimentOrBuilder extends +public interface ConversationLevelSentimentOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.contactcenterinsights.v1.ConversationLevelSentiment) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * The channel of the audio that the data applies to.
    * 
* * int32 channel_tag = 1; + * * @return The channelTag. */ int getChannelTag(); /** + * + * *
    * Data specifying sentiment.
    * 
* * .google.cloud.contactcenterinsights.v1.SentimentData sentiment_data = 2; + * * @return Whether the sentimentData field is set. */ boolean hasSentimentData(); /** + * + * *
    * Data specifying sentiment.
    * 
* * .google.cloud.contactcenterinsights.v1.SentimentData sentiment_data = 2; + * * @return The sentimentData. */ com.google.cloud.contactcenterinsights.v1.SentimentData getSentimentData(); /** + * + * *
    * Data specifying sentiment.
    * 
diff --git a/owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ConversationName.java b/java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ConversationName.java similarity index 100% rename from owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ConversationName.java rename to java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ConversationName.java diff --git a/owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ConversationOrBuilder.java b/java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ConversationOrBuilder.java similarity index 70% rename from owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ConversationOrBuilder.java rename to java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ConversationOrBuilder.java index 92caf636455c..6d9cf53f34f7 100644 --- a/owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ConversationOrBuilder.java +++ b/java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ConversationOrBuilder.java @@ -1,60 +1,96 @@ +/* + * 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. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/contactcenterinsights/v1/resources.proto package com.google.cloud.contactcenterinsights.v1; -public interface ConversationOrBuilder extends +public interface ConversationOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.contactcenterinsights.v1.Conversation) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Call-specific metadata.
    * 
* - * .google.cloud.contactcenterinsights.v1.Conversation.CallMetadata call_metadata = 7; + * .google.cloud.contactcenterinsights.v1.Conversation.CallMetadata call_metadata = 7; + * + * * @return Whether the callMetadata field is set. */ boolean hasCallMetadata(); /** + * + * *
    * Call-specific metadata.
    * 
* - * .google.cloud.contactcenterinsights.v1.Conversation.CallMetadata call_metadata = 7; + * .google.cloud.contactcenterinsights.v1.Conversation.CallMetadata call_metadata = 7; + * + * * @return The callMetadata. */ com.google.cloud.contactcenterinsights.v1.Conversation.CallMetadata getCallMetadata(); /** + * + * *
    * Call-specific metadata.
    * 
* - * .google.cloud.contactcenterinsights.v1.Conversation.CallMetadata call_metadata = 7; + * .google.cloud.contactcenterinsights.v1.Conversation.CallMetadata call_metadata = 7; + * */ - com.google.cloud.contactcenterinsights.v1.Conversation.CallMetadataOrBuilder getCallMetadataOrBuilder(); + com.google.cloud.contactcenterinsights.v1.Conversation.CallMetadataOrBuilder + getCallMetadataOrBuilder(); /** + * + * *
    * The time at which this conversation should expire. After this time, the
    * conversation data and any associated analyses will be deleted.
    * 
* * .google.protobuf.Timestamp expire_time = 15; + * * @return Whether the expireTime field is set. */ boolean hasExpireTime(); /** + * + * *
    * The time at which this conversation should expire. After this time, the
    * conversation data and any associated analyses will be deleted.
    * 
* * .google.protobuf.Timestamp expire_time = 15; + * * @return The expireTime. */ com.google.protobuf.Timestamp getExpireTime(); /** + * + * *
    * The time at which this conversation should expire. After this time, the
    * conversation data and any associated analyses will be deleted.
@@ -65,26 +101,34 @@ public interface ConversationOrBuilder extends
   com.google.protobuf.TimestampOrBuilder getExpireTimeOrBuilder();
 
   /**
+   *
+   *
    * 
    * Input only. The TTL for this resource. If specified, then this TTL will
    * be used to calculate the expire time.
    * 
* * .google.protobuf.Duration ttl = 16 [(.google.api.field_behavior) = INPUT_ONLY]; + * * @return Whether the ttl field is set. */ boolean hasTtl(); /** + * + * *
    * Input only. The TTL for this resource. If specified, then this TTL will
    * be used to calculate the expire time.
    * 
* * .google.protobuf.Duration ttl = 16 [(.google.api.field_behavior) = INPUT_ONLY]; + * * @return The ttl. */ com.google.protobuf.Duration getTtl(); /** + * + * *
    * Input only. The TTL for this resource. If specified, then this TTL will
    * be used to calculate the expire time.
@@ -95,6 +139,8 @@ public interface ConversationOrBuilder extends
   com.google.protobuf.DurationOrBuilder getTtlOrBuilder();
 
   /**
+   *
+   *
    * 
    * Immutable. The resource name of the conversation.
    * Format:
@@ -102,10 +148,13 @@ public interface ConversationOrBuilder extends
    * 
* * string name = 1 [(.google.api.field_behavior) = IMMUTABLE]; + * * @return The name. */ java.lang.String getName(); /** + * + * *
    * Immutable. The resource name of the conversation.
    * Format:
@@ -113,111 +162,150 @@ public interface ConversationOrBuilder extends
    * 
* * string name = 1 [(.google.api.field_behavior) = IMMUTABLE]; + * * @return The bytes for name. */ - com.google.protobuf.ByteString - getNameBytes(); + com.google.protobuf.ByteString getNameBytes(); /** + * + * *
    * The source of the audio and transcription for the conversation.
    * 
* * .google.cloud.contactcenterinsights.v1.ConversationDataSource data_source = 2; + * * @return Whether the dataSource field is set. */ boolean hasDataSource(); /** + * + * *
    * The source of the audio and transcription for the conversation.
    * 
* * .google.cloud.contactcenterinsights.v1.ConversationDataSource data_source = 2; + * * @return The dataSource. */ com.google.cloud.contactcenterinsights.v1.ConversationDataSource getDataSource(); /** + * + * *
    * The source of the audio and transcription for the conversation.
    * 
* * .google.cloud.contactcenterinsights.v1.ConversationDataSource data_source = 2; */ - com.google.cloud.contactcenterinsights.v1.ConversationDataSourceOrBuilder getDataSourceOrBuilder(); + com.google.cloud.contactcenterinsights.v1.ConversationDataSourceOrBuilder + getDataSourceOrBuilder(); /** + * + * *
    * Output only. The time at which the conversation was created.
    * 
* - * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the createTime field is set. */ boolean hasCreateTime(); /** + * + * *
    * Output only. The time at which the conversation was created.
    * 
* - * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The createTime. */ com.google.protobuf.Timestamp getCreateTime(); /** + * + * *
    * Output only. The time at which the conversation was created.
    * 
* - * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder(); /** + * + * *
    * Output only. The most recent time at which the conversation was updated.
    * 
* - * .google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the updateTime field is set. */ boolean hasUpdateTime(); /** + * + * *
    * Output only. The most recent time at which the conversation was updated.
    * 
* - * .google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The updateTime. */ com.google.protobuf.Timestamp getUpdateTime(); /** + * + * *
    * Output only. The most recent time at which the conversation was updated.
    * 
* - * .google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder(); /** + * + * *
    * The time at which the conversation started.
    * 
* * .google.protobuf.Timestamp start_time = 17; + * * @return Whether the startTime field is set. */ boolean hasStartTime(); /** + * + * *
    * The time at which the conversation started.
    * 
* * .google.protobuf.Timestamp start_time = 17; + * * @return The startTime. */ com.google.protobuf.Timestamp getStartTime(); /** + * + * *
    * The time at which the conversation started.
    * 
@@ -227,48 +315,60 @@ public interface ConversationOrBuilder extends com.google.protobuf.TimestampOrBuilder getStartTimeOrBuilder(); /** + * + * *
    * A user-specified language code for the conversation.
    * 
* * string language_code = 14; + * * @return The languageCode. */ java.lang.String getLanguageCode(); /** + * + * *
    * A user-specified language code for the conversation.
    * 
* * string language_code = 14; + * * @return The bytes for languageCode. */ - com.google.protobuf.ByteString - getLanguageCodeBytes(); + com.google.protobuf.ByteString getLanguageCodeBytes(); /** + * + * *
    * An opaque, user-specified string representing the human agent who handled
    * the conversation.
    * 
* * string agent_id = 5; + * * @return The agentId. */ java.lang.String getAgentId(); /** + * + * *
    * An opaque, user-specified string representing the human agent who handled
    * the conversation.
    * 
* * string agent_id = 5; + * * @return The bytes for agentId. */ - com.google.protobuf.ByteString - getAgentIdBytes(); + com.google.protobuf.ByteString getAgentIdBytes(); /** + * + * *
    * A map for the user to specify any custom fields. A maximum of 20 labels per
    * conversation is allowed, with a maximum of 256 characters per entry.
@@ -278,6 +378,8 @@ public interface ConversationOrBuilder extends
    */
   int getLabelsCount();
   /**
+   *
+   *
    * 
    * A map for the user to specify any custom fields. A maximum of 20 labels per
    * conversation is allowed, with a maximum of 256 characters per entry.
@@ -285,15 +387,13 @@ public interface ConversationOrBuilder extends
    *
    * map<string, string> labels = 6;
    */
-  boolean containsLabels(
-      java.lang.String key);
-  /**
-   * Use {@link #getLabelsMap()} instead.
-   */
+  boolean containsLabels(java.lang.String key);
+  /** Use {@link #getLabelsMap()} instead. */
   @java.lang.Deprecated
-  java.util.Map
-  getLabels();
+  java.util.Map getLabels();
   /**
+   *
+   *
    * 
    * A map for the user to specify any custom fields. A maximum of 20 labels per
    * conversation is allowed, with a maximum of 256 characters per entry.
@@ -301,9 +401,10 @@ boolean containsLabels(
    *
    * map<string, string> labels = 6;
    */
-  java.util.Map
-  getLabelsMap();
+  java.util.Map getLabelsMap();
   /**
+   *
+   *
    * 
    * A map for the user to specify any custom fields. A maximum of 20 labels per
    * conversation is allowed, with a maximum of 256 characters per entry.
@@ -312,11 +413,13 @@ boolean containsLabels(
    * map<string, string> labels = 6;
    */
   /* nullable */
-java.lang.String getLabelsOrDefault(
+  java.lang.String getLabelsOrDefault(
       java.lang.String key,
       /* nullable */
-java.lang.String defaultValue);
+      java.lang.String defaultValue);
   /**
+   *
+   *
    * 
    * A map for the user to specify any custom fields. A maximum of 20 labels per
    * conversation is allowed, with a maximum of 256 characters per entry.
@@ -324,253 +427,347 @@ java.lang.String getLabelsOrDefault(
    *
    * map<string, string> labels = 6;
    */
-  java.lang.String getLabelsOrThrow(
-      java.lang.String key);
+  java.lang.String getLabelsOrThrow(java.lang.String key);
 
   /**
+   *
+   *
    * 
    * Output only. The conversation transcript.
    * 
* - * .google.cloud.contactcenterinsights.v1.Conversation.Transcript transcript = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.contactcenterinsights.v1.Conversation.Transcript transcript = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the transcript field is set. */ boolean hasTranscript(); /** + * + * *
    * Output only. The conversation transcript.
    * 
* - * .google.cloud.contactcenterinsights.v1.Conversation.Transcript transcript = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.contactcenterinsights.v1.Conversation.Transcript transcript = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The transcript. */ com.google.cloud.contactcenterinsights.v1.Conversation.Transcript getTranscript(); /** + * + * *
    * Output only. The conversation transcript.
    * 
* - * .google.cloud.contactcenterinsights.v1.Conversation.Transcript transcript = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.contactcenterinsights.v1.Conversation.Transcript transcript = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - com.google.cloud.contactcenterinsights.v1.Conversation.TranscriptOrBuilder getTranscriptOrBuilder(); + com.google.cloud.contactcenterinsights.v1.Conversation.TranscriptOrBuilder + getTranscriptOrBuilder(); /** + * + * *
    * Immutable. The conversation medium, if unspecified will default to
    * PHONE_CALL.
    * 
* - * .google.cloud.contactcenterinsights.v1.Conversation.Medium medium = 9 [(.google.api.field_behavior) = IMMUTABLE]; + * + * .google.cloud.contactcenterinsights.v1.Conversation.Medium medium = 9 [(.google.api.field_behavior) = IMMUTABLE]; + * + * * @return The enum numeric value on the wire for medium. */ int getMediumValue(); /** + * + * *
    * Immutable. The conversation medium, if unspecified will default to
    * PHONE_CALL.
    * 
* - * .google.cloud.contactcenterinsights.v1.Conversation.Medium medium = 9 [(.google.api.field_behavior) = IMMUTABLE]; + * + * .google.cloud.contactcenterinsights.v1.Conversation.Medium medium = 9 [(.google.api.field_behavior) = IMMUTABLE]; + * + * * @return The medium. */ com.google.cloud.contactcenterinsights.v1.Conversation.Medium getMedium(); /** + * + * *
    * Output only. The duration of the conversation.
    * 
* - * .google.protobuf.Duration duration = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Duration duration = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the duration field is set. */ boolean hasDuration(); /** + * + * *
    * Output only. The duration of the conversation.
    * 
* - * .google.protobuf.Duration duration = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Duration duration = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The duration. */ com.google.protobuf.Duration getDuration(); /** + * + * *
    * Output only. The duration of the conversation.
    * 
* - * .google.protobuf.Duration duration = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Duration duration = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ com.google.protobuf.DurationOrBuilder getDurationOrBuilder(); /** + * + * *
    * Output only. The number of turns in the conversation.
    * 
* * int32 turn_count = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The turnCount. */ int getTurnCount(); /** + * + * *
    * Output only. The conversation's latest analysis, if one exists.
    * 
* - * .google.cloud.contactcenterinsights.v1.Analysis latest_analysis = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.contactcenterinsights.v1.Analysis latest_analysis = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the latestAnalysis field is set. */ boolean hasLatestAnalysis(); /** + * + * *
    * Output only. The conversation's latest analysis, if one exists.
    * 
* - * .google.cloud.contactcenterinsights.v1.Analysis latest_analysis = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.contactcenterinsights.v1.Analysis latest_analysis = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The latestAnalysis. */ com.google.cloud.contactcenterinsights.v1.Analysis getLatestAnalysis(); /** + * + * *
    * Output only. The conversation's latest analysis, if one exists.
    * 
* - * .google.cloud.contactcenterinsights.v1.Analysis latest_analysis = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.contactcenterinsights.v1.Analysis latest_analysis = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ com.google.cloud.contactcenterinsights.v1.AnalysisOrBuilder getLatestAnalysisOrBuilder(); /** + * + * *
    * Output only. The annotations that were generated during the customer and
    * agent interaction.
    * 
* - * repeated .google.cloud.contactcenterinsights.v1.RuntimeAnnotation runtime_annotations = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.contactcenterinsights.v1.RuntimeAnnotation runtime_annotations = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - java.util.List + java.util.List getRuntimeAnnotationsList(); /** + * + * *
    * Output only. The annotations that were generated during the customer and
    * agent interaction.
    * 
* - * repeated .google.cloud.contactcenterinsights.v1.RuntimeAnnotation runtime_annotations = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.contactcenterinsights.v1.RuntimeAnnotation runtime_annotations = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ com.google.cloud.contactcenterinsights.v1.RuntimeAnnotation getRuntimeAnnotations(int index); /** + * + * *
    * Output only. The annotations that were generated during the customer and
    * agent interaction.
    * 
* - * repeated .google.cloud.contactcenterinsights.v1.RuntimeAnnotation runtime_annotations = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.contactcenterinsights.v1.RuntimeAnnotation runtime_annotations = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ int getRuntimeAnnotationsCount(); /** + * + * *
    * Output only. The annotations that were generated during the customer and
    * agent interaction.
    * 
* - * repeated .google.cloud.contactcenterinsights.v1.RuntimeAnnotation runtime_annotations = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.contactcenterinsights.v1.RuntimeAnnotation runtime_annotations = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - java.util.List + java.util.List getRuntimeAnnotationsOrBuilderList(); /** + * + * *
    * Output only. The annotations that were generated during the customer and
    * agent interaction.
    * 
* - * repeated .google.cloud.contactcenterinsights.v1.RuntimeAnnotation runtime_annotations = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.contactcenterinsights.v1.RuntimeAnnotation runtime_annotations = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - com.google.cloud.contactcenterinsights.v1.RuntimeAnnotationOrBuilder getRuntimeAnnotationsOrBuilder( - int index); + com.google.cloud.contactcenterinsights.v1.RuntimeAnnotationOrBuilder + getRuntimeAnnotationsOrBuilder(int index); /** + * + * *
    * Output only. All the matched Dialogflow intents in the call. The key
    * corresponds to a Dialogflow intent, format:
    * projects/{project}/agent/{agent}/intents/{intent}
    * 
* - * map<string, .google.cloud.contactcenterinsights.v1.DialogflowIntent> dialogflow_intents = 18 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * map<string, .google.cloud.contactcenterinsights.v1.DialogflowIntent> dialogflow_intents = 18 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ int getDialogflowIntentsCount(); /** + * + * *
    * Output only. All the matched Dialogflow intents in the call. The key
    * corresponds to a Dialogflow intent, format:
    * projects/{project}/agent/{agent}/intents/{intent}
    * 
* - * map<string, .google.cloud.contactcenterinsights.v1.DialogflowIntent> dialogflow_intents = 18 [(.google.api.field_behavior) = OUTPUT_ONLY]; - */ - boolean containsDialogflowIntents( - java.lang.String key); - /** - * Use {@link #getDialogflowIntentsMap()} instead. + * + * map<string, .google.cloud.contactcenterinsights.v1.DialogflowIntent> dialogflow_intents = 18 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ + boolean containsDialogflowIntents(java.lang.String key); + /** Use {@link #getDialogflowIntentsMap()} instead. */ @java.lang.Deprecated java.util.Map - getDialogflowIntents(); + getDialogflowIntents(); /** + * + * *
    * Output only. All the matched Dialogflow intents in the call. The key
    * corresponds to a Dialogflow intent, format:
    * projects/{project}/agent/{agent}/intents/{intent}
    * 
* - * map<string, .google.cloud.contactcenterinsights.v1.DialogflowIntent> dialogflow_intents = 18 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * map<string, .google.cloud.contactcenterinsights.v1.DialogflowIntent> dialogflow_intents = 18 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ java.util.Map - getDialogflowIntentsMap(); + getDialogflowIntentsMap(); /** + * + * *
    * Output only. All the matched Dialogflow intents in the call. The key
    * corresponds to a Dialogflow intent, format:
    * projects/{project}/agent/{agent}/intents/{intent}
    * 
* - * map<string, .google.cloud.contactcenterinsights.v1.DialogflowIntent> dialogflow_intents = 18 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * map<string, .google.cloud.contactcenterinsights.v1.DialogflowIntent> dialogflow_intents = 18 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ /* nullable */ -com.google.cloud.contactcenterinsights.v1.DialogflowIntent getDialogflowIntentsOrDefault( + com.google.cloud.contactcenterinsights.v1.DialogflowIntent getDialogflowIntentsOrDefault( java.lang.String key, /* nullable */ -com.google.cloud.contactcenterinsights.v1.DialogflowIntent defaultValue); + com.google.cloud.contactcenterinsights.v1.DialogflowIntent defaultValue); /** + * + * *
    * Output only. All the matched Dialogflow intents in the call. The key
    * corresponds to a Dialogflow intent, format:
    * projects/{project}/agent/{agent}/intents/{intent}
    * 
* - * map<string, .google.cloud.contactcenterinsights.v1.DialogflowIntent> dialogflow_intents = 18 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * map<string, .google.cloud.contactcenterinsights.v1.DialogflowIntent> dialogflow_intents = 18 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ com.google.cloud.contactcenterinsights.v1.DialogflowIntent getDialogflowIntentsOrThrow( java.lang.String key); /** + * + * *
    * Obfuscated user ID which the customer sent to us.
    * 
* * string obfuscated_user_id = 21; + * * @return The obfuscatedUserId. */ java.lang.String getObfuscatedUserId(); /** + * + * *
    * Obfuscated user ID which the customer sent to us.
    * 
* * string obfuscated_user_id = 21; + * * @return The bytes for obfuscatedUserId. */ - com.google.protobuf.ByteString - getObfuscatedUserIdBytes(); + com.google.protobuf.ByteString getObfuscatedUserIdBytes(); public com.google.cloud.contactcenterinsights.v1.Conversation.MetadataCase getMetadataCase(); diff --git a/owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ConversationParticipant.java b/java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ConversationParticipant.java similarity index 67% rename from owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ConversationParticipant.java rename to java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ConversationParticipant.java index 801329d6b7fa..7abc0df7517e 100644 --- a/owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ConversationParticipant.java +++ b/java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ConversationParticipant.java @@ -1,24 +1,42 @@ +/* + * 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. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/contactcenterinsights/v1/resources.proto package com.google.cloud.contactcenterinsights.v1; /** + * + * *
  * The call participant speaking for a given utterance.
  * 
* * Protobuf type {@code google.cloud.contactcenterinsights.v1.ConversationParticipant} */ -public final class ConversationParticipant extends - com.google.protobuf.GeneratedMessageV3 implements +public final class ConversationParticipant extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.contactcenterinsights.v1.ConversationParticipant) ConversationParticipantOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use ConversationParticipant.newBuilder() to construct. private ConversationParticipant(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private ConversationParticipant() { dialogflowParticipant_ = ""; obfuscatedExternalUserId_ = ""; @@ -27,39 +45,43 @@ private ConversationParticipant() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ConversationParticipant(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.contactcenterinsights.v1.ResourcesProto.internal_static_google_cloud_contactcenterinsights_v1_ConversationParticipant_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.contactcenterinsights.v1.ResourcesProto + .internal_static_google_cloud_contactcenterinsights_v1_ConversationParticipant_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.contactcenterinsights.v1.ResourcesProto.internal_static_google_cloud_contactcenterinsights_v1_ConversationParticipant_fieldAccessorTable + return com.google.cloud.contactcenterinsights.v1.ResourcesProto + .internal_static_google_cloud_contactcenterinsights_v1_ConversationParticipant_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.contactcenterinsights.v1.ConversationParticipant.class, com.google.cloud.contactcenterinsights.v1.ConversationParticipant.Builder.class); + com.google.cloud.contactcenterinsights.v1.ConversationParticipant.class, + com.google.cloud.contactcenterinsights.v1.ConversationParticipant.Builder.class); } /** + * + * *
    * The role of the participant.
    * 
* * Protobuf enum {@code google.cloud.contactcenterinsights.v1.ConversationParticipant.Role} */ - public enum Role - implements com.google.protobuf.ProtocolMessageEnum { + public enum Role implements com.google.protobuf.ProtocolMessageEnum { /** + * + * *
      * Participant's role is not set.
      * 
@@ -68,6 +90,8 @@ public enum Role */ ROLE_UNSPECIFIED(0), /** + * + * *
      * Participant is a human agent.
      * 
@@ -76,6 +100,8 @@ public enum Role */ HUMAN_AGENT(1), /** + * + * *
      * Participant is an automated agent.
      * 
@@ -84,6 +110,8 @@ public enum Role */ AUTOMATED_AGENT(2), /** + * + * *
      * Participant is an end user who conversed with the contact center.
      * 
@@ -92,6 +120,8 @@ public enum Role */ END_USER(3), /** + * + * *
      * Participant is either a human or automated agent.
      * 
@@ -103,6 +133,8 @@ public enum Role ; /** + * + * *
      * Participant's role is not set.
      * 
@@ -111,6 +143,8 @@ public enum Role */ public static final int ROLE_UNSPECIFIED_VALUE = 0; /** + * + * *
      * Participant is a human agent.
      * 
@@ -119,6 +153,8 @@ public enum Role */ public static final int HUMAN_AGENT_VALUE = 1; /** + * + * *
      * Participant is an automated agent.
      * 
@@ -127,6 +163,8 @@ public enum Role */ public static final int AUTOMATED_AGENT_VALUE = 2; /** + * + * *
      * Participant is an end user who conversed with the contact center.
      * 
@@ -135,6 +173,8 @@ public enum Role */ public static final int END_USER_VALUE = 3; /** + * + * *
      * Participant is either a human or automated agent.
      * 
@@ -143,7 +183,6 @@ public enum Role */ public static final int ANY_AGENT_VALUE = 4; - public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -168,51 +207,55 @@ public static Role valueOf(int value) { */ public static Role forNumber(int value) { switch (value) { - case 0: return ROLE_UNSPECIFIED; - case 1: return HUMAN_AGENT; - case 2: return AUTOMATED_AGENT; - case 3: return END_USER; - case 4: return ANY_AGENT; - default: return null; + case 0: + return ROLE_UNSPECIFIED; + case 1: + return HUMAN_AGENT; + case 2: + return AUTOMATED_AGENT; + case 3: + return END_USER; + case 4: + return ANY_AGENT; + default: + return null; } } - public static com.google.protobuf.Internal.EnumLiteMap - internalGetValueMap() { + public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() { return internalValueMap; } - private static final com.google.protobuf.Internal.EnumLiteMap< - Role> internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public Role findValueByNumber(int number) { - return Role.forNumber(number); - } - }; - public final com.google.protobuf.Descriptors.EnumValueDescriptor - getValueDescriptor() { + private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public Role findValueByNumber(int number) { + return Role.forNumber(number); + } + }; + + public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalStateException( "Can't get the descriptor of an unrecognized enum value."); } return getDescriptor().getValues().get(ordinal()); } - public final com.google.protobuf.Descriptors.EnumDescriptor - getDescriptorForType() { + + public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() { return getDescriptor(); } - public static final com.google.protobuf.Descriptors.EnumDescriptor - getDescriptor() { - return com.google.cloud.contactcenterinsights.v1.ConversationParticipant.getDescriptor().getEnumTypes().get(0); + + public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { + return com.google.cloud.contactcenterinsights.v1.ConversationParticipant.getDescriptor() + .getEnumTypes() + .get(0); } private static final Role[] VALUES = values(); - public static Role valueOf( - com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + public static Role valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) { if (desc.getType() != getDescriptor()) { - throw new java.lang.IllegalArgumentException( - "EnumValueDescriptor is not for this type."); + throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type."); } if (desc.getIndex() == -1) { return UNRECOGNIZED; @@ -231,13 +274,16 @@ private Role(int value) { private int participantCase_ = 0; private java.lang.Object participant_; + public enum ParticipantCase - implements com.google.protobuf.Internal.EnumLite, + implements + com.google.protobuf.Internal.EnumLite, com.google.protobuf.AbstractMessage.InternalOneOfEnum { DIALOGFLOW_PARTICIPANT_NAME(5), USER_ID(6), PARTICIPANT_NOT_SET(0); private final int value; + private ParticipantCase(int value) { this.value = value; } @@ -253,43 +299,52 @@ public static ParticipantCase valueOf(int value) { public static ParticipantCase forNumber(int value) { switch (value) { - case 5: return DIALOGFLOW_PARTICIPANT_NAME; - case 6: return USER_ID; - case 0: return PARTICIPANT_NOT_SET; - default: return null; + case 5: + return DIALOGFLOW_PARTICIPANT_NAME; + case 6: + return USER_ID; + case 0: + return PARTICIPANT_NOT_SET; + default: + return null; } } + public int getNumber() { return this.value; } }; - public ParticipantCase - getParticipantCase() { - return ParticipantCase.forNumber( - participantCase_); + public ParticipantCase getParticipantCase() { + return ParticipantCase.forNumber(participantCase_); } public static final int DIALOGFLOW_PARTICIPANT_NAME_FIELD_NUMBER = 5; /** + * + * *
    * The name of the participant provided by Dialogflow. Format:
    * projects/{project}/locations/{location}/conversations/{conversation}/participants/{participant}
    * 
* * string dialogflow_participant_name = 5 [(.google.api.resource_reference) = { ... } + * * @return Whether the dialogflowParticipantName field is set. */ public boolean hasDialogflowParticipantName() { return participantCase_ == 5; } /** + * + * *
    * The name of the participant provided by Dialogflow. Format:
    * projects/{project}/locations/{location}/conversations/{conversation}/participants/{participant}
    * 
* * string dialogflow_participant_name = 5 [(.google.api.resource_reference) = { ... } + * * @return The dialogflowParticipantName. */ public java.lang.String getDialogflowParticipantName() { @@ -300,8 +355,7 @@ public java.lang.String getDialogflowParticipantName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); if (participantCase_ == 5) { participant_ = s; @@ -310,24 +364,25 @@ public java.lang.String getDialogflowParticipantName() { } } /** + * + * *
    * The name of the participant provided by Dialogflow. Format:
    * projects/{project}/locations/{location}/conversations/{conversation}/participants/{participant}
    * 
* * string dialogflow_participant_name = 5 [(.google.api.resource_reference) = { ... } + * * @return The bytes for dialogflowParticipantName. */ - public com.google.protobuf.ByteString - getDialogflowParticipantNameBytes() { + public com.google.protobuf.ByteString getDialogflowParticipantNameBytes() { java.lang.Object ref = ""; if (participantCase_ == 5) { ref = participant_; } if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); if (participantCase_ == 5) { participant_ = b; } @@ -339,22 +394,28 @@ public java.lang.String getDialogflowParticipantName() { public static final int USER_ID_FIELD_NUMBER = 6; /** + * + * *
    * A user-specified ID representing the participant.
    * 
* * string user_id = 6; + * * @return Whether the userId field is set. */ public boolean hasUserId() { return participantCase_ == 6; } /** + * + * *
    * A user-specified ID representing the participant.
    * 
* * string user_id = 6; + * * @return The userId. */ public java.lang.String getUserId() { @@ -365,8 +426,7 @@ public java.lang.String getUserId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); if (participantCase_ == 6) { participant_ = s; @@ -375,23 +435,24 @@ public java.lang.String getUserId() { } } /** + * + * *
    * A user-specified ID representing the participant.
    * 
* * string user_id = 6; + * * @return The bytes for userId. */ - public com.google.protobuf.ByteString - getUserIdBytes() { + public com.google.protobuf.ByteString getUserIdBytes() { java.lang.Object ref = ""; if (participantCase_ == 6) { ref = participant_; } if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); if (participantCase_ == 6) { participant_ = b; } @@ -402,9 +463,12 @@ public java.lang.String getUserId() { } public static final int DIALOGFLOW_PARTICIPANT_FIELD_NUMBER = 1; + @SuppressWarnings("serial") private volatile java.lang.Object dialogflowParticipant_ = ""; /** + * + * *
    * Deprecated. Use `dialogflow_participant_name` instead.
    * The name of the Dialogflow participant. Format:
@@ -412,24 +476,28 @@ public java.lang.String getUserId() {
    * 
* * string dialogflow_participant = 1 [deprecated = true]; - * @deprecated google.cloud.contactcenterinsights.v1.ConversationParticipant.dialogflow_participant is deprecated. - * See google/cloud/contactcenterinsights/v1/resources.proto;l=1125 + * + * @deprecated + * google.cloud.contactcenterinsights.v1.ConversationParticipant.dialogflow_participant is + * deprecated. See google/cloud/contactcenterinsights/v1/resources.proto;l=1125 * @return The dialogflowParticipant. */ @java.lang.Override - @java.lang.Deprecated public java.lang.String getDialogflowParticipant() { + @java.lang.Deprecated + public java.lang.String getDialogflowParticipant() { java.lang.Object ref = dialogflowParticipant_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); dialogflowParticipant_ = s; return s; } } /** + * + * *
    * Deprecated. Use `dialogflow_participant_name` instead.
    * The name of the Dialogflow participant. Format:
@@ -437,18 +505,19 @@ public java.lang.String getUserId() {
    * 
* * string dialogflow_participant = 1 [deprecated = true]; - * @deprecated google.cloud.contactcenterinsights.v1.ConversationParticipant.dialogflow_participant is deprecated. - * See google/cloud/contactcenterinsights/v1/resources.proto;l=1125 + * + * @deprecated + * google.cloud.contactcenterinsights.v1.ConversationParticipant.dialogflow_participant is + * deprecated. See google/cloud/contactcenterinsights/v1/resources.proto;l=1125 * @return The bytes for dialogflowParticipant. */ @java.lang.Override - @java.lang.Deprecated public com.google.protobuf.ByteString - getDialogflowParticipantBytes() { + @java.lang.Deprecated + public com.google.protobuf.ByteString getDialogflowParticipantBytes() { java.lang.Object ref = dialogflowParticipant_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); dialogflowParticipant_ = b; return b; } else { @@ -457,14 +526,18 @@ public java.lang.String getUserId() { } public static final int OBFUSCATED_EXTERNAL_USER_ID_FIELD_NUMBER = 3; + @SuppressWarnings("serial") private volatile java.lang.Object obfuscatedExternalUserId_ = ""; /** + * + * *
    * Obfuscated user ID from Dialogflow.
    * 
* * string obfuscated_external_user_id = 3; + * * @return The obfuscatedExternalUserId. */ @java.lang.Override @@ -473,29 +546,29 @@ public java.lang.String getObfuscatedExternalUserId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); obfuscatedExternalUserId_ = s; return s; } } /** + * + * *
    * Obfuscated user ID from Dialogflow.
    * 
* * string obfuscated_external_user_id = 3; + * * @return The bytes for obfuscatedExternalUserId. */ @java.lang.Override - public com.google.protobuf.ByteString - getObfuscatedExternalUserIdBytes() { + public com.google.protobuf.ByteString getObfuscatedExternalUserIdBytes() { java.lang.Object ref = obfuscatedExternalUserId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); obfuscatedExternalUserId_ = b; return b; } else { @@ -506,30 +579,42 @@ public java.lang.String getObfuscatedExternalUserId() { public static final int ROLE_FIELD_NUMBER = 2; private int role_ = 0; /** + * + * *
    * The role of the participant.
    * 
* * .google.cloud.contactcenterinsights.v1.ConversationParticipant.Role role = 2; + * * @return The enum numeric value on the wire for role. */ - @java.lang.Override public int getRoleValue() { + @java.lang.Override + public int getRoleValue() { return role_; } /** + * + * *
    * The role of the participant.
    * 
* * .google.cloud.contactcenterinsights.v1.ConversationParticipant.Role role = 2; + * * @return The role. */ - @java.lang.Override public com.google.cloud.contactcenterinsights.v1.ConversationParticipant.Role getRole() { - com.google.cloud.contactcenterinsights.v1.ConversationParticipant.Role result = com.google.cloud.contactcenterinsights.v1.ConversationParticipant.Role.forNumber(role_); - return result == null ? com.google.cloud.contactcenterinsights.v1.ConversationParticipant.Role.UNRECOGNIZED : result; + @java.lang.Override + public com.google.cloud.contactcenterinsights.v1.ConversationParticipant.Role getRole() { + com.google.cloud.contactcenterinsights.v1.ConversationParticipant.Role result = + com.google.cloud.contactcenterinsights.v1.ConversationParticipant.Role.forNumber(role_); + return result == null + ? com.google.cloud.contactcenterinsights.v1.ConversationParticipant.Role.UNRECOGNIZED + : result; } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -541,12 +626,13 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(dialogflowParticipant_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, dialogflowParticipant_); } - if (role_ != com.google.cloud.contactcenterinsights.v1.ConversationParticipant.Role.ROLE_UNSPECIFIED.getNumber()) { + if (role_ + != com.google.cloud.contactcenterinsights.v1.ConversationParticipant.Role.ROLE_UNSPECIFIED + .getNumber()) { output.writeEnum(2, role_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(obfuscatedExternalUserId_)) { @@ -570,12 +656,14 @@ public int getSerializedSize() { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(dialogflowParticipant_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, dialogflowParticipant_); } - if (role_ != com.google.cloud.contactcenterinsights.v1.ConversationParticipant.Role.ROLE_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(2, role_); + if (role_ + != com.google.cloud.contactcenterinsights.v1.ConversationParticipant.Role.ROLE_UNSPECIFIED + .getNumber()) { + size += com.google.protobuf.CodedOutputStream.computeEnumSize(2, role_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(obfuscatedExternalUserId_)) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, obfuscatedExternalUserId_); + size += + com.google.protobuf.GeneratedMessageV3.computeStringSize(3, obfuscatedExternalUserId_); } if (participantCase_ == 5) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(5, participant_); @@ -591,27 +679,25 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.contactcenterinsights.v1.ConversationParticipant)) { return super.equals(obj); } - com.google.cloud.contactcenterinsights.v1.ConversationParticipant other = (com.google.cloud.contactcenterinsights.v1.ConversationParticipant) obj; + com.google.cloud.contactcenterinsights.v1.ConversationParticipant other = + (com.google.cloud.contactcenterinsights.v1.ConversationParticipant) obj; - if (!getDialogflowParticipant() - .equals(other.getDialogflowParticipant())) return false; - if (!getObfuscatedExternalUserId() - .equals(other.getObfuscatedExternalUserId())) return false; + if (!getDialogflowParticipant().equals(other.getDialogflowParticipant())) return false; + if (!getObfuscatedExternalUserId().equals(other.getObfuscatedExternalUserId())) return false; if (role_ != other.role_) return false; if (!getParticipantCase().equals(other.getParticipantCase())) return false; switch (participantCase_) { case 5: - if (!getDialogflowParticipantName() - .equals(other.getDialogflowParticipantName())) return false; + if (!getDialogflowParticipantName().equals(other.getDialogflowParticipantName())) + return false; break; case 6: - if (!getUserId() - .equals(other.getUserId())) return false; + if (!getUserId().equals(other.getUserId())) return false; break; case 0: default: @@ -651,129 +737,138 @@ public int hashCode() { } public static com.google.cloud.contactcenterinsights.v1.ConversationParticipant parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.contactcenterinsights.v1.ConversationParticipant parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.contactcenterinsights.v1.ConversationParticipant parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.contactcenterinsights.v1.ConversationParticipant parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.contactcenterinsights.v1.ConversationParticipant parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.contactcenterinsights.v1.ConversationParticipant parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.contactcenterinsights.v1.ConversationParticipant parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.contactcenterinsights.v1.ConversationParticipant parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.contactcenterinsights.v1.ConversationParticipant parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.contactcenterinsights.v1.ConversationParticipant parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.contactcenterinsights.v1.ConversationParticipant parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.contactcenterinsights.v1.ConversationParticipant + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.contactcenterinsights.v1.ConversationParticipant parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + + public static com.google.cloud.contactcenterinsights.v1.ConversationParticipant + parseDelimitedFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.contactcenterinsights.v1.ConversationParticipant parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.contactcenterinsights.v1.ConversationParticipant parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.contactcenterinsights.v1.ConversationParticipant prototype) { + + public static Builder newBuilder( + com.google.cloud.contactcenterinsights.v1.ConversationParticipant prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * The call participant speaking for a given utterance.
    * 
* * Protobuf type {@code google.cloud.contactcenterinsights.v1.ConversationParticipant} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.contactcenterinsights.v1.ConversationParticipant) com.google.cloud.contactcenterinsights.v1.ConversationParticipantOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.contactcenterinsights.v1.ResourcesProto.internal_static_google_cloud_contactcenterinsights_v1_ConversationParticipant_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.contactcenterinsights.v1.ResourcesProto + .internal_static_google_cloud_contactcenterinsights_v1_ConversationParticipant_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.contactcenterinsights.v1.ResourcesProto.internal_static_google_cloud_contactcenterinsights_v1_ConversationParticipant_fieldAccessorTable + return com.google.cloud.contactcenterinsights.v1.ResourcesProto + .internal_static_google_cloud_contactcenterinsights_v1_ConversationParticipant_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.contactcenterinsights.v1.ConversationParticipant.class, com.google.cloud.contactcenterinsights.v1.ConversationParticipant.Builder.class); + com.google.cloud.contactcenterinsights.v1.ConversationParticipant.class, + com.google.cloud.contactcenterinsights.v1.ConversationParticipant.Builder.class); } - // Construct using com.google.cloud.contactcenterinsights.v1.ConversationParticipant.newBuilder() - private Builder() { - - } + // Construct using + // com.google.cloud.contactcenterinsights.v1.ConversationParticipant.newBuilder() + private Builder() {} - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -787,13 +882,14 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.contactcenterinsights.v1.ResourcesProto.internal_static_google_cloud_contactcenterinsights_v1_ConversationParticipant_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.contactcenterinsights.v1.ResourcesProto + .internal_static_google_cloud_contactcenterinsights_v1_ConversationParticipant_descriptor; } @java.lang.Override - public com.google.cloud.contactcenterinsights.v1.ConversationParticipant getDefaultInstanceForType() { + public com.google.cloud.contactcenterinsights.v1.ConversationParticipant + getDefaultInstanceForType() { return com.google.cloud.contactcenterinsights.v1.ConversationParticipant.getDefaultInstance(); } @@ -808,14 +904,18 @@ public com.google.cloud.contactcenterinsights.v1.ConversationParticipant build() @java.lang.Override public com.google.cloud.contactcenterinsights.v1.ConversationParticipant buildPartial() { - com.google.cloud.contactcenterinsights.v1.ConversationParticipant result = new com.google.cloud.contactcenterinsights.v1.ConversationParticipant(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.cloud.contactcenterinsights.v1.ConversationParticipant result = + new com.google.cloud.contactcenterinsights.v1.ConversationParticipant(this); + if (bitField0_ != 0) { + buildPartial0(result); + } buildPartialOneofs(result); onBuilt(); return result; } - private void buildPartial0(com.google.cloud.contactcenterinsights.v1.ConversationParticipant result) { + private void buildPartial0( + com.google.cloud.contactcenterinsights.v1.ConversationParticipant result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000004) != 0)) { result.dialogflowParticipant_ = dialogflowParticipant_; @@ -828,7 +928,8 @@ private void buildPartial0(com.google.cloud.contactcenterinsights.v1.Conversatio } } - private void buildPartialOneofs(com.google.cloud.contactcenterinsights.v1.ConversationParticipant result) { + private void buildPartialOneofs( + com.google.cloud.contactcenterinsights.v1.ConversationParticipant result) { result.participantCase_ = participantCase_; result.participant_ = this.participant_; } @@ -837,46 +938,50 @@ private void buildPartialOneofs(com.google.cloud.contactcenterinsights.v1.Conver public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.contactcenterinsights.v1.ConversationParticipant) { - return mergeFrom((com.google.cloud.contactcenterinsights.v1.ConversationParticipant)other); + return mergeFrom((com.google.cloud.contactcenterinsights.v1.ConversationParticipant) other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.google.cloud.contactcenterinsights.v1.ConversationParticipant other) { - if (other == com.google.cloud.contactcenterinsights.v1.ConversationParticipant.getDefaultInstance()) return this; + public Builder mergeFrom( + com.google.cloud.contactcenterinsights.v1.ConversationParticipant other) { + if (other + == com.google.cloud.contactcenterinsights.v1.ConversationParticipant.getDefaultInstance()) + return this; if (!other.getDialogflowParticipant().isEmpty()) { dialogflowParticipant_ = other.dialogflowParticipant_; bitField0_ |= 0x00000004; @@ -891,21 +996,24 @@ public Builder mergeFrom(com.google.cloud.contactcenterinsights.v1.ConversationP setRoleValue(other.getRoleValue()); } switch (other.getParticipantCase()) { - case DIALOGFLOW_PARTICIPANT_NAME: { - participantCase_ = 5; - participant_ = other.participant_; - onChanged(); - break; - } - case USER_ID: { - participantCase_ = 6; - participant_ = other.participant_; - onChanged(); - break; - } - case PARTICIPANT_NOT_SET: { - break; - } + case DIALOGFLOW_PARTICIPANT_NAME: + { + participantCase_ = 5; + participant_ = other.participant_; + onChanged(); + break; + } + case USER_ID: + { + participantCase_ = 6; + participant_ = other.participant_; + onChanged(); + break; + } + case PARTICIPANT_NOT_SET: + { + break; + } } this.mergeUnknownFields(other.getUnknownFields()); onChanged(); @@ -933,39 +1041,45 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - dialogflowParticipant_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000004; - break; - } // case 10 - case 16: { - role_ = input.readEnum(); - bitField0_ |= 0x00000010; - break; - } // case 16 - case 26: { - obfuscatedExternalUserId_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000008; - break; - } // case 26 - case 42: { - java.lang.String s = input.readStringRequireUtf8(); - participantCase_ = 5; - participant_ = s; - break; - } // case 42 - case 50: { - java.lang.String s = input.readStringRequireUtf8(); - participantCase_ = 6; - participant_ = s; - break; - } // case 50 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + dialogflowParticipant_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000004; + break; + } // case 10 + case 16: + { + role_ = input.readEnum(); + bitField0_ |= 0x00000010; + break; + } // case 16 + case 26: + { + obfuscatedExternalUserId_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000008; + break; + } // case 26 + case 42: + { + java.lang.String s = input.readStringRequireUtf8(); + participantCase_ = 5; + participant_ = s; + break; + } // case 42 + case 50: + { + java.lang.String s = input.readStringRequireUtf8(); + participantCase_ = 6; + participant_ = s; + break; + } // case 50 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -975,12 +1089,12 @@ public Builder mergeFrom( } // finally return this; } + private int participantCase_ = 0; private java.lang.Object participant_; - public ParticipantCase - getParticipantCase() { - return ParticipantCase.forNumber( - participantCase_); + + public ParticipantCase getParticipantCase() { + return ParticipantCase.forNumber(participantCase_); } public Builder clearParticipant() { @@ -993,12 +1107,16 @@ public Builder clearParticipant() { private int bitField0_; /** + * + * *
      * The name of the participant provided by Dialogflow. Format:
      * projects/{project}/locations/{location}/conversations/{conversation}/participants/{participant}
      * 
* - * string dialogflow_participant_name = 5 [(.google.api.resource_reference) = { ... } + * string dialogflow_participant_name = 5 [(.google.api.resource_reference) = { ... } + * + * * @return Whether the dialogflowParticipantName field is set. */ @java.lang.Override @@ -1006,12 +1124,16 @@ public boolean hasDialogflowParticipantName() { return participantCase_ == 5; } /** + * + * *
      * The name of the participant provided by Dialogflow. Format:
      * projects/{project}/locations/{location}/conversations/{conversation}/participants/{participant}
      * 
* - * string dialogflow_participant_name = 5 [(.google.api.resource_reference) = { ... } + * string dialogflow_participant_name = 5 [(.google.api.resource_reference) = { ... } + * + * * @return The dialogflowParticipantName. */ @java.lang.Override @@ -1021,8 +1143,7 @@ public java.lang.String getDialogflowParticipantName() { ref = participant_; } if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); if (participantCase_ == 5) { participant_ = s; @@ -1033,25 +1154,27 @@ public java.lang.String getDialogflowParticipantName() { } } /** + * + * *
      * The name of the participant provided by Dialogflow. Format:
      * projects/{project}/locations/{location}/conversations/{conversation}/participants/{participant}
      * 
* - * string dialogflow_participant_name = 5 [(.google.api.resource_reference) = { ... } + * string dialogflow_participant_name = 5 [(.google.api.resource_reference) = { ... } + * + * * @return The bytes for dialogflowParticipantName. */ @java.lang.Override - public com.google.protobuf.ByteString - getDialogflowParticipantNameBytes() { + public com.google.protobuf.ByteString getDialogflowParticipantNameBytes() { java.lang.Object ref = ""; if (participantCase_ == 5) { ref = participant_; } if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); if (participantCase_ == 5) { participant_ = b; } @@ -1061,30 +1184,39 @@ public java.lang.String getDialogflowParticipantName() { } } /** + * + * *
      * The name of the participant provided by Dialogflow. Format:
      * projects/{project}/locations/{location}/conversations/{conversation}/participants/{participant}
      * 
* - * string dialogflow_participant_name = 5 [(.google.api.resource_reference) = { ... } + * string dialogflow_participant_name = 5 [(.google.api.resource_reference) = { ... } + * + * * @param value The dialogflowParticipantName to set. * @return This builder for chaining. */ - public Builder setDialogflowParticipantName( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setDialogflowParticipantName(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } participantCase_ = 5; participant_ = value; onChanged(); return this; } /** + * + * *
      * The name of the participant provided by Dialogflow. Format:
      * projects/{project}/locations/{location}/conversations/{conversation}/participants/{participant}
      * 
* - * string dialogflow_participant_name = 5 [(.google.api.resource_reference) = { ... } + * string dialogflow_participant_name = 5 [(.google.api.resource_reference) = { ... } + * + * * @return This builder for chaining. */ public Builder clearDialogflowParticipantName() { @@ -1096,18 +1228,23 @@ public Builder clearDialogflowParticipantName() { return this; } /** + * + * *
      * The name of the participant provided by Dialogflow. Format:
      * projects/{project}/locations/{location}/conversations/{conversation}/participants/{participant}
      * 
* - * string dialogflow_participant_name = 5 [(.google.api.resource_reference) = { ... } + * string dialogflow_participant_name = 5 [(.google.api.resource_reference) = { ... } + * + * * @param value The bytes for dialogflowParticipantName to set. * @return This builder for chaining. */ - public Builder setDialogflowParticipantNameBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setDialogflowParticipantNameBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); participantCase_ = 5; participant_ = value; @@ -1116,11 +1253,14 @@ public Builder setDialogflowParticipantNameBytes( } /** + * + * *
      * A user-specified ID representing the participant.
      * 
* * string user_id = 6; + * * @return Whether the userId field is set. */ @java.lang.Override @@ -1128,11 +1268,14 @@ public boolean hasUserId() { return participantCase_ == 6; } /** + * + * *
      * A user-specified ID representing the participant.
      * 
* * string user_id = 6; + * * @return The userId. */ @java.lang.Override @@ -1142,8 +1285,7 @@ public java.lang.String getUserId() { ref = participant_; } if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); if (participantCase_ == 6) { participant_ = s; @@ -1154,24 +1296,25 @@ public java.lang.String getUserId() { } } /** + * + * *
      * A user-specified ID representing the participant.
      * 
* * string user_id = 6; + * * @return The bytes for userId. */ @java.lang.Override - public com.google.protobuf.ByteString - getUserIdBytes() { + public com.google.protobuf.ByteString getUserIdBytes() { java.lang.Object ref = ""; if (participantCase_ == 6) { ref = participant_; } if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); if (participantCase_ == 6) { participant_ = b; } @@ -1181,28 +1324,35 @@ public java.lang.String getUserId() { } } /** + * + * *
      * A user-specified ID representing the participant.
      * 
* * string user_id = 6; + * * @param value The userId to set. * @return This builder for chaining. */ - public Builder setUserId( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setUserId(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } participantCase_ = 6; participant_ = value; onChanged(); return this; } /** + * + * *
      * A user-specified ID representing the participant.
      * 
* * string user_id = 6; + * * @return This builder for chaining. */ public Builder clearUserId() { @@ -1214,17 +1364,21 @@ public Builder clearUserId() { return this; } /** + * + * *
      * A user-specified ID representing the participant.
      * 
* * string user_id = 6; + * * @param value The bytes for userId to set. * @return This builder for chaining. */ - public Builder setUserIdBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setUserIdBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); participantCase_ = 6; participant_ = value; @@ -1234,6 +1388,8 @@ public Builder setUserIdBytes( private java.lang.Object dialogflowParticipant_ = ""; /** + * + * *
      * Deprecated. Use `dialogflow_participant_name` instead.
      * The name of the Dialogflow participant. Format:
@@ -1241,15 +1397,17 @@ public Builder setUserIdBytes(
      * 
* * string dialogflow_participant = 1 [deprecated = true]; - * @deprecated google.cloud.contactcenterinsights.v1.ConversationParticipant.dialogflow_participant is deprecated. - * See google/cloud/contactcenterinsights/v1/resources.proto;l=1125 + * + * @deprecated + * google.cloud.contactcenterinsights.v1.ConversationParticipant.dialogflow_participant is + * deprecated. See google/cloud/contactcenterinsights/v1/resources.proto;l=1125 * @return The dialogflowParticipant. */ - @java.lang.Deprecated public java.lang.String getDialogflowParticipant() { + @java.lang.Deprecated + public java.lang.String getDialogflowParticipant() { java.lang.Object ref = dialogflowParticipant_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); dialogflowParticipant_ = s; return s; @@ -1258,6 +1416,8 @@ public Builder setUserIdBytes( } } /** + * + * *
      * Deprecated. Use `dialogflow_participant_name` instead.
      * The name of the Dialogflow participant. Format:
@@ -1265,17 +1425,18 @@ public Builder setUserIdBytes(
      * 
* * string dialogflow_participant = 1 [deprecated = true]; - * @deprecated google.cloud.contactcenterinsights.v1.ConversationParticipant.dialogflow_participant is deprecated. - * See google/cloud/contactcenterinsights/v1/resources.proto;l=1125 + * + * @deprecated + * google.cloud.contactcenterinsights.v1.ConversationParticipant.dialogflow_participant is + * deprecated. See google/cloud/contactcenterinsights/v1/resources.proto;l=1125 * @return The bytes for dialogflowParticipant. */ - @java.lang.Deprecated public com.google.protobuf.ByteString - getDialogflowParticipantBytes() { + @java.lang.Deprecated + public com.google.protobuf.ByteString getDialogflowParticipantBytes() { java.lang.Object ref = dialogflowParticipant_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); dialogflowParticipant_ = b; return b; } else { @@ -1283,6 +1444,8 @@ public Builder setUserIdBytes( } } /** + * + * *
      * Deprecated. Use `dialogflow_participant_name` instead.
      * The name of the Dialogflow participant. Format:
@@ -1290,20 +1453,26 @@ public Builder setUserIdBytes(
      * 
* * string dialogflow_participant = 1 [deprecated = true]; - * @deprecated google.cloud.contactcenterinsights.v1.ConversationParticipant.dialogflow_participant is deprecated. - * See google/cloud/contactcenterinsights/v1/resources.proto;l=1125 + * + * @deprecated + * google.cloud.contactcenterinsights.v1.ConversationParticipant.dialogflow_participant is + * deprecated. See google/cloud/contactcenterinsights/v1/resources.proto;l=1125 * @param value The dialogflowParticipant to set. * @return This builder for chaining. */ - @java.lang.Deprecated public Builder setDialogflowParticipant( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + @java.lang.Deprecated + public Builder setDialogflowParticipant(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } dialogflowParticipant_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } /** + * + * *
      * Deprecated. Use `dialogflow_participant_name` instead.
      * The name of the Dialogflow participant. Format:
@@ -1311,17 +1480,22 @@ public Builder setUserIdBytes(
      * 
* * string dialogflow_participant = 1 [deprecated = true]; - * @deprecated google.cloud.contactcenterinsights.v1.ConversationParticipant.dialogflow_participant is deprecated. - * See google/cloud/contactcenterinsights/v1/resources.proto;l=1125 + * + * @deprecated + * google.cloud.contactcenterinsights.v1.ConversationParticipant.dialogflow_participant is + * deprecated. See google/cloud/contactcenterinsights/v1/resources.proto;l=1125 * @return This builder for chaining. */ - @java.lang.Deprecated public Builder clearDialogflowParticipant() { + @java.lang.Deprecated + public Builder clearDialogflowParticipant() { dialogflowParticipant_ = getDefaultInstance().getDialogflowParticipant(); bitField0_ = (bitField0_ & ~0x00000004); onChanged(); return this; } /** + * + * *
      * Deprecated. Use `dialogflow_participant_name` instead.
      * The name of the Dialogflow participant. Format:
@@ -1329,14 +1503,18 @@ public Builder setUserIdBytes(
      * 
* * string dialogflow_participant = 1 [deprecated = true]; - * @deprecated google.cloud.contactcenterinsights.v1.ConversationParticipant.dialogflow_participant is deprecated. - * See google/cloud/contactcenterinsights/v1/resources.proto;l=1125 + * + * @deprecated + * google.cloud.contactcenterinsights.v1.ConversationParticipant.dialogflow_participant is + * deprecated. See google/cloud/contactcenterinsights/v1/resources.proto;l=1125 * @param value The bytes for dialogflowParticipant to set. * @return This builder for chaining. */ - @java.lang.Deprecated public Builder setDialogflowParticipantBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + @java.lang.Deprecated + public Builder setDialogflowParticipantBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); dialogflowParticipant_ = value; bitField0_ |= 0x00000004; @@ -1346,18 +1524,20 @@ public Builder setUserIdBytes( private java.lang.Object obfuscatedExternalUserId_ = ""; /** + * + * *
      * Obfuscated user ID from Dialogflow.
      * 
* * string obfuscated_external_user_id = 3; + * * @return The obfuscatedExternalUserId. */ public java.lang.String getObfuscatedExternalUserId() { java.lang.Object ref = obfuscatedExternalUserId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); obfuscatedExternalUserId_ = s; return s; @@ -1366,20 +1546,21 @@ public java.lang.String getObfuscatedExternalUserId() { } } /** + * + * *
      * Obfuscated user ID from Dialogflow.
      * 
* * string obfuscated_external_user_id = 3; + * * @return The bytes for obfuscatedExternalUserId. */ - public com.google.protobuf.ByteString - getObfuscatedExternalUserIdBytes() { + public com.google.protobuf.ByteString getObfuscatedExternalUserIdBytes() { java.lang.Object ref = obfuscatedExternalUserId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); obfuscatedExternalUserId_ = b; return b; } else { @@ -1387,28 +1568,35 @@ public java.lang.String getObfuscatedExternalUserId() { } } /** + * + * *
      * Obfuscated user ID from Dialogflow.
      * 
* * string obfuscated_external_user_id = 3; + * * @param value The obfuscatedExternalUserId to set. * @return This builder for chaining. */ - public Builder setObfuscatedExternalUserId( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setObfuscatedExternalUserId(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } obfuscatedExternalUserId_ = value; bitField0_ |= 0x00000008; onChanged(); return this; } /** + * + * *
      * Obfuscated user ID from Dialogflow.
      * 
* * string obfuscated_external_user_id = 3; + * * @return This builder for chaining. */ public Builder clearObfuscatedExternalUserId() { @@ -1418,17 +1606,21 @@ public Builder clearObfuscatedExternalUserId() { return this; } /** + * + * *
      * Obfuscated user ID from Dialogflow.
      * 
* * string obfuscated_external_user_id = 3; + * * @param value The bytes for obfuscatedExternalUserId to set. * @return This builder for chaining. */ - public Builder setObfuscatedExternalUserIdBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setObfuscatedExternalUserIdBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); obfuscatedExternalUserId_ = value; bitField0_ |= 0x00000008; @@ -1438,22 +1630,29 @@ public Builder setObfuscatedExternalUserIdBytes( private int role_ = 0; /** + * + * *
      * The role of the participant.
      * 
* * .google.cloud.contactcenterinsights.v1.ConversationParticipant.Role role = 2; + * * @return The enum numeric value on the wire for role. */ - @java.lang.Override public int getRoleValue() { + @java.lang.Override + public int getRoleValue() { return role_; } /** + * + * *
      * The role of the participant.
      * 
* * .google.cloud.contactcenterinsights.v1.ConversationParticipant.Role role = 2; + * * @param value The enum numeric value on the wire for role to set. * @return This builder for chaining. */ @@ -1464,28 +1663,38 @@ public Builder setRoleValue(int value) { return this; } /** + * + * *
      * The role of the participant.
      * 
* * .google.cloud.contactcenterinsights.v1.ConversationParticipant.Role role = 2; + * * @return The role. */ @java.lang.Override public com.google.cloud.contactcenterinsights.v1.ConversationParticipant.Role getRole() { - com.google.cloud.contactcenterinsights.v1.ConversationParticipant.Role result = com.google.cloud.contactcenterinsights.v1.ConversationParticipant.Role.forNumber(role_); - return result == null ? com.google.cloud.contactcenterinsights.v1.ConversationParticipant.Role.UNRECOGNIZED : result; + com.google.cloud.contactcenterinsights.v1.ConversationParticipant.Role result = + com.google.cloud.contactcenterinsights.v1.ConversationParticipant.Role.forNumber(role_); + return result == null + ? com.google.cloud.contactcenterinsights.v1.ConversationParticipant.Role.UNRECOGNIZED + : result; } /** + * + * *
      * The role of the participant.
      * 
* * .google.cloud.contactcenterinsights.v1.ConversationParticipant.Role role = 2; + * * @param value The role to set. * @return This builder for chaining. */ - public Builder setRole(com.google.cloud.contactcenterinsights.v1.ConversationParticipant.Role value) { + public Builder setRole( + com.google.cloud.contactcenterinsights.v1.ConversationParticipant.Role value) { if (value == null) { throw new NullPointerException(); } @@ -1495,11 +1704,14 @@ public Builder setRole(com.google.cloud.contactcenterinsights.v1.ConversationPar return this; } /** + * + * *
      * The role of the participant.
      * 
* * .google.cloud.contactcenterinsights.v1.ConversationParticipant.Role role = 2; + * * @return This builder for chaining. */ public Builder clearRole() { @@ -1508,9 +1720,9 @@ public Builder clearRole() { onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1520,41 +1732,43 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.contactcenterinsights.v1.ConversationParticipant) } // @@protoc_insertion_point(class_scope:google.cloud.contactcenterinsights.v1.ConversationParticipant) - private static final com.google.cloud.contactcenterinsights.v1.ConversationParticipant DEFAULT_INSTANCE; + private static final com.google.cloud.contactcenterinsights.v1.ConversationParticipant + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.contactcenterinsights.v1.ConversationParticipant(); } - public static com.google.cloud.contactcenterinsights.v1.ConversationParticipant getDefaultInstance() { + public static com.google.cloud.contactcenterinsights.v1.ConversationParticipant + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ConversationParticipant parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ConversationParticipant parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1566,9 +1780,8 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.cloud.contactcenterinsights.v1.ConversationParticipant getDefaultInstanceForType() { + public com.google.cloud.contactcenterinsights.v1.ConversationParticipant + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ConversationParticipantOrBuilder.java b/java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ConversationParticipantOrBuilder.java similarity index 70% rename from owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ConversationParticipantOrBuilder.java rename to java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ConversationParticipantOrBuilder.java index 0d512e8325d7..ce3c64746b98 100644 --- a/owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ConversationParticipantOrBuilder.java +++ b/java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ConversationParticipantOrBuilder.java @@ -1,74 +1,108 @@ +/* + * 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. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/contactcenterinsights/v1/resources.proto package com.google.cloud.contactcenterinsights.v1; -public interface ConversationParticipantOrBuilder extends +public interface ConversationParticipantOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.contactcenterinsights.v1.ConversationParticipant) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * The name of the participant provided by Dialogflow. Format:
    * projects/{project}/locations/{location}/conversations/{conversation}/participants/{participant}
    * 
* * string dialogflow_participant_name = 5 [(.google.api.resource_reference) = { ... } + * * @return Whether the dialogflowParticipantName field is set. */ boolean hasDialogflowParticipantName(); /** + * + * *
    * The name of the participant provided by Dialogflow. Format:
    * projects/{project}/locations/{location}/conversations/{conversation}/participants/{participant}
    * 
* * string dialogflow_participant_name = 5 [(.google.api.resource_reference) = { ... } + * * @return The dialogflowParticipantName. */ java.lang.String getDialogflowParticipantName(); /** + * + * *
    * The name of the participant provided by Dialogflow. Format:
    * projects/{project}/locations/{location}/conversations/{conversation}/participants/{participant}
    * 
* * string dialogflow_participant_name = 5 [(.google.api.resource_reference) = { ... } + * * @return The bytes for dialogflowParticipantName. */ - com.google.protobuf.ByteString - getDialogflowParticipantNameBytes(); + com.google.protobuf.ByteString getDialogflowParticipantNameBytes(); /** + * + * *
    * A user-specified ID representing the participant.
    * 
* * string user_id = 6; + * * @return Whether the userId field is set. */ boolean hasUserId(); /** + * + * *
    * A user-specified ID representing the participant.
    * 
* * string user_id = 6; + * * @return The userId. */ java.lang.String getUserId(); /** + * + * *
    * A user-specified ID representing the participant.
    * 
* * string user_id = 6; + * * @return The bytes for userId. */ - com.google.protobuf.ByteString - getUserIdBytes(); + com.google.protobuf.ByteString getUserIdBytes(); /** + * + * *
    * Deprecated. Use `dialogflow_participant_name` instead.
    * The name of the Dialogflow participant. Format:
@@ -76,12 +110,17 @@ public interface ConversationParticipantOrBuilder extends
    * 
* * string dialogflow_participant = 1 [deprecated = true]; - * @deprecated google.cloud.contactcenterinsights.v1.ConversationParticipant.dialogflow_participant is deprecated. - * See google/cloud/contactcenterinsights/v1/resources.proto;l=1125 + * + * @deprecated + * google.cloud.contactcenterinsights.v1.ConversationParticipant.dialogflow_participant is + * deprecated. See google/cloud/contactcenterinsights/v1/resources.proto;l=1125 * @return The dialogflowParticipant. */ - @java.lang.Deprecated java.lang.String getDialogflowParticipant(); + @java.lang.Deprecated + java.lang.String getDialogflowParticipant(); /** + * + * *
    * Deprecated. Use `dialogflow_participant_name` instead.
    * The name of the Dialogflow participant. Format:
@@ -89,51 +128,65 @@ public interface ConversationParticipantOrBuilder extends
    * 
* * string dialogflow_participant = 1 [deprecated = true]; - * @deprecated google.cloud.contactcenterinsights.v1.ConversationParticipant.dialogflow_participant is deprecated. - * See google/cloud/contactcenterinsights/v1/resources.proto;l=1125 + * + * @deprecated + * google.cloud.contactcenterinsights.v1.ConversationParticipant.dialogflow_participant is + * deprecated. See google/cloud/contactcenterinsights/v1/resources.proto;l=1125 * @return The bytes for dialogflowParticipant. */ - @java.lang.Deprecated com.google.protobuf.ByteString - getDialogflowParticipantBytes(); + @java.lang.Deprecated + com.google.protobuf.ByteString getDialogflowParticipantBytes(); /** + * + * *
    * Obfuscated user ID from Dialogflow.
    * 
* * string obfuscated_external_user_id = 3; + * * @return The obfuscatedExternalUserId. */ java.lang.String getObfuscatedExternalUserId(); /** + * + * *
    * Obfuscated user ID from Dialogflow.
    * 
* * string obfuscated_external_user_id = 3; + * * @return The bytes for obfuscatedExternalUserId. */ - com.google.protobuf.ByteString - getObfuscatedExternalUserIdBytes(); + com.google.protobuf.ByteString getObfuscatedExternalUserIdBytes(); /** + * + * *
    * The role of the participant.
    * 
* * .google.cloud.contactcenterinsights.v1.ConversationParticipant.Role role = 2; + * * @return The enum numeric value on the wire for role. */ int getRoleValue(); /** + * + * *
    * The role of the participant.
    * 
* * .google.cloud.contactcenterinsights.v1.ConversationParticipant.Role role = 2; + * * @return The role. */ com.google.cloud.contactcenterinsights.v1.ConversationParticipant.Role getRole(); - public com.google.cloud.contactcenterinsights.v1.ConversationParticipant.ParticipantCase getParticipantCase(); + public com.google.cloud.contactcenterinsights.v1.ConversationParticipant.ParticipantCase + getParticipantCase(); } diff --git a/owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ConversationView.java b/java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ConversationView.java similarity index 68% rename from owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ConversationView.java rename to java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ConversationView.java index 8810cca3ac4f..e49a1b0d1ba1 100644 --- a/owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ConversationView.java +++ b/java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ConversationView.java @@ -1,18 +1,36 @@ +/* + * 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. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/contactcenterinsights/v1/contact_center_insights.proto package com.google.cloud.contactcenterinsights.v1; /** + * + * *
  * Represents the options for viewing a conversation.
  * 
* * Protobuf enum {@code google.cloud.contactcenterinsights.v1.ConversationView} */ -public enum ConversationView - implements com.google.protobuf.ProtocolMessageEnum { +public enum ConversationView implements com.google.protobuf.ProtocolMessageEnum { /** + * + * *
    * The conversation view is not specified.
    * * Defaults to `FULL` in `GetConversationRequest`.
@@ -23,6 +41,8 @@ public enum ConversationView
    */
   CONVERSATION_VIEW_UNSPECIFIED(0),
   /**
+   *
+   *
    * 
    * Populates all fields in the conversation.
    * 
@@ -31,6 +51,8 @@ public enum ConversationView */ FULL(2), /** + * + * *
    * Populates all fields in the conversation except the transcript.
    * 
@@ -42,6 +64,8 @@ public enum ConversationView ; /** + * + * *
    * The conversation view is not specified.
    * * Defaults to `FULL` in `GetConversationRequest`.
@@ -52,6 +76,8 @@ public enum ConversationView
    */
   public static final int CONVERSATION_VIEW_UNSPECIFIED_VALUE = 0;
   /**
+   *
+   *
    * 
    * Populates all fields in the conversation.
    * 
@@ -60,6 +86,8 @@ public enum ConversationView */ public static final int FULL_VALUE = 2; /** + * + * *
    * Populates all fields in the conversation except the transcript.
    * 
@@ -68,7 +96,6 @@ public enum ConversationView */ public static final int BASIC_VALUE = 1; - public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -93,49 +120,51 @@ public static ConversationView valueOf(int value) { */ public static ConversationView forNumber(int value) { switch (value) { - case 0: return CONVERSATION_VIEW_UNSPECIFIED; - case 2: return FULL; - case 1: return BASIC; - default: return null; + case 0: + return CONVERSATION_VIEW_UNSPECIFIED; + case 2: + return FULL; + case 1: + return BASIC; + default: + return null; } } - public static com.google.protobuf.Internal.EnumLiteMap - internalGetValueMap() { + public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() { return internalValueMap; } - private static final com.google.protobuf.Internal.EnumLiteMap< - ConversationView> internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public ConversationView findValueByNumber(int number) { - return ConversationView.forNumber(number); - } - }; - - public final com.google.protobuf.Descriptors.EnumValueDescriptor - getValueDescriptor() { + + private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public ConversationView findValueByNumber(int number) { + return ConversationView.forNumber(number); + } + }; + + public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalStateException( "Can't get the descriptor of an unrecognized enum value."); } return getDescriptor().getValues().get(ordinal()); } - public final com.google.protobuf.Descriptors.EnumDescriptor - getDescriptorForType() { + + public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() { return getDescriptor(); } - public static final com.google.protobuf.Descriptors.EnumDescriptor - getDescriptor() { - return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto.getDescriptor().getEnumTypes().get(0); + + public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { + return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto.getDescriptor() + .getEnumTypes() + .get(0); } private static final ConversationView[] VALUES = values(); - public static ConversationView valueOf( - com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + public static ConversationView valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) { if (desc.getType() != getDescriptor()) { - throw new java.lang.IllegalArgumentException( - "EnumValueDescriptor is not for this type."); + throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type."); } if (desc.getIndex() == -1) { return UNRECOGNIZED; @@ -151,4 +180,3 @@ private ConversationView(int value) { // @@protoc_insertion_point(enum_scope:google.cloud.contactcenterinsights.v1.ConversationView) } - diff --git a/owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/CreateAnalysisOperationMetadata.java b/java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/CreateAnalysisOperationMetadata.java similarity index 59% rename from owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/CreateAnalysisOperationMetadata.java rename to java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/CreateAnalysisOperationMetadata.java index b068aed7f147..db768670ba3a 100644 --- a/owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/CreateAnalysisOperationMetadata.java +++ b/java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/CreateAnalysisOperationMetadata.java @@ -1,61 +1,86 @@ +/* + * 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. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/contactcenterinsights/v1/contact_center_insights.proto package com.google.cloud.contactcenterinsights.v1; /** + * + * *
  * Metadata for a create analysis operation.
  * 
* * Protobuf type {@code google.cloud.contactcenterinsights.v1.CreateAnalysisOperationMetadata} */ -public final class CreateAnalysisOperationMetadata extends - com.google.protobuf.GeneratedMessageV3 implements +public final class CreateAnalysisOperationMetadata extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.contactcenterinsights.v1.CreateAnalysisOperationMetadata) CreateAnalysisOperationMetadataOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use CreateAnalysisOperationMetadata.newBuilder() to construct. - private CreateAnalysisOperationMetadata(com.google.protobuf.GeneratedMessageV3.Builder builder) { + private CreateAnalysisOperationMetadata( + com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private CreateAnalysisOperationMetadata() { conversation_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new CreateAnalysisOperationMetadata(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto.internal_static_google_cloud_contactcenterinsights_v1_CreateAnalysisOperationMetadata_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto + .internal_static_google_cloud_contactcenterinsights_v1_CreateAnalysisOperationMetadata_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto.internal_static_google_cloud_contactcenterinsights_v1_CreateAnalysisOperationMetadata_fieldAccessorTable + return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto + .internal_static_google_cloud_contactcenterinsights_v1_CreateAnalysisOperationMetadata_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.contactcenterinsights.v1.CreateAnalysisOperationMetadata.class, com.google.cloud.contactcenterinsights.v1.CreateAnalysisOperationMetadata.Builder.class); + com.google.cloud.contactcenterinsights.v1.CreateAnalysisOperationMetadata.class, + com.google.cloud.contactcenterinsights.v1.CreateAnalysisOperationMetadata.Builder + .class); } public static final int CREATE_TIME_FIELD_NUMBER = 1; private com.google.protobuf.Timestamp createTime_; /** + * + * *
    * Output only. The time the operation was created.
    * 
* - * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the createTime field is set. */ @java.lang.Override @@ -63,11 +88,15 @@ public boolean hasCreateTime() { return createTime_ != null; } /** + * + * *
    * Output only. The time the operation was created.
    * 
* - * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The createTime. */ @java.lang.Override @@ -75,11 +104,14 @@ public com.google.protobuf.Timestamp getCreateTime() { return createTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : createTime_; } /** + * + * *
    * Output only. The time the operation was created.
    * 
* - * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ @java.lang.Override public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { @@ -89,11 +121,15 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { public static final int END_TIME_FIELD_NUMBER = 2; private com.google.protobuf.Timestamp endTime_; /** + * + * *
    * Output only. The time the operation finished running.
    * 
* - * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the endTime field is set. */ @java.lang.Override @@ -101,11 +137,15 @@ public boolean hasEndTime() { return endTime_ != null; } /** + * + * *
    * Output only. The time the operation finished running.
    * 
* - * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The endTime. */ @java.lang.Override @@ -113,11 +153,14 @@ public com.google.protobuf.Timestamp getEndTime() { return endTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : endTime_; } /** + * + * *
    * Output only. The time the operation finished running.
    * 
* - * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ @java.lang.Override public com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder() { @@ -125,14 +168,20 @@ public com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder() { } public static final int CONVERSATION_FIELD_NUMBER = 3; + @SuppressWarnings("serial") private volatile java.lang.Object conversation_ = ""; /** + * + * *
    * Output only. The Conversation that this Analysis Operation belongs to.
    * 
* - * string conversation = 3 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } + * + * string conversation = 3 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } + * + * * @return The conversation. */ @java.lang.Override @@ -141,29 +190,31 @@ public java.lang.String getConversation() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); conversation_ = s; return s; } } /** + * + * *
    * Output only. The Conversation that this Analysis Operation belongs to.
    * 
* - * string conversation = 3 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } + * + * string conversation = 3 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for conversation. */ @java.lang.Override - public com.google.protobuf.ByteString - getConversationBytes() { + public com.google.protobuf.ByteString getConversationBytes() { java.lang.Object ref = conversation_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); conversation_ = b; return b; } else { @@ -174,11 +225,16 @@ public java.lang.String getConversation() { public static final int ANNOTATOR_SELECTOR_FIELD_NUMBER = 4; private com.google.cloud.contactcenterinsights.v1.AnnotatorSelector annotatorSelector_; /** + * + * *
    * Output only. The annotator selector used for the analysis (if any).
    * 
* - * .google.cloud.contactcenterinsights.v1.AnnotatorSelector annotator_selector = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.contactcenterinsights.v1.AnnotatorSelector annotator_selector = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the annotatorSelector field is set. */ @java.lang.Override @@ -186,30 +242,45 @@ public boolean hasAnnotatorSelector() { return annotatorSelector_ != null; } /** + * + * *
    * Output only. The annotator selector used for the analysis (if any).
    * 
* - * .google.cloud.contactcenterinsights.v1.AnnotatorSelector annotator_selector = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.contactcenterinsights.v1.AnnotatorSelector annotator_selector = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The annotatorSelector. */ @java.lang.Override public com.google.cloud.contactcenterinsights.v1.AnnotatorSelector getAnnotatorSelector() { - return annotatorSelector_ == null ? com.google.cloud.contactcenterinsights.v1.AnnotatorSelector.getDefaultInstance() : annotatorSelector_; + return annotatorSelector_ == null + ? com.google.cloud.contactcenterinsights.v1.AnnotatorSelector.getDefaultInstance() + : annotatorSelector_; } /** + * + * *
    * Output only. The annotator selector used for the analysis (if any).
    * 
* - * .google.cloud.contactcenterinsights.v1.AnnotatorSelector annotator_selector = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.contactcenterinsights.v1.AnnotatorSelector annotator_selector = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ @java.lang.Override - public com.google.cloud.contactcenterinsights.v1.AnnotatorSelectorOrBuilder getAnnotatorSelectorOrBuilder() { - return annotatorSelector_ == null ? com.google.cloud.contactcenterinsights.v1.AnnotatorSelector.getDefaultInstance() : annotatorSelector_; + public com.google.cloud.contactcenterinsights.v1.AnnotatorSelectorOrBuilder + getAnnotatorSelectorOrBuilder() { + return annotatorSelector_ == null + ? com.google.cloud.contactcenterinsights.v1.AnnotatorSelector.getDefaultInstance() + : annotatorSelector_; } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -221,8 +292,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (createTime_ != null) { output.writeMessage(1, getCreateTime()); } @@ -245,19 +315,16 @@ public int getSerializedSize() { size = 0; if (createTime_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, getCreateTime()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getCreateTime()); } if (endTime_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, getEndTime()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getEndTime()); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(conversation_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, conversation_); } if (annotatorSelector_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(4, getAnnotatorSelector()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(4, getAnnotatorSelector()); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -267,29 +334,27 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } - if (!(obj instanceof com.google.cloud.contactcenterinsights.v1.CreateAnalysisOperationMetadata)) { + if (!(obj + instanceof com.google.cloud.contactcenterinsights.v1.CreateAnalysisOperationMetadata)) { return super.equals(obj); } - com.google.cloud.contactcenterinsights.v1.CreateAnalysisOperationMetadata other = (com.google.cloud.contactcenterinsights.v1.CreateAnalysisOperationMetadata) obj; + com.google.cloud.contactcenterinsights.v1.CreateAnalysisOperationMetadata other = + (com.google.cloud.contactcenterinsights.v1.CreateAnalysisOperationMetadata) obj; if (hasCreateTime() != other.hasCreateTime()) return false; if (hasCreateTime()) { - if (!getCreateTime() - .equals(other.getCreateTime())) return false; + if (!getCreateTime().equals(other.getCreateTime())) return false; } if (hasEndTime() != other.hasEndTime()) return false; if (hasEndTime()) { - if (!getEndTime() - .equals(other.getEndTime())) return false; + if (!getEndTime().equals(other.getEndTime())) return false; } - if (!getConversation() - .equals(other.getConversation())) return false; + if (!getConversation().equals(other.getConversation())) return false; if (hasAnnotatorSelector() != other.hasAnnotatorSelector()) return false; if (hasAnnotatorSelector()) { - if (!getAnnotatorSelector() - .equals(other.getAnnotatorSelector())) return false; + if (!getAnnotatorSelector().equals(other.getAnnotatorSelector())) return false; } if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -322,129 +387,139 @@ public int hashCode() { } public static com.google.cloud.contactcenterinsights.v1.CreateAnalysisOperationMetadata parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.contactcenterinsights.v1.CreateAnalysisOperationMetadata parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.contactcenterinsights.v1.CreateAnalysisOperationMetadata parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.contactcenterinsights.v1.CreateAnalysisOperationMetadata parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.contactcenterinsights.v1.CreateAnalysisOperationMetadata parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.contactcenterinsights.v1.CreateAnalysisOperationMetadata parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.contactcenterinsights.v1.CreateAnalysisOperationMetadata parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.contactcenterinsights.v1.CreateAnalysisOperationMetadata parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.contactcenterinsights.v1.CreateAnalysisOperationMetadata parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.contactcenterinsights.v1.CreateAnalysisOperationMetadata parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.contactcenterinsights.v1.CreateAnalysisOperationMetadata parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.contactcenterinsights.v1.CreateAnalysisOperationMetadata + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.contactcenterinsights.v1.CreateAnalysisOperationMetadata parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + + public static com.google.cloud.contactcenterinsights.v1.CreateAnalysisOperationMetadata + parseDelimitedFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.contactcenterinsights.v1.CreateAnalysisOperationMetadata parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.contactcenterinsights.v1.CreateAnalysisOperationMetadata parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.contactcenterinsights.v1.CreateAnalysisOperationMetadata prototype) { + + public static Builder newBuilder( + com.google.cloud.contactcenterinsights.v1.CreateAnalysisOperationMetadata prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Metadata for a create analysis operation.
    * 
* * Protobuf type {@code google.cloud.contactcenterinsights.v1.CreateAnalysisOperationMetadata} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.contactcenterinsights.v1.CreateAnalysisOperationMetadata) com.google.cloud.contactcenterinsights.v1.CreateAnalysisOperationMetadataOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto.internal_static_google_cloud_contactcenterinsights_v1_CreateAnalysisOperationMetadata_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto + .internal_static_google_cloud_contactcenterinsights_v1_CreateAnalysisOperationMetadata_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto.internal_static_google_cloud_contactcenterinsights_v1_CreateAnalysisOperationMetadata_fieldAccessorTable + return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto + .internal_static_google_cloud_contactcenterinsights_v1_CreateAnalysisOperationMetadata_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.contactcenterinsights.v1.CreateAnalysisOperationMetadata.class, com.google.cloud.contactcenterinsights.v1.CreateAnalysisOperationMetadata.Builder.class); + com.google.cloud.contactcenterinsights.v1.CreateAnalysisOperationMetadata.class, + com.google.cloud.contactcenterinsights.v1.CreateAnalysisOperationMetadata.Builder + .class); } - // Construct using com.google.cloud.contactcenterinsights.v1.CreateAnalysisOperationMetadata.newBuilder() - private Builder() { - - } + // Construct using + // com.google.cloud.contactcenterinsights.v1.CreateAnalysisOperationMetadata.newBuilder() + private Builder() {} - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -469,19 +544,22 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto.internal_static_google_cloud_contactcenterinsights_v1_CreateAnalysisOperationMetadata_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto + .internal_static_google_cloud_contactcenterinsights_v1_CreateAnalysisOperationMetadata_descriptor; } @java.lang.Override - public com.google.cloud.contactcenterinsights.v1.CreateAnalysisOperationMetadata getDefaultInstanceForType() { - return com.google.cloud.contactcenterinsights.v1.CreateAnalysisOperationMetadata.getDefaultInstance(); + public com.google.cloud.contactcenterinsights.v1.CreateAnalysisOperationMetadata + getDefaultInstanceForType() { + return com.google.cloud.contactcenterinsights.v1.CreateAnalysisOperationMetadata + .getDefaultInstance(); } @java.lang.Override public com.google.cloud.contactcenterinsights.v1.CreateAnalysisOperationMetadata build() { - com.google.cloud.contactcenterinsights.v1.CreateAnalysisOperationMetadata result = buildPartial(); + com.google.cloud.contactcenterinsights.v1.CreateAnalysisOperationMetadata result = + buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } @@ -489,32 +567,34 @@ public com.google.cloud.contactcenterinsights.v1.CreateAnalysisOperationMetadata } @java.lang.Override - public com.google.cloud.contactcenterinsights.v1.CreateAnalysisOperationMetadata buildPartial() { - com.google.cloud.contactcenterinsights.v1.CreateAnalysisOperationMetadata result = new com.google.cloud.contactcenterinsights.v1.CreateAnalysisOperationMetadata(this); - if (bitField0_ != 0) { buildPartial0(result); } + public com.google.cloud.contactcenterinsights.v1.CreateAnalysisOperationMetadata + buildPartial() { + com.google.cloud.contactcenterinsights.v1.CreateAnalysisOperationMetadata result = + new com.google.cloud.contactcenterinsights.v1.CreateAnalysisOperationMetadata(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } - private void buildPartial0(com.google.cloud.contactcenterinsights.v1.CreateAnalysisOperationMetadata result) { + private void buildPartial0( + com.google.cloud.contactcenterinsights.v1.CreateAnalysisOperationMetadata result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { - result.createTime_ = createTimeBuilder_ == null - ? createTime_ - : createTimeBuilder_.build(); + result.createTime_ = createTimeBuilder_ == null ? createTime_ : createTimeBuilder_.build(); } if (((from_bitField0_ & 0x00000002) != 0)) { - result.endTime_ = endTimeBuilder_ == null - ? endTime_ - : endTimeBuilder_.build(); + result.endTime_ = endTimeBuilder_ == null ? endTime_ : endTimeBuilder_.build(); } if (((from_bitField0_ & 0x00000004) != 0)) { result.conversation_ = conversation_; } if (((from_bitField0_ & 0x00000008) != 0)) { - result.annotatorSelector_ = annotatorSelectorBuilder_ == null - ? annotatorSelector_ - : annotatorSelectorBuilder_.build(); + result.annotatorSelector_ = + annotatorSelectorBuilder_ == null + ? annotatorSelector_ + : annotatorSelectorBuilder_.build(); } } @@ -522,46 +602,52 @@ private void buildPartial0(com.google.cloud.contactcenterinsights.v1.CreateAnaly public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { - if (other instanceof com.google.cloud.contactcenterinsights.v1.CreateAnalysisOperationMetadata) { - return mergeFrom((com.google.cloud.contactcenterinsights.v1.CreateAnalysisOperationMetadata)other); + if (other + instanceof com.google.cloud.contactcenterinsights.v1.CreateAnalysisOperationMetadata) { + return mergeFrom( + (com.google.cloud.contactcenterinsights.v1.CreateAnalysisOperationMetadata) other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.google.cloud.contactcenterinsights.v1.CreateAnalysisOperationMetadata other) { - if (other == com.google.cloud.contactcenterinsights.v1.CreateAnalysisOperationMetadata.getDefaultInstance()) return this; + public Builder mergeFrom( + com.google.cloud.contactcenterinsights.v1.CreateAnalysisOperationMetadata other) { + if (other + == com.google.cloud.contactcenterinsights.v1.CreateAnalysisOperationMetadata + .getDefaultInstance()) return this; if (other.hasCreateTime()) { mergeCreateTime(other.getCreateTime()); } @@ -602,38 +688,38 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - input.readMessage( - getCreateTimeFieldBuilder().getBuilder(), - extensionRegistry); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: { - input.readMessage( - getEndTimeFieldBuilder().getBuilder(), - extensionRegistry); - bitField0_ |= 0x00000002; - break; - } // case 18 - case 26: { - conversation_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000004; - break; - } // case 26 - case 34: { - input.readMessage( - getAnnotatorSelectorFieldBuilder().getBuilder(), - extensionRegistry); - bitField0_ |= 0x00000008; - break; - } // case 34 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + input.readMessage(getCreateTimeFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: + { + input.readMessage(getEndTimeFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000002; + break; + } // case 18 + case 26: + { + conversation_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000004; + break; + } // case 26 + case 34: + { + input.readMessage( + getAnnotatorSelectorFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000008; + break; + } // case 34 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -643,43 +729,63 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private com.google.protobuf.Timestamp createTime_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> createTimeBuilder_; + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder> + createTimeBuilder_; /** + * + * *
      * Output only. The time the operation was created.
      * 
* - * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the createTime field is set. */ public boolean hasCreateTime() { return ((bitField0_ & 0x00000001) != 0); } /** + * + * *
      * Output only. The time the operation was created.
      * 
* - * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The createTime. */ public com.google.protobuf.Timestamp getCreateTime() { if (createTimeBuilder_ == null) { - return createTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : createTime_; + return createTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : createTime_; } else { return createTimeBuilder_.getMessage(); } } /** + * + * *
      * Output only. The time the operation was created.
      * 
* - * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder setCreateTime(com.google.protobuf.Timestamp value) { if (createTimeBuilder_ == null) { @@ -695,14 +801,17 @@ public Builder setCreateTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * Output only. The time the operation was created.
      * 
* - * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - public Builder setCreateTime( - com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setCreateTime(com.google.protobuf.Timestamp.Builder builderForValue) { if (createTimeBuilder_ == null) { createTime_ = builderForValue.build(); } else { @@ -713,17 +822,21 @@ public Builder setCreateTime( return this; } /** + * + * *
      * Output only. The time the operation was created.
      * 
* - * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder mergeCreateTime(com.google.protobuf.Timestamp value) { if (createTimeBuilder_ == null) { - if (((bitField0_ & 0x00000001) != 0) && - createTime_ != null && - createTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { + if (((bitField0_ & 0x00000001) != 0) + && createTime_ != null + && createTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { getCreateTimeBuilder().mergeFrom(value); } else { createTime_ = value; @@ -736,11 +849,15 @@ public Builder mergeCreateTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * Output only. The time the operation was created.
      * 
* - * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder clearCreateTime() { bitField0_ = (bitField0_ & ~0x00000001); @@ -753,11 +870,15 @@ public Builder clearCreateTime() { return this; } /** + * + * *
      * Output only. The time the operation was created.
      * 
* - * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public com.google.protobuf.Timestamp.Builder getCreateTimeBuilder() { bitField0_ |= 0x00000001; @@ -765,36 +886,48 @@ public com.google.protobuf.Timestamp.Builder getCreateTimeBuilder() { return getCreateTimeFieldBuilder().getBuilder(); } /** + * + * *
      * Output only. The time the operation was created.
      * 
* - * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { if (createTimeBuilder_ != null) { return createTimeBuilder_.getMessageOrBuilder(); } else { - return createTime_ == null ? - com.google.protobuf.Timestamp.getDefaultInstance() : createTime_; + return createTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : createTime_; } } /** + * + * *
      * Output only. The time the operation was created.
      * 
* - * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder> getCreateTimeFieldBuilder() { if (createTimeBuilder_ == null) { - createTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( - getCreateTime(), - getParentForChildren(), - isClean()); + createTimeBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder>( + getCreateTime(), getParentForChildren(), isClean()); createTime_ = null; } return createTimeBuilder_; @@ -802,24 +935,35 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { private com.google.protobuf.Timestamp endTime_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> endTimeBuilder_; + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder> + endTimeBuilder_; /** + * + * *
      * Output only. The time the operation finished running.
      * 
* - * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the endTime field is set. */ public boolean hasEndTime() { return ((bitField0_ & 0x00000002) != 0); } /** + * + * *
      * Output only. The time the operation finished running.
      * 
* - * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The endTime. */ public com.google.protobuf.Timestamp getEndTime() { @@ -830,11 +974,14 @@ public com.google.protobuf.Timestamp getEndTime() { } } /** + * + * *
      * Output only. The time the operation finished running.
      * 
* - * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder setEndTime(com.google.protobuf.Timestamp value) { if (endTimeBuilder_ == null) { @@ -850,14 +997,16 @@ public Builder setEndTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * Output only. The time the operation finished running.
      * 
* - * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - public Builder setEndTime( - com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setEndTime(com.google.protobuf.Timestamp.Builder builderForValue) { if (endTimeBuilder_ == null) { endTime_ = builderForValue.build(); } else { @@ -868,17 +1017,20 @@ public Builder setEndTime( return this; } /** + * + * *
      * Output only. The time the operation finished running.
      * 
* - * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder mergeEndTime(com.google.protobuf.Timestamp value) { if (endTimeBuilder_ == null) { - if (((bitField0_ & 0x00000002) != 0) && - endTime_ != null && - endTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { + if (((bitField0_ & 0x00000002) != 0) + && endTime_ != null + && endTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { getEndTimeBuilder().mergeFrom(value); } else { endTime_ = value; @@ -891,11 +1043,14 @@ public Builder mergeEndTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * Output only. The time the operation finished running.
      * 
* - * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder clearEndTime() { bitField0_ = (bitField0_ & ~0x00000002); @@ -908,11 +1063,14 @@ public Builder clearEndTime() { return this; } /** + * + * *
      * Output only. The time the operation finished running.
      * 
* - * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public com.google.protobuf.Timestamp.Builder getEndTimeBuilder() { bitField0_ |= 0x00000002; @@ -920,36 +1078,44 @@ public com.google.protobuf.Timestamp.Builder getEndTimeBuilder() { return getEndTimeFieldBuilder().getBuilder(); } /** + * + * *
      * Output only. The time the operation finished running.
      * 
* - * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder() { if (endTimeBuilder_ != null) { return endTimeBuilder_.getMessageOrBuilder(); } else { - return endTime_ == null ? - com.google.protobuf.Timestamp.getDefaultInstance() : endTime_; + return endTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : endTime_; } } /** + * + * *
      * Output only. The time the operation finished running.
      * 
* - * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder> getEndTimeFieldBuilder() { if (endTimeBuilder_ == null) { - endTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( - getEndTime(), - getParentForChildren(), - isClean()); + endTimeBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder>( + getEndTime(), getParentForChildren(), isClean()); endTime_ = null; } return endTimeBuilder_; @@ -957,18 +1123,22 @@ public com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder() { private java.lang.Object conversation_ = ""; /** + * + * *
      * Output only. The Conversation that this Analysis Operation belongs to.
      * 
* - * string conversation = 3 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } + * + * string conversation = 3 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } + * + * * @return The conversation. */ public java.lang.String getConversation() { java.lang.Object ref = conversation_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); conversation_ = s; return s; @@ -977,20 +1147,23 @@ public java.lang.String getConversation() { } } /** + * + * *
      * Output only. The Conversation that this Analysis Operation belongs to.
      * 
* - * string conversation = 3 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } + * + * string conversation = 3 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for conversation. */ - public com.google.protobuf.ByteString - getConversationBytes() { + public com.google.protobuf.ByteString getConversationBytes() { java.lang.Object ref = conversation_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); conversation_ = b; return b; } else { @@ -998,28 +1171,39 @@ public java.lang.String getConversation() { } } /** + * + * *
      * Output only. The Conversation that this Analysis Operation belongs to.
      * 
* - * string conversation = 3 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } + * + * string conversation = 3 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } + * + * * @param value The conversation to set. * @return This builder for chaining. */ - public Builder setConversation( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setConversation(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } conversation_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } /** + * + * *
      * Output only. The Conversation that this Analysis Operation belongs to.
      * 
* - * string conversation = 3 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } + * + * string conversation = 3 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } + * + * * @return This builder for chaining. */ public Builder clearConversation() { @@ -1029,17 +1213,23 @@ public Builder clearConversation() { return this; } /** + * + * *
      * Output only. The Conversation that this Analysis Operation belongs to.
      * 
* - * string conversation = 3 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } + * + * string conversation = 3 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } + * + * * @param value The bytes for conversation to set. * @return This builder for chaining. */ - public Builder setConversationBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setConversationBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); conversation_ = value; bitField0_ |= 0x00000004; @@ -1049,41 +1239,61 @@ public Builder setConversationBytes( private com.google.cloud.contactcenterinsights.v1.AnnotatorSelector annotatorSelector_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.contactcenterinsights.v1.AnnotatorSelector, com.google.cloud.contactcenterinsights.v1.AnnotatorSelector.Builder, com.google.cloud.contactcenterinsights.v1.AnnotatorSelectorOrBuilder> annotatorSelectorBuilder_; + com.google.cloud.contactcenterinsights.v1.AnnotatorSelector, + com.google.cloud.contactcenterinsights.v1.AnnotatorSelector.Builder, + com.google.cloud.contactcenterinsights.v1.AnnotatorSelectorOrBuilder> + annotatorSelectorBuilder_; /** + * + * *
      * Output only. The annotator selector used for the analysis (if any).
      * 
* - * .google.cloud.contactcenterinsights.v1.AnnotatorSelector annotator_selector = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.contactcenterinsights.v1.AnnotatorSelector annotator_selector = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the annotatorSelector field is set. */ public boolean hasAnnotatorSelector() { return ((bitField0_ & 0x00000008) != 0); } /** + * + * *
      * Output only. The annotator selector used for the analysis (if any).
      * 
* - * .google.cloud.contactcenterinsights.v1.AnnotatorSelector annotator_selector = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.contactcenterinsights.v1.AnnotatorSelector annotator_selector = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The annotatorSelector. */ public com.google.cloud.contactcenterinsights.v1.AnnotatorSelector getAnnotatorSelector() { if (annotatorSelectorBuilder_ == null) { - return annotatorSelector_ == null ? com.google.cloud.contactcenterinsights.v1.AnnotatorSelector.getDefaultInstance() : annotatorSelector_; + return annotatorSelector_ == null + ? com.google.cloud.contactcenterinsights.v1.AnnotatorSelector.getDefaultInstance() + : annotatorSelector_; } else { return annotatorSelectorBuilder_.getMessage(); } } /** + * + * *
      * Output only. The annotator selector used for the analysis (if any).
      * 
* - * .google.cloud.contactcenterinsights.v1.AnnotatorSelector annotator_selector = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.contactcenterinsights.v1.AnnotatorSelector annotator_selector = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - public Builder setAnnotatorSelector(com.google.cloud.contactcenterinsights.v1.AnnotatorSelector value) { + public Builder setAnnotatorSelector( + com.google.cloud.contactcenterinsights.v1.AnnotatorSelector value) { if (annotatorSelectorBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -1097,11 +1307,15 @@ public Builder setAnnotatorSelector(com.google.cloud.contactcenterinsights.v1.An return this; } /** + * + * *
      * Output only. The annotator selector used for the analysis (if any).
      * 
* - * .google.cloud.contactcenterinsights.v1.AnnotatorSelector annotator_selector = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.contactcenterinsights.v1.AnnotatorSelector annotator_selector = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder setAnnotatorSelector( com.google.cloud.contactcenterinsights.v1.AnnotatorSelector.Builder builderForValue) { @@ -1115,17 +1329,24 @@ public Builder setAnnotatorSelector( return this; } /** + * + * *
      * Output only. The annotator selector used for the analysis (if any).
      * 
* - * .google.cloud.contactcenterinsights.v1.AnnotatorSelector annotator_selector = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.contactcenterinsights.v1.AnnotatorSelector annotator_selector = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - public Builder mergeAnnotatorSelector(com.google.cloud.contactcenterinsights.v1.AnnotatorSelector value) { + public Builder mergeAnnotatorSelector( + com.google.cloud.contactcenterinsights.v1.AnnotatorSelector value) { if (annotatorSelectorBuilder_ == null) { - if (((bitField0_ & 0x00000008) != 0) && - annotatorSelector_ != null && - annotatorSelector_ != com.google.cloud.contactcenterinsights.v1.AnnotatorSelector.getDefaultInstance()) { + if (((bitField0_ & 0x00000008) != 0) + && annotatorSelector_ != null + && annotatorSelector_ + != com.google.cloud.contactcenterinsights.v1.AnnotatorSelector + .getDefaultInstance()) { getAnnotatorSelectorBuilder().mergeFrom(value); } else { annotatorSelector_ = value; @@ -1138,11 +1359,15 @@ public Builder mergeAnnotatorSelector(com.google.cloud.contactcenterinsights.v1. return this; } /** + * + * *
      * Output only. The annotator selector used for the analysis (if any).
      * 
* - * .google.cloud.contactcenterinsights.v1.AnnotatorSelector annotator_selector = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.contactcenterinsights.v1.AnnotatorSelector annotator_selector = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder clearAnnotatorSelector() { bitField0_ = (bitField0_ & ~0x00000008); @@ -1155,55 +1380,73 @@ public Builder clearAnnotatorSelector() { return this; } /** + * + * *
      * Output only. The annotator selector used for the analysis (if any).
      * 
* - * .google.cloud.contactcenterinsights.v1.AnnotatorSelector annotator_selector = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.contactcenterinsights.v1.AnnotatorSelector annotator_selector = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - public com.google.cloud.contactcenterinsights.v1.AnnotatorSelector.Builder getAnnotatorSelectorBuilder() { + public com.google.cloud.contactcenterinsights.v1.AnnotatorSelector.Builder + getAnnotatorSelectorBuilder() { bitField0_ |= 0x00000008; onChanged(); return getAnnotatorSelectorFieldBuilder().getBuilder(); } /** + * + * *
      * Output only. The annotator selector used for the analysis (if any).
      * 
* - * .google.cloud.contactcenterinsights.v1.AnnotatorSelector annotator_selector = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.contactcenterinsights.v1.AnnotatorSelector annotator_selector = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - public com.google.cloud.contactcenterinsights.v1.AnnotatorSelectorOrBuilder getAnnotatorSelectorOrBuilder() { + public com.google.cloud.contactcenterinsights.v1.AnnotatorSelectorOrBuilder + getAnnotatorSelectorOrBuilder() { if (annotatorSelectorBuilder_ != null) { return annotatorSelectorBuilder_.getMessageOrBuilder(); } else { - return annotatorSelector_ == null ? - com.google.cloud.contactcenterinsights.v1.AnnotatorSelector.getDefaultInstance() : annotatorSelector_; + return annotatorSelector_ == null + ? com.google.cloud.contactcenterinsights.v1.AnnotatorSelector.getDefaultInstance() + : annotatorSelector_; } } /** + * + * *
      * Output only. The annotator selector used for the analysis (if any).
      * 
* - * .google.cloud.contactcenterinsights.v1.AnnotatorSelector annotator_selector = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.contactcenterinsights.v1.AnnotatorSelector annotator_selector = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.contactcenterinsights.v1.AnnotatorSelector, com.google.cloud.contactcenterinsights.v1.AnnotatorSelector.Builder, com.google.cloud.contactcenterinsights.v1.AnnotatorSelectorOrBuilder> + com.google.cloud.contactcenterinsights.v1.AnnotatorSelector, + com.google.cloud.contactcenterinsights.v1.AnnotatorSelector.Builder, + com.google.cloud.contactcenterinsights.v1.AnnotatorSelectorOrBuilder> getAnnotatorSelectorFieldBuilder() { if (annotatorSelectorBuilder_ == null) { - annotatorSelectorBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.contactcenterinsights.v1.AnnotatorSelector, com.google.cloud.contactcenterinsights.v1.AnnotatorSelector.Builder, com.google.cloud.contactcenterinsights.v1.AnnotatorSelectorOrBuilder>( - getAnnotatorSelector(), - getParentForChildren(), - isClean()); + annotatorSelectorBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.contactcenterinsights.v1.AnnotatorSelector, + com.google.cloud.contactcenterinsights.v1.AnnotatorSelector.Builder, + com.google.cloud.contactcenterinsights.v1.AnnotatorSelectorOrBuilder>( + getAnnotatorSelector(), getParentForChildren(), isClean()); annotatorSelector_ = null; } return annotatorSelectorBuilder_; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1213,41 +1456,44 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.contactcenterinsights.v1.CreateAnalysisOperationMetadata) } // @@protoc_insertion_point(class_scope:google.cloud.contactcenterinsights.v1.CreateAnalysisOperationMetadata) - private static final com.google.cloud.contactcenterinsights.v1.CreateAnalysisOperationMetadata DEFAULT_INSTANCE; + private static final com.google.cloud.contactcenterinsights.v1.CreateAnalysisOperationMetadata + DEFAULT_INSTANCE; + static { - DEFAULT_INSTANCE = new com.google.cloud.contactcenterinsights.v1.CreateAnalysisOperationMetadata(); + DEFAULT_INSTANCE = + new com.google.cloud.contactcenterinsights.v1.CreateAnalysisOperationMetadata(); } - public static com.google.cloud.contactcenterinsights.v1.CreateAnalysisOperationMetadata getDefaultInstance() { + public static com.google.cloud.contactcenterinsights.v1.CreateAnalysisOperationMetadata + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public CreateAnalysisOperationMetadata parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public CreateAnalysisOperationMetadata parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1259,9 +1505,8 @@ public com.google.protobuf.Parser getParserForT } @java.lang.Override - public com.google.cloud.contactcenterinsights.v1.CreateAnalysisOperationMetadata getDefaultInstanceForType() { + public com.google.cloud.contactcenterinsights.v1.CreateAnalysisOperationMetadata + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/CreateAnalysisOperationMetadataOrBuilder.java b/java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/CreateAnalysisOperationMetadataOrBuilder.java similarity index 58% rename from owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/CreateAnalysisOperationMetadataOrBuilder.java rename to java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/CreateAnalysisOperationMetadataOrBuilder.java index 8c6d81e04f52..6cd2ee7dc103 100644 --- a/owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/CreateAnalysisOperationMetadataOrBuilder.java +++ b/java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/CreateAnalysisOperationMetadataOrBuilder.java @@ -1,110 +1,172 @@ +/* + * 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. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/contactcenterinsights/v1/contact_center_insights.proto package com.google.cloud.contactcenterinsights.v1; -public interface CreateAnalysisOperationMetadataOrBuilder extends +public interface CreateAnalysisOperationMetadataOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.contactcenterinsights.v1.CreateAnalysisOperationMetadata) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Output only. The time the operation was created.
    * 
* - * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the createTime field is set. */ boolean hasCreateTime(); /** + * + * *
    * Output only. The time the operation was created.
    * 
* - * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The createTime. */ com.google.protobuf.Timestamp getCreateTime(); /** + * + * *
    * Output only. The time the operation was created.
    * 
* - * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder(); /** + * + * *
    * Output only. The time the operation finished running.
    * 
* - * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the endTime field is set. */ boolean hasEndTime(); /** + * + * *
    * Output only. The time the operation finished running.
    * 
* - * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The endTime. */ com.google.protobuf.Timestamp getEndTime(); /** + * + * *
    * Output only. The time the operation finished running.
    * 
* - * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder(); /** + * + * *
    * Output only. The Conversation that this Analysis Operation belongs to.
    * 
* - * string conversation = 3 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } + * + * string conversation = 3 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } + * + * * @return The conversation. */ java.lang.String getConversation(); /** + * + * *
    * Output only. The Conversation that this Analysis Operation belongs to.
    * 
* - * string conversation = 3 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } + * + * string conversation = 3 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for conversation. */ - com.google.protobuf.ByteString - getConversationBytes(); + com.google.protobuf.ByteString getConversationBytes(); /** + * + * *
    * Output only. The annotator selector used for the analysis (if any).
    * 
* - * .google.cloud.contactcenterinsights.v1.AnnotatorSelector annotator_selector = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.contactcenterinsights.v1.AnnotatorSelector annotator_selector = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the annotatorSelector field is set. */ boolean hasAnnotatorSelector(); /** + * + * *
    * Output only. The annotator selector used for the analysis (if any).
    * 
* - * .google.cloud.contactcenterinsights.v1.AnnotatorSelector annotator_selector = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.contactcenterinsights.v1.AnnotatorSelector annotator_selector = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The annotatorSelector. */ com.google.cloud.contactcenterinsights.v1.AnnotatorSelector getAnnotatorSelector(); /** + * + * *
    * Output only. The annotator selector used for the analysis (if any).
    * 
* - * .google.cloud.contactcenterinsights.v1.AnnotatorSelector annotator_selector = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.contactcenterinsights.v1.AnnotatorSelector annotator_selector = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - com.google.cloud.contactcenterinsights.v1.AnnotatorSelectorOrBuilder getAnnotatorSelectorOrBuilder(); + com.google.cloud.contactcenterinsights.v1.AnnotatorSelectorOrBuilder + getAnnotatorSelectorOrBuilder(); } diff --git a/owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/CreateAnalysisRequest.java b/java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/CreateAnalysisRequest.java similarity index 58% rename from owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/CreateAnalysisRequest.java rename to java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/CreateAnalysisRequest.java index c85cdc5bd54d..0e653efddaf7 100644 --- a/owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/CreateAnalysisRequest.java +++ b/java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/CreateAnalysisRequest.java @@ -1,62 +1,87 @@ +/* + * 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. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/contactcenterinsights/v1/contact_center_insights.proto package com.google.cloud.contactcenterinsights.v1; /** + * + * *
  * The request to create an analysis.
  * 
* * Protobuf type {@code google.cloud.contactcenterinsights.v1.CreateAnalysisRequest} */ -public final class CreateAnalysisRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class CreateAnalysisRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.contactcenterinsights.v1.CreateAnalysisRequest) CreateAnalysisRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use CreateAnalysisRequest.newBuilder() to construct. private CreateAnalysisRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private CreateAnalysisRequest() { parent_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new CreateAnalysisRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto.internal_static_google_cloud_contactcenterinsights_v1_CreateAnalysisRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto + .internal_static_google_cloud_contactcenterinsights_v1_CreateAnalysisRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto.internal_static_google_cloud_contactcenterinsights_v1_CreateAnalysisRequest_fieldAccessorTable + return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto + .internal_static_google_cloud_contactcenterinsights_v1_CreateAnalysisRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.contactcenterinsights.v1.CreateAnalysisRequest.class, com.google.cloud.contactcenterinsights.v1.CreateAnalysisRequest.Builder.class); + com.google.cloud.contactcenterinsights.v1.CreateAnalysisRequest.class, + com.google.cloud.contactcenterinsights.v1.CreateAnalysisRequest.Builder.class); } public static final int PARENT_FIELD_NUMBER = 1; + @SuppressWarnings("serial") private volatile java.lang.Object parent_ = ""; /** + * + * *
    * Required. The parent resource of the analysis.
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The parent. */ @java.lang.Override @@ -65,29 +90,31 @@ public java.lang.String getParent() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; } } /** + * + * *
    * Required. The parent resource of the analysis.
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for parent. */ @java.lang.Override - public com.google.protobuf.ByteString - getParentBytes() { + public com.google.protobuf.ByteString getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); parent_ = b; return b; } else { @@ -98,11 +125,16 @@ public java.lang.String getParent() { public static final int ANALYSIS_FIELD_NUMBER = 2; private com.google.cloud.contactcenterinsights.v1.Analysis analysis_; /** + * + * *
    * Required. The analysis to create.
    * 
* - * .google.cloud.contactcenterinsights.v1.Analysis analysis = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.contactcenterinsights.v1.Analysis analysis = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the analysis field is set. */ @java.lang.Override @@ -110,30 +142,44 @@ public boolean hasAnalysis() { return analysis_ != null; } /** + * + * *
    * Required. The analysis to create.
    * 
* - * .google.cloud.contactcenterinsights.v1.Analysis analysis = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.contactcenterinsights.v1.Analysis analysis = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The analysis. */ @java.lang.Override public com.google.cloud.contactcenterinsights.v1.Analysis getAnalysis() { - return analysis_ == null ? com.google.cloud.contactcenterinsights.v1.Analysis.getDefaultInstance() : analysis_; + return analysis_ == null + ? com.google.cloud.contactcenterinsights.v1.Analysis.getDefaultInstance() + : analysis_; } /** + * + * *
    * Required. The analysis to create.
    * 
* - * .google.cloud.contactcenterinsights.v1.Analysis analysis = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.contactcenterinsights.v1.Analysis analysis = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ @java.lang.Override public com.google.cloud.contactcenterinsights.v1.AnalysisOrBuilder getAnalysisOrBuilder() { - return analysis_ == null ? com.google.cloud.contactcenterinsights.v1.Analysis.getDefaultInstance() : analysis_; + return analysis_ == null + ? com.google.cloud.contactcenterinsights.v1.Analysis.getDefaultInstance() + : analysis_; } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -145,8 +191,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); } @@ -166,8 +211,7 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, parent_); } if (analysis_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, getAnalysis()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getAnalysis()); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -177,19 +221,18 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.contactcenterinsights.v1.CreateAnalysisRequest)) { return super.equals(obj); } - com.google.cloud.contactcenterinsights.v1.CreateAnalysisRequest other = (com.google.cloud.contactcenterinsights.v1.CreateAnalysisRequest) obj; + com.google.cloud.contactcenterinsights.v1.CreateAnalysisRequest other = + (com.google.cloud.contactcenterinsights.v1.CreateAnalysisRequest) obj; - if (!getParent() - .equals(other.getParent())) return false; + if (!getParent().equals(other.getParent())) return false; if (hasAnalysis() != other.hasAnalysis()) return false; if (hasAnalysis()) { - if (!getAnalysis() - .equals(other.getAnalysis())) return false; + if (!getAnalysis().equals(other.getAnalysis())) return false; } if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -214,129 +257,136 @@ public int hashCode() { } public static com.google.cloud.contactcenterinsights.v1.CreateAnalysisRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.contactcenterinsights.v1.CreateAnalysisRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.contactcenterinsights.v1.CreateAnalysisRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.contactcenterinsights.v1.CreateAnalysisRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.contactcenterinsights.v1.CreateAnalysisRequest parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.contactcenterinsights.v1.CreateAnalysisRequest parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.contactcenterinsights.v1.CreateAnalysisRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.contactcenterinsights.v1.CreateAnalysisRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.contactcenterinsights.v1.CreateAnalysisRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.contactcenterinsights.v1.CreateAnalysisRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.contactcenterinsights.v1.CreateAnalysisRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.contactcenterinsights.v1.CreateAnalysisRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.contactcenterinsights.v1.CreateAnalysisRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.contactcenterinsights.v1.CreateAnalysisRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.contactcenterinsights.v1.CreateAnalysisRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.contactcenterinsights.v1.CreateAnalysisRequest prototype) { + + public static Builder newBuilder( + com.google.cloud.contactcenterinsights.v1.CreateAnalysisRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * The request to create an analysis.
    * 
* * Protobuf type {@code google.cloud.contactcenterinsights.v1.CreateAnalysisRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.contactcenterinsights.v1.CreateAnalysisRequest) com.google.cloud.contactcenterinsights.v1.CreateAnalysisRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto.internal_static_google_cloud_contactcenterinsights_v1_CreateAnalysisRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto + .internal_static_google_cloud_contactcenterinsights_v1_CreateAnalysisRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto.internal_static_google_cloud_contactcenterinsights_v1_CreateAnalysisRequest_fieldAccessorTable + return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto + .internal_static_google_cloud_contactcenterinsights_v1_CreateAnalysisRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.contactcenterinsights.v1.CreateAnalysisRequest.class, com.google.cloud.contactcenterinsights.v1.CreateAnalysisRequest.Builder.class); + com.google.cloud.contactcenterinsights.v1.CreateAnalysisRequest.class, + com.google.cloud.contactcenterinsights.v1.CreateAnalysisRequest.Builder.class); } // Construct using com.google.cloud.contactcenterinsights.v1.CreateAnalysisRequest.newBuilder() - private Builder() { + private Builder() {} - } - - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -351,13 +401,14 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto.internal_static_google_cloud_contactcenterinsights_v1_CreateAnalysisRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto + .internal_static_google_cloud_contactcenterinsights_v1_CreateAnalysisRequest_descriptor; } @java.lang.Override - public com.google.cloud.contactcenterinsights.v1.CreateAnalysisRequest getDefaultInstanceForType() { + public com.google.cloud.contactcenterinsights.v1.CreateAnalysisRequest + getDefaultInstanceForType() { return com.google.cloud.contactcenterinsights.v1.CreateAnalysisRequest.getDefaultInstance(); } @@ -372,21 +423,23 @@ public com.google.cloud.contactcenterinsights.v1.CreateAnalysisRequest build() { @java.lang.Override public com.google.cloud.contactcenterinsights.v1.CreateAnalysisRequest buildPartial() { - com.google.cloud.contactcenterinsights.v1.CreateAnalysisRequest result = new com.google.cloud.contactcenterinsights.v1.CreateAnalysisRequest(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.cloud.contactcenterinsights.v1.CreateAnalysisRequest result = + new com.google.cloud.contactcenterinsights.v1.CreateAnalysisRequest(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } - private void buildPartial0(com.google.cloud.contactcenterinsights.v1.CreateAnalysisRequest result) { + private void buildPartial0( + com.google.cloud.contactcenterinsights.v1.CreateAnalysisRequest result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { result.parent_ = parent_; } if (((from_bitField0_ & 0x00000002) != 0)) { - result.analysis_ = analysisBuilder_ == null - ? analysis_ - : analysisBuilder_.build(); + result.analysis_ = analysisBuilder_ == null ? analysis_ : analysisBuilder_.build(); } } @@ -394,46 +447,50 @@ private void buildPartial0(com.google.cloud.contactcenterinsights.v1.CreateAnaly public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.contactcenterinsights.v1.CreateAnalysisRequest) { - return mergeFrom((com.google.cloud.contactcenterinsights.v1.CreateAnalysisRequest)other); + return mergeFrom((com.google.cloud.contactcenterinsights.v1.CreateAnalysisRequest) other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.google.cloud.contactcenterinsights.v1.CreateAnalysisRequest other) { - if (other == com.google.cloud.contactcenterinsights.v1.CreateAnalysisRequest.getDefaultInstance()) return this; + public Builder mergeFrom( + com.google.cloud.contactcenterinsights.v1.CreateAnalysisRequest other) { + if (other + == com.google.cloud.contactcenterinsights.v1.CreateAnalysisRequest.getDefaultInstance()) + return this; if (!other.getParent().isEmpty()) { parent_ = other.parent_; bitField0_ |= 0x00000001; @@ -468,24 +525,25 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - parent_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: { - input.readMessage( - getAnalysisFieldBuilder().getBuilder(), - extensionRegistry); - bitField0_ |= 0x00000002; - break; - } // case 18 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + parent_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: + { + input.readMessage(getAnalysisFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000002; + break; + } // case 18 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -495,22 +553,27 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private java.lang.Object parent_ = ""; /** + * + * *
      * Required. The parent resource of the analysis.
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The parent. */ public java.lang.String getParent() { java.lang.Object ref = parent_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; @@ -519,20 +582,23 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. The parent resource of the analysis.
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for parent. */ - public com.google.protobuf.ByteString - getParentBytes() { + public com.google.protobuf.ByteString getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); parent_ = b; return b; } else { @@ -540,28 +606,39 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. The parent resource of the analysis.
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The parent to set. * @return This builder for chaining. */ - public Builder setParent( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setParent(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } parent_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
      * Required. The parent resource of the analysis.
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return This builder for chaining. */ public Builder clearParent() { @@ -571,17 +648,23 @@ public Builder clearParent() { return this; } /** + * + * *
      * Required. The parent resource of the analysis.
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setParentBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); parent_ = value; bitField0_ |= 0x00000001; @@ -591,39 +674,58 @@ public Builder setParentBytes( private com.google.cloud.contactcenterinsights.v1.Analysis analysis_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.contactcenterinsights.v1.Analysis, com.google.cloud.contactcenterinsights.v1.Analysis.Builder, com.google.cloud.contactcenterinsights.v1.AnalysisOrBuilder> analysisBuilder_; + com.google.cloud.contactcenterinsights.v1.Analysis, + com.google.cloud.contactcenterinsights.v1.Analysis.Builder, + com.google.cloud.contactcenterinsights.v1.AnalysisOrBuilder> + analysisBuilder_; /** + * + * *
      * Required. The analysis to create.
      * 
* - * .google.cloud.contactcenterinsights.v1.Analysis analysis = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.contactcenterinsights.v1.Analysis analysis = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the analysis field is set. */ public boolean hasAnalysis() { return ((bitField0_ & 0x00000002) != 0); } /** + * + * *
      * Required. The analysis to create.
      * 
* - * .google.cloud.contactcenterinsights.v1.Analysis analysis = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.contactcenterinsights.v1.Analysis analysis = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The analysis. */ public com.google.cloud.contactcenterinsights.v1.Analysis getAnalysis() { if (analysisBuilder_ == null) { - return analysis_ == null ? com.google.cloud.contactcenterinsights.v1.Analysis.getDefaultInstance() : analysis_; + return analysis_ == null + ? com.google.cloud.contactcenterinsights.v1.Analysis.getDefaultInstance() + : analysis_; } else { return analysisBuilder_.getMessage(); } } /** + * + * *
      * Required. The analysis to create.
      * 
* - * .google.cloud.contactcenterinsights.v1.Analysis analysis = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.contactcenterinsights.v1.Analysis analysis = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder setAnalysis(com.google.cloud.contactcenterinsights.v1.Analysis value) { if (analysisBuilder_ == null) { @@ -639,11 +741,15 @@ public Builder setAnalysis(com.google.cloud.contactcenterinsights.v1.Analysis va return this; } /** + * + * *
      * Required. The analysis to create.
      * 
* - * .google.cloud.contactcenterinsights.v1.Analysis analysis = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.contactcenterinsights.v1.Analysis analysis = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder setAnalysis( com.google.cloud.contactcenterinsights.v1.Analysis.Builder builderForValue) { @@ -657,17 +763,22 @@ public Builder setAnalysis( return this; } /** + * + * *
      * Required. The analysis to create.
      * 
* - * .google.cloud.contactcenterinsights.v1.Analysis analysis = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.contactcenterinsights.v1.Analysis analysis = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder mergeAnalysis(com.google.cloud.contactcenterinsights.v1.Analysis value) { if (analysisBuilder_ == null) { - if (((bitField0_ & 0x00000002) != 0) && - analysis_ != null && - analysis_ != com.google.cloud.contactcenterinsights.v1.Analysis.getDefaultInstance()) { + if (((bitField0_ & 0x00000002) != 0) + && analysis_ != null + && analysis_ + != com.google.cloud.contactcenterinsights.v1.Analysis.getDefaultInstance()) { getAnalysisBuilder().mergeFrom(value); } else { analysis_ = value; @@ -680,11 +791,15 @@ public Builder mergeAnalysis(com.google.cloud.contactcenterinsights.v1.Analysis return this; } /** + * + * *
      * Required. The analysis to create.
      * 
* - * .google.cloud.contactcenterinsights.v1.Analysis analysis = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.contactcenterinsights.v1.Analysis analysis = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder clearAnalysis() { bitField0_ = (bitField0_ & ~0x00000002); @@ -697,11 +812,15 @@ public Builder clearAnalysis() { return this; } /** + * + * *
      * Required. The analysis to create.
      * 
* - * .google.cloud.contactcenterinsights.v1.Analysis analysis = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.contactcenterinsights.v1.Analysis analysis = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.cloud.contactcenterinsights.v1.Analysis.Builder getAnalysisBuilder() { bitField0_ |= 0x00000002; @@ -709,43 +828,55 @@ public com.google.cloud.contactcenterinsights.v1.Analysis.Builder getAnalysisBui return getAnalysisFieldBuilder().getBuilder(); } /** + * + * *
      * Required. The analysis to create.
      * 
* - * .google.cloud.contactcenterinsights.v1.Analysis analysis = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.contactcenterinsights.v1.Analysis analysis = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.cloud.contactcenterinsights.v1.AnalysisOrBuilder getAnalysisOrBuilder() { if (analysisBuilder_ != null) { return analysisBuilder_.getMessageOrBuilder(); } else { - return analysis_ == null ? - com.google.cloud.contactcenterinsights.v1.Analysis.getDefaultInstance() : analysis_; + return analysis_ == null + ? com.google.cloud.contactcenterinsights.v1.Analysis.getDefaultInstance() + : analysis_; } } /** + * + * *
      * Required. The analysis to create.
      * 
* - * .google.cloud.contactcenterinsights.v1.Analysis analysis = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.contactcenterinsights.v1.Analysis analysis = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.contactcenterinsights.v1.Analysis, com.google.cloud.contactcenterinsights.v1.Analysis.Builder, com.google.cloud.contactcenterinsights.v1.AnalysisOrBuilder> + com.google.cloud.contactcenterinsights.v1.Analysis, + com.google.cloud.contactcenterinsights.v1.Analysis.Builder, + com.google.cloud.contactcenterinsights.v1.AnalysisOrBuilder> getAnalysisFieldBuilder() { if (analysisBuilder_ == null) { - analysisBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.contactcenterinsights.v1.Analysis, com.google.cloud.contactcenterinsights.v1.Analysis.Builder, com.google.cloud.contactcenterinsights.v1.AnalysisOrBuilder>( - getAnalysis(), - getParentForChildren(), - isClean()); + analysisBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.contactcenterinsights.v1.Analysis, + com.google.cloud.contactcenterinsights.v1.Analysis.Builder, + com.google.cloud.contactcenterinsights.v1.AnalysisOrBuilder>( + getAnalysis(), getParentForChildren(), isClean()); analysis_ = null; } return analysisBuilder_; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -755,41 +886,43 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.contactcenterinsights.v1.CreateAnalysisRequest) } // @@protoc_insertion_point(class_scope:google.cloud.contactcenterinsights.v1.CreateAnalysisRequest) - private static final com.google.cloud.contactcenterinsights.v1.CreateAnalysisRequest DEFAULT_INSTANCE; + private static final com.google.cloud.contactcenterinsights.v1.CreateAnalysisRequest + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.contactcenterinsights.v1.CreateAnalysisRequest(); } - public static com.google.cloud.contactcenterinsights.v1.CreateAnalysisRequest getDefaultInstance() { + public static com.google.cloud.contactcenterinsights.v1.CreateAnalysisRequest + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public CreateAnalysisRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public CreateAnalysisRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -801,9 +934,8 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.cloud.contactcenterinsights.v1.CreateAnalysisRequest getDefaultInstanceForType() { + public com.google.cloud.contactcenterinsights.v1.CreateAnalysisRequest + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/CreateAnalysisRequestOrBuilder.java b/java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/CreateAnalysisRequestOrBuilder.java new file mode 100644 index 000000000000..166e25b1c17e --- /dev/null +++ b/java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/CreateAnalysisRequestOrBuilder.java @@ -0,0 +1,95 @@ +/* + * 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. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/contactcenterinsights/v1/contact_center_insights.proto + +package com.google.cloud.contactcenterinsights.v1; + +public interface CreateAnalysisRequestOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.cloud.contactcenterinsights.v1.CreateAnalysisRequest) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * Required. The parent resource of the analysis.
+   * 
+ * + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The parent. + */ + java.lang.String getParent(); + /** + * + * + *
+   * Required. The parent resource of the analysis.
+   * 
+ * + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The bytes for parent. + */ + com.google.protobuf.ByteString getParentBytes(); + + /** + * + * + *
+   * Required. The analysis to create.
+   * 
+ * + * + * .google.cloud.contactcenterinsights.v1.Analysis analysis = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * + * @return Whether the analysis field is set. + */ + boolean hasAnalysis(); + /** + * + * + *
+   * Required. The analysis to create.
+   * 
+ * + * + * .google.cloud.contactcenterinsights.v1.Analysis analysis = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * + * @return The analysis. + */ + com.google.cloud.contactcenterinsights.v1.Analysis getAnalysis(); + /** + * + * + *
+   * Required. The analysis to create.
+   * 
+ * + * + * .google.cloud.contactcenterinsights.v1.Analysis analysis = 2 [(.google.api.field_behavior) = REQUIRED]; + * + */ + com.google.cloud.contactcenterinsights.v1.AnalysisOrBuilder getAnalysisOrBuilder(); +} diff --git a/owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/CreateConversationRequest.java b/java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/CreateConversationRequest.java similarity index 62% rename from owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/CreateConversationRequest.java rename to java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/CreateConversationRequest.java index 2fe14c4c0bdf..11f68188a634 100644 --- a/owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/CreateConversationRequest.java +++ b/java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/CreateConversationRequest.java @@ -1,24 +1,42 @@ +/* + * 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. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/contactcenterinsights/v1/contact_center_insights.proto package com.google.cloud.contactcenterinsights.v1; /** + * + * *
  * Request to create a conversation.
  * 
* * Protobuf type {@code google.cloud.contactcenterinsights.v1.CreateConversationRequest} */ -public final class CreateConversationRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class CreateConversationRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.contactcenterinsights.v1.CreateConversationRequest) CreateConversationRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use CreateConversationRequest.newBuilder() to construct. private CreateConversationRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private CreateConversationRequest() { parent_ = ""; conversationId_ = ""; @@ -26,38 +44,45 @@ private CreateConversationRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new CreateConversationRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto.internal_static_google_cloud_contactcenterinsights_v1_CreateConversationRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto + .internal_static_google_cloud_contactcenterinsights_v1_CreateConversationRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto.internal_static_google_cloud_contactcenterinsights_v1_CreateConversationRequest_fieldAccessorTable + return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto + .internal_static_google_cloud_contactcenterinsights_v1_CreateConversationRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.contactcenterinsights.v1.CreateConversationRequest.class, com.google.cloud.contactcenterinsights.v1.CreateConversationRequest.Builder.class); + com.google.cloud.contactcenterinsights.v1.CreateConversationRequest.class, + com.google.cloud.contactcenterinsights.v1.CreateConversationRequest.Builder.class); } public static final int PARENT_FIELD_NUMBER = 1; + @SuppressWarnings("serial") private volatile java.lang.Object parent_ = ""; /** + * + * *
    * Required. The parent resource of the conversation.
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The parent. */ @java.lang.Override @@ -66,29 +91,31 @@ public java.lang.String getParent() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; } } /** + * + * *
    * Required. The parent resource of the conversation.
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for parent. */ @java.lang.Override - public com.google.protobuf.ByteString - getParentBytes() { + public com.google.protobuf.ByteString getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); parent_ = b; return b; } else { @@ -99,11 +126,16 @@ public java.lang.String getParent() { public static final int CONVERSATION_FIELD_NUMBER = 2; private com.google.cloud.contactcenterinsights.v1.Conversation conversation_; /** + * + * *
    * Required. The conversation resource to create.
    * 
* - * .google.cloud.contactcenterinsights.v1.Conversation conversation = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.contactcenterinsights.v1.Conversation conversation = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the conversation field is set. */ @java.lang.Override @@ -111,33 +143,50 @@ public boolean hasConversation() { return conversation_ != null; } /** + * + * *
    * Required. The conversation resource to create.
    * 
* - * .google.cloud.contactcenterinsights.v1.Conversation conversation = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.contactcenterinsights.v1.Conversation conversation = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The conversation. */ @java.lang.Override public com.google.cloud.contactcenterinsights.v1.Conversation getConversation() { - return conversation_ == null ? com.google.cloud.contactcenterinsights.v1.Conversation.getDefaultInstance() : conversation_; + return conversation_ == null + ? com.google.cloud.contactcenterinsights.v1.Conversation.getDefaultInstance() + : conversation_; } /** + * + * *
    * Required. The conversation resource to create.
    * 
* - * .google.cloud.contactcenterinsights.v1.Conversation conversation = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.contactcenterinsights.v1.Conversation conversation = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ @java.lang.Override - public com.google.cloud.contactcenterinsights.v1.ConversationOrBuilder getConversationOrBuilder() { - return conversation_ == null ? com.google.cloud.contactcenterinsights.v1.Conversation.getDefaultInstance() : conversation_; + public com.google.cloud.contactcenterinsights.v1.ConversationOrBuilder + getConversationOrBuilder() { + return conversation_ == null + ? com.google.cloud.contactcenterinsights.v1.Conversation.getDefaultInstance() + : conversation_; } public static final int CONVERSATION_ID_FIELD_NUMBER = 3; + @SuppressWarnings("serial") private volatile java.lang.Object conversationId_ = ""; /** + * + * *
    * A unique ID for the new conversation. This ID will become the final
    * component of the conversation's resource name. If no ID is specified, a
@@ -147,6 +196,7 @@ public com.google.cloud.contactcenterinsights.v1.ConversationOrBuilder getConver
    * 
* * string conversation_id = 3; + * * @return The conversationId. */ @java.lang.Override @@ -155,14 +205,15 @@ public java.lang.String getConversationId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); conversationId_ = s; return s; } } /** + * + * *
    * A unique ID for the new conversation. This ID will become the final
    * component of the conversation's resource name. If no ID is specified, a
@@ -172,16 +223,15 @@ public java.lang.String getConversationId() {
    * 
* * string conversation_id = 3; + * * @return The bytes for conversationId. */ @java.lang.Override - public com.google.protobuf.ByteString - getConversationIdBytes() { + public com.google.protobuf.ByteString getConversationIdBytes() { java.lang.Object ref = conversationId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); conversationId_ = b; return b; } else { @@ -190,6 +240,7 @@ public java.lang.String getConversationId() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -201,8 +252,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); } @@ -225,8 +275,7 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, parent_); } if (conversation_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, getConversation()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getConversation()); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(conversationId_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, conversationId_); @@ -239,22 +288,20 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.contactcenterinsights.v1.CreateConversationRequest)) { return super.equals(obj); } - com.google.cloud.contactcenterinsights.v1.CreateConversationRequest other = (com.google.cloud.contactcenterinsights.v1.CreateConversationRequest) obj; + com.google.cloud.contactcenterinsights.v1.CreateConversationRequest other = + (com.google.cloud.contactcenterinsights.v1.CreateConversationRequest) obj; - if (!getParent() - .equals(other.getParent())) return false; + if (!getParent().equals(other.getParent())) return false; if (hasConversation() != other.hasConversation()) return false; if (hasConversation()) { - if (!getConversation() - .equals(other.getConversation())) return false; + if (!getConversation().equals(other.getConversation())) return false; } - if (!getConversationId() - .equals(other.getConversationId())) return false; + if (!getConversationId().equals(other.getConversationId())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -280,129 +327,138 @@ public int hashCode() { } public static com.google.cloud.contactcenterinsights.v1.CreateConversationRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.contactcenterinsights.v1.CreateConversationRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.contactcenterinsights.v1.CreateConversationRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.contactcenterinsights.v1.CreateConversationRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.contactcenterinsights.v1.CreateConversationRequest parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.contactcenterinsights.v1.CreateConversationRequest parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.contactcenterinsights.v1.CreateConversationRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.contactcenterinsights.v1.CreateConversationRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.contactcenterinsights.v1.CreateConversationRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.contactcenterinsights.v1.CreateConversationRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.contactcenterinsights.v1.CreateConversationRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.contactcenterinsights.v1.CreateConversationRequest + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.contactcenterinsights.v1.CreateConversationRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + + public static com.google.cloud.contactcenterinsights.v1.CreateConversationRequest + parseDelimitedFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.contactcenterinsights.v1.CreateConversationRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.contactcenterinsights.v1.CreateConversationRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.contactcenterinsights.v1.CreateConversationRequest prototype) { + + public static Builder newBuilder( + com.google.cloud.contactcenterinsights.v1.CreateConversationRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Request to create a conversation.
    * 
* * Protobuf type {@code google.cloud.contactcenterinsights.v1.CreateConversationRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.contactcenterinsights.v1.CreateConversationRequest) com.google.cloud.contactcenterinsights.v1.CreateConversationRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto.internal_static_google_cloud_contactcenterinsights_v1_CreateConversationRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto + .internal_static_google_cloud_contactcenterinsights_v1_CreateConversationRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto.internal_static_google_cloud_contactcenterinsights_v1_CreateConversationRequest_fieldAccessorTable + return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto + .internal_static_google_cloud_contactcenterinsights_v1_CreateConversationRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.contactcenterinsights.v1.CreateConversationRequest.class, com.google.cloud.contactcenterinsights.v1.CreateConversationRequest.Builder.class); + com.google.cloud.contactcenterinsights.v1.CreateConversationRequest.class, + com.google.cloud.contactcenterinsights.v1.CreateConversationRequest.Builder.class); } - // Construct using com.google.cloud.contactcenterinsights.v1.CreateConversationRequest.newBuilder() - private Builder() { - - } + // Construct using + // com.google.cloud.contactcenterinsights.v1.CreateConversationRequest.newBuilder() + private Builder() {} - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -418,14 +474,16 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto.internal_static_google_cloud_contactcenterinsights_v1_CreateConversationRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto + .internal_static_google_cloud_contactcenterinsights_v1_CreateConversationRequest_descriptor; } @java.lang.Override - public com.google.cloud.contactcenterinsights.v1.CreateConversationRequest getDefaultInstanceForType() { - return com.google.cloud.contactcenterinsights.v1.CreateConversationRequest.getDefaultInstance(); + public com.google.cloud.contactcenterinsights.v1.CreateConversationRequest + getDefaultInstanceForType() { + return com.google.cloud.contactcenterinsights.v1.CreateConversationRequest + .getDefaultInstance(); } @java.lang.Override @@ -439,21 +497,24 @@ public com.google.cloud.contactcenterinsights.v1.CreateConversationRequest build @java.lang.Override public com.google.cloud.contactcenterinsights.v1.CreateConversationRequest buildPartial() { - com.google.cloud.contactcenterinsights.v1.CreateConversationRequest result = new com.google.cloud.contactcenterinsights.v1.CreateConversationRequest(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.cloud.contactcenterinsights.v1.CreateConversationRequest result = + new com.google.cloud.contactcenterinsights.v1.CreateConversationRequest(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } - private void buildPartial0(com.google.cloud.contactcenterinsights.v1.CreateConversationRequest result) { + private void buildPartial0( + com.google.cloud.contactcenterinsights.v1.CreateConversationRequest result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { result.parent_ = parent_; } if (((from_bitField0_ & 0x00000002) != 0)) { - result.conversation_ = conversationBuilder_ == null - ? conversation_ - : conversationBuilder_.build(); + result.conversation_ = + conversationBuilder_ == null ? conversation_ : conversationBuilder_.build(); } if (((from_bitField0_ & 0x00000004) != 0)) { result.conversationId_ = conversationId_; @@ -464,46 +525,51 @@ private void buildPartial0(com.google.cloud.contactcenterinsights.v1.CreateConve public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.contactcenterinsights.v1.CreateConversationRequest) { - return mergeFrom((com.google.cloud.contactcenterinsights.v1.CreateConversationRequest)other); + return mergeFrom( + (com.google.cloud.contactcenterinsights.v1.CreateConversationRequest) other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.google.cloud.contactcenterinsights.v1.CreateConversationRequest other) { - if (other == com.google.cloud.contactcenterinsights.v1.CreateConversationRequest.getDefaultInstance()) return this; + public Builder mergeFrom( + com.google.cloud.contactcenterinsights.v1.CreateConversationRequest other) { + if (other + == com.google.cloud.contactcenterinsights.v1.CreateConversationRequest + .getDefaultInstance()) return this; if (!other.getParent().isEmpty()) { parent_ = other.parent_; bitField0_ |= 0x00000001; @@ -543,29 +609,31 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - parent_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: { - input.readMessage( - getConversationFieldBuilder().getBuilder(), - extensionRegistry); - bitField0_ |= 0x00000002; - break; - } // case 18 - case 26: { - conversationId_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000004; - break; - } // case 26 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + parent_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: + { + input.readMessage(getConversationFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000002; + break; + } // case 18 + case 26: + { + conversationId_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000004; + break; + } // case 26 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -575,22 +643,27 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private java.lang.Object parent_ = ""; /** + * + * *
      * Required. The parent resource of the conversation.
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The parent. */ public java.lang.String getParent() { java.lang.Object ref = parent_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; @@ -599,20 +672,23 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. The parent resource of the conversation.
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for parent. */ - public com.google.protobuf.ByteString - getParentBytes() { + public com.google.protobuf.ByteString getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); parent_ = b; return b; } else { @@ -620,28 +696,39 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. The parent resource of the conversation.
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The parent to set. * @return This builder for chaining. */ - public Builder setParent( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setParent(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } parent_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
      * Required. The parent resource of the conversation.
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return This builder for chaining. */ public Builder clearParent() { @@ -651,17 +738,23 @@ public Builder clearParent() { return this; } /** + * + * *
      * Required. The parent resource of the conversation.
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setParentBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); parent_ = value; bitField0_ |= 0x00000001; @@ -671,39 +764,58 @@ public Builder setParentBytes( private com.google.cloud.contactcenterinsights.v1.Conversation conversation_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.contactcenterinsights.v1.Conversation, com.google.cloud.contactcenterinsights.v1.Conversation.Builder, com.google.cloud.contactcenterinsights.v1.ConversationOrBuilder> conversationBuilder_; + com.google.cloud.contactcenterinsights.v1.Conversation, + com.google.cloud.contactcenterinsights.v1.Conversation.Builder, + com.google.cloud.contactcenterinsights.v1.ConversationOrBuilder> + conversationBuilder_; /** + * + * *
      * Required. The conversation resource to create.
      * 
* - * .google.cloud.contactcenterinsights.v1.Conversation conversation = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.contactcenterinsights.v1.Conversation conversation = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the conversation field is set. */ public boolean hasConversation() { return ((bitField0_ & 0x00000002) != 0); } /** + * + * *
      * Required. The conversation resource to create.
      * 
* - * .google.cloud.contactcenterinsights.v1.Conversation conversation = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.contactcenterinsights.v1.Conversation conversation = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The conversation. */ public com.google.cloud.contactcenterinsights.v1.Conversation getConversation() { if (conversationBuilder_ == null) { - return conversation_ == null ? com.google.cloud.contactcenterinsights.v1.Conversation.getDefaultInstance() : conversation_; + return conversation_ == null + ? com.google.cloud.contactcenterinsights.v1.Conversation.getDefaultInstance() + : conversation_; } else { return conversationBuilder_.getMessage(); } } /** + * + * *
      * Required. The conversation resource to create.
      * 
* - * .google.cloud.contactcenterinsights.v1.Conversation conversation = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.contactcenterinsights.v1.Conversation conversation = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder setConversation(com.google.cloud.contactcenterinsights.v1.Conversation value) { if (conversationBuilder_ == null) { @@ -719,11 +831,15 @@ public Builder setConversation(com.google.cloud.contactcenterinsights.v1.Convers return this; } /** + * + * *
      * Required. The conversation resource to create.
      * 
* - * .google.cloud.contactcenterinsights.v1.Conversation conversation = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.contactcenterinsights.v1.Conversation conversation = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder setConversation( com.google.cloud.contactcenterinsights.v1.Conversation.Builder builderForValue) { @@ -737,17 +853,22 @@ public Builder setConversation( return this; } /** + * + * *
      * Required. The conversation resource to create.
      * 
* - * .google.cloud.contactcenterinsights.v1.Conversation conversation = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.contactcenterinsights.v1.Conversation conversation = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder mergeConversation(com.google.cloud.contactcenterinsights.v1.Conversation value) { if (conversationBuilder_ == null) { - if (((bitField0_ & 0x00000002) != 0) && - conversation_ != null && - conversation_ != com.google.cloud.contactcenterinsights.v1.Conversation.getDefaultInstance()) { + if (((bitField0_ & 0x00000002) != 0) + && conversation_ != null + && conversation_ + != com.google.cloud.contactcenterinsights.v1.Conversation.getDefaultInstance()) { getConversationBuilder().mergeFrom(value); } else { conversation_ = value; @@ -760,11 +881,15 @@ public Builder mergeConversation(com.google.cloud.contactcenterinsights.v1.Conve return this; } /** + * + * *
      * Required. The conversation resource to create.
      * 
* - * .google.cloud.contactcenterinsights.v1.Conversation conversation = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.contactcenterinsights.v1.Conversation conversation = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder clearConversation() { bitField0_ = (bitField0_ & ~0x00000002); @@ -777,11 +902,15 @@ public Builder clearConversation() { return this; } /** + * + * *
      * Required. The conversation resource to create.
      * 
* - * .google.cloud.contactcenterinsights.v1.Conversation conversation = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.contactcenterinsights.v1.Conversation conversation = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.cloud.contactcenterinsights.v1.Conversation.Builder getConversationBuilder() { bitField0_ |= 0x00000002; @@ -789,36 +918,49 @@ public com.google.cloud.contactcenterinsights.v1.Conversation.Builder getConvers return getConversationFieldBuilder().getBuilder(); } /** + * + * *
      * Required. The conversation resource to create.
      * 
* - * .google.cloud.contactcenterinsights.v1.Conversation conversation = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.contactcenterinsights.v1.Conversation conversation = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ - public com.google.cloud.contactcenterinsights.v1.ConversationOrBuilder getConversationOrBuilder() { + public com.google.cloud.contactcenterinsights.v1.ConversationOrBuilder + getConversationOrBuilder() { if (conversationBuilder_ != null) { return conversationBuilder_.getMessageOrBuilder(); } else { - return conversation_ == null ? - com.google.cloud.contactcenterinsights.v1.Conversation.getDefaultInstance() : conversation_; + return conversation_ == null + ? com.google.cloud.contactcenterinsights.v1.Conversation.getDefaultInstance() + : conversation_; } } /** + * + * *
      * Required. The conversation resource to create.
      * 
* - * .google.cloud.contactcenterinsights.v1.Conversation conversation = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.contactcenterinsights.v1.Conversation conversation = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.contactcenterinsights.v1.Conversation, com.google.cloud.contactcenterinsights.v1.Conversation.Builder, com.google.cloud.contactcenterinsights.v1.ConversationOrBuilder> + com.google.cloud.contactcenterinsights.v1.Conversation, + com.google.cloud.contactcenterinsights.v1.Conversation.Builder, + com.google.cloud.contactcenterinsights.v1.ConversationOrBuilder> getConversationFieldBuilder() { if (conversationBuilder_ == null) { - conversationBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.contactcenterinsights.v1.Conversation, com.google.cloud.contactcenterinsights.v1.Conversation.Builder, com.google.cloud.contactcenterinsights.v1.ConversationOrBuilder>( - getConversation(), - getParentForChildren(), - isClean()); + conversationBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.contactcenterinsights.v1.Conversation, + com.google.cloud.contactcenterinsights.v1.Conversation.Builder, + com.google.cloud.contactcenterinsights.v1.ConversationOrBuilder>( + getConversation(), getParentForChildren(), isClean()); conversation_ = null; } return conversationBuilder_; @@ -826,6 +968,8 @@ public com.google.cloud.contactcenterinsights.v1.ConversationOrBuilder getConver private java.lang.Object conversationId_ = ""; /** + * + * *
      * A unique ID for the new conversation. This ID will become the final
      * component of the conversation's resource name. If no ID is specified, a
@@ -835,13 +979,13 @@ public com.google.cloud.contactcenterinsights.v1.ConversationOrBuilder getConver
      * 
* * string conversation_id = 3; + * * @return The conversationId. */ public java.lang.String getConversationId() { java.lang.Object ref = conversationId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); conversationId_ = s; return s; @@ -850,6 +994,8 @@ public java.lang.String getConversationId() { } } /** + * + * *
      * A unique ID for the new conversation. This ID will become the final
      * component of the conversation's resource name. If no ID is specified, a
@@ -859,15 +1005,14 @@ public java.lang.String getConversationId() {
      * 
* * string conversation_id = 3; + * * @return The bytes for conversationId. */ - public com.google.protobuf.ByteString - getConversationIdBytes() { + public com.google.protobuf.ByteString getConversationIdBytes() { java.lang.Object ref = conversationId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); conversationId_ = b; return b; } else { @@ -875,6 +1020,8 @@ public java.lang.String getConversationId() { } } /** + * + * *
      * A unique ID for the new conversation. This ID will become the final
      * component of the conversation's resource name. If no ID is specified, a
@@ -884,18 +1031,22 @@ public java.lang.String getConversationId() {
      * 
* * string conversation_id = 3; + * * @param value The conversationId to set. * @return This builder for chaining. */ - public Builder setConversationId( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setConversationId(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } conversationId_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } /** + * + * *
      * A unique ID for the new conversation. This ID will become the final
      * component of the conversation's resource name. If no ID is specified, a
@@ -905,6 +1056,7 @@ public Builder setConversationId(
      * 
* * string conversation_id = 3; + * * @return This builder for chaining. */ public Builder clearConversationId() { @@ -914,6 +1066,8 @@ public Builder clearConversationId() { return this; } /** + * + * *
      * A unique ID for the new conversation. This ID will become the final
      * component of the conversation's resource name. If no ID is specified, a
@@ -923,21 +1077,23 @@ public Builder clearConversationId() {
      * 
* * string conversation_id = 3; + * * @param value The bytes for conversationId to set. * @return This builder for chaining. */ - public Builder setConversationIdBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setConversationIdBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); conversationId_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -947,41 +1103,43 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.contactcenterinsights.v1.CreateConversationRequest) } // @@protoc_insertion_point(class_scope:google.cloud.contactcenterinsights.v1.CreateConversationRequest) - private static final com.google.cloud.contactcenterinsights.v1.CreateConversationRequest DEFAULT_INSTANCE; + private static final com.google.cloud.contactcenterinsights.v1.CreateConversationRequest + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.contactcenterinsights.v1.CreateConversationRequest(); } - public static com.google.cloud.contactcenterinsights.v1.CreateConversationRequest getDefaultInstance() { + public static com.google.cloud.contactcenterinsights.v1.CreateConversationRequest + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public CreateConversationRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public CreateConversationRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -993,9 +1151,8 @@ public com.google.protobuf.Parser getParserForType() } @java.lang.Override - public com.google.cloud.contactcenterinsights.v1.CreateConversationRequest getDefaultInstanceForType() { + public com.google.cloud.contactcenterinsights.v1.CreateConversationRequest + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/CreateConversationRequestOrBuilder.java b/java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/CreateConversationRequestOrBuilder.java similarity index 57% rename from owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/CreateConversationRequestOrBuilder.java rename to java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/CreateConversationRequestOrBuilder.java index 62a507c39d45..665ce99cfb7d 100644 --- a/owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/CreateConversationRequestOrBuilder.java +++ b/java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/CreateConversationRequestOrBuilder.java @@ -1,60 +1,101 @@ +/* + * 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. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/contactcenterinsights/v1/contact_center_insights.proto package com.google.cloud.contactcenterinsights.v1; -public interface CreateConversationRequestOrBuilder extends +public interface CreateConversationRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.contactcenterinsights.v1.CreateConversationRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Required. The parent resource of the conversation.
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The parent. */ java.lang.String getParent(); /** + * + * *
    * Required. The parent resource of the conversation.
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for parent. */ - com.google.protobuf.ByteString - getParentBytes(); + com.google.protobuf.ByteString getParentBytes(); /** + * + * *
    * Required. The conversation resource to create.
    * 
* - * .google.cloud.contactcenterinsights.v1.Conversation conversation = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.contactcenterinsights.v1.Conversation conversation = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the conversation field is set. */ boolean hasConversation(); /** + * + * *
    * Required. The conversation resource to create.
    * 
* - * .google.cloud.contactcenterinsights.v1.Conversation conversation = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.contactcenterinsights.v1.Conversation conversation = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The conversation. */ com.google.cloud.contactcenterinsights.v1.Conversation getConversation(); /** + * + * *
    * Required. The conversation resource to create.
    * 
* - * .google.cloud.contactcenterinsights.v1.Conversation conversation = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.contactcenterinsights.v1.Conversation conversation = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ com.google.cloud.contactcenterinsights.v1.ConversationOrBuilder getConversationOrBuilder(); /** + * + * *
    * A unique ID for the new conversation. This ID will become the final
    * component of the conversation's resource name. If no ID is specified, a
@@ -64,10 +105,13 @@ public interface CreateConversationRequestOrBuilder extends
    * 
* * string conversation_id = 3; + * * @return The conversationId. */ java.lang.String getConversationId(); /** + * + * *
    * A unique ID for the new conversation. This ID will become the final
    * component of the conversation's resource name. If no ID is specified, a
@@ -77,8 +121,8 @@ public interface CreateConversationRequestOrBuilder extends
    * 
* * string conversation_id = 3; + * * @return The bytes for conversationId. */ - com.google.protobuf.ByteString - getConversationIdBytes(); + com.google.protobuf.ByteString getConversationIdBytes(); } diff --git a/owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/CreateIssueModelMetadata.java b/java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/CreateIssueModelMetadata.java similarity index 63% rename from owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/CreateIssueModelMetadata.java rename to java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/CreateIssueModelMetadata.java index 99c62b13a82f..4d8171682fef 100644 --- a/owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/CreateIssueModelMetadata.java +++ b/java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/CreateIssueModelMetadata.java @@ -1,60 +1,82 @@ +/* + * 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. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/contactcenterinsights/v1/contact_center_insights.proto package com.google.cloud.contactcenterinsights.v1; /** + * + * *
  * Metadata for creating an issue model.
  * 
* * Protobuf type {@code google.cloud.contactcenterinsights.v1.CreateIssueModelMetadata} */ -public final class CreateIssueModelMetadata extends - com.google.protobuf.GeneratedMessageV3 implements +public final class CreateIssueModelMetadata extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.contactcenterinsights.v1.CreateIssueModelMetadata) CreateIssueModelMetadataOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use CreateIssueModelMetadata.newBuilder() to construct. private CreateIssueModelMetadata(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private CreateIssueModelMetadata() { - } + + private CreateIssueModelMetadata() {} @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new CreateIssueModelMetadata(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto.internal_static_google_cloud_contactcenterinsights_v1_CreateIssueModelMetadata_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto + .internal_static_google_cloud_contactcenterinsights_v1_CreateIssueModelMetadata_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto.internal_static_google_cloud_contactcenterinsights_v1_CreateIssueModelMetadata_fieldAccessorTable + return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto + .internal_static_google_cloud_contactcenterinsights_v1_CreateIssueModelMetadata_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.contactcenterinsights.v1.CreateIssueModelMetadata.class, com.google.cloud.contactcenterinsights.v1.CreateIssueModelMetadata.Builder.class); + com.google.cloud.contactcenterinsights.v1.CreateIssueModelMetadata.class, + com.google.cloud.contactcenterinsights.v1.CreateIssueModelMetadata.Builder.class); } public static final int CREATE_TIME_FIELD_NUMBER = 1; private com.google.protobuf.Timestamp createTime_; /** + * + * *
    * Output only. The time the operation was created.
    * 
* - * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the createTime field is set. */ @java.lang.Override @@ -62,11 +84,15 @@ public boolean hasCreateTime() { return createTime_ != null; } /** + * + * *
    * Output only. The time the operation was created.
    * 
* - * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The createTime. */ @java.lang.Override @@ -74,11 +100,14 @@ public com.google.protobuf.Timestamp getCreateTime() { return createTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : createTime_; } /** + * + * *
    * Output only. The time the operation was created.
    * 
* - * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ @java.lang.Override public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { @@ -88,11 +117,15 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { public static final int END_TIME_FIELD_NUMBER = 2; private com.google.protobuf.Timestamp endTime_; /** + * + * *
    * Output only. The time the operation finished running.
    * 
* - * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the endTime field is set. */ @java.lang.Override @@ -100,11 +133,15 @@ public boolean hasEndTime() { return endTime_ != null; } /** + * + * *
    * Output only. The time the operation finished running.
    * 
* - * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The endTime. */ @java.lang.Override @@ -112,11 +149,14 @@ public com.google.protobuf.Timestamp getEndTime() { return endTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : endTime_; } /** + * + * *
    * Output only. The time the operation finished running.
    * 
* - * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ @java.lang.Override public com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder() { @@ -126,11 +166,14 @@ public com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder() { public static final int REQUEST_FIELD_NUMBER = 3; private com.google.cloud.contactcenterinsights.v1.CreateIssueModelRequest request_; /** + * + * *
    * The original request for creation.
    * 
* * .google.cloud.contactcenterinsights.v1.CreateIssueModelRequest request = 3; + * * @return Whether the request field is set. */ @java.lang.Override @@ -138,18 +181,25 @@ public boolean hasRequest() { return request_ != null; } /** + * + * *
    * The original request for creation.
    * 
* * .google.cloud.contactcenterinsights.v1.CreateIssueModelRequest request = 3; + * * @return The request. */ @java.lang.Override public com.google.cloud.contactcenterinsights.v1.CreateIssueModelRequest getRequest() { - return request_ == null ? com.google.cloud.contactcenterinsights.v1.CreateIssueModelRequest.getDefaultInstance() : request_; + return request_ == null + ? com.google.cloud.contactcenterinsights.v1.CreateIssueModelRequest.getDefaultInstance() + : request_; } /** + * + * *
    * The original request for creation.
    * 
@@ -157,11 +207,15 @@ public com.google.cloud.contactcenterinsights.v1.CreateIssueModelRequest getRequ * .google.cloud.contactcenterinsights.v1.CreateIssueModelRequest request = 3; */ @java.lang.Override - public com.google.cloud.contactcenterinsights.v1.CreateIssueModelRequestOrBuilder getRequestOrBuilder() { - return request_ == null ? com.google.cloud.contactcenterinsights.v1.CreateIssueModelRequest.getDefaultInstance() : request_; + public com.google.cloud.contactcenterinsights.v1.CreateIssueModelRequestOrBuilder + getRequestOrBuilder() { + return request_ == null + ? com.google.cloud.contactcenterinsights.v1.CreateIssueModelRequest.getDefaultInstance() + : request_; } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -173,8 +227,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (createTime_ != null) { output.writeMessage(1, getCreateTime()); } @@ -194,16 +247,13 @@ public int getSerializedSize() { size = 0; if (createTime_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, getCreateTime()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getCreateTime()); } if (endTime_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, getEndTime()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getEndTime()); } if (request_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(3, getRequest()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getRequest()); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -213,27 +263,25 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.contactcenterinsights.v1.CreateIssueModelMetadata)) { return super.equals(obj); } - com.google.cloud.contactcenterinsights.v1.CreateIssueModelMetadata other = (com.google.cloud.contactcenterinsights.v1.CreateIssueModelMetadata) obj; + com.google.cloud.contactcenterinsights.v1.CreateIssueModelMetadata other = + (com.google.cloud.contactcenterinsights.v1.CreateIssueModelMetadata) obj; if (hasCreateTime() != other.hasCreateTime()) return false; if (hasCreateTime()) { - if (!getCreateTime() - .equals(other.getCreateTime())) return false; + if (!getCreateTime().equals(other.getCreateTime())) return false; } if (hasEndTime() != other.hasEndTime()) return false; if (hasEndTime()) { - if (!getEndTime() - .equals(other.getEndTime())) return false; + if (!getEndTime().equals(other.getEndTime())) return false; } if (hasRequest() != other.hasRequest()) return false; if (hasRequest()) { - if (!getRequest() - .equals(other.getRequest())) return false; + if (!getRequest().equals(other.getRequest())) return false; } if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -264,129 +312,138 @@ public int hashCode() { } public static com.google.cloud.contactcenterinsights.v1.CreateIssueModelMetadata parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.contactcenterinsights.v1.CreateIssueModelMetadata parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.contactcenterinsights.v1.CreateIssueModelMetadata parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.contactcenterinsights.v1.CreateIssueModelMetadata parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.contactcenterinsights.v1.CreateIssueModelMetadata parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.contactcenterinsights.v1.CreateIssueModelMetadata parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.contactcenterinsights.v1.CreateIssueModelMetadata parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.contactcenterinsights.v1.CreateIssueModelMetadata parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.contactcenterinsights.v1.CreateIssueModelMetadata parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.contactcenterinsights.v1.CreateIssueModelMetadata parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.contactcenterinsights.v1.CreateIssueModelMetadata parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.contactcenterinsights.v1.CreateIssueModelMetadata + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.contactcenterinsights.v1.CreateIssueModelMetadata parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + + public static com.google.cloud.contactcenterinsights.v1.CreateIssueModelMetadata + parseDelimitedFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.contactcenterinsights.v1.CreateIssueModelMetadata parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.contactcenterinsights.v1.CreateIssueModelMetadata parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.contactcenterinsights.v1.CreateIssueModelMetadata prototype) { + + public static Builder newBuilder( + com.google.cloud.contactcenterinsights.v1.CreateIssueModelMetadata prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Metadata for creating an issue model.
    * 
* * Protobuf type {@code google.cloud.contactcenterinsights.v1.CreateIssueModelMetadata} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.contactcenterinsights.v1.CreateIssueModelMetadata) com.google.cloud.contactcenterinsights.v1.CreateIssueModelMetadataOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto.internal_static_google_cloud_contactcenterinsights_v1_CreateIssueModelMetadata_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto + .internal_static_google_cloud_contactcenterinsights_v1_CreateIssueModelMetadata_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto.internal_static_google_cloud_contactcenterinsights_v1_CreateIssueModelMetadata_fieldAccessorTable + return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto + .internal_static_google_cloud_contactcenterinsights_v1_CreateIssueModelMetadata_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.contactcenterinsights.v1.CreateIssueModelMetadata.class, com.google.cloud.contactcenterinsights.v1.CreateIssueModelMetadata.Builder.class); + com.google.cloud.contactcenterinsights.v1.CreateIssueModelMetadata.class, + com.google.cloud.contactcenterinsights.v1.CreateIssueModelMetadata.Builder.class); } - // Construct using com.google.cloud.contactcenterinsights.v1.CreateIssueModelMetadata.newBuilder() - private Builder() { - - } + // Construct using + // com.google.cloud.contactcenterinsights.v1.CreateIssueModelMetadata.newBuilder() + private Builder() {} - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -410,14 +467,16 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto.internal_static_google_cloud_contactcenterinsights_v1_CreateIssueModelMetadata_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto + .internal_static_google_cloud_contactcenterinsights_v1_CreateIssueModelMetadata_descriptor; } @java.lang.Override - public com.google.cloud.contactcenterinsights.v1.CreateIssueModelMetadata getDefaultInstanceForType() { - return com.google.cloud.contactcenterinsights.v1.CreateIssueModelMetadata.getDefaultInstance(); + public com.google.cloud.contactcenterinsights.v1.CreateIssueModelMetadata + getDefaultInstanceForType() { + return com.google.cloud.contactcenterinsights.v1.CreateIssueModelMetadata + .getDefaultInstance(); } @java.lang.Override @@ -431,28 +490,26 @@ public com.google.cloud.contactcenterinsights.v1.CreateIssueModelMetadata build( @java.lang.Override public com.google.cloud.contactcenterinsights.v1.CreateIssueModelMetadata buildPartial() { - com.google.cloud.contactcenterinsights.v1.CreateIssueModelMetadata result = new com.google.cloud.contactcenterinsights.v1.CreateIssueModelMetadata(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.cloud.contactcenterinsights.v1.CreateIssueModelMetadata result = + new com.google.cloud.contactcenterinsights.v1.CreateIssueModelMetadata(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } - private void buildPartial0(com.google.cloud.contactcenterinsights.v1.CreateIssueModelMetadata result) { + private void buildPartial0( + com.google.cloud.contactcenterinsights.v1.CreateIssueModelMetadata result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { - result.createTime_ = createTimeBuilder_ == null - ? createTime_ - : createTimeBuilder_.build(); + result.createTime_ = createTimeBuilder_ == null ? createTime_ : createTimeBuilder_.build(); } if (((from_bitField0_ & 0x00000002) != 0)) { - result.endTime_ = endTimeBuilder_ == null - ? endTime_ - : endTimeBuilder_.build(); + result.endTime_ = endTimeBuilder_ == null ? endTime_ : endTimeBuilder_.build(); } if (((from_bitField0_ & 0x00000004) != 0)) { - result.request_ = requestBuilder_ == null - ? request_ - : requestBuilder_.build(); + result.request_ = requestBuilder_ == null ? request_ : requestBuilder_.build(); } } @@ -460,46 +517,51 @@ private void buildPartial0(com.google.cloud.contactcenterinsights.v1.CreateIssue public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.contactcenterinsights.v1.CreateIssueModelMetadata) { - return mergeFrom((com.google.cloud.contactcenterinsights.v1.CreateIssueModelMetadata)other); + return mergeFrom( + (com.google.cloud.contactcenterinsights.v1.CreateIssueModelMetadata) other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.google.cloud.contactcenterinsights.v1.CreateIssueModelMetadata other) { - if (other == com.google.cloud.contactcenterinsights.v1.CreateIssueModelMetadata.getDefaultInstance()) return this; + public Builder mergeFrom( + com.google.cloud.contactcenterinsights.v1.CreateIssueModelMetadata other) { + if (other + == com.google.cloud.contactcenterinsights.v1.CreateIssueModelMetadata + .getDefaultInstance()) return this; if (other.hasCreateTime()) { mergeCreateTime(other.getCreateTime()); } @@ -535,33 +597,31 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - input.readMessage( - getCreateTimeFieldBuilder().getBuilder(), - extensionRegistry); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: { - input.readMessage( - getEndTimeFieldBuilder().getBuilder(), - extensionRegistry); - bitField0_ |= 0x00000002; - break; - } // case 18 - case 26: { - input.readMessage( - getRequestFieldBuilder().getBuilder(), - extensionRegistry); - bitField0_ |= 0x00000004; - break; - } // case 26 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + input.readMessage(getCreateTimeFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: + { + input.readMessage(getEndTimeFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000002; + break; + } // case 18 + case 26: + { + input.readMessage(getRequestFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000004; + break; + } // case 26 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -571,43 +631,63 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private com.google.protobuf.Timestamp createTime_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> createTimeBuilder_; + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder> + createTimeBuilder_; /** + * + * *
      * Output only. The time the operation was created.
      * 
* - * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the createTime field is set. */ public boolean hasCreateTime() { return ((bitField0_ & 0x00000001) != 0); } /** + * + * *
      * Output only. The time the operation was created.
      * 
* - * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The createTime. */ public com.google.protobuf.Timestamp getCreateTime() { if (createTimeBuilder_ == null) { - return createTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : createTime_; + return createTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : createTime_; } else { return createTimeBuilder_.getMessage(); } } /** + * + * *
      * Output only. The time the operation was created.
      * 
* - * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder setCreateTime(com.google.protobuf.Timestamp value) { if (createTimeBuilder_ == null) { @@ -623,14 +703,17 @@ public Builder setCreateTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * Output only. The time the operation was created.
      * 
* - * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - public Builder setCreateTime( - com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setCreateTime(com.google.protobuf.Timestamp.Builder builderForValue) { if (createTimeBuilder_ == null) { createTime_ = builderForValue.build(); } else { @@ -641,17 +724,21 @@ public Builder setCreateTime( return this; } /** + * + * *
      * Output only. The time the operation was created.
      * 
* - * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder mergeCreateTime(com.google.protobuf.Timestamp value) { if (createTimeBuilder_ == null) { - if (((bitField0_ & 0x00000001) != 0) && - createTime_ != null && - createTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { + if (((bitField0_ & 0x00000001) != 0) + && createTime_ != null + && createTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { getCreateTimeBuilder().mergeFrom(value); } else { createTime_ = value; @@ -664,11 +751,15 @@ public Builder mergeCreateTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * Output only. The time the operation was created.
      * 
* - * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder clearCreateTime() { bitField0_ = (bitField0_ & ~0x00000001); @@ -681,11 +772,15 @@ public Builder clearCreateTime() { return this; } /** + * + * *
      * Output only. The time the operation was created.
      * 
* - * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public com.google.protobuf.Timestamp.Builder getCreateTimeBuilder() { bitField0_ |= 0x00000001; @@ -693,36 +788,48 @@ public com.google.protobuf.Timestamp.Builder getCreateTimeBuilder() { return getCreateTimeFieldBuilder().getBuilder(); } /** + * + * *
      * Output only. The time the operation was created.
      * 
* - * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { if (createTimeBuilder_ != null) { return createTimeBuilder_.getMessageOrBuilder(); } else { - return createTime_ == null ? - com.google.protobuf.Timestamp.getDefaultInstance() : createTime_; + return createTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : createTime_; } } /** + * + * *
      * Output only. The time the operation was created.
      * 
* - * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder> getCreateTimeFieldBuilder() { if (createTimeBuilder_ == null) { - createTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( - getCreateTime(), - getParentForChildren(), - isClean()); + createTimeBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder>( + getCreateTime(), getParentForChildren(), isClean()); createTime_ = null; } return createTimeBuilder_; @@ -730,24 +837,35 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { private com.google.protobuf.Timestamp endTime_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> endTimeBuilder_; + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder> + endTimeBuilder_; /** + * + * *
      * Output only. The time the operation finished running.
      * 
* - * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the endTime field is set. */ public boolean hasEndTime() { return ((bitField0_ & 0x00000002) != 0); } /** + * + * *
      * Output only. The time the operation finished running.
      * 
* - * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The endTime. */ public com.google.protobuf.Timestamp getEndTime() { @@ -758,11 +876,14 @@ public com.google.protobuf.Timestamp getEndTime() { } } /** + * + * *
      * Output only. The time the operation finished running.
      * 
* - * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder setEndTime(com.google.protobuf.Timestamp value) { if (endTimeBuilder_ == null) { @@ -778,14 +899,16 @@ public Builder setEndTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * Output only. The time the operation finished running.
      * 
* - * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - public Builder setEndTime( - com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setEndTime(com.google.protobuf.Timestamp.Builder builderForValue) { if (endTimeBuilder_ == null) { endTime_ = builderForValue.build(); } else { @@ -796,17 +919,20 @@ public Builder setEndTime( return this; } /** + * + * *
      * Output only. The time the operation finished running.
      * 
* - * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder mergeEndTime(com.google.protobuf.Timestamp value) { if (endTimeBuilder_ == null) { - if (((bitField0_ & 0x00000002) != 0) && - endTime_ != null && - endTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { + if (((bitField0_ & 0x00000002) != 0) + && endTime_ != null + && endTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { getEndTimeBuilder().mergeFrom(value); } else { endTime_ = value; @@ -819,11 +945,14 @@ public Builder mergeEndTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * Output only. The time the operation finished running.
      * 
* - * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder clearEndTime() { bitField0_ = (bitField0_ & ~0x00000002); @@ -836,11 +965,14 @@ public Builder clearEndTime() { return this; } /** + * + * *
      * Output only. The time the operation finished running.
      * 
* - * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public com.google.protobuf.Timestamp.Builder getEndTimeBuilder() { bitField0_ |= 0x00000002; @@ -848,36 +980,44 @@ public com.google.protobuf.Timestamp.Builder getEndTimeBuilder() { return getEndTimeFieldBuilder().getBuilder(); } /** + * + * *
      * Output only. The time the operation finished running.
      * 
* - * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder() { if (endTimeBuilder_ != null) { return endTimeBuilder_.getMessageOrBuilder(); } else { - return endTime_ == null ? - com.google.protobuf.Timestamp.getDefaultInstance() : endTime_; + return endTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : endTime_; } } /** + * + * *
      * Output only. The time the operation finished running.
      * 
* - * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder> getEndTimeFieldBuilder() { if (endTimeBuilder_ == null) { - endTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( - getEndTime(), - getParentForChildren(), - isClean()); + endTimeBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder>( + getEndTime(), getParentForChildren(), isClean()); endTime_ = null; } return endTimeBuilder_; @@ -885,41 +1025,55 @@ public com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder() { private com.google.cloud.contactcenterinsights.v1.CreateIssueModelRequest request_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.contactcenterinsights.v1.CreateIssueModelRequest, com.google.cloud.contactcenterinsights.v1.CreateIssueModelRequest.Builder, com.google.cloud.contactcenterinsights.v1.CreateIssueModelRequestOrBuilder> requestBuilder_; + com.google.cloud.contactcenterinsights.v1.CreateIssueModelRequest, + com.google.cloud.contactcenterinsights.v1.CreateIssueModelRequest.Builder, + com.google.cloud.contactcenterinsights.v1.CreateIssueModelRequestOrBuilder> + requestBuilder_; /** + * + * *
      * The original request for creation.
      * 
* * .google.cloud.contactcenterinsights.v1.CreateIssueModelRequest request = 3; + * * @return Whether the request field is set. */ public boolean hasRequest() { return ((bitField0_ & 0x00000004) != 0); } /** + * + * *
      * The original request for creation.
      * 
* * .google.cloud.contactcenterinsights.v1.CreateIssueModelRequest request = 3; + * * @return The request. */ public com.google.cloud.contactcenterinsights.v1.CreateIssueModelRequest getRequest() { if (requestBuilder_ == null) { - return request_ == null ? com.google.cloud.contactcenterinsights.v1.CreateIssueModelRequest.getDefaultInstance() : request_; + return request_ == null + ? com.google.cloud.contactcenterinsights.v1.CreateIssueModelRequest.getDefaultInstance() + : request_; } else { return requestBuilder_.getMessage(); } } /** + * + * *
      * The original request for creation.
      * 
* * .google.cloud.contactcenterinsights.v1.CreateIssueModelRequest request = 3; */ - public Builder setRequest(com.google.cloud.contactcenterinsights.v1.CreateIssueModelRequest value) { + public Builder setRequest( + com.google.cloud.contactcenterinsights.v1.CreateIssueModelRequest value) { if (requestBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -933,6 +1087,8 @@ public Builder setRequest(com.google.cloud.contactcenterinsights.v1.CreateIssueM return this; } /** + * + * *
      * The original request for creation.
      * 
@@ -951,17 +1107,22 @@ public Builder setRequest( return this; } /** + * + * *
      * The original request for creation.
      * 
* * .google.cloud.contactcenterinsights.v1.CreateIssueModelRequest request = 3; */ - public Builder mergeRequest(com.google.cloud.contactcenterinsights.v1.CreateIssueModelRequest value) { + public Builder mergeRequest( + com.google.cloud.contactcenterinsights.v1.CreateIssueModelRequest value) { if (requestBuilder_ == null) { - if (((bitField0_ & 0x00000004) != 0) && - request_ != null && - request_ != com.google.cloud.contactcenterinsights.v1.CreateIssueModelRequest.getDefaultInstance()) { + if (((bitField0_ & 0x00000004) != 0) + && request_ != null + && request_ + != com.google.cloud.contactcenterinsights.v1.CreateIssueModelRequest + .getDefaultInstance()) { getRequestBuilder().mergeFrom(value); } else { request_ = value; @@ -974,6 +1135,8 @@ public Builder mergeRequest(com.google.cloud.contactcenterinsights.v1.CreateIssu return this; } /** + * + * *
      * The original request for creation.
      * 
@@ -991,33 +1154,42 @@ public Builder clearRequest() { return this; } /** + * + * *
      * The original request for creation.
      * 
* * .google.cloud.contactcenterinsights.v1.CreateIssueModelRequest request = 3; */ - public com.google.cloud.contactcenterinsights.v1.CreateIssueModelRequest.Builder getRequestBuilder() { + public com.google.cloud.contactcenterinsights.v1.CreateIssueModelRequest.Builder + getRequestBuilder() { bitField0_ |= 0x00000004; onChanged(); return getRequestFieldBuilder().getBuilder(); } /** + * + * *
      * The original request for creation.
      * 
* * .google.cloud.contactcenterinsights.v1.CreateIssueModelRequest request = 3; */ - public com.google.cloud.contactcenterinsights.v1.CreateIssueModelRequestOrBuilder getRequestOrBuilder() { + public com.google.cloud.contactcenterinsights.v1.CreateIssueModelRequestOrBuilder + getRequestOrBuilder() { if (requestBuilder_ != null) { return requestBuilder_.getMessageOrBuilder(); } else { - return request_ == null ? - com.google.cloud.contactcenterinsights.v1.CreateIssueModelRequest.getDefaultInstance() : request_; + return request_ == null + ? com.google.cloud.contactcenterinsights.v1.CreateIssueModelRequest.getDefaultInstance() + : request_; } } /** + * + * *
      * The original request for creation.
      * 
@@ -1025,21 +1197,24 @@ public com.google.cloud.contactcenterinsights.v1.CreateIssueModelRequestOrBuilde * .google.cloud.contactcenterinsights.v1.CreateIssueModelRequest request = 3; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.contactcenterinsights.v1.CreateIssueModelRequest, com.google.cloud.contactcenterinsights.v1.CreateIssueModelRequest.Builder, com.google.cloud.contactcenterinsights.v1.CreateIssueModelRequestOrBuilder> + com.google.cloud.contactcenterinsights.v1.CreateIssueModelRequest, + com.google.cloud.contactcenterinsights.v1.CreateIssueModelRequest.Builder, + com.google.cloud.contactcenterinsights.v1.CreateIssueModelRequestOrBuilder> getRequestFieldBuilder() { if (requestBuilder_ == null) { - requestBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.contactcenterinsights.v1.CreateIssueModelRequest, com.google.cloud.contactcenterinsights.v1.CreateIssueModelRequest.Builder, com.google.cloud.contactcenterinsights.v1.CreateIssueModelRequestOrBuilder>( - getRequest(), - getParentForChildren(), - isClean()); + requestBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.contactcenterinsights.v1.CreateIssueModelRequest, + com.google.cloud.contactcenterinsights.v1.CreateIssueModelRequest.Builder, + com.google.cloud.contactcenterinsights.v1.CreateIssueModelRequestOrBuilder>( + getRequest(), getParentForChildren(), isClean()); request_ = null; } return requestBuilder_; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1049,41 +1224,43 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.contactcenterinsights.v1.CreateIssueModelMetadata) } // @@protoc_insertion_point(class_scope:google.cloud.contactcenterinsights.v1.CreateIssueModelMetadata) - private static final com.google.cloud.contactcenterinsights.v1.CreateIssueModelMetadata DEFAULT_INSTANCE; + private static final com.google.cloud.contactcenterinsights.v1.CreateIssueModelMetadata + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.contactcenterinsights.v1.CreateIssueModelMetadata(); } - public static com.google.cloud.contactcenterinsights.v1.CreateIssueModelMetadata getDefaultInstance() { + public static com.google.cloud.contactcenterinsights.v1.CreateIssueModelMetadata + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public CreateIssueModelMetadata parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public CreateIssueModelMetadata parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1095,9 +1272,8 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.cloud.contactcenterinsights.v1.CreateIssueModelMetadata getDefaultInstanceForType() { + public com.google.cloud.contactcenterinsights.v1.CreateIssueModelMetadata + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/CreateIssueModelMetadataOrBuilder.java b/java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/CreateIssueModelMetadataOrBuilder.java similarity index 70% rename from owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/CreateIssueModelMetadataOrBuilder.java rename to java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/CreateIssueModelMetadataOrBuilder.java index 9497c693f596..58cbb69861e1 100644 --- a/owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/CreateIssueModelMetadataOrBuilder.java +++ b/java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/CreateIssueModelMetadataOrBuilder.java @@ -1,85 +1,131 @@ +/* + * 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. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/contactcenterinsights/v1/contact_center_insights.proto package com.google.cloud.contactcenterinsights.v1; -public interface CreateIssueModelMetadataOrBuilder extends +public interface CreateIssueModelMetadataOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.contactcenterinsights.v1.CreateIssueModelMetadata) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Output only. The time the operation was created.
    * 
* - * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the createTime field is set. */ boolean hasCreateTime(); /** + * + * *
    * Output only. The time the operation was created.
    * 
* - * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The createTime. */ com.google.protobuf.Timestamp getCreateTime(); /** + * + * *
    * Output only. The time the operation was created.
    * 
* - * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder(); /** + * + * *
    * Output only. The time the operation finished running.
    * 
* - * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the endTime field is set. */ boolean hasEndTime(); /** + * + * *
    * Output only. The time the operation finished running.
    * 
* - * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The endTime. */ com.google.protobuf.Timestamp getEndTime(); /** + * + * *
    * Output only. The time the operation finished running.
    * 
* - * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder(); /** + * + * *
    * The original request for creation.
    * 
* * .google.cloud.contactcenterinsights.v1.CreateIssueModelRequest request = 3; + * * @return Whether the request field is set. */ boolean hasRequest(); /** + * + * *
    * The original request for creation.
    * 
* * .google.cloud.contactcenterinsights.v1.CreateIssueModelRequest request = 3; + * * @return The request. */ com.google.cloud.contactcenterinsights.v1.CreateIssueModelRequest getRequest(); /** + * + * *
    * The original request for creation.
    * 
diff --git a/owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/CreateIssueModelRequest.java b/java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/CreateIssueModelRequest.java similarity index 58% rename from owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/CreateIssueModelRequest.java rename to java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/CreateIssueModelRequest.java index 4a9b0ff3e027..10902e3e77e5 100644 --- a/owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/CreateIssueModelRequest.java +++ b/java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/CreateIssueModelRequest.java @@ -1,62 +1,87 @@ +/* + * 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. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/contactcenterinsights/v1/contact_center_insights.proto package com.google.cloud.contactcenterinsights.v1; /** + * + * *
  * The request to create an issue model.
  * 
* * Protobuf type {@code google.cloud.contactcenterinsights.v1.CreateIssueModelRequest} */ -public final class CreateIssueModelRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class CreateIssueModelRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.contactcenterinsights.v1.CreateIssueModelRequest) CreateIssueModelRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use CreateIssueModelRequest.newBuilder() to construct. private CreateIssueModelRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private CreateIssueModelRequest() { parent_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new CreateIssueModelRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto.internal_static_google_cloud_contactcenterinsights_v1_CreateIssueModelRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto + .internal_static_google_cloud_contactcenterinsights_v1_CreateIssueModelRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto.internal_static_google_cloud_contactcenterinsights_v1_CreateIssueModelRequest_fieldAccessorTable + return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto + .internal_static_google_cloud_contactcenterinsights_v1_CreateIssueModelRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.contactcenterinsights.v1.CreateIssueModelRequest.class, com.google.cloud.contactcenterinsights.v1.CreateIssueModelRequest.Builder.class); + com.google.cloud.contactcenterinsights.v1.CreateIssueModelRequest.class, + com.google.cloud.contactcenterinsights.v1.CreateIssueModelRequest.Builder.class); } public static final int PARENT_FIELD_NUMBER = 1; + @SuppressWarnings("serial") private volatile java.lang.Object parent_ = ""; /** + * + * *
    * Required. The parent resource of the issue model.
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The parent. */ @java.lang.Override @@ -65,29 +90,31 @@ public java.lang.String getParent() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; } } /** + * + * *
    * Required. The parent resource of the issue model.
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for parent. */ @java.lang.Override - public com.google.protobuf.ByteString - getParentBytes() { + public com.google.protobuf.ByteString getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); parent_ = b; return b; } else { @@ -98,11 +125,16 @@ public java.lang.String getParent() { public static final int ISSUE_MODEL_FIELD_NUMBER = 2; private com.google.cloud.contactcenterinsights.v1.IssueModel issueModel_; /** + * + * *
    * Required. The issue model to create.
    * 
* - * .google.cloud.contactcenterinsights.v1.IssueModel issue_model = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.contactcenterinsights.v1.IssueModel issue_model = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the issueModel field is set. */ @java.lang.Override @@ -110,30 +142,44 @@ public boolean hasIssueModel() { return issueModel_ != null; } /** + * + * *
    * Required. The issue model to create.
    * 
* - * .google.cloud.contactcenterinsights.v1.IssueModel issue_model = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.contactcenterinsights.v1.IssueModel issue_model = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The issueModel. */ @java.lang.Override public com.google.cloud.contactcenterinsights.v1.IssueModel getIssueModel() { - return issueModel_ == null ? com.google.cloud.contactcenterinsights.v1.IssueModel.getDefaultInstance() : issueModel_; + return issueModel_ == null + ? com.google.cloud.contactcenterinsights.v1.IssueModel.getDefaultInstance() + : issueModel_; } /** + * + * *
    * Required. The issue model to create.
    * 
* - * .google.cloud.contactcenterinsights.v1.IssueModel issue_model = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.contactcenterinsights.v1.IssueModel issue_model = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ @java.lang.Override public com.google.cloud.contactcenterinsights.v1.IssueModelOrBuilder getIssueModelOrBuilder() { - return issueModel_ == null ? com.google.cloud.contactcenterinsights.v1.IssueModel.getDefaultInstance() : issueModel_; + return issueModel_ == null + ? com.google.cloud.contactcenterinsights.v1.IssueModel.getDefaultInstance() + : issueModel_; } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -145,8 +191,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); } @@ -166,8 +211,7 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, parent_); } if (issueModel_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, getIssueModel()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getIssueModel()); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -177,19 +221,18 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.contactcenterinsights.v1.CreateIssueModelRequest)) { return super.equals(obj); } - com.google.cloud.contactcenterinsights.v1.CreateIssueModelRequest other = (com.google.cloud.contactcenterinsights.v1.CreateIssueModelRequest) obj; + com.google.cloud.contactcenterinsights.v1.CreateIssueModelRequest other = + (com.google.cloud.contactcenterinsights.v1.CreateIssueModelRequest) obj; - if (!getParent() - .equals(other.getParent())) return false; + if (!getParent().equals(other.getParent())) return false; if (hasIssueModel() != other.hasIssueModel()) return false; if (hasIssueModel()) { - if (!getIssueModel() - .equals(other.getIssueModel())) return false; + if (!getIssueModel().equals(other.getIssueModel())) return false; } if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -214,129 +257,138 @@ public int hashCode() { } public static com.google.cloud.contactcenterinsights.v1.CreateIssueModelRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.contactcenterinsights.v1.CreateIssueModelRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.contactcenterinsights.v1.CreateIssueModelRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.contactcenterinsights.v1.CreateIssueModelRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.contactcenterinsights.v1.CreateIssueModelRequest parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.contactcenterinsights.v1.CreateIssueModelRequest parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.contactcenterinsights.v1.CreateIssueModelRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.contactcenterinsights.v1.CreateIssueModelRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.contactcenterinsights.v1.CreateIssueModelRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.contactcenterinsights.v1.CreateIssueModelRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.contactcenterinsights.v1.CreateIssueModelRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.contactcenterinsights.v1.CreateIssueModelRequest + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.contactcenterinsights.v1.CreateIssueModelRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + + public static com.google.cloud.contactcenterinsights.v1.CreateIssueModelRequest + parseDelimitedFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.contactcenterinsights.v1.CreateIssueModelRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.contactcenterinsights.v1.CreateIssueModelRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.contactcenterinsights.v1.CreateIssueModelRequest prototype) { + + public static Builder newBuilder( + com.google.cloud.contactcenterinsights.v1.CreateIssueModelRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * The request to create an issue model.
    * 
* * Protobuf type {@code google.cloud.contactcenterinsights.v1.CreateIssueModelRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.contactcenterinsights.v1.CreateIssueModelRequest) com.google.cloud.contactcenterinsights.v1.CreateIssueModelRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto.internal_static_google_cloud_contactcenterinsights_v1_CreateIssueModelRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto + .internal_static_google_cloud_contactcenterinsights_v1_CreateIssueModelRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto.internal_static_google_cloud_contactcenterinsights_v1_CreateIssueModelRequest_fieldAccessorTable + return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto + .internal_static_google_cloud_contactcenterinsights_v1_CreateIssueModelRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.contactcenterinsights.v1.CreateIssueModelRequest.class, com.google.cloud.contactcenterinsights.v1.CreateIssueModelRequest.Builder.class); + com.google.cloud.contactcenterinsights.v1.CreateIssueModelRequest.class, + com.google.cloud.contactcenterinsights.v1.CreateIssueModelRequest.Builder.class); } - // Construct using com.google.cloud.contactcenterinsights.v1.CreateIssueModelRequest.newBuilder() - private Builder() { + // Construct using + // com.google.cloud.contactcenterinsights.v1.CreateIssueModelRequest.newBuilder() + private Builder() {} - } - - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -351,13 +403,14 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto.internal_static_google_cloud_contactcenterinsights_v1_CreateIssueModelRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto + .internal_static_google_cloud_contactcenterinsights_v1_CreateIssueModelRequest_descriptor; } @java.lang.Override - public com.google.cloud.contactcenterinsights.v1.CreateIssueModelRequest getDefaultInstanceForType() { + public com.google.cloud.contactcenterinsights.v1.CreateIssueModelRequest + getDefaultInstanceForType() { return com.google.cloud.contactcenterinsights.v1.CreateIssueModelRequest.getDefaultInstance(); } @@ -372,21 +425,23 @@ public com.google.cloud.contactcenterinsights.v1.CreateIssueModelRequest build() @java.lang.Override public com.google.cloud.contactcenterinsights.v1.CreateIssueModelRequest buildPartial() { - com.google.cloud.contactcenterinsights.v1.CreateIssueModelRequest result = new com.google.cloud.contactcenterinsights.v1.CreateIssueModelRequest(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.cloud.contactcenterinsights.v1.CreateIssueModelRequest result = + new com.google.cloud.contactcenterinsights.v1.CreateIssueModelRequest(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } - private void buildPartial0(com.google.cloud.contactcenterinsights.v1.CreateIssueModelRequest result) { + private void buildPartial0( + com.google.cloud.contactcenterinsights.v1.CreateIssueModelRequest result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { result.parent_ = parent_; } if (((from_bitField0_ & 0x00000002) != 0)) { - result.issueModel_ = issueModelBuilder_ == null - ? issueModel_ - : issueModelBuilder_.build(); + result.issueModel_ = issueModelBuilder_ == null ? issueModel_ : issueModelBuilder_.build(); } } @@ -394,46 +449,50 @@ private void buildPartial0(com.google.cloud.contactcenterinsights.v1.CreateIssue public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.contactcenterinsights.v1.CreateIssueModelRequest) { - return mergeFrom((com.google.cloud.contactcenterinsights.v1.CreateIssueModelRequest)other); + return mergeFrom((com.google.cloud.contactcenterinsights.v1.CreateIssueModelRequest) other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.google.cloud.contactcenterinsights.v1.CreateIssueModelRequest other) { - if (other == com.google.cloud.contactcenterinsights.v1.CreateIssueModelRequest.getDefaultInstance()) return this; + public Builder mergeFrom( + com.google.cloud.contactcenterinsights.v1.CreateIssueModelRequest other) { + if (other + == com.google.cloud.contactcenterinsights.v1.CreateIssueModelRequest.getDefaultInstance()) + return this; if (!other.getParent().isEmpty()) { parent_ = other.parent_; bitField0_ |= 0x00000001; @@ -468,24 +527,25 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - parent_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: { - input.readMessage( - getIssueModelFieldBuilder().getBuilder(), - extensionRegistry); - bitField0_ |= 0x00000002; - break; - } // case 18 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + parent_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: + { + input.readMessage(getIssueModelFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000002; + break; + } // case 18 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -495,22 +555,27 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private java.lang.Object parent_ = ""; /** + * + * *
      * Required. The parent resource of the issue model.
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The parent. */ public java.lang.String getParent() { java.lang.Object ref = parent_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; @@ -519,20 +584,23 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. The parent resource of the issue model.
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for parent. */ - public com.google.protobuf.ByteString - getParentBytes() { + public com.google.protobuf.ByteString getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); parent_ = b; return b; } else { @@ -540,28 +608,39 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. The parent resource of the issue model.
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The parent to set. * @return This builder for chaining. */ - public Builder setParent( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setParent(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } parent_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
      * Required. The parent resource of the issue model.
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return This builder for chaining. */ public Builder clearParent() { @@ -571,17 +650,23 @@ public Builder clearParent() { return this; } /** + * + * *
      * Required. The parent resource of the issue model.
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setParentBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); parent_ = value; bitField0_ |= 0x00000001; @@ -591,39 +676,58 @@ public Builder setParentBytes( private com.google.cloud.contactcenterinsights.v1.IssueModel issueModel_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.contactcenterinsights.v1.IssueModel, com.google.cloud.contactcenterinsights.v1.IssueModel.Builder, com.google.cloud.contactcenterinsights.v1.IssueModelOrBuilder> issueModelBuilder_; + com.google.cloud.contactcenterinsights.v1.IssueModel, + com.google.cloud.contactcenterinsights.v1.IssueModel.Builder, + com.google.cloud.contactcenterinsights.v1.IssueModelOrBuilder> + issueModelBuilder_; /** + * + * *
      * Required. The issue model to create.
      * 
* - * .google.cloud.contactcenterinsights.v1.IssueModel issue_model = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.contactcenterinsights.v1.IssueModel issue_model = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the issueModel field is set. */ public boolean hasIssueModel() { return ((bitField0_ & 0x00000002) != 0); } /** + * + * *
      * Required. The issue model to create.
      * 
* - * .google.cloud.contactcenterinsights.v1.IssueModel issue_model = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.contactcenterinsights.v1.IssueModel issue_model = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The issueModel. */ public com.google.cloud.contactcenterinsights.v1.IssueModel getIssueModel() { if (issueModelBuilder_ == null) { - return issueModel_ == null ? com.google.cloud.contactcenterinsights.v1.IssueModel.getDefaultInstance() : issueModel_; + return issueModel_ == null + ? com.google.cloud.contactcenterinsights.v1.IssueModel.getDefaultInstance() + : issueModel_; } else { return issueModelBuilder_.getMessage(); } } /** + * + * *
      * Required. The issue model to create.
      * 
* - * .google.cloud.contactcenterinsights.v1.IssueModel issue_model = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.contactcenterinsights.v1.IssueModel issue_model = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder setIssueModel(com.google.cloud.contactcenterinsights.v1.IssueModel value) { if (issueModelBuilder_ == null) { @@ -639,11 +743,15 @@ public Builder setIssueModel(com.google.cloud.contactcenterinsights.v1.IssueMode return this; } /** + * + * *
      * Required. The issue model to create.
      * 
* - * .google.cloud.contactcenterinsights.v1.IssueModel issue_model = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.contactcenterinsights.v1.IssueModel issue_model = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder setIssueModel( com.google.cloud.contactcenterinsights.v1.IssueModel.Builder builderForValue) { @@ -657,17 +765,22 @@ public Builder setIssueModel( return this; } /** + * + * *
      * Required. The issue model to create.
      * 
* - * .google.cloud.contactcenterinsights.v1.IssueModel issue_model = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.contactcenterinsights.v1.IssueModel issue_model = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder mergeIssueModel(com.google.cloud.contactcenterinsights.v1.IssueModel value) { if (issueModelBuilder_ == null) { - if (((bitField0_ & 0x00000002) != 0) && - issueModel_ != null && - issueModel_ != com.google.cloud.contactcenterinsights.v1.IssueModel.getDefaultInstance()) { + if (((bitField0_ & 0x00000002) != 0) + && issueModel_ != null + && issueModel_ + != com.google.cloud.contactcenterinsights.v1.IssueModel.getDefaultInstance()) { getIssueModelBuilder().mergeFrom(value); } else { issueModel_ = value; @@ -680,11 +793,15 @@ public Builder mergeIssueModel(com.google.cloud.contactcenterinsights.v1.IssueMo return this; } /** + * + * *
      * Required. The issue model to create.
      * 
* - * .google.cloud.contactcenterinsights.v1.IssueModel issue_model = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.contactcenterinsights.v1.IssueModel issue_model = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder clearIssueModel() { bitField0_ = (bitField0_ & ~0x00000002); @@ -697,11 +814,15 @@ public Builder clearIssueModel() { return this; } /** + * + * *
      * Required. The issue model to create.
      * 
* - * .google.cloud.contactcenterinsights.v1.IssueModel issue_model = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.contactcenterinsights.v1.IssueModel issue_model = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.cloud.contactcenterinsights.v1.IssueModel.Builder getIssueModelBuilder() { bitField0_ |= 0x00000002; @@ -709,43 +830,55 @@ public com.google.cloud.contactcenterinsights.v1.IssueModel.Builder getIssueMode return getIssueModelFieldBuilder().getBuilder(); } /** + * + * *
      * Required. The issue model to create.
      * 
* - * .google.cloud.contactcenterinsights.v1.IssueModel issue_model = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.contactcenterinsights.v1.IssueModel issue_model = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.cloud.contactcenterinsights.v1.IssueModelOrBuilder getIssueModelOrBuilder() { if (issueModelBuilder_ != null) { return issueModelBuilder_.getMessageOrBuilder(); } else { - return issueModel_ == null ? - com.google.cloud.contactcenterinsights.v1.IssueModel.getDefaultInstance() : issueModel_; + return issueModel_ == null + ? com.google.cloud.contactcenterinsights.v1.IssueModel.getDefaultInstance() + : issueModel_; } } /** + * + * *
      * Required. The issue model to create.
      * 
* - * .google.cloud.contactcenterinsights.v1.IssueModel issue_model = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.contactcenterinsights.v1.IssueModel issue_model = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.contactcenterinsights.v1.IssueModel, com.google.cloud.contactcenterinsights.v1.IssueModel.Builder, com.google.cloud.contactcenterinsights.v1.IssueModelOrBuilder> + com.google.cloud.contactcenterinsights.v1.IssueModel, + com.google.cloud.contactcenterinsights.v1.IssueModel.Builder, + com.google.cloud.contactcenterinsights.v1.IssueModelOrBuilder> getIssueModelFieldBuilder() { if (issueModelBuilder_ == null) { - issueModelBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.contactcenterinsights.v1.IssueModel, com.google.cloud.contactcenterinsights.v1.IssueModel.Builder, com.google.cloud.contactcenterinsights.v1.IssueModelOrBuilder>( - getIssueModel(), - getParentForChildren(), - isClean()); + issueModelBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.contactcenterinsights.v1.IssueModel, + com.google.cloud.contactcenterinsights.v1.IssueModel.Builder, + com.google.cloud.contactcenterinsights.v1.IssueModelOrBuilder>( + getIssueModel(), getParentForChildren(), isClean()); issueModel_ = null; } return issueModelBuilder_; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -755,41 +888,43 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.contactcenterinsights.v1.CreateIssueModelRequest) } // @@protoc_insertion_point(class_scope:google.cloud.contactcenterinsights.v1.CreateIssueModelRequest) - private static final com.google.cloud.contactcenterinsights.v1.CreateIssueModelRequest DEFAULT_INSTANCE; + private static final com.google.cloud.contactcenterinsights.v1.CreateIssueModelRequest + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.contactcenterinsights.v1.CreateIssueModelRequest(); } - public static com.google.cloud.contactcenterinsights.v1.CreateIssueModelRequest getDefaultInstance() { + public static com.google.cloud.contactcenterinsights.v1.CreateIssueModelRequest + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public CreateIssueModelRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public CreateIssueModelRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -801,9 +936,8 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.cloud.contactcenterinsights.v1.CreateIssueModelRequest getDefaultInstanceForType() { + public com.google.cloud.contactcenterinsights.v1.CreateIssueModelRequest + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/CreateIssueModelRequestOrBuilder.java b/java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/CreateIssueModelRequestOrBuilder.java new file mode 100644 index 000000000000..6c61b4ce1243 --- /dev/null +++ b/java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/CreateIssueModelRequestOrBuilder.java @@ -0,0 +1,95 @@ +/* + * 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. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/contactcenterinsights/v1/contact_center_insights.proto + +package com.google.cloud.contactcenterinsights.v1; + +public interface CreateIssueModelRequestOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.cloud.contactcenterinsights.v1.CreateIssueModelRequest) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * Required. The parent resource of the issue model.
+   * 
+ * + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The parent. + */ + java.lang.String getParent(); + /** + * + * + *
+   * Required. The parent resource of the issue model.
+   * 
+ * + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The bytes for parent. + */ + com.google.protobuf.ByteString getParentBytes(); + + /** + * + * + *
+   * Required. The issue model to create.
+   * 
+ * + * + * .google.cloud.contactcenterinsights.v1.IssueModel issue_model = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * + * @return Whether the issueModel field is set. + */ + boolean hasIssueModel(); + /** + * + * + *
+   * Required. The issue model to create.
+   * 
+ * + * + * .google.cloud.contactcenterinsights.v1.IssueModel issue_model = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * + * @return The issueModel. + */ + com.google.cloud.contactcenterinsights.v1.IssueModel getIssueModel(); + /** + * + * + *
+   * Required. The issue model to create.
+   * 
+ * + * + * .google.cloud.contactcenterinsights.v1.IssueModel issue_model = 2 [(.google.api.field_behavior) = REQUIRED]; + * + */ + com.google.cloud.contactcenterinsights.v1.IssueModelOrBuilder getIssueModelOrBuilder(); +} diff --git a/owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/CreatePhraseMatcherRequest.java b/java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/CreatePhraseMatcherRequest.java similarity index 59% rename from owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/CreatePhraseMatcherRequest.java rename to java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/CreatePhraseMatcherRequest.java index dd27286255b7..6e12ebb552c1 100644 --- a/owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/CreatePhraseMatcherRequest.java +++ b/java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/CreatePhraseMatcherRequest.java @@ -1,57 +1,79 @@ +/* + * 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. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/contactcenterinsights/v1/contact_center_insights.proto package com.google.cloud.contactcenterinsights.v1; /** + * + * *
  * Request to create a phrase matcher.
  * 
* * Protobuf type {@code google.cloud.contactcenterinsights.v1.CreatePhraseMatcherRequest} */ -public final class CreatePhraseMatcherRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class CreatePhraseMatcherRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.contactcenterinsights.v1.CreatePhraseMatcherRequest) CreatePhraseMatcherRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use CreatePhraseMatcherRequest.newBuilder() to construct. private CreatePhraseMatcherRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private CreatePhraseMatcherRequest() { parent_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new CreatePhraseMatcherRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto.internal_static_google_cloud_contactcenterinsights_v1_CreatePhraseMatcherRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto + .internal_static_google_cloud_contactcenterinsights_v1_CreatePhraseMatcherRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto.internal_static_google_cloud_contactcenterinsights_v1_CreatePhraseMatcherRequest_fieldAccessorTable + return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto + .internal_static_google_cloud_contactcenterinsights_v1_CreatePhraseMatcherRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.contactcenterinsights.v1.CreatePhraseMatcherRequest.class, com.google.cloud.contactcenterinsights.v1.CreatePhraseMatcherRequest.Builder.class); + com.google.cloud.contactcenterinsights.v1.CreatePhraseMatcherRequest.class, + com.google.cloud.contactcenterinsights.v1.CreatePhraseMatcherRequest.Builder.class); } public static final int PARENT_FIELD_NUMBER = 1; + @SuppressWarnings("serial") private volatile java.lang.Object parent_ = ""; /** + * + * *
    * Required. The parent resource of the phrase matcher. Required. The location
    * to create a phrase matcher for. Format: `projects/<Project
@@ -59,7 +81,10 @@ protected java.lang.Object newInstance(
    * Number>/locations/<Location ID>`
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The parent. */ @java.lang.Override @@ -68,14 +93,15 @@ public java.lang.String getParent() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; } } /** + * + * *
    * Required. The parent resource of the phrase matcher. Required. The location
    * to create a phrase matcher for. Format: `projects/<Project
@@ -83,17 +109,18 @@ public java.lang.String getParent() {
    * Number>/locations/<Location ID>`
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for parent. */ @java.lang.Override - public com.google.protobuf.ByteString - getParentBytes() { + public com.google.protobuf.ByteString getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); parent_ = b; return b; } else { @@ -104,11 +131,16 @@ public java.lang.String getParent() { public static final int PHRASE_MATCHER_FIELD_NUMBER = 2; private com.google.cloud.contactcenterinsights.v1.PhraseMatcher phraseMatcher_; /** + * + * *
    * Required. The phrase matcher resource to create.
    * 
* - * .google.cloud.contactcenterinsights.v1.PhraseMatcher phrase_matcher = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.contactcenterinsights.v1.PhraseMatcher phrase_matcher = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the phraseMatcher field is set. */ @java.lang.Override @@ -116,30 +148,45 @@ public boolean hasPhraseMatcher() { return phraseMatcher_ != null; } /** + * + * *
    * Required. The phrase matcher resource to create.
    * 
* - * .google.cloud.contactcenterinsights.v1.PhraseMatcher phrase_matcher = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.contactcenterinsights.v1.PhraseMatcher phrase_matcher = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The phraseMatcher. */ @java.lang.Override public com.google.cloud.contactcenterinsights.v1.PhraseMatcher getPhraseMatcher() { - return phraseMatcher_ == null ? com.google.cloud.contactcenterinsights.v1.PhraseMatcher.getDefaultInstance() : phraseMatcher_; + return phraseMatcher_ == null + ? com.google.cloud.contactcenterinsights.v1.PhraseMatcher.getDefaultInstance() + : phraseMatcher_; } /** + * + * *
    * Required. The phrase matcher resource to create.
    * 
* - * .google.cloud.contactcenterinsights.v1.PhraseMatcher phrase_matcher = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.contactcenterinsights.v1.PhraseMatcher phrase_matcher = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ @java.lang.Override - public com.google.cloud.contactcenterinsights.v1.PhraseMatcherOrBuilder getPhraseMatcherOrBuilder() { - return phraseMatcher_ == null ? com.google.cloud.contactcenterinsights.v1.PhraseMatcher.getDefaultInstance() : phraseMatcher_; + public com.google.cloud.contactcenterinsights.v1.PhraseMatcherOrBuilder + getPhraseMatcherOrBuilder() { + return phraseMatcher_ == null + ? com.google.cloud.contactcenterinsights.v1.PhraseMatcher.getDefaultInstance() + : phraseMatcher_; } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -151,8 +198,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); } @@ -172,8 +218,7 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, parent_); } if (phraseMatcher_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, getPhraseMatcher()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getPhraseMatcher()); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -183,19 +228,18 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.contactcenterinsights.v1.CreatePhraseMatcherRequest)) { return super.equals(obj); } - com.google.cloud.contactcenterinsights.v1.CreatePhraseMatcherRequest other = (com.google.cloud.contactcenterinsights.v1.CreatePhraseMatcherRequest) obj; + com.google.cloud.contactcenterinsights.v1.CreatePhraseMatcherRequest other = + (com.google.cloud.contactcenterinsights.v1.CreatePhraseMatcherRequest) obj; - if (!getParent() - .equals(other.getParent())) return false; + if (!getParent().equals(other.getParent())) return false; if (hasPhraseMatcher() != other.hasPhraseMatcher()) return false; if (hasPhraseMatcher()) { - if (!getPhraseMatcher() - .equals(other.getPhraseMatcher())) return false; + if (!getPhraseMatcher().equals(other.getPhraseMatcher())) return false; } if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -220,129 +264,138 @@ public int hashCode() { } public static com.google.cloud.contactcenterinsights.v1.CreatePhraseMatcherRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.contactcenterinsights.v1.CreatePhraseMatcherRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.contactcenterinsights.v1.CreatePhraseMatcherRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.contactcenterinsights.v1.CreatePhraseMatcherRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.contactcenterinsights.v1.CreatePhraseMatcherRequest parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.contactcenterinsights.v1.CreatePhraseMatcherRequest parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.contactcenterinsights.v1.CreatePhraseMatcherRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.contactcenterinsights.v1.CreatePhraseMatcherRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.contactcenterinsights.v1.CreatePhraseMatcherRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.contactcenterinsights.v1.CreatePhraseMatcherRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.contactcenterinsights.v1.CreatePhraseMatcherRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.contactcenterinsights.v1.CreatePhraseMatcherRequest + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.contactcenterinsights.v1.CreatePhraseMatcherRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + + public static com.google.cloud.contactcenterinsights.v1.CreatePhraseMatcherRequest + parseDelimitedFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.contactcenterinsights.v1.CreatePhraseMatcherRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.contactcenterinsights.v1.CreatePhraseMatcherRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.contactcenterinsights.v1.CreatePhraseMatcherRequest prototype) { + + public static Builder newBuilder( + com.google.cloud.contactcenterinsights.v1.CreatePhraseMatcherRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Request to create a phrase matcher.
    * 
* * Protobuf type {@code google.cloud.contactcenterinsights.v1.CreatePhraseMatcherRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.contactcenterinsights.v1.CreatePhraseMatcherRequest) com.google.cloud.contactcenterinsights.v1.CreatePhraseMatcherRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto.internal_static_google_cloud_contactcenterinsights_v1_CreatePhraseMatcherRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto + .internal_static_google_cloud_contactcenterinsights_v1_CreatePhraseMatcherRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto.internal_static_google_cloud_contactcenterinsights_v1_CreatePhraseMatcherRequest_fieldAccessorTable + return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto + .internal_static_google_cloud_contactcenterinsights_v1_CreatePhraseMatcherRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.contactcenterinsights.v1.CreatePhraseMatcherRequest.class, com.google.cloud.contactcenterinsights.v1.CreatePhraseMatcherRequest.Builder.class); + com.google.cloud.contactcenterinsights.v1.CreatePhraseMatcherRequest.class, + com.google.cloud.contactcenterinsights.v1.CreatePhraseMatcherRequest.Builder.class); } - // Construct using com.google.cloud.contactcenterinsights.v1.CreatePhraseMatcherRequest.newBuilder() - private Builder() { + // Construct using + // com.google.cloud.contactcenterinsights.v1.CreatePhraseMatcherRequest.newBuilder() + private Builder() {} - } - - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -357,14 +410,16 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto.internal_static_google_cloud_contactcenterinsights_v1_CreatePhraseMatcherRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto + .internal_static_google_cloud_contactcenterinsights_v1_CreatePhraseMatcherRequest_descriptor; } @java.lang.Override - public com.google.cloud.contactcenterinsights.v1.CreatePhraseMatcherRequest getDefaultInstanceForType() { - return com.google.cloud.contactcenterinsights.v1.CreatePhraseMatcherRequest.getDefaultInstance(); + public com.google.cloud.contactcenterinsights.v1.CreatePhraseMatcherRequest + getDefaultInstanceForType() { + return com.google.cloud.contactcenterinsights.v1.CreatePhraseMatcherRequest + .getDefaultInstance(); } @java.lang.Override @@ -378,21 +433,24 @@ public com.google.cloud.contactcenterinsights.v1.CreatePhraseMatcherRequest buil @java.lang.Override public com.google.cloud.contactcenterinsights.v1.CreatePhraseMatcherRequest buildPartial() { - com.google.cloud.contactcenterinsights.v1.CreatePhraseMatcherRequest result = new com.google.cloud.contactcenterinsights.v1.CreatePhraseMatcherRequest(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.cloud.contactcenterinsights.v1.CreatePhraseMatcherRequest result = + new com.google.cloud.contactcenterinsights.v1.CreatePhraseMatcherRequest(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } - private void buildPartial0(com.google.cloud.contactcenterinsights.v1.CreatePhraseMatcherRequest result) { + private void buildPartial0( + com.google.cloud.contactcenterinsights.v1.CreatePhraseMatcherRequest result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { result.parent_ = parent_; } if (((from_bitField0_ & 0x00000002) != 0)) { - result.phraseMatcher_ = phraseMatcherBuilder_ == null - ? phraseMatcher_ - : phraseMatcherBuilder_.build(); + result.phraseMatcher_ = + phraseMatcherBuilder_ == null ? phraseMatcher_ : phraseMatcherBuilder_.build(); } } @@ -400,46 +458,51 @@ private void buildPartial0(com.google.cloud.contactcenterinsights.v1.CreatePhras public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.contactcenterinsights.v1.CreatePhraseMatcherRequest) { - return mergeFrom((com.google.cloud.contactcenterinsights.v1.CreatePhraseMatcherRequest)other); + return mergeFrom( + (com.google.cloud.contactcenterinsights.v1.CreatePhraseMatcherRequest) other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.google.cloud.contactcenterinsights.v1.CreatePhraseMatcherRequest other) { - if (other == com.google.cloud.contactcenterinsights.v1.CreatePhraseMatcherRequest.getDefaultInstance()) return this; + public Builder mergeFrom( + com.google.cloud.contactcenterinsights.v1.CreatePhraseMatcherRequest other) { + if (other + == com.google.cloud.contactcenterinsights.v1.CreatePhraseMatcherRequest + .getDefaultInstance()) return this; if (!other.getParent().isEmpty()) { parent_ = other.parent_; bitField0_ |= 0x00000001; @@ -474,24 +537,25 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - parent_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: { - input.readMessage( - getPhraseMatcherFieldBuilder().getBuilder(), - extensionRegistry); - bitField0_ |= 0x00000002; - break; - } // case 18 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + parent_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: + { + input.readMessage(getPhraseMatcherFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000002; + break; + } // case 18 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -501,10 +565,13 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private java.lang.Object parent_ = ""; /** + * + * *
      * Required. The parent resource of the phrase matcher. Required. The location
      * to create a phrase matcher for. Format: `projects/<Project
@@ -512,14 +579,16 @@ public Builder mergeFrom(
      * Number>/locations/<Location ID>`
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The parent. */ public java.lang.String getParent() { java.lang.Object ref = parent_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; @@ -528,6 +597,8 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. The parent resource of the phrase matcher. Required. The location
      * to create a phrase matcher for. Format: `projects/<Project
@@ -535,16 +606,17 @@ public java.lang.String getParent() {
      * Number>/locations/<Location ID>`
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for parent. */ - public com.google.protobuf.ByteString - getParentBytes() { + public com.google.protobuf.ByteString getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); parent_ = b; return b; } else { @@ -552,6 +624,8 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. The parent resource of the phrase matcher. Required. The location
      * to create a phrase matcher for. Format: `projects/<Project
@@ -559,19 +633,25 @@ public java.lang.String getParent() {
      * Number>/locations/<Location ID>`
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The parent to set. * @return This builder for chaining. */ - public Builder setParent( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setParent(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } parent_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
      * Required. The parent resource of the phrase matcher. Required. The location
      * to create a phrase matcher for. Format: `projects/<Project
@@ -579,7 +659,10 @@ public Builder setParent(
      * Number>/locations/<Location ID>`
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return This builder for chaining. */ public Builder clearParent() { @@ -589,6 +672,8 @@ public Builder clearParent() { return this; } /** + * + * *
      * Required. The parent resource of the phrase matcher. Required. The location
      * to create a phrase matcher for. Format: `projects/<Project
@@ -596,13 +681,17 @@ public Builder clearParent() {
      * Number>/locations/<Location ID>`
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setParentBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); parent_ = value; bitField0_ |= 0x00000001; @@ -612,39 +701,58 @@ public Builder setParentBytes( private com.google.cloud.contactcenterinsights.v1.PhraseMatcher phraseMatcher_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.contactcenterinsights.v1.PhraseMatcher, com.google.cloud.contactcenterinsights.v1.PhraseMatcher.Builder, com.google.cloud.contactcenterinsights.v1.PhraseMatcherOrBuilder> phraseMatcherBuilder_; + com.google.cloud.contactcenterinsights.v1.PhraseMatcher, + com.google.cloud.contactcenterinsights.v1.PhraseMatcher.Builder, + com.google.cloud.contactcenterinsights.v1.PhraseMatcherOrBuilder> + phraseMatcherBuilder_; /** + * + * *
      * Required. The phrase matcher resource to create.
      * 
* - * .google.cloud.contactcenterinsights.v1.PhraseMatcher phrase_matcher = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.contactcenterinsights.v1.PhraseMatcher phrase_matcher = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the phraseMatcher field is set. */ public boolean hasPhraseMatcher() { return ((bitField0_ & 0x00000002) != 0); } /** + * + * *
      * Required. The phrase matcher resource to create.
      * 
* - * .google.cloud.contactcenterinsights.v1.PhraseMatcher phrase_matcher = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.contactcenterinsights.v1.PhraseMatcher phrase_matcher = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The phraseMatcher. */ public com.google.cloud.contactcenterinsights.v1.PhraseMatcher getPhraseMatcher() { if (phraseMatcherBuilder_ == null) { - return phraseMatcher_ == null ? com.google.cloud.contactcenterinsights.v1.PhraseMatcher.getDefaultInstance() : phraseMatcher_; + return phraseMatcher_ == null + ? com.google.cloud.contactcenterinsights.v1.PhraseMatcher.getDefaultInstance() + : phraseMatcher_; } else { return phraseMatcherBuilder_.getMessage(); } } /** + * + * *
      * Required. The phrase matcher resource to create.
      * 
* - * .google.cloud.contactcenterinsights.v1.PhraseMatcher phrase_matcher = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.contactcenterinsights.v1.PhraseMatcher phrase_matcher = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder setPhraseMatcher(com.google.cloud.contactcenterinsights.v1.PhraseMatcher value) { if (phraseMatcherBuilder_ == null) { @@ -660,11 +768,15 @@ public Builder setPhraseMatcher(com.google.cloud.contactcenterinsights.v1.Phrase return this; } /** + * + * *
      * Required. The phrase matcher resource to create.
      * 
* - * .google.cloud.contactcenterinsights.v1.PhraseMatcher phrase_matcher = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.contactcenterinsights.v1.PhraseMatcher phrase_matcher = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder setPhraseMatcher( com.google.cloud.contactcenterinsights.v1.PhraseMatcher.Builder builderForValue) { @@ -678,17 +790,23 @@ public Builder setPhraseMatcher( return this; } /** + * + * *
      * Required. The phrase matcher resource to create.
      * 
* - * .google.cloud.contactcenterinsights.v1.PhraseMatcher phrase_matcher = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.contactcenterinsights.v1.PhraseMatcher phrase_matcher = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ - public Builder mergePhraseMatcher(com.google.cloud.contactcenterinsights.v1.PhraseMatcher value) { + public Builder mergePhraseMatcher( + com.google.cloud.contactcenterinsights.v1.PhraseMatcher value) { if (phraseMatcherBuilder_ == null) { - if (((bitField0_ & 0x00000002) != 0) && - phraseMatcher_ != null && - phraseMatcher_ != com.google.cloud.contactcenterinsights.v1.PhraseMatcher.getDefaultInstance()) { + if (((bitField0_ & 0x00000002) != 0) + && phraseMatcher_ != null + && phraseMatcher_ + != com.google.cloud.contactcenterinsights.v1.PhraseMatcher.getDefaultInstance()) { getPhraseMatcherBuilder().mergeFrom(value); } else { phraseMatcher_ = value; @@ -701,11 +819,15 @@ public Builder mergePhraseMatcher(com.google.cloud.contactcenterinsights.v1.Phra return this; } /** + * + * *
      * Required. The phrase matcher resource to create.
      * 
* - * .google.cloud.contactcenterinsights.v1.PhraseMatcher phrase_matcher = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.contactcenterinsights.v1.PhraseMatcher phrase_matcher = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder clearPhraseMatcher() { bitField0_ = (bitField0_ & ~0x00000002); @@ -718,55 +840,73 @@ public Builder clearPhraseMatcher() { return this; } /** + * + * *
      * Required. The phrase matcher resource to create.
      * 
* - * .google.cloud.contactcenterinsights.v1.PhraseMatcher phrase_matcher = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.contactcenterinsights.v1.PhraseMatcher phrase_matcher = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ - public com.google.cloud.contactcenterinsights.v1.PhraseMatcher.Builder getPhraseMatcherBuilder() { + public com.google.cloud.contactcenterinsights.v1.PhraseMatcher.Builder + getPhraseMatcherBuilder() { bitField0_ |= 0x00000002; onChanged(); return getPhraseMatcherFieldBuilder().getBuilder(); } /** + * + * *
      * Required. The phrase matcher resource to create.
      * 
* - * .google.cloud.contactcenterinsights.v1.PhraseMatcher phrase_matcher = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.contactcenterinsights.v1.PhraseMatcher phrase_matcher = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ - public com.google.cloud.contactcenterinsights.v1.PhraseMatcherOrBuilder getPhraseMatcherOrBuilder() { + public com.google.cloud.contactcenterinsights.v1.PhraseMatcherOrBuilder + getPhraseMatcherOrBuilder() { if (phraseMatcherBuilder_ != null) { return phraseMatcherBuilder_.getMessageOrBuilder(); } else { - return phraseMatcher_ == null ? - com.google.cloud.contactcenterinsights.v1.PhraseMatcher.getDefaultInstance() : phraseMatcher_; + return phraseMatcher_ == null + ? com.google.cloud.contactcenterinsights.v1.PhraseMatcher.getDefaultInstance() + : phraseMatcher_; } } /** + * + * *
      * Required. The phrase matcher resource to create.
      * 
* - * .google.cloud.contactcenterinsights.v1.PhraseMatcher phrase_matcher = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.contactcenterinsights.v1.PhraseMatcher phrase_matcher = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.contactcenterinsights.v1.PhraseMatcher, com.google.cloud.contactcenterinsights.v1.PhraseMatcher.Builder, com.google.cloud.contactcenterinsights.v1.PhraseMatcherOrBuilder> + com.google.cloud.contactcenterinsights.v1.PhraseMatcher, + com.google.cloud.contactcenterinsights.v1.PhraseMatcher.Builder, + com.google.cloud.contactcenterinsights.v1.PhraseMatcherOrBuilder> getPhraseMatcherFieldBuilder() { if (phraseMatcherBuilder_ == null) { - phraseMatcherBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.contactcenterinsights.v1.PhraseMatcher, com.google.cloud.contactcenterinsights.v1.PhraseMatcher.Builder, com.google.cloud.contactcenterinsights.v1.PhraseMatcherOrBuilder>( - getPhraseMatcher(), - getParentForChildren(), - isClean()); + phraseMatcherBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.contactcenterinsights.v1.PhraseMatcher, + com.google.cloud.contactcenterinsights.v1.PhraseMatcher.Builder, + com.google.cloud.contactcenterinsights.v1.PhraseMatcherOrBuilder>( + getPhraseMatcher(), getParentForChildren(), isClean()); phraseMatcher_ = null; } return phraseMatcherBuilder_; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -776,41 +916,43 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.contactcenterinsights.v1.CreatePhraseMatcherRequest) } // @@protoc_insertion_point(class_scope:google.cloud.contactcenterinsights.v1.CreatePhraseMatcherRequest) - private static final com.google.cloud.contactcenterinsights.v1.CreatePhraseMatcherRequest DEFAULT_INSTANCE; + private static final com.google.cloud.contactcenterinsights.v1.CreatePhraseMatcherRequest + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.contactcenterinsights.v1.CreatePhraseMatcherRequest(); } - public static com.google.cloud.contactcenterinsights.v1.CreatePhraseMatcherRequest getDefaultInstance() { + public static com.google.cloud.contactcenterinsights.v1.CreatePhraseMatcherRequest + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public CreatePhraseMatcherRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public CreatePhraseMatcherRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -822,9 +964,8 @@ public com.google.protobuf.Parser getParserForType() } @java.lang.Override - public com.google.cloud.contactcenterinsights.v1.CreatePhraseMatcherRequest getDefaultInstanceForType() { + public com.google.cloud.contactcenterinsights.v1.CreatePhraseMatcherRequest + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/CreatePhraseMatcherRequestOrBuilder.java b/java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/CreatePhraseMatcherRequestOrBuilder.java similarity index 52% rename from owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/CreatePhraseMatcherRequestOrBuilder.java rename to java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/CreatePhraseMatcherRequestOrBuilder.java index 4fedb54bff43..7fa0b16760c1 100644 --- a/owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/CreatePhraseMatcherRequestOrBuilder.java +++ b/java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/CreatePhraseMatcherRequestOrBuilder.java @@ -1,13 +1,31 @@ +/* + * 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. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/contactcenterinsights/v1/contact_center_insights.proto package com.google.cloud.contactcenterinsights.v1; -public interface CreatePhraseMatcherRequestOrBuilder extends +public interface CreatePhraseMatcherRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.contactcenterinsights.v1.CreatePhraseMatcherRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Required. The parent resource of the phrase matcher. Required. The location
    * to create a phrase matcher for. Format: `projects/<Project
@@ -15,11 +33,16 @@ public interface CreatePhraseMatcherRequestOrBuilder extends
    * Number>/locations/<Location ID>`
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The parent. */ java.lang.String getParent(); /** + * + * *
    * Required. The parent resource of the phrase matcher. Required. The location
    * to create a phrase matcher for. Format: `projects/<Project
@@ -27,36 +50,52 @@ public interface CreatePhraseMatcherRequestOrBuilder extends
    * Number>/locations/<Location ID>`
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for parent. */ - com.google.protobuf.ByteString - getParentBytes(); + com.google.protobuf.ByteString getParentBytes(); /** + * + * *
    * Required. The phrase matcher resource to create.
    * 
* - * .google.cloud.contactcenterinsights.v1.PhraseMatcher phrase_matcher = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.contactcenterinsights.v1.PhraseMatcher phrase_matcher = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the phraseMatcher field is set. */ boolean hasPhraseMatcher(); /** + * + * *
    * Required. The phrase matcher resource to create.
    * 
* - * .google.cloud.contactcenterinsights.v1.PhraseMatcher phrase_matcher = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.contactcenterinsights.v1.PhraseMatcher phrase_matcher = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The phraseMatcher. */ com.google.cloud.contactcenterinsights.v1.PhraseMatcher getPhraseMatcher(); /** + * + * *
    * Required. The phrase matcher resource to create.
    * 
* - * .google.cloud.contactcenterinsights.v1.PhraseMatcher phrase_matcher = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.contactcenterinsights.v1.PhraseMatcher phrase_matcher = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ com.google.cloud.contactcenterinsights.v1.PhraseMatcherOrBuilder getPhraseMatcherOrBuilder(); } diff --git a/owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/CreateViewRequest.java b/java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/CreateViewRequest.java similarity index 62% rename from owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/CreateViewRequest.java rename to java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/CreateViewRequest.java index fefb44d7d05c..1f1316e446f4 100644 --- a/owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/CreateViewRequest.java +++ b/java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/CreateViewRequest.java @@ -1,57 +1,79 @@ +/* + * 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. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/contactcenterinsights/v1/contact_center_insights.proto package com.google.cloud.contactcenterinsights.v1; /** + * + * *
  * The request to create a view.
  * 
* * Protobuf type {@code google.cloud.contactcenterinsights.v1.CreateViewRequest} */ -public final class CreateViewRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class CreateViewRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.contactcenterinsights.v1.CreateViewRequest) CreateViewRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use CreateViewRequest.newBuilder() to construct. private CreateViewRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private CreateViewRequest() { parent_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new CreateViewRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto.internal_static_google_cloud_contactcenterinsights_v1_CreateViewRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto + .internal_static_google_cloud_contactcenterinsights_v1_CreateViewRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto.internal_static_google_cloud_contactcenterinsights_v1_CreateViewRequest_fieldAccessorTable + return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto + .internal_static_google_cloud_contactcenterinsights_v1_CreateViewRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.contactcenterinsights.v1.CreateViewRequest.class, com.google.cloud.contactcenterinsights.v1.CreateViewRequest.Builder.class); + com.google.cloud.contactcenterinsights.v1.CreateViewRequest.class, + com.google.cloud.contactcenterinsights.v1.CreateViewRequest.Builder.class); } public static final int PARENT_FIELD_NUMBER = 1; + @SuppressWarnings("serial") private volatile java.lang.Object parent_ = ""; /** + * + * *
    * Required. The parent resource of the view. Required. The location to create
    * a view for.
@@ -59,7 +81,10 @@ protected java.lang.Object newInstance(
    * `projects/<Project Number>/locations/<Location ID>`
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The parent. */ @java.lang.Override @@ -68,14 +93,15 @@ public java.lang.String getParent() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; } } /** + * + * *
    * Required. The parent resource of the view. Required. The location to create
    * a view for.
@@ -83,17 +109,18 @@ public java.lang.String getParent() {
    * `projects/<Project Number>/locations/<Location ID>`
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for parent. */ @java.lang.Override - public com.google.protobuf.ByteString - getParentBytes() { + public com.google.protobuf.ByteString getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); parent_ = b; return b; } else { @@ -104,11 +131,16 @@ public java.lang.String getParent() { public static final int VIEW_FIELD_NUMBER = 2; private com.google.cloud.contactcenterinsights.v1.View view_; /** + * + * *
    * Required. The view resource to create.
    * 
* - * .google.cloud.contactcenterinsights.v1.View view = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.contactcenterinsights.v1.View view = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the view field is set. */ @java.lang.Override @@ -116,30 +148,44 @@ public boolean hasView() { return view_ != null; } /** + * + * *
    * Required. The view resource to create.
    * 
* - * .google.cloud.contactcenterinsights.v1.View view = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.contactcenterinsights.v1.View view = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The view. */ @java.lang.Override public com.google.cloud.contactcenterinsights.v1.View getView() { - return view_ == null ? com.google.cloud.contactcenterinsights.v1.View.getDefaultInstance() : view_; + return view_ == null + ? com.google.cloud.contactcenterinsights.v1.View.getDefaultInstance() + : view_; } /** + * + * *
    * Required. The view resource to create.
    * 
* - * .google.cloud.contactcenterinsights.v1.View view = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.contactcenterinsights.v1.View view = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ @java.lang.Override public com.google.cloud.contactcenterinsights.v1.ViewOrBuilder getViewOrBuilder() { - return view_ == null ? com.google.cloud.contactcenterinsights.v1.View.getDefaultInstance() : view_; + return view_ == null + ? com.google.cloud.contactcenterinsights.v1.View.getDefaultInstance() + : view_; } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -151,8 +197,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); } @@ -172,8 +217,7 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, parent_); } if (view_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, getView()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getView()); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -183,19 +227,18 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.contactcenterinsights.v1.CreateViewRequest)) { return super.equals(obj); } - com.google.cloud.contactcenterinsights.v1.CreateViewRequest other = (com.google.cloud.contactcenterinsights.v1.CreateViewRequest) obj; + com.google.cloud.contactcenterinsights.v1.CreateViewRequest other = + (com.google.cloud.contactcenterinsights.v1.CreateViewRequest) obj; - if (!getParent() - .equals(other.getParent())) return false; + if (!getParent().equals(other.getParent())) return false; if (hasView() != other.hasView()) return false; if (hasView()) { - if (!getView() - .equals(other.getView())) return false; + if (!getView().equals(other.getView())) return false; } if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -220,129 +263,136 @@ public int hashCode() { } public static com.google.cloud.contactcenterinsights.v1.CreateViewRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.contactcenterinsights.v1.CreateViewRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.contactcenterinsights.v1.CreateViewRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.contactcenterinsights.v1.CreateViewRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.contactcenterinsights.v1.CreateViewRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.contactcenterinsights.v1.CreateViewRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.contactcenterinsights.v1.CreateViewRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.contactcenterinsights.v1.CreateViewRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.contactcenterinsights.v1.CreateViewRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.contactcenterinsights.v1.CreateViewRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.contactcenterinsights.v1.CreateViewRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.contactcenterinsights.v1.CreateViewRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.contactcenterinsights.v1.CreateViewRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.contactcenterinsights.v1.CreateViewRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.contactcenterinsights.v1.CreateViewRequest prototype) { + + public static Builder newBuilder( + com.google.cloud.contactcenterinsights.v1.CreateViewRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * The request to create a view.
    * 
* * Protobuf type {@code google.cloud.contactcenterinsights.v1.CreateViewRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.contactcenterinsights.v1.CreateViewRequest) com.google.cloud.contactcenterinsights.v1.CreateViewRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto.internal_static_google_cloud_contactcenterinsights_v1_CreateViewRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto + .internal_static_google_cloud_contactcenterinsights_v1_CreateViewRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto.internal_static_google_cloud_contactcenterinsights_v1_CreateViewRequest_fieldAccessorTable + return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto + .internal_static_google_cloud_contactcenterinsights_v1_CreateViewRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.contactcenterinsights.v1.CreateViewRequest.class, com.google.cloud.contactcenterinsights.v1.CreateViewRequest.Builder.class); + com.google.cloud.contactcenterinsights.v1.CreateViewRequest.class, + com.google.cloud.contactcenterinsights.v1.CreateViewRequest.Builder.class); } // Construct using com.google.cloud.contactcenterinsights.v1.CreateViewRequest.newBuilder() - private Builder() { + private Builder() {} - } - - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -357,9 +407,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto.internal_static_google_cloud_contactcenterinsights_v1_CreateViewRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto + .internal_static_google_cloud_contactcenterinsights_v1_CreateViewRequest_descriptor; } @java.lang.Override @@ -378,8 +428,11 @@ public com.google.cloud.contactcenterinsights.v1.CreateViewRequest build() { @java.lang.Override public com.google.cloud.contactcenterinsights.v1.CreateViewRequest buildPartial() { - com.google.cloud.contactcenterinsights.v1.CreateViewRequest result = new com.google.cloud.contactcenterinsights.v1.CreateViewRequest(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.cloud.contactcenterinsights.v1.CreateViewRequest result = + new com.google.cloud.contactcenterinsights.v1.CreateViewRequest(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } @@ -390,9 +443,7 @@ private void buildPartial0(com.google.cloud.contactcenterinsights.v1.CreateViewR result.parent_ = parent_; } if (((from_bitField0_ & 0x00000002) != 0)) { - result.view_ = viewBuilder_ == null - ? view_ - : viewBuilder_.build(); + result.view_ = viewBuilder_ == null ? view_ : viewBuilder_.build(); } } @@ -400,38 +451,39 @@ private void buildPartial0(com.google.cloud.contactcenterinsights.v1.CreateViewR public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.contactcenterinsights.v1.CreateViewRequest) { - return mergeFrom((com.google.cloud.contactcenterinsights.v1.CreateViewRequest)other); + return mergeFrom((com.google.cloud.contactcenterinsights.v1.CreateViewRequest) other); } else { super.mergeFrom(other); return this; @@ -439,7 +491,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.contactcenterinsights.v1.CreateViewRequest other) { - if (other == com.google.cloud.contactcenterinsights.v1.CreateViewRequest.getDefaultInstance()) return this; + if (other == com.google.cloud.contactcenterinsights.v1.CreateViewRequest.getDefaultInstance()) + return this; if (!other.getParent().isEmpty()) { parent_ = other.parent_; bitField0_ |= 0x00000001; @@ -474,24 +527,25 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - parent_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: { - input.readMessage( - getViewFieldBuilder().getBuilder(), - extensionRegistry); - bitField0_ |= 0x00000002; - break; - } // case 18 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + parent_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: + { + input.readMessage(getViewFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000002; + break; + } // case 18 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -501,10 +555,13 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private java.lang.Object parent_ = ""; /** + * + * *
      * Required. The parent resource of the view. Required. The location to create
      * a view for.
@@ -512,14 +569,16 @@ public Builder mergeFrom(
      * `projects/<Project Number>/locations/<Location ID>`
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The parent. */ public java.lang.String getParent() { java.lang.Object ref = parent_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; @@ -528,6 +587,8 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. The parent resource of the view. Required. The location to create
      * a view for.
@@ -535,16 +596,17 @@ public java.lang.String getParent() {
      * `projects/<Project Number>/locations/<Location ID>`
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for parent. */ - public com.google.protobuf.ByteString - getParentBytes() { + public com.google.protobuf.ByteString getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); parent_ = b; return b; } else { @@ -552,6 +614,8 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. The parent resource of the view. Required. The location to create
      * a view for.
@@ -559,19 +623,25 @@ public java.lang.String getParent() {
      * `projects/<Project Number>/locations/<Location ID>`
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The parent to set. * @return This builder for chaining. */ - public Builder setParent( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setParent(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } parent_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
      * Required. The parent resource of the view. Required. The location to create
      * a view for.
@@ -579,7 +649,10 @@ public Builder setParent(
      * `projects/<Project Number>/locations/<Location ID>`
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return This builder for chaining. */ public Builder clearParent() { @@ -589,6 +662,8 @@ public Builder clearParent() { return this; } /** + * + * *
      * Required. The parent resource of the view. Required. The location to create
      * a view for.
@@ -596,13 +671,17 @@ public Builder clearParent() {
      * `projects/<Project Number>/locations/<Location ID>`
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setParentBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); parent_ = value; bitField0_ |= 0x00000001; @@ -612,39 +691,58 @@ public Builder setParentBytes( private com.google.cloud.contactcenterinsights.v1.View view_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.contactcenterinsights.v1.View, com.google.cloud.contactcenterinsights.v1.View.Builder, com.google.cloud.contactcenterinsights.v1.ViewOrBuilder> viewBuilder_; + com.google.cloud.contactcenterinsights.v1.View, + com.google.cloud.contactcenterinsights.v1.View.Builder, + com.google.cloud.contactcenterinsights.v1.ViewOrBuilder> + viewBuilder_; /** + * + * *
      * Required. The view resource to create.
      * 
* - * .google.cloud.contactcenterinsights.v1.View view = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.contactcenterinsights.v1.View view = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the view field is set. */ public boolean hasView() { return ((bitField0_ & 0x00000002) != 0); } /** + * + * *
      * Required. The view resource to create.
      * 
* - * .google.cloud.contactcenterinsights.v1.View view = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.contactcenterinsights.v1.View view = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The view. */ public com.google.cloud.contactcenterinsights.v1.View getView() { if (viewBuilder_ == null) { - return view_ == null ? com.google.cloud.contactcenterinsights.v1.View.getDefaultInstance() : view_; + return view_ == null + ? com.google.cloud.contactcenterinsights.v1.View.getDefaultInstance() + : view_; } else { return viewBuilder_.getMessage(); } } /** + * + * *
      * Required. The view resource to create.
      * 
* - * .google.cloud.contactcenterinsights.v1.View view = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.contactcenterinsights.v1.View view = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder setView(com.google.cloud.contactcenterinsights.v1.View value) { if (viewBuilder_ == null) { @@ -660,14 +758,17 @@ public Builder setView(com.google.cloud.contactcenterinsights.v1.View value) { return this; } /** + * + * *
      * Required. The view resource to create.
      * 
* - * .google.cloud.contactcenterinsights.v1.View view = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.contactcenterinsights.v1.View view = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ - public Builder setView( - com.google.cloud.contactcenterinsights.v1.View.Builder builderForValue) { + public Builder setView(com.google.cloud.contactcenterinsights.v1.View.Builder builderForValue) { if (viewBuilder_ == null) { view_ = builderForValue.build(); } else { @@ -678,17 +779,21 @@ public Builder setView( return this; } /** + * + * *
      * Required. The view resource to create.
      * 
* - * .google.cloud.contactcenterinsights.v1.View view = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.contactcenterinsights.v1.View view = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder mergeView(com.google.cloud.contactcenterinsights.v1.View value) { if (viewBuilder_ == null) { - if (((bitField0_ & 0x00000002) != 0) && - view_ != null && - view_ != com.google.cloud.contactcenterinsights.v1.View.getDefaultInstance()) { + if (((bitField0_ & 0x00000002) != 0) + && view_ != null + && view_ != com.google.cloud.contactcenterinsights.v1.View.getDefaultInstance()) { getViewBuilder().mergeFrom(value); } else { view_ = value; @@ -701,11 +806,15 @@ public Builder mergeView(com.google.cloud.contactcenterinsights.v1.View value) { return this; } /** + * + * *
      * Required. The view resource to create.
      * 
* - * .google.cloud.contactcenterinsights.v1.View view = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.contactcenterinsights.v1.View view = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder clearView() { bitField0_ = (bitField0_ & ~0x00000002); @@ -718,11 +827,15 @@ public Builder clearView() { return this; } /** + * + * *
      * Required. The view resource to create.
      * 
* - * .google.cloud.contactcenterinsights.v1.View view = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.contactcenterinsights.v1.View view = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.cloud.contactcenterinsights.v1.View.Builder getViewBuilder() { bitField0_ |= 0x00000002; @@ -730,43 +843,55 @@ public com.google.cloud.contactcenterinsights.v1.View.Builder getViewBuilder() { return getViewFieldBuilder().getBuilder(); } /** + * + * *
      * Required. The view resource to create.
      * 
* - * .google.cloud.contactcenterinsights.v1.View view = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.contactcenterinsights.v1.View view = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.cloud.contactcenterinsights.v1.ViewOrBuilder getViewOrBuilder() { if (viewBuilder_ != null) { return viewBuilder_.getMessageOrBuilder(); } else { - return view_ == null ? - com.google.cloud.contactcenterinsights.v1.View.getDefaultInstance() : view_; + return view_ == null + ? com.google.cloud.contactcenterinsights.v1.View.getDefaultInstance() + : view_; } } /** + * + * *
      * Required. The view resource to create.
      * 
* - * .google.cloud.contactcenterinsights.v1.View view = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.contactcenterinsights.v1.View view = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.contactcenterinsights.v1.View, com.google.cloud.contactcenterinsights.v1.View.Builder, com.google.cloud.contactcenterinsights.v1.ViewOrBuilder> + com.google.cloud.contactcenterinsights.v1.View, + com.google.cloud.contactcenterinsights.v1.View.Builder, + com.google.cloud.contactcenterinsights.v1.ViewOrBuilder> getViewFieldBuilder() { if (viewBuilder_ == null) { - viewBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.contactcenterinsights.v1.View, com.google.cloud.contactcenterinsights.v1.View.Builder, com.google.cloud.contactcenterinsights.v1.ViewOrBuilder>( - getView(), - getParentForChildren(), - isClean()); + viewBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.contactcenterinsights.v1.View, + com.google.cloud.contactcenterinsights.v1.View.Builder, + com.google.cloud.contactcenterinsights.v1.ViewOrBuilder>( + getView(), getParentForChildren(), isClean()); view_ = null; } return viewBuilder_; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -776,12 +901,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.contactcenterinsights.v1.CreateViewRequest) } // @@protoc_insertion_point(class_scope:google.cloud.contactcenterinsights.v1.CreateViewRequest) private static final com.google.cloud.contactcenterinsights.v1.CreateViewRequest DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.contactcenterinsights.v1.CreateViewRequest(); } @@ -790,27 +915,27 @@ public static com.google.cloud.contactcenterinsights.v1.CreateViewRequest getDef return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public CreateViewRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public CreateViewRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -825,6 +950,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.contactcenterinsights.v1.CreateViewRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/CreateViewRequestOrBuilder.java b/java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/CreateViewRequestOrBuilder.java similarity index 51% rename from owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/CreateViewRequestOrBuilder.java rename to java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/CreateViewRequestOrBuilder.java index a28331f203c8..cfde33431daf 100644 --- a/owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/CreateViewRequestOrBuilder.java +++ b/java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/CreateViewRequestOrBuilder.java @@ -1,13 +1,31 @@ +/* + * 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. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/contactcenterinsights/v1/contact_center_insights.proto package com.google.cloud.contactcenterinsights.v1; -public interface CreateViewRequestOrBuilder extends +public interface CreateViewRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.contactcenterinsights.v1.CreateViewRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Required. The parent resource of the view. Required. The location to create
    * a view for.
@@ -15,11 +33,16 @@ public interface CreateViewRequestOrBuilder extends
    * `projects/<Project Number>/locations/<Location ID>`
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The parent. */ java.lang.String getParent(); /** + * + * *
    * Required. The parent resource of the view. Required. The location to create
    * a view for.
@@ -27,36 +50,52 @@ public interface CreateViewRequestOrBuilder extends
    * `projects/<Project Number>/locations/<Location ID>`
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for parent. */ - com.google.protobuf.ByteString - getParentBytes(); + com.google.protobuf.ByteString getParentBytes(); /** + * + * *
    * Required. The view resource to create.
    * 
* - * .google.cloud.contactcenterinsights.v1.View view = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.contactcenterinsights.v1.View view = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the view field is set. */ boolean hasView(); /** + * + * *
    * Required. The view resource to create.
    * 
* - * .google.cloud.contactcenterinsights.v1.View view = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.contactcenterinsights.v1.View view = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The view. */ com.google.cloud.contactcenterinsights.v1.View getView(); /** + * + * *
    * Required. The view resource to create.
    * 
* - * .google.cloud.contactcenterinsights.v1.View view = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.contactcenterinsights.v1.View view = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ com.google.cloud.contactcenterinsights.v1.ViewOrBuilder getViewOrBuilder(); } diff --git a/owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/DeleteAnalysisRequest.java b/java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/DeleteAnalysisRequest.java similarity index 60% rename from owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/DeleteAnalysisRequest.java rename to java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/DeleteAnalysisRequest.java index b68754991d4d..d09d8b6ce0b9 100644 --- a/owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/DeleteAnalysisRequest.java +++ b/java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/DeleteAnalysisRequest.java @@ -1,62 +1,87 @@ +/* + * 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. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/contactcenterinsights/v1/contact_center_insights.proto package com.google.cloud.contactcenterinsights.v1; /** + * + * *
  * The request to delete an analysis.
  * 
* * Protobuf type {@code google.cloud.contactcenterinsights.v1.DeleteAnalysisRequest} */ -public final class DeleteAnalysisRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class DeleteAnalysisRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.contactcenterinsights.v1.DeleteAnalysisRequest) DeleteAnalysisRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use DeleteAnalysisRequest.newBuilder() to construct. private DeleteAnalysisRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private DeleteAnalysisRequest() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new DeleteAnalysisRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto.internal_static_google_cloud_contactcenterinsights_v1_DeleteAnalysisRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto + .internal_static_google_cloud_contactcenterinsights_v1_DeleteAnalysisRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto.internal_static_google_cloud_contactcenterinsights_v1_DeleteAnalysisRequest_fieldAccessorTable + return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto + .internal_static_google_cloud_contactcenterinsights_v1_DeleteAnalysisRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.contactcenterinsights.v1.DeleteAnalysisRequest.class, com.google.cloud.contactcenterinsights.v1.DeleteAnalysisRequest.Builder.class); + com.google.cloud.contactcenterinsights.v1.DeleteAnalysisRequest.class, + com.google.cloud.contactcenterinsights.v1.DeleteAnalysisRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; + @SuppressWarnings("serial") private volatile java.lang.Object name_ = ""; /** + * + * *
    * Required. The name of the analysis to delete.
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ @java.lang.Override @@ -65,29 +90,31 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** + * + * *
    * Required. The name of the analysis to delete.
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -96,6 +123,7 @@ public java.lang.String getName() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -107,8 +135,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -132,15 +159,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.contactcenterinsights.v1.DeleteAnalysisRequest)) { return super.equals(obj); } - com.google.cloud.contactcenterinsights.v1.DeleteAnalysisRequest other = (com.google.cloud.contactcenterinsights.v1.DeleteAnalysisRequest) obj; + com.google.cloud.contactcenterinsights.v1.DeleteAnalysisRequest other = + (com.google.cloud.contactcenterinsights.v1.DeleteAnalysisRequest) obj; - if (!getName() - .equals(other.getName())) return false; + if (!getName().equals(other.getName())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -160,129 +187,136 @@ public int hashCode() { } public static com.google.cloud.contactcenterinsights.v1.DeleteAnalysisRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.contactcenterinsights.v1.DeleteAnalysisRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.contactcenterinsights.v1.DeleteAnalysisRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.contactcenterinsights.v1.DeleteAnalysisRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.contactcenterinsights.v1.DeleteAnalysisRequest parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.contactcenterinsights.v1.DeleteAnalysisRequest parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.contactcenterinsights.v1.DeleteAnalysisRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.contactcenterinsights.v1.DeleteAnalysisRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.contactcenterinsights.v1.DeleteAnalysisRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.contactcenterinsights.v1.DeleteAnalysisRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.contactcenterinsights.v1.DeleteAnalysisRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.contactcenterinsights.v1.DeleteAnalysisRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.contactcenterinsights.v1.DeleteAnalysisRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.contactcenterinsights.v1.DeleteAnalysisRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.contactcenterinsights.v1.DeleteAnalysisRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.contactcenterinsights.v1.DeleteAnalysisRequest prototype) { + + public static Builder newBuilder( + com.google.cloud.contactcenterinsights.v1.DeleteAnalysisRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * The request to delete an analysis.
    * 
* * Protobuf type {@code google.cloud.contactcenterinsights.v1.DeleteAnalysisRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.contactcenterinsights.v1.DeleteAnalysisRequest) com.google.cloud.contactcenterinsights.v1.DeleteAnalysisRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto.internal_static_google_cloud_contactcenterinsights_v1_DeleteAnalysisRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto + .internal_static_google_cloud_contactcenterinsights_v1_DeleteAnalysisRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto.internal_static_google_cloud_contactcenterinsights_v1_DeleteAnalysisRequest_fieldAccessorTable + return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto + .internal_static_google_cloud_contactcenterinsights_v1_DeleteAnalysisRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.contactcenterinsights.v1.DeleteAnalysisRequest.class, com.google.cloud.contactcenterinsights.v1.DeleteAnalysisRequest.Builder.class); + com.google.cloud.contactcenterinsights.v1.DeleteAnalysisRequest.class, + com.google.cloud.contactcenterinsights.v1.DeleteAnalysisRequest.Builder.class); } // Construct using com.google.cloud.contactcenterinsights.v1.DeleteAnalysisRequest.newBuilder() - private Builder() { + private Builder() {} - } - - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -292,13 +326,14 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto.internal_static_google_cloud_contactcenterinsights_v1_DeleteAnalysisRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto + .internal_static_google_cloud_contactcenterinsights_v1_DeleteAnalysisRequest_descriptor; } @java.lang.Override - public com.google.cloud.contactcenterinsights.v1.DeleteAnalysisRequest getDefaultInstanceForType() { + public com.google.cloud.contactcenterinsights.v1.DeleteAnalysisRequest + getDefaultInstanceForType() { return com.google.cloud.contactcenterinsights.v1.DeleteAnalysisRequest.getDefaultInstance(); } @@ -313,13 +348,17 @@ public com.google.cloud.contactcenterinsights.v1.DeleteAnalysisRequest build() { @java.lang.Override public com.google.cloud.contactcenterinsights.v1.DeleteAnalysisRequest buildPartial() { - com.google.cloud.contactcenterinsights.v1.DeleteAnalysisRequest result = new com.google.cloud.contactcenterinsights.v1.DeleteAnalysisRequest(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.cloud.contactcenterinsights.v1.DeleteAnalysisRequest result = + new com.google.cloud.contactcenterinsights.v1.DeleteAnalysisRequest(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } - private void buildPartial0(com.google.cloud.contactcenterinsights.v1.DeleteAnalysisRequest result) { + private void buildPartial0( + com.google.cloud.contactcenterinsights.v1.DeleteAnalysisRequest result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { result.name_ = name_; @@ -330,46 +369,50 @@ private void buildPartial0(com.google.cloud.contactcenterinsights.v1.DeleteAnaly public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.contactcenterinsights.v1.DeleteAnalysisRequest) { - return mergeFrom((com.google.cloud.contactcenterinsights.v1.DeleteAnalysisRequest)other); + return mergeFrom((com.google.cloud.contactcenterinsights.v1.DeleteAnalysisRequest) other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.google.cloud.contactcenterinsights.v1.DeleteAnalysisRequest other) { - if (other == com.google.cloud.contactcenterinsights.v1.DeleteAnalysisRequest.getDefaultInstance()) return this; + public Builder mergeFrom( + com.google.cloud.contactcenterinsights.v1.DeleteAnalysisRequest other) { + if (other + == com.google.cloud.contactcenterinsights.v1.DeleteAnalysisRequest.getDefaultInstance()) + return this; if (!other.getName().isEmpty()) { name_ = other.name_; bitField0_ |= 0x00000001; @@ -401,17 +444,19 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - name_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + name_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -421,22 +466,27 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private java.lang.Object name_ = ""; /** + * + * *
      * Required. The name of the analysis to delete.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -445,20 +495,23 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The name of the analysis to delete.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for name. */ - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -466,28 +519,39 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The name of the analysis to delete.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setName(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } name_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
      * Required. The name of the analysis to delete.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return This builder for chaining. */ public Builder clearName() { @@ -497,26 +561,32 @@ public Builder clearName() { return this; } /** + * + * *
      * Required. The name of the analysis to delete.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setNameBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); name_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -526,41 +596,43 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.contactcenterinsights.v1.DeleteAnalysisRequest) } // @@protoc_insertion_point(class_scope:google.cloud.contactcenterinsights.v1.DeleteAnalysisRequest) - private static final com.google.cloud.contactcenterinsights.v1.DeleteAnalysisRequest DEFAULT_INSTANCE; + private static final com.google.cloud.contactcenterinsights.v1.DeleteAnalysisRequest + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.contactcenterinsights.v1.DeleteAnalysisRequest(); } - public static com.google.cloud.contactcenterinsights.v1.DeleteAnalysisRequest getDefaultInstance() { + public static com.google.cloud.contactcenterinsights.v1.DeleteAnalysisRequest + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public DeleteAnalysisRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public DeleteAnalysisRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -572,9 +644,8 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.cloud.contactcenterinsights.v1.DeleteAnalysisRequest getDefaultInstanceForType() { + public com.google.cloud.contactcenterinsights.v1.DeleteAnalysisRequest + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/DeleteAnalysisRequestOrBuilder.java b/java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/DeleteAnalysisRequestOrBuilder.java new file mode 100644 index 000000000000..8c33f3c2575c --- /dev/null +++ b/java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/DeleteAnalysisRequestOrBuilder.java @@ -0,0 +1,54 @@ +/* + * 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. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/contactcenterinsights/v1/contact_center_insights.proto + +package com.google.cloud.contactcenterinsights.v1; + +public interface DeleteAnalysisRequestOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.cloud.contactcenterinsights.v1.DeleteAnalysisRequest) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * Required. The name of the analysis to delete.
+   * 
+ * + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The name. + */ + java.lang.String getName(); + /** + * + * + *
+   * Required. The name of the analysis to delete.
+   * 
+ * + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The bytes for name. + */ + com.google.protobuf.ByteString getNameBytes(); +} diff --git a/owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/DeleteConversationRequest.java b/java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/DeleteConversationRequest.java similarity index 61% rename from owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/DeleteConversationRequest.java rename to java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/DeleteConversationRequest.java index cb4c017874f3..bca781595ec7 100644 --- a/owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/DeleteConversationRequest.java +++ b/java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/DeleteConversationRequest.java @@ -1,62 +1,87 @@ +/* + * 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. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/contactcenterinsights/v1/contact_center_insights.proto package com.google.cloud.contactcenterinsights.v1; /** + * + * *
  * The request to delete a conversation.
  * 
* * Protobuf type {@code google.cloud.contactcenterinsights.v1.DeleteConversationRequest} */ -public final class DeleteConversationRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class DeleteConversationRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.contactcenterinsights.v1.DeleteConversationRequest) DeleteConversationRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use DeleteConversationRequest.newBuilder() to construct. private DeleteConversationRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private DeleteConversationRequest() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new DeleteConversationRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto.internal_static_google_cloud_contactcenterinsights_v1_DeleteConversationRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto + .internal_static_google_cloud_contactcenterinsights_v1_DeleteConversationRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto.internal_static_google_cloud_contactcenterinsights_v1_DeleteConversationRequest_fieldAccessorTable + return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto + .internal_static_google_cloud_contactcenterinsights_v1_DeleteConversationRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.contactcenterinsights.v1.DeleteConversationRequest.class, com.google.cloud.contactcenterinsights.v1.DeleteConversationRequest.Builder.class); + com.google.cloud.contactcenterinsights.v1.DeleteConversationRequest.class, + com.google.cloud.contactcenterinsights.v1.DeleteConversationRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; + @SuppressWarnings("serial") private volatile java.lang.Object name_ = ""; /** + * + * *
    * Required. The name of the conversation to delete.
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ @java.lang.Override @@ -65,29 +90,31 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** + * + * *
    * Required. The name of the conversation to delete.
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -98,6 +125,8 @@ public java.lang.String getName() { public static final int FORCE_FIELD_NUMBER = 2; private boolean force_ = false; /** + * + * *
    * If set to true, all of this conversation's analyses will also be deleted.
    * Otherwise, the request will only succeed if the conversation has no
@@ -105,6 +134,7 @@ public java.lang.String getName() {
    * 
* * bool force = 2; + * * @return The force. */ @java.lang.Override @@ -113,6 +143,7 @@ public boolean getForce() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -124,8 +155,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -145,8 +175,7 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_); } if (force_ != false) { - size += com.google.protobuf.CodedOutputStream - .computeBoolSize(2, force_); + size += com.google.protobuf.CodedOutputStream.computeBoolSize(2, force_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -156,17 +185,16 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.contactcenterinsights.v1.DeleteConversationRequest)) { return super.equals(obj); } - com.google.cloud.contactcenterinsights.v1.DeleteConversationRequest other = (com.google.cloud.contactcenterinsights.v1.DeleteConversationRequest) obj; + com.google.cloud.contactcenterinsights.v1.DeleteConversationRequest other = + (com.google.cloud.contactcenterinsights.v1.DeleteConversationRequest) obj; - if (!getName() - .equals(other.getName())) return false; - if (getForce() - != other.getForce()) return false; + if (!getName().equals(other.getName())) return false; + if (getForce() != other.getForce()) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -181,137 +209,145 @@ public int hashCode() { hash = (37 * hash) + NAME_FIELD_NUMBER; hash = (53 * hash) + getName().hashCode(); hash = (37 * hash) + FORCE_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( - getForce()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getForce()); hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } public static com.google.cloud.contactcenterinsights.v1.DeleteConversationRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.contactcenterinsights.v1.DeleteConversationRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.contactcenterinsights.v1.DeleteConversationRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.contactcenterinsights.v1.DeleteConversationRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.contactcenterinsights.v1.DeleteConversationRequest parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.contactcenterinsights.v1.DeleteConversationRequest parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.contactcenterinsights.v1.DeleteConversationRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.contactcenterinsights.v1.DeleteConversationRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.contactcenterinsights.v1.DeleteConversationRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.contactcenterinsights.v1.DeleteConversationRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.contactcenterinsights.v1.DeleteConversationRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.contactcenterinsights.v1.DeleteConversationRequest + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.contactcenterinsights.v1.DeleteConversationRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + + public static com.google.cloud.contactcenterinsights.v1.DeleteConversationRequest + parseDelimitedFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.contactcenterinsights.v1.DeleteConversationRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.contactcenterinsights.v1.DeleteConversationRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.contactcenterinsights.v1.DeleteConversationRequest prototype) { + + public static Builder newBuilder( + com.google.cloud.contactcenterinsights.v1.DeleteConversationRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * The request to delete a conversation.
    * 
* * Protobuf type {@code google.cloud.contactcenterinsights.v1.DeleteConversationRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.contactcenterinsights.v1.DeleteConversationRequest) com.google.cloud.contactcenterinsights.v1.DeleteConversationRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto.internal_static_google_cloud_contactcenterinsights_v1_DeleteConversationRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto + .internal_static_google_cloud_contactcenterinsights_v1_DeleteConversationRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto.internal_static_google_cloud_contactcenterinsights_v1_DeleteConversationRequest_fieldAccessorTable + return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto + .internal_static_google_cloud_contactcenterinsights_v1_DeleteConversationRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.contactcenterinsights.v1.DeleteConversationRequest.class, com.google.cloud.contactcenterinsights.v1.DeleteConversationRequest.Builder.class); + com.google.cloud.contactcenterinsights.v1.DeleteConversationRequest.class, + com.google.cloud.contactcenterinsights.v1.DeleteConversationRequest.Builder.class); } - // Construct using com.google.cloud.contactcenterinsights.v1.DeleteConversationRequest.newBuilder() - private Builder() { - - } + // Construct using + // com.google.cloud.contactcenterinsights.v1.DeleteConversationRequest.newBuilder() + private Builder() {} - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -322,14 +358,16 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto.internal_static_google_cloud_contactcenterinsights_v1_DeleteConversationRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto + .internal_static_google_cloud_contactcenterinsights_v1_DeleteConversationRequest_descriptor; } @java.lang.Override - public com.google.cloud.contactcenterinsights.v1.DeleteConversationRequest getDefaultInstanceForType() { - return com.google.cloud.contactcenterinsights.v1.DeleteConversationRequest.getDefaultInstance(); + public com.google.cloud.contactcenterinsights.v1.DeleteConversationRequest + getDefaultInstanceForType() { + return com.google.cloud.contactcenterinsights.v1.DeleteConversationRequest + .getDefaultInstance(); } @java.lang.Override @@ -343,13 +381,17 @@ public com.google.cloud.contactcenterinsights.v1.DeleteConversationRequest build @java.lang.Override public com.google.cloud.contactcenterinsights.v1.DeleteConversationRequest buildPartial() { - com.google.cloud.contactcenterinsights.v1.DeleteConversationRequest result = new com.google.cloud.contactcenterinsights.v1.DeleteConversationRequest(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.cloud.contactcenterinsights.v1.DeleteConversationRequest result = + new com.google.cloud.contactcenterinsights.v1.DeleteConversationRequest(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } - private void buildPartial0(com.google.cloud.contactcenterinsights.v1.DeleteConversationRequest result) { + private void buildPartial0( + com.google.cloud.contactcenterinsights.v1.DeleteConversationRequest result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { result.name_ = name_; @@ -363,46 +405,51 @@ private void buildPartial0(com.google.cloud.contactcenterinsights.v1.DeleteConve public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.contactcenterinsights.v1.DeleteConversationRequest) { - return mergeFrom((com.google.cloud.contactcenterinsights.v1.DeleteConversationRequest)other); + return mergeFrom( + (com.google.cloud.contactcenterinsights.v1.DeleteConversationRequest) other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.google.cloud.contactcenterinsights.v1.DeleteConversationRequest other) { - if (other == com.google.cloud.contactcenterinsights.v1.DeleteConversationRequest.getDefaultInstance()) return this; + public Builder mergeFrom( + com.google.cloud.contactcenterinsights.v1.DeleteConversationRequest other) { + if (other + == com.google.cloud.contactcenterinsights.v1.DeleteConversationRequest + .getDefaultInstance()) return this; if (!other.getName().isEmpty()) { name_ = other.name_; bitField0_ |= 0x00000001; @@ -437,22 +484,25 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - name_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 16: { - force_ = input.readBool(); - bitField0_ |= 0x00000002; - break; - } // case 16 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + name_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 16: + { + force_ = input.readBool(); + bitField0_ |= 0x00000002; + break; + } // case 16 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -462,22 +512,27 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private java.lang.Object name_ = ""; /** + * + * *
      * Required. The name of the conversation to delete.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -486,20 +541,23 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The name of the conversation to delete.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for name. */ - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -507,28 +565,39 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The name of the conversation to delete.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setName(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } name_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
      * Required. The name of the conversation to delete.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return This builder for chaining. */ public Builder clearName() { @@ -538,17 +607,23 @@ public Builder clearName() { return this; } /** + * + * *
      * Required. The name of the conversation to delete.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setNameBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); name_ = value; bitField0_ |= 0x00000001; @@ -556,8 +631,10 @@ public Builder setNameBytes( return this; } - private boolean force_ ; + private boolean force_; /** + * + * *
      * If set to true, all of this conversation's analyses will also be deleted.
      * Otherwise, the request will only succeed if the conversation has no
@@ -565,6 +642,7 @@ public Builder setNameBytes(
      * 
* * bool force = 2; + * * @return The force. */ @java.lang.Override @@ -572,6 +650,8 @@ public boolean getForce() { return force_; } /** + * + * *
      * If set to true, all of this conversation's analyses will also be deleted.
      * Otherwise, the request will only succeed if the conversation has no
@@ -579,17 +659,20 @@ public boolean getForce() {
      * 
* * bool force = 2; + * * @param value The force to set. * @return This builder for chaining. */ public Builder setForce(boolean value) { - + force_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** + * + * *
      * If set to true, all of this conversation's analyses will also be deleted.
      * Otherwise, the request will only succeed if the conversation has no
@@ -597,6 +680,7 @@ public Builder setForce(boolean value) {
      * 
* * bool force = 2; + * * @return This builder for chaining. */ public Builder clearForce() { @@ -605,9 +689,9 @@ public Builder clearForce() { onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -617,41 +701,43 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.contactcenterinsights.v1.DeleteConversationRequest) } // @@protoc_insertion_point(class_scope:google.cloud.contactcenterinsights.v1.DeleteConversationRequest) - private static final com.google.cloud.contactcenterinsights.v1.DeleteConversationRequest DEFAULT_INSTANCE; + private static final com.google.cloud.contactcenterinsights.v1.DeleteConversationRequest + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.contactcenterinsights.v1.DeleteConversationRequest(); } - public static com.google.cloud.contactcenterinsights.v1.DeleteConversationRequest getDefaultInstance() { + public static com.google.cloud.contactcenterinsights.v1.DeleteConversationRequest + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public DeleteConversationRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public DeleteConversationRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -663,9 +749,8 @@ public com.google.protobuf.Parser getParserForType() } @java.lang.Override - public com.google.cloud.contactcenterinsights.v1.DeleteConversationRequest getDefaultInstanceForType() { + public com.google.cloud.contactcenterinsights.v1.DeleteConversationRequest + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/DeleteConversationRequestOrBuilder.java b/java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/DeleteConversationRequestOrBuilder.java new file mode 100644 index 000000000000..d121cf712d7a --- /dev/null +++ b/java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/DeleteConversationRequestOrBuilder.java @@ -0,0 +1,69 @@ +/* + * 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. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/contactcenterinsights/v1/contact_center_insights.proto + +package com.google.cloud.contactcenterinsights.v1; + +public interface DeleteConversationRequestOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.cloud.contactcenterinsights.v1.DeleteConversationRequest) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * Required. The name of the conversation to delete.
+   * 
+ * + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The name. + */ + java.lang.String getName(); + /** + * + * + *
+   * Required. The name of the conversation to delete.
+   * 
+ * + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The bytes for name. + */ + com.google.protobuf.ByteString getNameBytes(); + + /** + * + * + *
+   * If set to true, all of this conversation's analyses will also be deleted.
+   * Otherwise, the request will only succeed if the conversation has no
+   * analyses.
+   * 
+ * + * bool force = 2; + * + * @return The force. + */ + boolean getForce(); +} diff --git a/owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/DeleteIssueModelMetadata.java b/java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/DeleteIssueModelMetadata.java similarity index 63% rename from owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/DeleteIssueModelMetadata.java rename to java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/DeleteIssueModelMetadata.java index a4eae904a604..d9e89d9aa618 100644 --- a/owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/DeleteIssueModelMetadata.java +++ b/java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/DeleteIssueModelMetadata.java @@ -1,60 +1,82 @@ +/* + * 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. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/contactcenterinsights/v1/contact_center_insights.proto package com.google.cloud.contactcenterinsights.v1; /** + * + * *
  * Metadata for deleting an issue model.
  * 
* * Protobuf type {@code google.cloud.contactcenterinsights.v1.DeleteIssueModelMetadata} */ -public final class DeleteIssueModelMetadata extends - com.google.protobuf.GeneratedMessageV3 implements +public final class DeleteIssueModelMetadata extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.contactcenterinsights.v1.DeleteIssueModelMetadata) DeleteIssueModelMetadataOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use DeleteIssueModelMetadata.newBuilder() to construct. private DeleteIssueModelMetadata(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private DeleteIssueModelMetadata() { - } + + private DeleteIssueModelMetadata() {} @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new DeleteIssueModelMetadata(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto.internal_static_google_cloud_contactcenterinsights_v1_DeleteIssueModelMetadata_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto + .internal_static_google_cloud_contactcenterinsights_v1_DeleteIssueModelMetadata_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto.internal_static_google_cloud_contactcenterinsights_v1_DeleteIssueModelMetadata_fieldAccessorTable + return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto + .internal_static_google_cloud_contactcenterinsights_v1_DeleteIssueModelMetadata_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.contactcenterinsights.v1.DeleteIssueModelMetadata.class, com.google.cloud.contactcenterinsights.v1.DeleteIssueModelMetadata.Builder.class); + com.google.cloud.contactcenterinsights.v1.DeleteIssueModelMetadata.class, + com.google.cloud.contactcenterinsights.v1.DeleteIssueModelMetadata.Builder.class); } public static final int CREATE_TIME_FIELD_NUMBER = 1; private com.google.protobuf.Timestamp createTime_; /** + * + * *
    * Output only. The time the operation was created.
    * 
* - * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the createTime field is set. */ @java.lang.Override @@ -62,11 +84,15 @@ public boolean hasCreateTime() { return createTime_ != null; } /** + * + * *
    * Output only. The time the operation was created.
    * 
* - * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The createTime. */ @java.lang.Override @@ -74,11 +100,14 @@ public com.google.protobuf.Timestamp getCreateTime() { return createTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : createTime_; } /** + * + * *
    * Output only. The time the operation was created.
    * 
* - * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ @java.lang.Override public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { @@ -88,11 +117,15 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { public static final int END_TIME_FIELD_NUMBER = 2; private com.google.protobuf.Timestamp endTime_; /** + * + * *
    * Output only. The time the operation finished running.
    * 
* - * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the endTime field is set. */ @java.lang.Override @@ -100,11 +133,15 @@ public boolean hasEndTime() { return endTime_ != null; } /** + * + * *
    * Output only. The time the operation finished running.
    * 
* - * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The endTime. */ @java.lang.Override @@ -112,11 +149,14 @@ public com.google.protobuf.Timestamp getEndTime() { return endTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : endTime_; } /** + * + * *
    * Output only. The time the operation finished running.
    * 
* - * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ @java.lang.Override public com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder() { @@ -126,11 +166,14 @@ public com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder() { public static final int REQUEST_FIELD_NUMBER = 3; private com.google.cloud.contactcenterinsights.v1.DeleteIssueModelRequest request_; /** + * + * *
    * The original request for deletion.
    * 
* * .google.cloud.contactcenterinsights.v1.DeleteIssueModelRequest request = 3; + * * @return Whether the request field is set. */ @java.lang.Override @@ -138,18 +181,25 @@ public boolean hasRequest() { return request_ != null; } /** + * + * *
    * The original request for deletion.
    * 
* * .google.cloud.contactcenterinsights.v1.DeleteIssueModelRequest request = 3; + * * @return The request. */ @java.lang.Override public com.google.cloud.contactcenterinsights.v1.DeleteIssueModelRequest getRequest() { - return request_ == null ? com.google.cloud.contactcenterinsights.v1.DeleteIssueModelRequest.getDefaultInstance() : request_; + return request_ == null + ? com.google.cloud.contactcenterinsights.v1.DeleteIssueModelRequest.getDefaultInstance() + : request_; } /** + * + * *
    * The original request for deletion.
    * 
@@ -157,11 +207,15 @@ public com.google.cloud.contactcenterinsights.v1.DeleteIssueModelRequest getRequ * .google.cloud.contactcenterinsights.v1.DeleteIssueModelRequest request = 3; */ @java.lang.Override - public com.google.cloud.contactcenterinsights.v1.DeleteIssueModelRequestOrBuilder getRequestOrBuilder() { - return request_ == null ? com.google.cloud.contactcenterinsights.v1.DeleteIssueModelRequest.getDefaultInstance() : request_; + public com.google.cloud.contactcenterinsights.v1.DeleteIssueModelRequestOrBuilder + getRequestOrBuilder() { + return request_ == null + ? com.google.cloud.contactcenterinsights.v1.DeleteIssueModelRequest.getDefaultInstance() + : request_; } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -173,8 +227,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (createTime_ != null) { output.writeMessage(1, getCreateTime()); } @@ -194,16 +247,13 @@ public int getSerializedSize() { size = 0; if (createTime_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, getCreateTime()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getCreateTime()); } if (endTime_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, getEndTime()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getEndTime()); } if (request_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(3, getRequest()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getRequest()); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -213,27 +263,25 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.contactcenterinsights.v1.DeleteIssueModelMetadata)) { return super.equals(obj); } - com.google.cloud.contactcenterinsights.v1.DeleteIssueModelMetadata other = (com.google.cloud.contactcenterinsights.v1.DeleteIssueModelMetadata) obj; + com.google.cloud.contactcenterinsights.v1.DeleteIssueModelMetadata other = + (com.google.cloud.contactcenterinsights.v1.DeleteIssueModelMetadata) obj; if (hasCreateTime() != other.hasCreateTime()) return false; if (hasCreateTime()) { - if (!getCreateTime() - .equals(other.getCreateTime())) return false; + if (!getCreateTime().equals(other.getCreateTime())) return false; } if (hasEndTime() != other.hasEndTime()) return false; if (hasEndTime()) { - if (!getEndTime() - .equals(other.getEndTime())) return false; + if (!getEndTime().equals(other.getEndTime())) return false; } if (hasRequest() != other.hasRequest()) return false; if (hasRequest()) { - if (!getRequest() - .equals(other.getRequest())) return false; + if (!getRequest().equals(other.getRequest())) return false; } if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -264,129 +312,138 @@ public int hashCode() { } public static com.google.cloud.contactcenterinsights.v1.DeleteIssueModelMetadata parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.contactcenterinsights.v1.DeleteIssueModelMetadata parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.contactcenterinsights.v1.DeleteIssueModelMetadata parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.contactcenterinsights.v1.DeleteIssueModelMetadata parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.contactcenterinsights.v1.DeleteIssueModelMetadata parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.contactcenterinsights.v1.DeleteIssueModelMetadata parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.contactcenterinsights.v1.DeleteIssueModelMetadata parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.contactcenterinsights.v1.DeleteIssueModelMetadata parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.contactcenterinsights.v1.DeleteIssueModelMetadata parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.contactcenterinsights.v1.DeleteIssueModelMetadata parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.contactcenterinsights.v1.DeleteIssueModelMetadata parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.contactcenterinsights.v1.DeleteIssueModelMetadata + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.contactcenterinsights.v1.DeleteIssueModelMetadata parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + + public static com.google.cloud.contactcenterinsights.v1.DeleteIssueModelMetadata + parseDelimitedFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.contactcenterinsights.v1.DeleteIssueModelMetadata parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.contactcenterinsights.v1.DeleteIssueModelMetadata parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.contactcenterinsights.v1.DeleteIssueModelMetadata prototype) { + + public static Builder newBuilder( + com.google.cloud.contactcenterinsights.v1.DeleteIssueModelMetadata prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Metadata for deleting an issue model.
    * 
* * Protobuf type {@code google.cloud.contactcenterinsights.v1.DeleteIssueModelMetadata} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.contactcenterinsights.v1.DeleteIssueModelMetadata) com.google.cloud.contactcenterinsights.v1.DeleteIssueModelMetadataOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto.internal_static_google_cloud_contactcenterinsights_v1_DeleteIssueModelMetadata_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto + .internal_static_google_cloud_contactcenterinsights_v1_DeleteIssueModelMetadata_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto.internal_static_google_cloud_contactcenterinsights_v1_DeleteIssueModelMetadata_fieldAccessorTable + return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto + .internal_static_google_cloud_contactcenterinsights_v1_DeleteIssueModelMetadata_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.contactcenterinsights.v1.DeleteIssueModelMetadata.class, com.google.cloud.contactcenterinsights.v1.DeleteIssueModelMetadata.Builder.class); + com.google.cloud.contactcenterinsights.v1.DeleteIssueModelMetadata.class, + com.google.cloud.contactcenterinsights.v1.DeleteIssueModelMetadata.Builder.class); } - // Construct using com.google.cloud.contactcenterinsights.v1.DeleteIssueModelMetadata.newBuilder() - private Builder() { - - } + // Construct using + // com.google.cloud.contactcenterinsights.v1.DeleteIssueModelMetadata.newBuilder() + private Builder() {} - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -410,14 +467,16 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto.internal_static_google_cloud_contactcenterinsights_v1_DeleteIssueModelMetadata_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto + .internal_static_google_cloud_contactcenterinsights_v1_DeleteIssueModelMetadata_descriptor; } @java.lang.Override - public com.google.cloud.contactcenterinsights.v1.DeleteIssueModelMetadata getDefaultInstanceForType() { - return com.google.cloud.contactcenterinsights.v1.DeleteIssueModelMetadata.getDefaultInstance(); + public com.google.cloud.contactcenterinsights.v1.DeleteIssueModelMetadata + getDefaultInstanceForType() { + return com.google.cloud.contactcenterinsights.v1.DeleteIssueModelMetadata + .getDefaultInstance(); } @java.lang.Override @@ -431,28 +490,26 @@ public com.google.cloud.contactcenterinsights.v1.DeleteIssueModelMetadata build( @java.lang.Override public com.google.cloud.contactcenterinsights.v1.DeleteIssueModelMetadata buildPartial() { - com.google.cloud.contactcenterinsights.v1.DeleteIssueModelMetadata result = new com.google.cloud.contactcenterinsights.v1.DeleteIssueModelMetadata(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.cloud.contactcenterinsights.v1.DeleteIssueModelMetadata result = + new com.google.cloud.contactcenterinsights.v1.DeleteIssueModelMetadata(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } - private void buildPartial0(com.google.cloud.contactcenterinsights.v1.DeleteIssueModelMetadata result) { + private void buildPartial0( + com.google.cloud.contactcenterinsights.v1.DeleteIssueModelMetadata result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { - result.createTime_ = createTimeBuilder_ == null - ? createTime_ - : createTimeBuilder_.build(); + result.createTime_ = createTimeBuilder_ == null ? createTime_ : createTimeBuilder_.build(); } if (((from_bitField0_ & 0x00000002) != 0)) { - result.endTime_ = endTimeBuilder_ == null - ? endTime_ - : endTimeBuilder_.build(); + result.endTime_ = endTimeBuilder_ == null ? endTime_ : endTimeBuilder_.build(); } if (((from_bitField0_ & 0x00000004) != 0)) { - result.request_ = requestBuilder_ == null - ? request_ - : requestBuilder_.build(); + result.request_ = requestBuilder_ == null ? request_ : requestBuilder_.build(); } } @@ -460,46 +517,51 @@ private void buildPartial0(com.google.cloud.contactcenterinsights.v1.DeleteIssue public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.contactcenterinsights.v1.DeleteIssueModelMetadata) { - return mergeFrom((com.google.cloud.contactcenterinsights.v1.DeleteIssueModelMetadata)other); + return mergeFrom( + (com.google.cloud.contactcenterinsights.v1.DeleteIssueModelMetadata) other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.google.cloud.contactcenterinsights.v1.DeleteIssueModelMetadata other) { - if (other == com.google.cloud.contactcenterinsights.v1.DeleteIssueModelMetadata.getDefaultInstance()) return this; + public Builder mergeFrom( + com.google.cloud.contactcenterinsights.v1.DeleteIssueModelMetadata other) { + if (other + == com.google.cloud.contactcenterinsights.v1.DeleteIssueModelMetadata + .getDefaultInstance()) return this; if (other.hasCreateTime()) { mergeCreateTime(other.getCreateTime()); } @@ -535,33 +597,31 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - input.readMessage( - getCreateTimeFieldBuilder().getBuilder(), - extensionRegistry); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: { - input.readMessage( - getEndTimeFieldBuilder().getBuilder(), - extensionRegistry); - bitField0_ |= 0x00000002; - break; - } // case 18 - case 26: { - input.readMessage( - getRequestFieldBuilder().getBuilder(), - extensionRegistry); - bitField0_ |= 0x00000004; - break; - } // case 26 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + input.readMessage(getCreateTimeFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: + { + input.readMessage(getEndTimeFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000002; + break; + } // case 18 + case 26: + { + input.readMessage(getRequestFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000004; + break; + } // case 26 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -571,43 +631,63 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private com.google.protobuf.Timestamp createTime_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> createTimeBuilder_; + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder> + createTimeBuilder_; /** + * + * *
      * Output only. The time the operation was created.
      * 
* - * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the createTime field is set. */ public boolean hasCreateTime() { return ((bitField0_ & 0x00000001) != 0); } /** + * + * *
      * Output only. The time the operation was created.
      * 
* - * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The createTime. */ public com.google.protobuf.Timestamp getCreateTime() { if (createTimeBuilder_ == null) { - return createTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : createTime_; + return createTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : createTime_; } else { return createTimeBuilder_.getMessage(); } } /** + * + * *
      * Output only. The time the operation was created.
      * 
* - * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder setCreateTime(com.google.protobuf.Timestamp value) { if (createTimeBuilder_ == null) { @@ -623,14 +703,17 @@ public Builder setCreateTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * Output only. The time the operation was created.
      * 
* - * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - public Builder setCreateTime( - com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setCreateTime(com.google.protobuf.Timestamp.Builder builderForValue) { if (createTimeBuilder_ == null) { createTime_ = builderForValue.build(); } else { @@ -641,17 +724,21 @@ public Builder setCreateTime( return this; } /** + * + * *
      * Output only. The time the operation was created.
      * 
* - * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder mergeCreateTime(com.google.protobuf.Timestamp value) { if (createTimeBuilder_ == null) { - if (((bitField0_ & 0x00000001) != 0) && - createTime_ != null && - createTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { + if (((bitField0_ & 0x00000001) != 0) + && createTime_ != null + && createTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { getCreateTimeBuilder().mergeFrom(value); } else { createTime_ = value; @@ -664,11 +751,15 @@ public Builder mergeCreateTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * Output only. The time the operation was created.
      * 
* - * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder clearCreateTime() { bitField0_ = (bitField0_ & ~0x00000001); @@ -681,11 +772,15 @@ public Builder clearCreateTime() { return this; } /** + * + * *
      * Output only. The time the operation was created.
      * 
* - * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public com.google.protobuf.Timestamp.Builder getCreateTimeBuilder() { bitField0_ |= 0x00000001; @@ -693,36 +788,48 @@ public com.google.protobuf.Timestamp.Builder getCreateTimeBuilder() { return getCreateTimeFieldBuilder().getBuilder(); } /** + * + * *
      * Output only. The time the operation was created.
      * 
* - * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { if (createTimeBuilder_ != null) { return createTimeBuilder_.getMessageOrBuilder(); } else { - return createTime_ == null ? - com.google.protobuf.Timestamp.getDefaultInstance() : createTime_; + return createTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : createTime_; } } /** + * + * *
      * Output only. The time the operation was created.
      * 
* - * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder> getCreateTimeFieldBuilder() { if (createTimeBuilder_ == null) { - createTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( - getCreateTime(), - getParentForChildren(), - isClean()); + createTimeBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder>( + getCreateTime(), getParentForChildren(), isClean()); createTime_ = null; } return createTimeBuilder_; @@ -730,24 +837,35 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { private com.google.protobuf.Timestamp endTime_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> endTimeBuilder_; + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder> + endTimeBuilder_; /** + * + * *
      * Output only. The time the operation finished running.
      * 
* - * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the endTime field is set. */ public boolean hasEndTime() { return ((bitField0_ & 0x00000002) != 0); } /** + * + * *
      * Output only. The time the operation finished running.
      * 
* - * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The endTime. */ public com.google.protobuf.Timestamp getEndTime() { @@ -758,11 +876,14 @@ public com.google.protobuf.Timestamp getEndTime() { } } /** + * + * *
      * Output only. The time the operation finished running.
      * 
* - * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder setEndTime(com.google.protobuf.Timestamp value) { if (endTimeBuilder_ == null) { @@ -778,14 +899,16 @@ public Builder setEndTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * Output only. The time the operation finished running.
      * 
* - * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - public Builder setEndTime( - com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setEndTime(com.google.protobuf.Timestamp.Builder builderForValue) { if (endTimeBuilder_ == null) { endTime_ = builderForValue.build(); } else { @@ -796,17 +919,20 @@ public Builder setEndTime( return this; } /** + * + * *
      * Output only. The time the operation finished running.
      * 
* - * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder mergeEndTime(com.google.protobuf.Timestamp value) { if (endTimeBuilder_ == null) { - if (((bitField0_ & 0x00000002) != 0) && - endTime_ != null && - endTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { + if (((bitField0_ & 0x00000002) != 0) + && endTime_ != null + && endTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { getEndTimeBuilder().mergeFrom(value); } else { endTime_ = value; @@ -819,11 +945,14 @@ public Builder mergeEndTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * Output only. The time the operation finished running.
      * 
* - * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder clearEndTime() { bitField0_ = (bitField0_ & ~0x00000002); @@ -836,11 +965,14 @@ public Builder clearEndTime() { return this; } /** + * + * *
      * Output only. The time the operation finished running.
      * 
* - * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public com.google.protobuf.Timestamp.Builder getEndTimeBuilder() { bitField0_ |= 0x00000002; @@ -848,36 +980,44 @@ public com.google.protobuf.Timestamp.Builder getEndTimeBuilder() { return getEndTimeFieldBuilder().getBuilder(); } /** + * + * *
      * Output only. The time the operation finished running.
      * 
* - * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder() { if (endTimeBuilder_ != null) { return endTimeBuilder_.getMessageOrBuilder(); } else { - return endTime_ == null ? - com.google.protobuf.Timestamp.getDefaultInstance() : endTime_; + return endTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : endTime_; } } /** + * + * *
      * Output only. The time the operation finished running.
      * 
* - * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder> getEndTimeFieldBuilder() { if (endTimeBuilder_ == null) { - endTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( - getEndTime(), - getParentForChildren(), - isClean()); + endTimeBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder>( + getEndTime(), getParentForChildren(), isClean()); endTime_ = null; } return endTimeBuilder_; @@ -885,41 +1025,55 @@ public com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder() { private com.google.cloud.contactcenterinsights.v1.DeleteIssueModelRequest request_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.contactcenterinsights.v1.DeleteIssueModelRequest, com.google.cloud.contactcenterinsights.v1.DeleteIssueModelRequest.Builder, com.google.cloud.contactcenterinsights.v1.DeleteIssueModelRequestOrBuilder> requestBuilder_; + com.google.cloud.contactcenterinsights.v1.DeleteIssueModelRequest, + com.google.cloud.contactcenterinsights.v1.DeleteIssueModelRequest.Builder, + com.google.cloud.contactcenterinsights.v1.DeleteIssueModelRequestOrBuilder> + requestBuilder_; /** + * + * *
      * The original request for deletion.
      * 
* * .google.cloud.contactcenterinsights.v1.DeleteIssueModelRequest request = 3; + * * @return Whether the request field is set. */ public boolean hasRequest() { return ((bitField0_ & 0x00000004) != 0); } /** + * + * *
      * The original request for deletion.
      * 
* * .google.cloud.contactcenterinsights.v1.DeleteIssueModelRequest request = 3; + * * @return The request. */ public com.google.cloud.contactcenterinsights.v1.DeleteIssueModelRequest getRequest() { if (requestBuilder_ == null) { - return request_ == null ? com.google.cloud.contactcenterinsights.v1.DeleteIssueModelRequest.getDefaultInstance() : request_; + return request_ == null + ? com.google.cloud.contactcenterinsights.v1.DeleteIssueModelRequest.getDefaultInstance() + : request_; } else { return requestBuilder_.getMessage(); } } /** + * + * *
      * The original request for deletion.
      * 
* * .google.cloud.contactcenterinsights.v1.DeleteIssueModelRequest request = 3; */ - public Builder setRequest(com.google.cloud.contactcenterinsights.v1.DeleteIssueModelRequest value) { + public Builder setRequest( + com.google.cloud.contactcenterinsights.v1.DeleteIssueModelRequest value) { if (requestBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -933,6 +1087,8 @@ public Builder setRequest(com.google.cloud.contactcenterinsights.v1.DeleteIssueM return this; } /** + * + * *
      * The original request for deletion.
      * 
@@ -951,17 +1107,22 @@ public Builder setRequest( return this; } /** + * + * *
      * The original request for deletion.
      * 
* * .google.cloud.contactcenterinsights.v1.DeleteIssueModelRequest request = 3; */ - public Builder mergeRequest(com.google.cloud.contactcenterinsights.v1.DeleteIssueModelRequest value) { + public Builder mergeRequest( + com.google.cloud.contactcenterinsights.v1.DeleteIssueModelRequest value) { if (requestBuilder_ == null) { - if (((bitField0_ & 0x00000004) != 0) && - request_ != null && - request_ != com.google.cloud.contactcenterinsights.v1.DeleteIssueModelRequest.getDefaultInstance()) { + if (((bitField0_ & 0x00000004) != 0) + && request_ != null + && request_ + != com.google.cloud.contactcenterinsights.v1.DeleteIssueModelRequest + .getDefaultInstance()) { getRequestBuilder().mergeFrom(value); } else { request_ = value; @@ -974,6 +1135,8 @@ public Builder mergeRequest(com.google.cloud.contactcenterinsights.v1.DeleteIssu return this; } /** + * + * *
      * The original request for deletion.
      * 
@@ -991,33 +1154,42 @@ public Builder clearRequest() { return this; } /** + * + * *
      * The original request for deletion.
      * 
* * .google.cloud.contactcenterinsights.v1.DeleteIssueModelRequest request = 3; */ - public com.google.cloud.contactcenterinsights.v1.DeleteIssueModelRequest.Builder getRequestBuilder() { + public com.google.cloud.contactcenterinsights.v1.DeleteIssueModelRequest.Builder + getRequestBuilder() { bitField0_ |= 0x00000004; onChanged(); return getRequestFieldBuilder().getBuilder(); } /** + * + * *
      * The original request for deletion.
      * 
* * .google.cloud.contactcenterinsights.v1.DeleteIssueModelRequest request = 3; */ - public com.google.cloud.contactcenterinsights.v1.DeleteIssueModelRequestOrBuilder getRequestOrBuilder() { + public com.google.cloud.contactcenterinsights.v1.DeleteIssueModelRequestOrBuilder + getRequestOrBuilder() { if (requestBuilder_ != null) { return requestBuilder_.getMessageOrBuilder(); } else { - return request_ == null ? - com.google.cloud.contactcenterinsights.v1.DeleteIssueModelRequest.getDefaultInstance() : request_; + return request_ == null + ? com.google.cloud.contactcenterinsights.v1.DeleteIssueModelRequest.getDefaultInstance() + : request_; } } /** + * + * *
      * The original request for deletion.
      * 
@@ -1025,21 +1197,24 @@ public com.google.cloud.contactcenterinsights.v1.DeleteIssueModelRequestOrBuilde * .google.cloud.contactcenterinsights.v1.DeleteIssueModelRequest request = 3; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.contactcenterinsights.v1.DeleteIssueModelRequest, com.google.cloud.contactcenterinsights.v1.DeleteIssueModelRequest.Builder, com.google.cloud.contactcenterinsights.v1.DeleteIssueModelRequestOrBuilder> + com.google.cloud.contactcenterinsights.v1.DeleteIssueModelRequest, + com.google.cloud.contactcenterinsights.v1.DeleteIssueModelRequest.Builder, + com.google.cloud.contactcenterinsights.v1.DeleteIssueModelRequestOrBuilder> getRequestFieldBuilder() { if (requestBuilder_ == null) { - requestBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.contactcenterinsights.v1.DeleteIssueModelRequest, com.google.cloud.contactcenterinsights.v1.DeleteIssueModelRequest.Builder, com.google.cloud.contactcenterinsights.v1.DeleteIssueModelRequestOrBuilder>( - getRequest(), - getParentForChildren(), - isClean()); + requestBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.contactcenterinsights.v1.DeleteIssueModelRequest, + com.google.cloud.contactcenterinsights.v1.DeleteIssueModelRequest.Builder, + com.google.cloud.contactcenterinsights.v1.DeleteIssueModelRequestOrBuilder>( + getRequest(), getParentForChildren(), isClean()); request_ = null; } return requestBuilder_; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1049,41 +1224,43 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.contactcenterinsights.v1.DeleteIssueModelMetadata) } // @@protoc_insertion_point(class_scope:google.cloud.contactcenterinsights.v1.DeleteIssueModelMetadata) - private static final com.google.cloud.contactcenterinsights.v1.DeleteIssueModelMetadata DEFAULT_INSTANCE; + private static final com.google.cloud.contactcenterinsights.v1.DeleteIssueModelMetadata + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.contactcenterinsights.v1.DeleteIssueModelMetadata(); } - public static com.google.cloud.contactcenterinsights.v1.DeleteIssueModelMetadata getDefaultInstance() { + public static com.google.cloud.contactcenterinsights.v1.DeleteIssueModelMetadata + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public DeleteIssueModelMetadata parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public DeleteIssueModelMetadata parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1095,9 +1272,8 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.cloud.contactcenterinsights.v1.DeleteIssueModelMetadata getDefaultInstanceForType() { + public com.google.cloud.contactcenterinsights.v1.DeleteIssueModelMetadata + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/DeleteIssueModelMetadataOrBuilder.java b/java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/DeleteIssueModelMetadataOrBuilder.java similarity index 70% rename from owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/DeleteIssueModelMetadataOrBuilder.java rename to java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/DeleteIssueModelMetadataOrBuilder.java index 886dce7d12c1..540ef30032a0 100644 --- a/owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/DeleteIssueModelMetadataOrBuilder.java +++ b/java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/DeleteIssueModelMetadataOrBuilder.java @@ -1,85 +1,131 @@ +/* + * 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. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/contactcenterinsights/v1/contact_center_insights.proto package com.google.cloud.contactcenterinsights.v1; -public interface DeleteIssueModelMetadataOrBuilder extends +public interface DeleteIssueModelMetadataOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.contactcenterinsights.v1.DeleteIssueModelMetadata) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Output only. The time the operation was created.
    * 
* - * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the createTime field is set. */ boolean hasCreateTime(); /** + * + * *
    * Output only. The time the operation was created.
    * 
* - * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The createTime. */ com.google.protobuf.Timestamp getCreateTime(); /** + * + * *
    * Output only. The time the operation was created.
    * 
* - * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder(); /** + * + * *
    * Output only. The time the operation finished running.
    * 
* - * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the endTime field is set. */ boolean hasEndTime(); /** + * + * *
    * Output only. The time the operation finished running.
    * 
* - * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The endTime. */ com.google.protobuf.Timestamp getEndTime(); /** + * + * *
    * Output only. The time the operation finished running.
    * 
* - * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder(); /** + * + * *
    * The original request for deletion.
    * 
* * .google.cloud.contactcenterinsights.v1.DeleteIssueModelRequest request = 3; + * * @return Whether the request field is set. */ boolean hasRequest(); /** + * + * *
    * The original request for deletion.
    * 
* * .google.cloud.contactcenterinsights.v1.DeleteIssueModelRequest request = 3; + * * @return The request. */ com.google.cloud.contactcenterinsights.v1.DeleteIssueModelRequest getRequest(); /** + * + * *
    * The original request for deletion.
    * 
diff --git a/owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/DeleteIssueModelRequest.java b/java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/DeleteIssueModelRequest.java similarity index 59% rename from owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/DeleteIssueModelRequest.java rename to java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/DeleteIssueModelRequest.java index 8efe60d4001b..339e5087f998 100644 --- a/owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/DeleteIssueModelRequest.java +++ b/java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/DeleteIssueModelRequest.java @@ -1,62 +1,87 @@ +/* + * 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. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/contactcenterinsights/v1/contact_center_insights.proto package com.google.cloud.contactcenterinsights.v1; /** + * + * *
  * The request to delete an issue model.
  * 
* * Protobuf type {@code google.cloud.contactcenterinsights.v1.DeleteIssueModelRequest} */ -public final class DeleteIssueModelRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class DeleteIssueModelRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.contactcenterinsights.v1.DeleteIssueModelRequest) DeleteIssueModelRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use DeleteIssueModelRequest.newBuilder() to construct. private DeleteIssueModelRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private DeleteIssueModelRequest() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new DeleteIssueModelRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto.internal_static_google_cloud_contactcenterinsights_v1_DeleteIssueModelRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto + .internal_static_google_cloud_contactcenterinsights_v1_DeleteIssueModelRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto.internal_static_google_cloud_contactcenterinsights_v1_DeleteIssueModelRequest_fieldAccessorTable + return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto + .internal_static_google_cloud_contactcenterinsights_v1_DeleteIssueModelRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.contactcenterinsights.v1.DeleteIssueModelRequest.class, com.google.cloud.contactcenterinsights.v1.DeleteIssueModelRequest.Builder.class); + com.google.cloud.contactcenterinsights.v1.DeleteIssueModelRequest.class, + com.google.cloud.contactcenterinsights.v1.DeleteIssueModelRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; + @SuppressWarnings("serial") private volatile java.lang.Object name_ = ""; /** + * + * *
    * Required. The name of the issue model to delete.
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ @java.lang.Override @@ -65,29 +90,31 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** + * + * *
    * Required. The name of the issue model to delete.
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -96,6 +123,7 @@ public java.lang.String getName() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -107,8 +135,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -132,15 +159,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.contactcenterinsights.v1.DeleteIssueModelRequest)) { return super.equals(obj); } - com.google.cloud.contactcenterinsights.v1.DeleteIssueModelRequest other = (com.google.cloud.contactcenterinsights.v1.DeleteIssueModelRequest) obj; + com.google.cloud.contactcenterinsights.v1.DeleteIssueModelRequest other = + (com.google.cloud.contactcenterinsights.v1.DeleteIssueModelRequest) obj; - if (!getName() - .equals(other.getName())) return false; + if (!getName().equals(other.getName())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -160,129 +187,138 @@ public int hashCode() { } public static com.google.cloud.contactcenterinsights.v1.DeleteIssueModelRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.contactcenterinsights.v1.DeleteIssueModelRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.contactcenterinsights.v1.DeleteIssueModelRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.contactcenterinsights.v1.DeleteIssueModelRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.contactcenterinsights.v1.DeleteIssueModelRequest parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.contactcenterinsights.v1.DeleteIssueModelRequest parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.contactcenterinsights.v1.DeleteIssueModelRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.contactcenterinsights.v1.DeleteIssueModelRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.contactcenterinsights.v1.DeleteIssueModelRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.contactcenterinsights.v1.DeleteIssueModelRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.contactcenterinsights.v1.DeleteIssueModelRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.contactcenterinsights.v1.DeleteIssueModelRequest + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.contactcenterinsights.v1.DeleteIssueModelRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + + public static com.google.cloud.contactcenterinsights.v1.DeleteIssueModelRequest + parseDelimitedFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.contactcenterinsights.v1.DeleteIssueModelRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.contactcenterinsights.v1.DeleteIssueModelRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.contactcenterinsights.v1.DeleteIssueModelRequest prototype) { + + public static Builder newBuilder( + com.google.cloud.contactcenterinsights.v1.DeleteIssueModelRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * The request to delete an issue model.
    * 
* * Protobuf type {@code google.cloud.contactcenterinsights.v1.DeleteIssueModelRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.contactcenterinsights.v1.DeleteIssueModelRequest) com.google.cloud.contactcenterinsights.v1.DeleteIssueModelRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto.internal_static_google_cloud_contactcenterinsights_v1_DeleteIssueModelRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto + .internal_static_google_cloud_contactcenterinsights_v1_DeleteIssueModelRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto.internal_static_google_cloud_contactcenterinsights_v1_DeleteIssueModelRequest_fieldAccessorTable + return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto + .internal_static_google_cloud_contactcenterinsights_v1_DeleteIssueModelRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.contactcenterinsights.v1.DeleteIssueModelRequest.class, com.google.cloud.contactcenterinsights.v1.DeleteIssueModelRequest.Builder.class); + com.google.cloud.contactcenterinsights.v1.DeleteIssueModelRequest.class, + com.google.cloud.contactcenterinsights.v1.DeleteIssueModelRequest.Builder.class); } - // Construct using com.google.cloud.contactcenterinsights.v1.DeleteIssueModelRequest.newBuilder() - private Builder() { + // Construct using + // com.google.cloud.contactcenterinsights.v1.DeleteIssueModelRequest.newBuilder() + private Builder() {} - } - - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -292,13 +328,14 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto.internal_static_google_cloud_contactcenterinsights_v1_DeleteIssueModelRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto + .internal_static_google_cloud_contactcenterinsights_v1_DeleteIssueModelRequest_descriptor; } @java.lang.Override - public com.google.cloud.contactcenterinsights.v1.DeleteIssueModelRequest getDefaultInstanceForType() { + public com.google.cloud.contactcenterinsights.v1.DeleteIssueModelRequest + getDefaultInstanceForType() { return com.google.cloud.contactcenterinsights.v1.DeleteIssueModelRequest.getDefaultInstance(); } @@ -313,13 +350,17 @@ public com.google.cloud.contactcenterinsights.v1.DeleteIssueModelRequest build() @java.lang.Override public com.google.cloud.contactcenterinsights.v1.DeleteIssueModelRequest buildPartial() { - com.google.cloud.contactcenterinsights.v1.DeleteIssueModelRequest result = new com.google.cloud.contactcenterinsights.v1.DeleteIssueModelRequest(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.cloud.contactcenterinsights.v1.DeleteIssueModelRequest result = + new com.google.cloud.contactcenterinsights.v1.DeleteIssueModelRequest(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } - private void buildPartial0(com.google.cloud.contactcenterinsights.v1.DeleteIssueModelRequest result) { + private void buildPartial0( + com.google.cloud.contactcenterinsights.v1.DeleteIssueModelRequest result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { result.name_ = name_; @@ -330,46 +371,50 @@ private void buildPartial0(com.google.cloud.contactcenterinsights.v1.DeleteIssue public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.contactcenterinsights.v1.DeleteIssueModelRequest) { - return mergeFrom((com.google.cloud.contactcenterinsights.v1.DeleteIssueModelRequest)other); + return mergeFrom((com.google.cloud.contactcenterinsights.v1.DeleteIssueModelRequest) other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.google.cloud.contactcenterinsights.v1.DeleteIssueModelRequest other) { - if (other == com.google.cloud.contactcenterinsights.v1.DeleteIssueModelRequest.getDefaultInstance()) return this; + public Builder mergeFrom( + com.google.cloud.contactcenterinsights.v1.DeleteIssueModelRequest other) { + if (other + == com.google.cloud.contactcenterinsights.v1.DeleteIssueModelRequest.getDefaultInstance()) + return this; if (!other.getName().isEmpty()) { name_ = other.name_; bitField0_ |= 0x00000001; @@ -401,17 +446,19 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - name_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + name_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -421,22 +468,27 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private java.lang.Object name_ = ""; /** + * + * *
      * Required. The name of the issue model to delete.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -445,20 +497,23 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The name of the issue model to delete.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for name. */ - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -466,28 +521,39 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The name of the issue model to delete.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setName(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } name_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
      * Required. The name of the issue model to delete.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return This builder for chaining. */ public Builder clearName() { @@ -497,26 +563,32 @@ public Builder clearName() { return this; } /** + * + * *
      * Required. The name of the issue model to delete.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setNameBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); name_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -526,41 +598,43 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.contactcenterinsights.v1.DeleteIssueModelRequest) } // @@protoc_insertion_point(class_scope:google.cloud.contactcenterinsights.v1.DeleteIssueModelRequest) - private static final com.google.cloud.contactcenterinsights.v1.DeleteIssueModelRequest DEFAULT_INSTANCE; + private static final com.google.cloud.contactcenterinsights.v1.DeleteIssueModelRequest + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.contactcenterinsights.v1.DeleteIssueModelRequest(); } - public static com.google.cloud.contactcenterinsights.v1.DeleteIssueModelRequest getDefaultInstance() { + public static com.google.cloud.contactcenterinsights.v1.DeleteIssueModelRequest + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public DeleteIssueModelRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public DeleteIssueModelRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -572,9 +646,8 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.cloud.contactcenterinsights.v1.DeleteIssueModelRequest getDefaultInstanceForType() { + public com.google.cloud.contactcenterinsights.v1.DeleteIssueModelRequest + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/DeleteIssueModelRequestOrBuilder.java b/java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/DeleteIssueModelRequestOrBuilder.java new file mode 100644 index 000000000000..d4812a9adfdc --- /dev/null +++ b/java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/DeleteIssueModelRequestOrBuilder.java @@ -0,0 +1,54 @@ +/* + * 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. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/contactcenterinsights/v1/contact_center_insights.proto + +package com.google.cloud.contactcenterinsights.v1; + +public interface DeleteIssueModelRequestOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.cloud.contactcenterinsights.v1.DeleteIssueModelRequest) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * Required. The name of the issue model to delete.
+   * 
+ * + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The name. + */ + java.lang.String getName(); + /** + * + * + *
+   * Required. The name of the issue model to delete.
+   * 
+ * + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The bytes for name. + */ + com.google.protobuf.ByteString getNameBytes(); +} diff --git a/owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/DeleteIssueRequest.java b/java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/DeleteIssueRequest.java similarity index 61% rename from owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/DeleteIssueRequest.java rename to java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/DeleteIssueRequest.java index 85a567eecf8e..1412fa3fbd40 100644 --- a/owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/DeleteIssueRequest.java +++ b/java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/DeleteIssueRequest.java @@ -1,62 +1,87 @@ +/* + * 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. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/contactcenterinsights/v1/contact_center_insights.proto package com.google.cloud.contactcenterinsights.v1; /** + * + * *
  * The request to delete an issue.
  * 
* * Protobuf type {@code google.cloud.contactcenterinsights.v1.DeleteIssueRequest} */ -public final class DeleteIssueRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class DeleteIssueRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.contactcenterinsights.v1.DeleteIssueRequest) DeleteIssueRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use DeleteIssueRequest.newBuilder() to construct. private DeleteIssueRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private DeleteIssueRequest() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new DeleteIssueRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto.internal_static_google_cloud_contactcenterinsights_v1_DeleteIssueRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto + .internal_static_google_cloud_contactcenterinsights_v1_DeleteIssueRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto.internal_static_google_cloud_contactcenterinsights_v1_DeleteIssueRequest_fieldAccessorTable + return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto + .internal_static_google_cloud_contactcenterinsights_v1_DeleteIssueRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.contactcenterinsights.v1.DeleteIssueRequest.class, com.google.cloud.contactcenterinsights.v1.DeleteIssueRequest.Builder.class); + com.google.cloud.contactcenterinsights.v1.DeleteIssueRequest.class, + com.google.cloud.contactcenterinsights.v1.DeleteIssueRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; + @SuppressWarnings("serial") private volatile java.lang.Object name_ = ""; /** + * + * *
    * Required. The name of the issue to delete.
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ @java.lang.Override @@ -65,29 +90,31 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** + * + * *
    * Required. The name of the issue to delete.
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -96,6 +123,7 @@ public java.lang.String getName() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -107,8 +135,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -132,15 +159,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.contactcenterinsights.v1.DeleteIssueRequest)) { return super.equals(obj); } - com.google.cloud.contactcenterinsights.v1.DeleteIssueRequest other = (com.google.cloud.contactcenterinsights.v1.DeleteIssueRequest) obj; + com.google.cloud.contactcenterinsights.v1.DeleteIssueRequest other = + (com.google.cloud.contactcenterinsights.v1.DeleteIssueRequest) obj; - if (!getName() - .equals(other.getName())) return false; + if (!getName().equals(other.getName())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -160,129 +187,136 @@ public int hashCode() { } public static com.google.cloud.contactcenterinsights.v1.DeleteIssueRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.contactcenterinsights.v1.DeleteIssueRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.contactcenterinsights.v1.DeleteIssueRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.contactcenterinsights.v1.DeleteIssueRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.contactcenterinsights.v1.DeleteIssueRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.contactcenterinsights.v1.DeleteIssueRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.contactcenterinsights.v1.DeleteIssueRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.contactcenterinsights.v1.DeleteIssueRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.contactcenterinsights.v1.DeleteIssueRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.contactcenterinsights.v1.DeleteIssueRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.contactcenterinsights.v1.DeleteIssueRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.contactcenterinsights.v1.DeleteIssueRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.contactcenterinsights.v1.DeleteIssueRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.contactcenterinsights.v1.DeleteIssueRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.contactcenterinsights.v1.DeleteIssueRequest prototype) { + + public static Builder newBuilder( + com.google.cloud.contactcenterinsights.v1.DeleteIssueRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * The request to delete an issue.
    * 
* * Protobuf type {@code google.cloud.contactcenterinsights.v1.DeleteIssueRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.contactcenterinsights.v1.DeleteIssueRequest) com.google.cloud.contactcenterinsights.v1.DeleteIssueRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto.internal_static_google_cloud_contactcenterinsights_v1_DeleteIssueRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto + .internal_static_google_cloud_contactcenterinsights_v1_DeleteIssueRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto.internal_static_google_cloud_contactcenterinsights_v1_DeleteIssueRequest_fieldAccessorTable + return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto + .internal_static_google_cloud_contactcenterinsights_v1_DeleteIssueRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.contactcenterinsights.v1.DeleteIssueRequest.class, com.google.cloud.contactcenterinsights.v1.DeleteIssueRequest.Builder.class); + com.google.cloud.contactcenterinsights.v1.DeleteIssueRequest.class, + com.google.cloud.contactcenterinsights.v1.DeleteIssueRequest.Builder.class); } // Construct using com.google.cloud.contactcenterinsights.v1.DeleteIssueRequest.newBuilder() - private Builder() { + private Builder() {} - } - - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -292,13 +326,14 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto.internal_static_google_cloud_contactcenterinsights_v1_DeleteIssueRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto + .internal_static_google_cloud_contactcenterinsights_v1_DeleteIssueRequest_descriptor; } @java.lang.Override - public com.google.cloud.contactcenterinsights.v1.DeleteIssueRequest getDefaultInstanceForType() { + public com.google.cloud.contactcenterinsights.v1.DeleteIssueRequest + getDefaultInstanceForType() { return com.google.cloud.contactcenterinsights.v1.DeleteIssueRequest.getDefaultInstance(); } @@ -313,13 +348,17 @@ public com.google.cloud.contactcenterinsights.v1.DeleteIssueRequest build() { @java.lang.Override public com.google.cloud.contactcenterinsights.v1.DeleteIssueRequest buildPartial() { - com.google.cloud.contactcenterinsights.v1.DeleteIssueRequest result = new com.google.cloud.contactcenterinsights.v1.DeleteIssueRequest(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.cloud.contactcenterinsights.v1.DeleteIssueRequest result = + new com.google.cloud.contactcenterinsights.v1.DeleteIssueRequest(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } - private void buildPartial0(com.google.cloud.contactcenterinsights.v1.DeleteIssueRequest result) { + private void buildPartial0( + com.google.cloud.contactcenterinsights.v1.DeleteIssueRequest result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { result.name_ = name_; @@ -330,38 +369,39 @@ private void buildPartial0(com.google.cloud.contactcenterinsights.v1.DeleteIssue public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.contactcenterinsights.v1.DeleteIssueRequest) { - return mergeFrom((com.google.cloud.contactcenterinsights.v1.DeleteIssueRequest)other); + return mergeFrom((com.google.cloud.contactcenterinsights.v1.DeleteIssueRequest) other); } else { super.mergeFrom(other); return this; @@ -369,7 +409,9 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.contactcenterinsights.v1.DeleteIssueRequest other) { - if (other == com.google.cloud.contactcenterinsights.v1.DeleteIssueRequest.getDefaultInstance()) return this; + if (other + == com.google.cloud.contactcenterinsights.v1.DeleteIssueRequest.getDefaultInstance()) + return this; if (!other.getName().isEmpty()) { name_ = other.name_; bitField0_ |= 0x00000001; @@ -401,17 +443,19 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - name_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + name_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -421,22 +465,27 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private java.lang.Object name_ = ""; /** + * + * *
      * Required. The name of the issue to delete.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -445,20 +494,23 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The name of the issue to delete.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for name. */ - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -466,28 +518,39 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The name of the issue to delete.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setName(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } name_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
      * Required. The name of the issue to delete.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return This builder for chaining. */ public Builder clearName() { @@ -497,26 +560,32 @@ public Builder clearName() { return this; } /** + * + * *
      * Required. The name of the issue to delete.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setNameBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); name_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -526,12 +595,13 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.contactcenterinsights.v1.DeleteIssueRequest) } // @@protoc_insertion_point(class_scope:google.cloud.contactcenterinsights.v1.DeleteIssueRequest) - private static final com.google.cloud.contactcenterinsights.v1.DeleteIssueRequest DEFAULT_INSTANCE; + private static final com.google.cloud.contactcenterinsights.v1.DeleteIssueRequest + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.contactcenterinsights.v1.DeleteIssueRequest(); } @@ -540,27 +610,27 @@ public static com.google.cloud.contactcenterinsights.v1.DeleteIssueRequest getDe return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public DeleteIssueRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public DeleteIssueRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -575,6 +645,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.contactcenterinsights.v1.DeleteIssueRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/DeleteIssueRequestOrBuilder.java b/java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/DeleteIssueRequestOrBuilder.java new file mode 100644 index 000000000000..0fef6dd782df --- /dev/null +++ b/java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/DeleteIssueRequestOrBuilder.java @@ -0,0 +1,54 @@ +/* + * 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. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/contactcenterinsights/v1/contact_center_insights.proto + +package com.google.cloud.contactcenterinsights.v1; + +public interface DeleteIssueRequestOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.cloud.contactcenterinsights.v1.DeleteIssueRequest) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * Required. The name of the issue to delete.
+   * 
+ * + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The name. + */ + java.lang.String getName(); + /** + * + * + *
+   * Required. The name of the issue to delete.
+   * 
+ * + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The bytes for name. + */ + com.google.protobuf.ByteString getNameBytes(); +} diff --git a/owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/DeletePhraseMatcherRequest.java b/java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/DeletePhraseMatcherRequest.java similarity index 58% rename from owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/DeletePhraseMatcherRequest.java rename to java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/DeletePhraseMatcherRequest.java index dfdbe4fea0aa..33bdbaa9c030 100644 --- a/owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/DeletePhraseMatcherRequest.java +++ b/java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/DeletePhraseMatcherRequest.java @@ -1,62 +1,87 @@ +/* + * 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. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/contactcenterinsights/v1/contact_center_insights.proto package com.google.cloud.contactcenterinsights.v1; /** + * + * *
  * The request to delete a phrase matcher.
  * 
* * Protobuf type {@code google.cloud.contactcenterinsights.v1.DeletePhraseMatcherRequest} */ -public final class DeletePhraseMatcherRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class DeletePhraseMatcherRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.contactcenterinsights.v1.DeletePhraseMatcherRequest) DeletePhraseMatcherRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use DeletePhraseMatcherRequest.newBuilder() to construct. private DeletePhraseMatcherRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private DeletePhraseMatcherRequest() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new DeletePhraseMatcherRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto.internal_static_google_cloud_contactcenterinsights_v1_DeletePhraseMatcherRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto + .internal_static_google_cloud_contactcenterinsights_v1_DeletePhraseMatcherRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto.internal_static_google_cloud_contactcenterinsights_v1_DeletePhraseMatcherRequest_fieldAccessorTable + return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto + .internal_static_google_cloud_contactcenterinsights_v1_DeletePhraseMatcherRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.contactcenterinsights.v1.DeletePhraseMatcherRequest.class, com.google.cloud.contactcenterinsights.v1.DeletePhraseMatcherRequest.Builder.class); + com.google.cloud.contactcenterinsights.v1.DeletePhraseMatcherRequest.class, + com.google.cloud.contactcenterinsights.v1.DeletePhraseMatcherRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; + @SuppressWarnings("serial") private volatile java.lang.Object name_ = ""; /** + * + * *
    * Required. The name of the phrase matcher to delete.
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ @java.lang.Override @@ -65,29 +90,31 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** + * + * *
    * Required. The name of the phrase matcher to delete.
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -96,6 +123,7 @@ public java.lang.String getName() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -107,8 +135,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -132,15 +159,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.contactcenterinsights.v1.DeletePhraseMatcherRequest)) { return super.equals(obj); } - com.google.cloud.contactcenterinsights.v1.DeletePhraseMatcherRequest other = (com.google.cloud.contactcenterinsights.v1.DeletePhraseMatcherRequest) obj; + com.google.cloud.contactcenterinsights.v1.DeletePhraseMatcherRequest other = + (com.google.cloud.contactcenterinsights.v1.DeletePhraseMatcherRequest) obj; - if (!getName() - .equals(other.getName())) return false; + if (!getName().equals(other.getName())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -160,129 +187,138 @@ public int hashCode() { } public static com.google.cloud.contactcenterinsights.v1.DeletePhraseMatcherRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.contactcenterinsights.v1.DeletePhraseMatcherRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.contactcenterinsights.v1.DeletePhraseMatcherRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.contactcenterinsights.v1.DeletePhraseMatcherRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.contactcenterinsights.v1.DeletePhraseMatcherRequest parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.contactcenterinsights.v1.DeletePhraseMatcherRequest parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.contactcenterinsights.v1.DeletePhraseMatcherRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.contactcenterinsights.v1.DeletePhraseMatcherRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.contactcenterinsights.v1.DeletePhraseMatcherRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.contactcenterinsights.v1.DeletePhraseMatcherRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.contactcenterinsights.v1.DeletePhraseMatcherRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.contactcenterinsights.v1.DeletePhraseMatcherRequest + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.contactcenterinsights.v1.DeletePhraseMatcherRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + + public static com.google.cloud.contactcenterinsights.v1.DeletePhraseMatcherRequest + parseDelimitedFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.contactcenterinsights.v1.DeletePhraseMatcherRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.contactcenterinsights.v1.DeletePhraseMatcherRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.contactcenterinsights.v1.DeletePhraseMatcherRequest prototype) { + + public static Builder newBuilder( + com.google.cloud.contactcenterinsights.v1.DeletePhraseMatcherRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * The request to delete a phrase matcher.
    * 
* * Protobuf type {@code google.cloud.contactcenterinsights.v1.DeletePhraseMatcherRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.contactcenterinsights.v1.DeletePhraseMatcherRequest) com.google.cloud.contactcenterinsights.v1.DeletePhraseMatcherRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto.internal_static_google_cloud_contactcenterinsights_v1_DeletePhraseMatcherRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto + .internal_static_google_cloud_contactcenterinsights_v1_DeletePhraseMatcherRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto.internal_static_google_cloud_contactcenterinsights_v1_DeletePhraseMatcherRequest_fieldAccessorTable + return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto + .internal_static_google_cloud_contactcenterinsights_v1_DeletePhraseMatcherRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.contactcenterinsights.v1.DeletePhraseMatcherRequest.class, com.google.cloud.contactcenterinsights.v1.DeletePhraseMatcherRequest.Builder.class); + com.google.cloud.contactcenterinsights.v1.DeletePhraseMatcherRequest.class, + com.google.cloud.contactcenterinsights.v1.DeletePhraseMatcherRequest.Builder.class); } - // Construct using com.google.cloud.contactcenterinsights.v1.DeletePhraseMatcherRequest.newBuilder() - private Builder() { + // Construct using + // com.google.cloud.contactcenterinsights.v1.DeletePhraseMatcherRequest.newBuilder() + private Builder() {} - } - - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -292,14 +328,16 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto.internal_static_google_cloud_contactcenterinsights_v1_DeletePhraseMatcherRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto + .internal_static_google_cloud_contactcenterinsights_v1_DeletePhraseMatcherRequest_descriptor; } @java.lang.Override - public com.google.cloud.contactcenterinsights.v1.DeletePhraseMatcherRequest getDefaultInstanceForType() { - return com.google.cloud.contactcenterinsights.v1.DeletePhraseMatcherRequest.getDefaultInstance(); + public com.google.cloud.contactcenterinsights.v1.DeletePhraseMatcherRequest + getDefaultInstanceForType() { + return com.google.cloud.contactcenterinsights.v1.DeletePhraseMatcherRequest + .getDefaultInstance(); } @java.lang.Override @@ -313,13 +351,17 @@ public com.google.cloud.contactcenterinsights.v1.DeletePhraseMatcherRequest buil @java.lang.Override public com.google.cloud.contactcenterinsights.v1.DeletePhraseMatcherRequest buildPartial() { - com.google.cloud.contactcenterinsights.v1.DeletePhraseMatcherRequest result = new com.google.cloud.contactcenterinsights.v1.DeletePhraseMatcherRequest(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.cloud.contactcenterinsights.v1.DeletePhraseMatcherRequest result = + new com.google.cloud.contactcenterinsights.v1.DeletePhraseMatcherRequest(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } - private void buildPartial0(com.google.cloud.contactcenterinsights.v1.DeletePhraseMatcherRequest result) { + private void buildPartial0( + com.google.cloud.contactcenterinsights.v1.DeletePhraseMatcherRequest result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { result.name_ = name_; @@ -330,46 +372,51 @@ private void buildPartial0(com.google.cloud.contactcenterinsights.v1.DeletePhras public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.contactcenterinsights.v1.DeletePhraseMatcherRequest) { - return mergeFrom((com.google.cloud.contactcenterinsights.v1.DeletePhraseMatcherRequest)other); + return mergeFrom( + (com.google.cloud.contactcenterinsights.v1.DeletePhraseMatcherRequest) other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.google.cloud.contactcenterinsights.v1.DeletePhraseMatcherRequest other) { - if (other == com.google.cloud.contactcenterinsights.v1.DeletePhraseMatcherRequest.getDefaultInstance()) return this; + public Builder mergeFrom( + com.google.cloud.contactcenterinsights.v1.DeletePhraseMatcherRequest other) { + if (other + == com.google.cloud.contactcenterinsights.v1.DeletePhraseMatcherRequest + .getDefaultInstance()) return this; if (!other.getName().isEmpty()) { name_ = other.name_; bitField0_ |= 0x00000001; @@ -401,17 +448,19 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - name_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + name_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -421,22 +470,27 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private java.lang.Object name_ = ""; /** + * + * *
      * Required. The name of the phrase matcher to delete.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -445,20 +499,23 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The name of the phrase matcher to delete.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for name. */ - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -466,28 +523,39 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The name of the phrase matcher to delete.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setName(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } name_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
      * Required. The name of the phrase matcher to delete.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return This builder for chaining. */ public Builder clearName() { @@ -497,26 +565,32 @@ public Builder clearName() { return this; } /** + * + * *
      * Required. The name of the phrase matcher to delete.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setNameBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); name_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -526,41 +600,43 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.contactcenterinsights.v1.DeletePhraseMatcherRequest) } // @@protoc_insertion_point(class_scope:google.cloud.contactcenterinsights.v1.DeletePhraseMatcherRequest) - private static final com.google.cloud.contactcenterinsights.v1.DeletePhraseMatcherRequest DEFAULT_INSTANCE; + private static final com.google.cloud.contactcenterinsights.v1.DeletePhraseMatcherRequest + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.contactcenterinsights.v1.DeletePhraseMatcherRequest(); } - public static com.google.cloud.contactcenterinsights.v1.DeletePhraseMatcherRequest getDefaultInstance() { + public static com.google.cloud.contactcenterinsights.v1.DeletePhraseMatcherRequest + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public DeletePhraseMatcherRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public DeletePhraseMatcherRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -572,9 +648,8 @@ public com.google.protobuf.Parser getParserForType() } @java.lang.Override - public com.google.cloud.contactcenterinsights.v1.DeletePhraseMatcherRequest getDefaultInstanceForType() { + public com.google.cloud.contactcenterinsights.v1.DeletePhraseMatcherRequest + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/DeletePhraseMatcherRequestOrBuilder.java b/java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/DeletePhraseMatcherRequestOrBuilder.java new file mode 100644 index 000000000000..35dd38309cb8 --- /dev/null +++ b/java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/DeletePhraseMatcherRequestOrBuilder.java @@ -0,0 +1,54 @@ +/* + * 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. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/contactcenterinsights/v1/contact_center_insights.proto + +package com.google.cloud.contactcenterinsights.v1; + +public interface DeletePhraseMatcherRequestOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.cloud.contactcenterinsights.v1.DeletePhraseMatcherRequest) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * Required. The name of the phrase matcher to delete.
+   * 
+ * + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The name. + */ + java.lang.String getName(); + /** + * + * + *
+   * Required. The name of the phrase matcher to delete.
+   * 
+ * + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The bytes for name. + */ + com.google.protobuf.ByteString getNameBytes(); +} diff --git a/owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/DeleteViewRequest.java b/java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/DeleteViewRequest.java similarity index 62% rename from owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/DeleteViewRequest.java rename to java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/DeleteViewRequest.java index eb2e94d4e921..e920c79dcd8d 100644 --- a/owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/DeleteViewRequest.java +++ b/java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/DeleteViewRequest.java @@ -1,62 +1,87 @@ +/* + * 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. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/contactcenterinsights/v1/contact_center_insights.proto package com.google.cloud.contactcenterinsights.v1; /** + * + * *
  * The request to delete a view.
  * 
* * Protobuf type {@code google.cloud.contactcenterinsights.v1.DeleteViewRequest} */ -public final class DeleteViewRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class DeleteViewRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.contactcenterinsights.v1.DeleteViewRequest) DeleteViewRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use DeleteViewRequest.newBuilder() to construct. private DeleteViewRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private DeleteViewRequest() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new DeleteViewRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto.internal_static_google_cloud_contactcenterinsights_v1_DeleteViewRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto + .internal_static_google_cloud_contactcenterinsights_v1_DeleteViewRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto.internal_static_google_cloud_contactcenterinsights_v1_DeleteViewRequest_fieldAccessorTable + return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto + .internal_static_google_cloud_contactcenterinsights_v1_DeleteViewRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.contactcenterinsights.v1.DeleteViewRequest.class, com.google.cloud.contactcenterinsights.v1.DeleteViewRequest.Builder.class); + com.google.cloud.contactcenterinsights.v1.DeleteViewRequest.class, + com.google.cloud.contactcenterinsights.v1.DeleteViewRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; + @SuppressWarnings("serial") private volatile java.lang.Object name_ = ""; /** + * + * *
    * Required. The name of the view to delete.
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ @java.lang.Override @@ -65,29 +90,31 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** + * + * *
    * Required. The name of the view to delete.
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -96,6 +123,7 @@ public java.lang.String getName() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -107,8 +135,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -132,15 +159,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.contactcenterinsights.v1.DeleteViewRequest)) { return super.equals(obj); } - com.google.cloud.contactcenterinsights.v1.DeleteViewRequest other = (com.google.cloud.contactcenterinsights.v1.DeleteViewRequest) obj; + com.google.cloud.contactcenterinsights.v1.DeleteViewRequest other = + (com.google.cloud.contactcenterinsights.v1.DeleteViewRequest) obj; - if (!getName() - .equals(other.getName())) return false; + if (!getName().equals(other.getName())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -160,129 +187,136 @@ public int hashCode() { } public static com.google.cloud.contactcenterinsights.v1.DeleteViewRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.contactcenterinsights.v1.DeleteViewRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.contactcenterinsights.v1.DeleteViewRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.contactcenterinsights.v1.DeleteViewRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.contactcenterinsights.v1.DeleteViewRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.contactcenterinsights.v1.DeleteViewRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.contactcenterinsights.v1.DeleteViewRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.contactcenterinsights.v1.DeleteViewRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.contactcenterinsights.v1.DeleteViewRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.contactcenterinsights.v1.DeleteViewRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.contactcenterinsights.v1.DeleteViewRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.contactcenterinsights.v1.DeleteViewRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.contactcenterinsights.v1.DeleteViewRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.contactcenterinsights.v1.DeleteViewRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.contactcenterinsights.v1.DeleteViewRequest prototype) { + + public static Builder newBuilder( + com.google.cloud.contactcenterinsights.v1.DeleteViewRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * The request to delete a view.
    * 
* * Protobuf type {@code google.cloud.contactcenterinsights.v1.DeleteViewRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.contactcenterinsights.v1.DeleteViewRequest) com.google.cloud.contactcenterinsights.v1.DeleteViewRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto.internal_static_google_cloud_contactcenterinsights_v1_DeleteViewRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto + .internal_static_google_cloud_contactcenterinsights_v1_DeleteViewRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto.internal_static_google_cloud_contactcenterinsights_v1_DeleteViewRequest_fieldAccessorTable + return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto + .internal_static_google_cloud_contactcenterinsights_v1_DeleteViewRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.contactcenterinsights.v1.DeleteViewRequest.class, com.google.cloud.contactcenterinsights.v1.DeleteViewRequest.Builder.class); + com.google.cloud.contactcenterinsights.v1.DeleteViewRequest.class, + com.google.cloud.contactcenterinsights.v1.DeleteViewRequest.Builder.class); } // Construct using com.google.cloud.contactcenterinsights.v1.DeleteViewRequest.newBuilder() - private Builder() { + private Builder() {} - } - - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -292,9 +326,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto.internal_static_google_cloud_contactcenterinsights_v1_DeleteViewRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto + .internal_static_google_cloud_contactcenterinsights_v1_DeleteViewRequest_descriptor; } @java.lang.Override @@ -313,8 +347,11 @@ public com.google.cloud.contactcenterinsights.v1.DeleteViewRequest build() { @java.lang.Override public com.google.cloud.contactcenterinsights.v1.DeleteViewRequest buildPartial() { - com.google.cloud.contactcenterinsights.v1.DeleteViewRequest result = new com.google.cloud.contactcenterinsights.v1.DeleteViewRequest(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.cloud.contactcenterinsights.v1.DeleteViewRequest result = + new com.google.cloud.contactcenterinsights.v1.DeleteViewRequest(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } @@ -330,38 +367,39 @@ private void buildPartial0(com.google.cloud.contactcenterinsights.v1.DeleteViewR public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.contactcenterinsights.v1.DeleteViewRequest) { - return mergeFrom((com.google.cloud.contactcenterinsights.v1.DeleteViewRequest)other); + return mergeFrom((com.google.cloud.contactcenterinsights.v1.DeleteViewRequest) other); } else { super.mergeFrom(other); return this; @@ -369,7 +407,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.contactcenterinsights.v1.DeleteViewRequest other) { - if (other == com.google.cloud.contactcenterinsights.v1.DeleteViewRequest.getDefaultInstance()) return this; + if (other == com.google.cloud.contactcenterinsights.v1.DeleteViewRequest.getDefaultInstance()) + return this; if (!other.getName().isEmpty()) { name_ = other.name_; bitField0_ |= 0x00000001; @@ -401,17 +440,19 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - name_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + name_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -421,22 +462,27 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private java.lang.Object name_ = ""; /** + * + * *
      * Required. The name of the view to delete.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -445,20 +491,23 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The name of the view to delete.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for name. */ - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -466,28 +515,39 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The name of the view to delete.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setName(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } name_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
      * Required. The name of the view to delete.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return This builder for chaining. */ public Builder clearName() { @@ -497,26 +557,32 @@ public Builder clearName() { return this; } /** + * + * *
      * Required. The name of the view to delete.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setNameBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); name_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -526,12 +592,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.contactcenterinsights.v1.DeleteViewRequest) } // @@protoc_insertion_point(class_scope:google.cloud.contactcenterinsights.v1.DeleteViewRequest) private static final com.google.cloud.contactcenterinsights.v1.DeleteViewRequest DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.contactcenterinsights.v1.DeleteViewRequest(); } @@ -540,27 +606,27 @@ public static com.google.cloud.contactcenterinsights.v1.DeleteViewRequest getDef return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public DeleteViewRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public DeleteViewRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -575,6 +641,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.contactcenterinsights.v1.DeleteViewRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/DeleteViewRequestOrBuilder.java b/java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/DeleteViewRequestOrBuilder.java new file mode 100644 index 000000000000..9ab179f3fe53 --- /dev/null +++ b/java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/DeleteViewRequestOrBuilder.java @@ -0,0 +1,54 @@ +/* + * 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. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/contactcenterinsights/v1/contact_center_insights.proto + +package com.google.cloud.contactcenterinsights.v1; + +public interface DeleteViewRequestOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.cloud.contactcenterinsights.v1.DeleteViewRequest) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * Required. The name of the view to delete.
+   * 
+ * + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The name. + */ + java.lang.String getName(); + /** + * + * + *
+   * Required. The name of the view to delete.
+   * 
+ * + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The bytes for name. + */ + com.google.protobuf.ByteString getNameBytes(); +} diff --git a/owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/DeployIssueModelMetadata.java b/java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/DeployIssueModelMetadata.java similarity index 63% rename from owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/DeployIssueModelMetadata.java rename to java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/DeployIssueModelMetadata.java index 2e08d8bb42ea..1961d05274bb 100644 --- a/owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/DeployIssueModelMetadata.java +++ b/java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/DeployIssueModelMetadata.java @@ -1,60 +1,82 @@ +/* + * 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. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/contactcenterinsights/v1/contact_center_insights.proto package com.google.cloud.contactcenterinsights.v1; /** + * + * *
  * Metadata for deploying an issue model.
  * 
* * Protobuf type {@code google.cloud.contactcenterinsights.v1.DeployIssueModelMetadata} */ -public final class DeployIssueModelMetadata extends - com.google.protobuf.GeneratedMessageV3 implements +public final class DeployIssueModelMetadata extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.contactcenterinsights.v1.DeployIssueModelMetadata) DeployIssueModelMetadataOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use DeployIssueModelMetadata.newBuilder() to construct. private DeployIssueModelMetadata(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private DeployIssueModelMetadata() { - } + + private DeployIssueModelMetadata() {} @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new DeployIssueModelMetadata(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto.internal_static_google_cloud_contactcenterinsights_v1_DeployIssueModelMetadata_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto + .internal_static_google_cloud_contactcenterinsights_v1_DeployIssueModelMetadata_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto.internal_static_google_cloud_contactcenterinsights_v1_DeployIssueModelMetadata_fieldAccessorTable + return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto + .internal_static_google_cloud_contactcenterinsights_v1_DeployIssueModelMetadata_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.contactcenterinsights.v1.DeployIssueModelMetadata.class, com.google.cloud.contactcenterinsights.v1.DeployIssueModelMetadata.Builder.class); + com.google.cloud.contactcenterinsights.v1.DeployIssueModelMetadata.class, + com.google.cloud.contactcenterinsights.v1.DeployIssueModelMetadata.Builder.class); } public static final int CREATE_TIME_FIELD_NUMBER = 1; private com.google.protobuf.Timestamp createTime_; /** + * + * *
    * Output only. The time the operation was created.
    * 
* - * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the createTime field is set. */ @java.lang.Override @@ -62,11 +84,15 @@ public boolean hasCreateTime() { return createTime_ != null; } /** + * + * *
    * Output only. The time the operation was created.
    * 
* - * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The createTime. */ @java.lang.Override @@ -74,11 +100,14 @@ public com.google.protobuf.Timestamp getCreateTime() { return createTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : createTime_; } /** + * + * *
    * Output only. The time the operation was created.
    * 
* - * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ @java.lang.Override public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { @@ -88,11 +117,15 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { public static final int END_TIME_FIELD_NUMBER = 2; private com.google.protobuf.Timestamp endTime_; /** + * + * *
    * Output only. The time the operation finished running.
    * 
* - * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the endTime field is set. */ @java.lang.Override @@ -100,11 +133,15 @@ public boolean hasEndTime() { return endTime_ != null; } /** + * + * *
    * Output only. The time the operation finished running.
    * 
* - * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The endTime. */ @java.lang.Override @@ -112,11 +149,14 @@ public com.google.protobuf.Timestamp getEndTime() { return endTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : endTime_; } /** + * + * *
    * Output only. The time the operation finished running.
    * 
* - * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ @java.lang.Override public com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder() { @@ -126,11 +166,14 @@ public com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder() { public static final int REQUEST_FIELD_NUMBER = 3; private com.google.cloud.contactcenterinsights.v1.DeployIssueModelRequest request_; /** + * + * *
    * The original request for deployment.
    * 
* * .google.cloud.contactcenterinsights.v1.DeployIssueModelRequest request = 3; + * * @return Whether the request field is set. */ @java.lang.Override @@ -138,18 +181,25 @@ public boolean hasRequest() { return request_ != null; } /** + * + * *
    * The original request for deployment.
    * 
* * .google.cloud.contactcenterinsights.v1.DeployIssueModelRequest request = 3; + * * @return The request. */ @java.lang.Override public com.google.cloud.contactcenterinsights.v1.DeployIssueModelRequest getRequest() { - return request_ == null ? com.google.cloud.contactcenterinsights.v1.DeployIssueModelRequest.getDefaultInstance() : request_; + return request_ == null + ? com.google.cloud.contactcenterinsights.v1.DeployIssueModelRequest.getDefaultInstance() + : request_; } /** + * + * *
    * The original request for deployment.
    * 
@@ -157,11 +207,15 @@ public com.google.cloud.contactcenterinsights.v1.DeployIssueModelRequest getRequ * .google.cloud.contactcenterinsights.v1.DeployIssueModelRequest request = 3; */ @java.lang.Override - public com.google.cloud.contactcenterinsights.v1.DeployIssueModelRequestOrBuilder getRequestOrBuilder() { - return request_ == null ? com.google.cloud.contactcenterinsights.v1.DeployIssueModelRequest.getDefaultInstance() : request_; + public com.google.cloud.contactcenterinsights.v1.DeployIssueModelRequestOrBuilder + getRequestOrBuilder() { + return request_ == null + ? com.google.cloud.contactcenterinsights.v1.DeployIssueModelRequest.getDefaultInstance() + : request_; } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -173,8 +227,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (createTime_ != null) { output.writeMessage(1, getCreateTime()); } @@ -194,16 +247,13 @@ public int getSerializedSize() { size = 0; if (createTime_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, getCreateTime()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getCreateTime()); } if (endTime_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, getEndTime()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getEndTime()); } if (request_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(3, getRequest()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getRequest()); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -213,27 +263,25 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.contactcenterinsights.v1.DeployIssueModelMetadata)) { return super.equals(obj); } - com.google.cloud.contactcenterinsights.v1.DeployIssueModelMetadata other = (com.google.cloud.contactcenterinsights.v1.DeployIssueModelMetadata) obj; + com.google.cloud.contactcenterinsights.v1.DeployIssueModelMetadata other = + (com.google.cloud.contactcenterinsights.v1.DeployIssueModelMetadata) obj; if (hasCreateTime() != other.hasCreateTime()) return false; if (hasCreateTime()) { - if (!getCreateTime() - .equals(other.getCreateTime())) return false; + if (!getCreateTime().equals(other.getCreateTime())) return false; } if (hasEndTime() != other.hasEndTime()) return false; if (hasEndTime()) { - if (!getEndTime() - .equals(other.getEndTime())) return false; + if (!getEndTime().equals(other.getEndTime())) return false; } if (hasRequest() != other.hasRequest()) return false; if (hasRequest()) { - if (!getRequest() - .equals(other.getRequest())) return false; + if (!getRequest().equals(other.getRequest())) return false; } if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -264,129 +312,138 @@ public int hashCode() { } public static com.google.cloud.contactcenterinsights.v1.DeployIssueModelMetadata parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.contactcenterinsights.v1.DeployIssueModelMetadata parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.contactcenterinsights.v1.DeployIssueModelMetadata parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.contactcenterinsights.v1.DeployIssueModelMetadata parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.contactcenterinsights.v1.DeployIssueModelMetadata parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.contactcenterinsights.v1.DeployIssueModelMetadata parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.contactcenterinsights.v1.DeployIssueModelMetadata parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.contactcenterinsights.v1.DeployIssueModelMetadata parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.contactcenterinsights.v1.DeployIssueModelMetadata parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.contactcenterinsights.v1.DeployIssueModelMetadata parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.contactcenterinsights.v1.DeployIssueModelMetadata parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.contactcenterinsights.v1.DeployIssueModelMetadata + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.contactcenterinsights.v1.DeployIssueModelMetadata parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + + public static com.google.cloud.contactcenterinsights.v1.DeployIssueModelMetadata + parseDelimitedFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.contactcenterinsights.v1.DeployIssueModelMetadata parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.contactcenterinsights.v1.DeployIssueModelMetadata parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.contactcenterinsights.v1.DeployIssueModelMetadata prototype) { + + public static Builder newBuilder( + com.google.cloud.contactcenterinsights.v1.DeployIssueModelMetadata prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Metadata for deploying an issue model.
    * 
* * Protobuf type {@code google.cloud.contactcenterinsights.v1.DeployIssueModelMetadata} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.contactcenterinsights.v1.DeployIssueModelMetadata) com.google.cloud.contactcenterinsights.v1.DeployIssueModelMetadataOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto.internal_static_google_cloud_contactcenterinsights_v1_DeployIssueModelMetadata_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto + .internal_static_google_cloud_contactcenterinsights_v1_DeployIssueModelMetadata_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto.internal_static_google_cloud_contactcenterinsights_v1_DeployIssueModelMetadata_fieldAccessorTable + return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto + .internal_static_google_cloud_contactcenterinsights_v1_DeployIssueModelMetadata_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.contactcenterinsights.v1.DeployIssueModelMetadata.class, com.google.cloud.contactcenterinsights.v1.DeployIssueModelMetadata.Builder.class); + com.google.cloud.contactcenterinsights.v1.DeployIssueModelMetadata.class, + com.google.cloud.contactcenterinsights.v1.DeployIssueModelMetadata.Builder.class); } - // Construct using com.google.cloud.contactcenterinsights.v1.DeployIssueModelMetadata.newBuilder() - private Builder() { - - } + // Construct using + // com.google.cloud.contactcenterinsights.v1.DeployIssueModelMetadata.newBuilder() + private Builder() {} - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -410,14 +467,16 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto.internal_static_google_cloud_contactcenterinsights_v1_DeployIssueModelMetadata_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto + .internal_static_google_cloud_contactcenterinsights_v1_DeployIssueModelMetadata_descriptor; } @java.lang.Override - public com.google.cloud.contactcenterinsights.v1.DeployIssueModelMetadata getDefaultInstanceForType() { - return com.google.cloud.contactcenterinsights.v1.DeployIssueModelMetadata.getDefaultInstance(); + public com.google.cloud.contactcenterinsights.v1.DeployIssueModelMetadata + getDefaultInstanceForType() { + return com.google.cloud.contactcenterinsights.v1.DeployIssueModelMetadata + .getDefaultInstance(); } @java.lang.Override @@ -431,28 +490,26 @@ public com.google.cloud.contactcenterinsights.v1.DeployIssueModelMetadata build( @java.lang.Override public com.google.cloud.contactcenterinsights.v1.DeployIssueModelMetadata buildPartial() { - com.google.cloud.contactcenterinsights.v1.DeployIssueModelMetadata result = new com.google.cloud.contactcenterinsights.v1.DeployIssueModelMetadata(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.cloud.contactcenterinsights.v1.DeployIssueModelMetadata result = + new com.google.cloud.contactcenterinsights.v1.DeployIssueModelMetadata(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } - private void buildPartial0(com.google.cloud.contactcenterinsights.v1.DeployIssueModelMetadata result) { + private void buildPartial0( + com.google.cloud.contactcenterinsights.v1.DeployIssueModelMetadata result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { - result.createTime_ = createTimeBuilder_ == null - ? createTime_ - : createTimeBuilder_.build(); + result.createTime_ = createTimeBuilder_ == null ? createTime_ : createTimeBuilder_.build(); } if (((from_bitField0_ & 0x00000002) != 0)) { - result.endTime_ = endTimeBuilder_ == null - ? endTime_ - : endTimeBuilder_.build(); + result.endTime_ = endTimeBuilder_ == null ? endTime_ : endTimeBuilder_.build(); } if (((from_bitField0_ & 0x00000004) != 0)) { - result.request_ = requestBuilder_ == null - ? request_ - : requestBuilder_.build(); + result.request_ = requestBuilder_ == null ? request_ : requestBuilder_.build(); } } @@ -460,46 +517,51 @@ private void buildPartial0(com.google.cloud.contactcenterinsights.v1.DeployIssue public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.contactcenterinsights.v1.DeployIssueModelMetadata) { - return mergeFrom((com.google.cloud.contactcenterinsights.v1.DeployIssueModelMetadata)other); + return mergeFrom( + (com.google.cloud.contactcenterinsights.v1.DeployIssueModelMetadata) other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.google.cloud.contactcenterinsights.v1.DeployIssueModelMetadata other) { - if (other == com.google.cloud.contactcenterinsights.v1.DeployIssueModelMetadata.getDefaultInstance()) return this; + public Builder mergeFrom( + com.google.cloud.contactcenterinsights.v1.DeployIssueModelMetadata other) { + if (other + == com.google.cloud.contactcenterinsights.v1.DeployIssueModelMetadata + .getDefaultInstance()) return this; if (other.hasCreateTime()) { mergeCreateTime(other.getCreateTime()); } @@ -535,33 +597,31 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - input.readMessage( - getCreateTimeFieldBuilder().getBuilder(), - extensionRegistry); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: { - input.readMessage( - getEndTimeFieldBuilder().getBuilder(), - extensionRegistry); - bitField0_ |= 0x00000002; - break; - } // case 18 - case 26: { - input.readMessage( - getRequestFieldBuilder().getBuilder(), - extensionRegistry); - bitField0_ |= 0x00000004; - break; - } // case 26 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + input.readMessage(getCreateTimeFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: + { + input.readMessage(getEndTimeFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000002; + break; + } // case 18 + case 26: + { + input.readMessage(getRequestFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000004; + break; + } // case 26 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -571,43 +631,63 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private com.google.protobuf.Timestamp createTime_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> createTimeBuilder_; + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder> + createTimeBuilder_; /** + * + * *
      * Output only. The time the operation was created.
      * 
* - * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the createTime field is set. */ public boolean hasCreateTime() { return ((bitField0_ & 0x00000001) != 0); } /** + * + * *
      * Output only. The time the operation was created.
      * 
* - * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The createTime. */ public com.google.protobuf.Timestamp getCreateTime() { if (createTimeBuilder_ == null) { - return createTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : createTime_; + return createTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : createTime_; } else { return createTimeBuilder_.getMessage(); } } /** + * + * *
      * Output only. The time the operation was created.
      * 
* - * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder setCreateTime(com.google.protobuf.Timestamp value) { if (createTimeBuilder_ == null) { @@ -623,14 +703,17 @@ public Builder setCreateTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * Output only. The time the operation was created.
      * 
* - * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - public Builder setCreateTime( - com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setCreateTime(com.google.protobuf.Timestamp.Builder builderForValue) { if (createTimeBuilder_ == null) { createTime_ = builderForValue.build(); } else { @@ -641,17 +724,21 @@ public Builder setCreateTime( return this; } /** + * + * *
      * Output only. The time the operation was created.
      * 
* - * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder mergeCreateTime(com.google.protobuf.Timestamp value) { if (createTimeBuilder_ == null) { - if (((bitField0_ & 0x00000001) != 0) && - createTime_ != null && - createTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { + if (((bitField0_ & 0x00000001) != 0) + && createTime_ != null + && createTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { getCreateTimeBuilder().mergeFrom(value); } else { createTime_ = value; @@ -664,11 +751,15 @@ public Builder mergeCreateTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * Output only. The time the operation was created.
      * 
* - * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder clearCreateTime() { bitField0_ = (bitField0_ & ~0x00000001); @@ -681,11 +772,15 @@ public Builder clearCreateTime() { return this; } /** + * + * *
      * Output only. The time the operation was created.
      * 
* - * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public com.google.protobuf.Timestamp.Builder getCreateTimeBuilder() { bitField0_ |= 0x00000001; @@ -693,36 +788,48 @@ public com.google.protobuf.Timestamp.Builder getCreateTimeBuilder() { return getCreateTimeFieldBuilder().getBuilder(); } /** + * + * *
      * Output only. The time the operation was created.
      * 
* - * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { if (createTimeBuilder_ != null) { return createTimeBuilder_.getMessageOrBuilder(); } else { - return createTime_ == null ? - com.google.protobuf.Timestamp.getDefaultInstance() : createTime_; + return createTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : createTime_; } } /** + * + * *
      * Output only. The time the operation was created.
      * 
* - * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder> getCreateTimeFieldBuilder() { if (createTimeBuilder_ == null) { - createTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( - getCreateTime(), - getParentForChildren(), - isClean()); + createTimeBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder>( + getCreateTime(), getParentForChildren(), isClean()); createTime_ = null; } return createTimeBuilder_; @@ -730,24 +837,35 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { private com.google.protobuf.Timestamp endTime_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> endTimeBuilder_; + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder> + endTimeBuilder_; /** + * + * *
      * Output only. The time the operation finished running.
      * 
* - * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the endTime field is set. */ public boolean hasEndTime() { return ((bitField0_ & 0x00000002) != 0); } /** + * + * *
      * Output only. The time the operation finished running.
      * 
* - * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The endTime. */ public com.google.protobuf.Timestamp getEndTime() { @@ -758,11 +876,14 @@ public com.google.protobuf.Timestamp getEndTime() { } } /** + * + * *
      * Output only. The time the operation finished running.
      * 
* - * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder setEndTime(com.google.protobuf.Timestamp value) { if (endTimeBuilder_ == null) { @@ -778,14 +899,16 @@ public Builder setEndTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * Output only. The time the operation finished running.
      * 
* - * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - public Builder setEndTime( - com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setEndTime(com.google.protobuf.Timestamp.Builder builderForValue) { if (endTimeBuilder_ == null) { endTime_ = builderForValue.build(); } else { @@ -796,17 +919,20 @@ public Builder setEndTime( return this; } /** + * + * *
      * Output only. The time the operation finished running.
      * 
* - * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder mergeEndTime(com.google.protobuf.Timestamp value) { if (endTimeBuilder_ == null) { - if (((bitField0_ & 0x00000002) != 0) && - endTime_ != null && - endTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { + if (((bitField0_ & 0x00000002) != 0) + && endTime_ != null + && endTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { getEndTimeBuilder().mergeFrom(value); } else { endTime_ = value; @@ -819,11 +945,14 @@ public Builder mergeEndTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * Output only. The time the operation finished running.
      * 
* - * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder clearEndTime() { bitField0_ = (bitField0_ & ~0x00000002); @@ -836,11 +965,14 @@ public Builder clearEndTime() { return this; } /** + * + * *
      * Output only. The time the operation finished running.
      * 
* - * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public com.google.protobuf.Timestamp.Builder getEndTimeBuilder() { bitField0_ |= 0x00000002; @@ -848,36 +980,44 @@ public com.google.protobuf.Timestamp.Builder getEndTimeBuilder() { return getEndTimeFieldBuilder().getBuilder(); } /** + * + * *
      * Output only. The time the operation finished running.
      * 
* - * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder() { if (endTimeBuilder_ != null) { return endTimeBuilder_.getMessageOrBuilder(); } else { - return endTime_ == null ? - com.google.protobuf.Timestamp.getDefaultInstance() : endTime_; + return endTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : endTime_; } } /** + * + * *
      * Output only. The time the operation finished running.
      * 
* - * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder> getEndTimeFieldBuilder() { if (endTimeBuilder_ == null) { - endTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( - getEndTime(), - getParentForChildren(), - isClean()); + endTimeBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder>( + getEndTime(), getParentForChildren(), isClean()); endTime_ = null; } return endTimeBuilder_; @@ -885,41 +1025,55 @@ public com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder() { private com.google.cloud.contactcenterinsights.v1.DeployIssueModelRequest request_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.contactcenterinsights.v1.DeployIssueModelRequest, com.google.cloud.contactcenterinsights.v1.DeployIssueModelRequest.Builder, com.google.cloud.contactcenterinsights.v1.DeployIssueModelRequestOrBuilder> requestBuilder_; + com.google.cloud.contactcenterinsights.v1.DeployIssueModelRequest, + com.google.cloud.contactcenterinsights.v1.DeployIssueModelRequest.Builder, + com.google.cloud.contactcenterinsights.v1.DeployIssueModelRequestOrBuilder> + requestBuilder_; /** + * + * *
      * The original request for deployment.
      * 
* * .google.cloud.contactcenterinsights.v1.DeployIssueModelRequest request = 3; + * * @return Whether the request field is set. */ public boolean hasRequest() { return ((bitField0_ & 0x00000004) != 0); } /** + * + * *
      * The original request for deployment.
      * 
* * .google.cloud.contactcenterinsights.v1.DeployIssueModelRequest request = 3; + * * @return The request. */ public com.google.cloud.contactcenterinsights.v1.DeployIssueModelRequest getRequest() { if (requestBuilder_ == null) { - return request_ == null ? com.google.cloud.contactcenterinsights.v1.DeployIssueModelRequest.getDefaultInstance() : request_; + return request_ == null + ? com.google.cloud.contactcenterinsights.v1.DeployIssueModelRequest.getDefaultInstance() + : request_; } else { return requestBuilder_.getMessage(); } } /** + * + * *
      * The original request for deployment.
      * 
* * .google.cloud.contactcenterinsights.v1.DeployIssueModelRequest request = 3; */ - public Builder setRequest(com.google.cloud.contactcenterinsights.v1.DeployIssueModelRequest value) { + public Builder setRequest( + com.google.cloud.contactcenterinsights.v1.DeployIssueModelRequest value) { if (requestBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -933,6 +1087,8 @@ public Builder setRequest(com.google.cloud.contactcenterinsights.v1.DeployIssueM return this; } /** + * + * *
      * The original request for deployment.
      * 
@@ -951,17 +1107,22 @@ public Builder setRequest( return this; } /** + * + * *
      * The original request for deployment.
      * 
* * .google.cloud.contactcenterinsights.v1.DeployIssueModelRequest request = 3; */ - public Builder mergeRequest(com.google.cloud.contactcenterinsights.v1.DeployIssueModelRequest value) { + public Builder mergeRequest( + com.google.cloud.contactcenterinsights.v1.DeployIssueModelRequest value) { if (requestBuilder_ == null) { - if (((bitField0_ & 0x00000004) != 0) && - request_ != null && - request_ != com.google.cloud.contactcenterinsights.v1.DeployIssueModelRequest.getDefaultInstance()) { + if (((bitField0_ & 0x00000004) != 0) + && request_ != null + && request_ + != com.google.cloud.contactcenterinsights.v1.DeployIssueModelRequest + .getDefaultInstance()) { getRequestBuilder().mergeFrom(value); } else { request_ = value; @@ -974,6 +1135,8 @@ public Builder mergeRequest(com.google.cloud.contactcenterinsights.v1.DeployIssu return this; } /** + * + * *
      * The original request for deployment.
      * 
@@ -991,33 +1154,42 @@ public Builder clearRequest() { return this; } /** + * + * *
      * The original request for deployment.
      * 
* * .google.cloud.contactcenterinsights.v1.DeployIssueModelRequest request = 3; */ - public com.google.cloud.contactcenterinsights.v1.DeployIssueModelRequest.Builder getRequestBuilder() { + public com.google.cloud.contactcenterinsights.v1.DeployIssueModelRequest.Builder + getRequestBuilder() { bitField0_ |= 0x00000004; onChanged(); return getRequestFieldBuilder().getBuilder(); } /** + * + * *
      * The original request for deployment.
      * 
* * .google.cloud.contactcenterinsights.v1.DeployIssueModelRequest request = 3; */ - public com.google.cloud.contactcenterinsights.v1.DeployIssueModelRequestOrBuilder getRequestOrBuilder() { + public com.google.cloud.contactcenterinsights.v1.DeployIssueModelRequestOrBuilder + getRequestOrBuilder() { if (requestBuilder_ != null) { return requestBuilder_.getMessageOrBuilder(); } else { - return request_ == null ? - com.google.cloud.contactcenterinsights.v1.DeployIssueModelRequest.getDefaultInstance() : request_; + return request_ == null + ? com.google.cloud.contactcenterinsights.v1.DeployIssueModelRequest.getDefaultInstance() + : request_; } } /** + * + * *
      * The original request for deployment.
      * 
@@ -1025,21 +1197,24 @@ public com.google.cloud.contactcenterinsights.v1.DeployIssueModelRequestOrBuilde * .google.cloud.contactcenterinsights.v1.DeployIssueModelRequest request = 3; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.contactcenterinsights.v1.DeployIssueModelRequest, com.google.cloud.contactcenterinsights.v1.DeployIssueModelRequest.Builder, com.google.cloud.contactcenterinsights.v1.DeployIssueModelRequestOrBuilder> + com.google.cloud.contactcenterinsights.v1.DeployIssueModelRequest, + com.google.cloud.contactcenterinsights.v1.DeployIssueModelRequest.Builder, + com.google.cloud.contactcenterinsights.v1.DeployIssueModelRequestOrBuilder> getRequestFieldBuilder() { if (requestBuilder_ == null) { - requestBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.contactcenterinsights.v1.DeployIssueModelRequest, com.google.cloud.contactcenterinsights.v1.DeployIssueModelRequest.Builder, com.google.cloud.contactcenterinsights.v1.DeployIssueModelRequestOrBuilder>( - getRequest(), - getParentForChildren(), - isClean()); + requestBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.contactcenterinsights.v1.DeployIssueModelRequest, + com.google.cloud.contactcenterinsights.v1.DeployIssueModelRequest.Builder, + com.google.cloud.contactcenterinsights.v1.DeployIssueModelRequestOrBuilder>( + getRequest(), getParentForChildren(), isClean()); request_ = null; } return requestBuilder_; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1049,41 +1224,43 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.contactcenterinsights.v1.DeployIssueModelMetadata) } // @@protoc_insertion_point(class_scope:google.cloud.contactcenterinsights.v1.DeployIssueModelMetadata) - private static final com.google.cloud.contactcenterinsights.v1.DeployIssueModelMetadata DEFAULT_INSTANCE; + private static final com.google.cloud.contactcenterinsights.v1.DeployIssueModelMetadata + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.contactcenterinsights.v1.DeployIssueModelMetadata(); } - public static com.google.cloud.contactcenterinsights.v1.DeployIssueModelMetadata getDefaultInstance() { + public static com.google.cloud.contactcenterinsights.v1.DeployIssueModelMetadata + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public DeployIssueModelMetadata parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public DeployIssueModelMetadata parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1095,9 +1272,8 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.cloud.contactcenterinsights.v1.DeployIssueModelMetadata getDefaultInstanceForType() { + public com.google.cloud.contactcenterinsights.v1.DeployIssueModelMetadata + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/DeployIssueModelMetadataOrBuilder.java b/java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/DeployIssueModelMetadataOrBuilder.java similarity index 70% rename from owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/DeployIssueModelMetadataOrBuilder.java rename to java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/DeployIssueModelMetadataOrBuilder.java index aee429890611..df5ca21f58f1 100644 --- a/owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/DeployIssueModelMetadataOrBuilder.java +++ b/java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/DeployIssueModelMetadataOrBuilder.java @@ -1,85 +1,131 @@ +/* + * 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. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/contactcenterinsights/v1/contact_center_insights.proto package com.google.cloud.contactcenterinsights.v1; -public interface DeployIssueModelMetadataOrBuilder extends +public interface DeployIssueModelMetadataOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.contactcenterinsights.v1.DeployIssueModelMetadata) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Output only. The time the operation was created.
    * 
* - * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the createTime field is set. */ boolean hasCreateTime(); /** + * + * *
    * Output only. The time the operation was created.
    * 
* - * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The createTime. */ com.google.protobuf.Timestamp getCreateTime(); /** + * + * *
    * Output only. The time the operation was created.
    * 
* - * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder(); /** + * + * *
    * Output only. The time the operation finished running.
    * 
* - * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the endTime field is set. */ boolean hasEndTime(); /** + * + * *
    * Output only. The time the operation finished running.
    * 
* - * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The endTime. */ com.google.protobuf.Timestamp getEndTime(); /** + * + * *
    * Output only. The time the operation finished running.
    * 
* - * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder(); /** + * + * *
    * The original request for deployment.
    * 
* * .google.cloud.contactcenterinsights.v1.DeployIssueModelRequest request = 3; + * * @return Whether the request field is set. */ boolean hasRequest(); /** + * + * *
    * The original request for deployment.
    * 
* * .google.cloud.contactcenterinsights.v1.DeployIssueModelRequest request = 3; + * * @return The request. */ com.google.cloud.contactcenterinsights.v1.DeployIssueModelRequest getRequest(); /** + * + * *
    * The original request for deployment.
    * 
diff --git a/owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/DeployIssueModelRequest.java b/java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/DeployIssueModelRequest.java similarity index 59% rename from owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/DeployIssueModelRequest.java rename to java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/DeployIssueModelRequest.java index c5e7153ca135..fcbcd25a7c4f 100644 --- a/owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/DeployIssueModelRequest.java +++ b/java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/DeployIssueModelRequest.java @@ -1,62 +1,87 @@ +/* + * 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. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/contactcenterinsights/v1/contact_center_insights.proto package com.google.cloud.contactcenterinsights.v1; /** + * + * *
  * The request to deploy an issue model.
  * 
* * Protobuf type {@code google.cloud.contactcenterinsights.v1.DeployIssueModelRequest} */ -public final class DeployIssueModelRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class DeployIssueModelRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.contactcenterinsights.v1.DeployIssueModelRequest) DeployIssueModelRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use DeployIssueModelRequest.newBuilder() to construct. private DeployIssueModelRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private DeployIssueModelRequest() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new DeployIssueModelRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto.internal_static_google_cloud_contactcenterinsights_v1_DeployIssueModelRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto + .internal_static_google_cloud_contactcenterinsights_v1_DeployIssueModelRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto.internal_static_google_cloud_contactcenterinsights_v1_DeployIssueModelRequest_fieldAccessorTable + return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto + .internal_static_google_cloud_contactcenterinsights_v1_DeployIssueModelRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.contactcenterinsights.v1.DeployIssueModelRequest.class, com.google.cloud.contactcenterinsights.v1.DeployIssueModelRequest.Builder.class); + com.google.cloud.contactcenterinsights.v1.DeployIssueModelRequest.class, + com.google.cloud.contactcenterinsights.v1.DeployIssueModelRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; + @SuppressWarnings("serial") private volatile java.lang.Object name_ = ""; /** + * + * *
    * Required. The issue model to deploy.
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ @java.lang.Override @@ -65,29 +90,31 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** + * + * *
    * Required. The issue model to deploy.
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -96,6 +123,7 @@ public java.lang.String getName() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -107,8 +135,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -132,15 +159,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.contactcenterinsights.v1.DeployIssueModelRequest)) { return super.equals(obj); } - com.google.cloud.contactcenterinsights.v1.DeployIssueModelRequest other = (com.google.cloud.contactcenterinsights.v1.DeployIssueModelRequest) obj; + com.google.cloud.contactcenterinsights.v1.DeployIssueModelRequest other = + (com.google.cloud.contactcenterinsights.v1.DeployIssueModelRequest) obj; - if (!getName() - .equals(other.getName())) return false; + if (!getName().equals(other.getName())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -160,129 +187,138 @@ public int hashCode() { } public static com.google.cloud.contactcenterinsights.v1.DeployIssueModelRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.contactcenterinsights.v1.DeployIssueModelRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.contactcenterinsights.v1.DeployIssueModelRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.contactcenterinsights.v1.DeployIssueModelRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.contactcenterinsights.v1.DeployIssueModelRequest parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.contactcenterinsights.v1.DeployIssueModelRequest parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.contactcenterinsights.v1.DeployIssueModelRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.contactcenterinsights.v1.DeployIssueModelRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.contactcenterinsights.v1.DeployIssueModelRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.contactcenterinsights.v1.DeployIssueModelRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.contactcenterinsights.v1.DeployIssueModelRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.contactcenterinsights.v1.DeployIssueModelRequest + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.contactcenterinsights.v1.DeployIssueModelRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + + public static com.google.cloud.contactcenterinsights.v1.DeployIssueModelRequest + parseDelimitedFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.contactcenterinsights.v1.DeployIssueModelRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.contactcenterinsights.v1.DeployIssueModelRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.contactcenterinsights.v1.DeployIssueModelRequest prototype) { + + public static Builder newBuilder( + com.google.cloud.contactcenterinsights.v1.DeployIssueModelRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * The request to deploy an issue model.
    * 
* * Protobuf type {@code google.cloud.contactcenterinsights.v1.DeployIssueModelRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.contactcenterinsights.v1.DeployIssueModelRequest) com.google.cloud.contactcenterinsights.v1.DeployIssueModelRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto.internal_static_google_cloud_contactcenterinsights_v1_DeployIssueModelRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto + .internal_static_google_cloud_contactcenterinsights_v1_DeployIssueModelRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto.internal_static_google_cloud_contactcenterinsights_v1_DeployIssueModelRequest_fieldAccessorTable + return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto + .internal_static_google_cloud_contactcenterinsights_v1_DeployIssueModelRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.contactcenterinsights.v1.DeployIssueModelRequest.class, com.google.cloud.contactcenterinsights.v1.DeployIssueModelRequest.Builder.class); + com.google.cloud.contactcenterinsights.v1.DeployIssueModelRequest.class, + com.google.cloud.contactcenterinsights.v1.DeployIssueModelRequest.Builder.class); } - // Construct using com.google.cloud.contactcenterinsights.v1.DeployIssueModelRequest.newBuilder() - private Builder() { + // Construct using + // com.google.cloud.contactcenterinsights.v1.DeployIssueModelRequest.newBuilder() + private Builder() {} - } - - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -292,13 +328,14 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto.internal_static_google_cloud_contactcenterinsights_v1_DeployIssueModelRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto + .internal_static_google_cloud_contactcenterinsights_v1_DeployIssueModelRequest_descriptor; } @java.lang.Override - public com.google.cloud.contactcenterinsights.v1.DeployIssueModelRequest getDefaultInstanceForType() { + public com.google.cloud.contactcenterinsights.v1.DeployIssueModelRequest + getDefaultInstanceForType() { return com.google.cloud.contactcenterinsights.v1.DeployIssueModelRequest.getDefaultInstance(); } @@ -313,13 +350,17 @@ public com.google.cloud.contactcenterinsights.v1.DeployIssueModelRequest build() @java.lang.Override public com.google.cloud.contactcenterinsights.v1.DeployIssueModelRequest buildPartial() { - com.google.cloud.contactcenterinsights.v1.DeployIssueModelRequest result = new com.google.cloud.contactcenterinsights.v1.DeployIssueModelRequest(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.cloud.contactcenterinsights.v1.DeployIssueModelRequest result = + new com.google.cloud.contactcenterinsights.v1.DeployIssueModelRequest(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } - private void buildPartial0(com.google.cloud.contactcenterinsights.v1.DeployIssueModelRequest result) { + private void buildPartial0( + com.google.cloud.contactcenterinsights.v1.DeployIssueModelRequest result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { result.name_ = name_; @@ -330,46 +371,50 @@ private void buildPartial0(com.google.cloud.contactcenterinsights.v1.DeployIssue public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.contactcenterinsights.v1.DeployIssueModelRequest) { - return mergeFrom((com.google.cloud.contactcenterinsights.v1.DeployIssueModelRequest)other); + return mergeFrom((com.google.cloud.contactcenterinsights.v1.DeployIssueModelRequest) other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.google.cloud.contactcenterinsights.v1.DeployIssueModelRequest other) { - if (other == com.google.cloud.contactcenterinsights.v1.DeployIssueModelRequest.getDefaultInstance()) return this; + public Builder mergeFrom( + com.google.cloud.contactcenterinsights.v1.DeployIssueModelRequest other) { + if (other + == com.google.cloud.contactcenterinsights.v1.DeployIssueModelRequest.getDefaultInstance()) + return this; if (!other.getName().isEmpty()) { name_ = other.name_; bitField0_ |= 0x00000001; @@ -401,17 +446,19 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - name_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + name_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -421,22 +468,27 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private java.lang.Object name_ = ""; /** + * + * *
      * Required. The issue model to deploy.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -445,20 +497,23 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The issue model to deploy.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for name. */ - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -466,28 +521,39 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The issue model to deploy.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setName(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } name_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
      * Required. The issue model to deploy.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return This builder for chaining. */ public Builder clearName() { @@ -497,26 +563,32 @@ public Builder clearName() { return this; } /** + * + * *
      * Required. The issue model to deploy.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setNameBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); name_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -526,41 +598,43 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.contactcenterinsights.v1.DeployIssueModelRequest) } // @@protoc_insertion_point(class_scope:google.cloud.contactcenterinsights.v1.DeployIssueModelRequest) - private static final com.google.cloud.contactcenterinsights.v1.DeployIssueModelRequest DEFAULT_INSTANCE; + private static final com.google.cloud.contactcenterinsights.v1.DeployIssueModelRequest + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.contactcenterinsights.v1.DeployIssueModelRequest(); } - public static com.google.cloud.contactcenterinsights.v1.DeployIssueModelRequest getDefaultInstance() { + public static com.google.cloud.contactcenterinsights.v1.DeployIssueModelRequest + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public DeployIssueModelRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public DeployIssueModelRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -572,9 +646,8 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.cloud.contactcenterinsights.v1.DeployIssueModelRequest getDefaultInstanceForType() { + public com.google.cloud.contactcenterinsights.v1.DeployIssueModelRequest + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/DeployIssueModelRequestOrBuilder.java b/java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/DeployIssueModelRequestOrBuilder.java new file mode 100644 index 000000000000..6fab3448c021 --- /dev/null +++ b/java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/DeployIssueModelRequestOrBuilder.java @@ -0,0 +1,54 @@ +/* + * 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. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/contactcenterinsights/v1/contact_center_insights.proto + +package com.google.cloud.contactcenterinsights.v1; + +public interface DeployIssueModelRequestOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.cloud.contactcenterinsights.v1.DeployIssueModelRequest) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * Required. The issue model to deploy.
+   * 
+ * + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The name. + */ + java.lang.String getName(); + /** + * + * + *
+   * Required. The issue model to deploy.
+   * 
+ * + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The bytes for name. + */ + com.google.protobuf.ByteString getNameBytes(); +} diff --git a/owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/DeployIssueModelResponse.java b/java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/DeployIssueModelResponse.java similarity index 58% rename from owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/DeployIssueModelResponse.java rename to java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/DeployIssueModelResponse.java index bb2bf65265fc..ae8c0ed57a84 100644 --- a/owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/DeployIssueModelResponse.java +++ b/java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/DeployIssueModelResponse.java @@ -1,53 +1,72 @@ +/* + * 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. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/contactcenterinsights/v1/contact_center_insights.proto package com.google.cloud.contactcenterinsights.v1; /** + * + * *
  * The response to deploy an issue model.
  * 
* * Protobuf type {@code google.cloud.contactcenterinsights.v1.DeployIssueModelResponse} */ -public final class DeployIssueModelResponse extends - com.google.protobuf.GeneratedMessageV3 implements +public final class DeployIssueModelResponse extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.contactcenterinsights.v1.DeployIssueModelResponse) DeployIssueModelResponseOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use DeployIssueModelResponse.newBuilder() to construct. private DeployIssueModelResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private DeployIssueModelResponse() { - } + + private DeployIssueModelResponse() {} @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new DeployIssueModelResponse(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto.internal_static_google_cloud_contactcenterinsights_v1_DeployIssueModelResponse_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto + .internal_static_google_cloud_contactcenterinsights_v1_DeployIssueModelResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto.internal_static_google_cloud_contactcenterinsights_v1_DeployIssueModelResponse_fieldAccessorTable + return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto + .internal_static_google_cloud_contactcenterinsights_v1_DeployIssueModelResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.contactcenterinsights.v1.DeployIssueModelResponse.class, com.google.cloud.contactcenterinsights.v1.DeployIssueModelResponse.Builder.class); + com.google.cloud.contactcenterinsights.v1.DeployIssueModelResponse.class, + com.google.cloud.contactcenterinsights.v1.DeployIssueModelResponse.Builder.class); } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -59,8 +78,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { getUnknownFields().writeTo(output); } @@ -78,12 +96,13 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.contactcenterinsights.v1.DeployIssueModelResponse)) { return super.equals(obj); } - com.google.cloud.contactcenterinsights.v1.DeployIssueModelResponse other = (com.google.cloud.contactcenterinsights.v1.DeployIssueModelResponse) obj; + com.google.cloud.contactcenterinsights.v1.DeployIssueModelResponse other = + (com.google.cloud.contactcenterinsights.v1.DeployIssueModelResponse) obj; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -102,129 +121,138 @@ public int hashCode() { } public static com.google.cloud.contactcenterinsights.v1.DeployIssueModelResponse parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.contactcenterinsights.v1.DeployIssueModelResponse parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.contactcenterinsights.v1.DeployIssueModelResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.contactcenterinsights.v1.DeployIssueModelResponse parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.contactcenterinsights.v1.DeployIssueModelResponse parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.contactcenterinsights.v1.DeployIssueModelResponse parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.contactcenterinsights.v1.DeployIssueModelResponse parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.contactcenterinsights.v1.DeployIssueModelResponse parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.contactcenterinsights.v1.DeployIssueModelResponse parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.contactcenterinsights.v1.DeployIssueModelResponse parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.contactcenterinsights.v1.DeployIssueModelResponse parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.contactcenterinsights.v1.DeployIssueModelResponse + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.contactcenterinsights.v1.DeployIssueModelResponse parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + + public static com.google.cloud.contactcenterinsights.v1.DeployIssueModelResponse + parseDelimitedFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.contactcenterinsights.v1.DeployIssueModelResponse parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.contactcenterinsights.v1.DeployIssueModelResponse parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.contactcenterinsights.v1.DeployIssueModelResponse prototype) { + + public static Builder newBuilder( + com.google.cloud.contactcenterinsights.v1.DeployIssueModelResponse prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * The response to deploy an issue model.
    * 
* * Protobuf type {@code google.cloud.contactcenterinsights.v1.DeployIssueModelResponse} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.contactcenterinsights.v1.DeployIssueModelResponse) com.google.cloud.contactcenterinsights.v1.DeployIssueModelResponseOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto.internal_static_google_cloud_contactcenterinsights_v1_DeployIssueModelResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto + .internal_static_google_cloud_contactcenterinsights_v1_DeployIssueModelResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto.internal_static_google_cloud_contactcenterinsights_v1_DeployIssueModelResponse_fieldAccessorTable + return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto + .internal_static_google_cloud_contactcenterinsights_v1_DeployIssueModelResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.contactcenterinsights.v1.DeployIssueModelResponse.class, com.google.cloud.contactcenterinsights.v1.DeployIssueModelResponse.Builder.class); + com.google.cloud.contactcenterinsights.v1.DeployIssueModelResponse.class, + com.google.cloud.contactcenterinsights.v1.DeployIssueModelResponse.Builder.class); } - // Construct using com.google.cloud.contactcenterinsights.v1.DeployIssueModelResponse.newBuilder() - private Builder() { - - } + // Construct using + // com.google.cloud.contactcenterinsights.v1.DeployIssueModelResponse.newBuilder() + private Builder() {} - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -232,14 +260,16 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto.internal_static_google_cloud_contactcenterinsights_v1_DeployIssueModelResponse_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto + .internal_static_google_cloud_contactcenterinsights_v1_DeployIssueModelResponse_descriptor; } @java.lang.Override - public com.google.cloud.contactcenterinsights.v1.DeployIssueModelResponse getDefaultInstanceForType() { - return com.google.cloud.contactcenterinsights.v1.DeployIssueModelResponse.getDefaultInstance(); + public com.google.cloud.contactcenterinsights.v1.DeployIssueModelResponse + getDefaultInstanceForType() { + return com.google.cloud.contactcenterinsights.v1.DeployIssueModelResponse + .getDefaultInstance(); } @java.lang.Override @@ -253,7 +283,8 @@ public com.google.cloud.contactcenterinsights.v1.DeployIssueModelResponse build( @java.lang.Override public com.google.cloud.contactcenterinsights.v1.DeployIssueModelResponse buildPartial() { - com.google.cloud.contactcenterinsights.v1.DeployIssueModelResponse result = new com.google.cloud.contactcenterinsights.v1.DeployIssueModelResponse(this); + com.google.cloud.contactcenterinsights.v1.DeployIssueModelResponse result = + new com.google.cloud.contactcenterinsights.v1.DeployIssueModelResponse(this); onBuilt(); return result; } @@ -262,46 +293,51 @@ public com.google.cloud.contactcenterinsights.v1.DeployIssueModelResponse buildP public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.contactcenterinsights.v1.DeployIssueModelResponse) { - return mergeFrom((com.google.cloud.contactcenterinsights.v1.DeployIssueModelResponse)other); + return mergeFrom( + (com.google.cloud.contactcenterinsights.v1.DeployIssueModelResponse) other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.google.cloud.contactcenterinsights.v1.DeployIssueModelResponse other) { - if (other == com.google.cloud.contactcenterinsights.v1.DeployIssueModelResponse.getDefaultInstance()) return this; + public Builder mergeFrom( + com.google.cloud.contactcenterinsights.v1.DeployIssueModelResponse other) { + if (other + == com.google.cloud.contactcenterinsights.v1.DeployIssueModelResponse + .getDefaultInstance()) return this; this.mergeUnknownFields(other.getUnknownFields()); onChanged(); return this; @@ -328,12 +364,13 @@ public Builder mergeFrom( case 0: done = true; break; - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -343,9 +380,9 @@ public Builder mergeFrom( } // finally return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -355,41 +392,43 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.contactcenterinsights.v1.DeployIssueModelResponse) } // @@protoc_insertion_point(class_scope:google.cloud.contactcenterinsights.v1.DeployIssueModelResponse) - private static final com.google.cloud.contactcenterinsights.v1.DeployIssueModelResponse DEFAULT_INSTANCE; + private static final com.google.cloud.contactcenterinsights.v1.DeployIssueModelResponse + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.contactcenterinsights.v1.DeployIssueModelResponse(); } - public static com.google.cloud.contactcenterinsights.v1.DeployIssueModelResponse getDefaultInstance() { + public static com.google.cloud.contactcenterinsights.v1.DeployIssueModelResponse + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public DeployIssueModelResponse parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public DeployIssueModelResponse parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -401,9 +440,8 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.cloud.contactcenterinsights.v1.DeployIssueModelResponse getDefaultInstanceForType() { + public com.google.cloud.contactcenterinsights.v1.DeployIssueModelResponse + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/DeployIssueModelResponseOrBuilder.java b/java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/DeployIssueModelResponseOrBuilder.java new file mode 100644 index 000000000000..d4bc280ef0c3 --- /dev/null +++ b/java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/DeployIssueModelResponseOrBuilder.java @@ -0,0 +1,24 @@ +/* + * 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. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/contactcenterinsights/v1/contact_center_insights.proto + +package com.google.cloud.contactcenterinsights.v1; + +public interface DeployIssueModelResponseOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.cloud.contactcenterinsights.v1.DeployIssueModelResponse) + com.google.protobuf.MessageOrBuilder {} diff --git a/owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/DialogflowIntent.java b/java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/DialogflowIntent.java similarity index 66% rename from owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/DialogflowIntent.java rename to java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/DialogflowIntent.java index 7495b689b982..533596bc9d48 100644 --- a/owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/DialogflowIntent.java +++ b/java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/DialogflowIntent.java @@ -1,9 +1,26 @@ +/* + * 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. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/contactcenterinsights/v1/resources.proto package com.google.cloud.contactcenterinsights.v1; /** + * + * *
  * The data for a Dialogflow intent.
  * Represents a detected intent in the conversation, e.g. MAKES_PROMISE.
@@ -11,53 +28,59 @@
  *
  * Protobuf type {@code google.cloud.contactcenterinsights.v1.DialogflowIntent}
  */
-public final class DialogflowIntent extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class DialogflowIntent extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.cloud.contactcenterinsights.v1.DialogflowIntent)
     DialogflowIntentOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use DialogflowIntent.newBuilder() to construct.
   private DialogflowIntent(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
+
   private DialogflowIntent() {
     displayName_ = "";
   }
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new DialogflowIntent();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet
-  getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
     return this.unknownFields;
   }
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.cloud.contactcenterinsights.v1.ResourcesProto.internal_static_google_cloud_contactcenterinsights_v1_DialogflowIntent_descriptor;
+
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.cloud.contactcenterinsights.v1.ResourcesProto
+        .internal_static_google_cloud_contactcenterinsights_v1_DialogflowIntent_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.contactcenterinsights.v1.ResourcesProto.internal_static_google_cloud_contactcenterinsights_v1_DialogflowIntent_fieldAccessorTable
+    return com.google.cloud.contactcenterinsights.v1.ResourcesProto
+        .internal_static_google_cloud_contactcenterinsights_v1_DialogflowIntent_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.contactcenterinsights.v1.DialogflowIntent.class, com.google.cloud.contactcenterinsights.v1.DialogflowIntent.Builder.class);
+            com.google.cloud.contactcenterinsights.v1.DialogflowIntent.class,
+            com.google.cloud.contactcenterinsights.v1.DialogflowIntent.Builder.class);
   }
 
   public static final int DISPLAY_NAME_FIELD_NUMBER = 1;
+
   @SuppressWarnings("serial")
   private volatile java.lang.Object displayName_ = "";
   /**
+   *
+   *
    * 
    * The human-readable name of the intent.
    * 
* * string display_name = 1; + * * @return The displayName. */ @java.lang.Override @@ -66,29 +89,29 @@ public java.lang.String getDisplayName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); displayName_ = s; return s; } } /** + * + * *
    * The human-readable name of the intent.
    * 
* * string display_name = 1; + * * @return The bytes for displayName. */ @java.lang.Override - public com.google.protobuf.ByteString - getDisplayNameBytes() { + public com.google.protobuf.ByteString getDisplayNameBytes() { java.lang.Object ref = displayName_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); displayName_ = b; return b; } else { @@ -97,6 +120,7 @@ public java.lang.String getDisplayName() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -108,8 +132,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(displayName_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, displayName_); } @@ -133,15 +156,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.contactcenterinsights.v1.DialogflowIntent)) { return super.equals(obj); } - com.google.cloud.contactcenterinsights.v1.DialogflowIntent other = (com.google.cloud.contactcenterinsights.v1.DialogflowIntent) obj; + com.google.cloud.contactcenterinsights.v1.DialogflowIntent other = + (com.google.cloud.contactcenterinsights.v1.DialogflowIntent) obj; - if (!getDisplayName() - .equals(other.getDisplayName())) return false; + if (!getDisplayName().equals(other.getDisplayName())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -161,96 +184,104 @@ public int hashCode() { } public static com.google.cloud.contactcenterinsights.v1.DialogflowIntent parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.contactcenterinsights.v1.DialogflowIntent parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.contactcenterinsights.v1.DialogflowIntent parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.contactcenterinsights.v1.DialogflowIntent parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.contactcenterinsights.v1.DialogflowIntent parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.contactcenterinsights.v1.DialogflowIntent parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.contactcenterinsights.v1.DialogflowIntent parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.contactcenterinsights.v1.DialogflowIntent parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.contactcenterinsights.v1.DialogflowIntent parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.contactcenterinsights.v1.DialogflowIntent parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.contactcenterinsights.v1.DialogflowIntent parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.contactcenterinsights.v1.DialogflowIntent parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.contactcenterinsights.v1.DialogflowIntent parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.contactcenterinsights.v1.DialogflowIntent parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.contactcenterinsights.v1.DialogflowIntent prototype) { + + public static Builder newBuilder( + com.google.cloud.contactcenterinsights.v1.DialogflowIntent prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * The data for a Dialogflow intent.
    * Represents a detected intent in the conversation, e.g. MAKES_PROMISE.
@@ -258,33 +289,32 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.cloud.contactcenterinsights.v1.DialogflowIntent}
    */
-  public static final class Builder extends
-      com.google.protobuf.GeneratedMessageV3.Builder implements
+  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
+      implements
       // @@protoc_insertion_point(builder_implements:google.cloud.contactcenterinsights.v1.DialogflowIntent)
       com.google.cloud.contactcenterinsights.v1.DialogflowIntentOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.cloud.contactcenterinsights.v1.ResourcesProto.internal_static_google_cloud_contactcenterinsights_v1_DialogflowIntent_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.cloud.contactcenterinsights.v1.ResourcesProto
+          .internal_static_google_cloud_contactcenterinsights_v1_DialogflowIntent_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.contactcenterinsights.v1.ResourcesProto.internal_static_google_cloud_contactcenterinsights_v1_DialogflowIntent_fieldAccessorTable
+      return com.google.cloud.contactcenterinsights.v1.ResourcesProto
+          .internal_static_google_cloud_contactcenterinsights_v1_DialogflowIntent_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.contactcenterinsights.v1.DialogflowIntent.class, com.google.cloud.contactcenterinsights.v1.DialogflowIntent.Builder.class);
+              com.google.cloud.contactcenterinsights.v1.DialogflowIntent.class,
+              com.google.cloud.contactcenterinsights.v1.DialogflowIntent.Builder.class);
     }
 
     // Construct using com.google.cloud.contactcenterinsights.v1.DialogflowIntent.newBuilder()
-    private Builder() {
+    private Builder() {}
 
-    }
-
-    private Builder(
-        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
-
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -294,9 +324,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.cloud.contactcenterinsights.v1.ResourcesProto.internal_static_google_cloud_contactcenterinsights_v1_DialogflowIntent_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.cloud.contactcenterinsights.v1.ResourcesProto
+          .internal_static_google_cloud_contactcenterinsights_v1_DialogflowIntent_descriptor;
     }
 
     @java.lang.Override
@@ -315,8 +345,11 @@ public com.google.cloud.contactcenterinsights.v1.DialogflowIntent build() {
 
     @java.lang.Override
     public com.google.cloud.contactcenterinsights.v1.DialogflowIntent buildPartial() {
-      com.google.cloud.contactcenterinsights.v1.DialogflowIntent result = new com.google.cloud.contactcenterinsights.v1.DialogflowIntent(this);
-      if (bitField0_ != 0) { buildPartial0(result); }
+      com.google.cloud.contactcenterinsights.v1.DialogflowIntent result =
+          new com.google.cloud.contactcenterinsights.v1.DialogflowIntent(this);
+      if (bitField0_ != 0) {
+        buildPartial0(result);
+      }
       onBuilt();
       return result;
     }
@@ -332,38 +365,39 @@ private void buildPartial0(com.google.cloud.contactcenterinsights.v1.DialogflowI
     public Builder clone() {
       return super.clone();
     }
+
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.setField(field, value);
     }
+
     @java.lang.Override
-    public Builder clearField(
-        com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
+
     @java.lang.Override
-    public Builder clearOneof(
-        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
+
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
+
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
+
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.cloud.contactcenterinsights.v1.DialogflowIntent) {
-        return mergeFrom((com.google.cloud.contactcenterinsights.v1.DialogflowIntent)other);
+        return mergeFrom((com.google.cloud.contactcenterinsights.v1.DialogflowIntent) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -371,7 +405,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.cloud.contactcenterinsights.v1.DialogflowIntent other) {
-      if (other == com.google.cloud.contactcenterinsights.v1.DialogflowIntent.getDefaultInstance()) return this;
+      if (other == com.google.cloud.contactcenterinsights.v1.DialogflowIntent.getDefaultInstance())
+        return this;
       if (!other.getDisplayName().isEmpty()) {
         displayName_ = other.displayName_;
         bitField0_ |= 0x00000001;
@@ -403,17 +438,19 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10: {
-              displayName_ = input.readStringRequireUtf8();
-              bitField0_ |= 0x00000001;
-              break;
-            } // case 10
-            default: {
-              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                done = true; // was an endgroup tag
-              }
-              break;
-            } // default:
+            case 10:
+              {
+                displayName_ = input.readStringRequireUtf8();
+                bitField0_ |= 0x00000001;
+                break;
+              } // case 10
+            default:
+              {
+                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                  done = true; // was an endgroup tag
+                }
+                break;
+              } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -423,22 +460,25 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
+
     private int bitField0_;
 
     private java.lang.Object displayName_ = "";
     /**
+     *
+     *
      * 
      * The human-readable name of the intent.
      * 
* * string display_name = 1; + * * @return The displayName. */ public java.lang.String getDisplayName() { java.lang.Object ref = displayName_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); displayName_ = s; return s; @@ -447,20 +487,21 @@ public java.lang.String getDisplayName() { } } /** + * + * *
      * The human-readable name of the intent.
      * 
* * string display_name = 1; + * * @return The bytes for displayName. */ - public com.google.protobuf.ByteString - getDisplayNameBytes() { + public com.google.protobuf.ByteString getDisplayNameBytes() { java.lang.Object ref = displayName_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); displayName_ = b; return b; } else { @@ -468,28 +509,35 @@ public java.lang.String getDisplayName() { } } /** + * + * *
      * The human-readable name of the intent.
      * 
* * string display_name = 1; + * * @param value The displayName to set. * @return This builder for chaining. */ - public Builder setDisplayName( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setDisplayName(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } displayName_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
      * The human-readable name of the intent.
      * 
* * string display_name = 1; + * * @return This builder for chaining. */ public Builder clearDisplayName() { @@ -499,26 +547,30 @@ public Builder clearDisplayName() { return this; } /** + * + * *
      * The human-readable name of the intent.
      * 
* * string display_name = 1; + * * @param value The bytes for displayName to set. * @return This builder for chaining. */ - public Builder setDisplayNameBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setDisplayNameBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); displayName_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -528,12 +580,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.contactcenterinsights.v1.DialogflowIntent) } // @@protoc_insertion_point(class_scope:google.cloud.contactcenterinsights.v1.DialogflowIntent) private static final com.google.cloud.contactcenterinsights.v1.DialogflowIntent DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.contactcenterinsights.v1.DialogflowIntent(); } @@ -542,27 +594,27 @@ public static com.google.cloud.contactcenterinsights.v1.DialogflowIntent getDefa return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public DialogflowIntent parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public DialogflowIntent parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -577,6 +629,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.contactcenterinsights.v1.DialogflowIntent getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/DialogflowIntentOrBuilder.java b/java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/DialogflowIntentOrBuilder.java new file mode 100644 index 000000000000..4a9de6f7b8dd --- /dev/null +++ b/java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/DialogflowIntentOrBuilder.java @@ -0,0 +1,50 @@ +/* + * 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. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/contactcenterinsights/v1/resources.proto + +package com.google.cloud.contactcenterinsights.v1; + +public interface DialogflowIntentOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.cloud.contactcenterinsights.v1.DialogflowIntent) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * The human-readable name of the intent.
+   * 
+ * + * string display_name = 1; + * + * @return The displayName. + */ + java.lang.String getDisplayName(); + /** + * + * + *
+   * The human-readable name of the intent.
+   * 
+ * + * string display_name = 1; + * + * @return The bytes for displayName. + */ + com.google.protobuf.ByteString getDisplayNameBytes(); +} diff --git a/owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/DialogflowInteractionData.java b/java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/DialogflowInteractionData.java similarity index 64% rename from owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/DialogflowInteractionData.java rename to java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/DialogflowInteractionData.java index 08899adab6bc..0aa507a7396e 100644 --- a/owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/DialogflowInteractionData.java +++ b/java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/DialogflowInteractionData.java @@ -1,63 +1,86 @@ +/* + * 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. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/contactcenterinsights/v1/resources.proto package com.google.cloud.contactcenterinsights.v1; /** + * + * *
  * Dialogflow interaction data.
  * 
* * Protobuf type {@code google.cloud.contactcenterinsights.v1.DialogflowInteractionData} */ -public final class DialogflowInteractionData extends - com.google.protobuf.GeneratedMessageV3 implements +public final class DialogflowInteractionData extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.contactcenterinsights.v1.DialogflowInteractionData) DialogflowInteractionDataOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use DialogflowInteractionData.newBuilder() to construct. private DialogflowInteractionData(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private DialogflowInteractionData() { dialogflowIntentId_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new DialogflowInteractionData(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.contactcenterinsights.v1.ResourcesProto.internal_static_google_cloud_contactcenterinsights_v1_DialogflowInteractionData_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.contactcenterinsights.v1.ResourcesProto + .internal_static_google_cloud_contactcenterinsights_v1_DialogflowInteractionData_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.contactcenterinsights.v1.ResourcesProto.internal_static_google_cloud_contactcenterinsights_v1_DialogflowInteractionData_fieldAccessorTable + return com.google.cloud.contactcenterinsights.v1.ResourcesProto + .internal_static_google_cloud_contactcenterinsights_v1_DialogflowInteractionData_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.contactcenterinsights.v1.DialogflowInteractionData.class, com.google.cloud.contactcenterinsights.v1.DialogflowInteractionData.Builder.class); + com.google.cloud.contactcenterinsights.v1.DialogflowInteractionData.class, + com.google.cloud.contactcenterinsights.v1.DialogflowInteractionData.Builder.class); } public static final int DIALOGFLOW_INTENT_ID_FIELD_NUMBER = 1; + @SuppressWarnings("serial") private volatile java.lang.Object dialogflowIntentId_ = ""; /** + * + * *
    * The Dialogflow intent resource path. Format:
    * projects/{project}/agent/{agent}/intents/{intent}
    * 
* * string dialogflow_intent_id = 1; + * * @return The dialogflowIntentId. */ @java.lang.Override @@ -66,30 +89,30 @@ public java.lang.String getDialogflowIntentId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); dialogflowIntentId_ = s; return s; } } /** + * + * *
    * The Dialogflow intent resource path. Format:
    * projects/{project}/agent/{agent}/intents/{intent}
    * 
* * string dialogflow_intent_id = 1; + * * @return The bytes for dialogflowIntentId. */ @java.lang.Override - public com.google.protobuf.ByteString - getDialogflowIntentIdBytes() { + public com.google.protobuf.ByteString getDialogflowIntentIdBytes() { java.lang.Object ref = dialogflowIntentId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); dialogflowIntentId_ = b; return b; } else { @@ -100,12 +123,15 @@ public java.lang.String getDialogflowIntentId() { public static final int CONFIDENCE_FIELD_NUMBER = 2; private float confidence_ = 0F; /** + * + * *
    * The confidence of the match ranging from 0.0 (completely uncertain) to 1.0
    * (completely certain).
    * 
* * float confidence = 2; + * * @return The confidence. */ @java.lang.Override @@ -114,6 +140,7 @@ public float getConfidence() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -125,8 +152,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(dialogflowIntentId_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, dialogflowIntentId_); } @@ -146,8 +172,7 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, dialogflowIntentId_); } if (java.lang.Float.floatToRawIntBits(confidence_) != 0) { - size += com.google.protobuf.CodedOutputStream - .computeFloatSize(2, confidence_); + size += com.google.protobuf.CodedOutputStream.computeFloatSize(2, confidence_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -157,18 +182,17 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.contactcenterinsights.v1.DialogflowInteractionData)) { return super.equals(obj); } - com.google.cloud.contactcenterinsights.v1.DialogflowInteractionData other = (com.google.cloud.contactcenterinsights.v1.DialogflowInteractionData) obj; + com.google.cloud.contactcenterinsights.v1.DialogflowInteractionData other = + (com.google.cloud.contactcenterinsights.v1.DialogflowInteractionData) obj; - if (!getDialogflowIntentId() - .equals(other.getDialogflowIntentId())) return false; + if (!getDialogflowIntentId().equals(other.getDialogflowIntentId())) return false; if (java.lang.Float.floatToIntBits(getConfidence()) - != java.lang.Float.floatToIntBits( - other.getConfidence())) return false; + != java.lang.Float.floatToIntBits(other.getConfidence())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -183,137 +207,145 @@ public int hashCode() { hash = (37 * hash) + DIALOGFLOW_INTENT_ID_FIELD_NUMBER; hash = (53 * hash) + getDialogflowIntentId().hashCode(); hash = (37 * hash) + CONFIDENCE_FIELD_NUMBER; - hash = (53 * hash) + java.lang.Float.floatToIntBits( - getConfidence()); + hash = (53 * hash) + java.lang.Float.floatToIntBits(getConfidence()); hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } public static com.google.cloud.contactcenterinsights.v1.DialogflowInteractionData parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.contactcenterinsights.v1.DialogflowInteractionData parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.contactcenterinsights.v1.DialogflowInteractionData parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.contactcenterinsights.v1.DialogflowInteractionData parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.contactcenterinsights.v1.DialogflowInteractionData parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.contactcenterinsights.v1.DialogflowInteractionData parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.contactcenterinsights.v1.DialogflowInteractionData parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.contactcenterinsights.v1.DialogflowInteractionData parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.contactcenterinsights.v1.DialogflowInteractionData parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.contactcenterinsights.v1.DialogflowInteractionData parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.contactcenterinsights.v1.DialogflowInteractionData parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.contactcenterinsights.v1.DialogflowInteractionData + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.contactcenterinsights.v1.DialogflowInteractionData parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + + public static com.google.cloud.contactcenterinsights.v1.DialogflowInteractionData + parseDelimitedFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.contactcenterinsights.v1.DialogflowInteractionData parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.contactcenterinsights.v1.DialogflowInteractionData parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.contactcenterinsights.v1.DialogflowInteractionData prototype) { + + public static Builder newBuilder( + com.google.cloud.contactcenterinsights.v1.DialogflowInteractionData prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Dialogflow interaction data.
    * 
* * Protobuf type {@code google.cloud.contactcenterinsights.v1.DialogflowInteractionData} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.contactcenterinsights.v1.DialogflowInteractionData) com.google.cloud.contactcenterinsights.v1.DialogflowInteractionDataOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.contactcenterinsights.v1.ResourcesProto.internal_static_google_cloud_contactcenterinsights_v1_DialogflowInteractionData_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.contactcenterinsights.v1.ResourcesProto + .internal_static_google_cloud_contactcenterinsights_v1_DialogflowInteractionData_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.contactcenterinsights.v1.ResourcesProto.internal_static_google_cloud_contactcenterinsights_v1_DialogflowInteractionData_fieldAccessorTable + return com.google.cloud.contactcenterinsights.v1.ResourcesProto + .internal_static_google_cloud_contactcenterinsights_v1_DialogflowInteractionData_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.contactcenterinsights.v1.DialogflowInteractionData.class, com.google.cloud.contactcenterinsights.v1.DialogflowInteractionData.Builder.class); + com.google.cloud.contactcenterinsights.v1.DialogflowInteractionData.class, + com.google.cloud.contactcenterinsights.v1.DialogflowInteractionData.Builder.class); } - // Construct using com.google.cloud.contactcenterinsights.v1.DialogflowInteractionData.newBuilder() - private Builder() { - - } + // Construct using + // com.google.cloud.contactcenterinsights.v1.DialogflowInteractionData.newBuilder() + private Builder() {} - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -324,14 +356,16 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.contactcenterinsights.v1.ResourcesProto.internal_static_google_cloud_contactcenterinsights_v1_DialogflowInteractionData_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.contactcenterinsights.v1.ResourcesProto + .internal_static_google_cloud_contactcenterinsights_v1_DialogflowInteractionData_descriptor; } @java.lang.Override - public com.google.cloud.contactcenterinsights.v1.DialogflowInteractionData getDefaultInstanceForType() { - return com.google.cloud.contactcenterinsights.v1.DialogflowInteractionData.getDefaultInstance(); + public com.google.cloud.contactcenterinsights.v1.DialogflowInteractionData + getDefaultInstanceForType() { + return com.google.cloud.contactcenterinsights.v1.DialogflowInteractionData + .getDefaultInstance(); } @java.lang.Override @@ -345,13 +379,17 @@ public com.google.cloud.contactcenterinsights.v1.DialogflowInteractionData build @java.lang.Override public com.google.cloud.contactcenterinsights.v1.DialogflowInteractionData buildPartial() { - com.google.cloud.contactcenterinsights.v1.DialogflowInteractionData result = new com.google.cloud.contactcenterinsights.v1.DialogflowInteractionData(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.cloud.contactcenterinsights.v1.DialogflowInteractionData result = + new com.google.cloud.contactcenterinsights.v1.DialogflowInteractionData(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } - private void buildPartial0(com.google.cloud.contactcenterinsights.v1.DialogflowInteractionData result) { + private void buildPartial0( + com.google.cloud.contactcenterinsights.v1.DialogflowInteractionData result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { result.dialogflowIntentId_ = dialogflowIntentId_; @@ -365,46 +403,51 @@ private void buildPartial0(com.google.cloud.contactcenterinsights.v1.DialogflowI public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.contactcenterinsights.v1.DialogflowInteractionData) { - return mergeFrom((com.google.cloud.contactcenterinsights.v1.DialogflowInteractionData)other); + return mergeFrom( + (com.google.cloud.contactcenterinsights.v1.DialogflowInteractionData) other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.google.cloud.contactcenterinsights.v1.DialogflowInteractionData other) { - if (other == com.google.cloud.contactcenterinsights.v1.DialogflowInteractionData.getDefaultInstance()) return this; + public Builder mergeFrom( + com.google.cloud.contactcenterinsights.v1.DialogflowInteractionData other) { + if (other + == com.google.cloud.contactcenterinsights.v1.DialogflowInteractionData + .getDefaultInstance()) return this; if (!other.getDialogflowIntentId().isEmpty()) { dialogflowIntentId_ = other.dialogflowIntentId_; bitField0_ |= 0x00000001; @@ -439,22 +482,25 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - dialogflowIntentId_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 21: { - confidence_ = input.readFloat(); - bitField0_ |= 0x00000002; - break; - } // case 21 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + dialogflowIntentId_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 21: + { + confidence_ = input.readFloat(); + bitField0_ |= 0x00000002; + break; + } // case 21 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -464,23 +510,26 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private java.lang.Object dialogflowIntentId_ = ""; /** + * + * *
      * The Dialogflow intent resource path. Format:
      * projects/{project}/agent/{agent}/intents/{intent}
      * 
* * string dialogflow_intent_id = 1; + * * @return The dialogflowIntentId. */ public java.lang.String getDialogflowIntentId() { java.lang.Object ref = dialogflowIntentId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); dialogflowIntentId_ = s; return s; @@ -489,21 +538,22 @@ public java.lang.String getDialogflowIntentId() { } } /** + * + * *
      * The Dialogflow intent resource path. Format:
      * projects/{project}/agent/{agent}/intents/{intent}
      * 
* * string dialogflow_intent_id = 1; + * * @return The bytes for dialogflowIntentId. */ - public com.google.protobuf.ByteString - getDialogflowIntentIdBytes() { + public com.google.protobuf.ByteString getDialogflowIntentIdBytes() { java.lang.Object ref = dialogflowIntentId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); dialogflowIntentId_ = b; return b; } else { @@ -511,30 +561,37 @@ public java.lang.String getDialogflowIntentId() { } } /** + * + * *
      * The Dialogflow intent resource path. Format:
      * projects/{project}/agent/{agent}/intents/{intent}
      * 
* * string dialogflow_intent_id = 1; + * * @param value The dialogflowIntentId to set. * @return This builder for chaining. */ - public Builder setDialogflowIntentId( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setDialogflowIntentId(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } dialogflowIntentId_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
      * The Dialogflow intent resource path. Format:
      * projects/{project}/agent/{agent}/intents/{intent}
      * 
* * string dialogflow_intent_id = 1; + * * @return This builder for chaining. */ public Builder clearDialogflowIntentId() { @@ -544,18 +601,22 @@ public Builder clearDialogflowIntentId() { return this; } /** + * + * *
      * The Dialogflow intent resource path. Format:
      * projects/{project}/agent/{agent}/intents/{intent}
      * 
* * string dialogflow_intent_id = 1; + * * @param value The bytes for dialogflowIntentId to set. * @return This builder for chaining. */ - public Builder setDialogflowIntentIdBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setDialogflowIntentIdBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); dialogflowIntentId_ = value; bitField0_ |= 0x00000001; @@ -563,14 +624,17 @@ public Builder setDialogflowIntentIdBytes( return this; } - private float confidence_ ; + private float confidence_; /** + * + * *
      * The confidence of the match ranging from 0.0 (completely uncertain) to 1.0
      * (completely certain).
      * 
* * float confidence = 2; + * * @return The confidence. */ @java.lang.Override @@ -578,29 +642,35 @@ public float getConfidence() { return confidence_; } /** + * + * *
      * The confidence of the match ranging from 0.0 (completely uncertain) to 1.0
      * (completely certain).
      * 
* * float confidence = 2; + * * @param value The confidence to set. * @return This builder for chaining. */ public Builder setConfidence(float value) { - + confidence_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** + * + * *
      * The confidence of the match ranging from 0.0 (completely uncertain) to 1.0
      * (completely certain).
      * 
* * float confidence = 2; + * * @return This builder for chaining. */ public Builder clearConfidence() { @@ -609,9 +679,9 @@ public Builder clearConfidence() { onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -621,41 +691,43 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.contactcenterinsights.v1.DialogflowInteractionData) } // @@protoc_insertion_point(class_scope:google.cloud.contactcenterinsights.v1.DialogflowInteractionData) - private static final com.google.cloud.contactcenterinsights.v1.DialogflowInteractionData DEFAULT_INSTANCE; + private static final com.google.cloud.contactcenterinsights.v1.DialogflowInteractionData + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.contactcenterinsights.v1.DialogflowInteractionData(); } - public static com.google.cloud.contactcenterinsights.v1.DialogflowInteractionData getDefaultInstance() { + public static com.google.cloud.contactcenterinsights.v1.DialogflowInteractionData + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public DialogflowInteractionData parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public DialogflowInteractionData parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -667,9 +739,8 @@ public com.google.protobuf.Parser getParserForType() } @java.lang.Override - public com.google.cloud.contactcenterinsights.v1.DialogflowInteractionData getDefaultInstanceForType() { + public com.google.cloud.contactcenterinsights.v1.DialogflowInteractionData + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/DialogflowInteractionDataOrBuilder.java b/java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/DialogflowInteractionDataOrBuilder.java similarity index 58% rename from owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/DialogflowInteractionDataOrBuilder.java rename to java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/DialogflowInteractionDataOrBuilder.java index 7a5fc37edab0..d6217d5d6e4d 100644 --- a/owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/DialogflowInteractionDataOrBuilder.java +++ b/java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/DialogflowInteractionDataOrBuilder.java @@ -1,41 +1,65 @@ +/* + * 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. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/contactcenterinsights/v1/resources.proto package com.google.cloud.contactcenterinsights.v1; -public interface DialogflowInteractionDataOrBuilder extends +public interface DialogflowInteractionDataOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.contactcenterinsights.v1.DialogflowInteractionData) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * The Dialogflow intent resource path. Format:
    * projects/{project}/agent/{agent}/intents/{intent}
    * 
* * string dialogflow_intent_id = 1; + * * @return The dialogflowIntentId. */ java.lang.String getDialogflowIntentId(); /** + * + * *
    * The Dialogflow intent resource path. Format:
    * projects/{project}/agent/{agent}/intents/{intent}
    * 
* * string dialogflow_intent_id = 1; + * * @return The bytes for dialogflowIntentId. */ - com.google.protobuf.ByteString - getDialogflowIntentIdBytes(); + com.google.protobuf.ByteString getDialogflowIntentIdBytes(); /** + * + * *
    * The confidence of the match ranging from 0.0 (completely uncertain) to 1.0
    * (completely certain).
    * 
* * float confidence = 2; + * * @return The confidence. */ float getConfidence(); diff --git a/owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/DialogflowSource.java b/java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/DialogflowSource.java similarity index 70% rename from owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/DialogflowSource.java rename to java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/DialogflowSource.java index 7d3c4142e45e..dbaf772886f8 100644 --- a/owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/DialogflowSource.java +++ b/java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/DialogflowSource.java @@ -1,24 +1,42 @@ +/* + * 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. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/contactcenterinsights/v1/resources.proto package com.google.cloud.contactcenterinsights.v1; /** + * + * *
  * A Dialogflow source of conversation data.
  * 
* * Protobuf type {@code google.cloud.contactcenterinsights.v1.DialogflowSource} */ -public final class DialogflowSource extends - com.google.protobuf.GeneratedMessageV3 implements +public final class DialogflowSource extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.contactcenterinsights.v1.DialogflowSource) DialogflowSourceOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use DialogflowSource.newBuilder() to construct. private DialogflowSource(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private DialogflowSource() { dialogflowConversation_ = ""; audioUri_ = ""; @@ -26,33 +44,37 @@ private DialogflowSource() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new DialogflowSource(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.contactcenterinsights.v1.ResourcesProto.internal_static_google_cloud_contactcenterinsights_v1_DialogflowSource_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.contactcenterinsights.v1.ResourcesProto + .internal_static_google_cloud_contactcenterinsights_v1_DialogflowSource_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.contactcenterinsights.v1.ResourcesProto.internal_static_google_cloud_contactcenterinsights_v1_DialogflowSource_fieldAccessorTable + return com.google.cloud.contactcenterinsights.v1.ResourcesProto + .internal_static_google_cloud_contactcenterinsights_v1_DialogflowSource_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.contactcenterinsights.v1.DialogflowSource.class, com.google.cloud.contactcenterinsights.v1.DialogflowSource.Builder.class); + com.google.cloud.contactcenterinsights.v1.DialogflowSource.class, + com.google.cloud.contactcenterinsights.v1.DialogflowSource.Builder.class); } public static final int DIALOGFLOW_CONVERSATION_FIELD_NUMBER = 1; + @SuppressWarnings("serial") private volatile java.lang.Object dialogflowConversation_ = ""; /** + * + * *
    * Output only. The name of the Dialogflow conversation that this conversation
    * resource is derived from. Format:
@@ -60,6 +82,7 @@ protected java.lang.Object newInstance(
    * 
* * string dialogflow_conversation = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The dialogflowConversation. */ @java.lang.Override @@ -68,14 +91,15 @@ public java.lang.String getDialogflowConversation() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); dialogflowConversation_ = s; return s; } } /** + * + * *
    * Output only. The name of the Dialogflow conversation that this conversation
    * resource is derived from. Format:
@@ -83,16 +107,15 @@ public java.lang.String getDialogflowConversation() {
    * 
* * string dialogflow_conversation = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for dialogflowConversation. */ @java.lang.Override - public com.google.protobuf.ByteString - getDialogflowConversationBytes() { + public com.google.protobuf.ByteString getDialogflowConversationBytes() { java.lang.Object ref = dialogflowConversation_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); dialogflowConversation_ = b; return b; } else { @@ -101,15 +124,19 @@ public java.lang.String getDialogflowConversation() { } public static final int AUDIO_URI_FIELD_NUMBER = 3; + @SuppressWarnings("serial") private volatile java.lang.Object audioUri_ = ""; /** + * + * *
    * Cloud Storage URI that points to a file that contains the conversation
    * audio.
    * 
* * string audio_uri = 3; + * * @return The audioUri. */ @java.lang.Override @@ -118,30 +145,30 @@ public java.lang.String getAudioUri() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); audioUri_ = s; return s; } } /** + * + * *
    * Cloud Storage URI that points to a file that contains the conversation
    * audio.
    * 
* * string audio_uri = 3; + * * @return The bytes for audioUri. */ @java.lang.Override - public com.google.protobuf.ByteString - getAudioUriBytes() { + public com.google.protobuf.ByteString getAudioUriBytes() { java.lang.Object ref = audioUri_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); audioUri_ = b; return b; } else { @@ -150,6 +177,7 @@ public java.lang.String getAudioUri() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -161,8 +189,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(dialogflowConversation_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, dialogflowConversation_); } @@ -192,17 +219,16 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.contactcenterinsights.v1.DialogflowSource)) { return super.equals(obj); } - com.google.cloud.contactcenterinsights.v1.DialogflowSource other = (com.google.cloud.contactcenterinsights.v1.DialogflowSource) obj; + com.google.cloud.contactcenterinsights.v1.DialogflowSource other = + (com.google.cloud.contactcenterinsights.v1.DialogflowSource) obj; - if (!getDialogflowConversation() - .equals(other.getDialogflowConversation())) return false; - if (!getAudioUri() - .equals(other.getAudioUri())) return false; + if (!getDialogflowConversation().equals(other.getDialogflowConversation())) return false; + if (!getAudioUri().equals(other.getAudioUri())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -224,129 +250,136 @@ public int hashCode() { } public static com.google.cloud.contactcenterinsights.v1.DialogflowSource parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.contactcenterinsights.v1.DialogflowSource parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.contactcenterinsights.v1.DialogflowSource parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.contactcenterinsights.v1.DialogflowSource parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.contactcenterinsights.v1.DialogflowSource parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.contactcenterinsights.v1.DialogflowSource parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.contactcenterinsights.v1.DialogflowSource parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.contactcenterinsights.v1.DialogflowSource parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.contactcenterinsights.v1.DialogflowSource parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.contactcenterinsights.v1.DialogflowSource parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.contactcenterinsights.v1.DialogflowSource parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.contactcenterinsights.v1.DialogflowSource parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.contactcenterinsights.v1.DialogflowSource parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.contactcenterinsights.v1.DialogflowSource parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.contactcenterinsights.v1.DialogflowSource prototype) { + + public static Builder newBuilder( + com.google.cloud.contactcenterinsights.v1.DialogflowSource prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * A Dialogflow source of conversation data.
    * 
* * Protobuf type {@code google.cloud.contactcenterinsights.v1.DialogflowSource} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.contactcenterinsights.v1.DialogflowSource) com.google.cloud.contactcenterinsights.v1.DialogflowSourceOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.contactcenterinsights.v1.ResourcesProto.internal_static_google_cloud_contactcenterinsights_v1_DialogflowSource_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.contactcenterinsights.v1.ResourcesProto + .internal_static_google_cloud_contactcenterinsights_v1_DialogflowSource_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.contactcenterinsights.v1.ResourcesProto.internal_static_google_cloud_contactcenterinsights_v1_DialogflowSource_fieldAccessorTable + return com.google.cloud.contactcenterinsights.v1.ResourcesProto + .internal_static_google_cloud_contactcenterinsights_v1_DialogflowSource_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.contactcenterinsights.v1.DialogflowSource.class, com.google.cloud.contactcenterinsights.v1.DialogflowSource.Builder.class); + com.google.cloud.contactcenterinsights.v1.DialogflowSource.class, + com.google.cloud.contactcenterinsights.v1.DialogflowSource.Builder.class); } // Construct using com.google.cloud.contactcenterinsights.v1.DialogflowSource.newBuilder() - private Builder() { - - } + private Builder() {} - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -357,9 +390,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.contactcenterinsights.v1.ResourcesProto.internal_static_google_cloud_contactcenterinsights_v1_DialogflowSource_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.contactcenterinsights.v1.ResourcesProto + .internal_static_google_cloud_contactcenterinsights_v1_DialogflowSource_descriptor; } @java.lang.Override @@ -378,8 +411,11 @@ public com.google.cloud.contactcenterinsights.v1.DialogflowSource build() { @java.lang.Override public com.google.cloud.contactcenterinsights.v1.DialogflowSource buildPartial() { - com.google.cloud.contactcenterinsights.v1.DialogflowSource result = new com.google.cloud.contactcenterinsights.v1.DialogflowSource(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.cloud.contactcenterinsights.v1.DialogflowSource result = + new com.google.cloud.contactcenterinsights.v1.DialogflowSource(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } @@ -398,38 +434,39 @@ private void buildPartial0(com.google.cloud.contactcenterinsights.v1.DialogflowS public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.contactcenterinsights.v1.DialogflowSource) { - return mergeFrom((com.google.cloud.contactcenterinsights.v1.DialogflowSource)other); + return mergeFrom((com.google.cloud.contactcenterinsights.v1.DialogflowSource) other); } else { super.mergeFrom(other); return this; @@ -437,7 +474,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.contactcenterinsights.v1.DialogflowSource other) { - if (other == com.google.cloud.contactcenterinsights.v1.DialogflowSource.getDefaultInstance()) return this; + if (other == com.google.cloud.contactcenterinsights.v1.DialogflowSource.getDefaultInstance()) + return this; if (!other.getDialogflowConversation().isEmpty()) { dialogflowConversation_ = other.dialogflowConversation_; bitField0_ |= 0x00000001; @@ -474,22 +512,25 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - dialogflowConversation_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 26: { - audioUri_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000002; - break; - } // case 26 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + dialogflowConversation_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 26: + { + audioUri_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + break; + } // case 26 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -499,10 +540,13 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private java.lang.Object dialogflowConversation_ = ""; /** + * + * *
      * Output only. The name of the Dialogflow conversation that this conversation
      * resource is derived from. Format:
@@ -510,13 +554,13 @@ public Builder mergeFrom(
      * 
* * string dialogflow_conversation = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The dialogflowConversation. */ public java.lang.String getDialogflowConversation() { java.lang.Object ref = dialogflowConversation_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); dialogflowConversation_ = s; return s; @@ -525,6 +569,8 @@ public java.lang.String getDialogflowConversation() { } } /** + * + * *
      * Output only. The name of the Dialogflow conversation that this conversation
      * resource is derived from. Format:
@@ -532,15 +578,14 @@ public java.lang.String getDialogflowConversation() {
      * 
* * string dialogflow_conversation = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for dialogflowConversation. */ - public com.google.protobuf.ByteString - getDialogflowConversationBytes() { + public com.google.protobuf.ByteString getDialogflowConversationBytes() { java.lang.Object ref = dialogflowConversation_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); dialogflowConversation_ = b; return b; } else { @@ -548,6 +593,8 @@ public java.lang.String getDialogflowConversation() { } } /** + * + * *
      * Output only. The name of the Dialogflow conversation that this conversation
      * resource is derived from. Format:
@@ -555,18 +602,22 @@ public java.lang.String getDialogflowConversation() {
      * 
* * string dialogflow_conversation = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param value The dialogflowConversation to set. * @return This builder for chaining. */ - public Builder setDialogflowConversation( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setDialogflowConversation(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } dialogflowConversation_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
      * Output only. The name of the Dialogflow conversation that this conversation
      * resource is derived from. Format:
@@ -574,6 +625,7 @@ public Builder setDialogflowConversation(
      * 
* * string dialogflow_conversation = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return This builder for chaining. */ public Builder clearDialogflowConversation() { @@ -583,6 +635,8 @@ public Builder clearDialogflowConversation() { return this; } /** + * + * *
      * Output only. The name of the Dialogflow conversation that this conversation
      * resource is derived from. Format:
@@ -590,12 +644,14 @@ public Builder clearDialogflowConversation() {
      * 
* * string dialogflow_conversation = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param value The bytes for dialogflowConversation to set. * @return This builder for chaining. */ - public Builder setDialogflowConversationBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setDialogflowConversationBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); dialogflowConversation_ = value; bitField0_ |= 0x00000001; @@ -605,19 +661,21 @@ public Builder setDialogflowConversationBytes( private java.lang.Object audioUri_ = ""; /** + * + * *
      * Cloud Storage URI that points to a file that contains the conversation
      * audio.
      * 
* * string audio_uri = 3; + * * @return The audioUri. */ public java.lang.String getAudioUri() { java.lang.Object ref = audioUri_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); audioUri_ = s; return s; @@ -626,21 +684,22 @@ public java.lang.String getAudioUri() { } } /** + * + * *
      * Cloud Storage URI that points to a file that contains the conversation
      * audio.
      * 
* * string audio_uri = 3; + * * @return The bytes for audioUri. */ - public com.google.protobuf.ByteString - getAudioUriBytes() { + public com.google.protobuf.ByteString getAudioUriBytes() { java.lang.Object ref = audioUri_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); audioUri_ = b; return b; } else { @@ -648,30 +707,37 @@ public java.lang.String getAudioUri() { } } /** + * + * *
      * Cloud Storage URI that points to a file that contains the conversation
      * audio.
      * 
* * string audio_uri = 3; + * * @param value The audioUri to set. * @return This builder for chaining. */ - public Builder setAudioUri( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setAudioUri(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } audioUri_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** + * + * *
      * Cloud Storage URI that points to a file that contains the conversation
      * audio.
      * 
* * string audio_uri = 3; + * * @return This builder for chaining. */ public Builder clearAudioUri() { @@ -681,27 +747,31 @@ public Builder clearAudioUri() { return this; } /** + * + * *
      * Cloud Storage URI that points to a file that contains the conversation
      * audio.
      * 
* * string audio_uri = 3; + * * @param value The bytes for audioUri to set. * @return This builder for chaining. */ - public Builder setAudioUriBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setAudioUriBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); audioUri_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -711,12 +781,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.contactcenterinsights.v1.DialogflowSource) } // @@protoc_insertion_point(class_scope:google.cloud.contactcenterinsights.v1.DialogflowSource) private static final com.google.cloud.contactcenterinsights.v1.DialogflowSource DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.contactcenterinsights.v1.DialogflowSource(); } @@ -725,27 +795,27 @@ public static com.google.cloud.contactcenterinsights.v1.DialogflowSource getDefa return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public DialogflowSource parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public DialogflowSource parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -760,6 +830,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.contactcenterinsights.v1.DialogflowSource getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/DialogflowSourceOrBuilder.java b/java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/DialogflowSourceOrBuilder.java similarity index 65% rename from owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/DialogflowSourceOrBuilder.java rename to java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/DialogflowSourceOrBuilder.java index c3429c3d8009..8e3dc711654f 100644 --- a/owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/DialogflowSourceOrBuilder.java +++ b/java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/DialogflowSourceOrBuilder.java @@ -1,13 +1,31 @@ +/* + * 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. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/contactcenterinsights/v1/resources.proto package com.google.cloud.contactcenterinsights.v1; -public interface DialogflowSourceOrBuilder extends +public interface DialogflowSourceOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.contactcenterinsights.v1.DialogflowSource) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Output only. The name of the Dialogflow conversation that this conversation
    * resource is derived from. Format:
@@ -15,10 +33,13 @@ public interface DialogflowSourceOrBuilder extends
    * 
* * string dialogflow_conversation = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The dialogflowConversation. */ java.lang.String getDialogflowConversation(); /** + * + * *
    * Output only. The name of the Dialogflow conversation that this conversation
    * resource is derived from. Format:
@@ -26,30 +47,35 @@ public interface DialogflowSourceOrBuilder extends
    * 
* * string dialogflow_conversation = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for dialogflowConversation. */ - com.google.protobuf.ByteString - getDialogflowConversationBytes(); + com.google.protobuf.ByteString getDialogflowConversationBytes(); /** + * + * *
    * Cloud Storage URI that points to a file that contains the conversation
    * audio.
    * 
* * string audio_uri = 3; + * * @return The audioUri. */ java.lang.String getAudioUri(); /** + * + * *
    * Cloud Storage URI that points to a file that contains the conversation
    * audio.
    * 
* * string audio_uri = 3; + * * @return The bytes for audioUri. */ - com.google.protobuf.ByteString - getAudioUriBytes(); + com.google.protobuf.ByteString getAudioUriBytes(); } diff --git a/owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/Entity.java b/java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/Entity.java similarity index 70% rename from owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/Entity.java rename to java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/Entity.java index 74eb79a8c98f..5748eced0c97 100644 --- a/owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/Entity.java +++ b/java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/Entity.java @@ -1,9 +1,26 @@ +/* + * 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. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/contactcenterinsights/v1/resources.proto package com.google.cloud.contactcenterinsights.v1; /** + * + * *
  * The data for an entity annotation.
  * Represents a phrase in the conversation that is a known entity, such
@@ -12,15 +29,16 @@
  *
  * Protobuf type {@code google.cloud.contactcenterinsights.v1.Entity}
  */
-public final class Entity extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class Entity extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.cloud.contactcenterinsights.v1.Entity)
     EntityOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use Entity.newBuilder() to construct.
   private Entity(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
+
   private Entity() {
     displayName_ = "";
     type_ = 0;
@@ -28,42 +46,44 @@ private Entity() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new Entity();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet
-  getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
     return this.unknownFields;
   }
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.cloud.contactcenterinsights.v1.ResourcesProto.internal_static_google_cloud_contactcenterinsights_v1_Entity_descriptor;
+
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.cloud.contactcenterinsights.v1.ResourcesProto
+        .internal_static_google_cloud_contactcenterinsights_v1_Entity_descriptor;
   }
 
   @SuppressWarnings({"rawtypes"})
   @java.lang.Override
-  protected com.google.protobuf.MapField internalGetMapField(
-      int number) {
+  protected com.google.protobuf.MapField internalGetMapField(int number) {
     switch (number) {
       case 3:
         return internalGetMetadata();
       default:
-        throw new RuntimeException(
-            "Invalid map field number: " + number);
+        throw new RuntimeException("Invalid map field number: " + number);
     }
   }
+
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.contactcenterinsights.v1.ResourcesProto.internal_static_google_cloud_contactcenterinsights_v1_Entity_fieldAccessorTable
+    return com.google.cloud.contactcenterinsights.v1.ResourcesProto
+        .internal_static_google_cloud_contactcenterinsights_v1_Entity_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.contactcenterinsights.v1.Entity.class, com.google.cloud.contactcenterinsights.v1.Entity.Builder.class);
+            com.google.cloud.contactcenterinsights.v1.Entity.class,
+            com.google.cloud.contactcenterinsights.v1.Entity.Builder.class);
   }
 
   /**
+   *
+   *
    * 
    * The type of the entity. For most entity types, the associated metadata is a
    * Wikipedia URL (`wikipedia_url`) and Knowledge Graph MID (`mid`). The table
@@ -73,9 +93,10 @@ protected com.google.protobuf.MapField internalGetMapField(
    *
    * Protobuf enum {@code google.cloud.contactcenterinsights.v1.Entity.Type}
    */
-  public enum Type
-      implements com.google.protobuf.ProtocolMessageEnum {
+  public enum Type implements com.google.protobuf.ProtocolMessageEnum {
     /**
+     *
+     *
      * 
      * Unspecified.
      * 
@@ -84,6 +105,8 @@ public enum Type */ TYPE_UNSPECIFIED(0), /** + * + * *
      * Person.
      * 
@@ -92,6 +115,8 @@ public enum Type */ PERSON(1), /** + * + * *
      * Location.
      * 
@@ -100,6 +125,8 @@ public enum Type */ LOCATION(2), /** + * + * *
      * Organization.
      * 
@@ -108,6 +135,8 @@ public enum Type */ ORGANIZATION(3), /** + * + * *
      * Event.
      * 
@@ -116,6 +145,8 @@ public enum Type */ EVENT(4), /** + * + * *
      * Artwork.
      * 
@@ -124,6 +155,8 @@ public enum Type */ WORK_OF_ART(5), /** + * + * *
      * Consumer product.
      * 
@@ -132,6 +165,8 @@ public enum Type */ CONSUMER_GOOD(6), /** + * + * *
      * Other types of entities.
      * 
@@ -140,6 +175,8 @@ public enum Type */ OTHER(7), /** + * + * *
      * Phone number.
      * The metadata lists the phone number (formatted according to local
@@ -156,6 +193,8 @@ public enum Type
      */
     PHONE_NUMBER(9),
     /**
+     *
+     *
      * 
      * Address.
      * The metadata identifies the street number and locality plus whichever
@@ -176,6 +215,8 @@ public enum Type
      */
     ADDRESS(10),
     /**
+     *
+     *
      * 
      * Date.
      * The metadata identifies the components of the date:
@@ -188,6 +229,8 @@ public enum Type
      */
     DATE(11),
     /**
+     *
+     *
      * 
      * Number.
      * The metadata is the number itself.
@@ -197,6 +240,8 @@ public enum Type
      */
     NUMBER(12),
     /**
+     *
+     *
      * 
      * Price.
      * The metadata identifies the `value` and `currency`.
@@ -209,6 +254,8 @@ public enum Type
     ;
 
     /**
+     *
+     *
      * 
      * Unspecified.
      * 
@@ -217,6 +264,8 @@ public enum Type */ public static final int TYPE_UNSPECIFIED_VALUE = 0; /** + * + * *
      * Person.
      * 
@@ -225,6 +274,8 @@ public enum Type */ public static final int PERSON_VALUE = 1; /** + * + * *
      * Location.
      * 
@@ -233,6 +284,8 @@ public enum Type */ public static final int LOCATION_VALUE = 2; /** + * + * *
      * Organization.
      * 
@@ -241,6 +294,8 @@ public enum Type */ public static final int ORGANIZATION_VALUE = 3; /** + * + * *
      * Event.
      * 
@@ -249,6 +304,8 @@ public enum Type */ public static final int EVENT_VALUE = 4; /** + * + * *
      * Artwork.
      * 
@@ -257,6 +314,8 @@ public enum Type */ public static final int WORK_OF_ART_VALUE = 5; /** + * + * *
      * Consumer product.
      * 
@@ -265,6 +324,8 @@ public enum Type */ public static final int CONSUMER_GOOD_VALUE = 6; /** + * + * *
      * Other types of entities.
      * 
@@ -273,6 +334,8 @@ public enum Type */ public static final int OTHER_VALUE = 7; /** + * + * *
      * Phone number.
      * The metadata lists the phone number (formatted according to local
@@ -289,6 +352,8 @@ public enum Type
      */
     public static final int PHONE_NUMBER_VALUE = 9;
     /**
+     *
+     *
      * 
      * Address.
      * The metadata identifies the street number and locality plus whichever
@@ -309,6 +374,8 @@ public enum Type
      */
     public static final int ADDRESS_VALUE = 10;
     /**
+     *
+     *
      * 
      * Date.
      * The metadata identifies the components of the date:
@@ -321,6 +388,8 @@ public enum Type
      */
     public static final int DATE_VALUE = 11;
     /**
+     *
+     *
      * 
      * Number.
      * The metadata is the number itself.
@@ -330,6 +399,8 @@ public enum Type
      */
     public static final int NUMBER_VALUE = 12;
     /**
+     *
+     *
      * 
      * Price.
      * The metadata identifies the `value` and `currency`.
@@ -339,7 +410,6 @@ public enum Type
      */
     public static final int PRICE_VALUE = 13;
 
-
     public final int getNumber() {
       if (this == UNRECOGNIZED) {
         throw new java.lang.IllegalArgumentException(
@@ -364,59 +434,69 @@ public static Type valueOf(int value) {
      */
     public static Type forNumber(int value) {
       switch (value) {
-        case 0: return TYPE_UNSPECIFIED;
-        case 1: return PERSON;
-        case 2: return LOCATION;
-        case 3: return ORGANIZATION;
-        case 4: return EVENT;
-        case 5: return WORK_OF_ART;
-        case 6: return CONSUMER_GOOD;
-        case 7: return OTHER;
-        case 9: return PHONE_NUMBER;
-        case 10: return ADDRESS;
-        case 11: return DATE;
-        case 12: return NUMBER;
-        case 13: return PRICE;
-        default: return null;
+        case 0:
+          return TYPE_UNSPECIFIED;
+        case 1:
+          return PERSON;
+        case 2:
+          return LOCATION;
+        case 3:
+          return ORGANIZATION;
+        case 4:
+          return EVENT;
+        case 5:
+          return WORK_OF_ART;
+        case 6:
+          return CONSUMER_GOOD;
+        case 7:
+          return OTHER;
+        case 9:
+          return PHONE_NUMBER;
+        case 10:
+          return ADDRESS;
+        case 11:
+          return DATE;
+        case 12:
+          return NUMBER;
+        case 13:
+          return PRICE;
+        default:
+          return null;
       }
     }
 
-    public static com.google.protobuf.Internal.EnumLiteMap
-        internalGetValueMap() {
+    public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() {
       return internalValueMap;
     }
-    private static final com.google.protobuf.Internal.EnumLiteMap<
-        Type> internalValueMap =
-          new com.google.protobuf.Internal.EnumLiteMap() {
-            public Type findValueByNumber(int number) {
-              return Type.forNumber(number);
-            }
-          };
 
-    public final com.google.protobuf.Descriptors.EnumValueDescriptor
-        getValueDescriptor() {
+    private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap =
+        new com.google.protobuf.Internal.EnumLiteMap() {
+          public Type findValueByNumber(int number) {
+            return Type.forNumber(number);
+          }
+        };
+
+    public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() {
       if (this == UNRECOGNIZED) {
         throw new java.lang.IllegalStateException(
             "Can't get the descriptor of an unrecognized enum value.");
       }
       return getDescriptor().getValues().get(ordinal());
     }
-    public final com.google.protobuf.Descriptors.EnumDescriptor
-        getDescriptorForType() {
+
+    public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() {
       return getDescriptor();
     }
-    public static final com.google.protobuf.Descriptors.EnumDescriptor
-        getDescriptor() {
+
+    public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() {
       return com.google.cloud.contactcenterinsights.v1.Entity.getDescriptor().getEnumTypes().get(0);
     }
 
     private static final Type[] VALUES = values();
 
-    public static Type valueOf(
-        com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
+    public static Type valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
       if (desc.getType() != getDescriptor()) {
-        throw new java.lang.IllegalArgumentException(
-          "EnumValueDescriptor is not for this type.");
+        throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type.");
       }
       if (desc.getIndex() == -1) {
         return UNRECOGNIZED;
@@ -434,14 +514,18 @@ private Type(int value) {
   }
 
   public static final int DISPLAY_NAME_FIELD_NUMBER = 1;
+
   @SuppressWarnings("serial")
   private volatile java.lang.Object displayName_ = "";
   /**
+   *
+   *
    * 
    * The representative name for the entity.
    * 
* * string display_name = 1; + * * @return The displayName. */ @java.lang.Override @@ -450,29 +534,29 @@ public java.lang.String getDisplayName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); displayName_ = s; return s; } } /** + * + * *
    * The representative name for the entity.
    * 
* * string display_name = 1; + * * @return The bytes for displayName. */ @java.lang.Override - public com.google.protobuf.ByteString - getDisplayNameBytes() { + public com.google.protobuf.ByteString getDisplayNameBytes() { java.lang.Object ref = displayName_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); displayName_ = b; return b; } else { @@ -483,56 +567,69 @@ public java.lang.String getDisplayName() { public static final int TYPE_FIELD_NUMBER = 2; private int type_ = 0; /** + * + * *
    * The entity type.
    * 
* * .google.cloud.contactcenterinsights.v1.Entity.Type type = 2; + * * @return The enum numeric value on the wire for type. */ - @java.lang.Override public int getTypeValue() { + @java.lang.Override + public int getTypeValue() { return type_; } /** + * + * *
    * The entity type.
    * 
* * .google.cloud.contactcenterinsights.v1.Entity.Type type = 2; + * * @return The type. */ - @java.lang.Override public com.google.cloud.contactcenterinsights.v1.Entity.Type getType() { - com.google.cloud.contactcenterinsights.v1.Entity.Type result = com.google.cloud.contactcenterinsights.v1.Entity.Type.forNumber(type_); - return result == null ? com.google.cloud.contactcenterinsights.v1.Entity.Type.UNRECOGNIZED : result; + @java.lang.Override + public com.google.cloud.contactcenterinsights.v1.Entity.Type getType() { + com.google.cloud.contactcenterinsights.v1.Entity.Type result = + com.google.cloud.contactcenterinsights.v1.Entity.Type.forNumber(type_); + return result == null + ? com.google.cloud.contactcenterinsights.v1.Entity.Type.UNRECOGNIZED + : result; } public static final int METADATA_FIELD_NUMBER = 3; + private static final class MetadataDefaultEntryHolder { - static final com.google.protobuf.MapEntry< - java.lang.String, java.lang.String> defaultEntry = - com.google.protobuf.MapEntry - .newDefaultInstance( - com.google.cloud.contactcenterinsights.v1.ResourcesProto.internal_static_google_cloud_contactcenterinsights_v1_Entity_MetadataEntry_descriptor, - com.google.protobuf.WireFormat.FieldType.STRING, - "", - com.google.protobuf.WireFormat.FieldType.STRING, - ""); + static final com.google.protobuf.MapEntry defaultEntry = + com.google.protobuf.MapEntry.newDefaultInstance( + com.google.cloud.contactcenterinsights.v1.ResourcesProto + .internal_static_google_cloud_contactcenterinsights_v1_Entity_MetadataEntry_descriptor, + com.google.protobuf.WireFormat.FieldType.STRING, + "", + com.google.protobuf.WireFormat.FieldType.STRING, + ""); } + @SuppressWarnings("serial") - private com.google.protobuf.MapField< - java.lang.String, java.lang.String> metadata_; - private com.google.protobuf.MapField - internalGetMetadata() { + private com.google.protobuf.MapField metadata_; + + private com.google.protobuf.MapField internalGetMetadata() { if (metadata_ == null) { - return com.google.protobuf.MapField.emptyMapField( - MetadataDefaultEntryHolder.defaultEntry); + return com.google.protobuf.MapField.emptyMapField(MetadataDefaultEntryHolder.defaultEntry); } return metadata_; } + public int getMetadataCount() { return internalGetMetadata().getMap().size(); } /** + * + * *
    * Metadata associated with the entity.
    * For most entity types, the metadata is a Wikipedia URL (`wikipedia_url`)
@@ -543,20 +640,21 @@ public int getMetadataCount() {
    * map<string, string> metadata = 3;
    */
   @java.lang.Override
-  public boolean containsMetadata(
-      java.lang.String key) {
-    if (key == null) { throw new NullPointerException("map key"); }
+  public boolean containsMetadata(java.lang.String key) {
+    if (key == null) {
+      throw new NullPointerException("map key");
+    }
     return internalGetMetadata().getMap().containsKey(key);
   }
-  /**
-   * Use {@link #getMetadataMap()} instead.
-   */
+  /** Use {@link #getMetadataMap()} instead. */
   @java.lang.Override
   @java.lang.Deprecated
   public java.util.Map getMetadata() {
     return getMetadataMap();
   }
   /**
+   *
+   *
    * 
    * Metadata associated with the entity.
    * For most entity types, the metadata is a Wikipedia URL (`wikipedia_url`)
@@ -571,6 +669,8 @@ public java.util.Map getMetadataMap() {
     return internalGetMetadata().getMap();
   }
   /**
+   *
+   *
    * 
    * Metadata associated with the entity.
    * For most entity types, the metadata is a Wikipedia URL (`wikipedia_url`)
@@ -581,17 +681,19 @@ public java.util.Map getMetadataMap() {
    * map<string, string> metadata = 3;
    */
   @java.lang.Override
-  public /* nullable */
-java.lang.String getMetadataOrDefault(
+  public /* nullable */ java.lang.String getMetadataOrDefault(
       java.lang.String key,
       /* nullable */
-java.lang.String defaultValue) {
-    if (key == null) { throw new NullPointerException("map key"); }
-    java.util.Map map =
-        internalGetMetadata().getMap();
+      java.lang.String defaultValue) {
+    if (key == null) {
+      throw new NullPointerException("map key");
+    }
+    java.util.Map map = internalGetMetadata().getMap();
     return map.containsKey(key) ? map.get(key) : defaultValue;
   }
   /**
+   *
+   *
    * 
    * Metadata associated with the entity.
    * For most entity types, the metadata is a Wikipedia URL (`wikipedia_url`)
@@ -602,11 +704,11 @@ java.lang.String getMetadataOrDefault(
    * map<string, string> metadata = 3;
    */
   @java.lang.Override
-  public java.lang.String getMetadataOrThrow(
-      java.lang.String key) {
-    if (key == null) { throw new NullPointerException("map key"); }
-    java.util.Map map =
-        internalGetMetadata().getMap();
+  public java.lang.String getMetadataOrThrow(java.lang.String key) {
+    if (key == null) {
+      throw new NullPointerException("map key");
+    }
+    java.util.Map map = internalGetMetadata().getMap();
     if (!map.containsKey(key)) {
       throw new java.lang.IllegalArgumentException();
     }
@@ -616,6 +718,8 @@ public java.lang.String getMetadataOrThrow(
   public static final int SALIENCE_FIELD_NUMBER = 4;
   private float salience_ = 0F;
   /**
+   *
+   *
    * 
    * The salience score associated with the entity in the [0, 1.0] range.
    * The salience score for an entity provides information about the
@@ -625,6 +729,7 @@ public java.lang.String getMetadataOrThrow(
    * 
* * float salience = 4; + * * @return The salience. */ @java.lang.Override @@ -635,11 +740,14 @@ public float getSalience() { public static final int SENTIMENT_FIELD_NUMBER = 5; private com.google.cloud.contactcenterinsights.v1.SentimentData sentiment_; /** + * + * *
    * The aggregate sentiment expressed for this entity in the conversation.
    * 
* * .google.cloud.contactcenterinsights.v1.SentimentData sentiment = 5; + * * @return Whether the sentiment field is set. */ @java.lang.Override @@ -647,18 +755,25 @@ public boolean hasSentiment() { return sentiment_ != null; } /** + * + * *
    * The aggregate sentiment expressed for this entity in the conversation.
    * 
* * .google.cloud.contactcenterinsights.v1.SentimentData sentiment = 5; + * * @return The sentiment. */ @java.lang.Override public com.google.cloud.contactcenterinsights.v1.SentimentData getSentiment() { - return sentiment_ == null ? com.google.cloud.contactcenterinsights.v1.SentimentData.getDefaultInstance() : sentiment_; + return sentiment_ == null + ? com.google.cloud.contactcenterinsights.v1.SentimentData.getDefaultInstance() + : sentiment_; } /** + * + * *
    * The aggregate sentiment expressed for this entity in the conversation.
    * 
@@ -667,10 +782,13 @@ public com.google.cloud.contactcenterinsights.v1.SentimentData getSentiment() { */ @java.lang.Override public com.google.cloud.contactcenterinsights.v1.SentimentDataOrBuilder getSentimentOrBuilder() { - return sentiment_ == null ? com.google.cloud.contactcenterinsights.v1.SentimentData.getDefaultInstance() : sentiment_; + return sentiment_ == null + ? com.google.cloud.contactcenterinsights.v1.SentimentData.getDefaultInstance() + : sentiment_; } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -682,20 +800,16 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(displayName_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, displayName_); } - if (type_ != com.google.cloud.contactcenterinsights.v1.Entity.Type.TYPE_UNSPECIFIED.getNumber()) { + if (type_ + != com.google.cloud.contactcenterinsights.v1.Entity.Type.TYPE_UNSPECIFIED.getNumber()) { output.writeEnum(2, type_); } - com.google.protobuf.GeneratedMessageV3 - .serializeStringMapTo( - output, - internalGetMetadata(), - MetadataDefaultEntryHolder.defaultEntry, - 3); + com.google.protobuf.GeneratedMessageV3.serializeStringMapTo( + output, internalGetMetadata(), MetadataDefaultEntryHolder.defaultEntry, 3); if (java.lang.Float.floatToRawIntBits(salience_) != 0) { output.writeFloat(4, salience_); } @@ -714,27 +828,25 @@ public int getSerializedSize() { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(displayName_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, displayName_); } - if (type_ != com.google.cloud.contactcenterinsights.v1.Entity.Type.TYPE_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(2, type_); + if (type_ + != com.google.cloud.contactcenterinsights.v1.Entity.Type.TYPE_UNSPECIFIED.getNumber()) { + size += com.google.protobuf.CodedOutputStream.computeEnumSize(2, type_); } - for (java.util.Map.Entry entry - : internalGetMetadata().getMap().entrySet()) { - com.google.protobuf.MapEntry - metadata__ = MetadataDefaultEntryHolder.defaultEntry.newBuilderForType() - .setKey(entry.getKey()) - .setValue(entry.getValue()) - .build(); - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(3, metadata__); + for (java.util.Map.Entry entry : + internalGetMetadata().getMap().entrySet()) { + com.google.protobuf.MapEntry metadata__ = + MetadataDefaultEntryHolder.defaultEntry + .newBuilderForType() + .setKey(entry.getKey()) + .setValue(entry.getValue()) + .build(); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, metadata__); } if (java.lang.Float.floatToRawIntBits(salience_) != 0) { - size += com.google.protobuf.CodedOutputStream - .computeFloatSize(4, salience_); + size += com.google.protobuf.CodedOutputStream.computeFloatSize(4, salience_); } if (sentiment_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(5, getSentiment()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(5, getSentiment()); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -744,25 +856,22 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.contactcenterinsights.v1.Entity)) { return super.equals(obj); } - com.google.cloud.contactcenterinsights.v1.Entity other = (com.google.cloud.contactcenterinsights.v1.Entity) obj; + com.google.cloud.contactcenterinsights.v1.Entity other = + (com.google.cloud.contactcenterinsights.v1.Entity) obj; - if (!getDisplayName() - .equals(other.getDisplayName())) return false; + if (!getDisplayName().equals(other.getDisplayName())) return false; if (type_ != other.type_) return false; - if (!internalGetMetadata().equals( - other.internalGetMetadata())) return false; + if (!internalGetMetadata().equals(other.internalGetMetadata())) return false; if (java.lang.Float.floatToIntBits(getSalience()) - != java.lang.Float.floatToIntBits( - other.getSalience())) return false; + != java.lang.Float.floatToIntBits(other.getSalience())) return false; if (hasSentiment() != other.hasSentiment()) return false; if (hasSentiment()) { - if (!getSentiment() - .equals(other.getSentiment())) return false; + if (!getSentiment().equals(other.getSentiment())) return false; } if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -784,8 +893,7 @@ public int hashCode() { hash = (53 * hash) + internalGetMetadata().hashCode(); } hash = (37 * hash) + SALIENCE_FIELD_NUMBER; - hash = (53 * hash) + java.lang.Float.floatToIntBits( - getSalience()); + hash = (53 * hash) + java.lang.Float.floatToIntBits(getSalience()); if (hasSentiment()) { hash = (37 * hash) + SENTIMENT_FIELD_NUMBER; hash = (53 * hash) + getSentiment().hashCode(); @@ -795,97 +903,104 @@ public int hashCode() { return hash; } - public static com.google.cloud.contactcenterinsights.v1.Entity parseFrom( - java.nio.ByteBuffer data) + public static com.google.cloud.contactcenterinsights.v1.Entity parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.contactcenterinsights.v1.Entity parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.contactcenterinsights.v1.Entity parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.contactcenterinsights.v1.Entity parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.contactcenterinsights.v1.Entity parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.contactcenterinsights.v1.Entity parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.contactcenterinsights.v1.Entity parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.contactcenterinsights.v1.Entity parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.contactcenterinsights.v1.Entity parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.contactcenterinsights.v1.Entity parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.contactcenterinsights.v1.Entity parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.contactcenterinsights.v1.Entity parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.contactcenterinsights.v1.Entity parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.contactcenterinsights.v1.Entity parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.cloud.contactcenterinsights.v1.Entity prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * The data for an entity annotation.
    * Represents a phrase in the conversation that is a known entity, such
@@ -894,55 +1009,52 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.cloud.contactcenterinsights.v1.Entity}
    */
-  public static final class Builder extends
-      com.google.protobuf.GeneratedMessageV3.Builder implements
+  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
+      implements
       // @@protoc_insertion_point(builder_implements:google.cloud.contactcenterinsights.v1.Entity)
       com.google.cloud.contactcenterinsights.v1.EntityOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.cloud.contactcenterinsights.v1.ResourcesProto.internal_static_google_cloud_contactcenterinsights_v1_Entity_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.cloud.contactcenterinsights.v1.ResourcesProto
+          .internal_static_google_cloud_contactcenterinsights_v1_Entity_descriptor;
     }
 
     @SuppressWarnings({"rawtypes"})
-    protected com.google.protobuf.MapField internalGetMapField(
-        int number) {
+    protected com.google.protobuf.MapField internalGetMapField(int number) {
       switch (number) {
         case 3:
           return internalGetMetadata();
         default:
-          throw new RuntimeException(
-              "Invalid map field number: " + number);
+          throw new RuntimeException("Invalid map field number: " + number);
       }
     }
+
     @SuppressWarnings({"rawtypes"})
-    protected com.google.protobuf.MapField internalGetMutableMapField(
-        int number) {
+    protected com.google.protobuf.MapField internalGetMutableMapField(int number) {
       switch (number) {
         case 3:
           return internalGetMutableMetadata();
         default:
-          throw new RuntimeException(
-              "Invalid map field number: " + number);
+          throw new RuntimeException("Invalid map field number: " + number);
       }
     }
+
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.contactcenterinsights.v1.ResourcesProto.internal_static_google_cloud_contactcenterinsights_v1_Entity_fieldAccessorTable
+      return com.google.cloud.contactcenterinsights.v1.ResourcesProto
+          .internal_static_google_cloud_contactcenterinsights_v1_Entity_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.contactcenterinsights.v1.Entity.class, com.google.cloud.contactcenterinsights.v1.Entity.Builder.class);
+              com.google.cloud.contactcenterinsights.v1.Entity.class,
+              com.google.cloud.contactcenterinsights.v1.Entity.Builder.class);
     }
 
     // Construct using com.google.cloud.contactcenterinsights.v1.Entity.newBuilder()
-    private Builder() {
-
-    }
+    private Builder() {}
 
-    private Builder(
-        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
-
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -960,9 +1072,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.cloud.contactcenterinsights.v1.ResourcesProto.internal_static_google_cloud_contactcenterinsights_v1_Entity_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.cloud.contactcenterinsights.v1.ResourcesProto
+          .internal_static_google_cloud_contactcenterinsights_v1_Entity_descriptor;
     }
 
     @java.lang.Override
@@ -981,8 +1093,11 @@ public com.google.cloud.contactcenterinsights.v1.Entity build() {
 
     @java.lang.Override
     public com.google.cloud.contactcenterinsights.v1.Entity buildPartial() {
-      com.google.cloud.contactcenterinsights.v1.Entity result = new com.google.cloud.contactcenterinsights.v1.Entity(this);
-      if (bitField0_ != 0) { buildPartial0(result); }
+      com.google.cloud.contactcenterinsights.v1.Entity result =
+          new com.google.cloud.contactcenterinsights.v1.Entity(this);
+      if (bitField0_ != 0) {
+        buildPartial0(result);
+      }
       onBuilt();
       return result;
     }
@@ -1003,9 +1118,7 @@ private void buildPartial0(com.google.cloud.contactcenterinsights.v1.Entity resu
         result.salience_ = salience_;
       }
       if (((from_bitField0_ & 0x00000010) != 0)) {
-        result.sentiment_ = sentimentBuilder_ == null
-            ? sentiment_
-            : sentimentBuilder_.build();
+        result.sentiment_ = sentimentBuilder_ == null ? sentiment_ : sentimentBuilder_.build();
       }
     }
 
@@ -1013,38 +1126,39 @@ private void buildPartial0(com.google.cloud.contactcenterinsights.v1.Entity resu
     public Builder clone() {
       return super.clone();
     }
+
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.setField(field, value);
     }
+
     @java.lang.Override
-    public Builder clearField(
-        com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
+
     @java.lang.Override
-    public Builder clearOneof(
-        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
+
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
+
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
+
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.cloud.contactcenterinsights.v1.Entity) {
-        return mergeFrom((com.google.cloud.contactcenterinsights.v1.Entity)other);
+        return mergeFrom((com.google.cloud.contactcenterinsights.v1.Entity) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -1052,7 +1166,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.cloud.contactcenterinsights.v1.Entity other) {
-      if (other == com.google.cloud.contactcenterinsights.v1.Entity.getDefaultInstance()) return this;
+      if (other == com.google.cloud.contactcenterinsights.v1.Entity.getDefaultInstance())
+        return this;
       if (!other.getDisplayName().isEmpty()) {
         displayName_ = other.displayName_;
         bitField0_ |= 0x00000001;
@@ -1061,8 +1176,7 @@ public Builder mergeFrom(com.google.cloud.contactcenterinsights.v1.Entity other)
       if (other.type_ != 0) {
         setTypeValue(other.getTypeValue());
       }
-      internalGetMutableMetadata().mergeFrom(
-          other.internalGetMetadata());
+      internalGetMutableMetadata().mergeFrom(other.internalGetMetadata());
       bitField0_ |= 0x00000004;
       if (other.getSalience() != 0F) {
         setSalience(other.getSalience());
@@ -1096,43 +1210,49 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10: {
-              displayName_ = input.readStringRequireUtf8();
-              bitField0_ |= 0x00000001;
-              break;
-            } // case 10
-            case 16: {
-              type_ = input.readEnum();
-              bitField0_ |= 0x00000002;
-              break;
-            } // case 16
-            case 26: {
-              com.google.protobuf.MapEntry
-              metadata__ = input.readMessage(
-                  MetadataDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry);
-              internalGetMutableMetadata().getMutableMap().put(
-                  metadata__.getKey(), metadata__.getValue());
-              bitField0_ |= 0x00000004;
-              break;
-            } // case 26
-            case 37: {
-              salience_ = input.readFloat();
-              bitField0_ |= 0x00000008;
-              break;
-            } // case 37
-            case 42: {
-              input.readMessage(
-                  getSentimentFieldBuilder().getBuilder(),
-                  extensionRegistry);
-              bitField0_ |= 0x00000010;
-              break;
-            } // case 42
-            default: {
-              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                done = true; // was an endgroup tag
-              }
-              break;
-            } // default:
+            case 10:
+              {
+                displayName_ = input.readStringRequireUtf8();
+                bitField0_ |= 0x00000001;
+                break;
+              } // case 10
+            case 16:
+              {
+                type_ = input.readEnum();
+                bitField0_ |= 0x00000002;
+                break;
+              } // case 16
+            case 26:
+              {
+                com.google.protobuf.MapEntry metadata__ =
+                    input.readMessage(
+                        MetadataDefaultEntryHolder.defaultEntry.getParserForType(),
+                        extensionRegistry);
+                internalGetMutableMetadata()
+                    .getMutableMap()
+                    .put(metadata__.getKey(), metadata__.getValue());
+                bitField0_ |= 0x00000004;
+                break;
+              } // case 26
+            case 37:
+              {
+                salience_ = input.readFloat();
+                bitField0_ |= 0x00000008;
+                break;
+              } // case 37
+            case 42:
+              {
+                input.readMessage(getSentimentFieldBuilder().getBuilder(), extensionRegistry);
+                bitField0_ |= 0x00000010;
+                break;
+              } // case 42
+            default:
+              {
+                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                  done = true; // was an endgroup tag
+                }
+                break;
+              } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -1142,22 +1262,25 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
+
     private int bitField0_;
 
     private java.lang.Object displayName_ = "";
     /**
+     *
+     *
      * 
      * The representative name for the entity.
      * 
* * string display_name = 1; + * * @return The displayName. */ public java.lang.String getDisplayName() { java.lang.Object ref = displayName_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); displayName_ = s; return s; @@ -1166,20 +1289,21 @@ public java.lang.String getDisplayName() { } } /** + * + * *
      * The representative name for the entity.
      * 
* * string display_name = 1; + * * @return The bytes for displayName. */ - public com.google.protobuf.ByteString - getDisplayNameBytes() { + public com.google.protobuf.ByteString getDisplayNameBytes() { java.lang.Object ref = displayName_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); displayName_ = b; return b; } else { @@ -1187,28 +1311,35 @@ public java.lang.String getDisplayName() { } } /** + * + * *
      * The representative name for the entity.
      * 
* * string display_name = 1; + * * @param value The displayName to set. * @return This builder for chaining. */ - public Builder setDisplayName( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setDisplayName(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } displayName_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
      * The representative name for the entity.
      * 
* * string display_name = 1; + * * @return This builder for chaining. */ public Builder clearDisplayName() { @@ -1218,17 +1349,21 @@ public Builder clearDisplayName() { return this; } /** + * + * *
      * The representative name for the entity.
      * 
* * string display_name = 1; + * * @param value The bytes for displayName to set. * @return This builder for chaining. */ - public Builder setDisplayNameBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setDisplayNameBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); displayName_ = value; bitField0_ |= 0x00000001; @@ -1238,22 +1373,29 @@ public Builder setDisplayNameBytes( private int type_ = 0; /** + * + * *
      * The entity type.
      * 
* * .google.cloud.contactcenterinsights.v1.Entity.Type type = 2; + * * @return The enum numeric value on the wire for type. */ - @java.lang.Override public int getTypeValue() { + @java.lang.Override + public int getTypeValue() { return type_; } /** + * + * *
      * The entity type.
      * 
* * .google.cloud.contactcenterinsights.v1.Entity.Type type = 2; + * * @param value The enum numeric value on the wire for type to set. * @return This builder for chaining. */ @@ -1264,24 +1406,33 @@ public Builder setTypeValue(int value) { return this; } /** + * + * *
      * The entity type.
      * 
* * .google.cloud.contactcenterinsights.v1.Entity.Type type = 2; + * * @return The type. */ @java.lang.Override public com.google.cloud.contactcenterinsights.v1.Entity.Type getType() { - com.google.cloud.contactcenterinsights.v1.Entity.Type result = com.google.cloud.contactcenterinsights.v1.Entity.Type.forNumber(type_); - return result == null ? com.google.cloud.contactcenterinsights.v1.Entity.Type.UNRECOGNIZED : result; + com.google.cloud.contactcenterinsights.v1.Entity.Type result = + com.google.cloud.contactcenterinsights.v1.Entity.Type.forNumber(type_); + return result == null + ? com.google.cloud.contactcenterinsights.v1.Entity.Type.UNRECOGNIZED + : result; } /** + * + * *
      * The entity type.
      * 
* * .google.cloud.contactcenterinsights.v1.Entity.Type type = 2; + * * @param value The type to set. * @return This builder for chaining. */ @@ -1295,11 +1446,14 @@ public Builder setType(com.google.cloud.contactcenterinsights.v1.Entity.Type val return this; } /** + * + * *
      * The entity type.
      * 
* * .google.cloud.contactcenterinsights.v1.Entity.Type type = 2; + * * @return This builder for chaining. */ public Builder clearType() { @@ -1309,21 +1463,20 @@ public Builder clearType() { return this; } - private com.google.protobuf.MapField< - java.lang.String, java.lang.String> metadata_; - private com.google.protobuf.MapField - internalGetMetadata() { + private com.google.protobuf.MapField metadata_; + + private com.google.protobuf.MapField internalGetMetadata() { if (metadata_ == null) { - return com.google.protobuf.MapField.emptyMapField( - MetadataDefaultEntryHolder.defaultEntry); + return com.google.protobuf.MapField.emptyMapField(MetadataDefaultEntryHolder.defaultEntry); } return metadata_; } + private com.google.protobuf.MapField internalGetMutableMetadata() { if (metadata_ == null) { - metadata_ = com.google.protobuf.MapField.newMapField( - MetadataDefaultEntryHolder.defaultEntry); + metadata_ = + com.google.protobuf.MapField.newMapField(MetadataDefaultEntryHolder.defaultEntry); } if (!metadata_.isMutable()) { metadata_ = metadata_.copy(); @@ -1332,10 +1485,13 @@ public Builder clearType() { onChanged(); return metadata_; } + public int getMetadataCount() { return internalGetMetadata().getMap().size(); } /** + * + * *
      * Metadata associated with the entity.
      * For most entity types, the metadata is a Wikipedia URL (`wikipedia_url`)
@@ -1346,20 +1502,21 @@ public int getMetadataCount() {
      * map<string, string> metadata = 3;
      */
     @java.lang.Override
-    public boolean containsMetadata(
-        java.lang.String key) {
-      if (key == null) { throw new NullPointerException("map key"); }
+    public boolean containsMetadata(java.lang.String key) {
+      if (key == null) {
+        throw new NullPointerException("map key");
+      }
       return internalGetMetadata().getMap().containsKey(key);
     }
-    /**
-     * Use {@link #getMetadataMap()} instead.
-     */
+    /** Use {@link #getMetadataMap()} instead. */
     @java.lang.Override
     @java.lang.Deprecated
     public java.util.Map getMetadata() {
       return getMetadataMap();
     }
     /**
+     *
+     *
      * 
      * Metadata associated with the entity.
      * For most entity types, the metadata is a Wikipedia URL (`wikipedia_url`)
@@ -1374,6 +1531,8 @@ public java.util.Map getMetadataMap() {
       return internalGetMetadata().getMap();
     }
     /**
+     *
+     *
      * 
      * Metadata associated with the entity.
      * For most entity types, the metadata is a Wikipedia URL (`wikipedia_url`)
@@ -1384,17 +1543,19 @@ public java.util.Map getMetadataMap() {
      * map<string, string> metadata = 3;
      */
     @java.lang.Override
-    public /* nullable */
-java.lang.String getMetadataOrDefault(
+    public /* nullable */ java.lang.String getMetadataOrDefault(
         java.lang.String key,
         /* nullable */
-java.lang.String defaultValue) {
-      if (key == null) { throw new NullPointerException("map key"); }
-      java.util.Map map =
-          internalGetMetadata().getMap();
+        java.lang.String defaultValue) {
+      if (key == null) {
+        throw new NullPointerException("map key");
+      }
+      java.util.Map map = internalGetMetadata().getMap();
       return map.containsKey(key) ? map.get(key) : defaultValue;
     }
     /**
+     *
+     *
      * 
      * Metadata associated with the entity.
      * For most entity types, the metadata is a Wikipedia URL (`wikipedia_url`)
@@ -1405,23 +1566,25 @@ java.lang.String getMetadataOrDefault(
      * map<string, string> metadata = 3;
      */
     @java.lang.Override
-    public java.lang.String getMetadataOrThrow(
-        java.lang.String key) {
-      if (key == null) { throw new NullPointerException("map key"); }
-      java.util.Map map =
-          internalGetMetadata().getMap();
+    public java.lang.String getMetadataOrThrow(java.lang.String key) {
+      if (key == null) {
+        throw new NullPointerException("map key");
+      }
+      java.util.Map map = internalGetMetadata().getMap();
       if (!map.containsKey(key)) {
         throw new java.lang.IllegalArgumentException();
       }
       return map.get(key);
     }
+
     public Builder clearMetadata() {
       bitField0_ = (bitField0_ & ~0x00000004);
-      internalGetMutableMetadata().getMutableMap()
-          .clear();
+      internalGetMutableMetadata().getMutableMap().clear();
       return this;
     }
     /**
+     *
+     *
      * 
      * Metadata associated with the entity.
      * For most entity types, the metadata is a Wikipedia URL (`wikipedia_url`)
@@ -1431,23 +1594,22 @@ public Builder clearMetadata() {
      *
      * map<string, string> metadata = 3;
      */
-    public Builder removeMetadata(
-        java.lang.String key) {
-      if (key == null) { throw new NullPointerException("map key"); }
-      internalGetMutableMetadata().getMutableMap()
-          .remove(key);
+    public Builder removeMetadata(java.lang.String key) {
+      if (key == null) {
+        throw new NullPointerException("map key");
+      }
+      internalGetMutableMetadata().getMutableMap().remove(key);
       return this;
     }
-    /**
-     * Use alternate mutation accessors instead.
-     */
+    /** Use alternate mutation accessors instead. */
     @java.lang.Deprecated
-    public java.util.Map
-        getMutableMetadata() {
+    public java.util.Map getMutableMetadata() {
       bitField0_ |= 0x00000004;
       return internalGetMutableMetadata().getMutableMap();
     }
     /**
+     *
+     *
      * 
      * Metadata associated with the entity.
      * For most entity types, the metadata is a Wikipedia URL (`wikipedia_url`)
@@ -1457,17 +1619,20 @@ public Builder removeMetadata(
      *
      * map<string, string> metadata = 3;
      */
-    public Builder putMetadata(
-        java.lang.String key,
-        java.lang.String value) {
-      if (key == null) { throw new NullPointerException("map key"); }
-      if (value == null) { throw new NullPointerException("map value"); }
-      internalGetMutableMetadata().getMutableMap()
-          .put(key, value);
+    public Builder putMetadata(java.lang.String key, java.lang.String value) {
+      if (key == null) {
+        throw new NullPointerException("map key");
+      }
+      if (value == null) {
+        throw new NullPointerException("map value");
+      }
+      internalGetMutableMetadata().getMutableMap().put(key, value);
       bitField0_ |= 0x00000004;
       return this;
     }
     /**
+     *
+     *
      * 
      * Metadata associated with the entity.
      * For most entity types, the metadata is a Wikipedia URL (`wikipedia_url`)
@@ -1477,16 +1642,16 @@ public Builder putMetadata(
      *
      * map<string, string> metadata = 3;
      */
-    public Builder putAllMetadata(
-        java.util.Map values) {
-      internalGetMutableMetadata().getMutableMap()
-          .putAll(values);
+    public Builder putAllMetadata(java.util.Map values) {
+      internalGetMutableMetadata().getMutableMap().putAll(values);
       bitField0_ |= 0x00000004;
       return this;
     }
 
-    private float salience_ ;
+    private float salience_;
     /**
+     *
+     *
      * 
      * The salience score associated with the entity in the [0, 1.0] range.
      * The salience score for an entity provides information about the
@@ -1496,6 +1661,7 @@ public Builder putAllMetadata(
      * 
* * float salience = 4; + * * @return The salience. */ @java.lang.Override @@ -1503,6 +1669,8 @@ public float getSalience() { return salience_; } /** + * + * *
      * The salience score associated with the entity in the [0, 1.0] range.
      * The salience score for an entity provides information about the
@@ -1512,17 +1680,20 @@ public float getSalience() {
      * 
* * float salience = 4; + * * @param value The salience to set. * @return This builder for chaining. */ public Builder setSalience(float value) { - + salience_ = value; bitField0_ |= 0x00000008; onChanged(); return this; } /** + * + * *
      * The salience score associated with the entity in the [0, 1.0] range.
      * The salience score for an entity provides information about the
@@ -1532,6 +1703,7 @@ public Builder setSalience(float value) {
      * 
* * float salience = 4; + * * @return This builder for chaining. */ public Builder clearSalience() { @@ -1543,34 +1715,47 @@ public Builder clearSalience() { private com.google.cloud.contactcenterinsights.v1.SentimentData sentiment_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.contactcenterinsights.v1.SentimentData, com.google.cloud.contactcenterinsights.v1.SentimentData.Builder, com.google.cloud.contactcenterinsights.v1.SentimentDataOrBuilder> sentimentBuilder_; + com.google.cloud.contactcenterinsights.v1.SentimentData, + com.google.cloud.contactcenterinsights.v1.SentimentData.Builder, + com.google.cloud.contactcenterinsights.v1.SentimentDataOrBuilder> + sentimentBuilder_; /** + * + * *
      * The aggregate sentiment expressed for this entity in the conversation.
      * 
* * .google.cloud.contactcenterinsights.v1.SentimentData sentiment = 5; + * * @return Whether the sentiment field is set. */ public boolean hasSentiment() { return ((bitField0_ & 0x00000010) != 0); } /** + * + * *
      * The aggregate sentiment expressed for this entity in the conversation.
      * 
* * .google.cloud.contactcenterinsights.v1.SentimentData sentiment = 5; + * * @return The sentiment. */ public com.google.cloud.contactcenterinsights.v1.SentimentData getSentiment() { if (sentimentBuilder_ == null) { - return sentiment_ == null ? com.google.cloud.contactcenterinsights.v1.SentimentData.getDefaultInstance() : sentiment_; + return sentiment_ == null + ? com.google.cloud.contactcenterinsights.v1.SentimentData.getDefaultInstance() + : sentiment_; } else { return sentimentBuilder_.getMessage(); } } /** + * + * *
      * The aggregate sentiment expressed for this entity in the conversation.
      * 
@@ -1591,6 +1776,8 @@ public Builder setSentiment(com.google.cloud.contactcenterinsights.v1.SentimentD return this; } /** + * + * *
      * The aggregate sentiment expressed for this entity in the conversation.
      * 
@@ -1609,6 +1796,8 @@ public Builder setSentiment( return this; } /** + * + * *
      * The aggregate sentiment expressed for this entity in the conversation.
      * 
@@ -1617,9 +1806,10 @@ public Builder setSentiment( */ public Builder mergeSentiment(com.google.cloud.contactcenterinsights.v1.SentimentData value) { if (sentimentBuilder_ == null) { - if (((bitField0_ & 0x00000010) != 0) && - sentiment_ != null && - sentiment_ != com.google.cloud.contactcenterinsights.v1.SentimentData.getDefaultInstance()) { + if (((bitField0_ & 0x00000010) != 0) + && sentiment_ != null + && sentiment_ + != com.google.cloud.contactcenterinsights.v1.SentimentData.getDefaultInstance()) { getSentimentBuilder().mergeFrom(value); } else { sentiment_ = value; @@ -1632,6 +1822,8 @@ public Builder mergeSentiment(com.google.cloud.contactcenterinsights.v1.Sentimen return this; } /** + * + * *
      * The aggregate sentiment expressed for this entity in the conversation.
      * 
@@ -1649,6 +1841,8 @@ public Builder clearSentiment() { return this; } /** + * + * *
      * The aggregate sentiment expressed for this entity in the conversation.
      * 
@@ -1661,21 +1855,27 @@ public com.google.cloud.contactcenterinsights.v1.SentimentData.Builder getSentim return getSentimentFieldBuilder().getBuilder(); } /** + * + * *
      * The aggregate sentiment expressed for this entity in the conversation.
      * 
* * .google.cloud.contactcenterinsights.v1.SentimentData sentiment = 5; */ - public com.google.cloud.contactcenterinsights.v1.SentimentDataOrBuilder getSentimentOrBuilder() { + public com.google.cloud.contactcenterinsights.v1.SentimentDataOrBuilder + getSentimentOrBuilder() { if (sentimentBuilder_ != null) { return sentimentBuilder_.getMessageOrBuilder(); } else { - return sentiment_ == null ? - com.google.cloud.contactcenterinsights.v1.SentimentData.getDefaultInstance() : sentiment_; + return sentiment_ == null + ? com.google.cloud.contactcenterinsights.v1.SentimentData.getDefaultInstance() + : sentiment_; } } /** + * + * *
      * The aggregate sentiment expressed for this entity in the conversation.
      * 
@@ -1683,21 +1883,24 @@ public com.google.cloud.contactcenterinsights.v1.SentimentDataOrBuilder getSenti * .google.cloud.contactcenterinsights.v1.SentimentData sentiment = 5; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.contactcenterinsights.v1.SentimentData, com.google.cloud.contactcenterinsights.v1.SentimentData.Builder, com.google.cloud.contactcenterinsights.v1.SentimentDataOrBuilder> + com.google.cloud.contactcenterinsights.v1.SentimentData, + com.google.cloud.contactcenterinsights.v1.SentimentData.Builder, + com.google.cloud.contactcenterinsights.v1.SentimentDataOrBuilder> getSentimentFieldBuilder() { if (sentimentBuilder_ == null) { - sentimentBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.contactcenterinsights.v1.SentimentData, com.google.cloud.contactcenterinsights.v1.SentimentData.Builder, com.google.cloud.contactcenterinsights.v1.SentimentDataOrBuilder>( - getSentiment(), - getParentForChildren(), - isClean()); + sentimentBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.contactcenterinsights.v1.SentimentData, + com.google.cloud.contactcenterinsights.v1.SentimentData.Builder, + com.google.cloud.contactcenterinsights.v1.SentimentDataOrBuilder>( + getSentiment(), getParentForChildren(), isClean()); sentiment_ = null; } return sentimentBuilder_; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1707,12 +1910,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.contactcenterinsights.v1.Entity) } // @@protoc_insertion_point(class_scope:google.cloud.contactcenterinsights.v1.Entity) private static final com.google.cloud.contactcenterinsights.v1.Entity DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.contactcenterinsights.v1.Entity(); } @@ -1721,27 +1924,27 @@ public static com.google.cloud.contactcenterinsights.v1.Entity getDefaultInstanc return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public Entity parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public Entity parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1756,6 +1959,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.contactcenterinsights.v1.Entity getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/EntityMentionData.java b/java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/EntityMentionData.java similarity index 69% rename from owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/EntityMentionData.java rename to java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/EntityMentionData.java index b2ec4f72026f..f29b2b2390af 100644 --- a/owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/EntityMentionData.java +++ b/java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/EntityMentionData.java @@ -1,9 +1,26 @@ +/* + * 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. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/contactcenterinsights/v1/resources.proto package com.google.cloud.contactcenterinsights.v1; /** + * + * *
  * The data for an entity mention annotation.
  * This represents a mention of an `Entity` in the conversation.
@@ -11,15 +28,16 @@
  *
  * Protobuf type {@code google.cloud.contactcenterinsights.v1.EntityMentionData}
  */
-public final class EntityMentionData extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class EntityMentionData extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.cloud.contactcenterinsights.v1.EntityMentionData)
     EntityMentionDataOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use EntityMentionData.newBuilder() to construct.
   private EntityMentionData(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
+
   private EntityMentionData() {
     entityUniqueId_ = "";
     type_ = 0;
@@ -27,39 +45,43 @@ private EntityMentionData() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new EntityMentionData();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet
-  getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
     return this.unknownFields;
   }
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.cloud.contactcenterinsights.v1.ResourcesProto.internal_static_google_cloud_contactcenterinsights_v1_EntityMentionData_descriptor;
+
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.cloud.contactcenterinsights.v1.ResourcesProto
+        .internal_static_google_cloud_contactcenterinsights_v1_EntityMentionData_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.contactcenterinsights.v1.ResourcesProto.internal_static_google_cloud_contactcenterinsights_v1_EntityMentionData_fieldAccessorTable
+    return com.google.cloud.contactcenterinsights.v1.ResourcesProto
+        .internal_static_google_cloud_contactcenterinsights_v1_EntityMentionData_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.contactcenterinsights.v1.EntityMentionData.class, com.google.cloud.contactcenterinsights.v1.EntityMentionData.Builder.class);
+            com.google.cloud.contactcenterinsights.v1.EntityMentionData.class,
+            com.google.cloud.contactcenterinsights.v1.EntityMentionData.Builder.class);
   }
 
   /**
+   *
+   *
    * 
    * The supported types of mentions.
    * 
* * Protobuf enum {@code google.cloud.contactcenterinsights.v1.EntityMentionData.MentionType} */ - public enum MentionType - implements com.google.protobuf.ProtocolMessageEnum { + public enum MentionType implements com.google.protobuf.ProtocolMessageEnum { /** + * + * *
      * Unspecified.
      * 
@@ -68,6 +90,8 @@ public enum MentionType */ MENTION_TYPE_UNSPECIFIED(0), /** + * + * *
      * Proper noun.
      * 
@@ -76,6 +100,8 @@ public enum MentionType */ PROPER(1), /** + * + * *
      * Common noun (or noun compound).
      * 
@@ -87,6 +113,8 @@ public enum MentionType ; /** + * + * *
      * Unspecified.
      * 
@@ -95,6 +123,8 @@ public enum MentionType */ public static final int MENTION_TYPE_UNSPECIFIED_VALUE = 0; /** + * + * *
      * Proper noun.
      * 
@@ -103,6 +133,8 @@ public enum MentionType */ public static final int PROPER_VALUE = 1; /** + * + * *
      * Common noun (or noun compound).
      * 
@@ -111,7 +143,6 @@ public enum MentionType */ public static final int COMMON_VALUE = 2; - public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -136,49 +167,51 @@ public static MentionType valueOf(int value) { */ public static MentionType forNumber(int value) { switch (value) { - case 0: return MENTION_TYPE_UNSPECIFIED; - case 1: return PROPER; - case 2: return COMMON; - default: return null; + case 0: + return MENTION_TYPE_UNSPECIFIED; + case 1: + return PROPER; + case 2: + return COMMON; + default: + return null; } } - public static com.google.protobuf.Internal.EnumLiteMap - internalGetValueMap() { + public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() { return internalValueMap; } - private static final com.google.protobuf.Internal.EnumLiteMap< - MentionType> internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public MentionType findValueByNumber(int number) { - return MentionType.forNumber(number); - } - }; - - public final com.google.protobuf.Descriptors.EnumValueDescriptor - getValueDescriptor() { + + private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public MentionType findValueByNumber(int number) { + return MentionType.forNumber(number); + } + }; + + public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalStateException( "Can't get the descriptor of an unrecognized enum value."); } return getDescriptor().getValues().get(ordinal()); } - public final com.google.protobuf.Descriptors.EnumDescriptor - getDescriptorForType() { + + public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() { return getDescriptor(); } - public static final com.google.protobuf.Descriptors.EnumDescriptor - getDescriptor() { - return com.google.cloud.contactcenterinsights.v1.EntityMentionData.getDescriptor().getEnumTypes().get(0); + + public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { + return com.google.cloud.contactcenterinsights.v1.EntityMentionData.getDescriptor() + .getEnumTypes() + .get(0); } private static final MentionType[] VALUES = values(); - public static MentionType valueOf( - com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + public static MentionType valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) { if (desc.getType() != getDescriptor()) { - throw new java.lang.IllegalArgumentException( - "EnumValueDescriptor is not for this type."); + throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type."); } if (desc.getIndex() == -1) { return UNRECOGNIZED; @@ -196,15 +229,19 @@ private MentionType(int value) { } public static final int ENTITY_UNIQUE_ID_FIELD_NUMBER = 1; + @SuppressWarnings("serial") private volatile java.lang.Object entityUniqueId_ = ""; /** + * + * *
    * The key of this entity in conversation entities.
    * Can be used to retrieve the exact `Entity` this mention is attached to.
    * 
* * string entity_unique_id = 1; + * * @return The entityUniqueId. */ @java.lang.Override @@ -213,30 +250,30 @@ public java.lang.String getEntityUniqueId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); entityUniqueId_ = s; return s; } } /** + * + * *
    * The key of this entity in conversation entities.
    * Can be used to retrieve the exact `Entity` this mention is attached to.
    * 
* * string entity_unique_id = 1; + * * @return The bytes for entityUniqueId. */ @java.lang.Override - public com.google.protobuf.ByteString - getEntityUniqueIdBytes() { + public com.google.protobuf.ByteString getEntityUniqueIdBytes() { java.lang.Object ref = entityUniqueId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); entityUniqueId_ = b; return b; } else { @@ -247,37 +284,51 @@ public java.lang.String getEntityUniqueId() { public static final int TYPE_FIELD_NUMBER = 2; private int type_ = 0; /** + * + * *
    * The type of the entity mention.
    * 
* * .google.cloud.contactcenterinsights.v1.EntityMentionData.MentionType type = 2; + * * @return The enum numeric value on the wire for type. */ - @java.lang.Override public int getTypeValue() { + @java.lang.Override + public int getTypeValue() { return type_; } /** + * + * *
    * The type of the entity mention.
    * 
* * .google.cloud.contactcenterinsights.v1.EntityMentionData.MentionType type = 2; + * * @return The type. */ - @java.lang.Override public com.google.cloud.contactcenterinsights.v1.EntityMentionData.MentionType getType() { - com.google.cloud.contactcenterinsights.v1.EntityMentionData.MentionType result = com.google.cloud.contactcenterinsights.v1.EntityMentionData.MentionType.forNumber(type_); - return result == null ? com.google.cloud.contactcenterinsights.v1.EntityMentionData.MentionType.UNRECOGNIZED : result; + @java.lang.Override + public com.google.cloud.contactcenterinsights.v1.EntityMentionData.MentionType getType() { + com.google.cloud.contactcenterinsights.v1.EntityMentionData.MentionType result = + com.google.cloud.contactcenterinsights.v1.EntityMentionData.MentionType.forNumber(type_); + return result == null + ? com.google.cloud.contactcenterinsights.v1.EntityMentionData.MentionType.UNRECOGNIZED + : result; } public static final int SENTIMENT_FIELD_NUMBER = 3; private com.google.cloud.contactcenterinsights.v1.SentimentData sentiment_; /** + * + * *
    * Sentiment expressed for this mention of the entity.
    * 
* * .google.cloud.contactcenterinsights.v1.SentimentData sentiment = 3; + * * @return Whether the sentiment field is set. */ @java.lang.Override @@ -285,18 +336,25 @@ public boolean hasSentiment() { return sentiment_ != null; } /** + * + * *
    * Sentiment expressed for this mention of the entity.
    * 
* * .google.cloud.contactcenterinsights.v1.SentimentData sentiment = 3; + * * @return The sentiment. */ @java.lang.Override public com.google.cloud.contactcenterinsights.v1.SentimentData getSentiment() { - return sentiment_ == null ? com.google.cloud.contactcenterinsights.v1.SentimentData.getDefaultInstance() : sentiment_; + return sentiment_ == null + ? com.google.cloud.contactcenterinsights.v1.SentimentData.getDefaultInstance() + : sentiment_; } /** + * + * *
    * Sentiment expressed for this mention of the entity.
    * 
@@ -305,10 +363,13 @@ public com.google.cloud.contactcenterinsights.v1.SentimentData getSentiment() { */ @java.lang.Override public com.google.cloud.contactcenterinsights.v1.SentimentDataOrBuilder getSentimentOrBuilder() { - return sentiment_ == null ? com.google.cloud.contactcenterinsights.v1.SentimentData.getDefaultInstance() : sentiment_; + return sentiment_ == null + ? com.google.cloud.contactcenterinsights.v1.SentimentData.getDefaultInstance() + : sentiment_; } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -320,12 +381,14 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(entityUniqueId_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, entityUniqueId_); } - if (type_ != com.google.cloud.contactcenterinsights.v1.EntityMentionData.MentionType.MENTION_TYPE_UNSPECIFIED.getNumber()) { + if (type_ + != com.google.cloud.contactcenterinsights.v1.EntityMentionData.MentionType + .MENTION_TYPE_UNSPECIFIED + .getNumber()) { output.writeEnum(2, type_); } if (sentiment_ != null) { @@ -343,13 +406,14 @@ public int getSerializedSize() { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(entityUniqueId_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, entityUniqueId_); } - if (type_ != com.google.cloud.contactcenterinsights.v1.EntityMentionData.MentionType.MENTION_TYPE_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(2, type_); + if (type_ + != com.google.cloud.contactcenterinsights.v1.EntityMentionData.MentionType + .MENTION_TYPE_UNSPECIFIED + .getNumber()) { + size += com.google.protobuf.CodedOutputStream.computeEnumSize(2, type_); } if (sentiment_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(3, getSentiment()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getSentiment()); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -359,20 +423,19 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.contactcenterinsights.v1.EntityMentionData)) { return super.equals(obj); } - com.google.cloud.contactcenterinsights.v1.EntityMentionData other = (com.google.cloud.contactcenterinsights.v1.EntityMentionData) obj; + com.google.cloud.contactcenterinsights.v1.EntityMentionData other = + (com.google.cloud.contactcenterinsights.v1.EntityMentionData) obj; - if (!getEntityUniqueId() - .equals(other.getEntityUniqueId())) return false; + if (!getEntityUniqueId().equals(other.getEntityUniqueId())) return false; if (type_ != other.type_) return false; if (hasSentiment() != other.hasSentiment()) return false; if (hasSentiment()) { - if (!getSentiment() - .equals(other.getSentiment())) return false; + if (!getSentiment().equals(other.getSentiment())) return false; } if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -399,96 +462,104 @@ public int hashCode() { } public static com.google.cloud.contactcenterinsights.v1.EntityMentionData parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.contactcenterinsights.v1.EntityMentionData parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.contactcenterinsights.v1.EntityMentionData parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.contactcenterinsights.v1.EntityMentionData parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.contactcenterinsights.v1.EntityMentionData parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.contactcenterinsights.v1.EntityMentionData parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.contactcenterinsights.v1.EntityMentionData parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.contactcenterinsights.v1.EntityMentionData parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.contactcenterinsights.v1.EntityMentionData parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.contactcenterinsights.v1.EntityMentionData parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.contactcenterinsights.v1.EntityMentionData parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.contactcenterinsights.v1.EntityMentionData parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.contactcenterinsights.v1.EntityMentionData parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.contactcenterinsights.v1.EntityMentionData parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.contactcenterinsights.v1.EntityMentionData prototype) { + + public static Builder newBuilder( + com.google.cloud.contactcenterinsights.v1.EntityMentionData prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * The data for an entity mention annotation.
    * This represents a mention of an `Entity` in the conversation.
@@ -496,33 +567,32 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.cloud.contactcenterinsights.v1.EntityMentionData}
    */
-  public static final class Builder extends
-      com.google.protobuf.GeneratedMessageV3.Builder implements
+  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
+      implements
       // @@protoc_insertion_point(builder_implements:google.cloud.contactcenterinsights.v1.EntityMentionData)
       com.google.cloud.contactcenterinsights.v1.EntityMentionDataOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.cloud.contactcenterinsights.v1.ResourcesProto.internal_static_google_cloud_contactcenterinsights_v1_EntityMentionData_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.cloud.contactcenterinsights.v1.ResourcesProto
+          .internal_static_google_cloud_contactcenterinsights_v1_EntityMentionData_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.contactcenterinsights.v1.ResourcesProto.internal_static_google_cloud_contactcenterinsights_v1_EntityMentionData_fieldAccessorTable
+      return com.google.cloud.contactcenterinsights.v1.ResourcesProto
+          .internal_static_google_cloud_contactcenterinsights_v1_EntityMentionData_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.contactcenterinsights.v1.EntityMentionData.class, com.google.cloud.contactcenterinsights.v1.EntityMentionData.Builder.class);
+              com.google.cloud.contactcenterinsights.v1.EntityMentionData.class,
+              com.google.cloud.contactcenterinsights.v1.EntityMentionData.Builder.class);
     }
 
     // Construct using com.google.cloud.contactcenterinsights.v1.EntityMentionData.newBuilder()
-    private Builder() {
-
-    }
+    private Builder() {}
 
-    private Builder(
-        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
-
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -538,9 +608,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.cloud.contactcenterinsights.v1.ResourcesProto.internal_static_google_cloud_contactcenterinsights_v1_EntityMentionData_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.cloud.contactcenterinsights.v1.ResourcesProto
+          .internal_static_google_cloud_contactcenterinsights_v1_EntityMentionData_descriptor;
     }
 
     @java.lang.Override
@@ -559,8 +629,11 @@ public com.google.cloud.contactcenterinsights.v1.EntityMentionData build() {
 
     @java.lang.Override
     public com.google.cloud.contactcenterinsights.v1.EntityMentionData buildPartial() {
-      com.google.cloud.contactcenterinsights.v1.EntityMentionData result = new com.google.cloud.contactcenterinsights.v1.EntityMentionData(this);
-      if (bitField0_ != 0) { buildPartial0(result); }
+      com.google.cloud.contactcenterinsights.v1.EntityMentionData result =
+          new com.google.cloud.contactcenterinsights.v1.EntityMentionData(this);
+      if (bitField0_ != 0) {
+        buildPartial0(result);
+      }
       onBuilt();
       return result;
     }
@@ -574,9 +647,7 @@ private void buildPartial0(com.google.cloud.contactcenterinsights.v1.EntityMenti
         result.type_ = type_;
       }
       if (((from_bitField0_ & 0x00000004) != 0)) {
-        result.sentiment_ = sentimentBuilder_ == null
-            ? sentiment_
-            : sentimentBuilder_.build();
+        result.sentiment_ = sentimentBuilder_ == null ? sentiment_ : sentimentBuilder_.build();
       }
     }
 
@@ -584,38 +655,39 @@ private void buildPartial0(com.google.cloud.contactcenterinsights.v1.EntityMenti
     public Builder clone() {
       return super.clone();
     }
+
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.setField(field, value);
     }
+
     @java.lang.Override
-    public Builder clearField(
-        com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
+
     @java.lang.Override
-    public Builder clearOneof(
-        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
+
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
+
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
+
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.cloud.contactcenterinsights.v1.EntityMentionData) {
-        return mergeFrom((com.google.cloud.contactcenterinsights.v1.EntityMentionData)other);
+        return mergeFrom((com.google.cloud.contactcenterinsights.v1.EntityMentionData) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -623,7 +695,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.cloud.contactcenterinsights.v1.EntityMentionData other) {
-      if (other == com.google.cloud.contactcenterinsights.v1.EntityMentionData.getDefaultInstance()) return this;
+      if (other == com.google.cloud.contactcenterinsights.v1.EntityMentionData.getDefaultInstance())
+        return this;
       if (!other.getEntityUniqueId().isEmpty()) {
         entityUniqueId_ = other.entityUniqueId_;
         bitField0_ |= 0x00000001;
@@ -661,29 +734,31 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10: {
-              entityUniqueId_ = input.readStringRequireUtf8();
-              bitField0_ |= 0x00000001;
-              break;
-            } // case 10
-            case 16: {
-              type_ = input.readEnum();
-              bitField0_ |= 0x00000002;
-              break;
-            } // case 16
-            case 26: {
-              input.readMessage(
-                  getSentimentFieldBuilder().getBuilder(),
-                  extensionRegistry);
-              bitField0_ |= 0x00000004;
-              break;
-            } // case 26
-            default: {
-              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                done = true; // was an endgroup tag
-              }
-              break;
-            } // default:
+            case 10:
+              {
+                entityUniqueId_ = input.readStringRequireUtf8();
+                bitField0_ |= 0x00000001;
+                break;
+              } // case 10
+            case 16:
+              {
+                type_ = input.readEnum();
+                bitField0_ |= 0x00000002;
+                break;
+              } // case 16
+            case 26:
+              {
+                input.readMessage(getSentimentFieldBuilder().getBuilder(), extensionRegistry);
+                bitField0_ |= 0x00000004;
+                break;
+              } // case 26
+            default:
+              {
+                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                  done = true; // was an endgroup tag
+                }
+                break;
+              } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -693,23 +768,26 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
+
     private int bitField0_;
 
     private java.lang.Object entityUniqueId_ = "";
     /**
+     *
+     *
      * 
      * The key of this entity in conversation entities.
      * Can be used to retrieve the exact `Entity` this mention is attached to.
      * 
* * string entity_unique_id = 1; + * * @return The entityUniqueId. */ public java.lang.String getEntityUniqueId() { java.lang.Object ref = entityUniqueId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); entityUniqueId_ = s; return s; @@ -718,21 +796,22 @@ public java.lang.String getEntityUniqueId() { } } /** + * + * *
      * The key of this entity in conversation entities.
      * Can be used to retrieve the exact `Entity` this mention is attached to.
      * 
* * string entity_unique_id = 1; + * * @return The bytes for entityUniqueId. */ - public com.google.protobuf.ByteString - getEntityUniqueIdBytes() { + public com.google.protobuf.ByteString getEntityUniqueIdBytes() { java.lang.Object ref = entityUniqueId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); entityUniqueId_ = b; return b; } else { @@ -740,30 +819,37 @@ public java.lang.String getEntityUniqueId() { } } /** + * + * *
      * The key of this entity in conversation entities.
      * Can be used to retrieve the exact `Entity` this mention is attached to.
      * 
* * string entity_unique_id = 1; + * * @param value The entityUniqueId to set. * @return This builder for chaining. */ - public Builder setEntityUniqueId( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setEntityUniqueId(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } entityUniqueId_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
      * The key of this entity in conversation entities.
      * Can be used to retrieve the exact `Entity` this mention is attached to.
      * 
* * string entity_unique_id = 1; + * * @return This builder for chaining. */ public Builder clearEntityUniqueId() { @@ -773,18 +859,22 @@ public Builder clearEntityUniqueId() { return this; } /** + * + * *
      * The key of this entity in conversation entities.
      * Can be used to retrieve the exact `Entity` this mention is attached to.
      * 
* * string entity_unique_id = 1; + * * @param value The bytes for entityUniqueId to set. * @return This builder for chaining. */ - public Builder setEntityUniqueIdBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setEntityUniqueIdBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); entityUniqueId_ = value; bitField0_ |= 0x00000001; @@ -794,22 +884,29 @@ public Builder setEntityUniqueIdBytes( private int type_ = 0; /** + * + * *
      * The type of the entity mention.
      * 
* * .google.cloud.contactcenterinsights.v1.EntityMentionData.MentionType type = 2; + * * @return The enum numeric value on the wire for type. */ - @java.lang.Override public int getTypeValue() { + @java.lang.Override + public int getTypeValue() { return type_; } /** + * + * *
      * The type of the entity mention.
      * 
* * .google.cloud.contactcenterinsights.v1.EntityMentionData.MentionType type = 2; + * * @param value The enum numeric value on the wire for type to set. * @return This builder for chaining. */ @@ -820,28 +917,38 @@ public Builder setTypeValue(int value) { return this; } /** + * + * *
      * The type of the entity mention.
      * 
* * .google.cloud.contactcenterinsights.v1.EntityMentionData.MentionType type = 2; + * * @return The type. */ @java.lang.Override public com.google.cloud.contactcenterinsights.v1.EntityMentionData.MentionType getType() { - com.google.cloud.contactcenterinsights.v1.EntityMentionData.MentionType result = com.google.cloud.contactcenterinsights.v1.EntityMentionData.MentionType.forNumber(type_); - return result == null ? com.google.cloud.contactcenterinsights.v1.EntityMentionData.MentionType.UNRECOGNIZED : result; + com.google.cloud.contactcenterinsights.v1.EntityMentionData.MentionType result = + com.google.cloud.contactcenterinsights.v1.EntityMentionData.MentionType.forNumber(type_); + return result == null + ? com.google.cloud.contactcenterinsights.v1.EntityMentionData.MentionType.UNRECOGNIZED + : result; } /** + * + * *
      * The type of the entity mention.
      * 
* * .google.cloud.contactcenterinsights.v1.EntityMentionData.MentionType type = 2; + * * @param value The type to set. * @return This builder for chaining. */ - public Builder setType(com.google.cloud.contactcenterinsights.v1.EntityMentionData.MentionType value) { + public Builder setType( + com.google.cloud.contactcenterinsights.v1.EntityMentionData.MentionType value) { if (value == null) { throw new NullPointerException(); } @@ -851,11 +958,14 @@ public Builder setType(com.google.cloud.contactcenterinsights.v1.EntityMentionDa return this; } /** + * + * *
      * The type of the entity mention.
      * 
* * .google.cloud.contactcenterinsights.v1.EntityMentionData.MentionType type = 2; + * * @return This builder for chaining. */ public Builder clearType() { @@ -867,34 +977,47 @@ public Builder clearType() { private com.google.cloud.contactcenterinsights.v1.SentimentData sentiment_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.contactcenterinsights.v1.SentimentData, com.google.cloud.contactcenterinsights.v1.SentimentData.Builder, com.google.cloud.contactcenterinsights.v1.SentimentDataOrBuilder> sentimentBuilder_; + com.google.cloud.contactcenterinsights.v1.SentimentData, + com.google.cloud.contactcenterinsights.v1.SentimentData.Builder, + com.google.cloud.contactcenterinsights.v1.SentimentDataOrBuilder> + sentimentBuilder_; /** + * + * *
      * Sentiment expressed for this mention of the entity.
      * 
* * .google.cloud.contactcenterinsights.v1.SentimentData sentiment = 3; + * * @return Whether the sentiment field is set. */ public boolean hasSentiment() { return ((bitField0_ & 0x00000004) != 0); } /** + * + * *
      * Sentiment expressed for this mention of the entity.
      * 
* * .google.cloud.contactcenterinsights.v1.SentimentData sentiment = 3; + * * @return The sentiment. */ public com.google.cloud.contactcenterinsights.v1.SentimentData getSentiment() { if (sentimentBuilder_ == null) { - return sentiment_ == null ? com.google.cloud.contactcenterinsights.v1.SentimentData.getDefaultInstance() : sentiment_; + return sentiment_ == null + ? com.google.cloud.contactcenterinsights.v1.SentimentData.getDefaultInstance() + : sentiment_; } else { return sentimentBuilder_.getMessage(); } } /** + * + * *
      * Sentiment expressed for this mention of the entity.
      * 
@@ -915,6 +1038,8 @@ public Builder setSentiment(com.google.cloud.contactcenterinsights.v1.SentimentD return this; } /** + * + * *
      * Sentiment expressed for this mention of the entity.
      * 
@@ -933,6 +1058,8 @@ public Builder setSentiment( return this; } /** + * + * *
      * Sentiment expressed for this mention of the entity.
      * 
@@ -941,9 +1068,10 @@ public Builder setSentiment( */ public Builder mergeSentiment(com.google.cloud.contactcenterinsights.v1.SentimentData value) { if (sentimentBuilder_ == null) { - if (((bitField0_ & 0x00000004) != 0) && - sentiment_ != null && - sentiment_ != com.google.cloud.contactcenterinsights.v1.SentimentData.getDefaultInstance()) { + if (((bitField0_ & 0x00000004) != 0) + && sentiment_ != null + && sentiment_ + != com.google.cloud.contactcenterinsights.v1.SentimentData.getDefaultInstance()) { getSentimentBuilder().mergeFrom(value); } else { sentiment_ = value; @@ -956,6 +1084,8 @@ public Builder mergeSentiment(com.google.cloud.contactcenterinsights.v1.Sentimen return this; } /** + * + * *
      * Sentiment expressed for this mention of the entity.
      * 
@@ -973,6 +1103,8 @@ public Builder clearSentiment() { return this; } /** + * + * *
      * Sentiment expressed for this mention of the entity.
      * 
@@ -985,21 +1117,27 @@ public com.google.cloud.contactcenterinsights.v1.SentimentData.Builder getSentim return getSentimentFieldBuilder().getBuilder(); } /** + * + * *
      * Sentiment expressed for this mention of the entity.
      * 
* * .google.cloud.contactcenterinsights.v1.SentimentData sentiment = 3; */ - public com.google.cloud.contactcenterinsights.v1.SentimentDataOrBuilder getSentimentOrBuilder() { + public com.google.cloud.contactcenterinsights.v1.SentimentDataOrBuilder + getSentimentOrBuilder() { if (sentimentBuilder_ != null) { return sentimentBuilder_.getMessageOrBuilder(); } else { - return sentiment_ == null ? - com.google.cloud.contactcenterinsights.v1.SentimentData.getDefaultInstance() : sentiment_; + return sentiment_ == null + ? com.google.cloud.contactcenterinsights.v1.SentimentData.getDefaultInstance() + : sentiment_; } } /** + * + * *
      * Sentiment expressed for this mention of the entity.
      * 
@@ -1007,21 +1145,24 @@ public com.google.cloud.contactcenterinsights.v1.SentimentDataOrBuilder getSenti * .google.cloud.contactcenterinsights.v1.SentimentData sentiment = 3; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.contactcenterinsights.v1.SentimentData, com.google.cloud.contactcenterinsights.v1.SentimentData.Builder, com.google.cloud.contactcenterinsights.v1.SentimentDataOrBuilder> + com.google.cloud.contactcenterinsights.v1.SentimentData, + com.google.cloud.contactcenterinsights.v1.SentimentData.Builder, + com.google.cloud.contactcenterinsights.v1.SentimentDataOrBuilder> getSentimentFieldBuilder() { if (sentimentBuilder_ == null) { - sentimentBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.contactcenterinsights.v1.SentimentData, com.google.cloud.contactcenterinsights.v1.SentimentData.Builder, com.google.cloud.contactcenterinsights.v1.SentimentDataOrBuilder>( - getSentiment(), - getParentForChildren(), - isClean()); + sentimentBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.contactcenterinsights.v1.SentimentData, + com.google.cloud.contactcenterinsights.v1.SentimentData.Builder, + com.google.cloud.contactcenterinsights.v1.SentimentDataOrBuilder>( + getSentiment(), getParentForChildren(), isClean()); sentiment_ = null; } return sentimentBuilder_; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1031,12 +1172,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.contactcenterinsights.v1.EntityMentionData) } // @@protoc_insertion_point(class_scope:google.cloud.contactcenterinsights.v1.EntityMentionData) private static final com.google.cloud.contactcenterinsights.v1.EntityMentionData DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.contactcenterinsights.v1.EntityMentionData(); } @@ -1045,27 +1186,27 @@ public static com.google.cloud.contactcenterinsights.v1.EntityMentionData getDef return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public EntityMentionData parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public EntityMentionData parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1080,6 +1221,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.contactcenterinsights.v1.EntityMentionData getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/EntityMentionDataOrBuilder.java b/java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/EntityMentionDataOrBuilder.java similarity index 73% rename from owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/EntityMentionDataOrBuilder.java rename to java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/EntityMentionDataOrBuilder.java index c9d5746e0c58..998caaca272b 100644 --- a/owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/EntityMentionDataOrBuilder.java +++ b/java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/EntityMentionDataOrBuilder.java @@ -1,72 +1,107 @@ +/* + * 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. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/contactcenterinsights/v1/resources.proto package com.google.cloud.contactcenterinsights.v1; -public interface EntityMentionDataOrBuilder extends +public interface EntityMentionDataOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.contactcenterinsights.v1.EntityMentionData) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * The key of this entity in conversation entities.
    * Can be used to retrieve the exact `Entity` this mention is attached to.
    * 
* * string entity_unique_id = 1; + * * @return The entityUniqueId. */ java.lang.String getEntityUniqueId(); /** + * + * *
    * The key of this entity in conversation entities.
    * Can be used to retrieve the exact `Entity` this mention is attached to.
    * 
* * string entity_unique_id = 1; + * * @return The bytes for entityUniqueId. */ - com.google.protobuf.ByteString - getEntityUniqueIdBytes(); + com.google.protobuf.ByteString getEntityUniqueIdBytes(); /** + * + * *
    * The type of the entity mention.
    * 
* * .google.cloud.contactcenterinsights.v1.EntityMentionData.MentionType type = 2; + * * @return The enum numeric value on the wire for type. */ int getTypeValue(); /** + * + * *
    * The type of the entity mention.
    * 
* * .google.cloud.contactcenterinsights.v1.EntityMentionData.MentionType type = 2; + * * @return The type. */ com.google.cloud.contactcenterinsights.v1.EntityMentionData.MentionType getType(); /** + * + * *
    * Sentiment expressed for this mention of the entity.
    * 
* * .google.cloud.contactcenterinsights.v1.SentimentData sentiment = 3; + * * @return Whether the sentiment field is set. */ boolean hasSentiment(); /** + * + * *
    * Sentiment expressed for this mention of the entity.
    * 
* * .google.cloud.contactcenterinsights.v1.SentimentData sentiment = 3; + * * @return The sentiment. */ com.google.cloud.contactcenterinsights.v1.SentimentData getSentiment(); /** + * + * *
    * Sentiment expressed for this mention of the entity.
    * 
diff --git a/owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/EntityOrBuilder.java b/java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/EntityOrBuilder.java similarity index 78% rename from owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/EntityOrBuilder.java rename to java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/EntityOrBuilder.java index 674228ad7bff..75923c7cef75 100644 --- a/owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/EntityOrBuilder.java +++ b/java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/EntityOrBuilder.java @@ -1,52 +1,81 @@ +/* + * 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. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/contactcenterinsights/v1/resources.proto package com.google.cloud.contactcenterinsights.v1; -public interface EntityOrBuilder extends +public interface EntityOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.contactcenterinsights.v1.Entity) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * The representative name for the entity.
    * 
* * string display_name = 1; + * * @return The displayName. */ java.lang.String getDisplayName(); /** + * + * *
    * The representative name for the entity.
    * 
* * string display_name = 1; + * * @return The bytes for displayName. */ - com.google.protobuf.ByteString - getDisplayNameBytes(); + com.google.protobuf.ByteString getDisplayNameBytes(); /** + * + * *
    * The entity type.
    * 
* * .google.cloud.contactcenterinsights.v1.Entity.Type type = 2; + * * @return The enum numeric value on the wire for type. */ int getTypeValue(); /** + * + * *
    * The entity type.
    * 
* * .google.cloud.contactcenterinsights.v1.Entity.Type type = 2; + * * @return The type. */ com.google.cloud.contactcenterinsights.v1.Entity.Type getType(); /** + * + * *
    * Metadata associated with the entity.
    * For most entity types, the metadata is a Wikipedia URL (`wikipedia_url`)
@@ -58,6 +87,8 @@ public interface EntityOrBuilder extends
    */
   int getMetadataCount();
   /**
+   *
+   *
    * 
    * Metadata associated with the entity.
    * For most entity types, the metadata is a Wikipedia URL (`wikipedia_url`)
@@ -67,15 +98,13 @@ public interface EntityOrBuilder extends
    *
    * map<string, string> metadata = 3;
    */
-  boolean containsMetadata(
-      java.lang.String key);
-  /**
-   * Use {@link #getMetadataMap()} instead.
-   */
+  boolean containsMetadata(java.lang.String key);
+  /** Use {@link #getMetadataMap()} instead. */
   @java.lang.Deprecated
-  java.util.Map
-  getMetadata();
+  java.util.Map getMetadata();
   /**
+   *
+   *
    * 
    * Metadata associated with the entity.
    * For most entity types, the metadata is a Wikipedia URL (`wikipedia_url`)
@@ -85,9 +114,10 @@ boolean containsMetadata(
    *
    * map<string, string> metadata = 3;
    */
-  java.util.Map
-  getMetadataMap();
+  java.util.Map getMetadataMap();
   /**
+   *
+   *
    * 
    * Metadata associated with the entity.
    * For most entity types, the metadata is a Wikipedia URL (`wikipedia_url`)
@@ -98,11 +128,13 @@ boolean containsMetadata(
    * map<string, string> metadata = 3;
    */
   /* nullable */
-java.lang.String getMetadataOrDefault(
+  java.lang.String getMetadataOrDefault(
       java.lang.String key,
       /* nullable */
-java.lang.String defaultValue);
+      java.lang.String defaultValue);
   /**
+   *
+   *
    * 
    * Metadata associated with the entity.
    * For most entity types, the metadata is a Wikipedia URL (`wikipedia_url`)
@@ -112,10 +144,11 @@ java.lang.String getMetadataOrDefault(
    *
    * map<string, string> metadata = 3;
    */
-  java.lang.String getMetadataOrThrow(
-      java.lang.String key);
+  java.lang.String getMetadataOrThrow(java.lang.String key);
 
   /**
+   *
+   *
    * 
    * The salience score associated with the entity in the [0, 1.0] range.
    * The salience score for an entity provides information about the
@@ -125,29 +158,38 @@ java.lang.String getMetadataOrThrow(
    * 
* * float salience = 4; + * * @return The salience. */ float getSalience(); /** + * + * *
    * The aggregate sentiment expressed for this entity in the conversation.
    * 
* * .google.cloud.contactcenterinsights.v1.SentimentData sentiment = 5; + * * @return Whether the sentiment field is set. */ boolean hasSentiment(); /** + * + * *
    * The aggregate sentiment expressed for this entity in the conversation.
    * 
* * .google.cloud.contactcenterinsights.v1.SentimentData sentiment = 5; + * * @return The sentiment. */ com.google.cloud.contactcenterinsights.v1.SentimentData getSentiment(); /** + * + * *
    * The aggregate sentiment expressed for this entity in the conversation.
    * 
diff --git a/owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ExactMatchConfig.java b/java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ExactMatchConfig.java similarity index 65% rename from owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ExactMatchConfig.java rename to java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ExactMatchConfig.java index e652a9e89162..23f2b607c10b 100644 --- a/owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ExactMatchConfig.java +++ b/java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ExactMatchConfig.java @@ -1,60 +1,81 @@ +/* + * 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. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/contactcenterinsights/v1/resources.proto package com.google.cloud.contactcenterinsights.v1; /** + * + * *
  * Exact match configuration.
  * 
* * Protobuf type {@code google.cloud.contactcenterinsights.v1.ExactMatchConfig} */ -public final class ExactMatchConfig extends - com.google.protobuf.GeneratedMessageV3 implements +public final class ExactMatchConfig extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.contactcenterinsights.v1.ExactMatchConfig) ExactMatchConfigOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use ExactMatchConfig.newBuilder() to construct. private ExactMatchConfig(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private ExactMatchConfig() { - } + + private ExactMatchConfig() {} @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ExactMatchConfig(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.contactcenterinsights.v1.ResourcesProto.internal_static_google_cloud_contactcenterinsights_v1_ExactMatchConfig_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.contactcenterinsights.v1.ResourcesProto + .internal_static_google_cloud_contactcenterinsights_v1_ExactMatchConfig_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.contactcenterinsights.v1.ResourcesProto.internal_static_google_cloud_contactcenterinsights_v1_ExactMatchConfig_fieldAccessorTable + return com.google.cloud.contactcenterinsights.v1.ResourcesProto + .internal_static_google_cloud_contactcenterinsights_v1_ExactMatchConfig_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.contactcenterinsights.v1.ExactMatchConfig.class, com.google.cloud.contactcenterinsights.v1.ExactMatchConfig.Builder.class); + com.google.cloud.contactcenterinsights.v1.ExactMatchConfig.class, + com.google.cloud.contactcenterinsights.v1.ExactMatchConfig.Builder.class); } public static final int CASE_SENSITIVE_FIELD_NUMBER = 1; private boolean caseSensitive_ = false; /** + * + * *
    * Whether to consider case sensitivity when performing an exact match.
    * 
* * bool case_sensitive = 1; + * * @return The caseSensitive. */ @java.lang.Override @@ -63,6 +84,7 @@ public boolean getCaseSensitive() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -74,8 +96,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (caseSensitive_ != false) { output.writeBool(1, caseSensitive_); } @@ -89,8 +110,7 @@ public int getSerializedSize() { size = 0; if (caseSensitive_ != false) { - size += com.google.protobuf.CodedOutputStream - .computeBoolSize(1, caseSensitive_); + size += com.google.protobuf.CodedOutputStream.computeBoolSize(1, caseSensitive_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -100,15 +120,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.contactcenterinsights.v1.ExactMatchConfig)) { return super.equals(obj); } - com.google.cloud.contactcenterinsights.v1.ExactMatchConfig other = (com.google.cloud.contactcenterinsights.v1.ExactMatchConfig) obj; + com.google.cloud.contactcenterinsights.v1.ExactMatchConfig other = + (com.google.cloud.contactcenterinsights.v1.ExactMatchConfig) obj; - if (getCaseSensitive() - != other.getCaseSensitive()) return false; + if (getCaseSensitive() != other.getCaseSensitive()) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -121,137 +141,143 @@ public int hashCode() { int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); hash = (37 * hash) + CASE_SENSITIVE_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( - getCaseSensitive()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getCaseSensitive()); hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } public static com.google.cloud.contactcenterinsights.v1.ExactMatchConfig parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.contactcenterinsights.v1.ExactMatchConfig parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.contactcenterinsights.v1.ExactMatchConfig parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.contactcenterinsights.v1.ExactMatchConfig parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.contactcenterinsights.v1.ExactMatchConfig parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.contactcenterinsights.v1.ExactMatchConfig parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.contactcenterinsights.v1.ExactMatchConfig parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.contactcenterinsights.v1.ExactMatchConfig parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.contactcenterinsights.v1.ExactMatchConfig parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.contactcenterinsights.v1.ExactMatchConfig parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.contactcenterinsights.v1.ExactMatchConfig parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.contactcenterinsights.v1.ExactMatchConfig parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.contactcenterinsights.v1.ExactMatchConfig parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.contactcenterinsights.v1.ExactMatchConfig parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.contactcenterinsights.v1.ExactMatchConfig prototype) { + + public static Builder newBuilder( + com.google.cloud.contactcenterinsights.v1.ExactMatchConfig prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Exact match configuration.
    * 
* * Protobuf type {@code google.cloud.contactcenterinsights.v1.ExactMatchConfig} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.contactcenterinsights.v1.ExactMatchConfig) com.google.cloud.contactcenterinsights.v1.ExactMatchConfigOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.contactcenterinsights.v1.ResourcesProto.internal_static_google_cloud_contactcenterinsights_v1_ExactMatchConfig_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.contactcenterinsights.v1.ResourcesProto + .internal_static_google_cloud_contactcenterinsights_v1_ExactMatchConfig_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.contactcenterinsights.v1.ResourcesProto.internal_static_google_cloud_contactcenterinsights_v1_ExactMatchConfig_fieldAccessorTable + return com.google.cloud.contactcenterinsights.v1.ResourcesProto + .internal_static_google_cloud_contactcenterinsights_v1_ExactMatchConfig_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.contactcenterinsights.v1.ExactMatchConfig.class, com.google.cloud.contactcenterinsights.v1.ExactMatchConfig.Builder.class); + com.google.cloud.contactcenterinsights.v1.ExactMatchConfig.class, + com.google.cloud.contactcenterinsights.v1.ExactMatchConfig.Builder.class); } // Construct using com.google.cloud.contactcenterinsights.v1.ExactMatchConfig.newBuilder() - private Builder() { - - } + private Builder() {} - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -261,9 +287,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.contactcenterinsights.v1.ResourcesProto.internal_static_google_cloud_contactcenterinsights_v1_ExactMatchConfig_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.contactcenterinsights.v1.ResourcesProto + .internal_static_google_cloud_contactcenterinsights_v1_ExactMatchConfig_descriptor; } @java.lang.Override @@ -282,8 +308,11 @@ public com.google.cloud.contactcenterinsights.v1.ExactMatchConfig build() { @java.lang.Override public com.google.cloud.contactcenterinsights.v1.ExactMatchConfig buildPartial() { - com.google.cloud.contactcenterinsights.v1.ExactMatchConfig result = new com.google.cloud.contactcenterinsights.v1.ExactMatchConfig(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.cloud.contactcenterinsights.v1.ExactMatchConfig result = + new com.google.cloud.contactcenterinsights.v1.ExactMatchConfig(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } @@ -299,38 +328,39 @@ private void buildPartial0(com.google.cloud.contactcenterinsights.v1.ExactMatchC public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.contactcenterinsights.v1.ExactMatchConfig) { - return mergeFrom((com.google.cloud.contactcenterinsights.v1.ExactMatchConfig)other); + return mergeFrom((com.google.cloud.contactcenterinsights.v1.ExactMatchConfig) other); } else { super.mergeFrom(other); return this; @@ -338,7 +368,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.contactcenterinsights.v1.ExactMatchConfig other) { - if (other == com.google.cloud.contactcenterinsights.v1.ExactMatchConfig.getDefaultInstance()) return this; + if (other == com.google.cloud.contactcenterinsights.v1.ExactMatchConfig.getDefaultInstance()) + return this; if (other.getCaseSensitive() != false) { setCaseSensitive(other.getCaseSensitive()); } @@ -368,17 +399,19 @@ public Builder mergeFrom( case 0: done = true; break; - case 8: { - caseSensitive_ = input.readBool(); - bitField0_ |= 0x00000001; - break; - } // case 8 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 8: + { + caseSensitive_ = input.readBool(); + bitField0_ |= 0x00000001; + break; + } // case 8 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -388,15 +421,19 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; - private boolean caseSensitive_ ; + private boolean caseSensitive_; /** + * + * *
      * Whether to consider case sensitivity when performing an exact match.
      * 
* * bool case_sensitive = 1; + * * @return The caseSensitive. */ @java.lang.Override @@ -404,27 +441,33 @@ public boolean getCaseSensitive() { return caseSensitive_; } /** + * + * *
      * Whether to consider case sensitivity when performing an exact match.
      * 
* * bool case_sensitive = 1; + * * @param value The caseSensitive to set. * @return This builder for chaining. */ public Builder setCaseSensitive(boolean value) { - + caseSensitive_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
      * Whether to consider case sensitivity when performing an exact match.
      * 
* * bool case_sensitive = 1; + * * @return This builder for chaining. */ public Builder clearCaseSensitive() { @@ -433,9 +476,9 @@ public Builder clearCaseSensitive() { onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -445,12 +488,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.contactcenterinsights.v1.ExactMatchConfig) } // @@protoc_insertion_point(class_scope:google.cloud.contactcenterinsights.v1.ExactMatchConfig) private static final com.google.cloud.contactcenterinsights.v1.ExactMatchConfig DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.contactcenterinsights.v1.ExactMatchConfig(); } @@ -459,27 +502,27 @@ public static com.google.cloud.contactcenterinsights.v1.ExactMatchConfig getDefa return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ExactMatchConfig parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ExactMatchConfig parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -494,6 +537,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.contactcenterinsights.v1.ExactMatchConfig getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ExactMatchConfigOrBuilder.java b/java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ExactMatchConfigOrBuilder.java new file mode 100644 index 000000000000..5afadfff016a --- /dev/null +++ b/java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ExactMatchConfigOrBuilder.java @@ -0,0 +1,38 @@ +/* + * 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. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/contactcenterinsights/v1/resources.proto + +package com.google.cloud.contactcenterinsights.v1; + +public interface ExactMatchConfigOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.cloud.contactcenterinsights.v1.ExactMatchConfig) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * Whether to consider case sensitivity when performing an exact match.
+   * 
+ * + * bool case_sensitive = 1; + * + * @return The caseSensitive. + */ + boolean getCaseSensitive(); +} diff --git a/owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ExportInsightsDataMetadata.java b/java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ExportInsightsDataMetadata.java similarity index 68% rename from owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ExportInsightsDataMetadata.java rename to java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ExportInsightsDataMetadata.java index f9878050f278..ee89525efd38 100644 --- a/owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ExportInsightsDataMetadata.java +++ b/java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ExportInsightsDataMetadata.java @@ -1,61 +1,84 @@ +/* + * 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. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/contactcenterinsights/v1/contact_center_insights.proto package com.google.cloud.contactcenterinsights.v1; /** + * + * *
  * Metadata for an export insights operation.
  * 
* * Protobuf type {@code google.cloud.contactcenterinsights.v1.ExportInsightsDataMetadata} */ -public final class ExportInsightsDataMetadata extends - com.google.protobuf.GeneratedMessageV3 implements +public final class ExportInsightsDataMetadata extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.contactcenterinsights.v1.ExportInsightsDataMetadata) ExportInsightsDataMetadataOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use ExportInsightsDataMetadata.newBuilder() to construct. private ExportInsightsDataMetadata(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private ExportInsightsDataMetadata() { partialErrors_ = java.util.Collections.emptyList(); } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ExportInsightsDataMetadata(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto.internal_static_google_cloud_contactcenterinsights_v1_ExportInsightsDataMetadata_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto + .internal_static_google_cloud_contactcenterinsights_v1_ExportInsightsDataMetadata_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto.internal_static_google_cloud_contactcenterinsights_v1_ExportInsightsDataMetadata_fieldAccessorTable + return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto + .internal_static_google_cloud_contactcenterinsights_v1_ExportInsightsDataMetadata_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.contactcenterinsights.v1.ExportInsightsDataMetadata.class, com.google.cloud.contactcenterinsights.v1.ExportInsightsDataMetadata.Builder.class); + com.google.cloud.contactcenterinsights.v1.ExportInsightsDataMetadata.class, + com.google.cloud.contactcenterinsights.v1.ExportInsightsDataMetadata.Builder.class); } public static final int CREATE_TIME_FIELD_NUMBER = 1; private com.google.protobuf.Timestamp createTime_; /** + * + * *
    * Output only. The time the operation was created.
    * 
* - * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the createTime field is set. */ @java.lang.Override @@ -63,11 +86,15 @@ public boolean hasCreateTime() { return createTime_ != null; } /** + * + * *
    * Output only. The time the operation was created.
    * 
* - * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The createTime. */ @java.lang.Override @@ -75,11 +102,14 @@ public com.google.protobuf.Timestamp getCreateTime() { return createTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : createTime_; } /** + * + * *
    * Output only. The time the operation was created.
    * 
* - * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ @java.lang.Override public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { @@ -89,11 +119,15 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { public static final int END_TIME_FIELD_NUMBER = 2; private com.google.protobuf.Timestamp endTime_; /** + * + * *
    * Output only. The time the operation finished running.
    * 
* - * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the endTime field is set. */ @java.lang.Override @@ -101,11 +135,15 @@ public boolean hasEndTime() { return endTime_ != null; } /** + * + * *
    * Output only. The time the operation finished running.
    * 
* - * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The endTime. */ @java.lang.Override @@ -113,11 +151,14 @@ public com.google.protobuf.Timestamp getEndTime() { return endTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : endTime_; } /** + * + * *
    * Output only. The time the operation finished running.
    * 
* - * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ @java.lang.Override public com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder() { @@ -127,11 +168,14 @@ public com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder() { public static final int REQUEST_FIELD_NUMBER = 3; private com.google.cloud.contactcenterinsights.v1.ExportInsightsDataRequest request_; /** + * + * *
    * The original request for export.
    * 
* * .google.cloud.contactcenterinsights.v1.ExportInsightsDataRequest request = 3; + * * @return Whether the request field is set. */ @java.lang.Override @@ -139,18 +183,25 @@ public boolean hasRequest() { return request_ != null; } /** + * + * *
    * The original request for export.
    * 
* * .google.cloud.contactcenterinsights.v1.ExportInsightsDataRequest request = 3; + * * @return The request. */ @java.lang.Override public com.google.cloud.contactcenterinsights.v1.ExportInsightsDataRequest getRequest() { - return request_ == null ? com.google.cloud.contactcenterinsights.v1.ExportInsightsDataRequest.getDefaultInstance() : request_; + return request_ == null + ? com.google.cloud.contactcenterinsights.v1.ExportInsightsDataRequest.getDefaultInstance() + : request_; } /** + * + * *
    * The original request for export.
    * 
@@ -158,14 +209,20 @@ public com.google.cloud.contactcenterinsights.v1.ExportInsightsDataRequest getRe * .google.cloud.contactcenterinsights.v1.ExportInsightsDataRequest request = 3; */ @java.lang.Override - public com.google.cloud.contactcenterinsights.v1.ExportInsightsDataRequestOrBuilder getRequestOrBuilder() { - return request_ == null ? com.google.cloud.contactcenterinsights.v1.ExportInsightsDataRequest.getDefaultInstance() : request_; + public com.google.cloud.contactcenterinsights.v1.ExportInsightsDataRequestOrBuilder + getRequestOrBuilder() { + return request_ == null + ? com.google.cloud.contactcenterinsights.v1.ExportInsightsDataRequest.getDefaultInstance() + : request_; } public static final int PARTIAL_ERRORS_FIELD_NUMBER = 4; + @SuppressWarnings("serial") private java.util.List partialErrors_; /** + * + * *
    * Partial errors during export operation that might cause the operation
    * output to be incomplete.
@@ -178,6 +235,8 @@ public java.util.List getPartialErrorsList() {
     return partialErrors_;
   }
   /**
+   *
+   *
    * 
    * Partial errors during export operation that might cause the operation
    * output to be incomplete.
@@ -186,11 +245,12 @@ public java.util.List getPartialErrorsList() {
    * repeated .google.rpc.Status partial_errors = 4;
    */
   @java.lang.Override
-  public java.util.List 
-      getPartialErrorsOrBuilderList() {
+  public java.util.List getPartialErrorsOrBuilderList() {
     return partialErrors_;
   }
   /**
+   *
+   *
    * 
    * Partial errors during export operation that might cause the operation
    * output to be incomplete.
@@ -203,6 +263,8 @@ public int getPartialErrorsCount() {
     return partialErrors_.size();
   }
   /**
+   *
+   *
    * 
    * Partial errors during export operation that might cause the operation
    * output to be incomplete.
@@ -215,6 +277,8 @@ public com.google.rpc.Status getPartialErrors(int index) {
     return partialErrors_.get(index);
   }
   /**
+   *
+   *
    * 
    * Partial errors during export operation that might cause the operation
    * output to be incomplete.
@@ -223,12 +287,12 @@ public com.google.rpc.Status getPartialErrors(int index) {
    * repeated .google.rpc.Status partial_errors = 4;
    */
   @java.lang.Override
-  public com.google.rpc.StatusOrBuilder getPartialErrorsOrBuilder(
-      int index) {
+  public com.google.rpc.StatusOrBuilder getPartialErrorsOrBuilder(int index) {
     return partialErrors_.get(index);
   }
 
   private byte memoizedIsInitialized = -1;
+
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -240,8 +304,7 @@ public final boolean isInitialized() {
   }
 
   @java.lang.Override
-  public void writeTo(com.google.protobuf.CodedOutputStream output)
-                      throws java.io.IOException {
+  public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
     if (createTime_ != null) {
       output.writeMessage(1, getCreateTime());
     }
@@ -264,20 +327,16 @@ public int getSerializedSize() {
 
     size = 0;
     if (createTime_ != null) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeMessageSize(1, getCreateTime());
+      size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getCreateTime());
     }
     if (endTime_ != null) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeMessageSize(2, getEndTime());
+      size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getEndTime());
     }
     if (request_ != null) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeMessageSize(3, getRequest());
+      size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getRequest());
     }
     for (int i = 0; i < partialErrors_.size(); i++) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeMessageSize(4, partialErrors_.get(i));
+      size += com.google.protobuf.CodedOutputStream.computeMessageSize(4, partialErrors_.get(i));
     }
     size += getUnknownFields().getSerializedSize();
     memoizedSize = size;
@@ -287,30 +346,27 @@ public int getSerializedSize() {
   @java.lang.Override
   public boolean equals(final java.lang.Object obj) {
     if (obj == this) {
-     return true;
+      return true;
     }
     if (!(obj instanceof com.google.cloud.contactcenterinsights.v1.ExportInsightsDataMetadata)) {
       return super.equals(obj);
     }
-    com.google.cloud.contactcenterinsights.v1.ExportInsightsDataMetadata other = (com.google.cloud.contactcenterinsights.v1.ExportInsightsDataMetadata) obj;
+    com.google.cloud.contactcenterinsights.v1.ExportInsightsDataMetadata other =
+        (com.google.cloud.contactcenterinsights.v1.ExportInsightsDataMetadata) obj;
 
     if (hasCreateTime() != other.hasCreateTime()) return false;
     if (hasCreateTime()) {
-      if (!getCreateTime()
-          .equals(other.getCreateTime())) return false;
+      if (!getCreateTime().equals(other.getCreateTime())) return false;
     }
     if (hasEndTime() != other.hasEndTime()) return false;
     if (hasEndTime()) {
-      if (!getEndTime()
-          .equals(other.getEndTime())) return false;
+      if (!getEndTime().equals(other.getEndTime())) return false;
     }
     if (hasRequest() != other.hasRequest()) return false;
     if (hasRequest()) {
-      if (!getRequest()
-          .equals(other.getRequest())) return false;
+      if (!getRequest().equals(other.getRequest())) return false;
     }
-    if (!getPartialErrorsList()
-        .equals(other.getPartialErrorsList())) return false;
+    if (!getPartialErrorsList().equals(other.getPartialErrorsList())) return false;
     if (!getUnknownFields().equals(other.getUnknownFields())) return false;
     return true;
   }
@@ -344,129 +400,138 @@ public int hashCode() {
   }
 
   public static com.google.cloud.contactcenterinsights.v1.ExportInsightsDataMetadata parseFrom(
-      java.nio.ByteBuffer data)
-      throws com.google.protobuf.InvalidProtocolBufferException {
+      java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.cloud.contactcenterinsights.v1.ExportInsightsDataMetadata parseFrom(
-      java.nio.ByteBuffer data,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
+
   public static com.google.cloud.contactcenterinsights.v1.ExportInsightsDataMetadata parseFrom(
       com.google.protobuf.ByteString data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.cloud.contactcenterinsights.v1.ExportInsightsDataMetadata parseFrom(
       com.google.protobuf.ByteString data,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-  public static com.google.cloud.contactcenterinsights.v1.ExportInsightsDataMetadata parseFrom(byte[] data)
-      throws com.google.protobuf.InvalidProtocolBufferException {
+
+  public static com.google.cloud.contactcenterinsights.v1.ExportInsightsDataMetadata parseFrom(
+      byte[] data) throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.cloud.contactcenterinsights.v1.ExportInsightsDataMetadata parseFrom(
-      byte[] data,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-  public static com.google.cloud.contactcenterinsights.v1.ExportInsightsDataMetadata parseFrom(java.io.InputStream input)
-      throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input);
+
+  public static com.google.cloud.contactcenterinsights.v1.ExportInsightsDataMetadata parseFrom(
+      java.io.InputStream input) throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
   }
+
   public static com.google.cloud.contactcenterinsights.v1.ExportInsightsDataMetadata parseFrom(
-      java.io.InputStream input,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
+        PARSER, input, extensionRegistry);
   }
-  public static com.google.cloud.contactcenterinsights.v1.ExportInsightsDataMetadata parseDelimitedFrom(java.io.InputStream input)
-      throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseDelimitedWithIOException(PARSER, input);
+
+  public static com.google.cloud.contactcenterinsights.v1.ExportInsightsDataMetadata
+      parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
   }
-  public static com.google.cloud.contactcenterinsights.v1.ExportInsightsDataMetadata parseDelimitedFrom(
-      java.io.InputStream input,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-      throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
+
+  public static com.google.cloud.contactcenterinsights.v1.ExportInsightsDataMetadata
+      parseDelimitedFrom(
+          java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+          throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(
+        PARSER, input, extensionRegistry);
   }
+
   public static com.google.cloud.contactcenterinsights.v1.ExportInsightsDataMetadata parseFrom(
-      com.google.protobuf.CodedInputStream input)
-      throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input);
+      com.google.protobuf.CodedInputStream input) throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
   }
+
   public static com.google.cloud.contactcenterinsights.v1.ExportInsightsDataMetadata parseFrom(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
+        PARSER, input, extensionRegistry);
   }
 
   @java.lang.Override
-  public Builder newBuilderForType() { return newBuilder(); }
+  public Builder newBuilderForType() {
+    return newBuilder();
+  }
+
   public static Builder newBuilder() {
     return DEFAULT_INSTANCE.toBuilder();
   }
-  public static Builder newBuilder(com.google.cloud.contactcenterinsights.v1.ExportInsightsDataMetadata prototype) {
+
+  public static Builder newBuilder(
+      com.google.cloud.contactcenterinsights.v1.ExportInsightsDataMetadata prototype) {
     return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
   }
+
   @java.lang.Override
   public Builder toBuilder() {
-    return this == DEFAULT_INSTANCE
-        ? new Builder() : new Builder().mergeFrom(this);
+    return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
   }
 
   @java.lang.Override
-  protected Builder newBuilderForType(
-      com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+  protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
     Builder builder = new Builder(parent);
     return builder;
   }
   /**
+   *
+   *
    * 
    * Metadata for an export insights operation.
    * 
* * Protobuf type {@code google.cloud.contactcenterinsights.v1.ExportInsightsDataMetadata} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.contactcenterinsights.v1.ExportInsightsDataMetadata) com.google.cloud.contactcenterinsights.v1.ExportInsightsDataMetadataOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto.internal_static_google_cloud_contactcenterinsights_v1_ExportInsightsDataMetadata_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto + .internal_static_google_cloud_contactcenterinsights_v1_ExportInsightsDataMetadata_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto.internal_static_google_cloud_contactcenterinsights_v1_ExportInsightsDataMetadata_fieldAccessorTable + return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto + .internal_static_google_cloud_contactcenterinsights_v1_ExportInsightsDataMetadata_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.contactcenterinsights.v1.ExportInsightsDataMetadata.class, com.google.cloud.contactcenterinsights.v1.ExportInsightsDataMetadata.Builder.class); + com.google.cloud.contactcenterinsights.v1.ExportInsightsDataMetadata.class, + com.google.cloud.contactcenterinsights.v1.ExportInsightsDataMetadata.Builder.class); } - // Construct using com.google.cloud.contactcenterinsights.v1.ExportInsightsDataMetadata.newBuilder() - private Builder() { + // Construct using + // com.google.cloud.contactcenterinsights.v1.ExportInsightsDataMetadata.newBuilder() + private Builder() {} - } - - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -497,14 +562,16 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto.internal_static_google_cloud_contactcenterinsights_v1_ExportInsightsDataMetadata_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto + .internal_static_google_cloud_contactcenterinsights_v1_ExportInsightsDataMetadata_descriptor; } @java.lang.Override - public com.google.cloud.contactcenterinsights.v1.ExportInsightsDataMetadata getDefaultInstanceForType() { - return com.google.cloud.contactcenterinsights.v1.ExportInsightsDataMetadata.getDefaultInstance(); + public com.google.cloud.contactcenterinsights.v1.ExportInsightsDataMetadata + getDefaultInstanceForType() { + return com.google.cloud.contactcenterinsights.v1.ExportInsightsDataMetadata + .getDefaultInstance(); } @java.lang.Override @@ -518,14 +585,18 @@ public com.google.cloud.contactcenterinsights.v1.ExportInsightsDataMetadata buil @java.lang.Override public com.google.cloud.contactcenterinsights.v1.ExportInsightsDataMetadata buildPartial() { - com.google.cloud.contactcenterinsights.v1.ExportInsightsDataMetadata result = new com.google.cloud.contactcenterinsights.v1.ExportInsightsDataMetadata(this); + com.google.cloud.contactcenterinsights.v1.ExportInsightsDataMetadata result = + new com.google.cloud.contactcenterinsights.v1.ExportInsightsDataMetadata(this); buildPartialRepeatedFields(result); - if (bitField0_ != 0) { buildPartial0(result); } + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } - private void buildPartialRepeatedFields(com.google.cloud.contactcenterinsights.v1.ExportInsightsDataMetadata result) { + private void buildPartialRepeatedFields( + com.google.cloud.contactcenterinsights.v1.ExportInsightsDataMetadata result) { if (partialErrorsBuilder_ == null) { if (((bitField0_ & 0x00000008) != 0)) { partialErrors_ = java.util.Collections.unmodifiableList(partialErrors_); @@ -537,22 +608,17 @@ private void buildPartialRepeatedFields(com.google.cloud.contactcenterinsights.v } } - private void buildPartial0(com.google.cloud.contactcenterinsights.v1.ExportInsightsDataMetadata result) { + private void buildPartial0( + com.google.cloud.contactcenterinsights.v1.ExportInsightsDataMetadata result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { - result.createTime_ = createTimeBuilder_ == null - ? createTime_ - : createTimeBuilder_.build(); + result.createTime_ = createTimeBuilder_ == null ? createTime_ : createTimeBuilder_.build(); } if (((from_bitField0_ & 0x00000002) != 0)) { - result.endTime_ = endTimeBuilder_ == null - ? endTime_ - : endTimeBuilder_.build(); + result.endTime_ = endTimeBuilder_ == null ? endTime_ : endTimeBuilder_.build(); } if (((from_bitField0_ & 0x00000004) != 0)) { - result.request_ = requestBuilder_ == null - ? request_ - : requestBuilder_.build(); + result.request_ = requestBuilder_ == null ? request_ : requestBuilder_.build(); } } @@ -560,46 +626,51 @@ private void buildPartial0(com.google.cloud.contactcenterinsights.v1.ExportInsig public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.contactcenterinsights.v1.ExportInsightsDataMetadata) { - return mergeFrom((com.google.cloud.contactcenterinsights.v1.ExportInsightsDataMetadata)other); + return mergeFrom( + (com.google.cloud.contactcenterinsights.v1.ExportInsightsDataMetadata) other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.google.cloud.contactcenterinsights.v1.ExportInsightsDataMetadata other) { - if (other == com.google.cloud.contactcenterinsights.v1.ExportInsightsDataMetadata.getDefaultInstance()) return this; + public Builder mergeFrom( + com.google.cloud.contactcenterinsights.v1.ExportInsightsDataMetadata other) { + if (other + == com.google.cloud.contactcenterinsights.v1.ExportInsightsDataMetadata + .getDefaultInstance()) return this; if (other.hasCreateTime()) { mergeCreateTime(other.getCreateTime()); } @@ -627,9 +698,10 @@ public Builder mergeFrom(com.google.cloud.contactcenterinsights.v1.ExportInsight partialErrorsBuilder_ = null; partialErrors_ = other.partialErrors_; bitField0_ = (bitField0_ & ~0x00000008); - partialErrorsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? - getPartialErrorsFieldBuilder() : null; + partialErrorsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders + ? getPartialErrorsFieldBuilder() + : null; } else { partialErrorsBuilder_.addAllMessages(other.partialErrors_); } @@ -661,46 +733,43 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - input.readMessage( - getCreateTimeFieldBuilder().getBuilder(), - extensionRegistry); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: { - input.readMessage( - getEndTimeFieldBuilder().getBuilder(), - extensionRegistry); - bitField0_ |= 0x00000002; - break; - } // case 18 - case 26: { - input.readMessage( - getRequestFieldBuilder().getBuilder(), - extensionRegistry); - bitField0_ |= 0x00000004; - break; - } // case 26 - case 34: { - com.google.rpc.Status m = - input.readMessage( - com.google.rpc.Status.parser(), - extensionRegistry); - if (partialErrorsBuilder_ == null) { - ensurePartialErrorsIsMutable(); - partialErrors_.add(m); - } else { - partialErrorsBuilder_.addMessage(m); - } - break; - } // case 34 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + input.readMessage(getCreateTimeFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: + { + input.readMessage(getEndTimeFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000002; + break; + } // case 18 + case 26: + { + input.readMessage(getRequestFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000004; + break; + } // case 26 + case 34: + { + com.google.rpc.Status m = + input.readMessage(com.google.rpc.Status.parser(), extensionRegistry); + if (partialErrorsBuilder_ == null) { + ensurePartialErrorsIsMutable(); + partialErrors_.add(m); + } else { + partialErrorsBuilder_.addMessage(m); + } + break; + } // case 34 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -710,43 +779,63 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private com.google.protobuf.Timestamp createTime_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> createTimeBuilder_; + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder> + createTimeBuilder_; /** + * + * *
      * Output only. The time the operation was created.
      * 
* - * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the createTime field is set. */ public boolean hasCreateTime() { return ((bitField0_ & 0x00000001) != 0); } /** + * + * *
      * Output only. The time the operation was created.
      * 
* - * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The createTime. */ public com.google.protobuf.Timestamp getCreateTime() { if (createTimeBuilder_ == null) { - return createTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : createTime_; + return createTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : createTime_; } else { return createTimeBuilder_.getMessage(); } } /** + * + * *
      * Output only. The time the operation was created.
      * 
* - * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder setCreateTime(com.google.protobuf.Timestamp value) { if (createTimeBuilder_ == null) { @@ -762,14 +851,17 @@ public Builder setCreateTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * Output only. The time the operation was created.
      * 
* - * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - public Builder setCreateTime( - com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setCreateTime(com.google.protobuf.Timestamp.Builder builderForValue) { if (createTimeBuilder_ == null) { createTime_ = builderForValue.build(); } else { @@ -780,17 +872,21 @@ public Builder setCreateTime( return this; } /** + * + * *
      * Output only. The time the operation was created.
      * 
* - * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder mergeCreateTime(com.google.protobuf.Timestamp value) { if (createTimeBuilder_ == null) { - if (((bitField0_ & 0x00000001) != 0) && - createTime_ != null && - createTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { + if (((bitField0_ & 0x00000001) != 0) + && createTime_ != null + && createTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { getCreateTimeBuilder().mergeFrom(value); } else { createTime_ = value; @@ -803,11 +899,15 @@ public Builder mergeCreateTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * Output only. The time the operation was created.
      * 
* - * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder clearCreateTime() { bitField0_ = (bitField0_ & ~0x00000001); @@ -820,11 +920,15 @@ public Builder clearCreateTime() { return this; } /** + * + * *
      * Output only. The time the operation was created.
      * 
* - * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public com.google.protobuf.Timestamp.Builder getCreateTimeBuilder() { bitField0_ |= 0x00000001; @@ -832,36 +936,48 @@ public com.google.protobuf.Timestamp.Builder getCreateTimeBuilder() { return getCreateTimeFieldBuilder().getBuilder(); } /** + * + * *
      * Output only. The time the operation was created.
      * 
* - * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { if (createTimeBuilder_ != null) { return createTimeBuilder_.getMessageOrBuilder(); } else { - return createTime_ == null ? - com.google.protobuf.Timestamp.getDefaultInstance() : createTime_; + return createTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : createTime_; } } /** + * + * *
      * Output only. The time the operation was created.
      * 
* - * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder> getCreateTimeFieldBuilder() { if (createTimeBuilder_ == null) { - createTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( - getCreateTime(), - getParentForChildren(), - isClean()); + createTimeBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder>( + getCreateTime(), getParentForChildren(), isClean()); createTime_ = null; } return createTimeBuilder_; @@ -869,24 +985,35 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { private com.google.protobuf.Timestamp endTime_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> endTimeBuilder_; + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder> + endTimeBuilder_; /** + * + * *
      * Output only. The time the operation finished running.
      * 
* - * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the endTime field is set. */ public boolean hasEndTime() { return ((bitField0_ & 0x00000002) != 0); } /** + * + * *
      * Output only. The time the operation finished running.
      * 
* - * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The endTime. */ public com.google.protobuf.Timestamp getEndTime() { @@ -897,11 +1024,14 @@ public com.google.protobuf.Timestamp getEndTime() { } } /** + * + * *
      * Output only. The time the operation finished running.
      * 
* - * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder setEndTime(com.google.protobuf.Timestamp value) { if (endTimeBuilder_ == null) { @@ -917,14 +1047,16 @@ public Builder setEndTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * Output only. The time the operation finished running.
      * 
* - * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - public Builder setEndTime( - com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setEndTime(com.google.protobuf.Timestamp.Builder builderForValue) { if (endTimeBuilder_ == null) { endTime_ = builderForValue.build(); } else { @@ -935,17 +1067,20 @@ public Builder setEndTime( return this; } /** + * + * *
      * Output only. The time the operation finished running.
      * 
* - * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder mergeEndTime(com.google.protobuf.Timestamp value) { if (endTimeBuilder_ == null) { - if (((bitField0_ & 0x00000002) != 0) && - endTime_ != null && - endTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { + if (((bitField0_ & 0x00000002) != 0) + && endTime_ != null + && endTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { getEndTimeBuilder().mergeFrom(value); } else { endTime_ = value; @@ -958,11 +1093,14 @@ public Builder mergeEndTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * Output only. The time the operation finished running.
      * 
* - * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder clearEndTime() { bitField0_ = (bitField0_ & ~0x00000002); @@ -975,11 +1113,14 @@ public Builder clearEndTime() { return this; } /** + * + * *
      * Output only. The time the operation finished running.
      * 
* - * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public com.google.protobuf.Timestamp.Builder getEndTimeBuilder() { bitField0_ |= 0x00000002; @@ -987,36 +1128,44 @@ public com.google.protobuf.Timestamp.Builder getEndTimeBuilder() { return getEndTimeFieldBuilder().getBuilder(); } /** + * + * *
      * Output only. The time the operation finished running.
      * 
* - * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder() { if (endTimeBuilder_ != null) { return endTimeBuilder_.getMessageOrBuilder(); } else { - return endTime_ == null ? - com.google.protobuf.Timestamp.getDefaultInstance() : endTime_; + return endTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : endTime_; } } /** + * + * *
      * Output only. The time the operation finished running.
      * 
* - * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder> getEndTimeFieldBuilder() { if (endTimeBuilder_ == null) { - endTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( - getEndTime(), - getParentForChildren(), - isClean()); + endTimeBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder>( + getEndTime(), getParentForChildren(), isClean()); endTime_ = null; } return endTimeBuilder_; @@ -1024,41 +1173,56 @@ public com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder() { private com.google.cloud.contactcenterinsights.v1.ExportInsightsDataRequest request_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.contactcenterinsights.v1.ExportInsightsDataRequest, com.google.cloud.contactcenterinsights.v1.ExportInsightsDataRequest.Builder, com.google.cloud.contactcenterinsights.v1.ExportInsightsDataRequestOrBuilder> requestBuilder_; + com.google.cloud.contactcenterinsights.v1.ExportInsightsDataRequest, + com.google.cloud.contactcenterinsights.v1.ExportInsightsDataRequest.Builder, + com.google.cloud.contactcenterinsights.v1.ExportInsightsDataRequestOrBuilder> + requestBuilder_; /** + * + * *
      * The original request for export.
      * 
* * .google.cloud.contactcenterinsights.v1.ExportInsightsDataRequest request = 3; + * * @return Whether the request field is set. */ public boolean hasRequest() { return ((bitField0_ & 0x00000004) != 0); } /** + * + * *
      * The original request for export.
      * 
* * .google.cloud.contactcenterinsights.v1.ExportInsightsDataRequest request = 3; + * * @return The request. */ public com.google.cloud.contactcenterinsights.v1.ExportInsightsDataRequest getRequest() { if (requestBuilder_ == null) { - return request_ == null ? com.google.cloud.contactcenterinsights.v1.ExportInsightsDataRequest.getDefaultInstance() : request_; + return request_ == null + ? com.google.cloud.contactcenterinsights.v1.ExportInsightsDataRequest + .getDefaultInstance() + : request_; } else { return requestBuilder_.getMessage(); } } /** + * + * *
      * The original request for export.
      * 
* * .google.cloud.contactcenterinsights.v1.ExportInsightsDataRequest request = 3; */ - public Builder setRequest(com.google.cloud.contactcenterinsights.v1.ExportInsightsDataRequest value) { + public Builder setRequest( + com.google.cloud.contactcenterinsights.v1.ExportInsightsDataRequest value) { if (requestBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -1072,6 +1236,8 @@ public Builder setRequest(com.google.cloud.contactcenterinsights.v1.ExportInsigh return this; } /** + * + * *
      * The original request for export.
      * 
@@ -1079,7 +1245,8 @@ public Builder setRequest(com.google.cloud.contactcenterinsights.v1.ExportInsigh * .google.cloud.contactcenterinsights.v1.ExportInsightsDataRequest request = 3; */ public Builder setRequest( - com.google.cloud.contactcenterinsights.v1.ExportInsightsDataRequest.Builder builderForValue) { + com.google.cloud.contactcenterinsights.v1.ExportInsightsDataRequest.Builder + builderForValue) { if (requestBuilder_ == null) { request_ = builderForValue.build(); } else { @@ -1090,17 +1257,22 @@ public Builder setRequest( return this; } /** + * + * *
      * The original request for export.
      * 
* * .google.cloud.contactcenterinsights.v1.ExportInsightsDataRequest request = 3; */ - public Builder mergeRequest(com.google.cloud.contactcenterinsights.v1.ExportInsightsDataRequest value) { + public Builder mergeRequest( + com.google.cloud.contactcenterinsights.v1.ExportInsightsDataRequest value) { if (requestBuilder_ == null) { - if (((bitField0_ & 0x00000004) != 0) && - request_ != null && - request_ != com.google.cloud.contactcenterinsights.v1.ExportInsightsDataRequest.getDefaultInstance()) { + if (((bitField0_ & 0x00000004) != 0) + && request_ != null + && request_ + != com.google.cloud.contactcenterinsights.v1.ExportInsightsDataRequest + .getDefaultInstance()) { getRequestBuilder().mergeFrom(value); } else { request_ = value; @@ -1113,6 +1285,8 @@ public Builder mergeRequest(com.google.cloud.contactcenterinsights.v1.ExportInsi return this; } /** + * + * *
      * The original request for export.
      * 
@@ -1130,33 +1304,43 @@ public Builder clearRequest() { return this; } /** + * + * *
      * The original request for export.
      * 
* * .google.cloud.contactcenterinsights.v1.ExportInsightsDataRequest request = 3; */ - public com.google.cloud.contactcenterinsights.v1.ExportInsightsDataRequest.Builder getRequestBuilder() { + public com.google.cloud.contactcenterinsights.v1.ExportInsightsDataRequest.Builder + getRequestBuilder() { bitField0_ |= 0x00000004; onChanged(); return getRequestFieldBuilder().getBuilder(); } /** + * + * *
      * The original request for export.
      * 
* * .google.cloud.contactcenterinsights.v1.ExportInsightsDataRequest request = 3; */ - public com.google.cloud.contactcenterinsights.v1.ExportInsightsDataRequestOrBuilder getRequestOrBuilder() { + public com.google.cloud.contactcenterinsights.v1.ExportInsightsDataRequestOrBuilder + getRequestOrBuilder() { if (requestBuilder_ != null) { return requestBuilder_.getMessageOrBuilder(); } else { - return request_ == null ? - com.google.cloud.contactcenterinsights.v1.ExportInsightsDataRequest.getDefaultInstance() : request_; + return request_ == null + ? com.google.cloud.contactcenterinsights.v1.ExportInsightsDataRequest + .getDefaultInstance() + : request_; } } /** + * + * *
      * The original request for export.
      * 
@@ -1164,32 +1348,39 @@ public com.google.cloud.contactcenterinsights.v1.ExportInsightsDataRequestOrBuil * .google.cloud.contactcenterinsights.v1.ExportInsightsDataRequest request = 3; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.contactcenterinsights.v1.ExportInsightsDataRequest, com.google.cloud.contactcenterinsights.v1.ExportInsightsDataRequest.Builder, com.google.cloud.contactcenterinsights.v1.ExportInsightsDataRequestOrBuilder> + com.google.cloud.contactcenterinsights.v1.ExportInsightsDataRequest, + com.google.cloud.contactcenterinsights.v1.ExportInsightsDataRequest.Builder, + com.google.cloud.contactcenterinsights.v1.ExportInsightsDataRequestOrBuilder> getRequestFieldBuilder() { if (requestBuilder_ == null) { - requestBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.contactcenterinsights.v1.ExportInsightsDataRequest, com.google.cloud.contactcenterinsights.v1.ExportInsightsDataRequest.Builder, com.google.cloud.contactcenterinsights.v1.ExportInsightsDataRequestOrBuilder>( - getRequest(), - getParentForChildren(), - isClean()); + requestBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.contactcenterinsights.v1.ExportInsightsDataRequest, + com.google.cloud.contactcenterinsights.v1.ExportInsightsDataRequest.Builder, + com.google.cloud.contactcenterinsights.v1.ExportInsightsDataRequestOrBuilder>( + getRequest(), getParentForChildren(), isClean()); request_ = null; } return requestBuilder_; } private java.util.List partialErrors_ = - java.util.Collections.emptyList(); + java.util.Collections.emptyList(); + private void ensurePartialErrorsIsMutable() { if (!((bitField0_ & 0x00000008) != 0)) { partialErrors_ = new java.util.ArrayList(partialErrors_); bitField0_ |= 0x00000008; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.rpc.Status, com.google.rpc.Status.Builder, com.google.rpc.StatusOrBuilder> partialErrorsBuilder_; + com.google.rpc.Status, com.google.rpc.Status.Builder, com.google.rpc.StatusOrBuilder> + partialErrorsBuilder_; /** + * + * *
      * Partial errors during export operation that might cause the operation
      * output to be incomplete.
@@ -1205,6 +1396,8 @@ public java.util.List getPartialErrorsList() {
       }
     }
     /**
+     *
+     *
      * 
      * Partial errors during export operation that might cause the operation
      * output to be incomplete.
@@ -1220,6 +1413,8 @@ public int getPartialErrorsCount() {
       }
     }
     /**
+     *
+     *
      * 
      * Partial errors during export operation that might cause the operation
      * output to be incomplete.
@@ -1235,6 +1430,8 @@ public com.google.rpc.Status getPartialErrors(int index) {
       }
     }
     /**
+     *
+     *
      * 
      * Partial errors during export operation that might cause the operation
      * output to be incomplete.
@@ -1242,8 +1439,7 @@ public com.google.rpc.Status getPartialErrors(int index) {
      *
      * repeated .google.rpc.Status partial_errors = 4;
      */
-    public Builder setPartialErrors(
-        int index, com.google.rpc.Status value) {
+    public Builder setPartialErrors(int index, com.google.rpc.Status value) {
       if (partialErrorsBuilder_ == null) {
         if (value == null) {
           throw new NullPointerException();
@@ -1257,6 +1453,8 @@ public Builder setPartialErrors(
       return this;
     }
     /**
+     *
+     *
      * 
      * Partial errors during export operation that might cause the operation
      * output to be incomplete.
@@ -1264,8 +1462,7 @@ public Builder setPartialErrors(
      *
      * repeated .google.rpc.Status partial_errors = 4;
      */
-    public Builder setPartialErrors(
-        int index, com.google.rpc.Status.Builder builderForValue) {
+    public Builder setPartialErrors(int index, com.google.rpc.Status.Builder builderForValue) {
       if (partialErrorsBuilder_ == null) {
         ensurePartialErrorsIsMutable();
         partialErrors_.set(index, builderForValue.build());
@@ -1276,6 +1473,8 @@ public Builder setPartialErrors(
       return this;
     }
     /**
+     *
+     *
      * 
      * Partial errors during export operation that might cause the operation
      * output to be incomplete.
@@ -1297,6 +1496,8 @@ public Builder addPartialErrors(com.google.rpc.Status value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * Partial errors during export operation that might cause the operation
      * output to be incomplete.
@@ -1304,8 +1505,7 @@ public Builder addPartialErrors(com.google.rpc.Status value) {
      *
      * repeated .google.rpc.Status partial_errors = 4;
      */
-    public Builder addPartialErrors(
-        int index, com.google.rpc.Status value) {
+    public Builder addPartialErrors(int index, com.google.rpc.Status value) {
       if (partialErrorsBuilder_ == null) {
         if (value == null) {
           throw new NullPointerException();
@@ -1319,6 +1519,8 @@ public Builder addPartialErrors(
       return this;
     }
     /**
+     *
+     *
      * 
      * Partial errors during export operation that might cause the operation
      * output to be incomplete.
@@ -1326,8 +1528,7 @@ public Builder addPartialErrors(
      *
      * repeated .google.rpc.Status partial_errors = 4;
      */
-    public Builder addPartialErrors(
-        com.google.rpc.Status.Builder builderForValue) {
+    public Builder addPartialErrors(com.google.rpc.Status.Builder builderForValue) {
       if (partialErrorsBuilder_ == null) {
         ensurePartialErrorsIsMutable();
         partialErrors_.add(builderForValue.build());
@@ -1338,6 +1539,8 @@ public Builder addPartialErrors(
       return this;
     }
     /**
+     *
+     *
      * 
      * Partial errors during export operation that might cause the operation
      * output to be incomplete.
@@ -1345,8 +1548,7 @@ public Builder addPartialErrors(
      *
      * repeated .google.rpc.Status partial_errors = 4;
      */
-    public Builder addPartialErrors(
-        int index, com.google.rpc.Status.Builder builderForValue) {
+    public Builder addPartialErrors(int index, com.google.rpc.Status.Builder builderForValue) {
       if (partialErrorsBuilder_ == null) {
         ensurePartialErrorsIsMutable();
         partialErrors_.add(index, builderForValue.build());
@@ -1357,6 +1559,8 @@ public Builder addPartialErrors(
       return this;
     }
     /**
+     *
+     *
      * 
      * Partial errors during export operation that might cause the operation
      * output to be incomplete.
@@ -1364,12 +1568,10 @@ public Builder addPartialErrors(
      *
      * repeated .google.rpc.Status partial_errors = 4;
      */
-    public Builder addAllPartialErrors(
-        java.lang.Iterable values) {
+    public Builder addAllPartialErrors(java.lang.Iterable values) {
       if (partialErrorsBuilder_ == null) {
         ensurePartialErrorsIsMutable();
-        com.google.protobuf.AbstractMessageLite.Builder.addAll(
-            values, partialErrors_);
+        com.google.protobuf.AbstractMessageLite.Builder.addAll(values, partialErrors_);
         onChanged();
       } else {
         partialErrorsBuilder_.addAllMessages(values);
@@ -1377,6 +1579,8 @@ public Builder addAllPartialErrors(
       return this;
     }
     /**
+     *
+     *
      * 
      * Partial errors during export operation that might cause the operation
      * output to be incomplete.
@@ -1395,6 +1599,8 @@ public Builder clearPartialErrors() {
       return this;
     }
     /**
+     *
+     *
      * 
      * Partial errors during export operation that might cause the operation
      * output to be incomplete.
@@ -1413,6 +1619,8 @@ public Builder removePartialErrors(int index) {
       return this;
     }
     /**
+     *
+     *
      * 
      * Partial errors during export operation that might cause the operation
      * output to be incomplete.
@@ -1420,11 +1628,12 @@ public Builder removePartialErrors(int index) {
      *
      * repeated .google.rpc.Status partial_errors = 4;
      */
-    public com.google.rpc.Status.Builder getPartialErrorsBuilder(
-        int index) {
+    public com.google.rpc.Status.Builder getPartialErrorsBuilder(int index) {
       return getPartialErrorsFieldBuilder().getBuilder(index);
     }
     /**
+     *
+     *
      * 
      * Partial errors during export operation that might cause the operation
      * output to be incomplete.
@@ -1432,14 +1641,16 @@ public com.google.rpc.Status.Builder getPartialErrorsBuilder(
      *
      * repeated .google.rpc.Status partial_errors = 4;
      */
-    public com.google.rpc.StatusOrBuilder getPartialErrorsOrBuilder(
-        int index) {
+    public com.google.rpc.StatusOrBuilder getPartialErrorsOrBuilder(int index) {
       if (partialErrorsBuilder_ == null) {
-        return partialErrors_.get(index);  } else {
+        return partialErrors_.get(index);
+      } else {
         return partialErrorsBuilder_.getMessageOrBuilder(index);
       }
     }
     /**
+     *
+     *
      * 
      * Partial errors during export operation that might cause the operation
      * output to be incomplete.
@@ -1447,8 +1658,8 @@ public com.google.rpc.StatusOrBuilder getPartialErrorsOrBuilder(
      *
      * repeated .google.rpc.Status partial_errors = 4;
      */
-    public java.util.List 
-         getPartialErrorsOrBuilderList() {
+    public java.util.List
+        getPartialErrorsOrBuilderList() {
       if (partialErrorsBuilder_ != null) {
         return partialErrorsBuilder_.getMessageOrBuilderList();
       } else {
@@ -1456,6 +1667,8 @@ public com.google.rpc.StatusOrBuilder getPartialErrorsOrBuilder(
       }
     }
     /**
+     *
+     *
      * 
      * Partial errors during export operation that might cause the operation
      * output to be incomplete.
@@ -1464,10 +1677,11 @@ public com.google.rpc.StatusOrBuilder getPartialErrorsOrBuilder(
      * repeated .google.rpc.Status partial_errors = 4;
      */
     public com.google.rpc.Status.Builder addPartialErrorsBuilder() {
-      return getPartialErrorsFieldBuilder().addBuilder(
-          com.google.rpc.Status.getDefaultInstance());
+      return getPartialErrorsFieldBuilder().addBuilder(com.google.rpc.Status.getDefaultInstance());
     }
     /**
+     *
+     *
      * 
      * Partial errors during export operation that might cause the operation
      * output to be incomplete.
@@ -1475,12 +1689,13 @@ public com.google.rpc.Status.Builder addPartialErrorsBuilder() {
      *
      * repeated .google.rpc.Status partial_errors = 4;
      */
-    public com.google.rpc.Status.Builder addPartialErrorsBuilder(
-        int index) {
-      return getPartialErrorsFieldBuilder().addBuilder(
-          index, com.google.rpc.Status.getDefaultInstance());
+    public com.google.rpc.Status.Builder addPartialErrorsBuilder(int index) {
+      return getPartialErrorsFieldBuilder()
+          .addBuilder(index, com.google.rpc.Status.getDefaultInstance());
     }
     /**
+     *
+     *
      * 
      * Partial errors during export operation that might cause the operation
      * output to be incomplete.
@@ -1488,16 +1703,19 @@ public com.google.rpc.Status.Builder addPartialErrorsBuilder(
      *
      * repeated .google.rpc.Status partial_errors = 4;
      */
-    public java.util.List 
-         getPartialErrorsBuilderList() {
+    public java.util.List getPartialErrorsBuilderList() {
       return getPartialErrorsFieldBuilder().getBuilderList();
     }
+
     private com.google.protobuf.RepeatedFieldBuilderV3<
-        com.google.rpc.Status, com.google.rpc.Status.Builder, com.google.rpc.StatusOrBuilder> 
+            com.google.rpc.Status, com.google.rpc.Status.Builder, com.google.rpc.StatusOrBuilder>
         getPartialErrorsFieldBuilder() {
       if (partialErrorsBuilder_ == null) {
-        partialErrorsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
-            com.google.rpc.Status, com.google.rpc.Status.Builder, com.google.rpc.StatusOrBuilder>(
+        partialErrorsBuilder_ =
+            new com.google.protobuf.RepeatedFieldBuilderV3<
+                com.google.rpc.Status,
+                com.google.rpc.Status.Builder,
+                com.google.rpc.StatusOrBuilder>(
                 partialErrors_,
                 ((bitField0_ & 0x00000008) != 0),
                 getParentForChildren(),
@@ -1506,9 +1724,9 @@ public com.google.rpc.Status.Builder addPartialErrorsBuilder(
       }
       return partialErrorsBuilder_;
     }
+
     @java.lang.Override
-    public final Builder setUnknownFields(
-        final com.google.protobuf.UnknownFieldSet unknownFields) {
+    public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) {
       return super.setUnknownFields(unknownFields);
     }
 
@@ -1518,41 +1736,43 @@ public final Builder mergeUnknownFields(
       return super.mergeUnknownFields(unknownFields);
     }
 
-
     // @@protoc_insertion_point(builder_scope:google.cloud.contactcenterinsights.v1.ExportInsightsDataMetadata)
   }
 
   // @@protoc_insertion_point(class_scope:google.cloud.contactcenterinsights.v1.ExportInsightsDataMetadata)
-  private static final com.google.cloud.contactcenterinsights.v1.ExportInsightsDataMetadata DEFAULT_INSTANCE;
+  private static final com.google.cloud.contactcenterinsights.v1.ExportInsightsDataMetadata
+      DEFAULT_INSTANCE;
+
   static {
     DEFAULT_INSTANCE = new com.google.cloud.contactcenterinsights.v1.ExportInsightsDataMetadata();
   }
 
-  public static com.google.cloud.contactcenterinsights.v1.ExportInsightsDataMetadata getDefaultInstance() {
+  public static com.google.cloud.contactcenterinsights.v1.ExportInsightsDataMetadata
+      getDefaultInstance() {
     return DEFAULT_INSTANCE;
   }
 
-  private static final com.google.protobuf.Parser
-      PARSER = new com.google.protobuf.AbstractParser() {
-    @java.lang.Override
-    public ExportInsightsDataMetadata parsePartialFrom(
-        com.google.protobuf.CodedInputStream input,
-        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-        throws com.google.protobuf.InvalidProtocolBufferException {
-      Builder builder = newBuilder();
-      try {
-        builder.mergeFrom(input, extensionRegistry);
-      } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-        throw e.setUnfinishedMessage(builder.buildPartial());
-      } catch (com.google.protobuf.UninitializedMessageException e) {
-        throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
-      } catch (java.io.IOException e) {
-        throw new com.google.protobuf.InvalidProtocolBufferException(e)
-            .setUnfinishedMessage(builder.buildPartial());
-      }
-      return builder.buildPartial();
-    }
-  };
+  private static final com.google.protobuf.Parser PARSER =
+      new com.google.protobuf.AbstractParser() {
+        @java.lang.Override
+        public ExportInsightsDataMetadata parsePartialFrom(
+            com.google.protobuf.CodedInputStream input,
+            com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+            throws com.google.protobuf.InvalidProtocolBufferException {
+          Builder builder = newBuilder();
+          try {
+            builder.mergeFrom(input, extensionRegistry);
+          } catch (com.google.protobuf.InvalidProtocolBufferException e) {
+            throw e.setUnfinishedMessage(builder.buildPartial());
+          } catch (com.google.protobuf.UninitializedMessageException e) {
+            throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
+          } catch (java.io.IOException e) {
+            throw new com.google.protobuf.InvalidProtocolBufferException(e)
+                .setUnfinishedMessage(builder.buildPartial());
+          }
+          return builder.buildPartial();
+        }
+      };
 
   public static com.google.protobuf.Parser parser() {
     return PARSER;
@@ -1564,9 +1784,8 @@ public com.google.protobuf.Parser getParserForType()
   }
 
   @java.lang.Override
-  public com.google.cloud.contactcenterinsights.v1.ExportInsightsDataMetadata getDefaultInstanceForType() {
+  public com.google.cloud.contactcenterinsights.v1.ExportInsightsDataMetadata
+      getDefaultInstanceForType() {
     return DEFAULT_INSTANCE;
   }
-
 }
-
diff --git a/owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ExportInsightsDataMetadataOrBuilder.java b/java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ExportInsightsDataMetadataOrBuilder.java
similarity index 72%
rename from owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ExportInsightsDataMetadataOrBuilder.java
rename to java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ExportInsightsDataMetadataOrBuilder.java
index 64ecfb1ae33c..f7975a42ddbe 100644
--- a/owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ExportInsightsDataMetadataOrBuilder.java
+++ b/java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ExportInsightsDataMetadataOrBuilder.java
@@ -1,94 +1,143 @@
+/*
+ * 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.
+ */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/cloud/contactcenterinsights/v1/contact_center_insights.proto
 
 package com.google.cloud.contactcenterinsights.v1;
 
-public interface ExportInsightsDataMetadataOrBuilder extends
+public interface ExportInsightsDataMetadataOrBuilder
+    extends
     // @@protoc_insertion_point(interface_extends:google.cloud.contactcenterinsights.v1.ExportInsightsDataMetadata)
     com.google.protobuf.MessageOrBuilder {
 
   /**
+   *
+   *
    * 
    * Output only. The time the operation was created.
    * 
* - * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the createTime field is set. */ boolean hasCreateTime(); /** + * + * *
    * Output only. The time the operation was created.
    * 
* - * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The createTime. */ com.google.protobuf.Timestamp getCreateTime(); /** + * + * *
    * Output only. The time the operation was created.
    * 
* - * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder(); /** + * + * *
    * Output only. The time the operation finished running.
    * 
* - * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the endTime field is set. */ boolean hasEndTime(); /** + * + * *
    * Output only. The time the operation finished running.
    * 
* - * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The endTime. */ com.google.protobuf.Timestamp getEndTime(); /** + * + * *
    * Output only. The time the operation finished running.
    * 
* - * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder(); /** + * + * *
    * The original request for export.
    * 
* * .google.cloud.contactcenterinsights.v1.ExportInsightsDataRequest request = 3; + * * @return Whether the request field is set. */ boolean hasRequest(); /** + * + * *
    * The original request for export.
    * 
* * .google.cloud.contactcenterinsights.v1.ExportInsightsDataRequest request = 3; + * * @return The request. */ com.google.cloud.contactcenterinsights.v1.ExportInsightsDataRequest getRequest(); /** + * + * *
    * The original request for export.
    * 
* * .google.cloud.contactcenterinsights.v1.ExportInsightsDataRequest request = 3; */ - com.google.cloud.contactcenterinsights.v1.ExportInsightsDataRequestOrBuilder getRequestOrBuilder(); + com.google.cloud.contactcenterinsights.v1.ExportInsightsDataRequestOrBuilder + getRequestOrBuilder(); /** + * + * *
    * Partial errors during export operation that might cause the operation
    * output to be incomplete.
@@ -96,9 +145,10 @@ public interface ExportInsightsDataMetadataOrBuilder extends
    *
    * repeated .google.rpc.Status partial_errors = 4;
    */
-  java.util.List 
-      getPartialErrorsList();
+  java.util.List getPartialErrorsList();
   /**
+   *
+   *
    * 
    * Partial errors during export operation that might cause the operation
    * output to be incomplete.
@@ -108,6 +158,8 @@ public interface ExportInsightsDataMetadataOrBuilder extends
    */
   com.google.rpc.Status getPartialErrors(int index);
   /**
+   *
+   *
    * 
    * Partial errors during export operation that might cause the operation
    * output to be incomplete.
@@ -117,6 +169,8 @@ public interface ExportInsightsDataMetadataOrBuilder extends
    */
   int getPartialErrorsCount();
   /**
+   *
+   *
    * 
    * Partial errors during export operation that might cause the operation
    * output to be incomplete.
@@ -124,9 +178,10 @@ public interface ExportInsightsDataMetadataOrBuilder extends
    *
    * repeated .google.rpc.Status partial_errors = 4;
    */
-  java.util.List 
-      getPartialErrorsOrBuilderList();
+  java.util.List getPartialErrorsOrBuilderList();
   /**
+   *
+   *
    * 
    * Partial errors during export operation that might cause the operation
    * output to be incomplete.
@@ -134,6 +189,5 @@ public interface ExportInsightsDataMetadataOrBuilder extends
    *
    * repeated .google.rpc.Status partial_errors = 4;
    */
-  com.google.rpc.StatusOrBuilder getPartialErrorsOrBuilder(
-      int index);
+  com.google.rpc.StatusOrBuilder getPartialErrorsOrBuilder(int index);
 }
diff --git a/owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ExportInsightsDataRequest.java b/java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ExportInsightsDataRequest.java
similarity index 63%
rename from owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ExportInsightsDataRequest.java
rename to java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ExportInsightsDataRequest.java
index 2e5b721ad1fb..cd4ebfa13e66 100644
--- a/owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ExportInsightsDataRequest.java
+++ b/java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ExportInsightsDataRequest.java
@@ -1,24 +1,42 @@
+/*
+ * 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.
+ */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/cloud/contactcenterinsights/v1/contact_center_insights.proto
 
 package com.google.cloud.contactcenterinsights.v1;
 
 /**
+ *
+ *
  * 
  * The request to export insights.
  * 
* * Protobuf type {@code google.cloud.contactcenterinsights.v1.ExportInsightsDataRequest} */ -public final class ExportInsightsDataRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class ExportInsightsDataRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.contactcenterinsights.v1.ExportInsightsDataRequest) ExportInsightsDataRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use ExportInsightsDataRequest.newBuilder() to construct. private ExportInsightsDataRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private ExportInsightsDataRequest() { parent_ = ""; filter_ = ""; @@ -28,39 +46,44 @@ private ExportInsightsDataRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ExportInsightsDataRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto.internal_static_google_cloud_contactcenterinsights_v1_ExportInsightsDataRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto + .internal_static_google_cloud_contactcenterinsights_v1_ExportInsightsDataRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto.internal_static_google_cloud_contactcenterinsights_v1_ExportInsightsDataRequest_fieldAccessorTable + return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto + .internal_static_google_cloud_contactcenterinsights_v1_ExportInsightsDataRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.contactcenterinsights.v1.ExportInsightsDataRequest.class, com.google.cloud.contactcenterinsights.v1.ExportInsightsDataRequest.Builder.class); + com.google.cloud.contactcenterinsights.v1.ExportInsightsDataRequest.class, + com.google.cloud.contactcenterinsights.v1.ExportInsightsDataRequest.Builder.class); } /** + * + * *
    * Specifies the action that occurs if the destination table already exists.
    * 
* - * Protobuf enum {@code google.cloud.contactcenterinsights.v1.ExportInsightsDataRequest.WriteDisposition} + * Protobuf enum {@code + * google.cloud.contactcenterinsights.v1.ExportInsightsDataRequest.WriteDisposition} */ - public enum WriteDisposition - implements com.google.protobuf.ProtocolMessageEnum { + public enum WriteDisposition implements com.google.protobuf.ProtocolMessageEnum { /** + * + * *
      * Write disposition is not specified. Defaults to WRITE_TRUNCATE.
      * 
@@ -69,6 +92,8 @@ public enum WriteDisposition */ WRITE_DISPOSITION_UNSPECIFIED(0), /** + * + * *
      * If the table already exists, BigQuery will overwrite the table data and
      * use the schema from the load.
@@ -78,6 +103,8 @@ public enum WriteDisposition
      */
     WRITE_TRUNCATE(1),
     /**
+     *
+     *
      * 
      * If the table already exists, BigQuery will append data to the table.
      * 
@@ -89,6 +116,8 @@ public enum WriteDisposition ; /** + * + * *
      * Write disposition is not specified. Defaults to WRITE_TRUNCATE.
      * 
@@ -97,6 +126,8 @@ public enum WriteDisposition */ public static final int WRITE_DISPOSITION_UNSPECIFIED_VALUE = 0; /** + * + * *
      * If the table already exists, BigQuery will overwrite the table data and
      * use the schema from the load.
@@ -106,6 +137,8 @@ public enum WriteDisposition
      */
     public static final int WRITE_TRUNCATE_VALUE = 1;
     /**
+     *
+     *
      * 
      * If the table already exists, BigQuery will append data to the table.
      * 
@@ -114,7 +147,6 @@ public enum WriteDisposition */ public static final int WRITE_APPEND_VALUE = 2; - public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -139,40 +171,45 @@ public static WriteDisposition valueOf(int value) { */ public static WriteDisposition forNumber(int value) { switch (value) { - case 0: return WRITE_DISPOSITION_UNSPECIFIED; - case 1: return WRITE_TRUNCATE; - case 2: return WRITE_APPEND; - default: return null; + case 0: + return WRITE_DISPOSITION_UNSPECIFIED; + case 1: + return WRITE_TRUNCATE; + case 2: + return WRITE_APPEND; + default: + return null; } } - public static com.google.protobuf.Internal.EnumLiteMap - internalGetValueMap() { + public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() { return internalValueMap; } - private static final com.google.protobuf.Internal.EnumLiteMap< - WriteDisposition> internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public WriteDisposition findValueByNumber(int number) { - return WriteDisposition.forNumber(number); - } - }; - public final com.google.protobuf.Descriptors.EnumValueDescriptor - getValueDescriptor() { + private static final com.google.protobuf.Internal.EnumLiteMap + internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public WriteDisposition findValueByNumber(int number) { + return WriteDisposition.forNumber(number); + } + }; + + public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalStateException( "Can't get the descriptor of an unrecognized enum value."); } return getDescriptor().getValues().get(ordinal()); } - public final com.google.protobuf.Descriptors.EnumDescriptor - getDescriptorForType() { + + public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() { return getDescriptor(); } - public static final com.google.protobuf.Descriptors.EnumDescriptor - getDescriptor() { - return com.google.cloud.contactcenterinsights.v1.ExportInsightsDataRequest.getDescriptor().getEnumTypes().get(0); + + public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { + return com.google.cloud.contactcenterinsights.v1.ExportInsightsDataRequest.getDescriptor() + .getEnumTypes() + .get(0); } private static final WriteDisposition[] VALUES = values(); @@ -180,8 +217,7 @@ public WriteDisposition findValueByNumber(int number) { public static WriteDisposition valueOf( com.google.protobuf.Descriptors.EnumValueDescriptor desc) { if (desc.getType() != getDescriptor()) { - throw new java.lang.IllegalArgumentException( - "EnumValueDescriptor is not for this type."); + throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type."); } if (desc.getIndex() == -1) { return UNRECOGNIZED; @@ -198,11 +234,14 @@ private WriteDisposition(int value) { // @@protoc_insertion_point(enum_scope:google.cloud.contactcenterinsights.v1.ExportInsightsDataRequest.WriteDisposition) } - public interface BigQueryDestinationOrBuilder extends + public interface BigQueryDestinationOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.contactcenterinsights.v1.ExportInsightsDataRequest.BigQueryDestination) com.google.protobuf.MessageOrBuilder { /** + * + * *
      * A project ID or number. If specified, then export will attempt to
      * write data to this project instead of the resource project. Otherwise,
@@ -210,10 +249,13 @@ public interface BigQueryDestinationOrBuilder extends
      * 
* * string project_id = 3; + * * @return The projectId. */ java.lang.String getProjectId(); /** + * + * *
      * A project ID or number. If specified, then export will attempt to
      * write data to this project instead of the resource project. Otherwise,
@@ -221,12 +263,14 @@ public interface BigQueryDestinationOrBuilder extends
      * 
* * string project_id = 3; + * * @return The bytes for projectId. */ - com.google.protobuf.ByteString - getProjectIdBytes(); + com.google.protobuf.ByteString getProjectIdBytes(); /** + * + * *
      * Required. The name of the BigQuery dataset that the snapshot result
      * should be exported to. If this dataset does not exist, the export call
@@ -234,10 +278,13 @@ public interface BigQueryDestinationOrBuilder extends
      * 
* * string dataset = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The dataset. */ java.lang.String getDataset(); /** + * + * *
      * Required. The name of the BigQuery dataset that the snapshot result
      * should be exported to. If this dataset does not exist, the export call
@@ -245,12 +292,14 @@ public interface BigQueryDestinationOrBuilder extends
      * 
* * string dataset = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for dataset. */ - com.google.protobuf.ByteString - getDatasetBytes(); + com.google.protobuf.ByteString getDatasetBytes(); /** + * + * *
      * The BigQuery table name to which the insights data should be written.
      * If this table does not exist, the export call returns an INVALID_ARGUMENT
@@ -258,10 +307,13 @@ public interface BigQueryDestinationOrBuilder extends
      * 
* * string table = 2; + * * @return The table. */ java.lang.String getTable(); /** + * + * *
      * The BigQuery table name to which the insights data should be written.
      * If this table does not exist, the export call returns an INVALID_ARGUMENT
@@ -269,27 +321,31 @@ public interface BigQueryDestinationOrBuilder extends
      * 
* * string table = 2; + * * @return The bytes for table. */ - com.google.protobuf.ByteString - getTableBytes(); + com.google.protobuf.ByteString getTableBytes(); } /** + * + * *
    * A BigQuery Table Reference.
    * 
* - * Protobuf type {@code google.cloud.contactcenterinsights.v1.ExportInsightsDataRequest.BigQueryDestination} + * Protobuf type {@code + * google.cloud.contactcenterinsights.v1.ExportInsightsDataRequest.BigQueryDestination} */ - public static final class BigQueryDestination extends - com.google.protobuf.GeneratedMessageV3 implements + public static final class BigQueryDestination extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.contactcenterinsights.v1.ExportInsightsDataRequest.BigQueryDestination) BigQueryDestinationOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use BigQueryDestination.newBuilder() to construct. private BigQueryDestination(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private BigQueryDestination() { projectId_ = ""; dataset_ = ""; @@ -298,33 +354,39 @@ private BigQueryDestination() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new BigQueryDestination(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto.internal_static_google_cloud_contactcenterinsights_v1_ExportInsightsDataRequest_BigQueryDestination_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto + .internal_static_google_cloud_contactcenterinsights_v1_ExportInsightsDataRequest_BigQueryDestination_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto.internal_static_google_cloud_contactcenterinsights_v1_ExportInsightsDataRequest_BigQueryDestination_fieldAccessorTable + return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto + .internal_static_google_cloud_contactcenterinsights_v1_ExportInsightsDataRequest_BigQueryDestination_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.contactcenterinsights.v1.ExportInsightsDataRequest.BigQueryDestination.class, com.google.cloud.contactcenterinsights.v1.ExportInsightsDataRequest.BigQueryDestination.Builder.class); + com.google.cloud.contactcenterinsights.v1.ExportInsightsDataRequest + .BigQueryDestination.class, + com.google.cloud.contactcenterinsights.v1.ExportInsightsDataRequest + .BigQueryDestination.Builder.class); } public static final int PROJECT_ID_FIELD_NUMBER = 3; + @SuppressWarnings("serial") private volatile java.lang.Object projectId_ = ""; /** + * + * *
      * A project ID or number. If specified, then export will attempt to
      * write data to this project instead of the resource project. Otherwise,
@@ -332,6 +394,7 @@ protected java.lang.Object newInstance(
      * 
* * string project_id = 3; + * * @return The projectId. */ @java.lang.Override @@ -340,14 +403,15 @@ public java.lang.String getProjectId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); projectId_ = s; return s; } } /** + * + * *
      * A project ID or number. If specified, then export will attempt to
      * write data to this project instead of the resource project. Otherwise,
@@ -355,16 +419,15 @@ public java.lang.String getProjectId() {
      * 
* * string project_id = 3; + * * @return The bytes for projectId. */ @java.lang.Override - public com.google.protobuf.ByteString - getProjectIdBytes() { + public com.google.protobuf.ByteString getProjectIdBytes() { java.lang.Object ref = projectId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); projectId_ = b; return b; } else { @@ -373,9 +436,12 @@ public java.lang.String getProjectId() { } public static final int DATASET_FIELD_NUMBER = 1; + @SuppressWarnings("serial") private volatile java.lang.Object dataset_ = ""; /** + * + * *
      * Required. The name of the BigQuery dataset that the snapshot result
      * should be exported to. If this dataset does not exist, the export call
@@ -383,6 +449,7 @@ public java.lang.String getProjectId() {
      * 
* * string dataset = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The dataset. */ @java.lang.Override @@ -391,14 +458,15 @@ public java.lang.String getDataset() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); dataset_ = s; return s; } } /** + * + * *
      * Required. The name of the BigQuery dataset that the snapshot result
      * should be exported to. If this dataset does not exist, the export call
@@ -406,16 +474,15 @@ public java.lang.String getDataset() {
      * 
* * string dataset = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for dataset. */ @java.lang.Override - public com.google.protobuf.ByteString - getDatasetBytes() { + public com.google.protobuf.ByteString getDatasetBytes() { java.lang.Object ref = dataset_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); dataset_ = b; return b; } else { @@ -424,9 +491,12 @@ public java.lang.String getDataset() { } public static final int TABLE_FIELD_NUMBER = 2; + @SuppressWarnings("serial") private volatile java.lang.Object table_ = ""; /** + * + * *
      * The BigQuery table name to which the insights data should be written.
      * If this table does not exist, the export call returns an INVALID_ARGUMENT
@@ -434,6 +504,7 @@ public java.lang.String getDataset() {
      * 
* * string table = 2; + * * @return The table. */ @java.lang.Override @@ -442,14 +513,15 @@ public java.lang.String getTable() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); table_ = s; return s; } } /** + * + * *
      * The BigQuery table name to which the insights data should be written.
      * If this table does not exist, the export call returns an INVALID_ARGUMENT
@@ -457,16 +529,15 @@ public java.lang.String getTable() {
      * 
* * string table = 2; + * * @return The bytes for table. */ @java.lang.Override - public com.google.protobuf.ByteString - getTableBytes() { + public com.google.protobuf.ByteString getTableBytes() { java.lang.Object ref = table_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); table_ = b; return b; } else { @@ -475,6 +546,7 @@ public java.lang.String getTable() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -486,8 +558,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(dataset_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, dataset_); } @@ -523,19 +594,23 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } - if (!(obj instanceof com.google.cloud.contactcenterinsights.v1.ExportInsightsDataRequest.BigQueryDestination)) { + if (!(obj + instanceof + com.google.cloud.contactcenterinsights.v1.ExportInsightsDataRequest + .BigQueryDestination)) { return super.equals(obj); } - com.google.cloud.contactcenterinsights.v1.ExportInsightsDataRequest.BigQueryDestination other = (com.google.cloud.contactcenterinsights.v1.ExportInsightsDataRequest.BigQueryDestination) obj; + com.google.cloud.contactcenterinsights.v1.ExportInsightsDataRequest.BigQueryDestination + other = + (com.google.cloud.contactcenterinsights.v1.ExportInsightsDataRequest + .BigQueryDestination) + obj; - if (!getProjectId() - .equals(other.getProjectId())) return false; - if (!getDataset() - .equals(other.getDataset())) return false; - if (!getTable() - .equals(other.getTable())) return false; + if (!getProjectId().equals(other.getProjectId())) return false; + if (!getDataset().equals(other.getDataset())) return false; + if (!getTable().equals(other.getTable())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -558,88 +633,114 @@ public int hashCode() { return hash; } - public static com.google.cloud.contactcenterinsights.v1.ExportInsightsDataRequest.BigQueryDestination parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.contactcenterinsights.v1.ExportInsightsDataRequest + .BigQueryDestination + parseFrom(java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.contactcenterinsights.v1.ExportInsightsDataRequest.BigQueryDestination parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.contactcenterinsights.v1.ExportInsightsDataRequest + .BigQueryDestination + parseFrom( + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.contactcenterinsights.v1.ExportInsightsDataRequest.BigQueryDestination parseFrom( - com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.contactcenterinsights.v1.ExportInsightsDataRequest + .BigQueryDestination + parseFrom(com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.contactcenterinsights.v1.ExportInsightsDataRequest.BigQueryDestination parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.contactcenterinsights.v1.ExportInsightsDataRequest + .BigQueryDestination + parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.contactcenterinsights.v1.ExportInsightsDataRequest.BigQueryDestination parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.contactcenterinsights.v1.ExportInsightsDataRequest + .BigQueryDestination + parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.contactcenterinsights.v1.ExportInsightsDataRequest.BigQueryDestination parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.contactcenterinsights.v1.ExportInsightsDataRequest + .BigQueryDestination + parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.contactcenterinsights.v1.ExportInsightsDataRequest.BigQueryDestination parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.contactcenterinsights.v1.ExportInsightsDataRequest + .BigQueryDestination + parseFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } - public static com.google.cloud.contactcenterinsights.v1.ExportInsightsDataRequest.BigQueryDestination parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + + public static com.google.cloud.contactcenterinsights.v1.ExportInsightsDataRequest + .BigQueryDestination + parseFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.contactcenterinsights.v1.ExportInsightsDataRequest.BigQueryDestination parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.contactcenterinsights.v1.ExportInsightsDataRequest + .BigQueryDestination + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.contactcenterinsights.v1.ExportInsightsDataRequest.BigQueryDestination parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + + public static com.google.cloud.contactcenterinsights.v1.ExportInsightsDataRequest + .BigQueryDestination + parseDelimitedFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.contactcenterinsights.v1.ExportInsightsDataRequest.BigQueryDestination parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.contactcenterinsights.v1.ExportInsightsDataRequest + .BigQueryDestination + parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } - public static com.google.cloud.contactcenterinsights.v1.ExportInsightsDataRequest.BigQueryDestination parseFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + + public static com.google.cloud.contactcenterinsights.v1.ExportInsightsDataRequest + .BigQueryDestination + parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.contactcenterinsights.v1.ExportInsightsDataRequest.BigQueryDestination prototype) { + + public static Builder newBuilder( + com.google.cloud.contactcenterinsights.v1.ExportInsightsDataRequest.BigQueryDestination + prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -649,39 +750,46 @@ protected Builder newBuilderForType( return builder; } /** + * + * *
      * A BigQuery Table Reference.
      * 
* - * Protobuf type {@code google.cloud.contactcenterinsights.v1.ExportInsightsDataRequest.BigQueryDestination} + * Protobuf type {@code + * google.cloud.contactcenterinsights.v1.ExportInsightsDataRequest.BigQueryDestination} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder + extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.contactcenterinsights.v1.ExportInsightsDataRequest.BigQueryDestination) - com.google.cloud.contactcenterinsights.v1.ExportInsightsDataRequest.BigQueryDestinationOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto.internal_static_google_cloud_contactcenterinsights_v1_ExportInsightsDataRequest_BigQueryDestination_descriptor; + com.google.cloud.contactcenterinsights.v1.ExportInsightsDataRequest + .BigQueryDestinationOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto + .internal_static_google_cloud_contactcenterinsights_v1_ExportInsightsDataRequest_BigQueryDestination_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto.internal_static_google_cloud_contactcenterinsights_v1_ExportInsightsDataRequest_BigQueryDestination_fieldAccessorTable + return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto + .internal_static_google_cloud_contactcenterinsights_v1_ExportInsightsDataRequest_BigQueryDestination_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.contactcenterinsights.v1.ExportInsightsDataRequest.BigQueryDestination.class, com.google.cloud.contactcenterinsights.v1.ExportInsightsDataRequest.BigQueryDestination.Builder.class); + com.google.cloud.contactcenterinsights.v1.ExportInsightsDataRequest + .BigQueryDestination.class, + com.google.cloud.contactcenterinsights.v1.ExportInsightsDataRequest + .BigQueryDestination.Builder.class); } - // Construct using com.google.cloud.contactcenterinsights.v1.ExportInsightsDataRequest.BigQueryDestination.newBuilder() - private Builder() { - - } + // Construct using + // com.google.cloud.contactcenterinsights.v1.ExportInsightsDataRequest.BigQueryDestination.newBuilder() + private Builder() {} - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -693,19 +801,23 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto.internal_static_google_cloud_contactcenterinsights_v1_ExportInsightsDataRequest_BigQueryDestination_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto + .internal_static_google_cloud_contactcenterinsights_v1_ExportInsightsDataRequest_BigQueryDestination_descriptor; } @java.lang.Override - public com.google.cloud.contactcenterinsights.v1.ExportInsightsDataRequest.BigQueryDestination getDefaultInstanceForType() { - return com.google.cloud.contactcenterinsights.v1.ExportInsightsDataRequest.BigQueryDestination.getDefaultInstance(); + public com.google.cloud.contactcenterinsights.v1.ExportInsightsDataRequest.BigQueryDestination + getDefaultInstanceForType() { + return com.google.cloud.contactcenterinsights.v1.ExportInsightsDataRequest + .BigQueryDestination.getDefaultInstance(); } @java.lang.Override - public com.google.cloud.contactcenterinsights.v1.ExportInsightsDataRequest.BigQueryDestination build() { - com.google.cloud.contactcenterinsights.v1.ExportInsightsDataRequest.BigQueryDestination result = buildPartial(); + public com.google.cloud.contactcenterinsights.v1.ExportInsightsDataRequest.BigQueryDestination + build() { + com.google.cloud.contactcenterinsights.v1.ExportInsightsDataRequest.BigQueryDestination + result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } @@ -713,14 +825,22 @@ public com.google.cloud.contactcenterinsights.v1.ExportInsightsDataRequest.BigQu } @java.lang.Override - public com.google.cloud.contactcenterinsights.v1.ExportInsightsDataRequest.BigQueryDestination buildPartial() { - com.google.cloud.contactcenterinsights.v1.ExportInsightsDataRequest.BigQueryDestination result = new com.google.cloud.contactcenterinsights.v1.ExportInsightsDataRequest.BigQueryDestination(this); - if (bitField0_ != 0) { buildPartial0(result); } + public com.google.cloud.contactcenterinsights.v1.ExportInsightsDataRequest.BigQueryDestination + buildPartial() { + com.google.cloud.contactcenterinsights.v1.ExportInsightsDataRequest.BigQueryDestination + result = + new com.google.cloud.contactcenterinsights.v1.ExportInsightsDataRequest + .BigQueryDestination(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } - private void buildPartial0(com.google.cloud.contactcenterinsights.v1.ExportInsightsDataRequest.BigQueryDestination result) { + private void buildPartial0( + com.google.cloud.contactcenterinsights.v1.ExportInsightsDataRequest.BigQueryDestination + result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { result.projectId_ = projectId_; @@ -737,46 +857,59 @@ private void buildPartial0(com.google.cloud.contactcenterinsights.v1.ExportInsig public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + int index, + java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { - if (other instanceof com.google.cloud.contactcenterinsights.v1.ExportInsightsDataRequest.BigQueryDestination) { - return mergeFrom((com.google.cloud.contactcenterinsights.v1.ExportInsightsDataRequest.BigQueryDestination)other); + if (other + instanceof + com.google.cloud.contactcenterinsights.v1.ExportInsightsDataRequest + .BigQueryDestination) { + return mergeFrom( + (com.google.cloud.contactcenterinsights.v1.ExportInsightsDataRequest + .BigQueryDestination) + other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.google.cloud.contactcenterinsights.v1.ExportInsightsDataRequest.BigQueryDestination other) { - if (other == com.google.cloud.contactcenterinsights.v1.ExportInsightsDataRequest.BigQueryDestination.getDefaultInstance()) return this; + public Builder mergeFrom( + com.google.cloud.contactcenterinsights.v1.ExportInsightsDataRequest.BigQueryDestination + other) { + if (other + == com.google.cloud.contactcenterinsights.v1.ExportInsightsDataRequest + .BigQueryDestination.getDefaultInstance()) return this; if (!other.getProjectId().isEmpty()) { projectId_ = other.projectId_; bitField0_ |= 0x00000001; @@ -818,27 +951,31 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - dataset_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000002; - break; - } // case 10 - case 18: { - table_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000004; - break; - } // case 18 - case 26: { - projectId_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 26 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + dataset_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + break; + } // case 10 + case 18: + { + table_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000004; + break; + } // case 18 + case 26: + { + projectId_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 26 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -848,10 +985,13 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private java.lang.Object projectId_ = ""; /** + * + * *
        * A project ID or number. If specified, then export will attempt to
        * write data to this project instead of the resource project. Otherwise,
@@ -859,13 +999,13 @@ public Builder mergeFrom(
        * 
* * string project_id = 3; + * * @return The projectId. */ public java.lang.String getProjectId() { java.lang.Object ref = projectId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); projectId_ = s; return s; @@ -874,6 +1014,8 @@ public java.lang.String getProjectId() { } } /** + * + * *
        * A project ID or number. If specified, then export will attempt to
        * write data to this project instead of the resource project. Otherwise,
@@ -881,15 +1023,14 @@ public java.lang.String getProjectId() {
        * 
* * string project_id = 3; + * * @return The bytes for projectId. */ - public com.google.protobuf.ByteString - getProjectIdBytes() { + public com.google.protobuf.ByteString getProjectIdBytes() { java.lang.Object ref = projectId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); projectId_ = b; return b; } else { @@ -897,6 +1038,8 @@ public java.lang.String getProjectId() { } } /** + * + * *
        * A project ID or number. If specified, then export will attempt to
        * write data to this project instead of the resource project. Otherwise,
@@ -904,18 +1047,22 @@ public java.lang.String getProjectId() {
        * 
* * string project_id = 3; + * * @param value The projectId to set. * @return This builder for chaining. */ - public Builder setProjectId( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setProjectId(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } projectId_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
        * A project ID or number. If specified, then export will attempt to
        * write data to this project instead of the resource project. Otherwise,
@@ -923,6 +1070,7 @@ public Builder setProjectId(
        * 
* * string project_id = 3; + * * @return This builder for chaining. */ public Builder clearProjectId() { @@ -932,6 +1080,8 @@ public Builder clearProjectId() { return this; } /** + * + * *
        * A project ID or number. If specified, then export will attempt to
        * write data to this project instead of the resource project. Otherwise,
@@ -939,12 +1089,14 @@ public Builder clearProjectId() {
        * 
* * string project_id = 3; + * * @param value The bytes for projectId to set. * @return This builder for chaining. */ - public Builder setProjectIdBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setProjectIdBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); projectId_ = value; bitField0_ |= 0x00000001; @@ -954,6 +1106,8 @@ public Builder setProjectIdBytes( private java.lang.Object dataset_ = ""; /** + * + * *
        * Required. The name of the BigQuery dataset that the snapshot result
        * should be exported to. If this dataset does not exist, the export call
@@ -961,13 +1115,13 @@ public Builder setProjectIdBytes(
        * 
* * string dataset = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The dataset. */ public java.lang.String getDataset() { java.lang.Object ref = dataset_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); dataset_ = s; return s; @@ -976,6 +1130,8 @@ public java.lang.String getDataset() { } } /** + * + * *
        * Required. The name of the BigQuery dataset that the snapshot result
        * should be exported to. If this dataset does not exist, the export call
@@ -983,15 +1139,14 @@ public java.lang.String getDataset() {
        * 
* * string dataset = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for dataset. */ - public com.google.protobuf.ByteString - getDatasetBytes() { + public com.google.protobuf.ByteString getDatasetBytes() { java.lang.Object ref = dataset_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); dataset_ = b; return b; } else { @@ -999,6 +1154,8 @@ public java.lang.String getDataset() { } } /** + * + * *
        * Required. The name of the BigQuery dataset that the snapshot result
        * should be exported to. If this dataset does not exist, the export call
@@ -1006,18 +1163,22 @@ public java.lang.String getDataset() {
        * 
* * string dataset = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The dataset to set. * @return This builder for chaining. */ - public Builder setDataset( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setDataset(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } dataset_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** + * + * *
        * Required. The name of the BigQuery dataset that the snapshot result
        * should be exported to. If this dataset does not exist, the export call
@@ -1025,6 +1186,7 @@ public Builder setDataset(
        * 
* * string dataset = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return This builder for chaining. */ public Builder clearDataset() { @@ -1034,6 +1196,8 @@ public Builder clearDataset() { return this; } /** + * + * *
        * Required. The name of the BigQuery dataset that the snapshot result
        * should be exported to. If this dataset does not exist, the export call
@@ -1041,12 +1205,14 @@ public Builder clearDataset() {
        * 
* * string dataset = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The bytes for dataset to set. * @return This builder for chaining. */ - public Builder setDatasetBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setDatasetBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); dataset_ = value; bitField0_ |= 0x00000002; @@ -1056,6 +1222,8 @@ public Builder setDatasetBytes( private java.lang.Object table_ = ""; /** + * + * *
        * The BigQuery table name to which the insights data should be written.
        * If this table does not exist, the export call returns an INVALID_ARGUMENT
@@ -1063,13 +1231,13 @@ public Builder setDatasetBytes(
        * 
* * string table = 2; + * * @return The table. */ public java.lang.String getTable() { java.lang.Object ref = table_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); table_ = s; return s; @@ -1078,6 +1246,8 @@ public java.lang.String getTable() { } } /** + * + * *
        * The BigQuery table name to which the insights data should be written.
        * If this table does not exist, the export call returns an INVALID_ARGUMENT
@@ -1085,15 +1255,14 @@ public java.lang.String getTable() {
        * 
* * string table = 2; + * * @return The bytes for table. */ - public com.google.protobuf.ByteString - getTableBytes() { + public com.google.protobuf.ByteString getTableBytes() { java.lang.Object ref = table_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); table_ = b; return b; } else { @@ -1101,6 +1270,8 @@ public java.lang.String getTable() { } } /** + * + * *
        * The BigQuery table name to which the insights data should be written.
        * If this table does not exist, the export call returns an INVALID_ARGUMENT
@@ -1108,18 +1279,22 @@ public java.lang.String getTable() {
        * 
* * string table = 2; + * * @param value The table to set. * @return This builder for chaining. */ - public Builder setTable( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setTable(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } table_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } /** + * + * *
        * The BigQuery table name to which the insights data should be written.
        * If this table does not exist, the export call returns an INVALID_ARGUMENT
@@ -1127,6 +1302,7 @@ public Builder setTable(
        * 
* * string table = 2; + * * @return This builder for chaining. */ public Builder clearTable() { @@ -1136,6 +1312,8 @@ public Builder clearTable() { return this; } /** + * + * *
        * The BigQuery table name to which the insights data should be written.
        * If this table does not exist, the export call returns an INVALID_ARGUMENT
@@ -1143,18 +1321,21 @@ public Builder clearTable() {
        * 
* * string table = 2; + * * @param value The bytes for table to set. * @return This builder for chaining. */ - public Builder setTableBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setTableBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); table_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } + @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -1167,41 +1348,48 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.contactcenterinsights.v1.ExportInsightsDataRequest.BigQueryDestination) } // @@protoc_insertion_point(class_scope:google.cloud.contactcenterinsights.v1.ExportInsightsDataRequest.BigQueryDestination) - private static final com.google.cloud.contactcenterinsights.v1.ExportInsightsDataRequest.BigQueryDestination DEFAULT_INSTANCE; + private static final com.google.cloud.contactcenterinsights.v1.ExportInsightsDataRequest + .BigQueryDestination + DEFAULT_INSTANCE; + static { - DEFAULT_INSTANCE = new com.google.cloud.contactcenterinsights.v1.ExportInsightsDataRequest.BigQueryDestination(); + DEFAULT_INSTANCE = + new com.google.cloud.contactcenterinsights.v1.ExportInsightsDataRequest + .BigQueryDestination(); } - public static com.google.cloud.contactcenterinsights.v1.ExportInsightsDataRequest.BigQueryDestination getDefaultInstance() { + public static com.google.cloud.contactcenterinsights.v1.ExportInsightsDataRequest + .BigQueryDestination + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public BigQueryDestination parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public BigQueryDestination parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException() + .setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1213,20 +1401,23 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.cloud.contactcenterinsights.v1.ExportInsightsDataRequest.BigQueryDestination getDefaultInstanceForType() { + public com.google.cloud.contactcenterinsights.v1.ExportInsightsDataRequest.BigQueryDestination + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } private int destinationCase_ = 0; private java.lang.Object destination_; + public enum DestinationCase - implements com.google.protobuf.Internal.EnumLite, + implements + com.google.protobuf.Internal.EnumLite, com.google.protobuf.AbstractMessage.InternalOneOfEnum { BIG_QUERY_DESTINATION(2), DESTINATION_NOT_SET(0); private final int value; + private DestinationCase(int value) { this.value = value; } @@ -1242,29 +1433,36 @@ public static DestinationCase valueOf(int value) { public static DestinationCase forNumber(int value) { switch (value) { - case 2: return BIG_QUERY_DESTINATION; - case 0: return DESTINATION_NOT_SET; - default: return null; + case 2: + return BIG_QUERY_DESTINATION; + case 0: + return DESTINATION_NOT_SET; + default: + return null; } } + public int getNumber() { return this.value; } }; - public DestinationCase - getDestinationCase() { - return DestinationCase.forNumber( - destinationCase_); + public DestinationCase getDestinationCase() { + return DestinationCase.forNumber(destinationCase_); } public static final int BIG_QUERY_DESTINATION_FIELD_NUMBER = 2; /** + * + * *
    * Specified if sink is a BigQuery table.
    * 
* - * .google.cloud.contactcenterinsights.v1.ExportInsightsDataRequest.BigQueryDestination big_query_destination = 2; + * + * .google.cloud.contactcenterinsights.v1.ExportInsightsDataRequest.BigQueryDestination big_query_destination = 2; + * + * * @return Whether the bigQueryDestination field is set. */ @java.lang.Override @@ -1272,44 +1470,68 @@ public boolean hasBigQueryDestination() { return destinationCase_ == 2; } /** + * + * *
    * Specified if sink is a BigQuery table.
    * 
* - * .google.cloud.contactcenterinsights.v1.ExportInsightsDataRequest.BigQueryDestination big_query_destination = 2; + * + * .google.cloud.contactcenterinsights.v1.ExportInsightsDataRequest.BigQueryDestination big_query_destination = 2; + * + * * @return The bigQueryDestination. */ @java.lang.Override - public com.google.cloud.contactcenterinsights.v1.ExportInsightsDataRequest.BigQueryDestination getBigQueryDestination() { + public com.google.cloud.contactcenterinsights.v1.ExportInsightsDataRequest.BigQueryDestination + getBigQueryDestination() { if (destinationCase_ == 2) { - return (com.google.cloud.contactcenterinsights.v1.ExportInsightsDataRequest.BigQueryDestination) destination_; + return (com.google.cloud.contactcenterinsights.v1.ExportInsightsDataRequest + .BigQueryDestination) + destination_; } - return com.google.cloud.contactcenterinsights.v1.ExportInsightsDataRequest.BigQueryDestination.getDefaultInstance(); + return com.google.cloud.contactcenterinsights.v1.ExportInsightsDataRequest.BigQueryDestination + .getDefaultInstance(); } /** + * + * *
    * Specified if sink is a BigQuery table.
    * 
* - * .google.cloud.contactcenterinsights.v1.ExportInsightsDataRequest.BigQueryDestination big_query_destination = 2; + * + * .google.cloud.contactcenterinsights.v1.ExportInsightsDataRequest.BigQueryDestination big_query_destination = 2; + * */ @java.lang.Override - public com.google.cloud.contactcenterinsights.v1.ExportInsightsDataRequest.BigQueryDestinationOrBuilder getBigQueryDestinationOrBuilder() { + public com.google.cloud.contactcenterinsights.v1.ExportInsightsDataRequest + .BigQueryDestinationOrBuilder + getBigQueryDestinationOrBuilder() { if (destinationCase_ == 2) { - return (com.google.cloud.contactcenterinsights.v1.ExportInsightsDataRequest.BigQueryDestination) destination_; + return (com.google.cloud.contactcenterinsights.v1.ExportInsightsDataRequest + .BigQueryDestination) + destination_; } - return com.google.cloud.contactcenterinsights.v1.ExportInsightsDataRequest.BigQueryDestination.getDefaultInstance(); + return com.google.cloud.contactcenterinsights.v1.ExportInsightsDataRequest.BigQueryDestination + .getDefaultInstance(); } public static final int PARENT_FIELD_NUMBER = 1; + @SuppressWarnings("serial") private volatile java.lang.Object parent_ = ""; /** + * + * *
    * Required. The parent resource to export data from.
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The parent. */ @java.lang.Override @@ -1318,29 +1540,31 @@ public java.lang.String getParent() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; } } /** + * + * *
    * Required. The parent resource to export data from.
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for parent. */ @java.lang.Override - public com.google.protobuf.ByteString - getParentBytes() { + public com.google.protobuf.ByteString getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); parent_ = b; return b; } else { @@ -1349,15 +1573,19 @@ public java.lang.String getParent() { } public static final int FILTER_FIELD_NUMBER = 3; + @SuppressWarnings("serial") private volatile java.lang.Object filter_ = ""; /** + * + * *
    * A filter to reduce results to a specific subset. Useful for exporting
    * conversations with specific properties.
    * 
* * string filter = 3; + * * @return The filter. */ @java.lang.Override @@ -1366,30 +1594,30 @@ public java.lang.String getFilter() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); filter_ = s; return s; } } /** + * + * *
    * A filter to reduce results to a specific subset. Useful for exporting
    * conversations with specific properties.
    * 
* * string filter = 3; + * * @return The bytes for filter. */ @java.lang.Override - public com.google.protobuf.ByteString - getFilterBytes() { + public com.google.protobuf.ByteString getFilterBytes() { java.lang.Object ref = filter_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); filter_ = b; return b; } else { @@ -1398,9 +1626,12 @@ public java.lang.String getFilter() { } public static final int KMS_KEY_FIELD_NUMBER = 4; + @SuppressWarnings("serial") private volatile java.lang.Object kmsKey_ = ""; /** + * + * *
    * A fully qualified KMS key name for BigQuery tables protected by CMEK.
    * Format:
@@ -1408,6 +1639,7 @@ public java.lang.String getFilter() {
    * 
* * string kms_key = 4; + * * @return The kmsKey. */ @java.lang.Override @@ -1416,14 +1648,15 @@ public java.lang.String getKmsKey() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); kmsKey_ = s; return s; } } /** + * + * *
    * A fully qualified KMS key name for BigQuery tables protected by CMEK.
    * Format:
@@ -1431,16 +1664,15 @@ public java.lang.String getKmsKey() {
    * 
* * string kms_key = 4; + * * @return The bytes for kmsKey. */ @java.lang.Override - public com.google.protobuf.ByteString - getKmsKeyBytes() { + public com.google.protobuf.ByteString getKmsKeyBytes() { java.lang.Object ref = kmsKey_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); kmsKey_ = b; return b; } else { @@ -1451,30 +1683,49 @@ public java.lang.String getKmsKey() { public static final int WRITE_DISPOSITION_FIELD_NUMBER = 5; private int writeDisposition_ = 0; /** + * + * *
    * Options for what to do if the destination table already exists.
    * 
* - * .google.cloud.contactcenterinsights.v1.ExportInsightsDataRequest.WriteDisposition write_disposition = 5; + * + * .google.cloud.contactcenterinsights.v1.ExportInsightsDataRequest.WriteDisposition write_disposition = 5; + * + * * @return The enum numeric value on the wire for writeDisposition. */ - @java.lang.Override public int getWriteDispositionValue() { + @java.lang.Override + public int getWriteDispositionValue() { return writeDisposition_; } /** + * + * *
    * Options for what to do if the destination table already exists.
    * 
* - * .google.cloud.contactcenterinsights.v1.ExportInsightsDataRequest.WriteDisposition write_disposition = 5; + * + * .google.cloud.contactcenterinsights.v1.ExportInsightsDataRequest.WriteDisposition write_disposition = 5; + * + * * @return The writeDisposition. */ - @java.lang.Override public com.google.cloud.contactcenterinsights.v1.ExportInsightsDataRequest.WriteDisposition getWriteDisposition() { - com.google.cloud.contactcenterinsights.v1.ExportInsightsDataRequest.WriteDisposition result = com.google.cloud.contactcenterinsights.v1.ExportInsightsDataRequest.WriteDisposition.forNumber(writeDisposition_); - return result == null ? com.google.cloud.contactcenterinsights.v1.ExportInsightsDataRequest.WriteDisposition.UNRECOGNIZED : result; + @java.lang.Override + public com.google.cloud.contactcenterinsights.v1.ExportInsightsDataRequest.WriteDisposition + getWriteDisposition() { + com.google.cloud.contactcenterinsights.v1.ExportInsightsDataRequest.WriteDisposition result = + com.google.cloud.contactcenterinsights.v1.ExportInsightsDataRequest.WriteDisposition + .forNumber(writeDisposition_); + return result == null + ? com.google.cloud.contactcenterinsights.v1.ExportInsightsDataRequest.WriteDisposition + .UNRECOGNIZED + : result; } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -1486,13 +1737,15 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); } if (destinationCase_ == 2) { - output.writeMessage(2, (com.google.cloud.contactcenterinsights.v1.ExportInsightsDataRequest.BigQueryDestination) destination_); + output.writeMessage( + 2, + (com.google.cloud.contactcenterinsights.v1.ExportInsightsDataRequest.BigQueryDestination) + destination_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(filter_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 3, filter_); @@ -1500,7 +1753,10 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(kmsKey_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 4, kmsKey_); } - if (writeDisposition_ != com.google.cloud.contactcenterinsights.v1.ExportInsightsDataRequest.WriteDisposition.WRITE_DISPOSITION_UNSPECIFIED.getNumber()) { + if (writeDisposition_ + != com.google.cloud.contactcenterinsights.v1.ExportInsightsDataRequest.WriteDisposition + .WRITE_DISPOSITION_UNSPECIFIED + .getNumber()) { output.writeEnum(5, writeDisposition_); } getUnknownFields().writeTo(output); @@ -1516,8 +1772,12 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, parent_); } if (destinationCase_ == 2) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, (com.google.cloud.contactcenterinsights.v1.ExportInsightsDataRequest.BigQueryDestination) destination_); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 2, + (com.google.cloud.contactcenterinsights.v1.ExportInsightsDataRequest + .BigQueryDestination) + destination_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(filter_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, filter_); @@ -1525,9 +1785,11 @@ public int getSerializedSize() { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(kmsKey_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, kmsKey_); } - if (writeDisposition_ != com.google.cloud.contactcenterinsights.v1.ExportInsightsDataRequest.WriteDisposition.WRITE_DISPOSITION_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(5, writeDisposition_); + if (writeDisposition_ + != com.google.cloud.contactcenterinsights.v1.ExportInsightsDataRequest.WriteDisposition + .WRITE_DISPOSITION_UNSPECIFIED + .getNumber()) { + size += com.google.protobuf.CodedOutputStream.computeEnumSize(5, writeDisposition_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -1537,25 +1799,22 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.contactcenterinsights.v1.ExportInsightsDataRequest)) { return super.equals(obj); } - com.google.cloud.contactcenterinsights.v1.ExportInsightsDataRequest other = (com.google.cloud.contactcenterinsights.v1.ExportInsightsDataRequest) obj; + com.google.cloud.contactcenterinsights.v1.ExportInsightsDataRequest other = + (com.google.cloud.contactcenterinsights.v1.ExportInsightsDataRequest) obj; - if (!getParent() - .equals(other.getParent())) return false; - if (!getFilter() - .equals(other.getFilter())) return false; - if (!getKmsKey() - .equals(other.getKmsKey())) return false; + if (!getParent().equals(other.getParent())) return false; + if (!getFilter().equals(other.getFilter())) return false; + if (!getKmsKey().equals(other.getKmsKey())) return false; if (writeDisposition_ != other.writeDisposition_) return false; if (!getDestinationCase().equals(other.getDestinationCase())) return false; switch (destinationCase_) { case 2: - if (!getBigQueryDestination() - .equals(other.getBigQueryDestination())) return false; + if (!getBigQueryDestination().equals(other.getBigQueryDestination())) return false; break; case 0: default: @@ -1593,129 +1852,138 @@ public int hashCode() { } public static com.google.cloud.contactcenterinsights.v1.ExportInsightsDataRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.contactcenterinsights.v1.ExportInsightsDataRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.contactcenterinsights.v1.ExportInsightsDataRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.contactcenterinsights.v1.ExportInsightsDataRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.contactcenterinsights.v1.ExportInsightsDataRequest parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.contactcenterinsights.v1.ExportInsightsDataRequest parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.contactcenterinsights.v1.ExportInsightsDataRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.contactcenterinsights.v1.ExportInsightsDataRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.contactcenterinsights.v1.ExportInsightsDataRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.contactcenterinsights.v1.ExportInsightsDataRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.contactcenterinsights.v1.ExportInsightsDataRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.contactcenterinsights.v1.ExportInsightsDataRequest + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.contactcenterinsights.v1.ExportInsightsDataRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + + public static com.google.cloud.contactcenterinsights.v1.ExportInsightsDataRequest + parseDelimitedFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.contactcenterinsights.v1.ExportInsightsDataRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.contactcenterinsights.v1.ExportInsightsDataRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.contactcenterinsights.v1.ExportInsightsDataRequest prototype) { + + public static Builder newBuilder( + com.google.cloud.contactcenterinsights.v1.ExportInsightsDataRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * The request to export insights.
    * 
* * Protobuf type {@code google.cloud.contactcenterinsights.v1.ExportInsightsDataRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.contactcenterinsights.v1.ExportInsightsDataRequest) com.google.cloud.contactcenterinsights.v1.ExportInsightsDataRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto.internal_static_google_cloud_contactcenterinsights_v1_ExportInsightsDataRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto + .internal_static_google_cloud_contactcenterinsights_v1_ExportInsightsDataRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto.internal_static_google_cloud_contactcenterinsights_v1_ExportInsightsDataRequest_fieldAccessorTable + return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto + .internal_static_google_cloud_contactcenterinsights_v1_ExportInsightsDataRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.contactcenterinsights.v1.ExportInsightsDataRequest.class, com.google.cloud.contactcenterinsights.v1.ExportInsightsDataRequest.Builder.class); + com.google.cloud.contactcenterinsights.v1.ExportInsightsDataRequest.class, + com.google.cloud.contactcenterinsights.v1.ExportInsightsDataRequest.Builder.class); } - // Construct using com.google.cloud.contactcenterinsights.v1.ExportInsightsDataRequest.newBuilder() - private Builder() { + // Construct using + // com.google.cloud.contactcenterinsights.v1.ExportInsightsDataRequest.newBuilder() + private Builder() {} - } - - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -1733,14 +2001,16 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto.internal_static_google_cloud_contactcenterinsights_v1_ExportInsightsDataRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto + .internal_static_google_cloud_contactcenterinsights_v1_ExportInsightsDataRequest_descriptor; } @java.lang.Override - public com.google.cloud.contactcenterinsights.v1.ExportInsightsDataRequest getDefaultInstanceForType() { - return com.google.cloud.contactcenterinsights.v1.ExportInsightsDataRequest.getDefaultInstance(); + public com.google.cloud.contactcenterinsights.v1.ExportInsightsDataRequest + getDefaultInstanceForType() { + return com.google.cloud.contactcenterinsights.v1.ExportInsightsDataRequest + .getDefaultInstance(); } @java.lang.Override @@ -1754,14 +2024,18 @@ public com.google.cloud.contactcenterinsights.v1.ExportInsightsDataRequest build @java.lang.Override public com.google.cloud.contactcenterinsights.v1.ExportInsightsDataRequest buildPartial() { - com.google.cloud.contactcenterinsights.v1.ExportInsightsDataRequest result = new com.google.cloud.contactcenterinsights.v1.ExportInsightsDataRequest(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.cloud.contactcenterinsights.v1.ExportInsightsDataRequest result = + new com.google.cloud.contactcenterinsights.v1.ExportInsightsDataRequest(this); + if (bitField0_ != 0) { + buildPartial0(result); + } buildPartialOneofs(result); onBuilt(); return result; } - private void buildPartial0(com.google.cloud.contactcenterinsights.v1.ExportInsightsDataRequest result) { + private void buildPartial0( + com.google.cloud.contactcenterinsights.v1.ExportInsightsDataRequest result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000002) != 0)) { result.parent_ = parent_; @@ -1777,11 +2051,11 @@ private void buildPartial0(com.google.cloud.contactcenterinsights.v1.ExportInsig } } - private void buildPartialOneofs(com.google.cloud.contactcenterinsights.v1.ExportInsightsDataRequest result) { + private void buildPartialOneofs( + com.google.cloud.contactcenterinsights.v1.ExportInsightsDataRequest result) { result.destinationCase_ = destinationCase_; result.destination_ = this.destination_; - if (destinationCase_ == 2 && - bigQueryDestinationBuilder_ != null) { + if (destinationCase_ == 2 && bigQueryDestinationBuilder_ != null) { result.destination_ = bigQueryDestinationBuilder_.build(); } } @@ -1790,46 +2064,51 @@ private void buildPartialOneofs(com.google.cloud.contactcenterinsights.v1.Export public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.contactcenterinsights.v1.ExportInsightsDataRequest) { - return mergeFrom((com.google.cloud.contactcenterinsights.v1.ExportInsightsDataRequest)other); + return mergeFrom( + (com.google.cloud.contactcenterinsights.v1.ExportInsightsDataRequest) other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.google.cloud.contactcenterinsights.v1.ExportInsightsDataRequest other) { - if (other == com.google.cloud.contactcenterinsights.v1.ExportInsightsDataRequest.getDefaultInstance()) return this; + public Builder mergeFrom( + com.google.cloud.contactcenterinsights.v1.ExportInsightsDataRequest other) { + if (other + == com.google.cloud.contactcenterinsights.v1.ExportInsightsDataRequest + .getDefaultInstance()) return this; if (!other.getParent().isEmpty()) { parent_ = other.parent_; bitField0_ |= 0x00000002; @@ -1849,13 +2128,15 @@ public Builder mergeFrom(com.google.cloud.contactcenterinsights.v1.ExportInsight setWriteDispositionValue(other.getWriteDispositionValue()); } switch (other.getDestinationCase()) { - case BIG_QUERY_DESTINATION: { - mergeBigQueryDestination(other.getBigQueryDestination()); - break; - } - case DESTINATION_NOT_SET: { - break; - } + case BIG_QUERY_DESTINATION: + { + mergeBigQueryDestination(other.getBigQueryDestination()); + break; + } + case DESTINATION_NOT_SET: + { + break; + } } this.mergeUnknownFields(other.getUnknownFields()); onChanged(); @@ -1883,39 +2164,44 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - parent_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000002; - break; - } // case 10 - case 18: { - input.readMessage( - getBigQueryDestinationFieldBuilder().getBuilder(), - extensionRegistry); - destinationCase_ = 2; - break; - } // case 18 - case 26: { - filter_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000004; - break; - } // case 26 - case 34: { - kmsKey_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000008; - break; - } // case 34 - case 40: { - writeDisposition_ = input.readEnum(); - bitField0_ |= 0x00000010; - break; - } // case 40 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + parent_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + break; + } // case 10 + case 18: + { + input.readMessage( + getBigQueryDestinationFieldBuilder().getBuilder(), extensionRegistry); + destinationCase_ = 2; + break; + } // case 18 + case 26: + { + filter_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000004; + break; + } // case 26 + case 34: + { + kmsKey_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000008; + break; + } // case 34 + case 40: + { + writeDisposition_ = input.readEnum(); + bitField0_ |= 0x00000010; + break; + } // case 40 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -1925,12 +2211,12 @@ public Builder mergeFrom( } // finally return this; } + private int destinationCase_ = 0; private java.lang.Object destination_; - public DestinationCase - getDestinationCase() { - return DestinationCase.forNumber( - destinationCase_); + + public DestinationCase getDestinationCase() { + return DestinationCase.forNumber(destinationCase_); } public Builder clearDestination() { @@ -1943,13 +2229,23 @@ public Builder clearDestination() { private int bitField0_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.contactcenterinsights.v1.ExportInsightsDataRequest.BigQueryDestination, com.google.cloud.contactcenterinsights.v1.ExportInsightsDataRequest.BigQueryDestination.Builder, com.google.cloud.contactcenterinsights.v1.ExportInsightsDataRequest.BigQueryDestinationOrBuilder> bigQueryDestinationBuilder_; + com.google.cloud.contactcenterinsights.v1.ExportInsightsDataRequest.BigQueryDestination, + com.google.cloud.contactcenterinsights.v1.ExportInsightsDataRequest.BigQueryDestination + .Builder, + com.google.cloud.contactcenterinsights.v1.ExportInsightsDataRequest + .BigQueryDestinationOrBuilder> + bigQueryDestinationBuilder_; /** + * + * *
      * Specified if sink is a BigQuery table.
      * 
* - * .google.cloud.contactcenterinsights.v1.ExportInsightsDataRequest.BigQueryDestination big_query_destination = 2; + * + * .google.cloud.contactcenterinsights.v1.ExportInsightsDataRequest.BigQueryDestination big_query_destination = 2; + * + * * @return Whether the bigQueryDestination field is set. */ @java.lang.Override @@ -1957,35 +2253,51 @@ public boolean hasBigQueryDestination() { return destinationCase_ == 2; } /** + * + * *
      * Specified if sink is a BigQuery table.
      * 
* - * .google.cloud.contactcenterinsights.v1.ExportInsightsDataRequest.BigQueryDestination big_query_destination = 2; + * + * .google.cloud.contactcenterinsights.v1.ExportInsightsDataRequest.BigQueryDestination big_query_destination = 2; + * + * * @return The bigQueryDestination. */ @java.lang.Override - public com.google.cloud.contactcenterinsights.v1.ExportInsightsDataRequest.BigQueryDestination getBigQueryDestination() { + public com.google.cloud.contactcenterinsights.v1.ExportInsightsDataRequest.BigQueryDestination + getBigQueryDestination() { if (bigQueryDestinationBuilder_ == null) { if (destinationCase_ == 2) { - return (com.google.cloud.contactcenterinsights.v1.ExportInsightsDataRequest.BigQueryDestination) destination_; + return (com.google.cloud.contactcenterinsights.v1.ExportInsightsDataRequest + .BigQueryDestination) + destination_; } - return com.google.cloud.contactcenterinsights.v1.ExportInsightsDataRequest.BigQueryDestination.getDefaultInstance(); + return com.google.cloud.contactcenterinsights.v1.ExportInsightsDataRequest + .BigQueryDestination.getDefaultInstance(); } else { if (destinationCase_ == 2) { return bigQueryDestinationBuilder_.getMessage(); } - return com.google.cloud.contactcenterinsights.v1.ExportInsightsDataRequest.BigQueryDestination.getDefaultInstance(); + return com.google.cloud.contactcenterinsights.v1.ExportInsightsDataRequest + .BigQueryDestination.getDefaultInstance(); } } /** + * + * *
      * Specified if sink is a BigQuery table.
      * 
* - * .google.cloud.contactcenterinsights.v1.ExportInsightsDataRequest.BigQueryDestination big_query_destination = 2; + * + * .google.cloud.contactcenterinsights.v1.ExportInsightsDataRequest.BigQueryDestination big_query_destination = 2; + * */ - public Builder setBigQueryDestination(com.google.cloud.contactcenterinsights.v1.ExportInsightsDataRequest.BigQueryDestination value) { + public Builder setBigQueryDestination( + com.google.cloud.contactcenterinsights.v1.ExportInsightsDataRequest.BigQueryDestination + value) { if (bigQueryDestinationBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -1999,14 +2311,20 @@ public Builder setBigQueryDestination(com.google.cloud.contactcenterinsights.v1. return this; } /** + * + * *
      * Specified if sink is a BigQuery table.
      * 
* - * .google.cloud.contactcenterinsights.v1.ExportInsightsDataRequest.BigQueryDestination big_query_destination = 2; + * + * .google.cloud.contactcenterinsights.v1.ExportInsightsDataRequest.BigQueryDestination big_query_destination = 2; + * */ public Builder setBigQueryDestination( - com.google.cloud.contactcenterinsights.v1.ExportInsightsDataRequest.BigQueryDestination.Builder builderForValue) { + com.google.cloud.contactcenterinsights.v1.ExportInsightsDataRequest.BigQueryDestination + .Builder + builderForValue) { if (bigQueryDestinationBuilder_ == null) { destination_ = builderForValue.build(); onChanged(); @@ -2017,18 +2335,32 @@ public Builder setBigQueryDestination( return this; } /** + * + * *
      * Specified if sink is a BigQuery table.
      * 
* - * .google.cloud.contactcenterinsights.v1.ExportInsightsDataRequest.BigQueryDestination big_query_destination = 2; + * + * .google.cloud.contactcenterinsights.v1.ExportInsightsDataRequest.BigQueryDestination big_query_destination = 2; + * */ - public Builder mergeBigQueryDestination(com.google.cloud.contactcenterinsights.v1.ExportInsightsDataRequest.BigQueryDestination value) { + public Builder mergeBigQueryDestination( + com.google.cloud.contactcenterinsights.v1.ExportInsightsDataRequest.BigQueryDestination + value) { if (bigQueryDestinationBuilder_ == null) { - if (destinationCase_ == 2 && - destination_ != com.google.cloud.contactcenterinsights.v1.ExportInsightsDataRequest.BigQueryDestination.getDefaultInstance()) { - destination_ = com.google.cloud.contactcenterinsights.v1.ExportInsightsDataRequest.BigQueryDestination.newBuilder((com.google.cloud.contactcenterinsights.v1.ExportInsightsDataRequest.BigQueryDestination) destination_) - .mergeFrom(value).buildPartial(); + if (destinationCase_ == 2 + && destination_ + != com.google.cloud.contactcenterinsights.v1.ExportInsightsDataRequest + .BigQueryDestination.getDefaultInstance()) { + destination_ = + com.google.cloud.contactcenterinsights.v1.ExportInsightsDataRequest + .BigQueryDestination.newBuilder( + (com.google.cloud.contactcenterinsights.v1.ExportInsightsDataRequest + .BigQueryDestination) + destination_) + .mergeFrom(value) + .buildPartial(); } else { destination_ = value; } @@ -2044,11 +2376,15 @@ public Builder mergeBigQueryDestination(com.google.cloud.contactcenterinsights.v return this; } /** + * + * *
      * Specified if sink is a BigQuery table.
      * 
* - * .google.cloud.contactcenterinsights.v1.ExportInsightsDataRequest.BigQueryDestination big_query_destination = 2; + * + * .google.cloud.contactcenterinsights.v1.ExportInsightsDataRequest.BigQueryDestination big_query_destination = 2; + * */ public Builder clearBigQueryDestination() { if (bigQueryDestinationBuilder_ == null) { @@ -2067,50 +2403,83 @@ public Builder clearBigQueryDestination() { return this; } /** + * + * *
      * Specified if sink is a BigQuery table.
      * 
* - * .google.cloud.contactcenterinsights.v1.ExportInsightsDataRequest.BigQueryDestination big_query_destination = 2; + * + * .google.cloud.contactcenterinsights.v1.ExportInsightsDataRequest.BigQueryDestination big_query_destination = 2; + * */ - public com.google.cloud.contactcenterinsights.v1.ExportInsightsDataRequest.BigQueryDestination.Builder getBigQueryDestinationBuilder() { + public com.google.cloud.contactcenterinsights.v1.ExportInsightsDataRequest.BigQueryDestination + .Builder + getBigQueryDestinationBuilder() { return getBigQueryDestinationFieldBuilder().getBuilder(); } /** + * + * *
      * Specified if sink is a BigQuery table.
      * 
* - * .google.cloud.contactcenterinsights.v1.ExportInsightsDataRequest.BigQueryDestination big_query_destination = 2; + * + * .google.cloud.contactcenterinsights.v1.ExportInsightsDataRequest.BigQueryDestination big_query_destination = 2; + * */ @java.lang.Override - public com.google.cloud.contactcenterinsights.v1.ExportInsightsDataRequest.BigQueryDestinationOrBuilder getBigQueryDestinationOrBuilder() { + public com.google.cloud.contactcenterinsights.v1.ExportInsightsDataRequest + .BigQueryDestinationOrBuilder + getBigQueryDestinationOrBuilder() { if ((destinationCase_ == 2) && (bigQueryDestinationBuilder_ != null)) { return bigQueryDestinationBuilder_.getMessageOrBuilder(); } else { if (destinationCase_ == 2) { - return (com.google.cloud.contactcenterinsights.v1.ExportInsightsDataRequest.BigQueryDestination) destination_; + return (com.google.cloud.contactcenterinsights.v1.ExportInsightsDataRequest + .BigQueryDestination) + destination_; } - return com.google.cloud.contactcenterinsights.v1.ExportInsightsDataRequest.BigQueryDestination.getDefaultInstance(); + return com.google.cloud.contactcenterinsights.v1.ExportInsightsDataRequest + .BigQueryDestination.getDefaultInstance(); } } /** + * + * *
      * Specified if sink is a BigQuery table.
      * 
* - * .google.cloud.contactcenterinsights.v1.ExportInsightsDataRequest.BigQueryDestination big_query_destination = 2; + * + * .google.cloud.contactcenterinsights.v1.ExportInsightsDataRequest.BigQueryDestination big_query_destination = 2; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.contactcenterinsights.v1.ExportInsightsDataRequest.BigQueryDestination, com.google.cloud.contactcenterinsights.v1.ExportInsightsDataRequest.BigQueryDestination.Builder, com.google.cloud.contactcenterinsights.v1.ExportInsightsDataRequest.BigQueryDestinationOrBuilder> + com.google.cloud.contactcenterinsights.v1.ExportInsightsDataRequest.BigQueryDestination, + com.google.cloud.contactcenterinsights.v1.ExportInsightsDataRequest.BigQueryDestination + .Builder, + com.google.cloud.contactcenterinsights.v1.ExportInsightsDataRequest + .BigQueryDestinationOrBuilder> getBigQueryDestinationFieldBuilder() { if (bigQueryDestinationBuilder_ == null) { if (!(destinationCase_ == 2)) { - destination_ = com.google.cloud.contactcenterinsights.v1.ExportInsightsDataRequest.BigQueryDestination.getDefaultInstance(); + destination_ = + com.google.cloud.contactcenterinsights.v1.ExportInsightsDataRequest + .BigQueryDestination.getDefaultInstance(); } - bigQueryDestinationBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.contactcenterinsights.v1.ExportInsightsDataRequest.BigQueryDestination, com.google.cloud.contactcenterinsights.v1.ExportInsightsDataRequest.BigQueryDestination.Builder, com.google.cloud.contactcenterinsights.v1.ExportInsightsDataRequest.BigQueryDestinationOrBuilder>( - (com.google.cloud.contactcenterinsights.v1.ExportInsightsDataRequest.BigQueryDestination) destination_, + bigQueryDestinationBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.contactcenterinsights.v1.ExportInsightsDataRequest + .BigQueryDestination, + com.google.cloud.contactcenterinsights.v1.ExportInsightsDataRequest + .BigQueryDestination.Builder, + com.google.cloud.contactcenterinsights.v1.ExportInsightsDataRequest + .BigQueryDestinationOrBuilder>( + (com.google.cloud.contactcenterinsights.v1.ExportInsightsDataRequest + .BigQueryDestination) + destination_, getParentForChildren(), isClean()); destination_ = null; @@ -2122,18 +2491,22 @@ public com.google.cloud.contactcenterinsights.v1.ExportInsightsDataRequest.BigQu private java.lang.Object parent_ = ""; /** + * + * *
      * Required. The parent resource to export data from.
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The parent. */ public java.lang.String getParent() { java.lang.Object ref = parent_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; @@ -2142,20 +2515,23 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. The parent resource to export data from.
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for parent. */ - public com.google.protobuf.ByteString - getParentBytes() { + public com.google.protobuf.ByteString getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); parent_ = b; return b; } else { @@ -2163,28 +2539,39 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. The parent resource to export data from.
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The parent to set. * @return This builder for chaining. */ - public Builder setParent( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setParent(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } parent_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** + * + * *
      * Required. The parent resource to export data from.
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return This builder for chaining. */ public Builder clearParent() { @@ -2194,17 +2581,23 @@ public Builder clearParent() { return this; } /** + * + * *
      * Required. The parent resource to export data from.
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setParentBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); parent_ = value; bitField0_ |= 0x00000002; @@ -2214,19 +2607,21 @@ public Builder setParentBytes( private java.lang.Object filter_ = ""; /** + * + * *
      * A filter to reduce results to a specific subset. Useful for exporting
      * conversations with specific properties.
      * 
* * string filter = 3; + * * @return The filter. */ public java.lang.String getFilter() { java.lang.Object ref = filter_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); filter_ = s; return s; @@ -2235,21 +2630,22 @@ public java.lang.String getFilter() { } } /** + * + * *
      * A filter to reduce results to a specific subset. Useful for exporting
      * conversations with specific properties.
      * 
* * string filter = 3; + * * @return The bytes for filter. */ - public com.google.protobuf.ByteString - getFilterBytes() { + public com.google.protobuf.ByteString getFilterBytes() { java.lang.Object ref = filter_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); filter_ = b; return b; } else { @@ -2257,30 +2653,37 @@ public java.lang.String getFilter() { } } /** + * + * *
      * A filter to reduce results to a specific subset. Useful for exporting
      * conversations with specific properties.
      * 
* * string filter = 3; + * * @param value The filter to set. * @return This builder for chaining. */ - public Builder setFilter( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setFilter(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } filter_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } /** + * + * *
      * A filter to reduce results to a specific subset. Useful for exporting
      * conversations with specific properties.
      * 
* * string filter = 3; + * * @return This builder for chaining. */ public Builder clearFilter() { @@ -2290,18 +2693,22 @@ public Builder clearFilter() { return this; } /** + * + * *
      * A filter to reduce results to a specific subset. Useful for exporting
      * conversations with specific properties.
      * 
* * string filter = 3; + * * @param value The bytes for filter to set. * @return This builder for chaining. */ - public Builder setFilterBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setFilterBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); filter_ = value; bitField0_ |= 0x00000004; @@ -2311,6 +2718,8 @@ public Builder setFilterBytes( private java.lang.Object kmsKey_ = ""; /** + * + * *
      * A fully qualified KMS key name for BigQuery tables protected by CMEK.
      * Format:
@@ -2318,13 +2727,13 @@ public Builder setFilterBytes(
      * 
* * string kms_key = 4; + * * @return The kmsKey. */ public java.lang.String getKmsKey() { java.lang.Object ref = kmsKey_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); kmsKey_ = s; return s; @@ -2333,6 +2742,8 @@ public java.lang.String getKmsKey() { } } /** + * + * *
      * A fully qualified KMS key name for BigQuery tables protected by CMEK.
      * Format:
@@ -2340,15 +2751,14 @@ public java.lang.String getKmsKey() {
      * 
* * string kms_key = 4; + * * @return The bytes for kmsKey. */ - public com.google.protobuf.ByteString - getKmsKeyBytes() { + public com.google.protobuf.ByteString getKmsKeyBytes() { java.lang.Object ref = kmsKey_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); kmsKey_ = b; return b; } else { @@ -2356,6 +2766,8 @@ public java.lang.String getKmsKey() { } } /** + * + * *
      * A fully qualified KMS key name for BigQuery tables protected by CMEK.
      * Format:
@@ -2363,18 +2775,22 @@ public java.lang.String getKmsKey() {
      * 
* * string kms_key = 4; + * * @param value The kmsKey to set. * @return This builder for chaining. */ - public Builder setKmsKey( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setKmsKey(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } kmsKey_ = value; bitField0_ |= 0x00000008; onChanged(); return this; } /** + * + * *
      * A fully qualified KMS key name for BigQuery tables protected by CMEK.
      * Format:
@@ -2382,6 +2798,7 @@ public Builder setKmsKey(
      * 
* * string kms_key = 4; + * * @return This builder for chaining. */ public Builder clearKmsKey() { @@ -2391,6 +2808,8 @@ public Builder clearKmsKey() { return this; } /** + * + * *
      * A fully qualified KMS key name for BigQuery tables protected by CMEK.
      * Format:
@@ -2398,12 +2817,14 @@ public Builder clearKmsKey() {
      * 
* * string kms_key = 4; + * * @param value The bytes for kmsKey to set. * @return This builder for chaining. */ - public Builder setKmsKeyBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setKmsKeyBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); kmsKey_ = value; bitField0_ |= 0x00000008; @@ -2413,22 +2834,33 @@ public Builder setKmsKeyBytes( private int writeDisposition_ = 0; /** + * + * *
      * Options for what to do if the destination table already exists.
      * 
* - * .google.cloud.contactcenterinsights.v1.ExportInsightsDataRequest.WriteDisposition write_disposition = 5; + * + * .google.cloud.contactcenterinsights.v1.ExportInsightsDataRequest.WriteDisposition write_disposition = 5; + * + * * @return The enum numeric value on the wire for writeDisposition. */ - @java.lang.Override public int getWriteDispositionValue() { + @java.lang.Override + public int getWriteDispositionValue() { return writeDisposition_; } /** + * + * *
      * Options for what to do if the destination table already exists.
      * 
* - * .google.cloud.contactcenterinsights.v1.ExportInsightsDataRequest.WriteDisposition write_disposition = 5; + * + * .google.cloud.contactcenterinsights.v1.ExportInsightsDataRequest.WriteDisposition write_disposition = 5; + * + * * @param value The enum numeric value on the wire for writeDisposition to set. * @return This builder for chaining. */ @@ -2439,28 +2871,46 @@ public Builder setWriteDispositionValue(int value) { return this; } /** + * + * *
      * Options for what to do if the destination table already exists.
      * 
* - * .google.cloud.contactcenterinsights.v1.ExportInsightsDataRequest.WriteDisposition write_disposition = 5; + * + * .google.cloud.contactcenterinsights.v1.ExportInsightsDataRequest.WriteDisposition write_disposition = 5; + * + * * @return The writeDisposition. */ @java.lang.Override - public com.google.cloud.contactcenterinsights.v1.ExportInsightsDataRequest.WriteDisposition getWriteDisposition() { - com.google.cloud.contactcenterinsights.v1.ExportInsightsDataRequest.WriteDisposition result = com.google.cloud.contactcenterinsights.v1.ExportInsightsDataRequest.WriteDisposition.forNumber(writeDisposition_); - return result == null ? com.google.cloud.contactcenterinsights.v1.ExportInsightsDataRequest.WriteDisposition.UNRECOGNIZED : result; + public com.google.cloud.contactcenterinsights.v1.ExportInsightsDataRequest.WriteDisposition + getWriteDisposition() { + com.google.cloud.contactcenterinsights.v1.ExportInsightsDataRequest.WriteDisposition result = + com.google.cloud.contactcenterinsights.v1.ExportInsightsDataRequest.WriteDisposition + .forNumber(writeDisposition_); + return result == null + ? com.google.cloud.contactcenterinsights.v1.ExportInsightsDataRequest.WriteDisposition + .UNRECOGNIZED + : result; } /** + * + * *
      * Options for what to do if the destination table already exists.
      * 
* - * .google.cloud.contactcenterinsights.v1.ExportInsightsDataRequest.WriteDisposition write_disposition = 5; + * + * .google.cloud.contactcenterinsights.v1.ExportInsightsDataRequest.WriteDisposition write_disposition = 5; + * + * * @param value The writeDisposition to set. * @return This builder for chaining. */ - public Builder setWriteDisposition(com.google.cloud.contactcenterinsights.v1.ExportInsightsDataRequest.WriteDisposition value) { + public Builder setWriteDisposition( + com.google.cloud.contactcenterinsights.v1.ExportInsightsDataRequest.WriteDisposition + value) { if (value == null) { throw new NullPointerException(); } @@ -2470,11 +2920,16 @@ public Builder setWriteDisposition(com.google.cloud.contactcenterinsights.v1.Exp return this; } /** + * + * *
      * Options for what to do if the destination table already exists.
      * 
* - * .google.cloud.contactcenterinsights.v1.ExportInsightsDataRequest.WriteDisposition write_disposition = 5; + * + * .google.cloud.contactcenterinsights.v1.ExportInsightsDataRequest.WriteDisposition write_disposition = 5; + * + * * @return This builder for chaining. */ public Builder clearWriteDisposition() { @@ -2483,9 +2938,9 @@ public Builder clearWriteDisposition() { onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -2495,41 +2950,43 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.contactcenterinsights.v1.ExportInsightsDataRequest) } // @@protoc_insertion_point(class_scope:google.cloud.contactcenterinsights.v1.ExportInsightsDataRequest) - private static final com.google.cloud.contactcenterinsights.v1.ExportInsightsDataRequest DEFAULT_INSTANCE; + private static final com.google.cloud.contactcenterinsights.v1.ExportInsightsDataRequest + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.contactcenterinsights.v1.ExportInsightsDataRequest(); } - public static com.google.cloud.contactcenterinsights.v1.ExportInsightsDataRequest getDefaultInstance() { + public static com.google.cloud.contactcenterinsights.v1.ExportInsightsDataRequest + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ExportInsightsDataRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ExportInsightsDataRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -2541,9 +2998,8 @@ public com.google.protobuf.Parser getParserForType() } @java.lang.Override - public com.google.cloud.contactcenterinsights.v1.ExportInsightsDataRequest getDefaultInstanceForType() { + public com.google.cloud.contactcenterinsights.v1.ExportInsightsDataRequest + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ExportInsightsDataRequestOrBuilder.java b/java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ExportInsightsDataRequestOrBuilder.java similarity index 55% rename from owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ExportInsightsDataRequestOrBuilder.java rename to java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ExportInsightsDataRequestOrBuilder.java index 52741507f34a..d49fc82904d7 100644 --- a/owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ExportInsightsDataRequestOrBuilder.java +++ b/java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ExportInsightsDataRequestOrBuilder.java @@ -1,82 +1,130 @@ +/* + * 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. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/contactcenterinsights/v1/contact_center_insights.proto package com.google.cloud.contactcenterinsights.v1; -public interface ExportInsightsDataRequestOrBuilder extends +public interface ExportInsightsDataRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.contactcenterinsights.v1.ExportInsightsDataRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Specified if sink is a BigQuery table.
    * 
* - * .google.cloud.contactcenterinsights.v1.ExportInsightsDataRequest.BigQueryDestination big_query_destination = 2; + * + * .google.cloud.contactcenterinsights.v1.ExportInsightsDataRequest.BigQueryDestination big_query_destination = 2; + * + * * @return Whether the bigQueryDestination field is set. */ boolean hasBigQueryDestination(); /** + * + * *
    * Specified if sink is a BigQuery table.
    * 
* - * .google.cloud.contactcenterinsights.v1.ExportInsightsDataRequest.BigQueryDestination big_query_destination = 2; + * + * .google.cloud.contactcenterinsights.v1.ExportInsightsDataRequest.BigQueryDestination big_query_destination = 2; + * + * * @return The bigQueryDestination. */ - com.google.cloud.contactcenterinsights.v1.ExportInsightsDataRequest.BigQueryDestination getBigQueryDestination(); + com.google.cloud.contactcenterinsights.v1.ExportInsightsDataRequest.BigQueryDestination + getBigQueryDestination(); /** + * + * *
    * Specified if sink is a BigQuery table.
    * 
* - * .google.cloud.contactcenterinsights.v1.ExportInsightsDataRequest.BigQueryDestination big_query_destination = 2; + * + * .google.cloud.contactcenterinsights.v1.ExportInsightsDataRequest.BigQueryDestination big_query_destination = 2; + * */ - com.google.cloud.contactcenterinsights.v1.ExportInsightsDataRequest.BigQueryDestinationOrBuilder getBigQueryDestinationOrBuilder(); + com.google.cloud.contactcenterinsights.v1.ExportInsightsDataRequest.BigQueryDestinationOrBuilder + getBigQueryDestinationOrBuilder(); /** + * + * *
    * Required. The parent resource to export data from.
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The parent. */ java.lang.String getParent(); /** + * + * *
    * Required. The parent resource to export data from.
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for parent. */ - com.google.protobuf.ByteString - getParentBytes(); + com.google.protobuf.ByteString getParentBytes(); /** + * + * *
    * A filter to reduce results to a specific subset. Useful for exporting
    * conversations with specific properties.
    * 
* * string filter = 3; + * * @return The filter. */ java.lang.String getFilter(); /** + * + * *
    * A filter to reduce results to a specific subset. Useful for exporting
    * conversations with specific properties.
    * 
* * string filter = 3; + * * @return The bytes for filter. */ - com.google.protobuf.ByteString - getFilterBytes(); + com.google.protobuf.ByteString getFilterBytes(); /** + * + * *
    * A fully qualified KMS key name for BigQuery tables protected by CMEK.
    * Format:
@@ -84,10 +132,13 @@ public interface ExportInsightsDataRequestOrBuilder extends
    * 
* * string kms_key = 4; + * * @return The kmsKey. */ java.lang.String getKmsKey(); /** + * + * *
    * A fully qualified KMS key name for BigQuery tables protected by CMEK.
    * Format:
@@ -95,29 +146,41 @@ public interface ExportInsightsDataRequestOrBuilder extends
    * 
* * string kms_key = 4; + * * @return The bytes for kmsKey. */ - com.google.protobuf.ByteString - getKmsKeyBytes(); + com.google.protobuf.ByteString getKmsKeyBytes(); /** + * + * *
    * Options for what to do if the destination table already exists.
    * 
* - * .google.cloud.contactcenterinsights.v1.ExportInsightsDataRequest.WriteDisposition write_disposition = 5; + * + * .google.cloud.contactcenterinsights.v1.ExportInsightsDataRequest.WriteDisposition write_disposition = 5; + * + * * @return The enum numeric value on the wire for writeDisposition. */ int getWriteDispositionValue(); /** + * + * *
    * Options for what to do if the destination table already exists.
    * 
* - * .google.cloud.contactcenterinsights.v1.ExportInsightsDataRequest.WriteDisposition write_disposition = 5; + * + * .google.cloud.contactcenterinsights.v1.ExportInsightsDataRequest.WriteDisposition write_disposition = 5; + * + * * @return The writeDisposition. */ - com.google.cloud.contactcenterinsights.v1.ExportInsightsDataRequest.WriteDisposition getWriteDisposition(); + com.google.cloud.contactcenterinsights.v1.ExportInsightsDataRequest.WriteDisposition + getWriteDisposition(); - public com.google.cloud.contactcenterinsights.v1.ExportInsightsDataRequest.DestinationCase getDestinationCase(); + public com.google.cloud.contactcenterinsights.v1.ExportInsightsDataRequest.DestinationCase + getDestinationCase(); } diff --git a/owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ExportInsightsDataResponse.java b/java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ExportInsightsDataResponse.java similarity index 58% rename from owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ExportInsightsDataResponse.java rename to java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ExportInsightsDataResponse.java index 6f9fd25e0403..f7aa755027db 100644 --- a/owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ExportInsightsDataResponse.java +++ b/java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ExportInsightsDataResponse.java @@ -1,53 +1,72 @@ +/* + * 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. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/contactcenterinsights/v1/contact_center_insights.proto package com.google.cloud.contactcenterinsights.v1; /** + * + * *
  * Response for an export insights operation.
  * 
* * Protobuf type {@code google.cloud.contactcenterinsights.v1.ExportInsightsDataResponse} */ -public final class ExportInsightsDataResponse extends - com.google.protobuf.GeneratedMessageV3 implements +public final class ExportInsightsDataResponse extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.contactcenterinsights.v1.ExportInsightsDataResponse) ExportInsightsDataResponseOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use ExportInsightsDataResponse.newBuilder() to construct. private ExportInsightsDataResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private ExportInsightsDataResponse() { - } + + private ExportInsightsDataResponse() {} @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ExportInsightsDataResponse(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto.internal_static_google_cloud_contactcenterinsights_v1_ExportInsightsDataResponse_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto + .internal_static_google_cloud_contactcenterinsights_v1_ExportInsightsDataResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto.internal_static_google_cloud_contactcenterinsights_v1_ExportInsightsDataResponse_fieldAccessorTable + return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto + .internal_static_google_cloud_contactcenterinsights_v1_ExportInsightsDataResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.contactcenterinsights.v1.ExportInsightsDataResponse.class, com.google.cloud.contactcenterinsights.v1.ExportInsightsDataResponse.Builder.class); + com.google.cloud.contactcenterinsights.v1.ExportInsightsDataResponse.class, + com.google.cloud.contactcenterinsights.v1.ExportInsightsDataResponse.Builder.class); } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -59,8 +78,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { getUnknownFields().writeTo(output); } @@ -78,12 +96,13 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.contactcenterinsights.v1.ExportInsightsDataResponse)) { return super.equals(obj); } - com.google.cloud.contactcenterinsights.v1.ExportInsightsDataResponse other = (com.google.cloud.contactcenterinsights.v1.ExportInsightsDataResponse) obj; + com.google.cloud.contactcenterinsights.v1.ExportInsightsDataResponse other = + (com.google.cloud.contactcenterinsights.v1.ExportInsightsDataResponse) obj; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -102,129 +121,138 @@ public int hashCode() { } public static com.google.cloud.contactcenterinsights.v1.ExportInsightsDataResponse parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.contactcenterinsights.v1.ExportInsightsDataResponse parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.contactcenterinsights.v1.ExportInsightsDataResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.contactcenterinsights.v1.ExportInsightsDataResponse parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.contactcenterinsights.v1.ExportInsightsDataResponse parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.contactcenterinsights.v1.ExportInsightsDataResponse parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.contactcenterinsights.v1.ExportInsightsDataResponse parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.contactcenterinsights.v1.ExportInsightsDataResponse parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.contactcenterinsights.v1.ExportInsightsDataResponse parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.contactcenterinsights.v1.ExportInsightsDataResponse parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.contactcenterinsights.v1.ExportInsightsDataResponse parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.contactcenterinsights.v1.ExportInsightsDataResponse + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.contactcenterinsights.v1.ExportInsightsDataResponse parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + + public static com.google.cloud.contactcenterinsights.v1.ExportInsightsDataResponse + parseDelimitedFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.contactcenterinsights.v1.ExportInsightsDataResponse parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.contactcenterinsights.v1.ExportInsightsDataResponse parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.contactcenterinsights.v1.ExportInsightsDataResponse prototype) { + + public static Builder newBuilder( + com.google.cloud.contactcenterinsights.v1.ExportInsightsDataResponse prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Response for an export insights operation.
    * 
* * Protobuf type {@code google.cloud.contactcenterinsights.v1.ExportInsightsDataResponse} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.contactcenterinsights.v1.ExportInsightsDataResponse) com.google.cloud.contactcenterinsights.v1.ExportInsightsDataResponseOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto.internal_static_google_cloud_contactcenterinsights_v1_ExportInsightsDataResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto + .internal_static_google_cloud_contactcenterinsights_v1_ExportInsightsDataResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto.internal_static_google_cloud_contactcenterinsights_v1_ExportInsightsDataResponse_fieldAccessorTable + return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto + .internal_static_google_cloud_contactcenterinsights_v1_ExportInsightsDataResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.contactcenterinsights.v1.ExportInsightsDataResponse.class, com.google.cloud.contactcenterinsights.v1.ExportInsightsDataResponse.Builder.class); + com.google.cloud.contactcenterinsights.v1.ExportInsightsDataResponse.class, + com.google.cloud.contactcenterinsights.v1.ExportInsightsDataResponse.Builder.class); } - // Construct using com.google.cloud.contactcenterinsights.v1.ExportInsightsDataResponse.newBuilder() - private Builder() { - - } + // Construct using + // com.google.cloud.contactcenterinsights.v1.ExportInsightsDataResponse.newBuilder() + private Builder() {} - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -232,14 +260,16 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto.internal_static_google_cloud_contactcenterinsights_v1_ExportInsightsDataResponse_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto + .internal_static_google_cloud_contactcenterinsights_v1_ExportInsightsDataResponse_descriptor; } @java.lang.Override - public com.google.cloud.contactcenterinsights.v1.ExportInsightsDataResponse getDefaultInstanceForType() { - return com.google.cloud.contactcenterinsights.v1.ExportInsightsDataResponse.getDefaultInstance(); + public com.google.cloud.contactcenterinsights.v1.ExportInsightsDataResponse + getDefaultInstanceForType() { + return com.google.cloud.contactcenterinsights.v1.ExportInsightsDataResponse + .getDefaultInstance(); } @java.lang.Override @@ -253,7 +283,8 @@ public com.google.cloud.contactcenterinsights.v1.ExportInsightsDataResponse buil @java.lang.Override public com.google.cloud.contactcenterinsights.v1.ExportInsightsDataResponse buildPartial() { - com.google.cloud.contactcenterinsights.v1.ExportInsightsDataResponse result = new com.google.cloud.contactcenterinsights.v1.ExportInsightsDataResponse(this); + com.google.cloud.contactcenterinsights.v1.ExportInsightsDataResponse result = + new com.google.cloud.contactcenterinsights.v1.ExportInsightsDataResponse(this); onBuilt(); return result; } @@ -262,46 +293,51 @@ public com.google.cloud.contactcenterinsights.v1.ExportInsightsDataResponse buil public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.contactcenterinsights.v1.ExportInsightsDataResponse) { - return mergeFrom((com.google.cloud.contactcenterinsights.v1.ExportInsightsDataResponse)other); + return mergeFrom( + (com.google.cloud.contactcenterinsights.v1.ExportInsightsDataResponse) other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.google.cloud.contactcenterinsights.v1.ExportInsightsDataResponse other) { - if (other == com.google.cloud.contactcenterinsights.v1.ExportInsightsDataResponse.getDefaultInstance()) return this; + public Builder mergeFrom( + com.google.cloud.contactcenterinsights.v1.ExportInsightsDataResponse other) { + if (other + == com.google.cloud.contactcenterinsights.v1.ExportInsightsDataResponse + .getDefaultInstance()) return this; this.mergeUnknownFields(other.getUnknownFields()); onChanged(); return this; @@ -328,12 +364,13 @@ public Builder mergeFrom( case 0: done = true; break; - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -343,9 +380,9 @@ public Builder mergeFrom( } // finally return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -355,41 +392,43 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.contactcenterinsights.v1.ExportInsightsDataResponse) } // @@protoc_insertion_point(class_scope:google.cloud.contactcenterinsights.v1.ExportInsightsDataResponse) - private static final com.google.cloud.contactcenterinsights.v1.ExportInsightsDataResponse DEFAULT_INSTANCE; + private static final com.google.cloud.contactcenterinsights.v1.ExportInsightsDataResponse + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.contactcenterinsights.v1.ExportInsightsDataResponse(); } - public static com.google.cloud.contactcenterinsights.v1.ExportInsightsDataResponse getDefaultInstance() { + public static com.google.cloud.contactcenterinsights.v1.ExportInsightsDataResponse + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ExportInsightsDataResponse parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ExportInsightsDataResponse parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -401,9 +440,8 @@ public com.google.protobuf.Parser getParserForType() } @java.lang.Override - public com.google.cloud.contactcenterinsights.v1.ExportInsightsDataResponse getDefaultInstanceForType() { + public com.google.cloud.contactcenterinsights.v1.ExportInsightsDataResponse + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ExportInsightsDataResponseOrBuilder.java b/java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ExportInsightsDataResponseOrBuilder.java new file mode 100644 index 000000000000..b69f2c254b75 --- /dev/null +++ b/java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ExportInsightsDataResponseOrBuilder.java @@ -0,0 +1,24 @@ +/* + * 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. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/contactcenterinsights/v1/contact_center_insights.proto + +package com.google.cloud.contactcenterinsights.v1; + +public interface ExportInsightsDataResponseOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.cloud.contactcenterinsights.v1.ExportInsightsDataResponse) + com.google.protobuf.MessageOrBuilder {} diff --git a/owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/FaqAnswerData.java b/java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/FaqAnswerData.java similarity index 67% rename from owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/FaqAnswerData.java rename to java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/FaqAnswerData.java index c70871ec50df..6f68a4ceb86a 100644 --- a/owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/FaqAnswerData.java +++ b/java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/FaqAnswerData.java @@ -1,24 +1,42 @@ +/* + * 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. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/contactcenterinsights/v1/resources.proto package com.google.cloud.contactcenterinsights.v1; /** + * + * *
  * Agent Assist frequently-asked-question answer data.
  * 
* * Protobuf type {@code google.cloud.contactcenterinsights.v1.FaqAnswerData} */ -public final class FaqAnswerData extends - com.google.protobuf.GeneratedMessageV3 implements +public final class FaqAnswerData extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.contactcenterinsights.v1.FaqAnswerData) FaqAnswerDataOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use FaqAnswerData.newBuilder() to construct. private FaqAnswerData(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private FaqAnswerData() { answer_ = ""; question_ = ""; @@ -28,50 +46,54 @@ private FaqAnswerData() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new FaqAnswerData(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.contactcenterinsights.v1.ResourcesProto.internal_static_google_cloud_contactcenterinsights_v1_FaqAnswerData_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.contactcenterinsights.v1.ResourcesProto + .internal_static_google_cloud_contactcenterinsights_v1_FaqAnswerData_descriptor; } @SuppressWarnings({"rawtypes"}) @java.lang.Override - protected com.google.protobuf.MapField internalGetMapField( - int number) { + protected com.google.protobuf.MapField internalGetMapField(int number) { switch (number) { case 4: return internalGetMetadata(); default: - throw new RuntimeException( - "Invalid map field number: " + number); + throw new RuntimeException("Invalid map field number: " + number); } } + @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.contactcenterinsights.v1.ResourcesProto.internal_static_google_cloud_contactcenterinsights_v1_FaqAnswerData_fieldAccessorTable + return com.google.cloud.contactcenterinsights.v1.ResourcesProto + .internal_static_google_cloud_contactcenterinsights_v1_FaqAnswerData_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.contactcenterinsights.v1.FaqAnswerData.class, com.google.cloud.contactcenterinsights.v1.FaqAnswerData.Builder.class); + com.google.cloud.contactcenterinsights.v1.FaqAnswerData.class, + com.google.cloud.contactcenterinsights.v1.FaqAnswerData.Builder.class); } public static final int ANSWER_FIELD_NUMBER = 1; + @SuppressWarnings("serial") private volatile java.lang.Object answer_ = ""; /** + * + * *
    * The piece of text from the `source` knowledge base document.
    * 
* * string answer = 1; + * * @return The answer. */ @java.lang.Override @@ -80,29 +102,29 @@ public java.lang.String getAnswer() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); answer_ = s; return s; } } /** + * + * *
    * The piece of text from the `source` knowledge base document.
    * 
* * string answer = 1; + * * @return The bytes for answer. */ @java.lang.Override - public com.google.protobuf.ByteString - getAnswerBytes() { + public com.google.protobuf.ByteString getAnswerBytes() { java.lang.Object ref = answer_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); answer_ = b; return b; } else { @@ -113,6 +135,8 @@ public java.lang.String getAnswer() { public static final int CONFIDENCE_SCORE_FIELD_NUMBER = 2; private float confidenceScore_ = 0F; /** + * + * *
    * The system's confidence score that this answer is a good match for this
    * conversation, ranging from 0.0 (completely uncertain) to 1.0 (completely
@@ -120,6 +144,7 @@ public java.lang.String getAnswer() {
    * 
* * float confidence_score = 2; + * * @return The confidenceScore. */ @java.lang.Override @@ -128,14 +153,18 @@ public float getConfidenceScore() { } public static final int QUESTION_FIELD_NUMBER = 3; + @SuppressWarnings("serial") private volatile java.lang.Object question_ = ""; /** + * + * *
    * The corresponding FAQ question.
    * 
* * string question = 3; + * * @return The question. */ @java.lang.Override @@ -144,29 +173,29 @@ public java.lang.String getQuestion() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); question_ = s; return s; } } /** + * + * *
    * The corresponding FAQ question.
    * 
* * string question = 3; + * * @return The bytes for question. */ @java.lang.Override - public com.google.protobuf.ByteString - getQuestionBytes() { + public com.google.protobuf.ByteString getQuestionBytes() { java.lang.Object ref = question_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); question_ = b; return b; } else { @@ -175,32 +204,34 @@ public java.lang.String getQuestion() { } public static final int METADATA_FIELD_NUMBER = 4; + private static final class MetadataDefaultEntryHolder { - static final com.google.protobuf.MapEntry< - java.lang.String, java.lang.String> defaultEntry = - com.google.protobuf.MapEntry - .newDefaultInstance( - com.google.cloud.contactcenterinsights.v1.ResourcesProto.internal_static_google_cloud_contactcenterinsights_v1_FaqAnswerData_MetadataEntry_descriptor, - com.google.protobuf.WireFormat.FieldType.STRING, - "", - com.google.protobuf.WireFormat.FieldType.STRING, - ""); + static final com.google.protobuf.MapEntry defaultEntry = + com.google.protobuf.MapEntry.newDefaultInstance( + com.google.cloud.contactcenterinsights.v1.ResourcesProto + .internal_static_google_cloud_contactcenterinsights_v1_FaqAnswerData_MetadataEntry_descriptor, + com.google.protobuf.WireFormat.FieldType.STRING, + "", + com.google.protobuf.WireFormat.FieldType.STRING, + ""); } + @SuppressWarnings("serial") - private com.google.protobuf.MapField< - java.lang.String, java.lang.String> metadata_; - private com.google.protobuf.MapField - internalGetMetadata() { + private com.google.protobuf.MapField metadata_; + + private com.google.protobuf.MapField internalGetMetadata() { if (metadata_ == null) { - return com.google.protobuf.MapField.emptyMapField( - MetadataDefaultEntryHolder.defaultEntry); + return com.google.protobuf.MapField.emptyMapField(MetadataDefaultEntryHolder.defaultEntry); } return metadata_; } + public int getMetadataCount() { return internalGetMetadata().getMap().size(); } /** + * + * *
    * Map that contains metadata about the FAQ answer and the document that
    * it originates from.
@@ -209,20 +240,21 @@ public int getMetadataCount() {
    * map<string, string> metadata = 4;
    */
   @java.lang.Override
-  public boolean containsMetadata(
-      java.lang.String key) {
-    if (key == null) { throw new NullPointerException("map key"); }
+  public boolean containsMetadata(java.lang.String key) {
+    if (key == null) {
+      throw new NullPointerException("map key");
+    }
     return internalGetMetadata().getMap().containsKey(key);
   }
-  /**
-   * Use {@link #getMetadataMap()} instead.
-   */
+  /** Use {@link #getMetadataMap()} instead. */
   @java.lang.Override
   @java.lang.Deprecated
   public java.util.Map getMetadata() {
     return getMetadataMap();
   }
   /**
+   *
+   *
    * 
    * Map that contains metadata about the FAQ answer and the document that
    * it originates from.
@@ -235,6 +267,8 @@ public java.util.Map getMetadataMap() {
     return internalGetMetadata().getMap();
   }
   /**
+   *
+   *
    * 
    * Map that contains metadata about the FAQ answer and the document that
    * it originates from.
@@ -243,17 +277,19 @@ public java.util.Map getMetadataMap() {
    * map<string, string> metadata = 4;
    */
   @java.lang.Override
-  public /* nullable */
-java.lang.String getMetadataOrDefault(
+  public /* nullable */ java.lang.String getMetadataOrDefault(
       java.lang.String key,
       /* nullable */
-java.lang.String defaultValue) {
-    if (key == null) { throw new NullPointerException("map key"); }
-    java.util.Map map =
-        internalGetMetadata().getMap();
+      java.lang.String defaultValue) {
+    if (key == null) {
+      throw new NullPointerException("map key");
+    }
+    java.util.Map map = internalGetMetadata().getMap();
     return map.containsKey(key) ? map.get(key) : defaultValue;
   }
   /**
+   *
+   *
    * 
    * Map that contains metadata about the FAQ answer and the document that
    * it originates from.
@@ -262,11 +298,11 @@ java.lang.String getMetadataOrDefault(
    * map<string, string> metadata = 4;
    */
   @java.lang.Override
-  public java.lang.String getMetadataOrThrow(
-      java.lang.String key) {
-    if (key == null) { throw new NullPointerException("map key"); }
-    java.util.Map map =
-        internalGetMetadata().getMap();
+  public java.lang.String getMetadataOrThrow(java.lang.String key) {
+    if (key == null) {
+      throw new NullPointerException("map key");
+    }
+    java.util.Map map = internalGetMetadata().getMap();
     if (!map.containsKey(key)) {
       throw new java.lang.IllegalArgumentException();
     }
@@ -274,9 +310,12 @@ public java.lang.String getMetadataOrThrow(
   }
 
   public static final int QUERY_RECORD_FIELD_NUMBER = 5;
+
   @SuppressWarnings("serial")
   private volatile java.lang.Object queryRecord_ = "";
   /**
+   *
+   *
    * 
    * The name of the answer record.
    * Format:
@@ -284,6 +323,7 @@ public java.lang.String getMetadataOrThrow(
    * 
* * string query_record = 5; + * * @return The queryRecord. */ @java.lang.Override @@ -292,14 +332,15 @@ public java.lang.String getQueryRecord() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); queryRecord_ = s; return s; } } /** + * + * *
    * The name of the answer record.
    * Format:
@@ -307,16 +348,15 @@ public java.lang.String getQueryRecord() {
    * 
* * string query_record = 5; + * * @return The bytes for queryRecord. */ @java.lang.Override - public com.google.protobuf.ByteString - getQueryRecordBytes() { + public com.google.protobuf.ByteString getQueryRecordBytes() { java.lang.Object ref = queryRecord_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); queryRecord_ = b; return b; } else { @@ -325,9 +365,12 @@ public java.lang.String getQueryRecord() { } public static final int SOURCE_FIELD_NUMBER = 6; + @SuppressWarnings("serial") private volatile java.lang.Object source_ = ""; /** + * + * *
    * The knowledge document that this answer was extracted from.
    * Format:
@@ -335,6 +378,7 @@ public java.lang.String getQueryRecord() {
    * 
* * string source = 6; + * * @return The source. */ @java.lang.Override @@ -343,14 +387,15 @@ public java.lang.String getSource() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); source_ = s; return s; } } /** + * + * *
    * The knowledge document that this answer was extracted from.
    * Format:
@@ -358,16 +403,15 @@ public java.lang.String getSource() {
    * 
* * string source = 6; + * * @return The bytes for source. */ @java.lang.Override - public com.google.protobuf.ByteString - getSourceBytes() { + public com.google.protobuf.ByteString getSourceBytes() { java.lang.Object ref = source_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); source_ = b; return b; } else { @@ -376,6 +420,7 @@ public java.lang.String getSource() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -387,8 +432,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(answer_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, answer_); } @@ -398,12 +442,8 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(question_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 3, question_); } - com.google.protobuf.GeneratedMessageV3 - .serializeStringMapTo( - output, - internalGetMetadata(), - MetadataDefaultEntryHolder.defaultEntry, - 4); + com.google.protobuf.GeneratedMessageV3.serializeStringMapTo( + output, internalGetMetadata(), MetadataDefaultEntryHolder.defaultEntry, 4); if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(queryRecord_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 5, queryRecord_); } @@ -423,21 +463,20 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, answer_); } if (java.lang.Float.floatToRawIntBits(confidenceScore_) != 0) { - size += com.google.protobuf.CodedOutputStream - .computeFloatSize(2, confidenceScore_); + size += com.google.protobuf.CodedOutputStream.computeFloatSize(2, confidenceScore_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(question_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, question_); } - for (java.util.Map.Entry entry - : internalGetMetadata().getMap().entrySet()) { - com.google.protobuf.MapEntry - metadata__ = MetadataDefaultEntryHolder.defaultEntry.newBuilderForType() - .setKey(entry.getKey()) - .setValue(entry.getValue()) - .build(); - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(4, metadata__); + for (java.util.Map.Entry entry : + internalGetMetadata().getMap().entrySet()) { + com.google.protobuf.MapEntry metadata__ = + MetadataDefaultEntryHolder.defaultEntry + .newBuilderForType() + .setKey(entry.getKey()) + .setValue(entry.getValue()) + .build(); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(4, metadata__); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(queryRecord_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(5, queryRecord_); @@ -453,26 +492,21 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.contactcenterinsights.v1.FaqAnswerData)) { return super.equals(obj); } - com.google.cloud.contactcenterinsights.v1.FaqAnswerData other = (com.google.cloud.contactcenterinsights.v1.FaqAnswerData) obj; + com.google.cloud.contactcenterinsights.v1.FaqAnswerData other = + (com.google.cloud.contactcenterinsights.v1.FaqAnswerData) obj; - if (!getAnswer() - .equals(other.getAnswer())) return false; + if (!getAnswer().equals(other.getAnswer())) return false; if (java.lang.Float.floatToIntBits(getConfidenceScore()) - != java.lang.Float.floatToIntBits( - other.getConfidenceScore())) return false; - if (!getQuestion() - .equals(other.getQuestion())) return false; - if (!internalGetMetadata().equals( - other.internalGetMetadata())) return false; - if (!getQueryRecord() - .equals(other.getQueryRecord())) return false; - if (!getSource() - .equals(other.getSource())) return false; + != java.lang.Float.floatToIntBits(other.getConfidenceScore())) return false; + if (!getQuestion().equals(other.getQuestion())) return false; + if (!internalGetMetadata().equals(other.internalGetMetadata())) return false; + if (!getQueryRecord().equals(other.getQueryRecord())) return false; + if (!getSource().equals(other.getSource())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -487,8 +521,7 @@ public int hashCode() { hash = (37 * hash) + ANSWER_FIELD_NUMBER; hash = (53 * hash) + getAnswer().hashCode(); hash = (37 * hash) + CONFIDENCE_SCORE_FIELD_NUMBER; - hash = (53 * hash) + java.lang.Float.floatToIntBits( - getConfidenceScore()); + hash = (53 * hash) + java.lang.Float.floatToIntBits(getConfidenceScore()); hash = (37 * hash) + QUESTION_FIELD_NUMBER; hash = (53 * hash) + getQuestion().hashCode(); if (!internalGetMetadata().getMap().isEmpty()) { @@ -505,151 +538,156 @@ public int hashCode() { } public static com.google.cloud.contactcenterinsights.v1.FaqAnswerData parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.contactcenterinsights.v1.FaqAnswerData parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.contactcenterinsights.v1.FaqAnswerData parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.contactcenterinsights.v1.FaqAnswerData parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.contactcenterinsights.v1.FaqAnswerData parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.contactcenterinsights.v1.FaqAnswerData parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.contactcenterinsights.v1.FaqAnswerData parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.contactcenterinsights.v1.FaqAnswerData parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.contactcenterinsights.v1.FaqAnswerData parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.contactcenterinsights.v1.FaqAnswerData parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.contactcenterinsights.v1.FaqAnswerData parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.contactcenterinsights.v1.FaqAnswerData parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.contactcenterinsights.v1.FaqAnswerData parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.contactcenterinsights.v1.FaqAnswerData parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.contactcenterinsights.v1.FaqAnswerData prototype) { + + public static Builder newBuilder( + com.google.cloud.contactcenterinsights.v1.FaqAnswerData prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Agent Assist frequently-asked-question answer data.
    * 
* * Protobuf type {@code google.cloud.contactcenterinsights.v1.FaqAnswerData} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.contactcenterinsights.v1.FaqAnswerData) com.google.cloud.contactcenterinsights.v1.FaqAnswerDataOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.contactcenterinsights.v1.ResourcesProto.internal_static_google_cloud_contactcenterinsights_v1_FaqAnswerData_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.contactcenterinsights.v1.ResourcesProto + .internal_static_google_cloud_contactcenterinsights_v1_FaqAnswerData_descriptor; } @SuppressWarnings({"rawtypes"}) - protected com.google.protobuf.MapField internalGetMapField( - int number) { + protected com.google.protobuf.MapField internalGetMapField(int number) { switch (number) { case 4: return internalGetMetadata(); default: - throw new RuntimeException( - "Invalid map field number: " + number); + throw new RuntimeException("Invalid map field number: " + number); } } + @SuppressWarnings({"rawtypes"}) - protected com.google.protobuf.MapField internalGetMutableMapField( - int number) { + protected com.google.protobuf.MapField internalGetMutableMapField(int number) { switch (number) { case 4: return internalGetMutableMetadata(); default: - throw new RuntimeException( - "Invalid map field number: " + number); + throw new RuntimeException("Invalid map field number: " + number); } } + @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.contactcenterinsights.v1.ResourcesProto.internal_static_google_cloud_contactcenterinsights_v1_FaqAnswerData_fieldAccessorTable + return com.google.cloud.contactcenterinsights.v1.ResourcesProto + .internal_static_google_cloud_contactcenterinsights_v1_FaqAnswerData_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.contactcenterinsights.v1.FaqAnswerData.class, com.google.cloud.contactcenterinsights.v1.FaqAnswerData.Builder.class); + com.google.cloud.contactcenterinsights.v1.FaqAnswerData.class, + com.google.cloud.contactcenterinsights.v1.FaqAnswerData.Builder.class); } // Construct using com.google.cloud.contactcenterinsights.v1.FaqAnswerData.newBuilder() - private Builder() { - - } + private Builder() {} - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -664,9 +702,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.contactcenterinsights.v1.ResourcesProto.internal_static_google_cloud_contactcenterinsights_v1_FaqAnswerData_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.contactcenterinsights.v1.ResourcesProto + .internal_static_google_cloud_contactcenterinsights_v1_FaqAnswerData_descriptor; } @java.lang.Override @@ -685,8 +723,11 @@ public com.google.cloud.contactcenterinsights.v1.FaqAnswerData build() { @java.lang.Override public com.google.cloud.contactcenterinsights.v1.FaqAnswerData buildPartial() { - com.google.cloud.contactcenterinsights.v1.FaqAnswerData result = new com.google.cloud.contactcenterinsights.v1.FaqAnswerData(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.cloud.contactcenterinsights.v1.FaqAnswerData result = + new com.google.cloud.contactcenterinsights.v1.FaqAnswerData(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } @@ -718,38 +759,39 @@ private void buildPartial0(com.google.cloud.contactcenterinsights.v1.FaqAnswerDa public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.contactcenterinsights.v1.FaqAnswerData) { - return mergeFrom((com.google.cloud.contactcenterinsights.v1.FaqAnswerData)other); + return mergeFrom((com.google.cloud.contactcenterinsights.v1.FaqAnswerData) other); } else { super.mergeFrom(other); return this; @@ -757,7 +799,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.contactcenterinsights.v1.FaqAnswerData other) { - if (other == com.google.cloud.contactcenterinsights.v1.FaqAnswerData.getDefaultInstance()) return this; + if (other == com.google.cloud.contactcenterinsights.v1.FaqAnswerData.getDefaultInstance()) + return this; if (!other.getAnswer().isEmpty()) { answer_ = other.answer_; bitField0_ |= 0x00000001; @@ -771,8 +814,7 @@ public Builder mergeFrom(com.google.cloud.contactcenterinsights.v1.FaqAnswerData bitField0_ |= 0x00000004; onChanged(); } - internalGetMutableMetadata().mergeFrom( - other.internalGetMetadata()); + internalGetMutableMetadata().mergeFrom(other.internalGetMetadata()); bitField0_ |= 0x00000008; if (!other.getQueryRecord().isEmpty()) { queryRecord_ = other.queryRecord_; @@ -810,46 +852,55 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - answer_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 21: { - confidenceScore_ = input.readFloat(); - bitField0_ |= 0x00000002; - break; - } // case 21 - case 26: { - question_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000004; - break; - } // case 26 - case 34: { - com.google.protobuf.MapEntry - metadata__ = input.readMessage( - MetadataDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry); - internalGetMutableMetadata().getMutableMap().put( - metadata__.getKey(), metadata__.getValue()); - bitField0_ |= 0x00000008; - break; - } // case 34 - case 42: { - queryRecord_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000010; - break; - } // case 42 - case 50: { - source_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000020; - break; - } // case 50 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + answer_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 21: + { + confidenceScore_ = input.readFloat(); + bitField0_ |= 0x00000002; + break; + } // case 21 + case 26: + { + question_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000004; + break; + } // case 26 + case 34: + { + com.google.protobuf.MapEntry metadata__ = + input.readMessage( + MetadataDefaultEntryHolder.defaultEntry.getParserForType(), + extensionRegistry); + internalGetMutableMetadata() + .getMutableMap() + .put(metadata__.getKey(), metadata__.getValue()); + bitField0_ |= 0x00000008; + break; + } // case 34 + case 42: + { + queryRecord_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000010; + break; + } // case 42 + case 50: + { + source_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000020; + break; + } // case 50 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -859,22 +910,25 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private java.lang.Object answer_ = ""; /** + * + * *
      * The piece of text from the `source` knowledge base document.
      * 
* * string answer = 1; + * * @return The answer. */ public java.lang.String getAnswer() { java.lang.Object ref = answer_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); answer_ = s; return s; @@ -883,20 +937,21 @@ public java.lang.String getAnswer() { } } /** + * + * *
      * The piece of text from the `source` knowledge base document.
      * 
* * string answer = 1; + * * @return The bytes for answer. */ - public com.google.protobuf.ByteString - getAnswerBytes() { + public com.google.protobuf.ByteString getAnswerBytes() { java.lang.Object ref = answer_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); answer_ = b; return b; } else { @@ -904,28 +959,35 @@ public java.lang.String getAnswer() { } } /** + * + * *
      * The piece of text from the `source` knowledge base document.
      * 
* * string answer = 1; + * * @param value The answer to set. * @return This builder for chaining. */ - public Builder setAnswer( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setAnswer(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } answer_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
      * The piece of text from the `source` knowledge base document.
      * 
* * string answer = 1; + * * @return This builder for chaining. */ public Builder clearAnswer() { @@ -935,17 +997,21 @@ public Builder clearAnswer() { return this; } /** + * + * *
      * The piece of text from the `source` knowledge base document.
      * 
* * string answer = 1; + * * @param value The bytes for answer to set. * @return This builder for chaining. */ - public Builder setAnswerBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setAnswerBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); answer_ = value; bitField0_ |= 0x00000001; @@ -953,8 +1019,10 @@ public Builder setAnswerBytes( return this; } - private float confidenceScore_ ; + private float confidenceScore_; /** + * + * *
      * The system's confidence score that this answer is a good match for this
      * conversation, ranging from 0.0 (completely uncertain) to 1.0 (completely
@@ -962,6 +1030,7 @@ public Builder setAnswerBytes(
      * 
* * float confidence_score = 2; + * * @return The confidenceScore. */ @java.lang.Override @@ -969,6 +1038,8 @@ public float getConfidenceScore() { return confidenceScore_; } /** + * + * *
      * The system's confidence score that this answer is a good match for this
      * conversation, ranging from 0.0 (completely uncertain) to 1.0 (completely
@@ -976,17 +1047,20 @@ public float getConfidenceScore() {
      * 
* * float confidence_score = 2; + * * @param value The confidenceScore to set. * @return This builder for chaining. */ public Builder setConfidenceScore(float value) { - + confidenceScore_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** + * + * *
      * The system's confidence score that this answer is a good match for this
      * conversation, ranging from 0.0 (completely uncertain) to 1.0 (completely
@@ -994,6 +1068,7 @@ public Builder setConfidenceScore(float value) {
      * 
* * float confidence_score = 2; + * * @return This builder for chaining. */ public Builder clearConfidenceScore() { @@ -1005,18 +1080,20 @@ public Builder clearConfidenceScore() { private java.lang.Object question_ = ""; /** + * + * *
      * The corresponding FAQ question.
      * 
* * string question = 3; + * * @return The question. */ public java.lang.String getQuestion() { java.lang.Object ref = question_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); question_ = s; return s; @@ -1025,20 +1102,21 @@ public java.lang.String getQuestion() { } } /** + * + * *
      * The corresponding FAQ question.
      * 
* * string question = 3; + * * @return The bytes for question. */ - public com.google.protobuf.ByteString - getQuestionBytes() { + public com.google.protobuf.ByteString getQuestionBytes() { java.lang.Object ref = question_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); question_ = b; return b; } else { @@ -1046,28 +1124,35 @@ public java.lang.String getQuestion() { } } /** + * + * *
      * The corresponding FAQ question.
      * 
* * string question = 3; + * * @param value The question to set. * @return This builder for chaining. */ - public Builder setQuestion( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setQuestion(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } question_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } /** + * + * *
      * The corresponding FAQ question.
      * 
* * string question = 3; + * * @return This builder for chaining. */ public Builder clearQuestion() { @@ -1077,17 +1162,21 @@ public Builder clearQuestion() { return this; } /** + * + * *
      * The corresponding FAQ question.
      * 
* * string question = 3; + * * @param value The bytes for question to set. * @return This builder for chaining. */ - public Builder setQuestionBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setQuestionBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); question_ = value; bitField0_ |= 0x00000004; @@ -1095,21 +1184,20 @@ public Builder setQuestionBytes( return this; } - private com.google.protobuf.MapField< - java.lang.String, java.lang.String> metadata_; - private com.google.protobuf.MapField - internalGetMetadata() { + private com.google.protobuf.MapField metadata_; + + private com.google.protobuf.MapField internalGetMetadata() { if (metadata_ == null) { - return com.google.protobuf.MapField.emptyMapField( - MetadataDefaultEntryHolder.defaultEntry); + return com.google.protobuf.MapField.emptyMapField(MetadataDefaultEntryHolder.defaultEntry); } return metadata_; } + private com.google.protobuf.MapField internalGetMutableMetadata() { if (metadata_ == null) { - metadata_ = com.google.protobuf.MapField.newMapField( - MetadataDefaultEntryHolder.defaultEntry); + metadata_ = + com.google.protobuf.MapField.newMapField(MetadataDefaultEntryHolder.defaultEntry); } if (!metadata_.isMutable()) { metadata_ = metadata_.copy(); @@ -1118,10 +1206,13 @@ public Builder setQuestionBytes( onChanged(); return metadata_; } + public int getMetadataCount() { return internalGetMetadata().getMap().size(); } /** + * + * *
      * Map that contains metadata about the FAQ answer and the document that
      * it originates from.
@@ -1130,20 +1221,21 @@ public int getMetadataCount() {
      * map<string, string> metadata = 4;
      */
     @java.lang.Override
-    public boolean containsMetadata(
-        java.lang.String key) {
-      if (key == null) { throw new NullPointerException("map key"); }
+    public boolean containsMetadata(java.lang.String key) {
+      if (key == null) {
+        throw new NullPointerException("map key");
+      }
       return internalGetMetadata().getMap().containsKey(key);
     }
-    /**
-     * Use {@link #getMetadataMap()} instead.
-     */
+    /** Use {@link #getMetadataMap()} instead. */
     @java.lang.Override
     @java.lang.Deprecated
     public java.util.Map getMetadata() {
       return getMetadataMap();
     }
     /**
+     *
+     *
      * 
      * Map that contains metadata about the FAQ answer and the document that
      * it originates from.
@@ -1156,6 +1248,8 @@ public java.util.Map getMetadataMap() {
       return internalGetMetadata().getMap();
     }
     /**
+     *
+     *
      * 
      * Map that contains metadata about the FAQ answer and the document that
      * it originates from.
@@ -1164,17 +1258,19 @@ public java.util.Map getMetadataMap() {
      * map<string, string> metadata = 4;
      */
     @java.lang.Override
-    public /* nullable */
-java.lang.String getMetadataOrDefault(
+    public /* nullable */ java.lang.String getMetadataOrDefault(
         java.lang.String key,
         /* nullable */
-java.lang.String defaultValue) {
-      if (key == null) { throw new NullPointerException("map key"); }
-      java.util.Map map =
-          internalGetMetadata().getMap();
+        java.lang.String defaultValue) {
+      if (key == null) {
+        throw new NullPointerException("map key");
+      }
+      java.util.Map map = internalGetMetadata().getMap();
       return map.containsKey(key) ? map.get(key) : defaultValue;
     }
     /**
+     *
+     *
      * 
      * Map that contains metadata about the FAQ answer and the document that
      * it originates from.
@@ -1183,23 +1279,25 @@ java.lang.String getMetadataOrDefault(
      * map<string, string> metadata = 4;
      */
     @java.lang.Override
-    public java.lang.String getMetadataOrThrow(
-        java.lang.String key) {
-      if (key == null) { throw new NullPointerException("map key"); }
-      java.util.Map map =
-          internalGetMetadata().getMap();
+    public java.lang.String getMetadataOrThrow(java.lang.String key) {
+      if (key == null) {
+        throw new NullPointerException("map key");
+      }
+      java.util.Map map = internalGetMetadata().getMap();
       if (!map.containsKey(key)) {
         throw new java.lang.IllegalArgumentException();
       }
       return map.get(key);
     }
+
     public Builder clearMetadata() {
       bitField0_ = (bitField0_ & ~0x00000008);
-      internalGetMutableMetadata().getMutableMap()
-          .clear();
+      internalGetMutableMetadata().getMutableMap().clear();
       return this;
     }
     /**
+     *
+     *
      * 
      * Map that contains metadata about the FAQ answer and the document that
      * it originates from.
@@ -1207,23 +1305,22 @@ public Builder clearMetadata() {
      *
      * map<string, string> metadata = 4;
      */
-    public Builder removeMetadata(
-        java.lang.String key) {
-      if (key == null) { throw new NullPointerException("map key"); }
-      internalGetMutableMetadata().getMutableMap()
-          .remove(key);
+    public Builder removeMetadata(java.lang.String key) {
+      if (key == null) {
+        throw new NullPointerException("map key");
+      }
+      internalGetMutableMetadata().getMutableMap().remove(key);
       return this;
     }
-    /**
-     * Use alternate mutation accessors instead.
-     */
+    /** Use alternate mutation accessors instead. */
     @java.lang.Deprecated
-    public java.util.Map
-        getMutableMetadata() {
+    public java.util.Map getMutableMetadata() {
       bitField0_ |= 0x00000008;
       return internalGetMutableMetadata().getMutableMap();
     }
     /**
+     *
+     *
      * 
      * Map that contains metadata about the FAQ answer and the document that
      * it originates from.
@@ -1231,17 +1328,20 @@ public Builder removeMetadata(
      *
      * map<string, string> metadata = 4;
      */
-    public Builder putMetadata(
-        java.lang.String key,
-        java.lang.String value) {
-      if (key == null) { throw new NullPointerException("map key"); }
-      if (value == null) { throw new NullPointerException("map value"); }
-      internalGetMutableMetadata().getMutableMap()
-          .put(key, value);
+    public Builder putMetadata(java.lang.String key, java.lang.String value) {
+      if (key == null) {
+        throw new NullPointerException("map key");
+      }
+      if (value == null) {
+        throw new NullPointerException("map value");
+      }
+      internalGetMutableMetadata().getMutableMap().put(key, value);
       bitField0_ |= 0x00000008;
       return this;
     }
     /**
+     *
+     *
      * 
      * Map that contains metadata about the FAQ answer and the document that
      * it originates from.
@@ -1249,16 +1349,16 @@ public Builder putMetadata(
      *
      * map<string, string> metadata = 4;
      */
-    public Builder putAllMetadata(
-        java.util.Map values) {
-      internalGetMutableMetadata().getMutableMap()
-          .putAll(values);
+    public Builder putAllMetadata(java.util.Map values) {
+      internalGetMutableMetadata().getMutableMap().putAll(values);
       bitField0_ |= 0x00000008;
       return this;
     }
 
     private java.lang.Object queryRecord_ = "";
     /**
+     *
+     *
      * 
      * The name of the answer record.
      * Format:
@@ -1266,13 +1366,13 @@ public Builder putAllMetadata(
      * 
* * string query_record = 5; + * * @return The queryRecord. */ public java.lang.String getQueryRecord() { java.lang.Object ref = queryRecord_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); queryRecord_ = s; return s; @@ -1281,6 +1381,8 @@ public java.lang.String getQueryRecord() { } } /** + * + * *
      * The name of the answer record.
      * Format:
@@ -1288,15 +1390,14 @@ public java.lang.String getQueryRecord() {
      * 
* * string query_record = 5; + * * @return The bytes for queryRecord. */ - public com.google.protobuf.ByteString - getQueryRecordBytes() { + public com.google.protobuf.ByteString getQueryRecordBytes() { java.lang.Object ref = queryRecord_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); queryRecord_ = b; return b; } else { @@ -1304,6 +1405,8 @@ public java.lang.String getQueryRecord() { } } /** + * + * *
      * The name of the answer record.
      * Format:
@@ -1311,18 +1414,22 @@ public java.lang.String getQueryRecord() {
      * 
* * string query_record = 5; + * * @param value The queryRecord to set. * @return This builder for chaining. */ - public Builder setQueryRecord( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setQueryRecord(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } queryRecord_ = value; bitField0_ |= 0x00000010; onChanged(); return this; } /** + * + * *
      * The name of the answer record.
      * Format:
@@ -1330,6 +1437,7 @@ public Builder setQueryRecord(
      * 
* * string query_record = 5; + * * @return This builder for chaining. */ public Builder clearQueryRecord() { @@ -1339,6 +1447,8 @@ public Builder clearQueryRecord() { return this; } /** + * + * *
      * The name of the answer record.
      * Format:
@@ -1346,12 +1456,14 @@ public Builder clearQueryRecord() {
      * 
* * string query_record = 5; + * * @param value The bytes for queryRecord to set. * @return This builder for chaining. */ - public Builder setQueryRecordBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setQueryRecordBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); queryRecord_ = value; bitField0_ |= 0x00000010; @@ -1361,6 +1473,8 @@ public Builder setQueryRecordBytes( private java.lang.Object source_ = ""; /** + * + * *
      * The knowledge document that this answer was extracted from.
      * Format:
@@ -1368,13 +1482,13 @@ public Builder setQueryRecordBytes(
      * 
* * string source = 6; + * * @return The source. */ public java.lang.String getSource() { java.lang.Object ref = source_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); source_ = s; return s; @@ -1383,6 +1497,8 @@ public java.lang.String getSource() { } } /** + * + * *
      * The knowledge document that this answer was extracted from.
      * Format:
@@ -1390,15 +1506,14 @@ public java.lang.String getSource() {
      * 
* * string source = 6; + * * @return The bytes for source. */ - public com.google.protobuf.ByteString - getSourceBytes() { + public com.google.protobuf.ByteString getSourceBytes() { java.lang.Object ref = source_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); source_ = b; return b; } else { @@ -1406,6 +1521,8 @@ public java.lang.String getSource() { } } /** + * + * *
      * The knowledge document that this answer was extracted from.
      * Format:
@@ -1413,18 +1530,22 @@ public java.lang.String getSource() {
      * 
* * string source = 6; + * * @param value The source to set. * @return This builder for chaining. */ - public Builder setSource( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setSource(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } source_ = value; bitField0_ |= 0x00000020; onChanged(); return this; } /** + * + * *
      * The knowledge document that this answer was extracted from.
      * Format:
@@ -1432,6 +1553,7 @@ public Builder setSource(
      * 
* * string source = 6; + * * @return This builder for chaining. */ public Builder clearSource() { @@ -1441,6 +1563,8 @@ public Builder clearSource() { return this; } /** + * + * *
      * The knowledge document that this answer was extracted from.
      * Format:
@@ -1448,21 +1572,23 @@ public Builder clearSource() {
      * 
* * string source = 6; + * * @param value The bytes for source to set. * @return This builder for chaining. */ - public Builder setSourceBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setSourceBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); source_ = value; bitField0_ |= 0x00000020; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1472,12 +1598,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.contactcenterinsights.v1.FaqAnswerData) } // @@protoc_insertion_point(class_scope:google.cloud.contactcenterinsights.v1.FaqAnswerData) private static final com.google.cloud.contactcenterinsights.v1.FaqAnswerData DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.contactcenterinsights.v1.FaqAnswerData(); } @@ -1486,27 +1612,27 @@ public static com.google.cloud.contactcenterinsights.v1.FaqAnswerData getDefault return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public FaqAnswerData parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public FaqAnswerData parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1521,6 +1647,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.contactcenterinsights.v1.FaqAnswerData getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/FaqAnswerDataOrBuilder.java b/java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/FaqAnswerDataOrBuilder.java similarity index 71% rename from owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/FaqAnswerDataOrBuilder.java rename to java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/FaqAnswerDataOrBuilder.java index 067a83df0d41..29eec60a3c51 100644 --- a/owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/FaqAnswerDataOrBuilder.java +++ b/java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/FaqAnswerDataOrBuilder.java @@ -1,33 +1,56 @@ +/* + * 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. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/contactcenterinsights/v1/resources.proto package com.google.cloud.contactcenterinsights.v1; -public interface FaqAnswerDataOrBuilder extends +public interface FaqAnswerDataOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.contactcenterinsights.v1.FaqAnswerData) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * The piece of text from the `source` knowledge base document.
    * 
* * string answer = 1; + * * @return The answer. */ java.lang.String getAnswer(); /** + * + * *
    * The piece of text from the `source` knowledge base document.
    * 
* * string answer = 1; + * * @return The bytes for answer. */ - com.google.protobuf.ByteString - getAnswerBytes(); + com.google.protobuf.ByteString getAnswerBytes(); /** + * + * *
    * The system's confidence score that this answer is a good match for this
    * conversation, ranging from 0.0 (completely uncertain) to 1.0 (completely
@@ -35,31 +58,39 @@ public interface FaqAnswerDataOrBuilder extends
    * 
* * float confidence_score = 2; + * * @return The confidenceScore. */ float getConfidenceScore(); /** + * + * *
    * The corresponding FAQ question.
    * 
* * string question = 3; + * * @return The question. */ java.lang.String getQuestion(); /** + * + * *
    * The corresponding FAQ question.
    * 
* * string question = 3; + * * @return The bytes for question. */ - com.google.protobuf.ByteString - getQuestionBytes(); + com.google.protobuf.ByteString getQuestionBytes(); /** + * + * *
    * Map that contains metadata about the FAQ answer and the document that
    * it originates from.
@@ -69,6 +100,8 @@ public interface FaqAnswerDataOrBuilder extends
    */
   int getMetadataCount();
   /**
+   *
+   *
    * 
    * Map that contains metadata about the FAQ answer and the document that
    * it originates from.
@@ -76,15 +109,13 @@ public interface FaqAnswerDataOrBuilder extends
    *
    * map<string, string> metadata = 4;
    */
-  boolean containsMetadata(
-      java.lang.String key);
-  /**
-   * Use {@link #getMetadataMap()} instead.
-   */
+  boolean containsMetadata(java.lang.String key);
+  /** Use {@link #getMetadataMap()} instead. */
   @java.lang.Deprecated
-  java.util.Map
-  getMetadata();
+  java.util.Map getMetadata();
   /**
+   *
+   *
    * 
    * Map that contains metadata about the FAQ answer and the document that
    * it originates from.
@@ -92,9 +123,10 @@ boolean containsMetadata(
    *
    * map<string, string> metadata = 4;
    */
-  java.util.Map
-  getMetadataMap();
+  java.util.Map getMetadataMap();
   /**
+   *
+   *
    * 
    * Map that contains metadata about the FAQ answer and the document that
    * it originates from.
@@ -103,11 +135,13 @@ boolean containsMetadata(
    * map<string, string> metadata = 4;
    */
   /* nullable */
-java.lang.String getMetadataOrDefault(
+  java.lang.String getMetadataOrDefault(
       java.lang.String key,
       /* nullable */
-java.lang.String defaultValue);
+      java.lang.String defaultValue);
   /**
+   *
+   *
    * 
    * Map that contains metadata about the FAQ answer and the document that
    * it originates from.
@@ -115,10 +149,11 @@ java.lang.String getMetadataOrDefault(
    *
    * map<string, string> metadata = 4;
    */
-  java.lang.String getMetadataOrThrow(
-      java.lang.String key);
+  java.lang.String getMetadataOrThrow(java.lang.String key);
 
   /**
+   *
+   *
    * 
    * The name of the answer record.
    * Format:
@@ -126,10 +161,13 @@ java.lang.String getMetadataOrThrow(
    * 
* * string query_record = 5; + * * @return The queryRecord. */ java.lang.String getQueryRecord(); /** + * + * *
    * The name of the answer record.
    * Format:
@@ -137,12 +175,14 @@ java.lang.String getMetadataOrThrow(
    * 
* * string query_record = 5; + * * @return The bytes for queryRecord. */ - com.google.protobuf.ByteString - getQueryRecordBytes(); + com.google.protobuf.ByteString getQueryRecordBytes(); /** + * + * *
    * The knowledge document that this answer was extracted from.
    * Format:
@@ -150,10 +190,13 @@ java.lang.String getMetadataOrThrow(
    * 
* * string source = 6; + * * @return The source. */ java.lang.String getSource(); /** + * + * *
    * The knowledge document that this answer was extracted from.
    * Format:
@@ -161,8 +204,8 @@ java.lang.String getMetadataOrThrow(
    * 
* * string source = 6; + * * @return The bytes for source. */ - com.google.protobuf.ByteString - getSourceBytes(); + com.google.protobuf.ByteString getSourceBytes(); } diff --git a/owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/GcsSource.java b/java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/GcsSource.java similarity index 69% rename from owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/GcsSource.java rename to java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/GcsSource.java index afc025328c52..2841db1e3c42 100644 --- a/owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/GcsSource.java +++ b/java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/GcsSource.java @@ -1,24 +1,42 @@ +/* + * 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. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/contactcenterinsights/v1/resources.proto package com.google.cloud.contactcenterinsights.v1; /** + * + * *
  * A Cloud Storage source of conversation data.
  * 
* * Protobuf type {@code google.cloud.contactcenterinsights.v1.GcsSource} */ -public final class GcsSource extends - com.google.protobuf.GeneratedMessageV3 implements +public final class GcsSource extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.contactcenterinsights.v1.GcsSource) GcsSourceOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use GcsSource.newBuilder() to construct. private GcsSource(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private GcsSource() { audioUri_ = ""; transcriptUri_ = ""; @@ -26,39 +44,44 @@ private GcsSource() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new GcsSource(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.contactcenterinsights.v1.ResourcesProto.internal_static_google_cloud_contactcenterinsights_v1_GcsSource_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.contactcenterinsights.v1.ResourcesProto + .internal_static_google_cloud_contactcenterinsights_v1_GcsSource_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.contactcenterinsights.v1.ResourcesProto.internal_static_google_cloud_contactcenterinsights_v1_GcsSource_fieldAccessorTable + return com.google.cloud.contactcenterinsights.v1.ResourcesProto + .internal_static_google_cloud_contactcenterinsights_v1_GcsSource_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.contactcenterinsights.v1.GcsSource.class, com.google.cloud.contactcenterinsights.v1.GcsSource.Builder.class); + com.google.cloud.contactcenterinsights.v1.GcsSource.class, + com.google.cloud.contactcenterinsights.v1.GcsSource.Builder.class); } public static final int AUDIO_URI_FIELD_NUMBER = 1; + @SuppressWarnings("serial") private volatile java.lang.Object audioUri_ = ""; /** + * + * *
    * Cloud Storage URI that points to a file that contains the conversation
    * audio.
    * 
* * string audio_uri = 1; + * * @return The audioUri. */ @java.lang.Override @@ -67,30 +90,30 @@ public java.lang.String getAudioUri() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); audioUri_ = s; return s; } } /** + * + * *
    * Cloud Storage URI that points to a file that contains the conversation
    * audio.
    * 
* * string audio_uri = 1; + * * @return The bytes for audioUri. */ @java.lang.Override - public com.google.protobuf.ByteString - getAudioUriBytes() { + public com.google.protobuf.ByteString getAudioUriBytes() { java.lang.Object ref = audioUri_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); audioUri_ = b; return b; } else { @@ -99,15 +122,19 @@ public java.lang.String getAudioUri() { } public static final int TRANSCRIPT_URI_FIELD_NUMBER = 2; + @SuppressWarnings("serial") private volatile java.lang.Object transcriptUri_ = ""; /** + * + * *
    * Immutable. Cloud Storage URI that points to a file that contains the
    * conversation transcript.
    * 
* * string transcript_uri = 2 [(.google.api.field_behavior) = IMMUTABLE]; + * * @return The transcriptUri. */ @java.lang.Override @@ -116,30 +143,30 @@ public java.lang.String getTranscriptUri() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); transcriptUri_ = s; return s; } } /** + * + * *
    * Immutable. Cloud Storage URI that points to a file that contains the
    * conversation transcript.
    * 
* * string transcript_uri = 2 [(.google.api.field_behavior) = IMMUTABLE]; + * * @return The bytes for transcriptUri. */ @java.lang.Override - public com.google.protobuf.ByteString - getTranscriptUriBytes() { + public com.google.protobuf.ByteString getTranscriptUriBytes() { java.lang.Object ref = transcriptUri_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); transcriptUri_ = b; return b; } else { @@ -148,6 +175,7 @@ public java.lang.String getTranscriptUri() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -159,8 +187,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(audioUri_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, audioUri_); } @@ -190,17 +217,16 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.contactcenterinsights.v1.GcsSource)) { return super.equals(obj); } - com.google.cloud.contactcenterinsights.v1.GcsSource other = (com.google.cloud.contactcenterinsights.v1.GcsSource) obj; + com.google.cloud.contactcenterinsights.v1.GcsSource other = + (com.google.cloud.contactcenterinsights.v1.GcsSource) obj; - if (!getAudioUri() - .equals(other.getAudioUri())) return false; - if (!getTranscriptUri() - .equals(other.getTranscriptUri())) return false; + if (!getAudioUri().equals(other.getAudioUri())) return false; + if (!getTranscriptUri().equals(other.getTranscriptUri())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -222,129 +248,135 @@ public int hashCode() { } public static com.google.cloud.contactcenterinsights.v1.GcsSource parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.contactcenterinsights.v1.GcsSource parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.contactcenterinsights.v1.GcsSource parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.contactcenterinsights.v1.GcsSource parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.contactcenterinsights.v1.GcsSource parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.contactcenterinsights.v1.GcsSource parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.contactcenterinsights.v1.GcsSource parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.contactcenterinsights.v1.GcsSource parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.contactcenterinsights.v1.GcsSource parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.contactcenterinsights.v1.GcsSource parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.contactcenterinsights.v1.GcsSource parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.contactcenterinsights.v1.GcsSource parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.contactcenterinsights.v1.GcsSource parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.contactcenterinsights.v1.GcsSource parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.cloud.contactcenterinsights.v1.GcsSource prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * A Cloud Storage source of conversation data.
    * 
* * Protobuf type {@code google.cloud.contactcenterinsights.v1.GcsSource} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.contactcenterinsights.v1.GcsSource) com.google.cloud.contactcenterinsights.v1.GcsSourceOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.contactcenterinsights.v1.ResourcesProto.internal_static_google_cloud_contactcenterinsights_v1_GcsSource_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.contactcenterinsights.v1.ResourcesProto + .internal_static_google_cloud_contactcenterinsights_v1_GcsSource_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.contactcenterinsights.v1.ResourcesProto.internal_static_google_cloud_contactcenterinsights_v1_GcsSource_fieldAccessorTable + return com.google.cloud.contactcenterinsights.v1.ResourcesProto + .internal_static_google_cloud_contactcenterinsights_v1_GcsSource_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.contactcenterinsights.v1.GcsSource.class, com.google.cloud.contactcenterinsights.v1.GcsSource.Builder.class); + com.google.cloud.contactcenterinsights.v1.GcsSource.class, + com.google.cloud.contactcenterinsights.v1.GcsSource.Builder.class); } // Construct using com.google.cloud.contactcenterinsights.v1.GcsSource.newBuilder() - private Builder() { - - } + private Builder() {} - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -355,9 +387,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.contactcenterinsights.v1.ResourcesProto.internal_static_google_cloud_contactcenterinsights_v1_GcsSource_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.contactcenterinsights.v1.ResourcesProto + .internal_static_google_cloud_contactcenterinsights_v1_GcsSource_descriptor; } @java.lang.Override @@ -376,8 +408,11 @@ public com.google.cloud.contactcenterinsights.v1.GcsSource build() { @java.lang.Override public com.google.cloud.contactcenterinsights.v1.GcsSource buildPartial() { - com.google.cloud.contactcenterinsights.v1.GcsSource result = new com.google.cloud.contactcenterinsights.v1.GcsSource(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.cloud.contactcenterinsights.v1.GcsSource result = + new com.google.cloud.contactcenterinsights.v1.GcsSource(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } @@ -396,38 +431,39 @@ private void buildPartial0(com.google.cloud.contactcenterinsights.v1.GcsSource r public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.contactcenterinsights.v1.GcsSource) { - return mergeFrom((com.google.cloud.contactcenterinsights.v1.GcsSource)other); + return mergeFrom((com.google.cloud.contactcenterinsights.v1.GcsSource) other); } else { super.mergeFrom(other); return this; @@ -435,7 +471,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.contactcenterinsights.v1.GcsSource other) { - if (other == com.google.cloud.contactcenterinsights.v1.GcsSource.getDefaultInstance()) return this; + if (other == com.google.cloud.contactcenterinsights.v1.GcsSource.getDefaultInstance()) + return this; if (!other.getAudioUri().isEmpty()) { audioUri_ = other.audioUri_; bitField0_ |= 0x00000001; @@ -472,22 +509,25 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - audioUri_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: { - transcriptUri_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000002; - break; - } // case 18 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + audioUri_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: + { + transcriptUri_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + break; + } // case 18 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -497,23 +537,26 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private java.lang.Object audioUri_ = ""; /** + * + * *
      * Cloud Storage URI that points to a file that contains the conversation
      * audio.
      * 
* * string audio_uri = 1; + * * @return The audioUri. */ public java.lang.String getAudioUri() { java.lang.Object ref = audioUri_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); audioUri_ = s; return s; @@ -522,21 +565,22 @@ public java.lang.String getAudioUri() { } } /** + * + * *
      * Cloud Storage URI that points to a file that contains the conversation
      * audio.
      * 
* * string audio_uri = 1; + * * @return The bytes for audioUri. */ - public com.google.protobuf.ByteString - getAudioUriBytes() { + public com.google.protobuf.ByteString getAudioUriBytes() { java.lang.Object ref = audioUri_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); audioUri_ = b; return b; } else { @@ -544,30 +588,37 @@ public java.lang.String getAudioUri() { } } /** + * + * *
      * Cloud Storage URI that points to a file that contains the conversation
      * audio.
      * 
* * string audio_uri = 1; + * * @param value The audioUri to set. * @return This builder for chaining. */ - public Builder setAudioUri( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setAudioUri(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } audioUri_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
      * Cloud Storage URI that points to a file that contains the conversation
      * audio.
      * 
* * string audio_uri = 1; + * * @return This builder for chaining. */ public Builder clearAudioUri() { @@ -577,18 +628,22 @@ public Builder clearAudioUri() { return this; } /** + * + * *
      * Cloud Storage URI that points to a file that contains the conversation
      * audio.
      * 
* * string audio_uri = 1; + * * @param value The bytes for audioUri to set. * @return This builder for chaining. */ - public Builder setAudioUriBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setAudioUriBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); audioUri_ = value; bitField0_ |= 0x00000001; @@ -598,19 +653,21 @@ public Builder setAudioUriBytes( private java.lang.Object transcriptUri_ = ""; /** + * + * *
      * Immutable. Cloud Storage URI that points to a file that contains the
      * conversation transcript.
      * 
* * string transcript_uri = 2 [(.google.api.field_behavior) = IMMUTABLE]; + * * @return The transcriptUri. */ public java.lang.String getTranscriptUri() { java.lang.Object ref = transcriptUri_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); transcriptUri_ = s; return s; @@ -619,21 +676,22 @@ public java.lang.String getTranscriptUri() { } } /** + * + * *
      * Immutable. Cloud Storage URI that points to a file that contains the
      * conversation transcript.
      * 
* * string transcript_uri = 2 [(.google.api.field_behavior) = IMMUTABLE]; + * * @return The bytes for transcriptUri. */ - public com.google.protobuf.ByteString - getTranscriptUriBytes() { + public com.google.protobuf.ByteString getTranscriptUriBytes() { java.lang.Object ref = transcriptUri_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); transcriptUri_ = b; return b; } else { @@ -641,30 +699,37 @@ public java.lang.String getTranscriptUri() { } } /** + * + * *
      * Immutable. Cloud Storage URI that points to a file that contains the
      * conversation transcript.
      * 
* * string transcript_uri = 2 [(.google.api.field_behavior) = IMMUTABLE]; + * * @param value The transcriptUri to set. * @return This builder for chaining. */ - public Builder setTranscriptUri( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setTranscriptUri(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } transcriptUri_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** + * + * *
      * Immutable. Cloud Storage URI that points to a file that contains the
      * conversation transcript.
      * 
* * string transcript_uri = 2 [(.google.api.field_behavior) = IMMUTABLE]; + * * @return This builder for chaining. */ public Builder clearTranscriptUri() { @@ -674,27 +739,31 @@ public Builder clearTranscriptUri() { return this; } /** + * + * *
      * Immutable. Cloud Storage URI that points to a file that contains the
      * conversation transcript.
      * 
* * string transcript_uri = 2 [(.google.api.field_behavior) = IMMUTABLE]; + * * @param value The bytes for transcriptUri to set. * @return This builder for chaining. */ - public Builder setTranscriptUriBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setTranscriptUriBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); transcriptUri_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -704,12 +773,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.contactcenterinsights.v1.GcsSource) } // @@protoc_insertion_point(class_scope:google.cloud.contactcenterinsights.v1.GcsSource) private static final com.google.cloud.contactcenterinsights.v1.GcsSource DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.contactcenterinsights.v1.GcsSource(); } @@ -718,27 +787,27 @@ public static com.google.cloud.contactcenterinsights.v1.GcsSource getDefaultInst return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public GcsSource parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public GcsSource parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -753,6 +822,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.contactcenterinsights.v1.GcsSource getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/GcsSourceOrBuilder.java b/java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/GcsSourceOrBuilder.java similarity index 62% rename from owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/GcsSourceOrBuilder.java rename to java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/GcsSourceOrBuilder.java index 546ed17011d4..0b86dded9b22 100644 --- a/owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/GcsSourceOrBuilder.java +++ b/java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/GcsSourceOrBuilder.java @@ -1,53 +1,79 @@ +/* + * 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. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/contactcenterinsights/v1/resources.proto package com.google.cloud.contactcenterinsights.v1; -public interface GcsSourceOrBuilder extends +public interface GcsSourceOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.contactcenterinsights.v1.GcsSource) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Cloud Storage URI that points to a file that contains the conversation
    * audio.
    * 
* * string audio_uri = 1; + * * @return The audioUri. */ java.lang.String getAudioUri(); /** + * + * *
    * Cloud Storage URI that points to a file that contains the conversation
    * audio.
    * 
* * string audio_uri = 1; + * * @return The bytes for audioUri. */ - com.google.protobuf.ByteString - getAudioUriBytes(); + com.google.protobuf.ByteString getAudioUriBytes(); /** + * + * *
    * Immutable. Cloud Storage URI that points to a file that contains the
    * conversation transcript.
    * 
* * string transcript_uri = 2 [(.google.api.field_behavior) = IMMUTABLE]; + * * @return The transcriptUri. */ java.lang.String getTranscriptUri(); /** + * + * *
    * Immutable. Cloud Storage URI that points to a file that contains the
    * conversation transcript.
    * 
* * string transcript_uri = 2 [(.google.api.field_behavior) = IMMUTABLE]; + * * @return The bytes for transcriptUri. */ - com.google.protobuf.ByteString - getTranscriptUriBytes(); + com.google.protobuf.ByteString getTranscriptUriBytes(); } diff --git a/owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/GetAnalysisRequest.java b/java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/GetAnalysisRequest.java similarity index 61% rename from owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/GetAnalysisRequest.java rename to java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/GetAnalysisRequest.java index 9fab428f08a0..0b4381e33565 100644 --- a/owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/GetAnalysisRequest.java +++ b/java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/GetAnalysisRequest.java @@ -1,62 +1,87 @@ +/* + * 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. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/contactcenterinsights/v1/contact_center_insights.proto package com.google.cloud.contactcenterinsights.v1; /** + * + * *
  * The request to get an analysis.
  * 
* * Protobuf type {@code google.cloud.contactcenterinsights.v1.GetAnalysisRequest} */ -public final class GetAnalysisRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class GetAnalysisRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.contactcenterinsights.v1.GetAnalysisRequest) GetAnalysisRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use GetAnalysisRequest.newBuilder() to construct. private GetAnalysisRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private GetAnalysisRequest() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new GetAnalysisRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto.internal_static_google_cloud_contactcenterinsights_v1_GetAnalysisRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto + .internal_static_google_cloud_contactcenterinsights_v1_GetAnalysisRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto.internal_static_google_cloud_contactcenterinsights_v1_GetAnalysisRequest_fieldAccessorTable + return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto + .internal_static_google_cloud_contactcenterinsights_v1_GetAnalysisRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.contactcenterinsights.v1.GetAnalysisRequest.class, com.google.cloud.contactcenterinsights.v1.GetAnalysisRequest.Builder.class); + com.google.cloud.contactcenterinsights.v1.GetAnalysisRequest.class, + com.google.cloud.contactcenterinsights.v1.GetAnalysisRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; + @SuppressWarnings("serial") private volatile java.lang.Object name_ = ""; /** + * + * *
    * Required. The name of the analysis to get.
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ @java.lang.Override @@ -65,29 +90,31 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** + * + * *
    * Required. The name of the analysis to get.
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -96,6 +123,7 @@ public java.lang.String getName() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -107,8 +135,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -132,15 +159,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.contactcenterinsights.v1.GetAnalysisRequest)) { return super.equals(obj); } - com.google.cloud.contactcenterinsights.v1.GetAnalysisRequest other = (com.google.cloud.contactcenterinsights.v1.GetAnalysisRequest) obj; + com.google.cloud.contactcenterinsights.v1.GetAnalysisRequest other = + (com.google.cloud.contactcenterinsights.v1.GetAnalysisRequest) obj; - if (!getName() - .equals(other.getName())) return false; + if (!getName().equals(other.getName())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -160,129 +187,136 @@ public int hashCode() { } public static com.google.cloud.contactcenterinsights.v1.GetAnalysisRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.contactcenterinsights.v1.GetAnalysisRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.contactcenterinsights.v1.GetAnalysisRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.contactcenterinsights.v1.GetAnalysisRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.contactcenterinsights.v1.GetAnalysisRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.contactcenterinsights.v1.GetAnalysisRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.contactcenterinsights.v1.GetAnalysisRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.contactcenterinsights.v1.GetAnalysisRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.contactcenterinsights.v1.GetAnalysisRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.contactcenterinsights.v1.GetAnalysisRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.contactcenterinsights.v1.GetAnalysisRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.contactcenterinsights.v1.GetAnalysisRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.contactcenterinsights.v1.GetAnalysisRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.contactcenterinsights.v1.GetAnalysisRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.contactcenterinsights.v1.GetAnalysisRequest prototype) { + + public static Builder newBuilder( + com.google.cloud.contactcenterinsights.v1.GetAnalysisRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * The request to get an analysis.
    * 
* * Protobuf type {@code google.cloud.contactcenterinsights.v1.GetAnalysisRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.contactcenterinsights.v1.GetAnalysisRequest) com.google.cloud.contactcenterinsights.v1.GetAnalysisRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto.internal_static_google_cloud_contactcenterinsights_v1_GetAnalysisRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto + .internal_static_google_cloud_contactcenterinsights_v1_GetAnalysisRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto.internal_static_google_cloud_contactcenterinsights_v1_GetAnalysisRequest_fieldAccessorTable + return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto + .internal_static_google_cloud_contactcenterinsights_v1_GetAnalysisRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.contactcenterinsights.v1.GetAnalysisRequest.class, com.google.cloud.contactcenterinsights.v1.GetAnalysisRequest.Builder.class); + com.google.cloud.contactcenterinsights.v1.GetAnalysisRequest.class, + com.google.cloud.contactcenterinsights.v1.GetAnalysisRequest.Builder.class); } // Construct using com.google.cloud.contactcenterinsights.v1.GetAnalysisRequest.newBuilder() - private Builder() { + private Builder() {} - } - - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -292,13 +326,14 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto.internal_static_google_cloud_contactcenterinsights_v1_GetAnalysisRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto + .internal_static_google_cloud_contactcenterinsights_v1_GetAnalysisRequest_descriptor; } @java.lang.Override - public com.google.cloud.contactcenterinsights.v1.GetAnalysisRequest getDefaultInstanceForType() { + public com.google.cloud.contactcenterinsights.v1.GetAnalysisRequest + getDefaultInstanceForType() { return com.google.cloud.contactcenterinsights.v1.GetAnalysisRequest.getDefaultInstance(); } @@ -313,13 +348,17 @@ public com.google.cloud.contactcenterinsights.v1.GetAnalysisRequest build() { @java.lang.Override public com.google.cloud.contactcenterinsights.v1.GetAnalysisRequest buildPartial() { - com.google.cloud.contactcenterinsights.v1.GetAnalysisRequest result = new com.google.cloud.contactcenterinsights.v1.GetAnalysisRequest(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.cloud.contactcenterinsights.v1.GetAnalysisRequest result = + new com.google.cloud.contactcenterinsights.v1.GetAnalysisRequest(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } - private void buildPartial0(com.google.cloud.contactcenterinsights.v1.GetAnalysisRequest result) { + private void buildPartial0( + com.google.cloud.contactcenterinsights.v1.GetAnalysisRequest result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { result.name_ = name_; @@ -330,38 +369,39 @@ private void buildPartial0(com.google.cloud.contactcenterinsights.v1.GetAnalysis public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.contactcenterinsights.v1.GetAnalysisRequest) { - return mergeFrom((com.google.cloud.contactcenterinsights.v1.GetAnalysisRequest)other); + return mergeFrom((com.google.cloud.contactcenterinsights.v1.GetAnalysisRequest) other); } else { super.mergeFrom(other); return this; @@ -369,7 +409,9 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.contactcenterinsights.v1.GetAnalysisRequest other) { - if (other == com.google.cloud.contactcenterinsights.v1.GetAnalysisRequest.getDefaultInstance()) return this; + if (other + == com.google.cloud.contactcenterinsights.v1.GetAnalysisRequest.getDefaultInstance()) + return this; if (!other.getName().isEmpty()) { name_ = other.name_; bitField0_ |= 0x00000001; @@ -401,17 +443,19 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - name_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + name_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -421,22 +465,27 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private java.lang.Object name_ = ""; /** + * + * *
      * Required. The name of the analysis to get.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -445,20 +494,23 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The name of the analysis to get.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for name. */ - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -466,28 +518,39 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The name of the analysis to get.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setName(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } name_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
      * Required. The name of the analysis to get.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return This builder for chaining. */ public Builder clearName() { @@ -497,26 +560,32 @@ public Builder clearName() { return this; } /** + * + * *
      * Required. The name of the analysis to get.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setNameBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); name_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -526,12 +595,13 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.contactcenterinsights.v1.GetAnalysisRequest) } // @@protoc_insertion_point(class_scope:google.cloud.contactcenterinsights.v1.GetAnalysisRequest) - private static final com.google.cloud.contactcenterinsights.v1.GetAnalysisRequest DEFAULT_INSTANCE; + private static final com.google.cloud.contactcenterinsights.v1.GetAnalysisRequest + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.contactcenterinsights.v1.GetAnalysisRequest(); } @@ -540,27 +610,27 @@ public static com.google.cloud.contactcenterinsights.v1.GetAnalysisRequest getDe return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public GetAnalysisRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public GetAnalysisRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -575,6 +645,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.contactcenterinsights.v1.GetAnalysisRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/GetAnalysisRequestOrBuilder.java b/java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/GetAnalysisRequestOrBuilder.java new file mode 100644 index 000000000000..42725fd8c91e --- /dev/null +++ b/java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/GetAnalysisRequestOrBuilder.java @@ -0,0 +1,54 @@ +/* + * 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. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/contactcenterinsights/v1/contact_center_insights.proto + +package com.google.cloud.contactcenterinsights.v1; + +public interface GetAnalysisRequestOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.cloud.contactcenterinsights.v1.GetAnalysisRequest) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * Required. The name of the analysis to get.
+   * 
+ * + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The name. + */ + java.lang.String getName(); + /** + * + * + *
+   * Required. The name of the analysis to get.
+   * 
+ * + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The bytes for name. + */ + com.google.protobuf.ByteString getNameBytes(); +} diff --git a/owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/GetConversationRequest.java b/java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/GetConversationRequest.java similarity index 62% rename from owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/GetConversationRequest.java rename to java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/GetConversationRequest.java index 9c389c815557..ef3e777fa174 100644 --- a/owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/GetConversationRequest.java +++ b/java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/GetConversationRequest.java @@ -1,24 +1,42 @@ +/* + * 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. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/contactcenterinsights/v1/contact_center_insights.proto package com.google.cloud.contactcenterinsights.v1; /** + * + * *
  * The request to get a conversation.
  * 
* * Protobuf type {@code google.cloud.contactcenterinsights.v1.GetConversationRequest} */ -public final class GetConversationRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class GetConversationRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.contactcenterinsights.v1.GetConversationRequest) GetConversationRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use GetConversationRequest.newBuilder() to construct. private GetConversationRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private GetConversationRequest() { name_ = ""; view_ = 0; @@ -26,38 +44,45 @@ private GetConversationRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new GetConversationRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto.internal_static_google_cloud_contactcenterinsights_v1_GetConversationRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto + .internal_static_google_cloud_contactcenterinsights_v1_GetConversationRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto.internal_static_google_cloud_contactcenterinsights_v1_GetConversationRequest_fieldAccessorTable + return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto + .internal_static_google_cloud_contactcenterinsights_v1_GetConversationRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.contactcenterinsights.v1.GetConversationRequest.class, com.google.cloud.contactcenterinsights.v1.GetConversationRequest.Builder.class); + com.google.cloud.contactcenterinsights.v1.GetConversationRequest.class, + com.google.cloud.contactcenterinsights.v1.GetConversationRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; + @SuppressWarnings("serial") private volatile java.lang.Object name_ = ""; /** + * + * *
    * Required. The name of the conversation to get.
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ @java.lang.Override @@ -66,29 +91,31 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** + * + * *
    * Required. The name of the conversation to get.
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -99,30 +126,42 @@ public java.lang.String getName() { public static final int VIEW_FIELD_NUMBER = 2; private int view_ = 0; /** + * + * *
    * The level of details of the conversation. Default is `FULL`.
    * 
* * .google.cloud.contactcenterinsights.v1.ConversationView view = 2; + * * @return The enum numeric value on the wire for view. */ - @java.lang.Override public int getViewValue() { + @java.lang.Override + public int getViewValue() { return view_; } /** + * + * *
    * The level of details of the conversation. Default is `FULL`.
    * 
* * .google.cloud.contactcenterinsights.v1.ConversationView view = 2; + * * @return The view. */ - @java.lang.Override public com.google.cloud.contactcenterinsights.v1.ConversationView getView() { - com.google.cloud.contactcenterinsights.v1.ConversationView result = com.google.cloud.contactcenterinsights.v1.ConversationView.forNumber(view_); - return result == null ? com.google.cloud.contactcenterinsights.v1.ConversationView.UNRECOGNIZED : result; + @java.lang.Override + public com.google.cloud.contactcenterinsights.v1.ConversationView getView() { + com.google.cloud.contactcenterinsights.v1.ConversationView result = + com.google.cloud.contactcenterinsights.v1.ConversationView.forNumber(view_); + return result == null + ? com.google.cloud.contactcenterinsights.v1.ConversationView.UNRECOGNIZED + : result; } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -134,12 +173,13 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } - if (view_ != com.google.cloud.contactcenterinsights.v1.ConversationView.CONVERSATION_VIEW_UNSPECIFIED.getNumber()) { + if (view_ + != com.google.cloud.contactcenterinsights.v1.ConversationView.CONVERSATION_VIEW_UNSPECIFIED + .getNumber()) { output.writeEnum(2, view_); } getUnknownFields().writeTo(output); @@ -154,9 +194,10 @@ public int getSerializedSize() { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_); } - if (view_ != com.google.cloud.contactcenterinsights.v1.ConversationView.CONVERSATION_VIEW_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(2, view_); + if (view_ + != com.google.cloud.contactcenterinsights.v1.ConversationView.CONVERSATION_VIEW_UNSPECIFIED + .getNumber()) { + size += com.google.protobuf.CodedOutputStream.computeEnumSize(2, view_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -166,15 +207,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.contactcenterinsights.v1.GetConversationRequest)) { return super.equals(obj); } - com.google.cloud.contactcenterinsights.v1.GetConversationRequest other = (com.google.cloud.contactcenterinsights.v1.GetConversationRequest) obj; + com.google.cloud.contactcenterinsights.v1.GetConversationRequest other = + (com.google.cloud.contactcenterinsights.v1.GetConversationRequest) obj; - if (!getName() - .equals(other.getName())) return false; + if (!getName().equals(other.getName())) return false; if (view_ != other.view_) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -197,129 +238,136 @@ public int hashCode() { } public static com.google.cloud.contactcenterinsights.v1.GetConversationRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.contactcenterinsights.v1.GetConversationRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.contactcenterinsights.v1.GetConversationRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.contactcenterinsights.v1.GetConversationRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.contactcenterinsights.v1.GetConversationRequest parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.contactcenterinsights.v1.GetConversationRequest parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.contactcenterinsights.v1.GetConversationRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.contactcenterinsights.v1.GetConversationRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.contactcenterinsights.v1.GetConversationRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.contactcenterinsights.v1.GetConversationRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.contactcenterinsights.v1.GetConversationRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.contactcenterinsights.v1.GetConversationRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.contactcenterinsights.v1.GetConversationRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.contactcenterinsights.v1.GetConversationRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.contactcenterinsights.v1.GetConversationRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.contactcenterinsights.v1.GetConversationRequest prototype) { + + public static Builder newBuilder( + com.google.cloud.contactcenterinsights.v1.GetConversationRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * The request to get a conversation.
    * 
* * Protobuf type {@code google.cloud.contactcenterinsights.v1.GetConversationRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.contactcenterinsights.v1.GetConversationRequest) com.google.cloud.contactcenterinsights.v1.GetConversationRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto.internal_static_google_cloud_contactcenterinsights_v1_GetConversationRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto + .internal_static_google_cloud_contactcenterinsights_v1_GetConversationRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto.internal_static_google_cloud_contactcenterinsights_v1_GetConversationRequest_fieldAccessorTable + return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto + .internal_static_google_cloud_contactcenterinsights_v1_GetConversationRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.contactcenterinsights.v1.GetConversationRequest.class, com.google.cloud.contactcenterinsights.v1.GetConversationRequest.Builder.class); + com.google.cloud.contactcenterinsights.v1.GetConversationRequest.class, + com.google.cloud.contactcenterinsights.v1.GetConversationRequest.Builder.class); } // Construct using com.google.cloud.contactcenterinsights.v1.GetConversationRequest.newBuilder() - private Builder() { + private Builder() {} - } - - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -330,13 +378,14 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto.internal_static_google_cloud_contactcenterinsights_v1_GetConversationRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto + .internal_static_google_cloud_contactcenterinsights_v1_GetConversationRequest_descriptor; } @java.lang.Override - public com.google.cloud.contactcenterinsights.v1.GetConversationRequest getDefaultInstanceForType() { + public com.google.cloud.contactcenterinsights.v1.GetConversationRequest + getDefaultInstanceForType() { return com.google.cloud.contactcenterinsights.v1.GetConversationRequest.getDefaultInstance(); } @@ -351,13 +400,17 @@ public com.google.cloud.contactcenterinsights.v1.GetConversationRequest build() @java.lang.Override public com.google.cloud.contactcenterinsights.v1.GetConversationRequest buildPartial() { - com.google.cloud.contactcenterinsights.v1.GetConversationRequest result = new com.google.cloud.contactcenterinsights.v1.GetConversationRequest(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.cloud.contactcenterinsights.v1.GetConversationRequest result = + new com.google.cloud.contactcenterinsights.v1.GetConversationRequest(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } - private void buildPartial0(com.google.cloud.contactcenterinsights.v1.GetConversationRequest result) { + private void buildPartial0( + com.google.cloud.contactcenterinsights.v1.GetConversationRequest result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { result.name_ = name_; @@ -371,46 +424,50 @@ private void buildPartial0(com.google.cloud.contactcenterinsights.v1.GetConversa public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.contactcenterinsights.v1.GetConversationRequest) { - return mergeFrom((com.google.cloud.contactcenterinsights.v1.GetConversationRequest)other); + return mergeFrom((com.google.cloud.contactcenterinsights.v1.GetConversationRequest) other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.google.cloud.contactcenterinsights.v1.GetConversationRequest other) { - if (other == com.google.cloud.contactcenterinsights.v1.GetConversationRequest.getDefaultInstance()) return this; + public Builder mergeFrom( + com.google.cloud.contactcenterinsights.v1.GetConversationRequest other) { + if (other + == com.google.cloud.contactcenterinsights.v1.GetConversationRequest.getDefaultInstance()) + return this; if (!other.getName().isEmpty()) { name_ = other.name_; bitField0_ |= 0x00000001; @@ -445,22 +502,25 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - name_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 16: { - view_ = input.readEnum(); - bitField0_ |= 0x00000002; - break; - } // case 16 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + name_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 16: + { + view_ = input.readEnum(); + bitField0_ |= 0x00000002; + break; + } // case 16 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -470,22 +530,27 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private java.lang.Object name_ = ""; /** + * + * *
      * Required. The name of the conversation to get.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -494,20 +559,23 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The name of the conversation to get.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for name. */ - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -515,28 +583,39 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The name of the conversation to get.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setName(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } name_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
      * Required. The name of the conversation to get.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return This builder for chaining. */ public Builder clearName() { @@ -546,17 +625,23 @@ public Builder clearName() { return this; } /** + * + * *
      * Required. The name of the conversation to get.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setNameBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); name_ = value; bitField0_ |= 0x00000001; @@ -566,22 +651,29 @@ public Builder setNameBytes( private int view_ = 0; /** + * + * *
      * The level of details of the conversation. Default is `FULL`.
      * 
* * .google.cloud.contactcenterinsights.v1.ConversationView view = 2; + * * @return The enum numeric value on the wire for view. */ - @java.lang.Override public int getViewValue() { + @java.lang.Override + public int getViewValue() { return view_; } /** + * + * *
      * The level of details of the conversation. Default is `FULL`.
      * 
* * .google.cloud.contactcenterinsights.v1.ConversationView view = 2; + * * @param value The enum numeric value on the wire for view to set. * @return This builder for chaining. */ @@ -592,24 +684,33 @@ public Builder setViewValue(int value) { return this; } /** + * + * *
      * The level of details of the conversation. Default is `FULL`.
      * 
* * .google.cloud.contactcenterinsights.v1.ConversationView view = 2; + * * @return The view. */ @java.lang.Override public com.google.cloud.contactcenterinsights.v1.ConversationView getView() { - com.google.cloud.contactcenterinsights.v1.ConversationView result = com.google.cloud.contactcenterinsights.v1.ConversationView.forNumber(view_); - return result == null ? com.google.cloud.contactcenterinsights.v1.ConversationView.UNRECOGNIZED : result; + com.google.cloud.contactcenterinsights.v1.ConversationView result = + com.google.cloud.contactcenterinsights.v1.ConversationView.forNumber(view_); + return result == null + ? com.google.cloud.contactcenterinsights.v1.ConversationView.UNRECOGNIZED + : result; } /** + * + * *
      * The level of details of the conversation. Default is `FULL`.
      * 
* * .google.cloud.contactcenterinsights.v1.ConversationView view = 2; + * * @param value The view to set. * @return This builder for chaining. */ @@ -623,11 +724,14 @@ public Builder setView(com.google.cloud.contactcenterinsights.v1.ConversationVie return this; } /** + * + * *
      * The level of details of the conversation. Default is `FULL`.
      * 
* * .google.cloud.contactcenterinsights.v1.ConversationView view = 2; + * * @return This builder for chaining. */ public Builder clearView() { @@ -636,9 +740,9 @@ public Builder clearView() { onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -648,41 +752,43 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.contactcenterinsights.v1.GetConversationRequest) } // @@protoc_insertion_point(class_scope:google.cloud.contactcenterinsights.v1.GetConversationRequest) - private static final com.google.cloud.contactcenterinsights.v1.GetConversationRequest DEFAULT_INSTANCE; + private static final com.google.cloud.contactcenterinsights.v1.GetConversationRequest + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.contactcenterinsights.v1.GetConversationRequest(); } - public static com.google.cloud.contactcenterinsights.v1.GetConversationRequest getDefaultInstance() { + public static com.google.cloud.contactcenterinsights.v1.GetConversationRequest + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public GetConversationRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public GetConversationRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -694,9 +800,8 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.cloud.contactcenterinsights.v1.GetConversationRequest getDefaultInstanceForType() { + public com.google.cloud.contactcenterinsights.v1.GetConversationRequest + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/GetConversationRequestOrBuilder.java b/java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/GetConversationRequestOrBuilder.java similarity index 53% rename from owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/GetConversationRequestOrBuilder.java rename to java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/GetConversationRequestOrBuilder.java index 94a3e47a8e05..754361b1defd 100644 --- a/owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/GetConversationRequestOrBuilder.java +++ b/java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/GetConversationRequestOrBuilder.java @@ -1,47 +1,78 @@ +/* + * 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. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/contactcenterinsights/v1/contact_center_insights.proto package com.google.cloud.contactcenterinsights.v1; -public interface GetConversationRequestOrBuilder extends +public interface GetConversationRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.contactcenterinsights.v1.GetConversationRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Required. The name of the conversation to get.
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ java.lang.String getName(); /** + * + * *
    * Required. The name of the conversation to get.
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for name. */ - com.google.protobuf.ByteString - getNameBytes(); + com.google.protobuf.ByteString getNameBytes(); /** + * + * *
    * The level of details of the conversation. Default is `FULL`.
    * 
* * .google.cloud.contactcenterinsights.v1.ConversationView view = 2; + * * @return The enum numeric value on the wire for view. */ int getViewValue(); /** + * + * *
    * The level of details of the conversation. Default is `FULL`.
    * 
* * .google.cloud.contactcenterinsights.v1.ConversationView view = 2; + * * @return The view. */ com.google.cloud.contactcenterinsights.v1.ConversationView getView(); diff --git a/owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/GetIssueModelRequest.java b/java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/GetIssueModelRequest.java similarity index 60% rename from owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/GetIssueModelRequest.java rename to java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/GetIssueModelRequest.java index 462d3f841381..784daf5d03d5 100644 --- a/owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/GetIssueModelRequest.java +++ b/java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/GetIssueModelRequest.java @@ -1,62 +1,87 @@ +/* + * 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. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/contactcenterinsights/v1/contact_center_insights.proto package com.google.cloud.contactcenterinsights.v1; /** + * + * *
  * The request to get an issue model.
  * 
* * Protobuf type {@code google.cloud.contactcenterinsights.v1.GetIssueModelRequest} */ -public final class GetIssueModelRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class GetIssueModelRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.contactcenterinsights.v1.GetIssueModelRequest) GetIssueModelRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use GetIssueModelRequest.newBuilder() to construct. private GetIssueModelRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private GetIssueModelRequest() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new GetIssueModelRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto.internal_static_google_cloud_contactcenterinsights_v1_GetIssueModelRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto + .internal_static_google_cloud_contactcenterinsights_v1_GetIssueModelRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto.internal_static_google_cloud_contactcenterinsights_v1_GetIssueModelRequest_fieldAccessorTable + return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto + .internal_static_google_cloud_contactcenterinsights_v1_GetIssueModelRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.contactcenterinsights.v1.GetIssueModelRequest.class, com.google.cloud.contactcenterinsights.v1.GetIssueModelRequest.Builder.class); + com.google.cloud.contactcenterinsights.v1.GetIssueModelRequest.class, + com.google.cloud.contactcenterinsights.v1.GetIssueModelRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; + @SuppressWarnings("serial") private volatile java.lang.Object name_ = ""; /** + * + * *
    * Required. The name of the issue model to get.
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ @java.lang.Override @@ -65,29 +90,31 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** + * + * *
    * Required. The name of the issue model to get.
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -96,6 +123,7 @@ public java.lang.String getName() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -107,8 +135,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -132,15 +159,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.contactcenterinsights.v1.GetIssueModelRequest)) { return super.equals(obj); } - com.google.cloud.contactcenterinsights.v1.GetIssueModelRequest other = (com.google.cloud.contactcenterinsights.v1.GetIssueModelRequest) obj; + com.google.cloud.contactcenterinsights.v1.GetIssueModelRequest other = + (com.google.cloud.contactcenterinsights.v1.GetIssueModelRequest) obj; - if (!getName() - .equals(other.getName())) return false; + if (!getName().equals(other.getName())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -160,129 +187,136 @@ public int hashCode() { } public static com.google.cloud.contactcenterinsights.v1.GetIssueModelRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.contactcenterinsights.v1.GetIssueModelRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.contactcenterinsights.v1.GetIssueModelRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.contactcenterinsights.v1.GetIssueModelRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.contactcenterinsights.v1.GetIssueModelRequest parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.contactcenterinsights.v1.GetIssueModelRequest parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.contactcenterinsights.v1.GetIssueModelRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.contactcenterinsights.v1.GetIssueModelRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.contactcenterinsights.v1.GetIssueModelRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.contactcenterinsights.v1.GetIssueModelRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.contactcenterinsights.v1.GetIssueModelRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.contactcenterinsights.v1.GetIssueModelRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.contactcenterinsights.v1.GetIssueModelRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.contactcenterinsights.v1.GetIssueModelRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.contactcenterinsights.v1.GetIssueModelRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.contactcenterinsights.v1.GetIssueModelRequest prototype) { + + public static Builder newBuilder( + com.google.cloud.contactcenterinsights.v1.GetIssueModelRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * The request to get an issue model.
    * 
* * Protobuf type {@code google.cloud.contactcenterinsights.v1.GetIssueModelRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.contactcenterinsights.v1.GetIssueModelRequest) com.google.cloud.contactcenterinsights.v1.GetIssueModelRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto.internal_static_google_cloud_contactcenterinsights_v1_GetIssueModelRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto + .internal_static_google_cloud_contactcenterinsights_v1_GetIssueModelRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto.internal_static_google_cloud_contactcenterinsights_v1_GetIssueModelRequest_fieldAccessorTable + return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto + .internal_static_google_cloud_contactcenterinsights_v1_GetIssueModelRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.contactcenterinsights.v1.GetIssueModelRequest.class, com.google.cloud.contactcenterinsights.v1.GetIssueModelRequest.Builder.class); + com.google.cloud.contactcenterinsights.v1.GetIssueModelRequest.class, + com.google.cloud.contactcenterinsights.v1.GetIssueModelRequest.Builder.class); } // Construct using com.google.cloud.contactcenterinsights.v1.GetIssueModelRequest.newBuilder() - private Builder() { + private Builder() {} - } - - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -292,13 +326,14 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto.internal_static_google_cloud_contactcenterinsights_v1_GetIssueModelRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto + .internal_static_google_cloud_contactcenterinsights_v1_GetIssueModelRequest_descriptor; } @java.lang.Override - public com.google.cloud.contactcenterinsights.v1.GetIssueModelRequest getDefaultInstanceForType() { + public com.google.cloud.contactcenterinsights.v1.GetIssueModelRequest + getDefaultInstanceForType() { return com.google.cloud.contactcenterinsights.v1.GetIssueModelRequest.getDefaultInstance(); } @@ -313,13 +348,17 @@ public com.google.cloud.contactcenterinsights.v1.GetIssueModelRequest build() { @java.lang.Override public com.google.cloud.contactcenterinsights.v1.GetIssueModelRequest buildPartial() { - com.google.cloud.contactcenterinsights.v1.GetIssueModelRequest result = new com.google.cloud.contactcenterinsights.v1.GetIssueModelRequest(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.cloud.contactcenterinsights.v1.GetIssueModelRequest result = + new com.google.cloud.contactcenterinsights.v1.GetIssueModelRequest(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } - private void buildPartial0(com.google.cloud.contactcenterinsights.v1.GetIssueModelRequest result) { + private void buildPartial0( + com.google.cloud.contactcenterinsights.v1.GetIssueModelRequest result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { result.name_ = name_; @@ -330,38 +369,39 @@ private void buildPartial0(com.google.cloud.contactcenterinsights.v1.GetIssueMod public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.contactcenterinsights.v1.GetIssueModelRequest) { - return mergeFrom((com.google.cloud.contactcenterinsights.v1.GetIssueModelRequest)other); + return mergeFrom((com.google.cloud.contactcenterinsights.v1.GetIssueModelRequest) other); } else { super.mergeFrom(other); return this; @@ -369,7 +409,9 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.contactcenterinsights.v1.GetIssueModelRequest other) { - if (other == com.google.cloud.contactcenterinsights.v1.GetIssueModelRequest.getDefaultInstance()) return this; + if (other + == com.google.cloud.contactcenterinsights.v1.GetIssueModelRequest.getDefaultInstance()) + return this; if (!other.getName().isEmpty()) { name_ = other.name_; bitField0_ |= 0x00000001; @@ -401,17 +443,19 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - name_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + name_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -421,22 +465,27 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private java.lang.Object name_ = ""; /** + * + * *
      * Required. The name of the issue model to get.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -445,20 +494,23 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The name of the issue model to get.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for name. */ - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -466,28 +518,39 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The name of the issue model to get.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setName(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } name_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
      * Required. The name of the issue model to get.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return This builder for chaining. */ public Builder clearName() { @@ -497,26 +560,32 @@ public Builder clearName() { return this; } /** + * + * *
      * Required. The name of the issue model to get.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setNameBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); name_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -526,41 +595,43 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.contactcenterinsights.v1.GetIssueModelRequest) } // @@protoc_insertion_point(class_scope:google.cloud.contactcenterinsights.v1.GetIssueModelRequest) - private static final com.google.cloud.contactcenterinsights.v1.GetIssueModelRequest DEFAULT_INSTANCE; + private static final com.google.cloud.contactcenterinsights.v1.GetIssueModelRequest + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.contactcenterinsights.v1.GetIssueModelRequest(); } - public static com.google.cloud.contactcenterinsights.v1.GetIssueModelRequest getDefaultInstance() { + public static com.google.cloud.contactcenterinsights.v1.GetIssueModelRequest + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public GetIssueModelRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public GetIssueModelRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -572,9 +643,8 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.cloud.contactcenterinsights.v1.GetIssueModelRequest getDefaultInstanceForType() { + public com.google.cloud.contactcenterinsights.v1.GetIssueModelRequest + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/GetIssueModelRequestOrBuilder.java b/java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/GetIssueModelRequestOrBuilder.java new file mode 100644 index 000000000000..9043ad092742 --- /dev/null +++ b/java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/GetIssueModelRequestOrBuilder.java @@ -0,0 +1,54 @@ +/* + * 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. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/contactcenterinsights/v1/contact_center_insights.proto + +package com.google.cloud.contactcenterinsights.v1; + +public interface GetIssueModelRequestOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.cloud.contactcenterinsights.v1.GetIssueModelRequest) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * Required. The name of the issue model to get.
+   * 
+ * + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The name. + */ + java.lang.String getName(); + /** + * + * + *
+   * Required. The name of the issue model to get.
+   * 
+ * + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The bytes for name. + */ + com.google.protobuf.ByteString getNameBytes(); +} diff --git a/owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/GetIssueRequest.java b/java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/GetIssueRequest.java similarity index 62% rename from owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/GetIssueRequest.java rename to java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/GetIssueRequest.java index 8c5710ba6656..cac726946794 100644 --- a/owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/GetIssueRequest.java +++ b/java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/GetIssueRequest.java @@ -1,62 +1,87 @@ +/* + * 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. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/contactcenterinsights/v1/contact_center_insights.proto package com.google.cloud.contactcenterinsights.v1; /** + * + * *
  * The request to get an issue.
  * 
* * Protobuf type {@code google.cloud.contactcenterinsights.v1.GetIssueRequest} */ -public final class GetIssueRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class GetIssueRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.contactcenterinsights.v1.GetIssueRequest) GetIssueRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use GetIssueRequest.newBuilder() to construct. private GetIssueRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private GetIssueRequest() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new GetIssueRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto.internal_static_google_cloud_contactcenterinsights_v1_GetIssueRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto + .internal_static_google_cloud_contactcenterinsights_v1_GetIssueRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto.internal_static_google_cloud_contactcenterinsights_v1_GetIssueRequest_fieldAccessorTable + return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto + .internal_static_google_cloud_contactcenterinsights_v1_GetIssueRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.contactcenterinsights.v1.GetIssueRequest.class, com.google.cloud.contactcenterinsights.v1.GetIssueRequest.Builder.class); + com.google.cloud.contactcenterinsights.v1.GetIssueRequest.class, + com.google.cloud.contactcenterinsights.v1.GetIssueRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; + @SuppressWarnings("serial") private volatile java.lang.Object name_ = ""; /** + * + * *
    * Required. The name of the issue to get.
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ @java.lang.Override @@ -65,29 +90,31 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** + * + * *
    * Required. The name of the issue to get.
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -96,6 +123,7 @@ public java.lang.String getName() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -107,8 +135,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -132,15 +159,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.contactcenterinsights.v1.GetIssueRequest)) { return super.equals(obj); } - com.google.cloud.contactcenterinsights.v1.GetIssueRequest other = (com.google.cloud.contactcenterinsights.v1.GetIssueRequest) obj; + com.google.cloud.contactcenterinsights.v1.GetIssueRequest other = + (com.google.cloud.contactcenterinsights.v1.GetIssueRequest) obj; - if (!getName() - .equals(other.getName())) return false; + if (!getName().equals(other.getName())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -160,129 +187,136 @@ public int hashCode() { } public static com.google.cloud.contactcenterinsights.v1.GetIssueRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.contactcenterinsights.v1.GetIssueRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.contactcenterinsights.v1.GetIssueRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.contactcenterinsights.v1.GetIssueRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.contactcenterinsights.v1.GetIssueRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.contactcenterinsights.v1.GetIssueRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.contactcenterinsights.v1.GetIssueRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.contactcenterinsights.v1.GetIssueRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.contactcenterinsights.v1.GetIssueRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.contactcenterinsights.v1.GetIssueRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.contactcenterinsights.v1.GetIssueRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.contactcenterinsights.v1.GetIssueRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.contactcenterinsights.v1.GetIssueRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.contactcenterinsights.v1.GetIssueRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.contactcenterinsights.v1.GetIssueRequest prototype) { + + public static Builder newBuilder( + com.google.cloud.contactcenterinsights.v1.GetIssueRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * The request to get an issue.
    * 
* * Protobuf type {@code google.cloud.contactcenterinsights.v1.GetIssueRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.contactcenterinsights.v1.GetIssueRequest) com.google.cloud.contactcenterinsights.v1.GetIssueRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto.internal_static_google_cloud_contactcenterinsights_v1_GetIssueRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto + .internal_static_google_cloud_contactcenterinsights_v1_GetIssueRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto.internal_static_google_cloud_contactcenterinsights_v1_GetIssueRequest_fieldAccessorTable + return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto + .internal_static_google_cloud_contactcenterinsights_v1_GetIssueRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.contactcenterinsights.v1.GetIssueRequest.class, com.google.cloud.contactcenterinsights.v1.GetIssueRequest.Builder.class); + com.google.cloud.contactcenterinsights.v1.GetIssueRequest.class, + com.google.cloud.contactcenterinsights.v1.GetIssueRequest.Builder.class); } // Construct using com.google.cloud.contactcenterinsights.v1.GetIssueRequest.newBuilder() - private Builder() { + private Builder() {} - } - - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -292,9 +326,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto.internal_static_google_cloud_contactcenterinsights_v1_GetIssueRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto + .internal_static_google_cloud_contactcenterinsights_v1_GetIssueRequest_descriptor; } @java.lang.Override @@ -313,8 +347,11 @@ public com.google.cloud.contactcenterinsights.v1.GetIssueRequest build() { @java.lang.Override public com.google.cloud.contactcenterinsights.v1.GetIssueRequest buildPartial() { - com.google.cloud.contactcenterinsights.v1.GetIssueRequest result = new com.google.cloud.contactcenterinsights.v1.GetIssueRequest(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.cloud.contactcenterinsights.v1.GetIssueRequest result = + new com.google.cloud.contactcenterinsights.v1.GetIssueRequest(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } @@ -330,38 +367,39 @@ private void buildPartial0(com.google.cloud.contactcenterinsights.v1.GetIssueReq public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.contactcenterinsights.v1.GetIssueRequest) { - return mergeFrom((com.google.cloud.contactcenterinsights.v1.GetIssueRequest)other); + return mergeFrom((com.google.cloud.contactcenterinsights.v1.GetIssueRequest) other); } else { super.mergeFrom(other); return this; @@ -369,7 +407,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.contactcenterinsights.v1.GetIssueRequest other) { - if (other == com.google.cloud.contactcenterinsights.v1.GetIssueRequest.getDefaultInstance()) return this; + if (other == com.google.cloud.contactcenterinsights.v1.GetIssueRequest.getDefaultInstance()) + return this; if (!other.getName().isEmpty()) { name_ = other.name_; bitField0_ |= 0x00000001; @@ -401,17 +440,19 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - name_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + name_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -421,22 +462,27 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private java.lang.Object name_ = ""; /** + * + * *
      * Required. The name of the issue to get.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -445,20 +491,23 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The name of the issue to get.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for name. */ - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -466,28 +515,39 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The name of the issue to get.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setName(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } name_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
      * Required. The name of the issue to get.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return This builder for chaining. */ public Builder clearName() { @@ -497,26 +557,32 @@ public Builder clearName() { return this; } /** + * + * *
      * Required. The name of the issue to get.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setNameBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); name_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -526,12 +592,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.contactcenterinsights.v1.GetIssueRequest) } // @@protoc_insertion_point(class_scope:google.cloud.contactcenterinsights.v1.GetIssueRequest) private static final com.google.cloud.contactcenterinsights.v1.GetIssueRequest DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.contactcenterinsights.v1.GetIssueRequest(); } @@ -540,27 +606,27 @@ public static com.google.cloud.contactcenterinsights.v1.GetIssueRequest getDefau return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public GetIssueRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public GetIssueRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -575,6 +641,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.contactcenterinsights.v1.GetIssueRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/GetIssueRequestOrBuilder.java b/java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/GetIssueRequestOrBuilder.java new file mode 100644 index 000000000000..5b064a2b7e70 --- /dev/null +++ b/java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/GetIssueRequestOrBuilder.java @@ -0,0 +1,54 @@ +/* + * 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. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/contactcenterinsights/v1/contact_center_insights.proto + +package com.google.cloud.contactcenterinsights.v1; + +public interface GetIssueRequestOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.cloud.contactcenterinsights.v1.GetIssueRequest) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * Required. The name of the issue to get.
+   * 
+ * + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The name. + */ + java.lang.String getName(); + /** + * + * + *
+   * Required. The name of the issue to get.
+   * 
+ * + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The bytes for name. + */ + com.google.protobuf.ByteString getNameBytes(); +} diff --git a/owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/GetPhraseMatcherRequest.java b/java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/GetPhraseMatcherRequest.java similarity index 59% rename from owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/GetPhraseMatcherRequest.java rename to java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/GetPhraseMatcherRequest.java index d35f60129178..9d3fd7bcd02b 100644 --- a/owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/GetPhraseMatcherRequest.java +++ b/java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/GetPhraseMatcherRequest.java @@ -1,62 +1,87 @@ +/* + * 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. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/contactcenterinsights/v1/contact_center_insights.proto package com.google.cloud.contactcenterinsights.v1; /** + * + * *
  * The request to get a a phrase matcher.
  * 
* * Protobuf type {@code google.cloud.contactcenterinsights.v1.GetPhraseMatcherRequest} */ -public final class GetPhraseMatcherRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class GetPhraseMatcherRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.contactcenterinsights.v1.GetPhraseMatcherRequest) GetPhraseMatcherRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use GetPhraseMatcherRequest.newBuilder() to construct. private GetPhraseMatcherRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private GetPhraseMatcherRequest() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new GetPhraseMatcherRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto.internal_static_google_cloud_contactcenterinsights_v1_GetPhraseMatcherRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto + .internal_static_google_cloud_contactcenterinsights_v1_GetPhraseMatcherRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto.internal_static_google_cloud_contactcenterinsights_v1_GetPhraseMatcherRequest_fieldAccessorTable + return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto + .internal_static_google_cloud_contactcenterinsights_v1_GetPhraseMatcherRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.contactcenterinsights.v1.GetPhraseMatcherRequest.class, com.google.cloud.contactcenterinsights.v1.GetPhraseMatcherRequest.Builder.class); + com.google.cloud.contactcenterinsights.v1.GetPhraseMatcherRequest.class, + com.google.cloud.contactcenterinsights.v1.GetPhraseMatcherRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; + @SuppressWarnings("serial") private volatile java.lang.Object name_ = ""; /** + * + * *
    * Required. The name of the phrase matcher to get.
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ @java.lang.Override @@ -65,29 +90,31 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** + * + * *
    * Required. The name of the phrase matcher to get.
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -96,6 +123,7 @@ public java.lang.String getName() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -107,8 +135,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -132,15 +159,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.contactcenterinsights.v1.GetPhraseMatcherRequest)) { return super.equals(obj); } - com.google.cloud.contactcenterinsights.v1.GetPhraseMatcherRequest other = (com.google.cloud.contactcenterinsights.v1.GetPhraseMatcherRequest) obj; + com.google.cloud.contactcenterinsights.v1.GetPhraseMatcherRequest other = + (com.google.cloud.contactcenterinsights.v1.GetPhraseMatcherRequest) obj; - if (!getName() - .equals(other.getName())) return false; + if (!getName().equals(other.getName())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -160,129 +187,138 @@ public int hashCode() { } public static com.google.cloud.contactcenterinsights.v1.GetPhraseMatcherRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.contactcenterinsights.v1.GetPhraseMatcherRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.contactcenterinsights.v1.GetPhraseMatcherRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.contactcenterinsights.v1.GetPhraseMatcherRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.contactcenterinsights.v1.GetPhraseMatcherRequest parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.contactcenterinsights.v1.GetPhraseMatcherRequest parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.contactcenterinsights.v1.GetPhraseMatcherRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.contactcenterinsights.v1.GetPhraseMatcherRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.contactcenterinsights.v1.GetPhraseMatcherRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.contactcenterinsights.v1.GetPhraseMatcherRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.contactcenterinsights.v1.GetPhraseMatcherRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.contactcenterinsights.v1.GetPhraseMatcherRequest + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.contactcenterinsights.v1.GetPhraseMatcherRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + + public static com.google.cloud.contactcenterinsights.v1.GetPhraseMatcherRequest + parseDelimitedFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.contactcenterinsights.v1.GetPhraseMatcherRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.contactcenterinsights.v1.GetPhraseMatcherRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.contactcenterinsights.v1.GetPhraseMatcherRequest prototype) { + + public static Builder newBuilder( + com.google.cloud.contactcenterinsights.v1.GetPhraseMatcherRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * The request to get a a phrase matcher.
    * 
* * Protobuf type {@code google.cloud.contactcenterinsights.v1.GetPhraseMatcherRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.contactcenterinsights.v1.GetPhraseMatcherRequest) com.google.cloud.contactcenterinsights.v1.GetPhraseMatcherRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto.internal_static_google_cloud_contactcenterinsights_v1_GetPhraseMatcherRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto + .internal_static_google_cloud_contactcenterinsights_v1_GetPhraseMatcherRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto.internal_static_google_cloud_contactcenterinsights_v1_GetPhraseMatcherRequest_fieldAccessorTable + return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto + .internal_static_google_cloud_contactcenterinsights_v1_GetPhraseMatcherRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.contactcenterinsights.v1.GetPhraseMatcherRequest.class, com.google.cloud.contactcenterinsights.v1.GetPhraseMatcherRequest.Builder.class); + com.google.cloud.contactcenterinsights.v1.GetPhraseMatcherRequest.class, + com.google.cloud.contactcenterinsights.v1.GetPhraseMatcherRequest.Builder.class); } - // Construct using com.google.cloud.contactcenterinsights.v1.GetPhraseMatcherRequest.newBuilder() - private Builder() { + // Construct using + // com.google.cloud.contactcenterinsights.v1.GetPhraseMatcherRequest.newBuilder() + private Builder() {} - } - - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -292,13 +328,14 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto.internal_static_google_cloud_contactcenterinsights_v1_GetPhraseMatcherRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto + .internal_static_google_cloud_contactcenterinsights_v1_GetPhraseMatcherRequest_descriptor; } @java.lang.Override - public com.google.cloud.contactcenterinsights.v1.GetPhraseMatcherRequest getDefaultInstanceForType() { + public com.google.cloud.contactcenterinsights.v1.GetPhraseMatcherRequest + getDefaultInstanceForType() { return com.google.cloud.contactcenterinsights.v1.GetPhraseMatcherRequest.getDefaultInstance(); } @@ -313,13 +350,17 @@ public com.google.cloud.contactcenterinsights.v1.GetPhraseMatcherRequest build() @java.lang.Override public com.google.cloud.contactcenterinsights.v1.GetPhraseMatcherRequest buildPartial() { - com.google.cloud.contactcenterinsights.v1.GetPhraseMatcherRequest result = new com.google.cloud.contactcenterinsights.v1.GetPhraseMatcherRequest(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.cloud.contactcenterinsights.v1.GetPhraseMatcherRequest result = + new com.google.cloud.contactcenterinsights.v1.GetPhraseMatcherRequest(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } - private void buildPartial0(com.google.cloud.contactcenterinsights.v1.GetPhraseMatcherRequest result) { + private void buildPartial0( + com.google.cloud.contactcenterinsights.v1.GetPhraseMatcherRequest result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { result.name_ = name_; @@ -330,46 +371,50 @@ private void buildPartial0(com.google.cloud.contactcenterinsights.v1.GetPhraseMa public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.contactcenterinsights.v1.GetPhraseMatcherRequest) { - return mergeFrom((com.google.cloud.contactcenterinsights.v1.GetPhraseMatcherRequest)other); + return mergeFrom((com.google.cloud.contactcenterinsights.v1.GetPhraseMatcherRequest) other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.google.cloud.contactcenterinsights.v1.GetPhraseMatcherRequest other) { - if (other == com.google.cloud.contactcenterinsights.v1.GetPhraseMatcherRequest.getDefaultInstance()) return this; + public Builder mergeFrom( + com.google.cloud.contactcenterinsights.v1.GetPhraseMatcherRequest other) { + if (other + == com.google.cloud.contactcenterinsights.v1.GetPhraseMatcherRequest.getDefaultInstance()) + return this; if (!other.getName().isEmpty()) { name_ = other.name_; bitField0_ |= 0x00000001; @@ -401,17 +446,19 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - name_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + name_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -421,22 +468,27 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private java.lang.Object name_ = ""; /** + * + * *
      * Required. The name of the phrase matcher to get.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -445,20 +497,23 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The name of the phrase matcher to get.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for name. */ - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -466,28 +521,39 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The name of the phrase matcher to get.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setName(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } name_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
      * Required. The name of the phrase matcher to get.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return This builder for chaining. */ public Builder clearName() { @@ -497,26 +563,32 @@ public Builder clearName() { return this; } /** + * + * *
      * Required. The name of the phrase matcher to get.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setNameBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); name_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -526,41 +598,43 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.contactcenterinsights.v1.GetPhraseMatcherRequest) } // @@protoc_insertion_point(class_scope:google.cloud.contactcenterinsights.v1.GetPhraseMatcherRequest) - private static final com.google.cloud.contactcenterinsights.v1.GetPhraseMatcherRequest DEFAULT_INSTANCE; + private static final com.google.cloud.contactcenterinsights.v1.GetPhraseMatcherRequest + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.contactcenterinsights.v1.GetPhraseMatcherRequest(); } - public static com.google.cloud.contactcenterinsights.v1.GetPhraseMatcherRequest getDefaultInstance() { + public static com.google.cloud.contactcenterinsights.v1.GetPhraseMatcherRequest + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public GetPhraseMatcherRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public GetPhraseMatcherRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -572,9 +646,8 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.cloud.contactcenterinsights.v1.GetPhraseMatcherRequest getDefaultInstanceForType() { + public com.google.cloud.contactcenterinsights.v1.GetPhraseMatcherRequest + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/GetPhraseMatcherRequestOrBuilder.java b/java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/GetPhraseMatcherRequestOrBuilder.java new file mode 100644 index 000000000000..b5952af10d7f --- /dev/null +++ b/java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/GetPhraseMatcherRequestOrBuilder.java @@ -0,0 +1,54 @@ +/* + * 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. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/contactcenterinsights/v1/contact_center_insights.proto + +package com.google.cloud.contactcenterinsights.v1; + +public interface GetPhraseMatcherRequestOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.cloud.contactcenterinsights.v1.GetPhraseMatcherRequest) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * Required. The name of the phrase matcher to get.
+   * 
+ * + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The name. + */ + java.lang.String getName(); + /** + * + * + *
+   * Required. The name of the phrase matcher to get.
+   * 
+ * + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The bytes for name. + */ + com.google.protobuf.ByteString getNameBytes(); +} diff --git a/owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/GetSettingsRequest.java b/java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/GetSettingsRequest.java similarity index 61% rename from owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/GetSettingsRequest.java rename to java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/GetSettingsRequest.java index 093cc66d22a2..abf7a6299ea9 100644 --- a/owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/GetSettingsRequest.java +++ b/java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/GetSettingsRequest.java @@ -1,62 +1,87 @@ +/* + * 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. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/contactcenterinsights/v1/contact_center_insights.proto package com.google.cloud.contactcenterinsights.v1; /** + * + * *
  * The request to get project-level settings.
  * 
* * Protobuf type {@code google.cloud.contactcenterinsights.v1.GetSettingsRequest} */ -public final class GetSettingsRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class GetSettingsRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.contactcenterinsights.v1.GetSettingsRequest) GetSettingsRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use GetSettingsRequest.newBuilder() to construct. private GetSettingsRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private GetSettingsRequest() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new GetSettingsRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto.internal_static_google_cloud_contactcenterinsights_v1_GetSettingsRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto + .internal_static_google_cloud_contactcenterinsights_v1_GetSettingsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto.internal_static_google_cloud_contactcenterinsights_v1_GetSettingsRequest_fieldAccessorTable + return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto + .internal_static_google_cloud_contactcenterinsights_v1_GetSettingsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.contactcenterinsights.v1.GetSettingsRequest.class, com.google.cloud.contactcenterinsights.v1.GetSettingsRequest.Builder.class); + com.google.cloud.contactcenterinsights.v1.GetSettingsRequest.class, + com.google.cloud.contactcenterinsights.v1.GetSettingsRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; + @SuppressWarnings("serial") private volatile java.lang.Object name_ = ""; /** + * + * *
    * Required. The name of the settings resource to get.
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ @java.lang.Override @@ -65,29 +90,31 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** + * + * *
    * Required. The name of the settings resource to get.
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -96,6 +123,7 @@ public java.lang.String getName() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -107,8 +135,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -132,15 +159,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.contactcenterinsights.v1.GetSettingsRequest)) { return super.equals(obj); } - com.google.cloud.contactcenterinsights.v1.GetSettingsRequest other = (com.google.cloud.contactcenterinsights.v1.GetSettingsRequest) obj; + com.google.cloud.contactcenterinsights.v1.GetSettingsRequest other = + (com.google.cloud.contactcenterinsights.v1.GetSettingsRequest) obj; - if (!getName() - .equals(other.getName())) return false; + if (!getName().equals(other.getName())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -160,129 +187,136 @@ public int hashCode() { } public static com.google.cloud.contactcenterinsights.v1.GetSettingsRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.contactcenterinsights.v1.GetSettingsRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.contactcenterinsights.v1.GetSettingsRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.contactcenterinsights.v1.GetSettingsRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.contactcenterinsights.v1.GetSettingsRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.contactcenterinsights.v1.GetSettingsRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.contactcenterinsights.v1.GetSettingsRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.contactcenterinsights.v1.GetSettingsRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.contactcenterinsights.v1.GetSettingsRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.contactcenterinsights.v1.GetSettingsRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.contactcenterinsights.v1.GetSettingsRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.contactcenterinsights.v1.GetSettingsRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.contactcenterinsights.v1.GetSettingsRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.contactcenterinsights.v1.GetSettingsRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.contactcenterinsights.v1.GetSettingsRequest prototype) { + + public static Builder newBuilder( + com.google.cloud.contactcenterinsights.v1.GetSettingsRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * The request to get project-level settings.
    * 
* * Protobuf type {@code google.cloud.contactcenterinsights.v1.GetSettingsRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.contactcenterinsights.v1.GetSettingsRequest) com.google.cloud.contactcenterinsights.v1.GetSettingsRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto.internal_static_google_cloud_contactcenterinsights_v1_GetSettingsRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto + .internal_static_google_cloud_contactcenterinsights_v1_GetSettingsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto.internal_static_google_cloud_contactcenterinsights_v1_GetSettingsRequest_fieldAccessorTable + return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto + .internal_static_google_cloud_contactcenterinsights_v1_GetSettingsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.contactcenterinsights.v1.GetSettingsRequest.class, com.google.cloud.contactcenterinsights.v1.GetSettingsRequest.Builder.class); + com.google.cloud.contactcenterinsights.v1.GetSettingsRequest.class, + com.google.cloud.contactcenterinsights.v1.GetSettingsRequest.Builder.class); } // Construct using com.google.cloud.contactcenterinsights.v1.GetSettingsRequest.newBuilder() - private Builder() { + private Builder() {} - } - - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -292,13 +326,14 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto.internal_static_google_cloud_contactcenterinsights_v1_GetSettingsRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto + .internal_static_google_cloud_contactcenterinsights_v1_GetSettingsRequest_descriptor; } @java.lang.Override - public com.google.cloud.contactcenterinsights.v1.GetSettingsRequest getDefaultInstanceForType() { + public com.google.cloud.contactcenterinsights.v1.GetSettingsRequest + getDefaultInstanceForType() { return com.google.cloud.contactcenterinsights.v1.GetSettingsRequest.getDefaultInstance(); } @@ -313,13 +348,17 @@ public com.google.cloud.contactcenterinsights.v1.GetSettingsRequest build() { @java.lang.Override public com.google.cloud.contactcenterinsights.v1.GetSettingsRequest buildPartial() { - com.google.cloud.contactcenterinsights.v1.GetSettingsRequest result = new com.google.cloud.contactcenterinsights.v1.GetSettingsRequest(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.cloud.contactcenterinsights.v1.GetSettingsRequest result = + new com.google.cloud.contactcenterinsights.v1.GetSettingsRequest(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } - private void buildPartial0(com.google.cloud.contactcenterinsights.v1.GetSettingsRequest result) { + private void buildPartial0( + com.google.cloud.contactcenterinsights.v1.GetSettingsRequest result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { result.name_ = name_; @@ -330,38 +369,39 @@ private void buildPartial0(com.google.cloud.contactcenterinsights.v1.GetSettings public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.contactcenterinsights.v1.GetSettingsRequest) { - return mergeFrom((com.google.cloud.contactcenterinsights.v1.GetSettingsRequest)other); + return mergeFrom((com.google.cloud.contactcenterinsights.v1.GetSettingsRequest) other); } else { super.mergeFrom(other); return this; @@ -369,7 +409,9 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.contactcenterinsights.v1.GetSettingsRequest other) { - if (other == com.google.cloud.contactcenterinsights.v1.GetSettingsRequest.getDefaultInstance()) return this; + if (other + == com.google.cloud.contactcenterinsights.v1.GetSettingsRequest.getDefaultInstance()) + return this; if (!other.getName().isEmpty()) { name_ = other.name_; bitField0_ |= 0x00000001; @@ -401,17 +443,19 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - name_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + name_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -421,22 +465,27 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private java.lang.Object name_ = ""; /** + * + * *
      * Required. The name of the settings resource to get.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -445,20 +494,23 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The name of the settings resource to get.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for name. */ - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -466,28 +518,39 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The name of the settings resource to get.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setName(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } name_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
      * Required. The name of the settings resource to get.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return This builder for chaining. */ public Builder clearName() { @@ -497,26 +560,32 @@ public Builder clearName() { return this; } /** + * + * *
      * Required. The name of the settings resource to get.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setNameBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); name_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -526,12 +595,13 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.contactcenterinsights.v1.GetSettingsRequest) } // @@protoc_insertion_point(class_scope:google.cloud.contactcenterinsights.v1.GetSettingsRequest) - private static final com.google.cloud.contactcenterinsights.v1.GetSettingsRequest DEFAULT_INSTANCE; + private static final com.google.cloud.contactcenterinsights.v1.GetSettingsRequest + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.contactcenterinsights.v1.GetSettingsRequest(); } @@ -540,27 +610,27 @@ public static com.google.cloud.contactcenterinsights.v1.GetSettingsRequest getDe return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public GetSettingsRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public GetSettingsRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -575,6 +645,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.contactcenterinsights.v1.GetSettingsRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/GetSettingsRequestOrBuilder.java b/java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/GetSettingsRequestOrBuilder.java new file mode 100644 index 000000000000..64f2b37db896 --- /dev/null +++ b/java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/GetSettingsRequestOrBuilder.java @@ -0,0 +1,54 @@ +/* + * 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. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/contactcenterinsights/v1/contact_center_insights.proto + +package com.google.cloud.contactcenterinsights.v1; + +public interface GetSettingsRequestOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.cloud.contactcenterinsights.v1.GetSettingsRequest) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * Required. The name of the settings resource to get.
+   * 
+ * + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The name. + */ + java.lang.String getName(); + /** + * + * + *
+   * Required. The name of the settings resource to get.
+   * 
+ * + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The bytes for name. + */ + com.google.protobuf.ByteString getNameBytes(); +} diff --git a/owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/GetViewRequest.java b/java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/GetViewRequest.java similarity index 62% rename from owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/GetViewRequest.java rename to java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/GetViewRequest.java index 727e3f1394c2..719f17eeaa44 100644 --- a/owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/GetViewRequest.java +++ b/java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/GetViewRequest.java @@ -1,62 +1,87 @@ +/* + * 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. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/contactcenterinsights/v1/contact_center_insights.proto package com.google.cloud.contactcenterinsights.v1; /** + * + * *
  * The request to get a view.
  * 
* * Protobuf type {@code google.cloud.contactcenterinsights.v1.GetViewRequest} */ -public final class GetViewRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class GetViewRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.contactcenterinsights.v1.GetViewRequest) GetViewRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use GetViewRequest.newBuilder() to construct. private GetViewRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private GetViewRequest() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new GetViewRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto.internal_static_google_cloud_contactcenterinsights_v1_GetViewRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto + .internal_static_google_cloud_contactcenterinsights_v1_GetViewRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto.internal_static_google_cloud_contactcenterinsights_v1_GetViewRequest_fieldAccessorTable + return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto + .internal_static_google_cloud_contactcenterinsights_v1_GetViewRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.contactcenterinsights.v1.GetViewRequest.class, com.google.cloud.contactcenterinsights.v1.GetViewRequest.Builder.class); + com.google.cloud.contactcenterinsights.v1.GetViewRequest.class, + com.google.cloud.contactcenterinsights.v1.GetViewRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; + @SuppressWarnings("serial") private volatile java.lang.Object name_ = ""; /** + * + * *
    * Required. The name of the view to get.
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ @java.lang.Override @@ -65,29 +90,31 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** + * + * *
    * Required. The name of the view to get.
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -96,6 +123,7 @@ public java.lang.String getName() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -107,8 +135,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -132,15 +159,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.contactcenterinsights.v1.GetViewRequest)) { return super.equals(obj); } - com.google.cloud.contactcenterinsights.v1.GetViewRequest other = (com.google.cloud.contactcenterinsights.v1.GetViewRequest) obj; + com.google.cloud.contactcenterinsights.v1.GetViewRequest other = + (com.google.cloud.contactcenterinsights.v1.GetViewRequest) obj; - if (!getName() - .equals(other.getName())) return false; + if (!getName().equals(other.getName())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -160,129 +187,136 @@ public int hashCode() { } public static com.google.cloud.contactcenterinsights.v1.GetViewRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.contactcenterinsights.v1.GetViewRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.contactcenterinsights.v1.GetViewRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.contactcenterinsights.v1.GetViewRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.contactcenterinsights.v1.GetViewRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.contactcenterinsights.v1.GetViewRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.contactcenterinsights.v1.GetViewRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.contactcenterinsights.v1.GetViewRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.contactcenterinsights.v1.GetViewRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.contactcenterinsights.v1.GetViewRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.contactcenterinsights.v1.GetViewRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.contactcenterinsights.v1.GetViewRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.contactcenterinsights.v1.GetViewRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.contactcenterinsights.v1.GetViewRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.contactcenterinsights.v1.GetViewRequest prototype) { + + public static Builder newBuilder( + com.google.cloud.contactcenterinsights.v1.GetViewRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * The request to get a view.
    * 
* * Protobuf type {@code google.cloud.contactcenterinsights.v1.GetViewRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.contactcenterinsights.v1.GetViewRequest) com.google.cloud.contactcenterinsights.v1.GetViewRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto.internal_static_google_cloud_contactcenterinsights_v1_GetViewRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto + .internal_static_google_cloud_contactcenterinsights_v1_GetViewRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto.internal_static_google_cloud_contactcenterinsights_v1_GetViewRequest_fieldAccessorTable + return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto + .internal_static_google_cloud_contactcenterinsights_v1_GetViewRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.contactcenterinsights.v1.GetViewRequest.class, com.google.cloud.contactcenterinsights.v1.GetViewRequest.Builder.class); + com.google.cloud.contactcenterinsights.v1.GetViewRequest.class, + com.google.cloud.contactcenterinsights.v1.GetViewRequest.Builder.class); } // Construct using com.google.cloud.contactcenterinsights.v1.GetViewRequest.newBuilder() - private Builder() { + private Builder() {} - } - - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -292,9 +326,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto.internal_static_google_cloud_contactcenterinsights_v1_GetViewRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto + .internal_static_google_cloud_contactcenterinsights_v1_GetViewRequest_descriptor; } @java.lang.Override @@ -313,8 +347,11 @@ public com.google.cloud.contactcenterinsights.v1.GetViewRequest build() { @java.lang.Override public com.google.cloud.contactcenterinsights.v1.GetViewRequest buildPartial() { - com.google.cloud.contactcenterinsights.v1.GetViewRequest result = new com.google.cloud.contactcenterinsights.v1.GetViewRequest(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.cloud.contactcenterinsights.v1.GetViewRequest result = + new com.google.cloud.contactcenterinsights.v1.GetViewRequest(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } @@ -330,38 +367,39 @@ private void buildPartial0(com.google.cloud.contactcenterinsights.v1.GetViewRequ public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.contactcenterinsights.v1.GetViewRequest) { - return mergeFrom((com.google.cloud.contactcenterinsights.v1.GetViewRequest)other); + return mergeFrom((com.google.cloud.contactcenterinsights.v1.GetViewRequest) other); } else { super.mergeFrom(other); return this; @@ -369,7 +407,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.contactcenterinsights.v1.GetViewRequest other) { - if (other == com.google.cloud.contactcenterinsights.v1.GetViewRequest.getDefaultInstance()) return this; + if (other == com.google.cloud.contactcenterinsights.v1.GetViewRequest.getDefaultInstance()) + return this; if (!other.getName().isEmpty()) { name_ = other.name_; bitField0_ |= 0x00000001; @@ -401,17 +440,19 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - name_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + name_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -421,22 +462,27 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private java.lang.Object name_ = ""; /** + * + * *
      * Required. The name of the view to get.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -445,20 +491,23 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The name of the view to get.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for name. */ - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -466,28 +515,39 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The name of the view to get.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setName(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } name_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
      * Required. The name of the view to get.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return This builder for chaining. */ public Builder clearName() { @@ -497,26 +557,32 @@ public Builder clearName() { return this; } /** + * + * *
      * Required. The name of the view to get.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setNameBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); name_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -526,12 +592,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.contactcenterinsights.v1.GetViewRequest) } // @@protoc_insertion_point(class_scope:google.cloud.contactcenterinsights.v1.GetViewRequest) private static final com.google.cloud.contactcenterinsights.v1.GetViewRequest DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.contactcenterinsights.v1.GetViewRequest(); } @@ -540,27 +606,27 @@ public static com.google.cloud.contactcenterinsights.v1.GetViewRequest getDefaul return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public GetViewRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public GetViewRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -575,6 +641,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.contactcenterinsights.v1.GetViewRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/GetViewRequestOrBuilder.java b/java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/GetViewRequestOrBuilder.java new file mode 100644 index 000000000000..77fe8abe110b --- /dev/null +++ b/java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/GetViewRequestOrBuilder.java @@ -0,0 +1,54 @@ +/* + * 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. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/contactcenterinsights/v1/contact_center_insights.proto + +package com.google.cloud.contactcenterinsights.v1; + +public interface GetViewRequestOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.cloud.contactcenterinsights.v1.GetViewRequest) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * Required. The name of the view to get.
+   * 
+ * + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The name. + */ + java.lang.String getName(); + /** + * + * + *
+   * Required. The name of the view to get.
+   * 
+ * + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The bytes for name. + */ + com.google.protobuf.ByteString getNameBytes(); +} diff --git a/owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/HoldData.java b/java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/HoldData.java similarity index 63% rename from owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/HoldData.java rename to java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/HoldData.java index ec610cd0a4b1..101d46a104af 100644 --- a/owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/HoldData.java +++ b/java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/HoldData.java @@ -1,53 +1,72 @@ +/* + * 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. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/contactcenterinsights/v1/resources.proto package com.google.cloud.contactcenterinsights.v1; /** + * + * *
  * The data for a hold annotation.
  * 
* * Protobuf type {@code google.cloud.contactcenterinsights.v1.HoldData} */ -public final class HoldData extends - com.google.protobuf.GeneratedMessageV3 implements +public final class HoldData extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.contactcenterinsights.v1.HoldData) HoldDataOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use HoldData.newBuilder() to construct. private HoldData(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private HoldData() { - } + + private HoldData() {} @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new HoldData(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.contactcenterinsights.v1.ResourcesProto.internal_static_google_cloud_contactcenterinsights_v1_HoldData_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.contactcenterinsights.v1.ResourcesProto + .internal_static_google_cloud_contactcenterinsights_v1_HoldData_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.contactcenterinsights.v1.ResourcesProto.internal_static_google_cloud_contactcenterinsights_v1_HoldData_fieldAccessorTable + return com.google.cloud.contactcenterinsights.v1.ResourcesProto + .internal_static_google_cloud_contactcenterinsights_v1_HoldData_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.contactcenterinsights.v1.HoldData.class, com.google.cloud.contactcenterinsights.v1.HoldData.Builder.class); + com.google.cloud.contactcenterinsights.v1.HoldData.class, + com.google.cloud.contactcenterinsights.v1.HoldData.Builder.class); } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -59,8 +78,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { getUnknownFields().writeTo(output); } @@ -78,12 +96,13 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.contactcenterinsights.v1.HoldData)) { return super.equals(obj); } - com.google.cloud.contactcenterinsights.v1.HoldData other = (com.google.cloud.contactcenterinsights.v1.HoldData) obj; + com.google.cloud.contactcenterinsights.v1.HoldData other = + (com.google.cloud.contactcenterinsights.v1.HoldData) obj; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -102,129 +121,135 @@ public int hashCode() { } public static com.google.cloud.contactcenterinsights.v1.HoldData parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.contactcenterinsights.v1.HoldData parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.contactcenterinsights.v1.HoldData parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.contactcenterinsights.v1.HoldData parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.contactcenterinsights.v1.HoldData parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.contactcenterinsights.v1.HoldData parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.contactcenterinsights.v1.HoldData parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.contactcenterinsights.v1.HoldData parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.contactcenterinsights.v1.HoldData parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.contactcenterinsights.v1.HoldData parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.contactcenterinsights.v1.HoldData parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.contactcenterinsights.v1.HoldData parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.contactcenterinsights.v1.HoldData parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.contactcenterinsights.v1.HoldData parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.cloud.contactcenterinsights.v1.HoldData prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * The data for a hold annotation.
    * 
* * Protobuf type {@code google.cloud.contactcenterinsights.v1.HoldData} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.contactcenterinsights.v1.HoldData) com.google.cloud.contactcenterinsights.v1.HoldDataOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.contactcenterinsights.v1.ResourcesProto.internal_static_google_cloud_contactcenterinsights_v1_HoldData_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.contactcenterinsights.v1.ResourcesProto + .internal_static_google_cloud_contactcenterinsights_v1_HoldData_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.contactcenterinsights.v1.ResourcesProto.internal_static_google_cloud_contactcenterinsights_v1_HoldData_fieldAccessorTable + return com.google.cloud.contactcenterinsights.v1.ResourcesProto + .internal_static_google_cloud_contactcenterinsights_v1_HoldData_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.contactcenterinsights.v1.HoldData.class, com.google.cloud.contactcenterinsights.v1.HoldData.Builder.class); + com.google.cloud.contactcenterinsights.v1.HoldData.class, + com.google.cloud.contactcenterinsights.v1.HoldData.Builder.class); } // Construct using com.google.cloud.contactcenterinsights.v1.HoldData.newBuilder() - private Builder() { - - } + private Builder() {} - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -232,9 +257,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.contactcenterinsights.v1.ResourcesProto.internal_static_google_cloud_contactcenterinsights_v1_HoldData_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.contactcenterinsights.v1.ResourcesProto + .internal_static_google_cloud_contactcenterinsights_v1_HoldData_descriptor; } @java.lang.Override @@ -253,7 +278,8 @@ public com.google.cloud.contactcenterinsights.v1.HoldData build() { @java.lang.Override public com.google.cloud.contactcenterinsights.v1.HoldData buildPartial() { - com.google.cloud.contactcenterinsights.v1.HoldData result = new com.google.cloud.contactcenterinsights.v1.HoldData(this); + com.google.cloud.contactcenterinsights.v1.HoldData result = + new com.google.cloud.contactcenterinsights.v1.HoldData(this); onBuilt(); return result; } @@ -262,38 +288,39 @@ public com.google.cloud.contactcenterinsights.v1.HoldData buildPartial() { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.contactcenterinsights.v1.HoldData) { - return mergeFrom((com.google.cloud.contactcenterinsights.v1.HoldData)other); + return mergeFrom((com.google.cloud.contactcenterinsights.v1.HoldData) other); } else { super.mergeFrom(other); return this; @@ -301,7 +328,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.contactcenterinsights.v1.HoldData other) { - if (other == com.google.cloud.contactcenterinsights.v1.HoldData.getDefaultInstance()) return this; + if (other == com.google.cloud.contactcenterinsights.v1.HoldData.getDefaultInstance()) + return this; this.mergeUnknownFields(other.getUnknownFields()); onChanged(); return this; @@ -328,12 +356,13 @@ public Builder mergeFrom( case 0: done = true; break; - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -343,9 +372,9 @@ public Builder mergeFrom( } // finally return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -355,12 +384,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.contactcenterinsights.v1.HoldData) } // @@protoc_insertion_point(class_scope:google.cloud.contactcenterinsights.v1.HoldData) private static final com.google.cloud.contactcenterinsights.v1.HoldData DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.contactcenterinsights.v1.HoldData(); } @@ -369,27 +398,27 @@ public static com.google.cloud.contactcenterinsights.v1.HoldData getDefaultInsta return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public HoldData parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public HoldData parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -404,6 +433,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.contactcenterinsights.v1.HoldData getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/HoldDataOrBuilder.java b/java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/HoldDataOrBuilder.java new file mode 100644 index 000000000000..e993a049f041 --- /dev/null +++ b/java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/HoldDataOrBuilder.java @@ -0,0 +1,24 @@ +/* + * 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. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/contactcenterinsights/v1/resources.proto + +package com.google.cloud.contactcenterinsights.v1; + +public interface HoldDataOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.cloud.contactcenterinsights.v1.HoldData) + com.google.protobuf.MessageOrBuilder {} diff --git a/owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/IngestConversationsMetadata.java b/java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/IngestConversationsMetadata.java similarity index 60% rename from owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/IngestConversationsMetadata.java rename to java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/IngestConversationsMetadata.java index 09c10578accf..095945782c70 100644 --- a/owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/IngestConversationsMetadata.java +++ b/java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/IngestConversationsMetadata.java @@ -1,152 +1,193 @@ +/* + * 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. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/contactcenterinsights/v1/contact_center_insights.proto package com.google.cloud.contactcenterinsights.v1; /** + * + * *
  * The metadata for an IngestConversations operation.
  * 
* * Protobuf type {@code google.cloud.contactcenterinsights.v1.IngestConversationsMetadata} */ -public final class IngestConversationsMetadata extends - com.google.protobuf.GeneratedMessageV3 implements +public final class IngestConversationsMetadata extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.contactcenterinsights.v1.IngestConversationsMetadata) IngestConversationsMetadataOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use IngestConversationsMetadata.newBuilder() to construct. private IngestConversationsMetadata(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private IngestConversationsMetadata() { partialErrors_ = java.util.Collections.emptyList(); } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new IngestConversationsMetadata(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto.internal_static_google_cloud_contactcenterinsights_v1_IngestConversationsMetadata_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto + .internal_static_google_cloud_contactcenterinsights_v1_IngestConversationsMetadata_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto.internal_static_google_cloud_contactcenterinsights_v1_IngestConversationsMetadata_fieldAccessorTable + return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto + .internal_static_google_cloud_contactcenterinsights_v1_IngestConversationsMetadata_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.contactcenterinsights.v1.IngestConversationsMetadata.class, com.google.cloud.contactcenterinsights.v1.IngestConversationsMetadata.Builder.class); + com.google.cloud.contactcenterinsights.v1.IngestConversationsMetadata.class, + com.google.cloud.contactcenterinsights.v1.IngestConversationsMetadata.Builder.class); } - public interface IngestConversationsStatsOrBuilder extends + public interface IngestConversationsStatsOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.contactcenterinsights.v1.IngestConversationsMetadata.IngestConversationsStats) com.google.protobuf.MessageOrBuilder { /** + * + * *
      * Output only. The number of objects processed during the ingest operation.
      * 
* * int32 processed_object_count = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The processedObjectCount. */ int getProcessedObjectCount(); /** + * + * *
      * Output only. The number of objects skipped because another conversation
      * with the same transcript uri had already been ingested.
      * 
* * int32 duplicates_skipped_count = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The duplicatesSkippedCount. */ int getDuplicatesSkippedCount(); /** + * + * *
      * Output only. The number of new conversations added during this ingest
      * operation.
      * 
* * int32 successful_ingest_count = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The successfulIngestCount. */ int getSuccessfulIngestCount(); /** + * + * *
      * Output only. The number of objects which were unable to be ingested due
      * to errors. The errors are populated in the partial_errors field.
      * 
* * int32 failed_ingest_count = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The failedIngestCount. */ int getFailedIngestCount(); } /** + * + * *
    * Statistics for IngestConversations operation.
    * 
* - * Protobuf type {@code google.cloud.contactcenterinsights.v1.IngestConversationsMetadata.IngestConversationsStats} + * Protobuf type {@code + * google.cloud.contactcenterinsights.v1.IngestConversationsMetadata.IngestConversationsStats} */ - public static final class IngestConversationsStats extends - com.google.protobuf.GeneratedMessageV3 implements + public static final class IngestConversationsStats extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.contactcenterinsights.v1.IngestConversationsMetadata.IngestConversationsStats) IngestConversationsStatsOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use IngestConversationsStats.newBuilder() to construct. private IngestConversationsStats(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private IngestConversationsStats() { - } + + private IngestConversationsStats() {} @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new IngestConversationsStats(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto.internal_static_google_cloud_contactcenterinsights_v1_IngestConversationsMetadata_IngestConversationsStats_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto + .internal_static_google_cloud_contactcenterinsights_v1_IngestConversationsMetadata_IngestConversationsStats_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto.internal_static_google_cloud_contactcenterinsights_v1_IngestConversationsMetadata_IngestConversationsStats_fieldAccessorTable + return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto + .internal_static_google_cloud_contactcenterinsights_v1_IngestConversationsMetadata_IngestConversationsStats_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.contactcenterinsights.v1.IngestConversationsMetadata.IngestConversationsStats.class, com.google.cloud.contactcenterinsights.v1.IngestConversationsMetadata.IngestConversationsStats.Builder.class); + com.google.cloud.contactcenterinsights.v1.IngestConversationsMetadata + .IngestConversationsStats.class, + com.google.cloud.contactcenterinsights.v1.IngestConversationsMetadata + .IngestConversationsStats.Builder.class); } public static final int PROCESSED_OBJECT_COUNT_FIELD_NUMBER = 1; private int processedObjectCount_ = 0; /** + * + * *
      * Output only. The number of objects processed during the ingest operation.
      * 
* * int32 processed_object_count = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The processedObjectCount. */ @java.lang.Override @@ -157,12 +198,15 @@ public int getProcessedObjectCount() { public static final int DUPLICATES_SKIPPED_COUNT_FIELD_NUMBER = 2; private int duplicatesSkippedCount_ = 0; /** + * + * *
      * Output only. The number of objects skipped because another conversation
      * with the same transcript uri had already been ingested.
      * 
* * int32 duplicates_skipped_count = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The duplicatesSkippedCount. */ @java.lang.Override @@ -173,12 +217,15 @@ public int getDuplicatesSkippedCount() { public static final int SUCCESSFUL_INGEST_COUNT_FIELD_NUMBER = 3; private int successfulIngestCount_ = 0; /** + * + * *
      * Output only. The number of new conversations added during this ingest
      * operation.
      * 
* * int32 successful_ingest_count = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The successfulIngestCount. */ @java.lang.Override @@ -189,12 +236,15 @@ public int getSuccessfulIngestCount() { public static final int FAILED_INGEST_COUNT_FIELD_NUMBER = 4; private int failedIngestCount_ = 0; /** + * + * *
      * Output only. The number of objects which were unable to be ingested due
      * to errors. The errors are populated in the partial_errors field.
      * 
* * int32 failed_ingest_count = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The failedIngestCount. */ @java.lang.Override @@ -203,6 +253,7 @@ public int getFailedIngestCount() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -214,8 +265,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (processedObjectCount_ != 0) { output.writeInt32(1, processedObjectCount_); } @@ -238,20 +288,16 @@ public int getSerializedSize() { size = 0; if (processedObjectCount_ != 0) { - size += com.google.protobuf.CodedOutputStream - .computeInt32Size(1, processedObjectCount_); + size += com.google.protobuf.CodedOutputStream.computeInt32Size(1, processedObjectCount_); } if (duplicatesSkippedCount_ != 0) { - size += com.google.protobuf.CodedOutputStream - .computeInt32Size(2, duplicatesSkippedCount_); + size += com.google.protobuf.CodedOutputStream.computeInt32Size(2, duplicatesSkippedCount_); } if (successfulIngestCount_ != 0) { - size += com.google.protobuf.CodedOutputStream - .computeInt32Size(3, successfulIngestCount_); + size += com.google.protobuf.CodedOutputStream.computeInt32Size(3, successfulIngestCount_); } if (failedIngestCount_ != 0) { - size += com.google.protobuf.CodedOutputStream - .computeInt32Size(4, failedIngestCount_); + size += com.google.protobuf.CodedOutputStream.computeInt32Size(4, failedIngestCount_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -261,21 +307,24 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } - if (!(obj instanceof com.google.cloud.contactcenterinsights.v1.IngestConversationsMetadata.IngestConversationsStats)) { + if (!(obj + instanceof + com.google.cloud.contactcenterinsights.v1.IngestConversationsMetadata + .IngestConversationsStats)) { return super.equals(obj); } - com.google.cloud.contactcenterinsights.v1.IngestConversationsMetadata.IngestConversationsStats other = (com.google.cloud.contactcenterinsights.v1.IngestConversationsMetadata.IngestConversationsStats) obj; + com.google.cloud.contactcenterinsights.v1.IngestConversationsMetadata.IngestConversationsStats + other = + (com.google.cloud.contactcenterinsights.v1.IngestConversationsMetadata + .IngestConversationsStats) + obj; - if (getProcessedObjectCount() - != other.getProcessedObjectCount()) return false; - if (getDuplicatesSkippedCount() - != other.getDuplicatesSkippedCount()) return false; - if (getSuccessfulIngestCount() - != other.getSuccessfulIngestCount()) return false; - if (getFailedIngestCount() - != other.getFailedIngestCount()) return false; + if (getProcessedObjectCount() != other.getProcessedObjectCount()) return false; + if (getDuplicatesSkippedCount() != other.getDuplicatesSkippedCount()) return false; + if (getSuccessfulIngestCount() != other.getSuccessfulIngestCount()) return false; + if (getFailedIngestCount() != other.getFailedIngestCount()) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -300,88 +349,115 @@ public int hashCode() { return hash; } - public static com.google.cloud.contactcenterinsights.v1.IngestConversationsMetadata.IngestConversationsStats parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.contactcenterinsights.v1.IngestConversationsMetadata + .IngestConversationsStats + parseFrom(java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.contactcenterinsights.v1.IngestConversationsMetadata.IngestConversationsStats parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.contactcenterinsights.v1.IngestConversationsMetadata + .IngestConversationsStats + parseFrom( + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.contactcenterinsights.v1.IngestConversationsMetadata.IngestConversationsStats parseFrom( - com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.contactcenterinsights.v1.IngestConversationsMetadata + .IngestConversationsStats + parseFrom(com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.contactcenterinsights.v1.IngestConversationsMetadata.IngestConversationsStats parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.contactcenterinsights.v1.IngestConversationsMetadata + .IngestConversationsStats + parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.contactcenterinsights.v1.IngestConversationsMetadata.IngestConversationsStats parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.contactcenterinsights.v1.IngestConversationsMetadata + .IngestConversationsStats + parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.contactcenterinsights.v1.IngestConversationsMetadata.IngestConversationsStats parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.contactcenterinsights.v1.IngestConversationsMetadata + .IngestConversationsStats + parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.contactcenterinsights.v1.IngestConversationsMetadata.IngestConversationsStats parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.contactcenterinsights.v1.IngestConversationsMetadata + .IngestConversationsStats + parseFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } - public static com.google.cloud.contactcenterinsights.v1.IngestConversationsMetadata.IngestConversationsStats parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + + public static com.google.cloud.contactcenterinsights.v1.IngestConversationsMetadata + .IngestConversationsStats + parseFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.contactcenterinsights.v1.IngestConversationsMetadata.IngestConversationsStats parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.contactcenterinsights.v1.IngestConversationsMetadata + .IngestConversationsStats + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.contactcenterinsights.v1.IngestConversationsMetadata.IngestConversationsStats parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + + public static com.google.cloud.contactcenterinsights.v1.IngestConversationsMetadata + .IngestConversationsStats + parseDelimitedFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.contactcenterinsights.v1.IngestConversationsMetadata.IngestConversationsStats parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.contactcenterinsights.v1.IngestConversationsMetadata + .IngestConversationsStats + parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } - public static com.google.cloud.contactcenterinsights.v1.IngestConversationsMetadata.IngestConversationsStats parseFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + + public static com.google.cloud.contactcenterinsights.v1.IngestConversationsMetadata + .IngestConversationsStats + parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.contactcenterinsights.v1.IngestConversationsMetadata.IngestConversationsStats prototype) { + + public static Builder newBuilder( + com.google.cloud.contactcenterinsights.v1.IngestConversationsMetadata + .IngestConversationsStats + prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -391,39 +467,46 @@ protected Builder newBuilderForType( return builder; } /** + * + * *
      * Statistics for IngestConversations operation.
      * 
* - * Protobuf type {@code google.cloud.contactcenterinsights.v1.IngestConversationsMetadata.IngestConversationsStats} + * Protobuf type {@code + * google.cloud.contactcenterinsights.v1.IngestConversationsMetadata.IngestConversationsStats} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder + extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.contactcenterinsights.v1.IngestConversationsMetadata.IngestConversationsStats) - com.google.cloud.contactcenterinsights.v1.IngestConversationsMetadata.IngestConversationsStatsOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto.internal_static_google_cloud_contactcenterinsights_v1_IngestConversationsMetadata_IngestConversationsStats_descriptor; + com.google.cloud.contactcenterinsights.v1.IngestConversationsMetadata + .IngestConversationsStatsOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto + .internal_static_google_cloud_contactcenterinsights_v1_IngestConversationsMetadata_IngestConversationsStats_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto.internal_static_google_cloud_contactcenterinsights_v1_IngestConversationsMetadata_IngestConversationsStats_fieldAccessorTable + return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto + .internal_static_google_cloud_contactcenterinsights_v1_IngestConversationsMetadata_IngestConversationsStats_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.contactcenterinsights.v1.IngestConversationsMetadata.IngestConversationsStats.class, com.google.cloud.contactcenterinsights.v1.IngestConversationsMetadata.IngestConversationsStats.Builder.class); + com.google.cloud.contactcenterinsights.v1.IngestConversationsMetadata + .IngestConversationsStats.class, + com.google.cloud.contactcenterinsights.v1.IngestConversationsMetadata + .IngestConversationsStats.Builder.class); } - // Construct using com.google.cloud.contactcenterinsights.v1.IngestConversationsMetadata.IngestConversationsStats.newBuilder() - private Builder() { + // Construct using + // com.google.cloud.contactcenterinsights.v1.IngestConversationsMetadata.IngestConversationsStats.newBuilder() + private Builder() {} - } - - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -436,19 +519,26 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto.internal_static_google_cloud_contactcenterinsights_v1_IngestConversationsMetadata_IngestConversationsStats_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto + .internal_static_google_cloud_contactcenterinsights_v1_IngestConversationsMetadata_IngestConversationsStats_descriptor; } @java.lang.Override - public com.google.cloud.contactcenterinsights.v1.IngestConversationsMetadata.IngestConversationsStats getDefaultInstanceForType() { - return com.google.cloud.contactcenterinsights.v1.IngestConversationsMetadata.IngestConversationsStats.getDefaultInstance(); + public com.google.cloud.contactcenterinsights.v1.IngestConversationsMetadata + .IngestConversationsStats + getDefaultInstanceForType() { + return com.google.cloud.contactcenterinsights.v1.IngestConversationsMetadata + .IngestConversationsStats.getDefaultInstance(); } @java.lang.Override - public com.google.cloud.contactcenterinsights.v1.IngestConversationsMetadata.IngestConversationsStats build() { - com.google.cloud.contactcenterinsights.v1.IngestConversationsMetadata.IngestConversationsStats result = buildPartial(); + public com.google.cloud.contactcenterinsights.v1.IngestConversationsMetadata + .IngestConversationsStats + build() { + com.google.cloud.contactcenterinsights.v1.IngestConversationsMetadata + .IngestConversationsStats + result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } @@ -456,14 +546,25 @@ public com.google.cloud.contactcenterinsights.v1.IngestConversationsMetadata.Ing } @java.lang.Override - public com.google.cloud.contactcenterinsights.v1.IngestConversationsMetadata.IngestConversationsStats buildPartial() { - com.google.cloud.contactcenterinsights.v1.IngestConversationsMetadata.IngestConversationsStats result = new com.google.cloud.contactcenterinsights.v1.IngestConversationsMetadata.IngestConversationsStats(this); - if (bitField0_ != 0) { buildPartial0(result); } + public com.google.cloud.contactcenterinsights.v1.IngestConversationsMetadata + .IngestConversationsStats + buildPartial() { + com.google.cloud.contactcenterinsights.v1.IngestConversationsMetadata + .IngestConversationsStats + result = + new com.google.cloud.contactcenterinsights.v1.IngestConversationsMetadata + .IngestConversationsStats(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } - private void buildPartial0(com.google.cloud.contactcenterinsights.v1.IngestConversationsMetadata.IngestConversationsStats result) { + private void buildPartial0( + com.google.cloud.contactcenterinsights.v1.IngestConversationsMetadata + .IngestConversationsStats + result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { result.processedObjectCount_ = processedObjectCount_; @@ -483,46 +584,60 @@ private void buildPartial0(com.google.cloud.contactcenterinsights.v1.IngestConve public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + int index, + java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { - if (other instanceof com.google.cloud.contactcenterinsights.v1.IngestConversationsMetadata.IngestConversationsStats) { - return mergeFrom((com.google.cloud.contactcenterinsights.v1.IngestConversationsMetadata.IngestConversationsStats)other); + if (other + instanceof + com.google.cloud.contactcenterinsights.v1.IngestConversationsMetadata + .IngestConversationsStats) { + return mergeFrom( + (com.google.cloud.contactcenterinsights.v1.IngestConversationsMetadata + .IngestConversationsStats) + other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.google.cloud.contactcenterinsights.v1.IngestConversationsMetadata.IngestConversationsStats other) { - if (other == com.google.cloud.contactcenterinsights.v1.IngestConversationsMetadata.IngestConversationsStats.getDefaultInstance()) return this; + public Builder mergeFrom( + com.google.cloud.contactcenterinsights.v1.IngestConversationsMetadata + .IngestConversationsStats + other) { + if (other + == com.google.cloud.contactcenterinsights.v1.IngestConversationsMetadata + .IngestConversationsStats.getDefaultInstance()) return this; if (other.getProcessedObjectCount() != 0) { setProcessedObjectCount(other.getProcessedObjectCount()); } @@ -561,32 +676,37 @@ public Builder mergeFrom( case 0: done = true; break; - case 8: { - processedObjectCount_ = input.readInt32(); - bitField0_ |= 0x00000001; - break; - } // case 8 - case 16: { - duplicatesSkippedCount_ = input.readInt32(); - bitField0_ |= 0x00000002; - break; - } // case 16 - case 24: { - successfulIngestCount_ = input.readInt32(); - bitField0_ |= 0x00000004; - break; - } // case 24 - case 32: { - failedIngestCount_ = input.readInt32(); - bitField0_ |= 0x00000008; - break; - } // case 32 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 8: + { + processedObjectCount_ = input.readInt32(); + bitField0_ |= 0x00000001; + break; + } // case 8 + case 16: + { + duplicatesSkippedCount_ = input.readInt32(); + bitField0_ |= 0x00000002; + break; + } // case 16 + case 24: + { + successfulIngestCount_ = input.readInt32(); + bitField0_ |= 0x00000004; + break; + } // case 24 + case 32: + { + failedIngestCount_ = input.readInt32(); + bitField0_ |= 0x00000008; + break; + } // case 32 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -596,15 +716,19 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; - private int processedObjectCount_ ; + private int processedObjectCount_; /** + * + * *
        * Output only. The number of objects processed during the ingest operation.
        * 
* * int32 processed_object_count = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The processedObjectCount. */ @java.lang.Override @@ -612,27 +736,33 @@ public int getProcessedObjectCount() { return processedObjectCount_; } /** + * + * *
        * Output only. The number of objects processed during the ingest operation.
        * 
* * int32 processed_object_count = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param value The processedObjectCount to set. * @return This builder for chaining. */ public Builder setProcessedObjectCount(int value) { - + processedObjectCount_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
        * Output only. The number of objects processed during the ingest operation.
        * 
* * int32 processed_object_count = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return This builder for chaining. */ public Builder clearProcessedObjectCount() { @@ -642,14 +772,18 @@ public Builder clearProcessedObjectCount() { return this; } - private int duplicatesSkippedCount_ ; + private int duplicatesSkippedCount_; /** + * + * *
        * Output only. The number of objects skipped because another conversation
        * with the same transcript uri had already been ingested.
        * 
* - * int32 duplicates_skipped_count = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * int32 duplicates_skipped_count = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The duplicatesSkippedCount. */ @java.lang.Override @@ -657,29 +791,37 @@ public int getDuplicatesSkippedCount() { return duplicatesSkippedCount_; } /** + * + * *
        * Output only. The number of objects skipped because another conversation
        * with the same transcript uri had already been ingested.
        * 
* - * int32 duplicates_skipped_count = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * int32 duplicates_skipped_count = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @param value The duplicatesSkippedCount to set. * @return This builder for chaining. */ public Builder setDuplicatesSkippedCount(int value) { - + duplicatesSkippedCount_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** + * + * *
        * Output only. The number of objects skipped because another conversation
        * with the same transcript uri had already been ingested.
        * 
* - * int32 duplicates_skipped_count = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * int32 duplicates_skipped_count = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return This builder for chaining. */ public Builder clearDuplicatesSkippedCount() { @@ -689,14 +831,18 @@ public Builder clearDuplicatesSkippedCount() { return this; } - private int successfulIngestCount_ ; + private int successfulIngestCount_; /** + * + * *
        * Output only. The number of new conversations added during this ingest
        * operation.
        * 
* - * int32 successful_ingest_count = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * int32 successful_ingest_count = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The successfulIngestCount. */ @java.lang.Override @@ -704,29 +850,37 @@ public int getSuccessfulIngestCount() { return successfulIngestCount_; } /** + * + * *
        * Output only. The number of new conversations added during this ingest
        * operation.
        * 
* - * int32 successful_ingest_count = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * int32 successful_ingest_count = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @param value The successfulIngestCount to set. * @return This builder for chaining. */ public Builder setSuccessfulIngestCount(int value) { - + successfulIngestCount_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } /** + * + * *
        * Output only. The number of new conversations added during this ingest
        * operation.
        * 
* - * int32 successful_ingest_count = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * int32 successful_ingest_count = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return This builder for chaining. */ public Builder clearSuccessfulIngestCount() { @@ -736,14 +890,17 @@ public Builder clearSuccessfulIngestCount() { return this; } - private int failedIngestCount_ ; + private int failedIngestCount_; /** + * + * *
        * Output only. The number of objects which were unable to be ingested due
        * to errors. The errors are populated in the partial_errors field.
        * 
* * int32 failed_ingest_count = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The failedIngestCount. */ @java.lang.Override @@ -751,29 +908,35 @@ public int getFailedIngestCount() { return failedIngestCount_; } /** + * + * *
        * Output only. The number of objects which were unable to be ingested due
        * to errors. The errors are populated in the partial_errors field.
        * 
* * int32 failed_ingest_count = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param value The failedIngestCount to set. * @return This builder for chaining. */ public Builder setFailedIngestCount(int value) { - + failedIngestCount_ = value; bitField0_ |= 0x00000008; onChanged(); return this; } /** + * + * *
        * Output only. The number of objects which were unable to be ingested due
        * to errors. The errors are populated in the partial_errors field.
        * 
* * int32 failed_ingest_count = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return This builder for chaining. */ public Builder clearFailedIngestCount() { @@ -782,6 +945,7 @@ public Builder clearFailedIngestCount() { onChanged(); return this; } + @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -794,41 +958,48 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.contactcenterinsights.v1.IngestConversationsMetadata.IngestConversationsStats) } // @@protoc_insertion_point(class_scope:google.cloud.contactcenterinsights.v1.IngestConversationsMetadata.IngestConversationsStats) - private static final com.google.cloud.contactcenterinsights.v1.IngestConversationsMetadata.IngestConversationsStats DEFAULT_INSTANCE; + private static final com.google.cloud.contactcenterinsights.v1.IngestConversationsMetadata + .IngestConversationsStats + DEFAULT_INSTANCE; + static { - DEFAULT_INSTANCE = new com.google.cloud.contactcenterinsights.v1.IngestConversationsMetadata.IngestConversationsStats(); + DEFAULT_INSTANCE = + new com.google.cloud.contactcenterinsights.v1.IngestConversationsMetadata + .IngestConversationsStats(); } - public static com.google.cloud.contactcenterinsights.v1.IngestConversationsMetadata.IngestConversationsStats getDefaultInstance() { + public static com.google.cloud.contactcenterinsights.v1.IngestConversationsMetadata + .IngestConversationsStats + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public IngestConversationsStats parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public IngestConversationsStats parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException() + .setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -840,20 +1011,25 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.cloud.contactcenterinsights.v1.IngestConversationsMetadata.IngestConversationsStats getDefaultInstanceForType() { + public com.google.cloud.contactcenterinsights.v1.IngestConversationsMetadata + .IngestConversationsStats + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } public static final int CREATE_TIME_FIELD_NUMBER = 1; private com.google.protobuf.Timestamp createTime_; /** + * + * *
    * Output only. The time the operation was created.
    * 
* - * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the createTime field is set. */ @java.lang.Override @@ -861,11 +1037,15 @@ public boolean hasCreateTime() { return createTime_ != null; } /** + * + * *
    * Output only. The time the operation was created.
    * 
* - * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The createTime. */ @java.lang.Override @@ -873,11 +1053,14 @@ public com.google.protobuf.Timestamp getCreateTime() { return createTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : createTime_; } /** + * + * *
    * Output only. The time the operation was created.
    * 
* - * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ @java.lang.Override public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { @@ -887,11 +1070,15 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { public static final int END_TIME_FIELD_NUMBER = 2; private com.google.protobuf.Timestamp endTime_; /** + * + * *
    * Output only. The time the operation finished running.
    * 
* - * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the endTime field is set. */ @java.lang.Override @@ -899,11 +1086,15 @@ public boolean hasEndTime() { return endTime_ != null; } /** + * + * *
    * Output only. The time the operation finished running.
    * 
* - * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The endTime. */ @java.lang.Override @@ -911,11 +1102,14 @@ public com.google.protobuf.Timestamp getEndTime() { return endTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : endTime_; } /** + * + * *
    * Output only. The time the operation finished running.
    * 
* - * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ @java.lang.Override public com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder() { @@ -925,11 +1119,16 @@ public com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder() { public static final int REQUEST_FIELD_NUMBER = 3; private com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest request_; /** + * + * *
    * Output only. The original request for ingest.
    * 
* - * .google.cloud.contactcenterinsights.v1.IngestConversationsRequest request = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.contactcenterinsights.v1.IngestConversationsRequest request = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the request field is set. */ @java.lang.Override @@ -937,103 +1136,143 @@ public boolean hasRequest() { return request_ != null; } /** + * + * *
    * Output only. The original request for ingest.
    * 
* - * .google.cloud.contactcenterinsights.v1.IngestConversationsRequest request = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.contactcenterinsights.v1.IngestConversationsRequest request = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The request. */ @java.lang.Override public com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest getRequest() { - return request_ == null ? com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest.getDefaultInstance() : request_; + return request_ == null + ? com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest.getDefaultInstance() + : request_; } /** + * + * *
    * Output only. The original request for ingest.
    * 
* - * .google.cloud.contactcenterinsights.v1.IngestConversationsRequest request = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.contactcenterinsights.v1.IngestConversationsRequest request = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ @java.lang.Override - public com.google.cloud.contactcenterinsights.v1.IngestConversationsRequestOrBuilder getRequestOrBuilder() { - return request_ == null ? com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest.getDefaultInstance() : request_; + public com.google.cloud.contactcenterinsights.v1.IngestConversationsRequestOrBuilder + getRequestOrBuilder() { + return request_ == null + ? com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest.getDefaultInstance() + : request_; } public static final int PARTIAL_ERRORS_FIELD_NUMBER = 4; + @SuppressWarnings("serial") private java.util.List partialErrors_; /** + * + * *
    * Output only. Partial errors during ingest operation that might cause the
    * operation output to be incomplete.
    * 
* - * repeated .google.rpc.Status partial_errors = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.rpc.Status partial_errors = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ @java.lang.Override public java.util.List getPartialErrorsList() { return partialErrors_; } /** + * + * *
    * Output only. Partial errors during ingest operation that might cause the
    * operation output to be incomplete.
    * 
* - * repeated .google.rpc.Status partial_errors = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.rpc.Status partial_errors = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ @java.lang.Override - public java.util.List - getPartialErrorsOrBuilderList() { + public java.util.List getPartialErrorsOrBuilderList() { return partialErrors_; } /** + * + * *
    * Output only. Partial errors during ingest operation that might cause the
    * operation output to be incomplete.
    * 
* - * repeated .google.rpc.Status partial_errors = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.rpc.Status partial_errors = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ @java.lang.Override public int getPartialErrorsCount() { return partialErrors_.size(); } /** + * + * *
    * Output only. Partial errors during ingest operation that might cause the
    * operation output to be incomplete.
    * 
* - * repeated .google.rpc.Status partial_errors = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.rpc.Status partial_errors = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ @java.lang.Override public com.google.rpc.Status getPartialErrors(int index) { return partialErrors_.get(index); } /** + * + * *
    * Output only. Partial errors during ingest operation that might cause the
    * operation output to be incomplete.
    * 
* - * repeated .google.rpc.Status partial_errors = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.rpc.Status partial_errors = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ @java.lang.Override - public com.google.rpc.StatusOrBuilder getPartialErrorsOrBuilder( - int index) { + public com.google.rpc.StatusOrBuilder getPartialErrorsOrBuilder(int index) { return partialErrors_.get(index); } public static final int INGEST_CONVERSATIONS_STATS_FIELD_NUMBER = 5; - private com.google.cloud.contactcenterinsights.v1.IngestConversationsMetadata.IngestConversationsStats ingestConversationsStats_; + private com.google.cloud.contactcenterinsights.v1.IngestConversationsMetadata + .IngestConversationsStats + ingestConversationsStats_; /** + * + * *
    * Output only. Statistics for IngestConversations operation.
    * 
* - * .google.cloud.contactcenterinsights.v1.IngestConversationsMetadata.IngestConversationsStats ingest_conversations_stats = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.contactcenterinsights.v1.IngestConversationsMetadata.IngestConversationsStats ingest_conversations_stats = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the ingestConversationsStats field is set. */ @java.lang.Override @@ -1041,30 +1280,50 @@ public boolean hasIngestConversationsStats() { return ingestConversationsStats_ != null; } /** + * + * *
    * Output only. Statistics for IngestConversations operation.
    * 
* - * .google.cloud.contactcenterinsights.v1.IngestConversationsMetadata.IngestConversationsStats ingest_conversations_stats = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.contactcenterinsights.v1.IngestConversationsMetadata.IngestConversationsStats ingest_conversations_stats = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The ingestConversationsStats. */ @java.lang.Override - public com.google.cloud.contactcenterinsights.v1.IngestConversationsMetadata.IngestConversationsStats getIngestConversationsStats() { - return ingestConversationsStats_ == null ? com.google.cloud.contactcenterinsights.v1.IngestConversationsMetadata.IngestConversationsStats.getDefaultInstance() : ingestConversationsStats_; + public com.google.cloud.contactcenterinsights.v1.IngestConversationsMetadata + .IngestConversationsStats + getIngestConversationsStats() { + return ingestConversationsStats_ == null + ? com.google.cloud.contactcenterinsights.v1.IngestConversationsMetadata + .IngestConversationsStats.getDefaultInstance() + : ingestConversationsStats_; } /** + * + * *
    * Output only. Statistics for IngestConversations operation.
    * 
* - * .google.cloud.contactcenterinsights.v1.IngestConversationsMetadata.IngestConversationsStats ingest_conversations_stats = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.contactcenterinsights.v1.IngestConversationsMetadata.IngestConversationsStats ingest_conversations_stats = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ @java.lang.Override - public com.google.cloud.contactcenterinsights.v1.IngestConversationsMetadata.IngestConversationsStatsOrBuilder getIngestConversationsStatsOrBuilder() { - return ingestConversationsStats_ == null ? com.google.cloud.contactcenterinsights.v1.IngestConversationsMetadata.IngestConversationsStats.getDefaultInstance() : ingestConversationsStats_; + public com.google.cloud.contactcenterinsights.v1.IngestConversationsMetadata + .IngestConversationsStatsOrBuilder + getIngestConversationsStatsOrBuilder() { + return ingestConversationsStats_ == null + ? com.google.cloud.contactcenterinsights.v1.IngestConversationsMetadata + .IngestConversationsStats.getDefaultInstance() + : ingestConversationsStats_; } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -1076,8 +1335,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (createTime_ != null) { output.writeMessage(1, getCreateTime()); } @@ -1103,24 +1361,21 @@ public int getSerializedSize() { size = 0; if (createTime_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, getCreateTime()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getCreateTime()); } if (endTime_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, getEndTime()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getEndTime()); } if (request_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(3, getRequest()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getRequest()); } for (int i = 0; i < partialErrors_.size(); i++) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(4, partialErrors_.get(i)); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(4, partialErrors_.get(i)); } if (ingestConversationsStats_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(5, getIngestConversationsStats()); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 5, getIngestConversationsStats()); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -1130,34 +1385,30 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.contactcenterinsights.v1.IngestConversationsMetadata)) { return super.equals(obj); } - com.google.cloud.contactcenterinsights.v1.IngestConversationsMetadata other = (com.google.cloud.contactcenterinsights.v1.IngestConversationsMetadata) obj; + com.google.cloud.contactcenterinsights.v1.IngestConversationsMetadata other = + (com.google.cloud.contactcenterinsights.v1.IngestConversationsMetadata) obj; if (hasCreateTime() != other.hasCreateTime()) return false; if (hasCreateTime()) { - if (!getCreateTime() - .equals(other.getCreateTime())) return false; + if (!getCreateTime().equals(other.getCreateTime())) return false; } if (hasEndTime() != other.hasEndTime()) return false; if (hasEndTime()) { - if (!getEndTime() - .equals(other.getEndTime())) return false; + if (!getEndTime().equals(other.getEndTime())) return false; } if (hasRequest() != other.hasRequest()) return false; if (hasRequest()) { - if (!getRequest() - .equals(other.getRequest())) return false; + if (!getRequest().equals(other.getRequest())) return false; } - if (!getPartialErrorsList() - .equals(other.getPartialErrorsList())) return false; + if (!getPartialErrorsList().equals(other.getPartialErrorsList())) return false; if (hasIngestConversationsStats() != other.hasIngestConversationsStats()) return false; if (hasIngestConversationsStats()) { - if (!getIngestConversationsStats() - .equals(other.getIngestConversationsStats())) return false; + if (!getIngestConversationsStats().equals(other.getIngestConversationsStats())) return false; } if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -1196,129 +1447,138 @@ public int hashCode() { } public static com.google.cloud.contactcenterinsights.v1.IngestConversationsMetadata parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.contactcenterinsights.v1.IngestConversationsMetadata parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.contactcenterinsights.v1.IngestConversationsMetadata parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.contactcenterinsights.v1.IngestConversationsMetadata parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.contactcenterinsights.v1.IngestConversationsMetadata parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.contactcenterinsights.v1.IngestConversationsMetadata parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.contactcenterinsights.v1.IngestConversationsMetadata parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.contactcenterinsights.v1.IngestConversationsMetadata parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.contactcenterinsights.v1.IngestConversationsMetadata parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.contactcenterinsights.v1.IngestConversationsMetadata parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.contactcenterinsights.v1.IngestConversationsMetadata parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.contactcenterinsights.v1.IngestConversationsMetadata + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.contactcenterinsights.v1.IngestConversationsMetadata parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + + public static com.google.cloud.contactcenterinsights.v1.IngestConversationsMetadata + parseDelimitedFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.contactcenterinsights.v1.IngestConversationsMetadata parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.contactcenterinsights.v1.IngestConversationsMetadata parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.contactcenterinsights.v1.IngestConversationsMetadata prototype) { + + public static Builder newBuilder( + com.google.cloud.contactcenterinsights.v1.IngestConversationsMetadata prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * The metadata for an IngestConversations operation.
    * 
* * Protobuf type {@code google.cloud.contactcenterinsights.v1.IngestConversationsMetadata} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.contactcenterinsights.v1.IngestConversationsMetadata) com.google.cloud.contactcenterinsights.v1.IngestConversationsMetadataOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto.internal_static_google_cloud_contactcenterinsights_v1_IngestConversationsMetadata_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto + .internal_static_google_cloud_contactcenterinsights_v1_IngestConversationsMetadata_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto.internal_static_google_cloud_contactcenterinsights_v1_IngestConversationsMetadata_fieldAccessorTable + return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto + .internal_static_google_cloud_contactcenterinsights_v1_IngestConversationsMetadata_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.contactcenterinsights.v1.IngestConversationsMetadata.class, com.google.cloud.contactcenterinsights.v1.IngestConversationsMetadata.Builder.class); + com.google.cloud.contactcenterinsights.v1.IngestConversationsMetadata.class, + com.google.cloud.contactcenterinsights.v1.IngestConversationsMetadata.Builder.class); } - // Construct using com.google.cloud.contactcenterinsights.v1.IngestConversationsMetadata.newBuilder() - private Builder() { + // Construct using + // com.google.cloud.contactcenterinsights.v1.IngestConversationsMetadata.newBuilder() + private Builder() {} - } - - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -1354,14 +1614,16 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto.internal_static_google_cloud_contactcenterinsights_v1_IngestConversationsMetadata_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto + .internal_static_google_cloud_contactcenterinsights_v1_IngestConversationsMetadata_descriptor; } @java.lang.Override - public com.google.cloud.contactcenterinsights.v1.IngestConversationsMetadata getDefaultInstanceForType() { - return com.google.cloud.contactcenterinsights.v1.IngestConversationsMetadata.getDefaultInstance(); + public com.google.cloud.contactcenterinsights.v1.IngestConversationsMetadata + getDefaultInstanceForType() { + return com.google.cloud.contactcenterinsights.v1.IngestConversationsMetadata + .getDefaultInstance(); } @java.lang.Override @@ -1375,14 +1637,18 @@ public com.google.cloud.contactcenterinsights.v1.IngestConversationsMetadata bui @java.lang.Override public com.google.cloud.contactcenterinsights.v1.IngestConversationsMetadata buildPartial() { - com.google.cloud.contactcenterinsights.v1.IngestConversationsMetadata result = new com.google.cloud.contactcenterinsights.v1.IngestConversationsMetadata(this); + com.google.cloud.contactcenterinsights.v1.IngestConversationsMetadata result = + new com.google.cloud.contactcenterinsights.v1.IngestConversationsMetadata(this); buildPartialRepeatedFields(result); - if (bitField0_ != 0) { buildPartial0(result); } + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } - private void buildPartialRepeatedFields(com.google.cloud.contactcenterinsights.v1.IngestConversationsMetadata result) { + private void buildPartialRepeatedFields( + com.google.cloud.contactcenterinsights.v1.IngestConversationsMetadata result) { if (partialErrorsBuilder_ == null) { if (((bitField0_ & 0x00000008) != 0)) { partialErrors_ = java.util.Collections.unmodifiableList(partialErrors_); @@ -1394,27 +1660,23 @@ private void buildPartialRepeatedFields(com.google.cloud.contactcenterinsights.v } } - private void buildPartial0(com.google.cloud.contactcenterinsights.v1.IngestConversationsMetadata result) { + private void buildPartial0( + com.google.cloud.contactcenterinsights.v1.IngestConversationsMetadata result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { - result.createTime_ = createTimeBuilder_ == null - ? createTime_ - : createTimeBuilder_.build(); + result.createTime_ = createTimeBuilder_ == null ? createTime_ : createTimeBuilder_.build(); } if (((from_bitField0_ & 0x00000002) != 0)) { - result.endTime_ = endTimeBuilder_ == null - ? endTime_ - : endTimeBuilder_.build(); + result.endTime_ = endTimeBuilder_ == null ? endTime_ : endTimeBuilder_.build(); } if (((from_bitField0_ & 0x00000004) != 0)) { - result.request_ = requestBuilder_ == null - ? request_ - : requestBuilder_.build(); + result.request_ = requestBuilder_ == null ? request_ : requestBuilder_.build(); } if (((from_bitField0_ & 0x00000010) != 0)) { - result.ingestConversationsStats_ = ingestConversationsStatsBuilder_ == null - ? ingestConversationsStats_ - : ingestConversationsStatsBuilder_.build(); + result.ingestConversationsStats_ = + ingestConversationsStatsBuilder_ == null + ? ingestConversationsStats_ + : ingestConversationsStatsBuilder_.build(); } } @@ -1422,46 +1684,51 @@ private void buildPartial0(com.google.cloud.contactcenterinsights.v1.IngestConve public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.contactcenterinsights.v1.IngestConversationsMetadata) { - return mergeFrom((com.google.cloud.contactcenterinsights.v1.IngestConversationsMetadata)other); + return mergeFrom( + (com.google.cloud.contactcenterinsights.v1.IngestConversationsMetadata) other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.google.cloud.contactcenterinsights.v1.IngestConversationsMetadata other) { - if (other == com.google.cloud.contactcenterinsights.v1.IngestConversationsMetadata.getDefaultInstance()) return this; + public Builder mergeFrom( + com.google.cloud.contactcenterinsights.v1.IngestConversationsMetadata other) { + if (other + == com.google.cloud.contactcenterinsights.v1.IngestConversationsMetadata + .getDefaultInstance()) return this; if (other.hasCreateTime()) { mergeCreateTime(other.getCreateTime()); } @@ -1489,9 +1756,10 @@ public Builder mergeFrom(com.google.cloud.contactcenterinsights.v1.IngestConvers partialErrorsBuilder_ = null; partialErrors_ = other.partialErrors_; bitField0_ = (bitField0_ & ~0x00000008); - partialErrorsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? - getPartialErrorsFieldBuilder() : null; + partialErrorsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders + ? getPartialErrorsFieldBuilder() + : null; } else { partialErrorsBuilder_.addAllMessages(other.partialErrors_); } @@ -1526,53 +1794,50 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - input.readMessage( - getCreateTimeFieldBuilder().getBuilder(), - extensionRegistry); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: { - input.readMessage( - getEndTimeFieldBuilder().getBuilder(), - extensionRegistry); - bitField0_ |= 0x00000002; - break; - } // case 18 - case 26: { - input.readMessage( - getRequestFieldBuilder().getBuilder(), - extensionRegistry); - bitField0_ |= 0x00000004; - break; - } // case 26 - case 34: { - com.google.rpc.Status m = - input.readMessage( - com.google.rpc.Status.parser(), - extensionRegistry); - if (partialErrorsBuilder_ == null) { - ensurePartialErrorsIsMutable(); - partialErrors_.add(m); - } else { - partialErrorsBuilder_.addMessage(m); - } - break; - } // case 34 - case 42: { - input.readMessage( - getIngestConversationsStatsFieldBuilder().getBuilder(), - extensionRegistry); - bitField0_ |= 0x00000010; - break; - } // case 42 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + input.readMessage(getCreateTimeFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: + { + input.readMessage(getEndTimeFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000002; + break; + } // case 18 + case 26: + { + input.readMessage(getRequestFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000004; + break; + } // case 26 + case 34: + { + com.google.rpc.Status m = + input.readMessage(com.google.rpc.Status.parser(), extensionRegistry); + if (partialErrorsBuilder_ == null) { + ensurePartialErrorsIsMutable(); + partialErrors_.add(m); + } else { + partialErrorsBuilder_.addMessage(m); + } + break; + } // case 34 + case 42: + { + input.readMessage( + getIngestConversationsStatsFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000010; + break; + } // case 42 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -1582,43 +1847,63 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private com.google.protobuf.Timestamp createTime_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> createTimeBuilder_; + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder> + createTimeBuilder_; /** + * + * *
      * Output only. The time the operation was created.
      * 
* - * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the createTime field is set. */ public boolean hasCreateTime() { return ((bitField0_ & 0x00000001) != 0); } /** + * + * *
      * Output only. The time the operation was created.
      * 
* - * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The createTime. */ public com.google.protobuf.Timestamp getCreateTime() { if (createTimeBuilder_ == null) { - return createTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : createTime_; + return createTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : createTime_; } else { return createTimeBuilder_.getMessage(); } } /** + * + * *
      * Output only. The time the operation was created.
      * 
* - * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder setCreateTime(com.google.protobuf.Timestamp value) { if (createTimeBuilder_ == null) { @@ -1634,14 +1919,17 @@ public Builder setCreateTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * Output only. The time the operation was created.
      * 
* - * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - public Builder setCreateTime( - com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setCreateTime(com.google.protobuf.Timestamp.Builder builderForValue) { if (createTimeBuilder_ == null) { createTime_ = builderForValue.build(); } else { @@ -1652,17 +1940,21 @@ public Builder setCreateTime( return this; } /** + * + * *
      * Output only. The time the operation was created.
      * 
* - * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder mergeCreateTime(com.google.protobuf.Timestamp value) { if (createTimeBuilder_ == null) { - if (((bitField0_ & 0x00000001) != 0) && - createTime_ != null && - createTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { + if (((bitField0_ & 0x00000001) != 0) + && createTime_ != null + && createTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { getCreateTimeBuilder().mergeFrom(value); } else { createTime_ = value; @@ -1675,11 +1967,15 @@ public Builder mergeCreateTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * Output only. The time the operation was created.
      * 
* - * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder clearCreateTime() { bitField0_ = (bitField0_ & ~0x00000001); @@ -1692,11 +1988,15 @@ public Builder clearCreateTime() { return this; } /** + * + * *
      * Output only. The time the operation was created.
      * 
* - * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public com.google.protobuf.Timestamp.Builder getCreateTimeBuilder() { bitField0_ |= 0x00000001; @@ -1704,36 +2004,48 @@ public com.google.protobuf.Timestamp.Builder getCreateTimeBuilder() { return getCreateTimeFieldBuilder().getBuilder(); } /** + * + * *
      * Output only. The time the operation was created.
      * 
* - * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { if (createTimeBuilder_ != null) { return createTimeBuilder_.getMessageOrBuilder(); } else { - return createTime_ == null ? - com.google.protobuf.Timestamp.getDefaultInstance() : createTime_; + return createTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : createTime_; } } /** + * + * *
      * Output only. The time the operation was created.
      * 
* - * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder> getCreateTimeFieldBuilder() { if (createTimeBuilder_ == null) { - createTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( - getCreateTime(), - getParentForChildren(), - isClean()); + createTimeBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder>( + getCreateTime(), getParentForChildren(), isClean()); createTime_ = null; } return createTimeBuilder_; @@ -1741,24 +2053,35 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { private com.google.protobuf.Timestamp endTime_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> endTimeBuilder_; + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder> + endTimeBuilder_; /** + * + * *
      * Output only. The time the operation finished running.
      * 
* - * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the endTime field is set. */ public boolean hasEndTime() { return ((bitField0_ & 0x00000002) != 0); } /** + * + * *
      * Output only. The time the operation finished running.
      * 
* - * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The endTime. */ public com.google.protobuf.Timestamp getEndTime() { @@ -1769,11 +2092,14 @@ public com.google.protobuf.Timestamp getEndTime() { } } /** + * + * *
      * Output only. The time the operation finished running.
      * 
* - * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder setEndTime(com.google.protobuf.Timestamp value) { if (endTimeBuilder_ == null) { @@ -1789,14 +2115,16 @@ public Builder setEndTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * Output only. The time the operation finished running.
      * 
* - * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - public Builder setEndTime( - com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setEndTime(com.google.protobuf.Timestamp.Builder builderForValue) { if (endTimeBuilder_ == null) { endTime_ = builderForValue.build(); } else { @@ -1807,17 +2135,20 @@ public Builder setEndTime( return this; } /** + * + * *
      * Output only. The time the operation finished running.
      * 
* - * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder mergeEndTime(com.google.protobuf.Timestamp value) { if (endTimeBuilder_ == null) { - if (((bitField0_ & 0x00000002) != 0) && - endTime_ != null && - endTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { + if (((bitField0_ & 0x00000002) != 0) + && endTime_ != null + && endTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { getEndTimeBuilder().mergeFrom(value); } else { endTime_ = value; @@ -1830,11 +2161,14 @@ public Builder mergeEndTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * Output only. The time the operation finished running.
      * 
* - * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder clearEndTime() { bitField0_ = (bitField0_ & ~0x00000002); @@ -1847,11 +2181,14 @@ public Builder clearEndTime() { return this; } /** + * + * *
      * Output only. The time the operation finished running.
      * 
* - * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public com.google.protobuf.Timestamp.Builder getEndTimeBuilder() { bitField0_ |= 0x00000002; @@ -1859,36 +2196,44 @@ public com.google.protobuf.Timestamp.Builder getEndTimeBuilder() { return getEndTimeFieldBuilder().getBuilder(); } /** + * + * *
      * Output only. The time the operation finished running.
      * 
* - * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder() { if (endTimeBuilder_ != null) { return endTimeBuilder_.getMessageOrBuilder(); } else { - return endTime_ == null ? - com.google.protobuf.Timestamp.getDefaultInstance() : endTime_; + return endTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : endTime_; } } /** + * + * *
      * Output only. The time the operation finished running.
      * 
* - * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder> getEndTimeFieldBuilder() { if (endTimeBuilder_ == null) { - endTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( - getEndTime(), - getParentForChildren(), - isClean()); + endTimeBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder>( + getEndTime(), getParentForChildren(), isClean()); endTime_ = null; } return endTimeBuilder_; @@ -1896,41 +2241,62 @@ public com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder() { private com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest request_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest, com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest.Builder, com.google.cloud.contactcenterinsights.v1.IngestConversationsRequestOrBuilder> requestBuilder_; + com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest, + com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest.Builder, + com.google.cloud.contactcenterinsights.v1.IngestConversationsRequestOrBuilder> + requestBuilder_; /** + * + * *
      * Output only. The original request for ingest.
      * 
* - * .google.cloud.contactcenterinsights.v1.IngestConversationsRequest request = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.contactcenterinsights.v1.IngestConversationsRequest request = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the request field is set. */ public boolean hasRequest() { return ((bitField0_ & 0x00000004) != 0); } /** + * + * *
      * Output only. The original request for ingest.
      * 
* - * .google.cloud.contactcenterinsights.v1.IngestConversationsRequest request = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.contactcenterinsights.v1.IngestConversationsRequest request = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The request. */ public com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest getRequest() { if (requestBuilder_ == null) { - return request_ == null ? com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest.getDefaultInstance() : request_; + return request_ == null + ? com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest + .getDefaultInstance() + : request_; } else { return requestBuilder_.getMessage(); } } /** + * + * *
      * Output only. The original request for ingest.
      * 
* - * .google.cloud.contactcenterinsights.v1.IngestConversationsRequest request = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.contactcenterinsights.v1.IngestConversationsRequest request = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - public Builder setRequest(com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest value) { + public Builder setRequest( + com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest value) { if (requestBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -1944,14 +2310,19 @@ public Builder setRequest(com.google.cloud.contactcenterinsights.v1.IngestConver return this; } /** + * + * *
      * Output only. The original request for ingest.
      * 
* - * .google.cloud.contactcenterinsights.v1.IngestConversationsRequest request = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.contactcenterinsights.v1.IngestConversationsRequest request = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder setRequest( - com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest.Builder builderForValue) { + com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest.Builder + builderForValue) { if (requestBuilder_ == null) { request_ = builderForValue.build(); } else { @@ -1962,17 +2333,24 @@ public Builder setRequest( return this; } /** + * + * *
      * Output only. The original request for ingest.
      * 
* - * .google.cloud.contactcenterinsights.v1.IngestConversationsRequest request = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.contactcenterinsights.v1.IngestConversationsRequest request = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - public Builder mergeRequest(com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest value) { + public Builder mergeRequest( + com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest value) { if (requestBuilder_ == null) { - if (((bitField0_ & 0x00000004) != 0) && - request_ != null && - request_ != com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest.getDefaultInstance()) { + if (((bitField0_ & 0x00000004) != 0) + && request_ != null + && request_ + != com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest + .getDefaultInstance()) { getRequestBuilder().mergeFrom(value); } else { request_ = value; @@ -1985,11 +2363,15 @@ public Builder mergeRequest(com.google.cloud.contactcenterinsights.v1.IngestConv return this; } /** + * + * *
      * Output only. The original request for ingest.
      * 
* - * .google.cloud.contactcenterinsights.v1.IngestConversationsRequest request = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.contactcenterinsights.v1.IngestConversationsRequest request = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder clearRequest() { bitField0_ = (bitField0_ & ~0x00000004); @@ -2002,72 +2384,97 @@ public Builder clearRequest() { return this; } /** + * + * *
      * Output only. The original request for ingest.
      * 
* - * .google.cloud.contactcenterinsights.v1.IngestConversationsRequest request = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.contactcenterinsights.v1.IngestConversationsRequest request = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - public com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest.Builder getRequestBuilder() { + public com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest.Builder + getRequestBuilder() { bitField0_ |= 0x00000004; onChanged(); return getRequestFieldBuilder().getBuilder(); } /** + * + * *
      * Output only. The original request for ingest.
      * 
* - * .google.cloud.contactcenterinsights.v1.IngestConversationsRequest request = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.contactcenterinsights.v1.IngestConversationsRequest request = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - public com.google.cloud.contactcenterinsights.v1.IngestConversationsRequestOrBuilder getRequestOrBuilder() { + public com.google.cloud.contactcenterinsights.v1.IngestConversationsRequestOrBuilder + getRequestOrBuilder() { if (requestBuilder_ != null) { return requestBuilder_.getMessageOrBuilder(); } else { - return request_ == null ? - com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest.getDefaultInstance() : request_; + return request_ == null + ? com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest + .getDefaultInstance() + : request_; } } /** + * + * *
      * Output only. The original request for ingest.
      * 
* - * .google.cloud.contactcenterinsights.v1.IngestConversationsRequest request = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.contactcenterinsights.v1.IngestConversationsRequest request = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest, com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest.Builder, com.google.cloud.contactcenterinsights.v1.IngestConversationsRequestOrBuilder> + com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest, + com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest.Builder, + com.google.cloud.contactcenterinsights.v1.IngestConversationsRequestOrBuilder> getRequestFieldBuilder() { if (requestBuilder_ == null) { - requestBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest, com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest.Builder, com.google.cloud.contactcenterinsights.v1.IngestConversationsRequestOrBuilder>( - getRequest(), - getParentForChildren(), - isClean()); + requestBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest, + com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest.Builder, + com.google.cloud.contactcenterinsights.v1.IngestConversationsRequestOrBuilder>( + getRequest(), getParentForChildren(), isClean()); request_ = null; } return requestBuilder_; } private java.util.List partialErrors_ = - java.util.Collections.emptyList(); + java.util.Collections.emptyList(); + private void ensurePartialErrorsIsMutable() { if (!((bitField0_ & 0x00000008) != 0)) { partialErrors_ = new java.util.ArrayList(partialErrors_); bitField0_ |= 0x00000008; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.rpc.Status, com.google.rpc.Status.Builder, com.google.rpc.StatusOrBuilder> partialErrorsBuilder_; + com.google.rpc.Status, com.google.rpc.Status.Builder, com.google.rpc.StatusOrBuilder> + partialErrorsBuilder_; /** + * + * *
      * Output only. Partial errors during ingest operation that might cause the
      * operation output to be incomplete.
      * 
* - * repeated .google.rpc.Status partial_errors = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.rpc.Status partial_errors = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public java.util.List getPartialErrorsList() { if (partialErrorsBuilder_ == null) { @@ -2077,12 +2484,16 @@ public java.util.List getPartialErrorsList() { } } /** + * + * *
      * Output only. Partial errors during ingest operation that might cause the
      * operation output to be incomplete.
      * 
* - * repeated .google.rpc.Status partial_errors = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.rpc.Status partial_errors = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public int getPartialErrorsCount() { if (partialErrorsBuilder_ == null) { @@ -2092,12 +2503,16 @@ public int getPartialErrorsCount() { } } /** + * + * *
      * Output only. Partial errors during ingest operation that might cause the
      * operation output to be incomplete.
      * 
* - * repeated .google.rpc.Status partial_errors = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.rpc.Status partial_errors = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public com.google.rpc.Status getPartialErrors(int index) { if (partialErrorsBuilder_ == null) { @@ -2107,15 +2522,18 @@ public com.google.rpc.Status getPartialErrors(int index) { } } /** + * + * *
      * Output only. Partial errors during ingest operation that might cause the
      * operation output to be incomplete.
      * 
* - * repeated .google.rpc.Status partial_errors = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.rpc.Status partial_errors = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - public Builder setPartialErrors( - int index, com.google.rpc.Status value) { + public Builder setPartialErrors(int index, com.google.rpc.Status value) { if (partialErrorsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -2129,15 +2547,18 @@ public Builder setPartialErrors( return this; } /** + * + * *
      * Output only. Partial errors during ingest operation that might cause the
      * operation output to be incomplete.
      * 
* - * repeated .google.rpc.Status partial_errors = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.rpc.Status partial_errors = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - public Builder setPartialErrors( - int index, com.google.rpc.Status.Builder builderForValue) { + public Builder setPartialErrors(int index, com.google.rpc.Status.Builder builderForValue) { if (partialErrorsBuilder_ == null) { ensurePartialErrorsIsMutable(); partialErrors_.set(index, builderForValue.build()); @@ -2148,12 +2569,16 @@ public Builder setPartialErrors( return this; } /** + * + * *
      * Output only. Partial errors during ingest operation that might cause the
      * operation output to be incomplete.
      * 
* - * repeated .google.rpc.Status partial_errors = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.rpc.Status partial_errors = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder addPartialErrors(com.google.rpc.Status value) { if (partialErrorsBuilder_ == null) { @@ -2169,15 +2594,18 @@ public Builder addPartialErrors(com.google.rpc.Status value) { return this; } /** + * + * *
      * Output only. Partial errors during ingest operation that might cause the
      * operation output to be incomplete.
      * 
* - * repeated .google.rpc.Status partial_errors = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.rpc.Status partial_errors = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - public Builder addPartialErrors( - int index, com.google.rpc.Status value) { + public Builder addPartialErrors(int index, com.google.rpc.Status value) { if (partialErrorsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -2191,15 +2619,18 @@ public Builder addPartialErrors( return this; } /** + * + * *
      * Output only. Partial errors during ingest operation that might cause the
      * operation output to be incomplete.
      * 
* - * repeated .google.rpc.Status partial_errors = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.rpc.Status partial_errors = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - public Builder addPartialErrors( - com.google.rpc.Status.Builder builderForValue) { + public Builder addPartialErrors(com.google.rpc.Status.Builder builderForValue) { if (partialErrorsBuilder_ == null) { ensurePartialErrorsIsMutable(); partialErrors_.add(builderForValue.build()); @@ -2210,15 +2641,18 @@ public Builder addPartialErrors( return this; } /** + * + * *
      * Output only. Partial errors during ingest operation that might cause the
      * operation output to be incomplete.
      * 
* - * repeated .google.rpc.Status partial_errors = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.rpc.Status partial_errors = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - public Builder addPartialErrors( - int index, com.google.rpc.Status.Builder builderForValue) { + public Builder addPartialErrors(int index, com.google.rpc.Status.Builder builderForValue) { if (partialErrorsBuilder_ == null) { ensurePartialErrorsIsMutable(); partialErrors_.add(index, builderForValue.build()); @@ -2229,19 +2663,21 @@ public Builder addPartialErrors( return this; } /** + * + * *
      * Output only. Partial errors during ingest operation that might cause the
      * operation output to be incomplete.
      * 
* - * repeated .google.rpc.Status partial_errors = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.rpc.Status partial_errors = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - public Builder addAllPartialErrors( - java.lang.Iterable values) { + public Builder addAllPartialErrors(java.lang.Iterable values) { if (partialErrorsBuilder_ == null) { ensurePartialErrorsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, partialErrors_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, partialErrors_); onChanged(); } else { partialErrorsBuilder_.addAllMessages(values); @@ -2249,12 +2685,16 @@ public Builder addAllPartialErrors( return this; } /** + * + * *
      * Output only. Partial errors during ingest operation that might cause the
      * operation output to be incomplete.
      * 
* - * repeated .google.rpc.Status partial_errors = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.rpc.Status partial_errors = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder clearPartialErrors() { if (partialErrorsBuilder_ == null) { @@ -2267,12 +2707,16 @@ public Builder clearPartialErrors() { return this; } /** + * + * *
      * Output only. Partial errors during ingest operation that might cause the
      * operation output to be incomplete.
      * 
* - * repeated .google.rpc.Status partial_errors = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.rpc.Status partial_errors = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder removePartialErrors(int index) { if (partialErrorsBuilder_ == null) { @@ -2285,42 +2729,53 @@ public Builder removePartialErrors(int index) { return this; } /** + * + * *
      * Output only. Partial errors during ingest operation that might cause the
      * operation output to be incomplete.
      * 
* - * repeated .google.rpc.Status partial_errors = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.rpc.Status partial_errors = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - public com.google.rpc.Status.Builder getPartialErrorsBuilder( - int index) { + public com.google.rpc.Status.Builder getPartialErrorsBuilder(int index) { return getPartialErrorsFieldBuilder().getBuilder(index); } /** + * + * *
      * Output only. Partial errors during ingest operation that might cause the
      * operation output to be incomplete.
      * 
* - * repeated .google.rpc.Status partial_errors = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.rpc.Status partial_errors = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - public com.google.rpc.StatusOrBuilder getPartialErrorsOrBuilder( - int index) { + public com.google.rpc.StatusOrBuilder getPartialErrorsOrBuilder(int index) { if (partialErrorsBuilder_ == null) { - return partialErrors_.get(index); } else { + return partialErrors_.get(index); + } else { return partialErrorsBuilder_.getMessageOrBuilder(index); } } /** + * + * *
      * Output only. Partial errors during ingest operation that might cause the
      * operation output to be incomplete.
      * 
* - * repeated .google.rpc.Status partial_errors = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.rpc.Status partial_errors = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - public java.util.List - getPartialErrorsOrBuilderList() { + public java.util.List + getPartialErrorsOrBuilderList() { if (partialErrorsBuilder_ != null) { return partialErrorsBuilder_.getMessageOrBuilderList(); } else { @@ -2328,48 +2783,61 @@ public com.google.rpc.StatusOrBuilder getPartialErrorsOrBuilder( } } /** + * + * *
      * Output only. Partial errors during ingest operation that might cause the
      * operation output to be incomplete.
      * 
* - * repeated .google.rpc.Status partial_errors = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.rpc.Status partial_errors = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public com.google.rpc.Status.Builder addPartialErrorsBuilder() { - return getPartialErrorsFieldBuilder().addBuilder( - com.google.rpc.Status.getDefaultInstance()); + return getPartialErrorsFieldBuilder().addBuilder(com.google.rpc.Status.getDefaultInstance()); } /** + * + * *
      * Output only. Partial errors during ingest operation that might cause the
      * operation output to be incomplete.
      * 
* - * repeated .google.rpc.Status partial_errors = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.rpc.Status partial_errors = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - public com.google.rpc.Status.Builder addPartialErrorsBuilder( - int index) { - return getPartialErrorsFieldBuilder().addBuilder( - index, com.google.rpc.Status.getDefaultInstance()); + public com.google.rpc.Status.Builder addPartialErrorsBuilder(int index) { + return getPartialErrorsFieldBuilder() + .addBuilder(index, com.google.rpc.Status.getDefaultInstance()); } /** + * + * *
      * Output only. Partial errors during ingest operation that might cause the
      * operation output to be incomplete.
      * 
* - * repeated .google.rpc.Status partial_errors = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.rpc.Status partial_errors = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - public java.util.List - getPartialErrorsBuilderList() { + public java.util.List getPartialErrorsBuilderList() { return getPartialErrorsFieldBuilder().getBuilderList(); } + private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.rpc.Status, com.google.rpc.Status.Builder, com.google.rpc.StatusOrBuilder> + com.google.rpc.Status, com.google.rpc.Status.Builder, com.google.rpc.StatusOrBuilder> getPartialErrorsFieldBuilder() { if (partialErrorsBuilder_ == null) { - partialErrorsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.rpc.Status, com.google.rpc.Status.Builder, com.google.rpc.StatusOrBuilder>( + partialErrorsBuilder_ = + new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.rpc.Status, + com.google.rpc.Status.Builder, + com.google.rpc.StatusOrBuilder>( partialErrors_, ((bitField0_ & 0x00000008) != 0), getParentForChildren(), @@ -2379,43 +2847,73 @@ public com.google.rpc.Status.Builder addPartialErrorsBuilder( return partialErrorsBuilder_; } - private com.google.cloud.contactcenterinsights.v1.IngestConversationsMetadata.IngestConversationsStats ingestConversationsStats_; + private com.google.cloud.contactcenterinsights.v1.IngestConversationsMetadata + .IngestConversationsStats + ingestConversationsStats_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.contactcenterinsights.v1.IngestConversationsMetadata.IngestConversationsStats, com.google.cloud.contactcenterinsights.v1.IngestConversationsMetadata.IngestConversationsStats.Builder, com.google.cloud.contactcenterinsights.v1.IngestConversationsMetadata.IngestConversationsStatsOrBuilder> ingestConversationsStatsBuilder_; + com.google.cloud.contactcenterinsights.v1.IngestConversationsMetadata + .IngestConversationsStats, + com.google.cloud.contactcenterinsights.v1.IngestConversationsMetadata + .IngestConversationsStats.Builder, + com.google.cloud.contactcenterinsights.v1.IngestConversationsMetadata + .IngestConversationsStatsOrBuilder> + ingestConversationsStatsBuilder_; /** + * + * *
      * Output only. Statistics for IngestConversations operation.
      * 
* - * .google.cloud.contactcenterinsights.v1.IngestConversationsMetadata.IngestConversationsStats ingest_conversations_stats = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.contactcenterinsights.v1.IngestConversationsMetadata.IngestConversationsStats ingest_conversations_stats = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the ingestConversationsStats field is set. */ public boolean hasIngestConversationsStats() { return ((bitField0_ & 0x00000010) != 0); } /** + * + * *
      * Output only. Statistics for IngestConversations operation.
      * 
* - * .google.cloud.contactcenterinsights.v1.IngestConversationsMetadata.IngestConversationsStats ingest_conversations_stats = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.contactcenterinsights.v1.IngestConversationsMetadata.IngestConversationsStats ingest_conversations_stats = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The ingestConversationsStats. */ - public com.google.cloud.contactcenterinsights.v1.IngestConversationsMetadata.IngestConversationsStats getIngestConversationsStats() { + public com.google.cloud.contactcenterinsights.v1.IngestConversationsMetadata + .IngestConversationsStats + getIngestConversationsStats() { if (ingestConversationsStatsBuilder_ == null) { - return ingestConversationsStats_ == null ? com.google.cloud.contactcenterinsights.v1.IngestConversationsMetadata.IngestConversationsStats.getDefaultInstance() : ingestConversationsStats_; + return ingestConversationsStats_ == null + ? com.google.cloud.contactcenterinsights.v1.IngestConversationsMetadata + .IngestConversationsStats.getDefaultInstance() + : ingestConversationsStats_; } else { return ingestConversationsStatsBuilder_.getMessage(); } } /** + * + * *
      * Output only. Statistics for IngestConversations operation.
      * 
* - * .google.cloud.contactcenterinsights.v1.IngestConversationsMetadata.IngestConversationsStats ingest_conversations_stats = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.contactcenterinsights.v1.IngestConversationsMetadata.IngestConversationsStats ingest_conversations_stats = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - public Builder setIngestConversationsStats(com.google.cloud.contactcenterinsights.v1.IngestConversationsMetadata.IngestConversationsStats value) { + public Builder setIngestConversationsStats( + com.google.cloud.contactcenterinsights.v1.IngestConversationsMetadata + .IngestConversationsStats + value) { if (ingestConversationsStatsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -2429,14 +2927,20 @@ public Builder setIngestConversationsStats(com.google.cloud.contactcenterinsight return this; } /** + * + * *
      * Output only. Statistics for IngestConversations operation.
      * 
* - * .google.cloud.contactcenterinsights.v1.IngestConversationsMetadata.IngestConversationsStats ingest_conversations_stats = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.contactcenterinsights.v1.IngestConversationsMetadata.IngestConversationsStats ingest_conversations_stats = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder setIngestConversationsStats( - com.google.cloud.contactcenterinsights.v1.IngestConversationsMetadata.IngestConversationsStats.Builder builderForValue) { + com.google.cloud.contactcenterinsights.v1.IngestConversationsMetadata + .IngestConversationsStats.Builder + builderForValue) { if (ingestConversationsStatsBuilder_ == null) { ingestConversationsStats_ = builderForValue.build(); } else { @@ -2447,17 +2951,26 @@ public Builder setIngestConversationsStats( return this; } /** + * + * *
      * Output only. Statistics for IngestConversations operation.
      * 
* - * .google.cloud.contactcenterinsights.v1.IngestConversationsMetadata.IngestConversationsStats ingest_conversations_stats = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.contactcenterinsights.v1.IngestConversationsMetadata.IngestConversationsStats ingest_conversations_stats = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - public Builder mergeIngestConversationsStats(com.google.cloud.contactcenterinsights.v1.IngestConversationsMetadata.IngestConversationsStats value) { + public Builder mergeIngestConversationsStats( + com.google.cloud.contactcenterinsights.v1.IngestConversationsMetadata + .IngestConversationsStats + value) { if (ingestConversationsStatsBuilder_ == null) { - if (((bitField0_ & 0x00000010) != 0) && - ingestConversationsStats_ != null && - ingestConversationsStats_ != com.google.cloud.contactcenterinsights.v1.IngestConversationsMetadata.IngestConversationsStats.getDefaultInstance()) { + if (((bitField0_ & 0x00000010) != 0) + && ingestConversationsStats_ != null + && ingestConversationsStats_ + != com.google.cloud.contactcenterinsights.v1.IngestConversationsMetadata + .IngestConversationsStats.getDefaultInstance()) { getIngestConversationsStatsBuilder().mergeFrom(value); } else { ingestConversationsStats_ = value; @@ -2470,11 +2983,15 @@ public Builder mergeIngestConversationsStats(com.google.cloud.contactcenterinsig return this; } /** + * + * *
      * Output only. Statistics for IngestConversations operation.
      * 
* - * .google.cloud.contactcenterinsights.v1.IngestConversationsMetadata.IngestConversationsStats ingest_conversations_stats = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.contactcenterinsights.v1.IngestConversationsMetadata.IngestConversationsStats ingest_conversations_stats = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder clearIngestConversationsStats() { bitField0_ = (bitField0_ & ~0x00000010); @@ -2487,55 +3004,82 @@ public Builder clearIngestConversationsStats() { return this; } /** + * + * *
      * Output only. Statistics for IngestConversations operation.
      * 
* - * .google.cloud.contactcenterinsights.v1.IngestConversationsMetadata.IngestConversationsStats ingest_conversations_stats = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.contactcenterinsights.v1.IngestConversationsMetadata.IngestConversationsStats ingest_conversations_stats = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - public com.google.cloud.contactcenterinsights.v1.IngestConversationsMetadata.IngestConversationsStats.Builder getIngestConversationsStatsBuilder() { + public com.google.cloud.contactcenterinsights.v1.IngestConversationsMetadata + .IngestConversationsStats.Builder + getIngestConversationsStatsBuilder() { bitField0_ |= 0x00000010; onChanged(); return getIngestConversationsStatsFieldBuilder().getBuilder(); } /** + * + * *
      * Output only. Statistics for IngestConversations operation.
      * 
* - * .google.cloud.contactcenterinsights.v1.IngestConversationsMetadata.IngestConversationsStats ingest_conversations_stats = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.contactcenterinsights.v1.IngestConversationsMetadata.IngestConversationsStats ingest_conversations_stats = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - public com.google.cloud.contactcenterinsights.v1.IngestConversationsMetadata.IngestConversationsStatsOrBuilder getIngestConversationsStatsOrBuilder() { + public com.google.cloud.contactcenterinsights.v1.IngestConversationsMetadata + .IngestConversationsStatsOrBuilder + getIngestConversationsStatsOrBuilder() { if (ingestConversationsStatsBuilder_ != null) { return ingestConversationsStatsBuilder_.getMessageOrBuilder(); } else { - return ingestConversationsStats_ == null ? - com.google.cloud.contactcenterinsights.v1.IngestConversationsMetadata.IngestConversationsStats.getDefaultInstance() : ingestConversationsStats_; + return ingestConversationsStats_ == null + ? com.google.cloud.contactcenterinsights.v1.IngestConversationsMetadata + .IngestConversationsStats.getDefaultInstance() + : ingestConversationsStats_; } } /** + * + * *
      * Output only. Statistics for IngestConversations operation.
      * 
* - * .google.cloud.contactcenterinsights.v1.IngestConversationsMetadata.IngestConversationsStats ingest_conversations_stats = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.contactcenterinsights.v1.IngestConversationsMetadata.IngestConversationsStats ingest_conversations_stats = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.contactcenterinsights.v1.IngestConversationsMetadata.IngestConversationsStats, com.google.cloud.contactcenterinsights.v1.IngestConversationsMetadata.IngestConversationsStats.Builder, com.google.cloud.contactcenterinsights.v1.IngestConversationsMetadata.IngestConversationsStatsOrBuilder> + com.google.cloud.contactcenterinsights.v1.IngestConversationsMetadata + .IngestConversationsStats, + com.google.cloud.contactcenterinsights.v1.IngestConversationsMetadata + .IngestConversationsStats.Builder, + com.google.cloud.contactcenterinsights.v1.IngestConversationsMetadata + .IngestConversationsStatsOrBuilder> getIngestConversationsStatsFieldBuilder() { if (ingestConversationsStatsBuilder_ == null) { - ingestConversationsStatsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.contactcenterinsights.v1.IngestConversationsMetadata.IngestConversationsStats, com.google.cloud.contactcenterinsights.v1.IngestConversationsMetadata.IngestConversationsStats.Builder, com.google.cloud.contactcenterinsights.v1.IngestConversationsMetadata.IngestConversationsStatsOrBuilder>( - getIngestConversationsStats(), - getParentForChildren(), - isClean()); + ingestConversationsStatsBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.contactcenterinsights.v1.IngestConversationsMetadata + .IngestConversationsStats, + com.google.cloud.contactcenterinsights.v1.IngestConversationsMetadata + .IngestConversationsStats.Builder, + com.google.cloud.contactcenterinsights.v1.IngestConversationsMetadata + .IngestConversationsStatsOrBuilder>( + getIngestConversationsStats(), getParentForChildren(), isClean()); ingestConversationsStats_ = null; } return ingestConversationsStatsBuilder_; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -2545,41 +3089,43 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.contactcenterinsights.v1.IngestConversationsMetadata) } // @@protoc_insertion_point(class_scope:google.cloud.contactcenterinsights.v1.IngestConversationsMetadata) - private static final com.google.cloud.contactcenterinsights.v1.IngestConversationsMetadata DEFAULT_INSTANCE; + private static final com.google.cloud.contactcenterinsights.v1.IngestConversationsMetadata + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.contactcenterinsights.v1.IngestConversationsMetadata(); } - public static com.google.cloud.contactcenterinsights.v1.IngestConversationsMetadata getDefaultInstance() { + public static com.google.cloud.contactcenterinsights.v1.IngestConversationsMetadata + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public IngestConversationsMetadata parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public IngestConversationsMetadata parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -2591,9 +3137,8 @@ public com.google.protobuf.Parser getParserForType( } @java.lang.Override - public com.google.cloud.contactcenterinsights.v1.IngestConversationsMetadata getDefaultInstanceForType() { + public com.google.cloud.contactcenterinsights.v1.IngestConversationsMetadata + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/IngestConversationsMetadataOrBuilder.java b/java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/IngestConversationsMetadataOrBuilder.java similarity index 53% rename from owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/IngestConversationsMetadataOrBuilder.java rename to java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/IngestConversationsMetadataOrBuilder.java index 2b8beb29f952..98844a371bb8 100644 --- a/owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/IngestConversationsMetadataOrBuilder.java +++ b/java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/IngestConversationsMetadataOrBuilder.java @@ -1,166 +1,253 @@ +/* + * 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. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/contactcenterinsights/v1/contact_center_insights.proto package com.google.cloud.contactcenterinsights.v1; -public interface IngestConversationsMetadataOrBuilder extends +public interface IngestConversationsMetadataOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.contactcenterinsights.v1.IngestConversationsMetadata) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Output only. The time the operation was created.
    * 
* - * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the createTime field is set. */ boolean hasCreateTime(); /** + * + * *
    * Output only. The time the operation was created.
    * 
* - * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The createTime. */ com.google.protobuf.Timestamp getCreateTime(); /** + * + * *
    * Output only. The time the operation was created.
    * 
* - * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder(); /** + * + * *
    * Output only. The time the operation finished running.
    * 
* - * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the endTime field is set. */ boolean hasEndTime(); /** + * + * *
    * Output only. The time the operation finished running.
    * 
* - * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The endTime. */ com.google.protobuf.Timestamp getEndTime(); /** + * + * *
    * Output only. The time the operation finished running.
    * 
* - * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder(); /** + * + * *
    * Output only. The original request for ingest.
    * 
* - * .google.cloud.contactcenterinsights.v1.IngestConversationsRequest request = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.contactcenterinsights.v1.IngestConversationsRequest request = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the request field is set. */ boolean hasRequest(); /** + * + * *
    * Output only. The original request for ingest.
    * 
* - * .google.cloud.contactcenterinsights.v1.IngestConversationsRequest request = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.contactcenterinsights.v1.IngestConversationsRequest request = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The request. */ com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest getRequest(); /** + * + * *
    * Output only. The original request for ingest.
    * 
* - * .google.cloud.contactcenterinsights.v1.IngestConversationsRequest request = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.contactcenterinsights.v1.IngestConversationsRequest request = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - com.google.cloud.contactcenterinsights.v1.IngestConversationsRequestOrBuilder getRequestOrBuilder(); + com.google.cloud.contactcenterinsights.v1.IngestConversationsRequestOrBuilder + getRequestOrBuilder(); /** + * + * *
    * Output only. Partial errors during ingest operation that might cause the
    * operation output to be incomplete.
    * 
* - * repeated .google.rpc.Status partial_errors = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.rpc.Status partial_errors = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - java.util.List - getPartialErrorsList(); + java.util.List getPartialErrorsList(); /** + * + * *
    * Output only. Partial errors during ingest operation that might cause the
    * operation output to be incomplete.
    * 
* - * repeated .google.rpc.Status partial_errors = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.rpc.Status partial_errors = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ com.google.rpc.Status getPartialErrors(int index); /** + * + * *
    * Output only. Partial errors during ingest operation that might cause the
    * operation output to be incomplete.
    * 
* - * repeated .google.rpc.Status partial_errors = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.rpc.Status partial_errors = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ int getPartialErrorsCount(); /** + * + * *
    * Output only. Partial errors during ingest operation that might cause the
    * operation output to be incomplete.
    * 
* - * repeated .google.rpc.Status partial_errors = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.rpc.Status partial_errors = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - java.util.List - getPartialErrorsOrBuilderList(); + java.util.List getPartialErrorsOrBuilderList(); /** + * + * *
    * Output only. Partial errors during ingest operation that might cause the
    * operation output to be incomplete.
    * 
* - * repeated .google.rpc.Status partial_errors = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.rpc.Status partial_errors = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - com.google.rpc.StatusOrBuilder getPartialErrorsOrBuilder( - int index); + com.google.rpc.StatusOrBuilder getPartialErrorsOrBuilder(int index); /** + * + * *
    * Output only. Statistics for IngestConversations operation.
    * 
* - * .google.cloud.contactcenterinsights.v1.IngestConversationsMetadata.IngestConversationsStats ingest_conversations_stats = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.contactcenterinsights.v1.IngestConversationsMetadata.IngestConversationsStats ingest_conversations_stats = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the ingestConversationsStats field is set. */ boolean hasIngestConversationsStats(); /** + * + * *
    * Output only. Statistics for IngestConversations operation.
    * 
* - * .google.cloud.contactcenterinsights.v1.IngestConversationsMetadata.IngestConversationsStats ingest_conversations_stats = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.contactcenterinsights.v1.IngestConversationsMetadata.IngestConversationsStats ingest_conversations_stats = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The ingestConversationsStats. */ - com.google.cloud.contactcenterinsights.v1.IngestConversationsMetadata.IngestConversationsStats getIngestConversationsStats(); + com.google.cloud.contactcenterinsights.v1.IngestConversationsMetadata.IngestConversationsStats + getIngestConversationsStats(); /** + * + * *
    * Output only. Statistics for IngestConversations operation.
    * 
* - * .google.cloud.contactcenterinsights.v1.IngestConversationsMetadata.IngestConversationsStats ingest_conversations_stats = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.contactcenterinsights.v1.IngestConversationsMetadata.IngestConversationsStats ingest_conversations_stats = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - com.google.cloud.contactcenterinsights.v1.IngestConversationsMetadata.IngestConversationsStatsOrBuilder getIngestConversationsStatsOrBuilder(); + com.google.cloud.contactcenterinsights.v1.IngestConversationsMetadata + .IngestConversationsStatsOrBuilder + getIngestConversationsStatsOrBuilder(); } diff --git a/owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/IngestConversationsRequest.java b/java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/IngestConversationsRequest.java similarity index 54% rename from owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/IngestConversationsRequest.java rename to java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/IngestConversationsRequest.java index 5a0cb5abc0c7..b9f8db76ff15 100644 --- a/owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/IngestConversationsRequest.java +++ b/java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/IngestConversationsRequest.java @@ -1,131 +1,166 @@ +/* + * 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. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/contactcenterinsights/v1/contact_center_insights.proto package com.google.cloud.contactcenterinsights.v1; /** + * + * *
  * The request to ingest conversations.
  * 
* * Protobuf type {@code google.cloud.contactcenterinsights.v1.IngestConversationsRequest} */ -public final class IngestConversationsRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class IngestConversationsRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.contactcenterinsights.v1.IngestConversationsRequest) IngestConversationsRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use IngestConversationsRequest.newBuilder() to construct. private IngestConversationsRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private IngestConversationsRequest() { parent_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new IngestConversationsRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto.internal_static_google_cloud_contactcenterinsights_v1_IngestConversationsRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto + .internal_static_google_cloud_contactcenterinsights_v1_IngestConversationsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto.internal_static_google_cloud_contactcenterinsights_v1_IngestConversationsRequest_fieldAccessorTable + return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto + .internal_static_google_cloud_contactcenterinsights_v1_IngestConversationsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest.class, com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest.Builder.class); + com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest.class, + com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest.Builder.class); } - public interface GcsSourceOrBuilder extends + public interface GcsSourceOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.contactcenterinsights.v1.IngestConversationsRequest.GcsSource) com.google.protobuf.MessageOrBuilder { /** + * + * *
      * Required. The Cloud Storage bucket containing source objects.
      * 
* * string bucket_uri = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bucketUri. */ java.lang.String getBucketUri(); /** + * + * *
      * Required. The Cloud Storage bucket containing source objects.
      * 
* * string bucket_uri = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for bucketUri. */ - com.google.protobuf.ByteString - getBucketUriBytes(); + com.google.protobuf.ByteString getBucketUriBytes(); } /** + * + * *
    * Configuration for Cloud Storage bucket sources.
    * 
* - * Protobuf type {@code google.cloud.contactcenterinsights.v1.IngestConversationsRequest.GcsSource} + * Protobuf type {@code + * google.cloud.contactcenterinsights.v1.IngestConversationsRequest.GcsSource} */ - public static final class GcsSource extends - com.google.protobuf.GeneratedMessageV3 implements + public static final class GcsSource extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.contactcenterinsights.v1.IngestConversationsRequest.GcsSource) GcsSourceOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use GcsSource.newBuilder() to construct. private GcsSource(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private GcsSource() { bucketUri_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new GcsSource(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto.internal_static_google_cloud_contactcenterinsights_v1_IngestConversationsRequest_GcsSource_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto + .internal_static_google_cloud_contactcenterinsights_v1_IngestConversationsRequest_GcsSource_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto.internal_static_google_cloud_contactcenterinsights_v1_IngestConversationsRequest_GcsSource_fieldAccessorTable + return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto + .internal_static_google_cloud_contactcenterinsights_v1_IngestConversationsRequest_GcsSource_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest.GcsSource.class, com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest.GcsSource.Builder.class); + com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest.GcsSource.class, + com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest.GcsSource.Builder + .class); } public static final int BUCKET_URI_FIELD_NUMBER = 1; + @SuppressWarnings("serial") private volatile java.lang.Object bucketUri_ = ""; /** + * + * *
      * Required. The Cloud Storage bucket containing source objects.
      * 
* * string bucket_uri = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bucketUri. */ @java.lang.Override @@ -134,29 +169,29 @@ public java.lang.String getBucketUri() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); bucketUri_ = s; return s; } } /** + * + * *
      * Required. The Cloud Storage bucket containing source objects.
      * 
* * string bucket_uri = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for bucketUri. */ @java.lang.Override - public com.google.protobuf.ByteString - getBucketUriBytes() { + public com.google.protobuf.ByteString getBucketUriBytes() { java.lang.Object ref = bucketUri_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); bucketUri_ = b; return b; } else { @@ -165,6 +200,7 @@ public java.lang.String getBucketUri() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -176,8 +212,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(bucketUri_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, bucketUri_); } @@ -201,15 +236,17 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } - if (!(obj instanceof com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest.GcsSource)) { + if (!(obj + instanceof + com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest.GcsSource)) { return super.equals(obj); } - com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest.GcsSource other = (com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest.GcsSource) obj; + com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest.GcsSource other = + (com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest.GcsSource) obj; - if (!getBucketUri() - .equals(other.getBucketUri())) return false; + if (!getBucketUri().equals(other.getBucketUri())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -228,88 +265,101 @@ public int hashCode() { return hash; } - public static com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest.GcsSource parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest.GcsSource + parseFrom(java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest.GcsSource parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest.GcsSource + parseFrom( + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest.GcsSource parseFrom( - com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest.GcsSource + parseFrom(com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest.GcsSource parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest.GcsSource + parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest.GcsSource parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest.GcsSource + parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest.GcsSource parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest.GcsSource + parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest.GcsSource parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest.GcsSource + parseFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } - public static com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest.GcsSource parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + + public static com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest.GcsSource + parseFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest.GcsSource parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest.GcsSource + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest.GcsSource parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + + public static com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest.GcsSource + parseDelimitedFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest.GcsSource parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest.GcsSource + parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } - public static com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest.GcsSource parseFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + + public static com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest.GcsSource + parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest.GcsSource prototype) { + + public static Builder newBuilder( + com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest.GcsSource prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -319,39 +369,45 @@ protected Builder newBuilderForType( return builder; } /** + * + * *
      * Configuration for Cloud Storage bucket sources.
      * 
* - * Protobuf type {@code google.cloud.contactcenterinsights.v1.IngestConversationsRequest.GcsSource} + * Protobuf type {@code + * google.cloud.contactcenterinsights.v1.IngestConversationsRequest.GcsSource} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder + extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.contactcenterinsights.v1.IngestConversationsRequest.GcsSource) com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest.GcsSourceOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto.internal_static_google_cloud_contactcenterinsights_v1_IngestConversationsRequest_GcsSource_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto + .internal_static_google_cloud_contactcenterinsights_v1_IngestConversationsRequest_GcsSource_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto.internal_static_google_cloud_contactcenterinsights_v1_IngestConversationsRequest_GcsSource_fieldAccessorTable + return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto + .internal_static_google_cloud_contactcenterinsights_v1_IngestConversationsRequest_GcsSource_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest.GcsSource.class, com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest.GcsSource.Builder.class); + com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest.GcsSource + .class, + com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest.GcsSource + .Builder.class); } - // Construct using com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest.GcsSource.newBuilder() - private Builder() { + // Construct using + // com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest.GcsSource.newBuilder() + private Builder() {} - } - - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -361,19 +417,23 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto.internal_static_google_cloud_contactcenterinsights_v1_IngestConversationsRequest_GcsSource_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto + .internal_static_google_cloud_contactcenterinsights_v1_IngestConversationsRequest_GcsSource_descriptor; } @java.lang.Override - public com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest.GcsSource getDefaultInstanceForType() { - return com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest.GcsSource.getDefaultInstance(); + public com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest.GcsSource + getDefaultInstanceForType() { + return com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest.GcsSource + .getDefaultInstance(); } @java.lang.Override - public com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest.GcsSource build() { - com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest.GcsSource result = buildPartial(); + public com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest.GcsSource + build() { + com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest.GcsSource result = + buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } @@ -381,14 +441,20 @@ public com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest.GcsS } @java.lang.Override - public com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest.GcsSource buildPartial() { - com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest.GcsSource result = new com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest.GcsSource(this); - if (bitField0_ != 0) { buildPartial0(result); } + public com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest.GcsSource + buildPartial() { + com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest.GcsSource result = + new com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest.GcsSource( + this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } - private void buildPartial0(com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest.GcsSource result) { + private void buildPartial0( + com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest.GcsSource result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { result.bucketUri_ = bucketUri_; @@ -399,46 +465,56 @@ private void buildPartial0(com.google.cloud.contactcenterinsights.v1.IngestConve public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + int index, + java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { - if (other instanceof com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest.GcsSource) { - return mergeFrom((com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest.GcsSource)other); + if (other + instanceof + com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest.GcsSource) { + return mergeFrom( + (com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest.GcsSource) + other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest.GcsSource other) { - if (other == com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest.GcsSource.getDefaultInstance()) return this; + public Builder mergeFrom( + com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest.GcsSource other) { + if (other + == com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest.GcsSource + .getDefaultInstance()) return this; if (!other.getBucketUri().isEmpty()) { bucketUri_ = other.bucketUri_; bitField0_ |= 0x00000001; @@ -470,17 +546,19 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - bucketUri_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + bucketUri_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -490,22 +568,25 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private java.lang.Object bucketUri_ = ""; /** + * + * *
        * Required. The Cloud Storage bucket containing source objects.
        * 
* * string bucket_uri = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bucketUri. */ public java.lang.String getBucketUri() { java.lang.Object ref = bucketUri_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); bucketUri_ = s; return s; @@ -514,20 +595,21 @@ public java.lang.String getBucketUri() { } } /** + * + * *
        * Required. The Cloud Storage bucket containing source objects.
        * 
* * string bucket_uri = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for bucketUri. */ - public com.google.protobuf.ByteString - getBucketUriBytes() { + public com.google.protobuf.ByteString getBucketUriBytes() { java.lang.Object ref = bucketUri_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); bucketUri_ = b; return b; } else { @@ -535,28 +617,35 @@ public java.lang.String getBucketUri() { } } /** + * + * *
        * Required. The Cloud Storage bucket containing source objects.
        * 
* * string bucket_uri = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The bucketUri to set. * @return This builder for chaining. */ - public Builder setBucketUri( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setBucketUri(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } bucketUri_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
        * Required. The Cloud Storage bucket containing source objects.
        * 
* * string bucket_uri = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return This builder for chaining. */ public Builder clearBucketUri() { @@ -566,23 +655,28 @@ public Builder clearBucketUri() { return this; } /** + * + * *
        * Required. The Cloud Storage bucket containing source objects.
        * 
* * string bucket_uri = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The bytes for bucketUri to set. * @return This builder for chaining. */ - public Builder setBucketUriBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setBucketUriBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); bucketUri_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } + @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -595,41 +689,46 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.contactcenterinsights.v1.IngestConversationsRequest.GcsSource) } // @@protoc_insertion_point(class_scope:google.cloud.contactcenterinsights.v1.IngestConversationsRequest.GcsSource) - private static final com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest.GcsSource DEFAULT_INSTANCE; + private static final com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest + .GcsSource + DEFAULT_INSTANCE; + static { - DEFAULT_INSTANCE = new com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest.GcsSource(); + DEFAULT_INSTANCE = + new com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest.GcsSource(); } - public static com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest.GcsSource getDefaultInstance() { + public static com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest.GcsSource + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public GcsSource parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public GcsSource parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException() + .setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -641,107 +740,141 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest.GcsSource getDefaultInstanceForType() { + public com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest.GcsSource + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - public interface TranscriptObjectConfigOrBuilder extends + public interface TranscriptObjectConfigOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.contactcenterinsights.v1.IngestConversationsRequest.TranscriptObjectConfig) com.google.protobuf.MessageOrBuilder { /** + * + * *
      * Required. The medium transcript objects represent.
      * 
* - * .google.cloud.contactcenterinsights.v1.Conversation.Medium medium = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.contactcenterinsights.v1.Conversation.Medium medium = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The enum numeric value on the wire for medium. */ int getMediumValue(); /** + * + * *
      * Required. The medium transcript objects represent.
      * 
* - * .google.cloud.contactcenterinsights.v1.Conversation.Medium medium = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.contactcenterinsights.v1.Conversation.Medium medium = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The medium. */ com.google.cloud.contactcenterinsights.v1.Conversation.Medium getMedium(); } /** + * + * *
    * Configuration for processing transcript objects.
    * 
* - * Protobuf type {@code google.cloud.contactcenterinsights.v1.IngestConversationsRequest.TranscriptObjectConfig} + * Protobuf type {@code + * google.cloud.contactcenterinsights.v1.IngestConversationsRequest.TranscriptObjectConfig} */ - public static final class TranscriptObjectConfig extends - com.google.protobuf.GeneratedMessageV3 implements + public static final class TranscriptObjectConfig extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.contactcenterinsights.v1.IngestConversationsRequest.TranscriptObjectConfig) TranscriptObjectConfigOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use TranscriptObjectConfig.newBuilder() to construct. private TranscriptObjectConfig(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private TranscriptObjectConfig() { medium_ = 0; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new TranscriptObjectConfig(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto.internal_static_google_cloud_contactcenterinsights_v1_IngestConversationsRequest_TranscriptObjectConfig_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto + .internal_static_google_cloud_contactcenterinsights_v1_IngestConversationsRequest_TranscriptObjectConfig_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto.internal_static_google_cloud_contactcenterinsights_v1_IngestConversationsRequest_TranscriptObjectConfig_fieldAccessorTable + return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto + .internal_static_google_cloud_contactcenterinsights_v1_IngestConversationsRequest_TranscriptObjectConfig_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest.TranscriptObjectConfig.class, com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest.TranscriptObjectConfig.Builder.class); + com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest + .TranscriptObjectConfig.class, + com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest + .TranscriptObjectConfig.Builder.class); } public static final int MEDIUM_FIELD_NUMBER = 1; private int medium_ = 0; /** + * + * *
      * Required. The medium transcript objects represent.
      * 
* - * .google.cloud.contactcenterinsights.v1.Conversation.Medium medium = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.contactcenterinsights.v1.Conversation.Medium medium = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The enum numeric value on the wire for medium. */ - @java.lang.Override public int getMediumValue() { + @java.lang.Override + public int getMediumValue() { return medium_; } /** + * + * *
      * Required. The medium transcript objects represent.
      * 
* - * .google.cloud.contactcenterinsights.v1.Conversation.Medium medium = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.contactcenterinsights.v1.Conversation.Medium medium = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The medium. */ - @java.lang.Override public com.google.cloud.contactcenterinsights.v1.Conversation.Medium getMedium() { - com.google.cloud.contactcenterinsights.v1.Conversation.Medium result = com.google.cloud.contactcenterinsights.v1.Conversation.Medium.forNumber(medium_); - return result == null ? com.google.cloud.contactcenterinsights.v1.Conversation.Medium.UNRECOGNIZED : result; + @java.lang.Override + public com.google.cloud.contactcenterinsights.v1.Conversation.Medium getMedium() { + com.google.cloud.contactcenterinsights.v1.Conversation.Medium result = + com.google.cloud.contactcenterinsights.v1.Conversation.Medium.forNumber(medium_); + return result == null + ? com.google.cloud.contactcenterinsights.v1.Conversation.Medium.UNRECOGNIZED + : result; } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -753,9 +886,10 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { - if (medium_ != com.google.cloud.contactcenterinsights.v1.Conversation.Medium.MEDIUM_UNSPECIFIED.getNumber()) { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + if (medium_ + != com.google.cloud.contactcenterinsights.v1.Conversation.Medium.MEDIUM_UNSPECIFIED + .getNumber()) { output.writeEnum(1, medium_); } getUnknownFields().writeTo(output); @@ -767,9 +901,10 @@ public int getSerializedSize() { if (size != -1) return size; size = 0; - if (medium_ != com.google.cloud.contactcenterinsights.v1.Conversation.Medium.MEDIUM_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(1, medium_); + if (medium_ + != com.google.cloud.contactcenterinsights.v1.Conversation.Medium.MEDIUM_UNSPECIFIED + .getNumber()) { + size += com.google.protobuf.CodedOutputStream.computeEnumSize(1, medium_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -779,12 +914,19 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } - if (!(obj instanceof com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest.TranscriptObjectConfig)) { + if (!(obj + instanceof + com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest + .TranscriptObjectConfig)) { return super.equals(obj); } - com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest.TranscriptObjectConfig other = (com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest.TranscriptObjectConfig) obj; + com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest.TranscriptObjectConfig + other = + (com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest + .TranscriptObjectConfig) + obj; if (medium_ != other.medium_) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; @@ -805,88 +947,114 @@ public int hashCode() { return hash; } - public static com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest.TranscriptObjectConfig parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest + .TranscriptObjectConfig + parseFrom(java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest.TranscriptObjectConfig parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest + .TranscriptObjectConfig + parseFrom( + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest.TranscriptObjectConfig parseFrom( - com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest + .TranscriptObjectConfig + parseFrom(com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest.TranscriptObjectConfig parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest + .TranscriptObjectConfig + parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest.TranscriptObjectConfig parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest + .TranscriptObjectConfig + parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest.TranscriptObjectConfig parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest + .TranscriptObjectConfig + parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest.TranscriptObjectConfig parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest + .TranscriptObjectConfig + parseFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } - public static com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest.TranscriptObjectConfig parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + + public static com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest + .TranscriptObjectConfig + parseFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest.TranscriptObjectConfig parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest + .TranscriptObjectConfig + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest.TranscriptObjectConfig parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + + public static com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest + .TranscriptObjectConfig + parseDelimitedFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest.TranscriptObjectConfig parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest + .TranscriptObjectConfig + parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } - public static com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest.TranscriptObjectConfig parseFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + + public static com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest + .TranscriptObjectConfig + parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest.TranscriptObjectConfig prototype) { + + public static Builder newBuilder( + com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest.TranscriptObjectConfig + prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -896,39 +1064,46 @@ protected Builder newBuilderForType( return builder; } /** + * + * *
      * Configuration for processing transcript objects.
      * 
* - * Protobuf type {@code google.cloud.contactcenterinsights.v1.IngestConversationsRequest.TranscriptObjectConfig} + * Protobuf type {@code + * google.cloud.contactcenterinsights.v1.IngestConversationsRequest.TranscriptObjectConfig} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder + extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.contactcenterinsights.v1.IngestConversationsRequest.TranscriptObjectConfig) - com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest.TranscriptObjectConfigOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto.internal_static_google_cloud_contactcenterinsights_v1_IngestConversationsRequest_TranscriptObjectConfig_descriptor; + com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest + .TranscriptObjectConfigOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto + .internal_static_google_cloud_contactcenterinsights_v1_IngestConversationsRequest_TranscriptObjectConfig_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto.internal_static_google_cloud_contactcenterinsights_v1_IngestConversationsRequest_TranscriptObjectConfig_fieldAccessorTable + return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto + .internal_static_google_cloud_contactcenterinsights_v1_IngestConversationsRequest_TranscriptObjectConfig_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest.TranscriptObjectConfig.class, com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest.TranscriptObjectConfig.Builder.class); + com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest + .TranscriptObjectConfig.class, + com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest + .TranscriptObjectConfig.Builder.class); } - // Construct using com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest.TranscriptObjectConfig.newBuilder() - private Builder() { - - } + // Construct using + // com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest.TranscriptObjectConfig.newBuilder() + private Builder() {} - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -938,19 +1113,25 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto.internal_static_google_cloud_contactcenterinsights_v1_IngestConversationsRequest_TranscriptObjectConfig_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto + .internal_static_google_cloud_contactcenterinsights_v1_IngestConversationsRequest_TranscriptObjectConfig_descriptor; } @java.lang.Override - public com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest.TranscriptObjectConfig getDefaultInstanceForType() { - return com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest.TranscriptObjectConfig.getDefaultInstance(); + public com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest + .TranscriptObjectConfig + getDefaultInstanceForType() { + return com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest + .TranscriptObjectConfig.getDefaultInstance(); } @java.lang.Override - public com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest.TranscriptObjectConfig build() { - com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest.TranscriptObjectConfig result = buildPartial(); + public com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest + .TranscriptObjectConfig + build() { + com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest.TranscriptObjectConfig + result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } @@ -958,14 +1139,24 @@ public com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest.Tran } @java.lang.Override - public com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest.TranscriptObjectConfig buildPartial() { - com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest.TranscriptObjectConfig result = new com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest.TranscriptObjectConfig(this); - if (bitField0_ != 0) { buildPartial0(result); } + public com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest + .TranscriptObjectConfig + buildPartial() { + com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest.TranscriptObjectConfig + result = + new com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest + .TranscriptObjectConfig(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } - private void buildPartial0(com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest.TranscriptObjectConfig result) { + private void buildPartial0( + com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest + .TranscriptObjectConfig + result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { result.medium_ = medium_; @@ -976,46 +1167,60 @@ private void buildPartial0(com.google.cloud.contactcenterinsights.v1.IngestConve public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + int index, + java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { - if (other instanceof com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest.TranscriptObjectConfig) { - return mergeFrom((com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest.TranscriptObjectConfig)other); + if (other + instanceof + com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest + .TranscriptObjectConfig) { + return mergeFrom( + (com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest + .TranscriptObjectConfig) + other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest.TranscriptObjectConfig other) { - if (other == com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest.TranscriptObjectConfig.getDefaultInstance()) return this; + public Builder mergeFrom( + com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest + .TranscriptObjectConfig + other) { + if (other + == com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest + .TranscriptObjectConfig.getDefaultInstance()) return this; if (other.medium_ != 0) { setMediumValue(other.getMediumValue()); } @@ -1045,17 +1250,19 @@ public Builder mergeFrom( case 0: done = true; break; - case 8: { - medium_ = input.readEnum(); - bitField0_ |= 0x00000001; - break; - } // case 8 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 8: + { + medium_ = input.readEnum(); + bitField0_ |= 0x00000001; + break; + } // case 8 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -1065,26 +1272,38 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private int medium_ = 0; /** + * + * *
        * Required. The medium transcript objects represent.
        * 
* - * .google.cloud.contactcenterinsights.v1.Conversation.Medium medium = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.contactcenterinsights.v1.Conversation.Medium medium = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The enum numeric value on the wire for medium. */ - @java.lang.Override public int getMediumValue() { + @java.lang.Override + public int getMediumValue() { return medium_; } /** + * + * *
        * Required. The medium transcript objects represent.
        * 
* - * .google.cloud.contactcenterinsights.v1.Conversation.Medium medium = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.contactcenterinsights.v1.Conversation.Medium medium = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @param value The enum numeric value on the wire for medium to set. * @return This builder for chaining. */ @@ -1095,28 +1314,42 @@ public Builder setMediumValue(int value) { return this; } /** + * + * *
        * Required. The medium transcript objects represent.
        * 
* - * .google.cloud.contactcenterinsights.v1.Conversation.Medium medium = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.contactcenterinsights.v1.Conversation.Medium medium = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The medium. */ @java.lang.Override public com.google.cloud.contactcenterinsights.v1.Conversation.Medium getMedium() { - com.google.cloud.contactcenterinsights.v1.Conversation.Medium result = com.google.cloud.contactcenterinsights.v1.Conversation.Medium.forNumber(medium_); - return result == null ? com.google.cloud.contactcenterinsights.v1.Conversation.Medium.UNRECOGNIZED : result; + com.google.cloud.contactcenterinsights.v1.Conversation.Medium result = + com.google.cloud.contactcenterinsights.v1.Conversation.Medium.forNumber(medium_); + return result == null + ? com.google.cloud.contactcenterinsights.v1.Conversation.Medium.UNRECOGNIZED + : result; } /** + * + * *
        * Required. The medium transcript objects represent.
        * 
* - * .google.cloud.contactcenterinsights.v1.Conversation.Medium medium = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.contactcenterinsights.v1.Conversation.Medium medium = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @param value The medium to set. * @return This builder for chaining. */ - public Builder setMedium(com.google.cloud.contactcenterinsights.v1.Conversation.Medium value) { + public Builder setMedium( + com.google.cloud.contactcenterinsights.v1.Conversation.Medium value) { if (value == null) { throw new NullPointerException(); } @@ -1126,11 +1359,16 @@ public Builder setMedium(com.google.cloud.contactcenterinsights.v1.Conversation. return this; } /** + * + * *
        * Required. The medium transcript objects represent.
        * 
* - * .google.cloud.contactcenterinsights.v1.Conversation.Medium medium = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.contactcenterinsights.v1.Conversation.Medium medium = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return This builder for chaining. */ public Builder clearMedium() { @@ -1139,6 +1377,7 @@ public Builder clearMedium() { onChanged(); return this; } + @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -1151,41 +1390,48 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.contactcenterinsights.v1.IngestConversationsRequest.TranscriptObjectConfig) } // @@protoc_insertion_point(class_scope:google.cloud.contactcenterinsights.v1.IngestConversationsRequest.TranscriptObjectConfig) - private static final com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest.TranscriptObjectConfig DEFAULT_INSTANCE; + private static final com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest + .TranscriptObjectConfig + DEFAULT_INSTANCE; + static { - DEFAULT_INSTANCE = new com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest.TranscriptObjectConfig(); + DEFAULT_INSTANCE = + new com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest + .TranscriptObjectConfig(); } - public static com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest.TranscriptObjectConfig getDefaultInstance() { + public static com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest + .TranscriptObjectConfig + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public TranscriptObjectConfig parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public TranscriptObjectConfig parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException() + .setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1197,93 +1443,111 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest.TranscriptObjectConfig getDefaultInstanceForType() { + public com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest + .TranscriptObjectConfig + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - public interface ConversationConfigOrBuilder extends + public interface ConversationConfigOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.contactcenterinsights.v1.IngestConversationsRequest.ConversationConfig) com.google.protobuf.MessageOrBuilder { /** + * + * *
      * An opaque, user-specified string representing the human agent who handled
      * the conversations.
      * 
* * string agent_id = 1; + * * @return The agentId. */ java.lang.String getAgentId(); /** + * + * *
      * An opaque, user-specified string representing the human agent who handled
      * the conversations.
      * 
* * string agent_id = 1; + * * @return The bytes for agentId. */ - com.google.protobuf.ByteString - getAgentIdBytes(); + com.google.protobuf.ByteString getAgentIdBytes(); } /** + * + * *
    * Configuration that applies to all conversations.
    * 
* - * Protobuf type {@code google.cloud.contactcenterinsights.v1.IngestConversationsRequest.ConversationConfig} + * Protobuf type {@code + * google.cloud.contactcenterinsights.v1.IngestConversationsRequest.ConversationConfig} */ - public static final class ConversationConfig extends - com.google.protobuf.GeneratedMessageV3 implements + public static final class ConversationConfig extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.contactcenterinsights.v1.IngestConversationsRequest.ConversationConfig) ConversationConfigOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use ConversationConfig.newBuilder() to construct. private ConversationConfig(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private ConversationConfig() { agentId_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ConversationConfig(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto.internal_static_google_cloud_contactcenterinsights_v1_IngestConversationsRequest_ConversationConfig_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto + .internal_static_google_cloud_contactcenterinsights_v1_IngestConversationsRequest_ConversationConfig_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto.internal_static_google_cloud_contactcenterinsights_v1_IngestConversationsRequest_ConversationConfig_fieldAccessorTable + return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto + .internal_static_google_cloud_contactcenterinsights_v1_IngestConversationsRequest_ConversationConfig_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest.ConversationConfig.class, com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest.ConversationConfig.Builder.class); + com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest + .ConversationConfig.class, + com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest + .ConversationConfig.Builder.class); } public static final int AGENT_ID_FIELD_NUMBER = 1; + @SuppressWarnings("serial") private volatile java.lang.Object agentId_ = ""; /** + * + * *
      * An opaque, user-specified string representing the human agent who handled
      * the conversations.
      * 
* * string agent_id = 1; + * * @return The agentId. */ @java.lang.Override @@ -1292,30 +1556,30 @@ public java.lang.String getAgentId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); agentId_ = s; return s; } } /** + * + * *
      * An opaque, user-specified string representing the human agent who handled
      * the conversations.
      * 
* * string agent_id = 1; + * * @return The bytes for agentId. */ @java.lang.Override - public com.google.protobuf.ByteString - getAgentIdBytes() { + public com.google.protobuf.ByteString getAgentIdBytes() { java.lang.Object ref = agentId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); agentId_ = b; return b; } else { @@ -1324,6 +1588,7 @@ public java.lang.String getAgentId() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -1335,8 +1600,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(agentId_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, agentId_); } @@ -1360,15 +1624,21 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } - if (!(obj instanceof com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest.ConversationConfig)) { + if (!(obj + instanceof + com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest + .ConversationConfig)) { return super.equals(obj); } - com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest.ConversationConfig other = (com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest.ConversationConfig) obj; + com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest.ConversationConfig + other = + (com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest + .ConversationConfig) + obj; - if (!getAgentId() - .equals(other.getAgentId())) return false; + if (!getAgentId().equals(other.getAgentId())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -1387,88 +1657,114 @@ public int hashCode() { return hash; } - public static com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest.ConversationConfig parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest + .ConversationConfig + parseFrom(java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest.ConversationConfig parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest + .ConversationConfig + parseFrom( + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest.ConversationConfig parseFrom( - com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest + .ConversationConfig + parseFrom(com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest.ConversationConfig parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest + .ConversationConfig + parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest.ConversationConfig parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest + .ConversationConfig + parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest.ConversationConfig parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest + .ConversationConfig + parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest.ConversationConfig parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest + .ConversationConfig + parseFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } - public static com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest.ConversationConfig parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + + public static com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest + .ConversationConfig + parseFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest.ConversationConfig parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest + .ConversationConfig + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest.ConversationConfig parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + + public static com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest + .ConversationConfig + parseDelimitedFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest.ConversationConfig parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest + .ConversationConfig + parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } - public static com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest.ConversationConfig parseFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + + public static com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest + .ConversationConfig + parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest.ConversationConfig prototype) { + + public static Builder newBuilder( + com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest.ConversationConfig + prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -1478,39 +1774,46 @@ protected Builder newBuilderForType( return builder; } /** + * + * *
      * Configuration that applies to all conversations.
      * 
* - * Protobuf type {@code google.cloud.contactcenterinsights.v1.IngestConversationsRequest.ConversationConfig} + * Protobuf type {@code + * google.cloud.contactcenterinsights.v1.IngestConversationsRequest.ConversationConfig} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder + extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.contactcenterinsights.v1.IngestConversationsRequest.ConversationConfig) - com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest.ConversationConfigOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto.internal_static_google_cloud_contactcenterinsights_v1_IngestConversationsRequest_ConversationConfig_descriptor; + com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest + .ConversationConfigOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto + .internal_static_google_cloud_contactcenterinsights_v1_IngestConversationsRequest_ConversationConfig_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto.internal_static_google_cloud_contactcenterinsights_v1_IngestConversationsRequest_ConversationConfig_fieldAccessorTable + return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto + .internal_static_google_cloud_contactcenterinsights_v1_IngestConversationsRequest_ConversationConfig_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest.ConversationConfig.class, com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest.ConversationConfig.Builder.class); + com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest + .ConversationConfig.class, + com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest + .ConversationConfig.Builder.class); } - // Construct using com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest.ConversationConfig.newBuilder() - private Builder() { - - } + // Construct using + // com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest.ConversationConfig.newBuilder() + private Builder() {} - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -1520,19 +1823,23 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto.internal_static_google_cloud_contactcenterinsights_v1_IngestConversationsRequest_ConversationConfig_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto + .internal_static_google_cloud_contactcenterinsights_v1_IngestConversationsRequest_ConversationConfig_descriptor; } @java.lang.Override - public com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest.ConversationConfig getDefaultInstanceForType() { - return com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest.ConversationConfig.getDefaultInstance(); + public com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest.ConversationConfig + getDefaultInstanceForType() { + return com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest + .ConversationConfig.getDefaultInstance(); } @java.lang.Override - public com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest.ConversationConfig build() { - com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest.ConversationConfig result = buildPartial(); + public com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest.ConversationConfig + build() { + com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest.ConversationConfig + result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } @@ -1540,14 +1847,22 @@ public com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest.Conv } @java.lang.Override - public com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest.ConversationConfig buildPartial() { - com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest.ConversationConfig result = new com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest.ConversationConfig(this); - if (bitField0_ != 0) { buildPartial0(result); } + public com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest.ConversationConfig + buildPartial() { + com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest.ConversationConfig + result = + new com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest + .ConversationConfig(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } - private void buildPartial0(com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest.ConversationConfig result) { + private void buildPartial0( + com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest.ConversationConfig + result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { result.agentId_ = agentId_; @@ -1558,46 +1873,59 @@ private void buildPartial0(com.google.cloud.contactcenterinsights.v1.IngestConve public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + int index, + java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { - if (other instanceof com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest.ConversationConfig) { - return mergeFrom((com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest.ConversationConfig)other); + if (other + instanceof + com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest + .ConversationConfig) { + return mergeFrom( + (com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest + .ConversationConfig) + other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest.ConversationConfig other) { - if (other == com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest.ConversationConfig.getDefaultInstance()) return this; + public Builder mergeFrom( + com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest.ConversationConfig + other) { + if (other + == com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest + .ConversationConfig.getDefaultInstance()) return this; if (!other.getAgentId().isEmpty()) { agentId_ = other.agentId_; bitField0_ |= 0x00000001; @@ -1629,17 +1957,19 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - agentId_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + agentId_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -1649,23 +1979,26 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private java.lang.Object agentId_ = ""; /** + * + * *
        * An opaque, user-specified string representing the human agent who handled
        * the conversations.
        * 
* * string agent_id = 1; + * * @return The agentId. */ public java.lang.String getAgentId() { java.lang.Object ref = agentId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); agentId_ = s; return s; @@ -1674,21 +2007,22 @@ public java.lang.String getAgentId() { } } /** + * + * *
        * An opaque, user-specified string representing the human agent who handled
        * the conversations.
        * 
* * string agent_id = 1; + * * @return The bytes for agentId. */ - public com.google.protobuf.ByteString - getAgentIdBytes() { + public com.google.protobuf.ByteString getAgentIdBytes() { java.lang.Object ref = agentId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); agentId_ = b; return b; } else { @@ -1696,30 +2030,37 @@ public java.lang.String getAgentId() { } } /** + * + * *
        * An opaque, user-specified string representing the human agent who handled
        * the conversations.
        * 
* * string agent_id = 1; + * * @param value The agentId to set. * @return This builder for chaining. */ - public Builder setAgentId( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setAgentId(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } agentId_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
        * An opaque, user-specified string representing the human agent who handled
        * the conversations.
        * 
* * string agent_id = 1; + * * @return This builder for chaining. */ public Builder clearAgentId() { @@ -1729,24 +2070,29 @@ public Builder clearAgentId() { return this; } /** + * + * *
        * An opaque, user-specified string representing the human agent who handled
        * the conversations.
        * 
* * string agent_id = 1; + * * @param value The bytes for agentId to set. * @return This builder for chaining. */ - public Builder setAgentIdBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setAgentIdBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); agentId_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } + @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -1759,41 +2105,48 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.contactcenterinsights.v1.IngestConversationsRequest.ConversationConfig) } // @@protoc_insertion_point(class_scope:google.cloud.contactcenterinsights.v1.IngestConversationsRequest.ConversationConfig) - private static final com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest.ConversationConfig DEFAULT_INSTANCE; + private static final com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest + .ConversationConfig + DEFAULT_INSTANCE; + static { - DEFAULT_INSTANCE = new com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest.ConversationConfig(); + DEFAULT_INSTANCE = + new com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest + .ConversationConfig(); } - public static com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest.ConversationConfig getDefaultInstance() { + public static com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest + .ConversationConfig + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ConversationConfig parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ConversationConfig parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException() + .setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1805,20 +2158,23 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest.ConversationConfig getDefaultInstanceForType() { + public com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest.ConversationConfig + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } private int sourceCase_ = 0; private java.lang.Object source_; + public enum SourceCase - implements com.google.protobuf.Internal.EnumLite, + implements + com.google.protobuf.Internal.EnumLite, com.google.protobuf.AbstractMessage.InternalOneOfEnum { GCS_SOURCE(2), SOURCE_NOT_SET(0); private final int value; + private SourceCase(int value) { this.value = value; } @@ -1834,30 +2190,35 @@ public static SourceCase valueOf(int value) { public static SourceCase forNumber(int value) { switch (value) { - case 2: return GCS_SOURCE; - case 0: return SOURCE_NOT_SET; - default: return null; + case 2: + return GCS_SOURCE; + case 0: + return SOURCE_NOT_SET; + default: + return null; } } + public int getNumber() { return this.value; } }; - public SourceCase - getSourceCase() { - return SourceCase.forNumber( - sourceCase_); + public SourceCase getSourceCase() { + return SourceCase.forNumber(sourceCase_); } private int objectConfigCase_ = 0; private java.lang.Object objectConfig_; + public enum ObjectConfigCase - implements com.google.protobuf.Internal.EnumLite, + implements + com.google.protobuf.Internal.EnumLite, com.google.protobuf.AbstractMessage.InternalOneOfEnum { TRANSCRIPT_OBJECT_CONFIG(3), OBJECTCONFIG_NOT_SET(0); private final int value; + private ObjectConfigCase(int value) { this.value = value; } @@ -1873,29 +2234,36 @@ public static ObjectConfigCase valueOf(int value) { public static ObjectConfigCase forNumber(int value) { switch (value) { - case 3: return TRANSCRIPT_OBJECT_CONFIG; - case 0: return OBJECTCONFIG_NOT_SET; - default: return null; + case 3: + return TRANSCRIPT_OBJECT_CONFIG; + case 0: + return OBJECTCONFIG_NOT_SET; + default: + return null; } } + public int getNumber() { return this.value; } }; - public ObjectConfigCase - getObjectConfigCase() { - return ObjectConfigCase.forNumber( - objectConfigCase_); + public ObjectConfigCase getObjectConfigCase() { + return ObjectConfigCase.forNumber(objectConfigCase_); } public static final int GCS_SOURCE_FIELD_NUMBER = 2; /** + * + * *
    * A cloud storage bucket source.
    * 
* - * .google.cloud.contactcenterinsights.v1.IngestConversationsRequest.GcsSource gcs_source = 2; + * + * .google.cloud.contactcenterinsights.v1.IngestConversationsRequest.GcsSource gcs_source = 2; + * + * * @return Whether the gcsSource field is set. */ @java.lang.Override @@ -1903,42 +2271,62 @@ public boolean hasGcsSource() { return sourceCase_ == 2; } /** + * + * *
    * A cloud storage bucket source.
    * 
* - * .google.cloud.contactcenterinsights.v1.IngestConversationsRequest.GcsSource gcs_source = 2; + * + * .google.cloud.contactcenterinsights.v1.IngestConversationsRequest.GcsSource gcs_source = 2; + * + * * @return The gcsSource. */ @java.lang.Override - public com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest.GcsSource getGcsSource() { + public com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest.GcsSource + getGcsSource() { if (sourceCase_ == 2) { - return (com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest.GcsSource) source_; + return (com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest.GcsSource) + source_; } - return com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest.GcsSource.getDefaultInstance(); + return com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest.GcsSource + .getDefaultInstance(); } /** + * + * *
    * A cloud storage bucket source.
    * 
* - * .google.cloud.contactcenterinsights.v1.IngestConversationsRequest.GcsSource gcs_source = 2; + * + * .google.cloud.contactcenterinsights.v1.IngestConversationsRequest.GcsSource gcs_source = 2; + * */ @java.lang.Override - public com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest.GcsSourceOrBuilder getGcsSourceOrBuilder() { + public com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest.GcsSourceOrBuilder + getGcsSourceOrBuilder() { if (sourceCase_ == 2) { - return (com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest.GcsSource) source_; + return (com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest.GcsSource) + source_; } - return com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest.GcsSource.getDefaultInstance(); + return com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest.GcsSource + .getDefaultInstance(); } public static final int TRANSCRIPT_OBJECT_CONFIG_FIELD_NUMBER = 3; /** + * + * *
    * Configuration for when `source` contains conversation transcripts.
    * 
* - * .google.cloud.contactcenterinsights.v1.IngestConversationsRequest.TranscriptObjectConfig transcript_object_config = 3; + * + * .google.cloud.contactcenterinsights.v1.IngestConversationsRequest.TranscriptObjectConfig transcript_object_config = 3; + * + * * @return Whether the transcriptObjectConfig field is set. */ @java.lang.Override @@ -1946,44 +2334,68 @@ public boolean hasTranscriptObjectConfig() { return objectConfigCase_ == 3; } /** + * + * *
    * Configuration for when `source` contains conversation transcripts.
    * 
* - * .google.cloud.contactcenterinsights.v1.IngestConversationsRequest.TranscriptObjectConfig transcript_object_config = 3; + * + * .google.cloud.contactcenterinsights.v1.IngestConversationsRequest.TranscriptObjectConfig transcript_object_config = 3; + * + * * @return The transcriptObjectConfig. */ @java.lang.Override - public com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest.TranscriptObjectConfig getTranscriptObjectConfig() { + public com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest.TranscriptObjectConfig + getTranscriptObjectConfig() { if (objectConfigCase_ == 3) { - return (com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest.TranscriptObjectConfig) objectConfig_; + return (com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest + .TranscriptObjectConfig) + objectConfig_; } - return com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest.TranscriptObjectConfig.getDefaultInstance(); + return com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest + .TranscriptObjectConfig.getDefaultInstance(); } /** + * + * *
    * Configuration for when `source` contains conversation transcripts.
    * 
* - * .google.cloud.contactcenterinsights.v1.IngestConversationsRequest.TranscriptObjectConfig transcript_object_config = 3; + * + * .google.cloud.contactcenterinsights.v1.IngestConversationsRequest.TranscriptObjectConfig transcript_object_config = 3; + * */ @java.lang.Override - public com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest.TranscriptObjectConfigOrBuilder getTranscriptObjectConfigOrBuilder() { + public com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest + .TranscriptObjectConfigOrBuilder + getTranscriptObjectConfigOrBuilder() { if (objectConfigCase_ == 3) { - return (com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest.TranscriptObjectConfig) objectConfig_; + return (com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest + .TranscriptObjectConfig) + objectConfig_; } - return com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest.TranscriptObjectConfig.getDefaultInstance(); + return com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest + .TranscriptObjectConfig.getDefaultInstance(); } public static final int PARENT_FIELD_NUMBER = 1; + @SuppressWarnings("serial") private volatile java.lang.Object parent_ = ""; /** + * + * *
    * Required. The parent resource for new conversations.
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The parent. */ @java.lang.Override @@ -1992,29 +2404,31 @@ public java.lang.String getParent() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; } } /** + * + * *
    * Required. The parent resource for new conversations.
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for parent. */ @java.lang.Override - public com.google.protobuf.ByteString - getParentBytes() { + public com.google.protobuf.ByteString getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); parent_ = b; return b; } else { @@ -2023,13 +2437,19 @@ public java.lang.String getParent() { } public static final int CONVERSATION_CONFIG_FIELD_NUMBER = 4; - private com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest.ConversationConfig conversationConfig_; + private com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest.ConversationConfig + conversationConfig_; /** + * + * *
    * Configuration that applies to all conversations.
    * 
* - * .google.cloud.contactcenterinsights.v1.IngestConversationsRequest.ConversationConfig conversation_config = 4; + * + * .google.cloud.contactcenterinsights.v1.IngestConversationsRequest.ConversationConfig conversation_config = 4; + * + * * @return Whether the conversationConfig field is set. */ @java.lang.Override @@ -2037,30 +2457,49 @@ public boolean hasConversationConfig() { return conversationConfig_ != null; } /** + * + * *
    * Configuration that applies to all conversations.
    * 
* - * .google.cloud.contactcenterinsights.v1.IngestConversationsRequest.ConversationConfig conversation_config = 4; + * + * .google.cloud.contactcenterinsights.v1.IngestConversationsRequest.ConversationConfig conversation_config = 4; + * + * * @return The conversationConfig. */ @java.lang.Override - public com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest.ConversationConfig getConversationConfig() { - return conversationConfig_ == null ? com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest.ConversationConfig.getDefaultInstance() : conversationConfig_; + public com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest.ConversationConfig + getConversationConfig() { + return conversationConfig_ == null + ? com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest.ConversationConfig + .getDefaultInstance() + : conversationConfig_; } /** + * + * *
    * Configuration that applies to all conversations.
    * 
* - * .google.cloud.contactcenterinsights.v1.IngestConversationsRequest.ConversationConfig conversation_config = 4; + * + * .google.cloud.contactcenterinsights.v1.IngestConversationsRequest.ConversationConfig conversation_config = 4; + * */ @java.lang.Override - public com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest.ConversationConfigOrBuilder getConversationConfigOrBuilder() { - return conversationConfig_ == null ? com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest.ConversationConfig.getDefaultInstance() : conversationConfig_; + public com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest + .ConversationConfigOrBuilder + getConversationConfigOrBuilder() { + return conversationConfig_ == null + ? com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest.ConversationConfig + .getDefaultInstance() + : conversationConfig_; } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -2072,16 +2511,21 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); } if (sourceCase_ == 2) { - output.writeMessage(2, (com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest.GcsSource) source_); + output.writeMessage( + 2, + (com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest.GcsSource) source_); } if (objectConfigCase_ == 3) { - output.writeMessage(3, (com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest.TranscriptObjectConfig) objectConfig_); + output.writeMessage( + 3, + (com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest + .TranscriptObjectConfig) + objectConfig_); } if (conversationConfig_ != null) { output.writeMessage(4, getConversationConfig()); @@ -2099,16 +2543,22 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, parent_); } if (sourceCase_ == 2) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, (com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest.GcsSource) source_); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 2, + (com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest.GcsSource) + source_); } if (objectConfigCase_ == 3) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(3, (com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest.TranscriptObjectConfig) objectConfig_); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 3, + (com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest + .TranscriptObjectConfig) + objectConfig_); } if (conversationConfig_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(4, getConversationConfig()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(4, getConversationConfig()); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -2118,25 +2568,23 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest)) { return super.equals(obj); } - com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest other = (com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest) obj; + com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest other = + (com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest) obj; - if (!getParent() - .equals(other.getParent())) return false; + if (!getParent().equals(other.getParent())) return false; if (hasConversationConfig() != other.hasConversationConfig()) return false; if (hasConversationConfig()) { - if (!getConversationConfig() - .equals(other.getConversationConfig())) return false; + if (!getConversationConfig().equals(other.getConversationConfig())) return false; } if (!getSourceCase().equals(other.getSourceCase())) return false; switch (sourceCase_) { case 2: - if (!getGcsSource() - .equals(other.getGcsSource())) return false; + if (!getGcsSource().equals(other.getGcsSource())) return false; break; case 0: default: @@ -2144,8 +2592,7 @@ public boolean equals(final java.lang.Object obj) { if (!getObjectConfigCase().equals(other.getObjectConfigCase())) return false; switch (objectConfigCase_) { case 3: - if (!getTranscriptObjectConfig() - .equals(other.getTranscriptObjectConfig())) return false; + if (!getTranscriptObjectConfig().equals(other.getTranscriptObjectConfig())) return false; break; case 0: default: @@ -2189,129 +2636,138 @@ public int hashCode() { } public static com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + + public static com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest + parseDelimitedFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest prototype) { + + public static Builder newBuilder( + com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * The request to ingest conversations.
    * 
* * Protobuf type {@code google.cloud.contactcenterinsights.v1.IngestConversationsRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.contactcenterinsights.v1.IngestConversationsRequest) com.google.cloud.contactcenterinsights.v1.IngestConversationsRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto.internal_static_google_cloud_contactcenterinsights_v1_IngestConversationsRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto + .internal_static_google_cloud_contactcenterinsights_v1_IngestConversationsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto.internal_static_google_cloud_contactcenterinsights_v1_IngestConversationsRequest_fieldAccessorTable + return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto + .internal_static_google_cloud_contactcenterinsights_v1_IngestConversationsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest.class, com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest.Builder.class); + com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest.class, + com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest.Builder.class); } - // Construct using com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest.newBuilder() - private Builder() { + // Construct using + // com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest.newBuilder() + private Builder() {} - } - - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -2336,14 +2792,16 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto.internal_static_google_cloud_contactcenterinsights_v1_IngestConversationsRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto + .internal_static_google_cloud_contactcenterinsights_v1_IngestConversationsRequest_descriptor; } @java.lang.Override - public com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest getDefaultInstanceForType() { - return com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest.getDefaultInstance(); + public com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest + getDefaultInstanceForType() { + return com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest + .getDefaultInstance(); } @java.lang.Override @@ -2357,36 +2815,40 @@ public com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest buil @java.lang.Override public com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest buildPartial() { - com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest result = new com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest result = + new com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest(this); + if (bitField0_ != 0) { + buildPartial0(result); + } buildPartialOneofs(result); onBuilt(); return result; } - private void buildPartial0(com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest result) { + private void buildPartial0( + com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000004) != 0)) { result.parent_ = parent_; } if (((from_bitField0_ & 0x00000008) != 0)) { - result.conversationConfig_ = conversationConfigBuilder_ == null - ? conversationConfig_ - : conversationConfigBuilder_.build(); + result.conversationConfig_ = + conversationConfigBuilder_ == null + ? conversationConfig_ + : conversationConfigBuilder_.build(); } } - private void buildPartialOneofs(com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest result) { + private void buildPartialOneofs( + com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest result) { result.sourceCase_ = sourceCase_; result.source_ = this.source_; - if (sourceCase_ == 2 && - gcsSourceBuilder_ != null) { + if (sourceCase_ == 2 && gcsSourceBuilder_ != null) { result.source_ = gcsSourceBuilder_.build(); } result.objectConfigCase_ = objectConfigCase_; result.objectConfig_ = this.objectConfig_; - if (objectConfigCase_ == 3 && - transcriptObjectConfigBuilder_ != null) { + if (objectConfigCase_ == 3 && transcriptObjectConfigBuilder_ != null) { result.objectConfig_ = transcriptObjectConfigBuilder_.build(); } } @@ -2395,46 +2857,51 @@ private void buildPartialOneofs(com.google.cloud.contactcenterinsights.v1.Ingest public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest) { - return mergeFrom((com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest)other); + return mergeFrom( + (com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest) other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest other) { - if (other == com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest.getDefaultInstance()) return this; + public Builder mergeFrom( + com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest other) { + if (other + == com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest + .getDefaultInstance()) return this; if (!other.getParent().isEmpty()) { parent_ = other.parent_; bitField0_ |= 0x00000004; @@ -2444,22 +2911,26 @@ public Builder mergeFrom(com.google.cloud.contactcenterinsights.v1.IngestConvers mergeConversationConfig(other.getConversationConfig()); } switch (other.getSourceCase()) { - case GCS_SOURCE: { - mergeGcsSource(other.getGcsSource()); - break; - } - case SOURCE_NOT_SET: { - break; - } + case GCS_SOURCE: + { + mergeGcsSource(other.getGcsSource()); + break; + } + case SOURCE_NOT_SET: + { + break; + } } switch (other.getObjectConfigCase()) { - case TRANSCRIPT_OBJECT_CONFIG: { - mergeTranscriptObjectConfig(other.getTranscriptObjectConfig()); - break; - } - case OBJECTCONFIG_NOT_SET: { - break; - } + case TRANSCRIPT_OBJECT_CONFIG: + { + mergeTranscriptObjectConfig(other.getTranscriptObjectConfig()); + break; + } + case OBJECTCONFIG_NOT_SET: + { + break; + } } this.mergeUnknownFields(other.getUnknownFields()); onChanged(); @@ -2487,38 +2958,39 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - parent_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000004; - break; - } // case 10 - case 18: { - input.readMessage( - getGcsSourceFieldBuilder().getBuilder(), - extensionRegistry); - sourceCase_ = 2; - break; - } // case 18 - case 26: { - input.readMessage( - getTranscriptObjectConfigFieldBuilder().getBuilder(), - extensionRegistry); - objectConfigCase_ = 3; - break; - } // case 26 - case 34: { - input.readMessage( - getConversationConfigFieldBuilder().getBuilder(), - extensionRegistry); - bitField0_ |= 0x00000008; - break; - } // case 34 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + parent_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000004; + break; + } // case 10 + case 18: + { + input.readMessage(getGcsSourceFieldBuilder().getBuilder(), extensionRegistry); + sourceCase_ = 2; + break; + } // case 18 + case 26: + { + input.readMessage( + getTranscriptObjectConfigFieldBuilder().getBuilder(), extensionRegistry); + objectConfigCase_ = 3; + break; + } // case 26 + case 34: + { + input.readMessage( + getConversationConfigFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000008; + break; + } // case 34 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -2528,12 +3000,12 @@ public Builder mergeFrom( } // finally return this; } + private int sourceCase_ = 0; private java.lang.Object source_; - public SourceCase - getSourceCase() { - return SourceCase.forNumber( - sourceCase_); + + public SourceCase getSourceCase() { + return SourceCase.forNumber(sourceCase_); } public Builder clearSource() { @@ -2545,10 +3017,9 @@ public Builder clearSource() { private int objectConfigCase_ = 0; private java.lang.Object objectConfig_; - public ObjectConfigCase - getObjectConfigCase() { - return ObjectConfigCase.forNumber( - objectConfigCase_); + + public ObjectConfigCase getObjectConfigCase() { + return ObjectConfigCase.forNumber(objectConfigCase_); } public Builder clearObjectConfig() { @@ -2561,13 +3032,21 @@ public Builder clearObjectConfig() { private int bitField0_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest.GcsSource, com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest.GcsSource.Builder, com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest.GcsSourceOrBuilder> gcsSourceBuilder_; + com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest.GcsSource, + com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest.GcsSource.Builder, + com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest.GcsSourceOrBuilder> + gcsSourceBuilder_; /** + * + * *
      * A cloud storage bucket source.
      * 
* - * .google.cloud.contactcenterinsights.v1.IngestConversationsRequest.GcsSource gcs_source = 2; + * + * .google.cloud.contactcenterinsights.v1.IngestConversationsRequest.GcsSource gcs_source = 2; + * + * * @return Whether the gcsSource field is set. */ @java.lang.Override @@ -2575,35 +3054,49 @@ public boolean hasGcsSource() { return sourceCase_ == 2; } /** + * + * *
      * A cloud storage bucket source.
      * 
* - * .google.cloud.contactcenterinsights.v1.IngestConversationsRequest.GcsSource gcs_source = 2; + * + * .google.cloud.contactcenterinsights.v1.IngestConversationsRequest.GcsSource gcs_source = 2; + * + * * @return The gcsSource. */ @java.lang.Override - public com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest.GcsSource getGcsSource() { + public com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest.GcsSource + getGcsSource() { if (gcsSourceBuilder_ == null) { if (sourceCase_ == 2) { - return (com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest.GcsSource) source_; + return (com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest.GcsSource) + source_; } - return com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest.GcsSource.getDefaultInstance(); + return com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest.GcsSource + .getDefaultInstance(); } else { if (sourceCase_ == 2) { return gcsSourceBuilder_.getMessage(); } - return com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest.GcsSource.getDefaultInstance(); + return com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest.GcsSource + .getDefaultInstance(); } } /** + * + * *
      * A cloud storage bucket source.
      * 
* - * .google.cloud.contactcenterinsights.v1.IngestConversationsRequest.GcsSource gcs_source = 2; + * + * .google.cloud.contactcenterinsights.v1.IngestConversationsRequest.GcsSource gcs_source = 2; + * */ - public Builder setGcsSource(com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest.GcsSource value) { + public Builder setGcsSource( + com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest.GcsSource value) { if (gcsSourceBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -2617,14 +3110,19 @@ public Builder setGcsSource(com.google.cloud.contactcenterinsights.v1.IngestConv return this; } /** + * + * *
      * A cloud storage bucket source.
      * 
* - * .google.cloud.contactcenterinsights.v1.IngestConversationsRequest.GcsSource gcs_source = 2; + * + * .google.cloud.contactcenterinsights.v1.IngestConversationsRequest.GcsSource gcs_source = 2; + * */ public Builder setGcsSource( - com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest.GcsSource.Builder builderForValue) { + com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest.GcsSource.Builder + builderForValue) { if (gcsSourceBuilder_ == null) { source_ = builderForValue.build(); onChanged(); @@ -2635,18 +3133,31 @@ public Builder setGcsSource( return this; } /** + * + * *
      * A cloud storage bucket source.
      * 
* - * .google.cloud.contactcenterinsights.v1.IngestConversationsRequest.GcsSource gcs_source = 2; + * + * .google.cloud.contactcenterinsights.v1.IngestConversationsRequest.GcsSource gcs_source = 2; + * */ - public Builder mergeGcsSource(com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest.GcsSource value) { + public Builder mergeGcsSource( + com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest.GcsSource value) { if (gcsSourceBuilder_ == null) { - if (sourceCase_ == 2 && - source_ != com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest.GcsSource.getDefaultInstance()) { - source_ = com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest.GcsSource.newBuilder((com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest.GcsSource) source_) - .mergeFrom(value).buildPartial(); + if (sourceCase_ == 2 + && source_ + != com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest.GcsSource + .getDefaultInstance()) { + source_ = + com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest.GcsSource + .newBuilder( + (com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest + .GcsSource) + source_) + .mergeFrom(value) + .buildPartial(); } else { source_ = value; } @@ -2662,11 +3173,15 @@ public Builder mergeGcsSource(com.google.cloud.contactcenterinsights.v1.IngestCo return this; } /** + * + * *
      * A cloud storage bucket source.
      * 
* - * .google.cloud.contactcenterinsights.v1.IngestConversationsRequest.GcsSource gcs_source = 2; + * + * .google.cloud.contactcenterinsights.v1.IngestConversationsRequest.GcsSource gcs_source = 2; + * */ public Builder clearGcsSource() { if (gcsSourceBuilder_ == null) { @@ -2685,50 +3200,76 @@ public Builder clearGcsSource() { return this; } /** + * + * *
      * A cloud storage bucket source.
      * 
* - * .google.cloud.contactcenterinsights.v1.IngestConversationsRequest.GcsSource gcs_source = 2; + * + * .google.cloud.contactcenterinsights.v1.IngestConversationsRequest.GcsSource gcs_source = 2; + * */ - public com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest.GcsSource.Builder getGcsSourceBuilder() { + public com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest.GcsSource.Builder + getGcsSourceBuilder() { return getGcsSourceFieldBuilder().getBuilder(); } /** + * + * *
      * A cloud storage bucket source.
      * 
* - * .google.cloud.contactcenterinsights.v1.IngestConversationsRequest.GcsSource gcs_source = 2; + * + * .google.cloud.contactcenterinsights.v1.IngestConversationsRequest.GcsSource gcs_source = 2; + * */ @java.lang.Override - public com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest.GcsSourceOrBuilder getGcsSourceOrBuilder() { + public com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest.GcsSourceOrBuilder + getGcsSourceOrBuilder() { if ((sourceCase_ == 2) && (gcsSourceBuilder_ != null)) { return gcsSourceBuilder_.getMessageOrBuilder(); } else { if (sourceCase_ == 2) { - return (com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest.GcsSource) source_; + return (com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest.GcsSource) + source_; } - return com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest.GcsSource.getDefaultInstance(); + return com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest.GcsSource + .getDefaultInstance(); } } /** + * + * *
      * A cloud storage bucket source.
      * 
* - * .google.cloud.contactcenterinsights.v1.IngestConversationsRequest.GcsSource gcs_source = 2; + * + * .google.cloud.contactcenterinsights.v1.IngestConversationsRequest.GcsSource gcs_source = 2; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest.GcsSource, com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest.GcsSource.Builder, com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest.GcsSourceOrBuilder> + com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest.GcsSource, + com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest.GcsSource.Builder, + com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest.GcsSourceOrBuilder> getGcsSourceFieldBuilder() { if (gcsSourceBuilder_ == null) { if (!(sourceCase_ == 2)) { - source_ = com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest.GcsSource.getDefaultInstance(); + source_ = + com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest.GcsSource + .getDefaultInstance(); } - gcsSourceBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest.GcsSource, com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest.GcsSource.Builder, com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest.GcsSourceOrBuilder>( - (com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest.GcsSource) source_, + gcsSourceBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest.GcsSource, + com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest.GcsSource + .Builder, + com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest + .GcsSourceOrBuilder>( + (com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest.GcsSource) + source_, getParentForChildren(), isClean()); source_ = null; @@ -2739,13 +3280,24 @@ public com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest.GcsS } private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest.TranscriptObjectConfig, com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest.TranscriptObjectConfig.Builder, com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest.TranscriptObjectConfigOrBuilder> transcriptObjectConfigBuilder_; + com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest + .TranscriptObjectConfig, + com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest + .TranscriptObjectConfig.Builder, + com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest + .TranscriptObjectConfigOrBuilder> + transcriptObjectConfigBuilder_; /** + * + * *
      * Configuration for when `source` contains conversation transcripts.
      * 
* - * .google.cloud.contactcenterinsights.v1.IngestConversationsRequest.TranscriptObjectConfig transcript_object_config = 3; + * + * .google.cloud.contactcenterinsights.v1.IngestConversationsRequest.TranscriptObjectConfig transcript_object_config = 3; + * + * * @return Whether the transcriptObjectConfig field is set. */ @java.lang.Override @@ -2753,35 +3305,52 @@ public boolean hasTranscriptObjectConfig() { return objectConfigCase_ == 3; } /** + * + * *
      * Configuration for when `source` contains conversation transcripts.
      * 
* - * .google.cloud.contactcenterinsights.v1.IngestConversationsRequest.TranscriptObjectConfig transcript_object_config = 3; + * + * .google.cloud.contactcenterinsights.v1.IngestConversationsRequest.TranscriptObjectConfig transcript_object_config = 3; + * + * * @return The transcriptObjectConfig. */ @java.lang.Override - public com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest.TranscriptObjectConfig getTranscriptObjectConfig() { + public com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest + .TranscriptObjectConfig + getTranscriptObjectConfig() { if (transcriptObjectConfigBuilder_ == null) { if (objectConfigCase_ == 3) { - return (com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest.TranscriptObjectConfig) objectConfig_; + return (com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest + .TranscriptObjectConfig) + objectConfig_; } - return com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest.TranscriptObjectConfig.getDefaultInstance(); + return com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest + .TranscriptObjectConfig.getDefaultInstance(); } else { if (objectConfigCase_ == 3) { return transcriptObjectConfigBuilder_.getMessage(); } - return com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest.TranscriptObjectConfig.getDefaultInstance(); + return com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest + .TranscriptObjectConfig.getDefaultInstance(); } } /** + * + * *
      * Configuration for when `source` contains conversation transcripts.
      * 
* - * .google.cloud.contactcenterinsights.v1.IngestConversationsRequest.TranscriptObjectConfig transcript_object_config = 3; + * + * .google.cloud.contactcenterinsights.v1.IngestConversationsRequest.TranscriptObjectConfig transcript_object_config = 3; + * */ - public Builder setTranscriptObjectConfig(com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest.TranscriptObjectConfig value) { + public Builder setTranscriptObjectConfig( + com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest.TranscriptObjectConfig + value) { if (transcriptObjectConfigBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -2795,14 +3364,20 @@ public Builder setTranscriptObjectConfig(com.google.cloud.contactcenterinsights. return this; } /** + * + * *
      * Configuration for when `source` contains conversation transcripts.
      * 
* - * .google.cloud.contactcenterinsights.v1.IngestConversationsRequest.TranscriptObjectConfig transcript_object_config = 3; + * + * .google.cloud.contactcenterinsights.v1.IngestConversationsRequest.TranscriptObjectConfig transcript_object_config = 3; + * */ public Builder setTranscriptObjectConfig( - com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest.TranscriptObjectConfig.Builder builderForValue) { + com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest.TranscriptObjectConfig + .Builder + builderForValue) { if (transcriptObjectConfigBuilder_ == null) { objectConfig_ = builderForValue.build(); onChanged(); @@ -2813,18 +3388,32 @@ public Builder setTranscriptObjectConfig( return this; } /** + * + * *
      * Configuration for when `source` contains conversation transcripts.
      * 
* - * .google.cloud.contactcenterinsights.v1.IngestConversationsRequest.TranscriptObjectConfig transcript_object_config = 3; + * + * .google.cloud.contactcenterinsights.v1.IngestConversationsRequest.TranscriptObjectConfig transcript_object_config = 3; + * */ - public Builder mergeTranscriptObjectConfig(com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest.TranscriptObjectConfig value) { + public Builder mergeTranscriptObjectConfig( + com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest.TranscriptObjectConfig + value) { if (transcriptObjectConfigBuilder_ == null) { - if (objectConfigCase_ == 3 && - objectConfig_ != com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest.TranscriptObjectConfig.getDefaultInstance()) { - objectConfig_ = com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest.TranscriptObjectConfig.newBuilder((com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest.TranscriptObjectConfig) objectConfig_) - .mergeFrom(value).buildPartial(); + if (objectConfigCase_ == 3 + && objectConfig_ + != com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest + .TranscriptObjectConfig.getDefaultInstance()) { + objectConfig_ = + com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest + .TranscriptObjectConfig.newBuilder( + (com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest + .TranscriptObjectConfig) + objectConfig_) + .mergeFrom(value) + .buildPartial(); } else { objectConfig_ = value; } @@ -2840,11 +3429,15 @@ public Builder mergeTranscriptObjectConfig(com.google.cloud.contactcenterinsight return this; } /** + * + * *
      * Configuration for when `source` contains conversation transcripts.
      * 
* - * .google.cloud.contactcenterinsights.v1.IngestConversationsRequest.TranscriptObjectConfig transcript_object_config = 3; + * + * .google.cloud.contactcenterinsights.v1.IngestConversationsRequest.TranscriptObjectConfig transcript_object_config = 3; + * */ public Builder clearTranscriptObjectConfig() { if (transcriptObjectConfigBuilder_ == null) { @@ -2863,50 +3456,84 @@ public Builder clearTranscriptObjectConfig() { return this; } /** + * + * *
      * Configuration for when `source` contains conversation transcripts.
      * 
* - * .google.cloud.contactcenterinsights.v1.IngestConversationsRequest.TranscriptObjectConfig transcript_object_config = 3; + * + * .google.cloud.contactcenterinsights.v1.IngestConversationsRequest.TranscriptObjectConfig transcript_object_config = 3; + * */ - public com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest.TranscriptObjectConfig.Builder getTranscriptObjectConfigBuilder() { + public com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest + .TranscriptObjectConfig.Builder + getTranscriptObjectConfigBuilder() { return getTranscriptObjectConfigFieldBuilder().getBuilder(); } /** + * + * *
      * Configuration for when `source` contains conversation transcripts.
      * 
* - * .google.cloud.contactcenterinsights.v1.IngestConversationsRequest.TranscriptObjectConfig transcript_object_config = 3; + * + * .google.cloud.contactcenterinsights.v1.IngestConversationsRequest.TranscriptObjectConfig transcript_object_config = 3; + * */ @java.lang.Override - public com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest.TranscriptObjectConfigOrBuilder getTranscriptObjectConfigOrBuilder() { + public com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest + .TranscriptObjectConfigOrBuilder + getTranscriptObjectConfigOrBuilder() { if ((objectConfigCase_ == 3) && (transcriptObjectConfigBuilder_ != null)) { return transcriptObjectConfigBuilder_.getMessageOrBuilder(); } else { if (objectConfigCase_ == 3) { - return (com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest.TranscriptObjectConfig) objectConfig_; + return (com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest + .TranscriptObjectConfig) + objectConfig_; } - return com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest.TranscriptObjectConfig.getDefaultInstance(); + return com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest + .TranscriptObjectConfig.getDefaultInstance(); } } /** + * + * *
      * Configuration for when `source` contains conversation transcripts.
      * 
* - * .google.cloud.contactcenterinsights.v1.IngestConversationsRequest.TranscriptObjectConfig transcript_object_config = 3; + * + * .google.cloud.contactcenterinsights.v1.IngestConversationsRequest.TranscriptObjectConfig transcript_object_config = 3; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest.TranscriptObjectConfig, com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest.TranscriptObjectConfig.Builder, com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest.TranscriptObjectConfigOrBuilder> + com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest + .TranscriptObjectConfig, + com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest + .TranscriptObjectConfig.Builder, + com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest + .TranscriptObjectConfigOrBuilder> getTranscriptObjectConfigFieldBuilder() { if (transcriptObjectConfigBuilder_ == null) { if (!(objectConfigCase_ == 3)) { - objectConfig_ = com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest.TranscriptObjectConfig.getDefaultInstance(); + objectConfig_ = + com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest + .TranscriptObjectConfig.getDefaultInstance(); } - transcriptObjectConfigBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest.TranscriptObjectConfig, com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest.TranscriptObjectConfig.Builder, com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest.TranscriptObjectConfigOrBuilder>( - (com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest.TranscriptObjectConfig) objectConfig_, + transcriptObjectConfigBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest + .TranscriptObjectConfig, + com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest + .TranscriptObjectConfig.Builder, + com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest + .TranscriptObjectConfigOrBuilder>( + (com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest + .TranscriptObjectConfig) + objectConfig_, getParentForChildren(), isClean()); objectConfig_ = null; @@ -2918,18 +3545,22 @@ public com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest.Tran private java.lang.Object parent_ = ""; /** + * + * *
      * Required. The parent resource for new conversations.
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The parent. */ public java.lang.String getParent() { java.lang.Object ref = parent_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; @@ -2938,20 +3569,23 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. The parent resource for new conversations.
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for parent. */ - public com.google.protobuf.ByteString - getParentBytes() { + public com.google.protobuf.ByteString getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); parent_ = b; return b; } else { @@ -2959,28 +3593,39 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. The parent resource for new conversations.
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The parent to set. * @return This builder for chaining. */ - public Builder setParent( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setParent(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } parent_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } /** + * + * *
      * Required. The parent resource for new conversations.
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return This builder for chaining. */ public Builder clearParent() { @@ -2990,17 +3635,23 @@ public Builder clearParent() { return this; } /** + * + * *
      * Required. The parent resource for new conversations.
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setParentBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); parent_ = value; bitField0_ |= 0x00000004; @@ -3008,43 +3659,69 @@ public Builder setParentBytes( return this; } - private com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest.ConversationConfig conversationConfig_; + private com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest.ConversationConfig + conversationConfig_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest.ConversationConfig, com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest.ConversationConfig.Builder, com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest.ConversationConfigOrBuilder> conversationConfigBuilder_; + com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest.ConversationConfig, + com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest.ConversationConfig + .Builder, + com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest + .ConversationConfigOrBuilder> + conversationConfigBuilder_; /** + * + * *
      * Configuration that applies to all conversations.
      * 
* - * .google.cloud.contactcenterinsights.v1.IngestConversationsRequest.ConversationConfig conversation_config = 4; + * + * .google.cloud.contactcenterinsights.v1.IngestConversationsRequest.ConversationConfig conversation_config = 4; + * + * * @return Whether the conversationConfig field is set. */ public boolean hasConversationConfig() { return ((bitField0_ & 0x00000008) != 0); } /** + * + * *
      * Configuration that applies to all conversations.
      * 
* - * .google.cloud.contactcenterinsights.v1.IngestConversationsRequest.ConversationConfig conversation_config = 4; + * + * .google.cloud.contactcenterinsights.v1.IngestConversationsRequest.ConversationConfig conversation_config = 4; + * + * * @return The conversationConfig. */ - public com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest.ConversationConfig getConversationConfig() { + public com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest.ConversationConfig + getConversationConfig() { if (conversationConfigBuilder_ == null) { - return conversationConfig_ == null ? com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest.ConversationConfig.getDefaultInstance() : conversationConfig_; + return conversationConfig_ == null + ? com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest + .ConversationConfig.getDefaultInstance() + : conversationConfig_; } else { return conversationConfigBuilder_.getMessage(); } } /** + * + * *
      * Configuration that applies to all conversations.
      * 
* - * .google.cloud.contactcenterinsights.v1.IngestConversationsRequest.ConversationConfig conversation_config = 4; + * + * .google.cloud.contactcenterinsights.v1.IngestConversationsRequest.ConversationConfig conversation_config = 4; + * */ - public Builder setConversationConfig(com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest.ConversationConfig value) { + public Builder setConversationConfig( + com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest.ConversationConfig + value) { if (conversationConfigBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -3058,14 +3735,20 @@ public Builder setConversationConfig(com.google.cloud.contactcenterinsights.v1.I return this; } /** + * + * *
      * Configuration that applies to all conversations.
      * 
* - * .google.cloud.contactcenterinsights.v1.IngestConversationsRequest.ConversationConfig conversation_config = 4; + * + * .google.cloud.contactcenterinsights.v1.IngestConversationsRequest.ConversationConfig conversation_config = 4; + * */ public Builder setConversationConfig( - com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest.ConversationConfig.Builder builderForValue) { + com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest.ConversationConfig + .Builder + builderForValue) { if (conversationConfigBuilder_ == null) { conversationConfig_ = builderForValue.build(); } else { @@ -3076,17 +3759,25 @@ public Builder setConversationConfig( return this; } /** + * + * *
      * Configuration that applies to all conversations.
      * 
* - * .google.cloud.contactcenterinsights.v1.IngestConversationsRequest.ConversationConfig conversation_config = 4; + * + * .google.cloud.contactcenterinsights.v1.IngestConversationsRequest.ConversationConfig conversation_config = 4; + * */ - public Builder mergeConversationConfig(com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest.ConversationConfig value) { + public Builder mergeConversationConfig( + com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest.ConversationConfig + value) { if (conversationConfigBuilder_ == null) { - if (((bitField0_ & 0x00000008) != 0) && - conversationConfig_ != null && - conversationConfig_ != com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest.ConversationConfig.getDefaultInstance()) { + if (((bitField0_ & 0x00000008) != 0) + && conversationConfig_ != null + && conversationConfig_ + != com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest + .ConversationConfig.getDefaultInstance()) { getConversationConfigBuilder().mergeFrom(value); } else { conversationConfig_ = value; @@ -3099,11 +3790,15 @@ public Builder mergeConversationConfig(com.google.cloud.contactcenterinsights.v1 return this; } /** + * + * *
      * Configuration that applies to all conversations.
      * 
* - * .google.cloud.contactcenterinsights.v1.IngestConversationsRequest.ConversationConfig conversation_config = 4; + * + * .google.cloud.contactcenterinsights.v1.IngestConversationsRequest.ConversationConfig conversation_config = 4; + * */ public Builder clearConversationConfig() { bitField0_ = (bitField0_ & ~0x00000008); @@ -3116,55 +3811,81 @@ public Builder clearConversationConfig() { return this; } /** + * + * *
      * Configuration that applies to all conversations.
      * 
* - * .google.cloud.contactcenterinsights.v1.IngestConversationsRequest.ConversationConfig conversation_config = 4; + * + * .google.cloud.contactcenterinsights.v1.IngestConversationsRequest.ConversationConfig conversation_config = 4; + * */ - public com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest.ConversationConfig.Builder getConversationConfigBuilder() { + public com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest.ConversationConfig + .Builder + getConversationConfigBuilder() { bitField0_ |= 0x00000008; onChanged(); return getConversationConfigFieldBuilder().getBuilder(); } /** + * + * *
      * Configuration that applies to all conversations.
      * 
* - * .google.cloud.contactcenterinsights.v1.IngestConversationsRequest.ConversationConfig conversation_config = 4; + * + * .google.cloud.contactcenterinsights.v1.IngestConversationsRequest.ConversationConfig conversation_config = 4; + * */ - public com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest.ConversationConfigOrBuilder getConversationConfigOrBuilder() { + public com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest + .ConversationConfigOrBuilder + getConversationConfigOrBuilder() { if (conversationConfigBuilder_ != null) { return conversationConfigBuilder_.getMessageOrBuilder(); } else { - return conversationConfig_ == null ? - com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest.ConversationConfig.getDefaultInstance() : conversationConfig_; + return conversationConfig_ == null + ? com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest + .ConversationConfig.getDefaultInstance() + : conversationConfig_; } } /** + * + * *
      * Configuration that applies to all conversations.
      * 
* - * .google.cloud.contactcenterinsights.v1.IngestConversationsRequest.ConversationConfig conversation_config = 4; + * + * .google.cloud.contactcenterinsights.v1.IngestConversationsRequest.ConversationConfig conversation_config = 4; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest.ConversationConfig, com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest.ConversationConfig.Builder, com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest.ConversationConfigOrBuilder> + com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest.ConversationConfig, + com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest.ConversationConfig + .Builder, + com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest + .ConversationConfigOrBuilder> getConversationConfigFieldBuilder() { if (conversationConfigBuilder_ == null) { - conversationConfigBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest.ConversationConfig, com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest.ConversationConfig.Builder, com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest.ConversationConfigOrBuilder>( - getConversationConfig(), - getParentForChildren(), - isClean()); + conversationConfigBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest + .ConversationConfig, + com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest + .ConversationConfig.Builder, + com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest + .ConversationConfigOrBuilder>( + getConversationConfig(), getParentForChildren(), isClean()); conversationConfig_ = null; } return conversationConfigBuilder_; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -3174,41 +3895,43 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.contactcenterinsights.v1.IngestConversationsRequest) } // @@protoc_insertion_point(class_scope:google.cloud.contactcenterinsights.v1.IngestConversationsRequest) - private static final com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest DEFAULT_INSTANCE; + private static final com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest(); } - public static com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest getDefaultInstance() { + public static com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public IngestConversationsRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public IngestConversationsRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -3220,9 +3943,8 @@ public com.google.protobuf.Parser getParserForType() } @java.lang.Override - public com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest getDefaultInstanceForType() { + public com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/IngestConversationsRequestOrBuilder.java b/java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/IngestConversationsRequestOrBuilder.java new file mode 100644 index 000000000000..cdc6e2a96519 --- /dev/null +++ b/java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/IngestConversationsRequestOrBuilder.java @@ -0,0 +1,189 @@ +/* + * 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. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/contactcenterinsights/v1/contact_center_insights.proto + +package com.google.cloud.contactcenterinsights.v1; + +public interface IngestConversationsRequestOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.cloud.contactcenterinsights.v1.IngestConversationsRequest) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * A cloud storage bucket source.
+   * 
+ * + * + * .google.cloud.contactcenterinsights.v1.IngestConversationsRequest.GcsSource gcs_source = 2; + * + * + * @return Whether the gcsSource field is set. + */ + boolean hasGcsSource(); + /** + * + * + *
+   * A cloud storage bucket source.
+   * 
+ * + * + * .google.cloud.contactcenterinsights.v1.IngestConversationsRequest.GcsSource gcs_source = 2; + * + * + * @return The gcsSource. + */ + com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest.GcsSource getGcsSource(); + /** + * + * + *
+   * A cloud storage bucket source.
+   * 
+ * + * + * .google.cloud.contactcenterinsights.v1.IngestConversationsRequest.GcsSource gcs_source = 2; + * + */ + com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest.GcsSourceOrBuilder + getGcsSourceOrBuilder(); + + /** + * + * + *
+   * Configuration for when `source` contains conversation transcripts.
+   * 
+ * + * + * .google.cloud.contactcenterinsights.v1.IngestConversationsRequest.TranscriptObjectConfig transcript_object_config = 3; + * + * + * @return Whether the transcriptObjectConfig field is set. + */ + boolean hasTranscriptObjectConfig(); + /** + * + * + *
+   * Configuration for when `source` contains conversation transcripts.
+   * 
+ * + * + * .google.cloud.contactcenterinsights.v1.IngestConversationsRequest.TranscriptObjectConfig transcript_object_config = 3; + * + * + * @return The transcriptObjectConfig. + */ + com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest.TranscriptObjectConfig + getTranscriptObjectConfig(); + /** + * + * + *
+   * Configuration for when `source` contains conversation transcripts.
+   * 
+ * + * + * .google.cloud.contactcenterinsights.v1.IngestConversationsRequest.TranscriptObjectConfig transcript_object_config = 3; + * + */ + com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest + .TranscriptObjectConfigOrBuilder + getTranscriptObjectConfigOrBuilder(); + + /** + * + * + *
+   * Required. The parent resource for new conversations.
+   * 
+ * + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The parent. + */ + java.lang.String getParent(); + /** + * + * + *
+   * Required. The parent resource for new conversations.
+   * 
+ * + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The bytes for parent. + */ + com.google.protobuf.ByteString getParentBytes(); + + /** + * + * + *
+   * Configuration that applies to all conversations.
+   * 
+ * + * + * .google.cloud.contactcenterinsights.v1.IngestConversationsRequest.ConversationConfig conversation_config = 4; + * + * + * @return Whether the conversationConfig field is set. + */ + boolean hasConversationConfig(); + /** + * + * + *
+   * Configuration that applies to all conversations.
+   * 
+ * + * + * .google.cloud.contactcenterinsights.v1.IngestConversationsRequest.ConversationConfig conversation_config = 4; + * + * + * @return The conversationConfig. + */ + com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest.ConversationConfig + getConversationConfig(); + /** + * + * + *
+   * Configuration that applies to all conversations.
+   * 
+ * + * + * .google.cloud.contactcenterinsights.v1.IngestConversationsRequest.ConversationConfig conversation_config = 4; + * + */ + com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest.ConversationConfigOrBuilder + getConversationConfigOrBuilder(); + + public com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest.SourceCase + getSourceCase(); + + public com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest.ObjectConfigCase + getObjectConfigCase(); +} diff --git a/owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/IngestConversationsResponse.java b/java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/IngestConversationsResponse.java similarity index 58% rename from owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/IngestConversationsResponse.java rename to java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/IngestConversationsResponse.java index 5c028364c1cc..e1973012d14f 100644 --- a/owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/IngestConversationsResponse.java +++ b/java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/IngestConversationsResponse.java @@ -1,53 +1,72 @@ +/* + * 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. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/contactcenterinsights/v1/contact_center_insights.proto package com.google.cloud.contactcenterinsights.v1; /** + * + * *
  * The response to an IngestConversations operation.
  * 
* * Protobuf type {@code google.cloud.contactcenterinsights.v1.IngestConversationsResponse} */ -public final class IngestConversationsResponse extends - com.google.protobuf.GeneratedMessageV3 implements +public final class IngestConversationsResponse extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.contactcenterinsights.v1.IngestConversationsResponse) IngestConversationsResponseOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use IngestConversationsResponse.newBuilder() to construct. private IngestConversationsResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private IngestConversationsResponse() { - } + + private IngestConversationsResponse() {} @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new IngestConversationsResponse(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto.internal_static_google_cloud_contactcenterinsights_v1_IngestConversationsResponse_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto + .internal_static_google_cloud_contactcenterinsights_v1_IngestConversationsResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto.internal_static_google_cloud_contactcenterinsights_v1_IngestConversationsResponse_fieldAccessorTable + return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto + .internal_static_google_cloud_contactcenterinsights_v1_IngestConversationsResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.contactcenterinsights.v1.IngestConversationsResponse.class, com.google.cloud.contactcenterinsights.v1.IngestConversationsResponse.Builder.class); + com.google.cloud.contactcenterinsights.v1.IngestConversationsResponse.class, + com.google.cloud.contactcenterinsights.v1.IngestConversationsResponse.Builder.class); } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -59,8 +78,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { getUnknownFields().writeTo(output); } @@ -78,12 +96,13 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.contactcenterinsights.v1.IngestConversationsResponse)) { return super.equals(obj); } - com.google.cloud.contactcenterinsights.v1.IngestConversationsResponse other = (com.google.cloud.contactcenterinsights.v1.IngestConversationsResponse) obj; + com.google.cloud.contactcenterinsights.v1.IngestConversationsResponse other = + (com.google.cloud.contactcenterinsights.v1.IngestConversationsResponse) obj; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -102,129 +121,138 @@ public int hashCode() { } public static com.google.cloud.contactcenterinsights.v1.IngestConversationsResponse parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.contactcenterinsights.v1.IngestConversationsResponse parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.contactcenterinsights.v1.IngestConversationsResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.contactcenterinsights.v1.IngestConversationsResponse parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.contactcenterinsights.v1.IngestConversationsResponse parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.contactcenterinsights.v1.IngestConversationsResponse parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.contactcenterinsights.v1.IngestConversationsResponse parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.contactcenterinsights.v1.IngestConversationsResponse parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.contactcenterinsights.v1.IngestConversationsResponse parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.contactcenterinsights.v1.IngestConversationsResponse parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.contactcenterinsights.v1.IngestConversationsResponse parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.contactcenterinsights.v1.IngestConversationsResponse + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.contactcenterinsights.v1.IngestConversationsResponse parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + + public static com.google.cloud.contactcenterinsights.v1.IngestConversationsResponse + parseDelimitedFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.contactcenterinsights.v1.IngestConversationsResponse parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.contactcenterinsights.v1.IngestConversationsResponse parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.contactcenterinsights.v1.IngestConversationsResponse prototype) { + + public static Builder newBuilder( + com.google.cloud.contactcenterinsights.v1.IngestConversationsResponse prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * The response to an IngestConversations operation.
    * 
* * Protobuf type {@code google.cloud.contactcenterinsights.v1.IngestConversationsResponse} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.contactcenterinsights.v1.IngestConversationsResponse) com.google.cloud.contactcenterinsights.v1.IngestConversationsResponseOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto.internal_static_google_cloud_contactcenterinsights_v1_IngestConversationsResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto + .internal_static_google_cloud_contactcenterinsights_v1_IngestConversationsResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto.internal_static_google_cloud_contactcenterinsights_v1_IngestConversationsResponse_fieldAccessorTable + return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto + .internal_static_google_cloud_contactcenterinsights_v1_IngestConversationsResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.contactcenterinsights.v1.IngestConversationsResponse.class, com.google.cloud.contactcenterinsights.v1.IngestConversationsResponse.Builder.class); + com.google.cloud.contactcenterinsights.v1.IngestConversationsResponse.class, + com.google.cloud.contactcenterinsights.v1.IngestConversationsResponse.Builder.class); } - // Construct using com.google.cloud.contactcenterinsights.v1.IngestConversationsResponse.newBuilder() - private Builder() { - - } + // Construct using + // com.google.cloud.contactcenterinsights.v1.IngestConversationsResponse.newBuilder() + private Builder() {} - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -232,14 +260,16 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto.internal_static_google_cloud_contactcenterinsights_v1_IngestConversationsResponse_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto + .internal_static_google_cloud_contactcenterinsights_v1_IngestConversationsResponse_descriptor; } @java.lang.Override - public com.google.cloud.contactcenterinsights.v1.IngestConversationsResponse getDefaultInstanceForType() { - return com.google.cloud.contactcenterinsights.v1.IngestConversationsResponse.getDefaultInstance(); + public com.google.cloud.contactcenterinsights.v1.IngestConversationsResponse + getDefaultInstanceForType() { + return com.google.cloud.contactcenterinsights.v1.IngestConversationsResponse + .getDefaultInstance(); } @java.lang.Override @@ -253,7 +283,8 @@ public com.google.cloud.contactcenterinsights.v1.IngestConversationsResponse bui @java.lang.Override public com.google.cloud.contactcenterinsights.v1.IngestConversationsResponse buildPartial() { - com.google.cloud.contactcenterinsights.v1.IngestConversationsResponse result = new com.google.cloud.contactcenterinsights.v1.IngestConversationsResponse(this); + com.google.cloud.contactcenterinsights.v1.IngestConversationsResponse result = + new com.google.cloud.contactcenterinsights.v1.IngestConversationsResponse(this); onBuilt(); return result; } @@ -262,46 +293,51 @@ public com.google.cloud.contactcenterinsights.v1.IngestConversationsResponse bui public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.contactcenterinsights.v1.IngestConversationsResponse) { - return mergeFrom((com.google.cloud.contactcenterinsights.v1.IngestConversationsResponse)other); + return mergeFrom( + (com.google.cloud.contactcenterinsights.v1.IngestConversationsResponse) other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.google.cloud.contactcenterinsights.v1.IngestConversationsResponse other) { - if (other == com.google.cloud.contactcenterinsights.v1.IngestConversationsResponse.getDefaultInstance()) return this; + public Builder mergeFrom( + com.google.cloud.contactcenterinsights.v1.IngestConversationsResponse other) { + if (other + == com.google.cloud.contactcenterinsights.v1.IngestConversationsResponse + .getDefaultInstance()) return this; this.mergeUnknownFields(other.getUnknownFields()); onChanged(); return this; @@ -328,12 +364,13 @@ public Builder mergeFrom( case 0: done = true; break; - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -343,9 +380,9 @@ public Builder mergeFrom( } // finally return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -355,41 +392,43 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.contactcenterinsights.v1.IngestConversationsResponse) } // @@protoc_insertion_point(class_scope:google.cloud.contactcenterinsights.v1.IngestConversationsResponse) - private static final com.google.cloud.contactcenterinsights.v1.IngestConversationsResponse DEFAULT_INSTANCE; + private static final com.google.cloud.contactcenterinsights.v1.IngestConversationsResponse + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.contactcenterinsights.v1.IngestConversationsResponse(); } - public static com.google.cloud.contactcenterinsights.v1.IngestConversationsResponse getDefaultInstance() { + public static com.google.cloud.contactcenterinsights.v1.IngestConversationsResponse + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public IngestConversationsResponse parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public IngestConversationsResponse parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -401,9 +440,8 @@ public com.google.protobuf.Parser getParserForType( } @java.lang.Override - public com.google.cloud.contactcenterinsights.v1.IngestConversationsResponse getDefaultInstanceForType() { + public com.google.cloud.contactcenterinsights.v1.IngestConversationsResponse + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/IngestConversationsResponseOrBuilder.java b/java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/IngestConversationsResponseOrBuilder.java new file mode 100644 index 000000000000..a82f2c5d67cd --- /dev/null +++ b/java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/IngestConversationsResponseOrBuilder.java @@ -0,0 +1,24 @@ +/* + * 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. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/contactcenterinsights/v1/contact_center_insights.proto + +package com.google.cloud.contactcenterinsights.v1; + +public interface IngestConversationsResponseOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.cloud.contactcenterinsights.v1.IngestConversationsResponse) + com.google.protobuf.MessageOrBuilder {} diff --git a/owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/Intent.java b/java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/Intent.java similarity index 67% rename from owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/Intent.java rename to java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/Intent.java index e9ef9d109b7c..aa0d3394c7fc 100644 --- a/owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/Intent.java +++ b/java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/Intent.java @@ -1,9 +1,26 @@ +/* + * 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. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/contactcenterinsights/v1/resources.proto package com.google.cloud.contactcenterinsights.v1; /** + * + * *
  * The data for an intent.
  * Represents a detected intent in the conversation, for example MAKES_PROMISE.
@@ -11,15 +28,16 @@
  *
  * Protobuf type {@code google.cloud.contactcenterinsights.v1.Intent}
  */
-public final class Intent extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class Intent extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.cloud.contactcenterinsights.v1.Intent)
     IntentOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use Intent.newBuilder() to construct.
   private Intent(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
+
   private Intent() {
     id_ = "";
     displayName_ = "";
@@ -27,38 +45,43 @@ private Intent() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new Intent();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet
-  getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
     return this.unknownFields;
   }
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.cloud.contactcenterinsights.v1.ResourcesProto.internal_static_google_cloud_contactcenterinsights_v1_Intent_descriptor;
+
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.cloud.contactcenterinsights.v1.ResourcesProto
+        .internal_static_google_cloud_contactcenterinsights_v1_Intent_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.contactcenterinsights.v1.ResourcesProto.internal_static_google_cloud_contactcenterinsights_v1_Intent_fieldAccessorTable
+    return com.google.cloud.contactcenterinsights.v1.ResourcesProto
+        .internal_static_google_cloud_contactcenterinsights_v1_Intent_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.contactcenterinsights.v1.Intent.class, com.google.cloud.contactcenterinsights.v1.Intent.Builder.class);
+            com.google.cloud.contactcenterinsights.v1.Intent.class,
+            com.google.cloud.contactcenterinsights.v1.Intent.Builder.class);
   }
 
   public static final int ID_FIELD_NUMBER = 1;
+
   @SuppressWarnings("serial")
   private volatile java.lang.Object id_ = "";
   /**
+   *
+   *
    * 
    * The unique identifier of the intent.
    * 
* * string id = 1; + * * @return The id. */ @java.lang.Override @@ -67,29 +90,29 @@ public java.lang.String getId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); id_ = s; return s; } } /** + * + * *
    * The unique identifier of the intent.
    * 
* * string id = 1; + * * @return The bytes for id. */ @java.lang.Override - public com.google.protobuf.ByteString - getIdBytes() { + public com.google.protobuf.ByteString getIdBytes() { java.lang.Object ref = id_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); id_ = b; return b; } else { @@ -98,14 +121,18 @@ public java.lang.String getId() { } public static final int DISPLAY_NAME_FIELD_NUMBER = 2; + @SuppressWarnings("serial") private volatile java.lang.Object displayName_ = ""; /** + * + * *
    * The human-readable name of the intent.
    * 
* * string display_name = 2; + * * @return The displayName. */ @java.lang.Override @@ -114,29 +141,29 @@ public java.lang.String getDisplayName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); displayName_ = s; return s; } } /** + * + * *
    * The human-readable name of the intent.
    * 
* * string display_name = 2; + * * @return The bytes for displayName. */ @java.lang.Override - public com.google.protobuf.ByteString - getDisplayNameBytes() { + public com.google.protobuf.ByteString getDisplayNameBytes() { java.lang.Object ref = displayName_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); displayName_ = b; return b; } else { @@ -145,6 +172,7 @@ public java.lang.String getDisplayName() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -156,8 +184,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(id_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, id_); } @@ -187,17 +214,16 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.contactcenterinsights.v1.Intent)) { return super.equals(obj); } - com.google.cloud.contactcenterinsights.v1.Intent other = (com.google.cloud.contactcenterinsights.v1.Intent) obj; + com.google.cloud.contactcenterinsights.v1.Intent other = + (com.google.cloud.contactcenterinsights.v1.Intent) obj; - if (!getId() - .equals(other.getId())) return false; - if (!getDisplayName() - .equals(other.getDisplayName())) return false; + if (!getId().equals(other.getId())) return false; + if (!getDisplayName().equals(other.getDisplayName())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -218,97 +244,104 @@ public int hashCode() { return hash; } - public static com.google.cloud.contactcenterinsights.v1.Intent parseFrom( - java.nio.ByteBuffer data) + public static com.google.cloud.contactcenterinsights.v1.Intent parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.contactcenterinsights.v1.Intent parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.contactcenterinsights.v1.Intent parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.contactcenterinsights.v1.Intent parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.contactcenterinsights.v1.Intent parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.contactcenterinsights.v1.Intent parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.contactcenterinsights.v1.Intent parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.contactcenterinsights.v1.Intent parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.contactcenterinsights.v1.Intent parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.contactcenterinsights.v1.Intent parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.contactcenterinsights.v1.Intent parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.contactcenterinsights.v1.Intent parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.contactcenterinsights.v1.Intent parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.contactcenterinsights.v1.Intent parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.cloud.contactcenterinsights.v1.Intent prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * The data for an intent.
    * Represents a detected intent in the conversation, for example MAKES_PROMISE.
@@ -316,33 +349,32 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.cloud.contactcenterinsights.v1.Intent}
    */
-  public static final class Builder extends
-      com.google.protobuf.GeneratedMessageV3.Builder implements
+  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
+      implements
       // @@protoc_insertion_point(builder_implements:google.cloud.contactcenterinsights.v1.Intent)
       com.google.cloud.contactcenterinsights.v1.IntentOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.cloud.contactcenterinsights.v1.ResourcesProto.internal_static_google_cloud_contactcenterinsights_v1_Intent_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.cloud.contactcenterinsights.v1.ResourcesProto
+          .internal_static_google_cloud_contactcenterinsights_v1_Intent_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.contactcenterinsights.v1.ResourcesProto.internal_static_google_cloud_contactcenterinsights_v1_Intent_fieldAccessorTable
+      return com.google.cloud.contactcenterinsights.v1.ResourcesProto
+          .internal_static_google_cloud_contactcenterinsights_v1_Intent_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.contactcenterinsights.v1.Intent.class, com.google.cloud.contactcenterinsights.v1.Intent.Builder.class);
+              com.google.cloud.contactcenterinsights.v1.Intent.class,
+              com.google.cloud.contactcenterinsights.v1.Intent.Builder.class);
     }
 
     // Construct using com.google.cloud.contactcenterinsights.v1.Intent.newBuilder()
-    private Builder() {
-
-    }
+    private Builder() {}
 
-    private Builder(
-        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
-
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -353,9 +385,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.cloud.contactcenterinsights.v1.ResourcesProto.internal_static_google_cloud_contactcenterinsights_v1_Intent_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.cloud.contactcenterinsights.v1.ResourcesProto
+          .internal_static_google_cloud_contactcenterinsights_v1_Intent_descriptor;
     }
 
     @java.lang.Override
@@ -374,8 +406,11 @@ public com.google.cloud.contactcenterinsights.v1.Intent build() {
 
     @java.lang.Override
     public com.google.cloud.contactcenterinsights.v1.Intent buildPartial() {
-      com.google.cloud.contactcenterinsights.v1.Intent result = new com.google.cloud.contactcenterinsights.v1.Intent(this);
-      if (bitField0_ != 0) { buildPartial0(result); }
+      com.google.cloud.contactcenterinsights.v1.Intent result =
+          new com.google.cloud.contactcenterinsights.v1.Intent(this);
+      if (bitField0_ != 0) {
+        buildPartial0(result);
+      }
       onBuilt();
       return result;
     }
@@ -394,38 +429,39 @@ private void buildPartial0(com.google.cloud.contactcenterinsights.v1.Intent resu
     public Builder clone() {
       return super.clone();
     }
+
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.setField(field, value);
     }
+
     @java.lang.Override
-    public Builder clearField(
-        com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
+
     @java.lang.Override
-    public Builder clearOneof(
-        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
+
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
+
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
+
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.cloud.contactcenterinsights.v1.Intent) {
-        return mergeFrom((com.google.cloud.contactcenterinsights.v1.Intent)other);
+        return mergeFrom((com.google.cloud.contactcenterinsights.v1.Intent) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -433,7 +469,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.cloud.contactcenterinsights.v1.Intent other) {
-      if (other == com.google.cloud.contactcenterinsights.v1.Intent.getDefaultInstance()) return this;
+      if (other == com.google.cloud.contactcenterinsights.v1.Intent.getDefaultInstance())
+        return this;
       if (!other.getId().isEmpty()) {
         id_ = other.id_;
         bitField0_ |= 0x00000001;
@@ -470,22 +507,25 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10: {
-              id_ = input.readStringRequireUtf8();
-              bitField0_ |= 0x00000001;
-              break;
-            } // case 10
-            case 18: {
-              displayName_ = input.readStringRequireUtf8();
-              bitField0_ |= 0x00000002;
-              break;
-            } // case 18
-            default: {
-              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                done = true; // was an endgroup tag
-              }
-              break;
-            } // default:
+            case 10:
+              {
+                id_ = input.readStringRequireUtf8();
+                bitField0_ |= 0x00000001;
+                break;
+              } // case 10
+            case 18:
+              {
+                displayName_ = input.readStringRequireUtf8();
+                bitField0_ |= 0x00000002;
+                break;
+              } // case 18
+            default:
+              {
+                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                  done = true; // was an endgroup tag
+                }
+                break;
+              } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -495,22 +535,25 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
+
     private int bitField0_;
 
     private java.lang.Object id_ = "";
     /**
+     *
+     *
      * 
      * The unique identifier of the intent.
      * 
* * string id = 1; + * * @return The id. */ public java.lang.String getId() { java.lang.Object ref = id_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); id_ = s; return s; @@ -519,20 +562,21 @@ public java.lang.String getId() { } } /** + * + * *
      * The unique identifier of the intent.
      * 
* * string id = 1; + * * @return The bytes for id. */ - public com.google.protobuf.ByteString - getIdBytes() { + public com.google.protobuf.ByteString getIdBytes() { java.lang.Object ref = id_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); id_ = b; return b; } else { @@ -540,28 +584,35 @@ public java.lang.String getId() { } } /** + * + * *
      * The unique identifier of the intent.
      * 
* * string id = 1; + * * @param value The id to set. * @return This builder for chaining. */ - public Builder setId( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setId(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } id_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
      * The unique identifier of the intent.
      * 
* * string id = 1; + * * @return This builder for chaining. */ public Builder clearId() { @@ -571,17 +622,21 @@ public Builder clearId() { return this; } /** + * + * *
      * The unique identifier of the intent.
      * 
* * string id = 1; + * * @param value The bytes for id to set. * @return This builder for chaining. */ - public Builder setIdBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setIdBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); id_ = value; bitField0_ |= 0x00000001; @@ -591,18 +646,20 @@ public Builder setIdBytes( private java.lang.Object displayName_ = ""; /** + * + * *
      * The human-readable name of the intent.
      * 
* * string display_name = 2; + * * @return The displayName. */ public java.lang.String getDisplayName() { java.lang.Object ref = displayName_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); displayName_ = s; return s; @@ -611,20 +668,21 @@ public java.lang.String getDisplayName() { } } /** + * + * *
      * The human-readable name of the intent.
      * 
* * string display_name = 2; + * * @return The bytes for displayName. */ - public com.google.protobuf.ByteString - getDisplayNameBytes() { + public com.google.protobuf.ByteString getDisplayNameBytes() { java.lang.Object ref = displayName_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); displayName_ = b; return b; } else { @@ -632,28 +690,35 @@ public java.lang.String getDisplayName() { } } /** + * + * *
      * The human-readable name of the intent.
      * 
* * string display_name = 2; + * * @param value The displayName to set. * @return This builder for chaining. */ - public Builder setDisplayName( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setDisplayName(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } displayName_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** + * + * *
      * The human-readable name of the intent.
      * 
* * string display_name = 2; + * * @return This builder for chaining. */ public Builder clearDisplayName() { @@ -663,26 +728,30 @@ public Builder clearDisplayName() { return this; } /** + * + * *
      * The human-readable name of the intent.
      * 
* * string display_name = 2; + * * @param value The bytes for displayName to set. * @return This builder for chaining. */ - public Builder setDisplayNameBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setDisplayNameBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); displayName_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -692,12 +761,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.contactcenterinsights.v1.Intent) } // @@protoc_insertion_point(class_scope:google.cloud.contactcenterinsights.v1.Intent) private static final com.google.cloud.contactcenterinsights.v1.Intent DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.contactcenterinsights.v1.Intent(); } @@ -706,27 +775,27 @@ public static com.google.cloud.contactcenterinsights.v1.Intent getDefaultInstanc return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public Intent parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public Intent parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -741,6 +810,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.contactcenterinsights.v1.Intent getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/IntentMatchData.java b/java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/IntentMatchData.java similarity index 67% rename from owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/IntentMatchData.java rename to java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/IntentMatchData.java index 85d52483ffde..e314deabfcc9 100644 --- a/owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/IntentMatchData.java +++ b/java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/IntentMatchData.java @@ -1,9 +1,26 @@ +/* + * 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. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/contactcenterinsights/v1/resources.proto package com.google.cloud.contactcenterinsights.v1; /** + * + * *
  * The data for an intent match.
  * Represents an intent match for a text segment in the conversation. A text
@@ -13,54 +30,60 @@
  *
  * Protobuf type {@code google.cloud.contactcenterinsights.v1.IntentMatchData}
  */
-public final class IntentMatchData extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class IntentMatchData extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.cloud.contactcenterinsights.v1.IntentMatchData)
     IntentMatchDataOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use IntentMatchData.newBuilder() to construct.
   private IntentMatchData(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
+
   private IntentMatchData() {
     intentUniqueId_ = "";
   }
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new IntentMatchData();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet
-  getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
     return this.unknownFields;
   }
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.cloud.contactcenterinsights.v1.ResourcesProto.internal_static_google_cloud_contactcenterinsights_v1_IntentMatchData_descriptor;
+
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.cloud.contactcenterinsights.v1.ResourcesProto
+        .internal_static_google_cloud_contactcenterinsights_v1_IntentMatchData_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.contactcenterinsights.v1.ResourcesProto.internal_static_google_cloud_contactcenterinsights_v1_IntentMatchData_fieldAccessorTable
+    return com.google.cloud.contactcenterinsights.v1.ResourcesProto
+        .internal_static_google_cloud_contactcenterinsights_v1_IntentMatchData_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.contactcenterinsights.v1.IntentMatchData.class, com.google.cloud.contactcenterinsights.v1.IntentMatchData.Builder.class);
+            com.google.cloud.contactcenterinsights.v1.IntentMatchData.class,
+            com.google.cloud.contactcenterinsights.v1.IntentMatchData.Builder.class);
   }
 
   public static final int INTENT_UNIQUE_ID_FIELD_NUMBER = 1;
+
   @SuppressWarnings("serial")
   private volatile java.lang.Object intentUniqueId_ = "";
   /**
+   *
+   *
    * 
    * The id of the matched intent.
    * Can be used to retrieve the corresponding intent information.
    * 
* * string intent_unique_id = 1; + * * @return The intentUniqueId. */ @java.lang.Override @@ -69,30 +92,30 @@ public java.lang.String getIntentUniqueId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); intentUniqueId_ = s; return s; } } /** + * + * *
    * The id of the matched intent.
    * Can be used to retrieve the corresponding intent information.
    * 
* * string intent_unique_id = 1; + * * @return The bytes for intentUniqueId. */ @java.lang.Override - public com.google.protobuf.ByteString - getIntentUniqueIdBytes() { + public com.google.protobuf.ByteString getIntentUniqueIdBytes() { java.lang.Object ref = intentUniqueId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); intentUniqueId_ = b; return b; } else { @@ -101,6 +124,7 @@ public java.lang.String getIntentUniqueId() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -112,8 +136,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(intentUniqueId_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, intentUniqueId_); } @@ -137,15 +160,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.contactcenterinsights.v1.IntentMatchData)) { return super.equals(obj); } - com.google.cloud.contactcenterinsights.v1.IntentMatchData other = (com.google.cloud.contactcenterinsights.v1.IntentMatchData) obj; + com.google.cloud.contactcenterinsights.v1.IntentMatchData other = + (com.google.cloud.contactcenterinsights.v1.IntentMatchData) obj; - if (!getIntentUniqueId() - .equals(other.getIntentUniqueId())) return false; + if (!getIntentUniqueId().equals(other.getIntentUniqueId())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -165,96 +188,104 @@ public int hashCode() { } public static com.google.cloud.contactcenterinsights.v1.IntentMatchData parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.contactcenterinsights.v1.IntentMatchData parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.contactcenterinsights.v1.IntentMatchData parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.contactcenterinsights.v1.IntentMatchData parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.contactcenterinsights.v1.IntentMatchData parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.contactcenterinsights.v1.IntentMatchData parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.contactcenterinsights.v1.IntentMatchData parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.contactcenterinsights.v1.IntentMatchData parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.contactcenterinsights.v1.IntentMatchData parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.contactcenterinsights.v1.IntentMatchData parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.contactcenterinsights.v1.IntentMatchData parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.contactcenterinsights.v1.IntentMatchData parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.contactcenterinsights.v1.IntentMatchData parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.contactcenterinsights.v1.IntentMatchData parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.contactcenterinsights.v1.IntentMatchData prototype) { + + public static Builder newBuilder( + com.google.cloud.contactcenterinsights.v1.IntentMatchData prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * The data for an intent match.
    * Represents an intent match for a text segment in the conversation. A text
@@ -264,33 +295,32 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.cloud.contactcenterinsights.v1.IntentMatchData}
    */
-  public static final class Builder extends
-      com.google.protobuf.GeneratedMessageV3.Builder implements
+  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
+      implements
       // @@protoc_insertion_point(builder_implements:google.cloud.contactcenterinsights.v1.IntentMatchData)
       com.google.cloud.contactcenterinsights.v1.IntentMatchDataOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.cloud.contactcenterinsights.v1.ResourcesProto.internal_static_google_cloud_contactcenterinsights_v1_IntentMatchData_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.cloud.contactcenterinsights.v1.ResourcesProto
+          .internal_static_google_cloud_contactcenterinsights_v1_IntentMatchData_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.contactcenterinsights.v1.ResourcesProto.internal_static_google_cloud_contactcenterinsights_v1_IntentMatchData_fieldAccessorTable
+      return com.google.cloud.contactcenterinsights.v1.ResourcesProto
+          .internal_static_google_cloud_contactcenterinsights_v1_IntentMatchData_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.contactcenterinsights.v1.IntentMatchData.class, com.google.cloud.contactcenterinsights.v1.IntentMatchData.Builder.class);
+              com.google.cloud.contactcenterinsights.v1.IntentMatchData.class,
+              com.google.cloud.contactcenterinsights.v1.IntentMatchData.Builder.class);
     }
 
     // Construct using com.google.cloud.contactcenterinsights.v1.IntentMatchData.newBuilder()
-    private Builder() {
+    private Builder() {}
 
-    }
-
-    private Builder(
-        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
-
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -300,9 +330,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.cloud.contactcenterinsights.v1.ResourcesProto.internal_static_google_cloud_contactcenterinsights_v1_IntentMatchData_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.cloud.contactcenterinsights.v1.ResourcesProto
+          .internal_static_google_cloud_contactcenterinsights_v1_IntentMatchData_descriptor;
     }
 
     @java.lang.Override
@@ -321,8 +351,11 @@ public com.google.cloud.contactcenterinsights.v1.IntentMatchData build() {
 
     @java.lang.Override
     public com.google.cloud.contactcenterinsights.v1.IntentMatchData buildPartial() {
-      com.google.cloud.contactcenterinsights.v1.IntentMatchData result = new com.google.cloud.contactcenterinsights.v1.IntentMatchData(this);
-      if (bitField0_ != 0) { buildPartial0(result); }
+      com.google.cloud.contactcenterinsights.v1.IntentMatchData result =
+          new com.google.cloud.contactcenterinsights.v1.IntentMatchData(this);
+      if (bitField0_ != 0) {
+        buildPartial0(result);
+      }
       onBuilt();
       return result;
     }
@@ -338,38 +371,39 @@ private void buildPartial0(com.google.cloud.contactcenterinsights.v1.IntentMatch
     public Builder clone() {
       return super.clone();
     }
+
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.setField(field, value);
     }
+
     @java.lang.Override
-    public Builder clearField(
-        com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
+
     @java.lang.Override
-    public Builder clearOneof(
-        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
+
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
+
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
+
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.cloud.contactcenterinsights.v1.IntentMatchData) {
-        return mergeFrom((com.google.cloud.contactcenterinsights.v1.IntentMatchData)other);
+        return mergeFrom((com.google.cloud.contactcenterinsights.v1.IntentMatchData) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -377,7 +411,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.cloud.contactcenterinsights.v1.IntentMatchData other) {
-      if (other == com.google.cloud.contactcenterinsights.v1.IntentMatchData.getDefaultInstance()) return this;
+      if (other == com.google.cloud.contactcenterinsights.v1.IntentMatchData.getDefaultInstance())
+        return this;
       if (!other.getIntentUniqueId().isEmpty()) {
         intentUniqueId_ = other.intentUniqueId_;
         bitField0_ |= 0x00000001;
@@ -409,17 +444,19 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10: {
-              intentUniqueId_ = input.readStringRequireUtf8();
-              bitField0_ |= 0x00000001;
-              break;
-            } // case 10
-            default: {
-              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                done = true; // was an endgroup tag
-              }
-              break;
-            } // default:
+            case 10:
+              {
+                intentUniqueId_ = input.readStringRequireUtf8();
+                bitField0_ |= 0x00000001;
+                break;
+              } // case 10
+            default:
+              {
+                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                  done = true; // was an endgroup tag
+                }
+                break;
+              } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -429,23 +466,26 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
+
     private int bitField0_;
 
     private java.lang.Object intentUniqueId_ = "";
     /**
+     *
+     *
      * 
      * The id of the matched intent.
      * Can be used to retrieve the corresponding intent information.
      * 
* * string intent_unique_id = 1; + * * @return The intentUniqueId. */ public java.lang.String getIntentUniqueId() { java.lang.Object ref = intentUniqueId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); intentUniqueId_ = s; return s; @@ -454,21 +494,22 @@ public java.lang.String getIntentUniqueId() { } } /** + * + * *
      * The id of the matched intent.
      * Can be used to retrieve the corresponding intent information.
      * 
* * string intent_unique_id = 1; + * * @return The bytes for intentUniqueId. */ - public com.google.protobuf.ByteString - getIntentUniqueIdBytes() { + public com.google.protobuf.ByteString getIntentUniqueIdBytes() { java.lang.Object ref = intentUniqueId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); intentUniqueId_ = b; return b; } else { @@ -476,30 +517,37 @@ public java.lang.String getIntentUniqueId() { } } /** + * + * *
      * The id of the matched intent.
      * Can be used to retrieve the corresponding intent information.
      * 
* * string intent_unique_id = 1; + * * @param value The intentUniqueId to set. * @return This builder for chaining. */ - public Builder setIntentUniqueId( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setIntentUniqueId(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } intentUniqueId_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
      * The id of the matched intent.
      * Can be used to retrieve the corresponding intent information.
      * 
* * string intent_unique_id = 1; + * * @return This builder for chaining. */ public Builder clearIntentUniqueId() { @@ -509,27 +557,31 @@ public Builder clearIntentUniqueId() { return this; } /** + * + * *
      * The id of the matched intent.
      * Can be used to retrieve the corresponding intent information.
      * 
* * string intent_unique_id = 1; + * * @param value The bytes for intentUniqueId to set. * @return This builder for chaining. */ - public Builder setIntentUniqueIdBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setIntentUniqueIdBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); intentUniqueId_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -539,12 +591,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.contactcenterinsights.v1.IntentMatchData) } // @@protoc_insertion_point(class_scope:google.cloud.contactcenterinsights.v1.IntentMatchData) private static final com.google.cloud.contactcenterinsights.v1.IntentMatchData DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.contactcenterinsights.v1.IntentMatchData(); } @@ -553,27 +605,27 @@ public static com.google.cloud.contactcenterinsights.v1.IntentMatchData getDefau return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public IntentMatchData parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public IntentMatchData parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -588,6 +640,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.contactcenterinsights.v1.IntentMatchData getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/IntentMatchDataOrBuilder.java b/java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/IntentMatchDataOrBuilder.java similarity index 52% rename from owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/IntentMatchDataOrBuilder.java rename to java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/IntentMatchDataOrBuilder.java index 8775deddbd9d..e62221e8fbed 100644 --- a/owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/IntentMatchDataOrBuilder.java +++ b/java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/IntentMatchDataOrBuilder.java @@ -1,31 +1,52 @@ +/* + * 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. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/contactcenterinsights/v1/resources.proto package com.google.cloud.contactcenterinsights.v1; -public interface IntentMatchDataOrBuilder extends +public interface IntentMatchDataOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.contactcenterinsights.v1.IntentMatchData) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * The id of the matched intent.
    * Can be used to retrieve the corresponding intent information.
    * 
* * string intent_unique_id = 1; + * * @return The intentUniqueId. */ java.lang.String getIntentUniqueId(); /** + * + * *
    * The id of the matched intent.
    * Can be used to retrieve the corresponding intent information.
    * 
* * string intent_unique_id = 1; + * * @return The bytes for intentUniqueId. */ - com.google.protobuf.ByteString - getIntentUniqueIdBytes(); + com.google.protobuf.ByteString getIntentUniqueIdBytes(); } diff --git a/owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/IntentOrBuilder.java b/java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/IntentOrBuilder.java similarity index 55% rename from owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/IntentOrBuilder.java rename to java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/IntentOrBuilder.java index 803f52deaa2c..398131ceb707 100644 --- a/owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/IntentOrBuilder.java +++ b/java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/IntentOrBuilder.java @@ -1,49 +1,75 @@ +/* + * 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. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/contactcenterinsights/v1/resources.proto package com.google.cloud.contactcenterinsights.v1; -public interface IntentOrBuilder extends +public interface IntentOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.contactcenterinsights.v1.Intent) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * The unique identifier of the intent.
    * 
* * string id = 1; + * * @return The id. */ java.lang.String getId(); /** + * + * *
    * The unique identifier of the intent.
    * 
* * string id = 1; + * * @return The bytes for id. */ - com.google.protobuf.ByteString - getIdBytes(); + com.google.protobuf.ByteString getIdBytes(); /** + * + * *
    * The human-readable name of the intent.
    * 
* * string display_name = 2; + * * @return The displayName. */ java.lang.String getDisplayName(); /** + * + * *
    * The human-readable name of the intent.
    * 
* * string display_name = 2; + * * @return The bytes for displayName. */ - com.google.protobuf.ByteString - getDisplayNameBytes(); + com.google.protobuf.ByteString getDisplayNameBytes(); } diff --git a/owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/InterruptionData.java b/java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/InterruptionData.java similarity index 63% rename from owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/InterruptionData.java rename to java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/InterruptionData.java index 2b3d04e6eac2..65bf8cada935 100644 --- a/owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/InterruptionData.java +++ b/java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/InterruptionData.java @@ -1,53 +1,72 @@ +/* + * 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. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/contactcenterinsights/v1/resources.proto package com.google.cloud.contactcenterinsights.v1; /** + * + * *
  * The data for an interruption annotation.
  * 
* * Protobuf type {@code google.cloud.contactcenterinsights.v1.InterruptionData} */ -public final class InterruptionData extends - com.google.protobuf.GeneratedMessageV3 implements +public final class InterruptionData extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.contactcenterinsights.v1.InterruptionData) InterruptionDataOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use InterruptionData.newBuilder() to construct. private InterruptionData(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private InterruptionData() { - } + + private InterruptionData() {} @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new InterruptionData(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.contactcenterinsights.v1.ResourcesProto.internal_static_google_cloud_contactcenterinsights_v1_InterruptionData_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.contactcenterinsights.v1.ResourcesProto + .internal_static_google_cloud_contactcenterinsights_v1_InterruptionData_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.contactcenterinsights.v1.ResourcesProto.internal_static_google_cloud_contactcenterinsights_v1_InterruptionData_fieldAccessorTable + return com.google.cloud.contactcenterinsights.v1.ResourcesProto + .internal_static_google_cloud_contactcenterinsights_v1_InterruptionData_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.contactcenterinsights.v1.InterruptionData.class, com.google.cloud.contactcenterinsights.v1.InterruptionData.Builder.class); + com.google.cloud.contactcenterinsights.v1.InterruptionData.class, + com.google.cloud.contactcenterinsights.v1.InterruptionData.Builder.class); } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -59,8 +78,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { getUnknownFields().writeTo(output); } @@ -78,12 +96,13 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.contactcenterinsights.v1.InterruptionData)) { return super.equals(obj); } - com.google.cloud.contactcenterinsights.v1.InterruptionData other = (com.google.cloud.contactcenterinsights.v1.InterruptionData) obj; + com.google.cloud.contactcenterinsights.v1.InterruptionData other = + (com.google.cloud.contactcenterinsights.v1.InterruptionData) obj; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -102,129 +121,136 @@ public int hashCode() { } public static com.google.cloud.contactcenterinsights.v1.InterruptionData parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.contactcenterinsights.v1.InterruptionData parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.contactcenterinsights.v1.InterruptionData parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.contactcenterinsights.v1.InterruptionData parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.contactcenterinsights.v1.InterruptionData parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.contactcenterinsights.v1.InterruptionData parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.contactcenterinsights.v1.InterruptionData parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.contactcenterinsights.v1.InterruptionData parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.contactcenterinsights.v1.InterruptionData parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.contactcenterinsights.v1.InterruptionData parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.contactcenterinsights.v1.InterruptionData parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.contactcenterinsights.v1.InterruptionData parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.contactcenterinsights.v1.InterruptionData parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.contactcenterinsights.v1.InterruptionData parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.contactcenterinsights.v1.InterruptionData prototype) { + + public static Builder newBuilder( + com.google.cloud.contactcenterinsights.v1.InterruptionData prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * The data for an interruption annotation.
    * 
* * Protobuf type {@code google.cloud.contactcenterinsights.v1.InterruptionData} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.contactcenterinsights.v1.InterruptionData) com.google.cloud.contactcenterinsights.v1.InterruptionDataOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.contactcenterinsights.v1.ResourcesProto.internal_static_google_cloud_contactcenterinsights_v1_InterruptionData_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.contactcenterinsights.v1.ResourcesProto + .internal_static_google_cloud_contactcenterinsights_v1_InterruptionData_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.contactcenterinsights.v1.ResourcesProto.internal_static_google_cloud_contactcenterinsights_v1_InterruptionData_fieldAccessorTable + return com.google.cloud.contactcenterinsights.v1.ResourcesProto + .internal_static_google_cloud_contactcenterinsights_v1_InterruptionData_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.contactcenterinsights.v1.InterruptionData.class, com.google.cloud.contactcenterinsights.v1.InterruptionData.Builder.class); + com.google.cloud.contactcenterinsights.v1.InterruptionData.class, + com.google.cloud.contactcenterinsights.v1.InterruptionData.Builder.class); } // Construct using com.google.cloud.contactcenterinsights.v1.InterruptionData.newBuilder() - private Builder() { - - } + private Builder() {} - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -232,9 +258,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.contactcenterinsights.v1.ResourcesProto.internal_static_google_cloud_contactcenterinsights_v1_InterruptionData_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.contactcenterinsights.v1.ResourcesProto + .internal_static_google_cloud_contactcenterinsights_v1_InterruptionData_descriptor; } @java.lang.Override @@ -253,7 +279,8 @@ public com.google.cloud.contactcenterinsights.v1.InterruptionData build() { @java.lang.Override public com.google.cloud.contactcenterinsights.v1.InterruptionData buildPartial() { - com.google.cloud.contactcenterinsights.v1.InterruptionData result = new com.google.cloud.contactcenterinsights.v1.InterruptionData(this); + com.google.cloud.contactcenterinsights.v1.InterruptionData result = + new com.google.cloud.contactcenterinsights.v1.InterruptionData(this); onBuilt(); return result; } @@ -262,38 +289,39 @@ public com.google.cloud.contactcenterinsights.v1.InterruptionData buildPartial() public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.contactcenterinsights.v1.InterruptionData) { - return mergeFrom((com.google.cloud.contactcenterinsights.v1.InterruptionData)other); + return mergeFrom((com.google.cloud.contactcenterinsights.v1.InterruptionData) other); } else { super.mergeFrom(other); return this; @@ -301,7 +329,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.contactcenterinsights.v1.InterruptionData other) { - if (other == com.google.cloud.contactcenterinsights.v1.InterruptionData.getDefaultInstance()) return this; + if (other == com.google.cloud.contactcenterinsights.v1.InterruptionData.getDefaultInstance()) + return this; this.mergeUnknownFields(other.getUnknownFields()); onChanged(); return this; @@ -328,12 +357,13 @@ public Builder mergeFrom( case 0: done = true; break; - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -343,9 +373,9 @@ public Builder mergeFrom( } // finally return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -355,12 +385,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.contactcenterinsights.v1.InterruptionData) } // @@protoc_insertion_point(class_scope:google.cloud.contactcenterinsights.v1.InterruptionData) private static final com.google.cloud.contactcenterinsights.v1.InterruptionData DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.contactcenterinsights.v1.InterruptionData(); } @@ -369,27 +399,27 @@ public static com.google.cloud.contactcenterinsights.v1.InterruptionData getDefa return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public InterruptionData parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public InterruptionData parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -404,6 +434,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.contactcenterinsights.v1.InterruptionData getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/InterruptionDataOrBuilder.java b/java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/InterruptionDataOrBuilder.java new file mode 100644 index 000000000000..094a4e126dd9 --- /dev/null +++ b/java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/InterruptionDataOrBuilder.java @@ -0,0 +1,24 @@ +/* + * 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. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/contactcenterinsights/v1/resources.proto + +package com.google.cloud.contactcenterinsights.v1; + +public interface InterruptionDataOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.cloud.contactcenterinsights.v1.InterruptionData) + com.google.protobuf.MessageOrBuilder {} diff --git a/owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/Issue.java b/java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/Issue.java similarity index 68% rename from owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/Issue.java rename to java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/Issue.java index 8193574f8565..11fc3c987354 100644 --- a/owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/Issue.java +++ b/java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/Issue.java @@ -1,24 +1,42 @@ +/* + * 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. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/contactcenterinsights/v1/resources.proto package com.google.cloud.contactcenterinsights.v1; /** + * + * *
  * The issue resource.
  * 
* * Protobuf type {@code google.cloud.contactcenterinsights.v1.Issue} */ -public final class Issue extends - com.google.protobuf.GeneratedMessageV3 implements +public final class Issue extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.contactcenterinsights.v1.Issue) IssueOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use Issue.newBuilder() to construct. private Issue(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private Issue() { name_ = ""; displayName_ = ""; @@ -27,33 +45,37 @@ private Issue() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new Issue(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.contactcenterinsights.v1.ResourcesProto.internal_static_google_cloud_contactcenterinsights_v1_Issue_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.contactcenterinsights.v1.ResourcesProto + .internal_static_google_cloud_contactcenterinsights_v1_Issue_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.contactcenterinsights.v1.ResourcesProto.internal_static_google_cloud_contactcenterinsights_v1_Issue_fieldAccessorTable + return com.google.cloud.contactcenterinsights.v1.ResourcesProto + .internal_static_google_cloud_contactcenterinsights_v1_Issue_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.contactcenterinsights.v1.Issue.class, com.google.cloud.contactcenterinsights.v1.Issue.Builder.class); + com.google.cloud.contactcenterinsights.v1.Issue.class, + com.google.cloud.contactcenterinsights.v1.Issue.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; + @SuppressWarnings("serial") private volatile java.lang.Object name_ = ""; /** + * + * *
    * Immutable. The resource name of the issue.
    * Format:
@@ -61,6 +83,7 @@ protected java.lang.Object newInstance(
    * 
* * string name = 1 [(.google.api.field_behavior) = IMMUTABLE]; + * * @return The name. */ @java.lang.Override @@ -69,14 +92,15 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** + * + * *
    * Immutable. The resource name of the issue.
    * Format:
@@ -84,16 +108,15 @@ public java.lang.String getName() {
    * 
* * string name = 1 [(.google.api.field_behavior) = IMMUTABLE]; + * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -102,14 +125,18 @@ public java.lang.String getName() { } public static final int DISPLAY_NAME_FIELD_NUMBER = 2; + @SuppressWarnings("serial") private volatile java.lang.Object displayName_ = ""; /** + * + * *
    * The representative name for the issue.
    * 
* * string display_name = 2; + * * @return The displayName. */ @java.lang.Override @@ -118,29 +145,29 @@ public java.lang.String getDisplayName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); displayName_ = s; return s; } } /** + * + * *
    * The representative name for the issue.
    * 
* * string display_name = 2; + * * @return The bytes for displayName. */ @java.lang.Override - public com.google.protobuf.ByteString - getDisplayNameBytes() { + public com.google.protobuf.ByteString getDisplayNameBytes() { java.lang.Object ref = displayName_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); displayName_ = b; return b; } else { @@ -151,11 +178,15 @@ public java.lang.String getDisplayName() { public static final int CREATE_TIME_FIELD_NUMBER = 3; private com.google.protobuf.Timestamp createTime_; /** + * + * *
    * Output only. The time at which this issue was created.
    * 
* - * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the createTime field is set. */ @java.lang.Override @@ -163,11 +194,15 @@ public boolean hasCreateTime() { return createTime_ != null; } /** + * + * *
    * Output only. The time at which this issue was created.
    * 
* - * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The createTime. */ @java.lang.Override @@ -175,11 +210,14 @@ public com.google.protobuf.Timestamp getCreateTime() { return createTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : createTime_; } /** + * + * *
    * Output only. The time at which this issue was created.
    * 
* - * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ @java.lang.Override public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { @@ -189,11 +227,15 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { public static final int UPDATE_TIME_FIELD_NUMBER = 4; private com.google.protobuf.Timestamp updateTime_; /** + * + * *
    * Output only. The most recent time that this issue was updated.
    * 
* - * .google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the updateTime field is set. */ @java.lang.Override @@ -201,11 +243,15 @@ public boolean hasUpdateTime() { return updateTime_ != null; } /** + * + * *
    * Output only. The most recent time that this issue was updated.
    * 
* - * .google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The updateTime. */ @java.lang.Override @@ -213,11 +259,14 @@ public com.google.protobuf.Timestamp getUpdateTime() { return updateTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : updateTime_; } /** + * + * *
    * Output only. The most recent time that this issue was updated.
    * 
* - * .google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ @java.lang.Override public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { @@ -225,40 +274,52 @@ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { } public static final int SAMPLE_UTTERANCES_FIELD_NUMBER = 6; + @SuppressWarnings("serial") private com.google.protobuf.LazyStringList sampleUtterances_; /** + * + * *
    * Output only. Resource names of the sample representative utterances that
    * match to this issue.
    * 
* - * repeated string sample_utterances = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * repeated string sample_utterances = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return A list containing the sampleUtterances. */ - public com.google.protobuf.ProtocolStringList - getSampleUtterancesList() { + public com.google.protobuf.ProtocolStringList getSampleUtterancesList() { return sampleUtterances_; } /** + * + * *
    * Output only. Resource names of the sample representative utterances that
    * match to this issue.
    * 
* - * repeated string sample_utterances = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * repeated string sample_utterances = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The count of sampleUtterances. */ public int getSampleUtterancesCount() { return sampleUtterances_.size(); } /** + * + * *
    * Output only. Resource names of the sample representative utterances that
    * match to this issue.
    * 
* - * repeated string sample_utterances = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * repeated string sample_utterances = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @param index The index of the element to return. * @return The sampleUtterances at the given index. */ @@ -266,21 +327,25 @@ public java.lang.String getSampleUtterances(int index) { return sampleUtterances_.get(index); } /** + * + * *
    * Output only. Resource names of the sample representative utterances that
    * match to this issue.
    * 
* - * repeated string sample_utterances = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * repeated string sample_utterances = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @param index The index of the value to return. * @return The bytes of the sampleUtterances at the given index. */ - public com.google.protobuf.ByteString - getSampleUtterancesBytes(int index) { + public com.google.protobuf.ByteString getSampleUtterancesBytes(int index) { return sampleUtterances_.getByteString(index); } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -292,8 +357,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -325,12 +389,10 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, displayName_); } if (createTime_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(3, getCreateTime()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getCreateTime()); } if (updateTime_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(4, getUpdateTime()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(4, getUpdateTime()); } { int dataSize = 0; @@ -348,29 +410,25 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.contactcenterinsights.v1.Issue)) { return super.equals(obj); } - com.google.cloud.contactcenterinsights.v1.Issue other = (com.google.cloud.contactcenterinsights.v1.Issue) obj; + com.google.cloud.contactcenterinsights.v1.Issue other = + (com.google.cloud.contactcenterinsights.v1.Issue) obj; - if (!getName() - .equals(other.getName())) return false; - if (!getDisplayName() - .equals(other.getDisplayName())) return false; + if (!getName().equals(other.getName())) return false; + if (!getDisplayName().equals(other.getDisplayName())) return false; if (hasCreateTime() != other.hasCreateTime()) return false; if (hasCreateTime()) { - if (!getCreateTime() - .equals(other.getCreateTime())) return false; + if (!getCreateTime().equals(other.getCreateTime())) return false; } if (hasUpdateTime() != other.hasUpdateTime()) return false; if (hasUpdateTime()) { - if (!getUpdateTime() - .equals(other.getUpdateTime())) return false; + if (!getUpdateTime().equals(other.getUpdateTime())) return false; } - if (!getSampleUtterancesList() - .equals(other.getSampleUtterancesList())) return false; + if (!getSampleUtterancesList().equals(other.getSampleUtterancesList())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -403,130 +461,136 @@ public int hashCode() { return hash; } - public static com.google.cloud.contactcenterinsights.v1.Issue parseFrom( - java.nio.ByteBuffer data) + public static com.google.cloud.contactcenterinsights.v1.Issue parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.contactcenterinsights.v1.Issue parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.contactcenterinsights.v1.Issue parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.contactcenterinsights.v1.Issue parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.contactcenterinsights.v1.Issue parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.contactcenterinsights.v1.Issue parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.contactcenterinsights.v1.Issue parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.contactcenterinsights.v1.Issue parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.contactcenterinsights.v1.Issue parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.contactcenterinsights.v1.Issue parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.contactcenterinsights.v1.Issue parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.contactcenterinsights.v1.Issue parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.contactcenterinsights.v1.Issue parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.cloud.contactcenterinsights.v1.Issue prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * The issue resource.
    * 
* * Protobuf type {@code google.cloud.contactcenterinsights.v1.Issue} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.contactcenterinsights.v1.Issue) com.google.cloud.contactcenterinsights.v1.IssueOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.contactcenterinsights.v1.ResourcesProto.internal_static_google_cloud_contactcenterinsights_v1_Issue_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.contactcenterinsights.v1.ResourcesProto + .internal_static_google_cloud_contactcenterinsights_v1_Issue_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.contactcenterinsights.v1.ResourcesProto.internal_static_google_cloud_contactcenterinsights_v1_Issue_fieldAccessorTable + return com.google.cloud.contactcenterinsights.v1.ResourcesProto + .internal_static_google_cloud_contactcenterinsights_v1_Issue_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.contactcenterinsights.v1.Issue.class, com.google.cloud.contactcenterinsights.v1.Issue.Builder.class); + com.google.cloud.contactcenterinsights.v1.Issue.class, + com.google.cloud.contactcenterinsights.v1.Issue.Builder.class); } // Construct using com.google.cloud.contactcenterinsights.v1.Issue.newBuilder() - private Builder() { - - } + private Builder() {} - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -549,9 +613,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.contactcenterinsights.v1.ResourcesProto.internal_static_google_cloud_contactcenterinsights_v1_Issue_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.contactcenterinsights.v1.ResourcesProto + .internal_static_google_cloud_contactcenterinsights_v1_Issue_descriptor; } @java.lang.Override @@ -570,14 +634,18 @@ public com.google.cloud.contactcenterinsights.v1.Issue build() { @java.lang.Override public com.google.cloud.contactcenterinsights.v1.Issue buildPartial() { - com.google.cloud.contactcenterinsights.v1.Issue result = new com.google.cloud.contactcenterinsights.v1.Issue(this); + com.google.cloud.contactcenterinsights.v1.Issue result = + new com.google.cloud.contactcenterinsights.v1.Issue(this); buildPartialRepeatedFields(result); - if (bitField0_ != 0) { buildPartial0(result); } + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } - private void buildPartialRepeatedFields(com.google.cloud.contactcenterinsights.v1.Issue result) { + private void buildPartialRepeatedFields( + com.google.cloud.contactcenterinsights.v1.Issue result) { if (((bitField0_ & 0x00000010) != 0)) { sampleUtterances_ = sampleUtterances_.getUnmodifiableView(); bitField0_ = (bitField0_ & ~0x00000010); @@ -594,14 +662,10 @@ private void buildPartial0(com.google.cloud.contactcenterinsights.v1.Issue resul result.displayName_ = displayName_; } if (((from_bitField0_ & 0x00000004) != 0)) { - result.createTime_ = createTimeBuilder_ == null - ? createTime_ - : createTimeBuilder_.build(); + result.createTime_ = createTimeBuilder_ == null ? createTime_ : createTimeBuilder_.build(); } if (((from_bitField0_ & 0x00000008) != 0)) { - result.updateTime_ = updateTimeBuilder_ == null - ? updateTime_ - : updateTimeBuilder_.build(); + result.updateTime_ = updateTimeBuilder_ == null ? updateTime_ : updateTimeBuilder_.build(); } } @@ -609,38 +673,39 @@ private void buildPartial0(com.google.cloud.contactcenterinsights.v1.Issue resul public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.contactcenterinsights.v1.Issue) { - return mergeFrom((com.google.cloud.contactcenterinsights.v1.Issue)other); + return mergeFrom((com.google.cloud.contactcenterinsights.v1.Issue) other); } else { super.mergeFrom(other); return this; @@ -648,7 +713,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.contactcenterinsights.v1.Issue other) { - if (other == com.google.cloud.contactcenterinsights.v1.Issue.getDefaultInstance()) return this; + if (other == com.google.cloud.contactcenterinsights.v1.Issue.getDefaultInstance()) + return this; if (!other.getName().isEmpty()) { name_ = other.name_; bitField0_ |= 0x00000001; @@ -701,42 +767,44 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - name_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: { - displayName_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000002; - break; - } // case 18 - case 26: { - input.readMessage( - getCreateTimeFieldBuilder().getBuilder(), - extensionRegistry); - bitField0_ |= 0x00000004; - break; - } // case 26 - case 34: { - input.readMessage( - getUpdateTimeFieldBuilder().getBuilder(), - extensionRegistry); - bitField0_ |= 0x00000008; - break; - } // case 34 - case 50: { - java.lang.String s = input.readStringRequireUtf8(); - ensureSampleUtterancesIsMutable(); - sampleUtterances_.add(s); - break; - } // case 50 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + name_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: + { + displayName_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + break; + } // case 18 + case 26: + { + input.readMessage(getCreateTimeFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000004; + break; + } // case 26 + case 34: + { + input.readMessage(getUpdateTimeFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000008; + break; + } // case 34 + case 50: + { + java.lang.String s = input.readStringRequireUtf8(); + ensureSampleUtterancesIsMutable(); + sampleUtterances_.add(s); + break; + } // case 50 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -746,10 +814,13 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private java.lang.Object name_ = ""; /** + * + * *
      * Immutable. The resource name of the issue.
      * Format:
@@ -757,13 +828,13 @@ public Builder mergeFrom(
      * 
* * string name = 1 [(.google.api.field_behavior) = IMMUTABLE]; + * * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -772,6 +843,8 @@ public java.lang.String getName() { } } /** + * + * *
      * Immutable. The resource name of the issue.
      * Format:
@@ -779,15 +852,14 @@ public java.lang.String getName() {
      * 
* * string name = 1 [(.google.api.field_behavior) = IMMUTABLE]; + * * @return The bytes for name. */ - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -795,6 +867,8 @@ public java.lang.String getName() { } } /** + * + * *
      * Immutable. The resource name of the issue.
      * Format:
@@ -802,18 +876,22 @@ public java.lang.String getName() {
      * 
* * string name = 1 [(.google.api.field_behavior) = IMMUTABLE]; + * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setName(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } name_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
      * Immutable. The resource name of the issue.
      * Format:
@@ -821,6 +899,7 @@ public Builder setName(
      * 
* * string name = 1 [(.google.api.field_behavior) = IMMUTABLE]; + * * @return This builder for chaining. */ public Builder clearName() { @@ -830,6 +909,8 @@ public Builder clearName() { return this; } /** + * + * *
      * Immutable. The resource name of the issue.
      * Format:
@@ -837,12 +918,14 @@ public Builder clearName() {
      * 
* * string name = 1 [(.google.api.field_behavior) = IMMUTABLE]; + * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setNameBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); name_ = value; bitField0_ |= 0x00000001; @@ -852,18 +935,20 @@ public Builder setNameBytes( private java.lang.Object displayName_ = ""; /** + * + * *
      * The representative name for the issue.
      * 
* * string display_name = 2; + * * @return The displayName. */ public java.lang.String getDisplayName() { java.lang.Object ref = displayName_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); displayName_ = s; return s; @@ -872,20 +957,21 @@ public java.lang.String getDisplayName() { } } /** + * + * *
      * The representative name for the issue.
      * 
* * string display_name = 2; + * * @return The bytes for displayName. */ - public com.google.protobuf.ByteString - getDisplayNameBytes() { + public com.google.protobuf.ByteString getDisplayNameBytes() { java.lang.Object ref = displayName_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); displayName_ = b; return b; } else { @@ -893,28 +979,35 @@ public java.lang.String getDisplayName() { } } /** + * + * *
      * The representative name for the issue.
      * 
* * string display_name = 2; + * * @param value The displayName to set. * @return This builder for chaining. */ - public Builder setDisplayName( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setDisplayName(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } displayName_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** + * + * *
      * The representative name for the issue.
      * 
* * string display_name = 2; + * * @return This builder for chaining. */ public Builder clearDisplayName() { @@ -924,17 +1017,21 @@ public Builder clearDisplayName() { return this; } /** + * + * *
      * The representative name for the issue.
      * 
* * string display_name = 2; + * * @param value The bytes for displayName to set. * @return This builder for chaining. */ - public Builder setDisplayNameBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setDisplayNameBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); displayName_ = value; bitField0_ |= 0x00000002; @@ -944,39 +1041,58 @@ public Builder setDisplayNameBytes( private com.google.protobuf.Timestamp createTime_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> createTimeBuilder_; + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder> + createTimeBuilder_; /** + * + * *
      * Output only. The time at which this issue was created.
      * 
* - * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the createTime field is set. */ public boolean hasCreateTime() { return ((bitField0_ & 0x00000004) != 0); } /** + * + * *
      * Output only. The time at which this issue was created.
      * 
* - * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The createTime. */ public com.google.protobuf.Timestamp getCreateTime() { if (createTimeBuilder_ == null) { - return createTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : createTime_; + return createTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : createTime_; } else { return createTimeBuilder_.getMessage(); } } /** + * + * *
      * Output only. The time at which this issue was created.
      * 
* - * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder setCreateTime(com.google.protobuf.Timestamp value) { if (createTimeBuilder_ == null) { @@ -992,14 +1108,17 @@ public Builder setCreateTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * Output only. The time at which this issue was created.
      * 
* - * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - public Builder setCreateTime( - com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setCreateTime(com.google.protobuf.Timestamp.Builder builderForValue) { if (createTimeBuilder_ == null) { createTime_ = builderForValue.build(); } else { @@ -1010,17 +1129,21 @@ public Builder setCreateTime( return this; } /** + * + * *
      * Output only. The time at which this issue was created.
      * 
* - * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder mergeCreateTime(com.google.protobuf.Timestamp value) { if (createTimeBuilder_ == null) { - if (((bitField0_ & 0x00000004) != 0) && - createTime_ != null && - createTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { + if (((bitField0_ & 0x00000004) != 0) + && createTime_ != null + && createTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { getCreateTimeBuilder().mergeFrom(value); } else { createTime_ = value; @@ -1033,11 +1156,15 @@ public Builder mergeCreateTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * Output only. The time at which this issue was created.
      * 
* - * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder clearCreateTime() { bitField0_ = (bitField0_ & ~0x00000004); @@ -1050,11 +1177,15 @@ public Builder clearCreateTime() { return this; } /** + * + * *
      * Output only. The time at which this issue was created.
      * 
* - * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public com.google.protobuf.Timestamp.Builder getCreateTimeBuilder() { bitField0_ |= 0x00000004; @@ -1062,36 +1193,48 @@ public com.google.protobuf.Timestamp.Builder getCreateTimeBuilder() { return getCreateTimeFieldBuilder().getBuilder(); } /** + * + * *
      * Output only. The time at which this issue was created.
      * 
* - * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { if (createTimeBuilder_ != null) { return createTimeBuilder_.getMessageOrBuilder(); } else { - return createTime_ == null ? - com.google.protobuf.Timestamp.getDefaultInstance() : createTime_; + return createTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : createTime_; } } /** + * + * *
      * Output only. The time at which this issue was created.
      * 
* - * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder> getCreateTimeFieldBuilder() { if (createTimeBuilder_ == null) { - createTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( - getCreateTime(), - getParentForChildren(), - isClean()); + createTimeBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder>( + getCreateTime(), getParentForChildren(), isClean()); createTime_ = null; } return createTimeBuilder_; @@ -1099,39 +1242,58 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { private com.google.protobuf.Timestamp updateTime_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> updateTimeBuilder_; + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder> + updateTimeBuilder_; /** + * + * *
      * Output only. The most recent time that this issue was updated.
      * 
* - * .google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the updateTime field is set. */ public boolean hasUpdateTime() { return ((bitField0_ & 0x00000008) != 0); } /** + * + * *
      * Output only. The most recent time that this issue was updated.
      * 
* - * .google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The updateTime. */ public com.google.protobuf.Timestamp getUpdateTime() { if (updateTimeBuilder_ == null) { - return updateTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : updateTime_; + return updateTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : updateTime_; } else { return updateTimeBuilder_.getMessage(); } } /** + * + * *
      * Output only. The most recent time that this issue was updated.
      * 
* - * .google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder setUpdateTime(com.google.protobuf.Timestamp value) { if (updateTimeBuilder_ == null) { @@ -1147,14 +1309,17 @@ public Builder setUpdateTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * Output only. The most recent time that this issue was updated.
      * 
* - * .google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - public Builder setUpdateTime( - com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setUpdateTime(com.google.protobuf.Timestamp.Builder builderForValue) { if (updateTimeBuilder_ == null) { updateTime_ = builderForValue.build(); } else { @@ -1165,17 +1330,21 @@ public Builder setUpdateTime( return this; } /** + * + * *
      * Output only. The most recent time that this issue was updated.
      * 
* - * .google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder mergeUpdateTime(com.google.protobuf.Timestamp value) { if (updateTimeBuilder_ == null) { - if (((bitField0_ & 0x00000008) != 0) && - updateTime_ != null && - updateTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { + if (((bitField0_ & 0x00000008) != 0) + && updateTime_ != null + && updateTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { getUpdateTimeBuilder().mergeFrom(value); } else { updateTime_ = value; @@ -1188,11 +1357,15 @@ public Builder mergeUpdateTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * Output only. The most recent time that this issue was updated.
      * 
* - * .google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder clearUpdateTime() { bitField0_ = (bitField0_ & ~0x00000008); @@ -1205,11 +1378,15 @@ public Builder clearUpdateTime() { return this; } /** + * + * *
      * Output only. The most recent time that this issue was updated.
      * 
* - * .google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public com.google.protobuf.Timestamp.Builder getUpdateTimeBuilder() { bitField0_ |= 0x00000008; @@ -1217,80 +1394,105 @@ public com.google.protobuf.Timestamp.Builder getUpdateTimeBuilder() { return getUpdateTimeFieldBuilder().getBuilder(); } /** + * + * *
      * Output only. The most recent time that this issue was updated.
      * 
* - * .google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { if (updateTimeBuilder_ != null) { return updateTimeBuilder_.getMessageOrBuilder(); } else { - return updateTime_ == null ? - com.google.protobuf.Timestamp.getDefaultInstance() : updateTime_; + return updateTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : updateTime_; } } /** + * + * *
      * Output only. The most recent time that this issue was updated.
      * 
* - * .google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder> getUpdateTimeFieldBuilder() { if (updateTimeBuilder_ == null) { - updateTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( - getUpdateTime(), - getParentForChildren(), - isClean()); + updateTimeBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder>( + getUpdateTime(), getParentForChildren(), isClean()); updateTime_ = null; } return updateTimeBuilder_; } - private com.google.protobuf.LazyStringList sampleUtterances_ = com.google.protobuf.LazyStringArrayList.EMPTY; + private com.google.protobuf.LazyStringList sampleUtterances_ = + com.google.protobuf.LazyStringArrayList.EMPTY; + private void ensureSampleUtterancesIsMutable() { if (!((bitField0_ & 0x00000010) != 0)) { sampleUtterances_ = new com.google.protobuf.LazyStringArrayList(sampleUtterances_); bitField0_ |= 0x00000010; - } + } } /** + * + * *
      * Output only. Resource names of the sample representative utterances that
      * match to this issue.
      * 
* - * repeated string sample_utterances = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * repeated string sample_utterances = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return A list containing the sampleUtterances. */ - public com.google.protobuf.ProtocolStringList - getSampleUtterancesList() { + public com.google.protobuf.ProtocolStringList getSampleUtterancesList() { return sampleUtterances_.getUnmodifiableView(); } /** + * + * *
      * Output only. Resource names of the sample representative utterances that
      * match to this issue.
      * 
* - * repeated string sample_utterances = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * repeated string sample_utterances = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The count of sampleUtterances. */ public int getSampleUtterancesCount() { return sampleUtterances_.size(); } /** + * + * *
      * Output only. Resource names of the sample representative utterances that
      * match to this issue.
      * 
* - * repeated string sample_utterances = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * repeated string sample_utterances = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @param index The index of the element to return. * @return The sampleUtterances at the given index. */ @@ -1298,81 +1500,100 @@ public java.lang.String getSampleUtterances(int index) { return sampleUtterances_.get(index); } /** + * + * *
      * Output only. Resource names of the sample representative utterances that
      * match to this issue.
      * 
* - * repeated string sample_utterances = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * repeated string sample_utterances = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @param index The index of the value to return. * @return The bytes of the sampleUtterances at the given index. */ - public com.google.protobuf.ByteString - getSampleUtterancesBytes(int index) { + public com.google.protobuf.ByteString getSampleUtterancesBytes(int index) { return sampleUtterances_.getByteString(index); } /** + * + * *
      * Output only. Resource names of the sample representative utterances that
      * match to this issue.
      * 
* - * repeated string sample_utterances = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * repeated string sample_utterances = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @param index The index to set the value at. * @param value The sampleUtterances to set. * @return This builder for chaining. */ - public Builder setSampleUtterances( - int index, java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setSampleUtterances(int index, java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } ensureSampleUtterancesIsMutable(); sampleUtterances_.set(index, value); onChanged(); return this; } /** + * + * *
      * Output only. Resource names of the sample representative utterances that
      * match to this issue.
      * 
* - * repeated string sample_utterances = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * repeated string sample_utterances = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @param value The sampleUtterances to add. * @return This builder for chaining. */ - public Builder addSampleUtterances( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder addSampleUtterances(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } ensureSampleUtterancesIsMutable(); sampleUtterances_.add(value); onChanged(); return this; } /** + * + * *
      * Output only. Resource names of the sample representative utterances that
      * match to this issue.
      * 
* - * repeated string sample_utterances = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * repeated string sample_utterances = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @param values The sampleUtterances to add. * @return This builder for chaining. */ - public Builder addAllSampleUtterances( - java.lang.Iterable values) { + public Builder addAllSampleUtterances(java.lang.Iterable values) { ensureSampleUtterancesIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, sampleUtterances_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, sampleUtterances_); onChanged(); return this; } /** + * + * *
      * Output only. Resource names of the sample representative utterances that
      * match to this issue.
      * 
* - * repeated string sample_utterances = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * repeated string sample_utterances = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return This builder for chaining. */ public Builder clearSampleUtterances() { @@ -1382,27 +1603,32 @@ public Builder clearSampleUtterances() { return this; } /** + * + * *
      * Output only. Resource names of the sample representative utterances that
      * match to this issue.
      * 
* - * repeated string sample_utterances = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * repeated string sample_utterances = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @param value The bytes of the sampleUtterances to add. * @return This builder for chaining. */ - public Builder addSampleUtterancesBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder addSampleUtterancesBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); ensureSampleUtterancesIsMutable(); sampleUtterances_.add(value); onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1412,12 +1638,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.contactcenterinsights.v1.Issue) } // @@protoc_insertion_point(class_scope:google.cloud.contactcenterinsights.v1.Issue) private static final com.google.cloud.contactcenterinsights.v1.Issue DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.contactcenterinsights.v1.Issue(); } @@ -1426,27 +1652,27 @@ public static com.google.cloud.contactcenterinsights.v1.Issue getDefaultInstance return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public Issue parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public Issue parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1461,6 +1687,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.contactcenterinsights.v1.Issue getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/IssueAssignment.java b/java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/IssueAssignment.java similarity index 69% rename from owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/IssueAssignment.java rename to java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/IssueAssignment.java index 2de1e8834d72..4c29f19da9b5 100644 --- a/owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/IssueAssignment.java +++ b/java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/IssueAssignment.java @@ -1,24 +1,42 @@ +/* + * 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. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/contactcenterinsights/v1/resources.proto package com.google.cloud.contactcenterinsights.v1; /** + * + * *
  * Information about the issue.
  * 
* * Protobuf type {@code google.cloud.contactcenterinsights.v1.IssueAssignment} */ -public final class IssueAssignment extends - com.google.protobuf.GeneratedMessageV3 implements +public final class IssueAssignment extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.contactcenterinsights.v1.IssueAssignment) IssueAssignmentOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use IssueAssignment.newBuilder() to construct. private IssueAssignment(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private IssueAssignment() { issue_ = ""; displayName_ = ""; @@ -26,38 +44,43 @@ private IssueAssignment() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new IssueAssignment(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.contactcenterinsights.v1.ResourcesProto.internal_static_google_cloud_contactcenterinsights_v1_IssueAssignment_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.contactcenterinsights.v1.ResourcesProto + .internal_static_google_cloud_contactcenterinsights_v1_IssueAssignment_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.contactcenterinsights.v1.ResourcesProto.internal_static_google_cloud_contactcenterinsights_v1_IssueAssignment_fieldAccessorTable + return com.google.cloud.contactcenterinsights.v1.ResourcesProto + .internal_static_google_cloud_contactcenterinsights_v1_IssueAssignment_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.contactcenterinsights.v1.IssueAssignment.class, com.google.cloud.contactcenterinsights.v1.IssueAssignment.Builder.class); + com.google.cloud.contactcenterinsights.v1.IssueAssignment.class, + com.google.cloud.contactcenterinsights.v1.IssueAssignment.Builder.class); } public static final int ISSUE_FIELD_NUMBER = 1; + @SuppressWarnings("serial") private volatile java.lang.Object issue_ = ""; /** + * + * *
    * Resource name of the assigned issue.
    * 
* * string issue = 1; + * * @return The issue. */ @java.lang.Override @@ -66,29 +89,29 @@ public java.lang.String getIssue() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); issue_ = s; return s; } } /** + * + * *
    * Resource name of the assigned issue.
    * 
* * string issue = 1; + * * @return The bytes for issue. */ @java.lang.Override - public com.google.protobuf.ByteString - getIssueBytes() { + public com.google.protobuf.ByteString getIssueBytes() { java.lang.Object ref = issue_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); issue_ = b; return b; } else { @@ -99,12 +122,15 @@ public java.lang.String getIssue() { public static final int SCORE_FIELD_NUMBER = 2; private double score_ = 0D; /** + * + * *
    * Score indicating the likelihood of the issue assignment.
    * currently bounded on [0,1].
    * 
* * double score = 2; + * * @return The score. */ @java.lang.Override @@ -113,15 +139,19 @@ public double getScore() { } public static final int DISPLAY_NAME_FIELD_NUMBER = 3; + @SuppressWarnings("serial") private volatile java.lang.Object displayName_ = ""; /** + * + * *
    * Immutable. Display name of the assigned issue. This field is set at time of
    * analyis and immutable since then.
    * 
* * string display_name = 3 [(.google.api.field_behavior) = IMMUTABLE]; + * * @return The displayName. */ @java.lang.Override @@ -130,30 +160,30 @@ public java.lang.String getDisplayName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); displayName_ = s; return s; } } /** + * + * *
    * Immutable. Display name of the assigned issue. This field is set at time of
    * analyis and immutable since then.
    * 
* * string display_name = 3 [(.google.api.field_behavior) = IMMUTABLE]; + * * @return The bytes for displayName. */ @java.lang.Override - public com.google.protobuf.ByteString - getDisplayNameBytes() { + public com.google.protobuf.ByteString getDisplayNameBytes() { java.lang.Object ref = displayName_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); displayName_ = b; return b; } else { @@ -162,6 +192,7 @@ public java.lang.String getDisplayName() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -173,8 +204,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(issue_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, issue_); } @@ -197,8 +227,7 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, issue_); } if (java.lang.Double.doubleToRawLongBits(score_) != 0) { - size += com.google.protobuf.CodedOutputStream - .computeDoubleSize(2, score_); + size += com.google.protobuf.CodedOutputStream.computeDoubleSize(2, score_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(displayName_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, displayName_); @@ -211,20 +240,18 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.contactcenterinsights.v1.IssueAssignment)) { return super.equals(obj); } - com.google.cloud.contactcenterinsights.v1.IssueAssignment other = (com.google.cloud.contactcenterinsights.v1.IssueAssignment) obj; + com.google.cloud.contactcenterinsights.v1.IssueAssignment other = + (com.google.cloud.contactcenterinsights.v1.IssueAssignment) obj; - if (!getIssue() - .equals(other.getIssue())) return false; + if (!getIssue().equals(other.getIssue())) return false; if (java.lang.Double.doubleToLongBits(getScore()) - != java.lang.Double.doubleToLongBits( - other.getScore())) return false; - if (!getDisplayName() - .equals(other.getDisplayName())) return false; + != java.lang.Double.doubleToLongBits(other.getScore())) return false; + if (!getDisplayName().equals(other.getDisplayName())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -239,8 +266,9 @@ public int hashCode() { hash = (37 * hash) + ISSUE_FIELD_NUMBER; hash = (53 * hash) + getIssue().hashCode(); hash = (37 * hash) + SCORE_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashLong( - java.lang.Double.doubleToLongBits(getScore())); + hash = + (53 * hash) + + com.google.protobuf.Internal.hashLong(java.lang.Double.doubleToLongBits(getScore())); hash = (37 * hash) + DISPLAY_NAME_FIELD_NUMBER; hash = (53 * hash) + getDisplayName().hashCode(); hash = (29 * hash) + getUnknownFields().hashCode(); @@ -249,129 +277,136 @@ public int hashCode() { } public static com.google.cloud.contactcenterinsights.v1.IssueAssignment parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.contactcenterinsights.v1.IssueAssignment parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.contactcenterinsights.v1.IssueAssignment parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.contactcenterinsights.v1.IssueAssignment parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.contactcenterinsights.v1.IssueAssignment parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.contactcenterinsights.v1.IssueAssignment parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.contactcenterinsights.v1.IssueAssignment parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.contactcenterinsights.v1.IssueAssignment parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.contactcenterinsights.v1.IssueAssignment parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.contactcenterinsights.v1.IssueAssignment parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.contactcenterinsights.v1.IssueAssignment parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.contactcenterinsights.v1.IssueAssignment parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.contactcenterinsights.v1.IssueAssignment parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.contactcenterinsights.v1.IssueAssignment parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.contactcenterinsights.v1.IssueAssignment prototype) { + + public static Builder newBuilder( + com.google.cloud.contactcenterinsights.v1.IssueAssignment prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Information about the issue.
    * 
* * Protobuf type {@code google.cloud.contactcenterinsights.v1.IssueAssignment} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.contactcenterinsights.v1.IssueAssignment) com.google.cloud.contactcenterinsights.v1.IssueAssignmentOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.contactcenterinsights.v1.ResourcesProto.internal_static_google_cloud_contactcenterinsights_v1_IssueAssignment_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.contactcenterinsights.v1.ResourcesProto + .internal_static_google_cloud_contactcenterinsights_v1_IssueAssignment_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.contactcenterinsights.v1.ResourcesProto.internal_static_google_cloud_contactcenterinsights_v1_IssueAssignment_fieldAccessorTable + return com.google.cloud.contactcenterinsights.v1.ResourcesProto + .internal_static_google_cloud_contactcenterinsights_v1_IssueAssignment_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.contactcenterinsights.v1.IssueAssignment.class, com.google.cloud.contactcenterinsights.v1.IssueAssignment.Builder.class); + com.google.cloud.contactcenterinsights.v1.IssueAssignment.class, + com.google.cloud.contactcenterinsights.v1.IssueAssignment.Builder.class); } // Construct using com.google.cloud.contactcenterinsights.v1.IssueAssignment.newBuilder() - private Builder() { - - } + private Builder() {} - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -383,9 +418,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.contactcenterinsights.v1.ResourcesProto.internal_static_google_cloud_contactcenterinsights_v1_IssueAssignment_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.contactcenterinsights.v1.ResourcesProto + .internal_static_google_cloud_contactcenterinsights_v1_IssueAssignment_descriptor; } @java.lang.Override @@ -404,8 +439,11 @@ public com.google.cloud.contactcenterinsights.v1.IssueAssignment build() { @java.lang.Override public com.google.cloud.contactcenterinsights.v1.IssueAssignment buildPartial() { - com.google.cloud.contactcenterinsights.v1.IssueAssignment result = new com.google.cloud.contactcenterinsights.v1.IssueAssignment(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.cloud.contactcenterinsights.v1.IssueAssignment result = + new com.google.cloud.contactcenterinsights.v1.IssueAssignment(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } @@ -427,38 +465,39 @@ private void buildPartial0(com.google.cloud.contactcenterinsights.v1.IssueAssign public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.contactcenterinsights.v1.IssueAssignment) { - return mergeFrom((com.google.cloud.contactcenterinsights.v1.IssueAssignment)other); + return mergeFrom((com.google.cloud.contactcenterinsights.v1.IssueAssignment) other); } else { super.mergeFrom(other); return this; @@ -466,7 +505,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.contactcenterinsights.v1.IssueAssignment other) { - if (other == com.google.cloud.contactcenterinsights.v1.IssueAssignment.getDefaultInstance()) return this; + if (other == com.google.cloud.contactcenterinsights.v1.IssueAssignment.getDefaultInstance()) + return this; if (!other.getIssue().isEmpty()) { issue_ = other.issue_; bitField0_ |= 0x00000001; @@ -506,27 +546,31 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - issue_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 17: { - score_ = input.readDouble(); - bitField0_ |= 0x00000002; - break; - } // case 17 - case 26: { - displayName_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000004; - break; - } // case 26 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + issue_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 17: + { + score_ = input.readDouble(); + bitField0_ |= 0x00000002; + break; + } // case 17 + case 26: + { + displayName_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000004; + break; + } // case 26 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -536,22 +580,25 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private java.lang.Object issue_ = ""; /** + * + * *
      * Resource name of the assigned issue.
      * 
* * string issue = 1; + * * @return The issue. */ public java.lang.String getIssue() { java.lang.Object ref = issue_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); issue_ = s; return s; @@ -560,20 +607,21 @@ public java.lang.String getIssue() { } } /** + * + * *
      * Resource name of the assigned issue.
      * 
* * string issue = 1; + * * @return The bytes for issue. */ - public com.google.protobuf.ByteString - getIssueBytes() { + public com.google.protobuf.ByteString getIssueBytes() { java.lang.Object ref = issue_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); issue_ = b; return b; } else { @@ -581,28 +629,35 @@ public java.lang.String getIssue() { } } /** + * + * *
      * Resource name of the assigned issue.
      * 
* * string issue = 1; + * * @param value The issue to set. * @return This builder for chaining. */ - public Builder setIssue( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setIssue(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } issue_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
      * Resource name of the assigned issue.
      * 
* * string issue = 1; + * * @return This builder for chaining. */ public Builder clearIssue() { @@ -612,17 +667,21 @@ public Builder clearIssue() { return this; } /** + * + * *
      * Resource name of the assigned issue.
      * 
* * string issue = 1; + * * @param value The bytes for issue to set. * @return This builder for chaining. */ - public Builder setIssueBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setIssueBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); issue_ = value; bitField0_ |= 0x00000001; @@ -630,14 +689,17 @@ public Builder setIssueBytes( return this; } - private double score_ ; + private double score_; /** + * + * *
      * Score indicating the likelihood of the issue assignment.
      * currently bounded on [0,1].
      * 
* * double score = 2; + * * @return The score. */ @java.lang.Override @@ -645,29 +707,35 @@ public double getScore() { return score_; } /** + * + * *
      * Score indicating the likelihood of the issue assignment.
      * currently bounded on [0,1].
      * 
* * double score = 2; + * * @param value The score to set. * @return This builder for chaining. */ public Builder setScore(double value) { - + score_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** + * + * *
      * Score indicating the likelihood of the issue assignment.
      * currently bounded on [0,1].
      * 
* * double score = 2; + * * @return This builder for chaining. */ public Builder clearScore() { @@ -679,19 +747,21 @@ public Builder clearScore() { private java.lang.Object displayName_ = ""; /** + * + * *
      * Immutable. Display name of the assigned issue. This field is set at time of
      * analyis and immutable since then.
      * 
* * string display_name = 3 [(.google.api.field_behavior) = IMMUTABLE]; + * * @return The displayName. */ public java.lang.String getDisplayName() { java.lang.Object ref = displayName_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); displayName_ = s; return s; @@ -700,21 +770,22 @@ public java.lang.String getDisplayName() { } } /** + * + * *
      * Immutable. Display name of the assigned issue. This field is set at time of
      * analyis and immutable since then.
      * 
* * string display_name = 3 [(.google.api.field_behavior) = IMMUTABLE]; + * * @return The bytes for displayName. */ - public com.google.protobuf.ByteString - getDisplayNameBytes() { + public com.google.protobuf.ByteString getDisplayNameBytes() { java.lang.Object ref = displayName_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); displayName_ = b; return b; } else { @@ -722,30 +793,37 @@ public java.lang.String getDisplayName() { } } /** + * + * *
      * Immutable. Display name of the assigned issue. This field is set at time of
      * analyis and immutable since then.
      * 
* * string display_name = 3 [(.google.api.field_behavior) = IMMUTABLE]; + * * @param value The displayName to set. * @return This builder for chaining. */ - public Builder setDisplayName( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setDisplayName(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } displayName_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } /** + * + * *
      * Immutable. Display name of the assigned issue. This field is set at time of
      * analyis and immutable since then.
      * 
* * string display_name = 3 [(.google.api.field_behavior) = IMMUTABLE]; + * * @return This builder for chaining. */ public Builder clearDisplayName() { @@ -755,27 +833,31 @@ public Builder clearDisplayName() { return this; } /** + * + * *
      * Immutable. Display name of the assigned issue. This field is set at time of
      * analyis and immutable since then.
      * 
* * string display_name = 3 [(.google.api.field_behavior) = IMMUTABLE]; + * * @param value The bytes for displayName to set. * @return This builder for chaining. */ - public Builder setDisplayNameBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setDisplayNameBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); displayName_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -785,12 +867,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.contactcenterinsights.v1.IssueAssignment) } // @@protoc_insertion_point(class_scope:google.cloud.contactcenterinsights.v1.IssueAssignment) private static final com.google.cloud.contactcenterinsights.v1.IssueAssignment DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.contactcenterinsights.v1.IssueAssignment(); } @@ -799,27 +881,27 @@ public static com.google.cloud.contactcenterinsights.v1.IssueAssignment getDefau return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public IssueAssignment parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public IssueAssignment parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -834,6 +916,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.contactcenterinsights.v1.IssueAssignment getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/IssueAssignmentOrBuilder.java b/java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/IssueAssignmentOrBuilder.java similarity index 63% rename from owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/IssueAssignmentOrBuilder.java rename to java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/IssueAssignmentOrBuilder.java index bddc00b9b752..7bf665aecd9e 100644 --- a/owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/IssueAssignmentOrBuilder.java +++ b/java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/IssueAssignmentOrBuilder.java @@ -1,62 +1,91 @@ +/* + * 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. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/contactcenterinsights/v1/resources.proto package com.google.cloud.contactcenterinsights.v1; -public interface IssueAssignmentOrBuilder extends +public interface IssueAssignmentOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.contactcenterinsights.v1.IssueAssignment) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Resource name of the assigned issue.
    * 
* * string issue = 1; + * * @return The issue. */ java.lang.String getIssue(); /** + * + * *
    * Resource name of the assigned issue.
    * 
* * string issue = 1; + * * @return The bytes for issue. */ - com.google.protobuf.ByteString - getIssueBytes(); + com.google.protobuf.ByteString getIssueBytes(); /** + * + * *
    * Score indicating the likelihood of the issue assignment.
    * currently bounded on [0,1].
    * 
* * double score = 2; + * * @return The score. */ double getScore(); /** + * + * *
    * Immutable. Display name of the assigned issue. This field is set at time of
    * analyis and immutable since then.
    * 
* * string display_name = 3 [(.google.api.field_behavior) = IMMUTABLE]; + * * @return The displayName. */ java.lang.String getDisplayName(); /** + * + * *
    * Immutable. Display name of the assigned issue. This field is set at time of
    * analyis and immutable since then.
    * 
* * string display_name = 3 [(.google.api.field_behavior) = IMMUTABLE]; + * * @return The bytes for displayName. */ - com.google.protobuf.ByteString - getDisplayNameBytes(); + com.google.protobuf.ByteString getDisplayNameBytes(); } diff --git a/owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/IssueMatchData.java b/java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/IssueMatchData.java similarity index 66% rename from owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/IssueMatchData.java rename to java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/IssueMatchData.java index 960b3ebc543f..8ad72ae8ebd9 100644 --- a/owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/IssueMatchData.java +++ b/java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/IssueMatchData.java @@ -1,60 +1,81 @@ +/* + * 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. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/contactcenterinsights/v1/resources.proto package com.google.cloud.contactcenterinsights.v1; /** + * + * *
  * The data for an issue match annotation.
  * 
* * Protobuf type {@code google.cloud.contactcenterinsights.v1.IssueMatchData} */ -public final class IssueMatchData extends - com.google.protobuf.GeneratedMessageV3 implements +public final class IssueMatchData extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.contactcenterinsights.v1.IssueMatchData) IssueMatchDataOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use IssueMatchData.newBuilder() to construct. private IssueMatchData(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private IssueMatchData() { - } + + private IssueMatchData() {} @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new IssueMatchData(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.contactcenterinsights.v1.ResourcesProto.internal_static_google_cloud_contactcenterinsights_v1_IssueMatchData_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.contactcenterinsights.v1.ResourcesProto + .internal_static_google_cloud_contactcenterinsights_v1_IssueMatchData_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.contactcenterinsights.v1.ResourcesProto.internal_static_google_cloud_contactcenterinsights_v1_IssueMatchData_fieldAccessorTable + return com.google.cloud.contactcenterinsights.v1.ResourcesProto + .internal_static_google_cloud_contactcenterinsights_v1_IssueMatchData_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.contactcenterinsights.v1.IssueMatchData.class, com.google.cloud.contactcenterinsights.v1.IssueMatchData.Builder.class); + com.google.cloud.contactcenterinsights.v1.IssueMatchData.class, + com.google.cloud.contactcenterinsights.v1.IssueMatchData.Builder.class); } public static final int ISSUE_ASSIGNMENT_FIELD_NUMBER = 1; private com.google.cloud.contactcenterinsights.v1.IssueAssignment issueAssignment_; /** + * + * *
    * Information about the issue's assignment.
    * 
* * .google.cloud.contactcenterinsights.v1.IssueAssignment issue_assignment = 1; + * * @return Whether the issueAssignment field is set. */ @java.lang.Override @@ -62,18 +83,25 @@ public boolean hasIssueAssignment() { return issueAssignment_ != null; } /** + * + * *
    * Information about the issue's assignment.
    * 
* * .google.cloud.contactcenterinsights.v1.IssueAssignment issue_assignment = 1; + * * @return The issueAssignment. */ @java.lang.Override public com.google.cloud.contactcenterinsights.v1.IssueAssignment getIssueAssignment() { - return issueAssignment_ == null ? com.google.cloud.contactcenterinsights.v1.IssueAssignment.getDefaultInstance() : issueAssignment_; + return issueAssignment_ == null + ? com.google.cloud.contactcenterinsights.v1.IssueAssignment.getDefaultInstance() + : issueAssignment_; } /** + * + * *
    * Information about the issue's assignment.
    * 
@@ -81,11 +109,15 @@ public com.google.cloud.contactcenterinsights.v1.IssueAssignment getIssueAssignm * .google.cloud.contactcenterinsights.v1.IssueAssignment issue_assignment = 1; */ @java.lang.Override - public com.google.cloud.contactcenterinsights.v1.IssueAssignmentOrBuilder getIssueAssignmentOrBuilder() { - return issueAssignment_ == null ? com.google.cloud.contactcenterinsights.v1.IssueAssignment.getDefaultInstance() : issueAssignment_; + public com.google.cloud.contactcenterinsights.v1.IssueAssignmentOrBuilder + getIssueAssignmentOrBuilder() { + return issueAssignment_ == null + ? com.google.cloud.contactcenterinsights.v1.IssueAssignment.getDefaultInstance() + : issueAssignment_; } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -97,8 +129,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (issueAssignment_ != null) { output.writeMessage(1, getIssueAssignment()); } @@ -112,8 +143,7 @@ public int getSerializedSize() { size = 0; if (issueAssignment_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, getIssueAssignment()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getIssueAssignment()); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -123,17 +153,17 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.contactcenterinsights.v1.IssueMatchData)) { return super.equals(obj); } - com.google.cloud.contactcenterinsights.v1.IssueMatchData other = (com.google.cloud.contactcenterinsights.v1.IssueMatchData) obj; + com.google.cloud.contactcenterinsights.v1.IssueMatchData other = + (com.google.cloud.contactcenterinsights.v1.IssueMatchData) obj; if (hasIssueAssignment() != other.hasIssueAssignment()) return false; if (hasIssueAssignment()) { - if (!getIssueAssignment() - .equals(other.getIssueAssignment())) return false; + if (!getIssueAssignment().equals(other.getIssueAssignment())) return false; } if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -156,129 +186,136 @@ public int hashCode() { } public static com.google.cloud.contactcenterinsights.v1.IssueMatchData parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.contactcenterinsights.v1.IssueMatchData parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.contactcenterinsights.v1.IssueMatchData parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.contactcenterinsights.v1.IssueMatchData parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.contactcenterinsights.v1.IssueMatchData parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.contactcenterinsights.v1.IssueMatchData parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.contactcenterinsights.v1.IssueMatchData parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.contactcenterinsights.v1.IssueMatchData parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.contactcenterinsights.v1.IssueMatchData parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.contactcenterinsights.v1.IssueMatchData parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.contactcenterinsights.v1.IssueMatchData parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.contactcenterinsights.v1.IssueMatchData parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.contactcenterinsights.v1.IssueMatchData parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.contactcenterinsights.v1.IssueMatchData parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.contactcenterinsights.v1.IssueMatchData prototype) { + + public static Builder newBuilder( + com.google.cloud.contactcenterinsights.v1.IssueMatchData prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * The data for an issue match annotation.
    * 
* * Protobuf type {@code google.cloud.contactcenterinsights.v1.IssueMatchData} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.contactcenterinsights.v1.IssueMatchData) com.google.cloud.contactcenterinsights.v1.IssueMatchDataOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.contactcenterinsights.v1.ResourcesProto.internal_static_google_cloud_contactcenterinsights_v1_IssueMatchData_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.contactcenterinsights.v1.ResourcesProto + .internal_static_google_cloud_contactcenterinsights_v1_IssueMatchData_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.contactcenterinsights.v1.ResourcesProto.internal_static_google_cloud_contactcenterinsights_v1_IssueMatchData_fieldAccessorTable + return com.google.cloud.contactcenterinsights.v1.ResourcesProto + .internal_static_google_cloud_contactcenterinsights_v1_IssueMatchData_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.contactcenterinsights.v1.IssueMatchData.class, com.google.cloud.contactcenterinsights.v1.IssueMatchData.Builder.class); + com.google.cloud.contactcenterinsights.v1.IssueMatchData.class, + com.google.cloud.contactcenterinsights.v1.IssueMatchData.Builder.class); } // Construct using com.google.cloud.contactcenterinsights.v1.IssueMatchData.newBuilder() - private Builder() { - - } + private Builder() {} - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -292,9 +329,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.contactcenterinsights.v1.ResourcesProto.internal_static_google_cloud_contactcenterinsights_v1_IssueMatchData_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.contactcenterinsights.v1.ResourcesProto + .internal_static_google_cloud_contactcenterinsights_v1_IssueMatchData_descriptor; } @java.lang.Override @@ -313,8 +350,11 @@ public com.google.cloud.contactcenterinsights.v1.IssueMatchData build() { @java.lang.Override public com.google.cloud.contactcenterinsights.v1.IssueMatchData buildPartial() { - com.google.cloud.contactcenterinsights.v1.IssueMatchData result = new com.google.cloud.contactcenterinsights.v1.IssueMatchData(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.cloud.contactcenterinsights.v1.IssueMatchData result = + new com.google.cloud.contactcenterinsights.v1.IssueMatchData(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } @@ -322,9 +362,8 @@ public com.google.cloud.contactcenterinsights.v1.IssueMatchData buildPartial() { private void buildPartial0(com.google.cloud.contactcenterinsights.v1.IssueMatchData result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { - result.issueAssignment_ = issueAssignmentBuilder_ == null - ? issueAssignment_ - : issueAssignmentBuilder_.build(); + result.issueAssignment_ = + issueAssignmentBuilder_ == null ? issueAssignment_ : issueAssignmentBuilder_.build(); } } @@ -332,38 +371,39 @@ private void buildPartial0(com.google.cloud.contactcenterinsights.v1.IssueMatchD public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.contactcenterinsights.v1.IssueMatchData) { - return mergeFrom((com.google.cloud.contactcenterinsights.v1.IssueMatchData)other); + return mergeFrom((com.google.cloud.contactcenterinsights.v1.IssueMatchData) other); } else { super.mergeFrom(other); return this; @@ -371,7 +411,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.contactcenterinsights.v1.IssueMatchData other) { - if (other == com.google.cloud.contactcenterinsights.v1.IssueMatchData.getDefaultInstance()) return this; + if (other == com.google.cloud.contactcenterinsights.v1.IssueMatchData.getDefaultInstance()) + return this; if (other.hasIssueAssignment()) { mergeIssueAssignment(other.getIssueAssignment()); } @@ -401,19 +442,19 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - input.readMessage( - getIssueAssignmentFieldBuilder().getBuilder(), - extensionRegistry); - bitField0_ |= 0x00000001; - break; - } // case 10 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + input.readMessage(getIssueAssignmentFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000001; + break; + } // case 10 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -423,45 +464,60 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private com.google.cloud.contactcenterinsights.v1.IssueAssignment issueAssignment_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.contactcenterinsights.v1.IssueAssignment, com.google.cloud.contactcenterinsights.v1.IssueAssignment.Builder, com.google.cloud.contactcenterinsights.v1.IssueAssignmentOrBuilder> issueAssignmentBuilder_; + com.google.cloud.contactcenterinsights.v1.IssueAssignment, + com.google.cloud.contactcenterinsights.v1.IssueAssignment.Builder, + com.google.cloud.contactcenterinsights.v1.IssueAssignmentOrBuilder> + issueAssignmentBuilder_; /** + * + * *
      * Information about the issue's assignment.
      * 
* * .google.cloud.contactcenterinsights.v1.IssueAssignment issue_assignment = 1; + * * @return Whether the issueAssignment field is set. */ public boolean hasIssueAssignment() { return ((bitField0_ & 0x00000001) != 0); } /** + * + * *
      * Information about the issue's assignment.
      * 
* * .google.cloud.contactcenterinsights.v1.IssueAssignment issue_assignment = 1; + * * @return The issueAssignment. */ public com.google.cloud.contactcenterinsights.v1.IssueAssignment getIssueAssignment() { if (issueAssignmentBuilder_ == null) { - return issueAssignment_ == null ? com.google.cloud.contactcenterinsights.v1.IssueAssignment.getDefaultInstance() : issueAssignment_; + return issueAssignment_ == null + ? com.google.cloud.contactcenterinsights.v1.IssueAssignment.getDefaultInstance() + : issueAssignment_; } else { return issueAssignmentBuilder_.getMessage(); } } /** + * + * *
      * Information about the issue's assignment.
      * 
* * .google.cloud.contactcenterinsights.v1.IssueAssignment issue_assignment = 1; */ - public Builder setIssueAssignment(com.google.cloud.contactcenterinsights.v1.IssueAssignment value) { + public Builder setIssueAssignment( + com.google.cloud.contactcenterinsights.v1.IssueAssignment value) { if (issueAssignmentBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -475,6 +531,8 @@ public Builder setIssueAssignment(com.google.cloud.contactcenterinsights.v1.Issu return this; } /** + * + * *
      * Information about the issue's assignment.
      * 
@@ -493,17 +551,21 @@ public Builder setIssueAssignment( return this; } /** + * + * *
      * Information about the issue's assignment.
      * 
* * .google.cloud.contactcenterinsights.v1.IssueAssignment issue_assignment = 1; */ - public Builder mergeIssueAssignment(com.google.cloud.contactcenterinsights.v1.IssueAssignment value) { + public Builder mergeIssueAssignment( + com.google.cloud.contactcenterinsights.v1.IssueAssignment value) { if (issueAssignmentBuilder_ == null) { - if (((bitField0_ & 0x00000001) != 0) && - issueAssignment_ != null && - issueAssignment_ != com.google.cloud.contactcenterinsights.v1.IssueAssignment.getDefaultInstance()) { + if (((bitField0_ & 0x00000001) != 0) + && issueAssignment_ != null + && issueAssignment_ + != com.google.cloud.contactcenterinsights.v1.IssueAssignment.getDefaultInstance()) { getIssueAssignmentBuilder().mergeFrom(value); } else { issueAssignment_ = value; @@ -516,6 +578,8 @@ public Builder mergeIssueAssignment(com.google.cloud.contactcenterinsights.v1.Is return this; } /** + * + * *
      * Information about the issue's assignment.
      * 
@@ -533,33 +597,42 @@ public Builder clearIssueAssignment() { return this; } /** + * + * *
      * Information about the issue's assignment.
      * 
* * .google.cloud.contactcenterinsights.v1.IssueAssignment issue_assignment = 1; */ - public com.google.cloud.contactcenterinsights.v1.IssueAssignment.Builder getIssueAssignmentBuilder() { + public com.google.cloud.contactcenterinsights.v1.IssueAssignment.Builder + getIssueAssignmentBuilder() { bitField0_ |= 0x00000001; onChanged(); return getIssueAssignmentFieldBuilder().getBuilder(); } /** + * + * *
      * Information about the issue's assignment.
      * 
* * .google.cloud.contactcenterinsights.v1.IssueAssignment issue_assignment = 1; */ - public com.google.cloud.contactcenterinsights.v1.IssueAssignmentOrBuilder getIssueAssignmentOrBuilder() { + public com.google.cloud.contactcenterinsights.v1.IssueAssignmentOrBuilder + getIssueAssignmentOrBuilder() { if (issueAssignmentBuilder_ != null) { return issueAssignmentBuilder_.getMessageOrBuilder(); } else { - return issueAssignment_ == null ? - com.google.cloud.contactcenterinsights.v1.IssueAssignment.getDefaultInstance() : issueAssignment_; + return issueAssignment_ == null + ? com.google.cloud.contactcenterinsights.v1.IssueAssignment.getDefaultInstance() + : issueAssignment_; } } /** + * + * *
      * Information about the issue's assignment.
      * 
@@ -567,21 +640,24 @@ public com.google.cloud.contactcenterinsights.v1.IssueAssignmentOrBuilder getIss * .google.cloud.contactcenterinsights.v1.IssueAssignment issue_assignment = 1; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.contactcenterinsights.v1.IssueAssignment, com.google.cloud.contactcenterinsights.v1.IssueAssignment.Builder, com.google.cloud.contactcenterinsights.v1.IssueAssignmentOrBuilder> + com.google.cloud.contactcenterinsights.v1.IssueAssignment, + com.google.cloud.contactcenterinsights.v1.IssueAssignment.Builder, + com.google.cloud.contactcenterinsights.v1.IssueAssignmentOrBuilder> getIssueAssignmentFieldBuilder() { if (issueAssignmentBuilder_ == null) { - issueAssignmentBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.contactcenterinsights.v1.IssueAssignment, com.google.cloud.contactcenterinsights.v1.IssueAssignment.Builder, com.google.cloud.contactcenterinsights.v1.IssueAssignmentOrBuilder>( - getIssueAssignment(), - getParentForChildren(), - isClean()); + issueAssignmentBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.contactcenterinsights.v1.IssueAssignment, + com.google.cloud.contactcenterinsights.v1.IssueAssignment.Builder, + com.google.cloud.contactcenterinsights.v1.IssueAssignmentOrBuilder>( + getIssueAssignment(), getParentForChildren(), isClean()); issueAssignment_ = null; } return issueAssignmentBuilder_; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -591,12 +667,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.contactcenterinsights.v1.IssueMatchData) } // @@protoc_insertion_point(class_scope:google.cloud.contactcenterinsights.v1.IssueMatchData) private static final com.google.cloud.contactcenterinsights.v1.IssueMatchData DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.contactcenterinsights.v1.IssueMatchData(); } @@ -605,27 +681,27 @@ public static com.google.cloud.contactcenterinsights.v1.IssueMatchData getDefaul return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public IssueMatchData parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public IssueMatchData parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -640,6 +716,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.contactcenterinsights.v1.IssueMatchData getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/IssueMatchDataOrBuilder.java b/java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/IssueMatchDataOrBuilder.java similarity index 63% rename from owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/IssueMatchDataOrBuilder.java rename to java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/IssueMatchDataOrBuilder.java index 56b593731691..f4aeb90d0d05 100644 --- a/owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/IssueMatchDataOrBuilder.java +++ b/java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/IssueMatchDataOrBuilder.java @@ -1,31 +1,55 @@ +/* + * 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. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/contactcenterinsights/v1/resources.proto package com.google.cloud.contactcenterinsights.v1; -public interface IssueMatchDataOrBuilder extends +public interface IssueMatchDataOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.contactcenterinsights.v1.IssueMatchData) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Information about the issue's assignment.
    * 
* * .google.cloud.contactcenterinsights.v1.IssueAssignment issue_assignment = 1; + * * @return Whether the issueAssignment field is set. */ boolean hasIssueAssignment(); /** + * + * *
    * Information about the issue's assignment.
    * 
* * .google.cloud.contactcenterinsights.v1.IssueAssignment issue_assignment = 1; + * * @return The issueAssignment. */ com.google.cloud.contactcenterinsights.v1.IssueAssignment getIssueAssignment(); /** + * + * *
    * Information about the issue's assignment.
    * 
diff --git a/owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/IssueModel.java b/java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/IssueModel.java similarity index 64% rename from owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/IssueModel.java rename to java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/IssueModel.java index a92637fc695e..d7d215e15302 100644 --- a/owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/IssueModel.java +++ b/java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/IssueModel.java @@ -1,24 +1,42 @@ +/* + * 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. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/contactcenterinsights/v1/resources.proto package com.google.cloud.contactcenterinsights.v1; /** + * + * *
  * The issue model resource.
  * 
* * Protobuf type {@code google.cloud.contactcenterinsights.v1.IssueModel} */ -public final class IssueModel extends - com.google.protobuf.GeneratedMessageV3 implements +public final class IssueModel extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.contactcenterinsights.v1.IssueModel) IssueModelOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use IssueModel.newBuilder() to construct. private IssueModel(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private IssueModel() { name_ = ""; displayName_ = ""; @@ -27,39 +45,43 @@ private IssueModel() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new IssueModel(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.contactcenterinsights.v1.ResourcesProto.internal_static_google_cloud_contactcenterinsights_v1_IssueModel_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.contactcenterinsights.v1.ResourcesProto + .internal_static_google_cloud_contactcenterinsights_v1_IssueModel_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.contactcenterinsights.v1.ResourcesProto.internal_static_google_cloud_contactcenterinsights_v1_IssueModel_fieldAccessorTable + return com.google.cloud.contactcenterinsights.v1.ResourcesProto + .internal_static_google_cloud_contactcenterinsights_v1_IssueModel_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.contactcenterinsights.v1.IssueModel.class, com.google.cloud.contactcenterinsights.v1.IssueModel.Builder.class); + com.google.cloud.contactcenterinsights.v1.IssueModel.class, + com.google.cloud.contactcenterinsights.v1.IssueModel.Builder.class); } /** + * + * *
    * State of the model.
    * 
* * Protobuf enum {@code google.cloud.contactcenterinsights.v1.IssueModel.State} */ - public enum State - implements com.google.protobuf.ProtocolMessageEnum { + public enum State implements com.google.protobuf.ProtocolMessageEnum { /** + * + * *
      * Unspecified.
      * 
@@ -68,6 +90,8 @@ public enum State */ STATE_UNSPECIFIED(0), /** + * + * *
      * Model is not deployed but is ready to deploy.
      * 
@@ -76,6 +100,8 @@ public enum State */ UNDEPLOYED(1), /** + * + * *
      * Model is being deployed.
      * 
@@ -84,6 +110,8 @@ public enum State */ DEPLOYING(2), /** + * + * *
      * Model is deployed and is ready to be used. A model can only be used in
      * analysis if it's in this state.
@@ -93,6 +121,8 @@ public enum State
      */
     DEPLOYED(3),
     /**
+     *
+     *
      * 
      * Model is being undeployed.
      * 
@@ -101,6 +131,8 @@ public enum State */ UNDEPLOYING(4), /** + * + * *
      * Model is being deleted.
      * 
@@ -112,6 +144,8 @@ public enum State ; /** + * + * *
      * Unspecified.
      * 
@@ -120,6 +154,8 @@ public enum State */ public static final int STATE_UNSPECIFIED_VALUE = 0; /** + * + * *
      * Model is not deployed but is ready to deploy.
      * 
@@ -128,6 +164,8 @@ public enum State */ public static final int UNDEPLOYED_VALUE = 1; /** + * + * *
      * Model is being deployed.
      * 
@@ -136,6 +174,8 @@ public enum State */ public static final int DEPLOYING_VALUE = 2; /** + * + * *
      * Model is deployed and is ready to be used. A model can only be used in
      * analysis if it's in this state.
@@ -145,6 +185,8 @@ public enum State
      */
     public static final int DEPLOYED_VALUE = 3;
     /**
+     *
+     *
      * 
      * Model is being undeployed.
      * 
@@ -153,6 +195,8 @@ public enum State */ public static final int UNDEPLOYING_VALUE = 4; /** + * + * *
      * Model is being deleted.
      * 
@@ -161,7 +205,6 @@ public enum State */ public static final int DELETING_VALUE = 5; - public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -186,52 +229,57 @@ public static State valueOf(int value) { */ public static State forNumber(int value) { switch (value) { - case 0: return STATE_UNSPECIFIED; - case 1: return UNDEPLOYED; - case 2: return DEPLOYING; - case 3: return DEPLOYED; - case 4: return UNDEPLOYING; - case 5: return DELETING; - default: return null; - } - } - - public static com.google.protobuf.Internal.EnumLiteMap - internalGetValueMap() { + case 0: + return STATE_UNSPECIFIED; + case 1: + return UNDEPLOYED; + case 2: + return DEPLOYING; + case 3: + return DEPLOYED; + case 4: + return UNDEPLOYING; + case 5: + return DELETING; + default: + return null; + } + } + + public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() { return internalValueMap; } - private static final com.google.protobuf.Internal.EnumLiteMap< - State> internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public State findValueByNumber(int number) { - return State.forNumber(number); - } - }; - public final com.google.protobuf.Descriptors.EnumValueDescriptor - getValueDescriptor() { + private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public State findValueByNumber(int number) { + return State.forNumber(number); + } + }; + + public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalStateException( "Can't get the descriptor of an unrecognized enum value."); } return getDescriptor().getValues().get(ordinal()); } - public final com.google.protobuf.Descriptors.EnumDescriptor - getDescriptorForType() { + + public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() { return getDescriptor(); } - public static final com.google.protobuf.Descriptors.EnumDescriptor - getDescriptor() { - return com.google.cloud.contactcenterinsights.v1.IssueModel.getDescriptor().getEnumTypes().get(0); + + public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { + return com.google.cloud.contactcenterinsights.v1.IssueModel.getDescriptor() + .getEnumTypes() + .get(0); } private static final State[] VALUES = values(); - public static State valueOf( - com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + public static State valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) { if (desc.getType() != getDescriptor()) { - throw new java.lang.IllegalArgumentException( - "EnumValueDescriptor is not for this type."); + throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type."); } if (desc.getIndex() == -1) { return UNRECOGNIZED; @@ -248,85 +296,110 @@ private State(int value) { // @@protoc_insertion_point(enum_scope:google.cloud.contactcenterinsights.v1.IssueModel.State) } - public interface InputDataConfigOrBuilder extends + public interface InputDataConfigOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.contactcenterinsights.v1.IssueModel.InputDataConfig) com.google.protobuf.MessageOrBuilder { /** + * + * *
      * Medium of conversations used in training data. This field is being
      * deprecated. To specify the medium to be used in training a new issue
      * model, set the `medium` field on `filter`.
      * 
* - * .google.cloud.contactcenterinsights.v1.Conversation.Medium medium = 1 [deprecated = true]; - * @deprecated google.cloud.contactcenterinsights.v1.IssueModel.InputDataConfig.medium is deprecated. - * See google/cloud/contactcenterinsights/v1/resources.proto;l=611 + * + * .google.cloud.contactcenterinsights.v1.Conversation.Medium medium = 1 [deprecated = true]; + * + * + * @deprecated google.cloud.contactcenterinsights.v1.IssueModel.InputDataConfig.medium is + * deprecated. See google/cloud/contactcenterinsights/v1/resources.proto;l=611 * @return The enum numeric value on the wire for medium. */ - @java.lang.Deprecated int getMediumValue(); + @java.lang.Deprecated + int getMediumValue(); /** + * + * *
      * Medium of conversations used in training data. This field is being
      * deprecated. To specify the medium to be used in training a new issue
      * model, set the `medium` field on `filter`.
      * 
* - * .google.cloud.contactcenterinsights.v1.Conversation.Medium medium = 1 [deprecated = true]; - * @deprecated google.cloud.contactcenterinsights.v1.IssueModel.InputDataConfig.medium is deprecated. - * See google/cloud/contactcenterinsights/v1/resources.proto;l=611 + * + * .google.cloud.contactcenterinsights.v1.Conversation.Medium medium = 1 [deprecated = true]; + * + * + * @deprecated google.cloud.contactcenterinsights.v1.IssueModel.InputDataConfig.medium is + * deprecated. See google/cloud/contactcenterinsights/v1/resources.proto;l=611 * @return The medium. */ - @java.lang.Deprecated com.google.cloud.contactcenterinsights.v1.Conversation.Medium getMedium(); + @java.lang.Deprecated + com.google.cloud.contactcenterinsights.v1.Conversation.Medium getMedium(); /** + * + * *
      * Output only. Number of conversations used in training. Output only.
      * 
* - * int64 training_conversations_count = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * int64 training_conversations_count = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The trainingConversationsCount. */ long getTrainingConversationsCount(); /** + * + * *
      * A filter to reduce the conversations used for training the model to a
      * specific subset.
      * 
* * string filter = 3; + * * @return The filter. */ java.lang.String getFilter(); /** + * + * *
      * A filter to reduce the conversations used for training the model to a
      * specific subset.
      * 
* * string filter = 3; + * * @return The bytes for filter. */ - com.google.protobuf.ByteString - getFilterBytes(); + com.google.protobuf.ByteString getFilterBytes(); } /** + * + * *
    * Configs for the input data used to create the issue model.
    * 
* * Protobuf type {@code google.cloud.contactcenterinsights.v1.IssueModel.InputDataConfig} */ - public static final class InputDataConfig extends - com.google.protobuf.GeneratedMessageV3 implements + public static final class InputDataConfig extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.contactcenterinsights.v1.IssueModel.InputDataConfig) InputDataConfigOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use InputDataConfig.newBuilder() to construct. private InputDataConfig(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private InputDataConfig() { medium_ = 0; filter_ = ""; @@ -334,71 +407,93 @@ private InputDataConfig() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new InputDataConfig(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.contactcenterinsights.v1.ResourcesProto.internal_static_google_cloud_contactcenterinsights_v1_IssueModel_InputDataConfig_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.contactcenterinsights.v1.ResourcesProto + .internal_static_google_cloud_contactcenterinsights_v1_IssueModel_InputDataConfig_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.contactcenterinsights.v1.ResourcesProto.internal_static_google_cloud_contactcenterinsights_v1_IssueModel_InputDataConfig_fieldAccessorTable + return com.google.cloud.contactcenterinsights.v1.ResourcesProto + .internal_static_google_cloud_contactcenterinsights_v1_IssueModel_InputDataConfig_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.contactcenterinsights.v1.IssueModel.InputDataConfig.class, com.google.cloud.contactcenterinsights.v1.IssueModel.InputDataConfig.Builder.class); + com.google.cloud.contactcenterinsights.v1.IssueModel.InputDataConfig.class, + com.google.cloud.contactcenterinsights.v1.IssueModel.InputDataConfig.Builder.class); } public static final int MEDIUM_FIELD_NUMBER = 1; private int medium_ = 0; /** + * + * *
      * Medium of conversations used in training data. This field is being
      * deprecated. To specify the medium to be used in training a new issue
      * model, set the `medium` field on `filter`.
      * 
* - * .google.cloud.contactcenterinsights.v1.Conversation.Medium medium = 1 [deprecated = true]; - * @deprecated google.cloud.contactcenterinsights.v1.IssueModel.InputDataConfig.medium is deprecated. - * See google/cloud/contactcenterinsights/v1/resources.proto;l=611 + * + * .google.cloud.contactcenterinsights.v1.Conversation.Medium medium = 1 [deprecated = true]; + * + * + * @deprecated google.cloud.contactcenterinsights.v1.IssueModel.InputDataConfig.medium is + * deprecated. See google/cloud/contactcenterinsights/v1/resources.proto;l=611 * @return The enum numeric value on the wire for medium. */ - @java.lang.Override @java.lang.Deprecated public int getMediumValue() { + @java.lang.Override + @java.lang.Deprecated + public int getMediumValue() { return medium_; } /** + * + * *
      * Medium of conversations used in training data. This field is being
      * deprecated. To specify the medium to be used in training a new issue
      * model, set the `medium` field on `filter`.
      * 
* - * .google.cloud.contactcenterinsights.v1.Conversation.Medium medium = 1 [deprecated = true]; - * @deprecated google.cloud.contactcenterinsights.v1.IssueModel.InputDataConfig.medium is deprecated. - * See google/cloud/contactcenterinsights/v1/resources.proto;l=611 + * + * .google.cloud.contactcenterinsights.v1.Conversation.Medium medium = 1 [deprecated = true]; + * + * + * @deprecated google.cloud.contactcenterinsights.v1.IssueModel.InputDataConfig.medium is + * deprecated. See google/cloud/contactcenterinsights/v1/resources.proto;l=611 * @return The medium. */ - @java.lang.Override @java.lang.Deprecated public com.google.cloud.contactcenterinsights.v1.Conversation.Medium getMedium() { - com.google.cloud.contactcenterinsights.v1.Conversation.Medium result = com.google.cloud.contactcenterinsights.v1.Conversation.Medium.forNumber(medium_); - return result == null ? com.google.cloud.contactcenterinsights.v1.Conversation.Medium.UNRECOGNIZED : result; + @java.lang.Override + @java.lang.Deprecated + public com.google.cloud.contactcenterinsights.v1.Conversation.Medium getMedium() { + com.google.cloud.contactcenterinsights.v1.Conversation.Medium result = + com.google.cloud.contactcenterinsights.v1.Conversation.Medium.forNumber(medium_); + return result == null + ? com.google.cloud.contactcenterinsights.v1.Conversation.Medium.UNRECOGNIZED + : result; } public static final int TRAINING_CONVERSATIONS_COUNT_FIELD_NUMBER = 2; private long trainingConversationsCount_ = 0L; /** + * + * *
      * Output only. Number of conversations used in training. Output only.
      * 
* - * int64 training_conversations_count = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * int64 training_conversations_count = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The trainingConversationsCount. */ @java.lang.Override @@ -407,15 +502,19 @@ public long getTrainingConversationsCount() { } public static final int FILTER_FIELD_NUMBER = 3; + @SuppressWarnings("serial") private volatile java.lang.Object filter_ = ""; /** + * + * *
      * A filter to reduce the conversations used for training the model to a
      * specific subset.
      * 
* * string filter = 3; + * * @return The filter. */ @java.lang.Override @@ -424,30 +523,30 @@ public java.lang.String getFilter() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); filter_ = s; return s; } } /** + * + * *
      * A filter to reduce the conversations used for training the model to a
      * specific subset.
      * 
* * string filter = 3; + * * @return The bytes for filter. */ @java.lang.Override - public com.google.protobuf.ByteString - getFilterBytes() { + public com.google.protobuf.ByteString getFilterBytes() { java.lang.Object ref = filter_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); filter_ = b; return b; } else { @@ -456,6 +555,7 @@ public java.lang.String getFilter() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -467,9 +567,10 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { - if (medium_ != com.google.cloud.contactcenterinsights.v1.Conversation.Medium.MEDIUM_UNSPECIFIED.getNumber()) { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + if (medium_ + != com.google.cloud.contactcenterinsights.v1.Conversation.Medium.MEDIUM_UNSPECIFIED + .getNumber()) { output.writeEnum(1, medium_); } if (trainingConversationsCount_ != 0L) { @@ -487,13 +588,14 @@ public int getSerializedSize() { if (size != -1) return size; size = 0; - if (medium_ != com.google.cloud.contactcenterinsights.v1.Conversation.Medium.MEDIUM_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(1, medium_); + if (medium_ + != com.google.cloud.contactcenterinsights.v1.Conversation.Medium.MEDIUM_UNSPECIFIED + .getNumber()) { + size += com.google.protobuf.CodedOutputStream.computeEnumSize(1, medium_); } if (trainingConversationsCount_ != 0L) { - size += com.google.protobuf.CodedOutputStream - .computeInt64Size(2, trainingConversationsCount_); + size += + com.google.protobuf.CodedOutputStream.computeInt64Size(2, trainingConversationsCount_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(filter_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, filter_); @@ -506,18 +608,17 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.contactcenterinsights.v1.IssueModel.InputDataConfig)) { return super.equals(obj); } - com.google.cloud.contactcenterinsights.v1.IssueModel.InputDataConfig other = (com.google.cloud.contactcenterinsights.v1.IssueModel.InputDataConfig) obj; + com.google.cloud.contactcenterinsights.v1.IssueModel.InputDataConfig other = + (com.google.cloud.contactcenterinsights.v1.IssueModel.InputDataConfig) obj; if (medium_ != other.medium_) return false; - if (getTrainingConversationsCount() - != other.getTrainingConversationsCount()) return false; - if (!getFilter() - .equals(other.getFilter())) return false; + if (getTrainingConversationsCount() != other.getTrainingConversationsCount()) return false; + if (!getFilter().equals(other.getFilter())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -532,8 +633,7 @@ public int hashCode() { hash = (37 * hash) + MEDIUM_FIELD_NUMBER; hash = (53 * hash) + medium_; hash = (37 * hash) + TRAINING_CONVERSATIONS_COUNT_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashLong( - getTrainingConversationsCount()); + hash = (53 * hash) + com.google.protobuf.Internal.hashLong(getTrainingConversationsCount()); hash = (37 * hash) + FILTER_FIELD_NUMBER; hash = (53 * hash) + getFilter().hashCode(); hash = (29 * hash) + getUnknownFields().hashCode(); @@ -542,87 +642,95 @@ public int hashCode() { } public static com.google.cloud.contactcenterinsights.v1.IssueModel.InputDataConfig parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.contactcenterinsights.v1.IssueModel.InputDataConfig parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.contactcenterinsights.v1.IssueModel.InputDataConfig parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.contactcenterinsights.v1.IssueModel.InputDataConfig parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.contactcenterinsights.v1.IssueModel.InputDataConfig parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.contactcenterinsights.v1.IssueModel.InputDataConfig parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.contactcenterinsights.v1.IssueModel.InputDataConfig parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.contactcenterinsights.v1.IssueModel.InputDataConfig parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.contactcenterinsights.v1.IssueModel.InputDataConfig parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.contactcenterinsights.v1.IssueModel.InputDataConfig parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.contactcenterinsights.v1.IssueModel.InputDataConfig parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.contactcenterinsights.v1.IssueModel.InputDataConfig + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.contactcenterinsights.v1.IssueModel.InputDataConfig parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + + public static com.google.cloud.contactcenterinsights.v1.IssueModel.InputDataConfig + parseDelimitedFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.contactcenterinsights.v1.IssueModel.InputDataConfig parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.contactcenterinsights.v1.IssueModel.InputDataConfig parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.contactcenterinsights.v1.IssueModel.InputDataConfig prototype) { + + public static Builder newBuilder( + com.google.cloud.contactcenterinsights.v1.IssueModel.InputDataConfig prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -632,39 +740,42 @@ protected Builder newBuilderForType( return builder; } /** + * + * *
      * Configs for the input data used to create the issue model.
      * 
* * Protobuf type {@code google.cloud.contactcenterinsights.v1.IssueModel.InputDataConfig} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder + extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.contactcenterinsights.v1.IssueModel.InputDataConfig) com.google.cloud.contactcenterinsights.v1.IssueModel.InputDataConfigOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.contactcenterinsights.v1.ResourcesProto.internal_static_google_cloud_contactcenterinsights_v1_IssueModel_InputDataConfig_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.contactcenterinsights.v1.ResourcesProto + .internal_static_google_cloud_contactcenterinsights_v1_IssueModel_InputDataConfig_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.contactcenterinsights.v1.ResourcesProto.internal_static_google_cloud_contactcenterinsights_v1_IssueModel_InputDataConfig_fieldAccessorTable + return com.google.cloud.contactcenterinsights.v1.ResourcesProto + .internal_static_google_cloud_contactcenterinsights_v1_IssueModel_InputDataConfig_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.contactcenterinsights.v1.IssueModel.InputDataConfig.class, com.google.cloud.contactcenterinsights.v1.IssueModel.InputDataConfig.Builder.class); + com.google.cloud.contactcenterinsights.v1.IssueModel.InputDataConfig.class, + com.google.cloud.contactcenterinsights.v1.IssueModel.InputDataConfig.Builder.class); } - // Construct using com.google.cloud.contactcenterinsights.v1.IssueModel.InputDataConfig.newBuilder() - private Builder() { + // Construct using + // com.google.cloud.contactcenterinsights.v1.IssueModel.InputDataConfig.newBuilder() + private Builder() {} - } - - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -676,19 +787,22 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.contactcenterinsights.v1.ResourcesProto.internal_static_google_cloud_contactcenterinsights_v1_IssueModel_InputDataConfig_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.contactcenterinsights.v1.ResourcesProto + .internal_static_google_cloud_contactcenterinsights_v1_IssueModel_InputDataConfig_descriptor; } @java.lang.Override - public com.google.cloud.contactcenterinsights.v1.IssueModel.InputDataConfig getDefaultInstanceForType() { - return com.google.cloud.contactcenterinsights.v1.IssueModel.InputDataConfig.getDefaultInstance(); + public com.google.cloud.contactcenterinsights.v1.IssueModel.InputDataConfig + getDefaultInstanceForType() { + return com.google.cloud.contactcenterinsights.v1.IssueModel.InputDataConfig + .getDefaultInstance(); } @java.lang.Override public com.google.cloud.contactcenterinsights.v1.IssueModel.InputDataConfig build() { - com.google.cloud.contactcenterinsights.v1.IssueModel.InputDataConfig result = buildPartial(); + com.google.cloud.contactcenterinsights.v1.IssueModel.InputDataConfig result = + buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } @@ -697,13 +811,17 @@ public com.google.cloud.contactcenterinsights.v1.IssueModel.InputDataConfig buil @java.lang.Override public com.google.cloud.contactcenterinsights.v1.IssueModel.InputDataConfig buildPartial() { - com.google.cloud.contactcenterinsights.v1.IssueModel.InputDataConfig result = new com.google.cloud.contactcenterinsights.v1.IssueModel.InputDataConfig(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.cloud.contactcenterinsights.v1.IssueModel.InputDataConfig result = + new com.google.cloud.contactcenterinsights.v1.IssueModel.InputDataConfig(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } - private void buildPartial0(com.google.cloud.contactcenterinsights.v1.IssueModel.InputDataConfig result) { + private void buildPartial0( + com.google.cloud.contactcenterinsights.v1.IssueModel.InputDataConfig result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { result.medium_ = medium_; @@ -720,46 +838,53 @@ private void buildPartial0(com.google.cloud.contactcenterinsights.v1.IssueModel. public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + int index, + java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.contactcenterinsights.v1.IssueModel.InputDataConfig) { - return mergeFrom((com.google.cloud.contactcenterinsights.v1.IssueModel.InputDataConfig)other); + return mergeFrom( + (com.google.cloud.contactcenterinsights.v1.IssueModel.InputDataConfig) other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.google.cloud.contactcenterinsights.v1.IssueModel.InputDataConfig other) { - if (other == com.google.cloud.contactcenterinsights.v1.IssueModel.InputDataConfig.getDefaultInstance()) return this; + public Builder mergeFrom( + com.google.cloud.contactcenterinsights.v1.IssueModel.InputDataConfig other) { + if (other + == com.google.cloud.contactcenterinsights.v1.IssueModel.InputDataConfig + .getDefaultInstance()) return this; if (other.medium_ != 0) { setMediumValue(other.getMediumValue()); } @@ -797,27 +922,31 @@ public Builder mergeFrom( case 0: done = true; break; - case 8: { - medium_ = input.readEnum(); - bitField0_ |= 0x00000001; - break; - } // case 8 - case 16: { - trainingConversationsCount_ = input.readInt64(); - bitField0_ |= 0x00000002; - break; - } // case 16 - case 26: { - filter_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000004; - break; - } // case 26 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 8: + { + medium_ = input.readEnum(); + bitField0_ |= 0x00000001; + break; + } // case 8 + case 16: + { + trainingConversationsCount_ = input.readInt64(); + bitField0_ |= 0x00000002; + break; + } // case 16 + case 26: + { + filter_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000004; + break; + } // case 26 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -827,74 +956,104 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private int medium_ = 0; /** + * + * *
        * Medium of conversations used in training data. This field is being
        * deprecated. To specify the medium to be used in training a new issue
        * model, set the `medium` field on `filter`.
        * 
* - * .google.cloud.contactcenterinsights.v1.Conversation.Medium medium = 1 [deprecated = true]; - * @deprecated google.cloud.contactcenterinsights.v1.IssueModel.InputDataConfig.medium is deprecated. - * See google/cloud/contactcenterinsights/v1/resources.proto;l=611 + * + * .google.cloud.contactcenterinsights.v1.Conversation.Medium medium = 1 [deprecated = true]; + * + * + * @deprecated google.cloud.contactcenterinsights.v1.IssueModel.InputDataConfig.medium is + * deprecated. See google/cloud/contactcenterinsights/v1/resources.proto;l=611 * @return The enum numeric value on the wire for medium. */ - @java.lang.Override @java.lang.Deprecated public int getMediumValue() { + @java.lang.Override + @java.lang.Deprecated + public int getMediumValue() { return medium_; } /** + * + * *
        * Medium of conversations used in training data. This field is being
        * deprecated. To specify the medium to be used in training a new issue
        * model, set the `medium` field on `filter`.
        * 
* - * .google.cloud.contactcenterinsights.v1.Conversation.Medium medium = 1 [deprecated = true]; - * @deprecated google.cloud.contactcenterinsights.v1.IssueModel.InputDataConfig.medium is deprecated. - * See google/cloud/contactcenterinsights/v1/resources.proto;l=611 + * + * .google.cloud.contactcenterinsights.v1.Conversation.Medium medium = 1 [deprecated = true]; + * + * + * @deprecated google.cloud.contactcenterinsights.v1.IssueModel.InputDataConfig.medium is + * deprecated. See google/cloud/contactcenterinsights/v1/resources.proto;l=611 * @param value The enum numeric value on the wire for medium to set. * @return This builder for chaining. */ - @java.lang.Deprecated public Builder setMediumValue(int value) { + @java.lang.Deprecated + public Builder setMediumValue(int value) { medium_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
        * Medium of conversations used in training data. This field is being
        * deprecated. To specify the medium to be used in training a new issue
        * model, set the `medium` field on `filter`.
        * 
* - * .google.cloud.contactcenterinsights.v1.Conversation.Medium medium = 1 [deprecated = true]; - * @deprecated google.cloud.contactcenterinsights.v1.IssueModel.InputDataConfig.medium is deprecated. - * See google/cloud/contactcenterinsights/v1/resources.proto;l=611 + * + * .google.cloud.contactcenterinsights.v1.Conversation.Medium medium = 1 [deprecated = true]; + * + * + * @deprecated google.cloud.contactcenterinsights.v1.IssueModel.InputDataConfig.medium is + * deprecated. See google/cloud/contactcenterinsights/v1/resources.proto;l=611 * @return The medium. */ @java.lang.Override - @java.lang.Deprecated public com.google.cloud.contactcenterinsights.v1.Conversation.Medium getMedium() { - com.google.cloud.contactcenterinsights.v1.Conversation.Medium result = com.google.cloud.contactcenterinsights.v1.Conversation.Medium.forNumber(medium_); - return result == null ? com.google.cloud.contactcenterinsights.v1.Conversation.Medium.UNRECOGNIZED : result; + @java.lang.Deprecated + public com.google.cloud.contactcenterinsights.v1.Conversation.Medium getMedium() { + com.google.cloud.contactcenterinsights.v1.Conversation.Medium result = + com.google.cloud.contactcenterinsights.v1.Conversation.Medium.forNumber(medium_); + return result == null + ? com.google.cloud.contactcenterinsights.v1.Conversation.Medium.UNRECOGNIZED + : result; } /** + * + * *
        * Medium of conversations used in training data. This field is being
        * deprecated. To specify the medium to be used in training a new issue
        * model, set the `medium` field on `filter`.
        * 
* - * .google.cloud.contactcenterinsights.v1.Conversation.Medium medium = 1 [deprecated = true]; - * @deprecated google.cloud.contactcenterinsights.v1.IssueModel.InputDataConfig.medium is deprecated. - * See google/cloud/contactcenterinsights/v1/resources.proto;l=611 + * + * .google.cloud.contactcenterinsights.v1.Conversation.Medium medium = 1 [deprecated = true]; + * + * + * @deprecated google.cloud.contactcenterinsights.v1.IssueModel.InputDataConfig.medium is + * deprecated. See google/cloud/contactcenterinsights/v1/resources.proto;l=611 * @param value The medium to set. * @return This builder for chaining. */ - @java.lang.Deprecated public Builder setMedium(com.google.cloud.contactcenterinsights.v1.Conversation.Medium value) { + @java.lang.Deprecated + public Builder setMedium( + com.google.cloud.contactcenterinsights.v1.Conversation.Medium value) { if (value == null) { throw new NullPointerException(); } @@ -904,31 +1063,41 @@ public Builder mergeFrom( return this; } /** + * + * *
        * Medium of conversations used in training data. This field is being
        * deprecated. To specify the medium to be used in training a new issue
        * model, set the `medium` field on `filter`.
        * 
* - * .google.cloud.contactcenterinsights.v1.Conversation.Medium medium = 1 [deprecated = true]; - * @deprecated google.cloud.contactcenterinsights.v1.IssueModel.InputDataConfig.medium is deprecated. - * See google/cloud/contactcenterinsights/v1/resources.proto;l=611 + * + * .google.cloud.contactcenterinsights.v1.Conversation.Medium medium = 1 [deprecated = true]; + * + * + * @deprecated google.cloud.contactcenterinsights.v1.IssueModel.InputDataConfig.medium is + * deprecated. See google/cloud/contactcenterinsights/v1/resources.proto;l=611 * @return This builder for chaining. */ - @java.lang.Deprecated public Builder clearMedium() { + @java.lang.Deprecated + public Builder clearMedium() { bitField0_ = (bitField0_ & ~0x00000001); medium_ = 0; onChanged(); return this; } - private long trainingConversationsCount_ ; + private long trainingConversationsCount_; /** + * + * *
        * Output only. Number of conversations used in training. Output only.
        * 
* - * int64 training_conversations_count = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * int64 training_conversations_count = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The trainingConversationsCount. */ @java.lang.Override @@ -936,27 +1105,35 @@ public long getTrainingConversationsCount() { return trainingConversationsCount_; } /** + * + * *
        * Output only. Number of conversations used in training. Output only.
        * 
* - * int64 training_conversations_count = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * int64 training_conversations_count = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @param value The trainingConversationsCount to set. * @return This builder for chaining. */ public Builder setTrainingConversationsCount(long value) { - + trainingConversationsCount_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** + * + * *
        * Output only. Number of conversations used in training. Output only.
        * 
* - * int64 training_conversations_count = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * int64 training_conversations_count = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return This builder for chaining. */ public Builder clearTrainingConversationsCount() { @@ -968,19 +1145,21 @@ public Builder clearTrainingConversationsCount() { private java.lang.Object filter_ = ""; /** + * + * *
        * A filter to reduce the conversations used for training the model to a
        * specific subset.
        * 
* * string filter = 3; + * * @return The filter. */ public java.lang.String getFilter() { java.lang.Object ref = filter_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); filter_ = s; return s; @@ -989,21 +1168,22 @@ public java.lang.String getFilter() { } } /** + * + * *
        * A filter to reduce the conversations used for training the model to a
        * specific subset.
        * 
* * string filter = 3; + * * @return The bytes for filter. */ - public com.google.protobuf.ByteString - getFilterBytes() { + public com.google.protobuf.ByteString getFilterBytes() { java.lang.Object ref = filter_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); filter_ = b; return b; } else { @@ -1011,30 +1191,37 @@ public java.lang.String getFilter() { } } /** + * + * *
        * A filter to reduce the conversations used for training the model to a
        * specific subset.
        * 
* * string filter = 3; + * * @param value The filter to set. * @return This builder for chaining. */ - public Builder setFilter( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setFilter(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } filter_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } /** + * + * *
        * A filter to reduce the conversations used for training the model to a
        * specific subset.
        * 
* * string filter = 3; + * * @return This builder for chaining. */ public Builder clearFilter() { @@ -1044,24 +1231,29 @@ public Builder clearFilter() { return this; } /** + * + * *
        * A filter to reduce the conversations used for training the model to a
        * specific subset.
        * 
* * string filter = 3; + * * @param value The bytes for filter to set. * @return This builder for chaining. */ - public Builder setFilterBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setFilterBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); filter_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } + @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -1074,41 +1266,44 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.contactcenterinsights.v1.IssueModel.InputDataConfig) } // @@protoc_insertion_point(class_scope:google.cloud.contactcenterinsights.v1.IssueModel.InputDataConfig) - private static final com.google.cloud.contactcenterinsights.v1.IssueModel.InputDataConfig DEFAULT_INSTANCE; + private static final com.google.cloud.contactcenterinsights.v1.IssueModel.InputDataConfig + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.contactcenterinsights.v1.IssueModel.InputDataConfig(); } - public static com.google.cloud.contactcenterinsights.v1.IssueModel.InputDataConfig getDefaultInstance() { + public static com.google.cloud.contactcenterinsights.v1.IssueModel.InputDataConfig + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public InputDataConfig parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public InputDataConfig parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException() + .setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1120,16 +1315,19 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.cloud.contactcenterinsights.v1.IssueModel.InputDataConfig getDefaultInstanceForType() { + public com.google.cloud.contactcenterinsights.v1.IssueModel.InputDataConfig + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } public static final int NAME_FIELD_NUMBER = 1; + @SuppressWarnings("serial") private volatile java.lang.Object name_ = ""; /** + * + * *
    * Immutable. The resource name of the issue model.
    * Format:
@@ -1137,6 +1335,7 @@ public com.google.cloud.contactcenterinsights.v1.IssueModel.InputDataConfig getD
    * 
* * string name = 1 [(.google.api.field_behavior) = IMMUTABLE]; + * * @return The name. */ @java.lang.Override @@ -1145,14 +1344,15 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** + * + * *
    * Immutable. The resource name of the issue model.
    * Format:
@@ -1160,16 +1360,15 @@ public java.lang.String getName() {
    * 
* * string name = 1 [(.google.api.field_behavior) = IMMUTABLE]; + * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -1178,14 +1377,18 @@ public java.lang.String getName() { } public static final int DISPLAY_NAME_FIELD_NUMBER = 2; + @SuppressWarnings("serial") private volatile java.lang.Object displayName_ = ""; /** + * + * *
    * The representative name for the issue model.
    * 
* * string display_name = 2; + * * @return The displayName. */ @java.lang.Override @@ -1194,29 +1397,29 @@ public java.lang.String getDisplayName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); displayName_ = s; return s; } } /** + * + * *
    * The representative name for the issue model.
    * 
* * string display_name = 2; + * * @return The bytes for displayName. */ @java.lang.Override - public com.google.protobuf.ByteString - getDisplayNameBytes() { + public com.google.protobuf.ByteString getDisplayNameBytes() { java.lang.Object ref = displayName_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); displayName_ = b; return b; } else { @@ -1227,11 +1430,15 @@ public java.lang.String getDisplayName() { public static final int CREATE_TIME_FIELD_NUMBER = 3; private com.google.protobuf.Timestamp createTime_; /** + * + * *
    * Output only. The time at which this issue model was created.
    * 
* - * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the createTime field is set. */ @java.lang.Override @@ -1239,11 +1446,15 @@ public boolean hasCreateTime() { return createTime_ != null; } /** + * + * *
    * Output only. The time at which this issue model was created.
    * 
* - * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The createTime. */ @java.lang.Override @@ -1251,11 +1462,14 @@ public com.google.protobuf.Timestamp getCreateTime() { return createTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : createTime_; } /** + * + * *
    * Output only. The time at which this issue model was created.
    * 
* - * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ @java.lang.Override public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { @@ -1265,11 +1479,15 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { public static final int UPDATE_TIME_FIELD_NUMBER = 4; private com.google.protobuf.Timestamp updateTime_; /** + * + * *
    * Output only. The most recent time at which the issue model was updated.
    * 
* - * .google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the updateTime field is set. */ @java.lang.Override @@ -1277,11 +1495,15 @@ public boolean hasUpdateTime() { return updateTime_ != null; } /** + * + * *
    * Output only. The most recent time at which the issue model was updated.
    * 
* - * .google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The updateTime. */ @java.lang.Override @@ -1289,11 +1511,14 @@ public com.google.protobuf.Timestamp getUpdateTime() { return updateTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : updateTime_; } /** + * + * *
    * Output only. The most recent time at which the issue model was updated.
    * 
* - * .google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ @java.lang.Override public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { @@ -1303,11 +1528,14 @@ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { public static final int ISSUE_COUNT_FIELD_NUMBER = 8; private long issueCount_ = 0L; /** + * + * *
    * Output only. Number of issues in this issue model.
    * 
* * int64 issue_count = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The issueCount. */ @java.lang.Override @@ -1318,37 +1546,56 @@ public long getIssueCount() { public static final int STATE_FIELD_NUMBER = 5; private int state_ = 0; /** + * + * *
    * Output only. State of the model.
    * 
* - * .google.cloud.contactcenterinsights.v1.IssueModel.State state = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.contactcenterinsights.v1.IssueModel.State state = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The enum numeric value on the wire for state. */ - @java.lang.Override public int getStateValue() { + @java.lang.Override + public int getStateValue() { return state_; } /** + * + * *
    * Output only. State of the model.
    * 
* - * .google.cloud.contactcenterinsights.v1.IssueModel.State state = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.contactcenterinsights.v1.IssueModel.State state = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The state. */ - @java.lang.Override public com.google.cloud.contactcenterinsights.v1.IssueModel.State getState() { - com.google.cloud.contactcenterinsights.v1.IssueModel.State result = com.google.cloud.contactcenterinsights.v1.IssueModel.State.forNumber(state_); - return result == null ? com.google.cloud.contactcenterinsights.v1.IssueModel.State.UNRECOGNIZED : result; + @java.lang.Override + public com.google.cloud.contactcenterinsights.v1.IssueModel.State getState() { + com.google.cloud.contactcenterinsights.v1.IssueModel.State result = + com.google.cloud.contactcenterinsights.v1.IssueModel.State.forNumber(state_); + return result == null + ? com.google.cloud.contactcenterinsights.v1.IssueModel.State.UNRECOGNIZED + : result; } public static final int INPUT_DATA_CONFIG_FIELD_NUMBER = 6; private com.google.cloud.contactcenterinsights.v1.IssueModel.InputDataConfig inputDataConfig_; /** + * + * *
    * Configs for the input data that used to create the issue model.
    * 
* - * .google.cloud.contactcenterinsights.v1.IssueModel.InputDataConfig input_data_config = 6; + * .google.cloud.contactcenterinsights.v1.IssueModel.InputDataConfig input_data_config = 6; + * + * * @return Whether the inputDataConfig field is set. */ @java.lang.Override @@ -1356,38 +1603,55 @@ public boolean hasInputDataConfig() { return inputDataConfig_ != null; } /** + * + * *
    * Configs for the input data that used to create the issue model.
    * 
* - * .google.cloud.contactcenterinsights.v1.IssueModel.InputDataConfig input_data_config = 6; + * .google.cloud.contactcenterinsights.v1.IssueModel.InputDataConfig input_data_config = 6; + * + * * @return The inputDataConfig. */ @java.lang.Override public com.google.cloud.contactcenterinsights.v1.IssueModel.InputDataConfig getInputDataConfig() { - return inputDataConfig_ == null ? com.google.cloud.contactcenterinsights.v1.IssueModel.InputDataConfig.getDefaultInstance() : inputDataConfig_; + return inputDataConfig_ == null + ? com.google.cloud.contactcenterinsights.v1.IssueModel.InputDataConfig.getDefaultInstance() + : inputDataConfig_; } /** + * + * *
    * Configs for the input data that used to create the issue model.
    * 
* - * .google.cloud.contactcenterinsights.v1.IssueModel.InputDataConfig input_data_config = 6; + * .google.cloud.contactcenterinsights.v1.IssueModel.InputDataConfig input_data_config = 6; + * */ @java.lang.Override - public com.google.cloud.contactcenterinsights.v1.IssueModel.InputDataConfigOrBuilder getInputDataConfigOrBuilder() { - return inputDataConfig_ == null ? com.google.cloud.contactcenterinsights.v1.IssueModel.InputDataConfig.getDefaultInstance() : inputDataConfig_; + public com.google.cloud.contactcenterinsights.v1.IssueModel.InputDataConfigOrBuilder + getInputDataConfigOrBuilder() { + return inputDataConfig_ == null + ? com.google.cloud.contactcenterinsights.v1.IssueModel.InputDataConfig.getDefaultInstance() + : inputDataConfig_; } public static final int TRAINING_STATS_FIELD_NUMBER = 7; private com.google.cloud.contactcenterinsights.v1.IssueModelLabelStats trainingStats_; /** + * + * *
    * Output only. Immutable. The issue model's label statistics on its training
    * data.
    * 
* - * .google.cloud.contactcenterinsights.v1.IssueModelLabelStats training_stats = 7 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.field_behavior) = IMMUTABLE]; + * + * .google.cloud.contactcenterinsights.v1.IssueModelLabelStats training_stats = 7 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.field_behavior) = IMMUTABLE]; + * + * * @return Whether the trainingStats field is set. */ @java.lang.Override @@ -1395,32 +1659,47 @@ public boolean hasTrainingStats() { return trainingStats_ != null; } /** + * + * *
    * Output only. Immutable. The issue model's label statistics on its training
    * data.
    * 
* - * .google.cloud.contactcenterinsights.v1.IssueModelLabelStats training_stats = 7 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.field_behavior) = IMMUTABLE]; + * + * .google.cloud.contactcenterinsights.v1.IssueModelLabelStats training_stats = 7 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.field_behavior) = IMMUTABLE]; + * + * * @return The trainingStats. */ @java.lang.Override public com.google.cloud.contactcenterinsights.v1.IssueModelLabelStats getTrainingStats() { - return trainingStats_ == null ? com.google.cloud.contactcenterinsights.v1.IssueModelLabelStats.getDefaultInstance() : trainingStats_; + return trainingStats_ == null + ? com.google.cloud.contactcenterinsights.v1.IssueModelLabelStats.getDefaultInstance() + : trainingStats_; } /** + * + * *
    * Output only. Immutable. The issue model's label statistics on its training
    * data.
    * 
* - * .google.cloud.contactcenterinsights.v1.IssueModelLabelStats training_stats = 7 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.field_behavior) = IMMUTABLE]; + * + * .google.cloud.contactcenterinsights.v1.IssueModelLabelStats training_stats = 7 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.field_behavior) = IMMUTABLE]; + * */ @java.lang.Override - public com.google.cloud.contactcenterinsights.v1.IssueModelLabelStatsOrBuilder getTrainingStatsOrBuilder() { - return trainingStats_ == null ? com.google.cloud.contactcenterinsights.v1.IssueModelLabelStats.getDefaultInstance() : trainingStats_; + public com.google.cloud.contactcenterinsights.v1.IssueModelLabelStatsOrBuilder + getTrainingStatsOrBuilder() { + return trainingStats_ == null + ? com.google.cloud.contactcenterinsights.v1.IssueModelLabelStats.getDefaultInstance() + : trainingStats_; } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -1432,8 +1711,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -1446,7 +1724,9 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) if (updateTime_ != null) { output.writeMessage(4, getUpdateTime()); } - if (state_ != com.google.cloud.contactcenterinsights.v1.IssueModel.State.STATE_UNSPECIFIED.getNumber()) { + if (state_ + != com.google.cloud.contactcenterinsights.v1.IssueModel.State.STATE_UNSPECIFIED + .getNumber()) { output.writeEnum(5, state_); } if (inputDataConfig_ != null) { @@ -1474,28 +1754,24 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, displayName_); } if (createTime_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(3, getCreateTime()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getCreateTime()); } if (updateTime_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(4, getUpdateTime()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(4, getUpdateTime()); } - if (state_ != com.google.cloud.contactcenterinsights.v1.IssueModel.State.STATE_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(5, state_); + if (state_ + != com.google.cloud.contactcenterinsights.v1.IssueModel.State.STATE_UNSPECIFIED + .getNumber()) { + size += com.google.protobuf.CodedOutputStream.computeEnumSize(5, state_); } if (inputDataConfig_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(6, getInputDataConfig()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(6, getInputDataConfig()); } if (trainingStats_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(7, getTrainingStats()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(7, getTrainingStats()); } if (issueCount_ != 0L) { - size += com.google.protobuf.CodedOutputStream - .computeInt64Size(8, issueCount_); + size += com.google.protobuf.CodedOutputStream.computeInt64Size(8, issueCount_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -1505,39 +1781,33 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.contactcenterinsights.v1.IssueModel)) { return super.equals(obj); } - com.google.cloud.contactcenterinsights.v1.IssueModel other = (com.google.cloud.contactcenterinsights.v1.IssueModel) obj; + com.google.cloud.contactcenterinsights.v1.IssueModel other = + (com.google.cloud.contactcenterinsights.v1.IssueModel) obj; - if (!getName() - .equals(other.getName())) return false; - if (!getDisplayName() - .equals(other.getDisplayName())) return false; + if (!getName().equals(other.getName())) return false; + if (!getDisplayName().equals(other.getDisplayName())) return false; if (hasCreateTime() != other.hasCreateTime()) return false; if (hasCreateTime()) { - if (!getCreateTime() - .equals(other.getCreateTime())) return false; + if (!getCreateTime().equals(other.getCreateTime())) return false; } if (hasUpdateTime() != other.hasUpdateTime()) return false; if (hasUpdateTime()) { - if (!getUpdateTime() - .equals(other.getUpdateTime())) return false; + if (!getUpdateTime().equals(other.getUpdateTime())) return false; } - if (getIssueCount() - != other.getIssueCount()) return false; + if (getIssueCount() != other.getIssueCount()) return false; if (state_ != other.state_) return false; if (hasInputDataConfig() != other.hasInputDataConfig()) return false; if (hasInputDataConfig()) { - if (!getInputDataConfig() - .equals(other.getInputDataConfig())) return false; + if (!getInputDataConfig().equals(other.getInputDataConfig())) return false; } if (hasTrainingStats() != other.hasTrainingStats()) return false; if (hasTrainingStats()) { - if (!getTrainingStats() - .equals(other.getTrainingStats())) return false; + if (!getTrainingStats().equals(other.getTrainingStats())) return false; } if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -1563,8 +1833,7 @@ public int hashCode() { hash = (53 * hash) + getUpdateTime().hashCode(); } hash = (37 * hash) + ISSUE_COUNT_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashLong( - getIssueCount()); + hash = (53 * hash) + com.google.protobuf.Internal.hashLong(getIssueCount()); hash = (37 * hash) + STATE_FIELD_NUMBER; hash = (53 * hash) + state_; if (hasInputDataConfig()) { @@ -1581,129 +1850,135 @@ public int hashCode() { } public static com.google.cloud.contactcenterinsights.v1.IssueModel parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.contactcenterinsights.v1.IssueModel parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.contactcenterinsights.v1.IssueModel parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.contactcenterinsights.v1.IssueModel parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.contactcenterinsights.v1.IssueModel parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.contactcenterinsights.v1.IssueModel parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.contactcenterinsights.v1.IssueModel parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.contactcenterinsights.v1.IssueModel parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.contactcenterinsights.v1.IssueModel parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.contactcenterinsights.v1.IssueModel parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.contactcenterinsights.v1.IssueModel parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.contactcenterinsights.v1.IssueModel parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.contactcenterinsights.v1.IssueModel parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.contactcenterinsights.v1.IssueModel parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.cloud.contactcenterinsights.v1.IssueModel prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * The issue model resource.
    * 
* * Protobuf type {@code google.cloud.contactcenterinsights.v1.IssueModel} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.contactcenterinsights.v1.IssueModel) com.google.cloud.contactcenterinsights.v1.IssueModelOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.contactcenterinsights.v1.ResourcesProto.internal_static_google_cloud_contactcenterinsights_v1_IssueModel_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.contactcenterinsights.v1.ResourcesProto + .internal_static_google_cloud_contactcenterinsights_v1_IssueModel_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.contactcenterinsights.v1.ResourcesProto.internal_static_google_cloud_contactcenterinsights_v1_IssueModel_fieldAccessorTable + return com.google.cloud.contactcenterinsights.v1.ResourcesProto + .internal_static_google_cloud_contactcenterinsights_v1_IssueModel_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.contactcenterinsights.v1.IssueModel.class, com.google.cloud.contactcenterinsights.v1.IssueModel.Builder.class); + com.google.cloud.contactcenterinsights.v1.IssueModel.class, + com.google.cloud.contactcenterinsights.v1.IssueModel.Builder.class); } // Construct using com.google.cloud.contactcenterinsights.v1.IssueModel.newBuilder() - private Builder() { + private Builder() {} - } - - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -1736,9 +2011,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.contactcenterinsights.v1.ResourcesProto.internal_static_google_cloud_contactcenterinsights_v1_IssueModel_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.contactcenterinsights.v1.ResourcesProto + .internal_static_google_cloud_contactcenterinsights_v1_IssueModel_descriptor; } @java.lang.Override @@ -1757,8 +2032,11 @@ public com.google.cloud.contactcenterinsights.v1.IssueModel build() { @java.lang.Override public com.google.cloud.contactcenterinsights.v1.IssueModel buildPartial() { - com.google.cloud.contactcenterinsights.v1.IssueModel result = new com.google.cloud.contactcenterinsights.v1.IssueModel(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.cloud.contactcenterinsights.v1.IssueModel result = + new com.google.cloud.contactcenterinsights.v1.IssueModel(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } @@ -1772,14 +2050,10 @@ private void buildPartial0(com.google.cloud.contactcenterinsights.v1.IssueModel result.displayName_ = displayName_; } if (((from_bitField0_ & 0x00000004) != 0)) { - result.createTime_ = createTimeBuilder_ == null - ? createTime_ - : createTimeBuilder_.build(); + result.createTime_ = createTimeBuilder_ == null ? createTime_ : createTimeBuilder_.build(); } if (((from_bitField0_ & 0x00000008) != 0)) { - result.updateTime_ = updateTimeBuilder_ == null - ? updateTime_ - : updateTimeBuilder_.build(); + result.updateTime_ = updateTimeBuilder_ == null ? updateTime_ : updateTimeBuilder_.build(); } if (((from_bitField0_ & 0x00000010) != 0)) { result.issueCount_ = issueCount_; @@ -1788,14 +2062,12 @@ private void buildPartial0(com.google.cloud.contactcenterinsights.v1.IssueModel result.state_ = state_; } if (((from_bitField0_ & 0x00000040) != 0)) { - result.inputDataConfig_ = inputDataConfigBuilder_ == null - ? inputDataConfig_ - : inputDataConfigBuilder_.build(); + result.inputDataConfig_ = + inputDataConfigBuilder_ == null ? inputDataConfig_ : inputDataConfigBuilder_.build(); } if (((from_bitField0_ & 0x00000080) != 0)) { - result.trainingStats_ = trainingStatsBuilder_ == null - ? trainingStats_ - : trainingStatsBuilder_.build(); + result.trainingStats_ = + trainingStatsBuilder_ == null ? trainingStats_ : trainingStatsBuilder_.build(); } } @@ -1803,38 +2075,39 @@ private void buildPartial0(com.google.cloud.contactcenterinsights.v1.IssueModel public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.contactcenterinsights.v1.IssueModel) { - return mergeFrom((com.google.cloud.contactcenterinsights.v1.IssueModel)other); + return mergeFrom((com.google.cloud.contactcenterinsights.v1.IssueModel) other); } else { super.mergeFrom(other); return this; @@ -1842,7 +2115,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.contactcenterinsights.v1.IssueModel other) { - if (other == com.google.cloud.contactcenterinsights.v1.IssueModel.getDefaultInstance()) return this; + if (other == com.google.cloud.contactcenterinsights.v1.IssueModel.getDefaultInstance()) + return this; if (!other.getName().isEmpty()) { name_ = other.name_; bitField0_ |= 0x00000001; @@ -1897,60 +2171,61 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - name_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: { - displayName_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000002; - break; - } // case 18 - case 26: { - input.readMessage( - getCreateTimeFieldBuilder().getBuilder(), - extensionRegistry); - bitField0_ |= 0x00000004; - break; - } // case 26 - case 34: { - input.readMessage( - getUpdateTimeFieldBuilder().getBuilder(), - extensionRegistry); - bitField0_ |= 0x00000008; - break; - } // case 34 - case 40: { - state_ = input.readEnum(); - bitField0_ |= 0x00000020; - break; - } // case 40 - case 50: { - input.readMessage( - getInputDataConfigFieldBuilder().getBuilder(), - extensionRegistry); - bitField0_ |= 0x00000040; - break; - } // case 50 - case 58: { - input.readMessage( - getTrainingStatsFieldBuilder().getBuilder(), - extensionRegistry); - bitField0_ |= 0x00000080; - break; - } // case 58 - case 64: { - issueCount_ = input.readInt64(); - bitField0_ |= 0x00000010; - break; - } // case 64 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + name_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: + { + displayName_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + break; + } // case 18 + case 26: + { + input.readMessage(getCreateTimeFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000004; + break; + } // case 26 + case 34: + { + input.readMessage(getUpdateTimeFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000008; + break; + } // case 34 + case 40: + { + state_ = input.readEnum(); + bitField0_ |= 0x00000020; + break; + } // case 40 + case 50: + { + input.readMessage(getInputDataConfigFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000040; + break; + } // case 50 + case 58: + { + input.readMessage(getTrainingStatsFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000080; + break; + } // case 58 + case 64: + { + issueCount_ = input.readInt64(); + bitField0_ |= 0x00000010; + break; + } // case 64 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -1960,10 +2235,13 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private java.lang.Object name_ = ""; /** + * + * *
      * Immutable. The resource name of the issue model.
      * Format:
@@ -1971,13 +2249,13 @@ public Builder mergeFrom(
      * 
* * string name = 1 [(.google.api.field_behavior) = IMMUTABLE]; + * * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -1986,6 +2264,8 @@ public java.lang.String getName() { } } /** + * + * *
      * Immutable. The resource name of the issue model.
      * Format:
@@ -1993,15 +2273,14 @@ public java.lang.String getName() {
      * 
* * string name = 1 [(.google.api.field_behavior) = IMMUTABLE]; + * * @return The bytes for name. */ - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -2009,6 +2288,8 @@ public java.lang.String getName() { } } /** + * + * *
      * Immutable. The resource name of the issue model.
      * Format:
@@ -2016,18 +2297,22 @@ public java.lang.String getName() {
      * 
* * string name = 1 [(.google.api.field_behavior) = IMMUTABLE]; + * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setName(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } name_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
      * Immutable. The resource name of the issue model.
      * Format:
@@ -2035,6 +2320,7 @@ public Builder setName(
      * 
* * string name = 1 [(.google.api.field_behavior) = IMMUTABLE]; + * * @return This builder for chaining. */ public Builder clearName() { @@ -2044,6 +2330,8 @@ public Builder clearName() { return this; } /** + * + * *
      * Immutable. The resource name of the issue model.
      * Format:
@@ -2051,12 +2339,14 @@ public Builder clearName() {
      * 
* * string name = 1 [(.google.api.field_behavior) = IMMUTABLE]; + * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setNameBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); name_ = value; bitField0_ |= 0x00000001; @@ -2066,18 +2356,20 @@ public Builder setNameBytes( private java.lang.Object displayName_ = ""; /** + * + * *
      * The representative name for the issue model.
      * 
* * string display_name = 2; + * * @return The displayName. */ public java.lang.String getDisplayName() { java.lang.Object ref = displayName_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); displayName_ = s; return s; @@ -2086,20 +2378,21 @@ public java.lang.String getDisplayName() { } } /** + * + * *
      * The representative name for the issue model.
      * 
* * string display_name = 2; + * * @return The bytes for displayName. */ - public com.google.protobuf.ByteString - getDisplayNameBytes() { + public com.google.protobuf.ByteString getDisplayNameBytes() { java.lang.Object ref = displayName_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); displayName_ = b; return b; } else { @@ -2107,28 +2400,35 @@ public java.lang.String getDisplayName() { } } /** + * + * *
      * The representative name for the issue model.
      * 
* * string display_name = 2; + * * @param value The displayName to set. * @return This builder for chaining. */ - public Builder setDisplayName( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setDisplayName(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } displayName_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** + * + * *
      * The representative name for the issue model.
      * 
* * string display_name = 2; + * * @return This builder for chaining. */ public Builder clearDisplayName() { @@ -2138,17 +2438,21 @@ public Builder clearDisplayName() { return this; } /** + * + * *
      * The representative name for the issue model.
      * 
* * string display_name = 2; + * * @param value The bytes for displayName to set. * @return This builder for chaining. */ - public Builder setDisplayNameBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setDisplayNameBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); displayName_ = value; bitField0_ |= 0x00000002; @@ -2158,39 +2462,58 @@ public Builder setDisplayNameBytes( private com.google.protobuf.Timestamp createTime_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> createTimeBuilder_; + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder> + createTimeBuilder_; /** + * + * *
      * Output only. The time at which this issue model was created.
      * 
* - * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the createTime field is set. */ public boolean hasCreateTime() { return ((bitField0_ & 0x00000004) != 0); } /** + * + * *
      * Output only. The time at which this issue model was created.
      * 
* - * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The createTime. */ public com.google.protobuf.Timestamp getCreateTime() { if (createTimeBuilder_ == null) { - return createTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : createTime_; + return createTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : createTime_; } else { return createTimeBuilder_.getMessage(); } } /** + * + * *
      * Output only. The time at which this issue model was created.
      * 
* - * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder setCreateTime(com.google.protobuf.Timestamp value) { if (createTimeBuilder_ == null) { @@ -2206,14 +2529,17 @@ public Builder setCreateTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * Output only. The time at which this issue model was created.
      * 
* - * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - public Builder setCreateTime( - com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setCreateTime(com.google.protobuf.Timestamp.Builder builderForValue) { if (createTimeBuilder_ == null) { createTime_ = builderForValue.build(); } else { @@ -2224,17 +2550,21 @@ public Builder setCreateTime( return this; } /** + * + * *
      * Output only. The time at which this issue model was created.
      * 
* - * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder mergeCreateTime(com.google.protobuf.Timestamp value) { if (createTimeBuilder_ == null) { - if (((bitField0_ & 0x00000004) != 0) && - createTime_ != null && - createTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { + if (((bitField0_ & 0x00000004) != 0) + && createTime_ != null + && createTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { getCreateTimeBuilder().mergeFrom(value); } else { createTime_ = value; @@ -2247,11 +2577,15 @@ public Builder mergeCreateTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * Output only. The time at which this issue model was created.
      * 
* - * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder clearCreateTime() { bitField0_ = (bitField0_ & ~0x00000004); @@ -2264,11 +2598,15 @@ public Builder clearCreateTime() { return this; } /** + * + * *
      * Output only. The time at which this issue model was created.
      * 
* - * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public com.google.protobuf.Timestamp.Builder getCreateTimeBuilder() { bitField0_ |= 0x00000004; @@ -2276,36 +2614,48 @@ public com.google.protobuf.Timestamp.Builder getCreateTimeBuilder() { return getCreateTimeFieldBuilder().getBuilder(); } /** + * + * *
      * Output only. The time at which this issue model was created.
      * 
* - * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { if (createTimeBuilder_ != null) { return createTimeBuilder_.getMessageOrBuilder(); } else { - return createTime_ == null ? - com.google.protobuf.Timestamp.getDefaultInstance() : createTime_; + return createTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : createTime_; } } /** + * + * *
      * Output only. The time at which this issue model was created.
      * 
* - * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder> getCreateTimeFieldBuilder() { if (createTimeBuilder_ == null) { - createTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( - getCreateTime(), - getParentForChildren(), - isClean()); + createTimeBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder>( + getCreateTime(), getParentForChildren(), isClean()); createTime_ = null; } return createTimeBuilder_; @@ -2313,39 +2663,58 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { private com.google.protobuf.Timestamp updateTime_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> updateTimeBuilder_; + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder> + updateTimeBuilder_; /** + * + * *
      * Output only. The most recent time at which the issue model was updated.
      * 
* - * .google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the updateTime field is set. */ public boolean hasUpdateTime() { return ((bitField0_ & 0x00000008) != 0); } /** + * + * *
      * Output only. The most recent time at which the issue model was updated.
      * 
* - * .google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The updateTime. */ public com.google.protobuf.Timestamp getUpdateTime() { if (updateTimeBuilder_ == null) { - return updateTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : updateTime_; + return updateTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : updateTime_; } else { return updateTimeBuilder_.getMessage(); } } /** + * + * *
      * Output only. The most recent time at which the issue model was updated.
      * 
* - * .google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder setUpdateTime(com.google.protobuf.Timestamp value) { if (updateTimeBuilder_ == null) { @@ -2361,14 +2730,17 @@ public Builder setUpdateTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * Output only. The most recent time at which the issue model was updated.
      * 
* - * .google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - public Builder setUpdateTime( - com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setUpdateTime(com.google.protobuf.Timestamp.Builder builderForValue) { if (updateTimeBuilder_ == null) { updateTime_ = builderForValue.build(); } else { @@ -2379,17 +2751,21 @@ public Builder setUpdateTime( return this; } /** + * + * *
      * Output only. The most recent time at which the issue model was updated.
      * 
* - * .google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder mergeUpdateTime(com.google.protobuf.Timestamp value) { if (updateTimeBuilder_ == null) { - if (((bitField0_ & 0x00000008) != 0) && - updateTime_ != null && - updateTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { + if (((bitField0_ & 0x00000008) != 0) + && updateTime_ != null + && updateTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { getUpdateTimeBuilder().mergeFrom(value); } else { updateTime_ = value; @@ -2402,11 +2778,15 @@ public Builder mergeUpdateTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * Output only. The most recent time at which the issue model was updated.
      * 
* - * .google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder clearUpdateTime() { bitField0_ = (bitField0_ & ~0x00000008); @@ -2419,11 +2799,15 @@ public Builder clearUpdateTime() { return this; } /** + * + * *
      * Output only. The most recent time at which the issue model was updated.
      * 
* - * .google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public com.google.protobuf.Timestamp.Builder getUpdateTimeBuilder() { bitField0_ |= 0x00000008; @@ -2431,48 +2815,63 @@ public com.google.protobuf.Timestamp.Builder getUpdateTimeBuilder() { return getUpdateTimeFieldBuilder().getBuilder(); } /** + * + * *
      * Output only. The most recent time at which the issue model was updated.
      * 
* - * .google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { if (updateTimeBuilder_ != null) { return updateTimeBuilder_.getMessageOrBuilder(); } else { - return updateTime_ == null ? - com.google.protobuf.Timestamp.getDefaultInstance() : updateTime_; + return updateTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : updateTime_; } } /** + * + * *
      * Output only. The most recent time at which the issue model was updated.
      * 
* - * .google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder> getUpdateTimeFieldBuilder() { if (updateTimeBuilder_ == null) { - updateTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( - getUpdateTime(), - getParentForChildren(), - isClean()); + updateTimeBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder>( + getUpdateTime(), getParentForChildren(), isClean()); updateTime_ = null; } return updateTimeBuilder_; } - private long issueCount_ ; + private long issueCount_; /** + * + * *
      * Output only. Number of issues in this issue model.
      * 
* * int64 issue_count = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The issueCount. */ @java.lang.Override @@ -2480,27 +2879,33 @@ public long getIssueCount() { return issueCount_; } /** + * + * *
      * Output only. Number of issues in this issue model.
      * 
* * int64 issue_count = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param value The issueCount to set. * @return This builder for chaining. */ public Builder setIssueCount(long value) { - + issueCount_ = value; bitField0_ |= 0x00000010; onChanged(); return this; } /** + * + * *
      * Output only. Number of issues in this issue model.
      * 
* * int64 issue_count = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return This builder for chaining. */ public Builder clearIssueCount() { @@ -2512,22 +2917,33 @@ public Builder clearIssueCount() { private int state_ = 0; /** + * + * *
      * Output only. State of the model.
      * 
* - * .google.cloud.contactcenterinsights.v1.IssueModel.State state = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.contactcenterinsights.v1.IssueModel.State state = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The enum numeric value on the wire for state. */ - @java.lang.Override public int getStateValue() { + @java.lang.Override + public int getStateValue() { return state_; } /** + * + * *
      * Output only. State of the model.
      * 
* - * .google.cloud.contactcenterinsights.v1.IssueModel.State state = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.contactcenterinsights.v1.IssueModel.State state = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @param value The enum numeric value on the wire for state to set. * @return This builder for chaining. */ @@ -2538,24 +2954,37 @@ public Builder setStateValue(int value) { return this; } /** + * + * *
      * Output only. State of the model.
      * 
* - * .google.cloud.contactcenterinsights.v1.IssueModel.State state = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.contactcenterinsights.v1.IssueModel.State state = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The state. */ @java.lang.Override public com.google.cloud.contactcenterinsights.v1.IssueModel.State getState() { - com.google.cloud.contactcenterinsights.v1.IssueModel.State result = com.google.cloud.contactcenterinsights.v1.IssueModel.State.forNumber(state_); - return result == null ? com.google.cloud.contactcenterinsights.v1.IssueModel.State.UNRECOGNIZED : result; + com.google.cloud.contactcenterinsights.v1.IssueModel.State result = + com.google.cloud.contactcenterinsights.v1.IssueModel.State.forNumber(state_); + return result == null + ? com.google.cloud.contactcenterinsights.v1.IssueModel.State.UNRECOGNIZED + : result; } /** + * + * *
      * Output only. State of the model.
      * 
* - * .google.cloud.contactcenterinsights.v1.IssueModel.State state = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.contactcenterinsights.v1.IssueModel.State state = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @param value The state to set. * @return This builder for chaining. */ @@ -2569,11 +2998,16 @@ public Builder setState(com.google.cloud.contactcenterinsights.v1.IssueModel.Sta return this; } /** + * + * *
      * Output only. State of the model.
      * 
* - * .google.cloud.contactcenterinsights.v1.IssueModel.State state = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.contactcenterinsights.v1.IssueModel.State state = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return This builder for chaining. */ public Builder clearState() { @@ -2585,41 +3019,63 @@ public Builder clearState() { private com.google.cloud.contactcenterinsights.v1.IssueModel.InputDataConfig inputDataConfig_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.contactcenterinsights.v1.IssueModel.InputDataConfig, com.google.cloud.contactcenterinsights.v1.IssueModel.InputDataConfig.Builder, com.google.cloud.contactcenterinsights.v1.IssueModel.InputDataConfigOrBuilder> inputDataConfigBuilder_; + com.google.cloud.contactcenterinsights.v1.IssueModel.InputDataConfig, + com.google.cloud.contactcenterinsights.v1.IssueModel.InputDataConfig.Builder, + com.google.cloud.contactcenterinsights.v1.IssueModel.InputDataConfigOrBuilder> + inputDataConfigBuilder_; /** + * + * *
      * Configs for the input data that used to create the issue model.
      * 
* - * .google.cloud.contactcenterinsights.v1.IssueModel.InputDataConfig input_data_config = 6; + * + * .google.cloud.contactcenterinsights.v1.IssueModel.InputDataConfig input_data_config = 6; + * + * * @return Whether the inputDataConfig field is set. */ public boolean hasInputDataConfig() { return ((bitField0_ & 0x00000040) != 0); } /** + * + * *
      * Configs for the input data that used to create the issue model.
      * 
* - * .google.cloud.contactcenterinsights.v1.IssueModel.InputDataConfig input_data_config = 6; + * + * .google.cloud.contactcenterinsights.v1.IssueModel.InputDataConfig input_data_config = 6; + * + * * @return The inputDataConfig. */ - public com.google.cloud.contactcenterinsights.v1.IssueModel.InputDataConfig getInputDataConfig() { + public com.google.cloud.contactcenterinsights.v1.IssueModel.InputDataConfig + getInputDataConfig() { if (inputDataConfigBuilder_ == null) { - return inputDataConfig_ == null ? com.google.cloud.contactcenterinsights.v1.IssueModel.InputDataConfig.getDefaultInstance() : inputDataConfig_; + return inputDataConfig_ == null + ? com.google.cloud.contactcenterinsights.v1.IssueModel.InputDataConfig + .getDefaultInstance() + : inputDataConfig_; } else { return inputDataConfigBuilder_.getMessage(); } } /** + * + * *
      * Configs for the input data that used to create the issue model.
      * 
* - * .google.cloud.contactcenterinsights.v1.IssueModel.InputDataConfig input_data_config = 6; + * + * .google.cloud.contactcenterinsights.v1.IssueModel.InputDataConfig input_data_config = 6; + * */ - public Builder setInputDataConfig(com.google.cloud.contactcenterinsights.v1.IssueModel.InputDataConfig value) { + public Builder setInputDataConfig( + com.google.cloud.contactcenterinsights.v1.IssueModel.InputDataConfig value) { if (inputDataConfigBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -2633,14 +3089,19 @@ public Builder setInputDataConfig(com.google.cloud.contactcenterinsights.v1.Issu return this; } /** + * + * *
      * Configs for the input data that used to create the issue model.
      * 
* - * .google.cloud.contactcenterinsights.v1.IssueModel.InputDataConfig input_data_config = 6; + * + * .google.cloud.contactcenterinsights.v1.IssueModel.InputDataConfig input_data_config = 6; + * */ public Builder setInputDataConfig( - com.google.cloud.contactcenterinsights.v1.IssueModel.InputDataConfig.Builder builderForValue) { + com.google.cloud.contactcenterinsights.v1.IssueModel.InputDataConfig.Builder + builderForValue) { if (inputDataConfigBuilder_ == null) { inputDataConfig_ = builderForValue.build(); } else { @@ -2651,17 +3112,24 @@ public Builder setInputDataConfig( return this; } /** + * + * *
      * Configs for the input data that used to create the issue model.
      * 
* - * .google.cloud.contactcenterinsights.v1.IssueModel.InputDataConfig input_data_config = 6; + * + * .google.cloud.contactcenterinsights.v1.IssueModel.InputDataConfig input_data_config = 6; + * */ - public Builder mergeInputDataConfig(com.google.cloud.contactcenterinsights.v1.IssueModel.InputDataConfig value) { + public Builder mergeInputDataConfig( + com.google.cloud.contactcenterinsights.v1.IssueModel.InputDataConfig value) { if (inputDataConfigBuilder_ == null) { - if (((bitField0_ & 0x00000040) != 0) && - inputDataConfig_ != null && - inputDataConfig_ != com.google.cloud.contactcenterinsights.v1.IssueModel.InputDataConfig.getDefaultInstance()) { + if (((bitField0_ & 0x00000040) != 0) + && inputDataConfig_ != null + && inputDataConfig_ + != com.google.cloud.contactcenterinsights.v1.IssueModel.InputDataConfig + .getDefaultInstance()) { getInputDataConfigBuilder().mergeFrom(value); } else { inputDataConfig_ = value; @@ -2674,11 +3142,15 @@ public Builder mergeInputDataConfig(com.google.cloud.contactcenterinsights.v1.Is return this; } /** + * + * *
      * Configs for the input data that used to create the issue model.
      * 
* - * .google.cloud.contactcenterinsights.v1.IssueModel.InputDataConfig input_data_config = 6; + * + * .google.cloud.contactcenterinsights.v1.IssueModel.InputDataConfig input_data_config = 6; + * */ public Builder clearInputDataConfig() { bitField0_ = (bitField0_ & ~0x00000040); @@ -2691,48 +3163,67 @@ public Builder clearInputDataConfig() { return this; } /** + * + * *
      * Configs for the input data that used to create the issue model.
      * 
* - * .google.cloud.contactcenterinsights.v1.IssueModel.InputDataConfig input_data_config = 6; + * + * .google.cloud.contactcenterinsights.v1.IssueModel.InputDataConfig input_data_config = 6; + * */ - public com.google.cloud.contactcenterinsights.v1.IssueModel.InputDataConfig.Builder getInputDataConfigBuilder() { + public com.google.cloud.contactcenterinsights.v1.IssueModel.InputDataConfig.Builder + getInputDataConfigBuilder() { bitField0_ |= 0x00000040; onChanged(); return getInputDataConfigFieldBuilder().getBuilder(); } /** + * + * *
      * Configs for the input data that used to create the issue model.
      * 
* - * .google.cloud.contactcenterinsights.v1.IssueModel.InputDataConfig input_data_config = 6; + * + * .google.cloud.contactcenterinsights.v1.IssueModel.InputDataConfig input_data_config = 6; + * */ - public com.google.cloud.contactcenterinsights.v1.IssueModel.InputDataConfigOrBuilder getInputDataConfigOrBuilder() { + public com.google.cloud.contactcenterinsights.v1.IssueModel.InputDataConfigOrBuilder + getInputDataConfigOrBuilder() { if (inputDataConfigBuilder_ != null) { return inputDataConfigBuilder_.getMessageOrBuilder(); } else { - return inputDataConfig_ == null ? - com.google.cloud.contactcenterinsights.v1.IssueModel.InputDataConfig.getDefaultInstance() : inputDataConfig_; + return inputDataConfig_ == null + ? com.google.cloud.contactcenterinsights.v1.IssueModel.InputDataConfig + .getDefaultInstance() + : inputDataConfig_; } } /** + * + * *
      * Configs for the input data that used to create the issue model.
      * 
* - * .google.cloud.contactcenterinsights.v1.IssueModel.InputDataConfig input_data_config = 6; + * + * .google.cloud.contactcenterinsights.v1.IssueModel.InputDataConfig input_data_config = 6; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.contactcenterinsights.v1.IssueModel.InputDataConfig, com.google.cloud.contactcenterinsights.v1.IssueModel.InputDataConfig.Builder, com.google.cloud.contactcenterinsights.v1.IssueModel.InputDataConfigOrBuilder> + com.google.cloud.contactcenterinsights.v1.IssueModel.InputDataConfig, + com.google.cloud.contactcenterinsights.v1.IssueModel.InputDataConfig.Builder, + com.google.cloud.contactcenterinsights.v1.IssueModel.InputDataConfigOrBuilder> getInputDataConfigFieldBuilder() { if (inputDataConfigBuilder_ == null) { - inputDataConfigBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.contactcenterinsights.v1.IssueModel.InputDataConfig, com.google.cloud.contactcenterinsights.v1.IssueModel.InputDataConfig.Builder, com.google.cloud.contactcenterinsights.v1.IssueModel.InputDataConfigOrBuilder>( - getInputDataConfig(), - getParentForChildren(), - isClean()); + inputDataConfigBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.contactcenterinsights.v1.IssueModel.InputDataConfig, + com.google.cloud.contactcenterinsights.v1.IssueModel.InputDataConfig.Builder, + com.google.cloud.contactcenterinsights.v1.IssueModel.InputDataConfigOrBuilder>( + getInputDataConfig(), getParentForChildren(), isClean()); inputDataConfig_ = null; } return inputDataConfigBuilder_; @@ -2740,44 +3231,64 @@ public com.google.cloud.contactcenterinsights.v1.IssueModel.InputDataConfigOrBui private com.google.cloud.contactcenterinsights.v1.IssueModelLabelStats trainingStats_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.contactcenterinsights.v1.IssueModelLabelStats, com.google.cloud.contactcenterinsights.v1.IssueModelLabelStats.Builder, com.google.cloud.contactcenterinsights.v1.IssueModelLabelStatsOrBuilder> trainingStatsBuilder_; + com.google.cloud.contactcenterinsights.v1.IssueModelLabelStats, + com.google.cloud.contactcenterinsights.v1.IssueModelLabelStats.Builder, + com.google.cloud.contactcenterinsights.v1.IssueModelLabelStatsOrBuilder> + trainingStatsBuilder_; /** + * + * *
      * Output only. Immutable. The issue model's label statistics on its training
      * data.
      * 
* - * .google.cloud.contactcenterinsights.v1.IssueModelLabelStats training_stats = 7 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.field_behavior) = IMMUTABLE]; + * + * .google.cloud.contactcenterinsights.v1.IssueModelLabelStats training_stats = 7 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.field_behavior) = IMMUTABLE]; + * + * * @return Whether the trainingStats field is set. */ public boolean hasTrainingStats() { return ((bitField0_ & 0x00000080) != 0); } /** + * + * *
      * Output only. Immutable. The issue model's label statistics on its training
      * data.
      * 
* - * .google.cloud.contactcenterinsights.v1.IssueModelLabelStats training_stats = 7 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.field_behavior) = IMMUTABLE]; + * + * .google.cloud.contactcenterinsights.v1.IssueModelLabelStats training_stats = 7 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.field_behavior) = IMMUTABLE]; + * + * * @return The trainingStats. */ public com.google.cloud.contactcenterinsights.v1.IssueModelLabelStats getTrainingStats() { if (trainingStatsBuilder_ == null) { - return trainingStats_ == null ? com.google.cloud.contactcenterinsights.v1.IssueModelLabelStats.getDefaultInstance() : trainingStats_; + return trainingStats_ == null + ? com.google.cloud.contactcenterinsights.v1.IssueModelLabelStats.getDefaultInstance() + : trainingStats_; } else { return trainingStatsBuilder_.getMessage(); } } /** + * + * *
      * Output only. Immutable. The issue model's label statistics on its training
      * data.
      * 
* - * .google.cloud.contactcenterinsights.v1.IssueModelLabelStats training_stats = 7 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.field_behavior) = IMMUTABLE]; + * + * .google.cloud.contactcenterinsights.v1.IssueModelLabelStats training_stats = 7 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.field_behavior) = IMMUTABLE]; + * */ - public Builder setTrainingStats(com.google.cloud.contactcenterinsights.v1.IssueModelLabelStats value) { + public Builder setTrainingStats( + com.google.cloud.contactcenterinsights.v1.IssueModelLabelStats value) { if (trainingStatsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -2791,12 +3302,16 @@ public Builder setTrainingStats(com.google.cloud.contactcenterinsights.v1.IssueM return this; } /** + * + * *
      * Output only. Immutable. The issue model's label statistics on its training
      * data.
      * 
* - * .google.cloud.contactcenterinsights.v1.IssueModelLabelStats training_stats = 7 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.field_behavior) = IMMUTABLE]; + * + * .google.cloud.contactcenterinsights.v1.IssueModelLabelStats training_stats = 7 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.field_behavior) = IMMUTABLE]; + * */ public Builder setTrainingStats( com.google.cloud.contactcenterinsights.v1.IssueModelLabelStats.Builder builderForValue) { @@ -2810,18 +3325,25 @@ public Builder setTrainingStats( return this; } /** + * + * *
      * Output only. Immutable. The issue model's label statistics on its training
      * data.
      * 
* - * .google.cloud.contactcenterinsights.v1.IssueModelLabelStats training_stats = 7 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.field_behavior) = IMMUTABLE]; + * + * .google.cloud.contactcenterinsights.v1.IssueModelLabelStats training_stats = 7 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.field_behavior) = IMMUTABLE]; + * */ - public Builder mergeTrainingStats(com.google.cloud.contactcenterinsights.v1.IssueModelLabelStats value) { + public Builder mergeTrainingStats( + com.google.cloud.contactcenterinsights.v1.IssueModelLabelStats value) { if (trainingStatsBuilder_ == null) { - if (((bitField0_ & 0x00000080) != 0) && - trainingStats_ != null && - trainingStats_ != com.google.cloud.contactcenterinsights.v1.IssueModelLabelStats.getDefaultInstance()) { + if (((bitField0_ & 0x00000080) != 0) + && trainingStats_ != null + && trainingStats_ + != com.google.cloud.contactcenterinsights.v1.IssueModelLabelStats + .getDefaultInstance()) { getTrainingStatsBuilder().mergeFrom(value); } else { trainingStats_ = value; @@ -2834,12 +3356,16 @@ public Builder mergeTrainingStats(com.google.cloud.contactcenterinsights.v1.Issu return this; } /** + * + * *
      * Output only. Immutable. The issue model's label statistics on its training
      * data.
      * 
* - * .google.cloud.contactcenterinsights.v1.IssueModelLabelStats training_stats = 7 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.field_behavior) = IMMUTABLE]; + * + * .google.cloud.contactcenterinsights.v1.IssueModelLabelStats training_stats = 7 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.field_behavior) = IMMUTABLE]; + * */ public Builder clearTrainingStats() { bitField0_ = (bitField0_ & ~0x00000080); @@ -2852,58 +3378,76 @@ public Builder clearTrainingStats() { return this; } /** + * + * *
      * Output only. Immutable. The issue model's label statistics on its training
      * data.
      * 
* - * .google.cloud.contactcenterinsights.v1.IssueModelLabelStats training_stats = 7 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.field_behavior) = IMMUTABLE]; + * + * .google.cloud.contactcenterinsights.v1.IssueModelLabelStats training_stats = 7 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.field_behavior) = IMMUTABLE]; + * */ - public com.google.cloud.contactcenterinsights.v1.IssueModelLabelStats.Builder getTrainingStatsBuilder() { + public com.google.cloud.contactcenterinsights.v1.IssueModelLabelStats.Builder + getTrainingStatsBuilder() { bitField0_ |= 0x00000080; onChanged(); return getTrainingStatsFieldBuilder().getBuilder(); } /** + * + * *
      * Output only. Immutable. The issue model's label statistics on its training
      * data.
      * 
* - * .google.cloud.contactcenterinsights.v1.IssueModelLabelStats training_stats = 7 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.field_behavior) = IMMUTABLE]; + * + * .google.cloud.contactcenterinsights.v1.IssueModelLabelStats training_stats = 7 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.field_behavior) = IMMUTABLE]; + * */ - public com.google.cloud.contactcenterinsights.v1.IssueModelLabelStatsOrBuilder getTrainingStatsOrBuilder() { + public com.google.cloud.contactcenterinsights.v1.IssueModelLabelStatsOrBuilder + getTrainingStatsOrBuilder() { if (trainingStatsBuilder_ != null) { return trainingStatsBuilder_.getMessageOrBuilder(); } else { - return trainingStats_ == null ? - com.google.cloud.contactcenterinsights.v1.IssueModelLabelStats.getDefaultInstance() : trainingStats_; + return trainingStats_ == null + ? com.google.cloud.contactcenterinsights.v1.IssueModelLabelStats.getDefaultInstance() + : trainingStats_; } } /** + * + * *
      * Output only. Immutable. The issue model's label statistics on its training
      * data.
      * 
* - * .google.cloud.contactcenterinsights.v1.IssueModelLabelStats training_stats = 7 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.field_behavior) = IMMUTABLE]; + * + * .google.cloud.contactcenterinsights.v1.IssueModelLabelStats training_stats = 7 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.field_behavior) = IMMUTABLE]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.contactcenterinsights.v1.IssueModelLabelStats, com.google.cloud.contactcenterinsights.v1.IssueModelLabelStats.Builder, com.google.cloud.contactcenterinsights.v1.IssueModelLabelStatsOrBuilder> + com.google.cloud.contactcenterinsights.v1.IssueModelLabelStats, + com.google.cloud.contactcenterinsights.v1.IssueModelLabelStats.Builder, + com.google.cloud.contactcenterinsights.v1.IssueModelLabelStatsOrBuilder> getTrainingStatsFieldBuilder() { if (trainingStatsBuilder_ == null) { - trainingStatsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.contactcenterinsights.v1.IssueModelLabelStats, com.google.cloud.contactcenterinsights.v1.IssueModelLabelStats.Builder, com.google.cloud.contactcenterinsights.v1.IssueModelLabelStatsOrBuilder>( - getTrainingStats(), - getParentForChildren(), - isClean()); + trainingStatsBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.contactcenterinsights.v1.IssueModelLabelStats, + com.google.cloud.contactcenterinsights.v1.IssueModelLabelStats.Builder, + com.google.cloud.contactcenterinsights.v1.IssueModelLabelStatsOrBuilder>( + getTrainingStats(), getParentForChildren(), isClean()); trainingStats_ = null; } return trainingStatsBuilder_; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -2913,12 +3457,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.contactcenterinsights.v1.IssueModel) } // @@protoc_insertion_point(class_scope:google.cloud.contactcenterinsights.v1.IssueModel) private static final com.google.cloud.contactcenterinsights.v1.IssueModel DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.contactcenterinsights.v1.IssueModel(); } @@ -2927,27 +3471,27 @@ public static com.google.cloud.contactcenterinsights.v1.IssueModel getDefaultIns return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public IssueModel parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public IssueModel parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -2962,6 +3506,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.contactcenterinsights.v1.IssueModel getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/IssueModelLabelStats.java b/java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/IssueModelLabelStats.java similarity index 59% rename from owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/IssueModelLabelStats.java rename to java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/IssueModelLabelStats.java index ed60e72131bc..fb1140b7915a 100644 --- a/owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/IssueModelLabelStats.java +++ b/java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/IssueModelLabelStats.java @@ -1,69 +1,89 @@ +/* + * 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. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/contactcenterinsights/v1/resources.proto package com.google.cloud.contactcenterinsights.v1; /** + * + * *
  * Aggregated statistics about an issue model.
  * 
* * Protobuf type {@code google.cloud.contactcenterinsights.v1.IssueModelLabelStats} */ -public final class IssueModelLabelStats extends - com.google.protobuf.GeneratedMessageV3 implements +public final class IssueModelLabelStats extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.contactcenterinsights.v1.IssueModelLabelStats) IssueModelLabelStatsOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use IssueModelLabelStats.newBuilder() to construct. private IssueModelLabelStats(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private IssueModelLabelStats() { - } + + private IssueModelLabelStats() {} @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new IssueModelLabelStats(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.contactcenterinsights.v1.ResourcesProto.internal_static_google_cloud_contactcenterinsights_v1_IssueModelLabelStats_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.contactcenterinsights.v1.ResourcesProto + .internal_static_google_cloud_contactcenterinsights_v1_IssueModelLabelStats_descriptor; } @SuppressWarnings({"rawtypes"}) @java.lang.Override - protected com.google.protobuf.MapField internalGetMapField( - int number) { + protected com.google.protobuf.MapField internalGetMapField(int number) { switch (number) { case 3: return internalGetIssueStats(); default: - throw new RuntimeException( - "Invalid map field number: " + number); + throw new RuntimeException("Invalid map field number: " + number); } } + @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.contactcenterinsights.v1.ResourcesProto.internal_static_google_cloud_contactcenterinsights_v1_IssueModelLabelStats_fieldAccessorTable + return com.google.cloud.contactcenterinsights.v1.ResourcesProto + .internal_static_google_cloud_contactcenterinsights_v1_IssueModelLabelStats_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.contactcenterinsights.v1.IssueModelLabelStats.class, com.google.cloud.contactcenterinsights.v1.IssueModelLabelStats.Builder.class); + com.google.cloud.contactcenterinsights.v1.IssueModelLabelStats.class, + com.google.cloud.contactcenterinsights.v1.IssueModelLabelStats.Builder.class); } - public interface IssueStatsOrBuilder extends + public interface IssueStatsOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.contactcenterinsights.v1.IssueModelLabelStats.IssueStats) com.google.protobuf.MessageOrBuilder { /** + * + * *
      * Issue resource.
      * Format:
@@ -71,10 +91,13 @@ public interface IssueStatsOrBuilder extends
      * 
* * string issue = 1; + * * @return The issue. */ java.lang.String getIssue(); /** + * + * *
      * Issue resource.
      * Format:
@@ -82,57 +105,68 @@ public interface IssueStatsOrBuilder extends
      * 
* * string issue = 1; + * * @return The bytes for issue. */ - com.google.protobuf.ByteString - getIssueBytes(); + com.google.protobuf.ByteString getIssueBytes(); /** + * + * *
      * Number of conversations attached to the issue at this point in time.
      * 
* * int64 labeled_conversations_count = 2; + * * @return The labeledConversationsCount. */ long getLabeledConversationsCount(); /** + * + * *
      * Display name of the issue.
      * 
* * string display_name = 3; + * * @return The displayName. */ java.lang.String getDisplayName(); /** + * + * *
      * Display name of the issue.
      * 
* * string display_name = 3; + * * @return The bytes for displayName. */ - com.google.protobuf.ByteString - getDisplayNameBytes(); + com.google.protobuf.ByteString getDisplayNameBytes(); } /** + * + * *
    * Aggregated statistics about an issue.
    * 
* * Protobuf type {@code google.cloud.contactcenterinsights.v1.IssueModelLabelStats.IssueStats} */ - public static final class IssueStats extends - com.google.protobuf.GeneratedMessageV3 implements + public static final class IssueStats extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.contactcenterinsights.v1.IssueModelLabelStats.IssueStats) IssueStatsOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use IssueStats.newBuilder() to construct. private IssueStats(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private IssueStats() { issue_ = ""; displayName_ = ""; @@ -140,33 +174,38 @@ private IssueStats() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new IssueStats(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.contactcenterinsights.v1.ResourcesProto.internal_static_google_cloud_contactcenterinsights_v1_IssueModelLabelStats_IssueStats_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.contactcenterinsights.v1.ResourcesProto + .internal_static_google_cloud_contactcenterinsights_v1_IssueModelLabelStats_IssueStats_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.contactcenterinsights.v1.ResourcesProto.internal_static_google_cloud_contactcenterinsights_v1_IssueModelLabelStats_IssueStats_fieldAccessorTable + return com.google.cloud.contactcenterinsights.v1.ResourcesProto + .internal_static_google_cloud_contactcenterinsights_v1_IssueModelLabelStats_IssueStats_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.contactcenterinsights.v1.IssueModelLabelStats.IssueStats.class, com.google.cloud.contactcenterinsights.v1.IssueModelLabelStats.IssueStats.Builder.class); + com.google.cloud.contactcenterinsights.v1.IssueModelLabelStats.IssueStats.class, + com.google.cloud.contactcenterinsights.v1.IssueModelLabelStats.IssueStats.Builder + .class); } public static final int ISSUE_FIELD_NUMBER = 1; + @SuppressWarnings("serial") private volatile java.lang.Object issue_ = ""; /** + * + * *
      * Issue resource.
      * Format:
@@ -174,6 +213,7 @@ protected java.lang.Object newInstance(
      * 
* * string issue = 1; + * * @return The issue. */ @java.lang.Override @@ -182,14 +222,15 @@ public java.lang.String getIssue() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); issue_ = s; return s; } } /** + * + * *
      * Issue resource.
      * Format:
@@ -197,16 +238,15 @@ public java.lang.String getIssue() {
      * 
* * string issue = 1; + * * @return The bytes for issue. */ @java.lang.Override - public com.google.protobuf.ByteString - getIssueBytes() { + public com.google.protobuf.ByteString getIssueBytes() { java.lang.Object ref = issue_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); issue_ = b; return b; } else { @@ -217,11 +257,14 @@ public java.lang.String getIssue() { public static final int LABELED_CONVERSATIONS_COUNT_FIELD_NUMBER = 2; private long labeledConversationsCount_ = 0L; /** + * + * *
      * Number of conversations attached to the issue at this point in time.
      * 
* * int64 labeled_conversations_count = 2; + * * @return The labeledConversationsCount. */ @java.lang.Override @@ -230,14 +273,18 @@ public long getLabeledConversationsCount() { } public static final int DISPLAY_NAME_FIELD_NUMBER = 3; + @SuppressWarnings("serial") private volatile java.lang.Object displayName_ = ""; /** + * + * *
      * Display name of the issue.
      * 
* * string display_name = 3; + * * @return The displayName. */ @java.lang.Override @@ -246,29 +293,29 @@ public java.lang.String getDisplayName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); displayName_ = s; return s; } } /** + * + * *
      * Display name of the issue.
      * 
* * string display_name = 3; + * * @return The bytes for displayName. */ @java.lang.Override - public com.google.protobuf.ByteString - getDisplayNameBytes() { + public com.google.protobuf.ByteString getDisplayNameBytes() { java.lang.Object ref = displayName_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); displayName_ = b; return b; } else { @@ -277,6 +324,7 @@ public java.lang.String getDisplayName() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -288,8 +336,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(issue_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, issue_); } @@ -312,8 +359,8 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, issue_); } if (labeledConversationsCount_ != 0L) { - size += com.google.protobuf.CodedOutputStream - .computeInt64Size(2, labeledConversationsCount_); + size += + com.google.protobuf.CodedOutputStream.computeInt64Size(2, labeledConversationsCount_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(displayName_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, displayName_); @@ -326,19 +373,18 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } - if (!(obj instanceof com.google.cloud.contactcenterinsights.v1.IssueModelLabelStats.IssueStats)) { + if (!(obj + instanceof com.google.cloud.contactcenterinsights.v1.IssueModelLabelStats.IssueStats)) { return super.equals(obj); } - com.google.cloud.contactcenterinsights.v1.IssueModelLabelStats.IssueStats other = (com.google.cloud.contactcenterinsights.v1.IssueModelLabelStats.IssueStats) obj; + com.google.cloud.contactcenterinsights.v1.IssueModelLabelStats.IssueStats other = + (com.google.cloud.contactcenterinsights.v1.IssueModelLabelStats.IssueStats) obj; - if (!getIssue() - .equals(other.getIssue())) return false; - if (getLabeledConversationsCount() - != other.getLabeledConversationsCount()) return false; - if (!getDisplayName() - .equals(other.getDisplayName())) return false; + if (!getIssue().equals(other.getIssue())) return false; + if (getLabeledConversationsCount() != other.getLabeledConversationsCount()) return false; + if (!getDisplayName().equals(other.getDisplayName())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -353,8 +399,7 @@ public int hashCode() { hash = (37 * hash) + ISSUE_FIELD_NUMBER; hash = (53 * hash) + getIssue().hashCode(); hash = (37 * hash) + LABELED_CONVERSATIONS_COUNT_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashLong( - getLabeledConversationsCount()); + hash = (53 * hash) + com.google.protobuf.Internal.hashLong(getLabeledConversationsCount()); hash = (37 * hash) + DISPLAY_NAME_FIELD_NUMBER; hash = (53 * hash) + getDisplayName().hashCode(); hash = (29 * hash) + getUnknownFields().hashCode(); @@ -362,88 +407,101 @@ public int hashCode() { return hash; } - public static com.google.cloud.contactcenterinsights.v1.IssueModelLabelStats.IssueStats parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.contactcenterinsights.v1.IssueModelLabelStats.IssueStats + parseFrom(java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.contactcenterinsights.v1.IssueModelLabelStats.IssueStats parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.contactcenterinsights.v1.IssueModelLabelStats.IssueStats + parseFrom( + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.contactcenterinsights.v1.IssueModelLabelStats.IssueStats parseFrom( - com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.contactcenterinsights.v1.IssueModelLabelStats.IssueStats + parseFrom(com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.contactcenterinsights.v1.IssueModelLabelStats.IssueStats parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.contactcenterinsights.v1.IssueModelLabelStats.IssueStats + parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.contactcenterinsights.v1.IssueModelLabelStats.IssueStats parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.contactcenterinsights.v1.IssueModelLabelStats.IssueStats + parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.contactcenterinsights.v1.IssueModelLabelStats.IssueStats parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.contactcenterinsights.v1.IssueModelLabelStats.IssueStats + parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.contactcenterinsights.v1.IssueModelLabelStats.IssueStats parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.contactcenterinsights.v1.IssueModelLabelStats.IssueStats + parseFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } - public static com.google.cloud.contactcenterinsights.v1.IssueModelLabelStats.IssueStats parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + + public static com.google.cloud.contactcenterinsights.v1.IssueModelLabelStats.IssueStats + parseFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.contactcenterinsights.v1.IssueModelLabelStats.IssueStats parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.contactcenterinsights.v1.IssueModelLabelStats.IssueStats + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.contactcenterinsights.v1.IssueModelLabelStats.IssueStats parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + + public static com.google.cloud.contactcenterinsights.v1.IssueModelLabelStats.IssueStats + parseDelimitedFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.contactcenterinsights.v1.IssueModelLabelStats.IssueStats parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.contactcenterinsights.v1.IssueModelLabelStats.IssueStats + parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } - public static com.google.cloud.contactcenterinsights.v1.IssueModelLabelStats.IssueStats parseFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + + public static com.google.cloud.contactcenterinsights.v1.IssueModelLabelStats.IssueStats + parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.contactcenterinsights.v1.IssueModelLabelStats.IssueStats prototype) { + + public static Builder newBuilder( + com.google.cloud.contactcenterinsights.v1.IssueModelLabelStats.IssueStats prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -453,39 +511,43 @@ protected Builder newBuilderForType( return builder; } /** + * + * *
      * Aggregated statistics about an issue.
      * 
* * Protobuf type {@code google.cloud.contactcenterinsights.v1.IssueModelLabelStats.IssueStats} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder + extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.contactcenterinsights.v1.IssueModelLabelStats.IssueStats) com.google.cloud.contactcenterinsights.v1.IssueModelLabelStats.IssueStatsOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.contactcenterinsights.v1.ResourcesProto.internal_static_google_cloud_contactcenterinsights_v1_IssueModelLabelStats_IssueStats_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.contactcenterinsights.v1.ResourcesProto + .internal_static_google_cloud_contactcenterinsights_v1_IssueModelLabelStats_IssueStats_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.contactcenterinsights.v1.ResourcesProto.internal_static_google_cloud_contactcenterinsights_v1_IssueModelLabelStats_IssueStats_fieldAccessorTable + return com.google.cloud.contactcenterinsights.v1.ResourcesProto + .internal_static_google_cloud_contactcenterinsights_v1_IssueModelLabelStats_IssueStats_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.contactcenterinsights.v1.IssueModelLabelStats.IssueStats.class, com.google.cloud.contactcenterinsights.v1.IssueModelLabelStats.IssueStats.Builder.class); + com.google.cloud.contactcenterinsights.v1.IssueModelLabelStats.IssueStats.class, + com.google.cloud.contactcenterinsights.v1.IssueModelLabelStats.IssueStats.Builder + .class); } - // Construct using com.google.cloud.contactcenterinsights.v1.IssueModelLabelStats.IssueStats.newBuilder() - private Builder() { - - } + // Construct using + // com.google.cloud.contactcenterinsights.v1.IssueModelLabelStats.IssueStats.newBuilder() + private Builder() {} - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -497,19 +559,22 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.contactcenterinsights.v1.ResourcesProto.internal_static_google_cloud_contactcenterinsights_v1_IssueModelLabelStats_IssueStats_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.contactcenterinsights.v1.ResourcesProto + .internal_static_google_cloud_contactcenterinsights_v1_IssueModelLabelStats_IssueStats_descriptor; } @java.lang.Override - public com.google.cloud.contactcenterinsights.v1.IssueModelLabelStats.IssueStats getDefaultInstanceForType() { - return com.google.cloud.contactcenterinsights.v1.IssueModelLabelStats.IssueStats.getDefaultInstance(); + public com.google.cloud.contactcenterinsights.v1.IssueModelLabelStats.IssueStats + getDefaultInstanceForType() { + return com.google.cloud.contactcenterinsights.v1.IssueModelLabelStats.IssueStats + .getDefaultInstance(); } @java.lang.Override public com.google.cloud.contactcenterinsights.v1.IssueModelLabelStats.IssueStats build() { - com.google.cloud.contactcenterinsights.v1.IssueModelLabelStats.IssueStats result = buildPartial(); + com.google.cloud.contactcenterinsights.v1.IssueModelLabelStats.IssueStats result = + buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } @@ -517,14 +582,19 @@ public com.google.cloud.contactcenterinsights.v1.IssueModelLabelStats.IssueStats } @java.lang.Override - public com.google.cloud.contactcenterinsights.v1.IssueModelLabelStats.IssueStats buildPartial() { - com.google.cloud.contactcenterinsights.v1.IssueModelLabelStats.IssueStats result = new com.google.cloud.contactcenterinsights.v1.IssueModelLabelStats.IssueStats(this); - if (bitField0_ != 0) { buildPartial0(result); } + public com.google.cloud.contactcenterinsights.v1.IssueModelLabelStats.IssueStats + buildPartial() { + com.google.cloud.contactcenterinsights.v1.IssueModelLabelStats.IssueStats result = + new com.google.cloud.contactcenterinsights.v1.IssueModelLabelStats.IssueStats(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } - private void buildPartial0(com.google.cloud.contactcenterinsights.v1.IssueModelLabelStats.IssueStats result) { + private void buildPartial0( + com.google.cloud.contactcenterinsights.v1.IssueModelLabelStats.IssueStats result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { result.issue_ = issue_; @@ -541,46 +611,54 @@ private void buildPartial0(com.google.cloud.contactcenterinsights.v1.IssueModelL public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + int index, + java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { - if (other instanceof com.google.cloud.contactcenterinsights.v1.IssueModelLabelStats.IssueStats) { - return mergeFrom((com.google.cloud.contactcenterinsights.v1.IssueModelLabelStats.IssueStats)other); + if (other + instanceof com.google.cloud.contactcenterinsights.v1.IssueModelLabelStats.IssueStats) { + return mergeFrom( + (com.google.cloud.contactcenterinsights.v1.IssueModelLabelStats.IssueStats) other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.google.cloud.contactcenterinsights.v1.IssueModelLabelStats.IssueStats other) { - if (other == com.google.cloud.contactcenterinsights.v1.IssueModelLabelStats.IssueStats.getDefaultInstance()) return this; + public Builder mergeFrom( + com.google.cloud.contactcenterinsights.v1.IssueModelLabelStats.IssueStats other) { + if (other + == com.google.cloud.contactcenterinsights.v1.IssueModelLabelStats.IssueStats + .getDefaultInstance()) return this; if (!other.getIssue().isEmpty()) { issue_ = other.issue_; bitField0_ |= 0x00000001; @@ -620,27 +698,31 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - issue_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 16: { - labeledConversationsCount_ = input.readInt64(); - bitField0_ |= 0x00000002; - break; - } // case 16 - case 26: { - displayName_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000004; - break; - } // case 26 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + issue_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 16: + { + labeledConversationsCount_ = input.readInt64(); + bitField0_ |= 0x00000002; + break; + } // case 16 + case 26: + { + displayName_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000004; + break; + } // case 26 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -650,10 +732,13 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private java.lang.Object issue_ = ""; /** + * + * *
        * Issue resource.
        * Format:
@@ -661,13 +746,13 @@ public Builder mergeFrom(
        * 
* * string issue = 1; + * * @return The issue. */ public java.lang.String getIssue() { java.lang.Object ref = issue_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); issue_ = s; return s; @@ -676,6 +761,8 @@ public java.lang.String getIssue() { } } /** + * + * *
        * Issue resource.
        * Format:
@@ -683,15 +770,14 @@ public java.lang.String getIssue() {
        * 
* * string issue = 1; + * * @return The bytes for issue. */ - public com.google.protobuf.ByteString - getIssueBytes() { + public com.google.protobuf.ByteString getIssueBytes() { java.lang.Object ref = issue_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); issue_ = b; return b; } else { @@ -699,6 +785,8 @@ public java.lang.String getIssue() { } } /** + * + * *
        * Issue resource.
        * Format:
@@ -706,18 +794,22 @@ public java.lang.String getIssue() {
        * 
* * string issue = 1; + * * @param value The issue to set. * @return This builder for chaining. */ - public Builder setIssue( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setIssue(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } issue_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
        * Issue resource.
        * Format:
@@ -725,6 +817,7 @@ public Builder setIssue(
        * 
* * string issue = 1; + * * @return This builder for chaining. */ public Builder clearIssue() { @@ -734,6 +827,8 @@ public Builder clearIssue() { return this; } /** + * + * *
        * Issue resource.
        * Format:
@@ -741,12 +836,14 @@ public Builder clearIssue() {
        * 
* * string issue = 1; + * * @param value The bytes for issue to set. * @return This builder for chaining. */ - public Builder setIssueBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setIssueBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); issue_ = value; bitField0_ |= 0x00000001; @@ -754,13 +851,16 @@ public Builder setIssueBytes( return this; } - private long labeledConversationsCount_ ; + private long labeledConversationsCount_; /** + * + * *
        * Number of conversations attached to the issue at this point in time.
        * 
* * int64 labeled_conversations_count = 2; + * * @return The labeledConversationsCount. */ @java.lang.Override @@ -768,27 +868,33 @@ public long getLabeledConversationsCount() { return labeledConversationsCount_; } /** + * + * *
        * Number of conversations attached to the issue at this point in time.
        * 
* * int64 labeled_conversations_count = 2; + * * @param value The labeledConversationsCount to set. * @return This builder for chaining. */ public Builder setLabeledConversationsCount(long value) { - + labeledConversationsCount_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** + * + * *
        * Number of conversations attached to the issue at this point in time.
        * 
* * int64 labeled_conversations_count = 2; + * * @return This builder for chaining. */ public Builder clearLabeledConversationsCount() { @@ -800,18 +906,20 @@ public Builder clearLabeledConversationsCount() { private java.lang.Object displayName_ = ""; /** + * + * *
        * Display name of the issue.
        * 
* * string display_name = 3; + * * @return The displayName. */ public java.lang.String getDisplayName() { java.lang.Object ref = displayName_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); displayName_ = s; return s; @@ -820,20 +928,21 @@ public java.lang.String getDisplayName() { } } /** + * + * *
        * Display name of the issue.
        * 
* * string display_name = 3; + * * @return The bytes for displayName. */ - public com.google.protobuf.ByteString - getDisplayNameBytes() { + public com.google.protobuf.ByteString getDisplayNameBytes() { java.lang.Object ref = displayName_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); displayName_ = b; return b; } else { @@ -841,28 +950,35 @@ public java.lang.String getDisplayName() { } } /** + * + * *
        * Display name of the issue.
        * 
* * string display_name = 3; + * * @param value The displayName to set. * @return This builder for chaining. */ - public Builder setDisplayName( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setDisplayName(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } displayName_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } /** + * + * *
        * Display name of the issue.
        * 
* * string display_name = 3; + * * @return This builder for chaining. */ public Builder clearDisplayName() { @@ -872,23 +988,28 @@ public Builder clearDisplayName() { return this; } /** + * + * *
        * Display name of the issue.
        * 
* * string display_name = 3; + * * @param value The bytes for displayName to set. * @return This builder for chaining. */ - public Builder setDisplayNameBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setDisplayNameBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); displayName_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } + @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -901,41 +1022,45 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.contactcenterinsights.v1.IssueModelLabelStats.IssueStats) } // @@protoc_insertion_point(class_scope:google.cloud.contactcenterinsights.v1.IssueModelLabelStats.IssueStats) - private static final com.google.cloud.contactcenterinsights.v1.IssueModelLabelStats.IssueStats DEFAULT_INSTANCE; + private static final com.google.cloud.contactcenterinsights.v1.IssueModelLabelStats.IssueStats + DEFAULT_INSTANCE; + static { - DEFAULT_INSTANCE = new com.google.cloud.contactcenterinsights.v1.IssueModelLabelStats.IssueStats(); + DEFAULT_INSTANCE = + new com.google.cloud.contactcenterinsights.v1.IssueModelLabelStats.IssueStats(); } - public static com.google.cloud.contactcenterinsights.v1.IssueModelLabelStats.IssueStats getDefaultInstance() { + public static com.google.cloud.contactcenterinsights.v1.IssueModelLabelStats.IssueStats + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public IssueStats parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public IssueStats parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException() + .setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -947,20 +1072,23 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.cloud.contactcenterinsights.v1.IssueModelLabelStats.IssueStats getDefaultInstanceForType() { + public com.google.cloud.contactcenterinsights.v1.IssueModelLabelStats.IssueStats + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } public static final int ANALYZED_CONVERSATIONS_COUNT_FIELD_NUMBER = 1; private long analyzedConversationsCount_ = 0L; /** + * + * *
    * Number of conversations the issue model has analyzed at this point in time.
    * 
* * int64 analyzed_conversations_count = 1; + * * @return The analyzedConversationsCount. */ @java.lang.Override @@ -971,12 +1099,15 @@ public long getAnalyzedConversationsCount() { public static final int UNCLASSIFIED_CONVERSATIONS_COUNT_FIELD_NUMBER = 2; private long unclassifiedConversationsCount_ = 0L; /** + * + * *
    * Number of analyzed conversations for which no issue was applicable at this
    * point in time.
    * 
* * int64 unclassified_conversations_count = 2; + * * @return The unclassifiedConversationsCount. */ @java.lang.Override @@ -985,94 +1116,136 @@ public long getUnclassifiedConversationsCount() { } public static final int ISSUE_STATS_FIELD_NUMBER = 3; + private static final class IssueStatsDefaultEntryHolder { static final com.google.protobuf.MapEntry< - java.lang.String, com.google.cloud.contactcenterinsights.v1.IssueModelLabelStats.IssueStats> defaultEntry = + java.lang.String, + com.google.cloud.contactcenterinsights.v1.IssueModelLabelStats.IssueStats> + defaultEntry = com.google.protobuf.MapEntry - .newDefaultInstance( - com.google.cloud.contactcenterinsights.v1.ResourcesProto.internal_static_google_cloud_contactcenterinsights_v1_IssueModelLabelStats_IssueStatsEntry_descriptor, - com.google.protobuf.WireFormat.FieldType.STRING, - "", - com.google.protobuf.WireFormat.FieldType.MESSAGE, - com.google.cloud.contactcenterinsights.v1.IssueModelLabelStats.IssueStats.getDefaultInstance()); + . + newDefaultInstance( + com.google.cloud.contactcenterinsights.v1.ResourcesProto + .internal_static_google_cloud_contactcenterinsights_v1_IssueModelLabelStats_IssueStatsEntry_descriptor, + com.google.protobuf.WireFormat.FieldType.STRING, + "", + com.google.protobuf.WireFormat.FieldType.MESSAGE, + com.google.cloud.contactcenterinsights.v1.IssueModelLabelStats.IssueStats + .getDefaultInstance()); } + @SuppressWarnings("serial") private com.google.protobuf.MapField< - java.lang.String, com.google.cloud.contactcenterinsights.v1.IssueModelLabelStats.IssueStats> issueStats_; - private com.google.protobuf.MapField - internalGetIssueStats() { + java.lang.String, + com.google.cloud.contactcenterinsights.v1.IssueModelLabelStats.IssueStats> + issueStats_; + + private com.google.protobuf.MapField< + java.lang.String, + com.google.cloud.contactcenterinsights.v1.IssueModelLabelStats.IssueStats> + internalGetIssueStats() { if (issueStats_ == null) { - return com.google.protobuf.MapField.emptyMapField( - IssueStatsDefaultEntryHolder.defaultEntry); + return com.google.protobuf.MapField.emptyMapField(IssueStatsDefaultEntryHolder.defaultEntry); } return issueStats_; } + public int getIssueStatsCount() { return internalGetIssueStats().getMap().size(); } /** + * + * *
    * Statistics on each issue. Key is the issue's resource name.
    * 
* - * map<string, .google.cloud.contactcenterinsights.v1.IssueModelLabelStats.IssueStats> issue_stats = 3; + * + * map<string, .google.cloud.contactcenterinsights.v1.IssueModelLabelStats.IssueStats> issue_stats = 3; + * */ @java.lang.Override - public boolean containsIssueStats( - java.lang.String key) { - if (key == null) { throw new NullPointerException("map key"); } + public boolean containsIssueStats(java.lang.String key) { + if (key == null) { + throw new NullPointerException("map key"); + } return internalGetIssueStats().getMap().containsKey(key); } - /** - * Use {@link #getIssueStatsMap()} instead. - */ + /** Use {@link #getIssueStatsMap()} instead. */ @java.lang.Override @java.lang.Deprecated - public java.util.Map getIssueStats() { + public java.util.Map< + java.lang.String, + com.google.cloud.contactcenterinsights.v1.IssueModelLabelStats.IssueStats> + getIssueStats() { return getIssueStatsMap(); } /** + * + * *
    * Statistics on each issue. Key is the issue's resource name.
    * 
* - * map<string, .google.cloud.contactcenterinsights.v1.IssueModelLabelStats.IssueStats> issue_stats = 3; + * + * map<string, .google.cloud.contactcenterinsights.v1.IssueModelLabelStats.IssueStats> issue_stats = 3; + * */ @java.lang.Override - public java.util.Map getIssueStatsMap() { + public java.util.Map< + java.lang.String, + com.google.cloud.contactcenterinsights.v1.IssueModelLabelStats.IssueStats> + getIssueStatsMap() { return internalGetIssueStats().getMap(); } /** + * + * *
    * Statistics on each issue. Key is the issue's resource name.
    * 
* - * map<string, .google.cloud.contactcenterinsights.v1.IssueModelLabelStats.IssueStats> issue_stats = 3; + * + * map<string, .google.cloud.contactcenterinsights.v1.IssueModelLabelStats.IssueStats> issue_stats = 3; + * */ @java.lang.Override - public /* nullable */ -com.google.cloud.contactcenterinsights.v1.IssueModelLabelStats.IssueStats getIssueStatsOrDefault( - java.lang.String key, - /* nullable */ -com.google.cloud.contactcenterinsights.v1.IssueModelLabelStats.IssueStats defaultValue) { - if (key == null) { throw new NullPointerException("map key"); } - java.util.Map map = - internalGetIssueStats().getMap(); + public /* nullable */ com.google.cloud.contactcenterinsights.v1.IssueModelLabelStats.IssueStats + getIssueStatsOrDefault( + java.lang.String key, + /* nullable */ + com.google.cloud.contactcenterinsights.v1.IssueModelLabelStats.IssueStats defaultValue) { + if (key == null) { + throw new NullPointerException("map key"); + } + java.util.Map< + java.lang.String, + com.google.cloud.contactcenterinsights.v1.IssueModelLabelStats.IssueStats> + map = internalGetIssueStats().getMap(); return map.containsKey(key) ? map.get(key) : defaultValue; } /** + * + * *
    * Statistics on each issue. Key is the issue's resource name.
    * 
* - * map<string, .google.cloud.contactcenterinsights.v1.IssueModelLabelStats.IssueStats> issue_stats = 3; + * + * map<string, .google.cloud.contactcenterinsights.v1.IssueModelLabelStats.IssueStats> issue_stats = 3; + * */ @java.lang.Override - public com.google.cloud.contactcenterinsights.v1.IssueModelLabelStats.IssueStats getIssueStatsOrThrow( - java.lang.String key) { - if (key == null) { throw new NullPointerException("map key"); } - java.util.Map map = - internalGetIssueStats().getMap(); + public com.google.cloud.contactcenterinsights.v1.IssueModelLabelStats.IssueStats + getIssueStatsOrThrow(java.lang.String key) { + if (key == null) { + throw new NullPointerException("map key"); + } + java.util.Map< + java.lang.String, + com.google.cloud.contactcenterinsights.v1.IssueModelLabelStats.IssueStats> + map = internalGetIssueStats().getMap(); if (!map.containsKey(key)) { throw new java.lang.IllegalArgumentException(); } @@ -1080,6 +1253,7 @@ public com.google.cloud.contactcenterinsights.v1.IssueModelLabelStats.IssueStats } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -1091,20 +1265,15 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (analyzedConversationsCount_ != 0L) { output.writeInt64(1, analyzedConversationsCount_); } if (unclassifiedConversationsCount_ != 0L) { output.writeInt64(2, unclassifiedConversationsCount_); } - com.google.protobuf.GeneratedMessageV3 - .serializeStringMapTo( - output, - internalGetIssueStats(), - IssueStatsDefaultEntryHolder.defaultEntry, - 3); + com.google.protobuf.GeneratedMessageV3.serializeStringMapTo( + output, internalGetIssueStats(), IssueStatsDefaultEntryHolder.defaultEntry, 3); getUnknownFields().writeTo(output); } @@ -1115,22 +1284,28 @@ public int getSerializedSize() { size = 0; if (analyzedConversationsCount_ != 0L) { - size += com.google.protobuf.CodedOutputStream - .computeInt64Size(1, analyzedConversationsCount_); + size += + com.google.protobuf.CodedOutputStream.computeInt64Size(1, analyzedConversationsCount_); } if (unclassifiedConversationsCount_ != 0L) { - size += com.google.protobuf.CodedOutputStream - .computeInt64Size(2, unclassifiedConversationsCount_); - } - for (java.util.Map.Entry entry - : internalGetIssueStats().getMap().entrySet()) { - com.google.protobuf.MapEntry - issueStats__ = IssueStatsDefaultEntryHolder.defaultEntry.newBuilderForType() - .setKey(entry.getKey()) - .setValue(entry.getValue()) - .build(); - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(3, issueStats__); + size += + com.google.protobuf.CodedOutputStream.computeInt64Size( + 2, unclassifiedConversationsCount_); + } + for (java.util.Map.Entry< + java.lang.String, + com.google.cloud.contactcenterinsights.v1.IssueModelLabelStats.IssueStats> + entry : internalGetIssueStats().getMap().entrySet()) { + com.google.protobuf.MapEntry< + java.lang.String, + com.google.cloud.contactcenterinsights.v1.IssueModelLabelStats.IssueStats> + issueStats__ = + IssueStatsDefaultEntryHolder.defaultEntry + .newBuilderForType() + .setKey(entry.getKey()) + .setValue(entry.getValue()) + .build(); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, issueStats__); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -1140,19 +1315,18 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.contactcenterinsights.v1.IssueModelLabelStats)) { return super.equals(obj); } - com.google.cloud.contactcenterinsights.v1.IssueModelLabelStats other = (com.google.cloud.contactcenterinsights.v1.IssueModelLabelStats) obj; + com.google.cloud.contactcenterinsights.v1.IssueModelLabelStats other = + (com.google.cloud.contactcenterinsights.v1.IssueModelLabelStats) obj; - if (getAnalyzedConversationsCount() - != other.getAnalyzedConversationsCount()) return false; - if (getUnclassifiedConversationsCount() - != other.getUnclassifiedConversationsCount()) return false; - if (!internalGetIssueStats().equals( - other.internalGetIssueStats())) return false; + if (getAnalyzedConversationsCount() != other.getAnalyzedConversationsCount()) return false; + if (getUnclassifiedConversationsCount() != other.getUnclassifiedConversationsCount()) + return false; + if (!internalGetIssueStats().equals(other.internalGetIssueStats())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -1165,11 +1339,9 @@ public int hashCode() { int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); hash = (37 * hash) + ANALYZED_CONVERSATIONS_COUNT_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashLong( - getAnalyzedConversationsCount()); + hash = (53 * hash) + com.google.protobuf.Internal.hashLong(getAnalyzedConversationsCount()); hash = (37 * hash) + UNCLASSIFIED_CONVERSATIONS_COUNT_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashLong( - getUnclassifiedConversationsCount()); + hash = (53 * hash) + com.google.protobuf.Internal.hashLong(getUnclassifiedConversationsCount()); if (!internalGetIssueStats().getMap().isEmpty()) { hash = (37 * hash) + ISSUE_STATS_FIELD_NUMBER; hash = (53 * hash) + internalGetIssueStats().hashCode(); @@ -1180,151 +1352,156 @@ public int hashCode() { } public static com.google.cloud.contactcenterinsights.v1.IssueModelLabelStats parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.contactcenterinsights.v1.IssueModelLabelStats parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.contactcenterinsights.v1.IssueModelLabelStats parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.contactcenterinsights.v1.IssueModelLabelStats parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.contactcenterinsights.v1.IssueModelLabelStats parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.contactcenterinsights.v1.IssueModelLabelStats parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.contactcenterinsights.v1.IssueModelLabelStats parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.contactcenterinsights.v1.IssueModelLabelStats parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.contactcenterinsights.v1.IssueModelLabelStats parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.contactcenterinsights.v1.IssueModelLabelStats parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.contactcenterinsights.v1.IssueModelLabelStats parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.contactcenterinsights.v1.IssueModelLabelStats parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.contactcenterinsights.v1.IssueModelLabelStats parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.contactcenterinsights.v1.IssueModelLabelStats parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.contactcenterinsights.v1.IssueModelLabelStats parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.contactcenterinsights.v1.IssueModelLabelStats prototype) { + + public static Builder newBuilder( + com.google.cloud.contactcenterinsights.v1.IssueModelLabelStats prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Aggregated statistics about an issue model.
    * 
* * Protobuf type {@code google.cloud.contactcenterinsights.v1.IssueModelLabelStats} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.contactcenterinsights.v1.IssueModelLabelStats) com.google.cloud.contactcenterinsights.v1.IssueModelLabelStatsOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.contactcenterinsights.v1.ResourcesProto.internal_static_google_cloud_contactcenterinsights_v1_IssueModelLabelStats_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.contactcenterinsights.v1.ResourcesProto + .internal_static_google_cloud_contactcenterinsights_v1_IssueModelLabelStats_descriptor; } @SuppressWarnings({"rawtypes"}) - protected com.google.protobuf.MapField internalGetMapField( - int number) { + protected com.google.protobuf.MapField internalGetMapField(int number) { switch (number) { case 3: return internalGetIssueStats(); default: - throw new RuntimeException( - "Invalid map field number: " + number); + throw new RuntimeException("Invalid map field number: " + number); } } + @SuppressWarnings({"rawtypes"}) - protected com.google.protobuf.MapField internalGetMutableMapField( - int number) { + protected com.google.protobuf.MapField internalGetMutableMapField(int number) { switch (number) { case 3: return internalGetMutableIssueStats(); default: - throw new RuntimeException( - "Invalid map field number: " + number); + throw new RuntimeException("Invalid map field number: " + number); } } + @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.contactcenterinsights.v1.ResourcesProto.internal_static_google_cloud_contactcenterinsights_v1_IssueModelLabelStats_fieldAccessorTable + return com.google.cloud.contactcenterinsights.v1.ResourcesProto + .internal_static_google_cloud_contactcenterinsights_v1_IssueModelLabelStats_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.contactcenterinsights.v1.IssueModelLabelStats.class, com.google.cloud.contactcenterinsights.v1.IssueModelLabelStats.Builder.class); + com.google.cloud.contactcenterinsights.v1.IssueModelLabelStats.class, + com.google.cloud.contactcenterinsights.v1.IssueModelLabelStats.Builder.class); } // Construct using com.google.cloud.contactcenterinsights.v1.IssueModelLabelStats.newBuilder() - private Builder() { - - } + private Builder() {} - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -1336,13 +1513,14 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.contactcenterinsights.v1.ResourcesProto.internal_static_google_cloud_contactcenterinsights_v1_IssueModelLabelStats_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.contactcenterinsights.v1.ResourcesProto + .internal_static_google_cloud_contactcenterinsights_v1_IssueModelLabelStats_descriptor; } @java.lang.Override - public com.google.cloud.contactcenterinsights.v1.IssueModelLabelStats getDefaultInstanceForType() { + public com.google.cloud.contactcenterinsights.v1.IssueModelLabelStats + getDefaultInstanceForType() { return com.google.cloud.contactcenterinsights.v1.IssueModelLabelStats.getDefaultInstance(); } @@ -1357,13 +1535,17 @@ public com.google.cloud.contactcenterinsights.v1.IssueModelLabelStats build() { @java.lang.Override public com.google.cloud.contactcenterinsights.v1.IssueModelLabelStats buildPartial() { - com.google.cloud.contactcenterinsights.v1.IssueModelLabelStats result = new com.google.cloud.contactcenterinsights.v1.IssueModelLabelStats(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.cloud.contactcenterinsights.v1.IssueModelLabelStats result = + new com.google.cloud.contactcenterinsights.v1.IssueModelLabelStats(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } - private void buildPartial0(com.google.cloud.contactcenterinsights.v1.IssueModelLabelStats result) { + private void buildPartial0( + com.google.cloud.contactcenterinsights.v1.IssueModelLabelStats result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { result.analyzedConversationsCount_ = analyzedConversationsCount_; @@ -1381,38 +1563,39 @@ private void buildPartial0(com.google.cloud.contactcenterinsights.v1.IssueModelL public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.contactcenterinsights.v1.IssueModelLabelStats) { - return mergeFrom((com.google.cloud.contactcenterinsights.v1.IssueModelLabelStats)other); + return mergeFrom((com.google.cloud.contactcenterinsights.v1.IssueModelLabelStats) other); } else { super.mergeFrom(other); return this; @@ -1420,15 +1603,16 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.contactcenterinsights.v1.IssueModelLabelStats other) { - if (other == com.google.cloud.contactcenterinsights.v1.IssueModelLabelStats.getDefaultInstance()) return this; + if (other + == com.google.cloud.contactcenterinsights.v1.IssueModelLabelStats.getDefaultInstance()) + return this; if (other.getAnalyzedConversationsCount() != 0L) { setAnalyzedConversationsCount(other.getAnalyzedConversationsCount()); } if (other.getUnclassifiedConversationsCount() != 0L) { setUnclassifiedConversationsCount(other.getUnclassifiedConversationsCount()); } - internalGetMutableIssueStats().mergeFrom( - other.internalGetIssueStats()); + internalGetMutableIssueStats().mergeFrom(other.internalGetIssueStats()); bitField0_ |= 0x00000004; this.mergeUnknownFields(other.getUnknownFields()); onChanged(); @@ -1456,31 +1640,40 @@ public Builder mergeFrom( case 0: done = true; break; - case 8: { - analyzedConversationsCount_ = input.readInt64(); - bitField0_ |= 0x00000001; - break; - } // case 8 - case 16: { - unclassifiedConversationsCount_ = input.readInt64(); - bitField0_ |= 0x00000002; - break; - } // case 16 - case 26: { - com.google.protobuf.MapEntry - issueStats__ = input.readMessage( - IssueStatsDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry); - internalGetMutableIssueStats().getMutableMap().put( - issueStats__.getKey(), issueStats__.getValue()); - bitField0_ |= 0x00000004; - break; - } // case 26 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 8: + { + analyzedConversationsCount_ = input.readInt64(); + bitField0_ |= 0x00000001; + break; + } // case 8 + case 16: + { + unclassifiedConversationsCount_ = input.readInt64(); + bitField0_ |= 0x00000002; + break; + } // case 16 + case 26: + { + com.google.protobuf.MapEntry< + java.lang.String, + com.google.cloud.contactcenterinsights.v1.IssueModelLabelStats.IssueStats> + issueStats__ = + input.readMessage( + IssueStatsDefaultEntryHolder.defaultEntry.getParserForType(), + extensionRegistry); + internalGetMutableIssueStats() + .getMutableMap() + .put(issueStats__.getKey(), issueStats__.getValue()); + bitField0_ |= 0x00000004; + break; + } // case 26 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -1490,15 +1683,19 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; - private long analyzedConversationsCount_ ; + private long analyzedConversationsCount_; /** + * + * *
      * Number of conversations the issue model has analyzed at this point in time.
      * 
* * int64 analyzed_conversations_count = 1; + * * @return The analyzedConversationsCount. */ @java.lang.Override @@ -1506,27 +1703,33 @@ public long getAnalyzedConversationsCount() { return analyzedConversationsCount_; } /** + * + * *
      * Number of conversations the issue model has analyzed at this point in time.
      * 
* * int64 analyzed_conversations_count = 1; + * * @param value The analyzedConversationsCount to set. * @return This builder for chaining. */ public Builder setAnalyzedConversationsCount(long value) { - + analyzedConversationsCount_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
      * Number of conversations the issue model has analyzed at this point in time.
      * 
* * int64 analyzed_conversations_count = 1; + * * @return This builder for chaining. */ public Builder clearAnalyzedConversationsCount() { @@ -1536,14 +1739,17 @@ public Builder clearAnalyzedConversationsCount() { return this; } - private long unclassifiedConversationsCount_ ; + private long unclassifiedConversationsCount_; /** + * + * *
      * Number of analyzed conversations for which no issue was applicable at this
      * point in time.
      * 
* * int64 unclassified_conversations_count = 2; + * * @return The unclassifiedConversationsCount. */ @java.lang.Override @@ -1551,29 +1757,35 @@ public long getUnclassifiedConversationsCount() { return unclassifiedConversationsCount_; } /** + * + * *
      * Number of analyzed conversations for which no issue was applicable at this
      * point in time.
      * 
* * int64 unclassified_conversations_count = 2; + * * @param value The unclassifiedConversationsCount to set. * @return This builder for chaining. */ public Builder setUnclassifiedConversationsCount(long value) { - + unclassifiedConversationsCount_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** + * + * *
      * Number of analyzed conversations for which no issue was applicable at this
      * point in time.
      * 
* * int64 unclassified_conversations_count = 2; + * * @return This builder for chaining. */ public Builder clearUnclassifiedConversationsCount() { @@ -1584,8 +1796,13 @@ public Builder clearUnclassifiedConversationsCount() { } private com.google.protobuf.MapField< - java.lang.String, com.google.cloud.contactcenterinsights.v1.IssueModelLabelStats.IssueStats> issueStats_; - private com.google.protobuf.MapField + java.lang.String, + com.google.cloud.contactcenterinsights.v1.IssueModelLabelStats.IssueStats> + issueStats_; + + private com.google.protobuf.MapField< + java.lang.String, + com.google.cloud.contactcenterinsights.v1.IssueModelLabelStats.IssueStats> internalGetIssueStats() { if (issueStats_ == null) { return com.google.protobuf.MapField.emptyMapField( @@ -1593,11 +1810,14 @@ public Builder clearUnclassifiedConversationsCount() { } return issueStats_; } - private com.google.protobuf.MapField + + private com.google.protobuf.MapField< + java.lang.String, + com.google.cloud.contactcenterinsights.v1.IssueModelLabelStats.IssueStats> internalGetMutableIssueStats() { if (issueStats_ == null) { - issueStats_ = com.google.protobuf.MapField.newMapField( - IssueStatsDefaultEntryHolder.defaultEntry); + issueStats_ = + com.google.protobuf.MapField.newMapField(IssueStatsDefaultEntryHolder.defaultEntry); } if (!issueStats_.isMutable()) { issueStats_ = issueStats_.copy(); @@ -1606,140 +1826,188 @@ public Builder clearUnclassifiedConversationsCount() { onChanged(); return issueStats_; } + public int getIssueStatsCount() { return internalGetIssueStats().getMap().size(); } /** + * + * *
      * Statistics on each issue. Key is the issue's resource name.
      * 
* - * map<string, .google.cloud.contactcenterinsights.v1.IssueModelLabelStats.IssueStats> issue_stats = 3; + * + * map<string, .google.cloud.contactcenterinsights.v1.IssueModelLabelStats.IssueStats> issue_stats = 3; + * */ @java.lang.Override - public boolean containsIssueStats( - java.lang.String key) { - if (key == null) { throw new NullPointerException("map key"); } + public boolean containsIssueStats(java.lang.String key) { + if (key == null) { + throw new NullPointerException("map key"); + } return internalGetIssueStats().getMap().containsKey(key); } - /** - * Use {@link #getIssueStatsMap()} instead. - */ + /** Use {@link #getIssueStatsMap()} instead. */ @java.lang.Override @java.lang.Deprecated - public java.util.Map getIssueStats() { + public java.util.Map< + java.lang.String, + com.google.cloud.contactcenterinsights.v1.IssueModelLabelStats.IssueStats> + getIssueStats() { return getIssueStatsMap(); } /** + * + * *
      * Statistics on each issue. Key is the issue's resource name.
      * 
* - * map<string, .google.cloud.contactcenterinsights.v1.IssueModelLabelStats.IssueStats> issue_stats = 3; + * + * map<string, .google.cloud.contactcenterinsights.v1.IssueModelLabelStats.IssueStats> issue_stats = 3; + * */ @java.lang.Override - public java.util.Map getIssueStatsMap() { + public java.util.Map< + java.lang.String, + com.google.cloud.contactcenterinsights.v1.IssueModelLabelStats.IssueStats> + getIssueStatsMap() { return internalGetIssueStats().getMap(); } /** + * + * *
      * Statistics on each issue. Key is the issue's resource name.
      * 
* - * map<string, .google.cloud.contactcenterinsights.v1.IssueModelLabelStats.IssueStats> issue_stats = 3; + * + * map<string, .google.cloud.contactcenterinsights.v1.IssueModelLabelStats.IssueStats> issue_stats = 3; + * */ @java.lang.Override - public /* nullable */ -com.google.cloud.contactcenterinsights.v1.IssueModelLabelStats.IssueStats getIssueStatsOrDefault( - java.lang.String key, - /* nullable */ -com.google.cloud.contactcenterinsights.v1.IssueModelLabelStats.IssueStats defaultValue) { - if (key == null) { throw new NullPointerException("map key"); } - java.util.Map map = - internalGetIssueStats().getMap(); + public /* nullable */ com.google.cloud.contactcenterinsights.v1.IssueModelLabelStats.IssueStats + getIssueStatsOrDefault( + java.lang.String key, + /* nullable */ + com.google.cloud.contactcenterinsights.v1.IssueModelLabelStats.IssueStats + defaultValue) { + if (key == null) { + throw new NullPointerException("map key"); + } + java.util.Map< + java.lang.String, + com.google.cloud.contactcenterinsights.v1.IssueModelLabelStats.IssueStats> + map = internalGetIssueStats().getMap(); return map.containsKey(key) ? map.get(key) : defaultValue; } /** + * + * *
      * Statistics on each issue. Key is the issue's resource name.
      * 
* - * map<string, .google.cloud.contactcenterinsights.v1.IssueModelLabelStats.IssueStats> issue_stats = 3; + * + * map<string, .google.cloud.contactcenterinsights.v1.IssueModelLabelStats.IssueStats> issue_stats = 3; + * */ @java.lang.Override - public com.google.cloud.contactcenterinsights.v1.IssueModelLabelStats.IssueStats getIssueStatsOrThrow( - java.lang.String key) { - if (key == null) { throw new NullPointerException("map key"); } - java.util.Map map = - internalGetIssueStats().getMap(); + public com.google.cloud.contactcenterinsights.v1.IssueModelLabelStats.IssueStats + getIssueStatsOrThrow(java.lang.String key) { + if (key == null) { + throw new NullPointerException("map key"); + } + java.util.Map< + java.lang.String, + com.google.cloud.contactcenterinsights.v1.IssueModelLabelStats.IssueStats> + map = internalGetIssueStats().getMap(); if (!map.containsKey(key)) { throw new java.lang.IllegalArgumentException(); } return map.get(key); } + public Builder clearIssueStats() { bitField0_ = (bitField0_ & ~0x00000004); - internalGetMutableIssueStats().getMutableMap() - .clear(); + internalGetMutableIssueStats().getMutableMap().clear(); return this; } /** + * + * *
      * Statistics on each issue. Key is the issue's resource name.
      * 
* - * map<string, .google.cloud.contactcenterinsights.v1.IssueModelLabelStats.IssueStats> issue_stats = 3; + * + * map<string, .google.cloud.contactcenterinsights.v1.IssueModelLabelStats.IssueStats> issue_stats = 3; + * */ - public Builder removeIssueStats( - java.lang.String key) { - if (key == null) { throw new NullPointerException("map key"); } - internalGetMutableIssueStats().getMutableMap() - .remove(key); + public Builder removeIssueStats(java.lang.String key) { + if (key == null) { + throw new NullPointerException("map key"); + } + internalGetMutableIssueStats().getMutableMap().remove(key); return this; } - /** - * Use alternate mutation accessors instead. - */ + /** Use alternate mutation accessors instead. */ @java.lang.Deprecated - public java.util.Map + public java.util.Map< + java.lang.String, + com.google.cloud.contactcenterinsights.v1.IssueModelLabelStats.IssueStats> getMutableIssueStats() { bitField0_ |= 0x00000004; return internalGetMutableIssueStats().getMutableMap(); } /** + * + * *
      * Statistics on each issue. Key is the issue's resource name.
      * 
* - * map<string, .google.cloud.contactcenterinsights.v1.IssueModelLabelStats.IssueStats> issue_stats = 3; + * + * map<string, .google.cloud.contactcenterinsights.v1.IssueModelLabelStats.IssueStats> issue_stats = 3; + * */ public Builder putIssueStats( java.lang.String key, com.google.cloud.contactcenterinsights.v1.IssueModelLabelStats.IssueStats value) { - if (key == null) { throw new NullPointerException("map key"); } - if (value == null) { throw new NullPointerException("map value"); } - internalGetMutableIssueStats().getMutableMap() - .put(key, value); + if (key == null) { + throw new NullPointerException("map key"); + } + if (value == null) { + throw new NullPointerException("map value"); + } + internalGetMutableIssueStats().getMutableMap().put(key, value); bitField0_ |= 0x00000004; return this; } /** + * + * *
      * Statistics on each issue. Key is the issue's resource name.
      * 
* - * map<string, .google.cloud.contactcenterinsights.v1.IssueModelLabelStats.IssueStats> issue_stats = 3; + * + * map<string, .google.cloud.contactcenterinsights.v1.IssueModelLabelStats.IssueStats> issue_stats = 3; + * */ public Builder putAllIssueStats( - java.util.Map values) { - internalGetMutableIssueStats().getMutableMap() - .putAll(values); + java.util.Map< + java.lang.String, + com.google.cloud.contactcenterinsights.v1.IssueModelLabelStats.IssueStats> + values) { + internalGetMutableIssueStats().getMutableMap().putAll(values); bitField0_ |= 0x00000004; return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1749,41 +2017,43 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.contactcenterinsights.v1.IssueModelLabelStats) } // @@protoc_insertion_point(class_scope:google.cloud.contactcenterinsights.v1.IssueModelLabelStats) - private static final com.google.cloud.contactcenterinsights.v1.IssueModelLabelStats DEFAULT_INSTANCE; + private static final com.google.cloud.contactcenterinsights.v1.IssueModelLabelStats + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.contactcenterinsights.v1.IssueModelLabelStats(); } - public static com.google.cloud.contactcenterinsights.v1.IssueModelLabelStats getDefaultInstance() { + public static com.google.cloud.contactcenterinsights.v1.IssueModelLabelStats + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public IssueModelLabelStats parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public IssueModelLabelStats parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1795,9 +2065,8 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.cloud.contactcenterinsights.v1.IssueModelLabelStats getDefaultInstanceForType() { + public com.google.cloud.contactcenterinsights.v1.IssueModelLabelStats + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/IssueModelLabelStatsOrBuilder.java b/java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/IssueModelLabelStatsOrBuilder.java new file mode 100644 index 000000000000..f07cfaf4a42f --- /dev/null +++ b/java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/IssueModelLabelStatsOrBuilder.java @@ -0,0 +1,127 @@ +/* + * 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. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/contactcenterinsights/v1/resources.proto + +package com.google.cloud.contactcenterinsights.v1; + +public interface IssueModelLabelStatsOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.cloud.contactcenterinsights.v1.IssueModelLabelStats) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * Number of conversations the issue model has analyzed at this point in time.
+   * 
+ * + * int64 analyzed_conversations_count = 1; + * + * @return The analyzedConversationsCount. + */ + long getAnalyzedConversationsCount(); + + /** + * + * + *
+   * Number of analyzed conversations for which no issue was applicable at this
+   * point in time.
+   * 
+ * + * int64 unclassified_conversations_count = 2; + * + * @return The unclassifiedConversationsCount. + */ + long getUnclassifiedConversationsCount(); + + /** + * + * + *
+   * Statistics on each issue. Key is the issue's resource name.
+   * 
+ * + * + * map<string, .google.cloud.contactcenterinsights.v1.IssueModelLabelStats.IssueStats> issue_stats = 3; + * + */ + int getIssueStatsCount(); + /** + * + * + *
+   * Statistics on each issue. Key is the issue's resource name.
+   * 
+ * + * + * map<string, .google.cloud.contactcenterinsights.v1.IssueModelLabelStats.IssueStats> issue_stats = 3; + * + */ + boolean containsIssueStats(java.lang.String key); + /** Use {@link #getIssueStatsMap()} instead. */ + @java.lang.Deprecated + java.util.Map< + java.lang.String, + com.google.cloud.contactcenterinsights.v1.IssueModelLabelStats.IssueStats> + getIssueStats(); + /** + * + * + *
+   * Statistics on each issue. Key is the issue's resource name.
+   * 
+ * + * + * map<string, .google.cloud.contactcenterinsights.v1.IssueModelLabelStats.IssueStats> issue_stats = 3; + * + */ + java.util.Map< + java.lang.String, + com.google.cloud.contactcenterinsights.v1.IssueModelLabelStats.IssueStats> + getIssueStatsMap(); + /** + * + * + *
+   * Statistics on each issue. Key is the issue's resource name.
+   * 
+ * + * + * map<string, .google.cloud.contactcenterinsights.v1.IssueModelLabelStats.IssueStats> issue_stats = 3; + * + */ + /* nullable */ + com.google.cloud.contactcenterinsights.v1.IssueModelLabelStats.IssueStats getIssueStatsOrDefault( + java.lang.String key, + /* nullable */ + com.google.cloud.contactcenterinsights.v1.IssueModelLabelStats.IssueStats defaultValue); + /** + * + * + *
+   * Statistics on each issue. Key is the issue's resource name.
+   * 
+ * + * + * map<string, .google.cloud.contactcenterinsights.v1.IssueModelLabelStats.IssueStats> issue_stats = 3; + * + */ + com.google.cloud.contactcenterinsights.v1.IssueModelLabelStats.IssueStats getIssueStatsOrThrow( + java.lang.String key); +} diff --git a/owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/IssueModelName.java b/java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/IssueModelName.java similarity index 100% rename from owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/IssueModelName.java rename to java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/IssueModelName.java diff --git a/owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/IssueModelOrBuilder.java b/java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/IssueModelOrBuilder.java similarity index 66% rename from owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/IssueModelOrBuilder.java rename to java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/IssueModelOrBuilder.java index 13221536e78b..877a355b7c73 100644 --- a/owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/IssueModelOrBuilder.java +++ b/java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/IssueModelOrBuilder.java @@ -1,13 +1,31 @@ +/* + * 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. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/contactcenterinsights/v1/resources.proto package com.google.cloud.contactcenterinsights.v1; -public interface IssueModelOrBuilder extends +public interface IssueModelOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.contactcenterinsights.v1.IssueModel) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Immutable. The resource name of the issue model.
    * Format:
@@ -15,10 +33,13 @@ public interface IssueModelOrBuilder extends
    * 
* * string name = 1 [(.google.api.field_behavior) = IMMUTABLE]; + * * @return The name. */ java.lang.String getName(); /** + * + * *
    * Immutable. The resource name of the issue model.
    * Format:
@@ -26,168 +47,235 @@ public interface IssueModelOrBuilder extends
    * 
* * string name = 1 [(.google.api.field_behavior) = IMMUTABLE]; + * * @return The bytes for name. */ - com.google.protobuf.ByteString - getNameBytes(); + com.google.protobuf.ByteString getNameBytes(); /** + * + * *
    * The representative name for the issue model.
    * 
* * string display_name = 2; + * * @return The displayName. */ java.lang.String getDisplayName(); /** + * + * *
    * The representative name for the issue model.
    * 
* * string display_name = 2; + * * @return The bytes for displayName. */ - com.google.protobuf.ByteString - getDisplayNameBytes(); + com.google.protobuf.ByteString getDisplayNameBytes(); /** + * + * *
    * Output only. The time at which this issue model was created.
    * 
* - * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the createTime field is set. */ boolean hasCreateTime(); /** + * + * *
    * Output only. The time at which this issue model was created.
    * 
* - * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The createTime. */ com.google.protobuf.Timestamp getCreateTime(); /** + * + * *
    * Output only. The time at which this issue model was created.
    * 
* - * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder(); /** + * + * *
    * Output only. The most recent time at which the issue model was updated.
    * 
* - * .google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the updateTime field is set. */ boolean hasUpdateTime(); /** + * + * *
    * Output only. The most recent time at which the issue model was updated.
    * 
* - * .google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The updateTime. */ com.google.protobuf.Timestamp getUpdateTime(); /** + * + * *
    * Output only. The most recent time at which the issue model was updated.
    * 
* - * .google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder(); /** + * + * *
    * Output only. Number of issues in this issue model.
    * 
* * int64 issue_count = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The issueCount. */ long getIssueCount(); /** + * + * *
    * Output only. State of the model.
    * 
* - * .google.cloud.contactcenterinsights.v1.IssueModel.State state = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.contactcenterinsights.v1.IssueModel.State state = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The enum numeric value on the wire for state. */ int getStateValue(); /** + * + * *
    * Output only. State of the model.
    * 
* - * .google.cloud.contactcenterinsights.v1.IssueModel.State state = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.contactcenterinsights.v1.IssueModel.State state = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The state. */ com.google.cloud.contactcenterinsights.v1.IssueModel.State getState(); /** + * + * *
    * Configs for the input data that used to create the issue model.
    * 
* - * .google.cloud.contactcenterinsights.v1.IssueModel.InputDataConfig input_data_config = 6; + * .google.cloud.contactcenterinsights.v1.IssueModel.InputDataConfig input_data_config = 6; + * + * * @return Whether the inputDataConfig field is set. */ boolean hasInputDataConfig(); /** + * + * *
    * Configs for the input data that used to create the issue model.
    * 
* - * .google.cloud.contactcenterinsights.v1.IssueModel.InputDataConfig input_data_config = 6; + * .google.cloud.contactcenterinsights.v1.IssueModel.InputDataConfig input_data_config = 6; + * + * * @return The inputDataConfig. */ com.google.cloud.contactcenterinsights.v1.IssueModel.InputDataConfig getInputDataConfig(); /** + * + * *
    * Configs for the input data that used to create the issue model.
    * 
* - * .google.cloud.contactcenterinsights.v1.IssueModel.InputDataConfig input_data_config = 6; + * .google.cloud.contactcenterinsights.v1.IssueModel.InputDataConfig input_data_config = 6; + * */ - com.google.cloud.contactcenterinsights.v1.IssueModel.InputDataConfigOrBuilder getInputDataConfigOrBuilder(); + com.google.cloud.contactcenterinsights.v1.IssueModel.InputDataConfigOrBuilder + getInputDataConfigOrBuilder(); /** + * + * *
    * Output only. Immutable. The issue model's label statistics on its training
    * data.
    * 
* - * .google.cloud.contactcenterinsights.v1.IssueModelLabelStats training_stats = 7 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.field_behavior) = IMMUTABLE]; + * + * .google.cloud.contactcenterinsights.v1.IssueModelLabelStats training_stats = 7 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.field_behavior) = IMMUTABLE]; + * + * * @return Whether the trainingStats field is set. */ boolean hasTrainingStats(); /** + * + * *
    * Output only. Immutable. The issue model's label statistics on its training
    * data.
    * 
* - * .google.cloud.contactcenterinsights.v1.IssueModelLabelStats training_stats = 7 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.field_behavior) = IMMUTABLE]; + * + * .google.cloud.contactcenterinsights.v1.IssueModelLabelStats training_stats = 7 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.field_behavior) = IMMUTABLE]; + * + * * @return The trainingStats. */ com.google.cloud.contactcenterinsights.v1.IssueModelLabelStats getTrainingStats(); /** + * + * *
    * Output only. Immutable. The issue model's label statistics on its training
    * data.
    * 
* - * .google.cloud.contactcenterinsights.v1.IssueModelLabelStats training_stats = 7 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.field_behavior) = IMMUTABLE]; + * + * .google.cloud.contactcenterinsights.v1.IssueModelLabelStats training_stats = 7 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.field_behavior) = IMMUTABLE]; + * */ - com.google.cloud.contactcenterinsights.v1.IssueModelLabelStatsOrBuilder getTrainingStatsOrBuilder(); + com.google.cloud.contactcenterinsights.v1.IssueModelLabelStatsOrBuilder + getTrainingStatsOrBuilder(); } diff --git a/owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/IssueModelResult.java b/java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/IssueModelResult.java similarity index 72% rename from owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/IssueModelResult.java rename to java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/IssueModelResult.java index 56e431bb2193..efd7e791fa02 100644 --- a/owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/IssueModelResult.java +++ b/java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/IssueModelResult.java @@ -1,24 +1,42 @@ +/* + * 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. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/contactcenterinsights/v1/resources.proto package com.google.cloud.contactcenterinsights.v1; /** + * + * *
  * Issue Modeling result on a conversation.
  * 
* * Protobuf type {@code google.cloud.contactcenterinsights.v1.IssueModelResult} */ -public final class IssueModelResult extends - com.google.protobuf.GeneratedMessageV3 implements +public final class IssueModelResult extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.contactcenterinsights.v1.IssueModelResult) IssueModelResultOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use IssueModelResult.newBuilder() to construct. private IssueModelResult(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private IssueModelResult() { issueModel_ = ""; issues_ = java.util.Collections.emptyList(); @@ -26,39 +44,44 @@ private IssueModelResult() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new IssueModelResult(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.contactcenterinsights.v1.ResourcesProto.internal_static_google_cloud_contactcenterinsights_v1_IssueModelResult_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.contactcenterinsights.v1.ResourcesProto + .internal_static_google_cloud_contactcenterinsights_v1_IssueModelResult_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.contactcenterinsights.v1.ResourcesProto.internal_static_google_cloud_contactcenterinsights_v1_IssueModelResult_fieldAccessorTable + return com.google.cloud.contactcenterinsights.v1.ResourcesProto + .internal_static_google_cloud_contactcenterinsights_v1_IssueModelResult_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.contactcenterinsights.v1.IssueModelResult.class, com.google.cloud.contactcenterinsights.v1.IssueModelResult.Builder.class); + com.google.cloud.contactcenterinsights.v1.IssueModelResult.class, + com.google.cloud.contactcenterinsights.v1.IssueModelResult.Builder.class); } public static final int ISSUE_MODEL_FIELD_NUMBER = 1; + @SuppressWarnings("serial") private volatile java.lang.Object issueModel_ = ""; /** + * + * *
    * Issue model that generates the result.
    * Format: projects/{project}/locations/{location}/issueModels/{issue_model}
    * 
* * string issue_model = 1 [(.google.api.resource_reference) = { ... } + * * @return The issueModel. */ @java.lang.Override @@ -67,30 +90,30 @@ public java.lang.String getIssueModel() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); issueModel_ = s; return s; } } /** + * + * *
    * Issue model that generates the result.
    * Format: projects/{project}/locations/{location}/issueModels/{issue_model}
    * 
* * string issue_model = 1 [(.google.api.resource_reference) = { ... } + * * @return The bytes for issueModel. */ @java.lang.Override - public com.google.protobuf.ByteString - getIssueModelBytes() { + public com.google.protobuf.ByteString getIssueModelBytes() { java.lang.Object ref = issueModel_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); issueModel_ = b; return b; } else { @@ -99,9 +122,12 @@ public java.lang.String getIssueModel() { } public static final int ISSUES_FIELD_NUMBER = 2; + @SuppressWarnings("serial") private java.util.List issues_; /** + * + * *
    * All the matched issues.
    * 
@@ -113,6 +139,8 @@ public java.util.List return issues_; } /** + * + * *
    * All the matched issues.
    * 
@@ -120,11 +148,14 @@ public java.util.List * repeated .google.cloud.contactcenterinsights.v1.IssueAssignment issues = 2; */ @java.lang.Override - public java.util.List + public java.util.List< + ? extends com.google.cloud.contactcenterinsights.v1.IssueAssignmentOrBuilder> getIssuesOrBuilderList() { return issues_; } /** + * + * *
    * All the matched issues.
    * 
@@ -136,6 +167,8 @@ public int getIssuesCount() { return issues_.size(); } /** + * + * *
    * All the matched issues.
    * 
@@ -147,6 +180,8 @@ public com.google.cloud.contactcenterinsights.v1.IssueAssignment getIssues(int i return issues_.get(index); } /** + * + * *
    * All the matched issues.
    * 
@@ -160,6 +195,7 @@ public com.google.cloud.contactcenterinsights.v1.IssueAssignmentOrBuilder getIss } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -171,8 +207,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(issueModel_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, issueModel_); } @@ -192,8 +227,7 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, issueModel_); } for (int i = 0; i < issues_.size(); i++) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, issues_.get(i)); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, issues_.get(i)); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -203,17 +237,16 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.contactcenterinsights.v1.IssueModelResult)) { return super.equals(obj); } - com.google.cloud.contactcenterinsights.v1.IssueModelResult other = (com.google.cloud.contactcenterinsights.v1.IssueModelResult) obj; + com.google.cloud.contactcenterinsights.v1.IssueModelResult other = + (com.google.cloud.contactcenterinsights.v1.IssueModelResult) obj; - if (!getIssueModel() - .equals(other.getIssueModel())) return false; - if (!getIssuesList() - .equals(other.getIssuesList())) return false; + if (!getIssueModel().equals(other.getIssueModel())) return false; + if (!getIssuesList().equals(other.getIssuesList())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -237,129 +270,136 @@ public int hashCode() { } public static com.google.cloud.contactcenterinsights.v1.IssueModelResult parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.contactcenterinsights.v1.IssueModelResult parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.contactcenterinsights.v1.IssueModelResult parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.contactcenterinsights.v1.IssueModelResult parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.contactcenterinsights.v1.IssueModelResult parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.contactcenterinsights.v1.IssueModelResult parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.contactcenterinsights.v1.IssueModelResult parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.contactcenterinsights.v1.IssueModelResult parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.contactcenterinsights.v1.IssueModelResult parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.contactcenterinsights.v1.IssueModelResult parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.contactcenterinsights.v1.IssueModelResult parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.contactcenterinsights.v1.IssueModelResult parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.contactcenterinsights.v1.IssueModelResult parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.contactcenterinsights.v1.IssueModelResult parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.contactcenterinsights.v1.IssueModelResult prototype) { + + public static Builder newBuilder( + com.google.cloud.contactcenterinsights.v1.IssueModelResult prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Issue Modeling result on a conversation.
    * 
* * Protobuf type {@code google.cloud.contactcenterinsights.v1.IssueModelResult} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.contactcenterinsights.v1.IssueModelResult) com.google.cloud.contactcenterinsights.v1.IssueModelResultOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.contactcenterinsights.v1.ResourcesProto.internal_static_google_cloud_contactcenterinsights_v1_IssueModelResult_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.contactcenterinsights.v1.ResourcesProto + .internal_static_google_cloud_contactcenterinsights_v1_IssueModelResult_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.contactcenterinsights.v1.ResourcesProto.internal_static_google_cloud_contactcenterinsights_v1_IssueModelResult_fieldAccessorTable + return com.google.cloud.contactcenterinsights.v1.ResourcesProto + .internal_static_google_cloud_contactcenterinsights_v1_IssueModelResult_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.contactcenterinsights.v1.IssueModelResult.class, com.google.cloud.contactcenterinsights.v1.IssueModelResult.Builder.class); + com.google.cloud.contactcenterinsights.v1.IssueModelResult.class, + com.google.cloud.contactcenterinsights.v1.IssueModelResult.Builder.class); } // Construct using com.google.cloud.contactcenterinsights.v1.IssueModelResult.newBuilder() - private Builder() { + private Builder() {} - } - - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -376,9 +416,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.contactcenterinsights.v1.ResourcesProto.internal_static_google_cloud_contactcenterinsights_v1_IssueModelResult_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.contactcenterinsights.v1.ResourcesProto + .internal_static_google_cloud_contactcenterinsights_v1_IssueModelResult_descriptor; } @java.lang.Override @@ -397,14 +437,18 @@ public com.google.cloud.contactcenterinsights.v1.IssueModelResult build() { @java.lang.Override public com.google.cloud.contactcenterinsights.v1.IssueModelResult buildPartial() { - com.google.cloud.contactcenterinsights.v1.IssueModelResult result = new com.google.cloud.contactcenterinsights.v1.IssueModelResult(this); + com.google.cloud.contactcenterinsights.v1.IssueModelResult result = + new com.google.cloud.contactcenterinsights.v1.IssueModelResult(this); buildPartialRepeatedFields(result); - if (bitField0_ != 0) { buildPartial0(result); } + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } - private void buildPartialRepeatedFields(com.google.cloud.contactcenterinsights.v1.IssueModelResult result) { + private void buildPartialRepeatedFields( + com.google.cloud.contactcenterinsights.v1.IssueModelResult result) { if (issuesBuilder_ == null) { if (((bitField0_ & 0x00000002) != 0)) { issues_ = java.util.Collections.unmodifiableList(issues_); @@ -427,38 +471,39 @@ private void buildPartial0(com.google.cloud.contactcenterinsights.v1.IssueModelR public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.contactcenterinsights.v1.IssueModelResult) { - return mergeFrom((com.google.cloud.contactcenterinsights.v1.IssueModelResult)other); + return mergeFrom((com.google.cloud.contactcenterinsights.v1.IssueModelResult) other); } else { super.mergeFrom(other); return this; @@ -466,7 +511,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.contactcenterinsights.v1.IssueModelResult other) { - if (other == com.google.cloud.contactcenterinsights.v1.IssueModelResult.getDefaultInstance()) return this; + if (other == com.google.cloud.contactcenterinsights.v1.IssueModelResult.getDefaultInstance()) + return this; if (!other.getIssueModel().isEmpty()) { issueModel_ = other.issueModel_; bitField0_ |= 0x00000001; @@ -490,9 +536,10 @@ public Builder mergeFrom(com.google.cloud.contactcenterinsights.v1.IssueModelRes issuesBuilder_ = null; issues_ = other.issues_; bitField0_ = (bitField0_ & ~0x00000002); - issuesBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? - getIssuesFieldBuilder() : null; + issuesBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders + ? getIssuesFieldBuilder() + : null; } else { issuesBuilder_.addAllMessages(other.issues_); } @@ -524,30 +571,33 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - issueModel_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: { - com.google.cloud.contactcenterinsights.v1.IssueAssignment m = - input.readMessage( - com.google.cloud.contactcenterinsights.v1.IssueAssignment.parser(), - extensionRegistry); - if (issuesBuilder_ == null) { - ensureIssuesIsMutable(); - issues_.add(m); - } else { - issuesBuilder_.addMessage(m); - } - break; - } // case 18 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + issueModel_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: + { + com.google.cloud.contactcenterinsights.v1.IssueAssignment m = + input.readMessage( + com.google.cloud.contactcenterinsights.v1.IssueAssignment.parser(), + extensionRegistry); + if (issuesBuilder_ == null) { + ensureIssuesIsMutable(); + issues_.add(m); + } else { + issuesBuilder_.addMessage(m); + } + break; + } // case 18 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -557,23 +607,26 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private java.lang.Object issueModel_ = ""; /** + * + * *
      * Issue model that generates the result.
      * Format: projects/{project}/locations/{location}/issueModels/{issue_model}
      * 
* * string issue_model = 1 [(.google.api.resource_reference) = { ... } + * * @return The issueModel. */ public java.lang.String getIssueModel() { java.lang.Object ref = issueModel_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); issueModel_ = s; return s; @@ -582,21 +635,22 @@ public java.lang.String getIssueModel() { } } /** + * + * *
      * Issue model that generates the result.
      * Format: projects/{project}/locations/{location}/issueModels/{issue_model}
      * 
* * string issue_model = 1 [(.google.api.resource_reference) = { ... } + * * @return The bytes for issueModel. */ - public com.google.protobuf.ByteString - getIssueModelBytes() { + public com.google.protobuf.ByteString getIssueModelBytes() { java.lang.Object ref = issueModel_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); issueModel_ = b; return b; } else { @@ -604,30 +658,37 @@ public java.lang.String getIssueModel() { } } /** + * + * *
      * Issue model that generates the result.
      * Format: projects/{project}/locations/{location}/issueModels/{issue_model}
      * 
* * string issue_model = 1 [(.google.api.resource_reference) = { ... } + * * @param value The issueModel to set. * @return This builder for chaining. */ - public Builder setIssueModel( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setIssueModel(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } issueModel_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
      * Issue model that generates the result.
      * Format: projects/{project}/locations/{location}/issueModels/{issue_model}
      * 
* * string issue_model = 1 [(.google.api.resource_reference) = { ... } + * * @return This builder for chaining. */ public Builder clearIssueModel() { @@ -637,18 +698,22 @@ public Builder clearIssueModel() { return this; } /** + * + * *
      * Issue model that generates the result.
      * Format: projects/{project}/locations/{location}/issueModels/{issue_model}
      * 
* * string issue_model = 1 [(.google.api.resource_reference) = { ... } + * * @param value The bytes for issueModel to set. * @return This builder for chaining. */ - public Builder setIssueModelBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setIssueModelBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); issueModel_ = value; bitField0_ |= 0x00000001; @@ -657,25 +722,34 @@ public Builder setIssueModelBytes( } private java.util.List issues_ = - java.util.Collections.emptyList(); + java.util.Collections.emptyList(); + private void ensureIssuesIsMutable() { if (!((bitField0_ & 0x00000002) != 0)) { - issues_ = new java.util.ArrayList(issues_); + issues_ = + new java.util.ArrayList( + issues_); bitField0_ |= 0x00000002; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.contactcenterinsights.v1.IssueAssignment, com.google.cloud.contactcenterinsights.v1.IssueAssignment.Builder, com.google.cloud.contactcenterinsights.v1.IssueAssignmentOrBuilder> issuesBuilder_; + com.google.cloud.contactcenterinsights.v1.IssueAssignment, + com.google.cloud.contactcenterinsights.v1.IssueAssignment.Builder, + com.google.cloud.contactcenterinsights.v1.IssueAssignmentOrBuilder> + issuesBuilder_; /** + * + * *
      * All the matched issues.
      * 
* * repeated .google.cloud.contactcenterinsights.v1.IssueAssignment issues = 2; */ - public java.util.List getIssuesList() { + public java.util.List + getIssuesList() { if (issuesBuilder_ == null) { return java.util.Collections.unmodifiableList(issues_); } else { @@ -683,6 +757,8 @@ public java.util.List } } /** + * + * *
      * All the matched issues.
      * 
@@ -697,6 +773,8 @@ public int getIssuesCount() { } } /** + * + * *
      * All the matched issues.
      * 
@@ -711,6 +789,8 @@ public com.google.cloud.contactcenterinsights.v1.IssueAssignment getIssues(int i } } /** + * + * *
      * All the matched issues.
      * 
@@ -732,6 +812,8 @@ public Builder setIssues( return this; } /** + * + * *
      * All the matched issues.
      * 
@@ -739,7 +821,8 @@ public Builder setIssues( * repeated .google.cloud.contactcenterinsights.v1.IssueAssignment issues = 2; */ public Builder setIssues( - int index, com.google.cloud.contactcenterinsights.v1.IssueAssignment.Builder builderForValue) { + int index, + com.google.cloud.contactcenterinsights.v1.IssueAssignment.Builder builderForValue) { if (issuesBuilder_ == null) { ensureIssuesIsMutable(); issues_.set(index, builderForValue.build()); @@ -750,6 +833,8 @@ public Builder setIssues( return this; } /** + * + * *
      * All the matched issues.
      * 
@@ -770,6 +855,8 @@ public Builder addIssues(com.google.cloud.contactcenterinsights.v1.IssueAssignme return this; } /** + * + * *
      * All the matched issues.
      * 
@@ -791,6 +878,8 @@ public Builder addIssues( return this; } /** + * + * *
      * All the matched issues.
      * 
@@ -809,6 +898,8 @@ public Builder addIssues( return this; } /** + * + * *
      * All the matched issues.
      * 
@@ -816,7 +907,8 @@ public Builder addIssues( * repeated .google.cloud.contactcenterinsights.v1.IssueAssignment issues = 2; */ public Builder addIssues( - int index, com.google.cloud.contactcenterinsights.v1.IssueAssignment.Builder builderForValue) { + int index, + com.google.cloud.contactcenterinsights.v1.IssueAssignment.Builder builderForValue) { if (issuesBuilder_ == null) { ensureIssuesIsMutable(); issues_.add(index, builderForValue.build()); @@ -827,6 +919,8 @@ public Builder addIssues( return this; } /** + * + * *
      * All the matched issues.
      * 
@@ -834,11 +928,11 @@ public Builder addIssues( * repeated .google.cloud.contactcenterinsights.v1.IssueAssignment issues = 2; */ public Builder addAllIssues( - java.lang.Iterable values) { + java.lang.Iterable + values) { if (issuesBuilder_ == null) { ensureIssuesIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, issues_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, issues_); onChanged(); } else { issuesBuilder_.addAllMessages(values); @@ -846,6 +940,8 @@ public Builder addAllIssues( return this; } /** + * + * *
      * All the matched issues.
      * 
@@ -863,6 +959,8 @@ public Builder clearIssues() { return this; } /** + * + * *
      * All the matched issues.
      * 
@@ -880,6 +978,8 @@ public Builder removeIssues(int index) { return this; } /** + * + * *
      * All the matched issues.
      * 
@@ -891,6 +991,8 @@ public com.google.cloud.contactcenterinsights.v1.IssueAssignment.Builder getIssu return getIssuesFieldBuilder().getBuilder(index); } /** + * + * *
      * All the matched issues.
      * 
@@ -900,19 +1002,23 @@ public com.google.cloud.contactcenterinsights.v1.IssueAssignment.Builder getIssu public com.google.cloud.contactcenterinsights.v1.IssueAssignmentOrBuilder getIssuesOrBuilder( int index) { if (issuesBuilder_ == null) { - return issues_.get(index); } else { + return issues_.get(index); + } else { return issuesBuilder_.getMessageOrBuilder(index); } } /** + * + * *
      * All the matched issues.
      * 
* * repeated .google.cloud.contactcenterinsights.v1.IssueAssignment issues = 2; */ - public java.util.List - getIssuesOrBuilderList() { + public java.util.List< + ? extends com.google.cloud.contactcenterinsights.v1.IssueAssignmentOrBuilder> + getIssuesOrBuilderList() { if (issuesBuilder_ != null) { return issuesBuilder_.getMessageOrBuilderList(); } else { @@ -920,6 +1026,8 @@ public com.google.cloud.contactcenterinsights.v1.IssueAssignmentOrBuilder getIss } } /** + * + * *
      * All the matched issues.
      * 
@@ -927,10 +1035,13 @@ public com.google.cloud.contactcenterinsights.v1.IssueAssignmentOrBuilder getIss * repeated .google.cloud.contactcenterinsights.v1.IssueAssignment issues = 2; */ public com.google.cloud.contactcenterinsights.v1.IssueAssignment.Builder addIssuesBuilder() { - return getIssuesFieldBuilder().addBuilder( - com.google.cloud.contactcenterinsights.v1.IssueAssignment.getDefaultInstance()); + return getIssuesFieldBuilder() + .addBuilder( + com.google.cloud.contactcenterinsights.v1.IssueAssignment.getDefaultInstance()); } /** + * + * *
      * All the matched issues.
      * 
@@ -939,37 +1050,44 @@ public com.google.cloud.contactcenterinsights.v1.IssueAssignment.Builder addIssu */ public com.google.cloud.contactcenterinsights.v1.IssueAssignment.Builder addIssuesBuilder( int index) { - return getIssuesFieldBuilder().addBuilder( - index, com.google.cloud.contactcenterinsights.v1.IssueAssignment.getDefaultInstance()); + return getIssuesFieldBuilder() + .addBuilder( + index, + com.google.cloud.contactcenterinsights.v1.IssueAssignment.getDefaultInstance()); } /** + * + * *
      * All the matched issues.
      * 
* * repeated .google.cloud.contactcenterinsights.v1.IssueAssignment issues = 2; */ - public java.util.List - getIssuesBuilderList() { + public java.util.List + getIssuesBuilderList() { return getIssuesFieldBuilder().getBuilderList(); } + private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.contactcenterinsights.v1.IssueAssignment, com.google.cloud.contactcenterinsights.v1.IssueAssignment.Builder, com.google.cloud.contactcenterinsights.v1.IssueAssignmentOrBuilder> + com.google.cloud.contactcenterinsights.v1.IssueAssignment, + com.google.cloud.contactcenterinsights.v1.IssueAssignment.Builder, + com.google.cloud.contactcenterinsights.v1.IssueAssignmentOrBuilder> getIssuesFieldBuilder() { if (issuesBuilder_ == null) { - issuesBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.contactcenterinsights.v1.IssueAssignment, com.google.cloud.contactcenterinsights.v1.IssueAssignment.Builder, com.google.cloud.contactcenterinsights.v1.IssueAssignmentOrBuilder>( - issues_, - ((bitField0_ & 0x00000002) != 0), - getParentForChildren(), - isClean()); + issuesBuilder_ = + new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.contactcenterinsights.v1.IssueAssignment, + com.google.cloud.contactcenterinsights.v1.IssueAssignment.Builder, + com.google.cloud.contactcenterinsights.v1.IssueAssignmentOrBuilder>( + issues_, ((bitField0_ & 0x00000002) != 0), getParentForChildren(), isClean()); issues_ = null; } return issuesBuilder_; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -979,12 +1097,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.contactcenterinsights.v1.IssueModelResult) } // @@protoc_insertion_point(class_scope:google.cloud.contactcenterinsights.v1.IssueModelResult) private static final com.google.cloud.contactcenterinsights.v1.IssueModelResult DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.contactcenterinsights.v1.IssueModelResult(); } @@ -993,27 +1111,27 @@ public static com.google.cloud.contactcenterinsights.v1.IssueModelResult getDefa return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public IssueModelResult parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public IssueModelResult parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1028,6 +1146,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.contactcenterinsights.v1.IssueModelResult getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/IssueModelResultOrBuilder.java b/java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/IssueModelResultOrBuilder.java similarity index 70% rename from owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/IssueModelResultOrBuilder.java rename to java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/IssueModelResultOrBuilder.java index 42f59e84f9ea..ae71726a86e9 100644 --- a/owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/IssueModelResultOrBuilder.java +++ b/java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/IssueModelResultOrBuilder.java @@ -1,44 +1,68 @@ +/* + * 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. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/contactcenterinsights/v1/resources.proto package com.google.cloud.contactcenterinsights.v1; -public interface IssueModelResultOrBuilder extends +public interface IssueModelResultOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.contactcenterinsights.v1.IssueModelResult) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Issue model that generates the result.
    * Format: projects/{project}/locations/{location}/issueModels/{issue_model}
    * 
* * string issue_model = 1 [(.google.api.resource_reference) = { ... } + * * @return The issueModel. */ java.lang.String getIssueModel(); /** + * + * *
    * Issue model that generates the result.
    * Format: projects/{project}/locations/{location}/issueModels/{issue_model}
    * 
* * string issue_model = 1 [(.google.api.resource_reference) = { ... } + * * @return The bytes for issueModel. */ - com.google.protobuf.ByteString - getIssueModelBytes(); + com.google.protobuf.ByteString getIssueModelBytes(); /** + * + * *
    * All the matched issues.
    * 
* * repeated .google.cloud.contactcenterinsights.v1.IssueAssignment issues = 2; */ - java.util.List - getIssuesList(); + java.util.List getIssuesList(); /** + * + * *
    * All the matched issues.
    * 
@@ -47,6 +71,8 @@ public interface IssueModelResultOrBuilder extends */ com.google.cloud.contactcenterinsights.v1.IssueAssignment getIssues(int index); /** + * + * *
    * All the matched issues.
    * 
@@ -55,21 +81,24 @@ public interface IssueModelResultOrBuilder extends */ int getIssuesCount(); /** + * + * *
    * All the matched issues.
    * 
* * repeated .google.cloud.contactcenterinsights.v1.IssueAssignment issues = 2; */ - java.util.List + java.util.List getIssuesOrBuilderList(); /** + * + * *
    * All the matched issues.
    * 
* * repeated .google.cloud.contactcenterinsights.v1.IssueAssignment issues = 2; */ - com.google.cloud.contactcenterinsights.v1.IssueAssignmentOrBuilder getIssuesOrBuilder( - int index); + com.google.cloud.contactcenterinsights.v1.IssueAssignmentOrBuilder getIssuesOrBuilder(int index); } diff --git a/owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/IssueName.java b/java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/IssueName.java similarity index 100% rename from owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/IssueName.java rename to java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/IssueName.java diff --git a/owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/IssueOrBuilder.java b/java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/IssueOrBuilder.java similarity index 72% rename from owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/IssueOrBuilder.java rename to java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/IssueOrBuilder.java index 50c05816c3aa..a1692e73e960 100644 --- a/owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/IssueOrBuilder.java +++ b/java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/IssueOrBuilder.java @@ -1,13 +1,31 @@ +/* + * 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. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/contactcenterinsights/v1/resources.proto package com.google.cloud.contactcenterinsights.v1; -public interface IssueOrBuilder extends +public interface IssueOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.contactcenterinsights.v1.Issue) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Immutable. The resource name of the issue.
    * Format:
@@ -15,10 +33,13 @@ public interface IssueOrBuilder extends
    * 
* * string name = 1 [(.google.api.field_behavior) = IMMUTABLE]; + * * @return The name. */ java.lang.String getName(); /** + * + * *
    * Immutable. The resource name of the issue.
    * Format:
@@ -26,127 +47,168 @@ public interface IssueOrBuilder extends
    * 
* * string name = 1 [(.google.api.field_behavior) = IMMUTABLE]; + * * @return The bytes for name. */ - com.google.protobuf.ByteString - getNameBytes(); + com.google.protobuf.ByteString getNameBytes(); /** + * + * *
    * The representative name for the issue.
    * 
* * string display_name = 2; + * * @return The displayName. */ java.lang.String getDisplayName(); /** + * + * *
    * The representative name for the issue.
    * 
* * string display_name = 2; + * * @return The bytes for displayName. */ - com.google.protobuf.ByteString - getDisplayNameBytes(); + com.google.protobuf.ByteString getDisplayNameBytes(); /** + * + * *
    * Output only. The time at which this issue was created.
    * 
* - * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the createTime field is set. */ boolean hasCreateTime(); /** + * + * *
    * Output only. The time at which this issue was created.
    * 
* - * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The createTime. */ com.google.protobuf.Timestamp getCreateTime(); /** + * + * *
    * Output only. The time at which this issue was created.
    * 
* - * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder(); /** + * + * *
    * Output only. The most recent time that this issue was updated.
    * 
* - * .google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the updateTime field is set. */ boolean hasUpdateTime(); /** + * + * *
    * Output only. The most recent time that this issue was updated.
    * 
* - * .google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The updateTime. */ com.google.protobuf.Timestamp getUpdateTime(); /** + * + * *
    * Output only. The most recent time that this issue was updated.
    * 
* - * .google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder(); /** + * + * *
    * Output only. Resource names of the sample representative utterances that
    * match to this issue.
    * 
* - * repeated string sample_utterances = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * repeated string sample_utterances = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return A list containing the sampleUtterances. */ - java.util.List - getSampleUtterancesList(); + java.util.List getSampleUtterancesList(); /** + * + * *
    * Output only. Resource names of the sample representative utterances that
    * match to this issue.
    * 
* - * repeated string sample_utterances = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * repeated string sample_utterances = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The count of sampleUtterances. */ int getSampleUtterancesCount(); /** + * + * *
    * Output only. Resource names of the sample representative utterances that
    * match to this issue.
    * 
* - * repeated string sample_utterances = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * repeated string sample_utterances = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @param index The index of the element to return. * @return The sampleUtterances at the given index. */ java.lang.String getSampleUtterances(int index); /** + * + * *
    * Output only. Resource names of the sample representative utterances that
    * match to this issue.
    * 
* - * repeated string sample_utterances = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * repeated string sample_utterances = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @param index The index of the value to return. * @return The bytes of the sampleUtterances at the given index. */ - com.google.protobuf.ByteString - getSampleUtterancesBytes(int index); + com.google.protobuf.ByteString getSampleUtterancesBytes(int index); } diff --git a/owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ListAnalysesRequest.java b/java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ListAnalysesRequest.java similarity index 68% rename from owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ListAnalysesRequest.java rename to java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ListAnalysesRequest.java index 3c2c29c6cb9b..17ad5d810804 100644 --- a/owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ListAnalysesRequest.java +++ b/java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ListAnalysesRequest.java @@ -1,24 +1,42 @@ +/* + * 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. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/contactcenterinsights/v1/contact_center_insights.proto package com.google.cloud.contactcenterinsights.v1; /** + * + * *
  * The request to list analyses.
  * 
* * Protobuf type {@code google.cloud.contactcenterinsights.v1.ListAnalysesRequest} */ -public final class ListAnalysesRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class ListAnalysesRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.contactcenterinsights.v1.ListAnalysesRequest) ListAnalysesRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use ListAnalysesRequest.newBuilder() to construct. private ListAnalysesRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private ListAnalysesRequest() { parent_ = ""; pageToken_ = ""; @@ -27,38 +45,45 @@ private ListAnalysesRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ListAnalysesRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto.internal_static_google_cloud_contactcenterinsights_v1_ListAnalysesRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto + .internal_static_google_cloud_contactcenterinsights_v1_ListAnalysesRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto.internal_static_google_cloud_contactcenterinsights_v1_ListAnalysesRequest_fieldAccessorTable + return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto + .internal_static_google_cloud_contactcenterinsights_v1_ListAnalysesRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.contactcenterinsights.v1.ListAnalysesRequest.class, com.google.cloud.contactcenterinsights.v1.ListAnalysesRequest.Builder.class); + com.google.cloud.contactcenterinsights.v1.ListAnalysesRequest.class, + com.google.cloud.contactcenterinsights.v1.ListAnalysesRequest.Builder.class); } public static final int PARENT_FIELD_NUMBER = 1; + @SuppressWarnings("serial") private volatile java.lang.Object parent_ = ""; /** + * + * *
    * Required. The parent resource of the analyses.
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The parent. */ @java.lang.Override @@ -67,29 +92,31 @@ public java.lang.String getParent() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; } } /** + * + * *
    * Required. The parent resource of the analyses.
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for parent. */ @java.lang.Override - public com.google.protobuf.ByteString - getParentBytes() { + public com.google.protobuf.ByteString getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); parent_ = b; return b; } else { @@ -100,6 +127,8 @@ public java.lang.String getParent() { public static final int PAGE_SIZE_FIELD_NUMBER = 2; private int pageSize_ = 0; /** + * + * *
    * The maximum number of analyses to return in the response. If this
    * value is zero, the service will select a default size. A call might return
@@ -108,6 +137,7 @@ public java.lang.String getParent() {
    * 
* * int32 page_size = 2; + * * @return The pageSize. */ @java.lang.Override @@ -116,9 +146,12 @@ public int getPageSize() { } public static final int PAGE_TOKEN_FIELD_NUMBER = 3; + @SuppressWarnings("serial") private volatile java.lang.Object pageToken_ = ""; /** + * + * *
    * The value returned by the last `ListAnalysesResponse`; indicates
    * that this is a continuation of a prior `ListAnalyses` call and
@@ -126,6 +159,7 @@ public int getPageSize() {
    * 
* * string page_token = 3; + * * @return The pageToken. */ @java.lang.Override @@ -134,14 +168,15 @@ public java.lang.String getPageToken() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); pageToken_ = s; return s; } } /** + * + * *
    * The value returned by the last `ListAnalysesResponse`; indicates
    * that this is a continuation of a prior `ListAnalyses` call and
@@ -149,16 +184,15 @@ public java.lang.String getPageToken() {
    * 
* * string page_token = 3; + * * @return The bytes for pageToken. */ @java.lang.Override - public com.google.protobuf.ByteString - getPageTokenBytes() { + public com.google.protobuf.ByteString getPageTokenBytes() { java.lang.Object ref = pageToken_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); pageToken_ = b; return b; } else { @@ -167,15 +201,19 @@ public java.lang.String getPageToken() { } public static final int FILTER_FIELD_NUMBER = 4; + @SuppressWarnings("serial") private volatile java.lang.Object filter_ = ""; /** + * + * *
    * A filter to reduce results to a specific subset. Useful for querying
    * conversations with specific properties.
    * 
* * string filter = 4; + * * @return The filter. */ @java.lang.Override @@ -184,30 +222,30 @@ public java.lang.String getFilter() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); filter_ = s; return s; } } /** + * + * *
    * A filter to reduce results to a specific subset. Useful for querying
    * conversations with specific properties.
    * 
* * string filter = 4; + * * @return The bytes for filter. */ @java.lang.Override - public com.google.protobuf.ByteString - getFilterBytes() { + public com.google.protobuf.ByteString getFilterBytes() { java.lang.Object ref = filter_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); filter_ = b; return b; } else { @@ -216,6 +254,7 @@ public java.lang.String getFilter() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -227,8 +266,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); } @@ -254,8 +292,7 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, parent_); } if (pageSize_ != 0) { - size += com.google.protobuf.CodedOutputStream - .computeInt32Size(2, pageSize_); + size += com.google.protobuf.CodedOutputStream.computeInt32Size(2, pageSize_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(pageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, pageToken_); @@ -271,21 +308,18 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.contactcenterinsights.v1.ListAnalysesRequest)) { return super.equals(obj); } - com.google.cloud.contactcenterinsights.v1.ListAnalysesRequest other = (com.google.cloud.contactcenterinsights.v1.ListAnalysesRequest) obj; + com.google.cloud.contactcenterinsights.v1.ListAnalysesRequest other = + (com.google.cloud.contactcenterinsights.v1.ListAnalysesRequest) obj; - if (!getParent() - .equals(other.getParent())) return false; - if (getPageSize() - != other.getPageSize()) return false; - if (!getPageToken() - .equals(other.getPageToken())) return false; - if (!getFilter() - .equals(other.getFilter())) return false; + if (!getParent().equals(other.getParent())) return false; + if (getPageSize() != other.getPageSize()) return false; + if (!getPageToken().equals(other.getPageToken())) return false; + if (!getFilter().equals(other.getFilter())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -311,129 +345,136 @@ public int hashCode() { } public static com.google.cloud.contactcenterinsights.v1.ListAnalysesRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.contactcenterinsights.v1.ListAnalysesRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.contactcenterinsights.v1.ListAnalysesRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.contactcenterinsights.v1.ListAnalysesRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.contactcenterinsights.v1.ListAnalysesRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.contactcenterinsights.v1.ListAnalysesRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.contactcenterinsights.v1.ListAnalysesRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.contactcenterinsights.v1.ListAnalysesRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.contactcenterinsights.v1.ListAnalysesRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.contactcenterinsights.v1.ListAnalysesRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.contactcenterinsights.v1.ListAnalysesRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.contactcenterinsights.v1.ListAnalysesRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.contactcenterinsights.v1.ListAnalysesRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.contactcenterinsights.v1.ListAnalysesRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.contactcenterinsights.v1.ListAnalysesRequest prototype) { + + public static Builder newBuilder( + com.google.cloud.contactcenterinsights.v1.ListAnalysesRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * The request to list analyses.
    * 
* * Protobuf type {@code google.cloud.contactcenterinsights.v1.ListAnalysesRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.contactcenterinsights.v1.ListAnalysesRequest) com.google.cloud.contactcenterinsights.v1.ListAnalysesRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto.internal_static_google_cloud_contactcenterinsights_v1_ListAnalysesRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto + .internal_static_google_cloud_contactcenterinsights_v1_ListAnalysesRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto.internal_static_google_cloud_contactcenterinsights_v1_ListAnalysesRequest_fieldAccessorTable + return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto + .internal_static_google_cloud_contactcenterinsights_v1_ListAnalysesRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.contactcenterinsights.v1.ListAnalysesRequest.class, com.google.cloud.contactcenterinsights.v1.ListAnalysesRequest.Builder.class); + com.google.cloud.contactcenterinsights.v1.ListAnalysesRequest.class, + com.google.cloud.contactcenterinsights.v1.ListAnalysesRequest.Builder.class); } // Construct using com.google.cloud.contactcenterinsights.v1.ListAnalysesRequest.newBuilder() - private Builder() { - - } + private Builder() {} - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -446,13 +487,14 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto.internal_static_google_cloud_contactcenterinsights_v1_ListAnalysesRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto + .internal_static_google_cloud_contactcenterinsights_v1_ListAnalysesRequest_descriptor; } @java.lang.Override - public com.google.cloud.contactcenterinsights.v1.ListAnalysesRequest getDefaultInstanceForType() { + public com.google.cloud.contactcenterinsights.v1.ListAnalysesRequest + getDefaultInstanceForType() { return com.google.cloud.contactcenterinsights.v1.ListAnalysesRequest.getDefaultInstance(); } @@ -467,13 +509,17 @@ public com.google.cloud.contactcenterinsights.v1.ListAnalysesRequest build() { @java.lang.Override public com.google.cloud.contactcenterinsights.v1.ListAnalysesRequest buildPartial() { - com.google.cloud.contactcenterinsights.v1.ListAnalysesRequest result = new com.google.cloud.contactcenterinsights.v1.ListAnalysesRequest(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.cloud.contactcenterinsights.v1.ListAnalysesRequest result = + new com.google.cloud.contactcenterinsights.v1.ListAnalysesRequest(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } - private void buildPartial0(com.google.cloud.contactcenterinsights.v1.ListAnalysesRequest result) { + private void buildPartial0( + com.google.cloud.contactcenterinsights.v1.ListAnalysesRequest result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { result.parent_ = parent_; @@ -493,38 +539,39 @@ private void buildPartial0(com.google.cloud.contactcenterinsights.v1.ListAnalyse public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.contactcenterinsights.v1.ListAnalysesRequest) { - return mergeFrom((com.google.cloud.contactcenterinsights.v1.ListAnalysesRequest)other); + return mergeFrom((com.google.cloud.contactcenterinsights.v1.ListAnalysesRequest) other); } else { super.mergeFrom(other); return this; @@ -532,7 +579,9 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.contactcenterinsights.v1.ListAnalysesRequest other) { - if (other == com.google.cloud.contactcenterinsights.v1.ListAnalysesRequest.getDefaultInstance()) return this; + if (other + == com.google.cloud.contactcenterinsights.v1.ListAnalysesRequest.getDefaultInstance()) + return this; if (!other.getParent().isEmpty()) { parent_ = other.parent_; bitField0_ |= 0x00000001; @@ -577,32 +626,37 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - parent_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 16: { - pageSize_ = input.readInt32(); - bitField0_ |= 0x00000002; - break; - } // case 16 - case 26: { - pageToken_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000004; - break; - } // case 26 - case 34: { - filter_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000008; - break; - } // case 34 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + parent_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 16: + { + pageSize_ = input.readInt32(); + bitField0_ |= 0x00000002; + break; + } // case 16 + case 26: + { + pageToken_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000004; + break; + } // case 26 + case 34: + { + filter_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000008; + break; + } // case 34 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -612,22 +666,27 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private java.lang.Object parent_ = ""; /** + * + * *
      * Required. The parent resource of the analyses.
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The parent. */ public java.lang.String getParent() { java.lang.Object ref = parent_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; @@ -636,20 +695,23 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. The parent resource of the analyses.
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for parent. */ - public com.google.protobuf.ByteString - getParentBytes() { + public com.google.protobuf.ByteString getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); parent_ = b; return b; } else { @@ -657,28 +719,39 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. The parent resource of the analyses.
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The parent to set. * @return This builder for chaining. */ - public Builder setParent( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setParent(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } parent_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
      * Required. The parent resource of the analyses.
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return This builder for chaining. */ public Builder clearParent() { @@ -688,17 +761,23 @@ public Builder clearParent() { return this; } /** + * + * *
      * Required. The parent resource of the analyses.
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setParentBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); parent_ = value; bitField0_ |= 0x00000001; @@ -706,8 +785,10 @@ public Builder setParentBytes( return this; } - private int pageSize_ ; + private int pageSize_; /** + * + * *
      * The maximum number of analyses to return in the response. If this
      * value is zero, the service will select a default size. A call might return
@@ -716,6 +797,7 @@ public Builder setParentBytes(
      * 
* * int32 page_size = 2; + * * @return The pageSize. */ @java.lang.Override @@ -723,6 +805,8 @@ public int getPageSize() { return pageSize_; } /** + * + * *
      * The maximum number of analyses to return in the response. If this
      * value is zero, the service will select a default size. A call might return
@@ -731,17 +815,20 @@ public int getPageSize() {
      * 
* * int32 page_size = 2; + * * @param value The pageSize to set. * @return This builder for chaining. */ public Builder setPageSize(int value) { - + pageSize_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** + * + * *
      * The maximum number of analyses to return in the response. If this
      * value is zero, the service will select a default size. A call might return
@@ -750,6 +837,7 @@ public Builder setPageSize(int value) {
      * 
* * int32 page_size = 2; + * * @return This builder for chaining. */ public Builder clearPageSize() { @@ -761,6 +849,8 @@ public Builder clearPageSize() { private java.lang.Object pageToken_ = ""; /** + * + * *
      * The value returned by the last `ListAnalysesResponse`; indicates
      * that this is a continuation of a prior `ListAnalyses` call and
@@ -768,13 +858,13 @@ public Builder clearPageSize() {
      * 
* * string page_token = 3; + * * @return The pageToken. */ public java.lang.String getPageToken() { java.lang.Object ref = pageToken_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); pageToken_ = s; return s; @@ -783,6 +873,8 @@ public java.lang.String getPageToken() { } } /** + * + * *
      * The value returned by the last `ListAnalysesResponse`; indicates
      * that this is a continuation of a prior `ListAnalyses` call and
@@ -790,15 +882,14 @@ public java.lang.String getPageToken() {
      * 
* * string page_token = 3; + * * @return The bytes for pageToken. */ - public com.google.protobuf.ByteString - getPageTokenBytes() { + public com.google.protobuf.ByteString getPageTokenBytes() { java.lang.Object ref = pageToken_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); pageToken_ = b; return b; } else { @@ -806,6 +897,8 @@ public java.lang.String getPageToken() { } } /** + * + * *
      * The value returned by the last `ListAnalysesResponse`; indicates
      * that this is a continuation of a prior `ListAnalyses` call and
@@ -813,18 +906,22 @@ public java.lang.String getPageToken() {
      * 
* * string page_token = 3; + * * @param value The pageToken to set. * @return This builder for chaining. */ - public Builder setPageToken( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setPageToken(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } pageToken_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } /** + * + * *
      * The value returned by the last `ListAnalysesResponse`; indicates
      * that this is a continuation of a prior `ListAnalyses` call and
@@ -832,6 +929,7 @@ public Builder setPageToken(
      * 
* * string page_token = 3; + * * @return This builder for chaining. */ public Builder clearPageToken() { @@ -841,6 +939,8 @@ public Builder clearPageToken() { return this; } /** + * + * *
      * The value returned by the last `ListAnalysesResponse`; indicates
      * that this is a continuation of a prior `ListAnalyses` call and
@@ -848,12 +948,14 @@ public Builder clearPageToken() {
      * 
* * string page_token = 3; + * * @param value The bytes for pageToken to set. * @return This builder for chaining. */ - public Builder setPageTokenBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setPageTokenBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); pageToken_ = value; bitField0_ |= 0x00000004; @@ -863,19 +965,21 @@ public Builder setPageTokenBytes( private java.lang.Object filter_ = ""; /** + * + * *
      * A filter to reduce results to a specific subset. Useful for querying
      * conversations with specific properties.
      * 
* * string filter = 4; + * * @return The filter. */ public java.lang.String getFilter() { java.lang.Object ref = filter_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); filter_ = s; return s; @@ -884,21 +988,22 @@ public java.lang.String getFilter() { } } /** + * + * *
      * A filter to reduce results to a specific subset. Useful for querying
      * conversations with specific properties.
      * 
* * string filter = 4; + * * @return The bytes for filter. */ - public com.google.protobuf.ByteString - getFilterBytes() { + public com.google.protobuf.ByteString getFilterBytes() { java.lang.Object ref = filter_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); filter_ = b; return b; } else { @@ -906,30 +1011,37 @@ public java.lang.String getFilter() { } } /** + * + * *
      * A filter to reduce results to a specific subset. Useful for querying
      * conversations with specific properties.
      * 
* * string filter = 4; + * * @param value The filter to set. * @return This builder for chaining. */ - public Builder setFilter( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setFilter(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } filter_ = value; bitField0_ |= 0x00000008; onChanged(); return this; } /** + * + * *
      * A filter to reduce results to a specific subset. Useful for querying
      * conversations with specific properties.
      * 
* * string filter = 4; + * * @return This builder for chaining. */ public Builder clearFilter() { @@ -939,27 +1051,31 @@ public Builder clearFilter() { return this; } /** + * + * *
      * A filter to reduce results to a specific subset. Useful for querying
      * conversations with specific properties.
      * 
* * string filter = 4; + * * @param value The bytes for filter to set. * @return This builder for chaining. */ - public Builder setFilterBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setFilterBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); filter_ = value; bitField0_ |= 0x00000008; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -969,12 +1085,13 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.contactcenterinsights.v1.ListAnalysesRequest) } // @@protoc_insertion_point(class_scope:google.cloud.contactcenterinsights.v1.ListAnalysesRequest) - private static final com.google.cloud.contactcenterinsights.v1.ListAnalysesRequest DEFAULT_INSTANCE; + private static final com.google.cloud.contactcenterinsights.v1.ListAnalysesRequest + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.contactcenterinsights.v1.ListAnalysesRequest(); } @@ -983,27 +1100,27 @@ public static com.google.cloud.contactcenterinsights.v1.ListAnalysesRequest getD return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListAnalysesRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListAnalysesRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1018,6 +1135,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.contactcenterinsights.v1.ListAnalysesRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ListAnalysesRequestOrBuilder.java b/java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ListAnalysesRequestOrBuilder.java similarity index 64% rename from owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ListAnalysesRequestOrBuilder.java rename to java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ListAnalysesRequestOrBuilder.java index 6b6a70564f16..09eec90176c9 100644 --- a/owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ListAnalysesRequestOrBuilder.java +++ b/java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ListAnalysesRequestOrBuilder.java @@ -1,33 +1,60 @@ +/* + * 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. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/contactcenterinsights/v1/contact_center_insights.proto package com.google.cloud.contactcenterinsights.v1; -public interface ListAnalysesRequestOrBuilder extends +public interface ListAnalysesRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.contactcenterinsights.v1.ListAnalysesRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Required. The parent resource of the analyses.
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The parent. */ java.lang.String getParent(); /** + * + * *
    * Required. The parent resource of the analyses.
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for parent. */ - com.google.protobuf.ByteString - getParentBytes(); + com.google.protobuf.ByteString getParentBytes(); /** + * + * *
    * The maximum number of analyses to return in the response. If this
    * value is zero, the service will select a default size. A call might return
@@ -36,11 +63,14 @@ public interface ListAnalysesRequestOrBuilder extends
    * 
* * int32 page_size = 2; + * * @return The pageSize. */ int getPageSize(); /** + * + * *
    * The value returned by the last `ListAnalysesResponse`; indicates
    * that this is a continuation of a prior `ListAnalyses` call and
@@ -48,10 +78,13 @@ public interface ListAnalysesRequestOrBuilder extends
    * 
* * string page_token = 3; + * * @return The pageToken. */ java.lang.String getPageToken(); /** + * + * *
    * The value returned by the last `ListAnalysesResponse`; indicates
    * that this is a continuation of a prior `ListAnalyses` call and
@@ -59,30 +92,35 @@ public interface ListAnalysesRequestOrBuilder extends
    * 
* * string page_token = 3; + * * @return The bytes for pageToken. */ - com.google.protobuf.ByteString - getPageTokenBytes(); + com.google.protobuf.ByteString getPageTokenBytes(); /** + * + * *
    * A filter to reduce results to a specific subset. Useful for querying
    * conversations with specific properties.
    * 
* * string filter = 4; + * * @return The filter. */ java.lang.String getFilter(); /** + * + * *
    * A filter to reduce results to a specific subset. Useful for querying
    * conversations with specific properties.
    * 
* * string filter = 4; + * * @return The bytes for filter. */ - com.google.protobuf.ByteString - getFilterBytes(); + com.google.protobuf.ByteString getFilterBytes(); } diff --git a/owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ListAnalysesResponse.java b/java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ListAnalysesResponse.java similarity index 71% rename from owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ListAnalysesResponse.java rename to java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ListAnalysesResponse.java index 5de3abd10dd1..bdaf698b8ca4 100644 --- a/owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ListAnalysesResponse.java +++ b/java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ListAnalysesResponse.java @@ -1,24 +1,42 @@ +/* + * 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. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/contactcenterinsights/v1/contact_center_insights.proto package com.google.cloud.contactcenterinsights.v1; /** + * + * *
  * The response to list analyses.
  * 
* * Protobuf type {@code google.cloud.contactcenterinsights.v1.ListAnalysesResponse} */ -public final class ListAnalysesResponse extends - com.google.protobuf.GeneratedMessageV3 implements +public final class ListAnalysesResponse extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.contactcenterinsights.v1.ListAnalysesResponse) ListAnalysesResponseOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use ListAnalysesResponse.newBuilder() to construct. private ListAnalysesResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private ListAnalysesResponse() { analyses_ = java.util.Collections.emptyList(); nextPageToken_ = ""; @@ -26,33 +44,37 @@ private ListAnalysesResponse() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ListAnalysesResponse(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto.internal_static_google_cloud_contactcenterinsights_v1_ListAnalysesResponse_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto + .internal_static_google_cloud_contactcenterinsights_v1_ListAnalysesResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto.internal_static_google_cloud_contactcenterinsights_v1_ListAnalysesResponse_fieldAccessorTable + return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto + .internal_static_google_cloud_contactcenterinsights_v1_ListAnalysesResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.contactcenterinsights.v1.ListAnalysesResponse.class, com.google.cloud.contactcenterinsights.v1.ListAnalysesResponse.Builder.class); + com.google.cloud.contactcenterinsights.v1.ListAnalysesResponse.class, + com.google.cloud.contactcenterinsights.v1.ListAnalysesResponse.Builder.class); } public static final int ANALYSES_FIELD_NUMBER = 1; + @SuppressWarnings("serial") private java.util.List analyses_; /** + * + * *
    * The analyses that match the request.
    * 
@@ -64,6 +86,8 @@ public java.util.List getAna return analyses_; } /** + * + * *
    * The analyses that match the request.
    * 
@@ -71,11 +95,13 @@ public java.util.List getAna * repeated .google.cloud.contactcenterinsights.v1.Analysis analyses = 1; */ @java.lang.Override - public java.util.List + public java.util.List getAnalysesOrBuilderList() { return analyses_; } /** + * + * *
    * The analyses that match the request.
    * 
@@ -87,6 +113,8 @@ public int getAnalysesCount() { return analyses_.size(); } /** + * + * *
    * The analyses that match the request.
    * 
@@ -98,6 +126,8 @@ public com.google.cloud.contactcenterinsights.v1.Analysis getAnalyses(int index) return analyses_.get(index); } /** + * + * *
    * The analyses that match the request.
    * 
@@ -111,15 +141,19 @@ public com.google.cloud.contactcenterinsights.v1.AnalysisOrBuilder getAnalysesOr } public static final int NEXT_PAGE_TOKEN_FIELD_NUMBER = 2; + @SuppressWarnings("serial") private volatile java.lang.Object nextPageToken_ = ""; /** + * + * *
    * A token, which can be sent as `page_token` to retrieve the next page.
    * If this field is omitted, there are no subsequent pages.
    * 
* * string next_page_token = 2; + * * @return The nextPageToken. */ @java.lang.Override @@ -128,30 +162,30 @@ public java.lang.String getNextPageToken() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); nextPageToken_ = s; return s; } } /** + * + * *
    * A token, which can be sent as `page_token` to retrieve the next page.
    * If this field is omitted, there are no subsequent pages.
    * 
* * string next_page_token = 2; + * * @return The bytes for nextPageToken. */ @java.lang.Override - public com.google.protobuf.ByteString - getNextPageTokenBytes() { + public com.google.protobuf.ByteString getNextPageTokenBytes() { java.lang.Object ref = nextPageToken_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); nextPageToken_ = b; return b; } else { @@ -160,6 +194,7 @@ public java.lang.String getNextPageToken() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -171,8 +206,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { for (int i = 0; i < analyses_.size(); i++) { output.writeMessage(1, analyses_.get(i)); } @@ -189,8 +223,7 @@ public int getSerializedSize() { size = 0; for (int i = 0; i < analyses_.size(); i++) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, analyses_.get(i)); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, analyses_.get(i)); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(nextPageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, nextPageToken_); @@ -203,17 +236,16 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.contactcenterinsights.v1.ListAnalysesResponse)) { return super.equals(obj); } - com.google.cloud.contactcenterinsights.v1.ListAnalysesResponse other = (com.google.cloud.contactcenterinsights.v1.ListAnalysesResponse) obj; + com.google.cloud.contactcenterinsights.v1.ListAnalysesResponse other = + (com.google.cloud.contactcenterinsights.v1.ListAnalysesResponse) obj; - if (!getAnalysesList() - .equals(other.getAnalysesList())) return false; - if (!getNextPageToken() - .equals(other.getNextPageToken())) return false; + if (!getAnalysesList().equals(other.getAnalysesList())) return false; + if (!getNextPageToken().equals(other.getNextPageToken())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -237,129 +269,136 @@ public int hashCode() { } public static com.google.cloud.contactcenterinsights.v1.ListAnalysesResponse parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.contactcenterinsights.v1.ListAnalysesResponse parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.contactcenterinsights.v1.ListAnalysesResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.contactcenterinsights.v1.ListAnalysesResponse parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.contactcenterinsights.v1.ListAnalysesResponse parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.contactcenterinsights.v1.ListAnalysesResponse parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.contactcenterinsights.v1.ListAnalysesResponse parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.contactcenterinsights.v1.ListAnalysesResponse parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.contactcenterinsights.v1.ListAnalysesResponse parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.contactcenterinsights.v1.ListAnalysesResponse parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.contactcenterinsights.v1.ListAnalysesResponse parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.contactcenterinsights.v1.ListAnalysesResponse parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.contactcenterinsights.v1.ListAnalysesResponse parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.contactcenterinsights.v1.ListAnalysesResponse parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.contactcenterinsights.v1.ListAnalysesResponse parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.contactcenterinsights.v1.ListAnalysesResponse prototype) { + + public static Builder newBuilder( + com.google.cloud.contactcenterinsights.v1.ListAnalysesResponse prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * The response to list analyses.
    * 
* * Protobuf type {@code google.cloud.contactcenterinsights.v1.ListAnalysesResponse} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.contactcenterinsights.v1.ListAnalysesResponse) com.google.cloud.contactcenterinsights.v1.ListAnalysesResponseOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto.internal_static_google_cloud_contactcenterinsights_v1_ListAnalysesResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto + .internal_static_google_cloud_contactcenterinsights_v1_ListAnalysesResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto.internal_static_google_cloud_contactcenterinsights_v1_ListAnalysesResponse_fieldAccessorTable + return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto + .internal_static_google_cloud_contactcenterinsights_v1_ListAnalysesResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.contactcenterinsights.v1.ListAnalysesResponse.class, com.google.cloud.contactcenterinsights.v1.ListAnalysesResponse.Builder.class); + com.google.cloud.contactcenterinsights.v1.ListAnalysesResponse.class, + com.google.cloud.contactcenterinsights.v1.ListAnalysesResponse.Builder.class); } // Construct using com.google.cloud.contactcenterinsights.v1.ListAnalysesResponse.newBuilder() - private Builder() { + private Builder() {} - } - - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -376,13 +415,14 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto.internal_static_google_cloud_contactcenterinsights_v1_ListAnalysesResponse_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto + .internal_static_google_cloud_contactcenterinsights_v1_ListAnalysesResponse_descriptor; } @java.lang.Override - public com.google.cloud.contactcenterinsights.v1.ListAnalysesResponse getDefaultInstanceForType() { + public com.google.cloud.contactcenterinsights.v1.ListAnalysesResponse + getDefaultInstanceForType() { return com.google.cloud.contactcenterinsights.v1.ListAnalysesResponse.getDefaultInstance(); } @@ -397,14 +437,18 @@ public com.google.cloud.contactcenterinsights.v1.ListAnalysesResponse build() { @java.lang.Override public com.google.cloud.contactcenterinsights.v1.ListAnalysesResponse buildPartial() { - com.google.cloud.contactcenterinsights.v1.ListAnalysesResponse result = new com.google.cloud.contactcenterinsights.v1.ListAnalysesResponse(this); + com.google.cloud.contactcenterinsights.v1.ListAnalysesResponse result = + new com.google.cloud.contactcenterinsights.v1.ListAnalysesResponse(this); buildPartialRepeatedFields(result); - if (bitField0_ != 0) { buildPartial0(result); } + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } - private void buildPartialRepeatedFields(com.google.cloud.contactcenterinsights.v1.ListAnalysesResponse result) { + private void buildPartialRepeatedFields( + com.google.cloud.contactcenterinsights.v1.ListAnalysesResponse result) { if (analysesBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { analyses_ = java.util.Collections.unmodifiableList(analyses_); @@ -416,7 +460,8 @@ private void buildPartialRepeatedFields(com.google.cloud.contactcenterinsights.v } } - private void buildPartial0(com.google.cloud.contactcenterinsights.v1.ListAnalysesResponse result) { + private void buildPartial0( + com.google.cloud.contactcenterinsights.v1.ListAnalysesResponse result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000002) != 0)) { result.nextPageToken_ = nextPageToken_; @@ -427,38 +472,39 @@ private void buildPartial0(com.google.cloud.contactcenterinsights.v1.ListAnalyse public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.contactcenterinsights.v1.ListAnalysesResponse) { - return mergeFrom((com.google.cloud.contactcenterinsights.v1.ListAnalysesResponse)other); + return mergeFrom((com.google.cloud.contactcenterinsights.v1.ListAnalysesResponse) other); } else { super.mergeFrom(other); return this; @@ -466,7 +512,9 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.contactcenterinsights.v1.ListAnalysesResponse other) { - if (other == com.google.cloud.contactcenterinsights.v1.ListAnalysesResponse.getDefaultInstance()) return this; + if (other + == com.google.cloud.contactcenterinsights.v1.ListAnalysesResponse.getDefaultInstance()) + return this; if (analysesBuilder_ == null) { if (!other.analyses_.isEmpty()) { if (analyses_.isEmpty()) { @@ -485,9 +533,10 @@ public Builder mergeFrom(com.google.cloud.contactcenterinsights.v1.ListAnalysesR analysesBuilder_ = null; analyses_ = other.analyses_; bitField0_ = (bitField0_ & ~0x00000001); - analysesBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? - getAnalysesFieldBuilder() : null; + analysesBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders + ? getAnalysesFieldBuilder() + : null; } else { analysesBuilder_.addAllMessages(other.analyses_); } @@ -524,30 +573,33 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - com.google.cloud.contactcenterinsights.v1.Analysis m = - input.readMessage( - com.google.cloud.contactcenterinsights.v1.Analysis.parser(), - extensionRegistry); - if (analysesBuilder_ == null) { - ensureAnalysesIsMutable(); - analyses_.add(m); - } else { - analysesBuilder_.addMessage(m); - } - break; - } // case 10 - case 18: { - nextPageToken_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000002; - break; - } // case 18 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + com.google.cloud.contactcenterinsights.v1.Analysis m = + input.readMessage( + com.google.cloud.contactcenterinsights.v1.Analysis.parser(), + extensionRegistry); + if (analysesBuilder_ == null) { + ensureAnalysesIsMutable(); + analyses_.add(m); + } else { + analysesBuilder_.addMessage(m); + } + break; + } // case 10 + case 18: + { + nextPageToken_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + break; + } // case 18 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -557,21 +609,29 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private java.util.List analyses_ = - java.util.Collections.emptyList(); + java.util.Collections.emptyList(); + private void ensureAnalysesIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { - analyses_ = new java.util.ArrayList(analyses_); + analyses_ = + new java.util.ArrayList(analyses_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.contactcenterinsights.v1.Analysis, com.google.cloud.contactcenterinsights.v1.Analysis.Builder, com.google.cloud.contactcenterinsights.v1.AnalysisOrBuilder> analysesBuilder_; + com.google.cloud.contactcenterinsights.v1.Analysis, + com.google.cloud.contactcenterinsights.v1.Analysis.Builder, + com.google.cloud.contactcenterinsights.v1.AnalysisOrBuilder> + analysesBuilder_; /** + * + * *
      * The analyses that match the request.
      * 
@@ -586,6 +646,8 @@ public java.util.List getAna } } /** + * + * *
      * The analyses that match the request.
      * 
@@ -600,6 +662,8 @@ public int getAnalysesCount() { } } /** + * + * *
      * The analyses that match the request.
      * 
@@ -614,6 +678,8 @@ public com.google.cloud.contactcenterinsights.v1.Analysis getAnalyses(int index) } } /** + * + * *
      * The analyses that match the request.
      * 
@@ -635,6 +701,8 @@ public Builder setAnalyses( return this; } /** + * + * *
      * The analyses that match the request.
      * 
@@ -653,6 +721,8 @@ public Builder setAnalyses( return this; } /** + * + * *
      * The analyses that match the request.
      * 
@@ -673,6 +743,8 @@ public Builder addAnalyses(com.google.cloud.contactcenterinsights.v1.Analysis va return this; } /** + * + * *
      * The analyses that match the request.
      * 
@@ -694,6 +766,8 @@ public Builder addAnalyses( return this; } /** + * + * *
      * The analyses that match the request.
      * 
@@ -712,6 +786,8 @@ public Builder addAnalyses( return this; } /** + * + * *
      * The analyses that match the request.
      * 
@@ -730,6 +806,8 @@ public Builder addAnalyses( return this; } /** + * + * *
      * The analyses that match the request.
      * 
@@ -740,8 +818,7 @@ public Builder addAllAnalyses( java.lang.Iterable values) { if (analysesBuilder_ == null) { ensureAnalysesIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, analyses_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, analyses_); onChanged(); } else { analysesBuilder_.addAllMessages(values); @@ -749,6 +826,8 @@ public Builder addAllAnalyses( return this; } /** + * + * *
      * The analyses that match the request.
      * 
@@ -766,6 +845,8 @@ public Builder clearAnalyses() { return this; } /** + * + * *
      * The analyses that match the request.
      * 
@@ -783,6 +864,8 @@ public Builder removeAnalyses(int index) { return this; } /** + * + * *
      * The analyses that match the request.
      * 
@@ -794,6 +877,8 @@ public com.google.cloud.contactcenterinsights.v1.Analysis.Builder getAnalysesBui return getAnalysesFieldBuilder().getBuilder(index); } /** + * + * *
      * The analyses that match the request.
      * 
@@ -803,19 +888,22 @@ public com.google.cloud.contactcenterinsights.v1.Analysis.Builder getAnalysesBui public com.google.cloud.contactcenterinsights.v1.AnalysisOrBuilder getAnalysesOrBuilder( int index) { if (analysesBuilder_ == null) { - return analyses_.get(index); } else { + return analyses_.get(index); + } else { return analysesBuilder_.getMessageOrBuilder(index); } } /** + * + * *
      * The analyses that match the request.
      * 
* * repeated .google.cloud.contactcenterinsights.v1.Analysis analyses = 1; */ - public java.util.List - getAnalysesOrBuilderList() { + public java.util.List + getAnalysesOrBuilderList() { if (analysesBuilder_ != null) { return analysesBuilder_.getMessageOrBuilderList(); } else { @@ -823,6 +911,8 @@ public com.google.cloud.contactcenterinsights.v1.AnalysisOrBuilder getAnalysesOr } } /** + * + * *
      * The analyses that match the request.
      * 
@@ -830,10 +920,12 @@ public com.google.cloud.contactcenterinsights.v1.AnalysisOrBuilder getAnalysesOr * repeated .google.cloud.contactcenterinsights.v1.Analysis analyses = 1; */ public com.google.cloud.contactcenterinsights.v1.Analysis.Builder addAnalysesBuilder() { - return getAnalysesFieldBuilder().addBuilder( - com.google.cloud.contactcenterinsights.v1.Analysis.getDefaultInstance()); + return getAnalysesFieldBuilder() + .addBuilder(com.google.cloud.contactcenterinsights.v1.Analysis.getDefaultInstance()); } /** + * + * *
      * The analyses that match the request.
      * 
@@ -842,30 +934,36 @@ public com.google.cloud.contactcenterinsights.v1.Analysis.Builder addAnalysesBui */ public com.google.cloud.contactcenterinsights.v1.Analysis.Builder addAnalysesBuilder( int index) { - return getAnalysesFieldBuilder().addBuilder( - index, com.google.cloud.contactcenterinsights.v1.Analysis.getDefaultInstance()); + return getAnalysesFieldBuilder() + .addBuilder( + index, com.google.cloud.contactcenterinsights.v1.Analysis.getDefaultInstance()); } /** + * + * *
      * The analyses that match the request.
      * 
* * repeated .google.cloud.contactcenterinsights.v1.Analysis analyses = 1; */ - public java.util.List - getAnalysesBuilderList() { + public java.util.List + getAnalysesBuilderList() { return getAnalysesFieldBuilder().getBuilderList(); } + private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.contactcenterinsights.v1.Analysis, com.google.cloud.contactcenterinsights.v1.Analysis.Builder, com.google.cloud.contactcenterinsights.v1.AnalysisOrBuilder> + com.google.cloud.contactcenterinsights.v1.Analysis, + com.google.cloud.contactcenterinsights.v1.Analysis.Builder, + com.google.cloud.contactcenterinsights.v1.AnalysisOrBuilder> getAnalysesFieldBuilder() { if (analysesBuilder_ == null) { - analysesBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.contactcenterinsights.v1.Analysis, com.google.cloud.contactcenterinsights.v1.Analysis.Builder, com.google.cloud.contactcenterinsights.v1.AnalysisOrBuilder>( - analyses_, - ((bitField0_ & 0x00000001) != 0), - getParentForChildren(), - isClean()); + analysesBuilder_ = + new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.contactcenterinsights.v1.Analysis, + com.google.cloud.contactcenterinsights.v1.Analysis.Builder, + com.google.cloud.contactcenterinsights.v1.AnalysisOrBuilder>( + analyses_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); analyses_ = null; } return analysesBuilder_; @@ -873,19 +971,21 @@ public com.google.cloud.contactcenterinsights.v1.Analysis.Builder addAnalysesBui private java.lang.Object nextPageToken_ = ""; /** + * + * *
      * A token, which can be sent as `page_token` to retrieve the next page.
      * If this field is omitted, there are no subsequent pages.
      * 
* * string next_page_token = 2; + * * @return The nextPageToken. */ public java.lang.String getNextPageToken() { java.lang.Object ref = nextPageToken_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); nextPageToken_ = s; return s; @@ -894,21 +994,22 @@ public java.lang.String getNextPageToken() { } } /** + * + * *
      * A token, which can be sent as `page_token` to retrieve the next page.
      * If this field is omitted, there are no subsequent pages.
      * 
* * string next_page_token = 2; + * * @return The bytes for nextPageToken. */ - public com.google.protobuf.ByteString - getNextPageTokenBytes() { + public com.google.protobuf.ByteString getNextPageTokenBytes() { java.lang.Object ref = nextPageToken_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); nextPageToken_ = b; return b; } else { @@ -916,30 +1017,37 @@ public java.lang.String getNextPageToken() { } } /** + * + * *
      * A token, which can be sent as `page_token` to retrieve the next page.
      * If this field is omitted, there are no subsequent pages.
      * 
* * string next_page_token = 2; + * * @param value The nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageToken( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setNextPageToken(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } nextPageToken_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** + * + * *
      * A token, which can be sent as `page_token` to retrieve the next page.
      * If this field is omitted, there are no subsequent pages.
      * 
* * string next_page_token = 2; + * * @return This builder for chaining. */ public Builder clearNextPageToken() { @@ -949,27 +1057,31 @@ public Builder clearNextPageToken() { return this; } /** + * + * *
      * A token, which can be sent as `page_token` to retrieve the next page.
      * If this field is omitted, there are no subsequent pages.
      * 
* * string next_page_token = 2; + * * @param value The bytes for nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageTokenBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setNextPageTokenBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); nextPageToken_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -979,41 +1091,43 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.contactcenterinsights.v1.ListAnalysesResponse) } // @@protoc_insertion_point(class_scope:google.cloud.contactcenterinsights.v1.ListAnalysesResponse) - private static final com.google.cloud.contactcenterinsights.v1.ListAnalysesResponse DEFAULT_INSTANCE; + private static final com.google.cloud.contactcenterinsights.v1.ListAnalysesResponse + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.contactcenterinsights.v1.ListAnalysesResponse(); } - public static com.google.cloud.contactcenterinsights.v1.ListAnalysesResponse getDefaultInstance() { + public static com.google.cloud.contactcenterinsights.v1.ListAnalysesResponse + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListAnalysesResponse parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListAnalysesResponse parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1025,9 +1139,8 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.cloud.contactcenterinsights.v1.ListAnalysesResponse getDefaultInstanceForType() { + public com.google.cloud.contactcenterinsights.v1.ListAnalysesResponse + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ListAnalysesResponseOrBuilder.java b/java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ListAnalysesResponseOrBuilder.java similarity index 70% rename from owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ListAnalysesResponseOrBuilder.java rename to java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ListAnalysesResponseOrBuilder.java index 69b4f19d7702..6a12df1b7318 100644 --- a/owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ListAnalysesResponseOrBuilder.java +++ b/java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ListAnalysesResponseOrBuilder.java @@ -1,22 +1,41 @@ +/* + * 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. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/contactcenterinsights/v1/contact_center_insights.proto package com.google.cloud.contactcenterinsights.v1; -public interface ListAnalysesResponseOrBuilder extends +public interface ListAnalysesResponseOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.contactcenterinsights.v1.ListAnalysesResponse) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * The analyses that match the request.
    * 
* * repeated .google.cloud.contactcenterinsights.v1.Analysis analyses = 1; */ - java.util.List - getAnalysesList(); + java.util.List getAnalysesList(); /** + * + * *
    * The analyses that match the request.
    * 
@@ -25,6 +44,8 @@ public interface ListAnalysesResponseOrBuilder extends */ com.google.cloud.contactcenterinsights.v1.Analysis getAnalyses(int index); /** + * + * *
    * The analyses that match the request.
    * 
@@ -33,43 +54,51 @@ public interface ListAnalysesResponseOrBuilder extends */ int getAnalysesCount(); /** + * + * *
    * The analyses that match the request.
    * 
* * repeated .google.cloud.contactcenterinsights.v1.Analysis analyses = 1; */ - java.util.List + java.util.List getAnalysesOrBuilderList(); /** + * + * *
    * The analyses that match the request.
    * 
* * repeated .google.cloud.contactcenterinsights.v1.Analysis analyses = 1; */ - com.google.cloud.contactcenterinsights.v1.AnalysisOrBuilder getAnalysesOrBuilder( - int index); + com.google.cloud.contactcenterinsights.v1.AnalysisOrBuilder getAnalysesOrBuilder(int index); /** + * + * *
    * A token, which can be sent as `page_token` to retrieve the next page.
    * If this field is omitted, there are no subsequent pages.
    * 
* * string next_page_token = 2; + * * @return The nextPageToken. */ java.lang.String getNextPageToken(); /** + * + * *
    * A token, which can be sent as `page_token` to retrieve the next page.
    * If this field is omitted, there are no subsequent pages.
    * 
* * string next_page_token = 2; + * * @return The bytes for nextPageToken. */ - com.google.protobuf.ByteString - getNextPageTokenBytes(); + com.google.protobuf.ByteString getNextPageTokenBytes(); } diff --git a/owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ListConversationsRequest.java b/java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ListConversationsRequest.java similarity index 67% rename from owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ListConversationsRequest.java rename to java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ListConversationsRequest.java index 5a848eb7bc7b..3d8a405775dd 100644 --- a/owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ListConversationsRequest.java +++ b/java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ListConversationsRequest.java @@ -1,24 +1,42 @@ +/* + * 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. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/contactcenterinsights/v1/contact_center_insights.proto package com.google.cloud.contactcenterinsights.v1; /** + * + * *
  * Request to list conversations.
  * 
* * Protobuf type {@code google.cloud.contactcenterinsights.v1.ListConversationsRequest} */ -public final class ListConversationsRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class ListConversationsRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.contactcenterinsights.v1.ListConversationsRequest) ListConversationsRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use ListConversationsRequest.newBuilder() to construct. private ListConversationsRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private ListConversationsRequest() { parent_ = ""; pageToken_ = ""; @@ -28,38 +46,45 @@ private ListConversationsRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ListConversationsRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto.internal_static_google_cloud_contactcenterinsights_v1_ListConversationsRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto + .internal_static_google_cloud_contactcenterinsights_v1_ListConversationsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto.internal_static_google_cloud_contactcenterinsights_v1_ListConversationsRequest_fieldAccessorTable + return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto + .internal_static_google_cloud_contactcenterinsights_v1_ListConversationsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.contactcenterinsights.v1.ListConversationsRequest.class, com.google.cloud.contactcenterinsights.v1.ListConversationsRequest.Builder.class); + com.google.cloud.contactcenterinsights.v1.ListConversationsRequest.class, + com.google.cloud.contactcenterinsights.v1.ListConversationsRequest.Builder.class); } public static final int PARENT_FIELD_NUMBER = 1; + @SuppressWarnings("serial") private volatile java.lang.Object parent_ = ""; /** + * + * *
    * Required. The parent resource of the conversation.
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The parent. */ @java.lang.Override @@ -68,29 +93,31 @@ public java.lang.String getParent() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; } } /** + * + * *
    * Required. The parent resource of the conversation.
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for parent. */ @java.lang.Override - public com.google.protobuf.ByteString - getParentBytes() { + public com.google.protobuf.ByteString getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); parent_ = b; return b; } else { @@ -101,6 +128,8 @@ public java.lang.String getParent() { public static final int PAGE_SIZE_FIELD_NUMBER = 2; private int pageSize_ = 0; /** + * + * *
    * The maximum number of conversations to return in the response. A valid page
    * size ranges from 0 to 1,000 inclusive. If the page size is zero or
@@ -109,6 +138,7 @@ public java.lang.String getParent() {
    * 
* * int32 page_size = 2; + * * @return The pageSize. */ @java.lang.Override @@ -117,9 +147,12 @@ public int getPageSize() { } public static final int PAGE_TOKEN_FIELD_NUMBER = 3; + @SuppressWarnings("serial") private volatile java.lang.Object pageToken_ = ""; /** + * + * *
    * The value returned by the last `ListConversationsResponse`. This value
    * indicates that this is a continuation of a prior `ListConversations` call
@@ -127,6 +160,7 @@ public int getPageSize() {
    * 
* * string page_token = 3; + * * @return The pageToken. */ @java.lang.Override @@ -135,14 +169,15 @@ public java.lang.String getPageToken() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); pageToken_ = s; return s; } } /** + * + * *
    * The value returned by the last `ListConversationsResponse`. This value
    * indicates that this is a continuation of a prior `ListConversations` call
@@ -150,16 +185,15 @@ public java.lang.String getPageToken() {
    * 
* * string page_token = 3; + * * @return The bytes for pageToken. */ @java.lang.Override - public com.google.protobuf.ByteString - getPageTokenBytes() { + public com.google.protobuf.ByteString getPageTokenBytes() { java.lang.Object ref = pageToken_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); pageToken_ = b; return b; } else { @@ -168,15 +202,19 @@ public java.lang.String getPageToken() { } public static final int FILTER_FIELD_NUMBER = 4; + @SuppressWarnings("serial") private volatile java.lang.Object filter_ = ""; /** + * + * *
    * A filter to reduce results to a specific subset. Useful for querying
    * conversations with specific properties.
    * 
* * string filter = 4; + * * @return The filter. */ @java.lang.Override @@ -185,30 +223,30 @@ public java.lang.String getFilter() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); filter_ = s; return s; } } /** + * + * *
    * A filter to reduce results to a specific subset. Useful for querying
    * conversations with specific properties.
    * 
* * string filter = 4; + * * @return The bytes for filter. */ @java.lang.Override - public com.google.protobuf.ByteString - getFilterBytes() { + public com.google.protobuf.ByteString getFilterBytes() { java.lang.Object ref = filter_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); filter_ = b; return b; } else { @@ -219,30 +257,42 @@ public java.lang.String getFilter() { public static final int VIEW_FIELD_NUMBER = 5; private int view_ = 0; /** + * + * *
    * The level of details of the conversation. Default is `BASIC`.
    * 
* * .google.cloud.contactcenterinsights.v1.ConversationView view = 5; + * * @return The enum numeric value on the wire for view. */ - @java.lang.Override public int getViewValue() { + @java.lang.Override + public int getViewValue() { return view_; } /** + * + * *
    * The level of details of the conversation. Default is `BASIC`.
    * 
* * .google.cloud.contactcenterinsights.v1.ConversationView view = 5; + * * @return The view. */ - @java.lang.Override public com.google.cloud.contactcenterinsights.v1.ConversationView getView() { - com.google.cloud.contactcenterinsights.v1.ConversationView result = com.google.cloud.contactcenterinsights.v1.ConversationView.forNumber(view_); - return result == null ? com.google.cloud.contactcenterinsights.v1.ConversationView.UNRECOGNIZED : result; + @java.lang.Override + public com.google.cloud.contactcenterinsights.v1.ConversationView getView() { + com.google.cloud.contactcenterinsights.v1.ConversationView result = + com.google.cloud.contactcenterinsights.v1.ConversationView.forNumber(view_); + return result == null + ? com.google.cloud.contactcenterinsights.v1.ConversationView.UNRECOGNIZED + : result; } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -254,8 +304,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); } @@ -268,7 +317,9 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(filter_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 4, filter_); } - if (view_ != com.google.cloud.contactcenterinsights.v1.ConversationView.CONVERSATION_VIEW_UNSPECIFIED.getNumber()) { + if (view_ + != com.google.cloud.contactcenterinsights.v1.ConversationView.CONVERSATION_VIEW_UNSPECIFIED + .getNumber()) { output.writeEnum(5, view_); } getUnknownFields().writeTo(output); @@ -284,8 +335,7 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, parent_); } if (pageSize_ != 0) { - size += com.google.protobuf.CodedOutputStream - .computeInt32Size(2, pageSize_); + size += com.google.protobuf.CodedOutputStream.computeInt32Size(2, pageSize_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(pageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, pageToken_); @@ -293,9 +343,10 @@ public int getSerializedSize() { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(filter_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, filter_); } - if (view_ != com.google.cloud.contactcenterinsights.v1.ConversationView.CONVERSATION_VIEW_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(5, view_); + if (view_ + != com.google.cloud.contactcenterinsights.v1.ConversationView.CONVERSATION_VIEW_UNSPECIFIED + .getNumber()) { + size += com.google.protobuf.CodedOutputStream.computeEnumSize(5, view_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -305,21 +356,18 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.contactcenterinsights.v1.ListConversationsRequest)) { return super.equals(obj); } - com.google.cloud.contactcenterinsights.v1.ListConversationsRequest other = (com.google.cloud.contactcenterinsights.v1.ListConversationsRequest) obj; - - if (!getParent() - .equals(other.getParent())) return false; - if (getPageSize() - != other.getPageSize()) return false; - if (!getPageToken() - .equals(other.getPageToken())) return false; - if (!getFilter() - .equals(other.getFilter())) return false; + com.google.cloud.contactcenterinsights.v1.ListConversationsRequest other = + (com.google.cloud.contactcenterinsights.v1.ListConversationsRequest) obj; + + if (!getParent().equals(other.getParent())) return false; + if (getPageSize() != other.getPageSize()) return false; + if (!getPageToken().equals(other.getPageToken())) return false; + if (!getFilter().equals(other.getFilter())) return false; if (view_ != other.view_) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -348,129 +396,138 @@ public int hashCode() { } public static com.google.cloud.contactcenterinsights.v1.ListConversationsRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.contactcenterinsights.v1.ListConversationsRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.contactcenterinsights.v1.ListConversationsRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.contactcenterinsights.v1.ListConversationsRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.contactcenterinsights.v1.ListConversationsRequest parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.contactcenterinsights.v1.ListConversationsRequest parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.contactcenterinsights.v1.ListConversationsRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.contactcenterinsights.v1.ListConversationsRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.contactcenterinsights.v1.ListConversationsRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.contactcenterinsights.v1.ListConversationsRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.contactcenterinsights.v1.ListConversationsRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.contactcenterinsights.v1.ListConversationsRequest + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.contactcenterinsights.v1.ListConversationsRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + + public static com.google.cloud.contactcenterinsights.v1.ListConversationsRequest + parseDelimitedFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.contactcenterinsights.v1.ListConversationsRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.contactcenterinsights.v1.ListConversationsRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.contactcenterinsights.v1.ListConversationsRequest prototype) { + + public static Builder newBuilder( + com.google.cloud.contactcenterinsights.v1.ListConversationsRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Request to list conversations.
    * 
* * Protobuf type {@code google.cloud.contactcenterinsights.v1.ListConversationsRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.contactcenterinsights.v1.ListConversationsRequest) com.google.cloud.contactcenterinsights.v1.ListConversationsRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto.internal_static_google_cloud_contactcenterinsights_v1_ListConversationsRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto + .internal_static_google_cloud_contactcenterinsights_v1_ListConversationsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto.internal_static_google_cloud_contactcenterinsights_v1_ListConversationsRequest_fieldAccessorTable + return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto + .internal_static_google_cloud_contactcenterinsights_v1_ListConversationsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.contactcenterinsights.v1.ListConversationsRequest.class, com.google.cloud.contactcenterinsights.v1.ListConversationsRequest.Builder.class); + com.google.cloud.contactcenterinsights.v1.ListConversationsRequest.class, + com.google.cloud.contactcenterinsights.v1.ListConversationsRequest.Builder.class); } - // Construct using com.google.cloud.contactcenterinsights.v1.ListConversationsRequest.newBuilder() - private Builder() { - - } + // Construct using + // com.google.cloud.contactcenterinsights.v1.ListConversationsRequest.newBuilder() + private Builder() {} - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -484,14 +541,16 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto.internal_static_google_cloud_contactcenterinsights_v1_ListConversationsRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto + .internal_static_google_cloud_contactcenterinsights_v1_ListConversationsRequest_descriptor; } @java.lang.Override - public com.google.cloud.contactcenterinsights.v1.ListConversationsRequest getDefaultInstanceForType() { - return com.google.cloud.contactcenterinsights.v1.ListConversationsRequest.getDefaultInstance(); + public com.google.cloud.contactcenterinsights.v1.ListConversationsRequest + getDefaultInstanceForType() { + return com.google.cloud.contactcenterinsights.v1.ListConversationsRequest + .getDefaultInstance(); } @java.lang.Override @@ -505,13 +564,17 @@ public com.google.cloud.contactcenterinsights.v1.ListConversationsRequest build( @java.lang.Override public com.google.cloud.contactcenterinsights.v1.ListConversationsRequest buildPartial() { - com.google.cloud.contactcenterinsights.v1.ListConversationsRequest result = new com.google.cloud.contactcenterinsights.v1.ListConversationsRequest(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.cloud.contactcenterinsights.v1.ListConversationsRequest result = + new com.google.cloud.contactcenterinsights.v1.ListConversationsRequest(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } - private void buildPartial0(com.google.cloud.contactcenterinsights.v1.ListConversationsRequest result) { + private void buildPartial0( + com.google.cloud.contactcenterinsights.v1.ListConversationsRequest result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { result.parent_ = parent_; @@ -534,46 +597,51 @@ private void buildPartial0(com.google.cloud.contactcenterinsights.v1.ListConvers public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.contactcenterinsights.v1.ListConversationsRequest) { - return mergeFrom((com.google.cloud.contactcenterinsights.v1.ListConversationsRequest)other); + return mergeFrom( + (com.google.cloud.contactcenterinsights.v1.ListConversationsRequest) other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.google.cloud.contactcenterinsights.v1.ListConversationsRequest other) { - if (other == com.google.cloud.contactcenterinsights.v1.ListConversationsRequest.getDefaultInstance()) return this; + public Builder mergeFrom( + com.google.cloud.contactcenterinsights.v1.ListConversationsRequest other) { + if (other + == com.google.cloud.contactcenterinsights.v1.ListConversationsRequest + .getDefaultInstance()) return this; if (!other.getParent().isEmpty()) { parent_ = other.parent_; bitField0_ |= 0x00000001; @@ -621,37 +689,43 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - parent_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 16: { - pageSize_ = input.readInt32(); - bitField0_ |= 0x00000002; - break; - } // case 16 - case 26: { - pageToken_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000004; - break; - } // case 26 - case 34: { - filter_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000008; - break; - } // case 34 - case 40: { - view_ = input.readEnum(); - bitField0_ |= 0x00000010; - break; - } // case 40 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + parent_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 16: + { + pageSize_ = input.readInt32(); + bitField0_ |= 0x00000002; + break; + } // case 16 + case 26: + { + pageToken_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000004; + break; + } // case 26 + case 34: + { + filter_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000008; + break; + } // case 34 + case 40: + { + view_ = input.readEnum(); + bitField0_ |= 0x00000010; + break; + } // case 40 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -661,22 +735,27 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private java.lang.Object parent_ = ""; /** + * + * *
      * Required. The parent resource of the conversation.
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The parent. */ public java.lang.String getParent() { java.lang.Object ref = parent_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; @@ -685,20 +764,23 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. The parent resource of the conversation.
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for parent. */ - public com.google.protobuf.ByteString - getParentBytes() { + public com.google.protobuf.ByteString getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); parent_ = b; return b; } else { @@ -706,28 +788,39 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. The parent resource of the conversation.
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The parent to set. * @return This builder for chaining. */ - public Builder setParent( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setParent(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } parent_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
      * Required. The parent resource of the conversation.
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return This builder for chaining. */ public Builder clearParent() { @@ -737,17 +830,23 @@ public Builder clearParent() { return this; } /** + * + * *
      * Required. The parent resource of the conversation.
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setParentBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); parent_ = value; bitField0_ |= 0x00000001; @@ -755,8 +854,10 @@ public Builder setParentBytes( return this; } - private int pageSize_ ; + private int pageSize_; /** + * + * *
      * The maximum number of conversations to return in the response. A valid page
      * size ranges from 0 to 1,000 inclusive. If the page size is zero or
@@ -765,6 +866,7 @@ public Builder setParentBytes(
      * 
* * int32 page_size = 2; + * * @return The pageSize. */ @java.lang.Override @@ -772,6 +874,8 @@ public int getPageSize() { return pageSize_; } /** + * + * *
      * The maximum number of conversations to return in the response. A valid page
      * size ranges from 0 to 1,000 inclusive. If the page size is zero or
@@ -780,17 +884,20 @@ public int getPageSize() {
      * 
* * int32 page_size = 2; + * * @param value The pageSize to set. * @return This builder for chaining. */ public Builder setPageSize(int value) { - + pageSize_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** + * + * *
      * The maximum number of conversations to return in the response. A valid page
      * size ranges from 0 to 1,000 inclusive. If the page size is zero or
@@ -799,6 +906,7 @@ public Builder setPageSize(int value) {
      * 
* * int32 page_size = 2; + * * @return This builder for chaining. */ public Builder clearPageSize() { @@ -810,6 +918,8 @@ public Builder clearPageSize() { private java.lang.Object pageToken_ = ""; /** + * + * *
      * The value returned by the last `ListConversationsResponse`. This value
      * indicates that this is a continuation of a prior `ListConversations` call
@@ -817,13 +927,13 @@ public Builder clearPageSize() {
      * 
* * string page_token = 3; + * * @return The pageToken. */ public java.lang.String getPageToken() { java.lang.Object ref = pageToken_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); pageToken_ = s; return s; @@ -832,6 +942,8 @@ public java.lang.String getPageToken() { } } /** + * + * *
      * The value returned by the last `ListConversationsResponse`. This value
      * indicates that this is a continuation of a prior `ListConversations` call
@@ -839,15 +951,14 @@ public java.lang.String getPageToken() {
      * 
* * string page_token = 3; + * * @return The bytes for pageToken. */ - public com.google.protobuf.ByteString - getPageTokenBytes() { + public com.google.protobuf.ByteString getPageTokenBytes() { java.lang.Object ref = pageToken_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); pageToken_ = b; return b; } else { @@ -855,6 +966,8 @@ public java.lang.String getPageToken() { } } /** + * + * *
      * The value returned by the last `ListConversationsResponse`. This value
      * indicates that this is a continuation of a prior `ListConversations` call
@@ -862,18 +975,22 @@ public java.lang.String getPageToken() {
      * 
* * string page_token = 3; + * * @param value The pageToken to set. * @return This builder for chaining. */ - public Builder setPageToken( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setPageToken(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } pageToken_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } /** + * + * *
      * The value returned by the last `ListConversationsResponse`. This value
      * indicates that this is a continuation of a prior `ListConversations` call
@@ -881,6 +998,7 @@ public Builder setPageToken(
      * 
* * string page_token = 3; + * * @return This builder for chaining. */ public Builder clearPageToken() { @@ -890,6 +1008,8 @@ public Builder clearPageToken() { return this; } /** + * + * *
      * The value returned by the last `ListConversationsResponse`. This value
      * indicates that this is a continuation of a prior `ListConversations` call
@@ -897,12 +1017,14 @@ public Builder clearPageToken() {
      * 
* * string page_token = 3; + * * @param value The bytes for pageToken to set. * @return This builder for chaining. */ - public Builder setPageTokenBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setPageTokenBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); pageToken_ = value; bitField0_ |= 0x00000004; @@ -912,19 +1034,21 @@ public Builder setPageTokenBytes( private java.lang.Object filter_ = ""; /** + * + * *
      * A filter to reduce results to a specific subset. Useful for querying
      * conversations with specific properties.
      * 
* * string filter = 4; + * * @return The filter. */ public java.lang.String getFilter() { java.lang.Object ref = filter_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); filter_ = s; return s; @@ -933,21 +1057,22 @@ public java.lang.String getFilter() { } } /** + * + * *
      * A filter to reduce results to a specific subset. Useful for querying
      * conversations with specific properties.
      * 
* * string filter = 4; + * * @return The bytes for filter. */ - public com.google.protobuf.ByteString - getFilterBytes() { + public com.google.protobuf.ByteString getFilterBytes() { java.lang.Object ref = filter_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); filter_ = b; return b; } else { @@ -955,30 +1080,37 @@ public java.lang.String getFilter() { } } /** + * + * *
      * A filter to reduce results to a specific subset. Useful for querying
      * conversations with specific properties.
      * 
* * string filter = 4; + * * @param value The filter to set. * @return This builder for chaining. */ - public Builder setFilter( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setFilter(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } filter_ = value; bitField0_ |= 0x00000008; onChanged(); return this; } /** + * + * *
      * A filter to reduce results to a specific subset. Useful for querying
      * conversations with specific properties.
      * 
* * string filter = 4; + * * @return This builder for chaining. */ public Builder clearFilter() { @@ -988,18 +1120,22 @@ public Builder clearFilter() { return this; } /** + * + * *
      * A filter to reduce results to a specific subset. Useful for querying
      * conversations with specific properties.
      * 
* * string filter = 4; + * * @param value The bytes for filter to set. * @return This builder for chaining. */ - public Builder setFilterBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setFilterBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); filter_ = value; bitField0_ |= 0x00000008; @@ -1009,22 +1145,29 @@ public Builder setFilterBytes( private int view_ = 0; /** + * + * *
      * The level of details of the conversation. Default is `BASIC`.
      * 
* * .google.cloud.contactcenterinsights.v1.ConversationView view = 5; + * * @return The enum numeric value on the wire for view. */ - @java.lang.Override public int getViewValue() { + @java.lang.Override + public int getViewValue() { return view_; } /** + * + * *
      * The level of details of the conversation. Default is `BASIC`.
      * 
* * .google.cloud.contactcenterinsights.v1.ConversationView view = 5; + * * @param value The enum numeric value on the wire for view to set. * @return This builder for chaining. */ @@ -1035,24 +1178,33 @@ public Builder setViewValue(int value) { return this; } /** + * + * *
      * The level of details of the conversation. Default is `BASIC`.
      * 
* * .google.cloud.contactcenterinsights.v1.ConversationView view = 5; + * * @return The view. */ @java.lang.Override public com.google.cloud.contactcenterinsights.v1.ConversationView getView() { - com.google.cloud.contactcenterinsights.v1.ConversationView result = com.google.cloud.contactcenterinsights.v1.ConversationView.forNumber(view_); - return result == null ? com.google.cloud.contactcenterinsights.v1.ConversationView.UNRECOGNIZED : result; + com.google.cloud.contactcenterinsights.v1.ConversationView result = + com.google.cloud.contactcenterinsights.v1.ConversationView.forNumber(view_); + return result == null + ? com.google.cloud.contactcenterinsights.v1.ConversationView.UNRECOGNIZED + : result; } /** + * + * *
      * The level of details of the conversation. Default is `BASIC`.
      * 
* * .google.cloud.contactcenterinsights.v1.ConversationView view = 5; + * * @param value The view to set. * @return This builder for chaining. */ @@ -1066,11 +1218,14 @@ public Builder setView(com.google.cloud.contactcenterinsights.v1.ConversationVie return this; } /** + * + * *
      * The level of details of the conversation. Default is `BASIC`.
      * 
* * .google.cloud.contactcenterinsights.v1.ConversationView view = 5; + * * @return This builder for chaining. */ public Builder clearView() { @@ -1079,9 +1234,9 @@ public Builder clearView() { onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1091,41 +1246,43 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.contactcenterinsights.v1.ListConversationsRequest) } // @@protoc_insertion_point(class_scope:google.cloud.contactcenterinsights.v1.ListConversationsRequest) - private static final com.google.cloud.contactcenterinsights.v1.ListConversationsRequest DEFAULT_INSTANCE; + private static final com.google.cloud.contactcenterinsights.v1.ListConversationsRequest + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.contactcenterinsights.v1.ListConversationsRequest(); } - public static com.google.cloud.contactcenterinsights.v1.ListConversationsRequest getDefaultInstance() { + public static com.google.cloud.contactcenterinsights.v1.ListConversationsRequest + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListConversationsRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListConversationsRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1137,9 +1294,8 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.cloud.contactcenterinsights.v1.ListConversationsRequest getDefaultInstanceForType() { + public com.google.cloud.contactcenterinsights.v1.ListConversationsRequest + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ListConversationsRequestOrBuilder.java b/java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ListConversationsRequestOrBuilder.java similarity index 69% rename from owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ListConversationsRequestOrBuilder.java rename to java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ListConversationsRequestOrBuilder.java index 7b83921ee218..0d4608e8e691 100644 --- a/owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ListConversationsRequestOrBuilder.java +++ b/java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ListConversationsRequestOrBuilder.java @@ -1,33 +1,60 @@ +/* + * 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. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/contactcenterinsights/v1/contact_center_insights.proto package com.google.cloud.contactcenterinsights.v1; -public interface ListConversationsRequestOrBuilder extends +public interface ListConversationsRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.contactcenterinsights.v1.ListConversationsRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Required. The parent resource of the conversation.
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The parent. */ java.lang.String getParent(); /** + * + * *
    * Required. The parent resource of the conversation.
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for parent. */ - com.google.protobuf.ByteString - getParentBytes(); + com.google.protobuf.ByteString getParentBytes(); /** + * + * *
    * The maximum number of conversations to return in the response. A valid page
    * size ranges from 0 to 1,000 inclusive. If the page size is zero or
@@ -36,11 +63,14 @@ public interface ListConversationsRequestOrBuilder extends
    * 
* * int32 page_size = 2; + * * @return The pageSize. */ int getPageSize(); /** + * + * *
    * The value returned by the last `ListConversationsResponse`. This value
    * indicates that this is a continuation of a prior `ListConversations` call
@@ -48,10 +78,13 @@ public interface ListConversationsRequestOrBuilder extends
    * 
* * string page_token = 3; + * * @return The pageToken. */ java.lang.String getPageToken(); /** + * + * *
    * The value returned by the last `ListConversationsResponse`. This value
    * indicates that this is a continuation of a prior `ListConversations` call
@@ -59,48 +92,59 @@ public interface ListConversationsRequestOrBuilder extends
    * 
* * string page_token = 3; + * * @return The bytes for pageToken. */ - com.google.protobuf.ByteString - getPageTokenBytes(); + com.google.protobuf.ByteString getPageTokenBytes(); /** + * + * *
    * A filter to reduce results to a specific subset. Useful for querying
    * conversations with specific properties.
    * 
* * string filter = 4; + * * @return The filter. */ java.lang.String getFilter(); /** + * + * *
    * A filter to reduce results to a specific subset. Useful for querying
    * conversations with specific properties.
    * 
* * string filter = 4; + * * @return The bytes for filter. */ - com.google.protobuf.ByteString - getFilterBytes(); + com.google.protobuf.ByteString getFilterBytes(); /** + * + * *
    * The level of details of the conversation. Default is `BASIC`.
    * 
* * .google.cloud.contactcenterinsights.v1.ConversationView view = 5; + * * @return The enum numeric value on the wire for view. */ int getViewValue(); /** + * + * *
    * The level of details of the conversation. Default is `BASIC`.
    * 
* * .google.cloud.contactcenterinsights.v1.ConversationView view = 5; + * * @return The view. */ com.google.cloud.contactcenterinsights.v1.ConversationView getView(); diff --git a/owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ListConversationsResponse.java b/java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ListConversationsResponse.java similarity index 70% rename from owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ListConversationsResponse.java rename to java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ListConversationsResponse.java index b54fcb066064..ae68f4f5fc7d 100644 --- a/owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ListConversationsResponse.java +++ b/java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ListConversationsResponse.java @@ -1,24 +1,42 @@ +/* + * 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. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/contactcenterinsights/v1/contact_center_insights.proto package com.google.cloud.contactcenterinsights.v1; /** + * + * *
  * The response of listing conversations.
  * 
* * Protobuf type {@code google.cloud.contactcenterinsights.v1.ListConversationsResponse} */ -public final class ListConversationsResponse extends - com.google.protobuf.GeneratedMessageV3 implements +public final class ListConversationsResponse extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.contactcenterinsights.v1.ListConversationsResponse) ListConversationsResponseOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use ListConversationsResponse.newBuilder() to construct. private ListConversationsResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private ListConversationsResponse() { conversations_ = java.util.Collections.emptyList(); nextPageToken_ = ""; @@ -26,33 +44,37 @@ private ListConversationsResponse() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ListConversationsResponse(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto.internal_static_google_cloud_contactcenterinsights_v1_ListConversationsResponse_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto + .internal_static_google_cloud_contactcenterinsights_v1_ListConversationsResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto.internal_static_google_cloud_contactcenterinsights_v1_ListConversationsResponse_fieldAccessorTable + return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto + .internal_static_google_cloud_contactcenterinsights_v1_ListConversationsResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.contactcenterinsights.v1.ListConversationsResponse.class, com.google.cloud.contactcenterinsights.v1.ListConversationsResponse.Builder.class); + com.google.cloud.contactcenterinsights.v1.ListConversationsResponse.class, + com.google.cloud.contactcenterinsights.v1.ListConversationsResponse.Builder.class); } public static final int CONVERSATIONS_FIELD_NUMBER = 1; + @SuppressWarnings("serial") private java.util.List conversations_; /** + * + * *
    * The conversations that match the request.
    * 
@@ -60,10 +82,13 @@ protected java.lang.Object newInstance( * repeated .google.cloud.contactcenterinsights.v1.Conversation conversations = 1; */ @java.lang.Override - public java.util.List getConversationsList() { + public java.util.List + getConversationsList() { return conversations_; } /** + * + * *
    * The conversations that match the request.
    * 
@@ -71,11 +96,13 @@ public java.util.List ge * repeated .google.cloud.contactcenterinsights.v1.Conversation conversations = 1; */ @java.lang.Override - public java.util.List + public java.util.List getConversationsOrBuilderList() { return conversations_; } /** + * + * *
    * The conversations that match the request.
    * 
@@ -87,6 +114,8 @@ public int getConversationsCount() { return conversations_.size(); } /** + * + * *
    * The conversations that match the request.
    * 
@@ -98,6 +127,8 @@ public com.google.cloud.contactcenterinsights.v1.Conversation getConversations(i return conversations_.get(index); } /** + * + * *
    * The conversations that match the request.
    * 
@@ -111,9 +142,12 @@ public com.google.cloud.contactcenterinsights.v1.ConversationOrBuilder getConver } public static final int NEXT_PAGE_TOKEN_FIELD_NUMBER = 2; + @SuppressWarnings("serial") private volatile java.lang.Object nextPageToken_ = ""; /** + * + * *
    * A token which can be sent as `page_token` to retrieve the next page. If
    * this field is set, it means there is another page available. If it is not
@@ -121,6 +155,7 @@ public com.google.cloud.contactcenterinsights.v1.ConversationOrBuilder getConver
    * 
* * string next_page_token = 2; + * * @return The nextPageToken. */ @java.lang.Override @@ -129,14 +164,15 @@ public java.lang.String getNextPageToken() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); nextPageToken_ = s; return s; } } /** + * + * *
    * A token which can be sent as `page_token` to retrieve the next page. If
    * this field is set, it means there is another page available. If it is not
@@ -144,16 +180,15 @@ public java.lang.String getNextPageToken() {
    * 
* * string next_page_token = 2; + * * @return The bytes for nextPageToken. */ @java.lang.Override - public com.google.protobuf.ByteString - getNextPageTokenBytes() { + public com.google.protobuf.ByteString getNextPageTokenBytes() { java.lang.Object ref = nextPageToken_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); nextPageToken_ = b; return b; } else { @@ -162,6 +197,7 @@ public java.lang.String getNextPageToken() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -173,8 +209,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { for (int i = 0; i < conversations_.size(); i++) { output.writeMessage(1, conversations_.get(i)); } @@ -191,8 +226,7 @@ public int getSerializedSize() { size = 0; for (int i = 0; i < conversations_.size(); i++) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, conversations_.get(i)); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, conversations_.get(i)); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(nextPageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, nextPageToken_); @@ -205,17 +239,16 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.contactcenterinsights.v1.ListConversationsResponse)) { return super.equals(obj); } - com.google.cloud.contactcenterinsights.v1.ListConversationsResponse other = (com.google.cloud.contactcenterinsights.v1.ListConversationsResponse) obj; + com.google.cloud.contactcenterinsights.v1.ListConversationsResponse other = + (com.google.cloud.contactcenterinsights.v1.ListConversationsResponse) obj; - if (!getConversationsList() - .equals(other.getConversationsList())) return false; - if (!getNextPageToken() - .equals(other.getNextPageToken())) return false; + if (!getConversationsList().equals(other.getConversationsList())) return false; + if (!getNextPageToken().equals(other.getNextPageToken())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -239,129 +272,138 @@ public int hashCode() { } public static com.google.cloud.contactcenterinsights.v1.ListConversationsResponse parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.contactcenterinsights.v1.ListConversationsResponse parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.contactcenterinsights.v1.ListConversationsResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.contactcenterinsights.v1.ListConversationsResponse parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.contactcenterinsights.v1.ListConversationsResponse parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.contactcenterinsights.v1.ListConversationsResponse parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.contactcenterinsights.v1.ListConversationsResponse parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.contactcenterinsights.v1.ListConversationsResponse parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.contactcenterinsights.v1.ListConversationsResponse parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.contactcenterinsights.v1.ListConversationsResponse parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.contactcenterinsights.v1.ListConversationsResponse parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.contactcenterinsights.v1.ListConversationsResponse + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.contactcenterinsights.v1.ListConversationsResponse parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + + public static com.google.cloud.contactcenterinsights.v1.ListConversationsResponse + parseDelimitedFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.contactcenterinsights.v1.ListConversationsResponse parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.contactcenterinsights.v1.ListConversationsResponse parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.contactcenterinsights.v1.ListConversationsResponse prototype) { + + public static Builder newBuilder( + com.google.cloud.contactcenterinsights.v1.ListConversationsResponse prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * The response of listing conversations.
    * 
* * Protobuf type {@code google.cloud.contactcenterinsights.v1.ListConversationsResponse} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.contactcenterinsights.v1.ListConversationsResponse) com.google.cloud.contactcenterinsights.v1.ListConversationsResponseOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto.internal_static_google_cloud_contactcenterinsights_v1_ListConversationsResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto + .internal_static_google_cloud_contactcenterinsights_v1_ListConversationsResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto.internal_static_google_cloud_contactcenterinsights_v1_ListConversationsResponse_fieldAccessorTable + return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto + .internal_static_google_cloud_contactcenterinsights_v1_ListConversationsResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.contactcenterinsights.v1.ListConversationsResponse.class, com.google.cloud.contactcenterinsights.v1.ListConversationsResponse.Builder.class); + com.google.cloud.contactcenterinsights.v1.ListConversationsResponse.class, + com.google.cloud.contactcenterinsights.v1.ListConversationsResponse.Builder.class); } - // Construct using com.google.cloud.contactcenterinsights.v1.ListConversationsResponse.newBuilder() - private Builder() { - - } + // Construct using + // com.google.cloud.contactcenterinsights.v1.ListConversationsResponse.newBuilder() + private Builder() {} - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -378,14 +420,16 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto.internal_static_google_cloud_contactcenterinsights_v1_ListConversationsResponse_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto + .internal_static_google_cloud_contactcenterinsights_v1_ListConversationsResponse_descriptor; } @java.lang.Override - public com.google.cloud.contactcenterinsights.v1.ListConversationsResponse getDefaultInstanceForType() { - return com.google.cloud.contactcenterinsights.v1.ListConversationsResponse.getDefaultInstance(); + public com.google.cloud.contactcenterinsights.v1.ListConversationsResponse + getDefaultInstanceForType() { + return com.google.cloud.contactcenterinsights.v1.ListConversationsResponse + .getDefaultInstance(); } @java.lang.Override @@ -399,14 +443,18 @@ public com.google.cloud.contactcenterinsights.v1.ListConversationsResponse build @java.lang.Override public com.google.cloud.contactcenterinsights.v1.ListConversationsResponse buildPartial() { - com.google.cloud.contactcenterinsights.v1.ListConversationsResponse result = new com.google.cloud.contactcenterinsights.v1.ListConversationsResponse(this); + com.google.cloud.contactcenterinsights.v1.ListConversationsResponse result = + new com.google.cloud.contactcenterinsights.v1.ListConversationsResponse(this); buildPartialRepeatedFields(result); - if (bitField0_ != 0) { buildPartial0(result); } + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } - private void buildPartialRepeatedFields(com.google.cloud.contactcenterinsights.v1.ListConversationsResponse result) { + private void buildPartialRepeatedFields( + com.google.cloud.contactcenterinsights.v1.ListConversationsResponse result) { if (conversationsBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { conversations_ = java.util.Collections.unmodifiableList(conversations_); @@ -418,7 +466,8 @@ private void buildPartialRepeatedFields(com.google.cloud.contactcenterinsights.v } } - private void buildPartial0(com.google.cloud.contactcenterinsights.v1.ListConversationsResponse result) { + private void buildPartial0( + com.google.cloud.contactcenterinsights.v1.ListConversationsResponse result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000002) != 0)) { result.nextPageToken_ = nextPageToken_; @@ -429,46 +478,51 @@ private void buildPartial0(com.google.cloud.contactcenterinsights.v1.ListConvers public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.contactcenterinsights.v1.ListConversationsResponse) { - return mergeFrom((com.google.cloud.contactcenterinsights.v1.ListConversationsResponse)other); + return mergeFrom( + (com.google.cloud.contactcenterinsights.v1.ListConversationsResponse) other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.google.cloud.contactcenterinsights.v1.ListConversationsResponse other) { - if (other == com.google.cloud.contactcenterinsights.v1.ListConversationsResponse.getDefaultInstance()) return this; + public Builder mergeFrom( + com.google.cloud.contactcenterinsights.v1.ListConversationsResponse other) { + if (other + == com.google.cloud.contactcenterinsights.v1.ListConversationsResponse + .getDefaultInstance()) return this; if (conversationsBuilder_ == null) { if (!other.conversations_.isEmpty()) { if (conversations_.isEmpty()) { @@ -487,9 +541,10 @@ public Builder mergeFrom(com.google.cloud.contactcenterinsights.v1.ListConversat conversationsBuilder_ = null; conversations_ = other.conversations_; bitField0_ = (bitField0_ & ~0x00000001); - conversationsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? - getConversationsFieldBuilder() : null; + conversationsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders + ? getConversationsFieldBuilder() + : null; } else { conversationsBuilder_.addAllMessages(other.conversations_); } @@ -526,30 +581,33 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - com.google.cloud.contactcenterinsights.v1.Conversation m = - input.readMessage( - com.google.cloud.contactcenterinsights.v1.Conversation.parser(), - extensionRegistry); - if (conversationsBuilder_ == null) { - ensureConversationsIsMutable(); - conversations_.add(m); - } else { - conversationsBuilder_.addMessage(m); - } - break; - } // case 10 - case 18: { - nextPageToken_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000002; - break; - } // case 18 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + com.google.cloud.contactcenterinsights.v1.Conversation m = + input.readMessage( + com.google.cloud.contactcenterinsights.v1.Conversation.parser(), + extensionRegistry); + if (conversationsBuilder_ == null) { + ensureConversationsIsMutable(); + conversations_.add(m); + } else { + conversationsBuilder_.addMessage(m); + } + break; + } // case 10 + case 18: + { + nextPageToken_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + break; + } // case 18 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -559,28 +617,38 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private java.util.List conversations_ = - java.util.Collections.emptyList(); + java.util.Collections.emptyList(); + private void ensureConversationsIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { - conversations_ = new java.util.ArrayList(conversations_); + conversations_ = + new java.util.ArrayList( + conversations_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.contactcenterinsights.v1.Conversation, com.google.cloud.contactcenterinsights.v1.Conversation.Builder, com.google.cloud.contactcenterinsights.v1.ConversationOrBuilder> conversationsBuilder_; + com.google.cloud.contactcenterinsights.v1.Conversation, + com.google.cloud.contactcenterinsights.v1.Conversation.Builder, + com.google.cloud.contactcenterinsights.v1.ConversationOrBuilder> + conversationsBuilder_; /** + * + * *
      * The conversations that match the request.
      * 
* * repeated .google.cloud.contactcenterinsights.v1.Conversation conversations = 1; */ - public java.util.List getConversationsList() { + public java.util.List + getConversationsList() { if (conversationsBuilder_ == null) { return java.util.Collections.unmodifiableList(conversations_); } else { @@ -588,6 +656,8 @@ public java.util.List ge } } /** + * + * *
      * The conversations that match the request.
      * 
@@ -602,6 +672,8 @@ public int getConversationsCount() { } } /** + * + * *
      * The conversations that match the request.
      * 
@@ -616,6 +688,8 @@ public com.google.cloud.contactcenterinsights.v1.Conversation getConversations(i } } /** + * + * *
      * The conversations that match the request.
      * 
@@ -637,6 +711,8 @@ public Builder setConversations( return this; } /** + * + * *
      * The conversations that match the request.
      * 
@@ -655,6 +731,8 @@ public Builder setConversations( return this; } /** + * + * *
      * The conversations that match the request.
      * 
@@ -675,6 +753,8 @@ public Builder addConversations(com.google.cloud.contactcenterinsights.v1.Conver return this; } /** + * + * *
      * The conversations that match the request.
      * 
@@ -696,6 +776,8 @@ public Builder addConversations( return this; } /** + * + * *
      * The conversations that match the request.
      * 
@@ -714,6 +796,8 @@ public Builder addConversations( return this; } /** + * + * *
      * The conversations that match the request.
      * 
@@ -732,6 +816,8 @@ public Builder addConversations( return this; } /** + * + * *
      * The conversations that match the request.
      * 
@@ -739,11 +825,11 @@ public Builder addConversations( * repeated .google.cloud.contactcenterinsights.v1.Conversation conversations = 1; */ public Builder addAllConversations( - java.lang.Iterable values) { + java.lang.Iterable + values) { if (conversationsBuilder_ == null) { ensureConversationsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, conversations_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, conversations_); onChanged(); } else { conversationsBuilder_.addAllMessages(values); @@ -751,6 +837,8 @@ public Builder addAllConversations( return this; } /** + * + * *
      * The conversations that match the request.
      * 
@@ -768,6 +856,8 @@ public Builder clearConversations() { return this; } /** + * + * *
      * The conversations that match the request.
      * 
@@ -785,6 +875,8 @@ public Builder removeConversations(int index) { return this; } /** + * + * *
      * The conversations that match the request.
      * 
@@ -796,28 +888,33 @@ public com.google.cloud.contactcenterinsights.v1.Conversation.Builder getConvers return getConversationsFieldBuilder().getBuilder(index); } /** + * + * *
      * The conversations that match the request.
      * 
* * repeated .google.cloud.contactcenterinsights.v1.Conversation conversations = 1; */ - public com.google.cloud.contactcenterinsights.v1.ConversationOrBuilder getConversationsOrBuilder( - int index) { + public com.google.cloud.contactcenterinsights.v1.ConversationOrBuilder + getConversationsOrBuilder(int index) { if (conversationsBuilder_ == null) { - return conversations_.get(index); } else { + return conversations_.get(index); + } else { return conversationsBuilder_.getMessageOrBuilder(index); } } /** + * + * *
      * The conversations that match the request.
      * 
* * repeated .google.cloud.contactcenterinsights.v1.Conversation conversations = 1; */ - public java.util.List - getConversationsOrBuilderList() { + public java.util.List + getConversationsOrBuilderList() { if (conversationsBuilder_ != null) { return conversationsBuilder_.getMessageOrBuilderList(); } else { @@ -825,17 +922,22 @@ public com.google.cloud.contactcenterinsights.v1.ConversationOrBuilder getConver } } /** + * + * *
      * The conversations that match the request.
      * 
* * repeated .google.cloud.contactcenterinsights.v1.Conversation conversations = 1; */ - public com.google.cloud.contactcenterinsights.v1.Conversation.Builder addConversationsBuilder() { - return getConversationsFieldBuilder().addBuilder( - com.google.cloud.contactcenterinsights.v1.Conversation.getDefaultInstance()); + public com.google.cloud.contactcenterinsights.v1.Conversation.Builder + addConversationsBuilder() { + return getConversationsFieldBuilder() + .addBuilder(com.google.cloud.contactcenterinsights.v1.Conversation.getDefaultInstance()); } /** + * + * *
      * The conversations that match the request.
      * 
@@ -844,26 +946,35 @@ public com.google.cloud.contactcenterinsights.v1.Conversation.Builder addConvers */ public com.google.cloud.contactcenterinsights.v1.Conversation.Builder addConversationsBuilder( int index) { - return getConversationsFieldBuilder().addBuilder( - index, com.google.cloud.contactcenterinsights.v1.Conversation.getDefaultInstance()); + return getConversationsFieldBuilder() + .addBuilder( + index, com.google.cloud.contactcenterinsights.v1.Conversation.getDefaultInstance()); } /** + * + * *
      * The conversations that match the request.
      * 
* * repeated .google.cloud.contactcenterinsights.v1.Conversation conversations = 1; */ - public java.util.List - getConversationsBuilderList() { + public java.util.List + getConversationsBuilderList() { return getConversationsFieldBuilder().getBuilderList(); } + private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.contactcenterinsights.v1.Conversation, com.google.cloud.contactcenterinsights.v1.Conversation.Builder, com.google.cloud.contactcenterinsights.v1.ConversationOrBuilder> + com.google.cloud.contactcenterinsights.v1.Conversation, + com.google.cloud.contactcenterinsights.v1.Conversation.Builder, + com.google.cloud.contactcenterinsights.v1.ConversationOrBuilder> getConversationsFieldBuilder() { if (conversationsBuilder_ == null) { - conversationsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.contactcenterinsights.v1.Conversation, com.google.cloud.contactcenterinsights.v1.Conversation.Builder, com.google.cloud.contactcenterinsights.v1.ConversationOrBuilder>( + conversationsBuilder_ = + new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.contactcenterinsights.v1.Conversation, + com.google.cloud.contactcenterinsights.v1.Conversation.Builder, + com.google.cloud.contactcenterinsights.v1.ConversationOrBuilder>( conversations_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), @@ -875,6 +986,8 @@ public com.google.cloud.contactcenterinsights.v1.Conversation.Builder addConvers private java.lang.Object nextPageToken_ = ""; /** + * + * *
      * A token which can be sent as `page_token` to retrieve the next page. If
      * this field is set, it means there is another page available. If it is not
@@ -882,13 +995,13 @@ public com.google.cloud.contactcenterinsights.v1.Conversation.Builder addConvers
      * 
* * string next_page_token = 2; + * * @return The nextPageToken. */ public java.lang.String getNextPageToken() { java.lang.Object ref = nextPageToken_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); nextPageToken_ = s; return s; @@ -897,6 +1010,8 @@ public java.lang.String getNextPageToken() { } } /** + * + * *
      * A token which can be sent as `page_token` to retrieve the next page. If
      * this field is set, it means there is another page available. If it is not
@@ -904,15 +1019,14 @@ public java.lang.String getNextPageToken() {
      * 
* * string next_page_token = 2; + * * @return The bytes for nextPageToken. */ - public com.google.protobuf.ByteString - getNextPageTokenBytes() { + public com.google.protobuf.ByteString getNextPageTokenBytes() { java.lang.Object ref = nextPageToken_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); nextPageToken_ = b; return b; } else { @@ -920,6 +1034,8 @@ public java.lang.String getNextPageToken() { } } /** + * + * *
      * A token which can be sent as `page_token` to retrieve the next page. If
      * this field is set, it means there is another page available. If it is not
@@ -927,18 +1043,22 @@ public java.lang.String getNextPageToken() {
      * 
* * string next_page_token = 2; + * * @param value The nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageToken( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setNextPageToken(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } nextPageToken_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** + * + * *
      * A token which can be sent as `page_token` to retrieve the next page. If
      * this field is set, it means there is another page available. If it is not
@@ -946,6 +1066,7 @@ public Builder setNextPageToken(
      * 
* * string next_page_token = 2; + * * @return This builder for chaining. */ public Builder clearNextPageToken() { @@ -955,6 +1076,8 @@ public Builder clearNextPageToken() { return this; } /** + * + * *
      * A token which can be sent as `page_token` to retrieve the next page. If
      * this field is set, it means there is another page available. If it is not
@@ -962,21 +1085,23 @@ public Builder clearNextPageToken() {
      * 
* * string next_page_token = 2; + * * @param value The bytes for nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageTokenBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setNextPageTokenBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); nextPageToken_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -986,41 +1111,43 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.contactcenterinsights.v1.ListConversationsResponse) } // @@protoc_insertion_point(class_scope:google.cloud.contactcenterinsights.v1.ListConversationsResponse) - private static final com.google.cloud.contactcenterinsights.v1.ListConversationsResponse DEFAULT_INSTANCE; + private static final com.google.cloud.contactcenterinsights.v1.ListConversationsResponse + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.contactcenterinsights.v1.ListConversationsResponse(); } - public static com.google.cloud.contactcenterinsights.v1.ListConversationsResponse getDefaultInstance() { + public static com.google.cloud.contactcenterinsights.v1.ListConversationsResponse + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListConversationsResponse parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListConversationsResponse parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1032,9 +1159,8 @@ public com.google.protobuf.Parser getParserForType() } @java.lang.Override - public com.google.cloud.contactcenterinsights.v1.ListConversationsResponse getDefaultInstanceForType() { + public com.google.cloud.contactcenterinsights.v1.ListConversationsResponse + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ListConversationsResponseOrBuilder.java b/java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ListConversationsResponseOrBuilder.java similarity index 73% rename from owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ListConversationsResponseOrBuilder.java rename to java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ListConversationsResponseOrBuilder.java index 6dd89e461b38..c0748e013652 100644 --- a/owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ListConversationsResponseOrBuilder.java +++ b/java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ListConversationsResponseOrBuilder.java @@ -1,22 +1,41 @@ +/* + * 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. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/contactcenterinsights/v1/contact_center_insights.proto package com.google.cloud.contactcenterinsights.v1; -public interface ListConversationsResponseOrBuilder extends +public interface ListConversationsResponseOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.contactcenterinsights.v1.ListConversationsResponse) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * The conversations that match the request.
    * 
* * repeated .google.cloud.contactcenterinsights.v1.Conversation conversations = 1; */ - java.util.List - getConversationsList(); + java.util.List getConversationsList(); /** + * + * *
    * The conversations that match the request.
    * 
@@ -25,6 +44,8 @@ public interface ListConversationsResponseOrBuilder extends */ com.google.cloud.contactcenterinsights.v1.Conversation getConversations(int index); /** + * + * *
    * The conversations that match the request.
    * 
@@ -33,15 +54,19 @@ public interface ListConversationsResponseOrBuilder extends */ int getConversationsCount(); /** + * + * *
    * The conversations that match the request.
    * 
* * repeated .google.cloud.contactcenterinsights.v1.Conversation conversations = 1; */ - java.util.List + java.util.List getConversationsOrBuilderList(); /** + * + * *
    * The conversations that match the request.
    * 
@@ -52,6 +77,8 @@ com.google.cloud.contactcenterinsights.v1.ConversationOrBuilder getConversations int index); /** + * + * *
    * A token which can be sent as `page_token` to retrieve the next page. If
    * this field is set, it means there is another page available. If it is not
@@ -59,10 +86,13 @@ com.google.cloud.contactcenterinsights.v1.ConversationOrBuilder getConversations
    * 
* * string next_page_token = 2; + * * @return The nextPageToken. */ java.lang.String getNextPageToken(); /** + * + * *
    * A token which can be sent as `page_token` to retrieve the next page. If
    * this field is set, it means there is another page available. If it is not
@@ -70,8 +100,8 @@ com.google.cloud.contactcenterinsights.v1.ConversationOrBuilder getConversations
    * 
* * string next_page_token = 2; + * * @return The bytes for nextPageToken. */ - com.google.protobuf.ByteString - getNextPageTokenBytes(); + com.google.protobuf.ByteString getNextPageTokenBytes(); } diff --git a/owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ListIssueModelsRequest.java b/java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ListIssueModelsRequest.java similarity index 60% rename from owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ListIssueModelsRequest.java rename to java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ListIssueModelsRequest.java index f6b5dc63eec7..9fccb0a3cef3 100644 --- a/owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ListIssueModelsRequest.java +++ b/java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ListIssueModelsRequest.java @@ -1,62 +1,87 @@ +/* + * 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. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/contactcenterinsights/v1/contact_center_insights.proto package com.google.cloud.contactcenterinsights.v1; /** + * + * *
  * Request to list issue models.
  * 
* * Protobuf type {@code google.cloud.contactcenterinsights.v1.ListIssueModelsRequest} */ -public final class ListIssueModelsRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class ListIssueModelsRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.contactcenterinsights.v1.ListIssueModelsRequest) ListIssueModelsRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use ListIssueModelsRequest.newBuilder() to construct. private ListIssueModelsRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private ListIssueModelsRequest() { parent_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ListIssueModelsRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto.internal_static_google_cloud_contactcenterinsights_v1_ListIssueModelsRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto + .internal_static_google_cloud_contactcenterinsights_v1_ListIssueModelsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto.internal_static_google_cloud_contactcenterinsights_v1_ListIssueModelsRequest_fieldAccessorTable + return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto + .internal_static_google_cloud_contactcenterinsights_v1_ListIssueModelsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.contactcenterinsights.v1.ListIssueModelsRequest.class, com.google.cloud.contactcenterinsights.v1.ListIssueModelsRequest.Builder.class); + com.google.cloud.contactcenterinsights.v1.ListIssueModelsRequest.class, + com.google.cloud.contactcenterinsights.v1.ListIssueModelsRequest.Builder.class); } public static final int PARENT_FIELD_NUMBER = 1; + @SuppressWarnings("serial") private volatile java.lang.Object parent_ = ""; /** + * + * *
    * Required. The parent resource of the issue model.
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The parent. */ @java.lang.Override @@ -65,29 +90,31 @@ public java.lang.String getParent() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; } } /** + * + * *
    * Required. The parent resource of the issue model.
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for parent. */ @java.lang.Override - public com.google.protobuf.ByteString - getParentBytes() { + public com.google.protobuf.ByteString getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); parent_ = b; return b; } else { @@ -96,6 +123,7 @@ public java.lang.String getParent() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -107,8 +135,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); } @@ -132,15 +159,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.contactcenterinsights.v1.ListIssueModelsRequest)) { return super.equals(obj); } - com.google.cloud.contactcenterinsights.v1.ListIssueModelsRequest other = (com.google.cloud.contactcenterinsights.v1.ListIssueModelsRequest) obj; + com.google.cloud.contactcenterinsights.v1.ListIssueModelsRequest other = + (com.google.cloud.contactcenterinsights.v1.ListIssueModelsRequest) obj; - if (!getParent() - .equals(other.getParent())) return false; + if (!getParent().equals(other.getParent())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -160,129 +187,136 @@ public int hashCode() { } public static com.google.cloud.contactcenterinsights.v1.ListIssueModelsRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.contactcenterinsights.v1.ListIssueModelsRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.contactcenterinsights.v1.ListIssueModelsRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.contactcenterinsights.v1.ListIssueModelsRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.contactcenterinsights.v1.ListIssueModelsRequest parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.contactcenterinsights.v1.ListIssueModelsRequest parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.contactcenterinsights.v1.ListIssueModelsRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.contactcenterinsights.v1.ListIssueModelsRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.contactcenterinsights.v1.ListIssueModelsRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.contactcenterinsights.v1.ListIssueModelsRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.contactcenterinsights.v1.ListIssueModelsRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.contactcenterinsights.v1.ListIssueModelsRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.contactcenterinsights.v1.ListIssueModelsRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.contactcenterinsights.v1.ListIssueModelsRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.contactcenterinsights.v1.ListIssueModelsRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.contactcenterinsights.v1.ListIssueModelsRequest prototype) { + + public static Builder newBuilder( + com.google.cloud.contactcenterinsights.v1.ListIssueModelsRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Request to list issue models.
    * 
* * Protobuf type {@code google.cloud.contactcenterinsights.v1.ListIssueModelsRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.contactcenterinsights.v1.ListIssueModelsRequest) com.google.cloud.contactcenterinsights.v1.ListIssueModelsRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto.internal_static_google_cloud_contactcenterinsights_v1_ListIssueModelsRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto + .internal_static_google_cloud_contactcenterinsights_v1_ListIssueModelsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto.internal_static_google_cloud_contactcenterinsights_v1_ListIssueModelsRequest_fieldAccessorTable + return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto + .internal_static_google_cloud_contactcenterinsights_v1_ListIssueModelsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.contactcenterinsights.v1.ListIssueModelsRequest.class, com.google.cloud.contactcenterinsights.v1.ListIssueModelsRequest.Builder.class); + com.google.cloud.contactcenterinsights.v1.ListIssueModelsRequest.class, + com.google.cloud.contactcenterinsights.v1.ListIssueModelsRequest.Builder.class); } // Construct using com.google.cloud.contactcenterinsights.v1.ListIssueModelsRequest.newBuilder() - private Builder() { + private Builder() {} - } - - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -292,13 +326,14 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto.internal_static_google_cloud_contactcenterinsights_v1_ListIssueModelsRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto + .internal_static_google_cloud_contactcenterinsights_v1_ListIssueModelsRequest_descriptor; } @java.lang.Override - public com.google.cloud.contactcenterinsights.v1.ListIssueModelsRequest getDefaultInstanceForType() { + public com.google.cloud.contactcenterinsights.v1.ListIssueModelsRequest + getDefaultInstanceForType() { return com.google.cloud.contactcenterinsights.v1.ListIssueModelsRequest.getDefaultInstance(); } @@ -313,13 +348,17 @@ public com.google.cloud.contactcenterinsights.v1.ListIssueModelsRequest build() @java.lang.Override public com.google.cloud.contactcenterinsights.v1.ListIssueModelsRequest buildPartial() { - com.google.cloud.contactcenterinsights.v1.ListIssueModelsRequest result = new com.google.cloud.contactcenterinsights.v1.ListIssueModelsRequest(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.cloud.contactcenterinsights.v1.ListIssueModelsRequest result = + new com.google.cloud.contactcenterinsights.v1.ListIssueModelsRequest(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } - private void buildPartial0(com.google.cloud.contactcenterinsights.v1.ListIssueModelsRequest result) { + private void buildPartial0( + com.google.cloud.contactcenterinsights.v1.ListIssueModelsRequest result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { result.parent_ = parent_; @@ -330,46 +369,50 @@ private void buildPartial0(com.google.cloud.contactcenterinsights.v1.ListIssueMo public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.contactcenterinsights.v1.ListIssueModelsRequest) { - return mergeFrom((com.google.cloud.contactcenterinsights.v1.ListIssueModelsRequest)other); + return mergeFrom((com.google.cloud.contactcenterinsights.v1.ListIssueModelsRequest) other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.google.cloud.contactcenterinsights.v1.ListIssueModelsRequest other) { - if (other == com.google.cloud.contactcenterinsights.v1.ListIssueModelsRequest.getDefaultInstance()) return this; + public Builder mergeFrom( + com.google.cloud.contactcenterinsights.v1.ListIssueModelsRequest other) { + if (other + == com.google.cloud.contactcenterinsights.v1.ListIssueModelsRequest.getDefaultInstance()) + return this; if (!other.getParent().isEmpty()) { parent_ = other.parent_; bitField0_ |= 0x00000001; @@ -401,17 +444,19 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - parent_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + parent_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -421,22 +466,27 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private java.lang.Object parent_ = ""; /** + * + * *
      * Required. The parent resource of the issue model.
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The parent. */ public java.lang.String getParent() { java.lang.Object ref = parent_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; @@ -445,20 +495,23 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. The parent resource of the issue model.
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for parent. */ - public com.google.protobuf.ByteString - getParentBytes() { + public com.google.protobuf.ByteString getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); parent_ = b; return b; } else { @@ -466,28 +519,39 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. The parent resource of the issue model.
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The parent to set. * @return This builder for chaining. */ - public Builder setParent( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setParent(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } parent_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
      * Required. The parent resource of the issue model.
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return This builder for chaining. */ public Builder clearParent() { @@ -497,26 +561,32 @@ public Builder clearParent() { return this; } /** + * + * *
      * Required. The parent resource of the issue model.
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setParentBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); parent_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -526,41 +596,43 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.contactcenterinsights.v1.ListIssueModelsRequest) } // @@protoc_insertion_point(class_scope:google.cloud.contactcenterinsights.v1.ListIssueModelsRequest) - private static final com.google.cloud.contactcenterinsights.v1.ListIssueModelsRequest DEFAULT_INSTANCE; + private static final com.google.cloud.contactcenterinsights.v1.ListIssueModelsRequest + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.contactcenterinsights.v1.ListIssueModelsRequest(); } - public static com.google.cloud.contactcenterinsights.v1.ListIssueModelsRequest getDefaultInstance() { + public static com.google.cloud.contactcenterinsights.v1.ListIssueModelsRequest + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListIssueModelsRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListIssueModelsRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -572,9 +644,8 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.cloud.contactcenterinsights.v1.ListIssueModelsRequest getDefaultInstanceForType() { + public com.google.cloud.contactcenterinsights.v1.ListIssueModelsRequest + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ListIssueModelsRequestOrBuilder.java b/java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ListIssueModelsRequestOrBuilder.java new file mode 100644 index 000000000000..30697135719b --- /dev/null +++ b/java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ListIssueModelsRequestOrBuilder.java @@ -0,0 +1,54 @@ +/* + * 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. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/contactcenterinsights/v1/contact_center_insights.proto + +package com.google.cloud.contactcenterinsights.v1; + +public interface ListIssueModelsRequestOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.cloud.contactcenterinsights.v1.ListIssueModelsRequest) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * Required. The parent resource of the issue model.
+   * 
+ * + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The parent. + */ + java.lang.String getParent(); + /** + * + * + *
+   * Required. The parent resource of the issue model.
+   * 
+ * + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The bytes for parent. + */ + com.google.protobuf.ByteString getParentBytes(); +} diff --git a/owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ListIssueModelsResponse.java b/java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ListIssueModelsResponse.java similarity index 69% rename from owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ListIssueModelsResponse.java rename to java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ListIssueModelsResponse.java index fbddfda33db3..6ab3c6d8be32 100644 --- a/owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ListIssueModelsResponse.java +++ b/java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ListIssueModelsResponse.java @@ -1,57 +1,79 @@ +/* + * 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. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/contactcenterinsights/v1/contact_center_insights.proto package com.google.cloud.contactcenterinsights.v1; /** + * + * *
  * The response of listing issue models.
  * 
* * Protobuf type {@code google.cloud.contactcenterinsights.v1.ListIssueModelsResponse} */ -public final class ListIssueModelsResponse extends - com.google.protobuf.GeneratedMessageV3 implements +public final class ListIssueModelsResponse extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.contactcenterinsights.v1.ListIssueModelsResponse) ListIssueModelsResponseOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use ListIssueModelsResponse.newBuilder() to construct. private ListIssueModelsResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private ListIssueModelsResponse() { issueModels_ = java.util.Collections.emptyList(); } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ListIssueModelsResponse(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto.internal_static_google_cloud_contactcenterinsights_v1_ListIssueModelsResponse_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto + .internal_static_google_cloud_contactcenterinsights_v1_ListIssueModelsResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto.internal_static_google_cloud_contactcenterinsights_v1_ListIssueModelsResponse_fieldAccessorTable + return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto + .internal_static_google_cloud_contactcenterinsights_v1_ListIssueModelsResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.contactcenterinsights.v1.ListIssueModelsResponse.class, com.google.cloud.contactcenterinsights.v1.ListIssueModelsResponse.Builder.class); + com.google.cloud.contactcenterinsights.v1.ListIssueModelsResponse.class, + com.google.cloud.contactcenterinsights.v1.ListIssueModelsResponse.Builder.class); } public static final int ISSUE_MODELS_FIELD_NUMBER = 1; + @SuppressWarnings("serial") private java.util.List issueModels_; /** + * + * *
    * The issue models that match the request.
    * 
@@ -63,6 +85,8 @@ public java.util.List getI return issueModels_; } /** + * + * *
    * The issue models that match the request.
    * 
@@ -70,11 +94,13 @@ public java.util.List getI * repeated .google.cloud.contactcenterinsights.v1.IssueModel issue_models = 1; */ @java.lang.Override - public java.util.List + public java.util.List getIssueModelsOrBuilderList() { return issueModels_; } /** + * + * *
    * The issue models that match the request.
    * 
@@ -86,6 +112,8 @@ public int getIssueModelsCount() { return issueModels_.size(); } /** + * + * *
    * The issue models that match the request.
    * 
@@ -97,6 +125,8 @@ public com.google.cloud.contactcenterinsights.v1.IssueModel getIssueModels(int i return issueModels_.get(index); } /** + * + * *
    * The issue models that match the request.
    * 
@@ -110,6 +140,7 @@ public com.google.cloud.contactcenterinsights.v1.IssueModelOrBuilder getIssueMod } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -121,8 +152,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { for (int i = 0; i < issueModels_.size(); i++) { output.writeMessage(1, issueModels_.get(i)); } @@ -136,8 +166,7 @@ public int getSerializedSize() { size = 0; for (int i = 0; i < issueModels_.size(); i++) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, issueModels_.get(i)); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, issueModels_.get(i)); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -147,15 +176,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.contactcenterinsights.v1.ListIssueModelsResponse)) { return super.equals(obj); } - com.google.cloud.contactcenterinsights.v1.ListIssueModelsResponse other = (com.google.cloud.contactcenterinsights.v1.ListIssueModelsResponse) obj; + com.google.cloud.contactcenterinsights.v1.ListIssueModelsResponse other = + (com.google.cloud.contactcenterinsights.v1.ListIssueModelsResponse) obj; - if (!getIssueModelsList() - .equals(other.getIssueModelsList())) return false; + if (!getIssueModelsList().equals(other.getIssueModelsList())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -177,129 +206,138 @@ public int hashCode() { } public static com.google.cloud.contactcenterinsights.v1.ListIssueModelsResponse parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.contactcenterinsights.v1.ListIssueModelsResponse parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.contactcenterinsights.v1.ListIssueModelsResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.contactcenterinsights.v1.ListIssueModelsResponse parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.contactcenterinsights.v1.ListIssueModelsResponse parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.contactcenterinsights.v1.ListIssueModelsResponse parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.contactcenterinsights.v1.ListIssueModelsResponse parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.contactcenterinsights.v1.ListIssueModelsResponse parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.contactcenterinsights.v1.ListIssueModelsResponse parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.contactcenterinsights.v1.ListIssueModelsResponse parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.contactcenterinsights.v1.ListIssueModelsResponse parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.contactcenterinsights.v1.ListIssueModelsResponse + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.contactcenterinsights.v1.ListIssueModelsResponse parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + + public static com.google.cloud.contactcenterinsights.v1.ListIssueModelsResponse + parseDelimitedFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.contactcenterinsights.v1.ListIssueModelsResponse parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.contactcenterinsights.v1.ListIssueModelsResponse parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.contactcenterinsights.v1.ListIssueModelsResponse prototype) { + + public static Builder newBuilder( + com.google.cloud.contactcenterinsights.v1.ListIssueModelsResponse prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * The response of listing issue models.
    * 
* * Protobuf type {@code google.cloud.contactcenterinsights.v1.ListIssueModelsResponse} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.contactcenterinsights.v1.ListIssueModelsResponse) com.google.cloud.contactcenterinsights.v1.ListIssueModelsResponseOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto.internal_static_google_cloud_contactcenterinsights_v1_ListIssueModelsResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto + .internal_static_google_cloud_contactcenterinsights_v1_ListIssueModelsResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto.internal_static_google_cloud_contactcenterinsights_v1_ListIssueModelsResponse_fieldAccessorTable + return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto + .internal_static_google_cloud_contactcenterinsights_v1_ListIssueModelsResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.contactcenterinsights.v1.ListIssueModelsResponse.class, com.google.cloud.contactcenterinsights.v1.ListIssueModelsResponse.Builder.class); + com.google.cloud.contactcenterinsights.v1.ListIssueModelsResponse.class, + com.google.cloud.contactcenterinsights.v1.ListIssueModelsResponse.Builder.class); } - // Construct using com.google.cloud.contactcenterinsights.v1.ListIssueModelsResponse.newBuilder() - private Builder() { + // Construct using + // com.google.cloud.contactcenterinsights.v1.ListIssueModelsResponse.newBuilder() + private Builder() {} - } - - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -315,13 +353,14 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto.internal_static_google_cloud_contactcenterinsights_v1_ListIssueModelsResponse_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto + .internal_static_google_cloud_contactcenterinsights_v1_ListIssueModelsResponse_descriptor; } @java.lang.Override - public com.google.cloud.contactcenterinsights.v1.ListIssueModelsResponse getDefaultInstanceForType() { + public com.google.cloud.contactcenterinsights.v1.ListIssueModelsResponse + getDefaultInstanceForType() { return com.google.cloud.contactcenterinsights.v1.ListIssueModelsResponse.getDefaultInstance(); } @@ -336,14 +375,18 @@ public com.google.cloud.contactcenterinsights.v1.ListIssueModelsResponse build() @java.lang.Override public com.google.cloud.contactcenterinsights.v1.ListIssueModelsResponse buildPartial() { - com.google.cloud.contactcenterinsights.v1.ListIssueModelsResponse result = new com.google.cloud.contactcenterinsights.v1.ListIssueModelsResponse(this); + com.google.cloud.contactcenterinsights.v1.ListIssueModelsResponse result = + new com.google.cloud.contactcenterinsights.v1.ListIssueModelsResponse(this); buildPartialRepeatedFields(result); - if (bitField0_ != 0) { buildPartial0(result); } + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } - private void buildPartialRepeatedFields(com.google.cloud.contactcenterinsights.v1.ListIssueModelsResponse result) { + private void buildPartialRepeatedFields( + com.google.cloud.contactcenterinsights.v1.ListIssueModelsResponse result) { if (issueModelsBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { issueModels_ = java.util.Collections.unmodifiableList(issueModels_); @@ -355,7 +398,8 @@ private void buildPartialRepeatedFields(com.google.cloud.contactcenterinsights.v } } - private void buildPartial0(com.google.cloud.contactcenterinsights.v1.ListIssueModelsResponse result) { + private void buildPartial0( + com.google.cloud.contactcenterinsights.v1.ListIssueModelsResponse result) { int from_bitField0_ = bitField0_; } @@ -363,46 +407,50 @@ private void buildPartial0(com.google.cloud.contactcenterinsights.v1.ListIssueMo public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.contactcenterinsights.v1.ListIssueModelsResponse) { - return mergeFrom((com.google.cloud.contactcenterinsights.v1.ListIssueModelsResponse)other); + return mergeFrom((com.google.cloud.contactcenterinsights.v1.ListIssueModelsResponse) other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.google.cloud.contactcenterinsights.v1.ListIssueModelsResponse other) { - if (other == com.google.cloud.contactcenterinsights.v1.ListIssueModelsResponse.getDefaultInstance()) return this; + public Builder mergeFrom( + com.google.cloud.contactcenterinsights.v1.ListIssueModelsResponse other) { + if (other + == com.google.cloud.contactcenterinsights.v1.ListIssueModelsResponse.getDefaultInstance()) + return this; if (issueModelsBuilder_ == null) { if (!other.issueModels_.isEmpty()) { if (issueModels_.isEmpty()) { @@ -421,9 +469,10 @@ public Builder mergeFrom(com.google.cloud.contactcenterinsights.v1.ListIssueMode issueModelsBuilder_ = null; issueModels_ = other.issueModels_; bitField0_ = (bitField0_ & ~0x00000001); - issueModelsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? - getIssueModelsFieldBuilder() : null; + issueModelsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders + ? getIssueModelsFieldBuilder() + : null; } else { issueModelsBuilder_.addAllMessages(other.issueModels_); } @@ -455,25 +504,27 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - com.google.cloud.contactcenterinsights.v1.IssueModel m = - input.readMessage( - com.google.cloud.contactcenterinsights.v1.IssueModel.parser(), - extensionRegistry); - if (issueModelsBuilder_ == null) { - ensureIssueModelsIsMutable(); - issueModels_.add(m); - } else { - issueModelsBuilder_.addMessage(m); - } - break; - } // case 10 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + com.google.cloud.contactcenterinsights.v1.IssueModel m = + input.readMessage( + com.google.cloud.contactcenterinsights.v1.IssueModel.parser(), + extensionRegistry); + if (issueModelsBuilder_ == null) { + ensureIssueModelsIsMutable(); + issueModels_.add(m); + } else { + issueModelsBuilder_.addMessage(m); + } + break; + } // case 10 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -483,28 +534,38 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private java.util.List issueModels_ = - java.util.Collections.emptyList(); + java.util.Collections.emptyList(); + private void ensureIssueModelsIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { - issueModels_ = new java.util.ArrayList(issueModels_); + issueModels_ = + new java.util.ArrayList( + issueModels_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.contactcenterinsights.v1.IssueModel, com.google.cloud.contactcenterinsights.v1.IssueModel.Builder, com.google.cloud.contactcenterinsights.v1.IssueModelOrBuilder> issueModelsBuilder_; + com.google.cloud.contactcenterinsights.v1.IssueModel, + com.google.cloud.contactcenterinsights.v1.IssueModel.Builder, + com.google.cloud.contactcenterinsights.v1.IssueModelOrBuilder> + issueModelsBuilder_; /** + * + * *
      * The issue models that match the request.
      * 
* * repeated .google.cloud.contactcenterinsights.v1.IssueModel issue_models = 1; */ - public java.util.List getIssueModelsList() { + public java.util.List + getIssueModelsList() { if (issueModelsBuilder_ == null) { return java.util.Collections.unmodifiableList(issueModels_); } else { @@ -512,6 +573,8 @@ public java.util.List getI } } /** + * + * *
      * The issue models that match the request.
      * 
@@ -526,6 +589,8 @@ public int getIssueModelsCount() { } } /** + * + * *
      * The issue models that match the request.
      * 
@@ -540,6 +605,8 @@ public com.google.cloud.contactcenterinsights.v1.IssueModel getIssueModels(int i } } /** + * + * *
      * The issue models that match the request.
      * 
@@ -561,6 +628,8 @@ public Builder setIssueModels( return this; } /** + * + * *
      * The issue models that match the request.
      * 
@@ -579,6 +648,8 @@ public Builder setIssueModels( return this; } /** + * + * *
      * The issue models that match the request.
      * 
@@ -599,6 +670,8 @@ public Builder addIssueModels(com.google.cloud.contactcenterinsights.v1.IssueMod return this; } /** + * + * *
      * The issue models that match the request.
      * 
@@ -620,6 +693,8 @@ public Builder addIssueModels( return this; } /** + * + * *
      * The issue models that match the request.
      * 
@@ -638,6 +713,8 @@ public Builder addIssueModels( return this; } /** + * + * *
      * The issue models that match the request.
      * 
@@ -656,6 +733,8 @@ public Builder addIssueModels( return this; } /** + * + * *
      * The issue models that match the request.
      * 
@@ -666,8 +745,7 @@ public Builder addAllIssueModels( java.lang.Iterable values) { if (issueModelsBuilder_ == null) { ensureIssueModelsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, issueModels_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, issueModels_); onChanged(); } else { issueModelsBuilder_.addAllMessages(values); @@ -675,6 +753,8 @@ public Builder addAllIssueModels( return this; } /** + * + * *
      * The issue models that match the request.
      * 
@@ -692,6 +772,8 @@ public Builder clearIssueModels() { return this; } /** + * + * *
      * The issue models that match the request.
      * 
@@ -709,6 +791,8 @@ public Builder removeIssueModels(int index) { return this; } /** + * + * *
      * The issue models that match the request.
      * 
@@ -720,6 +804,8 @@ public com.google.cloud.contactcenterinsights.v1.IssueModel.Builder getIssueMode return getIssueModelsFieldBuilder().getBuilder(index); } /** + * + * *
      * The issue models that match the request.
      * 
@@ -729,19 +815,22 @@ public com.google.cloud.contactcenterinsights.v1.IssueModel.Builder getIssueMode public com.google.cloud.contactcenterinsights.v1.IssueModelOrBuilder getIssueModelsOrBuilder( int index) { if (issueModelsBuilder_ == null) { - return issueModels_.get(index); } else { + return issueModels_.get(index); + } else { return issueModelsBuilder_.getMessageOrBuilder(index); } } /** + * + * *
      * The issue models that match the request.
      * 
* * repeated .google.cloud.contactcenterinsights.v1.IssueModel issue_models = 1; */ - public java.util.List - getIssueModelsOrBuilderList() { + public java.util.List + getIssueModelsOrBuilderList() { if (issueModelsBuilder_ != null) { return issueModelsBuilder_.getMessageOrBuilderList(); } else { @@ -749,6 +838,8 @@ public com.google.cloud.contactcenterinsights.v1.IssueModelOrBuilder getIssueMod } } /** + * + * *
      * The issue models that match the request.
      * 
@@ -756,10 +847,12 @@ public com.google.cloud.contactcenterinsights.v1.IssueModelOrBuilder getIssueMod * repeated .google.cloud.contactcenterinsights.v1.IssueModel issue_models = 1; */ public com.google.cloud.contactcenterinsights.v1.IssueModel.Builder addIssueModelsBuilder() { - return getIssueModelsFieldBuilder().addBuilder( - com.google.cloud.contactcenterinsights.v1.IssueModel.getDefaultInstance()); + return getIssueModelsFieldBuilder() + .addBuilder(com.google.cloud.contactcenterinsights.v1.IssueModel.getDefaultInstance()); } /** + * + * *
      * The issue models that match the request.
      * 
@@ -768,37 +861,43 @@ public com.google.cloud.contactcenterinsights.v1.IssueModel.Builder addIssueMode */ public com.google.cloud.contactcenterinsights.v1.IssueModel.Builder addIssueModelsBuilder( int index) { - return getIssueModelsFieldBuilder().addBuilder( - index, com.google.cloud.contactcenterinsights.v1.IssueModel.getDefaultInstance()); + return getIssueModelsFieldBuilder() + .addBuilder( + index, com.google.cloud.contactcenterinsights.v1.IssueModel.getDefaultInstance()); } /** + * + * *
      * The issue models that match the request.
      * 
* * repeated .google.cloud.contactcenterinsights.v1.IssueModel issue_models = 1; */ - public java.util.List - getIssueModelsBuilderList() { + public java.util.List + getIssueModelsBuilderList() { return getIssueModelsFieldBuilder().getBuilderList(); } + private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.contactcenterinsights.v1.IssueModel, com.google.cloud.contactcenterinsights.v1.IssueModel.Builder, com.google.cloud.contactcenterinsights.v1.IssueModelOrBuilder> + com.google.cloud.contactcenterinsights.v1.IssueModel, + com.google.cloud.contactcenterinsights.v1.IssueModel.Builder, + com.google.cloud.contactcenterinsights.v1.IssueModelOrBuilder> getIssueModelsFieldBuilder() { if (issueModelsBuilder_ == null) { - issueModelsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.contactcenterinsights.v1.IssueModel, com.google.cloud.contactcenterinsights.v1.IssueModel.Builder, com.google.cloud.contactcenterinsights.v1.IssueModelOrBuilder>( - issueModels_, - ((bitField0_ & 0x00000001) != 0), - getParentForChildren(), - isClean()); + issueModelsBuilder_ = + new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.contactcenterinsights.v1.IssueModel, + com.google.cloud.contactcenterinsights.v1.IssueModel.Builder, + com.google.cloud.contactcenterinsights.v1.IssueModelOrBuilder>( + issueModels_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); issueModels_ = null; } return issueModelsBuilder_; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -808,41 +907,43 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.contactcenterinsights.v1.ListIssueModelsResponse) } // @@protoc_insertion_point(class_scope:google.cloud.contactcenterinsights.v1.ListIssueModelsResponse) - private static final com.google.cloud.contactcenterinsights.v1.ListIssueModelsResponse DEFAULT_INSTANCE; + private static final com.google.cloud.contactcenterinsights.v1.ListIssueModelsResponse + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.contactcenterinsights.v1.ListIssueModelsResponse(); } - public static com.google.cloud.contactcenterinsights.v1.ListIssueModelsResponse getDefaultInstance() { + public static com.google.cloud.contactcenterinsights.v1.ListIssueModelsResponse + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListIssueModelsResponse parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListIssueModelsResponse parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -854,9 +955,8 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.cloud.contactcenterinsights.v1.ListIssueModelsResponse getDefaultInstanceForType() { + public com.google.cloud.contactcenterinsights.v1.ListIssueModelsResponse + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ListIssueModelsResponseOrBuilder.java b/java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ListIssueModelsResponseOrBuilder.java similarity index 66% rename from owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ListIssueModelsResponseOrBuilder.java rename to java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ListIssueModelsResponseOrBuilder.java index 103f31aa0902..283c886385af 100644 --- a/owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ListIssueModelsResponseOrBuilder.java +++ b/java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ListIssueModelsResponseOrBuilder.java @@ -1,22 +1,41 @@ +/* + * 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. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/contactcenterinsights/v1/contact_center_insights.proto package com.google.cloud.contactcenterinsights.v1; -public interface ListIssueModelsResponseOrBuilder extends +public interface ListIssueModelsResponseOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.contactcenterinsights.v1.ListIssueModelsResponse) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * The issue models that match the request.
    * 
* * repeated .google.cloud.contactcenterinsights.v1.IssueModel issue_models = 1; */ - java.util.List - getIssueModelsList(); + java.util.List getIssueModelsList(); /** + * + * *
    * The issue models that match the request.
    * 
@@ -25,6 +44,8 @@ public interface ListIssueModelsResponseOrBuilder extends */ com.google.cloud.contactcenterinsights.v1.IssueModel getIssueModels(int index); /** + * + * *
    * The issue models that match the request.
    * 
@@ -33,21 +54,24 @@ public interface ListIssueModelsResponseOrBuilder extends */ int getIssueModelsCount(); /** + * + * *
    * The issue models that match the request.
    * 
* * repeated .google.cloud.contactcenterinsights.v1.IssueModel issue_models = 1; */ - java.util.List + java.util.List getIssueModelsOrBuilderList(); /** + * + * *
    * The issue models that match the request.
    * 
* * repeated .google.cloud.contactcenterinsights.v1.IssueModel issue_models = 1; */ - com.google.cloud.contactcenterinsights.v1.IssueModelOrBuilder getIssueModelsOrBuilder( - int index); + com.google.cloud.contactcenterinsights.v1.IssueModelOrBuilder getIssueModelsOrBuilder(int index); } diff --git a/owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ListIssuesRequest.java b/java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ListIssuesRequest.java similarity index 62% rename from owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ListIssuesRequest.java rename to java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ListIssuesRequest.java index 36c272f3c0ae..7effecdd2bbc 100644 --- a/owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ListIssuesRequest.java +++ b/java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ListIssuesRequest.java @@ -1,62 +1,87 @@ +/* + * 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. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/contactcenterinsights/v1/contact_center_insights.proto package com.google.cloud.contactcenterinsights.v1; /** + * + * *
  * Request to list issues.
  * 
* * Protobuf type {@code google.cloud.contactcenterinsights.v1.ListIssuesRequest} */ -public final class ListIssuesRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class ListIssuesRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.contactcenterinsights.v1.ListIssuesRequest) ListIssuesRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use ListIssuesRequest.newBuilder() to construct. private ListIssuesRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private ListIssuesRequest() { parent_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ListIssuesRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto.internal_static_google_cloud_contactcenterinsights_v1_ListIssuesRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto + .internal_static_google_cloud_contactcenterinsights_v1_ListIssuesRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto.internal_static_google_cloud_contactcenterinsights_v1_ListIssuesRequest_fieldAccessorTable + return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto + .internal_static_google_cloud_contactcenterinsights_v1_ListIssuesRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.contactcenterinsights.v1.ListIssuesRequest.class, com.google.cloud.contactcenterinsights.v1.ListIssuesRequest.Builder.class); + com.google.cloud.contactcenterinsights.v1.ListIssuesRequest.class, + com.google.cloud.contactcenterinsights.v1.ListIssuesRequest.Builder.class); } public static final int PARENT_FIELD_NUMBER = 1; + @SuppressWarnings("serial") private volatile java.lang.Object parent_ = ""; /** + * + * *
    * Required. The parent resource of the issue.
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The parent. */ @java.lang.Override @@ -65,29 +90,31 @@ public java.lang.String getParent() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; } } /** + * + * *
    * Required. The parent resource of the issue.
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for parent. */ @java.lang.Override - public com.google.protobuf.ByteString - getParentBytes() { + public com.google.protobuf.ByteString getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); parent_ = b; return b; } else { @@ -96,6 +123,7 @@ public java.lang.String getParent() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -107,8 +135,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); } @@ -132,15 +159,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.contactcenterinsights.v1.ListIssuesRequest)) { return super.equals(obj); } - com.google.cloud.contactcenterinsights.v1.ListIssuesRequest other = (com.google.cloud.contactcenterinsights.v1.ListIssuesRequest) obj; + com.google.cloud.contactcenterinsights.v1.ListIssuesRequest other = + (com.google.cloud.contactcenterinsights.v1.ListIssuesRequest) obj; - if (!getParent() - .equals(other.getParent())) return false; + if (!getParent().equals(other.getParent())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -160,129 +187,136 @@ public int hashCode() { } public static com.google.cloud.contactcenterinsights.v1.ListIssuesRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.contactcenterinsights.v1.ListIssuesRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.contactcenterinsights.v1.ListIssuesRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.contactcenterinsights.v1.ListIssuesRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.contactcenterinsights.v1.ListIssuesRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.contactcenterinsights.v1.ListIssuesRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.contactcenterinsights.v1.ListIssuesRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.contactcenterinsights.v1.ListIssuesRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.contactcenterinsights.v1.ListIssuesRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.contactcenterinsights.v1.ListIssuesRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.contactcenterinsights.v1.ListIssuesRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.contactcenterinsights.v1.ListIssuesRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.contactcenterinsights.v1.ListIssuesRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.contactcenterinsights.v1.ListIssuesRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.contactcenterinsights.v1.ListIssuesRequest prototype) { + + public static Builder newBuilder( + com.google.cloud.contactcenterinsights.v1.ListIssuesRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Request to list issues.
    * 
* * Protobuf type {@code google.cloud.contactcenterinsights.v1.ListIssuesRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.contactcenterinsights.v1.ListIssuesRequest) com.google.cloud.contactcenterinsights.v1.ListIssuesRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto.internal_static_google_cloud_contactcenterinsights_v1_ListIssuesRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto + .internal_static_google_cloud_contactcenterinsights_v1_ListIssuesRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto.internal_static_google_cloud_contactcenterinsights_v1_ListIssuesRequest_fieldAccessorTable + return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto + .internal_static_google_cloud_contactcenterinsights_v1_ListIssuesRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.contactcenterinsights.v1.ListIssuesRequest.class, com.google.cloud.contactcenterinsights.v1.ListIssuesRequest.Builder.class); + com.google.cloud.contactcenterinsights.v1.ListIssuesRequest.class, + com.google.cloud.contactcenterinsights.v1.ListIssuesRequest.Builder.class); } // Construct using com.google.cloud.contactcenterinsights.v1.ListIssuesRequest.newBuilder() - private Builder() { + private Builder() {} - } - - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -292,9 +326,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto.internal_static_google_cloud_contactcenterinsights_v1_ListIssuesRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto + .internal_static_google_cloud_contactcenterinsights_v1_ListIssuesRequest_descriptor; } @java.lang.Override @@ -313,8 +347,11 @@ public com.google.cloud.contactcenterinsights.v1.ListIssuesRequest build() { @java.lang.Override public com.google.cloud.contactcenterinsights.v1.ListIssuesRequest buildPartial() { - com.google.cloud.contactcenterinsights.v1.ListIssuesRequest result = new com.google.cloud.contactcenterinsights.v1.ListIssuesRequest(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.cloud.contactcenterinsights.v1.ListIssuesRequest result = + new com.google.cloud.contactcenterinsights.v1.ListIssuesRequest(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } @@ -330,38 +367,39 @@ private void buildPartial0(com.google.cloud.contactcenterinsights.v1.ListIssuesR public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.contactcenterinsights.v1.ListIssuesRequest) { - return mergeFrom((com.google.cloud.contactcenterinsights.v1.ListIssuesRequest)other); + return mergeFrom((com.google.cloud.contactcenterinsights.v1.ListIssuesRequest) other); } else { super.mergeFrom(other); return this; @@ -369,7 +407,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.contactcenterinsights.v1.ListIssuesRequest other) { - if (other == com.google.cloud.contactcenterinsights.v1.ListIssuesRequest.getDefaultInstance()) return this; + if (other == com.google.cloud.contactcenterinsights.v1.ListIssuesRequest.getDefaultInstance()) + return this; if (!other.getParent().isEmpty()) { parent_ = other.parent_; bitField0_ |= 0x00000001; @@ -401,17 +440,19 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - parent_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + parent_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -421,22 +462,27 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private java.lang.Object parent_ = ""; /** + * + * *
      * Required. The parent resource of the issue.
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The parent. */ public java.lang.String getParent() { java.lang.Object ref = parent_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; @@ -445,20 +491,23 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. The parent resource of the issue.
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for parent. */ - public com.google.protobuf.ByteString - getParentBytes() { + public com.google.protobuf.ByteString getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); parent_ = b; return b; } else { @@ -466,28 +515,39 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. The parent resource of the issue.
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The parent to set. * @return This builder for chaining. */ - public Builder setParent( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setParent(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } parent_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
      * Required. The parent resource of the issue.
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return This builder for chaining. */ public Builder clearParent() { @@ -497,26 +557,32 @@ public Builder clearParent() { return this; } /** + * + * *
      * Required. The parent resource of the issue.
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setParentBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); parent_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -526,12 +592,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.contactcenterinsights.v1.ListIssuesRequest) } // @@protoc_insertion_point(class_scope:google.cloud.contactcenterinsights.v1.ListIssuesRequest) private static final com.google.cloud.contactcenterinsights.v1.ListIssuesRequest DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.contactcenterinsights.v1.ListIssuesRequest(); } @@ -540,27 +606,27 @@ public static com.google.cloud.contactcenterinsights.v1.ListIssuesRequest getDef return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListIssuesRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListIssuesRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -575,6 +641,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.contactcenterinsights.v1.ListIssuesRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ListIssuesRequestOrBuilder.java b/java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ListIssuesRequestOrBuilder.java new file mode 100644 index 000000000000..3585c15e817d --- /dev/null +++ b/java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ListIssuesRequestOrBuilder.java @@ -0,0 +1,54 @@ +/* + * 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. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/contactcenterinsights/v1/contact_center_insights.proto + +package com.google.cloud.contactcenterinsights.v1; + +public interface ListIssuesRequestOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.cloud.contactcenterinsights.v1.ListIssuesRequest) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * Required. The parent resource of the issue.
+   * 
+ * + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The parent. + */ + java.lang.String getParent(); + /** + * + * + *
+   * Required. The parent resource of the issue.
+   * 
+ * + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The bytes for parent. + */ + com.google.protobuf.ByteString getParentBytes(); +} diff --git a/owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ListIssuesResponse.java b/java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ListIssuesResponse.java similarity index 69% rename from owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ListIssuesResponse.java rename to java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ListIssuesResponse.java index 2b6a296391f6..b991899534d5 100644 --- a/owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ListIssuesResponse.java +++ b/java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ListIssuesResponse.java @@ -1,57 +1,79 @@ +/* + * 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. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/contactcenterinsights/v1/contact_center_insights.proto package com.google.cloud.contactcenterinsights.v1; /** + * + * *
  * The response of listing issues.
  * 
* * Protobuf type {@code google.cloud.contactcenterinsights.v1.ListIssuesResponse} */ -public final class ListIssuesResponse extends - com.google.protobuf.GeneratedMessageV3 implements +public final class ListIssuesResponse extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.contactcenterinsights.v1.ListIssuesResponse) ListIssuesResponseOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use ListIssuesResponse.newBuilder() to construct. private ListIssuesResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private ListIssuesResponse() { issues_ = java.util.Collections.emptyList(); } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ListIssuesResponse(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto.internal_static_google_cloud_contactcenterinsights_v1_ListIssuesResponse_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto + .internal_static_google_cloud_contactcenterinsights_v1_ListIssuesResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto.internal_static_google_cloud_contactcenterinsights_v1_ListIssuesResponse_fieldAccessorTable + return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto + .internal_static_google_cloud_contactcenterinsights_v1_ListIssuesResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.contactcenterinsights.v1.ListIssuesResponse.class, com.google.cloud.contactcenterinsights.v1.ListIssuesResponse.Builder.class); + com.google.cloud.contactcenterinsights.v1.ListIssuesResponse.class, + com.google.cloud.contactcenterinsights.v1.ListIssuesResponse.Builder.class); } public static final int ISSUES_FIELD_NUMBER = 1; + @SuppressWarnings("serial") private java.util.List issues_; /** + * + * *
    * The issues that match the request.
    * 
@@ -63,6 +85,8 @@ public java.util.List getIssues return issues_; } /** + * + * *
    * The issues that match the request.
    * 
@@ -70,11 +94,13 @@ public java.util.List getIssues * repeated .google.cloud.contactcenterinsights.v1.Issue issues = 1; */ @java.lang.Override - public java.util.List + public java.util.List getIssuesOrBuilderList() { return issues_; } /** + * + * *
    * The issues that match the request.
    * 
@@ -86,6 +112,8 @@ public int getIssuesCount() { return issues_.size(); } /** + * + * *
    * The issues that match the request.
    * 
@@ -97,6 +125,8 @@ public com.google.cloud.contactcenterinsights.v1.Issue getIssues(int index) { return issues_.get(index); } /** + * + * *
    * The issues that match the request.
    * 
@@ -104,12 +134,12 @@ public com.google.cloud.contactcenterinsights.v1.Issue getIssues(int index) { * repeated .google.cloud.contactcenterinsights.v1.Issue issues = 1; */ @java.lang.Override - public com.google.cloud.contactcenterinsights.v1.IssueOrBuilder getIssuesOrBuilder( - int index) { + public com.google.cloud.contactcenterinsights.v1.IssueOrBuilder getIssuesOrBuilder(int index) { return issues_.get(index); } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -121,8 +151,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { for (int i = 0; i < issues_.size(); i++) { output.writeMessage(1, issues_.get(i)); } @@ -136,8 +165,7 @@ public int getSerializedSize() { size = 0; for (int i = 0; i < issues_.size(); i++) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, issues_.get(i)); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, issues_.get(i)); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -147,15 +175,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.contactcenterinsights.v1.ListIssuesResponse)) { return super.equals(obj); } - com.google.cloud.contactcenterinsights.v1.ListIssuesResponse other = (com.google.cloud.contactcenterinsights.v1.ListIssuesResponse) obj; + com.google.cloud.contactcenterinsights.v1.ListIssuesResponse other = + (com.google.cloud.contactcenterinsights.v1.ListIssuesResponse) obj; - if (!getIssuesList() - .equals(other.getIssuesList())) return false; + if (!getIssuesList().equals(other.getIssuesList())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -177,129 +205,136 @@ public int hashCode() { } public static com.google.cloud.contactcenterinsights.v1.ListIssuesResponse parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.contactcenterinsights.v1.ListIssuesResponse parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.contactcenterinsights.v1.ListIssuesResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.contactcenterinsights.v1.ListIssuesResponse parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.contactcenterinsights.v1.ListIssuesResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.contactcenterinsights.v1.ListIssuesResponse parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.contactcenterinsights.v1.ListIssuesResponse parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.contactcenterinsights.v1.ListIssuesResponse parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.contactcenterinsights.v1.ListIssuesResponse parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.contactcenterinsights.v1.ListIssuesResponse parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.contactcenterinsights.v1.ListIssuesResponse parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.contactcenterinsights.v1.ListIssuesResponse parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.contactcenterinsights.v1.ListIssuesResponse parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.contactcenterinsights.v1.ListIssuesResponse parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.contactcenterinsights.v1.ListIssuesResponse prototype) { + + public static Builder newBuilder( + com.google.cloud.contactcenterinsights.v1.ListIssuesResponse prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * The response of listing issues.
    * 
* * Protobuf type {@code google.cloud.contactcenterinsights.v1.ListIssuesResponse} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.contactcenterinsights.v1.ListIssuesResponse) com.google.cloud.contactcenterinsights.v1.ListIssuesResponseOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto.internal_static_google_cloud_contactcenterinsights_v1_ListIssuesResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto + .internal_static_google_cloud_contactcenterinsights_v1_ListIssuesResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto.internal_static_google_cloud_contactcenterinsights_v1_ListIssuesResponse_fieldAccessorTable + return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto + .internal_static_google_cloud_contactcenterinsights_v1_ListIssuesResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.contactcenterinsights.v1.ListIssuesResponse.class, com.google.cloud.contactcenterinsights.v1.ListIssuesResponse.Builder.class); + com.google.cloud.contactcenterinsights.v1.ListIssuesResponse.class, + com.google.cloud.contactcenterinsights.v1.ListIssuesResponse.Builder.class); } // Construct using com.google.cloud.contactcenterinsights.v1.ListIssuesResponse.newBuilder() - private Builder() { - - } + private Builder() {} - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -315,13 +350,14 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto.internal_static_google_cloud_contactcenterinsights_v1_ListIssuesResponse_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto + .internal_static_google_cloud_contactcenterinsights_v1_ListIssuesResponse_descriptor; } @java.lang.Override - public com.google.cloud.contactcenterinsights.v1.ListIssuesResponse getDefaultInstanceForType() { + public com.google.cloud.contactcenterinsights.v1.ListIssuesResponse + getDefaultInstanceForType() { return com.google.cloud.contactcenterinsights.v1.ListIssuesResponse.getDefaultInstance(); } @@ -336,14 +372,18 @@ public com.google.cloud.contactcenterinsights.v1.ListIssuesResponse build() { @java.lang.Override public com.google.cloud.contactcenterinsights.v1.ListIssuesResponse buildPartial() { - com.google.cloud.contactcenterinsights.v1.ListIssuesResponse result = new com.google.cloud.contactcenterinsights.v1.ListIssuesResponse(this); + com.google.cloud.contactcenterinsights.v1.ListIssuesResponse result = + new com.google.cloud.contactcenterinsights.v1.ListIssuesResponse(this); buildPartialRepeatedFields(result); - if (bitField0_ != 0) { buildPartial0(result); } + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } - private void buildPartialRepeatedFields(com.google.cloud.contactcenterinsights.v1.ListIssuesResponse result) { + private void buildPartialRepeatedFields( + com.google.cloud.contactcenterinsights.v1.ListIssuesResponse result) { if (issuesBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { issues_ = java.util.Collections.unmodifiableList(issues_); @@ -355,7 +395,8 @@ private void buildPartialRepeatedFields(com.google.cloud.contactcenterinsights.v } } - private void buildPartial0(com.google.cloud.contactcenterinsights.v1.ListIssuesResponse result) { + private void buildPartial0( + com.google.cloud.contactcenterinsights.v1.ListIssuesResponse result) { int from_bitField0_ = bitField0_; } @@ -363,38 +404,39 @@ private void buildPartial0(com.google.cloud.contactcenterinsights.v1.ListIssuesR public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.contactcenterinsights.v1.ListIssuesResponse) { - return mergeFrom((com.google.cloud.contactcenterinsights.v1.ListIssuesResponse)other); + return mergeFrom((com.google.cloud.contactcenterinsights.v1.ListIssuesResponse) other); } else { super.mergeFrom(other); return this; @@ -402,7 +444,9 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.contactcenterinsights.v1.ListIssuesResponse other) { - if (other == com.google.cloud.contactcenterinsights.v1.ListIssuesResponse.getDefaultInstance()) return this; + if (other + == com.google.cloud.contactcenterinsights.v1.ListIssuesResponse.getDefaultInstance()) + return this; if (issuesBuilder_ == null) { if (!other.issues_.isEmpty()) { if (issues_.isEmpty()) { @@ -421,9 +465,10 @@ public Builder mergeFrom(com.google.cloud.contactcenterinsights.v1.ListIssuesRes issuesBuilder_ = null; issues_ = other.issues_; bitField0_ = (bitField0_ & ~0x00000001); - issuesBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? - getIssuesFieldBuilder() : null; + issuesBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders + ? getIssuesFieldBuilder() + : null; } else { issuesBuilder_.addAllMessages(other.issues_); } @@ -455,25 +500,27 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - com.google.cloud.contactcenterinsights.v1.Issue m = - input.readMessage( - com.google.cloud.contactcenterinsights.v1.Issue.parser(), - extensionRegistry); - if (issuesBuilder_ == null) { - ensureIssuesIsMutable(); - issues_.add(m); - } else { - issuesBuilder_.addMessage(m); - } - break; - } // case 10 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + com.google.cloud.contactcenterinsights.v1.Issue m = + input.readMessage( + com.google.cloud.contactcenterinsights.v1.Issue.parser(), + extensionRegistry); + if (issuesBuilder_ == null) { + ensureIssuesIsMutable(); + issues_.add(m); + } else { + issuesBuilder_.addMessage(m); + } + break; + } // case 10 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -483,21 +530,28 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private java.util.List issues_ = - java.util.Collections.emptyList(); + java.util.Collections.emptyList(); + private void ensureIssuesIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { issues_ = new java.util.ArrayList(issues_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.contactcenterinsights.v1.Issue, com.google.cloud.contactcenterinsights.v1.Issue.Builder, com.google.cloud.contactcenterinsights.v1.IssueOrBuilder> issuesBuilder_; + com.google.cloud.contactcenterinsights.v1.Issue, + com.google.cloud.contactcenterinsights.v1.Issue.Builder, + com.google.cloud.contactcenterinsights.v1.IssueOrBuilder> + issuesBuilder_; /** + * + * *
      * The issues that match the request.
      * 
@@ -512,6 +566,8 @@ public java.util.List getIssues } } /** + * + * *
      * The issues that match the request.
      * 
@@ -526,6 +582,8 @@ public int getIssuesCount() { } } /** + * + * *
      * The issues that match the request.
      * 
@@ -540,14 +598,15 @@ public com.google.cloud.contactcenterinsights.v1.Issue getIssues(int index) { } } /** + * + * *
      * The issues that match the request.
      * 
* * repeated .google.cloud.contactcenterinsights.v1.Issue issues = 1; */ - public Builder setIssues( - int index, com.google.cloud.contactcenterinsights.v1.Issue value) { + public Builder setIssues(int index, com.google.cloud.contactcenterinsights.v1.Issue value) { if (issuesBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -561,6 +620,8 @@ public Builder setIssues( return this; } /** + * + * *
      * The issues that match the request.
      * 
@@ -579,6 +640,8 @@ public Builder setIssues( return this; } /** + * + * *
      * The issues that match the request.
      * 
@@ -599,14 +662,15 @@ public Builder addIssues(com.google.cloud.contactcenterinsights.v1.Issue value) return this; } /** + * + * *
      * The issues that match the request.
      * 
* * repeated .google.cloud.contactcenterinsights.v1.Issue issues = 1; */ - public Builder addIssues( - int index, com.google.cloud.contactcenterinsights.v1.Issue value) { + public Builder addIssues(int index, com.google.cloud.contactcenterinsights.v1.Issue value) { if (issuesBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -620,6 +684,8 @@ public Builder addIssues( return this; } /** + * + * *
      * The issues that match the request.
      * 
@@ -638,6 +704,8 @@ public Builder addIssues( return this; } /** + * + * *
      * The issues that match the request.
      * 
@@ -656,6 +724,8 @@ public Builder addIssues( return this; } /** + * + * *
      * The issues that match the request.
      * 
@@ -666,8 +736,7 @@ public Builder addAllIssues( java.lang.Iterable values) { if (issuesBuilder_ == null) { ensureIssuesIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, issues_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, issues_); onChanged(); } else { issuesBuilder_.addAllMessages(values); @@ -675,6 +744,8 @@ public Builder addAllIssues( return this; } /** + * + * *
      * The issues that match the request.
      * 
@@ -692,6 +763,8 @@ public Builder clearIssues() { return this; } /** + * + * *
      * The issues that match the request.
      * 
@@ -709,39 +782,44 @@ public Builder removeIssues(int index) { return this; } /** + * + * *
      * The issues that match the request.
      * 
* * repeated .google.cloud.contactcenterinsights.v1.Issue issues = 1; */ - public com.google.cloud.contactcenterinsights.v1.Issue.Builder getIssuesBuilder( - int index) { + public com.google.cloud.contactcenterinsights.v1.Issue.Builder getIssuesBuilder(int index) { return getIssuesFieldBuilder().getBuilder(index); } /** + * + * *
      * The issues that match the request.
      * 
* * repeated .google.cloud.contactcenterinsights.v1.Issue issues = 1; */ - public com.google.cloud.contactcenterinsights.v1.IssueOrBuilder getIssuesOrBuilder( - int index) { + public com.google.cloud.contactcenterinsights.v1.IssueOrBuilder getIssuesOrBuilder(int index) { if (issuesBuilder_ == null) { - return issues_.get(index); } else { + return issues_.get(index); + } else { return issuesBuilder_.getMessageOrBuilder(index); } } /** + * + * *
      * The issues that match the request.
      * 
* * repeated .google.cloud.contactcenterinsights.v1.Issue issues = 1; */ - public java.util.List - getIssuesOrBuilderList() { + public java.util.List + getIssuesOrBuilderList() { if (issuesBuilder_ != null) { return issuesBuilder_.getMessageOrBuilderList(); } else { @@ -749,6 +827,8 @@ public com.google.cloud.contactcenterinsights.v1.IssueOrBuilder getIssuesOrBuild } } /** + * + * *
      * The issues that match the request.
      * 
@@ -756,49 +836,55 @@ public com.google.cloud.contactcenterinsights.v1.IssueOrBuilder getIssuesOrBuild * repeated .google.cloud.contactcenterinsights.v1.Issue issues = 1; */ public com.google.cloud.contactcenterinsights.v1.Issue.Builder addIssuesBuilder() { - return getIssuesFieldBuilder().addBuilder( - com.google.cloud.contactcenterinsights.v1.Issue.getDefaultInstance()); + return getIssuesFieldBuilder() + .addBuilder(com.google.cloud.contactcenterinsights.v1.Issue.getDefaultInstance()); } /** + * + * *
      * The issues that match the request.
      * 
* * repeated .google.cloud.contactcenterinsights.v1.Issue issues = 1; */ - public com.google.cloud.contactcenterinsights.v1.Issue.Builder addIssuesBuilder( - int index) { - return getIssuesFieldBuilder().addBuilder( - index, com.google.cloud.contactcenterinsights.v1.Issue.getDefaultInstance()); + public com.google.cloud.contactcenterinsights.v1.Issue.Builder addIssuesBuilder(int index) { + return getIssuesFieldBuilder() + .addBuilder(index, com.google.cloud.contactcenterinsights.v1.Issue.getDefaultInstance()); } /** + * + * *
      * The issues that match the request.
      * 
* * repeated .google.cloud.contactcenterinsights.v1.Issue issues = 1; */ - public java.util.List - getIssuesBuilderList() { + public java.util.List + getIssuesBuilderList() { return getIssuesFieldBuilder().getBuilderList(); } + private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.contactcenterinsights.v1.Issue, com.google.cloud.contactcenterinsights.v1.Issue.Builder, com.google.cloud.contactcenterinsights.v1.IssueOrBuilder> + com.google.cloud.contactcenterinsights.v1.Issue, + com.google.cloud.contactcenterinsights.v1.Issue.Builder, + com.google.cloud.contactcenterinsights.v1.IssueOrBuilder> getIssuesFieldBuilder() { if (issuesBuilder_ == null) { - issuesBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.contactcenterinsights.v1.Issue, com.google.cloud.contactcenterinsights.v1.Issue.Builder, com.google.cloud.contactcenterinsights.v1.IssueOrBuilder>( - issues_, - ((bitField0_ & 0x00000001) != 0), - getParentForChildren(), - isClean()); + issuesBuilder_ = + new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.contactcenterinsights.v1.Issue, + com.google.cloud.contactcenterinsights.v1.Issue.Builder, + com.google.cloud.contactcenterinsights.v1.IssueOrBuilder>( + issues_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); issues_ = null; } return issuesBuilder_; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -808,12 +894,13 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.contactcenterinsights.v1.ListIssuesResponse) } // @@protoc_insertion_point(class_scope:google.cloud.contactcenterinsights.v1.ListIssuesResponse) - private static final com.google.cloud.contactcenterinsights.v1.ListIssuesResponse DEFAULT_INSTANCE; + private static final com.google.cloud.contactcenterinsights.v1.ListIssuesResponse + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.contactcenterinsights.v1.ListIssuesResponse(); } @@ -822,27 +909,27 @@ public static com.google.cloud.contactcenterinsights.v1.ListIssuesResponse getDe return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListIssuesResponse parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListIssuesResponse parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -857,6 +944,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.contactcenterinsights.v1.ListIssuesResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ListIssuesResponseOrBuilder.java b/java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ListIssuesResponseOrBuilder.java similarity index 65% rename from owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ListIssuesResponseOrBuilder.java rename to java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ListIssuesResponseOrBuilder.java index 47d11797af37..11fb517fc21c 100644 --- a/owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ListIssuesResponseOrBuilder.java +++ b/java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ListIssuesResponseOrBuilder.java @@ -1,22 +1,41 @@ +/* + * 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. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/contactcenterinsights/v1/contact_center_insights.proto package com.google.cloud.contactcenterinsights.v1; -public interface ListIssuesResponseOrBuilder extends +public interface ListIssuesResponseOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.contactcenterinsights.v1.ListIssuesResponse) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * The issues that match the request.
    * 
* * repeated .google.cloud.contactcenterinsights.v1.Issue issues = 1; */ - java.util.List - getIssuesList(); + java.util.List getIssuesList(); /** + * + * *
    * The issues that match the request.
    * 
@@ -25,6 +44,8 @@ public interface ListIssuesResponseOrBuilder extends */ com.google.cloud.contactcenterinsights.v1.Issue getIssues(int index); /** + * + * *
    * The issues that match the request.
    * 
@@ -33,21 +54,24 @@ public interface ListIssuesResponseOrBuilder extends */ int getIssuesCount(); /** + * + * *
    * The issues that match the request.
    * 
* * repeated .google.cloud.contactcenterinsights.v1.Issue issues = 1; */ - java.util.List + java.util.List getIssuesOrBuilderList(); /** + * + * *
    * The issues that match the request.
    * 
* * repeated .google.cloud.contactcenterinsights.v1.Issue issues = 1; */ - com.google.cloud.contactcenterinsights.v1.IssueOrBuilder getIssuesOrBuilder( - int index); + com.google.cloud.contactcenterinsights.v1.IssueOrBuilder getIssuesOrBuilder(int index); } diff --git a/owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ListPhraseMatchersRequest.java b/java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ListPhraseMatchersRequest.java similarity index 67% rename from owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ListPhraseMatchersRequest.java rename to java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ListPhraseMatchersRequest.java index e36c1cae1789..8b3dab132c18 100644 --- a/owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ListPhraseMatchersRequest.java +++ b/java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ListPhraseMatchersRequest.java @@ -1,24 +1,42 @@ +/* + * 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. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/contactcenterinsights/v1/contact_center_insights.proto package com.google.cloud.contactcenterinsights.v1; /** + * + * *
  * Request to list phrase matchers.
  * 
* * Protobuf type {@code google.cloud.contactcenterinsights.v1.ListPhraseMatchersRequest} */ -public final class ListPhraseMatchersRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class ListPhraseMatchersRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.contactcenterinsights.v1.ListPhraseMatchersRequest) ListPhraseMatchersRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use ListPhraseMatchersRequest.newBuilder() to construct. private ListPhraseMatchersRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private ListPhraseMatchersRequest() { parent_ = ""; pageToken_ = ""; @@ -27,38 +45,45 @@ private ListPhraseMatchersRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ListPhraseMatchersRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto.internal_static_google_cloud_contactcenterinsights_v1_ListPhraseMatchersRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto + .internal_static_google_cloud_contactcenterinsights_v1_ListPhraseMatchersRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto.internal_static_google_cloud_contactcenterinsights_v1_ListPhraseMatchersRequest_fieldAccessorTable + return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto + .internal_static_google_cloud_contactcenterinsights_v1_ListPhraseMatchersRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.contactcenterinsights.v1.ListPhraseMatchersRequest.class, com.google.cloud.contactcenterinsights.v1.ListPhraseMatchersRequest.Builder.class); + com.google.cloud.contactcenterinsights.v1.ListPhraseMatchersRequest.class, + com.google.cloud.contactcenterinsights.v1.ListPhraseMatchersRequest.Builder.class); } public static final int PARENT_FIELD_NUMBER = 1; + @SuppressWarnings("serial") private volatile java.lang.Object parent_ = ""; /** + * + * *
    * Required. The parent resource of the phrase matcher.
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The parent. */ @java.lang.Override @@ -67,29 +92,31 @@ public java.lang.String getParent() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; } } /** + * + * *
    * Required. The parent resource of the phrase matcher.
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for parent. */ @java.lang.Override - public com.google.protobuf.ByteString - getParentBytes() { + public com.google.protobuf.ByteString getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); parent_ = b; return b; } else { @@ -100,6 +127,8 @@ public java.lang.String getParent() { public static final int PAGE_SIZE_FIELD_NUMBER = 2; private int pageSize_ = 0; /** + * + * *
    * The maximum number of phrase matchers to return in the response. If this
    * value is zero, the service will select a default size. A call might return
@@ -108,6 +137,7 @@ public java.lang.String getParent() {
    * 
* * int32 page_size = 2; + * * @return The pageSize. */ @java.lang.Override @@ -116,9 +146,12 @@ public int getPageSize() { } public static final int PAGE_TOKEN_FIELD_NUMBER = 3; + @SuppressWarnings("serial") private volatile java.lang.Object pageToken_ = ""; /** + * + * *
    * The value returned by the last `ListPhraseMatchersResponse`. This value
    * indicates that this is a continuation of a prior `ListPhraseMatchers` call
@@ -126,6 +159,7 @@ public int getPageSize() {
    * 
* * string page_token = 3; + * * @return The pageToken. */ @java.lang.Override @@ -134,14 +168,15 @@ public java.lang.String getPageToken() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); pageToken_ = s; return s; } } /** + * + * *
    * The value returned by the last `ListPhraseMatchersResponse`. This value
    * indicates that this is a continuation of a prior `ListPhraseMatchers` call
@@ -149,16 +184,15 @@ public java.lang.String getPageToken() {
    * 
* * string page_token = 3; + * * @return The bytes for pageToken. */ @java.lang.Override - public com.google.protobuf.ByteString - getPageTokenBytes() { + public com.google.protobuf.ByteString getPageTokenBytes() { java.lang.Object ref = pageToken_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); pageToken_ = b; return b; } else { @@ -167,15 +201,19 @@ public java.lang.String getPageToken() { } public static final int FILTER_FIELD_NUMBER = 4; + @SuppressWarnings("serial") private volatile java.lang.Object filter_ = ""; /** + * + * *
    * A filter to reduce results to a specific subset. Useful for querying
    * phrase matchers with specific properties.
    * 
* * string filter = 4; + * * @return The filter. */ @java.lang.Override @@ -184,30 +222,30 @@ public java.lang.String getFilter() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); filter_ = s; return s; } } /** + * + * *
    * A filter to reduce results to a specific subset. Useful for querying
    * phrase matchers with specific properties.
    * 
* * string filter = 4; + * * @return The bytes for filter. */ @java.lang.Override - public com.google.protobuf.ByteString - getFilterBytes() { + public com.google.protobuf.ByteString getFilterBytes() { java.lang.Object ref = filter_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); filter_ = b; return b; } else { @@ -216,6 +254,7 @@ public java.lang.String getFilter() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -227,8 +266,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); } @@ -254,8 +292,7 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, parent_); } if (pageSize_ != 0) { - size += com.google.protobuf.CodedOutputStream - .computeInt32Size(2, pageSize_); + size += com.google.protobuf.CodedOutputStream.computeInt32Size(2, pageSize_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(pageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, pageToken_); @@ -271,21 +308,18 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.contactcenterinsights.v1.ListPhraseMatchersRequest)) { return super.equals(obj); } - com.google.cloud.contactcenterinsights.v1.ListPhraseMatchersRequest other = (com.google.cloud.contactcenterinsights.v1.ListPhraseMatchersRequest) obj; + com.google.cloud.contactcenterinsights.v1.ListPhraseMatchersRequest other = + (com.google.cloud.contactcenterinsights.v1.ListPhraseMatchersRequest) obj; - if (!getParent() - .equals(other.getParent())) return false; - if (getPageSize() - != other.getPageSize()) return false; - if (!getPageToken() - .equals(other.getPageToken())) return false; - if (!getFilter() - .equals(other.getFilter())) return false; + if (!getParent().equals(other.getParent())) return false; + if (getPageSize() != other.getPageSize()) return false; + if (!getPageToken().equals(other.getPageToken())) return false; + if (!getFilter().equals(other.getFilter())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -311,129 +345,138 @@ public int hashCode() { } public static com.google.cloud.contactcenterinsights.v1.ListPhraseMatchersRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.contactcenterinsights.v1.ListPhraseMatchersRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.contactcenterinsights.v1.ListPhraseMatchersRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.contactcenterinsights.v1.ListPhraseMatchersRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.contactcenterinsights.v1.ListPhraseMatchersRequest parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.contactcenterinsights.v1.ListPhraseMatchersRequest parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.contactcenterinsights.v1.ListPhraseMatchersRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.contactcenterinsights.v1.ListPhraseMatchersRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.contactcenterinsights.v1.ListPhraseMatchersRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.contactcenterinsights.v1.ListPhraseMatchersRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.contactcenterinsights.v1.ListPhraseMatchersRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.contactcenterinsights.v1.ListPhraseMatchersRequest + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.contactcenterinsights.v1.ListPhraseMatchersRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + + public static com.google.cloud.contactcenterinsights.v1.ListPhraseMatchersRequest + parseDelimitedFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.contactcenterinsights.v1.ListPhraseMatchersRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.contactcenterinsights.v1.ListPhraseMatchersRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.contactcenterinsights.v1.ListPhraseMatchersRequest prototype) { + + public static Builder newBuilder( + com.google.cloud.contactcenterinsights.v1.ListPhraseMatchersRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Request to list phrase matchers.
    * 
* * Protobuf type {@code google.cloud.contactcenterinsights.v1.ListPhraseMatchersRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.contactcenterinsights.v1.ListPhraseMatchersRequest) com.google.cloud.contactcenterinsights.v1.ListPhraseMatchersRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto.internal_static_google_cloud_contactcenterinsights_v1_ListPhraseMatchersRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto + .internal_static_google_cloud_contactcenterinsights_v1_ListPhraseMatchersRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto.internal_static_google_cloud_contactcenterinsights_v1_ListPhraseMatchersRequest_fieldAccessorTable + return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto + .internal_static_google_cloud_contactcenterinsights_v1_ListPhraseMatchersRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.contactcenterinsights.v1.ListPhraseMatchersRequest.class, com.google.cloud.contactcenterinsights.v1.ListPhraseMatchersRequest.Builder.class); + com.google.cloud.contactcenterinsights.v1.ListPhraseMatchersRequest.class, + com.google.cloud.contactcenterinsights.v1.ListPhraseMatchersRequest.Builder.class); } - // Construct using com.google.cloud.contactcenterinsights.v1.ListPhraseMatchersRequest.newBuilder() - private Builder() { - - } + // Construct using + // com.google.cloud.contactcenterinsights.v1.ListPhraseMatchersRequest.newBuilder() + private Builder() {} - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -446,14 +489,16 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto.internal_static_google_cloud_contactcenterinsights_v1_ListPhraseMatchersRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto + .internal_static_google_cloud_contactcenterinsights_v1_ListPhraseMatchersRequest_descriptor; } @java.lang.Override - public com.google.cloud.contactcenterinsights.v1.ListPhraseMatchersRequest getDefaultInstanceForType() { - return com.google.cloud.contactcenterinsights.v1.ListPhraseMatchersRequest.getDefaultInstance(); + public com.google.cloud.contactcenterinsights.v1.ListPhraseMatchersRequest + getDefaultInstanceForType() { + return com.google.cloud.contactcenterinsights.v1.ListPhraseMatchersRequest + .getDefaultInstance(); } @java.lang.Override @@ -467,13 +512,17 @@ public com.google.cloud.contactcenterinsights.v1.ListPhraseMatchersRequest build @java.lang.Override public com.google.cloud.contactcenterinsights.v1.ListPhraseMatchersRequest buildPartial() { - com.google.cloud.contactcenterinsights.v1.ListPhraseMatchersRequest result = new com.google.cloud.contactcenterinsights.v1.ListPhraseMatchersRequest(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.cloud.contactcenterinsights.v1.ListPhraseMatchersRequest result = + new com.google.cloud.contactcenterinsights.v1.ListPhraseMatchersRequest(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } - private void buildPartial0(com.google.cloud.contactcenterinsights.v1.ListPhraseMatchersRequest result) { + private void buildPartial0( + com.google.cloud.contactcenterinsights.v1.ListPhraseMatchersRequest result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { result.parent_ = parent_; @@ -493,46 +542,51 @@ private void buildPartial0(com.google.cloud.contactcenterinsights.v1.ListPhraseM public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.contactcenterinsights.v1.ListPhraseMatchersRequest) { - return mergeFrom((com.google.cloud.contactcenterinsights.v1.ListPhraseMatchersRequest)other); + return mergeFrom( + (com.google.cloud.contactcenterinsights.v1.ListPhraseMatchersRequest) other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.google.cloud.contactcenterinsights.v1.ListPhraseMatchersRequest other) { - if (other == com.google.cloud.contactcenterinsights.v1.ListPhraseMatchersRequest.getDefaultInstance()) return this; + public Builder mergeFrom( + com.google.cloud.contactcenterinsights.v1.ListPhraseMatchersRequest other) { + if (other + == com.google.cloud.contactcenterinsights.v1.ListPhraseMatchersRequest + .getDefaultInstance()) return this; if (!other.getParent().isEmpty()) { parent_ = other.parent_; bitField0_ |= 0x00000001; @@ -577,32 +631,37 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - parent_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 16: { - pageSize_ = input.readInt32(); - bitField0_ |= 0x00000002; - break; - } // case 16 - case 26: { - pageToken_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000004; - break; - } // case 26 - case 34: { - filter_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000008; - break; - } // case 34 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + parent_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 16: + { + pageSize_ = input.readInt32(); + bitField0_ |= 0x00000002; + break; + } // case 16 + case 26: + { + pageToken_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000004; + break; + } // case 26 + case 34: + { + filter_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000008; + break; + } // case 34 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -612,22 +671,27 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private java.lang.Object parent_ = ""; /** + * + * *
      * Required. The parent resource of the phrase matcher.
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The parent. */ public java.lang.String getParent() { java.lang.Object ref = parent_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; @@ -636,20 +700,23 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. The parent resource of the phrase matcher.
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for parent. */ - public com.google.protobuf.ByteString - getParentBytes() { + public com.google.protobuf.ByteString getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); parent_ = b; return b; } else { @@ -657,28 +724,39 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. The parent resource of the phrase matcher.
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The parent to set. * @return This builder for chaining. */ - public Builder setParent( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setParent(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } parent_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
      * Required. The parent resource of the phrase matcher.
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return This builder for chaining. */ public Builder clearParent() { @@ -688,17 +766,23 @@ public Builder clearParent() { return this; } /** + * + * *
      * Required. The parent resource of the phrase matcher.
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setParentBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); parent_ = value; bitField0_ |= 0x00000001; @@ -706,8 +790,10 @@ public Builder setParentBytes( return this; } - private int pageSize_ ; + private int pageSize_; /** + * + * *
      * The maximum number of phrase matchers to return in the response. If this
      * value is zero, the service will select a default size. A call might return
@@ -716,6 +802,7 @@ public Builder setParentBytes(
      * 
* * int32 page_size = 2; + * * @return The pageSize. */ @java.lang.Override @@ -723,6 +810,8 @@ public int getPageSize() { return pageSize_; } /** + * + * *
      * The maximum number of phrase matchers to return in the response. If this
      * value is zero, the service will select a default size. A call might return
@@ -731,17 +820,20 @@ public int getPageSize() {
      * 
* * int32 page_size = 2; + * * @param value The pageSize to set. * @return This builder for chaining. */ public Builder setPageSize(int value) { - + pageSize_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** + * + * *
      * The maximum number of phrase matchers to return in the response. If this
      * value is zero, the service will select a default size. A call might return
@@ -750,6 +842,7 @@ public Builder setPageSize(int value) {
      * 
* * int32 page_size = 2; + * * @return This builder for chaining. */ public Builder clearPageSize() { @@ -761,6 +854,8 @@ public Builder clearPageSize() { private java.lang.Object pageToken_ = ""; /** + * + * *
      * The value returned by the last `ListPhraseMatchersResponse`. This value
      * indicates that this is a continuation of a prior `ListPhraseMatchers` call
@@ -768,13 +863,13 @@ public Builder clearPageSize() {
      * 
* * string page_token = 3; + * * @return The pageToken. */ public java.lang.String getPageToken() { java.lang.Object ref = pageToken_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); pageToken_ = s; return s; @@ -783,6 +878,8 @@ public java.lang.String getPageToken() { } } /** + * + * *
      * The value returned by the last `ListPhraseMatchersResponse`. This value
      * indicates that this is a continuation of a prior `ListPhraseMatchers` call
@@ -790,15 +887,14 @@ public java.lang.String getPageToken() {
      * 
* * string page_token = 3; + * * @return The bytes for pageToken. */ - public com.google.protobuf.ByteString - getPageTokenBytes() { + public com.google.protobuf.ByteString getPageTokenBytes() { java.lang.Object ref = pageToken_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); pageToken_ = b; return b; } else { @@ -806,6 +902,8 @@ public java.lang.String getPageToken() { } } /** + * + * *
      * The value returned by the last `ListPhraseMatchersResponse`. This value
      * indicates that this is a continuation of a prior `ListPhraseMatchers` call
@@ -813,18 +911,22 @@ public java.lang.String getPageToken() {
      * 
* * string page_token = 3; + * * @param value The pageToken to set. * @return This builder for chaining. */ - public Builder setPageToken( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setPageToken(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } pageToken_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } /** + * + * *
      * The value returned by the last `ListPhraseMatchersResponse`. This value
      * indicates that this is a continuation of a prior `ListPhraseMatchers` call
@@ -832,6 +934,7 @@ public Builder setPageToken(
      * 
* * string page_token = 3; + * * @return This builder for chaining. */ public Builder clearPageToken() { @@ -841,6 +944,8 @@ public Builder clearPageToken() { return this; } /** + * + * *
      * The value returned by the last `ListPhraseMatchersResponse`. This value
      * indicates that this is a continuation of a prior `ListPhraseMatchers` call
@@ -848,12 +953,14 @@ public Builder clearPageToken() {
      * 
* * string page_token = 3; + * * @param value The bytes for pageToken to set. * @return This builder for chaining. */ - public Builder setPageTokenBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setPageTokenBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); pageToken_ = value; bitField0_ |= 0x00000004; @@ -863,19 +970,21 @@ public Builder setPageTokenBytes( private java.lang.Object filter_ = ""; /** + * + * *
      * A filter to reduce results to a specific subset. Useful for querying
      * phrase matchers with specific properties.
      * 
* * string filter = 4; + * * @return The filter. */ public java.lang.String getFilter() { java.lang.Object ref = filter_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); filter_ = s; return s; @@ -884,21 +993,22 @@ public java.lang.String getFilter() { } } /** + * + * *
      * A filter to reduce results to a specific subset. Useful for querying
      * phrase matchers with specific properties.
      * 
* * string filter = 4; + * * @return The bytes for filter. */ - public com.google.protobuf.ByteString - getFilterBytes() { + public com.google.protobuf.ByteString getFilterBytes() { java.lang.Object ref = filter_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); filter_ = b; return b; } else { @@ -906,30 +1016,37 @@ public java.lang.String getFilter() { } } /** + * + * *
      * A filter to reduce results to a specific subset. Useful for querying
      * phrase matchers with specific properties.
      * 
* * string filter = 4; + * * @param value The filter to set. * @return This builder for chaining. */ - public Builder setFilter( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setFilter(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } filter_ = value; bitField0_ |= 0x00000008; onChanged(); return this; } /** + * + * *
      * A filter to reduce results to a specific subset. Useful for querying
      * phrase matchers with specific properties.
      * 
* * string filter = 4; + * * @return This builder for chaining. */ public Builder clearFilter() { @@ -939,27 +1056,31 @@ public Builder clearFilter() { return this; } /** + * + * *
      * A filter to reduce results to a specific subset. Useful for querying
      * phrase matchers with specific properties.
      * 
* * string filter = 4; + * * @param value The bytes for filter to set. * @return This builder for chaining. */ - public Builder setFilterBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setFilterBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); filter_ = value; bitField0_ |= 0x00000008; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -969,41 +1090,43 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.contactcenterinsights.v1.ListPhraseMatchersRequest) } // @@protoc_insertion_point(class_scope:google.cloud.contactcenterinsights.v1.ListPhraseMatchersRequest) - private static final com.google.cloud.contactcenterinsights.v1.ListPhraseMatchersRequest DEFAULT_INSTANCE; + private static final com.google.cloud.contactcenterinsights.v1.ListPhraseMatchersRequest + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.contactcenterinsights.v1.ListPhraseMatchersRequest(); } - public static com.google.cloud.contactcenterinsights.v1.ListPhraseMatchersRequest getDefaultInstance() { + public static com.google.cloud.contactcenterinsights.v1.ListPhraseMatchersRequest + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListPhraseMatchersRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListPhraseMatchersRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1015,9 +1138,8 @@ public com.google.protobuf.Parser getParserForType() } @java.lang.Override - public com.google.cloud.contactcenterinsights.v1.ListPhraseMatchersRequest getDefaultInstanceForType() { + public com.google.cloud.contactcenterinsights.v1.ListPhraseMatchersRequest + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ListPhraseMatchersRequestOrBuilder.java b/java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ListPhraseMatchersRequestOrBuilder.java similarity index 65% rename from owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ListPhraseMatchersRequestOrBuilder.java rename to java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ListPhraseMatchersRequestOrBuilder.java index e3553062045d..fc6c4aeceae8 100644 --- a/owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ListPhraseMatchersRequestOrBuilder.java +++ b/java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ListPhraseMatchersRequestOrBuilder.java @@ -1,33 +1,60 @@ +/* + * 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. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/contactcenterinsights/v1/contact_center_insights.proto package com.google.cloud.contactcenterinsights.v1; -public interface ListPhraseMatchersRequestOrBuilder extends +public interface ListPhraseMatchersRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.contactcenterinsights.v1.ListPhraseMatchersRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Required. The parent resource of the phrase matcher.
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The parent. */ java.lang.String getParent(); /** + * + * *
    * Required. The parent resource of the phrase matcher.
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for parent. */ - com.google.protobuf.ByteString - getParentBytes(); + com.google.protobuf.ByteString getParentBytes(); /** + * + * *
    * The maximum number of phrase matchers to return in the response. If this
    * value is zero, the service will select a default size. A call might return
@@ -36,11 +63,14 @@ public interface ListPhraseMatchersRequestOrBuilder extends
    * 
* * int32 page_size = 2; + * * @return The pageSize. */ int getPageSize(); /** + * + * *
    * The value returned by the last `ListPhraseMatchersResponse`. This value
    * indicates that this is a continuation of a prior `ListPhraseMatchers` call
@@ -48,10 +78,13 @@ public interface ListPhraseMatchersRequestOrBuilder extends
    * 
* * string page_token = 3; + * * @return The pageToken. */ java.lang.String getPageToken(); /** + * + * *
    * The value returned by the last `ListPhraseMatchersResponse`. This value
    * indicates that this is a continuation of a prior `ListPhraseMatchers` call
@@ -59,30 +92,35 @@ public interface ListPhraseMatchersRequestOrBuilder extends
    * 
* * string page_token = 3; + * * @return The bytes for pageToken. */ - com.google.protobuf.ByteString - getPageTokenBytes(); + com.google.protobuf.ByteString getPageTokenBytes(); /** + * + * *
    * A filter to reduce results to a specific subset. Useful for querying
    * phrase matchers with specific properties.
    * 
* * string filter = 4; + * * @return The filter. */ java.lang.String getFilter(); /** + * + * *
    * A filter to reduce results to a specific subset. Useful for querying
    * phrase matchers with specific properties.
    * 
* * string filter = 4; + * * @return The bytes for filter. */ - com.google.protobuf.ByteString - getFilterBytes(); + com.google.protobuf.ByteString getFilterBytes(); } diff --git a/owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ListPhraseMatchersResponse.java b/java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ListPhraseMatchersResponse.java similarity index 67% rename from owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ListPhraseMatchersResponse.java rename to java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ListPhraseMatchersResponse.java index caa1663a160a..ffee417931a4 100644 --- a/owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ListPhraseMatchersResponse.java +++ b/java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ListPhraseMatchersResponse.java @@ -1,24 +1,42 @@ +/* + * 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. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/contactcenterinsights/v1/contact_center_insights.proto package com.google.cloud.contactcenterinsights.v1; /** + * + * *
  * The response of listing phrase matchers.
  * 
* * Protobuf type {@code google.cloud.contactcenterinsights.v1.ListPhraseMatchersResponse} */ -public final class ListPhraseMatchersResponse extends - com.google.protobuf.GeneratedMessageV3 implements +public final class ListPhraseMatchersResponse extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.contactcenterinsights.v1.ListPhraseMatchersResponse) ListPhraseMatchersResponseOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use ListPhraseMatchersResponse.newBuilder() to construct. private ListPhraseMatchersResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private ListPhraseMatchersResponse() { phraseMatchers_ = java.util.Collections.emptyList(); nextPageToken_ = ""; @@ -26,33 +44,37 @@ private ListPhraseMatchersResponse() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ListPhraseMatchersResponse(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto.internal_static_google_cloud_contactcenterinsights_v1_ListPhraseMatchersResponse_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto + .internal_static_google_cloud_contactcenterinsights_v1_ListPhraseMatchersResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto.internal_static_google_cloud_contactcenterinsights_v1_ListPhraseMatchersResponse_fieldAccessorTable + return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto + .internal_static_google_cloud_contactcenterinsights_v1_ListPhraseMatchersResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.contactcenterinsights.v1.ListPhraseMatchersResponse.class, com.google.cloud.contactcenterinsights.v1.ListPhraseMatchersResponse.Builder.class); + com.google.cloud.contactcenterinsights.v1.ListPhraseMatchersResponse.class, + com.google.cloud.contactcenterinsights.v1.ListPhraseMatchersResponse.Builder.class); } public static final int PHRASE_MATCHERS_FIELD_NUMBER = 1; + @SuppressWarnings("serial") private java.util.List phraseMatchers_; /** + * + * *
    * The phrase matchers that match the request.
    * 
@@ -60,10 +82,13 @@ protected java.lang.Object newInstance( * repeated .google.cloud.contactcenterinsights.v1.PhraseMatcher phrase_matchers = 1; */ @java.lang.Override - public java.util.List getPhraseMatchersList() { + public java.util.List + getPhraseMatchersList() { return phraseMatchers_; } /** + * + * *
    * The phrase matchers that match the request.
    * 
@@ -71,11 +96,13 @@ public java.util.List g * repeated .google.cloud.contactcenterinsights.v1.PhraseMatcher phrase_matchers = 1; */ @java.lang.Override - public java.util.List + public java.util.List getPhraseMatchersOrBuilderList() { return phraseMatchers_; } /** + * + * *
    * The phrase matchers that match the request.
    * 
@@ -87,6 +114,8 @@ public int getPhraseMatchersCount() { return phraseMatchers_.size(); } /** + * + * *
    * The phrase matchers that match the request.
    * 
@@ -98,6 +127,8 @@ public com.google.cloud.contactcenterinsights.v1.PhraseMatcher getPhraseMatchers return phraseMatchers_.get(index); } /** + * + * *
    * The phrase matchers that match the request.
    * 
@@ -105,21 +136,25 @@ public com.google.cloud.contactcenterinsights.v1.PhraseMatcher getPhraseMatchers * repeated .google.cloud.contactcenterinsights.v1.PhraseMatcher phrase_matchers = 1; */ @java.lang.Override - public com.google.cloud.contactcenterinsights.v1.PhraseMatcherOrBuilder getPhraseMatchersOrBuilder( - int index) { + public com.google.cloud.contactcenterinsights.v1.PhraseMatcherOrBuilder + getPhraseMatchersOrBuilder(int index) { return phraseMatchers_.get(index); } public static final int NEXT_PAGE_TOKEN_FIELD_NUMBER = 2; + @SuppressWarnings("serial") private volatile java.lang.Object nextPageToken_ = ""; /** + * + * *
    * A token, which can be sent as `page_token` to retrieve the next page.
    * If this field is omitted, there are no subsequent pages.
    * 
* * string next_page_token = 2; + * * @return The nextPageToken. */ @java.lang.Override @@ -128,30 +163,30 @@ public java.lang.String getNextPageToken() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); nextPageToken_ = s; return s; } } /** + * + * *
    * A token, which can be sent as `page_token` to retrieve the next page.
    * If this field is omitted, there are no subsequent pages.
    * 
* * string next_page_token = 2; + * * @return The bytes for nextPageToken. */ @java.lang.Override - public com.google.protobuf.ByteString - getNextPageTokenBytes() { + public com.google.protobuf.ByteString getNextPageTokenBytes() { java.lang.Object ref = nextPageToken_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); nextPageToken_ = b; return b; } else { @@ -160,6 +195,7 @@ public java.lang.String getNextPageToken() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -171,8 +207,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { for (int i = 0; i < phraseMatchers_.size(); i++) { output.writeMessage(1, phraseMatchers_.get(i)); } @@ -189,8 +224,7 @@ public int getSerializedSize() { size = 0; for (int i = 0; i < phraseMatchers_.size(); i++) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, phraseMatchers_.get(i)); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, phraseMatchers_.get(i)); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(nextPageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, nextPageToken_); @@ -203,17 +237,16 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.contactcenterinsights.v1.ListPhraseMatchersResponse)) { return super.equals(obj); } - com.google.cloud.contactcenterinsights.v1.ListPhraseMatchersResponse other = (com.google.cloud.contactcenterinsights.v1.ListPhraseMatchersResponse) obj; + com.google.cloud.contactcenterinsights.v1.ListPhraseMatchersResponse other = + (com.google.cloud.contactcenterinsights.v1.ListPhraseMatchersResponse) obj; - if (!getPhraseMatchersList() - .equals(other.getPhraseMatchersList())) return false; - if (!getNextPageToken() - .equals(other.getNextPageToken())) return false; + if (!getPhraseMatchersList().equals(other.getPhraseMatchersList())) return false; + if (!getNextPageToken().equals(other.getNextPageToken())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -237,129 +270,138 @@ public int hashCode() { } public static com.google.cloud.contactcenterinsights.v1.ListPhraseMatchersResponse parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.contactcenterinsights.v1.ListPhraseMatchersResponse parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.contactcenterinsights.v1.ListPhraseMatchersResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.contactcenterinsights.v1.ListPhraseMatchersResponse parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.contactcenterinsights.v1.ListPhraseMatchersResponse parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.contactcenterinsights.v1.ListPhraseMatchersResponse parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.contactcenterinsights.v1.ListPhraseMatchersResponse parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.contactcenterinsights.v1.ListPhraseMatchersResponse parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.contactcenterinsights.v1.ListPhraseMatchersResponse parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.contactcenterinsights.v1.ListPhraseMatchersResponse parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.contactcenterinsights.v1.ListPhraseMatchersResponse parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.contactcenterinsights.v1.ListPhraseMatchersResponse + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.contactcenterinsights.v1.ListPhraseMatchersResponse parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + + public static com.google.cloud.contactcenterinsights.v1.ListPhraseMatchersResponse + parseDelimitedFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.contactcenterinsights.v1.ListPhraseMatchersResponse parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.contactcenterinsights.v1.ListPhraseMatchersResponse parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.contactcenterinsights.v1.ListPhraseMatchersResponse prototype) { + + public static Builder newBuilder( + com.google.cloud.contactcenterinsights.v1.ListPhraseMatchersResponse prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * The response of listing phrase matchers.
    * 
* * Protobuf type {@code google.cloud.contactcenterinsights.v1.ListPhraseMatchersResponse} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.contactcenterinsights.v1.ListPhraseMatchersResponse) com.google.cloud.contactcenterinsights.v1.ListPhraseMatchersResponseOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto.internal_static_google_cloud_contactcenterinsights_v1_ListPhraseMatchersResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto + .internal_static_google_cloud_contactcenterinsights_v1_ListPhraseMatchersResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto.internal_static_google_cloud_contactcenterinsights_v1_ListPhraseMatchersResponse_fieldAccessorTable + return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto + .internal_static_google_cloud_contactcenterinsights_v1_ListPhraseMatchersResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.contactcenterinsights.v1.ListPhraseMatchersResponse.class, com.google.cloud.contactcenterinsights.v1.ListPhraseMatchersResponse.Builder.class); + com.google.cloud.contactcenterinsights.v1.ListPhraseMatchersResponse.class, + com.google.cloud.contactcenterinsights.v1.ListPhraseMatchersResponse.Builder.class); } - // Construct using com.google.cloud.contactcenterinsights.v1.ListPhraseMatchersResponse.newBuilder() - private Builder() { + // Construct using + // com.google.cloud.contactcenterinsights.v1.ListPhraseMatchersResponse.newBuilder() + private Builder() {} - } - - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -376,14 +418,16 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto.internal_static_google_cloud_contactcenterinsights_v1_ListPhraseMatchersResponse_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto + .internal_static_google_cloud_contactcenterinsights_v1_ListPhraseMatchersResponse_descriptor; } @java.lang.Override - public com.google.cloud.contactcenterinsights.v1.ListPhraseMatchersResponse getDefaultInstanceForType() { - return com.google.cloud.contactcenterinsights.v1.ListPhraseMatchersResponse.getDefaultInstance(); + public com.google.cloud.contactcenterinsights.v1.ListPhraseMatchersResponse + getDefaultInstanceForType() { + return com.google.cloud.contactcenterinsights.v1.ListPhraseMatchersResponse + .getDefaultInstance(); } @java.lang.Override @@ -397,14 +441,18 @@ public com.google.cloud.contactcenterinsights.v1.ListPhraseMatchersResponse buil @java.lang.Override public com.google.cloud.contactcenterinsights.v1.ListPhraseMatchersResponse buildPartial() { - com.google.cloud.contactcenterinsights.v1.ListPhraseMatchersResponse result = new com.google.cloud.contactcenterinsights.v1.ListPhraseMatchersResponse(this); + com.google.cloud.contactcenterinsights.v1.ListPhraseMatchersResponse result = + new com.google.cloud.contactcenterinsights.v1.ListPhraseMatchersResponse(this); buildPartialRepeatedFields(result); - if (bitField0_ != 0) { buildPartial0(result); } + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } - private void buildPartialRepeatedFields(com.google.cloud.contactcenterinsights.v1.ListPhraseMatchersResponse result) { + private void buildPartialRepeatedFields( + com.google.cloud.contactcenterinsights.v1.ListPhraseMatchersResponse result) { if (phraseMatchersBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { phraseMatchers_ = java.util.Collections.unmodifiableList(phraseMatchers_); @@ -416,7 +464,8 @@ private void buildPartialRepeatedFields(com.google.cloud.contactcenterinsights.v } } - private void buildPartial0(com.google.cloud.contactcenterinsights.v1.ListPhraseMatchersResponse result) { + private void buildPartial0( + com.google.cloud.contactcenterinsights.v1.ListPhraseMatchersResponse result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000002) != 0)) { result.nextPageToken_ = nextPageToken_; @@ -427,46 +476,51 @@ private void buildPartial0(com.google.cloud.contactcenterinsights.v1.ListPhraseM public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.contactcenterinsights.v1.ListPhraseMatchersResponse) { - return mergeFrom((com.google.cloud.contactcenterinsights.v1.ListPhraseMatchersResponse)other); + return mergeFrom( + (com.google.cloud.contactcenterinsights.v1.ListPhraseMatchersResponse) other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.google.cloud.contactcenterinsights.v1.ListPhraseMatchersResponse other) { - if (other == com.google.cloud.contactcenterinsights.v1.ListPhraseMatchersResponse.getDefaultInstance()) return this; + public Builder mergeFrom( + com.google.cloud.contactcenterinsights.v1.ListPhraseMatchersResponse other) { + if (other + == com.google.cloud.contactcenterinsights.v1.ListPhraseMatchersResponse + .getDefaultInstance()) return this; if (phraseMatchersBuilder_ == null) { if (!other.phraseMatchers_.isEmpty()) { if (phraseMatchers_.isEmpty()) { @@ -485,9 +539,10 @@ public Builder mergeFrom(com.google.cloud.contactcenterinsights.v1.ListPhraseMat phraseMatchersBuilder_ = null; phraseMatchers_ = other.phraseMatchers_; bitField0_ = (bitField0_ & ~0x00000001); - phraseMatchersBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? - getPhraseMatchersFieldBuilder() : null; + phraseMatchersBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders + ? getPhraseMatchersFieldBuilder() + : null; } else { phraseMatchersBuilder_.addAllMessages(other.phraseMatchers_); } @@ -524,30 +579,33 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - com.google.cloud.contactcenterinsights.v1.PhraseMatcher m = - input.readMessage( - com.google.cloud.contactcenterinsights.v1.PhraseMatcher.parser(), - extensionRegistry); - if (phraseMatchersBuilder_ == null) { - ensurePhraseMatchersIsMutable(); - phraseMatchers_.add(m); - } else { - phraseMatchersBuilder_.addMessage(m); - } - break; - } // case 10 - case 18: { - nextPageToken_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000002; - break; - } // case 18 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + com.google.cloud.contactcenterinsights.v1.PhraseMatcher m = + input.readMessage( + com.google.cloud.contactcenterinsights.v1.PhraseMatcher.parser(), + extensionRegistry); + if (phraseMatchersBuilder_ == null) { + ensurePhraseMatchersIsMutable(); + phraseMatchers_.add(m); + } else { + phraseMatchersBuilder_.addMessage(m); + } + break; + } // case 10 + case 18: + { + nextPageToken_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + break; + } // case 18 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -557,28 +615,39 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; - private java.util.List phraseMatchers_ = - java.util.Collections.emptyList(); + private java.util.List + phraseMatchers_ = java.util.Collections.emptyList(); + private void ensurePhraseMatchersIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { - phraseMatchers_ = new java.util.ArrayList(phraseMatchers_); + phraseMatchers_ = + new java.util.ArrayList( + phraseMatchers_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.contactcenterinsights.v1.PhraseMatcher, com.google.cloud.contactcenterinsights.v1.PhraseMatcher.Builder, com.google.cloud.contactcenterinsights.v1.PhraseMatcherOrBuilder> phraseMatchersBuilder_; + com.google.cloud.contactcenterinsights.v1.PhraseMatcher, + com.google.cloud.contactcenterinsights.v1.PhraseMatcher.Builder, + com.google.cloud.contactcenterinsights.v1.PhraseMatcherOrBuilder> + phraseMatchersBuilder_; /** + * + * *
      * The phrase matchers that match the request.
      * 
* - * repeated .google.cloud.contactcenterinsights.v1.PhraseMatcher phrase_matchers = 1; + * repeated .google.cloud.contactcenterinsights.v1.PhraseMatcher phrase_matchers = 1; + * */ - public java.util.List getPhraseMatchersList() { + public java.util.List + getPhraseMatchersList() { if (phraseMatchersBuilder_ == null) { return java.util.Collections.unmodifiableList(phraseMatchers_); } else { @@ -586,11 +655,14 @@ public java.util.List g } } /** + * + * *
      * The phrase matchers that match the request.
      * 
* - * repeated .google.cloud.contactcenterinsights.v1.PhraseMatcher phrase_matchers = 1; + * repeated .google.cloud.contactcenterinsights.v1.PhraseMatcher phrase_matchers = 1; + * */ public int getPhraseMatchersCount() { if (phraseMatchersBuilder_ == null) { @@ -600,11 +672,14 @@ public int getPhraseMatchersCount() { } } /** + * + * *
      * The phrase matchers that match the request.
      * 
* - * repeated .google.cloud.contactcenterinsights.v1.PhraseMatcher phrase_matchers = 1; + * repeated .google.cloud.contactcenterinsights.v1.PhraseMatcher phrase_matchers = 1; + * */ public com.google.cloud.contactcenterinsights.v1.PhraseMatcher getPhraseMatchers(int index) { if (phraseMatchersBuilder_ == null) { @@ -614,11 +689,14 @@ public com.google.cloud.contactcenterinsights.v1.PhraseMatcher getPhraseMatchers } } /** + * + * *
      * The phrase matchers that match the request.
      * 
* - * repeated .google.cloud.contactcenterinsights.v1.PhraseMatcher phrase_matchers = 1; + * repeated .google.cloud.contactcenterinsights.v1.PhraseMatcher phrase_matchers = 1; + * */ public Builder setPhraseMatchers( int index, com.google.cloud.contactcenterinsights.v1.PhraseMatcher value) { @@ -635,14 +713,18 @@ public Builder setPhraseMatchers( return this; } /** + * + * *
      * The phrase matchers that match the request.
      * 
* - * repeated .google.cloud.contactcenterinsights.v1.PhraseMatcher phrase_matchers = 1; + * repeated .google.cloud.contactcenterinsights.v1.PhraseMatcher phrase_matchers = 1; + * */ public Builder setPhraseMatchers( - int index, com.google.cloud.contactcenterinsights.v1.PhraseMatcher.Builder builderForValue) { + int index, + com.google.cloud.contactcenterinsights.v1.PhraseMatcher.Builder builderForValue) { if (phraseMatchersBuilder_ == null) { ensurePhraseMatchersIsMutable(); phraseMatchers_.set(index, builderForValue.build()); @@ -653,13 +735,17 @@ public Builder setPhraseMatchers( return this; } /** + * + * *
      * The phrase matchers that match the request.
      * 
* - * repeated .google.cloud.contactcenterinsights.v1.PhraseMatcher phrase_matchers = 1; + * repeated .google.cloud.contactcenterinsights.v1.PhraseMatcher phrase_matchers = 1; + * */ - public Builder addPhraseMatchers(com.google.cloud.contactcenterinsights.v1.PhraseMatcher value) { + public Builder addPhraseMatchers( + com.google.cloud.contactcenterinsights.v1.PhraseMatcher value) { if (phraseMatchersBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -673,11 +759,14 @@ public Builder addPhraseMatchers(com.google.cloud.contactcenterinsights.v1.Phras return this; } /** + * + * *
      * The phrase matchers that match the request.
      * 
* - * repeated .google.cloud.contactcenterinsights.v1.PhraseMatcher phrase_matchers = 1; + * repeated .google.cloud.contactcenterinsights.v1.PhraseMatcher phrase_matchers = 1; + * */ public Builder addPhraseMatchers( int index, com.google.cloud.contactcenterinsights.v1.PhraseMatcher value) { @@ -694,11 +783,14 @@ public Builder addPhraseMatchers( return this; } /** + * + * *
      * The phrase matchers that match the request.
      * 
* - * repeated .google.cloud.contactcenterinsights.v1.PhraseMatcher phrase_matchers = 1; + * repeated .google.cloud.contactcenterinsights.v1.PhraseMatcher phrase_matchers = 1; + * */ public Builder addPhraseMatchers( com.google.cloud.contactcenterinsights.v1.PhraseMatcher.Builder builderForValue) { @@ -712,14 +804,18 @@ public Builder addPhraseMatchers( return this; } /** + * + * *
      * The phrase matchers that match the request.
      * 
* - * repeated .google.cloud.contactcenterinsights.v1.PhraseMatcher phrase_matchers = 1; + * repeated .google.cloud.contactcenterinsights.v1.PhraseMatcher phrase_matchers = 1; + * */ public Builder addPhraseMatchers( - int index, com.google.cloud.contactcenterinsights.v1.PhraseMatcher.Builder builderForValue) { + int index, + com.google.cloud.contactcenterinsights.v1.PhraseMatcher.Builder builderForValue) { if (phraseMatchersBuilder_ == null) { ensurePhraseMatchersIsMutable(); phraseMatchers_.add(index, builderForValue.build()); @@ -730,18 +826,21 @@ public Builder addPhraseMatchers( return this; } /** + * + * *
      * The phrase matchers that match the request.
      * 
* - * repeated .google.cloud.contactcenterinsights.v1.PhraseMatcher phrase_matchers = 1; + * repeated .google.cloud.contactcenterinsights.v1.PhraseMatcher phrase_matchers = 1; + * */ public Builder addAllPhraseMatchers( - java.lang.Iterable values) { + java.lang.Iterable + values) { if (phraseMatchersBuilder_ == null) { ensurePhraseMatchersIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, phraseMatchers_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, phraseMatchers_); onChanged(); } else { phraseMatchersBuilder_.addAllMessages(values); @@ -749,11 +848,14 @@ public Builder addAllPhraseMatchers( return this; } /** + * + * *
      * The phrase matchers that match the request.
      * 
* - * repeated .google.cloud.contactcenterinsights.v1.PhraseMatcher phrase_matchers = 1; + * repeated .google.cloud.contactcenterinsights.v1.PhraseMatcher phrase_matchers = 1; + * */ public Builder clearPhraseMatchers() { if (phraseMatchersBuilder_ == null) { @@ -766,11 +868,14 @@ public Builder clearPhraseMatchers() { return this; } /** + * + * *
      * The phrase matchers that match the request.
      * 
* - * repeated .google.cloud.contactcenterinsights.v1.PhraseMatcher phrase_matchers = 1; + * repeated .google.cloud.contactcenterinsights.v1.PhraseMatcher phrase_matchers = 1; + * */ public Builder removePhraseMatchers(int index) { if (phraseMatchersBuilder_ == null) { @@ -783,39 +888,50 @@ public Builder removePhraseMatchers(int index) { return this; } /** + * + * *
      * The phrase matchers that match the request.
      * 
* - * repeated .google.cloud.contactcenterinsights.v1.PhraseMatcher phrase_matchers = 1; + * repeated .google.cloud.contactcenterinsights.v1.PhraseMatcher phrase_matchers = 1; + * */ public com.google.cloud.contactcenterinsights.v1.PhraseMatcher.Builder getPhraseMatchersBuilder( int index) { return getPhraseMatchersFieldBuilder().getBuilder(index); } /** + * + * *
      * The phrase matchers that match the request.
      * 
* - * repeated .google.cloud.contactcenterinsights.v1.PhraseMatcher phrase_matchers = 1; + * repeated .google.cloud.contactcenterinsights.v1.PhraseMatcher phrase_matchers = 1; + * */ - public com.google.cloud.contactcenterinsights.v1.PhraseMatcherOrBuilder getPhraseMatchersOrBuilder( - int index) { + public com.google.cloud.contactcenterinsights.v1.PhraseMatcherOrBuilder + getPhraseMatchersOrBuilder(int index) { if (phraseMatchersBuilder_ == null) { - return phraseMatchers_.get(index); } else { + return phraseMatchers_.get(index); + } else { return phraseMatchersBuilder_.getMessageOrBuilder(index); } } /** + * + * *
      * The phrase matchers that match the request.
      * 
* - * repeated .google.cloud.contactcenterinsights.v1.PhraseMatcher phrase_matchers = 1; + * repeated .google.cloud.contactcenterinsights.v1.PhraseMatcher phrase_matchers = 1; + * */ - public java.util.List - getPhraseMatchersOrBuilderList() { + public java.util.List< + ? extends com.google.cloud.contactcenterinsights.v1.PhraseMatcherOrBuilder> + getPhraseMatchersOrBuilderList() { if (phraseMatchersBuilder_ != null) { return phraseMatchersBuilder_.getMessageOrBuilderList(); } else { @@ -823,45 +939,62 @@ public com.google.cloud.contactcenterinsights.v1.PhraseMatcherOrBuilder getPhras } } /** + * + * *
      * The phrase matchers that match the request.
      * 
* - * repeated .google.cloud.contactcenterinsights.v1.PhraseMatcher phrase_matchers = 1; + * repeated .google.cloud.contactcenterinsights.v1.PhraseMatcher phrase_matchers = 1; + * */ - public com.google.cloud.contactcenterinsights.v1.PhraseMatcher.Builder addPhraseMatchersBuilder() { - return getPhraseMatchersFieldBuilder().addBuilder( - com.google.cloud.contactcenterinsights.v1.PhraseMatcher.getDefaultInstance()); + public com.google.cloud.contactcenterinsights.v1.PhraseMatcher.Builder + addPhraseMatchersBuilder() { + return getPhraseMatchersFieldBuilder() + .addBuilder(com.google.cloud.contactcenterinsights.v1.PhraseMatcher.getDefaultInstance()); } /** + * + * *
      * The phrase matchers that match the request.
      * 
* - * repeated .google.cloud.contactcenterinsights.v1.PhraseMatcher phrase_matchers = 1; + * repeated .google.cloud.contactcenterinsights.v1.PhraseMatcher phrase_matchers = 1; + * */ public com.google.cloud.contactcenterinsights.v1.PhraseMatcher.Builder addPhraseMatchersBuilder( int index) { - return getPhraseMatchersFieldBuilder().addBuilder( - index, com.google.cloud.contactcenterinsights.v1.PhraseMatcher.getDefaultInstance()); + return getPhraseMatchersFieldBuilder() + .addBuilder( + index, com.google.cloud.contactcenterinsights.v1.PhraseMatcher.getDefaultInstance()); } /** + * + * *
      * The phrase matchers that match the request.
      * 
* - * repeated .google.cloud.contactcenterinsights.v1.PhraseMatcher phrase_matchers = 1; + * repeated .google.cloud.contactcenterinsights.v1.PhraseMatcher phrase_matchers = 1; + * */ - public java.util.List - getPhraseMatchersBuilderList() { + public java.util.List + getPhraseMatchersBuilderList() { return getPhraseMatchersFieldBuilder().getBuilderList(); } + private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.contactcenterinsights.v1.PhraseMatcher, com.google.cloud.contactcenterinsights.v1.PhraseMatcher.Builder, com.google.cloud.contactcenterinsights.v1.PhraseMatcherOrBuilder> + com.google.cloud.contactcenterinsights.v1.PhraseMatcher, + com.google.cloud.contactcenterinsights.v1.PhraseMatcher.Builder, + com.google.cloud.contactcenterinsights.v1.PhraseMatcherOrBuilder> getPhraseMatchersFieldBuilder() { if (phraseMatchersBuilder_ == null) { - phraseMatchersBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.contactcenterinsights.v1.PhraseMatcher, com.google.cloud.contactcenterinsights.v1.PhraseMatcher.Builder, com.google.cloud.contactcenterinsights.v1.PhraseMatcherOrBuilder>( + phraseMatchersBuilder_ = + new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.contactcenterinsights.v1.PhraseMatcher, + com.google.cloud.contactcenterinsights.v1.PhraseMatcher.Builder, + com.google.cloud.contactcenterinsights.v1.PhraseMatcherOrBuilder>( phraseMatchers_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), @@ -873,19 +1006,21 @@ public com.google.cloud.contactcenterinsights.v1.PhraseMatcher.Builder addPhrase private java.lang.Object nextPageToken_ = ""; /** + * + * *
      * A token, which can be sent as `page_token` to retrieve the next page.
      * If this field is omitted, there are no subsequent pages.
      * 
* * string next_page_token = 2; + * * @return The nextPageToken. */ public java.lang.String getNextPageToken() { java.lang.Object ref = nextPageToken_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); nextPageToken_ = s; return s; @@ -894,21 +1029,22 @@ public java.lang.String getNextPageToken() { } } /** + * + * *
      * A token, which can be sent as `page_token` to retrieve the next page.
      * If this field is omitted, there are no subsequent pages.
      * 
* * string next_page_token = 2; + * * @return The bytes for nextPageToken. */ - public com.google.protobuf.ByteString - getNextPageTokenBytes() { + public com.google.protobuf.ByteString getNextPageTokenBytes() { java.lang.Object ref = nextPageToken_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); nextPageToken_ = b; return b; } else { @@ -916,30 +1052,37 @@ public java.lang.String getNextPageToken() { } } /** + * + * *
      * A token, which can be sent as `page_token` to retrieve the next page.
      * If this field is omitted, there are no subsequent pages.
      * 
* * string next_page_token = 2; + * * @param value The nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageToken( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setNextPageToken(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } nextPageToken_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** + * + * *
      * A token, which can be sent as `page_token` to retrieve the next page.
      * If this field is omitted, there are no subsequent pages.
      * 
* * string next_page_token = 2; + * * @return This builder for chaining. */ public Builder clearNextPageToken() { @@ -949,27 +1092,31 @@ public Builder clearNextPageToken() { return this; } /** + * + * *
      * A token, which can be sent as `page_token` to retrieve the next page.
      * If this field is omitted, there are no subsequent pages.
      * 
* * string next_page_token = 2; + * * @param value The bytes for nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageTokenBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setNextPageTokenBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); nextPageToken_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -979,41 +1126,43 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.contactcenterinsights.v1.ListPhraseMatchersResponse) } // @@protoc_insertion_point(class_scope:google.cloud.contactcenterinsights.v1.ListPhraseMatchersResponse) - private static final com.google.cloud.contactcenterinsights.v1.ListPhraseMatchersResponse DEFAULT_INSTANCE; + private static final com.google.cloud.contactcenterinsights.v1.ListPhraseMatchersResponse + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.contactcenterinsights.v1.ListPhraseMatchersResponse(); } - public static com.google.cloud.contactcenterinsights.v1.ListPhraseMatchersResponse getDefaultInstance() { + public static com.google.cloud.contactcenterinsights.v1.ListPhraseMatchersResponse + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListPhraseMatchersResponse parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListPhraseMatchersResponse parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1025,9 +1174,8 @@ public com.google.protobuf.Parser getParserForType() } @java.lang.Override - public com.google.cloud.contactcenterinsights.v1.ListPhraseMatchersResponse getDefaultInstanceForType() { + public com.google.cloud.contactcenterinsights.v1.ListPhraseMatchersResponse + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ListPhraseMatchersResponseOrBuilder.java b/java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ListPhraseMatchersResponseOrBuilder.java similarity index 72% rename from owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ListPhraseMatchersResponseOrBuilder.java rename to java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ListPhraseMatchersResponseOrBuilder.java index 0a61b73974db..3cc8ae94fcb2 100644 --- a/owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ListPhraseMatchersResponseOrBuilder.java +++ b/java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ListPhraseMatchersResponseOrBuilder.java @@ -1,22 +1,41 @@ +/* + * 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. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/contactcenterinsights/v1/contact_center_insights.proto package com.google.cloud.contactcenterinsights.v1; -public interface ListPhraseMatchersResponseOrBuilder extends +public interface ListPhraseMatchersResponseOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.contactcenterinsights.v1.ListPhraseMatchersResponse) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * The phrase matchers that match the request.
    * 
* * repeated .google.cloud.contactcenterinsights.v1.PhraseMatcher phrase_matchers = 1; */ - java.util.List - getPhraseMatchersList(); + java.util.List getPhraseMatchersList(); /** + * + * *
    * The phrase matchers that match the request.
    * 
@@ -25,6 +44,8 @@ public interface ListPhraseMatchersResponseOrBuilder extends */ com.google.cloud.contactcenterinsights.v1.PhraseMatcher getPhraseMatchers(int index); /** + * + * *
    * The phrase matchers that match the request.
    * 
@@ -33,15 +54,19 @@ public interface ListPhraseMatchersResponseOrBuilder extends */ int getPhraseMatchersCount(); /** + * + * *
    * The phrase matchers that match the request.
    * 
* * repeated .google.cloud.contactcenterinsights.v1.PhraseMatcher phrase_matchers = 1; */ - java.util.List + java.util.List getPhraseMatchersOrBuilderList(); /** + * + * *
    * The phrase matchers that match the request.
    * 
@@ -52,24 +77,29 @@ com.google.cloud.contactcenterinsights.v1.PhraseMatcherOrBuilder getPhraseMatche int index); /** + * + * *
    * A token, which can be sent as `page_token` to retrieve the next page.
    * If this field is omitted, there are no subsequent pages.
    * 
* * string next_page_token = 2; + * * @return The nextPageToken. */ java.lang.String getNextPageToken(); /** + * + * *
    * A token, which can be sent as `page_token` to retrieve the next page.
    * If this field is omitted, there are no subsequent pages.
    * 
* * string next_page_token = 2; + * * @return The bytes for nextPageToken. */ - com.google.protobuf.ByteString - getNextPageTokenBytes(); + com.google.protobuf.ByteString getNextPageTokenBytes(); } diff --git a/owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ListViewsRequest.java b/java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ListViewsRequest.java similarity index 68% rename from owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ListViewsRequest.java rename to java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ListViewsRequest.java index deccaf174222..70f83feb4401 100644 --- a/owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ListViewsRequest.java +++ b/java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ListViewsRequest.java @@ -1,24 +1,42 @@ +/* + * 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. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/contactcenterinsights/v1/contact_center_insights.proto package com.google.cloud.contactcenterinsights.v1; /** + * + * *
  * The request to list views.
  * 
* * Protobuf type {@code google.cloud.contactcenterinsights.v1.ListViewsRequest} */ -public final class ListViewsRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class ListViewsRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.contactcenterinsights.v1.ListViewsRequest) ListViewsRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use ListViewsRequest.newBuilder() to construct. private ListViewsRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private ListViewsRequest() { parent_ = ""; pageToken_ = ""; @@ -26,38 +44,45 @@ private ListViewsRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ListViewsRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto.internal_static_google_cloud_contactcenterinsights_v1_ListViewsRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto + .internal_static_google_cloud_contactcenterinsights_v1_ListViewsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto.internal_static_google_cloud_contactcenterinsights_v1_ListViewsRequest_fieldAccessorTable + return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto + .internal_static_google_cloud_contactcenterinsights_v1_ListViewsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.contactcenterinsights.v1.ListViewsRequest.class, com.google.cloud.contactcenterinsights.v1.ListViewsRequest.Builder.class); + com.google.cloud.contactcenterinsights.v1.ListViewsRequest.class, + com.google.cloud.contactcenterinsights.v1.ListViewsRequest.Builder.class); } public static final int PARENT_FIELD_NUMBER = 1; + @SuppressWarnings("serial") private volatile java.lang.Object parent_ = ""; /** + * + * *
    * Required. The parent resource of the views.
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The parent. */ @java.lang.Override @@ -66,29 +91,31 @@ public java.lang.String getParent() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; } } /** + * + * *
    * Required. The parent resource of the views.
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for parent. */ @java.lang.Override - public com.google.protobuf.ByteString - getParentBytes() { + public com.google.protobuf.ByteString getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); parent_ = b; return b; } else { @@ -99,6 +126,8 @@ public java.lang.String getParent() { public static final int PAGE_SIZE_FIELD_NUMBER = 2; private int pageSize_ = 0; /** + * + * *
    * The maximum number of views to return in the response. If this
    * value is zero, the service will select a default size. A call may return
@@ -107,6 +136,7 @@ public java.lang.String getParent() {
    * 
* * int32 page_size = 2; + * * @return The pageSize. */ @java.lang.Override @@ -115,9 +145,12 @@ public int getPageSize() { } public static final int PAGE_TOKEN_FIELD_NUMBER = 3; + @SuppressWarnings("serial") private volatile java.lang.Object pageToken_ = ""; /** + * + * *
    * The value returned by the last `ListViewsResponse`; indicates
    * that this is a continuation of a prior `ListViews` call and
@@ -125,6 +158,7 @@ public int getPageSize() {
    * 
* * string page_token = 3; + * * @return The pageToken. */ @java.lang.Override @@ -133,14 +167,15 @@ public java.lang.String getPageToken() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); pageToken_ = s; return s; } } /** + * + * *
    * The value returned by the last `ListViewsResponse`; indicates
    * that this is a continuation of a prior `ListViews` call and
@@ -148,16 +183,15 @@ public java.lang.String getPageToken() {
    * 
* * string page_token = 3; + * * @return The bytes for pageToken. */ @java.lang.Override - public com.google.protobuf.ByteString - getPageTokenBytes() { + public com.google.protobuf.ByteString getPageTokenBytes() { java.lang.Object ref = pageToken_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); pageToken_ = b; return b; } else { @@ -166,6 +200,7 @@ public java.lang.String getPageToken() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -177,8 +212,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); } @@ -201,8 +235,7 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, parent_); } if (pageSize_ != 0) { - size += com.google.protobuf.CodedOutputStream - .computeInt32Size(2, pageSize_); + size += com.google.protobuf.CodedOutputStream.computeInt32Size(2, pageSize_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(pageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, pageToken_); @@ -215,19 +248,17 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.contactcenterinsights.v1.ListViewsRequest)) { return super.equals(obj); } - com.google.cloud.contactcenterinsights.v1.ListViewsRequest other = (com.google.cloud.contactcenterinsights.v1.ListViewsRequest) obj; + com.google.cloud.contactcenterinsights.v1.ListViewsRequest other = + (com.google.cloud.contactcenterinsights.v1.ListViewsRequest) obj; - if (!getParent() - .equals(other.getParent())) return false; - if (getPageSize() - != other.getPageSize()) return false; - if (!getPageToken() - .equals(other.getPageToken())) return false; + if (!getParent().equals(other.getParent())) return false; + if (getPageSize() != other.getPageSize()) return false; + if (!getPageToken().equals(other.getPageToken())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -251,129 +282,136 @@ public int hashCode() { } public static com.google.cloud.contactcenterinsights.v1.ListViewsRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.contactcenterinsights.v1.ListViewsRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.contactcenterinsights.v1.ListViewsRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.contactcenterinsights.v1.ListViewsRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.contactcenterinsights.v1.ListViewsRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.contactcenterinsights.v1.ListViewsRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.contactcenterinsights.v1.ListViewsRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.contactcenterinsights.v1.ListViewsRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.contactcenterinsights.v1.ListViewsRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.contactcenterinsights.v1.ListViewsRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.contactcenterinsights.v1.ListViewsRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.contactcenterinsights.v1.ListViewsRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.contactcenterinsights.v1.ListViewsRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.contactcenterinsights.v1.ListViewsRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.contactcenterinsights.v1.ListViewsRequest prototype) { + + public static Builder newBuilder( + com.google.cloud.contactcenterinsights.v1.ListViewsRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * The request to list views.
    * 
* * Protobuf type {@code google.cloud.contactcenterinsights.v1.ListViewsRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.contactcenterinsights.v1.ListViewsRequest) com.google.cloud.contactcenterinsights.v1.ListViewsRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto.internal_static_google_cloud_contactcenterinsights_v1_ListViewsRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto + .internal_static_google_cloud_contactcenterinsights_v1_ListViewsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto.internal_static_google_cloud_contactcenterinsights_v1_ListViewsRequest_fieldAccessorTable + return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto + .internal_static_google_cloud_contactcenterinsights_v1_ListViewsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.contactcenterinsights.v1.ListViewsRequest.class, com.google.cloud.contactcenterinsights.v1.ListViewsRequest.Builder.class); + com.google.cloud.contactcenterinsights.v1.ListViewsRequest.class, + com.google.cloud.contactcenterinsights.v1.ListViewsRequest.Builder.class); } // Construct using com.google.cloud.contactcenterinsights.v1.ListViewsRequest.newBuilder() - private Builder() { - - } + private Builder() {} - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -385,9 +423,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto.internal_static_google_cloud_contactcenterinsights_v1_ListViewsRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto + .internal_static_google_cloud_contactcenterinsights_v1_ListViewsRequest_descriptor; } @java.lang.Override @@ -406,8 +444,11 @@ public com.google.cloud.contactcenterinsights.v1.ListViewsRequest build() { @java.lang.Override public com.google.cloud.contactcenterinsights.v1.ListViewsRequest buildPartial() { - com.google.cloud.contactcenterinsights.v1.ListViewsRequest result = new com.google.cloud.contactcenterinsights.v1.ListViewsRequest(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.cloud.contactcenterinsights.v1.ListViewsRequest result = + new com.google.cloud.contactcenterinsights.v1.ListViewsRequest(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } @@ -429,38 +470,39 @@ private void buildPartial0(com.google.cloud.contactcenterinsights.v1.ListViewsRe public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.contactcenterinsights.v1.ListViewsRequest) { - return mergeFrom((com.google.cloud.contactcenterinsights.v1.ListViewsRequest)other); + return mergeFrom((com.google.cloud.contactcenterinsights.v1.ListViewsRequest) other); } else { super.mergeFrom(other); return this; @@ -468,7 +510,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.contactcenterinsights.v1.ListViewsRequest other) { - if (other == com.google.cloud.contactcenterinsights.v1.ListViewsRequest.getDefaultInstance()) return this; + if (other == com.google.cloud.contactcenterinsights.v1.ListViewsRequest.getDefaultInstance()) + return this; if (!other.getParent().isEmpty()) { parent_ = other.parent_; bitField0_ |= 0x00000001; @@ -508,27 +551,31 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - parent_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 16: { - pageSize_ = input.readInt32(); - bitField0_ |= 0x00000002; - break; - } // case 16 - case 26: { - pageToken_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000004; - break; - } // case 26 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + parent_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 16: + { + pageSize_ = input.readInt32(); + bitField0_ |= 0x00000002; + break; + } // case 16 + case 26: + { + pageToken_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000004; + break; + } // case 26 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -538,22 +585,27 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private java.lang.Object parent_ = ""; /** + * + * *
      * Required. The parent resource of the views.
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The parent. */ public java.lang.String getParent() { java.lang.Object ref = parent_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; @@ -562,20 +614,23 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. The parent resource of the views.
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for parent. */ - public com.google.protobuf.ByteString - getParentBytes() { + public com.google.protobuf.ByteString getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); parent_ = b; return b; } else { @@ -583,28 +638,39 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. The parent resource of the views.
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The parent to set. * @return This builder for chaining. */ - public Builder setParent( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setParent(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } parent_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
      * Required. The parent resource of the views.
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return This builder for chaining. */ public Builder clearParent() { @@ -614,17 +680,23 @@ public Builder clearParent() { return this; } /** + * + * *
      * Required. The parent resource of the views.
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setParentBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); parent_ = value; bitField0_ |= 0x00000001; @@ -632,8 +704,10 @@ public Builder setParentBytes( return this; } - private int pageSize_ ; + private int pageSize_; /** + * + * *
      * The maximum number of views to return in the response. If this
      * value is zero, the service will select a default size. A call may return
@@ -642,6 +716,7 @@ public Builder setParentBytes(
      * 
* * int32 page_size = 2; + * * @return The pageSize. */ @java.lang.Override @@ -649,6 +724,8 @@ public int getPageSize() { return pageSize_; } /** + * + * *
      * The maximum number of views to return in the response. If this
      * value is zero, the service will select a default size. A call may return
@@ -657,17 +734,20 @@ public int getPageSize() {
      * 
* * int32 page_size = 2; + * * @param value The pageSize to set. * @return This builder for chaining. */ public Builder setPageSize(int value) { - + pageSize_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** + * + * *
      * The maximum number of views to return in the response. If this
      * value is zero, the service will select a default size. A call may return
@@ -676,6 +756,7 @@ public Builder setPageSize(int value) {
      * 
* * int32 page_size = 2; + * * @return This builder for chaining. */ public Builder clearPageSize() { @@ -687,6 +768,8 @@ public Builder clearPageSize() { private java.lang.Object pageToken_ = ""; /** + * + * *
      * The value returned by the last `ListViewsResponse`; indicates
      * that this is a continuation of a prior `ListViews` call and
@@ -694,13 +777,13 @@ public Builder clearPageSize() {
      * 
* * string page_token = 3; + * * @return The pageToken. */ public java.lang.String getPageToken() { java.lang.Object ref = pageToken_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); pageToken_ = s; return s; @@ -709,6 +792,8 @@ public java.lang.String getPageToken() { } } /** + * + * *
      * The value returned by the last `ListViewsResponse`; indicates
      * that this is a continuation of a prior `ListViews` call and
@@ -716,15 +801,14 @@ public java.lang.String getPageToken() {
      * 
* * string page_token = 3; + * * @return The bytes for pageToken. */ - public com.google.protobuf.ByteString - getPageTokenBytes() { + public com.google.protobuf.ByteString getPageTokenBytes() { java.lang.Object ref = pageToken_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); pageToken_ = b; return b; } else { @@ -732,6 +816,8 @@ public java.lang.String getPageToken() { } } /** + * + * *
      * The value returned by the last `ListViewsResponse`; indicates
      * that this is a continuation of a prior `ListViews` call and
@@ -739,18 +825,22 @@ public java.lang.String getPageToken() {
      * 
* * string page_token = 3; + * * @param value The pageToken to set. * @return This builder for chaining. */ - public Builder setPageToken( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setPageToken(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } pageToken_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } /** + * + * *
      * The value returned by the last `ListViewsResponse`; indicates
      * that this is a continuation of a prior `ListViews` call and
@@ -758,6 +848,7 @@ public Builder setPageToken(
      * 
* * string page_token = 3; + * * @return This builder for chaining. */ public Builder clearPageToken() { @@ -767,6 +858,8 @@ public Builder clearPageToken() { return this; } /** + * + * *
      * The value returned by the last `ListViewsResponse`; indicates
      * that this is a continuation of a prior `ListViews` call and
@@ -774,21 +867,23 @@ public Builder clearPageToken() {
      * 
* * string page_token = 3; + * * @param value The bytes for pageToken to set. * @return This builder for chaining. */ - public Builder setPageTokenBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setPageTokenBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); pageToken_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -798,12 +893,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.contactcenterinsights.v1.ListViewsRequest) } // @@protoc_insertion_point(class_scope:google.cloud.contactcenterinsights.v1.ListViewsRequest) private static final com.google.cloud.contactcenterinsights.v1.ListViewsRequest DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.contactcenterinsights.v1.ListViewsRequest(); } @@ -812,27 +907,27 @@ public static com.google.cloud.contactcenterinsights.v1.ListViewsRequest getDefa return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListViewsRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListViewsRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -847,6 +942,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.contactcenterinsights.v1.ListViewsRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ListViewsRequestOrBuilder.java b/java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ListViewsRequestOrBuilder.java similarity index 60% rename from owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ListViewsRequestOrBuilder.java rename to java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ListViewsRequestOrBuilder.java index 30af1d7266af..ea56b54c53c3 100644 --- a/owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ListViewsRequestOrBuilder.java +++ b/java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ListViewsRequestOrBuilder.java @@ -1,33 +1,60 @@ +/* + * 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. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/contactcenterinsights/v1/contact_center_insights.proto package com.google.cloud.contactcenterinsights.v1; -public interface ListViewsRequestOrBuilder extends +public interface ListViewsRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.contactcenterinsights.v1.ListViewsRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Required. The parent resource of the views.
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The parent. */ java.lang.String getParent(); /** + * + * *
    * Required. The parent resource of the views.
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for parent. */ - com.google.protobuf.ByteString - getParentBytes(); + com.google.protobuf.ByteString getParentBytes(); /** + * + * *
    * The maximum number of views to return in the response. If this
    * value is zero, the service will select a default size. A call may return
@@ -36,11 +63,14 @@ public interface ListViewsRequestOrBuilder extends
    * 
* * int32 page_size = 2; + * * @return The pageSize. */ int getPageSize(); /** + * + * *
    * The value returned by the last `ListViewsResponse`; indicates
    * that this is a continuation of a prior `ListViews` call and
@@ -48,10 +78,13 @@ public interface ListViewsRequestOrBuilder extends
    * 
* * string page_token = 3; + * * @return The pageToken. */ java.lang.String getPageToken(); /** + * + * *
    * The value returned by the last `ListViewsResponse`; indicates
    * that this is a continuation of a prior `ListViews` call and
@@ -59,8 +92,8 @@ public interface ListViewsRequestOrBuilder extends
    * 
* * string page_token = 3; + * * @return The bytes for pageToken. */ - com.google.protobuf.ByteString - getPageTokenBytes(); + com.google.protobuf.ByteString getPageTokenBytes(); } diff --git a/owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ListViewsResponse.java b/java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ListViewsResponse.java similarity index 71% rename from owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ListViewsResponse.java rename to java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ListViewsResponse.java index f0dfce3ce23e..2a5445173890 100644 --- a/owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ListViewsResponse.java +++ b/java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ListViewsResponse.java @@ -1,24 +1,42 @@ +/* + * 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. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/contactcenterinsights/v1/contact_center_insights.proto package com.google.cloud.contactcenterinsights.v1; /** + * + * *
  * The response of listing views.
  * 
* * Protobuf type {@code google.cloud.contactcenterinsights.v1.ListViewsResponse} */ -public final class ListViewsResponse extends - com.google.protobuf.GeneratedMessageV3 implements +public final class ListViewsResponse extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.contactcenterinsights.v1.ListViewsResponse) ListViewsResponseOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use ListViewsResponse.newBuilder() to construct. private ListViewsResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private ListViewsResponse() { views_ = java.util.Collections.emptyList(); nextPageToken_ = ""; @@ -26,33 +44,37 @@ private ListViewsResponse() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ListViewsResponse(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto.internal_static_google_cloud_contactcenterinsights_v1_ListViewsResponse_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto + .internal_static_google_cloud_contactcenterinsights_v1_ListViewsResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto.internal_static_google_cloud_contactcenterinsights_v1_ListViewsResponse_fieldAccessorTable + return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto + .internal_static_google_cloud_contactcenterinsights_v1_ListViewsResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.contactcenterinsights.v1.ListViewsResponse.class, com.google.cloud.contactcenterinsights.v1.ListViewsResponse.Builder.class); + com.google.cloud.contactcenterinsights.v1.ListViewsResponse.class, + com.google.cloud.contactcenterinsights.v1.ListViewsResponse.Builder.class); } public static final int VIEWS_FIELD_NUMBER = 1; + @SuppressWarnings("serial") private java.util.List views_; /** + * + * *
    * The views that match the request.
    * 
@@ -64,6 +86,8 @@ public java.util.List getViewsLi return views_; } /** + * + * *
    * The views that match the request.
    * 
@@ -71,11 +95,13 @@ public java.util.List getViewsLi * repeated .google.cloud.contactcenterinsights.v1.View views = 1; */ @java.lang.Override - public java.util.List + public java.util.List getViewsOrBuilderList() { return views_; } /** + * + * *
    * The views that match the request.
    * 
@@ -87,6 +113,8 @@ public int getViewsCount() { return views_.size(); } /** + * + * *
    * The views that match the request.
    * 
@@ -98,6 +126,8 @@ public com.google.cloud.contactcenterinsights.v1.View getViews(int index) { return views_.get(index); } /** + * + * *
    * The views that match the request.
    * 
@@ -105,21 +135,24 @@ public com.google.cloud.contactcenterinsights.v1.View getViews(int index) { * repeated .google.cloud.contactcenterinsights.v1.View views = 1; */ @java.lang.Override - public com.google.cloud.contactcenterinsights.v1.ViewOrBuilder getViewsOrBuilder( - int index) { + public com.google.cloud.contactcenterinsights.v1.ViewOrBuilder getViewsOrBuilder(int index) { return views_.get(index); } public static final int NEXT_PAGE_TOKEN_FIELD_NUMBER = 2; + @SuppressWarnings("serial") private volatile java.lang.Object nextPageToken_ = ""; /** + * + * *
    * A token, which can be sent as `page_token` to retrieve the next page.
    * If this field is omitted, there are no subsequent pages.
    * 
* * string next_page_token = 2; + * * @return The nextPageToken. */ @java.lang.Override @@ -128,30 +161,30 @@ public java.lang.String getNextPageToken() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); nextPageToken_ = s; return s; } } /** + * + * *
    * A token, which can be sent as `page_token` to retrieve the next page.
    * If this field is omitted, there are no subsequent pages.
    * 
* * string next_page_token = 2; + * * @return The bytes for nextPageToken. */ @java.lang.Override - public com.google.protobuf.ByteString - getNextPageTokenBytes() { + public com.google.protobuf.ByteString getNextPageTokenBytes() { java.lang.Object ref = nextPageToken_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); nextPageToken_ = b; return b; } else { @@ -160,6 +193,7 @@ public java.lang.String getNextPageToken() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -171,8 +205,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { for (int i = 0; i < views_.size(); i++) { output.writeMessage(1, views_.get(i)); } @@ -189,8 +222,7 @@ public int getSerializedSize() { size = 0; for (int i = 0; i < views_.size(); i++) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, views_.get(i)); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, views_.get(i)); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(nextPageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, nextPageToken_); @@ -203,17 +235,16 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.contactcenterinsights.v1.ListViewsResponse)) { return super.equals(obj); } - com.google.cloud.contactcenterinsights.v1.ListViewsResponse other = (com.google.cloud.contactcenterinsights.v1.ListViewsResponse) obj; + com.google.cloud.contactcenterinsights.v1.ListViewsResponse other = + (com.google.cloud.contactcenterinsights.v1.ListViewsResponse) obj; - if (!getViewsList() - .equals(other.getViewsList())) return false; - if (!getNextPageToken() - .equals(other.getNextPageToken())) return false; + if (!getViewsList().equals(other.getViewsList())) return false; + if (!getNextPageToken().equals(other.getNextPageToken())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -237,129 +268,136 @@ public int hashCode() { } public static com.google.cloud.contactcenterinsights.v1.ListViewsResponse parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.contactcenterinsights.v1.ListViewsResponse parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.contactcenterinsights.v1.ListViewsResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.contactcenterinsights.v1.ListViewsResponse parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.contactcenterinsights.v1.ListViewsResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.contactcenterinsights.v1.ListViewsResponse parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.contactcenterinsights.v1.ListViewsResponse parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.contactcenterinsights.v1.ListViewsResponse parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.contactcenterinsights.v1.ListViewsResponse parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.contactcenterinsights.v1.ListViewsResponse parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.contactcenterinsights.v1.ListViewsResponse parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.contactcenterinsights.v1.ListViewsResponse parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.contactcenterinsights.v1.ListViewsResponse parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.contactcenterinsights.v1.ListViewsResponse parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.contactcenterinsights.v1.ListViewsResponse prototype) { + + public static Builder newBuilder( + com.google.cloud.contactcenterinsights.v1.ListViewsResponse prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * The response of listing views.
    * 
* * Protobuf type {@code google.cloud.contactcenterinsights.v1.ListViewsResponse} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.contactcenterinsights.v1.ListViewsResponse) com.google.cloud.contactcenterinsights.v1.ListViewsResponseOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto.internal_static_google_cloud_contactcenterinsights_v1_ListViewsResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto + .internal_static_google_cloud_contactcenterinsights_v1_ListViewsResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto.internal_static_google_cloud_contactcenterinsights_v1_ListViewsResponse_fieldAccessorTable + return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto + .internal_static_google_cloud_contactcenterinsights_v1_ListViewsResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.contactcenterinsights.v1.ListViewsResponse.class, com.google.cloud.contactcenterinsights.v1.ListViewsResponse.Builder.class); + com.google.cloud.contactcenterinsights.v1.ListViewsResponse.class, + com.google.cloud.contactcenterinsights.v1.ListViewsResponse.Builder.class); } // Construct using com.google.cloud.contactcenterinsights.v1.ListViewsResponse.newBuilder() - private Builder() { + private Builder() {} - } - - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -376,9 +414,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto.internal_static_google_cloud_contactcenterinsights_v1_ListViewsResponse_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto + .internal_static_google_cloud_contactcenterinsights_v1_ListViewsResponse_descriptor; } @java.lang.Override @@ -397,14 +435,18 @@ public com.google.cloud.contactcenterinsights.v1.ListViewsResponse build() { @java.lang.Override public com.google.cloud.contactcenterinsights.v1.ListViewsResponse buildPartial() { - com.google.cloud.contactcenterinsights.v1.ListViewsResponse result = new com.google.cloud.contactcenterinsights.v1.ListViewsResponse(this); + com.google.cloud.contactcenterinsights.v1.ListViewsResponse result = + new com.google.cloud.contactcenterinsights.v1.ListViewsResponse(this); buildPartialRepeatedFields(result); - if (bitField0_ != 0) { buildPartial0(result); } + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } - private void buildPartialRepeatedFields(com.google.cloud.contactcenterinsights.v1.ListViewsResponse result) { + private void buildPartialRepeatedFields( + com.google.cloud.contactcenterinsights.v1.ListViewsResponse result) { if (viewsBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { views_ = java.util.Collections.unmodifiableList(views_); @@ -427,38 +469,39 @@ private void buildPartial0(com.google.cloud.contactcenterinsights.v1.ListViewsRe public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.contactcenterinsights.v1.ListViewsResponse) { - return mergeFrom((com.google.cloud.contactcenterinsights.v1.ListViewsResponse)other); + return mergeFrom((com.google.cloud.contactcenterinsights.v1.ListViewsResponse) other); } else { super.mergeFrom(other); return this; @@ -466,7 +509,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.contactcenterinsights.v1.ListViewsResponse other) { - if (other == com.google.cloud.contactcenterinsights.v1.ListViewsResponse.getDefaultInstance()) return this; + if (other == com.google.cloud.contactcenterinsights.v1.ListViewsResponse.getDefaultInstance()) + return this; if (viewsBuilder_ == null) { if (!other.views_.isEmpty()) { if (views_.isEmpty()) { @@ -485,9 +529,10 @@ public Builder mergeFrom(com.google.cloud.contactcenterinsights.v1.ListViewsResp viewsBuilder_ = null; views_ = other.views_; bitField0_ = (bitField0_ & ~0x00000001); - viewsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? - getViewsFieldBuilder() : null; + viewsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders + ? getViewsFieldBuilder() + : null; } else { viewsBuilder_.addAllMessages(other.views_); } @@ -524,30 +569,32 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - com.google.cloud.contactcenterinsights.v1.View m = - input.readMessage( - com.google.cloud.contactcenterinsights.v1.View.parser(), - extensionRegistry); - if (viewsBuilder_ == null) { - ensureViewsIsMutable(); - views_.add(m); - } else { - viewsBuilder_.addMessage(m); - } - break; - } // case 10 - case 18: { - nextPageToken_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000002; - break; - } // case 18 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + com.google.cloud.contactcenterinsights.v1.View m = + input.readMessage( + com.google.cloud.contactcenterinsights.v1.View.parser(), extensionRegistry); + if (viewsBuilder_ == null) { + ensureViewsIsMutable(); + views_.add(m); + } else { + viewsBuilder_.addMessage(m); + } + break; + } // case 10 + case 18: + { + nextPageToken_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + break; + } // case 18 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -557,21 +604,28 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private java.util.List views_ = - java.util.Collections.emptyList(); + java.util.Collections.emptyList(); + private void ensureViewsIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { views_ = new java.util.ArrayList(views_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.contactcenterinsights.v1.View, com.google.cloud.contactcenterinsights.v1.View.Builder, com.google.cloud.contactcenterinsights.v1.ViewOrBuilder> viewsBuilder_; + com.google.cloud.contactcenterinsights.v1.View, + com.google.cloud.contactcenterinsights.v1.View.Builder, + com.google.cloud.contactcenterinsights.v1.ViewOrBuilder> + viewsBuilder_; /** + * + * *
      * The views that match the request.
      * 
@@ -586,6 +640,8 @@ public java.util.List getViewsLi } } /** + * + * *
      * The views that match the request.
      * 
@@ -600,6 +656,8 @@ public int getViewsCount() { } } /** + * + * *
      * The views that match the request.
      * 
@@ -614,14 +672,15 @@ public com.google.cloud.contactcenterinsights.v1.View getViews(int index) { } } /** + * + * *
      * The views that match the request.
      * 
* * repeated .google.cloud.contactcenterinsights.v1.View views = 1; */ - public Builder setViews( - int index, com.google.cloud.contactcenterinsights.v1.View value) { + public Builder setViews(int index, com.google.cloud.contactcenterinsights.v1.View value) { if (viewsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -635,6 +694,8 @@ public Builder setViews( return this; } /** + * + * *
      * The views that match the request.
      * 
@@ -653,6 +714,8 @@ public Builder setViews( return this; } /** + * + * *
      * The views that match the request.
      * 
@@ -673,14 +736,15 @@ public Builder addViews(com.google.cloud.contactcenterinsights.v1.View value) { return this; } /** + * + * *
      * The views that match the request.
      * 
* * repeated .google.cloud.contactcenterinsights.v1.View views = 1; */ - public Builder addViews( - int index, com.google.cloud.contactcenterinsights.v1.View value) { + public Builder addViews(int index, com.google.cloud.contactcenterinsights.v1.View value) { if (viewsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -694,6 +758,8 @@ public Builder addViews( return this; } /** + * + * *
      * The views that match the request.
      * 
@@ -712,6 +778,8 @@ public Builder addViews( return this; } /** + * + * *
      * The views that match the request.
      * 
@@ -730,6 +798,8 @@ public Builder addViews( return this; } /** + * + * *
      * The views that match the request.
      * 
@@ -740,8 +810,7 @@ public Builder addAllViews( java.lang.Iterable values) { if (viewsBuilder_ == null) { ensureViewsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, views_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, views_); onChanged(); } else { viewsBuilder_.addAllMessages(values); @@ -749,6 +818,8 @@ public Builder addAllViews( return this; } /** + * + * *
      * The views that match the request.
      * 
@@ -766,6 +837,8 @@ public Builder clearViews() { return this; } /** + * + * *
      * The views that match the request.
      * 
@@ -783,39 +856,44 @@ public Builder removeViews(int index) { return this; } /** + * + * *
      * The views that match the request.
      * 
* * repeated .google.cloud.contactcenterinsights.v1.View views = 1; */ - public com.google.cloud.contactcenterinsights.v1.View.Builder getViewsBuilder( - int index) { + public com.google.cloud.contactcenterinsights.v1.View.Builder getViewsBuilder(int index) { return getViewsFieldBuilder().getBuilder(index); } /** + * + * *
      * The views that match the request.
      * 
* * repeated .google.cloud.contactcenterinsights.v1.View views = 1; */ - public com.google.cloud.contactcenterinsights.v1.ViewOrBuilder getViewsOrBuilder( - int index) { + public com.google.cloud.contactcenterinsights.v1.ViewOrBuilder getViewsOrBuilder(int index) { if (viewsBuilder_ == null) { - return views_.get(index); } else { + return views_.get(index); + } else { return viewsBuilder_.getMessageOrBuilder(index); } } /** + * + * *
      * The views that match the request.
      * 
* * repeated .google.cloud.contactcenterinsights.v1.View views = 1; */ - public java.util.List - getViewsOrBuilderList() { + public java.util.List + getViewsOrBuilderList() { if (viewsBuilder_ != null) { return viewsBuilder_.getMessageOrBuilderList(); } else { @@ -823,6 +901,8 @@ public com.google.cloud.contactcenterinsights.v1.ViewOrBuilder getViewsOrBuilder } } /** + * + * *
      * The views that match the request.
      * 
@@ -830,42 +910,48 @@ public com.google.cloud.contactcenterinsights.v1.ViewOrBuilder getViewsOrBuilder * repeated .google.cloud.contactcenterinsights.v1.View views = 1; */ public com.google.cloud.contactcenterinsights.v1.View.Builder addViewsBuilder() { - return getViewsFieldBuilder().addBuilder( - com.google.cloud.contactcenterinsights.v1.View.getDefaultInstance()); + return getViewsFieldBuilder() + .addBuilder(com.google.cloud.contactcenterinsights.v1.View.getDefaultInstance()); } /** + * + * *
      * The views that match the request.
      * 
* * repeated .google.cloud.contactcenterinsights.v1.View views = 1; */ - public com.google.cloud.contactcenterinsights.v1.View.Builder addViewsBuilder( - int index) { - return getViewsFieldBuilder().addBuilder( - index, com.google.cloud.contactcenterinsights.v1.View.getDefaultInstance()); + public com.google.cloud.contactcenterinsights.v1.View.Builder addViewsBuilder(int index) { + return getViewsFieldBuilder() + .addBuilder(index, com.google.cloud.contactcenterinsights.v1.View.getDefaultInstance()); } /** + * + * *
      * The views that match the request.
      * 
* * repeated .google.cloud.contactcenterinsights.v1.View views = 1; */ - public java.util.List - getViewsBuilderList() { + public java.util.List + getViewsBuilderList() { return getViewsFieldBuilder().getBuilderList(); } + private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.contactcenterinsights.v1.View, com.google.cloud.contactcenterinsights.v1.View.Builder, com.google.cloud.contactcenterinsights.v1.ViewOrBuilder> + com.google.cloud.contactcenterinsights.v1.View, + com.google.cloud.contactcenterinsights.v1.View.Builder, + com.google.cloud.contactcenterinsights.v1.ViewOrBuilder> getViewsFieldBuilder() { if (viewsBuilder_ == null) { - viewsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.contactcenterinsights.v1.View, com.google.cloud.contactcenterinsights.v1.View.Builder, com.google.cloud.contactcenterinsights.v1.ViewOrBuilder>( - views_, - ((bitField0_ & 0x00000001) != 0), - getParentForChildren(), - isClean()); + viewsBuilder_ = + new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.contactcenterinsights.v1.View, + com.google.cloud.contactcenterinsights.v1.View.Builder, + com.google.cloud.contactcenterinsights.v1.ViewOrBuilder>( + views_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); views_ = null; } return viewsBuilder_; @@ -873,19 +959,21 @@ public com.google.cloud.contactcenterinsights.v1.View.Builder addViewsBuilder( private java.lang.Object nextPageToken_ = ""; /** + * + * *
      * A token, which can be sent as `page_token` to retrieve the next page.
      * If this field is omitted, there are no subsequent pages.
      * 
* * string next_page_token = 2; + * * @return The nextPageToken. */ public java.lang.String getNextPageToken() { java.lang.Object ref = nextPageToken_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); nextPageToken_ = s; return s; @@ -894,21 +982,22 @@ public java.lang.String getNextPageToken() { } } /** + * + * *
      * A token, which can be sent as `page_token` to retrieve the next page.
      * If this field is omitted, there are no subsequent pages.
      * 
* * string next_page_token = 2; + * * @return The bytes for nextPageToken. */ - public com.google.protobuf.ByteString - getNextPageTokenBytes() { + public com.google.protobuf.ByteString getNextPageTokenBytes() { java.lang.Object ref = nextPageToken_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); nextPageToken_ = b; return b; } else { @@ -916,30 +1005,37 @@ public java.lang.String getNextPageToken() { } } /** + * + * *
      * A token, which can be sent as `page_token` to retrieve the next page.
      * If this field is omitted, there are no subsequent pages.
      * 
* * string next_page_token = 2; + * * @param value The nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageToken( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setNextPageToken(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } nextPageToken_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** + * + * *
      * A token, which can be sent as `page_token` to retrieve the next page.
      * If this field is omitted, there are no subsequent pages.
      * 
* * string next_page_token = 2; + * * @return This builder for chaining. */ public Builder clearNextPageToken() { @@ -949,27 +1045,31 @@ public Builder clearNextPageToken() { return this; } /** + * + * *
      * A token, which can be sent as `page_token` to retrieve the next page.
      * If this field is omitted, there are no subsequent pages.
      * 
* * string next_page_token = 2; + * * @param value The bytes for nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageTokenBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setNextPageTokenBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); nextPageToken_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -979,12 +1079,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.contactcenterinsights.v1.ListViewsResponse) } // @@protoc_insertion_point(class_scope:google.cloud.contactcenterinsights.v1.ListViewsResponse) private static final com.google.cloud.contactcenterinsights.v1.ListViewsResponse DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.contactcenterinsights.v1.ListViewsResponse(); } @@ -993,27 +1093,27 @@ public static com.google.cloud.contactcenterinsights.v1.ListViewsResponse getDef return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListViewsResponse parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListViewsResponse parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1028,6 +1128,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.contactcenterinsights.v1.ListViewsResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ListViewsResponseOrBuilder.java b/java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ListViewsResponseOrBuilder.java similarity index 70% rename from owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ListViewsResponseOrBuilder.java rename to java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ListViewsResponseOrBuilder.java index 864c935217c7..7bdecae07408 100644 --- a/owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ListViewsResponseOrBuilder.java +++ b/java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ListViewsResponseOrBuilder.java @@ -1,22 +1,41 @@ +/* + * 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. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/contactcenterinsights/v1/contact_center_insights.proto package com.google.cloud.contactcenterinsights.v1; -public interface ListViewsResponseOrBuilder extends +public interface ListViewsResponseOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.contactcenterinsights.v1.ListViewsResponse) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * The views that match the request.
    * 
* * repeated .google.cloud.contactcenterinsights.v1.View views = 1; */ - java.util.List - getViewsList(); + java.util.List getViewsList(); /** + * + * *
    * The views that match the request.
    * 
@@ -25,6 +44,8 @@ public interface ListViewsResponseOrBuilder extends */ com.google.cloud.contactcenterinsights.v1.View getViews(int index); /** + * + * *
    * The views that match the request.
    * 
@@ -33,43 +54,51 @@ public interface ListViewsResponseOrBuilder extends */ int getViewsCount(); /** + * + * *
    * The views that match the request.
    * 
* * repeated .google.cloud.contactcenterinsights.v1.View views = 1; */ - java.util.List + java.util.List getViewsOrBuilderList(); /** + * + * *
    * The views that match the request.
    * 
* * repeated .google.cloud.contactcenterinsights.v1.View views = 1; */ - com.google.cloud.contactcenterinsights.v1.ViewOrBuilder getViewsOrBuilder( - int index); + com.google.cloud.contactcenterinsights.v1.ViewOrBuilder getViewsOrBuilder(int index); /** + * + * *
    * A token, which can be sent as `page_token` to retrieve the next page.
    * If this field is omitted, there are no subsequent pages.
    * 
* * string next_page_token = 2; + * * @return The nextPageToken. */ java.lang.String getNextPageToken(); /** + * + * *
    * A token, which can be sent as `page_token` to retrieve the next page.
    * If this field is omitted, there are no subsequent pages.
    * 
* * string next_page_token = 2; + * * @return The bytes for nextPageToken. */ - com.google.protobuf.ByteString - getNextPageTokenBytes(); + com.google.protobuf.ByteString getNextPageTokenBytes(); } diff --git a/owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/LocationName.java b/java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/LocationName.java similarity index 100% rename from owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/LocationName.java rename to java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/LocationName.java diff --git a/owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/PhraseMatchData.java b/java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/PhraseMatchData.java similarity index 68% rename from owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/PhraseMatchData.java rename to java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/PhraseMatchData.java index 069cb6ba554a..8cf5b5b21aca 100644 --- a/owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/PhraseMatchData.java +++ b/java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/PhraseMatchData.java @@ -1,9 +1,26 @@ +/* + * 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. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/contactcenterinsights/v1/resources.proto package com.google.cloud.contactcenterinsights.v1; /** + * + * *
  * The data for a matched phrase matcher.
  * Represents information identifying a phrase matcher for a given match.
@@ -11,15 +28,16 @@
  *
  * Protobuf type {@code google.cloud.contactcenterinsights.v1.PhraseMatchData}
  */
-public final class PhraseMatchData extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class PhraseMatchData extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.cloud.contactcenterinsights.v1.PhraseMatchData)
     PhraseMatchDataOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use PhraseMatchData.newBuilder() to construct.
   private PhraseMatchData(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
+
   private PhraseMatchData() {
     phraseMatcher_ = "";
     displayName_ = "";
@@ -27,38 +45,43 @@ private PhraseMatchData() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new PhraseMatchData();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet
-  getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
     return this.unknownFields;
   }
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.cloud.contactcenterinsights.v1.ResourcesProto.internal_static_google_cloud_contactcenterinsights_v1_PhraseMatchData_descriptor;
+
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.cloud.contactcenterinsights.v1.ResourcesProto
+        .internal_static_google_cloud_contactcenterinsights_v1_PhraseMatchData_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.contactcenterinsights.v1.ResourcesProto.internal_static_google_cloud_contactcenterinsights_v1_PhraseMatchData_fieldAccessorTable
+    return com.google.cloud.contactcenterinsights.v1.ResourcesProto
+        .internal_static_google_cloud_contactcenterinsights_v1_PhraseMatchData_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.contactcenterinsights.v1.PhraseMatchData.class, com.google.cloud.contactcenterinsights.v1.PhraseMatchData.Builder.class);
+            com.google.cloud.contactcenterinsights.v1.PhraseMatchData.class,
+            com.google.cloud.contactcenterinsights.v1.PhraseMatchData.Builder.class);
   }
 
   public static final int PHRASE_MATCHER_FIELD_NUMBER = 1;
+
   @SuppressWarnings("serial")
   private volatile java.lang.Object phraseMatcher_ = "";
   /**
+   *
+   *
    * 
    * The unique identifier (the resource name) of the phrase matcher.
    * 
* * string phrase_matcher = 1; + * * @return The phraseMatcher. */ @java.lang.Override @@ -67,29 +90,29 @@ public java.lang.String getPhraseMatcher() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); phraseMatcher_ = s; return s; } } /** + * + * *
    * The unique identifier (the resource name) of the phrase matcher.
    * 
* * string phrase_matcher = 1; + * * @return The bytes for phraseMatcher. */ @java.lang.Override - public com.google.protobuf.ByteString - getPhraseMatcherBytes() { + public com.google.protobuf.ByteString getPhraseMatcherBytes() { java.lang.Object ref = phraseMatcher_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); phraseMatcher_ = b; return b; } else { @@ -98,14 +121,18 @@ public java.lang.String getPhraseMatcher() { } public static final int DISPLAY_NAME_FIELD_NUMBER = 2; + @SuppressWarnings("serial") private volatile java.lang.Object displayName_ = ""; /** + * + * *
    * The human-readable name of the phrase matcher.
    * 
* * string display_name = 2; + * * @return The displayName. */ @java.lang.Override @@ -114,29 +141,29 @@ public java.lang.String getDisplayName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); displayName_ = s; return s; } } /** + * + * *
    * The human-readable name of the phrase matcher.
    * 
* * string display_name = 2; + * * @return The bytes for displayName. */ @java.lang.Override - public com.google.protobuf.ByteString - getDisplayNameBytes() { + public com.google.protobuf.ByteString getDisplayNameBytes() { java.lang.Object ref = displayName_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); displayName_ = b; return b; } else { @@ -145,6 +172,7 @@ public java.lang.String getDisplayName() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -156,8 +184,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(phraseMatcher_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, phraseMatcher_); } @@ -187,17 +214,16 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.contactcenterinsights.v1.PhraseMatchData)) { return super.equals(obj); } - com.google.cloud.contactcenterinsights.v1.PhraseMatchData other = (com.google.cloud.contactcenterinsights.v1.PhraseMatchData) obj; + com.google.cloud.contactcenterinsights.v1.PhraseMatchData other = + (com.google.cloud.contactcenterinsights.v1.PhraseMatchData) obj; - if (!getPhraseMatcher() - .equals(other.getPhraseMatcher())) return false; - if (!getDisplayName() - .equals(other.getDisplayName())) return false; + if (!getPhraseMatcher().equals(other.getPhraseMatcher())) return false; + if (!getDisplayName().equals(other.getDisplayName())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -219,96 +245,104 @@ public int hashCode() { } public static com.google.cloud.contactcenterinsights.v1.PhraseMatchData parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.contactcenterinsights.v1.PhraseMatchData parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.contactcenterinsights.v1.PhraseMatchData parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.contactcenterinsights.v1.PhraseMatchData parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.contactcenterinsights.v1.PhraseMatchData parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.contactcenterinsights.v1.PhraseMatchData parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.contactcenterinsights.v1.PhraseMatchData parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.contactcenterinsights.v1.PhraseMatchData parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.contactcenterinsights.v1.PhraseMatchData parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.contactcenterinsights.v1.PhraseMatchData parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.contactcenterinsights.v1.PhraseMatchData parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.contactcenterinsights.v1.PhraseMatchData parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.contactcenterinsights.v1.PhraseMatchData parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.contactcenterinsights.v1.PhraseMatchData parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.contactcenterinsights.v1.PhraseMatchData prototype) { + + public static Builder newBuilder( + com.google.cloud.contactcenterinsights.v1.PhraseMatchData prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * The data for a matched phrase matcher.
    * Represents information identifying a phrase matcher for a given match.
@@ -316,33 +350,32 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.cloud.contactcenterinsights.v1.PhraseMatchData}
    */
-  public static final class Builder extends
-      com.google.protobuf.GeneratedMessageV3.Builder implements
+  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
+      implements
       // @@protoc_insertion_point(builder_implements:google.cloud.contactcenterinsights.v1.PhraseMatchData)
       com.google.cloud.contactcenterinsights.v1.PhraseMatchDataOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.cloud.contactcenterinsights.v1.ResourcesProto.internal_static_google_cloud_contactcenterinsights_v1_PhraseMatchData_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.cloud.contactcenterinsights.v1.ResourcesProto
+          .internal_static_google_cloud_contactcenterinsights_v1_PhraseMatchData_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.contactcenterinsights.v1.ResourcesProto.internal_static_google_cloud_contactcenterinsights_v1_PhraseMatchData_fieldAccessorTable
+      return com.google.cloud.contactcenterinsights.v1.ResourcesProto
+          .internal_static_google_cloud_contactcenterinsights_v1_PhraseMatchData_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.contactcenterinsights.v1.PhraseMatchData.class, com.google.cloud.contactcenterinsights.v1.PhraseMatchData.Builder.class);
+              com.google.cloud.contactcenterinsights.v1.PhraseMatchData.class,
+              com.google.cloud.contactcenterinsights.v1.PhraseMatchData.Builder.class);
     }
 
     // Construct using com.google.cloud.contactcenterinsights.v1.PhraseMatchData.newBuilder()
-    private Builder() {
-
-    }
+    private Builder() {}
 
-    private Builder(
-        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
-
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -353,9 +386,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.cloud.contactcenterinsights.v1.ResourcesProto.internal_static_google_cloud_contactcenterinsights_v1_PhraseMatchData_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.cloud.contactcenterinsights.v1.ResourcesProto
+          .internal_static_google_cloud_contactcenterinsights_v1_PhraseMatchData_descriptor;
     }
 
     @java.lang.Override
@@ -374,8 +407,11 @@ public com.google.cloud.contactcenterinsights.v1.PhraseMatchData build() {
 
     @java.lang.Override
     public com.google.cloud.contactcenterinsights.v1.PhraseMatchData buildPartial() {
-      com.google.cloud.contactcenterinsights.v1.PhraseMatchData result = new com.google.cloud.contactcenterinsights.v1.PhraseMatchData(this);
-      if (bitField0_ != 0) { buildPartial0(result); }
+      com.google.cloud.contactcenterinsights.v1.PhraseMatchData result =
+          new com.google.cloud.contactcenterinsights.v1.PhraseMatchData(this);
+      if (bitField0_ != 0) {
+        buildPartial0(result);
+      }
       onBuilt();
       return result;
     }
@@ -394,38 +430,39 @@ private void buildPartial0(com.google.cloud.contactcenterinsights.v1.PhraseMatch
     public Builder clone() {
       return super.clone();
     }
+
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.setField(field, value);
     }
+
     @java.lang.Override
-    public Builder clearField(
-        com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
+
     @java.lang.Override
-    public Builder clearOneof(
-        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
+
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
+
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
+
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.cloud.contactcenterinsights.v1.PhraseMatchData) {
-        return mergeFrom((com.google.cloud.contactcenterinsights.v1.PhraseMatchData)other);
+        return mergeFrom((com.google.cloud.contactcenterinsights.v1.PhraseMatchData) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -433,7 +470,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.cloud.contactcenterinsights.v1.PhraseMatchData other) {
-      if (other == com.google.cloud.contactcenterinsights.v1.PhraseMatchData.getDefaultInstance()) return this;
+      if (other == com.google.cloud.contactcenterinsights.v1.PhraseMatchData.getDefaultInstance())
+        return this;
       if (!other.getPhraseMatcher().isEmpty()) {
         phraseMatcher_ = other.phraseMatcher_;
         bitField0_ |= 0x00000001;
@@ -470,22 +508,25 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10: {
-              phraseMatcher_ = input.readStringRequireUtf8();
-              bitField0_ |= 0x00000001;
-              break;
-            } // case 10
-            case 18: {
-              displayName_ = input.readStringRequireUtf8();
-              bitField0_ |= 0x00000002;
-              break;
-            } // case 18
-            default: {
-              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                done = true; // was an endgroup tag
-              }
-              break;
-            } // default:
+            case 10:
+              {
+                phraseMatcher_ = input.readStringRequireUtf8();
+                bitField0_ |= 0x00000001;
+                break;
+              } // case 10
+            case 18:
+              {
+                displayName_ = input.readStringRequireUtf8();
+                bitField0_ |= 0x00000002;
+                break;
+              } // case 18
+            default:
+              {
+                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                  done = true; // was an endgroup tag
+                }
+                break;
+              } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -495,22 +536,25 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
+
     private int bitField0_;
 
     private java.lang.Object phraseMatcher_ = "";
     /**
+     *
+     *
      * 
      * The unique identifier (the resource name) of the phrase matcher.
      * 
* * string phrase_matcher = 1; + * * @return The phraseMatcher. */ public java.lang.String getPhraseMatcher() { java.lang.Object ref = phraseMatcher_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); phraseMatcher_ = s; return s; @@ -519,20 +563,21 @@ public java.lang.String getPhraseMatcher() { } } /** + * + * *
      * The unique identifier (the resource name) of the phrase matcher.
      * 
* * string phrase_matcher = 1; + * * @return The bytes for phraseMatcher. */ - public com.google.protobuf.ByteString - getPhraseMatcherBytes() { + public com.google.protobuf.ByteString getPhraseMatcherBytes() { java.lang.Object ref = phraseMatcher_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); phraseMatcher_ = b; return b; } else { @@ -540,28 +585,35 @@ public java.lang.String getPhraseMatcher() { } } /** + * + * *
      * The unique identifier (the resource name) of the phrase matcher.
      * 
* * string phrase_matcher = 1; + * * @param value The phraseMatcher to set. * @return This builder for chaining. */ - public Builder setPhraseMatcher( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setPhraseMatcher(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } phraseMatcher_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
      * The unique identifier (the resource name) of the phrase matcher.
      * 
* * string phrase_matcher = 1; + * * @return This builder for chaining. */ public Builder clearPhraseMatcher() { @@ -571,17 +623,21 @@ public Builder clearPhraseMatcher() { return this; } /** + * + * *
      * The unique identifier (the resource name) of the phrase matcher.
      * 
* * string phrase_matcher = 1; + * * @param value The bytes for phraseMatcher to set. * @return This builder for chaining. */ - public Builder setPhraseMatcherBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setPhraseMatcherBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); phraseMatcher_ = value; bitField0_ |= 0x00000001; @@ -591,18 +647,20 @@ public Builder setPhraseMatcherBytes( private java.lang.Object displayName_ = ""; /** + * + * *
      * The human-readable name of the phrase matcher.
      * 
* * string display_name = 2; + * * @return The displayName. */ public java.lang.String getDisplayName() { java.lang.Object ref = displayName_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); displayName_ = s; return s; @@ -611,20 +669,21 @@ public java.lang.String getDisplayName() { } } /** + * + * *
      * The human-readable name of the phrase matcher.
      * 
* * string display_name = 2; + * * @return The bytes for displayName. */ - public com.google.protobuf.ByteString - getDisplayNameBytes() { + public com.google.protobuf.ByteString getDisplayNameBytes() { java.lang.Object ref = displayName_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); displayName_ = b; return b; } else { @@ -632,28 +691,35 @@ public java.lang.String getDisplayName() { } } /** + * + * *
      * The human-readable name of the phrase matcher.
      * 
* * string display_name = 2; + * * @param value The displayName to set. * @return This builder for chaining. */ - public Builder setDisplayName( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setDisplayName(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } displayName_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** + * + * *
      * The human-readable name of the phrase matcher.
      * 
* * string display_name = 2; + * * @return This builder for chaining. */ public Builder clearDisplayName() { @@ -663,26 +729,30 @@ public Builder clearDisplayName() { return this; } /** + * + * *
      * The human-readable name of the phrase matcher.
      * 
* * string display_name = 2; + * * @param value The bytes for displayName to set. * @return This builder for chaining. */ - public Builder setDisplayNameBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setDisplayNameBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); displayName_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -692,12 +762,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.contactcenterinsights.v1.PhraseMatchData) } // @@protoc_insertion_point(class_scope:google.cloud.contactcenterinsights.v1.PhraseMatchData) private static final com.google.cloud.contactcenterinsights.v1.PhraseMatchData DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.contactcenterinsights.v1.PhraseMatchData(); } @@ -706,27 +776,27 @@ public static com.google.cloud.contactcenterinsights.v1.PhraseMatchData getDefau return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public PhraseMatchData parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public PhraseMatchData parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -741,6 +811,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.contactcenterinsights.v1.PhraseMatchData getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/PhraseMatchDataOrBuilder.java b/java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/PhraseMatchDataOrBuilder.java similarity index 57% rename from owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/PhraseMatchDataOrBuilder.java rename to java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/PhraseMatchDataOrBuilder.java index b751257fe41d..0367f2efbebb 100644 --- a/owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/PhraseMatchDataOrBuilder.java +++ b/java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/PhraseMatchDataOrBuilder.java @@ -1,49 +1,75 @@ +/* + * 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. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/contactcenterinsights/v1/resources.proto package com.google.cloud.contactcenterinsights.v1; -public interface PhraseMatchDataOrBuilder extends +public interface PhraseMatchDataOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.contactcenterinsights.v1.PhraseMatchData) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * The unique identifier (the resource name) of the phrase matcher.
    * 
* * string phrase_matcher = 1; + * * @return The phraseMatcher. */ java.lang.String getPhraseMatcher(); /** + * + * *
    * The unique identifier (the resource name) of the phrase matcher.
    * 
* * string phrase_matcher = 1; + * * @return The bytes for phraseMatcher. */ - com.google.protobuf.ByteString - getPhraseMatcherBytes(); + com.google.protobuf.ByteString getPhraseMatcherBytes(); /** + * + * *
    * The human-readable name of the phrase matcher.
    * 
* * string display_name = 2; + * * @return The displayName. */ java.lang.String getDisplayName(); /** + * + * *
    * The human-readable name of the phrase matcher.
    * 
* * string display_name = 2; + * * @return The bytes for displayName. */ - com.google.protobuf.ByteString - getDisplayNameBytes(); + com.google.protobuf.ByteString getDisplayNameBytes(); } diff --git a/owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/PhraseMatchRule.java b/java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/PhraseMatchRule.java similarity index 69% rename from owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/PhraseMatchRule.java rename to java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/PhraseMatchRule.java index 08dfc19ed3a2..0e4b7de0de45 100644 --- a/owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/PhraseMatchRule.java +++ b/java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/PhraseMatchRule.java @@ -1,62 +1,85 @@ +/* + * 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. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/contactcenterinsights/v1/resources.proto package com.google.cloud.contactcenterinsights.v1; /** + * + * *
  * The data for a phrase match rule.
  * 
* * Protobuf type {@code google.cloud.contactcenterinsights.v1.PhraseMatchRule} */ -public final class PhraseMatchRule extends - com.google.protobuf.GeneratedMessageV3 implements +public final class PhraseMatchRule extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.contactcenterinsights.v1.PhraseMatchRule) PhraseMatchRuleOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use PhraseMatchRule.newBuilder() to construct. private PhraseMatchRule(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private PhraseMatchRule() { query_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new PhraseMatchRule(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.contactcenterinsights.v1.ResourcesProto.internal_static_google_cloud_contactcenterinsights_v1_PhraseMatchRule_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.contactcenterinsights.v1.ResourcesProto + .internal_static_google_cloud_contactcenterinsights_v1_PhraseMatchRule_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.contactcenterinsights.v1.ResourcesProto.internal_static_google_cloud_contactcenterinsights_v1_PhraseMatchRule_fieldAccessorTable + return com.google.cloud.contactcenterinsights.v1.ResourcesProto + .internal_static_google_cloud_contactcenterinsights_v1_PhraseMatchRule_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.contactcenterinsights.v1.PhraseMatchRule.class, com.google.cloud.contactcenterinsights.v1.PhraseMatchRule.Builder.class); + com.google.cloud.contactcenterinsights.v1.PhraseMatchRule.class, + com.google.cloud.contactcenterinsights.v1.PhraseMatchRule.Builder.class); } public static final int QUERY_FIELD_NUMBER = 1; + @SuppressWarnings("serial") private volatile java.lang.Object query_ = ""; /** + * + * *
    * Required. The phrase to be matched.
    * 
* * string query = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The query. */ @java.lang.Override @@ -65,29 +88,29 @@ public java.lang.String getQuery() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); query_ = s; return s; } } /** + * + * *
    * Required. The phrase to be matched.
    * 
* * string query = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for query. */ @java.lang.Override - public com.google.protobuf.ByteString - getQueryBytes() { + public com.google.protobuf.ByteString getQueryBytes() { java.lang.Object ref = query_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); query_ = b; return b; } else { @@ -98,12 +121,15 @@ public java.lang.String getQuery() { public static final int NEGATED_FIELD_NUMBER = 2; private boolean negated_ = false; /** + * + * *
    * Specifies whether the phrase must be missing from the transcript segment or
    * present in the transcript segment.
    * 
* * bool negated = 2; + * * @return The negated. */ @java.lang.Override @@ -114,12 +140,15 @@ public boolean getNegated() { public static final int CONFIG_FIELD_NUMBER = 3; private com.google.cloud.contactcenterinsights.v1.PhraseMatchRuleConfig config_; /** + * + * *
    * Provides additional information about the rule that specifies how to apply
    * the rule.
    * 
* * .google.cloud.contactcenterinsights.v1.PhraseMatchRuleConfig config = 3; + * * @return Whether the config field is set. */ @java.lang.Override @@ -127,19 +156,26 @@ public boolean hasConfig() { return config_ != null; } /** + * + * *
    * Provides additional information about the rule that specifies how to apply
    * the rule.
    * 
* * .google.cloud.contactcenterinsights.v1.PhraseMatchRuleConfig config = 3; + * * @return The config. */ @java.lang.Override public com.google.cloud.contactcenterinsights.v1.PhraseMatchRuleConfig getConfig() { - return config_ == null ? com.google.cloud.contactcenterinsights.v1.PhraseMatchRuleConfig.getDefaultInstance() : config_; + return config_ == null + ? com.google.cloud.contactcenterinsights.v1.PhraseMatchRuleConfig.getDefaultInstance() + : config_; } /** + * + * *
    * Provides additional information about the rule that specifies how to apply
    * the rule.
@@ -148,11 +184,15 @@ public com.google.cloud.contactcenterinsights.v1.PhraseMatchRuleConfig getConfig
    * .google.cloud.contactcenterinsights.v1.PhraseMatchRuleConfig config = 3;
    */
   @java.lang.Override
-  public com.google.cloud.contactcenterinsights.v1.PhraseMatchRuleConfigOrBuilder getConfigOrBuilder() {
-    return config_ == null ? com.google.cloud.contactcenterinsights.v1.PhraseMatchRuleConfig.getDefaultInstance() : config_;
+  public com.google.cloud.contactcenterinsights.v1.PhraseMatchRuleConfigOrBuilder
+      getConfigOrBuilder() {
+    return config_ == null
+        ? com.google.cloud.contactcenterinsights.v1.PhraseMatchRuleConfig.getDefaultInstance()
+        : config_;
   }
 
   private byte memoizedIsInitialized = -1;
+
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -164,8 +204,7 @@ public final boolean isInitialized() {
   }
 
   @java.lang.Override
-  public void writeTo(com.google.protobuf.CodedOutputStream output)
-                      throws java.io.IOException {
+  public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
     if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(query_)) {
       com.google.protobuf.GeneratedMessageV3.writeString(output, 1, query_);
     }
@@ -188,12 +227,10 @@ public int getSerializedSize() {
       size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, query_);
     }
     if (negated_ != false) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeBoolSize(2, negated_);
+      size += com.google.protobuf.CodedOutputStream.computeBoolSize(2, negated_);
     }
     if (config_ != null) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeMessageSize(3, getConfig());
+      size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getConfig());
     }
     size += getUnknownFields().getSerializedSize();
     memoizedSize = size;
@@ -203,21 +240,19 @@ public int getSerializedSize() {
   @java.lang.Override
   public boolean equals(final java.lang.Object obj) {
     if (obj == this) {
-     return true;
+      return true;
     }
     if (!(obj instanceof com.google.cloud.contactcenterinsights.v1.PhraseMatchRule)) {
       return super.equals(obj);
     }
-    com.google.cloud.contactcenterinsights.v1.PhraseMatchRule other = (com.google.cloud.contactcenterinsights.v1.PhraseMatchRule) obj;
+    com.google.cloud.contactcenterinsights.v1.PhraseMatchRule other =
+        (com.google.cloud.contactcenterinsights.v1.PhraseMatchRule) obj;
 
-    if (!getQuery()
-        .equals(other.getQuery())) return false;
-    if (getNegated()
-        != other.getNegated()) return false;
+    if (!getQuery().equals(other.getQuery())) return false;
+    if (getNegated() != other.getNegated()) return false;
     if (hasConfig() != other.hasConfig()) return false;
     if (hasConfig()) {
-      if (!getConfig()
-          .equals(other.getConfig())) return false;
+      if (!getConfig().equals(other.getConfig())) return false;
     }
     if (!getUnknownFields().equals(other.getUnknownFields())) return false;
     return true;
@@ -233,8 +268,7 @@ public int hashCode() {
     hash = (37 * hash) + QUERY_FIELD_NUMBER;
     hash = (53 * hash) + getQuery().hashCode();
     hash = (37 * hash) + NEGATED_FIELD_NUMBER;
-    hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(
-        getNegated());
+    hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getNegated());
     if (hasConfig()) {
       hash = (37 * hash) + CONFIG_FIELD_NUMBER;
       hash = (53 * hash) + getConfig().hashCode();
@@ -245,129 +279,136 @@ public int hashCode() {
   }
 
   public static com.google.cloud.contactcenterinsights.v1.PhraseMatchRule parseFrom(
-      java.nio.ByteBuffer data)
-      throws com.google.protobuf.InvalidProtocolBufferException {
+      java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.cloud.contactcenterinsights.v1.PhraseMatchRule parseFrom(
-      java.nio.ByteBuffer data,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
+
   public static com.google.cloud.contactcenterinsights.v1.PhraseMatchRule parseFrom(
       com.google.protobuf.ByteString data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.cloud.contactcenterinsights.v1.PhraseMatchRule parseFrom(
       com.google.protobuf.ByteString data,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
+
   public static com.google.cloud.contactcenterinsights.v1.PhraseMatchRule parseFrom(byte[] data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.cloud.contactcenterinsights.v1.PhraseMatchRule parseFrom(
-      byte[] data,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-  public static com.google.cloud.contactcenterinsights.v1.PhraseMatchRule parseFrom(java.io.InputStream input)
-      throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input);
+
+  public static com.google.cloud.contactcenterinsights.v1.PhraseMatchRule parseFrom(
+      java.io.InputStream input) throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
   }
+
   public static com.google.cloud.contactcenterinsights.v1.PhraseMatchRule parseFrom(
-      java.io.InputStream input,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
+        PARSER, input, extensionRegistry);
   }
-  public static com.google.cloud.contactcenterinsights.v1.PhraseMatchRule parseDelimitedFrom(java.io.InputStream input)
-      throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseDelimitedWithIOException(PARSER, input);
+
+  public static com.google.cloud.contactcenterinsights.v1.PhraseMatchRule parseDelimitedFrom(
+      java.io.InputStream input) throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
   }
+
   public static com.google.cloud.contactcenterinsights.v1.PhraseMatchRule parseDelimitedFrom(
-      java.io.InputStream input,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(
+        PARSER, input, extensionRegistry);
   }
+
   public static com.google.cloud.contactcenterinsights.v1.PhraseMatchRule parseFrom(
-      com.google.protobuf.CodedInputStream input)
-      throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input);
+      com.google.protobuf.CodedInputStream input) throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
   }
+
   public static com.google.cloud.contactcenterinsights.v1.PhraseMatchRule parseFrom(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
+        PARSER, input, extensionRegistry);
   }
 
   @java.lang.Override
-  public Builder newBuilderForType() { return newBuilder(); }
+  public Builder newBuilderForType() {
+    return newBuilder();
+  }
+
   public static Builder newBuilder() {
     return DEFAULT_INSTANCE.toBuilder();
   }
-  public static Builder newBuilder(com.google.cloud.contactcenterinsights.v1.PhraseMatchRule prototype) {
+
+  public static Builder newBuilder(
+      com.google.cloud.contactcenterinsights.v1.PhraseMatchRule prototype) {
     return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
   }
+
   @java.lang.Override
   public Builder toBuilder() {
-    return this == DEFAULT_INSTANCE
-        ? new Builder() : new Builder().mergeFrom(this);
+    return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
   }
 
   @java.lang.Override
-  protected Builder newBuilderForType(
-      com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+  protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
     Builder builder = new Builder(parent);
     return builder;
   }
   /**
+   *
+   *
    * 
    * The data for a phrase match rule.
    * 
* * Protobuf type {@code google.cloud.contactcenterinsights.v1.PhraseMatchRule} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.contactcenterinsights.v1.PhraseMatchRule) com.google.cloud.contactcenterinsights.v1.PhraseMatchRuleOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.contactcenterinsights.v1.ResourcesProto.internal_static_google_cloud_contactcenterinsights_v1_PhraseMatchRule_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.contactcenterinsights.v1.ResourcesProto + .internal_static_google_cloud_contactcenterinsights_v1_PhraseMatchRule_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.contactcenterinsights.v1.ResourcesProto.internal_static_google_cloud_contactcenterinsights_v1_PhraseMatchRule_fieldAccessorTable + return com.google.cloud.contactcenterinsights.v1.ResourcesProto + .internal_static_google_cloud_contactcenterinsights_v1_PhraseMatchRule_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.contactcenterinsights.v1.PhraseMatchRule.class, com.google.cloud.contactcenterinsights.v1.PhraseMatchRule.Builder.class); + com.google.cloud.contactcenterinsights.v1.PhraseMatchRule.class, + com.google.cloud.contactcenterinsights.v1.PhraseMatchRule.Builder.class); } // Construct using com.google.cloud.contactcenterinsights.v1.PhraseMatchRule.newBuilder() - private Builder() { + private Builder() {} - } - - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -383,9 +424,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.contactcenterinsights.v1.ResourcesProto.internal_static_google_cloud_contactcenterinsights_v1_PhraseMatchRule_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.contactcenterinsights.v1.ResourcesProto + .internal_static_google_cloud_contactcenterinsights_v1_PhraseMatchRule_descriptor; } @java.lang.Override @@ -404,8 +445,11 @@ public com.google.cloud.contactcenterinsights.v1.PhraseMatchRule build() { @java.lang.Override public com.google.cloud.contactcenterinsights.v1.PhraseMatchRule buildPartial() { - com.google.cloud.contactcenterinsights.v1.PhraseMatchRule result = new com.google.cloud.contactcenterinsights.v1.PhraseMatchRule(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.cloud.contactcenterinsights.v1.PhraseMatchRule result = + new com.google.cloud.contactcenterinsights.v1.PhraseMatchRule(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } @@ -419,9 +463,7 @@ private void buildPartial0(com.google.cloud.contactcenterinsights.v1.PhraseMatch result.negated_ = negated_; } if (((from_bitField0_ & 0x00000004) != 0)) { - result.config_ = configBuilder_ == null - ? config_ - : configBuilder_.build(); + result.config_ = configBuilder_ == null ? config_ : configBuilder_.build(); } } @@ -429,38 +471,39 @@ private void buildPartial0(com.google.cloud.contactcenterinsights.v1.PhraseMatch public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.contactcenterinsights.v1.PhraseMatchRule) { - return mergeFrom((com.google.cloud.contactcenterinsights.v1.PhraseMatchRule)other); + return mergeFrom((com.google.cloud.contactcenterinsights.v1.PhraseMatchRule) other); } else { super.mergeFrom(other); return this; @@ -468,7 +511,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.contactcenterinsights.v1.PhraseMatchRule other) { - if (other == com.google.cloud.contactcenterinsights.v1.PhraseMatchRule.getDefaultInstance()) return this; + if (other == com.google.cloud.contactcenterinsights.v1.PhraseMatchRule.getDefaultInstance()) + return this; if (!other.getQuery().isEmpty()) { query_ = other.query_; bitField0_ |= 0x00000001; @@ -506,29 +550,31 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - query_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 16: { - negated_ = input.readBool(); - bitField0_ |= 0x00000002; - break; - } // case 16 - case 26: { - input.readMessage( - getConfigFieldBuilder().getBuilder(), - extensionRegistry); - bitField0_ |= 0x00000004; - break; - } // case 26 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + query_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 16: + { + negated_ = input.readBool(); + bitField0_ |= 0x00000002; + break; + } // case 16 + case 26: + { + input.readMessage(getConfigFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000004; + break; + } // case 26 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -538,22 +584,25 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private java.lang.Object query_ = ""; /** + * + * *
      * Required. The phrase to be matched.
      * 
* * string query = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The query. */ public java.lang.String getQuery() { java.lang.Object ref = query_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); query_ = s; return s; @@ -562,20 +611,21 @@ public java.lang.String getQuery() { } } /** + * + * *
      * Required. The phrase to be matched.
      * 
* * string query = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for query. */ - public com.google.protobuf.ByteString - getQueryBytes() { + public com.google.protobuf.ByteString getQueryBytes() { java.lang.Object ref = query_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); query_ = b; return b; } else { @@ -583,28 +633,35 @@ public java.lang.String getQuery() { } } /** + * + * *
      * Required. The phrase to be matched.
      * 
* * string query = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The query to set. * @return This builder for chaining. */ - public Builder setQuery( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setQuery(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } query_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
      * Required. The phrase to be matched.
      * 
* * string query = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return This builder for chaining. */ public Builder clearQuery() { @@ -614,17 +671,21 @@ public Builder clearQuery() { return this; } /** + * + * *
      * Required. The phrase to be matched.
      * 
* * string query = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The bytes for query to set. * @return This builder for chaining. */ - public Builder setQueryBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setQueryBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); query_ = value; bitField0_ |= 0x00000001; @@ -632,14 +693,17 @@ public Builder setQueryBytes( return this; } - private boolean negated_ ; + private boolean negated_; /** + * + * *
      * Specifies whether the phrase must be missing from the transcript segment or
      * present in the transcript segment.
      * 
* * bool negated = 2; + * * @return The negated. */ @java.lang.Override @@ -647,29 +711,35 @@ public boolean getNegated() { return negated_; } /** + * + * *
      * Specifies whether the phrase must be missing from the transcript segment or
      * present in the transcript segment.
      * 
* * bool negated = 2; + * * @param value The negated to set. * @return This builder for chaining. */ public Builder setNegated(boolean value) { - + negated_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** + * + * *
      * Specifies whether the phrase must be missing from the transcript segment or
      * present in the transcript segment.
      * 
* * bool negated = 2; + * * @return This builder for chaining. */ public Builder clearNegated() { @@ -681,36 +751,49 @@ public Builder clearNegated() { private com.google.cloud.contactcenterinsights.v1.PhraseMatchRuleConfig config_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.contactcenterinsights.v1.PhraseMatchRuleConfig, com.google.cloud.contactcenterinsights.v1.PhraseMatchRuleConfig.Builder, com.google.cloud.contactcenterinsights.v1.PhraseMatchRuleConfigOrBuilder> configBuilder_; + com.google.cloud.contactcenterinsights.v1.PhraseMatchRuleConfig, + com.google.cloud.contactcenterinsights.v1.PhraseMatchRuleConfig.Builder, + com.google.cloud.contactcenterinsights.v1.PhraseMatchRuleConfigOrBuilder> + configBuilder_; /** + * + * *
      * Provides additional information about the rule that specifies how to apply
      * the rule.
      * 
* * .google.cloud.contactcenterinsights.v1.PhraseMatchRuleConfig config = 3; + * * @return Whether the config field is set. */ public boolean hasConfig() { return ((bitField0_ & 0x00000004) != 0); } /** + * + * *
      * Provides additional information about the rule that specifies how to apply
      * the rule.
      * 
* * .google.cloud.contactcenterinsights.v1.PhraseMatchRuleConfig config = 3; + * * @return The config. */ public com.google.cloud.contactcenterinsights.v1.PhraseMatchRuleConfig getConfig() { if (configBuilder_ == null) { - return config_ == null ? com.google.cloud.contactcenterinsights.v1.PhraseMatchRuleConfig.getDefaultInstance() : config_; + return config_ == null + ? com.google.cloud.contactcenterinsights.v1.PhraseMatchRuleConfig.getDefaultInstance() + : config_; } else { return configBuilder_.getMessage(); } } /** + * + * *
      * Provides additional information about the rule that specifies how to apply
      * the rule.
@@ -718,7 +801,8 @@ public com.google.cloud.contactcenterinsights.v1.PhraseMatchRuleConfig getConfig
      *
      * .google.cloud.contactcenterinsights.v1.PhraseMatchRuleConfig config = 3;
      */
-    public Builder setConfig(com.google.cloud.contactcenterinsights.v1.PhraseMatchRuleConfig value) {
+    public Builder setConfig(
+        com.google.cloud.contactcenterinsights.v1.PhraseMatchRuleConfig value) {
       if (configBuilder_ == null) {
         if (value == null) {
           throw new NullPointerException();
@@ -732,6 +816,8 @@ public Builder setConfig(com.google.cloud.contactcenterinsights.v1.PhraseMatchRu
       return this;
     }
     /**
+     *
+     *
      * 
      * Provides additional information about the rule that specifies how to apply
      * the rule.
@@ -751,6 +837,8 @@ public Builder setConfig(
       return this;
     }
     /**
+     *
+     *
      * 
      * Provides additional information about the rule that specifies how to apply
      * the rule.
@@ -758,11 +846,14 @@ public Builder setConfig(
      *
      * .google.cloud.contactcenterinsights.v1.PhraseMatchRuleConfig config = 3;
      */
-    public Builder mergeConfig(com.google.cloud.contactcenterinsights.v1.PhraseMatchRuleConfig value) {
+    public Builder mergeConfig(
+        com.google.cloud.contactcenterinsights.v1.PhraseMatchRuleConfig value) {
       if (configBuilder_ == null) {
-        if (((bitField0_ & 0x00000004) != 0) &&
-          config_ != null &&
-          config_ != com.google.cloud.contactcenterinsights.v1.PhraseMatchRuleConfig.getDefaultInstance()) {
+        if (((bitField0_ & 0x00000004) != 0)
+            && config_ != null
+            && config_
+                != com.google.cloud.contactcenterinsights.v1.PhraseMatchRuleConfig
+                    .getDefaultInstance()) {
           getConfigBuilder().mergeFrom(value);
         } else {
           config_ = value;
@@ -775,6 +866,8 @@ public Builder mergeConfig(com.google.cloud.contactcenterinsights.v1.PhraseMatch
       return this;
     }
     /**
+     *
+     *
      * 
      * Provides additional information about the rule that specifies how to apply
      * the rule.
@@ -793,6 +886,8 @@ public Builder clearConfig() {
       return this;
     }
     /**
+     *
+     *
      * 
      * Provides additional information about the rule that specifies how to apply
      * the rule.
@@ -800,12 +895,15 @@ public Builder clearConfig() {
      *
      * .google.cloud.contactcenterinsights.v1.PhraseMatchRuleConfig config = 3;
      */
-    public com.google.cloud.contactcenterinsights.v1.PhraseMatchRuleConfig.Builder getConfigBuilder() {
+    public com.google.cloud.contactcenterinsights.v1.PhraseMatchRuleConfig.Builder
+        getConfigBuilder() {
       bitField0_ |= 0x00000004;
       onChanged();
       return getConfigFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * Provides additional information about the rule that specifies how to apply
      * the rule.
@@ -813,15 +911,19 @@ public com.google.cloud.contactcenterinsights.v1.PhraseMatchRuleConfig.Builder g
      *
      * .google.cloud.contactcenterinsights.v1.PhraseMatchRuleConfig config = 3;
      */
-    public com.google.cloud.contactcenterinsights.v1.PhraseMatchRuleConfigOrBuilder getConfigOrBuilder() {
+    public com.google.cloud.contactcenterinsights.v1.PhraseMatchRuleConfigOrBuilder
+        getConfigOrBuilder() {
       if (configBuilder_ != null) {
         return configBuilder_.getMessageOrBuilder();
       } else {
-        return config_ == null ?
-            com.google.cloud.contactcenterinsights.v1.PhraseMatchRuleConfig.getDefaultInstance() : config_;
+        return config_ == null
+            ? com.google.cloud.contactcenterinsights.v1.PhraseMatchRuleConfig.getDefaultInstance()
+            : config_;
       }
     }
     /**
+     *
+     *
      * 
      * Provides additional information about the rule that specifies how to apply
      * the rule.
@@ -830,21 +932,24 @@ public com.google.cloud.contactcenterinsights.v1.PhraseMatchRuleConfigOrBuilder
      * .google.cloud.contactcenterinsights.v1.PhraseMatchRuleConfig config = 3;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.cloud.contactcenterinsights.v1.PhraseMatchRuleConfig, com.google.cloud.contactcenterinsights.v1.PhraseMatchRuleConfig.Builder, com.google.cloud.contactcenterinsights.v1.PhraseMatchRuleConfigOrBuilder> 
+            com.google.cloud.contactcenterinsights.v1.PhraseMatchRuleConfig,
+            com.google.cloud.contactcenterinsights.v1.PhraseMatchRuleConfig.Builder,
+            com.google.cloud.contactcenterinsights.v1.PhraseMatchRuleConfigOrBuilder>
         getConfigFieldBuilder() {
       if (configBuilder_ == null) {
-        configBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-            com.google.cloud.contactcenterinsights.v1.PhraseMatchRuleConfig, com.google.cloud.contactcenterinsights.v1.PhraseMatchRuleConfig.Builder, com.google.cloud.contactcenterinsights.v1.PhraseMatchRuleConfigOrBuilder>(
-                getConfig(),
-                getParentForChildren(),
-                isClean());
+        configBuilder_ =
+            new com.google.protobuf.SingleFieldBuilderV3<
+                com.google.cloud.contactcenterinsights.v1.PhraseMatchRuleConfig,
+                com.google.cloud.contactcenterinsights.v1.PhraseMatchRuleConfig.Builder,
+                com.google.cloud.contactcenterinsights.v1.PhraseMatchRuleConfigOrBuilder>(
+                getConfig(), getParentForChildren(), isClean());
         config_ = null;
       }
       return configBuilder_;
     }
+
     @java.lang.Override
-    public final Builder setUnknownFields(
-        final com.google.protobuf.UnknownFieldSet unknownFields) {
+    public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) {
       return super.setUnknownFields(unknownFields);
     }
 
@@ -854,12 +959,12 @@ public final Builder mergeUnknownFields(
       return super.mergeUnknownFields(unknownFields);
     }
 
-
     // @@protoc_insertion_point(builder_scope:google.cloud.contactcenterinsights.v1.PhraseMatchRule)
   }
 
   // @@protoc_insertion_point(class_scope:google.cloud.contactcenterinsights.v1.PhraseMatchRule)
   private static final com.google.cloud.contactcenterinsights.v1.PhraseMatchRule DEFAULT_INSTANCE;
+
   static {
     DEFAULT_INSTANCE = new com.google.cloud.contactcenterinsights.v1.PhraseMatchRule();
   }
@@ -868,27 +973,27 @@ public static com.google.cloud.contactcenterinsights.v1.PhraseMatchRule getDefau
     return DEFAULT_INSTANCE;
   }
 
-  private static final com.google.protobuf.Parser
-      PARSER = new com.google.protobuf.AbstractParser() {
-    @java.lang.Override
-    public PhraseMatchRule parsePartialFrom(
-        com.google.protobuf.CodedInputStream input,
-        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-        throws com.google.protobuf.InvalidProtocolBufferException {
-      Builder builder = newBuilder();
-      try {
-        builder.mergeFrom(input, extensionRegistry);
-      } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-        throw e.setUnfinishedMessage(builder.buildPartial());
-      } catch (com.google.protobuf.UninitializedMessageException e) {
-        throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
-      } catch (java.io.IOException e) {
-        throw new com.google.protobuf.InvalidProtocolBufferException(e)
-            .setUnfinishedMessage(builder.buildPartial());
-      }
-      return builder.buildPartial();
-    }
-  };
+  private static final com.google.protobuf.Parser PARSER =
+      new com.google.protobuf.AbstractParser() {
+        @java.lang.Override
+        public PhraseMatchRule parsePartialFrom(
+            com.google.protobuf.CodedInputStream input,
+            com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+            throws com.google.protobuf.InvalidProtocolBufferException {
+          Builder builder = newBuilder();
+          try {
+            builder.mergeFrom(input, extensionRegistry);
+          } catch (com.google.protobuf.InvalidProtocolBufferException e) {
+            throw e.setUnfinishedMessage(builder.buildPartial());
+          } catch (com.google.protobuf.UninitializedMessageException e) {
+            throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
+          } catch (java.io.IOException e) {
+            throw new com.google.protobuf.InvalidProtocolBufferException(e)
+                .setUnfinishedMessage(builder.buildPartial());
+          }
+          return builder.buildPartial();
+        }
+      };
 
   public static com.google.protobuf.Parser parser() {
     return PARSER;
@@ -903,6 +1008,4 @@ public com.google.protobuf.Parser getParserForType() {
   public com.google.cloud.contactcenterinsights.v1.PhraseMatchRule getDefaultInstanceForType() {
     return DEFAULT_INSTANCE;
   }
-
 }
-
diff --git a/owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/PhraseMatchRuleConfig.java b/java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/PhraseMatchRuleConfig.java
similarity index 65%
rename from owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/PhraseMatchRuleConfig.java
rename to java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/PhraseMatchRuleConfig.java
index ae665c119539..c78a8cba9d8c 100644
--- a/owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/PhraseMatchRuleConfig.java
+++ b/java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/PhraseMatchRuleConfig.java
@@ -1,60 +1,81 @@
+/*
+ * 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.
+ */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/cloud/contactcenterinsights/v1/resources.proto
 
 package com.google.cloud.contactcenterinsights.v1;
 
 /**
+ *
+ *
  * 
  * Configuration information of a phrase match rule.
  * 
* * Protobuf type {@code google.cloud.contactcenterinsights.v1.PhraseMatchRuleConfig} */ -public final class PhraseMatchRuleConfig extends - com.google.protobuf.GeneratedMessageV3 implements +public final class PhraseMatchRuleConfig extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.contactcenterinsights.v1.PhraseMatchRuleConfig) PhraseMatchRuleConfigOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use PhraseMatchRuleConfig.newBuilder() to construct. private PhraseMatchRuleConfig(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private PhraseMatchRuleConfig() { - } + + private PhraseMatchRuleConfig() {} @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new PhraseMatchRuleConfig(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.contactcenterinsights.v1.ResourcesProto.internal_static_google_cloud_contactcenterinsights_v1_PhraseMatchRuleConfig_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.contactcenterinsights.v1.ResourcesProto + .internal_static_google_cloud_contactcenterinsights_v1_PhraseMatchRuleConfig_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.contactcenterinsights.v1.ResourcesProto.internal_static_google_cloud_contactcenterinsights_v1_PhraseMatchRuleConfig_fieldAccessorTable + return com.google.cloud.contactcenterinsights.v1.ResourcesProto + .internal_static_google_cloud_contactcenterinsights_v1_PhraseMatchRuleConfig_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.contactcenterinsights.v1.PhraseMatchRuleConfig.class, com.google.cloud.contactcenterinsights.v1.PhraseMatchRuleConfig.Builder.class); + com.google.cloud.contactcenterinsights.v1.PhraseMatchRuleConfig.class, + com.google.cloud.contactcenterinsights.v1.PhraseMatchRuleConfig.Builder.class); } private int configCase_ = 0; private java.lang.Object config_; + public enum ConfigCase - implements com.google.protobuf.Internal.EnumLite, + implements + com.google.protobuf.Internal.EnumLite, com.google.protobuf.AbstractMessage.InternalOneOfEnum { EXACT_MATCH_CONFIG(1), CONFIG_NOT_SET(0); private final int value; + private ConfigCase(int value) { this.value = value; } @@ -70,29 +91,34 @@ public static ConfigCase valueOf(int value) { public static ConfigCase forNumber(int value) { switch (value) { - case 1: return EXACT_MATCH_CONFIG; - case 0: return CONFIG_NOT_SET; - default: return null; + case 1: + return EXACT_MATCH_CONFIG; + case 0: + return CONFIG_NOT_SET; + default: + return null; } } + public int getNumber() { return this.value; } }; - public ConfigCase - getConfigCase() { - return ConfigCase.forNumber( - configCase_); + public ConfigCase getConfigCase() { + return ConfigCase.forNumber(configCase_); } public static final int EXACT_MATCH_CONFIG_FIELD_NUMBER = 1; /** + * + * *
    * The configuration for the exact match rule.
    * 
* * .google.cloud.contactcenterinsights.v1.ExactMatchConfig exact_match_config = 1; + * * @return Whether the exactMatchConfig field is set. */ @java.lang.Override @@ -100,21 +126,26 @@ public boolean hasExactMatchConfig() { return configCase_ == 1; } /** + * + * *
    * The configuration for the exact match rule.
    * 
* * .google.cloud.contactcenterinsights.v1.ExactMatchConfig exact_match_config = 1; + * * @return The exactMatchConfig. */ @java.lang.Override public com.google.cloud.contactcenterinsights.v1.ExactMatchConfig getExactMatchConfig() { if (configCase_ == 1) { - return (com.google.cloud.contactcenterinsights.v1.ExactMatchConfig) config_; + return (com.google.cloud.contactcenterinsights.v1.ExactMatchConfig) config_; } return com.google.cloud.contactcenterinsights.v1.ExactMatchConfig.getDefaultInstance(); } /** + * + * *
    * The configuration for the exact match rule.
    * 
@@ -122,14 +153,16 @@ public com.google.cloud.contactcenterinsights.v1.ExactMatchConfig getExactMatchC * .google.cloud.contactcenterinsights.v1.ExactMatchConfig exact_match_config = 1; */ @java.lang.Override - public com.google.cloud.contactcenterinsights.v1.ExactMatchConfigOrBuilder getExactMatchConfigOrBuilder() { + public com.google.cloud.contactcenterinsights.v1.ExactMatchConfigOrBuilder + getExactMatchConfigOrBuilder() { if (configCase_ == 1) { - return (com.google.cloud.contactcenterinsights.v1.ExactMatchConfig) config_; + return (com.google.cloud.contactcenterinsights.v1.ExactMatchConfig) config_; } return com.google.cloud.contactcenterinsights.v1.ExactMatchConfig.getDefaultInstance(); } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -141,8 +174,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (configCase_ == 1) { output.writeMessage(1, (com.google.cloud.contactcenterinsights.v1.ExactMatchConfig) config_); } @@ -156,8 +188,9 @@ public int getSerializedSize() { size = 0; if (configCase_ == 1) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, (com.google.cloud.contactcenterinsights.v1.ExactMatchConfig) config_); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 1, (com.google.cloud.contactcenterinsights.v1.ExactMatchConfig) config_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -167,18 +200,18 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.contactcenterinsights.v1.PhraseMatchRuleConfig)) { return super.equals(obj); } - com.google.cloud.contactcenterinsights.v1.PhraseMatchRuleConfig other = (com.google.cloud.contactcenterinsights.v1.PhraseMatchRuleConfig) obj; + com.google.cloud.contactcenterinsights.v1.PhraseMatchRuleConfig other = + (com.google.cloud.contactcenterinsights.v1.PhraseMatchRuleConfig) obj; if (!getConfigCase().equals(other.getConfigCase())) return false; switch (configCase_) { case 1: - if (!getExactMatchConfig() - .equals(other.getExactMatchConfig())) return false; + if (!getExactMatchConfig().equals(other.getExactMatchConfig())) return false; break; case 0: default: @@ -208,129 +241,136 @@ public int hashCode() { } public static com.google.cloud.contactcenterinsights.v1.PhraseMatchRuleConfig parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.contactcenterinsights.v1.PhraseMatchRuleConfig parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.contactcenterinsights.v1.PhraseMatchRuleConfig parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.contactcenterinsights.v1.PhraseMatchRuleConfig parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.contactcenterinsights.v1.PhraseMatchRuleConfig parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.contactcenterinsights.v1.PhraseMatchRuleConfig parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.contactcenterinsights.v1.PhraseMatchRuleConfig parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.contactcenterinsights.v1.PhraseMatchRuleConfig parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.contactcenterinsights.v1.PhraseMatchRuleConfig parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.contactcenterinsights.v1.PhraseMatchRuleConfig parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.contactcenterinsights.v1.PhraseMatchRuleConfig parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.contactcenterinsights.v1.PhraseMatchRuleConfig parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.contactcenterinsights.v1.PhraseMatchRuleConfig parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.contactcenterinsights.v1.PhraseMatchRuleConfig parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.contactcenterinsights.v1.PhraseMatchRuleConfig parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.contactcenterinsights.v1.PhraseMatchRuleConfig prototype) { + + public static Builder newBuilder( + com.google.cloud.contactcenterinsights.v1.PhraseMatchRuleConfig prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Configuration information of a phrase match rule.
    * 
* * Protobuf type {@code google.cloud.contactcenterinsights.v1.PhraseMatchRuleConfig} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.contactcenterinsights.v1.PhraseMatchRuleConfig) com.google.cloud.contactcenterinsights.v1.PhraseMatchRuleConfigOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.contactcenterinsights.v1.ResourcesProto.internal_static_google_cloud_contactcenterinsights_v1_PhraseMatchRuleConfig_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.contactcenterinsights.v1.ResourcesProto + .internal_static_google_cloud_contactcenterinsights_v1_PhraseMatchRuleConfig_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.contactcenterinsights.v1.ResourcesProto.internal_static_google_cloud_contactcenterinsights_v1_PhraseMatchRuleConfig_fieldAccessorTable + return com.google.cloud.contactcenterinsights.v1.ResourcesProto + .internal_static_google_cloud_contactcenterinsights_v1_PhraseMatchRuleConfig_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.contactcenterinsights.v1.PhraseMatchRuleConfig.class, com.google.cloud.contactcenterinsights.v1.PhraseMatchRuleConfig.Builder.class); + com.google.cloud.contactcenterinsights.v1.PhraseMatchRuleConfig.class, + com.google.cloud.contactcenterinsights.v1.PhraseMatchRuleConfig.Builder.class); } // Construct using com.google.cloud.contactcenterinsights.v1.PhraseMatchRuleConfig.newBuilder() - private Builder() { - - } + private Builder() {} - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -344,13 +384,14 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.contactcenterinsights.v1.ResourcesProto.internal_static_google_cloud_contactcenterinsights_v1_PhraseMatchRuleConfig_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.contactcenterinsights.v1.ResourcesProto + .internal_static_google_cloud_contactcenterinsights_v1_PhraseMatchRuleConfig_descriptor; } @java.lang.Override - public com.google.cloud.contactcenterinsights.v1.PhraseMatchRuleConfig getDefaultInstanceForType() { + public com.google.cloud.contactcenterinsights.v1.PhraseMatchRuleConfig + getDefaultInstanceForType() { return com.google.cloud.contactcenterinsights.v1.PhraseMatchRuleConfig.getDefaultInstance(); } @@ -365,22 +406,26 @@ public com.google.cloud.contactcenterinsights.v1.PhraseMatchRuleConfig build() { @java.lang.Override public com.google.cloud.contactcenterinsights.v1.PhraseMatchRuleConfig buildPartial() { - com.google.cloud.contactcenterinsights.v1.PhraseMatchRuleConfig result = new com.google.cloud.contactcenterinsights.v1.PhraseMatchRuleConfig(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.cloud.contactcenterinsights.v1.PhraseMatchRuleConfig result = + new com.google.cloud.contactcenterinsights.v1.PhraseMatchRuleConfig(this); + if (bitField0_ != 0) { + buildPartial0(result); + } buildPartialOneofs(result); onBuilt(); return result; } - private void buildPartial0(com.google.cloud.contactcenterinsights.v1.PhraseMatchRuleConfig result) { + private void buildPartial0( + com.google.cloud.contactcenterinsights.v1.PhraseMatchRuleConfig result) { int from_bitField0_ = bitField0_; } - private void buildPartialOneofs(com.google.cloud.contactcenterinsights.v1.PhraseMatchRuleConfig result) { + private void buildPartialOneofs( + com.google.cloud.contactcenterinsights.v1.PhraseMatchRuleConfig result) { result.configCase_ = configCase_; result.config_ = this.config_; - if (configCase_ == 1 && - exactMatchConfigBuilder_ != null) { + if (configCase_ == 1 && exactMatchConfigBuilder_ != null) { result.config_ = exactMatchConfigBuilder_.build(); } } @@ -389,54 +434,60 @@ private void buildPartialOneofs(com.google.cloud.contactcenterinsights.v1.Phrase public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.contactcenterinsights.v1.PhraseMatchRuleConfig) { - return mergeFrom((com.google.cloud.contactcenterinsights.v1.PhraseMatchRuleConfig)other); + return mergeFrom((com.google.cloud.contactcenterinsights.v1.PhraseMatchRuleConfig) other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.google.cloud.contactcenterinsights.v1.PhraseMatchRuleConfig other) { - if (other == com.google.cloud.contactcenterinsights.v1.PhraseMatchRuleConfig.getDefaultInstance()) return this; + public Builder mergeFrom( + com.google.cloud.contactcenterinsights.v1.PhraseMatchRuleConfig other) { + if (other + == com.google.cloud.contactcenterinsights.v1.PhraseMatchRuleConfig.getDefaultInstance()) + return this; switch (other.getConfigCase()) { - case EXACT_MATCH_CONFIG: { - mergeExactMatchConfig(other.getExactMatchConfig()); - break; - } - case CONFIG_NOT_SET: { - break; - } + case EXACT_MATCH_CONFIG: + { + mergeExactMatchConfig(other.getExactMatchConfig()); + break; + } + case CONFIG_NOT_SET: + { + break; + } } this.mergeUnknownFields(other.getUnknownFields()); onChanged(); @@ -464,19 +515,20 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - input.readMessage( - getExactMatchConfigFieldBuilder().getBuilder(), - extensionRegistry); - configCase_ = 1; - break; - } // case 10 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + input.readMessage( + getExactMatchConfigFieldBuilder().getBuilder(), extensionRegistry); + configCase_ = 1; + break; + } // case 10 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -486,12 +538,12 @@ public Builder mergeFrom( } // finally return this; } + private int configCase_ = 0; private java.lang.Object config_; - public ConfigCase - getConfigCase() { - return ConfigCase.forNumber( - configCase_); + + public ConfigCase getConfigCase() { + return ConfigCase.forNumber(configCase_); } public Builder clearConfig() { @@ -504,13 +556,19 @@ public Builder clearConfig() { private int bitField0_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.contactcenterinsights.v1.ExactMatchConfig, com.google.cloud.contactcenterinsights.v1.ExactMatchConfig.Builder, com.google.cloud.contactcenterinsights.v1.ExactMatchConfigOrBuilder> exactMatchConfigBuilder_; + com.google.cloud.contactcenterinsights.v1.ExactMatchConfig, + com.google.cloud.contactcenterinsights.v1.ExactMatchConfig.Builder, + com.google.cloud.contactcenterinsights.v1.ExactMatchConfigOrBuilder> + exactMatchConfigBuilder_; /** + * + * *
      * The configuration for the exact match rule.
      * 
* * .google.cloud.contactcenterinsights.v1.ExactMatchConfig exact_match_config = 1; + * * @return Whether the exactMatchConfig field is set. */ @java.lang.Override @@ -518,11 +576,14 @@ public boolean hasExactMatchConfig() { return configCase_ == 1; } /** + * + * *
      * The configuration for the exact match rule.
      * 
* * .google.cloud.contactcenterinsights.v1.ExactMatchConfig exact_match_config = 1; + * * @return The exactMatchConfig. */ @java.lang.Override @@ -540,13 +601,16 @@ public com.google.cloud.contactcenterinsights.v1.ExactMatchConfig getExactMatchC } } /** + * + * *
      * The configuration for the exact match rule.
      * 
* * .google.cloud.contactcenterinsights.v1.ExactMatchConfig exact_match_config = 1; */ - public Builder setExactMatchConfig(com.google.cloud.contactcenterinsights.v1.ExactMatchConfig value) { + public Builder setExactMatchConfig( + com.google.cloud.contactcenterinsights.v1.ExactMatchConfig value) { if (exactMatchConfigBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -560,6 +624,8 @@ public Builder setExactMatchConfig(com.google.cloud.contactcenterinsights.v1.Exa return this; } /** + * + * *
      * The configuration for the exact match rule.
      * 
@@ -578,18 +644,26 @@ public Builder setExactMatchConfig( return this; } /** + * + * *
      * The configuration for the exact match rule.
      * 
* * .google.cloud.contactcenterinsights.v1.ExactMatchConfig exact_match_config = 1; */ - public Builder mergeExactMatchConfig(com.google.cloud.contactcenterinsights.v1.ExactMatchConfig value) { + public Builder mergeExactMatchConfig( + com.google.cloud.contactcenterinsights.v1.ExactMatchConfig value) { if (exactMatchConfigBuilder_ == null) { - if (configCase_ == 1 && - config_ != com.google.cloud.contactcenterinsights.v1.ExactMatchConfig.getDefaultInstance()) { - config_ = com.google.cloud.contactcenterinsights.v1.ExactMatchConfig.newBuilder((com.google.cloud.contactcenterinsights.v1.ExactMatchConfig) config_) - .mergeFrom(value).buildPartial(); + if (configCase_ == 1 + && config_ + != com.google.cloud.contactcenterinsights.v1.ExactMatchConfig + .getDefaultInstance()) { + config_ = + com.google.cloud.contactcenterinsights.v1.ExactMatchConfig.newBuilder( + (com.google.cloud.contactcenterinsights.v1.ExactMatchConfig) config_) + .mergeFrom(value) + .buildPartial(); } else { config_ = value; } @@ -605,6 +679,8 @@ public Builder mergeExactMatchConfig(com.google.cloud.contactcenterinsights.v1.E return this; } /** + * + * *
      * The configuration for the exact match rule.
      * 
@@ -628,16 +704,21 @@ public Builder clearExactMatchConfig() { return this; } /** + * + * *
      * The configuration for the exact match rule.
      * 
* * .google.cloud.contactcenterinsights.v1.ExactMatchConfig exact_match_config = 1; */ - public com.google.cloud.contactcenterinsights.v1.ExactMatchConfig.Builder getExactMatchConfigBuilder() { + public com.google.cloud.contactcenterinsights.v1.ExactMatchConfig.Builder + getExactMatchConfigBuilder() { return getExactMatchConfigFieldBuilder().getBuilder(); } /** + * + * *
      * The configuration for the exact match rule.
      * 
@@ -645,7 +726,8 @@ public com.google.cloud.contactcenterinsights.v1.ExactMatchConfig.Builder getExa * .google.cloud.contactcenterinsights.v1.ExactMatchConfig exact_match_config = 1; */ @java.lang.Override - public com.google.cloud.contactcenterinsights.v1.ExactMatchConfigOrBuilder getExactMatchConfigOrBuilder() { + public com.google.cloud.contactcenterinsights.v1.ExactMatchConfigOrBuilder + getExactMatchConfigOrBuilder() { if ((configCase_ == 1) && (exactMatchConfigBuilder_ != null)) { return exactMatchConfigBuilder_.getMessageOrBuilder(); } else { @@ -656,6 +738,8 @@ public com.google.cloud.contactcenterinsights.v1.ExactMatchConfigOrBuilder getEx } } /** + * + * *
      * The configuration for the exact match rule.
      * 
@@ -663,14 +747,19 @@ public com.google.cloud.contactcenterinsights.v1.ExactMatchConfigOrBuilder getEx * .google.cloud.contactcenterinsights.v1.ExactMatchConfig exact_match_config = 1; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.contactcenterinsights.v1.ExactMatchConfig, com.google.cloud.contactcenterinsights.v1.ExactMatchConfig.Builder, com.google.cloud.contactcenterinsights.v1.ExactMatchConfigOrBuilder> + com.google.cloud.contactcenterinsights.v1.ExactMatchConfig, + com.google.cloud.contactcenterinsights.v1.ExactMatchConfig.Builder, + com.google.cloud.contactcenterinsights.v1.ExactMatchConfigOrBuilder> getExactMatchConfigFieldBuilder() { if (exactMatchConfigBuilder_ == null) { if (!(configCase_ == 1)) { config_ = com.google.cloud.contactcenterinsights.v1.ExactMatchConfig.getDefaultInstance(); } - exactMatchConfigBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.contactcenterinsights.v1.ExactMatchConfig, com.google.cloud.contactcenterinsights.v1.ExactMatchConfig.Builder, com.google.cloud.contactcenterinsights.v1.ExactMatchConfigOrBuilder>( + exactMatchConfigBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.contactcenterinsights.v1.ExactMatchConfig, + com.google.cloud.contactcenterinsights.v1.ExactMatchConfig.Builder, + com.google.cloud.contactcenterinsights.v1.ExactMatchConfigOrBuilder>( (com.google.cloud.contactcenterinsights.v1.ExactMatchConfig) config_, getParentForChildren(), isClean()); @@ -680,9 +769,9 @@ public com.google.cloud.contactcenterinsights.v1.ExactMatchConfigOrBuilder getEx onChanged(); return exactMatchConfigBuilder_; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -692,41 +781,43 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.contactcenterinsights.v1.PhraseMatchRuleConfig) } // @@protoc_insertion_point(class_scope:google.cloud.contactcenterinsights.v1.PhraseMatchRuleConfig) - private static final com.google.cloud.contactcenterinsights.v1.PhraseMatchRuleConfig DEFAULT_INSTANCE; + private static final com.google.cloud.contactcenterinsights.v1.PhraseMatchRuleConfig + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.contactcenterinsights.v1.PhraseMatchRuleConfig(); } - public static com.google.cloud.contactcenterinsights.v1.PhraseMatchRuleConfig getDefaultInstance() { + public static com.google.cloud.contactcenterinsights.v1.PhraseMatchRuleConfig + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public PhraseMatchRuleConfig parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public PhraseMatchRuleConfig parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -738,9 +829,8 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.cloud.contactcenterinsights.v1.PhraseMatchRuleConfig getDefaultInstanceForType() { + public com.google.cloud.contactcenterinsights.v1.PhraseMatchRuleConfig + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/PhraseMatchRuleConfigOrBuilder.java b/java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/PhraseMatchRuleConfigOrBuilder.java similarity index 63% rename from owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/PhraseMatchRuleConfigOrBuilder.java rename to java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/PhraseMatchRuleConfigOrBuilder.java index d3c30df247af..d14c465740a6 100644 --- a/owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/PhraseMatchRuleConfigOrBuilder.java +++ b/java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/PhraseMatchRuleConfigOrBuilder.java @@ -1,38 +1,63 @@ +/* + * 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. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/contactcenterinsights/v1/resources.proto package com.google.cloud.contactcenterinsights.v1; -public interface PhraseMatchRuleConfigOrBuilder extends +public interface PhraseMatchRuleConfigOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.contactcenterinsights.v1.PhraseMatchRuleConfig) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * The configuration for the exact match rule.
    * 
* * .google.cloud.contactcenterinsights.v1.ExactMatchConfig exact_match_config = 1; + * * @return Whether the exactMatchConfig field is set. */ boolean hasExactMatchConfig(); /** + * + * *
    * The configuration for the exact match rule.
    * 
* * .google.cloud.contactcenterinsights.v1.ExactMatchConfig exact_match_config = 1; + * * @return The exactMatchConfig. */ com.google.cloud.contactcenterinsights.v1.ExactMatchConfig getExactMatchConfig(); /** + * + * *
    * The configuration for the exact match rule.
    * 
* * .google.cloud.contactcenterinsights.v1.ExactMatchConfig exact_match_config = 1; */ - com.google.cloud.contactcenterinsights.v1.ExactMatchConfigOrBuilder getExactMatchConfigOrBuilder(); + com.google.cloud.contactcenterinsights.v1.ExactMatchConfigOrBuilder + getExactMatchConfigOrBuilder(); public com.google.cloud.contactcenterinsights.v1.PhraseMatchRuleConfig.ConfigCase getConfigCase(); } diff --git a/owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/PhraseMatchRuleGroup.java b/java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/PhraseMatchRuleGroup.java similarity index 64% rename from owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/PhraseMatchRuleGroup.java rename to java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/PhraseMatchRuleGroup.java index 419f369fd746..16d28a4424ff 100644 --- a/owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/PhraseMatchRuleGroup.java +++ b/java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/PhraseMatchRuleGroup.java @@ -1,24 +1,42 @@ +/* + * 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. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/contactcenterinsights/v1/resources.proto package com.google.cloud.contactcenterinsights.v1; /** + * + * *
  * A message representing a rule in the phrase matcher.
  * 
* * Protobuf type {@code google.cloud.contactcenterinsights.v1.PhraseMatchRuleGroup} */ -public final class PhraseMatchRuleGroup extends - com.google.protobuf.GeneratedMessageV3 implements +public final class PhraseMatchRuleGroup extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.contactcenterinsights.v1.PhraseMatchRuleGroup) PhraseMatchRuleGroupOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use PhraseMatchRuleGroup.newBuilder() to construct. private PhraseMatchRuleGroup(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private PhraseMatchRuleGroup() { type_ = 0; phraseMatchRules_ = java.util.Collections.emptyList(); @@ -26,40 +44,45 @@ private PhraseMatchRuleGroup() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new PhraseMatchRuleGroup(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.contactcenterinsights.v1.ResourcesProto.internal_static_google_cloud_contactcenterinsights_v1_PhraseMatchRuleGroup_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.contactcenterinsights.v1.ResourcesProto + .internal_static_google_cloud_contactcenterinsights_v1_PhraseMatchRuleGroup_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.contactcenterinsights.v1.ResourcesProto.internal_static_google_cloud_contactcenterinsights_v1_PhraseMatchRuleGroup_fieldAccessorTable + return com.google.cloud.contactcenterinsights.v1.ResourcesProto + .internal_static_google_cloud_contactcenterinsights_v1_PhraseMatchRuleGroup_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.contactcenterinsights.v1.PhraseMatchRuleGroup.class, com.google.cloud.contactcenterinsights.v1.PhraseMatchRuleGroup.Builder.class); + com.google.cloud.contactcenterinsights.v1.PhraseMatchRuleGroup.class, + com.google.cloud.contactcenterinsights.v1.PhraseMatchRuleGroup.Builder.class); } /** + * + * *
    * Specifies how to combine each phrase match rule for whether there is a
    * match.
    * 
* - * Protobuf enum {@code google.cloud.contactcenterinsights.v1.PhraseMatchRuleGroup.PhraseMatchRuleGroupType} + * Protobuf enum {@code + * google.cloud.contactcenterinsights.v1.PhraseMatchRuleGroup.PhraseMatchRuleGroupType} */ - public enum PhraseMatchRuleGroupType - implements com.google.protobuf.ProtocolMessageEnum { + public enum PhraseMatchRuleGroupType implements com.google.protobuf.ProtocolMessageEnum { /** + * + * *
      * Unspecified.
      * 
@@ -68,6 +91,8 @@ public enum PhraseMatchRuleGroupType */ PHRASE_MATCH_RULE_GROUP_TYPE_UNSPECIFIED(0), /** + * + * *
      * Must meet all phrase match rules or there is no match.
      * 
@@ -76,6 +101,8 @@ public enum PhraseMatchRuleGroupType */ ALL_OF(1), /** + * + * *
      * If any of the phrase match rules are met, there is a match.
      * 
@@ -87,6 +114,8 @@ public enum PhraseMatchRuleGroupType ; /** + * + * *
      * Unspecified.
      * 
@@ -95,6 +124,8 @@ public enum PhraseMatchRuleGroupType */ public static final int PHRASE_MATCH_RULE_GROUP_TYPE_UNSPECIFIED_VALUE = 0; /** + * + * *
      * Must meet all phrase match rules or there is no match.
      * 
@@ -103,6 +134,8 @@ public enum PhraseMatchRuleGroupType */ public static final int ALL_OF_VALUE = 1; /** + * + * *
      * If any of the phrase match rules are met, there is a match.
      * 
@@ -111,7 +144,6 @@ public enum PhraseMatchRuleGroupType */ public static final int ANY_OF_VALUE = 2; - public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -136,10 +168,14 @@ public static PhraseMatchRuleGroupType valueOf(int value) { */ public static PhraseMatchRuleGroupType forNumber(int value) { switch (value) { - case 0: return PHRASE_MATCH_RULE_GROUP_TYPE_UNSPECIFIED; - case 1: return ALL_OF; - case 2: return ANY_OF; - default: return null; + case 0: + return PHRASE_MATCH_RULE_GROUP_TYPE_UNSPECIFIED; + case 1: + return ALL_OF; + case 2: + return ANY_OF; + default: + return null; } } @@ -147,29 +183,31 @@ public static PhraseMatchRuleGroupType forNumber(int value) { internalGetValueMap() { return internalValueMap; } - private static final com.google.protobuf.Internal.EnumLiteMap< - PhraseMatchRuleGroupType> internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public PhraseMatchRuleGroupType findValueByNumber(int number) { - return PhraseMatchRuleGroupType.forNumber(number); - } - }; - public final com.google.protobuf.Descriptors.EnumValueDescriptor - getValueDescriptor() { + private static final com.google.protobuf.Internal.EnumLiteMap + internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public PhraseMatchRuleGroupType findValueByNumber(int number) { + return PhraseMatchRuleGroupType.forNumber(number); + } + }; + + public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalStateException( "Can't get the descriptor of an unrecognized enum value."); } return getDescriptor().getValues().get(ordinal()); } - public final com.google.protobuf.Descriptors.EnumDescriptor - getDescriptorForType() { + + public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() { return getDescriptor(); } - public static final com.google.protobuf.Descriptors.EnumDescriptor - getDescriptor() { - return com.google.cloud.contactcenterinsights.v1.PhraseMatchRuleGroup.getDescriptor().getEnumTypes().get(0); + + public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { + return com.google.cloud.contactcenterinsights.v1.PhraseMatchRuleGroup.getDescriptor() + .getEnumTypes() + .get(0); } private static final PhraseMatchRuleGroupType[] VALUES = values(); @@ -177,8 +215,7 @@ public PhraseMatchRuleGroupType findValueByNumber(int number) { public static PhraseMatchRuleGroupType valueOf( com.google.protobuf.Descriptors.EnumValueDescriptor desc) { if (desc.getType() != getDescriptor()) { - throw new java.lang.IllegalArgumentException( - "EnumValueDescriptor is not for this type."); + throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type."); } if (desc.getIndex() == -1) { return UNRECOGNIZED; @@ -198,91 +235,129 @@ private PhraseMatchRuleGroupType(int value) { public static final int TYPE_FIELD_NUMBER = 1; private int type_ = 0; /** + * + * *
    * Required. The type of this phrase match rule group.
    * 
* - * .google.cloud.contactcenterinsights.v1.PhraseMatchRuleGroup.PhraseMatchRuleGroupType type = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.contactcenterinsights.v1.PhraseMatchRuleGroup.PhraseMatchRuleGroupType type = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The enum numeric value on the wire for type. */ - @java.lang.Override public int getTypeValue() { + @java.lang.Override + public int getTypeValue() { return type_; } /** + * + * *
    * Required. The type of this phrase match rule group.
    * 
* - * .google.cloud.contactcenterinsights.v1.PhraseMatchRuleGroup.PhraseMatchRuleGroupType type = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.contactcenterinsights.v1.PhraseMatchRuleGroup.PhraseMatchRuleGroupType type = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The type. */ - @java.lang.Override public com.google.cloud.contactcenterinsights.v1.PhraseMatchRuleGroup.PhraseMatchRuleGroupType getType() { - com.google.cloud.contactcenterinsights.v1.PhraseMatchRuleGroup.PhraseMatchRuleGroupType result = com.google.cloud.contactcenterinsights.v1.PhraseMatchRuleGroup.PhraseMatchRuleGroupType.forNumber(type_); - return result == null ? com.google.cloud.contactcenterinsights.v1.PhraseMatchRuleGroup.PhraseMatchRuleGroupType.UNRECOGNIZED : result; + @java.lang.Override + public com.google.cloud.contactcenterinsights.v1.PhraseMatchRuleGroup.PhraseMatchRuleGroupType + getType() { + com.google.cloud.contactcenterinsights.v1.PhraseMatchRuleGroup.PhraseMatchRuleGroupType result = + com.google.cloud.contactcenterinsights.v1.PhraseMatchRuleGroup.PhraseMatchRuleGroupType + .forNumber(type_); + return result == null + ? com.google.cloud.contactcenterinsights.v1.PhraseMatchRuleGroup.PhraseMatchRuleGroupType + .UNRECOGNIZED + : result; } public static final int PHRASE_MATCH_RULES_FIELD_NUMBER = 2; + @SuppressWarnings("serial") - private java.util.List phraseMatchRules_; + private java.util.List + phraseMatchRules_; /** + * + * *
    * A list of phase match rules that are included in this group.
    * 
* - * repeated .google.cloud.contactcenterinsights.v1.PhraseMatchRule phrase_match_rules = 2; + * repeated .google.cloud.contactcenterinsights.v1.PhraseMatchRule phrase_match_rules = 2; + * */ @java.lang.Override - public java.util.List getPhraseMatchRulesList() { + public java.util.List + getPhraseMatchRulesList() { return phraseMatchRules_; } /** + * + * *
    * A list of phase match rules that are included in this group.
    * 
* - * repeated .google.cloud.contactcenterinsights.v1.PhraseMatchRule phrase_match_rules = 2; + * repeated .google.cloud.contactcenterinsights.v1.PhraseMatchRule phrase_match_rules = 2; + * */ @java.lang.Override - public java.util.List + public java.util.List< + ? extends com.google.cloud.contactcenterinsights.v1.PhraseMatchRuleOrBuilder> getPhraseMatchRulesOrBuilderList() { return phraseMatchRules_; } /** + * + * *
    * A list of phase match rules that are included in this group.
    * 
* - * repeated .google.cloud.contactcenterinsights.v1.PhraseMatchRule phrase_match_rules = 2; + * repeated .google.cloud.contactcenterinsights.v1.PhraseMatchRule phrase_match_rules = 2; + * */ @java.lang.Override public int getPhraseMatchRulesCount() { return phraseMatchRules_.size(); } /** + * + * *
    * A list of phase match rules that are included in this group.
    * 
* - * repeated .google.cloud.contactcenterinsights.v1.PhraseMatchRule phrase_match_rules = 2; + * repeated .google.cloud.contactcenterinsights.v1.PhraseMatchRule phrase_match_rules = 2; + * */ @java.lang.Override public com.google.cloud.contactcenterinsights.v1.PhraseMatchRule getPhraseMatchRules(int index) { return phraseMatchRules_.get(index); } /** + * + * *
    * A list of phase match rules that are included in this group.
    * 
* - * repeated .google.cloud.contactcenterinsights.v1.PhraseMatchRule phrase_match_rules = 2; + * repeated .google.cloud.contactcenterinsights.v1.PhraseMatchRule phrase_match_rules = 2; + * */ @java.lang.Override - public com.google.cloud.contactcenterinsights.v1.PhraseMatchRuleOrBuilder getPhraseMatchRulesOrBuilder( - int index) { + public com.google.cloud.contactcenterinsights.v1.PhraseMatchRuleOrBuilder + getPhraseMatchRulesOrBuilder(int index) { return phraseMatchRules_.get(index); } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -294,9 +369,11 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { - if (type_ != com.google.cloud.contactcenterinsights.v1.PhraseMatchRuleGroup.PhraseMatchRuleGroupType.PHRASE_MATCH_RULE_GROUP_TYPE_UNSPECIFIED.getNumber()) { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + if (type_ + != com.google.cloud.contactcenterinsights.v1.PhraseMatchRuleGroup.PhraseMatchRuleGroupType + .PHRASE_MATCH_RULE_GROUP_TYPE_UNSPECIFIED + .getNumber()) { output.writeEnum(1, type_); } for (int i = 0; i < phraseMatchRules_.size(); i++) { @@ -311,13 +388,14 @@ public int getSerializedSize() { if (size != -1) return size; size = 0; - if (type_ != com.google.cloud.contactcenterinsights.v1.PhraseMatchRuleGroup.PhraseMatchRuleGroupType.PHRASE_MATCH_RULE_GROUP_TYPE_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(1, type_); + if (type_ + != com.google.cloud.contactcenterinsights.v1.PhraseMatchRuleGroup.PhraseMatchRuleGroupType + .PHRASE_MATCH_RULE_GROUP_TYPE_UNSPECIFIED + .getNumber()) { + size += com.google.protobuf.CodedOutputStream.computeEnumSize(1, type_); } for (int i = 0; i < phraseMatchRules_.size(); i++) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, phraseMatchRules_.get(i)); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, phraseMatchRules_.get(i)); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -327,16 +405,16 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.contactcenterinsights.v1.PhraseMatchRuleGroup)) { return super.equals(obj); } - com.google.cloud.contactcenterinsights.v1.PhraseMatchRuleGroup other = (com.google.cloud.contactcenterinsights.v1.PhraseMatchRuleGroup) obj; + com.google.cloud.contactcenterinsights.v1.PhraseMatchRuleGroup other = + (com.google.cloud.contactcenterinsights.v1.PhraseMatchRuleGroup) obj; if (type_ != other.type_) return false; - if (!getPhraseMatchRulesList() - .equals(other.getPhraseMatchRulesList())) return false; + if (!getPhraseMatchRulesList().equals(other.getPhraseMatchRulesList())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -360,129 +438,136 @@ public int hashCode() { } public static com.google.cloud.contactcenterinsights.v1.PhraseMatchRuleGroup parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.contactcenterinsights.v1.PhraseMatchRuleGroup parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.contactcenterinsights.v1.PhraseMatchRuleGroup parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.contactcenterinsights.v1.PhraseMatchRuleGroup parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.contactcenterinsights.v1.PhraseMatchRuleGroup parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.contactcenterinsights.v1.PhraseMatchRuleGroup parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.contactcenterinsights.v1.PhraseMatchRuleGroup parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.contactcenterinsights.v1.PhraseMatchRuleGroup parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.contactcenterinsights.v1.PhraseMatchRuleGroup parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.contactcenterinsights.v1.PhraseMatchRuleGroup parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.contactcenterinsights.v1.PhraseMatchRuleGroup parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.contactcenterinsights.v1.PhraseMatchRuleGroup parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.contactcenterinsights.v1.PhraseMatchRuleGroup parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.contactcenterinsights.v1.PhraseMatchRuleGroup parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.contactcenterinsights.v1.PhraseMatchRuleGroup parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.contactcenterinsights.v1.PhraseMatchRuleGroup prototype) { + + public static Builder newBuilder( + com.google.cloud.contactcenterinsights.v1.PhraseMatchRuleGroup prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * A message representing a rule in the phrase matcher.
    * 
* * Protobuf type {@code google.cloud.contactcenterinsights.v1.PhraseMatchRuleGroup} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.contactcenterinsights.v1.PhraseMatchRuleGroup) com.google.cloud.contactcenterinsights.v1.PhraseMatchRuleGroupOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.contactcenterinsights.v1.ResourcesProto.internal_static_google_cloud_contactcenterinsights_v1_PhraseMatchRuleGroup_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.contactcenterinsights.v1.ResourcesProto + .internal_static_google_cloud_contactcenterinsights_v1_PhraseMatchRuleGroup_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.contactcenterinsights.v1.ResourcesProto.internal_static_google_cloud_contactcenterinsights_v1_PhraseMatchRuleGroup_fieldAccessorTable + return com.google.cloud.contactcenterinsights.v1.ResourcesProto + .internal_static_google_cloud_contactcenterinsights_v1_PhraseMatchRuleGroup_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.contactcenterinsights.v1.PhraseMatchRuleGroup.class, com.google.cloud.contactcenterinsights.v1.PhraseMatchRuleGroup.Builder.class); + com.google.cloud.contactcenterinsights.v1.PhraseMatchRuleGroup.class, + com.google.cloud.contactcenterinsights.v1.PhraseMatchRuleGroup.Builder.class); } // Construct using com.google.cloud.contactcenterinsights.v1.PhraseMatchRuleGroup.newBuilder() - private Builder() { - - } + private Builder() {} - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -499,13 +584,14 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.contactcenterinsights.v1.ResourcesProto.internal_static_google_cloud_contactcenterinsights_v1_PhraseMatchRuleGroup_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.contactcenterinsights.v1.ResourcesProto + .internal_static_google_cloud_contactcenterinsights_v1_PhraseMatchRuleGroup_descriptor; } @java.lang.Override - public com.google.cloud.contactcenterinsights.v1.PhraseMatchRuleGroup getDefaultInstanceForType() { + public com.google.cloud.contactcenterinsights.v1.PhraseMatchRuleGroup + getDefaultInstanceForType() { return com.google.cloud.contactcenterinsights.v1.PhraseMatchRuleGroup.getDefaultInstance(); } @@ -520,14 +606,18 @@ public com.google.cloud.contactcenterinsights.v1.PhraseMatchRuleGroup build() { @java.lang.Override public com.google.cloud.contactcenterinsights.v1.PhraseMatchRuleGroup buildPartial() { - com.google.cloud.contactcenterinsights.v1.PhraseMatchRuleGroup result = new com.google.cloud.contactcenterinsights.v1.PhraseMatchRuleGroup(this); + com.google.cloud.contactcenterinsights.v1.PhraseMatchRuleGroup result = + new com.google.cloud.contactcenterinsights.v1.PhraseMatchRuleGroup(this); buildPartialRepeatedFields(result); - if (bitField0_ != 0) { buildPartial0(result); } + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } - private void buildPartialRepeatedFields(com.google.cloud.contactcenterinsights.v1.PhraseMatchRuleGroup result) { + private void buildPartialRepeatedFields( + com.google.cloud.contactcenterinsights.v1.PhraseMatchRuleGroup result) { if (phraseMatchRulesBuilder_ == null) { if (((bitField0_ & 0x00000002) != 0)) { phraseMatchRules_ = java.util.Collections.unmodifiableList(phraseMatchRules_); @@ -539,7 +629,8 @@ private void buildPartialRepeatedFields(com.google.cloud.contactcenterinsights.v } } - private void buildPartial0(com.google.cloud.contactcenterinsights.v1.PhraseMatchRuleGroup result) { + private void buildPartial0( + com.google.cloud.contactcenterinsights.v1.PhraseMatchRuleGroup result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { result.type_ = type_; @@ -550,38 +641,39 @@ private void buildPartial0(com.google.cloud.contactcenterinsights.v1.PhraseMatch public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.contactcenterinsights.v1.PhraseMatchRuleGroup) { - return mergeFrom((com.google.cloud.contactcenterinsights.v1.PhraseMatchRuleGroup)other); + return mergeFrom((com.google.cloud.contactcenterinsights.v1.PhraseMatchRuleGroup) other); } else { super.mergeFrom(other); return this; @@ -589,7 +681,9 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.contactcenterinsights.v1.PhraseMatchRuleGroup other) { - if (other == com.google.cloud.contactcenterinsights.v1.PhraseMatchRuleGroup.getDefaultInstance()) return this; + if (other + == com.google.cloud.contactcenterinsights.v1.PhraseMatchRuleGroup.getDefaultInstance()) + return this; if (other.type_ != 0) { setTypeValue(other.getTypeValue()); } @@ -611,9 +705,10 @@ public Builder mergeFrom(com.google.cloud.contactcenterinsights.v1.PhraseMatchRu phraseMatchRulesBuilder_ = null; phraseMatchRules_ = other.phraseMatchRules_; bitField0_ = (bitField0_ & ~0x00000002); - phraseMatchRulesBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? - getPhraseMatchRulesFieldBuilder() : null; + phraseMatchRulesBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders + ? getPhraseMatchRulesFieldBuilder() + : null; } else { phraseMatchRulesBuilder_.addAllMessages(other.phraseMatchRules_); } @@ -645,30 +740,33 @@ public Builder mergeFrom( case 0: done = true; break; - case 8: { - type_ = input.readEnum(); - bitField0_ |= 0x00000001; - break; - } // case 8 - case 18: { - com.google.cloud.contactcenterinsights.v1.PhraseMatchRule m = - input.readMessage( - com.google.cloud.contactcenterinsights.v1.PhraseMatchRule.parser(), - extensionRegistry); - if (phraseMatchRulesBuilder_ == null) { - ensurePhraseMatchRulesIsMutable(); - phraseMatchRules_.add(m); - } else { - phraseMatchRulesBuilder_.addMessage(m); - } - break; - } // case 18 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 8: + { + type_ = input.readEnum(); + bitField0_ |= 0x00000001; + break; + } // case 8 + case 18: + { + com.google.cloud.contactcenterinsights.v1.PhraseMatchRule m = + input.readMessage( + com.google.cloud.contactcenterinsights.v1.PhraseMatchRule.parser(), + extensionRegistry); + if (phraseMatchRulesBuilder_ == null) { + ensurePhraseMatchRulesIsMutable(); + phraseMatchRules_.add(m); + } else { + phraseMatchRulesBuilder_.addMessage(m); + } + break; + } // case 18 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -678,26 +776,38 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private int type_ = 0; /** + * + * *
      * Required. The type of this phrase match rule group.
      * 
* - * .google.cloud.contactcenterinsights.v1.PhraseMatchRuleGroup.PhraseMatchRuleGroupType type = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.contactcenterinsights.v1.PhraseMatchRuleGroup.PhraseMatchRuleGroupType type = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The enum numeric value on the wire for type. */ - @java.lang.Override public int getTypeValue() { + @java.lang.Override + public int getTypeValue() { return type_; } /** + * + * *
      * Required. The type of this phrase match rule group.
      * 
* - * .google.cloud.contactcenterinsights.v1.PhraseMatchRuleGroup.PhraseMatchRuleGroupType type = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.contactcenterinsights.v1.PhraseMatchRuleGroup.PhraseMatchRuleGroupType type = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @param value The enum numeric value on the wire for type to set. * @return This builder for chaining. */ @@ -708,28 +818,47 @@ public Builder setTypeValue(int value) { return this; } /** + * + * *
      * Required. The type of this phrase match rule group.
      * 
* - * .google.cloud.contactcenterinsights.v1.PhraseMatchRuleGroup.PhraseMatchRuleGroupType type = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.contactcenterinsights.v1.PhraseMatchRuleGroup.PhraseMatchRuleGroupType type = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The type. */ @java.lang.Override - public com.google.cloud.contactcenterinsights.v1.PhraseMatchRuleGroup.PhraseMatchRuleGroupType getType() { - com.google.cloud.contactcenterinsights.v1.PhraseMatchRuleGroup.PhraseMatchRuleGroupType result = com.google.cloud.contactcenterinsights.v1.PhraseMatchRuleGroup.PhraseMatchRuleGroupType.forNumber(type_); - return result == null ? com.google.cloud.contactcenterinsights.v1.PhraseMatchRuleGroup.PhraseMatchRuleGroupType.UNRECOGNIZED : result; + public com.google.cloud.contactcenterinsights.v1.PhraseMatchRuleGroup.PhraseMatchRuleGroupType + getType() { + com.google.cloud.contactcenterinsights.v1.PhraseMatchRuleGroup.PhraseMatchRuleGroupType + result = + com.google.cloud.contactcenterinsights.v1.PhraseMatchRuleGroup + .PhraseMatchRuleGroupType.forNumber(type_); + return result == null + ? com.google.cloud.contactcenterinsights.v1.PhraseMatchRuleGroup.PhraseMatchRuleGroupType + .UNRECOGNIZED + : result; } /** + * + * *
      * Required. The type of this phrase match rule group.
      * 
* - * .google.cloud.contactcenterinsights.v1.PhraseMatchRuleGroup.PhraseMatchRuleGroupType type = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.contactcenterinsights.v1.PhraseMatchRuleGroup.PhraseMatchRuleGroupType type = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @param value The type to set. * @return This builder for chaining. */ - public Builder setType(com.google.cloud.contactcenterinsights.v1.PhraseMatchRuleGroup.PhraseMatchRuleGroupType value) { + public Builder setType( + com.google.cloud.contactcenterinsights.v1.PhraseMatchRuleGroup.PhraseMatchRuleGroupType + value) { if (value == null) { throw new NullPointerException(); } @@ -739,11 +868,16 @@ public Builder setType(com.google.cloud.contactcenterinsights.v1.PhraseMatchRule return this; } /** + * + * *
      * Required. The type of this phrase match rule group.
      * 
* - * .google.cloud.contactcenterinsights.v1.PhraseMatchRuleGroup.PhraseMatchRuleGroupType type = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.contactcenterinsights.v1.PhraseMatchRuleGroup.PhraseMatchRuleGroupType type = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return This builder for chaining. */ public Builder clearType() { @@ -753,26 +887,36 @@ public Builder clearType() { return this; } - private java.util.List phraseMatchRules_ = - java.util.Collections.emptyList(); + private java.util.List + phraseMatchRules_ = java.util.Collections.emptyList(); + private void ensurePhraseMatchRulesIsMutable() { if (!((bitField0_ & 0x00000002) != 0)) { - phraseMatchRules_ = new java.util.ArrayList(phraseMatchRules_); + phraseMatchRules_ = + new java.util.ArrayList( + phraseMatchRules_); bitField0_ |= 0x00000002; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.contactcenterinsights.v1.PhraseMatchRule, com.google.cloud.contactcenterinsights.v1.PhraseMatchRule.Builder, com.google.cloud.contactcenterinsights.v1.PhraseMatchRuleOrBuilder> phraseMatchRulesBuilder_; + com.google.cloud.contactcenterinsights.v1.PhraseMatchRule, + com.google.cloud.contactcenterinsights.v1.PhraseMatchRule.Builder, + com.google.cloud.contactcenterinsights.v1.PhraseMatchRuleOrBuilder> + phraseMatchRulesBuilder_; /** + * + * *
      * A list of phase match rules that are included in this group.
      * 
* - * repeated .google.cloud.contactcenterinsights.v1.PhraseMatchRule phrase_match_rules = 2; + * repeated .google.cloud.contactcenterinsights.v1.PhraseMatchRule phrase_match_rules = 2; + * */ - public java.util.List getPhraseMatchRulesList() { + public java.util.List + getPhraseMatchRulesList() { if (phraseMatchRulesBuilder_ == null) { return java.util.Collections.unmodifiableList(phraseMatchRules_); } else { @@ -780,11 +924,14 @@ public java.util.List } } /** + * + * *
      * A list of phase match rules that are included in this group.
      * 
* - * repeated .google.cloud.contactcenterinsights.v1.PhraseMatchRule phrase_match_rules = 2; + * repeated .google.cloud.contactcenterinsights.v1.PhraseMatchRule phrase_match_rules = 2; + * */ public int getPhraseMatchRulesCount() { if (phraseMatchRulesBuilder_ == null) { @@ -794,13 +941,17 @@ public int getPhraseMatchRulesCount() { } } /** + * + * *
      * A list of phase match rules that are included in this group.
      * 
* - * repeated .google.cloud.contactcenterinsights.v1.PhraseMatchRule phrase_match_rules = 2; + * repeated .google.cloud.contactcenterinsights.v1.PhraseMatchRule phrase_match_rules = 2; + * */ - public com.google.cloud.contactcenterinsights.v1.PhraseMatchRule getPhraseMatchRules(int index) { + public com.google.cloud.contactcenterinsights.v1.PhraseMatchRule getPhraseMatchRules( + int index) { if (phraseMatchRulesBuilder_ == null) { return phraseMatchRules_.get(index); } else { @@ -808,11 +959,14 @@ public com.google.cloud.contactcenterinsights.v1.PhraseMatchRule getPhraseMatchR } } /** + * + * *
      * A list of phase match rules that are included in this group.
      * 
* - * repeated .google.cloud.contactcenterinsights.v1.PhraseMatchRule phrase_match_rules = 2; + * repeated .google.cloud.contactcenterinsights.v1.PhraseMatchRule phrase_match_rules = 2; + * */ public Builder setPhraseMatchRules( int index, com.google.cloud.contactcenterinsights.v1.PhraseMatchRule value) { @@ -829,14 +983,18 @@ public Builder setPhraseMatchRules( return this; } /** + * + * *
      * A list of phase match rules that are included in this group.
      * 
* - * repeated .google.cloud.contactcenterinsights.v1.PhraseMatchRule phrase_match_rules = 2; + * repeated .google.cloud.contactcenterinsights.v1.PhraseMatchRule phrase_match_rules = 2; + * */ public Builder setPhraseMatchRules( - int index, com.google.cloud.contactcenterinsights.v1.PhraseMatchRule.Builder builderForValue) { + int index, + com.google.cloud.contactcenterinsights.v1.PhraseMatchRule.Builder builderForValue) { if (phraseMatchRulesBuilder_ == null) { ensurePhraseMatchRulesIsMutable(); phraseMatchRules_.set(index, builderForValue.build()); @@ -847,13 +1005,17 @@ public Builder setPhraseMatchRules( return this; } /** + * + * *
      * A list of phase match rules that are included in this group.
      * 
* - * repeated .google.cloud.contactcenterinsights.v1.PhraseMatchRule phrase_match_rules = 2; + * repeated .google.cloud.contactcenterinsights.v1.PhraseMatchRule phrase_match_rules = 2; + * */ - public Builder addPhraseMatchRules(com.google.cloud.contactcenterinsights.v1.PhraseMatchRule value) { + public Builder addPhraseMatchRules( + com.google.cloud.contactcenterinsights.v1.PhraseMatchRule value) { if (phraseMatchRulesBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -867,11 +1029,14 @@ public Builder addPhraseMatchRules(com.google.cloud.contactcenterinsights.v1.Phr return this; } /** + * + * *
      * A list of phase match rules that are included in this group.
      * 
* - * repeated .google.cloud.contactcenterinsights.v1.PhraseMatchRule phrase_match_rules = 2; + * repeated .google.cloud.contactcenterinsights.v1.PhraseMatchRule phrase_match_rules = 2; + * */ public Builder addPhraseMatchRules( int index, com.google.cloud.contactcenterinsights.v1.PhraseMatchRule value) { @@ -888,11 +1053,14 @@ public Builder addPhraseMatchRules( return this; } /** + * + * *
      * A list of phase match rules that are included in this group.
      * 
* - * repeated .google.cloud.contactcenterinsights.v1.PhraseMatchRule phrase_match_rules = 2; + * repeated .google.cloud.contactcenterinsights.v1.PhraseMatchRule phrase_match_rules = 2; + * */ public Builder addPhraseMatchRules( com.google.cloud.contactcenterinsights.v1.PhraseMatchRule.Builder builderForValue) { @@ -906,14 +1074,18 @@ public Builder addPhraseMatchRules( return this; } /** + * + * *
      * A list of phase match rules that are included in this group.
      * 
* - * repeated .google.cloud.contactcenterinsights.v1.PhraseMatchRule phrase_match_rules = 2; + * repeated .google.cloud.contactcenterinsights.v1.PhraseMatchRule phrase_match_rules = 2; + * */ public Builder addPhraseMatchRules( - int index, com.google.cloud.contactcenterinsights.v1.PhraseMatchRule.Builder builderForValue) { + int index, + com.google.cloud.contactcenterinsights.v1.PhraseMatchRule.Builder builderForValue) { if (phraseMatchRulesBuilder_ == null) { ensurePhraseMatchRulesIsMutable(); phraseMatchRules_.add(index, builderForValue.build()); @@ -924,18 +1096,21 @@ public Builder addPhraseMatchRules( return this; } /** + * + * *
      * A list of phase match rules that are included in this group.
      * 
* - * repeated .google.cloud.contactcenterinsights.v1.PhraseMatchRule phrase_match_rules = 2; + * repeated .google.cloud.contactcenterinsights.v1.PhraseMatchRule phrase_match_rules = 2; + * */ public Builder addAllPhraseMatchRules( - java.lang.Iterable values) { + java.lang.Iterable + values) { if (phraseMatchRulesBuilder_ == null) { ensurePhraseMatchRulesIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, phraseMatchRules_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, phraseMatchRules_); onChanged(); } else { phraseMatchRulesBuilder_.addAllMessages(values); @@ -943,11 +1118,14 @@ public Builder addAllPhraseMatchRules( return this; } /** + * + * *
      * A list of phase match rules that are included in this group.
      * 
* - * repeated .google.cloud.contactcenterinsights.v1.PhraseMatchRule phrase_match_rules = 2; + * repeated .google.cloud.contactcenterinsights.v1.PhraseMatchRule phrase_match_rules = 2; + * */ public Builder clearPhraseMatchRules() { if (phraseMatchRulesBuilder_ == null) { @@ -960,11 +1138,14 @@ public Builder clearPhraseMatchRules() { return this; } /** + * + * *
      * A list of phase match rules that are included in this group.
      * 
* - * repeated .google.cloud.contactcenterinsights.v1.PhraseMatchRule phrase_match_rules = 2; + * repeated .google.cloud.contactcenterinsights.v1.PhraseMatchRule phrase_match_rules = 2; + * */ public Builder removePhraseMatchRules(int index) { if (phraseMatchRulesBuilder_ == null) { @@ -977,39 +1158,50 @@ public Builder removePhraseMatchRules(int index) { return this; } /** + * + * *
      * A list of phase match rules that are included in this group.
      * 
* - * repeated .google.cloud.contactcenterinsights.v1.PhraseMatchRule phrase_match_rules = 2; + * repeated .google.cloud.contactcenterinsights.v1.PhraseMatchRule phrase_match_rules = 2; + * */ - public com.google.cloud.contactcenterinsights.v1.PhraseMatchRule.Builder getPhraseMatchRulesBuilder( - int index) { + public com.google.cloud.contactcenterinsights.v1.PhraseMatchRule.Builder + getPhraseMatchRulesBuilder(int index) { return getPhraseMatchRulesFieldBuilder().getBuilder(index); } /** + * + * *
      * A list of phase match rules that are included in this group.
      * 
* - * repeated .google.cloud.contactcenterinsights.v1.PhraseMatchRule phrase_match_rules = 2; + * repeated .google.cloud.contactcenterinsights.v1.PhraseMatchRule phrase_match_rules = 2; + * */ - public com.google.cloud.contactcenterinsights.v1.PhraseMatchRuleOrBuilder getPhraseMatchRulesOrBuilder( - int index) { + public com.google.cloud.contactcenterinsights.v1.PhraseMatchRuleOrBuilder + getPhraseMatchRulesOrBuilder(int index) { if (phraseMatchRulesBuilder_ == null) { - return phraseMatchRules_.get(index); } else { + return phraseMatchRules_.get(index); + } else { return phraseMatchRulesBuilder_.getMessageOrBuilder(index); } } /** + * + * *
      * A list of phase match rules that are included in this group.
      * 
* - * repeated .google.cloud.contactcenterinsights.v1.PhraseMatchRule phrase_match_rules = 2; + * repeated .google.cloud.contactcenterinsights.v1.PhraseMatchRule phrase_match_rules = 2; + * */ - public java.util.List - getPhraseMatchRulesOrBuilderList() { + public java.util.List< + ? extends com.google.cloud.contactcenterinsights.v1.PhraseMatchRuleOrBuilder> + getPhraseMatchRulesOrBuilderList() { if (phraseMatchRulesBuilder_ != null) { return phraseMatchRulesBuilder_.getMessageOrBuilderList(); } else { @@ -1017,45 +1209,64 @@ public com.google.cloud.contactcenterinsights.v1.PhraseMatchRuleOrBuilder getPhr } } /** + * + * *
      * A list of phase match rules that are included in this group.
      * 
* - * repeated .google.cloud.contactcenterinsights.v1.PhraseMatchRule phrase_match_rules = 2; + * repeated .google.cloud.contactcenterinsights.v1.PhraseMatchRule phrase_match_rules = 2; + * */ - public com.google.cloud.contactcenterinsights.v1.PhraseMatchRule.Builder addPhraseMatchRulesBuilder() { - return getPhraseMatchRulesFieldBuilder().addBuilder( - com.google.cloud.contactcenterinsights.v1.PhraseMatchRule.getDefaultInstance()); + public com.google.cloud.contactcenterinsights.v1.PhraseMatchRule.Builder + addPhraseMatchRulesBuilder() { + return getPhraseMatchRulesFieldBuilder() + .addBuilder( + com.google.cloud.contactcenterinsights.v1.PhraseMatchRule.getDefaultInstance()); } /** + * + * *
      * A list of phase match rules that are included in this group.
      * 
* - * repeated .google.cloud.contactcenterinsights.v1.PhraseMatchRule phrase_match_rules = 2; + * repeated .google.cloud.contactcenterinsights.v1.PhraseMatchRule phrase_match_rules = 2; + * */ - public com.google.cloud.contactcenterinsights.v1.PhraseMatchRule.Builder addPhraseMatchRulesBuilder( - int index) { - return getPhraseMatchRulesFieldBuilder().addBuilder( - index, com.google.cloud.contactcenterinsights.v1.PhraseMatchRule.getDefaultInstance()); + public com.google.cloud.contactcenterinsights.v1.PhraseMatchRule.Builder + addPhraseMatchRulesBuilder(int index) { + return getPhraseMatchRulesFieldBuilder() + .addBuilder( + index, + com.google.cloud.contactcenterinsights.v1.PhraseMatchRule.getDefaultInstance()); } /** + * + * *
      * A list of phase match rules that are included in this group.
      * 
* - * repeated .google.cloud.contactcenterinsights.v1.PhraseMatchRule phrase_match_rules = 2; + * repeated .google.cloud.contactcenterinsights.v1.PhraseMatchRule phrase_match_rules = 2; + * */ - public java.util.List - getPhraseMatchRulesBuilderList() { + public java.util.List + getPhraseMatchRulesBuilderList() { return getPhraseMatchRulesFieldBuilder().getBuilderList(); } + private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.contactcenterinsights.v1.PhraseMatchRule, com.google.cloud.contactcenterinsights.v1.PhraseMatchRule.Builder, com.google.cloud.contactcenterinsights.v1.PhraseMatchRuleOrBuilder> + com.google.cloud.contactcenterinsights.v1.PhraseMatchRule, + com.google.cloud.contactcenterinsights.v1.PhraseMatchRule.Builder, + com.google.cloud.contactcenterinsights.v1.PhraseMatchRuleOrBuilder> getPhraseMatchRulesFieldBuilder() { if (phraseMatchRulesBuilder_ == null) { - phraseMatchRulesBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.contactcenterinsights.v1.PhraseMatchRule, com.google.cloud.contactcenterinsights.v1.PhraseMatchRule.Builder, com.google.cloud.contactcenterinsights.v1.PhraseMatchRuleOrBuilder>( + phraseMatchRulesBuilder_ = + new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.contactcenterinsights.v1.PhraseMatchRule, + com.google.cloud.contactcenterinsights.v1.PhraseMatchRule.Builder, + com.google.cloud.contactcenterinsights.v1.PhraseMatchRuleOrBuilder>( phraseMatchRules_, ((bitField0_ & 0x00000002) != 0), getParentForChildren(), @@ -1064,9 +1275,9 @@ public com.google.cloud.contactcenterinsights.v1.PhraseMatchRule.Builder addPhra } return phraseMatchRulesBuilder_; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1076,41 +1287,43 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.contactcenterinsights.v1.PhraseMatchRuleGroup) } // @@protoc_insertion_point(class_scope:google.cloud.contactcenterinsights.v1.PhraseMatchRuleGroup) - private static final com.google.cloud.contactcenterinsights.v1.PhraseMatchRuleGroup DEFAULT_INSTANCE; + private static final com.google.cloud.contactcenterinsights.v1.PhraseMatchRuleGroup + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.contactcenterinsights.v1.PhraseMatchRuleGroup(); } - public static com.google.cloud.contactcenterinsights.v1.PhraseMatchRuleGroup getDefaultInstance() { + public static com.google.cloud.contactcenterinsights.v1.PhraseMatchRuleGroup + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public PhraseMatchRuleGroup parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public PhraseMatchRuleGroup parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1122,9 +1335,8 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.cloud.contactcenterinsights.v1.PhraseMatchRuleGroup getDefaultInstanceForType() { + public com.google.cloud.contactcenterinsights.v1.PhraseMatchRuleGroup + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/PhraseMatchRuleGroupOrBuilder.java b/java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/PhraseMatchRuleGroupOrBuilder.java similarity index 60% rename from owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/PhraseMatchRuleGroupOrBuilder.java rename to java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/PhraseMatchRuleGroupOrBuilder.java index 12f8accf4866..ae910d8efb7b 100644 --- a/owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/PhraseMatchRuleGroupOrBuilder.java +++ b/java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/PhraseMatchRuleGroupOrBuilder.java @@ -1,71 +1,112 @@ +/* + * 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. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/contactcenterinsights/v1/resources.proto package com.google.cloud.contactcenterinsights.v1; -public interface PhraseMatchRuleGroupOrBuilder extends +public interface PhraseMatchRuleGroupOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.contactcenterinsights.v1.PhraseMatchRuleGroup) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Required. The type of this phrase match rule group.
    * 
* - * .google.cloud.contactcenterinsights.v1.PhraseMatchRuleGroup.PhraseMatchRuleGroupType type = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.contactcenterinsights.v1.PhraseMatchRuleGroup.PhraseMatchRuleGroupType type = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The enum numeric value on the wire for type. */ int getTypeValue(); /** + * + * *
    * Required. The type of this phrase match rule group.
    * 
* - * .google.cloud.contactcenterinsights.v1.PhraseMatchRuleGroup.PhraseMatchRuleGroupType type = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.contactcenterinsights.v1.PhraseMatchRuleGroup.PhraseMatchRuleGroupType type = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The type. */ com.google.cloud.contactcenterinsights.v1.PhraseMatchRuleGroup.PhraseMatchRuleGroupType getType(); /** + * + * *
    * A list of phase match rules that are included in this group.
    * 
* - * repeated .google.cloud.contactcenterinsights.v1.PhraseMatchRule phrase_match_rules = 2; + * repeated .google.cloud.contactcenterinsights.v1.PhraseMatchRule phrase_match_rules = 2; + * */ - java.util.List + java.util.List getPhraseMatchRulesList(); /** + * + * *
    * A list of phase match rules that are included in this group.
    * 
* - * repeated .google.cloud.contactcenterinsights.v1.PhraseMatchRule phrase_match_rules = 2; + * repeated .google.cloud.contactcenterinsights.v1.PhraseMatchRule phrase_match_rules = 2; + * */ com.google.cloud.contactcenterinsights.v1.PhraseMatchRule getPhraseMatchRules(int index); /** + * + * *
    * A list of phase match rules that are included in this group.
    * 
* - * repeated .google.cloud.contactcenterinsights.v1.PhraseMatchRule phrase_match_rules = 2; + * repeated .google.cloud.contactcenterinsights.v1.PhraseMatchRule phrase_match_rules = 2; + * */ int getPhraseMatchRulesCount(); /** + * + * *
    * A list of phase match rules that are included in this group.
    * 
* - * repeated .google.cloud.contactcenterinsights.v1.PhraseMatchRule phrase_match_rules = 2; + * repeated .google.cloud.contactcenterinsights.v1.PhraseMatchRule phrase_match_rules = 2; + * */ - java.util.List + java.util.List getPhraseMatchRulesOrBuilderList(); /** + * + * *
    * A list of phase match rules that are included in this group.
    * 
* - * repeated .google.cloud.contactcenterinsights.v1.PhraseMatchRule phrase_match_rules = 2; + * repeated .google.cloud.contactcenterinsights.v1.PhraseMatchRule phrase_match_rules = 2; + * */ com.google.cloud.contactcenterinsights.v1.PhraseMatchRuleOrBuilder getPhraseMatchRulesOrBuilder( int index); diff --git a/owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/PhraseMatchRuleOrBuilder.java b/java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/PhraseMatchRuleOrBuilder.java similarity index 71% rename from owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/PhraseMatchRuleOrBuilder.java rename to java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/PhraseMatchRuleOrBuilder.java index bb429f12772a..f53d29c954ff 100644 --- a/owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/PhraseMatchRuleOrBuilder.java +++ b/java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/PhraseMatchRuleOrBuilder.java @@ -1,64 +1,96 @@ +/* + * 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. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/contactcenterinsights/v1/resources.proto package com.google.cloud.contactcenterinsights.v1; -public interface PhraseMatchRuleOrBuilder extends +public interface PhraseMatchRuleOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.contactcenterinsights.v1.PhraseMatchRule) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Required. The phrase to be matched.
    * 
* * string query = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The query. */ java.lang.String getQuery(); /** + * + * *
    * Required. The phrase to be matched.
    * 
* * string query = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for query. */ - com.google.protobuf.ByteString - getQueryBytes(); + com.google.protobuf.ByteString getQueryBytes(); /** + * + * *
    * Specifies whether the phrase must be missing from the transcript segment or
    * present in the transcript segment.
    * 
* * bool negated = 2; + * * @return The negated. */ boolean getNegated(); /** + * + * *
    * Provides additional information about the rule that specifies how to apply
    * the rule.
    * 
* * .google.cloud.contactcenterinsights.v1.PhraseMatchRuleConfig config = 3; + * * @return Whether the config field is set. */ boolean hasConfig(); /** + * + * *
    * Provides additional information about the rule that specifies how to apply
    * the rule.
    * 
* * .google.cloud.contactcenterinsights.v1.PhraseMatchRuleConfig config = 3; + * * @return The config. */ com.google.cloud.contactcenterinsights.v1.PhraseMatchRuleConfig getConfig(); /** + * + * *
    * Provides additional information about the rule that specifies how to apply
    * the rule.
diff --git a/owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/PhraseMatcher.java b/java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/PhraseMatcher.java
similarity index 65%
rename from owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/PhraseMatcher.java
rename to java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/PhraseMatcher.java
index 7b9d27171afc..1623849e3856 100644
--- a/owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/PhraseMatcher.java
+++ b/java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/PhraseMatcher.java
@@ -1,24 +1,42 @@
+/*
+ * 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.
+ */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/cloud/contactcenterinsights/v1/resources.proto
 
 package com.google.cloud.contactcenterinsights.v1;
 
 /**
+ *
+ *
  * 
  * The phrase matcher resource.
  * 
* * Protobuf type {@code google.cloud.contactcenterinsights.v1.PhraseMatcher} */ -public final class PhraseMatcher extends - com.google.protobuf.GeneratedMessageV3 implements +public final class PhraseMatcher extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.contactcenterinsights.v1.PhraseMatcher) PhraseMatcherOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use PhraseMatcher.newBuilder() to construct. private PhraseMatcher(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private PhraseMatcher() { name_ = ""; revisionId_ = ""; @@ -31,30 +49,33 @@ private PhraseMatcher() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new PhraseMatcher(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.contactcenterinsights.v1.ResourcesProto.internal_static_google_cloud_contactcenterinsights_v1_PhraseMatcher_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.contactcenterinsights.v1.ResourcesProto + .internal_static_google_cloud_contactcenterinsights_v1_PhraseMatcher_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.contactcenterinsights.v1.ResourcesProto.internal_static_google_cloud_contactcenterinsights_v1_PhraseMatcher_fieldAccessorTable + return com.google.cloud.contactcenterinsights.v1.ResourcesProto + .internal_static_google_cloud_contactcenterinsights_v1_PhraseMatcher_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.contactcenterinsights.v1.PhraseMatcher.class, com.google.cloud.contactcenterinsights.v1.PhraseMatcher.Builder.class); + com.google.cloud.contactcenterinsights.v1.PhraseMatcher.class, + com.google.cloud.contactcenterinsights.v1.PhraseMatcher.Builder.class); } /** + * + * *
    * Specifies how to combine each phrase match rule group to determine whether
    * there is a match.
@@ -62,9 +83,10 @@ protected java.lang.Object newInstance(
    *
    * Protobuf enum {@code google.cloud.contactcenterinsights.v1.PhraseMatcher.PhraseMatcherType}
    */
-  public enum PhraseMatcherType
-      implements com.google.protobuf.ProtocolMessageEnum {
+  public enum PhraseMatcherType implements com.google.protobuf.ProtocolMessageEnum {
     /**
+     *
+     *
      * 
      * Unspecified.
      * 
@@ -73,6 +95,8 @@ public enum PhraseMatcherType */ PHRASE_MATCHER_TYPE_UNSPECIFIED(0), /** + * + * *
      * Must meet all phrase match rule groups or there is no match.
      * 
@@ -81,6 +105,8 @@ public enum PhraseMatcherType */ ALL_OF(1), /** + * + * *
      * If any of the phrase match rule groups are met, there is a match.
      * 
@@ -92,6 +118,8 @@ public enum PhraseMatcherType ; /** + * + * *
      * Unspecified.
      * 
@@ -100,6 +128,8 @@ public enum PhraseMatcherType */ public static final int PHRASE_MATCHER_TYPE_UNSPECIFIED_VALUE = 0; /** + * + * *
      * Must meet all phrase match rule groups or there is no match.
      * 
@@ -108,6 +138,8 @@ public enum PhraseMatcherType */ public static final int ALL_OF_VALUE = 1; /** + * + * *
      * If any of the phrase match rule groups are met, there is a match.
      * 
@@ -116,7 +148,6 @@ public enum PhraseMatcherType */ public static final int ANY_OF_VALUE = 2; - public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -141,10 +172,14 @@ public static PhraseMatcherType valueOf(int value) { */ public static PhraseMatcherType forNumber(int value) { switch (value) { - case 0: return PHRASE_MATCHER_TYPE_UNSPECIFIED; - case 1: return ALL_OF; - case 2: return ANY_OF; - default: return null; + case 0: + return PHRASE_MATCHER_TYPE_UNSPECIFIED; + case 1: + return ALL_OF; + case 2: + return ANY_OF; + default: + return null; } } @@ -152,29 +187,31 @@ public static PhraseMatcherType forNumber(int value) { internalGetValueMap() { return internalValueMap; } - private static final com.google.protobuf.Internal.EnumLiteMap< - PhraseMatcherType> internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public PhraseMatcherType findValueByNumber(int number) { - return PhraseMatcherType.forNumber(number); - } - }; - public final com.google.protobuf.Descriptors.EnumValueDescriptor - getValueDescriptor() { + private static final com.google.protobuf.Internal.EnumLiteMap + internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public PhraseMatcherType findValueByNumber(int number) { + return PhraseMatcherType.forNumber(number); + } + }; + + public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalStateException( "Can't get the descriptor of an unrecognized enum value."); } return getDescriptor().getValues().get(ordinal()); } - public final com.google.protobuf.Descriptors.EnumDescriptor - getDescriptorForType() { + + public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() { return getDescriptor(); } - public static final com.google.protobuf.Descriptors.EnumDescriptor - getDescriptor() { - return com.google.cloud.contactcenterinsights.v1.PhraseMatcher.getDescriptor().getEnumTypes().get(0); + + public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { + return com.google.cloud.contactcenterinsights.v1.PhraseMatcher.getDescriptor() + .getEnumTypes() + .get(0); } private static final PhraseMatcherType[] VALUES = values(); @@ -182,8 +219,7 @@ public PhraseMatcherType findValueByNumber(int number) { public static PhraseMatcherType valueOf( com.google.protobuf.Descriptors.EnumValueDescriptor desc) { if (desc.getType() != getDescriptor()) { - throw new java.lang.IllegalArgumentException( - "EnumValueDescriptor is not for this type."); + throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type."); } if (desc.getIndex() == -1) { return UNRECOGNIZED; @@ -201,9 +237,12 @@ private PhraseMatcherType(int value) { } public static final int NAME_FIELD_NUMBER = 1; + @SuppressWarnings("serial") private volatile java.lang.Object name_ = ""; /** + * + * *
    * The resource name of the phrase matcher.
    * Format:
@@ -211,6 +250,7 @@ private PhraseMatcherType(int value) {
    * 
* * string name = 1; + * * @return The name. */ @java.lang.Override @@ -219,14 +259,15 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** + * + * *
    * The resource name of the phrase matcher.
    * Format:
@@ -234,16 +275,15 @@ public java.lang.String getName() {
    * 
* * string name = 1; + * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -252,9 +292,12 @@ public java.lang.String getName() { } public static final int REVISION_ID_FIELD_NUMBER = 2; + @SuppressWarnings("serial") private volatile java.lang.Object revisionId_ = ""; /** + * + * *
    * Output only. Immutable. The revision ID of the phrase matcher.
    * A new revision is committed whenever the matcher is changed, except when it
@@ -262,7 +305,10 @@ public java.lang.String getName() {
    * Example: locations/global/phraseMatchers/my-first-matcher@1234567
    * 
* - * string revision_id = 2 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.field_behavior) = OUTPUT_ONLY]; + * + * string revision_id = 2 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The revisionId. */ @java.lang.Override @@ -271,14 +317,15 @@ public java.lang.String getRevisionId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); revisionId_ = s; return s; } } /** + * + * *
    * Output only. Immutable. The revision ID of the phrase matcher.
    * A new revision is committed whenever the matcher is changed, except when it
@@ -286,17 +333,18 @@ public java.lang.String getRevisionId() {
    * Example: locations/global/phraseMatchers/my-first-matcher@1234567
    * 
* - * string revision_id = 2 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.field_behavior) = OUTPUT_ONLY]; + * + * string revision_id = 2 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The bytes for revisionId. */ @java.lang.Override - public com.google.protobuf.ByteString - getRevisionIdBytes() { + public com.google.protobuf.ByteString getRevisionIdBytes() { java.lang.Object ref = revisionId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); revisionId_ = b; return b; } else { @@ -305,15 +353,19 @@ public java.lang.String getRevisionId() { } public static final int VERSION_TAG_FIELD_NUMBER = 3; + @SuppressWarnings("serial") private volatile java.lang.Object versionTag_ = ""; /** + * + * *
    * The customized version tag to use for the phrase matcher. If not specified,
    * it will default to `revision_id`.
    * 
* * string version_tag = 3; + * * @return The versionTag. */ @java.lang.Override @@ -322,30 +374,30 @@ public java.lang.String getVersionTag() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); versionTag_ = s; return s; } } /** + * + * *
    * The customized version tag to use for the phrase matcher. If not specified,
    * it will default to `revision_id`.
    * 
* * string version_tag = 3; + * * @return The bytes for versionTag. */ @java.lang.Override - public com.google.protobuf.ByteString - getVersionTagBytes() { + public com.google.protobuf.ByteString getVersionTagBytes() { java.lang.Object ref = versionTag_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); versionTag_ = b; return b; } else { @@ -356,12 +408,17 @@ public java.lang.String getVersionTag() { public static final int REVISION_CREATE_TIME_FIELD_NUMBER = 4; private com.google.protobuf.Timestamp revisionCreateTime_; /** + * + * *
    * Output only. The timestamp of when the revision was created. It is also the
    * create time when a new matcher is added.
    * 
* - * .google.protobuf.Timestamp revision_create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp revision_create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the revisionCreateTime field is set. */ @java.lang.Override @@ -369,40 +426,57 @@ public boolean hasRevisionCreateTime() { return revisionCreateTime_ != null; } /** + * + * *
    * Output only. The timestamp of when the revision was created. It is also the
    * create time when a new matcher is added.
    * 
* - * .google.protobuf.Timestamp revision_create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp revision_create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The revisionCreateTime. */ @java.lang.Override public com.google.protobuf.Timestamp getRevisionCreateTime() { - return revisionCreateTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : revisionCreateTime_; + return revisionCreateTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : revisionCreateTime_; } /** + * + * *
    * Output only. The timestamp of when the revision was created. It is also the
    * create time when a new matcher is added.
    * 
* - * .google.protobuf.Timestamp revision_create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp revision_create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ @java.lang.Override public com.google.protobuf.TimestampOrBuilder getRevisionCreateTimeOrBuilder() { - return revisionCreateTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : revisionCreateTime_; + return revisionCreateTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : revisionCreateTime_; } public static final int DISPLAY_NAME_FIELD_NUMBER = 5; + @SuppressWarnings("serial") private volatile java.lang.Object displayName_ = ""; /** + * + * *
    * The human-readable name of the phrase matcher.
    * 
* * string display_name = 5; + * * @return The displayName. */ @java.lang.Override @@ -411,29 +485,29 @@ public java.lang.String getDisplayName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); displayName_ = s; return s; } } /** + * + * *
    * The human-readable name of the phrase matcher.
    * 
* * string display_name = 5; + * * @return The bytes for displayName. */ @java.lang.Override - public com.google.protobuf.ByteString - getDisplayNameBytes() { + public com.google.protobuf.ByteString getDisplayNameBytes() { java.lang.Object ref = displayName_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); displayName_ = b; return b; } else { @@ -444,37 +518,55 @@ public java.lang.String getDisplayName() { public static final int TYPE_FIELD_NUMBER = 6; private int type_ = 0; /** + * + * *
    * Required. The type of this phrase matcher.
    * 
* - * .google.cloud.contactcenterinsights.v1.PhraseMatcher.PhraseMatcherType type = 6 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.contactcenterinsights.v1.PhraseMatcher.PhraseMatcherType type = 6 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The enum numeric value on the wire for type. */ - @java.lang.Override public int getTypeValue() { + @java.lang.Override + public int getTypeValue() { return type_; } /** + * + * *
    * Required. The type of this phrase matcher.
    * 
* - * .google.cloud.contactcenterinsights.v1.PhraseMatcher.PhraseMatcherType type = 6 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.contactcenterinsights.v1.PhraseMatcher.PhraseMatcherType type = 6 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The type. */ - @java.lang.Override public com.google.cloud.contactcenterinsights.v1.PhraseMatcher.PhraseMatcherType getType() { - com.google.cloud.contactcenterinsights.v1.PhraseMatcher.PhraseMatcherType result = com.google.cloud.contactcenterinsights.v1.PhraseMatcher.PhraseMatcherType.forNumber(type_); - return result == null ? com.google.cloud.contactcenterinsights.v1.PhraseMatcher.PhraseMatcherType.UNRECOGNIZED : result; + @java.lang.Override + public com.google.cloud.contactcenterinsights.v1.PhraseMatcher.PhraseMatcherType getType() { + com.google.cloud.contactcenterinsights.v1.PhraseMatcher.PhraseMatcherType result = + com.google.cloud.contactcenterinsights.v1.PhraseMatcher.PhraseMatcherType.forNumber(type_); + return result == null + ? com.google.cloud.contactcenterinsights.v1.PhraseMatcher.PhraseMatcherType.UNRECOGNIZED + : result; } public static final int ACTIVE_FIELD_NUMBER = 7; private boolean active_ = false; /** + * + * *
    * Applies the phrase matcher only when it is active.
    * 
* * bool active = 7; + * * @return The active. */ @java.lang.Override @@ -483,75 +575,105 @@ public boolean getActive() { } public static final int PHRASE_MATCH_RULE_GROUPS_FIELD_NUMBER = 8; + @SuppressWarnings("serial") - private java.util.List phraseMatchRuleGroups_; + private java.util.List + phraseMatchRuleGroups_; /** + * + * *
    * A list of phase match rule groups that are included in this matcher.
    * 
* - * repeated .google.cloud.contactcenterinsights.v1.PhraseMatchRuleGroup phrase_match_rule_groups = 8; + * + * repeated .google.cloud.contactcenterinsights.v1.PhraseMatchRuleGroup phrase_match_rule_groups = 8; + * */ @java.lang.Override - public java.util.List getPhraseMatchRuleGroupsList() { + public java.util.List + getPhraseMatchRuleGroupsList() { return phraseMatchRuleGroups_; } /** + * + * *
    * A list of phase match rule groups that are included in this matcher.
    * 
* - * repeated .google.cloud.contactcenterinsights.v1.PhraseMatchRuleGroup phrase_match_rule_groups = 8; + * + * repeated .google.cloud.contactcenterinsights.v1.PhraseMatchRuleGroup phrase_match_rule_groups = 8; + * */ @java.lang.Override - public java.util.List + public java.util.List< + ? extends com.google.cloud.contactcenterinsights.v1.PhraseMatchRuleGroupOrBuilder> getPhraseMatchRuleGroupsOrBuilderList() { return phraseMatchRuleGroups_; } /** + * + * *
    * A list of phase match rule groups that are included in this matcher.
    * 
* - * repeated .google.cloud.contactcenterinsights.v1.PhraseMatchRuleGroup phrase_match_rule_groups = 8; + * + * repeated .google.cloud.contactcenterinsights.v1.PhraseMatchRuleGroup phrase_match_rule_groups = 8; + * */ @java.lang.Override public int getPhraseMatchRuleGroupsCount() { return phraseMatchRuleGroups_.size(); } /** + * + * *
    * A list of phase match rule groups that are included in this matcher.
    * 
* - * repeated .google.cloud.contactcenterinsights.v1.PhraseMatchRuleGroup phrase_match_rule_groups = 8; + * + * repeated .google.cloud.contactcenterinsights.v1.PhraseMatchRuleGroup phrase_match_rule_groups = 8; + * */ @java.lang.Override - public com.google.cloud.contactcenterinsights.v1.PhraseMatchRuleGroup getPhraseMatchRuleGroups(int index) { + public com.google.cloud.contactcenterinsights.v1.PhraseMatchRuleGroup getPhraseMatchRuleGroups( + int index) { return phraseMatchRuleGroups_.get(index); } /** + * + * *
    * A list of phase match rule groups that are included in this matcher.
    * 
* - * repeated .google.cloud.contactcenterinsights.v1.PhraseMatchRuleGroup phrase_match_rule_groups = 8; + * + * repeated .google.cloud.contactcenterinsights.v1.PhraseMatchRuleGroup phrase_match_rule_groups = 8; + * */ @java.lang.Override - public com.google.cloud.contactcenterinsights.v1.PhraseMatchRuleGroupOrBuilder getPhraseMatchRuleGroupsOrBuilder( - int index) { + public com.google.cloud.contactcenterinsights.v1.PhraseMatchRuleGroupOrBuilder + getPhraseMatchRuleGroupsOrBuilder(int index) { return phraseMatchRuleGroups_.get(index); } public static final int ACTIVATION_UPDATE_TIME_FIELD_NUMBER = 9; private com.google.protobuf.Timestamp activationUpdateTime_; /** + * + * *
    * Output only. The most recent time at which the activation status was
    * updated.
    * 
* - * .google.protobuf.Timestamp activation_update_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp activation_update_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the activationUpdateTime field is set. */ @java.lang.Override @@ -559,69 +681,100 @@ public boolean hasActivationUpdateTime() { return activationUpdateTime_ != null; } /** + * + * *
    * Output only. The most recent time at which the activation status was
    * updated.
    * 
* - * .google.protobuf.Timestamp activation_update_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp activation_update_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The activationUpdateTime. */ @java.lang.Override public com.google.protobuf.Timestamp getActivationUpdateTime() { - return activationUpdateTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : activationUpdateTime_; + return activationUpdateTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : activationUpdateTime_; } /** + * + * *
    * Output only. The most recent time at which the activation status was
    * updated.
    * 
* - * .google.protobuf.Timestamp activation_update_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp activation_update_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ @java.lang.Override public com.google.protobuf.TimestampOrBuilder getActivationUpdateTimeOrBuilder() { - return activationUpdateTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : activationUpdateTime_; + return activationUpdateTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : activationUpdateTime_; } public static final int ROLE_MATCH_FIELD_NUMBER = 10; private int roleMatch_ = 0; /** + * + * *
    * The role whose utterances the phrase matcher should be matched
    * against. If the role is ROLE_UNSPECIFIED it will be matched against any
    * utterances in the transcript.
    * 
* - * .google.cloud.contactcenterinsights.v1.ConversationParticipant.Role role_match = 10; + * .google.cloud.contactcenterinsights.v1.ConversationParticipant.Role role_match = 10; + * + * * @return The enum numeric value on the wire for roleMatch. */ - @java.lang.Override public int getRoleMatchValue() { + @java.lang.Override + public int getRoleMatchValue() { return roleMatch_; } /** + * + * *
    * The role whose utterances the phrase matcher should be matched
    * against. If the role is ROLE_UNSPECIFIED it will be matched against any
    * utterances in the transcript.
    * 
* - * .google.cloud.contactcenterinsights.v1.ConversationParticipant.Role role_match = 10; + * .google.cloud.contactcenterinsights.v1.ConversationParticipant.Role role_match = 10; + * + * * @return The roleMatch. */ - @java.lang.Override public com.google.cloud.contactcenterinsights.v1.ConversationParticipant.Role getRoleMatch() { - com.google.cloud.contactcenterinsights.v1.ConversationParticipant.Role result = com.google.cloud.contactcenterinsights.v1.ConversationParticipant.Role.forNumber(roleMatch_); - return result == null ? com.google.cloud.contactcenterinsights.v1.ConversationParticipant.Role.UNRECOGNIZED : result; + @java.lang.Override + public com.google.cloud.contactcenterinsights.v1.ConversationParticipant.Role getRoleMatch() { + com.google.cloud.contactcenterinsights.v1.ConversationParticipant.Role result = + com.google.cloud.contactcenterinsights.v1.ConversationParticipant.Role.forNumber( + roleMatch_); + return result == null + ? com.google.cloud.contactcenterinsights.v1.ConversationParticipant.Role.UNRECOGNIZED + : result; } public static final int UPDATE_TIME_FIELD_NUMBER = 11; private com.google.protobuf.Timestamp updateTime_; /** + * + * *
    * Output only. The most recent time at which the phrase matcher was updated.
    * 
* - * .google.protobuf.Timestamp update_time = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp update_time = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the updateTime field is set. */ @java.lang.Override @@ -629,11 +782,15 @@ public boolean hasUpdateTime() { return updateTime_ != null; } /** + * + * *
    * Output only. The most recent time at which the phrase matcher was updated.
    * 
* - * .google.protobuf.Timestamp update_time = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp update_time = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The updateTime. */ @java.lang.Override @@ -641,11 +798,14 @@ public com.google.protobuf.Timestamp getUpdateTime() { return updateTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : updateTime_; } /** + * + * *
    * Output only. The most recent time at which the phrase matcher was updated.
    * 
* - * .google.protobuf.Timestamp update_time = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp update_time = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ @java.lang.Override public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { @@ -653,6 +813,7 @@ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -664,8 +825,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -681,7 +841,10 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(displayName_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 5, displayName_); } - if (type_ != com.google.cloud.contactcenterinsights.v1.PhraseMatcher.PhraseMatcherType.PHRASE_MATCHER_TYPE_UNSPECIFIED.getNumber()) { + if (type_ + != com.google.cloud.contactcenterinsights.v1.PhraseMatcher.PhraseMatcherType + .PHRASE_MATCHER_TYPE_UNSPECIFIED + .getNumber()) { output.writeEnum(6, type_); } if (active_ != false) { @@ -693,7 +856,9 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) if (activationUpdateTime_ != null) { output.writeMessage(9, getActivationUpdateTime()); } - if (roleMatch_ != com.google.cloud.contactcenterinsights.v1.ConversationParticipant.Role.ROLE_UNSPECIFIED.getNumber()) { + if (roleMatch_ + != com.google.cloud.contactcenterinsights.v1.ConversationParticipant.Role.ROLE_UNSPECIFIED + .getNumber()) { output.writeEnum(10, roleMatch_); } if (updateTime_ != null) { @@ -718,35 +883,36 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, versionTag_); } if (revisionCreateTime_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(4, getRevisionCreateTime()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(4, getRevisionCreateTime()); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(displayName_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(5, displayName_); } - if (type_ != com.google.cloud.contactcenterinsights.v1.PhraseMatcher.PhraseMatcherType.PHRASE_MATCHER_TYPE_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(6, type_); + if (type_ + != com.google.cloud.contactcenterinsights.v1.PhraseMatcher.PhraseMatcherType + .PHRASE_MATCHER_TYPE_UNSPECIFIED + .getNumber()) { + size += com.google.protobuf.CodedOutputStream.computeEnumSize(6, type_); } if (active_ != false) { - size += com.google.protobuf.CodedOutputStream - .computeBoolSize(7, active_); + size += com.google.protobuf.CodedOutputStream.computeBoolSize(7, active_); } for (int i = 0; i < phraseMatchRuleGroups_.size(); i++) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(8, phraseMatchRuleGroups_.get(i)); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 8, phraseMatchRuleGroups_.get(i)); } if (activationUpdateTime_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(9, getActivationUpdateTime()); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize(9, getActivationUpdateTime()); } - if (roleMatch_ != com.google.cloud.contactcenterinsights.v1.ConversationParticipant.Role.ROLE_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(10, roleMatch_); + if (roleMatch_ + != com.google.cloud.contactcenterinsights.v1.ConversationParticipant.Role.ROLE_UNSPECIFIED + .getNumber()) { + size += com.google.protobuf.CodedOutputStream.computeEnumSize(10, roleMatch_); } if (updateTime_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(11, getUpdateTime()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(11, getUpdateTime()); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -756,41 +922,33 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.contactcenterinsights.v1.PhraseMatcher)) { return super.equals(obj); } - com.google.cloud.contactcenterinsights.v1.PhraseMatcher other = (com.google.cloud.contactcenterinsights.v1.PhraseMatcher) obj; + com.google.cloud.contactcenterinsights.v1.PhraseMatcher other = + (com.google.cloud.contactcenterinsights.v1.PhraseMatcher) obj; - if (!getName() - .equals(other.getName())) return false; - if (!getRevisionId() - .equals(other.getRevisionId())) return false; - if (!getVersionTag() - .equals(other.getVersionTag())) return false; + if (!getName().equals(other.getName())) return false; + if (!getRevisionId().equals(other.getRevisionId())) return false; + if (!getVersionTag().equals(other.getVersionTag())) return false; if (hasRevisionCreateTime() != other.hasRevisionCreateTime()) return false; if (hasRevisionCreateTime()) { - if (!getRevisionCreateTime() - .equals(other.getRevisionCreateTime())) return false; + if (!getRevisionCreateTime().equals(other.getRevisionCreateTime())) return false; } - if (!getDisplayName() - .equals(other.getDisplayName())) return false; + if (!getDisplayName().equals(other.getDisplayName())) return false; if (type_ != other.type_) return false; - if (getActive() - != other.getActive()) return false; - if (!getPhraseMatchRuleGroupsList() - .equals(other.getPhraseMatchRuleGroupsList())) return false; + if (getActive() != other.getActive()) return false; + if (!getPhraseMatchRuleGroupsList().equals(other.getPhraseMatchRuleGroupsList())) return false; if (hasActivationUpdateTime() != other.hasActivationUpdateTime()) return false; if (hasActivationUpdateTime()) { - if (!getActivationUpdateTime() - .equals(other.getActivationUpdateTime())) return false; + if (!getActivationUpdateTime().equals(other.getActivationUpdateTime())) return false; } if (roleMatch_ != other.roleMatch_) return false; if (hasUpdateTime() != other.hasUpdateTime()) return false; if (hasUpdateTime()) { - if (!getUpdateTime() - .equals(other.getUpdateTime())) return false; + if (!getUpdateTime().equals(other.getUpdateTime())) return false; } if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -818,8 +976,7 @@ public int hashCode() { hash = (37 * hash) + TYPE_FIELD_NUMBER; hash = (53 * hash) + type_; hash = (37 * hash) + ACTIVE_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( - getActive()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getActive()); if (getPhraseMatchRuleGroupsCount() > 0) { hash = (37 * hash) + PHRASE_MATCH_RULE_GROUPS_FIELD_NUMBER; hash = (53 * hash) + getPhraseMatchRuleGroupsList().hashCode(); @@ -840,129 +997,136 @@ public int hashCode() { } public static com.google.cloud.contactcenterinsights.v1.PhraseMatcher parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.contactcenterinsights.v1.PhraseMatcher parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.contactcenterinsights.v1.PhraseMatcher parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.contactcenterinsights.v1.PhraseMatcher parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.contactcenterinsights.v1.PhraseMatcher parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.contactcenterinsights.v1.PhraseMatcher parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.contactcenterinsights.v1.PhraseMatcher parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.contactcenterinsights.v1.PhraseMatcher parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.contactcenterinsights.v1.PhraseMatcher parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.contactcenterinsights.v1.PhraseMatcher parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.contactcenterinsights.v1.PhraseMatcher parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.contactcenterinsights.v1.PhraseMatcher parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.contactcenterinsights.v1.PhraseMatcher parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.contactcenterinsights.v1.PhraseMatcher parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.contactcenterinsights.v1.PhraseMatcher prototype) { + + public static Builder newBuilder( + com.google.cloud.contactcenterinsights.v1.PhraseMatcher prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * The phrase matcher resource.
    * 
* * Protobuf type {@code google.cloud.contactcenterinsights.v1.PhraseMatcher} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.contactcenterinsights.v1.PhraseMatcher) com.google.cloud.contactcenterinsights.v1.PhraseMatcherOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.contactcenterinsights.v1.ResourcesProto.internal_static_google_cloud_contactcenterinsights_v1_PhraseMatcher_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.contactcenterinsights.v1.ResourcesProto + .internal_static_google_cloud_contactcenterinsights_v1_PhraseMatcher_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.contactcenterinsights.v1.ResourcesProto.internal_static_google_cloud_contactcenterinsights_v1_PhraseMatcher_fieldAccessorTable + return com.google.cloud.contactcenterinsights.v1.ResourcesProto + .internal_static_google_cloud_contactcenterinsights_v1_PhraseMatcher_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.contactcenterinsights.v1.PhraseMatcher.class, com.google.cloud.contactcenterinsights.v1.PhraseMatcher.Builder.class); + com.google.cloud.contactcenterinsights.v1.PhraseMatcher.class, + com.google.cloud.contactcenterinsights.v1.PhraseMatcher.Builder.class); } // Construct using com.google.cloud.contactcenterinsights.v1.PhraseMatcher.newBuilder() - private Builder() { - - } + private Builder() {} - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -1000,9 +1164,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.contactcenterinsights.v1.ResourcesProto.internal_static_google_cloud_contactcenterinsights_v1_PhraseMatcher_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.contactcenterinsights.v1.ResourcesProto + .internal_static_google_cloud_contactcenterinsights_v1_PhraseMatcher_descriptor; } @java.lang.Override @@ -1021,14 +1185,18 @@ public com.google.cloud.contactcenterinsights.v1.PhraseMatcher build() { @java.lang.Override public com.google.cloud.contactcenterinsights.v1.PhraseMatcher buildPartial() { - com.google.cloud.contactcenterinsights.v1.PhraseMatcher result = new com.google.cloud.contactcenterinsights.v1.PhraseMatcher(this); + com.google.cloud.contactcenterinsights.v1.PhraseMatcher result = + new com.google.cloud.contactcenterinsights.v1.PhraseMatcher(this); buildPartialRepeatedFields(result); - if (bitField0_ != 0) { buildPartial0(result); } + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } - private void buildPartialRepeatedFields(com.google.cloud.contactcenterinsights.v1.PhraseMatcher result) { + private void buildPartialRepeatedFields( + com.google.cloud.contactcenterinsights.v1.PhraseMatcher result) { if (phraseMatchRuleGroupsBuilder_ == null) { if (((bitField0_ & 0x00000080) != 0)) { phraseMatchRuleGroups_ = java.util.Collections.unmodifiableList(phraseMatchRuleGroups_); @@ -1052,9 +1220,10 @@ private void buildPartial0(com.google.cloud.contactcenterinsights.v1.PhraseMatch result.versionTag_ = versionTag_; } if (((from_bitField0_ & 0x00000008) != 0)) { - result.revisionCreateTime_ = revisionCreateTimeBuilder_ == null - ? revisionCreateTime_ - : revisionCreateTimeBuilder_.build(); + result.revisionCreateTime_ = + revisionCreateTimeBuilder_ == null + ? revisionCreateTime_ + : revisionCreateTimeBuilder_.build(); } if (((from_bitField0_ & 0x00000010) != 0)) { result.displayName_ = displayName_; @@ -1066,17 +1235,16 @@ private void buildPartial0(com.google.cloud.contactcenterinsights.v1.PhraseMatch result.active_ = active_; } if (((from_bitField0_ & 0x00000100) != 0)) { - result.activationUpdateTime_ = activationUpdateTimeBuilder_ == null - ? activationUpdateTime_ - : activationUpdateTimeBuilder_.build(); + result.activationUpdateTime_ = + activationUpdateTimeBuilder_ == null + ? activationUpdateTime_ + : activationUpdateTimeBuilder_.build(); } if (((from_bitField0_ & 0x00000200) != 0)) { result.roleMatch_ = roleMatch_; } if (((from_bitField0_ & 0x00000400) != 0)) { - result.updateTime_ = updateTimeBuilder_ == null - ? updateTime_ - : updateTimeBuilder_.build(); + result.updateTime_ = updateTimeBuilder_ == null ? updateTime_ : updateTimeBuilder_.build(); } } @@ -1084,38 +1252,39 @@ private void buildPartial0(com.google.cloud.contactcenterinsights.v1.PhraseMatch public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.contactcenterinsights.v1.PhraseMatcher) { - return mergeFrom((com.google.cloud.contactcenterinsights.v1.PhraseMatcher)other); + return mergeFrom((com.google.cloud.contactcenterinsights.v1.PhraseMatcher) other); } else { super.mergeFrom(other); return this; @@ -1123,7 +1292,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.contactcenterinsights.v1.PhraseMatcher other) { - if (other == com.google.cloud.contactcenterinsights.v1.PhraseMatcher.getDefaultInstance()) return this; + if (other == com.google.cloud.contactcenterinsights.v1.PhraseMatcher.getDefaultInstance()) + return this; if (!other.getName().isEmpty()) { name_ = other.name_; bitField0_ |= 0x00000001; @@ -1171,9 +1341,10 @@ public Builder mergeFrom(com.google.cloud.contactcenterinsights.v1.PhraseMatcher phraseMatchRuleGroupsBuilder_ = null; phraseMatchRuleGroups_ = other.phraseMatchRuleGroups_; bitField0_ = (bitField0_ & ~0x00000080); - phraseMatchRuleGroupsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? - getPhraseMatchRuleGroupsFieldBuilder() : null; + phraseMatchRuleGroupsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders + ? getPhraseMatchRuleGroupsFieldBuilder() + : null; } else { phraseMatchRuleGroupsBuilder_.addAllMessages(other.phraseMatchRuleGroups_); } @@ -1214,81 +1385,89 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - name_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: { - revisionId_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000002; - break; - } // case 18 - case 26: { - versionTag_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000004; - break; - } // case 26 - case 34: { - input.readMessage( - getRevisionCreateTimeFieldBuilder().getBuilder(), - extensionRegistry); - bitField0_ |= 0x00000008; - break; - } // case 34 - case 42: { - displayName_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000010; - break; - } // case 42 - case 48: { - type_ = input.readEnum(); - bitField0_ |= 0x00000020; - break; - } // case 48 - case 56: { - active_ = input.readBool(); - bitField0_ |= 0x00000040; - break; - } // case 56 - case 66: { - com.google.cloud.contactcenterinsights.v1.PhraseMatchRuleGroup m = - input.readMessage( - com.google.cloud.contactcenterinsights.v1.PhraseMatchRuleGroup.parser(), - extensionRegistry); - if (phraseMatchRuleGroupsBuilder_ == null) { - ensurePhraseMatchRuleGroupsIsMutable(); - phraseMatchRuleGroups_.add(m); - } else { - phraseMatchRuleGroupsBuilder_.addMessage(m); - } - break; - } // case 66 - case 74: { - input.readMessage( - getActivationUpdateTimeFieldBuilder().getBuilder(), - extensionRegistry); - bitField0_ |= 0x00000100; - break; - } // case 74 - case 80: { - roleMatch_ = input.readEnum(); - bitField0_ |= 0x00000200; - break; - } // case 80 - case 90: { - input.readMessage( - getUpdateTimeFieldBuilder().getBuilder(), - extensionRegistry); - bitField0_ |= 0x00000400; - break; - } // case 90 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + name_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: + { + revisionId_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + break; + } // case 18 + case 26: + { + versionTag_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000004; + break; + } // case 26 + case 34: + { + input.readMessage( + getRevisionCreateTimeFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000008; + break; + } // case 34 + case 42: + { + displayName_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000010; + break; + } // case 42 + case 48: + { + type_ = input.readEnum(); + bitField0_ |= 0x00000020; + break; + } // case 48 + case 56: + { + active_ = input.readBool(); + bitField0_ |= 0x00000040; + break; + } // case 56 + case 66: + { + com.google.cloud.contactcenterinsights.v1.PhraseMatchRuleGroup m = + input.readMessage( + com.google.cloud.contactcenterinsights.v1.PhraseMatchRuleGroup.parser(), + extensionRegistry); + if (phraseMatchRuleGroupsBuilder_ == null) { + ensurePhraseMatchRuleGroupsIsMutable(); + phraseMatchRuleGroups_.add(m); + } else { + phraseMatchRuleGroupsBuilder_.addMessage(m); + } + break; + } // case 66 + case 74: + { + input.readMessage( + getActivationUpdateTimeFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000100; + break; + } // case 74 + case 80: + { + roleMatch_ = input.readEnum(); + bitField0_ |= 0x00000200; + break; + } // case 80 + case 90: + { + input.readMessage(getUpdateTimeFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000400; + break; + } // case 90 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -1298,10 +1477,13 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private java.lang.Object name_ = ""; /** + * + * *
      * The resource name of the phrase matcher.
      * Format:
@@ -1309,13 +1491,13 @@ public Builder mergeFrom(
      * 
* * string name = 1; + * * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -1324,6 +1506,8 @@ public java.lang.String getName() { } } /** + * + * *
      * The resource name of the phrase matcher.
      * Format:
@@ -1331,15 +1515,14 @@ public java.lang.String getName() {
      * 
* * string name = 1; + * * @return The bytes for name. */ - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -1347,6 +1530,8 @@ public java.lang.String getName() { } } /** + * + * *
      * The resource name of the phrase matcher.
      * Format:
@@ -1354,18 +1539,22 @@ public java.lang.String getName() {
      * 
* * string name = 1; + * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setName(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } name_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
      * The resource name of the phrase matcher.
      * Format:
@@ -1373,6 +1562,7 @@ public Builder setName(
      * 
* * string name = 1; + * * @return This builder for chaining. */ public Builder clearName() { @@ -1382,6 +1572,8 @@ public Builder clearName() { return this; } /** + * + * *
      * The resource name of the phrase matcher.
      * Format:
@@ -1389,12 +1581,14 @@ public Builder clearName() {
      * 
* * string name = 1; + * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setNameBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); name_ = value; bitField0_ |= 0x00000001; @@ -1404,6 +1598,8 @@ public Builder setNameBytes( private java.lang.Object revisionId_ = ""; /** + * + * *
      * Output only. Immutable. The revision ID of the phrase matcher.
      * A new revision is committed whenever the matcher is changed, except when it
@@ -1411,14 +1607,16 @@ public Builder setNameBytes(
      * Example: locations/global/phraseMatchers/my-first-matcher@1234567
      * 
* - * string revision_id = 2 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.field_behavior) = OUTPUT_ONLY]; + * + * string revision_id = 2 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The revisionId. */ public java.lang.String getRevisionId() { java.lang.Object ref = revisionId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); revisionId_ = s; return s; @@ -1427,6 +1625,8 @@ public java.lang.String getRevisionId() { } } /** + * + * *
      * Output only. Immutable. The revision ID of the phrase matcher.
      * A new revision is committed whenever the matcher is changed, except when it
@@ -1434,16 +1634,17 @@ public java.lang.String getRevisionId() {
      * Example: locations/global/phraseMatchers/my-first-matcher@1234567
      * 
* - * string revision_id = 2 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.field_behavior) = OUTPUT_ONLY]; + * + * string revision_id = 2 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The bytes for revisionId. */ - public com.google.protobuf.ByteString - getRevisionIdBytes() { + public com.google.protobuf.ByteString getRevisionIdBytes() { java.lang.Object ref = revisionId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); revisionId_ = b; return b; } else { @@ -1451,6 +1652,8 @@ public java.lang.String getRevisionId() { } } /** + * + * *
      * Output only. Immutable. The revision ID of the phrase matcher.
      * A new revision is committed whenever the matcher is changed, except when it
@@ -1458,19 +1661,25 @@ public java.lang.String getRevisionId() {
      * Example: locations/global/phraseMatchers/my-first-matcher@1234567
      * 
* - * string revision_id = 2 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.field_behavior) = OUTPUT_ONLY]; + * + * string revision_id = 2 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @param value The revisionId to set. * @return This builder for chaining. */ - public Builder setRevisionId( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setRevisionId(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } revisionId_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** + * + * *
      * Output only. Immutable. The revision ID of the phrase matcher.
      * A new revision is committed whenever the matcher is changed, except when it
@@ -1478,7 +1687,10 @@ public Builder setRevisionId(
      * Example: locations/global/phraseMatchers/my-first-matcher@1234567
      * 
* - * string revision_id = 2 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.field_behavior) = OUTPUT_ONLY]; + * + * string revision_id = 2 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return This builder for chaining. */ public Builder clearRevisionId() { @@ -1488,6 +1700,8 @@ public Builder clearRevisionId() { return this; } /** + * + * *
      * Output only. Immutable. The revision ID of the phrase matcher.
      * A new revision is committed whenever the matcher is changed, except when it
@@ -1495,13 +1709,17 @@ public Builder clearRevisionId() {
      * Example: locations/global/phraseMatchers/my-first-matcher@1234567
      * 
* - * string revision_id = 2 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.field_behavior) = OUTPUT_ONLY]; + * + * string revision_id = 2 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @param value The bytes for revisionId to set. * @return This builder for chaining. */ - public Builder setRevisionIdBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setRevisionIdBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); revisionId_ = value; bitField0_ |= 0x00000002; @@ -1511,19 +1729,21 @@ public Builder setRevisionIdBytes( private java.lang.Object versionTag_ = ""; /** + * + * *
      * The customized version tag to use for the phrase matcher. If not specified,
      * it will default to `revision_id`.
      * 
* * string version_tag = 3; + * * @return The versionTag. */ public java.lang.String getVersionTag() { java.lang.Object ref = versionTag_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); versionTag_ = s; return s; @@ -1532,21 +1752,22 @@ public java.lang.String getVersionTag() { } } /** + * + * *
      * The customized version tag to use for the phrase matcher. If not specified,
      * it will default to `revision_id`.
      * 
* * string version_tag = 3; + * * @return The bytes for versionTag. */ - public com.google.protobuf.ByteString - getVersionTagBytes() { + public com.google.protobuf.ByteString getVersionTagBytes() { java.lang.Object ref = versionTag_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); versionTag_ = b; return b; } else { @@ -1554,30 +1775,37 @@ public java.lang.String getVersionTag() { } } /** + * + * *
      * The customized version tag to use for the phrase matcher. If not specified,
      * it will default to `revision_id`.
      * 
* * string version_tag = 3; + * * @param value The versionTag to set. * @return This builder for chaining. */ - public Builder setVersionTag( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setVersionTag(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } versionTag_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } /** + * + * *
      * The customized version tag to use for the phrase matcher. If not specified,
      * it will default to `revision_id`.
      * 
* * string version_tag = 3; + * * @return This builder for chaining. */ public Builder clearVersionTag() { @@ -1587,18 +1815,22 @@ public Builder clearVersionTag() { return this; } /** + * + * *
      * The customized version tag to use for the phrase matcher. If not specified,
      * it will default to `revision_id`.
      * 
* * string version_tag = 3; + * * @param value The bytes for versionTag to set. * @return This builder for chaining. */ - public Builder setVersionTagBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setVersionTagBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); versionTag_ = value; bitField0_ |= 0x00000004; @@ -1608,42 +1840,61 @@ public Builder setVersionTagBytes( private com.google.protobuf.Timestamp revisionCreateTime_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> revisionCreateTimeBuilder_; + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder> + revisionCreateTimeBuilder_; /** + * + * *
      * Output only. The timestamp of when the revision was created. It is also the
      * create time when a new matcher is added.
      * 
* - * .google.protobuf.Timestamp revision_create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp revision_create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the revisionCreateTime field is set. */ public boolean hasRevisionCreateTime() { return ((bitField0_ & 0x00000008) != 0); } /** + * + * *
      * Output only. The timestamp of when the revision was created. It is also the
      * create time when a new matcher is added.
      * 
* - * .google.protobuf.Timestamp revision_create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp revision_create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The revisionCreateTime. */ public com.google.protobuf.Timestamp getRevisionCreateTime() { if (revisionCreateTimeBuilder_ == null) { - return revisionCreateTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : revisionCreateTime_; + return revisionCreateTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : revisionCreateTime_; } else { return revisionCreateTimeBuilder_.getMessage(); } } /** + * + * *
      * Output only. The timestamp of when the revision was created. It is also the
      * create time when a new matcher is added.
      * 
* - * .google.protobuf.Timestamp revision_create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp revision_create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder setRevisionCreateTime(com.google.protobuf.Timestamp value) { if (revisionCreateTimeBuilder_ == null) { @@ -1659,15 +1910,18 @@ public Builder setRevisionCreateTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * Output only. The timestamp of when the revision was created. It is also the
      * create time when a new matcher is added.
      * 
* - * .google.protobuf.Timestamp revision_create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp revision_create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - public Builder setRevisionCreateTime( - com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setRevisionCreateTime(com.google.protobuf.Timestamp.Builder builderForValue) { if (revisionCreateTimeBuilder_ == null) { revisionCreateTime_ = builderForValue.build(); } else { @@ -1678,18 +1932,22 @@ public Builder setRevisionCreateTime( return this; } /** + * + * *
      * Output only. The timestamp of when the revision was created. It is also the
      * create time when a new matcher is added.
      * 
* - * .google.protobuf.Timestamp revision_create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp revision_create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder mergeRevisionCreateTime(com.google.protobuf.Timestamp value) { if (revisionCreateTimeBuilder_ == null) { - if (((bitField0_ & 0x00000008) != 0) && - revisionCreateTime_ != null && - revisionCreateTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { + if (((bitField0_ & 0x00000008) != 0) + && revisionCreateTime_ != null + && revisionCreateTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { getRevisionCreateTimeBuilder().mergeFrom(value); } else { revisionCreateTime_ = value; @@ -1702,12 +1960,16 @@ public Builder mergeRevisionCreateTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * Output only. The timestamp of when the revision was created. It is also the
      * create time when a new matcher is added.
      * 
* - * .google.protobuf.Timestamp revision_create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp revision_create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder clearRevisionCreateTime() { bitField0_ = (bitField0_ & ~0x00000008); @@ -1720,12 +1982,16 @@ public Builder clearRevisionCreateTime() { return this; } /** + * + * *
      * Output only. The timestamp of when the revision was created. It is also the
      * create time when a new matcher is added.
      * 
* - * .google.protobuf.Timestamp revision_create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp revision_create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public com.google.protobuf.Timestamp.Builder getRevisionCreateTimeBuilder() { bitField0_ |= 0x00000008; @@ -1733,38 +1999,50 @@ public com.google.protobuf.Timestamp.Builder getRevisionCreateTimeBuilder() { return getRevisionCreateTimeFieldBuilder().getBuilder(); } /** + * + * *
      * Output only. The timestamp of when the revision was created. It is also the
      * create time when a new matcher is added.
      * 
* - * .google.protobuf.Timestamp revision_create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp revision_create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public com.google.protobuf.TimestampOrBuilder getRevisionCreateTimeOrBuilder() { if (revisionCreateTimeBuilder_ != null) { return revisionCreateTimeBuilder_.getMessageOrBuilder(); } else { - return revisionCreateTime_ == null ? - com.google.protobuf.Timestamp.getDefaultInstance() : revisionCreateTime_; + return revisionCreateTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : revisionCreateTime_; } } /** + * + * *
      * Output only. The timestamp of when the revision was created. It is also the
      * create time when a new matcher is added.
      * 
* - * .google.protobuf.Timestamp revision_create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp revision_create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder> getRevisionCreateTimeFieldBuilder() { if (revisionCreateTimeBuilder_ == null) { - revisionCreateTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( - getRevisionCreateTime(), - getParentForChildren(), - isClean()); + revisionCreateTimeBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder>( + getRevisionCreateTime(), getParentForChildren(), isClean()); revisionCreateTime_ = null; } return revisionCreateTimeBuilder_; @@ -1772,18 +2050,20 @@ public com.google.protobuf.TimestampOrBuilder getRevisionCreateTimeOrBuilder() { private java.lang.Object displayName_ = ""; /** + * + * *
      * The human-readable name of the phrase matcher.
      * 
* * string display_name = 5; + * * @return The displayName. */ public java.lang.String getDisplayName() { java.lang.Object ref = displayName_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); displayName_ = s; return s; @@ -1792,20 +2072,21 @@ public java.lang.String getDisplayName() { } } /** + * + * *
      * The human-readable name of the phrase matcher.
      * 
* * string display_name = 5; + * * @return The bytes for displayName. */ - public com.google.protobuf.ByteString - getDisplayNameBytes() { + public com.google.protobuf.ByteString getDisplayNameBytes() { java.lang.Object ref = displayName_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); displayName_ = b; return b; } else { @@ -1813,28 +2094,35 @@ public java.lang.String getDisplayName() { } } /** + * + * *
      * The human-readable name of the phrase matcher.
      * 
* * string display_name = 5; + * * @param value The displayName to set. * @return This builder for chaining. */ - public Builder setDisplayName( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setDisplayName(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } displayName_ = value; bitField0_ |= 0x00000010; onChanged(); return this; } /** + * + * *
      * The human-readable name of the phrase matcher.
      * 
* * string display_name = 5; + * * @return This builder for chaining. */ public Builder clearDisplayName() { @@ -1844,17 +2132,21 @@ public Builder clearDisplayName() { return this; } /** + * + * *
      * The human-readable name of the phrase matcher.
      * 
* * string display_name = 5; + * * @param value The bytes for displayName to set. * @return This builder for chaining. */ - public Builder setDisplayNameBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setDisplayNameBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); displayName_ = value; bitField0_ |= 0x00000010; @@ -1864,22 +2156,33 @@ public Builder setDisplayNameBytes( private int type_ = 0; /** + * + * *
      * Required. The type of this phrase matcher.
      * 
* - * .google.cloud.contactcenterinsights.v1.PhraseMatcher.PhraseMatcherType type = 6 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.contactcenterinsights.v1.PhraseMatcher.PhraseMatcherType type = 6 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The enum numeric value on the wire for type. */ - @java.lang.Override public int getTypeValue() { + @java.lang.Override + public int getTypeValue() { return type_; } /** + * + * *
      * Required. The type of this phrase matcher.
      * 
* - * .google.cloud.contactcenterinsights.v1.PhraseMatcher.PhraseMatcherType type = 6 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.contactcenterinsights.v1.PhraseMatcher.PhraseMatcherType type = 6 [(.google.api.field_behavior) = REQUIRED]; + * + * * @param value The enum numeric value on the wire for type to set. * @return This builder for chaining. */ @@ -1890,28 +2193,43 @@ public Builder setTypeValue(int value) { return this; } /** + * + * *
      * Required. The type of this phrase matcher.
      * 
* - * .google.cloud.contactcenterinsights.v1.PhraseMatcher.PhraseMatcherType type = 6 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.contactcenterinsights.v1.PhraseMatcher.PhraseMatcherType type = 6 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The type. */ @java.lang.Override public com.google.cloud.contactcenterinsights.v1.PhraseMatcher.PhraseMatcherType getType() { - com.google.cloud.contactcenterinsights.v1.PhraseMatcher.PhraseMatcherType result = com.google.cloud.contactcenterinsights.v1.PhraseMatcher.PhraseMatcherType.forNumber(type_); - return result == null ? com.google.cloud.contactcenterinsights.v1.PhraseMatcher.PhraseMatcherType.UNRECOGNIZED : result; + com.google.cloud.contactcenterinsights.v1.PhraseMatcher.PhraseMatcherType result = + com.google.cloud.contactcenterinsights.v1.PhraseMatcher.PhraseMatcherType.forNumber( + type_); + return result == null + ? com.google.cloud.contactcenterinsights.v1.PhraseMatcher.PhraseMatcherType.UNRECOGNIZED + : result; } /** + * + * *
      * Required. The type of this phrase matcher.
      * 
* - * .google.cloud.contactcenterinsights.v1.PhraseMatcher.PhraseMatcherType type = 6 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.contactcenterinsights.v1.PhraseMatcher.PhraseMatcherType type = 6 [(.google.api.field_behavior) = REQUIRED]; + * + * * @param value The type to set. * @return This builder for chaining. */ - public Builder setType(com.google.cloud.contactcenterinsights.v1.PhraseMatcher.PhraseMatcherType value) { + public Builder setType( + com.google.cloud.contactcenterinsights.v1.PhraseMatcher.PhraseMatcherType value) { if (value == null) { throw new NullPointerException(); } @@ -1921,11 +2239,16 @@ public Builder setType(com.google.cloud.contactcenterinsights.v1.PhraseMatcher.P return this; } /** + * + * *
      * Required. The type of this phrase matcher.
      * 
* - * .google.cloud.contactcenterinsights.v1.PhraseMatcher.PhraseMatcherType type = 6 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.contactcenterinsights.v1.PhraseMatcher.PhraseMatcherType type = 6 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return This builder for chaining. */ public Builder clearType() { @@ -1935,13 +2258,16 @@ public Builder clearType() { return this; } - private boolean active_ ; + private boolean active_; /** + * + * *
      * Applies the phrase matcher only when it is active.
      * 
* * bool active = 7; + * * @return The active. */ @java.lang.Override @@ -1949,27 +2275,33 @@ public boolean getActive() { return active_; } /** + * + * *
      * Applies the phrase matcher only when it is active.
      * 
* * bool active = 7; + * * @param value The active to set. * @return This builder for chaining. */ public Builder setActive(boolean value) { - + active_ = value; bitField0_ |= 0x00000040; onChanged(); return this; } /** + * + * *
      * Applies the phrase matcher only when it is active.
      * 
* * bool active = 7; + * * @return This builder for chaining. */ public Builder clearActive() { @@ -1979,26 +2311,37 @@ public Builder clearActive() { return this; } - private java.util.List phraseMatchRuleGroups_ = - java.util.Collections.emptyList(); + private java.util.List + phraseMatchRuleGroups_ = java.util.Collections.emptyList(); + private void ensurePhraseMatchRuleGroupsIsMutable() { if (!((bitField0_ & 0x00000080) != 0)) { - phraseMatchRuleGroups_ = new java.util.ArrayList(phraseMatchRuleGroups_); + phraseMatchRuleGroups_ = + new java.util.ArrayList( + phraseMatchRuleGroups_); bitField0_ |= 0x00000080; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.contactcenterinsights.v1.PhraseMatchRuleGroup, com.google.cloud.contactcenterinsights.v1.PhraseMatchRuleGroup.Builder, com.google.cloud.contactcenterinsights.v1.PhraseMatchRuleGroupOrBuilder> phraseMatchRuleGroupsBuilder_; + com.google.cloud.contactcenterinsights.v1.PhraseMatchRuleGroup, + com.google.cloud.contactcenterinsights.v1.PhraseMatchRuleGroup.Builder, + com.google.cloud.contactcenterinsights.v1.PhraseMatchRuleGroupOrBuilder> + phraseMatchRuleGroupsBuilder_; /** + * + * *
      * A list of phase match rule groups that are included in this matcher.
      * 
* - * repeated .google.cloud.contactcenterinsights.v1.PhraseMatchRuleGroup phrase_match_rule_groups = 8; + * + * repeated .google.cloud.contactcenterinsights.v1.PhraseMatchRuleGroup phrase_match_rule_groups = 8; + * */ - public java.util.List getPhraseMatchRuleGroupsList() { + public java.util.List + getPhraseMatchRuleGroupsList() { if (phraseMatchRuleGroupsBuilder_ == null) { return java.util.Collections.unmodifiableList(phraseMatchRuleGroups_); } else { @@ -2006,11 +2349,15 @@ public java.util.List * A list of phase match rule groups that are included in this matcher. *
* - * repeated .google.cloud.contactcenterinsights.v1.PhraseMatchRuleGroup phrase_match_rule_groups = 8; + * + * repeated .google.cloud.contactcenterinsights.v1.PhraseMatchRuleGroup phrase_match_rule_groups = 8; + * */ public int getPhraseMatchRuleGroupsCount() { if (phraseMatchRuleGroupsBuilder_ == null) { @@ -2020,13 +2367,18 @@ public int getPhraseMatchRuleGroupsCount() { } } /** + * + * *
      * A list of phase match rule groups that are included in this matcher.
      * 
* - * repeated .google.cloud.contactcenterinsights.v1.PhraseMatchRuleGroup phrase_match_rule_groups = 8; + * + * repeated .google.cloud.contactcenterinsights.v1.PhraseMatchRuleGroup phrase_match_rule_groups = 8; + * */ - public com.google.cloud.contactcenterinsights.v1.PhraseMatchRuleGroup getPhraseMatchRuleGroups(int index) { + public com.google.cloud.contactcenterinsights.v1.PhraseMatchRuleGroup getPhraseMatchRuleGroups( + int index) { if (phraseMatchRuleGroupsBuilder_ == null) { return phraseMatchRuleGroups_.get(index); } else { @@ -2034,11 +2386,15 @@ public com.google.cloud.contactcenterinsights.v1.PhraseMatchRuleGroup getPhraseM } } /** + * + * *
      * A list of phase match rule groups that are included in this matcher.
      * 
* - * repeated .google.cloud.contactcenterinsights.v1.PhraseMatchRuleGroup phrase_match_rule_groups = 8; + * + * repeated .google.cloud.contactcenterinsights.v1.PhraseMatchRuleGroup phrase_match_rule_groups = 8; + * */ public Builder setPhraseMatchRuleGroups( int index, com.google.cloud.contactcenterinsights.v1.PhraseMatchRuleGroup value) { @@ -2055,14 +2411,19 @@ public Builder setPhraseMatchRuleGroups( return this; } /** + * + * *
      * A list of phase match rule groups that are included in this matcher.
      * 
* - * repeated .google.cloud.contactcenterinsights.v1.PhraseMatchRuleGroup phrase_match_rule_groups = 8; + * + * repeated .google.cloud.contactcenterinsights.v1.PhraseMatchRuleGroup phrase_match_rule_groups = 8; + * */ public Builder setPhraseMatchRuleGroups( - int index, com.google.cloud.contactcenterinsights.v1.PhraseMatchRuleGroup.Builder builderForValue) { + int index, + com.google.cloud.contactcenterinsights.v1.PhraseMatchRuleGroup.Builder builderForValue) { if (phraseMatchRuleGroupsBuilder_ == null) { ensurePhraseMatchRuleGroupsIsMutable(); phraseMatchRuleGroups_.set(index, builderForValue.build()); @@ -2073,13 +2434,18 @@ public Builder setPhraseMatchRuleGroups( return this; } /** + * + * *
      * A list of phase match rule groups that are included in this matcher.
      * 
* - * repeated .google.cloud.contactcenterinsights.v1.PhraseMatchRuleGroup phrase_match_rule_groups = 8; + * + * repeated .google.cloud.contactcenterinsights.v1.PhraseMatchRuleGroup phrase_match_rule_groups = 8; + * */ - public Builder addPhraseMatchRuleGroups(com.google.cloud.contactcenterinsights.v1.PhraseMatchRuleGroup value) { + public Builder addPhraseMatchRuleGroups( + com.google.cloud.contactcenterinsights.v1.PhraseMatchRuleGroup value) { if (phraseMatchRuleGroupsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -2093,11 +2459,15 @@ public Builder addPhraseMatchRuleGroups(com.google.cloud.contactcenterinsights.v return this; } /** + * + * *
      * A list of phase match rule groups that are included in this matcher.
      * 
* - * repeated .google.cloud.contactcenterinsights.v1.PhraseMatchRuleGroup phrase_match_rule_groups = 8; + * + * repeated .google.cloud.contactcenterinsights.v1.PhraseMatchRuleGroup phrase_match_rule_groups = 8; + * */ public Builder addPhraseMatchRuleGroups( int index, com.google.cloud.contactcenterinsights.v1.PhraseMatchRuleGroup value) { @@ -2114,11 +2484,15 @@ public Builder addPhraseMatchRuleGroups( return this; } /** + * + * *
      * A list of phase match rule groups that are included in this matcher.
      * 
* - * repeated .google.cloud.contactcenterinsights.v1.PhraseMatchRuleGroup phrase_match_rule_groups = 8; + * + * repeated .google.cloud.contactcenterinsights.v1.PhraseMatchRuleGroup phrase_match_rule_groups = 8; + * */ public Builder addPhraseMatchRuleGroups( com.google.cloud.contactcenterinsights.v1.PhraseMatchRuleGroup.Builder builderForValue) { @@ -2132,14 +2506,19 @@ public Builder addPhraseMatchRuleGroups( return this; } /** + * + * *
      * A list of phase match rule groups that are included in this matcher.
      * 
* - * repeated .google.cloud.contactcenterinsights.v1.PhraseMatchRuleGroup phrase_match_rule_groups = 8; + * + * repeated .google.cloud.contactcenterinsights.v1.PhraseMatchRuleGroup phrase_match_rule_groups = 8; + * */ public Builder addPhraseMatchRuleGroups( - int index, com.google.cloud.contactcenterinsights.v1.PhraseMatchRuleGroup.Builder builderForValue) { + int index, + com.google.cloud.contactcenterinsights.v1.PhraseMatchRuleGroup.Builder builderForValue) { if (phraseMatchRuleGroupsBuilder_ == null) { ensurePhraseMatchRuleGroupsIsMutable(); phraseMatchRuleGroups_.add(index, builderForValue.build()); @@ -2150,18 +2529,22 @@ public Builder addPhraseMatchRuleGroups( return this; } /** + * + * *
      * A list of phase match rule groups that are included in this matcher.
      * 
* - * repeated .google.cloud.contactcenterinsights.v1.PhraseMatchRuleGroup phrase_match_rule_groups = 8; + * + * repeated .google.cloud.contactcenterinsights.v1.PhraseMatchRuleGroup phrase_match_rule_groups = 8; + * */ public Builder addAllPhraseMatchRuleGroups( - java.lang.Iterable values) { + java.lang.Iterable + values) { if (phraseMatchRuleGroupsBuilder_ == null) { ensurePhraseMatchRuleGroupsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, phraseMatchRuleGroups_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, phraseMatchRuleGroups_); onChanged(); } else { phraseMatchRuleGroupsBuilder_.addAllMessages(values); @@ -2169,11 +2552,15 @@ public Builder addAllPhraseMatchRuleGroups( return this; } /** + * + * *
      * A list of phase match rule groups that are included in this matcher.
      * 
* - * repeated .google.cloud.contactcenterinsights.v1.PhraseMatchRuleGroup phrase_match_rule_groups = 8; + * + * repeated .google.cloud.contactcenterinsights.v1.PhraseMatchRuleGroup phrase_match_rule_groups = 8; + * */ public Builder clearPhraseMatchRuleGroups() { if (phraseMatchRuleGroupsBuilder_ == null) { @@ -2186,11 +2573,15 @@ public Builder clearPhraseMatchRuleGroups() { return this; } /** + * + * *
      * A list of phase match rule groups that are included in this matcher.
      * 
* - * repeated .google.cloud.contactcenterinsights.v1.PhraseMatchRuleGroup phrase_match_rule_groups = 8; + * + * repeated .google.cloud.contactcenterinsights.v1.PhraseMatchRuleGroup phrase_match_rule_groups = 8; + * */ public Builder removePhraseMatchRuleGroups(int index) { if (phraseMatchRuleGroupsBuilder_ == null) { @@ -2203,39 +2594,53 @@ public Builder removePhraseMatchRuleGroups(int index) { return this; } /** + * + * *
      * A list of phase match rule groups that are included in this matcher.
      * 
* - * repeated .google.cloud.contactcenterinsights.v1.PhraseMatchRuleGroup phrase_match_rule_groups = 8; + * + * repeated .google.cloud.contactcenterinsights.v1.PhraseMatchRuleGroup phrase_match_rule_groups = 8; + * */ - public com.google.cloud.contactcenterinsights.v1.PhraseMatchRuleGroup.Builder getPhraseMatchRuleGroupsBuilder( - int index) { + public com.google.cloud.contactcenterinsights.v1.PhraseMatchRuleGroup.Builder + getPhraseMatchRuleGroupsBuilder(int index) { return getPhraseMatchRuleGroupsFieldBuilder().getBuilder(index); } /** + * + * *
      * A list of phase match rule groups that are included in this matcher.
      * 
* - * repeated .google.cloud.contactcenterinsights.v1.PhraseMatchRuleGroup phrase_match_rule_groups = 8; + * + * repeated .google.cloud.contactcenterinsights.v1.PhraseMatchRuleGroup phrase_match_rule_groups = 8; + * */ - public com.google.cloud.contactcenterinsights.v1.PhraseMatchRuleGroupOrBuilder getPhraseMatchRuleGroupsOrBuilder( - int index) { + public com.google.cloud.contactcenterinsights.v1.PhraseMatchRuleGroupOrBuilder + getPhraseMatchRuleGroupsOrBuilder(int index) { if (phraseMatchRuleGroupsBuilder_ == null) { - return phraseMatchRuleGroups_.get(index); } else { + return phraseMatchRuleGroups_.get(index); + } else { return phraseMatchRuleGroupsBuilder_.getMessageOrBuilder(index); } } /** + * + * *
      * A list of phase match rule groups that are included in this matcher.
      * 
* - * repeated .google.cloud.contactcenterinsights.v1.PhraseMatchRuleGroup phrase_match_rule_groups = 8; + * + * repeated .google.cloud.contactcenterinsights.v1.PhraseMatchRuleGroup phrase_match_rule_groups = 8; + * */ - public java.util.List - getPhraseMatchRuleGroupsOrBuilderList() { + public java.util.List< + ? extends com.google.cloud.contactcenterinsights.v1.PhraseMatchRuleGroupOrBuilder> + getPhraseMatchRuleGroupsOrBuilderList() { if (phraseMatchRuleGroupsBuilder_ != null) { return phraseMatchRuleGroupsBuilder_.getMessageOrBuilderList(); } else { @@ -2243,45 +2648,67 @@ public com.google.cloud.contactcenterinsights.v1.PhraseMatchRuleGroupOrBuilder g } } /** + * + * *
      * A list of phase match rule groups that are included in this matcher.
      * 
* - * repeated .google.cloud.contactcenterinsights.v1.PhraseMatchRuleGroup phrase_match_rule_groups = 8; + * + * repeated .google.cloud.contactcenterinsights.v1.PhraseMatchRuleGroup phrase_match_rule_groups = 8; + * */ - public com.google.cloud.contactcenterinsights.v1.PhraseMatchRuleGroup.Builder addPhraseMatchRuleGroupsBuilder() { - return getPhraseMatchRuleGroupsFieldBuilder().addBuilder( - com.google.cloud.contactcenterinsights.v1.PhraseMatchRuleGroup.getDefaultInstance()); + public com.google.cloud.contactcenterinsights.v1.PhraseMatchRuleGroup.Builder + addPhraseMatchRuleGroupsBuilder() { + return getPhraseMatchRuleGroupsFieldBuilder() + .addBuilder( + com.google.cloud.contactcenterinsights.v1.PhraseMatchRuleGroup.getDefaultInstance()); } /** + * + * *
      * A list of phase match rule groups that are included in this matcher.
      * 
* - * repeated .google.cloud.contactcenterinsights.v1.PhraseMatchRuleGroup phrase_match_rule_groups = 8; + * + * repeated .google.cloud.contactcenterinsights.v1.PhraseMatchRuleGroup phrase_match_rule_groups = 8; + * */ - public com.google.cloud.contactcenterinsights.v1.PhraseMatchRuleGroup.Builder addPhraseMatchRuleGroupsBuilder( - int index) { - return getPhraseMatchRuleGroupsFieldBuilder().addBuilder( - index, com.google.cloud.contactcenterinsights.v1.PhraseMatchRuleGroup.getDefaultInstance()); + public com.google.cloud.contactcenterinsights.v1.PhraseMatchRuleGroup.Builder + addPhraseMatchRuleGroupsBuilder(int index) { + return getPhraseMatchRuleGroupsFieldBuilder() + .addBuilder( + index, + com.google.cloud.contactcenterinsights.v1.PhraseMatchRuleGroup.getDefaultInstance()); } /** + * + * *
      * A list of phase match rule groups that are included in this matcher.
      * 
* - * repeated .google.cloud.contactcenterinsights.v1.PhraseMatchRuleGroup phrase_match_rule_groups = 8; + * + * repeated .google.cloud.contactcenterinsights.v1.PhraseMatchRuleGroup phrase_match_rule_groups = 8; + * */ - public java.util.List - getPhraseMatchRuleGroupsBuilderList() { + public java.util.List + getPhraseMatchRuleGroupsBuilderList() { return getPhraseMatchRuleGroupsFieldBuilder().getBuilderList(); } + private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.contactcenterinsights.v1.PhraseMatchRuleGroup, com.google.cloud.contactcenterinsights.v1.PhraseMatchRuleGroup.Builder, com.google.cloud.contactcenterinsights.v1.PhraseMatchRuleGroupOrBuilder> + com.google.cloud.contactcenterinsights.v1.PhraseMatchRuleGroup, + com.google.cloud.contactcenterinsights.v1.PhraseMatchRuleGroup.Builder, + com.google.cloud.contactcenterinsights.v1.PhraseMatchRuleGroupOrBuilder> getPhraseMatchRuleGroupsFieldBuilder() { if (phraseMatchRuleGroupsBuilder_ == null) { - phraseMatchRuleGroupsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.contactcenterinsights.v1.PhraseMatchRuleGroup, com.google.cloud.contactcenterinsights.v1.PhraseMatchRuleGroup.Builder, com.google.cloud.contactcenterinsights.v1.PhraseMatchRuleGroupOrBuilder>( + phraseMatchRuleGroupsBuilder_ = + new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.contactcenterinsights.v1.PhraseMatchRuleGroup, + com.google.cloud.contactcenterinsights.v1.PhraseMatchRuleGroup.Builder, + com.google.cloud.contactcenterinsights.v1.PhraseMatchRuleGroupOrBuilder>( phraseMatchRuleGroups_, ((bitField0_ & 0x00000080) != 0), getParentForChildren(), @@ -2293,42 +2720,61 @@ public com.google.cloud.contactcenterinsights.v1.PhraseMatchRuleGroup.Builder ad private com.google.protobuf.Timestamp activationUpdateTime_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> activationUpdateTimeBuilder_; + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder> + activationUpdateTimeBuilder_; /** + * + * *
      * Output only. The most recent time at which the activation status was
      * updated.
      * 
* - * .google.protobuf.Timestamp activation_update_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp activation_update_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the activationUpdateTime field is set. */ public boolean hasActivationUpdateTime() { return ((bitField0_ & 0x00000100) != 0); } /** + * + * *
      * Output only. The most recent time at which the activation status was
      * updated.
      * 
* - * .google.protobuf.Timestamp activation_update_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp activation_update_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The activationUpdateTime. */ public com.google.protobuf.Timestamp getActivationUpdateTime() { if (activationUpdateTimeBuilder_ == null) { - return activationUpdateTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : activationUpdateTime_; + return activationUpdateTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : activationUpdateTime_; } else { return activationUpdateTimeBuilder_.getMessage(); } } /** + * + * *
      * Output only. The most recent time at which the activation status was
      * updated.
      * 
* - * .google.protobuf.Timestamp activation_update_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp activation_update_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder setActivationUpdateTime(com.google.protobuf.Timestamp value) { if (activationUpdateTimeBuilder_ == null) { @@ -2344,15 +2790,18 @@ public Builder setActivationUpdateTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * Output only. The most recent time at which the activation status was
      * updated.
      * 
* - * .google.protobuf.Timestamp activation_update_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp activation_update_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - public Builder setActivationUpdateTime( - com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setActivationUpdateTime(com.google.protobuf.Timestamp.Builder builderForValue) { if (activationUpdateTimeBuilder_ == null) { activationUpdateTime_ = builderForValue.build(); } else { @@ -2363,18 +2812,22 @@ public Builder setActivationUpdateTime( return this; } /** + * + * *
      * Output only. The most recent time at which the activation status was
      * updated.
      * 
* - * .google.protobuf.Timestamp activation_update_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp activation_update_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder mergeActivationUpdateTime(com.google.protobuf.Timestamp value) { if (activationUpdateTimeBuilder_ == null) { - if (((bitField0_ & 0x00000100) != 0) && - activationUpdateTime_ != null && - activationUpdateTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { + if (((bitField0_ & 0x00000100) != 0) + && activationUpdateTime_ != null + && activationUpdateTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { getActivationUpdateTimeBuilder().mergeFrom(value); } else { activationUpdateTime_ = value; @@ -2387,12 +2840,16 @@ public Builder mergeActivationUpdateTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * Output only. The most recent time at which the activation status was
      * updated.
      * 
* - * .google.protobuf.Timestamp activation_update_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp activation_update_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder clearActivationUpdateTime() { bitField0_ = (bitField0_ & ~0x00000100); @@ -2405,12 +2862,16 @@ public Builder clearActivationUpdateTime() { return this; } /** + * + * *
      * Output only. The most recent time at which the activation status was
      * updated.
      * 
* - * .google.protobuf.Timestamp activation_update_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp activation_update_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public com.google.protobuf.Timestamp.Builder getActivationUpdateTimeBuilder() { bitField0_ |= 0x00000100; @@ -2418,38 +2879,50 @@ public com.google.protobuf.Timestamp.Builder getActivationUpdateTimeBuilder() { return getActivationUpdateTimeFieldBuilder().getBuilder(); } /** + * + * *
      * Output only. The most recent time at which the activation status was
      * updated.
      * 
* - * .google.protobuf.Timestamp activation_update_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp activation_update_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public com.google.protobuf.TimestampOrBuilder getActivationUpdateTimeOrBuilder() { if (activationUpdateTimeBuilder_ != null) { return activationUpdateTimeBuilder_.getMessageOrBuilder(); } else { - return activationUpdateTime_ == null ? - com.google.protobuf.Timestamp.getDefaultInstance() : activationUpdateTime_; + return activationUpdateTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : activationUpdateTime_; } } /** + * + * *
      * Output only. The most recent time at which the activation status was
      * updated.
      * 
* - * .google.protobuf.Timestamp activation_update_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp activation_update_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder> getActivationUpdateTimeFieldBuilder() { if (activationUpdateTimeBuilder_ == null) { - activationUpdateTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( - getActivationUpdateTime(), - getParentForChildren(), - isClean()); + activationUpdateTimeBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder>( + getActivationUpdateTime(), getParentForChildren(), isClean()); activationUpdateTime_ = null; } return activationUpdateTimeBuilder_; @@ -2457,26 +2930,35 @@ public com.google.protobuf.TimestampOrBuilder getActivationUpdateTimeOrBuilder() private int roleMatch_ = 0; /** + * + * *
      * The role whose utterances the phrase matcher should be matched
      * against. If the role is ROLE_UNSPECIFIED it will be matched against any
      * utterances in the transcript.
      * 
* - * .google.cloud.contactcenterinsights.v1.ConversationParticipant.Role role_match = 10; + * .google.cloud.contactcenterinsights.v1.ConversationParticipant.Role role_match = 10; + * + * * @return The enum numeric value on the wire for roleMatch. */ - @java.lang.Override public int getRoleMatchValue() { + @java.lang.Override + public int getRoleMatchValue() { return roleMatch_; } /** + * + * *
      * The role whose utterances the phrase matcher should be matched
      * against. If the role is ROLE_UNSPECIFIED it will be matched against any
      * utterances in the transcript.
      * 
* - * .google.cloud.contactcenterinsights.v1.ConversationParticipant.Role role_match = 10; + * .google.cloud.contactcenterinsights.v1.ConversationParticipant.Role role_match = 10; + * + * * @param value The enum numeric value on the wire for roleMatch to set. * @return This builder for chaining. */ @@ -2487,32 +2969,45 @@ public Builder setRoleMatchValue(int value) { return this; } /** + * + * *
      * The role whose utterances the phrase matcher should be matched
      * against. If the role is ROLE_UNSPECIFIED it will be matched against any
      * utterances in the transcript.
      * 
* - * .google.cloud.contactcenterinsights.v1.ConversationParticipant.Role role_match = 10; + * .google.cloud.contactcenterinsights.v1.ConversationParticipant.Role role_match = 10; + * + * * @return The roleMatch. */ @java.lang.Override public com.google.cloud.contactcenterinsights.v1.ConversationParticipant.Role getRoleMatch() { - com.google.cloud.contactcenterinsights.v1.ConversationParticipant.Role result = com.google.cloud.contactcenterinsights.v1.ConversationParticipant.Role.forNumber(roleMatch_); - return result == null ? com.google.cloud.contactcenterinsights.v1.ConversationParticipant.Role.UNRECOGNIZED : result; + com.google.cloud.contactcenterinsights.v1.ConversationParticipant.Role result = + com.google.cloud.contactcenterinsights.v1.ConversationParticipant.Role.forNumber( + roleMatch_); + return result == null + ? com.google.cloud.contactcenterinsights.v1.ConversationParticipant.Role.UNRECOGNIZED + : result; } /** + * + * *
      * The role whose utterances the phrase matcher should be matched
      * against. If the role is ROLE_UNSPECIFIED it will be matched against any
      * utterances in the transcript.
      * 
* - * .google.cloud.contactcenterinsights.v1.ConversationParticipant.Role role_match = 10; + * .google.cloud.contactcenterinsights.v1.ConversationParticipant.Role role_match = 10; + * + * * @param value The roleMatch to set. * @return This builder for chaining. */ - public Builder setRoleMatch(com.google.cloud.contactcenterinsights.v1.ConversationParticipant.Role value) { + public Builder setRoleMatch( + com.google.cloud.contactcenterinsights.v1.ConversationParticipant.Role value) { if (value == null) { throw new NullPointerException(); } @@ -2522,13 +3017,17 @@ public Builder setRoleMatch(com.google.cloud.contactcenterinsights.v1.Conversati return this; } /** + * + * *
      * The role whose utterances the phrase matcher should be matched
      * against. If the role is ROLE_UNSPECIFIED it will be matched against any
      * utterances in the transcript.
      * 
* - * .google.cloud.contactcenterinsights.v1.ConversationParticipant.Role role_match = 10; + * .google.cloud.contactcenterinsights.v1.ConversationParticipant.Role role_match = 10; + * + * * @return This builder for chaining. */ public Builder clearRoleMatch() { @@ -2540,39 +3039,58 @@ public Builder clearRoleMatch() { private com.google.protobuf.Timestamp updateTime_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> updateTimeBuilder_; + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder> + updateTimeBuilder_; /** + * + * *
      * Output only. The most recent time at which the phrase matcher was updated.
      * 
* - * .google.protobuf.Timestamp update_time = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp update_time = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the updateTime field is set. */ public boolean hasUpdateTime() { return ((bitField0_ & 0x00000400) != 0); } /** + * + * *
      * Output only. The most recent time at which the phrase matcher was updated.
      * 
* - * .google.protobuf.Timestamp update_time = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp update_time = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The updateTime. */ public com.google.protobuf.Timestamp getUpdateTime() { if (updateTimeBuilder_ == null) { - return updateTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : updateTime_; + return updateTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : updateTime_; } else { return updateTimeBuilder_.getMessage(); } } /** + * + * *
      * Output only. The most recent time at which the phrase matcher was updated.
      * 
* - * .google.protobuf.Timestamp update_time = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp update_time = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder setUpdateTime(com.google.protobuf.Timestamp value) { if (updateTimeBuilder_ == null) { @@ -2588,14 +3106,17 @@ public Builder setUpdateTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * Output only. The most recent time at which the phrase matcher was updated.
      * 
* - * .google.protobuf.Timestamp update_time = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp update_time = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - public Builder setUpdateTime( - com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setUpdateTime(com.google.protobuf.Timestamp.Builder builderForValue) { if (updateTimeBuilder_ == null) { updateTime_ = builderForValue.build(); } else { @@ -2606,17 +3127,21 @@ public Builder setUpdateTime( return this; } /** + * + * *
      * Output only. The most recent time at which the phrase matcher was updated.
      * 
* - * .google.protobuf.Timestamp update_time = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp update_time = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder mergeUpdateTime(com.google.protobuf.Timestamp value) { if (updateTimeBuilder_ == null) { - if (((bitField0_ & 0x00000400) != 0) && - updateTime_ != null && - updateTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { + if (((bitField0_ & 0x00000400) != 0) + && updateTime_ != null + && updateTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { getUpdateTimeBuilder().mergeFrom(value); } else { updateTime_ = value; @@ -2629,11 +3154,15 @@ public Builder mergeUpdateTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * Output only. The most recent time at which the phrase matcher was updated.
      * 
* - * .google.protobuf.Timestamp update_time = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp update_time = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder clearUpdateTime() { bitField0_ = (bitField0_ & ~0x00000400); @@ -2646,11 +3175,15 @@ public Builder clearUpdateTime() { return this; } /** + * + * *
      * Output only. The most recent time at which the phrase matcher was updated.
      * 
* - * .google.protobuf.Timestamp update_time = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp update_time = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public com.google.protobuf.Timestamp.Builder getUpdateTimeBuilder() { bitField0_ |= 0x00000400; @@ -2658,43 +3191,55 @@ public com.google.protobuf.Timestamp.Builder getUpdateTimeBuilder() { return getUpdateTimeFieldBuilder().getBuilder(); } /** + * + * *
      * Output only. The most recent time at which the phrase matcher was updated.
      * 
* - * .google.protobuf.Timestamp update_time = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp update_time = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { if (updateTimeBuilder_ != null) { return updateTimeBuilder_.getMessageOrBuilder(); } else { - return updateTime_ == null ? - com.google.protobuf.Timestamp.getDefaultInstance() : updateTime_; + return updateTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : updateTime_; } } /** + * + * *
      * Output only. The most recent time at which the phrase matcher was updated.
      * 
* - * .google.protobuf.Timestamp update_time = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp update_time = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder> getUpdateTimeFieldBuilder() { if (updateTimeBuilder_ == null) { - updateTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( - getUpdateTime(), - getParentForChildren(), - isClean()); + updateTimeBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder>( + getUpdateTime(), getParentForChildren(), isClean()); updateTime_ = null; } return updateTimeBuilder_; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -2704,12 +3249,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.contactcenterinsights.v1.PhraseMatcher) } // @@protoc_insertion_point(class_scope:google.cloud.contactcenterinsights.v1.PhraseMatcher) private static final com.google.cloud.contactcenterinsights.v1.PhraseMatcher DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.contactcenterinsights.v1.PhraseMatcher(); } @@ -2718,27 +3263,27 @@ public static com.google.cloud.contactcenterinsights.v1.PhraseMatcher getDefault return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public PhraseMatcher parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public PhraseMatcher parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -2753,6 +3298,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.contactcenterinsights.v1.PhraseMatcher getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/PhraseMatcherName.java b/java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/PhraseMatcherName.java similarity index 100% rename from owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/PhraseMatcherName.java rename to java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/PhraseMatcherName.java diff --git a/owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/PhraseMatcherOrBuilder.java b/java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/PhraseMatcherOrBuilder.java similarity index 65% rename from owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/PhraseMatcherOrBuilder.java rename to java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/PhraseMatcherOrBuilder.java index 88296c23d6c9..cef9f1bc99d3 100644 --- a/owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/PhraseMatcherOrBuilder.java +++ b/java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/PhraseMatcherOrBuilder.java @@ -1,13 +1,31 @@ +/* + * 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. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/contactcenterinsights/v1/resources.proto package com.google.cloud.contactcenterinsights.v1; -public interface PhraseMatcherOrBuilder extends +public interface PhraseMatcherOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.contactcenterinsights.v1.PhraseMatcher) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * The resource name of the phrase matcher.
    * Format:
@@ -15,10 +33,13 @@ public interface PhraseMatcherOrBuilder extends
    * 
* * string name = 1; + * * @return The name. */ java.lang.String getName(); /** + * + * *
    * The resource name of the phrase matcher.
    * Format:
@@ -26,12 +47,14 @@ public interface PhraseMatcherOrBuilder extends
    * 
* * string name = 1; + * * @return The bytes for name. */ - com.google.protobuf.ByteString - getNameBytes(); + com.google.protobuf.ByteString getNameBytes(); /** + * + * *
    * Output only. Immutable. The revision ID of the phrase matcher.
    * A new revision is committed whenever the matcher is changed, except when it
@@ -39,11 +62,16 @@ public interface PhraseMatcherOrBuilder extends
    * Example: locations/global/phraseMatchers/my-first-matcher@1234567
    * 
* - * string revision_id = 2 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.field_behavior) = OUTPUT_ONLY]; + * + * string revision_id = 2 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The revisionId. */ java.lang.String getRevisionId(); /** + * + * *
    * Output only. Immutable. The revision ID of the phrase matcher.
    * A new revision is committed whenever the matcher is changed, except when it
@@ -51,234 +79,327 @@ public interface PhraseMatcherOrBuilder extends
    * Example: locations/global/phraseMatchers/my-first-matcher@1234567
    * 
* - * string revision_id = 2 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.field_behavior) = OUTPUT_ONLY]; + * + * string revision_id = 2 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The bytes for revisionId. */ - com.google.protobuf.ByteString - getRevisionIdBytes(); + com.google.protobuf.ByteString getRevisionIdBytes(); /** + * + * *
    * The customized version tag to use for the phrase matcher. If not specified,
    * it will default to `revision_id`.
    * 
* * string version_tag = 3; + * * @return The versionTag. */ java.lang.String getVersionTag(); /** + * + * *
    * The customized version tag to use for the phrase matcher. If not specified,
    * it will default to `revision_id`.
    * 
* * string version_tag = 3; + * * @return The bytes for versionTag. */ - com.google.protobuf.ByteString - getVersionTagBytes(); + com.google.protobuf.ByteString getVersionTagBytes(); /** + * + * *
    * Output only. The timestamp of when the revision was created. It is also the
    * create time when a new matcher is added.
    * 
* - * .google.protobuf.Timestamp revision_create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp revision_create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the revisionCreateTime field is set. */ boolean hasRevisionCreateTime(); /** + * + * *
    * Output only. The timestamp of when the revision was created. It is also the
    * create time when a new matcher is added.
    * 
* - * .google.protobuf.Timestamp revision_create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp revision_create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The revisionCreateTime. */ com.google.protobuf.Timestamp getRevisionCreateTime(); /** + * + * *
    * Output only. The timestamp of when the revision was created. It is also the
    * create time when a new matcher is added.
    * 
* - * .google.protobuf.Timestamp revision_create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp revision_create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ com.google.protobuf.TimestampOrBuilder getRevisionCreateTimeOrBuilder(); /** + * + * *
    * The human-readable name of the phrase matcher.
    * 
* * string display_name = 5; + * * @return The displayName. */ java.lang.String getDisplayName(); /** + * + * *
    * The human-readable name of the phrase matcher.
    * 
* * string display_name = 5; + * * @return The bytes for displayName. */ - com.google.protobuf.ByteString - getDisplayNameBytes(); + com.google.protobuf.ByteString getDisplayNameBytes(); /** + * + * *
    * Required. The type of this phrase matcher.
    * 
* - * .google.cloud.contactcenterinsights.v1.PhraseMatcher.PhraseMatcherType type = 6 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.contactcenterinsights.v1.PhraseMatcher.PhraseMatcherType type = 6 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The enum numeric value on the wire for type. */ int getTypeValue(); /** + * + * *
    * Required. The type of this phrase matcher.
    * 
* - * .google.cloud.contactcenterinsights.v1.PhraseMatcher.PhraseMatcherType type = 6 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.contactcenterinsights.v1.PhraseMatcher.PhraseMatcherType type = 6 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The type. */ com.google.cloud.contactcenterinsights.v1.PhraseMatcher.PhraseMatcherType getType(); /** + * + * *
    * Applies the phrase matcher only when it is active.
    * 
* * bool active = 7; + * * @return The active. */ boolean getActive(); /** + * + * *
    * A list of phase match rule groups that are included in this matcher.
    * 
* - * repeated .google.cloud.contactcenterinsights.v1.PhraseMatchRuleGroup phrase_match_rule_groups = 8; + * + * repeated .google.cloud.contactcenterinsights.v1.PhraseMatchRuleGroup phrase_match_rule_groups = 8; + * */ - java.util.List + java.util.List getPhraseMatchRuleGroupsList(); /** + * + * *
    * A list of phase match rule groups that are included in this matcher.
    * 
* - * repeated .google.cloud.contactcenterinsights.v1.PhraseMatchRuleGroup phrase_match_rule_groups = 8; + * + * repeated .google.cloud.contactcenterinsights.v1.PhraseMatchRuleGroup phrase_match_rule_groups = 8; + * */ - com.google.cloud.contactcenterinsights.v1.PhraseMatchRuleGroup getPhraseMatchRuleGroups(int index); + com.google.cloud.contactcenterinsights.v1.PhraseMatchRuleGroup getPhraseMatchRuleGroups( + int index); /** + * + * *
    * A list of phase match rule groups that are included in this matcher.
    * 
* - * repeated .google.cloud.contactcenterinsights.v1.PhraseMatchRuleGroup phrase_match_rule_groups = 8; + * + * repeated .google.cloud.contactcenterinsights.v1.PhraseMatchRuleGroup phrase_match_rule_groups = 8; + * */ int getPhraseMatchRuleGroupsCount(); /** + * + * *
    * A list of phase match rule groups that are included in this matcher.
    * 
* - * repeated .google.cloud.contactcenterinsights.v1.PhraseMatchRuleGroup phrase_match_rule_groups = 8; + * + * repeated .google.cloud.contactcenterinsights.v1.PhraseMatchRuleGroup phrase_match_rule_groups = 8; + * */ - java.util.List + java.util.List getPhraseMatchRuleGroupsOrBuilderList(); /** + * + * *
    * A list of phase match rule groups that are included in this matcher.
    * 
* - * repeated .google.cloud.contactcenterinsights.v1.PhraseMatchRuleGroup phrase_match_rule_groups = 8; + * + * repeated .google.cloud.contactcenterinsights.v1.PhraseMatchRuleGroup phrase_match_rule_groups = 8; + * */ - com.google.cloud.contactcenterinsights.v1.PhraseMatchRuleGroupOrBuilder getPhraseMatchRuleGroupsOrBuilder( - int index); + com.google.cloud.contactcenterinsights.v1.PhraseMatchRuleGroupOrBuilder + getPhraseMatchRuleGroupsOrBuilder(int index); /** + * + * *
    * Output only. The most recent time at which the activation status was
    * updated.
    * 
* - * .google.protobuf.Timestamp activation_update_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp activation_update_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the activationUpdateTime field is set. */ boolean hasActivationUpdateTime(); /** + * + * *
    * Output only. The most recent time at which the activation status was
    * updated.
    * 
* - * .google.protobuf.Timestamp activation_update_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp activation_update_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The activationUpdateTime. */ com.google.protobuf.Timestamp getActivationUpdateTime(); /** + * + * *
    * Output only. The most recent time at which the activation status was
    * updated.
    * 
* - * .google.protobuf.Timestamp activation_update_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp activation_update_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ com.google.protobuf.TimestampOrBuilder getActivationUpdateTimeOrBuilder(); /** + * + * *
    * The role whose utterances the phrase matcher should be matched
    * against. If the role is ROLE_UNSPECIFIED it will be matched against any
    * utterances in the transcript.
    * 
* - * .google.cloud.contactcenterinsights.v1.ConversationParticipant.Role role_match = 10; + * .google.cloud.contactcenterinsights.v1.ConversationParticipant.Role role_match = 10; + * + * * @return The enum numeric value on the wire for roleMatch. */ int getRoleMatchValue(); /** + * + * *
    * The role whose utterances the phrase matcher should be matched
    * against. If the role is ROLE_UNSPECIFIED it will be matched against any
    * utterances in the transcript.
    * 
* - * .google.cloud.contactcenterinsights.v1.ConversationParticipant.Role role_match = 10; + * .google.cloud.contactcenterinsights.v1.ConversationParticipant.Role role_match = 10; + * + * * @return The roleMatch. */ com.google.cloud.contactcenterinsights.v1.ConversationParticipant.Role getRoleMatch(); /** + * + * *
    * Output only. The most recent time at which the phrase matcher was updated.
    * 
* - * .google.protobuf.Timestamp update_time = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp update_time = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the updateTime field is set. */ boolean hasUpdateTime(); /** + * + * *
    * Output only. The most recent time at which the phrase matcher was updated.
    * 
* - * .google.protobuf.Timestamp update_time = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp update_time = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The updateTime. */ com.google.protobuf.Timestamp getUpdateTime(); /** + * + * *
    * Output only. The most recent time at which the phrase matcher was updated.
    * 
* - * .google.protobuf.Timestamp update_time = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp update_time = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder(); } diff --git a/java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ResourcesProto.java b/java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ResourcesProto.java new file mode 100644 index 000000000000..319a60cf18e2 --- /dev/null +++ b/java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ResourcesProto.java @@ -0,0 +1,1299 @@ +/* + * 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. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/contactcenterinsights/v1/resources.proto + +package com.google.cloud.contactcenterinsights.v1; + +public final class ResourcesProto { + private ResourcesProto() {} + + public static void registerAllExtensions(com.google.protobuf.ExtensionRegistryLite registry) {} + + public static void registerAllExtensions(com.google.protobuf.ExtensionRegistry registry) { + registerAllExtensions((com.google.protobuf.ExtensionRegistryLite) registry); + } + + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_contactcenterinsights_v1_Conversation_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_contactcenterinsights_v1_Conversation_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_contactcenterinsights_v1_Conversation_CallMetadata_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_contactcenterinsights_v1_Conversation_CallMetadata_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_contactcenterinsights_v1_Conversation_Transcript_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_contactcenterinsights_v1_Conversation_Transcript_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_contactcenterinsights_v1_Conversation_Transcript_TranscriptSegment_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_contactcenterinsights_v1_Conversation_Transcript_TranscriptSegment_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_contactcenterinsights_v1_Conversation_Transcript_TranscriptSegment_WordInfo_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_contactcenterinsights_v1_Conversation_Transcript_TranscriptSegment_WordInfo_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_contactcenterinsights_v1_Conversation_Transcript_TranscriptSegment_DialogflowSegmentMetadata_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_contactcenterinsights_v1_Conversation_Transcript_TranscriptSegment_DialogflowSegmentMetadata_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_contactcenterinsights_v1_Conversation_LabelsEntry_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_contactcenterinsights_v1_Conversation_LabelsEntry_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_contactcenterinsights_v1_Conversation_DialogflowIntentsEntry_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_contactcenterinsights_v1_Conversation_DialogflowIntentsEntry_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_contactcenterinsights_v1_Analysis_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_contactcenterinsights_v1_Analysis_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_contactcenterinsights_v1_ConversationDataSource_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_contactcenterinsights_v1_ConversationDataSource_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_contactcenterinsights_v1_GcsSource_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_contactcenterinsights_v1_GcsSource_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_contactcenterinsights_v1_DialogflowSource_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_contactcenterinsights_v1_DialogflowSource_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_contactcenterinsights_v1_AnalysisResult_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_contactcenterinsights_v1_AnalysisResult_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_contactcenterinsights_v1_AnalysisResult_CallAnalysisMetadata_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_contactcenterinsights_v1_AnalysisResult_CallAnalysisMetadata_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_contactcenterinsights_v1_AnalysisResult_CallAnalysisMetadata_EntitiesEntry_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_contactcenterinsights_v1_AnalysisResult_CallAnalysisMetadata_EntitiesEntry_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_contactcenterinsights_v1_AnalysisResult_CallAnalysisMetadata_IntentsEntry_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_contactcenterinsights_v1_AnalysisResult_CallAnalysisMetadata_IntentsEntry_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_contactcenterinsights_v1_AnalysisResult_CallAnalysisMetadata_PhraseMatchersEntry_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_contactcenterinsights_v1_AnalysisResult_CallAnalysisMetadata_PhraseMatchersEntry_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_contactcenterinsights_v1_IssueModelResult_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_contactcenterinsights_v1_IssueModelResult_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_contactcenterinsights_v1_ConversationLevelSentiment_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_contactcenterinsights_v1_ConversationLevelSentiment_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_contactcenterinsights_v1_IssueAssignment_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_contactcenterinsights_v1_IssueAssignment_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_contactcenterinsights_v1_CallAnnotation_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_contactcenterinsights_v1_CallAnnotation_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_contactcenterinsights_v1_AnnotationBoundary_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_contactcenterinsights_v1_AnnotationBoundary_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_contactcenterinsights_v1_Entity_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_contactcenterinsights_v1_Entity_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_contactcenterinsights_v1_Entity_MetadataEntry_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_contactcenterinsights_v1_Entity_MetadataEntry_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_contactcenterinsights_v1_Intent_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_contactcenterinsights_v1_Intent_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_contactcenterinsights_v1_PhraseMatchData_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_contactcenterinsights_v1_PhraseMatchData_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_contactcenterinsights_v1_DialogflowIntent_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_contactcenterinsights_v1_DialogflowIntent_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_contactcenterinsights_v1_InterruptionData_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_contactcenterinsights_v1_InterruptionData_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_contactcenterinsights_v1_SilenceData_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_contactcenterinsights_v1_SilenceData_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_contactcenterinsights_v1_HoldData_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_contactcenterinsights_v1_HoldData_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_contactcenterinsights_v1_EntityMentionData_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_contactcenterinsights_v1_EntityMentionData_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_contactcenterinsights_v1_IntentMatchData_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_contactcenterinsights_v1_IntentMatchData_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_contactcenterinsights_v1_SentimentData_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_contactcenterinsights_v1_SentimentData_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_contactcenterinsights_v1_IssueMatchData_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_contactcenterinsights_v1_IssueMatchData_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_contactcenterinsights_v1_IssueModel_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_contactcenterinsights_v1_IssueModel_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_contactcenterinsights_v1_IssueModel_InputDataConfig_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_contactcenterinsights_v1_IssueModel_InputDataConfig_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_contactcenterinsights_v1_Issue_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_contactcenterinsights_v1_Issue_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_contactcenterinsights_v1_IssueModelLabelStats_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_contactcenterinsights_v1_IssueModelLabelStats_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_contactcenterinsights_v1_IssueModelLabelStats_IssueStats_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_contactcenterinsights_v1_IssueModelLabelStats_IssueStats_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_contactcenterinsights_v1_IssueModelLabelStats_IssueStatsEntry_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_contactcenterinsights_v1_IssueModelLabelStats_IssueStatsEntry_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_contactcenterinsights_v1_PhraseMatcher_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_contactcenterinsights_v1_PhraseMatcher_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_contactcenterinsights_v1_PhraseMatchRuleGroup_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_contactcenterinsights_v1_PhraseMatchRuleGroup_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_contactcenterinsights_v1_PhraseMatchRule_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_contactcenterinsights_v1_PhraseMatchRule_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_contactcenterinsights_v1_PhraseMatchRuleConfig_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_contactcenterinsights_v1_PhraseMatchRuleConfig_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_contactcenterinsights_v1_ExactMatchConfig_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_contactcenterinsights_v1_ExactMatchConfig_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_contactcenterinsights_v1_Settings_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_contactcenterinsights_v1_Settings_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_contactcenterinsights_v1_Settings_AnalysisConfig_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_contactcenterinsights_v1_Settings_AnalysisConfig_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_contactcenterinsights_v1_Settings_PubsubNotificationSettingsEntry_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_contactcenterinsights_v1_Settings_PubsubNotificationSettingsEntry_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_contactcenterinsights_v1_RuntimeAnnotation_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_contactcenterinsights_v1_RuntimeAnnotation_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_contactcenterinsights_v1_AnswerFeedback_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_contactcenterinsights_v1_AnswerFeedback_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_contactcenterinsights_v1_ArticleSuggestionData_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_contactcenterinsights_v1_ArticleSuggestionData_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_contactcenterinsights_v1_ArticleSuggestionData_MetadataEntry_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_contactcenterinsights_v1_ArticleSuggestionData_MetadataEntry_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_contactcenterinsights_v1_FaqAnswerData_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_contactcenterinsights_v1_FaqAnswerData_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_contactcenterinsights_v1_FaqAnswerData_MetadataEntry_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_contactcenterinsights_v1_FaqAnswerData_MetadataEntry_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_contactcenterinsights_v1_SmartReplyData_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_contactcenterinsights_v1_SmartReplyData_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_contactcenterinsights_v1_SmartReplyData_MetadataEntry_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_contactcenterinsights_v1_SmartReplyData_MetadataEntry_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_contactcenterinsights_v1_SmartComposeSuggestionData_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_contactcenterinsights_v1_SmartComposeSuggestionData_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_contactcenterinsights_v1_SmartComposeSuggestionData_MetadataEntry_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_contactcenterinsights_v1_SmartComposeSuggestionData_MetadataEntry_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_contactcenterinsights_v1_DialogflowInteractionData_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_contactcenterinsights_v1_DialogflowInteractionData_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_contactcenterinsights_v1_ConversationParticipant_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_contactcenterinsights_v1_ConversationParticipant_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_contactcenterinsights_v1_View_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_contactcenterinsights_v1_View_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_contactcenterinsights_v1_AnnotatorSelector_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_contactcenterinsights_v1_AnnotatorSelector_fieldAccessorTable; + + public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + return descriptor; + } + + private static com.google.protobuf.Descriptors.FileDescriptor descriptor; + + static { + java.lang.String[] descriptorData = { + "\n5google/cloud/contactcenterinsights/v1/" + + "resources.proto\022%google.cloud.contactcen" + + "terinsights.v1\032\037google/api/field_behavio" + + "r.proto\032\031google/api/resource.proto\032\036goog" + + "le/protobuf/duration.proto\032\037google/proto" + + "buf/timestamp.proto\"\261\023\n\014Conversation\022Y\n\r" + + "call_metadata\030\007 \001(\0132@.google.cloud.conta" + + "ctcenterinsights.v1.Conversation.CallMet" + + "adataH\000\0221\n\013expire_time\030\017 \001(\0132\032.google.pr" + + "otobuf.TimestampH\001\022-\n\003ttl\030\020 \001(\0132\031.google" + + ".protobuf.DurationB\003\340A\004H\001\022\021\n\004name\030\001 \001(\tB" + + "\003\340A\005\022R\n\013data_source\030\002 \001(\0132=.google.cloud" + + ".contactcenterinsights.v1.ConversationDa" + + "taSource\0224\n\013create_time\030\003 \001(\0132\032.google.p" + + "rotobuf.TimestampB\003\340A\003\0224\n\013update_time\030\004 " + + "\001(\0132\032.google.protobuf.TimestampB\003\340A\003\022.\n\n" + + "start_time\030\021 \001(\0132\032.google.protobuf.Times" + + "tamp\022\025\n\rlanguage_code\030\016 \001(\t\022\020\n\010agent_id\030" + + "\005 \001(\t\022O\n\006labels\030\006 \003(\0132?.google.cloud.con" + + "tactcenterinsights.v1.Conversation.Label" + + "sEntry\022W\n\ntranscript\030\010 \001(\0132>.google.clou" + + "d.contactcenterinsights.v1.Conversation." + + "TranscriptB\003\340A\003\022O\n\006medium\030\t \001(\0162:.google" + + ".cloud.contactcenterinsights.v1.Conversa" + + "tion.MediumB\003\340A\005\0220\n\010duration\030\n \001(\0132\031.goo" + + "gle.protobuf.DurationB\003\340A\003\022\027\n\nturn_count" + + "\030\013 \001(\005B\003\340A\003\022M\n\017latest_analysis\030\014 \001(\0132/.g" + + "oogle.cloud.contactcenterinsights.v1.Ana" + + "lysisB\003\340A\003\022Z\n\023runtime_annotations\030\r \003(\0132" + + "8.google.cloud.contactcenterinsights.v1." + + "RuntimeAnnotationB\003\340A\003\022k\n\022dialogflow_int" + + "ents\030\022 \003(\0132J.google.cloud.contactcenteri" + + "nsights.v1.Conversation.DialogflowIntent" + + "sEntryB\003\340A\003\022\032\n\022obfuscated_user_id\030\025 \001(\t\032" + + "?\n\014CallMetadata\022\030\n\020customer_channel\030\001 \001(" + + "\005\022\025\n\ragent_channel\030\002 \001(\005\032\206\007\n\nTranscript\022" + + "m\n\023transcript_segments\030\001 \003(\0132P.google.cl" + + "oud.contactcenterinsights.v1.Conversatio" + + "n.Transcript.TranscriptSegment\032\210\006\n\021Trans" + + "criptSegment\0220\n\014message_time\030\006 \001(\0132\032.goo" + + "gle.protobuf.Timestamp\022\014\n\004text\030\001 \001(\t\022\022\n\n" + + "confidence\030\002 \001(\002\022h\n\005words\030\003 \003(\0132Y.google" + + ".cloud.contactcenterinsights.v1.Conversa" + + "tion.Transcript.TranscriptSegment.WordIn" + + "fo\022\025\n\rlanguage_code\030\004 \001(\t\022\023\n\013channel_tag" + + "\030\005 \001(\005\022[\n\023segment_participant\030\t \001(\0132>.go" + + "ogle.cloud.contactcenterinsights.v1.Conv" + + "ersationParticipant\022\217\001\n\033dialogflow_segme" + + "nt_metadata\030\n \001(\0132j.google.cloud.contact" + + "centerinsights.v1.Conversation.Transcrip" + + "t.TranscriptSegment.DialogflowSegmentMet" + + "adata\022G\n\tsentiment\030\013 \001(\01324.google.cloud." + + "contactcenterinsights.v1.SentimentData\032\214" + + "\001\n\010WordInfo\022/\n\014start_offset\030\001 \001(\0132\031.goog" + + "le.protobuf.Duration\022-\n\nend_offset\030\002 \001(\013" + + "2\031.google.protobuf.Duration\022\014\n\004word\030\003 \001(" + + "\t\022\022\n\nconfidence\030\004 \001(\002\032B\n\031DialogflowSegme" + + "ntMetadata\022%\n\035smart_reply_allowlist_cove" + + "red\030\001 \001(\010\032-\n\013LabelsEntry\022\013\n\003key\030\001 \001(\t\022\r\n" + + "\005value\030\002 \001(\t:\0028\001\032q\n\026DialogflowIntentsEnt" + + "ry\022\013\n\003key\030\001 \001(\t\022F\n\005value\030\002 \001(\01327.google." + + "cloud.contactcenterinsights.v1.Dialogflo" + + "wIntent:\0028\001\":\n\006Medium\022\026\n\022MEDIUM_UNSPECIF" + + "IED\020\000\022\016\n\nPHONE_CALL\020\001\022\010\n\004CHAT\020\002:|\352Ay\n1co" + + "ntactcenterinsights.googleapis.com/Conve" + + "rsation\022Dprojects/{project}/locations/{l" + + "ocation}/conversations/{conversation}B\n\n" + + "\010metadataB\014\n\nexpiration\"\305\003\n\010Analysis\022\021\n\004" + + "name\030\001 \001(\tB\003\340A\005\0225\n\014request_time\030\002 \001(\0132\032." + + "google.protobuf.TimestampB\003\340A\003\0224\n\013create" + + "_time\030\003 \001(\0132\032.google.protobuf.TimestampB" + + "\003\340A\003\022S\n\017analysis_result\030\007 \001(\01325.google.c" + + "loud.contactcenterinsights.v1.AnalysisRe" + + "sultB\003\340A\003\022T\n\022annotator_selector\030\010 \001(\01328." + + "google.cloud.contactcenterinsights.v1.An" + + "notatorSelector:\215\001\352A\211\001\n-contactcenterins" + + "ights.googleapis.com/Analysis\022Xprojects/" + + "{project}/locations/{location}/conversat" + + "ions/{conversation}/analyses/{analysis}\"" + + "\300\001\n\026ConversationDataSource\022F\n\ngcs_source" + + "\030\001 \001(\01320.google.cloud.contactcenterinsig" + + "hts.v1.GcsSourceH\000\022T\n\021dialogflow_source\030" + + "\003 \001(\01327.google.cloud.contactcenterinsigh" + + "ts.v1.DialogflowSourceH\000B\010\n\006source\";\n\tGc" + + "sSource\022\021\n\taudio_uri\030\001 \001(\t\022\033\n\016transcript" + + "_uri\030\002 \001(\tB\003\340A\005\"K\n\020DialogflowSource\022$\n\027d" + + "ialogflow_conversation\030\001 \001(\tB\003\340A\003\022\021\n\taud" + + "io_uri\030\003 \001(\t\"\306\010\n\016AnalysisResult\022l\n\026call_" + + "analysis_metadata\030\002 \001(\0132J.google.cloud.c" + + "ontactcenterinsights.v1.AnalysisResult.C" + + "allAnalysisMetadataH\000\022,\n\010end_time\030\001 \001(\0132" + + "\032.google.protobuf.Timestamp\032\213\007\n\024CallAnal" + + "ysisMetadata\022J\n\013annotations\030\002 \003(\01325.goog" + + "le.cloud.contactcenterinsights.v1.CallAn" + + "notation\022j\n\010entities\030\003 \003(\0132X.google.clou" + + "d.contactcenterinsights.v1.AnalysisResul" + + "t.CallAnalysisMetadata.EntitiesEntry\022U\n\n" + + "sentiments\030\004 \003(\0132A.google.cloud.contactc" + + "enterinsights.v1.ConversationLevelSentim" + + "ent\022h\n\007intents\030\006 \003(\0132W.google.cloud.cont" + + "actcenterinsights.v1.AnalysisResult.Call" + + "AnalysisMetadata.IntentsEntry\022w\n\017phrase_" + + "matchers\030\007 \003(\0132^.google.cloud.contactcen" + + "terinsights.v1.AnalysisResult.CallAnalys" + + "isMetadata.PhraseMatchersEntry\022S\n\022issue_" + + "model_result\030\010 \001(\01327.google.cloud.contac" + + "tcenterinsights.v1.IssueModelResult\032^\n\rE" + + "ntitiesEntry\022\013\n\003key\030\001 \001(\t\022<\n\005value\030\002 \001(\013" + + "2-.google.cloud.contactcenterinsights.v1" + + ".Entity:\0028\001\032]\n\014IntentsEntry\022\013\n\003key\030\001 \001(\t" + + "\022<\n\005value\030\002 \001(\0132-.google.cloud.contactce" + + "nterinsights.v1.Intent:\0028\001\032m\n\023PhraseMatc" + + "hersEntry\022\013\n\003key\030\001 \001(\t\022E\n\005value\030\002 \001(\01326." + + "google.cloud.contactcenterinsights.v1.Ph" + + "raseMatchData:\0028\001B\n\n\010metadata\"\245\001\n\020IssueM" + + "odelResult\022I\n\013issue_model\030\001 \001(\tB4\372A1\n/co" + + "ntactcenterinsights.googleapis.com/Issue" + + "Model\022F\n\006issues\030\002 \003(\01326.google.cloud.con" + + "tactcenterinsights.v1.IssueAssignment\"\177\n" + + "\032ConversationLevelSentiment\022\023\n\013channel_t" + + "ag\030\001 \001(\005\022L\n\016sentiment_data\030\002 \001(\01324.googl" + + "e.cloud.contactcenterinsights.v1.Sentime" + + "ntData\"J\n\017IssueAssignment\022\r\n\005issue\030\001 \001(\t" + + "\022\r\n\005score\030\002 \001(\001\022\031\n\014display_name\030\003 \001(\tB\003\340" + + "A\005\"\365\006\n\016CallAnnotation\022T\n\021interruption_da" + + "ta\030\n \001(\01327.google.cloud.contactcenterins" + + "ights.v1.InterruptionDataH\000\022N\n\016sentiment" + + "_data\030\013 \001(\01324.google.cloud.contactcenter" + + "insights.v1.SentimentDataH\000\022J\n\014silence_d" + + "ata\030\014 \001(\01322.google.cloud.contactcenterin" + + "sights.v1.SilenceDataH\000\022D\n\thold_data\030\r \001" + + "(\0132/.google.cloud.contactcenterinsights." + + "v1.HoldDataH\000\022W\n\023entity_mention_data\030\017 \001" + + "(\01328.google.cloud.contactcenterinsights." + + "v1.EntityMentionDataH\000\022S\n\021intent_match_d" + + "ata\030\020 \001(\01326.google.cloud.contactcenterin" + + "sights.v1.IntentMatchDataH\000\022S\n\021phrase_ma" + + "tch_data\030\021 \001(\01326.google.cloud.contactcen" + + "terinsights.v1.PhraseMatchDataH\000\022Q\n\020issu" + + "e_match_data\030\022 \001(\01325.google.cloud.contac" + + "tcenterinsights.v1.IssueMatchDataH\000\022\023\n\013c" + + "hannel_tag\030\001 \001(\005\022\\\n\031annotation_start_bou" + + "ndary\030\004 \001(\01329.google.cloud.contactcenter" + + "insights.v1.AnnotationBoundary\022Z\n\027annota" + + "tion_end_boundary\030\005 \001(\01329.google.cloud.c" + + "ontactcenterinsights.v1.AnnotationBounda" + + "ryB\006\n\004data\"Y\n\022AnnotationBoundary\022\024\n\nword" + + "_index\030\003 \001(\005H\000\022\030\n\020transcript_index\030\001 \001(\005" + + "B\023\n\021detailed_boundary\"\200\004\n\006Entity\022\024\n\014disp" + + "lay_name\030\001 \001(\t\022@\n\004type\030\002 \001(\01622.google.cl" + + "oud.contactcenterinsights.v1.Entity.Type" + + "\022M\n\010metadata\030\003 \003(\0132;.google.cloud.contac" + + "tcenterinsights.v1.Entity.MetadataEntry\022" + + "\020\n\010salience\030\004 \001(\002\022G\n\tsentiment\030\005 \001(\01324.g" + + "oogle.cloud.contactcenterinsights.v1.Sen" + + "timentData\032/\n\rMetadataEntry\022\013\n\003key\030\001 \001(\t" + + "\022\r\n\005value\030\002 \001(\t:\0028\001\"\302\001\n\004Type\022\024\n\020TYPE_UNS" + + "PECIFIED\020\000\022\n\n\006PERSON\020\001\022\014\n\010LOCATION\020\002\022\020\n\014" + + "ORGANIZATION\020\003\022\t\n\005EVENT\020\004\022\017\n\013WORK_OF_ART" + + "\020\005\022\021\n\rCONSUMER_GOOD\020\006\022\t\n\005OTHER\020\007\022\020\n\014PHON" + + "E_NUMBER\020\t\022\013\n\007ADDRESS\020\n\022\010\n\004DATE\020\013\022\n\n\006NUM" + + "BER\020\014\022\t\n\005PRICE\020\r\"*\n\006Intent\022\n\n\002id\030\001 \001(\t\022\024" + + "\n\014display_name\030\002 \001(\t\"?\n\017PhraseMatchData\022" + + "\026\n\016phrase_matcher\030\001 \001(\t\022\024\n\014display_name\030" + + "\002 \001(\t\"(\n\020DialogflowIntent\022\024\n\014display_nam" + + "e\030\001 \001(\t\"\022\n\020InterruptionData\"\r\n\013SilenceDa" + + "ta\"\n\n\010HoldData\"\217\002\n\021EntityMentionData\022\030\n\020" + + "entity_unique_id\030\001 \001(\t\022R\n\004type\030\002 \001(\0162D.g" + + "oogle.cloud.contactcenterinsights.v1.Ent" + + "ityMentionData.MentionType\022G\n\tsentiment\030" + + "\003 \001(\01324.google.cloud.contactcenterinsigh" + + "ts.v1.SentimentData\"C\n\013MentionType\022\034\n\030ME" + + "NTION_TYPE_UNSPECIFIED\020\000\022\n\n\006PROPER\020\001\022\n\n\006" + + "COMMON\020\002\"+\n\017IntentMatchData\022\030\n\020intent_un" + + "ique_id\030\001 \001(\t\"1\n\rSentimentData\022\021\n\tmagnit" + + "ude\030\001 \001(\002\022\r\n\005score\030\002 \001(\002\"b\n\016IssueMatchDa" + + "ta\022P\n\020issue_assignment\030\001 \001(\01326.google.cl" + + "oud.contactcenterinsights.v1.IssueAssign" + + "ment\"\307\006\n\nIssueModel\022\021\n\004name\030\001 \001(\tB\003\340A\005\022\024" + + "\n\014display_name\030\002 \001(\t\0224\n\013create_time\030\003 \001(" + + "\0132\032.google.protobuf.TimestampB\003\340A\003\0224\n\013up" + + "date_time\030\004 \001(\0132\032.google.protobuf.Timest" + + "ampB\003\340A\003\022\030\n\013issue_count\030\010 \001(\003B\003\340A\003\022K\n\005st" + + "ate\030\005 \001(\01627.google.cloud.contactcenterin" + + "sights.v1.IssueModel.StateB\003\340A\003\022\\\n\021input" + + "_data_config\030\006 \001(\0132A.google.cloud.contac" + + "tcenterinsights.v1.IssueModel.InputDataC" + + "onfig\022[\n\016training_stats\030\007 \001(\0132;.google.c" + + "loud.contactcenterinsights.v1.IssueModel" + + "LabelStatsB\006\340A\003\340A\005\032\234\001\n\017InputDataConfig\022N" + + "\n\006medium\030\001 \001(\0162:.google.cloud.contactcen" + + "terinsights.v1.Conversation.MediumB\002\030\001\022)" + + "\n\034training_conversations_count\030\002 \001(\003B\003\340A" + + "\003\022\016\n\006filter\030\003 \001(\t\"j\n\005State\022\025\n\021STATE_UNSP" + + "ECIFIED\020\000\022\016\n\nUNDEPLOYED\020\001\022\r\n\tDEPLOYING\020\002" + + "\022\014\n\010DEPLOYED\020\003\022\017\n\013UNDEPLOYING\020\004\022\014\n\010DELET" + + "ING\020\005:w\352At\n/contactcenterinsights.google" + + "apis.com/IssueModel\022Aprojects/{project}/" + + "locations/{location}/issueModels/{issue_" + + "model}\"\300\002\n\005Issue\022\021\n\004name\030\001 \001(\tB\003\340A\005\022\024\n\014d" + + "isplay_name\030\002 \001(\t\0224\n\013create_time\030\003 \001(\0132\032" + + ".google.protobuf.TimestampB\003\340A\003\0224\n\013updat" + + "e_time\030\004 \001(\0132\032.google.protobuf.Timestamp" + + "B\003\340A\003\022\036\n\021sample_utterances\030\006 \003(\tB\003\340A\003:\201\001" + + "\352A~\n*contactcenterinsights.googleapis.co" + + "m/Issue\022Pprojects/{project}/locations/{l" + + "ocation}/issueModels/{issue_model}/issue" + + "s/{issue}\"\233\003\n\024IssueModelLabelStats\022$\n\034an" + + "alyzed_conversations_count\030\001 \001(\003\022(\n uncl" + + "assified_conversations_count\030\002 \001(\003\022`\n\013is" + + "sue_stats\030\003 \003(\0132K.google.cloud.contactce" + + "nterinsights.v1.IssueModelLabelStats.Iss" + + "ueStatsEntry\032V\n\nIssueStats\022\r\n\005issue\030\001 \001(" + + "\t\022#\n\033labeled_conversations_count\030\002 \001(\003\022\024" + + "\n\014display_name\030\003 \001(\t\032y\n\017IssueStatsEntry\022" + + "\013\n\003key\030\001 \001(\t\022U\n\005value\030\002 \001(\0132F.google.clo" + + "ud.contactcenterinsights.v1.IssueModelLa" + + "belStats.IssueStats:\0028\001\"\223\006\n\rPhraseMatche" + + "r\022\014\n\004name\030\001 \001(\t\022\033\n\013revision_id\030\002 \001(\tB\006\340A" + + "\005\340A\003\022\023\n\013version_tag\030\003 \001(\t\022=\n\024revision_cr" + + "eate_time\030\004 \001(\0132\032.google.protobuf.Timest" + + "ampB\003\340A\003\022\024\n\014display_name\030\005 \001(\t\022Y\n\004type\030\006" + + " \001(\0162F.google.cloud.contactcenterinsight" + + "s.v1.PhraseMatcher.PhraseMatcherTypeB\003\340A" + + "\002\022\016\n\006active\030\007 \001(\010\022]\n\030phrase_match_rule_g" + + "roups\030\010 \003(\0132;.google.cloud.contactcenter" + + "insights.v1.PhraseMatchRuleGroup\022?\n\026acti" + + "vation_update_time\030\t \001(\0132\032.google.protob" + + "uf.TimestampB\003\340A\003\022W\n\nrole_match\030\n \001(\0162C." + + "google.cloud.contactcenterinsights.v1.Co" + + "nversationParticipant.Role\0224\n\013update_tim" + + "e\030\013 \001(\0132\032.google.protobuf.TimestampB\003\340A\003" + + "\"P\n\021PhraseMatcherType\022#\n\037PHRASE_MATCHER_" + + "TYPE_UNSPECIFIED\020\000\022\n\n\006ALL_OF\020\001\022\n\n\006ANY_OF" + + "\020\002:\200\001\352A}\n2contactcenterinsights.googleap" + + "is.com/PhraseMatcher\022Gprojects/{project}" + + "/locations/{location}/phraseMatchers/{ph" + + "rase_matcher}\"\265\002\n\024PhraseMatchRuleGroup\022g" + + "\n\004type\030\001 \001(\0162T.google.cloud.contactcente" + + "rinsights.v1.PhraseMatchRuleGroup.Phrase" + + "MatchRuleGroupTypeB\003\340A\002\022R\n\022phrase_match_" + + "rules\030\002 \003(\01326.google.cloud.contactcenter" + + "insights.v1.PhraseMatchRule\"`\n\030PhraseMat" + + "chRuleGroupType\022,\n(PHRASE_MATCH_RULE_GRO" + + "UP_TYPE_UNSPECIFIED\020\000\022\n\n\006ALL_OF\020\001\022\n\n\006ANY" + + "_OF\020\002\"\204\001\n\017PhraseMatchRule\022\022\n\005query\030\001 \001(\t" + + "B\003\340A\002\022\017\n\007negated\030\002 \001(\010\022L\n\006config\030\003 \001(\0132<" + + ".google.cloud.contactcenterinsights.v1.P" + + "hraseMatchRuleConfig\"x\n\025PhraseMatchRuleC" + + "onfig\022U\n\022exact_match_config\030\001 \001(\01327.goog" + + "le.cloud.contactcenterinsights.v1.ExactM" + + "atchConfigH\000B\010\n\006config\"*\n\020ExactMatchConf" + + "ig\022\026\n\016case_sensitive\030\001 \001(\010\"\350\005\n\010Settings\022" + + "\021\n\004name\030\001 \001(\tB\003\340A\005\0224\n\013create_time\030\002 \001(\0132" + + "\032.google.protobuf.TimestampB\003\340A\003\0224\n\013upda" + + "te_time\030\003 \001(\0132\032.google.protobuf.Timestam" + + "pB\003\340A\003\022\025\n\rlanguage_code\030\004 \001(\t\0223\n\020convers" + + "ation_ttl\030\005 \001(\0132\031.google.protobuf.Durati" + + "on\022u\n\034pubsub_notification_settings\030\006 \003(\013" + + "2O.google.cloud.contactcenterinsights.v1" + + ".Settings.PubsubNotificationSettingsEntr" + + "y\022W\n\017analysis_config\030\007 \001(\0132>.google.clou" + + "d.contactcenterinsights.v1.Settings.Anal" + + "ysisConfig\032\227\001\n\016AnalysisConfig\022/\n\'runtime" + + "_integration_analysis_percentage\030\001 \001(\001\022T" + + "\n\022annotator_selector\030\005 \001(\01328.google.clou" + + "d.contactcenterinsights.v1.AnnotatorSele" + + "ctor\032A\n\037PubsubNotificationSettingsEntry\022" + + "\013\n\003key\030\001 \001(\t\022\r\n\005value\030\002 \001(\t:\0028\001:d\352Aa\n-co" + + "ntactcenterinsights.googleapis.com/Setti" + + "ngs\0220projects/{project}/locations/{locat" + + "ion}/settings\"\230\006\n\021RuntimeAnnotation\022Z\n\022a" + + "rticle_suggestion\030\006 \001(\0132<.google.cloud.c" + + "ontactcenterinsights.v1.ArticleSuggestio" + + "nDataH\000\022J\n\nfaq_answer\030\007 \001(\01324.google.clo" + + "ud.contactcenterinsights.v1.FaqAnswerDat" + + "aH\000\022L\n\013smart_reply\030\010 \001(\01325.google.cloud." + + "contactcenterinsights.v1.SmartReplyDataH" + + "\000\022e\n\030smart_compose_suggestion\030\t \001(\0132A.go" + + "ogle.cloud.contactcenterinsights.v1.Smar" + + "tComposeSuggestionDataH\000\022b\n\026dialogflow_i" + + "nteraction\030\n \001(\0132@.google.cloud.contactc" + + "enterinsights.v1.DialogflowInteractionDa" + + "taH\000\022\025\n\rannotation_id\030\001 \001(\t\022/\n\013create_ti" + + "me\030\002 \001(\0132\032.google.protobuf.Timestamp\022Q\n\016" + + "start_boundary\030\003 \001(\01329.google.cloud.cont" + + "actcenterinsights.v1.AnnotationBoundary\022" + + "O\n\014end_boundary\030\004 \001(\01329.google.cloud.con" + + "tactcenterinsights.v1.AnnotationBoundary" + + "\022N\n\017answer_feedback\030\005 \001(\01325.google.cloud" + + ".contactcenterinsights.v1.AnswerFeedback" + + "B\006\n\004data\"\211\002\n\016AnswerFeedback\022a\n\021correctne" + + "ss_level\030\001 \001(\0162F.google.cloud.contactcen" + + "terinsights.v1.AnswerFeedback.Correctnes" + + "sLevel\022\017\n\007clicked\030\002 \001(\010\022\021\n\tdisplayed\030\003 \001" + + "(\010\"p\n\020CorrectnessLevel\022!\n\035CORRECTNESS_LE" + + "VEL_UNSPECIFIED\020\000\022\017\n\013NOT_CORRECT\020\001\022\025\n\021PA" + + "RTIALLY_CORRECT\020\002\022\021\n\rFULLY_CORRECT\020\003\"\202\002\n" + + "\025ArticleSuggestionData\022\r\n\005title\030\001 \001(\t\022\013\n" + + "\003uri\030\002 \001(\t\022\030\n\020confidence_score\030\003 \001(\002\022\\\n\010" + + "metadata\030\004 \003(\0132J.google.cloud.contactcen" + + "terinsights.v1.ArticleSuggestionData.Met" + + "adataEntry\022\024\n\014query_record\030\005 \001(\t\022\016\n\006sour" + + "ce\030\006 \001(\t\032/\n\rMetadataEntry\022\013\n\003key\030\001 \001(\t\022\r" + + "\n\005value\030\002 \001(\t:\0028\001\"\370\001\n\rFaqAnswerData\022\016\n\006a" + + "nswer\030\001 \001(\t\022\030\n\020confidence_score\030\002 \001(\002\022\020\n" + + "\010question\030\003 \001(\t\022T\n\010metadata\030\004 \003(\0132B.goog" + + "le.cloud.contactcenterinsights.v1.FaqAns" + + "werData.MetadataEntry\022\024\n\014query_record\030\005 " + + "\001(\t\022\016\n\006source\030\006 \001(\t\032/\n\rMetadataEntry\022\013\n\003" + + "key\030\001 \001(\t\022\r\n\005value\030\002 \001(\t:\0028\001\"\327\001\n\016SmartRe" + + "plyData\022\r\n\005reply\030\001 \001(\t\022\030\n\020confidence_sco" + + "re\030\002 \001(\001\022U\n\010metadata\030\003 \003(\0132C.google.clou" + + "d.contactcenterinsights.v1.SmartReplyDat" + + "a.MetadataEntry\022\024\n\014query_record\030\004 \001(\t\032/\n" + + "\rMetadataEntry\022\013\n\003key\030\001 \001(\t\022\r\n\005value\030\002 \001" + + "(\t:\0028\001\"\364\001\n\032SmartComposeSuggestionData\022\022\n" + + "\nsuggestion\030\001 \001(\t\022\030\n\020confidence_score\030\002 " + + "\001(\001\022a\n\010metadata\030\003 \003(\0132O.google.cloud.con" + + "tactcenterinsights.v1.SmartComposeSugges" + + "tionData.MetadataEntry\022\024\n\014query_record\030\004" + + " \001(\t\032/\n\rMetadataEntry\022\013\n\003key\030\001 \001(\t\022\r\n\005va" + + "lue\030\002 \001(\t:\0028\001\"M\n\031DialogflowInteractionDa" + + "ta\022\034\n\024dialogflow_intent_id\030\001 \001(\t\022\022\n\nconf" + + "idence\030\002 \001(\002\"\213\003\n\027ConversationParticipant" + + "\022Q\n\033dialogflow_participant_name\030\005 \001(\tB*\372" + + "A\'\n%dialogflow.googleapis.com/Participan" + + "tH\000\022\021\n\007user_id\030\006 \001(\tH\000\022\"\n\026dialogflow_par" + + "ticipant\030\001 \001(\tB\002\030\001\022#\n\033obfuscated_externa" + + "l_user_id\030\003 \001(\t\022Q\n\004role\030\002 \001(\0162C.google.c" + + "loud.contactcenterinsights.v1.Conversati" + + "onParticipant.Role\"_\n\004Role\022\024\n\020ROLE_UNSPE" + + "CIFIED\020\000\022\017\n\013HUMAN_AGENT\020\001\022\023\n\017AUTOMATED_A" + + "GENT\020\002\022\014\n\010END_USER\020\003\022\r\n\tANY_AGENT\020\004B\r\n\013p" + + "articipant\"\220\002\n\004View\022\021\n\004name\030\001 \001(\tB\003\340A\005\022\024" + + "\n\014display_name\030\002 \001(\t\0224\n\013create_time\030\003 \001(" + + "\0132\032.google.protobuf.TimestampB\003\340A\003\0224\n\013up" + + "date_time\030\004 \001(\0132\032.google.protobuf.Timest" + + "ampB\003\340A\003\022\r\n\005value\030\005 \001(\t:d\352Aa\n)contactcen" + + "terinsights.googleapis.com/View\0224project" + + "s/{project}/locations/{location}/views/{" + + "view}\"\232\003\n\021AnnotatorSelector\022\"\n\032run_inter" + + "ruption_annotator\030\001 \001(\010\022\035\n\025run_silence_a" + + "nnotator\030\002 \001(\010\022$\n\034run_phrase_matcher_ann" + + "otator\030\003 \001(\010\022P\n\017phrase_matchers\030\004 \003(\tB7\372" + + "A4\n2contactcenterinsights.googleapis.com" + + "/PhraseMatcher\022\037\n\027run_sentiment_annotato" + + "r\030\005 \001(\010\022\034\n\024run_entity_annotator\030\006 \001(\010\022\034\n" + + "\024run_intent_annotator\030\007 \001(\010\022!\n\031run_issue" + + "_model_annotator\030\010 \001(\010\022J\n\014issue_models\030\n" + + " \003(\tB4\372A1\n/contactcenterinsights.googlea" + + "pis.com/IssueModelB\361\003\n)com.google.cloud." + + "contactcenterinsights.v1B\016ResourcesProto" + + "P\001Z_cloud.google.com/go/contactcenterins" + + "ights/apiv1/contactcenterinsightspb;cont" + + "actcenterinsightspb\252\002%Google.Cloud.Conta" + + "ctCenterInsights.V1\312\002%Google\\Cloud\\Conta" + + "ctCenterInsights\\V1\352\002(Google::Cloud::Con" + + "tactCenterInsights::V1\352A\324\001\n%dialogflow.g" + + "oogleapis.com/Participant\022Jprojects/{pro" + + "ject}/conversations/{conversation}/parti" + + "cipants/{participant}\022_projects/{project" + + "}/locations/{location}/conversations/{co" + + "nversation}/participants/{participant}b\006" + + "proto3" + }; + descriptor = + com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( + descriptorData, + new com.google.protobuf.Descriptors.FileDescriptor[] { + com.google.api.FieldBehaviorProto.getDescriptor(), + com.google.api.ResourceProto.getDescriptor(), + com.google.protobuf.DurationProto.getDescriptor(), + com.google.protobuf.TimestampProto.getDescriptor(), + }); + internal_static_google_cloud_contactcenterinsights_v1_Conversation_descriptor = + getDescriptor().getMessageTypes().get(0); + internal_static_google_cloud_contactcenterinsights_v1_Conversation_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_contactcenterinsights_v1_Conversation_descriptor, + new java.lang.String[] { + "CallMetadata", + "ExpireTime", + "Ttl", + "Name", + "DataSource", + "CreateTime", + "UpdateTime", + "StartTime", + "LanguageCode", + "AgentId", + "Labels", + "Transcript", + "Medium", + "Duration", + "TurnCount", + "LatestAnalysis", + "RuntimeAnnotations", + "DialogflowIntents", + "ObfuscatedUserId", + "Metadata", + "Expiration", + }); + internal_static_google_cloud_contactcenterinsights_v1_Conversation_CallMetadata_descriptor = + internal_static_google_cloud_contactcenterinsights_v1_Conversation_descriptor + .getNestedTypes() + .get(0); + internal_static_google_cloud_contactcenterinsights_v1_Conversation_CallMetadata_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_contactcenterinsights_v1_Conversation_CallMetadata_descriptor, + new java.lang.String[] { + "CustomerChannel", "AgentChannel", + }); + internal_static_google_cloud_contactcenterinsights_v1_Conversation_Transcript_descriptor = + internal_static_google_cloud_contactcenterinsights_v1_Conversation_descriptor + .getNestedTypes() + .get(1); + internal_static_google_cloud_contactcenterinsights_v1_Conversation_Transcript_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_contactcenterinsights_v1_Conversation_Transcript_descriptor, + new java.lang.String[] { + "TranscriptSegments", + }); + internal_static_google_cloud_contactcenterinsights_v1_Conversation_Transcript_TranscriptSegment_descriptor = + internal_static_google_cloud_contactcenterinsights_v1_Conversation_Transcript_descriptor + .getNestedTypes() + .get(0); + internal_static_google_cloud_contactcenterinsights_v1_Conversation_Transcript_TranscriptSegment_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_contactcenterinsights_v1_Conversation_Transcript_TranscriptSegment_descriptor, + new java.lang.String[] { + "MessageTime", + "Text", + "Confidence", + "Words", + "LanguageCode", + "ChannelTag", + "SegmentParticipant", + "DialogflowSegmentMetadata", + "Sentiment", + }); + internal_static_google_cloud_contactcenterinsights_v1_Conversation_Transcript_TranscriptSegment_WordInfo_descriptor = + internal_static_google_cloud_contactcenterinsights_v1_Conversation_Transcript_TranscriptSegment_descriptor + .getNestedTypes() + .get(0); + internal_static_google_cloud_contactcenterinsights_v1_Conversation_Transcript_TranscriptSegment_WordInfo_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_contactcenterinsights_v1_Conversation_Transcript_TranscriptSegment_WordInfo_descriptor, + new java.lang.String[] { + "StartOffset", "EndOffset", "Word", "Confidence", + }); + internal_static_google_cloud_contactcenterinsights_v1_Conversation_Transcript_TranscriptSegment_DialogflowSegmentMetadata_descriptor = + internal_static_google_cloud_contactcenterinsights_v1_Conversation_Transcript_TranscriptSegment_descriptor + .getNestedTypes() + .get(1); + internal_static_google_cloud_contactcenterinsights_v1_Conversation_Transcript_TranscriptSegment_DialogflowSegmentMetadata_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_contactcenterinsights_v1_Conversation_Transcript_TranscriptSegment_DialogflowSegmentMetadata_descriptor, + new java.lang.String[] { + "SmartReplyAllowlistCovered", + }); + internal_static_google_cloud_contactcenterinsights_v1_Conversation_LabelsEntry_descriptor = + internal_static_google_cloud_contactcenterinsights_v1_Conversation_descriptor + .getNestedTypes() + .get(2); + internal_static_google_cloud_contactcenterinsights_v1_Conversation_LabelsEntry_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_contactcenterinsights_v1_Conversation_LabelsEntry_descriptor, + new java.lang.String[] { + "Key", "Value", + }); + internal_static_google_cloud_contactcenterinsights_v1_Conversation_DialogflowIntentsEntry_descriptor = + internal_static_google_cloud_contactcenterinsights_v1_Conversation_descriptor + .getNestedTypes() + .get(3); + internal_static_google_cloud_contactcenterinsights_v1_Conversation_DialogflowIntentsEntry_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_contactcenterinsights_v1_Conversation_DialogflowIntentsEntry_descriptor, + new java.lang.String[] { + "Key", "Value", + }); + internal_static_google_cloud_contactcenterinsights_v1_Analysis_descriptor = + getDescriptor().getMessageTypes().get(1); + internal_static_google_cloud_contactcenterinsights_v1_Analysis_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_contactcenterinsights_v1_Analysis_descriptor, + new java.lang.String[] { + "Name", "RequestTime", "CreateTime", "AnalysisResult", "AnnotatorSelector", + }); + internal_static_google_cloud_contactcenterinsights_v1_ConversationDataSource_descriptor = + getDescriptor().getMessageTypes().get(2); + internal_static_google_cloud_contactcenterinsights_v1_ConversationDataSource_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_contactcenterinsights_v1_ConversationDataSource_descriptor, + new java.lang.String[] { + "GcsSource", "DialogflowSource", "Source", + }); + internal_static_google_cloud_contactcenterinsights_v1_GcsSource_descriptor = + getDescriptor().getMessageTypes().get(3); + internal_static_google_cloud_contactcenterinsights_v1_GcsSource_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_contactcenterinsights_v1_GcsSource_descriptor, + new java.lang.String[] { + "AudioUri", "TranscriptUri", + }); + internal_static_google_cloud_contactcenterinsights_v1_DialogflowSource_descriptor = + getDescriptor().getMessageTypes().get(4); + internal_static_google_cloud_contactcenterinsights_v1_DialogflowSource_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_contactcenterinsights_v1_DialogflowSource_descriptor, + new java.lang.String[] { + "DialogflowConversation", "AudioUri", + }); + internal_static_google_cloud_contactcenterinsights_v1_AnalysisResult_descriptor = + getDescriptor().getMessageTypes().get(5); + internal_static_google_cloud_contactcenterinsights_v1_AnalysisResult_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_contactcenterinsights_v1_AnalysisResult_descriptor, + new java.lang.String[] { + "CallAnalysisMetadata", "EndTime", "Metadata", + }); + internal_static_google_cloud_contactcenterinsights_v1_AnalysisResult_CallAnalysisMetadata_descriptor = + internal_static_google_cloud_contactcenterinsights_v1_AnalysisResult_descriptor + .getNestedTypes() + .get(0); + internal_static_google_cloud_contactcenterinsights_v1_AnalysisResult_CallAnalysisMetadata_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_contactcenterinsights_v1_AnalysisResult_CallAnalysisMetadata_descriptor, + new java.lang.String[] { + "Annotations", + "Entities", + "Sentiments", + "Intents", + "PhraseMatchers", + "IssueModelResult", + }); + internal_static_google_cloud_contactcenterinsights_v1_AnalysisResult_CallAnalysisMetadata_EntitiesEntry_descriptor = + internal_static_google_cloud_contactcenterinsights_v1_AnalysisResult_CallAnalysisMetadata_descriptor + .getNestedTypes() + .get(0); + internal_static_google_cloud_contactcenterinsights_v1_AnalysisResult_CallAnalysisMetadata_EntitiesEntry_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_contactcenterinsights_v1_AnalysisResult_CallAnalysisMetadata_EntitiesEntry_descriptor, + new java.lang.String[] { + "Key", "Value", + }); + internal_static_google_cloud_contactcenterinsights_v1_AnalysisResult_CallAnalysisMetadata_IntentsEntry_descriptor = + internal_static_google_cloud_contactcenterinsights_v1_AnalysisResult_CallAnalysisMetadata_descriptor + .getNestedTypes() + .get(1); + internal_static_google_cloud_contactcenterinsights_v1_AnalysisResult_CallAnalysisMetadata_IntentsEntry_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_contactcenterinsights_v1_AnalysisResult_CallAnalysisMetadata_IntentsEntry_descriptor, + new java.lang.String[] { + "Key", "Value", + }); + internal_static_google_cloud_contactcenterinsights_v1_AnalysisResult_CallAnalysisMetadata_PhraseMatchersEntry_descriptor = + internal_static_google_cloud_contactcenterinsights_v1_AnalysisResult_CallAnalysisMetadata_descriptor + .getNestedTypes() + .get(2); + internal_static_google_cloud_contactcenterinsights_v1_AnalysisResult_CallAnalysisMetadata_PhraseMatchersEntry_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_contactcenterinsights_v1_AnalysisResult_CallAnalysisMetadata_PhraseMatchersEntry_descriptor, + new java.lang.String[] { + "Key", "Value", + }); + internal_static_google_cloud_contactcenterinsights_v1_IssueModelResult_descriptor = + getDescriptor().getMessageTypes().get(6); + internal_static_google_cloud_contactcenterinsights_v1_IssueModelResult_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_contactcenterinsights_v1_IssueModelResult_descriptor, + new java.lang.String[] { + "IssueModel", "Issues", + }); + internal_static_google_cloud_contactcenterinsights_v1_ConversationLevelSentiment_descriptor = + getDescriptor().getMessageTypes().get(7); + internal_static_google_cloud_contactcenterinsights_v1_ConversationLevelSentiment_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_contactcenterinsights_v1_ConversationLevelSentiment_descriptor, + new java.lang.String[] { + "ChannelTag", "SentimentData", + }); + internal_static_google_cloud_contactcenterinsights_v1_IssueAssignment_descriptor = + getDescriptor().getMessageTypes().get(8); + internal_static_google_cloud_contactcenterinsights_v1_IssueAssignment_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_contactcenterinsights_v1_IssueAssignment_descriptor, + new java.lang.String[] { + "Issue", "Score", "DisplayName", + }); + internal_static_google_cloud_contactcenterinsights_v1_CallAnnotation_descriptor = + getDescriptor().getMessageTypes().get(9); + internal_static_google_cloud_contactcenterinsights_v1_CallAnnotation_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_contactcenterinsights_v1_CallAnnotation_descriptor, + new java.lang.String[] { + "InterruptionData", + "SentimentData", + "SilenceData", + "HoldData", + "EntityMentionData", + "IntentMatchData", + "PhraseMatchData", + "IssueMatchData", + "ChannelTag", + "AnnotationStartBoundary", + "AnnotationEndBoundary", + "Data", + }); + internal_static_google_cloud_contactcenterinsights_v1_AnnotationBoundary_descriptor = + getDescriptor().getMessageTypes().get(10); + internal_static_google_cloud_contactcenterinsights_v1_AnnotationBoundary_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_contactcenterinsights_v1_AnnotationBoundary_descriptor, + new java.lang.String[] { + "WordIndex", "TranscriptIndex", "DetailedBoundary", + }); + internal_static_google_cloud_contactcenterinsights_v1_Entity_descriptor = + getDescriptor().getMessageTypes().get(11); + internal_static_google_cloud_contactcenterinsights_v1_Entity_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_contactcenterinsights_v1_Entity_descriptor, + new java.lang.String[] { + "DisplayName", "Type", "Metadata", "Salience", "Sentiment", + }); + internal_static_google_cloud_contactcenterinsights_v1_Entity_MetadataEntry_descriptor = + internal_static_google_cloud_contactcenterinsights_v1_Entity_descriptor + .getNestedTypes() + .get(0); + internal_static_google_cloud_contactcenterinsights_v1_Entity_MetadataEntry_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_contactcenterinsights_v1_Entity_MetadataEntry_descriptor, + new java.lang.String[] { + "Key", "Value", + }); + internal_static_google_cloud_contactcenterinsights_v1_Intent_descriptor = + getDescriptor().getMessageTypes().get(12); + internal_static_google_cloud_contactcenterinsights_v1_Intent_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_contactcenterinsights_v1_Intent_descriptor, + new java.lang.String[] { + "Id", "DisplayName", + }); + internal_static_google_cloud_contactcenterinsights_v1_PhraseMatchData_descriptor = + getDescriptor().getMessageTypes().get(13); + internal_static_google_cloud_contactcenterinsights_v1_PhraseMatchData_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_contactcenterinsights_v1_PhraseMatchData_descriptor, + new java.lang.String[] { + "PhraseMatcher", "DisplayName", + }); + internal_static_google_cloud_contactcenterinsights_v1_DialogflowIntent_descriptor = + getDescriptor().getMessageTypes().get(14); + internal_static_google_cloud_contactcenterinsights_v1_DialogflowIntent_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_contactcenterinsights_v1_DialogflowIntent_descriptor, + new java.lang.String[] { + "DisplayName", + }); + internal_static_google_cloud_contactcenterinsights_v1_InterruptionData_descriptor = + getDescriptor().getMessageTypes().get(15); + internal_static_google_cloud_contactcenterinsights_v1_InterruptionData_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_contactcenterinsights_v1_InterruptionData_descriptor, + new java.lang.String[] {}); + internal_static_google_cloud_contactcenterinsights_v1_SilenceData_descriptor = + getDescriptor().getMessageTypes().get(16); + internal_static_google_cloud_contactcenterinsights_v1_SilenceData_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_contactcenterinsights_v1_SilenceData_descriptor, + new java.lang.String[] {}); + internal_static_google_cloud_contactcenterinsights_v1_HoldData_descriptor = + getDescriptor().getMessageTypes().get(17); + internal_static_google_cloud_contactcenterinsights_v1_HoldData_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_contactcenterinsights_v1_HoldData_descriptor, + new java.lang.String[] {}); + internal_static_google_cloud_contactcenterinsights_v1_EntityMentionData_descriptor = + getDescriptor().getMessageTypes().get(18); + internal_static_google_cloud_contactcenterinsights_v1_EntityMentionData_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_contactcenterinsights_v1_EntityMentionData_descriptor, + new java.lang.String[] { + "EntityUniqueId", "Type", "Sentiment", + }); + internal_static_google_cloud_contactcenterinsights_v1_IntentMatchData_descriptor = + getDescriptor().getMessageTypes().get(19); + internal_static_google_cloud_contactcenterinsights_v1_IntentMatchData_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_contactcenterinsights_v1_IntentMatchData_descriptor, + new java.lang.String[] { + "IntentUniqueId", + }); + internal_static_google_cloud_contactcenterinsights_v1_SentimentData_descriptor = + getDescriptor().getMessageTypes().get(20); + internal_static_google_cloud_contactcenterinsights_v1_SentimentData_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_contactcenterinsights_v1_SentimentData_descriptor, + new java.lang.String[] { + "Magnitude", "Score", + }); + internal_static_google_cloud_contactcenterinsights_v1_IssueMatchData_descriptor = + getDescriptor().getMessageTypes().get(21); + internal_static_google_cloud_contactcenterinsights_v1_IssueMatchData_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_contactcenterinsights_v1_IssueMatchData_descriptor, + new java.lang.String[] { + "IssueAssignment", + }); + internal_static_google_cloud_contactcenterinsights_v1_IssueModel_descriptor = + getDescriptor().getMessageTypes().get(22); + internal_static_google_cloud_contactcenterinsights_v1_IssueModel_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_contactcenterinsights_v1_IssueModel_descriptor, + new java.lang.String[] { + "Name", + "DisplayName", + "CreateTime", + "UpdateTime", + "IssueCount", + "State", + "InputDataConfig", + "TrainingStats", + }); + internal_static_google_cloud_contactcenterinsights_v1_IssueModel_InputDataConfig_descriptor = + internal_static_google_cloud_contactcenterinsights_v1_IssueModel_descriptor + .getNestedTypes() + .get(0); + internal_static_google_cloud_contactcenterinsights_v1_IssueModel_InputDataConfig_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_contactcenterinsights_v1_IssueModel_InputDataConfig_descriptor, + new java.lang.String[] { + "Medium", "TrainingConversationsCount", "Filter", + }); + internal_static_google_cloud_contactcenterinsights_v1_Issue_descriptor = + getDescriptor().getMessageTypes().get(23); + internal_static_google_cloud_contactcenterinsights_v1_Issue_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_contactcenterinsights_v1_Issue_descriptor, + new java.lang.String[] { + "Name", "DisplayName", "CreateTime", "UpdateTime", "SampleUtterances", + }); + internal_static_google_cloud_contactcenterinsights_v1_IssueModelLabelStats_descriptor = + getDescriptor().getMessageTypes().get(24); + internal_static_google_cloud_contactcenterinsights_v1_IssueModelLabelStats_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_contactcenterinsights_v1_IssueModelLabelStats_descriptor, + new java.lang.String[] { + "AnalyzedConversationsCount", "UnclassifiedConversationsCount", "IssueStats", + }); + internal_static_google_cloud_contactcenterinsights_v1_IssueModelLabelStats_IssueStats_descriptor = + internal_static_google_cloud_contactcenterinsights_v1_IssueModelLabelStats_descriptor + .getNestedTypes() + .get(0); + internal_static_google_cloud_contactcenterinsights_v1_IssueModelLabelStats_IssueStats_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_contactcenterinsights_v1_IssueModelLabelStats_IssueStats_descriptor, + new java.lang.String[] { + "Issue", "LabeledConversationsCount", "DisplayName", + }); + internal_static_google_cloud_contactcenterinsights_v1_IssueModelLabelStats_IssueStatsEntry_descriptor = + internal_static_google_cloud_contactcenterinsights_v1_IssueModelLabelStats_descriptor + .getNestedTypes() + .get(1); + internal_static_google_cloud_contactcenterinsights_v1_IssueModelLabelStats_IssueStatsEntry_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_contactcenterinsights_v1_IssueModelLabelStats_IssueStatsEntry_descriptor, + new java.lang.String[] { + "Key", "Value", + }); + internal_static_google_cloud_contactcenterinsights_v1_PhraseMatcher_descriptor = + getDescriptor().getMessageTypes().get(25); + internal_static_google_cloud_contactcenterinsights_v1_PhraseMatcher_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_contactcenterinsights_v1_PhraseMatcher_descriptor, + new java.lang.String[] { + "Name", + "RevisionId", + "VersionTag", + "RevisionCreateTime", + "DisplayName", + "Type", + "Active", + "PhraseMatchRuleGroups", + "ActivationUpdateTime", + "RoleMatch", + "UpdateTime", + }); + internal_static_google_cloud_contactcenterinsights_v1_PhraseMatchRuleGroup_descriptor = + getDescriptor().getMessageTypes().get(26); + internal_static_google_cloud_contactcenterinsights_v1_PhraseMatchRuleGroup_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_contactcenterinsights_v1_PhraseMatchRuleGroup_descriptor, + new java.lang.String[] { + "Type", "PhraseMatchRules", + }); + internal_static_google_cloud_contactcenterinsights_v1_PhraseMatchRule_descriptor = + getDescriptor().getMessageTypes().get(27); + internal_static_google_cloud_contactcenterinsights_v1_PhraseMatchRule_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_contactcenterinsights_v1_PhraseMatchRule_descriptor, + new java.lang.String[] { + "Query", "Negated", "Config", + }); + internal_static_google_cloud_contactcenterinsights_v1_PhraseMatchRuleConfig_descriptor = + getDescriptor().getMessageTypes().get(28); + internal_static_google_cloud_contactcenterinsights_v1_PhraseMatchRuleConfig_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_contactcenterinsights_v1_PhraseMatchRuleConfig_descriptor, + new java.lang.String[] { + "ExactMatchConfig", "Config", + }); + internal_static_google_cloud_contactcenterinsights_v1_ExactMatchConfig_descriptor = + getDescriptor().getMessageTypes().get(29); + internal_static_google_cloud_contactcenterinsights_v1_ExactMatchConfig_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_contactcenterinsights_v1_ExactMatchConfig_descriptor, + new java.lang.String[] { + "CaseSensitive", + }); + internal_static_google_cloud_contactcenterinsights_v1_Settings_descriptor = + getDescriptor().getMessageTypes().get(30); + internal_static_google_cloud_contactcenterinsights_v1_Settings_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_contactcenterinsights_v1_Settings_descriptor, + new java.lang.String[] { + "Name", + "CreateTime", + "UpdateTime", + "LanguageCode", + "ConversationTtl", + "PubsubNotificationSettings", + "AnalysisConfig", + }); + internal_static_google_cloud_contactcenterinsights_v1_Settings_AnalysisConfig_descriptor = + internal_static_google_cloud_contactcenterinsights_v1_Settings_descriptor + .getNestedTypes() + .get(0); + internal_static_google_cloud_contactcenterinsights_v1_Settings_AnalysisConfig_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_contactcenterinsights_v1_Settings_AnalysisConfig_descriptor, + new java.lang.String[] { + "RuntimeIntegrationAnalysisPercentage", "AnnotatorSelector", + }); + internal_static_google_cloud_contactcenterinsights_v1_Settings_PubsubNotificationSettingsEntry_descriptor = + internal_static_google_cloud_contactcenterinsights_v1_Settings_descriptor + .getNestedTypes() + .get(1); + internal_static_google_cloud_contactcenterinsights_v1_Settings_PubsubNotificationSettingsEntry_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_contactcenterinsights_v1_Settings_PubsubNotificationSettingsEntry_descriptor, + new java.lang.String[] { + "Key", "Value", + }); + internal_static_google_cloud_contactcenterinsights_v1_RuntimeAnnotation_descriptor = + getDescriptor().getMessageTypes().get(31); + internal_static_google_cloud_contactcenterinsights_v1_RuntimeAnnotation_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_contactcenterinsights_v1_RuntimeAnnotation_descriptor, + new java.lang.String[] { + "ArticleSuggestion", + "FaqAnswer", + "SmartReply", + "SmartComposeSuggestion", + "DialogflowInteraction", + "AnnotationId", + "CreateTime", + "StartBoundary", + "EndBoundary", + "AnswerFeedback", + "Data", + }); + internal_static_google_cloud_contactcenterinsights_v1_AnswerFeedback_descriptor = + getDescriptor().getMessageTypes().get(32); + internal_static_google_cloud_contactcenterinsights_v1_AnswerFeedback_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_contactcenterinsights_v1_AnswerFeedback_descriptor, + new java.lang.String[] { + "CorrectnessLevel", "Clicked", "Displayed", + }); + internal_static_google_cloud_contactcenterinsights_v1_ArticleSuggestionData_descriptor = + getDescriptor().getMessageTypes().get(33); + internal_static_google_cloud_contactcenterinsights_v1_ArticleSuggestionData_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_contactcenterinsights_v1_ArticleSuggestionData_descriptor, + new java.lang.String[] { + "Title", "Uri", "ConfidenceScore", "Metadata", "QueryRecord", "Source", + }); + internal_static_google_cloud_contactcenterinsights_v1_ArticleSuggestionData_MetadataEntry_descriptor = + internal_static_google_cloud_contactcenterinsights_v1_ArticleSuggestionData_descriptor + .getNestedTypes() + .get(0); + internal_static_google_cloud_contactcenterinsights_v1_ArticleSuggestionData_MetadataEntry_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_contactcenterinsights_v1_ArticleSuggestionData_MetadataEntry_descriptor, + new java.lang.String[] { + "Key", "Value", + }); + internal_static_google_cloud_contactcenterinsights_v1_FaqAnswerData_descriptor = + getDescriptor().getMessageTypes().get(34); + internal_static_google_cloud_contactcenterinsights_v1_FaqAnswerData_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_contactcenterinsights_v1_FaqAnswerData_descriptor, + new java.lang.String[] { + "Answer", "ConfidenceScore", "Question", "Metadata", "QueryRecord", "Source", + }); + internal_static_google_cloud_contactcenterinsights_v1_FaqAnswerData_MetadataEntry_descriptor = + internal_static_google_cloud_contactcenterinsights_v1_FaqAnswerData_descriptor + .getNestedTypes() + .get(0); + internal_static_google_cloud_contactcenterinsights_v1_FaqAnswerData_MetadataEntry_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_contactcenterinsights_v1_FaqAnswerData_MetadataEntry_descriptor, + new java.lang.String[] { + "Key", "Value", + }); + internal_static_google_cloud_contactcenterinsights_v1_SmartReplyData_descriptor = + getDescriptor().getMessageTypes().get(35); + internal_static_google_cloud_contactcenterinsights_v1_SmartReplyData_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_contactcenterinsights_v1_SmartReplyData_descriptor, + new java.lang.String[] { + "Reply", "ConfidenceScore", "Metadata", "QueryRecord", + }); + internal_static_google_cloud_contactcenterinsights_v1_SmartReplyData_MetadataEntry_descriptor = + internal_static_google_cloud_contactcenterinsights_v1_SmartReplyData_descriptor + .getNestedTypes() + .get(0); + internal_static_google_cloud_contactcenterinsights_v1_SmartReplyData_MetadataEntry_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_contactcenterinsights_v1_SmartReplyData_MetadataEntry_descriptor, + new java.lang.String[] { + "Key", "Value", + }); + internal_static_google_cloud_contactcenterinsights_v1_SmartComposeSuggestionData_descriptor = + getDescriptor().getMessageTypes().get(36); + internal_static_google_cloud_contactcenterinsights_v1_SmartComposeSuggestionData_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_contactcenterinsights_v1_SmartComposeSuggestionData_descriptor, + new java.lang.String[] { + "Suggestion", "ConfidenceScore", "Metadata", "QueryRecord", + }); + internal_static_google_cloud_contactcenterinsights_v1_SmartComposeSuggestionData_MetadataEntry_descriptor = + internal_static_google_cloud_contactcenterinsights_v1_SmartComposeSuggestionData_descriptor + .getNestedTypes() + .get(0); + internal_static_google_cloud_contactcenterinsights_v1_SmartComposeSuggestionData_MetadataEntry_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_contactcenterinsights_v1_SmartComposeSuggestionData_MetadataEntry_descriptor, + new java.lang.String[] { + "Key", "Value", + }); + internal_static_google_cloud_contactcenterinsights_v1_DialogflowInteractionData_descriptor = + getDescriptor().getMessageTypes().get(37); + internal_static_google_cloud_contactcenterinsights_v1_DialogflowInteractionData_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_contactcenterinsights_v1_DialogflowInteractionData_descriptor, + new java.lang.String[] { + "DialogflowIntentId", "Confidence", + }); + internal_static_google_cloud_contactcenterinsights_v1_ConversationParticipant_descriptor = + getDescriptor().getMessageTypes().get(38); + internal_static_google_cloud_contactcenterinsights_v1_ConversationParticipant_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_contactcenterinsights_v1_ConversationParticipant_descriptor, + new java.lang.String[] { + "DialogflowParticipantName", + "UserId", + "DialogflowParticipant", + "ObfuscatedExternalUserId", + "Role", + "Participant", + }); + internal_static_google_cloud_contactcenterinsights_v1_View_descriptor = + getDescriptor().getMessageTypes().get(39); + internal_static_google_cloud_contactcenterinsights_v1_View_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_contactcenterinsights_v1_View_descriptor, + new java.lang.String[] { + "Name", "DisplayName", "CreateTime", "UpdateTime", "Value", + }); + internal_static_google_cloud_contactcenterinsights_v1_AnnotatorSelector_descriptor = + getDescriptor().getMessageTypes().get(40); + internal_static_google_cloud_contactcenterinsights_v1_AnnotatorSelector_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_contactcenterinsights_v1_AnnotatorSelector_descriptor, + new java.lang.String[] { + "RunInterruptionAnnotator", + "RunSilenceAnnotator", + "RunPhraseMatcherAnnotator", + "PhraseMatchers", + "RunSentimentAnnotator", + "RunEntityAnnotator", + "RunIntentAnnotator", + "RunIssueModelAnnotator", + "IssueModels", + }); + com.google.protobuf.ExtensionRegistry registry = + com.google.protobuf.ExtensionRegistry.newInstance(); + registry.add(com.google.api.FieldBehaviorProto.fieldBehavior); + registry.add(com.google.api.ResourceProto.resource); + registry.add(com.google.api.ResourceProto.resourceDefinition); + registry.add(com.google.api.ResourceProto.resourceReference); + com.google.protobuf.Descriptors.FileDescriptor.internalUpdateFileDescriptor( + descriptor, registry); + com.google.api.FieldBehaviorProto.getDescriptor(); + com.google.api.ResourceProto.getDescriptor(); + com.google.protobuf.DurationProto.getDescriptor(); + com.google.protobuf.TimestampProto.getDescriptor(); + } + + // @@protoc_insertion_point(outer_class_scope) +} diff --git a/owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/RuntimeAnnotation.java b/java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/RuntimeAnnotation.java similarity index 67% rename from owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/RuntimeAnnotation.java rename to java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/RuntimeAnnotation.java index c8c93faf74dd..f35c90f67013 100644 --- a/owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/RuntimeAnnotation.java +++ b/java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/RuntimeAnnotation.java @@ -1,57 +1,78 @@ +/* + * 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. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/contactcenterinsights/v1/resources.proto package com.google.cloud.contactcenterinsights.v1; /** + * + * *
  * An annotation that was generated during the customer and agent interaction.
  * 
* * Protobuf type {@code google.cloud.contactcenterinsights.v1.RuntimeAnnotation} */ -public final class RuntimeAnnotation extends - com.google.protobuf.GeneratedMessageV3 implements +public final class RuntimeAnnotation extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.contactcenterinsights.v1.RuntimeAnnotation) RuntimeAnnotationOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use RuntimeAnnotation.newBuilder() to construct. private RuntimeAnnotation(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private RuntimeAnnotation() { annotationId_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new RuntimeAnnotation(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.contactcenterinsights.v1.ResourcesProto.internal_static_google_cloud_contactcenterinsights_v1_RuntimeAnnotation_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.contactcenterinsights.v1.ResourcesProto + .internal_static_google_cloud_contactcenterinsights_v1_RuntimeAnnotation_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.contactcenterinsights.v1.ResourcesProto.internal_static_google_cloud_contactcenterinsights_v1_RuntimeAnnotation_fieldAccessorTable + return com.google.cloud.contactcenterinsights.v1.ResourcesProto + .internal_static_google_cloud_contactcenterinsights_v1_RuntimeAnnotation_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.contactcenterinsights.v1.RuntimeAnnotation.class, com.google.cloud.contactcenterinsights.v1.RuntimeAnnotation.Builder.class); + com.google.cloud.contactcenterinsights.v1.RuntimeAnnotation.class, + com.google.cloud.contactcenterinsights.v1.RuntimeAnnotation.Builder.class); } private int dataCase_ = 0; private java.lang.Object data_; + public enum DataCase - implements com.google.protobuf.Internal.EnumLite, + implements + com.google.protobuf.Internal.EnumLite, com.google.protobuf.AbstractMessage.InternalOneOfEnum { ARTICLE_SUGGESTION(6), FAQ_ANSWER(7), @@ -60,6 +81,7 @@ public enum DataCase DIALOGFLOW_INTERACTION(10), DATA_NOT_SET(0); private final int value; + private DataCase(int value) { this.value = value; } @@ -75,33 +97,43 @@ public static DataCase valueOf(int value) { public static DataCase forNumber(int value) { switch (value) { - case 6: return ARTICLE_SUGGESTION; - case 7: return FAQ_ANSWER; - case 8: return SMART_REPLY; - case 9: return SMART_COMPOSE_SUGGESTION; - case 10: return DIALOGFLOW_INTERACTION; - case 0: return DATA_NOT_SET; - default: return null; + case 6: + return ARTICLE_SUGGESTION; + case 7: + return FAQ_ANSWER; + case 8: + return SMART_REPLY; + case 9: + return SMART_COMPOSE_SUGGESTION; + case 10: + return DIALOGFLOW_INTERACTION; + case 0: + return DATA_NOT_SET; + default: + return null; } } + public int getNumber() { return this.value; } }; - public DataCase - getDataCase() { - return DataCase.forNumber( - dataCase_); + public DataCase getDataCase() { + return DataCase.forNumber(dataCase_); } public static final int ARTICLE_SUGGESTION_FIELD_NUMBER = 6; /** + * + * *
    * Agent Assist Article Suggestion data.
    * 
* - * .google.cloud.contactcenterinsights.v1.ArticleSuggestionData article_suggestion = 6; + * .google.cloud.contactcenterinsights.v1.ArticleSuggestionData article_suggestion = 6; + * + * * @return Whether the articleSuggestion field is set. */ @java.lang.Override @@ -109,42 +141,53 @@ public boolean hasArticleSuggestion() { return dataCase_ == 6; } /** + * + * *
    * Agent Assist Article Suggestion data.
    * 
* - * .google.cloud.contactcenterinsights.v1.ArticleSuggestionData article_suggestion = 6; + * .google.cloud.contactcenterinsights.v1.ArticleSuggestionData article_suggestion = 6; + * + * * @return The articleSuggestion. */ @java.lang.Override public com.google.cloud.contactcenterinsights.v1.ArticleSuggestionData getArticleSuggestion() { if (dataCase_ == 6) { - return (com.google.cloud.contactcenterinsights.v1.ArticleSuggestionData) data_; + return (com.google.cloud.contactcenterinsights.v1.ArticleSuggestionData) data_; } return com.google.cloud.contactcenterinsights.v1.ArticleSuggestionData.getDefaultInstance(); } /** + * + * *
    * Agent Assist Article Suggestion data.
    * 
* - * .google.cloud.contactcenterinsights.v1.ArticleSuggestionData article_suggestion = 6; + * .google.cloud.contactcenterinsights.v1.ArticleSuggestionData article_suggestion = 6; + * */ @java.lang.Override - public com.google.cloud.contactcenterinsights.v1.ArticleSuggestionDataOrBuilder getArticleSuggestionOrBuilder() { + public com.google.cloud.contactcenterinsights.v1.ArticleSuggestionDataOrBuilder + getArticleSuggestionOrBuilder() { if (dataCase_ == 6) { - return (com.google.cloud.contactcenterinsights.v1.ArticleSuggestionData) data_; + return (com.google.cloud.contactcenterinsights.v1.ArticleSuggestionData) data_; } return com.google.cloud.contactcenterinsights.v1.ArticleSuggestionData.getDefaultInstance(); } public static final int FAQ_ANSWER_FIELD_NUMBER = 7; /** + * + * *
    * Agent Assist FAQ answer data.
    * 
* * .google.cloud.contactcenterinsights.v1.FaqAnswerData faq_answer = 7; + * * @return Whether the faqAnswer field is set. */ @java.lang.Override @@ -152,21 +195,26 @@ public boolean hasFaqAnswer() { return dataCase_ == 7; } /** + * + * *
    * Agent Assist FAQ answer data.
    * 
* * .google.cloud.contactcenterinsights.v1.FaqAnswerData faq_answer = 7; + * * @return The faqAnswer. */ @java.lang.Override public com.google.cloud.contactcenterinsights.v1.FaqAnswerData getFaqAnswer() { if (dataCase_ == 7) { - return (com.google.cloud.contactcenterinsights.v1.FaqAnswerData) data_; + return (com.google.cloud.contactcenterinsights.v1.FaqAnswerData) data_; } return com.google.cloud.contactcenterinsights.v1.FaqAnswerData.getDefaultInstance(); } /** + * + * *
    * Agent Assist FAQ answer data.
    * 
@@ -176,18 +224,21 @@ public com.google.cloud.contactcenterinsights.v1.FaqAnswerData getFaqAnswer() { @java.lang.Override public com.google.cloud.contactcenterinsights.v1.FaqAnswerDataOrBuilder getFaqAnswerOrBuilder() { if (dataCase_ == 7) { - return (com.google.cloud.contactcenterinsights.v1.FaqAnswerData) data_; + return (com.google.cloud.contactcenterinsights.v1.FaqAnswerData) data_; } return com.google.cloud.contactcenterinsights.v1.FaqAnswerData.getDefaultInstance(); } public static final int SMART_REPLY_FIELD_NUMBER = 8; /** + * + * *
    * Agent Assist Smart Reply data.
    * 
* * .google.cloud.contactcenterinsights.v1.SmartReplyData smart_reply = 8; + * * @return Whether the smartReply field is set. */ @java.lang.Override @@ -195,21 +246,26 @@ public boolean hasSmartReply() { return dataCase_ == 8; } /** + * + * *
    * Agent Assist Smart Reply data.
    * 
* * .google.cloud.contactcenterinsights.v1.SmartReplyData smart_reply = 8; + * * @return The smartReply. */ @java.lang.Override public com.google.cloud.contactcenterinsights.v1.SmartReplyData getSmartReply() { if (dataCase_ == 8) { - return (com.google.cloud.contactcenterinsights.v1.SmartReplyData) data_; + return (com.google.cloud.contactcenterinsights.v1.SmartReplyData) data_; } return com.google.cloud.contactcenterinsights.v1.SmartReplyData.getDefaultInstance(); } /** + * + * *
    * Agent Assist Smart Reply data.
    * 
@@ -217,20 +273,26 @@ public com.google.cloud.contactcenterinsights.v1.SmartReplyData getSmartReply() * .google.cloud.contactcenterinsights.v1.SmartReplyData smart_reply = 8; */ @java.lang.Override - public com.google.cloud.contactcenterinsights.v1.SmartReplyDataOrBuilder getSmartReplyOrBuilder() { + public com.google.cloud.contactcenterinsights.v1.SmartReplyDataOrBuilder + getSmartReplyOrBuilder() { if (dataCase_ == 8) { - return (com.google.cloud.contactcenterinsights.v1.SmartReplyData) data_; + return (com.google.cloud.contactcenterinsights.v1.SmartReplyData) data_; } return com.google.cloud.contactcenterinsights.v1.SmartReplyData.getDefaultInstance(); } public static final int SMART_COMPOSE_SUGGESTION_FIELD_NUMBER = 9; /** + * + * *
    * Agent Assist Smart Compose suggestion data.
    * 
* - * .google.cloud.contactcenterinsights.v1.SmartComposeSuggestionData smart_compose_suggestion = 9; + * + * .google.cloud.contactcenterinsights.v1.SmartComposeSuggestionData smart_compose_suggestion = 9; + * + * * @return Whether the smartComposeSuggestion field is set. */ @java.lang.Override @@ -238,42 +300,60 @@ public boolean hasSmartComposeSuggestion() { return dataCase_ == 9; } /** + * + * *
    * Agent Assist Smart Compose suggestion data.
    * 
* - * .google.cloud.contactcenterinsights.v1.SmartComposeSuggestionData smart_compose_suggestion = 9; + * + * .google.cloud.contactcenterinsights.v1.SmartComposeSuggestionData smart_compose_suggestion = 9; + * + * * @return The smartComposeSuggestion. */ @java.lang.Override - public com.google.cloud.contactcenterinsights.v1.SmartComposeSuggestionData getSmartComposeSuggestion() { + public com.google.cloud.contactcenterinsights.v1.SmartComposeSuggestionData + getSmartComposeSuggestion() { if (dataCase_ == 9) { - return (com.google.cloud.contactcenterinsights.v1.SmartComposeSuggestionData) data_; + return (com.google.cloud.contactcenterinsights.v1.SmartComposeSuggestionData) data_; } - return com.google.cloud.contactcenterinsights.v1.SmartComposeSuggestionData.getDefaultInstance(); + return com.google.cloud.contactcenterinsights.v1.SmartComposeSuggestionData + .getDefaultInstance(); } /** + * + * *
    * Agent Assist Smart Compose suggestion data.
    * 
* - * .google.cloud.contactcenterinsights.v1.SmartComposeSuggestionData smart_compose_suggestion = 9; + * + * .google.cloud.contactcenterinsights.v1.SmartComposeSuggestionData smart_compose_suggestion = 9; + * */ @java.lang.Override - public com.google.cloud.contactcenterinsights.v1.SmartComposeSuggestionDataOrBuilder getSmartComposeSuggestionOrBuilder() { + public com.google.cloud.contactcenterinsights.v1.SmartComposeSuggestionDataOrBuilder + getSmartComposeSuggestionOrBuilder() { if (dataCase_ == 9) { - return (com.google.cloud.contactcenterinsights.v1.SmartComposeSuggestionData) data_; + return (com.google.cloud.contactcenterinsights.v1.SmartComposeSuggestionData) data_; } - return com.google.cloud.contactcenterinsights.v1.SmartComposeSuggestionData.getDefaultInstance(); + return com.google.cloud.contactcenterinsights.v1.SmartComposeSuggestionData + .getDefaultInstance(); } public static final int DIALOGFLOW_INTERACTION_FIELD_NUMBER = 10; /** + * + * *
    * Dialogflow interaction data.
    * 
* - * .google.cloud.contactcenterinsights.v1.DialogflowInteractionData dialogflow_interaction = 10; + * + * .google.cloud.contactcenterinsights.v1.DialogflowInteractionData dialogflow_interaction = 10; + * + * * @return Whether the dialogflowInteraction field is set. */ @java.lang.Override @@ -281,39 +361,53 @@ public boolean hasDialogflowInteraction() { return dataCase_ == 10; } /** + * + * *
    * Dialogflow interaction data.
    * 
* - * .google.cloud.contactcenterinsights.v1.DialogflowInteractionData dialogflow_interaction = 10; + * + * .google.cloud.contactcenterinsights.v1.DialogflowInteractionData dialogflow_interaction = 10; + * + * * @return The dialogflowInteraction. */ @java.lang.Override - public com.google.cloud.contactcenterinsights.v1.DialogflowInteractionData getDialogflowInteraction() { + public com.google.cloud.contactcenterinsights.v1.DialogflowInteractionData + getDialogflowInteraction() { if (dataCase_ == 10) { - return (com.google.cloud.contactcenterinsights.v1.DialogflowInteractionData) data_; + return (com.google.cloud.contactcenterinsights.v1.DialogflowInteractionData) data_; } return com.google.cloud.contactcenterinsights.v1.DialogflowInteractionData.getDefaultInstance(); } /** + * + * *
    * Dialogflow interaction data.
    * 
* - * .google.cloud.contactcenterinsights.v1.DialogflowInteractionData dialogflow_interaction = 10; + * + * .google.cloud.contactcenterinsights.v1.DialogflowInteractionData dialogflow_interaction = 10; + * */ @java.lang.Override - public com.google.cloud.contactcenterinsights.v1.DialogflowInteractionDataOrBuilder getDialogflowInteractionOrBuilder() { + public com.google.cloud.contactcenterinsights.v1.DialogflowInteractionDataOrBuilder + getDialogflowInteractionOrBuilder() { if (dataCase_ == 10) { - return (com.google.cloud.contactcenterinsights.v1.DialogflowInteractionData) data_; + return (com.google.cloud.contactcenterinsights.v1.DialogflowInteractionData) data_; } return com.google.cloud.contactcenterinsights.v1.DialogflowInteractionData.getDefaultInstance(); } public static final int ANNOTATION_ID_FIELD_NUMBER = 1; + @SuppressWarnings("serial") private volatile java.lang.Object annotationId_ = ""; /** + * + * *
    * The unique identifier of the annotation.
    * Format:
@@ -321,6 +415,7 @@ public com.google.cloud.contactcenterinsights.v1.DialogflowInteractionDataOrBuil
    * 
* * string annotation_id = 1; + * * @return The annotationId. */ @java.lang.Override @@ -329,14 +424,15 @@ public java.lang.String getAnnotationId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); annotationId_ = s; return s; } } /** + * + * *
    * The unique identifier of the annotation.
    * Format:
@@ -344,16 +440,15 @@ public java.lang.String getAnnotationId() {
    * 
* * string annotation_id = 1; + * * @return The bytes for annotationId. */ @java.lang.Override - public com.google.protobuf.ByteString - getAnnotationIdBytes() { + public com.google.protobuf.ByteString getAnnotationIdBytes() { java.lang.Object ref = annotationId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); annotationId_ = b; return b; } else { @@ -364,11 +459,14 @@ public java.lang.String getAnnotationId() { public static final int CREATE_TIME_FIELD_NUMBER = 2; private com.google.protobuf.Timestamp createTime_; /** + * + * *
    * The time at which this annotation was created.
    * 
* * .google.protobuf.Timestamp create_time = 2; + * * @return Whether the createTime field is set. */ @java.lang.Override @@ -376,11 +474,14 @@ public boolean hasCreateTime() { return createTime_ != null; } /** + * + * *
    * The time at which this annotation was created.
    * 
* * .google.protobuf.Timestamp create_time = 2; + * * @return The createTime. */ @java.lang.Override @@ -388,6 +489,8 @@ public com.google.protobuf.Timestamp getCreateTime() { return createTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : createTime_; } /** + * + * *
    * The time at which this annotation was created.
    * 
@@ -402,11 +505,14 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { public static final int START_BOUNDARY_FIELD_NUMBER = 3; private com.google.cloud.contactcenterinsights.v1.AnnotationBoundary startBoundary_; /** + * + * *
    * The boundary in the conversation where the annotation starts, inclusive.
    * 
* * .google.cloud.contactcenterinsights.v1.AnnotationBoundary start_boundary = 3; + * * @return Whether the startBoundary field is set. */ @java.lang.Override @@ -414,18 +520,25 @@ public boolean hasStartBoundary() { return startBoundary_ != null; } /** + * + * *
    * The boundary in the conversation where the annotation starts, inclusive.
    * 
* * .google.cloud.contactcenterinsights.v1.AnnotationBoundary start_boundary = 3; + * * @return The startBoundary. */ @java.lang.Override public com.google.cloud.contactcenterinsights.v1.AnnotationBoundary getStartBoundary() { - return startBoundary_ == null ? com.google.cloud.contactcenterinsights.v1.AnnotationBoundary.getDefaultInstance() : startBoundary_; + return startBoundary_ == null + ? com.google.cloud.contactcenterinsights.v1.AnnotationBoundary.getDefaultInstance() + : startBoundary_; } /** + * + * *
    * The boundary in the conversation where the annotation starts, inclusive.
    * 
@@ -433,18 +546,24 @@ public com.google.cloud.contactcenterinsights.v1.AnnotationBoundary getStartBoun * .google.cloud.contactcenterinsights.v1.AnnotationBoundary start_boundary = 3; */ @java.lang.Override - public com.google.cloud.contactcenterinsights.v1.AnnotationBoundaryOrBuilder getStartBoundaryOrBuilder() { - return startBoundary_ == null ? com.google.cloud.contactcenterinsights.v1.AnnotationBoundary.getDefaultInstance() : startBoundary_; + public com.google.cloud.contactcenterinsights.v1.AnnotationBoundaryOrBuilder + getStartBoundaryOrBuilder() { + return startBoundary_ == null + ? com.google.cloud.contactcenterinsights.v1.AnnotationBoundary.getDefaultInstance() + : startBoundary_; } public static final int END_BOUNDARY_FIELD_NUMBER = 4; private com.google.cloud.contactcenterinsights.v1.AnnotationBoundary endBoundary_; /** + * + * *
    * The boundary in the conversation where the annotation ends, inclusive.
    * 
* * .google.cloud.contactcenterinsights.v1.AnnotationBoundary end_boundary = 4; + * * @return Whether the endBoundary field is set. */ @java.lang.Override @@ -452,18 +571,25 @@ public boolean hasEndBoundary() { return endBoundary_ != null; } /** + * + * *
    * The boundary in the conversation where the annotation ends, inclusive.
    * 
* * .google.cloud.contactcenterinsights.v1.AnnotationBoundary end_boundary = 4; + * * @return The endBoundary. */ @java.lang.Override public com.google.cloud.contactcenterinsights.v1.AnnotationBoundary getEndBoundary() { - return endBoundary_ == null ? com.google.cloud.contactcenterinsights.v1.AnnotationBoundary.getDefaultInstance() : endBoundary_; + return endBoundary_ == null + ? com.google.cloud.contactcenterinsights.v1.AnnotationBoundary.getDefaultInstance() + : endBoundary_; } /** + * + * *
    * The boundary in the conversation where the annotation ends, inclusive.
    * 
@@ -471,18 +597,24 @@ public com.google.cloud.contactcenterinsights.v1.AnnotationBoundary getEndBounda * .google.cloud.contactcenterinsights.v1.AnnotationBoundary end_boundary = 4; */ @java.lang.Override - public com.google.cloud.contactcenterinsights.v1.AnnotationBoundaryOrBuilder getEndBoundaryOrBuilder() { - return endBoundary_ == null ? com.google.cloud.contactcenterinsights.v1.AnnotationBoundary.getDefaultInstance() : endBoundary_; + public com.google.cloud.contactcenterinsights.v1.AnnotationBoundaryOrBuilder + getEndBoundaryOrBuilder() { + return endBoundary_ == null + ? com.google.cloud.contactcenterinsights.v1.AnnotationBoundary.getDefaultInstance() + : endBoundary_; } public static final int ANSWER_FEEDBACK_FIELD_NUMBER = 5; private com.google.cloud.contactcenterinsights.v1.AnswerFeedback answerFeedback_; /** + * + * *
    * The feedback that the customer has about the answer in `data`.
    * 
* * .google.cloud.contactcenterinsights.v1.AnswerFeedback answer_feedback = 5; + * * @return Whether the answerFeedback field is set. */ @java.lang.Override @@ -490,18 +622,25 @@ public boolean hasAnswerFeedback() { return answerFeedback_ != null; } /** + * + * *
    * The feedback that the customer has about the answer in `data`.
    * 
* * .google.cloud.contactcenterinsights.v1.AnswerFeedback answer_feedback = 5; + * * @return The answerFeedback. */ @java.lang.Override public com.google.cloud.contactcenterinsights.v1.AnswerFeedback getAnswerFeedback() { - return answerFeedback_ == null ? com.google.cloud.contactcenterinsights.v1.AnswerFeedback.getDefaultInstance() : answerFeedback_; + return answerFeedback_ == null + ? com.google.cloud.contactcenterinsights.v1.AnswerFeedback.getDefaultInstance() + : answerFeedback_; } /** + * + * *
    * The feedback that the customer has about the answer in `data`.
    * 
@@ -509,11 +648,15 @@ public com.google.cloud.contactcenterinsights.v1.AnswerFeedback getAnswerFeedbac * .google.cloud.contactcenterinsights.v1.AnswerFeedback answer_feedback = 5; */ @java.lang.Override - public com.google.cloud.contactcenterinsights.v1.AnswerFeedbackOrBuilder getAnswerFeedbackOrBuilder() { - return answerFeedback_ == null ? com.google.cloud.contactcenterinsights.v1.AnswerFeedback.getDefaultInstance() : answerFeedback_; + public com.google.cloud.contactcenterinsights.v1.AnswerFeedbackOrBuilder + getAnswerFeedbackOrBuilder() { + return answerFeedback_ == null + ? com.google.cloud.contactcenterinsights.v1.AnswerFeedback.getDefaultInstance() + : answerFeedback_; } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -525,8 +668,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(annotationId_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, annotationId_); } @@ -543,7 +685,8 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) output.writeMessage(5, getAnswerFeedback()); } if (dataCase_ == 6) { - output.writeMessage(6, (com.google.cloud.contactcenterinsights.v1.ArticleSuggestionData) data_); + output.writeMessage( + 6, (com.google.cloud.contactcenterinsights.v1.ArticleSuggestionData) data_); } if (dataCase_ == 7) { output.writeMessage(7, (com.google.cloud.contactcenterinsights.v1.FaqAnswerData) data_); @@ -552,10 +695,12 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) output.writeMessage(8, (com.google.cloud.contactcenterinsights.v1.SmartReplyData) data_); } if (dataCase_ == 9) { - output.writeMessage(9, (com.google.cloud.contactcenterinsights.v1.SmartComposeSuggestionData) data_); + output.writeMessage( + 9, (com.google.cloud.contactcenterinsights.v1.SmartComposeSuggestionData) data_); } if (dataCase_ == 10) { - output.writeMessage(10, (com.google.cloud.contactcenterinsights.v1.DialogflowInteractionData) data_); + output.writeMessage( + 10, (com.google.cloud.contactcenterinsights.v1.DialogflowInteractionData) data_); } getUnknownFields().writeTo(output); } @@ -570,40 +715,41 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, annotationId_); } if (createTime_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, getCreateTime()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getCreateTime()); } if (startBoundary_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(3, getStartBoundary()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getStartBoundary()); } if (endBoundary_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(4, getEndBoundary()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(4, getEndBoundary()); } if (answerFeedback_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(5, getAnswerFeedback()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(5, getAnswerFeedback()); } if (dataCase_ == 6) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(6, (com.google.cloud.contactcenterinsights.v1.ArticleSuggestionData) data_); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 6, (com.google.cloud.contactcenterinsights.v1.ArticleSuggestionData) data_); } if (dataCase_ == 7) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(7, (com.google.cloud.contactcenterinsights.v1.FaqAnswerData) data_); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 7, (com.google.cloud.contactcenterinsights.v1.FaqAnswerData) data_); } if (dataCase_ == 8) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(8, (com.google.cloud.contactcenterinsights.v1.SmartReplyData) data_); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 8, (com.google.cloud.contactcenterinsights.v1.SmartReplyData) data_); } if (dataCase_ == 9) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(9, (com.google.cloud.contactcenterinsights.v1.SmartComposeSuggestionData) data_); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 9, (com.google.cloud.contactcenterinsights.v1.SmartComposeSuggestionData) data_); } if (dataCase_ == 10) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(10, (com.google.cloud.contactcenterinsights.v1.DialogflowInteractionData) data_); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 10, (com.google.cloud.contactcenterinsights.v1.DialogflowInteractionData) data_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -613,56 +759,47 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.contactcenterinsights.v1.RuntimeAnnotation)) { return super.equals(obj); } - com.google.cloud.contactcenterinsights.v1.RuntimeAnnotation other = (com.google.cloud.contactcenterinsights.v1.RuntimeAnnotation) obj; + com.google.cloud.contactcenterinsights.v1.RuntimeAnnotation other = + (com.google.cloud.contactcenterinsights.v1.RuntimeAnnotation) obj; - if (!getAnnotationId() - .equals(other.getAnnotationId())) return false; + if (!getAnnotationId().equals(other.getAnnotationId())) return false; if (hasCreateTime() != other.hasCreateTime()) return false; if (hasCreateTime()) { - if (!getCreateTime() - .equals(other.getCreateTime())) return false; + if (!getCreateTime().equals(other.getCreateTime())) return false; } if (hasStartBoundary() != other.hasStartBoundary()) return false; if (hasStartBoundary()) { - if (!getStartBoundary() - .equals(other.getStartBoundary())) return false; + if (!getStartBoundary().equals(other.getStartBoundary())) return false; } if (hasEndBoundary() != other.hasEndBoundary()) return false; if (hasEndBoundary()) { - if (!getEndBoundary() - .equals(other.getEndBoundary())) return false; + if (!getEndBoundary().equals(other.getEndBoundary())) return false; } if (hasAnswerFeedback() != other.hasAnswerFeedback()) return false; if (hasAnswerFeedback()) { - if (!getAnswerFeedback() - .equals(other.getAnswerFeedback())) return false; + if (!getAnswerFeedback().equals(other.getAnswerFeedback())) return false; } if (!getDataCase().equals(other.getDataCase())) return false; switch (dataCase_) { case 6: - if (!getArticleSuggestion() - .equals(other.getArticleSuggestion())) return false; + if (!getArticleSuggestion().equals(other.getArticleSuggestion())) return false; break; case 7: - if (!getFaqAnswer() - .equals(other.getFaqAnswer())) return false; + if (!getFaqAnswer().equals(other.getFaqAnswer())) return false; break; case 8: - if (!getSmartReply() - .equals(other.getSmartReply())) return false; + if (!getSmartReply().equals(other.getSmartReply())) return false; break; case 9: - if (!getSmartComposeSuggestion() - .equals(other.getSmartComposeSuggestion())) return false; + if (!getSmartComposeSuggestion().equals(other.getSmartComposeSuggestion())) return false; break; case 10: - if (!getDialogflowInteraction() - .equals(other.getDialogflowInteraction())) return false; + if (!getDialogflowInteraction().equals(other.getDialogflowInteraction())) return false; break; case 0: default: @@ -726,129 +863,136 @@ public int hashCode() { } public static com.google.cloud.contactcenterinsights.v1.RuntimeAnnotation parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.contactcenterinsights.v1.RuntimeAnnotation parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.contactcenterinsights.v1.RuntimeAnnotation parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.contactcenterinsights.v1.RuntimeAnnotation parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.contactcenterinsights.v1.RuntimeAnnotation parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.contactcenterinsights.v1.RuntimeAnnotation parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.contactcenterinsights.v1.RuntimeAnnotation parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.contactcenterinsights.v1.RuntimeAnnotation parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.contactcenterinsights.v1.RuntimeAnnotation parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.contactcenterinsights.v1.RuntimeAnnotation parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.contactcenterinsights.v1.RuntimeAnnotation parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.contactcenterinsights.v1.RuntimeAnnotation parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.contactcenterinsights.v1.RuntimeAnnotation parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.contactcenterinsights.v1.RuntimeAnnotation parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.contactcenterinsights.v1.RuntimeAnnotation prototype) { + + public static Builder newBuilder( + com.google.cloud.contactcenterinsights.v1.RuntimeAnnotation prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * An annotation that was generated during the customer and agent interaction.
    * 
* * Protobuf type {@code google.cloud.contactcenterinsights.v1.RuntimeAnnotation} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.contactcenterinsights.v1.RuntimeAnnotation) com.google.cloud.contactcenterinsights.v1.RuntimeAnnotationOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.contactcenterinsights.v1.ResourcesProto.internal_static_google_cloud_contactcenterinsights_v1_RuntimeAnnotation_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.contactcenterinsights.v1.ResourcesProto + .internal_static_google_cloud_contactcenterinsights_v1_RuntimeAnnotation_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.contactcenterinsights.v1.ResourcesProto.internal_static_google_cloud_contactcenterinsights_v1_RuntimeAnnotation_fieldAccessorTable + return com.google.cloud.contactcenterinsights.v1.ResourcesProto + .internal_static_google_cloud_contactcenterinsights_v1_RuntimeAnnotation_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.contactcenterinsights.v1.RuntimeAnnotation.class, com.google.cloud.contactcenterinsights.v1.RuntimeAnnotation.Builder.class); + com.google.cloud.contactcenterinsights.v1.RuntimeAnnotation.class, + com.google.cloud.contactcenterinsights.v1.RuntimeAnnotation.Builder.class); } // Construct using com.google.cloud.contactcenterinsights.v1.RuntimeAnnotation.newBuilder() - private Builder() { - - } + private Builder() {} - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -895,9 +1039,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.contactcenterinsights.v1.ResourcesProto.internal_static_google_cloud_contactcenterinsights_v1_RuntimeAnnotation_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.contactcenterinsights.v1.ResourcesProto + .internal_static_google_cloud_contactcenterinsights_v1_RuntimeAnnotation_descriptor; } @java.lang.Override @@ -916,8 +1060,11 @@ public com.google.cloud.contactcenterinsights.v1.RuntimeAnnotation build() { @java.lang.Override public com.google.cloud.contactcenterinsights.v1.RuntimeAnnotation buildPartial() { - com.google.cloud.contactcenterinsights.v1.RuntimeAnnotation result = new com.google.cloud.contactcenterinsights.v1.RuntimeAnnotation(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.cloud.contactcenterinsights.v1.RuntimeAnnotation result = + new com.google.cloud.contactcenterinsights.v1.RuntimeAnnotation(this); + if (bitField0_ != 0) { + buildPartial0(result); + } buildPartialOneofs(result); onBuilt(); return result; @@ -929,48 +1076,39 @@ private void buildPartial0(com.google.cloud.contactcenterinsights.v1.RuntimeAnno result.annotationId_ = annotationId_; } if (((from_bitField0_ & 0x00000040) != 0)) { - result.createTime_ = createTimeBuilder_ == null - ? createTime_ - : createTimeBuilder_.build(); + result.createTime_ = createTimeBuilder_ == null ? createTime_ : createTimeBuilder_.build(); } if (((from_bitField0_ & 0x00000080) != 0)) { - result.startBoundary_ = startBoundaryBuilder_ == null - ? startBoundary_ - : startBoundaryBuilder_.build(); + result.startBoundary_ = + startBoundaryBuilder_ == null ? startBoundary_ : startBoundaryBuilder_.build(); } if (((from_bitField0_ & 0x00000100) != 0)) { - result.endBoundary_ = endBoundaryBuilder_ == null - ? endBoundary_ - : endBoundaryBuilder_.build(); + result.endBoundary_ = + endBoundaryBuilder_ == null ? endBoundary_ : endBoundaryBuilder_.build(); } if (((from_bitField0_ & 0x00000200) != 0)) { - result.answerFeedback_ = answerFeedbackBuilder_ == null - ? answerFeedback_ - : answerFeedbackBuilder_.build(); + result.answerFeedback_ = + answerFeedbackBuilder_ == null ? answerFeedback_ : answerFeedbackBuilder_.build(); } } - private void buildPartialOneofs(com.google.cloud.contactcenterinsights.v1.RuntimeAnnotation result) { + private void buildPartialOneofs( + com.google.cloud.contactcenterinsights.v1.RuntimeAnnotation result) { result.dataCase_ = dataCase_; result.data_ = this.data_; - if (dataCase_ == 6 && - articleSuggestionBuilder_ != null) { + if (dataCase_ == 6 && articleSuggestionBuilder_ != null) { result.data_ = articleSuggestionBuilder_.build(); } - if (dataCase_ == 7 && - faqAnswerBuilder_ != null) { + if (dataCase_ == 7 && faqAnswerBuilder_ != null) { result.data_ = faqAnswerBuilder_.build(); } - if (dataCase_ == 8 && - smartReplyBuilder_ != null) { + if (dataCase_ == 8 && smartReplyBuilder_ != null) { result.data_ = smartReplyBuilder_.build(); } - if (dataCase_ == 9 && - smartComposeSuggestionBuilder_ != null) { + if (dataCase_ == 9 && smartComposeSuggestionBuilder_ != null) { result.data_ = smartComposeSuggestionBuilder_.build(); } - if (dataCase_ == 10 && - dialogflowInteractionBuilder_ != null) { + if (dataCase_ == 10 && dialogflowInteractionBuilder_ != null) { result.data_ = dialogflowInteractionBuilder_.build(); } } @@ -979,38 +1117,39 @@ private void buildPartialOneofs(com.google.cloud.contactcenterinsights.v1.Runtim public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.contactcenterinsights.v1.RuntimeAnnotation) { - return mergeFrom((com.google.cloud.contactcenterinsights.v1.RuntimeAnnotation)other); + return mergeFrom((com.google.cloud.contactcenterinsights.v1.RuntimeAnnotation) other); } else { super.mergeFrom(other); return this; @@ -1018,7 +1157,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.contactcenterinsights.v1.RuntimeAnnotation other) { - if (other == com.google.cloud.contactcenterinsights.v1.RuntimeAnnotation.getDefaultInstance()) return this; + if (other == com.google.cloud.contactcenterinsights.v1.RuntimeAnnotation.getDefaultInstance()) + return this; if (!other.getAnnotationId().isEmpty()) { annotationId_ = other.annotationId_; bitField0_ |= 0x00000020; @@ -1037,29 +1177,35 @@ public Builder mergeFrom(com.google.cloud.contactcenterinsights.v1.RuntimeAnnota mergeAnswerFeedback(other.getAnswerFeedback()); } switch (other.getDataCase()) { - case ARTICLE_SUGGESTION: { - mergeArticleSuggestion(other.getArticleSuggestion()); - break; - } - case FAQ_ANSWER: { - mergeFaqAnswer(other.getFaqAnswer()); - break; - } - case SMART_REPLY: { - mergeSmartReply(other.getSmartReply()); - break; - } - case SMART_COMPOSE_SUGGESTION: { - mergeSmartComposeSuggestion(other.getSmartComposeSuggestion()); - break; - } - case DIALOGFLOW_INTERACTION: { - mergeDialogflowInteraction(other.getDialogflowInteraction()); - break; - } - case DATA_NOT_SET: { - break; - } + case ARTICLE_SUGGESTION: + { + mergeArticleSuggestion(other.getArticleSuggestion()); + break; + } + case FAQ_ANSWER: + { + mergeFaqAnswer(other.getFaqAnswer()); + break; + } + case SMART_REPLY: + { + mergeSmartReply(other.getSmartReply()); + break; + } + case SMART_COMPOSE_SUGGESTION: + { + mergeSmartComposeSuggestion(other.getSmartComposeSuggestion()); + break; + } + case DIALOGFLOW_INTERACTION: + { + mergeDialogflowInteraction(other.getDialogflowInteraction()); + break; + } + case DATA_NOT_SET: + { + break; + } } this.mergeUnknownFields(other.getUnknownFields()); onChanged(); @@ -1087,80 +1233,76 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - annotationId_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000020; - break; - } // case 10 - case 18: { - input.readMessage( - getCreateTimeFieldBuilder().getBuilder(), - extensionRegistry); - bitField0_ |= 0x00000040; - break; - } // case 18 - case 26: { - input.readMessage( - getStartBoundaryFieldBuilder().getBuilder(), - extensionRegistry); - bitField0_ |= 0x00000080; - break; - } // case 26 - case 34: { - input.readMessage( - getEndBoundaryFieldBuilder().getBuilder(), - extensionRegistry); - bitField0_ |= 0x00000100; - break; - } // case 34 - case 42: { - input.readMessage( - getAnswerFeedbackFieldBuilder().getBuilder(), - extensionRegistry); - bitField0_ |= 0x00000200; - break; - } // case 42 - case 50: { - input.readMessage( - getArticleSuggestionFieldBuilder().getBuilder(), - extensionRegistry); - dataCase_ = 6; - break; - } // case 50 - case 58: { - input.readMessage( - getFaqAnswerFieldBuilder().getBuilder(), - extensionRegistry); - dataCase_ = 7; - break; - } // case 58 - case 66: { - input.readMessage( - getSmartReplyFieldBuilder().getBuilder(), - extensionRegistry); - dataCase_ = 8; - break; - } // case 66 - case 74: { - input.readMessage( - getSmartComposeSuggestionFieldBuilder().getBuilder(), - extensionRegistry); - dataCase_ = 9; - break; - } // case 74 - case 82: { - input.readMessage( - getDialogflowInteractionFieldBuilder().getBuilder(), - extensionRegistry); - dataCase_ = 10; - break; - } // case 82 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + annotationId_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000020; + break; + } // case 10 + case 18: + { + input.readMessage(getCreateTimeFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000040; + break; + } // case 18 + case 26: + { + input.readMessage(getStartBoundaryFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000080; + break; + } // case 26 + case 34: + { + input.readMessage(getEndBoundaryFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000100; + break; + } // case 34 + case 42: + { + input.readMessage(getAnswerFeedbackFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000200; + break; + } // case 42 + case 50: + { + input.readMessage( + getArticleSuggestionFieldBuilder().getBuilder(), extensionRegistry); + dataCase_ = 6; + break; + } // case 50 + case 58: + { + input.readMessage(getFaqAnswerFieldBuilder().getBuilder(), extensionRegistry); + dataCase_ = 7; + break; + } // case 58 + case 66: + { + input.readMessage(getSmartReplyFieldBuilder().getBuilder(), extensionRegistry); + dataCase_ = 8; + break; + } // case 66 + case 74: + { + input.readMessage( + getSmartComposeSuggestionFieldBuilder().getBuilder(), extensionRegistry); + dataCase_ = 9; + break; + } // case 74 + case 82: + { + input.readMessage( + getDialogflowInteractionFieldBuilder().getBuilder(), extensionRegistry); + dataCase_ = 10; + break; + } // case 82 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -1170,12 +1312,12 @@ public Builder mergeFrom( } // finally return this; } + private int dataCase_ = 0; private java.lang.Object data_; - public DataCase - getDataCase() { - return DataCase.forNumber( - dataCase_); + + public DataCase getDataCase() { + return DataCase.forNumber(dataCase_); } public Builder clearData() { @@ -1188,13 +1330,20 @@ public Builder clearData() { private int bitField0_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.contactcenterinsights.v1.ArticleSuggestionData, com.google.cloud.contactcenterinsights.v1.ArticleSuggestionData.Builder, com.google.cloud.contactcenterinsights.v1.ArticleSuggestionDataOrBuilder> articleSuggestionBuilder_; + com.google.cloud.contactcenterinsights.v1.ArticleSuggestionData, + com.google.cloud.contactcenterinsights.v1.ArticleSuggestionData.Builder, + com.google.cloud.contactcenterinsights.v1.ArticleSuggestionDataOrBuilder> + articleSuggestionBuilder_; /** + * + * *
      * Agent Assist Article Suggestion data.
      * 
* - * .google.cloud.contactcenterinsights.v1.ArticleSuggestionData article_suggestion = 6; + * .google.cloud.contactcenterinsights.v1.ArticleSuggestionData article_suggestion = 6; + * + * * @return Whether the articleSuggestion field is set. */ @java.lang.Override @@ -1202,11 +1351,15 @@ public boolean hasArticleSuggestion() { return dataCase_ == 6; } /** + * + * *
      * Agent Assist Article Suggestion data.
      * 
* - * .google.cloud.contactcenterinsights.v1.ArticleSuggestionData article_suggestion = 6; + * .google.cloud.contactcenterinsights.v1.ArticleSuggestionData article_suggestion = 6; + * + * * @return The articleSuggestion. */ @java.lang.Override @@ -1224,13 +1377,17 @@ public com.google.cloud.contactcenterinsights.v1.ArticleSuggestionData getArticl } } /** + * + * *
      * Agent Assist Article Suggestion data.
      * 
* - * .google.cloud.contactcenterinsights.v1.ArticleSuggestionData article_suggestion = 6; + * .google.cloud.contactcenterinsights.v1.ArticleSuggestionData article_suggestion = 6; + * */ - public Builder setArticleSuggestion(com.google.cloud.contactcenterinsights.v1.ArticleSuggestionData value) { + public Builder setArticleSuggestion( + com.google.cloud.contactcenterinsights.v1.ArticleSuggestionData value) { if (articleSuggestionBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -1244,11 +1401,14 @@ public Builder setArticleSuggestion(com.google.cloud.contactcenterinsights.v1.Ar return this; } /** + * + * *
      * Agent Assist Article Suggestion data.
      * 
* - * .google.cloud.contactcenterinsights.v1.ArticleSuggestionData article_suggestion = 6; + * .google.cloud.contactcenterinsights.v1.ArticleSuggestionData article_suggestion = 6; + * */ public Builder setArticleSuggestion( com.google.cloud.contactcenterinsights.v1.ArticleSuggestionData.Builder builderForValue) { @@ -1262,18 +1422,27 @@ public Builder setArticleSuggestion( return this; } /** + * + * *
      * Agent Assist Article Suggestion data.
      * 
* - * .google.cloud.contactcenterinsights.v1.ArticleSuggestionData article_suggestion = 6; + * .google.cloud.contactcenterinsights.v1.ArticleSuggestionData article_suggestion = 6; + * */ - public Builder mergeArticleSuggestion(com.google.cloud.contactcenterinsights.v1.ArticleSuggestionData value) { + public Builder mergeArticleSuggestion( + com.google.cloud.contactcenterinsights.v1.ArticleSuggestionData value) { if (articleSuggestionBuilder_ == null) { - if (dataCase_ == 6 && - data_ != com.google.cloud.contactcenterinsights.v1.ArticleSuggestionData.getDefaultInstance()) { - data_ = com.google.cloud.contactcenterinsights.v1.ArticleSuggestionData.newBuilder((com.google.cloud.contactcenterinsights.v1.ArticleSuggestionData) data_) - .mergeFrom(value).buildPartial(); + if (dataCase_ == 6 + && data_ + != com.google.cloud.contactcenterinsights.v1.ArticleSuggestionData + .getDefaultInstance()) { + data_ = + com.google.cloud.contactcenterinsights.v1.ArticleSuggestionData.newBuilder( + (com.google.cloud.contactcenterinsights.v1.ArticleSuggestionData) data_) + .mergeFrom(value) + .buildPartial(); } else { data_ = value; } @@ -1289,11 +1458,14 @@ public Builder mergeArticleSuggestion(com.google.cloud.contactcenterinsights.v1. return this; } /** + * + * *
      * Agent Assist Article Suggestion data.
      * 
* - * .google.cloud.contactcenterinsights.v1.ArticleSuggestionData article_suggestion = 6; + * .google.cloud.contactcenterinsights.v1.ArticleSuggestionData article_suggestion = 6; + * */ public Builder clearArticleSuggestion() { if (articleSuggestionBuilder_ == null) { @@ -1312,24 +1484,32 @@ public Builder clearArticleSuggestion() { return this; } /** + * + * *
      * Agent Assist Article Suggestion data.
      * 
* - * .google.cloud.contactcenterinsights.v1.ArticleSuggestionData article_suggestion = 6; + * .google.cloud.contactcenterinsights.v1.ArticleSuggestionData article_suggestion = 6; + * */ - public com.google.cloud.contactcenterinsights.v1.ArticleSuggestionData.Builder getArticleSuggestionBuilder() { + public com.google.cloud.contactcenterinsights.v1.ArticleSuggestionData.Builder + getArticleSuggestionBuilder() { return getArticleSuggestionFieldBuilder().getBuilder(); } /** + * + * *
      * Agent Assist Article Suggestion data.
      * 
* - * .google.cloud.contactcenterinsights.v1.ArticleSuggestionData article_suggestion = 6; + * .google.cloud.contactcenterinsights.v1.ArticleSuggestionData article_suggestion = 6; + * */ @java.lang.Override - public com.google.cloud.contactcenterinsights.v1.ArticleSuggestionDataOrBuilder getArticleSuggestionOrBuilder() { + public com.google.cloud.contactcenterinsights.v1.ArticleSuggestionDataOrBuilder + getArticleSuggestionOrBuilder() { if ((dataCase_ == 6) && (articleSuggestionBuilder_ != null)) { return articleSuggestionBuilder_.getMessageOrBuilder(); } else { @@ -1340,21 +1520,30 @@ public com.google.cloud.contactcenterinsights.v1.ArticleSuggestionDataOrBuilder } } /** + * + * *
      * Agent Assist Article Suggestion data.
      * 
* - * .google.cloud.contactcenterinsights.v1.ArticleSuggestionData article_suggestion = 6; + * .google.cloud.contactcenterinsights.v1.ArticleSuggestionData article_suggestion = 6; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.contactcenterinsights.v1.ArticleSuggestionData, com.google.cloud.contactcenterinsights.v1.ArticleSuggestionData.Builder, com.google.cloud.contactcenterinsights.v1.ArticleSuggestionDataOrBuilder> + com.google.cloud.contactcenterinsights.v1.ArticleSuggestionData, + com.google.cloud.contactcenterinsights.v1.ArticleSuggestionData.Builder, + com.google.cloud.contactcenterinsights.v1.ArticleSuggestionDataOrBuilder> getArticleSuggestionFieldBuilder() { if (articleSuggestionBuilder_ == null) { if (!(dataCase_ == 6)) { - data_ = com.google.cloud.contactcenterinsights.v1.ArticleSuggestionData.getDefaultInstance(); + data_ = + com.google.cloud.contactcenterinsights.v1.ArticleSuggestionData.getDefaultInstance(); } - articleSuggestionBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.contactcenterinsights.v1.ArticleSuggestionData, com.google.cloud.contactcenterinsights.v1.ArticleSuggestionData.Builder, com.google.cloud.contactcenterinsights.v1.ArticleSuggestionDataOrBuilder>( + articleSuggestionBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.contactcenterinsights.v1.ArticleSuggestionData, + com.google.cloud.contactcenterinsights.v1.ArticleSuggestionData.Builder, + com.google.cloud.contactcenterinsights.v1.ArticleSuggestionDataOrBuilder>( (com.google.cloud.contactcenterinsights.v1.ArticleSuggestionData) data_, getParentForChildren(), isClean()); @@ -1366,13 +1555,19 @@ public com.google.cloud.contactcenterinsights.v1.ArticleSuggestionDataOrBuilder } private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.contactcenterinsights.v1.FaqAnswerData, com.google.cloud.contactcenterinsights.v1.FaqAnswerData.Builder, com.google.cloud.contactcenterinsights.v1.FaqAnswerDataOrBuilder> faqAnswerBuilder_; + com.google.cloud.contactcenterinsights.v1.FaqAnswerData, + com.google.cloud.contactcenterinsights.v1.FaqAnswerData.Builder, + com.google.cloud.contactcenterinsights.v1.FaqAnswerDataOrBuilder> + faqAnswerBuilder_; /** + * + * *
      * Agent Assist FAQ answer data.
      * 
* * .google.cloud.contactcenterinsights.v1.FaqAnswerData faq_answer = 7; + * * @return Whether the faqAnswer field is set. */ @java.lang.Override @@ -1380,11 +1575,14 @@ public boolean hasFaqAnswer() { return dataCase_ == 7; } /** + * + * *
      * Agent Assist FAQ answer data.
      * 
* * .google.cloud.contactcenterinsights.v1.FaqAnswerData faq_answer = 7; + * * @return The faqAnswer. */ @java.lang.Override @@ -1402,6 +1600,8 @@ public com.google.cloud.contactcenterinsights.v1.FaqAnswerData getFaqAnswer() { } } /** + * + * *
      * Agent Assist FAQ answer data.
      * 
@@ -1422,6 +1622,8 @@ public Builder setFaqAnswer(com.google.cloud.contactcenterinsights.v1.FaqAnswerD return this; } /** + * + * *
      * Agent Assist FAQ answer data.
      * 
@@ -1440,6 +1642,8 @@ public Builder setFaqAnswer( return this; } /** + * + * *
      * Agent Assist FAQ answer data.
      * 
@@ -1448,10 +1652,14 @@ public Builder setFaqAnswer( */ public Builder mergeFaqAnswer(com.google.cloud.contactcenterinsights.v1.FaqAnswerData value) { if (faqAnswerBuilder_ == null) { - if (dataCase_ == 7 && - data_ != com.google.cloud.contactcenterinsights.v1.FaqAnswerData.getDefaultInstance()) { - data_ = com.google.cloud.contactcenterinsights.v1.FaqAnswerData.newBuilder((com.google.cloud.contactcenterinsights.v1.FaqAnswerData) data_) - .mergeFrom(value).buildPartial(); + if (dataCase_ == 7 + && data_ + != com.google.cloud.contactcenterinsights.v1.FaqAnswerData.getDefaultInstance()) { + data_ = + com.google.cloud.contactcenterinsights.v1.FaqAnswerData.newBuilder( + (com.google.cloud.contactcenterinsights.v1.FaqAnswerData) data_) + .mergeFrom(value) + .buildPartial(); } else { data_ = value; } @@ -1467,6 +1675,8 @@ public Builder mergeFaqAnswer(com.google.cloud.contactcenterinsights.v1.FaqAnswe return this; } /** + * + * *
      * Agent Assist FAQ answer data.
      * 
@@ -1490,6 +1700,8 @@ public Builder clearFaqAnswer() { return this; } /** + * + * *
      * Agent Assist FAQ answer data.
      * 
@@ -1500,6 +1712,8 @@ public com.google.cloud.contactcenterinsights.v1.FaqAnswerData.Builder getFaqAns return getFaqAnswerFieldBuilder().getBuilder(); } /** + * + * *
      * Agent Assist FAQ answer data.
      * 
@@ -1507,7 +1721,8 @@ public com.google.cloud.contactcenterinsights.v1.FaqAnswerData.Builder getFaqAns * .google.cloud.contactcenterinsights.v1.FaqAnswerData faq_answer = 7; */ @java.lang.Override - public com.google.cloud.contactcenterinsights.v1.FaqAnswerDataOrBuilder getFaqAnswerOrBuilder() { + public com.google.cloud.contactcenterinsights.v1.FaqAnswerDataOrBuilder + getFaqAnswerOrBuilder() { if ((dataCase_ == 7) && (faqAnswerBuilder_ != null)) { return faqAnswerBuilder_.getMessageOrBuilder(); } else { @@ -1518,6 +1733,8 @@ public com.google.cloud.contactcenterinsights.v1.FaqAnswerDataOrBuilder getFaqAn } } /** + * + * *
      * Agent Assist FAQ answer data.
      * 
@@ -1525,14 +1742,19 @@ public com.google.cloud.contactcenterinsights.v1.FaqAnswerDataOrBuilder getFaqAn * .google.cloud.contactcenterinsights.v1.FaqAnswerData faq_answer = 7; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.contactcenterinsights.v1.FaqAnswerData, com.google.cloud.contactcenterinsights.v1.FaqAnswerData.Builder, com.google.cloud.contactcenterinsights.v1.FaqAnswerDataOrBuilder> + com.google.cloud.contactcenterinsights.v1.FaqAnswerData, + com.google.cloud.contactcenterinsights.v1.FaqAnswerData.Builder, + com.google.cloud.contactcenterinsights.v1.FaqAnswerDataOrBuilder> getFaqAnswerFieldBuilder() { if (faqAnswerBuilder_ == null) { if (!(dataCase_ == 7)) { data_ = com.google.cloud.contactcenterinsights.v1.FaqAnswerData.getDefaultInstance(); } - faqAnswerBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.contactcenterinsights.v1.FaqAnswerData, com.google.cloud.contactcenterinsights.v1.FaqAnswerData.Builder, com.google.cloud.contactcenterinsights.v1.FaqAnswerDataOrBuilder>( + faqAnswerBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.contactcenterinsights.v1.FaqAnswerData, + com.google.cloud.contactcenterinsights.v1.FaqAnswerData.Builder, + com.google.cloud.contactcenterinsights.v1.FaqAnswerDataOrBuilder>( (com.google.cloud.contactcenterinsights.v1.FaqAnswerData) data_, getParentForChildren(), isClean()); @@ -1544,13 +1766,19 @@ public com.google.cloud.contactcenterinsights.v1.FaqAnswerDataOrBuilder getFaqAn } private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.contactcenterinsights.v1.SmartReplyData, com.google.cloud.contactcenterinsights.v1.SmartReplyData.Builder, com.google.cloud.contactcenterinsights.v1.SmartReplyDataOrBuilder> smartReplyBuilder_; + com.google.cloud.contactcenterinsights.v1.SmartReplyData, + com.google.cloud.contactcenterinsights.v1.SmartReplyData.Builder, + com.google.cloud.contactcenterinsights.v1.SmartReplyDataOrBuilder> + smartReplyBuilder_; /** + * + * *
      * Agent Assist Smart Reply data.
      * 
* * .google.cloud.contactcenterinsights.v1.SmartReplyData smart_reply = 8; + * * @return Whether the smartReply field is set. */ @java.lang.Override @@ -1558,11 +1786,14 @@ public boolean hasSmartReply() { return dataCase_ == 8; } /** + * + * *
      * Agent Assist Smart Reply data.
      * 
* * .google.cloud.contactcenterinsights.v1.SmartReplyData smart_reply = 8; + * * @return The smartReply. */ @java.lang.Override @@ -1580,6 +1811,8 @@ public com.google.cloud.contactcenterinsights.v1.SmartReplyData getSmartReply() } } /** + * + * *
      * Agent Assist Smart Reply data.
      * 
@@ -1600,6 +1833,8 @@ public Builder setSmartReply(com.google.cloud.contactcenterinsights.v1.SmartRepl return this; } /** + * + * *
      * Agent Assist Smart Reply data.
      * 
@@ -1618,6 +1853,8 @@ public Builder setSmartReply( return this; } /** + * + * *
      * Agent Assist Smart Reply data.
      * 
@@ -1626,10 +1863,14 @@ public Builder setSmartReply( */ public Builder mergeSmartReply(com.google.cloud.contactcenterinsights.v1.SmartReplyData value) { if (smartReplyBuilder_ == null) { - if (dataCase_ == 8 && - data_ != com.google.cloud.contactcenterinsights.v1.SmartReplyData.getDefaultInstance()) { - data_ = com.google.cloud.contactcenterinsights.v1.SmartReplyData.newBuilder((com.google.cloud.contactcenterinsights.v1.SmartReplyData) data_) - .mergeFrom(value).buildPartial(); + if (dataCase_ == 8 + && data_ + != com.google.cloud.contactcenterinsights.v1.SmartReplyData.getDefaultInstance()) { + data_ = + com.google.cloud.contactcenterinsights.v1.SmartReplyData.newBuilder( + (com.google.cloud.contactcenterinsights.v1.SmartReplyData) data_) + .mergeFrom(value) + .buildPartial(); } else { data_ = value; } @@ -1645,6 +1886,8 @@ public Builder mergeSmartReply(com.google.cloud.contactcenterinsights.v1.SmartRe return this; } /** + * + * *
      * Agent Assist Smart Reply data.
      * 
@@ -1668,6 +1911,8 @@ public Builder clearSmartReply() { return this; } /** + * + * *
      * Agent Assist Smart Reply data.
      * 
@@ -1678,6 +1923,8 @@ public com.google.cloud.contactcenterinsights.v1.SmartReplyData.Builder getSmart return getSmartReplyFieldBuilder().getBuilder(); } /** + * + * *
      * Agent Assist Smart Reply data.
      * 
@@ -1685,7 +1932,8 @@ public com.google.cloud.contactcenterinsights.v1.SmartReplyData.Builder getSmart * .google.cloud.contactcenterinsights.v1.SmartReplyData smart_reply = 8; */ @java.lang.Override - public com.google.cloud.contactcenterinsights.v1.SmartReplyDataOrBuilder getSmartReplyOrBuilder() { + public com.google.cloud.contactcenterinsights.v1.SmartReplyDataOrBuilder + getSmartReplyOrBuilder() { if ((dataCase_ == 8) && (smartReplyBuilder_ != null)) { return smartReplyBuilder_.getMessageOrBuilder(); } else { @@ -1696,6 +1944,8 @@ public com.google.cloud.contactcenterinsights.v1.SmartReplyDataOrBuilder getSmar } } /** + * + * *
      * Agent Assist Smart Reply data.
      * 
@@ -1703,14 +1953,19 @@ public com.google.cloud.contactcenterinsights.v1.SmartReplyDataOrBuilder getSmar * .google.cloud.contactcenterinsights.v1.SmartReplyData smart_reply = 8; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.contactcenterinsights.v1.SmartReplyData, com.google.cloud.contactcenterinsights.v1.SmartReplyData.Builder, com.google.cloud.contactcenterinsights.v1.SmartReplyDataOrBuilder> + com.google.cloud.contactcenterinsights.v1.SmartReplyData, + com.google.cloud.contactcenterinsights.v1.SmartReplyData.Builder, + com.google.cloud.contactcenterinsights.v1.SmartReplyDataOrBuilder> getSmartReplyFieldBuilder() { if (smartReplyBuilder_ == null) { if (!(dataCase_ == 8)) { data_ = com.google.cloud.contactcenterinsights.v1.SmartReplyData.getDefaultInstance(); } - smartReplyBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.contactcenterinsights.v1.SmartReplyData, com.google.cloud.contactcenterinsights.v1.SmartReplyData.Builder, com.google.cloud.contactcenterinsights.v1.SmartReplyDataOrBuilder>( + smartReplyBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.contactcenterinsights.v1.SmartReplyData, + com.google.cloud.contactcenterinsights.v1.SmartReplyData.Builder, + com.google.cloud.contactcenterinsights.v1.SmartReplyDataOrBuilder>( (com.google.cloud.contactcenterinsights.v1.SmartReplyData) data_, getParentForChildren(), isClean()); @@ -1722,13 +1977,21 @@ public com.google.cloud.contactcenterinsights.v1.SmartReplyDataOrBuilder getSmar } private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.contactcenterinsights.v1.SmartComposeSuggestionData, com.google.cloud.contactcenterinsights.v1.SmartComposeSuggestionData.Builder, com.google.cloud.contactcenterinsights.v1.SmartComposeSuggestionDataOrBuilder> smartComposeSuggestionBuilder_; + com.google.cloud.contactcenterinsights.v1.SmartComposeSuggestionData, + com.google.cloud.contactcenterinsights.v1.SmartComposeSuggestionData.Builder, + com.google.cloud.contactcenterinsights.v1.SmartComposeSuggestionDataOrBuilder> + smartComposeSuggestionBuilder_; /** + * + * *
      * Agent Assist Smart Compose suggestion data.
      * 
* - * .google.cloud.contactcenterinsights.v1.SmartComposeSuggestionData smart_compose_suggestion = 9; + * + * .google.cloud.contactcenterinsights.v1.SmartComposeSuggestionData smart_compose_suggestion = 9; + * + * * @return Whether the smartComposeSuggestion field is set. */ @java.lang.Override @@ -1736,35 +1999,48 @@ public boolean hasSmartComposeSuggestion() { return dataCase_ == 9; } /** + * + * *
      * Agent Assist Smart Compose suggestion data.
      * 
* - * .google.cloud.contactcenterinsights.v1.SmartComposeSuggestionData smart_compose_suggestion = 9; + * + * .google.cloud.contactcenterinsights.v1.SmartComposeSuggestionData smart_compose_suggestion = 9; + * + * * @return The smartComposeSuggestion. */ @java.lang.Override - public com.google.cloud.contactcenterinsights.v1.SmartComposeSuggestionData getSmartComposeSuggestion() { + public com.google.cloud.contactcenterinsights.v1.SmartComposeSuggestionData + getSmartComposeSuggestion() { if (smartComposeSuggestionBuilder_ == null) { if (dataCase_ == 9) { return (com.google.cloud.contactcenterinsights.v1.SmartComposeSuggestionData) data_; } - return com.google.cloud.contactcenterinsights.v1.SmartComposeSuggestionData.getDefaultInstance(); + return com.google.cloud.contactcenterinsights.v1.SmartComposeSuggestionData + .getDefaultInstance(); } else { if (dataCase_ == 9) { return smartComposeSuggestionBuilder_.getMessage(); } - return com.google.cloud.contactcenterinsights.v1.SmartComposeSuggestionData.getDefaultInstance(); + return com.google.cloud.contactcenterinsights.v1.SmartComposeSuggestionData + .getDefaultInstance(); } } /** + * + * *
      * Agent Assist Smart Compose suggestion data.
      * 
* - * .google.cloud.contactcenterinsights.v1.SmartComposeSuggestionData smart_compose_suggestion = 9; + * + * .google.cloud.contactcenterinsights.v1.SmartComposeSuggestionData smart_compose_suggestion = 9; + * */ - public Builder setSmartComposeSuggestion(com.google.cloud.contactcenterinsights.v1.SmartComposeSuggestionData value) { + public Builder setSmartComposeSuggestion( + com.google.cloud.contactcenterinsights.v1.SmartComposeSuggestionData value) { if (smartComposeSuggestionBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -1778,14 +2054,19 @@ public Builder setSmartComposeSuggestion(com.google.cloud.contactcenterinsights. return this; } /** + * + * *
      * Agent Assist Smart Compose suggestion data.
      * 
* - * .google.cloud.contactcenterinsights.v1.SmartComposeSuggestionData smart_compose_suggestion = 9; + * + * .google.cloud.contactcenterinsights.v1.SmartComposeSuggestionData smart_compose_suggestion = 9; + * */ public Builder setSmartComposeSuggestion( - com.google.cloud.contactcenterinsights.v1.SmartComposeSuggestionData.Builder builderForValue) { + com.google.cloud.contactcenterinsights.v1.SmartComposeSuggestionData.Builder + builderForValue) { if (smartComposeSuggestionBuilder_ == null) { data_ = builderForValue.build(); onChanged(); @@ -1796,18 +2077,28 @@ public Builder setSmartComposeSuggestion( return this; } /** + * + * *
      * Agent Assist Smart Compose suggestion data.
      * 
* - * .google.cloud.contactcenterinsights.v1.SmartComposeSuggestionData smart_compose_suggestion = 9; + * + * .google.cloud.contactcenterinsights.v1.SmartComposeSuggestionData smart_compose_suggestion = 9; + * */ - public Builder mergeSmartComposeSuggestion(com.google.cloud.contactcenterinsights.v1.SmartComposeSuggestionData value) { + public Builder mergeSmartComposeSuggestion( + com.google.cloud.contactcenterinsights.v1.SmartComposeSuggestionData value) { if (smartComposeSuggestionBuilder_ == null) { - if (dataCase_ == 9 && - data_ != com.google.cloud.contactcenterinsights.v1.SmartComposeSuggestionData.getDefaultInstance()) { - data_ = com.google.cloud.contactcenterinsights.v1.SmartComposeSuggestionData.newBuilder((com.google.cloud.contactcenterinsights.v1.SmartComposeSuggestionData) data_) - .mergeFrom(value).buildPartial(); + if (dataCase_ == 9 + && data_ + != com.google.cloud.contactcenterinsights.v1.SmartComposeSuggestionData + .getDefaultInstance()) { + data_ = + com.google.cloud.contactcenterinsights.v1.SmartComposeSuggestionData.newBuilder( + (com.google.cloud.contactcenterinsights.v1.SmartComposeSuggestionData) data_) + .mergeFrom(value) + .buildPartial(); } else { data_ = value; } @@ -1823,11 +2114,15 @@ public Builder mergeSmartComposeSuggestion(com.google.cloud.contactcenterinsight return this; } /** + * + * *
      * Agent Assist Smart Compose suggestion data.
      * 
* - * .google.cloud.contactcenterinsights.v1.SmartComposeSuggestionData smart_compose_suggestion = 9; + * + * .google.cloud.contactcenterinsights.v1.SmartComposeSuggestionData smart_compose_suggestion = 9; + * */ public Builder clearSmartComposeSuggestion() { if (smartComposeSuggestionBuilder_ == null) { @@ -1846,49 +2141,71 @@ public Builder clearSmartComposeSuggestion() { return this; } /** + * + * *
      * Agent Assist Smart Compose suggestion data.
      * 
* - * .google.cloud.contactcenterinsights.v1.SmartComposeSuggestionData smart_compose_suggestion = 9; + * + * .google.cloud.contactcenterinsights.v1.SmartComposeSuggestionData smart_compose_suggestion = 9; + * */ - public com.google.cloud.contactcenterinsights.v1.SmartComposeSuggestionData.Builder getSmartComposeSuggestionBuilder() { + public com.google.cloud.contactcenterinsights.v1.SmartComposeSuggestionData.Builder + getSmartComposeSuggestionBuilder() { return getSmartComposeSuggestionFieldBuilder().getBuilder(); } /** + * + * *
      * Agent Assist Smart Compose suggestion data.
      * 
* - * .google.cloud.contactcenterinsights.v1.SmartComposeSuggestionData smart_compose_suggestion = 9; + * + * .google.cloud.contactcenterinsights.v1.SmartComposeSuggestionData smart_compose_suggestion = 9; + * */ @java.lang.Override - public com.google.cloud.contactcenterinsights.v1.SmartComposeSuggestionDataOrBuilder getSmartComposeSuggestionOrBuilder() { + public com.google.cloud.contactcenterinsights.v1.SmartComposeSuggestionDataOrBuilder + getSmartComposeSuggestionOrBuilder() { if ((dataCase_ == 9) && (smartComposeSuggestionBuilder_ != null)) { return smartComposeSuggestionBuilder_.getMessageOrBuilder(); } else { if (dataCase_ == 9) { return (com.google.cloud.contactcenterinsights.v1.SmartComposeSuggestionData) data_; } - return com.google.cloud.contactcenterinsights.v1.SmartComposeSuggestionData.getDefaultInstance(); + return com.google.cloud.contactcenterinsights.v1.SmartComposeSuggestionData + .getDefaultInstance(); } } /** + * + * *
      * Agent Assist Smart Compose suggestion data.
      * 
* - * .google.cloud.contactcenterinsights.v1.SmartComposeSuggestionData smart_compose_suggestion = 9; + * + * .google.cloud.contactcenterinsights.v1.SmartComposeSuggestionData smart_compose_suggestion = 9; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.contactcenterinsights.v1.SmartComposeSuggestionData, com.google.cloud.contactcenterinsights.v1.SmartComposeSuggestionData.Builder, com.google.cloud.contactcenterinsights.v1.SmartComposeSuggestionDataOrBuilder> + com.google.cloud.contactcenterinsights.v1.SmartComposeSuggestionData, + com.google.cloud.contactcenterinsights.v1.SmartComposeSuggestionData.Builder, + com.google.cloud.contactcenterinsights.v1.SmartComposeSuggestionDataOrBuilder> getSmartComposeSuggestionFieldBuilder() { if (smartComposeSuggestionBuilder_ == null) { if (!(dataCase_ == 9)) { - data_ = com.google.cloud.contactcenterinsights.v1.SmartComposeSuggestionData.getDefaultInstance(); + data_ = + com.google.cloud.contactcenterinsights.v1.SmartComposeSuggestionData + .getDefaultInstance(); } - smartComposeSuggestionBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.contactcenterinsights.v1.SmartComposeSuggestionData, com.google.cloud.contactcenterinsights.v1.SmartComposeSuggestionData.Builder, com.google.cloud.contactcenterinsights.v1.SmartComposeSuggestionDataOrBuilder>( + smartComposeSuggestionBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.contactcenterinsights.v1.SmartComposeSuggestionData, + com.google.cloud.contactcenterinsights.v1.SmartComposeSuggestionData.Builder, + com.google.cloud.contactcenterinsights.v1.SmartComposeSuggestionDataOrBuilder>( (com.google.cloud.contactcenterinsights.v1.SmartComposeSuggestionData) data_, getParentForChildren(), isClean()); @@ -1900,13 +2217,21 @@ public com.google.cloud.contactcenterinsights.v1.SmartComposeSuggestionDataOrBui } private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.contactcenterinsights.v1.DialogflowInteractionData, com.google.cloud.contactcenterinsights.v1.DialogflowInteractionData.Builder, com.google.cloud.contactcenterinsights.v1.DialogflowInteractionDataOrBuilder> dialogflowInteractionBuilder_; + com.google.cloud.contactcenterinsights.v1.DialogflowInteractionData, + com.google.cloud.contactcenterinsights.v1.DialogflowInteractionData.Builder, + com.google.cloud.contactcenterinsights.v1.DialogflowInteractionDataOrBuilder> + dialogflowInteractionBuilder_; /** + * + * *
      * Dialogflow interaction data.
      * 
* - * .google.cloud.contactcenterinsights.v1.DialogflowInteractionData dialogflow_interaction = 10; + * + * .google.cloud.contactcenterinsights.v1.DialogflowInteractionData dialogflow_interaction = 10; + * + * * @return Whether the dialogflowInteraction field is set. */ @java.lang.Override @@ -1914,35 +2239,48 @@ public boolean hasDialogflowInteraction() { return dataCase_ == 10; } /** + * + * *
      * Dialogflow interaction data.
      * 
* - * .google.cloud.contactcenterinsights.v1.DialogflowInteractionData dialogflow_interaction = 10; + * + * .google.cloud.contactcenterinsights.v1.DialogflowInteractionData dialogflow_interaction = 10; + * + * * @return The dialogflowInteraction. */ @java.lang.Override - public com.google.cloud.contactcenterinsights.v1.DialogflowInteractionData getDialogflowInteraction() { + public com.google.cloud.contactcenterinsights.v1.DialogflowInteractionData + getDialogflowInteraction() { if (dialogflowInteractionBuilder_ == null) { if (dataCase_ == 10) { return (com.google.cloud.contactcenterinsights.v1.DialogflowInteractionData) data_; } - return com.google.cloud.contactcenterinsights.v1.DialogflowInteractionData.getDefaultInstance(); + return com.google.cloud.contactcenterinsights.v1.DialogflowInteractionData + .getDefaultInstance(); } else { if (dataCase_ == 10) { return dialogflowInteractionBuilder_.getMessage(); } - return com.google.cloud.contactcenterinsights.v1.DialogflowInteractionData.getDefaultInstance(); + return com.google.cloud.contactcenterinsights.v1.DialogflowInteractionData + .getDefaultInstance(); } } /** + * + * *
      * Dialogflow interaction data.
      * 
* - * .google.cloud.contactcenterinsights.v1.DialogflowInteractionData dialogflow_interaction = 10; + * + * .google.cloud.contactcenterinsights.v1.DialogflowInteractionData dialogflow_interaction = 10; + * */ - public Builder setDialogflowInteraction(com.google.cloud.contactcenterinsights.v1.DialogflowInteractionData value) { + public Builder setDialogflowInteraction( + com.google.cloud.contactcenterinsights.v1.DialogflowInteractionData value) { if (dialogflowInteractionBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -1956,14 +2294,19 @@ public Builder setDialogflowInteraction(com.google.cloud.contactcenterinsights.v return this; } /** + * + * *
      * Dialogflow interaction data.
      * 
* - * .google.cloud.contactcenterinsights.v1.DialogflowInteractionData dialogflow_interaction = 10; + * + * .google.cloud.contactcenterinsights.v1.DialogflowInteractionData dialogflow_interaction = 10; + * */ public Builder setDialogflowInteraction( - com.google.cloud.contactcenterinsights.v1.DialogflowInteractionData.Builder builderForValue) { + com.google.cloud.contactcenterinsights.v1.DialogflowInteractionData.Builder + builderForValue) { if (dialogflowInteractionBuilder_ == null) { data_ = builderForValue.build(); onChanged(); @@ -1974,18 +2317,28 @@ public Builder setDialogflowInteraction( return this; } /** + * + * *
      * Dialogflow interaction data.
      * 
* - * .google.cloud.contactcenterinsights.v1.DialogflowInteractionData dialogflow_interaction = 10; + * + * .google.cloud.contactcenterinsights.v1.DialogflowInteractionData dialogflow_interaction = 10; + * */ - public Builder mergeDialogflowInteraction(com.google.cloud.contactcenterinsights.v1.DialogflowInteractionData value) { + public Builder mergeDialogflowInteraction( + com.google.cloud.contactcenterinsights.v1.DialogflowInteractionData value) { if (dialogflowInteractionBuilder_ == null) { - if (dataCase_ == 10 && - data_ != com.google.cloud.contactcenterinsights.v1.DialogflowInteractionData.getDefaultInstance()) { - data_ = com.google.cloud.contactcenterinsights.v1.DialogflowInteractionData.newBuilder((com.google.cloud.contactcenterinsights.v1.DialogflowInteractionData) data_) - .mergeFrom(value).buildPartial(); + if (dataCase_ == 10 + && data_ + != com.google.cloud.contactcenterinsights.v1.DialogflowInteractionData + .getDefaultInstance()) { + data_ = + com.google.cloud.contactcenterinsights.v1.DialogflowInteractionData.newBuilder( + (com.google.cloud.contactcenterinsights.v1.DialogflowInteractionData) data_) + .mergeFrom(value) + .buildPartial(); } else { data_ = value; } @@ -2001,11 +2354,15 @@ public Builder mergeDialogflowInteraction(com.google.cloud.contactcenterinsights return this; } /** + * + * *
      * Dialogflow interaction data.
      * 
* - * .google.cloud.contactcenterinsights.v1.DialogflowInteractionData dialogflow_interaction = 10; + * + * .google.cloud.contactcenterinsights.v1.DialogflowInteractionData dialogflow_interaction = 10; + * */ public Builder clearDialogflowInteraction() { if (dialogflowInteractionBuilder_ == null) { @@ -2024,49 +2381,71 @@ public Builder clearDialogflowInteraction() { return this; } /** + * + * *
      * Dialogflow interaction data.
      * 
* - * .google.cloud.contactcenterinsights.v1.DialogflowInteractionData dialogflow_interaction = 10; + * + * .google.cloud.contactcenterinsights.v1.DialogflowInteractionData dialogflow_interaction = 10; + * */ - public com.google.cloud.contactcenterinsights.v1.DialogflowInteractionData.Builder getDialogflowInteractionBuilder() { + public com.google.cloud.contactcenterinsights.v1.DialogflowInteractionData.Builder + getDialogflowInteractionBuilder() { return getDialogflowInteractionFieldBuilder().getBuilder(); } /** + * + * *
      * Dialogflow interaction data.
      * 
* - * .google.cloud.contactcenterinsights.v1.DialogflowInteractionData dialogflow_interaction = 10; + * + * .google.cloud.contactcenterinsights.v1.DialogflowInteractionData dialogflow_interaction = 10; + * */ @java.lang.Override - public com.google.cloud.contactcenterinsights.v1.DialogflowInteractionDataOrBuilder getDialogflowInteractionOrBuilder() { + public com.google.cloud.contactcenterinsights.v1.DialogflowInteractionDataOrBuilder + getDialogflowInteractionOrBuilder() { if ((dataCase_ == 10) && (dialogflowInteractionBuilder_ != null)) { return dialogflowInteractionBuilder_.getMessageOrBuilder(); } else { if (dataCase_ == 10) { return (com.google.cloud.contactcenterinsights.v1.DialogflowInteractionData) data_; } - return com.google.cloud.contactcenterinsights.v1.DialogflowInteractionData.getDefaultInstance(); + return com.google.cloud.contactcenterinsights.v1.DialogflowInteractionData + .getDefaultInstance(); } } /** + * + * *
      * Dialogflow interaction data.
      * 
* - * .google.cloud.contactcenterinsights.v1.DialogflowInteractionData dialogflow_interaction = 10; + * + * .google.cloud.contactcenterinsights.v1.DialogflowInteractionData dialogflow_interaction = 10; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.contactcenterinsights.v1.DialogflowInteractionData, com.google.cloud.contactcenterinsights.v1.DialogflowInteractionData.Builder, com.google.cloud.contactcenterinsights.v1.DialogflowInteractionDataOrBuilder> + com.google.cloud.contactcenterinsights.v1.DialogflowInteractionData, + com.google.cloud.contactcenterinsights.v1.DialogflowInteractionData.Builder, + com.google.cloud.contactcenterinsights.v1.DialogflowInteractionDataOrBuilder> getDialogflowInteractionFieldBuilder() { if (dialogflowInteractionBuilder_ == null) { if (!(dataCase_ == 10)) { - data_ = com.google.cloud.contactcenterinsights.v1.DialogflowInteractionData.getDefaultInstance(); + data_ = + com.google.cloud.contactcenterinsights.v1.DialogflowInteractionData + .getDefaultInstance(); } - dialogflowInteractionBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.contactcenterinsights.v1.DialogflowInteractionData, com.google.cloud.contactcenterinsights.v1.DialogflowInteractionData.Builder, com.google.cloud.contactcenterinsights.v1.DialogflowInteractionDataOrBuilder>( + dialogflowInteractionBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.contactcenterinsights.v1.DialogflowInteractionData, + com.google.cloud.contactcenterinsights.v1.DialogflowInteractionData.Builder, + com.google.cloud.contactcenterinsights.v1.DialogflowInteractionDataOrBuilder>( (com.google.cloud.contactcenterinsights.v1.DialogflowInteractionData) data_, getParentForChildren(), isClean()); @@ -2079,6 +2458,8 @@ public com.google.cloud.contactcenterinsights.v1.DialogflowInteractionDataOrBuil private java.lang.Object annotationId_ = ""; /** + * + * *
      * The unique identifier of the annotation.
      * Format:
@@ -2086,13 +2467,13 @@ public com.google.cloud.contactcenterinsights.v1.DialogflowInteractionDataOrBuil
      * 
* * string annotation_id = 1; + * * @return The annotationId. */ public java.lang.String getAnnotationId() { java.lang.Object ref = annotationId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); annotationId_ = s; return s; @@ -2101,6 +2482,8 @@ public java.lang.String getAnnotationId() { } } /** + * + * *
      * The unique identifier of the annotation.
      * Format:
@@ -2108,15 +2491,14 @@ public java.lang.String getAnnotationId() {
      * 
* * string annotation_id = 1; + * * @return The bytes for annotationId. */ - public com.google.protobuf.ByteString - getAnnotationIdBytes() { + public com.google.protobuf.ByteString getAnnotationIdBytes() { java.lang.Object ref = annotationId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); annotationId_ = b; return b; } else { @@ -2124,6 +2506,8 @@ public java.lang.String getAnnotationId() { } } /** + * + * *
      * The unique identifier of the annotation.
      * Format:
@@ -2131,18 +2515,22 @@ public java.lang.String getAnnotationId() {
      * 
* * string annotation_id = 1; + * * @param value The annotationId to set. * @return This builder for chaining. */ - public Builder setAnnotationId( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setAnnotationId(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } annotationId_ = value; bitField0_ |= 0x00000020; onChanged(); return this; } /** + * + * *
      * The unique identifier of the annotation.
      * Format:
@@ -2150,6 +2538,7 @@ public Builder setAnnotationId(
      * 
* * string annotation_id = 1; + * * @return This builder for chaining. */ public Builder clearAnnotationId() { @@ -2159,6 +2548,8 @@ public Builder clearAnnotationId() { return this; } /** + * + * *
      * The unique identifier of the annotation.
      * Format:
@@ -2166,12 +2557,14 @@ public Builder clearAnnotationId() {
      * 
* * string annotation_id = 1; + * * @param value The bytes for annotationId to set. * @return This builder for chaining. */ - public Builder setAnnotationIdBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setAnnotationIdBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); annotationId_ = value; bitField0_ |= 0x00000020; @@ -2181,34 +2574,47 @@ public Builder setAnnotationIdBytes( private com.google.protobuf.Timestamp createTime_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> createTimeBuilder_; + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder> + createTimeBuilder_; /** + * + * *
      * The time at which this annotation was created.
      * 
* * .google.protobuf.Timestamp create_time = 2; + * * @return Whether the createTime field is set. */ public boolean hasCreateTime() { return ((bitField0_ & 0x00000040) != 0); } /** + * + * *
      * The time at which this annotation was created.
      * 
* * .google.protobuf.Timestamp create_time = 2; + * * @return The createTime. */ public com.google.protobuf.Timestamp getCreateTime() { if (createTimeBuilder_ == null) { - return createTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : createTime_; + return createTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : createTime_; } else { return createTimeBuilder_.getMessage(); } } /** + * + * *
      * The time at which this annotation was created.
      * 
@@ -2229,14 +2635,15 @@ public Builder setCreateTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * The time at which this annotation was created.
      * 
* * .google.protobuf.Timestamp create_time = 2; */ - public Builder setCreateTime( - com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setCreateTime(com.google.protobuf.Timestamp.Builder builderForValue) { if (createTimeBuilder_ == null) { createTime_ = builderForValue.build(); } else { @@ -2247,6 +2654,8 @@ public Builder setCreateTime( return this; } /** + * + * *
      * The time at which this annotation was created.
      * 
@@ -2255,9 +2664,9 @@ public Builder setCreateTime( */ public Builder mergeCreateTime(com.google.protobuf.Timestamp value) { if (createTimeBuilder_ == null) { - if (((bitField0_ & 0x00000040) != 0) && - createTime_ != null && - createTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { + if (((bitField0_ & 0x00000040) != 0) + && createTime_ != null + && createTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { getCreateTimeBuilder().mergeFrom(value); } else { createTime_ = value; @@ -2270,6 +2679,8 @@ public Builder mergeCreateTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * The time at which this annotation was created.
      * 
@@ -2287,6 +2698,8 @@ public Builder clearCreateTime() { return this; } /** + * + * *
      * The time at which this annotation was created.
      * 
@@ -2299,6 +2712,8 @@ public com.google.protobuf.Timestamp.Builder getCreateTimeBuilder() { return getCreateTimeFieldBuilder().getBuilder(); } /** + * + * *
      * The time at which this annotation was created.
      * 
@@ -2309,11 +2724,14 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { if (createTimeBuilder_ != null) { return createTimeBuilder_.getMessageOrBuilder(); } else { - return createTime_ == null ? - com.google.protobuf.Timestamp.getDefaultInstance() : createTime_; + return createTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : createTime_; } } /** + * + * *
      * The time at which this annotation was created.
      * 
@@ -2321,14 +2739,17 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { * .google.protobuf.Timestamp create_time = 2; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder> getCreateTimeFieldBuilder() { if (createTimeBuilder_ == null) { - createTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( - getCreateTime(), - getParentForChildren(), - isClean()); + createTimeBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder>( + getCreateTime(), getParentForChildren(), isClean()); createTime_ = null; } return createTimeBuilder_; @@ -2336,41 +2757,55 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { private com.google.cloud.contactcenterinsights.v1.AnnotationBoundary startBoundary_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.contactcenterinsights.v1.AnnotationBoundary, com.google.cloud.contactcenterinsights.v1.AnnotationBoundary.Builder, com.google.cloud.contactcenterinsights.v1.AnnotationBoundaryOrBuilder> startBoundaryBuilder_; + com.google.cloud.contactcenterinsights.v1.AnnotationBoundary, + com.google.cloud.contactcenterinsights.v1.AnnotationBoundary.Builder, + com.google.cloud.contactcenterinsights.v1.AnnotationBoundaryOrBuilder> + startBoundaryBuilder_; /** + * + * *
      * The boundary in the conversation where the annotation starts, inclusive.
      * 
* * .google.cloud.contactcenterinsights.v1.AnnotationBoundary start_boundary = 3; + * * @return Whether the startBoundary field is set. */ public boolean hasStartBoundary() { return ((bitField0_ & 0x00000080) != 0); } /** + * + * *
      * The boundary in the conversation where the annotation starts, inclusive.
      * 
* * .google.cloud.contactcenterinsights.v1.AnnotationBoundary start_boundary = 3; + * * @return The startBoundary. */ public com.google.cloud.contactcenterinsights.v1.AnnotationBoundary getStartBoundary() { if (startBoundaryBuilder_ == null) { - return startBoundary_ == null ? com.google.cloud.contactcenterinsights.v1.AnnotationBoundary.getDefaultInstance() : startBoundary_; + return startBoundary_ == null + ? com.google.cloud.contactcenterinsights.v1.AnnotationBoundary.getDefaultInstance() + : startBoundary_; } else { return startBoundaryBuilder_.getMessage(); } } /** + * + * *
      * The boundary in the conversation where the annotation starts, inclusive.
      * 
* * .google.cloud.contactcenterinsights.v1.AnnotationBoundary start_boundary = 3; */ - public Builder setStartBoundary(com.google.cloud.contactcenterinsights.v1.AnnotationBoundary value) { + public Builder setStartBoundary( + com.google.cloud.contactcenterinsights.v1.AnnotationBoundary value) { if (startBoundaryBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -2384,6 +2819,8 @@ public Builder setStartBoundary(com.google.cloud.contactcenterinsights.v1.Annota return this; } /** + * + * *
      * The boundary in the conversation where the annotation starts, inclusive.
      * 
@@ -2402,17 +2839,22 @@ public Builder setStartBoundary( return this; } /** + * + * *
      * The boundary in the conversation where the annotation starts, inclusive.
      * 
* * .google.cloud.contactcenterinsights.v1.AnnotationBoundary start_boundary = 3; */ - public Builder mergeStartBoundary(com.google.cloud.contactcenterinsights.v1.AnnotationBoundary value) { + public Builder mergeStartBoundary( + com.google.cloud.contactcenterinsights.v1.AnnotationBoundary value) { if (startBoundaryBuilder_ == null) { - if (((bitField0_ & 0x00000080) != 0) && - startBoundary_ != null && - startBoundary_ != com.google.cloud.contactcenterinsights.v1.AnnotationBoundary.getDefaultInstance()) { + if (((bitField0_ & 0x00000080) != 0) + && startBoundary_ != null + && startBoundary_ + != com.google.cloud.contactcenterinsights.v1.AnnotationBoundary + .getDefaultInstance()) { getStartBoundaryBuilder().mergeFrom(value); } else { startBoundary_ = value; @@ -2425,6 +2867,8 @@ public Builder mergeStartBoundary(com.google.cloud.contactcenterinsights.v1.Anno return this; } /** + * + * *
      * The boundary in the conversation where the annotation starts, inclusive.
      * 
@@ -2442,33 +2886,42 @@ public Builder clearStartBoundary() { return this; } /** + * + * *
      * The boundary in the conversation where the annotation starts, inclusive.
      * 
* * .google.cloud.contactcenterinsights.v1.AnnotationBoundary start_boundary = 3; */ - public com.google.cloud.contactcenterinsights.v1.AnnotationBoundary.Builder getStartBoundaryBuilder() { + public com.google.cloud.contactcenterinsights.v1.AnnotationBoundary.Builder + getStartBoundaryBuilder() { bitField0_ |= 0x00000080; onChanged(); return getStartBoundaryFieldBuilder().getBuilder(); } /** + * + * *
      * The boundary in the conversation where the annotation starts, inclusive.
      * 
* * .google.cloud.contactcenterinsights.v1.AnnotationBoundary start_boundary = 3; */ - public com.google.cloud.contactcenterinsights.v1.AnnotationBoundaryOrBuilder getStartBoundaryOrBuilder() { + public com.google.cloud.contactcenterinsights.v1.AnnotationBoundaryOrBuilder + getStartBoundaryOrBuilder() { if (startBoundaryBuilder_ != null) { return startBoundaryBuilder_.getMessageOrBuilder(); } else { - return startBoundary_ == null ? - com.google.cloud.contactcenterinsights.v1.AnnotationBoundary.getDefaultInstance() : startBoundary_; + return startBoundary_ == null + ? com.google.cloud.contactcenterinsights.v1.AnnotationBoundary.getDefaultInstance() + : startBoundary_; } } /** + * + * *
      * The boundary in the conversation where the annotation starts, inclusive.
      * 
@@ -2476,14 +2929,17 @@ public com.google.cloud.contactcenterinsights.v1.AnnotationBoundaryOrBuilder get * .google.cloud.contactcenterinsights.v1.AnnotationBoundary start_boundary = 3; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.contactcenterinsights.v1.AnnotationBoundary, com.google.cloud.contactcenterinsights.v1.AnnotationBoundary.Builder, com.google.cloud.contactcenterinsights.v1.AnnotationBoundaryOrBuilder> + com.google.cloud.contactcenterinsights.v1.AnnotationBoundary, + com.google.cloud.contactcenterinsights.v1.AnnotationBoundary.Builder, + com.google.cloud.contactcenterinsights.v1.AnnotationBoundaryOrBuilder> getStartBoundaryFieldBuilder() { if (startBoundaryBuilder_ == null) { - startBoundaryBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.contactcenterinsights.v1.AnnotationBoundary, com.google.cloud.contactcenterinsights.v1.AnnotationBoundary.Builder, com.google.cloud.contactcenterinsights.v1.AnnotationBoundaryOrBuilder>( - getStartBoundary(), - getParentForChildren(), - isClean()); + startBoundaryBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.contactcenterinsights.v1.AnnotationBoundary, + com.google.cloud.contactcenterinsights.v1.AnnotationBoundary.Builder, + com.google.cloud.contactcenterinsights.v1.AnnotationBoundaryOrBuilder>( + getStartBoundary(), getParentForChildren(), isClean()); startBoundary_ = null; } return startBoundaryBuilder_; @@ -2491,41 +2947,55 @@ public com.google.cloud.contactcenterinsights.v1.AnnotationBoundaryOrBuilder get private com.google.cloud.contactcenterinsights.v1.AnnotationBoundary endBoundary_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.contactcenterinsights.v1.AnnotationBoundary, com.google.cloud.contactcenterinsights.v1.AnnotationBoundary.Builder, com.google.cloud.contactcenterinsights.v1.AnnotationBoundaryOrBuilder> endBoundaryBuilder_; + com.google.cloud.contactcenterinsights.v1.AnnotationBoundary, + com.google.cloud.contactcenterinsights.v1.AnnotationBoundary.Builder, + com.google.cloud.contactcenterinsights.v1.AnnotationBoundaryOrBuilder> + endBoundaryBuilder_; /** + * + * *
      * The boundary in the conversation where the annotation ends, inclusive.
      * 
* * .google.cloud.contactcenterinsights.v1.AnnotationBoundary end_boundary = 4; + * * @return Whether the endBoundary field is set. */ public boolean hasEndBoundary() { return ((bitField0_ & 0x00000100) != 0); } /** + * + * *
      * The boundary in the conversation where the annotation ends, inclusive.
      * 
* * .google.cloud.contactcenterinsights.v1.AnnotationBoundary end_boundary = 4; + * * @return The endBoundary. */ public com.google.cloud.contactcenterinsights.v1.AnnotationBoundary getEndBoundary() { if (endBoundaryBuilder_ == null) { - return endBoundary_ == null ? com.google.cloud.contactcenterinsights.v1.AnnotationBoundary.getDefaultInstance() : endBoundary_; + return endBoundary_ == null + ? com.google.cloud.contactcenterinsights.v1.AnnotationBoundary.getDefaultInstance() + : endBoundary_; } else { return endBoundaryBuilder_.getMessage(); } } /** + * + * *
      * The boundary in the conversation where the annotation ends, inclusive.
      * 
* * .google.cloud.contactcenterinsights.v1.AnnotationBoundary end_boundary = 4; */ - public Builder setEndBoundary(com.google.cloud.contactcenterinsights.v1.AnnotationBoundary value) { + public Builder setEndBoundary( + com.google.cloud.contactcenterinsights.v1.AnnotationBoundary value) { if (endBoundaryBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -2539,6 +3009,8 @@ public Builder setEndBoundary(com.google.cloud.contactcenterinsights.v1.Annotati return this; } /** + * + * *
      * The boundary in the conversation where the annotation ends, inclusive.
      * 
@@ -2557,17 +3029,22 @@ public Builder setEndBoundary( return this; } /** + * + * *
      * The boundary in the conversation where the annotation ends, inclusive.
      * 
* * .google.cloud.contactcenterinsights.v1.AnnotationBoundary end_boundary = 4; */ - public Builder mergeEndBoundary(com.google.cloud.contactcenterinsights.v1.AnnotationBoundary value) { + public Builder mergeEndBoundary( + com.google.cloud.contactcenterinsights.v1.AnnotationBoundary value) { if (endBoundaryBuilder_ == null) { - if (((bitField0_ & 0x00000100) != 0) && - endBoundary_ != null && - endBoundary_ != com.google.cloud.contactcenterinsights.v1.AnnotationBoundary.getDefaultInstance()) { + if (((bitField0_ & 0x00000100) != 0) + && endBoundary_ != null + && endBoundary_ + != com.google.cloud.contactcenterinsights.v1.AnnotationBoundary + .getDefaultInstance()) { getEndBoundaryBuilder().mergeFrom(value); } else { endBoundary_ = value; @@ -2580,6 +3057,8 @@ public Builder mergeEndBoundary(com.google.cloud.contactcenterinsights.v1.Annota return this; } /** + * + * *
      * The boundary in the conversation where the annotation ends, inclusive.
      * 
@@ -2597,33 +3076,42 @@ public Builder clearEndBoundary() { return this; } /** + * + * *
      * The boundary in the conversation where the annotation ends, inclusive.
      * 
* * .google.cloud.contactcenterinsights.v1.AnnotationBoundary end_boundary = 4; */ - public com.google.cloud.contactcenterinsights.v1.AnnotationBoundary.Builder getEndBoundaryBuilder() { + public com.google.cloud.contactcenterinsights.v1.AnnotationBoundary.Builder + getEndBoundaryBuilder() { bitField0_ |= 0x00000100; onChanged(); return getEndBoundaryFieldBuilder().getBuilder(); } /** + * + * *
      * The boundary in the conversation where the annotation ends, inclusive.
      * 
* * .google.cloud.contactcenterinsights.v1.AnnotationBoundary end_boundary = 4; */ - public com.google.cloud.contactcenterinsights.v1.AnnotationBoundaryOrBuilder getEndBoundaryOrBuilder() { + public com.google.cloud.contactcenterinsights.v1.AnnotationBoundaryOrBuilder + getEndBoundaryOrBuilder() { if (endBoundaryBuilder_ != null) { return endBoundaryBuilder_.getMessageOrBuilder(); } else { - return endBoundary_ == null ? - com.google.cloud.contactcenterinsights.v1.AnnotationBoundary.getDefaultInstance() : endBoundary_; + return endBoundary_ == null + ? com.google.cloud.contactcenterinsights.v1.AnnotationBoundary.getDefaultInstance() + : endBoundary_; } } /** + * + * *
      * The boundary in the conversation where the annotation ends, inclusive.
      * 
@@ -2631,14 +3119,17 @@ public com.google.cloud.contactcenterinsights.v1.AnnotationBoundaryOrBuilder get * .google.cloud.contactcenterinsights.v1.AnnotationBoundary end_boundary = 4; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.contactcenterinsights.v1.AnnotationBoundary, com.google.cloud.contactcenterinsights.v1.AnnotationBoundary.Builder, com.google.cloud.contactcenterinsights.v1.AnnotationBoundaryOrBuilder> + com.google.cloud.contactcenterinsights.v1.AnnotationBoundary, + com.google.cloud.contactcenterinsights.v1.AnnotationBoundary.Builder, + com.google.cloud.contactcenterinsights.v1.AnnotationBoundaryOrBuilder> getEndBoundaryFieldBuilder() { if (endBoundaryBuilder_ == null) { - endBoundaryBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.contactcenterinsights.v1.AnnotationBoundary, com.google.cloud.contactcenterinsights.v1.AnnotationBoundary.Builder, com.google.cloud.contactcenterinsights.v1.AnnotationBoundaryOrBuilder>( - getEndBoundary(), - getParentForChildren(), - isClean()); + endBoundaryBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.contactcenterinsights.v1.AnnotationBoundary, + com.google.cloud.contactcenterinsights.v1.AnnotationBoundary.Builder, + com.google.cloud.contactcenterinsights.v1.AnnotationBoundaryOrBuilder>( + getEndBoundary(), getParentForChildren(), isClean()); endBoundary_ = null; } return endBoundaryBuilder_; @@ -2646,41 +3137,55 @@ public com.google.cloud.contactcenterinsights.v1.AnnotationBoundaryOrBuilder get private com.google.cloud.contactcenterinsights.v1.AnswerFeedback answerFeedback_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.contactcenterinsights.v1.AnswerFeedback, com.google.cloud.contactcenterinsights.v1.AnswerFeedback.Builder, com.google.cloud.contactcenterinsights.v1.AnswerFeedbackOrBuilder> answerFeedbackBuilder_; + com.google.cloud.contactcenterinsights.v1.AnswerFeedback, + com.google.cloud.contactcenterinsights.v1.AnswerFeedback.Builder, + com.google.cloud.contactcenterinsights.v1.AnswerFeedbackOrBuilder> + answerFeedbackBuilder_; /** + * + * *
      * The feedback that the customer has about the answer in `data`.
      * 
* * .google.cloud.contactcenterinsights.v1.AnswerFeedback answer_feedback = 5; + * * @return Whether the answerFeedback field is set. */ public boolean hasAnswerFeedback() { return ((bitField0_ & 0x00000200) != 0); } /** + * + * *
      * The feedback that the customer has about the answer in `data`.
      * 
* * .google.cloud.contactcenterinsights.v1.AnswerFeedback answer_feedback = 5; + * * @return The answerFeedback. */ public com.google.cloud.contactcenterinsights.v1.AnswerFeedback getAnswerFeedback() { if (answerFeedbackBuilder_ == null) { - return answerFeedback_ == null ? com.google.cloud.contactcenterinsights.v1.AnswerFeedback.getDefaultInstance() : answerFeedback_; + return answerFeedback_ == null + ? com.google.cloud.contactcenterinsights.v1.AnswerFeedback.getDefaultInstance() + : answerFeedback_; } else { return answerFeedbackBuilder_.getMessage(); } } /** + * + * *
      * The feedback that the customer has about the answer in `data`.
      * 
* * .google.cloud.contactcenterinsights.v1.AnswerFeedback answer_feedback = 5; */ - public Builder setAnswerFeedback(com.google.cloud.contactcenterinsights.v1.AnswerFeedback value) { + public Builder setAnswerFeedback( + com.google.cloud.contactcenterinsights.v1.AnswerFeedback value) { if (answerFeedbackBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -2694,6 +3199,8 @@ public Builder setAnswerFeedback(com.google.cloud.contactcenterinsights.v1.Answe return this; } /** + * + * *
      * The feedback that the customer has about the answer in `data`.
      * 
@@ -2712,17 +3219,21 @@ public Builder setAnswerFeedback( return this; } /** + * + * *
      * The feedback that the customer has about the answer in `data`.
      * 
* * .google.cloud.contactcenterinsights.v1.AnswerFeedback answer_feedback = 5; */ - public Builder mergeAnswerFeedback(com.google.cloud.contactcenterinsights.v1.AnswerFeedback value) { + public Builder mergeAnswerFeedback( + com.google.cloud.contactcenterinsights.v1.AnswerFeedback value) { if (answerFeedbackBuilder_ == null) { - if (((bitField0_ & 0x00000200) != 0) && - answerFeedback_ != null && - answerFeedback_ != com.google.cloud.contactcenterinsights.v1.AnswerFeedback.getDefaultInstance()) { + if (((bitField0_ & 0x00000200) != 0) + && answerFeedback_ != null + && answerFeedback_ + != com.google.cloud.contactcenterinsights.v1.AnswerFeedback.getDefaultInstance()) { getAnswerFeedbackBuilder().mergeFrom(value); } else { answerFeedback_ = value; @@ -2735,6 +3246,8 @@ public Builder mergeAnswerFeedback(com.google.cloud.contactcenterinsights.v1.Ans return this; } /** + * + * *
      * The feedback that the customer has about the answer in `data`.
      * 
@@ -2752,33 +3265,42 @@ public Builder clearAnswerFeedback() { return this; } /** + * + * *
      * The feedback that the customer has about the answer in `data`.
      * 
* * .google.cloud.contactcenterinsights.v1.AnswerFeedback answer_feedback = 5; */ - public com.google.cloud.contactcenterinsights.v1.AnswerFeedback.Builder getAnswerFeedbackBuilder() { + public com.google.cloud.contactcenterinsights.v1.AnswerFeedback.Builder + getAnswerFeedbackBuilder() { bitField0_ |= 0x00000200; onChanged(); return getAnswerFeedbackFieldBuilder().getBuilder(); } /** + * + * *
      * The feedback that the customer has about the answer in `data`.
      * 
* * .google.cloud.contactcenterinsights.v1.AnswerFeedback answer_feedback = 5; */ - public com.google.cloud.contactcenterinsights.v1.AnswerFeedbackOrBuilder getAnswerFeedbackOrBuilder() { + public com.google.cloud.contactcenterinsights.v1.AnswerFeedbackOrBuilder + getAnswerFeedbackOrBuilder() { if (answerFeedbackBuilder_ != null) { return answerFeedbackBuilder_.getMessageOrBuilder(); } else { - return answerFeedback_ == null ? - com.google.cloud.contactcenterinsights.v1.AnswerFeedback.getDefaultInstance() : answerFeedback_; + return answerFeedback_ == null + ? com.google.cloud.contactcenterinsights.v1.AnswerFeedback.getDefaultInstance() + : answerFeedback_; } } /** + * + * *
      * The feedback that the customer has about the answer in `data`.
      * 
@@ -2786,21 +3308,24 @@ public com.google.cloud.contactcenterinsights.v1.AnswerFeedbackOrBuilder getAnsw * .google.cloud.contactcenterinsights.v1.AnswerFeedback answer_feedback = 5; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.contactcenterinsights.v1.AnswerFeedback, com.google.cloud.contactcenterinsights.v1.AnswerFeedback.Builder, com.google.cloud.contactcenterinsights.v1.AnswerFeedbackOrBuilder> + com.google.cloud.contactcenterinsights.v1.AnswerFeedback, + com.google.cloud.contactcenterinsights.v1.AnswerFeedback.Builder, + com.google.cloud.contactcenterinsights.v1.AnswerFeedbackOrBuilder> getAnswerFeedbackFieldBuilder() { if (answerFeedbackBuilder_ == null) { - answerFeedbackBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.contactcenterinsights.v1.AnswerFeedback, com.google.cloud.contactcenterinsights.v1.AnswerFeedback.Builder, com.google.cloud.contactcenterinsights.v1.AnswerFeedbackOrBuilder>( - getAnswerFeedback(), - getParentForChildren(), - isClean()); + answerFeedbackBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.contactcenterinsights.v1.AnswerFeedback, + com.google.cloud.contactcenterinsights.v1.AnswerFeedback.Builder, + com.google.cloud.contactcenterinsights.v1.AnswerFeedbackOrBuilder>( + getAnswerFeedback(), getParentForChildren(), isClean()); answerFeedback_ = null; } return answerFeedbackBuilder_; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -2810,12 +3335,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.contactcenterinsights.v1.RuntimeAnnotation) } // @@protoc_insertion_point(class_scope:google.cloud.contactcenterinsights.v1.RuntimeAnnotation) private static final com.google.cloud.contactcenterinsights.v1.RuntimeAnnotation DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.contactcenterinsights.v1.RuntimeAnnotation(); } @@ -2824,27 +3349,27 @@ public static com.google.cloud.contactcenterinsights.v1.RuntimeAnnotation getDef return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public RuntimeAnnotation parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public RuntimeAnnotation parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -2859,6 +3384,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.contactcenterinsights.v1.RuntimeAnnotation getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/RuntimeAnnotationOrBuilder.java b/java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/RuntimeAnnotationOrBuilder.java similarity index 78% rename from owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/RuntimeAnnotationOrBuilder.java rename to java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/RuntimeAnnotationOrBuilder.java index 55d891c75812..4e2082e340cd 100644 --- a/owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/RuntimeAnnotationOrBuilder.java +++ b/java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/RuntimeAnnotationOrBuilder.java @@ -1,58 +1,94 @@ +/* + * 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. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/contactcenterinsights/v1/resources.proto package com.google.cloud.contactcenterinsights.v1; -public interface RuntimeAnnotationOrBuilder extends +public interface RuntimeAnnotationOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.contactcenterinsights.v1.RuntimeAnnotation) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Agent Assist Article Suggestion data.
    * 
* - * .google.cloud.contactcenterinsights.v1.ArticleSuggestionData article_suggestion = 6; + * .google.cloud.contactcenterinsights.v1.ArticleSuggestionData article_suggestion = 6; + * + * * @return Whether the articleSuggestion field is set. */ boolean hasArticleSuggestion(); /** + * + * *
    * Agent Assist Article Suggestion data.
    * 
* - * .google.cloud.contactcenterinsights.v1.ArticleSuggestionData article_suggestion = 6; + * .google.cloud.contactcenterinsights.v1.ArticleSuggestionData article_suggestion = 6; + * + * * @return The articleSuggestion. */ com.google.cloud.contactcenterinsights.v1.ArticleSuggestionData getArticleSuggestion(); /** + * + * *
    * Agent Assist Article Suggestion data.
    * 
* - * .google.cloud.contactcenterinsights.v1.ArticleSuggestionData article_suggestion = 6; + * .google.cloud.contactcenterinsights.v1.ArticleSuggestionData article_suggestion = 6; + * */ - com.google.cloud.contactcenterinsights.v1.ArticleSuggestionDataOrBuilder getArticleSuggestionOrBuilder(); + com.google.cloud.contactcenterinsights.v1.ArticleSuggestionDataOrBuilder + getArticleSuggestionOrBuilder(); /** + * + * *
    * Agent Assist FAQ answer data.
    * 
* * .google.cloud.contactcenterinsights.v1.FaqAnswerData faq_answer = 7; + * * @return Whether the faqAnswer field is set. */ boolean hasFaqAnswer(); /** + * + * *
    * Agent Assist FAQ answer data.
    * 
* * .google.cloud.contactcenterinsights.v1.FaqAnswerData faq_answer = 7; + * * @return The faqAnswer. */ com.google.cloud.contactcenterinsights.v1.FaqAnswerData getFaqAnswer(); /** + * + * *
    * Agent Assist FAQ answer data.
    * 
@@ -62,24 +98,32 @@ public interface RuntimeAnnotationOrBuilder extends com.google.cloud.contactcenterinsights.v1.FaqAnswerDataOrBuilder getFaqAnswerOrBuilder(); /** + * + * *
    * Agent Assist Smart Reply data.
    * 
* * .google.cloud.contactcenterinsights.v1.SmartReplyData smart_reply = 8; + * * @return Whether the smartReply field is set. */ boolean hasSmartReply(); /** + * + * *
    * Agent Assist Smart Reply data.
    * 
* * .google.cloud.contactcenterinsights.v1.SmartReplyData smart_reply = 8; + * * @return The smartReply. */ com.google.cloud.contactcenterinsights.v1.SmartReplyData getSmartReply(); /** + * + * *
    * Agent Assist Smart Reply data.
    * 
@@ -89,60 +133,92 @@ public interface RuntimeAnnotationOrBuilder extends com.google.cloud.contactcenterinsights.v1.SmartReplyDataOrBuilder getSmartReplyOrBuilder(); /** + * + * *
    * Agent Assist Smart Compose suggestion data.
    * 
* - * .google.cloud.contactcenterinsights.v1.SmartComposeSuggestionData smart_compose_suggestion = 9; + * + * .google.cloud.contactcenterinsights.v1.SmartComposeSuggestionData smart_compose_suggestion = 9; + * + * * @return Whether the smartComposeSuggestion field is set. */ boolean hasSmartComposeSuggestion(); /** + * + * *
    * Agent Assist Smart Compose suggestion data.
    * 
* - * .google.cloud.contactcenterinsights.v1.SmartComposeSuggestionData smart_compose_suggestion = 9; + * + * .google.cloud.contactcenterinsights.v1.SmartComposeSuggestionData smart_compose_suggestion = 9; + * + * * @return The smartComposeSuggestion. */ com.google.cloud.contactcenterinsights.v1.SmartComposeSuggestionData getSmartComposeSuggestion(); /** + * + * *
    * Agent Assist Smart Compose suggestion data.
    * 
* - * .google.cloud.contactcenterinsights.v1.SmartComposeSuggestionData smart_compose_suggestion = 9; + * + * .google.cloud.contactcenterinsights.v1.SmartComposeSuggestionData smart_compose_suggestion = 9; + * */ - com.google.cloud.contactcenterinsights.v1.SmartComposeSuggestionDataOrBuilder getSmartComposeSuggestionOrBuilder(); + com.google.cloud.contactcenterinsights.v1.SmartComposeSuggestionDataOrBuilder + getSmartComposeSuggestionOrBuilder(); /** + * + * *
    * Dialogflow interaction data.
    * 
* - * .google.cloud.contactcenterinsights.v1.DialogflowInteractionData dialogflow_interaction = 10; + * + * .google.cloud.contactcenterinsights.v1.DialogflowInteractionData dialogflow_interaction = 10; + * + * * @return Whether the dialogflowInteraction field is set. */ boolean hasDialogflowInteraction(); /** + * + * *
    * Dialogflow interaction data.
    * 
* - * .google.cloud.contactcenterinsights.v1.DialogflowInteractionData dialogflow_interaction = 10; + * + * .google.cloud.contactcenterinsights.v1.DialogflowInteractionData dialogflow_interaction = 10; + * + * * @return The dialogflowInteraction. */ com.google.cloud.contactcenterinsights.v1.DialogflowInteractionData getDialogflowInteraction(); /** + * + * *
    * Dialogflow interaction data.
    * 
* - * .google.cloud.contactcenterinsights.v1.DialogflowInteractionData dialogflow_interaction = 10; + * + * .google.cloud.contactcenterinsights.v1.DialogflowInteractionData dialogflow_interaction = 10; + * */ - com.google.cloud.contactcenterinsights.v1.DialogflowInteractionDataOrBuilder getDialogflowInteractionOrBuilder(); + com.google.cloud.contactcenterinsights.v1.DialogflowInteractionDataOrBuilder + getDialogflowInteractionOrBuilder(); /** + * + * *
    * The unique identifier of the annotation.
    * Format:
@@ -150,10 +226,13 @@ public interface RuntimeAnnotationOrBuilder extends
    * 
* * string annotation_id = 1; + * * @return The annotationId. */ java.lang.String getAnnotationId(); /** + * + * *
    * The unique identifier of the annotation.
    * Format:
@@ -161,30 +240,38 @@ public interface RuntimeAnnotationOrBuilder extends
    * 
* * string annotation_id = 1; + * * @return The bytes for annotationId. */ - com.google.protobuf.ByteString - getAnnotationIdBytes(); + com.google.protobuf.ByteString getAnnotationIdBytes(); /** + * + * *
    * The time at which this annotation was created.
    * 
* * .google.protobuf.Timestamp create_time = 2; + * * @return Whether the createTime field is set. */ boolean hasCreateTime(); /** + * + * *
    * The time at which this annotation was created.
    * 
* * .google.protobuf.Timestamp create_time = 2; + * * @return The createTime. */ com.google.protobuf.Timestamp getCreateTime(); /** + * + * *
    * The time at which this annotation was created.
    * 
@@ -194,24 +281,32 @@ public interface RuntimeAnnotationOrBuilder extends com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder(); /** + * + * *
    * The boundary in the conversation where the annotation starts, inclusive.
    * 
* * .google.cloud.contactcenterinsights.v1.AnnotationBoundary start_boundary = 3; + * * @return Whether the startBoundary field is set. */ boolean hasStartBoundary(); /** + * + * *
    * The boundary in the conversation where the annotation starts, inclusive.
    * 
* * .google.cloud.contactcenterinsights.v1.AnnotationBoundary start_boundary = 3; + * * @return The startBoundary. */ com.google.cloud.contactcenterinsights.v1.AnnotationBoundary getStartBoundary(); /** + * + * *
    * The boundary in the conversation where the annotation starts, inclusive.
    * 
@@ -221,24 +316,32 @@ public interface RuntimeAnnotationOrBuilder extends com.google.cloud.contactcenterinsights.v1.AnnotationBoundaryOrBuilder getStartBoundaryOrBuilder(); /** + * + * *
    * The boundary in the conversation where the annotation ends, inclusive.
    * 
* * .google.cloud.contactcenterinsights.v1.AnnotationBoundary end_boundary = 4; + * * @return Whether the endBoundary field is set. */ boolean hasEndBoundary(); /** + * + * *
    * The boundary in the conversation where the annotation ends, inclusive.
    * 
* * .google.cloud.contactcenterinsights.v1.AnnotationBoundary end_boundary = 4; + * * @return The endBoundary. */ com.google.cloud.contactcenterinsights.v1.AnnotationBoundary getEndBoundary(); /** + * + * *
    * The boundary in the conversation where the annotation ends, inclusive.
    * 
@@ -248,24 +351,32 @@ public interface RuntimeAnnotationOrBuilder extends com.google.cloud.contactcenterinsights.v1.AnnotationBoundaryOrBuilder getEndBoundaryOrBuilder(); /** + * + * *
    * The feedback that the customer has about the answer in `data`.
    * 
* * .google.cloud.contactcenterinsights.v1.AnswerFeedback answer_feedback = 5; + * * @return Whether the answerFeedback field is set. */ boolean hasAnswerFeedback(); /** + * + * *
    * The feedback that the customer has about the answer in `data`.
    * 
* * .google.cloud.contactcenterinsights.v1.AnswerFeedback answer_feedback = 5; + * * @return The answerFeedback. */ com.google.cloud.contactcenterinsights.v1.AnswerFeedback getAnswerFeedback(); /** + * + * *
    * The feedback that the customer has about the answer in `data`.
    * 
diff --git a/owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/SentimentData.java b/java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/SentimentData.java similarity index 67% rename from owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/SentimentData.java rename to java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/SentimentData.java index 3ee3e5b8f41e..8c3a5073ae11 100644 --- a/owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/SentimentData.java +++ b/java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/SentimentData.java @@ -1,61 +1,82 @@ +/* + * 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. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/contactcenterinsights/v1/resources.proto package com.google.cloud.contactcenterinsights.v1; /** + * + * *
  * The data for a sentiment annotation.
  * 
* * Protobuf type {@code google.cloud.contactcenterinsights.v1.SentimentData} */ -public final class SentimentData extends - com.google.protobuf.GeneratedMessageV3 implements +public final class SentimentData extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.contactcenterinsights.v1.SentimentData) SentimentDataOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use SentimentData.newBuilder() to construct. private SentimentData(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private SentimentData() { - } + + private SentimentData() {} @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new SentimentData(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.contactcenterinsights.v1.ResourcesProto.internal_static_google_cloud_contactcenterinsights_v1_SentimentData_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.contactcenterinsights.v1.ResourcesProto + .internal_static_google_cloud_contactcenterinsights_v1_SentimentData_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.contactcenterinsights.v1.ResourcesProto.internal_static_google_cloud_contactcenterinsights_v1_SentimentData_fieldAccessorTable + return com.google.cloud.contactcenterinsights.v1.ResourcesProto + .internal_static_google_cloud_contactcenterinsights_v1_SentimentData_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.contactcenterinsights.v1.SentimentData.class, com.google.cloud.contactcenterinsights.v1.SentimentData.Builder.class); + com.google.cloud.contactcenterinsights.v1.SentimentData.class, + com.google.cloud.contactcenterinsights.v1.SentimentData.Builder.class); } public static final int MAGNITUDE_FIELD_NUMBER = 1; private float magnitude_ = 0F; /** + * + * *
    * A non-negative number from 0 to infinity which represents the abolute
    * magnitude of sentiment regardless of score.
    * 
* * float magnitude = 1; + * * @return The magnitude. */ @java.lang.Override @@ -66,11 +87,14 @@ public float getMagnitude() { public static final int SCORE_FIELD_NUMBER = 2; private float score_ = 0F; /** + * + * *
    * The sentiment score between -1.0 (negative) and 1.0 (positive).
    * 
* * float score = 2; + * * @return The score. */ @java.lang.Override @@ -79,6 +103,7 @@ public float getScore() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -90,8 +115,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (java.lang.Float.floatToRawIntBits(magnitude_) != 0) { output.writeFloat(1, magnitude_); } @@ -108,12 +132,10 @@ public int getSerializedSize() { size = 0; if (java.lang.Float.floatToRawIntBits(magnitude_) != 0) { - size += com.google.protobuf.CodedOutputStream - .computeFloatSize(1, magnitude_); + size += com.google.protobuf.CodedOutputStream.computeFloatSize(1, magnitude_); } if (java.lang.Float.floatToRawIntBits(score_) != 0) { - size += com.google.protobuf.CodedOutputStream - .computeFloatSize(2, score_); + size += com.google.protobuf.CodedOutputStream.computeFloatSize(2, score_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -123,19 +145,18 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.contactcenterinsights.v1.SentimentData)) { return super.equals(obj); } - com.google.cloud.contactcenterinsights.v1.SentimentData other = (com.google.cloud.contactcenterinsights.v1.SentimentData) obj; + com.google.cloud.contactcenterinsights.v1.SentimentData other = + (com.google.cloud.contactcenterinsights.v1.SentimentData) obj; if (java.lang.Float.floatToIntBits(getMagnitude()) - != java.lang.Float.floatToIntBits( - other.getMagnitude())) return false; + != java.lang.Float.floatToIntBits(other.getMagnitude())) return false; if (java.lang.Float.floatToIntBits(getScore()) - != java.lang.Float.floatToIntBits( - other.getScore())) return false; + != java.lang.Float.floatToIntBits(other.getScore())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -148,140 +169,145 @@ public int hashCode() { int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); hash = (37 * hash) + MAGNITUDE_FIELD_NUMBER; - hash = (53 * hash) + java.lang.Float.floatToIntBits( - getMagnitude()); + hash = (53 * hash) + java.lang.Float.floatToIntBits(getMagnitude()); hash = (37 * hash) + SCORE_FIELD_NUMBER; - hash = (53 * hash) + java.lang.Float.floatToIntBits( - getScore()); + hash = (53 * hash) + java.lang.Float.floatToIntBits(getScore()); hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } public static com.google.cloud.contactcenterinsights.v1.SentimentData parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.contactcenterinsights.v1.SentimentData parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.contactcenterinsights.v1.SentimentData parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.contactcenterinsights.v1.SentimentData parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.contactcenterinsights.v1.SentimentData parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.contactcenterinsights.v1.SentimentData parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.contactcenterinsights.v1.SentimentData parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.contactcenterinsights.v1.SentimentData parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.contactcenterinsights.v1.SentimentData parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.contactcenterinsights.v1.SentimentData parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.contactcenterinsights.v1.SentimentData parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.contactcenterinsights.v1.SentimentData parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.contactcenterinsights.v1.SentimentData parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.contactcenterinsights.v1.SentimentData parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.contactcenterinsights.v1.SentimentData prototype) { + + public static Builder newBuilder( + com.google.cloud.contactcenterinsights.v1.SentimentData prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * The data for a sentiment annotation.
    * 
* * Protobuf type {@code google.cloud.contactcenterinsights.v1.SentimentData} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.contactcenterinsights.v1.SentimentData) com.google.cloud.contactcenterinsights.v1.SentimentDataOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.contactcenterinsights.v1.ResourcesProto.internal_static_google_cloud_contactcenterinsights_v1_SentimentData_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.contactcenterinsights.v1.ResourcesProto + .internal_static_google_cloud_contactcenterinsights_v1_SentimentData_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.contactcenterinsights.v1.ResourcesProto.internal_static_google_cloud_contactcenterinsights_v1_SentimentData_fieldAccessorTable + return com.google.cloud.contactcenterinsights.v1.ResourcesProto + .internal_static_google_cloud_contactcenterinsights_v1_SentimentData_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.contactcenterinsights.v1.SentimentData.class, com.google.cloud.contactcenterinsights.v1.SentimentData.Builder.class); + com.google.cloud.contactcenterinsights.v1.SentimentData.class, + com.google.cloud.contactcenterinsights.v1.SentimentData.Builder.class); } // Construct using com.google.cloud.contactcenterinsights.v1.SentimentData.newBuilder() - private Builder() { + private Builder() {} - } - - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -292,9 +318,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.contactcenterinsights.v1.ResourcesProto.internal_static_google_cloud_contactcenterinsights_v1_SentimentData_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.contactcenterinsights.v1.ResourcesProto + .internal_static_google_cloud_contactcenterinsights_v1_SentimentData_descriptor; } @java.lang.Override @@ -313,8 +339,11 @@ public com.google.cloud.contactcenterinsights.v1.SentimentData build() { @java.lang.Override public com.google.cloud.contactcenterinsights.v1.SentimentData buildPartial() { - com.google.cloud.contactcenterinsights.v1.SentimentData result = new com.google.cloud.contactcenterinsights.v1.SentimentData(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.cloud.contactcenterinsights.v1.SentimentData result = + new com.google.cloud.contactcenterinsights.v1.SentimentData(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } @@ -333,38 +362,39 @@ private void buildPartial0(com.google.cloud.contactcenterinsights.v1.SentimentDa public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.contactcenterinsights.v1.SentimentData) { - return mergeFrom((com.google.cloud.contactcenterinsights.v1.SentimentData)other); + return mergeFrom((com.google.cloud.contactcenterinsights.v1.SentimentData) other); } else { super.mergeFrom(other); return this; @@ -372,7 +402,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.contactcenterinsights.v1.SentimentData other) { - if (other == com.google.cloud.contactcenterinsights.v1.SentimentData.getDefaultInstance()) return this; + if (other == com.google.cloud.contactcenterinsights.v1.SentimentData.getDefaultInstance()) + return this; if (other.getMagnitude() != 0F) { setMagnitude(other.getMagnitude()); } @@ -405,22 +436,25 @@ public Builder mergeFrom( case 0: done = true; break; - case 13: { - magnitude_ = input.readFloat(); - bitField0_ |= 0x00000001; - break; - } // case 13 - case 21: { - score_ = input.readFloat(); - bitField0_ |= 0x00000002; - break; - } // case 21 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 13: + { + magnitude_ = input.readFloat(); + bitField0_ |= 0x00000001; + break; + } // case 13 + case 21: + { + score_ = input.readFloat(); + bitField0_ |= 0x00000002; + break; + } // case 21 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -430,16 +464,20 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; - private float magnitude_ ; + private float magnitude_; /** + * + * *
      * A non-negative number from 0 to infinity which represents the abolute
      * magnitude of sentiment regardless of score.
      * 
* * float magnitude = 1; + * * @return The magnitude. */ @java.lang.Override @@ -447,29 +485,35 @@ public float getMagnitude() { return magnitude_; } /** + * + * *
      * A non-negative number from 0 to infinity which represents the abolute
      * magnitude of sentiment regardless of score.
      * 
* * float magnitude = 1; + * * @param value The magnitude to set. * @return This builder for chaining. */ public Builder setMagnitude(float value) { - + magnitude_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
      * A non-negative number from 0 to infinity which represents the abolute
      * magnitude of sentiment regardless of score.
      * 
* * float magnitude = 1; + * * @return This builder for chaining. */ public Builder clearMagnitude() { @@ -479,13 +523,16 @@ public Builder clearMagnitude() { return this; } - private float score_ ; + private float score_; /** + * + * *
      * The sentiment score between -1.0 (negative) and 1.0 (positive).
      * 
* * float score = 2; + * * @return The score. */ @java.lang.Override @@ -493,27 +540,33 @@ public float getScore() { return score_; } /** + * + * *
      * The sentiment score between -1.0 (negative) and 1.0 (positive).
      * 
* * float score = 2; + * * @param value The score to set. * @return This builder for chaining. */ public Builder setScore(float value) { - + score_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** + * + * *
      * The sentiment score between -1.0 (negative) and 1.0 (positive).
      * 
* * float score = 2; + * * @return This builder for chaining. */ public Builder clearScore() { @@ -522,9 +575,9 @@ public Builder clearScore() { onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -534,12 +587,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.contactcenterinsights.v1.SentimentData) } // @@protoc_insertion_point(class_scope:google.cloud.contactcenterinsights.v1.SentimentData) private static final com.google.cloud.contactcenterinsights.v1.SentimentData DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.contactcenterinsights.v1.SentimentData(); } @@ -548,27 +601,27 @@ public static com.google.cloud.contactcenterinsights.v1.SentimentData getDefault return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public SentimentData parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public SentimentData parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -583,6 +636,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.contactcenterinsights.v1.SentimentData getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/SentimentDataOrBuilder.java b/java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/SentimentDataOrBuilder.java similarity index 53% rename from owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/SentimentDataOrBuilder.java rename to java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/SentimentDataOrBuilder.java index b3ce797b5bbf..1c905b00d804 100644 --- a/owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/SentimentDataOrBuilder.java +++ b/java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/SentimentDataOrBuilder.java @@ -1,29 +1,51 @@ +/* + * 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. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/contactcenterinsights/v1/resources.proto package com.google.cloud.contactcenterinsights.v1; -public interface SentimentDataOrBuilder extends +public interface SentimentDataOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.contactcenterinsights.v1.SentimentData) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * A non-negative number from 0 to infinity which represents the abolute
    * magnitude of sentiment regardless of score.
    * 
* * float magnitude = 1; + * * @return The magnitude. */ float getMagnitude(); /** + * + * *
    * The sentiment score between -1.0 (negative) and 1.0 (positive).
    * 
* * float score = 2; + * * @return The score. */ float getScore(); diff --git a/owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/Settings.java b/java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/Settings.java similarity index 70% rename from owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/Settings.java rename to java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/Settings.java index d97a493f1c86..fa237f12c16c 100644 --- a/owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/Settings.java +++ b/java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/Settings.java @@ -1,24 +1,42 @@ +/* + * 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. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/contactcenterinsights/v1/resources.proto package com.google.cloud.contactcenterinsights.v1; /** + * + * *
  * The settings resource.
  * 
* * Protobuf type {@code google.cloud.contactcenterinsights.v1.Settings} */ -public final class Settings extends - com.google.protobuf.GeneratedMessageV3 implements +public final class Settings extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.contactcenterinsights.v1.Settings) SettingsOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use Settings.newBuilder() to construct. private Settings(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private Settings() { name_ = ""; languageCode_ = ""; @@ -26,77 +44,89 @@ private Settings() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new Settings(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.contactcenterinsights.v1.ResourcesProto.internal_static_google_cloud_contactcenterinsights_v1_Settings_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.contactcenterinsights.v1.ResourcesProto + .internal_static_google_cloud_contactcenterinsights_v1_Settings_descriptor; } @SuppressWarnings({"rawtypes"}) @java.lang.Override - protected com.google.protobuf.MapField internalGetMapField( - int number) { + protected com.google.protobuf.MapField internalGetMapField(int number) { switch (number) { case 6: return internalGetPubsubNotificationSettings(); default: - throw new RuntimeException( - "Invalid map field number: " + number); + throw new RuntimeException("Invalid map field number: " + number); } } + @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.contactcenterinsights.v1.ResourcesProto.internal_static_google_cloud_contactcenterinsights_v1_Settings_fieldAccessorTable + return com.google.cloud.contactcenterinsights.v1.ResourcesProto + .internal_static_google_cloud_contactcenterinsights_v1_Settings_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.contactcenterinsights.v1.Settings.class, com.google.cloud.contactcenterinsights.v1.Settings.Builder.class); + com.google.cloud.contactcenterinsights.v1.Settings.class, + com.google.cloud.contactcenterinsights.v1.Settings.Builder.class); } - public interface AnalysisConfigOrBuilder extends + public interface AnalysisConfigOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.contactcenterinsights.v1.Settings.AnalysisConfig) com.google.protobuf.MessageOrBuilder { /** + * + * *
      * Percentage of conversations created using Dialogflow runtime integration
      * to analyze automatically, between [0, 100].
      * 
* * double runtime_integration_analysis_percentage = 1; + * * @return The runtimeIntegrationAnalysisPercentage. */ double getRuntimeIntegrationAnalysisPercentage(); /** + * + * *
      * To select the annotators to run and the phrase matchers to use
      * (if any). If not specified, all annotators will be run.
      * 
* * .google.cloud.contactcenterinsights.v1.AnnotatorSelector annotator_selector = 5; + * * @return Whether the annotatorSelector field is set. */ boolean hasAnnotatorSelector(); /** + * + * *
      * To select the annotators to run and the phrase matchers to use
      * (if any). If not specified, all annotators will be run.
      * 
* * .google.cloud.contactcenterinsights.v1.AnnotatorSelector annotator_selector = 5; + * * @return The annotatorSelector. */ com.google.cloud.contactcenterinsights.v1.AnnotatorSelector getAnnotatorSelector(); /** + * + * *
      * To select the annotators to run and the phrase matchers to use
      * (if any). If not specified, all annotators will be run.
@@ -104,61 +134,68 @@ public interface AnalysisConfigOrBuilder extends
      *
      * .google.cloud.contactcenterinsights.v1.AnnotatorSelector annotator_selector = 5;
      */
-    com.google.cloud.contactcenterinsights.v1.AnnotatorSelectorOrBuilder getAnnotatorSelectorOrBuilder();
+    com.google.cloud.contactcenterinsights.v1.AnnotatorSelectorOrBuilder
+        getAnnotatorSelectorOrBuilder();
   }
   /**
+   *
+   *
    * 
    * Default configuration when creating Analyses in Insights.
    * 
* * Protobuf type {@code google.cloud.contactcenterinsights.v1.Settings.AnalysisConfig} */ - public static final class AnalysisConfig extends - com.google.protobuf.GeneratedMessageV3 implements + public static final class AnalysisConfig extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.contactcenterinsights.v1.Settings.AnalysisConfig) AnalysisConfigOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use AnalysisConfig.newBuilder() to construct. private AnalysisConfig(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private AnalysisConfig() { - } + + private AnalysisConfig() {} @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new AnalysisConfig(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.contactcenterinsights.v1.ResourcesProto.internal_static_google_cloud_contactcenterinsights_v1_Settings_AnalysisConfig_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.contactcenterinsights.v1.ResourcesProto + .internal_static_google_cloud_contactcenterinsights_v1_Settings_AnalysisConfig_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.contactcenterinsights.v1.ResourcesProto.internal_static_google_cloud_contactcenterinsights_v1_Settings_AnalysisConfig_fieldAccessorTable + return com.google.cloud.contactcenterinsights.v1.ResourcesProto + .internal_static_google_cloud_contactcenterinsights_v1_Settings_AnalysisConfig_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.contactcenterinsights.v1.Settings.AnalysisConfig.class, com.google.cloud.contactcenterinsights.v1.Settings.AnalysisConfig.Builder.class); + com.google.cloud.contactcenterinsights.v1.Settings.AnalysisConfig.class, + com.google.cloud.contactcenterinsights.v1.Settings.AnalysisConfig.Builder.class); } public static final int RUNTIME_INTEGRATION_ANALYSIS_PERCENTAGE_FIELD_NUMBER = 1; private double runtimeIntegrationAnalysisPercentage_ = 0D; /** + * + * *
      * Percentage of conversations created using Dialogflow runtime integration
      * to analyze automatically, between [0, 100].
      * 
* * double runtime_integration_analysis_percentage = 1; + * * @return The runtimeIntegrationAnalysisPercentage. */ @java.lang.Override @@ -169,12 +206,15 @@ public double getRuntimeIntegrationAnalysisPercentage() { public static final int ANNOTATOR_SELECTOR_FIELD_NUMBER = 5; private com.google.cloud.contactcenterinsights.v1.AnnotatorSelector annotatorSelector_; /** + * + * *
      * To select the annotators to run and the phrase matchers to use
      * (if any). If not specified, all annotators will be run.
      * 
* * .google.cloud.contactcenterinsights.v1.AnnotatorSelector annotator_selector = 5; + * * @return Whether the annotatorSelector field is set. */ @java.lang.Override @@ -182,19 +222,26 @@ public boolean hasAnnotatorSelector() { return annotatorSelector_ != null; } /** + * + * *
      * To select the annotators to run and the phrase matchers to use
      * (if any). If not specified, all annotators will be run.
      * 
* * .google.cloud.contactcenterinsights.v1.AnnotatorSelector annotator_selector = 5; + * * @return The annotatorSelector. */ @java.lang.Override public com.google.cloud.contactcenterinsights.v1.AnnotatorSelector getAnnotatorSelector() { - return annotatorSelector_ == null ? com.google.cloud.contactcenterinsights.v1.AnnotatorSelector.getDefaultInstance() : annotatorSelector_; + return annotatorSelector_ == null + ? com.google.cloud.contactcenterinsights.v1.AnnotatorSelector.getDefaultInstance() + : annotatorSelector_; } /** + * + * *
      * To select the annotators to run and the phrase matchers to use
      * (if any). If not specified, all annotators will be run.
@@ -203,11 +250,15 @@ public com.google.cloud.contactcenterinsights.v1.AnnotatorSelector getAnnotatorS
      * .google.cloud.contactcenterinsights.v1.AnnotatorSelector annotator_selector = 5;
      */
     @java.lang.Override
-    public com.google.cloud.contactcenterinsights.v1.AnnotatorSelectorOrBuilder getAnnotatorSelectorOrBuilder() {
-      return annotatorSelector_ == null ? com.google.cloud.contactcenterinsights.v1.AnnotatorSelector.getDefaultInstance() : annotatorSelector_;
+    public com.google.cloud.contactcenterinsights.v1.AnnotatorSelectorOrBuilder
+        getAnnotatorSelectorOrBuilder() {
+      return annotatorSelector_ == null
+          ? com.google.cloud.contactcenterinsights.v1.AnnotatorSelector.getDefaultInstance()
+          : annotatorSelector_;
     }
 
     private byte memoizedIsInitialized = -1;
+
     @java.lang.Override
     public final boolean isInitialized() {
       byte isInitialized = memoizedIsInitialized;
@@ -219,8 +270,7 @@ public final boolean isInitialized() {
     }
 
     @java.lang.Override
-    public void writeTo(com.google.protobuf.CodedOutputStream output)
-                        throws java.io.IOException {
+    public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
       if (java.lang.Double.doubleToRawLongBits(runtimeIntegrationAnalysisPercentage_) != 0) {
         output.writeDouble(1, runtimeIntegrationAnalysisPercentage_);
       }
@@ -237,12 +287,12 @@ public int getSerializedSize() {
 
       size = 0;
       if (java.lang.Double.doubleToRawLongBits(runtimeIntegrationAnalysisPercentage_) != 0) {
-        size += com.google.protobuf.CodedOutputStream
-          .computeDoubleSize(1, runtimeIntegrationAnalysisPercentage_);
+        size +=
+            com.google.protobuf.CodedOutputStream.computeDoubleSize(
+                1, runtimeIntegrationAnalysisPercentage_);
       }
       if (annotatorSelector_ != null) {
-        size += com.google.protobuf.CodedOutputStream
-          .computeMessageSize(5, getAnnotatorSelector());
+        size += com.google.protobuf.CodedOutputStream.computeMessageSize(5, getAnnotatorSelector());
       }
       size += getUnknownFields().getSerializedSize();
       memoizedSize = size;
@@ -252,20 +302,20 @@ public int getSerializedSize() {
     @java.lang.Override
     public boolean equals(final java.lang.Object obj) {
       if (obj == this) {
-       return true;
+        return true;
       }
       if (!(obj instanceof com.google.cloud.contactcenterinsights.v1.Settings.AnalysisConfig)) {
         return super.equals(obj);
       }
-      com.google.cloud.contactcenterinsights.v1.Settings.AnalysisConfig other = (com.google.cloud.contactcenterinsights.v1.Settings.AnalysisConfig) obj;
+      com.google.cloud.contactcenterinsights.v1.Settings.AnalysisConfig other =
+          (com.google.cloud.contactcenterinsights.v1.Settings.AnalysisConfig) obj;
 
       if (java.lang.Double.doubleToLongBits(getRuntimeIntegrationAnalysisPercentage())
-          != java.lang.Double.doubleToLongBits(
-              other.getRuntimeIntegrationAnalysisPercentage())) return false;
+          != java.lang.Double.doubleToLongBits(other.getRuntimeIntegrationAnalysisPercentage()))
+        return false;
       if (hasAnnotatorSelector() != other.hasAnnotatorSelector()) return false;
       if (hasAnnotatorSelector()) {
-        if (!getAnnotatorSelector()
-            .equals(other.getAnnotatorSelector())) return false;
+        if (!getAnnotatorSelector().equals(other.getAnnotatorSelector())) return false;
       }
       if (!getUnknownFields().equals(other.getUnknownFields())) return false;
       return true;
@@ -279,8 +329,10 @@ public int hashCode() {
       int hash = 41;
       hash = (19 * hash) + getDescriptor().hashCode();
       hash = (37 * hash) + RUNTIME_INTEGRATION_ANALYSIS_PERCENTAGE_FIELD_NUMBER;
-      hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
-          java.lang.Double.doubleToLongBits(getRuntimeIntegrationAnalysisPercentage()));
+      hash =
+          (53 * hash)
+              + com.google.protobuf.Internal.hashLong(
+                  java.lang.Double.doubleToLongBits(getRuntimeIntegrationAnalysisPercentage()));
       if (hasAnnotatorSelector()) {
         hash = (37 * hash) + ANNOTATOR_SELECTOR_FIELD_NUMBER;
         hash = (53 * hash) + getAnnotatorSelector().hashCode();
@@ -291,87 +343,95 @@ public int hashCode() {
     }
 
     public static com.google.cloud.contactcenterinsights.v1.Settings.AnalysisConfig parseFrom(
-        java.nio.ByteBuffer data)
-        throws com.google.protobuf.InvalidProtocolBufferException {
+        java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data);
     }
+
     public static com.google.cloud.contactcenterinsights.v1.Settings.AnalysisConfig parseFrom(
-        java.nio.ByteBuffer data,
-        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data, extensionRegistry);
     }
+
     public static com.google.cloud.contactcenterinsights.v1.Settings.AnalysisConfig parseFrom(
         com.google.protobuf.ByteString data)
         throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data);
     }
+
     public static com.google.cloud.contactcenterinsights.v1.Settings.AnalysisConfig parseFrom(
         com.google.protobuf.ByteString data,
         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data, extensionRegistry);
     }
-    public static com.google.cloud.contactcenterinsights.v1.Settings.AnalysisConfig parseFrom(byte[] data)
-        throws com.google.protobuf.InvalidProtocolBufferException {
+
+    public static com.google.cloud.contactcenterinsights.v1.Settings.AnalysisConfig parseFrom(
+        byte[] data) throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data);
     }
+
     public static com.google.cloud.contactcenterinsights.v1.Settings.AnalysisConfig parseFrom(
-        byte[] data,
-        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data, extensionRegistry);
     }
-    public static com.google.cloud.contactcenterinsights.v1.Settings.AnalysisConfig parseFrom(java.io.InputStream input)
-        throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3
-          .parseWithIOException(PARSER, input);
+
+    public static com.google.cloud.contactcenterinsights.v1.Settings.AnalysisConfig parseFrom(
+        java.io.InputStream input) throws java.io.IOException {
+      return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
     }
+
     public static com.google.cloud.contactcenterinsights.v1.Settings.AnalysisConfig parseFrom(
-        java.io.InputStream input,
-        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3
-          .parseWithIOException(PARSER, input, extensionRegistry);
+      return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
+          PARSER, input, extensionRegistry);
     }
-    public static com.google.cloud.contactcenterinsights.v1.Settings.AnalysisConfig parseDelimitedFrom(java.io.InputStream input)
-        throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3
-          .parseDelimitedWithIOException(PARSER, input);
+
+    public static com.google.cloud.contactcenterinsights.v1.Settings.AnalysisConfig
+        parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException {
+      return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
     }
-    public static com.google.cloud.contactcenterinsights.v1.Settings.AnalysisConfig parseDelimitedFrom(
-        java.io.InputStream input,
-        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-        throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3
-          .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
+
+    public static com.google.cloud.contactcenterinsights.v1.Settings.AnalysisConfig
+        parseDelimitedFrom(
+            java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+            throws java.io.IOException {
+      return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(
+          PARSER, input, extensionRegistry);
     }
+
     public static com.google.cloud.contactcenterinsights.v1.Settings.AnalysisConfig parseFrom(
-        com.google.protobuf.CodedInputStream input)
-        throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3
-          .parseWithIOException(PARSER, input);
+        com.google.protobuf.CodedInputStream input) throws java.io.IOException {
+      return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
     }
+
     public static com.google.cloud.contactcenterinsights.v1.Settings.AnalysisConfig parseFrom(
         com.google.protobuf.CodedInputStream input,
         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3
-          .parseWithIOException(PARSER, input, extensionRegistry);
+      return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
+          PARSER, input, extensionRegistry);
     }
 
     @java.lang.Override
-    public Builder newBuilderForType() { return newBuilder(); }
+    public Builder newBuilderForType() {
+      return newBuilder();
+    }
+
     public static Builder newBuilder() {
       return DEFAULT_INSTANCE.toBuilder();
     }
-    public static Builder newBuilder(com.google.cloud.contactcenterinsights.v1.Settings.AnalysisConfig prototype) {
+
+    public static Builder newBuilder(
+        com.google.cloud.contactcenterinsights.v1.Settings.AnalysisConfig prototype) {
       return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
     }
+
     @java.lang.Override
     public Builder toBuilder() {
-      return this == DEFAULT_INSTANCE
-          ? new Builder() : new Builder().mergeFrom(this);
+      return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
     }
 
     @java.lang.Override
@@ -381,39 +441,42 @@ protected Builder newBuilderForType(
       return builder;
     }
     /**
+     *
+     *
      * 
      * Default configuration when creating Analyses in Insights.
      * 
* * Protobuf type {@code google.cloud.contactcenterinsights.v1.Settings.AnalysisConfig} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder + extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.contactcenterinsights.v1.Settings.AnalysisConfig) com.google.cloud.contactcenterinsights.v1.Settings.AnalysisConfigOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.contactcenterinsights.v1.ResourcesProto.internal_static_google_cloud_contactcenterinsights_v1_Settings_AnalysisConfig_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.contactcenterinsights.v1.ResourcesProto + .internal_static_google_cloud_contactcenterinsights_v1_Settings_AnalysisConfig_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.contactcenterinsights.v1.ResourcesProto.internal_static_google_cloud_contactcenterinsights_v1_Settings_AnalysisConfig_fieldAccessorTable + return com.google.cloud.contactcenterinsights.v1.ResourcesProto + .internal_static_google_cloud_contactcenterinsights_v1_Settings_AnalysisConfig_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.contactcenterinsights.v1.Settings.AnalysisConfig.class, com.google.cloud.contactcenterinsights.v1.Settings.AnalysisConfig.Builder.class); + com.google.cloud.contactcenterinsights.v1.Settings.AnalysisConfig.class, + com.google.cloud.contactcenterinsights.v1.Settings.AnalysisConfig.Builder.class); } - // Construct using com.google.cloud.contactcenterinsights.v1.Settings.AnalysisConfig.newBuilder() - private Builder() { + // Construct using + // com.google.cloud.contactcenterinsights.v1.Settings.AnalysisConfig.newBuilder() + private Builder() {} - } - - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -428,14 +491,16 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.contactcenterinsights.v1.ResourcesProto.internal_static_google_cloud_contactcenterinsights_v1_Settings_AnalysisConfig_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.contactcenterinsights.v1.ResourcesProto + .internal_static_google_cloud_contactcenterinsights_v1_Settings_AnalysisConfig_descriptor; } @java.lang.Override - public com.google.cloud.contactcenterinsights.v1.Settings.AnalysisConfig getDefaultInstanceForType() { - return com.google.cloud.contactcenterinsights.v1.Settings.AnalysisConfig.getDefaultInstance(); + public com.google.cloud.contactcenterinsights.v1.Settings.AnalysisConfig + getDefaultInstanceForType() { + return com.google.cloud.contactcenterinsights.v1.Settings.AnalysisConfig + .getDefaultInstance(); } @java.lang.Override @@ -449,21 +514,26 @@ public com.google.cloud.contactcenterinsights.v1.Settings.AnalysisConfig build() @java.lang.Override public com.google.cloud.contactcenterinsights.v1.Settings.AnalysisConfig buildPartial() { - com.google.cloud.contactcenterinsights.v1.Settings.AnalysisConfig result = new com.google.cloud.contactcenterinsights.v1.Settings.AnalysisConfig(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.cloud.contactcenterinsights.v1.Settings.AnalysisConfig result = + new com.google.cloud.contactcenterinsights.v1.Settings.AnalysisConfig(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } - private void buildPartial0(com.google.cloud.contactcenterinsights.v1.Settings.AnalysisConfig result) { + private void buildPartial0( + com.google.cloud.contactcenterinsights.v1.Settings.AnalysisConfig result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { result.runtimeIntegrationAnalysisPercentage_ = runtimeIntegrationAnalysisPercentage_; } if (((from_bitField0_ & 0x00000002) != 0)) { - result.annotatorSelector_ = annotatorSelectorBuilder_ == null - ? annotatorSelector_ - : annotatorSelectorBuilder_.build(); + result.annotatorSelector_ = + annotatorSelectorBuilder_ == null + ? annotatorSelector_ + : annotatorSelectorBuilder_.build(); } } @@ -471,46 +541,53 @@ private void buildPartial0(com.google.cloud.contactcenterinsights.v1.Settings.An public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + int index, + java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.contactcenterinsights.v1.Settings.AnalysisConfig) { - return mergeFrom((com.google.cloud.contactcenterinsights.v1.Settings.AnalysisConfig)other); + return mergeFrom( + (com.google.cloud.contactcenterinsights.v1.Settings.AnalysisConfig) other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.google.cloud.contactcenterinsights.v1.Settings.AnalysisConfig other) { - if (other == com.google.cloud.contactcenterinsights.v1.Settings.AnalysisConfig.getDefaultInstance()) return this; + public Builder mergeFrom( + com.google.cloud.contactcenterinsights.v1.Settings.AnalysisConfig other) { + if (other + == com.google.cloud.contactcenterinsights.v1.Settings.AnalysisConfig + .getDefaultInstance()) return this; if (other.getRuntimeIntegrationAnalysisPercentage() != 0D) { setRuntimeIntegrationAnalysisPercentage(other.getRuntimeIntegrationAnalysisPercentage()); } @@ -543,24 +620,26 @@ public Builder mergeFrom( case 0: done = true; break; - case 9: { - runtimeIntegrationAnalysisPercentage_ = input.readDouble(); - bitField0_ |= 0x00000001; - break; - } // case 9 - case 42: { - input.readMessage( - getAnnotatorSelectorFieldBuilder().getBuilder(), - extensionRegistry); - bitField0_ |= 0x00000002; - break; - } // case 42 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 9: + { + runtimeIntegrationAnalysisPercentage_ = input.readDouble(); + bitField0_ |= 0x00000001; + break; + } // case 9 + case 42: + { + input.readMessage( + getAnnotatorSelectorFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000002; + break; + } // case 42 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -570,16 +649,20 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; - private double runtimeIntegrationAnalysisPercentage_ ; + private double runtimeIntegrationAnalysisPercentage_; /** + * + * *
        * Percentage of conversations created using Dialogflow runtime integration
        * to analyze automatically, between [0, 100].
        * 
* * double runtime_integration_analysis_percentage = 1; + * * @return The runtimeIntegrationAnalysisPercentage. */ @java.lang.Override @@ -587,29 +670,35 @@ public double getRuntimeIntegrationAnalysisPercentage() { return runtimeIntegrationAnalysisPercentage_; } /** + * + * *
        * Percentage of conversations created using Dialogflow runtime integration
        * to analyze automatically, between [0, 100].
        * 
* * double runtime_integration_analysis_percentage = 1; + * * @param value The runtimeIntegrationAnalysisPercentage to set. * @return This builder for chaining. */ public Builder setRuntimeIntegrationAnalysisPercentage(double value) { - + runtimeIntegrationAnalysisPercentage_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
        * Percentage of conversations created using Dialogflow runtime integration
        * to analyze automatically, between [0, 100].
        * 
* * double runtime_integration_analysis_percentage = 1; + * * @return This builder for chaining. */ public Builder clearRuntimeIntegrationAnalysisPercentage() { @@ -621,44 +710,61 @@ public Builder clearRuntimeIntegrationAnalysisPercentage() { private com.google.cloud.contactcenterinsights.v1.AnnotatorSelector annotatorSelector_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.contactcenterinsights.v1.AnnotatorSelector, com.google.cloud.contactcenterinsights.v1.AnnotatorSelector.Builder, com.google.cloud.contactcenterinsights.v1.AnnotatorSelectorOrBuilder> annotatorSelectorBuilder_; + com.google.cloud.contactcenterinsights.v1.AnnotatorSelector, + com.google.cloud.contactcenterinsights.v1.AnnotatorSelector.Builder, + com.google.cloud.contactcenterinsights.v1.AnnotatorSelectorOrBuilder> + annotatorSelectorBuilder_; /** + * + * *
        * To select the annotators to run and the phrase matchers to use
        * (if any). If not specified, all annotators will be run.
        * 
* - * .google.cloud.contactcenterinsights.v1.AnnotatorSelector annotator_selector = 5; + * .google.cloud.contactcenterinsights.v1.AnnotatorSelector annotator_selector = 5; + * + * * @return Whether the annotatorSelector field is set. */ public boolean hasAnnotatorSelector() { return ((bitField0_ & 0x00000002) != 0); } /** + * + * *
        * To select the annotators to run and the phrase matchers to use
        * (if any). If not specified, all annotators will be run.
        * 
* - * .google.cloud.contactcenterinsights.v1.AnnotatorSelector annotator_selector = 5; + * .google.cloud.contactcenterinsights.v1.AnnotatorSelector annotator_selector = 5; + * + * * @return The annotatorSelector. */ public com.google.cloud.contactcenterinsights.v1.AnnotatorSelector getAnnotatorSelector() { if (annotatorSelectorBuilder_ == null) { - return annotatorSelector_ == null ? com.google.cloud.contactcenterinsights.v1.AnnotatorSelector.getDefaultInstance() : annotatorSelector_; + return annotatorSelector_ == null + ? com.google.cloud.contactcenterinsights.v1.AnnotatorSelector.getDefaultInstance() + : annotatorSelector_; } else { return annotatorSelectorBuilder_.getMessage(); } } /** + * + * *
        * To select the annotators to run and the phrase matchers to use
        * (if any). If not specified, all annotators will be run.
        * 
* - * .google.cloud.contactcenterinsights.v1.AnnotatorSelector annotator_selector = 5; + * .google.cloud.contactcenterinsights.v1.AnnotatorSelector annotator_selector = 5; + * */ - public Builder setAnnotatorSelector(com.google.cloud.contactcenterinsights.v1.AnnotatorSelector value) { + public Builder setAnnotatorSelector( + com.google.cloud.contactcenterinsights.v1.AnnotatorSelector value) { if (annotatorSelectorBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -672,12 +778,15 @@ public Builder setAnnotatorSelector(com.google.cloud.contactcenterinsights.v1.An return this; } /** + * + * *
        * To select the annotators to run and the phrase matchers to use
        * (if any). If not specified, all annotators will be run.
        * 
* - * .google.cloud.contactcenterinsights.v1.AnnotatorSelector annotator_selector = 5; + * .google.cloud.contactcenterinsights.v1.AnnotatorSelector annotator_selector = 5; + * */ public Builder setAnnotatorSelector( com.google.cloud.contactcenterinsights.v1.AnnotatorSelector.Builder builderForValue) { @@ -691,18 +800,24 @@ public Builder setAnnotatorSelector( return this; } /** + * + * *
        * To select the annotators to run and the phrase matchers to use
        * (if any). If not specified, all annotators will be run.
        * 
* - * .google.cloud.contactcenterinsights.v1.AnnotatorSelector annotator_selector = 5; + * .google.cloud.contactcenterinsights.v1.AnnotatorSelector annotator_selector = 5; + * */ - public Builder mergeAnnotatorSelector(com.google.cloud.contactcenterinsights.v1.AnnotatorSelector value) { + public Builder mergeAnnotatorSelector( + com.google.cloud.contactcenterinsights.v1.AnnotatorSelector value) { if (annotatorSelectorBuilder_ == null) { - if (((bitField0_ & 0x00000002) != 0) && - annotatorSelector_ != null && - annotatorSelector_ != com.google.cloud.contactcenterinsights.v1.AnnotatorSelector.getDefaultInstance()) { + if (((bitField0_ & 0x00000002) != 0) + && annotatorSelector_ != null + && annotatorSelector_ + != com.google.cloud.contactcenterinsights.v1.AnnotatorSelector + .getDefaultInstance()) { getAnnotatorSelectorBuilder().mergeFrom(value); } else { annotatorSelector_ = value; @@ -715,12 +830,15 @@ public Builder mergeAnnotatorSelector(com.google.cloud.contactcenterinsights.v1. return this; } /** + * + * *
        * To select the annotators to run and the phrase matchers to use
        * (if any). If not specified, all annotators will be run.
        * 
* - * .google.cloud.contactcenterinsights.v1.AnnotatorSelector annotator_selector = 5; + * .google.cloud.contactcenterinsights.v1.AnnotatorSelector annotator_selector = 5; + * */ public Builder clearAnnotatorSelector() { bitField0_ = (bitField0_ & ~0x00000002); @@ -733,55 +851,71 @@ public Builder clearAnnotatorSelector() { return this; } /** + * + * *
        * To select the annotators to run and the phrase matchers to use
        * (if any). If not specified, all annotators will be run.
        * 
* - * .google.cloud.contactcenterinsights.v1.AnnotatorSelector annotator_selector = 5; + * .google.cloud.contactcenterinsights.v1.AnnotatorSelector annotator_selector = 5; + * */ - public com.google.cloud.contactcenterinsights.v1.AnnotatorSelector.Builder getAnnotatorSelectorBuilder() { + public com.google.cloud.contactcenterinsights.v1.AnnotatorSelector.Builder + getAnnotatorSelectorBuilder() { bitField0_ |= 0x00000002; onChanged(); return getAnnotatorSelectorFieldBuilder().getBuilder(); } /** + * + * *
        * To select the annotators to run and the phrase matchers to use
        * (if any). If not specified, all annotators will be run.
        * 
* - * .google.cloud.contactcenterinsights.v1.AnnotatorSelector annotator_selector = 5; + * .google.cloud.contactcenterinsights.v1.AnnotatorSelector annotator_selector = 5; + * */ - public com.google.cloud.contactcenterinsights.v1.AnnotatorSelectorOrBuilder getAnnotatorSelectorOrBuilder() { + public com.google.cloud.contactcenterinsights.v1.AnnotatorSelectorOrBuilder + getAnnotatorSelectorOrBuilder() { if (annotatorSelectorBuilder_ != null) { return annotatorSelectorBuilder_.getMessageOrBuilder(); } else { - return annotatorSelector_ == null ? - com.google.cloud.contactcenterinsights.v1.AnnotatorSelector.getDefaultInstance() : annotatorSelector_; + return annotatorSelector_ == null + ? com.google.cloud.contactcenterinsights.v1.AnnotatorSelector.getDefaultInstance() + : annotatorSelector_; } } /** + * + * *
        * To select the annotators to run and the phrase matchers to use
        * (if any). If not specified, all annotators will be run.
        * 
* - * .google.cloud.contactcenterinsights.v1.AnnotatorSelector annotator_selector = 5; + * .google.cloud.contactcenterinsights.v1.AnnotatorSelector annotator_selector = 5; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.contactcenterinsights.v1.AnnotatorSelector, com.google.cloud.contactcenterinsights.v1.AnnotatorSelector.Builder, com.google.cloud.contactcenterinsights.v1.AnnotatorSelectorOrBuilder> + com.google.cloud.contactcenterinsights.v1.AnnotatorSelector, + com.google.cloud.contactcenterinsights.v1.AnnotatorSelector.Builder, + com.google.cloud.contactcenterinsights.v1.AnnotatorSelectorOrBuilder> getAnnotatorSelectorFieldBuilder() { if (annotatorSelectorBuilder_ == null) { - annotatorSelectorBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.contactcenterinsights.v1.AnnotatorSelector, com.google.cloud.contactcenterinsights.v1.AnnotatorSelector.Builder, com.google.cloud.contactcenterinsights.v1.AnnotatorSelectorOrBuilder>( - getAnnotatorSelector(), - getParentForChildren(), - isClean()); + annotatorSelectorBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.contactcenterinsights.v1.AnnotatorSelector, + com.google.cloud.contactcenterinsights.v1.AnnotatorSelector.Builder, + com.google.cloud.contactcenterinsights.v1.AnnotatorSelectorOrBuilder>( + getAnnotatorSelector(), getParentForChildren(), isClean()); annotatorSelector_ = null; } return annotatorSelectorBuilder_; } + @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -794,41 +928,44 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.contactcenterinsights.v1.Settings.AnalysisConfig) } // @@protoc_insertion_point(class_scope:google.cloud.contactcenterinsights.v1.Settings.AnalysisConfig) - private static final com.google.cloud.contactcenterinsights.v1.Settings.AnalysisConfig DEFAULT_INSTANCE; + private static final com.google.cloud.contactcenterinsights.v1.Settings.AnalysisConfig + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.contactcenterinsights.v1.Settings.AnalysisConfig(); } - public static com.google.cloud.contactcenterinsights.v1.Settings.AnalysisConfig getDefaultInstance() { + public static com.google.cloud.contactcenterinsights.v1.Settings.AnalysisConfig + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public AnalysisConfig parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public AnalysisConfig parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException() + .setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -840,16 +977,19 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.cloud.contactcenterinsights.v1.Settings.AnalysisConfig getDefaultInstanceForType() { + public com.google.cloud.contactcenterinsights.v1.Settings.AnalysisConfig + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } public static final int NAME_FIELD_NUMBER = 1; + @SuppressWarnings("serial") private volatile java.lang.Object name_ = ""; /** + * + * *
    * Immutable. The resource name of the settings resource.
    * Format:
@@ -857,6 +997,7 @@ public com.google.cloud.contactcenterinsights.v1.Settings.AnalysisConfig getDefa
    * 
* * string name = 1 [(.google.api.field_behavior) = IMMUTABLE]; + * * @return The name. */ @java.lang.Override @@ -865,14 +1006,15 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** + * + * *
    * Immutable. The resource name of the settings resource.
    * Format:
@@ -880,16 +1022,15 @@ public java.lang.String getName() {
    * 
* * string name = 1 [(.google.api.field_behavior) = IMMUTABLE]; + * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -900,11 +1041,15 @@ public java.lang.String getName() { public static final int CREATE_TIME_FIELD_NUMBER = 2; private com.google.protobuf.Timestamp createTime_; /** + * + * *
    * Output only. The time at which the settings was created.
    * 
* - * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the createTime field is set. */ @java.lang.Override @@ -912,11 +1057,15 @@ public boolean hasCreateTime() { return createTime_ != null; } /** + * + * *
    * Output only. The time at which the settings was created.
    * 
* - * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The createTime. */ @java.lang.Override @@ -924,11 +1073,14 @@ public com.google.protobuf.Timestamp getCreateTime() { return createTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : createTime_; } /** + * + * *
    * Output only. The time at which the settings was created.
    * 
* - * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ @java.lang.Override public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { @@ -938,11 +1090,15 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { public static final int UPDATE_TIME_FIELD_NUMBER = 3; private com.google.protobuf.Timestamp updateTime_; /** + * + * *
    * Output only. The time at which the settings were last updated.
    * 
* - * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the updateTime field is set. */ @java.lang.Override @@ -950,11 +1106,15 @@ public boolean hasUpdateTime() { return updateTime_ != null; } /** + * + * *
    * Output only. The time at which the settings were last updated.
    * 
* - * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The updateTime. */ @java.lang.Override @@ -962,11 +1122,14 @@ public com.google.protobuf.Timestamp getUpdateTime() { return updateTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : updateTime_; } /** + * + * *
    * Output only. The time at which the settings were last updated.
    * 
* - * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ @java.lang.Override public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { @@ -974,9 +1137,12 @@ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { } public static final int LANGUAGE_CODE_FIELD_NUMBER = 4; + @SuppressWarnings("serial") private volatile java.lang.Object languageCode_ = ""; /** + * + * *
    * A language code to be applied to each transcript segment unless the segment
    * already specifies a language code. Language code defaults to "en-US" if it
@@ -984,6 +1150,7 @@ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() {
    * 
* * string language_code = 4; + * * @return The languageCode. */ @java.lang.Override @@ -992,14 +1159,15 @@ public java.lang.String getLanguageCode() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); languageCode_ = s; return s; } } /** + * + * *
    * A language code to be applied to each transcript segment unless the segment
    * already specifies a language code. Language code defaults to "en-US" if it
@@ -1007,16 +1175,15 @@ public java.lang.String getLanguageCode() {
    * 
* * string language_code = 4; + * * @return The bytes for languageCode. */ @java.lang.Override - public com.google.protobuf.ByteString - getLanguageCodeBytes() { + public com.google.protobuf.ByteString getLanguageCodeBytes() { java.lang.Object ref = languageCode_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); languageCode_ = b; return b; } else { @@ -1027,6 +1194,8 @@ public java.lang.String getLanguageCode() { public static final int CONVERSATION_TTL_FIELD_NUMBER = 5; private com.google.protobuf.Duration conversationTtl_; /** + * + * *
    * The default TTL for newly-created conversations. If a conversation has a
    * specified expiration, that value will be used instead. Changing this
@@ -1035,6 +1204,7 @@ public java.lang.String getLanguageCode() {
    * 
* * .google.protobuf.Duration conversation_ttl = 5; + * * @return Whether the conversationTtl field is set. */ @java.lang.Override @@ -1042,6 +1212,8 @@ public boolean hasConversationTtl() { return conversationTtl_ != null; } /** + * + * *
    * The default TTL for newly-created conversations. If a conversation has a
    * specified expiration, that value will be used instead. Changing this
@@ -1050,13 +1222,18 @@ public boolean hasConversationTtl() {
    * 
* * .google.protobuf.Duration conversation_ttl = 5; + * * @return The conversationTtl. */ @java.lang.Override public com.google.protobuf.Duration getConversationTtl() { - return conversationTtl_ == null ? com.google.protobuf.Duration.getDefaultInstance() : conversationTtl_; + return conversationTtl_ == null + ? com.google.protobuf.Duration.getDefaultInstance() + : conversationTtl_; } /** + * + * *
    * The default TTL for newly-created conversations. If a conversation has a
    * specified expiration, that value will be used instead. Changing this
@@ -1068,36 +1245,43 @@ public com.google.protobuf.Duration getConversationTtl() {
    */
   @java.lang.Override
   public com.google.protobuf.DurationOrBuilder getConversationTtlOrBuilder() {
-    return conversationTtl_ == null ? com.google.protobuf.Duration.getDefaultInstance() : conversationTtl_;
+    return conversationTtl_ == null
+        ? com.google.protobuf.Duration.getDefaultInstance()
+        : conversationTtl_;
   }
 
   public static final int PUBSUB_NOTIFICATION_SETTINGS_FIELD_NUMBER = 6;
+
   private static final class PubsubNotificationSettingsDefaultEntryHolder {
-    static final com.google.protobuf.MapEntry<
-        java.lang.String, java.lang.String> defaultEntry =
-            com.google.protobuf.MapEntry
-            .newDefaultInstance(
-                com.google.cloud.contactcenterinsights.v1.ResourcesProto.internal_static_google_cloud_contactcenterinsights_v1_Settings_PubsubNotificationSettingsEntry_descriptor, 
-                com.google.protobuf.WireFormat.FieldType.STRING,
-                "",
-                com.google.protobuf.WireFormat.FieldType.STRING,
-                "");
+    static final com.google.protobuf.MapEntry defaultEntry =
+        com.google.protobuf.MapEntry.newDefaultInstance(
+            com.google.cloud.contactcenterinsights.v1.ResourcesProto
+                .internal_static_google_cloud_contactcenterinsights_v1_Settings_PubsubNotificationSettingsEntry_descriptor,
+            com.google.protobuf.WireFormat.FieldType.STRING,
+            "",
+            com.google.protobuf.WireFormat.FieldType.STRING,
+            "");
   }
+
   @SuppressWarnings("serial")
-  private com.google.protobuf.MapField<
-      java.lang.String, java.lang.String> pubsubNotificationSettings_;
   private com.google.protobuf.MapField
-  internalGetPubsubNotificationSettings() {
+      pubsubNotificationSettings_;
+
+  private com.google.protobuf.MapField
+      internalGetPubsubNotificationSettings() {
     if (pubsubNotificationSettings_ == null) {
       return com.google.protobuf.MapField.emptyMapField(
           PubsubNotificationSettingsDefaultEntryHolder.defaultEntry);
     }
     return pubsubNotificationSettings_;
   }
+
   public int getPubsubNotificationSettingsCount() {
     return internalGetPubsubNotificationSettings().getMap().size();
   }
   /**
+   *
+   *
    * 
    * A map that maps a notification trigger to a Pub/Sub topic. Each time a
    * specified trigger occurs, Insights will notify the corresponding Pub/Sub
@@ -1116,20 +1300,21 @@ public int getPubsubNotificationSettingsCount() {
    * map<string, string> pubsub_notification_settings = 6;
    */
   @java.lang.Override
-  public boolean containsPubsubNotificationSettings(
-      java.lang.String key) {
-    if (key == null) { throw new NullPointerException("map key"); }
+  public boolean containsPubsubNotificationSettings(java.lang.String key) {
+    if (key == null) {
+      throw new NullPointerException("map key");
+    }
     return internalGetPubsubNotificationSettings().getMap().containsKey(key);
   }
-  /**
-   * Use {@link #getPubsubNotificationSettingsMap()} instead.
-   */
+  /** Use {@link #getPubsubNotificationSettingsMap()} instead. */
   @java.lang.Override
   @java.lang.Deprecated
   public java.util.Map getPubsubNotificationSettings() {
     return getPubsubNotificationSettingsMap();
   }
   /**
+   *
+   *
    * 
    * A map that maps a notification trigger to a Pub/Sub topic. Each time a
    * specified trigger occurs, Insights will notify the corresponding Pub/Sub
@@ -1152,6 +1337,8 @@ public java.util.Map getPubsubNotificationSe
     return internalGetPubsubNotificationSettings().getMap();
   }
   /**
+   *
+   *
    * 
    * A map that maps a notification trigger to a Pub/Sub topic. Each time a
    * specified trigger occurs, Insights will notify the corresponding Pub/Sub
@@ -1170,17 +1357,20 @@ public java.util.Map getPubsubNotificationSe
    * map<string, string> pubsub_notification_settings = 6;
    */
   @java.lang.Override
-  public /* nullable */
-java.lang.String getPubsubNotificationSettingsOrDefault(
+  public /* nullable */ java.lang.String getPubsubNotificationSettingsOrDefault(
       java.lang.String key,
       /* nullable */
-java.lang.String defaultValue) {
-    if (key == null) { throw new NullPointerException("map key"); }
+      java.lang.String defaultValue) {
+    if (key == null) {
+      throw new NullPointerException("map key");
+    }
     java.util.Map map =
         internalGetPubsubNotificationSettings().getMap();
     return map.containsKey(key) ? map.get(key) : defaultValue;
   }
   /**
+   *
+   *
    * 
    * A map that maps a notification trigger to a Pub/Sub topic. Each time a
    * specified trigger occurs, Insights will notify the corresponding Pub/Sub
@@ -1199,9 +1389,10 @@ java.lang.String getPubsubNotificationSettingsOrDefault(
    * map<string, string> pubsub_notification_settings = 6;
    */
   @java.lang.Override
-  public java.lang.String getPubsubNotificationSettingsOrThrow(
-      java.lang.String key) {
-    if (key == null) { throw new NullPointerException("map key"); }
+  public java.lang.String getPubsubNotificationSettingsOrThrow(java.lang.String key) {
+    if (key == null) {
+      throw new NullPointerException("map key");
+    }
     java.util.Map map =
         internalGetPubsubNotificationSettings().getMap();
     if (!map.containsKey(key)) {
@@ -1213,11 +1404,15 @@ public java.lang.String getPubsubNotificationSettingsOrThrow(
   public static final int ANALYSIS_CONFIG_FIELD_NUMBER = 7;
   private com.google.cloud.contactcenterinsights.v1.Settings.AnalysisConfig analysisConfig_;
   /**
+   *
+   *
    * 
    * Default analysis settings.
    * 
* - * .google.cloud.contactcenterinsights.v1.Settings.AnalysisConfig analysis_config = 7; + * .google.cloud.contactcenterinsights.v1.Settings.AnalysisConfig analysis_config = 7; + * + * * @return Whether the analysisConfig field is set. */ @java.lang.Override @@ -1225,30 +1420,43 @@ public boolean hasAnalysisConfig() { return analysisConfig_ != null; } /** + * + * *
    * Default analysis settings.
    * 
* - * .google.cloud.contactcenterinsights.v1.Settings.AnalysisConfig analysis_config = 7; + * .google.cloud.contactcenterinsights.v1.Settings.AnalysisConfig analysis_config = 7; + * + * * @return The analysisConfig. */ @java.lang.Override public com.google.cloud.contactcenterinsights.v1.Settings.AnalysisConfig getAnalysisConfig() { - return analysisConfig_ == null ? com.google.cloud.contactcenterinsights.v1.Settings.AnalysisConfig.getDefaultInstance() : analysisConfig_; + return analysisConfig_ == null + ? com.google.cloud.contactcenterinsights.v1.Settings.AnalysisConfig.getDefaultInstance() + : analysisConfig_; } /** + * + * *
    * Default analysis settings.
    * 
* - * .google.cloud.contactcenterinsights.v1.Settings.AnalysisConfig analysis_config = 7; + * .google.cloud.contactcenterinsights.v1.Settings.AnalysisConfig analysis_config = 7; + * */ @java.lang.Override - public com.google.cloud.contactcenterinsights.v1.Settings.AnalysisConfigOrBuilder getAnalysisConfigOrBuilder() { - return analysisConfig_ == null ? com.google.cloud.contactcenterinsights.v1.Settings.AnalysisConfig.getDefaultInstance() : analysisConfig_; + public com.google.cloud.contactcenterinsights.v1.Settings.AnalysisConfigOrBuilder + getAnalysisConfigOrBuilder() { + return analysisConfig_ == null + ? com.google.cloud.contactcenterinsights.v1.Settings.AnalysisConfig.getDefaultInstance() + : analysisConfig_; } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -1260,8 +1468,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -1277,8 +1484,7 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) if (conversationTtl_ != null) { output.writeMessage(5, getConversationTtl()); } - com.google.protobuf.GeneratedMessageV3 - .serializeStringMapTo( + com.google.protobuf.GeneratedMessageV3.serializeStringMapTo( output, internalGetPubsubNotificationSettings(), PubsubNotificationSettingsDefaultEntryHolder.defaultEntry, @@ -1299,33 +1505,31 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_); } if (createTime_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, getCreateTime()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getCreateTime()); } if (updateTime_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(3, getUpdateTime()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getUpdateTime()); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(languageCode_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, languageCode_); } if (conversationTtl_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(5, getConversationTtl()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(5, getConversationTtl()); } - for (java.util.Map.Entry entry - : internalGetPubsubNotificationSettings().getMap().entrySet()) { + for (java.util.Map.Entry entry : + internalGetPubsubNotificationSettings().getMap().entrySet()) { com.google.protobuf.MapEntry - pubsubNotificationSettings__ = PubsubNotificationSettingsDefaultEntryHolder.defaultEntry.newBuilderForType() - .setKey(entry.getKey()) - .setValue(entry.getValue()) - .build(); - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(6, pubsubNotificationSettings__); + pubsubNotificationSettings__ = + PubsubNotificationSettingsDefaultEntryHolder.defaultEntry + .newBuilderForType() + .setKey(entry.getKey()) + .setValue(entry.getValue()) + .build(); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize(6, pubsubNotificationSettings__); } if (analysisConfig_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(7, getAnalysisConfig()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(7, getAnalysisConfig()); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -1335,38 +1539,33 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.contactcenterinsights.v1.Settings)) { return super.equals(obj); } - com.google.cloud.contactcenterinsights.v1.Settings other = (com.google.cloud.contactcenterinsights.v1.Settings) obj; + com.google.cloud.contactcenterinsights.v1.Settings other = + (com.google.cloud.contactcenterinsights.v1.Settings) obj; - if (!getName() - .equals(other.getName())) return false; + if (!getName().equals(other.getName())) return false; if (hasCreateTime() != other.hasCreateTime()) return false; if (hasCreateTime()) { - if (!getCreateTime() - .equals(other.getCreateTime())) return false; + if (!getCreateTime().equals(other.getCreateTime())) return false; } if (hasUpdateTime() != other.hasUpdateTime()) return false; if (hasUpdateTime()) { - if (!getUpdateTime() - .equals(other.getUpdateTime())) return false; + if (!getUpdateTime().equals(other.getUpdateTime())) return false; } - if (!getLanguageCode() - .equals(other.getLanguageCode())) return false; + if (!getLanguageCode().equals(other.getLanguageCode())) return false; if (hasConversationTtl() != other.hasConversationTtl()) return false; if (hasConversationTtl()) { - if (!getConversationTtl() - .equals(other.getConversationTtl())) return false; + if (!getConversationTtl().equals(other.getConversationTtl())) return false; } - if (!internalGetPubsubNotificationSettings().equals( - other.internalGetPubsubNotificationSettings())) return false; + if (!internalGetPubsubNotificationSettings() + .equals(other.internalGetPubsubNotificationSettings())) return false; if (hasAnalysisConfig() != other.hasAnalysisConfig()) return false; if (hasAnalysisConfig()) { - if (!getAnalysisConfig() - .equals(other.getAnalysisConfig())) return false; + if (!getAnalysisConfig().equals(other.getAnalysisConfig())) return false; } if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -1409,151 +1608,155 @@ public int hashCode() { } public static com.google.cloud.contactcenterinsights.v1.Settings parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.contactcenterinsights.v1.Settings parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.contactcenterinsights.v1.Settings parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.contactcenterinsights.v1.Settings parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.contactcenterinsights.v1.Settings parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.contactcenterinsights.v1.Settings parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.contactcenterinsights.v1.Settings parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.contactcenterinsights.v1.Settings parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.contactcenterinsights.v1.Settings parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.contactcenterinsights.v1.Settings parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.contactcenterinsights.v1.Settings parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.contactcenterinsights.v1.Settings parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.contactcenterinsights.v1.Settings parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.contactcenterinsights.v1.Settings parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.cloud.contactcenterinsights.v1.Settings prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * The settings resource.
    * 
* * Protobuf type {@code google.cloud.contactcenterinsights.v1.Settings} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.contactcenterinsights.v1.Settings) com.google.cloud.contactcenterinsights.v1.SettingsOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.contactcenterinsights.v1.ResourcesProto.internal_static_google_cloud_contactcenterinsights_v1_Settings_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.contactcenterinsights.v1.ResourcesProto + .internal_static_google_cloud_contactcenterinsights_v1_Settings_descriptor; } @SuppressWarnings({"rawtypes"}) - protected com.google.protobuf.MapField internalGetMapField( - int number) { + protected com.google.protobuf.MapField internalGetMapField(int number) { switch (number) { case 6: return internalGetPubsubNotificationSettings(); default: - throw new RuntimeException( - "Invalid map field number: " + number); + throw new RuntimeException("Invalid map field number: " + number); } } + @SuppressWarnings({"rawtypes"}) - protected com.google.protobuf.MapField internalGetMutableMapField( - int number) { + protected com.google.protobuf.MapField internalGetMutableMapField(int number) { switch (number) { case 6: return internalGetMutablePubsubNotificationSettings(); default: - throw new RuntimeException( - "Invalid map field number: " + number); + throw new RuntimeException("Invalid map field number: " + number); } } + @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.contactcenterinsights.v1.ResourcesProto.internal_static_google_cloud_contactcenterinsights_v1_Settings_fieldAccessorTable + return com.google.cloud.contactcenterinsights.v1.ResourcesProto + .internal_static_google_cloud_contactcenterinsights_v1_Settings_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.contactcenterinsights.v1.Settings.class, com.google.cloud.contactcenterinsights.v1.Settings.Builder.class); + com.google.cloud.contactcenterinsights.v1.Settings.class, + com.google.cloud.contactcenterinsights.v1.Settings.Builder.class); } // Construct using com.google.cloud.contactcenterinsights.v1.Settings.newBuilder() - private Builder() { + private Builder() {} - } - - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -1585,9 +1788,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.contactcenterinsights.v1.ResourcesProto.internal_static_google_cloud_contactcenterinsights_v1_Settings_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.contactcenterinsights.v1.ResourcesProto + .internal_static_google_cloud_contactcenterinsights_v1_Settings_descriptor; } @java.lang.Override @@ -1606,8 +1809,11 @@ public com.google.cloud.contactcenterinsights.v1.Settings build() { @java.lang.Override public com.google.cloud.contactcenterinsights.v1.Settings buildPartial() { - com.google.cloud.contactcenterinsights.v1.Settings result = new com.google.cloud.contactcenterinsights.v1.Settings(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.cloud.contactcenterinsights.v1.Settings result = + new com.google.cloud.contactcenterinsights.v1.Settings(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } @@ -1618,31 +1824,25 @@ private void buildPartial0(com.google.cloud.contactcenterinsights.v1.Settings re result.name_ = name_; } if (((from_bitField0_ & 0x00000002) != 0)) { - result.createTime_ = createTimeBuilder_ == null - ? createTime_ - : createTimeBuilder_.build(); + result.createTime_ = createTimeBuilder_ == null ? createTime_ : createTimeBuilder_.build(); } if (((from_bitField0_ & 0x00000004) != 0)) { - result.updateTime_ = updateTimeBuilder_ == null - ? updateTime_ - : updateTimeBuilder_.build(); + result.updateTime_ = updateTimeBuilder_ == null ? updateTime_ : updateTimeBuilder_.build(); } if (((from_bitField0_ & 0x00000008) != 0)) { result.languageCode_ = languageCode_; } if (((from_bitField0_ & 0x00000010) != 0)) { - result.conversationTtl_ = conversationTtlBuilder_ == null - ? conversationTtl_ - : conversationTtlBuilder_.build(); + result.conversationTtl_ = + conversationTtlBuilder_ == null ? conversationTtl_ : conversationTtlBuilder_.build(); } if (((from_bitField0_ & 0x00000020) != 0)) { result.pubsubNotificationSettings_ = internalGetPubsubNotificationSettings(); result.pubsubNotificationSettings_.makeImmutable(); } if (((from_bitField0_ & 0x00000040) != 0)) { - result.analysisConfig_ = analysisConfigBuilder_ == null - ? analysisConfig_ - : analysisConfigBuilder_.build(); + result.analysisConfig_ = + analysisConfigBuilder_ == null ? analysisConfig_ : analysisConfigBuilder_.build(); } } @@ -1650,38 +1850,39 @@ private void buildPartial0(com.google.cloud.contactcenterinsights.v1.Settings re public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.contactcenterinsights.v1.Settings) { - return mergeFrom((com.google.cloud.contactcenterinsights.v1.Settings)other); + return mergeFrom((com.google.cloud.contactcenterinsights.v1.Settings) other); } else { super.mergeFrom(other); return this; @@ -1689,7 +1890,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.contactcenterinsights.v1.Settings other) { - if (other == com.google.cloud.contactcenterinsights.v1.Settings.getDefaultInstance()) return this; + if (other == com.google.cloud.contactcenterinsights.v1.Settings.getDefaultInstance()) + return this; if (!other.getName().isEmpty()) { name_ = other.name_; bitField0_ |= 0x00000001; @@ -1709,8 +1911,8 @@ public Builder mergeFrom(com.google.cloud.contactcenterinsights.v1.Settings othe if (other.hasConversationTtl()) { mergeConversationTtl(other.getConversationTtl()); } - internalGetMutablePubsubNotificationSettings().mergeFrom( - other.internalGetPubsubNotificationSettings()); + internalGetMutablePubsubNotificationSettings() + .mergeFrom(other.internalGetPubsubNotificationSettings()); bitField0_ |= 0x00000020; if (other.hasAnalysisConfig()) { mergeAnalysisConfig(other.getAnalysisConfig()); @@ -1741,59 +1943,65 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - name_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: { - input.readMessage( - getCreateTimeFieldBuilder().getBuilder(), - extensionRegistry); - bitField0_ |= 0x00000002; - break; - } // case 18 - case 26: { - input.readMessage( - getUpdateTimeFieldBuilder().getBuilder(), - extensionRegistry); - bitField0_ |= 0x00000004; - break; - } // case 26 - case 34: { - languageCode_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000008; - break; - } // case 34 - case 42: { - input.readMessage( - getConversationTtlFieldBuilder().getBuilder(), - extensionRegistry); - bitField0_ |= 0x00000010; - break; - } // case 42 - case 50: { - com.google.protobuf.MapEntry - pubsubNotificationSettings__ = input.readMessage( - PubsubNotificationSettingsDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry); - internalGetMutablePubsubNotificationSettings().getMutableMap().put( - pubsubNotificationSettings__.getKey(), pubsubNotificationSettings__.getValue()); - bitField0_ |= 0x00000020; - break; - } // case 50 - case 58: { - input.readMessage( - getAnalysisConfigFieldBuilder().getBuilder(), - extensionRegistry); - bitField0_ |= 0x00000040; - break; - } // case 58 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + name_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: + { + input.readMessage(getCreateTimeFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000002; + break; + } // case 18 + case 26: + { + input.readMessage(getUpdateTimeFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000004; + break; + } // case 26 + case 34: + { + languageCode_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000008; + break; + } // case 34 + case 42: + { + input.readMessage(getConversationTtlFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000010; + break; + } // case 42 + case 50: + { + com.google.protobuf.MapEntry + pubsubNotificationSettings__ = + input.readMessage( + PubsubNotificationSettingsDefaultEntryHolder.defaultEntry + .getParserForType(), + extensionRegistry); + internalGetMutablePubsubNotificationSettings() + .getMutableMap() + .put( + pubsubNotificationSettings__.getKey(), + pubsubNotificationSettings__.getValue()); + bitField0_ |= 0x00000020; + break; + } // case 50 + case 58: + { + input.readMessage(getAnalysisConfigFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000040; + break; + } // case 58 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -1803,10 +2011,13 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private java.lang.Object name_ = ""; /** + * + * *
      * Immutable. The resource name of the settings resource.
      * Format:
@@ -1814,13 +2025,13 @@ public Builder mergeFrom(
      * 
* * string name = 1 [(.google.api.field_behavior) = IMMUTABLE]; + * * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -1829,6 +2040,8 @@ public java.lang.String getName() { } } /** + * + * *
      * Immutable. The resource name of the settings resource.
      * Format:
@@ -1836,15 +2049,14 @@ public java.lang.String getName() {
      * 
* * string name = 1 [(.google.api.field_behavior) = IMMUTABLE]; + * * @return The bytes for name. */ - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -1852,6 +2064,8 @@ public java.lang.String getName() { } } /** + * + * *
      * Immutable. The resource name of the settings resource.
      * Format:
@@ -1859,18 +2073,22 @@ public java.lang.String getName() {
      * 
* * string name = 1 [(.google.api.field_behavior) = IMMUTABLE]; + * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setName(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } name_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
      * Immutable. The resource name of the settings resource.
      * Format:
@@ -1878,6 +2096,7 @@ public Builder setName(
      * 
* * string name = 1 [(.google.api.field_behavior) = IMMUTABLE]; + * * @return This builder for chaining. */ public Builder clearName() { @@ -1887,6 +2106,8 @@ public Builder clearName() { return this; } /** + * + * *
      * Immutable. The resource name of the settings resource.
      * Format:
@@ -1894,12 +2115,14 @@ public Builder clearName() {
      * 
* * string name = 1 [(.google.api.field_behavior) = IMMUTABLE]; + * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setNameBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); name_ = value; bitField0_ |= 0x00000001; @@ -1909,39 +2132,58 @@ public Builder setNameBytes( private com.google.protobuf.Timestamp createTime_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> createTimeBuilder_; + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder> + createTimeBuilder_; /** + * + * *
      * Output only. The time at which the settings was created.
      * 
* - * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the createTime field is set. */ public boolean hasCreateTime() { return ((bitField0_ & 0x00000002) != 0); } /** + * + * *
      * Output only. The time at which the settings was created.
      * 
* - * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The createTime. */ public com.google.protobuf.Timestamp getCreateTime() { if (createTimeBuilder_ == null) { - return createTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : createTime_; + return createTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : createTime_; } else { return createTimeBuilder_.getMessage(); } } /** + * + * *
      * Output only. The time at which the settings was created.
      * 
* - * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder setCreateTime(com.google.protobuf.Timestamp value) { if (createTimeBuilder_ == null) { @@ -1957,14 +2199,17 @@ public Builder setCreateTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * Output only. The time at which the settings was created.
      * 
* - * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - public Builder setCreateTime( - com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setCreateTime(com.google.protobuf.Timestamp.Builder builderForValue) { if (createTimeBuilder_ == null) { createTime_ = builderForValue.build(); } else { @@ -1975,17 +2220,21 @@ public Builder setCreateTime( return this; } /** + * + * *
      * Output only. The time at which the settings was created.
      * 
* - * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder mergeCreateTime(com.google.protobuf.Timestamp value) { if (createTimeBuilder_ == null) { - if (((bitField0_ & 0x00000002) != 0) && - createTime_ != null && - createTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { + if (((bitField0_ & 0x00000002) != 0) + && createTime_ != null + && createTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { getCreateTimeBuilder().mergeFrom(value); } else { createTime_ = value; @@ -1998,11 +2247,15 @@ public Builder mergeCreateTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * Output only. The time at which the settings was created.
      * 
* - * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder clearCreateTime() { bitField0_ = (bitField0_ & ~0x00000002); @@ -2015,11 +2268,15 @@ public Builder clearCreateTime() { return this; } /** + * + * *
      * Output only. The time at which the settings was created.
      * 
* - * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public com.google.protobuf.Timestamp.Builder getCreateTimeBuilder() { bitField0_ |= 0x00000002; @@ -2027,36 +2284,48 @@ public com.google.protobuf.Timestamp.Builder getCreateTimeBuilder() { return getCreateTimeFieldBuilder().getBuilder(); } /** + * + * *
      * Output only. The time at which the settings was created.
      * 
* - * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { if (createTimeBuilder_ != null) { return createTimeBuilder_.getMessageOrBuilder(); } else { - return createTime_ == null ? - com.google.protobuf.Timestamp.getDefaultInstance() : createTime_; + return createTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : createTime_; } } /** + * + * *
      * Output only. The time at which the settings was created.
      * 
* - * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder> getCreateTimeFieldBuilder() { if (createTimeBuilder_ == null) { - createTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( - getCreateTime(), - getParentForChildren(), - isClean()); + createTimeBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder>( + getCreateTime(), getParentForChildren(), isClean()); createTime_ = null; } return createTimeBuilder_; @@ -2064,39 +2333,58 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { private com.google.protobuf.Timestamp updateTime_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> updateTimeBuilder_; + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder> + updateTimeBuilder_; /** + * + * *
      * Output only. The time at which the settings were last updated.
      * 
* - * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the updateTime field is set. */ public boolean hasUpdateTime() { return ((bitField0_ & 0x00000004) != 0); } /** + * + * *
      * Output only. The time at which the settings were last updated.
      * 
* - * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The updateTime. */ public com.google.protobuf.Timestamp getUpdateTime() { if (updateTimeBuilder_ == null) { - return updateTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : updateTime_; + return updateTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : updateTime_; } else { return updateTimeBuilder_.getMessage(); } } /** + * + * *
      * Output only. The time at which the settings were last updated.
      * 
* - * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder setUpdateTime(com.google.protobuf.Timestamp value) { if (updateTimeBuilder_ == null) { @@ -2112,14 +2400,17 @@ public Builder setUpdateTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * Output only. The time at which the settings were last updated.
      * 
* - * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - public Builder setUpdateTime( - com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setUpdateTime(com.google.protobuf.Timestamp.Builder builderForValue) { if (updateTimeBuilder_ == null) { updateTime_ = builderForValue.build(); } else { @@ -2130,17 +2421,21 @@ public Builder setUpdateTime( return this; } /** + * + * *
      * Output only. The time at which the settings were last updated.
      * 
* - * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder mergeUpdateTime(com.google.protobuf.Timestamp value) { if (updateTimeBuilder_ == null) { - if (((bitField0_ & 0x00000004) != 0) && - updateTime_ != null && - updateTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { + if (((bitField0_ & 0x00000004) != 0) + && updateTime_ != null + && updateTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { getUpdateTimeBuilder().mergeFrom(value); } else { updateTime_ = value; @@ -2153,11 +2448,15 @@ public Builder mergeUpdateTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * Output only. The time at which the settings were last updated.
      * 
* - * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder clearUpdateTime() { bitField0_ = (bitField0_ & ~0x00000004); @@ -2170,11 +2469,15 @@ public Builder clearUpdateTime() { return this; } /** + * + * *
      * Output only. The time at which the settings were last updated.
      * 
* - * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public com.google.protobuf.Timestamp.Builder getUpdateTimeBuilder() { bitField0_ |= 0x00000004; @@ -2182,36 +2485,48 @@ public com.google.protobuf.Timestamp.Builder getUpdateTimeBuilder() { return getUpdateTimeFieldBuilder().getBuilder(); } /** + * + * *
      * Output only. The time at which the settings were last updated.
      * 
* - * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { if (updateTimeBuilder_ != null) { return updateTimeBuilder_.getMessageOrBuilder(); } else { - return updateTime_ == null ? - com.google.protobuf.Timestamp.getDefaultInstance() : updateTime_; + return updateTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : updateTime_; } } /** + * + * *
      * Output only. The time at which the settings were last updated.
      * 
* - * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder> getUpdateTimeFieldBuilder() { if (updateTimeBuilder_ == null) { - updateTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( - getUpdateTime(), - getParentForChildren(), - isClean()); + updateTimeBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder>( + getUpdateTime(), getParentForChildren(), isClean()); updateTime_ = null; } return updateTimeBuilder_; @@ -2219,6 +2534,8 @@ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { private java.lang.Object languageCode_ = ""; /** + * + * *
      * A language code to be applied to each transcript segment unless the segment
      * already specifies a language code. Language code defaults to "en-US" if it
@@ -2226,13 +2543,13 @@ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() {
      * 
* * string language_code = 4; + * * @return The languageCode. */ public java.lang.String getLanguageCode() { java.lang.Object ref = languageCode_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); languageCode_ = s; return s; @@ -2241,6 +2558,8 @@ public java.lang.String getLanguageCode() { } } /** + * + * *
      * A language code to be applied to each transcript segment unless the segment
      * already specifies a language code. Language code defaults to "en-US" if it
@@ -2248,15 +2567,14 @@ public java.lang.String getLanguageCode() {
      * 
* * string language_code = 4; + * * @return The bytes for languageCode. */ - public com.google.protobuf.ByteString - getLanguageCodeBytes() { + public com.google.protobuf.ByteString getLanguageCodeBytes() { java.lang.Object ref = languageCode_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); languageCode_ = b; return b; } else { @@ -2264,6 +2582,8 @@ public java.lang.String getLanguageCode() { } } /** + * + * *
      * A language code to be applied to each transcript segment unless the segment
      * already specifies a language code. Language code defaults to "en-US" if it
@@ -2271,18 +2591,22 @@ public java.lang.String getLanguageCode() {
      * 
* * string language_code = 4; + * * @param value The languageCode to set. * @return This builder for chaining. */ - public Builder setLanguageCode( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setLanguageCode(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } languageCode_ = value; bitField0_ |= 0x00000008; onChanged(); return this; } /** + * + * *
      * A language code to be applied to each transcript segment unless the segment
      * already specifies a language code. Language code defaults to "en-US" if it
@@ -2290,6 +2614,7 @@ public Builder setLanguageCode(
      * 
* * string language_code = 4; + * * @return This builder for chaining. */ public Builder clearLanguageCode() { @@ -2299,6 +2624,8 @@ public Builder clearLanguageCode() { return this; } /** + * + * *
      * A language code to be applied to each transcript segment unless the segment
      * already specifies a language code. Language code defaults to "en-US" if it
@@ -2306,12 +2633,14 @@ public Builder clearLanguageCode() {
      * 
* * string language_code = 4; + * * @param value The bytes for languageCode to set. * @return This builder for chaining. */ - public Builder setLanguageCodeBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setLanguageCodeBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); languageCode_ = value; bitField0_ |= 0x00000008; @@ -2321,8 +2650,13 @@ public Builder setLanguageCodeBytes( private com.google.protobuf.Duration conversationTtl_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder> conversationTtlBuilder_; + com.google.protobuf.Duration, + com.google.protobuf.Duration.Builder, + com.google.protobuf.DurationOrBuilder> + conversationTtlBuilder_; /** + * + * *
      * The default TTL for newly-created conversations. If a conversation has a
      * specified expiration, that value will be used instead. Changing this
@@ -2331,12 +2665,15 @@ public Builder setLanguageCodeBytes(
      * 
* * .google.protobuf.Duration conversation_ttl = 5; + * * @return Whether the conversationTtl field is set. */ public boolean hasConversationTtl() { return ((bitField0_ & 0x00000010) != 0); } /** + * + * *
      * The default TTL for newly-created conversations. If a conversation has a
      * specified expiration, that value will be used instead. Changing this
@@ -2345,16 +2682,21 @@ public boolean hasConversationTtl() {
      * 
* * .google.protobuf.Duration conversation_ttl = 5; + * * @return The conversationTtl. */ public com.google.protobuf.Duration getConversationTtl() { if (conversationTtlBuilder_ == null) { - return conversationTtl_ == null ? com.google.protobuf.Duration.getDefaultInstance() : conversationTtl_; + return conversationTtl_ == null + ? com.google.protobuf.Duration.getDefaultInstance() + : conversationTtl_; } else { return conversationTtlBuilder_.getMessage(); } } /** + * + * *
      * The default TTL for newly-created conversations. If a conversation has a
      * specified expiration, that value will be used instead. Changing this
@@ -2378,6 +2720,8 @@ public Builder setConversationTtl(com.google.protobuf.Duration value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * The default TTL for newly-created conversations. If a conversation has a
      * specified expiration, that value will be used instead. Changing this
@@ -2387,8 +2731,7 @@ public Builder setConversationTtl(com.google.protobuf.Duration value) {
      *
      * .google.protobuf.Duration conversation_ttl = 5;
      */
-    public Builder setConversationTtl(
-        com.google.protobuf.Duration.Builder builderForValue) {
+    public Builder setConversationTtl(com.google.protobuf.Duration.Builder builderForValue) {
       if (conversationTtlBuilder_ == null) {
         conversationTtl_ = builderForValue.build();
       } else {
@@ -2399,6 +2742,8 @@ public Builder setConversationTtl(
       return this;
     }
     /**
+     *
+     *
      * 
      * The default TTL for newly-created conversations. If a conversation has a
      * specified expiration, that value will be used instead. Changing this
@@ -2410,9 +2755,9 @@ public Builder setConversationTtl(
      */
     public Builder mergeConversationTtl(com.google.protobuf.Duration value) {
       if (conversationTtlBuilder_ == null) {
-        if (((bitField0_ & 0x00000010) != 0) &&
-          conversationTtl_ != null &&
-          conversationTtl_ != com.google.protobuf.Duration.getDefaultInstance()) {
+        if (((bitField0_ & 0x00000010) != 0)
+            && conversationTtl_ != null
+            && conversationTtl_ != com.google.protobuf.Duration.getDefaultInstance()) {
           getConversationTtlBuilder().mergeFrom(value);
         } else {
           conversationTtl_ = value;
@@ -2425,6 +2770,8 @@ public Builder mergeConversationTtl(com.google.protobuf.Duration value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * The default TTL for newly-created conversations. If a conversation has a
      * specified expiration, that value will be used instead. Changing this
@@ -2445,6 +2792,8 @@ public Builder clearConversationTtl() {
       return this;
     }
     /**
+     *
+     *
      * 
      * The default TTL for newly-created conversations. If a conversation has a
      * specified expiration, that value will be used instead. Changing this
@@ -2460,6 +2809,8 @@ public com.google.protobuf.Duration.Builder getConversationTtlBuilder() {
       return getConversationTtlFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * The default TTL for newly-created conversations. If a conversation has a
      * specified expiration, that value will be used instead. Changing this
@@ -2473,11 +2824,14 @@ public com.google.protobuf.DurationOrBuilder getConversationTtlOrBuilder() {
       if (conversationTtlBuilder_ != null) {
         return conversationTtlBuilder_.getMessageOrBuilder();
       } else {
-        return conversationTtl_ == null ?
-            com.google.protobuf.Duration.getDefaultInstance() : conversationTtl_;
+        return conversationTtl_ == null
+            ? com.google.protobuf.Duration.getDefaultInstance()
+            : conversationTtl_;
       }
     }
     /**
+     *
+     *
      * 
      * The default TTL for newly-created conversations. If a conversation has a
      * specified expiration, that value will be used instead. Changing this
@@ -2488,21 +2842,25 @@ public com.google.protobuf.DurationOrBuilder getConversationTtlOrBuilder() {
      * .google.protobuf.Duration conversation_ttl = 5;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder> 
+            com.google.protobuf.Duration,
+            com.google.protobuf.Duration.Builder,
+            com.google.protobuf.DurationOrBuilder>
         getConversationTtlFieldBuilder() {
       if (conversationTtlBuilder_ == null) {
-        conversationTtlBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-            com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder>(
-                getConversationTtl(),
-                getParentForChildren(),
-                isClean());
+        conversationTtlBuilder_ =
+            new com.google.protobuf.SingleFieldBuilderV3<
+                com.google.protobuf.Duration,
+                com.google.protobuf.Duration.Builder,
+                com.google.protobuf.DurationOrBuilder>(
+                getConversationTtl(), getParentForChildren(), isClean());
         conversationTtl_ = null;
       }
       return conversationTtlBuilder_;
     }
 
-    private com.google.protobuf.MapField<
-        java.lang.String, java.lang.String> pubsubNotificationSettings_;
+    private com.google.protobuf.MapField
+        pubsubNotificationSettings_;
+
     private com.google.protobuf.MapField
         internalGetPubsubNotificationSettings() {
       if (pubsubNotificationSettings_ == null) {
@@ -2511,11 +2869,13 @@ public com.google.protobuf.DurationOrBuilder getConversationTtlOrBuilder() {
       }
       return pubsubNotificationSettings_;
     }
+
     private com.google.protobuf.MapField
         internalGetMutablePubsubNotificationSettings() {
       if (pubsubNotificationSettings_ == null) {
-        pubsubNotificationSettings_ = com.google.protobuf.MapField.newMapField(
-            PubsubNotificationSettingsDefaultEntryHolder.defaultEntry);
+        pubsubNotificationSettings_ =
+            com.google.protobuf.MapField.newMapField(
+                PubsubNotificationSettingsDefaultEntryHolder.defaultEntry);
       }
       if (!pubsubNotificationSettings_.isMutable()) {
         pubsubNotificationSettings_ = pubsubNotificationSettings_.copy();
@@ -2524,10 +2884,13 @@ public com.google.protobuf.DurationOrBuilder getConversationTtlOrBuilder() {
       onChanged();
       return pubsubNotificationSettings_;
     }
+
     public int getPubsubNotificationSettingsCount() {
       return internalGetPubsubNotificationSettings().getMap().size();
     }
     /**
+     *
+     *
      * 
      * A map that maps a notification trigger to a Pub/Sub topic. Each time a
      * specified trigger occurs, Insights will notify the corresponding Pub/Sub
@@ -2546,20 +2909,21 @@ public int getPubsubNotificationSettingsCount() {
      * map<string, string> pubsub_notification_settings = 6;
      */
     @java.lang.Override
-    public boolean containsPubsubNotificationSettings(
-        java.lang.String key) {
-      if (key == null) { throw new NullPointerException("map key"); }
+    public boolean containsPubsubNotificationSettings(java.lang.String key) {
+      if (key == null) {
+        throw new NullPointerException("map key");
+      }
       return internalGetPubsubNotificationSettings().getMap().containsKey(key);
     }
-    /**
-     * Use {@link #getPubsubNotificationSettingsMap()} instead.
-     */
+    /** Use {@link #getPubsubNotificationSettingsMap()} instead. */
     @java.lang.Override
     @java.lang.Deprecated
     public java.util.Map getPubsubNotificationSettings() {
       return getPubsubNotificationSettingsMap();
     }
     /**
+     *
+     *
      * 
      * A map that maps a notification trigger to a Pub/Sub topic. Each time a
      * specified trigger occurs, Insights will notify the corresponding Pub/Sub
@@ -2582,6 +2946,8 @@ public java.util.Map getPubsubNotificationSe
       return internalGetPubsubNotificationSettings().getMap();
     }
     /**
+     *
+     *
      * 
      * A map that maps a notification trigger to a Pub/Sub topic. Each time a
      * specified trigger occurs, Insights will notify the corresponding Pub/Sub
@@ -2600,17 +2966,20 @@ public java.util.Map getPubsubNotificationSe
      * map<string, string> pubsub_notification_settings = 6;
      */
     @java.lang.Override
-    public /* nullable */
-java.lang.String getPubsubNotificationSettingsOrDefault(
+    public /* nullable */ java.lang.String getPubsubNotificationSettingsOrDefault(
         java.lang.String key,
         /* nullable */
-java.lang.String defaultValue) {
-      if (key == null) { throw new NullPointerException("map key"); }
+        java.lang.String defaultValue) {
+      if (key == null) {
+        throw new NullPointerException("map key");
+      }
       java.util.Map map =
           internalGetPubsubNotificationSettings().getMap();
       return map.containsKey(key) ? map.get(key) : defaultValue;
     }
     /**
+     *
+     *
      * 
      * A map that maps a notification trigger to a Pub/Sub topic. Each time a
      * specified trigger occurs, Insights will notify the corresponding Pub/Sub
@@ -2629,9 +2998,10 @@ java.lang.String getPubsubNotificationSettingsOrDefault(
      * map<string, string> pubsub_notification_settings = 6;
      */
     @java.lang.Override
-    public java.lang.String getPubsubNotificationSettingsOrThrow(
-        java.lang.String key) {
-      if (key == null) { throw new NullPointerException("map key"); }
+    public java.lang.String getPubsubNotificationSettingsOrThrow(java.lang.String key) {
+      if (key == null) {
+        throw new NullPointerException("map key");
+      }
       java.util.Map map =
           internalGetPubsubNotificationSettings().getMap();
       if (!map.containsKey(key)) {
@@ -2639,13 +3009,15 @@ public java.lang.String getPubsubNotificationSettingsOrThrow(
       }
       return map.get(key);
     }
+
     public Builder clearPubsubNotificationSettings() {
       bitField0_ = (bitField0_ & ~0x00000020);
-      internalGetMutablePubsubNotificationSettings().getMutableMap()
-          .clear();
+      internalGetMutablePubsubNotificationSettings().getMutableMap().clear();
       return this;
     }
     /**
+     *
+     *
      * 
      * A map that maps a notification trigger to a Pub/Sub topic. Each time a
      * specified trigger occurs, Insights will notify the corresponding Pub/Sub
@@ -2663,16 +3035,14 @@ public Builder clearPubsubNotificationSettings() {
      *
      * map<string, string> pubsub_notification_settings = 6;
      */
-    public Builder removePubsubNotificationSettings(
-        java.lang.String key) {
-      if (key == null) { throw new NullPointerException("map key"); }
-      internalGetMutablePubsubNotificationSettings().getMutableMap()
-          .remove(key);
+    public Builder removePubsubNotificationSettings(java.lang.String key) {
+      if (key == null) {
+        throw new NullPointerException("map key");
+      }
+      internalGetMutablePubsubNotificationSettings().getMutableMap().remove(key);
       return this;
     }
-    /**
-     * Use alternate mutation accessors instead.
-     */
+    /** Use alternate mutation accessors instead. */
     @java.lang.Deprecated
     public java.util.Map
         getMutablePubsubNotificationSettings() {
@@ -2680,6 +3050,8 @@ public Builder removePubsubNotificationSettings(
       return internalGetMutablePubsubNotificationSettings().getMutableMap();
     }
     /**
+     *
+     *
      * 
      * A map that maps a notification trigger to a Pub/Sub topic. Each time a
      * specified trigger occurs, Insights will notify the corresponding Pub/Sub
@@ -2697,17 +3069,20 @@ public Builder removePubsubNotificationSettings(
      *
      * map<string, string> pubsub_notification_settings = 6;
      */
-    public Builder putPubsubNotificationSettings(
-        java.lang.String key,
-        java.lang.String value) {
-      if (key == null) { throw new NullPointerException("map key"); }
-      if (value == null) { throw new NullPointerException("map value"); }
-      internalGetMutablePubsubNotificationSettings().getMutableMap()
-          .put(key, value);
+    public Builder putPubsubNotificationSettings(java.lang.String key, java.lang.String value) {
+      if (key == null) {
+        throw new NullPointerException("map key");
+      }
+      if (value == null) {
+        throw new NullPointerException("map value");
+      }
+      internalGetMutablePubsubNotificationSettings().getMutableMap().put(key, value);
       bitField0_ |= 0x00000020;
       return this;
     }
     /**
+     *
+     *
      * 
      * A map that maps a notification trigger to a Pub/Sub topic. Each time a
      * specified trigger occurs, Insights will notify the corresponding Pub/Sub
@@ -2727,49 +3102,65 @@ public Builder putPubsubNotificationSettings(
      */
     public Builder putAllPubsubNotificationSettings(
         java.util.Map values) {
-      internalGetMutablePubsubNotificationSettings().getMutableMap()
-          .putAll(values);
+      internalGetMutablePubsubNotificationSettings().getMutableMap().putAll(values);
       bitField0_ |= 0x00000020;
       return this;
     }
 
     private com.google.cloud.contactcenterinsights.v1.Settings.AnalysisConfig analysisConfig_;
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.cloud.contactcenterinsights.v1.Settings.AnalysisConfig, com.google.cloud.contactcenterinsights.v1.Settings.AnalysisConfig.Builder, com.google.cloud.contactcenterinsights.v1.Settings.AnalysisConfigOrBuilder> analysisConfigBuilder_;
+            com.google.cloud.contactcenterinsights.v1.Settings.AnalysisConfig,
+            com.google.cloud.contactcenterinsights.v1.Settings.AnalysisConfig.Builder,
+            com.google.cloud.contactcenterinsights.v1.Settings.AnalysisConfigOrBuilder>
+        analysisConfigBuilder_;
     /**
+     *
+     *
      * 
      * Default analysis settings.
      * 
* - * .google.cloud.contactcenterinsights.v1.Settings.AnalysisConfig analysis_config = 7; + * .google.cloud.contactcenterinsights.v1.Settings.AnalysisConfig analysis_config = 7; + * + * * @return Whether the analysisConfig field is set. */ public boolean hasAnalysisConfig() { return ((bitField0_ & 0x00000040) != 0); } /** + * + * *
      * Default analysis settings.
      * 
* - * .google.cloud.contactcenterinsights.v1.Settings.AnalysisConfig analysis_config = 7; + * .google.cloud.contactcenterinsights.v1.Settings.AnalysisConfig analysis_config = 7; + * + * * @return The analysisConfig. */ public com.google.cloud.contactcenterinsights.v1.Settings.AnalysisConfig getAnalysisConfig() { if (analysisConfigBuilder_ == null) { - return analysisConfig_ == null ? com.google.cloud.contactcenterinsights.v1.Settings.AnalysisConfig.getDefaultInstance() : analysisConfig_; + return analysisConfig_ == null + ? com.google.cloud.contactcenterinsights.v1.Settings.AnalysisConfig.getDefaultInstance() + : analysisConfig_; } else { return analysisConfigBuilder_.getMessage(); } } /** + * + * *
      * Default analysis settings.
      * 
* - * .google.cloud.contactcenterinsights.v1.Settings.AnalysisConfig analysis_config = 7; + * .google.cloud.contactcenterinsights.v1.Settings.AnalysisConfig analysis_config = 7; + * */ - public Builder setAnalysisConfig(com.google.cloud.contactcenterinsights.v1.Settings.AnalysisConfig value) { + public Builder setAnalysisConfig( + com.google.cloud.contactcenterinsights.v1.Settings.AnalysisConfig value) { if (analysisConfigBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -2783,11 +3174,14 @@ public Builder setAnalysisConfig(com.google.cloud.contactcenterinsights.v1.Setti return this; } /** + * + * *
      * Default analysis settings.
      * 
* - * .google.cloud.contactcenterinsights.v1.Settings.AnalysisConfig analysis_config = 7; + * .google.cloud.contactcenterinsights.v1.Settings.AnalysisConfig analysis_config = 7; + * */ public Builder setAnalysisConfig( com.google.cloud.contactcenterinsights.v1.Settings.AnalysisConfig.Builder builderForValue) { @@ -2801,17 +3195,23 @@ public Builder setAnalysisConfig( return this; } /** + * + * *
      * Default analysis settings.
      * 
* - * .google.cloud.contactcenterinsights.v1.Settings.AnalysisConfig analysis_config = 7; + * .google.cloud.contactcenterinsights.v1.Settings.AnalysisConfig analysis_config = 7; + * */ - public Builder mergeAnalysisConfig(com.google.cloud.contactcenterinsights.v1.Settings.AnalysisConfig value) { + public Builder mergeAnalysisConfig( + com.google.cloud.contactcenterinsights.v1.Settings.AnalysisConfig value) { if (analysisConfigBuilder_ == null) { - if (((bitField0_ & 0x00000040) != 0) && - analysisConfig_ != null && - analysisConfig_ != com.google.cloud.contactcenterinsights.v1.Settings.AnalysisConfig.getDefaultInstance()) { + if (((bitField0_ & 0x00000040) != 0) + && analysisConfig_ != null + && analysisConfig_ + != com.google.cloud.contactcenterinsights.v1.Settings.AnalysisConfig + .getDefaultInstance()) { getAnalysisConfigBuilder().mergeFrom(value); } else { analysisConfig_ = value; @@ -2824,11 +3224,14 @@ public Builder mergeAnalysisConfig(com.google.cloud.contactcenterinsights.v1.Set return this; } /** + * + * *
      * Default analysis settings.
      * 
* - * .google.cloud.contactcenterinsights.v1.Settings.AnalysisConfig analysis_config = 7; + * .google.cloud.contactcenterinsights.v1.Settings.AnalysisConfig analysis_config = 7; + * */ public Builder clearAnalysisConfig() { bitField0_ = (bitField0_ & ~0x00000040); @@ -2841,55 +3244,70 @@ public Builder clearAnalysisConfig() { return this; } /** + * + * *
      * Default analysis settings.
      * 
* - * .google.cloud.contactcenterinsights.v1.Settings.AnalysisConfig analysis_config = 7; + * .google.cloud.contactcenterinsights.v1.Settings.AnalysisConfig analysis_config = 7; + * */ - public com.google.cloud.contactcenterinsights.v1.Settings.AnalysisConfig.Builder getAnalysisConfigBuilder() { + public com.google.cloud.contactcenterinsights.v1.Settings.AnalysisConfig.Builder + getAnalysisConfigBuilder() { bitField0_ |= 0x00000040; onChanged(); return getAnalysisConfigFieldBuilder().getBuilder(); } /** + * + * *
      * Default analysis settings.
      * 
* - * .google.cloud.contactcenterinsights.v1.Settings.AnalysisConfig analysis_config = 7; + * .google.cloud.contactcenterinsights.v1.Settings.AnalysisConfig analysis_config = 7; + * */ - public com.google.cloud.contactcenterinsights.v1.Settings.AnalysisConfigOrBuilder getAnalysisConfigOrBuilder() { + public com.google.cloud.contactcenterinsights.v1.Settings.AnalysisConfigOrBuilder + getAnalysisConfigOrBuilder() { if (analysisConfigBuilder_ != null) { return analysisConfigBuilder_.getMessageOrBuilder(); } else { - return analysisConfig_ == null ? - com.google.cloud.contactcenterinsights.v1.Settings.AnalysisConfig.getDefaultInstance() : analysisConfig_; + return analysisConfig_ == null + ? com.google.cloud.contactcenterinsights.v1.Settings.AnalysisConfig.getDefaultInstance() + : analysisConfig_; } } /** + * + * *
      * Default analysis settings.
      * 
* - * .google.cloud.contactcenterinsights.v1.Settings.AnalysisConfig analysis_config = 7; + * .google.cloud.contactcenterinsights.v1.Settings.AnalysisConfig analysis_config = 7; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.contactcenterinsights.v1.Settings.AnalysisConfig, com.google.cloud.contactcenterinsights.v1.Settings.AnalysisConfig.Builder, com.google.cloud.contactcenterinsights.v1.Settings.AnalysisConfigOrBuilder> + com.google.cloud.contactcenterinsights.v1.Settings.AnalysisConfig, + com.google.cloud.contactcenterinsights.v1.Settings.AnalysisConfig.Builder, + com.google.cloud.contactcenterinsights.v1.Settings.AnalysisConfigOrBuilder> getAnalysisConfigFieldBuilder() { if (analysisConfigBuilder_ == null) { - analysisConfigBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.contactcenterinsights.v1.Settings.AnalysisConfig, com.google.cloud.contactcenterinsights.v1.Settings.AnalysisConfig.Builder, com.google.cloud.contactcenterinsights.v1.Settings.AnalysisConfigOrBuilder>( - getAnalysisConfig(), - getParentForChildren(), - isClean()); + analysisConfigBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.contactcenterinsights.v1.Settings.AnalysisConfig, + com.google.cloud.contactcenterinsights.v1.Settings.AnalysisConfig.Builder, + com.google.cloud.contactcenterinsights.v1.Settings.AnalysisConfigOrBuilder>( + getAnalysisConfig(), getParentForChildren(), isClean()); analysisConfig_ = null; } return analysisConfigBuilder_; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -2899,12 +3317,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.contactcenterinsights.v1.Settings) } // @@protoc_insertion_point(class_scope:google.cloud.contactcenterinsights.v1.Settings) private static final com.google.cloud.contactcenterinsights.v1.Settings DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.contactcenterinsights.v1.Settings(); } @@ -2913,27 +3331,27 @@ public static com.google.cloud.contactcenterinsights.v1.Settings getDefaultInsta return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public Settings parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public Settings parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -2948,6 +3366,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.contactcenterinsights.v1.Settings getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/SettingsName.java b/java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/SettingsName.java similarity index 100% rename from owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/SettingsName.java rename to java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/SettingsName.java diff --git a/owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/SettingsOrBuilder.java b/java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/SettingsOrBuilder.java similarity index 82% rename from owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/SettingsOrBuilder.java rename to java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/SettingsOrBuilder.java index 1c6b10f5e7e5..14884966b302 100644 --- a/owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/SettingsOrBuilder.java +++ b/java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/SettingsOrBuilder.java @@ -1,13 +1,31 @@ +/* + * 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. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/contactcenterinsights/v1/resources.proto package com.google.cloud.contactcenterinsights.v1; -public interface SettingsOrBuilder extends +public interface SettingsOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.contactcenterinsights.v1.Settings) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Immutable. The resource name of the settings resource.
    * Format:
@@ -15,10 +33,13 @@ public interface SettingsOrBuilder extends
    * 
* * string name = 1 [(.google.api.field_behavior) = IMMUTABLE]; + * * @return The name. */ java.lang.String getName(); /** + * + * *
    * Immutable. The resource name of the settings resource.
    * Format:
@@ -26,66 +47,90 @@ public interface SettingsOrBuilder extends
    * 
* * string name = 1 [(.google.api.field_behavior) = IMMUTABLE]; + * * @return The bytes for name. */ - com.google.protobuf.ByteString - getNameBytes(); + com.google.protobuf.ByteString getNameBytes(); /** + * + * *
    * Output only. The time at which the settings was created.
    * 
* - * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the createTime field is set. */ boolean hasCreateTime(); /** + * + * *
    * Output only. The time at which the settings was created.
    * 
* - * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The createTime. */ com.google.protobuf.Timestamp getCreateTime(); /** + * + * *
    * Output only. The time at which the settings was created.
    * 
* - * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder(); /** + * + * *
    * Output only. The time at which the settings were last updated.
    * 
* - * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the updateTime field is set. */ boolean hasUpdateTime(); /** + * + * *
    * Output only. The time at which the settings were last updated.
    * 
* - * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The updateTime. */ com.google.protobuf.Timestamp getUpdateTime(); /** + * + * *
    * Output only. The time at which the settings were last updated.
    * 
* - * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder(); /** + * + * *
    * A language code to be applied to each transcript segment unless the segment
    * already specifies a language code. Language code defaults to "en-US" if it
@@ -93,10 +138,13 @@ public interface SettingsOrBuilder extends
    * 
* * string language_code = 4; + * * @return The languageCode. */ java.lang.String getLanguageCode(); /** + * + * *
    * A language code to be applied to each transcript segment unless the segment
    * already specifies a language code. Language code defaults to "en-US" if it
@@ -104,12 +152,14 @@ public interface SettingsOrBuilder extends
    * 
* * string language_code = 4; + * * @return The bytes for languageCode. */ - com.google.protobuf.ByteString - getLanguageCodeBytes(); + com.google.protobuf.ByteString getLanguageCodeBytes(); /** + * + * *
    * The default TTL for newly-created conversations. If a conversation has a
    * specified expiration, that value will be used instead. Changing this
@@ -118,10 +168,13 @@ public interface SettingsOrBuilder extends
    * 
* * .google.protobuf.Duration conversation_ttl = 5; + * * @return Whether the conversationTtl field is set. */ boolean hasConversationTtl(); /** + * + * *
    * The default TTL for newly-created conversations. If a conversation has a
    * specified expiration, that value will be used instead. Changing this
@@ -130,10 +183,13 @@ public interface SettingsOrBuilder extends
    * 
* * .google.protobuf.Duration conversation_ttl = 5; + * * @return The conversationTtl. */ com.google.protobuf.Duration getConversationTtl(); /** + * + * *
    * The default TTL for newly-created conversations. If a conversation has a
    * specified expiration, that value will be used instead. Changing this
@@ -146,6 +202,8 @@ public interface SettingsOrBuilder extends
   com.google.protobuf.DurationOrBuilder getConversationTtlOrBuilder();
 
   /**
+   *
+   *
    * 
    * A map that maps a notification trigger to a Pub/Sub topic. Each time a
    * specified trigger occurs, Insights will notify the corresponding Pub/Sub
@@ -165,6 +223,8 @@ public interface SettingsOrBuilder extends
    */
   int getPubsubNotificationSettingsCount();
   /**
+   *
+   *
    * 
    * A map that maps a notification trigger to a Pub/Sub topic. Each time a
    * specified trigger occurs, Insights will notify the corresponding Pub/Sub
@@ -182,15 +242,13 @@ public interface SettingsOrBuilder extends
    *
    * map<string, string> pubsub_notification_settings = 6;
    */
-  boolean containsPubsubNotificationSettings(
-      java.lang.String key);
-  /**
-   * Use {@link #getPubsubNotificationSettingsMap()} instead.
-   */
+  boolean containsPubsubNotificationSettings(java.lang.String key);
+  /** Use {@link #getPubsubNotificationSettingsMap()} instead. */
   @java.lang.Deprecated
-  java.util.Map
-  getPubsubNotificationSettings();
+  java.util.Map getPubsubNotificationSettings();
   /**
+   *
+   *
    * 
    * A map that maps a notification trigger to a Pub/Sub topic. Each time a
    * specified trigger occurs, Insights will notify the corresponding Pub/Sub
@@ -208,9 +266,10 @@ boolean containsPubsubNotificationSettings(
    *
    * map<string, string> pubsub_notification_settings = 6;
    */
-  java.util.Map
-  getPubsubNotificationSettingsMap();
+  java.util.Map getPubsubNotificationSettingsMap();
   /**
+   *
+   *
    * 
    * A map that maps a notification trigger to a Pub/Sub topic. Each time a
    * specified trigger occurs, Insights will notify the corresponding Pub/Sub
@@ -229,11 +288,13 @@ boolean containsPubsubNotificationSettings(
    * map<string, string> pubsub_notification_settings = 6;
    */
   /* nullable */
-java.lang.String getPubsubNotificationSettingsOrDefault(
+  java.lang.String getPubsubNotificationSettingsOrDefault(
       java.lang.String key,
       /* nullable */
-java.lang.String defaultValue);
+      java.lang.String defaultValue);
   /**
+   *
+   *
    * 
    * A map that maps a notification trigger to a Pub/Sub topic. Each time a
    * specified trigger occurs, Insights will notify the corresponding Pub/Sub
@@ -251,33 +312,44 @@ java.lang.String getPubsubNotificationSettingsOrDefault(
    *
    * map<string, string> pubsub_notification_settings = 6;
    */
-  java.lang.String getPubsubNotificationSettingsOrThrow(
-      java.lang.String key);
+  java.lang.String getPubsubNotificationSettingsOrThrow(java.lang.String key);
 
   /**
+   *
+   *
    * 
    * Default analysis settings.
    * 
* - * .google.cloud.contactcenterinsights.v1.Settings.AnalysisConfig analysis_config = 7; + * .google.cloud.contactcenterinsights.v1.Settings.AnalysisConfig analysis_config = 7; + * + * * @return Whether the analysisConfig field is set. */ boolean hasAnalysisConfig(); /** + * + * *
    * Default analysis settings.
    * 
* - * .google.cloud.contactcenterinsights.v1.Settings.AnalysisConfig analysis_config = 7; + * .google.cloud.contactcenterinsights.v1.Settings.AnalysisConfig analysis_config = 7; + * + * * @return The analysisConfig. */ com.google.cloud.contactcenterinsights.v1.Settings.AnalysisConfig getAnalysisConfig(); /** + * + * *
    * Default analysis settings.
    * 
* - * .google.cloud.contactcenterinsights.v1.Settings.AnalysisConfig analysis_config = 7; + * .google.cloud.contactcenterinsights.v1.Settings.AnalysisConfig analysis_config = 7; + * */ - com.google.cloud.contactcenterinsights.v1.Settings.AnalysisConfigOrBuilder getAnalysisConfigOrBuilder(); + com.google.cloud.contactcenterinsights.v1.Settings.AnalysisConfigOrBuilder + getAnalysisConfigOrBuilder(); } diff --git a/owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/SilenceData.java b/java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/SilenceData.java similarity index 62% rename from owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/SilenceData.java rename to java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/SilenceData.java index e1ce0a6f2613..0d806512080d 100644 --- a/owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/SilenceData.java +++ b/java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/SilenceData.java @@ -1,53 +1,72 @@ +/* + * 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. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/contactcenterinsights/v1/resources.proto package com.google.cloud.contactcenterinsights.v1; /** + * + * *
  * The data for a silence annotation.
  * 
* * Protobuf type {@code google.cloud.contactcenterinsights.v1.SilenceData} */ -public final class SilenceData extends - com.google.protobuf.GeneratedMessageV3 implements +public final class SilenceData extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.contactcenterinsights.v1.SilenceData) SilenceDataOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use SilenceData.newBuilder() to construct. private SilenceData(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private SilenceData() { - } + + private SilenceData() {} @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new SilenceData(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.contactcenterinsights.v1.ResourcesProto.internal_static_google_cloud_contactcenterinsights_v1_SilenceData_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.contactcenterinsights.v1.ResourcesProto + .internal_static_google_cloud_contactcenterinsights_v1_SilenceData_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.contactcenterinsights.v1.ResourcesProto.internal_static_google_cloud_contactcenterinsights_v1_SilenceData_fieldAccessorTable + return com.google.cloud.contactcenterinsights.v1.ResourcesProto + .internal_static_google_cloud_contactcenterinsights_v1_SilenceData_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.contactcenterinsights.v1.SilenceData.class, com.google.cloud.contactcenterinsights.v1.SilenceData.Builder.class); + com.google.cloud.contactcenterinsights.v1.SilenceData.class, + com.google.cloud.contactcenterinsights.v1.SilenceData.Builder.class); } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -59,8 +78,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { getUnknownFields().writeTo(output); } @@ -78,12 +96,13 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.contactcenterinsights.v1.SilenceData)) { return super.equals(obj); } - com.google.cloud.contactcenterinsights.v1.SilenceData other = (com.google.cloud.contactcenterinsights.v1.SilenceData) obj; + com.google.cloud.contactcenterinsights.v1.SilenceData other = + (com.google.cloud.contactcenterinsights.v1.SilenceData) obj; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -102,129 +121,136 @@ public int hashCode() { } public static com.google.cloud.contactcenterinsights.v1.SilenceData parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.contactcenterinsights.v1.SilenceData parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.contactcenterinsights.v1.SilenceData parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.contactcenterinsights.v1.SilenceData parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.contactcenterinsights.v1.SilenceData parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.contactcenterinsights.v1.SilenceData parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.contactcenterinsights.v1.SilenceData parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.contactcenterinsights.v1.SilenceData parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.contactcenterinsights.v1.SilenceData parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.contactcenterinsights.v1.SilenceData parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.contactcenterinsights.v1.SilenceData parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.contactcenterinsights.v1.SilenceData parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.contactcenterinsights.v1.SilenceData parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.contactcenterinsights.v1.SilenceData parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.contactcenterinsights.v1.SilenceData prototype) { + + public static Builder newBuilder( + com.google.cloud.contactcenterinsights.v1.SilenceData prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * The data for a silence annotation.
    * 
* * Protobuf type {@code google.cloud.contactcenterinsights.v1.SilenceData} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.contactcenterinsights.v1.SilenceData) com.google.cloud.contactcenterinsights.v1.SilenceDataOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.contactcenterinsights.v1.ResourcesProto.internal_static_google_cloud_contactcenterinsights_v1_SilenceData_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.contactcenterinsights.v1.ResourcesProto + .internal_static_google_cloud_contactcenterinsights_v1_SilenceData_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.contactcenterinsights.v1.ResourcesProto.internal_static_google_cloud_contactcenterinsights_v1_SilenceData_fieldAccessorTable + return com.google.cloud.contactcenterinsights.v1.ResourcesProto + .internal_static_google_cloud_contactcenterinsights_v1_SilenceData_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.contactcenterinsights.v1.SilenceData.class, com.google.cloud.contactcenterinsights.v1.SilenceData.Builder.class); + com.google.cloud.contactcenterinsights.v1.SilenceData.class, + com.google.cloud.contactcenterinsights.v1.SilenceData.Builder.class); } // Construct using com.google.cloud.contactcenterinsights.v1.SilenceData.newBuilder() - private Builder() { - - } + private Builder() {} - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -232,9 +258,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.contactcenterinsights.v1.ResourcesProto.internal_static_google_cloud_contactcenterinsights_v1_SilenceData_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.contactcenterinsights.v1.ResourcesProto + .internal_static_google_cloud_contactcenterinsights_v1_SilenceData_descriptor; } @java.lang.Override @@ -253,7 +279,8 @@ public com.google.cloud.contactcenterinsights.v1.SilenceData build() { @java.lang.Override public com.google.cloud.contactcenterinsights.v1.SilenceData buildPartial() { - com.google.cloud.contactcenterinsights.v1.SilenceData result = new com.google.cloud.contactcenterinsights.v1.SilenceData(this); + com.google.cloud.contactcenterinsights.v1.SilenceData result = + new com.google.cloud.contactcenterinsights.v1.SilenceData(this); onBuilt(); return result; } @@ -262,38 +289,39 @@ public com.google.cloud.contactcenterinsights.v1.SilenceData buildPartial() { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.contactcenterinsights.v1.SilenceData) { - return mergeFrom((com.google.cloud.contactcenterinsights.v1.SilenceData)other); + return mergeFrom((com.google.cloud.contactcenterinsights.v1.SilenceData) other); } else { super.mergeFrom(other); return this; @@ -301,7 +329,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.contactcenterinsights.v1.SilenceData other) { - if (other == com.google.cloud.contactcenterinsights.v1.SilenceData.getDefaultInstance()) return this; + if (other == com.google.cloud.contactcenterinsights.v1.SilenceData.getDefaultInstance()) + return this; this.mergeUnknownFields(other.getUnknownFields()); onChanged(); return this; @@ -328,12 +357,13 @@ public Builder mergeFrom( case 0: done = true; break; - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -343,9 +373,9 @@ public Builder mergeFrom( } // finally return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -355,12 +385,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.contactcenterinsights.v1.SilenceData) } // @@protoc_insertion_point(class_scope:google.cloud.contactcenterinsights.v1.SilenceData) private static final com.google.cloud.contactcenterinsights.v1.SilenceData DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.contactcenterinsights.v1.SilenceData(); } @@ -369,27 +399,27 @@ public static com.google.cloud.contactcenterinsights.v1.SilenceData getDefaultIn return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public SilenceData parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public SilenceData parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -404,6 +434,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.contactcenterinsights.v1.SilenceData getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/SilenceDataOrBuilder.java b/java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/SilenceDataOrBuilder.java new file mode 100644 index 000000000000..e86e739d9ee3 --- /dev/null +++ b/java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/SilenceDataOrBuilder.java @@ -0,0 +1,24 @@ +/* + * 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. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/contactcenterinsights/v1/resources.proto + +package com.google.cloud.contactcenterinsights.v1; + +public interface SilenceDataOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.cloud.contactcenterinsights.v1.SilenceData) + com.google.protobuf.MessageOrBuilder {} diff --git a/owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/SmartComposeSuggestionData.java b/java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/SmartComposeSuggestionData.java similarity index 63% rename from owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/SmartComposeSuggestionData.java rename to java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/SmartComposeSuggestionData.java index ffbad8a76df1..79ac4d6d2059 100644 --- a/owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/SmartComposeSuggestionData.java +++ b/java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/SmartComposeSuggestionData.java @@ -1,24 +1,42 @@ +/* + * 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. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/contactcenterinsights/v1/resources.proto package com.google.cloud.contactcenterinsights.v1; /** + * + * *
  * Agent Assist Smart Compose suggestion data.
  * 
* * Protobuf type {@code google.cloud.contactcenterinsights.v1.SmartComposeSuggestionData} */ -public final class SmartComposeSuggestionData extends - com.google.protobuf.GeneratedMessageV3 implements +public final class SmartComposeSuggestionData extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.contactcenterinsights.v1.SmartComposeSuggestionData) SmartComposeSuggestionDataOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use SmartComposeSuggestionData.newBuilder() to construct. private SmartComposeSuggestionData(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private SmartComposeSuggestionData() { suggestion_ = ""; queryRecord_ = ""; @@ -26,50 +44,54 @@ private SmartComposeSuggestionData() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new SmartComposeSuggestionData(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.contactcenterinsights.v1.ResourcesProto.internal_static_google_cloud_contactcenterinsights_v1_SmartComposeSuggestionData_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.contactcenterinsights.v1.ResourcesProto + .internal_static_google_cloud_contactcenterinsights_v1_SmartComposeSuggestionData_descriptor; } @SuppressWarnings({"rawtypes"}) @java.lang.Override - protected com.google.protobuf.MapField internalGetMapField( - int number) { + protected com.google.protobuf.MapField internalGetMapField(int number) { switch (number) { case 3: return internalGetMetadata(); default: - throw new RuntimeException( - "Invalid map field number: " + number); + throw new RuntimeException("Invalid map field number: " + number); } } + @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.contactcenterinsights.v1.ResourcesProto.internal_static_google_cloud_contactcenterinsights_v1_SmartComposeSuggestionData_fieldAccessorTable + return com.google.cloud.contactcenterinsights.v1.ResourcesProto + .internal_static_google_cloud_contactcenterinsights_v1_SmartComposeSuggestionData_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.contactcenterinsights.v1.SmartComposeSuggestionData.class, com.google.cloud.contactcenterinsights.v1.SmartComposeSuggestionData.Builder.class); + com.google.cloud.contactcenterinsights.v1.SmartComposeSuggestionData.class, + com.google.cloud.contactcenterinsights.v1.SmartComposeSuggestionData.Builder.class); } public static final int SUGGESTION_FIELD_NUMBER = 1; + @SuppressWarnings("serial") private volatile java.lang.Object suggestion_ = ""; /** + * + * *
    * The content of the suggestion.
    * 
* * string suggestion = 1; + * * @return The suggestion. */ @java.lang.Override @@ -78,29 +100,29 @@ public java.lang.String getSuggestion() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); suggestion_ = s; return s; } } /** + * + * *
    * The content of the suggestion.
    * 
* * string suggestion = 1; + * * @return The bytes for suggestion. */ @java.lang.Override - public com.google.protobuf.ByteString - getSuggestionBytes() { + public com.google.protobuf.ByteString getSuggestionBytes() { java.lang.Object ref = suggestion_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); suggestion_ = b; return b; } else { @@ -111,6 +133,8 @@ public java.lang.String getSuggestion() { public static final int CONFIDENCE_SCORE_FIELD_NUMBER = 2; private double confidenceScore_ = 0D; /** + * + * *
    * The system's confidence score that this suggestion is a good match for this
    * conversation, ranging from 0.0 (completely uncertain) to 1.0 (completely
@@ -118,6 +142,7 @@ public java.lang.String getSuggestion() {
    * 
* * double confidence_score = 2; + * * @return The confidenceScore. */ @java.lang.Override @@ -126,32 +151,34 @@ public double getConfidenceScore() { } public static final int METADATA_FIELD_NUMBER = 3; + private static final class MetadataDefaultEntryHolder { - static final com.google.protobuf.MapEntry< - java.lang.String, java.lang.String> defaultEntry = - com.google.protobuf.MapEntry - .newDefaultInstance( - com.google.cloud.contactcenterinsights.v1.ResourcesProto.internal_static_google_cloud_contactcenterinsights_v1_SmartComposeSuggestionData_MetadataEntry_descriptor, - com.google.protobuf.WireFormat.FieldType.STRING, - "", - com.google.protobuf.WireFormat.FieldType.STRING, - ""); + static final com.google.protobuf.MapEntry defaultEntry = + com.google.protobuf.MapEntry.newDefaultInstance( + com.google.cloud.contactcenterinsights.v1.ResourcesProto + .internal_static_google_cloud_contactcenterinsights_v1_SmartComposeSuggestionData_MetadataEntry_descriptor, + com.google.protobuf.WireFormat.FieldType.STRING, + "", + com.google.protobuf.WireFormat.FieldType.STRING, + ""); } + @SuppressWarnings("serial") - private com.google.protobuf.MapField< - java.lang.String, java.lang.String> metadata_; - private com.google.protobuf.MapField - internalGetMetadata() { + private com.google.protobuf.MapField metadata_; + + private com.google.protobuf.MapField internalGetMetadata() { if (metadata_ == null) { - return com.google.protobuf.MapField.emptyMapField( - MetadataDefaultEntryHolder.defaultEntry); + return com.google.protobuf.MapField.emptyMapField(MetadataDefaultEntryHolder.defaultEntry); } return metadata_; } + public int getMetadataCount() { return internalGetMetadata().getMap().size(); } /** + * + * *
    * Map that contains metadata about the Smart Compose suggestion and the
    * document from which it originates.
@@ -160,20 +187,21 @@ public int getMetadataCount() {
    * map<string, string> metadata = 3;
    */
   @java.lang.Override
-  public boolean containsMetadata(
-      java.lang.String key) {
-    if (key == null) { throw new NullPointerException("map key"); }
+  public boolean containsMetadata(java.lang.String key) {
+    if (key == null) {
+      throw new NullPointerException("map key");
+    }
     return internalGetMetadata().getMap().containsKey(key);
   }
-  /**
-   * Use {@link #getMetadataMap()} instead.
-   */
+  /** Use {@link #getMetadataMap()} instead. */
   @java.lang.Override
   @java.lang.Deprecated
   public java.util.Map getMetadata() {
     return getMetadataMap();
   }
   /**
+   *
+   *
    * 
    * Map that contains metadata about the Smart Compose suggestion and the
    * document from which it originates.
@@ -186,6 +214,8 @@ public java.util.Map getMetadataMap() {
     return internalGetMetadata().getMap();
   }
   /**
+   *
+   *
    * 
    * Map that contains metadata about the Smart Compose suggestion and the
    * document from which it originates.
@@ -194,17 +224,19 @@ public java.util.Map getMetadataMap() {
    * map<string, string> metadata = 3;
    */
   @java.lang.Override
-  public /* nullable */
-java.lang.String getMetadataOrDefault(
+  public /* nullable */ java.lang.String getMetadataOrDefault(
       java.lang.String key,
       /* nullable */
-java.lang.String defaultValue) {
-    if (key == null) { throw new NullPointerException("map key"); }
-    java.util.Map map =
-        internalGetMetadata().getMap();
+      java.lang.String defaultValue) {
+    if (key == null) {
+      throw new NullPointerException("map key");
+    }
+    java.util.Map map = internalGetMetadata().getMap();
     return map.containsKey(key) ? map.get(key) : defaultValue;
   }
   /**
+   *
+   *
    * 
    * Map that contains metadata about the Smart Compose suggestion and the
    * document from which it originates.
@@ -213,11 +245,11 @@ java.lang.String getMetadataOrDefault(
    * map<string, string> metadata = 3;
    */
   @java.lang.Override
-  public java.lang.String getMetadataOrThrow(
-      java.lang.String key) {
-    if (key == null) { throw new NullPointerException("map key"); }
-    java.util.Map map =
-        internalGetMetadata().getMap();
+  public java.lang.String getMetadataOrThrow(java.lang.String key) {
+    if (key == null) {
+      throw new NullPointerException("map key");
+    }
+    java.util.Map map = internalGetMetadata().getMap();
     if (!map.containsKey(key)) {
       throw new java.lang.IllegalArgumentException();
     }
@@ -225,9 +257,12 @@ public java.lang.String getMetadataOrThrow(
   }
 
   public static final int QUERY_RECORD_FIELD_NUMBER = 4;
+
   @SuppressWarnings("serial")
   private volatile java.lang.Object queryRecord_ = "";
   /**
+   *
+   *
    * 
    * The name of the answer record.
    * Format:
@@ -235,6 +270,7 @@ public java.lang.String getMetadataOrThrow(
    * 
* * string query_record = 4; + * * @return The queryRecord. */ @java.lang.Override @@ -243,14 +279,15 @@ public java.lang.String getQueryRecord() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); queryRecord_ = s; return s; } } /** + * + * *
    * The name of the answer record.
    * Format:
@@ -258,16 +295,15 @@ public java.lang.String getQueryRecord() {
    * 
* * string query_record = 4; + * * @return The bytes for queryRecord. */ @java.lang.Override - public com.google.protobuf.ByteString - getQueryRecordBytes() { + public com.google.protobuf.ByteString getQueryRecordBytes() { java.lang.Object ref = queryRecord_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); queryRecord_ = b; return b; } else { @@ -276,6 +312,7 @@ public java.lang.String getQueryRecord() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -287,20 +324,15 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(suggestion_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, suggestion_); } if (java.lang.Double.doubleToRawLongBits(confidenceScore_) != 0) { output.writeDouble(2, confidenceScore_); } - com.google.protobuf.GeneratedMessageV3 - .serializeStringMapTo( - output, - internalGetMetadata(), - MetadataDefaultEntryHolder.defaultEntry, - 3); + com.google.protobuf.GeneratedMessageV3.serializeStringMapTo( + output, internalGetMetadata(), MetadataDefaultEntryHolder.defaultEntry, 3); if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(queryRecord_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 4, queryRecord_); } @@ -317,18 +349,17 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, suggestion_); } if (java.lang.Double.doubleToRawLongBits(confidenceScore_) != 0) { - size += com.google.protobuf.CodedOutputStream - .computeDoubleSize(2, confidenceScore_); - } - for (java.util.Map.Entry entry - : internalGetMetadata().getMap().entrySet()) { - com.google.protobuf.MapEntry - metadata__ = MetadataDefaultEntryHolder.defaultEntry.newBuilderForType() - .setKey(entry.getKey()) - .setValue(entry.getValue()) - .build(); - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(3, metadata__); + size += com.google.protobuf.CodedOutputStream.computeDoubleSize(2, confidenceScore_); + } + for (java.util.Map.Entry entry : + internalGetMetadata().getMap().entrySet()) { + com.google.protobuf.MapEntry metadata__ = + MetadataDefaultEntryHolder.defaultEntry + .newBuilderForType() + .setKey(entry.getKey()) + .setValue(entry.getValue()) + .build(); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, metadata__); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(queryRecord_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, queryRecord_); @@ -341,22 +372,19 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.contactcenterinsights.v1.SmartComposeSuggestionData)) { return super.equals(obj); } - com.google.cloud.contactcenterinsights.v1.SmartComposeSuggestionData other = (com.google.cloud.contactcenterinsights.v1.SmartComposeSuggestionData) obj; + com.google.cloud.contactcenterinsights.v1.SmartComposeSuggestionData other = + (com.google.cloud.contactcenterinsights.v1.SmartComposeSuggestionData) obj; - if (!getSuggestion() - .equals(other.getSuggestion())) return false; + if (!getSuggestion().equals(other.getSuggestion())) return false; if (java.lang.Double.doubleToLongBits(getConfidenceScore()) - != java.lang.Double.doubleToLongBits( - other.getConfidenceScore())) return false; - if (!internalGetMetadata().equals( - other.internalGetMetadata())) return false; - if (!getQueryRecord() - .equals(other.getQueryRecord())) return false; + != java.lang.Double.doubleToLongBits(other.getConfidenceScore())) return false; + if (!internalGetMetadata().equals(other.internalGetMetadata())) return false; + if (!getQueryRecord().equals(other.getQueryRecord())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -371,8 +399,10 @@ public int hashCode() { hash = (37 * hash) + SUGGESTION_FIELD_NUMBER; hash = (53 * hash) + getSuggestion().hashCode(); hash = (37 * hash) + CONFIDENCE_SCORE_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashLong( - java.lang.Double.doubleToLongBits(getConfidenceScore())); + hash = + (53 * hash) + + com.google.protobuf.Internal.hashLong( + java.lang.Double.doubleToLongBits(getConfidenceScore())); if (!internalGetMetadata().getMap().isEmpty()) { hash = (37 * hash) + METADATA_FIELD_NUMBER; hash = (53 * hash) + internalGetMetadata().hashCode(); @@ -385,151 +415,158 @@ public int hashCode() { } public static com.google.cloud.contactcenterinsights.v1.SmartComposeSuggestionData parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.contactcenterinsights.v1.SmartComposeSuggestionData parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.contactcenterinsights.v1.SmartComposeSuggestionData parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.contactcenterinsights.v1.SmartComposeSuggestionData parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.contactcenterinsights.v1.SmartComposeSuggestionData parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.contactcenterinsights.v1.SmartComposeSuggestionData parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.contactcenterinsights.v1.SmartComposeSuggestionData parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.contactcenterinsights.v1.SmartComposeSuggestionData parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.contactcenterinsights.v1.SmartComposeSuggestionData parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.contactcenterinsights.v1.SmartComposeSuggestionData parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.contactcenterinsights.v1.SmartComposeSuggestionData parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.contactcenterinsights.v1.SmartComposeSuggestionData + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.contactcenterinsights.v1.SmartComposeSuggestionData parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + + public static com.google.cloud.contactcenterinsights.v1.SmartComposeSuggestionData + parseDelimitedFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.contactcenterinsights.v1.SmartComposeSuggestionData parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.contactcenterinsights.v1.SmartComposeSuggestionData parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.contactcenterinsights.v1.SmartComposeSuggestionData prototype) { + + public static Builder newBuilder( + com.google.cloud.contactcenterinsights.v1.SmartComposeSuggestionData prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Agent Assist Smart Compose suggestion data.
    * 
* * Protobuf type {@code google.cloud.contactcenterinsights.v1.SmartComposeSuggestionData} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.contactcenterinsights.v1.SmartComposeSuggestionData) com.google.cloud.contactcenterinsights.v1.SmartComposeSuggestionDataOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.contactcenterinsights.v1.ResourcesProto.internal_static_google_cloud_contactcenterinsights_v1_SmartComposeSuggestionData_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.contactcenterinsights.v1.ResourcesProto + .internal_static_google_cloud_contactcenterinsights_v1_SmartComposeSuggestionData_descriptor; } @SuppressWarnings({"rawtypes"}) - protected com.google.protobuf.MapField internalGetMapField( - int number) { + protected com.google.protobuf.MapField internalGetMapField(int number) { switch (number) { case 3: return internalGetMetadata(); default: - throw new RuntimeException( - "Invalid map field number: " + number); + throw new RuntimeException("Invalid map field number: " + number); } } + @SuppressWarnings({"rawtypes"}) - protected com.google.protobuf.MapField internalGetMutableMapField( - int number) { + protected com.google.protobuf.MapField internalGetMutableMapField(int number) { switch (number) { case 3: return internalGetMutableMetadata(); default: - throw new RuntimeException( - "Invalid map field number: " + number); + throw new RuntimeException("Invalid map field number: " + number); } } + @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.contactcenterinsights.v1.ResourcesProto.internal_static_google_cloud_contactcenterinsights_v1_SmartComposeSuggestionData_fieldAccessorTable + return com.google.cloud.contactcenterinsights.v1.ResourcesProto + .internal_static_google_cloud_contactcenterinsights_v1_SmartComposeSuggestionData_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.contactcenterinsights.v1.SmartComposeSuggestionData.class, com.google.cloud.contactcenterinsights.v1.SmartComposeSuggestionData.Builder.class); + com.google.cloud.contactcenterinsights.v1.SmartComposeSuggestionData.class, + com.google.cloud.contactcenterinsights.v1.SmartComposeSuggestionData.Builder.class); } - // Construct using com.google.cloud.contactcenterinsights.v1.SmartComposeSuggestionData.newBuilder() - private Builder() { - - } + // Construct using + // com.google.cloud.contactcenterinsights.v1.SmartComposeSuggestionData.newBuilder() + private Builder() {} - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -542,14 +579,16 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.contactcenterinsights.v1.ResourcesProto.internal_static_google_cloud_contactcenterinsights_v1_SmartComposeSuggestionData_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.contactcenterinsights.v1.ResourcesProto + .internal_static_google_cloud_contactcenterinsights_v1_SmartComposeSuggestionData_descriptor; } @java.lang.Override - public com.google.cloud.contactcenterinsights.v1.SmartComposeSuggestionData getDefaultInstanceForType() { - return com.google.cloud.contactcenterinsights.v1.SmartComposeSuggestionData.getDefaultInstance(); + public com.google.cloud.contactcenterinsights.v1.SmartComposeSuggestionData + getDefaultInstanceForType() { + return com.google.cloud.contactcenterinsights.v1.SmartComposeSuggestionData + .getDefaultInstance(); } @java.lang.Override @@ -563,13 +602,17 @@ public com.google.cloud.contactcenterinsights.v1.SmartComposeSuggestionData buil @java.lang.Override public com.google.cloud.contactcenterinsights.v1.SmartComposeSuggestionData buildPartial() { - com.google.cloud.contactcenterinsights.v1.SmartComposeSuggestionData result = new com.google.cloud.contactcenterinsights.v1.SmartComposeSuggestionData(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.cloud.contactcenterinsights.v1.SmartComposeSuggestionData result = + new com.google.cloud.contactcenterinsights.v1.SmartComposeSuggestionData(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } - private void buildPartial0(com.google.cloud.contactcenterinsights.v1.SmartComposeSuggestionData result) { + private void buildPartial0( + com.google.cloud.contactcenterinsights.v1.SmartComposeSuggestionData result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { result.suggestion_ = suggestion_; @@ -590,46 +633,51 @@ private void buildPartial0(com.google.cloud.contactcenterinsights.v1.SmartCompos public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.contactcenterinsights.v1.SmartComposeSuggestionData) { - return mergeFrom((com.google.cloud.contactcenterinsights.v1.SmartComposeSuggestionData)other); + return mergeFrom( + (com.google.cloud.contactcenterinsights.v1.SmartComposeSuggestionData) other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.google.cloud.contactcenterinsights.v1.SmartComposeSuggestionData other) { - if (other == com.google.cloud.contactcenterinsights.v1.SmartComposeSuggestionData.getDefaultInstance()) return this; + public Builder mergeFrom( + com.google.cloud.contactcenterinsights.v1.SmartComposeSuggestionData other) { + if (other + == com.google.cloud.contactcenterinsights.v1.SmartComposeSuggestionData + .getDefaultInstance()) return this; if (!other.getSuggestion().isEmpty()) { suggestion_ = other.suggestion_; bitField0_ |= 0x00000001; @@ -638,8 +686,7 @@ public Builder mergeFrom(com.google.cloud.contactcenterinsights.v1.SmartComposeS if (other.getConfidenceScore() != 0D) { setConfidenceScore(other.getConfidenceScore()); } - internalGetMutableMetadata().mergeFrom( - other.internalGetMetadata()); + internalGetMutableMetadata().mergeFrom(other.internalGetMetadata()); bitField0_ |= 0x00000004; if (!other.getQueryRecord().isEmpty()) { queryRecord_ = other.queryRecord_; @@ -672,36 +719,43 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - suggestion_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 17: { - confidenceScore_ = input.readDouble(); - bitField0_ |= 0x00000002; - break; - } // case 17 - case 26: { - com.google.protobuf.MapEntry - metadata__ = input.readMessage( - MetadataDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry); - internalGetMutableMetadata().getMutableMap().put( - metadata__.getKey(), metadata__.getValue()); - bitField0_ |= 0x00000004; - break; - } // case 26 - case 34: { - queryRecord_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000008; - break; - } // case 34 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + suggestion_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 17: + { + confidenceScore_ = input.readDouble(); + bitField0_ |= 0x00000002; + break; + } // case 17 + case 26: + { + com.google.protobuf.MapEntry metadata__ = + input.readMessage( + MetadataDefaultEntryHolder.defaultEntry.getParserForType(), + extensionRegistry); + internalGetMutableMetadata() + .getMutableMap() + .put(metadata__.getKey(), metadata__.getValue()); + bitField0_ |= 0x00000004; + break; + } // case 26 + case 34: + { + queryRecord_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000008; + break; + } // case 34 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -711,22 +765,25 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private java.lang.Object suggestion_ = ""; /** + * + * *
      * The content of the suggestion.
      * 
* * string suggestion = 1; + * * @return The suggestion. */ public java.lang.String getSuggestion() { java.lang.Object ref = suggestion_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); suggestion_ = s; return s; @@ -735,20 +792,21 @@ public java.lang.String getSuggestion() { } } /** + * + * *
      * The content of the suggestion.
      * 
* * string suggestion = 1; + * * @return The bytes for suggestion. */ - public com.google.protobuf.ByteString - getSuggestionBytes() { + public com.google.protobuf.ByteString getSuggestionBytes() { java.lang.Object ref = suggestion_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); suggestion_ = b; return b; } else { @@ -756,28 +814,35 @@ public java.lang.String getSuggestion() { } } /** + * + * *
      * The content of the suggestion.
      * 
* * string suggestion = 1; + * * @param value The suggestion to set. * @return This builder for chaining. */ - public Builder setSuggestion( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setSuggestion(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } suggestion_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
      * The content of the suggestion.
      * 
* * string suggestion = 1; + * * @return This builder for chaining. */ public Builder clearSuggestion() { @@ -787,17 +852,21 @@ public Builder clearSuggestion() { return this; } /** + * + * *
      * The content of the suggestion.
      * 
* * string suggestion = 1; + * * @param value The bytes for suggestion to set. * @return This builder for chaining. */ - public Builder setSuggestionBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setSuggestionBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); suggestion_ = value; bitField0_ |= 0x00000001; @@ -805,8 +874,10 @@ public Builder setSuggestionBytes( return this; } - private double confidenceScore_ ; + private double confidenceScore_; /** + * + * *
      * The system's confidence score that this suggestion is a good match for this
      * conversation, ranging from 0.0 (completely uncertain) to 1.0 (completely
@@ -814,6 +885,7 @@ public Builder setSuggestionBytes(
      * 
* * double confidence_score = 2; + * * @return The confidenceScore. */ @java.lang.Override @@ -821,6 +893,8 @@ public double getConfidenceScore() { return confidenceScore_; } /** + * + * *
      * The system's confidence score that this suggestion is a good match for this
      * conversation, ranging from 0.0 (completely uncertain) to 1.0 (completely
@@ -828,17 +902,20 @@ public double getConfidenceScore() {
      * 
* * double confidence_score = 2; + * * @param value The confidenceScore to set. * @return This builder for chaining. */ public Builder setConfidenceScore(double value) { - + confidenceScore_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** + * + * *
      * The system's confidence score that this suggestion is a good match for this
      * conversation, ranging from 0.0 (completely uncertain) to 1.0 (completely
@@ -846,6 +923,7 @@ public Builder setConfidenceScore(double value) {
      * 
* * double confidence_score = 2; + * * @return This builder for chaining. */ public Builder clearConfidenceScore() { @@ -855,21 +933,20 @@ public Builder clearConfidenceScore() { return this; } - private com.google.protobuf.MapField< - java.lang.String, java.lang.String> metadata_; - private com.google.protobuf.MapField - internalGetMetadata() { + private com.google.protobuf.MapField metadata_; + + private com.google.protobuf.MapField internalGetMetadata() { if (metadata_ == null) { - return com.google.protobuf.MapField.emptyMapField( - MetadataDefaultEntryHolder.defaultEntry); + return com.google.protobuf.MapField.emptyMapField(MetadataDefaultEntryHolder.defaultEntry); } return metadata_; } + private com.google.protobuf.MapField internalGetMutableMetadata() { if (metadata_ == null) { - metadata_ = com.google.protobuf.MapField.newMapField( - MetadataDefaultEntryHolder.defaultEntry); + metadata_ = + com.google.protobuf.MapField.newMapField(MetadataDefaultEntryHolder.defaultEntry); } if (!metadata_.isMutable()) { metadata_ = metadata_.copy(); @@ -878,10 +955,13 @@ public Builder clearConfidenceScore() { onChanged(); return metadata_; } + public int getMetadataCount() { return internalGetMetadata().getMap().size(); } /** + * + * *
      * Map that contains metadata about the Smart Compose suggestion and the
      * document from which it originates.
@@ -890,20 +970,21 @@ public int getMetadataCount() {
      * map<string, string> metadata = 3;
      */
     @java.lang.Override
-    public boolean containsMetadata(
-        java.lang.String key) {
-      if (key == null) { throw new NullPointerException("map key"); }
+    public boolean containsMetadata(java.lang.String key) {
+      if (key == null) {
+        throw new NullPointerException("map key");
+      }
       return internalGetMetadata().getMap().containsKey(key);
     }
-    /**
-     * Use {@link #getMetadataMap()} instead.
-     */
+    /** Use {@link #getMetadataMap()} instead. */
     @java.lang.Override
     @java.lang.Deprecated
     public java.util.Map getMetadata() {
       return getMetadataMap();
     }
     /**
+     *
+     *
      * 
      * Map that contains metadata about the Smart Compose suggestion and the
      * document from which it originates.
@@ -916,6 +997,8 @@ public java.util.Map getMetadataMap() {
       return internalGetMetadata().getMap();
     }
     /**
+     *
+     *
      * 
      * Map that contains metadata about the Smart Compose suggestion and the
      * document from which it originates.
@@ -924,17 +1007,19 @@ public java.util.Map getMetadataMap() {
      * map<string, string> metadata = 3;
      */
     @java.lang.Override
-    public /* nullable */
-java.lang.String getMetadataOrDefault(
+    public /* nullable */ java.lang.String getMetadataOrDefault(
         java.lang.String key,
         /* nullable */
-java.lang.String defaultValue) {
-      if (key == null) { throw new NullPointerException("map key"); }
-      java.util.Map map =
-          internalGetMetadata().getMap();
+        java.lang.String defaultValue) {
+      if (key == null) {
+        throw new NullPointerException("map key");
+      }
+      java.util.Map map = internalGetMetadata().getMap();
       return map.containsKey(key) ? map.get(key) : defaultValue;
     }
     /**
+     *
+     *
      * 
      * Map that contains metadata about the Smart Compose suggestion and the
      * document from which it originates.
@@ -943,23 +1028,25 @@ java.lang.String getMetadataOrDefault(
      * map<string, string> metadata = 3;
      */
     @java.lang.Override
-    public java.lang.String getMetadataOrThrow(
-        java.lang.String key) {
-      if (key == null) { throw new NullPointerException("map key"); }
-      java.util.Map map =
-          internalGetMetadata().getMap();
+    public java.lang.String getMetadataOrThrow(java.lang.String key) {
+      if (key == null) {
+        throw new NullPointerException("map key");
+      }
+      java.util.Map map = internalGetMetadata().getMap();
       if (!map.containsKey(key)) {
         throw new java.lang.IllegalArgumentException();
       }
       return map.get(key);
     }
+
     public Builder clearMetadata() {
       bitField0_ = (bitField0_ & ~0x00000004);
-      internalGetMutableMetadata().getMutableMap()
-          .clear();
+      internalGetMutableMetadata().getMutableMap().clear();
       return this;
     }
     /**
+     *
+     *
      * 
      * Map that contains metadata about the Smart Compose suggestion and the
      * document from which it originates.
@@ -967,23 +1054,22 @@ public Builder clearMetadata() {
      *
      * map<string, string> metadata = 3;
      */
-    public Builder removeMetadata(
-        java.lang.String key) {
-      if (key == null) { throw new NullPointerException("map key"); }
-      internalGetMutableMetadata().getMutableMap()
-          .remove(key);
+    public Builder removeMetadata(java.lang.String key) {
+      if (key == null) {
+        throw new NullPointerException("map key");
+      }
+      internalGetMutableMetadata().getMutableMap().remove(key);
       return this;
     }
-    /**
-     * Use alternate mutation accessors instead.
-     */
+    /** Use alternate mutation accessors instead. */
     @java.lang.Deprecated
-    public java.util.Map
-        getMutableMetadata() {
+    public java.util.Map getMutableMetadata() {
       bitField0_ |= 0x00000004;
       return internalGetMutableMetadata().getMutableMap();
     }
     /**
+     *
+     *
      * 
      * Map that contains metadata about the Smart Compose suggestion and the
      * document from which it originates.
@@ -991,17 +1077,20 @@ public Builder removeMetadata(
      *
      * map<string, string> metadata = 3;
      */
-    public Builder putMetadata(
-        java.lang.String key,
-        java.lang.String value) {
-      if (key == null) { throw new NullPointerException("map key"); }
-      if (value == null) { throw new NullPointerException("map value"); }
-      internalGetMutableMetadata().getMutableMap()
-          .put(key, value);
+    public Builder putMetadata(java.lang.String key, java.lang.String value) {
+      if (key == null) {
+        throw new NullPointerException("map key");
+      }
+      if (value == null) {
+        throw new NullPointerException("map value");
+      }
+      internalGetMutableMetadata().getMutableMap().put(key, value);
       bitField0_ |= 0x00000004;
       return this;
     }
     /**
+     *
+     *
      * 
      * Map that contains metadata about the Smart Compose suggestion and the
      * document from which it originates.
@@ -1009,16 +1098,16 @@ public Builder putMetadata(
      *
      * map<string, string> metadata = 3;
      */
-    public Builder putAllMetadata(
-        java.util.Map values) {
-      internalGetMutableMetadata().getMutableMap()
-          .putAll(values);
+    public Builder putAllMetadata(java.util.Map values) {
+      internalGetMutableMetadata().getMutableMap().putAll(values);
       bitField0_ |= 0x00000004;
       return this;
     }
 
     private java.lang.Object queryRecord_ = "";
     /**
+     *
+     *
      * 
      * The name of the answer record.
      * Format:
@@ -1026,13 +1115,13 @@ public Builder putAllMetadata(
      * 
* * string query_record = 4; + * * @return The queryRecord. */ public java.lang.String getQueryRecord() { java.lang.Object ref = queryRecord_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); queryRecord_ = s; return s; @@ -1041,6 +1130,8 @@ public java.lang.String getQueryRecord() { } } /** + * + * *
      * The name of the answer record.
      * Format:
@@ -1048,15 +1139,14 @@ public java.lang.String getQueryRecord() {
      * 
* * string query_record = 4; + * * @return The bytes for queryRecord. */ - public com.google.protobuf.ByteString - getQueryRecordBytes() { + public com.google.protobuf.ByteString getQueryRecordBytes() { java.lang.Object ref = queryRecord_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); queryRecord_ = b; return b; } else { @@ -1064,6 +1154,8 @@ public java.lang.String getQueryRecord() { } } /** + * + * *
      * The name of the answer record.
      * Format:
@@ -1071,18 +1163,22 @@ public java.lang.String getQueryRecord() {
      * 
* * string query_record = 4; + * * @param value The queryRecord to set. * @return This builder for chaining. */ - public Builder setQueryRecord( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setQueryRecord(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } queryRecord_ = value; bitField0_ |= 0x00000008; onChanged(); return this; } /** + * + * *
      * The name of the answer record.
      * Format:
@@ -1090,6 +1186,7 @@ public Builder setQueryRecord(
      * 
* * string query_record = 4; + * * @return This builder for chaining. */ public Builder clearQueryRecord() { @@ -1099,6 +1196,8 @@ public Builder clearQueryRecord() { return this; } /** + * + * *
      * The name of the answer record.
      * Format:
@@ -1106,21 +1205,23 @@ public Builder clearQueryRecord() {
      * 
* * string query_record = 4; + * * @param value The bytes for queryRecord to set. * @return This builder for chaining. */ - public Builder setQueryRecordBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setQueryRecordBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); queryRecord_ = value; bitField0_ |= 0x00000008; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1130,41 +1231,43 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.contactcenterinsights.v1.SmartComposeSuggestionData) } // @@protoc_insertion_point(class_scope:google.cloud.contactcenterinsights.v1.SmartComposeSuggestionData) - private static final com.google.cloud.contactcenterinsights.v1.SmartComposeSuggestionData DEFAULT_INSTANCE; + private static final com.google.cloud.contactcenterinsights.v1.SmartComposeSuggestionData + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.contactcenterinsights.v1.SmartComposeSuggestionData(); } - public static com.google.cloud.contactcenterinsights.v1.SmartComposeSuggestionData getDefaultInstance() { + public static com.google.cloud.contactcenterinsights.v1.SmartComposeSuggestionData + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public SmartComposeSuggestionData parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public SmartComposeSuggestionData parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1176,9 +1279,8 @@ public com.google.protobuf.Parser getParserForType() } @java.lang.Override - public com.google.cloud.contactcenterinsights.v1.SmartComposeSuggestionData getDefaultInstanceForType() { + public com.google.cloud.contactcenterinsights.v1.SmartComposeSuggestionData + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/SmartComposeSuggestionDataOrBuilder.java b/java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/SmartComposeSuggestionDataOrBuilder.java similarity index 68% rename from owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/SmartComposeSuggestionDataOrBuilder.java rename to java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/SmartComposeSuggestionDataOrBuilder.java index 41caa275d209..c03b315876c4 100644 --- a/owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/SmartComposeSuggestionDataOrBuilder.java +++ b/java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/SmartComposeSuggestionDataOrBuilder.java @@ -1,33 +1,56 @@ +/* + * 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. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/contactcenterinsights/v1/resources.proto package com.google.cloud.contactcenterinsights.v1; -public interface SmartComposeSuggestionDataOrBuilder extends +public interface SmartComposeSuggestionDataOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.contactcenterinsights.v1.SmartComposeSuggestionData) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * The content of the suggestion.
    * 
* * string suggestion = 1; + * * @return The suggestion. */ java.lang.String getSuggestion(); /** + * + * *
    * The content of the suggestion.
    * 
* * string suggestion = 1; + * * @return The bytes for suggestion. */ - com.google.protobuf.ByteString - getSuggestionBytes(); + com.google.protobuf.ByteString getSuggestionBytes(); /** + * + * *
    * The system's confidence score that this suggestion is a good match for this
    * conversation, ranging from 0.0 (completely uncertain) to 1.0 (completely
@@ -35,11 +58,14 @@ public interface SmartComposeSuggestionDataOrBuilder extends
    * 
* * double confidence_score = 2; + * * @return The confidenceScore. */ double getConfidenceScore(); /** + * + * *
    * Map that contains metadata about the Smart Compose suggestion and the
    * document from which it originates.
@@ -49,6 +75,8 @@ public interface SmartComposeSuggestionDataOrBuilder extends
    */
   int getMetadataCount();
   /**
+   *
+   *
    * 
    * Map that contains metadata about the Smart Compose suggestion and the
    * document from which it originates.
@@ -56,15 +84,13 @@ public interface SmartComposeSuggestionDataOrBuilder extends
    *
    * map<string, string> metadata = 3;
    */
-  boolean containsMetadata(
-      java.lang.String key);
-  /**
-   * Use {@link #getMetadataMap()} instead.
-   */
+  boolean containsMetadata(java.lang.String key);
+  /** Use {@link #getMetadataMap()} instead. */
   @java.lang.Deprecated
-  java.util.Map
-  getMetadata();
+  java.util.Map getMetadata();
   /**
+   *
+   *
    * 
    * Map that contains metadata about the Smart Compose suggestion and the
    * document from which it originates.
@@ -72,9 +98,10 @@ boolean containsMetadata(
    *
    * map<string, string> metadata = 3;
    */
-  java.util.Map
-  getMetadataMap();
+  java.util.Map getMetadataMap();
   /**
+   *
+   *
    * 
    * Map that contains metadata about the Smart Compose suggestion and the
    * document from which it originates.
@@ -83,11 +110,13 @@ boolean containsMetadata(
    * map<string, string> metadata = 3;
    */
   /* nullable */
-java.lang.String getMetadataOrDefault(
+  java.lang.String getMetadataOrDefault(
       java.lang.String key,
       /* nullable */
-java.lang.String defaultValue);
+      java.lang.String defaultValue);
   /**
+   *
+   *
    * 
    * Map that contains metadata about the Smart Compose suggestion and the
    * document from which it originates.
@@ -95,10 +124,11 @@ java.lang.String getMetadataOrDefault(
    *
    * map<string, string> metadata = 3;
    */
-  java.lang.String getMetadataOrThrow(
-      java.lang.String key);
+  java.lang.String getMetadataOrThrow(java.lang.String key);
 
   /**
+   *
+   *
    * 
    * The name of the answer record.
    * Format:
@@ -106,10 +136,13 @@ java.lang.String getMetadataOrThrow(
    * 
* * string query_record = 4; + * * @return The queryRecord. */ java.lang.String getQueryRecord(); /** + * + * *
    * The name of the answer record.
    * Format:
@@ -117,8 +150,8 @@ java.lang.String getMetadataOrThrow(
    * 
* * string query_record = 4; + * * @return The bytes for queryRecord. */ - com.google.protobuf.ByteString - getQueryRecordBytes(); + com.google.protobuf.ByteString getQueryRecordBytes(); } diff --git a/owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/SmartReplyData.java b/java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/SmartReplyData.java similarity index 65% rename from owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/SmartReplyData.java rename to java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/SmartReplyData.java index 61118b1557f7..8f3dc2b40662 100644 --- a/owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/SmartReplyData.java +++ b/java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/SmartReplyData.java @@ -1,24 +1,42 @@ +/* + * 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. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/contactcenterinsights/v1/resources.proto package com.google.cloud.contactcenterinsights.v1; /** + * + * *
  * Agent Assist Smart Reply data.
  * 
* * Protobuf type {@code google.cloud.contactcenterinsights.v1.SmartReplyData} */ -public final class SmartReplyData extends - com.google.protobuf.GeneratedMessageV3 implements +public final class SmartReplyData extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.contactcenterinsights.v1.SmartReplyData) SmartReplyDataOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use SmartReplyData.newBuilder() to construct. private SmartReplyData(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private SmartReplyData() { reply_ = ""; queryRecord_ = ""; @@ -26,50 +44,54 @@ private SmartReplyData() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new SmartReplyData(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.contactcenterinsights.v1.ResourcesProto.internal_static_google_cloud_contactcenterinsights_v1_SmartReplyData_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.contactcenterinsights.v1.ResourcesProto + .internal_static_google_cloud_contactcenterinsights_v1_SmartReplyData_descriptor; } @SuppressWarnings({"rawtypes"}) @java.lang.Override - protected com.google.protobuf.MapField internalGetMapField( - int number) { + protected com.google.protobuf.MapField internalGetMapField(int number) { switch (number) { case 3: return internalGetMetadata(); default: - throw new RuntimeException( - "Invalid map field number: " + number); + throw new RuntimeException("Invalid map field number: " + number); } } + @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.contactcenterinsights.v1.ResourcesProto.internal_static_google_cloud_contactcenterinsights_v1_SmartReplyData_fieldAccessorTable + return com.google.cloud.contactcenterinsights.v1.ResourcesProto + .internal_static_google_cloud_contactcenterinsights_v1_SmartReplyData_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.contactcenterinsights.v1.SmartReplyData.class, com.google.cloud.contactcenterinsights.v1.SmartReplyData.Builder.class); + com.google.cloud.contactcenterinsights.v1.SmartReplyData.class, + com.google.cloud.contactcenterinsights.v1.SmartReplyData.Builder.class); } public static final int REPLY_FIELD_NUMBER = 1; + @SuppressWarnings("serial") private volatile java.lang.Object reply_ = ""; /** + * + * *
    * The content of the reply.
    * 
* * string reply = 1; + * * @return The reply. */ @java.lang.Override @@ -78,29 +100,29 @@ public java.lang.String getReply() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); reply_ = s; return s; } } /** + * + * *
    * The content of the reply.
    * 
* * string reply = 1; + * * @return The bytes for reply. */ @java.lang.Override - public com.google.protobuf.ByteString - getReplyBytes() { + public com.google.protobuf.ByteString getReplyBytes() { java.lang.Object ref = reply_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); reply_ = b; return b; } else { @@ -111,6 +133,8 @@ public java.lang.String getReply() { public static final int CONFIDENCE_SCORE_FIELD_NUMBER = 2; private double confidenceScore_ = 0D; /** + * + * *
    * The system's confidence score that this reply is a good match for this
    * conversation, ranging from 0.0 (completely uncertain) to 1.0 (completely
@@ -118,6 +142,7 @@ public java.lang.String getReply() {
    * 
* * double confidence_score = 2; + * * @return The confidenceScore. */ @java.lang.Override @@ -126,32 +151,34 @@ public double getConfidenceScore() { } public static final int METADATA_FIELD_NUMBER = 3; + private static final class MetadataDefaultEntryHolder { - static final com.google.protobuf.MapEntry< - java.lang.String, java.lang.String> defaultEntry = - com.google.protobuf.MapEntry - .newDefaultInstance( - com.google.cloud.contactcenterinsights.v1.ResourcesProto.internal_static_google_cloud_contactcenterinsights_v1_SmartReplyData_MetadataEntry_descriptor, - com.google.protobuf.WireFormat.FieldType.STRING, - "", - com.google.protobuf.WireFormat.FieldType.STRING, - ""); + static final com.google.protobuf.MapEntry defaultEntry = + com.google.protobuf.MapEntry.newDefaultInstance( + com.google.cloud.contactcenterinsights.v1.ResourcesProto + .internal_static_google_cloud_contactcenterinsights_v1_SmartReplyData_MetadataEntry_descriptor, + com.google.protobuf.WireFormat.FieldType.STRING, + "", + com.google.protobuf.WireFormat.FieldType.STRING, + ""); } + @SuppressWarnings("serial") - private com.google.protobuf.MapField< - java.lang.String, java.lang.String> metadata_; - private com.google.protobuf.MapField - internalGetMetadata() { + private com.google.protobuf.MapField metadata_; + + private com.google.protobuf.MapField internalGetMetadata() { if (metadata_ == null) { - return com.google.protobuf.MapField.emptyMapField( - MetadataDefaultEntryHolder.defaultEntry); + return com.google.protobuf.MapField.emptyMapField(MetadataDefaultEntryHolder.defaultEntry); } return metadata_; } + public int getMetadataCount() { return internalGetMetadata().getMap().size(); } /** + * + * *
    * Map that contains metadata about the Smart Reply and the document from
    * which it originates.
@@ -160,20 +187,21 @@ public int getMetadataCount() {
    * map<string, string> metadata = 3;
    */
   @java.lang.Override
-  public boolean containsMetadata(
-      java.lang.String key) {
-    if (key == null) { throw new NullPointerException("map key"); }
+  public boolean containsMetadata(java.lang.String key) {
+    if (key == null) {
+      throw new NullPointerException("map key");
+    }
     return internalGetMetadata().getMap().containsKey(key);
   }
-  /**
-   * Use {@link #getMetadataMap()} instead.
-   */
+  /** Use {@link #getMetadataMap()} instead. */
   @java.lang.Override
   @java.lang.Deprecated
   public java.util.Map getMetadata() {
     return getMetadataMap();
   }
   /**
+   *
+   *
    * 
    * Map that contains metadata about the Smart Reply and the document from
    * which it originates.
@@ -186,6 +214,8 @@ public java.util.Map getMetadataMap() {
     return internalGetMetadata().getMap();
   }
   /**
+   *
+   *
    * 
    * Map that contains metadata about the Smart Reply and the document from
    * which it originates.
@@ -194,17 +224,19 @@ public java.util.Map getMetadataMap() {
    * map<string, string> metadata = 3;
    */
   @java.lang.Override
-  public /* nullable */
-java.lang.String getMetadataOrDefault(
+  public /* nullable */ java.lang.String getMetadataOrDefault(
       java.lang.String key,
       /* nullable */
-java.lang.String defaultValue) {
-    if (key == null) { throw new NullPointerException("map key"); }
-    java.util.Map map =
-        internalGetMetadata().getMap();
+      java.lang.String defaultValue) {
+    if (key == null) {
+      throw new NullPointerException("map key");
+    }
+    java.util.Map map = internalGetMetadata().getMap();
     return map.containsKey(key) ? map.get(key) : defaultValue;
   }
   /**
+   *
+   *
    * 
    * Map that contains metadata about the Smart Reply and the document from
    * which it originates.
@@ -213,11 +245,11 @@ java.lang.String getMetadataOrDefault(
    * map<string, string> metadata = 3;
    */
   @java.lang.Override
-  public java.lang.String getMetadataOrThrow(
-      java.lang.String key) {
-    if (key == null) { throw new NullPointerException("map key"); }
-    java.util.Map map =
-        internalGetMetadata().getMap();
+  public java.lang.String getMetadataOrThrow(java.lang.String key) {
+    if (key == null) {
+      throw new NullPointerException("map key");
+    }
+    java.util.Map map = internalGetMetadata().getMap();
     if (!map.containsKey(key)) {
       throw new java.lang.IllegalArgumentException();
     }
@@ -225,9 +257,12 @@ public java.lang.String getMetadataOrThrow(
   }
 
   public static final int QUERY_RECORD_FIELD_NUMBER = 4;
+
   @SuppressWarnings("serial")
   private volatile java.lang.Object queryRecord_ = "";
   /**
+   *
+   *
    * 
    * The name of the answer record.
    * Format:
@@ -235,6 +270,7 @@ public java.lang.String getMetadataOrThrow(
    * 
* * string query_record = 4; + * * @return The queryRecord. */ @java.lang.Override @@ -243,14 +279,15 @@ public java.lang.String getQueryRecord() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); queryRecord_ = s; return s; } } /** + * + * *
    * The name of the answer record.
    * Format:
@@ -258,16 +295,15 @@ public java.lang.String getQueryRecord() {
    * 
* * string query_record = 4; + * * @return The bytes for queryRecord. */ @java.lang.Override - public com.google.protobuf.ByteString - getQueryRecordBytes() { + public com.google.protobuf.ByteString getQueryRecordBytes() { java.lang.Object ref = queryRecord_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); queryRecord_ = b; return b; } else { @@ -276,6 +312,7 @@ public java.lang.String getQueryRecord() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -287,20 +324,15 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(reply_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, reply_); } if (java.lang.Double.doubleToRawLongBits(confidenceScore_) != 0) { output.writeDouble(2, confidenceScore_); } - com.google.protobuf.GeneratedMessageV3 - .serializeStringMapTo( - output, - internalGetMetadata(), - MetadataDefaultEntryHolder.defaultEntry, - 3); + com.google.protobuf.GeneratedMessageV3.serializeStringMapTo( + output, internalGetMetadata(), MetadataDefaultEntryHolder.defaultEntry, 3); if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(queryRecord_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 4, queryRecord_); } @@ -317,18 +349,17 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, reply_); } if (java.lang.Double.doubleToRawLongBits(confidenceScore_) != 0) { - size += com.google.protobuf.CodedOutputStream - .computeDoubleSize(2, confidenceScore_); - } - for (java.util.Map.Entry entry - : internalGetMetadata().getMap().entrySet()) { - com.google.protobuf.MapEntry - metadata__ = MetadataDefaultEntryHolder.defaultEntry.newBuilderForType() - .setKey(entry.getKey()) - .setValue(entry.getValue()) - .build(); - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(3, metadata__); + size += com.google.protobuf.CodedOutputStream.computeDoubleSize(2, confidenceScore_); + } + for (java.util.Map.Entry entry : + internalGetMetadata().getMap().entrySet()) { + com.google.protobuf.MapEntry metadata__ = + MetadataDefaultEntryHolder.defaultEntry + .newBuilderForType() + .setKey(entry.getKey()) + .setValue(entry.getValue()) + .build(); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, metadata__); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(queryRecord_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, queryRecord_); @@ -341,22 +372,19 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.contactcenterinsights.v1.SmartReplyData)) { return super.equals(obj); } - com.google.cloud.contactcenterinsights.v1.SmartReplyData other = (com.google.cloud.contactcenterinsights.v1.SmartReplyData) obj; + com.google.cloud.contactcenterinsights.v1.SmartReplyData other = + (com.google.cloud.contactcenterinsights.v1.SmartReplyData) obj; - if (!getReply() - .equals(other.getReply())) return false; + if (!getReply().equals(other.getReply())) return false; if (java.lang.Double.doubleToLongBits(getConfidenceScore()) - != java.lang.Double.doubleToLongBits( - other.getConfidenceScore())) return false; - if (!internalGetMetadata().equals( - other.internalGetMetadata())) return false; - if (!getQueryRecord() - .equals(other.getQueryRecord())) return false; + != java.lang.Double.doubleToLongBits(other.getConfidenceScore())) return false; + if (!internalGetMetadata().equals(other.internalGetMetadata())) return false; + if (!getQueryRecord().equals(other.getQueryRecord())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -371,8 +399,10 @@ public int hashCode() { hash = (37 * hash) + REPLY_FIELD_NUMBER; hash = (53 * hash) + getReply().hashCode(); hash = (37 * hash) + CONFIDENCE_SCORE_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashLong( - java.lang.Double.doubleToLongBits(getConfidenceScore())); + hash = + (53 * hash) + + com.google.protobuf.Internal.hashLong( + java.lang.Double.doubleToLongBits(getConfidenceScore())); if (!internalGetMetadata().getMap().isEmpty()) { hash = (37 * hash) + METADATA_FIELD_NUMBER; hash = (53 * hash) + internalGetMetadata().hashCode(); @@ -385,151 +415,156 @@ public int hashCode() { } public static com.google.cloud.contactcenterinsights.v1.SmartReplyData parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.contactcenterinsights.v1.SmartReplyData parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.contactcenterinsights.v1.SmartReplyData parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.contactcenterinsights.v1.SmartReplyData parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.contactcenterinsights.v1.SmartReplyData parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.contactcenterinsights.v1.SmartReplyData parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.contactcenterinsights.v1.SmartReplyData parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.contactcenterinsights.v1.SmartReplyData parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.contactcenterinsights.v1.SmartReplyData parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.contactcenterinsights.v1.SmartReplyData parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.contactcenterinsights.v1.SmartReplyData parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.contactcenterinsights.v1.SmartReplyData parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.contactcenterinsights.v1.SmartReplyData parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.contactcenterinsights.v1.SmartReplyData parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.contactcenterinsights.v1.SmartReplyData prototype) { + + public static Builder newBuilder( + com.google.cloud.contactcenterinsights.v1.SmartReplyData prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Agent Assist Smart Reply data.
    * 
* * Protobuf type {@code google.cloud.contactcenterinsights.v1.SmartReplyData} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.contactcenterinsights.v1.SmartReplyData) com.google.cloud.contactcenterinsights.v1.SmartReplyDataOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.contactcenterinsights.v1.ResourcesProto.internal_static_google_cloud_contactcenterinsights_v1_SmartReplyData_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.contactcenterinsights.v1.ResourcesProto + .internal_static_google_cloud_contactcenterinsights_v1_SmartReplyData_descriptor; } @SuppressWarnings({"rawtypes"}) - protected com.google.protobuf.MapField internalGetMapField( - int number) { + protected com.google.protobuf.MapField internalGetMapField(int number) { switch (number) { case 3: return internalGetMetadata(); default: - throw new RuntimeException( - "Invalid map field number: " + number); + throw new RuntimeException("Invalid map field number: " + number); } } + @SuppressWarnings({"rawtypes"}) - protected com.google.protobuf.MapField internalGetMutableMapField( - int number) { + protected com.google.protobuf.MapField internalGetMutableMapField(int number) { switch (number) { case 3: return internalGetMutableMetadata(); default: - throw new RuntimeException( - "Invalid map field number: " + number); + throw new RuntimeException("Invalid map field number: " + number); } } + @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.contactcenterinsights.v1.ResourcesProto.internal_static_google_cloud_contactcenterinsights_v1_SmartReplyData_fieldAccessorTable + return com.google.cloud.contactcenterinsights.v1.ResourcesProto + .internal_static_google_cloud_contactcenterinsights_v1_SmartReplyData_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.contactcenterinsights.v1.SmartReplyData.class, com.google.cloud.contactcenterinsights.v1.SmartReplyData.Builder.class); + com.google.cloud.contactcenterinsights.v1.SmartReplyData.class, + com.google.cloud.contactcenterinsights.v1.SmartReplyData.Builder.class); } // Construct using com.google.cloud.contactcenterinsights.v1.SmartReplyData.newBuilder() - private Builder() { + private Builder() {} - } - - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -542,9 +577,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.contactcenterinsights.v1.ResourcesProto.internal_static_google_cloud_contactcenterinsights_v1_SmartReplyData_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.contactcenterinsights.v1.ResourcesProto + .internal_static_google_cloud_contactcenterinsights_v1_SmartReplyData_descriptor; } @java.lang.Override @@ -563,8 +598,11 @@ public com.google.cloud.contactcenterinsights.v1.SmartReplyData build() { @java.lang.Override public com.google.cloud.contactcenterinsights.v1.SmartReplyData buildPartial() { - com.google.cloud.contactcenterinsights.v1.SmartReplyData result = new com.google.cloud.contactcenterinsights.v1.SmartReplyData(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.cloud.contactcenterinsights.v1.SmartReplyData result = + new com.google.cloud.contactcenterinsights.v1.SmartReplyData(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } @@ -590,38 +628,39 @@ private void buildPartial0(com.google.cloud.contactcenterinsights.v1.SmartReplyD public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.contactcenterinsights.v1.SmartReplyData) { - return mergeFrom((com.google.cloud.contactcenterinsights.v1.SmartReplyData)other); + return mergeFrom((com.google.cloud.contactcenterinsights.v1.SmartReplyData) other); } else { super.mergeFrom(other); return this; @@ -629,7 +668,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.contactcenterinsights.v1.SmartReplyData other) { - if (other == com.google.cloud.contactcenterinsights.v1.SmartReplyData.getDefaultInstance()) return this; + if (other == com.google.cloud.contactcenterinsights.v1.SmartReplyData.getDefaultInstance()) + return this; if (!other.getReply().isEmpty()) { reply_ = other.reply_; bitField0_ |= 0x00000001; @@ -638,8 +678,7 @@ public Builder mergeFrom(com.google.cloud.contactcenterinsights.v1.SmartReplyDat if (other.getConfidenceScore() != 0D) { setConfidenceScore(other.getConfidenceScore()); } - internalGetMutableMetadata().mergeFrom( - other.internalGetMetadata()); + internalGetMutableMetadata().mergeFrom(other.internalGetMetadata()); bitField0_ |= 0x00000004; if (!other.getQueryRecord().isEmpty()) { queryRecord_ = other.queryRecord_; @@ -672,36 +711,43 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - reply_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 17: { - confidenceScore_ = input.readDouble(); - bitField0_ |= 0x00000002; - break; - } // case 17 - case 26: { - com.google.protobuf.MapEntry - metadata__ = input.readMessage( - MetadataDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry); - internalGetMutableMetadata().getMutableMap().put( - metadata__.getKey(), metadata__.getValue()); - bitField0_ |= 0x00000004; - break; - } // case 26 - case 34: { - queryRecord_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000008; - break; - } // case 34 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + reply_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 17: + { + confidenceScore_ = input.readDouble(); + bitField0_ |= 0x00000002; + break; + } // case 17 + case 26: + { + com.google.protobuf.MapEntry metadata__ = + input.readMessage( + MetadataDefaultEntryHolder.defaultEntry.getParserForType(), + extensionRegistry); + internalGetMutableMetadata() + .getMutableMap() + .put(metadata__.getKey(), metadata__.getValue()); + bitField0_ |= 0x00000004; + break; + } // case 26 + case 34: + { + queryRecord_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000008; + break; + } // case 34 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -711,22 +757,25 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private java.lang.Object reply_ = ""; /** + * + * *
      * The content of the reply.
      * 
* * string reply = 1; + * * @return The reply. */ public java.lang.String getReply() { java.lang.Object ref = reply_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); reply_ = s; return s; @@ -735,20 +784,21 @@ public java.lang.String getReply() { } } /** + * + * *
      * The content of the reply.
      * 
* * string reply = 1; + * * @return The bytes for reply. */ - public com.google.protobuf.ByteString - getReplyBytes() { + public com.google.protobuf.ByteString getReplyBytes() { java.lang.Object ref = reply_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); reply_ = b; return b; } else { @@ -756,28 +806,35 @@ public java.lang.String getReply() { } } /** + * + * *
      * The content of the reply.
      * 
* * string reply = 1; + * * @param value The reply to set. * @return This builder for chaining. */ - public Builder setReply( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setReply(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } reply_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
      * The content of the reply.
      * 
* * string reply = 1; + * * @return This builder for chaining. */ public Builder clearReply() { @@ -787,17 +844,21 @@ public Builder clearReply() { return this; } /** + * + * *
      * The content of the reply.
      * 
* * string reply = 1; + * * @param value The bytes for reply to set. * @return This builder for chaining. */ - public Builder setReplyBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setReplyBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); reply_ = value; bitField0_ |= 0x00000001; @@ -805,8 +866,10 @@ public Builder setReplyBytes( return this; } - private double confidenceScore_ ; + private double confidenceScore_; /** + * + * *
      * The system's confidence score that this reply is a good match for this
      * conversation, ranging from 0.0 (completely uncertain) to 1.0 (completely
@@ -814,6 +877,7 @@ public Builder setReplyBytes(
      * 
* * double confidence_score = 2; + * * @return The confidenceScore. */ @java.lang.Override @@ -821,6 +885,8 @@ public double getConfidenceScore() { return confidenceScore_; } /** + * + * *
      * The system's confidence score that this reply is a good match for this
      * conversation, ranging from 0.0 (completely uncertain) to 1.0 (completely
@@ -828,17 +894,20 @@ public double getConfidenceScore() {
      * 
* * double confidence_score = 2; + * * @param value The confidenceScore to set. * @return This builder for chaining. */ public Builder setConfidenceScore(double value) { - + confidenceScore_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** + * + * *
      * The system's confidence score that this reply is a good match for this
      * conversation, ranging from 0.0 (completely uncertain) to 1.0 (completely
@@ -846,6 +915,7 @@ public Builder setConfidenceScore(double value) {
      * 
* * double confidence_score = 2; + * * @return This builder for chaining. */ public Builder clearConfidenceScore() { @@ -855,21 +925,20 @@ public Builder clearConfidenceScore() { return this; } - private com.google.protobuf.MapField< - java.lang.String, java.lang.String> metadata_; - private com.google.protobuf.MapField - internalGetMetadata() { + private com.google.protobuf.MapField metadata_; + + private com.google.protobuf.MapField internalGetMetadata() { if (metadata_ == null) { - return com.google.protobuf.MapField.emptyMapField( - MetadataDefaultEntryHolder.defaultEntry); + return com.google.protobuf.MapField.emptyMapField(MetadataDefaultEntryHolder.defaultEntry); } return metadata_; } + private com.google.protobuf.MapField internalGetMutableMetadata() { if (metadata_ == null) { - metadata_ = com.google.protobuf.MapField.newMapField( - MetadataDefaultEntryHolder.defaultEntry); + metadata_ = + com.google.protobuf.MapField.newMapField(MetadataDefaultEntryHolder.defaultEntry); } if (!metadata_.isMutable()) { metadata_ = metadata_.copy(); @@ -878,10 +947,13 @@ public Builder clearConfidenceScore() { onChanged(); return metadata_; } + public int getMetadataCount() { return internalGetMetadata().getMap().size(); } /** + * + * *
      * Map that contains metadata about the Smart Reply and the document from
      * which it originates.
@@ -890,20 +962,21 @@ public int getMetadataCount() {
      * map<string, string> metadata = 3;
      */
     @java.lang.Override
-    public boolean containsMetadata(
-        java.lang.String key) {
-      if (key == null) { throw new NullPointerException("map key"); }
+    public boolean containsMetadata(java.lang.String key) {
+      if (key == null) {
+        throw new NullPointerException("map key");
+      }
       return internalGetMetadata().getMap().containsKey(key);
     }
-    /**
-     * Use {@link #getMetadataMap()} instead.
-     */
+    /** Use {@link #getMetadataMap()} instead. */
     @java.lang.Override
     @java.lang.Deprecated
     public java.util.Map getMetadata() {
       return getMetadataMap();
     }
     /**
+     *
+     *
      * 
      * Map that contains metadata about the Smart Reply and the document from
      * which it originates.
@@ -916,6 +989,8 @@ public java.util.Map getMetadataMap() {
       return internalGetMetadata().getMap();
     }
     /**
+     *
+     *
      * 
      * Map that contains metadata about the Smart Reply and the document from
      * which it originates.
@@ -924,17 +999,19 @@ public java.util.Map getMetadataMap() {
      * map<string, string> metadata = 3;
      */
     @java.lang.Override
-    public /* nullable */
-java.lang.String getMetadataOrDefault(
+    public /* nullable */ java.lang.String getMetadataOrDefault(
         java.lang.String key,
         /* nullable */
-java.lang.String defaultValue) {
-      if (key == null) { throw new NullPointerException("map key"); }
-      java.util.Map map =
-          internalGetMetadata().getMap();
+        java.lang.String defaultValue) {
+      if (key == null) {
+        throw new NullPointerException("map key");
+      }
+      java.util.Map map = internalGetMetadata().getMap();
       return map.containsKey(key) ? map.get(key) : defaultValue;
     }
     /**
+     *
+     *
      * 
      * Map that contains metadata about the Smart Reply and the document from
      * which it originates.
@@ -943,23 +1020,25 @@ java.lang.String getMetadataOrDefault(
      * map<string, string> metadata = 3;
      */
     @java.lang.Override
-    public java.lang.String getMetadataOrThrow(
-        java.lang.String key) {
-      if (key == null) { throw new NullPointerException("map key"); }
-      java.util.Map map =
-          internalGetMetadata().getMap();
+    public java.lang.String getMetadataOrThrow(java.lang.String key) {
+      if (key == null) {
+        throw new NullPointerException("map key");
+      }
+      java.util.Map map = internalGetMetadata().getMap();
       if (!map.containsKey(key)) {
         throw new java.lang.IllegalArgumentException();
       }
       return map.get(key);
     }
+
     public Builder clearMetadata() {
       bitField0_ = (bitField0_ & ~0x00000004);
-      internalGetMutableMetadata().getMutableMap()
-          .clear();
+      internalGetMutableMetadata().getMutableMap().clear();
       return this;
     }
     /**
+     *
+     *
      * 
      * Map that contains metadata about the Smart Reply and the document from
      * which it originates.
@@ -967,23 +1046,22 @@ public Builder clearMetadata() {
      *
      * map<string, string> metadata = 3;
      */
-    public Builder removeMetadata(
-        java.lang.String key) {
-      if (key == null) { throw new NullPointerException("map key"); }
-      internalGetMutableMetadata().getMutableMap()
-          .remove(key);
+    public Builder removeMetadata(java.lang.String key) {
+      if (key == null) {
+        throw new NullPointerException("map key");
+      }
+      internalGetMutableMetadata().getMutableMap().remove(key);
       return this;
     }
-    /**
-     * Use alternate mutation accessors instead.
-     */
+    /** Use alternate mutation accessors instead. */
     @java.lang.Deprecated
-    public java.util.Map
-        getMutableMetadata() {
+    public java.util.Map getMutableMetadata() {
       bitField0_ |= 0x00000004;
       return internalGetMutableMetadata().getMutableMap();
     }
     /**
+     *
+     *
      * 
      * Map that contains metadata about the Smart Reply and the document from
      * which it originates.
@@ -991,17 +1069,20 @@ public Builder removeMetadata(
      *
      * map<string, string> metadata = 3;
      */
-    public Builder putMetadata(
-        java.lang.String key,
-        java.lang.String value) {
-      if (key == null) { throw new NullPointerException("map key"); }
-      if (value == null) { throw new NullPointerException("map value"); }
-      internalGetMutableMetadata().getMutableMap()
-          .put(key, value);
+    public Builder putMetadata(java.lang.String key, java.lang.String value) {
+      if (key == null) {
+        throw new NullPointerException("map key");
+      }
+      if (value == null) {
+        throw new NullPointerException("map value");
+      }
+      internalGetMutableMetadata().getMutableMap().put(key, value);
       bitField0_ |= 0x00000004;
       return this;
     }
     /**
+     *
+     *
      * 
      * Map that contains metadata about the Smart Reply and the document from
      * which it originates.
@@ -1009,16 +1090,16 @@ public Builder putMetadata(
      *
      * map<string, string> metadata = 3;
      */
-    public Builder putAllMetadata(
-        java.util.Map values) {
-      internalGetMutableMetadata().getMutableMap()
-          .putAll(values);
+    public Builder putAllMetadata(java.util.Map values) {
+      internalGetMutableMetadata().getMutableMap().putAll(values);
       bitField0_ |= 0x00000004;
       return this;
     }
 
     private java.lang.Object queryRecord_ = "";
     /**
+     *
+     *
      * 
      * The name of the answer record.
      * Format:
@@ -1026,13 +1107,13 @@ public Builder putAllMetadata(
      * 
* * string query_record = 4; + * * @return The queryRecord. */ public java.lang.String getQueryRecord() { java.lang.Object ref = queryRecord_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); queryRecord_ = s; return s; @@ -1041,6 +1122,8 @@ public java.lang.String getQueryRecord() { } } /** + * + * *
      * The name of the answer record.
      * Format:
@@ -1048,15 +1131,14 @@ public java.lang.String getQueryRecord() {
      * 
* * string query_record = 4; + * * @return The bytes for queryRecord. */ - public com.google.protobuf.ByteString - getQueryRecordBytes() { + public com.google.protobuf.ByteString getQueryRecordBytes() { java.lang.Object ref = queryRecord_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); queryRecord_ = b; return b; } else { @@ -1064,6 +1146,8 @@ public java.lang.String getQueryRecord() { } } /** + * + * *
      * The name of the answer record.
      * Format:
@@ -1071,18 +1155,22 @@ public java.lang.String getQueryRecord() {
      * 
* * string query_record = 4; + * * @param value The queryRecord to set. * @return This builder for chaining. */ - public Builder setQueryRecord( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setQueryRecord(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } queryRecord_ = value; bitField0_ |= 0x00000008; onChanged(); return this; } /** + * + * *
      * The name of the answer record.
      * Format:
@@ -1090,6 +1178,7 @@ public Builder setQueryRecord(
      * 
* * string query_record = 4; + * * @return This builder for chaining. */ public Builder clearQueryRecord() { @@ -1099,6 +1188,8 @@ public Builder clearQueryRecord() { return this; } /** + * + * *
      * The name of the answer record.
      * Format:
@@ -1106,21 +1197,23 @@ public Builder clearQueryRecord() {
      * 
* * string query_record = 4; + * * @param value The bytes for queryRecord to set. * @return This builder for chaining. */ - public Builder setQueryRecordBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setQueryRecordBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); queryRecord_ = value; bitField0_ |= 0x00000008; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1130,12 +1223,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.contactcenterinsights.v1.SmartReplyData) } // @@protoc_insertion_point(class_scope:google.cloud.contactcenterinsights.v1.SmartReplyData) private static final com.google.cloud.contactcenterinsights.v1.SmartReplyData DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.contactcenterinsights.v1.SmartReplyData(); } @@ -1144,27 +1237,27 @@ public static com.google.cloud.contactcenterinsights.v1.SmartReplyData getDefaul return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public SmartReplyData parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public SmartReplyData parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1179,6 +1272,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.contactcenterinsights.v1.SmartReplyData getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/SmartReplyDataOrBuilder.java b/java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/SmartReplyDataOrBuilder.java similarity index 67% rename from owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/SmartReplyDataOrBuilder.java rename to java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/SmartReplyDataOrBuilder.java index 5e348d85a138..9f3bb387923e 100644 --- a/owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/SmartReplyDataOrBuilder.java +++ b/java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/SmartReplyDataOrBuilder.java @@ -1,33 +1,56 @@ +/* + * 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. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/contactcenterinsights/v1/resources.proto package com.google.cloud.contactcenterinsights.v1; -public interface SmartReplyDataOrBuilder extends +public interface SmartReplyDataOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.contactcenterinsights.v1.SmartReplyData) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * The content of the reply.
    * 
* * string reply = 1; + * * @return The reply. */ java.lang.String getReply(); /** + * + * *
    * The content of the reply.
    * 
* * string reply = 1; + * * @return The bytes for reply. */ - com.google.protobuf.ByteString - getReplyBytes(); + com.google.protobuf.ByteString getReplyBytes(); /** + * + * *
    * The system's confidence score that this reply is a good match for this
    * conversation, ranging from 0.0 (completely uncertain) to 1.0 (completely
@@ -35,11 +58,14 @@ public interface SmartReplyDataOrBuilder extends
    * 
* * double confidence_score = 2; + * * @return The confidenceScore. */ double getConfidenceScore(); /** + * + * *
    * Map that contains metadata about the Smart Reply and the document from
    * which it originates.
@@ -49,6 +75,8 @@ public interface SmartReplyDataOrBuilder extends
    */
   int getMetadataCount();
   /**
+   *
+   *
    * 
    * Map that contains metadata about the Smart Reply and the document from
    * which it originates.
@@ -56,15 +84,13 @@ public interface SmartReplyDataOrBuilder extends
    *
    * map<string, string> metadata = 3;
    */
-  boolean containsMetadata(
-      java.lang.String key);
-  /**
-   * Use {@link #getMetadataMap()} instead.
-   */
+  boolean containsMetadata(java.lang.String key);
+  /** Use {@link #getMetadataMap()} instead. */
   @java.lang.Deprecated
-  java.util.Map
-  getMetadata();
+  java.util.Map getMetadata();
   /**
+   *
+   *
    * 
    * Map that contains metadata about the Smart Reply and the document from
    * which it originates.
@@ -72,9 +98,10 @@ boolean containsMetadata(
    *
    * map<string, string> metadata = 3;
    */
-  java.util.Map
-  getMetadataMap();
+  java.util.Map getMetadataMap();
   /**
+   *
+   *
    * 
    * Map that contains metadata about the Smart Reply and the document from
    * which it originates.
@@ -83,11 +110,13 @@ boolean containsMetadata(
    * map<string, string> metadata = 3;
    */
   /* nullable */
-java.lang.String getMetadataOrDefault(
+  java.lang.String getMetadataOrDefault(
       java.lang.String key,
       /* nullable */
-java.lang.String defaultValue);
+      java.lang.String defaultValue);
   /**
+   *
+   *
    * 
    * Map that contains metadata about the Smart Reply and the document from
    * which it originates.
@@ -95,10 +124,11 @@ java.lang.String getMetadataOrDefault(
    *
    * map<string, string> metadata = 3;
    */
-  java.lang.String getMetadataOrThrow(
-      java.lang.String key);
+  java.lang.String getMetadataOrThrow(java.lang.String key);
 
   /**
+   *
+   *
    * 
    * The name of the answer record.
    * Format:
@@ -106,10 +136,13 @@ java.lang.String getMetadataOrThrow(
    * 
* * string query_record = 4; + * * @return The queryRecord. */ java.lang.String getQueryRecord(); /** + * + * *
    * The name of the answer record.
    * Format:
@@ -117,8 +150,8 @@ java.lang.String getMetadataOrThrow(
    * 
* * string query_record = 4; + * * @return The bytes for queryRecord. */ - com.google.protobuf.ByteString - getQueryRecordBytes(); + com.google.protobuf.ByteString getQueryRecordBytes(); } diff --git a/owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/UndeployIssueModelMetadata.java b/java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/UndeployIssueModelMetadata.java similarity index 63% rename from owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/UndeployIssueModelMetadata.java rename to java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/UndeployIssueModelMetadata.java index 7f546eead11d..db9af226f082 100644 --- a/owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/UndeployIssueModelMetadata.java +++ b/java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/UndeployIssueModelMetadata.java @@ -1,60 +1,82 @@ +/* + * 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. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/contactcenterinsights/v1/contact_center_insights.proto package com.google.cloud.contactcenterinsights.v1; /** + * + * *
  * Metadata for undeploying an issue model.
  * 
* * Protobuf type {@code google.cloud.contactcenterinsights.v1.UndeployIssueModelMetadata} */ -public final class UndeployIssueModelMetadata extends - com.google.protobuf.GeneratedMessageV3 implements +public final class UndeployIssueModelMetadata extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.contactcenterinsights.v1.UndeployIssueModelMetadata) UndeployIssueModelMetadataOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use UndeployIssueModelMetadata.newBuilder() to construct. private UndeployIssueModelMetadata(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private UndeployIssueModelMetadata() { - } + + private UndeployIssueModelMetadata() {} @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new UndeployIssueModelMetadata(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto.internal_static_google_cloud_contactcenterinsights_v1_UndeployIssueModelMetadata_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto + .internal_static_google_cloud_contactcenterinsights_v1_UndeployIssueModelMetadata_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto.internal_static_google_cloud_contactcenterinsights_v1_UndeployIssueModelMetadata_fieldAccessorTable + return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto + .internal_static_google_cloud_contactcenterinsights_v1_UndeployIssueModelMetadata_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.contactcenterinsights.v1.UndeployIssueModelMetadata.class, com.google.cloud.contactcenterinsights.v1.UndeployIssueModelMetadata.Builder.class); + com.google.cloud.contactcenterinsights.v1.UndeployIssueModelMetadata.class, + com.google.cloud.contactcenterinsights.v1.UndeployIssueModelMetadata.Builder.class); } public static final int CREATE_TIME_FIELD_NUMBER = 1; private com.google.protobuf.Timestamp createTime_; /** + * + * *
    * Output only. The time the operation was created.
    * 
* - * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the createTime field is set. */ @java.lang.Override @@ -62,11 +84,15 @@ public boolean hasCreateTime() { return createTime_ != null; } /** + * + * *
    * Output only. The time the operation was created.
    * 
* - * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The createTime. */ @java.lang.Override @@ -74,11 +100,14 @@ public com.google.protobuf.Timestamp getCreateTime() { return createTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : createTime_; } /** + * + * *
    * Output only. The time the operation was created.
    * 
* - * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ @java.lang.Override public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { @@ -88,11 +117,15 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { public static final int END_TIME_FIELD_NUMBER = 2; private com.google.protobuf.Timestamp endTime_; /** + * + * *
    * Output only. The time the operation finished running.
    * 
* - * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the endTime field is set. */ @java.lang.Override @@ -100,11 +133,15 @@ public boolean hasEndTime() { return endTime_ != null; } /** + * + * *
    * Output only. The time the operation finished running.
    * 
* - * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The endTime. */ @java.lang.Override @@ -112,11 +149,14 @@ public com.google.protobuf.Timestamp getEndTime() { return endTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : endTime_; } /** + * + * *
    * Output only. The time the operation finished running.
    * 
* - * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ @java.lang.Override public com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder() { @@ -126,11 +166,14 @@ public com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder() { public static final int REQUEST_FIELD_NUMBER = 3; private com.google.cloud.contactcenterinsights.v1.UndeployIssueModelRequest request_; /** + * + * *
    * The original request for undeployment.
    * 
* * .google.cloud.contactcenterinsights.v1.UndeployIssueModelRequest request = 3; + * * @return Whether the request field is set. */ @java.lang.Override @@ -138,18 +181,25 @@ public boolean hasRequest() { return request_ != null; } /** + * + * *
    * The original request for undeployment.
    * 
* * .google.cloud.contactcenterinsights.v1.UndeployIssueModelRequest request = 3; + * * @return The request. */ @java.lang.Override public com.google.cloud.contactcenterinsights.v1.UndeployIssueModelRequest getRequest() { - return request_ == null ? com.google.cloud.contactcenterinsights.v1.UndeployIssueModelRequest.getDefaultInstance() : request_; + return request_ == null + ? com.google.cloud.contactcenterinsights.v1.UndeployIssueModelRequest.getDefaultInstance() + : request_; } /** + * + * *
    * The original request for undeployment.
    * 
@@ -157,11 +207,15 @@ public com.google.cloud.contactcenterinsights.v1.UndeployIssueModelRequest getRe * .google.cloud.contactcenterinsights.v1.UndeployIssueModelRequest request = 3; */ @java.lang.Override - public com.google.cloud.contactcenterinsights.v1.UndeployIssueModelRequestOrBuilder getRequestOrBuilder() { - return request_ == null ? com.google.cloud.contactcenterinsights.v1.UndeployIssueModelRequest.getDefaultInstance() : request_; + public com.google.cloud.contactcenterinsights.v1.UndeployIssueModelRequestOrBuilder + getRequestOrBuilder() { + return request_ == null + ? com.google.cloud.contactcenterinsights.v1.UndeployIssueModelRequest.getDefaultInstance() + : request_; } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -173,8 +227,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (createTime_ != null) { output.writeMessage(1, getCreateTime()); } @@ -194,16 +247,13 @@ public int getSerializedSize() { size = 0; if (createTime_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, getCreateTime()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getCreateTime()); } if (endTime_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, getEndTime()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getEndTime()); } if (request_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(3, getRequest()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getRequest()); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -213,27 +263,25 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.contactcenterinsights.v1.UndeployIssueModelMetadata)) { return super.equals(obj); } - com.google.cloud.contactcenterinsights.v1.UndeployIssueModelMetadata other = (com.google.cloud.contactcenterinsights.v1.UndeployIssueModelMetadata) obj; + com.google.cloud.contactcenterinsights.v1.UndeployIssueModelMetadata other = + (com.google.cloud.contactcenterinsights.v1.UndeployIssueModelMetadata) obj; if (hasCreateTime() != other.hasCreateTime()) return false; if (hasCreateTime()) { - if (!getCreateTime() - .equals(other.getCreateTime())) return false; + if (!getCreateTime().equals(other.getCreateTime())) return false; } if (hasEndTime() != other.hasEndTime()) return false; if (hasEndTime()) { - if (!getEndTime() - .equals(other.getEndTime())) return false; + if (!getEndTime().equals(other.getEndTime())) return false; } if (hasRequest() != other.hasRequest()) return false; if (hasRequest()) { - if (!getRequest() - .equals(other.getRequest())) return false; + if (!getRequest().equals(other.getRequest())) return false; } if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -264,129 +312,138 @@ public int hashCode() { } public static com.google.cloud.contactcenterinsights.v1.UndeployIssueModelMetadata parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.contactcenterinsights.v1.UndeployIssueModelMetadata parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.contactcenterinsights.v1.UndeployIssueModelMetadata parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.contactcenterinsights.v1.UndeployIssueModelMetadata parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.contactcenterinsights.v1.UndeployIssueModelMetadata parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.contactcenterinsights.v1.UndeployIssueModelMetadata parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.contactcenterinsights.v1.UndeployIssueModelMetadata parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.contactcenterinsights.v1.UndeployIssueModelMetadata parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.contactcenterinsights.v1.UndeployIssueModelMetadata parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.contactcenterinsights.v1.UndeployIssueModelMetadata parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.contactcenterinsights.v1.UndeployIssueModelMetadata parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.contactcenterinsights.v1.UndeployIssueModelMetadata + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.contactcenterinsights.v1.UndeployIssueModelMetadata parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + + public static com.google.cloud.contactcenterinsights.v1.UndeployIssueModelMetadata + parseDelimitedFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.contactcenterinsights.v1.UndeployIssueModelMetadata parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.contactcenterinsights.v1.UndeployIssueModelMetadata parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.contactcenterinsights.v1.UndeployIssueModelMetadata prototype) { + + public static Builder newBuilder( + com.google.cloud.contactcenterinsights.v1.UndeployIssueModelMetadata prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Metadata for undeploying an issue model.
    * 
* * Protobuf type {@code google.cloud.contactcenterinsights.v1.UndeployIssueModelMetadata} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.contactcenterinsights.v1.UndeployIssueModelMetadata) com.google.cloud.contactcenterinsights.v1.UndeployIssueModelMetadataOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto.internal_static_google_cloud_contactcenterinsights_v1_UndeployIssueModelMetadata_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto + .internal_static_google_cloud_contactcenterinsights_v1_UndeployIssueModelMetadata_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto.internal_static_google_cloud_contactcenterinsights_v1_UndeployIssueModelMetadata_fieldAccessorTable + return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto + .internal_static_google_cloud_contactcenterinsights_v1_UndeployIssueModelMetadata_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.contactcenterinsights.v1.UndeployIssueModelMetadata.class, com.google.cloud.contactcenterinsights.v1.UndeployIssueModelMetadata.Builder.class); + com.google.cloud.contactcenterinsights.v1.UndeployIssueModelMetadata.class, + com.google.cloud.contactcenterinsights.v1.UndeployIssueModelMetadata.Builder.class); } - // Construct using com.google.cloud.contactcenterinsights.v1.UndeployIssueModelMetadata.newBuilder() - private Builder() { - - } + // Construct using + // com.google.cloud.contactcenterinsights.v1.UndeployIssueModelMetadata.newBuilder() + private Builder() {} - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -410,14 +467,16 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto.internal_static_google_cloud_contactcenterinsights_v1_UndeployIssueModelMetadata_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto + .internal_static_google_cloud_contactcenterinsights_v1_UndeployIssueModelMetadata_descriptor; } @java.lang.Override - public com.google.cloud.contactcenterinsights.v1.UndeployIssueModelMetadata getDefaultInstanceForType() { - return com.google.cloud.contactcenterinsights.v1.UndeployIssueModelMetadata.getDefaultInstance(); + public com.google.cloud.contactcenterinsights.v1.UndeployIssueModelMetadata + getDefaultInstanceForType() { + return com.google.cloud.contactcenterinsights.v1.UndeployIssueModelMetadata + .getDefaultInstance(); } @java.lang.Override @@ -431,28 +490,26 @@ public com.google.cloud.contactcenterinsights.v1.UndeployIssueModelMetadata buil @java.lang.Override public com.google.cloud.contactcenterinsights.v1.UndeployIssueModelMetadata buildPartial() { - com.google.cloud.contactcenterinsights.v1.UndeployIssueModelMetadata result = new com.google.cloud.contactcenterinsights.v1.UndeployIssueModelMetadata(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.cloud.contactcenterinsights.v1.UndeployIssueModelMetadata result = + new com.google.cloud.contactcenterinsights.v1.UndeployIssueModelMetadata(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } - private void buildPartial0(com.google.cloud.contactcenterinsights.v1.UndeployIssueModelMetadata result) { + private void buildPartial0( + com.google.cloud.contactcenterinsights.v1.UndeployIssueModelMetadata result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { - result.createTime_ = createTimeBuilder_ == null - ? createTime_ - : createTimeBuilder_.build(); + result.createTime_ = createTimeBuilder_ == null ? createTime_ : createTimeBuilder_.build(); } if (((from_bitField0_ & 0x00000002) != 0)) { - result.endTime_ = endTimeBuilder_ == null - ? endTime_ - : endTimeBuilder_.build(); + result.endTime_ = endTimeBuilder_ == null ? endTime_ : endTimeBuilder_.build(); } if (((from_bitField0_ & 0x00000004) != 0)) { - result.request_ = requestBuilder_ == null - ? request_ - : requestBuilder_.build(); + result.request_ = requestBuilder_ == null ? request_ : requestBuilder_.build(); } } @@ -460,46 +517,51 @@ private void buildPartial0(com.google.cloud.contactcenterinsights.v1.UndeployIss public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.contactcenterinsights.v1.UndeployIssueModelMetadata) { - return mergeFrom((com.google.cloud.contactcenterinsights.v1.UndeployIssueModelMetadata)other); + return mergeFrom( + (com.google.cloud.contactcenterinsights.v1.UndeployIssueModelMetadata) other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.google.cloud.contactcenterinsights.v1.UndeployIssueModelMetadata other) { - if (other == com.google.cloud.contactcenterinsights.v1.UndeployIssueModelMetadata.getDefaultInstance()) return this; + public Builder mergeFrom( + com.google.cloud.contactcenterinsights.v1.UndeployIssueModelMetadata other) { + if (other + == com.google.cloud.contactcenterinsights.v1.UndeployIssueModelMetadata + .getDefaultInstance()) return this; if (other.hasCreateTime()) { mergeCreateTime(other.getCreateTime()); } @@ -535,33 +597,31 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - input.readMessage( - getCreateTimeFieldBuilder().getBuilder(), - extensionRegistry); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: { - input.readMessage( - getEndTimeFieldBuilder().getBuilder(), - extensionRegistry); - bitField0_ |= 0x00000002; - break; - } // case 18 - case 26: { - input.readMessage( - getRequestFieldBuilder().getBuilder(), - extensionRegistry); - bitField0_ |= 0x00000004; - break; - } // case 26 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + input.readMessage(getCreateTimeFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: + { + input.readMessage(getEndTimeFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000002; + break; + } // case 18 + case 26: + { + input.readMessage(getRequestFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000004; + break; + } // case 26 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -571,43 +631,63 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private com.google.protobuf.Timestamp createTime_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> createTimeBuilder_; + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder> + createTimeBuilder_; /** + * + * *
      * Output only. The time the operation was created.
      * 
* - * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the createTime field is set. */ public boolean hasCreateTime() { return ((bitField0_ & 0x00000001) != 0); } /** + * + * *
      * Output only. The time the operation was created.
      * 
* - * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The createTime. */ public com.google.protobuf.Timestamp getCreateTime() { if (createTimeBuilder_ == null) { - return createTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : createTime_; + return createTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : createTime_; } else { return createTimeBuilder_.getMessage(); } } /** + * + * *
      * Output only. The time the operation was created.
      * 
* - * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder setCreateTime(com.google.protobuf.Timestamp value) { if (createTimeBuilder_ == null) { @@ -623,14 +703,17 @@ public Builder setCreateTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * Output only. The time the operation was created.
      * 
* - * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - public Builder setCreateTime( - com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setCreateTime(com.google.protobuf.Timestamp.Builder builderForValue) { if (createTimeBuilder_ == null) { createTime_ = builderForValue.build(); } else { @@ -641,17 +724,21 @@ public Builder setCreateTime( return this; } /** + * + * *
      * Output only. The time the operation was created.
      * 
* - * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder mergeCreateTime(com.google.protobuf.Timestamp value) { if (createTimeBuilder_ == null) { - if (((bitField0_ & 0x00000001) != 0) && - createTime_ != null && - createTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { + if (((bitField0_ & 0x00000001) != 0) + && createTime_ != null + && createTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { getCreateTimeBuilder().mergeFrom(value); } else { createTime_ = value; @@ -664,11 +751,15 @@ public Builder mergeCreateTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * Output only. The time the operation was created.
      * 
* - * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder clearCreateTime() { bitField0_ = (bitField0_ & ~0x00000001); @@ -681,11 +772,15 @@ public Builder clearCreateTime() { return this; } /** + * + * *
      * Output only. The time the operation was created.
      * 
* - * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public com.google.protobuf.Timestamp.Builder getCreateTimeBuilder() { bitField0_ |= 0x00000001; @@ -693,36 +788,48 @@ public com.google.protobuf.Timestamp.Builder getCreateTimeBuilder() { return getCreateTimeFieldBuilder().getBuilder(); } /** + * + * *
      * Output only. The time the operation was created.
      * 
* - * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { if (createTimeBuilder_ != null) { return createTimeBuilder_.getMessageOrBuilder(); } else { - return createTime_ == null ? - com.google.protobuf.Timestamp.getDefaultInstance() : createTime_; + return createTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : createTime_; } } /** + * + * *
      * Output only. The time the operation was created.
      * 
* - * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder> getCreateTimeFieldBuilder() { if (createTimeBuilder_ == null) { - createTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( - getCreateTime(), - getParentForChildren(), - isClean()); + createTimeBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder>( + getCreateTime(), getParentForChildren(), isClean()); createTime_ = null; } return createTimeBuilder_; @@ -730,24 +837,35 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { private com.google.protobuf.Timestamp endTime_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> endTimeBuilder_; + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder> + endTimeBuilder_; /** + * + * *
      * Output only. The time the operation finished running.
      * 
* - * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the endTime field is set. */ public boolean hasEndTime() { return ((bitField0_ & 0x00000002) != 0); } /** + * + * *
      * Output only. The time the operation finished running.
      * 
* - * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The endTime. */ public com.google.protobuf.Timestamp getEndTime() { @@ -758,11 +876,14 @@ public com.google.protobuf.Timestamp getEndTime() { } } /** + * + * *
      * Output only. The time the operation finished running.
      * 
* - * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder setEndTime(com.google.protobuf.Timestamp value) { if (endTimeBuilder_ == null) { @@ -778,14 +899,16 @@ public Builder setEndTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * Output only. The time the operation finished running.
      * 
* - * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - public Builder setEndTime( - com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setEndTime(com.google.protobuf.Timestamp.Builder builderForValue) { if (endTimeBuilder_ == null) { endTime_ = builderForValue.build(); } else { @@ -796,17 +919,20 @@ public Builder setEndTime( return this; } /** + * + * *
      * Output only. The time the operation finished running.
      * 
* - * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder mergeEndTime(com.google.protobuf.Timestamp value) { if (endTimeBuilder_ == null) { - if (((bitField0_ & 0x00000002) != 0) && - endTime_ != null && - endTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { + if (((bitField0_ & 0x00000002) != 0) + && endTime_ != null + && endTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { getEndTimeBuilder().mergeFrom(value); } else { endTime_ = value; @@ -819,11 +945,14 @@ public Builder mergeEndTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * Output only. The time the operation finished running.
      * 
* - * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder clearEndTime() { bitField0_ = (bitField0_ & ~0x00000002); @@ -836,11 +965,14 @@ public Builder clearEndTime() { return this; } /** + * + * *
      * Output only. The time the operation finished running.
      * 
* - * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public com.google.protobuf.Timestamp.Builder getEndTimeBuilder() { bitField0_ |= 0x00000002; @@ -848,36 +980,44 @@ public com.google.protobuf.Timestamp.Builder getEndTimeBuilder() { return getEndTimeFieldBuilder().getBuilder(); } /** + * + * *
      * Output only. The time the operation finished running.
      * 
* - * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder() { if (endTimeBuilder_ != null) { return endTimeBuilder_.getMessageOrBuilder(); } else { - return endTime_ == null ? - com.google.protobuf.Timestamp.getDefaultInstance() : endTime_; + return endTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : endTime_; } } /** + * + * *
      * Output only. The time the operation finished running.
      * 
* - * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder> getEndTimeFieldBuilder() { if (endTimeBuilder_ == null) { - endTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( - getEndTime(), - getParentForChildren(), - isClean()); + endTimeBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder>( + getEndTime(), getParentForChildren(), isClean()); endTime_ = null; } return endTimeBuilder_; @@ -885,41 +1025,56 @@ public com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder() { private com.google.cloud.contactcenterinsights.v1.UndeployIssueModelRequest request_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.contactcenterinsights.v1.UndeployIssueModelRequest, com.google.cloud.contactcenterinsights.v1.UndeployIssueModelRequest.Builder, com.google.cloud.contactcenterinsights.v1.UndeployIssueModelRequestOrBuilder> requestBuilder_; + com.google.cloud.contactcenterinsights.v1.UndeployIssueModelRequest, + com.google.cloud.contactcenterinsights.v1.UndeployIssueModelRequest.Builder, + com.google.cloud.contactcenterinsights.v1.UndeployIssueModelRequestOrBuilder> + requestBuilder_; /** + * + * *
      * The original request for undeployment.
      * 
* * .google.cloud.contactcenterinsights.v1.UndeployIssueModelRequest request = 3; + * * @return Whether the request field is set. */ public boolean hasRequest() { return ((bitField0_ & 0x00000004) != 0); } /** + * + * *
      * The original request for undeployment.
      * 
* * .google.cloud.contactcenterinsights.v1.UndeployIssueModelRequest request = 3; + * * @return The request. */ public com.google.cloud.contactcenterinsights.v1.UndeployIssueModelRequest getRequest() { if (requestBuilder_ == null) { - return request_ == null ? com.google.cloud.contactcenterinsights.v1.UndeployIssueModelRequest.getDefaultInstance() : request_; + return request_ == null + ? com.google.cloud.contactcenterinsights.v1.UndeployIssueModelRequest + .getDefaultInstance() + : request_; } else { return requestBuilder_.getMessage(); } } /** + * + * *
      * The original request for undeployment.
      * 
* * .google.cloud.contactcenterinsights.v1.UndeployIssueModelRequest request = 3; */ - public Builder setRequest(com.google.cloud.contactcenterinsights.v1.UndeployIssueModelRequest value) { + public Builder setRequest( + com.google.cloud.contactcenterinsights.v1.UndeployIssueModelRequest value) { if (requestBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -933,6 +1088,8 @@ public Builder setRequest(com.google.cloud.contactcenterinsights.v1.UndeployIssu return this; } /** + * + * *
      * The original request for undeployment.
      * 
@@ -940,7 +1097,8 @@ public Builder setRequest(com.google.cloud.contactcenterinsights.v1.UndeployIssu * .google.cloud.contactcenterinsights.v1.UndeployIssueModelRequest request = 3; */ public Builder setRequest( - com.google.cloud.contactcenterinsights.v1.UndeployIssueModelRequest.Builder builderForValue) { + com.google.cloud.contactcenterinsights.v1.UndeployIssueModelRequest.Builder + builderForValue) { if (requestBuilder_ == null) { request_ = builderForValue.build(); } else { @@ -951,17 +1109,22 @@ public Builder setRequest( return this; } /** + * + * *
      * The original request for undeployment.
      * 
* * .google.cloud.contactcenterinsights.v1.UndeployIssueModelRequest request = 3; */ - public Builder mergeRequest(com.google.cloud.contactcenterinsights.v1.UndeployIssueModelRequest value) { + public Builder mergeRequest( + com.google.cloud.contactcenterinsights.v1.UndeployIssueModelRequest value) { if (requestBuilder_ == null) { - if (((bitField0_ & 0x00000004) != 0) && - request_ != null && - request_ != com.google.cloud.contactcenterinsights.v1.UndeployIssueModelRequest.getDefaultInstance()) { + if (((bitField0_ & 0x00000004) != 0) + && request_ != null + && request_ + != com.google.cloud.contactcenterinsights.v1.UndeployIssueModelRequest + .getDefaultInstance()) { getRequestBuilder().mergeFrom(value); } else { request_ = value; @@ -974,6 +1137,8 @@ public Builder mergeRequest(com.google.cloud.contactcenterinsights.v1.UndeployIs return this; } /** + * + * *
      * The original request for undeployment.
      * 
@@ -991,33 +1156,43 @@ public Builder clearRequest() { return this; } /** + * + * *
      * The original request for undeployment.
      * 
* * .google.cloud.contactcenterinsights.v1.UndeployIssueModelRequest request = 3; */ - public com.google.cloud.contactcenterinsights.v1.UndeployIssueModelRequest.Builder getRequestBuilder() { + public com.google.cloud.contactcenterinsights.v1.UndeployIssueModelRequest.Builder + getRequestBuilder() { bitField0_ |= 0x00000004; onChanged(); return getRequestFieldBuilder().getBuilder(); } /** + * + * *
      * The original request for undeployment.
      * 
* * .google.cloud.contactcenterinsights.v1.UndeployIssueModelRequest request = 3; */ - public com.google.cloud.contactcenterinsights.v1.UndeployIssueModelRequestOrBuilder getRequestOrBuilder() { + public com.google.cloud.contactcenterinsights.v1.UndeployIssueModelRequestOrBuilder + getRequestOrBuilder() { if (requestBuilder_ != null) { return requestBuilder_.getMessageOrBuilder(); } else { - return request_ == null ? - com.google.cloud.contactcenterinsights.v1.UndeployIssueModelRequest.getDefaultInstance() : request_; + return request_ == null + ? com.google.cloud.contactcenterinsights.v1.UndeployIssueModelRequest + .getDefaultInstance() + : request_; } } /** + * + * *
      * The original request for undeployment.
      * 
@@ -1025,21 +1200,24 @@ public com.google.cloud.contactcenterinsights.v1.UndeployIssueModelRequestOrBuil * .google.cloud.contactcenterinsights.v1.UndeployIssueModelRequest request = 3; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.contactcenterinsights.v1.UndeployIssueModelRequest, com.google.cloud.contactcenterinsights.v1.UndeployIssueModelRequest.Builder, com.google.cloud.contactcenterinsights.v1.UndeployIssueModelRequestOrBuilder> + com.google.cloud.contactcenterinsights.v1.UndeployIssueModelRequest, + com.google.cloud.contactcenterinsights.v1.UndeployIssueModelRequest.Builder, + com.google.cloud.contactcenterinsights.v1.UndeployIssueModelRequestOrBuilder> getRequestFieldBuilder() { if (requestBuilder_ == null) { - requestBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.contactcenterinsights.v1.UndeployIssueModelRequest, com.google.cloud.contactcenterinsights.v1.UndeployIssueModelRequest.Builder, com.google.cloud.contactcenterinsights.v1.UndeployIssueModelRequestOrBuilder>( - getRequest(), - getParentForChildren(), - isClean()); + requestBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.contactcenterinsights.v1.UndeployIssueModelRequest, + com.google.cloud.contactcenterinsights.v1.UndeployIssueModelRequest.Builder, + com.google.cloud.contactcenterinsights.v1.UndeployIssueModelRequestOrBuilder>( + getRequest(), getParentForChildren(), isClean()); request_ = null; } return requestBuilder_; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1049,41 +1227,43 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.contactcenterinsights.v1.UndeployIssueModelMetadata) } // @@protoc_insertion_point(class_scope:google.cloud.contactcenterinsights.v1.UndeployIssueModelMetadata) - private static final com.google.cloud.contactcenterinsights.v1.UndeployIssueModelMetadata DEFAULT_INSTANCE; + private static final com.google.cloud.contactcenterinsights.v1.UndeployIssueModelMetadata + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.contactcenterinsights.v1.UndeployIssueModelMetadata(); } - public static com.google.cloud.contactcenterinsights.v1.UndeployIssueModelMetadata getDefaultInstance() { + public static com.google.cloud.contactcenterinsights.v1.UndeployIssueModelMetadata + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public UndeployIssueModelMetadata parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public UndeployIssueModelMetadata parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1095,9 +1275,8 @@ public com.google.protobuf.Parser getParserForType() } @java.lang.Override - public com.google.cloud.contactcenterinsights.v1.UndeployIssueModelMetadata getDefaultInstanceForType() { + public com.google.cloud.contactcenterinsights.v1.UndeployIssueModelMetadata + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/UndeployIssueModelMetadataOrBuilder.java b/java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/UndeployIssueModelMetadataOrBuilder.java similarity index 69% rename from owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/UndeployIssueModelMetadataOrBuilder.java rename to java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/UndeployIssueModelMetadataOrBuilder.java index 5e656936955a..2f35b1859daa 100644 --- a/owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/UndeployIssueModelMetadataOrBuilder.java +++ b/java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/UndeployIssueModelMetadataOrBuilder.java @@ -1,90 +1,137 @@ +/* + * 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. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/contactcenterinsights/v1/contact_center_insights.proto package com.google.cloud.contactcenterinsights.v1; -public interface UndeployIssueModelMetadataOrBuilder extends +public interface UndeployIssueModelMetadataOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.contactcenterinsights.v1.UndeployIssueModelMetadata) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Output only. The time the operation was created.
    * 
* - * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the createTime field is set. */ boolean hasCreateTime(); /** + * + * *
    * Output only. The time the operation was created.
    * 
* - * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The createTime. */ com.google.protobuf.Timestamp getCreateTime(); /** + * + * *
    * Output only. The time the operation was created.
    * 
* - * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder(); /** + * + * *
    * Output only. The time the operation finished running.
    * 
* - * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the endTime field is set. */ boolean hasEndTime(); /** + * + * *
    * Output only. The time the operation finished running.
    * 
* - * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The endTime. */ com.google.protobuf.Timestamp getEndTime(); /** + * + * *
    * Output only. The time the operation finished running.
    * 
* - * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder(); /** + * + * *
    * The original request for undeployment.
    * 
* * .google.cloud.contactcenterinsights.v1.UndeployIssueModelRequest request = 3; + * * @return Whether the request field is set. */ boolean hasRequest(); /** + * + * *
    * The original request for undeployment.
    * 
* * .google.cloud.contactcenterinsights.v1.UndeployIssueModelRequest request = 3; + * * @return The request. */ com.google.cloud.contactcenterinsights.v1.UndeployIssueModelRequest getRequest(); /** + * + * *
    * The original request for undeployment.
    * 
* * .google.cloud.contactcenterinsights.v1.UndeployIssueModelRequest request = 3; */ - com.google.cloud.contactcenterinsights.v1.UndeployIssueModelRequestOrBuilder getRequestOrBuilder(); + com.google.cloud.contactcenterinsights.v1.UndeployIssueModelRequestOrBuilder + getRequestOrBuilder(); } diff --git a/owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/UndeployIssueModelRequest.java b/java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/UndeployIssueModelRequest.java similarity index 58% rename from owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/UndeployIssueModelRequest.java rename to java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/UndeployIssueModelRequest.java index 95acdd33583e..0449e17b8723 100644 --- a/owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/UndeployIssueModelRequest.java +++ b/java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/UndeployIssueModelRequest.java @@ -1,62 +1,87 @@ +/* + * 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. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/contactcenterinsights/v1/contact_center_insights.proto package com.google.cloud.contactcenterinsights.v1; /** + * + * *
  * The request to undeploy an issue model.
  * 
* * Protobuf type {@code google.cloud.contactcenterinsights.v1.UndeployIssueModelRequest} */ -public final class UndeployIssueModelRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class UndeployIssueModelRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.contactcenterinsights.v1.UndeployIssueModelRequest) UndeployIssueModelRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use UndeployIssueModelRequest.newBuilder() to construct. private UndeployIssueModelRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private UndeployIssueModelRequest() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new UndeployIssueModelRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto.internal_static_google_cloud_contactcenterinsights_v1_UndeployIssueModelRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto + .internal_static_google_cloud_contactcenterinsights_v1_UndeployIssueModelRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto.internal_static_google_cloud_contactcenterinsights_v1_UndeployIssueModelRequest_fieldAccessorTable + return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto + .internal_static_google_cloud_contactcenterinsights_v1_UndeployIssueModelRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.contactcenterinsights.v1.UndeployIssueModelRequest.class, com.google.cloud.contactcenterinsights.v1.UndeployIssueModelRequest.Builder.class); + com.google.cloud.contactcenterinsights.v1.UndeployIssueModelRequest.class, + com.google.cloud.contactcenterinsights.v1.UndeployIssueModelRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; + @SuppressWarnings("serial") private volatile java.lang.Object name_ = ""; /** + * + * *
    * Required. The issue model to undeploy.
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ @java.lang.Override @@ -65,29 +90,31 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** + * + * *
    * Required. The issue model to undeploy.
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -96,6 +123,7 @@ public java.lang.String getName() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -107,8 +135,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -132,15 +159,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.contactcenterinsights.v1.UndeployIssueModelRequest)) { return super.equals(obj); } - com.google.cloud.contactcenterinsights.v1.UndeployIssueModelRequest other = (com.google.cloud.contactcenterinsights.v1.UndeployIssueModelRequest) obj; + com.google.cloud.contactcenterinsights.v1.UndeployIssueModelRequest other = + (com.google.cloud.contactcenterinsights.v1.UndeployIssueModelRequest) obj; - if (!getName() - .equals(other.getName())) return false; + if (!getName().equals(other.getName())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -160,129 +187,138 @@ public int hashCode() { } public static com.google.cloud.contactcenterinsights.v1.UndeployIssueModelRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.contactcenterinsights.v1.UndeployIssueModelRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.contactcenterinsights.v1.UndeployIssueModelRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.contactcenterinsights.v1.UndeployIssueModelRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.contactcenterinsights.v1.UndeployIssueModelRequest parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.contactcenterinsights.v1.UndeployIssueModelRequest parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.contactcenterinsights.v1.UndeployIssueModelRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.contactcenterinsights.v1.UndeployIssueModelRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.contactcenterinsights.v1.UndeployIssueModelRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.contactcenterinsights.v1.UndeployIssueModelRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.contactcenterinsights.v1.UndeployIssueModelRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.contactcenterinsights.v1.UndeployIssueModelRequest + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.contactcenterinsights.v1.UndeployIssueModelRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + + public static com.google.cloud.contactcenterinsights.v1.UndeployIssueModelRequest + parseDelimitedFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.contactcenterinsights.v1.UndeployIssueModelRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.contactcenterinsights.v1.UndeployIssueModelRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.contactcenterinsights.v1.UndeployIssueModelRequest prototype) { + + public static Builder newBuilder( + com.google.cloud.contactcenterinsights.v1.UndeployIssueModelRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * The request to undeploy an issue model.
    * 
* * Protobuf type {@code google.cloud.contactcenterinsights.v1.UndeployIssueModelRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.contactcenterinsights.v1.UndeployIssueModelRequest) com.google.cloud.contactcenterinsights.v1.UndeployIssueModelRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto.internal_static_google_cloud_contactcenterinsights_v1_UndeployIssueModelRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto + .internal_static_google_cloud_contactcenterinsights_v1_UndeployIssueModelRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto.internal_static_google_cloud_contactcenterinsights_v1_UndeployIssueModelRequest_fieldAccessorTable + return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto + .internal_static_google_cloud_contactcenterinsights_v1_UndeployIssueModelRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.contactcenterinsights.v1.UndeployIssueModelRequest.class, com.google.cloud.contactcenterinsights.v1.UndeployIssueModelRequest.Builder.class); + com.google.cloud.contactcenterinsights.v1.UndeployIssueModelRequest.class, + com.google.cloud.contactcenterinsights.v1.UndeployIssueModelRequest.Builder.class); } - // Construct using com.google.cloud.contactcenterinsights.v1.UndeployIssueModelRequest.newBuilder() - private Builder() { + // Construct using + // com.google.cloud.contactcenterinsights.v1.UndeployIssueModelRequest.newBuilder() + private Builder() {} - } - - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -292,14 +328,16 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto.internal_static_google_cloud_contactcenterinsights_v1_UndeployIssueModelRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto + .internal_static_google_cloud_contactcenterinsights_v1_UndeployIssueModelRequest_descriptor; } @java.lang.Override - public com.google.cloud.contactcenterinsights.v1.UndeployIssueModelRequest getDefaultInstanceForType() { - return com.google.cloud.contactcenterinsights.v1.UndeployIssueModelRequest.getDefaultInstance(); + public com.google.cloud.contactcenterinsights.v1.UndeployIssueModelRequest + getDefaultInstanceForType() { + return com.google.cloud.contactcenterinsights.v1.UndeployIssueModelRequest + .getDefaultInstance(); } @java.lang.Override @@ -313,13 +351,17 @@ public com.google.cloud.contactcenterinsights.v1.UndeployIssueModelRequest build @java.lang.Override public com.google.cloud.contactcenterinsights.v1.UndeployIssueModelRequest buildPartial() { - com.google.cloud.contactcenterinsights.v1.UndeployIssueModelRequest result = new com.google.cloud.contactcenterinsights.v1.UndeployIssueModelRequest(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.cloud.contactcenterinsights.v1.UndeployIssueModelRequest result = + new com.google.cloud.contactcenterinsights.v1.UndeployIssueModelRequest(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } - private void buildPartial0(com.google.cloud.contactcenterinsights.v1.UndeployIssueModelRequest result) { + private void buildPartial0( + com.google.cloud.contactcenterinsights.v1.UndeployIssueModelRequest result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { result.name_ = name_; @@ -330,46 +372,51 @@ private void buildPartial0(com.google.cloud.contactcenterinsights.v1.UndeployIss public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.contactcenterinsights.v1.UndeployIssueModelRequest) { - return mergeFrom((com.google.cloud.contactcenterinsights.v1.UndeployIssueModelRequest)other); + return mergeFrom( + (com.google.cloud.contactcenterinsights.v1.UndeployIssueModelRequest) other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.google.cloud.contactcenterinsights.v1.UndeployIssueModelRequest other) { - if (other == com.google.cloud.contactcenterinsights.v1.UndeployIssueModelRequest.getDefaultInstance()) return this; + public Builder mergeFrom( + com.google.cloud.contactcenterinsights.v1.UndeployIssueModelRequest other) { + if (other + == com.google.cloud.contactcenterinsights.v1.UndeployIssueModelRequest + .getDefaultInstance()) return this; if (!other.getName().isEmpty()) { name_ = other.name_; bitField0_ |= 0x00000001; @@ -401,17 +448,19 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - name_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + name_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -421,22 +470,27 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private java.lang.Object name_ = ""; /** + * + * *
      * Required. The issue model to undeploy.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -445,20 +499,23 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The issue model to undeploy.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for name. */ - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -466,28 +523,39 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The issue model to undeploy.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setName(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } name_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
      * Required. The issue model to undeploy.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return This builder for chaining. */ public Builder clearName() { @@ -497,26 +565,32 @@ public Builder clearName() { return this; } /** + * + * *
      * Required. The issue model to undeploy.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setNameBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); name_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -526,41 +600,43 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.contactcenterinsights.v1.UndeployIssueModelRequest) } // @@protoc_insertion_point(class_scope:google.cloud.contactcenterinsights.v1.UndeployIssueModelRequest) - private static final com.google.cloud.contactcenterinsights.v1.UndeployIssueModelRequest DEFAULT_INSTANCE; + private static final com.google.cloud.contactcenterinsights.v1.UndeployIssueModelRequest + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.contactcenterinsights.v1.UndeployIssueModelRequest(); } - public static com.google.cloud.contactcenterinsights.v1.UndeployIssueModelRequest getDefaultInstance() { + public static com.google.cloud.contactcenterinsights.v1.UndeployIssueModelRequest + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public UndeployIssueModelRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public UndeployIssueModelRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -572,9 +648,8 @@ public com.google.protobuf.Parser getParserForType() } @java.lang.Override - public com.google.cloud.contactcenterinsights.v1.UndeployIssueModelRequest getDefaultInstanceForType() { + public com.google.cloud.contactcenterinsights.v1.UndeployIssueModelRequest + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/UndeployIssueModelRequestOrBuilder.java b/java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/UndeployIssueModelRequestOrBuilder.java new file mode 100644 index 000000000000..431293b27b52 --- /dev/null +++ b/java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/UndeployIssueModelRequestOrBuilder.java @@ -0,0 +1,54 @@ +/* + * 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. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/contactcenterinsights/v1/contact_center_insights.proto + +package com.google.cloud.contactcenterinsights.v1; + +public interface UndeployIssueModelRequestOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.cloud.contactcenterinsights.v1.UndeployIssueModelRequest) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * Required. The issue model to undeploy.
+   * 
+ * + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The name. + */ + java.lang.String getName(); + /** + * + * + *
+   * Required. The issue model to undeploy.
+   * 
+ * + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The bytes for name. + */ + com.google.protobuf.ByteString getNameBytes(); +} diff --git a/owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/UndeployIssueModelResponse.java b/java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/UndeployIssueModelResponse.java similarity index 58% rename from owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/UndeployIssueModelResponse.java rename to java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/UndeployIssueModelResponse.java index 1064d858d33e..ad1a5338c60b 100644 --- a/owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/UndeployIssueModelResponse.java +++ b/java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/UndeployIssueModelResponse.java @@ -1,53 +1,72 @@ +/* + * 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. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/contactcenterinsights/v1/contact_center_insights.proto package com.google.cloud.contactcenterinsights.v1; /** + * + * *
  * The response to undeploy an issue model.
  * 
* * Protobuf type {@code google.cloud.contactcenterinsights.v1.UndeployIssueModelResponse} */ -public final class UndeployIssueModelResponse extends - com.google.protobuf.GeneratedMessageV3 implements +public final class UndeployIssueModelResponse extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.contactcenterinsights.v1.UndeployIssueModelResponse) UndeployIssueModelResponseOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use UndeployIssueModelResponse.newBuilder() to construct. private UndeployIssueModelResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private UndeployIssueModelResponse() { - } + + private UndeployIssueModelResponse() {} @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new UndeployIssueModelResponse(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto.internal_static_google_cloud_contactcenterinsights_v1_UndeployIssueModelResponse_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto + .internal_static_google_cloud_contactcenterinsights_v1_UndeployIssueModelResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto.internal_static_google_cloud_contactcenterinsights_v1_UndeployIssueModelResponse_fieldAccessorTable + return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto + .internal_static_google_cloud_contactcenterinsights_v1_UndeployIssueModelResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.contactcenterinsights.v1.UndeployIssueModelResponse.class, com.google.cloud.contactcenterinsights.v1.UndeployIssueModelResponse.Builder.class); + com.google.cloud.contactcenterinsights.v1.UndeployIssueModelResponse.class, + com.google.cloud.contactcenterinsights.v1.UndeployIssueModelResponse.Builder.class); } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -59,8 +78,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { getUnknownFields().writeTo(output); } @@ -78,12 +96,13 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.contactcenterinsights.v1.UndeployIssueModelResponse)) { return super.equals(obj); } - com.google.cloud.contactcenterinsights.v1.UndeployIssueModelResponse other = (com.google.cloud.contactcenterinsights.v1.UndeployIssueModelResponse) obj; + com.google.cloud.contactcenterinsights.v1.UndeployIssueModelResponse other = + (com.google.cloud.contactcenterinsights.v1.UndeployIssueModelResponse) obj; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -102,129 +121,138 @@ public int hashCode() { } public static com.google.cloud.contactcenterinsights.v1.UndeployIssueModelResponse parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.contactcenterinsights.v1.UndeployIssueModelResponse parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.contactcenterinsights.v1.UndeployIssueModelResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.contactcenterinsights.v1.UndeployIssueModelResponse parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.contactcenterinsights.v1.UndeployIssueModelResponse parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.contactcenterinsights.v1.UndeployIssueModelResponse parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.contactcenterinsights.v1.UndeployIssueModelResponse parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.contactcenterinsights.v1.UndeployIssueModelResponse parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.contactcenterinsights.v1.UndeployIssueModelResponse parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.contactcenterinsights.v1.UndeployIssueModelResponse parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.contactcenterinsights.v1.UndeployIssueModelResponse parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.contactcenterinsights.v1.UndeployIssueModelResponse + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.contactcenterinsights.v1.UndeployIssueModelResponse parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + + public static com.google.cloud.contactcenterinsights.v1.UndeployIssueModelResponse + parseDelimitedFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.contactcenterinsights.v1.UndeployIssueModelResponse parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.contactcenterinsights.v1.UndeployIssueModelResponse parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.contactcenterinsights.v1.UndeployIssueModelResponse prototype) { + + public static Builder newBuilder( + com.google.cloud.contactcenterinsights.v1.UndeployIssueModelResponse prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * The response to undeploy an issue model.
    * 
* * Protobuf type {@code google.cloud.contactcenterinsights.v1.UndeployIssueModelResponse} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.contactcenterinsights.v1.UndeployIssueModelResponse) com.google.cloud.contactcenterinsights.v1.UndeployIssueModelResponseOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto.internal_static_google_cloud_contactcenterinsights_v1_UndeployIssueModelResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto + .internal_static_google_cloud_contactcenterinsights_v1_UndeployIssueModelResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto.internal_static_google_cloud_contactcenterinsights_v1_UndeployIssueModelResponse_fieldAccessorTable + return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto + .internal_static_google_cloud_contactcenterinsights_v1_UndeployIssueModelResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.contactcenterinsights.v1.UndeployIssueModelResponse.class, com.google.cloud.contactcenterinsights.v1.UndeployIssueModelResponse.Builder.class); + com.google.cloud.contactcenterinsights.v1.UndeployIssueModelResponse.class, + com.google.cloud.contactcenterinsights.v1.UndeployIssueModelResponse.Builder.class); } - // Construct using com.google.cloud.contactcenterinsights.v1.UndeployIssueModelResponse.newBuilder() - private Builder() { - - } + // Construct using + // com.google.cloud.contactcenterinsights.v1.UndeployIssueModelResponse.newBuilder() + private Builder() {} - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -232,14 +260,16 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto.internal_static_google_cloud_contactcenterinsights_v1_UndeployIssueModelResponse_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto + .internal_static_google_cloud_contactcenterinsights_v1_UndeployIssueModelResponse_descriptor; } @java.lang.Override - public com.google.cloud.contactcenterinsights.v1.UndeployIssueModelResponse getDefaultInstanceForType() { - return com.google.cloud.contactcenterinsights.v1.UndeployIssueModelResponse.getDefaultInstance(); + public com.google.cloud.contactcenterinsights.v1.UndeployIssueModelResponse + getDefaultInstanceForType() { + return com.google.cloud.contactcenterinsights.v1.UndeployIssueModelResponse + .getDefaultInstance(); } @java.lang.Override @@ -253,7 +283,8 @@ public com.google.cloud.contactcenterinsights.v1.UndeployIssueModelResponse buil @java.lang.Override public com.google.cloud.contactcenterinsights.v1.UndeployIssueModelResponse buildPartial() { - com.google.cloud.contactcenterinsights.v1.UndeployIssueModelResponse result = new com.google.cloud.contactcenterinsights.v1.UndeployIssueModelResponse(this); + com.google.cloud.contactcenterinsights.v1.UndeployIssueModelResponse result = + new com.google.cloud.contactcenterinsights.v1.UndeployIssueModelResponse(this); onBuilt(); return result; } @@ -262,46 +293,51 @@ public com.google.cloud.contactcenterinsights.v1.UndeployIssueModelResponse buil public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.contactcenterinsights.v1.UndeployIssueModelResponse) { - return mergeFrom((com.google.cloud.contactcenterinsights.v1.UndeployIssueModelResponse)other); + return mergeFrom( + (com.google.cloud.contactcenterinsights.v1.UndeployIssueModelResponse) other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.google.cloud.contactcenterinsights.v1.UndeployIssueModelResponse other) { - if (other == com.google.cloud.contactcenterinsights.v1.UndeployIssueModelResponse.getDefaultInstance()) return this; + public Builder mergeFrom( + com.google.cloud.contactcenterinsights.v1.UndeployIssueModelResponse other) { + if (other + == com.google.cloud.contactcenterinsights.v1.UndeployIssueModelResponse + .getDefaultInstance()) return this; this.mergeUnknownFields(other.getUnknownFields()); onChanged(); return this; @@ -328,12 +364,13 @@ public Builder mergeFrom( case 0: done = true; break; - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -343,9 +380,9 @@ public Builder mergeFrom( } // finally return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -355,41 +392,43 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.contactcenterinsights.v1.UndeployIssueModelResponse) } // @@protoc_insertion_point(class_scope:google.cloud.contactcenterinsights.v1.UndeployIssueModelResponse) - private static final com.google.cloud.contactcenterinsights.v1.UndeployIssueModelResponse DEFAULT_INSTANCE; + private static final com.google.cloud.contactcenterinsights.v1.UndeployIssueModelResponse + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.contactcenterinsights.v1.UndeployIssueModelResponse(); } - public static com.google.cloud.contactcenterinsights.v1.UndeployIssueModelResponse getDefaultInstance() { + public static com.google.cloud.contactcenterinsights.v1.UndeployIssueModelResponse + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public UndeployIssueModelResponse parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public UndeployIssueModelResponse parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -401,9 +440,8 @@ public com.google.protobuf.Parser getParserForType() } @java.lang.Override - public com.google.cloud.contactcenterinsights.v1.UndeployIssueModelResponse getDefaultInstanceForType() { + public com.google.cloud.contactcenterinsights.v1.UndeployIssueModelResponse + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/UndeployIssueModelResponseOrBuilder.java b/java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/UndeployIssueModelResponseOrBuilder.java new file mode 100644 index 000000000000..59a7fdb5a9b3 --- /dev/null +++ b/java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/UndeployIssueModelResponseOrBuilder.java @@ -0,0 +1,24 @@ +/* + * 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. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/contactcenterinsights/v1/contact_center_insights.proto + +package com.google.cloud.contactcenterinsights.v1; + +public interface UndeployIssueModelResponseOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.cloud.contactcenterinsights.v1.UndeployIssueModelResponse) + com.google.protobuf.MessageOrBuilder {} diff --git a/owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/UpdateConversationRequest.java b/java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/UpdateConversationRequest.java similarity index 61% rename from owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/UpdateConversationRequest.java rename to java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/UpdateConversationRequest.java index 1e0e2f3bd38e..19ebe6174af6 100644 --- a/owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/UpdateConversationRequest.java +++ b/java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/UpdateConversationRequest.java @@ -1,60 +1,83 @@ +/* + * 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. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/contactcenterinsights/v1/contact_center_insights.proto package com.google.cloud.contactcenterinsights.v1; /** + * + * *
  * The request to update a conversation.
  * 
* * Protobuf type {@code google.cloud.contactcenterinsights.v1.UpdateConversationRequest} */ -public final class UpdateConversationRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class UpdateConversationRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.contactcenterinsights.v1.UpdateConversationRequest) UpdateConversationRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use UpdateConversationRequest.newBuilder() to construct. private UpdateConversationRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private UpdateConversationRequest() { - } + + private UpdateConversationRequest() {} @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new UpdateConversationRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto.internal_static_google_cloud_contactcenterinsights_v1_UpdateConversationRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto + .internal_static_google_cloud_contactcenterinsights_v1_UpdateConversationRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto.internal_static_google_cloud_contactcenterinsights_v1_UpdateConversationRequest_fieldAccessorTable + return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto + .internal_static_google_cloud_contactcenterinsights_v1_UpdateConversationRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.contactcenterinsights.v1.UpdateConversationRequest.class, com.google.cloud.contactcenterinsights.v1.UpdateConversationRequest.Builder.class); + com.google.cloud.contactcenterinsights.v1.UpdateConversationRequest.class, + com.google.cloud.contactcenterinsights.v1.UpdateConversationRequest.Builder.class); } public static final int CONVERSATION_FIELD_NUMBER = 1; private com.google.cloud.contactcenterinsights.v1.Conversation conversation_; /** + * + * *
    * Required. The new values for the conversation.
    * 
* - * .google.cloud.contactcenterinsights.v1.Conversation conversation = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.contactcenterinsights.v1.Conversation conversation = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the conversation field is set. */ @java.lang.Override @@ -62,37 +85,54 @@ public boolean hasConversation() { return conversation_ != null; } /** + * + * *
    * Required. The new values for the conversation.
    * 
* - * .google.cloud.contactcenterinsights.v1.Conversation conversation = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.contactcenterinsights.v1.Conversation conversation = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The conversation. */ @java.lang.Override public com.google.cloud.contactcenterinsights.v1.Conversation getConversation() { - return conversation_ == null ? com.google.cloud.contactcenterinsights.v1.Conversation.getDefaultInstance() : conversation_; + return conversation_ == null + ? com.google.cloud.contactcenterinsights.v1.Conversation.getDefaultInstance() + : conversation_; } /** + * + * *
    * Required. The new values for the conversation.
    * 
* - * .google.cloud.contactcenterinsights.v1.Conversation conversation = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.contactcenterinsights.v1.Conversation conversation = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ @java.lang.Override - public com.google.cloud.contactcenterinsights.v1.ConversationOrBuilder getConversationOrBuilder() { - return conversation_ == null ? com.google.cloud.contactcenterinsights.v1.Conversation.getDefaultInstance() : conversation_; + public com.google.cloud.contactcenterinsights.v1.ConversationOrBuilder + getConversationOrBuilder() { + return conversation_ == null + ? com.google.cloud.contactcenterinsights.v1.Conversation.getDefaultInstance() + : conversation_; } public static final int UPDATE_MASK_FIELD_NUMBER = 2; private com.google.protobuf.FieldMask updateMask_; /** + * + * *
    * The list of fields to be updated.
    * 
* * .google.protobuf.FieldMask update_mask = 2; + * * @return Whether the updateMask field is set. */ @java.lang.Override @@ -100,11 +140,14 @@ public boolean hasUpdateMask() { return updateMask_ != null; } /** + * + * *
    * The list of fields to be updated.
    * 
* * .google.protobuf.FieldMask update_mask = 2; + * * @return The updateMask. */ @java.lang.Override @@ -112,6 +155,8 @@ public com.google.protobuf.FieldMask getUpdateMask() { return updateMask_ == null ? com.google.protobuf.FieldMask.getDefaultInstance() : updateMask_; } /** + * + * *
    * The list of fields to be updated.
    * 
@@ -124,6 +169,7 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -135,8 +181,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (conversation_ != null) { output.writeMessage(1, getConversation()); } @@ -153,12 +198,10 @@ public int getSerializedSize() { size = 0; if (conversation_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, getConversation()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getConversation()); } if (updateMask_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, getUpdateMask()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getUpdateMask()); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -168,22 +211,21 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.contactcenterinsights.v1.UpdateConversationRequest)) { return super.equals(obj); } - com.google.cloud.contactcenterinsights.v1.UpdateConversationRequest other = (com.google.cloud.contactcenterinsights.v1.UpdateConversationRequest) obj; + com.google.cloud.contactcenterinsights.v1.UpdateConversationRequest other = + (com.google.cloud.contactcenterinsights.v1.UpdateConversationRequest) obj; if (hasConversation() != other.hasConversation()) return false; if (hasConversation()) { - if (!getConversation() - .equals(other.getConversation())) return false; + if (!getConversation().equals(other.getConversation())) return false; } if (hasUpdateMask() != other.hasUpdateMask()) return false; if (hasUpdateMask()) { - if (!getUpdateMask() - .equals(other.getUpdateMask())) return false; + if (!getUpdateMask().equals(other.getUpdateMask())) return false; } if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -210,129 +252,138 @@ public int hashCode() { } public static com.google.cloud.contactcenterinsights.v1.UpdateConversationRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.contactcenterinsights.v1.UpdateConversationRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.contactcenterinsights.v1.UpdateConversationRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.contactcenterinsights.v1.UpdateConversationRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.contactcenterinsights.v1.UpdateConversationRequest parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.contactcenterinsights.v1.UpdateConversationRequest parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.contactcenterinsights.v1.UpdateConversationRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.contactcenterinsights.v1.UpdateConversationRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.contactcenterinsights.v1.UpdateConversationRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.contactcenterinsights.v1.UpdateConversationRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.contactcenterinsights.v1.UpdateConversationRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.contactcenterinsights.v1.UpdateConversationRequest + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.contactcenterinsights.v1.UpdateConversationRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + + public static com.google.cloud.contactcenterinsights.v1.UpdateConversationRequest + parseDelimitedFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.contactcenterinsights.v1.UpdateConversationRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.contactcenterinsights.v1.UpdateConversationRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.contactcenterinsights.v1.UpdateConversationRequest prototype) { + + public static Builder newBuilder( + com.google.cloud.contactcenterinsights.v1.UpdateConversationRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * The request to update a conversation.
    * 
* * Protobuf type {@code google.cloud.contactcenterinsights.v1.UpdateConversationRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.contactcenterinsights.v1.UpdateConversationRequest) com.google.cloud.contactcenterinsights.v1.UpdateConversationRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto.internal_static_google_cloud_contactcenterinsights_v1_UpdateConversationRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto + .internal_static_google_cloud_contactcenterinsights_v1_UpdateConversationRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto.internal_static_google_cloud_contactcenterinsights_v1_UpdateConversationRequest_fieldAccessorTable + return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto + .internal_static_google_cloud_contactcenterinsights_v1_UpdateConversationRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.contactcenterinsights.v1.UpdateConversationRequest.class, com.google.cloud.contactcenterinsights.v1.UpdateConversationRequest.Builder.class); + com.google.cloud.contactcenterinsights.v1.UpdateConversationRequest.class, + com.google.cloud.contactcenterinsights.v1.UpdateConversationRequest.Builder.class); } - // Construct using com.google.cloud.contactcenterinsights.v1.UpdateConversationRequest.newBuilder() - private Builder() { + // Construct using + // com.google.cloud.contactcenterinsights.v1.UpdateConversationRequest.newBuilder() + private Builder() {} - } - - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -351,14 +402,16 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto.internal_static_google_cloud_contactcenterinsights_v1_UpdateConversationRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto + .internal_static_google_cloud_contactcenterinsights_v1_UpdateConversationRequest_descriptor; } @java.lang.Override - public com.google.cloud.contactcenterinsights.v1.UpdateConversationRequest getDefaultInstanceForType() { - return com.google.cloud.contactcenterinsights.v1.UpdateConversationRequest.getDefaultInstance(); + public com.google.cloud.contactcenterinsights.v1.UpdateConversationRequest + getDefaultInstanceForType() { + return com.google.cloud.contactcenterinsights.v1.UpdateConversationRequest + .getDefaultInstance(); } @java.lang.Override @@ -372,23 +425,24 @@ public com.google.cloud.contactcenterinsights.v1.UpdateConversationRequest build @java.lang.Override public com.google.cloud.contactcenterinsights.v1.UpdateConversationRequest buildPartial() { - com.google.cloud.contactcenterinsights.v1.UpdateConversationRequest result = new com.google.cloud.contactcenterinsights.v1.UpdateConversationRequest(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.cloud.contactcenterinsights.v1.UpdateConversationRequest result = + new com.google.cloud.contactcenterinsights.v1.UpdateConversationRequest(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } - private void buildPartial0(com.google.cloud.contactcenterinsights.v1.UpdateConversationRequest result) { + private void buildPartial0( + com.google.cloud.contactcenterinsights.v1.UpdateConversationRequest result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { - result.conversation_ = conversationBuilder_ == null - ? conversation_ - : conversationBuilder_.build(); + result.conversation_ = + conversationBuilder_ == null ? conversation_ : conversationBuilder_.build(); } if (((from_bitField0_ & 0x00000002) != 0)) { - result.updateMask_ = updateMaskBuilder_ == null - ? updateMask_ - : updateMaskBuilder_.build(); + result.updateMask_ = updateMaskBuilder_ == null ? updateMask_ : updateMaskBuilder_.build(); } } @@ -396,46 +450,51 @@ private void buildPartial0(com.google.cloud.contactcenterinsights.v1.UpdateConve public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.contactcenterinsights.v1.UpdateConversationRequest) { - return mergeFrom((com.google.cloud.contactcenterinsights.v1.UpdateConversationRequest)other); + return mergeFrom( + (com.google.cloud.contactcenterinsights.v1.UpdateConversationRequest) other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.google.cloud.contactcenterinsights.v1.UpdateConversationRequest other) { - if (other == com.google.cloud.contactcenterinsights.v1.UpdateConversationRequest.getDefaultInstance()) return this; + public Builder mergeFrom( + com.google.cloud.contactcenterinsights.v1.UpdateConversationRequest other) { + if (other + == com.google.cloud.contactcenterinsights.v1.UpdateConversationRequest + .getDefaultInstance()) return this; if (other.hasConversation()) { mergeConversation(other.getConversation()); } @@ -468,26 +527,25 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - input.readMessage( - getConversationFieldBuilder().getBuilder(), - extensionRegistry); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: { - input.readMessage( - getUpdateMaskFieldBuilder().getBuilder(), - extensionRegistry); - bitField0_ |= 0x00000002; - break; - } // case 18 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + input.readMessage(getConversationFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: + { + input.readMessage(getUpdateMaskFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000002; + break; + } // case 18 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -497,43 +555,63 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private com.google.cloud.contactcenterinsights.v1.Conversation conversation_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.contactcenterinsights.v1.Conversation, com.google.cloud.contactcenterinsights.v1.Conversation.Builder, com.google.cloud.contactcenterinsights.v1.ConversationOrBuilder> conversationBuilder_; + com.google.cloud.contactcenterinsights.v1.Conversation, + com.google.cloud.contactcenterinsights.v1.Conversation.Builder, + com.google.cloud.contactcenterinsights.v1.ConversationOrBuilder> + conversationBuilder_; /** + * + * *
      * Required. The new values for the conversation.
      * 
* - * .google.cloud.contactcenterinsights.v1.Conversation conversation = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.contactcenterinsights.v1.Conversation conversation = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the conversation field is set. */ public boolean hasConversation() { return ((bitField0_ & 0x00000001) != 0); } /** + * + * *
      * Required. The new values for the conversation.
      * 
* - * .google.cloud.contactcenterinsights.v1.Conversation conversation = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.contactcenterinsights.v1.Conversation conversation = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The conversation. */ public com.google.cloud.contactcenterinsights.v1.Conversation getConversation() { if (conversationBuilder_ == null) { - return conversation_ == null ? com.google.cloud.contactcenterinsights.v1.Conversation.getDefaultInstance() : conversation_; + return conversation_ == null + ? com.google.cloud.contactcenterinsights.v1.Conversation.getDefaultInstance() + : conversation_; } else { return conversationBuilder_.getMessage(); } } /** + * + * *
      * Required. The new values for the conversation.
      * 
* - * .google.cloud.contactcenterinsights.v1.Conversation conversation = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.contactcenterinsights.v1.Conversation conversation = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder setConversation(com.google.cloud.contactcenterinsights.v1.Conversation value) { if (conversationBuilder_ == null) { @@ -549,11 +627,15 @@ public Builder setConversation(com.google.cloud.contactcenterinsights.v1.Convers return this; } /** + * + * *
      * Required. The new values for the conversation.
      * 
* - * .google.cloud.contactcenterinsights.v1.Conversation conversation = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.contactcenterinsights.v1.Conversation conversation = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder setConversation( com.google.cloud.contactcenterinsights.v1.Conversation.Builder builderForValue) { @@ -567,17 +649,22 @@ public Builder setConversation( return this; } /** + * + * *
      * Required. The new values for the conversation.
      * 
* - * .google.cloud.contactcenterinsights.v1.Conversation conversation = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.contactcenterinsights.v1.Conversation conversation = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder mergeConversation(com.google.cloud.contactcenterinsights.v1.Conversation value) { if (conversationBuilder_ == null) { - if (((bitField0_ & 0x00000001) != 0) && - conversation_ != null && - conversation_ != com.google.cloud.contactcenterinsights.v1.Conversation.getDefaultInstance()) { + if (((bitField0_ & 0x00000001) != 0) + && conversation_ != null + && conversation_ + != com.google.cloud.contactcenterinsights.v1.Conversation.getDefaultInstance()) { getConversationBuilder().mergeFrom(value); } else { conversation_ = value; @@ -590,11 +677,15 @@ public Builder mergeConversation(com.google.cloud.contactcenterinsights.v1.Conve return this; } /** + * + * *
      * Required. The new values for the conversation.
      * 
* - * .google.cloud.contactcenterinsights.v1.Conversation conversation = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.contactcenterinsights.v1.Conversation conversation = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder clearConversation() { bitField0_ = (bitField0_ & ~0x00000001); @@ -607,11 +698,15 @@ public Builder clearConversation() { return this; } /** + * + * *
      * Required. The new values for the conversation.
      * 
* - * .google.cloud.contactcenterinsights.v1.Conversation conversation = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.contactcenterinsights.v1.Conversation conversation = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.cloud.contactcenterinsights.v1.Conversation.Builder getConversationBuilder() { bitField0_ |= 0x00000001; @@ -619,36 +714,49 @@ public com.google.cloud.contactcenterinsights.v1.Conversation.Builder getConvers return getConversationFieldBuilder().getBuilder(); } /** + * + * *
      * Required. The new values for the conversation.
      * 
* - * .google.cloud.contactcenterinsights.v1.Conversation conversation = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.contactcenterinsights.v1.Conversation conversation = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ - public com.google.cloud.contactcenterinsights.v1.ConversationOrBuilder getConversationOrBuilder() { + public com.google.cloud.contactcenterinsights.v1.ConversationOrBuilder + getConversationOrBuilder() { if (conversationBuilder_ != null) { return conversationBuilder_.getMessageOrBuilder(); } else { - return conversation_ == null ? - com.google.cloud.contactcenterinsights.v1.Conversation.getDefaultInstance() : conversation_; + return conversation_ == null + ? com.google.cloud.contactcenterinsights.v1.Conversation.getDefaultInstance() + : conversation_; } } /** + * + * *
      * Required. The new values for the conversation.
      * 
* - * .google.cloud.contactcenterinsights.v1.Conversation conversation = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.contactcenterinsights.v1.Conversation conversation = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.contactcenterinsights.v1.Conversation, com.google.cloud.contactcenterinsights.v1.Conversation.Builder, com.google.cloud.contactcenterinsights.v1.ConversationOrBuilder> + com.google.cloud.contactcenterinsights.v1.Conversation, + com.google.cloud.contactcenterinsights.v1.Conversation.Builder, + com.google.cloud.contactcenterinsights.v1.ConversationOrBuilder> getConversationFieldBuilder() { if (conversationBuilder_ == null) { - conversationBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.contactcenterinsights.v1.Conversation, com.google.cloud.contactcenterinsights.v1.Conversation.Builder, com.google.cloud.contactcenterinsights.v1.ConversationOrBuilder>( - getConversation(), - getParentForChildren(), - isClean()); + conversationBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.contactcenterinsights.v1.Conversation, + com.google.cloud.contactcenterinsights.v1.Conversation.Builder, + com.google.cloud.contactcenterinsights.v1.ConversationOrBuilder>( + getConversation(), getParentForChildren(), isClean()); conversation_ = null; } return conversationBuilder_; @@ -656,34 +764,47 @@ public com.google.cloud.contactcenterinsights.v1.ConversationOrBuilder getConver private com.google.protobuf.FieldMask updateMask_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.FieldMask, com.google.protobuf.FieldMask.Builder, com.google.protobuf.FieldMaskOrBuilder> updateMaskBuilder_; + com.google.protobuf.FieldMask, + com.google.protobuf.FieldMask.Builder, + com.google.protobuf.FieldMaskOrBuilder> + updateMaskBuilder_; /** + * + * *
      * The list of fields to be updated.
      * 
* * .google.protobuf.FieldMask update_mask = 2; + * * @return Whether the updateMask field is set. */ public boolean hasUpdateMask() { return ((bitField0_ & 0x00000002) != 0); } /** + * + * *
      * The list of fields to be updated.
      * 
* * .google.protobuf.FieldMask update_mask = 2; + * * @return The updateMask. */ public com.google.protobuf.FieldMask getUpdateMask() { if (updateMaskBuilder_ == null) { - return updateMask_ == null ? com.google.protobuf.FieldMask.getDefaultInstance() : updateMask_; + return updateMask_ == null + ? com.google.protobuf.FieldMask.getDefaultInstance() + : updateMask_; } else { return updateMaskBuilder_.getMessage(); } } /** + * + * *
      * The list of fields to be updated.
      * 
@@ -704,14 +825,15 @@ public Builder setUpdateMask(com.google.protobuf.FieldMask value) { return this; } /** + * + * *
      * The list of fields to be updated.
      * 
* * .google.protobuf.FieldMask update_mask = 2; */ - public Builder setUpdateMask( - com.google.protobuf.FieldMask.Builder builderForValue) { + public Builder setUpdateMask(com.google.protobuf.FieldMask.Builder builderForValue) { if (updateMaskBuilder_ == null) { updateMask_ = builderForValue.build(); } else { @@ -722,6 +844,8 @@ public Builder setUpdateMask( return this; } /** + * + * *
      * The list of fields to be updated.
      * 
@@ -730,9 +854,9 @@ public Builder setUpdateMask( */ public Builder mergeUpdateMask(com.google.protobuf.FieldMask value) { if (updateMaskBuilder_ == null) { - if (((bitField0_ & 0x00000002) != 0) && - updateMask_ != null && - updateMask_ != com.google.protobuf.FieldMask.getDefaultInstance()) { + if (((bitField0_ & 0x00000002) != 0) + && updateMask_ != null + && updateMask_ != com.google.protobuf.FieldMask.getDefaultInstance()) { getUpdateMaskBuilder().mergeFrom(value); } else { updateMask_ = value; @@ -745,6 +869,8 @@ public Builder mergeUpdateMask(com.google.protobuf.FieldMask value) { return this; } /** + * + * *
      * The list of fields to be updated.
      * 
@@ -762,6 +888,8 @@ public Builder clearUpdateMask() { return this; } /** + * + * *
      * The list of fields to be updated.
      * 
@@ -774,6 +902,8 @@ public com.google.protobuf.FieldMask.Builder getUpdateMaskBuilder() { return getUpdateMaskFieldBuilder().getBuilder(); } /** + * + * *
      * The list of fields to be updated.
      * 
@@ -784,11 +914,14 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() { if (updateMaskBuilder_ != null) { return updateMaskBuilder_.getMessageOrBuilder(); } else { - return updateMask_ == null ? - com.google.protobuf.FieldMask.getDefaultInstance() : updateMask_; + return updateMask_ == null + ? com.google.protobuf.FieldMask.getDefaultInstance() + : updateMask_; } } /** + * + * *
      * The list of fields to be updated.
      * 
@@ -796,21 +929,24 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() { * .google.protobuf.FieldMask update_mask = 2; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.FieldMask, com.google.protobuf.FieldMask.Builder, com.google.protobuf.FieldMaskOrBuilder> + com.google.protobuf.FieldMask, + com.google.protobuf.FieldMask.Builder, + com.google.protobuf.FieldMaskOrBuilder> getUpdateMaskFieldBuilder() { if (updateMaskBuilder_ == null) { - updateMaskBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.FieldMask, com.google.protobuf.FieldMask.Builder, com.google.protobuf.FieldMaskOrBuilder>( - getUpdateMask(), - getParentForChildren(), - isClean()); + updateMaskBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.FieldMask, + com.google.protobuf.FieldMask.Builder, + com.google.protobuf.FieldMaskOrBuilder>( + getUpdateMask(), getParentForChildren(), isClean()); updateMask_ = null; } return updateMaskBuilder_; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -820,41 +956,43 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.contactcenterinsights.v1.UpdateConversationRequest) } // @@protoc_insertion_point(class_scope:google.cloud.contactcenterinsights.v1.UpdateConversationRequest) - private static final com.google.cloud.contactcenterinsights.v1.UpdateConversationRequest DEFAULT_INSTANCE; + private static final com.google.cloud.contactcenterinsights.v1.UpdateConversationRequest + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.contactcenterinsights.v1.UpdateConversationRequest(); } - public static com.google.cloud.contactcenterinsights.v1.UpdateConversationRequest getDefaultInstance() { + public static com.google.cloud.contactcenterinsights.v1.UpdateConversationRequest + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public UpdateConversationRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public UpdateConversationRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -866,9 +1004,8 @@ public com.google.protobuf.Parser getParserForType() } @java.lang.Override - public com.google.cloud.contactcenterinsights.v1.UpdateConversationRequest getDefaultInstanceForType() { + public com.google.cloud.contactcenterinsights.v1.UpdateConversationRequest + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/UpdateConversationRequestOrBuilder.java b/java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/UpdateConversationRequestOrBuilder.java similarity index 57% rename from owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/UpdateConversationRequestOrBuilder.java rename to java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/UpdateConversationRequestOrBuilder.java index 8790423a16e7..31ea847a29bc 100644 --- a/owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/UpdateConversationRequestOrBuilder.java +++ b/java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/UpdateConversationRequestOrBuilder.java @@ -1,58 +1,96 @@ +/* + * 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. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/contactcenterinsights/v1/contact_center_insights.proto package com.google.cloud.contactcenterinsights.v1; -public interface UpdateConversationRequestOrBuilder extends +public interface UpdateConversationRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.contactcenterinsights.v1.UpdateConversationRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Required. The new values for the conversation.
    * 
* - * .google.cloud.contactcenterinsights.v1.Conversation conversation = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.contactcenterinsights.v1.Conversation conversation = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the conversation field is set. */ boolean hasConversation(); /** + * + * *
    * Required. The new values for the conversation.
    * 
* - * .google.cloud.contactcenterinsights.v1.Conversation conversation = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.contactcenterinsights.v1.Conversation conversation = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The conversation. */ com.google.cloud.contactcenterinsights.v1.Conversation getConversation(); /** + * + * *
    * Required. The new values for the conversation.
    * 
* - * .google.cloud.contactcenterinsights.v1.Conversation conversation = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.contactcenterinsights.v1.Conversation conversation = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ com.google.cloud.contactcenterinsights.v1.ConversationOrBuilder getConversationOrBuilder(); /** + * + * *
    * The list of fields to be updated.
    * 
* * .google.protobuf.FieldMask update_mask = 2; + * * @return Whether the updateMask field is set. */ boolean hasUpdateMask(); /** + * + * *
    * The list of fields to be updated.
    * 
* * .google.protobuf.FieldMask update_mask = 2; + * * @return The updateMask. */ com.google.protobuf.FieldMask getUpdateMask(); /** + * + * *
    * The list of fields to be updated.
    * 
diff --git a/owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/UpdateIssueModelRequest.java b/java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/UpdateIssueModelRequest.java similarity index 61% rename from owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/UpdateIssueModelRequest.java rename to java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/UpdateIssueModelRequest.java index 5d59f22125ef..75b8706c3b52 100644 --- a/owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/UpdateIssueModelRequest.java +++ b/java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/UpdateIssueModelRequest.java @@ -1,60 +1,83 @@ +/* + * 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. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/contactcenterinsights/v1/contact_center_insights.proto package com.google.cloud.contactcenterinsights.v1; /** + * + * *
  * The request to update an issue model.
  * 
* * Protobuf type {@code google.cloud.contactcenterinsights.v1.UpdateIssueModelRequest} */ -public final class UpdateIssueModelRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class UpdateIssueModelRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.contactcenterinsights.v1.UpdateIssueModelRequest) UpdateIssueModelRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use UpdateIssueModelRequest.newBuilder() to construct. private UpdateIssueModelRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private UpdateIssueModelRequest() { - } + + private UpdateIssueModelRequest() {} @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new UpdateIssueModelRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto.internal_static_google_cloud_contactcenterinsights_v1_UpdateIssueModelRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto + .internal_static_google_cloud_contactcenterinsights_v1_UpdateIssueModelRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto.internal_static_google_cloud_contactcenterinsights_v1_UpdateIssueModelRequest_fieldAccessorTable + return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto + .internal_static_google_cloud_contactcenterinsights_v1_UpdateIssueModelRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.contactcenterinsights.v1.UpdateIssueModelRequest.class, com.google.cloud.contactcenterinsights.v1.UpdateIssueModelRequest.Builder.class); + com.google.cloud.contactcenterinsights.v1.UpdateIssueModelRequest.class, + com.google.cloud.contactcenterinsights.v1.UpdateIssueModelRequest.Builder.class); } public static final int ISSUE_MODEL_FIELD_NUMBER = 1; private com.google.cloud.contactcenterinsights.v1.IssueModel issueModel_; /** + * + * *
    * Required. The new values for the issue model.
    * 
* - * .google.cloud.contactcenterinsights.v1.IssueModel issue_model = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.contactcenterinsights.v1.IssueModel issue_model = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the issueModel field is set. */ @java.lang.Override @@ -62,37 +85,53 @@ public boolean hasIssueModel() { return issueModel_ != null; } /** + * + * *
    * Required. The new values for the issue model.
    * 
* - * .google.cloud.contactcenterinsights.v1.IssueModel issue_model = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.contactcenterinsights.v1.IssueModel issue_model = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The issueModel. */ @java.lang.Override public com.google.cloud.contactcenterinsights.v1.IssueModel getIssueModel() { - return issueModel_ == null ? com.google.cloud.contactcenterinsights.v1.IssueModel.getDefaultInstance() : issueModel_; + return issueModel_ == null + ? com.google.cloud.contactcenterinsights.v1.IssueModel.getDefaultInstance() + : issueModel_; } /** + * + * *
    * Required. The new values for the issue model.
    * 
* - * .google.cloud.contactcenterinsights.v1.IssueModel issue_model = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.contactcenterinsights.v1.IssueModel issue_model = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ @java.lang.Override public com.google.cloud.contactcenterinsights.v1.IssueModelOrBuilder getIssueModelOrBuilder() { - return issueModel_ == null ? com.google.cloud.contactcenterinsights.v1.IssueModel.getDefaultInstance() : issueModel_; + return issueModel_ == null + ? com.google.cloud.contactcenterinsights.v1.IssueModel.getDefaultInstance() + : issueModel_; } public static final int UPDATE_MASK_FIELD_NUMBER = 2; private com.google.protobuf.FieldMask updateMask_; /** + * + * *
    * The list of fields to be updated.
    * 
* * .google.protobuf.FieldMask update_mask = 2; + * * @return Whether the updateMask field is set. */ @java.lang.Override @@ -100,11 +139,14 @@ public boolean hasUpdateMask() { return updateMask_ != null; } /** + * + * *
    * The list of fields to be updated.
    * 
* * .google.protobuf.FieldMask update_mask = 2; + * * @return The updateMask. */ @java.lang.Override @@ -112,6 +154,8 @@ public com.google.protobuf.FieldMask getUpdateMask() { return updateMask_ == null ? com.google.protobuf.FieldMask.getDefaultInstance() : updateMask_; } /** + * + * *
    * The list of fields to be updated.
    * 
@@ -124,6 +168,7 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -135,8 +180,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (issueModel_ != null) { output.writeMessage(1, getIssueModel()); } @@ -153,12 +197,10 @@ public int getSerializedSize() { size = 0; if (issueModel_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, getIssueModel()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getIssueModel()); } if (updateMask_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, getUpdateMask()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getUpdateMask()); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -168,22 +210,21 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.contactcenterinsights.v1.UpdateIssueModelRequest)) { return super.equals(obj); } - com.google.cloud.contactcenterinsights.v1.UpdateIssueModelRequest other = (com.google.cloud.contactcenterinsights.v1.UpdateIssueModelRequest) obj; + com.google.cloud.contactcenterinsights.v1.UpdateIssueModelRequest other = + (com.google.cloud.contactcenterinsights.v1.UpdateIssueModelRequest) obj; if (hasIssueModel() != other.hasIssueModel()) return false; if (hasIssueModel()) { - if (!getIssueModel() - .equals(other.getIssueModel())) return false; + if (!getIssueModel().equals(other.getIssueModel())) return false; } if (hasUpdateMask() != other.hasUpdateMask()) return false; if (hasUpdateMask()) { - if (!getUpdateMask() - .equals(other.getUpdateMask())) return false; + if (!getUpdateMask().equals(other.getUpdateMask())) return false; } if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -210,129 +251,138 @@ public int hashCode() { } public static com.google.cloud.contactcenterinsights.v1.UpdateIssueModelRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.contactcenterinsights.v1.UpdateIssueModelRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.contactcenterinsights.v1.UpdateIssueModelRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.contactcenterinsights.v1.UpdateIssueModelRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.contactcenterinsights.v1.UpdateIssueModelRequest parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.contactcenterinsights.v1.UpdateIssueModelRequest parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.contactcenterinsights.v1.UpdateIssueModelRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.contactcenterinsights.v1.UpdateIssueModelRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.contactcenterinsights.v1.UpdateIssueModelRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.contactcenterinsights.v1.UpdateIssueModelRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.contactcenterinsights.v1.UpdateIssueModelRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.contactcenterinsights.v1.UpdateIssueModelRequest + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.contactcenterinsights.v1.UpdateIssueModelRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + + public static com.google.cloud.contactcenterinsights.v1.UpdateIssueModelRequest + parseDelimitedFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.contactcenterinsights.v1.UpdateIssueModelRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.contactcenterinsights.v1.UpdateIssueModelRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.contactcenterinsights.v1.UpdateIssueModelRequest prototype) { + + public static Builder newBuilder( + com.google.cloud.contactcenterinsights.v1.UpdateIssueModelRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * The request to update an issue model.
    * 
* * Protobuf type {@code google.cloud.contactcenterinsights.v1.UpdateIssueModelRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.contactcenterinsights.v1.UpdateIssueModelRequest) com.google.cloud.contactcenterinsights.v1.UpdateIssueModelRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto.internal_static_google_cloud_contactcenterinsights_v1_UpdateIssueModelRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto + .internal_static_google_cloud_contactcenterinsights_v1_UpdateIssueModelRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto.internal_static_google_cloud_contactcenterinsights_v1_UpdateIssueModelRequest_fieldAccessorTable + return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto + .internal_static_google_cloud_contactcenterinsights_v1_UpdateIssueModelRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.contactcenterinsights.v1.UpdateIssueModelRequest.class, com.google.cloud.contactcenterinsights.v1.UpdateIssueModelRequest.Builder.class); + com.google.cloud.contactcenterinsights.v1.UpdateIssueModelRequest.class, + com.google.cloud.contactcenterinsights.v1.UpdateIssueModelRequest.Builder.class); } - // Construct using com.google.cloud.contactcenterinsights.v1.UpdateIssueModelRequest.newBuilder() - private Builder() { + // Construct using + // com.google.cloud.contactcenterinsights.v1.UpdateIssueModelRequest.newBuilder() + private Builder() {} - } - - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -351,13 +401,14 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto.internal_static_google_cloud_contactcenterinsights_v1_UpdateIssueModelRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto + .internal_static_google_cloud_contactcenterinsights_v1_UpdateIssueModelRequest_descriptor; } @java.lang.Override - public com.google.cloud.contactcenterinsights.v1.UpdateIssueModelRequest getDefaultInstanceForType() { + public com.google.cloud.contactcenterinsights.v1.UpdateIssueModelRequest + getDefaultInstanceForType() { return com.google.cloud.contactcenterinsights.v1.UpdateIssueModelRequest.getDefaultInstance(); } @@ -372,23 +423,23 @@ public com.google.cloud.contactcenterinsights.v1.UpdateIssueModelRequest build() @java.lang.Override public com.google.cloud.contactcenterinsights.v1.UpdateIssueModelRequest buildPartial() { - com.google.cloud.contactcenterinsights.v1.UpdateIssueModelRequest result = new com.google.cloud.contactcenterinsights.v1.UpdateIssueModelRequest(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.cloud.contactcenterinsights.v1.UpdateIssueModelRequest result = + new com.google.cloud.contactcenterinsights.v1.UpdateIssueModelRequest(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } - private void buildPartial0(com.google.cloud.contactcenterinsights.v1.UpdateIssueModelRequest result) { + private void buildPartial0( + com.google.cloud.contactcenterinsights.v1.UpdateIssueModelRequest result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { - result.issueModel_ = issueModelBuilder_ == null - ? issueModel_ - : issueModelBuilder_.build(); + result.issueModel_ = issueModelBuilder_ == null ? issueModel_ : issueModelBuilder_.build(); } if (((from_bitField0_ & 0x00000002) != 0)) { - result.updateMask_ = updateMaskBuilder_ == null - ? updateMask_ - : updateMaskBuilder_.build(); + result.updateMask_ = updateMaskBuilder_ == null ? updateMask_ : updateMaskBuilder_.build(); } } @@ -396,46 +447,50 @@ private void buildPartial0(com.google.cloud.contactcenterinsights.v1.UpdateIssue public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.contactcenterinsights.v1.UpdateIssueModelRequest) { - return mergeFrom((com.google.cloud.contactcenterinsights.v1.UpdateIssueModelRequest)other); + return mergeFrom((com.google.cloud.contactcenterinsights.v1.UpdateIssueModelRequest) other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.google.cloud.contactcenterinsights.v1.UpdateIssueModelRequest other) { - if (other == com.google.cloud.contactcenterinsights.v1.UpdateIssueModelRequest.getDefaultInstance()) return this; + public Builder mergeFrom( + com.google.cloud.contactcenterinsights.v1.UpdateIssueModelRequest other) { + if (other + == com.google.cloud.contactcenterinsights.v1.UpdateIssueModelRequest.getDefaultInstance()) + return this; if (other.hasIssueModel()) { mergeIssueModel(other.getIssueModel()); } @@ -468,26 +523,25 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - input.readMessage( - getIssueModelFieldBuilder().getBuilder(), - extensionRegistry); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: { - input.readMessage( - getUpdateMaskFieldBuilder().getBuilder(), - extensionRegistry); - bitField0_ |= 0x00000002; - break; - } // case 18 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + input.readMessage(getIssueModelFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: + { + input.readMessage(getUpdateMaskFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000002; + break; + } // case 18 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -497,43 +551,63 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private com.google.cloud.contactcenterinsights.v1.IssueModel issueModel_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.contactcenterinsights.v1.IssueModel, com.google.cloud.contactcenterinsights.v1.IssueModel.Builder, com.google.cloud.contactcenterinsights.v1.IssueModelOrBuilder> issueModelBuilder_; + com.google.cloud.contactcenterinsights.v1.IssueModel, + com.google.cloud.contactcenterinsights.v1.IssueModel.Builder, + com.google.cloud.contactcenterinsights.v1.IssueModelOrBuilder> + issueModelBuilder_; /** + * + * *
      * Required. The new values for the issue model.
      * 
* - * .google.cloud.contactcenterinsights.v1.IssueModel issue_model = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.contactcenterinsights.v1.IssueModel issue_model = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the issueModel field is set. */ public boolean hasIssueModel() { return ((bitField0_ & 0x00000001) != 0); } /** + * + * *
      * Required. The new values for the issue model.
      * 
* - * .google.cloud.contactcenterinsights.v1.IssueModel issue_model = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.contactcenterinsights.v1.IssueModel issue_model = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The issueModel. */ public com.google.cloud.contactcenterinsights.v1.IssueModel getIssueModel() { if (issueModelBuilder_ == null) { - return issueModel_ == null ? com.google.cloud.contactcenterinsights.v1.IssueModel.getDefaultInstance() : issueModel_; + return issueModel_ == null + ? com.google.cloud.contactcenterinsights.v1.IssueModel.getDefaultInstance() + : issueModel_; } else { return issueModelBuilder_.getMessage(); } } /** + * + * *
      * Required. The new values for the issue model.
      * 
* - * .google.cloud.contactcenterinsights.v1.IssueModel issue_model = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.contactcenterinsights.v1.IssueModel issue_model = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder setIssueModel(com.google.cloud.contactcenterinsights.v1.IssueModel value) { if (issueModelBuilder_ == null) { @@ -549,11 +623,15 @@ public Builder setIssueModel(com.google.cloud.contactcenterinsights.v1.IssueMode return this; } /** + * + * *
      * Required. The new values for the issue model.
      * 
* - * .google.cloud.contactcenterinsights.v1.IssueModel issue_model = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.contactcenterinsights.v1.IssueModel issue_model = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder setIssueModel( com.google.cloud.contactcenterinsights.v1.IssueModel.Builder builderForValue) { @@ -567,17 +645,22 @@ public Builder setIssueModel( return this; } /** + * + * *
      * Required. The new values for the issue model.
      * 
* - * .google.cloud.contactcenterinsights.v1.IssueModel issue_model = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.contactcenterinsights.v1.IssueModel issue_model = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder mergeIssueModel(com.google.cloud.contactcenterinsights.v1.IssueModel value) { if (issueModelBuilder_ == null) { - if (((bitField0_ & 0x00000001) != 0) && - issueModel_ != null && - issueModel_ != com.google.cloud.contactcenterinsights.v1.IssueModel.getDefaultInstance()) { + if (((bitField0_ & 0x00000001) != 0) + && issueModel_ != null + && issueModel_ + != com.google.cloud.contactcenterinsights.v1.IssueModel.getDefaultInstance()) { getIssueModelBuilder().mergeFrom(value); } else { issueModel_ = value; @@ -590,11 +673,15 @@ public Builder mergeIssueModel(com.google.cloud.contactcenterinsights.v1.IssueMo return this; } /** + * + * *
      * Required. The new values for the issue model.
      * 
* - * .google.cloud.contactcenterinsights.v1.IssueModel issue_model = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.contactcenterinsights.v1.IssueModel issue_model = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder clearIssueModel() { bitField0_ = (bitField0_ & ~0x00000001); @@ -607,11 +694,15 @@ public Builder clearIssueModel() { return this; } /** + * + * *
      * Required. The new values for the issue model.
      * 
* - * .google.cloud.contactcenterinsights.v1.IssueModel issue_model = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.contactcenterinsights.v1.IssueModel issue_model = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.cloud.contactcenterinsights.v1.IssueModel.Builder getIssueModelBuilder() { bitField0_ |= 0x00000001; @@ -619,36 +710,48 @@ public com.google.cloud.contactcenterinsights.v1.IssueModel.Builder getIssueMode return getIssueModelFieldBuilder().getBuilder(); } /** + * + * *
      * Required. The new values for the issue model.
      * 
* - * .google.cloud.contactcenterinsights.v1.IssueModel issue_model = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.contactcenterinsights.v1.IssueModel issue_model = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.cloud.contactcenterinsights.v1.IssueModelOrBuilder getIssueModelOrBuilder() { if (issueModelBuilder_ != null) { return issueModelBuilder_.getMessageOrBuilder(); } else { - return issueModel_ == null ? - com.google.cloud.contactcenterinsights.v1.IssueModel.getDefaultInstance() : issueModel_; + return issueModel_ == null + ? com.google.cloud.contactcenterinsights.v1.IssueModel.getDefaultInstance() + : issueModel_; } } /** + * + * *
      * Required. The new values for the issue model.
      * 
* - * .google.cloud.contactcenterinsights.v1.IssueModel issue_model = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.contactcenterinsights.v1.IssueModel issue_model = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.contactcenterinsights.v1.IssueModel, com.google.cloud.contactcenterinsights.v1.IssueModel.Builder, com.google.cloud.contactcenterinsights.v1.IssueModelOrBuilder> + com.google.cloud.contactcenterinsights.v1.IssueModel, + com.google.cloud.contactcenterinsights.v1.IssueModel.Builder, + com.google.cloud.contactcenterinsights.v1.IssueModelOrBuilder> getIssueModelFieldBuilder() { if (issueModelBuilder_ == null) { - issueModelBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.contactcenterinsights.v1.IssueModel, com.google.cloud.contactcenterinsights.v1.IssueModel.Builder, com.google.cloud.contactcenterinsights.v1.IssueModelOrBuilder>( - getIssueModel(), - getParentForChildren(), - isClean()); + issueModelBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.contactcenterinsights.v1.IssueModel, + com.google.cloud.contactcenterinsights.v1.IssueModel.Builder, + com.google.cloud.contactcenterinsights.v1.IssueModelOrBuilder>( + getIssueModel(), getParentForChildren(), isClean()); issueModel_ = null; } return issueModelBuilder_; @@ -656,34 +759,47 @@ public com.google.cloud.contactcenterinsights.v1.IssueModelOrBuilder getIssueMod private com.google.protobuf.FieldMask updateMask_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.FieldMask, com.google.protobuf.FieldMask.Builder, com.google.protobuf.FieldMaskOrBuilder> updateMaskBuilder_; + com.google.protobuf.FieldMask, + com.google.protobuf.FieldMask.Builder, + com.google.protobuf.FieldMaskOrBuilder> + updateMaskBuilder_; /** + * + * *
      * The list of fields to be updated.
      * 
* * .google.protobuf.FieldMask update_mask = 2; + * * @return Whether the updateMask field is set. */ public boolean hasUpdateMask() { return ((bitField0_ & 0x00000002) != 0); } /** + * + * *
      * The list of fields to be updated.
      * 
* * .google.protobuf.FieldMask update_mask = 2; + * * @return The updateMask. */ public com.google.protobuf.FieldMask getUpdateMask() { if (updateMaskBuilder_ == null) { - return updateMask_ == null ? com.google.protobuf.FieldMask.getDefaultInstance() : updateMask_; + return updateMask_ == null + ? com.google.protobuf.FieldMask.getDefaultInstance() + : updateMask_; } else { return updateMaskBuilder_.getMessage(); } } /** + * + * *
      * The list of fields to be updated.
      * 
@@ -704,14 +820,15 @@ public Builder setUpdateMask(com.google.protobuf.FieldMask value) { return this; } /** + * + * *
      * The list of fields to be updated.
      * 
* * .google.protobuf.FieldMask update_mask = 2; */ - public Builder setUpdateMask( - com.google.protobuf.FieldMask.Builder builderForValue) { + public Builder setUpdateMask(com.google.protobuf.FieldMask.Builder builderForValue) { if (updateMaskBuilder_ == null) { updateMask_ = builderForValue.build(); } else { @@ -722,6 +839,8 @@ public Builder setUpdateMask( return this; } /** + * + * *
      * The list of fields to be updated.
      * 
@@ -730,9 +849,9 @@ public Builder setUpdateMask( */ public Builder mergeUpdateMask(com.google.protobuf.FieldMask value) { if (updateMaskBuilder_ == null) { - if (((bitField0_ & 0x00000002) != 0) && - updateMask_ != null && - updateMask_ != com.google.protobuf.FieldMask.getDefaultInstance()) { + if (((bitField0_ & 0x00000002) != 0) + && updateMask_ != null + && updateMask_ != com.google.protobuf.FieldMask.getDefaultInstance()) { getUpdateMaskBuilder().mergeFrom(value); } else { updateMask_ = value; @@ -745,6 +864,8 @@ public Builder mergeUpdateMask(com.google.protobuf.FieldMask value) { return this; } /** + * + * *
      * The list of fields to be updated.
      * 
@@ -762,6 +883,8 @@ public Builder clearUpdateMask() { return this; } /** + * + * *
      * The list of fields to be updated.
      * 
@@ -774,6 +897,8 @@ public com.google.protobuf.FieldMask.Builder getUpdateMaskBuilder() { return getUpdateMaskFieldBuilder().getBuilder(); } /** + * + * *
      * The list of fields to be updated.
      * 
@@ -784,11 +909,14 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() { if (updateMaskBuilder_ != null) { return updateMaskBuilder_.getMessageOrBuilder(); } else { - return updateMask_ == null ? - com.google.protobuf.FieldMask.getDefaultInstance() : updateMask_; + return updateMask_ == null + ? com.google.protobuf.FieldMask.getDefaultInstance() + : updateMask_; } } /** + * + * *
      * The list of fields to be updated.
      * 
@@ -796,21 +924,24 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() { * .google.protobuf.FieldMask update_mask = 2; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.FieldMask, com.google.protobuf.FieldMask.Builder, com.google.protobuf.FieldMaskOrBuilder> + com.google.protobuf.FieldMask, + com.google.protobuf.FieldMask.Builder, + com.google.protobuf.FieldMaskOrBuilder> getUpdateMaskFieldBuilder() { if (updateMaskBuilder_ == null) { - updateMaskBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.FieldMask, com.google.protobuf.FieldMask.Builder, com.google.protobuf.FieldMaskOrBuilder>( - getUpdateMask(), - getParentForChildren(), - isClean()); + updateMaskBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.FieldMask, + com.google.protobuf.FieldMask.Builder, + com.google.protobuf.FieldMaskOrBuilder>( + getUpdateMask(), getParentForChildren(), isClean()); updateMask_ = null; } return updateMaskBuilder_; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -820,41 +951,43 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.contactcenterinsights.v1.UpdateIssueModelRequest) } // @@protoc_insertion_point(class_scope:google.cloud.contactcenterinsights.v1.UpdateIssueModelRequest) - private static final com.google.cloud.contactcenterinsights.v1.UpdateIssueModelRequest DEFAULT_INSTANCE; + private static final com.google.cloud.contactcenterinsights.v1.UpdateIssueModelRequest + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.contactcenterinsights.v1.UpdateIssueModelRequest(); } - public static com.google.cloud.contactcenterinsights.v1.UpdateIssueModelRequest getDefaultInstance() { + public static com.google.cloud.contactcenterinsights.v1.UpdateIssueModelRequest + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public UpdateIssueModelRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public UpdateIssueModelRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -866,9 +999,8 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.cloud.contactcenterinsights.v1.UpdateIssueModelRequest getDefaultInstanceForType() { + public com.google.cloud.contactcenterinsights.v1.UpdateIssueModelRequest + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/UpdateIssueModelRequestOrBuilder.java b/java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/UpdateIssueModelRequestOrBuilder.java similarity index 57% rename from owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/UpdateIssueModelRequestOrBuilder.java rename to java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/UpdateIssueModelRequestOrBuilder.java index b6afb01f6ab5..c94e49ea0fb9 100644 --- a/owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/UpdateIssueModelRequestOrBuilder.java +++ b/java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/UpdateIssueModelRequestOrBuilder.java @@ -1,58 +1,96 @@ +/* + * 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. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/contactcenterinsights/v1/contact_center_insights.proto package com.google.cloud.contactcenterinsights.v1; -public interface UpdateIssueModelRequestOrBuilder extends +public interface UpdateIssueModelRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.contactcenterinsights.v1.UpdateIssueModelRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Required. The new values for the issue model.
    * 
* - * .google.cloud.contactcenterinsights.v1.IssueModel issue_model = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.contactcenterinsights.v1.IssueModel issue_model = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the issueModel field is set. */ boolean hasIssueModel(); /** + * + * *
    * Required. The new values for the issue model.
    * 
* - * .google.cloud.contactcenterinsights.v1.IssueModel issue_model = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.contactcenterinsights.v1.IssueModel issue_model = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The issueModel. */ com.google.cloud.contactcenterinsights.v1.IssueModel getIssueModel(); /** + * + * *
    * Required. The new values for the issue model.
    * 
* - * .google.cloud.contactcenterinsights.v1.IssueModel issue_model = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.contactcenterinsights.v1.IssueModel issue_model = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ com.google.cloud.contactcenterinsights.v1.IssueModelOrBuilder getIssueModelOrBuilder(); /** + * + * *
    * The list of fields to be updated.
    * 
* * .google.protobuf.FieldMask update_mask = 2; + * * @return Whether the updateMask field is set. */ boolean hasUpdateMask(); /** + * + * *
    * The list of fields to be updated.
    * 
* * .google.protobuf.FieldMask update_mask = 2; + * * @return The updateMask. */ com.google.protobuf.FieldMask getUpdateMask(); /** + * + * *
    * The list of fields to be updated.
    * 
diff --git a/owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/UpdateIssueRequest.java b/java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/UpdateIssueRequest.java similarity index 63% rename from owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/UpdateIssueRequest.java rename to java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/UpdateIssueRequest.java index f951cc6b1289..84b4fb5ce4e9 100644 --- a/owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/UpdateIssueRequest.java +++ b/java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/UpdateIssueRequest.java @@ -1,60 +1,83 @@ +/* + * 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. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/contactcenterinsights/v1/contact_center_insights.proto package com.google.cloud.contactcenterinsights.v1; /** + * + * *
  * The request to update an issue.
  * 
* * Protobuf type {@code google.cloud.contactcenterinsights.v1.UpdateIssueRequest} */ -public final class UpdateIssueRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class UpdateIssueRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.contactcenterinsights.v1.UpdateIssueRequest) UpdateIssueRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use UpdateIssueRequest.newBuilder() to construct. private UpdateIssueRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private UpdateIssueRequest() { - } + + private UpdateIssueRequest() {} @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new UpdateIssueRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto.internal_static_google_cloud_contactcenterinsights_v1_UpdateIssueRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto + .internal_static_google_cloud_contactcenterinsights_v1_UpdateIssueRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto.internal_static_google_cloud_contactcenterinsights_v1_UpdateIssueRequest_fieldAccessorTable + return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto + .internal_static_google_cloud_contactcenterinsights_v1_UpdateIssueRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.contactcenterinsights.v1.UpdateIssueRequest.class, com.google.cloud.contactcenterinsights.v1.UpdateIssueRequest.Builder.class); + com.google.cloud.contactcenterinsights.v1.UpdateIssueRequest.class, + com.google.cloud.contactcenterinsights.v1.UpdateIssueRequest.Builder.class); } public static final int ISSUE_FIELD_NUMBER = 1; private com.google.cloud.contactcenterinsights.v1.Issue issue_; /** + * + * *
    * Required. The new values for the issue.
    * 
* - * .google.cloud.contactcenterinsights.v1.Issue issue = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.contactcenterinsights.v1.Issue issue = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the issue field is set. */ @java.lang.Override @@ -62,37 +85,53 @@ public boolean hasIssue() { return issue_ != null; } /** + * + * *
    * Required. The new values for the issue.
    * 
* - * .google.cloud.contactcenterinsights.v1.Issue issue = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.contactcenterinsights.v1.Issue issue = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The issue. */ @java.lang.Override public com.google.cloud.contactcenterinsights.v1.Issue getIssue() { - return issue_ == null ? com.google.cloud.contactcenterinsights.v1.Issue.getDefaultInstance() : issue_; + return issue_ == null + ? com.google.cloud.contactcenterinsights.v1.Issue.getDefaultInstance() + : issue_; } /** + * + * *
    * Required. The new values for the issue.
    * 
* - * .google.cloud.contactcenterinsights.v1.Issue issue = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.contactcenterinsights.v1.Issue issue = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ @java.lang.Override public com.google.cloud.contactcenterinsights.v1.IssueOrBuilder getIssueOrBuilder() { - return issue_ == null ? com.google.cloud.contactcenterinsights.v1.Issue.getDefaultInstance() : issue_; + return issue_ == null + ? com.google.cloud.contactcenterinsights.v1.Issue.getDefaultInstance() + : issue_; } public static final int UPDATE_MASK_FIELD_NUMBER = 2; private com.google.protobuf.FieldMask updateMask_; /** + * + * *
    * The list of fields to be updated.
    * 
* * .google.protobuf.FieldMask update_mask = 2; + * * @return Whether the updateMask field is set. */ @java.lang.Override @@ -100,11 +139,14 @@ public boolean hasUpdateMask() { return updateMask_ != null; } /** + * + * *
    * The list of fields to be updated.
    * 
* * .google.protobuf.FieldMask update_mask = 2; + * * @return The updateMask. */ @java.lang.Override @@ -112,6 +154,8 @@ public com.google.protobuf.FieldMask getUpdateMask() { return updateMask_ == null ? com.google.protobuf.FieldMask.getDefaultInstance() : updateMask_; } /** + * + * *
    * The list of fields to be updated.
    * 
@@ -124,6 +168,7 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -135,8 +180,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (issue_ != null) { output.writeMessage(1, getIssue()); } @@ -153,12 +197,10 @@ public int getSerializedSize() { size = 0; if (issue_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, getIssue()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getIssue()); } if (updateMask_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, getUpdateMask()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getUpdateMask()); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -168,22 +210,21 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.contactcenterinsights.v1.UpdateIssueRequest)) { return super.equals(obj); } - com.google.cloud.contactcenterinsights.v1.UpdateIssueRequest other = (com.google.cloud.contactcenterinsights.v1.UpdateIssueRequest) obj; + com.google.cloud.contactcenterinsights.v1.UpdateIssueRequest other = + (com.google.cloud.contactcenterinsights.v1.UpdateIssueRequest) obj; if (hasIssue() != other.hasIssue()) return false; if (hasIssue()) { - if (!getIssue() - .equals(other.getIssue())) return false; + if (!getIssue().equals(other.getIssue())) return false; } if (hasUpdateMask() != other.hasUpdateMask()) return false; if (hasUpdateMask()) { - if (!getUpdateMask() - .equals(other.getUpdateMask())) return false; + if (!getUpdateMask().equals(other.getUpdateMask())) return false; } if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -210,129 +251,136 @@ public int hashCode() { } public static com.google.cloud.contactcenterinsights.v1.UpdateIssueRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.contactcenterinsights.v1.UpdateIssueRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.contactcenterinsights.v1.UpdateIssueRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.contactcenterinsights.v1.UpdateIssueRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.contactcenterinsights.v1.UpdateIssueRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.contactcenterinsights.v1.UpdateIssueRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.contactcenterinsights.v1.UpdateIssueRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.contactcenterinsights.v1.UpdateIssueRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.contactcenterinsights.v1.UpdateIssueRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.contactcenterinsights.v1.UpdateIssueRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.contactcenterinsights.v1.UpdateIssueRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.contactcenterinsights.v1.UpdateIssueRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.contactcenterinsights.v1.UpdateIssueRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.contactcenterinsights.v1.UpdateIssueRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.contactcenterinsights.v1.UpdateIssueRequest prototype) { + + public static Builder newBuilder( + com.google.cloud.contactcenterinsights.v1.UpdateIssueRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * The request to update an issue.
    * 
* * Protobuf type {@code google.cloud.contactcenterinsights.v1.UpdateIssueRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.contactcenterinsights.v1.UpdateIssueRequest) com.google.cloud.contactcenterinsights.v1.UpdateIssueRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto.internal_static_google_cloud_contactcenterinsights_v1_UpdateIssueRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto + .internal_static_google_cloud_contactcenterinsights_v1_UpdateIssueRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto.internal_static_google_cloud_contactcenterinsights_v1_UpdateIssueRequest_fieldAccessorTable + return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto + .internal_static_google_cloud_contactcenterinsights_v1_UpdateIssueRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.contactcenterinsights.v1.UpdateIssueRequest.class, com.google.cloud.contactcenterinsights.v1.UpdateIssueRequest.Builder.class); + com.google.cloud.contactcenterinsights.v1.UpdateIssueRequest.class, + com.google.cloud.contactcenterinsights.v1.UpdateIssueRequest.Builder.class); } // Construct using com.google.cloud.contactcenterinsights.v1.UpdateIssueRequest.newBuilder() - private Builder() { + private Builder() {} - } - - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -351,13 +399,14 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto.internal_static_google_cloud_contactcenterinsights_v1_UpdateIssueRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto + .internal_static_google_cloud_contactcenterinsights_v1_UpdateIssueRequest_descriptor; } @java.lang.Override - public com.google.cloud.contactcenterinsights.v1.UpdateIssueRequest getDefaultInstanceForType() { + public com.google.cloud.contactcenterinsights.v1.UpdateIssueRequest + getDefaultInstanceForType() { return com.google.cloud.contactcenterinsights.v1.UpdateIssueRequest.getDefaultInstance(); } @@ -372,23 +421,23 @@ public com.google.cloud.contactcenterinsights.v1.UpdateIssueRequest build() { @java.lang.Override public com.google.cloud.contactcenterinsights.v1.UpdateIssueRequest buildPartial() { - com.google.cloud.contactcenterinsights.v1.UpdateIssueRequest result = new com.google.cloud.contactcenterinsights.v1.UpdateIssueRequest(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.cloud.contactcenterinsights.v1.UpdateIssueRequest result = + new com.google.cloud.contactcenterinsights.v1.UpdateIssueRequest(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } - private void buildPartial0(com.google.cloud.contactcenterinsights.v1.UpdateIssueRequest result) { + private void buildPartial0( + com.google.cloud.contactcenterinsights.v1.UpdateIssueRequest result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { - result.issue_ = issueBuilder_ == null - ? issue_ - : issueBuilder_.build(); + result.issue_ = issueBuilder_ == null ? issue_ : issueBuilder_.build(); } if (((from_bitField0_ & 0x00000002) != 0)) { - result.updateMask_ = updateMaskBuilder_ == null - ? updateMask_ - : updateMaskBuilder_.build(); + result.updateMask_ = updateMaskBuilder_ == null ? updateMask_ : updateMaskBuilder_.build(); } } @@ -396,38 +445,39 @@ private void buildPartial0(com.google.cloud.contactcenterinsights.v1.UpdateIssue public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.contactcenterinsights.v1.UpdateIssueRequest) { - return mergeFrom((com.google.cloud.contactcenterinsights.v1.UpdateIssueRequest)other); + return mergeFrom((com.google.cloud.contactcenterinsights.v1.UpdateIssueRequest) other); } else { super.mergeFrom(other); return this; @@ -435,7 +485,9 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.contactcenterinsights.v1.UpdateIssueRequest other) { - if (other == com.google.cloud.contactcenterinsights.v1.UpdateIssueRequest.getDefaultInstance()) return this; + if (other + == com.google.cloud.contactcenterinsights.v1.UpdateIssueRequest.getDefaultInstance()) + return this; if (other.hasIssue()) { mergeIssue(other.getIssue()); } @@ -468,26 +520,25 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - input.readMessage( - getIssueFieldBuilder().getBuilder(), - extensionRegistry); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: { - input.readMessage( - getUpdateMaskFieldBuilder().getBuilder(), - extensionRegistry); - bitField0_ |= 0x00000002; - break; - } // case 18 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + input.readMessage(getIssueFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: + { + input.readMessage(getUpdateMaskFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000002; + break; + } // case 18 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -497,43 +548,63 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private com.google.cloud.contactcenterinsights.v1.Issue issue_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.contactcenterinsights.v1.Issue, com.google.cloud.contactcenterinsights.v1.Issue.Builder, com.google.cloud.contactcenterinsights.v1.IssueOrBuilder> issueBuilder_; + com.google.cloud.contactcenterinsights.v1.Issue, + com.google.cloud.contactcenterinsights.v1.Issue.Builder, + com.google.cloud.contactcenterinsights.v1.IssueOrBuilder> + issueBuilder_; /** + * + * *
      * Required. The new values for the issue.
      * 
* - * .google.cloud.contactcenterinsights.v1.Issue issue = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.contactcenterinsights.v1.Issue issue = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the issue field is set. */ public boolean hasIssue() { return ((bitField0_ & 0x00000001) != 0); } /** + * + * *
      * Required. The new values for the issue.
      * 
* - * .google.cloud.contactcenterinsights.v1.Issue issue = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.contactcenterinsights.v1.Issue issue = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The issue. */ public com.google.cloud.contactcenterinsights.v1.Issue getIssue() { if (issueBuilder_ == null) { - return issue_ == null ? com.google.cloud.contactcenterinsights.v1.Issue.getDefaultInstance() : issue_; + return issue_ == null + ? com.google.cloud.contactcenterinsights.v1.Issue.getDefaultInstance() + : issue_; } else { return issueBuilder_.getMessage(); } } /** + * + * *
      * Required. The new values for the issue.
      * 
* - * .google.cloud.contactcenterinsights.v1.Issue issue = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.contactcenterinsights.v1.Issue issue = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder setIssue(com.google.cloud.contactcenterinsights.v1.Issue value) { if (issueBuilder_ == null) { @@ -549,11 +620,15 @@ public Builder setIssue(com.google.cloud.contactcenterinsights.v1.Issue value) { return this; } /** + * + * *
      * Required. The new values for the issue.
      * 
* - * .google.cloud.contactcenterinsights.v1.Issue issue = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.contactcenterinsights.v1.Issue issue = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder setIssue( com.google.cloud.contactcenterinsights.v1.Issue.Builder builderForValue) { @@ -567,17 +642,21 @@ public Builder setIssue( return this; } /** + * + * *
      * Required. The new values for the issue.
      * 
* - * .google.cloud.contactcenterinsights.v1.Issue issue = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.contactcenterinsights.v1.Issue issue = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder mergeIssue(com.google.cloud.contactcenterinsights.v1.Issue value) { if (issueBuilder_ == null) { - if (((bitField0_ & 0x00000001) != 0) && - issue_ != null && - issue_ != com.google.cloud.contactcenterinsights.v1.Issue.getDefaultInstance()) { + if (((bitField0_ & 0x00000001) != 0) + && issue_ != null + && issue_ != com.google.cloud.contactcenterinsights.v1.Issue.getDefaultInstance()) { getIssueBuilder().mergeFrom(value); } else { issue_ = value; @@ -590,11 +669,15 @@ public Builder mergeIssue(com.google.cloud.contactcenterinsights.v1.Issue value) return this; } /** + * + * *
      * Required. The new values for the issue.
      * 
* - * .google.cloud.contactcenterinsights.v1.Issue issue = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.contactcenterinsights.v1.Issue issue = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder clearIssue() { bitField0_ = (bitField0_ & ~0x00000001); @@ -607,11 +690,15 @@ public Builder clearIssue() { return this; } /** + * + * *
      * Required. The new values for the issue.
      * 
* - * .google.cloud.contactcenterinsights.v1.Issue issue = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.contactcenterinsights.v1.Issue issue = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.cloud.contactcenterinsights.v1.Issue.Builder getIssueBuilder() { bitField0_ |= 0x00000001; @@ -619,36 +706,48 @@ public com.google.cloud.contactcenterinsights.v1.Issue.Builder getIssueBuilder() return getIssueFieldBuilder().getBuilder(); } /** + * + * *
      * Required. The new values for the issue.
      * 
* - * .google.cloud.contactcenterinsights.v1.Issue issue = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.contactcenterinsights.v1.Issue issue = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.cloud.contactcenterinsights.v1.IssueOrBuilder getIssueOrBuilder() { if (issueBuilder_ != null) { return issueBuilder_.getMessageOrBuilder(); } else { - return issue_ == null ? - com.google.cloud.contactcenterinsights.v1.Issue.getDefaultInstance() : issue_; + return issue_ == null + ? com.google.cloud.contactcenterinsights.v1.Issue.getDefaultInstance() + : issue_; } } /** + * + * *
      * Required. The new values for the issue.
      * 
* - * .google.cloud.contactcenterinsights.v1.Issue issue = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.contactcenterinsights.v1.Issue issue = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.contactcenterinsights.v1.Issue, com.google.cloud.contactcenterinsights.v1.Issue.Builder, com.google.cloud.contactcenterinsights.v1.IssueOrBuilder> + com.google.cloud.contactcenterinsights.v1.Issue, + com.google.cloud.contactcenterinsights.v1.Issue.Builder, + com.google.cloud.contactcenterinsights.v1.IssueOrBuilder> getIssueFieldBuilder() { if (issueBuilder_ == null) { - issueBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.contactcenterinsights.v1.Issue, com.google.cloud.contactcenterinsights.v1.Issue.Builder, com.google.cloud.contactcenterinsights.v1.IssueOrBuilder>( - getIssue(), - getParentForChildren(), - isClean()); + issueBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.contactcenterinsights.v1.Issue, + com.google.cloud.contactcenterinsights.v1.Issue.Builder, + com.google.cloud.contactcenterinsights.v1.IssueOrBuilder>( + getIssue(), getParentForChildren(), isClean()); issue_ = null; } return issueBuilder_; @@ -656,34 +755,47 @@ public com.google.cloud.contactcenterinsights.v1.IssueOrBuilder getIssueOrBuilde private com.google.protobuf.FieldMask updateMask_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.FieldMask, com.google.protobuf.FieldMask.Builder, com.google.protobuf.FieldMaskOrBuilder> updateMaskBuilder_; + com.google.protobuf.FieldMask, + com.google.protobuf.FieldMask.Builder, + com.google.protobuf.FieldMaskOrBuilder> + updateMaskBuilder_; /** + * + * *
      * The list of fields to be updated.
      * 
* * .google.protobuf.FieldMask update_mask = 2; + * * @return Whether the updateMask field is set. */ public boolean hasUpdateMask() { return ((bitField0_ & 0x00000002) != 0); } /** + * + * *
      * The list of fields to be updated.
      * 
* * .google.protobuf.FieldMask update_mask = 2; + * * @return The updateMask. */ public com.google.protobuf.FieldMask getUpdateMask() { if (updateMaskBuilder_ == null) { - return updateMask_ == null ? com.google.protobuf.FieldMask.getDefaultInstance() : updateMask_; + return updateMask_ == null + ? com.google.protobuf.FieldMask.getDefaultInstance() + : updateMask_; } else { return updateMaskBuilder_.getMessage(); } } /** + * + * *
      * The list of fields to be updated.
      * 
@@ -704,14 +816,15 @@ public Builder setUpdateMask(com.google.protobuf.FieldMask value) { return this; } /** + * + * *
      * The list of fields to be updated.
      * 
* * .google.protobuf.FieldMask update_mask = 2; */ - public Builder setUpdateMask( - com.google.protobuf.FieldMask.Builder builderForValue) { + public Builder setUpdateMask(com.google.protobuf.FieldMask.Builder builderForValue) { if (updateMaskBuilder_ == null) { updateMask_ = builderForValue.build(); } else { @@ -722,6 +835,8 @@ public Builder setUpdateMask( return this; } /** + * + * *
      * The list of fields to be updated.
      * 
@@ -730,9 +845,9 @@ public Builder setUpdateMask( */ public Builder mergeUpdateMask(com.google.protobuf.FieldMask value) { if (updateMaskBuilder_ == null) { - if (((bitField0_ & 0x00000002) != 0) && - updateMask_ != null && - updateMask_ != com.google.protobuf.FieldMask.getDefaultInstance()) { + if (((bitField0_ & 0x00000002) != 0) + && updateMask_ != null + && updateMask_ != com.google.protobuf.FieldMask.getDefaultInstance()) { getUpdateMaskBuilder().mergeFrom(value); } else { updateMask_ = value; @@ -745,6 +860,8 @@ public Builder mergeUpdateMask(com.google.protobuf.FieldMask value) { return this; } /** + * + * *
      * The list of fields to be updated.
      * 
@@ -762,6 +879,8 @@ public Builder clearUpdateMask() { return this; } /** + * + * *
      * The list of fields to be updated.
      * 
@@ -774,6 +893,8 @@ public com.google.protobuf.FieldMask.Builder getUpdateMaskBuilder() { return getUpdateMaskFieldBuilder().getBuilder(); } /** + * + * *
      * The list of fields to be updated.
      * 
@@ -784,11 +905,14 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() { if (updateMaskBuilder_ != null) { return updateMaskBuilder_.getMessageOrBuilder(); } else { - return updateMask_ == null ? - com.google.protobuf.FieldMask.getDefaultInstance() : updateMask_; + return updateMask_ == null + ? com.google.protobuf.FieldMask.getDefaultInstance() + : updateMask_; } } /** + * + * *
      * The list of fields to be updated.
      * 
@@ -796,21 +920,24 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() { * .google.protobuf.FieldMask update_mask = 2; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.FieldMask, com.google.protobuf.FieldMask.Builder, com.google.protobuf.FieldMaskOrBuilder> + com.google.protobuf.FieldMask, + com.google.protobuf.FieldMask.Builder, + com.google.protobuf.FieldMaskOrBuilder> getUpdateMaskFieldBuilder() { if (updateMaskBuilder_ == null) { - updateMaskBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.FieldMask, com.google.protobuf.FieldMask.Builder, com.google.protobuf.FieldMaskOrBuilder>( - getUpdateMask(), - getParentForChildren(), - isClean()); + updateMaskBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.FieldMask, + com.google.protobuf.FieldMask.Builder, + com.google.protobuf.FieldMaskOrBuilder>( + getUpdateMask(), getParentForChildren(), isClean()); updateMask_ = null; } return updateMaskBuilder_; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -820,12 +947,13 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.contactcenterinsights.v1.UpdateIssueRequest) } // @@protoc_insertion_point(class_scope:google.cloud.contactcenterinsights.v1.UpdateIssueRequest) - private static final com.google.cloud.contactcenterinsights.v1.UpdateIssueRequest DEFAULT_INSTANCE; + private static final com.google.cloud.contactcenterinsights.v1.UpdateIssueRequest + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.contactcenterinsights.v1.UpdateIssueRequest(); } @@ -834,27 +962,27 @@ public static com.google.cloud.contactcenterinsights.v1.UpdateIssueRequest getDe return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public UpdateIssueRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public UpdateIssueRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -869,6 +997,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.contactcenterinsights.v1.UpdateIssueRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/UpdateIssueRequestOrBuilder.java b/java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/UpdateIssueRequestOrBuilder.java similarity index 57% rename from owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/UpdateIssueRequestOrBuilder.java rename to java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/UpdateIssueRequestOrBuilder.java index b4aec1863c74..852c3ad37cc9 100644 --- a/owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/UpdateIssueRequestOrBuilder.java +++ b/java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/UpdateIssueRequestOrBuilder.java @@ -1,58 +1,96 @@ +/* + * 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. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/contactcenterinsights/v1/contact_center_insights.proto package com.google.cloud.contactcenterinsights.v1; -public interface UpdateIssueRequestOrBuilder extends +public interface UpdateIssueRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.contactcenterinsights.v1.UpdateIssueRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Required. The new values for the issue.
    * 
* - * .google.cloud.contactcenterinsights.v1.Issue issue = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.contactcenterinsights.v1.Issue issue = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the issue field is set. */ boolean hasIssue(); /** + * + * *
    * Required. The new values for the issue.
    * 
* - * .google.cloud.contactcenterinsights.v1.Issue issue = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.contactcenterinsights.v1.Issue issue = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The issue. */ com.google.cloud.contactcenterinsights.v1.Issue getIssue(); /** + * + * *
    * Required. The new values for the issue.
    * 
* - * .google.cloud.contactcenterinsights.v1.Issue issue = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.contactcenterinsights.v1.Issue issue = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ com.google.cloud.contactcenterinsights.v1.IssueOrBuilder getIssueOrBuilder(); /** + * + * *
    * The list of fields to be updated.
    * 
* * .google.protobuf.FieldMask update_mask = 2; + * * @return Whether the updateMask field is set. */ boolean hasUpdateMask(); /** + * + * *
    * The list of fields to be updated.
    * 
* * .google.protobuf.FieldMask update_mask = 2; + * * @return The updateMask. */ com.google.protobuf.FieldMask getUpdateMask(); /** + * + * *
    * The list of fields to be updated.
    * 
diff --git a/owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/UpdatePhraseMatcherRequest.java b/java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/UpdatePhraseMatcherRequest.java similarity index 60% rename from owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/UpdatePhraseMatcherRequest.java rename to java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/UpdatePhraseMatcherRequest.java index 1fff0a89525e..68e9b55cac37 100644 --- a/owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/UpdatePhraseMatcherRequest.java +++ b/java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/UpdatePhraseMatcherRequest.java @@ -1,60 +1,83 @@ +/* + * 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. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/contactcenterinsights/v1/contact_center_insights.proto package com.google.cloud.contactcenterinsights.v1; /** + * + * *
  * The request to update a phrase matcher.
  * 
* * Protobuf type {@code google.cloud.contactcenterinsights.v1.UpdatePhraseMatcherRequest} */ -public final class UpdatePhraseMatcherRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class UpdatePhraseMatcherRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.contactcenterinsights.v1.UpdatePhraseMatcherRequest) UpdatePhraseMatcherRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use UpdatePhraseMatcherRequest.newBuilder() to construct. private UpdatePhraseMatcherRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private UpdatePhraseMatcherRequest() { - } + + private UpdatePhraseMatcherRequest() {} @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new UpdatePhraseMatcherRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto.internal_static_google_cloud_contactcenterinsights_v1_UpdatePhraseMatcherRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto + .internal_static_google_cloud_contactcenterinsights_v1_UpdatePhraseMatcherRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto.internal_static_google_cloud_contactcenterinsights_v1_UpdatePhraseMatcherRequest_fieldAccessorTable + return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto + .internal_static_google_cloud_contactcenterinsights_v1_UpdatePhraseMatcherRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.contactcenterinsights.v1.UpdatePhraseMatcherRequest.class, com.google.cloud.contactcenterinsights.v1.UpdatePhraseMatcherRequest.Builder.class); + com.google.cloud.contactcenterinsights.v1.UpdatePhraseMatcherRequest.class, + com.google.cloud.contactcenterinsights.v1.UpdatePhraseMatcherRequest.Builder.class); } public static final int PHRASE_MATCHER_FIELD_NUMBER = 1; private com.google.cloud.contactcenterinsights.v1.PhraseMatcher phraseMatcher_; /** + * + * *
    * Required. The new values for the phrase matcher.
    * 
* - * .google.cloud.contactcenterinsights.v1.PhraseMatcher phrase_matcher = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.contactcenterinsights.v1.PhraseMatcher phrase_matcher = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the phraseMatcher field is set. */ @java.lang.Override @@ -62,37 +85,54 @@ public boolean hasPhraseMatcher() { return phraseMatcher_ != null; } /** + * + * *
    * Required. The new values for the phrase matcher.
    * 
* - * .google.cloud.contactcenterinsights.v1.PhraseMatcher phrase_matcher = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.contactcenterinsights.v1.PhraseMatcher phrase_matcher = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The phraseMatcher. */ @java.lang.Override public com.google.cloud.contactcenterinsights.v1.PhraseMatcher getPhraseMatcher() { - return phraseMatcher_ == null ? com.google.cloud.contactcenterinsights.v1.PhraseMatcher.getDefaultInstance() : phraseMatcher_; + return phraseMatcher_ == null + ? com.google.cloud.contactcenterinsights.v1.PhraseMatcher.getDefaultInstance() + : phraseMatcher_; } /** + * + * *
    * Required. The new values for the phrase matcher.
    * 
* - * .google.cloud.contactcenterinsights.v1.PhraseMatcher phrase_matcher = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.contactcenterinsights.v1.PhraseMatcher phrase_matcher = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ @java.lang.Override - public com.google.cloud.contactcenterinsights.v1.PhraseMatcherOrBuilder getPhraseMatcherOrBuilder() { - return phraseMatcher_ == null ? com.google.cloud.contactcenterinsights.v1.PhraseMatcher.getDefaultInstance() : phraseMatcher_; + public com.google.cloud.contactcenterinsights.v1.PhraseMatcherOrBuilder + getPhraseMatcherOrBuilder() { + return phraseMatcher_ == null + ? com.google.cloud.contactcenterinsights.v1.PhraseMatcher.getDefaultInstance() + : phraseMatcher_; } public static final int UPDATE_MASK_FIELD_NUMBER = 2; private com.google.protobuf.FieldMask updateMask_; /** + * + * *
    * The list of fields to be updated.
    * 
* * .google.protobuf.FieldMask update_mask = 2; + * * @return Whether the updateMask field is set. */ @java.lang.Override @@ -100,11 +140,14 @@ public boolean hasUpdateMask() { return updateMask_ != null; } /** + * + * *
    * The list of fields to be updated.
    * 
* * .google.protobuf.FieldMask update_mask = 2; + * * @return The updateMask. */ @java.lang.Override @@ -112,6 +155,8 @@ public com.google.protobuf.FieldMask getUpdateMask() { return updateMask_ == null ? com.google.protobuf.FieldMask.getDefaultInstance() : updateMask_; } /** + * + * *
    * The list of fields to be updated.
    * 
@@ -124,6 +169,7 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -135,8 +181,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (phraseMatcher_ != null) { output.writeMessage(1, getPhraseMatcher()); } @@ -153,12 +198,10 @@ public int getSerializedSize() { size = 0; if (phraseMatcher_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, getPhraseMatcher()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getPhraseMatcher()); } if (updateMask_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, getUpdateMask()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getUpdateMask()); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -168,22 +211,21 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.contactcenterinsights.v1.UpdatePhraseMatcherRequest)) { return super.equals(obj); } - com.google.cloud.contactcenterinsights.v1.UpdatePhraseMatcherRequest other = (com.google.cloud.contactcenterinsights.v1.UpdatePhraseMatcherRequest) obj; + com.google.cloud.contactcenterinsights.v1.UpdatePhraseMatcherRequest other = + (com.google.cloud.contactcenterinsights.v1.UpdatePhraseMatcherRequest) obj; if (hasPhraseMatcher() != other.hasPhraseMatcher()) return false; if (hasPhraseMatcher()) { - if (!getPhraseMatcher() - .equals(other.getPhraseMatcher())) return false; + if (!getPhraseMatcher().equals(other.getPhraseMatcher())) return false; } if (hasUpdateMask() != other.hasUpdateMask()) return false; if (hasUpdateMask()) { - if (!getUpdateMask() - .equals(other.getUpdateMask())) return false; + if (!getUpdateMask().equals(other.getUpdateMask())) return false; } if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -210,129 +252,138 @@ public int hashCode() { } public static com.google.cloud.contactcenterinsights.v1.UpdatePhraseMatcherRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.contactcenterinsights.v1.UpdatePhraseMatcherRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.contactcenterinsights.v1.UpdatePhraseMatcherRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.contactcenterinsights.v1.UpdatePhraseMatcherRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.contactcenterinsights.v1.UpdatePhraseMatcherRequest parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.contactcenterinsights.v1.UpdatePhraseMatcherRequest parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.contactcenterinsights.v1.UpdatePhraseMatcherRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.contactcenterinsights.v1.UpdatePhraseMatcherRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.contactcenterinsights.v1.UpdatePhraseMatcherRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.contactcenterinsights.v1.UpdatePhraseMatcherRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.contactcenterinsights.v1.UpdatePhraseMatcherRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.contactcenterinsights.v1.UpdatePhraseMatcherRequest + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.contactcenterinsights.v1.UpdatePhraseMatcherRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + + public static com.google.cloud.contactcenterinsights.v1.UpdatePhraseMatcherRequest + parseDelimitedFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.contactcenterinsights.v1.UpdatePhraseMatcherRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.contactcenterinsights.v1.UpdatePhraseMatcherRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.contactcenterinsights.v1.UpdatePhraseMatcherRequest prototype) { + + public static Builder newBuilder( + com.google.cloud.contactcenterinsights.v1.UpdatePhraseMatcherRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * The request to update a phrase matcher.
    * 
* * Protobuf type {@code google.cloud.contactcenterinsights.v1.UpdatePhraseMatcherRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.contactcenterinsights.v1.UpdatePhraseMatcherRequest) com.google.cloud.contactcenterinsights.v1.UpdatePhraseMatcherRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto.internal_static_google_cloud_contactcenterinsights_v1_UpdatePhraseMatcherRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto + .internal_static_google_cloud_contactcenterinsights_v1_UpdatePhraseMatcherRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto.internal_static_google_cloud_contactcenterinsights_v1_UpdatePhraseMatcherRequest_fieldAccessorTable + return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto + .internal_static_google_cloud_contactcenterinsights_v1_UpdatePhraseMatcherRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.contactcenterinsights.v1.UpdatePhraseMatcherRequest.class, com.google.cloud.contactcenterinsights.v1.UpdatePhraseMatcherRequest.Builder.class); + com.google.cloud.contactcenterinsights.v1.UpdatePhraseMatcherRequest.class, + com.google.cloud.contactcenterinsights.v1.UpdatePhraseMatcherRequest.Builder.class); } - // Construct using com.google.cloud.contactcenterinsights.v1.UpdatePhraseMatcherRequest.newBuilder() - private Builder() { + // Construct using + // com.google.cloud.contactcenterinsights.v1.UpdatePhraseMatcherRequest.newBuilder() + private Builder() {} - } - - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -351,14 +402,16 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto.internal_static_google_cloud_contactcenterinsights_v1_UpdatePhraseMatcherRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto + .internal_static_google_cloud_contactcenterinsights_v1_UpdatePhraseMatcherRequest_descriptor; } @java.lang.Override - public com.google.cloud.contactcenterinsights.v1.UpdatePhraseMatcherRequest getDefaultInstanceForType() { - return com.google.cloud.contactcenterinsights.v1.UpdatePhraseMatcherRequest.getDefaultInstance(); + public com.google.cloud.contactcenterinsights.v1.UpdatePhraseMatcherRequest + getDefaultInstanceForType() { + return com.google.cloud.contactcenterinsights.v1.UpdatePhraseMatcherRequest + .getDefaultInstance(); } @java.lang.Override @@ -372,23 +425,24 @@ public com.google.cloud.contactcenterinsights.v1.UpdatePhraseMatcherRequest buil @java.lang.Override public com.google.cloud.contactcenterinsights.v1.UpdatePhraseMatcherRequest buildPartial() { - com.google.cloud.contactcenterinsights.v1.UpdatePhraseMatcherRequest result = new com.google.cloud.contactcenterinsights.v1.UpdatePhraseMatcherRequest(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.cloud.contactcenterinsights.v1.UpdatePhraseMatcherRequest result = + new com.google.cloud.contactcenterinsights.v1.UpdatePhraseMatcherRequest(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } - private void buildPartial0(com.google.cloud.contactcenterinsights.v1.UpdatePhraseMatcherRequest result) { + private void buildPartial0( + com.google.cloud.contactcenterinsights.v1.UpdatePhraseMatcherRequest result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { - result.phraseMatcher_ = phraseMatcherBuilder_ == null - ? phraseMatcher_ - : phraseMatcherBuilder_.build(); + result.phraseMatcher_ = + phraseMatcherBuilder_ == null ? phraseMatcher_ : phraseMatcherBuilder_.build(); } if (((from_bitField0_ & 0x00000002) != 0)) { - result.updateMask_ = updateMaskBuilder_ == null - ? updateMask_ - : updateMaskBuilder_.build(); + result.updateMask_ = updateMaskBuilder_ == null ? updateMask_ : updateMaskBuilder_.build(); } } @@ -396,46 +450,51 @@ private void buildPartial0(com.google.cloud.contactcenterinsights.v1.UpdatePhras public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.contactcenterinsights.v1.UpdatePhraseMatcherRequest) { - return mergeFrom((com.google.cloud.contactcenterinsights.v1.UpdatePhraseMatcherRequest)other); + return mergeFrom( + (com.google.cloud.contactcenterinsights.v1.UpdatePhraseMatcherRequest) other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.google.cloud.contactcenterinsights.v1.UpdatePhraseMatcherRequest other) { - if (other == com.google.cloud.contactcenterinsights.v1.UpdatePhraseMatcherRequest.getDefaultInstance()) return this; + public Builder mergeFrom( + com.google.cloud.contactcenterinsights.v1.UpdatePhraseMatcherRequest other) { + if (other + == com.google.cloud.contactcenterinsights.v1.UpdatePhraseMatcherRequest + .getDefaultInstance()) return this; if (other.hasPhraseMatcher()) { mergePhraseMatcher(other.getPhraseMatcher()); } @@ -468,26 +527,25 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - input.readMessage( - getPhraseMatcherFieldBuilder().getBuilder(), - extensionRegistry); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: { - input.readMessage( - getUpdateMaskFieldBuilder().getBuilder(), - extensionRegistry); - bitField0_ |= 0x00000002; - break; - } // case 18 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + input.readMessage(getPhraseMatcherFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: + { + input.readMessage(getUpdateMaskFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000002; + break; + } // case 18 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -497,43 +555,63 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private com.google.cloud.contactcenterinsights.v1.PhraseMatcher phraseMatcher_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.contactcenterinsights.v1.PhraseMatcher, com.google.cloud.contactcenterinsights.v1.PhraseMatcher.Builder, com.google.cloud.contactcenterinsights.v1.PhraseMatcherOrBuilder> phraseMatcherBuilder_; + com.google.cloud.contactcenterinsights.v1.PhraseMatcher, + com.google.cloud.contactcenterinsights.v1.PhraseMatcher.Builder, + com.google.cloud.contactcenterinsights.v1.PhraseMatcherOrBuilder> + phraseMatcherBuilder_; /** + * + * *
      * Required. The new values for the phrase matcher.
      * 
* - * .google.cloud.contactcenterinsights.v1.PhraseMatcher phrase_matcher = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.contactcenterinsights.v1.PhraseMatcher phrase_matcher = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the phraseMatcher field is set. */ public boolean hasPhraseMatcher() { return ((bitField0_ & 0x00000001) != 0); } /** + * + * *
      * Required. The new values for the phrase matcher.
      * 
* - * .google.cloud.contactcenterinsights.v1.PhraseMatcher phrase_matcher = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.contactcenterinsights.v1.PhraseMatcher phrase_matcher = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The phraseMatcher. */ public com.google.cloud.contactcenterinsights.v1.PhraseMatcher getPhraseMatcher() { if (phraseMatcherBuilder_ == null) { - return phraseMatcher_ == null ? com.google.cloud.contactcenterinsights.v1.PhraseMatcher.getDefaultInstance() : phraseMatcher_; + return phraseMatcher_ == null + ? com.google.cloud.contactcenterinsights.v1.PhraseMatcher.getDefaultInstance() + : phraseMatcher_; } else { return phraseMatcherBuilder_.getMessage(); } } /** + * + * *
      * Required. The new values for the phrase matcher.
      * 
* - * .google.cloud.contactcenterinsights.v1.PhraseMatcher phrase_matcher = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.contactcenterinsights.v1.PhraseMatcher phrase_matcher = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder setPhraseMatcher(com.google.cloud.contactcenterinsights.v1.PhraseMatcher value) { if (phraseMatcherBuilder_ == null) { @@ -549,11 +627,15 @@ public Builder setPhraseMatcher(com.google.cloud.contactcenterinsights.v1.Phrase return this; } /** + * + * *
      * Required. The new values for the phrase matcher.
      * 
* - * .google.cloud.contactcenterinsights.v1.PhraseMatcher phrase_matcher = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.contactcenterinsights.v1.PhraseMatcher phrase_matcher = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder setPhraseMatcher( com.google.cloud.contactcenterinsights.v1.PhraseMatcher.Builder builderForValue) { @@ -567,17 +649,23 @@ public Builder setPhraseMatcher( return this; } /** + * + * *
      * Required. The new values for the phrase matcher.
      * 
* - * .google.cloud.contactcenterinsights.v1.PhraseMatcher phrase_matcher = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.contactcenterinsights.v1.PhraseMatcher phrase_matcher = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ - public Builder mergePhraseMatcher(com.google.cloud.contactcenterinsights.v1.PhraseMatcher value) { + public Builder mergePhraseMatcher( + com.google.cloud.contactcenterinsights.v1.PhraseMatcher value) { if (phraseMatcherBuilder_ == null) { - if (((bitField0_ & 0x00000001) != 0) && - phraseMatcher_ != null && - phraseMatcher_ != com.google.cloud.contactcenterinsights.v1.PhraseMatcher.getDefaultInstance()) { + if (((bitField0_ & 0x00000001) != 0) + && phraseMatcher_ != null + && phraseMatcher_ + != com.google.cloud.contactcenterinsights.v1.PhraseMatcher.getDefaultInstance()) { getPhraseMatcherBuilder().mergeFrom(value); } else { phraseMatcher_ = value; @@ -590,11 +678,15 @@ public Builder mergePhraseMatcher(com.google.cloud.contactcenterinsights.v1.Phra return this; } /** + * + * *
      * Required. The new values for the phrase matcher.
      * 
* - * .google.cloud.contactcenterinsights.v1.PhraseMatcher phrase_matcher = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.contactcenterinsights.v1.PhraseMatcher phrase_matcher = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder clearPhraseMatcher() { bitField0_ = (bitField0_ & ~0x00000001); @@ -607,48 +699,66 @@ public Builder clearPhraseMatcher() { return this; } /** + * + * *
      * Required. The new values for the phrase matcher.
      * 
* - * .google.cloud.contactcenterinsights.v1.PhraseMatcher phrase_matcher = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.contactcenterinsights.v1.PhraseMatcher phrase_matcher = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ - public com.google.cloud.contactcenterinsights.v1.PhraseMatcher.Builder getPhraseMatcherBuilder() { + public com.google.cloud.contactcenterinsights.v1.PhraseMatcher.Builder + getPhraseMatcherBuilder() { bitField0_ |= 0x00000001; onChanged(); return getPhraseMatcherFieldBuilder().getBuilder(); } /** + * + * *
      * Required. The new values for the phrase matcher.
      * 
* - * .google.cloud.contactcenterinsights.v1.PhraseMatcher phrase_matcher = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.contactcenterinsights.v1.PhraseMatcher phrase_matcher = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ - public com.google.cloud.contactcenterinsights.v1.PhraseMatcherOrBuilder getPhraseMatcherOrBuilder() { + public com.google.cloud.contactcenterinsights.v1.PhraseMatcherOrBuilder + getPhraseMatcherOrBuilder() { if (phraseMatcherBuilder_ != null) { return phraseMatcherBuilder_.getMessageOrBuilder(); } else { - return phraseMatcher_ == null ? - com.google.cloud.contactcenterinsights.v1.PhraseMatcher.getDefaultInstance() : phraseMatcher_; + return phraseMatcher_ == null + ? com.google.cloud.contactcenterinsights.v1.PhraseMatcher.getDefaultInstance() + : phraseMatcher_; } } /** + * + * *
      * Required. The new values for the phrase matcher.
      * 
* - * .google.cloud.contactcenterinsights.v1.PhraseMatcher phrase_matcher = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.contactcenterinsights.v1.PhraseMatcher phrase_matcher = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.contactcenterinsights.v1.PhraseMatcher, com.google.cloud.contactcenterinsights.v1.PhraseMatcher.Builder, com.google.cloud.contactcenterinsights.v1.PhraseMatcherOrBuilder> + com.google.cloud.contactcenterinsights.v1.PhraseMatcher, + com.google.cloud.contactcenterinsights.v1.PhraseMatcher.Builder, + com.google.cloud.contactcenterinsights.v1.PhraseMatcherOrBuilder> getPhraseMatcherFieldBuilder() { if (phraseMatcherBuilder_ == null) { - phraseMatcherBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.contactcenterinsights.v1.PhraseMatcher, com.google.cloud.contactcenterinsights.v1.PhraseMatcher.Builder, com.google.cloud.contactcenterinsights.v1.PhraseMatcherOrBuilder>( - getPhraseMatcher(), - getParentForChildren(), - isClean()); + phraseMatcherBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.contactcenterinsights.v1.PhraseMatcher, + com.google.cloud.contactcenterinsights.v1.PhraseMatcher.Builder, + com.google.cloud.contactcenterinsights.v1.PhraseMatcherOrBuilder>( + getPhraseMatcher(), getParentForChildren(), isClean()); phraseMatcher_ = null; } return phraseMatcherBuilder_; @@ -656,34 +766,47 @@ public com.google.cloud.contactcenterinsights.v1.PhraseMatcherOrBuilder getPhras private com.google.protobuf.FieldMask updateMask_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.FieldMask, com.google.protobuf.FieldMask.Builder, com.google.protobuf.FieldMaskOrBuilder> updateMaskBuilder_; + com.google.protobuf.FieldMask, + com.google.protobuf.FieldMask.Builder, + com.google.protobuf.FieldMaskOrBuilder> + updateMaskBuilder_; /** + * + * *
      * The list of fields to be updated.
      * 
* * .google.protobuf.FieldMask update_mask = 2; + * * @return Whether the updateMask field is set. */ public boolean hasUpdateMask() { return ((bitField0_ & 0x00000002) != 0); } /** + * + * *
      * The list of fields to be updated.
      * 
* * .google.protobuf.FieldMask update_mask = 2; + * * @return The updateMask. */ public com.google.protobuf.FieldMask getUpdateMask() { if (updateMaskBuilder_ == null) { - return updateMask_ == null ? com.google.protobuf.FieldMask.getDefaultInstance() : updateMask_; + return updateMask_ == null + ? com.google.protobuf.FieldMask.getDefaultInstance() + : updateMask_; } else { return updateMaskBuilder_.getMessage(); } } /** + * + * *
      * The list of fields to be updated.
      * 
@@ -704,14 +827,15 @@ public Builder setUpdateMask(com.google.protobuf.FieldMask value) { return this; } /** + * + * *
      * The list of fields to be updated.
      * 
* * .google.protobuf.FieldMask update_mask = 2; */ - public Builder setUpdateMask( - com.google.protobuf.FieldMask.Builder builderForValue) { + public Builder setUpdateMask(com.google.protobuf.FieldMask.Builder builderForValue) { if (updateMaskBuilder_ == null) { updateMask_ = builderForValue.build(); } else { @@ -722,6 +846,8 @@ public Builder setUpdateMask( return this; } /** + * + * *
      * The list of fields to be updated.
      * 
@@ -730,9 +856,9 @@ public Builder setUpdateMask( */ public Builder mergeUpdateMask(com.google.protobuf.FieldMask value) { if (updateMaskBuilder_ == null) { - if (((bitField0_ & 0x00000002) != 0) && - updateMask_ != null && - updateMask_ != com.google.protobuf.FieldMask.getDefaultInstance()) { + if (((bitField0_ & 0x00000002) != 0) + && updateMask_ != null + && updateMask_ != com.google.protobuf.FieldMask.getDefaultInstance()) { getUpdateMaskBuilder().mergeFrom(value); } else { updateMask_ = value; @@ -745,6 +871,8 @@ public Builder mergeUpdateMask(com.google.protobuf.FieldMask value) { return this; } /** + * + * *
      * The list of fields to be updated.
      * 
@@ -762,6 +890,8 @@ public Builder clearUpdateMask() { return this; } /** + * + * *
      * The list of fields to be updated.
      * 
@@ -774,6 +904,8 @@ public com.google.protobuf.FieldMask.Builder getUpdateMaskBuilder() { return getUpdateMaskFieldBuilder().getBuilder(); } /** + * + * *
      * The list of fields to be updated.
      * 
@@ -784,11 +916,14 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() { if (updateMaskBuilder_ != null) { return updateMaskBuilder_.getMessageOrBuilder(); } else { - return updateMask_ == null ? - com.google.protobuf.FieldMask.getDefaultInstance() : updateMask_; + return updateMask_ == null + ? com.google.protobuf.FieldMask.getDefaultInstance() + : updateMask_; } } /** + * + * *
      * The list of fields to be updated.
      * 
@@ -796,21 +931,24 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() { * .google.protobuf.FieldMask update_mask = 2; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.FieldMask, com.google.protobuf.FieldMask.Builder, com.google.protobuf.FieldMaskOrBuilder> + com.google.protobuf.FieldMask, + com.google.protobuf.FieldMask.Builder, + com.google.protobuf.FieldMaskOrBuilder> getUpdateMaskFieldBuilder() { if (updateMaskBuilder_ == null) { - updateMaskBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.FieldMask, com.google.protobuf.FieldMask.Builder, com.google.protobuf.FieldMaskOrBuilder>( - getUpdateMask(), - getParentForChildren(), - isClean()); + updateMaskBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.FieldMask, + com.google.protobuf.FieldMask.Builder, + com.google.protobuf.FieldMaskOrBuilder>( + getUpdateMask(), getParentForChildren(), isClean()); updateMask_ = null; } return updateMaskBuilder_; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -820,41 +958,43 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.contactcenterinsights.v1.UpdatePhraseMatcherRequest) } // @@protoc_insertion_point(class_scope:google.cloud.contactcenterinsights.v1.UpdatePhraseMatcherRequest) - private static final com.google.cloud.contactcenterinsights.v1.UpdatePhraseMatcherRequest DEFAULT_INSTANCE; + private static final com.google.cloud.contactcenterinsights.v1.UpdatePhraseMatcherRequest + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.contactcenterinsights.v1.UpdatePhraseMatcherRequest(); } - public static com.google.cloud.contactcenterinsights.v1.UpdatePhraseMatcherRequest getDefaultInstance() { + public static com.google.cloud.contactcenterinsights.v1.UpdatePhraseMatcherRequest + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public UpdatePhraseMatcherRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public UpdatePhraseMatcherRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -866,9 +1006,8 @@ public com.google.protobuf.Parser getParserForType() } @java.lang.Override - public com.google.cloud.contactcenterinsights.v1.UpdatePhraseMatcherRequest getDefaultInstanceForType() { + public com.google.cloud.contactcenterinsights.v1.UpdatePhraseMatcherRequest + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/UpdatePhraseMatcherRequestOrBuilder.java b/java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/UpdatePhraseMatcherRequestOrBuilder.java similarity index 57% rename from owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/UpdatePhraseMatcherRequestOrBuilder.java rename to java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/UpdatePhraseMatcherRequestOrBuilder.java index 2652a6695c0c..dba885b17823 100644 --- a/owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/UpdatePhraseMatcherRequestOrBuilder.java +++ b/java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/UpdatePhraseMatcherRequestOrBuilder.java @@ -1,58 +1,96 @@ +/* + * 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. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/contactcenterinsights/v1/contact_center_insights.proto package com.google.cloud.contactcenterinsights.v1; -public interface UpdatePhraseMatcherRequestOrBuilder extends +public interface UpdatePhraseMatcherRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.contactcenterinsights.v1.UpdatePhraseMatcherRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Required. The new values for the phrase matcher.
    * 
* - * .google.cloud.contactcenterinsights.v1.PhraseMatcher phrase_matcher = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.contactcenterinsights.v1.PhraseMatcher phrase_matcher = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the phraseMatcher field is set. */ boolean hasPhraseMatcher(); /** + * + * *
    * Required. The new values for the phrase matcher.
    * 
* - * .google.cloud.contactcenterinsights.v1.PhraseMatcher phrase_matcher = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.contactcenterinsights.v1.PhraseMatcher phrase_matcher = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The phraseMatcher. */ com.google.cloud.contactcenterinsights.v1.PhraseMatcher getPhraseMatcher(); /** + * + * *
    * Required. The new values for the phrase matcher.
    * 
* - * .google.cloud.contactcenterinsights.v1.PhraseMatcher phrase_matcher = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.contactcenterinsights.v1.PhraseMatcher phrase_matcher = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ com.google.cloud.contactcenterinsights.v1.PhraseMatcherOrBuilder getPhraseMatcherOrBuilder(); /** + * + * *
    * The list of fields to be updated.
    * 
* * .google.protobuf.FieldMask update_mask = 2; + * * @return Whether the updateMask field is set. */ boolean hasUpdateMask(); /** + * + * *
    * The list of fields to be updated.
    * 
* * .google.protobuf.FieldMask update_mask = 2; + * * @return The updateMask. */ com.google.protobuf.FieldMask getUpdateMask(); /** + * + * *
    * The list of fields to be updated.
    * 
diff --git a/owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/UpdateSettingsRequest.java b/java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/UpdateSettingsRequest.java similarity index 60% rename from owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/UpdateSettingsRequest.java rename to java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/UpdateSettingsRequest.java index 43df985d0173..1e95d9c7f50d 100644 --- a/owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/UpdateSettingsRequest.java +++ b/java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/UpdateSettingsRequest.java @@ -1,60 +1,83 @@ +/* + * 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. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/contactcenterinsights/v1/contact_center_insights.proto package com.google.cloud.contactcenterinsights.v1; /** + * + * *
  * The request to update project-level settings.
  * 
* * Protobuf type {@code google.cloud.contactcenterinsights.v1.UpdateSettingsRequest} */ -public final class UpdateSettingsRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class UpdateSettingsRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.contactcenterinsights.v1.UpdateSettingsRequest) UpdateSettingsRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use UpdateSettingsRequest.newBuilder() to construct. private UpdateSettingsRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private UpdateSettingsRequest() { - } + + private UpdateSettingsRequest() {} @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new UpdateSettingsRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto.internal_static_google_cloud_contactcenterinsights_v1_UpdateSettingsRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto + .internal_static_google_cloud_contactcenterinsights_v1_UpdateSettingsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto.internal_static_google_cloud_contactcenterinsights_v1_UpdateSettingsRequest_fieldAccessorTable + return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto + .internal_static_google_cloud_contactcenterinsights_v1_UpdateSettingsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.contactcenterinsights.v1.UpdateSettingsRequest.class, com.google.cloud.contactcenterinsights.v1.UpdateSettingsRequest.Builder.class); + com.google.cloud.contactcenterinsights.v1.UpdateSettingsRequest.class, + com.google.cloud.contactcenterinsights.v1.UpdateSettingsRequest.Builder.class); } public static final int SETTINGS_FIELD_NUMBER = 1; private com.google.cloud.contactcenterinsights.v1.Settings settings_; /** + * + * *
    * Required. The new settings values.
    * 
* - * .google.cloud.contactcenterinsights.v1.Settings settings = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.contactcenterinsights.v1.Settings settings = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the settings field is set. */ @java.lang.Override @@ -62,37 +85,54 @@ public boolean hasSettings() { return settings_ != null; } /** + * + * *
    * Required. The new settings values.
    * 
* - * .google.cloud.contactcenterinsights.v1.Settings settings = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.contactcenterinsights.v1.Settings settings = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The settings. */ @java.lang.Override public com.google.cloud.contactcenterinsights.v1.Settings getSettings() { - return settings_ == null ? com.google.cloud.contactcenterinsights.v1.Settings.getDefaultInstance() : settings_; + return settings_ == null + ? com.google.cloud.contactcenterinsights.v1.Settings.getDefaultInstance() + : settings_; } /** + * + * *
    * Required. The new settings values.
    * 
* - * .google.cloud.contactcenterinsights.v1.Settings settings = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.contactcenterinsights.v1.Settings settings = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ @java.lang.Override public com.google.cloud.contactcenterinsights.v1.SettingsOrBuilder getSettingsOrBuilder() { - return settings_ == null ? com.google.cloud.contactcenterinsights.v1.Settings.getDefaultInstance() : settings_; + return settings_ == null + ? com.google.cloud.contactcenterinsights.v1.Settings.getDefaultInstance() + : settings_; } public static final int UPDATE_MASK_FIELD_NUMBER = 2; private com.google.protobuf.FieldMask updateMask_; /** + * + * *
    * Required. The list of fields to be updated.
    * 
* - * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the updateMask field is set. */ @java.lang.Override @@ -100,11 +140,15 @@ public boolean hasUpdateMask() { return updateMask_ != null; } /** + * + * *
    * Required. The list of fields to be updated.
    * 
* - * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The updateMask. */ @java.lang.Override @@ -112,11 +156,14 @@ public com.google.protobuf.FieldMask getUpdateMask() { return updateMask_ == null ? com.google.protobuf.FieldMask.getDefaultInstance() : updateMask_; } /** + * + * *
    * Required. The list of fields to be updated.
    * 
* - * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ @java.lang.Override public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() { @@ -124,6 +171,7 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -135,8 +183,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (settings_ != null) { output.writeMessage(1, getSettings()); } @@ -153,12 +200,10 @@ public int getSerializedSize() { size = 0; if (settings_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, getSettings()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getSettings()); } if (updateMask_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, getUpdateMask()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getUpdateMask()); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -168,22 +213,21 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.contactcenterinsights.v1.UpdateSettingsRequest)) { return super.equals(obj); } - com.google.cloud.contactcenterinsights.v1.UpdateSettingsRequest other = (com.google.cloud.contactcenterinsights.v1.UpdateSettingsRequest) obj; + com.google.cloud.contactcenterinsights.v1.UpdateSettingsRequest other = + (com.google.cloud.contactcenterinsights.v1.UpdateSettingsRequest) obj; if (hasSettings() != other.hasSettings()) return false; if (hasSettings()) { - if (!getSettings() - .equals(other.getSettings())) return false; + if (!getSettings().equals(other.getSettings())) return false; } if (hasUpdateMask() != other.hasUpdateMask()) return false; if (hasUpdateMask()) { - if (!getUpdateMask() - .equals(other.getUpdateMask())) return false; + if (!getUpdateMask().equals(other.getUpdateMask())) return false; } if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -210,129 +254,136 @@ public int hashCode() { } public static com.google.cloud.contactcenterinsights.v1.UpdateSettingsRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.contactcenterinsights.v1.UpdateSettingsRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.contactcenterinsights.v1.UpdateSettingsRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.contactcenterinsights.v1.UpdateSettingsRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.contactcenterinsights.v1.UpdateSettingsRequest parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.contactcenterinsights.v1.UpdateSettingsRequest parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.contactcenterinsights.v1.UpdateSettingsRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.contactcenterinsights.v1.UpdateSettingsRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.contactcenterinsights.v1.UpdateSettingsRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.contactcenterinsights.v1.UpdateSettingsRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.contactcenterinsights.v1.UpdateSettingsRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.contactcenterinsights.v1.UpdateSettingsRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.contactcenterinsights.v1.UpdateSettingsRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.contactcenterinsights.v1.UpdateSettingsRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.contactcenterinsights.v1.UpdateSettingsRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.contactcenterinsights.v1.UpdateSettingsRequest prototype) { + + public static Builder newBuilder( + com.google.cloud.contactcenterinsights.v1.UpdateSettingsRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * The request to update project-level settings.
    * 
* * Protobuf type {@code google.cloud.contactcenterinsights.v1.UpdateSettingsRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.contactcenterinsights.v1.UpdateSettingsRequest) com.google.cloud.contactcenterinsights.v1.UpdateSettingsRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto.internal_static_google_cloud_contactcenterinsights_v1_UpdateSettingsRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto + .internal_static_google_cloud_contactcenterinsights_v1_UpdateSettingsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto.internal_static_google_cloud_contactcenterinsights_v1_UpdateSettingsRequest_fieldAccessorTable + return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto + .internal_static_google_cloud_contactcenterinsights_v1_UpdateSettingsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.contactcenterinsights.v1.UpdateSettingsRequest.class, com.google.cloud.contactcenterinsights.v1.UpdateSettingsRequest.Builder.class); + com.google.cloud.contactcenterinsights.v1.UpdateSettingsRequest.class, + com.google.cloud.contactcenterinsights.v1.UpdateSettingsRequest.Builder.class); } // Construct using com.google.cloud.contactcenterinsights.v1.UpdateSettingsRequest.newBuilder() - private Builder() { + private Builder() {} - } - - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -351,13 +402,14 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto.internal_static_google_cloud_contactcenterinsights_v1_UpdateSettingsRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto + .internal_static_google_cloud_contactcenterinsights_v1_UpdateSettingsRequest_descriptor; } @java.lang.Override - public com.google.cloud.contactcenterinsights.v1.UpdateSettingsRequest getDefaultInstanceForType() { + public com.google.cloud.contactcenterinsights.v1.UpdateSettingsRequest + getDefaultInstanceForType() { return com.google.cloud.contactcenterinsights.v1.UpdateSettingsRequest.getDefaultInstance(); } @@ -372,23 +424,23 @@ public com.google.cloud.contactcenterinsights.v1.UpdateSettingsRequest build() { @java.lang.Override public com.google.cloud.contactcenterinsights.v1.UpdateSettingsRequest buildPartial() { - com.google.cloud.contactcenterinsights.v1.UpdateSettingsRequest result = new com.google.cloud.contactcenterinsights.v1.UpdateSettingsRequest(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.cloud.contactcenterinsights.v1.UpdateSettingsRequest result = + new com.google.cloud.contactcenterinsights.v1.UpdateSettingsRequest(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } - private void buildPartial0(com.google.cloud.contactcenterinsights.v1.UpdateSettingsRequest result) { + private void buildPartial0( + com.google.cloud.contactcenterinsights.v1.UpdateSettingsRequest result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { - result.settings_ = settingsBuilder_ == null - ? settings_ - : settingsBuilder_.build(); + result.settings_ = settingsBuilder_ == null ? settings_ : settingsBuilder_.build(); } if (((from_bitField0_ & 0x00000002) != 0)) { - result.updateMask_ = updateMaskBuilder_ == null - ? updateMask_ - : updateMaskBuilder_.build(); + result.updateMask_ = updateMaskBuilder_ == null ? updateMask_ : updateMaskBuilder_.build(); } } @@ -396,46 +448,50 @@ private void buildPartial0(com.google.cloud.contactcenterinsights.v1.UpdateSetti public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.contactcenterinsights.v1.UpdateSettingsRequest) { - return mergeFrom((com.google.cloud.contactcenterinsights.v1.UpdateSettingsRequest)other); + return mergeFrom((com.google.cloud.contactcenterinsights.v1.UpdateSettingsRequest) other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.google.cloud.contactcenterinsights.v1.UpdateSettingsRequest other) { - if (other == com.google.cloud.contactcenterinsights.v1.UpdateSettingsRequest.getDefaultInstance()) return this; + public Builder mergeFrom( + com.google.cloud.contactcenterinsights.v1.UpdateSettingsRequest other) { + if (other + == com.google.cloud.contactcenterinsights.v1.UpdateSettingsRequest.getDefaultInstance()) + return this; if (other.hasSettings()) { mergeSettings(other.getSettings()); } @@ -468,26 +524,25 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - input.readMessage( - getSettingsFieldBuilder().getBuilder(), - extensionRegistry); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: { - input.readMessage( - getUpdateMaskFieldBuilder().getBuilder(), - extensionRegistry); - bitField0_ |= 0x00000002; - break; - } // case 18 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + input.readMessage(getSettingsFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: + { + input.readMessage(getUpdateMaskFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000002; + break; + } // case 18 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -497,43 +552,63 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private com.google.cloud.contactcenterinsights.v1.Settings settings_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.contactcenterinsights.v1.Settings, com.google.cloud.contactcenterinsights.v1.Settings.Builder, com.google.cloud.contactcenterinsights.v1.SettingsOrBuilder> settingsBuilder_; + com.google.cloud.contactcenterinsights.v1.Settings, + com.google.cloud.contactcenterinsights.v1.Settings.Builder, + com.google.cloud.contactcenterinsights.v1.SettingsOrBuilder> + settingsBuilder_; /** + * + * *
      * Required. The new settings values.
      * 
* - * .google.cloud.contactcenterinsights.v1.Settings settings = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.contactcenterinsights.v1.Settings settings = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the settings field is set. */ public boolean hasSettings() { return ((bitField0_ & 0x00000001) != 0); } /** + * + * *
      * Required. The new settings values.
      * 
* - * .google.cloud.contactcenterinsights.v1.Settings settings = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.contactcenterinsights.v1.Settings settings = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The settings. */ public com.google.cloud.contactcenterinsights.v1.Settings getSettings() { if (settingsBuilder_ == null) { - return settings_ == null ? com.google.cloud.contactcenterinsights.v1.Settings.getDefaultInstance() : settings_; + return settings_ == null + ? com.google.cloud.contactcenterinsights.v1.Settings.getDefaultInstance() + : settings_; } else { return settingsBuilder_.getMessage(); } } /** + * + * *
      * Required. The new settings values.
      * 
* - * .google.cloud.contactcenterinsights.v1.Settings settings = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.contactcenterinsights.v1.Settings settings = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder setSettings(com.google.cloud.contactcenterinsights.v1.Settings value) { if (settingsBuilder_ == null) { @@ -549,11 +624,15 @@ public Builder setSettings(com.google.cloud.contactcenterinsights.v1.Settings va return this; } /** + * + * *
      * Required. The new settings values.
      * 
* - * .google.cloud.contactcenterinsights.v1.Settings settings = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.contactcenterinsights.v1.Settings settings = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder setSettings( com.google.cloud.contactcenterinsights.v1.Settings.Builder builderForValue) { @@ -567,17 +646,22 @@ public Builder setSettings( return this; } /** + * + * *
      * Required. The new settings values.
      * 
* - * .google.cloud.contactcenterinsights.v1.Settings settings = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.contactcenterinsights.v1.Settings settings = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder mergeSettings(com.google.cloud.contactcenterinsights.v1.Settings value) { if (settingsBuilder_ == null) { - if (((bitField0_ & 0x00000001) != 0) && - settings_ != null && - settings_ != com.google.cloud.contactcenterinsights.v1.Settings.getDefaultInstance()) { + if (((bitField0_ & 0x00000001) != 0) + && settings_ != null + && settings_ + != com.google.cloud.contactcenterinsights.v1.Settings.getDefaultInstance()) { getSettingsBuilder().mergeFrom(value); } else { settings_ = value; @@ -590,11 +674,15 @@ public Builder mergeSettings(com.google.cloud.contactcenterinsights.v1.Settings return this; } /** + * + * *
      * Required. The new settings values.
      * 
* - * .google.cloud.contactcenterinsights.v1.Settings settings = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.contactcenterinsights.v1.Settings settings = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder clearSettings() { bitField0_ = (bitField0_ & ~0x00000001); @@ -607,11 +695,15 @@ public Builder clearSettings() { return this; } /** + * + * *
      * Required. The new settings values.
      * 
* - * .google.cloud.contactcenterinsights.v1.Settings settings = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.contactcenterinsights.v1.Settings settings = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.cloud.contactcenterinsights.v1.Settings.Builder getSettingsBuilder() { bitField0_ |= 0x00000001; @@ -619,36 +711,48 @@ public com.google.cloud.contactcenterinsights.v1.Settings.Builder getSettingsBui return getSettingsFieldBuilder().getBuilder(); } /** + * + * *
      * Required. The new settings values.
      * 
* - * .google.cloud.contactcenterinsights.v1.Settings settings = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.contactcenterinsights.v1.Settings settings = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.cloud.contactcenterinsights.v1.SettingsOrBuilder getSettingsOrBuilder() { if (settingsBuilder_ != null) { return settingsBuilder_.getMessageOrBuilder(); } else { - return settings_ == null ? - com.google.cloud.contactcenterinsights.v1.Settings.getDefaultInstance() : settings_; + return settings_ == null + ? com.google.cloud.contactcenterinsights.v1.Settings.getDefaultInstance() + : settings_; } } /** + * + * *
      * Required. The new settings values.
      * 
* - * .google.cloud.contactcenterinsights.v1.Settings settings = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.contactcenterinsights.v1.Settings settings = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.contactcenterinsights.v1.Settings, com.google.cloud.contactcenterinsights.v1.Settings.Builder, com.google.cloud.contactcenterinsights.v1.SettingsOrBuilder> + com.google.cloud.contactcenterinsights.v1.Settings, + com.google.cloud.contactcenterinsights.v1.Settings.Builder, + com.google.cloud.contactcenterinsights.v1.SettingsOrBuilder> getSettingsFieldBuilder() { if (settingsBuilder_ == null) { - settingsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.contactcenterinsights.v1.Settings, com.google.cloud.contactcenterinsights.v1.Settings.Builder, com.google.cloud.contactcenterinsights.v1.SettingsOrBuilder>( - getSettings(), - getParentForChildren(), - isClean()); + settingsBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.contactcenterinsights.v1.Settings, + com.google.cloud.contactcenterinsights.v1.Settings.Builder, + com.google.cloud.contactcenterinsights.v1.SettingsOrBuilder>( + getSettings(), getParentForChildren(), isClean()); settings_ = null; } return settingsBuilder_; @@ -656,39 +760,55 @@ public com.google.cloud.contactcenterinsights.v1.SettingsOrBuilder getSettingsOr private com.google.protobuf.FieldMask updateMask_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.FieldMask, com.google.protobuf.FieldMask.Builder, com.google.protobuf.FieldMaskOrBuilder> updateMaskBuilder_; + com.google.protobuf.FieldMask, + com.google.protobuf.FieldMask.Builder, + com.google.protobuf.FieldMaskOrBuilder> + updateMaskBuilder_; /** + * + * *
      * Required. The list of fields to be updated.
      * 
* - * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the updateMask field is set. */ public boolean hasUpdateMask() { return ((bitField0_ & 0x00000002) != 0); } /** + * + * *
      * Required. The list of fields to be updated.
      * 
* - * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The updateMask. */ public com.google.protobuf.FieldMask getUpdateMask() { if (updateMaskBuilder_ == null) { - return updateMask_ == null ? com.google.protobuf.FieldMask.getDefaultInstance() : updateMask_; + return updateMask_ == null + ? com.google.protobuf.FieldMask.getDefaultInstance() + : updateMask_; } else { return updateMaskBuilder_.getMessage(); } } /** + * + * *
      * Required. The list of fields to be updated.
      * 
* - * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder setUpdateMask(com.google.protobuf.FieldMask value) { if (updateMaskBuilder_ == null) { @@ -704,14 +824,16 @@ public Builder setUpdateMask(com.google.protobuf.FieldMask value) { return this; } /** + * + * *
      * Required. The list of fields to be updated.
      * 
* - * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ - public Builder setUpdateMask( - com.google.protobuf.FieldMask.Builder builderForValue) { + public Builder setUpdateMask(com.google.protobuf.FieldMask.Builder builderForValue) { if (updateMaskBuilder_ == null) { updateMask_ = builderForValue.build(); } else { @@ -722,17 +844,20 @@ public Builder setUpdateMask( return this; } /** + * + * *
      * Required. The list of fields to be updated.
      * 
* - * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder mergeUpdateMask(com.google.protobuf.FieldMask value) { if (updateMaskBuilder_ == null) { - if (((bitField0_ & 0x00000002) != 0) && - updateMask_ != null && - updateMask_ != com.google.protobuf.FieldMask.getDefaultInstance()) { + if (((bitField0_ & 0x00000002) != 0) + && updateMask_ != null + && updateMask_ != com.google.protobuf.FieldMask.getDefaultInstance()) { getUpdateMaskBuilder().mergeFrom(value); } else { updateMask_ = value; @@ -745,11 +870,14 @@ public Builder mergeUpdateMask(com.google.protobuf.FieldMask value) { return this; } /** + * + * *
      * Required. The list of fields to be updated.
      * 
* - * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder clearUpdateMask() { bitField0_ = (bitField0_ & ~0x00000002); @@ -762,11 +890,14 @@ public Builder clearUpdateMask() { return this; } /** + * + * *
      * Required. The list of fields to be updated.
      * 
* - * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.protobuf.FieldMask.Builder getUpdateMaskBuilder() { bitField0_ |= 0x00000002; @@ -774,43 +905,53 @@ public com.google.protobuf.FieldMask.Builder getUpdateMaskBuilder() { return getUpdateMaskFieldBuilder().getBuilder(); } /** + * + * *
      * Required. The list of fields to be updated.
      * 
* - * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() { if (updateMaskBuilder_ != null) { return updateMaskBuilder_.getMessageOrBuilder(); } else { - return updateMask_ == null ? - com.google.protobuf.FieldMask.getDefaultInstance() : updateMask_; + return updateMask_ == null + ? com.google.protobuf.FieldMask.getDefaultInstance() + : updateMask_; } } /** + * + * *
      * Required. The list of fields to be updated.
      * 
* - * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.FieldMask, com.google.protobuf.FieldMask.Builder, com.google.protobuf.FieldMaskOrBuilder> + com.google.protobuf.FieldMask, + com.google.protobuf.FieldMask.Builder, + com.google.protobuf.FieldMaskOrBuilder> getUpdateMaskFieldBuilder() { if (updateMaskBuilder_ == null) { - updateMaskBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.FieldMask, com.google.protobuf.FieldMask.Builder, com.google.protobuf.FieldMaskOrBuilder>( - getUpdateMask(), - getParentForChildren(), - isClean()); + updateMaskBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.FieldMask, + com.google.protobuf.FieldMask.Builder, + com.google.protobuf.FieldMaskOrBuilder>( + getUpdateMask(), getParentForChildren(), isClean()); updateMask_ = null; } return updateMaskBuilder_; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -820,41 +961,43 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.contactcenterinsights.v1.UpdateSettingsRequest) } // @@protoc_insertion_point(class_scope:google.cloud.contactcenterinsights.v1.UpdateSettingsRequest) - private static final com.google.cloud.contactcenterinsights.v1.UpdateSettingsRequest DEFAULT_INSTANCE; + private static final com.google.cloud.contactcenterinsights.v1.UpdateSettingsRequest + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.contactcenterinsights.v1.UpdateSettingsRequest(); } - public static com.google.cloud.contactcenterinsights.v1.UpdateSettingsRequest getDefaultInstance() { + public static com.google.cloud.contactcenterinsights.v1.UpdateSettingsRequest + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public UpdateSettingsRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public UpdateSettingsRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -866,9 +1009,8 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.cloud.contactcenterinsights.v1.UpdateSettingsRequest getDefaultInstanceForType() { + public com.google.cloud.contactcenterinsights.v1.UpdateSettingsRequest + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/UpdateSettingsRequestOrBuilder.java b/java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/UpdateSettingsRequestOrBuilder.java similarity index 54% rename from owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/UpdateSettingsRequestOrBuilder.java rename to java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/UpdateSettingsRequestOrBuilder.java index 7d2cd48f5b65..8b040fcee1a6 100644 --- a/owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/UpdateSettingsRequestOrBuilder.java +++ b/java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/UpdateSettingsRequestOrBuilder.java @@ -1,63 +1,104 @@ +/* + * 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. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/contactcenterinsights/v1/contact_center_insights.proto package com.google.cloud.contactcenterinsights.v1; -public interface UpdateSettingsRequestOrBuilder extends +public interface UpdateSettingsRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.contactcenterinsights.v1.UpdateSettingsRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Required. The new settings values.
    * 
* - * .google.cloud.contactcenterinsights.v1.Settings settings = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.contactcenterinsights.v1.Settings settings = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the settings field is set. */ boolean hasSettings(); /** + * + * *
    * Required. The new settings values.
    * 
* - * .google.cloud.contactcenterinsights.v1.Settings settings = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.contactcenterinsights.v1.Settings settings = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The settings. */ com.google.cloud.contactcenterinsights.v1.Settings getSettings(); /** + * + * *
    * Required. The new settings values.
    * 
* - * .google.cloud.contactcenterinsights.v1.Settings settings = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.contactcenterinsights.v1.Settings settings = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ com.google.cloud.contactcenterinsights.v1.SettingsOrBuilder getSettingsOrBuilder(); /** + * + * *
    * Required. The list of fields to be updated.
    * 
* - * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the updateMask field is set. */ boolean hasUpdateMask(); /** + * + * *
    * Required. The list of fields to be updated.
    * 
* - * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The updateMask. */ com.google.protobuf.FieldMask getUpdateMask(); /** + * + * *
    * Required. The list of fields to be updated.
    * 
* - * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder(); } diff --git a/owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/UpdateViewRequest.java b/java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/UpdateViewRequest.java similarity index 63% rename from owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/UpdateViewRequest.java rename to java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/UpdateViewRequest.java index fa9e7f1d3416..a5409edc14b1 100644 --- a/owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/UpdateViewRequest.java +++ b/java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/UpdateViewRequest.java @@ -1,60 +1,83 @@ +/* + * 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. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/contactcenterinsights/v1/contact_center_insights.proto package com.google.cloud.contactcenterinsights.v1; /** + * + * *
  * The request to update a view.
  * 
* * Protobuf type {@code google.cloud.contactcenterinsights.v1.UpdateViewRequest} */ -public final class UpdateViewRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class UpdateViewRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.contactcenterinsights.v1.UpdateViewRequest) UpdateViewRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use UpdateViewRequest.newBuilder() to construct. private UpdateViewRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private UpdateViewRequest() { - } + + private UpdateViewRequest() {} @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new UpdateViewRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto.internal_static_google_cloud_contactcenterinsights_v1_UpdateViewRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto + .internal_static_google_cloud_contactcenterinsights_v1_UpdateViewRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto.internal_static_google_cloud_contactcenterinsights_v1_UpdateViewRequest_fieldAccessorTable + return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto + .internal_static_google_cloud_contactcenterinsights_v1_UpdateViewRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.contactcenterinsights.v1.UpdateViewRequest.class, com.google.cloud.contactcenterinsights.v1.UpdateViewRequest.Builder.class); + com.google.cloud.contactcenterinsights.v1.UpdateViewRequest.class, + com.google.cloud.contactcenterinsights.v1.UpdateViewRequest.Builder.class); } public static final int VIEW_FIELD_NUMBER = 1; private com.google.cloud.contactcenterinsights.v1.View view_; /** + * + * *
    * Required. The new view.
    * 
* - * .google.cloud.contactcenterinsights.v1.View view = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.contactcenterinsights.v1.View view = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the view field is set. */ @java.lang.Override @@ -62,37 +85,53 @@ public boolean hasView() { return view_ != null; } /** + * + * *
    * Required. The new view.
    * 
* - * .google.cloud.contactcenterinsights.v1.View view = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.contactcenterinsights.v1.View view = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The view. */ @java.lang.Override public com.google.cloud.contactcenterinsights.v1.View getView() { - return view_ == null ? com.google.cloud.contactcenterinsights.v1.View.getDefaultInstance() : view_; + return view_ == null + ? com.google.cloud.contactcenterinsights.v1.View.getDefaultInstance() + : view_; } /** + * + * *
    * Required. The new view.
    * 
* - * .google.cloud.contactcenterinsights.v1.View view = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.contactcenterinsights.v1.View view = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ @java.lang.Override public com.google.cloud.contactcenterinsights.v1.ViewOrBuilder getViewOrBuilder() { - return view_ == null ? com.google.cloud.contactcenterinsights.v1.View.getDefaultInstance() : view_; + return view_ == null + ? com.google.cloud.contactcenterinsights.v1.View.getDefaultInstance() + : view_; } public static final int UPDATE_MASK_FIELD_NUMBER = 2; private com.google.protobuf.FieldMask updateMask_; /** + * + * *
    * The list of fields to be updated.
    * 
* * .google.protobuf.FieldMask update_mask = 2; + * * @return Whether the updateMask field is set. */ @java.lang.Override @@ -100,11 +139,14 @@ public boolean hasUpdateMask() { return updateMask_ != null; } /** + * + * *
    * The list of fields to be updated.
    * 
* * .google.protobuf.FieldMask update_mask = 2; + * * @return The updateMask. */ @java.lang.Override @@ -112,6 +154,8 @@ public com.google.protobuf.FieldMask getUpdateMask() { return updateMask_ == null ? com.google.protobuf.FieldMask.getDefaultInstance() : updateMask_; } /** + * + * *
    * The list of fields to be updated.
    * 
@@ -124,6 +168,7 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -135,8 +180,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (view_ != null) { output.writeMessage(1, getView()); } @@ -153,12 +197,10 @@ public int getSerializedSize() { size = 0; if (view_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, getView()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getView()); } if (updateMask_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, getUpdateMask()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getUpdateMask()); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -168,22 +210,21 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.contactcenterinsights.v1.UpdateViewRequest)) { return super.equals(obj); } - com.google.cloud.contactcenterinsights.v1.UpdateViewRequest other = (com.google.cloud.contactcenterinsights.v1.UpdateViewRequest) obj; + com.google.cloud.contactcenterinsights.v1.UpdateViewRequest other = + (com.google.cloud.contactcenterinsights.v1.UpdateViewRequest) obj; if (hasView() != other.hasView()) return false; if (hasView()) { - if (!getView() - .equals(other.getView())) return false; + if (!getView().equals(other.getView())) return false; } if (hasUpdateMask() != other.hasUpdateMask()) return false; if (hasUpdateMask()) { - if (!getUpdateMask() - .equals(other.getUpdateMask())) return false; + if (!getUpdateMask().equals(other.getUpdateMask())) return false; } if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -210,129 +251,136 @@ public int hashCode() { } public static com.google.cloud.contactcenterinsights.v1.UpdateViewRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.contactcenterinsights.v1.UpdateViewRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.contactcenterinsights.v1.UpdateViewRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.contactcenterinsights.v1.UpdateViewRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.contactcenterinsights.v1.UpdateViewRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.contactcenterinsights.v1.UpdateViewRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.contactcenterinsights.v1.UpdateViewRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.contactcenterinsights.v1.UpdateViewRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.contactcenterinsights.v1.UpdateViewRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.contactcenterinsights.v1.UpdateViewRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.contactcenterinsights.v1.UpdateViewRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.contactcenterinsights.v1.UpdateViewRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.contactcenterinsights.v1.UpdateViewRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.contactcenterinsights.v1.UpdateViewRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.contactcenterinsights.v1.UpdateViewRequest prototype) { + + public static Builder newBuilder( + com.google.cloud.contactcenterinsights.v1.UpdateViewRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * The request to update a view.
    * 
* * Protobuf type {@code google.cloud.contactcenterinsights.v1.UpdateViewRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.contactcenterinsights.v1.UpdateViewRequest) com.google.cloud.contactcenterinsights.v1.UpdateViewRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto.internal_static_google_cloud_contactcenterinsights_v1_UpdateViewRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto + .internal_static_google_cloud_contactcenterinsights_v1_UpdateViewRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto.internal_static_google_cloud_contactcenterinsights_v1_UpdateViewRequest_fieldAccessorTable + return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto + .internal_static_google_cloud_contactcenterinsights_v1_UpdateViewRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.contactcenterinsights.v1.UpdateViewRequest.class, com.google.cloud.contactcenterinsights.v1.UpdateViewRequest.Builder.class); + com.google.cloud.contactcenterinsights.v1.UpdateViewRequest.class, + com.google.cloud.contactcenterinsights.v1.UpdateViewRequest.Builder.class); } // Construct using com.google.cloud.contactcenterinsights.v1.UpdateViewRequest.newBuilder() - private Builder() { + private Builder() {} - } - - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -351,9 +399,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto.internal_static_google_cloud_contactcenterinsights_v1_UpdateViewRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto + .internal_static_google_cloud_contactcenterinsights_v1_UpdateViewRequest_descriptor; } @java.lang.Override @@ -372,8 +420,11 @@ public com.google.cloud.contactcenterinsights.v1.UpdateViewRequest build() { @java.lang.Override public com.google.cloud.contactcenterinsights.v1.UpdateViewRequest buildPartial() { - com.google.cloud.contactcenterinsights.v1.UpdateViewRequest result = new com.google.cloud.contactcenterinsights.v1.UpdateViewRequest(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.cloud.contactcenterinsights.v1.UpdateViewRequest result = + new com.google.cloud.contactcenterinsights.v1.UpdateViewRequest(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } @@ -381,14 +432,10 @@ public com.google.cloud.contactcenterinsights.v1.UpdateViewRequest buildPartial( private void buildPartial0(com.google.cloud.contactcenterinsights.v1.UpdateViewRequest result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { - result.view_ = viewBuilder_ == null - ? view_ - : viewBuilder_.build(); + result.view_ = viewBuilder_ == null ? view_ : viewBuilder_.build(); } if (((from_bitField0_ & 0x00000002) != 0)) { - result.updateMask_ = updateMaskBuilder_ == null - ? updateMask_ - : updateMaskBuilder_.build(); + result.updateMask_ = updateMaskBuilder_ == null ? updateMask_ : updateMaskBuilder_.build(); } } @@ -396,38 +443,39 @@ private void buildPartial0(com.google.cloud.contactcenterinsights.v1.UpdateViewR public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.contactcenterinsights.v1.UpdateViewRequest) { - return mergeFrom((com.google.cloud.contactcenterinsights.v1.UpdateViewRequest)other); + return mergeFrom((com.google.cloud.contactcenterinsights.v1.UpdateViewRequest) other); } else { super.mergeFrom(other); return this; @@ -435,7 +483,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.contactcenterinsights.v1.UpdateViewRequest other) { - if (other == com.google.cloud.contactcenterinsights.v1.UpdateViewRequest.getDefaultInstance()) return this; + if (other == com.google.cloud.contactcenterinsights.v1.UpdateViewRequest.getDefaultInstance()) + return this; if (other.hasView()) { mergeView(other.getView()); } @@ -468,26 +517,25 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - input.readMessage( - getViewFieldBuilder().getBuilder(), - extensionRegistry); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: { - input.readMessage( - getUpdateMaskFieldBuilder().getBuilder(), - extensionRegistry); - bitField0_ |= 0x00000002; - break; - } // case 18 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + input.readMessage(getViewFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: + { + input.readMessage(getUpdateMaskFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000002; + break; + } // case 18 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -497,43 +545,63 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private com.google.cloud.contactcenterinsights.v1.View view_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.contactcenterinsights.v1.View, com.google.cloud.contactcenterinsights.v1.View.Builder, com.google.cloud.contactcenterinsights.v1.ViewOrBuilder> viewBuilder_; + com.google.cloud.contactcenterinsights.v1.View, + com.google.cloud.contactcenterinsights.v1.View.Builder, + com.google.cloud.contactcenterinsights.v1.ViewOrBuilder> + viewBuilder_; /** + * + * *
      * Required. The new view.
      * 
* - * .google.cloud.contactcenterinsights.v1.View view = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.contactcenterinsights.v1.View view = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the view field is set. */ public boolean hasView() { return ((bitField0_ & 0x00000001) != 0); } /** + * + * *
      * Required. The new view.
      * 
* - * .google.cloud.contactcenterinsights.v1.View view = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.contactcenterinsights.v1.View view = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The view. */ public com.google.cloud.contactcenterinsights.v1.View getView() { if (viewBuilder_ == null) { - return view_ == null ? com.google.cloud.contactcenterinsights.v1.View.getDefaultInstance() : view_; + return view_ == null + ? com.google.cloud.contactcenterinsights.v1.View.getDefaultInstance() + : view_; } else { return viewBuilder_.getMessage(); } } /** + * + * *
      * Required. The new view.
      * 
* - * .google.cloud.contactcenterinsights.v1.View view = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.contactcenterinsights.v1.View view = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder setView(com.google.cloud.contactcenterinsights.v1.View value) { if (viewBuilder_ == null) { @@ -549,14 +617,17 @@ public Builder setView(com.google.cloud.contactcenterinsights.v1.View value) { return this; } /** + * + * *
      * Required. The new view.
      * 
* - * .google.cloud.contactcenterinsights.v1.View view = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.contactcenterinsights.v1.View view = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ - public Builder setView( - com.google.cloud.contactcenterinsights.v1.View.Builder builderForValue) { + public Builder setView(com.google.cloud.contactcenterinsights.v1.View.Builder builderForValue) { if (viewBuilder_ == null) { view_ = builderForValue.build(); } else { @@ -567,17 +638,21 @@ public Builder setView( return this; } /** + * + * *
      * Required. The new view.
      * 
* - * .google.cloud.contactcenterinsights.v1.View view = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.contactcenterinsights.v1.View view = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder mergeView(com.google.cloud.contactcenterinsights.v1.View value) { if (viewBuilder_ == null) { - if (((bitField0_ & 0x00000001) != 0) && - view_ != null && - view_ != com.google.cloud.contactcenterinsights.v1.View.getDefaultInstance()) { + if (((bitField0_ & 0x00000001) != 0) + && view_ != null + && view_ != com.google.cloud.contactcenterinsights.v1.View.getDefaultInstance()) { getViewBuilder().mergeFrom(value); } else { view_ = value; @@ -590,11 +665,15 @@ public Builder mergeView(com.google.cloud.contactcenterinsights.v1.View value) { return this; } /** + * + * *
      * Required. The new view.
      * 
* - * .google.cloud.contactcenterinsights.v1.View view = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.contactcenterinsights.v1.View view = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder clearView() { bitField0_ = (bitField0_ & ~0x00000001); @@ -607,11 +686,15 @@ public Builder clearView() { return this; } /** + * + * *
      * Required. The new view.
      * 
* - * .google.cloud.contactcenterinsights.v1.View view = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.contactcenterinsights.v1.View view = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.cloud.contactcenterinsights.v1.View.Builder getViewBuilder() { bitField0_ |= 0x00000001; @@ -619,36 +702,48 @@ public com.google.cloud.contactcenterinsights.v1.View.Builder getViewBuilder() { return getViewFieldBuilder().getBuilder(); } /** + * + * *
      * Required. The new view.
      * 
* - * .google.cloud.contactcenterinsights.v1.View view = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.contactcenterinsights.v1.View view = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.cloud.contactcenterinsights.v1.ViewOrBuilder getViewOrBuilder() { if (viewBuilder_ != null) { return viewBuilder_.getMessageOrBuilder(); } else { - return view_ == null ? - com.google.cloud.contactcenterinsights.v1.View.getDefaultInstance() : view_; + return view_ == null + ? com.google.cloud.contactcenterinsights.v1.View.getDefaultInstance() + : view_; } } /** + * + * *
      * Required. The new view.
      * 
* - * .google.cloud.contactcenterinsights.v1.View view = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.contactcenterinsights.v1.View view = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.contactcenterinsights.v1.View, com.google.cloud.contactcenterinsights.v1.View.Builder, com.google.cloud.contactcenterinsights.v1.ViewOrBuilder> + com.google.cloud.contactcenterinsights.v1.View, + com.google.cloud.contactcenterinsights.v1.View.Builder, + com.google.cloud.contactcenterinsights.v1.ViewOrBuilder> getViewFieldBuilder() { if (viewBuilder_ == null) { - viewBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.contactcenterinsights.v1.View, com.google.cloud.contactcenterinsights.v1.View.Builder, com.google.cloud.contactcenterinsights.v1.ViewOrBuilder>( - getView(), - getParentForChildren(), - isClean()); + viewBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.contactcenterinsights.v1.View, + com.google.cloud.contactcenterinsights.v1.View.Builder, + com.google.cloud.contactcenterinsights.v1.ViewOrBuilder>( + getView(), getParentForChildren(), isClean()); view_ = null; } return viewBuilder_; @@ -656,34 +751,47 @@ public com.google.cloud.contactcenterinsights.v1.ViewOrBuilder getViewOrBuilder( private com.google.protobuf.FieldMask updateMask_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.FieldMask, com.google.protobuf.FieldMask.Builder, com.google.protobuf.FieldMaskOrBuilder> updateMaskBuilder_; + com.google.protobuf.FieldMask, + com.google.protobuf.FieldMask.Builder, + com.google.protobuf.FieldMaskOrBuilder> + updateMaskBuilder_; /** + * + * *
      * The list of fields to be updated.
      * 
* * .google.protobuf.FieldMask update_mask = 2; + * * @return Whether the updateMask field is set. */ public boolean hasUpdateMask() { return ((bitField0_ & 0x00000002) != 0); } /** + * + * *
      * The list of fields to be updated.
      * 
* * .google.protobuf.FieldMask update_mask = 2; + * * @return The updateMask. */ public com.google.protobuf.FieldMask getUpdateMask() { if (updateMaskBuilder_ == null) { - return updateMask_ == null ? com.google.protobuf.FieldMask.getDefaultInstance() : updateMask_; + return updateMask_ == null + ? com.google.protobuf.FieldMask.getDefaultInstance() + : updateMask_; } else { return updateMaskBuilder_.getMessage(); } } /** + * + * *
      * The list of fields to be updated.
      * 
@@ -704,14 +812,15 @@ public Builder setUpdateMask(com.google.protobuf.FieldMask value) { return this; } /** + * + * *
      * The list of fields to be updated.
      * 
* * .google.protobuf.FieldMask update_mask = 2; */ - public Builder setUpdateMask( - com.google.protobuf.FieldMask.Builder builderForValue) { + public Builder setUpdateMask(com.google.protobuf.FieldMask.Builder builderForValue) { if (updateMaskBuilder_ == null) { updateMask_ = builderForValue.build(); } else { @@ -722,6 +831,8 @@ public Builder setUpdateMask( return this; } /** + * + * *
      * The list of fields to be updated.
      * 
@@ -730,9 +841,9 @@ public Builder setUpdateMask( */ public Builder mergeUpdateMask(com.google.protobuf.FieldMask value) { if (updateMaskBuilder_ == null) { - if (((bitField0_ & 0x00000002) != 0) && - updateMask_ != null && - updateMask_ != com.google.protobuf.FieldMask.getDefaultInstance()) { + if (((bitField0_ & 0x00000002) != 0) + && updateMask_ != null + && updateMask_ != com.google.protobuf.FieldMask.getDefaultInstance()) { getUpdateMaskBuilder().mergeFrom(value); } else { updateMask_ = value; @@ -745,6 +856,8 @@ public Builder mergeUpdateMask(com.google.protobuf.FieldMask value) { return this; } /** + * + * *
      * The list of fields to be updated.
      * 
@@ -762,6 +875,8 @@ public Builder clearUpdateMask() { return this; } /** + * + * *
      * The list of fields to be updated.
      * 
@@ -774,6 +889,8 @@ public com.google.protobuf.FieldMask.Builder getUpdateMaskBuilder() { return getUpdateMaskFieldBuilder().getBuilder(); } /** + * + * *
      * The list of fields to be updated.
      * 
@@ -784,11 +901,14 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() { if (updateMaskBuilder_ != null) { return updateMaskBuilder_.getMessageOrBuilder(); } else { - return updateMask_ == null ? - com.google.protobuf.FieldMask.getDefaultInstance() : updateMask_; + return updateMask_ == null + ? com.google.protobuf.FieldMask.getDefaultInstance() + : updateMask_; } } /** + * + * *
      * The list of fields to be updated.
      * 
@@ -796,21 +916,24 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() { * .google.protobuf.FieldMask update_mask = 2; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.FieldMask, com.google.protobuf.FieldMask.Builder, com.google.protobuf.FieldMaskOrBuilder> + com.google.protobuf.FieldMask, + com.google.protobuf.FieldMask.Builder, + com.google.protobuf.FieldMaskOrBuilder> getUpdateMaskFieldBuilder() { if (updateMaskBuilder_ == null) { - updateMaskBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.FieldMask, com.google.protobuf.FieldMask.Builder, com.google.protobuf.FieldMaskOrBuilder>( - getUpdateMask(), - getParentForChildren(), - isClean()); + updateMaskBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.FieldMask, + com.google.protobuf.FieldMask.Builder, + com.google.protobuf.FieldMaskOrBuilder>( + getUpdateMask(), getParentForChildren(), isClean()); updateMask_ = null; } return updateMaskBuilder_; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -820,12 +943,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.contactcenterinsights.v1.UpdateViewRequest) } // @@protoc_insertion_point(class_scope:google.cloud.contactcenterinsights.v1.UpdateViewRequest) private static final com.google.cloud.contactcenterinsights.v1.UpdateViewRequest DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.contactcenterinsights.v1.UpdateViewRequest(); } @@ -834,27 +957,27 @@ public static com.google.cloud.contactcenterinsights.v1.UpdateViewRequest getDef return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public UpdateViewRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public UpdateViewRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -869,6 +992,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.contactcenterinsights.v1.UpdateViewRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/UpdateViewRequestOrBuilder.java b/java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/UpdateViewRequestOrBuilder.java similarity index 56% rename from owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/UpdateViewRequestOrBuilder.java rename to java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/UpdateViewRequestOrBuilder.java index 3491f25644a6..af93e5c99b5e 100644 --- a/owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/UpdateViewRequestOrBuilder.java +++ b/java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/UpdateViewRequestOrBuilder.java @@ -1,58 +1,96 @@ +/* + * 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. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/contactcenterinsights/v1/contact_center_insights.proto package com.google.cloud.contactcenterinsights.v1; -public interface UpdateViewRequestOrBuilder extends +public interface UpdateViewRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.contactcenterinsights.v1.UpdateViewRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Required. The new view.
    * 
* - * .google.cloud.contactcenterinsights.v1.View view = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.contactcenterinsights.v1.View view = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the view field is set. */ boolean hasView(); /** + * + * *
    * Required. The new view.
    * 
* - * .google.cloud.contactcenterinsights.v1.View view = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.contactcenterinsights.v1.View view = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The view. */ com.google.cloud.contactcenterinsights.v1.View getView(); /** + * + * *
    * Required. The new view.
    * 
* - * .google.cloud.contactcenterinsights.v1.View view = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.contactcenterinsights.v1.View view = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ com.google.cloud.contactcenterinsights.v1.ViewOrBuilder getViewOrBuilder(); /** + * + * *
    * The list of fields to be updated.
    * 
* * .google.protobuf.FieldMask update_mask = 2; + * * @return Whether the updateMask field is set. */ boolean hasUpdateMask(); /** + * + * *
    * The list of fields to be updated.
    * 
* * .google.protobuf.FieldMask update_mask = 2; + * * @return The updateMask. */ com.google.protobuf.FieldMask getUpdateMask(); /** + * + * *
    * The list of fields to be updated.
    * 
diff --git a/owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/View.java b/java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/View.java similarity index 67% rename from owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/View.java rename to java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/View.java index ea1591618482..6ca7b182946a 100644 --- a/owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/View.java +++ b/java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/View.java @@ -1,24 +1,42 @@ +/* + * 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. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/contactcenterinsights/v1/resources.proto package com.google.cloud.contactcenterinsights.v1; /** + * + * *
  * The View resource.
  * 
* * Protobuf type {@code google.cloud.contactcenterinsights.v1.View} */ -public final class View extends - com.google.protobuf.GeneratedMessageV3 implements +public final class View extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.contactcenterinsights.v1.View) ViewOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use View.newBuilder() to construct. private View(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private View() { name_ = ""; displayName_ = ""; @@ -27,33 +45,37 @@ private View() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new View(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.contactcenterinsights.v1.ResourcesProto.internal_static_google_cloud_contactcenterinsights_v1_View_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.contactcenterinsights.v1.ResourcesProto + .internal_static_google_cloud_contactcenterinsights_v1_View_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.contactcenterinsights.v1.ResourcesProto.internal_static_google_cloud_contactcenterinsights_v1_View_fieldAccessorTable + return com.google.cloud.contactcenterinsights.v1.ResourcesProto + .internal_static_google_cloud_contactcenterinsights_v1_View_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.contactcenterinsights.v1.View.class, com.google.cloud.contactcenterinsights.v1.View.Builder.class); + com.google.cloud.contactcenterinsights.v1.View.class, + com.google.cloud.contactcenterinsights.v1.View.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; + @SuppressWarnings("serial") private volatile java.lang.Object name_ = ""; /** + * + * *
    * Immutable. The resource name of the view.
    * Format:
@@ -61,6 +83,7 @@ protected java.lang.Object newInstance(
    * 
* * string name = 1 [(.google.api.field_behavior) = IMMUTABLE]; + * * @return The name. */ @java.lang.Override @@ -69,14 +92,15 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** + * + * *
    * Immutable. The resource name of the view.
    * Format:
@@ -84,16 +108,15 @@ public java.lang.String getName() {
    * 
* * string name = 1 [(.google.api.field_behavior) = IMMUTABLE]; + * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -102,14 +125,18 @@ public java.lang.String getName() { } public static final int DISPLAY_NAME_FIELD_NUMBER = 2; + @SuppressWarnings("serial") private volatile java.lang.Object displayName_ = ""; /** + * + * *
    * The human-readable display name of the view.
    * 
* * string display_name = 2; + * * @return The displayName. */ @java.lang.Override @@ -118,29 +145,29 @@ public java.lang.String getDisplayName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); displayName_ = s; return s; } } /** + * + * *
    * The human-readable display name of the view.
    * 
* * string display_name = 2; + * * @return The bytes for displayName. */ @java.lang.Override - public com.google.protobuf.ByteString - getDisplayNameBytes() { + public com.google.protobuf.ByteString getDisplayNameBytes() { java.lang.Object ref = displayName_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); displayName_ = b; return b; } else { @@ -151,11 +178,15 @@ public java.lang.String getDisplayName() { public static final int CREATE_TIME_FIELD_NUMBER = 3; private com.google.protobuf.Timestamp createTime_; /** + * + * *
    * Output only. The time at which this view was created.
    * 
* - * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the createTime field is set. */ @java.lang.Override @@ -163,11 +194,15 @@ public boolean hasCreateTime() { return createTime_ != null; } /** + * + * *
    * Output only. The time at which this view was created.
    * 
* - * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The createTime. */ @java.lang.Override @@ -175,11 +210,14 @@ public com.google.protobuf.Timestamp getCreateTime() { return createTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : createTime_; } /** + * + * *
    * Output only. The time at which this view was created.
    * 
* - * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ @java.lang.Override public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { @@ -189,11 +227,15 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { public static final int UPDATE_TIME_FIELD_NUMBER = 4; private com.google.protobuf.Timestamp updateTime_; /** + * + * *
    * Output only. The most recent time at which the view was updated.
    * 
* - * .google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the updateTime field is set. */ @java.lang.Override @@ -201,11 +243,15 @@ public boolean hasUpdateTime() { return updateTime_ != null; } /** + * + * *
    * Output only. The most recent time at which the view was updated.
    * 
* - * .google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The updateTime. */ @java.lang.Override @@ -213,11 +259,14 @@ public com.google.protobuf.Timestamp getUpdateTime() { return updateTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : updateTime_; } /** + * + * *
    * Output only. The most recent time at which the view was updated.
    * 
* - * .google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ @java.lang.Override public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { @@ -225,14 +274,18 @@ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { } public static final int VALUE_FIELD_NUMBER = 5; + @SuppressWarnings("serial") private volatile java.lang.Object value_ = ""; /** + * + * *
    * String with specific view properties, must be non-empty.
    * 
* * string value = 5; + * * @return The value. */ @java.lang.Override @@ -241,29 +294,29 @@ public java.lang.String getValue() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); value_ = s; return s; } } /** + * + * *
    * String with specific view properties, must be non-empty.
    * 
* * string value = 5; + * * @return The bytes for value. */ @java.lang.Override - public com.google.protobuf.ByteString - getValueBytes() { + public com.google.protobuf.ByteString getValueBytes() { java.lang.Object ref = value_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); value_ = b; return b; } else { @@ -272,6 +325,7 @@ public java.lang.String getValue() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -283,8 +337,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -316,12 +369,10 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, displayName_); } if (createTime_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(3, getCreateTime()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getCreateTime()); } if (updateTime_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(4, getUpdateTime()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(4, getUpdateTime()); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(value_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(5, value_); @@ -334,29 +385,25 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.contactcenterinsights.v1.View)) { return super.equals(obj); } - com.google.cloud.contactcenterinsights.v1.View other = (com.google.cloud.contactcenterinsights.v1.View) obj; + com.google.cloud.contactcenterinsights.v1.View other = + (com.google.cloud.contactcenterinsights.v1.View) obj; - if (!getName() - .equals(other.getName())) return false; - if (!getDisplayName() - .equals(other.getDisplayName())) return false; + if (!getName().equals(other.getName())) return false; + if (!getDisplayName().equals(other.getDisplayName())) return false; if (hasCreateTime() != other.hasCreateTime()) return false; if (hasCreateTime()) { - if (!getCreateTime() - .equals(other.getCreateTime())) return false; + if (!getCreateTime().equals(other.getCreateTime())) return false; } if (hasUpdateTime() != other.hasUpdateTime()) return false; if (hasUpdateTime()) { - if (!getUpdateTime() - .equals(other.getUpdateTime())) return false; + if (!getUpdateTime().equals(other.getUpdateTime())) return false; } - if (!getValue() - .equals(other.getValue())) return false; + if (!getValue().equals(other.getValue())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -387,130 +434,136 @@ public int hashCode() { return hash; } - public static com.google.cloud.contactcenterinsights.v1.View parseFrom( - java.nio.ByteBuffer data) + public static com.google.cloud.contactcenterinsights.v1.View parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.contactcenterinsights.v1.View parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.contactcenterinsights.v1.View parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.contactcenterinsights.v1.View parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.contactcenterinsights.v1.View parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.contactcenterinsights.v1.View parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.contactcenterinsights.v1.View parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.contactcenterinsights.v1.View parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.contactcenterinsights.v1.View parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.contactcenterinsights.v1.View parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.contactcenterinsights.v1.View parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.contactcenterinsights.v1.View parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.contactcenterinsights.v1.View parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.cloud.contactcenterinsights.v1.View prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * The View resource.
    * 
* * Protobuf type {@code google.cloud.contactcenterinsights.v1.View} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.contactcenterinsights.v1.View) com.google.cloud.contactcenterinsights.v1.ViewOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.contactcenterinsights.v1.ResourcesProto.internal_static_google_cloud_contactcenterinsights_v1_View_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.contactcenterinsights.v1.ResourcesProto + .internal_static_google_cloud_contactcenterinsights_v1_View_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.contactcenterinsights.v1.ResourcesProto.internal_static_google_cloud_contactcenterinsights_v1_View_fieldAccessorTable + return com.google.cloud.contactcenterinsights.v1.ResourcesProto + .internal_static_google_cloud_contactcenterinsights_v1_View_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.contactcenterinsights.v1.View.class, com.google.cloud.contactcenterinsights.v1.View.Builder.class); + com.google.cloud.contactcenterinsights.v1.View.class, + com.google.cloud.contactcenterinsights.v1.View.Builder.class); } // Construct using com.google.cloud.contactcenterinsights.v1.View.newBuilder() - private Builder() { - - } + private Builder() {} - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -532,9 +585,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.contactcenterinsights.v1.ResourcesProto.internal_static_google_cloud_contactcenterinsights_v1_View_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.contactcenterinsights.v1.ResourcesProto + .internal_static_google_cloud_contactcenterinsights_v1_View_descriptor; } @java.lang.Override @@ -553,8 +606,11 @@ public com.google.cloud.contactcenterinsights.v1.View build() { @java.lang.Override public com.google.cloud.contactcenterinsights.v1.View buildPartial() { - com.google.cloud.contactcenterinsights.v1.View result = new com.google.cloud.contactcenterinsights.v1.View(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.cloud.contactcenterinsights.v1.View result = + new com.google.cloud.contactcenterinsights.v1.View(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } @@ -568,14 +624,10 @@ private void buildPartial0(com.google.cloud.contactcenterinsights.v1.View result result.displayName_ = displayName_; } if (((from_bitField0_ & 0x00000004) != 0)) { - result.createTime_ = createTimeBuilder_ == null - ? createTime_ - : createTimeBuilder_.build(); + result.createTime_ = createTimeBuilder_ == null ? createTime_ : createTimeBuilder_.build(); } if (((from_bitField0_ & 0x00000008) != 0)) { - result.updateTime_ = updateTimeBuilder_ == null - ? updateTime_ - : updateTimeBuilder_.build(); + result.updateTime_ = updateTimeBuilder_ == null ? updateTime_ : updateTimeBuilder_.build(); } if (((from_bitField0_ & 0x00000010) != 0)) { result.value_ = value_; @@ -586,38 +638,39 @@ private void buildPartial0(com.google.cloud.contactcenterinsights.v1.View result public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.contactcenterinsights.v1.View) { - return mergeFrom((com.google.cloud.contactcenterinsights.v1.View)other); + return mergeFrom((com.google.cloud.contactcenterinsights.v1.View) other); } else { super.mergeFrom(other); return this; @@ -673,41 +726,43 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - name_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: { - displayName_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000002; - break; - } // case 18 - case 26: { - input.readMessage( - getCreateTimeFieldBuilder().getBuilder(), - extensionRegistry); - bitField0_ |= 0x00000004; - break; - } // case 26 - case 34: { - input.readMessage( - getUpdateTimeFieldBuilder().getBuilder(), - extensionRegistry); - bitField0_ |= 0x00000008; - break; - } // case 34 - case 42: { - value_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000010; - break; - } // case 42 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + name_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: + { + displayName_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + break; + } // case 18 + case 26: + { + input.readMessage(getCreateTimeFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000004; + break; + } // case 26 + case 34: + { + input.readMessage(getUpdateTimeFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000008; + break; + } // case 34 + case 42: + { + value_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000010; + break; + } // case 42 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -717,10 +772,13 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private java.lang.Object name_ = ""; /** + * + * *
      * Immutable. The resource name of the view.
      * Format:
@@ -728,13 +786,13 @@ public Builder mergeFrom(
      * 
* * string name = 1 [(.google.api.field_behavior) = IMMUTABLE]; + * * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -743,6 +801,8 @@ public java.lang.String getName() { } } /** + * + * *
      * Immutable. The resource name of the view.
      * Format:
@@ -750,15 +810,14 @@ public java.lang.String getName() {
      * 
* * string name = 1 [(.google.api.field_behavior) = IMMUTABLE]; + * * @return The bytes for name. */ - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -766,6 +825,8 @@ public java.lang.String getName() { } } /** + * + * *
      * Immutable. The resource name of the view.
      * Format:
@@ -773,18 +834,22 @@ public java.lang.String getName() {
      * 
* * string name = 1 [(.google.api.field_behavior) = IMMUTABLE]; + * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setName(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } name_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
      * Immutable. The resource name of the view.
      * Format:
@@ -792,6 +857,7 @@ public Builder setName(
      * 
* * string name = 1 [(.google.api.field_behavior) = IMMUTABLE]; + * * @return This builder for chaining. */ public Builder clearName() { @@ -801,6 +867,8 @@ public Builder clearName() { return this; } /** + * + * *
      * Immutable. The resource name of the view.
      * Format:
@@ -808,12 +876,14 @@ public Builder clearName() {
      * 
* * string name = 1 [(.google.api.field_behavior) = IMMUTABLE]; + * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setNameBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); name_ = value; bitField0_ |= 0x00000001; @@ -823,18 +893,20 @@ public Builder setNameBytes( private java.lang.Object displayName_ = ""; /** + * + * *
      * The human-readable display name of the view.
      * 
* * string display_name = 2; + * * @return The displayName. */ public java.lang.String getDisplayName() { java.lang.Object ref = displayName_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); displayName_ = s; return s; @@ -843,20 +915,21 @@ public java.lang.String getDisplayName() { } } /** + * + * *
      * The human-readable display name of the view.
      * 
* * string display_name = 2; + * * @return The bytes for displayName. */ - public com.google.protobuf.ByteString - getDisplayNameBytes() { + public com.google.protobuf.ByteString getDisplayNameBytes() { java.lang.Object ref = displayName_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); displayName_ = b; return b; } else { @@ -864,28 +937,35 @@ public java.lang.String getDisplayName() { } } /** + * + * *
      * The human-readable display name of the view.
      * 
* * string display_name = 2; + * * @param value The displayName to set. * @return This builder for chaining. */ - public Builder setDisplayName( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setDisplayName(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } displayName_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** + * + * *
      * The human-readable display name of the view.
      * 
* * string display_name = 2; + * * @return This builder for chaining. */ public Builder clearDisplayName() { @@ -895,17 +975,21 @@ public Builder clearDisplayName() { return this; } /** + * + * *
      * The human-readable display name of the view.
      * 
* * string display_name = 2; + * * @param value The bytes for displayName to set. * @return This builder for chaining. */ - public Builder setDisplayNameBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setDisplayNameBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); displayName_ = value; bitField0_ |= 0x00000002; @@ -915,39 +999,58 @@ public Builder setDisplayNameBytes( private com.google.protobuf.Timestamp createTime_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> createTimeBuilder_; + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder> + createTimeBuilder_; /** + * + * *
      * Output only. The time at which this view was created.
      * 
* - * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the createTime field is set. */ public boolean hasCreateTime() { return ((bitField0_ & 0x00000004) != 0); } /** + * + * *
      * Output only. The time at which this view was created.
      * 
* - * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The createTime. */ public com.google.protobuf.Timestamp getCreateTime() { if (createTimeBuilder_ == null) { - return createTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : createTime_; + return createTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : createTime_; } else { return createTimeBuilder_.getMessage(); } } /** + * + * *
      * Output only. The time at which this view was created.
      * 
* - * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder setCreateTime(com.google.protobuf.Timestamp value) { if (createTimeBuilder_ == null) { @@ -963,14 +1066,17 @@ public Builder setCreateTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * Output only. The time at which this view was created.
      * 
* - * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - public Builder setCreateTime( - com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setCreateTime(com.google.protobuf.Timestamp.Builder builderForValue) { if (createTimeBuilder_ == null) { createTime_ = builderForValue.build(); } else { @@ -981,17 +1087,21 @@ public Builder setCreateTime( return this; } /** + * + * *
      * Output only. The time at which this view was created.
      * 
* - * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder mergeCreateTime(com.google.protobuf.Timestamp value) { if (createTimeBuilder_ == null) { - if (((bitField0_ & 0x00000004) != 0) && - createTime_ != null && - createTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { + if (((bitField0_ & 0x00000004) != 0) + && createTime_ != null + && createTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { getCreateTimeBuilder().mergeFrom(value); } else { createTime_ = value; @@ -1004,11 +1114,15 @@ public Builder mergeCreateTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * Output only. The time at which this view was created.
      * 
* - * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder clearCreateTime() { bitField0_ = (bitField0_ & ~0x00000004); @@ -1021,11 +1135,15 @@ public Builder clearCreateTime() { return this; } /** + * + * *
      * Output only. The time at which this view was created.
      * 
* - * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public com.google.protobuf.Timestamp.Builder getCreateTimeBuilder() { bitField0_ |= 0x00000004; @@ -1033,36 +1151,48 @@ public com.google.protobuf.Timestamp.Builder getCreateTimeBuilder() { return getCreateTimeFieldBuilder().getBuilder(); } /** + * + * *
      * Output only. The time at which this view was created.
      * 
* - * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { if (createTimeBuilder_ != null) { return createTimeBuilder_.getMessageOrBuilder(); } else { - return createTime_ == null ? - com.google.protobuf.Timestamp.getDefaultInstance() : createTime_; + return createTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : createTime_; } } /** + * + * *
      * Output only. The time at which this view was created.
      * 
* - * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder> getCreateTimeFieldBuilder() { if (createTimeBuilder_ == null) { - createTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( - getCreateTime(), - getParentForChildren(), - isClean()); + createTimeBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder>( + getCreateTime(), getParentForChildren(), isClean()); createTime_ = null; } return createTimeBuilder_; @@ -1070,39 +1200,58 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { private com.google.protobuf.Timestamp updateTime_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> updateTimeBuilder_; + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder> + updateTimeBuilder_; /** + * + * *
      * Output only. The most recent time at which the view was updated.
      * 
* - * .google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the updateTime field is set. */ public boolean hasUpdateTime() { return ((bitField0_ & 0x00000008) != 0); } /** + * + * *
      * Output only. The most recent time at which the view was updated.
      * 
* - * .google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The updateTime. */ public com.google.protobuf.Timestamp getUpdateTime() { if (updateTimeBuilder_ == null) { - return updateTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : updateTime_; + return updateTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : updateTime_; } else { return updateTimeBuilder_.getMessage(); } } /** + * + * *
      * Output only. The most recent time at which the view was updated.
      * 
* - * .google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder setUpdateTime(com.google.protobuf.Timestamp value) { if (updateTimeBuilder_ == null) { @@ -1118,14 +1267,17 @@ public Builder setUpdateTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * Output only. The most recent time at which the view was updated.
      * 
* - * .google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - public Builder setUpdateTime( - com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setUpdateTime(com.google.protobuf.Timestamp.Builder builderForValue) { if (updateTimeBuilder_ == null) { updateTime_ = builderForValue.build(); } else { @@ -1136,17 +1288,21 @@ public Builder setUpdateTime( return this; } /** + * + * *
      * Output only. The most recent time at which the view was updated.
      * 
* - * .google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder mergeUpdateTime(com.google.protobuf.Timestamp value) { if (updateTimeBuilder_ == null) { - if (((bitField0_ & 0x00000008) != 0) && - updateTime_ != null && - updateTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { + if (((bitField0_ & 0x00000008) != 0) + && updateTime_ != null + && updateTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { getUpdateTimeBuilder().mergeFrom(value); } else { updateTime_ = value; @@ -1159,11 +1315,15 @@ public Builder mergeUpdateTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * Output only. The most recent time at which the view was updated.
      * 
* - * .google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder clearUpdateTime() { bitField0_ = (bitField0_ & ~0x00000008); @@ -1176,11 +1336,15 @@ public Builder clearUpdateTime() { return this; } /** + * + * *
      * Output only. The most recent time at which the view was updated.
      * 
* - * .google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public com.google.protobuf.Timestamp.Builder getUpdateTimeBuilder() { bitField0_ |= 0x00000008; @@ -1188,36 +1352,48 @@ public com.google.protobuf.Timestamp.Builder getUpdateTimeBuilder() { return getUpdateTimeFieldBuilder().getBuilder(); } /** + * + * *
      * Output only. The most recent time at which the view was updated.
      * 
* - * .google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { if (updateTimeBuilder_ != null) { return updateTimeBuilder_.getMessageOrBuilder(); } else { - return updateTime_ == null ? - com.google.protobuf.Timestamp.getDefaultInstance() : updateTime_; + return updateTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : updateTime_; } } /** + * + * *
      * Output only. The most recent time at which the view was updated.
      * 
* - * .google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder> getUpdateTimeFieldBuilder() { if (updateTimeBuilder_ == null) { - updateTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( - getUpdateTime(), - getParentForChildren(), - isClean()); + updateTimeBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder>( + getUpdateTime(), getParentForChildren(), isClean()); updateTime_ = null; } return updateTimeBuilder_; @@ -1225,18 +1401,20 @@ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { private java.lang.Object value_ = ""; /** + * + * *
      * String with specific view properties, must be non-empty.
      * 
* * string value = 5; + * * @return The value. */ public java.lang.String getValue() { java.lang.Object ref = value_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); value_ = s; return s; @@ -1245,20 +1423,21 @@ public java.lang.String getValue() { } } /** + * + * *
      * String with specific view properties, must be non-empty.
      * 
* * string value = 5; + * * @return The bytes for value. */ - public com.google.protobuf.ByteString - getValueBytes() { + public com.google.protobuf.ByteString getValueBytes() { java.lang.Object ref = value_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); value_ = b; return b; } else { @@ -1266,28 +1445,35 @@ public java.lang.String getValue() { } } /** + * + * *
      * String with specific view properties, must be non-empty.
      * 
* * string value = 5; + * * @param value The value to set. * @return This builder for chaining. */ - public Builder setValue( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setValue(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } value_ = value; bitField0_ |= 0x00000010; onChanged(); return this; } /** + * + * *
      * String with specific view properties, must be non-empty.
      * 
* * string value = 5; + * * @return This builder for chaining. */ public Builder clearValue() { @@ -1297,26 +1483,30 @@ public Builder clearValue() { return this; } /** + * + * *
      * String with specific view properties, must be non-empty.
      * 
* * string value = 5; + * * @param value The bytes for value to set. * @return This builder for chaining. */ - public Builder setValueBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setValueBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); value_ = value; bitField0_ |= 0x00000010; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1326,12 +1516,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.contactcenterinsights.v1.View) } // @@protoc_insertion_point(class_scope:google.cloud.contactcenterinsights.v1.View) private static final com.google.cloud.contactcenterinsights.v1.View DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.contactcenterinsights.v1.View(); } @@ -1340,27 +1530,27 @@ public static com.google.cloud.contactcenterinsights.v1.View getDefaultInstance( return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public View parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public View parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1375,6 +1565,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.contactcenterinsights.v1.View getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ViewName.java b/java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ViewName.java similarity index 100% rename from owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ViewName.java rename to java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ViewName.java diff --git a/owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ViewOrBuilder.java b/java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ViewOrBuilder.java similarity index 70% rename from owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ViewOrBuilder.java rename to java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ViewOrBuilder.java index 0f5d5a45bdc9..809b2b3beab3 100644 --- a/owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ViewOrBuilder.java +++ b/java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ViewOrBuilder.java @@ -1,13 +1,31 @@ +/* + * 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. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/contactcenterinsights/v1/resources.proto package com.google.cloud.contactcenterinsights.v1; -public interface ViewOrBuilder extends +public interface ViewOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.contactcenterinsights.v1.View) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Immutable. The resource name of the view.
    * Format:
@@ -15,10 +33,13 @@ public interface ViewOrBuilder extends
    * 
* * string name = 1 [(.google.api.field_behavior) = IMMUTABLE]; + * * @return The name. */ java.lang.String getName(); /** + * + * *
    * Immutable. The resource name of the view.
    * Format:
@@ -26,102 +47,134 @@ public interface ViewOrBuilder extends
    * 
* * string name = 1 [(.google.api.field_behavior) = IMMUTABLE]; + * * @return The bytes for name. */ - com.google.protobuf.ByteString - getNameBytes(); + com.google.protobuf.ByteString getNameBytes(); /** + * + * *
    * The human-readable display name of the view.
    * 
* * string display_name = 2; + * * @return The displayName. */ java.lang.String getDisplayName(); /** + * + * *
    * The human-readable display name of the view.
    * 
* * string display_name = 2; + * * @return The bytes for displayName. */ - com.google.protobuf.ByteString - getDisplayNameBytes(); + com.google.protobuf.ByteString getDisplayNameBytes(); /** + * + * *
    * Output only. The time at which this view was created.
    * 
* - * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the createTime field is set. */ boolean hasCreateTime(); /** + * + * *
    * Output only. The time at which this view was created.
    * 
* - * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The createTime. */ com.google.protobuf.Timestamp getCreateTime(); /** + * + * *
    * Output only. The time at which this view was created.
    * 
* - * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder(); /** + * + * *
    * Output only. The most recent time at which the view was updated.
    * 
* - * .google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the updateTime field is set. */ boolean hasUpdateTime(); /** + * + * *
    * Output only. The most recent time at which the view was updated.
    * 
* - * .google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The updateTime. */ com.google.protobuf.Timestamp getUpdateTime(); /** + * + * *
    * Output only. The most recent time at which the view was updated.
    * 
* - * .google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder(); /** + * + * *
    * String with specific view properties, must be non-empty.
    * 
* * string value = 5; + * * @return The value. */ java.lang.String getValue(); /** + * + * *
    * String with specific view properties, must be non-empty.
    * 
* * string value = 5; + * * @return The bytes for value. */ - com.google.protobuf.ByteString - getValueBytes(); + com.google.protobuf.ByteString getValueBytes(); } diff --git a/owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/proto/google/cloud/contactcenterinsights/v1/contact_center_insights.proto b/java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/proto/google/cloud/contactcenterinsights/v1/contact_center_insights.proto similarity index 100% rename from owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/proto/google/cloud/contactcenterinsights/v1/contact_center_insights.proto rename to java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/proto/google/cloud/contactcenterinsights/v1/contact_center_insights.proto diff --git a/owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/proto/google/cloud/contactcenterinsights/v1/resources.proto b/java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/proto/google/cloud/contactcenterinsights/v1/resources.proto similarity index 100% rename from owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/proto/google/cloud/contactcenterinsights/v1/resources.proto rename to java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/proto/google/cloud/contactcenterinsights/v1/resources.proto diff --git a/owl-bot-staging/java-contact-center-insights/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/bulkanalyzeconversations/AsyncBulkAnalyzeConversations.java b/java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/bulkanalyzeconversations/AsyncBulkAnalyzeConversations.java similarity index 100% rename from owl-bot-staging/java-contact-center-insights/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/bulkanalyzeconversations/AsyncBulkAnalyzeConversations.java rename to java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/bulkanalyzeconversations/AsyncBulkAnalyzeConversations.java diff --git a/owl-bot-staging/java-contact-center-insights/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/bulkanalyzeconversations/AsyncBulkAnalyzeConversationsLRO.java b/java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/bulkanalyzeconversations/AsyncBulkAnalyzeConversationsLRO.java similarity index 100% rename from owl-bot-staging/java-contact-center-insights/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/bulkanalyzeconversations/AsyncBulkAnalyzeConversationsLRO.java rename to java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/bulkanalyzeconversations/AsyncBulkAnalyzeConversationsLRO.java diff --git a/owl-bot-staging/java-contact-center-insights/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/bulkanalyzeconversations/SyncBulkAnalyzeConversations.java b/java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/bulkanalyzeconversations/SyncBulkAnalyzeConversations.java similarity index 100% rename from owl-bot-staging/java-contact-center-insights/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/bulkanalyzeconversations/SyncBulkAnalyzeConversations.java rename to java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/bulkanalyzeconversations/SyncBulkAnalyzeConversations.java diff --git a/owl-bot-staging/java-contact-center-insights/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/bulkanalyzeconversations/SyncBulkAnalyzeConversationsLocationnameStringFloat.java b/java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/bulkanalyzeconversations/SyncBulkAnalyzeConversationsLocationnameStringFloat.java similarity index 100% rename from owl-bot-staging/java-contact-center-insights/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/bulkanalyzeconversations/SyncBulkAnalyzeConversationsLocationnameStringFloat.java rename to java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/bulkanalyzeconversations/SyncBulkAnalyzeConversationsLocationnameStringFloat.java diff --git a/owl-bot-staging/java-contact-center-insights/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/bulkanalyzeconversations/SyncBulkAnalyzeConversationsStringStringFloat.java b/java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/bulkanalyzeconversations/SyncBulkAnalyzeConversationsStringStringFloat.java similarity index 100% rename from owl-bot-staging/java-contact-center-insights/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/bulkanalyzeconversations/SyncBulkAnalyzeConversationsStringStringFloat.java rename to java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/bulkanalyzeconversations/SyncBulkAnalyzeConversationsStringStringFloat.java diff --git a/owl-bot-staging/java-contact-center-insights/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/calculateissuemodelstats/AsyncCalculateIssueModelStats.java b/java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/calculateissuemodelstats/AsyncCalculateIssueModelStats.java similarity index 100% rename from owl-bot-staging/java-contact-center-insights/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/calculateissuemodelstats/AsyncCalculateIssueModelStats.java rename to java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/calculateissuemodelstats/AsyncCalculateIssueModelStats.java diff --git a/owl-bot-staging/java-contact-center-insights/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/calculateissuemodelstats/SyncCalculateIssueModelStats.java b/java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/calculateissuemodelstats/SyncCalculateIssueModelStats.java similarity index 100% rename from owl-bot-staging/java-contact-center-insights/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/calculateissuemodelstats/SyncCalculateIssueModelStats.java rename to java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/calculateissuemodelstats/SyncCalculateIssueModelStats.java diff --git a/owl-bot-staging/java-contact-center-insights/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/calculateissuemodelstats/SyncCalculateIssueModelStatsIssuemodelname.java b/java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/calculateissuemodelstats/SyncCalculateIssueModelStatsIssuemodelname.java similarity index 100% rename from owl-bot-staging/java-contact-center-insights/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/calculateissuemodelstats/SyncCalculateIssueModelStatsIssuemodelname.java rename to java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/calculateissuemodelstats/SyncCalculateIssueModelStatsIssuemodelname.java diff --git a/owl-bot-staging/java-contact-center-insights/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/calculateissuemodelstats/SyncCalculateIssueModelStatsString.java b/java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/calculateissuemodelstats/SyncCalculateIssueModelStatsString.java similarity index 100% rename from owl-bot-staging/java-contact-center-insights/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/calculateissuemodelstats/SyncCalculateIssueModelStatsString.java rename to java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/calculateissuemodelstats/SyncCalculateIssueModelStatsString.java diff --git a/owl-bot-staging/java-contact-center-insights/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/calculatestats/AsyncCalculateStats.java b/java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/calculatestats/AsyncCalculateStats.java similarity index 100% rename from owl-bot-staging/java-contact-center-insights/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/calculatestats/AsyncCalculateStats.java rename to java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/calculatestats/AsyncCalculateStats.java diff --git a/owl-bot-staging/java-contact-center-insights/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/calculatestats/SyncCalculateStats.java b/java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/calculatestats/SyncCalculateStats.java similarity index 100% rename from owl-bot-staging/java-contact-center-insights/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/calculatestats/SyncCalculateStats.java rename to java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/calculatestats/SyncCalculateStats.java diff --git a/owl-bot-staging/java-contact-center-insights/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/calculatestats/SyncCalculateStatsLocationname.java b/java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/calculatestats/SyncCalculateStatsLocationname.java similarity index 100% rename from owl-bot-staging/java-contact-center-insights/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/calculatestats/SyncCalculateStatsLocationname.java rename to java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/calculatestats/SyncCalculateStatsLocationname.java diff --git a/owl-bot-staging/java-contact-center-insights/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/calculatestats/SyncCalculateStatsString.java b/java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/calculatestats/SyncCalculateStatsString.java similarity index 100% rename from owl-bot-staging/java-contact-center-insights/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/calculatestats/SyncCalculateStatsString.java rename to java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/calculatestats/SyncCalculateStatsString.java diff --git a/owl-bot-staging/java-contact-center-insights/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/create/SyncCreateSetCredentialsProvider.java b/java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/create/SyncCreateSetCredentialsProvider.java similarity index 100% rename from owl-bot-staging/java-contact-center-insights/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/create/SyncCreateSetCredentialsProvider.java rename to java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/create/SyncCreateSetCredentialsProvider.java diff --git a/owl-bot-staging/java-contact-center-insights/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/create/SyncCreateSetCredentialsProvider1.java b/java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/create/SyncCreateSetCredentialsProvider1.java similarity index 100% rename from owl-bot-staging/java-contact-center-insights/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/create/SyncCreateSetCredentialsProvider1.java rename to java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/create/SyncCreateSetCredentialsProvider1.java diff --git a/owl-bot-staging/java-contact-center-insights/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/create/SyncCreateSetEndpoint.java b/java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/create/SyncCreateSetEndpoint.java similarity index 100% rename from owl-bot-staging/java-contact-center-insights/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/create/SyncCreateSetEndpoint.java rename to java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/create/SyncCreateSetEndpoint.java diff --git a/owl-bot-staging/java-contact-center-insights/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/createanalysis/AsyncCreateAnalysis.java b/java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/createanalysis/AsyncCreateAnalysis.java similarity index 100% rename from owl-bot-staging/java-contact-center-insights/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/createanalysis/AsyncCreateAnalysis.java rename to java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/createanalysis/AsyncCreateAnalysis.java diff --git a/owl-bot-staging/java-contact-center-insights/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/createanalysis/AsyncCreateAnalysisLRO.java b/java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/createanalysis/AsyncCreateAnalysisLRO.java similarity index 100% rename from owl-bot-staging/java-contact-center-insights/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/createanalysis/AsyncCreateAnalysisLRO.java rename to java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/createanalysis/AsyncCreateAnalysisLRO.java diff --git a/owl-bot-staging/java-contact-center-insights/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/createanalysis/SyncCreateAnalysis.java b/java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/createanalysis/SyncCreateAnalysis.java similarity index 100% rename from owl-bot-staging/java-contact-center-insights/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/createanalysis/SyncCreateAnalysis.java rename to java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/createanalysis/SyncCreateAnalysis.java diff --git a/owl-bot-staging/java-contact-center-insights/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/createanalysis/SyncCreateAnalysisConversationnameAnalysis.java b/java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/createanalysis/SyncCreateAnalysisConversationnameAnalysis.java similarity index 100% rename from owl-bot-staging/java-contact-center-insights/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/createanalysis/SyncCreateAnalysisConversationnameAnalysis.java rename to java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/createanalysis/SyncCreateAnalysisConversationnameAnalysis.java diff --git a/owl-bot-staging/java-contact-center-insights/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/createanalysis/SyncCreateAnalysisStringAnalysis.java b/java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/createanalysis/SyncCreateAnalysisStringAnalysis.java similarity index 100% rename from owl-bot-staging/java-contact-center-insights/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/createanalysis/SyncCreateAnalysisStringAnalysis.java rename to java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/createanalysis/SyncCreateAnalysisStringAnalysis.java diff --git a/owl-bot-staging/java-contact-center-insights/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/createconversation/AsyncCreateConversation.java b/java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/createconversation/AsyncCreateConversation.java similarity index 100% rename from owl-bot-staging/java-contact-center-insights/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/createconversation/AsyncCreateConversation.java rename to java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/createconversation/AsyncCreateConversation.java diff --git a/owl-bot-staging/java-contact-center-insights/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/createconversation/SyncCreateConversation.java b/java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/createconversation/SyncCreateConversation.java similarity index 100% rename from owl-bot-staging/java-contact-center-insights/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/createconversation/SyncCreateConversation.java rename to java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/createconversation/SyncCreateConversation.java diff --git a/owl-bot-staging/java-contact-center-insights/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/createconversation/SyncCreateConversationLocationnameConversationString.java b/java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/createconversation/SyncCreateConversationLocationnameConversationString.java similarity index 100% rename from owl-bot-staging/java-contact-center-insights/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/createconversation/SyncCreateConversationLocationnameConversationString.java rename to java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/createconversation/SyncCreateConversationLocationnameConversationString.java diff --git a/owl-bot-staging/java-contact-center-insights/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/createconversation/SyncCreateConversationStringConversationString.java b/java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/createconversation/SyncCreateConversationStringConversationString.java similarity index 100% rename from owl-bot-staging/java-contact-center-insights/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/createconversation/SyncCreateConversationStringConversationString.java rename to java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/createconversation/SyncCreateConversationStringConversationString.java diff --git a/owl-bot-staging/java-contact-center-insights/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/createissuemodel/AsyncCreateIssueModel.java b/java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/createissuemodel/AsyncCreateIssueModel.java similarity index 100% rename from owl-bot-staging/java-contact-center-insights/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/createissuemodel/AsyncCreateIssueModel.java rename to java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/createissuemodel/AsyncCreateIssueModel.java diff --git a/owl-bot-staging/java-contact-center-insights/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/createissuemodel/AsyncCreateIssueModelLRO.java b/java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/createissuemodel/AsyncCreateIssueModelLRO.java similarity index 100% rename from owl-bot-staging/java-contact-center-insights/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/createissuemodel/AsyncCreateIssueModelLRO.java rename to java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/createissuemodel/AsyncCreateIssueModelLRO.java diff --git a/owl-bot-staging/java-contact-center-insights/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/createissuemodel/SyncCreateIssueModel.java b/java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/createissuemodel/SyncCreateIssueModel.java similarity index 100% rename from owl-bot-staging/java-contact-center-insights/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/createissuemodel/SyncCreateIssueModel.java rename to java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/createissuemodel/SyncCreateIssueModel.java diff --git a/owl-bot-staging/java-contact-center-insights/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/createissuemodel/SyncCreateIssueModelLocationnameIssuemodel.java b/java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/createissuemodel/SyncCreateIssueModelLocationnameIssuemodel.java similarity index 100% rename from owl-bot-staging/java-contact-center-insights/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/createissuemodel/SyncCreateIssueModelLocationnameIssuemodel.java rename to java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/createissuemodel/SyncCreateIssueModelLocationnameIssuemodel.java diff --git a/owl-bot-staging/java-contact-center-insights/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/createissuemodel/SyncCreateIssueModelStringIssuemodel.java b/java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/createissuemodel/SyncCreateIssueModelStringIssuemodel.java similarity index 100% rename from owl-bot-staging/java-contact-center-insights/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/createissuemodel/SyncCreateIssueModelStringIssuemodel.java rename to java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/createissuemodel/SyncCreateIssueModelStringIssuemodel.java diff --git a/owl-bot-staging/java-contact-center-insights/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/createphrasematcher/AsyncCreatePhraseMatcher.java b/java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/createphrasematcher/AsyncCreatePhraseMatcher.java similarity index 100% rename from owl-bot-staging/java-contact-center-insights/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/createphrasematcher/AsyncCreatePhraseMatcher.java rename to java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/createphrasematcher/AsyncCreatePhraseMatcher.java diff --git a/owl-bot-staging/java-contact-center-insights/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/createphrasematcher/SyncCreatePhraseMatcher.java b/java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/createphrasematcher/SyncCreatePhraseMatcher.java similarity index 100% rename from owl-bot-staging/java-contact-center-insights/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/createphrasematcher/SyncCreatePhraseMatcher.java rename to java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/createphrasematcher/SyncCreatePhraseMatcher.java diff --git a/owl-bot-staging/java-contact-center-insights/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/createphrasematcher/SyncCreatePhraseMatcherLocationnamePhrasematcher.java b/java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/createphrasematcher/SyncCreatePhraseMatcherLocationnamePhrasematcher.java similarity index 100% rename from owl-bot-staging/java-contact-center-insights/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/createphrasematcher/SyncCreatePhraseMatcherLocationnamePhrasematcher.java rename to java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/createphrasematcher/SyncCreatePhraseMatcherLocationnamePhrasematcher.java diff --git a/owl-bot-staging/java-contact-center-insights/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/createphrasematcher/SyncCreatePhraseMatcherStringPhrasematcher.java b/java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/createphrasematcher/SyncCreatePhraseMatcherStringPhrasematcher.java similarity index 100% rename from owl-bot-staging/java-contact-center-insights/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/createphrasematcher/SyncCreatePhraseMatcherStringPhrasematcher.java rename to java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/createphrasematcher/SyncCreatePhraseMatcherStringPhrasematcher.java diff --git a/owl-bot-staging/java-contact-center-insights/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/createview/AsyncCreateView.java b/java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/createview/AsyncCreateView.java similarity index 100% rename from owl-bot-staging/java-contact-center-insights/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/createview/AsyncCreateView.java rename to java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/createview/AsyncCreateView.java diff --git a/owl-bot-staging/java-contact-center-insights/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/createview/SyncCreateView.java b/java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/createview/SyncCreateView.java similarity index 100% rename from owl-bot-staging/java-contact-center-insights/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/createview/SyncCreateView.java rename to java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/createview/SyncCreateView.java diff --git a/owl-bot-staging/java-contact-center-insights/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/createview/SyncCreateViewLocationnameView.java b/java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/createview/SyncCreateViewLocationnameView.java similarity index 100% rename from owl-bot-staging/java-contact-center-insights/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/createview/SyncCreateViewLocationnameView.java rename to java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/createview/SyncCreateViewLocationnameView.java diff --git a/owl-bot-staging/java-contact-center-insights/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/createview/SyncCreateViewStringView.java b/java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/createview/SyncCreateViewStringView.java similarity index 100% rename from owl-bot-staging/java-contact-center-insights/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/createview/SyncCreateViewStringView.java rename to java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/createview/SyncCreateViewStringView.java diff --git a/owl-bot-staging/java-contact-center-insights/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/deleteanalysis/AsyncDeleteAnalysis.java b/java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/deleteanalysis/AsyncDeleteAnalysis.java similarity index 100% rename from owl-bot-staging/java-contact-center-insights/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/deleteanalysis/AsyncDeleteAnalysis.java rename to java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/deleteanalysis/AsyncDeleteAnalysis.java diff --git a/owl-bot-staging/java-contact-center-insights/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/deleteanalysis/SyncDeleteAnalysis.java b/java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/deleteanalysis/SyncDeleteAnalysis.java similarity index 100% rename from owl-bot-staging/java-contact-center-insights/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/deleteanalysis/SyncDeleteAnalysis.java rename to java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/deleteanalysis/SyncDeleteAnalysis.java diff --git a/owl-bot-staging/java-contact-center-insights/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/deleteanalysis/SyncDeleteAnalysisAnalysisname.java b/java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/deleteanalysis/SyncDeleteAnalysisAnalysisname.java similarity index 100% rename from owl-bot-staging/java-contact-center-insights/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/deleteanalysis/SyncDeleteAnalysisAnalysisname.java rename to java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/deleteanalysis/SyncDeleteAnalysisAnalysisname.java diff --git a/owl-bot-staging/java-contact-center-insights/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/deleteanalysis/SyncDeleteAnalysisString.java b/java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/deleteanalysis/SyncDeleteAnalysisString.java similarity index 100% rename from owl-bot-staging/java-contact-center-insights/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/deleteanalysis/SyncDeleteAnalysisString.java rename to java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/deleteanalysis/SyncDeleteAnalysisString.java diff --git a/owl-bot-staging/java-contact-center-insights/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/deleteconversation/AsyncDeleteConversation.java b/java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/deleteconversation/AsyncDeleteConversation.java similarity index 100% rename from owl-bot-staging/java-contact-center-insights/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/deleteconversation/AsyncDeleteConversation.java rename to java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/deleteconversation/AsyncDeleteConversation.java diff --git a/owl-bot-staging/java-contact-center-insights/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/deleteconversation/SyncDeleteConversation.java b/java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/deleteconversation/SyncDeleteConversation.java similarity index 100% rename from owl-bot-staging/java-contact-center-insights/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/deleteconversation/SyncDeleteConversation.java rename to java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/deleteconversation/SyncDeleteConversation.java diff --git a/owl-bot-staging/java-contact-center-insights/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/deleteconversation/SyncDeleteConversationConversationname.java b/java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/deleteconversation/SyncDeleteConversationConversationname.java similarity index 100% rename from owl-bot-staging/java-contact-center-insights/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/deleteconversation/SyncDeleteConversationConversationname.java rename to java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/deleteconversation/SyncDeleteConversationConversationname.java diff --git a/owl-bot-staging/java-contact-center-insights/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/deleteconversation/SyncDeleteConversationString.java b/java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/deleteconversation/SyncDeleteConversationString.java similarity index 100% rename from owl-bot-staging/java-contact-center-insights/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/deleteconversation/SyncDeleteConversationString.java rename to java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/deleteconversation/SyncDeleteConversationString.java diff --git a/owl-bot-staging/java-contact-center-insights/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/deleteissue/AsyncDeleteIssue.java b/java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/deleteissue/AsyncDeleteIssue.java similarity index 100% rename from owl-bot-staging/java-contact-center-insights/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/deleteissue/AsyncDeleteIssue.java rename to java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/deleteissue/AsyncDeleteIssue.java diff --git a/owl-bot-staging/java-contact-center-insights/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/deleteissue/SyncDeleteIssue.java b/java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/deleteissue/SyncDeleteIssue.java similarity index 100% rename from owl-bot-staging/java-contact-center-insights/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/deleteissue/SyncDeleteIssue.java rename to java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/deleteissue/SyncDeleteIssue.java diff --git a/owl-bot-staging/java-contact-center-insights/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/deleteissue/SyncDeleteIssueIssuename.java b/java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/deleteissue/SyncDeleteIssueIssuename.java similarity index 100% rename from owl-bot-staging/java-contact-center-insights/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/deleteissue/SyncDeleteIssueIssuename.java rename to java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/deleteissue/SyncDeleteIssueIssuename.java diff --git a/owl-bot-staging/java-contact-center-insights/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/deleteissue/SyncDeleteIssueString.java b/java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/deleteissue/SyncDeleteIssueString.java similarity index 100% rename from owl-bot-staging/java-contact-center-insights/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/deleteissue/SyncDeleteIssueString.java rename to java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/deleteissue/SyncDeleteIssueString.java diff --git a/owl-bot-staging/java-contact-center-insights/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/deleteissuemodel/AsyncDeleteIssueModel.java b/java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/deleteissuemodel/AsyncDeleteIssueModel.java similarity index 100% rename from owl-bot-staging/java-contact-center-insights/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/deleteissuemodel/AsyncDeleteIssueModel.java rename to java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/deleteissuemodel/AsyncDeleteIssueModel.java diff --git a/owl-bot-staging/java-contact-center-insights/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/deleteissuemodel/AsyncDeleteIssueModelLRO.java b/java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/deleteissuemodel/AsyncDeleteIssueModelLRO.java similarity index 100% rename from owl-bot-staging/java-contact-center-insights/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/deleteissuemodel/AsyncDeleteIssueModelLRO.java rename to java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/deleteissuemodel/AsyncDeleteIssueModelLRO.java diff --git a/owl-bot-staging/java-contact-center-insights/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/deleteissuemodel/SyncDeleteIssueModel.java b/java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/deleteissuemodel/SyncDeleteIssueModel.java similarity index 100% rename from owl-bot-staging/java-contact-center-insights/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/deleteissuemodel/SyncDeleteIssueModel.java rename to java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/deleteissuemodel/SyncDeleteIssueModel.java diff --git a/owl-bot-staging/java-contact-center-insights/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/deleteissuemodel/SyncDeleteIssueModelIssuemodelname.java b/java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/deleteissuemodel/SyncDeleteIssueModelIssuemodelname.java similarity index 100% rename from owl-bot-staging/java-contact-center-insights/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/deleteissuemodel/SyncDeleteIssueModelIssuemodelname.java rename to java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/deleteissuemodel/SyncDeleteIssueModelIssuemodelname.java diff --git a/owl-bot-staging/java-contact-center-insights/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/deleteissuemodel/SyncDeleteIssueModelString.java b/java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/deleteissuemodel/SyncDeleteIssueModelString.java similarity index 100% rename from owl-bot-staging/java-contact-center-insights/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/deleteissuemodel/SyncDeleteIssueModelString.java rename to java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/deleteissuemodel/SyncDeleteIssueModelString.java diff --git a/owl-bot-staging/java-contact-center-insights/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/deletephrasematcher/AsyncDeletePhraseMatcher.java b/java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/deletephrasematcher/AsyncDeletePhraseMatcher.java similarity index 100% rename from owl-bot-staging/java-contact-center-insights/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/deletephrasematcher/AsyncDeletePhraseMatcher.java rename to java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/deletephrasematcher/AsyncDeletePhraseMatcher.java diff --git a/owl-bot-staging/java-contact-center-insights/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/deletephrasematcher/SyncDeletePhraseMatcher.java b/java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/deletephrasematcher/SyncDeletePhraseMatcher.java similarity index 100% rename from owl-bot-staging/java-contact-center-insights/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/deletephrasematcher/SyncDeletePhraseMatcher.java rename to java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/deletephrasematcher/SyncDeletePhraseMatcher.java diff --git a/owl-bot-staging/java-contact-center-insights/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/deletephrasematcher/SyncDeletePhraseMatcherPhrasematchername.java b/java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/deletephrasematcher/SyncDeletePhraseMatcherPhrasematchername.java similarity index 100% rename from owl-bot-staging/java-contact-center-insights/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/deletephrasematcher/SyncDeletePhraseMatcherPhrasematchername.java rename to java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/deletephrasematcher/SyncDeletePhraseMatcherPhrasematchername.java diff --git a/owl-bot-staging/java-contact-center-insights/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/deletephrasematcher/SyncDeletePhraseMatcherString.java b/java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/deletephrasematcher/SyncDeletePhraseMatcherString.java similarity index 100% rename from owl-bot-staging/java-contact-center-insights/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/deletephrasematcher/SyncDeletePhraseMatcherString.java rename to java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/deletephrasematcher/SyncDeletePhraseMatcherString.java diff --git a/owl-bot-staging/java-contact-center-insights/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/deleteview/AsyncDeleteView.java b/java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/deleteview/AsyncDeleteView.java similarity index 100% rename from owl-bot-staging/java-contact-center-insights/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/deleteview/AsyncDeleteView.java rename to java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/deleteview/AsyncDeleteView.java diff --git a/owl-bot-staging/java-contact-center-insights/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/deleteview/SyncDeleteView.java b/java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/deleteview/SyncDeleteView.java similarity index 100% rename from owl-bot-staging/java-contact-center-insights/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/deleteview/SyncDeleteView.java rename to java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/deleteview/SyncDeleteView.java diff --git a/owl-bot-staging/java-contact-center-insights/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/deleteview/SyncDeleteViewString.java b/java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/deleteview/SyncDeleteViewString.java similarity index 100% rename from owl-bot-staging/java-contact-center-insights/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/deleteview/SyncDeleteViewString.java rename to java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/deleteview/SyncDeleteViewString.java diff --git a/owl-bot-staging/java-contact-center-insights/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/deleteview/SyncDeleteViewViewname.java b/java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/deleteview/SyncDeleteViewViewname.java similarity index 100% rename from owl-bot-staging/java-contact-center-insights/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/deleteview/SyncDeleteViewViewname.java rename to java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/deleteview/SyncDeleteViewViewname.java diff --git a/owl-bot-staging/java-contact-center-insights/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/deployissuemodel/AsyncDeployIssueModel.java b/java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/deployissuemodel/AsyncDeployIssueModel.java similarity index 100% rename from owl-bot-staging/java-contact-center-insights/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/deployissuemodel/AsyncDeployIssueModel.java rename to java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/deployissuemodel/AsyncDeployIssueModel.java diff --git a/owl-bot-staging/java-contact-center-insights/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/deployissuemodel/AsyncDeployIssueModelLRO.java b/java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/deployissuemodel/AsyncDeployIssueModelLRO.java similarity index 100% rename from owl-bot-staging/java-contact-center-insights/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/deployissuemodel/AsyncDeployIssueModelLRO.java rename to java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/deployissuemodel/AsyncDeployIssueModelLRO.java diff --git a/owl-bot-staging/java-contact-center-insights/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/deployissuemodel/SyncDeployIssueModel.java b/java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/deployissuemodel/SyncDeployIssueModel.java similarity index 100% rename from owl-bot-staging/java-contact-center-insights/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/deployissuemodel/SyncDeployIssueModel.java rename to java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/deployissuemodel/SyncDeployIssueModel.java diff --git a/owl-bot-staging/java-contact-center-insights/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/deployissuemodel/SyncDeployIssueModelIssuemodelname.java b/java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/deployissuemodel/SyncDeployIssueModelIssuemodelname.java similarity index 100% rename from owl-bot-staging/java-contact-center-insights/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/deployissuemodel/SyncDeployIssueModelIssuemodelname.java rename to java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/deployissuemodel/SyncDeployIssueModelIssuemodelname.java diff --git a/owl-bot-staging/java-contact-center-insights/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/deployissuemodel/SyncDeployIssueModelString.java b/java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/deployissuemodel/SyncDeployIssueModelString.java similarity index 100% rename from owl-bot-staging/java-contact-center-insights/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/deployissuemodel/SyncDeployIssueModelString.java rename to java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/deployissuemodel/SyncDeployIssueModelString.java diff --git a/owl-bot-staging/java-contact-center-insights/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/exportinsightsdata/AsyncExportInsightsData.java b/java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/exportinsightsdata/AsyncExportInsightsData.java similarity index 100% rename from owl-bot-staging/java-contact-center-insights/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/exportinsightsdata/AsyncExportInsightsData.java rename to java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/exportinsightsdata/AsyncExportInsightsData.java diff --git a/owl-bot-staging/java-contact-center-insights/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/exportinsightsdata/AsyncExportInsightsDataLRO.java b/java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/exportinsightsdata/AsyncExportInsightsDataLRO.java similarity index 100% rename from owl-bot-staging/java-contact-center-insights/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/exportinsightsdata/AsyncExportInsightsDataLRO.java rename to java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/exportinsightsdata/AsyncExportInsightsDataLRO.java diff --git a/owl-bot-staging/java-contact-center-insights/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/exportinsightsdata/SyncExportInsightsData.java b/java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/exportinsightsdata/SyncExportInsightsData.java similarity index 100% rename from owl-bot-staging/java-contact-center-insights/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/exportinsightsdata/SyncExportInsightsData.java rename to java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/exportinsightsdata/SyncExportInsightsData.java diff --git a/owl-bot-staging/java-contact-center-insights/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/exportinsightsdata/SyncExportInsightsDataLocationname.java b/java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/exportinsightsdata/SyncExportInsightsDataLocationname.java similarity index 100% rename from owl-bot-staging/java-contact-center-insights/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/exportinsightsdata/SyncExportInsightsDataLocationname.java rename to java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/exportinsightsdata/SyncExportInsightsDataLocationname.java diff --git a/owl-bot-staging/java-contact-center-insights/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/exportinsightsdata/SyncExportInsightsDataString.java b/java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/exportinsightsdata/SyncExportInsightsDataString.java similarity index 100% rename from owl-bot-staging/java-contact-center-insights/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/exportinsightsdata/SyncExportInsightsDataString.java rename to java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/exportinsightsdata/SyncExportInsightsDataString.java diff --git a/owl-bot-staging/java-contact-center-insights/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/getanalysis/AsyncGetAnalysis.java b/java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/getanalysis/AsyncGetAnalysis.java similarity index 100% rename from owl-bot-staging/java-contact-center-insights/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/getanalysis/AsyncGetAnalysis.java rename to java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/getanalysis/AsyncGetAnalysis.java diff --git a/owl-bot-staging/java-contact-center-insights/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/getanalysis/SyncGetAnalysis.java b/java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/getanalysis/SyncGetAnalysis.java similarity index 100% rename from owl-bot-staging/java-contact-center-insights/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/getanalysis/SyncGetAnalysis.java rename to java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/getanalysis/SyncGetAnalysis.java diff --git a/owl-bot-staging/java-contact-center-insights/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/getanalysis/SyncGetAnalysisAnalysisname.java b/java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/getanalysis/SyncGetAnalysisAnalysisname.java similarity index 100% rename from owl-bot-staging/java-contact-center-insights/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/getanalysis/SyncGetAnalysisAnalysisname.java rename to java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/getanalysis/SyncGetAnalysisAnalysisname.java diff --git a/owl-bot-staging/java-contact-center-insights/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/getanalysis/SyncGetAnalysisString.java b/java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/getanalysis/SyncGetAnalysisString.java similarity index 100% rename from owl-bot-staging/java-contact-center-insights/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/getanalysis/SyncGetAnalysisString.java rename to java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/getanalysis/SyncGetAnalysisString.java diff --git a/owl-bot-staging/java-contact-center-insights/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/getconversation/AsyncGetConversation.java b/java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/getconversation/AsyncGetConversation.java similarity index 100% rename from owl-bot-staging/java-contact-center-insights/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/getconversation/AsyncGetConversation.java rename to java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/getconversation/AsyncGetConversation.java diff --git a/owl-bot-staging/java-contact-center-insights/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/getconversation/SyncGetConversation.java b/java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/getconversation/SyncGetConversation.java similarity index 100% rename from owl-bot-staging/java-contact-center-insights/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/getconversation/SyncGetConversation.java rename to java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/getconversation/SyncGetConversation.java diff --git a/owl-bot-staging/java-contact-center-insights/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/getconversation/SyncGetConversationConversationname.java b/java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/getconversation/SyncGetConversationConversationname.java similarity index 100% rename from owl-bot-staging/java-contact-center-insights/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/getconversation/SyncGetConversationConversationname.java rename to java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/getconversation/SyncGetConversationConversationname.java diff --git a/owl-bot-staging/java-contact-center-insights/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/getconversation/SyncGetConversationString.java b/java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/getconversation/SyncGetConversationString.java similarity index 100% rename from owl-bot-staging/java-contact-center-insights/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/getconversation/SyncGetConversationString.java rename to java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/getconversation/SyncGetConversationString.java diff --git a/owl-bot-staging/java-contact-center-insights/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/getissue/AsyncGetIssue.java b/java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/getissue/AsyncGetIssue.java similarity index 100% rename from owl-bot-staging/java-contact-center-insights/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/getissue/AsyncGetIssue.java rename to java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/getissue/AsyncGetIssue.java diff --git a/owl-bot-staging/java-contact-center-insights/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/getissue/SyncGetIssue.java b/java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/getissue/SyncGetIssue.java similarity index 100% rename from owl-bot-staging/java-contact-center-insights/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/getissue/SyncGetIssue.java rename to java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/getissue/SyncGetIssue.java diff --git a/owl-bot-staging/java-contact-center-insights/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/getissue/SyncGetIssueIssuename.java b/java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/getissue/SyncGetIssueIssuename.java similarity index 100% rename from owl-bot-staging/java-contact-center-insights/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/getissue/SyncGetIssueIssuename.java rename to java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/getissue/SyncGetIssueIssuename.java diff --git a/owl-bot-staging/java-contact-center-insights/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/getissue/SyncGetIssueString.java b/java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/getissue/SyncGetIssueString.java similarity index 100% rename from owl-bot-staging/java-contact-center-insights/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/getissue/SyncGetIssueString.java rename to java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/getissue/SyncGetIssueString.java diff --git a/owl-bot-staging/java-contact-center-insights/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/getissuemodel/AsyncGetIssueModel.java b/java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/getissuemodel/AsyncGetIssueModel.java similarity index 100% rename from owl-bot-staging/java-contact-center-insights/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/getissuemodel/AsyncGetIssueModel.java rename to java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/getissuemodel/AsyncGetIssueModel.java diff --git a/owl-bot-staging/java-contact-center-insights/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/getissuemodel/SyncGetIssueModel.java b/java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/getissuemodel/SyncGetIssueModel.java similarity index 100% rename from owl-bot-staging/java-contact-center-insights/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/getissuemodel/SyncGetIssueModel.java rename to java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/getissuemodel/SyncGetIssueModel.java diff --git a/owl-bot-staging/java-contact-center-insights/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/getissuemodel/SyncGetIssueModelIssuemodelname.java b/java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/getissuemodel/SyncGetIssueModelIssuemodelname.java similarity index 100% rename from owl-bot-staging/java-contact-center-insights/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/getissuemodel/SyncGetIssueModelIssuemodelname.java rename to java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/getissuemodel/SyncGetIssueModelIssuemodelname.java diff --git a/owl-bot-staging/java-contact-center-insights/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/getissuemodel/SyncGetIssueModelString.java b/java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/getissuemodel/SyncGetIssueModelString.java similarity index 100% rename from owl-bot-staging/java-contact-center-insights/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/getissuemodel/SyncGetIssueModelString.java rename to java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/getissuemodel/SyncGetIssueModelString.java diff --git a/owl-bot-staging/java-contact-center-insights/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/getphrasematcher/AsyncGetPhraseMatcher.java b/java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/getphrasematcher/AsyncGetPhraseMatcher.java similarity index 100% rename from owl-bot-staging/java-contact-center-insights/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/getphrasematcher/AsyncGetPhraseMatcher.java rename to java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/getphrasematcher/AsyncGetPhraseMatcher.java diff --git a/owl-bot-staging/java-contact-center-insights/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/getphrasematcher/SyncGetPhraseMatcher.java b/java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/getphrasematcher/SyncGetPhraseMatcher.java similarity index 100% rename from owl-bot-staging/java-contact-center-insights/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/getphrasematcher/SyncGetPhraseMatcher.java rename to java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/getphrasematcher/SyncGetPhraseMatcher.java diff --git a/owl-bot-staging/java-contact-center-insights/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/getphrasematcher/SyncGetPhraseMatcherPhrasematchername.java b/java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/getphrasematcher/SyncGetPhraseMatcherPhrasematchername.java similarity index 100% rename from owl-bot-staging/java-contact-center-insights/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/getphrasematcher/SyncGetPhraseMatcherPhrasematchername.java rename to java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/getphrasematcher/SyncGetPhraseMatcherPhrasematchername.java diff --git a/owl-bot-staging/java-contact-center-insights/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/getphrasematcher/SyncGetPhraseMatcherString.java b/java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/getphrasematcher/SyncGetPhraseMatcherString.java similarity index 100% rename from owl-bot-staging/java-contact-center-insights/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/getphrasematcher/SyncGetPhraseMatcherString.java rename to java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/getphrasematcher/SyncGetPhraseMatcherString.java diff --git a/owl-bot-staging/java-contact-center-insights/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/getsettings/AsyncGetSettings.java b/java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/getsettings/AsyncGetSettings.java similarity index 100% rename from owl-bot-staging/java-contact-center-insights/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/getsettings/AsyncGetSettings.java rename to java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/getsettings/AsyncGetSettings.java diff --git a/owl-bot-staging/java-contact-center-insights/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/getsettings/SyncGetSettings.java b/java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/getsettings/SyncGetSettings.java similarity index 100% rename from owl-bot-staging/java-contact-center-insights/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/getsettings/SyncGetSettings.java rename to java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/getsettings/SyncGetSettings.java diff --git a/owl-bot-staging/java-contact-center-insights/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/getsettings/SyncGetSettingsSettingsname.java b/java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/getsettings/SyncGetSettingsSettingsname.java similarity index 100% rename from owl-bot-staging/java-contact-center-insights/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/getsettings/SyncGetSettingsSettingsname.java rename to java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/getsettings/SyncGetSettingsSettingsname.java diff --git a/owl-bot-staging/java-contact-center-insights/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/getsettings/SyncGetSettingsString.java b/java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/getsettings/SyncGetSettingsString.java similarity index 100% rename from owl-bot-staging/java-contact-center-insights/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/getsettings/SyncGetSettingsString.java rename to java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/getsettings/SyncGetSettingsString.java diff --git a/owl-bot-staging/java-contact-center-insights/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/getview/AsyncGetView.java b/java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/getview/AsyncGetView.java similarity index 100% rename from owl-bot-staging/java-contact-center-insights/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/getview/AsyncGetView.java rename to java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/getview/AsyncGetView.java diff --git a/owl-bot-staging/java-contact-center-insights/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/getview/SyncGetView.java b/java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/getview/SyncGetView.java similarity index 100% rename from owl-bot-staging/java-contact-center-insights/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/getview/SyncGetView.java rename to java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/getview/SyncGetView.java diff --git a/owl-bot-staging/java-contact-center-insights/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/getview/SyncGetViewString.java b/java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/getview/SyncGetViewString.java similarity index 100% rename from owl-bot-staging/java-contact-center-insights/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/getview/SyncGetViewString.java rename to java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/getview/SyncGetViewString.java diff --git a/owl-bot-staging/java-contact-center-insights/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/getview/SyncGetViewViewname.java b/java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/getview/SyncGetViewViewname.java similarity index 100% rename from owl-bot-staging/java-contact-center-insights/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/getview/SyncGetViewViewname.java rename to java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/getview/SyncGetViewViewname.java diff --git a/owl-bot-staging/java-contact-center-insights/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/ingestconversations/AsyncIngestConversations.java b/java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/ingestconversations/AsyncIngestConversations.java similarity index 100% rename from owl-bot-staging/java-contact-center-insights/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/ingestconversations/AsyncIngestConversations.java rename to java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/ingestconversations/AsyncIngestConversations.java diff --git a/owl-bot-staging/java-contact-center-insights/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/ingestconversations/AsyncIngestConversationsLRO.java b/java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/ingestconversations/AsyncIngestConversationsLRO.java similarity index 100% rename from owl-bot-staging/java-contact-center-insights/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/ingestconversations/AsyncIngestConversationsLRO.java rename to java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/ingestconversations/AsyncIngestConversationsLRO.java diff --git a/owl-bot-staging/java-contact-center-insights/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/ingestconversations/SyncIngestConversations.java b/java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/ingestconversations/SyncIngestConversations.java similarity index 100% rename from owl-bot-staging/java-contact-center-insights/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/ingestconversations/SyncIngestConversations.java rename to java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/ingestconversations/SyncIngestConversations.java diff --git a/owl-bot-staging/java-contact-center-insights/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/ingestconversations/SyncIngestConversationsLocationname.java b/java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/ingestconversations/SyncIngestConversationsLocationname.java similarity index 100% rename from owl-bot-staging/java-contact-center-insights/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/ingestconversations/SyncIngestConversationsLocationname.java rename to java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/ingestconversations/SyncIngestConversationsLocationname.java diff --git a/owl-bot-staging/java-contact-center-insights/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/ingestconversations/SyncIngestConversationsString.java b/java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/ingestconversations/SyncIngestConversationsString.java similarity index 100% rename from owl-bot-staging/java-contact-center-insights/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/ingestconversations/SyncIngestConversationsString.java rename to java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/ingestconversations/SyncIngestConversationsString.java diff --git a/owl-bot-staging/java-contact-center-insights/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/listanalyses/AsyncListAnalyses.java b/java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/listanalyses/AsyncListAnalyses.java similarity index 100% rename from owl-bot-staging/java-contact-center-insights/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/listanalyses/AsyncListAnalyses.java rename to java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/listanalyses/AsyncListAnalyses.java diff --git a/owl-bot-staging/java-contact-center-insights/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/listanalyses/AsyncListAnalysesPaged.java b/java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/listanalyses/AsyncListAnalysesPaged.java similarity index 100% rename from owl-bot-staging/java-contact-center-insights/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/listanalyses/AsyncListAnalysesPaged.java rename to java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/listanalyses/AsyncListAnalysesPaged.java diff --git a/owl-bot-staging/java-contact-center-insights/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/listanalyses/SyncListAnalyses.java b/java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/listanalyses/SyncListAnalyses.java similarity index 100% rename from owl-bot-staging/java-contact-center-insights/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/listanalyses/SyncListAnalyses.java rename to java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/listanalyses/SyncListAnalyses.java diff --git a/owl-bot-staging/java-contact-center-insights/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/listanalyses/SyncListAnalysesConversationname.java b/java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/listanalyses/SyncListAnalysesConversationname.java similarity index 100% rename from owl-bot-staging/java-contact-center-insights/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/listanalyses/SyncListAnalysesConversationname.java rename to java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/listanalyses/SyncListAnalysesConversationname.java diff --git a/owl-bot-staging/java-contact-center-insights/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/listanalyses/SyncListAnalysesString.java b/java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/listanalyses/SyncListAnalysesString.java similarity index 100% rename from owl-bot-staging/java-contact-center-insights/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/listanalyses/SyncListAnalysesString.java rename to java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/listanalyses/SyncListAnalysesString.java diff --git a/owl-bot-staging/java-contact-center-insights/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/listconversations/AsyncListConversations.java b/java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/listconversations/AsyncListConversations.java similarity index 100% rename from owl-bot-staging/java-contact-center-insights/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/listconversations/AsyncListConversations.java rename to java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/listconversations/AsyncListConversations.java diff --git a/owl-bot-staging/java-contact-center-insights/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/listconversations/AsyncListConversationsPaged.java b/java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/listconversations/AsyncListConversationsPaged.java similarity index 100% rename from owl-bot-staging/java-contact-center-insights/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/listconversations/AsyncListConversationsPaged.java rename to java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/listconversations/AsyncListConversationsPaged.java diff --git a/owl-bot-staging/java-contact-center-insights/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/listconversations/SyncListConversations.java b/java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/listconversations/SyncListConversations.java similarity index 100% rename from owl-bot-staging/java-contact-center-insights/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/listconversations/SyncListConversations.java rename to java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/listconversations/SyncListConversations.java diff --git a/owl-bot-staging/java-contact-center-insights/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/listconversations/SyncListConversationsLocationname.java b/java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/listconversations/SyncListConversationsLocationname.java similarity index 100% rename from owl-bot-staging/java-contact-center-insights/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/listconversations/SyncListConversationsLocationname.java rename to java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/listconversations/SyncListConversationsLocationname.java diff --git a/owl-bot-staging/java-contact-center-insights/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/listconversations/SyncListConversationsString.java b/java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/listconversations/SyncListConversationsString.java similarity index 100% rename from owl-bot-staging/java-contact-center-insights/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/listconversations/SyncListConversationsString.java rename to java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/listconversations/SyncListConversationsString.java diff --git a/owl-bot-staging/java-contact-center-insights/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/listissuemodels/AsyncListIssueModels.java b/java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/listissuemodels/AsyncListIssueModels.java similarity index 100% rename from owl-bot-staging/java-contact-center-insights/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/listissuemodels/AsyncListIssueModels.java rename to java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/listissuemodels/AsyncListIssueModels.java diff --git a/owl-bot-staging/java-contact-center-insights/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/listissuemodels/SyncListIssueModels.java b/java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/listissuemodels/SyncListIssueModels.java similarity index 100% rename from owl-bot-staging/java-contact-center-insights/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/listissuemodels/SyncListIssueModels.java rename to java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/listissuemodels/SyncListIssueModels.java diff --git a/owl-bot-staging/java-contact-center-insights/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/listissuemodels/SyncListIssueModelsLocationname.java b/java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/listissuemodels/SyncListIssueModelsLocationname.java similarity index 100% rename from owl-bot-staging/java-contact-center-insights/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/listissuemodels/SyncListIssueModelsLocationname.java rename to java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/listissuemodels/SyncListIssueModelsLocationname.java diff --git a/owl-bot-staging/java-contact-center-insights/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/listissuemodels/SyncListIssueModelsString.java b/java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/listissuemodels/SyncListIssueModelsString.java similarity index 100% rename from owl-bot-staging/java-contact-center-insights/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/listissuemodels/SyncListIssueModelsString.java rename to java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/listissuemodels/SyncListIssueModelsString.java diff --git a/owl-bot-staging/java-contact-center-insights/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/listissues/AsyncListIssues.java b/java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/listissues/AsyncListIssues.java similarity index 100% rename from owl-bot-staging/java-contact-center-insights/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/listissues/AsyncListIssues.java rename to java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/listissues/AsyncListIssues.java diff --git a/owl-bot-staging/java-contact-center-insights/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/listissues/SyncListIssues.java b/java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/listissues/SyncListIssues.java similarity index 100% rename from owl-bot-staging/java-contact-center-insights/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/listissues/SyncListIssues.java rename to java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/listissues/SyncListIssues.java diff --git a/owl-bot-staging/java-contact-center-insights/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/listissues/SyncListIssuesIssuemodelname.java b/java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/listissues/SyncListIssuesIssuemodelname.java similarity index 100% rename from owl-bot-staging/java-contact-center-insights/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/listissues/SyncListIssuesIssuemodelname.java rename to java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/listissues/SyncListIssuesIssuemodelname.java diff --git a/owl-bot-staging/java-contact-center-insights/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/listissues/SyncListIssuesString.java b/java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/listissues/SyncListIssuesString.java similarity index 100% rename from owl-bot-staging/java-contact-center-insights/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/listissues/SyncListIssuesString.java rename to java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/listissues/SyncListIssuesString.java diff --git a/owl-bot-staging/java-contact-center-insights/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/listphrasematchers/AsyncListPhraseMatchers.java b/java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/listphrasematchers/AsyncListPhraseMatchers.java similarity index 100% rename from owl-bot-staging/java-contact-center-insights/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/listphrasematchers/AsyncListPhraseMatchers.java rename to java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/listphrasematchers/AsyncListPhraseMatchers.java diff --git a/owl-bot-staging/java-contact-center-insights/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/listphrasematchers/AsyncListPhraseMatchersPaged.java b/java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/listphrasematchers/AsyncListPhraseMatchersPaged.java similarity index 100% rename from owl-bot-staging/java-contact-center-insights/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/listphrasematchers/AsyncListPhraseMatchersPaged.java rename to java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/listphrasematchers/AsyncListPhraseMatchersPaged.java diff --git a/owl-bot-staging/java-contact-center-insights/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/listphrasematchers/SyncListPhraseMatchers.java b/java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/listphrasematchers/SyncListPhraseMatchers.java similarity index 100% rename from owl-bot-staging/java-contact-center-insights/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/listphrasematchers/SyncListPhraseMatchers.java rename to java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/listphrasematchers/SyncListPhraseMatchers.java diff --git a/owl-bot-staging/java-contact-center-insights/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/listphrasematchers/SyncListPhraseMatchersLocationname.java b/java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/listphrasematchers/SyncListPhraseMatchersLocationname.java similarity index 100% rename from owl-bot-staging/java-contact-center-insights/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/listphrasematchers/SyncListPhraseMatchersLocationname.java rename to java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/listphrasematchers/SyncListPhraseMatchersLocationname.java diff --git a/owl-bot-staging/java-contact-center-insights/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/listphrasematchers/SyncListPhraseMatchersString.java b/java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/listphrasematchers/SyncListPhraseMatchersString.java similarity index 100% rename from owl-bot-staging/java-contact-center-insights/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/listphrasematchers/SyncListPhraseMatchersString.java rename to java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/listphrasematchers/SyncListPhraseMatchersString.java diff --git a/owl-bot-staging/java-contact-center-insights/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/listviews/AsyncListViews.java b/java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/listviews/AsyncListViews.java similarity index 100% rename from owl-bot-staging/java-contact-center-insights/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/listviews/AsyncListViews.java rename to java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/listviews/AsyncListViews.java diff --git a/owl-bot-staging/java-contact-center-insights/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/listviews/AsyncListViewsPaged.java b/java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/listviews/AsyncListViewsPaged.java similarity index 100% rename from owl-bot-staging/java-contact-center-insights/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/listviews/AsyncListViewsPaged.java rename to java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/listviews/AsyncListViewsPaged.java diff --git a/owl-bot-staging/java-contact-center-insights/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/listviews/SyncListViews.java b/java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/listviews/SyncListViews.java similarity index 100% rename from owl-bot-staging/java-contact-center-insights/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/listviews/SyncListViews.java rename to java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/listviews/SyncListViews.java diff --git a/owl-bot-staging/java-contact-center-insights/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/listviews/SyncListViewsLocationname.java b/java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/listviews/SyncListViewsLocationname.java similarity index 100% rename from owl-bot-staging/java-contact-center-insights/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/listviews/SyncListViewsLocationname.java rename to java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/listviews/SyncListViewsLocationname.java diff --git a/owl-bot-staging/java-contact-center-insights/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/listviews/SyncListViewsString.java b/java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/listviews/SyncListViewsString.java similarity index 100% rename from owl-bot-staging/java-contact-center-insights/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/listviews/SyncListViewsString.java rename to java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/listviews/SyncListViewsString.java diff --git a/owl-bot-staging/java-contact-center-insights/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/undeployissuemodel/AsyncUndeployIssueModel.java b/java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/undeployissuemodel/AsyncUndeployIssueModel.java similarity index 100% rename from owl-bot-staging/java-contact-center-insights/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/undeployissuemodel/AsyncUndeployIssueModel.java rename to java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/undeployissuemodel/AsyncUndeployIssueModel.java diff --git a/owl-bot-staging/java-contact-center-insights/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/undeployissuemodel/AsyncUndeployIssueModelLRO.java b/java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/undeployissuemodel/AsyncUndeployIssueModelLRO.java similarity index 100% rename from owl-bot-staging/java-contact-center-insights/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/undeployissuemodel/AsyncUndeployIssueModelLRO.java rename to java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/undeployissuemodel/AsyncUndeployIssueModelLRO.java diff --git a/owl-bot-staging/java-contact-center-insights/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/undeployissuemodel/SyncUndeployIssueModel.java b/java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/undeployissuemodel/SyncUndeployIssueModel.java similarity index 100% rename from owl-bot-staging/java-contact-center-insights/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/undeployissuemodel/SyncUndeployIssueModel.java rename to java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/undeployissuemodel/SyncUndeployIssueModel.java diff --git a/owl-bot-staging/java-contact-center-insights/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/undeployissuemodel/SyncUndeployIssueModelIssuemodelname.java b/java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/undeployissuemodel/SyncUndeployIssueModelIssuemodelname.java similarity index 100% rename from owl-bot-staging/java-contact-center-insights/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/undeployissuemodel/SyncUndeployIssueModelIssuemodelname.java rename to java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/undeployissuemodel/SyncUndeployIssueModelIssuemodelname.java diff --git a/owl-bot-staging/java-contact-center-insights/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/undeployissuemodel/SyncUndeployIssueModelString.java b/java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/undeployissuemodel/SyncUndeployIssueModelString.java similarity index 100% rename from owl-bot-staging/java-contact-center-insights/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/undeployissuemodel/SyncUndeployIssueModelString.java rename to java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/undeployissuemodel/SyncUndeployIssueModelString.java diff --git a/owl-bot-staging/java-contact-center-insights/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/updateconversation/AsyncUpdateConversation.java b/java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/updateconversation/AsyncUpdateConversation.java similarity index 100% rename from owl-bot-staging/java-contact-center-insights/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/updateconversation/AsyncUpdateConversation.java rename to java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/updateconversation/AsyncUpdateConversation.java diff --git a/owl-bot-staging/java-contact-center-insights/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/updateconversation/SyncUpdateConversation.java b/java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/updateconversation/SyncUpdateConversation.java similarity index 100% rename from owl-bot-staging/java-contact-center-insights/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/updateconversation/SyncUpdateConversation.java rename to java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/updateconversation/SyncUpdateConversation.java diff --git a/owl-bot-staging/java-contact-center-insights/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/updateconversation/SyncUpdateConversationConversationFieldmask.java b/java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/updateconversation/SyncUpdateConversationConversationFieldmask.java similarity index 100% rename from owl-bot-staging/java-contact-center-insights/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/updateconversation/SyncUpdateConversationConversationFieldmask.java rename to java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/updateconversation/SyncUpdateConversationConversationFieldmask.java diff --git a/owl-bot-staging/java-contact-center-insights/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/updateissue/AsyncUpdateIssue.java b/java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/updateissue/AsyncUpdateIssue.java similarity index 100% rename from owl-bot-staging/java-contact-center-insights/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/updateissue/AsyncUpdateIssue.java rename to java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/updateissue/AsyncUpdateIssue.java diff --git a/owl-bot-staging/java-contact-center-insights/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/updateissue/SyncUpdateIssue.java b/java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/updateissue/SyncUpdateIssue.java similarity index 100% rename from owl-bot-staging/java-contact-center-insights/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/updateissue/SyncUpdateIssue.java rename to java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/updateissue/SyncUpdateIssue.java diff --git a/owl-bot-staging/java-contact-center-insights/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/updateissue/SyncUpdateIssueIssueFieldmask.java b/java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/updateissue/SyncUpdateIssueIssueFieldmask.java similarity index 100% rename from owl-bot-staging/java-contact-center-insights/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/updateissue/SyncUpdateIssueIssueFieldmask.java rename to java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/updateissue/SyncUpdateIssueIssueFieldmask.java diff --git a/owl-bot-staging/java-contact-center-insights/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/updateissuemodel/AsyncUpdateIssueModel.java b/java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/updateissuemodel/AsyncUpdateIssueModel.java similarity index 100% rename from owl-bot-staging/java-contact-center-insights/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/updateissuemodel/AsyncUpdateIssueModel.java rename to java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/updateissuemodel/AsyncUpdateIssueModel.java diff --git a/owl-bot-staging/java-contact-center-insights/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/updateissuemodel/SyncUpdateIssueModel.java b/java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/updateissuemodel/SyncUpdateIssueModel.java similarity index 100% rename from owl-bot-staging/java-contact-center-insights/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/updateissuemodel/SyncUpdateIssueModel.java rename to java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/updateissuemodel/SyncUpdateIssueModel.java diff --git a/owl-bot-staging/java-contact-center-insights/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/updateissuemodel/SyncUpdateIssueModelIssuemodelFieldmask.java b/java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/updateissuemodel/SyncUpdateIssueModelIssuemodelFieldmask.java similarity index 100% rename from owl-bot-staging/java-contact-center-insights/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/updateissuemodel/SyncUpdateIssueModelIssuemodelFieldmask.java rename to java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/updateissuemodel/SyncUpdateIssueModelIssuemodelFieldmask.java diff --git a/owl-bot-staging/java-contact-center-insights/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/updatephrasematcher/AsyncUpdatePhraseMatcher.java b/java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/updatephrasematcher/AsyncUpdatePhraseMatcher.java similarity index 100% rename from owl-bot-staging/java-contact-center-insights/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/updatephrasematcher/AsyncUpdatePhraseMatcher.java rename to java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/updatephrasematcher/AsyncUpdatePhraseMatcher.java diff --git a/owl-bot-staging/java-contact-center-insights/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/updatephrasematcher/SyncUpdatePhraseMatcher.java b/java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/updatephrasematcher/SyncUpdatePhraseMatcher.java similarity index 100% rename from owl-bot-staging/java-contact-center-insights/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/updatephrasematcher/SyncUpdatePhraseMatcher.java rename to java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/updatephrasematcher/SyncUpdatePhraseMatcher.java diff --git a/owl-bot-staging/java-contact-center-insights/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/updatephrasematcher/SyncUpdatePhraseMatcherPhrasematcherFieldmask.java b/java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/updatephrasematcher/SyncUpdatePhraseMatcherPhrasematcherFieldmask.java similarity index 100% rename from owl-bot-staging/java-contact-center-insights/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/updatephrasematcher/SyncUpdatePhraseMatcherPhrasematcherFieldmask.java rename to java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/updatephrasematcher/SyncUpdatePhraseMatcherPhrasematcherFieldmask.java diff --git a/owl-bot-staging/java-contact-center-insights/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/updatesettings/AsyncUpdateSettings.java b/java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/updatesettings/AsyncUpdateSettings.java similarity index 100% rename from owl-bot-staging/java-contact-center-insights/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/updatesettings/AsyncUpdateSettings.java rename to java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/updatesettings/AsyncUpdateSettings.java diff --git a/owl-bot-staging/java-contact-center-insights/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/updatesettings/SyncUpdateSettings.java b/java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/updatesettings/SyncUpdateSettings.java similarity index 100% rename from owl-bot-staging/java-contact-center-insights/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/updatesettings/SyncUpdateSettings.java rename to java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/updatesettings/SyncUpdateSettings.java diff --git a/owl-bot-staging/java-contact-center-insights/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/updatesettings/SyncUpdateSettingsSettingsFieldmask.java b/java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/updatesettings/SyncUpdateSettingsSettingsFieldmask.java similarity index 100% rename from owl-bot-staging/java-contact-center-insights/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/updatesettings/SyncUpdateSettingsSettingsFieldmask.java rename to java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/updatesettings/SyncUpdateSettingsSettingsFieldmask.java diff --git a/owl-bot-staging/java-contact-center-insights/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/updateview/AsyncUpdateView.java b/java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/updateview/AsyncUpdateView.java similarity index 100% rename from owl-bot-staging/java-contact-center-insights/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/updateview/AsyncUpdateView.java rename to java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/updateview/AsyncUpdateView.java diff --git a/owl-bot-staging/java-contact-center-insights/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/updateview/SyncUpdateView.java b/java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/updateview/SyncUpdateView.java similarity index 100% rename from owl-bot-staging/java-contact-center-insights/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/updateview/SyncUpdateView.java rename to java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/updateview/SyncUpdateView.java diff --git a/owl-bot-staging/java-contact-center-insights/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/updateview/SyncUpdateViewViewFieldmask.java b/java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/updateview/SyncUpdateViewViewFieldmask.java similarity index 100% rename from owl-bot-staging/java-contact-center-insights/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/updateview/SyncUpdateViewViewFieldmask.java rename to java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsights/updateview/SyncUpdateViewViewFieldmask.java diff --git a/owl-bot-staging/java-contact-center-insights/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightssettings/createconversation/SyncCreateConversation.java b/java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightssettings/createconversation/SyncCreateConversation.java similarity index 100% rename from owl-bot-staging/java-contact-center-insights/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightssettings/createconversation/SyncCreateConversation.java rename to java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightssettings/createconversation/SyncCreateConversation.java diff --git a/owl-bot-staging/java-contact-center-insights/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/stub/contactcenterinsightsstubsettings/createconversation/SyncCreateConversation.java b/java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/stub/contactcenterinsightsstubsettings/createconversation/SyncCreateConversation.java similarity index 100% rename from owl-bot-staging/java-contact-center-insights/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/stub/contactcenterinsightsstubsettings/createconversation/SyncCreateConversation.java rename to java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/stub/contactcenterinsightsstubsettings/createconversation/SyncCreateConversation.java diff --git a/owl-bot-staging/java-contact-center-insights/v1/grpc-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ContactCenterInsightsGrpc.java b/owl-bot-staging/java-contact-center-insights/v1/grpc-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ContactCenterInsightsGrpc.java deleted file mode 100644 index 5c089b9bbf2c..000000000000 --- a/owl-bot-staging/java-contact-center-insights/v1/grpc-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ContactCenterInsightsGrpc.java +++ /dev/null @@ -1,3415 +0,0 @@ -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 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 getCreateConversationMethod() { - io.grpc.MethodDescriptor getCreateConversationMethod; - if ((getCreateConversationMethod = ContactCenterInsightsGrpc.getCreateConversationMethod) == null) { - synchronized (ContactCenterInsightsGrpc.class) { - if ((getCreateConversationMethod = ContactCenterInsightsGrpc.getCreateConversationMethod) == null) { - ContactCenterInsightsGrpc.getCreateConversationMethod = getCreateConversationMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "CreateConversation")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.contactcenterinsights.v1.CreateConversationRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.contactcenterinsights.v1.Conversation.getDefaultInstance())) - .setSchemaDescriptor(new ContactCenterInsightsMethodDescriptorSupplier("CreateConversation")) - .build(); - } - } - } - return getCreateConversationMethod; - } - - private static volatile io.grpc.MethodDescriptor getUpdateConversationMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "UpdateConversation", - requestType = com.google.cloud.contactcenterinsights.v1.UpdateConversationRequest.class, - responseType = com.google.cloud.contactcenterinsights.v1.Conversation.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getUpdateConversationMethod() { - io.grpc.MethodDescriptor getUpdateConversationMethod; - if ((getUpdateConversationMethod = ContactCenterInsightsGrpc.getUpdateConversationMethod) == null) { - synchronized (ContactCenterInsightsGrpc.class) { - if ((getUpdateConversationMethod = ContactCenterInsightsGrpc.getUpdateConversationMethod) == null) { - ContactCenterInsightsGrpc.getUpdateConversationMethod = getUpdateConversationMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "UpdateConversation")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.contactcenterinsights.v1.UpdateConversationRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.contactcenterinsights.v1.Conversation.getDefaultInstance())) - .setSchemaDescriptor(new ContactCenterInsightsMethodDescriptorSupplier("UpdateConversation")) - .build(); - } - } - } - return getUpdateConversationMethod; - } - - private static volatile io.grpc.MethodDescriptor getGetConversationMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "GetConversation", - requestType = com.google.cloud.contactcenterinsights.v1.GetConversationRequest.class, - responseType = com.google.cloud.contactcenterinsights.v1.Conversation.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getGetConversationMethod() { - io.grpc.MethodDescriptor getGetConversationMethod; - if ((getGetConversationMethod = ContactCenterInsightsGrpc.getGetConversationMethod) == null) { - synchronized (ContactCenterInsightsGrpc.class) { - if ((getGetConversationMethod = ContactCenterInsightsGrpc.getGetConversationMethod) == null) { - ContactCenterInsightsGrpc.getGetConversationMethod = getGetConversationMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetConversation")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.contactcenterinsights.v1.GetConversationRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.contactcenterinsights.v1.Conversation.getDefaultInstance())) - .setSchemaDescriptor(new ContactCenterInsightsMethodDescriptorSupplier("GetConversation")) - .build(); - } - } - } - return getGetConversationMethod; - } - - private static volatile io.grpc.MethodDescriptor getListConversationsMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "ListConversations", - requestType = com.google.cloud.contactcenterinsights.v1.ListConversationsRequest.class, - responseType = com.google.cloud.contactcenterinsights.v1.ListConversationsResponse.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getListConversationsMethod() { - io.grpc.MethodDescriptor getListConversationsMethod; - if ((getListConversationsMethod = ContactCenterInsightsGrpc.getListConversationsMethod) == null) { - synchronized (ContactCenterInsightsGrpc.class) { - if ((getListConversationsMethod = ContactCenterInsightsGrpc.getListConversationsMethod) == null) { - ContactCenterInsightsGrpc.getListConversationsMethod = getListConversationsMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListConversations")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.contactcenterinsights.v1.ListConversationsRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.contactcenterinsights.v1.ListConversationsResponse.getDefaultInstance())) - .setSchemaDescriptor(new ContactCenterInsightsMethodDescriptorSupplier("ListConversations")) - .build(); - } - } - } - return getListConversationsMethod; - } - - private static volatile io.grpc.MethodDescriptor getDeleteConversationMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "DeleteConversation", - requestType = com.google.cloud.contactcenterinsights.v1.DeleteConversationRequest.class, - responseType = com.google.protobuf.Empty.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getDeleteConversationMethod() { - io.grpc.MethodDescriptor getDeleteConversationMethod; - if ((getDeleteConversationMethod = ContactCenterInsightsGrpc.getDeleteConversationMethod) == null) { - synchronized (ContactCenterInsightsGrpc.class) { - if ((getDeleteConversationMethod = ContactCenterInsightsGrpc.getDeleteConversationMethod) == null) { - ContactCenterInsightsGrpc.getDeleteConversationMethod = getDeleteConversationMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "DeleteConversation")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.contactcenterinsights.v1.DeleteConversationRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.protobuf.Empty.getDefaultInstance())) - .setSchemaDescriptor(new ContactCenterInsightsMethodDescriptorSupplier("DeleteConversation")) - .build(); - } - } - } - return getDeleteConversationMethod; - } - - private static volatile io.grpc.MethodDescriptor getCreateAnalysisMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "CreateAnalysis", - requestType = com.google.cloud.contactcenterinsights.v1.CreateAnalysisRequest.class, - responseType = com.google.longrunning.Operation.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getCreateAnalysisMethod() { - io.grpc.MethodDescriptor getCreateAnalysisMethod; - if ((getCreateAnalysisMethod = ContactCenterInsightsGrpc.getCreateAnalysisMethod) == null) { - synchronized (ContactCenterInsightsGrpc.class) { - if ((getCreateAnalysisMethod = ContactCenterInsightsGrpc.getCreateAnalysisMethod) == null) { - ContactCenterInsightsGrpc.getCreateAnalysisMethod = getCreateAnalysisMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "CreateAnalysis")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.contactcenterinsights.v1.CreateAnalysisRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.longrunning.Operation.getDefaultInstance())) - .setSchemaDescriptor(new ContactCenterInsightsMethodDescriptorSupplier("CreateAnalysis")) - .build(); - } - } - } - return getCreateAnalysisMethod; - } - - private static volatile io.grpc.MethodDescriptor getGetAnalysisMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "GetAnalysis", - requestType = com.google.cloud.contactcenterinsights.v1.GetAnalysisRequest.class, - responseType = com.google.cloud.contactcenterinsights.v1.Analysis.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getGetAnalysisMethod() { - io.grpc.MethodDescriptor getGetAnalysisMethod; - if ((getGetAnalysisMethod = ContactCenterInsightsGrpc.getGetAnalysisMethod) == null) { - synchronized (ContactCenterInsightsGrpc.class) { - if ((getGetAnalysisMethod = ContactCenterInsightsGrpc.getGetAnalysisMethod) == null) { - ContactCenterInsightsGrpc.getGetAnalysisMethod = getGetAnalysisMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetAnalysis")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.contactcenterinsights.v1.GetAnalysisRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.contactcenterinsights.v1.Analysis.getDefaultInstance())) - .setSchemaDescriptor(new ContactCenterInsightsMethodDescriptorSupplier("GetAnalysis")) - .build(); - } - } - } - return getGetAnalysisMethod; - } - - private static volatile io.grpc.MethodDescriptor getListAnalysesMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "ListAnalyses", - requestType = com.google.cloud.contactcenterinsights.v1.ListAnalysesRequest.class, - responseType = com.google.cloud.contactcenterinsights.v1.ListAnalysesResponse.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getListAnalysesMethod() { - io.grpc.MethodDescriptor getListAnalysesMethod; - if ((getListAnalysesMethod = ContactCenterInsightsGrpc.getListAnalysesMethod) == null) { - synchronized (ContactCenterInsightsGrpc.class) { - if ((getListAnalysesMethod = ContactCenterInsightsGrpc.getListAnalysesMethod) == null) { - ContactCenterInsightsGrpc.getListAnalysesMethod = getListAnalysesMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListAnalyses")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.contactcenterinsights.v1.ListAnalysesRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.contactcenterinsights.v1.ListAnalysesResponse.getDefaultInstance())) - .setSchemaDescriptor(new ContactCenterInsightsMethodDescriptorSupplier("ListAnalyses")) - .build(); - } - } - } - return getListAnalysesMethod; - } - - private static volatile io.grpc.MethodDescriptor getDeleteAnalysisMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "DeleteAnalysis", - requestType = com.google.cloud.contactcenterinsights.v1.DeleteAnalysisRequest.class, - responseType = com.google.protobuf.Empty.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getDeleteAnalysisMethod() { - io.grpc.MethodDescriptor getDeleteAnalysisMethod; - if ((getDeleteAnalysisMethod = ContactCenterInsightsGrpc.getDeleteAnalysisMethod) == null) { - synchronized (ContactCenterInsightsGrpc.class) { - if ((getDeleteAnalysisMethod = ContactCenterInsightsGrpc.getDeleteAnalysisMethod) == null) { - ContactCenterInsightsGrpc.getDeleteAnalysisMethod = getDeleteAnalysisMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "DeleteAnalysis")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.contactcenterinsights.v1.DeleteAnalysisRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.protobuf.Empty.getDefaultInstance())) - .setSchemaDescriptor(new ContactCenterInsightsMethodDescriptorSupplier("DeleteAnalysis")) - .build(); - } - } - } - return getDeleteAnalysisMethod; - } - - private static volatile io.grpc.MethodDescriptor getBulkAnalyzeConversationsMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "BulkAnalyzeConversations", - requestType = com.google.cloud.contactcenterinsights.v1.BulkAnalyzeConversationsRequest.class, - responseType = com.google.longrunning.Operation.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getBulkAnalyzeConversationsMethod() { - io.grpc.MethodDescriptor getBulkAnalyzeConversationsMethod; - if ((getBulkAnalyzeConversationsMethod = ContactCenterInsightsGrpc.getBulkAnalyzeConversationsMethod) == null) { - synchronized (ContactCenterInsightsGrpc.class) { - if ((getBulkAnalyzeConversationsMethod = ContactCenterInsightsGrpc.getBulkAnalyzeConversationsMethod) == null) { - ContactCenterInsightsGrpc.getBulkAnalyzeConversationsMethod = getBulkAnalyzeConversationsMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "BulkAnalyzeConversations")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.contactcenterinsights.v1.BulkAnalyzeConversationsRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.longrunning.Operation.getDefaultInstance())) - .setSchemaDescriptor(new ContactCenterInsightsMethodDescriptorSupplier("BulkAnalyzeConversations")) - .build(); - } - } - } - return getBulkAnalyzeConversationsMethod; - } - - private static volatile io.grpc.MethodDescriptor getIngestConversationsMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "IngestConversations", - requestType = com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest.class, - responseType = com.google.longrunning.Operation.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getIngestConversationsMethod() { - io.grpc.MethodDescriptor getIngestConversationsMethod; - if ((getIngestConversationsMethod = ContactCenterInsightsGrpc.getIngestConversationsMethod) == null) { - synchronized (ContactCenterInsightsGrpc.class) { - if ((getIngestConversationsMethod = ContactCenterInsightsGrpc.getIngestConversationsMethod) == null) { - ContactCenterInsightsGrpc.getIngestConversationsMethod = getIngestConversationsMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "IngestConversations")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.longrunning.Operation.getDefaultInstance())) - .setSchemaDescriptor(new ContactCenterInsightsMethodDescriptorSupplier("IngestConversations")) - .build(); - } - } - } - return getIngestConversationsMethod; - } - - private static volatile io.grpc.MethodDescriptor getExportInsightsDataMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "ExportInsightsData", - requestType = com.google.cloud.contactcenterinsights.v1.ExportInsightsDataRequest.class, - responseType = com.google.longrunning.Operation.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getExportInsightsDataMethod() { - io.grpc.MethodDescriptor getExportInsightsDataMethod; - if ((getExportInsightsDataMethod = ContactCenterInsightsGrpc.getExportInsightsDataMethod) == null) { - synchronized (ContactCenterInsightsGrpc.class) { - if ((getExportInsightsDataMethod = ContactCenterInsightsGrpc.getExportInsightsDataMethod) == null) { - ContactCenterInsightsGrpc.getExportInsightsDataMethod = getExportInsightsDataMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ExportInsightsData")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.contactcenterinsights.v1.ExportInsightsDataRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.longrunning.Operation.getDefaultInstance())) - .setSchemaDescriptor(new ContactCenterInsightsMethodDescriptorSupplier("ExportInsightsData")) - .build(); - } - } - } - return getExportInsightsDataMethod; - } - - private static volatile io.grpc.MethodDescriptor getCreateIssueModelMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "CreateIssueModel", - requestType = com.google.cloud.contactcenterinsights.v1.CreateIssueModelRequest.class, - responseType = com.google.longrunning.Operation.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getCreateIssueModelMethod() { - io.grpc.MethodDescriptor getCreateIssueModelMethod; - if ((getCreateIssueModelMethod = ContactCenterInsightsGrpc.getCreateIssueModelMethod) == null) { - synchronized (ContactCenterInsightsGrpc.class) { - if ((getCreateIssueModelMethod = ContactCenterInsightsGrpc.getCreateIssueModelMethod) == null) { - ContactCenterInsightsGrpc.getCreateIssueModelMethod = getCreateIssueModelMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "CreateIssueModel")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.contactcenterinsights.v1.CreateIssueModelRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.longrunning.Operation.getDefaultInstance())) - .setSchemaDescriptor(new ContactCenterInsightsMethodDescriptorSupplier("CreateIssueModel")) - .build(); - } - } - } - return getCreateIssueModelMethod; - } - - private static volatile io.grpc.MethodDescriptor getUpdateIssueModelMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "UpdateIssueModel", - requestType = com.google.cloud.contactcenterinsights.v1.UpdateIssueModelRequest.class, - responseType = com.google.cloud.contactcenterinsights.v1.IssueModel.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getUpdateIssueModelMethod() { - io.grpc.MethodDescriptor getUpdateIssueModelMethod; - if ((getUpdateIssueModelMethod = ContactCenterInsightsGrpc.getUpdateIssueModelMethod) == null) { - synchronized (ContactCenterInsightsGrpc.class) { - if ((getUpdateIssueModelMethod = ContactCenterInsightsGrpc.getUpdateIssueModelMethod) == null) { - ContactCenterInsightsGrpc.getUpdateIssueModelMethod = getUpdateIssueModelMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "UpdateIssueModel")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.contactcenterinsights.v1.UpdateIssueModelRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.contactcenterinsights.v1.IssueModel.getDefaultInstance())) - .setSchemaDescriptor(new ContactCenterInsightsMethodDescriptorSupplier("UpdateIssueModel")) - .build(); - } - } - } - return getUpdateIssueModelMethod; - } - - private static volatile io.grpc.MethodDescriptor getGetIssueModelMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "GetIssueModel", - requestType = com.google.cloud.contactcenterinsights.v1.GetIssueModelRequest.class, - responseType = com.google.cloud.contactcenterinsights.v1.IssueModel.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getGetIssueModelMethod() { - io.grpc.MethodDescriptor getGetIssueModelMethod; - if ((getGetIssueModelMethod = ContactCenterInsightsGrpc.getGetIssueModelMethod) == null) { - synchronized (ContactCenterInsightsGrpc.class) { - if ((getGetIssueModelMethod = ContactCenterInsightsGrpc.getGetIssueModelMethod) == null) { - ContactCenterInsightsGrpc.getGetIssueModelMethod = getGetIssueModelMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetIssueModel")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.contactcenterinsights.v1.GetIssueModelRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.contactcenterinsights.v1.IssueModel.getDefaultInstance())) - .setSchemaDescriptor(new ContactCenterInsightsMethodDescriptorSupplier("GetIssueModel")) - .build(); - } - } - } - return getGetIssueModelMethod; - } - - private static volatile io.grpc.MethodDescriptor getListIssueModelsMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "ListIssueModels", - requestType = com.google.cloud.contactcenterinsights.v1.ListIssueModelsRequest.class, - responseType = com.google.cloud.contactcenterinsights.v1.ListIssueModelsResponse.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getListIssueModelsMethod() { - io.grpc.MethodDescriptor getListIssueModelsMethod; - if ((getListIssueModelsMethod = ContactCenterInsightsGrpc.getListIssueModelsMethod) == null) { - synchronized (ContactCenterInsightsGrpc.class) { - if ((getListIssueModelsMethod = ContactCenterInsightsGrpc.getListIssueModelsMethod) == null) { - ContactCenterInsightsGrpc.getListIssueModelsMethod = getListIssueModelsMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListIssueModels")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.contactcenterinsights.v1.ListIssueModelsRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.contactcenterinsights.v1.ListIssueModelsResponse.getDefaultInstance())) - .setSchemaDescriptor(new ContactCenterInsightsMethodDescriptorSupplier("ListIssueModels")) - .build(); - } - } - } - return getListIssueModelsMethod; - } - - private static volatile io.grpc.MethodDescriptor getDeleteIssueModelMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "DeleteIssueModel", - requestType = com.google.cloud.contactcenterinsights.v1.DeleteIssueModelRequest.class, - responseType = com.google.longrunning.Operation.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getDeleteIssueModelMethod() { - io.grpc.MethodDescriptor getDeleteIssueModelMethod; - if ((getDeleteIssueModelMethod = ContactCenterInsightsGrpc.getDeleteIssueModelMethod) == null) { - synchronized (ContactCenterInsightsGrpc.class) { - if ((getDeleteIssueModelMethod = ContactCenterInsightsGrpc.getDeleteIssueModelMethod) == null) { - ContactCenterInsightsGrpc.getDeleteIssueModelMethod = getDeleteIssueModelMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "DeleteIssueModel")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.contactcenterinsights.v1.DeleteIssueModelRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.longrunning.Operation.getDefaultInstance())) - .setSchemaDescriptor(new ContactCenterInsightsMethodDescriptorSupplier("DeleteIssueModel")) - .build(); - } - } - } - return getDeleteIssueModelMethod; - } - - private static volatile io.grpc.MethodDescriptor getDeployIssueModelMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "DeployIssueModel", - requestType = com.google.cloud.contactcenterinsights.v1.DeployIssueModelRequest.class, - responseType = com.google.longrunning.Operation.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getDeployIssueModelMethod() { - io.grpc.MethodDescriptor getDeployIssueModelMethod; - if ((getDeployIssueModelMethod = ContactCenterInsightsGrpc.getDeployIssueModelMethod) == null) { - synchronized (ContactCenterInsightsGrpc.class) { - if ((getDeployIssueModelMethod = ContactCenterInsightsGrpc.getDeployIssueModelMethod) == null) { - ContactCenterInsightsGrpc.getDeployIssueModelMethod = getDeployIssueModelMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "DeployIssueModel")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.contactcenterinsights.v1.DeployIssueModelRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.longrunning.Operation.getDefaultInstance())) - .setSchemaDescriptor(new ContactCenterInsightsMethodDescriptorSupplier("DeployIssueModel")) - .build(); - } - } - } - return getDeployIssueModelMethod; - } - - private static volatile io.grpc.MethodDescriptor getUndeployIssueModelMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "UndeployIssueModel", - requestType = com.google.cloud.contactcenterinsights.v1.UndeployIssueModelRequest.class, - responseType = com.google.longrunning.Operation.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getUndeployIssueModelMethod() { - io.grpc.MethodDescriptor getUndeployIssueModelMethod; - if ((getUndeployIssueModelMethod = ContactCenterInsightsGrpc.getUndeployIssueModelMethod) == null) { - synchronized (ContactCenterInsightsGrpc.class) { - if ((getUndeployIssueModelMethod = ContactCenterInsightsGrpc.getUndeployIssueModelMethod) == null) { - ContactCenterInsightsGrpc.getUndeployIssueModelMethod = getUndeployIssueModelMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "UndeployIssueModel")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.contactcenterinsights.v1.UndeployIssueModelRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.longrunning.Operation.getDefaultInstance())) - .setSchemaDescriptor(new ContactCenterInsightsMethodDescriptorSupplier("UndeployIssueModel")) - .build(); - } - } - } - return getUndeployIssueModelMethod; - } - - private static volatile io.grpc.MethodDescriptor getGetIssueMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "GetIssue", - requestType = com.google.cloud.contactcenterinsights.v1.GetIssueRequest.class, - responseType = com.google.cloud.contactcenterinsights.v1.Issue.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getGetIssueMethod() { - io.grpc.MethodDescriptor getGetIssueMethod; - if ((getGetIssueMethod = ContactCenterInsightsGrpc.getGetIssueMethod) == null) { - synchronized (ContactCenterInsightsGrpc.class) { - if ((getGetIssueMethod = ContactCenterInsightsGrpc.getGetIssueMethod) == null) { - ContactCenterInsightsGrpc.getGetIssueMethod = getGetIssueMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetIssue")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.contactcenterinsights.v1.GetIssueRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.contactcenterinsights.v1.Issue.getDefaultInstance())) - .setSchemaDescriptor(new ContactCenterInsightsMethodDescriptorSupplier("GetIssue")) - .build(); - } - } - } - return getGetIssueMethod; - } - - private static volatile io.grpc.MethodDescriptor getListIssuesMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "ListIssues", - requestType = com.google.cloud.contactcenterinsights.v1.ListIssuesRequest.class, - responseType = com.google.cloud.contactcenterinsights.v1.ListIssuesResponse.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getListIssuesMethod() { - io.grpc.MethodDescriptor getListIssuesMethod; - if ((getListIssuesMethod = ContactCenterInsightsGrpc.getListIssuesMethod) == null) { - synchronized (ContactCenterInsightsGrpc.class) { - if ((getListIssuesMethod = ContactCenterInsightsGrpc.getListIssuesMethod) == null) { - ContactCenterInsightsGrpc.getListIssuesMethod = getListIssuesMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListIssues")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.contactcenterinsights.v1.ListIssuesRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.contactcenterinsights.v1.ListIssuesResponse.getDefaultInstance())) - .setSchemaDescriptor(new ContactCenterInsightsMethodDescriptorSupplier("ListIssues")) - .build(); - } - } - } - return getListIssuesMethod; - } - - private static volatile io.grpc.MethodDescriptor getUpdateIssueMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "UpdateIssue", - requestType = com.google.cloud.contactcenterinsights.v1.UpdateIssueRequest.class, - responseType = com.google.cloud.contactcenterinsights.v1.Issue.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getUpdateIssueMethod() { - io.grpc.MethodDescriptor getUpdateIssueMethod; - if ((getUpdateIssueMethod = ContactCenterInsightsGrpc.getUpdateIssueMethod) == null) { - synchronized (ContactCenterInsightsGrpc.class) { - if ((getUpdateIssueMethod = ContactCenterInsightsGrpc.getUpdateIssueMethod) == null) { - ContactCenterInsightsGrpc.getUpdateIssueMethod = getUpdateIssueMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "UpdateIssue")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.contactcenterinsights.v1.UpdateIssueRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.contactcenterinsights.v1.Issue.getDefaultInstance())) - .setSchemaDescriptor(new ContactCenterInsightsMethodDescriptorSupplier("UpdateIssue")) - .build(); - } - } - } - return getUpdateIssueMethod; - } - - private static volatile io.grpc.MethodDescriptor getDeleteIssueMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "DeleteIssue", - requestType = com.google.cloud.contactcenterinsights.v1.DeleteIssueRequest.class, - responseType = com.google.protobuf.Empty.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getDeleteIssueMethod() { - io.grpc.MethodDescriptor getDeleteIssueMethod; - if ((getDeleteIssueMethod = ContactCenterInsightsGrpc.getDeleteIssueMethod) == null) { - synchronized (ContactCenterInsightsGrpc.class) { - if ((getDeleteIssueMethod = ContactCenterInsightsGrpc.getDeleteIssueMethod) == null) { - ContactCenterInsightsGrpc.getDeleteIssueMethod = getDeleteIssueMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "DeleteIssue")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.contactcenterinsights.v1.DeleteIssueRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.protobuf.Empty.getDefaultInstance())) - .setSchemaDescriptor(new ContactCenterInsightsMethodDescriptorSupplier("DeleteIssue")) - .build(); - } - } - } - return getDeleteIssueMethod; - } - - private static volatile io.grpc.MethodDescriptor getCalculateIssueModelStatsMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "CalculateIssueModelStats", - requestType = com.google.cloud.contactcenterinsights.v1.CalculateIssueModelStatsRequest.class, - responseType = com.google.cloud.contactcenterinsights.v1.CalculateIssueModelStatsResponse.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getCalculateIssueModelStatsMethod() { - io.grpc.MethodDescriptor getCalculateIssueModelStatsMethod; - if ((getCalculateIssueModelStatsMethod = ContactCenterInsightsGrpc.getCalculateIssueModelStatsMethod) == null) { - synchronized (ContactCenterInsightsGrpc.class) { - if ((getCalculateIssueModelStatsMethod = ContactCenterInsightsGrpc.getCalculateIssueModelStatsMethod) == null) { - ContactCenterInsightsGrpc.getCalculateIssueModelStatsMethod = getCalculateIssueModelStatsMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "CalculateIssueModelStats")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.contactcenterinsights.v1.CalculateIssueModelStatsRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.contactcenterinsights.v1.CalculateIssueModelStatsResponse.getDefaultInstance())) - .setSchemaDescriptor(new ContactCenterInsightsMethodDescriptorSupplier("CalculateIssueModelStats")) - .build(); - } - } - } - return getCalculateIssueModelStatsMethod; - } - - private static volatile io.grpc.MethodDescriptor getCreatePhraseMatcherMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "CreatePhraseMatcher", - requestType = com.google.cloud.contactcenterinsights.v1.CreatePhraseMatcherRequest.class, - responseType = com.google.cloud.contactcenterinsights.v1.PhraseMatcher.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getCreatePhraseMatcherMethod() { - io.grpc.MethodDescriptor getCreatePhraseMatcherMethod; - if ((getCreatePhraseMatcherMethod = ContactCenterInsightsGrpc.getCreatePhraseMatcherMethod) == null) { - synchronized (ContactCenterInsightsGrpc.class) { - if ((getCreatePhraseMatcherMethod = ContactCenterInsightsGrpc.getCreatePhraseMatcherMethod) == null) { - ContactCenterInsightsGrpc.getCreatePhraseMatcherMethod = getCreatePhraseMatcherMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "CreatePhraseMatcher")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.contactcenterinsights.v1.CreatePhraseMatcherRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.contactcenterinsights.v1.PhraseMatcher.getDefaultInstance())) - .setSchemaDescriptor(new ContactCenterInsightsMethodDescriptorSupplier("CreatePhraseMatcher")) - .build(); - } - } - } - return getCreatePhraseMatcherMethod; - } - - private static volatile io.grpc.MethodDescriptor getGetPhraseMatcherMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "GetPhraseMatcher", - requestType = com.google.cloud.contactcenterinsights.v1.GetPhraseMatcherRequest.class, - responseType = com.google.cloud.contactcenterinsights.v1.PhraseMatcher.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getGetPhraseMatcherMethod() { - io.grpc.MethodDescriptor getGetPhraseMatcherMethod; - if ((getGetPhraseMatcherMethod = ContactCenterInsightsGrpc.getGetPhraseMatcherMethod) == null) { - synchronized (ContactCenterInsightsGrpc.class) { - if ((getGetPhraseMatcherMethod = ContactCenterInsightsGrpc.getGetPhraseMatcherMethod) == null) { - ContactCenterInsightsGrpc.getGetPhraseMatcherMethod = getGetPhraseMatcherMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetPhraseMatcher")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.contactcenterinsights.v1.GetPhraseMatcherRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.contactcenterinsights.v1.PhraseMatcher.getDefaultInstance())) - .setSchemaDescriptor(new ContactCenterInsightsMethodDescriptorSupplier("GetPhraseMatcher")) - .build(); - } - } - } - return getGetPhraseMatcherMethod; - } - - private static volatile io.grpc.MethodDescriptor getListPhraseMatchersMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "ListPhraseMatchers", - requestType = com.google.cloud.contactcenterinsights.v1.ListPhraseMatchersRequest.class, - responseType = com.google.cloud.contactcenterinsights.v1.ListPhraseMatchersResponse.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getListPhraseMatchersMethod() { - io.grpc.MethodDescriptor getListPhraseMatchersMethod; - if ((getListPhraseMatchersMethod = ContactCenterInsightsGrpc.getListPhraseMatchersMethod) == null) { - synchronized (ContactCenterInsightsGrpc.class) { - if ((getListPhraseMatchersMethod = ContactCenterInsightsGrpc.getListPhraseMatchersMethod) == null) { - ContactCenterInsightsGrpc.getListPhraseMatchersMethod = getListPhraseMatchersMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListPhraseMatchers")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.contactcenterinsights.v1.ListPhraseMatchersRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.contactcenterinsights.v1.ListPhraseMatchersResponse.getDefaultInstance())) - .setSchemaDescriptor(new ContactCenterInsightsMethodDescriptorSupplier("ListPhraseMatchers")) - .build(); - } - } - } - return getListPhraseMatchersMethod; - } - - private static volatile io.grpc.MethodDescriptor getDeletePhraseMatcherMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "DeletePhraseMatcher", - requestType = com.google.cloud.contactcenterinsights.v1.DeletePhraseMatcherRequest.class, - responseType = com.google.protobuf.Empty.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getDeletePhraseMatcherMethod() { - io.grpc.MethodDescriptor getDeletePhraseMatcherMethod; - if ((getDeletePhraseMatcherMethod = ContactCenterInsightsGrpc.getDeletePhraseMatcherMethod) == null) { - synchronized (ContactCenterInsightsGrpc.class) { - if ((getDeletePhraseMatcherMethod = ContactCenterInsightsGrpc.getDeletePhraseMatcherMethod) == null) { - ContactCenterInsightsGrpc.getDeletePhraseMatcherMethod = getDeletePhraseMatcherMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "DeletePhraseMatcher")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.contactcenterinsights.v1.DeletePhraseMatcherRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.protobuf.Empty.getDefaultInstance())) - .setSchemaDescriptor(new ContactCenterInsightsMethodDescriptorSupplier("DeletePhraseMatcher")) - .build(); - } - } - } - return getDeletePhraseMatcherMethod; - } - - private static volatile io.grpc.MethodDescriptor getUpdatePhraseMatcherMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "UpdatePhraseMatcher", - requestType = com.google.cloud.contactcenterinsights.v1.UpdatePhraseMatcherRequest.class, - responseType = com.google.cloud.contactcenterinsights.v1.PhraseMatcher.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getUpdatePhraseMatcherMethod() { - io.grpc.MethodDescriptor getUpdatePhraseMatcherMethod; - if ((getUpdatePhraseMatcherMethod = ContactCenterInsightsGrpc.getUpdatePhraseMatcherMethod) == null) { - synchronized (ContactCenterInsightsGrpc.class) { - if ((getUpdatePhraseMatcherMethod = ContactCenterInsightsGrpc.getUpdatePhraseMatcherMethod) == null) { - ContactCenterInsightsGrpc.getUpdatePhraseMatcherMethod = getUpdatePhraseMatcherMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "UpdatePhraseMatcher")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.contactcenterinsights.v1.UpdatePhraseMatcherRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.contactcenterinsights.v1.PhraseMatcher.getDefaultInstance())) - .setSchemaDescriptor(new ContactCenterInsightsMethodDescriptorSupplier("UpdatePhraseMatcher")) - .build(); - } - } - } - return getUpdatePhraseMatcherMethod; - } - - private static volatile io.grpc.MethodDescriptor getCalculateStatsMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "CalculateStats", - requestType = com.google.cloud.contactcenterinsights.v1.CalculateStatsRequest.class, - responseType = com.google.cloud.contactcenterinsights.v1.CalculateStatsResponse.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getCalculateStatsMethod() { - io.grpc.MethodDescriptor getCalculateStatsMethod; - if ((getCalculateStatsMethod = ContactCenterInsightsGrpc.getCalculateStatsMethod) == null) { - synchronized (ContactCenterInsightsGrpc.class) { - if ((getCalculateStatsMethod = ContactCenterInsightsGrpc.getCalculateStatsMethod) == null) { - ContactCenterInsightsGrpc.getCalculateStatsMethod = getCalculateStatsMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "CalculateStats")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.contactcenterinsights.v1.CalculateStatsRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.contactcenterinsights.v1.CalculateStatsResponse.getDefaultInstance())) - .setSchemaDescriptor(new ContactCenterInsightsMethodDescriptorSupplier("CalculateStats")) - .build(); - } - } - } - return getCalculateStatsMethod; - } - - private static volatile io.grpc.MethodDescriptor getGetSettingsMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "GetSettings", - requestType = com.google.cloud.contactcenterinsights.v1.GetSettingsRequest.class, - responseType = com.google.cloud.contactcenterinsights.v1.Settings.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getGetSettingsMethod() { - io.grpc.MethodDescriptor getGetSettingsMethod; - if ((getGetSettingsMethod = ContactCenterInsightsGrpc.getGetSettingsMethod) == null) { - synchronized (ContactCenterInsightsGrpc.class) { - if ((getGetSettingsMethod = ContactCenterInsightsGrpc.getGetSettingsMethod) == null) { - ContactCenterInsightsGrpc.getGetSettingsMethod = getGetSettingsMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetSettings")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.contactcenterinsights.v1.GetSettingsRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.contactcenterinsights.v1.Settings.getDefaultInstance())) - .setSchemaDescriptor(new ContactCenterInsightsMethodDescriptorSupplier("GetSettings")) - .build(); - } - } - } - return getGetSettingsMethod; - } - - private static volatile io.grpc.MethodDescriptor getUpdateSettingsMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "UpdateSettings", - requestType = com.google.cloud.contactcenterinsights.v1.UpdateSettingsRequest.class, - responseType = com.google.cloud.contactcenterinsights.v1.Settings.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getUpdateSettingsMethod() { - io.grpc.MethodDescriptor getUpdateSettingsMethod; - if ((getUpdateSettingsMethod = ContactCenterInsightsGrpc.getUpdateSettingsMethod) == null) { - synchronized (ContactCenterInsightsGrpc.class) { - if ((getUpdateSettingsMethod = ContactCenterInsightsGrpc.getUpdateSettingsMethod) == null) { - ContactCenterInsightsGrpc.getUpdateSettingsMethod = getUpdateSettingsMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "UpdateSettings")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.contactcenterinsights.v1.UpdateSettingsRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.contactcenterinsights.v1.Settings.getDefaultInstance())) - .setSchemaDescriptor(new ContactCenterInsightsMethodDescriptorSupplier("UpdateSettings")) - .build(); - } - } - } - return getUpdateSettingsMethod; - } - - private static volatile io.grpc.MethodDescriptor getCreateViewMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "CreateView", - requestType = com.google.cloud.contactcenterinsights.v1.CreateViewRequest.class, - responseType = com.google.cloud.contactcenterinsights.v1.View.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getCreateViewMethod() { - io.grpc.MethodDescriptor getCreateViewMethod; - if ((getCreateViewMethod = ContactCenterInsightsGrpc.getCreateViewMethod) == null) { - synchronized (ContactCenterInsightsGrpc.class) { - if ((getCreateViewMethod = ContactCenterInsightsGrpc.getCreateViewMethod) == null) { - ContactCenterInsightsGrpc.getCreateViewMethod = getCreateViewMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "CreateView")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.contactcenterinsights.v1.CreateViewRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.contactcenterinsights.v1.View.getDefaultInstance())) - .setSchemaDescriptor(new ContactCenterInsightsMethodDescriptorSupplier("CreateView")) - .build(); - } - } - } - return getCreateViewMethod; - } - - private static volatile io.grpc.MethodDescriptor getGetViewMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "GetView", - requestType = com.google.cloud.contactcenterinsights.v1.GetViewRequest.class, - responseType = com.google.cloud.contactcenterinsights.v1.View.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getGetViewMethod() { - io.grpc.MethodDescriptor getGetViewMethod; - if ((getGetViewMethod = ContactCenterInsightsGrpc.getGetViewMethod) == null) { - synchronized (ContactCenterInsightsGrpc.class) { - if ((getGetViewMethod = ContactCenterInsightsGrpc.getGetViewMethod) == null) { - ContactCenterInsightsGrpc.getGetViewMethod = getGetViewMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetView")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.contactcenterinsights.v1.GetViewRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.contactcenterinsights.v1.View.getDefaultInstance())) - .setSchemaDescriptor(new ContactCenterInsightsMethodDescriptorSupplier("GetView")) - .build(); - } - } - } - return getGetViewMethod; - } - - private static volatile io.grpc.MethodDescriptor getListViewsMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "ListViews", - requestType = com.google.cloud.contactcenterinsights.v1.ListViewsRequest.class, - responseType = com.google.cloud.contactcenterinsights.v1.ListViewsResponse.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getListViewsMethod() { - io.grpc.MethodDescriptor getListViewsMethod; - if ((getListViewsMethod = ContactCenterInsightsGrpc.getListViewsMethod) == null) { - synchronized (ContactCenterInsightsGrpc.class) { - if ((getListViewsMethod = ContactCenterInsightsGrpc.getListViewsMethod) == null) { - ContactCenterInsightsGrpc.getListViewsMethod = getListViewsMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListViews")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.contactcenterinsights.v1.ListViewsRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.contactcenterinsights.v1.ListViewsResponse.getDefaultInstance())) - .setSchemaDescriptor(new ContactCenterInsightsMethodDescriptorSupplier("ListViews")) - .build(); - } - } - } - return getListViewsMethod; - } - - private static volatile io.grpc.MethodDescriptor getUpdateViewMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "UpdateView", - requestType = com.google.cloud.contactcenterinsights.v1.UpdateViewRequest.class, - responseType = com.google.cloud.contactcenterinsights.v1.View.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getUpdateViewMethod() { - io.grpc.MethodDescriptor getUpdateViewMethod; - if ((getUpdateViewMethod = ContactCenterInsightsGrpc.getUpdateViewMethod) == null) { - synchronized (ContactCenterInsightsGrpc.class) { - if ((getUpdateViewMethod = ContactCenterInsightsGrpc.getUpdateViewMethod) == null) { - ContactCenterInsightsGrpc.getUpdateViewMethod = getUpdateViewMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "UpdateView")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.contactcenterinsights.v1.UpdateViewRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.contactcenterinsights.v1.View.getDefaultInstance())) - .setSchemaDescriptor(new ContactCenterInsightsMethodDescriptorSupplier("UpdateView")) - .build(); - } - } - } - return getUpdateViewMethod; - } - - private static volatile io.grpc.MethodDescriptor getDeleteViewMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "DeleteView", - requestType = com.google.cloud.contactcenterinsights.v1.DeleteViewRequest.class, - responseType = com.google.protobuf.Empty.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getDeleteViewMethod() { - io.grpc.MethodDescriptor getDeleteViewMethod; - if ((getDeleteViewMethod = ContactCenterInsightsGrpc.getDeleteViewMethod) == null) { - synchronized (ContactCenterInsightsGrpc.class) { - if ((getDeleteViewMethod = ContactCenterInsightsGrpc.getDeleteViewMethod) == null) { - ContactCenterInsightsGrpc.getDeleteViewMethod = getDeleteViewMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "DeleteView")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.contactcenterinsights.v1.DeleteViewRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.protobuf.Empty.getDefaultInstance())) - .setSchemaDescriptor(new ContactCenterInsightsMethodDescriptorSupplier("DeleteView")) - .build(); - } - } - } - return getDeleteViewMethod; - } - - /** - * Creates a new async stub that supports all call types for the service - */ - public static ContactCenterInsightsStub newStub(io.grpc.Channel channel) { - io.grpc.stub.AbstractStub.StubFactory factory = - new io.grpc.stub.AbstractStub.StubFactory() { - @java.lang.Override - public ContactCenterInsightsStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new ContactCenterInsightsStub(channel, callOptions); - } - }; - return ContactCenterInsightsStub.newStub(factory, channel); - } - - /** - * Creates a new blocking-style stub that supports unary and streaming output calls on the service - */ - public static ContactCenterInsightsBlockingStub newBlockingStub( - io.grpc.Channel channel) { - io.grpc.stub.AbstractStub.StubFactory factory = - new io.grpc.stub.AbstractStub.StubFactory() { - @java.lang.Override - public ContactCenterInsightsBlockingStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new ContactCenterInsightsBlockingStub(channel, callOptions); - } - }; - return ContactCenterInsightsBlockingStub.newStub(factory, channel); - } - - /** - * Creates a new ListenableFuture-style stub that supports unary calls on the service - */ - public static ContactCenterInsightsFutureStub newFutureStub( - io.grpc.Channel channel) { - io.grpc.stub.AbstractStub.StubFactory factory = - new io.grpc.stub.AbstractStub.StubFactory() { - @java.lang.Override - public ContactCenterInsightsFutureStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new ContactCenterInsightsFutureStub(channel, callOptions); - } - }; - return ContactCenterInsightsFutureStub.newStub(factory, channel); - } - - /** - *
-   * An API that lets users analyze and explore their business conversation data.
-   * 
- */ - public static abstract class ContactCenterInsightsImplBase implements io.grpc.BindableService { - - /** - *
-     * Creates a conversation.
-     * 
- */ - public void createConversation(com.google.cloud.contactcenterinsights.v1.CreateConversationRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getCreateConversationMethod(), responseObserver); - } - - /** - *
-     * Updates a conversation.
-     * 
- */ - public void updateConversation(com.google.cloud.contactcenterinsights.v1.UpdateConversationRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getUpdateConversationMethod(), responseObserver); - } - - /** - *
-     * Gets a conversation.
-     * 
- */ - public void getConversation(com.google.cloud.contactcenterinsights.v1.GetConversationRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetConversationMethod(), responseObserver); - } - - /** - *
-     * Lists conversations.
-     * 
- */ - public void listConversations(com.google.cloud.contactcenterinsights.v1.ListConversationsRequest request, - io.grpc.stub.StreamObserver 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 responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getDeleteConversationMethod(), responseObserver); - } - - /** - *
-     * 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 responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getCreateAnalysisMethod(), responseObserver); - } - - /** - *
-     * Gets an analysis.
-     * 
- */ - public void getAnalysis(com.google.cloud.contactcenterinsights.v1.GetAnalysisRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetAnalysisMethod(), responseObserver); - } - - /** - *
-     * Lists analyses.
-     * 
- */ - public void listAnalyses(com.google.cloud.contactcenterinsights.v1.ListAnalysesRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getListAnalysesMethod(), responseObserver); - } - - /** - *
-     * Deletes an analysis.
-     * 
- */ - public void deleteAnalysis(com.google.cloud.contactcenterinsights.v1.DeleteAnalysisRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getDeleteAnalysisMethod(), responseObserver); - } - - /** - *
-     * Analyzes multiple conversations in a single request.
-     * 
- */ - public void bulkAnalyzeConversations(com.google.cloud.contactcenterinsights.v1.BulkAnalyzeConversationsRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getBulkAnalyzeConversationsMethod(), responseObserver); - } - - /** - *
-     * Imports conversations and processes them according to the user's
-     * configuration.
-     * 
- */ - public void ingestConversations(com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getIngestConversationsMethod(), responseObserver); - } - - /** - *
-     * 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 responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getExportInsightsDataMethod(), responseObserver); - } - - /** - *
-     * Creates an issue model.
-     * 
- */ - public void createIssueModel(com.google.cloud.contactcenterinsights.v1.CreateIssueModelRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getCreateIssueModelMethod(), responseObserver); - } - - /** - *
-     * Updates an issue model.
-     * 
- */ - public void updateIssueModel(com.google.cloud.contactcenterinsights.v1.UpdateIssueModelRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getUpdateIssueModelMethod(), responseObserver); - } - - /** - *
-     * Gets an issue model.
-     * 
- */ - public void getIssueModel(com.google.cloud.contactcenterinsights.v1.GetIssueModelRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetIssueModelMethod(), responseObserver); - } - - /** - *
-     * Lists issue models.
-     * 
- */ - public void listIssueModels(com.google.cloud.contactcenterinsights.v1.ListIssueModelsRequest request, - io.grpc.stub.StreamObserver 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 responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getDeleteIssueModelMethod(), responseObserver); - } - - /** - *
-     * 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 responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getDeployIssueModelMethod(), responseObserver); - } - - /** - *
-     * 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 responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getUndeployIssueModelMethod(), responseObserver); - } - - /** - *
-     * Gets an issue.
-     * 
- */ - public void getIssue(com.google.cloud.contactcenterinsights.v1.GetIssueRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetIssueMethod(), responseObserver); - } - - /** - *
-     * Lists issues.
-     * 
- */ - public void listIssues(com.google.cloud.contactcenterinsights.v1.ListIssuesRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getListIssuesMethod(), responseObserver); - } - - /** - *
-     * Updates an issue.
-     * 
- */ - public void updateIssue(com.google.cloud.contactcenterinsights.v1.UpdateIssueRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getUpdateIssueMethod(), responseObserver); - } - - /** - *
-     * Deletes an issue.
-     * 
- */ - public void deleteIssue(com.google.cloud.contactcenterinsights.v1.DeleteIssueRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getDeleteIssueMethod(), responseObserver); - } - - /** - *
-     * Gets an issue model's statistics.
-     * 
- */ - public void calculateIssueModelStats(com.google.cloud.contactcenterinsights.v1.CalculateIssueModelStatsRequest request, - io.grpc.stub.StreamObserver 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 responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getCreatePhraseMatcherMethod(), responseObserver); - } - - /** - *
-     * Gets a phrase matcher.
-     * 
- */ - public void getPhraseMatcher(com.google.cloud.contactcenterinsights.v1.GetPhraseMatcherRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetPhraseMatcherMethod(), responseObserver); - } - - /** - *
-     * Lists phrase matchers.
-     * 
- */ - public void listPhraseMatchers(com.google.cloud.contactcenterinsights.v1.ListPhraseMatchersRequest request, - io.grpc.stub.StreamObserver 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 responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getDeletePhraseMatcherMethod(), responseObserver); - } - - /** - *
-     * Updates a phrase matcher.
-     * 
- */ - public void updatePhraseMatcher(com.google.cloud.contactcenterinsights.v1.UpdatePhraseMatcherRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getUpdatePhraseMatcherMethod(), responseObserver); - } - - /** - *
-     * Gets conversation statistics.
-     * 
- */ - public void calculateStats(com.google.cloud.contactcenterinsights.v1.CalculateStatsRequest request, - io.grpc.stub.StreamObserver 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 responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetSettingsMethod(), responseObserver); - } - - /** - *
-     * Updates project-level settings.
-     * 
- */ - public void updateSettings(com.google.cloud.contactcenterinsights.v1.UpdateSettingsRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getUpdateSettingsMethod(), responseObserver); - } - - /** - *
-     * Creates a view.
-     * 
- */ - public void createView(com.google.cloud.contactcenterinsights.v1.CreateViewRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getCreateViewMethod(), responseObserver); - } - - /** - *
-     * Gets a view.
-     * 
- */ - public void getView(com.google.cloud.contactcenterinsights.v1.GetViewRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetViewMethod(), responseObserver); - } - - /** - *
-     * Lists views.
-     * 
- */ - public void listViews(com.google.cloud.contactcenterinsights.v1.ListViewsRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getListViewsMethod(), responseObserver); - } - - /** - *
-     * Updates a view.
-     * 
- */ - public void updateView(com.google.cloud.contactcenterinsights.v1.UpdateViewRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getUpdateViewMethod(), responseObserver); - } - - /** - *
-     * Deletes a view.
-     * 
- */ - public void deleteView(com.google.cloud.contactcenterinsights.v1.DeleteViewRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getDeleteViewMethod(), responseObserver); - } - - @java.lang.Override public final io.grpc.ServerServiceDefinition bindService() { - return io.grpc.ServerServiceDefinition.builder(getServiceDescriptor()) - .addMethod( - getCreateConversationMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.contactcenterinsights.v1.CreateConversationRequest, - com.google.cloud.contactcenterinsights.v1.Conversation>( - this, METHODID_CREATE_CONVERSATION))) - .addMethod( - getUpdateConversationMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.contactcenterinsights.v1.UpdateConversationRequest, - com.google.cloud.contactcenterinsights.v1.Conversation>( - this, METHODID_UPDATE_CONVERSATION))) - .addMethod( - getGetConversationMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.contactcenterinsights.v1.GetConversationRequest, - com.google.cloud.contactcenterinsights.v1.Conversation>( - this, METHODID_GET_CONVERSATION))) - .addMethod( - getListConversationsMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.contactcenterinsights.v1.ListConversationsRequest, - com.google.cloud.contactcenterinsights.v1.ListConversationsResponse>( - this, METHODID_LIST_CONVERSATIONS))) - .addMethod( - getDeleteConversationMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.contactcenterinsights.v1.DeleteConversationRequest, - com.google.protobuf.Empty>( - this, METHODID_DELETE_CONVERSATION))) - .addMethod( - getCreateAnalysisMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.contactcenterinsights.v1.CreateAnalysisRequest, - com.google.longrunning.Operation>( - this, METHODID_CREATE_ANALYSIS))) - .addMethod( - getGetAnalysisMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.contactcenterinsights.v1.GetAnalysisRequest, - com.google.cloud.contactcenterinsights.v1.Analysis>( - this, METHODID_GET_ANALYSIS))) - .addMethod( - getListAnalysesMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.contactcenterinsights.v1.ListAnalysesRequest, - com.google.cloud.contactcenterinsights.v1.ListAnalysesResponse>( - this, METHODID_LIST_ANALYSES))) - .addMethod( - getDeleteAnalysisMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.contactcenterinsights.v1.DeleteAnalysisRequest, - com.google.protobuf.Empty>( - this, METHODID_DELETE_ANALYSIS))) - .addMethod( - getBulkAnalyzeConversationsMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.contactcenterinsights.v1.BulkAnalyzeConversationsRequest, - com.google.longrunning.Operation>( - this, METHODID_BULK_ANALYZE_CONVERSATIONS))) - .addMethod( - getIngestConversationsMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest, - com.google.longrunning.Operation>( - this, METHODID_INGEST_CONVERSATIONS))) - .addMethod( - getExportInsightsDataMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.contactcenterinsights.v1.ExportInsightsDataRequest, - com.google.longrunning.Operation>( - this, METHODID_EXPORT_INSIGHTS_DATA))) - .addMethod( - getCreateIssueModelMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.contactcenterinsights.v1.CreateIssueModelRequest, - com.google.longrunning.Operation>( - this, METHODID_CREATE_ISSUE_MODEL))) - .addMethod( - getUpdateIssueModelMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.contactcenterinsights.v1.UpdateIssueModelRequest, - com.google.cloud.contactcenterinsights.v1.IssueModel>( - this, METHODID_UPDATE_ISSUE_MODEL))) - .addMethod( - getGetIssueModelMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.contactcenterinsights.v1.GetIssueModelRequest, - com.google.cloud.contactcenterinsights.v1.IssueModel>( - this, METHODID_GET_ISSUE_MODEL))) - .addMethod( - getListIssueModelsMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.contactcenterinsights.v1.ListIssueModelsRequest, - com.google.cloud.contactcenterinsights.v1.ListIssueModelsResponse>( - this, METHODID_LIST_ISSUE_MODELS))) - .addMethod( - getDeleteIssueModelMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.contactcenterinsights.v1.DeleteIssueModelRequest, - com.google.longrunning.Operation>( - this, METHODID_DELETE_ISSUE_MODEL))) - .addMethod( - getDeployIssueModelMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.contactcenterinsights.v1.DeployIssueModelRequest, - com.google.longrunning.Operation>( - this, METHODID_DEPLOY_ISSUE_MODEL))) - .addMethod( - getUndeployIssueModelMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.contactcenterinsights.v1.UndeployIssueModelRequest, - com.google.longrunning.Operation>( - this, METHODID_UNDEPLOY_ISSUE_MODEL))) - .addMethod( - getGetIssueMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.contactcenterinsights.v1.GetIssueRequest, - com.google.cloud.contactcenterinsights.v1.Issue>( - this, METHODID_GET_ISSUE))) - .addMethod( - getListIssuesMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.contactcenterinsights.v1.ListIssuesRequest, - com.google.cloud.contactcenterinsights.v1.ListIssuesResponse>( - this, METHODID_LIST_ISSUES))) - .addMethod( - getUpdateIssueMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.contactcenterinsights.v1.UpdateIssueRequest, - com.google.cloud.contactcenterinsights.v1.Issue>( - this, METHODID_UPDATE_ISSUE))) - .addMethod( - getDeleteIssueMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.contactcenterinsights.v1.DeleteIssueRequest, - com.google.protobuf.Empty>( - this, METHODID_DELETE_ISSUE))) - .addMethod( - getCalculateIssueModelStatsMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.contactcenterinsights.v1.CalculateIssueModelStatsRequest, - com.google.cloud.contactcenterinsights.v1.CalculateIssueModelStatsResponse>( - this, METHODID_CALCULATE_ISSUE_MODEL_STATS))) - .addMethod( - getCreatePhraseMatcherMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.contactcenterinsights.v1.CreatePhraseMatcherRequest, - com.google.cloud.contactcenterinsights.v1.PhraseMatcher>( - this, METHODID_CREATE_PHRASE_MATCHER))) - .addMethod( - getGetPhraseMatcherMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.contactcenterinsights.v1.GetPhraseMatcherRequest, - com.google.cloud.contactcenterinsights.v1.PhraseMatcher>( - this, METHODID_GET_PHRASE_MATCHER))) - .addMethod( - getListPhraseMatchersMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.contactcenterinsights.v1.ListPhraseMatchersRequest, - com.google.cloud.contactcenterinsights.v1.ListPhraseMatchersResponse>( - this, METHODID_LIST_PHRASE_MATCHERS))) - .addMethod( - getDeletePhraseMatcherMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.contactcenterinsights.v1.DeletePhraseMatcherRequest, - com.google.protobuf.Empty>( - this, METHODID_DELETE_PHRASE_MATCHER))) - .addMethod( - getUpdatePhraseMatcherMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.contactcenterinsights.v1.UpdatePhraseMatcherRequest, - com.google.cloud.contactcenterinsights.v1.PhraseMatcher>( - this, METHODID_UPDATE_PHRASE_MATCHER))) - .addMethod( - getCalculateStatsMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.contactcenterinsights.v1.CalculateStatsRequest, - com.google.cloud.contactcenterinsights.v1.CalculateStatsResponse>( - this, METHODID_CALCULATE_STATS))) - .addMethod( - getGetSettingsMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.contactcenterinsights.v1.GetSettingsRequest, - com.google.cloud.contactcenterinsights.v1.Settings>( - this, METHODID_GET_SETTINGS))) - .addMethod( - getUpdateSettingsMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.contactcenterinsights.v1.UpdateSettingsRequest, - com.google.cloud.contactcenterinsights.v1.Settings>( - this, METHODID_UPDATE_SETTINGS))) - .addMethod( - getCreateViewMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.contactcenterinsights.v1.CreateViewRequest, - com.google.cloud.contactcenterinsights.v1.View>( - this, METHODID_CREATE_VIEW))) - .addMethod( - getGetViewMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.contactcenterinsights.v1.GetViewRequest, - com.google.cloud.contactcenterinsights.v1.View>( - this, METHODID_GET_VIEW))) - .addMethod( - getListViewsMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.contactcenterinsights.v1.ListViewsRequest, - com.google.cloud.contactcenterinsights.v1.ListViewsResponse>( - this, METHODID_LIST_VIEWS))) - .addMethod( - getUpdateViewMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.contactcenterinsights.v1.UpdateViewRequest, - com.google.cloud.contactcenterinsights.v1.View>( - this, METHODID_UPDATE_VIEW))) - .addMethod( - getDeleteViewMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.contactcenterinsights.v1.DeleteViewRequest, - com.google.protobuf.Empty>( - this, METHODID_DELETE_VIEW))) - .build(); - } - } - - /** - *
-   * An API that lets users analyze and explore their business conversation data.
-   * 
- */ - public static final class ContactCenterInsightsStub extends io.grpc.stub.AbstractAsyncStub { - private ContactCenterInsightsStub( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - super(channel, callOptions); - } - - @java.lang.Override - protected ContactCenterInsightsStub build( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new ContactCenterInsightsStub(channel, callOptions); - } - - /** - *
-     * Creates a conversation.
-     * 
- */ - public void createConversation(com.google.cloud.contactcenterinsights.v1.CreateConversationRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getCreateConversationMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Updates a conversation.
-     * 
- */ - public void updateConversation(com.google.cloud.contactcenterinsights.v1.UpdateConversationRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getUpdateConversationMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Gets a conversation.
-     * 
- */ - public void getConversation(com.google.cloud.contactcenterinsights.v1.GetConversationRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getGetConversationMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Lists conversations.
-     * 
- */ - public void listConversations(com.google.cloud.contactcenterinsights.v1.ListConversationsRequest request, - io.grpc.stub.StreamObserver 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 responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getDeleteConversationMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * 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 responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getCreateAnalysisMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Gets an analysis.
-     * 
- */ - public void getAnalysis(com.google.cloud.contactcenterinsights.v1.GetAnalysisRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getGetAnalysisMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Lists analyses.
-     * 
- */ - public void listAnalyses(com.google.cloud.contactcenterinsights.v1.ListAnalysesRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getListAnalysesMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Deletes an analysis.
-     * 
- */ - public void deleteAnalysis(com.google.cloud.contactcenterinsights.v1.DeleteAnalysisRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getDeleteAnalysisMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Analyzes multiple conversations in a single request.
-     * 
- */ - public void bulkAnalyzeConversations(com.google.cloud.contactcenterinsights.v1.BulkAnalyzeConversationsRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getBulkAnalyzeConversationsMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Imports conversations and processes them according to the user's
-     * configuration.
-     * 
- */ - public void ingestConversations(com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getIngestConversationsMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * 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 responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getExportInsightsDataMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Creates an issue model.
-     * 
- */ - public void createIssueModel(com.google.cloud.contactcenterinsights.v1.CreateIssueModelRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getCreateIssueModelMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Updates an issue model.
-     * 
- */ - public void updateIssueModel(com.google.cloud.contactcenterinsights.v1.UpdateIssueModelRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getUpdateIssueModelMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Gets an issue model.
-     * 
- */ - public void getIssueModel(com.google.cloud.contactcenterinsights.v1.GetIssueModelRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getGetIssueModelMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Lists issue models.
-     * 
- */ - public void listIssueModels(com.google.cloud.contactcenterinsights.v1.ListIssueModelsRequest request, - io.grpc.stub.StreamObserver 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 responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getDeleteIssueModelMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * 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 responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getDeployIssueModelMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * 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 responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getUndeployIssueModelMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Gets an issue.
-     * 
- */ - public void getIssue(com.google.cloud.contactcenterinsights.v1.GetIssueRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getGetIssueMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Lists issues.
-     * 
- */ - public void listIssues(com.google.cloud.contactcenterinsights.v1.ListIssuesRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getListIssuesMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Updates an issue.
-     * 
- */ - public void updateIssue(com.google.cloud.contactcenterinsights.v1.UpdateIssueRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getUpdateIssueMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Deletes an issue.
-     * 
- */ - public void deleteIssue(com.google.cloud.contactcenterinsights.v1.DeleteIssueRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getDeleteIssueMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Gets an issue model's statistics.
-     * 
- */ - public void calculateIssueModelStats(com.google.cloud.contactcenterinsights.v1.CalculateIssueModelStatsRequest request, - io.grpc.stub.StreamObserver 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 responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getCreatePhraseMatcherMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Gets a phrase matcher.
-     * 
- */ - public void getPhraseMatcher(com.google.cloud.contactcenterinsights.v1.GetPhraseMatcherRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getGetPhraseMatcherMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Lists phrase matchers.
-     * 
- */ - public void listPhraseMatchers(com.google.cloud.contactcenterinsights.v1.ListPhraseMatchersRequest request, - io.grpc.stub.StreamObserver 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 responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getDeletePhraseMatcherMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Updates a phrase matcher.
-     * 
- */ - public void updatePhraseMatcher(com.google.cloud.contactcenterinsights.v1.UpdatePhraseMatcherRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getUpdatePhraseMatcherMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Gets conversation statistics.
-     * 
- */ - public void calculateStats(com.google.cloud.contactcenterinsights.v1.CalculateStatsRequest request, - io.grpc.stub.StreamObserver 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 responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getGetSettingsMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Updates project-level settings.
-     * 
- */ - public void updateSettings(com.google.cloud.contactcenterinsights.v1.UpdateSettingsRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getUpdateSettingsMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Creates a view.
-     * 
- */ - public void createView(com.google.cloud.contactcenterinsights.v1.CreateViewRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getCreateViewMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Gets a view.
-     * 
- */ - public void getView(com.google.cloud.contactcenterinsights.v1.GetViewRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getGetViewMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Lists views.
-     * 
- */ - public void listViews(com.google.cloud.contactcenterinsights.v1.ListViewsRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getListViewsMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Updates a view.
-     * 
- */ - public void updateView(com.google.cloud.contactcenterinsights.v1.UpdateViewRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getUpdateViewMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Deletes a view.
-     * 
- */ - public void deleteView(com.google.cloud.contactcenterinsights.v1.DeleteViewRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getDeleteViewMethod(), getCallOptions()), request, responseObserver); - } - } - - /** - *
-   * An API that lets users analyze and explore their business conversation data.
-   * 
- */ - public static final class ContactCenterInsightsBlockingStub extends io.grpc.stub.AbstractBlockingStub { - private ContactCenterInsightsBlockingStub( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - super(channel, callOptions); - } - - @java.lang.Override - protected ContactCenterInsightsBlockingStub build( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new ContactCenterInsightsBlockingStub(channel, callOptions); - } - - /** - *
-     * 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); - } - - /** - *
-     * Analyzes multiple conversations in a single request.
-     * 
- */ - public com.google.longrunning.Operation bulkAnalyzeConversations(com.google.cloud.contactcenterinsights.v1.BulkAnalyzeConversationsRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getBulkAnalyzeConversationsMethod(), getCallOptions(), request); - } - - /** - *
-     * Imports conversations and processes them according to the user's
-     * configuration.
-     * 
- */ - public com.google.longrunning.Operation ingestConversations(com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getIngestConversationsMethod(), 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); - } - - /** - *
-     * Deletes an issue.
-     * 
- */ - public com.google.protobuf.Empty deleteIssue(com.google.cloud.contactcenterinsights.v1.DeleteIssueRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getDeleteIssueMethod(), 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 { - private ContactCenterInsightsFutureStub( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - super(channel, callOptions); - } - - @java.lang.Override - protected ContactCenterInsightsFutureStub build( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new ContactCenterInsightsFutureStub(channel, callOptions); - } - - /** - *
-     * Creates a conversation.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture 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 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 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 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 deleteConversation( - com.google.cloud.contactcenterinsights.v1.DeleteConversationRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getDeleteConversationMethod(), getCallOptions()), request); - } - - /** - *
-     * Creates an analysis. The long running operation is done when the analysis
-     * has completed.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture createAnalysis( - com.google.cloud.contactcenterinsights.v1.CreateAnalysisRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getCreateAnalysisMethod(), getCallOptions()), request); - } - - /** - *
-     * Gets an analysis.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture 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 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 deleteAnalysis( - com.google.cloud.contactcenterinsights.v1.DeleteAnalysisRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getDeleteAnalysisMethod(), getCallOptions()), request); - } - - /** - *
-     * Analyzes multiple conversations in a single request.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture bulkAnalyzeConversations( - com.google.cloud.contactcenterinsights.v1.BulkAnalyzeConversationsRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getBulkAnalyzeConversationsMethod(), getCallOptions()), request); - } - - /** - *
-     * Imports conversations and processes them according to the user's
-     * configuration.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture ingestConversations( - com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getIngestConversationsMethod(), getCallOptions()), request); - } - - /** - *
-     * Export insights data to a destination defined in the request body.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture exportInsightsData( - com.google.cloud.contactcenterinsights.v1.ExportInsightsDataRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getExportInsightsDataMethod(), getCallOptions()), request); - } - - /** - *
-     * Creates an issue model.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture createIssueModel( - com.google.cloud.contactcenterinsights.v1.CreateIssueModelRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getCreateIssueModelMethod(), getCallOptions()), request); - } - - /** - *
-     * Updates an issue model.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture 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 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 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 deleteIssueModel( - com.google.cloud.contactcenterinsights.v1.DeleteIssueModelRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(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.common.util.concurrent.ListenableFuture deployIssueModel( - com.google.cloud.contactcenterinsights.v1.DeployIssueModelRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getDeployIssueModelMethod(), getCallOptions()), request); - } - - /** - *
-     * 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 undeployIssueModel( - com.google.cloud.contactcenterinsights.v1.UndeployIssueModelRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getUndeployIssueModelMethod(), getCallOptions()), request); - } - - /** - *
-     * Gets an issue.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture 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 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 updateIssue( - com.google.cloud.contactcenterinsights.v1.UpdateIssueRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getUpdateIssueMethod(), getCallOptions()), request); - } - - /** - *
-     * Deletes an issue.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture deleteIssue( - com.google.cloud.contactcenterinsights.v1.DeleteIssueRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getDeleteIssueMethod(), getCallOptions()), request); - } - - /** - *
-     * Gets an issue model's statistics.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture 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 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 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 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 deletePhraseMatcher( - com.google.cloud.contactcenterinsights.v1.DeletePhraseMatcherRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getDeletePhraseMatcherMethod(), getCallOptions()), request); - } - - /** - *
-     * Updates a phrase matcher.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture 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 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 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 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 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 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 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 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 deleteView( - com.google.cloud.contactcenterinsights.v1.DeleteViewRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getDeleteViewMethod(), getCallOptions()), request); - } - } - - private static final int METHODID_CREATE_CONVERSATION = 0; - private static final int METHODID_UPDATE_CONVERSATION = 1; - private static final int METHODID_GET_CONVERSATION = 2; - private static final int METHODID_LIST_CONVERSATIONS = 3; - private static final int METHODID_DELETE_CONVERSATION = 4; - private static final int METHODID_CREATE_ANALYSIS = 5; - private static final int METHODID_GET_ANALYSIS = 6; - private static final int METHODID_LIST_ANALYSES = 7; - private static final int METHODID_DELETE_ANALYSIS = 8; - private static final int METHODID_BULK_ANALYZE_CONVERSATIONS = 9; - private static final int METHODID_INGEST_CONVERSATIONS = 10; - private static final int METHODID_EXPORT_INSIGHTS_DATA = 11; - private static final int METHODID_CREATE_ISSUE_MODEL = 12; - private static final int METHODID_UPDATE_ISSUE_MODEL = 13; - private static final int METHODID_GET_ISSUE_MODEL = 14; - private static final int METHODID_LIST_ISSUE_MODELS = 15; - private static final int METHODID_DELETE_ISSUE_MODEL = 16; - private static final int METHODID_DEPLOY_ISSUE_MODEL = 17; - private static final int METHODID_UNDEPLOY_ISSUE_MODEL = 18; - private static final int METHODID_GET_ISSUE = 19; - private static final int METHODID_LIST_ISSUES = 20; - private static final int METHODID_UPDATE_ISSUE = 21; - private static final int METHODID_DELETE_ISSUE = 22; - private static final int METHODID_CALCULATE_ISSUE_MODEL_STATS = 23; - private static final int METHODID_CREATE_PHRASE_MATCHER = 24; - private static final int METHODID_GET_PHRASE_MATCHER = 25; - private static final int METHODID_LIST_PHRASE_MATCHERS = 26; - private static final int METHODID_DELETE_PHRASE_MATCHER = 27; - private static final int METHODID_UPDATE_PHRASE_MATCHER = 28; - private static final int METHODID_CALCULATE_STATS = 29; - private static final int METHODID_GET_SETTINGS = 30; - private static final int METHODID_UPDATE_SETTINGS = 31; - private static final int METHODID_CREATE_VIEW = 32; - private static final int METHODID_GET_VIEW = 33; - private static final int METHODID_LIST_VIEWS = 34; - private static final int METHODID_UPDATE_VIEW = 35; - private static final int METHODID_DELETE_VIEW = 36; - - private static final class MethodHandlers implements - io.grpc.stub.ServerCalls.UnaryMethod, - io.grpc.stub.ServerCalls.ServerStreamingMethod, - io.grpc.stub.ServerCalls.ClientStreamingMethod, - io.grpc.stub.ServerCalls.BidiStreamingMethod { - private final ContactCenterInsightsImplBase serviceImpl; - private final int methodId; - - MethodHandlers(ContactCenterInsightsImplBase serviceImpl, int methodId) { - this.serviceImpl = serviceImpl; - this.methodId = methodId; - } - - @java.lang.Override - @java.lang.SuppressWarnings("unchecked") - public void invoke(Req request, io.grpc.stub.StreamObserver responseObserver) { - switch (methodId) { - case METHODID_CREATE_CONVERSATION: - serviceImpl.createConversation((com.google.cloud.contactcenterinsights.v1.CreateConversationRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_UPDATE_CONVERSATION: - serviceImpl.updateConversation((com.google.cloud.contactcenterinsights.v1.UpdateConversationRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_GET_CONVERSATION: - serviceImpl.getConversation((com.google.cloud.contactcenterinsights.v1.GetConversationRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_LIST_CONVERSATIONS: - serviceImpl.listConversations((com.google.cloud.contactcenterinsights.v1.ListConversationsRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_DELETE_CONVERSATION: - serviceImpl.deleteConversation((com.google.cloud.contactcenterinsights.v1.DeleteConversationRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_CREATE_ANALYSIS: - serviceImpl.createAnalysis((com.google.cloud.contactcenterinsights.v1.CreateAnalysisRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_GET_ANALYSIS: - serviceImpl.getAnalysis((com.google.cloud.contactcenterinsights.v1.GetAnalysisRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_LIST_ANALYSES: - serviceImpl.listAnalyses((com.google.cloud.contactcenterinsights.v1.ListAnalysesRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_DELETE_ANALYSIS: - serviceImpl.deleteAnalysis((com.google.cloud.contactcenterinsights.v1.DeleteAnalysisRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_BULK_ANALYZE_CONVERSATIONS: - serviceImpl.bulkAnalyzeConversations((com.google.cloud.contactcenterinsights.v1.BulkAnalyzeConversationsRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_INGEST_CONVERSATIONS: - serviceImpl.ingestConversations((com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_EXPORT_INSIGHTS_DATA: - serviceImpl.exportInsightsData((com.google.cloud.contactcenterinsights.v1.ExportInsightsDataRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_CREATE_ISSUE_MODEL: - serviceImpl.createIssueModel((com.google.cloud.contactcenterinsights.v1.CreateIssueModelRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_UPDATE_ISSUE_MODEL: - serviceImpl.updateIssueModel((com.google.cloud.contactcenterinsights.v1.UpdateIssueModelRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_GET_ISSUE_MODEL: - serviceImpl.getIssueModel((com.google.cloud.contactcenterinsights.v1.GetIssueModelRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_LIST_ISSUE_MODELS: - serviceImpl.listIssueModels((com.google.cloud.contactcenterinsights.v1.ListIssueModelsRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_DELETE_ISSUE_MODEL: - serviceImpl.deleteIssueModel((com.google.cloud.contactcenterinsights.v1.DeleteIssueModelRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_DEPLOY_ISSUE_MODEL: - serviceImpl.deployIssueModel((com.google.cloud.contactcenterinsights.v1.DeployIssueModelRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_UNDEPLOY_ISSUE_MODEL: - serviceImpl.undeployIssueModel((com.google.cloud.contactcenterinsights.v1.UndeployIssueModelRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_GET_ISSUE: - serviceImpl.getIssue((com.google.cloud.contactcenterinsights.v1.GetIssueRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_LIST_ISSUES: - serviceImpl.listIssues((com.google.cloud.contactcenterinsights.v1.ListIssuesRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_UPDATE_ISSUE: - serviceImpl.updateIssue((com.google.cloud.contactcenterinsights.v1.UpdateIssueRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_DELETE_ISSUE: - serviceImpl.deleteIssue((com.google.cloud.contactcenterinsights.v1.DeleteIssueRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_CALCULATE_ISSUE_MODEL_STATS: - serviceImpl.calculateIssueModelStats((com.google.cloud.contactcenterinsights.v1.CalculateIssueModelStatsRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_CREATE_PHRASE_MATCHER: - serviceImpl.createPhraseMatcher((com.google.cloud.contactcenterinsights.v1.CreatePhraseMatcherRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_GET_PHRASE_MATCHER: - serviceImpl.getPhraseMatcher((com.google.cloud.contactcenterinsights.v1.GetPhraseMatcherRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_LIST_PHRASE_MATCHERS: - serviceImpl.listPhraseMatchers((com.google.cloud.contactcenterinsights.v1.ListPhraseMatchersRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_DELETE_PHRASE_MATCHER: - serviceImpl.deletePhraseMatcher((com.google.cloud.contactcenterinsights.v1.DeletePhraseMatcherRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_UPDATE_PHRASE_MATCHER: - serviceImpl.updatePhraseMatcher((com.google.cloud.contactcenterinsights.v1.UpdatePhraseMatcherRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_CALCULATE_STATS: - serviceImpl.calculateStats((com.google.cloud.contactcenterinsights.v1.CalculateStatsRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_GET_SETTINGS: - serviceImpl.getSettings((com.google.cloud.contactcenterinsights.v1.GetSettingsRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_UPDATE_SETTINGS: - serviceImpl.updateSettings((com.google.cloud.contactcenterinsights.v1.UpdateSettingsRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_CREATE_VIEW: - serviceImpl.createView((com.google.cloud.contactcenterinsights.v1.CreateViewRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_GET_VIEW: - serviceImpl.getView((com.google.cloud.contactcenterinsights.v1.GetViewRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_LIST_VIEWS: - serviceImpl.listViews((com.google.cloud.contactcenterinsights.v1.ListViewsRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_UPDATE_VIEW: - serviceImpl.updateView((com.google.cloud.contactcenterinsights.v1.UpdateViewRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_DELETE_VIEW: - serviceImpl.deleteView((com.google.cloud.contactcenterinsights.v1.DeleteViewRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - default: - throw new AssertionError(); - } - } - - @java.lang.Override - @java.lang.SuppressWarnings("unchecked") - public io.grpc.stub.StreamObserver invoke( - io.grpc.stub.StreamObserver responseObserver) { - switch (methodId) { - default: - throw new AssertionError(); - } - } - } - - private static abstract class ContactCenterInsightsBaseDescriptorSupplier - implements io.grpc.protobuf.ProtoFileDescriptorSupplier, io.grpc.protobuf.ProtoServiceDescriptorSupplier { - ContactCenterInsightsBaseDescriptorSupplier() {} - - @java.lang.Override - public com.google.protobuf.Descriptors.FileDescriptor getFileDescriptor() { - return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto.getDescriptor(); - } - - @java.lang.Override - public com.google.protobuf.Descriptors.ServiceDescriptor getServiceDescriptor() { - return getFileDescriptor().findServiceByName("ContactCenterInsights"); - } - } - - private static final class ContactCenterInsightsFileDescriptorSupplier - extends ContactCenterInsightsBaseDescriptorSupplier { - ContactCenterInsightsFileDescriptorSupplier() {} - } - - private static final class ContactCenterInsightsMethodDescriptorSupplier - extends ContactCenterInsightsBaseDescriptorSupplier - implements io.grpc.protobuf.ProtoMethodDescriptorSupplier { - private final String methodName; - - ContactCenterInsightsMethodDescriptorSupplier(String methodName) { - this.methodName = methodName; - } - - @java.lang.Override - public com.google.protobuf.Descriptors.MethodDescriptor getMethodDescriptor() { - return getServiceDescriptor().findMethodByName(methodName); - } - } - - private static volatile io.grpc.ServiceDescriptor serviceDescriptor; - - public static io.grpc.ServiceDescriptor getServiceDescriptor() { - io.grpc.ServiceDescriptor result = serviceDescriptor; - if (result == null) { - synchronized (ContactCenterInsightsGrpc.class) { - result = serviceDescriptor; - if (result == null) { - serviceDescriptor = result = io.grpc.ServiceDescriptor.newBuilder(SERVICE_NAME) - .setSchemaDescriptor(new ContactCenterInsightsFileDescriptorSupplier()) - .addMethod(getCreateConversationMethod()) - .addMethod(getUpdateConversationMethod()) - .addMethod(getGetConversationMethod()) - .addMethod(getListConversationsMethod()) - .addMethod(getDeleteConversationMethod()) - .addMethod(getCreateAnalysisMethod()) - .addMethod(getGetAnalysisMethod()) - .addMethod(getListAnalysesMethod()) - .addMethod(getDeleteAnalysisMethod()) - .addMethod(getBulkAnalyzeConversationsMethod()) - .addMethod(getIngestConversationsMethod()) - .addMethod(getExportInsightsDataMethod()) - .addMethod(getCreateIssueModelMethod()) - .addMethod(getUpdateIssueModelMethod()) - .addMethod(getGetIssueModelMethod()) - .addMethod(getListIssueModelsMethod()) - .addMethod(getDeleteIssueModelMethod()) - .addMethod(getDeployIssueModelMethod()) - .addMethod(getUndeployIssueModelMethod()) - .addMethod(getGetIssueMethod()) - .addMethod(getListIssuesMethod()) - .addMethod(getUpdateIssueMethod()) - .addMethod(getDeleteIssueMethod()) - .addMethod(getCalculateIssueModelStatsMethod()) - .addMethod(getCreatePhraseMatcherMethod()) - .addMethod(getGetPhraseMatcherMethod()) - .addMethod(getListPhraseMatchersMethod()) - .addMethod(getDeletePhraseMatcherMethod()) - .addMethod(getUpdatePhraseMatcherMethod()) - .addMethod(getCalculateStatsMethod()) - .addMethod(getGetSettingsMethod()) - .addMethod(getUpdateSettingsMethod()) - .addMethod(getCreateViewMethod()) - .addMethod(getGetViewMethod()) - .addMethod(getListViewsMethod()) - .addMethod(getUpdateViewMethod()) - .addMethod(getDeleteViewMethod()) - .build(); - } - } - } - return result; - } -} diff --git a/owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/CalculateIssueModelStatsRequestOrBuilder.java b/owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/CalculateIssueModelStatsRequestOrBuilder.java deleted file mode 100644 index b71270315f7b..000000000000 --- a/owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/CalculateIssueModelStatsRequestOrBuilder.java +++ /dev/null @@ -1,29 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/contactcenterinsights/v1/contact_center_insights.proto - -package com.google.cloud.contactcenterinsights.v1; - -public interface CalculateIssueModelStatsRequestOrBuilder extends - // @@protoc_insertion_point(interface_extends:google.cloud.contactcenterinsights.v1.CalculateIssueModelStatsRequest) - com.google.protobuf.MessageOrBuilder { - - /** - *
-   * Required. The resource name of the issue model to query against.
-   * 
- * - * string issue_model = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * @return The issueModel. - */ - java.lang.String getIssueModel(); - /** - *
-   * Required. The resource name of the issue model to query against.
-   * 
- * - * string issue_model = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * @return The bytes for issueModel. - */ - com.google.protobuf.ByteString - getIssueModelBytes(); -} diff --git a/owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ContactCenterInsightsProto.java b/owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ContactCenterInsightsProto.java deleted file mode 100644 index 9f4fdbc4a1dc..000000000000 --- a/owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ContactCenterInsightsProto.java +++ /dev/null @@ -1,1314 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/contactcenterinsights/v1/contact_center_insights.proto - -package com.google.cloud.contactcenterinsights.v1; - -public final class ContactCenterInsightsProto { - private ContactCenterInsightsProto() {} - public static void registerAllExtensions( - com.google.protobuf.ExtensionRegistryLite registry) { - } - - public static void registerAllExtensions( - com.google.protobuf.ExtensionRegistry registry) { - registerAllExtensions( - (com.google.protobuf.ExtensionRegistryLite) registry); - } - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_contactcenterinsights_v1_CalculateStatsRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_contactcenterinsights_v1_CalculateStatsRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_contactcenterinsights_v1_CalculateStatsResponse_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_contactcenterinsights_v1_CalculateStatsResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_contactcenterinsights_v1_CalculateStatsResponse_TimeSeries_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_contactcenterinsights_v1_CalculateStatsResponse_TimeSeries_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_contactcenterinsights_v1_CalculateStatsResponse_TimeSeries_Interval_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_contactcenterinsights_v1_CalculateStatsResponse_TimeSeries_Interval_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_contactcenterinsights_v1_CalculateStatsResponse_SmartHighlighterMatchesEntry_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_contactcenterinsights_v1_CalculateStatsResponse_SmartHighlighterMatchesEntry_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_contactcenterinsights_v1_CalculateStatsResponse_CustomHighlighterMatchesEntry_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_contactcenterinsights_v1_CalculateStatsResponse_CustomHighlighterMatchesEntry_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_contactcenterinsights_v1_CalculateStatsResponse_IssueMatchesEntry_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_contactcenterinsights_v1_CalculateStatsResponse_IssueMatchesEntry_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_contactcenterinsights_v1_CalculateStatsResponse_IssueMatchesStatsEntry_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_contactcenterinsights_v1_CalculateStatsResponse_IssueMatchesStatsEntry_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_contactcenterinsights_v1_CreateAnalysisOperationMetadata_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_contactcenterinsights_v1_CreateAnalysisOperationMetadata_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_contactcenterinsights_v1_CreateConversationRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_contactcenterinsights_v1_CreateConversationRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_contactcenterinsights_v1_ListConversationsRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_contactcenterinsights_v1_ListConversationsRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_contactcenterinsights_v1_ListConversationsResponse_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_contactcenterinsights_v1_ListConversationsResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_contactcenterinsights_v1_GetConversationRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_contactcenterinsights_v1_GetConversationRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_contactcenterinsights_v1_UpdateConversationRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_contactcenterinsights_v1_UpdateConversationRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_contactcenterinsights_v1_DeleteConversationRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_contactcenterinsights_v1_DeleteConversationRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_contactcenterinsights_v1_IngestConversationsRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_contactcenterinsights_v1_IngestConversationsRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_contactcenterinsights_v1_IngestConversationsRequest_GcsSource_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_contactcenterinsights_v1_IngestConversationsRequest_GcsSource_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_contactcenterinsights_v1_IngestConversationsRequest_TranscriptObjectConfig_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_contactcenterinsights_v1_IngestConversationsRequest_TranscriptObjectConfig_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_contactcenterinsights_v1_IngestConversationsRequest_ConversationConfig_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_contactcenterinsights_v1_IngestConversationsRequest_ConversationConfig_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_contactcenterinsights_v1_IngestConversationsMetadata_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_contactcenterinsights_v1_IngestConversationsMetadata_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_contactcenterinsights_v1_IngestConversationsMetadata_IngestConversationsStats_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_contactcenterinsights_v1_IngestConversationsMetadata_IngestConversationsStats_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_contactcenterinsights_v1_IngestConversationsResponse_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_contactcenterinsights_v1_IngestConversationsResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_contactcenterinsights_v1_CreateAnalysisRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_contactcenterinsights_v1_CreateAnalysisRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_contactcenterinsights_v1_ListAnalysesRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_contactcenterinsights_v1_ListAnalysesRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_contactcenterinsights_v1_ListAnalysesResponse_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_contactcenterinsights_v1_ListAnalysesResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_contactcenterinsights_v1_GetAnalysisRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_contactcenterinsights_v1_GetAnalysisRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_contactcenterinsights_v1_DeleteAnalysisRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_contactcenterinsights_v1_DeleteAnalysisRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_contactcenterinsights_v1_BulkAnalyzeConversationsRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_contactcenterinsights_v1_BulkAnalyzeConversationsRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_contactcenterinsights_v1_BulkAnalyzeConversationsMetadata_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_contactcenterinsights_v1_BulkAnalyzeConversationsMetadata_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_contactcenterinsights_v1_BulkAnalyzeConversationsResponse_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_contactcenterinsights_v1_BulkAnalyzeConversationsResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_contactcenterinsights_v1_ExportInsightsDataRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_contactcenterinsights_v1_ExportInsightsDataRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_contactcenterinsights_v1_ExportInsightsDataRequest_BigQueryDestination_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_contactcenterinsights_v1_ExportInsightsDataRequest_BigQueryDestination_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_contactcenterinsights_v1_ExportInsightsDataMetadata_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_contactcenterinsights_v1_ExportInsightsDataMetadata_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_contactcenterinsights_v1_ExportInsightsDataResponse_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_contactcenterinsights_v1_ExportInsightsDataResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_contactcenterinsights_v1_CreateIssueModelRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_contactcenterinsights_v1_CreateIssueModelRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_contactcenterinsights_v1_CreateIssueModelMetadata_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_contactcenterinsights_v1_CreateIssueModelMetadata_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_contactcenterinsights_v1_UpdateIssueModelRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_contactcenterinsights_v1_UpdateIssueModelRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_contactcenterinsights_v1_ListIssueModelsRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_contactcenterinsights_v1_ListIssueModelsRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_contactcenterinsights_v1_ListIssueModelsResponse_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_contactcenterinsights_v1_ListIssueModelsResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_contactcenterinsights_v1_GetIssueModelRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_contactcenterinsights_v1_GetIssueModelRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_contactcenterinsights_v1_DeleteIssueModelRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_contactcenterinsights_v1_DeleteIssueModelRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_contactcenterinsights_v1_DeleteIssueModelMetadata_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_contactcenterinsights_v1_DeleteIssueModelMetadata_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_contactcenterinsights_v1_DeployIssueModelRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_contactcenterinsights_v1_DeployIssueModelRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_contactcenterinsights_v1_DeployIssueModelResponse_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_contactcenterinsights_v1_DeployIssueModelResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_contactcenterinsights_v1_DeployIssueModelMetadata_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_contactcenterinsights_v1_DeployIssueModelMetadata_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_contactcenterinsights_v1_UndeployIssueModelRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_contactcenterinsights_v1_UndeployIssueModelRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_contactcenterinsights_v1_UndeployIssueModelResponse_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_contactcenterinsights_v1_UndeployIssueModelResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_contactcenterinsights_v1_UndeployIssueModelMetadata_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_contactcenterinsights_v1_UndeployIssueModelMetadata_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_contactcenterinsights_v1_GetIssueRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_contactcenterinsights_v1_GetIssueRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_contactcenterinsights_v1_ListIssuesRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_contactcenterinsights_v1_ListIssuesRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_contactcenterinsights_v1_ListIssuesResponse_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_contactcenterinsights_v1_ListIssuesResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_contactcenterinsights_v1_UpdateIssueRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_contactcenterinsights_v1_UpdateIssueRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_contactcenterinsights_v1_DeleteIssueRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_contactcenterinsights_v1_DeleteIssueRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_contactcenterinsights_v1_CalculateIssueModelStatsRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_contactcenterinsights_v1_CalculateIssueModelStatsRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_contactcenterinsights_v1_CalculateIssueModelStatsResponse_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_contactcenterinsights_v1_CalculateIssueModelStatsResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_contactcenterinsights_v1_CreatePhraseMatcherRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_contactcenterinsights_v1_CreatePhraseMatcherRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_contactcenterinsights_v1_ListPhraseMatchersRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_contactcenterinsights_v1_ListPhraseMatchersRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_contactcenterinsights_v1_ListPhraseMatchersResponse_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_contactcenterinsights_v1_ListPhraseMatchersResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_contactcenterinsights_v1_GetPhraseMatcherRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_contactcenterinsights_v1_GetPhraseMatcherRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_contactcenterinsights_v1_DeletePhraseMatcherRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_contactcenterinsights_v1_DeletePhraseMatcherRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_contactcenterinsights_v1_UpdatePhraseMatcherRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_contactcenterinsights_v1_UpdatePhraseMatcherRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_contactcenterinsights_v1_GetSettingsRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_contactcenterinsights_v1_GetSettingsRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_contactcenterinsights_v1_UpdateSettingsRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_contactcenterinsights_v1_UpdateSettingsRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_contactcenterinsights_v1_CreateViewRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_contactcenterinsights_v1_CreateViewRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_contactcenterinsights_v1_GetViewRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_contactcenterinsights_v1_GetViewRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_contactcenterinsights_v1_ListViewsRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_contactcenterinsights_v1_ListViewsRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_contactcenterinsights_v1_ListViewsResponse_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_contactcenterinsights_v1_ListViewsResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_contactcenterinsights_v1_UpdateViewRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_contactcenterinsights_v1_UpdateViewRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_contactcenterinsights_v1_DeleteViewRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_contactcenterinsights_v1_DeleteViewRequest_fieldAccessorTable; - - public static com.google.protobuf.Descriptors.FileDescriptor - getDescriptor() { - return descriptor; - } - private static com.google.protobuf.Descriptors.FileDescriptor - descriptor; - static { - java.lang.String[] descriptorData = { - "\nCgoogle/cloud/contactcenterinsights/v1/" + - "contact_center_insights.proto\022%google.cl" + - "oud.contactcenterinsights.v1\032\034google/api" + - "/annotations.proto\032\027google/api/client.pr" + - "oto\032\037google/api/field_behavior.proto\032\031go" + - "ogle/api/resource.proto\0325google/cloud/co" + - "ntactcenterinsights/v1/resources.proto\032#" + - "google/longrunning/operations.proto\032\036goo" + - "gle/protobuf/duration.proto\032\033google/prot" + - "obuf/empty.proto\032 google/protobuf/field_" + - "mask.proto\032\037google/protobuf/timestamp.pr" + - "oto\032\027google/rpc/status.proto\"d\n\025Calculat" + - "eStatsRequest\022;\n\010location\030\001 \001(\tB)\340A\002\372A#\n" + - "!locations.googleapis.com/Location\022\016\n\006fi" + - "lter\030\002 \001(\t\"\217\n\n\026CalculateStatsResponse\0223\n" + - "\020average_duration\030\001 \001(\0132\031.google.protobu" + - "f.Duration\022\032\n\022average_turn_count\030\002 \001(\005\022\032" + - "\n\022conversation_count\030\003 \001(\005\022}\n\031smart_high" + - "lighter_matches\030\004 \003(\0132Z.google.cloud.con" + - "tactcenterinsights.v1.CalculateStatsResp" + - "onse.SmartHighlighterMatchesEntry\022\177\n\032cus" + - "tom_highlighter_matches\030\005 \003(\0132[.google.c" + - "loud.contactcenterinsights.v1.CalculateS" + - "tatsResponse.CustomHighlighterMatchesEnt" + - "ry\022j\n\rissue_matches\030\006 \003(\0132O.google.cloud" + - ".contactcenterinsights.v1.CalculateStats" + - "Response.IssueMatchesEntryB\002\030\001\022q\n\023issue_" + - "matches_stats\030\010 \003(\0132T.google.cloud.conta" + - "ctcenterinsights.v1.CalculateStatsRespon" + - "se.IssueMatchesStatsEntry\022p\n\036conversatio" + - "n_count_time_series\030\007 \001(\0132H.google.cloud" + - ".contactcenterinsights.v1.CalculateStats" + - "Response.TimeSeries\032\375\001\n\nTimeSeries\0224\n\021in" + - "terval_duration\030\001 \001(\0132\031.google.protobuf." + - "Duration\022a\n\006points\030\002 \003(\0132Q.google.cloud." + - "contactcenterinsights.v1.CalculateStatsR" + - "esponse.TimeSeries.Interval\032V\n\010Interval\022" + - ".\n\nstart_time\030\001 \001(\0132\032.google.protobuf.Ti" + - "mestamp\022\032\n\022conversation_count\030\002 \001(\005\032>\n\034S" + - "martHighlighterMatchesEntry\022\013\n\003key\030\001 \001(\t" + - "\022\r\n\005value\030\002 \001(\005:\0028\001\032?\n\035CustomHighlighter" + - "MatchesEntry\022\013\n\003key\030\001 \001(\t\022\r\n\005value\030\002 \001(\005" + - ":\0028\001\0323\n\021IssueMatchesEntry\022\013\n\003key\030\001 \001(\t\022\r" + - "\n\005value\030\002 \001(\005:\0028\001\032\200\001\n\026IssueMatchesStatsE" + - "ntry\022\013\n\003key\030\001 \001(\t\022U\n\005value\030\002 \001(\0132F.googl" + - "e.cloud.contactcenterinsights.v1.IssueMo" + - "delLabelStats.IssueStats:\0028\001\"\266\002\n\037CreateA" + - "nalysisOperationMetadata\0224\n\013create_time\030" + - "\001 \001(\0132\032.google.protobuf.TimestampB\003\340A\003\0221" + - "\n\010end_time\030\002 \001(\0132\032.google.protobuf.Times" + - "tampB\003\340A\003\022O\n\014conversation\030\003 \001(\tB9\340A\003\372A3\n" + - "1contactcenterinsights.googleapis.com/Co" + - "nversation\022Y\n\022annotator_selector\030\004 \001(\01328" + - ".google.cloud.contactcenterinsights.v1.A" + - "nnotatorSelectorB\003\340A\003\"\277\001\n\031CreateConversa" + - "tionRequest\0229\n\006parent\030\001 \001(\tB)\340A\002\372A#\n!loc" + - "ations.googleapis.com/Location\022N\n\014conver" + - "sation\030\002 \001(\01323.google.cloud.contactcente" + - "rinsights.v1.ConversationB\003\340A\002\022\027\n\017conver" + - "sation_id\030\003 \001(\t\"\323\001\n\030ListConversationsReq" + - "uest\0229\n\006parent\030\001 \001(\tB)\340A\002\372A#\n!locations." + - "googleapis.com/Location\022\021\n\tpage_size\030\002 \001" + - "(\005\022\022\n\npage_token\030\003 \001(\t\022\016\n\006filter\030\004 \001(\t\022E" + - "\n\004view\030\005 \001(\01627.google.cloud.contactcente" + - "rinsights.v1.ConversationView\"\200\001\n\031ListCo" + - "nversationsResponse\022J\n\rconversations\030\001 \003" + - "(\01323.google.cloud.contactcenterinsights." + - "v1.Conversation\022\027\n\017next_page_token\030\002 \001(\t" + - "\"\250\001\n\026GetConversationRequest\022G\n\004name\030\001 \001(" + - "\tB9\340A\002\372A3\n1contactcenterinsights.googlea" + - "pis.com/Conversation\022E\n\004view\030\002 \001(\01627.goo" + - "gle.cloud.contactcenterinsights.v1.Conve" + - "rsationView\"\234\001\n\031UpdateConversationReques" + - "t\022N\n\014conversation\030\001 \001(\01323.google.cloud.c" + - "ontactcenterinsights.v1.ConversationB\003\340A" + - "\002\022/\n\013update_mask\030\002 \001(\0132\032.google.protobuf" + - ".FieldMask\"s\n\031DeleteConversationRequest\022" + - "G\n\004name\030\001 \001(\tB9\340A\002\372A3\n1contactcenterinsi" + - "ghts.googleapis.com/Conversation\022\r\n\005forc" + - "e\030\002 \001(\010\"\377\004\n\032IngestConversationsRequest\022a" + - "\n\ngcs_source\030\002 \001(\0132K.google.cloud.contac" + - "tcenterinsights.v1.IngestConversationsRe" + - "quest.GcsSourceH\000\022|\n\030transcript_object_c" + - "onfig\030\003 \001(\0132X.google.cloud.contactcenter" + - "insights.v1.IngestConversationsRequest.T" + - "ranscriptObjectConfigH\001\0229\n\006parent\030\001 \001(\tB" + - ")\340A\002\372A#\n!locations.googleapis.com/Locati" + - "on\022q\n\023conversation_config\030\004 \001(\0132T.google" + - ".cloud.contactcenterinsights.v1.IngestCo" + - "nversationsRequest.ConversationConfig\032$\n" + - "\tGcsSource\022\027\n\nbucket_uri\030\001 \001(\tB\003\340A\002\032i\n\026T" + - "ranscriptObjectConfig\022O\n\006medium\030\001 \001(\0162:." + - "google.cloud.contactcenterinsights.v1.Co" + - "nversation.MediumB\003\340A\002\032&\n\022ConversationCo" + - "nfig\022\020\n\010agent_id\030\001 \001(\tB\010\n\006sourceB\017\n\robje" + - "ct_config\"\310\004\n\033IngestConversationsMetadat" + - "a\0224\n\013create_time\030\001 \001(\0132\032.google.protobuf" + - ".TimestampB\003\340A\003\0221\n\010end_time\030\002 \001(\0132\032.goog" + - "le.protobuf.TimestampB\003\340A\003\022W\n\007request\030\003 " + - "\001(\0132A.google.cloud.contactcenterinsights" + - ".v1.IngestConversationsRequestB\003\340A\003\022/\n\016p" + - "artial_errors\030\004 \003(\0132\022.google.rpc.StatusB" + - "\003\340A\003\022\204\001\n\032ingest_conversations_stats\030\005 \001(" + - "\0132[.google.cloud.contactcenterinsights.v" + - "1.IngestConversationsMetadata.IngestConv" + - "ersationsStatsB\003\340A\003\032\256\001\n\030IngestConversati" + - "onsStats\022#\n\026processed_object_count\030\001 \001(\005" + - "B\003\340A\003\022%\n\030duplicates_skipped_count\030\002 \001(\005B" + - "\003\340A\003\022$\n\027successful_ingest_count\030\003 \001(\005B\003\340" + - "A\003\022 \n\023failed_ingest_count\030\004 \001(\005B\003\340A\003\"\035\n\033" + - "IngestConversationsResponse\"\252\001\n\025CreateAn" + - "alysisRequest\022I\n\006parent\030\001 \001(\tB9\340A\002\372A3\n1c" + - "ontactcenterinsights.googleapis.com/Conv" + - "ersation\022F\n\010analysis\030\002 \001(\0132/.google.clou" + - "d.contactcenterinsights.v1.AnalysisB\003\340A\002" + - "\"\227\001\n\023ListAnalysesRequest\022I\n\006parent\030\001 \001(\t" + - "B9\340A\002\372A3\n1contactcenterinsights.googleap" + - "is.com/Conversation\022\021\n\tpage_size\030\002 \001(\005\022\022" + - "\n\npage_token\030\003 \001(\t\022\016\n\006filter\030\004 \001(\t\"r\n\024Li" + - "stAnalysesResponse\022A\n\010analyses\030\001 \003(\0132/.g" + - "oogle.cloud.contactcenterinsights.v1.Ana" + - "lysis\022\027\n\017next_page_token\030\002 \001(\t\"Y\n\022GetAna" + - "lysisRequest\022C\n\004name\030\001 \001(\tB5\340A\002\372A/\n-cont" + - "actcenterinsights.googleapis.com/Analysi" + - "s\"\\\n\025DeleteAnalysisRequest\022C\n\004name\030\001 \001(\t" + - "B5\340A\002\372A/\n-contactcenterinsights.googleap" + - "is.com/Analysis\"\351\001\n\037BulkAnalyzeConversat" + - "ionsRequest\0229\n\006parent\030\001 \001(\tB)\340A\002\372A#\n!loc" + - "ations.googleapis.com/Location\022\023\n\006filter" + - "\030\002 \001(\tB\003\340A\002\022 \n\023analysis_percentage\030\003 \001(\002" + - "B\003\340A\002\022T\n\022annotator_selector\030\010 \001(\01328.goog" + - "le.cloud.contactcenterinsights.v1.Annota" + - "torSelector\"\303\002\n BulkAnalyzeConversations" + - "Metadata\022/\n\013create_time\030\001 \001(\0132\032.google.p" + - "rotobuf.Timestamp\022,\n\010end_time\030\002 \001(\0132\032.go" + - "ogle.protobuf.Timestamp\022W\n\007request\030\003 \001(\013" + - "2F.google.cloud.contactcenterinsights.v1" + - ".BulkAnalyzeConversationsRequest\022 \n\030comp" + - "leted_analyses_count\030\004 \001(\005\022\035\n\025failed_ana" + - "lyses_count\030\005 \001(\005\022&\n\036total_requested_ana" + - "lyses_count\030\006 \001(\005\"d\n BulkAnalyzeConversa" + - "tionsResponse\022!\n\031successful_analysis_cou" + - "nt\030\001 \001(\005\022\035\n\025failed_analysis_count\030\002 \001(\005\"" + - "\230\004\n\031ExportInsightsDataRequest\022u\n\025big_que" + - "ry_destination\030\002 \001(\0132T.google.cloud.cont" + - "actcenterinsights.v1.ExportInsightsDataR" + - "equest.BigQueryDestinationH\000\0229\n\006parent\030\001" + - " \001(\tB)\340A\002\372A#\n!locations.googleapis.com/L" + - "ocation\022\016\n\006filter\030\003 \001(\t\022\017\n\007kms_key\030\004 \001(\t" + - "\022l\n\021write_disposition\030\005 \001(\0162Q.google.clo" + - "ud.contactcenterinsights.v1.ExportInsigh" + - "tsDataRequest.WriteDisposition\032N\n\023BigQue" + - "ryDestination\022\022\n\nproject_id\030\003 \001(\t\022\024\n\007dat" + - "aset\030\001 \001(\tB\003\340A\002\022\r\n\005table\030\002 \001(\t\"[\n\020WriteD" + - "isposition\022!\n\035WRITE_DISPOSITION_UNSPECIF" + - "IED\020\000\022\022\n\016WRITE_TRUNCATE\020\001\022\020\n\014WRITE_APPEN" + - "D\020\002B\r\n\013destination\"\204\002\n\032ExportInsightsDat" + - "aMetadata\0224\n\013create_time\030\001 \001(\0132\032.google." + - "protobuf.TimestampB\003\340A\003\0221\n\010end_time\030\002 \001(" + - "\0132\032.google.protobuf.TimestampB\003\340A\003\022Q\n\007re" + - "quest\030\003 \001(\0132@.google.cloud.contactcenter" + - "insights.v1.ExportInsightsDataRequest\022*\n" + - "\016partial_errors\030\004 \003(\0132\022.google.rpc.Statu" + - "s\"\034\n\032ExportInsightsDataResponse\"\241\001\n\027Crea" + - "teIssueModelRequest\0229\n\006parent\030\001 \001(\tB)\340A\002" + - "\372A#\n!locations.googleapis.com/Location\022K" + - "\n\013issue_model\030\002 \001(\01321.google.cloud.conta" + - "ctcenterinsights.v1.IssueModelB\003\340A\002\"\324\001\n\030" + - "CreateIssueModelMetadata\0224\n\013create_time\030" + - "\001 \001(\0132\032.google.protobuf.TimestampB\003\340A\003\0221" + - "\n\010end_time\030\002 \001(\0132\032.google.protobuf.Times" + - "tampB\003\340A\003\022O\n\007request\030\003 \001(\0132>.google.clou" + - "d.contactcenterinsights.v1.CreateIssueMo" + - "delRequest\"\227\001\n\027UpdateIssueModelRequest\022K" + - "\n\013issue_model\030\001 \001(\01321.google.cloud.conta" + - "ctcenterinsights.v1.IssueModelB\003\340A\002\022/\n\013u" + - "pdate_mask\030\002 \001(\0132\032.google.protobuf.Field" + - "Mask\"S\n\026ListIssueModelsRequest\0229\n\006parent" + - "\030\001 \001(\tB)\340A\002\372A#\n!locations.googleapis.com" + - "/Location\"b\n\027ListIssueModelsResponse\022G\n\014" + - "issue_models\030\001 \003(\01321.google.cloud.contac" + - "tcenterinsights.v1.IssueModel\"]\n\024GetIssu" + - "eModelRequest\022E\n\004name\030\001 \001(\tB7\340A\002\372A1\n/con" + - "tactcenterinsights.googleapis.com/IssueM" + - "odel\"`\n\027DeleteIssueModelRequest\022E\n\004name\030" + - "\001 \001(\tB7\340A\002\372A1\n/contactcenterinsights.goo" + - "gleapis.com/IssueModel\"\324\001\n\030DeleteIssueMo" + - "delMetadata\0224\n\013create_time\030\001 \001(\0132\032.googl" + - "e.protobuf.TimestampB\003\340A\003\0221\n\010end_time\030\002 " + - "\001(\0132\032.google.protobuf.TimestampB\003\340A\003\022O\n\007" + - "request\030\003 \001(\0132>.google.cloud.contactcent" + - "erinsights.v1.DeleteIssueModelRequest\"`\n" + - "\027DeployIssueModelRequest\022E\n\004name\030\001 \001(\tB7" + - "\340A\002\372A1\n/contactcenterinsights.googleapis" + - ".com/IssueModel\"\032\n\030DeployIssueModelRespo" + - "nse\"\324\001\n\030DeployIssueModelMetadata\0224\n\013crea" + - "te_time\030\001 \001(\0132\032.google.protobuf.Timestam" + - "pB\003\340A\003\0221\n\010end_time\030\002 \001(\0132\032.google.protob" + - "uf.TimestampB\003\340A\003\022O\n\007request\030\003 \001(\0132>.goo" + - "gle.cloud.contactcenterinsights.v1.Deplo" + - "yIssueModelRequest\"b\n\031UndeployIssueModel" + - "Request\022E\n\004name\030\001 \001(\tB7\340A\002\372A1\n/contactce" + - "nterinsights.googleapis.com/IssueModel\"\034" + - "\n\032UndeployIssueModelResponse\"\330\001\n\032Undeplo" + - "yIssueModelMetadata\0224\n\013create_time\030\001 \001(\013" + - "2\032.google.protobuf.TimestampB\003\340A\003\0221\n\010end" + - "_time\030\002 \001(\0132\032.google.protobuf.TimestampB" + - "\003\340A\003\022Q\n\007request\030\003 \001(\0132@.google.cloud.con" + - "tactcenterinsights.v1.UndeployIssueModel" + - "Request\"S\n\017GetIssueRequest\022@\n\004name\030\001 \001(\t" + - "B2\340A\002\372A,\n*contactcenterinsights.googleap" + - "is.com/Issue\"\\\n\021ListIssuesRequest\022G\n\006par" + - "ent\030\001 \001(\tB7\340A\002\372A1\n/contactcenterinsights" + - ".googleapis.com/IssueModel\"R\n\022ListIssues" + - "Response\022<\n\006issues\030\001 \003(\0132,.google.cloud." + - "contactcenterinsights.v1.Issue\"\207\001\n\022Updat" + - "eIssueRequest\022@\n\005issue\030\001 \001(\0132,.google.cl" + - "oud.contactcenterinsights.v1.IssueB\003\340A\002\022" + - "/\n\013update_mask\030\002 \001(\0132\032.google.protobuf.F" + - "ieldMask\"V\n\022DeleteIssueRequest\022@\n\004name\030\001" + - " \001(\tB2\340A\002\372A,\n*contactcenterinsights.goog" + - "leapis.com/Issue\"o\n\037CalculateIssueModelS" + - "tatsRequest\022L\n\013issue_model\030\001 \001(\tB7\340A\002\372A1" + - "\n/contactcenterinsights.googleapis.com/I" + - "ssueModel\"v\n CalculateIssueModelStatsRes" + - "ponse\022R\n\rcurrent_stats\030\004 \001(\0132;.google.cl" + - "oud.contactcenterinsights.v1.IssueModelL" + - "abelStats\"\252\001\n\032CreatePhraseMatcherRequest" + - "\0229\n\006parent\030\001 \001(\tB)\340A\002\372A#\n!locations.goog" + - "leapis.com/Location\022Q\n\016phrase_matcher\030\002 " + - "\001(\01324.google.cloud.contactcenterinsights" + - ".v1.PhraseMatcherB\003\340A\002\"\215\001\n\031ListPhraseMat" + - "chersRequest\0229\n\006parent\030\001 \001(\tB)\340A\002\372A#\n!lo" + - "cations.googleapis.com/Location\022\021\n\tpage_" + - "size\030\002 \001(\005\022\022\n\npage_token\030\003 \001(\t\022\016\n\006filter" + - "\030\004 \001(\t\"\204\001\n\032ListPhraseMatchersResponse\022M\n" + - "\017phrase_matchers\030\001 \003(\01324.google.cloud.co" + - "ntactcenterinsights.v1.PhraseMatcher\022\027\n\017" + - "next_page_token\030\002 \001(\t\"c\n\027GetPhraseMatche" + - "rRequest\022H\n\004name\030\001 \001(\tB:\340A\002\372A4\n2contactc" + - "enterinsights.googleapis.com/PhraseMatch" + - "er\"f\n\032DeletePhraseMatcherRequest\022H\n\004name" + - "\030\001 \001(\tB:\340A\002\372A4\n2contactcenterinsights.go" + - "ogleapis.com/PhraseMatcher\"\240\001\n\032UpdatePhr" + - "aseMatcherRequest\022Q\n\016phrase_matcher\030\001 \001(" + - "\01324.google.cloud.contactcenterinsights.v" + - "1.PhraseMatcherB\003\340A\002\022/\n\013update_mask\030\002 \001(" + - "\0132\032.google.protobuf.FieldMask\"Y\n\022GetSett" + - "ingsRequest\022C\n\004name\030\001 \001(\tB5\340A\002\372A/\n-conta" + - "ctcenterinsights.googleapis.com/Settings" + - "\"\225\001\n\025UpdateSettingsRequest\022F\n\010settings\030\001" + - " \001(\0132/.google.cloud.contactcenterinsight" + - "s.v1.SettingsB\003\340A\002\0224\n\013update_mask\030\002 \001(\0132" + - "\032.google.protobuf.FieldMaskB\003\340A\002\"\216\001\n\021Cre" + - "ateViewRequest\0229\n\006parent\030\001 \001(\tB)\340A\002\372A#\n!" + - "locations.googleapis.com/Location\022>\n\004vie" + - "w\030\002 \001(\0132+.google.cloud.contactcenterinsi" + - "ghts.v1.ViewB\003\340A\002\"Q\n\016GetViewRequest\022?\n\004n" + - "ame\030\001 \001(\tB1\340A\002\372A+\n)contactcenterinsights" + - ".googleapis.com/View\"t\n\020ListViewsRequest" + - "\0229\n\006parent\030\001 \001(\tB)\340A\002\372A#\n!locations.goog" + - "leapis.com/Location\022\021\n\tpage_size\030\002 \001(\005\022\022" + - "\n\npage_token\030\003 \001(\t\"h\n\021ListViewsResponse\022" + - ":\n\005views\030\001 \003(\0132+.google.cloud.contactcen" + - "terinsights.v1.View\022\027\n\017next_page_token\030\002" + - " \001(\t\"\204\001\n\021UpdateViewRequest\022>\n\004view\030\001 \001(\013" + - "2+.google.cloud.contactcenterinsights.v1" + - ".ViewB\003\340A\002\022/\n\013update_mask\030\002 \001(\0132\032.google" + - ".protobuf.FieldMask\"T\n\021DeleteViewRequest" + - "\022?\n\004name\030\001 \001(\tB1\340A\002\372A+\n)contactcenterins" + - "ights.googleapis.com/View*J\n\020Conversatio" + - "nView\022!\n\035CONVERSATION_VIEW_UNSPECIFIED\020\000" + - "\022\010\n\004FULL\020\002\022\t\n\005BASIC\020\0012\321@\n\025ContactCenterI" + - "nsights\022\372\001\n\022CreateConversation\022@.google." + - "cloud.contactcenterinsights.v1.CreateCon" + - "versationRequest\0323.google.cloud.contactc" + - "enterinsights.v1.Conversation\"m\202\323\344\223\002A\"1/" + - "v1/{parent=projects/*/locations/*}/conve" + - "rsations:\014conversation\332A#parent,conversa" + - "tion,conversation_id\022\374\001\n\022UpdateConversat" + - "ion\022@.google.cloud.contactcenterinsights" + - ".v1.UpdateConversationRequest\0323.google.c" + - "loud.contactcenterinsights.v1.Conversati" + - "on\"o\202\323\344\223\002N2>/v1/{conversation.name=proje" + - "cts/*/locations/*/conversations/*}:\014conv" + - "ersation\332A\030conversation,update_mask\022\307\001\n\017" + - "GetConversation\022=.google.cloud.contactce" + - "nterinsights.v1.GetConversationRequest\0323" + - ".google.cloud.contactcenterinsights.v1.C" + - "onversation\"@\202\323\344\223\0023\0221/v1/{name=projects/" + - "*/locations/*/conversations/*}\332A\004name\022\332\001" + - "\n\021ListConversations\022?.google.cloud.conta" + - "ctcenterinsights.v1.ListConversationsReq" + - "uest\032@.google.cloud.contactcenterinsight" + - "s.v1.ListConversationsResponse\"B\202\323\344\223\0023\0221" + - "/v1/{parent=projects/*/locations/*}/conv" + - "ersations\332A\006parent\022\260\001\n\022DeleteConversatio" + - "n\022@.google.cloud.contactcenterinsights.v" + - "1.DeleteConversationRequest\032\026.google.pro" + - "tobuf.Empty\"@\202\323\344\223\0023*1/v1/{name=projects/" + - "*/locations/*/conversations/*}\332A\004name\022\376\001" + - "\n\016CreateAnalysis\022<.google.cloud.contactc" + - "enterinsights.v1.CreateAnalysisRequest\032\035" + - ".google.longrunning.Operation\"\216\001\202\323\344\223\002H\"<" + - "/v1/{parent=projects/*/locations/*/conve" + - "rsations/*}/analyses:\010analysis\332A\017parent," + - "analysis\312A+\n\010Analysis\022\037CreateAnalysisOpe" + - "rationMetadata\022\306\001\n\013GetAnalysis\0229.google." + - "cloud.contactcenterinsights.v1.GetAnalys" + - "isRequest\032/.google.cloud.contactcenterin" + - "sights.v1.Analysis\"K\202\323\344\223\002>\022\022*.google.cl" + - "oud.contactcenterinsights.v1.CreateIssue" + - "ModelRequest\032\035.google.longrunning.Operat" + - "ion\"\202\001\202\323\344\223\002>\"//v1/{parent=projects/*/loc" + - "ations/*}/issueModels:\013issue_model\332A\022par" + - "ent,issue_model\312A&\n\nIssueModel\022\030CreateIs" + - "sueModelMetadata\022\361\001\n\020UpdateIssueModel\022>." + - "google.cloud.contactcenterinsights.v1.Up" + - "dateIssueModelRequest\0321.google.cloud.con" + - "tactcenterinsights.v1.IssueModel\"j\202\323\344\223\002J" + - "2;/v1/{issue_model.name=projects/*/locat" + - "ions/*/issueModels/*}:\013issue_model\332A\027iss" + - "ue_model,update_mask\022\277\001\n\rGetIssueModel\022;" + - ".google.cloud.contactcenterinsights.v1.G" + - "etIssueModelRequest\0321.google.cloud.conta" + - "ctcenterinsights.v1.IssueModel\">\202\323\344\223\0021\022/" + - "/v1/{name=projects/*/locations/*/issueMo" + - "dels/*}\332A\004name\022\322\001\n\017ListIssueModels\022=.goo" + - "gle.cloud.contactcenterinsights.v1.ListI" + - "ssueModelsRequest\032>.google.cloud.contact" + - "centerinsights.v1.ListIssueModelsRespons" + - "e\"@\202\323\344\223\0021\022//v1/{parent=projects/*/locati" + - "ons/*}/issueModels\332A\006parent\022\345\001\n\020DeleteIs" + - "sueModel\022>.google.cloud.contactcenterins" + - "ights.v1.DeleteIssueModelRequest\032\035.googl" + - "e.longrunning.Operation\"r\202\323\344\223\0021*//v1/{na" + - "me=projects/*/locations/*/issueModels/*}" + - "\332A\004name\312A1\n\025google.protobuf.Empty\022\030Delet" + - "eIssueModelMetadata\022\362\001\n\020DeployIssueModel" + - "\022>.google.cloud.contactcenterinsights.v1" + - ".DeployIssueModelRequest\032\035.google.longru" + - "nning.Operation\"\177\202\323\344\223\002;\"6/v1/{name=proje" + - "cts/*/locations/*/issueModels/*}:deploy:" + - "\001*\332A\004name\312A4\n\030DeployIssueModelResponse\022\030" + - "DeployIssueModelMetadata\022\375\001\n\022UndeployIss" + - "ueModel\022@.google.cloud.contactcenterinsi" + - "ghts.v1.UndeployIssueModelRequest\032\035.goog" + - "le.longrunning.Operation\"\205\001\202\323\344\223\002=\"8/v1/{" + - "name=projects/*/locations/*/issueModels/" + - "*}:undeploy:\001*\332A\004name\312A8\n\032UndeployIssueM" + - "odelResponse\022\032UndeployIssueModelMetadata" + - "\022\271\001\n\010GetIssue\0226.google.cloud.contactcent" + - "erinsights.v1.GetIssueRequest\032,.google.c" + - "loud.contactcenterinsights.v1.Issue\"G\202\323\344" + - "\223\002:\0228/v1/{name=projects/*/locations/*/is" + - "sueModels/*/issues/*}\332A\004name\022\314\001\n\nListIss" + - "ues\0228.google.cloud.contactcenterinsights" + - ".v1.ListIssuesRequest\0329.google.cloud.con" + - "tactcenterinsights.v1.ListIssuesResponse" + - "\"I\202\323\344\223\002:\0228/v1/{parent=projects/*/locatio" + - "ns/*/issueModels/*}/issues\332A\006parent\022\331\001\n\013" + - "UpdateIssue\0229.google.cloud.contactcenter" + - "insights.v1.UpdateIssueRequest\032,.google." + - "cloud.contactcenterinsights.v1.Issue\"a\202\323" + - "\344\223\002G2>/v1/{issue.name=projects/*/locatio" + - "ns/*/issueModels/*/issues/*}:\005issue\332A\021is" + - "sue,update_mask\022\251\001\n\013DeleteIssue\0229.google", - ".cloud.contactcenterinsights.v1.DeleteIs" + - "sueRequest\032\026.google.protobuf.Empty\"G\202\323\344\223" + - "\002:*8/v1/{name=projects/*/locations/*/iss" + - "ueModels/*/issues/*}\332A\004name\022\222\002\n\030Calculat" + - "eIssueModelStats\022F.google.cloud.contactc" + - "enterinsights.v1.CalculateIssueModelStat" + - "sRequest\032G.google.cloud.contactcenterins" + - "ights.v1.CalculateIssueModelStatsRespons" + - "e\"e\202\323\344\223\002Q\022O/v1/{issue_model=projects/*/l" + - "ocations/*/issueModels/*}:calculateIssue" + - "ModelStats\332A\013issue_model\022\362\001\n\023CreatePhras" + - "eMatcher\022A.google.cloud.contactcenterins" + - "ights.v1.CreatePhraseMatcherRequest\0324.go" + - "ogle.cloud.contactcenterinsights.v1.Phra" + - "seMatcher\"b\202\323\344\223\002D\"2/v1/{parent=projects/" + - "*/locations/*}/phraseMatchers:\016phrase_ma" + - "tcher\332A\025parent,phrase_matcher\022\313\001\n\020GetPhr" + - "aseMatcher\022>.google.cloud.contactcenteri" + - "nsights.v1.GetPhraseMatcherRequest\0324.goo" + - "gle.cloud.contactcenterinsights.v1.Phras" + - "eMatcher\"A\202\323\344\223\0024\0222/v1/{name=projects/*/l" + - "ocations/*/phraseMatchers/*}\332A\004name\022\336\001\n\022" + - "ListPhraseMatchers\022@.google.cloud.contac" + - "tcenterinsights.v1.ListPhraseMatchersReq" + - "uest\032A.google.cloud.contactcenterinsight" + - "s.v1.ListPhraseMatchersResponse\"C\202\323\344\223\0024\022" + - "2/v1/{parent=projects/*/locations/*}/phr" + - "aseMatchers\332A\006parent\022\263\001\n\023DeletePhraseMat" + - "cher\022A.google.cloud.contactcenterinsight" + - "s.v1.DeletePhraseMatcherRequest\032\026.google" + - ".protobuf.Empty\"A\202\323\344\223\0024*2/v1/{name=proje" + - "cts/*/locations/*/phraseMatchers/*}\332A\004na" + - "me\022\206\002\n\023UpdatePhraseMatcher\022A.google.clou" + - "d.contactcenterinsights.v1.UpdatePhraseM" + - "atcherRequest\0324.google.cloud.contactcent" + - "erinsights.v1.PhraseMatcher\"v\202\323\344\223\002S2A/v1" + - "/{phrase_matcher.name=projects/*/locatio" + - "ns/*/phraseMatchers/*}:\016phrase_matcher\332A" + - "\032phrase_matcher,update_mask\022\344\001\n\016Calculat" + - "eStats\022<.google.cloud.contactcenterinsig" + - "hts.v1.CalculateStatsRequest\032=.google.cl" + - "oud.contactcenterinsights.v1.CalculateSt" + - "atsResponse\"U\202\323\344\223\002D\022B/v1/{location=proje" + - "cts/*/locations/*}/conversations:calcula" + - "teStats\332A\010location\022\264\001\n\013GetSettings\0229.goo" + - "gle.cloud.contactcenterinsights.v1.GetSe" + - "ttingsRequest\032/.google.cloud.contactcent" + - "erinsights.v1.Settings\"9\202\323\344\223\002,\022*/v1/{nam" + - "e=projects/*/locations/*/settings}\332A\004nam" + - "e\022\335\001\n\016UpdateSettings\022<.google.cloud.cont" + - "actcenterinsights.v1.UpdateSettingsReque" + - "st\032/.google.cloud.contactcenterinsights." + - "v1.Settings\"\\\202\323\344\223\002?23/v1/{settings.name=" + - "projects/*/locations/*/settings}:\010settin" + - "gs\332A\024settings,update_mask\022\272\001\n\nCreateView" + - "\0228.google.cloud.contactcenterinsights.v1" + - ".CreateViewRequest\032+.google.cloud.contac" + - "tcenterinsights.v1.View\"E\202\323\344\223\0021\")/v1/{pa" + - "rent=projects/*/locations/*}/views:\004view" + - "\332A\013parent,view\022\247\001\n\007GetView\0225.google.clou" + - "d.contactcenterinsights.v1.GetViewReques" + - "t\032+.google.cloud.contactcenterinsights.v" + - "1.View\"8\202\323\344\223\002+\022)/v1/{name=projects/*/loc" + - "ations/*/views/*}\332A\004name\022\272\001\n\tListViews\0227" + - ".google.cloud.contactcenterinsights.v1.L" + - "istViewsRequest\0328.google.cloud.contactce" + - "nterinsights.v1.ListViewsResponse\":\202\323\344\223\002" + - "+\022)/v1/{parent=projects/*/locations/*}/v" + - "iews\332A\006parent\022\304\001\n\nUpdateView\0228.google.cl" + - "oud.contactcenterinsights.v1.UpdateViewR" + - "equest\032+.google.cloud.contactcenterinsig" + - "hts.v1.View\"O\202\323\344\223\00262./v1/{view.name=proj" + - "ects/*/locations/*/views/*}:\004view\332A\020view" + - ",update_mask\022\230\001\n\nDeleteView\0228.google.clo" + - "ud.contactcenterinsights.v1.DeleteViewRe" + - "quest\032\026.google.protobuf.Empty\"8\202\323\344\223\002+*)/" + - "v1/{name=projects/*/locations/*/views/*}" + - "\332A\004name\032X\312A$contactcenterinsights.google" + - "apis.com\322A.https://www.googleapis.com/au" + - "th/cloud-platformB\245\002\n)com.google.cloud.c" + - "ontactcenterinsights.v1B\032ContactCenterIn" + - "sightsProtoP\001Z_cloud.google.com/go/conta" + - "ctcenterinsights/apiv1/contactcenterinsi" + - "ghtspb;contactcenterinsightspb\252\002%Google." + - "Cloud.ContactCenterInsights.V1\312\002%Google\\" + - "Cloud\\ContactCenterInsights\\V1\352\002(Google:" + - ":Cloud::ContactCenterInsights::V1b\006proto" + - "3" - }; - descriptor = com.google.protobuf.Descriptors.FileDescriptor - .internalBuildGeneratedFileFrom(descriptorData, - new com.google.protobuf.Descriptors.FileDescriptor[] { - com.google.api.AnnotationsProto.getDescriptor(), - com.google.api.ClientProto.getDescriptor(), - com.google.api.FieldBehaviorProto.getDescriptor(), - com.google.api.ResourceProto.getDescriptor(), - com.google.cloud.contactcenterinsights.v1.ResourcesProto.getDescriptor(), - com.google.longrunning.OperationsProto.getDescriptor(), - com.google.protobuf.DurationProto.getDescriptor(), - com.google.protobuf.EmptyProto.getDescriptor(), - com.google.protobuf.FieldMaskProto.getDescriptor(), - com.google.protobuf.TimestampProto.getDescriptor(), - com.google.rpc.StatusProto.getDescriptor(), - }); - internal_static_google_cloud_contactcenterinsights_v1_CalculateStatsRequest_descriptor = - getDescriptor().getMessageTypes().get(0); - internal_static_google_cloud_contactcenterinsights_v1_CalculateStatsRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_contactcenterinsights_v1_CalculateStatsRequest_descriptor, - new java.lang.String[] { "Location", "Filter", }); - internal_static_google_cloud_contactcenterinsights_v1_CalculateStatsResponse_descriptor = - getDescriptor().getMessageTypes().get(1); - internal_static_google_cloud_contactcenterinsights_v1_CalculateStatsResponse_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_contactcenterinsights_v1_CalculateStatsResponse_descriptor, - new java.lang.String[] { "AverageDuration", "AverageTurnCount", "ConversationCount", "SmartHighlighterMatches", "CustomHighlighterMatches", "IssueMatches", "IssueMatchesStats", "ConversationCountTimeSeries", }); - internal_static_google_cloud_contactcenterinsights_v1_CalculateStatsResponse_TimeSeries_descriptor = - internal_static_google_cloud_contactcenterinsights_v1_CalculateStatsResponse_descriptor.getNestedTypes().get(0); - internal_static_google_cloud_contactcenterinsights_v1_CalculateStatsResponse_TimeSeries_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_contactcenterinsights_v1_CalculateStatsResponse_TimeSeries_descriptor, - new java.lang.String[] { "IntervalDuration", "Points", }); - internal_static_google_cloud_contactcenterinsights_v1_CalculateStatsResponse_TimeSeries_Interval_descriptor = - internal_static_google_cloud_contactcenterinsights_v1_CalculateStatsResponse_TimeSeries_descriptor.getNestedTypes().get(0); - internal_static_google_cloud_contactcenterinsights_v1_CalculateStatsResponse_TimeSeries_Interval_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_contactcenterinsights_v1_CalculateStatsResponse_TimeSeries_Interval_descriptor, - new java.lang.String[] { "StartTime", "ConversationCount", }); - internal_static_google_cloud_contactcenterinsights_v1_CalculateStatsResponse_SmartHighlighterMatchesEntry_descriptor = - internal_static_google_cloud_contactcenterinsights_v1_CalculateStatsResponse_descriptor.getNestedTypes().get(1); - internal_static_google_cloud_contactcenterinsights_v1_CalculateStatsResponse_SmartHighlighterMatchesEntry_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_contactcenterinsights_v1_CalculateStatsResponse_SmartHighlighterMatchesEntry_descriptor, - new java.lang.String[] { "Key", "Value", }); - internal_static_google_cloud_contactcenterinsights_v1_CalculateStatsResponse_CustomHighlighterMatchesEntry_descriptor = - internal_static_google_cloud_contactcenterinsights_v1_CalculateStatsResponse_descriptor.getNestedTypes().get(2); - internal_static_google_cloud_contactcenterinsights_v1_CalculateStatsResponse_CustomHighlighterMatchesEntry_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_contactcenterinsights_v1_CalculateStatsResponse_CustomHighlighterMatchesEntry_descriptor, - new java.lang.String[] { "Key", "Value", }); - internal_static_google_cloud_contactcenterinsights_v1_CalculateStatsResponse_IssueMatchesEntry_descriptor = - internal_static_google_cloud_contactcenterinsights_v1_CalculateStatsResponse_descriptor.getNestedTypes().get(3); - internal_static_google_cloud_contactcenterinsights_v1_CalculateStatsResponse_IssueMatchesEntry_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_contactcenterinsights_v1_CalculateStatsResponse_IssueMatchesEntry_descriptor, - new java.lang.String[] { "Key", "Value", }); - internal_static_google_cloud_contactcenterinsights_v1_CalculateStatsResponse_IssueMatchesStatsEntry_descriptor = - internal_static_google_cloud_contactcenterinsights_v1_CalculateStatsResponse_descriptor.getNestedTypes().get(4); - internal_static_google_cloud_contactcenterinsights_v1_CalculateStatsResponse_IssueMatchesStatsEntry_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_contactcenterinsights_v1_CalculateStatsResponse_IssueMatchesStatsEntry_descriptor, - new java.lang.String[] { "Key", "Value", }); - internal_static_google_cloud_contactcenterinsights_v1_CreateAnalysisOperationMetadata_descriptor = - getDescriptor().getMessageTypes().get(2); - internal_static_google_cloud_contactcenterinsights_v1_CreateAnalysisOperationMetadata_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_contactcenterinsights_v1_CreateAnalysisOperationMetadata_descriptor, - new java.lang.String[] { "CreateTime", "EndTime", "Conversation", "AnnotatorSelector", }); - internal_static_google_cloud_contactcenterinsights_v1_CreateConversationRequest_descriptor = - getDescriptor().getMessageTypes().get(3); - internal_static_google_cloud_contactcenterinsights_v1_CreateConversationRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_contactcenterinsights_v1_CreateConversationRequest_descriptor, - new java.lang.String[] { "Parent", "Conversation", "ConversationId", }); - internal_static_google_cloud_contactcenterinsights_v1_ListConversationsRequest_descriptor = - getDescriptor().getMessageTypes().get(4); - internal_static_google_cloud_contactcenterinsights_v1_ListConversationsRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_contactcenterinsights_v1_ListConversationsRequest_descriptor, - new java.lang.String[] { "Parent", "PageSize", "PageToken", "Filter", "View", }); - internal_static_google_cloud_contactcenterinsights_v1_ListConversationsResponse_descriptor = - getDescriptor().getMessageTypes().get(5); - internal_static_google_cloud_contactcenterinsights_v1_ListConversationsResponse_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_contactcenterinsights_v1_ListConversationsResponse_descriptor, - new java.lang.String[] { "Conversations", "NextPageToken", }); - internal_static_google_cloud_contactcenterinsights_v1_GetConversationRequest_descriptor = - getDescriptor().getMessageTypes().get(6); - internal_static_google_cloud_contactcenterinsights_v1_GetConversationRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_contactcenterinsights_v1_GetConversationRequest_descriptor, - new java.lang.String[] { "Name", "View", }); - internal_static_google_cloud_contactcenterinsights_v1_UpdateConversationRequest_descriptor = - getDescriptor().getMessageTypes().get(7); - internal_static_google_cloud_contactcenterinsights_v1_UpdateConversationRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_contactcenterinsights_v1_UpdateConversationRequest_descriptor, - new java.lang.String[] { "Conversation", "UpdateMask", }); - internal_static_google_cloud_contactcenterinsights_v1_DeleteConversationRequest_descriptor = - getDescriptor().getMessageTypes().get(8); - internal_static_google_cloud_contactcenterinsights_v1_DeleteConversationRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_contactcenterinsights_v1_DeleteConversationRequest_descriptor, - new java.lang.String[] { "Name", "Force", }); - internal_static_google_cloud_contactcenterinsights_v1_IngestConversationsRequest_descriptor = - getDescriptor().getMessageTypes().get(9); - internal_static_google_cloud_contactcenterinsights_v1_IngestConversationsRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_contactcenterinsights_v1_IngestConversationsRequest_descriptor, - new java.lang.String[] { "GcsSource", "TranscriptObjectConfig", "Parent", "ConversationConfig", "Source", "ObjectConfig", }); - internal_static_google_cloud_contactcenterinsights_v1_IngestConversationsRequest_GcsSource_descriptor = - internal_static_google_cloud_contactcenterinsights_v1_IngestConversationsRequest_descriptor.getNestedTypes().get(0); - internal_static_google_cloud_contactcenterinsights_v1_IngestConversationsRequest_GcsSource_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_contactcenterinsights_v1_IngestConversationsRequest_GcsSource_descriptor, - new java.lang.String[] { "BucketUri", }); - internal_static_google_cloud_contactcenterinsights_v1_IngestConversationsRequest_TranscriptObjectConfig_descriptor = - internal_static_google_cloud_contactcenterinsights_v1_IngestConversationsRequest_descriptor.getNestedTypes().get(1); - internal_static_google_cloud_contactcenterinsights_v1_IngestConversationsRequest_TranscriptObjectConfig_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_contactcenterinsights_v1_IngestConversationsRequest_TranscriptObjectConfig_descriptor, - new java.lang.String[] { "Medium", }); - internal_static_google_cloud_contactcenterinsights_v1_IngestConversationsRequest_ConversationConfig_descriptor = - internal_static_google_cloud_contactcenterinsights_v1_IngestConversationsRequest_descriptor.getNestedTypes().get(2); - internal_static_google_cloud_contactcenterinsights_v1_IngestConversationsRequest_ConversationConfig_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_contactcenterinsights_v1_IngestConversationsRequest_ConversationConfig_descriptor, - new java.lang.String[] { "AgentId", }); - internal_static_google_cloud_contactcenterinsights_v1_IngestConversationsMetadata_descriptor = - getDescriptor().getMessageTypes().get(10); - internal_static_google_cloud_contactcenterinsights_v1_IngestConversationsMetadata_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_contactcenterinsights_v1_IngestConversationsMetadata_descriptor, - new java.lang.String[] { "CreateTime", "EndTime", "Request", "PartialErrors", "IngestConversationsStats", }); - internal_static_google_cloud_contactcenterinsights_v1_IngestConversationsMetadata_IngestConversationsStats_descriptor = - internal_static_google_cloud_contactcenterinsights_v1_IngestConversationsMetadata_descriptor.getNestedTypes().get(0); - internal_static_google_cloud_contactcenterinsights_v1_IngestConversationsMetadata_IngestConversationsStats_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_contactcenterinsights_v1_IngestConversationsMetadata_IngestConversationsStats_descriptor, - new java.lang.String[] { "ProcessedObjectCount", "DuplicatesSkippedCount", "SuccessfulIngestCount", "FailedIngestCount", }); - internal_static_google_cloud_contactcenterinsights_v1_IngestConversationsResponse_descriptor = - getDescriptor().getMessageTypes().get(11); - internal_static_google_cloud_contactcenterinsights_v1_IngestConversationsResponse_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_contactcenterinsights_v1_IngestConversationsResponse_descriptor, - new java.lang.String[] { }); - internal_static_google_cloud_contactcenterinsights_v1_CreateAnalysisRequest_descriptor = - getDescriptor().getMessageTypes().get(12); - internal_static_google_cloud_contactcenterinsights_v1_CreateAnalysisRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_contactcenterinsights_v1_CreateAnalysisRequest_descriptor, - new java.lang.String[] { "Parent", "Analysis", }); - internal_static_google_cloud_contactcenterinsights_v1_ListAnalysesRequest_descriptor = - getDescriptor().getMessageTypes().get(13); - internal_static_google_cloud_contactcenterinsights_v1_ListAnalysesRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_contactcenterinsights_v1_ListAnalysesRequest_descriptor, - new java.lang.String[] { "Parent", "PageSize", "PageToken", "Filter", }); - internal_static_google_cloud_contactcenterinsights_v1_ListAnalysesResponse_descriptor = - getDescriptor().getMessageTypes().get(14); - internal_static_google_cloud_contactcenterinsights_v1_ListAnalysesResponse_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_contactcenterinsights_v1_ListAnalysesResponse_descriptor, - new java.lang.String[] { "Analyses", "NextPageToken", }); - internal_static_google_cloud_contactcenterinsights_v1_GetAnalysisRequest_descriptor = - getDescriptor().getMessageTypes().get(15); - internal_static_google_cloud_contactcenterinsights_v1_GetAnalysisRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_contactcenterinsights_v1_GetAnalysisRequest_descriptor, - new java.lang.String[] { "Name", }); - internal_static_google_cloud_contactcenterinsights_v1_DeleteAnalysisRequest_descriptor = - getDescriptor().getMessageTypes().get(16); - internal_static_google_cloud_contactcenterinsights_v1_DeleteAnalysisRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_contactcenterinsights_v1_DeleteAnalysisRequest_descriptor, - new java.lang.String[] { "Name", }); - internal_static_google_cloud_contactcenterinsights_v1_BulkAnalyzeConversationsRequest_descriptor = - getDescriptor().getMessageTypes().get(17); - internal_static_google_cloud_contactcenterinsights_v1_BulkAnalyzeConversationsRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_contactcenterinsights_v1_BulkAnalyzeConversationsRequest_descriptor, - new java.lang.String[] { "Parent", "Filter", "AnalysisPercentage", "AnnotatorSelector", }); - internal_static_google_cloud_contactcenterinsights_v1_BulkAnalyzeConversationsMetadata_descriptor = - getDescriptor().getMessageTypes().get(18); - internal_static_google_cloud_contactcenterinsights_v1_BulkAnalyzeConversationsMetadata_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_contactcenterinsights_v1_BulkAnalyzeConversationsMetadata_descriptor, - new java.lang.String[] { "CreateTime", "EndTime", "Request", "CompletedAnalysesCount", "FailedAnalysesCount", "TotalRequestedAnalysesCount", }); - internal_static_google_cloud_contactcenterinsights_v1_BulkAnalyzeConversationsResponse_descriptor = - getDescriptor().getMessageTypes().get(19); - internal_static_google_cloud_contactcenterinsights_v1_BulkAnalyzeConversationsResponse_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_contactcenterinsights_v1_BulkAnalyzeConversationsResponse_descriptor, - new java.lang.String[] { "SuccessfulAnalysisCount", "FailedAnalysisCount", }); - internal_static_google_cloud_contactcenterinsights_v1_ExportInsightsDataRequest_descriptor = - getDescriptor().getMessageTypes().get(20); - internal_static_google_cloud_contactcenterinsights_v1_ExportInsightsDataRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_contactcenterinsights_v1_ExportInsightsDataRequest_descriptor, - new java.lang.String[] { "BigQueryDestination", "Parent", "Filter", "KmsKey", "WriteDisposition", "Destination", }); - internal_static_google_cloud_contactcenterinsights_v1_ExportInsightsDataRequest_BigQueryDestination_descriptor = - internal_static_google_cloud_contactcenterinsights_v1_ExportInsightsDataRequest_descriptor.getNestedTypes().get(0); - internal_static_google_cloud_contactcenterinsights_v1_ExportInsightsDataRequest_BigQueryDestination_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_contactcenterinsights_v1_ExportInsightsDataRequest_BigQueryDestination_descriptor, - new java.lang.String[] { "ProjectId", "Dataset", "Table", }); - internal_static_google_cloud_contactcenterinsights_v1_ExportInsightsDataMetadata_descriptor = - getDescriptor().getMessageTypes().get(21); - internal_static_google_cloud_contactcenterinsights_v1_ExportInsightsDataMetadata_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_contactcenterinsights_v1_ExportInsightsDataMetadata_descriptor, - new java.lang.String[] { "CreateTime", "EndTime", "Request", "PartialErrors", }); - internal_static_google_cloud_contactcenterinsights_v1_ExportInsightsDataResponse_descriptor = - getDescriptor().getMessageTypes().get(22); - internal_static_google_cloud_contactcenterinsights_v1_ExportInsightsDataResponse_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_contactcenterinsights_v1_ExportInsightsDataResponse_descriptor, - new java.lang.String[] { }); - internal_static_google_cloud_contactcenterinsights_v1_CreateIssueModelRequest_descriptor = - getDescriptor().getMessageTypes().get(23); - internal_static_google_cloud_contactcenterinsights_v1_CreateIssueModelRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_contactcenterinsights_v1_CreateIssueModelRequest_descriptor, - new java.lang.String[] { "Parent", "IssueModel", }); - internal_static_google_cloud_contactcenterinsights_v1_CreateIssueModelMetadata_descriptor = - getDescriptor().getMessageTypes().get(24); - internal_static_google_cloud_contactcenterinsights_v1_CreateIssueModelMetadata_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_contactcenterinsights_v1_CreateIssueModelMetadata_descriptor, - new java.lang.String[] { "CreateTime", "EndTime", "Request", }); - internal_static_google_cloud_contactcenterinsights_v1_UpdateIssueModelRequest_descriptor = - getDescriptor().getMessageTypes().get(25); - internal_static_google_cloud_contactcenterinsights_v1_UpdateIssueModelRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_contactcenterinsights_v1_UpdateIssueModelRequest_descriptor, - new java.lang.String[] { "IssueModel", "UpdateMask", }); - internal_static_google_cloud_contactcenterinsights_v1_ListIssueModelsRequest_descriptor = - getDescriptor().getMessageTypes().get(26); - internal_static_google_cloud_contactcenterinsights_v1_ListIssueModelsRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_contactcenterinsights_v1_ListIssueModelsRequest_descriptor, - new java.lang.String[] { "Parent", }); - internal_static_google_cloud_contactcenterinsights_v1_ListIssueModelsResponse_descriptor = - getDescriptor().getMessageTypes().get(27); - internal_static_google_cloud_contactcenterinsights_v1_ListIssueModelsResponse_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_contactcenterinsights_v1_ListIssueModelsResponse_descriptor, - new java.lang.String[] { "IssueModels", }); - internal_static_google_cloud_contactcenterinsights_v1_GetIssueModelRequest_descriptor = - getDescriptor().getMessageTypes().get(28); - internal_static_google_cloud_contactcenterinsights_v1_GetIssueModelRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_contactcenterinsights_v1_GetIssueModelRequest_descriptor, - new java.lang.String[] { "Name", }); - internal_static_google_cloud_contactcenterinsights_v1_DeleteIssueModelRequest_descriptor = - getDescriptor().getMessageTypes().get(29); - internal_static_google_cloud_contactcenterinsights_v1_DeleteIssueModelRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_contactcenterinsights_v1_DeleteIssueModelRequest_descriptor, - new java.lang.String[] { "Name", }); - internal_static_google_cloud_contactcenterinsights_v1_DeleteIssueModelMetadata_descriptor = - getDescriptor().getMessageTypes().get(30); - internal_static_google_cloud_contactcenterinsights_v1_DeleteIssueModelMetadata_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_contactcenterinsights_v1_DeleteIssueModelMetadata_descriptor, - new java.lang.String[] { "CreateTime", "EndTime", "Request", }); - internal_static_google_cloud_contactcenterinsights_v1_DeployIssueModelRequest_descriptor = - getDescriptor().getMessageTypes().get(31); - internal_static_google_cloud_contactcenterinsights_v1_DeployIssueModelRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_contactcenterinsights_v1_DeployIssueModelRequest_descriptor, - new java.lang.String[] { "Name", }); - internal_static_google_cloud_contactcenterinsights_v1_DeployIssueModelResponse_descriptor = - getDescriptor().getMessageTypes().get(32); - internal_static_google_cloud_contactcenterinsights_v1_DeployIssueModelResponse_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_contactcenterinsights_v1_DeployIssueModelResponse_descriptor, - new java.lang.String[] { }); - internal_static_google_cloud_contactcenterinsights_v1_DeployIssueModelMetadata_descriptor = - getDescriptor().getMessageTypes().get(33); - internal_static_google_cloud_contactcenterinsights_v1_DeployIssueModelMetadata_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_contactcenterinsights_v1_DeployIssueModelMetadata_descriptor, - new java.lang.String[] { "CreateTime", "EndTime", "Request", }); - internal_static_google_cloud_contactcenterinsights_v1_UndeployIssueModelRequest_descriptor = - getDescriptor().getMessageTypes().get(34); - internal_static_google_cloud_contactcenterinsights_v1_UndeployIssueModelRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_contactcenterinsights_v1_UndeployIssueModelRequest_descriptor, - new java.lang.String[] { "Name", }); - internal_static_google_cloud_contactcenterinsights_v1_UndeployIssueModelResponse_descriptor = - getDescriptor().getMessageTypes().get(35); - internal_static_google_cloud_contactcenterinsights_v1_UndeployIssueModelResponse_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_contactcenterinsights_v1_UndeployIssueModelResponse_descriptor, - new java.lang.String[] { }); - internal_static_google_cloud_contactcenterinsights_v1_UndeployIssueModelMetadata_descriptor = - getDescriptor().getMessageTypes().get(36); - internal_static_google_cloud_contactcenterinsights_v1_UndeployIssueModelMetadata_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_contactcenterinsights_v1_UndeployIssueModelMetadata_descriptor, - new java.lang.String[] { "CreateTime", "EndTime", "Request", }); - internal_static_google_cloud_contactcenterinsights_v1_GetIssueRequest_descriptor = - getDescriptor().getMessageTypes().get(37); - internal_static_google_cloud_contactcenterinsights_v1_GetIssueRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_contactcenterinsights_v1_GetIssueRequest_descriptor, - new java.lang.String[] { "Name", }); - internal_static_google_cloud_contactcenterinsights_v1_ListIssuesRequest_descriptor = - getDescriptor().getMessageTypes().get(38); - internal_static_google_cloud_contactcenterinsights_v1_ListIssuesRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_contactcenterinsights_v1_ListIssuesRequest_descriptor, - new java.lang.String[] { "Parent", }); - internal_static_google_cloud_contactcenterinsights_v1_ListIssuesResponse_descriptor = - getDescriptor().getMessageTypes().get(39); - internal_static_google_cloud_contactcenterinsights_v1_ListIssuesResponse_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_contactcenterinsights_v1_ListIssuesResponse_descriptor, - new java.lang.String[] { "Issues", }); - internal_static_google_cloud_contactcenterinsights_v1_UpdateIssueRequest_descriptor = - getDescriptor().getMessageTypes().get(40); - internal_static_google_cloud_contactcenterinsights_v1_UpdateIssueRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_contactcenterinsights_v1_UpdateIssueRequest_descriptor, - new java.lang.String[] { "Issue", "UpdateMask", }); - internal_static_google_cloud_contactcenterinsights_v1_DeleteIssueRequest_descriptor = - getDescriptor().getMessageTypes().get(41); - internal_static_google_cloud_contactcenterinsights_v1_DeleteIssueRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_contactcenterinsights_v1_DeleteIssueRequest_descriptor, - new java.lang.String[] { "Name", }); - internal_static_google_cloud_contactcenterinsights_v1_CalculateIssueModelStatsRequest_descriptor = - getDescriptor().getMessageTypes().get(42); - internal_static_google_cloud_contactcenterinsights_v1_CalculateIssueModelStatsRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_contactcenterinsights_v1_CalculateIssueModelStatsRequest_descriptor, - new java.lang.String[] { "IssueModel", }); - internal_static_google_cloud_contactcenterinsights_v1_CalculateIssueModelStatsResponse_descriptor = - getDescriptor().getMessageTypes().get(43); - internal_static_google_cloud_contactcenterinsights_v1_CalculateIssueModelStatsResponse_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_contactcenterinsights_v1_CalculateIssueModelStatsResponse_descriptor, - new java.lang.String[] { "CurrentStats", }); - internal_static_google_cloud_contactcenterinsights_v1_CreatePhraseMatcherRequest_descriptor = - getDescriptor().getMessageTypes().get(44); - internal_static_google_cloud_contactcenterinsights_v1_CreatePhraseMatcherRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_contactcenterinsights_v1_CreatePhraseMatcherRequest_descriptor, - new java.lang.String[] { "Parent", "PhraseMatcher", }); - internal_static_google_cloud_contactcenterinsights_v1_ListPhraseMatchersRequest_descriptor = - getDescriptor().getMessageTypes().get(45); - internal_static_google_cloud_contactcenterinsights_v1_ListPhraseMatchersRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_contactcenterinsights_v1_ListPhraseMatchersRequest_descriptor, - new java.lang.String[] { "Parent", "PageSize", "PageToken", "Filter", }); - internal_static_google_cloud_contactcenterinsights_v1_ListPhraseMatchersResponse_descriptor = - getDescriptor().getMessageTypes().get(46); - internal_static_google_cloud_contactcenterinsights_v1_ListPhraseMatchersResponse_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_contactcenterinsights_v1_ListPhraseMatchersResponse_descriptor, - new java.lang.String[] { "PhraseMatchers", "NextPageToken", }); - internal_static_google_cloud_contactcenterinsights_v1_GetPhraseMatcherRequest_descriptor = - getDescriptor().getMessageTypes().get(47); - internal_static_google_cloud_contactcenterinsights_v1_GetPhraseMatcherRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_contactcenterinsights_v1_GetPhraseMatcherRequest_descriptor, - new java.lang.String[] { "Name", }); - internal_static_google_cloud_contactcenterinsights_v1_DeletePhraseMatcherRequest_descriptor = - getDescriptor().getMessageTypes().get(48); - internal_static_google_cloud_contactcenterinsights_v1_DeletePhraseMatcherRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_contactcenterinsights_v1_DeletePhraseMatcherRequest_descriptor, - new java.lang.String[] { "Name", }); - internal_static_google_cloud_contactcenterinsights_v1_UpdatePhraseMatcherRequest_descriptor = - getDescriptor().getMessageTypes().get(49); - internal_static_google_cloud_contactcenterinsights_v1_UpdatePhraseMatcherRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_contactcenterinsights_v1_UpdatePhraseMatcherRequest_descriptor, - new java.lang.String[] { "PhraseMatcher", "UpdateMask", }); - internal_static_google_cloud_contactcenterinsights_v1_GetSettingsRequest_descriptor = - getDescriptor().getMessageTypes().get(50); - internal_static_google_cloud_contactcenterinsights_v1_GetSettingsRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_contactcenterinsights_v1_GetSettingsRequest_descriptor, - new java.lang.String[] { "Name", }); - internal_static_google_cloud_contactcenterinsights_v1_UpdateSettingsRequest_descriptor = - getDescriptor().getMessageTypes().get(51); - internal_static_google_cloud_contactcenterinsights_v1_UpdateSettingsRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_contactcenterinsights_v1_UpdateSettingsRequest_descriptor, - new java.lang.String[] { "Settings", "UpdateMask", }); - internal_static_google_cloud_contactcenterinsights_v1_CreateViewRequest_descriptor = - getDescriptor().getMessageTypes().get(52); - internal_static_google_cloud_contactcenterinsights_v1_CreateViewRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_contactcenterinsights_v1_CreateViewRequest_descriptor, - new java.lang.String[] { "Parent", "View", }); - internal_static_google_cloud_contactcenterinsights_v1_GetViewRequest_descriptor = - getDescriptor().getMessageTypes().get(53); - internal_static_google_cloud_contactcenterinsights_v1_GetViewRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_contactcenterinsights_v1_GetViewRequest_descriptor, - new java.lang.String[] { "Name", }); - internal_static_google_cloud_contactcenterinsights_v1_ListViewsRequest_descriptor = - getDescriptor().getMessageTypes().get(54); - internal_static_google_cloud_contactcenterinsights_v1_ListViewsRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_contactcenterinsights_v1_ListViewsRequest_descriptor, - new java.lang.String[] { "Parent", "PageSize", "PageToken", }); - internal_static_google_cloud_contactcenterinsights_v1_ListViewsResponse_descriptor = - getDescriptor().getMessageTypes().get(55); - internal_static_google_cloud_contactcenterinsights_v1_ListViewsResponse_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_contactcenterinsights_v1_ListViewsResponse_descriptor, - new java.lang.String[] { "Views", "NextPageToken", }); - internal_static_google_cloud_contactcenterinsights_v1_UpdateViewRequest_descriptor = - getDescriptor().getMessageTypes().get(56); - internal_static_google_cloud_contactcenterinsights_v1_UpdateViewRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_contactcenterinsights_v1_UpdateViewRequest_descriptor, - new java.lang.String[] { "View", "UpdateMask", }); - internal_static_google_cloud_contactcenterinsights_v1_DeleteViewRequest_descriptor = - getDescriptor().getMessageTypes().get(57); - internal_static_google_cloud_contactcenterinsights_v1_DeleteViewRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_contactcenterinsights_v1_DeleteViewRequest_descriptor, - new java.lang.String[] { "Name", }); - com.google.protobuf.ExtensionRegistry registry = - com.google.protobuf.ExtensionRegistry.newInstance(); - registry.add(com.google.api.ClientProto.defaultHost); - registry.add(com.google.api.FieldBehaviorProto.fieldBehavior); - registry.add(com.google.api.AnnotationsProto.http); - registry.add(com.google.api.ClientProto.methodSignature); - registry.add(com.google.api.ClientProto.oauthScopes); - registry.add(com.google.api.ResourceProto.resourceReference); - registry.add(com.google.longrunning.OperationsProto.operationInfo); - com.google.protobuf.Descriptors.FileDescriptor - .internalUpdateFileDescriptor(descriptor, registry); - com.google.api.AnnotationsProto.getDescriptor(); - com.google.api.ClientProto.getDescriptor(); - com.google.api.FieldBehaviorProto.getDescriptor(); - com.google.api.ResourceProto.getDescriptor(); - com.google.cloud.contactcenterinsights.v1.ResourcesProto.getDescriptor(); - com.google.longrunning.OperationsProto.getDescriptor(); - com.google.protobuf.DurationProto.getDescriptor(); - com.google.protobuf.EmptyProto.getDescriptor(); - com.google.protobuf.FieldMaskProto.getDescriptor(); - com.google.protobuf.TimestampProto.getDescriptor(); - com.google.rpc.StatusProto.getDescriptor(); - } - - // @@protoc_insertion_point(outer_class_scope) -} diff --git a/owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/CreateAnalysisRequestOrBuilder.java b/owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/CreateAnalysisRequestOrBuilder.java deleted file mode 100644 index 648bc721d960..000000000000 --- a/owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/CreateAnalysisRequestOrBuilder.java +++ /dev/null @@ -1,56 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/contactcenterinsights/v1/contact_center_insights.proto - -package com.google.cloud.contactcenterinsights.v1; - -public interface CreateAnalysisRequestOrBuilder extends - // @@protoc_insertion_point(interface_extends:google.cloud.contactcenterinsights.v1.CreateAnalysisRequest) - com.google.protobuf.MessageOrBuilder { - - /** - *
-   * Required. The parent resource of the analysis.
-   * 
- * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * @return The parent. - */ - java.lang.String getParent(); - /** - *
-   * Required. The parent resource of the analysis.
-   * 
- * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * @return The bytes for parent. - */ - com.google.protobuf.ByteString - getParentBytes(); - - /** - *
-   * Required. The analysis to create.
-   * 
- * - * .google.cloud.contactcenterinsights.v1.Analysis analysis = 2 [(.google.api.field_behavior) = REQUIRED]; - * @return Whether the analysis field is set. - */ - boolean hasAnalysis(); - /** - *
-   * Required. The analysis to create.
-   * 
- * - * .google.cloud.contactcenterinsights.v1.Analysis analysis = 2 [(.google.api.field_behavior) = REQUIRED]; - * @return The analysis. - */ - com.google.cloud.contactcenterinsights.v1.Analysis getAnalysis(); - /** - *
-   * Required. The analysis to create.
-   * 
- * - * .google.cloud.contactcenterinsights.v1.Analysis analysis = 2 [(.google.api.field_behavior) = REQUIRED]; - */ - com.google.cloud.contactcenterinsights.v1.AnalysisOrBuilder getAnalysisOrBuilder(); -} diff --git a/owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/CreateIssueModelRequestOrBuilder.java b/owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/CreateIssueModelRequestOrBuilder.java deleted file mode 100644 index b94ecb8792fd..000000000000 --- a/owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/CreateIssueModelRequestOrBuilder.java +++ /dev/null @@ -1,56 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/contactcenterinsights/v1/contact_center_insights.proto - -package com.google.cloud.contactcenterinsights.v1; - -public interface CreateIssueModelRequestOrBuilder extends - // @@protoc_insertion_point(interface_extends:google.cloud.contactcenterinsights.v1.CreateIssueModelRequest) - com.google.protobuf.MessageOrBuilder { - - /** - *
-   * Required. The parent resource of the issue model.
-   * 
- * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * @return The parent. - */ - java.lang.String getParent(); - /** - *
-   * Required. The parent resource of the issue model.
-   * 
- * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * @return The bytes for parent. - */ - com.google.protobuf.ByteString - getParentBytes(); - - /** - *
-   * Required. The issue model to create.
-   * 
- * - * .google.cloud.contactcenterinsights.v1.IssueModel issue_model = 2 [(.google.api.field_behavior) = REQUIRED]; - * @return Whether the issueModel field is set. - */ - boolean hasIssueModel(); - /** - *
-   * Required. The issue model to create.
-   * 
- * - * .google.cloud.contactcenterinsights.v1.IssueModel issue_model = 2 [(.google.api.field_behavior) = REQUIRED]; - * @return The issueModel. - */ - com.google.cloud.contactcenterinsights.v1.IssueModel getIssueModel(); - /** - *
-   * Required. The issue model to create.
-   * 
- * - * .google.cloud.contactcenterinsights.v1.IssueModel issue_model = 2 [(.google.api.field_behavior) = REQUIRED]; - */ - com.google.cloud.contactcenterinsights.v1.IssueModelOrBuilder getIssueModelOrBuilder(); -} diff --git a/owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/DeleteAnalysisRequestOrBuilder.java b/owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/DeleteAnalysisRequestOrBuilder.java deleted file mode 100644 index 932fbf0df40c..000000000000 --- a/owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/DeleteAnalysisRequestOrBuilder.java +++ /dev/null @@ -1,29 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/contactcenterinsights/v1/contact_center_insights.proto - -package com.google.cloud.contactcenterinsights.v1; - -public interface DeleteAnalysisRequestOrBuilder extends - // @@protoc_insertion_point(interface_extends:google.cloud.contactcenterinsights.v1.DeleteAnalysisRequest) - com.google.protobuf.MessageOrBuilder { - - /** - *
-   * Required. The name of the analysis to delete.
-   * 
- * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * @return The name. - */ - java.lang.String getName(); - /** - *
-   * Required. The name of the analysis to delete.
-   * 
- * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * @return The bytes for name. - */ - com.google.protobuf.ByteString - getNameBytes(); -} diff --git a/owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/DeleteConversationRequestOrBuilder.java b/owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/DeleteConversationRequestOrBuilder.java deleted file mode 100644 index d15cd125e212..000000000000 --- a/owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/DeleteConversationRequestOrBuilder.java +++ /dev/null @@ -1,41 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/contactcenterinsights/v1/contact_center_insights.proto - -package com.google.cloud.contactcenterinsights.v1; - -public interface DeleteConversationRequestOrBuilder extends - // @@protoc_insertion_point(interface_extends:google.cloud.contactcenterinsights.v1.DeleteConversationRequest) - com.google.protobuf.MessageOrBuilder { - - /** - *
-   * Required. The name of the conversation to delete.
-   * 
- * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * @return The name. - */ - java.lang.String getName(); - /** - *
-   * Required. The name of the conversation to delete.
-   * 
- * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * @return The bytes for name. - */ - com.google.protobuf.ByteString - getNameBytes(); - - /** - *
-   * If set to true, all of this conversation's analyses will also be deleted.
-   * Otherwise, the request will only succeed if the conversation has no
-   * analyses.
-   * 
- * - * bool force = 2; - * @return The force. - */ - boolean getForce(); -} diff --git a/owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/DeleteIssueModelRequestOrBuilder.java b/owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/DeleteIssueModelRequestOrBuilder.java deleted file mode 100644 index a643ce70b563..000000000000 --- a/owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/DeleteIssueModelRequestOrBuilder.java +++ /dev/null @@ -1,29 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/contactcenterinsights/v1/contact_center_insights.proto - -package com.google.cloud.contactcenterinsights.v1; - -public interface DeleteIssueModelRequestOrBuilder extends - // @@protoc_insertion_point(interface_extends:google.cloud.contactcenterinsights.v1.DeleteIssueModelRequest) - com.google.protobuf.MessageOrBuilder { - - /** - *
-   * Required. The name of the issue model to delete.
-   * 
- * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * @return The name. - */ - java.lang.String getName(); - /** - *
-   * Required. The name of the issue model to delete.
-   * 
- * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * @return The bytes for name. - */ - com.google.protobuf.ByteString - getNameBytes(); -} diff --git a/owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/DeleteIssueRequestOrBuilder.java b/owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/DeleteIssueRequestOrBuilder.java deleted file mode 100644 index 8c92df600211..000000000000 --- a/owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/DeleteIssueRequestOrBuilder.java +++ /dev/null @@ -1,29 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/contactcenterinsights/v1/contact_center_insights.proto - -package com.google.cloud.contactcenterinsights.v1; - -public interface DeleteIssueRequestOrBuilder extends - // @@protoc_insertion_point(interface_extends:google.cloud.contactcenterinsights.v1.DeleteIssueRequest) - com.google.protobuf.MessageOrBuilder { - - /** - *
-   * Required. The name of the issue to delete.
-   * 
- * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * @return The name. - */ - java.lang.String getName(); - /** - *
-   * Required. The name of the issue to delete.
-   * 
- * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * @return The bytes for name. - */ - com.google.protobuf.ByteString - getNameBytes(); -} diff --git a/owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/DeletePhraseMatcherRequestOrBuilder.java b/owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/DeletePhraseMatcherRequestOrBuilder.java deleted file mode 100644 index cb8112db5935..000000000000 --- a/owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/DeletePhraseMatcherRequestOrBuilder.java +++ /dev/null @@ -1,29 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/contactcenterinsights/v1/contact_center_insights.proto - -package com.google.cloud.contactcenterinsights.v1; - -public interface DeletePhraseMatcherRequestOrBuilder extends - // @@protoc_insertion_point(interface_extends:google.cloud.contactcenterinsights.v1.DeletePhraseMatcherRequest) - com.google.protobuf.MessageOrBuilder { - - /** - *
-   * Required. The name of the phrase matcher to delete.
-   * 
- * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * @return The name. - */ - java.lang.String getName(); - /** - *
-   * Required. The name of the phrase matcher to delete.
-   * 
- * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * @return The bytes for name. - */ - com.google.protobuf.ByteString - getNameBytes(); -} diff --git a/owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/DeleteViewRequestOrBuilder.java b/owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/DeleteViewRequestOrBuilder.java deleted file mode 100644 index 6b3adefa4164..000000000000 --- a/owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/DeleteViewRequestOrBuilder.java +++ /dev/null @@ -1,29 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/contactcenterinsights/v1/contact_center_insights.proto - -package com.google.cloud.contactcenterinsights.v1; - -public interface DeleteViewRequestOrBuilder extends - // @@protoc_insertion_point(interface_extends:google.cloud.contactcenterinsights.v1.DeleteViewRequest) - com.google.protobuf.MessageOrBuilder { - - /** - *
-   * Required. The name of the view to delete.
-   * 
- * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * @return The name. - */ - java.lang.String getName(); - /** - *
-   * Required. The name of the view to delete.
-   * 
- * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * @return The bytes for name. - */ - com.google.protobuf.ByteString - getNameBytes(); -} diff --git a/owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/DeployIssueModelRequestOrBuilder.java b/owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/DeployIssueModelRequestOrBuilder.java deleted file mode 100644 index 2e51a4defb40..000000000000 --- a/owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/DeployIssueModelRequestOrBuilder.java +++ /dev/null @@ -1,29 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/contactcenterinsights/v1/contact_center_insights.proto - -package com.google.cloud.contactcenterinsights.v1; - -public interface DeployIssueModelRequestOrBuilder extends - // @@protoc_insertion_point(interface_extends:google.cloud.contactcenterinsights.v1.DeployIssueModelRequest) - com.google.protobuf.MessageOrBuilder { - - /** - *
-   * Required. The issue model to deploy.
-   * 
- * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * @return The name. - */ - java.lang.String getName(); - /** - *
-   * Required. The issue model to deploy.
-   * 
- * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * @return The bytes for name. - */ - com.google.protobuf.ByteString - getNameBytes(); -} diff --git a/owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/DeployIssueModelResponseOrBuilder.java b/owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/DeployIssueModelResponseOrBuilder.java deleted file mode 100644 index 206c8adc47c9..000000000000 --- a/owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/DeployIssueModelResponseOrBuilder.java +++ /dev/null @@ -1,9 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/contactcenterinsights/v1/contact_center_insights.proto - -package com.google.cloud.contactcenterinsights.v1; - -public interface DeployIssueModelResponseOrBuilder extends - // @@protoc_insertion_point(interface_extends:google.cloud.contactcenterinsights.v1.DeployIssueModelResponse) - com.google.protobuf.MessageOrBuilder { -} diff --git a/owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/DialogflowIntentOrBuilder.java b/owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/DialogflowIntentOrBuilder.java deleted file mode 100644 index 9978e6a5fd31..000000000000 --- a/owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/DialogflowIntentOrBuilder.java +++ /dev/null @@ -1,29 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/contactcenterinsights/v1/resources.proto - -package com.google.cloud.contactcenterinsights.v1; - -public interface DialogflowIntentOrBuilder extends - // @@protoc_insertion_point(interface_extends:google.cloud.contactcenterinsights.v1.DialogflowIntent) - com.google.protobuf.MessageOrBuilder { - - /** - *
-   * The human-readable name of the intent.
-   * 
- * - * string display_name = 1; - * @return The displayName. - */ - java.lang.String getDisplayName(); - /** - *
-   * The human-readable name of the intent.
-   * 
- * - * string display_name = 1; - * @return The bytes for displayName. - */ - com.google.protobuf.ByteString - getDisplayNameBytes(); -} diff --git a/owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ExactMatchConfigOrBuilder.java b/owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ExactMatchConfigOrBuilder.java deleted file mode 100644 index 46f96da97e46..000000000000 --- a/owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ExactMatchConfigOrBuilder.java +++ /dev/null @@ -1,19 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/contactcenterinsights/v1/resources.proto - -package com.google.cloud.contactcenterinsights.v1; - -public interface ExactMatchConfigOrBuilder extends - // @@protoc_insertion_point(interface_extends:google.cloud.contactcenterinsights.v1.ExactMatchConfig) - com.google.protobuf.MessageOrBuilder { - - /** - *
-   * Whether to consider case sensitivity when performing an exact match.
-   * 
- * - * bool case_sensitive = 1; - * @return The caseSensitive. - */ - boolean getCaseSensitive(); -} diff --git a/owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ExportInsightsDataResponseOrBuilder.java b/owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ExportInsightsDataResponseOrBuilder.java deleted file mode 100644 index 9971c70c9825..000000000000 --- a/owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ExportInsightsDataResponseOrBuilder.java +++ /dev/null @@ -1,9 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/contactcenterinsights/v1/contact_center_insights.proto - -package com.google.cloud.contactcenterinsights.v1; - -public interface ExportInsightsDataResponseOrBuilder extends - // @@protoc_insertion_point(interface_extends:google.cloud.contactcenterinsights.v1.ExportInsightsDataResponse) - com.google.protobuf.MessageOrBuilder { -} diff --git a/owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/GetAnalysisRequestOrBuilder.java b/owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/GetAnalysisRequestOrBuilder.java deleted file mode 100644 index d438a1fa428b..000000000000 --- a/owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/GetAnalysisRequestOrBuilder.java +++ /dev/null @@ -1,29 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/contactcenterinsights/v1/contact_center_insights.proto - -package com.google.cloud.contactcenterinsights.v1; - -public interface GetAnalysisRequestOrBuilder extends - // @@protoc_insertion_point(interface_extends:google.cloud.contactcenterinsights.v1.GetAnalysisRequest) - com.google.protobuf.MessageOrBuilder { - - /** - *
-   * Required. The name of the analysis to get.
-   * 
- * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * @return The name. - */ - java.lang.String getName(); - /** - *
-   * Required. The name of the analysis to get.
-   * 
- * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * @return The bytes for name. - */ - com.google.protobuf.ByteString - getNameBytes(); -} diff --git a/owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/GetIssueModelRequestOrBuilder.java b/owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/GetIssueModelRequestOrBuilder.java deleted file mode 100644 index bd12548f170a..000000000000 --- a/owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/GetIssueModelRequestOrBuilder.java +++ /dev/null @@ -1,29 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/contactcenterinsights/v1/contact_center_insights.proto - -package com.google.cloud.contactcenterinsights.v1; - -public interface GetIssueModelRequestOrBuilder extends - // @@protoc_insertion_point(interface_extends:google.cloud.contactcenterinsights.v1.GetIssueModelRequest) - com.google.protobuf.MessageOrBuilder { - - /** - *
-   * Required. The name of the issue model to get.
-   * 
- * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * @return The name. - */ - java.lang.String getName(); - /** - *
-   * Required. The name of the issue model to get.
-   * 
- * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * @return The bytes for name. - */ - com.google.protobuf.ByteString - getNameBytes(); -} diff --git a/owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/GetIssueRequestOrBuilder.java b/owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/GetIssueRequestOrBuilder.java deleted file mode 100644 index 8997efd09fa4..000000000000 --- a/owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/GetIssueRequestOrBuilder.java +++ /dev/null @@ -1,29 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/contactcenterinsights/v1/contact_center_insights.proto - -package com.google.cloud.contactcenterinsights.v1; - -public interface GetIssueRequestOrBuilder extends - // @@protoc_insertion_point(interface_extends:google.cloud.contactcenterinsights.v1.GetIssueRequest) - com.google.protobuf.MessageOrBuilder { - - /** - *
-   * Required. The name of the issue to get.
-   * 
- * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * @return The name. - */ - java.lang.String getName(); - /** - *
-   * Required. The name of the issue to get.
-   * 
- * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * @return The bytes for name. - */ - com.google.protobuf.ByteString - getNameBytes(); -} diff --git a/owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/GetPhraseMatcherRequestOrBuilder.java b/owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/GetPhraseMatcherRequestOrBuilder.java deleted file mode 100644 index cab6c263ab36..000000000000 --- a/owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/GetPhraseMatcherRequestOrBuilder.java +++ /dev/null @@ -1,29 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/contactcenterinsights/v1/contact_center_insights.proto - -package com.google.cloud.contactcenterinsights.v1; - -public interface GetPhraseMatcherRequestOrBuilder extends - // @@protoc_insertion_point(interface_extends:google.cloud.contactcenterinsights.v1.GetPhraseMatcherRequest) - com.google.protobuf.MessageOrBuilder { - - /** - *
-   * Required. The name of the phrase matcher to get.
-   * 
- * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * @return The name. - */ - java.lang.String getName(); - /** - *
-   * Required. The name of the phrase matcher to get.
-   * 
- * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * @return The bytes for name. - */ - com.google.protobuf.ByteString - getNameBytes(); -} diff --git a/owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/GetSettingsRequestOrBuilder.java b/owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/GetSettingsRequestOrBuilder.java deleted file mode 100644 index 85f0a8f8e0f8..000000000000 --- a/owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/GetSettingsRequestOrBuilder.java +++ /dev/null @@ -1,29 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/contactcenterinsights/v1/contact_center_insights.proto - -package com.google.cloud.contactcenterinsights.v1; - -public interface GetSettingsRequestOrBuilder extends - // @@protoc_insertion_point(interface_extends:google.cloud.contactcenterinsights.v1.GetSettingsRequest) - com.google.protobuf.MessageOrBuilder { - - /** - *
-   * Required. The name of the settings resource to get.
-   * 
- * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * @return The name. - */ - java.lang.String getName(); - /** - *
-   * Required. The name of the settings resource to get.
-   * 
- * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * @return The bytes for name. - */ - com.google.protobuf.ByteString - getNameBytes(); -} diff --git a/owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/GetViewRequestOrBuilder.java b/owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/GetViewRequestOrBuilder.java deleted file mode 100644 index b6c0996130ce..000000000000 --- a/owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/GetViewRequestOrBuilder.java +++ /dev/null @@ -1,29 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/contactcenterinsights/v1/contact_center_insights.proto - -package com.google.cloud.contactcenterinsights.v1; - -public interface GetViewRequestOrBuilder extends - // @@protoc_insertion_point(interface_extends:google.cloud.contactcenterinsights.v1.GetViewRequest) - com.google.protobuf.MessageOrBuilder { - - /** - *
-   * Required. The name of the view to get.
-   * 
- * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * @return The name. - */ - java.lang.String getName(); - /** - *
-   * Required. The name of the view to get.
-   * 
- * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * @return The bytes for name. - */ - com.google.protobuf.ByteString - getNameBytes(); -} diff --git a/owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/HoldDataOrBuilder.java b/owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/HoldDataOrBuilder.java deleted file mode 100644 index 069cce421999..000000000000 --- a/owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/HoldDataOrBuilder.java +++ /dev/null @@ -1,9 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/contactcenterinsights/v1/resources.proto - -package com.google.cloud.contactcenterinsights.v1; - -public interface HoldDataOrBuilder extends - // @@protoc_insertion_point(interface_extends:google.cloud.contactcenterinsights.v1.HoldData) - com.google.protobuf.MessageOrBuilder { -} diff --git a/owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/IngestConversationsRequestOrBuilder.java b/owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/IngestConversationsRequestOrBuilder.java deleted file mode 100644 index af6e531f638e..000000000000 --- a/owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/IngestConversationsRequestOrBuilder.java +++ /dev/null @@ -1,114 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/contactcenterinsights/v1/contact_center_insights.proto - -package com.google.cloud.contactcenterinsights.v1; - -public interface IngestConversationsRequestOrBuilder extends - // @@protoc_insertion_point(interface_extends:google.cloud.contactcenterinsights.v1.IngestConversationsRequest) - com.google.protobuf.MessageOrBuilder { - - /** - *
-   * A cloud storage bucket source.
-   * 
- * - * .google.cloud.contactcenterinsights.v1.IngestConversationsRequest.GcsSource gcs_source = 2; - * @return Whether the gcsSource field is set. - */ - boolean hasGcsSource(); - /** - *
-   * A cloud storage bucket source.
-   * 
- * - * .google.cloud.contactcenterinsights.v1.IngestConversationsRequest.GcsSource gcs_source = 2; - * @return The gcsSource. - */ - com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest.GcsSource getGcsSource(); - /** - *
-   * A cloud storage bucket source.
-   * 
- * - * .google.cloud.contactcenterinsights.v1.IngestConversationsRequest.GcsSource gcs_source = 2; - */ - com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest.GcsSourceOrBuilder getGcsSourceOrBuilder(); - - /** - *
-   * Configuration for when `source` contains conversation transcripts.
-   * 
- * - * .google.cloud.contactcenterinsights.v1.IngestConversationsRequest.TranscriptObjectConfig transcript_object_config = 3; - * @return Whether the transcriptObjectConfig field is set. - */ - boolean hasTranscriptObjectConfig(); - /** - *
-   * Configuration for when `source` contains conversation transcripts.
-   * 
- * - * .google.cloud.contactcenterinsights.v1.IngestConversationsRequest.TranscriptObjectConfig transcript_object_config = 3; - * @return The transcriptObjectConfig. - */ - com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest.TranscriptObjectConfig getTranscriptObjectConfig(); - /** - *
-   * Configuration for when `source` contains conversation transcripts.
-   * 
- * - * .google.cloud.contactcenterinsights.v1.IngestConversationsRequest.TranscriptObjectConfig transcript_object_config = 3; - */ - com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest.TranscriptObjectConfigOrBuilder getTranscriptObjectConfigOrBuilder(); - - /** - *
-   * Required. The parent resource for new conversations.
-   * 
- * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * @return The parent. - */ - java.lang.String getParent(); - /** - *
-   * Required. The parent resource for new conversations.
-   * 
- * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * @return The bytes for parent. - */ - com.google.protobuf.ByteString - getParentBytes(); - - /** - *
-   * Configuration that applies to all conversations.
-   * 
- * - * .google.cloud.contactcenterinsights.v1.IngestConversationsRequest.ConversationConfig conversation_config = 4; - * @return Whether the conversationConfig field is set. - */ - boolean hasConversationConfig(); - /** - *
-   * Configuration that applies to all conversations.
-   * 
- * - * .google.cloud.contactcenterinsights.v1.IngestConversationsRequest.ConversationConfig conversation_config = 4; - * @return The conversationConfig. - */ - com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest.ConversationConfig getConversationConfig(); - /** - *
-   * Configuration that applies to all conversations.
-   * 
- * - * .google.cloud.contactcenterinsights.v1.IngestConversationsRequest.ConversationConfig conversation_config = 4; - */ - com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest.ConversationConfigOrBuilder getConversationConfigOrBuilder(); - - public com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest.SourceCase getSourceCase(); - - public com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest.ObjectConfigCase getObjectConfigCase(); -} diff --git a/owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/IngestConversationsResponseOrBuilder.java b/owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/IngestConversationsResponseOrBuilder.java deleted file mode 100644 index 395d25acf237..000000000000 --- a/owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/IngestConversationsResponseOrBuilder.java +++ /dev/null @@ -1,9 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/contactcenterinsights/v1/contact_center_insights.proto - -package com.google.cloud.contactcenterinsights.v1; - -public interface IngestConversationsResponseOrBuilder extends - // @@protoc_insertion_point(interface_extends:google.cloud.contactcenterinsights.v1.IngestConversationsResponse) - com.google.protobuf.MessageOrBuilder { -} diff --git a/owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/InterruptionDataOrBuilder.java b/owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/InterruptionDataOrBuilder.java deleted file mode 100644 index 5e379cd6c3ea..000000000000 --- a/owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/InterruptionDataOrBuilder.java +++ /dev/null @@ -1,9 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/contactcenterinsights/v1/resources.proto - -package com.google.cloud.contactcenterinsights.v1; - -public interface InterruptionDataOrBuilder extends - // @@protoc_insertion_point(interface_extends:google.cloud.contactcenterinsights.v1.InterruptionData) - com.google.protobuf.MessageOrBuilder { -} diff --git a/owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/IssueModelLabelStatsOrBuilder.java b/owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/IssueModelLabelStatsOrBuilder.java deleted file mode 100644 index fb92d7c7f04a..000000000000 --- a/owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/IssueModelLabelStatsOrBuilder.java +++ /dev/null @@ -1,84 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/contactcenterinsights/v1/resources.proto - -package com.google.cloud.contactcenterinsights.v1; - -public interface IssueModelLabelStatsOrBuilder extends - // @@protoc_insertion_point(interface_extends:google.cloud.contactcenterinsights.v1.IssueModelLabelStats) - com.google.protobuf.MessageOrBuilder { - - /** - *
-   * Number of conversations the issue model has analyzed at this point in time.
-   * 
- * - * int64 analyzed_conversations_count = 1; - * @return The analyzedConversationsCount. - */ - long getAnalyzedConversationsCount(); - - /** - *
-   * Number of analyzed conversations for which no issue was applicable at this
-   * point in time.
-   * 
- * - * int64 unclassified_conversations_count = 2; - * @return The unclassifiedConversationsCount. - */ - long getUnclassifiedConversationsCount(); - - /** - *
-   * Statistics on each issue. Key is the issue's resource name.
-   * 
- * - * map<string, .google.cloud.contactcenterinsights.v1.IssueModelLabelStats.IssueStats> issue_stats = 3; - */ - int getIssueStatsCount(); - /** - *
-   * Statistics on each issue. Key is the issue's resource name.
-   * 
- * - * map<string, .google.cloud.contactcenterinsights.v1.IssueModelLabelStats.IssueStats> issue_stats = 3; - */ - boolean containsIssueStats( - java.lang.String key); - /** - * Use {@link #getIssueStatsMap()} instead. - */ - @java.lang.Deprecated - java.util.Map - getIssueStats(); - /** - *
-   * Statistics on each issue. Key is the issue's resource name.
-   * 
- * - * map<string, .google.cloud.contactcenterinsights.v1.IssueModelLabelStats.IssueStats> issue_stats = 3; - */ - java.util.Map - getIssueStatsMap(); - /** - *
-   * Statistics on each issue. Key is the issue's resource name.
-   * 
- * - * map<string, .google.cloud.contactcenterinsights.v1.IssueModelLabelStats.IssueStats> issue_stats = 3; - */ - /* nullable */ -com.google.cloud.contactcenterinsights.v1.IssueModelLabelStats.IssueStats getIssueStatsOrDefault( - java.lang.String key, - /* nullable */ -com.google.cloud.contactcenterinsights.v1.IssueModelLabelStats.IssueStats defaultValue); - /** - *
-   * Statistics on each issue. Key is the issue's resource name.
-   * 
- * - * map<string, .google.cloud.contactcenterinsights.v1.IssueModelLabelStats.IssueStats> issue_stats = 3; - */ - com.google.cloud.contactcenterinsights.v1.IssueModelLabelStats.IssueStats getIssueStatsOrThrow( - java.lang.String key); -} diff --git a/owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ListIssueModelsRequestOrBuilder.java b/owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ListIssueModelsRequestOrBuilder.java deleted file mode 100644 index 23b0abcf9839..000000000000 --- a/owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ListIssueModelsRequestOrBuilder.java +++ /dev/null @@ -1,29 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/contactcenterinsights/v1/contact_center_insights.proto - -package com.google.cloud.contactcenterinsights.v1; - -public interface ListIssueModelsRequestOrBuilder extends - // @@protoc_insertion_point(interface_extends:google.cloud.contactcenterinsights.v1.ListIssueModelsRequest) - com.google.protobuf.MessageOrBuilder { - - /** - *
-   * Required. The parent resource of the issue model.
-   * 
- * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * @return The parent. - */ - java.lang.String getParent(); - /** - *
-   * Required. The parent resource of the issue model.
-   * 
- * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * @return The bytes for parent. - */ - com.google.protobuf.ByteString - getParentBytes(); -} diff --git a/owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ListIssuesRequestOrBuilder.java b/owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ListIssuesRequestOrBuilder.java deleted file mode 100644 index b1393cf51473..000000000000 --- a/owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ListIssuesRequestOrBuilder.java +++ /dev/null @@ -1,29 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/contactcenterinsights/v1/contact_center_insights.proto - -package com.google.cloud.contactcenterinsights.v1; - -public interface ListIssuesRequestOrBuilder extends - // @@protoc_insertion_point(interface_extends:google.cloud.contactcenterinsights.v1.ListIssuesRequest) - com.google.protobuf.MessageOrBuilder { - - /** - *
-   * Required. The parent resource of the issue.
-   * 
- * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * @return The parent. - */ - java.lang.String getParent(); - /** - *
-   * Required. The parent resource of the issue.
-   * 
- * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * @return The bytes for parent. - */ - com.google.protobuf.ByteString - getParentBytes(); -} diff --git a/owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ResourcesProto.java b/owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ResourcesProto.java deleted file mode 100644 index ee56ba4245e8..000000000000 --- a/owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ResourcesProto.java +++ /dev/null @@ -1,1097 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/contactcenterinsights/v1/resources.proto - -package com.google.cloud.contactcenterinsights.v1; - -public final class ResourcesProto { - private ResourcesProto() {} - public static void registerAllExtensions( - com.google.protobuf.ExtensionRegistryLite registry) { - } - - public static void registerAllExtensions( - com.google.protobuf.ExtensionRegistry registry) { - registerAllExtensions( - (com.google.protobuf.ExtensionRegistryLite) registry); - } - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_contactcenterinsights_v1_Conversation_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_contactcenterinsights_v1_Conversation_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_contactcenterinsights_v1_Conversation_CallMetadata_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_contactcenterinsights_v1_Conversation_CallMetadata_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_contactcenterinsights_v1_Conversation_Transcript_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_contactcenterinsights_v1_Conversation_Transcript_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_contactcenterinsights_v1_Conversation_Transcript_TranscriptSegment_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_contactcenterinsights_v1_Conversation_Transcript_TranscriptSegment_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_contactcenterinsights_v1_Conversation_Transcript_TranscriptSegment_WordInfo_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_contactcenterinsights_v1_Conversation_Transcript_TranscriptSegment_WordInfo_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_contactcenterinsights_v1_Conversation_Transcript_TranscriptSegment_DialogflowSegmentMetadata_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_contactcenterinsights_v1_Conversation_Transcript_TranscriptSegment_DialogflowSegmentMetadata_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_contactcenterinsights_v1_Conversation_LabelsEntry_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_contactcenterinsights_v1_Conversation_LabelsEntry_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_contactcenterinsights_v1_Conversation_DialogflowIntentsEntry_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_contactcenterinsights_v1_Conversation_DialogflowIntentsEntry_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_contactcenterinsights_v1_Analysis_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_contactcenterinsights_v1_Analysis_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_contactcenterinsights_v1_ConversationDataSource_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_contactcenterinsights_v1_ConversationDataSource_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_contactcenterinsights_v1_GcsSource_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_contactcenterinsights_v1_GcsSource_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_contactcenterinsights_v1_DialogflowSource_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_contactcenterinsights_v1_DialogflowSource_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_contactcenterinsights_v1_AnalysisResult_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_contactcenterinsights_v1_AnalysisResult_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_contactcenterinsights_v1_AnalysisResult_CallAnalysisMetadata_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_contactcenterinsights_v1_AnalysisResult_CallAnalysisMetadata_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_contactcenterinsights_v1_AnalysisResult_CallAnalysisMetadata_EntitiesEntry_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_contactcenterinsights_v1_AnalysisResult_CallAnalysisMetadata_EntitiesEntry_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_contactcenterinsights_v1_AnalysisResult_CallAnalysisMetadata_IntentsEntry_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_contactcenterinsights_v1_AnalysisResult_CallAnalysisMetadata_IntentsEntry_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_contactcenterinsights_v1_AnalysisResult_CallAnalysisMetadata_PhraseMatchersEntry_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_contactcenterinsights_v1_AnalysisResult_CallAnalysisMetadata_PhraseMatchersEntry_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_contactcenterinsights_v1_IssueModelResult_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_contactcenterinsights_v1_IssueModelResult_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_contactcenterinsights_v1_ConversationLevelSentiment_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_contactcenterinsights_v1_ConversationLevelSentiment_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_contactcenterinsights_v1_IssueAssignment_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_contactcenterinsights_v1_IssueAssignment_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_contactcenterinsights_v1_CallAnnotation_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_contactcenterinsights_v1_CallAnnotation_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_contactcenterinsights_v1_AnnotationBoundary_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_contactcenterinsights_v1_AnnotationBoundary_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_contactcenterinsights_v1_Entity_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_contactcenterinsights_v1_Entity_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_contactcenterinsights_v1_Entity_MetadataEntry_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_contactcenterinsights_v1_Entity_MetadataEntry_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_contactcenterinsights_v1_Intent_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_contactcenterinsights_v1_Intent_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_contactcenterinsights_v1_PhraseMatchData_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_contactcenterinsights_v1_PhraseMatchData_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_contactcenterinsights_v1_DialogflowIntent_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_contactcenterinsights_v1_DialogflowIntent_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_contactcenterinsights_v1_InterruptionData_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_contactcenterinsights_v1_InterruptionData_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_contactcenterinsights_v1_SilenceData_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_contactcenterinsights_v1_SilenceData_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_contactcenterinsights_v1_HoldData_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_contactcenterinsights_v1_HoldData_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_contactcenterinsights_v1_EntityMentionData_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_contactcenterinsights_v1_EntityMentionData_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_contactcenterinsights_v1_IntentMatchData_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_contactcenterinsights_v1_IntentMatchData_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_contactcenterinsights_v1_SentimentData_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_contactcenterinsights_v1_SentimentData_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_contactcenterinsights_v1_IssueMatchData_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_contactcenterinsights_v1_IssueMatchData_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_contactcenterinsights_v1_IssueModel_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_contactcenterinsights_v1_IssueModel_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_contactcenterinsights_v1_IssueModel_InputDataConfig_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_contactcenterinsights_v1_IssueModel_InputDataConfig_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_contactcenterinsights_v1_Issue_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_contactcenterinsights_v1_Issue_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_contactcenterinsights_v1_IssueModelLabelStats_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_contactcenterinsights_v1_IssueModelLabelStats_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_contactcenterinsights_v1_IssueModelLabelStats_IssueStats_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_contactcenterinsights_v1_IssueModelLabelStats_IssueStats_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_contactcenterinsights_v1_IssueModelLabelStats_IssueStatsEntry_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_contactcenterinsights_v1_IssueModelLabelStats_IssueStatsEntry_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_contactcenterinsights_v1_PhraseMatcher_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_contactcenterinsights_v1_PhraseMatcher_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_contactcenterinsights_v1_PhraseMatchRuleGroup_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_contactcenterinsights_v1_PhraseMatchRuleGroup_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_contactcenterinsights_v1_PhraseMatchRule_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_contactcenterinsights_v1_PhraseMatchRule_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_contactcenterinsights_v1_PhraseMatchRuleConfig_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_contactcenterinsights_v1_PhraseMatchRuleConfig_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_contactcenterinsights_v1_ExactMatchConfig_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_contactcenterinsights_v1_ExactMatchConfig_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_contactcenterinsights_v1_Settings_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_contactcenterinsights_v1_Settings_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_contactcenterinsights_v1_Settings_AnalysisConfig_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_contactcenterinsights_v1_Settings_AnalysisConfig_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_contactcenterinsights_v1_Settings_PubsubNotificationSettingsEntry_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_contactcenterinsights_v1_Settings_PubsubNotificationSettingsEntry_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_contactcenterinsights_v1_RuntimeAnnotation_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_contactcenterinsights_v1_RuntimeAnnotation_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_contactcenterinsights_v1_AnswerFeedback_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_contactcenterinsights_v1_AnswerFeedback_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_contactcenterinsights_v1_ArticleSuggestionData_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_contactcenterinsights_v1_ArticleSuggestionData_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_contactcenterinsights_v1_ArticleSuggestionData_MetadataEntry_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_contactcenterinsights_v1_ArticleSuggestionData_MetadataEntry_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_contactcenterinsights_v1_FaqAnswerData_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_contactcenterinsights_v1_FaqAnswerData_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_contactcenterinsights_v1_FaqAnswerData_MetadataEntry_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_contactcenterinsights_v1_FaqAnswerData_MetadataEntry_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_contactcenterinsights_v1_SmartReplyData_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_contactcenterinsights_v1_SmartReplyData_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_contactcenterinsights_v1_SmartReplyData_MetadataEntry_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_contactcenterinsights_v1_SmartReplyData_MetadataEntry_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_contactcenterinsights_v1_SmartComposeSuggestionData_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_contactcenterinsights_v1_SmartComposeSuggestionData_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_contactcenterinsights_v1_SmartComposeSuggestionData_MetadataEntry_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_contactcenterinsights_v1_SmartComposeSuggestionData_MetadataEntry_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_contactcenterinsights_v1_DialogflowInteractionData_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_contactcenterinsights_v1_DialogflowInteractionData_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_contactcenterinsights_v1_ConversationParticipant_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_contactcenterinsights_v1_ConversationParticipant_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_contactcenterinsights_v1_View_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_contactcenterinsights_v1_View_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_contactcenterinsights_v1_AnnotatorSelector_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_contactcenterinsights_v1_AnnotatorSelector_fieldAccessorTable; - - public static com.google.protobuf.Descriptors.FileDescriptor - getDescriptor() { - return descriptor; - } - private static com.google.protobuf.Descriptors.FileDescriptor - descriptor; - static { - java.lang.String[] descriptorData = { - "\n5google/cloud/contactcenterinsights/v1/" + - "resources.proto\022%google.cloud.contactcen" + - "terinsights.v1\032\037google/api/field_behavio" + - "r.proto\032\031google/api/resource.proto\032\036goog" + - "le/protobuf/duration.proto\032\037google/proto" + - "buf/timestamp.proto\"\261\023\n\014Conversation\022Y\n\r" + - "call_metadata\030\007 \001(\0132@.google.cloud.conta" + - "ctcenterinsights.v1.Conversation.CallMet" + - "adataH\000\0221\n\013expire_time\030\017 \001(\0132\032.google.pr" + - "otobuf.TimestampH\001\022-\n\003ttl\030\020 \001(\0132\031.google" + - ".protobuf.DurationB\003\340A\004H\001\022\021\n\004name\030\001 \001(\tB" + - "\003\340A\005\022R\n\013data_source\030\002 \001(\0132=.google.cloud" + - ".contactcenterinsights.v1.ConversationDa" + - "taSource\0224\n\013create_time\030\003 \001(\0132\032.google.p" + - "rotobuf.TimestampB\003\340A\003\0224\n\013update_time\030\004 " + - "\001(\0132\032.google.protobuf.TimestampB\003\340A\003\022.\n\n" + - "start_time\030\021 \001(\0132\032.google.protobuf.Times" + - "tamp\022\025\n\rlanguage_code\030\016 \001(\t\022\020\n\010agent_id\030" + - "\005 \001(\t\022O\n\006labels\030\006 \003(\0132?.google.cloud.con" + - "tactcenterinsights.v1.Conversation.Label" + - "sEntry\022W\n\ntranscript\030\010 \001(\0132>.google.clou" + - "d.contactcenterinsights.v1.Conversation." + - "TranscriptB\003\340A\003\022O\n\006medium\030\t \001(\0162:.google" + - ".cloud.contactcenterinsights.v1.Conversa" + - "tion.MediumB\003\340A\005\0220\n\010duration\030\n \001(\0132\031.goo" + - "gle.protobuf.DurationB\003\340A\003\022\027\n\nturn_count" + - "\030\013 \001(\005B\003\340A\003\022M\n\017latest_analysis\030\014 \001(\0132/.g" + - "oogle.cloud.contactcenterinsights.v1.Ana" + - "lysisB\003\340A\003\022Z\n\023runtime_annotations\030\r \003(\0132" + - "8.google.cloud.contactcenterinsights.v1." + - "RuntimeAnnotationB\003\340A\003\022k\n\022dialogflow_int" + - "ents\030\022 \003(\0132J.google.cloud.contactcenteri" + - "nsights.v1.Conversation.DialogflowIntent" + - "sEntryB\003\340A\003\022\032\n\022obfuscated_user_id\030\025 \001(\t\032" + - "?\n\014CallMetadata\022\030\n\020customer_channel\030\001 \001(" + - "\005\022\025\n\ragent_channel\030\002 \001(\005\032\206\007\n\nTranscript\022" + - "m\n\023transcript_segments\030\001 \003(\0132P.google.cl" + - "oud.contactcenterinsights.v1.Conversatio" + - "n.Transcript.TranscriptSegment\032\210\006\n\021Trans" + - "criptSegment\0220\n\014message_time\030\006 \001(\0132\032.goo" + - "gle.protobuf.Timestamp\022\014\n\004text\030\001 \001(\t\022\022\n\n" + - "confidence\030\002 \001(\002\022h\n\005words\030\003 \003(\0132Y.google" + - ".cloud.contactcenterinsights.v1.Conversa" + - "tion.Transcript.TranscriptSegment.WordIn" + - "fo\022\025\n\rlanguage_code\030\004 \001(\t\022\023\n\013channel_tag" + - "\030\005 \001(\005\022[\n\023segment_participant\030\t \001(\0132>.go" + - "ogle.cloud.contactcenterinsights.v1.Conv" + - "ersationParticipant\022\217\001\n\033dialogflow_segme" + - "nt_metadata\030\n \001(\0132j.google.cloud.contact" + - "centerinsights.v1.Conversation.Transcrip" + - "t.TranscriptSegment.DialogflowSegmentMet" + - "adata\022G\n\tsentiment\030\013 \001(\01324.google.cloud." + - "contactcenterinsights.v1.SentimentData\032\214" + - "\001\n\010WordInfo\022/\n\014start_offset\030\001 \001(\0132\031.goog" + - "le.protobuf.Duration\022-\n\nend_offset\030\002 \001(\013" + - "2\031.google.protobuf.Duration\022\014\n\004word\030\003 \001(" + - "\t\022\022\n\nconfidence\030\004 \001(\002\032B\n\031DialogflowSegme" + - "ntMetadata\022%\n\035smart_reply_allowlist_cove" + - "red\030\001 \001(\010\032-\n\013LabelsEntry\022\013\n\003key\030\001 \001(\t\022\r\n" + - "\005value\030\002 \001(\t:\0028\001\032q\n\026DialogflowIntentsEnt" + - "ry\022\013\n\003key\030\001 \001(\t\022F\n\005value\030\002 \001(\01327.google." + - "cloud.contactcenterinsights.v1.Dialogflo" + - "wIntent:\0028\001\":\n\006Medium\022\026\n\022MEDIUM_UNSPECIF" + - "IED\020\000\022\016\n\nPHONE_CALL\020\001\022\010\n\004CHAT\020\002:|\352Ay\n1co" + - "ntactcenterinsights.googleapis.com/Conve" + - "rsation\022Dprojects/{project}/locations/{l" + - "ocation}/conversations/{conversation}B\n\n" + - "\010metadataB\014\n\nexpiration\"\305\003\n\010Analysis\022\021\n\004" + - "name\030\001 \001(\tB\003\340A\005\0225\n\014request_time\030\002 \001(\0132\032." + - "google.protobuf.TimestampB\003\340A\003\0224\n\013create" + - "_time\030\003 \001(\0132\032.google.protobuf.TimestampB" + - "\003\340A\003\022S\n\017analysis_result\030\007 \001(\01325.google.c" + - "loud.contactcenterinsights.v1.AnalysisRe" + - "sultB\003\340A\003\022T\n\022annotator_selector\030\010 \001(\01328." + - "google.cloud.contactcenterinsights.v1.An" + - "notatorSelector:\215\001\352A\211\001\n-contactcenterins" + - "ights.googleapis.com/Analysis\022Xprojects/" + - "{project}/locations/{location}/conversat" + - "ions/{conversation}/analyses/{analysis}\"" + - "\300\001\n\026ConversationDataSource\022F\n\ngcs_source" + - "\030\001 \001(\01320.google.cloud.contactcenterinsig" + - "hts.v1.GcsSourceH\000\022T\n\021dialogflow_source\030" + - "\003 \001(\01327.google.cloud.contactcenterinsigh" + - "ts.v1.DialogflowSourceH\000B\010\n\006source\";\n\tGc" + - "sSource\022\021\n\taudio_uri\030\001 \001(\t\022\033\n\016transcript" + - "_uri\030\002 \001(\tB\003\340A\005\"K\n\020DialogflowSource\022$\n\027d" + - "ialogflow_conversation\030\001 \001(\tB\003\340A\003\022\021\n\taud" + - "io_uri\030\003 \001(\t\"\306\010\n\016AnalysisResult\022l\n\026call_" + - "analysis_metadata\030\002 \001(\0132J.google.cloud.c" + - "ontactcenterinsights.v1.AnalysisResult.C" + - "allAnalysisMetadataH\000\022,\n\010end_time\030\001 \001(\0132" + - "\032.google.protobuf.Timestamp\032\213\007\n\024CallAnal" + - "ysisMetadata\022J\n\013annotations\030\002 \003(\01325.goog" + - "le.cloud.contactcenterinsights.v1.CallAn" + - "notation\022j\n\010entities\030\003 \003(\0132X.google.clou" + - "d.contactcenterinsights.v1.AnalysisResul" + - "t.CallAnalysisMetadata.EntitiesEntry\022U\n\n" + - "sentiments\030\004 \003(\0132A.google.cloud.contactc" + - "enterinsights.v1.ConversationLevelSentim" + - "ent\022h\n\007intents\030\006 \003(\0132W.google.cloud.cont" + - "actcenterinsights.v1.AnalysisResult.Call" + - "AnalysisMetadata.IntentsEntry\022w\n\017phrase_" + - "matchers\030\007 \003(\0132^.google.cloud.contactcen" + - "terinsights.v1.AnalysisResult.CallAnalys" + - "isMetadata.PhraseMatchersEntry\022S\n\022issue_" + - "model_result\030\010 \001(\01327.google.cloud.contac" + - "tcenterinsights.v1.IssueModelResult\032^\n\rE" + - "ntitiesEntry\022\013\n\003key\030\001 \001(\t\022<\n\005value\030\002 \001(\013" + - "2-.google.cloud.contactcenterinsights.v1" + - ".Entity:\0028\001\032]\n\014IntentsEntry\022\013\n\003key\030\001 \001(\t" + - "\022<\n\005value\030\002 \001(\0132-.google.cloud.contactce" + - "nterinsights.v1.Intent:\0028\001\032m\n\023PhraseMatc" + - "hersEntry\022\013\n\003key\030\001 \001(\t\022E\n\005value\030\002 \001(\01326." + - "google.cloud.contactcenterinsights.v1.Ph" + - "raseMatchData:\0028\001B\n\n\010metadata\"\245\001\n\020IssueM" + - "odelResult\022I\n\013issue_model\030\001 \001(\tB4\372A1\n/co" + - "ntactcenterinsights.googleapis.com/Issue" + - "Model\022F\n\006issues\030\002 \003(\01326.google.cloud.con" + - "tactcenterinsights.v1.IssueAssignment\"\177\n" + - "\032ConversationLevelSentiment\022\023\n\013channel_t" + - "ag\030\001 \001(\005\022L\n\016sentiment_data\030\002 \001(\01324.googl" + - "e.cloud.contactcenterinsights.v1.Sentime" + - "ntData\"J\n\017IssueAssignment\022\r\n\005issue\030\001 \001(\t" + - "\022\r\n\005score\030\002 \001(\001\022\031\n\014display_name\030\003 \001(\tB\003\340" + - "A\005\"\365\006\n\016CallAnnotation\022T\n\021interruption_da" + - "ta\030\n \001(\01327.google.cloud.contactcenterins" + - "ights.v1.InterruptionDataH\000\022N\n\016sentiment" + - "_data\030\013 \001(\01324.google.cloud.contactcenter" + - "insights.v1.SentimentDataH\000\022J\n\014silence_d" + - "ata\030\014 \001(\01322.google.cloud.contactcenterin" + - "sights.v1.SilenceDataH\000\022D\n\thold_data\030\r \001" + - "(\0132/.google.cloud.contactcenterinsights." + - "v1.HoldDataH\000\022W\n\023entity_mention_data\030\017 \001" + - "(\01328.google.cloud.contactcenterinsights." + - "v1.EntityMentionDataH\000\022S\n\021intent_match_d" + - "ata\030\020 \001(\01326.google.cloud.contactcenterin" + - "sights.v1.IntentMatchDataH\000\022S\n\021phrase_ma" + - "tch_data\030\021 \001(\01326.google.cloud.contactcen" + - "terinsights.v1.PhraseMatchDataH\000\022Q\n\020issu" + - "e_match_data\030\022 \001(\01325.google.cloud.contac" + - "tcenterinsights.v1.IssueMatchDataH\000\022\023\n\013c" + - "hannel_tag\030\001 \001(\005\022\\\n\031annotation_start_bou" + - "ndary\030\004 \001(\01329.google.cloud.contactcenter" + - "insights.v1.AnnotationBoundary\022Z\n\027annota" + - "tion_end_boundary\030\005 \001(\01329.google.cloud.c" + - "ontactcenterinsights.v1.AnnotationBounda" + - "ryB\006\n\004data\"Y\n\022AnnotationBoundary\022\024\n\nword" + - "_index\030\003 \001(\005H\000\022\030\n\020transcript_index\030\001 \001(\005" + - "B\023\n\021detailed_boundary\"\200\004\n\006Entity\022\024\n\014disp" + - "lay_name\030\001 \001(\t\022@\n\004type\030\002 \001(\01622.google.cl" + - "oud.contactcenterinsights.v1.Entity.Type" + - "\022M\n\010metadata\030\003 \003(\0132;.google.cloud.contac" + - "tcenterinsights.v1.Entity.MetadataEntry\022" + - "\020\n\010salience\030\004 \001(\002\022G\n\tsentiment\030\005 \001(\01324.g" + - "oogle.cloud.contactcenterinsights.v1.Sen" + - "timentData\032/\n\rMetadataEntry\022\013\n\003key\030\001 \001(\t" + - "\022\r\n\005value\030\002 \001(\t:\0028\001\"\302\001\n\004Type\022\024\n\020TYPE_UNS" + - "PECIFIED\020\000\022\n\n\006PERSON\020\001\022\014\n\010LOCATION\020\002\022\020\n\014" + - "ORGANIZATION\020\003\022\t\n\005EVENT\020\004\022\017\n\013WORK_OF_ART" + - "\020\005\022\021\n\rCONSUMER_GOOD\020\006\022\t\n\005OTHER\020\007\022\020\n\014PHON" + - "E_NUMBER\020\t\022\013\n\007ADDRESS\020\n\022\010\n\004DATE\020\013\022\n\n\006NUM" + - "BER\020\014\022\t\n\005PRICE\020\r\"*\n\006Intent\022\n\n\002id\030\001 \001(\t\022\024" + - "\n\014display_name\030\002 \001(\t\"?\n\017PhraseMatchData\022" + - "\026\n\016phrase_matcher\030\001 \001(\t\022\024\n\014display_name\030" + - "\002 \001(\t\"(\n\020DialogflowIntent\022\024\n\014display_nam" + - "e\030\001 \001(\t\"\022\n\020InterruptionData\"\r\n\013SilenceDa" + - "ta\"\n\n\010HoldData\"\217\002\n\021EntityMentionData\022\030\n\020" + - "entity_unique_id\030\001 \001(\t\022R\n\004type\030\002 \001(\0162D.g" + - "oogle.cloud.contactcenterinsights.v1.Ent" + - "ityMentionData.MentionType\022G\n\tsentiment\030" + - "\003 \001(\01324.google.cloud.contactcenterinsigh" + - "ts.v1.SentimentData\"C\n\013MentionType\022\034\n\030ME" + - "NTION_TYPE_UNSPECIFIED\020\000\022\n\n\006PROPER\020\001\022\n\n\006" + - "COMMON\020\002\"+\n\017IntentMatchData\022\030\n\020intent_un" + - "ique_id\030\001 \001(\t\"1\n\rSentimentData\022\021\n\tmagnit" + - "ude\030\001 \001(\002\022\r\n\005score\030\002 \001(\002\"b\n\016IssueMatchDa" + - "ta\022P\n\020issue_assignment\030\001 \001(\01326.google.cl" + - "oud.contactcenterinsights.v1.IssueAssign" + - "ment\"\307\006\n\nIssueModel\022\021\n\004name\030\001 \001(\tB\003\340A\005\022\024" + - "\n\014display_name\030\002 \001(\t\0224\n\013create_time\030\003 \001(" + - "\0132\032.google.protobuf.TimestampB\003\340A\003\0224\n\013up" + - "date_time\030\004 \001(\0132\032.google.protobuf.Timest" + - "ampB\003\340A\003\022\030\n\013issue_count\030\010 \001(\003B\003\340A\003\022K\n\005st" + - "ate\030\005 \001(\01627.google.cloud.contactcenterin" + - "sights.v1.IssueModel.StateB\003\340A\003\022\\\n\021input" + - "_data_config\030\006 \001(\0132A.google.cloud.contac" + - "tcenterinsights.v1.IssueModel.InputDataC" + - "onfig\022[\n\016training_stats\030\007 \001(\0132;.google.c" + - "loud.contactcenterinsights.v1.IssueModel" + - "LabelStatsB\006\340A\003\340A\005\032\234\001\n\017InputDataConfig\022N" + - "\n\006medium\030\001 \001(\0162:.google.cloud.contactcen" + - "terinsights.v1.Conversation.MediumB\002\030\001\022)" + - "\n\034training_conversations_count\030\002 \001(\003B\003\340A" + - "\003\022\016\n\006filter\030\003 \001(\t\"j\n\005State\022\025\n\021STATE_UNSP" + - "ECIFIED\020\000\022\016\n\nUNDEPLOYED\020\001\022\r\n\tDEPLOYING\020\002" + - "\022\014\n\010DEPLOYED\020\003\022\017\n\013UNDEPLOYING\020\004\022\014\n\010DELET" + - "ING\020\005:w\352At\n/contactcenterinsights.google" + - "apis.com/IssueModel\022Aprojects/{project}/" + - "locations/{location}/issueModels/{issue_" + - "model}\"\300\002\n\005Issue\022\021\n\004name\030\001 \001(\tB\003\340A\005\022\024\n\014d" + - "isplay_name\030\002 \001(\t\0224\n\013create_time\030\003 \001(\0132\032" + - ".google.protobuf.TimestampB\003\340A\003\0224\n\013updat" + - "e_time\030\004 \001(\0132\032.google.protobuf.Timestamp" + - "B\003\340A\003\022\036\n\021sample_utterances\030\006 \003(\tB\003\340A\003:\201\001" + - "\352A~\n*contactcenterinsights.googleapis.co" + - "m/Issue\022Pprojects/{project}/locations/{l" + - "ocation}/issueModels/{issue_model}/issue" + - "s/{issue}\"\233\003\n\024IssueModelLabelStats\022$\n\034an" + - "alyzed_conversations_count\030\001 \001(\003\022(\n uncl" + - "assified_conversations_count\030\002 \001(\003\022`\n\013is" + - "sue_stats\030\003 \003(\0132K.google.cloud.contactce" + - "nterinsights.v1.IssueModelLabelStats.Iss" + - "ueStatsEntry\032V\n\nIssueStats\022\r\n\005issue\030\001 \001(" + - "\t\022#\n\033labeled_conversations_count\030\002 \001(\003\022\024" + - "\n\014display_name\030\003 \001(\t\032y\n\017IssueStatsEntry\022" + - "\013\n\003key\030\001 \001(\t\022U\n\005value\030\002 \001(\0132F.google.clo" + - "ud.contactcenterinsights.v1.IssueModelLa" + - "belStats.IssueStats:\0028\001\"\223\006\n\rPhraseMatche" + - "r\022\014\n\004name\030\001 \001(\t\022\033\n\013revision_id\030\002 \001(\tB\006\340A" + - "\005\340A\003\022\023\n\013version_tag\030\003 \001(\t\022=\n\024revision_cr" + - "eate_time\030\004 \001(\0132\032.google.protobuf.Timest" + - "ampB\003\340A\003\022\024\n\014display_name\030\005 \001(\t\022Y\n\004type\030\006" + - " \001(\0162F.google.cloud.contactcenterinsight" + - "s.v1.PhraseMatcher.PhraseMatcherTypeB\003\340A" + - "\002\022\016\n\006active\030\007 \001(\010\022]\n\030phrase_match_rule_g" + - "roups\030\010 \003(\0132;.google.cloud.contactcenter" + - "insights.v1.PhraseMatchRuleGroup\022?\n\026acti" + - "vation_update_time\030\t \001(\0132\032.google.protob" + - "uf.TimestampB\003\340A\003\022W\n\nrole_match\030\n \001(\0162C." + - "google.cloud.contactcenterinsights.v1.Co" + - "nversationParticipant.Role\0224\n\013update_tim" + - "e\030\013 \001(\0132\032.google.protobuf.TimestampB\003\340A\003" + - "\"P\n\021PhraseMatcherType\022#\n\037PHRASE_MATCHER_" + - "TYPE_UNSPECIFIED\020\000\022\n\n\006ALL_OF\020\001\022\n\n\006ANY_OF" + - "\020\002:\200\001\352A}\n2contactcenterinsights.googleap" + - "is.com/PhraseMatcher\022Gprojects/{project}" + - "/locations/{location}/phraseMatchers/{ph" + - "rase_matcher}\"\265\002\n\024PhraseMatchRuleGroup\022g" + - "\n\004type\030\001 \001(\0162T.google.cloud.contactcente" + - "rinsights.v1.PhraseMatchRuleGroup.Phrase" + - "MatchRuleGroupTypeB\003\340A\002\022R\n\022phrase_match_" + - "rules\030\002 \003(\01326.google.cloud.contactcenter" + - "insights.v1.PhraseMatchRule\"`\n\030PhraseMat" + - "chRuleGroupType\022,\n(PHRASE_MATCH_RULE_GRO" + - "UP_TYPE_UNSPECIFIED\020\000\022\n\n\006ALL_OF\020\001\022\n\n\006ANY" + - "_OF\020\002\"\204\001\n\017PhraseMatchRule\022\022\n\005query\030\001 \001(\t" + - "B\003\340A\002\022\017\n\007negated\030\002 \001(\010\022L\n\006config\030\003 \001(\0132<" + - ".google.cloud.contactcenterinsights.v1.P" + - "hraseMatchRuleConfig\"x\n\025PhraseMatchRuleC" + - "onfig\022U\n\022exact_match_config\030\001 \001(\01327.goog" + - "le.cloud.contactcenterinsights.v1.ExactM" + - "atchConfigH\000B\010\n\006config\"*\n\020ExactMatchConf" + - "ig\022\026\n\016case_sensitive\030\001 \001(\010\"\350\005\n\010Settings\022" + - "\021\n\004name\030\001 \001(\tB\003\340A\005\0224\n\013create_time\030\002 \001(\0132" + - "\032.google.protobuf.TimestampB\003\340A\003\0224\n\013upda" + - "te_time\030\003 \001(\0132\032.google.protobuf.Timestam" + - "pB\003\340A\003\022\025\n\rlanguage_code\030\004 \001(\t\0223\n\020convers" + - "ation_ttl\030\005 \001(\0132\031.google.protobuf.Durati" + - "on\022u\n\034pubsub_notification_settings\030\006 \003(\013" + - "2O.google.cloud.contactcenterinsights.v1" + - ".Settings.PubsubNotificationSettingsEntr" + - "y\022W\n\017analysis_config\030\007 \001(\0132>.google.clou" + - "d.contactcenterinsights.v1.Settings.Anal" + - "ysisConfig\032\227\001\n\016AnalysisConfig\022/\n\'runtime" + - "_integration_analysis_percentage\030\001 \001(\001\022T" + - "\n\022annotator_selector\030\005 \001(\01328.google.clou" + - "d.contactcenterinsights.v1.AnnotatorSele" + - "ctor\032A\n\037PubsubNotificationSettingsEntry\022" + - "\013\n\003key\030\001 \001(\t\022\r\n\005value\030\002 \001(\t:\0028\001:d\352Aa\n-co" + - "ntactcenterinsights.googleapis.com/Setti" + - "ngs\0220projects/{project}/locations/{locat" + - "ion}/settings\"\230\006\n\021RuntimeAnnotation\022Z\n\022a" + - "rticle_suggestion\030\006 \001(\0132<.google.cloud.c" + - "ontactcenterinsights.v1.ArticleSuggestio" + - "nDataH\000\022J\n\nfaq_answer\030\007 \001(\01324.google.clo" + - "ud.contactcenterinsights.v1.FaqAnswerDat" + - "aH\000\022L\n\013smart_reply\030\010 \001(\01325.google.cloud." + - "contactcenterinsights.v1.SmartReplyDataH" + - "\000\022e\n\030smart_compose_suggestion\030\t \001(\0132A.go" + - "ogle.cloud.contactcenterinsights.v1.Smar" + - "tComposeSuggestionDataH\000\022b\n\026dialogflow_i" + - "nteraction\030\n \001(\0132@.google.cloud.contactc" + - "enterinsights.v1.DialogflowInteractionDa" + - "taH\000\022\025\n\rannotation_id\030\001 \001(\t\022/\n\013create_ti" + - "me\030\002 \001(\0132\032.google.protobuf.Timestamp\022Q\n\016" + - "start_boundary\030\003 \001(\01329.google.cloud.cont" + - "actcenterinsights.v1.AnnotationBoundary\022" + - "O\n\014end_boundary\030\004 \001(\01329.google.cloud.con" + - "tactcenterinsights.v1.AnnotationBoundary" + - "\022N\n\017answer_feedback\030\005 \001(\01325.google.cloud" + - ".contactcenterinsights.v1.AnswerFeedback" + - "B\006\n\004data\"\211\002\n\016AnswerFeedback\022a\n\021correctne" + - "ss_level\030\001 \001(\0162F.google.cloud.contactcen" + - "terinsights.v1.AnswerFeedback.Correctnes" + - "sLevel\022\017\n\007clicked\030\002 \001(\010\022\021\n\tdisplayed\030\003 \001" + - "(\010\"p\n\020CorrectnessLevel\022!\n\035CORRECTNESS_LE" + - "VEL_UNSPECIFIED\020\000\022\017\n\013NOT_CORRECT\020\001\022\025\n\021PA" + - "RTIALLY_CORRECT\020\002\022\021\n\rFULLY_CORRECT\020\003\"\202\002\n" + - "\025ArticleSuggestionData\022\r\n\005title\030\001 \001(\t\022\013\n" + - "\003uri\030\002 \001(\t\022\030\n\020confidence_score\030\003 \001(\002\022\\\n\010" + - "metadata\030\004 \003(\0132J.google.cloud.contactcen" + - "terinsights.v1.ArticleSuggestionData.Met" + - "adataEntry\022\024\n\014query_record\030\005 \001(\t\022\016\n\006sour" + - "ce\030\006 \001(\t\032/\n\rMetadataEntry\022\013\n\003key\030\001 \001(\t\022\r" + - "\n\005value\030\002 \001(\t:\0028\001\"\370\001\n\rFaqAnswerData\022\016\n\006a" + - "nswer\030\001 \001(\t\022\030\n\020confidence_score\030\002 \001(\002\022\020\n" + - "\010question\030\003 \001(\t\022T\n\010metadata\030\004 \003(\0132B.goog" + - "le.cloud.contactcenterinsights.v1.FaqAns" + - "werData.MetadataEntry\022\024\n\014query_record\030\005 " + - "\001(\t\022\016\n\006source\030\006 \001(\t\032/\n\rMetadataEntry\022\013\n\003" + - "key\030\001 \001(\t\022\r\n\005value\030\002 \001(\t:\0028\001\"\327\001\n\016SmartRe" + - "plyData\022\r\n\005reply\030\001 \001(\t\022\030\n\020confidence_sco" + - "re\030\002 \001(\001\022U\n\010metadata\030\003 \003(\0132C.google.clou" + - "d.contactcenterinsights.v1.SmartReplyDat" + - "a.MetadataEntry\022\024\n\014query_record\030\004 \001(\t\032/\n" + - "\rMetadataEntry\022\013\n\003key\030\001 \001(\t\022\r\n\005value\030\002 \001" + - "(\t:\0028\001\"\364\001\n\032SmartComposeSuggestionData\022\022\n" + - "\nsuggestion\030\001 \001(\t\022\030\n\020confidence_score\030\002 " + - "\001(\001\022a\n\010metadata\030\003 \003(\0132O.google.cloud.con" + - "tactcenterinsights.v1.SmartComposeSugges" + - "tionData.MetadataEntry\022\024\n\014query_record\030\004" + - " \001(\t\032/\n\rMetadataEntry\022\013\n\003key\030\001 \001(\t\022\r\n\005va" + - "lue\030\002 \001(\t:\0028\001\"M\n\031DialogflowInteractionDa" + - "ta\022\034\n\024dialogflow_intent_id\030\001 \001(\t\022\022\n\nconf" + - "idence\030\002 \001(\002\"\213\003\n\027ConversationParticipant" + - "\022Q\n\033dialogflow_participant_name\030\005 \001(\tB*\372" + - "A\'\n%dialogflow.googleapis.com/Participan" + - "tH\000\022\021\n\007user_id\030\006 \001(\tH\000\022\"\n\026dialogflow_par" + - "ticipant\030\001 \001(\tB\002\030\001\022#\n\033obfuscated_externa" + - "l_user_id\030\003 \001(\t\022Q\n\004role\030\002 \001(\0162C.google.c" + - "loud.contactcenterinsights.v1.Conversati" + - "onParticipant.Role\"_\n\004Role\022\024\n\020ROLE_UNSPE" + - "CIFIED\020\000\022\017\n\013HUMAN_AGENT\020\001\022\023\n\017AUTOMATED_A" + - "GENT\020\002\022\014\n\010END_USER\020\003\022\r\n\tANY_AGENT\020\004B\r\n\013p" + - "articipant\"\220\002\n\004View\022\021\n\004name\030\001 \001(\tB\003\340A\005\022\024" + - "\n\014display_name\030\002 \001(\t\0224\n\013create_time\030\003 \001(" + - "\0132\032.google.protobuf.TimestampB\003\340A\003\0224\n\013up" + - "date_time\030\004 \001(\0132\032.google.protobuf.Timest" + - "ampB\003\340A\003\022\r\n\005value\030\005 \001(\t:d\352Aa\n)contactcen" + - "terinsights.googleapis.com/View\0224project" + - "s/{project}/locations/{location}/views/{" + - "view}\"\232\003\n\021AnnotatorSelector\022\"\n\032run_inter" + - "ruption_annotator\030\001 \001(\010\022\035\n\025run_silence_a" + - "nnotator\030\002 \001(\010\022$\n\034run_phrase_matcher_ann" + - "otator\030\003 \001(\010\022P\n\017phrase_matchers\030\004 \003(\tB7\372" + - "A4\n2contactcenterinsights.googleapis.com" + - "/PhraseMatcher\022\037\n\027run_sentiment_annotato" + - "r\030\005 \001(\010\022\034\n\024run_entity_annotator\030\006 \001(\010\022\034\n" + - "\024run_intent_annotator\030\007 \001(\010\022!\n\031run_issue" + - "_model_annotator\030\010 \001(\010\022J\n\014issue_models\030\n" + - " \003(\tB4\372A1\n/contactcenterinsights.googlea" + - "pis.com/IssueModelB\361\003\n)com.google.cloud." + - "contactcenterinsights.v1B\016ResourcesProto" + - "P\001Z_cloud.google.com/go/contactcenterins" + - "ights/apiv1/contactcenterinsightspb;cont" + - "actcenterinsightspb\252\002%Google.Cloud.Conta" + - "ctCenterInsights.V1\312\002%Google\\Cloud\\Conta" + - "ctCenterInsights\\V1\352\002(Google::Cloud::Con" + - "tactCenterInsights::V1\352A\324\001\n%dialogflow.g" + - "oogleapis.com/Participant\022Jprojects/{pro" + - "ject}/conversations/{conversation}/parti" + - "cipants/{participant}\022_projects/{project" + - "}/locations/{location}/conversations/{co" + - "nversation}/participants/{participant}b\006" + - "proto3" - }; - descriptor = com.google.protobuf.Descriptors.FileDescriptor - .internalBuildGeneratedFileFrom(descriptorData, - new com.google.protobuf.Descriptors.FileDescriptor[] { - com.google.api.FieldBehaviorProto.getDescriptor(), - com.google.api.ResourceProto.getDescriptor(), - com.google.protobuf.DurationProto.getDescriptor(), - com.google.protobuf.TimestampProto.getDescriptor(), - }); - internal_static_google_cloud_contactcenterinsights_v1_Conversation_descriptor = - getDescriptor().getMessageTypes().get(0); - internal_static_google_cloud_contactcenterinsights_v1_Conversation_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_contactcenterinsights_v1_Conversation_descriptor, - new java.lang.String[] { "CallMetadata", "ExpireTime", "Ttl", "Name", "DataSource", "CreateTime", "UpdateTime", "StartTime", "LanguageCode", "AgentId", "Labels", "Transcript", "Medium", "Duration", "TurnCount", "LatestAnalysis", "RuntimeAnnotations", "DialogflowIntents", "ObfuscatedUserId", "Metadata", "Expiration", }); - internal_static_google_cloud_contactcenterinsights_v1_Conversation_CallMetadata_descriptor = - internal_static_google_cloud_contactcenterinsights_v1_Conversation_descriptor.getNestedTypes().get(0); - internal_static_google_cloud_contactcenterinsights_v1_Conversation_CallMetadata_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_contactcenterinsights_v1_Conversation_CallMetadata_descriptor, - new java.lang.String[] { "CustomerChannel", "AgentChannel", }); - internal_static_google_cloud_contactcenterinsights_v1_Conversation_Transcript_descriptor = - internal_static_google_cloud_contactcenterinsights_v1_Conversation_descriptor.getNestedTypes().get(1); - internal_static_google_cloud_contactcenterinsights_v1_Conversation_Transcript_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_contactcenterinsights_v1_Conversation_Transcript_descriptor, - new java.lang.String[] { "TranscriptSegments", }); - internal_static_google_cloud_contactcenterinsights_v1_Conversation_Transcript_TranscriptSegment_descriptor = - internal_static_google_cloud_contactcenterinsights_v1_Conversation_Transcript_descriptor.getNestedTypes().get(0); - internal_static_google_cloud_contactcenterinsights_v1_Conversation_Transcript_TranscriptSegment_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_contactcenterinsights_v1_Conversation_Transcript_TranscriptSegment_descriptor, - new java.lang.String[] { "MessageTime", "Text", "Confidence", "Words", "LanguageCode", "ChannelTag", "SegmentParticipant", "DialogflowSegmentMetadata", "Sentiment", }); - internal_static_google_cloud_contactcenterinsights_v1_Conversation_Transcript_TranscriptSegment_WordInfo_descriptor = - internal_static_google_cloud_contactcenterinsights_v1_Conversation_Transcript_TranscriptSegment_descriptor.getNestedTypes().get(0); - internal_static_google_cloud_contactcenterinsights_v1_Conversation_Transcript_TranscriptSegment_WordInfo_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_contactcenterinsights_v1_Conversation_Transcript_TranscriptSegment_WordInfo_descriptor, - new java.lang.String[] { "StartOffset", "EndOffset", "Word", "Confidence", }); - internal_static_google_cloud_contactcenterinsights_v1_Conversation_Transcript_TranscriptSegment_DialogflowSegmentMetadata_descriptor = - internal_static_google_cloud_contactcenterinsights_v1_Conversation_Transcript_TranscriptSegment_descriptor.getNestedTypes().get(1); - internal_static_google_cloud_contactcenterinsights_v1_Conversation_Transcript_TranscriptSegment_DialogflowSegmentMetadata_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_contactcenterinsights_v1_Conversation_Transcript_TranscriptSegment_DialogflowSegmentMetadata_descriptor, - new java.lang.String[] { "SmartReplyAllowlistCovered", }); - internal_static_google_cloud_contactcenterinsights_v1_Conversation_LabelsEntry_descriptor = - internal_static_google_cloud_contactcenterinsights_v1_Conversation_descriptor.getNestedTypes().get(2); - internal_static_google_cloud_contactcenterinsights_v1_Conversation_LabelsEntry_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_contactcenterinsights_v1_Conversation_LabelsEntry_descriptor, - new java.lang.String[] { "Key", "Value", }); - internal_static_google_cloud_contactcenterinsights_v1_Conversation_DialogflowIntentsEntry_descriptor = - internal_static_google_cloud_contactcenterinsights_v1_Conversation_descriptor.getNestedTypes().get(3); - internal_static_google_cloud_contactcenterinsights_v1_Conversation_DialogflowIntentsEntry_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_contactcenterinsights_v1_Conversation_DialogflowIntentsEntry_descriptor, - new java.lang.String[] { "Key", "Value", }); - internal_static_google_cloud_contactcenterinsights_v1_Analysis_descriptor = - getDescriptor().getMessageTypes().get(1); - internal_static_google_cloud_contactcenterinsights_v1_Analysis_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_contactcenterinsights_v1_Analysis_descriptor, - new java.lang.String[] { "Name", "RequestTime", "CreateTime", "AnalysisResult", "AnnotatorSelector", }); - internal_static_google_cloud_contactcenterinsights_v1_ConversationDataSource_descriptor = - getDescriptor().getMessageTypes().get(2); - internal_static_google_cloud_contactcenterinsights_v1_ConversationDataSource_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_contactcenterinsights_v1_ConversationDataSource_descriptor, - new java.lang.String[] { "GcsSource", "DialogflowSource", "Source", }); - internal_static_google_cloud_contactcenterinsights_v1_GcsSource_descriptor = - getDescriptor().getMessageTypes().get(3); - internal_static_google_cloud_contactcenterinsights_v1_GcsSource_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_contactcenterinsights_v1_GcsSource_descriptor, - new java.lang.String[] { "AudioUri", "TranscriptUri", }); - internal_static_google_cloud_contactcenterinsights_v1_DialogflowSource_descriptor = - getDescriptor().getMessageTypes().get(4); - internal_static_google_cloud_contactcenterinsights_v1_DialogflowSource_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_contactcenterinsights_v1_DialogflowSource_descriptor, - new java.lang.String[] { "DialogflowConversation", "AudioUri", }); - internal_static_google_cloud_contactcenterinsights_v1_AnalysisResult_descriptor = - getDescriptor().getMessageTypes().get(5); - internal_static_google_cloud_contactcenterinsights_v1_AnalysisResult_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_contactcenterinsights_v1_AnalysisResult_descriptor, - new java.lang.String[] { "CallAnalysisMetadata", "EndTime", "Metadata", }); - internal_static_google_cloud_contactcenterinsights_v1_AnalysisResult_CallAnalysisMetadata_descriptor = - internal_static_google_cloud_contactcenterinsights_v1_AnalysisResult_descriptor.getNestedTypes().get(0); - internal_static_google_cloud_contactcenterinsights_v1_AnalysisResult_CallAnalysisMetadata_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_contactcenterinsights_v1_AnalysisResult_CallAnalysisMetadata_descriptor, - new java.lang.String[] { "Annotations", "Entities", "Sentiments", "Intents", "PhraseMatchers", "IssueModelResult", }); - internal_static_google_cloud_contactcenterinsights_v1_AnalysisResult_CallAnalysisMetadata_EntitiesEntry_descriptor = - internal_static_google_cloud_contactcenterinsights_v1_AnalysisResult_CallAnalysisMetadata_descriptor.getNestedTypes().get(0); - internal_static_google_cloud_contactcenterinsights_v1_AnalysisResult_CallAnalysisMetadata_EntitiesEntry_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_contactcenterinsights_v1_AnalysisResult_CallAnalysisMetadata_EntitiesEntry_descriptor, - new java.lang.String[] { "Key", "Value", }); - internal_static_google_cloud_contactcenterinsights_v1_AnalysisResult_CallAnalysisMetadata_IntentsEntry_descriptor = - internal_static_google_cloud_contactcenterinsights_v1_AnalysisResult_CallAnalysisMetadata_descriptor.getNestedTypes().get(1); - internal_static_google_cloud_contactcenterinsights_v1_AnalysisResult_CallAnalysisMetadata_IntentsEntry_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_contactcenterinsights_v1_AnalysisResult_CallAnalysisMetadata_IntentsEntry_descriptor, - new java.lang.String[] { "Key", "Value", }); - internal_static_google_cloud_contactcenterinsights_v1_AnalysisResult_CallAnalysisMetadata_PhraseMatchersEntry_descriptor = - internal_static_google_cloud_contactcenterinsights_v1_AnalysisResult_CallAnalysisMetadata_descriptor.getNestedTypes().get(2); - internal_static_google_cloud_contactcenterinsights_v1_AnalysisResult_CallAnalysisMetadata_PhraseMatchersEntry_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_contactcenterinsights_v1_AnalysisResult_CallAnalysisMetadata_PhraseMatchersEntry_descriptor, - new java.lang.String[] { "Key", "Value", }); - internal_static_google_cloud_contactcenterinsights_v1_IssueModelResult_descriptor = - getDescriptor().getMessageTypes().get(6); - internal_static_google_cloud_contactcenterinsights_v1_IssueModelResult_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_contactcenterinsights_v1_IssueModelResult_descriptor, - new java.lang.String[] { "IssueModel", "Issues", }); - internal_static_google_cloud_contactcenterinsights_v1_ConversationLevelSentiment_descriptor = - getDescriptor().getMessageTypes().get(7); - internal_static_google_cloud_contactcenterinsights_v1_ConversationLevelSentiment_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_contactcenterinsights_v1_ConversationLevelSentiment_descriptor, - new java.lang.String[] { "ChannelTag", "SentimentData", }); - internal_static_google_cloud_contactcenterinsights_v1_IssueAssignment_descriptor = - getDescriptor().getMessageTypes().get(8); - internal_static_google_cloud_contactcenterinsights_v1_IssueAssignment_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_contactcenterinsights_v1_IssueAssignment_descriptor, - new java.lang.String[] { "Issue", "Score", "DisplayName", }); - internal_static_google_cloud_contactcenterinsights_v1_CallAnnotation_descriptor = - getDescriptor().getMessageTypes().get(9); - internal_static_google_cloud_contactcenterinsights_v1_CallAnnotation_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_contactcenterinsights_v1_CallAnnotation_descriptor, - new java.lang.String[] { "InterruptionData", "SentimentData", "SilenceData", "HoldData", "EntityMentionData", "IntentMatchData", "PhraseMatchData", "IssueMatchData", "ChannelTag", "AnnotationStartBoundary", "AnnotationEndBoundary", "Data", }); - internal_static_google_cloud_contactcenterinsights_v1_AnnotationBoundary_descriptor = - getDescriptor().getMessageTypes().get(10); - internal_static_google_cloud_contactcenterinsights_v1_AnnotationBoundary_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_contactcenterinsights_v1_AnnotationBoundary_descriptor, - new java.lang.String[] { "WordIndex", "TranscriptIndex", "DetailedBoundary", }); - internal_static_google_cloud_contactcenterinsights_v1_Entity_descriptor = - getDescriptor().getMessageTypes().get(11); - internal_static_google_cloud_contactcenterinsights_v1_Entity_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_contactcenterinsights_v1_Entity_descriptor, - new java.lang.String[] { "DisplayName", "Type", "Metadata", "Salience", "Sentiment", }); - internal_static_google_cloud_contactcenterinsights_v1_Entity_MetadataEntry_descriptor = - internal_static_google_cloud_contactcenterinsights_v1_Entity_descriptor.getNestedTypes().get(0); - internal_static_google_cloud_contactcenterinsights_v1_Entity_MetadataEntry_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_contactcenterinsights_v1_Entity_MetadataEntry_descriptor, - new java.lang.String[] { "Key", "Value", }); - internal_static_google_cloud_contactcenterinsights_v1_Intent_descriptor = - getDescriptor().getMessageTypes().get(12); - internal_static_google_cloud_contactcenterinsights_v1_Intent_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_contactcenterinsights_v1_Intent_descriptor, - new java.lang.String[] { "Id", "DisplayName", }); - internal_static_google_cloud_contactcenterinsights_v1_PhraseMatchData_descriptor = - getDescriptor().getMessageTypes().get(13); - internal_static_google_cloud_contactcenterinsights_v1_PhraseMatchData_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_contactcenterinsights_v1_PhraseMatchData_descriptor, - new java.lang.String[] { "PhraseMatcher", "DisplayName", }); - internal_static_google_cloud_contactcenterinsights_v1_DialogflowIntent_descriptor = - getDescriptor().getMessageTypes().get(14); - internal_static_google_cloud_contactcenterinsights_v1_DialogflowIntent_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_contactcenterinsights_v1_DialogflowIntent_descriptor, - new java.lang.String[] { "DisplayName", }); - internal_static_google_cloud_contactcenterinsights_v1_InterruptionData_descriptor = - getDescriptor().getMessageTypes().get(15); - internal_static_google_cloud_contactcenterinsights_v1_InterruptionData_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_contactcenterinsights_v1_InterruptionData_descriptor, - new java.lang.String[] { }); - internal_static_google_cloud_contactcenterinsights_v1_SilenceData_descriptor = - getDescriptor().getMessageTypes().get(16); - internal_static_google_cloud_contactcenterinsights_v1_SilenceData_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_contactcenterinsights_v1_SilenceData_descriptor, - new java.lang.String[] { }); - internal_static_google_cloud_contactcenterinsights_v1_HoldData_descriptor = - getDescriptor().getMessageTypes().get(17); - internal_static_google_cloud_contactcenterinsights_v1_HoldData_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_contactcenterinsights_v1_HoldData_descriptor, - new java.lang.String[] { }); - internal_static_google_cloud_contactcenterinsights_v1_EntityMentionData_descriptor = - getDescriptor().getMessageTypes().get(18); - internal_static_google_cloud_contactcenterinsights_v1_EntityMentionData_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_contactcenterinsights_v1_EntityMentionData_descriptor, - new java.lang.String[] { "EntityUniqueId", "Type", "Sentiment", }); - internal_static_google_cloud_contactcenterinsights_v1_IntentMatchData_descriptor = - getDescriptor().getMessageTypes().get(19); - internal_static_google_cloud_contactcenterinsights_v1_IntentMatchData_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_contactcenterinsights_v1_IntentMatchData_descriptor, - new java.lang.String[] { "IntentUniqueId", }); - internal_static_google_cloud_contactcenterinsights_v1_SentimentData_descriptor = - getDescriptor().getMessageTypes().get(20); - internal_static_google_cloud_contactcenterinsights_v1_SentimentData_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_contactcenterinsights_v1_SentimentData_descriptor, - new java.lang.String[] { "Magnitude", "Score", }); - internal_static_google_cloud_contactcenterinsights_v1_IssueMatchData_descriptor = - getDescriptor().getMessageTypes().get(21); - internal_static_google_cloud_contactcenterinsights_v1_IssueMatchData_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_contactcenterinsights_v1_IssueMatchData_descriptor, - new java.lang.String[] { "IssueAssignment", }); - internal_static_google_cloud_contactcenterinsights_v1_IssueModel_descriptor = - getDescriptor().getMessageTypes().get(22); - internal_static_google_cloud_contactcenterinsights_v1_IssueModel_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_contactcenterinsights_v1_IssueModel_descriptor, - new java.lang.String[] { "Name", "DisplayName", "CreateTime", "UpdateTime", "IssueCount", "State", "InputDataConfig", "TrainingStats", }); - internal_static_google_cloud_contactcenterinsights_v1_IssueModel_InputDataConfig_descriptor = - internal_static_google_cloud_contactcenterinsights_v1_IssueModel_descriptor.getNestedTypes().get(0); - internal_static_google_cloud_contactcenterinsights_v1_IssueModel_InputDataConfig_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_contactcenterinsights_v1_IssueModel_InputDataConfig_descriptor, - new java.lang.String[] { "Medium", "TrainingConversationsCount", "Filter", }); - internal_static_google_cloud_contactcenterinsights_v1_Issue_descriptor = - getDescriptor().getMessageTypes().get(23); - internal_static_google_cloud_contactcenterinsights_v1_Issue_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_contactcenterinsights_v1_Issue_descriptor, - new java.lang.String[] { "Name", "DisplayName", "CreateTime", "UpdateTime", "SampleUtterances", }); - internal_static_google_cloud_contactcenterinsights_v1_IssueModelLabelStats_descriptor = - getDescriptor().getMessageTypes().get(24); - internal_static_google_cloud_contactcenterinsights_v1_IssueModelLabelStats_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_contactcenterinsights_v1_IssueModelLabelStats_descriptor, - new java.lang.String[] { "AnalyzedConversationsCount", "UnclassifiedConversationsCount", "IssueStats", }); - internal_static_google_cloud_contactcenterinsights_v1_IssueModelLabelStats_IssueStats_descriptor = - internal_static_google_cloud_contactcenterinsights_v1_IssueModelLabelStats_descriptor.getNestedTypes().get(0); - internal_static_google_cloud_contactcenterinsights_v1_IssueModelLabelStats_IssueStats_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_contactcenterinsights_v1_IssueModelLabelStats_IssueStats_descriptor, - new java.lang.String[] { "Issue", "LabeledConversationsCount", "DisplayName", }); - internal_static_google_cloud_contactcenterinsights_v1_IssueModelLabelStats_IssueStatsEntry_descriptor = - internal_static_google_cloud_contactcenterinsights_v1_IssueModelLabelStats_descriptor.getNestedTypes().get(1); - internal_static_google_cloud_contactcenterinsights_v1_IssueModelLabelStats_IssueStatsEntry_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_contactcenterinsights_v1_IssueModelLabelStats_IssueStatsEntry_descriptor, - new java.lang.String[] { "Key", "Value", }); - internal_static_google_cloud_contactcenterinsights_v1_PhraseMatcher_descriptor = - getDescriptor().getMessageTypes().get(25); - internal_static_google_cloud_contactcenterinsights_v1_PhraseMatcher_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_contactcenterinsights_v1_PhraseMatcher_descriptor, - new java.lang.String[] { "Name", "RevisionId", "VersionTag", "RevisionCreateTime", "DisplayName", "Type", "Active", "PhraseMatchRuleGroups", "ActivationUpdateTime", "RoleMatch", "UpdateTime", }); - internal_static_google_cloud_contactcenterinsights_v1_PhraseMatchRuleGroup_descriptor = - getDescriptor().getMessageTypes().get(26); - internal_static_google_cloud_contactcenterinsights_v1_PhraseMatchRuleGroup_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_contactcenterinsights_v1_PhraseMatchRuleGroup_descriptor, - new java.lang.String[] { "Type", "PhraseMatchRules", }); - internal_static_google_cloud_contactcenterinsights_v1_PhraseMatchRule_descriptor = - getDescriptor().getMessageTypes().get(27); - internal_static_google_cloud_contactcenterinsights_v1_PhraseMatchRule_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_contactcenterinsights_v1_PhraseMatchRule_descriptor, - new java.lang.String[] { "Query", "Negated", "Config", }); - internal_static_google_cloud_contactcenterinsights_v1_PhraseMatchRuleConfig_descriptor = - getDescriptor().getMessageTypes().get(28); - internal_static_google_cloud_contactcenterinsights_v1_PhraseMatchRuleConfig_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_contactcenterinsights_v1_PhraseMatchRuleConfig_descriptor, - new java.lang.String[] { "ExactMatchConfig", "Config", }); - internal_static_google_cloud_contactcenterinsights_v1_ExactMatchConfig_descriptor = - getDescriptor().getMessageTypes().get(29); - internal_static_google_cloud_contactcenterinsights_v1_ExactMatchConfig_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_contactcenterinsights_v1_ExactMatchConfig_descriptor, - new java.lang.String[] { "CaseSensitive", }); - internal_static_google_cloud_contactcenterinsights_v1_Settings_descriptor = - getDescriptor().getMessageTypes().get(30); - internal_static_google_cloud_contactcenterinsights_v1_Settings_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_contactcenterinsights_v1_Settings_descriptor, - new java.lang.String[] { "Name", "CreateTime", "UpdateTime", "LanguageCode", "ConversationTtl", "PubsubNotificationSettings", "AnalysisConfig", }); - internal_static_google_cloud_contactcenterinsights_v1_Settings_AnalysisConfig_descriptor = - internal_static_google_cloud_contactcenterinsights_v1_Settings_descriptor.getNestedTypes().get(0); - internal_static_google_cloud_contactcenterinsights_v1_Settings_AnalysisConfig_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_contactcenterinsights_v1_Settings_AnalysisConfig_descriptor, - new java.lang.String[] { "RuntimeIntegrationAnalysisPercentage", "AnnotatorSelector", }); - internal_static_google_cloud_contactcenterinsights_v1_Settings_PubsubNotificationSettingsEntry_descriptor = - internal_static_google_cloud_contactcenterinsights_v1_Settings_descriptor.getNestedTypes().get(1); - internal_static_google_cloud_contactcenterinsights_v1_Settings_PubsubNotificationSettingsEntry_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_contactcenterinsights_v1_Settings_PubsubNotificationSettingsEntry_descriptor, - new java.lang.String[] { "Key", "Value", }); - internal_static_google_cloud_contactcenterinsights_v1_RuntimeAnnotation_descriptor = - getDescriptor().getMessageTypes().get(31); - internal_static_google_cloud_contactcenterinsights_v1_RuntimeAnnotation_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_contactcenterinsights_v1_RuntimeAnnotation_descriptor, - new java.lang.String[] { "ArticleSuggestion", "FaqAnswer", "SmartReply", "SmartComposeSuggestion", "DialogflowInteraction", "AnnotationId", "CreateTime", "StartBoundary", "EndBoundary", "AnswerFeedback", "Data", }); - internal_static_google_cloud_contactcenterinsights_v1_AnswerFeedback_descriptor = - getDescriptor().getMessageTypes().get(32); - internal_static_google_cloud_contactcenterinsights_v1_AnswerFeedback_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_contactcenterinsights_v1_AnswerFeedback_descriptor, - new java.lang.String[] { "CorrectnessLevel", "Clicked", "Displayed", }); - internal_static_google_cloud_contactcenterinsights_v1_ArticleSuggestionData_descriptor = - getDescriptor().getMessageTypes().get(33); - internal_static_google_cloud_contactcenterinsights_v1_ArticleSuggestionData_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_contactcenterinsights_v1_ArticleSuggestionData_descriptor, - new java.lang.String[] { "Title", "Uri", "ConfidenceScore", "Metadata", "QueryRecord", "Source", }); - internal_static_google_cloud_contactcenterinsights_v1_ArticleSuggestionData_MetadataEntry_descriptor = - internal_static_google_cloud_contactcenterinsights_v1_ArticleSuggestionData_descriptor.getNestedTypes().get(0); - internal_static_google_cloud_contactcenterinsights_v1_ArticleSuggestionData_MetadataEntry_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_contactcenterinsights_v1_ArticleSuggestionData_MetadataEntry_descriptor, - new java.lang.String[] { "Key", "Value", }); - internal_static_google_cloud_contactcenterinsights_v1_FaqAnswerData_descriptor = - getDescriptor().getMessageTypes().get(34); - internal_static_google_cloud_contactcenterinsights_v1_FaqAnswerData_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_contactcenterinsights_v1_FaqAnswerData_descriptor, - new java.lang.String[] { "Answer", "ConfidenceScore", "Question", "Metadata", "QueryRecord", "Source", }); - internal_static_google_cloud_contactcenterinsights_v1_FaqAnswerData_MetadataEntry_descriptor = - internal_static_google_cloud_contactcenterinsights_v1_FaqAnswerData_descriptor.getNestedTypes().get(0); - internal_static_google_cloud_contactcenterinsights_v1_FaqAnswerData_MetadataEntry_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_contactcenterinsights_v1_FaqAnswerData_MetadataEntry_descriptor, - new java.lang.String[] { "Key", "Value", }); - internal_static_google_cloud_contactcenterinsights_v1_SmartReplyData_descriptor = - getDescriptor().getMessageTypes().get(35); - internal_static_google_cloud_contactcenterinsights_v1_SmartReplyData_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_contactcenterinsights_v1_SmartReplyData_descriptor, - new java.lang.String[] { "Reply", "ConfidenceScore", "Metadata", "QueryRecord", }); - internal_static_google_cloud_contactcenterinsights_v1_SmartReplyData_MetadataEntry_descriptor = - internal_static_google_cloud_contactcenterinsights_v1_SmartReplyData_descriptor.getNestedTypes().get(0); - internal_static_google_cloud_contactcenterinsights_v1_SmartReplyData_MetadataEntry_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_contactcenterinsights_v1_SmartReplyData_MetadataEntry_descriptor, - new java.lang.String[] { "Key", "Value", }); - internal_static_google_cloud_contactcenterinsights_v1_SmartComposeSuggestionData_descriptor = - getDescriptor().getMessageTypes().get(36); - internal_static_google_cloud_contactcenterinsights_v1_SmartComposeSuggestionData_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_contactcenterinsights_v1_SmartComposeSuggestionData_descriptor, - new java.lang.String[] { "Suggestion", "ConfidenceScore", "Metadata", "QueryRecord", }); - internal_static_google_cloud_contactcenterinsights_v1_SmartComposeSuggestionData_MetadataEntry_descriptor = - internal_static_google_cloud_contactcenterinsights_v1_SmartComposeSuggestionData_descriptor.getNestedTypes().get(0); - internal_static_google_cloud_contactcenterinsights_v1_SmartComposeSuggestionData_MetadataEntry_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_contactcenterinsights_v1_SmartComposeSuggestionData_MetadataEntry_descriptor, - new java.lang.String[] { "Key", "Value", }); - internal_static_google_cloud_contactcenterinsights_v1_DialogflowInteractionData_descriptor = - getDescriptor().getMessageTypes().get(37); - internal_static_google_cloud_contactcenterinsights_v1_DialogflowInteractionData_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_contactcenterinsights_v1_DialogflowInteractionData_descriptor, - new java.lang.String[] { "DialogflowIntentId", "Confidence", }); - internal_static_google_cloud_contactcenterinsights_v1_ConversationParticipant_descriptor = - getDescriptor().getMessageTypes().get(38); - internal_static_google_cloud_contactcenterinsights_v1_ConversationParticipant_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_contactcenterinsights_v1_ConversationParticipant_descriptor, - new java.lang.String[] { "DialogflowParticipantName", "UserId", "DialogflowParticipant", "ObfuscatedExternalUserId", "Role", "Participant", }); - internal_static_google_cloud_contactcenterinsights_v1_View_descriptor = - getDescriptor().getMessageTypes().get(39); - internal_static_google_cloud_contactcenterinsights_v1_View_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_contactcenterinsights_v1_View_descriptor, - new java.lang.String[] { "Name", "DisplayName", "CreateTime", "UpdateTime", "Value", }); - internal_static_google_cloud_contactcenterinsights_v1_AnnotatorSelector_descriptor = - getDescriptor().getMessageTypes().get(40); - internal_static_google_cloud_contactcenterinsights_v1_AnnotatorSelector_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_contactcenterinsights_v1_AnnotatorSelector_descriptor, - new java.lang.String[] { "RunInterruptionAnnotator", "RunSilenceAnnotator", "RunPhraseMatcherAnnotator", "PhraseMatchers", "RunSentimentAnnotator", "RunEntityAnnotator", "RunIntentAnnotator", "RunIssueModelAnnotator", "IssueModels", }); - com.google.protobuf.ExtensionRegistry registry = - com.google.protobuf.ExtensionRegistry.newInstance(); - registry.add(com.google.api.FieldBehaviorProto.fieldBehavior); - registry.add(com.google.api.ResourceProto.resource); - registry.add(com.google.api.ResourceProto.resourceDefinition); - registry.add(com.google.api.ResourceProto.resourceReference); - com.google.protobuf.Descriptors.FileDescriptor - .internalUpdateFileDescriptor(descriptor, registry); - com.google.api.FieldBehaviorProto.getDescriptor(); - com.google.api.ResourceProto.getDescriptor(); - com.google.protobuf.DurationProto.getDescriptor(); - com.google.protobuf.TimestampProto.getDescriptor(); - } - - // @@protoc_insertion_point(outer_class_scope) -} diff --git a/owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/SilenceDataOrBuilder.java b/owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/SilenceDataOrBuilder.java deleted file mode 100644 index c865e05afc38..000000000000 --- a/owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/SilenceDataOrBuilder.java +++ /dev/null @@ -1,9 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/contactcenterinsights/v1/resources.proto - -package com.google.cloud.contactcenterinsights.v1; - -public interface SilenceDataOrBuilder extends - // @@protoc_insertion_point(interface_extends:google.cloud.contactcenterinsights.v1.SilenceData) - com.google.protobuf.MessageOrBuilder { -} diff --git a/owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/UndeployIssueModelRequestOrBuilder.java b/owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/UndeployIssueModelRequestOrBuilder.java deleted file mode 100644 index 52d1662c28cd..000000000000 --- a/owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/UndeployIssueModelRequestOrBuilder.java +++ /dev/null @@ -1,29 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/contactcenterinsights/v1/contact_center_insights.proto - -package com.google.cloud.contactcenterinsights.v1; - -public interface UndeployIssueModelRequestOrBuilder extends - // @@protoc_insertion_point(interface_extends:google.cloud.contactcenterinsights.v1.UndeployIssueModelRequest) - com.google.protobuf.MessageOrBuilder { - - /** - *
-   * Required. The issue model to undeploy.
-   * 
- * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * @return The name. - */ - java.lang.String getName(); - /** - *
-   * Required. The issue model to undeploy.
-   * 
- * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * @return The bytes for name. - */ - com.google.protobuf.ByteString - getNameBytes(); -} diff --git a/owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/UndeployIssueModelResponseOrBuilder.java b/owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/UndeployIssueModelResponseOrBuilder.java deleted file mode 100644 index 77ed1a9e2079..000000000000 --- a/owl-bot-staging/java-contact-center-insights/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/UndeployIssueModelResponseOrBuilder.java +++ /dev/null @@ -1,9 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/contactcenterinsights/v1/contact_center_insights.proto - -package com.google.cloud.contactcenterinsights.v1; - -public interface UndeployIssueModelResponseOrBuilder extends - // @@protoc_insertion_point(interface_extends:google.cloud.contactcenterinsights.v1.UndeployIssueModelResponse) - com.google.protobuf.MessageOrBuilder { -}